@fundamental-ngx/ui5-webcomponents-base 0.64.1-rc.8 → 0.64.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.
|
@@ -3,7 +3,7 @@ import { inject, DestroyRef, Injectable, provideEnvironmentInitializer } from '@
|
|
|
3
3
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
4
|
import { ThemingService } from '@fundamental-ngx/core/theming';
|
|
5
5
|
import { filter } from 'rxjs/operators';
|
|
6
|
-
import { Ui5ThemingService } from '@fundamental-ngx/ui5-webcomponents-base/theming';
|
|
6
|
+
import { Ui5ThemingService, Ui5WebcomponentsThemingService } from '@fundamental-ngx/ui5-webcomponents-base/theming';
|
|
7
7
|
|
|
8
8
|
class Ui5ThemingBridgeService {
|
|
9
9
|
constructor() {
|
|
@@ -28,7 +28,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
28
28
|
}], ctorParameters: () => [] });
|
|
29
29
|
|
|
30
30
|
function provideUi5ThemingBridge() {
|
|
31
|
-
return provideEnvironmentInitializer(() =>
|
|
31
|
+
return provideEnvironmentInitializer(() => {
|
|
32
|
+
// Force-construct so both services self-register with Ui5ThemingService on bootstrap.
|
|
33
|
+
inject(Ui5WebcomponentsThemingService);
|
|
34
|
+
inject(Ui5ThemingBridgeService);
|
|
35
|
+
});
|
|
32
36
|
}
|
|
33
37
|
|
|
34
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-base-theming-bridge.mjs","sources":["../../../../libs/ui5-webcomponents-base/theming-bridge/ui5-theming-bridge.service.ts","../../../../libs/ui5-webcomponents-base/theming-bridge/ui5-theming-bridge.initializer.ts","../../../../libs/ui5-webcomponents-base/theming-bridge/fundamental-ngx-ui5-webcomponents-base-theming-bridge.ts"],"sourcesContent":["import { DestroyRef, inject, Injectable } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { ThemingService } from '@fundamental-ngx/core/theming';\nimport { filter } from 'rxjs/operators';\nimport { Ui5ThemingService } from '@fundamental-ngx/ui5-webcomponents-base/theming';\n\n@Injectable({ providedIn: 'root' })\nexport class Ui5ThemingBridgeService {\n private readonly _themingService = inject(ThemingService, { optional: true });\n private readonly _ui5ThemingService = inject(Ui5ThemingService);\n private readonly _destroyRef = inject(DestroyRef);\n\n constructor() {\n if (!this._themingService) {\n return;\n }\n this._themingService.currentTheme\n .pipe(\n filter((theme) => theme != null),\n takeUntilDestroyed(this._destroyRef)\n )\n .subscribe((theme) => {\n this._ui5ThemingService.setTheme(theme.id);\n });\n }\n}\n","import { EnvironmentProviders, inject, provideEnvironmentInitializer } from '@angular/core';\nimport { Ui5ThemingBridgeService } from './ui5-theming-bridge.service';\n\nexport function provideUi5ThemingBridge(): EnvironmentProviders {\n return provideEnvironmentInitializer(() => inject(Ui5ThemingBridgeService));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAOa,uBAAuB,CAAA;AAKhC,IAAA,WAAA,GAAA;QAJiB,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC5D,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC9C,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;AAG7C,QAAA,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACvB;QACJ;QACA,IAAI,CAAC,eAAe,CAAC;AAChB,aAAA,IAAI,CACD,MAAM,CAAC,CAAC,KAAK,KAAK,KAAK,IAAI,IAAI,CAAC,EAChC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC;AAEvC,aAAA,SAAS,CAAC,CAAC,KAAK,KAAI;YACjB,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;AAC9C,QAAA,CAAC,CAAC;IACV;8GAjBS,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAvB,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,uBAAuB,cADV,MAAM,EAAA,CAAA,CAAA;;2FACnB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-base-theming-bridge.mjs","sources":["../../../../libs/ui5-webcomponents-base/theming-bridge/ui5-theming-bridge.service.ts","../../../../libs/ui5-webcomponents-base/theming-bridge/ui5-theming-bridge.initializer.ts","../../../../libs/ui5-webcomponents-base/theming-bridge/fundamental-ngx-ui5-webcomponents-base-theming-bridge.ts"],"sourcesContent":["import { DestroyRef, inject, Injectable } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { ThemingService } from '@fundamental-ngx/core/theming';\nimport { filter } from 'rxjs/operators';\nimport { Ui5ThemingService } from '@fundamental-ngx/ui5-webcomponents-base/theming';\n\n@Injectable({ providedIn: 'root' })\nexport class Ui5ThemingBridgeService {\n private readonly _themingService = inject(ThemingService, { optional: true });\n private readonly _ui5ThemingService = inject(Ui5ThemingService);\n private readonly _destroyRef = inject(DestroyRef);\n\n constructor() {\n if (!this._themingService) {\n return;\n }\n this._themingService.currentTheme\n .pipe(\n filter((theme) => theme != null),\n takeUntilDestroyed(this._destroyRef)\n )\n .subscribe((theme) => {\n this._ui5ThemingService.setTheme(theme.id);\n });\n }\n}\n","import { EnvironmentProviders, inject, provideEnvironmentInitializer } from '@angular/core';\nimport { Ui5WebcomponentsThemingService } from '@fundamental-ngx/ui5-webcomponents-base/theming';\nimport { Ui5ThemingBridgeService } from './ui5-theming-bridge.service';\n\nexport function provideUi5ThemingBridge(): EnvironmentProviders {\n return provideEnvironmentInitializer(() => {\n // Force-construct so both services self-register with Ui5ThemingService on bootstrap.\n inject(Ui5WebcomponentsThemingService);\n inject(Ui5ThemingBridgeService);\n });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAOa,uBAAuB,CAAA;AAKhC,IAAA,WAAA,GAAA;QAJiB,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC5D,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC9C,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;AAG7C,QAAA,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACvB;QACJ;QACA,IAAI,CAAC,eAAe,CAAC;AAChB,aAAA,IAAI,CACD,MAAM,CAAC,CAAC,KAAK,KAAK,KAAK,IAAI,IAAI,CAAC,EAChC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC;AAEvC,aAAA,SAAS,CAAC,CAAC,KAAK,KAAI;YACjB,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;AAC9C,QAAA,CAAC,CAAC;IACV;8GAjBS,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAvB,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,uBAAuB,cADV,MAAM,EAAA,CAAA,CAAA;;2FACnB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;SCFlB,uBAAuB,GAAA;IACnC,OAAO,6BAA6B,CAAC,MAAK;;QAEtC,MAAM,CAAC,8BAA8B,CAAC;QACtC,MAAM,CAAC,uBAAuB,CAAC;AACnC,IAAA,CAAC,CAAC;AACN;;ACVA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/ui5-webcomponents-base",
|
|
3
|
-
"version": "0.64.1
|
|
3
|
+
"version": "0.64.1",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"description": "Official SAP Angular base library for UI5 Web Component wrappers – part of the Fundamental Library for Angular.",
|
|
6
6
|
"keywords": [
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"@angular/forms": "^22.0.0",
|
|
39
39
|
"@angular/platform-browser": "^22.0.0",
|
|
40
40
|
"@angular/router": "^22.0.0",
|
|
41
|
-
"@fundamental-ngx/core": "0.64.1
|
|
42
|
-
"@fundamental-ngx/i18n": "0.64.1
|
|
43
|
-
"@ui5/webcomponents-base": "^2.
|
|
41
|
+
"@fundamental-ngx/core": "0.64.1",
|
|
42
|
+
"@fundamental-ngx/i18n": "0.64.1",
|
|
43
|
+
"@ui5/webcomponents-base": "^2.25.0",
|
|
44
44
|
"fundamental-styles": "0.41.8",
|
|
45
45
|
"rxjs": "^7.8.0"
|
|
46
46
|
},
|