@flusys/ng-localization 5.5.0 → 6.0.0-beta.1
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": "@flusys/ng-localization",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-beta.1",
|
|
4
4
|
"description": "Localization module for multi-language support in FLUSYS Angular apps",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -8,12 +8,10 @@
|
|
|
8
8
|
"@angular/core": ">=22.0.0",
|
|
9
9
|
"@angular/forms": ">=22.0.0",
|
|
10
10
|
"@angular/router": ">=22.0.0",
|
|
11
|
-
"@flusys/ng-core": ">=
|
|
12
|
-
"@flusys/ng-layout": ">=
|
|
13
|
-
"@flusys/ng-shared": ">=
|
|
14
|
-
"@
|
|
15
|
-
"primeicons": ">=7.0.0",
|
|
16
|
-
"primeng": ">=22.0.0-rc.1",
|
|
11
|
+
"@flusys/ng-core": ">=6.0.0-beta.1",
|
|
12
|
+
"@flusys/ng-layout": ">=6.0.0-beta.1",
|
|
13
|
+
"@flusys/ng-shared": ">=6.0.0-beta.1",
|
|
14
|
+
"@flusys/ng-ui": ">=6.0.0-beta.1",
|
|
17
15
|
"rxjs": "^7.8.0"
|
|
18
16
|
},
|
|
19
17
|
"sideEffects": false,
|
|
@@ -3,6 +3,7 @@ import { InjectionToken, Provider, EnvironmentProviders, OnInit } from '@angular
|
|
|
3
3
|
import { ApiResourceService, ISingleResponse, IListResponse } from '@flusys/ng-shared';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as _flusys_ng_localization from '@flusys/ng-localization';
|
|
6
|
+
import { MenuItem } from '@flusys/ng-ui';
|
|
6
7
|
import * as _angular_forms_signals from '@angular/forms/signals';
|
|
7
8
|
import { Routes } from '@angular/router';
|
|
8
9
|
|
|
@@ -120,7 +121,6 @@ declare class LocalizationStateService {
|
|
|
120
121
|
private readonly platformService;
|
|
121
122
|
private readonly document;
|
|
122
123
|
private readonly appRef;
|
|
123
|
-
private readonly primeNG;
|
|
124
124
|
private readonly _loadedModules;
|
|
125
125
|
private readonly _currentLanguage;
|
|
126
126
|
private readonly _availableLanguages;
|
|
@@ -133,10 +133,6 @@ declare class LocalizationStateService {
|
|
|
133
133
|
readonly isLoading: _angular_core.Signal<boolean>;
|
|
134
134
|
readonly currentLanguageCode: _angular_core.Signal<string>;
|
|
135
135
|
constructor();
|
|
136
|
-
private dotToCamel;
|
|
137
|
-
private readonly PRIMENG_NUMERIC_KEYS;
|
|
138
|
-
private readonly PRIMENG_ARRAY_DEFAULTS;
|
|
139
|
-
private syncPrimeNGTranslations;
|
|
140
136
|
setCurrentLanguage(language: ILanguage): void;
|
|
141
137
|
setAvailableLanguages(languages: ILanguage[]): void;
|
|
142
138
|
setTranslations(translations: ITranslationsMap): void;
|
|
@@ -210,15 +206,10 @@ declare class LanguageSelectorComponent {
|
|
|
210
206
|
private readonly localizationState;
|
|
211
207
|
private readonly translationLoader;
|
|
212
208
|
private readonly destroyRef;
|
|
213
|
-
private readonly document;
|
|
214
|
-
private readonly elementRef;
|
|
215
209
|
readonly languages: _angular_core.Signal<_flusys_ng_localization.ILanguage[]>;
|
|
216
|
-
private readonly _isActive;
|
|
217
|
-
readonly isActive: _angular_core.Signal<boolean>;
|
|
218
210
|
readonly selectedLanguageCode: _angular_core.Signal<string>;
|
|
219
211
|
readonly selectedLanguage: _angular_core.Signal<_flusys_ng_localization.ILanguage | null>;
|
|
220
|
-
|
|
221
|
-
togglePanel(): void;
|
|
212
|
+
readonly menuItems: _angular_core.Signal<MenuItem[]>;
|
|
222
213
|
onLanguageSelect(code: string): void;
|
|
223
214
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LanguageSelectorComponent, never>;
|
|
224
215
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LanguageSelectorComponent, "lib-language-selector", never, {}, {}, never, never, true, never>;
|