@breadstone/mosaik-elements-angular 0.0.238 → 0.0.241

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-angular",
3
- "version": "0.0.238",
3
+ "version": "0.0.241",
4
4
  "description": "Mosaik elements for Angular.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -19,8 +19,8 @@
19
19
  "rxjs": "*"
20
20
  },
21
21
  "dependencies": {
22
- "@breadstone/mosaik-elements": "^0.0.238",
23
- "@breadstone/mosaik-elements-foundation": "^0.0.238",
22
+ "@breadstone/mosaik-elements": "^0.0.241",
23
+ "@breadstone/mosaik-elements-foundation": "^0.0.241",
24
24
  "tslib": "^2.8.1"
25
25
  }
26
26
  }
@@ -52751,7 +52751,19 @@ declare function provideTranslationRegistry(config?: {
52751
52751
  defaultLanguageResolver?: () => string;
52752
52752
  translations?: Record<string, Record<string, string>>;
52753
52753
  }): EnvironmentProviders;
52754
- declare function provideTranslations(translations?: Record<string, Record<string, string>>): EnvironmentProviders;
52754
+ /**
52755
+ * Provides translations for the application.
52756
+ *
52757
+ * Accepts either synchronous `Record<string, string>` values per language,
52758
+ * or `Promise<Record<string, string>>` for lazy-loaded translations (e.g. via dynamic `import()`).
52759
+ *
52760
+ * When promises are detected, an `APP_INITIALIZER` is used to ensure translations are
52761
+ * available before the application renders. If a promise rejects, the translation key
52762
+ * itself is used as fallback (no app crash).
52763
+ *
52764
+ * @public
52765
+ */
52766
+ declare function provideTranslations(translations?: Record<string, Record<string, string> | Promise<Record<string, string>>>): EnvironmentProviders;
52755
52767
 
52756
52768
  /**
52757
52769
  * Structural directive for translating text.