@daffodil/checkout 0.38.9 → 0.39.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/bundles/daffodil-checkout-testing.umd.js +16 -353
  2. package/bundles/daffodil-checkout-testing.umd.js.map +1 -1
  3. package/bundles/daffodil-checkout-testing.umd.min.js +1 -1
  4. package/bundles/daffodil-checkout-testing.umd.min.js.map +1 -1
  5. package/bundles/daffodil-checkout.umd.js +85 -681
  6. package/bundles/daffodil-checkout.umd.js.map +1 -1
  7. package/bundles/daffodil-checkout.umd.min.js +2 -2
  8. package/bundles/daffodil-checkout.umd.min.js.map +1 -1
  9. package/esm2015/billing/actions/billing.actions.js +7 -35
  10. package/esm2015/billing/billing-state.module.js +1 -6
  11. package/esm2015/billing/billing.module.js +1 -6
  12. package/esm2015/billing/containers/billing.component.js +2 -37
  13. package/esm2015/billing/facades/billing.facade.js +3 -34
  14. package/esm2015/billing/reducers/billing/billing-reducer.interface.js +2 -18
  15. package/esm2015/billing/reducers/billing/billing.reducer.js +1 -12
  16. package/esm2015/billing/reducers/billing-reducers.interface.js +2 -14
  17. package/esm2015/billing/reducers/billing-reducers.js +1 -7
  18. package/esm2015/billing/selectors/billing.selector.js +9 -35
  19. package/esm2015/checkout.module.js +1 -6
  20. package/esm2015/daffodil-checkout.js +2 -7
  21. package/esm2015/drivers/injection-tokens/driver-checkout.token.js +1 -7
  22. package/esm2015/drivers/injection-tokens/payment-driver.token.js +1 -7
  23. package/esm2015/drivers/injection-tokens/payment-transformer.token.js +1 -7
  24. package/esm2015/drivers/interfaces/checkout-service.interface.js +2 -17
  25. package/esm2015/drivers/interfaces/order-service.interface.js +1 -28
  26. package/esm2015/index.js +1 -6
  27. package/esm2015/models/cart-process-request.js +2 -17
  28. package/esm2015/models/order/order-address.js +2 -63
  29. package/esm2015/models/order/order-item.js +2 -55
  30. package/esm2015/models/order/order-payment.js +2 -47
  31. package/esm2015/models/order/order-shipping-rate.js +2 -37
  32. package/esm2015/models/order/order.js +2 -39
  33. package/esm2015/models/payment/payment-info.js +2 -22
  34. package/esm2015/models/shipping/shipping-option.js +2 -16
  35. package/esm2015/models/shipping/shipping-rate.js +2 -19
  36. package/esm2015/order/actions/order.actions.js +17 -54
  37. package/esm2015/order/containers/order.component.js +2 -24
  38. package/esm2015/order/effects/order.effects.js +3 -38
  39. package/esm2015/order/facades/order.facade.js +3 -34
  40. package/esm2015/order/order-state.module.js +1 -6
  41. package/esm2015/order/order.module.js +1 -6
  42. package/esm2015/order/reducers/order/order-reducer.interface.js +2 -19
  43. package/esm2015/order/reducers/order/order.reducer.js +1 -10
  44. package/esm2015/order/reducers/order-reducers.interface.js +2 -15
  45. package/esm2015/order/reducers/order-reducers.js +1 -7
  46. package/esm2015/order/selectors/order.selector.js +9 -35
  47. package/esm2015/payment/actions/payment.actions.js +5 -20
  48. package/esm2015/payment/facades/payment.facade.js +3 -24
  49. package/esm2015/payment/payment-state.module.js +1 -6
  50. package/esm2015/payment/payment.module.js +1 -6
  51. package/esm2015/payment/reducers/payment/payment-reducer.interface.js +2 -14
  52. package/esm2015/payment/reducers/payment/payment.reducer.js +1 -12
  53. package/esm2015/payment/reducers/payment-reducers.interface.js +2 -14
  54. package/esm2015/payment/reducers/payment-reducers.js +1 -7
  55. package/esm2015/payment/selectors/payment.selector.js +5 -21
  56. package/esm2015/shipping/actions/shipping.actions.js +6 -30
  57. package/esm2015/shipping/containers/shipping.component.js +2 -36
  58. package/esm2015/shipping/facades/shipping.facade.js +3 -34
  59. package/esm2015/shipping/reducers/shipping/shipping-reducer.interface.js +2 -16
  60. package/esm2015/shipping/reducers/shipping/shipping.reducer.js +1 -12
  61. package/esm2015/shipping/reducers/shipping-reducers.interface.js +2 -14
  62. package/esm2015/shipping/reducers/shipping-reducers.js +1 -7
  63. package/esm2015/shipping/selectors/shipping.selectors.js +9 -35
  64. package/esm2015/shipping/shipping-state.module.js +1 -6
  65. package/esm2015/shipping/shipping.module.js +1 -6
  66. package/esm2015/testing/daffodil-checkout-testing.js +2 -7
  67. package/esm2015/testing/drivers/in-memory/checkout-driver.module.js +1 -9
  68. package/esm2015/testing/drivers/in-memory/checkout.service.js +2 -23
  69. package/esm2015/testing/drivers/testing/checkout-driver.module.js +1 -9
  70. package/esm2015/testing/drivers/testing/checkout.service.js +2 -27
  71. package/esm2015/testing/index.js +1 -6
  72. package/esm2015/testing/inmemory-backend/checkout.service.js +4 -50
  73. package/esm2015/testing/order/factories/order-address.factory.js +2 -61
  74. package/esm2015/testing/order/factories/order-item.factory.js +2 -51
  75. package/esm2015/testing/order/factories/order-payment.factory.js +2 -45
  76. package/esm2015/testing/order/factories/order-shipping-rate.factory.js +2 -33
  77. package/esm2015/testing/order/factories/order.factory.js +2 -35
  78. package/esm2015/testing/payment/factories/payment.factory.js +2 -19
  79. package/esm2015/testing/shipping/factories/shipping-option.factory.js +2 -13
  80. package/esm2015/testing/shipping/factories/shipping-rate.factory.js +2 -23
  81. package/fesm2015/daffodil-checkout-testing.js +16 -394
  82. package/fesm2015/daffodil-checkout-testing.js.map +1 -1
  83. package/fesm2015/daffodil-checkout.js +74 -671
  84. package/fesm2015/daffodil-checkout.js.map +1 -1
  85. package/package.json +4 -4
  86. package/testing/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-checkout.js","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"],"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 Effect,\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 @Effect()\n onPlaceOrder$: Observable<any> = 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,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,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;QACnD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC;QACvD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC;KACtD;;;;;;;IAOD,QAAQ,CAAC,MAAc;QACrB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;KAC7B;;;YA9BF,UAAU,SAAC;gBACV,UAAU,EAAE,eAAe;aAC5B;;;;YAzBC,KAAK;;;;;;;;IA8BL,iCAA8B;;;;;IAI9B,mCAA8B;;;;;IAI9B,kCAA8B;;;;;IAElB,gCAA4C;;;;;;;;MCnB7C,mBAAmB;;;YAf/B,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,kBAAkB;oBAClB,iBAAiB;oBACjB,iBAAiB;oBACjB,eAAe;iBAChB;gBACD,OAAO,EAAE;oBACP,kBAAkB;oBAClB,iBAAiB;oBACjB,iBAAiB;oBACjB,eAAe;iBAChB;aACF;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"daffodil-checkout.js","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 Effect,\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 @Effect()\n onPlaceOrder$: Observable<any> = 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\nexport {DaffBillingStateModule as ɵd} from './billing/billing-state.module';\nexport {OrderEffects as ɵg} from './order/effects/order.effects';\nexport {DaffOrderStateModule as ɵf} from './order/order-state.module';\nexport {DaffPaymentStateModule as ɵa} from './payment/payment-state.module';\nexport {DaffPaymentReducersState as ɵc} from './payment/reducers/payment-reducers.interface';\nexport {daffPaymentReducer as ɵb} from './payment/reducers/payment/payment.reducer';\nexport {DaffShippingStateModule as ɵe} from './shipping/shipping-state.module';"],"names":["DaffUpdatePaymentInfo","selectPaymentInfo","initialState"],"mappings":";;;;;;;;IAIY;AAAZ,WAAY,uBAAuB;IACjC,oGAAyE,CAAA;IACzE,kGAAuE,CAAA;AACzE,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC;MAEY,yBAAyB;IAGpC,YAAmB,OAAoB;QAApB,YAAO,GAAP,OAAO,CAAa;QAF9B,SAAI,GAAG,uBAAuB,CAAC,2BAA2B,CAAC;KAEzB;CAC5C;MAEY,wBAAwB;IAGnC,YAAmB,OAAe;QAAf,YAAO,GAAP,OAAO,CAAQ;QAFzB,SAAI,GAAG,uBAAuB,CAAC,0BAA0B,CAAC;KAE7B;;;ACPxC;;;MAGa,0BAA0B,GAAqE,qBAAqB,CAA4B,UAAU,EAAE;WAOvK,CAAC,KAAgC,KAAK,KAAK,CAAC,QAAQ;AALtD;;;MAGa,mBAAmB,GAAG,cAAc,CAC/C,0BAA0B,MAE1B;WAIA,CAAC,KAA+B,KAAK,KAAK,CAAC,eAAe;MAF/C,qBAAqB,GAAuD,cAAc,CACrG,mBAAmB,MAEnB;WAIA,CAAC,KAA+B,KAAK,KAAK,CAAC,wBAAwB;MAFxD,sBAAsB,GAAkD,cAAc,CACjG,mBAAmB,MAEnB;WAIA,CAAC,KAAkB,KA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MCqBM,mBAAmB;;;YAf/B,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,kBAAkB;oBAClB,iBAAiB;oBACjB,iBAAiB;oBACjB,eAAe;iBAChB;gBACD,OAAO,EAAE;oBACP,kBAAkB;oBAClB,iBAAiB;oBACjB,iBAAiB;oBACjB,eAAe;iBAChB;aACF;;;ACtBD;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daffodil/checkout",
3
- "version": "0.38.9",
3
+ "version": "0.39.3",
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": "^11.0.0",
17
17
  "@angular/core": "^11.0.0",
18
- "@daffodil/cart": "0.38.9",
19
- "@daffodil/core": "0.38.9",
20
- "@daffodil/product": "0.38.9",
18
+ "@daffodil/cart": "0.39.3",
19
+ "@daffodil/core": "0.39.3",
20
+ "@daffodil/product": "0.39.3",
21
21
  "@ngrx/effects": "^11.0.0",
22
22
  "@ngrx/entity": "^11.0.0",
23
23
  "@ngrx/store": "^11.0.0",
@@ -8,4 +8,4 @@
8
8
  "typings": "daffodil-checkout-testing.d.ts",
9
9
  "metadata": "daffodil-checkout-testing.metadata.json",
10
10
  "sideEffects": false
11
- }
11
+ }