UNPKG

@spartacus/cart

Version:

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

106 lines (98 loc) 4.2 kB
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define('@spartacus/cart/quick-order/assets', ['exports'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.spartacus = global.spartacus || {}, global.spartacus.cart = global.spartacus.cart || {}, global.spartacus.cart['quick-order'] = global.spartacus.cart['quick-order'] || {}, global.spartacus.cart['quick-order'].assets = {}))); }(this, (function (exports) { 'use strict'; var quickOrderCartForm = { /** * @deprecated since 4.2, use entriesWereAdded instead */ entriesWasAdded: '({{ quantity }}) {{ product }} has been added to the cart', entriesWereAdded: '({{ quantity }}) {{ product }} has been added to the cart', entryWasAdded: '{{ product }} has been added to the cart', noResults: 'We could not find any products', stockLevelReached: 'The maximum stock level has been reached', title: 'Quick Order', productCodePlaceholder: 'Enter ID', addToCart: 'Add', product: 'Product', products: 'Products', productCodeLabel: 'Product ID', quantityLabel: 'Qty', }; var quickOrderForm = { placeholder: 'Enter Product name or SKU', listLimitReached: 'The product limit has been reached.', id: 'ID {{ id }}', noResults: 'We could not find any results', addProduct: 'Add product {{ product }}', }; var quickOrderList = { addToCart: 'Add to cart', emptyList: 'Empty list', header: 'Add Products/SKUs', subHeader: 'You can add up to {{ limit }} valid SKU at a time.', errorProceedingToCart: 'Error proceeding to Cart.', warningProceedingToCart: 'Warning proceeding to Cart.', successfullyAddedToCart: 'Successfully added to Cart.', errors: { productIsOutOfStock: '{{ name }} (#{{code}}) is out of stock.', reviewErrors: 'Please review these errors', listIsFull: 'The list is full, add these {{ count }} products to Cart in order to continue.', nonPurchasableError: 'Product {{ name }} cannot be purchased', }, warnings: { productWasReduced: 'Quantity for {{ name }} (#{{code}}) was reduced to {{ quantityAdded}}.', reviewWarnings: 'Please review these warnings', }, successes: { productAddedToCart: '{{ name }} (#{{code}}) was added to cart.', }, informations: { addProductBeforeAddingToCart: 'Add products to the list before adding to the cart.', }, undo: 'UNDO', productWasDeleted: 'Product "{{ name }}" moved to trash.', }; var quickOrderTable = { product: 'Product', id: 'ID', price: 'Price', quantity: 'QTY', itemPrice: 'Item price', qty: 'Qty', inStock: 'In Stock', lowStock: 'Low Stock', outOfStock: 'Out of Stock', listCleared: 'Quick order list has been cleared', addedtoCart: 'Quick order list has been added to the cart', }; var quickOrder = { quickOrderCartForm: quickOrderCartForm, quickOrderForm: quickOrderForm, quickOrderList: quickOrderList, quickOrderTable: quickOrderTable, }; var en = { quickOrder: quickOrder, }; var quickOrderTranslations = { en: en, }; // expose all translation chunk mapping for quickOrder feature var quickOrderTranslationChunksConfig = { quickOrder: [ 'quickOrderCartForm', 'quickOrderForm', 'quickOrderList', 'quickOrderTable', ], }; /** * Generated bundle index. Do not edit. */ exports.quickOrderTranslationChunksConfig = quickOrderTranslationChunksConfig; exports.quickOrderTranslations = quickOrderTranslations; Object.defineProperty(exports, '__esModule', { value: true }); }))); //# sourceMappingURL=spartacus-cart-quick-order-assets.umd.js.map