@fundamental-ngx/ui5-webcomponents-base 0.62.0-rc.1 → 0.62.0-rc.100
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.
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, effect, Injectable, provideEnvironmentInitializer } from '@angular/core';
|
|
3
|
+
import { FD_LOCALE_SIGNAL } from '@fundamental-ngx/i18n';
|
|
4
|
+
import { setLanguage } from '@ui5/webcomponents-base/dist/config/Language.js';
|
|
5
|
+
|
|
6
|
+
class Ui5LanguageService {
|
|
7
|
+
constructor() {
|
|
8
|
+
this._localeSignal = inject(FD_LOCALE_SIGNAL);
|
|
9
|
+
effect(() => {
|
|
10
|
+
const locale = this._localeSignal();
|
|
11
|
+
setLanguage(locale);
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Ui5LanguageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Ui5LanguageService, providedIn: 'root' }); }
|
|
16
|
+
}
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Ui5LanguageService, decorators: [{
|
|
18
|
+
type: Injectable,
|
|
19
|
+
args: [{ providedIn: 'root' }]
|
|
20
|
+
}], ctorParameters: () => [] });
|
|
21
|
+
|
|
22
|
+
function provideUi5LanguageBridge() {
|
|
23
|
+
return provideEnvironmentInitializer(() => inject(Ui5LanguageService));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Generated bundle index. Do not edit.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
export { Ui5LanguageService, provideUi5LanguageBridge };
|
|
31
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-base-i18n.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-base-i18n.mjs","sources":["../../../../libs/ui5-webcomponents-base/i18n/ui5-language.service.ts","../../../../libs/ui5-webcomponents-base/i18n/ui5-language.initializer.ts","../../../../libs/ui5-webcomponents-base/i18n/fundamental-ngx-ui5-webcomponents-base-i18n.ts"],"sourcesContent":["import { effect, inject, Injectable } from '@angular/core';\nimport { FD_LOCALE_SIGNAL } from '@fundamental-ngx/i18n';\nimport { setLanguage } from '@ui5/webcomponents-base/dist/config/Language.js';\n\n@Injectable({ providedIn: 'root' })\nexport class Ui5LanguageService {\n private readonly _localeSignal = inject(FD_LOCALE_SIGNAL);\n\n constructor() {\n effect(() => {\n const locale = this._localeSignal();\n setLanguage(locale);\n });\n }\n}\n","import { EnvironmentProviders, inject, provideEnvironmentInitializer } from '@angular/core';\nimport { Ui5LanguageService } from './ui5-language.service';\n\nexport function provideUi5LanguageBridge(): EnvironmentProviders {\n return provideEnvironmentInitializer(() => inject(Ui5LanguageService));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAKa,kBAAkB,CAAA;AAG3B,IAAA,WAAA,GAAA;AAFiB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAGrD,MAAM,CAAC,MAAK;AACR,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,EAAE;YACnC,WAAW,CAAC,MAAM,CAAC;AACvB,QAAA,CAAC,CAAC;IACN;8GARS,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cADL,MAAM,EAAA,CAAA,CAAA;;2FACnB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;SCDlB,wBAAwB,GAAA;IACpC,OAAO,6BAA6B,CAAC,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC;AAC1E;;ACLA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/ui5-webcomponents-base",
|
|
3
|
-
"version": "0.62.0-rc.
|
|
3
|
+
"version": "0.62.0-rc.100",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Official SAP Angular base library for UI5 Web Component wrappers – part of the Fundamental Library for Angular.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"angular",
|
|
8
|
+
"ui5",
|
|
9
|
+
"ui5-webcomponents",
|
|
10
|
+
"web-components",
|
|
11
|
+
"sap",
|
|
12
|
+
"fiori",
|
|
13
|
+
"ngx",
|
|
14
|
+
"design-system",
|
|
15
|
+
"btp",
|
|
16
|
+
"angular-components",
|
|
17
|
+
"sap-fiori",
|
|
18
|
+
"fundamental"
|
|
19
|
+
],
|
|
6
20
|
"license": "Apache-2.0",
|
|
7
21
|
"homepage": "https://sap.github.io/fundamental-ngx",
|
|
8
22
|
"repository": {
|
|
@@ -13,15 +27,15 @@
|
|
|
13
27
|
"node": ">= 10"
|
|
14
28
|
},
|
|
15
29
|
"peerDependencies": {
|
|
16
|
-
"@angular/animations": "^21.0.0",
|
|
17
30
|
"@angular/cdk": "^21.0.0",
|
|
18
31
|
"@angular/common": "^21.0.0",
|
|
19
32
|
"@angular/core": "^21.0.0",
|
|
20
33
|
"@angular/forms": "^21.0.0",
|
|
21
34
|
"@angular/platform-browser": "^21.0.0",
|
|
22
35
|
"@angular/router": "^21.0.0",
|
|
23
|
-
"@
|
|
24
|
-
"
|
|
36
|
+
"@fundamental-ngx/i18n": "0.62.0-rc.100",
|
|
37
|
+
"@ui5/webcomponents-base": "^2.21.0",
|
|
38
|
+
"fundamental-styles": "0.41.4",
|
|
25
39
|
"rxjs": "^7.8.0"
|
|
26
40
|
},
|
|
27
41
|
"dependencies": {
|
|
@@ -43,6 +57,10 @@
|
|
|
43
57
|
"types": "./types/fundamental-ngx-ui5-webcomponents-base.d.ts",
|
|
44
58
|
"default": "./fesm2022/fundamental-ngx-ui5-webcomponents-base.mjs"
|
|
45
59
|
},
|
|
60
|
+
"./i18n": {
|
|
61
|
+
"types": "./types/fundamental-ngx-ui5-webcomponents-base-i18n.d.ts",
|
|
62
|
+
"default": "./fesm2022/fundamental-ngx-ui5-webcomponents-base-i18n.mjs"
|
|
63
|
+
},
|
|
46
64
|
"./theming": {
|
|
47
65
|
"types": "./types/fundamental-ngx-ui5-webcomponents-base-theming.d.ts",
|
|
48
66
|
"default": "./fesm2022/fundamental-ngx-ui5-webcomponents-base-theming.mjs"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EnvironmentProviders } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class Ui5LanguageService {
|
|
5
|
+
private readonly _localeSignal;
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Ui5LanguageService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Ui5LanguageService>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare function provideUi5LanguageBridge(): EnvironmentProviders;
|
|
12
|
+
|
|
13
|
+
export { Ui5LanguageService, provideUi5LanguageBridge };
|