@rxap/ngx-localize 19.1.0-dev.2 → 19.1.0-dev.3
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/CHANGELOG.md +4 -0
- package/compodoc/changelog.html +2 -0
- package/compodoc/dependencies.html +3 -3
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +26 -26
- package/docs/html/classes/I18nService.html +2 -2
- package/docs/html/classes/LanguageSelectorService.html +2 -2
- package/docs/html/functions/LanguageInterceptor.html +1 -1
- package/docs/html/functions/loadI18nBootstrapHook.html +1 -1
- package/docs/html/functions/loadLanguages.html +1 -1
- package/docs/html/functions/xliffToJson.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/I18nService.md +5 -5
- package/docs/markdown/classes/LanguageSelectorService.md +8 -8
- package/docs/markdown/functions/LanguageInterceptor.md +2 -2
- package/docs/markdown/functions/loadI18nBootstrapHook.md +2 -2
- package/docs/markdown/functions/loadLanguages.md +2 -2
- package/docs/markdown/functions/xliffToJson.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/wiki/Class.I18nService.md +4 -4
- package/docs/wiki/Class.LanguageSelectorService.md +7 -7
- package/docs/wiki/Function.LanguageInterceptor.md +1 -1
- package/docs/wiki/Function.loadI18nBootstrapHook.md +1 -1
- package/docs/wiki/Function.loadLanguages.md +1 -1
- package/docs/wiki/Function.xliffToJson.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-ngx-localize.mjs +6 -6
- package/package.json +10 -10
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **LanguageInterceptor**(`request`, `next`): `Observable`\<`HttpEvent`\<`unknown`\>\>
|
|
6
6
|
|
|
7
|
-
Defined in: [language-interceptor.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [language-interceptor.ts:8](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/localize/src/lib/language-interceptor.ts#L8)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **loadI18nBootstrapHook**(`options`): `Promise`\<`void`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [load-i18n-bootstrap-hook.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [load-i18n-bootstrap-hook.ts:7](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/localize/src/lib/load-i18n-bootstrap-hook.ts#L7)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **loadLanguages**(`loadModule`, `locale`, `fallback`): `Promise`\<`string`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [load-languages.ts:71](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [load-languages.ts:71](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/localize/src/lib/load-languages.ts#L71)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **xliffToJson**(`translations`): `Promise`\<`any`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [xliff-to-json.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [xliff-to-json.ts:4](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/localize/src/lib/xliff-to-json.ts#L4)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
package/docs/wiki/globals.md
CHANGED
|
@@ -32,10 +32,10 @@ class I18nService {
|
|
|
32
32
|
console.log('[I18nService] redirect to: ' + redirectUrl);
|
|
33
33
|
location.replace(redirectUrl);
|
|
34
34
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
|
36
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: I18nService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
36
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: I18nService, providedIn: 'root' }); }
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: I18nService, decorators: [{
|
|
39
39
|
type: Injectable,
|
|
40
40
|
args: [{ providedIn: 'root' }]
|
|
41
41
|
}] });
|
|
@@ -68,10 +68,10 @@ class LanguageSelectorService {
|
|
|
68
68
|
await this.i18nService.setLanguage(language);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
|
72
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
71
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LanguageSelectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
72
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LanguageSelectorService, providedIn: 'root' }); }
|
|
73
73
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LanguageSelectorService, decorators: [{
|
|
75
75
|
type: Injectable,
|
|
76
76
|
args: [{ providedIn: 'root' }]
|
|
77
77
|
}], ctorParameters: () => [] });
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.1.0-dev.
|
|
2
|
+
"version": "19.1.0-dev.3",
|
|
3
3
|
"name": "@rxap/ngx-localize",
|
|
4
4
|
"description": "This package provides internationalization (i18n) support for Angular applications, including services for language management, an HTTP interceptor for setting the `Accept-Language` header, and a language selector component. It allows you to set and manage the current language of your application, redirect users based on their language preference, and configure available languages. The package also includes an init generator to handle peer dependencies.\n",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@nx/devkit": "20.
|
|
7
|
+
"@nx/devkit": "20.5.0",
|
|
8
8
|
"tslib": "2.6.2",
|
|
9
9
|
"xliff": "^6.2.1"
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@angular/common": "^19.1
|
|
13
|
-
"@angular/core": "^19.1
|
|
12
|
+
"@angular/common": "^19.2.1",
|
|
13
|
+
"@angular/core": "^19.2.1",
|
|
14
14
|
"@rxap/config": "^19.0.3",
|
|
15
15
|
"@rxap/ngx-user": "^19.0.3",
|
|
16
16
|
"rxjs": "^7.8.1"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"packageGroup": [
|
|
38
38
|
{
|
|
39
39
|
"package": "@angular/animations",
|
|
40
|
-
"version": "19.1
|
|
40
|
+
"version": "19.2.1"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"package": "@angular/cdk",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"package": "@angular/common",
|
|
48
|
-
"version": "19.1
|
|
48
|
+
"version": "19.2.1"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"package": "@angular/core",
|
|
52
|
-
"version": "19.1
|
|
52
|
+
"version": "19.2.1"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"package": "@angular/forms",
|
|
56
|
-
"version": "19.1
|
|
56
|
+
"version": "19.2.1"
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
"package": "@angular/material",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"package": "@angular/platform-browser",
|
|
64
|
-
"version": "19.1
|
|
64
|
+
"version": "19.2.1"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"package": "@rxap/config",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
},
|
|
133
133
|
"schematics": "./generators.json",
|
|
134
134
|
"sideEffects": false,
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "e4552670b179901abc7ce57cc3ff490ac705b867",
|
|
136
136
|
"module": "fesm2022/rxap-ngx-localize.mjs",
|
|
137
137
|
"typings": "index.d.ts",
|
|
138
138
|
"exports": {
|