@commercetools-frontend-extensions/export-resources-modal 4.3.2 → 4.3.3
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 +5 -3
- package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.prod.js +5 -3
- package/dist/commercetools-frontend-extensions-export-resources-modal.esm.js +5 -3
- package/dist/declarations/src/@constants/export-operation-states.d.ts +1 -0
- package/dist/{en-918b9076.esm.js → en-0337f842.esm.js} +12 -0
- package/dist/{en-3ff78dd6.cjs.prod.js → en-15d26780.cjs.dev.js} +12 -0
- package/dist/{en-824a97a4.cjs.dev.js → en-9c561c12.cjs.prod.js} +12 -0
- package/dist/{pt-BR-aef7dfa4.esm.js → pt-BR-065b7c23.esm.js} +12 -0
- package/dist/{pt-BR-b8807555.cjs.prod.js → pt-BR-6966842f.cjs.prod.js} +12 -0
- package/dist/{pt-BR-6dc77a9e.cjs.dev.js → pt-BR-91e93b2d.cjs.dev.js} +12 -0
- package/package.json +1 -1
|
@@ -419,7 +419,8 @@ const OPERATIONS_EXPORT_RESOURCES_MODAL_EXPANDED_GROUP = 'OPERATIONS_EXPORT_RESO
|
|
|
419
419
|
const EXPORT_OPERATION_STATES = {
|
|
420
420
|
PROCESSING: 'processing',
|
|
421
421
|
COMPLETED: 'completed',
|
|
422
|
-
FAILED: 'failed'
|
|
422
|
+
FAILED: 'failed',
|
|
423
|
+
QUEUED: 'queued'
|
|
423
424
|
};
|
|
424
425
|
|
|
425
426
|
const EXPORT_TYPES = {
|
|
@@ -785,6 +786,7 @@ const useStartExportOperation = props => {
|
|
|
785
786
|
asyncDispatchFn: asyncDispatch
|
|
786
787
|
});
|
|
787
788
|
switch (response.state) {
|
|
789
|
+
case EXPORT_OPERATION_STATES.QUEUED:
|
|
788
790
|
case EXPORT_OPERATION_STATES.PROCESSING:
|
|
789
791
|
case EXPORT_OPERATION_STATES.COMPLETED:
|
|
790
792
|
showNotification({
|
|
@@ -1610,9 +1612,9 @@ const getChunkImport = locale => {
|
|
|
1610
1612
|
case 'ja':
|
|
1611
1613
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-9bd5f452.cjs.dev.js'); });
|
|
1612
1614
|
case 'pt-BR':
|
|
1613
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-
|
|
1615
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-91e93b2d.cjs.dev.js'); });
|
|
1614
1616
|
default:
|
|
1615
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-
|
|
1617
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-15d26780.cjs.dev.js'); });
|
|
1616
1618
|
}
|
|
1617
1619
|
};
|
|
1618
1620
|
const loadMessages = async locale => {
|
|
@@ -418,7 +418,8 @@ const OPERATIONS_EXPORT_RESOURCES_MODAL_EXPANDED_GROUP = 'OPERATIONS_EXPORT_RESO
|
|
|
418
418
|
const EXPORT_OPERATION_STATES = {
|
|
419
419
|
PROCESSING: 'processing',
|
|
420
420
|
COMPLETED: 'completed',
|
|
421
|
-
FAILED: 'failed'
|
|
421
|
+
FAILED: 'failed',
|
|
422
|
+
QUEUED: 'queued'
|
|
422
423
|
};
|
|
423
424
|
|
|
424
425
|
const EXPORT_TYPES = {
|
|
@@ -784,6 +785,7 @@ const useStartExportOperation = props => {
|
|
|
784
785
|
asyncDispatchFn: asyncDispatch
|
|
785
786
|
});
|
|
786
787
|
switch (response.state) {
|
|
788
|
+
case EXPORT_OPERATION_STATES.QUEUED:
|
|
787
789
|
case EXPORT_OPERATION_STATES.PROCESSING:
|
|
788
790
|
case EXPORT_OPERATION_STATES.COMPLETED:
|
|
789
791
|
showNotification({
|
|
@@ -1566,9 +1568,9 @@ const getChunkImport = locale => {
|
|
|
1566
1568
|
case 'ja':
|
|
1567
1569
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-37632763.cjs.prod.js'); });
|
|
1568
1570
|
case 'pt-BR':
|
|
1569
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-
|
|
1571
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-6966842f.cjs.prod.js'); });
|
|
1570
1572
|
default:
|
|
1571
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-
|
|
1573
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-9c561c12.cjs.prod.js'); });
|
|
1572
1574
|
}
|
|
1573
1575
|
};
|
|
1574
1576
|
const loadMessages = async locale => {
|
|
@@ -383,7 +383,8 @@ const OPERATIONS_EXPORT_RESOURCES_MODAL_EXPANDED_GROUP = 'OPERATIONS_EXPORT_RESO
|
|
|
383
383
|
const EXPORT_OPERATION_STATES = {
|
|
384
384
|
PROCESSING: 'processing',
|
|
385
385
|
COMPLETED: 'completed',
|
|
386
|
-
FAILED: 'failed'
|
|
386
|
+
FAILED: 'failed',
|
|
387
|
+
QUEUED: 'queued'
|
|
387
388
|
};
|
|
388
389
|
|
|
389
390
|
const EXPORT_TYPES = {
|
|
@@ -749,6 +750,7 @@ const useStartExportOperation = props => {
|
|
|
749
750
|
asyncDispatchFn: asyncDispatch
|
|
750
751
|
});
|
|
751
752
|
switch (response.state) {
|
|
753
|
+
case EXPORT_OPERATION_STATES.QUEUED:
|
|
752
754
|
case EXPORT_OPERATION_STATES.PROCESSING:
|
|
753
755
|
case EXPORT_OPERATION_STATES.COMPLETED:
|
|
754
756
|
showNotification({
|
|
@@ -1574,9 +1576,9 @@ const getChunkImport = locale => {
|
|
|
1574
1576
|
case 'ja':
|
|
1575
1577
|
return import( /* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-73c088a7.esm.js');
|
|
1576
1578
|
case 'pt-BR':
|
|
1577
|
-
return import( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-
|
|
1579
|
+
return import( /* webpackChunkName: "change-history-i18n-pt-BR" */'./pt-BR-065b7c23.esm.js');
|
|
1578
1580
|
default:
|
|
1579
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-
|
|
1581
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-en" */'./en-0337f842.esm.js');
|
|
1580
1582
|
}
|
|
1581
1583
|
};
|
|
1582
1584
|
const loadMessages = async locale => {
|
|
@@ -27,6 +27,10 @@ var en = {
|
|
|
27
27
|
developer_comment: "Label for Export All categories",
|
|
28
28
|
string: "Export all: {total} categories"
|
|
29
29
|
},
|
|
30
|
+
"ExportResourcesModal.exportScopeAllInventories": {
|
|
31
|
+
developer_comment: "Label for Export All inventories",
|
|
32
|
+
string: "Export all: {total} inventories"
|
|
33
|
+
},
|
|
30
34
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
31
35
|
developer_comment: "Label for Export All products",
|
|
32
36
|
string: "Export all: {total} products"
|
|
@@ -35,6 +39,10 @@ var en = {
|
|
|
35
39
|
developer_comment: "Label for Export Selected categories",
|
|
36
40
|
string: "Export selected: {total} categories"
|
|
37
41
|
},
|
|
42
|
+
"ExportResourcesModal.exportScopeSelectedInventories": {
|
|
43
|
+
developer_comment: "Label for Export Selected inventories",
|
|
44
|
+
string: "Export selected: {total} inventories"
|
|
45
|
+
},
|
|
38
46
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
39
47
|
developer_comment: "Label for Export Selected products",
|
|
40
48
|
string: "Export selected: {total} products"
|
|
@@ -75,6 +83,10 @@ var en = {
|
|
|
75
83
|
developer_comment: "Label for the categories modal title",
|
|
76
84
|
string: "Export categories"
|
|
77
85
|
},
|
|
86
|
+
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
87
|
+
developer_comment: "Label for the inventories modal title",
|
|
88
|
+
string: "Export inventories"
|
|
89
|
+
},
|
|
78
90
|
"ExportResourcesModal.modalTitle.product": {
|
|
79
91
|
developer_comment: "Label for the products modal title",
|
|
80
92
|
string: "Export products"
|
|
@@ -29,6 +29,10 @@ var en = {
|
|
|
29
29
|
developer_comment: "Label for Export All categories",
|
|
30
30
|
string: "Export all: {total} categories"
|
|
31
31
|
},
|
|
32
|
+
"ExportResourcesModal.exportScopeAllInventories": {
|
|
33
|
+
developer_comment: "Label for Export All inventories",
|
|
34
|
+
string: "Export all: {total} inventories"
|
|
35
|
+
},
|
|
32
36
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
33
37
|
developer_comment: "Label for Export All products",
|
|
34
38
|
string: "Export all: {total} products"
|
|
@@ -37,6 +41,10 @@ var en = {
|
|
|
37
41
|
developer_comment: "Label for Export Selected categories",
|
|
38
42
|
string: "Export selected: {total} categories"
|
|
39
43
|
},
|
|
44
|
+
"ExportResourcesModal.exportScopeSelectedInventories": {
|
|
45
|
+
developer_comment: "Label for Export Selected inventories",
|
|
46
|
+
string: "Export selected: {total} inventories"
|
|
47
|
+
},
|
|
40
48
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
41
49
|
developer_comment: "Label for Export Selected products",
|
|
42
50
|
string: "Export selected: {total} products"
|
|
@@ -77,6 +85,10 @@ var en = {
|
|
|
77
85
|
developer_comment: "Label for the categories modal title",
|
|
78
86
|
string: "Export categories"
|
|
79
87
|
},
|
|
88
|
+
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
89
|
+
developer_comment: "Label for the inventories modal title",
|
|
90
|
+
string: "Export inventories"
|
|
91
|
+
},
|
|
80
92
|
"ExportResourcesModal.modalTitle.product": {
|
|
81
93
|
developer_comment: "Label for the products modal title",
|
|
82
94
|
string: "Export products"
|
|
@@ -29,6 +29,10 @@ var en = {
|
|
|
29
29
|
developer_comment: "Label for Export All categories",
|
|
30
30
|
string: "Export all: {total} categories"
|
|
31
31
|
},
|
|
32
|
+
"ExportResourcesModal.exportScopeAllInventories": {
|
|
33
|
+
developer_comment: "Label for Export All inventories",
|
|
34
|
+
string: "Export all: {total} inventories"
|
|
35
|
+
},
|
|
32
36
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
33
37
|
developer_comment: "Label for Export All products",
|
|
34
38
|
string: "Export all: {total} products"
|
|
@@ -37,6 +41,10 @@ var en = {
|
|
|
37
41
|
developer_comment: "Label for Export Selected categories",
|
|
38
42
|
string: "Export selected: {total} categories"
|
|
39
43
|
},
|
|
44
|
+
"ExportResourcesModal.exportScopeSelectedInventories": {
|
|
45
|
+
developer_comment: "Label for Export Selected inventories",
|
|
46
|
+
string: "Export selected: {total} inventories"
|
|
47
|
+
},
|
|
40
48
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
41
49
|
developer_comment: "Label for Export Selected products",
|
|
42
50
|
string: "Export selected: {total} products"
|
|
@@ -77,6 +85,10 @@ var en = {
|
|
|
77
85
|
developer_comment: "Label for the categories modal title",
|
|
78
86
|
string: "Export categories"
|
|
79
87
|
},
|
|
88
|
+
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
89
|
+
developer_comment: "Label for the inventories modal title",
|
|
90
|
+
string: "Export inventories"
|
|
91
|
+
},
|
|
80
92
|
"ExportResourcesModal.modalTitle.product": {
|
|
81
93
|
developer_comment: "Label for the products modal title",
|
|
82
94
|
string: "Export products"
|
|
@@ -27,6 +27,10 @@ var ptBR = {
|
|
|
27
27
|
developer_comment: "Label for Export All categories",
|
|
28
28
|
string: "Export all: {total} categories"
|
|
29
29
|
},
|
|
30
|
+
"ExportResourcesModal.exportScopeAllInventories": {
|
|
31
|
+
developer_comment: "Label for Export All inventories",
|
|
32
|
+
string: "Exportar todos: {total} inventários"
|
|
33
|
+
},
|
|
30
34
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
31
35
|
developer_comment: "Label for Export All products",
|
|
32
36
|
string: "Export all: {total} products"
|
|
@@ -35,6 +39,10 @@ var ptBR = {
|
|
|
35
39
|
developer_comment: "Label for Export Selected categories",
|
|
36
40
|
string: "Export selected: {total} categories"
|
|
37
41
|
},
|
|
42
|
+
"ExportResourcesModal.exportScopeSelectedInventories": {
|
|
43
|
+
developer_comment: "Label for Export Selected inventories",
|
|
44
|
+
string: "Exportar os selecionados: {total} inventários"
|
|
45
|
+
},
|
|
38
46
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
39
47
|
developer_comment: "Label for Export Selected products",
|
|
40
48
|
string: "Export selected: {total} products"
|
|
@@ -75,6 +83,10 @@ var ptBR = {
|
|
|
75
83
|
developer_comment: "Label for the categories modal title",
|
|
76
84
|
string: "Export categories"
|
|
77
85
|
},
|
|
86
|
+
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
87
|
+
developer_comment: "Label for the inventories modal title",
|
|
88
|
+
string: "Exportar inventários"
|
|
89
|
+
},
|
|
78
90
|
"ExportResourcesModal.modalTitle.product": {
|
|
79
91
|
developer_comment: "Label for the products modal title",
|
|
80
92
|
string: "Export products"
|
|
@@ -29,6 +29,10 @@ var ptBR = {
|
|
|
29
29
|
developer_comment: "Label for Export All categories",
|
|
30
30
|
string: "Export all: {total} categories"
|
|
31
31
|
},
|
|
32
|
+
"ExportResourcesModal.exportScopeAllInventories": {
|
|
33
|
+
developer_comment: "Label for Export All inventories",
|
|
34
|
+
string: "Exportar todos: {total} inventários"
|
|
35
|
+
},
|
|
32
36
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
33
37
|
developer_comment: "Label for Export All products",
|
|
34
38
|
string: "Export all: {total} products"
|
|
@@ -37,6 +41,10 @@ var ptBR = {
|
|
|
37
41
|
developer_comment: "Label for Export Selected categories",
|
|
38
42
|
string: "Export selected: {total} categories"
|
|
39
43
|
},
|
|
44
|
+
"ExportResourcesModal.exportScopeSelectedInventories": {
|
|
45
|
+
developer_comment: "Label for Export Selected inventories",
|
|
46
|
+
string: "Exportar os selecionados: {total} inventários"
|
|
47
|
+
},
|
|
40
48
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
41
49
|
developer_comment: "Label for Export Selected products",
|
|
42
50
|
string: "Export selected: {total} products"
|
|
@@ -77,6 +85,10 @@ var ptBR = {
|
|
|
77
85
|
developer_comment: "Label for the categories modal title",
|
|
78
86
|
string: "Export categories"
|
|
79
87
|
},
|
|
88
|
+
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
89
|
+
developer_comment: "Label for the inventories modal title",
|
|
90
|
+
string: "Exportar inventários"
|
|
91
|
+
},
|
|
80
92
|
"ExportResourcesModal.modalTitle.product": {
|
|
81
93
|
developer_comment: "Label for the products modal title",
|
|
82
94
|
string: "Export products"
|
|
@@ -29,6 +29,10 @@ var ptBR = {
|
|
|
29
29
|
developer_comment: "Label for Export All categories",
|
|
30
30
|
string: "Export all: {total} categories"
|
|
31
31
|
},
|
|
32
|
+
"ExportResourcesModal.exportScopeAllInventories": {
|
|
33
|
+
developer_comment: "Label for Export All inventories",
|
|
34
|
+
string: "Exportar todos: {total} inventários"
|
|
35
|
+
},
|
|
32
36
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
33
37
|
developer_comment: "Label for Export All products",
|
|
34
38
|
string: "Export all: {total} products"
|
|
@@ -37,6 +41,10 @@ var ptBR = {
|
|
|
37
41
|
developer_comment: "Label for Export Selected categories",
|
|
38
42
|
string: "Export selected: {total} categories"
|
|
39
43
|
},
|
|
44
|
+
"ExportResourcesModal.exportScopeSelectedInventories": {
|
|
45
|
+
developer_comment: "Label for Export Selected inventories",
|
|
46
|
+
string: "Exportar os selecionados: {total} inventários"
|
|
47
|
+
},
|
|
40
48
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
41
49
|
developer_comment: "Label for Export Selected products",
|
|
42
50
|
string: "Export selected: {total} products"
|
|
@@ -77,6 +85,10 @@ var ptBR = {
|
|
|
77
85
|
developer_comment: "Label for the categories modal title",
|
|
78
86
|
string: "Export categories"
|
|
79
87
|
},
|
|
88
|
+
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
89
|
+
developer_comment: "Label for the inventories modal title",
|
|
90
|
+
string: "Exportar inventários"
|
|
91
|
+
},
|
|
80
92
|
"ExportResourcesModal.modalTitle.product": {
|
|
81
93
|
developer_comment: "Label for the products modal title",
|
|
82
94
|
string: "Export products"
|
package/package.json
CHANGED