@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
|
@@ -3164,16 +3164,16 @@ const duplicateFacetsBulkAction = {
|
|
|
3164
3164
|
},
|
|
3165
3165
|
};
|
|
3166
3166
|
|
|
3167
|
-
const FACET_LIST_QUERY = gql `
|
|
3168
|
-
query GetFacetList($options: FacetListOptions, $facetValueListOptions: FacetValueListOptions) {
|
|
3169
|
-
facets(options: $options) {
|
|
3170
|
-
items {
|
|
3171
|
-
...FacetWithValueList
|
|
3172
|
-
}
|
|
3173
|
-
totalItems
|
|
3174
|
-
}
|
|
3175
|
-
}
|
|
3176
|
-
${FACET_WITH_VALUE_LIST_FRAGMENT}
|
|
3167
|
+
const FACET_LIST_QUERY = gql `
|
|
3168
|
+
query GetFacetList($options: FacetListOptions, $facetValueListOptions: FacetValueListOptions) {
|
|
3169
|
+
facets(options: $options) {
|
|
3170
|
+
items {
|
|
3171
|
+
...FacetWithValueList
|
|
3172
|
+
}
|
|
3173
|
+
totalItems
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
${FACET_WITH_VALUE_LIST_FRAGMENT}
|
|
3177
3177
|
`;
|
|
3178
3178
|
class FacetListComponent extends TypedBaseListComponent {
|
|
3179
3179
|
constructor(dataService) {
|
|
@@ -4142,17 +4142,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
4142
4142
|
type: Input
|
|
4143
4143
|
}] } });
|
|
4144
4144
|
|
|
4145
|
-
const GET_PRODUCT_VARIANTS_QUICK_JUMP = gql `
|
|
4146
|
-
query GetProductVariantsQuickJump($id: ID!) {
|
|
4147
|
-
product(id: $id) {
|
|
4148
|
-
id
|
|
4149
|
-
variants {
|
|
4150
|
-
id
|
|
4151
|
-
name
|
|
4152
|
-
sku
|
|
4153
|
-
}
|
|
4154
|
-
}
|
|
4155
|
-
}
|
|
4145
|
+
const GET_PRODUCT_VARIANTS_QUICK_JUMP = gql `
|
|
4146
|
+
query GetProductVariantsQuickJump($id: ID!) {
|
|
4147
|
+
product(id: $id) {
|
|
4148
|
+
id
|
|
4149
|
+
variants {
|
|
4150
|
+
id
|
|
4151
|
+
name
|
|
4152
|
+
sku
|
|
4153
|
+
}
|
|
4154
|
+
}
|
|
4155
|
+
}
|
|
4156
4156
|
`;
|
|
4157
4157
|
class ProductVariantQuickJumpComponent {
|
|
4158
4158
|
constructor(dataService, router) {
|
|
@@ -4166,7 +4166,7 @@ class ProductVariantQuickJumpComponent {
|
|
|
4166
4166
|
.query(GetProductVariantsQuickJumpDocument, {
|
|
4167
4167
|
id: this.productId,
|
|
4168
4168
|
})
|
|
4169
|
-
.
|
|
4169
|
+
.mapStream(data => data.product?.variants ?? []);
|
|
4170
4170
|
}
|
|
4171
4171
|
onSelect(item) {
|
|
4172
4172
|
if (item) {
|