@vendure/admin-ui 2.1.2 → 2.1.4

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 (51) hide show
  1. package/catalog/catalog.module.d.ts +1 -0
  2. package/core/common/generated-types.d.ts +2 -1
  3. package/core/common/version.d.ts +1 -1
  4. package/core/extension/add-nav-menu-item.d.ts +5 -1
  5. package/core/providers/nav-builder/nav-builder-types.d.ts +27 -1
  6. package/core/shared/components/order-state-label/order-state-label.component.d.ts +1 -1
  7. package/customer/customer.module.d.ts +1 -2
  8. package/esm2022/catalog/catalog.module.mjs +6 -1
  9. package/esm2022/catalog/components/create-product-variant-dialog/create-product-variant-dialog.component.mjs +2 -2
  10. package/esm2022/core/common/generated-types.mjs +1 -1
  11. package/esm2022/core/common/utilities/configurable-operation-utils.mjs +10 -2
  12. package/esm2022/core/common/version.mjs +2 -2
  13. package/esm2022/core/data/utils/add-custom-fields.mjs +5 -1
  14. package/esm2022/core/extension/add-nav-menu-item.mjs +6 -2
  15. package/esm2022/core/providers/nav-builder/nav-builder-types.mjs +1 -1
  16. package/esm2022/core/shared/components/asset-picker-dialog/asset-picker-dialog.component.mjs +2 -2
  17. package/esm2022/core/shared/components/configurable-input/configurable-input.component.mjs +1 -1
  18. package/esm2022/core/shared/components/datetime-picker/datetime-picker.service.mjs +3 -3
  19. package/esm2022/core/shared/components/modal-dialog/modal-dialog.component.mjs +2 -2
  20. package/esm2022/core/shared/components/ui-extension-point/ui-extension-point.component.mjs +11 -11
  21. package/esm2022/core/shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component.mjs +2 -2
  22. package/esm2022/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.mjs +2 -2
  23. package/esm2022/customer/customer.module.mjs +6 -3
  24. package/esm2022/marketing/components/promotion-detail/promotion-detail.component.mjs +9 -9
  25. package/esm2022/marketing/components/promotion-list/promotion-list.component.mjs +3 -3
  26. package/esm2022/marketing/marketing.module.mjs +6 -2
  27. package/esm2022/order/order.module.mjs +6 -2
  28. package/esm2022/settings/components/channel-list/channel-list-bulk-actions.mjs +11 -4
  29. package/esm2022/settings/components/payment-method-detail/payment-method-detail.component.mjs +9 -9
  30. package/esm2022/settings/settings.module.mjs +6 -2
  31. package/esm2022/system/system.module.mjs +1 -1
  32. package/fesm2022/vendure-admin-ui-catalog.mjs +6 -1
  33. package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
  34. package/fesm2022/vendure-admin-ui-core.mjs +38 -22
  35. package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
  36. package/fesm2022/vendure-admin-ui-customer.mjs +5 -2
  37. package/fesm2022/vendure-admin-ui-customer.mjs.map +1 -1
  38. package/fesm2022/vendure-admin-ui-marketing.mjs +15 -11
  39. package/fesm2022/vendure-admin-ui-marketing.mjs.map +1 -1
  40. package/fesm2022/vendure-admin-ui-order.mjs +5 -1
  41. package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
  42. package/fesm2022/vendure-admin-ui-settings.mjs +21 -10
  43. package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
  44. package/fesm2022/vendure-admin-ui-system.mjs.map +1 -1
  45. package/marketing/marketing.module.d.ts +1 -1
  46. package/order/order.module.d.ts +1 -1
  47. package/package.json +18 -18
  48. package/settings/components/stock-location-list/stock-location-list.component.d.ts +1 -1
  49. package/settings/settings.module.d.ts +1 -1
  50. package/static/styles/theme/dark.scss +2 -1
  51. package/static/theme.min.css +1 -1
@@ -1268,9 +1268,11 @@ function customerBreadcrumb(data, params) {
1268
1268
  }
1269
1269
 
1270
1270
  class CustomerModule {
1271
+ static { this.hasRegisteredTabsAndBulkActions = false; }
1271
1272
  constructor(bulkActionRegistryService, pageService) {
1272
- this.bulkActionRegistryService = bulkActionRegistryService;
1273
- this.pageService = pageService;
1273
+ if (CustomerModule.hasRegisteredTabsAndBulkActions) {
1274
+ return;
1275
+ }
1274
1276
  bulkActionRegistryService.registerBulkAction(deleteCustomersBulkAction);
1275
1277
  bulkActionRegistryService.registerBulkAction(deleteCustomerGroupsBulkAction);
1276
1278
  bulkActionRegistryService.registerBulkAction(removeCustomerGroupMembersBulkAction);
@@ -1331,6 +1333,7 @@ class CustomerModule {
1331
1333
  ],
1332
1334
  }),
1333
1335
  });
1336
+ CustomerModule.hasRegisteredTabsAndBulkActions = true;
1334
1337
  }
1335
1338
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.2", ngImport: i0, type: CustomerModule, deps: [{ token: i1.BulkActionRegistryService }, { token: i1.PageService }], target: i0.ɵɵFactoryTarget.NgModule }); }
1336
1339
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.2", ngImport: i0, type: CustomerModule, declarations: [CustomerListComponent,