@mmstack/translate 19.2.8 → 20.0.0

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.
@@ -108,10 +108,10 @@ class TranslationStore {
108
108
  }, { ...cur });
109
109
  });
110
110
  }
111
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TranslationStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
112
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TranslationStore, providedIn: 'root' });
111
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TranslationStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
112
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TranslationStore, providedIn: 'root' });
113
113
  }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TranslationStore, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TranslationStore, decorators: [{
115
115
  type: Injectable,
116
116
  args: [{
117
117
  providedIn: 'root',
@@ -240,10 +240,10 @@ class BaseTranslateDirective {
240
240
  const el = inject(ElementRef);
241
241
  effect(() => renderer.setProperty(el.nativeElement, 'textContent', translation()));
242
242
  }
243
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: BaseTranslateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
244
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.3", type: BaseTranslateDirective, isStandalone: true, inputs: { translate: { classPropertyName: "translate", publicName: "translate", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
243
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BaseTranslateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
244
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.3", type: BaseTranslateDirective, isStandalone: true, inputs: { translate: { classPropertyName: "translate", publicName: "translate", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
245
245
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: BaseTranslateDirective, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BaseTranslateDirective, decorators: [{
247
247
  type: Directive
248
248
  }], ctorParameters: () => [] });
249
249
 
@@ -2,7 +2,7 @@ import { Provider } from '@angular/core';
2
2
  import { IntlConfig } from '@formatjs/intl';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare function provideIntlConfig(config: Omit<IntlConfig, 'locale' | 'messages'>): Provider;
5
- export declare function injectIntlConfig(): Omit<IntlConfig, "messages" | "locale"> | undefined;
5
+ export declare function injectIntlConfig(): Omit<IntlConfig, "locale" | "messages"> | undefined;
6
6
  export declare function injectDefaultLocale(): string;
7
7
  export declare class TranslationStore {
8
8
  private readonly cache;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmstack/translate",
3
- "version": "19.2.8",
3
+ "version": "20.0.0",
4
4
  "keywords": [
5
5
  "angular",
6
6
  "localize",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/mihajm/mmstack"
15
15
  },
16
16
  "peerDependencies": {
17
- "@angular/core": "~19.2.3",
17
+ "@angular/core": "~20.0.3",
18
18
  "@formatjs/intl": "~3.1.6"
19
19
  },
20
20
  "homepage": "https://github.com/mihajm/mmstack/blob/master/packages/translate",