@daffodil/checkout 0.70.0 → 0.72.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.
Files changed (157) hide show
  1. package/esm2022/index.mjs +2 -32
  2. package/esm2022/state/checkout-state.module.mjs +5 -5
  3. package/esm2022/state/facades/placed-order/placed-order.facade.mjs +4 -4
  4. package/esm2022/state/testing/checkout-testing.module.mjs +6 -6
  5. package/esm2022/state/testing/mock-placed-order-facade.mjs +4 -4
  6. package/esm2022/state/testing/public_api.mjs +2 -2
  7. package/fesm2022/daffodil-checkout-state-testing.mjs +9 -9
  8. package/fesm2022/daffodil-checkout-state-testing.mjs.map +1 -1
  9. package/fesm2022/daffodil-checkout-state.mjs +7 -7
  10. package/fesm2022/daffodil-checkout-state.mjs.map +1 -1
  11. package/fesm2022/daffodil-checkout.mjs +0 -716
  12. package/fesm2022/daffodil-checkout.mjs.map +1 -1
  13. package/index.d.ts +1 -47
  14. package/package.json +1 -1
  15. package/state/testing/checkout-testing.module.d.ts +4 -4
  16. package/state/testing/public_api.d.ts +1 -1
  17. package/billing/actions/billing.actions.d.ts +0 -22
  18. package/billing/billing-state.module.d.ts +0 -7
  19. package/billing/billing.module.d.ts +0 -9
  20. package/billing/containers/billing.component.d.ts +0 -20
  21. package/billing/facades/billing.facade.d.ts +0 -34
  22. package/billing/reducers/billing/billing-reducer.interface.d.ts +0 -7
  23. package/billing/reducers/billing/billing.reducer.d.ts +0 -4
  24. package/billing/reducers/billing-reducers.d.ts +0 -3
  25. package/billing/reducers/billing-reducers.interface.d.ts +0 -4
  26. package/billing/selectors/billing.selector.d.ts +0 -16
  27. package/checkout.module.d.ts +0 -11
  28. package/drivers/injection-tokens/driver-checkout.token.d.ts +0 -2
  29. package/drivers/injection-tokens/payment-driver.token.d.ts +0 -2
  30. package/drivers/injection-tokens/payment-transformer.token.d.ts +0 -2
  31. package/drivers/interfaces/checkout-service.interface.d.ts +0 -5
  32. package/drivers/interfaces/order-service.interface.d.ts +0 -19
  33. package/esm2022/billing/actions/billing.actions.mjs +0 -24
  34. package/esm2022/billing/billing-state.module.mjs +0 -19
  35. package/esm2022/billing/billing.module.mjs +0 -37
  36. package/esm2022/billing/containers/billing.component.mjs +0 -36
  37. package/esm2022/billing/facades/billing.facade.mjs +0 -34
  38. package/esm2022/billing/reducers/billing/billing-reducer.interface.mjs +0 -2
  39. package/esm2022/billing/reducers/billing/billing.reducer.mjs +0 -19
  40. package/esm2022/billing/reducers/billing-reducers.interface.mjs +0 -2
  41. package/esm2022/billing/reducers/billing-reducers.mjs +0 -5
  42. package/esm2022/billing/selectors/billing.selector.mjs +0 -13
  43. package/esm2022/checkout.module.mjs +0 -45
  44. package/esm2022/drivers/injection-tokens/driver-checkout.token.mjs +0 -3
  45. package/esm2022/drivers/injection-tokens/payment-driver.token.mjs +0 -3
  46. package/esm2022/drivers/injection-tokens/payment-transformer.token.mjs +0 -3
  47. package/esm2022/drivers/interfaces/checkout-service.interface.mjs +0 -2
  48. package/esm2022/drivers/interfaces/order-service.interface.mjs +0 -3
  49. package/esm2022/models/cart-process-request.mjs +0 -2
  50. package/esm2022/models/order/order-address.mjs +0 -2
  51. package/esm2022/models/order/order-item.mjs +0 -2
  52. package/esm2022/models/order/order-payment.mjs +0 -2
  53. package/esm2022/models/order/order-shipping-rate.mjs +0 -2
  54. package/esm2022/models/order/order.mjs +0 -2
  55. package/esm2022/models/payment/payment-info.mjs +0 -2
  56. package/esm2022/models/shipping/shipping-option.mjs +0 -2
  57. package/esm2022/models/shipping/shipping-rate.mjs +0 -2
  58. package/esm2022/order/actions/order.actions.mjs +0 -55
  59. package/esm2022/order/containers/order.component.mjs +0 -28
  60. package/esm2022/order/effects/order.effects.mjs +0 -28
  61. package/esm2022/order/facades/order.facade.mjs +0 -37
  62. package/esm2022/order/order-state.module.mjs +0 -31
  63. package/esm2022/order/order.module.mjs +0 -40
  64. package/esm2022/order/reducers/order/order-reducer.interface.mjs +0 -2
  65. package/esm2022/order/reducers/order/order.reducer.mjs +0 -25
  66. package/esm2022/order/reducers/order-reducers.interface.mjs +0 -2
  67. package/esm2022/order/reducers/order-reducers.mjs +0 -8
  68. package/esm2022/order/selectors/order.selector.mjs +0 -26
  69. package/esm2022/payment/actions/payment.actions.mjs +0 -11
  70. package/esm2022/payment/facades/payment.facade.mjs +0 -32
  71. package/esm2022/payment/payment-state.module.mjs +0 -19
  72. package/esm2022/payment/payment.module.mjs +0 -30
  73. package/esm2022/payment/reducers/payment/payment-reducer.interface.mjs +0 -2
  74. package/esm2022/payment/reducers/payment/payment.reducer.mjs +0 -13
  75. package/esm2022/payment/reducers/payment-reducers.interface.mjs +0 -2
  76. package/esm2022/payment/reducers/payment-reducers.mjs +0 -5
  77. package/esm2022/payment/selectors/payment.selector.mjs +0 -11
  78. package/esm2022/shipping/actions/shipping.actions.mjs +0 -18
  79. package/esm2022/shipping/containers/shipping.component.mjs +0 -33
  80. package/esm2022/shipping/facades/shipping.facade.mjs +0 -34
  81. package/esm2022/shipping/reducers/shipping/shipping-reducer.interface.mjs +0 -2
  82. package/esm2022/shipping/reducers/shipping/shipping.reducer.mjs +0 -16
  83. package/esm2022/shipping/reducers/shipping-reducers.interface.mjs +0 -2
  84. package/esm2022/shipping/reducers/shipping-reducers.mjs +0 -5
  85. package/esm2022/shipping/selectors/shipping.selectors.mjs +0 -13
  86. package/esm2022/shipping/shipping-state.module.mjs +0 -19
  87. package/esm2022/shipping/shipping.module.mjs +0 -37
  88. package/esm2022/testing/daffodil-checkout-testing.mjs +0 -5
  89. package/esm2022/testing/drivers/in-memory/checkout-driver.module.mjs +0 -30
  90. package/esm2022/testing/drivers/in-memory/checkout.service.mjs +0 -22
  91. package/esm2022/testing/drivers/testing/checkout-driver.module.mjs +0 -30
  92. package/esm2022/testing/drivers/testing/checkout.service.mjs +0 -25
  93. package/esm2022/testing/index.mjs +0 -19
  94. package/esm2022/testing/inmemory-backend/checkout.service.mjs +0 -50
  95. package/esm2022/testing/order/factories/order-address.factory.mjs +0 -54
  96. package/esm2022/testing/order/factories/order-item.factory.mjs +0 -49
  97. package/esm2022/testing/order/factories/order-payment.factory.mjs +0 -46
  98. package/esm2022/testing/order/factories/order-shipping-rate.factory.mjs +0 -40
  99. package/esm2022/testing/order/factories/order.factory.mjs +0 -42
  100. package/esm2022/testing/payment/factories/payment.factory.mjs +0 -26
  101. package/esm2022/testing/shipping/factories/shipping-option.factory.mjs +0 -24
  102. package/esm2022/testing/shipping/factories/shipping-rate.factory.mjs +0 -29
  103. package/fesm2022/daffodil-checkout-testing.mjs +0 -425
  104. package/fesm2022/daffodil-checkout-testing.mjs.map +0 -1
  105. package/models/cart-process-request.d.ts +0 -7
  106. package/models/order/order-address.d.ts +0 -32
  107. package/models/order/order-item.d.ts +0 -27
  108. package/models/order/order-payment.d.ts +0 -22
  109. package/models/order/order-shipping-rate.d.ts +0 -17
  110. package/models/order/order.d.ts +0 -21
  111. package/models/payment/payment-info.d.ts +0 -7
  112. package/models/shipping/shipping-option.d.ts +0 -4
  113. package/models/shipping/shipping-rate.d.ts +0 -6
  114. package/order/actions/order.actions.d.ts +0 -55
  115. package/order/containers/order.component.d.ts +0 -18
  116. package/order/effects/order.effects.d.ts +0 -15
  117. package/order/facades/order.facade.d.ts +0 -36
  118. package/order/order-state.module.d.ts +0 -11
  119. package/order/order.module.d.ts +0 -12
  120. package/order/reducers/order/order-reducer.interface.d.ts +0 -9
  121. package/order/reducers/order/order.reducer.d.ts +0 -10
  122. package/order/reducers/order-reducers.d.ts +0 -6
  123. package/order/reducers/order-reducers.interface.d.ts +0 -7
  124. package/order/selectors/order.selector.d.ts +0 -28
  125. package/payment/actions/payment.actions.d.ts +0 -11
  126. package/payment/facades/payment.facade.d.ts +0 -25
  127. package/payment/payment-state.module.d.ts +0 -7
  128. package/payment/payment.module.d.ts +0 -8
  129. package/payment/reducers/payment/payment-reducer.interface.d.ts +0 -4
  130. package/payment/reducers/payment/payment.reducer.d.ts +0 -4
  131. package/payment/reducers/payment-reducers.d.ts +0 -3
  132. package/payment/reducers/payment-reducers.interface.d.ts +0 -4
  133. package/payment/selectors/payment.selector.d.ts +0 -11
  134. package/shipping/actions/shipping.actions.d.ts +0 -17
  135. package/shipping/containers/shipping.component.d.ts +0 -19
  136. package/shipping/facades/shipping.facade.d.ts +0 -33
  137. package/shipping/reducers/shipping/shipping-reducer.interface.d.ts +0 -5
  138. package/shipping/reducers/shipping/shipping.reducer.d.ts +0 -4
  139. package/shipping/reducers/shipping-reducers.d.ts +0 -3
  140. package/shipping/reducers/shipping-reducers.interface.d.ts +0 -4
  141. package/shipping/selectors/shipping.selectors.d.ts +0 -15
  142. package/shipping/shipping-state.module.d.ts +0 -7
  143. package/shipping/shipping.module.d.ts +0 -9
  144. package/testing/drivers/in-memory/checkout-driver.module.d.ts +0 -9
  145. package/testing/drivers/in-memory/checkout.service.d.ts +0 -12
  146. package/testing/drivers/testing/checkout-driver.module.d.ts +0 -9
  147. package/testing/drivers/testing/checkout.service.d.ts +0 -13
  148. package/testing/index.d.ts +0 -13
  149. package/testing/inmemory-backend/checkout.service.d.ts +0 -19
  150. package/testing/order/factories/order-address.factory.d.ts +0 -42
  151. package/testing/order/factories/order-item.factory.d.ts +0 -37
  152. package/testing/order/factories/order-payment.factory.d.ts +0 -34
  153. package/testing/order/factories/order-shipping-rate.factory.d.ts +0 -28
  154. package/testing/order/factories/order.factory.d.ts +0 -29
  155. package/testing/payment/factories/payment.factory.d.ts +0 -15
  156. package/testing/shipping/factories/shipping-option.factory.d.ts +0 -12
  157. package/testing/shipping/factories/shipping-rate.factory.d.ts +0 -17
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-checkout.mjs","sources":["../../../libs/checkout/src/shipping/actions/shipping.actions.ts","../../../libs/checkout/src/shipping/selectors/shipping.selectors.ts","../../../libs/checkout/src/shipping/containers/shipping.component.ts","../../../libs/checkout/src/order/selectors/order.selector.ts","../../../libs/checkout/src/order/containers/order.component.ts","../../../libs/checkout/src/payment/actions/payment.actions.ts","../../../libs/checkout/src/payment/reducers/payment/payment.reducer.ts","../../../libs/checkout/src/payment/reducers/payment-reducers.ts","../../../libs/checkout/src/payment/payment-state.module.ts","../../../libs/checkout/src/payment/payment.module.ts","../../../libs/checkout/src/payment/selectors/payment.selector.ts","../../../libs/checkout/src/payment/facades/payment.facade.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-driver.token.ts","../../../libs/checkout/src/drivers/interfaces/order-service.interface.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-transformer.token.ts","../../../libs/checkout/src/billing/actions/billing.actions.ts","../../../libs/checkout/src/billing/selectors/billing.selector.ts","../../../libs/checkout/src/billing/reducers/billing/billing.reducer.ts","../../../libs/checkout/src/billing/reducers/billing-reducers.ts","../../../libs/checkout/src/billing/billing-state.module.ts","../../../libs/checkout/src/billing/containers/billing.component.ts","../../../libs/checkout/src/billing/billing.module.ts","../../../libs/checkout/src/billing/facades/billing.facade.ts","../../../libs/checkout/src/shipping/reducers/shipping/shipping.reducer.ts","../../../libs/checkout/src/shipping/reducers/shipping-reducers.ts","../../../libs/checkout/src/shipping/shipping-state.module.ts","../../../libs/checkout/src/shipping/shipping.module.ts","../../../libs/checkout/src/shipping/facades/shipping.facade.ts","../../../libs/checkout/src/order/actions/order.actions.ts","../../../libs/checkout/src/order/reducers/order/order.reducer.ts","../../../libs/checkout/src/order/reducers/order-reducers.ts","../../../libs/checkout/src/drivers/injection-tokens/driver-checkout.token.ts","../../../libs/checkout/src/order/effects/order.effects.ts","../../../libs/checkout/src/order/order-state.module.ts","../../../libs/checkout/src/order/order.module.ts","../../../libs/checkout/src/order/facades/order.facade.ts","../../../libs/checkout/src/checkout.module.ts","../../../libs/checkout/src/daffodil-checkout.ts"],"sourcesContent":["import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nexport enum DaffShippingActionTypes {\n UpdateShippingAddressAction = '[Shipping] Update Shipping Address Action',\n SelectShippingOptionAction = '[Shipping] Select Shipping Option Action'\n}\n\nexport class DaffUpdateShippingAddress implements Action {\n readonly type = DaffShippingActionTypes.UpdateShippingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffSelectShippingOption implements Action {\n readonly type = DaffShippingActionTypes.SelectShippingOptionAction;\n\n constructor(public payload: string) {}\n}\n\nexport type DaffShippingActions =\n | DaffUpdateShippingAddress\n | DaffSelectShippingOption;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { DaffShippingReducerState } from '../reducers/shipping/shipping-reducer.interface';\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\n\n/**\n * Shipping Feature State\n */\nexport const selectShippingFeatureState: MemoizedSelector<Record<string, any>, DaffShippingReducersState> = createFeatureSelector<DaffShippingReducersState>('shipping');\n\n/**\n * Shipping State\n */\nexport const selectShippingState = createSelector(\n selectShippingFeatureState,\n (state: DaffShippingReducersState) => state.shipping,\n);\n\nexport const selectShippingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.shippingAddress,\n);\n\nexport const selectShippingOptionId: MemoizedSelector<Record<string, any>, string> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.selectedShippingOptionId,\n);\n\nexport const selectIsShippingAddressValid: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectShippingAddress,\n (state: DaffAddress) => !!state,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport {\n DaffUpdateShippingAddress,\n DaffSelectShippingOption,\n} from '../actions/shipping.actions';\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\n\n@Component({\n selector: '[shipping-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'ShippingContainer',\n})\nexport class ShippingContainer implements OnInit {\n\n shippingAddress$: Observable<DaffAddress>;\n selectedShippingOptionId$: Observable<string>;\n isShippingAddressValid$: Observable<boolean>;\n isShippingOptionSelected$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffShippingReducersState>,\n ) { }\n\n ngOnInit() {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n updateShippingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateShippingAddress(address));\n }\n\n selectShippingOption(optionId: string) {\n this.store.dispatch(new DaffSelectShippingOption(optionId));\n }\n}\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducerState } from '../reducers/order/order-reducer.interface';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\n\n/**\n * Order Feature State\n *\n * @deprecated\n */\nexport const selectOrderFeatureState: MemoizedSelector<Record<string, any>, DaffOrderReducersState> = createFeatureSelector<DaffOrderReducersState>('order');\n\n/**\n * Order State\n *\n * @deprecated\n */\nexport const selectOrderState = createSelector(\n selectOrderFeatureState,\n (state: DaffOrderReducersState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectOrder: MemoizedSelector<Record<string, any>, DaffOrder> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectLoading: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.loading,\n);\n\n/**\n * @deprecated\n */\nexport const selectErrors: MemoizedSelector<Record<string, any>, string[]> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.errors,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n} from '../selectors/order.selector';\n\n/**\n * @deprecated\n */\n@Component({\n selector: '[order-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'OrderContainer',\n})\nexport class OrderContainer implements OnInit {\n\n order$: Observable<DaffOrder>;\n loading$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffOrderReducersState>,\n ) { }\n\n ngOnInit() {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffPaymentActionTypes {\n UpdatePaymentInfoAction = '[Payment] Update Payment Info Action'\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffPaymentActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport type DaffPaymentActions =\n | DaffUpdatePaymentInfo;\n","import { DaffPaymentReducerState } from './payment-reducer.interface';\nimport {\n DaffPaymentActionTypes,\n DaffPaymentActions,\n} from '../../actions/payment.actions';\n\nexport const initialState: DaffPaymentReducerState = {\n paymentInfo: null,\n};\n\nexport function daffPaymentReducer(state = initialState, action: DaffPaymentActions): DaffPaymentReducerState {\n switch (action.type) {\n case DaffPaymentActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffPaymentReducer } from './payment/payment.reducer';\nimport { DaffPaymentReducersState } from './payment-reducers.interface';\n\nexport const daffPaymentReducers: ActionReducerMap<DaffPaymentReducersState> = {\n payment: daffPaymentReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffPaymentReducers } from './reducers/payment-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('payment', daffPaymentReducers),\n ],\n})\nexport class DaffPaymentStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffPaymentStateModule } from './payment-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffPaymentStateModule,\n ],\n})\nexport class DaffPaymentModule { }\n","import {\n createSelector,\n createFeatureSelector,\n} from '@ngrx/store';\n\nimport { DaffPaymentReducerState } from '../reducers/payment/payment-reducer.interface';\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\n\n/**\n * Payment Feature State\n */\nexport const selectPaymentFeatureState = createFeatureSelector<DaffPaymentReducersState>('payment');\n\n/**\n * Payment State\n */\nexport const selectPaymentState = createSelector(\n selectPaymentFeatureState,\n (state: DaffPaymentReducersState) => state.payment,\n);\n\nexport const selectPaymentInfo = createSelector(\n selectPaymentState,\n (state: DaffPaymentReducerState) => state.paymentInfo,\n);\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffPaymentModule } from '../payment.module';\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\nimport { selectPaymentInfo } from '../selectors/payment.selector';\n\n/**\n * A facade for accessing state for customer payment information.\n */\n@Injectable({\n providedIn: DaffPaymentModule,\n})\nexport class DaffPaymentFacade implements DaffStoreFacade<Action> {\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffPaymentReducersState>) {\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentDriver = new InjectionToken('DaffPaymentDriver');\n","import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\n\nexport const DaffOrderDriver = new InjectionToken<DaffOrderServiceInterface>('DaffOrderDriver');\n\n/**\n * Query order objects accessible by the logged-in user.\n *\n * @deprecated\n */\nexport interface DaffOrderServiceInterface<T extends DaffOrder = DaffOrder> {\n /**\n * Get an order object with the specified order ID.\n */\n get(orderId: T['id']): Observable<T>;\n\n /**\n * List all order objects for the logged-in user.\n */\n list(): Observable<T[]>;\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentTransformer = new InjectionToken('DaffPaymentTransformer');\n","import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffBillingActionTypes {\n UpdateBillingAddressAction = '[Billing] Update Billing Address Action',\n UpdatePaymentInfoAction = '[Billing] Update Payment Info Action',\n ToggleBillingAddressIsShippingAddressAction = '[Billing] Billing Address Is Shipping Address Action'\n}\n\nexport class DaffUpdateBillingAddress implements Action {\n readonly type = DaffBillingActionTypes.UpdateBillingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffBillingActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport class DaffToggleBillingAddressIsShippingAddress implements Action {\n readonly type = DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction;\n}\n\nexport type DaffBillingActions =\n | DaffUpdateBillingAddress\n | DaffUpdatePaymentInfo\n | DaffToggleBillingAddressIsShippingAddress;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingReducerState } from '../reducers/billing/billing-reducer.interface';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\n\n/**\n * Billing Feature State\n */\nexport const selectBillingFeatureState: MemoizedSelector<Record<string, any>, DaffBillingReducersState> = createFeatureSelector<DaffBillingReducersState>('billing');\n\n/**\n * Billing State\n */\nexport const selectBillingState = createSelector(\n selectBillingFeatureState,\n (state: DaffBillingReducersState) => state.billing,\n);\n\nexport const selectBillingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddress,\n);\n\nexport const selectBillingAddressIsShippingAddress: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddressIsShippingAddress,\n);\n\nexport const selectPaymentInfo: MemoizedSelector<Record<string, any>, PaymentInfo> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.paymentInfo,\n);\n","import { DaffBillingReducerState } from './billing-reducer.interface';\nimport {\n DaffBillingActionTypes,\n DaffBillingActions,\n} from '../../actions/billing.actions';\n\nexport const initialState: DaffBillingReducerState = {\n billingAddress: null,\n billingAddressIsShippingAddress: false,\n paymentInfo: null,\n};\n\nexport function daffBillingReducer(state = initialState, action: DaffBillingActions): DaffBillingReducerState {\n switch (action.type) {\n case DaffBillingActionTypes.UpdateBillingAddressAction:\n return { ...state, billingAddress: action.payload };\n case DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction:\n return { ...state, billingAddress: null, billingAddressIsShippingAddress: !state.billingAddressIsShippingAddress };\n case DaffBillingActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffBillingReducer } from './billing/billing.reducer';\nimport { DaffBillingReducersState } from './billing-reducers.interface';\n\nexport const daffBillingReducers: ActionReducerMap<DaffBillingReducersState> = {\n billing: daffBillingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffBillingReducers } from './reducers/billing-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('billing', daffBillingReducers),\n ],\n})\nexport class DaffBillingStateModule { }\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport {\n DaffUpdateBillingAddress,\n DaffUpdatePaymentInfo,\n DaffToggleBillingAddressIsShippingAddress,\n} from '../actions/billing.actions';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n@Component({\n selector: '[billing-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'BillingContainer',\n})\nexport class BillingContainer implements OnInit {\n\n billingAddress$: Observable<DaffAddress>;\n billingAddressIsShippingAddress$: Observable<boolean>;\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(\n private store: Store<DaffBillingReducersState>,\n ) { }\n\n ngOnInit() {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n updateBillingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateBillingAddress(address));\n }\n\n toggleBillingAddressIsShippingAddress() {\n this.store.dispatch(new DaffToggleBillingAddressIsShippingAddress());\n }\n\n updatePaymentInfo(info: PaymentInfo) {\n this.store.dispatch(new DaffUpdatePaymentInfo(info));\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingStateModule } from './billing-state.module';\nimport { BillingContainer } from './containers/billing.component';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffBillingStateModule,\n ],\n declarations: [\n BillingContainer,\n ],\n exports: [\n BillingContainer,\n ],\n})\nexport class DaffBillingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingModule } from '../billing.module';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n/**\n * A facade for accessing state for the billing information of a customer\n */\n@Injectable({\n providedIn: DaffBillingModule,\n})\nexport class DaffBillingFacade implements DaffStoreFacade<Action> {\n /**\n * The billing address for a customer.\n */\n billingAddress$: Observable<DaffAddress>;\n /**\n * Whether or not the billing address is the same as the shipping address.\n */\n billingAddressIsShippingAddress$: Observable<boolean>;\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffBillingReducersState>) {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { DaffShippingReducerState } from './shipping-reducer.interface';\nimport {\n DaffShippingActionTypes,\n DaffShippingActions,\n} from '../../actions/shipping.actions';\n\nexport const initialState: DaffShippingReducerState = {\n shippingAddress: null,\n selectedShippingOptionId: null,\n};\n\nexport function daffShippingReducer(state = initialState, action: DaffShippingActions): DaffShippingReducerState {\n switch (action.type) {\n case DaffShippingActionTypes.UpdateShippingAddressAction:\n return { ...state, shippingAddress: action.payload };\n case DaffShippingActionTypes.SelectShippingOptionAction:\n return { ...state, selectedShippingOptionId: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffShippingReducer } from './shipping/shipping.reducer';\nimport { DaffShippingReducersState } from './shipping-reducers.interface';\n\nexport const daffShippingReducers: ActionReducerMap<DaffShippingReducersState> = {\n shipping: daffShippingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffShippingReducers } from './reducers/shipping-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('shipping', daffShippingReducers),\n ],\n})\nexport class DaffShippingStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { ShippingContainer } from './containers/shipping.component';\nimport { DaffShippingStateModule } from './shipping-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffShippingStateModule,\n ],\n declarations: [\n ShippingContainer,\n ],\n exports: [\n ShippingContainer,\n ],\n})\nexport class DaffShippingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\nimport { DaffShippingModule } from '../shipping.module';\n\n/**\n * A facade for accessing state for shipping information.\n */\n@Injectable({\n providedIn: DaffShippingModule,\n})\nexport class DaffShippingFacade implements DaffStoreFacade<Action> {\n /**\n * The shipping address for the customer.\n */\n shippingAddress$: Observable<DaffAddress>;\n /**\n * The selected shipping option id.\n */\n selectedShippingOptionId$: Observable<string>;\n /**\n * Is the shipping address valid.\n */\n isShippingAddressValid$: Observable<boolean>;\n\n constructor(private store: Store<DaffShippingReducersState>) {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { DaffCart } from '@daffodil/cart';\n\nimport { DaffOrder } from '../../models/order/order';\n\n/**\n * @deprecated\n */\nexport enum DaffOrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport enum OrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport class PlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderSuccess implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderSuccessAction;\n\n constructor(public payload: DaffOrder) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderFailure implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderFailureAction;\n\n constructor(public payload: string) {}\n}\n\n/**\n * @deprecated\n */\nexport type DaffOrderActions =\n | DaffPlaceOrder\n | PlaceOrder\n | DaffPlaceOrderSuccess\n | DaffPlaceOrderFailure;\n","import { DaffOrderReducerState } from './order-reducer.interface';\nimport {\n DaffOrderActions,\n DaffOrderActionTypes,\n} from '../../actions/order.actions';\n\n/**\n * @deprecated\n */\nexport const initialState: DaffOrderReducerState = {\n order: null,\n loading: false,\n errors: [],\n};\n\n/**\n * @deprecated\n */\nexport function daffOrderReducer(state = initialState, action: DaffOrderActions): DaffOrderReducerState {\n switch (action.type) {\n case DaffOrderActionTypes.PlaceOrderAction:\n return { ...state, loading: true };\n case DaffOrderActionTypes.PlaceOrderSuccessAction:\n return { ...state, order: action.payload, loading: false };\n case DaffOrderActionTypes.PlaceOrderFailureAction:\n return { ...state, errors: [action.payload], loading: false };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { daffOrderReducer } from './order/order.reducer';\nimport { DaffOrderReducersState } from './order-reducers.interface';\n\n/**\n * @deprecated\n */\nexport const daffOrderReducers: ActionReducerMap<DaffOrderReducersState> = {\n order: daffOrderReducer,\n};\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffCheckoutDriver = new InjectionToken('DaffCheckoutDriver');\n","import {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Actions,\n createEffect,\n ofType,\n} from '@ngrx/effects';\nimport {\n Observable,\n of,\n} from 'rxjs';\nimport {\n map,\n catchError,\n switchMap,\n tap,\n} from 'rxjs/operators';\n\nimport { DaffCheckoutDriver } from '../../drivers/injection-tokens/driver-checkout.token';\nimport { DaffCheckoutServiceInterface } from '../../drivers/interfaces/checkout-service.interface';\nimport {\n DaffOrderActionTypes,\n DaffPlaceOrderSuccess,\n DaffPlaceOrder,\n DaffPlaceOrderFailure,\n} from '../actions/order.actions';\n\n/**\n * @deprecated\n */\n@Injectable()\nexport class OrderEffects {\n\n constructor(\n private actions$: Actions,\n @Inject(DaffCheckoutDriver) private checkoutDriver: DaffCheckoutServiceInterface,\n ) {}\n\n\n onPlaceOrder$: Observable<any> = createEffect(() => this.actions$.pipe(\n ofType(DaffOrderActionTypes.PlaceOrderAction),\n switchMap((action: DaffPlaceOrder) =>\n this.checkoutDriver.placeOrder(action.payload.id.toString())\n .pipe(\n map((resp) => new DaffPlaceOrderSuccess(resp)),\n catchError(error => of(new DaffPlaceOrderFailure('Failed to place order'))),\n ),\n ),\n ));\n}\n","import { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { StoreModule } from '@ngrx/store';\n\nimport { OrderEffects } from './effects/order.effects';\nimport { daffOrderReducers } from './reducers/order-reducers';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n StoreModule.forFeature('order', daffOrderReducers),\n EffectsModule.forFeature([\n OrderEffects,\n ]),\n ],\n})\nexport class DaffOrderStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { OrderContainer } from './containers/order.component';\nimport { DaffOrderStateModule } from './order-state.module';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n CommonModule,\n /**\n * Ngrx/store\n */\n DaffOrderStateModule,\n ],\n declarations: [\n OrderContainer,\n ],\n exports: [\n OrderContainer,\n ],\n})\nexport class DaffOrderModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderModule } from '../order.module';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n selectErrors,\n} from '../selectors/order.selector';\n\n/**\n * A facade for accessing state for the currently selected category.\n */\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: DaffOrderModule,\n})\nexport class DaffOrderFacade implements DaffStoreFacade<Action> {\n /**\n * The current order.\n */\n order$: Observable<DaffOrder>;\n /**\n * The loading state for the current order.\n */\n loading$: Observable<boolean>;\n /**\n * Any errors involved in loading the order.\n */\n errors$: Observable<string[]>;\n\n constructor(private store: Store<DaffOrderReducersState>) {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n this.errors$ = this.store.pipe(select(selectErrors));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingModule } from './billing/billing.module';\nimport { DaffOrderModule } from './order/order.module';\nimport { DaffPaymentModule } from './payment/payment.module';\nimport { DaffShippingModule } from './shipping/shipping.module';\n\n@NgModule({\n imports: [\n CommonModule,\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n exports: [\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n})\nexport class StateCheckoutModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["initialState","selectPaymentInfo","i2"],"mappings":";;;;;;;;;;IAIY,wBAGX;AAHD,CAAA,UAAY,uBAAuB,EAAA;AACjC,IAAA,uBAAA,CAAA,6BAAA,CAAA,GAAA,2CAAyE,CAAA;AACzE,IAAA,uBAAA,CAAA,4BAAA,CAAA,GAAA,0CAAuE,CAAA;AACzE,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,GAGlC,EAAA,CAAA,CAAA,CAAA;MAEY,yBAAyB,CAAA;AAGpC,IAAA,WAAA,CAAmB,OAAoB,EAAA;QAApB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAa;AAF9B,QAAA,IAAA,CAAA,IAAI,GAAG,uBAAuB,CAAC,2BAA2B,CAAC;KAEzB;AAC5C,CAAA;MAEY,wBAAwB,CAAA;AAGnC,IAAA,WAAA,CAAmB,OAAe,EAAA;QAAf,IAAO,CAAA,OAAA,GAAP,OAAO,CAAQ;AAFzB,QAAA,IAAA,CAAA,IAAI,GAAG,uBAAuB,CAAC,0BAA0B,CAAC;KAE7B;AACvC;;ACRD;;AAEG;MACU,0BAA0B,GAAqE,qBAAqB,CAA4B,UAAU,EAAE;AAEzK;;AAEG;AACU,MAAA,mBAAmB,GAAG,cAAc,CAC/C,0BAA0B,EAC1B,CAAC,KAAgC,KAAK,KAAK,CAAC,QAAQ,EACpD;AAEW,MAAA,qBAAqB,GAAuD,cAAc,CACrG,mBAA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O,EAAE;wBACP,kBAAkB;wBAClB,iBAAiB;wBACjB,iBAAiB;wBACjB,eAAe;AAChB,qBAAA;AACF,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-checkout.mjs","sources":["../../../libs/checkout/src/daffodil-checkout.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
package/index.d.ts CHANGED
@@ -1,47 +1 @@
1
- export { DaffOrder } from './models/order/order';
2
- export { DaffOrderItem } from './models/order/order-item';
3
- export { DaffOrderAddress } from './models/order/order-address';
4
- export { DaffOrderPayment } from './models/order/order-payment';
5
- export { DaffOrderShippingRate } from './models/order/order-shipping-rate';
6
- export { PaymentInfo } from './models/payment/payment-info';
7
- export { ShippingRate } from './models/shipping/shipping-rate';
8
- export { ShippingOption } from './models/shipping/shipping-option';
9
- export { ShippingContainer } from './shipping/containers/shipping.component';
10
- export { OrderContainer } from './order/containers/order.component';
11
- export { DaffPaymentFacade } from './payment/facades/payment.facade';
12
- export { DaffPaymentModule } from './payment/payment.module';
13
- export { DaffPaymentActionTypes, DaffPaymentActions, DaffUpdatePaymentInfo, } from './payment/actions/payment.actions';
14
- export { daffPaymentReducers } from './payment/reducers/payment-reducers';
15
- export { selectPaymentFeatureState, selectPaymentState, selectPaymentInfo, } from './payment/selectors/payment.selector';
16
- export { DaffPaymentDriver } from './drivers/injection-tokens/payment-driver.token';
17
- export { DaffOrderDriver, DaffOrderServiceInterface, } from './drivers/interfaces/order-service.interface';
18
- export { DaffPaymentTransformer } from './drivers/injection-tokens/payment-transformer.token';
19
- export { DaffCartProcessRequest } from './models/cart-process-request';
20
- export { DaffBillingActionTypes, DaffUpdateBillingAddress, DaffToggleBillingAddressIsShippingAddress, DaffBillingActions, } from './billing/actions/billing.actions';
21
- export { selectBillingFeatureState, selectBillingState, selectBillingAddress, selectBillingAddressIsShippingAddress, } from './billing/selectors/billing.selector';
22
- export { DaffBillingFacade } from './billing/facades/billing.facade';
23
- export { DaffBillingReducersState } from './billing/reducers/billing-reducers.interface';
24
- export { DaffBillingReducerState } from './billing/reducers/billing/billing-reducer.interface';
25
- export { daffBillingReducers } from './billing/reducers/billing-reducers';
26
- export { daffBillingReducer } from './billing/reducers/billing/billing.reducer';
27
- export { BillingContainer } from './billing/containers/billing.component';
28
- export { DaffShippingFacade } from './shipping/facades/shipping.facade';
29
- export { DaffShippingActionTypes, DaffUpdateShippingAddress, DaffSelectShippingOption, DaffShippingActions, } from './shipping/actions/shipping.actions';
30
- export { daffShippingReducer } from './shipping/reducers/shipping/shipping.reducer';
31
- export { DaffShippingReducerState } from './shipping/reducers/shipping/shipping-reducer.interface';
32
- export { daffShippingReducers } from './shipping/reducers/shipping-reducers';
33
- export { DaffShippingReducersState } from './shipping/reducers/shipping-reducers.interface';
34
- export { selectShippingFeatureState, selectShippingState, selectShippingAddress, selectShippingOptionId, selectIsShippingAddressValid, } from './shipping/selectors/shipping.selectors';
35
- export { PlaceOrder, OrderActionTypes, DaffOrderActionTypes, DaffOrderActions, DaffPlaceOrder, DaffPlaceOrderFailure, DaffPlaceOrderSuccess, } from './order/actions/order.actions';
36
- export { selectErrors, selectLoading, selectOrder, selectOrderState, selectOrderFeatureState, } from './order/selectors/order.selector';
37
- export { DaffOrderReducersState } from './order/reducers/order-reducers.interface';
38
- export { DaffOrderReducerState } from './order/reducers/order/order-reducer.interface';
39
- export { daffOrderReducers } from './order/reducers/order-reducers';
40
- export { daffOrderReducer } from './order/reducers/order/order.reducer';
41
- export { DaffOrderFacade } from './order/facades/order.facade';
42
- export { DaffBillingModule } from './billing/billing.module';
43
- export { DaffShippingModule } from './shipping/shipping.module';
44
- export { DaffOrderModule } from './order/order.module';
45
- export { StateCheckoutModule } from './checkout.module';
46
- export { DaffCheckoutServiceInterface } from './drivers/interfaces/checkout-service.interface';
47
- export { DaffCheckoutDriver } from './drivers/injection-tokens/driver-checkout.token';
1
+ export {};
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@daffodil/checkout","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/checkout"]}}},"version":"0.70.0","description":"Interfaces built for daffodil/state","repository":{"type":"git","url":"https://github.com/graycoreio/daffodil"},"author":"Graycore LLC","license":"MIT","bugs":{"url":"https://github.com/graycoreio/daffodil/issues"},"homepage":"https://github.com/graycoreio/daffodil","peerDependencies":{"@angular/common":"^17.0.0","@angular/core":"^17.0.0","@daffodil/cart":"0.70.0","@daffodil/core":"0.70.0","@daffodil/order":"0.70.0","@daffodil/product":"0.70.0","@ngrx/effects":"^17.0.0","@ngrx/entity":"^17.0.0","@ngrx/store":"^17.0.0","rxjs":"7.8.1"},"optionalDependencies":{"@faker-js/faker":"^7.6.0","angular-in-memory-web-api":"^0.17.0"},"module":"fesm2022/daffodil-checkout.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm2022":"./esm2022/daffodil-checkout.mjs","esm":"./esm2022/daffodil-checkout.mjs","default":"./fesm2022/daffodil-checkout.mjs"},"./state":{"types":"./state/index.d.ts","esm2022":"./esm2022/state/daffodil-checkout-state.mjs","esm":"./esm2022/state/daffodil-checkout-state.mjs","default":"./fesm2022/daffodil-checkout-state.mjs"},"./testing":{"types":"./testing/index.d.ts","esm2022":"./esm2022/testing/daffodil-checkout-testing.mjs","esm":"./esm2022/testing/daffodil-checkout-testing.mjs","default":"./fesm2022/daffodil-checkout-testing.mjs"},"./state/testing":{"types":"./state/testing/index.d.ts","esm2022":"./esm2022/state/testing/daffodil-checkout-state-testing.mjs","esm":"./esm2022/state/testing/daffodil-checkout-state-testing.mjs","default":"./fesm2022/daffodil-checkout-state-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.3.0"}}
1
+ {"name":"@daffodil/checkout","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/checkout"]}}},"version":"0.72.0","description":"Interfaces built for daffodil/state","repository":{"type":"git","url":"https://github.com/graycoreio/daffodil"},"author":"Graycore LLC","license":"MIT","bugs":{"url":"https://github.com/graycoreio/daffodil/issues"},"homepage":"https://github.com/graycoreio/daffodil","peerDependencies":{"@angular/common":"^17.0.0","@angular/core":"^17.0.0","@daffodil/cart":"0.72.0","@daffodil/core":"0.72.0","@daffodil/order":"0.72.0","@daffodil/product":"0.72.0","@ngrx/effects":"^17.0.0","@ngrx/entity":"^17.0.0","@ngrx/store":"^17.0.0","rxjs":"7.8.1"},"optionalDependencies":{"@faker-js/faker":"^7.6.0","angular-in-memory-web-api":"^0.17.0"},"module":"fesm2022/daffodil-checkout.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm2022":"./esm2022/daffodil-checkout.mjs","esm":"./esm2022/daffodil-checkout.mjs","default":"./fesm2022/daffodil-checkout.mjs"},"./state":{"types":"./state/index.d.ts","esm2022":"./esm2022/state/daffodil-checkout-state.mjs","esm":"./esm2022/state/daffodil-checkout-state.mjs","default":"./fesm2022/daffodil-checkout-state.mjs"},"./state/testing":{"types":"./state/testing/index.d.ts","esm2022":"./esm2022/state/testing/daffodil-checkout-state-testing.mjs","esm":"./esm2022/state/testing/daffodil-checkout-state-testing.mjs","default":"./fesm2022/daffodil-checkout-state-testing.mjs"}},"sideEffects":false,"dependencies":{"tslib":"^2.3.0"}}
@@ -2,8 +2,8 @@ import * as i0 from "@angular/core";
2
2
  /**
3
3
  * Mocks the `@daffodil/checkout/state` facades for testing purposes.
4
4
  */
5
- export declare class DaffCheckoutTestingModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffCheckoutTestingModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffCheckoutTestingModule, never, never, never>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffCheckoutTestingModule>;
5
+ export declare class DaffCheckoutStateTestingModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffCheckoutStateTestingModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffCheckoutStateTestingModule, never, never, never>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffCheckoutStateTestingModule>;
9
9
  }
@@ -1,2 +1,2 @@
1
1
  export { MockDaffCheckoutPlacedOrderFacade } from './mock-placed-order-facade';
2
- export { DaffCheckoutTestingModule } from './checkout-testing.module';
2
+ export { DaffCheckoutStateTestingModule } from './checkout-testing.module';
@@ -1,22 +0,0 @@
1
- import { Action } from '@ngrx/store';
2
- import { DaffAddress } from '@daffodil/core';
3
- import { PaymentInfo } from '../../models/payment/payment-info';
4
- export declare enum DaffBillingActionTypes {
5
- UpdateBillingAddressAction = "[Billing] Update Billing Address Action",
6
- UpdatePaymentInfoAction = "[Billing] Update Payment Info Action",
7
- ToggleBillingAddressIsShippingAddressAction = "[Billing] Billing Address Is Shipping Address Action"
8
- }
9
- export declare class DaffUpdateBillingAddress implements Action {
10
- payload: DaffAddress;
11
- readonly type = DaffBillingActionTypes.UpdateBillingAddressAction;
12
- constructor(payload: DaffAddress);
13
- }
14
- export declare class DaffUpdatePaymentInfo implements Action {
15
- payload: PaymentInfo;
16
- readonly type = DaffBillingActionTypes.UpdatePaymentInfoAction;
17
- constructor(payload: PaymentInfo);
18
- }
19
- export declare class DaffToggleBillingAddressIsShippingAddress implements Action {
20
- readonly type = DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction;
21
- }
22
- export type DaffBillingActions = DaffUpdateBillingAddress | DaffUpdatePaymentInfo | DaffToggleBillingAddressIsShippingAddress;
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@ngrx/store";
3
- export declare class DaffBillingStateModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffBillingStateModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffBillingStateModule, never, [typeof i1.StoreFeatureModule], never>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffBillingStateModule>;
7
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./containers/billing.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "./billing-state.module";
5
- export declare class DaffBillingModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffBillingModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffBillingModule, [typeof i1.BillingContainer], [typeof i2.CommonModule, typeof i3.DaffBillingStateModule], [typeof i1.BillingContainer]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffBillingModule>;
9
- }
@@ -1,20 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Store } from '@ngrx/store';
3
- import { Observable } from 'rxjs';
4
- import { DaffAddress } from '@daffodil/core';
5
- import { PaymentInfo } from '../../models/payment/payment-info';
6
- import { DaffBillingReducersState } from '../reducers/billing-reducers.interface';
7
- import * as i0 from "@angular/core";
8
- export declare class BillingContainer implements OnInit {
9
- private store;
10
- billingAddress$: Observable<DaffAddress>;
11
- billingAddressIsShippingAddress$: Observable<boolean>;
12
- paymentInfo$: Observable<PaymentInfo>;
13
- constructor(store: Store<DaffBillingReducersState>);
14
- ngOnInit(): void;
15
- updateBillingAddress(address: DaffAddress): void;
16
- toggleBillingAddressIsShippingAddress(): void;
17
- updatePaymentInfo(info: PaymentInfo): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<BillingContainer, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<BillingContainer, "[billing-container]", ["BillingContainer"], {}, {}, never, ["*"], false, never>;
20
- }
@@ -1,34 +0,0 @@
1
- import { Store, Action } from '@ngrx/store';
2
- import { Observable } from 'rxjs';
3
- import { DaffAddress } from '@daffodil/core';
4
- import { DaffStoreFacade } from '@daffodil/core/state';
5
- import { PaymentInfo } from '../../models/payment/payment-info';
6
- import { DaffBillingReducersState } from '../reducers/billing-reducers.interface';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * A facade for accessing state for the billing information of a customer
10
- */
11
- export declare class DaffBillingFacade implements DaffStoreFacade<Action> {
12
- private store;
13
- /**
14
- * The billing address for a customer.
15
- */
16
- billingAddress$: Observable<DaffAddress>;
17
- /**
18
- * Whether or not the billing address is the same as the shipping address.
19
- */
20
- billingAddressIsShippingAddress$: Observable<boolean>;
21
- /**
22
- * The payment information for a customer.
23
- */
24
- paymentInfo$: Observable<PaymentInfo>;
25
- constructor(store: Store<DaffBillingReducersState>);
26
- /**
27
- * Dispatches the given action.
28
- *
29
- * @param action action to dispatch.
30
- */
31
- dispatch(action: Action): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffBillingFacade, never>;
33
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffBillingFacade>;
34
- }
@@ -1,7 +0,0 @@
1
- import { DaffAddress } from '@daffodil/core';
2
- import { PaymentInfo } from '../../../models/payment/payment-info';
3
- export interface DaffBillingReducerState {
4
- billingAddress: DaffAddress;
5
- billingAddressIsShippingAddress: boolean;
6
- paymentInfo: PaymentInfo;
7
- }
@@ -1,4 +0,0 @@
1
- import { DaffBillingReducerState } from './billing-reducer.interface';
2
- import { DaffBillingActions } from '../../actions/billing.actions';
3
- export declare const initialState: DaffBillingReducerState;
4
- export declare function daffBillingReducer(state: DaffBillingReducerState, action: DaffBillingActions): DaffBillingReducerState;
@@ -1,3 +0,0 @@
1
- import { ActionReducerMap } from '@ngrx/store';
2
- import { DaffBillingReducersState } from './billing-reducers.interface';
3
- export declare const daffBillingReducers: ActionReducerMap<DaffBillingReducersState>;
@@ -1,4 +0,0 @@
1
- import { DaffBillingReducerState } from './billing/billing-reducer.interface';
2
- export interface DaffBillingReducersState {
3
- billing: DaffBillingReducerState;
4
- }
@@ -1,16 +0,0 @@
1
- import { MemoizedSelector } from '@ngrx/store';
2
- import { DaffAddress } from '@daffodil/core';
3
- import { PaymentInfo } from '../../models/payment/payment-info';
4
- import { DaffBillingReducerState } from '../reducers/billing/billing-reducer.interface';
5
- import { DaffBillingReducersState } from '../reducers/billing-reducers.interface';
6
- /**
7
- * Billing Feature State
8
- */
9
- export declare const selectBillingFeatureState: MemoizedSelector<Record<string, any>, DaffBillingReducersState>;
10
- /**
11
- * Billing State
12
- */
13
- export declare const selectBillingState: MemoizedSelector<Record<string, any>, DaffBillingReducerState, (s1: DaffBillingReducersState) => DaffBillingReducerState>;
14
- export declare const selectBillingAddress: MemoizedSelector<Record<string, any>, DaffAddress>;
15
- export declare const selectBillingAddressIsShippingAddress: MemoizedSelector<Record<string, any>, boolean>;
16
- export declare const selectPaymentInfo: MemoizedSelector<Record<string, any>, PaymentInfo>;
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./shipping/shipping.module";
4
- import * as i3 from "./payment/payment.module";
5
- import * as i4 from "./billing/billing.module";
6
- import * as i5 from "./order/order.module";
7
- export declare class StateCheckoutModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<StateCheckoutModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<StateCheckoutModule, never, [typeof i1.CommonModule, typeof i2.DaffShippingModule, typeof i3.DaffPaymentModule, typeof i4.DaffBillingModule, typeof i5.DaffOrderModule], [typeof i2.DaffShippingModule, typeof i3.DaffPaymentModule, typeof i4.DaffBillingModule, typeof i5.DaffOrderModule]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<StateCheckoutModule>;
11
- }
@@ -1,2 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const DaffCheckoutDriver: InjectionToken<unknown>;
@@ -1,2 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const DaffPaymentDriver: InjectionToken<unknown>;
@@ -1,2 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const DaffPaymentTransformer: InjectionToken<unknown>;
@@ -1,5 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { DaffOrder } from '../../models/order/order';
3
- export interface DaffCheckoutServiceInterface {
4
- placeOrder(cartId: string): Observable<DaffOrder>;
5
- }
@@ -1,19 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { DaffOrder } from '../../models/order/order';
4
- export declare const DaffOrderDriver: InjectionToken<DaffOrderServiceInterface<DaffOrder>>;
5
- /**
6
- * Query order objects accessible by the logged-in user.
7
- *
8
- * @deprecated
9
- */
10
- export interface DaffOrderServiceInterface<T extends DaffOrder = DaffOrder> {
11
- /**
12
- * Get an order object with the specified order ID.
13
- */
14
- get(orderId: T['id']): Observable<T>;
15
- /**
16
- * List all order objects for the logged-in user.
17
- */
18
- list(): Observable<T[]>;
19
- }
@@ -1,24 +0,0 @@
1
- export var DaffBillingActionTypes;
2
- (function (DaffBillingActionTypes) {
3
- DaffBillingActionTypes["UpdateBillingAddressAction"] = "[Billing] Update Billing Address Action";
4
- DaffBillingActionTypes["UpdatePaymentInfoAction"] = "[Billing] Update Payment Info Action";
5
- DaffBillingActionTypes["ToggleBillingAddressIsShippingAddressAction"] = "[Billing] Billing Address Is Shipping Address Action";
6
- })(DaffBillingActionTypes || (DaffBillingActionTypes = {}));
7
- export class DaffUpdateBillingAddress {
8
- constructor(payload) {
9
- this.payload = payload;
10
- this.type = DaffBillingActionTypes.UpdateBillingAddressAction;
11
- }
12
- }
13
- export class DaffUpdatePaymentInfo {
14
- constructor(payload) {
15
- this.payload = payload;
16
- this.type = DaffBillingActionTypes.UpdatePaymentInfoAction;
17
- }
18
- }
19
- export class DaffToggleBillingAddressIsShippingAddress {
20
- constructor() {
21
- this.type = DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction;
22
- }
23
- }
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlsbGluZy5hY3Rpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9jaGVja291dC9zcmMvYmlsbGluZy9hY3Rpb25zL2JpbGxpbmcuYWN0aW9ucy50cyJdLCJuY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FmZlRvZ2dsZUJpbGxpbmdBZGRyZXNzSXNTaGlwcGluZ0FkZHJlc3M7XG4iXX0=
@@ -1,19 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { StoreModule } from '@ngrx/store';
3
- import { daffBillingReducers } from './reducers/billing-reducers';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@ngrx/store";
6
- export class DaffBillingStateModule {
7
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingStateModule, imports: [i1.StoreFeatureModule] }); }
9
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingStateModule, imports: [StoreModule.forFeature('billing', daffBillingReducers)] }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingStateModule, decorators: [{
12
- type: NgModule,
13
- args: [{
14
- imports: [
15
- StoreModule.forFeature('billing', daffBillingReducers),
16
- ],
17
- }]
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlsbGluZy1zdGF0ZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2NoZWNrb3V0L3NyYy9iaWxsaW5nL2JpbGxpbmctc3RhdGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUUxQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7O0FBT2xFLE1BQU0sT0FBTyxzQkFBc0I7aUlBQXRCLHNCQUFzQjtrSUFBdEIsc0JBQXNCO2tJQUF0QixzQkFBc0IsWUFIL0IsV0FBVyxDQUFDLFVBQVUsQ0FBQyxTQUFTLEVBQUUsbUJBQW1CLENBQUM7OzJGQUc3QyxzQkFBc0I7a0JBTGxDLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFO3dCQUNQLFdBQVcsQ0FBQyxVQUFVLENBQUMsU0FBUyxFQUFFLG1CQUFtQixDQUFDO3FCQUN2RDtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBTdG9yZU1vZHVsZSB9IGZyb20gJ0BuZ3J4L3N0b3JlJztcblxuaW1wb3J0IHsgZGFmZkJpbGxpbmdSZWR1Y2VycyB9IGZyb20gJy4vcmVkdWNlcnMvYmlsbGluZy1yZWR1Y2Vycyc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBTdG9yZU1vZHVsZS5mb3JGZWF0dXJlKCdiaWxsaW5nJywgZGFmZkJpbGxpbmdSZWR1Y2VycyksXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERhZmZCaWxsaW5nU3RhdGVNb2R1bGUgeyB9XG4iXX0=
@@ -1,37 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { DaffBillingStateModule } from './billing-state.module';
4
- import { BillingContainer } from './containers/billing.component';
5
- import * as i0 from "@angular/core";
6
- export class DaffBillingModule {
7
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingModule, declarations: [BillingContainer], imports: [CommonModule,
9
- /**
10
- * Ngrx/store
11
- */
12
- DaffBillingStateModule], exports: [BillingContainer] }); }
13
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingModule, imports: [CommonModule,
14
- /**
15
- * Ngrx/store
16
- */
17
- DaffBillingStateModule] }); }
18
- }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingModule, decorators: [{
20
- type: NgModule,
21
- args: [{
22
- imports: [
23
- CommonModule,
24
- /**
25
- * Ngrx/store
26
- */
27
- DaffBillingStateModule,
28
- ],
29
- declarations: [
30
- BillingContainer,
31
- ],
32
- exports: [
33
- BillingContainer,
34
- ],
35
- }]
36
- }] });
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlsbGluZy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2NoZWNrb3V0L3NyYy9iaWxsaW5nL2JpbGxpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGdDQUFnQyxDQUFDOztBQWtCbEUsTUFBTSxPQUFPLGlCQUFpQjtpSUFBakIsaUJBQWlCO2tJQUFqQixpQkFBaUI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
- import { Component, } from '@angular/core';
2
- import { Store, select, } from '@ngrx/store';
3
- import { DaffUpdateBillingAddress, DaffUpdatePaymentInfo, DaffToggleBillingAddressIsShippingAddress, } from '../actions/billing.actions';
4
- import { selectBillingAddress, selectBillingAddressIsShippingAddress, selectPaymentInfo, } from '../selectors/billing.selector';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ngrx/store";
7
- export class BillingContainer {
8
- constructor(store) {
9
- this.store = store;
10
- }
11
- ngOnInit() {
12
- this.billingAddress$ = this.store.pipe(select(selectBillingAddress));
13
- this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));
14
- this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));
15
- }
16
- updateBillingAddress(address) {
17
- this.store.dispatch(new DaffUpdateBillingAddress(address));
18
- }
19
- toggleBillingAddressIsShippingAddress() {
20
- this.store.dispatch(new DaffToggleBillingAddressIsShippingAddress());
21
- }
22
- updatePaymentInfo(info) {
23
- this.store.dispatch(new DaffUpdatePaymentInfo(info));
24
- }
25
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BillingContainer, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
26
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.1", type: BillingContainer, selector: "[billing-container]", exportAs: ["BillingContainer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
27
- }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: BillingContainer, decorators: [{
29
- type: Component,
30
- args: [{
31
- selector: '[billing-container]',
32
- template: '<ng-content></ng-content>',
33
- exportAs: 'BillingContainer',
34
- }]
35
- }], ctorParameters: () => [{ type: i1.Store }] });
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlsb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W5nQWRkcmVzcyQgPSB0aGlzLnN0b3JlLnBpcGUoc2VsZWN0KHNlbGVjdEJpbGxpbmdBZGRyZXNzSXNTaGlwcGluZ0FkZHJlc3MpKTtcbiAgICB0aGlzLnBheW1lbnRJbmZvJCA9IHRoaXMuc3RvcmUucGlwZShzZWxlY3Qoc2VsZWN0UGF5bWVudEluZm8pKTtcbiAgfVxuXG4gIHVwZGF0ZUJpbGxpbmdBZGRyZXNzKGFkZHJlc3M6IERhZmZBZGRyZXNzKSB7XG4gICAgdGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgRGFmZlVwZGF0ZUJpbGxpbmdBZGRyZXNzKGFkZHJlc3MpKTtcbiAgfVxuXG4gIHRvZ2dsZUJpbGxpbmdBZGRyZXNzSXNTaGlwcGluZ0FkZHJlc3MoKSB7XG4gICAgdGhpcy5zdG9yZS5kaXNwYXRjaChuZXcgRGFmZlRvZ2dsZUJpbGxpbmdBZGRyZXNzSXNTaGlwcGluZ0FkZHJlc3MoKSk7XG4gIH1cblxuICB1cGRhdGVQYXltZW50SW5mbyhpbmZvOiBQYXltZW50SW5mbykge1xuICAgIHRoaXMuc3RvcmUuZGlzcGF0Y2gobmV3IERhZmZVcGRhdGVQYXltZW50SW5mbyhpbmZvKSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,34 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { Store, select, } from '@ngrx/store';
3
- import { DaffBillingModule } from '../billing.module';
4
- import { selectBillingAddress, selectBillingAddressIsShippingAddress, selectPaymentInfo, } from '../selectors/billing.selector';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ngrx/store";
7
- /**
8
- * A facade for accessing state for the billing information of a customer
9
- */
10
- export class DaffBillingFacade {
11
- constructor(store) {
12
- this.store = store;
13
- this.billingAddress$ = this.store.pipe(select(selectBillingAddress));
14
- this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));
15
- this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));
16
- }
17
- /**
18
- * Dispatches the given action.
19
- *
20
- * @param action action to dispatch.
21
- */
22
- dispatch(action) {
23
- this.store.dispatch(action);
24
- }
25
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingFacade, providedIn: DaffBillingModule }); }
27
- }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.1", ngImport: i0, type: DaffBillingFacade, decorators: [{
29
- type: Injectable,
30
- args: [{
31
- providedIn: DaffBillingModule,
32
- }]
33
- }], ctorParameters: () => [{ type: i1.Store }] });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlsbGluZy5mYWNhZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NoZWNrb3V0L3NyYy9iaWxsaW5nL2ZhY2FkZXMvYmlsbGluZy5mYWNhZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQ0wsS0FBSyxFQUNMLE1BQU0sR0FFUCxNQUFNLGFBQWEsQ0FBQztBQU9yQixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUV0RCxPQUFPLEVBQ0wsb0JBQW9CLEVBQ3BCLHFDQUFxQyxFQUNyQyxpQkFBaUIsR0FDbEIsTUFBTSwrQkFBK0IsQ0FBQzs7O0FBRXZDOztHQUVHO0FBSUgsTUFBTSxPQUFPLGlCQUFpQjtJQWM1QixZQU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