@daffodil/cart 0.87.2 → 0.88.1
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/driver/in-memory/backend/cart-root.service.d.ts +3 -2
- package/fesm2022/daffodil-cart-driver-in-memory.mjs +9 -5
- package/fesm2022/daffodil-cart-driver-in-memory.mjs.map +1 -1
- package/fesm2022/daffodil-cart-driver-magento-testing.mjs +2 -2
- package/fesm2022/daffodil-cart-driver-magento-testing.mjs.map +1 -1
- package/fesm2022/daffodil-cart-driver-magento.mjs +2 -2
- package/fesm2022/daffodil-cart-driver-magento.mjs.map +1 -1
- package/fesm2022/daffodil-cart-state.mjs +57 -36
- package/fesm2022/daffodil-cart-state.mjs.map +1 -1
- package/fesm2022/daffodil-cart-testing.mjs +3 -2
- package/fesm2022/daffodil-cart-testing.mjs.map +1 -1
- package/package.json +1 -1
- package/state/actions/cart-order.actions.d.ts +14 -2
- package/state/effects/cart-order.effects.d.ts +5 -4
|
@@ -5,14 +5,14 @@ import * as i1 from '@ngrx/effects';
|
|
|
5
5
|
import { createEffect, ofType, EffectsModule } from '@ngrx/effects';
|
|
6
6
|
import { defer, combineLatest, of, iif, EMPTY } from 'rxjs';
|
|
7
7
|
import { switchMap, map, concatMap, mergeMap, take, debounceTime, tap } from 'rxjs/operators';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i2 from '@daffodil/cart/driver';
|
|
9
9
|
import { DaffCartPaymentDriver, DaffCartDriverErrorCodes, DaffCartAddressDriver, DaffCartBillingAddressDriver, DaffCartCouponDriver, daffCartDriverHandleCartNotFound, DaffCartItemDriver, DaffCartOrderDriver, DaffCartPaymentMethodsDriver, DaffCartShippingAddressDriver, DaffCartShippingInformationDriver, DaffCartShippingMethodsDriver, DaffCartDriver } from '@daffodil/cart/driver';
|
|
10
10
|
import { DaffPaymentGenerateTokenFailure, DAFF_PAYMENT_PROCESSOR_COLLECTION, DAFF_PAYMENT_ERROR_MATCHER, daffPaymentInitialState, DaffPaymentStateReducerAdapter, daffPaymentProvideExtraReducers } from '@daffodil/payment/state';
|
|
11
11
|
import { daffTransformErrorToStateError, daffCreateOperationEntityStateAdapter, daffComposeReducers, daffIdentityReducer } from '@daffodil/core/state';
|
|
12
12
|
import * as i1$1 from '@ngrx/store';
|
|
13
13
|
import { createFeatureSelector, createSelector, defaultMemoize, select, combineReducers, StoreModule } from '@ngrx/store';
|
|
14
14
|
import { daffComparePersonalAddresses } from '@daffodil/geography';
|
|
15
|
-
import * as i2 from '@daffodil/cart';
|
|
15
|
+
import * as i2$1 from '@daffodil/cart';
|
|
16
16
|
import { daffCartItemInputToItemTransform, DaffCartItemInputType, DaffCartPaymentMethodIdMap, daffCartGetAffectedItems, DaffCartResolutionError, DaffCartStorageResolutionError, DaffCartServerSideResolutionError } from '@daffodil/cart';
|
|
17
17
|
import { createEntityAdapter } from '@ngrx/entity';
|
|
18
18
|
import { isPlatformBrowser } from '@angular/common';
|
|
@@ -895,6 +895,7 @@ var DaffCartOrderActionTypes;
|
|
|
895
895
|
DaffCartOrderActionTypes["CartPlaceOrderAction"] = "[@daffodil/cart] Cart Place Order Action";
|
|
896
896
|
DaffCartOrderActionTypes["CartPlaceOrderSuccessAction"] = "[@daffodil/cart] Cart Place Order Success Action";
|
|
897
897
|
DaffCartOrderActionTypes["CartPlaceOrderFailureAction"] = "[@daffodil/cart] Cart Place Order Failure Action";
|
|
898
|
+
DaffCartOrderActionTypes["CartPlaceOrderFailureFromOutOfStockProductAction"] = "[@daffodil/cart] Cart Place Order Failure From Out of Stock Product Action";
|
|
898
899
|
})(DaffCartOrderActionTypes || (DaffCartOrderActionTypes = {}));
|
|
899
900
|
/**
|
|
900
901
|
* Triggers the order placement for a cart.
|
|
@@ -923,6 +924,20 @@ class DaffCartPlaceOrderFailure {
|
|
|
923
924
|
this.type = DaffCartOrderActionTypes.CartPlaceOrderFailureAction;
|
|
924
925
|
}
|
|
925
926
|
}
|
|
927
|
+
/**
|
|
928
|
+
* Indicates the failed order placement for a cart due to a product being out of stock.
|
|
929
|
+
*/
|
|
930
|
+
class DaffCartPlaceOrderFailureFromOutOfStockProduct {
|
|
931
|
+
constructor(payload, cart) {
|
|
932
|
+
this.payload = payload;
|
|
933
|
+
this.cart = cart;
|
|
934
|
+
this.type = DaffCartOrderActionTypes.CartPlaceOrderFailureFromOutOfStockProductAction;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
const daffCartPlaceOrderFailureFromOutOfStockProductCartRetreivalInjection = {
|
|
938
|
+
type: DaffCartOrderActionTypes.CartPlaceOrderFailureFromOutOfStockProductAction,
|
|
939
|
+
transform: (action) => action.cart,
|
|
940
|
+
};
|
|
926
941
|
|
|
927
942
|
/**
|
|
928
943
|
* An enum for the cart coupon action types.
|
|
@@ -1119,6 +1134,7 @@ const daffCartRetrivalActions = [
|
|
|
1119
1134
|
{
|
|
1120
1135
|
type: DaffCartShippingInformationActionTypes.CartShippingInformationDeleteSuccessAction,
|
|
1121
1136
|
},
|
|
1137
|
+
daffCartPlaceOrderFailureFromOutOfStockProductCartRetreivalInjection,
|
|
1122
1138
|
];
|
|
1123
1139
|
|
|
1124
1140
|
const {
|
|
@@ -1205,7 +1221,7 @@ class DaffCartPaymentProcessorEffects {
|
|
|
1205
1221
|
updateFailure: (errors) => of(new DaffCartPaymentUpdateFailure(errors.map(this.errorMatcher))),
|
|
1206
1222
|
}))));
|
|
1207
1223
|
}
|
|
1208
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentProcessorEffects, deps: [{ token: i1.Actions }, { token: DAFF_PAYMENT_PROCESSOR_COLLECTION }, { token: DAFF_CART_ERROR_MATCHER }, { token: DAFF_PAYMENT_ERROR_MATCHER }, { token: DaffCartPaymentDriver }, { token:
|
|
1224
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentProcessorEffects, deps: [{ token: i1.Actions }, { token: DAFF_PAYMENT_PROCESSOR_COLLECTION }, { token: DAFF_CART_ERROR_MATCHER }, { token: DAFF_PAYMENT_ERROR_MATCHER }, { token: DaffCartPaymentDriver }, { token: i2.DaffCartDriverResolveService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1209
1225
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentProcessorEffects }); }
|
|
1210
1226
|
}
|
|
1211
1227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentProcessorEffects, decorators: [{
|
|
@@ -1222,7 +1238,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
1222
1238
|
}] }, { type: undefined, decorators: [{
|
|
1223
1239
|
type: Inject,
|
|
1224
1240
|
args: [DaffCartPaymentDriver]
|
|
1225
|
-
}] }, { type:
|
|
1241
|
+
}] }, { type: i2.DaffCartDriverResolveService }, { type: i0.Injector }] });
|
|
1226
1242
|
|
|
1227
1243
|
/**
|
|
1228
1244
|
* Cart Item Entities Adapter for changing/overwriting entity state.
|
|
@@ -1294,6 +1310,7 @@ function daffCartOrderReducer(state = daffCartOrderInitialState, action) {
|
|
|
1294
1310
|
loading: "Stable" /* DaffState.Stable */,
|
|
1295
1311
|
cartOrderResult: action.payload,
|
|
1296
1312
|
};
|
|
1313
|
+
case DaffCartOrderActionTypes.CartPlaceOrderFailureFromOutOfStockProductAction:
|
|
1297
1314
|
case DaffCartOrderActionTypes.CartPlaceOrderFailureAction:
|
|
1298
1315
|
return {
|
|
1299
1316
|
...state,
|
|
@@ -2303,7 +2320,7 @@ class DaffCartAddressEffects {
|
|
|
2303
2320
|
? new DaffCartStorageFailure(error.map(this.errorMatcher))
|
|
2304
2321
|
: new DaffCartAddressUpdateFailure(error.map(this.errorMatcher))))))));
|
|
2305
2322
|
}
|
|
2306
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartAddressEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartAddressDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2323
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartAddressEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartAddressDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2307
2324
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartAddressEffects }); }
|
|
2308
2325
|
}
|
|
2309
2326
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartAddressEffects, decorators: [{
|
|
@@ -2314,7 +2331,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2314
2331
|
}] }, { type: undefined, decorators: [{
|
|
2315
2332
|
type: Inject,
|
|
2316
2333
|
args: [DaffCartAddressDriver]
|
|
2317
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2334
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2318
2335
|
|
|
2319
2336
|
class DaffCartBillingAddressEffects {
|
|
2320
2337
|
constructor(actions$, errorMatcher, driver, storage) {
|
|
@@ -2325,7 +2342,7 @@ class DaffCartBillingAddressEffects {
|
|
|
2325
2342
|
this.get$ = createEffect(() => this.actions$.pipe(ofType(DaffCartBillingAddressActionTypes.CartBillingAddressLoadAction), switchMap((action) => this.driver.get(this.storage.getCartId()).pipe(map((resp) => new DaffCartBillingAddressLoadSuccess(resp)), catchAndArrayifyErrors(error => of(new DaffCartBillingAddressLoadFailure(error.map(this.errorMatcher))))))));
|
|
2326
2343
|
this.update$ = createEffect(() => this.actions$.pipe(ofType(DaffCartBillingAddressActionTypes.CartBillingAddressUpdateAction), switchMap((action) => this.driver.update(this.storage.getCartId(), action.payload).pipe(map((resp) => new DaffCartBillingAddressUpdateSuccess(resp)), catchAndArrayifyErrors(error => of(new DaffCartBillingAddressUpdateFailure(error.map(this.errorMatcher))))))));
|
|
2327
2344
|
}
|
|
2328
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartBillingAddressEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartBillingAddressDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2345
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartBillingAddressEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartBillingAddressDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2329
2346
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartBillingAddressEffects }); }
|
|
2330
2347
|
}
|
|
2331
2348
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartBillingAddressEffects, decorators: [{
|
|
@@ -2336,7 +2353,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2336
2353
|
}] }, { type: undefined, decorators: [{
|
|
2337
2354
|
type: Inject,
|
|
2338
2355
|
args: [DaffCartBillingAddressDriver]
|
|
2339
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2356
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2340
2357
|
|
|
2341
2358
|
class DaffCartCouponEffects {
|
|
2342
2359
|
constructor(actions$, errorMatcher, driver, storage) {
|
|
@@ -2357,7 +2374,7 @@ class DaffCartCouponEffects {
|
|
|
2357
2374
|
? new DaffCartStorageFailure(error.map(this.errorMatcher))
|
|
2358
2375
|
: new DaffCartCouponRemoveAllFailure(error.map(this.errorMatcher))))))));
|
|
2359
2376
|
}
|
|
2360
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartCouponEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartCouponDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2377
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartCouponEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartCouponDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2361
2378
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartCouponEffects }); }
|
|
2362
2379
|
}
|
|
2363
2380
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartCouponEffects, decorators: [{
|
|
@@ -2368,7 +2385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2368
2385
|
}] }, { type: undefined, decorators: [{
|
|
2369
2386
|
type: Inject,
|
|
2370
2387
|
args: [DaffCartCouponDriver]
|
|
2371
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2388
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2372
2389
|
|
|
2373
2390
|
/**
|
|
2374
2391
|
* @inheritdoc
|
|
@@ -2377,7 +2394,6 @@ class DaffCartFacade {
|
|
|
2377
2394
|
constructor(store,
|
|
2378
2395
|
// typing this as `Record<string, any>` or `object` fails the build
|
|
2379
2396
|
// because Angular explicitly types this as `Object`
|
|
2380
|
-
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
2381
2397
|
paymentMethodMap) {
|
|
2382
2398
|
this.store = store;
|
|
2383
2399
|
this.paymentMethodMap = paymentMethodMap;
|
|
@@ -2506,7 +2522,7 @@ class DaffCartItemEffects {
|
|
|
2506
2522
|
? combineLatest(items.map(item => this.driver.delete(this.storage.getCartId(), item.id))).pipe(map(partialCarts => Object.assign({}, ...partialCarts)))
|
|
2507
2523
|
: this.cartFacade.cart$.pipe(take(1))), map((cart) => new DaffCartItemDeleteOutOfStockSuccess(cart)), catchAndArrayifyErrors(error => of(new DaffCartItemDeleteOutOfStockFailure(error.map(this.errorMatcher))))));
|
|
2508
2524
|
}
|
|
2509
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartItemEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartItemDriver }, { token: i2.DaffCartStorageService }, { token: DaffCartItemStateDebounceTime }, { token:
|
|
2525
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartItemEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartItemDriver }, { token: i2$1.DaffCartStorageService }, { token: DaffCartItemStateDebounceTime }, { token: i2.DaffCartDriverResolveService }, { token: DaffCartFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2510
2526
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartItemEffects }); }
|
|
2511
2527
|
}
|
|
2512
2528
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartItemEffects, decorators: [{
|
|
@@ -2517,23 +2533,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2517
2533
|
}] }, { type: undefined, decorators: [{
|
|
2518
2534
|
type: Inject,
|
|
2519
2535
|
args: [DaffCartItemDriver]
|
|
2520
|
-
}] }, { type: i2.DaffCartStorageService }, { type: undefined, decorators: [{
|
|
2536
|
+
}] }, { type: i2$1.DaffCartStorageService }, { type: undefined, decorators: [{
|
|
2521
2537
|
type: Inject,
|
|
2522
2538
|
args: [DaffCartItemStateDebounceTime]
|
|
2523
|
-
}] }, { type:
|
|
2539
|
+
}] }, { type: i2.DaffCartDriverResolveService }, { type: DaffCartFacade }] });
|
|
2524
2540
|
|
|
2525
2541
|
class DaffCartOrderEffects {
|
|
2526
|
-
constructor(actions$, errorMatcher, driver, storage) {
|
|
2542
|
+
constructor(actions$, errorMatcher, getCart, driver, storage) {
|
|
2527
2543
|
this.actions$ = actions$;
|
|
2528
2544
|
this.errorMatcher = errorMatcher;
|
|
2545
|
+
this.getCart = getCart;
|
|
2529
2546
|
this.driver = driver;
|
|
2530
2547
|
this.storage = storage;
|
|
2531
|
-
this.placeOrder$ = createEffect(() => this.actions$.pipe(ofType(DaffCartOrderActionTypes.CartPlaceOrderAction), switchMap((action) =>
|
|
2532
|
-
? new DaffCartStorageFailure(error.map(this.errorMatcher))
|
|
2533
|
-
:
|
|
2548
|
+
this.placeOrder$ = createEffect(() => this.actions$.pipe(ofType(DaffCartOrderActionTypes.CartPlaceOrderAction), switchMap((action) => this.getCart.getCartIdOrFail().pipe(switchMap(cartId => this.driver.placeOrder(cartId, action.payload)), map((resp) => new DaffCartPlaceOrderSuccess(resp)), catchAndArrayifyErrors(error => error.find((err) => err.code === DAFF_STORAGE_SERVICE_ERROR_CODE)
|
|
2549
|
+
? of(new DaffCartStorageFailure(error.map(this.errorMatcher)))
|
|
2550
|
+
: error.find((err) => err.code === DaffCartDriverErrorCodes.PRODUCT_OUT_OF_STOCK)
|
|
2551
|
+
? this.getCart.getCartOrFail().pipe(map((response) => response.errors.length > 0
|
|
2552
|
+
? new DaffCartPlaceOrderFailure(error.concat(response.errors).map(this.errorMatcher))
|
|
2553
|
+
: new DaffCartPlaceOrderFailureFromOutOfStockProduct(error.map(this.errorMatcher), response.response)), catchAndArrayifyErrors((errors) => of(new DaffCartPlaceOrderFailure(error.concat(errors).map(this.errorMatcher)))))
|
|
2554
|
+
: of(new DaffCartPlaceOrderFailure(error.map(this.errorMatcher))))))));
|
|
2534
2555
|
this.resetCart$ = createEffect(() => this.actions$.pipe(ofType(DaffCartOrderActionTypes.CartPlaceOrderSuccessAction), map(() => new DaffCartCreate())));
|
|
2535
2556
|
}
|
|
2536
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartOrderEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartOrderDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2557
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartOrderEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: i2.DaffCartDriverResolveService }, { token: DaffCartOrderDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2537
2558
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartOrderEffects }); }
|
|
2538
2559
|
}
|
|
2539
2560
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartOrderEffects, decorators: [{
|
|
@@ -2541,10 +2562,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2541
2562
|
}], ctorParameters: () => [{ type: i1.Actions }, { type: undefined, decorators: [{
|
|
2542
2563
|
type: Inject,
|
|
2543
2564
|
args: [DAFF_CART_ERROR_MATCHER]
|
|
2544
|
-
}] }, { type: undefined, decorators: [{
|
|
2565
|
+
}] }, { type: i2.DaffCartDriverResolveService }, { type: undefined, decorators: [{
|
|
2545
2566
|
type: Inject,
|
|
2546
2567
|
args: [DaffCartOrderDriver]
|
|
2547
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2568
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2548
2569
|
|
|
2549
2570
|
class DaffCartPaymentMethodsEffects {
|
|
2550
2571
|
constructor(actions$, errorMatcher, driver, storage) {
|
|
@@ -2554,7 +2575,7 @@ class DaffCartPaymentMethodsEffects {
|
|
|
2554
2575
|
this.storage = storage;
|
|
2555
2576
|
this.list$ = createEffect(() => this.actions$.pipe(ofType(DaffCartPaymentMethodsActionTypes.CartPaymentMethodsLoadAction), switchMap((action) => this.driver.list(this.storage.getCartId()).pipe(map((resp) => new DaffCartPaymentMethodsLoadSuccess(resp)), catchAndArrayifyErrors(error => of(new DaffCartPaymentMethodsLoadFailure(error.map(this.errorMatcher))))))));
|
|
2556
2577
|
}
|
|
2557
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentMethodsEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartPaymentMethodsDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2578
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentMethodsEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartPaymentMethodsDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2558
2579
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentMethodsEffects }); }
|
|
2559
2580
|
}
|
|
2560
2581
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentMethodsEffects, decorators: [{
|
|
@@ -2565,7 +2586,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2565
2586
|
}] }, { type: undefined, decorators: [{
|
|
2566
2587
|
type: Inject,
|
|
2567
2588
|
args: [DaffCartPaymentMethodsDriver]
|
|
2568
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2589
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2569
2590
|
|
|
2570
2591
|
class DaffCartPaymentEffects {
|
|
2571
2592
|
constructor(actions$, errorMatcher, driver, storage) {
|
|
@@ -2578,7 +2599,7 @@ class DaffCartPaymentEffects {
|
|
|
2578
2599
|
this.updateWithBilling$ = createEffect(() => this.actions$.pipe(ofType(DaffCartPaymentActionTypes.CartPaymentUpdateWithBillingAction), switchMap((action) => this.driver.update(this.storage.getCartId(), action.payment, action.address).pipe(map(resp => new DaffCartPaymentUpdateWithBillingSuccess(resp)), catchAndArrayifyErrors(error => of(new DaffCartPaymentUpdateWithBillingFailure(error.map(this.errorMatcher))))))));
|
|
2579
2600
|
this.remove$ = createEffect(() => this.actions$.pipe(ofType(DaffCartPaymentActionTypes.CartPaymentRemoveAction), switchMap((action) => this.driver.remove(this.storage.getCartId()).pipe(map(() => new DaffCartPaymentRemoveSuccess()), catchAndArrayifyErrors(error => of(new DaffCartPaymentRemoveFailure(error.map(this.errorMatcher))))))));
|
|
2580
2601
|
}
|
|
2581
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartPaymentDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2602
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartPaymentDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2582
2603
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentEffects }); }
|
|
2583
2604
|
}
|
|
2584
2605
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartPaymentEffects, decorators: [{
|
|
@@ -2589,7 +2610,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2589
2610
|
}] }, { type: undefined, decorators: [{
|
|
2590
2611
|
type: Inject,
|
|
2591
2612
|
args: [DaffCartPaymentDriver]
|
|
2592
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2613
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2593
2614
|
|
|
2594
2615
|
/**
|
|
2595
2616
|
* An effect for resolving a guest cart for a customer.
|
|
@@ -2633,7 +2654,7 @@ class DaffCartResolverEffects {
|
|
|
2633
2654
|
ngrxOnInitEffects() {
|
|
2634
2655
|
return isPlatformBrowser(this.platformId) && this.cartStorage.getCartId() ? new DaffResolveCart() : { type: '' };
|
|
2635
2656
|
}
|
|
2636
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartResolverEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: i2.DaffCartStorageService }, { token:
|
|
2657
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartResolverEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: i2$1.DaffCartStorageService }, { token: i2.DaffCartDriverResolveService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2637
2658
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartResolverEffects }); }
|
|
2638
2659
|
}
|
|
2639
2660
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartResolverEffects, decorators: [{
|
|
@@ -2641,7 +2662,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2641
2662
|
}], ctorParameters: () => [{ type: i1.Actions }, { type: undefined, decorators: [{
|
|
2642
2663
|
type: Inject,
|
|
2643
2664
|
args: [DAFF_CART_ERROR_MATCHER]
|
|
2644
|
-
}] }, { type: i2.DaffCartStorageService }, { type:
|
|
2665
|
+
}] }, { type: i2$1.DaffCartStorageService }, { type: i2.DaffCartDriverResolveService }, { type: undefined, decorators: [{
|
|
2645
2666
|
type: Inject,
|
|
2646
2667
|
args: [PLATFORM_ID]
|
|
2647
2668
|
}] }] });
|
|
@@ -2655,7 +2676,7 @@ class DaffCartShippingAddressEffects {
|
|
|
2655
2676
|
this.get$ = createEffect(() => this.actions$.pipe(ofType(DaffCartShippingAddressActionTypes.CartShippingAddressLoadAction), switchMap((action) => this.driver.get(this.storage.getCartId()).pipe(map((resp) => new DaffCartShippingAddressLoadSuccess(resp)), catchAndArrayifyErrors(error => of(new DaffCartShippingAddressLoadFailure(error.map(this.errorMatcher))))))));
|
|
2656
2677
|
this.update$ = createEffect(() => this.actions$.pipe(ofType(DaffCartShippingAddressActionTypes.CartShippingAddressUpdateAction), switchMap((action) => this.driver.update(this.storage.getCartId(), action.payload).pipe(map((resp) => new DaffCartShippingAddressUpdateSuccess(resp)), catchAndArrayifyErrors(error => of(new DaffCartShippingAddressUpdateFailure(error.map(this.errorMatcher))))))));
|
|
2657
2678
|
}
|
|
2658
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingAddressEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartShippingAddressDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2679
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingAddressEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartShippingAddressDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2659
2680
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingAddressEffects }); }
|
|
2660
2681
|
}
|
|
2661
2682
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingAddressEffects, decorators: [{
|
|
@@ -2666,7 +2687,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2666
2687
|
}] }, { type: undefined, decorators: [{
|
|
2667
2688
|
type: Inject,
|
|
2668
2689
|
args: [DaffCartShippingAddressDriver]
|
|
2669
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2690
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2670
2691
|
|
|
2671
2692
|
class DaffCartShippingInformationEffects {
|
|
2672
2693
|
constructor(actions$, errorMatcher, driver, storage) {
|
|
@@ -2678,7 +2699,7 @@ class DaffCartShippingInformationEffects {
|
|
|
2678
2699
|
this.update$ = createEffect(() => this.actions$.pipe(ofType(DaffCartShippingInformationActionTypes.CartShippingInformationUpdateAction), switchMap((action) => this.driver.update(this.storage.getCartId(), action.payload).pipe(map((resp) => new DaffCartShippingInformationUpdateSuccess(resp)), catchAndArrayifyErrors(error => of(new DaffCartShippingInformationUpdateFailure(error.map(this.errorMatcher))))))));
|
|
2679
2700
|
this.delete$ = createEffect(() => this.actions$.pipe(ofType(DaffCartShippingInformationActionTypes.CartShippingInformationDeleteAction), switchMap((action) => this.driver.delete(this.storage.getCartId()).pipe(map((resp) => new DaffCartShippingInformationDeleteSuccess(resp)), catchAndArrayifyErrors(error => of(new DaffCartShippingInformationDeleteFailure(error.map(this.errorMatcher))))))));
|
|
2680
2701
|
}
|
|
2681
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingInformationEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartShippingInformationDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2702
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingInformationEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartShippingInformationDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2682
2703
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingInformationEffects }); }
|
|
2683
2704
|
}
|
|
2684
2705
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingInformationEffects, decorators: [{
|
|
@@ -2689,7 +2710,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2689
2710
|
}] }, { type: undefined, decorators: [{
|
|
2690
2711
|
type: Inject,
|
|
2691
2712
|
args: [DaffCartShippingInformationDriver]
|
|
2692
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2713
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2693
2714
|
|
|
2694
2715
|
class DaffCartShippingMethodsEffects {
|
|
2695
2716
|
constructor(actions$, errorMatcher, driver, storage) {
|
|
@@ -2699,7 +2720,7 @@ class DaffCartShippingMethodsEffects {
|
|
|
2699
2720
|
this.storage = storage;
|
|
2700
2721
|
this.list$ = createEffect(() => this.actions$.pipe(ofType(DaffCartShippingMethodsActionTypes.CartShippingMethodsLoadAction), switchMap((action) => this.driver.list(this.storage.getCartId()).pipe(map((resp) => new DaffCartShippingMethodsLoadSuccess(resp)), catchAndArrayifyErrors(error => of(new DaffCartShippingMethodsLoadFailure(error.map(this.errorMatcher))))))));
|
|
2701
2722
|
}
|
|
2702
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingMethodsEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartShippingMethodsDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2723
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingMethodsEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartShippingMethodsDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2703
2724
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingMethodsEffects }); }
|
|
2704
2725
|
}
|
|
2705
2726
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartShippingMethodsEffects, decorators: [{
|
|
@@ -2710,7 +2731,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2710
2731
|
}] }, { type: undefined, decorators: [{
|
|
2711
2732
|
type: Inject,
|
|
2712
2733
|
args: [DaffCartShippingMethodsDriver]
|
|
2713
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2734
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2714
2735
|
|
|
2715
2736
|
class DaffCartEffects {
|
|
2716
2737
|
constructor(actions$, errorMatcher, driver, storage) {
|
|
@@ -2738,7 +2759,7 @@ class DaffCartEffects {
|
|
|
2738
2759
|
? new DaffCartStorageFailure(error.map(this.errorMatcher))
|
|
2739
2760
|
: new DaffCartClearFailure(error.map(this.errorMatcher))))))));
|
|
2740
2761
|
}
|
|
2741
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartDriver }, { token: i2.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2762
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartEffects, deps: [{ token: i1.Actions }, { token: DAFF_CART_ERROR_MATCHER }, { token: DaffCartDriver }, { token: i2$1.DaffCartStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2742
2763
|
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartEffects }); }
|
|
2743
2764
|
}
|
|
2744
2765
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: DaffCartEffects, decorators: [{
|
|
@@ -2749,7 +2770,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2749
2770
|
}] }, { type: undefined, decorators: [{
|
|
2750
2771
|
type: Inject,
|
|
2751
2772
|
args: [DaffCartDriver]
|
|
2752
|
-
}] }, { type: i2.DaffCartStorageService }] });
|
|
2773
|
+
}] }, { type: i2$1.DaffCartStorageService }] });
|
|
2753
2774
|
|
|
2754
2775
|
const daffCartPaymentReducer = (state = daffPaymentInitialState, action) => {
|
|
2755
2776
|
const adapter = new DaffPaymentStateReducerAdapter();
|
|
@@ -2919,5 +2940,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2919
2940
|
* Generated bundle index. Do not edit.
|
|
2920
2941
|
*/
|
|
2921
2942
|
|
|
2922
|
-
export { DAFF_CART_ERROR_MATCHER, DAFF_CART_EXTRA_REDUCERS, DAFF_CART_META_REDUCERS, DAFF_CART_RETRIEVAL_ACTIONS, DAFF_CART_STORE_FEATURE_KEY, DaffAddToCart, DaffAddToCartFailure, DaffAddToCartSuccess, DaffCartActionTypes, DaffCartAddressActionTypes, DaffCartAddressUpdate, DaffCartAddressUpdateFailure, DaffCartAddressUpdateSuccess, DaffCartBillingAddressActionTypes, DaffCartBillingAddressLoad, DaffCartBillingAddressLoadFailure, DaffCartBillingAddressLoadSuccess, DaffCartBillingAddressUpdate, DaffCartBillingAddressUpdateFailure, DaffCartBillingAddressUpdateSuccess, DaffCartClear, DaffCartClearFailure, DaffCartClearSuccess, DaffCartCouponActionTypes, DaffCartCouponApply, DaffCartCouponApplyFailure, DaffCartCouponApplySuccess, DaffCartCouponClearErrors, DaffCartCouponList, DaffCartCouponListFailure, DaffCartCouponListSuccess, DaffCartCouponRemove, DaffCartCouponRemoveAll, DaffCartCouponRemoveAllFailure, DaffCartCouponRemoveAllSuccess, DaffCartCouponRemoveFailure, DaffCartCouponRemoveSuccess, DaffCartCreate, DaffCartCreateFailure, DaffCartCreateSuccess, DaffCartFacade, DaffCartItemActionTypes, DaffCartItemAdd, DaffCartItemAddFailure, DaffCartItemAddSuccess, DaffCartItemDelete, DaffCartItemDeleteFailure, DaffCartItemDeleteOutOfStock, DaffCartItemDeleteOutOfStockFailure, DaffCartItemDeleteOutOfStockSuccess, DaffCartItemDeleteSuccess, DaffCartItemList, DaffCartItemListFailure, DaffCartItemListSuccess, DaffCartItemLoad, DaffCartItemLoadFailure, DaffCartItemLoadSuccess, DaffCartItemStateDebounceTime, DaffCartItemStateReset, DaffCartItemUpdate, DaffCartItemUpdateFailure, DaffCartItemUpdateSuccess, DaffCartLoad, DaffCartLoadFailure, DaffCartLoadPartialSuccess, DaffCartLoadSuccess, DaffCartOperationType, DaffCartOrderActionTypes, DaffCartPaymentActionTypes, DaffCartPaymentLoad, DaffCartPaymentLoadFailure, DaffCartPaymentLoadSuccess, DaffCartPaymentMethodAdd, DaffCartPaymentMethodsActionTypes, DaffCartPaymentMethodsLoad, DaffCartPaymentMethodsLoadFailure, DaffCartPaymentMethodsLoadSuccess, DaffCartPaymentRemove, DaffCartPaymentRemoveFailure, DaffCartPaymentRemoveSuccess, DaffCartPaymentUpdate, DaffCartPaymentUpdateFailure, DaffCartPaymentUpdateSuccess, DaffCartPaymentUpdateWithBilling, DaffCartPaymentUpdateWithBillingFailure, DaffCartPaymentUpdateWithBillingSuccess, DaffCartPlaceOrder, DaffCartPlaceOrderFailure, DaffCartPlaceOrderSuccess, DaffCartResolveState, DaffCartShippingAddressActionTypes, DaffCartShippingAddressLoad, DaffCartShippingAddressLoadFailure, DaffCartShippingAddressLoadSuccess, DaffCartShippingAddressUpdate, DaffCartShippingAddressUpdateFailure, DaffCartShippingAddressUpdateSuccess, DaffCartShippingInformationActionTypes, DaffCartShippingInformationDelete, DaffCartShippingInformationDeleteFailure, DaffCartShippingInformationDeleteSuccess, DaffCartShippingInformationLoad, DaffCartShippingInformationLoadFailure, DaffCartShippingInformationLoadSuccess, DaffCartShippingInformationUpdate, DaffCartShippingInformationUpdateFailure, DaffCartShippingInformationUpdateSuccess, DaffCartShippingMethodsActionTypes, DaffCartShippingMethodsLoad, DaffCartShippingMethodsLoadFailure, DaffCartShippingMethodsLoadSuccess, DaffCartStateModule, DaffCartStorageFailure, DaffResolveCart, DaffResolveCartFailure, DaffResolveCartPartialSuccess, DaffResolveCartServerSide, DaffResolveCartSuccess, daffCartItemEntitiesAdapter, daffCartItemEntitiesRetrievalActionsReducerFactory, daffCartOrderInitialState, daffCartOrderReducer, daffCartPaymentProcessorUpdate, daffCartProvideExtraReducers, daffCartProvideMetaReducers, daffCartProvideRetrievalActions, daffCartReducer, daffCartReducerInitialState, daffCartReducers, daffCartRetrievalActionsReducerFactory, daffCartRetrievalGetResponse, daffCartRetrivalActions, getDaffCartSelectors, initializeLoadingSetter, provideDaffCartErrorMatcher, provideDaffCartItemStateDebounceTime };
|
|
2943
|
+
export { DAFF_CART_ERROR_MATCHER, DAFF_CART_EXTRA_REDUCERS, DAFF_CART_META_REDUCERS, DAFF_CART_RETRIEVAL_ACTIONS, DAFF_CART_STORE_FEATURE_KEY, DaffAddToCart, DaffAddToCartFailure, DaffAddToCartSuccess, DaffCartActionTypes, DaffCartAddressActionTypes, DaffCartAddressUpdate, DaffCartAddressUpdateFailure, DaffCartAddressUpdateSuccess, DaffCartBillingAddressActionTypes, DaffCartBillingAddressLoad, DaffCartBillingAddressLoadFailure, DaffCartBillingAddressLoadSuccess, DaffCartBillingAddressUpdate, DaffCartBillingAddressUpdateFailure, DaffCartBillingAddressUpdateSuccess, DaffCartClear, DaffCartClearFailure, DaffCartClearSuccess, DaffCartCouponActionTypes, DaffCartCouponApply, DaffCartCouponApplyFailure, DaffCartCouponApplySuccess, DaffCartCouponClearErrors, DaffCartCouponList, DaffCartCouponListFailure, DaffCartCouponListSuccess, DaffCartCouponRemove, DaffCartCouponRemoveAll, DaffCartCouponRemoveAllFailure, DaffCartCouponRemoveAllSuccess, DaffCartCouponRemoveFailure, DaffCartCouponRemoveSuccess, DaffCartCreate, DaffCartCreateFailure, DaffCartCreateSuccess, DaffCartFacade, DaffCartItemActionTypes, DaffCartItemAdd, DaffCartItemAddFailure, DaffCartItemAddSuccess, DaffCartItemDelete, DaffCartItemDeleteFailure, DaffCartItemDeleteOutOfStock, DaffCartItemDeleteOutOfStockFailure, DaffCartItemDeleteOutOfStockSuccess, DaffCartItemDeleteSuccess, DaffCartItemList, DaffCartItemListFailure, DaffCartItemListSuccess, DaffCartItemLoad, DaffCartItemLoadFailure, DaffCartItemLoadSuccess, DaffCartItemStateDebounceTime, DaffCartItemStateReset, DaffCartItemUpdate, DaffCartItemUpdateFailure, DaffCartItemUpdateSuccess, DaffCartLoad, DaffCartLoadFailure, DaffCartLoadPartialSuccess, DaffCartLoadSuccess, DaffCartOperationType, DaffCartOrderActionTypes, DaffCartPaymentActionTypes, DaffCartPaymentLoad, DaffCartPaymentLoadFailure, DaffCartPaymentLoadSuccess, DaffCartPaymentMethodAdd, DaffCartPaymentMethodsActionTypes, DaffCartPaymentMethodsLoad, DaffCartPaymentMethodsLoadFailure, DaffCartPaymentMethodsLoadSuccess, DaffCartPaymentRemove, DaffCartPaymentRemoveFailure, DaffCartPaymentRemoveSuccess, DaffCartPaymentUpdate, DaffCartPaymentUpdateFailure, DaffCartPaymentUpdateSuccess, DaffCartPaymentUpdateWithBilling, DaffCartPaymentUpdateWithBillingFailure, DaffCartPaymentUpdateWithBillingSuccess, DaffCartPlaceOrder, DaffCartPlaceOrderFailure, DaffCartPlaceOrderFailureFromOutOfStockProduct, DaffCartPlaceOrderSuccess, DaffCartResolveState, DaffCartShippingAddressActionTypes, DaffCartShippingAddressLoad, DaffCartShippingAddressLoadFailure, DaffCartShippingAddressLoadSuccess, DaffCartShippingAddressUpdate, DaffCartShippingAddressUpdateFailure, DaffCartShippingAddressUpdateSuccess, DaffCartShippingInformationActionTypes, DaffCartShippingInformationDelete, DaffCartShippingInformationDeleteFailure, DaffCartShippingInformationDeleteSuccess, DaffCartShippingInformationLoad, DaffCartShippingInformationLoadFailure, DaffCartShippingInformationLoadSuccess, DaffCartShippingInformationUpdate, DaffCartShippingInformationUpdateFailure, DaffCartShippingInformationUpdateSuccess, DaffCartShippingMethodsActionTypes, DaffCartShippingMethodsLoad, DaffCartShippingMethodsLoadFailure, DaffCartShippingMethodsLoadSuccess, DaffCartStateModule, DaffCartStorageFailure, DaffResolveCart, DaffResolveCartFailure, DaffResolveCartPartialSuccess, DaffResolveCartServerSide, DaffResolveCartSuccess, daffCartItemEntitiesAdapter, daffCartItemEntitiesRetrievalActionsReducerFactory, daffCartOrderInitialState, daffCartOrderReducer, daffCartPaymentProcessorUpdate, daffCartPlaceOrderFailureFromOutOfStockProductCartRetreivalInjection, daffCartProvideExtraReducers, daffCartProvideMetaReducers, daffCartProvideRetrievalActions, daffCartReducer, daffCartReducerInitialState, daffCartReducers, daffCartRetrievalActionsReducerFactory, daffCartRetrievalGetResponse, daffCartRetrivalActions, getDaffCartSelectors, initializeLoadingSetter, provideDaffCartErrorMatcher, provideDaffCartItemStateDebounceTime };
|
|
2923
2944
|
//# sourceMappingURL=daffodil-cart-state.mjs.map
|