@commercetools-frontend-extensions/export-resources-modal 4.1.3 → 4.2.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/dist/commercetools-frontend-extensions-export-resources-modal.cjs.dev.js +31 -6
- package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.prod.js +31 -6
- package/dist/commercetools-frontend-extensions-export-resources-modal.esm.js +31 -6
- package/dist/{de-82710cdd.cjs.dev.js → de-2a6234a5.cjs.dev.js} +21 -33
- package/dist/{de-b9d63c63.cjs.prod.js → de-4316954a.cjs.prod.js} +21 -33
- package/dist/{de-46061c8d.esm.js → de-9c23a6d0.esm.js} +21 -33
- package/dist/declarations/src/@constants/exportable-resources.d.ts +1 -0
- package/dist/declarations/src/@types/export-resources-modal-shape.d.ts +4 -4
- package/dist/{es-4070c248.cjs.dev.js → es-2adfbcfc.cjs.dev.js} +21 -33
- package/dist/{es-bc8419ea.esm.js → es-96a36990.esm.js} +21 -33
- package/dist/{es-27083d0c.cjs.prod.js → es-b80ca82c.cjs.prod.js} +21 -33
- package/dist/{fr-FR-a10662d7.cjs.prod.js → fr-FR-6c989046.cjs.prod.js} +21 -33
- package/dist/{fr-FR-88c9c9ec.esm.js → fr-FR-8589dc5c.esm.js} +21 -33
- package/dist/{fr-FR-8f0fa6f5.cjs.dev.js → fr-FR-d36cb786.cjs.dev.js} +21 -33
- package/dist/{zh-CN-ed634d04.cjs.prod.js → zh-CN-086bca26.cjs.dev.js} +21 -33
- package/dist/{zh-CN-5b6b0a01.esm.js → zh-CN-b9eaf9b3.esm.js} +21 -33
- package/dist/{zh-CN-8bc9c078.cjs.dev.js → zh-CN-e961895b.cjs.prod.js} +21 -33
- package/package.json +24 -24
|
@@ -106,6 +106,11 @@ var messages = reactIntl.defineMessages({
|
|
|
106
106
|
description: 'Label for the products modal title',
|
|
107
107
|
defaultMessage: 'Export products'
|
|
108
108
|
},
|
|
109
|
+
'modalTitle.inventory-entry': {
|
|
110
|
+
id: 'ExportResourcesModal.modalTitle.inventoryEntry',
|
|
111
|
+
description: 'Label for the inventories modal title',
|
|
112
|
+
defaultMessage: 'Export inventories'
|
|
113
|
+
},
|
|
109
114
|
outputFormat: {
|
|
110
115
|
id: 'ExportResourcesModal.outputFormat',
|
|
111
116
|
description: 'File format like (csv, xls, ...etc)',
|
|
@@ -245,6 +250,16 @@ var messages = reactIntl.defineMessages({
|
|
|
245
250
|
description: 'Label for Export Selected products',
|
|
246
251
|
defaultMessage: 'Export selected: {total} products'
|
|
247
252
|
},
|
|
253
|
+
exportScopeAllInventories: {
|
|
254
|
+
id: 'ExportResourcesModal.exportScopeAllInventories',
|
|
255
|
+
description: 'Label for Export All inventories',
|
|
256
|
+
defaultMessage: 'Export all: {total} inventories'
|
|
257
|
+
},
|
|
258
|
+
exportScopeSelectedInventories: {
|
|
259
|
+
id: 'ExportResourcesModal.exportScopeSelectedInventories',
|
|
260
|
+
description: 'Label for Export Selected inventories',
|
|
261
|
+
defaultMessage: 'Export selected: {total} inventories'
|
|
262
|
+
},
|
|
248
263
|
exportScopeSelectedWithoutCount: {
|
|
249
264
|
id: 'ExportResourcesModal.exportScopeSelectedWithoutCount',
|
|
250
265
|
description: 'Label for Export Selected without count',
|
|
@@ -404,7 +419,9 @@ const EXPORT_TYPES = {
|
|
|
404
419
|
const EXPORTABLE_RESOURCES = {
|
|
405
420
|
CATEGORY: 'category',
|
|
406
421
|
PRODUCT: 'product',
|
|
407
|
-
|
|
422
|
+
// TODO: remove this and its usage
|
|
423
|
+
DISCOUNT_CODE: 'discountCode',
|
|
424
|
+
INVENTORY_ENTRY: 'inventory-entry'
|
|
408
425
|
};
|
|
409
426
|
|
|
410
427
|
const OUTPUT_FORMATS = {
|
|
@@ -421,7 +438,8 @@ const OUTPUT_FORMAT_OPTIONS = [{
|
|
|
421
438
|
|
|
422
439
|
const FIELD_DEFINITIONS_URLS = {
|
|
423
440
|
category: 'https://docs.commercetools.com/merchant-center/import-categories#supported-headers-and-values',
|
|
424
|
-
product: 'https://docs.commercetools.com/merchant-center/import-products#supported-headers-and-values'
|
|
441
|
+
product: 'https://docs.commercetools.com/merchant-center/import-products#supported-headers-and-values',
|
|
442
|
+
'inventory-entry': 'https://docs.commercetools.com/merchant-center/import-inventory#supported-headers-and-values'
|
|
425
443
|
};
|
|
426
444
|
|
|
427
445
|
const resourceTypeMessages = {
|
|
@@ -432,6 +450,10 @@ const resourceTypeMessages = {
|
|
|
432
450
|
product: {
|
|
433
451
|
exportScopeAll: messages.exportScopeAllProducts,
|
|
434
452
|
exportScopeSelected: messages.exportScopeSelectedProducts
|
|
453
|
+
},
|
|
454
|
+
'inventory-entry': {
|
|
455
|
+
exportScopeAll: messages.exportScopeAllInventories,
|
|
456
|
+
exportScopeSelected: messages.exportScopeSelectedInventories
|
|
435
457
|
}
|
|
436
458
|
};
|
|
437
459
|
|
|
@@ -453,6 +475,9 @@ function resourceTypeToFileName(_ref) {
|
|
|
453
475
|
case EXPORTABLE_RESOURCES.DISCOUNT_CODE:
|
|
454
476
|
displayName = isPlural ? 'Discount codes' : 'Discount code';
|
|
455
477
|
break;
|
|
478
|
+
case EXPORTABLE_RESOURCES.INVENTORY_ENTRY:
|
|
479
|
+
displayName = isPlural ? 'Inventories' : 'Inventory';
|
|
480
|
+
break;
|
|
456
481
|
default:
|
|
457
482
|
throw new UnexpectedResourceTypeError(resourceType);
|
|
458
483
|
}
|
|
@@ -1249,13 +1274,13 @@ const getChunkImport = locale => {
|
|
|
1249
1274
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
1250
1275
|
switch (intlLocale) {
|
|
1251
1276
|
case 'de':
|
|
1252
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
1277
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-2a6234a5.cjs.dev.js'); });
|
|
1253
1278
|
case 'es':
|
|
1254
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1279
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-2adfbcfc.cjs.dev.js'); });
|
|
1255
1280
|
case 'fr-FR':
|
|
1256
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
1281
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-d36cb786.cjs.dev.js'); });
|
|
1257
1282
|
case 'zh-CN':
|
|
1258
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-
|
|
1283
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-086bca26.cjs.dev.js'); });
|
|
1259
1284
|
case 'ja':
|
|
1260
1285
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-9bd5f452.cjs.dev.js'); });
|
|
1261
1286
|
case 'pt-BR':
|
|
@@ -105,6 +105,11 @@ var messages = reactIntl.defineMessages({
|
|
|
105
105
|
description: 'Label for the products modal title',
|
|
106
106
|
defaultMessage: 'Export products'
|
|
107
107
|
},
|
|
108
|
+
'modalTitle.inventory-entry': {
|
|
109
|
+
id: 'ExportResourcesModal.modalTitle.inventoryEntry',
|
|
110
|
+
description: 'Label for the inventories modal title',
|
|
111
|
+
defaultMessage: 'Export inventories'
|
|
112
|
+
},
|
|
108
113
|
outputFormat: {
|
|
109
114
|
id: 'ExportResourcesModal.outputFormat',
|
|
110
115
|
description: 'File format like (csv, xls, ...etc)',
|
|
@@ -244,6 +249,16 @@ var messages = reactIntl.defineMessages({
|
|
|
244
249
|
description: 'Label for Export Selected products',
|
|
245
250
|
defaultMessage: 'Export selected: {total} products'
|
|
246
251
|
},
|
|
252
|
+
exportScopeAllInventories: {
|
|
253
|
+
id: 'ExportResourcesModal.exportScopeAllInventories',
|
|
254
|
+
description: 'Label for Export All inventories',
|
|
255
|
+
defaultMessage: 'Export all: {total} inventories'
|
|
256
|
+
},
|
|
257
|
+
exportScopeSelectedInventories: {
|
|
258
|
+
id: 'ExportResourcesModal.exportScopeSelectedInventories',
|
|
259
|
+
description: 'Label for Export Selected inventories',
|
|
260
|
+
defaultMessage: 'Export selected: {total} inventories'
|
|
261
|
+
},
|
|
247
262
|
exportScopeSelectedWithoutCount: {
|
|
248
263
|
id: 'ExportResourcesModal.exportScopeSelectedWithoutCount',
|
|
249
264
|
description: 'Label for Export Selected without count',
|
|
@@ -403,7 +418,9 @@ const EXPORT_TYPES = {
|
|
|
403
418
|
const EXPORTABLE_RESOURCES = {
|
|
404
419
|
CATEGORY: 'category',
|
|
405
420
|
PRODUCT: 'product',
|
|
406
|
-
|
|
421
|
+
// TODO: remove this and its usage
|
|
422
|
+
DISCOUNT_CODE: 'discountCode',
|
|
423
|
+
INVENTORY_ENTRY: 'inventory-entry'
|
|
407
424
|
};
|
|
408
425
|
|
|
409
426
|
const OUTPUT_FORMATS = {
|
|
@@ -420,7 +437,8 @@ const OUTPUT_FORMAT_OPTIONS = [{
|
|
|
420
437
|
|
|
421
438
|
const FIELD_DEFINITIONS_URLS = {
|
|
422
439
|
category: 'https://docs.commercetools.com/merchant-center/import-categories#supported-headers-and-values',
|
|
423
|
-
product: 'https://docs.commercetools.com/merchant-center/import-products#supported-headers-and-values'
|
|
440
|
+
product: 'https://docs.commercetools.com/merchant-center/import-products#supported-headers-and-values',
|
|
441
|
+
'inventory-entry': 'https://docs.commercetools.com/merchant-center/import-inventory#supported-headers-and-values'
|
|
424
442
|
};
|
|
425
443
|
|
|
426
444
|
const resourceTypeMessages = {
|
|
@@ -431,6 +449,10 @@ const resourceTypeMessages = {
|
|
|
431
449
|
product: {
|
|
432
450
|
exportScopeAll: messages.exportScopeAllProducts,
|
|
433
451
|
exportScopeSelected: messages.exportScopeSelectedProducts
|
|
452
|
+
},
|
|
453
|
+
'inventory-entry': {
|
|
454
|
+
exportScopeAll: messages.exportScopeAllInventories,
|
|
455
|
+
exportScopeSelected: messages.exportScopeSelectedInventories
|
|
434
456
|
}
|
|
435
457
|
};
|
|
436
458
|
|
|
@@ -452,6 +474,9 @@ function resourceTypeToFileName(_ref) {
|
|
|
452
474
|
case EXPORTABLE_RESOURCES.DISCOUNT_CODE:
|
|
453
475
|
displayName = isPlural ? 'Discount codes' : 'Discount code';
|
|
454
476
|
break;
|
|
477
|
+
case EXPORTABLE_RESOURCES.INVENTORY_ENTRY:
|
|
478
|
+
displayName = isPlural ? 'Inventories' : 'Inventory';
|
|
479
|
+
break;
|
|
455
480
|
default:
|
|
456
481
|
throw new UnexpectedResourceTypeError(resourceType);
|
|
457
482
|
}
|
|
@@ -1223,13 +1248,13 @@ const getChunkImport = locale => {
|
|
|
1223
1248
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
1224
1249
|
switch (intlLocale) {
|
|
1225
1250
|
case 'de':
|
|
1226
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
1251
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-4316954a.cjs.prod.js'); });
|
|
1227
1252
|
case 'es':
|
|
1228
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1253
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-b80ca82c.cjs.prod.js'); });
|
|
1229
1254
|
case 'fr-FR':
|
|
1230
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
1255
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-6c989046.cjs.prod.js'); });
|
|
1231
1256
|
case 'zh-CN':
|
|
1232
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-
|
|
1257
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-e961895b.cjs.prod.js'); });
|
|
1233
1258
|
case 'ja':
|
|
1234
1259
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-37632763.cjs.prod.js'); });
|
|
1235
1260
|
case 'pt-BR':
|
|
@@ -71,6 +71,11 @@ var messages = defineMessages({
|
|
|
71
71
|
description: 'Label for the products modal title',
|
|
72
72
|
defaultMessage: 'Export products'
|
|
73
73
|
},
|
|
74
|
+
'modalTitle.inventory-entry': {
|
|
75
|
+
id: 'ExportResourcesModal.modalTitle.inventoryEntry',
|
|
76
|
+
description: 'Label for the inventories modal title',
|
|
77
|
+
defaultMessage: 'Export inventories'
|
|
78
|
+
},
|
|
74
79
|
outputFormat: {
|
|
75
80
|
id: 'ExportResourcesModal.outputFormat',
|
|
76
81
|
description: 'File format like (csv, xls, ...etc)',
|
|
@@ -210,6 +215,16 @@ var messages = defineMessages({
|
|
|
210
215
|
description: 'Label for Export Selected products',
|
|
211
216
|
defaultMessage: 'Export selected: {total} products'
|
|
212
217
|
},
|
|
218
|
+
exportScopeAllInventories: {
|
|
219
|
+
id: 'ExportResourcesModal.exportScopeAllInventories',
|
|
220
|
+
description: 'Label for Export All inventories',
|
|
221
|
+
defaultMessage: 'Export all: {total} inventories'
|
|
222
|
+
},
|
|
223
|
+
exportScopeSelectedInventories: {
|
|
224
|
+
id: 'ExportResourcesModal.exportScopeSelectedInventories',
|
|
225
|
+
description: 'Label for Export Selected inventories',
|
|
226
|
+
defaultMessage: 'Export selected: {total} inventories'
|
|
227
|
+
},
|
|
213
228
|
exportScopeSelectedWithoutCount: {
|
|
214
229
|
id: 'ExportResourcesModal.exportScopeSelectedWithoutCount',
|
|
215
230
|
description: 'Label for Export Selected without count',
|
|
@@ -369,7 +384,9 @@ const EXPORT_TYPES = {
|
|
|
369
384
|
const EXPORTABLE_RESOURCES = {
|
|
370
385
|
CATEGORY: 'category',
|
|
371
386
|
PRODUCT: 'product',
|
|
372
|
-
|
|
387
|
+
// TODO: remove this and its usage
|
|
388
|
+
DISCOUNT_CODE: 'discountCode',
|
|
389
|
+
INVENTORY_ENTRY: 'inventory-entry'
|
|
373
390
|
};
|
|
374
391
|
|
|
375
392
|
const OUTPUT_FORMATS = {
|
|
@@ -386,7 +403,8 @@ const OUTPUT_FORMAT_OPTIONS = [{
|
|
|
386
403
|
|
|
387
404
|
const FIELD_DEFINITIONS_URLS = {
|
|
388
405
|
category: 'https://docs.commercetools.com/merchant-center/import-categories#supported-headers-and-values',
|
|
389
|
-
product: 'https://docs.commercetools.com/merchant-center/import-products#supported-headers-and-values'
|
|
406
|
+
product: 'https://docs.commercetools.com/merchant-center/import-products#supported-headers-and-values',
|
|
407
|
+
'inventory-entry': 'https://docs.commercetools.com/merchant-center/import-inventory#supported-headers-and-values'
|
|
390
408
|
};
|
|
391
409
|
|
|
392
410
|
const resourceTypeMessages = {
|
|
@@ -397,6 +415,10 @@ const resourceTypeMessages = {
|
|
|
397
415
|
product: {
|
|
398
416
|
exportScopeAll: messages.exportScopeAllProducts,
|
|
399
417
|
exportScopeSelected: messages.exportScopeSelectedProducts
|
|
418
|
+
},
|
|
419
|
+
'inventory-entry': {
|
|
420
|
+
exportScopeAll: messages.exportScopeAllInventories,
|
|
421
|
+
exportScopeSelected: messages.exportScopeSelectedInventories
|
|
400
422
|
}
|
|
401
423
|
};
|
|
402
424
|
|
|
@@ -418,6 +440,9 @@ function resourceTypeToFileName(_ref) {
|
|
|
418
440
|
case EXPORTABLE_RESOURCES.DISCOUNT_CODE:
|
|
419
441
|
displayName = isPlural ? 'Discount codes' : 'Discount code';
|
|
420
442
|
break;
|
|
443
|
+
case EXPORTABLE_RESOURCES.INVENTORY_ENTRY:
|
|
444
|
+
displayName = isPlural ? 'Inventories' : 'Inventory';
|
|
445
|
+
break;
|
|
421
446
|
default:
|
|
422
447
|
throw new UnexpectedResourceTypeError(resourceType);
|
|
423
448
|
}
|
|
@@ -1214,13 +1239,13 @@ const getChunkImport = locale => {
|
|
|
1214
1239
|
const intlLocale = mapLocaleToIntlLocale(locale);
|
|
1215
1240
|
switch (intlLocale) {
|
|
1216
1241
|
case 'de':
|
|
1217
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
1242
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-9c23a6d0.esm.js');
|
|
1218
1243
|
case 'es':
|
|
1219
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1244
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-96a36990.esm.js');
|
|
1220
1245
|
case 'fr-FR':
|
|
1221
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
1246
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-8589dc5c.esm.js');
|
|
1222
1247
|
case 'zh-CN':
|
|
1223
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-
|
|
1248
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-b9eaf9b3.esm.js');
|
|
1224
1249
|
case 'ja':
|
|
1225
1250
|
return import( /* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-73c088a7.esm.js');
|
|
1226
1251
|
case 'pt-BR':
|
|
@@ -13,26 +13,10 @@ var de = {
|
|
|
13
13
|
developer_comment: "Label for \"Continue\" button",
|
|
14
14
|
string: "Weiter"
|
|
15
15
|
},
|
|
16
|
-
"ExportResourcesModal.exportAllMessage": {
|
|
17
|
-
developer_comment: "All resources will be exported",
|
|
18
|
-
string: "Alle <b>{count}</b> {resourceType} werden exportiert."
|
|
19
|
-
},
|
|
20
|
-
"ExportResourcesModal.exportAllResources": {
|
|
21
|
-
developer_comment: "Export All selection",
|
|
22
|
-
string: "Alle {resourceType} ({count}) exportieren"
|
|
23
|
-
},
|
|
24
16
|
"ExportResourcesModal.exportBasedOnMyViewsMessage": {
|
|
25
17
|
developer_comment: "Select Export setttings based on my views",
|
|
26
18
|
string: "Wählen Sie Exporteinstellungen basierend auf:"
|
|
27
19
|
},
|
|
28
|
-
"ExportResourcesModal.exportMatchingMessage": {
|
|
29
|
-
developer_comment: "resources will be exported",
|
|
30
|
-
string: "<b>{count}</b> {resourceType} wird exportiert."
|
|
31
|
-
},
|
|
32
|
-
"ExportResourcesModal.exportOnlySelectedResources": {
|
|
33
|
-
developer_comment: "Export only selected resources",
|
|
34
|
-
string: "Ausgewählte {resourceType} exportieren ({count})"
|
|
35
|
-
},
|
|
36
20
|
"ExportResourcesModal.exportOperationSuccessMessage": {
|
|
37
21
|
developer_comment: "Success message",
|
|
38
22
|
string: "<b>Der Export hat begonnen.</b> <newline></newline><logsLink>Gehen Sie zu Exportprotokolle</logsLink>, um den Fortschritt zu überprüfen und die Datei herunterzuladen."
|
|
@@ -41,24 +25,24 @@ var de = {
|
|
|
41
25
|
developer_comment: "Label for Export Scope",
|
|
42
26
|
string: "Scope"
|
|
43
27
|
},
|
|
44
|
-
"ExportResourcesModal.
|
|
45
|
-
developer_comment: "Label for Export All",
|
|
46
|
-
string: "
|
|
28
|
+
"ExportResourcesModal.exportScopeAllCategories": {
|
|
29
|
+
developer_comment: "Label for Export All categories",
|
|
30
|
+
string: "Export all: {total} categories"
|
|
47
31
|
},
|
|
48
|
-
"ExportResourcesModal.
|
|
49
|
-
developer_comment: "Label for Export
|
|
50
|
-
string: "
|
|
32
|
+
"ExportResourcesModal.exportScopeAllProducts": {
|
|
33
|
+
developer_comment: "Label for Export All products",
|
|
34
|
+
string: "Export all: {total} products"
|
|
51
35
|
},
|
|
52
|
-
"ExportResourcesModal.
|
|
53
|
-
developer_comment: "Label for Export Selected
|
|
54
|
-
string: "
|
|
36
|
+
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
37
|
+
developer_comment: "Label for Export Selected categories",
|
|
38
|
+
string: "Export selected: {total} categories"
|
|
55
39
|
},
|
|
56
|
-
"ExportResourcesModal.
|
|
57
|
-
developer_comment: "
|
|
58
|
-
string: "
|
|
40
|
+
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
41
|
+
developer_comment: "Label for Export Selected products",
|
|
42
|
+
string: "Export selected: {total} products"
|
|
59
43
|
},
|
|
60
|
-
"ExportResourcesModal.
|
|
61
|
-
developer_comment: "Export
|
|
44
|
+
"ExportResourcesModal.exportScopeSelectedWithoutCount": {
|
|
45
|
+
developer_comment: "Label for Export Selected without count",
|
|
62
46
|
string: "Auswahl exportieren"
|
|
63
47
|
},
|
|
64
48
|
"ExportResourcesModal.exportSettings": {
|
|
@@ -89,9 +73,13 @@ var de = {
|
|
|
89
73
|
developer_comment: "Error when no locale is selected",
|
|
90
74
|
string: "Bitte wählen Sie mindestens ein Gebietsschema aus"
|
|
91
75
|
},
|
|
92
|
-
"ExportResourcesModal.modalTitle": {
|
|
93
|
-
developer_comment: "Label for the modal title",
|
|
94
|
-
string: "
|
|
76
|
+
"ExportResourcesModal.modalTitle.category": {
|
|
77
|
+
developer_comment: "Label for the categories modal title",
|
|
78
|
+
string: "Export categories"
|
|
79
|
+
},
|
|
80
|
+
"ExportResourcesModal.modalTitle.product": {
|
|
81
|
+
developer_comment: "Label for the products modal title",
|
|
82
|
+
string: "Export products"
|
|
95
83
|
},
|
|
96
84
|
"ExportResourcesModal.myViews": {
|
|
97
85
|
developer_comment: "Label for \"My Views\" Select Field",
|
|
@@ -13,26 +13,10 @@ var de = {
|
|
|
13
13
|
developer_comment: "Label for \"Continue\" button",
|
|
14
14
|
string: "Weiter"
|
|
15
15
|
},
|
|
16
|
-
"ExportResourcesModal.exportAllMessage": {
|
|
17
|
-
developer_comment: "All resources will be exported",
|
|
18
|
-
string: "Alle <b>{count}</b> {resourceType} werden exportiert."
|
|
19
|
-
},
|
|
20
|
-
"ExportResourcesModal.exportAllResources": {
|
|
21
|
-
developer_comment: "Export All selection",
|
|
22
|
-
string: "Alle {resourceType} ({count}) exportieren"
|
|
23
|
-
},
|
|
24
16
|
"ExportResourcesModal.exportBasedOnMyViewsMessage": {
|
|
25
17
|
developer_comment: "Select Export setttings based on my views",
|
|
26
18
|
string: "Wählen Sie Exporteinstellungen basierend auf:"
|
|
27
19
|
},
|
|
28
|
-
"ExportResourcesModal.exportMatchingMessage": {
|
|
29
|
-
developer_comment: "resources will be exported",
|
|
30
|
-
string: "<b>{count}</b> {resourceType} wird exportiert."
|
|
31
|
-
},
|
|
32
|
-
"ExportResourcesModal.exportOnlySelectedResources": {
|
|
33
|
-
developer_comment: "Export only selected resources",
|
|
34
|
-
string: "Ausgewählte {resourceType} exportieren ({count})"
|
|
35
|
-
},
|
|
36
20
|
"ExportResourcesModal.exportOperationSuccessMessage": {
|
|
37
21
|
developer_comment: "Success message",
|
|
38
22
|
string: "<b>Der Export hat begonnen.</b> <newline></newline><logsLink>Gehen Sie zu Exportprotokolle</logsLink>, um den Fortschritt zu überprüfen und die Datei herunterzuladen."
|
|
@@ -41,24 +25,24 @@ var de = {
|
|
|
41
25
|
developer_comment: "Label for Export Scope",
|
|
42
26
|
string: "Scope"
|
|
43
27
|
},
|
|
44
|
-
"ExportResourcesModal.
|
|
45
|
-
developer_comment: "Label for Export All",
|
|
46
|
-
string: "
|
|
28
|
+
"ExportResourcesModal.exportScopeAllCategories": {
|
|
29
|
+
developer_comment: "Label for Export All categories",
|
|
30
|
+
string: "Export all: {total} categories"
|
|
47
31
|
},
|
|
48
|
-
"ExportResourcesModal.
|
|
49
|
-
developer_comment: "Label for Export
|
|
50
|
-
string: "
|
|
32
|
+
"ExportResourcesModal.exportScopeAllProducts": {
|
|
33
|
+
developer_comment: "Label for Export All products",
|
|
34
|
+
string: "Export all: {total} products"
|
|
51
35
|
},
|
|
52
|
-
"ExportResourcesModal.
|
|
53
|
-
developer_comment: "Label for Export Selected
|
|
54
|
-
string: "
|
|
36
|
+
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
37
|
+
developer_comment: "Label for Export Selected categories",
|
|
38
|
+
string: "Export selected: {total} categories"
|
|
55
39
|
},
|
|
56
|
-
"ExportResourcesModal.
|
|
57
|
-
developer_comment: "
|
|
58
|
-
string: "
|
|
40
|
+
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
41
|
+
developer_comment: "Label for Export Selected products",
|
|
42
|
+
string: "Export selected: {total} products"
|
|
59
43
|
},
|
|
60
|
-
"ExportResourcesModal.
|
|
61
|
-
developer_comment: "Export
|
|
44
|
+
"ExportResourcesModal.exportScopeSelectedWithoutCount": {
|
|
45
|
+
developer_comment: "Label for Export Selected without count",
|
|
62
46
|
string: "Auswahl exportieren"
|
|
63
47
|
},
|
|
64
48
|
"ExportResourcesModal.exportSettings": {
|
|
@@ -89,9 +73,13 @@ var de = {
|
|
|
89
73
|
developer_comment: "Error when no locale is selected",
|
|
90
74
|
string: "Bitte wählen Sie mindestens ein Gebietsschema aus"
|
|
91
75
|
},
|
|
92
|
-
"ExportResourcesModal.modalTitle": {
|
|
93
|
-
developer_comment: "Label for the modal title",
|
|
94
|
-
string: "
|
|
76
|
+
"ExportResourcesModal.modalTitle.category": {
|
|
77
|
+
developer_comment: "Label for the categories modal title",
|
|
78
|
+
string: "Export categories"
|
|
79
|
+
},
|
|
80
|
+
"ExportResourcesModal.modalTitle.product": {
|
|
81
|
+
developer_comment: "Label for the products modal title",
|
|
82
|
+
string: "Export products"
|
|
95
83
|
},
|
|
96
84
|
"ExportResourcesModal.myViews": {
|
|
97
85
|
developer_comment: "Label for \"My Views\" Select Field",
|
|
@@ -11,26 +11,10 @@ var de = {
|
|
|
11
11
|
developer_comment: "Label for \"Continue\" button",
|
|
12
12
|
string: "Weiter"
|
|
13
13
|
},
|
|
14
|
-
"ExportResourcesModal.exportAllMessage": {
|
|
15
|
-
developer_comment: "All resources will be exported",
|
|
16
|
-
string: "Alle <b>{count}</b> {resourceType} werden exportiert."
|
|
17
|
-
},
|
|
18
|
-
"ExportResourcesModal.exportAllResources": {
|
|
19
|
-
developer_comment: "Export All selection",
|
|
20
|
-
string: "Alle {resourceType} ({count}) exportieren"
|
|
21
|
-
},
|
|
22
14
|
"ExportResourcesModal.exportBasedOnMyViewsMessage": {
|
|
23
15
|
developer_comment: "Select Export setttings based on my views",
|
|
24
16
|
string: "Wählen Sie Exporteinstellungen basierend auf:"
|
|
25
17
|
},
|
|
26
|
-
"ExportResourcesModal.exportMatchingMessage": {
|
|
27
|
-
developer_comment: "resources will be exported",
|
|
28
|
-
string: "<b>{count}</b> {resourceType} wird exportiert."
|
|
29
|
-
},
|
|
30
|
-
"ExportResourcesModal.exportOnlySelectedResources": {
|
|
31
|
-
developer_comment: "Export only selected resources",
|
|
32
|
-
string: "Ausgewählte {resourceType} exportieren ({count})"
|
|
33
|
-
},
|
|
34
18
|
"ExportResourcesModal.exportOperationSuccessMessage": {
|
|
35
19
|
developer_comment: "Success message",
|
|
36
20
|
string: "<b>Der Export hat begonnen.</b> <newline></newline><logsLink>Gehen Sie zu Exportprotokolle</logsLink>, um den Fortschritt zu überprüfen und die Datei herunterzuladen."
|
|
@@ -39,24 +23,24 @@ var de = {
|
|
|
39
23
|
developer_comment: "Label for Export Scope",
|
|
40
24
|
string: "Scope"
|
|
41
25
|
},
|
|
42
|
-
"ExportResourcesModal.
|
|
43
|
-
developer_comment: "Label for Export All",
|
|
44
|
-
string: "
|
|
26
|
+
"ExportResourcesModal.exportScopeAllCategories": {
|
|
27
|
+
developer_comment: "Label for Export All categories",
|
|
28
|
+
string: "Export all: {total} categories"
|
|
45
29
|
},
|
|
46
|
-
"ExportResourcesModal.
|
|
47
|
-
developer_comment: "Label for Export
|
|
48
|
-
string: "
|
|
30
|
+
"ExportResourcesModal.exportScopeAllProducts": {
|
|
31
|
+
developer_comment: "Label for Export All products",
|
|
32
|
+
string: "Export all: {total} products"
|
|
49
33
|
},
|
|
50
|
-
"ExportResourcesModal.
|
|
51
|
-
developer_comment: "Label for Export Selected
|
|
52
|
-
string: "
|
|
34
|
+
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
35
|
+
developer_comment: "Label for Export Selected categories",
|
|
36
|
+
string: "Export selected: {total} categories"
|
|
53
37
|
},
|
|
54
|
-
"ExportResourcesModal.
|
|
55
|
-
developer_comment: "
|
|
56
|
-
string: "
|
|
38
|
+
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
39
|
+
developer_comment: "Label for Export Selected products",
|
|
40
|
+
string: "Export selected: {total} products"
|
|
57
41
|
},
|
|
58
|
-
"ExportResourcesModal.
|
|
59
|
-
developer_comment: "Export
|
|
42
|
+
"ExportResourcesModal.exportScopeSelectedWithoutCount": {
|
|
43
|
+
developer_comment: "Label for Export Selected without count",
|
|
60
44
|
string: "Auswahl exportieren"
|
|
61
45
|
},
|
|
62
46
|
"ExportResourcesModal.exportSettings": {
|
|
@@ -87,9 +71,13 @@ var de = {
|
|
|
87
71
|
developer_comment: "Error when no locale is selected",
|
|
88
72
|
string: "Bitte wählen Sie mindestens ein Gebietsschema aus"
|
|
89
73
|
},
|
|
90
|
-
"ExportResourcesModal.modalTitle": {
|
|
91
|
-
developer_comment: "Label for the modal title",
|
|
92
|
-
string: "
|
|
74
|
+
"ExportResourcesModal.modalTitle.category": {
|
|
75
|
+
developer_comment: "Label for the categories modal title",
|
|
76
|
+
string: "Export categories"
|
|
77
|
+
},
|
|
78
|
+
"ExportResourcesModal.modalTitle.product": {
|
|
79
|
+
developer_comment: "Label for the products modal title",
|
|
80
|
+
string: "Export products"
|
|
93
81
|
},
|
|
94
82
|
"ExportResourcesModal.myViews": {
|
|
95
83
|
developer_comment: "Label for \"My Views\" Select Field",
|
|
@@ -13,14 +13,14 @@ export interface FieldGroup {
|
|
|
13
13
|
fields: Field[];
|
|
14
14
|
}
|
|
15
15
|
export interface ExportResourcesModalShape {
|
|
16
|
-
isOpen
|
|
16
|
+
isOpen?: boolean;
|
|
17
17
|
resourceType: string;
|
|
18
|
-
outputFormat
|
|
18
|
+
outputFormat?: string;
|
|
19
19
|
onClose: () => void;
|
|
20
20
|
onExportSuccess: () => void;
|
|
21
21
|
totalResourcesCount: number;
|
|
22
|
-
selectedResourceIds
|
|
22
|
+
selectedResourceIds?: string[];
|
|
23
23
|
fieldGroups: FieldGroup[];
|
|
24
|
-
renderProperties
|
|
24
|
+
renderProperties?: () => void;
|
|
25
25
|
fieldOrder?: string[];
|
|
26
26
|
}
|
|
@@ -13,26 +13,10 @@ var es = {
|
|
|
13
13
|
developer_comment: "Label for \"Continue\" button",
|
|
14
14
|
string: "Continuar"
|
|
15
15
|
},
|
|
16
|
-
"ExportResourcesModal.exportAllMessage": {
|
|
17
|
-
developer_comment: "All resources will be exported",
|
|
18
|
-
string: "Los <b>{count}</b> {resourceType} se exportarán."
|
|
19
|
-
},
|
|
20
|
-
"ExportResourcesModal.exportAllResources": {
|
|
21
|
-
developer_comment: "Export All selection",
|
|
22
|
-
string: "Exportar los {resourceType} ({count})"
|
|
23
|
-
},
|
|
24
16
|
"ExportResourcesModal.exportBasedOnMyViewsMessage": {
|
|
25
17
|
developer_comment: "Select Export setttings based on my views",
|
|
26
18
|
string: "Seleccionar las configuraciones de exportación basándose en:"
|
|
27
19
|
},
|
|
28
|
-
"ExportResourcesModal.exportMatchingMessage": {
|
|
29
|
-
developer_comment: "resources will be exported",
|
|
30
|
-
string: "<b>{count}</b> {resourceType} se exportarán."
|
|
31
|
-
},
|
|
32
|
-
"ExportResourcesModal.exportOnlySelectedResources": {
|
|
33
|
-
developer_comment: "Export only selected resources",
|
|
34
|
-
string: "Exportar los {resourceType} ({count}) seleccionados"
|
|
35
|
-
},
|
|
36
20
|
"ExportResourcesModal.exportOperationSuccessMessage": {
|
|
37
21
|
developer_comment: "Success message",
|
|
38
22
|
string: "<b>Tu exportación ha comenzado.</b> <newline></newline><logsLink>Ve a Registros de exportación</logsLink> para ver el progreso y descargar el archivo."
|
|
@@ -41,26 +25,26 @@ var es = {
|
|
|
41
25
|
developer_comment: "Label for Export Scope",
|
|
42
26
|
string: "Ámbito"
|
|
43
27
|
},
|
|
44
|
-
"ExportResourcesModal.
|
|
45
|
-
developer_comment: "Label for Export All",
|
|
46
|
-
string: "
|
|
28
|
+
"ExportResourcesModal.exportScopeAllCategories": {
|
|
29
|
+
developer_comment: "Label for Export All categories",
|
|
30
|
+
string: "Export all: {total} categories"
|
|
31
|
+
},
|
|
32
|
+
"ExportResourcesModal.exportScopeAllProducts": {
|
|
33
|
+
developer_comment: "Label for Export All products",
|
|
34
|
+
string: "Export all: {total} products"
|
|
47
35
|
},
|
|
48
|
-
"ExportResourcesModal.
|
|
49
|
-
developer_comment: "Label for Export Selected",
|
|
50
|
-
string: "
|
|
36
|
+
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
37
|
+
developer_comment: "Label for Export Selected categories",
|
|
38
|
+
string: "Export selected: {total} categories"
|
|
39
|
+
},
|
|
40
|
+
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
41
|
+
developer_comment: "Label for Export Selected products",
|
|
42
|
+
string: "Export selected: {total} products"
|
|
51
43
|
},
|
|
52
44
|
"ExportResourcesModal.exportScopeSelectedWithoutCount": {
|
|
53
45
|
developer_comment: "Label for Export Selected without count",
|
|
54
46
|
string: "Exportar selección"
|
|
55
47
|
},
|
|
56
|
-
"ExportResourcesModal.exportSelectedMessage": {
|
|
57
|
-
developer_comment: "resources are selected and will be exported",
|
|
58
|
-
string: "<b>{count}</b> {resourceType} se han seleccionado y se exportarán."
|
|
59
|
-
},
|
|
60
|
-
"ExportResourcesModal.exportSelection": {
|
|
61
|
-
developer_comment: "Export selection",
|
|
62
|
-
string: "Exportar la selección"
|
|
63
|
-
},
|
|
64
48
|
"ExportResourcesModal.exportSettings": {
|
|
65
49
|
developer_comment: "Label for Export Settings",
|
|
66
50
|
string: "Configuraciones"
|
|
@@ -89,9 +73,13 @@ var es = {
|
|
|
89
73
|
developer_comment: "Error when no locale is selected",
|
|
90
74
|
string: "Selecciona al menos un idioma"
|
|
91
75
|
},
|
|
92
|
-
"ExportResourcesModal.modalTitle": {
|
|
93
|
-
developer_comment: "Label for the modal title",
|
|
94
|
-
string: "
|
|
76
|
+
"ExportResourcesModal.modalTitle.category": {
|
|
77
|
+
developer_comment: "Label for the categories modal title",
|
|
78
|
+
string: "Export categories"
|
|
79
|
+
},
|
|
80
|
+
"ExportResourcesModal.modalTitle.product": {
|
|
81
|
+
developer_comment: "Label for the products modal title",
|
|
82
|
+
string: "Export products"
|
|
95
83
|
},
|
|
96
84
|
"ExportResourcesModal.myViews": {
|
|
97
85
|
developer_comment: "Label for \"My Views\" Select Field",
|