@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.
Files changed (55) hide show
  1. package/core/common/version.d.ts +1 -1
  2. package/core/shared/components/data-table-filter-presets/data-table-filter-presets.component.d.ts +1 -0
  3. package/core/shared/components/product-variant-selector/product-variant-selector.component.d.ts +1 -1
  4. package/esm2022/catalog/components/collection-data-table/collection-data-table.component.mjs +1 -1
  5. package/esm2022/catalog/components/collection-list/collection-list.component.mjs +1 -1
  6. package/esm2022/catalog/components/facet-list/facet-list.component.mjs +11 -11
  7. package/esm2022/catalog/components/product-list/product-list.component.mjs +1 -1
  8. package/esm2022/catalog/components/product-variant-quick-jump/product-variant-quick-jump.component.mjs +13 -13
  9. package/esm2022/core/common/base-list.component.mjs +1 -1
  10. package/esm2022/core/common/version.mjs +2 -2
  11. package/esm2022/core/data/data.module.mjs +1 -1
  12. package/esm2022/core/data/providers/base-data.service.mjs +1 -1
  13. package/esm2022/core/data/providers/collection-data.service.mjs +1 -1
  14. package/esm2022/core/data/providers/data.service.mjs +1 -1
  15. package/esm2022/core/data/providers/product-data.service.mjs +1 -1
  16. package/esm2022/core/data/utils/add-custom-fields.mjs +1 -1
  17. package/esm2022/core/providers/data-table/data-table-config.service.mjs +1 -1
  18. package/esm2022/core/shared/components/data-table-2/data-table2.component.mjs +1 -1
  19. package/esm2022/core/shared/components/data-table-filter-presets/data-table-filter-presets.component.mjs +23 -3
  20. package/esm2022/core/shared/components/data-table-filter-presets/filter-preset.service.mjs +1 -1
  21. package/esm2022/core/shared/components/product-multi-selector-dialog/product-multi-selector-dialog.component.mjs +2 -2
  22. package/esm2022/core/shared/components/product-variant-selector/product-variant-selector.component.mjs +2 -2
  23. package/esm2022/core/shared/dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component.mjs +7 -1
  24. package/esm2022/customer/components/customer-group-list/customer-group-list.component.mjs +11 -11
  25. package/esm2022/customer/components/customer-list/customer-list.component.mjs +24 -24
  26. package/esm2022/marketing/components/promotion-list/promotion-list.component.mjs +11 -11
  27. package/esm2022/order/components/order-data-table/order-data-table.component.mjs +1 -1
  28. package/esm2022/order/components/order-list/order-list.component.mjs +1 -1
  29. package/esm2022/order/components/refund-order-dialog/refund-order-dialog.component.mjs +3 -3
  30. package/esm2022/order/order.routes.mjs +1 -2
  31. package/esm2022/settings/components/administrator-list/administrator-list.component.mjs +30 -30
  32. package/esm2022/settings/components/channel-list/channel-list.component.mjs +11 -11
  33. package/esm2022/settings/components/country-list/country-list.component.mjs +19 -19
  34. package/esm2022/settings/components/payment-method-list/payment-method-list.component.mjs +19 -19
  35. package/esm2022/settings/components/role-list/role-list.component.mjs +11 -11
  36. package/esm2022/settings/components/seller-list/seller-list.component.mjs +16 -16
  37. package/esm2022/settings/components/shipping-method-list/shipping-method-list.component.mjs +19 -19
  38. package/esm2022/settings/components/stock-location-list/stock-location-list.component.mjs +17 -17
  39. package/esm2022/settings/components/tax-category-list/tax-category-list.component.mjs +11 -11
  40. package/esm2022/settings/components/tax-rate-list/tax-rate-list.component.mjs +11 -11
  41. package/esm2022/settings/components/zone-list/zone-list.component.mjs +16 -16
  42. package/fesm2022/vendure-admin-ui-catalog.mjs +22 -22
  43. package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
  44. package/fesm2022/vendure-admin-ui-core.mjs +32 -6
  45. package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
  46. package/fesm2022/vendure-admin-ui-customer.mjs +33 -33
  47. package/fesm2022/vendure-admin-ui-customer.mjs.map +1 -1
  48. package/fesm2022/vendure-admin-ui-marketing.mjs +10 -10
  49. package/fesm2022/vendure-admin-ui-marketing.mjs.map +1 -1
  50. package/fesm2022/vendure-admin-ui-order.mjs +2 -3
  51. package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
  52. package/fesm2022/vendure-admin-ui-settings.mjs +169 -169
  53. package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
  54. package/package.json +2 -2
  55. package/static/i18n-messages/sv.json +12 -12
@@ -451,35 +451,35 @@ const deleteAdministratorsBulkAction = createBulkDeleteAction({
451
451
  bulkDelete: (dataService, ids) => dataService.administrator.deleteAdministrators(ids).pipe(map(res => res.deleteAdministrators)),
452
452
  });
453
453
 
454
- const GET_ADMINISTRATOR_LIST = gql `
455
- query GetAdministratorList($options: AdministratorListOptions) {
456
- administrators(options: $options) {
457
- items {
458
- ...AdministratorListItem
459
- }
460
- totalItems
461
- }
462
- }
463
- fragment AdministratorListItem on Administrator {
464
- id
465
- createdAt
466
- updatedAt
467
- firstName
468
- lastName
469
- emailAddress
470
- user {
471
- id
472
- identifier
473
- lastLogin
474
- roles {
475
- id
476
- createdAt
477
- updatedAt
478
- code
479
- description
480
- }
481
- }
482
- }
454
+ const GET_ADMINISTRATOR_LIST = gql `
455
+ query GetAdministratorList($options: AdministratorListOptions) {
456
+ administrators(options: $options) {
457
+ items {
458
+ ...AdministratorListItem
459
+ }
460
+ totalItems
461
+ }
462
+ }
463
+ fragment AdministratorListItem on Administrator {
464
+ id
465
+ createdAt
466
+ updatedAt
467
+ firstName
468
+ lastName
469
+ emailAddress
470
+ user {
471
+ id
472
+ identifier
473
+ lastLogin
474
+ roles {
475
+ id
476
+ createdAt
477
+ updatedAt
478
+ code
479
+ description
480
+ }
481
+ }
482
+ }
483
483
  `;
484
484
  class AdministratorListComponent extends TypedBaseListComponent {
485
485
  constructor() {
@@ -765,16 +765,16 @@ const deleteChannelsBulkAction = createBulkDeleteAction({
765
765
  },
766
766
  });
767
767
 
768
- const GET_CHANNEL_LIST = gql `
769
- query GetChannelList($options: ChannelListOptions) {
770
- channels(options: $options) {
771
- items {
772
- ...Channel
773
- }
774
- totalItems
775
- }
776
- }
777
- ${CHANNEL_FRAGMENT}
768
+ const GET_CHANNEL_LIST = gql `
769
+ query GetChannelList($options: ChannelListOptions) {
770
+ channels(options: $options) {
771
+ items {
772
+ ...Channel
773
+ }
774
+ totalItems
775
+ }
776
+ }
777
+ ${CHANNEL_FRAGMENT}
778
778
  `;
779
779
  class ChannelListComponent extends TypedBaseListComponent {
780
780
  constructor() {
@@ -957,24 +957,24 @@ const deleteCountriesBulkAction = createBulkDeleteAction({
957
957
  bulkDelete: (dataService, ids) => dataService.settings.deleteCountries(ids).pipe(map(res => res.deleteCountries)),
958
958
  });
959
959
 
960
- const GET_COUNTRY_LIST = gql `
961
- query GetCountryList($options: CountryListOptions) {
962
- countries(options: $options) {
963
- items {
964
- ...CountryListItem
965
- }
966
- totalItems
967
- }
968
- }
969
- fragment CountryListItem on Country {
970
- id
971
- createdAt
972
- updatedAt
973
- code
974
- name
975
- type
976
- enabled
977
- }
960
+ const GET_COUNTRY_LIST = gql `
961
+ query GetCountryList($options: CountryListOptions) {
962
+ countries(options: $options) {
963
+ items {
964
+ ...CountryListItem
965
+ }
966
+ totalItems
967
+ }
968
+ }
969
+ fragment CountryListItem on Country {
970
+ id
971
+ createdAt
972
+ updatedAt
973
+ code
974
+ name
975
+ type
976
+ enabled
977
+ }
978
978
  `;
979
979
  class CountryListComponent extends TypedBaseListComponent {
980
980
  constructor() {
@@ -1374,24 +1374,24 @@ const removePaymentMethodsFromChannelBulkAction = createBulkRemoveFromChannelAct
1374
1374
  .pipe(map(res => res.removePaymentMethodsFromChannel)),
1375
1375
  });
1376
1376
 
1377
- const GET_PAYMENT_METHOD_LIST = gql `
1378
- query GetPaymentMethodList($options: PaymentMethodListOptions!) {
1379
- paymentMethods(options: $options) {
1380
- items {
1381
- ...PaymentMethodListItem
1382
- }
1383
- totalItems
1384
- }
1385
- }
1386
- fragment PaymentMethodListItem on PaymentMethod {
1387
- id
1388
- createdAt
1389
- updatedAt
1390
- name
1391
- description
1392
- code
1393
- enabled
1394
- }
1377
+ const GET_PAYMENT_METHOD_LIST = gql `
1378
+ query GetPaymentMethodList($options: PaymentMethodListOptions!) {
1379
+ paymentMethods(options: $options) {
1380
+ items {
1381
+ ...PaymentMethodListItem
1382
+ }
1383
+ totalItems
1384
+ }
1385
+ }
1386
+ fragment PaymentMethodListItem on PaymentMethod {
1387
+ id
1388
+ createdAt
1389
+ updatedAt
1390
+ name
1391
+ description
1392
+ code
1393
+ enabled
1394
+ }
1395
1395
  `;
1396
1396
  class PaymentMethodListComponent extends TypedBaseListComponent {
1397
1397
  constructor() {
@@ -1661,16 +1661,16 @@ const deleteRolesBulkAction = createBulkDeleteAction({
1661
1661
  bulkDelete: (dataService, ids) => dataService.administrator.deleteRoles(ids).pipe(map(res => res.deleteRoles)),
1662
1662
  });
1663
1663
 
1664
- const GET_ROLE_LIST = gql `
1665
- query GetRoleList($options: RoleListOptions) {
1666
- roles(options: $options) {
1667
- items {
1668
- ...Role
1669
- }
1670
- totalItems
1671
- }
1672
- }
1673
- ${ROLE_FRAGMENT}
1664
+ const GET_ROLE_LIST = gql `
1665
+ query GetRoleList($options: RoleListOptions) {
1666
+ roles(options: $options) {
1667
+ items {
1668
+ ...Role
1669
+ }
1670
+ totalItems
1671
+ }
1672
+ }
1673
+ ${ROLE_FRAGMENT}
1674
1674
  `;
1675
1675
  class RoleListComponent extends TypedBaseListComponent {
1676
1676
  constructor() {
@@ -1848,21 +1848,21 @@ const deleteSellersBulkAction = createBulkDeleteAction({
1848
1848
  bulkDelete: (dataService, ids) => dataService.settings.deleteSellers(ids).pipe(map(res => res.deleteSellers)),
1849
1849
  });
1850
1850
 
1851
- const GET_SELLER_LIST = gql `
1852
- query GetSellerList($options: SellerListOptions) {
1853
- sellers(options: $options) {
1854
- items {
1855
- ...SellerListItem
1856
- }
1857
- totalItems
1858
- }
1859
- }
1860
- fragment SellerListItem on Seller {
1861
- id
1862
- createdAt
1863
- updatedAt
1864
- name
1865
- }
1851
+ const GET_SELLER_LIST = gql `
1852
+ query GetSellerList($options: SellerListOptions) {
1853
+ sellers(options: $options) {
1854
+ items {
1855
+ ...SellerListItem
1856
+ }
1857
+ totalItems
1858
+ }
1859
+ }
1860
+ fragment SellerListItem on Seller {
1861
+ id
1862
+ createdAt
1863
+ updatedAt
1864
+ name
1865
+ }
1866
1866
  `;
1867
1867
  class SellerListComponent extends TypedBaseListComponent {
1868
1868
  constructor() {
@@ -2357,24 +2357,24 @@ const removeShippingMethodsFromChannelBulkAction = createBulkRemoveFromChannelAc
2357
2357
  .pipe(map(res => res.removeShippingMethodsFromChannel)),
2358
2358
  });
2359
2359
 
2360
- const GET_SHIPPING_METHOD_LIST = gql `
2361
- query GetShippingMethodList($options: ShippingMethodListOptions) {
2362
- shippingMethods(options: $options) {
2363
- items {
2364
- ...ShippingMethodListItem
2365
- }
2366
- totalItems
2367
- }
2368
- }
2369
- fragment ShippingMethodListItem on ShippingMethod {
2370
- id
2371
- createdAt
2372
- updatedAt
2373
- code
2374
- name
2375
- description
2376
- fulfillmentHandlerCode
2377
- }
2360
+ const GET_SHIPPING_METHOD_LIST = gql `
2361
+ query GetShippingMethodList($options: ShippingMethodListOptions) {
2362
+ shippingMethods(options: $options) {
2363
+ items {
2364
+ ...ShippingMethodListItem
2365
+ }
2366
+ totalItems
2367
+ }
2368
+ }
2369
+ fragment ShippingMethodListItem on ShippingMethod {
2370
+ id
2371
+ createdAt
2372
+ updatedAt
2373
+ code
2374
+ name
2375
+ description
2376
+ fulfillmentHandlerCode
2377
+ }
2378
2378
  `;
2379
2379
  class ShippingMethodListComponent extends TypedBaseListComponent {
2380
2380
  constructor() {
@@ -2638,22 +2638,22 @@ const removeStockLocationsFromChannelBulkAction = createBulkRemoveFromChannelAct
2638
2638
  .pipe(map(res => res.removeStockLocationsFromChannel)),
2639
2639
  });
2640
2640
 
2641
- const GET_STOCK_LOCATION_LIST = gql `
2642
- query GetStockLocationList($options: StockLocationListOptions) {
2643
- stockLocations(options: $options) {
2644
- items {
2645
- ...StockLocationListItem
2646
- }
2647
- totalItems
2648
- }
2649
- }
2650
- fragment StockLocationListItem on StockLocation {
2651
- id
2652
- createdAt
2653
- updatedAt
2654
- name
2655
- description
2656
- }
2641
+ const GET_STOCK_LOCATION_LIST = gql `
2642
+ query GetStockLocationList($options: StockLocationListOptions) {
2643
+ stockLocations(options: $options) {
2644
+ items {
2645
+ ...StockLocationListItem
2646
+ }
2647
+ totalItems
2648
+ }
2649
+ }
2650
+ fragment StockLocationListItem on StockLocation {
2651
+ id
2652
+ createdAt
2653
+ updatedAt
2654
+ name
2655
+ description
2656
+ }
2657
2657
  `;
2658
2658
  class StockLocationListComponent extends TypedBaseListComponent {
2659
2659
  constructor() {
@@ -2826,16 +2826,16 @@ const deleteTaxCategoriesBulkAction = createBulkDeleteAction({
2826
2826
  bulkDelete: (dataService, ids) => dataService.settings.deleteTaxCategories(ids).pipe(map(res => res.deleteTaxCategories)),
2827
2827
  });
2828
2828
 
2829
- const GET_TAX_CATEGORY_LIST = gql `
2830
- query GetTaxCategoryList($options: TaxCategoryListOptions) {
2831
- taxCategories(options: $options) {
2832
- items {
2833
- ...TaxCategory
2834
- }
2835
- totalItems
2836
- }
2837
- }
2838
- ${TAX_CATEGORY_FRAGMENT}
2829
+ const GET_TAX_CATEGORY_LIST = gql `
2830
+ query GetTaxCategoryList($options: TaxCategoryListOptions) {
2831
+ taxCategories(options: $options) {
2832
+ items {
2833
+ ...TaxCategory
2834
+ }
2835
+ totalItems
2836
+ }
2837
+ }
2838
+ ${TAX_CATEGORY_FRAGMENT}
2839
2839
  `;
2840
2840
  class TaxCategoryListComponent extends TypedBaseListComponent {
2841
2841
  constructor() {
@@ -3019,16 +3019,16 @@ const deleteTaxRatesBulkAction = createBulkDeleteAction({
3019
3019
  bulkDelete: (dataService, ids) => dataService.settings.deleteTaxRates(ids).pipe(map(res => res.deleteTaxRates)),
3020
3020
  });
3021
3021
 
3022
- const GET_TAX_RATE_LIST = gql `
3023
- query GetTaxRateList($options: TaxRateListOptions) {
3024
- taxRates(options: $options) {
3025
- items {
3026
- ...TaxRate
3027
- }
3028
- totalItems
3029
- }
3030
- }
3031
- ${TAX_RATE_FRAGMENT}
3022
+ const GET_TAX_RATE_LIST = gql `
3023
+ query GetTaxRateList($options: TaxRateListOptions) {
3024
+ taxRates(options: $options) {
3025
+ items {
3026
+ ...TaxRate
3027
+ }
3028
+ totalItems
3029
+ }
3030
+ }
3031
+ ${TAX_RATE_FRAGMENT}
3032
3032
  `;
3033
3033
  class TaxRateListComponent extends TypedBaseListComponent {
3034
3034
  constructor() {
@@ -3250,21 +3250,21 @@ const deleteZonesBulkAction = createBulkDeleteAction({
3250
3250
  bulkDelete: (dataService, ids) => dataService.settings.deleteZones(ids).pipe(map(res => res.deleteZones)),
3251
3251
  });
3252
3252
 
3253
- const GET_ZONE_LIST = gql `
3254
- query GetZoneList($options: ZoneListOptions) {
3255
- zones(options: $options) {
3256
- items {
3257
- ...ZoneListItem
3258
- }
3259
- totalItems
3260
- }
3261
- }
3262
- fragment ZoneListItem on Zone {
3263
- id
3264
- createdAt
3265
- updatedAt
3266
- name
3267
- }
3253
+ const GET_ZONE_LIST = gql `
3254
+ query GetZoneList($options: ZoneListOptions) {
3255
+ zones(options: $options) {
3256
+ items {
3257
+ ...ZoneListItem
3258
+ }
3259
+ totalItems
3260
+ }
3261
+ }
3262
+ fragment ZoneListItem on Zone {
3263
+ id
3264
+ createdAt
3265
+ updatedAt
3266
+ name
3267
+ }
3268
3268
  `;
3269
3269
  class ZoneListComponent extends TypedBaseListComponent {
3270
3270
  constructor(dataService, notificationService, modalService) {