@vendure/admin-ui 1.4.2 → 1.4.6

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 (44) hide show
  1. package/bundles/vendure-admin-ui-catalog.umd.js +1 -1
  2. package/bundles/vendure-admin-ui-catalog.umd.js.map +1 -1
  3. package/bundles/vendure-admin-ui-core.umd.js +56 -29
  4. package/bundles/vendure-admin-ui-core.umd.js.map +1 -1
  5. package/bundles/vendure-admin-ui-dashboard.umd.js +1 -0
  6. package/bundles/vendure-admin-ui-dashboard.umd.js.map +1 -1
  7. package/bundles/vendure-admin-ui-settings.umd.js +1 -1
  8. package/bundles/vendure-admin-ui-settings.umd.js.map +1 -1
  9. package/catalog/vendure-admin-ui-catalog.metadata.json +1 -1
  10. package/core/common/generated-types.d.ts +1 -1
  11. package/core/common/version.d.ts +1 -1
  12. package/core/providers/i18n/i18n.service.d.ts +3 -1
  13. package/core/shared/pipes/locale-base.pipe.d.ts +5 -0
  14. package/core/vendure-admin-ui-core.metadata.json +1 -1
  15. package/dashboard/vendure-admin-ui-dashboard.metadata.json +1 -1
  16. package/esm2015/catalog/components/product-list/product-list.component.js +2 -2
  17. package/esm2015/core/common/base-detail.component.js +4 -4
  18. package/esm2015/core/common/generated-types.js +1 -1
  19. package/esm2015/core/common/introspection-result.js +1 -1
  20. package/esm2015/core/common/version.js +2 -2
  21. package/esm2015/core/components/main-nav/main-nav.component.js +3 -3
  22. package/esm2015/core/providers/i18n/i18n.service.js +14 -5
  23. package/esm2015/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.js +2 -2
  24. package/esm2015/core/shared/dynamic-form-inputs/select-form-input/select-form-input.component.js +2 -2
  25. package/esm2015/core/shared/pipes/asset-preview.pipe.js +2 -2
  26. package/esm2015/core/shared/pipes/locale-base.pipe.js +23 -1
  27. package/esm2015/core/shared/pipes/locale-currency-name.pipe.js +4 -4
  28. package/esm2015/core/shared/pipes/locale-currency.pipe.js +2 -2
  29. package/esm2015/core/shared/pipes/locale-date.pipe.js +2 -2
  30. package/esm2015/core/shared/pipes/locale-language-name.pipe.js +2 -3
  31. package/esm2015/core/shared/pipes/locale-region-name.pipe.js +2 -3
  32. package/esm2015/dashboard/widgets/latest-orders-widget/latest-orders-widget.component.js +2 -1
  33. package/esm2015/settings/components/zone-detail-dialog/zone-detail-dialog.component.js +2 -2
  34. package/fesm2015/vendure-admin-ui-catalog.js +1 -1
  35. package/fesm2015/vendure-admin-ui-catalog.js.map +1 -1
  36. package/fesm2015/vendure-admin-ui-core.js +48 -21
  37. package/fesm2015/vendure-admin-ui-core.js.map +1 -1
  38. package/fesm2015/vendure-admin-ui-dashboard.js +1 -0
  39. package/fesm2015/vendure-admin-ui-dashboard.js.map +1 -1
  40. package/fesm2015/vendure-admin-ui-settings.js +1 -1
  41. package/fesm2015/vendure-admin-ui-settings.js.map +1 -1
  42. package/package.json +2 -2
  43. package/settings/vendure-admin-ui-settings.metadata.json +1 -1
  44. package/static/i18n-messages/pt_PT.json +22 -22
@@ -3578,7 +3578,7 @@ export declare type Query = {
3578
3578
  assets: AssetList;
3579
3579
  channel?: Maybe<Channel>;
3580
3580
  channels: Array<Channel>;
3581
- /** Get a Collection either by id or slug. If neither id nor slug is speicified, an error will result. */
3581
+ /** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */
3582
3582
  collection?: Maybe<Collection>;
3583
3583
  collectionFilters: Array<ConfigurableOperationDefinition>;
3584
3584
  collections: CollectionList;
@@ -1 +1 @@
1
- export declare const ADMIN_UI_VERSION = "1.4.2";
1
+ export declare const ADMIN_UI_VERSION = "1.4.6";
@@ -1,10 +1,12 @@
1
1
  import { TranslateService } from '@ngx-translate/core';
2
2
  import { LanguageCode } from '../../common/generated-types';
3
+ /** @dynamic */
3
4
  export declare class I18nService {
4
5
  private ngxTranslate;
6
+ private document;
5
7
  _availableLanguages: LanguageCode[];
6
8
  get availableLanguages(): LanguageCode[];
7
- constructor(ngxTranslate: TranslateService);
9
+ constructor(ngxTranslate: TranslateService, document: Document);
8
10
  /**
9
11
  * Set the default language
10
12
  */
@@ -9,5 +9,10 @@ export declare abstract class LocaleBasePipe implements OnDestroy, PipeTransform
9
9
  private readonly subscription;
10
10
  protected constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef);
11
11
  ngOnDestroy(): void;
12
+ /**
13
+ * Returns the active locale after attempting to ensure that the locale string
14
+ * is valid for the Intl API.
15
+ */
16
+ protected getActiveLocale(localeOverride?: unknown): string;
12
17
  abstract transform(value: any, ...args: any[]): any;
13
18
  }