@spartacus/cart
Version:
`@spartacus/cart` is a package that you can include in your application, which allows you to use various cart features.
82 lines (74 loc) • 3.75 kB
JavaScript
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define('@spartacus/cart/import-export/assets', ['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.spartacus = global.spartacus || {}, global.spartacus.cart = global.spartacus.cart || {}, global.spartacus.cart['import-export'] = global.spartacus.cart['import-export'] || {}, global.spartacus.cart['import-export'].assets = {})));
}(this, (function (exports) { 'use strict';
var exportEntries = {
exportToCsv: 'Export to CSV',
exportMessage: 'CSV file will download automatically to your device, if it does not please check your browser settings',
columnNames: {
code: 'Code',
quantity: 'Quantity',
name: 'Name',
price: 'Price',
},
};
var importEntries = {
importProducts: 'Import Products',
};
var importEntriesDialog = {
importProducts: 'Import Products',
importProductsSubtitle: 'Add products by importing a .CSV file.',
importProductsNewSavedCartSubtitle: 'Add products by importing a .CSV file and creating a new saved cart.',
importProductFileDetails: 'Text file should contain list of products with required columns separated by comma: SKU and quantity.',
selectFile: 'Select File',
savedCartName: 'Saved Cart Name',
savedCartDescription: 'Saved Cart Description',
optional: 'optional',
charactersLeft: 'characters left: {{count}}',
cancel: 'Cancel',
upload: 'Upload',
close: 'Close',
summary: {
info: 'Do not close or refresh this window while products are being imported.',
loadedToCart: 'Products has been loaded to cart {{ cartName }}',
loaded: 'Products has been loaded',
loading: 'Products are being processed... ({{ count }}/{{ total }})',
successes: '{{ successesCount }} out of {{ total }} products have been imported successfully.',
warning: '{{ count }} product was not imported totally.',
warning_plural: '{{ count }} products were not imported totally.',
error: '{{ count }} product was not imported.',
error_plural: '{{ count }} products were not imported.',
messages: {
unknownIdentifier: 'Product SKU "{{ productCode}}" does not exist.',
lowStock: 'Quantity for {{ productName }}: {{ quantity }} has been reduced to {{ quantityAdded }}.',
noStock: '{{ productName }} is currently out of stock.',
unknownError: 'Unrecognized problem with "{{ productCode }}".',
limitExceeded: 'Can not add "{{ productCode }}". Limit exceeded.',
},
show: 'Show',
hide: 'Hide',
},
};
var importExport = {
exportEntries: exportEntries,
importEntries: importEntries,
importEntriesDialog: importEntriesDialog,
};
var en = {
importExport: importExport,
};
var importExportTranslations = {
en: en,
};
var importExportTranslationChunksConfig = {
importExport: ['exportEntries', 'importEntries', 'importEntriesDialog'],
};
/**
* Generated bundle index. Do not edit.
*/
exports.importExportTranslationChunksConfig = importExportTranslationChunksConfig;
exports.importExportTranslations = importExportTranslations;
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=spartacus-cart-import-export-assets.umd.js.map