UNPKG

@spartacus/cart

Version:

`@spartacus/cart` is a package that you can include in your application, which allows you to use various cart features.

54 lines (46 loc) 3.52 kB
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@spartacus/cart/saved-cart/components'), require('@spartacus/cart/saved-cart/core'), require('@spartacus/cart/saved-cart/occ')) : typeof define === 'function' && define.amd ? define('@spartacus/cart/saved-cart', ['exports', '@angular/core', '@spartacus/cart/saved-cart/components', '@spartacus/cart/saved-cart/core', '@spartacus/cart/saved-cart/occ'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.spartacus = global.spartacus || {}, global.spartacus.cart = global.spartacus.cart || {}, global.spartacus.cart['saved-cart'] = {}), global.ng.core, global.spartacus.cart['saved-cart'].components, global.spartacus.cart['saved-cart'].core, global.spartacus.cart['saved-cart'].occ)); }(this, (function (exports, i0, components, core, occ) { 'use strict'; function _interopNamespace(e) { if (e && e.__esModule) return e; var n = Object.create(null); if (e) { Object.keys(e).forEach(function (k) { if (k !== 'default') { var d = Object.getOwnPropertyDescriptor(e, k); Object.defineProperty(n, k, d.get ? d : { enumerable: true, get: function () { return e[k]; } }); } }); } n['default'] = e; return Object.freeze(n); } var i0__namespace = /*#__PURE__*/_interopNamespace(i0); var SavedCartModule = /** @class */ (function () { function SavedCartModule() { } return SavedCartModule; }()); SavedCartModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SavedCartModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule }); SavedCartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SavedCartModule, imports: [core.SavedCartCoreModule, occ.SavedCartOccModule, components.SavedCartComponentsModule] }); SavedCartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SavedCartModule, imports: [[core.SavedCartCoreModule, occ.SavedCartOccModule, components.SavedCartComponentsModule]] }); i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: SavedCartModule, decorators: [{ type: i0.NgModule, args: [{ imports: [core.SavedCartCoreModule, occ.SavedCartOccModule, components.SavedCartComponentsModule], }] }] }); /** * Generated bundle index. Do not edit. */ exports.SavedCartModule = SavedCartModule; Object.defineProperty(exports, '__esModule', { value: true }); }))); //# sourceMappingURL=spartacus-cart-saved-cart.umd.js.map