@haus-tech/product-import-export-plugin 2.2.4 → 3.0.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.
|
@@ -147,7 +147,7 @@ ProductImportExportPlugin = ProductImportExportPlugin_1 = __decorate([
|
|
|
147
147
|
});
|
|
148
148
|
return config;
|
|
149
149
|
},
|
|
150
|
-
compatibility: '^
|
|
150
|
+
compatibility: '^3.0.0',
|
|
151
151
|
})
|
|
152
152
|
], ProductImportExportPlugin);
|
|
153
153
|
exports.ProductImportExportPlugin = ProductImportExportPlugin;
|
|
@@ -92,6 +92,10 @@ let ProductExportService = class ProductExportService {
|
|
|
92
92
|
const selectedExportFieldsArray = selectedExportFields.split(',');
|
|
93
93
|
const selectedExportFieldsSet = new Set(selectedExportFieldsArray);
|
|
94
94
|
const filteredHeaders = headers.filter((header) => {
|
|
95
|
+
// Ensure custom fields are not filtered out
|
|
96
|
+
if (filteredCustomFieldNames.includes(header.id)) {
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
95
99
|
if (header.id.includes(':')) {
|
|
96
100
|
const field = header.id.split(':')[0];
|
|
97
101
|
return selectedExportFieldsSet.has(field);
|
package/dist/ui/routes.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ declare const _default: {
|
|
|
7
7
|
};
|
|
8
8
|
data: {
|
|
9
9
|
breadcrumb: import("rxjs").BehaviorSubject<import("@vendure/admin-ui/core").BreadcrumbValue> | ((data: any) => any);
|
|
10
|
+
locationId: string | undefined;
|
|
11
|
+
description: string | undefined;
|
|
10
12
|
};
|
|
11
13
|
component: typeof import("@vendure/admin-ui/core").AngularRouteComponent;
|
|
12
14
|
title?: string | import("@angular/core").Type<import("@angular/router").Resolve<string>> | import("@angular/router").ResolveFn<string> | undefined;
|