@vendure/admin-ui 3.0.5 → 3.0.7
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/core/common/version.d.ts +1 -1
- package/core/shared/components/data-table-filter-presets/data-table-filter-presets.component.d.ts +1 -0
- package/core/shared/components/product-variant-selector/product-variant-selector.component.d.ts +1 -1
- package/esm2022/catalog/components/collection-data-table/collection-data-table.component.mjs +1 -1
- package/esm2022/catalog/components/collection-list/collection-list.component.mjs +1 -1
- package/esm2022/catalog/components/facet-list/facet-list.component.mjs +11 -11
- package/esm2022/catalog/components/product-list/product-list.component.mjs +1 -1
- package/esm2022/catalog/components/product-variant-quick-jump/product-variant-quick-jump.component.mjs +13 -13
- package/esm2022/core/common/base-list.component.mjs +1 -1
- package/esm2022/core/common/version.mjs +2 -2
- package/esm2022/core/data/data.module.mjs +1 -1
- package/esm2022/core/data/providers/base-data.service.mjs +1 -1
- package/esm2022/core/data/providers/collection-data.service.mjs +1 -1
- package/esm2022/core/data/providers/data.service.mjs +1 -1
- package/esm2022/core/data/providers/product-data.service.mjs +1 -1
- package/esm2022/core/data/utils/add-custom-fields.mjs +1 -1
- package/esm2022/core/providers/data-table/data-table-config.service.mjs +1 -1
- package/esm2022/core/shared/components/data-table-2/data-table2.component.mjs +1 -1
- package/esm2022/core/shared/components/data-table-filter-presets/data-table-filter-presets.component.mjs +23 -3
- package/esm2022/core/shared/components/data-table-filter-presets/filter-preset.service.mjs +1 -1
- package/esm2022/core/shared/components/product-multi-selector-dialog/product-multi-selector-dialog.component.mjs +2 -2
- package/esm2022/core/shared/components/product-variant-selector/product-variant-selector.component.mjs +2 -2
- package/esm2022/core/shared/dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component.mjs +7 -1
- package/esm2022/customer/components/customer-group-list/customer-group-list.component.mjs +11 -11
- package/esm2022/customer/components/customer-list/customer-list.component.mjs +24 -24
- package/esm2022/marketing/components/promotion-list/promotion-list.component.mjs +11 -11
- package/esm2022/order/components/order-data-table/order-data-table.component.mjs +1 -1
- package/esm2022/order/components/order-list/order-list.component.mjs +1 -1
- package/esm2022/order/components/refund-order-dialog/refund-order-dialog.component.mjs +3 -3
- package/esm2022/order/order.routes.mjs +1 -2
- package/esm2022/settings/components/administrator-list/administrator-list.component.mjs +30 -30
- package/esm2022/settings/components/channel-list/channel-list.component.mjs +11 -11
- package/esm2022/settings/components/country-list/country-list.component.mjs +19 -19
- package/esm2022/settings/components/payment-method-list/payment-method-list.component.mjs +19 -19
- package/esm2022/settings/components/role-list/role-list.component.mjs +11 -11
- package/esm2022/settings/components/seller-list/seller-list.component.mjs +16 -16
- package/esm2022/settings/components/shipping-method-list/shipping-method-list.component.mjs +19 -19
- package/esm2022/settings/components/stock-location-list/stock-location-list.component.mjs +17 -17
- package/esm2022/settings/components/tax-category-list/tax-category-list.component.mjs +11 -11
- package/esm2022/settings/components/tax-rate-list/tax-rate-list.component.mjs +11 -11
- package/esm2022/settings/components/zone-list/zone-list.component.mjs +16 -16
- package/fesm2022/vendure-admin-ui-catalog.mjs +22 -22
- package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-core.mjs +32 -6
- package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-customer.mjs +33 -33
- package/fesm2022/vendure-admin-ui-customer.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-marketing.mjs +10 -10
- package/fesm2022/vendure-admin-ui-marketing.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-order.mjs +2 -3
- package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-settings.mjs +169 -169
- package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
- package/package.json +2 -2
- package/static/i18n-messages/sv.json +12 -12
|
@@ -957,16 +957,16 @@ const deleteCustomerGroupsBulkAction = createBulkDeleteAction({
|
|
|
957
957
|
bulkDelete: (dataService, ids) => dataService.customer.deleteCustomerGroups(ids).pipe(map(res => res.deleteCustomerGroups)),
|
|
958
958
|
});
|
|
959
959
|
|
|
960
|
-
const GET_CUSTOMER_GROUP_LIST = gql `
|
|
961
|
-
query GetCustomerGroupList($options: CustomerGroupListOptions) {
|
|
962
|
-
customerGroups(options: $options) {
|
|
963
|
-
items {
|
|
964
|
-
...CustomerGroup
|
|
965
|
-
}
|
|
966
|
-
totalItems
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
${CUSTOMER_GROUP_FRAGMENT}
|
|
960
|
+
const GET_CUSTOMER_GROUP_LIST = gql `
|
|
961
|
+
query GetCustomerGroupList($options: CustomerGroupListOptions) {
|
|
962
|
+
customerGroups(options: $options) {
|
|
963
|
+
items {
|
|
964
|
+
...CustomerGroup
|
|
965
|
+
}
|
|
966
|
+
totalItems
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
${CUSTOMER_GROUP_FRAGMENT}
|
|
970
970
|
`;
|
|
971
971
|
class CustomerGroupListComponent extends TypedBaseListComponent {
|
|
972
972
|
constructor(dataService, notificationService, modalService, route, router) {
|
|
@@ -1125,29 +1125,29 @@ const deleteCustomersBulkAction = createBulkDeleteAction({
|
|
|
1125
1125
|
bulkDelete: (dataService, ids) => dataService.customer.deleteCustomers(ids).pipe(map(res => res.deleteCustomers)),
|
|
1126
1126
|
});
|
|
1127
1127
|
|
|
1128
|
-
const CUSTOMER_LIST_QUERY = gql `
|
|
1129
|
-
query CustomerListQuery($options: CustomerListOptions) {
|
|
1130
|
-
customers(options: $options) {
|
|
1131
|
-
items {
|
|
1132
|
-
...CustomerListItem
|
|
1133
|
-
}
|
|
1134
|
-
totalItems
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
fragment CustomerListItem on Customer {
|
|
1139
|
-
id
|
|
1140
|
-
createdAt
|
|
1141
|
-
updatedAt
|
|
1142
|
-
title
|
|
1143
|
-
firstName
|
|
1144
|
-
lastName
|
|
1145
|
-
emailAddress
|
|
1146
|
-
user {
|
|
1147
|
-
id
|
|
1148
|
-
verified
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1128
|
+
const CUSTOMER_LIST_QUERY = gql `
|
|
1129
|
+
query CustomerListQuery($options: CustomerListOptions) {
|
|
1130
|
+
customers(options: $options) {
|
|
1131
|
+
items {
|
|
1132
|
+
...CustomerListItem
|
|
1133
|
+
}
|
|
1134
|
+
totalItems
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
fragment CustomerListItem on Customer {
|
|
1139
|
+
id
|
|
1140
|
+
createdAt
|
|
1141
|
+
updatedAt
|
|
1142
|
+
title
|
|
1143
|
+
firstName
|
|
1144
|
+
lastName
|
|
1145
|
+
emailAddress
|
|
1146
|
+
user {
|
|
1147
|
+
id
|
|
1148
|
+
verified
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
1151
|
`;
|
|
1152
1152
|
class CustomerListComponent extends TypedBaseListComponent {
|
|
1153
1153
|
constructor() {
|