@asor-studio/asor-core 1.1.9 → 1.1.11

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/index.d.ts CHANGED
@@ -1917,7 +1917,7 @@ declare class TranslateUtility {
1917
1917
  * console.log(translation); // Uses default language from ConfigConst
1918
1918
  * });
1919
1919
  */
1920
- getTranslation$(key: string, modulePaths: string[], lang?: string): Observable<string>;
1920
+ getTranslation$(key: string, modulePaths?: string[], lang?: string): Observable<string>;
1921
1921
  /**
1922
1922
  * Loads translation files from the server for a specific module and language.
1923
1923
  * Implements caching and prevents duplicate requests for the same module/language combination.
@@ -2789,6 +2789,7 @@ declare class NotifyErrorService implements IConsoleLoggable {
2789
2789
 
2790
2790
  declare class MockOrchestratorService {
2791
2791
  private get requestMappings();
2792
+ private isHttpErrorResponse;
2792
2793
  intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
2793
2794
  registryController(className: string, controller: any): void;
2794
2795
  static ɵfac: i0.ɵɵFactoryDeclaration<MockOrchestratorService, never>;
@@ -2834,12 +2835,15 @@ declare class TranslatePipe implements PipeTransform, OnDestroy {
2834
2835
  private translateUtility;
2835
2836
  private changeDetectorRef;
2836
2837
  private lastKey;
2838
+ private lastLang;
2839
+ private lastModulePathsSignature;
2837
2840
  private translatedValue;
2838
2841
  private subscription;
2839
2842
  private context;
2840
2843
  constructor();
2841
- transform(key: string, lang?: string): string;
2844
+ transform(key: string, modulePathsOrLang?: string[] | string, lang?: string): string;
2842
2845
  private decodeHtmlEntities;
2846
+ private resolveModulePaths;
2843
2847
  ngOnDestroy(): void;
2844
2848
  static ɵfac: i0.ɵɵFactoryDeclaration<TranslatePipe, never>;
2845
2849
  static ɵpipe: i0.ɵɵPipeDeclaration<TranslatePipe, "translate", true>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asor-studio/asor-core",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "keywords": [
5
5
  "angular",
6
6
  "library",