@vendure/admin-ui 2.1.2 → 2.1.3

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 (38) 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/extension/register-route-component.d.ts +1 -1
  6. package/core/shared/components/order-state-label/order-state-label.component.d.ts +1 -1
  7. package/core/shared/dynamic-form-inputs/default-form-inputs.d.ts +1 -1
  8. package/customer/customer.module.d.ts +1 -2
  9. package/esm2022/catalog/catalog.module.mjs +6 -1
  10. package/esm2022/catalog/components/create-product-variant-dialog/create-product-variant-dialog.component.mjs +2 -2
  11. package/esm2022/core/common/generated-types.mjs +1 -1
  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/customer/customer.module.mjs +6 -3
  16. package/esm2022/marketing/components/promotion-list/promotion-list.component.mjs +3 -3
  17. package/esm2022/marketing/marketing.module.mjs +6 -2
  18. package/esm2022/order/order.module.mjs +6 -2
  19. package/esm2022/settings/components/channel-list/channel-list-bulk-actions.mjs +11 -4
  20. package/esm2022/settings/settings.module.mjs +6 -2
  21. package/esm2022/system/system.module.mjs +1 -1
  22. package/fesm2022/vendure-admin-ui-catalog.mjs +6 -1
  23. package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
  24. package/fesm2022/vendure-admin-ui-core.mjs +10 -2
  25. package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
  26. package/fesm2022/vendure-admin-ui-customer.mjs +5 -2
  27. package/fesm2022/vendure-admin-ui-customer.mjs.map +1 -1
  28. package/fesm2022/vendure-admin-ui-marketing.mjs +7 -3
  29. package/fesm2022/vendure-admin-ui-marketing.mjs.map +1 -1
  30. package/fesm2022/vendure-admin-ui-order.mjs +5 -1
  31. package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
  32. package/fesm2022/vendure-admin-ui-settings.mjs +13 -2
  33. package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
  34. package/fesm2022/vendure-admin-ui-system.mjs.map +1 -1
  35. package/marketing/marketing.module.d.ts +1 -1
  36. package/order/order.module.d.ts +1 -1
  37. package/package.json +8 -8
  38. package/settings/settings.module.d.ts +1 -1
@@ -5994,6 +5994,10 @@ function addCustomFields(documentNode, customFields) {
5994
5994
  // so we treat it as an alias
5995
5995
  entityType = 'Address';
5996
5996
  }
5997
+ if (entityType === 'Country') {
5998
+ // Country is an alias of Region
5999
+ entityType = 'Region';
6000
+ }
5997
6001
  const customFieldsForType = customFields[entityType];
5998
6002
  if (customFieldsForType && customFieldsForType.length) {
5999
6003
  fragmentDef.selectionSet.selections.push({
@@ -7143,7 +7147,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.2", ngImpor
7143
7147
  }], ctorParameters: function () { return [{ type: AlertsService }]; } });
7144
7148
 
7145
7149
  // Auto-generated by the set-version.js script.
7146
- const ADMIN_UI_VERSION = '2.1.2';
7150
+ const ADMIN_UI_VERSION = '2.1.3';
7147
7151
 
7148
7152
  /* eslint-disable @angular-eslint/directive-selector */
7149
7153
  class FormFieldControlDirective {
@@ -21529,6 +21533,8 @@ function addActionBarItem(config) {
21529
21533
  *
21530
21534
  * @example
21531
21535
  * ```ts title="providers.ts"
21536
+ * import { addNavMenuSection } from '\@vendure/admin-ui/core';
21537
+ *
21532
21538
  * export default [
21533
21539
  * addNavMenuSection({
21534
21540
  * id: 'reports',
@@ -21564,6 +21570,8 @@ function addNavMenuSection(config, before) {
21564
21570
  *
21565
21571
  * @example
21566
21572
  * ```ts title="providers.ts"
21573
+ * import { addNavMenuItem } from '\@vendure/admin-ui/core';
21574
+ *
21567
21575
  * export default [
21568
21576
  * addNavMenuItem({
21569
21577
  * id: 'reviews',
@@ -21573,7 +21581,7 @@ function addNavMenuSection(config, before) {
21573
21581
  * },
21574
21582
  * 'marketing'),
21575
21583
  * ];
21576
- * ``
21584
+ * ```
21577
21585
  *
21578
21586
  * @docsCategory nav-menu
21579
21587
  */