@sumaris-net/ngx-components 0.28.3 → 0.28.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "0.28.3",
4
+ "version": "0.28.4",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -5,6 +5,15 @@ export declare class TranslateContextService {
5
5
  constructor(translate: TranslateService);
6
6
  get(key: string, context?: string, interpolateParams?: Object): Observable<any>;
7
7
  instant(key: string, context?: string, interpolateParams?: Object): any;
8
+ /**
9
+ * Compute contextual i18n keys, using the context as suffix.<br>
10
+ * Suffix can be simple name (like 'aaa' - will return ['<key>.aaa']) or complexe (like 'aaa.bbb' - will return ['<key>.aaa.bbb', '<key>.aaa']
11
+ *
12
+ * @param key
13
+ * @param context
14
+ * @private
15
+ */
16
+ contextualKeys(key: string, context: string): string[];
8
17
  /**
9
18
  * Compute a contextual i18n key, using the context as suffix
10
19
  *
@@ -13,4 +22,5 @@ export declare class TranslateContextService {
13
22
  * @private
14
23
  */
15
24
  contextualKey(key: string, context: string): string;
25
+ private findFirstValid;
16
26
  }