@commercetools-frontend-extensions/export-resources-modal 4.4.1 → 4.4.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 +9 -9
- package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.prod.js +9 -9
- package/dist/commercetools-frontend-extensions-export-resources-modal.esm.js +9 -9
- package/dist/{es-7ebee7dd.esm.js → es-3ba6234a.esm.js} +24 -0
- package/dist/{es-47e3a30a.cjs.dev.js → es-944a5f6c.cjs.prod.js} +24 -0
- package/dist/{es-fdcd9634.cjs.prod.js → es-cf3acf58.cjs.dev.js} +24 -0
- package/package.json +20 -20
|
@@ -557,19 +557,19 @@ function buildSelectedExportFilters(selectedResourceIds) {
|
|
|
557
557
|
const formattedIds = _mapInstanceProperty__default["default"](selectedResourceIds).call(selectedResourceIds, id => "\"".concat(id, "\"")).join(', ');
|
|
558
558
|
return "id in (".concat(formattedIds, ")");
|
|
559
559
|
}
|
|
560
|
-
function
|
|
561
|
-
var
|
|
560
|
+
function areFiltersApplied(filters) {
|
|
561
|
+
var _filters$where;
|
|
562
562
|
if (!filters) {
|
|
563
563
|
return false;
|
|
564
564
|
}
|
|
565
|
-
return filters.where !== undefined && _trimInstanceProperty__default["default"](
|
|
565
|
+
return filters.where !== undefined && ((_filters$where = filters.where) === null || _filters$where === void 0 ? void 0 : _trimInstanceProperty__default["default"](_filters$where).call(_filters$where)) !== '';
|
|
566
566
|
}
|
|
567
567
|
function getInitialExportType(args) {
|
|
568
568
|
var _args$selectedResourc, _args$filters;
|
|
569
569
|
if ((_args$selectedResourc = args.selectedResourceIds) !== null && _args$selectedResourc !== void 0 && _args$selectedResourc.length) {
|
|
570
570
|
return EXPORT_TYPES.SELECTED;
|
|
571
571
|
}
|
|
572
|
-
if ((_args$filters = args.filters) !== null && _args$filters !== void 0 && _args$filters.total) {
|
|
572
|
+
if ((_args$filters = args.filters) !== null && _args$filters !== void 0 && _args$filters.total && areFiltersApplied(args.filters)) {
|
|
573
573
|
return EXPORT_TYPES.FILTERED;
|
|
574
574
|
}
|
|
575
575
|
return EXPORT_TYPES.ALL;
|
|
@@ -858,8 +858,8 @@ function ExportScopeSection() {
|
|
|
858
858
|
exportType = _useExportResourcesCo.exportType,
|
|
859
859
|
totalResourcesCount = _useExportResourcesCo.totalResourcesCount,
|
|
860
860
|
filters = _useExportResourcesCo.filters,
|
|
861
|
-
selectedResourceIds = _useExportResourcesCo.selectedResourceIds,
|
|
862
861
|
hasFilters = _useExportResourcesCo.hasFilters,
|
|
862
|
+
selectedResourceIds = _useExportResourcesCo.selectedResourceIds,
|
|
863
863
|
setExportType = _useExportResourcesCo.setExportType,
|
|
864
864
|
resourceType = _useExportResourcesCo.resourceType;
|
|
865
865
|
return jsxRuntime.jsx(uiKit.Spacings.Stack, {
|
|
@@ -884,9 +884,9 @@ function ExportScopeSection() {
|
|
|
884
884
|
})
|
|
885
885
|
}), filters && jsxRuntime.jsx(uiKit.RadioInput.Option, {
|
|
886
886
|
value: EXPORT_TYPES.FILTERED,
|
|
887
|
-
isDisabled: !filters.total,
|
|
887
|
+
isDisabled: !filters.total || !hasFilters,
|
|
888
888
|
children: jsxRuntime.jsx(uiKit.Text.Body, {
|
|
889
|
-
tone: !hasFilters ? 'tertiary' : undefined,
|
|
889
|
+
tone: !filters.total || !hasFilters ? 'tertiary' : undefined,
|
|
890
890
|
intlMessage: filters.total ? _objectSpread$5(_objectSpread$5({}, resourceTypeMessages[resourceType].exportScopeFiltered), {}, {
|
|
891
891
|
values: {
|
|
892
892
|
total: intl.formatNumber(filters.total)
|
|
@@ -1607,7 +1607,7 @@ const ExportResourcesProvider = props => {
|
|
|
1607
1607
|
totalResourcesCount: props.totalResourcesCount,
|
|
1608
1608
|
selectedResourceIds: props.selectedResourceIds,
|
|
1609
1609
|
filters: props.filters,
|
|
1610
|
-
hasFilters:
|
|
1610
|
+
hasFilters: areFiltersApplied(props.filters),
|
|
1611
1611
|
setExportType
|
|
1612
1612
|
},
|
|
1613
1613
|
children: props.children
|
|
@@ -1630,7 +1630,7 @@ const getChunkImport = locale => {
|
|
|
1630
1630
|
case 'de':
|
|
1631
1631
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-a3f2c067.cjs.dev.js'); });
|
|
1632
1632
|
case 'es':
|
|
1633
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1633
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-cf3acf58.cjs.dev.js'); });
|
|
1634
1634
|
case 'fr-FR':
|
|
1635
1635
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-3f1b2b78.cjs.dev.js'); });
|
|
1636
1636
|
case 'zh-CN':
|
|
@@ -557,19 +557,19 @@ function buildSelectedExportFilters(selectedResourceIds) {
|
|
|
557
557
|
const formattedIds = _mapInstanceProperty__default["default"](selectedResourceIds).call(selectedResourceIds, id => "\"".concat(id, "\"")).join(', ');
|
|
558
558
|
return "id in (".concat(formattedIds, ")");
|
|
559
559
|
}
|
|
560
|
-
function
|
|
561
|
-
var
|
|
560
|
+
function areFiltersApplied(filters) {
|
|
561
|
+
var _filters$where;
|
|
562
562
|
if (!filters) {
|
|
563
563
|
return false;
|
|
564
564
|
}
|
|
565
|
-
return filters.where !== undefined && _trimInstanceProperty__default["default"](
|
|
565
|
+
return filters.where !== undefined && ((_filters$where = filters.where) === null || _filters$where === void 0 ? void 0 : _trimInstanceProperty__default["default"](_filters$where).call(_filters$where)) !== '';
|
|
566
566
|
}
|
|
567
567
|
function getInitialExportType(args) {
|
|
568
568
|
var _args$selectedResourc, _args$filters;
|
|
569
569
|
if ((_args$selectedResourc = args.selectedResourceIds) !== null && _args$selectedResourc !== void 0 && _args$selectedResourc.length) {
|
|
570
570
|
return EXPORT_TYPES.SELECTED;
|
|
571
571
|
}
|
|
572
|
-
if ((_args$filters = args.filters) !== null && _args$filters !== void 0 && _args$filters.total) {
|
|
572
|
+
if ((_args$filters = args.filters) !== null && _args$filters !== void 0 && _args$filters.total && areFiltersApplied(args.filters)) {
|
|
573
573
|
return EXPORT_TYPES.FILTERED;
|
|
574
574
|
}
|
|
575
575
|
return EXPORT_TYPES.ALL;
|
|
@@ -858,8 +858,8 @@ function ExportScopeSection() {
|
|
|
858
858
|
exportType = _useExportResourcesCo.exportType,
|
|
859
859
|
totalResourcesCount = _useExportResourcesCo.totalResourcesCount,
|
|
860
860
|
filters = _useExportResourcesCo.filters,
|
|
861
|
-
selectedResourceIds = _useExportResourcesCo.selectedResourceIds,
|
|
862
861
|
hasFilters = _useExportResourcesCo.hasFilters,
|
|
862
|
+
selectedResourceIds = _useExportResourcesCo.selectedResourceIds,
|
|
863
863
|
setExportType = _useExportResourcesCo.setExportType,
|
|
864
864
|
resourceType = _useExportResourcesCo.resourceType;
|
|
865
865
|
return jsxRuntime.jsx(uiKit.Spacings.Stack, {
|
|
@@ -884,9 +884,9 @@ function ExportScopeSection() {
|
|
|
884
884
|
})
|
|
885
885
|
}), filters && jsxRuntime.jsx(uiKit.RadioInput.Option, {
|
|
886
886
|
value: EXPORT_TYPES.FILTERED,
|
|
887
|
-
isDisabled: !filters.total,
|
|
887
|
+
isDisabled: !filters.total || !hasFilters,
|
|
888
888
|
children: jsxRuntime.jsx(uiKit.Text.Body, {
|
|
889
|
-
tone: !hasFilters ? 'tertiary' : undefined,
|
|
889
|
+
tone: !filters.total || !hasFilters ? 'tertiary' : undefined,
|
|
890
890
|
intlMessage: filters.total ? _objectSpread$5(_objectSpread$5({}, resourceTypeMessages[resourceType].exportScopeFiltered), {}, {
|
|
891
891
|
values: {
|
|
892
892
|
total: intl.formatNumber(filters.total)
|
|
@@ -1568,7 +1568,7 @@ const ExportResourcesProvider = props => {
|
|
|
1568
1568
|
totalResourcesCount: props.totalResourcesCount,
|
|
1569
1569
|
selectedResourceIds: props.selectedResourceIds,
|
|
1570
1570
|
filters: props.filters,
|
|
1571
|
-
hasFilters:
|
|
1571
|
+
hasFilters: areFiltersApplied(props.filters),
|
|
1572
1572
|
setExportType
|
|
1573
1573
|
},
|
|
1574
1574
|
children: props.children
|
|
@@ -1591,7 +1591,7 @@ const getChunkImport = locale => {
|
|
|
1591
1591
|
case 'de':
|
|
1592
1592
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-2e768e29.cjs.prod.js'); });
|
|
1593
1593
|
case 'es':
|
|
1594
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1594
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-944a5f6c.cjs.prod.js'); });
|
|
1595
1595
|
case 'fr-FR':
|
|
1596
1596
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-be5c53ea.cjs.prod.js'); });
|
|
1597
1597
|
case 'zh-CN':
|
|
@@ -522,19 +522,19 @@ function buildSelectedExportFilters(selectedResourceIds) {
|
|
|
522
522
|
const formattedIds = _mapInstanceProperty(selectedResourceIds).call(selectedResourceIds, id => "\"".concat(id, "\"")).join(', ');
|
|
523
523
|
return "id in (".concat(formattedIds, ")");
|
|
524
524
|
}
|
|
525
|
-
function
|
|
526
|
-
var
|
|
525
|
+
function areFiltersApplied(filters) {
|
|
526
|
+
var _filters$where;
|
|
527
527
|
if (!filters) {
|
|
528
528
|
return false;
|
|
529
529
|
}
|
|
530
|
-
return filters.where !== undefined &&
|
|
530
|
+
return filters.where !== undefined && ((_filters$where = filters.where) === null || _filters$where === void 0 ? void 0 : _trimInstanceProperty(_filters$where).call(_filters$where)) !== '';
|
|
531
531
|
}
|
|
532
532
|
function getInitialExportType(args) {
|
|
533
533
|
var _args$selectedResourc, _args$filters;
|
|
534
534
|
if ((_args$selectedResourc = args.selectedResourceIds) !== null && _args$selectedResourc !== void 0 && _args$selectedResourc.length) {
|
|
535
535
|
return EXPORT_TYPES.SELECTED;
|
|
536
536
|
}
|
|
537
|
-
if ((_args$filters = args.filters) !== null && _args$filters !== void 0 && _args$filters.total) {
|
|
537
|
+
if ((_args$filters = args.filters) !== null && _args$filters !== void 0 && _args$filters.total && areFiltersApplied(args.filters)) {
|
|
538
538
|
return EXPORT_TYPES.FILTERED;
|
|
539
539
|
}
|
|
540
540
|
return EXPORT_TYPES.ALL;
|
|
@@ -823,8 +823,8 @@ function ExportScopeSection() {
|
|
|
823
823
|
exportType = _useExportResourcesCo.exportType,
|
|
824
824
|
totalResourcesCount = _useExportResourcesCo.totalResourcesCount,
|
|
825
825
|
filters = _useExportResourcesCo.filters,
|
|
826
|
-
selectedResourceIds = _useExportResourcesCo.selectedResourceIds,
|
|
827
826
|
hasFilters = _useExportResourcesCo.hasFilters,
|
|
827
|
+
selectedResourceIds = _useExportResourcesCo.selectedResourceIds,
|
|
828
828
|
setExportType = _useExportResourcesCo.setExportType,
|
|
829
829
|
resourceType = _useExportResourcesCo.resourceType;
|
|
830
830
|
return jsx(Spacings.Stack, {
|
|
@@ -849,9 +849,9 @@ function ExportScopeSection() {
|
|
|
849
849
|
})
|
|
850
850
|
}), filters && jsx(RadioInput.Option, {
|
|
851
851
|
value: EXPORT_TYPES.FILTERED,
|
|
852
|
-
isDisabled: !filters.total,
|
|
852
|
+
isDisabled: !filters.total || !hasFilters,
|
|
853
853
|
children: jsx(Text.Body, {
|
|
854
|
-
tone: !hasFilters ? 'tertiary' : undefined,
|
|
854
|
+
tone: !filters.total || !hasFilters ? 'tertiary' : undefined,
|
|
855
855
|
intlMessage: filters.total ? _objectSpread$5(_objectSpread$5({}, resourceTypeMessages[resourceType].exportScopeFiltered), {}, {
|
|
856
856
|
values: {
|
|
857
857
|
total: intl.formatNumber(filters.total)
|
|
@@ -1572,7 +1572,7 @@ const ExportResourcesProvider = props => {
|
|
|
1572
1572
|
totalResourcesCount: props.totalResourcesCount,
|
|
1573
1573
|
selectedResourceIds: props.selectedResourceIds,
|
|
1574
1574
|
filters: props.filters,
|
|
1575
|
-
hasFilters:
|
|
1575
|
+
hasFilters: areFiltersApplied(props.filters),
|
|
1576
1576
|
setExportType
|
|
1577
1577
|
},
|
|
1578
1578
|
children: props.children
|
|
@@ -1595,7 +1595,7 @@ const getChunkImport = locale => {
|
|
|
1595
1595
|
case 'de':
|
|
1596
1596
|
return import( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-958cd924.esm.js');
|
|
1597
1597
|
case 'es':
|
|
1598
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1598
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-3ba6234a.esm.js');
|
|
1599
1599
|
case 'fr-FR':
|
|
1600
1600
|
return import( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-677e95c2.esm.js');
|
|
1601
1601
|
case 'zh-CN':
|
|
@@ -27,6 +27,10 @@ var es = {
|
|
|
27
27
|
developer_comment: "Label for Export All categories",
|
|
28
28
|
string: "Exportar todo: {total} categorías"
|
|
29
29
|
},
|
|
30
|
+
"ExportResourcesModal.exportScopeAllDiscountCodes": {
|
|
31
|
+
developer_comment: "Label for Export All discount codes",
|
|
32
|
+
string: "Export all: {total} discount codes"
|
|
33
|
+
},
|
|
30
34
|
"ExportResourcesModal.exportScopeAllInventories": {
|
|
31
35
|
developer_comment: "Label for Export All inventories",
|
|
32
36
|
string: "Exportar todo: {total} inventarios"
|
|
@@ -35,10 +39,22 @@ var es = {
|
|
|
35
39
|
developer_comment: "Label for Export All products",
|
|
36
40
|
string: "Exportar todo: {total} productos"
|
|
37
41
|
},
|
|
42
|
+
"ExportResourcesModal.exportScopeFilteredDiscountCodes": {
|
|
43
|
+
developer_comment: "Label for Export Selected discount codes",
|
|
44
|
+
string: "Export filtered: {total} discount codes"
|
|
45
|
+
},
|
|
46
|
+
"ExportResourcesModal.exportScopeFilteredWithoutCount": {
|
|
47
|
+
developer_comment: "Label for Export Filtered without count",
|
|
48
|
+
string: "Export filtered"
|
|
49
|
+
},
|
|
38
50
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
39
51
|
developer_comment: "Label for Export Selected categories",
|
|
40
52
|
string: "Exportar selección: {total} categorías"
|
|
41
53
|
},
|
|
54
|
+
"ExportResourcesModal.exportScopeSelectedDiscountCodes": {
|
|
55
|
+
developer_comment: "Label for Export Selected discount codes",
|
|
56
|
+
string: "Export selected: {total} discount codes"
|
|
57
|
+
},
|
|
42
58
|
"ExportResourcesModal.exportScopeSelectedInventories": {
|
|
43
59
|
developer_comment: "Label for Export Selected inventories",
|
|
44
60
|
string: "Exportar selección: {total} inventarios"
|
|
@@ -83,6 +99,10 @@ var es = {
|
|
|
83
99
|
developer_comment: "Label for the categories modal title",
|
|
84
100
|
string: "Exportar categorías"
|
|
85
101
|
},
|
|
102
|
+
"ExportResourcesModal.modalTitle.discountCode": {
|
|
103
|
+
developer_comment: "Label for the discount codes modal title",
|
|
104
|
+
string: "Export discount codes"
|
|
105
|
+
},
|
|
86
106
|
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
87
107
|
developer_comment: "Label for the inventories modal title",
|
|
88
108
|
string: "Exportar inventarios"
|
|
@@ -122,6 +142,10 @@ var es = {
|
|
|
122
142
|
"ExportResourcesModal.selectFieldsToExport": {
|
|
123
143
|
string: "Seleccionar los campos para exportar"
|
|
124
144
|
},
|
|
145
|
+
"ExportResourcesModal.selected": {
|
|
146
|
+
developer_comment: "Label for total Selected",
|
|
147
|
+
string: "{total} selected"
|
|
148
|
+
},
|
|
125
149
|
"ExportResourcesModal.startExport": {
|
|
126
150
|
developer_comment: "Label for \"Start export\" button",
|
|
127
151
|
string: "Iniciar exportación"
|
|
@@ -29,6 +29,10 @@ var es = {
|
|
|
29
29
|
developer_comment: "Label for Export All categories",
|
|
30
30
|
string: "Exportar todo: {total} categorías"
|
|
31
31
|
},
|
|
32
|
+
"ExportResourcesModal.exportScopeAllDiscountCodes": {
|
|
33
|
+
developer_comment: "Label for Export All discount codes",
|
|
34
|
+
string: "Export all: {total} discount codes"
|
|
35
|
+
},
|
|
32
36
|
"ExportResourcesModal.exportScopeAllInventories": {
|
|
33
37
|
developer_comment: "Label for Export All inventories",
|
|
34
38
|
string: "Exportar todo: {total} inventarios"
|
|
@@ -37,10 +41,22 @@ var es = {
|
|
|
37
41
|
developer_comment: "Label for Export All products",
|
|
38
42
|
string: "Exportar todo: {total} productos"
|
|
39
43
|
},
|
|
44
|
+
"ExportResourcesModal.exportScopeFilteredDiscountCodes": {
|
|
45
|
+
developer_comment: "Label for Export Selected discount codes",
|
|
46
|
+
string: "Export filtered: {total} discount codes"
|
|
47
|
+
},
|
|
48
|
+
"ExportResourcesModal.exportScopeFilteredWithoutCount": {
|
|
49
|
+
developer_comment: "Label for Export Filtered without count",
|
|
50
|
+
string: "Export filtered"
|
|
51
|
+
},
|
|
40
52
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
41
53
|
developer_comment: "Label for Export Selected categories",
|
|
42
54
|
string: "Exportar selección: {total} categorías"
|
|
43
55
|
},
|
|
56
|
+
"ExportResourcesModal.exportScopeSelectedDiscountCodes": {
|
|
57
|
+
developer_comment: "Label for Export Selected discount codes",
|
|
58
|
+
string: "Export selected: {total} discount codes"
|
|
59
|
+
},
|
|
44
60
|
"ExportResourcesModal.exportScopeSelectedInventories": {
|
|
45
61
|
developer_comment: "Label for Export Selected inventories",
|
|
46
62
|
string: "Exportar selección: {total} inventarios"
|
|
@@ -85,6 +101,10 @@ var es = {
|
|
|
85
101
|
developer_comment: "Label for the categories modal title",
|
|
86
102
|
string: "Exportar categorías"
|
|
87
103
|
},
|
|
104
|
+
"ExportResourcesModal.modalTitle.discountCode": {
|
|
105
|
+
developer_comment: "Label for the discount codes modal title",
|
|
106
|
+
string: "Export discount codes"
|
|
107
|
+
},
|
|
88
108
|
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
89
109
|
developer_comment: "Label for the inventories modal title",
|
|
90
110
|
string: "Exportar inventarios"
|
|
@@ -124,6 +144,10 @@ var es = {
|
|
|
124
144
|
"ExportResourcesModal.selectFieldsToExport": {
|
|
125
145
|
string: "Seleccionar los campos para exportar"
|
|
126
146
|
},
|
|
147
|
+
"ExportResourcesModal.selected": {
|
|
148
|
+
developer_comment: "Label for total Selected",
|
|
149
|
+
string: "{total} selected"
|
|
150
|
+
},
|
|
127
151
|
"ExportResourcesModal.startExport": {
|
|
128
152
|
developer_comment: "Label for \"Start export\" button",
|
|
129
153
|
string: "Iniciar exportación"
|
|
@@ -29,6 +29,10 @@ var es = {
|
|
|
29
29
|
developer_comment: "Label for Export All categories",
|
|
30
30
|
string: "Exportar todo: {total} categorías"
|
|
31
31
|
},
|
|
32
|
+
"ExportResourcesModal.exportScopeAllDiscountCodes": {
|
|
33
|
+
developer_comment: "Label for Export All discount codes",
|
|
34
|
+
string: "Export all: {total} discount codes"
|
|
35
|
+
},
|
|
32
36
|
"ExportResourcesModal.exportScopeAllInventories": {
|
|
33
37
|
developer_comment: "Label for Export All inventories",
|
|
34
38
|
string: "Exportar todo: {total} inventarios"
|
|
@@ -37,10 +41,22 @@ var es = {
|
|
|
37
41
|
developer_comment: "Label for Export All products",
|
|
38
42
|
string: "Exportar todo: {total} productos"
|
|
39
43
|
},
|
|
44
|
+
"ExportResourcesModal.exportScopeFilteredDiscountCodes": {
|
|
45
|
+
developer_comment: "Label for Export Selected discount codes",
|
|
46
|
+
string: "Export filtered: {total} discount codes"
|
|
47
|
+
},
|
|
48
|
+
"ExportResourcesModal.exportScopeFilteredWithoutCount": {
|
|
49
|
+
developer_comment: "Label for Export Filtered without count",
|
|
50
|
+
string: "Export filtered"
|
|
51
|
+
},
|
|
40
52
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
41
53
|
developer_comment: "Label for Export Selected categories",
|
|
42
54
|
string: "Exportar selección: {total} categorías"
|
|
43
55
|
},
|
|
56
|
+
"ExportResourcesModal.exportScopeSelectedDiscountCodes": {
|
|
57
|
+
developer_comment: "Label for Export Selected discount codes",
|
|
58
|
+
string: "Export selected: {total} discount codes"
|
|
59
|
+
},
|
|
44
60
|
"ExportResourcesModal.exportScopeSelectedInventories": {
|
|
45
61
|
developer_comment: "Label for Export Selected inventories",
|
|
46
62
|
string: "Exportar selección: {total} inventarios"
|
|
@@ -85,6 +101,10 @@ var es = {
|
|
|
85
101
|
developer_comment: "Label for the categories modal title",
|
|
86
102
|
string: "Exportar categorías"
|
|
87
103
|
},
|
|
104
|
+
"ExportResourcesModal.modalTitle.discountCode": {
|
|
105
|
+
developer_comment: "Label for the discount codes modal title",
|
|
106
|
+
string: "Export discount codes"
|
|
107
|
+
},
|
|
88
108
|
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
89
109
|
developer_comment: "Label for the inventories modal title",
|
|
90
110
|
string: "Exportar inventarios"
|
|
@@ -124,6 +144,10 @@ var es = {
|
|
|
124
144
|
"ExportResourcesModal.selectFieldsToExport": {
|
|
125
145
|
string: "Seleccionar los campos para exportar"
|
|
126
146
|
},
|
|
147
|
+
"ExportResourcesModal.selected": {
|
|
148
|
+
developer_comment: "Label for total Selected",
|
|
149
|
+
string: "{total} selected"
|
|
150
|
+
},
|
|
127
151
|
"ExportResourcesModal.startExport": {
|
|
128
152
|
developer_comment: "Label for \"Start export\" button",
|
|
129
153
|
string: "Iniciar exportación"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend-extensions/export-resources-modal",
|
|
3
3
|
"description": "Shared export modal for exporting resources",
|
|
4
|
-
"version": "4.4.
|
|
4
|
+
"version": "4.4.3",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"react": "17.0.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@commercetools-frontend/actions-global": "22.30.
|
|
34
|
-
"@commercetools-frontend/application-components": "22.30.
|
|
35
|
-
"@commercetools-frontend/application-shell": "22.30.
|
|
36
|
-
"@commercetools-frontend/application-shell-connectors": "22.30.
|
|
37
|
-
"@commercetools-frontend/constants": "22.30.
|
|
38
|
-
"@commercetools-frontend/i18n": "22.30.
|
|
39
|
-
"@commercetools-frontend/jest-preset-mc-app": "22.30.
|
|
40
|
-
"@commercetools-frontend/sdk": "22.30.
|
|
41
|
-
"@commercetools-frontend/sentry": "22.30.
|
|
33
|
+
"@commercetools-frontend/actions-global": "22.30.2",
|
|
34
|
+
"@commercetools-frontend/application-components": "22.30.2",
|
|
35
|
+
"@commercetools-frontend/application-shell": "22.30.2",
|
|
36
|
+
"@commercetools-frontend/application-shell-connectors": "22.30.2",
|
|
37
|
+
"@commercetools-frontend/constants": "22.30.2",
|
|
38
|
+
"@commercetools-frontend/i18n": "22.30.2",
|
|
39
|
+
"@commercetools-frontend/jest-preset-mc-app": "22.30.2",
|
|
40
|
+
"@commercetools-frontend/sdk": "22.30.2",
|
|
41
|
+
"@commercetools-frontend/sentry": "22.30.2",
|
|
42
42
|
"@commercetools-frontend/ui-kit": "19.9.0",
|
|
43
43
|
"@commercetools-uikit/design-system": "19.9.0",
|
|
44
44
|
"@preconstruct/cli": "2.8.7",
|
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
"react-intl": "6.6.8",
|
|
49
49
|
"react-redux": "7.2.9",
|
|
50
50
|
"redux": "4.2.1",
|
|
51
|
-
"rimraf": "5.0.
|
|
51
|
+
"rimraf": "5.0.10"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@commercetools-frontend/actions-global": "22.30.
|
|
55
|
-
"@commercetools-frontend/application-components": "22.30.
|
|
56
|
-
"@commercetools-frontend/application-shell": "22.30.
|
|
57
|
-
"@commercetools-frontend/application-shell-connectors": "22.30.
|
|
58
|
-
"@commercetools-frontend/constants": "22.30.
|
|
59
|
-
"@commercetools-frontend/i18n": "22.30.
|
|
60
|
-
"@commercetools-frontend/jest-preset-mc-app": "22.30.
|
|
61
|
-
"@commercetools-frontend/sdk": "22.30.
|
|
62
|
-
"@commercetools-frontend/sentry": "22.30.
|
|
54
|
+
"@commercetools-frontend/actions-global": "22.30.2",
|
|
55
|
+
"@commercetools-frontend/application-components": "22.30.2",
|
|
56
|
+
"@commercetools-frontend/application-shell": "22.30.2",
|
|
57
|
+
"@commercetools-frontend/application-shell-connectors": "22.30.2",
|
|
58
|
+
"@commercetools-frontend/constants": "22.30.2",
|
|
59
|
+
"@commercetools-frontend/i18n": "22.30.2",
|
|
60
|
+
"@commercetools-frontend/jest-preset-mc-app": "22.30.2",
|
|
61
|
+
"@commercetools-frontend/sdk": "22.30.2",
|
|
62
|
+
"@commercetools-frontend/sentry": "22.30.2",
|
|
63
63
|
"@commercetools-frontend/ui-kit": "19.9.0",
|
|
64
64
|
"@commercetools-uikit/design-system": "19.9.0",
|
|
65
65
|
"react-intl": "6.x",
|