@daffodil/checkout 0.43.1 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/billing/billing-state.module.mjs +4 -4
- package/esm2020/billing/billing.module.mjs +4 -4
- package/esm2020/billing/containers/billing.component.mjs +3 -3
- package/esm2020/billing/facades/billing.facade.mjs +3 -3
- package/esm2020/checkout.module.mjs +4 -4
- package/esm2020/order/containers/order.component.mjs +3 -3
- package/esm2020/order/effects/order.effects.mjs +3 -3
- package/esm2020/order/facades/order.facade.mjs +3 -3
- package/esm2020/order/order-state.module.mjs +4 -4
- package/esm2020/order/order.module.mjs +4 -4
- package/esm2020/payment/facades/payment.facade.mjs +3 -3
- package/esm2020/payment/payment-state.module.mjs +4 -4
- package/esm2020/payment/payment.module.mjs +4 -4
- package/esm2020/shipping/containers/shipping.component.mjs +3 -3
- package/esm2020/shipping/facades/shipping.facade.mjs +3 -3
- package/esm2020/shipping/shipping-state.module.mjs +4 -4
- package/esm2020/shipping/shipping.module.mjs +4 -4
- package/esm2020/testing/drivers/in-memory/checkout-driver.module.mjs +4 -4
- package/esm2020/testing/drivers/in-memory/checkout.service.mjs +3 -3
- package/esm2020/testing/drivers/testing/checkout-driver.module.mjs +4 -4
- package/esm2020/testing/drivers/testing/checkout.service.mjs +3 -3
- package/esm2020/testing/inmemory-backend/checkout.service.mjs +3 -3
- package/esm2020/testing/order/factories/order-address.factory.mjs +3 -3
- package/esm2020/testing/order/factories/order-item.factory.mjs +3 -3
- package/esm2020/testing/order/factories/order-payment.factory.mjs +3 -3
- package/esm2020/testing/order/factories/order-shipping-rate.factory.mjs +3 -3
- package/esm2020/testing/order/factories/order.factory.mjs +3 -3
- package/esm2020/testing/payment/factories/payment.factory.mjs +3 -3
- package/esm2020/testing/shipping/factories/shipping-option.factory.mjs +3 -3
- package/esm2020/testing/shipping/factories/shipping-rate.factory.mjs +3 -3
- package/fesm2015/daffodil-checkout-testing.mjs +28 -28
- package/fesm2015/daffodil-checkout-testing.mjs.map +1 -1
- package/fesm2015/daffodil-checkout.mjs +43 -43
- package/fesm2015/daffodil-checkout.mjs.map +1 -1
- package/fesm2020/daffodil-checkout-testing.mjs +28 -28
- package/fesm2020/daffodil-checkout-testing.mjs.map +1 -1
- package/fesm2020/daffodil-checkout.mjs +43 -43
- package/fesm2020/daffodil-checkout.mjs.map +1 -1
- package/package.json +4 -4
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-checkout.mjs","sources":["../../../libs/checkout/src/shipping/actions/shipping.actions.ts","../../../libs/checkout/src/shipping/selectors/shipping.selectors.ts","../../../libs/checkout/src/shipping/containers/shipping.component.ts","../../../libs/checkout/src/order/selectors/order.selector.ts","../../../libs/checkout/src/order/containers/order.component.ts","../../../libs/checkout/src/payment/actions/payment.actions.ts","../../../libs/checkout/src/payment/reducers/payment/payment.reducer.ts","../../../libs/checkout/src/payment/reducers/payment-reducers.ts","../../../libs/checkout/src/payment/payment-state.module.ts","../../../libs/checkout/src/payment/payment.module.ts","../../../libs/checkout/src/payment/selectors/payment.selector.ts","../../../libs/checkout/src/payment/facades/payment.facade.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-driver.token.ts","../../../libs/checkout/src/drivers/interfaces/order-service.interface.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-transformer.token.ts","../../../libs/checkout/src/billing/actions/billing.actions.ts","../../../libs/checkout/src/billing/selectors/billing.selector.ts","../../../libs/checkout/src/billing/reducers/billing/billing.reducer.ts","../../../libs/checkout/src/billing/reducers/billing-reducers.ts","../../../libs/checkout/src/billing/billing-state.module.ts","../../../libs/checkout/src/billing/containers/billing.component.ts","../../../libs/checkout/src/billing/billing.module.ts","../../../libs/checkout/src/billing/facades/billing.facade.ts","../../../libs/checkout/src/shipping/reducers/shipping/shipping.reducer.ts","../../../libs/checkout/src/shipping/reducers/shipping-reducers.ts","../../../libs/checkout/src/shipping/shipping-state.module.ts","../../../libs/checkout/src/shipping/shipping.module.ts","../../../libs/checkout/src/shipping/facades/shipping.facade.ts","../../../libs/checkout/src/order/actions/order.actions.ts","../../../libs/checkout/src/order/reducers/order/order.reducer.ts","../../../libs/checkout/src/order/reducers/order-reducers.ts","../../../libs/checkout/src/drivers/injection-tokens/driver-checkout.token.ts","../../../libs/checkout/src/order/effects/order.effects.ts","../../../libs/checkout/src/order/order-state.module.ts","../../../libs/checkout/src/order/order.module.ts","../../../libs/checkout/src/order/facades/order.facade.ts","../../../libs/checkout/src/checkout.module.ts","../../../libs/checkout/src/daffodil-checkout.ts"],"sourcesContent":["import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nexport enum DaffShippingActionTypes {\n UpdateShippingAddressAction = '[Shipping] Update Shipping Address Action',\n SelectShippingOptionAction = '[Shipping] Select Shipping Option Action'\n}\n\nexport class DaffUpdateShippingAddress implements Action {\n readonly type = DaffShippingActionTypes.UpdateShippingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffSelectShippingOption implements Action {\n readonly type = DaffShippingActionTypes.SelectShippingOptionAction;\n\n constructor(public payload: string) {}\n}\n\nexport type DaffShippingActions =\n | DaffUpdateShippingAddress\n | DaffSelectShippingOption;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport { DaffShippingReducerState } from '../reducers/shipping/shipping-reducer.interface';\n\n/**\n * Shipping Feature State\n */\nexport const selectShippingFeatureState: MemoizedSelector<Record<string, any>, DaffShippingReducersState> = createFeatureSelector<DaffShippingReducersState>('shipping');\n\n/**\n * Shipping State\n */\nexport const selectShippingState = createSelector(\n selectShippingFeatureState,\n (state: DaffShippingReducersState) => state.shipping,\n);\n\nexport const selectShippingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.shippingAddress,\n);\n\nexport const selectShippingOptionId: MemoizedSelector<Record<string, any>, string> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.selectedShippingOptionId,\n);\n\nexport const selectIsShippingAddressValid: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectShippingAddress,\n (state: DaffAddress) => !!state,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport {\n DaffUpdateShippingAddress,\n DaffSelectShippingOption,\n} from '../actions/shipping.actions';\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\n\n@Component({\n selector: '[shipping-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'ShippingContainer',\n})\nexport class ShippingContainer implements OnInit {\n\n shippingAddress$: Observable<DaffAddress>;\n selectedShippingOptionId$: Observable<string>;\n isShippingAddressValid$: Observable<boolean>;\n isShippingOptionSelected$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffShippingReducersState>,\n ) { }\n\n ngOnInit() {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n updateShippingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateShippingAddress(address));\n }\n\n selectShippingOption(optionId: string) {\n this.store.dispatch(new DaffSelectShippingOption(optionId));\n }\n}\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport { DaffOrderReducerState } from '../reducers/order/order-reducer.interface';\n\n/**\n * Order Feature State\n *\n * @deprecated\n */\nexport const selectOrderFeatureState: MemoizedSelector<Record<string, any>, DaffOrderReducersState> = createFeatureSelector<DaffOrderReducersState>('order');\n\n/**\n * Order State\n *\n * @deprecated\n */\nexport const selectOrderState = createSelector(\n selectOrderFeatureState,\n (state: DaffOrderReducersState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectOrder: MemoizedSelector<Record<string, any>, DaffOrder> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectLoading: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.loading,\n);\n\n/**\n * @deprecated\n */\nexport const selectErrors: MemoizedSelector<Record<string, any>, string[]> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.errors,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n} from '../selectors/order.selector';\n\n/**\n * @deprecated\n */\n@Component({\n selector: '[order-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'OrderContainer',\n})\nexport class OrderContainer implements OnInit {\n\n order$: Observable<DaffOrder>;\n loading$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffOrderReducersState>,\n ) { }\n\n ngOnInit() {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffPaymentActionTypes {\n UpdatePaymentInfoAction = '[Payment] Update Payment Info Action'\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffPaymentActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport type DaffPaymentActions =\n | DaffUpdatePaymentInfo;\n","import {\n DaffPaymentActionTypes,\n DaffPaymentActions,\n} from '../../actions/payment.actions';\nimport { DaffPaymentReducerState } from './payment-reducer.interface';\n\nexport const initialState: DaffPaymentReducerState = {\n paymentInfo: null,\n};\n\nexport function daffPaymentReducer(state = initialState, action: DaffPaymentActions): DaffPaymentReducerState {\n switch (action.type) {\n case DaffPaymentActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { DaffPaymentReducersState } from './payment-reducers.interface';\nimport { daffPaymentReducer } from './payment/payment.reducer';\n\nexport const daffPaymentReducers: ActionReducerMap<DaffPaymentReducersState> = {\n payment: daffPaymentReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffPaymentReducers } from './reducers/payment-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('payment', daffPaymentReducers),\n ],\n})\nexport class DaffPaymentStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffPaymentStateModule } from './payment-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffPaymentStateModule,\n ],\n})\nexport class DaffPaymentModule { }\n","import {\n createSelector,\n createFeatureSelector,\n} from '@ngrx/store';\n\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\nimport { DaffPaymentReducerState } from '../reducers/payment/payment-reducer.interface';\n\n/**\n * Payment Feature State\n */\nexport const selectPaymentFeatureState = createFeatureSelector<DaffPaymentReducersState>('payment');\n\n/**\n * Payment State\n */\nexport const selectPaymentState = createSelector(\n selectPaymentFeatureState,\n (state: DaffPaymentReducersState) => state.payment,\n);\n\nexport const selectPaymentInfo = createSelector(\n selectPaymentState,\n (state: DaffPaymentReducerState) => state.paymentInfo,\n);\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffPaymentModule } from '../payment.module';\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\nimport { selectPaymentInfo } from '../selectors/payment.selector';\n\n/**\n * A facade for accessing state for customer payment information.\n */\n@Injectable({\n providedIn: DaffPaymentModule,\n})\nexport class DaffPaymentFacade implements DaffStoreFacade<Action> {\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffPaymentReducersState>) {\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentDriver = new InjectionToken('DaffPaymentDriver');\n","import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\n\nexport const DaffOrderDriver = new InjectionToken<DaffOrderServiceInterface>('DaffOrderDriver');\n\n/**\n * Query order objects accessible by the logged-in user.\n *\n * @deprecated\n */\nexport interface DaffOrderServiceInterface<T extends DaffOrder = DaffOrder> {\n /**\n * Get an order object with the specified order ID.\n */\n get(orderId: T['id']): Observable<T>;\n\n /**\n * List all order objects for the logged-in user.\n */\n list(): Observable<T[]>;\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentTransformer = new InjectionToken('DaffPaymentTransformer');\n","import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffBillingActionTypes {\n UpdateBillingAddressAction = '[Billing] Update Billing Address Action',\n UpdatePaymentInfoAction = '[Billing] Update Payment Info Action',\n ToggleBillingAddressIsShippingAddressAction = '[Billing] Billing Address Is Shipping Address Action'\n}\n\nexport class DaffUpdateBillingAddress implements Action {\n readonly type = DaffBillingActionTypes.UpdateBillingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffBillingActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport class DaffToggleBillingAddressIsShippingAddress implements Action {\n readonly type = DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction;\n}\n\nexport type DaffBillingActions =\n | DaffUpdateBillingAddress\n | DaffUpdatePaymentInfo\n | DaffToggleBillingAddressIsShippingAddress;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport { DaffBillingReducerState } from '../reducers/billing/billing-reducer.interface';\n\n/**\n * Billing Feature State\n */\nexport const selectBillingFeatureState: MemoizedSelector<Record<string, any>, DaffBillingReducersState> = createFeatureSelector<DaffBillingReducersState>('billing');\n\n/**\n * Billing State\n */\nexport const selectBillingState = createSelector(\n selectBillingFeatureState,\n (state: DaffBillingReducersState) => state.billing,\n);\n\nexport const selectBillingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddress,\n);\n\nexport const selectBillingAddressIsShippingAddress: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddressIsShippingAddress,\n);\n\nexport const selectPaymentInfo: MemoizedSelector<Record<string, any>, PaymentInfo> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.paymentInfo,\n);\n","import {\n DaffBillingActionTypes,\n DaffBillingActions,\n} from '../../actions/billing.actions';\nimport { DaffBillingReducerState } from './billing-reducer.interface';\n\nexport const initialState: DaffBillingReducerState = {\n billingAddress: null,\n billingAddressIsShippingAddress: false,\n paymentInfo: null,\n};\n\nexport function daffBillingReducer(state = initialState, action: DaffBillingActions): DaffBillingReducerState {\n switch (action.type) {\n case DaffBillingActionTypes.UpdateBillingAddressAction:\n return { ...state, billingAddress: action.payload };\n case DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction:\n return { ...state, billingAddress: null, billingAddressIsShippingAddress: !state.billingAddressIsShippingAddress };\n case DaffBillingActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { DaffBillingReducersState } from './billing-reducers.interface';\nimport { daffBillingReducer } from './billing/billing.reducer';\n\nexport const daffBillingReducers: ActionReducerMap<DaffBillingReducersState> = {\n billing: daffBillingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffBillingReducers } from './reducers/billing-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('billing', daffBillingReducers),\n ],\n})\nexport class DaffBillingStateModule { }\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport {\n DaffUpdateBillingAddress,\n DaffUpdatePaymentInfo,\n DaffToggleBillingAddressIsShippingAddress,\n} from '../actions/billing.actions';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n@Component({\n selector: '[billing-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'BillingContainer',\n})\nexport class BillingContainer implements OnInit {\n\n billingAddress$: Observable<DaffAddress>;\n billingAddressIsShippingAddress$: Observable<boolean>;\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(\n private store: Store<DaffBillingReducersState>,\n ) { }\n\n ngOnInit() {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n updateBillingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateBillingAddress(address));\n }\n\n toggleBillingAddressIsShippingAddress() {\n this.store.dispatch(new DaffToggleBillingAddressIsShippingAddress());\n }\n\n updatePaymentInfo(info: PaymentInfo) {\n this.store.dispatch(new DaffUpdatePaymentInfo(info));\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingStateModule } from './billing-state.module';\nimport { BillingContainer } from './containers/billing.component';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffBillingStateModule,\n ],\n declarations: [\n BillingContainer,\n ],\n exports: [\n BillingContainer,\n ],\n})\nexport class DaffBillingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingModule } from '../billing.module';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n/**\n * A facade for accessing state for the billing information of a customer\n */\n@Injectable({\n providedIn: DaffBillingModule,\n})\nexport class DaffBillingFacade implements DaffStoreFacade<Action> {\n /**\n * The billing address for a customer.\n */\n billingAddress$: Observable<DaffAddress>;\n /**\n * Whether or not the billing address is the same as the shipping address.\n */\n billingAddressIsShippingAddress$: Observable<boolean>;\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffBillingReducersState>) {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import {\n DaffShippingActionTypes,\n DaffShippingActions,\n} from '../../actions/shipping.actions';\nimport { DaffShippingReducerState } from './shipping-reducer.interface';\n\nexport const initialState: DaffShippingReducerState = {\n shippingAddress: null,\n selectedShippingOptionId: null,\n};\n\nexport function daffShippingReducer(state = initialState, action: DaffShippingActions): DaffShippingReducerState {\n switch (action.type) {\n case DaffShippingActionTypes.UpdateShippingAddressAction:\n return { ...state, shippingAddress: action.payload };\n case DaffShippingActionTypes.SelectShippingOptionAction:\n return { ...state, selectedShippingOptionId: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { DaffShippingReducersState } from './shipping-reducers.interface';\nimport { daffShippingReducer } from './shipping/shipping.reducer';\n\nexport const daffShippingReducers: ActionReducerMap<DaffShippingReducersState> = {\n shipping: daffShippingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffShippingReducers } from './reducers/shipping-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('shipping', daffShippingReducers),\n ],\n})\nexport class DaffShippingStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { ShippingContainer } from './containers/shipping.component';\nimport { DaffShippingStateModule } from './shipping-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffShippingStateModule,\n ],\n declarations: [\n ShippingContainer,\n ],\n exports: [\n ShippingContainer,\n ],\n})\nexport class DaffShippingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\nimport { DaffShippingModule } from '../shipping.module';\n\n/**\n * A facade for accessing state for shipping information.\n */\n@Injectable({\n providedIn: DaffShippingModule,\n})\nexport class DaffShippingFacade implements DaffStoreFacade<Action> {\n /**\n * The shipping address for the customer.\n */\n shippingAddress$: Observable<DaffAddress>;\n /**\n * The selected shipping option id.\n */\n selectedShippingOptionId$: Observable<string>;\n /**\n * Is the shipping address valid.\n */\n isShippingAddressValid$: Observable<boolean>;\n\n constructor(private store: Store<DaffShippingReducersState>) {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { DaffCart } from '@daffodil/cart';\n\nimport { DaffOrder } from '../../models/order/order';\n\n/**\n * @deprecated\n */\nexport enum DaffOrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport enum OrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport class PlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderSuccess implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderSuccessAction;\n\n constructor(public payload: DaffOrder) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderFailure implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderFailureAction;\n\n constructor(public payload: string) {}\n}\n\n/**\n * @deprecated\n */\nexport type DaffOrderActions =\n | DaffPlaceOrder\n | PlaceOrder\n | DaffPlaceOrderSuccess\n | DaffPlaceOrderFailure;\n","import {\n DaffOrderActions,\n DaffOrderActionTypes,\n} from '../../actions/order.actions';\nimport { DaffOrderReducerState } from './order-reducer.interface';\n\n/**\n * @deprecated\n */\nexport const initialState: DaffOrderReducerState = {\n order: null,\n loading: false,\n errors: [],\n};\n\n/**\n * @deprecated\n */\nexport function daffOrderReducer(state = initialState, action: DaffOrderActions): DaffOrderReducerState {\n switch (action.type) {\n case DaffOrderActionTypes.PlaceOrderAction:\n return { ...state, loading: true };\n case DaffOrderActionTypes.PlaceOrderSuccessAction:\n return { ...state, order: action.payload, loading: false };\n case DaffOrderActionTypes.PlaceOrderFailureAction:\n return { ...state, errors: [action.payload], loading: false };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { DaffOrderReducersState } from './order-reducers.interface';\nimport { daffOrderReducer } from './order/order.reducer';\n\n/**\n * @deprecated\n */\nexport const daffOrderReducers: ActionReducerMap<DaffOrderReducersState> = {\n order: daffOrderReducer,\n};\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffCheckoutDriver = new InjectionToken('DaffCheckoutDriver');\n","import {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Actions,\n createEffect,\n ofType,\n} from '@ngrx/effects';\nimport {\n Observable,\n of,\n} from 'rxjs';\nimport {\n map,\n catchError,\n switchMap,\n tap,\n} from 'rxjs/operators';\n\nimport { DaffCheckoutDriver } from '../../drivers/injection-tokens/driver-checkout.token';\nimport { DaffCheckoutServiceInterface } from '../../drivers/interfaces/checkout-service.interface';\nimport {\n DaffOrderActionTypes,\n DaffPlaceOrderSuccess,\n DaffPlaceOrder,\n DaffPlaceOrderFailure,\n} from '../actions/order.actions';\n\n/**\n * @deprecated\n */\n@Injectable()\nexport class OrderEffects {\n\n constructor(\n private actions$: Actions,\n @Inject(DaffCheckoutDriver) private checkoutDriver: DaffCheckoutServiceInterface,\n ) {}\n\n\n onPlaceOrder$: Observable<any> = createEffect(() => this.actions$.pipe(\n ofType(DaffOrderActionTypes.PlaceOrderAction),\n switchMap((action: DaffPlaceOrder) =>\n this.checkoutDriver.placeOrder(action.payload.id.toString())\n .pipe(\n map((resp) => new DaffPlaceOrderSuccess(resp)),\n catchError(error => of(new DaffPlaceOrderFailure('Failed to place order'))),\n ),\n ),\n ));\n}\n","import { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { StoreModule } from '@ngrx/store';\n\nimport { OrderEffects } from './effects/order.effects';\nimport { daffOrderReducers } from './reducers/order-reducers';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n StoreModule.forFeature('order', daffOrderReducers),\n EffectsModule.forFeature([\n OrderEffects,\n ]),\n ],\n})\nexport class DaffOrderStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { OrderContainer } from './containers/order.component';\nimport { DaffOrderStateModule } from './order-state.module';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n CommonModule,\n /**\n * Ngrx/store\n */\n DaffOrderStateModule,\n ],\n declarations: [\n OrderContainer,\n ],\n exports: [\n OrderContainer,\n ],\n})\nexport class DaffOrderModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderModule } from '../order.module';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n selectErrors,\n} from '../selectors/order.selector';\n\n/**\n * A facade for accessing state for the currently selected category.\n */\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: DaffOrderModule,\n})\nexport class DaffOrderFacade implements DaffStoreFacade<Action> {\n /**\n * The current order.\n */\n order$: Observable<DaffOrder>;\n /**\n * The loading state for the current order.\n */\n loading$: Observable<boolean>;\n /**\n * Any errors involved in loading the order.\n */\n errors$: Observable<string[]>;\n\n constructor(private store: Store<DaffOrderReducersState>) {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n this.errors$ = this.store.pipe(select(selectErrors));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingModule } from './billing/billing.module';\nimport { DaffOrderModule } from './order/order.module';\nimport { DaffPaymentModule } from './payment/payment.module';\nimport { DaffShippingModule } from './shipping/shipping.module';\n\n@NgModule({\n imports: [\n CommonModule,\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n exports: [\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n})\nexport class StateCheckoutModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["DaffUpdatePaymentInfo","initialState","selectPaymentInfo","i2"],"mappings":";;;;;;;;;;AAIY,IAAA,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,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AAA,EAAA,IAAA,EAAA,mBAAmB,EAdrB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,kBAAkB;YAClB,iBAAiB;YACjB,iBAAiB;YACjB,eAAe;AAChB,SAAA,EAEC,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,eAAe,CAAA,EAAA,CAAA,CAAA;2FAGN,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAf/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,kBAAkB;wBAClB,iBAAiB;wBACjB,iBAAiB;wBACjB,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;wBAClB,iBAAiB;wBACjB,iBAAiB;wBACjB,eAAe;AAChB,qBAAA;iBACF,CAAA;;;ACtBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"daffodil-checkout.mjs","sources":["../../../libs/checkout/src/shipping/actions/shipping.actions.ts","../../../libs/checkout/src/shipping/selectors/shipping.selectors.ts","../../../libs/checkout/src/shipping/containers/shipping.component.ts","../../../libs/checkout/src/order/selectors/order.selector.ts","../../../libs/checkout/src/order/containers/order.component.ts","../../../libs/checkout/src/payment/actions/payment.actions.ts","../../../libs/checkout/src/payment/reducers/payment/payment.reducer.ts","../../../libs/checkout/src/payment/reducers/payment-reducers.ts","../../../libs/checkout/src/payment/payment-state.module.ts","../../../libs/checkout/src/payment/payment.module.ts","../../../libs/checkout/src/payment/selectors/payment.selector.ts","../../../libs/checkout/src/payment/facades/payment.facade.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-driver.token.ts","../../../libs/checkout/src/drivers/interfaces/order-service.interface.ts","../../../libs/checkout/src/drivers/injection-tokens/payment-transformer.token.ts","../../../libs/checkout/src/billing/actions/billing.actions.ts","../../../libs/checkout/src/billing/selectors/billing.selector.ts","../../../libs/checkout/src/billing/reducers/billing/billing.reducer.ts","../../../libs/checkout/src/billing/reducers/billing-reducers.ts","../../../libs/checkout/src/billing/billing-state.module.ts","../../../libs/checkout/src/billing/containers/billing.component.ts","../../../libs/checkout/src/billing/billing.module.ts","../../../libs/checkout/src/billing/facades/billing.facade.ts","../../../libs/checkout/src/shipping/reducers/shipping/shipping.reducer.ts","../../../libs/checkout/src/shipping/reducers/shipping-reducers.ts","../../../libs/checkout/src/shipping/shipping-state.module.ts","../../../libs/checkout/src/shipping/shipping.module.ts","../../../libs/checkout/src/shipping/facades/shipping.facade.ts","../../../libs/checkout/src/order/actions/order.actions.ts","../../../libs/checkout/src/order/reducers/order/order.reducer.ts","../../../libs/checkout/src/order/reducers/order-reducers.ts","../../../libs/checkout/src/drivers/injection-tokens/driver-checkout.token.ts","../../../libs/checkout/src/order/effects/order.effects.ts","../../../libs/checkout/src/order/order-state.module.ts","../../../libs/checkout/src/order/order.module.ts","../../../libs/checkout/src/order/facades/order.facade.ts","../../../libs/checkout/src/checkout.module.ts","../../../libs/checkout/src/daffodil-checkout.ts"],"sourcesContent":["import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nexport enum DaffShippingActionTypes {\n UpdateShippingAddressAction = '[Shipping] Update Shipping Address Action',\n SelectShippingOptionAction = '[Shipping] Select Shipping Option Action'\n}\n\nexport class DaffUpdateShippingAddress implements Action {\n readonly type = DaffShippingActionTypes.UpdateShippingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffSelectShippingOption implements Action {\n readonly type = DaffShippingActionTypes.SelectShippingOptionAction;\n\n constructor(public payload: string) {}\n}\n\nexport type DaffShippingActions =\n | DaffUpdateShippingAddress\n | DaffSelectShippingOption;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport { DaffShippingReducerState } from '../reducers/shipping/shipping-reducer.interface';\n\n/**\n * Shipping Feature State\n */\nexport const selectShippingFeatureState: MemoizedSelector<Record<string, any>, DaffShippingReducersState> = createFeatureSelector<DaffShippingReducersState>('shipping');\n\n/**\n * Shipping State\n */\nexport const selectShippingState = createSelector(\n selectShippingFeatureState,\n (state: DaffShippingReducersState) => state.shipping,\n);\n\nexport const selectShippingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.shippingAddress,\n);\n\nexport const selectShippingOptionId: MemoizedSelector<Record<string, any>, string> = createSelector(\n selectShippingState,\n (state: DaffShippingReducerState) => state.selectedShippingOptionId,\n);\n\nexport const selectIsShippingAddressValid: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectShippingAddress,\n (state: DaffAddress) => !!state,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport {\n DaffUpdateShippingAddress,\n DaffSelectShippingOption,\n} from '../actions/shipping.actions';\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\n\n@Component({\n selector: '[shipping-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'ShippingContainer',\n})\nexport class ShippingContainer implements OnInit {\n\n shippingAddress$: Observable<DaffAddress>;\n selectedShippingOptionId$: Observable<string>;\n isShippingAddressValid$: Observable<boolean>;\n isShippingOptionSelected$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffShippingReducersState>,\n ) { }\n\n ngOnInit() {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n updateShippingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateShippingAddress(address));\n }\n\n selectShippingOption(optionId: string) {\n this.store.dispatch(new DaffSelectShippingOption(optionId));\n }\n}\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport { DaffOrderReducerState } from '../reducers/order/order-reducer.interface';\n\n/**\n * Order Feature State\n *\n * @deprecated\n */\nexport const selectOrderFeatureState: MemoizedSelector<Record<string, any>, DaffOrderReducersState> = createFeatureSelector<DaffOrderReducersState>('order');\n\n/**\n * Order State\n *\n * @deprecated\n */\nexport const selectOrderState = createSelector(\n selectOrderFeatureState,\n (state: DaffOrderReducersState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectOrder: MemoizedSelector<Record<string, any>, DaffOrder> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.order,\n);\n\n/**\n * @deprecated\n */\nexport const selectLoading: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.loading,\n);\n\n/**\n * @deprecated\n */\nexport const selectErrors: MemoizedSelector<Record<string, any>, string[]> = createSelector(\n selectOrderState,\n (state: DaffOrderReducerState) => state.errors,\n);\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n} from '../selectors/order.selector';\n\n/**\n * @deprecated\n */\n@Component({\n selector: '[order-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'OrderContainer',\n})\nexport class OrderContainer implements OnInit {\n\n order$: Observable<DaffOrder>;\n loading$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffOrderReducersState>,\n ) { }\n\n ngOnInit() {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffPaymentActionTypes {\n UpdatePaymentInfoAction = '[Payment] Update Payment Info Action'\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffPaymentActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport type DaffPaymentActions =\n | DaffUpdatePaymentInfo;\n","import {\n DaffPaymentActionTypes,\n DaffPaymentActions,\n} from '../../actions/payment.actions';\nimport { DaffPaymentReducerState } from './payment-reducer.interface';\n\nexport const initialState: DaffPaymentReducerState = {\n paymentInfo: null,\n};\n\nexport function daffPaymentReducer(state = initialState, action: DaffPaymentActions): DaffPaymentReducerState {\n switch (action.type) {\n case DaffPaymentActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { DaffPaymentReducersState } from './payment-reducers.interface';\nimport { daffPaymentReducer } from './payment/payment.reducer';\n\nexport const daffPaymentReducers: ActionReducerMap<DaffPaymentReducersState> = {\n payment: daffPaymentReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffPaymentReducers } from './reducers/payment-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('payment', daffPaymentReducers),\n ],\n})\nexport class DaffPaymentStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffPaymentStateModule } from './payment-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffPaymentStateModule,\n ],\n})\nexport class DaffPaymentModule { }\n","import {\n createSelector,\n createFeatureSelector,\n} from '@ngrx/store';\n\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\nimport { DaffPaymentReducerState } from '../reducers/payment/payment-reducer.interface';\n\n/**\n * Payment Feature State\n */\nexport const selectPaymentFeatureState = createFeatureSelector<DaffPaymentReducersState>('payment');\n\n/**\n * Payment State\n */\nexport const selectPaymentState = createSelector(\n selectPaymentFeatureState,\n (state: DaffPaymentReducersState) => state.payment,\n);\n\nexport const selectPaymentInfo = createSelector(\n selectPaymentState,\n (state: DaffPaymentReducerState) => state.paymentInfo,\n);\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffPaymentModule } from '../payment.module';\nimport { DaffPaymentReducersState } from '../reducers/payment-reducers.interface';\nimport { selectPaymentInfo } from '../selectors/payment.selector';\n\n/**\n * A facade for accessing state for customer payment information.\n */\n@Injectable({\n providedIn: DaffPaymentModule,\n})\nexport class DaffPaymentFacade implements DaffStoreFacade<Action> {\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffPaymentReducersState>) {\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentDriver = new InjectionToken('DaffPaymentDriver');\n","import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport { DaffOrder } from '../../models/order/order';\n\nexport const DaffOrderDriver = new InjectionToken<DaffOrderServiceInterface>('DaffOrderDriver');\n\n/**\n * Query order objects accessible by the logged-in user.\n *\n * @deprecated\n */\nexport interface DaffOrderServiceInterface<T extends DaffOrder = DaffOrder> {\n /**\n * Get an order object with the specified order ID.\n */\n get(orderId: T['id']): Observable<T>;\n\n /**\n * List all order objects for the logged-in user.\n */\n list(): Observable<T[]>;\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffPaymentTransformer = new InjectionToken('DaffPaymentTransformer');\n","import { Action } from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\n\nexport enum DaffBillingActionTypes {\n UpdateBillingAddressAction = '[Billing] Update Billing Address Action',\n UpdatePaymentInfoAction = '[Billing] Update Payment Info Action',\n ToggleBillingAddressIsShippingAddressAction = '[Billing] Billing Address Is Shipping Address Action'\n}\n\nexport class DaffUpdateBillingAddress implements Action {\n readonly type = DaffBillingActionTypes.UpdateBillingAddressAction;\n\n constructor(public payload: DaffAddress) {}\n}\n\nexport class DaffUpdatePaymentInfo implements Action {\n readonly type = DaffBillingActionTypes.UpdatePaymentInfoAction;\n\n constructor(public payload: PaymentInfo) {}\n}\n\nexport class DaffToggleBillingAddressIsShippingAddress implements Action {\n readonly type = DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction;\n}\n\nexport type DaffBillingActions =\n | DaffUpdateBillingAddress\n | DaffUpdatePaymentInfo\n | DaffToggleBillingAddressIsShippingAddress;\n","import {\n createSelector,\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport { DaffBillingReducerState } from '../reducers/billing/billing-reducer.interface';\n\n/**\n * Billing Feature State\n */\nexport const selectBillingFeatureState: MemoizedSelector<Record<string, any>, DaffBillingReducersState> = createFeatureSelector<DaffBillingReducersState>('billing');\n\n/**\n * Billing State\n */\nexport const selectBillingState = createSelector(\n selectBillingFeatureState,\n (state: DaffBillingReducersState) => state.billing,\n);\n\nexport const selectBillingAddress: MemoizedSelector<Record<string, any>, DaffAddress> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddress,\n);\n\nexport const selectBillingAddressIsShippingAddress: MemoizedSelector<Record<string, any>, boolean> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.billingAddressIsShippingAddress,\n);\n\nexport const selectPaymentInfo: MemoizedSelector<Record<string, any>, PaymentInfo> = createSelector(\n selectBillingState,\n (state: DaffBillingReducerState) => state.paymentInfo,\n);\n","import {\n DaffBillingActionTypes,\n DaffBillingActions,\n} from '../../actions/billing.actions';\nimport { DaffBillingReducerState } from './billing-reducer.interface';\n\nexport const initialState: DaffBillingReducerState = {\n billingAddress: null,\n billingAddressIsShippingAddress: false,\n paymentInfo: null,\n};\n\nexport function daffBillingReducer(state = initialState, action: DaffBillingActions): DaffBillingReducerState {\n switch (action.type) {\n case DaffBillingActionTypes.UpdateBillingAddressAction:\n return { ...state, billingAddress: action.payload };\n case DaffBillingActionTypes.ToggleBillingAddressIsShippingAddressAction:\n return { ...state, billingAddress: null, billingAddressIsShippingAddress: !state.billingAddressIsShippingAddress };\n case DaffBillingActionTypes.UpdatePaymentInfoAction:\n return { ...state, paymentInfo: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { DaffBillingReducersState } from './billing-reducers.interface';\nimport { daffBillingReducer } from './billing/billing.reducer';\n\nexport const daffBillingReducers: ActionReducerMap<DaffBillingReducersState> = {\n billing: daffBillingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffBillingReducers } from './reducers/billing-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('billing', daffBillingReducers),\n ],\n})\nexport class DaffBillingStateModule { }\n","import {\n Component,\n OnInit,\n} from '@angular/core';\nimport {\n Store,\n select,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport {\n DaffUpdateBillingAddress,\n DaffUpdatePaymentInfo,\n DaffToggleBillingAddressIsShippingAddress,\n} from '../actions/billing.actions';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n@Component({\n selector: '[billing-container]',\n template: '<ng-content></ng-content>',\n exportAs: 'BillingContainer',\n})\nexport class BillingContainer implements OnInit {\n\n billingAddress$: Observable<DaffAddress>;\n billingAddressIsShippingAddress$: Observable<boolean>;\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(\n private store: Store<DaffBillingReducersState>,\n ) { }\n\n ngOnInit() {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n updateBillingAddress(address: DaffAddress) {\n this.store.dispatch(new DaffUpdateBillingAddress(address));\n }\n\n toggleBillingAddressIsShippingAddress() {\n this.store.dispatch(new DaffToggleBillingAddressIsShippingAddress());\n }\n\n updatePaymentInfo(info: PaymentInfo) {\n this.store.dispatch(new DaffUpdatePaymentInfo(info));\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingStateModule } from './billing-state.module';\nimport { BillingContainer } from './containers/billing.component';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffBillingStateModule,\n ],\n declarations: [\n BillingContainer,\n ],\n exports: [\n BillingContainer,\n ],\n})\nexport class DaffBillingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { PaymentInfo } from '../../models/payment/payment-info';\nimport { DaffBillingModule } from '../billing.module';\nimport { DaffBillingReducersState } from '../reducers/billing-reducers.interface';\nimport {\n selectBillingAddress,\n selectBillingAddressIsShippingAddress,\n selectPaymentInfo,\n} from '../selectors/billing.selector';\n\n/**\n * A facade for accessing state for the billing information of a customer\n */\n@Injectable({\n providedIn: DaffBillingModule,\n})\nexport class DaffBillingFacade implements DaffStoreFacade<Action> {\n /**\n * The billing address for a customer.\n */\n billingAddress$: Observable<DaffAddress>;\n /**\n * Whether or not the billing address is the same as the shipping address.\n */\n billingAddressIsShippingAddress$: Observable<boolean>;\n /**\n * The payment information for a customer.\n */\n paymentInfo$: Observable<PaymentInfo>;\n\n constructor(private store: Store<DaffBillingReducersState>) {\n this.billingAddress$ = this.store.pipe(select(selectBillingAddress));\n this.billingAddressIsShippingAddress$ = this.store.pipe(select(selectBillingAddressIsShippingAddress));\n this.paymentInfo$ = this.store.pipe(select(selectPaymentInfo));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import {\n DaffShippingActionTypes,\n DaffShippingActions,\n} from '../../actions/shipping.actions';\nimport { DaffShippingReducerState } from './shipping-reducer.interface';\n\nexport const initialState: DaffShippingReducerState = {\n shippingAddress: null,\n selectedShippingOptionId: null,\n};\n\nexport function daffShippingReducer(state = initialState, action: DaffShippingActions): DaffShippingReducerState {\n switch (action.type) {\n case DaffShippingActionTypes.UpdateShippingAddressAction:\n return { ...state, shippingAddress: action.payload };\n case DaffShippingActionTypes.SelectShippingOptionAction:\n return { ...state, selectedShippingOptionId: action.payload };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { DaffShippingReducersState } from './shipping-reducers.interface';\nimport { daffShippingReducer } from './shipping/shipping.reducer';\n\nexport const daffShippingReducers: ActionReducerMap<DaffShippingReducersState> = {\n shipping: daffShippingReducer,\n};\n","import { NgModule } from '@angular/core';\nimport { StoreModule } from '@ngrx/store';\n\nimport { daffShippingReducers } from './reducers/shipping-reducers';\n\n@NgModule({\n imports: [\n StoreModule.forFeature('shipping', daffShippingReducers),\n ],\n})\nexport class DaffShippingStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { ShippingContainer } from './containers/shipping.component';\nimport { DaffShippingStateModule } from './shipping-state.module';\n\n@NgModule({\n imports: [\n CommonModule,\n\n /**\n * Ngrx/store\n */\n DaffShippingStateModule,\n ],\n declarations: [\n ShippingContainer,\n ],\n exports: [\n ShippingContainer,\n ],\n})\nexport class DaffShippingModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffAddress } from '@daffodil/core';\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffShippingReducersState } from '../reducers/shipping-reducers.interface';\nimport {\n selectShippingAddress,\n selectShippingOptionId,\n selectIsShippingAddressValid,\n} from '../selectors/shipping.selectors';\nimport { DaffShippingModule } from '../shipping.module';\n\n/**\n * A facade for accessing state for shipping information.\n */\n@Injectable({\n providedIn: DaffShippingModule,\n})\nexport class DaffShippingFacade implements DaffStoreFacade<Action> {\n /**\n * The shipping address for the customer.\n */\n shippingAddress$: Observable<DaffAddress>;\n /**\n * The selected shipping option id.\n */\n selectedShippingOptionId$: Observable<string>;\n /**\n * Is the shipping address valid.\n */\n isShippingAddressValid$: Observable<boolean>;\n\n constructor(private store: Store<DaffShippingReducersState>) {\n this.shippingAddress$ = this.store.pipe(select(selectShippingAddress));\n this.selectedShippingOptionId$ = this.store.pipe(select(selectShippingOptionId));\n this.isShippingAddressValid$ = this.store.pipe(select(selectIsShippingAddressValid));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { Action } from '@ngrx/store';\n\nimport { DaffCart } from '@daffodil/cart';\n\nimport { DaffOrder } from '../../models/order/order';\n\n/**\n * @deprecated\n */\nexport enum DaffOrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport enum OrderActionTypes {\n PlaceOrderAction = '[Order] Place Order Action',\n PlaceOrderSuccessAction = '[Order] Place Order Success Action',\n PlaceOrderFailureAction = '[Order] Place Order Failure Action'\n}\n\n/**\n * @deprecated\n */\nexport class PlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrder implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderAction;\n\n constructor(public payload: DaffCart) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderSuccess implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderSuccessAction;\n\n constructor(public payload: DaffOrder) {}\n}\n\n/**\n * @deprecated\n */\nexport class DaffPlaceOrderFailure implements Action {\n readonly type = DaffOrderActionTypes.PlaceOrderFailureAction;\n\n constructor(public payload: string) {}\n}\n\n/**\n * @deprecated\n */\nexport type DaffOrderActions =\n | DaffPlaceOrder\n | PlaceOrder\n | DaffPlaceOrderSuccess\n | DaffPlaceOrderFailure;\n","import {\n DaffOrderActions,\n DaffOrderActionTypes,\n} from '../../actions/order.actions';\nimport { DaffOrderReducerState } from './order-reducer.interface';\n\n/**\n * @deprecated\n */\nexport const initialState: DaffOrderReducerState = {\n order: null,\n loading: false,\n errors: [],\n};\n\n/**\n * @deprecated\n */\nexport function daffOrderReducer(state = initialState, action: DaffOrderActions): DaffOrderReducerState {\n switch (action.type) {\n case DaffOrderActionTypes.PlaceOrderAction:\n return { ...state, loading: true };\n case DaffOrderActionTypes.PlaceOrderSuccessAction:\n return { ...state, order: action.payload, loading: false };\n case DaffOrderActionTypes.PlaceOrderFailureAction:\n return { ...state, errors: [action.payload], loading: false };\n default:\n return state;\n }\n}\n","import { ActionReducerMap } from '@ngrx/store';\n\nimport { DaffOrderReducersState } from './order-reducers.interface';\nimport { daffOrderReducer } from './order/order.reducer';\n\n/**\n * @deprecated\n */\nexport const daffOrderReducers: ActionReducerMap<DaffOrderReducersState> = {\n order: daffOrderReducer,\n};\n","import { InjectionToken } from '@angular/core';\n\nexport const DaffCheckoutDriver = new InjectionToken('DaffCheckoutDriver');\n","import {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Actions,\n createEffect,\n ofType,\n} from '@ngrx/effects';\nimport {\n Observable,\n of,\n} from 'rxjs';\nimport {\n map,\n catchError,\n switchMap,\n tap,\n} from 'rxjs/operators';\n\nimport { DaffCheckoutDriver } from '../../drivers/injection-tokens/driver-checkout.token';\nimport { DaffCheckoutServiceInterface } from '../../drivers/interfaces/checkout-service.interface';\nimport {\n DaffOrderActionTypes,\n DaffPlaceOrderSuccess,\n DaffPlaceOrder,\n DaffPlaceOrderFailure,\n} from '../actions/order.actions';\n\n/**\n * @deprecated\n */\n@Injectable()\nexport class OrderEffects {\n\n constructor(\n private actions$: Actions,\n @Inject(DaffCheckoutDriver) private checkoutDriver: DaffCheckoutServiceInterface,\n ) {}\n\n\n onPlaceOrder$: Observable<any> = createEffect(() => this.actions$.pipe(\n ofType(DaffOrderActionTypes.PlaceOrderAction),\n switchMap((action: DaffPlaceOrder) =>\n this.checkoutDriver.placeOrder(action.payload.id.toString())\n .pipe(\n map((resp) => new DaffPlaceOrderSuccess(resp)),\n catchError(error => of(new DaffPlaceOrderFailure('Failed to place order'))),\n ),\n ),\n ));\n}\n","import { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { StoreModule } from '@ngrx/store';\n\nimport { OrderEffects } from './effects/order.effects';\nimport { daffOrderReducers } from './reducers/order-reducers';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n StoreModule.forFeature('order', daffOrderReducers),\n EffectsModule.forFeature([\n OrderEffects,\n ]),\n ],\n})\nexport class DaffOrderStateModule { }\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { OrderContainer } from './containers/order.component';\nimport { DaffOrderStateModule } from './order-state.module';\n\n/**\n * @deprecated\n */\n@NgModule({\n imports: [\n CommonModule,\n /**\n * Ngrx/store\n */\n DaffOrderStateModule,\n ],\n declarations: [\n OrderContainer,\n ],\n exports: [\n OrderContainer,\n ],\n})\nexport class DaffOrderModule { }\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffStoreFacade } from '@daffodil/core/state';\n\nimport { DaffOrder } from '../../models/order/order';\nimport { DaffOrderModule } from '../order.module';\nimport { DaffOrderReducersState } from '../reducers/order-reducers.interface';\nimport {\n selectOrder,\n selectLoading,\n selectErrors,\n} from '../selectors/order.selector';\n\n/**\n * A facade for accessing state for the currently selected category.\n */\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: DaffOrderModule,\n})\nexport class DaffOrderFacade implements DaffStoreFacade<Action> {\n /**\n * The current order.\n */\n order$: Observable<DaffOrder>;\n /**\n * The loading state for the current order.\n */\n loading$: Observable<boolean>;\n /**\n * Any errors involved in loading the order.\n */\n errors$: Observable<string[]>;\n\n constructor(private store: Store<DaffOrderReducersState>) {\n this.order$ = this.store.pipe(select(selectOrder));\n this.loading$ = this.store.pipe(select(selectLoading));\n this.errors$ = this.store.pipe(select(selectErrors));\n }\n\n /**\n * Dispatches the given action.\n *\n * @param action action to dispatch.\n */\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DaffBillingModule } from './billing/billing.module';\nimport { DaffOrderModule } from './order/order.module';\nimport { DaffPaymentModule } from './payment/payment.module';\nimport { DaffShippingModule } from './shipping/shipping.module';\n\n@NgModule({\n imports: [\n CommonModule,\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n exports: [\n DaffShippingModule,\n DaffPaymentModule,\n DaffBillingModule,\n DaffOrderModule,\n ],\n})\nexport class StateCheckoutModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["DaffUpdatePaymentInfo","initialState","selectPaymentInfo","i2"],"mappings":";;;;;;;;;;AAIY,IAAA,wBAGX;AAHD,CAAA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B;QAClB,iBAAiB;QACjB,iBAAiB;AACjB,QAAA,eAAe,aAGf,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,eAAe,CAAA,EAAA,CAAA,CAAA;AAGN,mBAAA,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAdrB,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,kBAAkB;YAClB,iBAAiB;YACjB,iBAAiB;YACjB,eAAe;AAChB,SAAA,EAEC,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,eAAe,CAAA,EAAA,CAAA,CAAA;2FAGN,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAf/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,kBAAkB;wBAClB,iBAAiB;wBACjB,iBAAiB;wBACjB,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;wBAClB,iBAAiB;wBACjB,iBAAiB;wBACjB,eAAe;AAChB,qBAAA;iBACF,CAAA;;;ACtBD;;AAEG;;;;"}
|
@@ -50,8 +50,8 @@ class DaffOrderAddressFactory extends DaffModelFactory {
|
|
50
50
|
super(MockOrderAddress);
|
51
51
|
}
|
52
52
|
}
|
53
|
-
/** @nocollapse */
|
54
|
-
/** @nocollapse */
|
53
|
+
/** @nocollapse */ DaffOrderAddressFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderAddressFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
54
|
+
/** @nocollapse */ DaffOrderAddressFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderAddressFactory, providedIn: 'root' });
|
55
55
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderAddressFactory, decorators: [{
|
56
56
|
type: Injectable,
|
57
57
|
args: [{
|
@@ -95,8 +95,8 @@ class DaffOrderItemFactory extends DaffModelFactory {
|
|
95
95
|
super(MockOrderItem);
|
96
96
|
}
|
97
97
|
}
|
98
|
-
/** @nocollapse */
|
99
|
-
/** @nocollapse */
|
98
|
+
/** @nocollapse */ DaffOrderItemFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
99
|
+
/** @nocollapse */ DaffOrderItemFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderItemFactory, providedIn: 'root' });
|
100
100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderItemFactory, decorators: [{
|
101
101
|
type: Injectable,
|
102
102
|
args: [{
|
@@ -137,8 +137,8 @@ class DaffOrderPaymentFactory extends DaffModelFactory {
|
|
137
137
|
super(MockOrderPayment);
|
138
138
|
}
|
139
139
|
}
|
140
|
-
/** @nocollapse */
|
141
|
-
/** @nocollapse */
|
140
|
+
/** @nocollapse */ DaffOrderPaymentFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderPaymentFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
141
|
+
/** @nocollapse */ DaffOrderPaymentFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderPaymentFactory, providedIn: 'root' });
|
142
142
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderPaymentFactory, decorators: [{
|
143
143
|
type: Injectable,
|
144
144
|
args: [{
|
@@ -173,8 +173,8 @@ class DaffOrderShippingRateFactory extends DaffModelFactory {
|
|
173
173
|
super(MockOrderShippingRate);
|
174
174
|
}
|
175
175
|
}
|
176
|
-
/** @nocollapse */
|
177
|
-
/** @nocollapse */
|
176
|
+
/** @nocollapse */ DaffOrderShippingRateFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShippingRateFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
177
|
+
/** @nocollapse */ DaffOrderShippingRateFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShippingRateFactory, providedIn: 'root' });
|
178
178
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShippingRateFactory, decorators: [{
|
179
179
|
type: Injectable,
|
180
180
|
args: [{
|
@@ -211,8 +211,8 @@ class DaffOrderFactory extends DaffModelFactory {
|
|
211
211
|
super(MockOrder);
|
212
212
|
}
|
213
213
|
}
|
214
|
-
/** @nocollapse */
|
215
|
-
/** @nocollapse */
|
214
|
+
/** @nocollapse */ DaffOrderFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
215
|
+
/** @nocollapse */ DaffOrderFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderFactory, providedIn: 'root' });
|
216
216
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderFactory, decorators: [{
|
217
217
|
type: Injectable,
|
218
218
|
args: [{
|
@@ -234,8 +234,8 @@ class DaffPaymentFactory extends DaffModelFactory {
|
|
234
234
|
super(MockPaymentInfo);
|
235
235
|
}
|
236
236
|
}
|
237
|
-
/** @nocollapse */
|
238
|
-
/** @nocollapse */
|
237
|
+
/** @nocollapse */ DaffPaymentFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
238
|
+
/** @nocollapse */ DaffPaymentFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentFactory, providedIn: 'root' });
|
239
239
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffPaymentFactory, decorators: [{
|
240
240
|
type: Injectable,
|
241
241
|
args: [{
|
@@ -254,8 +254,8 @@ class DaffShippingOptionFactory extends DaffModelFactory {
|
|
254
254
|
super(MockShippingOption);
|
255
255
|
}
|
256
256
|
}
|
257
|
-
/** @nocollapse */
|
258
|
-
/** @nocollapse */
|
257
|
+
/** @nocollapse */ DaffShippingOptionFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingOptionFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
258
|
+
/** @nocollapse */ DaffShippingOptionFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingOptionFactory, providedIn: 'root' });
|
259
259
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingOptionFactory, decorators: [{
|
260
260
|
type: Injectable,
|
261
261
|
args: [{
|
@@ -279,8 +279,8 @@ class DaffShippingRateFactory extends DaffModelFactory {
|
|
279
279
|
super(MockShippingRate);
|
280
280
|
}
|
281
281
|
}
|
282
|
-
/** @nocollapse */
|
283
|
-
/** @nocollapse */
|
282
|
+
/** @nocollapse */ DaffShippingRateFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingRateFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
283
|
+
/** @nocollapse */ DaffShippingRateFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingRateFactory, providedIn: 'root' });
|
284
284
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffShippingRateFactory, decorators: [{
|
285
285
|
type: Injectable,
|
286
286
|
args: [{
|
@@ -297,8 +297,8 @@ class DaffTestingCheckoutService {
|
|
297
297
|
return of(this.orderFactory.create({ items: this.orderItemFactory.createMany(2) }));
|
298
298
|
}
|
299
299
|
}
|
300
|
-
/** @nocollapse */
|
301
|
-
/** @nocollapse */
|
300
|
+
/** @nocollapse */ DaffTestingCheckoutService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffTestingCheckoutService, deps: [{ token: DaffOrderFactory }, { token: DaffOrderItemFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
301
|
+
/** @nocollapse */ DaffTestingCheckoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffTestingCheckoutService, providedIn: 'root' });
|
302
302
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffTestingCheckoutService, decorators: [{
|
303
303
|
type: Injectable,
|
304
304
|
args: [{
|
@@ -315,8 +315,8 @@ class DaffInMemoryCheckoutService {
|
|
315
315
|
return this.http.post(this.url + '/placeOrder', { cartId });
|
316
316
|
}
|
317
317
|
}
|
318
|
-
/** @nocollapse */
|
319
|
-
/** @nocollapse */
|
318
|
+
/** @nocollapse */ DaffInMemoryCheckoutService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffInMemoryCheckoutService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
319
|
+
/** @nocollapse */ DaffInMemoryCheckoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffInMemoryCheckoutService, providedIn: 'root' });
|
320
320
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffInMemoryCheckoutService, decorators: [{
|
321
321
|
type: Injectable,
|
322
322
|
args: [{
|
@@ -337,9 +337,9 @@ class DaffCheckoutInMemoryDriverModule {
|
|
337
337
|
};
|
338
338
|
}
|
339
339
|
}
|
340
|
-
/** @nocollapse */
|
341
|
-
/** @nocollapse */
|
342
|
-
/** @nocollapse */
|
340
|
+
/** @nocollapse */ DaffCheckoutInMemoryDriverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCheckoutInMemoryDriverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
341
|
+
/** @nocollapse */ DaffCheckoutInMemoryDriverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCheckoutInMemoryDriverModule, imports: [CommonModule] });
|
342
|
+
/** @nocollapse */ DaffCheckoutInMemoryDriverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCheckoutInMemoryDriverModule, imports: [[
|
343
343
|
CommonModule,
|
344
344
|
]] });
|
345
345
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCheckoutInMemoryDriverModule, decorators: [{
|
@@ -364,9 +364,9 @@ class DaffCheckoutTestingDriverModule {
|
|
364
364
|
};
|
365
365
|
}
|
366
366
|
}
|
367
|
-
/** @nocollapse */
|
368
|
-
/** @nocollapse */
|
369
|
-
/** @nocollapse */
|
367
|
+
/** @nocollapse */ DaffCheckoutTestingDriverModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCheckoutTestingDriverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
368
|
+
/** @nocollapse */ DaffCheckoutTestingDriverModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCheckoutTestingDriverModule, imports: [CommonModule] });
|
369
|
+
/** @nocollapse */ DaffCheckoutTestingDriverModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCheckoutTestingDriverModule, imports: [[
|
370
370
|
CommonModule,
|
371
371
|
]] });
|
372
372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCheckoutTestingDriverModule, decorators: [{
|
@@ -410,8 +410,8 @@ class DaffInMemoryBackendCheckoutService {
|
|
410
410
|
});
|
411
411
|
}
|
412
412
|
}
|
413
|
-
/** @nocollapse */
|
414
|
-
/** @nocollapse */
|
413
|
+
/** @nocollapse */ DaffInMemoryBackendCheckoutService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffInMemoryBackendCheckoutService, deps: [{ token: DaffOrderFactory }, { token: DaffOrderItemFactory }, { token: i3.DaffProductImageFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
414
|
+
/** @nocollapse */ DaffInMemoryBackendCheckoutService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffInMemoryBackendCheckoutService, providedIn: 'root' });
|
415
415
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffInMemoryBackendCheckoutService, decorators: [{
|
416
416
|
type: Injectable,
|
417
417
|
args: [{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"daffodil-checkout-testing.mjs","sources":["../../../libs/checkout/testing/src/order/factories/order-address.factory.ts","../../../libs/checkout/testing/src/order/factories/order-item.factory.ts","../../../libs/checkout/testing/src/order/factories/order-payment.factory.ts","../../../libs/checkout/testing/src/order/factories/order-shipping-rate.factory.ts","../../../libs/checkout/testing/src/order/factories/order.factory.ts","../../../libs/checkout/testing/src/payment/factories/payment.factory.ts","../../../libs/checkout/testing/src/shipping/factories/shipping-option.factory.ts","../../../libs/checkout/testing/src/shipping/factories/shipping-rate.factory.ts","../../../libs/checkout/testing/src/drivers/testing/checkout.service.ts","../../../libs/checkout/testing/src/drivers/in-memory/checkout.service.ts","../../../libs/checkout/testing/src/drivers/in-memory/checkout-driver.module.ts","../../../libs/checkout/testing/src/drivers/testing/checkout-driver.module.ts","../../../libs/checkout/testing/src/inmemory-backend/checkout.service.ts","../../../libs/checkout/testing/src/index.ts","../../../libs/checkout/testing/src/daffodil-checkout-testing.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrderAddress } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrderAddress implements DaffOrderAddress {\n address_id = faker.datatype.number({ min: 1, max: 1000 });\n quote_id = faker.datatype.number({ min: 1, max: 1000 });\n created_at = new Date();\n updated_at = new Date();\n customer_id = faker.datatype.number({ min: 1, max: 1000 });\n customer_address_id = faker.datatype.number({ min: 1, max: 1000 });\n address_type = 'apartment';\n email = 'email@email.com';\n prefix = 'prefix';\n firstname = 'first';\n middlename = 'middle';\n lastname = 'last';\n suffix = 'suffix';\n company = 'company';\n street = 'street';\n city = 'city';\n state = 'state';\n region = 'region';\n region_id = faker.datatype.number({ min: 1, max: 1000 });\n postcode = 'postcode';\n country_id = 'ISO';\n telephone = 'telephone';\n fax = 'fax';\n shipping_method = 'swallow';\n shipping_description = 'flight';\n shipping_rate = null;\n}\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderAddressFactory extends DaffModelFactory<DaffOrderAddress> {\n\n constructor(){\n super(MockOrderAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrderItem } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrderItem implements DaffOrderItem {\n item_id = faker.datatype.number({ min: 1, max: 1000 });\n image = null;\n quote_id = faker.datatype.number({ min: 1, max: 1000 });\n created_at = new Date();\n updated_at = new Date();\n product_id = faker.datatype.number({ min: 1, max: 1000 });\n parent_item_id = faker.datatype.number({ min: 1, max: 1000 });\n sku = 'sku';\n name = 'Product Name';\n description = 'description';\n weight = faker.datatype.number({ min: 1, max: 1000 });\n qty = faker.datatype.number({ min:1, max:100 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n discount_percent = faker.datatype.number({ min: 1, max: 10 });\n discount_amount = faker.datatype.number({ min: 1, max: 100 });\n tax_percent = faker.datatype.number({ min: 1, max: 10 });\n tax_amount = faker.datatype.number({ min: 1, max: 10 });\n row_total = faker.datatype.number({ min: 1, max: 1000 });\n row_total_with_discount = faker.datatype.number({ min: 1, max: 1000 });\n row_weight = faker.datatype.number({ min: 1, max: 100 });\n tax_before_discount = faker.datatype.number({ min: 1, max: 100 });\n}\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderItemFactory extends DaffModelFactory<DaffOrderItem> {\n\n constructor(){\n super(MockOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrderPayment } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrderPayment implements DaffOrderPayment {\n id = faker.datatype.number({ min: 1, max: 1000 });\n payment_id = this.id;\n quote_id = faker.datatype.number({ min: 1, max: 1000 });\n created_at = new Date();\n updated_at = new Date();\n method = 'card';\n cc_type = 'visa';\n cc_number_enc = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_last4 = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_cid_enc = faker.datatype.number({ min: 1, max: 1000 }).toString();\n cc_owner = 'owner';\n cc_exp_month = 'month';\n cc_exp_year = 'year';\n cc_ss_owner = 'owner';\n cc_ss_start_month = 'start month';\n cc_ss_start_year = 'start year';\n po_number = 'po';\n cc_ss_issue = 'issue';\n}\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderPaymentFactory extends DaffModelFactory<DaffOrderPayment>{\n constructor(){\n super(MockOrderPayment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrderShippingRate } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrderShippingRate implements DaffOrderShippingRate {\n rate_id = faker.datatype.number({ min: 1, max: 1000 });\n address_id = faker.datatype.number({ min: 1, max: 1000 });\n created_at = new Date();\n updated_at = new Date();\n carrier = 'Birds Inc.';\n carrier_title = 'laden';\n code = 'code';\n method = 'swallow';\n method_description = 'efficient';\n price = faker.datatype.number({ min: 1, max: 1000 });\n error_message = 'error message';\n method_title = 'laden';\n}\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShippingRateFactory extends DaffModelFactory<DaffOrderShippingRate>{\n constructor(){\n super(MockOrderShippingRate);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrder } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrder implements DaffOrder {\n id = faker.datatype.uuid();\n created_at = new Date();\n updated_at = new Date();\n store_to_base_rate = faker.datatype.number({ min: 1, max: 1000 });\n grand_total = faker.datatype.number({ min: 1, max: 1000 });\n checkout_method = 'card';\n customer_id = faker.datatype.number({ min: 1, max: 1000 });\n coupon_code = faker.datatype.number({ min: 1, max: 100000 }).toString();\n subtotal = faker.datatype.number({ min: 1, max: 1000 });\n subtotal_with_discount = faker.datatype.number({ min: 1, max: 1000 });\n items = [];\n addresses = [];\n payment = null;\n};\n\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderFactory extends DaffModelFactory<DaffOrder>{\n constructor(){\n super(MockOrder);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { PaymentInfo } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockPaymentInfo implements PaymentInfo {\n name = 'name';\n cardnumber = 1234123412341234;\n month = 10;\n year = 2021;\n securitycode = 123;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffPaymentFactory extends DaffModelFactory<PaymentInfo> {\n constructor(){\n super(MockPaymentInfo);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { ShippingOption } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n\nexport class MockShippingOption implements ShippingOption {\n id = faker.datatype.uuid();\n text = faker.company.companyName() + ' ' + faker.commerce.productAdjective() + ' Shipping';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffShippingOptionFactory extends DaffModelFactory<ShippingOption>{\n constructor(){\n super(MockShippingOption);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { ShippingRate } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockShippingRate implements ShippingRate {\n rate_id = faker.datatype.number({ min: 1, max: 1000 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n carrier = 'Birds Inc.';\n code = 'code';\n method = 'swallow';\n method_description = 'efficient';\n method_title = 'laden';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffShippingRateFactory extends DaffModelFactory<ShippingRate>{\n constructor(){\n super(MockShippingRate);\n }\n}\n","import { Injectable } from '@angular/core';\nimport {\n Observable,\n of,\n} from 'rxjs';\n\nimport {\n DaffOrder,\n DaffCheckoutServiceInterface,\n} from '@daffodil/checkout';\n\nimport { DaffOrderItemFactory } from '../../order/factories/order-item.factory';\nimport { DaffOrderFactory } from '../../order/factories/order.factory';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffTestingCheckoutService implements DaffCheckoutServiceInterface {\n constructor(\n private orderFactory: DaffOrderFactory,\n private orderItemFactory: DaffOrderItemFactory,\n ) {}\n\n placeOrder(cartId: string): Observable<DaffOrder> {\n return of(this.orderFactory.create({ items: this.orderItemFactory.createMany(2) }));\n }\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport {\n DaffCheckoutServiceInterface,\n DaffOrder,\n} from '@daffodil/checkout';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffInMemoryCheckoutService implements DaffCheckoutServiceInterface {\n url = '/api/checkout';\n\n constructor(private http: HttpClient) {}\n\n placeOrder(cartId: string): Observable<DaffOrder> {\n return this.http.post<DaffOrder>(this.url + '/placeOrder', { cartId });\n }\n}\n","import { CommonModule } from '@angular/common';\nimport {\n NgModule,\n ModuleWithProviders,\n} from '@angular/core';\n\nimport { DaffCheckoutDriver } from '@daffodil/checkout';\n\nimport { DaffInMemoryCheckoutService } from './checkout.service';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n})\nexport class DaffCheckoutInMemoryDriverModule {\n static forRoot(): ModuleWithProviders<DaffCheckoutInMemoryDriverModule> {\n return {\n ngModule: DaffCheckoutInMemoryDriverModule,\n providers: [\n {\n provide: DaffCheckoutDriver,\n useExisting: DaffInMemoryCheckoutService,\n },\n ],\n };\n }\n}\n","import { CommonModule } from '@angular/common';\nimport {\n NgModule,\n ModuleWithProviders,\n} from '@angular/core';\n\nimport { DaffCheckoutDriver } from '@daffodil/checkout';\n\nimport { DaffTestingCheckoutService } from './checkout.service';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n})\nexport class DaffCheckoutTestingDriverModule {\n static forRoot(): ModuleWithProviders<DaffCheckoutTestingDriverModule> {\n return {\n ngModule: DaffCheckoutTestingDriverModule,\n providers: [\n {\n provide: DaffCheckoutDriver,\n useExisting: DaffTestingCheckoutService,\n },\n ],\n };\n }\n}\n","import { Injectable } from '@angular/core';\nimport {\n InMemoryDbService,\n STATUS,\n} from 'angular-in-memory-web-api';\n\nimport { DaffProductImageFactory } from '@daffodil/product/testing';\n\nimport { DaffOrderItemFactory } from '../order/factories/order-item.factory';\nimport { DaffOrderFactory } from '../order/factories/order.factory';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffInMemoryBackendCheckoutService implements InMemoryDbService {\n private order;\n\n constructor(\n private orderFactory: DaffOrderFactory,\n private orderItemFactory: DaffOrderItemFactory,\n private productImageFactory: DaffProductImageFactory,\n ) {}\n\n post(reqInfo: any) {\n return reqInfo.utils.createResponse$(() => {\n if (reqInfo.id === 'placeOrder') {\n //should make a service call to clear cart here.\n // this.driver.cartService.clear(reqInfo.req.body.orderId).subscribe();\n this.populateOrder();\n }\n\n return {\n body: this.order,\n status: STATUS.OK,\n };\n });\n }\n\n createDb() {\n return {\n order: null,\n };\n }\n\n private populateOrder() {\n this.order = this.orderFactory.create({\n items: this.orderItemFactory.createMany(2, {\n image: this.productImageFactory.create(),\n }),\n });\n }\n}\n","// Order\nexport { DaffOrderAddressFactory } from './order/factories/order-address.factory';\nexport { DaffOrderItemFactory } from './order/factories/order-item.factory';\nexport { DaffOrderPaymentFactory } from './order/factories/order-payment.factory';\nexport { DaffOrderShippingRateFactory } from './order/factories/order-shipping-rate.factory';\nexport { DaffOrderFactory } from './order/factories/order.factory';\n\n//Payment\nexport { DaffPaymentFactory } from './payment/factories/payment.factory';\n\n//Shipping\nexport { DaffShippingOptionFactory } from './shipping/factories/shipping-option.factory';\nexport { DaffShippingRateFactory } from './shipping/factories/shipping-rate.factory';\n\n// Drivers\nexport { DaffTestingCheckoutService } from './drivers/testing/checkout.service';\nexport { DaffInMemoryCheckoutService } from './drivers/in-memory/checkout.service';\nexport { DaffCheckoutInMemoryDriverModule } from './drivers/in-memory/checkout-driver.module';\nexport { DaffCheckoutTestingDriverModule } from './drivers/testing/checkout-driver.module';\n\n// inmemory-backend\nexport { DaffInMemoryBackendCheckoutService } from './inmemory-backend/checkout.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.DaffOrderFactory","i2.DaffOrderItemFactory"],"mappings":";;;;;;;;;;;AAMA;;AAEG;MACU,gBAAgB,CAAA;AAA7B,IAAA,WAAA,GAAA;AACE,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;AAC1D,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;AACxD,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,IAAI,EAAE,CAAC;AACxB,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,IAAI,EAAE,CAAC;AACxB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;AAC3D,QAAA,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;QACnE,IAAY,CAAA,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AA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlC,sCAAA,kCAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kCAAkC,cAFjC,MAAM,EAAA,CAAA,CAAA;2FAEP,kCAAkC,EAAA,UAAA,EAAA,CAAA;kBAH9C,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACbD;;ACAA;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"daffodil-checkout-testing.mjs","sources":["../../../libs/checkout/testing/src/order/factories/order-address.factory.ts","../../../libs/checkout/testing/src/order/factories/order-item.factory.ts","../../../libs/checkout/testing/src/order/factories/order-payment.factory.ts","../../../libs/checkout/testing/src/order/factories/order-shipping-rate.factory.ts","../../../libs/checkout/testing/src/order/factories/order.factory.ts","../../../libs/checkout/testing/src/payment/factories/payment.factory.ts","../../../libs/checkout/testing/src/shipping/factories/shipping-option.factory.ts","../../../libs/checkout/testing/src/shipping/factories/shipping-rate.factory.ts","../../../libs/checkout/testing/src/drivers/testing/checkout.service.ts","../../../libs/checkout/testing/src/drivers/in-memory/checkout.service.ts","../../../libs/checkout/testing/src/drivers/in-memory/checkout-driver.module.ts","../../../libs/checkout/testing/src/drivers/testing/checkout-driver.module.ts","../../../libs/checkout/testing/src/inmemory-backend/checkout.service.ts","../../../libs/checkout/testing/src/index.ts","../../../libs/checkout/testing/src/daffodil-checkout-testing.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrderAddress } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrderAddress implements DaffOrderAddress {\n address_id = faker.datatype.number({ min: 1, max: 1000 });\n quote_id = faker.datatype.number({ min: 1, max: 1000 });\n created_at = new Date();\n updated_at = new Date();\n customer_id = faker.datatype.number({ min: 1, max: 1000 });\n customer_address_id = faker.datatype.number({ min: 1, max: 1000 });\n address_type = 'apartment';\n email = 'email@email.com';\n prefix = 'prefix';\n firstname = 'first';\n middlename = 'middle';\n lastname = 'last';\n suffix = 'suffix';\n company = 'company';\n street = 'street';\n city = 'city';\n state = 'state';\n region = 'region';\n region_id = faker.datatype.number({ min: 1, max: 1000 });\n postcode = 'postcode';\n country_id = 'ISO';\n telephone = 'telephone';\n fax = 'fax';\n shipping_method = 'swallow';\n shipping_description = 'flight';\n shipping_rate = null;\n}\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderAddressFactory extends DaffModelFactory<DaffOrderAddress> {\n\n constructor(){\n super(MockOrderAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrderItem } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrderItem implements DaffOrderItem {\n item_id = faker.datatype.number({ min: 1, max: 1000 });\n image = null;\n quote_id = faker.datatype.number({ min: 1, max: 1000 });\n created_at = new Date();\n updated_at = new Date();\n product_id = faker.datatype.number({ min: 1, max: 1000 });\n parent_item_id = faker.datatype.number({ min: 1, max: 1000 });\n sku = 'sku';\n name = 'Product Name';\n description = 'description';\n weight = faker.datatype.number({ min: 1, max: 1000 });\n qty = faker.datatype.number({ min:1, max:100 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n discount_percent = faker.datatype.number({ min: 1, max: 10 });\n discount_amount = faker.datatype.number({ min: 1, max: 100 });\n tax_percent = faker.datatype.number({ min: 1, max: 10 });\n tax_amount = faker.datatype.number({ min: 1, max: 10 });\n row_total = faker.datatype.number({ min: 1, max: 1000 });\n row_total_with_discount = faker.datatype.number({ min: 1, max: 1000 });\n row_weight = faker.datatype.number({ min: 1, max: 100 });\n tax_before_discount = faker.datatype.number({ min: 1, max: 100 });\n}\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderItemFactory extends DaffModelFactory<DaffOrderItem> {\n\n constructor(){\n super(MockOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrderPayment } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrderPayment implements DaffOrderPayment {\n id = faker.datatype.number({ min: 1, max: 1000 });\n payment_id = this.id;\n quote_id = faker.datatype.number({ min: 1, max: 1000 });\n created_at = new Date();\n updated_at = new Date();\n method = 'card';\n cc_type = 'visa';\n cc_number_enc = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_last4 = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_cid_enc = faker.datatype.number({ min: 1, max: 1000 }).toString();\n cc_owner = 'owner';\n cc_exp_month = 'month';\n cc_exp_year = 'year';\n cc_ss_owner = 'owner';\n cc_ss_start_month = 'start month';\n cc_ss_start_year = 'start year';\n po_number = 'po';\n cc_ss_issue = 'issue';\n}\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderPaymentFactory extends DaffModelFactory<DaffOrderPayment>{\n constructor(){\n super(MockOrderPayment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrderShippingRate } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrderShippingRate implements DaffOrderShippingRate {\n rate_id = faker.datatype.number({ min: 1, max: 1000 });\n address_id = faker.datatype.number({ min: 1, max: 1000 });\n created_at = new Date();\n updated_at = new Date();\n carrier = 'Birds Inc.';\n carrier_title = 'laden';\n code = 'code';\n method = 'swallow';\n method_description = 'efficient';\n price = faker.datatype.number({ min: 1, max: 1000 });\n error_message = 'error message';\n method_title = 'laden';\n}\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShippingRateFactory extends DaffModelFactory<DaffOrderShippingRate>{\n constructor(){\n super(MockOrderShippingRate);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffOrder } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n/**\n * @deprecated\n */\nexport class MockOrder implements DaffOrder {\n id = faker.datatype.uuid();\n created_at = new Date();\n updated_at = new Date();\n store_to_base_rate = faker.datatype.number({ min: 1, max: 1000 });\n grand_total = faker.datatype.number({ min: 1, max: 1000 });\n checkout_method = 'card';\n customer_id = faker.datatype.number({ min: 1, max: 1000 });\n coupon_code = faker.datatype.number({ min: 1, max: 100000 }).toString();\n subtotal = faker.datatype.number({ min: 1, max: 1000 });\n subtotal_with_discount = faker.datatype.number({ min: 1, max: 1000 });\n items = [];\n addresses = [];\n payment = null;\n};\n\n\n/**\n * @deprecated\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderFactory extends DaffModelFactory<DaffOrder>{\n constructor(){\n super(MockOrder);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { PaymentInfo } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockPaymentInfo implements PaymentInfo {\n name = 'name';\n cardnumber = 1234123412341234;\n month = 10;\n year = 2021;\n securitycode = 123;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffPaymentFactory extends DaffModelFactory<PaymentInfo> {\n constructor(){\n super(MockPaymentInfo);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { ShippingOption } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\n\nexport class MockShippingOption implements ShippingOption {\n id = faker.datatype.uuid();\n text = faker.company.companyName() + ' ' + faker.commerce.productAdjective() + ' Shipping';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffShippingOptionFactory extends DaffModelFactory<ShippingOption>{\n constructor(){\n super(MockShippingOption);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { ShippingRate } from '@daffodil/checkout';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockShippingRate implements ShippingRate {\n rate_id = faker.datatype.number({ min: 1, max: 1000 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n carrier = 'Birds Inc.';\n code = 'code';\n method = 'swallow';\n method_description = 'efficient';\n method_title = 'laden';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffShippingRateFactory extends DaffModelFactory<ShippingRate>{\n constructor(){\n super(MockShippingRate);\n }\n}\n","import { Injectable } from '@angular/core';\nimport {\n Observable,\n of,\n} from 'rxjs';\n\nimport {\n DaffOrder,\n DaffCheckoutServiceInterface,\n} from '@daffodil/checkout';\n\nimport { DaffOrderItemFactory } from '../../order/factories/order-item.factory';\nimport { DaffOrderFactory } from '../../order/factories/order.factory';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffTestingCheckoutService implements DaffCheckoutServiceInterface {\n constructor(\n private orderFactory: DaffOrderFactory,\n private orderItemFactory: DaffOrderItemFactory,\n ) {}\n\n placeOrder(cartId: string): Observable<DaffOrder> {\n return of(this.orderFactory.create({ items: this.orderItemFactory.createMany(2) }));\n }\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\n\nimport {\n DaffCheckoutServiceInterface,\n DaffOrder,\n} from '@daffodil/checkout';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffInMemoryCheckoutService implements DaffCheckoutServiceInterface {\n url = '/api/checkout';\n\n constructor(private http: HttpClient) {}\n\n placeOrder(cartId: string): Observable<DaffOrder> {\n return this.http.post<DaffOrder>(this.url + '/placeOrder', { cartId });\n }\n}\n","import { CommonModule } from '@angular/common';\nimport {\n NgModule,\n ModuleWithProviders,\n} from '@angular/core';\n\nimport { DaffCheckoutDriver } from '@daffodil/checkout';\n\nimport { DaffInMemoryCheckoutService } from './checkout.service';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n})\nexport class DaffCheckoutInMemoryDriverModule {\n static forRoot(): ModuleWithProviders<DaffCheckoutInMemoryDriverModule> {\n return {\n ngModule: DaffCheckoutInMemoryDriverModule,\n providers: [\n {\n provide: DaffCheckoutDriver,\n useExisting: DaffInMemoryCheckoutService,\n },\n ],\n };\n }\n}\n","import { CommonModule } from '@angular/common';\nimport {\n NgModule,\n ModuleWithProviders,\n} from '@angular/core';\n\nimport { DaffCheckoutDriver } from '@daffodil/checkout';\n\nimport { DaffTestingCheckoutService } from './checkout.service';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n})\nexport class DaffCheckoutTestingDriverModule {\n static forRoot(): ModuleWithProviders<DaffCheckoutTestingDriverModule> {\n return {\n ngModule: DaffCheckoutTestingDriverModule,\n providers: [\n {\n provide: DaffCheckoutDriver,\n useExisting: DaffTestingCheckoutService,\n },\n ],\n };\n }\n}\n","import { Injectable } from '@angular/core';\nimport {\n InMemoryDbService,\n STATUS,\n} from 'angular-in-memory-web-api';\n\nimport { DaffProductImageFactory } from '@daffodil/product/testing';\n\nimport { DaffOrderItemFactory } from '../order/factories/order-item.factory';\nimport { DaffOrderFactory } from '../order/factories/order.factory';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffInMemoryBackendCheckoutService implements InMemoryDbService {\n private order;\n\n constructor(\n private orderFactory: DaffOrderFactory,\n private orderItemFactory: DaffOrderItemFactory,\n private productImageFactory: DaffProductImageFactory,\n ) {}\n\n post(reqInfo: any) {\n return reqInfo.utils.createResponse$(() => {\n if (reqInfo.id === 'placeOrder') {\n //should make a service call to clear cart here.\n // this.driver.cartService.clear(reqInfo.req.body.orderId).subscribe();\n this.populateOrder();\n }\n\n return {\n body: this.order,\n status: STATUS.OK,\n };\n });\n }\n\n createDb() {\n return {\n order: null,\n };\n }\n\n private populateOrder() {\n this.order = this.orderFactory.create({\n items: this.orderItemFactory.createMany(2, {\n image: this.productImageFactory.create(),\n }),\n });\n }\n}\n","// Order\nexport { DaffOrderAddressFactory } from './order/factories/order-address.factory';\nexport { DaffOrderItemFactory } from './order/factories/order-item.factory';\nexport { DaffOrderPaymentFactory } from './order/factories/order-payment.factory';\nexport { DaffOrderShippingRateFactory } from './order/factories/order-shipping-rate.factory';\nexport { DaffOrderFactory } from './order/factories/order.factory';\n\n//Payment\nexport { DaffPaymentFactory } from './payment/factories/payment.factory';\n\n//Shipping\nexport { DaffShippingOptionFactory } from './shipping/factories/shipping-option.factory';\nexport { DaffShippingRateFactory } from './shipping/factories/shipping-rate.factory';\n\n// Drivers\nexport { DaffTestingCheckoutService } from './drivers/testing/checkout.service';\nexport { DaffInMemoryCheckoutService } from './drivers/in-memory/checkout.service';\nexport { DaffCheckoutInMemoryDriverModule } from './drivers/in-memory/checkout-driver.module';\nexport { DaffCheckoutTestingDriverModule } from './drivers/testing/checkout-driver.module';\n\n// inmemory-backend\nexport { DaffInMemoryBackendCheckoutService } from './inmemory-backend/checkout.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.DaffOrderFactory","i2.DaffOrderItemFactory"],"mappings":";;;;;;;;;;;AAMA;;AAEG;MACU,gBAAgB,CAAA;AAA7B,IAAA,WAAA,GAAA;AACE,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;AAC1D,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,C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