@ts-core/angular 19.0.11 → 19.0.13

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.
@@ -1,5 +1,5 @@
1
1
  import { Destroyable } from '@ts-core/common';
2
- import { LanguageService, SettingsServiceBase } from '@ts-core/frontend';
2
+ import { LanguageService, SettingsServiceBase, ThemeService } from '@ts-core/frontend';
3
3
  import { ILanguageLoader, ILanguageProjectSettings, LanguageLoadFunction } from '@ts-core/language';
4
4
  import { RouterServiceBase } from '../service/RouterServiceBase';
5
5
  import { PlatformService } from '../service/PlatformService';
@@ -8,13 +8,16 @@ export declare abstract class ApplicationInitializerBase<S extends SettingsServi
8
8
  protected options?: O;
9
9
  constructor(options?: O);
10
10
  initialize(): Promise<void>;
11
- protected initializeAssets(): Promise<void>;
11
+ protected initializeAsset(): Promise<void>;
12
+ protected initializeTheme(): Promise<void>;
12
13
  protected initializeLanguage(): Promise<void>;
13
14
  protected getLanguageLoader<T = any>(): Promise<ILanguageLoader<T>>;
14
15
  protected abstract getLanguageLoadSettings<T = any>(): ILanguageLoadSettings<T>;
15
16
  protected getConfig(): Promise<any>;
16
17
  protected getConfigLocal<T = any>(): Promise<T>;
18
+ protected loadConfig<T = any>(url: string): Promise<T>;
17
19
  protected abstract getConfigRemote<T = any>(local: any): Promise<T>;
20
+ protected abstract get theme(): ThemeService;
18
21
  protected abstract get windows(): WindowService;
19
22
  protected abstract get platform(): PlatformService;
20
23
  protected abstract get language(): LanguageService;
@@ -5,7 +5,9 @@
5
5
  "close": "Close",
6
6
  "locale": "Language",
7
7
  "refresh": "Refresh",
8
- "noDataFound": "No data"
8
+ "question": "Question",
9
+ "noDataFound": "No data",
10
+ "information": "Information"
9
11
  },
10
12
  "paginator": {
11
13
  "firstPage": "First page",
@@ -30,9 +32,9 @@
30
32
  "min": "Minimal number {min}",
31
33
  "required": "Required",
32
34
  "email": "Invalid email",
33
- "pattern": "Не выполнено условие {requiredPattern}",
35
+ "pattern": "Condition not fulfilled {requiredPattern}",
34
36
  "minlength": "Minimal length {minlength,plural,one {# symbol} other{# symbols}}",
35
- "maxlength": "Максимальная длина {maxlength,plural,one {# symbol} other{# symbols}}"
37
+ "maxlength": "Maximum length {maxlength,plural,one {# symbol} other{# symbols}}"
36
38
  }
37
39
  }
38
40
  }
@@ -5,7 +5,9 @@
5
5
  "close": "Закрыть",
6
6
  "locale": "Язык",
7
7
  "refresh": "Обновить",
8
- "noDataFound": "Нет данных"
8
+ "question": "Вопрос",
9
+ "noDataFound": "Нет данных",
10
+ "information": "Информация"
9
11
  },
10
12
  "paginator": {
11
13
  "firstPage": "На первую страницу",
@@ -29,7 +31,6 @@
29
31
  "max": "Максимальное число {max}",
30
32
  "min": "Минимальное число {min}",
31
33
  "required": "Необходимо заполнить",
32
- "email": "Неверный формат электронной почты",
33
34
  "pattern": "Не выполнено условие {requiredPattern}",
34
35
  "minlength": "Минимальная длина {requiredLength,plural,one {# символ} few {# символа} many{# символов} other{}}",
35
36
  "maxlength": "Максимальная длина {maxlength,plural,one {# символ} few {# символа} many{# символов} other{}}"