@commercetools-frontend-extensions/export-resources-modal 4.5.5 → 4.6.0
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/README.md +1 -1
- package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.dev.js +25 -13
- package/dist/commercetools-frontend-extensions-export-resources-modal.cjs.prod.js +25 -13
- package/dist/commercetools-frontend-extensions-export-resources-modal.esm.js +25 -13
- package/dist/{de-2e768e29.cjs.prod.js → de-695399d9.cjs.prod.js} +78 -6
- package/dist/{de-a3f2c067.cjs.dev.js → de-87c7cf7f.cjs.dev.js} +78 -6
- package/dist/{de-958cd924.esm.js → de-99b348fe.esm.js} +78 -6
- package/dist/declarations/src/@types/export-resources-modal-types.d.ts +2 -1
- package/dist/{es-cf3acf58.cjs.dev.js → es-51b65e08.cjs.prod.js} +61 -13
- package/dist/{es-944a5f6c.cjs.prod.js → es-76fb86f4.cjs.dev.js} +61 -13
- package/dist/{es-3ba6234a.esm.js → es-a50b0543.esm.js} +61 -13
- package/dist/{fr-FR-677e95c2.esm.js → fr-FR-45e4cba6.esm.js} +78 -6
- package/dist/{fr-FR-be5c53ea.cjs.prod.js → fr-FR-9067e0c6.cjs.dev.js} +78 -6
- package/dist/{fr-FR-3f1b2b78.cjs.dev.js → fr-FR-edf47120.cjs.prod.js} +78 -6
- package/dist/{zh-CN-70bd76cd.esm.js → zh-CN-1b0b93bc.esm.js} +78 -6
- package/dist/{zh-CN-b116785a.cjs.dev.js → zh-CN-1b65bfd5.cjs.dev.js} +78 -6
- package/dist/{zh-CN-86871ed7.cjs.prod.js → zh-CN-4fc3d4db.cjs.prod.js} +78 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ import ExportResourcesModal from '@commercetools-frontend-extensions/export-reso
|
|
|
130
130
|
outputFormat="csv"
|
|
131
131
|
resourceType="category"
|
|
132
132
|
filters={{
|
|
133
|
-
|
|
133
|
+
queryPredicate: 'key = "category-key"',
|
|
134
134
|
total: 20
|
|
135
135
|
}}
|
|
136
136
|
totalResourcesCount={143}
|
|
@@ -634,11 +634,21 @@ function buildSelectedExportFilters(selectedResourceIds) {
|
|
|
634
634
|
const formattedIds = _mapInstanceProperty__default["default"](selectedResourceIds).call(selectedResourceIds, id => `"${id}"`).join(', ');
|
|
635
635
|
return `id in (${formattedIds})`;
|
|
636
636
|
}
|
|
637
|
+
function validateFilters(filters) {
|
|
638
|
+
const hasQueryPredicate = 'queryPredicate' in filters;
|
|
639
|
+
const hasSearchQuery = 'searchQuery' in filters;
|
|
640
|
+
|
|
641
|
+
// Ensure only one of `queryPredicate` or `searchQuery` is applied but not both or none
|
|
642
|
+
const validFilterState = hasQueryPredicate && !hasSearchQuery || !hasQueryPredicate && hasSearchQuery;
|
|
643
|
+
return validFilterState;
|
|
644
|
+
}
|
|
637
645
|
function areFiltersApplied(filters) {
|
|
638
646
|
if (!filters) {
|
|
639
647
|
return false;
|
|
640
648
|
}
|
|
641
|
-
|
|
649
|
+
const hasQueryPredicate = (filters.queryPredicate?.trim() ?? '') !== '';
|
|
650
|
+
const hasSearchQuery = _Object$keys__default["default"](filters.searchQuery ?? {}).length > 0;
|
|
651
|
+
return hasQueryPredicate || hasSearchQuery;
|
|
642
652
|
}
|
|
643
653
|
function getInitialExportType(args) {
|
|
644
654
|
if (args.selectedResourceIds?.length) {
|
|
@@ -807,6 +817,7 @@ async function createExportOperation(_ref) {
|
|
|
807
817
|
fields = _ref.fields,
|
|
808
818
|
locales = _ref.locales,
|
|
809
819
|
filters = _ref.filters,
|
|
820
|
+
where = _ref.where,
|
|
810
821
|
asyncDispatchFn = _ref.asyncDispatchFn;
|
|
811
822
|
const uri = `/${projectKey}/export-operations`;
|
|
812
823
|
const response = await asyncDispatchFn(sdk.actions.post({
|
|
@@ -821,6 +832,9 @@ async function createExportOperation(_ref) {
|
|
|
821
832
|
fileFormat,
|
|
822
833
|
fields,
|
|
823
834
|
locales,
|
|
835
|
+
// Query predicate
|
|
836
|
+
where,
|
|
837
|
+
// Search API filters
|
|
824
838
|
filters
|
|
825
839
|
}
|
|
826
840
|
}));
|
|
@@ -859,13 +873,6 @@ const useStartExportOperation = props => {
|
|
|
859
873
|
const startExportOperation = async values => {
|
|
860
874
|
try {
|
|
861
875
|
const fields = extractFieldsFromGroups(values.groups);
|
|
862
|
-
let filters = undefined;
|
|
863
|
-
if (props.exportType === EXPORT_TYPES.SELECTED) filters = buildSelectedExportFilters(props.selectedResourceIds);
|
|
864
|
-
if (props.exportType === EXPORT_TYPES.FILTERED) {
|
|
865
|
-
filters = props.filters.where;
|
|
866
|
-
// TODO: handle search query when Export API supports it
|
|
867
|
-
// filters = props.filters.where || props.filters.searchQuery
|
|
868
|
-
}
|
|
869
876
|
const response = await createExportOperation({
|
|
870
877
|
projectKey,
|
|
871
878
|
resourceType: props.resourceType,
|
|
@@ -873,7 +880,8 @@ const useStartExportOperation = props => {
|
|
|
873
880
|
fileFormat: values.outputFormat,
|
|
874
881
|
locales: values.locales,
|
|
875
882
|
fields,
|
|
876
|
-
|
|
883
|
+
where: props.exportType === EXPORT_TYPES.SELECTED ? buildSelectedExportFilters(props.selectedResourceIds) : props.filters?.queryPredicate,
|
|
884
|
+
filters: props.filters?.searchQuery,
|
|
877
885
|
asyncDispatchFn: asyncDispatch
|
|
878
886
|
});
|
|
879
887
|
switch (response.state) {
|
|
@@ -1686,13 +1694,13 @@ const getChunkImport = locale => {
|
|
|
1686
1694
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
1687
1695
|
switch (intlLocale) {
|
|
1688
1696
|
case 'de':
|
|
1689
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
1697
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-87c7cf7f.cjs.dev.js'); });
|
|
1690
1698
|
case 'es':
|
|
1691
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1699
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-76fb86f4.cjs.dev.js'); });
|
|
1692
1700
|
case 'fr-FR':
|
|
1693
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
1701
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-9067e0c6.cjs.dev.js'); });
|
|
1694
1702
|
case 'zh-CN':
|
|
1695
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-
|
|
1703
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-1b65bfd5.cjs.dev.js'); });
|
|
1696
1704
|
case 'ja':
|
|
1697
1705
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-9bd5f452.cjs.dev.js'); });
|
|
1698
1706
|
case 'pt-BR':
|
|
@@ -1759,6 +1767,10 @@ const ExportResourcesModal = props => {
|
|
|
1759
1767
|
locale = _useApplicationContex.locale;
|
|
1760
1768
|
const messages = useAsyncIntlMessages(locale, loadMessages);
|
|
1761
1769
|
if (!props.isOpen || messages.isLoading) return null;
|
|
1770
|
+
if (props.filters && !validateFilters(props.filters)) {
|
|
1771
|
+
console.error('Invalid filters prop:', props.filters, 'Filters must contain either `queryPredicate` or `searchQuery`, but not both, and it cannot be empty');
|
|
1772
|
+
return null;
|
|
1773
|
+
}
|
|
1762
1774
|
return jsxRuntime.jsx(reactIntl.IntlProvider, {
|
|
1763
1775
|
locale: locale,
|
|
1764
1776
|
messages: messages.messages,
|
|
@@ -634,11 +634,21 @@ function buildSelectedExportFilters(selectedResourceIds) {
|
|
|
634
634
|
const formattedIds = _mapInstanceProperty__default["default"](selectedResourceIds).call(selectedResourceIds, id => `"${id}"`).join(', ');
|
|
635
635
|
return `id in (${formattedIds})`;
|
|
636
636
|
}
|
|
637
|
+
function validateFilters(filters) {
|
|
638
|
+
const hasQueryPredicate = 'queryPredicate' in filters;
|
|
639
|
+
const hasSearchQuery = 'searchQuery' in filters;
|
|
640
|
+
|
|
641
|
+
// Ensure only one of `queryPredicate` or `searchQuery` is applied but not both or none
|
|
642
|
+
const validFilterState = hasQueryPredicate && !hasSearchQuery || !hasQueryPredicate && hasSearchQuery;
|
|
643
|
+
return validFilterState;
|
|
644
|
+
}
|
|
637
645
|
function areFiltersApplied(filters) {
|
|
638
646
|
if (!filters) {
|
|
639
647
|
return false;
|
|
640
648
|
}
|
|
641
|
-
|
|
649
|
+
const hasQueryPredicate = (filters.queryPredicate?.trim() ?? '') !== '';
|
|
650
|
+
const hasSearchQuery = _Object$keys__default["default"](filters.searchQuery ?? {}).length > 0;
|
|
651
|
+
return hasQueryPredicate || hasSearchQuery;
|
|
642
652
|
}
|
|
643
653
|
function getInitialExportType(args) {
|
|
644
654
|
if (args.selectedResourceIds?.length) {
|
|
@@ -807,6 +817,7 @@ async function createExportOperation(_ref) {
|
|
|
807
817
|
fields = _ref.fields,
|
|
808
818
|
locales = _ref.locales,
|
|
809
819
|
filters = _ref.filters,
|
|
820
|
+
where = _ref.where,
|
|
810
821
|
asyncDispatchFn = _ref.asyncDispatchFn;
|
|
811
822
|
const uri = `/${projectKey}/export-operations`;
|
|
812
823
|
const response = await asyncDispatchFn(sdk.actions.post({
|
|
@@ -821,6 +832,9 @@ async function createExportOperation(_ref) {
|
|
|
821
832
|
fileFormat,
|
|
822
833
|
fields,
|
|
823
834
|
locales,
|
|
835
|
+
// Query predicate
|
|
836
|
+
where,
|
|
837
|
+
// Search API filters
|
|
824
838
|
filters
|
|
825
839
|
}
|
|
826
840
|
}));
|
|
@@ -859,13 +873,6 @@ const useStartExportOperation = props => {
|
|
|
859
873
|
const startExportOperation = async values => {
|
|
860
874
|
try {
|
|
861
875
|
const fields = extractFieldsFromGroups(values.groups);
|
|
862
|
-
let filters = undefined;
|
|
863
|
-
if (props.exportType === EXPORT_TYPES.SELECTED) filters = buildSelectedExportFilters(props.selectedResourceIds);
|
|
864
|
-
if (props.exportType === EXPORT_TYPES.FILTERED) {
|
|
865
|
-
filters = props.filters.where;
|
|
866
|
-
// TODO: handle search query when Export API supports it
|
|
867
|
-
// filters = props.filters.where || props.filters.searchQuery
|
|
868
|
-
}
|
|
869
876
|
const response = await createExportOperation({
|
|
870
877
|
projectKey,
|
|
871
878
|
resourceType: props.resourceType,
|
|
@@ -873,7 +880,8 @@ const useStartExportOperation = props => {
|
|
|
873
880
|
fileFormat: values.outputFormat,
|
|
874
881
|
locales: values.locales,
|
|
875
882
|
fields,
|
|
876
|
-
|
|
883
|
+
where: props.exportType === EXPORT_TYPES.SELECTED ? buildSelectedExportFilters(props.selectedResourceIds) : props.filters?.queryPredicate,
|
|
884
|
+
filters: props.filters?.searchQuery,
|
|
877
885
|
asyncDispatchFn: asyncDispatch
|
|
878
886
|
});
|
|
879
887
|
switch (response.state) {
|
|
@@ -1653,13 +1661,13 @@ const getChunkImport = locale => {
|
|
|
1653
1661
|
const intlLocale = i18n.mapLocaleToIntlLocale(locale);
|
|
1654
1662
|
switch (intlLocale) {
|
|
1655
1663
|
case 'de':
|
|
1656
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
1664
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-695399d9.cjs.prod.js'); });
|
|
1657
1665
|
case 'es':
|
|
1658
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1666
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-51b65e08.cjs.prod.js'); });
|
|
1659
1667
|
case 'fr-FR':
|
|
1660
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
1668
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-edf47120.cjs.prod.js'); });
|
|
1661
1669
|
case 'zh-CN':
|
|
1662
|
-
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-
|
|
1670
|
+
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-4fc3d4db.cjs.prod.js'); });
|
|
1663
1671
|
case 'ja':
|
|
1664
1672
|
return Promise.resolve().then(function () { return require( /* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-37632763.cjs.prod.js'); });
|
|
1665
1673
|
case 'pt-BR':
|
|
@@ -1726,6 +1734,10 @@ const ExportResourcesModal = props => {
|
|
|
1726
1734
|
locale = _useApplicationContex.locale;
|
|
1727
1735
|
const messages = useAsyncIntlMessages(locale, loadMessages);
|
|
1728
1736
|
if (!props.isOpen || messages.isLoading) return null;
|
|
1737
|
+
if (props.filters && !validateFilters(props.filters)) {
|
|
1738
|
+
console.error('Invalid filters prop:', props.filters, 'Filters must contain either `queryPredicate` or `searchQuery`, but not both, and it cannot be empty');
|
|
1739
|
+
return null;
|
|
1740
|
+
}
|
|
1729
1741
|
return jsxRuntime.jsx(reactIntl.IntlProvider, {
|
|
1730
1742
|
locale: locale,
|
|
1731
1743
|
messages: messages.messages,
|
|
@@ -600,11 +600,21 @@ function buildSelectedExportFilters(selectedResourceIds) {
|
|
|
600
600
|
const formattedIds = _mapInstanceProperty(selectedResourceIds).call(selectedResourceIds, id => `"${id}"`).join(', ');
|
|
601
601
|
return `id in (${formattedIds})`;
|
|
602
602
|
}
|
|
603
|
+
function validateFilters(filters) {
|
|
604
|
+
const hasQueryPredicate = 'queryPredicate' in filters;
|
|
605
|
+
const hasSearchQuery = 'searchQuery' in filters;
|
|
606
|
+
|
|
607
|
+
// Ensure only one of `queryPredicate` or `searchQuery` is applied but not both or none
|
|
608
|
+
const validFilterState = hasQueryPredicate && !hasSearchQuery || !hasQueryPredicate && hasSearchQuery;
|
|
609
|
+
return validFilterState;
|
|
610
|
+
}
|
|
603
611
|
function areFiltersApplied(filters) {
|
|
604
612
|
if (!filters) {
|
|
605
613
|
return false;
|
|
606
614
|
}
|
|
607
|
-
|
|
615
|
+
const hasQueryPredicate = (filters.queryPredicate?.trim() ?? '') !== '';
|
|
616
|
+
const hasSearchQuery = _Object$keys(filters.searchQuery ?? {}).length > 0;
|
|
617
|
+
return hasQueryPredicate || hasSearchQuery;
|
|
608
618
|
}
|
|
609
619
|
function getInitialExportType(args) {
|
|
610
620
|
if (args.selectedResourceIds?.length) {
|
|
@@ -773,6 +783,7 @@ async function createExportOperation(_ref) {
|
|
|
773
783
|
fields = _ref.fields,
|
|
774
784
|
locales = _ref.locales,
|
|
775
785
|
filters = _ref.filters,
|
|
786
|
+
where = _ref.where,
|
|
776
787
|
asyncDispatchFn = _ref.asyncDispatchFn;
|
|
777
788
|
const uri = `/${projectKey}/export-operations`;
|
|
778
789
|
const response = await asyncDispatchFn(actions.post({
|
|
@@ -787,6 +798,9 @@ async function createExportOperation(_ref) {
|
|
|
787
798
|
fileFormat,
|
|
788
799
|
fields,
|
|
789
800
|
locales,
|
|
801
|
+
// Query predicate
|
|
802
|
+
where,
|
|
803
|
+
// Search API filters
|
|
790
804
|
filters
|
|
791
805
|
}
|
|
792
806
|
}));
|
|
@@ -825,13 +839,6 @@ const useStartExportOperation = props => {
|
|
|
825
839
|
const startExportOperation = async values => {
|
|
826
840
|
try {
|
|
827
841
|
const fields = extractFieldsFromGroups(values.groups);
|
|
828
|
-
let filters = undefined;
|
|
829
|
-
if (props.exportType === EXPORT_TYPES.SELECTED) filters = buildSelectedExportFilters(props.selectedResourceIds);
|
|
830
|
-
if (props.exportType === EXPORT_TYPES.FILTERED) {
|
|
831
|
-
filters = props.filters.where;
|
|
832
|
-
// TODO: handle search query when Export API supports it
|
|
833
|
-
// filters = props.filters.where || props.filters.searchQuery
|
|
834
|
-
}
|
|
835
842
|
const response = await createExportOperation({
|
|
836
843
|
projectKey,
|
|
837
844
|
resourceType: props.resourceType,
|
|
@@ -839,7 +846,8 @@ const useStartExportOperation = props => {
|
|
|
839
846
|
fileFormat: values.outputFormat,
|
|
840
847
|
locales: values.locales,
|
|
841
848
|
fields,
|
|
842
|
-
|
|
849
|
+
where: props.exportType === EXPORT_TYPES.SELECTED ? buildSelectedExportFilters(props.selectedResourceIds) : props.filters?.queryPredicate,
|
|
850
|
+
filters: props.filters?.searchQuery,
|
|
843
851
|
asyncDispatchFn: asyncDispatch
|
|
844
852
|
});
|
|
845
853
|
switch (response.state) {
|
|
@@ -1652,13 +1660,13 @@ const getChunkImport = locale => {
|
|
|
1652
1660
|
const intlLocale = mapLocaleToIntlLocale(locale);
|
|
1653
1661
|
switch (intlLocale) {
|
|
1654
1662
|
case 'de':
|
|
1655
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-
|
|
1663
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-de" */'./de-99b348fe.esm.js');
|
|
1656
1664
|
case 'es':
|
|
1657
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-
|
|
1665
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-es" */'./es-a50b0543.esm.js');
|
|
1658
1666
|
case 'fr-FR':
|
|
1659
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-
|
|
1667
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-fr-FR" */'./fr-FR-45e4cba6.esm.js');
|
|
1660
1668
|
case 'zh-CN':
|
|
1661
|
-
return import( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-
|
|
1669
|
+
return import( /* webpackChunkName: "export-resources-modal-i18n-zh-CN" */'./zh-CN-1b0b93bc.esm.js');
|
|
1662
1670
|
case 'ja':
|
|
1663
1671
|
return import( /* webpackChunkName: "export-resources-modal-i18n-ja" */'./ja-73c088a7.esm.js');
|
|
1664
1672
|
case 'pt-BR':
|
|
@@ -1725,6 +1733,10 @@ const ExportResourcesModal = props => {
|
|
|
1725
1733
|
locale = _useApplicationContex.locale;
|
|
1726
1734
|
const messages = useAsyncIntlMessages(locale, loadMessages);
|
|
1727
1735
|
if (!props.isOpen || messages.isLoading) return null;
|
|
1736
|
+
if (props.filters && !validateFilters(props.filters)) {
|
|
1737
|
+
console.error('Invalid filters prop:', props.filters, 'Filters must contain either `queryPredicate` or `searchQuery`, but not both, and it cannot be empty');
|
|
1738
|
+
return null;
|
|
1739
|
+
}
|
|
1728
1740
|
return jsx(IntlProvider, {
|
|
1729
1741
|
locale: locale,
|
|
1730
1742
|
messages: messages.messages,
|
|
@@ -17,6 +17,18 @@ var de = {
|
|
|
17
17
|
developer_comment: "Select Export setttings based on my views",
|
|
18
18
|
string: "Wählen Sie Exporteinstellungen basierend auf:"
|
|
19
19
|
},
|
|
20
|
+
"ExportResourcesModal.exportInventoriesForAllProducts": {
|
|
21
|
+
developer_comment: "Label for Export All inventories",
|
|
22
|
+
string: "Lagerbestände für alle {total} Produkte exportieren"
|
|
23
|
+
},
|
|
24
|
+
"ExportResourcesModal.exportInventoriesForFilteredProducts": {
|
|
25
|
+
developer_comment: "Label for Export Filtered inventories",
|
|
26
|
+
string: "Lagerbestände für die {total} gefilterten Produkte exportieren"
|
|
27
|
+
},
|
|
28
|
+
"ExportResourcesModal.exportInventoriesForSelectedProducts": {
|
|
29
|
+
developer_comment: "Label for Export Selected inventories",
|
|
30
|
+
string: "Lagerbestände für die {total} ausgewählten Produkte exportieren"
|
|
31
|
+
},
|
|
20
32
|
"ExportResourcesModal.exportOperationSuccessMessage": {
|
|
21
33
|
developer_comment: "Success message",
|
|
22
34
|
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."
|
|
@@ -29,21 +41,73 @@ var de = {
|
|
|
29
41
|
developer_comment: "Label for Export All categories",
|
|
30
42
|
string: "Export all: {total} categories"
|
|
31
43
|
},
|
|
32
|
-
"ExportResourcesModal.
|
|
33
|
-
developer_comment: "Label for Export All
|
|
34
|
-
string: "
|
|
44
|
+
"ExportResourcesModal.exportScopeAllCustomers": {
|
|
45
|
+
developer_comment: "Label for Export All customers",
|
|
46
|
+
string: "Alles exportieren: {total} Kunden"
|
|
47
|
+
},
|
|
48
|
+
"ExportResourcesModal.exportScopeAllDiscountCodes": {
|
|
49
|
+
developer_comment: "Label for Export All discount codes",
|
|
50
|
+
string: "Alle exportieren: {total} Rabattcodes"
|
|
51
|
+
},
|
|
52
|
+
"ExportResourcesModal.exportScopeAllOrders": {
|
|
53
|
+
developer_comment: "Label for Export All orders",
|
|
54
|
+
string: "Alle exportieren: {total} Bestellungen"
|
|
55
|
+
},
|
|
56
|
+
"ExportResourcesModal.exportScopeAllProductTypes": {
|
|
57
|
+
developer_comment: "Label for Export All product types",
|
|
58
|
+
string: "Alle exportieren: {total} Produkttypen"
|
|
35
59
|
},
|
|
36
60
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
37
61
|
developer_comment: "Label for Export All products",
|
|
38
62
|
string: "Export all: {total} products"
|
|
39
63
|
},
|
|
64
|
+
"ExportResourcesModal.exportScopeFilteredCategories": {
|
|
65
|
+
developer_comment: "Label for Export Filtered categories",
|
|
66
|
+
string: "Gefilterte exportieren: {total} Kategorien"
|
|
67
|
+
},
|
|
68
|
+
"ExportResourcesModal.exportScopeFilteredCustomers": {
|
|
69
|
+
developer_comment: "Label for Export Filtered customers",
|
|
70
|
+
string: "Gefilterte exportieren: {total} Kunden"
|
|
71
|
+
},
|
|
72
|
+
"ExportResourcesModal.exportScopeFilteredDiscountCodes": {
|
|
73
|
+
developer_comment: "Label for Export Filtered discount codes",
|
|
74
|
+
string: "Gefilterte exportieren: {total} Rabattcodes"
|
|
75
|
+
},
|
|
76
|
+
"ExportResourcesModal.exportScopeFilteredOrders": {
|
|
77
|
+
developer_comment: "Label for Export Filtered orders",
|
|
78
|
+
string: "Gefilterte exportieren: {total} Bestellungen"
|
|
79
|
+
},
|
|
80
|
+
"ExportResourcesModal.exportScopeFilteredProductTypes": {
|
|
81
|
+
developer_comment: "Label for Export Filtered product types",
|
|
82
|
+
string: "Gefilterte exportieren: {total} Produkttypen"
|
|
83
|
+
},
|
|
84
|
+
"ExportResourcesModal.exportScopeFilteredProducts": {
|
|
85
|
+
developer_comment: "Label for Export Filtered products",
|
|
86
|
+
string: "Gefilterte exportieren: {total} Produkte"
|
|
87
|
+
},
|
|
88
|
+
"ExportResourcesModal.exportScopeFilteredWithoutCount": {
|
|
89
|
+
developer_comment: "Label for Export Filtered without count",
|
|
90
|
+
string: "Gefilterte exportieren"
|
|
91
|
+
},
|
|
40
92
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
41
93
|
developer_comment: "Label for Export Selected categories",
|
|
42
94
|
string: "Export selected: {total} categories"
|
|
43
95
|
},
|
|
44
|
-
"ExportResourcesModal.
|
|
45
|
-
developer_comment: "Label for Export Selected
|
|
46
|
-
string: "
|
|
96
|
+
"ExportResourcesModal.exportScopeSelectedCustomers": {
|
|
97
|
+
developer_comment: "Label for Export Selected customers",
|
|
98
|
+
string: "Ausgewählte exportieren: {total} Kunden"
|
|
99
|
+
},
|
|
100
|
+
"ExportResourcesModal.exportScopeSelectedDiscountCodes": {
|
|
101
|
+
developer_comment: "Label for Export Selected discount codes",
|
|
102
|
+
string: "Ausgewählte exportieren: {total} Rabattcodes"
|
|
103
|
+
},
|
|
104
|
+
"ExportResourcesModal.exportScopeSelectedOrders": {
|
|
105
|
+
developer_comment: "Label for Export Selected orders",
|
|
106
|
+
string: "Ausgewählte exportieren: {total} Bestellungen"
|
|
107
|
+
},
|
|
108
|
+
"ExportResourcesModal.exportScopeSelectedProductTypes": {
|
|
109
|
+
developer_comment: "Label for Export Selected product types",
|
|
110
|
+
string: "Ausgewählte exportieren: {total} Produkttypen"
|
|
47
111
|
},
|
|
48
112
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
49
113
|
developer_comment: "Label for Export Selected products",
|
|
@@ -85,6 +149,10 @@ var de = {
|
|
|
85
149
|
developer_comment: "Label for the categories modal title",
|
|
86
150
|
string: "Export categories"
|
|
87
151
|
},
|
|
152
|
+
"ExportResourcesModal.modalTitle.discountCode": {
|
|
153
|
+
developer_comment: "Label for the discount codes modal title",
|
|
154
|
+
string: "Rabattcodes exportieren"
|
|
155
|
+
},
|
|
88
156
|
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
89
157
|
developer_comment: "Label for the inventories modal title",
|
|
90
158
|
string: "Lagerbestände exportieren"
|
|
@@ -124,6 +192,10 @@ var de = {
|
|
|
124
192
|
"ExportResourcesModal.selectFieldsToExport": {
|
|
125
193
|
string: "Zu exportierende Felder auswählen"
|
|
126
194
|
},
|
|
195
|
+
"ExportResourcesModal.selected": {
|
|
196
|
+
developer_comment: "Label for total Selected",
|
|
197
|
+
string: "{total} ausgewählt"
|
|
198
|
+
},
|
|
127
199
|
"ExportResourcesModal.startExport": {
|
|
128
200
|
developer_comment: "Label for \"Start export\" button",
|
|
129
201
|
string: "Export starten"
|
|
@@ -17,6 +17,18 @@ var de = {
|
|
|
17
17
|
developer_comment: "Select Export setttings based on my views",
|
|
18
18
|
string: "Wählen Sie Exporteinstellungen basierend auf:"
|
|
19
19
|
},
|
|
20
|
+
"ExportResourcesModal.exportInventoriesForAllProducts": {
|
|
21
|
+
developer_comment: "Label for Export All inventories",
|
|
22
|
+
string: "Lagerbestände für alle {total} Produkte exportieren"
|
|
23
|
+
},
|
|
24
|
+
"ExportResourcesModal.exportInventoriesForFilteredProducts": {
|
|
25
|
+
developer_comment: "Label for Export Filtered inventories",
|
|
26
|
+
string: "Lagerbestände für die {total} gefilterten Produkte exportieren"
|
|
27
|
+
},
|
|
28
|
+
"ExportResourcesModal.exportInventoriesForSelectedProducts": {
|
|
29
|
+
developer_comment: "Label for Export Selected inventories",
|
|
30
|
+
string: "Lagerbestände für die {total} ausgewählten Produkte exportieren"
|
|
31
|
+
},
|
|
20
32
|
"ExportResourcesModal.exportOperationSuccessMessage": {
|
|
21
33
|
developer_comment: "Success message",
|
|
22
34
|
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."
|
|
@@ -29,21 +41,73 @@ var de = {
|
|
|
29
41
|
developer_comment: "Label for Export All categories",
|
|
30
42
|
string: "Export all: {total} categories"
|
|
31
43
|
},
|
|
32
|
-
"ExportResourcesModal.
|
|
33
|
-
developer_comment: "Label for Export All
|
|
34
|
-
string: "
|
|
44
|
+
"ExportResourcesModal.exportScopeAllCustomers": {
|
|
45
|
+
developer_comment: "Label for Export All customers",
|
|
46
|
+
string: "Alles exportieren: {total} Kunden"
|
|
47
|
+
},
|
|
48
|
+
"ExportResourcesModal.exportScopeAllDiscountCodes": {
|
|
49
|
+
developer_comment: "Label for Export All discount codes",
|
|
50
|
+
string: "Alle exportieren: {total} Rabattcodes"
|
|
51
|
+
},
|
|
52
|
+
"ExportResourcesModal.exportScopeAllOrders": {
|
|
53
|
+
developer_comment: "Label for Export All orders",
|
|
54
|
+
string: "Alle exportieren: {total} Bestellungen"
|
|
55
|
+
},
|
|
56
|
+
"ExportResourcesModal.exportScopeAllProductTypes": {
|
|
57
|
+
developer_comment: "Label for Export All product types",
|
|
58
|
+
string: "Alle exportieren: {total} Produkttypen"
|
|
35
59
|
},
|
|
36
60
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
37
61
|
developer_comment: "Label for Export All products",
|
|
38
62
|
string: "Export all: {total} products"
|
|
39
63
|
},
|
|
64
|
+
"ExportResourcesModal.exportScopeFilteredCategories": {
|
|
65
|
+
developer_comment: "Label for Export Filtered categories",
|
|
66
|
+
string: "Gefilterte exportieren: {total} Kategorien"
|
|
67
|
+
},
|
|
68
|
+
"ExportResourcesModal.exportScopeFilteredCustomers": {
|
|
69
|
+
developer_comment: "Label for Export Filtered customers",
|
|
70
|
+
string: "Gefilterte exportieren: {total} Kunden"
|
|
71
|
+
},
|
|
72
|
+
"ExportResourcesModal.exportScopeFilteredDiscountCodes": {
|
|
73
|
+
developer_comment: "Label for Export Filtered discount codes",
|
|
74
|
+
string: "Gefilterte exportieren: {total} Rabattcodes"
|
|
75
|
+
},
|
|
76
|
+
"ExportResourcesModal.exportScopeFilteredOrders": {
|
|
77
|
+
developer_comment: "Label for Export Filtered orders",
|
|
78
|
+
string: "Gefilterte exportieren: {total} Bestellungen"
|
|
79
|
+
},
|
|
80
|
+
"ExportResourcesModal.exportScopeFilteredProductTypes": {
|
|
81
|
+
developer_comment: "Label for Export Filtered product types",
|
|
82
|
+
string: "Gefilterte exportieren: {total} Produkttypen"
|
|
83
|
+
},
|
|
84
|
+
"ExportResourcesModal.exportScopeFilteredProducts": {
|
|
85
|
+
developer_comment: "Label for Export Filtered products",
|
|
86
|
+
string: "Gefilterte exportieren: {total} Produkte"
|
|
87
|
+
},
|
|
88
|
+
"ExportResourcesModal.exportScopeFilteredWithoutCount": {
|
|
89
|
+
developer_comment: "Label for Export Filtered without count",
|
|
90
|
+
string: "Gefilterte exportieren"
|
|
91
|
+
},
|
|
40
92
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
41
93
|
developer_comment: "Label for Export Selected categories",
|
|
42
94
|
string: "Export selected: {total} categories"
|
|
43
95
|
},
|
|
44
|
-
"ExportResourcesModal.
|
|
45
|
-
developer_comment: "Label for Export Selected
|
|
46
|
-
string: "
|
|
96
|
+
"ExportResourcesModal.exportScopeSelectedCustomers": {
|
|
97
|
+
developer_comment: "Label for Export Selected customers",
|
|
98
|
+
string: "Ausgewählte exportieren: {total} Kunden"
|
|
99
|
+
},
|
|
100
|
+
"ExportResourcesModal.exportScopeSelectedDiscountCodes": {
|
|
101
|
+
developer_comment: "Label for Export Selected discount codes",
|
|
102
|
+
string: "Ausgewählte exportieren: {total} Rabattcodes"
|
|
103
|
+
},
|
|
104
|
+
"ExportResourcesModal.exportScopeSelectedOrders": {
|
|
105
|
+
developer_comment: "Label for Export Selected orders",
|
|
106
|
+
string: "Ausgewählte exportieren: {total} Bestellungen"
|
|
107
|
+
},
|
|
108
|
+
"ExportResourcesModal.exportScopeSelectedProductTypes": {
|
|
109
|
+
developer_comment: "Label for Export Selected product types",
|
|
110
|
+
string: "Ausgewählte exportieren: {total} Produkttypen"
|
|
47
111
|
},
|
|
48
112
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
49
113
|
developer_comment: "Label for Export Selected products",
|
|
@@ -85,6 +149,10 @@ var de = {
|
|
|
85
149
|
developer_comment: "Label for the categories modal title",
|
|
86
150
|
string: "Export categories"
|
|
87
151
|
},
|
|
152
|
+
"ExportResourcesModal.modalTitle.discountCode": {
|
|
153
|
+
developer_comment: "Label for the discount codes modal title",
|
|
154
|
+
string: "Rabattcodes exportieren"
|
|
155
|
+
},
|
|
88
156
|
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
89
157
|
developer_comment: "Label for the inventories modal title",
|
|
90
158
|
string: "Lagerbestände exportieren"
|
|
@@ -124,6 +192,10 @@ var de = {
|
|
|
124
192
|
"ExportResourcesModal.selectFieldsToExport": {
|
|
125
193
|
string: "Zu exportierende Felder auswählen"
|
|
126
194
|
},
|
|
195
|
+
"ExportResourcesModal.selected": {
|
|
196
|
+
developer_comment: "Label for total Selected",
|
|
197
|
+
string: "{total} ausgewählt"
|
|
198
|
+
},
|
|
127
199
|
"ExportResourcesModal.startExport": {
|
|
128
200
|
developer_comment: "Label for \"Start export\" button",
|
|
129
201
|
string: "Export starten"
|
|
@@ -15,6 +15,18 @@ var de = {
|
|
|
15
15
|
developer_comment: "Select Export setttings based on my views",
|
|
16
16
|
string: "Wählen Sie Exporteinstellungen basierend auf:"
|
|
17
17
|
},
|
|
18
|
+
"ExportResourcesModal.exportInventoriesForAllProducts": {
|
|
19
|
+
developer_comment: "Label for Export All inventories",
|
|
20
|
+
string: "Lagerbestände für alle {total} Produkte exportieren"
|
|
21
|
+
},
|
|
22
|
+
"ExportResourcesModal.exportInventoriesForFilteredProducts": {
|
|
23
|
+
developer_comment: "Label for Export Filtered inventories",
|
|
24
|
+
string: "Lagerbestände für die {total} gefilterten Produkte exportieren"
|
|
25
|
+
},
|
|
26
|
+
"ExportResourcesModal.exportInventoriesForSelectedProducts": {
|
|
27
|
+
developer_comment: "Label for Export Selected inventories",
|
|
28
|
+
string: "Lagerbestände für die {total} ausgewählten Produkte exportieren"
|
|
29
|
+
},
|
|
18
30
|
"ExportResourcesModal.exportOperationSuccessMessage": {
|
|
19
31
|
developer_comment: "Success message",
|
|
20
32
|
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."
|
|
@@ -27,21 +39,73 @@ var de = {
|
|
|
27
39
|
developer_comment: "Label for Export All categories",
|
|
28
40
|
string: "Export all: {total} categories"
|
|
29
41
|
},
|
|
30
|
-
"ExportResourcesModal.
|
|
31
|
-
developer_comment: "Label for Export All
|
|
32
|
-
string: "
|
|
42
|
+
"ExportResourcesModal.exportScopeAllCustomers": {
|
|
43
|
+
developer_comment: "Label for Export All customers",
|
|
44
|
+
string: "Alles exportieren: {total} Kunden"
|
|
45
|
+
},
|
|
46
|
+
"ExportResourcesModal.exportScopeAllDiscountCodes": {
|
|
47
|
+
developer_comment: "Label for Export All discount codes",
|
|
48
|
+
string: "Alle exportieren: {total} Rabattcodes"
|
|
49
|
+
},
|
|
50
|
+
"ExportResourcesModal.exportScopeAllOrders": {
|
|
51
|
+
developer_comment: "Label for Export All orders",
|
|
52
|
+
string: "Alle exportieren: {total} Bestellungen"
|
|
53
|
+
},
|
|
54
|
+
"ExportResourcesModal.exportScopeAllProductTypes": {
|
|
55
|
+
developer_comment: "Label for Export All product types",
|
|
56
|
+
string: "Alle exportieren: {total} Produkttypen"
|
|
33
57
|
},
|
|
34
58
|
"ExportResourcesModal.exportScopeAllProducts": {
|
|
35
59
|
developer_comment: "Label for Export All products",
|
|
36
60
|
string: "Export all: {total} products"
|
|
37
61
|
},
|
|
62
|
+
"ExportResourcesModal.exportScopeFilteredCategories": {
|
|
63
|
+
developer_comment: "Label for Export Filtered categories",
|
|
64
|
+
string: "Gefilterte exportieren: {total} Kategorien"
|
|
65
|
+
},
|
|
66
|
+
"ExportResourcesModal.exportScopeFilteredCustomers": {
|
|
67
|
+
developer_comment: "Label for Export Filtered customers",
|
|
68
|
+
string: "Gefilterte exportieren: {total} Kunden"
|
|
69
|
+
},
|
|
70
|
+
"ExportResourcesModal.exportScopeFilteredDiscountCodes": {
|
|
71
|
+
developer_comment: "Label for Export Filtered discount codes",
|
|
72
|
+
string: "Gefilterte exportieren: {total} Rabattcodes"
|
|
73
|
+
},
|
|
74
|
+
"ExportResourcesModal.exportScopeFilteredOrders": {
|
|
75
|
+
developer_comment: "Label for Export Filtered orders",
|
|
76
|
+
string: "Gefilterte exportieren: {total} Bestellungen"
|
|
77
|
+
},
|
|
78
|
+
"ExportResourcesModal.exportScopeFilteredProductTypes": {
|
|
79
|
+
developer_comment: "Label for Export Filtered product types",
|
|
80
|
+
string: "Gefilterte exportieren: {total} Produkttypen"
|
|
81
|
+
},
|
|
82
|
+
"ExportResourcesModal.exportScopeFilteredProducts": {
|
|
83
|
+
developer_comment: "Label for Export Filtered products",
|
|
84
|
+
string: "Gefilterte exportieren: {total} Produkte"
|
|
85
|
+
},
|
|
86
|
+
"ExportResourcesModal.exportScopeFilteredWithoutCount": {
|
|
87
|
+
developer_comment: "Label for Export Filtered without count",
|
|
88
|
+
string: "Gefilterte exportieren"
|
|
89
|
+
},
|
|
38
90
|
"ExportResourcesModal.exportScopeSelectedCategories": {
|
|
39
91
|
developer_comment: "Label for Export Selected categories",
|
|
40
92
|
string: "Export selected: {total} categories"
|
|
41
93
|
},
|
|
42
|
-
"ExportResourcesModal.
|
|
43
|
-
developer_comment: "Label for Export Selected
|
|
44
|
-
string: "
|
|
94
|
+
"ExportResourcesModal.exportScopeSelectedCustomers": {
|
|
95
|
+
developer_comment: "Label for Export Selected customers",
|
|
96
|
+
string: "Ausgewählte exportieren: {total} Kunden"
|
|
97
|
+
},
|
|
98
|
+
"ExportResourcesModal.exportScopeSelectedDiscountCodes": {
|
|
99
|
+
developer_comment: "Label for Export Selected discount codes",
|
|
100
|
+
string: "Ausgewählte exportieren: {total} Rabattcodes"
|
|
101
|
+
},
|
|
102
|
+
"ExportResourcesModal.exportScopeSelectedOrders": {
|
|
103
|
+
developer_comment: "Label for Export Selected orders",
|
|
104
|
+
string: "Ausgewählte exportieren: {total} Bestellungen"
|
|
105
|
+
},
|
|
106
|
+
"ExportResourcesModal.exportScopeSelectedProductTypes": {
|
|
107
|
+
developer_comment: "Label for Export Selected product types",
|
|
108
|
+
string: "Ausgewählte exportieren: {total} Produkttypen"
|
|
45
109
|
},
|
|
46
110
|
"ExportResourcesModal.exportScopeSelectedProducts": {
|
|
47
111
|
developer_comment: "Label for Export Selected products",
|
|
@@ -83,6 +147,10 @@ var de = {
|
|
|
83
147
|
developer_comment: "Label for the categories modal title",
|
|
84
148
|
string: "Export categories"
|
|
85
149
|
},
|
|
150
|
+
"ExportResourcesModal.modalTitle.discountCode": {
|
|
151
|
+
developer_comment: "Label for the discount codes modal title",
|
|
152
|
+
string: "Rabattcodes exportieren"
|
|
153
|
+
},
|
|
86
154
|
"ExportResourcesModal.modalTitle.inventoryEntry": {
|
|
87
155
|
developer_comment: "Label for the inventories modal title",
|
|
88
156
|
string: "Lagerbestände exportieren"
|
|
@@ -122,6 +190,10 @@ var de = {
|
|
|
122
190
|
"ExportResourcesModal.selectFieldsToExport": {
|
|
123
191
|
string: "Zu exportierende Felder auswählen"
|
|
124
192
|
},
|
|
193
|
+
"ExportResourcesModal.selected": {
|
|
194
|
+
developer_comment: "Label for total Selected",
|
|
195
|
+
string: "{total} ausgewählt"
|
|
196
|
+
},
|
|
125
197
|
"ExportResourcesModal.startExport": {
|
|
126
198
|
developer_comment: "Label for \"Start export\" button",
|
|
127
199
|
string: "Export starten"
|