@daffodil/customer 0.53.1 → 0.56.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/driver/magento/transforms/responses/customer-address.mjs +2 -1
- package/esm2020/state/facades/address/facade.mjs +1 -1
- package/esm2020/state/facades/customer/facade.mjs +1 -1
- package/esm2020/state/reducers/address/reducer.mjs +4 -4
- package/fesm2015/daffodil-customer-driver-magento.mjs +1 -0
- package/fesm2015/daffodil-customer-driver-magento.mjs.map +1 -1
- package/fesm2015/daffodil-customer-state.mjs +3 -3
- package/fesm2015/daffodil-customer-state.mjs.map +1 -1
- package/fesm2020/daffodil-customer-driver-magento.mjs +1 -0
- package/fesm2020/daffodil-customer-driver-magento.mjs.map +1 -1
- package/fesm2020/daffodil-customer-state.mjs +3 -3
- package/fesm2020/daffodil-customer-state.mjs.map +1 -1
- package/package.json +4 -4
- package/state/facades/address/facade.d.ts +2 -2
- package/state/facades/customer/facade.d.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daffodil-customer-state.mjs","sources":["../../../libs/customer/state/src/actions/address.actions.ts","../../../libs/customer/state/src/actions/customer.actions.ts","../../../libs/customer/state/src/reducers/store-feature-key.ts","../../../libs/customer/state/src/reducers/token/extra.token.ts","../../../libs/customer/state/src/reducers/customer/adapter.ts","../../../libs/customer/state/src/reducers/customer/initial-state.ts","../../../libs/customer/state/src/reducers/customer/reducer.ts","../../../libs/customer/state/src/reducers/address/initial-state.ts","../../../libs/customer/state/src/reducers/address/reducer.ts","../../../libs/customer/state/src/reducers/address-entities/adapter.ts","../../../libs/customer/state/src/reducers/address-entities/reducer.ts","../../../libs/customer/state/src/selectors/feature.selector.ts","../../../libs/customer/state/src/selectors/customer/selector.ts","../../../libs/customer/state/src/selectors/address/selector.ts","../../../libs/customer/state/src/facades/customer/facade.ts","../../../libs/customer/state/src/facades/address/facade.ts","../../../libs/customer/state/src/effects/address.effects.ts","../../../libs/customer/state/src/effects/customer.effects.ts","../../../libs/customer/state/src/reducers/token/reducers.token.ts","../../../libs/customer/state/src/customer.module.ts","../../../libs/customer/state/src/daffodil-customer-state.ts"],"sourcesContent":["import { Action } from '@ngrx/store';\n\nimport { DaffIdentifiable } from '@daffodil/core';\nimport { DaffStateError } from '@daffodil/core/state';\nimport {\n DaffCustomer,\n DaffCustomerAddress,\n} from '@daffodil/customer';\n\n/**\n * The customer address action types enum.\n */\nexport enum DaffCustomerAddressActionTypes {\n AddressListAction = '[@daffodil/customer] Address List Action',\n AddressListSuccessAction = '[@daffodil/customer] Address List Success Action',\n AddressListFailureAction = '[@daffodil/customer] Address List Failure Action',\n AddressLoadAction = '[@daffodil/customer] Address Load Action',\n AddressLoadSuccessAction = '[@daffodil/customer] Address Load Success Action',\n AddressLoadFailureAction = '[@daffodil/customer] Address Load Failure Action',\n AddressAddAction = '[@daffodil/customer] Address Add Action',\n AddressAddSuccessAction = '[@daffodil/customer] Address Add Success Action',\n AddressAddFailureAction = '[@daffodil/customer] Address Add Failure Action',\n AddressUpdateAction = '[@daffodil/customer] Address Update Action',\n AddressUpdateSuccessAction = '[@daffodil/customer] Address Update Success Action',\n AddressUpdateFailureAction = '[@daffodil/customer] Address Update Failure Action',\n AddressDeleteAction = '[@daffodil/customer] Address Delete Action',\n AddressDeleteSuccessAction = '[@daffodil/customer] Address Delete Success Action',\n AddressDeleteFailureAction = '[@daffodil/customer] Address Delete Failure Action',\n}\n\n/**\n * Lists the addresses of the current customer.\n *\n * @param addressId The ID of the address.\n */\nexport class DaffCustomerAddressList implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressListAction;\n\n constructor() {}\n}\n\n/**\n * Indicates a successful listing of customer addresses.\n */\nexport class DaffCustomerAddressListSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressListSuccessAction;\n\n constructor(public payload: T[]) {}\n}\n\n/**\n * A failed customer address list with the error message.\n */\nexport class DaffCustomerAddressListFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressListFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * Loads an address of the current customer.\n *\n * @param addressId The ID of the address.\n */\nexport class DaffCustomerAddressLoad implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressLoadAction;\n\n constructor(public addressId: DaffCustomerAddress['id']) {}\n}\n\n/**\n * Indicates a successful load of a customer address.\n */\nexport class DaffCustomerAddressLoadSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressLoadSuccessAction;\n\n constructor(public payload: T) {}\n}\n\n/**\n * A failed customer address load with the error message.\n */\nexport class DaffCustomerAddressLoadFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressLoadFailureAction;\n\n constructor(public payload: DaffStateError, public id: DaffCustomer['id']) {}\n}\n\n/**\n * Updates one of the currently logged-in customer's addresses.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerAddressUpdate<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressUpdateAction;\n\n constructor(public address: Partial<T> & DaffIdentifiable) {}\n}\n\n/**\n * Indicates a successful update of one of the currently logged-in customer's addresses.\n */\nexport class DaffCustomerAddressUpdateSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressUpdateSuccessAction;\n\n constructor(public payload: T[]) {}\n}\n\n/**\n * A failed address update with the error message.\n */\nexport class DaffCustomerAddressUpdateFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressUpdateFailureAction;\n\n constructor(public payload: DaffStateError, public id: DaffCustomer['id']) {}\n}\n\n/**\n * Adds one of the currently logged-in customer's addresses.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerAddressAdd<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressAddAction;\n\n constructor(public address: T, public placeholderId?: string) {}\n}\n\n/**\n * Indicates a successful addition of one of the currently logged-in customer's addresses.\n *\n * @param payload The updated list of customer addresses.\n */\nexport class DaffCustomerAddressAddSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressAddSuccessAction;\n\n constructor(public payload: T[]) {}\n}\n\n/**\n * A failed address addition with the error message.\n */\nexport class DaffCustomerAddressAddFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressAddFailureAction;\n\n constructor(public payload: DaffStateError, public id: DaffCustomer['id']) {}\n}\n\n/**\n * Deletes one of the currently logged-in customer's addresses.\n *\n * @param addressId The ID of the address.\n */\nexport class DaffCustomerAddressDelete implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressDeleteAction;\n\n constructor(public addressId: DaffCustomerAddress['id']) {}\n}\n\n/**\n * Indicates a successful deletion of one of the currently logged-in customer's addresses.\n *\n * @param payload The updated list of customer addresses.\n */\nexport class DaffCustomerAddressDeleteSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressDeleteSuccessAction;\n\n constructor(public payload: T[]) {}\n}\n\n/**\n * A failed address deletion with the error message.\n */\nexport class DaffCustomerAddressDeleteFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressDeleteFailureAction;\n\n constructor(public payload: DaffStateError, public id: DaffCustomer['id']) {}\n}\n\n/**\n * A union of the customer action types.\n */\nexport type DaffCustomerAddressActions<\n T extends DaffCustomerAddress = DaffCustomerAddress,\n> =\n | DaffCustomerAddressList\n | DaffCustomerAddressListSuccess<T>\n | DaffCustomerAddressListFailure\n | DaffCustomerAddressLoad\n | DaffCustomerAddressLoadSuccess<T>\n | DaffCustomerAddressLoadFailure\n | DaffCustomerAddressUpdate<T>\n | DaffCustomerAddressUpdateSuccess<T>\n | DaffCustomerAddressUpdateFailure\n | DaffCustomerAddressAdd<T>\n | DaffCustomerAddressAddSuccess<T>\n | DaffCustomerAddressAddFailure\n | DaffCustomerAddressDelete\n | DaffCustomerAddressDeleteSuccess\n | DaffCustomerAddressDeleteFailure;\n","import { Action } from '@ngrx/store';\n\nimport { DaffStateError } from '@daffodil/core/state';\nimport { DaffCustomer } from '@daffodil/customer';\n\n/**\n * The customer action types enum.\n */\nexport enum DaffCustomerActionTypes {\n CustomerLoadAction = '[@daffodil/customer] Customer Load Action',\n CustomerLoadSuccessAction = '[@daffodil/customer] Customer Load Success Action',\n CustomerLoadFailureAction = '[@daffodil/customer] Customer Load Failure Action',\n CustomerUpdateAction = '[@daffodil/customer] Customer Update Action',\n CustomerUpdateSuccessAction = '[@daffodil/customer] Customer Update Success Action',\n CustomerUpdateFailureAction = '[@daffodil/customer] Customer Update Failure Action',\n CustomerChangeEmailAction = '[@daffodil/customer] Customer Change Email Action',\n CustomerChangeEmailSuccessAction = '[@daffodil/customer] Customer Change Email Success Action',\n CustomerChangeEmailFailureAction = '[@daffodil/customer] Customer Change Email Failure Action',\n CustomerChangePasswordAction = '[@daffodil/customer] Customer Change Password Action',\n CustomerChangePasswordSuccessAction = '[@daffodil/customer] Customer Change Password Success Action',\n CustomerChangePasswordFailureAction = '[@daffodil/customer] Customer Change Password Failure Action',\n CustomerClearErrorsAction = '[@daffodil/customer] Customer Clear Errors Action',\n\n}\n\n/**\n * Loads the currently logged-in customer.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerLoad implements Action {\n readonly type = DaffCustomerActionTypes.CustomerLoadAction;\n}\n\n/**\n * Indicates a successful load of the currently logged-in customer.\n */\nexport class DaffCustomerLoadSuccess<T extends DaffCustomer = DaffCustomer> implements Action {\n readonly type = DaffCustomerActionTypes.CustomerLoadSuccessAction;\n\n constructor(public payload: T) {}\n}\n\n/**\n * A failed customer load with the error message.\n */\nexport class DaffCustomerLoadFailure implements Action {\n readonly type = DaffCustomerActionTypes.CustomerLoadFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * Updates the currently logged-in customer.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerUpdate<T extends DaffCustomer = DaffCustomer> implements Action {\n readonly type = DaffCustomerActionTypes.CustomerUpdateAction;\n\n constructor(public customer: Partial<T>) {}\n}\n\n/**\n * Indicates a successful update of the currently logged-in customer.\n */\nexport class DaffCustomerUpdateSuccess<T extends DaffCustomer = DaffCustomer> implements Action {\n readonly type = DaffCustomerActionTypes.CustomerUpdateSuccessAction;\n\n constructor(public payload: T) {}\n}\n\n/**\n * A failed customer update with the error message.\n */\nexport class DaffCustomerUpdateFailure implements Action {\n readonly type = DaffCustomerActionTypes.CustomerUpdateFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * Changes the email of the currently logged-in customer.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerChangeEmail implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangeEmailAction;\n\n constructor(public email: string, public password: string) {}\n}\n\n/**\n * Indicates a successful email change of the currently logged-in customer.\n */\nexport class DaffCustomerChangeEmailSuccess<T extends DaffCustomer = DaffCustomer> implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangeEmailSuccessAction;\n\n constructor(public payload: T) {}\n}\n\n/**\n * A failed customer email change with the error message.\n */\nexport class DaffCustomerChangeEmailFailure implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangeEmailFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * Changes the password of the currently logged-in customer.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerChangePassword implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangePasswordAction;\n\n constructor(public newPassword: string, public oldPassword: string) {}\n}\n\n/**\n * Indicates a successful password change of the currently logged-in customer.\n */\nexport class DaffCustomerChangePasswordSuccess implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangePasswordSuccessAction;\n}\n\n/**\n * A failed customer password change with the error message.\n */\nexport class DaffCustomerChangePasswordFailure implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangePasswordFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * An action to clear all customer errors in state.\n */\nexport class DaffCustomerClearErrors implements Action {\n readonly type = DaffCustomerActionTypes.CustomerClearErrorsAction;\n}\n\n/**\n * A union of the customer action types.\n */\nexport type DaffCustomerActions<\n T extends DaffCustomer = DaffCustomer,\n> =\n | DaffCustomerLoad\n | DaffCustomerLoadSuccess<T>\n | DaffCustomerLoadFailure\n | DaffCustomerUpdate\n | DaffCustomerUpdateSuccess<T>\n | DaffCustomerUpdateFailure\n | DaffCustomerChangeEmail\n | DaffCustomerChangeEmailSuccess<T>\n | DaffCustomerChangeEmailFailure\n | DaffCustomerChangePassword\n | DaffCustomerChangePasswordSuccess\n | DaffCustomerChangePasswordFailure\n | DaffCustomerClearErrors;\n","/**\n * The key under which the customer feature state will be stored.\n */\nexport const DAFF_CUSTOMER_STORE_FEATURE_KEY = 'daffCustomer';\n","import {\n InjectionToken,\n Provider,\n} from '@angular/core';\nimport { ActionReducer } from '@ngrx/store';\n\nimport { DaffCustomerReducersState } from '../reducers.interface';\n\n/**\n * A token to hold the injectable extra reducers.\n *\n * Prefer using {@link daffCustomerProvideExtraReducers}.\n */\nexport const DAFF_CUSTOMER_EXTRA_REDUCERS = new InjectionToken<ActionReducer<DaffCustomerReducersState>[]>(\n 'DAFF_CUSTOMER_EXTRA_REDUCERS',\n {\n factory: () => [],\n providedIn: 'any',\n },\n);\n\n/**\n * Provides additional reducers that run after the standard Daffodil customer reducers.\n *\n * ```ts\n * providers: [\n * ...daffCustomerProvideExtraReducers(\n * myReducer1,\n * myReducer2\n * )\n * ]\n * ```\n */\nexport function daffCustomerProvideExtraReducers(\n ...reducers: ActionReducer<DaffCustomerReducersState>[]\n): Provider[] {\n return reducers.map(reducer => ({\n provide: DAFF_CUSTOMER_EXTRA_REDUCERS,\n useValue: reducer,\n multi: true,\n }));\n}\n","import { daffCompleteOperation } from '@daffodil/core/state';\nimport {\n DaffCustomer,\n DaffCustomerAddress,\n} from '@daffodil/customer';\n\nimport { DaffCustomerReducerState } from './interface';\n\n/**\n * Stores the customer in state.\n * Sets loading to false and resets errors.\n */\nexport function daffCustomerStateStoreCustomer<T extends DaffCustomer = DaffCustomer>(customer: T, state: DaffCustomerReducerState<T>): DaffCustomerReducerState<T> {\n return {\n ...state,\n ...daffCompleteOperation(state),\n customer,\n };\n}\n\n/**\n * Stores customer addresses.\n * Sets loading to false and resets errors.\n */\nexport function daffCustomerStateStoreAddresses<T extends DaffCustomer = DaffCustomer>(addresses: T[], state: DaffCustomerReducerState<T>): DaffCustomerReducerState<T> {\n return {\n ...state,\n ...daffCompleteOperation(state),\n customer: {\n ...state.customer,\n addresses,\n },\n };\n}\n","import { daffOperationInitialState } from '@daffodil/core/state';\n\nimport { DaffCustomerReducerState } from './interface';\n\n/**\n * The initial state for the main customer state, see {@link DaffCustomerReducerState}.\n */\nexport const daffCustomerInitialState: DaffCustomerReducerState<any> = {\n ...daffOperationInitialState,\n customer: null,\n};\n","import {\n daffClearErrors,\n daffCompleteOperation,\n daffOperationFailed,\n daffStartMutation,\n daffStartResolution,\n} from '@daffodil/core/state';\nimport { DaffCustomer } from '@daffodil/customer';\n\nimport {\n DaffCustomerActions,\n DaffCustomerActionTypes,\n DaffCustomerAddressActions,\n DaffCustomerAddressActionTypes,\n DaffCustomerLoadFailure,\n DaffCustomerLoadSuccess,\n} from '../../actions/public_api';\nimport {\n daffCustomerStateStoreAddresses,\n daffCustomerStateStoreCustomer,\n} from './adapter';\nimport { daffCustomerInitialState } from './initial-state';\nimport { DaffCustomerReducerState } from './interface';\n\n/**\n * The reducer for the customer page state, see {@link DaffCustomerReducerState}.\n */\nexport const daffCustomerReducer = <T extends DaffCustomer = DaffCustomer>(\n state = daffCustomerInitialState,\n action: DaffCustomerActions<T> | DaffCustomerAddressActions,\n): DaffCustomerReducerState<T> => {\n switch (action.type) {\n case DaffCustomerActionTypes.CustomerLoadAction:\n return daffStartResolution(state);\n\n case DaffCustomerActionTypes.CustomerUpdateAction:\n case DaffCustomerActionTypes.CustomerChangeEmailAction:\n case DaffCustomerActionTypes.CustomerChangePasswordAction:\n return daffStartMutation(state);\n\n case DaffCustomerActionTypes.CustomerLoadSuccessAction:\n case DaffCustomerActionTypes.CustomerUpdateSuccessAction:\n case DaffCustomerActionTypes.CustomerChangeEmailSuccessAction:\n return daffCustomerStateStoreCustomer((<DaffCustomerLoadSuccess<T>>action).payload, state);\n\n case DaffCustomerActionTypes.CustomerChangePasswordSuccessAction:\n return daffCompleteOperation(state);\n\n case DaffCustomerActionTypes.CustomerLoadFailureAction:\n case DaffCustomerActionTypes.CustomerUpdateFailureAction:\n case DaffCustomerActionTypes.CustomerChangeEmailFailureAction:\n case DaffCustomerActionTypes.CustomerChangePasswordFailureAction:\n return daffOperationFailed([(<DaffCustomerLoadFailure>action).payload], state);\n\n case DaffCustomerActionTypes.CustomerClearErrorsAction:\n return daffClearErrors(state);\n\n case DaffCustomerAddressActionTypes.AddressDeleteSuccessAction:\n case DaffCustomerAddressActionTypes.AddressAddSuccessAction:\n return daffCustomerStateStoreAddresses(action.payload, state);\n\n default:\n return state;\n }\n};\n","import { daffOperationInitialState } from '@daffodil/core/state';\n\nimport { DaffCustomerAddressReducerState } from './type';\n\n/**\n * The initial state for the main customer state, see {@link DaffCustomerAddressReducerState}.\n */\nexport const daffCustomerAddressInitialState: DaffCustomerAddressReducerState = daffOperationInitialState;\n","import {\n daffCompleteOperation,\n daffOperationFailed,\n daffStartMutation,\n daffStartResolution,\n} from '@daffodil/core/state';\nimport { DaffCustomerAddress } from '@daffodil/customer';\n\nimport {\n DaffCustomerAddressActions,\n DaffCustomerAddressActionTypes,\n DaffCustomerAddressLoadFailure,\n} from '../../actions/address.actions';\nimport { daffCustomerAddressInitialState } from './initial-state';\nimport { DaffCustomerAddressReducerState } from './type';\n\n/**\n * The reducer for the customer page state, see {@link DaffCustomerAddressReducerState}.\n */\nexport const daffCustomerAddressReducer = <T extends DaffCustomerAddress = DaffCustomerAddress>(\n state = daffCustomerAddressInitialState,\n action: DaffCustomerAddressActions<T>,\n): DaffCustomerAddressReducerState => {\n switch (true) {\n case action.type === DaffCustomerAddressActionTypes.AddressListAction:\n case action.type === DaffCustomerAddressActionTypes.AddressLoadAction:\n return daffStartResolution(state);\n\n case action.type === DaffCustomerAddressActionTypes.AddressUpdateAction:\n case action.type === DaffCustomerAddressActionTypes.AddressAddAction:\n case action.type === DaffCustomerAddressActionTypes.AddressDeleteAction:\n return daffStartMutation(state);\n\n case action.type === DaffCustomerAddressActionTypes.AddressListSuccessAction:\n case action.type === DaffCustomerAddressActionTypes.AddressLoadSuccessAction:\n case action.type === DaffCustomerAddressActionTypes.AddressUpdateSuccessAction:\n case action.type === DaffCustomerAddressActionTypes.AddressAddSuccessAction:\n case action.type === DaffCustomerAddressActionTypes.AddressDeleteSuccessAction:\n return daffCompleteOperation(state);\n\n case action.type === DaffCustomerAddressActionTypes.AddressListFailureAction:\n case action.type === DaffCustomerAddressActionTypes.AddressLoadFailureAction:\n case action.type === DaffCustomerAddressActionTypes.AddressUpdateFailureAction:\n case action.type === DaffCustomerAddressActionTypes.AddressAddFailureAction:\n case action.type === DaffCustomerAddressActionTypes.AddressDeleteFailureAction:\n return daffOperationFailed([(<DaffCustomerAddressLoadFailure>action).payload], state);\n\n default:\n return state;\n }\n};\n","import { createEntityAdapter } from '@ngrx/entity';\n\nimport {\n DaffOperationEntity,\n daffCreateOperationEntityStateAdapter,\n DaffOperationEntityStateAdapter,\n} from '@daffodil/core/state';\nimport { DaffCustomerAddress } from '@daffodil/customer';\n\n/**\n * Customer Address Entities Adapter for changing/overwriting entity state.\n */\nexport const daffCustomerAddressEntitiesAdapter = (() => {\n let cache;\n return <T extends DaffCustomerAddress = DaffCustomerAddress>(): DaffOperationEntityStateAdapter<T> =>\n cache = cache || daffCreateOperationEntityStateAdapter(createEntityAdapter<DaffOperationEntity<T>>({ selectId: item => item.id }));\n})();\n","import { DaffOperationEntityState } from '@daffodil/core/state';\nimport { DaffCustomerAddress } from '@daffodil/customer';\n\nimport {\n DaffCustomerAddressActions,\n DaffCustomerAddressActionTypes,\n} from '../../actions/address.actions';\nimport {\n DaffCustomerActions,\n DaffCustomerActionTypes,\n} from '../../actions/customer.actions';\nimport { daffCustomerAddressEntitiesAdapter } from './adapter';\n\n\n/**\n * Reducer function that catches actions and changes/overwrites product entities state.\n *\n * @param state current State of the redux store\n * @param action CartItemGrid, BestSellers, or CartItem actions\n * @returns CartItem entities state\n */\nexport function daffCustomerAddressEntitiesReducer<\n T extends DaffCustomerAddress = DaffCustomerAddress,\n>(\n state = daffCustomerAddressEntitiesAdapter<T>().getInitialState(),\n action: DaffCustomerAddressActions<T> | DaffCustomerActions): DaffOperationEntityState<T> {\n const adapter = daffCustomerAddressEntitiesAdapter<T>();\n switch (action.type) {\n case DaffCustomerAddressActionTypes.AddressLoadAction:\n return adapter.preload(\n action.addressId,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressAddAction:\n return adapter.preadd(\n action.address,\n state,\n action.placeholderId,\n );\n\n case DaffCustomerAddressActionTypes.AddressDeleteAction:\n return adapter.preremove(\n action.addressId,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressUpdateAction:\n return adapter.preupdate(\n action.address,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressLoadSuccessAction:\n return adapter.load(\n action.payload,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressListSuccessAction:\n return adapter.list(\n action.payload,\n state,\n );\n\n case DaffCustomerActionTypes.CustomerChangeEmailSuccessAction:\n case DaffCustomerActionTypes.CustomerUpdateSuccessAction:\n case DaffCustomerActionTypes.CustomerLoadSuccessAction:\n return adapter.list(\n <T[]>action.payload.addresses,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressUpdateSuccessAction:\n case DaffCustomerAddressActionTypes.AddressDeleteSuccessAction:\n case DaffCustomerAddressActionTypes.AddressAddSuccessAction:\n return adapter.list(\n <T[]>action.payload,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressDeleteFailureAction:\n case DaffCustomerAddressActionTypes.AddressAddFailureAction:\n case DaffCustomerAddressActionTypes.AddressLoadFailureAction:\n case DaffCustomerAddressActionTypes.AddressUpdateFailureAction:\n return adapter.operationFailed(\n action.id,\n [action.payload],\n state,\n );\n\n default:\n return state;\n }\n}\n","import {\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport {\n DaffCustomer,\n DaffCustomerAddress,\n} from '@daffodil/customer';\n\nimport {\n DaffCustomerStateRootSlice,\n DaffCustomerReducersState,\n DAFF_CUSTOMER_STORE_FEATURE_KEY,\n} from '../reducers/public_api';\n\n/**\n * Selector for the customer feature state.\n */\nexport interface DaffCustomerFeatureSelector<\n TCustomer extends DaffCustomer = DaffCustomer,\n TAddress extends DaffCustomerAddress = DaffCustomerAddress\n> {\n selectCustomerFeatureState: MemoizedSelector<DaffCustomerStateRootSlice<TCustomer, TAddress>, DaffCustomerReducersState<TCustomer, TAddress>>;\n}\n\nexport const getDaffCustomerReducersStateSelector = (() => {\n let cache;\n return <TCustomer extends DaffCustomer = DaffCustomer, TAddress extends DaffCustomerAddress = DaffCustomerAddress>(): DaffCustomerFeatureSelector<TCustomer, TAddress> =>\n cache = cache || {\n selectCustomerFeatureState: createFeatureSelector<DaffCustomerReducersState<TCustomer, TAddress>>(DAFF_CUSTOMER_STORE_FEATURE_KEY),\n };\n})();\n","import {\n createSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport {\n daffOperationStateSelectorFactory,\n DaffOperationStateSelectors,\n} from '@daffodil/core/state';\nimport { DaffCustomer } from '@daffodil/customer';\n\nimport {\n DaffCustomerReducerState,\n DaffCustomerStateRootSlice,\n} from '../../reducers/public_api';\nimport { getDaffCustomerReducersStateSelector } from '../feature.selector';\n\n/**\n * Selectors for the main part of customer state.\n */\nexport interface DaffCustomerSelectors<T extends DaffCustomer = DaffCustomer> extends DaffOperationStateSelectors<DaffCustomerStateRootSlice<T>, DaffCustomerReducerState<T>> {\n /**\n * Selects the customer.\n */\n selectCustomer: MemoizedSelector<DaffCustomerStateRootSlice<T>, T>;\n}\n\n/**\n * Creates a group of selectors for {@link DaffCustomerReducerState} that use the passed state selector as the basis.\n */\nconst daffCustomerCreateSelectors = <T extends DaffCustomer = DaffCustomer>(): DaffCustomerSelectors<T> => {\n const { selectCustomerFeatureState } = getDaffCustomerReducersStateSelector<T>();\n const selectCustomerState = createSelector(\n selectCustomerFeatureState,\n state => state.customer,\n );\n\n const selectCustomer = createSelector(\n selectCustomerState,\n state => state.customer,\n );\n\n return {\n ...daffOperationStateSelectorFactory(selectCustomerState),\n selectCustomer,\n };\n};\n\n\nexport const daffCustomerGetSelectors = (() => {\n let cache;\n return <T extends DaffCustomer = DaffCustomer>(): DaffCustomerSelectors<T> =>\n cache = cache || daffCustomerCreateSelectors<T>();\n})();\n\n","import { Dictionary } from '@ngrx/entity';\nimport {\n createSelector,\n defaultMemoize,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport {\n daffOperationStateSelectorFactory,\n DaffOperationStateSelectors,\n} from '@daffodil/core/state';\nimport {\n DaffCustomer,\n DaffCustomerAddress,\n} from '@daffodil/customer';\n\nimport {\n daffCustomerAddressEntitiesAdapter,\n DaffCustomerAddressReducerState,\n DaffCustomerStateRootSlice,\n} from '../../reducers/public_api';\nimport { daffCustomerGetSelectors } from '../customer/selector';\nimport { getDaffCustomerReducersStateSelector } from '../feature.selector';\n\n/**\n * Selectors for the main part of customer state.\n */\nexport interface DaffCustomerAddressSelectors<T extends DaffCustomerAddress = DaffCustomerAddress> extends DaffOperationStateSelectors<DaffCustomerStateRootSlice<DaffCustomer, T>, DaffCustomerAddressReducerState> {\n /**\n * Selects the customer.\n */\n selectAddress: (id: T['id']) => MemoizedSelector<DaffCustomerStateRootSlice<DaffCustomer, T>, T>;\n selectAddresses: MemoizedSelector<DaffCustomerStateRootSlice<DaffCustomer, T>, T[]>;\n}\n\n/**\n * Creates a group of selectors for {@link DaffCustomerAddressReducerState} that use the passed state selector as the basis.\n */\nconst daffCustomerAddressCreateSelectors = <T extends DaffCustomerAddress = DaffCustomerAddress>(): DaffCustomerAddressSelectors<T> => {\n const { selectCustomerFeatureState } = getDaffCustomerReducersStateSelector<DaffCustomer, T>();\n const selectCustomerAddressState = createSelector(\n selectCustomerFeatureState,\n state => state.address,\n );\n const selectCustomerAddressEntitiesState = createSelector(\n selectCustomerFeatureState,\n state => state.addressEntities,\n );\n const {\n selectEntity,\n selectOptimisticList,\n } = daffCustomerAddressEntitiesAdapter<T>().getSelectors<DaffCustomerStateRootSlice<DaffCustomer, T>>(selectCustomerAddressEntitiesState);\n\n return {\n ...daffOperationStateSelectorFactory(selectCustomerAddressState),\n selectAddress: selectEntity,\n selectAddresses: selectOptimisticList,\n };\n};\n\nexport const daffCustomerAddressGetSelectors = (() => {\n let cache;\n return <T extends DaffCustomerAddress = DaffCustomerAddress>(): DaffCustomerAddressSelectors<T> =>\n cache = cache || daffCustomerAddressCreateSelectors<T>();\n})();\n\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffCustomer } from '@daffodil/customer';\n\nimport {\n DaffCustomerReducerState,\n DaffCustomerStateRootSlice,\n} from '../../reducers/public_api';\nimport { daffCustomerGetSelectors } from '../../selectors/public_api';\nimport { DaffCustomerPageFacadeInterface } from './interface';\n\n/**\n * @inheritdoc\n *\n * Serves as the base for a customer facade.\n * Extend this class and pass in the selectors for the specific state you wish to target.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCustomerPageFacade<T extends DaffCustomer = DaffCustomer> implements DaffCustomerPageFacadeInterface<T> {\n customer$: Observable<T>;\n loadingState$: Observable<DaffCustomerReducerState<T>['loading']>;\n loading$: Observable<boolean>;\n resolving$: Observable<boolean>;\n mutating$: Observable<boolean>;\n errors$: Observable<DaffCustomerReducerState<T>['errors']>;\n hasErrors$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffCustomerStateRootSlice>,\n ) {\n const {\n selectCustomer,\n selectErrors,\n selectHasErrors,\n selectLoading,\n selectLoadingState,\n selectMutating,\n selectResolving,\n } = daffCustomerGetSelectors<T>();\n\n this.customer$ = this.store.pipe(select(selectCustomer));\n this.loadingState$ = this.store.pipe(select(selectLoadingState));\n this.loading$ = this.store.pipe(select(selectLoading));\n this.resolving$ = this.store.pipe(select(selectResolving));\n this.mutating$ = this.store.pipe(select(selectMutating));\n this.errors$ = this.store.pipe(select(selectErrors));\n this.hasErrors$ = this.store.pipe(select(selectHasErrors));\n }\n\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffCustomerAddress } from '@daffodil/customer';\n\nimport { DaffCustomerAddressEntity } from '../../models/public_api';\nimport {\n daffCustomerAddressEntitiesAdapter,\n DaffCustomerAddressReducerState,\n DaffCustomerStateRootSlice,\n} from '../../reducers/public_api';\nimport {\n daffCustomerAddressGetSelectors,\n DaffCustomerAddressSelectors,\n} from '../../selectors/public_api';\nimport { DaffCustomerAddressPageFacadeInterface } from './interface';\n\n// TODO: address entities?\n\n/**\n * @inheritdoc\n *\n * Serves as the base for a customer facade.\n * Extend this class and pass in the selectors for the specific state you wish to target.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCustomerAddressPageFacade<T extends DaffCustomerAddressEntity = DaffCustomerAddressEntity> implements DaffCustomerAddressPageFacadeInterface<T> {\n private _selectAddress: DaffCustomerAddressSelectors<T>['selectAddress'];\n\n addresses$: Observable<T[]>;\n loadingState$: Observable<DaffCustomerAddressReducerState['loading']>;\n loading$: Observable<boolean>;\n resolving$: Observable<boolean>;\n mutating$: Observable<boolean>;\n errors$: Observable<DaffCustomerAddressReducerState['errors']>;\n hasErrors$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffCustomerStateRootSlice>,\n ) {\n const {\n selectAddress,\n selectAddresses,\n selectErrors,\n selectHasErrors,\n selectLoading,\n selectLoadingState,\n selectMutating,\n selectResolving,\n } = daffCustomerAddressGetSelectors<T>();\n\n this._selectAddress = selectAddress;\n\n this.addresses$ = this.store.pipe(select(selectAddresses));\n this.loadingState$ = this.store.pipe(select(selectLoadingState));\n this.loading$ = this.store.pipe(select(selectLoading));\n this.resolving$ = this.store.pipe(select(selectResolving));\n this.mutating$ = this.store.pipe(select(selectMutating));\n this.errors$ = this.store.pipe(select(selectErrors));\n this.hasErrors$ = this.store.pipe(select(selectHasErrors));\n }\n\n getAddress(id: T['id']): Observable<T> {\n return this.store.pipe(select(this._selectAddress(id)));\n }\n\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Actions,\n createEffect,\n ofType,\n} from '@ngrx/effects';\nimport { of } from 'rxjs';\nimport {\n switchMap,\n map,\n catchError,\n} from 'rxjs/operators';\n\nimport { DaffError } from '@daffodil/core';\nimport { ErrorTransformer } from '@daffodil/core/state';\nimport {\n DaffCustomerAddress,\n DAFF_CUSTOMER_ERROR_MATCHER,\n} from '@daffodil/customer';\nimport {\n DaffCustomerAddressDriver,\n DaffCustomerAddressDriverInterface,\n} from '@daffodil/customer/driver';\n\nimport {\n DaffCustomerAddressActionTypes,\n DaffCustomerAddressLoad,\n DaffCustomerAddressLoadSuccess,\n DaffCustomerAddressLoadFailure,\n DaffCustomerAddressUpdate,\n DaffCustomerAddressUpdateSuccess,\n DaffCustomerAddressUpdateFailure,\n DaffCustomerAddressAdd,\n DaffCustomerAddressAddFailure,\n DaffCustomerAddressAddSuccess,\n DaffCustomerAddressDelete,\n DaffCustomerAddressDeleteFailure,\n DaffCustomerAddressDeleteSuccess,\n DaffCustomerAddressList,\n DaffCustomerAddressListFailure,\n DaffCustomerAddressListSuccess,\n} from '../actions/address.actions';\n\n@Injectable()\nexport class DaffCustomerAddressEffects<\n T extends DaffCustomerAddress = DaffCustomerAddress,\n> {\n constructor(\n private actions$: Actions,\n @Inject(DaffCustomerAddressDriver) private driver: DaffCustomerAddressDriverInterface<T>,\n @Inject(DAFF_CUSTOMER_ERROR_MATCHER) private errorMatcher: ErrorTransformer,\n ) {}\n\n list$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressListAction),\n switchMap((action: DaffCustomerAddressList) =>\n this.driver.list().pipe(\n map(resp => new DaffCustomerAddressListSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressListFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n\n /**\n * An effect for loading a customer address.\n */\n get$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressLoadAction),\n switchMap((action: DaffCustomerAddressLoad) =>\n this.driver.get(action.addressId).pipe(\n map(resp => new DaffCustomerAddressLoadSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressLoadFailure(this.errorMatcher(error), action.addressId))),\n ),\n ),\n ));\n\n /**\n * An effect for updating a customer address.\n */\n update$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressUpdateAction),\n switchMap((action: DaffCustomerAddressUpdate<T>) =>\n this.driver.update(action.address).pipe(\n map(resp => new DaffCustomerAddressUpdateSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressUpdateFailure(this.errorMatcher(error), action.address.id))),\n ),\n ),\n ));\n\n /**\n * An effect for adding a new customer address.\n */\n add$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressAddAction),\n switchMap((action: DaffCustomerAddressAdd<T>) =>\n this.driver.add(action.address).pipe(\n map(resp => new DaffCustomerAddressAddSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressAddFailure(this.errorMatcher(error), action.placeholderId))),\n ),\n ),\n ));\n\n /**\n * An effect for adding a new customer address.\n */\n delete$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressDeleteAction),\n switchMap((action: DaffCustomerAddressDelete) =>\n this.driver.delete(action.addressId).pipe(\n map(resp => new DaffCustomerAddressDeleteSuccess(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressDeleteFailure(this.errorMatcher(error), action.addressId))),\n ),\n ),\n ));\n}\n","import {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Actions,\n createEffect,\n ofType,\n} from '@ngrx/effects';\nimport { of } from 'rxjs';\nimport {\n switchMap,\n map,\n catchError,\n} from 'rxjs/operators';\n\nimport { DaffError } from '@daffodil/core';\nimport { ErrorTransformer } from '@daffodil/core/state';\nimport {\n DaffCustomer,\n DAFF_CUSTOMER_ERROR_MATCHER,\n} from '@daffodil/customer';\nimport {\n DaffCustomerDriverInterface,\n DaffCustomerDriver,\n} from '@daffodil/customer/driver';\n\nimport {\n DaffCustomerActionTypes,\n DaffCustomerLoad,\n DaffCustomerLoadSuccess,\n DaffCustomerLoadFailure,\n DaffCustomerUpdate,\n DaffCustomerUpdateFailure,\n DaffCustomerUpdateSuccess,\n DaffCustomerChangeEmail,\n DaffCustomerChangeEmailFailure,\n DaffCustomerChangeEmailSuccess,\n DaffCustomerChangePassword,\n DaffCustomerChangePasswordFailure,\n DaffCustomerChangePasswordSuccess,\n} from '../actions/customer.actions';\n\n@Injectable()\nexport class DaffCustomerEffects<\n T extends DaffCustomer = DaffCustomer,\n> {\n constructor(\n private actions$: Actions,\n @Inject(DaffCustomerDriver) private driver: DaffCustomerDriverInterface<T>,\n @Inject(DAFF_CUSTOMER_ERROR_MATCHER) private errorMatcher: ErrorTransformer,\n ) {}\n\n /**\n * An effect for the loading of an customer.\n */\n get$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerActionTypes.CustomerLoadAction),\n switchMap((action: DaffCustomerLoad) =>\n this.driver.get().pipe(\n map(resp => new DaffCustomerLoadSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerLoadFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n\n /**\n * An effect for the updating of an customer.\n */\n update$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerActionTypes.CustomerUpdateAction),\n switchMap((action: DaffCustomerUpdate<T>) =>\n this.driver.update(action.customer).pipe(\n map(resp => new DaffCustomerUpdateSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerUpdateFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n\n /**\n * An effect for changing a customer email.\n */\n changeEmail$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerActionTypes.CustomerChangeEmailAction),\n switchMap((action: DaffCustomerChangeEmail) =>\n this.driver.changeEmail(action.email, action.password).pipe(\n map(resp => new DaffCustomerChangeEmailSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerChangeEmailFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n\n /**\n * An effect for changing a customer password.\n */\n changePassword$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerActionTypes.CustomerChangePasswordAction),\n switchMap((action: DaffCustomerChangePassword) =>\n this.driver.changePassword(action.oldPassword, action.newPassword).pipe(\n map(() => new DaffCustomerChangePasswordSuccess()),\n catchError((error: DaffError) => of(new DaffCustomerChangePasswordFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n}\n","import {\n inject,\n InjectionToken,\n} from '@angular/core';\nimport {\n ActionReducer,\n combineReducers,\n} from '@ngrx/store';\n\nimport { daffComposeReducers } from '@daffodil/core/state';\n// these unused imports are a workaround\nimport { DaffCustomer } from '@daffodil/customer';\n\nimport { daffCustomerAddressEntitiesReducer } from '../address-entities/public_api';\nimport { daffCustomerAddressReducer } from '../address/public_api';\nimport { daffCustomerReducer } from '../customer/reducer';\nimport { DaffCustomerReducersState } from '../reducers.interface';\nimport { DAFF_CUSTOMER_EXTRA_REDUCERS } from './extra.token';\n\n/**\n * An internal token to hold the Daffodil customer reducers.\n * Includes the extra and standard reducers.\n *\n * @docs-private\n */\nexport const DAFF_CUSTOMER_REDUCERS = new InjectionToken<ActionReducer<DaffCustomerReducersState>>(\n 'DAFF_CUSTOMER_REDUCERS',\n {\n providedIn: 'any',\n factory: () => daffComposeReducers([\n combineReducers({\n customer: daffCustomerReducer,\n address: daffCustomerAddressReducer,\n addressEntities: daffCustomerAddressEntitiesReducer,\n }),\n ...inject(DAFF_CUSTOMER_EXTRA_REDUCERS),\n ]),\n },\n);\n","import { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { StoreModule } from '@ngrx/store';\n\nimport { DaffCustomerAddressEffects } from './effects/address.effects';\nimport { DaffCustomerEffects } from './effects/customer.effects';\nimport { DAFF_CUSTOMER_STORE_FEATURE_KEY } from './reducers/public_api';\nimport { DAFF_CUSTOMER_REDUCERS } from './reducers/token/reducers.token';\n\n/**\n * Creates the customer feature store.\n */\n@NgModule({\n imports: [\n StoreModule.forFeature(DAFF_CUSTOMER_STORE_FEATURE_KEY, DAFF_CUSTOMER_REDUCERS),\n EffectsModule.forFeature([\n DaffCustomerEffects,\n DaffCustomerAddressEffects,\n ]),\n ],\n})\nexport class DaffCustomerStateModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;AASA;;AAEG;IACS,+BAgBX;AAhBD,CAAA,UAAY,8BAA8B,EAAA;AACxC,IAAA,8BAAA,CAAA,mBAAA,CAAA,GAAA,0CAA8D,CAAA;AAC9D,IAAA,8BAAA,CAAA,0BAAA,CAAA,GAAA,kDAA6E,CAAA;AAC7E,IAAA,8BAAA,CAAA,0BAAA,CAAA,GAAA,kDAA6E,CAAA;AAC7E,IAAA,8BAAA,CAAA,mBAAA,CAAA,GAAA,0CAA8D,CAAA;AAC9D,IAAA,8BAAA,CAAA,0BAAA,CAAA,GAAA,kDAA6E,CAAA;AAC7E,IAAA,8BAAA,CAAA,0BAAA,CAAA,GAAA,kDAA6E,CAAA;AAC7E,IAAA,8BAAA,CAAA,kBAAA,CAAA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AM,mBAAmB,CAAC;AACjC,QAAA,eAAe,CAAC;AACd,YAAA,QAAQ,EAAE,mBAAmB;AAC7B,YAAA,OAAO,EAAE,0BAA0B;AACnC,YAAA,eAAe,EAAE,kCAAkC;SACpD,CAAC;QACF,GAAG,MAAM,CAAC,4BAA4B,CAAC;KACxC,CAAC;AACH,CAAA,CACF;;AC7BD;;AAEG;MAUU,uBAAuB,CAAA;;uIAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;wIAAvB,uBAAuB,EAAA,OAAA,EAAA,CAAA,EAAA,CAAA,kBAAA,EAAAC,IAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA;AAAvB,mBAAA,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EARzB,OAAA,EAAA,CAAA;AACP,YAAA,WAAW,CAAC,UAAU,CAAC,+BAA+B,EAAE,sBAAsB,CAAC;YAC/E,aAAa,CAAC,UAAU,CAAC;gBACvB,mBAAmB;gBACnB,0BAA0B;aAC3B,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;2FAEU,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBATnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;AACP,wBAAA,WAAW,CAAC,UAAU,CAAC,+BAA+B,EAAE,sBAAsB,CAAC;wBAC/E,aAAa,CAAC,UAAU,CAAC;4BACvB,mBAAmB;4BACnB,0BAA0B;yBAC3B,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"daffodil-customer-state.mjs","sources":["../../../libs/customer/state/src/actions/address.actions.ts","../../../libs/customer/state/src/actions/customer.actions.ts","../../../libs/customer/state/src/reducers/store-feature-key.ts","../../../libs/customer/state/src/reducers/token/extra.token.ts","../../../libs/customer/state/src/reducers/customer/adapter.ts","../../../libs/customer/state/src/reducers/customer/initial-state.ts","../../../libs/customer/state/src/reducers/customer/reducer.ts","../../../libs/customer/state/src/reducers/address/initial-state.ts","../../../libs/customer/state/src/reducers/address/reducer.ts","../../../libs/customer/state/src/reducers/address-entities/adapter.ts","../../../libs/customer/state/src/reducers/address-entities/reducer.ts","../../../libs/customer/state/src/selectors/feature.selector.ts","../../../libs/customer/state/src/selectors/customer/selector.ts","../../../libs/customer/state/src/selectors/address/selector.ts","../../../libs/customer/state/src/facades/customer/facade.ts","../../../libs/customer/state/src/facades/address/facade.ts","../../../libs/customer/state/src/effects/address.effects.ts","../../../libs/customer/state/src/effects/customer.effects.ts","../../../libs/customer/state/src/reducers/token/reducers.token.ts","../../../libs/customer/state/src/customer.module.ts","../../../libs/customer/state/src/daffodil-customer-state.ts"],"sourcesContent":["import { Action } from '@ngrx/store';\n\nimport { DaffIdentifiable } from '@daffodil/core';\nimport { DaffStateError } from '@daffodil/core/state';\nimport {\n DaffCustomer,\n DaffCustomerAddress,\n} from '@daffodil/customer';\n\n/**\n * The customer address action types enum.\n */\nexport enum DaffCustomerAddressActionTypes {\n AddressListAction = '[@daffodil/customer] Address List Action',\n AddressListSuccessAction = '[@daffodil/customer] Address List Success Action',\n AddressListFailureAction = '[@daffodil/customer] Address List Failure Action',\n AddressLoadAction = '[@daffodil/customer] Address Load Action',\n AddressLoadSuccessAction = '[@daffodil/customer] Address Load Success Action',\n AddressLoadFailureAction = '[@daffodil/customer] Address Load Failure Action',\n AddressAddAction = '[@daffodil/customer] Address Add Action',\n AddressAddSuccessAction = '[@daffodil/customer] Address Add Success Action',\n AddressAddFailureAction = '[@daffodil/customer] Address Add Failure Action',\n AddressUpdateAction = '[@daffodil/customer] Address Update Action',\n AddressUpdateSuccessAction = '[@daffodil/customer] Address Update Success Action',\n AddressUpdateFailureAction = '[@daffodil/customer] Address Update Failure Action',\n AddressDeleteAction = '[@daffodil/customer] Address Delete Action',\n AddressDeleteSuccessAction = '[@daffodil/customer] Address Delete Success Action',\n AddressDeleteFailureAction = '[@daffodil/customer] Address Delete Failure Action',\n}\n\n/**\n * Lists the addresses of the current customer.\n *\n * @param addressId The ID of the address.\n */\nexport class DaffCustomerAddressList implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressListAction;\n\n constructor() {}\n}\n\n/**\n * Indicates a successful listing of customer addresses.\n */\nexport class DaffCustomerAddressListSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressListSuccessAction;\n\n constructor(public payload: T[]) {}\n}\n\n/**\n * A failed customer address list with the error message.\n */\nexport class DaffCustomerAddressListFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressListFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * Loads an address of the current customer.\n *\n * @param addressId The ID of the address.\n */\nexport class DaffCustomerAddressLoad implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressLoadAction;\n\n constructor(public addressId: DaffCustomerAddress['id']) {}\n}\n\n/**\n * Indicates a successful load of a customer address.\n */\nexport class DaffCustomerAddressLoadSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressLoadSuccessAction;\n\n constructor(public payload: T) {}\n}\n\n/**\n * A failed customer address load with the error message.\n */\nexport class DaffCustomerAddressLoadFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressLoadFailureAction;\n\n constructor(public payload: DaffStateError, public id: DaffCustomer['id']) {}\n}\n\n/**\n * Updates one of the currently logged-in customer's addresses.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerAddressUpdate<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressUpdateAction;\n\n constructor(public address: Partial<T> & DaffIdentifiable) {}\n}\n\n/**\n * Indicates a successful update of one of the currently logged-in customer's addresses.\n */\nexport class DaffCustomerAddressUpdateSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressUpdateSuccessAction;\n\n constructor(public payload: T[]) {}\n}\n\n/**\n * A failed address update with the error message.\n */\nexport class DaffCustomerAddressUpdateFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressUpdateFailureAction;\n\n constructor(public payload: DaffStateError, public id: DaffCustomer['id']) {}\n}\n\n/**\n * Adds one of the currently logged-in customer's addresses.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerAddressAdd<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressAddAction;\n\n constructor(public address: T, public placeholderId?: string) {}\n}\n\n/**\n * Indicates a successful addition of one of the currently logged-in customer's addresses.\n *\n * @param payload The updated list of customer addresses.\n */\nexport class DaffCustomerAddressAddSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressAddSuccessAction;\n\n constructor(public payload: T[]) {}\n}\n\n/**\n * A failed address addition with the error message.\n */\nexport class DaffCustomerAddressAddFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressAddFailureAction;\n\n constructor(public payload: DaffStateError, public id: DaffCustomer['id']) {}\n}\n\n/**\n * Deletes one of the currently logged-in customer's addresses.\n *\n * @param addressId The ID of the address.\n */\nexport class DaffCustomerAddressDelete implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressDeleteAction;\n\n constructor(public addressId: DaffCustomerAddress['id']) {}\n}\n\n/**\n * Indicates a successful deletion of one of the currently logged-in customer's addresses.\n *\n * @param payload The updated list of customer addresses.\n */\nexport class DaffCustomerAddressDeleteSuccess<T extends DaffCustomerAddress = DaffCustomerAddress> implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressDeleteSuccessAction;\n\n constructor(public payload: T[]) {}\n}\n\n/**\n * A failed address deletion with the error message.\n */\nexport class DaffCustomerAddressDeleteFailure implements Action {\n readonly type = DaffCustomerAddressActionTypes.AddressDeleteFailureAction;\n\n constructor(public payload: DaffStateError, public id: DaffCustomer['id']) {}\n}\n\n/**\n * A union of the customer action types.\n */\nexport type DaffCustomerAddressActions<\n T extends DaffCustomerAddress = DaffCustomerAddress,\n> =\n | DaffCustomerAddressList\n | DaffCustomerAddressListSuccess<T>\n | DaffCustomerAddressListFailure\n | DaffCustomerAddressLoad\n | DaffCustomerAddressLoadSuccess<T>\n | DaffCustomerAddressLoadFailure\n | DaffCustomerAddressUpdate<T>\n | DaffCustomerAddressUpdateSuccess<T>\n | DaffCustomerAddressUpdateFailure\n | DaffCustomerAddressAdd<T>\n | DaffCustomerAddressAddSuccess<T>\n | DaffCustomerAddressAddFailure\n | DaffCustomerAddressDelete\n | DaffCustomerAddressDeleteSuccess\n | DaffCustomerAddressDeleteFailure;\n","import { Action } from '@ngrx/store';\n\nimport { DaffStateError } from '@daffodil/core/state';\nimport { DaffCustomer } from '@daffodil/customer';\n\n/**\n * The customer action types enum.\n */\nexport enum DaffCustomerActionTypes {\n CustomerLoadAction = '[@daffodil/customer] Customer Load Action',\n CustomerLoadSuccessAction = '[@daffodil/customer] Customer Load Success Action',\n CustomerLoadFailureAction = '[@daffodil/customer] Customer Load Failure Action',\n CustomerUpdateAction = '[@daffodil/customer] Customer Update Action',\n CustomerUpdateSuccessAction = '[@daffodil/customer] Customer Update Success Action',\n CustomerUpdateFailureAction = '[@daffodil/customer] Customer Update Failure Action',\n CustomerChangeEmailAction = '[@daffodil/customer] Customer Change Email Action',\n CustomerChangeEmailSuccessAction = '[@daffodil/customer] Customer Change Email Success Action',\n CustomerChangeEmailFailureAction = '[@daffodil/customer] Customer Change Email Failure Action',\n CustomerChangePasswordAction = '[@daffodil/customer] Customer Change Password Action',\n CustomerChangePasswordSuccessAction = '[@daffodil/customer] Customer Change Password Success Action',\n CustomerChangePasswordFailureAction = '[@daffodil/customer] Customer Change Password Failure Action',\n CustomerClearErrorsAction = '[@daffodil/customer] Customer Clear Errors Action',\n\n}\n\n/**\n * Loads the currently logged-in customer.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerLoad implements Action {\n readonly type = DaffCustomerActionTypes.CustomerLoadAction;\n}\n\n/**\n * Indicates a successful load of the currently logged-in customer.\n */\nexport class DaffCustomerLoadSuccess<T extends DaffCustomer = DaffCustomer> implements Action {\n readonly type = DaffCustomerActionTypes.CustomerLoadSuccessAction;\n\n constructor(public payload: T) {}\n}\n\n/**\n * A failed customer load with the error message.\n */\nexport class DaffCustomerLoadFailure implements Action {\n readonly type = DaffCustomerActionTypes.CustomerLoadFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * Updates the currently logged-in customer.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerUpdate<T extends DaffCustomer = DaffCustomer> implements Action {\n readonly type = DaffCustomerActionTypes.CustomerUpdateAction;\n\n constructor(public customer: Partial<T>) {}\n}\n\n/**\n * Indicates a successful update of the currently logged-in customer.\n */\nexport class DaffCustomerUpdateSuccess<T extends DaffCustomer = DaffCustomer> implements Action {\n readonly type = DaffCustomerActionTypes.CustomerUpdateSuccessAction;\n\n constructor(public payload: T) {}\n}\n\n/**\n * A failed customer update with the error message.\n */\nexport class DaffCustomerUpdateFailure implements Action {\n readonly type = DaffCustomerActionTypes.CustomerUpdateFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * Changes the email of the currently logged-in customer.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerChangeEmail implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangeEmailAction;\n\n constructor(public email: string, public password: string) {}\n}\n\n/**\n * Indicates a successful email change of the currently logged-in customer.\n */\nexport class DaffCustomerChangeEmailSuccess<T extends DaffCustomer = DaffCustomer> implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangeEmailSuccessAction;\n\n constructor(public payload: T) {}\n}\n\n/**\n * A failed customer email change with the error message.\n */\nexport class DaffCustomerChangeEmailFailure implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangeEmailFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * Changes the password of the currently logged-in customer.\n *\n * @param query The customer query.\n */\nexport class DaffCustomerChangePassword implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangePasswordAction;\n\n constructor(public newPassword: string, public oldPassword: string) {}\n}\n\n/**\n * Indicates a successful password change of the currently logged-in customer.\n */\nexport class DaffCustomerChangePasswordSuccess implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangePasswordSuccessAction;\n}\n\n/**\n * A failed customer password change with the error message.\n */\nexport class DaffCustomerChangePasswordFailure implements Action {\n readonly type = DaffCustomerActionTypes.CustomerChangePasswordFailureAction;\n\n constructor(public payload: DaffStateError) {}\n}\n\n/**\n * An action to clear all customer errors in state.\n */\nexport class DaffCustomerClearErrors implements Action {\n readonly type = DaffCustomerActionTypes.CustomerClearErrorsAction;\n}\n\n/**\n * A union of the customer action types.\n */\nexport type DaffCustomerActions<\n T extends DaffCustomer = DaffCustomer,\n> =\n | DaffCustomerLoad\n | DaffCustomerLoadSuccess<T>\n | DaffCustomerLoadFailure\n | DaffCustomerUpdate\n | DaffCustomerUpdateSuccess<T>\n | DaffCustomerUpdateFailure\n | DaffCustomerChangeEmail\n | DaffCustomerChangeEmailSuccess<T>\n | DaffCustomerChangeEmailFailure\n | DaffCustomerChangePassword\n | DaffCustomerChangePasswordSuccess\n | DaffCustomerChangePasswordFailure\n | DaffCustomerClearErrors;\n","/**\n * The key under which the customer feature state will be stored.\n */\nexport const DAFF_CUSTOMER_STORE_FEATURE_KEY = 'daffCustomer';\n","import {\n InjectionToken,\n Provider,\n} from '@angular/core';\nimport { ActionReducer } from '@ngrx/store';\n\nimport { DaffCustomerReducersState } from '../reducers.interface';\n\n/**\n * A token to hold the injectable extra reducers.\n *\n * Prefer using {@link daffCustomerProvideExtraReducers}.\n */\nexport const DAFF_CUSTOMER_EXTRA_REDUCERS = new InjectionToken<ActionReducer<DaffCustomerReducersState>[]>(\n 'DAFF_CUSTOMER_EXTRA_REDUCERS',\n {\n factory: () => [],\n providedIn: 'any',\n },\n);\n\n/**\n * Provides additional reducers that run after the standard Daffodil customer reducers.\n *\n * ```ts\n * providers: [\n * ...daffCustomerProvideExtraReducers(\n * myReducer1,\n * myReducer2\n * )\n * ]\n * ```\n */\nexport function daffCustomerProvideExtraReducers(\n ...reducers: ActionReducer<DaffCustomerReducersState>[]\n): Provider[] {\n return reducers.map(reducer => ({\n provide: DAFF_CUSTOMER_EXTRA_REDUCERS,\n useValue: reducer,\n multi: true,\n }));\n}\n","import { daffCompleteOperation } from '@daffodil/core/state';\nimport {\n DaffCustomer,\n DaffCustomerAddress,\n} from '@daffodil/customer';\n\nimport { DaffCustomerReducerState } from './interface';\n\n/**\n * Stores the customer in state.\n * Sets loading to false and resets errors.\n */\nexport function daffCustomerStateStoreCustomer<T extends DaffCustomer = DaffCustomer>(customer: T, state: DaffCustomerReducerState<T>): DaffCustomerReducerState<T> {\n return {\n ...state,\n ...daffCompleteOperation(state),\n customer,\n };\n}\n\n/**\n * Stores customer addresses.\n * Sets loading to false and resets errors.\n */\nexport function daffCustomerStateStoreAddresses<T extends DaffCustomer = DaffCustomer>(addresses: T[], state: DaffCustomerReducerState<T>): DaffCustomerReducerState<T> {\n return {\n ...state,\n ...daffCompleteOperation(state),\n customer: {\n ...state.customer,\n addresses,\n },\n };\n}\n","import { daffOperationInitialState } from '@daffodil/core/state';\n\nimport { DaffCustomerReducerState } from './interface';\n\n/**\n * The initial state for the main customer state, see {@link DaffCustomerReducerState}.\n */\nexport const daffCustomerInitialState: DaffCustomerReducerState<any> = {\n ...daffOperationInitialState,\n customer: null,\n};\n","import {\n daffClearErrors,\n daffCompleteOperation,\n daffOperationFailed,\n daffStartMutation,\n daffStartResolution,\n} from '@daffodil/core/state';\nimport { DaffCustomer } from '@daffodil/customer';\n\nimport {\n DaffCustomerActions,\n DaffCustomerActionTypes,\n DaffCustomerAddressActions,\n DaffCustomerAddressActionTypes,\n DaffCustomerLoadFailure,\n DaffCustomerLoadSuccess,\n} from '../../actions/public_api';\nimport {\n daffCustomerStateStoreAddresses,\n daffCustomerStateStoreCustomer,\n} from './adapter';\nimport { daffCustomerInitialState } from './initial-state';\nimport { DaffCustomerReducerState } from './interface';\n\n/**\n * The reducer for the customer page state, see {@link DaffCustomerReducerState}.\n */\nexport const daffCustomerReducer = <T extends DaffCustomer = DaffCustomer>(\n state = daffCustomerInitialState,\n action: DaffCustomerActions<T> | DaffCustomerAddressActions,\n): DaffCustomerReducerState<T> => {\n switch (action.type) {\n case DaffCustomerActionTypes.CustomerLoadAction:\n return daffStartResolution(state);\n\n case DaffCustomerActionTypes.CustomerUpdateAction:\n case DaffCustomerActionTypes.CustomerChangeEmailAction:\n case DaffCustomerActionTypes.CustomerChangePasswordAction:\n return daffStartMutation(state);\n\n case DaffCustomerActionTypes.CustomerLoadSuccessAction:\n case DaffCustomerActionTypes.CustomerUpdateSuccessAction:\n case DaffCustomerActionTypes.CustomerChangeEmailSuccessAction:\n return daffCustomerStateStoreCustomer((<DaffCustomerLoadSuccess<T>>action).payload, state);\n\n case DaffCustomerActionTypes.CustomerChangePasswordSuccessAction:\n return daffCompleteOperation(state);\n\n case DaffCustomerActionTypes.CustomerLoadFailureAction:\n case DaffCustomerActionTypes.CustomerUpdateFailureAction:\n case DaffCustomerActionTypes.CustomerChangeEmailFailureAction:\n case DaffCustomerActionTypes.CustomerChangePasswordFailureAction:\n return daffOperationFailed([(<DaffCustomerLoadFailure>action).payload], state);\n\n case DaffCustomerActionTypes.CustomerClearErrorsAction:\n return daffClearErrors(state);\n\n case DaffCustomerAddressActionTypes.AddressDeleteSuccessAction:\n case DaffCustomerAddressActionTypes.AddressAddSuccessAction:\n return daffCustomerStateStoreAddresses(action.payload, state);\n\n default:\n return state;\n }\n};\n","import { daffOperationInitialState } from '@daffodil/core/state';\n\nimport { DaffCustomerAddressReducerState } from './type';\n\n/**\n * The initial state for the main customer state, see {@link DaffCustomerAddressReducerState}.\n */\nexport const daffCustomerAddressInitialState: DaffCustomerAddressReducerState = daffOperationInitialState;\n","import {\n daffCompleteOperation,\n daffOperationFailed,\n daffStartMutation,\n daffStartResolution,\n} from '@daffodil/core/state';\nimport { DaffCustomerAddress } from '@daffodil/customer';\n\nimport {\n DaffCustomerAddressActions,\n DaffCustomerAddressActionTypes,\n DaffCustomerAddressLoadFailure,\n} from '../../actions/address.actions';\nimport { daffCustomerAddressInitialState } from './initial-state';\nimport { DaffCustomerAddressReducerState } from './type';\n\n/**\n * The reducer for the customer page state, see {@link DaffCustomerAddressReducerState}.\n */\nexport const daffCustomerAddressReducer = <T extends DaffCustomerAddress = DaffCustomerAddress>(\n state = daffCustomerAddressInitialState,\n action: DaffCustomerAddressActions<T>,\n): DaffCustomerAddressReducerState => {\n switch (true) {\n case action.type === DaffCustomerAddressActionTypes.AddressListAction:\n case action.type === DaffCustomerAddressActionTypes.AddressLoadAction:\n return daffStartResolution(state);\n\n case action.type === DaffCustomerAddressActionTypes.AddressUpdateAction:\n case action.type === DaffCustomerAddressActionTypes.AddressAddAction:\n case action.type === DaffCustomerAddressActionTypes.AddressDeleteAction:\n return daffStartMutation(state);\n\n case action.type === DaffCustomerAddressActionTypes.AddressListSuccessAction:\n case action.type === DaffCustomerAddressActionTypes.AddressLoadSuccessAction:\n case action.type === DaffCustomerAddressActionTypes.AddressUpdateSuccessAction:\n case action.type === DaffCustomerAddressActionTypes.AddressAddSuccessAction:\n case action.type === DaffCustomerAddressActionTypes.AddressDeleteSuccessAction:\n case action.type === DaffCustomerAddressActionTypes.AddressUpdateFailureAction:\n case action.type === DaffCustomerAddressActionTypes.AddressAddFailureAction:\n case action.type === DaffCustomerAddressActionTypes.AddressDeleteFailureAction:\n return daffCompleteOperation(state);\n\n case action.type === DaffCustomerAddressActionTypes.AddressListFailureAction:\n case action.type === DaffCustomerAddressActionTypes.AddressLoadFailureAction:\n return daffOperationFailed([(<DaffCustomerAddressLoadFailure>action).payload], state);\n\n default:\n return state;\n }\n};\n","import { createEntityAdapter } from '@ngrx/entity';\n\nimport {\n DaffOperationEntity,\n daffCreateOperationEntityStateAdapter,\n DaffOperationEntityStateAdapter,\n} from '@daffodil/core/state';\nimport { DaffCustomerAddress } from '@daffodil/customer';\n\n/**\n * Customer Address Entities Adapter for changing/overwriting entity state.\n */\nexport const daffCustomerAddressEntitiesAdapter = (() => {\n let cache;\n return <T extends DaffCustomerAddress = DaffCustomerAddress>(): DaffOperationEntityStateAdapter<T> =>\n cache = cache || daffCreateOperationEntityStateAdapter(createEntityAdapter<DaffOperationEntity<T>>({ selectId: item => item.id }));\n})();\n","import { DaffOperationEntityState } from '@daffodil/core/state';\nimport { DaffCustomerAddress } from '@daffodil/customer';\n\nimport {\n DaffCustomerAddressActions,\n DaffCustomerAddressActionTypes,\n} from '../../actions/address.actions';\nimport {\n DaffCustomerActions,\n DaffCustomerActionTypes,\n} from '../../actions/customer.actions';\nimport { daffCustomerAddressEntitiesAdapter } from './adapter';\n\n\n/**\n * Reducer function that catches actions and changes/overwrites product entities state.\n *\n * @param state current State of the redux store\n * @param action CartItemGrid, BestSellers, or CartItem actions\n * @returns CartItem entities state\n */\nexport function daffCustomerAddressEntitiesReducer<\n T extends DaffCustomerAddress = DaffCustomerAddress,\n>(\n state = daffCustomerAddressEntitiesAdapter<T>().getInitialState(),\n action: DaffCustomerAddressActions<T> | DaffCustomerActions): DaffOperationEntityState<T> {\n const adapter = daffCustomerAddressEntitiesAdapter<T>();\n switch (action.type) {\n case DaffCustomerAddressActionTypes.AddressLoadAction:\n return adapter.preload(\n action.addressId,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressAddAction:\n return adapter.preadd(\n action.address,\n state,\n action.placeholderId,\n );\n\n case DaffCustomerAddressActionTypes.AddressDeleteAction:\n return adapter.preremove(\n action.addressId,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressUpdateAction:\n return adapter.preupdate(\n action.address,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressLoadSuccessAction:\n return adapter.load(\n action.payload,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressListSuccessAction:\n return adapter.list(\n action.payload,\n state,\n );\n\n case DaffCustomerActionTypes.CustomerChangeEmailSuccessAction:\n case DaffCustomerActionTypes.CustomerUpdateSuccessAction:\n case DaffCustomerActionTypes.CustomerLoadSuccessAction:\n return adapter.list(\n <T[]>action.payload.addresses,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressUpdateSuccessAction:\n case DaffCustomerAddressActionTypes.AddressDeleteSuccessAction:\n case DaffCustomerAddressActionTypes.AddressAddSuccessAction:\n return adapter.list(\n <T[]>action.payload,\n state,\n );\n\n case DaffCustomerAddressActionTypes.AddressDeleteFailureAction:\n case DaffCustomerAddressActionTypes.AddressAddFailureAction:\n case DaffCustomerAddressActionTypes.AddressLoadFailureAction:\n case DaffCustomerAddressActionTypes.AddressUpdateFailureAction:\n return adapter.operationFailed(\n action.id,\n [action.payload],\n state,\n );\n\n default:\n return state;\n }\n}\n","import {\n createFeatureSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport {\n DaffCustomer,\n DaffCustomerAddress,\n} from '@daffodil/customer';\n\nimport {\n DaffCustomerStateRootSlice,\n DaffCustomerReducersState,\n DAFF_CUSTOMER_STORE_FEATURE_KEY,\n} from '../reducers/public_api';\n\n/**\n * Selector for the customer feature state.\n */\nexport interface DaffCustomerFeatureSelector<\n TCustomer extends DaffCustomer = DaffCustomer,\n TAddress extends DaffCustomerAddress = DaffCustomerAddress\n> {\n selectCustomerFeatureState: MemoizedSelector<DaffCustomerStateRootSlice<TCustomer, TAddress>, DaffCustomerReducersState<TCustomer, TAddress>>;\n}\n\nexport const getDaffCustomerReducersStateSelector = (() => {\n let cache;\n return <TCustomer extends DaffCustomer = DaffCustomer, TAddress extends DaffCustomerAddress = DaffCustomerAddress>(): DaffCustomerFeatureSelector<TCustomer, TAddress> =>\n cache = cache || {\n selectCustomerFeatureState: createFeatureSelector<DaffCustomerReducersState<TCustomer, TAddress>>(DAFF_CUSTOMER_STORE_FEATURE_KEY),\n };\n})();\n","import {\n createSelector,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport {\n daffOperationStateSelectorFactory,\n DaffOperationStateSelectors,\n} from '@daffodil/core/state';\nimport { DaffCustomer } from '@daffodil/customer';\n\nimport {\n DaffCustomerReducerState,\n DaffCustomerStateRootSlice,\n} from '../../reducers/public_api';\nimport { getDaffCustomerReducersStateSelector } from '../feature.selector';\n\n/**\n * Selectors for the main part of customer state.\n */\nexport interface DaffCustomerSelectors<T extends DaffCustomer = DaffCustomer> extends DaffOperationStateSelectors<DaffCustomerStateRootSlice<T>, DaffCustomerReducerState<T>> {\n /**\n * Selects the customer.\n */\n selectCustomer: MemoizedSelector<DaffCustomerStateRootSlice<T>, T>;\n}\n\n/**\n * Creates a group of selectors for {@link DaffCustomerReducerState} that use the passed state selector as the basis.\n */\nconst daffCustomerCreateSelectors = <T extends DaffCustomer = DaffCustomer>(): DaffCustomerSelectors<T> => {\n const { selectCustomerFeatureState } = getDaffCustomerReducersStateSelector<T>();\n const selectCustomerState = createSelector(\n selectCustomerFeatureState,\n state => state.customer,\n );\n\n const selectCustomer = createSelector(\n selectCustomerState,\n state => state.customer,\n );\n\n return {\n ...daffOperationStateSelectorFactory(selectCustomerState),\n selectCustomer,\n };\n};\n\n\nexport const daffCustomerGetSelectors = (() => {\n let cache;\n return <T extends DaffCustomer = DaffCustomer>(): DaffCustomerSelectors<T> =>\n cache = cache || daffCustomerCreateSelectors<T>();\n})();\n\n","import { Dictionary } from '@ngrx/entity';\nimport {\n createSelector,\n defaultMemoize,\n MemoizedSelector,\n} from '@ngrx/store';\n\nimport {\n daffOperationStateSelectorFactory,\n DaffOperationStateSelectors,\n} from '@daffodil/core/state';\nimport {\n DaffCustomer,\n DaffCustomerAddress,\n} from '@daffodil/customer';\n\nimport {\n daffCustomerAddressEntitiesAdapter,\n DaffCustomerAddressReducerState,\n DaffCustomerStateRootSlice,\n} from '../../reducers/public_api';\nimport { daffCustomerGetSelectors } from '../customer/selector';\nimport { getDaffCustomerReducersStateSelector } from '../feature.selector';\n\n/**\n * Selectors for the main part of customer state.\n */\nexport interface DaffCustomerAddressSelectors<T extends DaffCustomerAddress = DaffCustomerAddress> extends DaffOperationStateSelectors<DaffCustomerStateRootSlice<DaffCustomer, T>, DaffCustomerAddressReducerState> {\n /**\n * Selects the customer.\n */\n selectAddress: (id: T['id']) => MemoizedSelector<DaffCustomerStateRootSlice<DaffCustomer, T>, T>;\n selectAddresses: MemoizedSelector<DaffCustomerStateRootSlice<DaffCustomer, T>, T[]>;\n}\n\n/**\n * Creates a group of selectors for {@link DaffCustomerAddressReducerState} that use the passed state selector as the basis.\n */\nconst daffCustomerAddressCreateSelectors = <T extends DaffCustomerAddress = DaffCustomerAddress>(): DaffCustomerAddressSelectors<T> => {\n const { selectCustomerFeatureState } = getDaffCustomerReducersStateSelector<DaffCustomer, T>();\n const selectCustomerAddressState = createSelector(\n selectCustomerFeatureState,\n state => state.address,\n );\n const selectCustomerAddressEntitiesState = createSelector(\n selectCustomerFeatureState,\n state => state.addressEntities,\n );\n const {\n selectEntity,\n selectOptimisticList,\n } = daffCustomerAddressEntitiesAdapter<T>().getSelectors<DaffCustomerStateRootSlice<DaffCustomer, T>>(selectCustomerAddressEntitiesState);\n\n return {\n ...daffOperationStateSelectorFactory(selectCustomerAddressState),\n selectAddress: selectEntity,\n selectAddresses: selectOptimisticList,\n };\n};\n\nexport const daffCustomerAddressGetSelectors = (() => {\n let cache;\n return <T extends DaffCustomerAddress = DaffCustomerAddress>(): DaffCustomerAddressSelectors<T> =>\n cache = cache || daffCustomerAddressCreateSelectors<T>();\n})();\n\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffCustomer } from '@daffodil/customer';\n\nimport {\n DaffCustomerReducerState,\n DaffCustomerStateRootSlice,\n} from '../../reducers/public_api';\nimport { daffCustomerGetSelectors } from '../../selectors/public_api';\nimport { DaffCustomerPageFacadeInterface } from './interface';\n\n/**\n * @inheritdoc\n *\n * Serves as the base for a customer facade.\n * Extend this class and pass in the selectors for the specific state you wish to target.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCustomerPageFacade<T extends DaffCustomer = DaffCustomer> implements DaffCustomerPageFacadeInterface<T> {\n customer$: Observable<T>;\n loadingState$: Observable<DaffCustomerReducerState<T>['daffState']>;\n loading$: Observable<boolean>;\n resolving$: Observable<boolean>;\n mutating$: Observable<boolean>;\n errors$: Observable<DaffCustomerReducerState<T>['daffErrors']>;\n hasErrors$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffCustomerStateRootSlice>,\n ) {\n const {\n selectCustomer,\n selectErrors,\n selectHasErrors,\n selectLoading,\n selectLoadingState,\n selectMutating,\n selectResolving,\n } = daffCustomerGetSelectors<T>();\n\n this.customer$ = this.store.pipe(select(selectCustomer));\n this.loadingState$ = this.store.pipe(select(selectLoadingState));\n this.loading$ = this.store.pipe(select(selectLoading));\n this.resolving$ = this.store.pipe(select(selectResolving));\n this.mutating$ = this.store.pipe(select(selectMutating));\n this.errors$ = this.store.pipe(select(selectErrors));\n this.hasErrors$ = this.store.pipe(select(selectHasErrors));\n }\n\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import { Injectable } from '@angular/core';\nimport {\n Store,\n select,\n Action,\n} from '@ngrx/store';\nimport { Observable } from 'rxjs';\n\nimport { DaffCustomerAddress } from '@daffodil/customer';\n\nimport { DaffCustomerAddressEntity } from '../../models/public_api';\nimport {\n daffCustomerAddressEntitiesAdapter,\n DaffCustomerAddressReducerState,\n DaffCustomerStateRootSlice,\n} from '../../reducers/public_api';\nimport {\n daffCustomerAddressGetSelectors,\n DaffCustomerAddressSelectors,\n} from '../../selectors/public_api';\nimport { DaffCustomerAddressPageFacadeInterface } from './interface';\n\n// TODO: address entities?\n\n/**\n * @inheritdoc\n *\n * Serves as the base for a customer facade.\n * Extend this class and pass in the selectors for the specific state you wish to target.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCustomerAddressPageFacade<T extends DaffCustomerAddressEntity = DaffCustomerAddressEntity> implements DaffCustomerAddressPageFacadeInterface<T> {\n private _selectAddress: DaffCustomerAddressSelectors<T>['selectAddress'];\n\n addresses$: Observable<T[]>;\n loadingState$: Observable<DaffCustomerAddressReducerState['daffState']>;\n loading$: Observable<boolean>;\n resolving$: Observable<boolean>;\n mutating$: Observable<boolean>;\n errors$: Observable<DaffCustomerAddressReducerState['daffErrors']>;\n hasErrors$: Observable<boolean>;\n\n constructor(\n private store: Store<DaffCustomerStateRootSlice>,\n ) {\n const {\n selectAddress,\n selectAddresses,\n selectErrors,\n selectHasErrors,\n selectLoading,\n selectLoadingState,\n selectMutating,\n selectResolving,\n } = daffCustomerAddressGetSelectors<T>();\n\n this._selectAddress = selectAddress;\n\n this.addresses$ = this.store.pipe(select(selectAddresses));\n this.loadingState$ = this.store.pipe(select(selectLoadingState));\n this.loading$ = this.store.pipe(select(selectLoading));\n this.resolving$ = this.store.pipe(select(selectResolving));\n this.mutating$ = this.store.pipe(select(selectMutating));\n this.errors$ = this.store.pipe(select(selectErrors));\n this.hasErrors$ = this.store.pipe(select(selectHasErrors));\n }\n\n getAddress(id: T['id']): Observable<T> {\n return this.store.pipe(select(this._selectAddress(id)));\n }\n\n dispatch(action: Action) {\n this.store.dispatch(action);\n }\n}\n","import {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Actions,\n createEffect,\n ofType,\n} from '@ngrx/effects';\nimport { of } from 'rxjs';\nimport {\n switchMap,\n map,\n catchError,\n} from 'rxjs/operators';\n\nimport { DaffError } from '@daffodil/core';\nimport { ErrorTransformer } from '@daffodil/core/state';\nimport {\n DaffCustomerAddress,\n DAFF_CUSTOMER_ERROR_MATCHER,\n} from '@daffodil/customer';\nimport {\n DaffCustomerAddressDriver,\n DaffCustomerAddressDriverInterface,\n} from '@daffodil/customer/driver';\n\nimport {\n DaffCustomerAddressActionTypes,\n DaffCustomerAddressLoad,\n DaffCustomerAddressLoadSuccess,\n DaffCustomerAddressLoadFailure,\n DaffCustomerAddressUpdate,\n DaffCustomerAddressUpdateSuccess,\n DaffCustomerAddressUpdateFailure,\n DaffCustomerAddressAdd,\n DaffCustomerAddressAddFailure,\n DaffCustomerAddressAddSuccess,\n DaffCustomerAddressDelete,\n DaffCustomerAddressDeleteFailure,\n DaffCustomerAddressDeleteSuccess,\n DaffCustomerAddressList,\n DaffCustomerAddressListFailure,\n DaffCustomerAddressListSuccess,\n} from '../actions/address.actions';\n\n@Injectable()\nexport class DaffCustomerAddressEffects<\n T extends DaffCustomerAddress = DaffCustomerAddress,\n> {\n constructor(\n private actions$: Actions,\n @Inject(DaffCustomerAddressDriver) private driver: DaffCustomerAddressDriverInterface<T>,\n @Inject(DAFF_CUSTOMER_ERROR_MATCHER) private errorMatcher: ErrorTransformer,\n ) {}\n\n list$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressListAction),\n switchMap((action: DaffCustomerAddressList) =>\n this.driver.list().pipe(\n map(resp => new DaffCustomerAddressListSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressListFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n\n /**\n * An effect for loading a customer address.\n */\n get$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressLoadAction),\n switchMap((action: DaffCustomerAddressLoad) =>\n this.driver.get(action.addressId).pipe(\n map(resp => new DaffCustomerAddressLoadSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressLoadFailure(this.errorMatcher(error), action.addressId))),\n ),\n ),\n ));\n\n /**\n * An effect for updating a customer address.\n */\n update$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressUpdateAction),\n switchMap((action: DaffCustomerAddressUpdate<T>) =>\n this.driver.update(action.address).pipe(\n map(resp => new DaffCustomerAddressUpdateSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressUpdateFailure(this.errorMatcher(error), action.address.id))),\n ),\n ),\n ));\n\n /**\n * An effect for adding a new customer address.\n */\n add$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressAddAction),\n switchMap((action: DaffCustomerAddressAdd<T>) =>\n this.driver.add(action.address).pipe(\n map(resp => new DaffCustomerAddressAddSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressAddFailure(this.errorMatcher(error), action.placeholderId))),\n ),\n ),\n ));\n\n /**\n * An effect for adding a new customer address.\n */\n delete$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerAddressActionTypes.AddressDeleteAction),\n switchMap((action: DaffCustomerAddressDelete) =>\n this.driver.delete(action.addressId).pipe(\n map(resp => new DaffCustomerAddressDeleteSuccess(resp)),\n catchError((error: DaffError) => of(new DaffCustomerAddressDeleteFailure(this.errorMatcher(error), action.addressId))),\n ),\n ),\n ));\n}\n","import {\n Injectable,\n Inject,\n} from '@angular/core';\nimport {\n Actions,\n createEffect,\n ofType,\n} from '@ngrx/effects';\nimport { of } from 'rxjs';\nimport {\n switchMap,\n map,\n catchError,\n} from 'rxjs/operators';\n\nimport { DaffError } from '@daffodil/core';\nimport { ErrorTransformer } from '@daffodil/core/state';\nimport {\n DaffCustomer,\n DAFF_CUSTOMER_ERROR_MATCHER,\n} from '@daffodil/customer';\nimport {\n DaffCustomerDriverInterface,\n DaffCustomerDriver,\n} from '@daffodil/customer/driver';\n\nimport {\n DaffCustomerActionTypes,\n DaffCustomerLoad,\n DaffCustomerLoadSuccess,\n DaffCustomerLoadFailure,\n DaffCustomerUpdate,\n DaffCustomerUpdateFailure,\n DaffCustomerUpdateSuccess,\n DaffCustomerChangeEmail,\n DaffCustomerChangeEmailFailure,\n DaffCustomerChangeEmailSuccess,\n DaffCustomerChangePassword,\n DaffCustomerChangePasswordFailure,\n DaffCustomerChangePasswordSuccess,\n} from '../actions/customer.actions';\n\n@Injectable()\nexport class DaffCustomerEffects<\n T extends DaffCustomer = DaffCustomer,\n> {\n constructor(\n private actions$: Actions,\n @Inject(DaffCustomerDriver) private driver: DaffCustomerDriverInterface<T>,\n @Inject(DAFF_CUSTOMER_ERROR_MATCHER) private errorMatcher: ErrorTransformer,\n ) {}\n\n /**\n * An effect for the loading of an customer.\n */\n get$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerActionTypes.CustomerLoadAction),\n switchMap((action: DaffCustomerLoad) =>\n this.driver.get().pipe(\n map(resp => new DaffCustomerLoadSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerLoadFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n\n /**\n * An effect for the updating of an customer.\n */\n update$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerActionTypes.CustomerUpdateAction),\n switchMap((action: DaffCustomerUpdate<T>) =>\n this.driver.update(action.customer).pipe(\n map(resp => new DaffCustomerUpdateSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerUpdateFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n\n /**\n * An effect for changing a customer email.\n */\n changeEmail$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerActionTypes.CustomerChangeEmailAction),\n switchMap((action: DaffCustomerChangeEmail) =>\n this.driver.changeEmail(action.email, action.password).pipe(\n map(resp => new DaffCustomerChangeEmailSuccess<T>(resp)),\n catchError((error: DaffError) => of(new DaffCustomerChangeEmailFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n\n /**\n * An effect for changing a customer password.\n */\n changePassword$ = createEffect(() => this.actions$.pipe(\n ofType(DaffCustomerActionTypes.CustomerChangePasswordAction),\n switchMap((action: DaffCustomerChangePassword) =>\n this.driver.changePassword(action.oldPassword, action.newPassword).pipe(\n map(() => new DaffCustomerChangePasswordSuccess()),\n catchError((error: DaffError) => of(new DaffCustomerChangePasswordFailure(this.errorMatcher(error)))),\n ),\n ),\n ));\n}\n","import {\n inject,\n InjectionToken,\n} from '@angular/core';\nimport {\n ActionReducer,\n combineReducers,\n} from '@ngrx/store';\n\nimport { daffComposeReducers } from '@daffodil/core/state';\n// these unused imports are a workaround\nimport { DaffCustomer } from '@daffodil/customer';\n\nimport { daffCustomerAddressEntitiesReducer } from '../address-entities/public_api';\nimport { daffCustomerAddressReducer } from '../address/public_api';\nimport { daffCustomerReducer } from '../customer/reducer';\nimport { DaffCustomerReducersState } from '../reducers.interface';\nimport { DAFF_CUSTOMER_EXTRA_REDUCERS } from './extra.token';\n\n/**\n * An internal token to hold the Daffodil customer reducers.\n * Includes the extra and standard reducers.\n *\n * @docs-private\n */\nexport const DAFF_CUSTOMER_REDUCERS = new InjectionToken<ActionReducer<DaffCustomerReducersState>>(\n 'DAFF_CUSTOMER_REDUCERS',\n {\n providedIn: 'any',\n factory: () => daffComposeReducers([\n combineReducers({\n customer: daffCustomerReducer,\n address: daffCustomerAddressReducer,\n addressEntities: daffCustomerAddressEntitiesReducer,\n }),\n ...inject(DAFF_CUSTOMER_EXTRA_REDUCERS),\n ]),\n },\n);\n","import { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { StoreModule } from '@ngrx/store';\n\nimport { DaffCustomerAddressEffects } from './effects/address.effects';\nimport { DaffCustomerEffects } from './effects/customer.effects';\nimport { DAFF_CUSTOMER_STORE_FEATURE_KEY } from './reducers/public_api';\nimport { DAFF_CUSTOMER_REDUCERS } from './reducers/token/reducers.token';\n\n/**\n * Creates the customer feature store.\n */\n@NgModule({\n imports: [\n StoreModule.forFeature(DAFF_CUSTOMER_STORE_FEATURE_KEY, DAFF_CUSTOMER_REDUCERS),\n EffectsModule.forFeature([\n DaffCustomerEffects,\n DaffCustomerAddressEffects,\n ]),\n ],\n})\nexport class DaffCustomerStateModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n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YAC/E,aAAa,CAAC,UAAU,CAAC;gBACvB,mBAAmB;gBACnB,0BAA0B;aAC3B,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;2FAEU,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBATnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;AACP,wBAAA,WAAW,CAAC,UAAU,CAAC,+BAA+B,EAAE,sBAAsB,CAAC;wBAC/E,aAAa,CAAC,UAAU,CAAC;4BACvB,mBAAmB;4BACnB,0BAA0B;yBAC3B,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daffodil/customer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"description": "A client-side Angular package for managing ecommerce customers agnostic to the ecommerce platform.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@angular/common": "^13.0.0",
|
|
17
17
|
"@angular/core": "^13.0.0",
|
|
18
|
-
"@daffodil/geography": "0.
|
|
19
|
-
"@daffodil/core": "0.
|
|
18
|
+
"@daffodil/geography": "0.56.0",
|
|
19
|
+
"@daffodil/core": "0.56.0",
|
|
20
20
|
"@ngrx/effects": "^13.0.0",
|
|
21
21
|
"@ngrx/store": "^13.0.0",
|
|
22
22
|
"rxjs": "7.5.5"
|
|
23
23
|
},
|
|
24
24
|
"optionalDependencies": {
|
|
25
25
|
"@apollo/client": "^3.0.0",
|
|
26
|
-
"@daffodil/driver": "0.
|
|
26
|
+
"@daffodil/driver": "0.56.0",
|
|
27
27
|
"apollo-angular": "^3.0.1",
|
|
28
28
|
"@faker-js/faker": "^7.6.0"
|
|
29
29
|
},
|
|
@@ -14,11 +14,11 @@ export declare class DaffCustomerAddressPageFacade<T extends DaffCustomerAddress
|
|
|
14
14
|
private store;
|
|
15
15
|
private _selectAddress;
|
|
16
16
|
addresses$: Observable<T[]>;
|
|
17
|
-
loadingState$: Observable<DaffCustomerAddressReducerState['
|
|
17
|
+
loadingState$: Observable<DaffCustomerAddressReducerState['daffState']>;
|
|
18
18
|
loading$: Observable<boolean>;
|
|
19
19
|
resolving$: Observable<boolean>;
|
|
20
20
|
mutating$: Observable<boolean>;
|
|
21
|
-
errors$: Observable<DaffCustomerAddressReducerState['
|
|
21
|
+
errors$: Observable<DaffCustomerAddressReducerState['daffErrors']>;
|
|
22
22
|
hasErrors$: Observable<boolean>;
|
|
23
23
|
constructor(store: Store<DaffCustomerStateRootSlice>);
|
|
24
24
|
getAddress(id: T['id']): Observable<T>;
|
|
@@ -13,11 +13,11 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
export declare class DaffCustomerPageFacade<T extends DaffCustomer = DaffCustomer> implements DaffCustomerPageFacadeInterface<T> {
|
|
14
14
|
private store;
|
|
15
15
|
customer$: Observable<T>;
|
|
16
|
-
loadingState$: Observable<DaffCustomerReducerState<T>['
|
|
16
|
+
loadingState$: Observable<DaffCustomerReducerState<T>['daffState']>;
|
|
17
17
|
loading$: Observable<boolean>;
|
|
18
18
|
resolving$: Observable<boolean>;
|
|
19
19
|
mutating$: Observable<boolean>;
|
|
20
|
-
errors$: Observable<DaffCustomerReducerState<T>['
|
|
20
|
+
errors$: Observable<DaffCustomerReducerState<T>['daffErrors']>;
|
|
21
21
|
hasErrors$: Observable<boolean>;
|
|
22
22
|
constructor(store: Store<DaffCustomerStateRootSlice>);
|
|
23
23
|
dispatch(action: Action): void;
|