aril 1.1.97 → 1.2.0
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/boot/base/index.d.ts +1 -0
- package/boot/base/src/create-base-app-config.d.ts +12 -0
- package/boot/config/api/index.d.ts +1 -0
- package/boot/config/api/src/api.service.d.ts +2 -2
- package/boot/config/api/src/interfaces.d.ts +1 -19
- package/boot/config/plugins/src/interfaces.d.ts +0 -37
- package/esm2022/boot/base/aril-boot-base.mjs +5 -0
- package/esm2022/boot/base/index.mjs +2 -0
- package/esm2022/boot/base/src/create-base-app-config.mjs +30 -0
- package/esm2022/boot/config/api/index.mjs +1 -1
- package/esm2022/boot/config/api/src/api.service.mjs +5 -4
- package/esm2022/boot/config/api/src/interfaces.mjs +2 -21
- package/esm2022/boot/config/apps/src/apps.service.mjs +2 -2
- package/esm2022/boot/config/plugins/src/interfaces.mjs +1 -60
- package/esm2022/boot/config/plugins/src/plugins.service.mjs +8 -22
- package/esm2022/boot/host/src/bootstrap.mjs +8 -23
- package/esm2022/boot/mfe/src/app.component.mjs +6 -6
- package/esm2022/boot/mfe/src/bootstrap.mjs +13 -33
- package/esm2022/boot/pages/aril-boot-pages.mjs +5 -0
- package/esm2022/boot/pages/index.mjs +3 -0
- package/esm2022/{util/custom_pages → boot/pages}/src/forbidden.component.mjs +1 -1
- package/esm2022/{util/custom_pages → boot/pages}/src/notFound.component.mjs +1 -1
- package/esm2022/keycloak/src/auth.interceptor.mjs +14 -78
- package/esm2022/provider/src/prodiveHost.mjs +4 -8
- package/esm2022/provider/src/provideHostKeycloak.mjs +10 -2
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +1 -1
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +3 -3
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +1 -1
- package/esm2022/ui/form/src/form.component.mjs +22 -4
- package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +14 -2
- package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +3 -4
- package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +1 -1
- package/fesm2022/{aril-app.component-FxPod9bE.mjs → aril-app.component-wxP3y8dg.mjs} +8 -11
- package/fesm2022/aril-app.component-wxP3y8dg.mjs.map +1 -0
- package/fesm2022/aril-boot-base.mjs +37 -0
- package/fesm2022/aril-boot-base.mjs.map +1 -0
- package/fesm2022/aril-boot-config-api.mjs +3 -22
- package/fesm2022/aril-boot-config-api.mjs.map +1 -1
- package/fesm2022/aril-boot-config-apps.mjs +1 -1
- package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
- package/fesm2022/aril-boot-config-plugins.mjs +7 -80
- package/fesm2022/aril-boot-config-plugins.mjs.map +1 -1
- package/fesm2022/aril-boot-host.mjs +7 -22
- package/fesm2022/aril-boot-host.mjs.map +1 -1
- package/fesm2022/{aril-boot-mfe-app.component-dZp2aSTk.mjs → aril-boot-mfe-app.component-7IjAmjz0.mjs} +8 -11
- package/fesm2022/aril-boot-mfe-app.component-7IjAmjz0.mjs.map +1 -0
- package/fesm2022/{aril-boot-mfe-aril-boot-mfe-mm6nhyRL.mjs → aril-boot-mfe-aril-boot-mfe-KXDpUyv7.mjs} +15 -71
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-KXDpUyv7.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe.mjs +2 -6
- package/fesm2022/aril-boot-mfe.mjs.map +1 -1
- package/fesm2022/{aril-util-custom_pages.mjs → aril-boot-pages.mjs} +1 -1
- package/fesm2022/aril-boot-pages.mjs.map +1 -0
- package/fesm2022/aril-keycloak.mjs +13 -77
- package/fesm2022/aril-keycloak.mjs.map +1 -1
- package/fesm2022/aril-provider.mjs +12 -8
- package/fesm2022/aril-provider.mjs.map +1 -1
- package/fesm2022/aril-theme-layout.mjs +2 -2
- package/fesm2022/aril-theme-layout.mjs.map +1 -1
- package/fesm2022/aril-ui-business-assetPicker.mjs +13 -1
- package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-form.mjs +20 -3
- package/fesm2022/aril-ui-form.mjs.map +1 -1
- package/fesm2022/aril-util-pipes.mjs +2 -3
- package/fesm2022/aril-util-pipes.mjs.map +1 -1
- package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -1
- package/fesm2022/aril.mjs +14 -81
- package/fesm2022/aril.mjs.map +1 -1
- package/package.json +143 -143
- package/provider/src/prodiveHost.d.ts +2 -2
- package/theme/layout/app/expandableMenu/expandable-menu.component.ts +373 -373
- package/theme/layout/app/site-map/site-map-sidebar.component.html +121 -121
- package/theme/layout/app/site-map/site-map-sidebar.component.ts +1 -1
- package/theme/layout/app/static-sidebar/static-sidebar.component.ts +336 -336
- package/theme/styles/layout/_fonts.scss +1 -13
- package/ui/form/src/form.component.d.ts +4 -1
- package/boot/mfe/src/loadStyles.d.ts +0 -3
- package/esm2022/boot/mfe/src/loadStyles.mjs +0 -38
- package/esm2022/util/custom_pages/aril-util-custom_pages.mjs +0 -5
- package/esm2022/util/custom_pages/index.mjs +0 -3
- package/esm2022/util/loaders/aril-util-loaders.mjs +0 -5
- package/esm2022/util/loaders/index.mjs +0 -2
- package/esm2022/util/loaders/style/style.loader.service.mjs +0 -61
- package/fesm2022/aril-app.component-FxPod9bE.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-app.component-dZp2aSTk.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-mm6nhyRL.mjs.map +0 -1
- package/fesm2022/aril-util-custom_pages.mjs.map +0 -1
- package/fesm2022/aril-util-loaders.mjs +0 -68
- package/fesm2022/aril-util-loaders.mjs.map +0 -1
- package/theme/fonts/Inter/Inter_18pt-Black.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-BlackItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-Bold.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-BoldItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-ExtraBold.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-ExtraBoldItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-ExtraLight.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-ExtraLightItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-Italic.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-Light.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-LightItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-Medium.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-MediumItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-Regular.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-SemiBold.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-SemiBoldItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-Thin.ttf +0 -0
- package/theme/fonts/Inter/Inter_18pt-ThinItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-Black.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-BlackItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-Bold.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-BoldItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-ExtraBold.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-ExtraBoldItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-ExtraLight.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-ExtraLightItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-Italic.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-Light.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-LightItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-Medium.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-MediumItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-Regular.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-SemiBold.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-SemiBoldItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-Thin.ttf +0 -0
- package/theme/fonts/Inter/Inter_24pt-ThinItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-Black.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-BlackItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-Bold.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-BoldItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-ExtraBold.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-ExtraBoldItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-ExtraLight.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-ExtraLightItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-Italic.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-Light.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-LightItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-Medium.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-MediumItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-Regular.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-SemiBold.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-SemiBoldItalic.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-Thin.ttf +0 -0
- package/theme/fonts/Inter/Inter_28pt-ThinItalic.ttf +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-Black.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-Black.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-BlackItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-BlackItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-BoldItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-BoldItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ExtraBold.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ExtraBold.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ExtraBoldItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ExtraBoldItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ExtraLight.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ExtraLight.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ExtraLightItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ExtraLightItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-Italic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-Italic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-Light.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-Light.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-LightItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-LightItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-MediumItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-MediumItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-SemiBoldItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-SemiBoldItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-Thin.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-Thin.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ThinItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter18pt-ThinItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Black.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Black.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-BlackItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-BlackItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Bold.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Bold.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-BoldItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-BoldItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ExtraBold.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ExtraBold.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ExtraBoldItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ExtraBoldItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ExtraLight.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ExtraLight.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ExtraLightItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ExtraLightItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Italic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Italic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-LightItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-LightItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Medium.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Medium.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-MediumItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-MediumItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Regular.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Regular.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-SemiBold.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-SemiBold.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-SemiBoldItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-SemiBoldItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Thin.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-Thin.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ThinItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter24pt-ThinItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Black.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Black.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-BlackItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-BlackItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Bold.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Bold.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-BoldItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-BoldItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-ExtraBoldItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-ExtraBoldItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-ExtraLightItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-ExtraLightItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Italic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Italic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Light.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Light.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-LightItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-LightItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Medium.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Medium.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-MediumItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-MediumItalic.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Regular.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Regular.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-SemiBold.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-SemiBold.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Thin.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-Thin.woff2 +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-ThinItalic.woff +0 -0
- package/theme/fonts/Inter/woff/Inter28pt-ThinItalic.woff2 +0 -0
- package/util/loaders/index.d.ts +0 -1
- package/util/loaders/style/style.loader.service.d.ts +0 -13
- /package/{util/custom_pages → boot/pages}/index.d.ts +0 -0
- /package/{util/custom_pages → boot/pages}/src/forbidden.component.d.ts +0 -0
- /package/{util/custom_pages → boot/pages}/src/notFound.component.d.ts +0 -0
|
@@ -1,64 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { APP_INITIALIZER, importProvidersFrom } from '@angular/core';
|
|
3
3
|
import { createCustomElement } from '@angular/elements';
|
|
4
4
|
import { createApplication } from '@angular/platform-browser';
|
|
5
|
-
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
6
5
|
import { provideRouter, withComponentInputBinding, withHashLocation, withViewTransitions, withRouterConfig, RouteReuseStrategy } from '@angular/router';
|
|
7
|
-
import {
|
|
8
|
-
import { KeycloakBearerInterceptor, KeycloakAngularModule, KeycloakService } from 'keycloak-angular';
|
|
6
|
+
import { KeycloakService } from 'keycloak-angular';
|
|
9
7
|
import { MonacoEditorModule, NGX_MONACO_EDITOR_CONFIG } from 'ngx-monaco-editor-v2';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { createBaseAppConfig } from 'aril/boot/base';
|
|
9
|
+
import { bridge } from 'aril/boot/bridge';
|
|
10
|
+
import { setApiConfigOnMFEMode } from 'aril/boot/config/api';
|
|
12
11
|
import { ArilReuseStrategy } from 'aril/boot/config/apps';
|
|
13
12
|
import { getNgZone, loadPlugins } from 'aril/boot/config/plugins';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { authInterceptor, keycloakAuthInterceptor } from 'aril/keycloak';
|
|
17
|
-
import { provideHost, provideLocaleId } from 'aril/provider';
|
|
18
|
-
import { StyleLoaderService } from 'aril/util/loaders';
|
|
13
|
+
import { i18nFolderName } from 'aril/i18n';
|
|
14
|
+
import { provideHost } from 'aril/provider';
|
|
19
15
|
|
|
20
16
|
const appComponentLoader = async () => {
|
|
21
|
-
const { AppComponent } = await import('./aril-boot-mfe-app.component-
|
|
17
|
+
const { AppComponent } = await import('./aril-boot-mfe-app.component-7IjAmjz0.mjs');
|
|
22
18
|
return AppComponent;
|
|
23
19
|
};
|
|
24
20
|
|
|
25
|
-
function loadStyles(styleLoaderService, appName) {
|
|
26
|
-
const styles = [
|
|
27
|
-
'layout.css',
|
|
28
|
-
'ui.common.css',
|
|
29
|
-
'preloading.css',
|
|
30
|
-
'primeng.min.css',
|
|
31
|
-
'dx.fluent.saas.light.css',
|
|
32
|
-
`assets/${appName}/styles/primeflex/primeflex.min.css`,
|
|
33
|
-
`assets/${appName}/styles/primeicons/primeicons.css`
|
|
34
|
-
];
|
|
35
|
-
/*switch (appName) {
|
|
36
|
-
case Apps.HES:
|
|
37
|
-
case Apps.CTS:
|
|
38
|
-
case Apps.SIS:
|
|
39
|
-
styles.push('theme.light.lena.css');
|
|
40
|
-
break;
|
|
41
|
-
case Apps.CRM:
|
|
42
|
-
case Apps.BILLING:
|
|
43
|
-
case Apps.PAYMENT:
|
|
44
|
-
case Apps.WDM:
|
|
45
|
-
case Apps.MNG:
|
|
46
|
-
styles.push('theme.light.thor.css');
|
|
47
|
-
break;
|
|
48
|
-
case Apps.MW:
|
|
49
|
-
styles.push('theme.light.yeap.css');
|
|
50
|
-
break;
|
|
51
|
-
default:
|
|
52
|
-
styles.push('theme.light.indigo.css');
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
*/
|
|
56
|
-
styles.push('theme.light.custom.css');
|
|
57
|
-
if (bridge.isHostMode())
|
|
58
|
-
return () => Promise.resolve();
|
|
59
|
-
return () => styleLoaderService.load(styles);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
21
|
const monacoConfig = {
|
|
63
22
|
baseUrl: 'assets',
|
|
64
23
|
defaultOptions: { scrollBeyondLastLine: false },
|
|
@@ -315,23 +274,18 @@ const boot = (_appName, _routes, _menuItems) => {
|
|
|
315
274
|
menuItems = _menuItems;
|
|
316
275
|
const appBootConfig = {
|
|
317
276
|
providers: [
|
|
318
|
-
|
|
319
|
-
provideMfeBridge(),
|
|
277
|
+
createBaseAppConfig({ i18nFolder: _appName }),
|
|
320
278
|
provideHost(appName),
|
|
321
|
-
provideLocaleId(),
|
|
322
|
-
KeycloakBearerInterceptor,
|
|
323
|
-
provideHttpClient(withInterceptors([acceptLanguageInterceptor, authInterceptor, keycloakAuthInterceptor])),
|
|
324
279
|
provideRouter(_routes, withComponentInputBinding(), withHashLocation(), withViewTransitions(), withRouterConfig({ onSameUrlNavigation: 'reload' })),
|
|
325
280
|
{ provide: RouteReuseStrategy, useClass: ArilReuseStrategy },
|
|
326
|
-
importProvidersFrom(i18nModule, KeycloakAngularModule),
|
|
327
281
|
getNgZone(),
|
|
328
|
-
MessageService,
|
|
329
|
-
ConfirmationService,
|
|
330
282
|
{
|
|
331
283
|
provide: APP_INITIALIZER,
|
|
332
284
|
useFactory: (httpClient, keycloak, folderName) => {
|
|
333
|
-
|
|
334
|
-
|
|
285
|
+
if (!bridge.isHostMode()) {
|
|
286
|
+
return () => Promise.resolve();
|
|
287
|
+
}
|
|
288
|
+
const runApiInit = setApiConfigOnMFEMode(httpClient, keycloak, folderName);
|
|
335
289
|
const runLoadPlugins = loadPlugins();
|
|
336
290
|
return async () => {
|
|
337
291
|
await runApiInit();
|
|
@@ -341,16 +295,6 @@ const boot = (_appName, _routes, _menuItems) => {
|
|
|
341
295
|
multi: true,
|
|
342
296
|
deps: [HttpClient, KeycloakService, i18nFolderName]
|
|
343
297
|
},
|
|
344
|
-
{
|
|
345
|
-
provide: APP_INITIALIZER,
|
|
346
|
-
useFactory: loadStyles,
|
|
347
|
-
multi: true,
|
|
348
|
-
deps: [StyleLoaderService, i18nFolderName]
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
provide: i18nFolderName,
|
|
352
|
-
useValue: _appName
|
|
353
|
-
},
|
|
354
298
|
importProvidersFrom(MonacoEditorModule.forRoot()),
|
|
355
299
|
{ provide: NGX_MONACO_EDITOR_CONFIG, useValue: monacoConfig }
|
|
356
300
|
]
|
|
@@ -368,4 +312,4 @@ const boot = (_appName, _routes, _menuItems) => {
|
|
|
368
312
|
*/
|
|
369
313
|
|
|
370
314
|
export { appName as a, boot as b, menuItems as m };
|
|
371
|
-
//# sourceMappingURL=aril-boot-mfe-aril-boot-mfe-
|
|
315
|
+
//# sourceMappingURL=aril-boot-mfe-aril-boot-mfe-KXDpUyv7.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-boot-mfe-aril-boot-mfe-KXDpUyv7.mjs","sources":["../../projects/aril/boot/mfe/src/appComponentLoader.ts","../../projects/aril/boot/mfe/src/monaco.config.ts","../../projects/aril/boot/mfe/src/bootstrap.ts","../../projects/aril/boot/mfe/aril-boot-mfe.ts"],"sourcesContent":["export const appComponentLoader = async () => {\r\n\tconst { AppComponent } = await import('./app.component');\r\n\treturn AppComponent;\r\n};","declare const monaco: any;\r\n\r\nexport const monacoConfig = {\r\n\tbaseUrl: 'assets',\r\n\tdefaultOptions: { scrollBeyondLastLine: false },\r\n\tonMonacoLoad: () => {\r\n\t\t// JSON düzenleyici ayarları\r\n\t\tif (monaco && monaco.languages && monaco.languages.json) {\r\n\t\t\tmonaco.languages.json.jsonDefaults.setDiagnosticsOptions({\r\n\t\t\t\tvalidate: true,\r\n\t\t\t\tallowComments: false,\r\n\t\t\t\tschemas: []\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// JavaScript/TypeScript düzenleyici ayarları\r\n\t\tif (monaco && monaco.languages && monaco.languages.typescript) {\r\n\t\t\tmonaco.languages.typescript.javascriptDefaults.setCompilerOptions({\r\n\t\t\t\ttarget: monaco.languages.typescript.ScriptTarget.ES2016,\r\n\t\t\t\tallowNonTsExtensions: true,\r\n\t\t\t\tmoduleResolution: monaco.languages.typescript.ModuleResolutionKind.NodeJs,\r\n\t\t\t\tmodule: monaco.languages.typescript.ModuleKind.CommonJS,\r\n\t\t\t\tnoEmit: true,\r\n\t\t\t\ttypeRoots: ['node_modules/@types']\r\n\t\t\t});\r\n\r\n\t\t\t// TypeScript düzenleyici ayarları\r\n\t\t\tmonaco.languages.typescript.typescriptDefaults.setCompilerOptions({\r\n\t\t\t\ttarget: monaco.languages.typescript.ScriptTarget.ES2016,\r\n\t\t\t\tallowNonTsExtensions: true,\r\n\t\t\t\tmoduleResolution: monaco.languages.typescript.ModuleResolutionKind.NodeJs,\r\n\t\t\t\tmodule: monaco.languages.typescript.ModuleKind.CommonJS,\r\n\t\t\t\tnoEmit: true,\r\n\t\t\t\ttypeRoots: ['node_modules/@types']\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// HTML, XML ve diğer markup dilleri için ayarlar\r\n\t\tif (monaco && monaco.languages && monaco.languages.html) {\r\n\t\t\tmonaco.languages.html.htmlDefaults.setOptions({\r\n\t\t\t\tformat: {\r\n\t\t\t\t\ttabSize: 2,\r\n\t\t\t\t\tinsertSpaces: true\r\n\t\t\t\t},\r\n\t\t\t\tsuggest: {\r\n\t\t\t\t\thtml5: true\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// Python için syntax highlighting ve özel formatlamalar\r\n\t\tif (monaco && monaco.languages) {\r\n\t\t\tmonaco.languages.registerDocumentFormattingEditProvider('python', {\r\n\t\t\t\tprovideDocumentFormattingEdits: function (model: any) {\r\n\t\t\t\t\tconst text = model.getValue();\r\n\t\t\t\t\treturn [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\trange: model.getFullModelRange(),\r\n\t\t\t\t\t\t\ttext: text\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t];\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t// Python için özel linting kuralları\r\n\t\t\tmonaco.languages.registerCompletionItemProvider('python', {\r\n\t\t\t\tprovideCompletionItems: function (model: any, position: any) {\r\n\t\t\t\t\tconst suggestions = [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'def',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Keyword,\r\n\t\t\t\t\t\t\tinsertText: 'def ${1:function_name}(${2:parameters}):\\n\\t${3:pass}',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'Fonksiyon tanımlama'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'class',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Keyword,\r\n\t\t\t\t\t\t\tinsertText: 'class ${1:ClassName}:\\n\\tdef __init__(self, ${2:parameters}):\\n\\t\\t${3:pass}',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'Sınıf tanımlama'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'if',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Keyword,\r\n\t\t\t\t\t\t\tinsertText: 'if ${1:condition}:\\n\\t${2:pass}',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'If bloğu'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'for',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Keyword,\r\n\t\t\t\t\t\t\tinsertText: 'for ${1:item} in ${2:iterable}:\\n\\t${3:pass}',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'For döngüsü'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t];\r\n\r\n\t\t\t\t\treturn { suggestions: suggestions };\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// Lua için özel ayarlar\r\n\t\tif (monaco && monaco.languages) {\r\n\t\t\tmonaco.languages.registerDocumentFormattingEditProvider('lua', {\r\n\t\t\t\tprovideDocumentFormattingEdits: function (model: any) {\r\n\t\t\t\t\tconst text = model.getValue();\r\n\t\t\t\t\treturn [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\trange: model.getFullModelRange(),\r\n\t\t\t\t\t\t\ttext: text\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t];\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tmonaco.languages.registerCompletionItemProvider('lua', {\r\n\t\t\t\tprovideCompletionItems: function (model: any, position: any) {\r\n\t\t\t\t\tconst suggestions = [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'function',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Keyword,\r\n\t\t\t\t\t\t\tinsertText: 'function ${1:name}(${2:params})\\n\\t${3:-- body}\\nend',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'Fonksiyon tanımlama'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'if',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Keyword,\r\n\t\t\t\t\t\t\tinsertText: 'if ${1:condition} then\\n\\t${2:-- body}\\nend',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'If bloğu'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'for',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Keyword,\r\n\t\t\t\t\t\t\tinsertText: 'for ${1:i}=${2:1},${3:10} do\\n\\t${4:-- body}\\nend',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'For döngüsü'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t];\r\n\r\n\t\t\t\t\treturn { suggestions: suggestions };\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// Java için özel ayarlar\r\n\t\tif (monaco && monaco.languages) {\r\n\t\t\tmonaco.languages.registerDocumentFormattingEditProvider('java', {\r\n\t\t\t\tprovideDocumentFormattingEdits: function (model: any) {\r\n\t\t\t\t\tconst text = model.getValue();\r\n\t\t\t\t\t// Java formatlaması\r\n\t\t\t\t\treturn [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\trange: model.getFullModelRange(),\r\n\t\t\t\t\t\t\ttext: text // Formatlanmış metin\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t];\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t// Java için özel öneriler\r\n\t\t\tmonaco.languages.registerCompletionItemProvider('java', {\r\n\t\t\t\tprovideCompletionItems: function (model: any, position: any) {\r\n\t\t\t\t\tconst suggestions = [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'class',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Keyword,\r\n\t\t\t\t\t\t\tinsertText: 'public class ${1:ClassName} {\\n\\t${2}\\n}',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'Sınıf tanımlama'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'main',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Snippet,\r\n\t\t\t\t\t\t\tinsertText: 'public static void main(String[] args) {\\n\\t${1}\\n}',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'Main metodu'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'sout',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Snippet,\r\n\t\t\t\t\t\t\tinsertText: 'System.out.println(${1});',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'Konsola yazdırma'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t];\r\n\r\n\t\t\t\t\treturn { suggestions: suggestions };\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// HTML için özel ayarlar\r\n\t\tif (monaco && monaco.languages) {\r\n\t\t\tmonaco.languages.registerCompletionItemProvider('html', {\r\n\t\t\t\tprovideCompletionItems: function (model: any, position: any) {\r\n\t\t\t\t\tconst suggestions = [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'html5',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Snippet,\r\n\t\t\t\t\t\t\tinsertText:\r\n\t\t\t\t\t\t\t\t'<!DOCTYPE html>\\n<html lang=\"en\">\\n<head>\\n\\t<meta charset=\"UTF-8\">\\n\\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\\n\\t<title>${1:Document}</title>\\n</head>\\n<body>\\n\\t${2}\\n</body>\\n</html>',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'HTML5 taslağı'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'div',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Snippet,\r\n\t\t\t\t\t\t\tinsertText: '<div class=\"${1:className}\">\\n\\t${2}\\n</div>',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'Div elementi'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t];\r\n\r\n\t\t\t\t\treturn { suggestions: suggestions };\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// XML için özel ayarlar\r\n\t\tif (monaco && monaco.languages) {\r\n\t\t\tmonaco.languages.registerCompletionItemProvider('xml', {\r\n\t\t\t\tprovideCompletionItems: function (model: any, position: any) {\r\n\t\t\t\t\tconst suggestions = [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tlabel: 'xml',\r\n\t\t\t\t\t\t\tkind: monaco.languages.CompletionItemKind.Snippet,\r\n\t\t\t\t\t\t\tinsertText: '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<${1:root}>\\n\\t${2}\\n</${1:root}>',\r\n\t\t\t\t\t\t\tinsertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,\r\n\t\t\t\t\t\t\tdocumentation: 'XML taslağı'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t];\r\n\r\n\t\t\t\t\treturn { suggestions: suggestions };\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// JSON için özel ayarlar ve şema doğrulama\r\n\t\tif (monaco && monaco.languages && monaco.languages.json) {\r\n\t\t\tmonaco.languages.json.jsonDefaults.setDiagnosticsOptions({\r\n\t\t\t\tvalidate: true,\r\n\t\t\t\tallowComments: false,\r\n\t\t\t\tschemas: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\turi: 'http://myserver/schema/package.schema.json',\r\n\t\t\t\t\t\tfileMatch: ['package.json'],\r\n\t\t\t\t\t\tschema: {\r\n\t\t\t\t\t\t\ttype: 'object',\r\n\t\t\t\t\t\t\tproperties: {\r\n\t\t\t\t\t\t\t\tname: { type: 'string' },\r\n\t\t\t\t\t\t\t\tversion: { type: 'string' },\r\n\t\t\t\t\t\t\t\tdependencies: {\r\n\t\t\t\t\t\t\t\t\ttype: 'object'\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n};\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { APP_INITIALIZER, ApplicationConfig, importProvidersFrom } from '@angular/core';\r\nimport { createCustomElement } from '@angular/elements';\r\nimport { createApplication } from '@angular/platform-browser';\r\nimport {\r\n\tRouteReuseStrategy,\r\n\tRoutes,\r\n\tprovideRouter,\r\n\twithComponentInputBinding,\r\n\twithHashLocation,\r\n\twithRouterConfig,\r\n\twithViewTransitions\r\n} from '@angular/router';\r\n\r\nimport { KeycloakService } from 'keycloak-angular';\r\nimport { MonacoEditorModule, NGX_MONACO_EDITOR_CONFIG } from 'ngx-monaco-editor-v2';\r\n\r\nimport { createBaseAppConfig } from 'aril/boot/base';\r\nimport { bridge } from 'aril/boot/bridge';\r\nimport { setApiConfigOnMFEMode } from 'aril/boot/config/api';\r\nimport { Apps, ArilReuseStrategy, PluginMenuItem } from 'aril/boot/config/apps';\r\nimport { getNgZone, loadPlugins } from 'aril/boot/config/plugins';\r\nimport { i18nFolderName } from 'aril/i18n';\r\nimport { provideHost } from 'aril/provider';\r\n\r\nimport { appComponentLoader } from './appComponentLoader';\r\nimport { monacoConfig } from './monaco.config';\r\n\r\nexport var appName: Apps;\r\nexport var menuItems: PluginMenuItem[] = [];\r\n\r\nexport const boot = (_appName: Apps, _routes: Routes, _menuItems: PluginMenuItem[]) => {\r\n\tif (customElements.get(`app-${_appName}`)) return;\r\n\r\n\tappName = _appName;\r\n\tmenuItems = _menuItems;\r\n\r\n\tconst appBootConfig: ApplicationConfig = {\r\n\t\tproviders: [\r\n\t\t\tcreateBaseAppConfig({ i18nFolder: _appName }),\r\n\t\t\tprovideHost(appName),\r\n\t\t\tprovideRouter(\r\n\t\t\t\t_routes,\r\n\t\t\t\twithComponentInputBinding(),\r\n\t\t\t\twithHashLocation(),\r\n\t\t\t\twithViewTransitions(),\r\n\t\t\t\twithRouterConfig({ onSameUrlNavigation: 'reload' })\r\n\t\t\t),\r\n\t\t\t{ provide: RouteReuseStrategy, useClass: ArilReuseStrategy },\r\n\t\t\tgetNgZone(),\r\n\t\t\t{\r\n\t\t\t\tprovide: APP_INITIALIZER,\r\n\t\t\t\tuseFactory: (httpClient: HttpClient, keycloak: KeycloakService, folderName: typeof i18nFolderName) => {\r\n\t\t\t\t\tif (!bridge.isHostMode()) {\r\n\t\t\t\t\t\treturn () => Promise.resolve();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tconst runApiInit = setApiConfigOnMFEMode(httpClient, keycloak, folderName as unknown as Apps);\r\n\t\t\t\t\tconst runLoadPlugins = loadPlugins();\r\n\t\t\t\t\treturn async () => {\r\n\t\t\t\t\t\tawait runApiInit();\r\n\t\t\t\t\t\trunLoadPlugins();\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tmulti: true,\r\n\t\t\t\tdeps: [HttpClient, KeycloakService, i18nFolderName]\r\n\t\t\t},\r\n\t\t\timportProvidersFrom(MonacoEditorModule.forRoot()),\r\n\t\t\t{ provide: NGX_MONACO_EDITOR_CONFIG, useValue: monacoConfig }\r\n\t\t]\r\n\t};\r\n\r\n\tcreateApplication(appBootConfig).then((appRef) => {\r\n\t\tappComponentLoader().then((AppComponent) => {\r\n\t\t\tconst app = createCustomElement(AppComponent, { injector: appRef.injector });\r\n\t\t\tcustomElements.define(`app-${appName}`, app);\r\n\t\t});\r\n\t});\r\n};\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAO,MAAM,kBAAkB,GAAG,YAAW;IAC5C,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,4CAAiB,CAAC,CAAC;AACzD,IAAA,OAAO,YAAY,CAAC;AACrB,CAAC;;ACDM,MAAM,YAAY,GAAG;AAC3B,IAAA,OAAO,EAAE,QAAQ;AACjB,IAAA,cAAc,EAAE,EAAE,oBAAoB,EAAE,KAAK,EAAE;IAC/C,YAAY,EAAE,MAAK;;AAElB,QAAA,IAAI,MAAM,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE;YACxD,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,qBAAqB,CAAC;AACxD,gBAAA,QAAQ,EAAE,IAAI;AACd,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,OAAO,EAAE,EAAE;AACX,aAAA,CAAC,CAAC;SACH;;AAGD,QAAA,IAAI,MAAM,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,SAAS,CAAC,UAAU,EAAE;YAC9D,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,kBAAkB,CAAC,kBAAkB,CAAC;gBACjE,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,MAAM;AACvD,gBAAA,oBAAoB,EAAE,IAAI;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AE,UAA6B,CAAC,CAAC;AAC9F,oBAAA,MAAM,cAAc,GAAG,WAAW,EAAE,CAAC;oBACrC,OAAO,YAAW;wBACjB,MAAM,UAAU,EAAE,CAAC;AACnB,wBAAA,cAAc,EAAE,CAAC;AAClB,qBAAC,CAAC;iBACF;AACD,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,IAAI,EAAE,CAAC,UAAU,EAAE,eAAe,EAAE,cAAc,CAAC;AACnD,aAAA;AACD,YAAA,mBAAmB,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC;AACjD,YAAA,EAAE,OAAO,EAAE,wBAAwB,EAAE,QAAQ,EAAE,YAAY,EAAE;AAC7D,SAAA;KACD,CAAC;IAEF,iBAAiB,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAI;AAChD,QAAA,kBAAkB,EAAE,CAAC,IAAI,CAAC,CAAC,YAAY,KAAI;AAC1C,YAAA,MAAM,GAAG,GAAG,mBAAmB,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC7E,cAAc,CAAC,MAAM,CAAC,CAAA,IAAA,EAAO,OAAO,CAAE,CAAA,EAAE,GAAG,CAAC,CAAC;AAC9C,SAAC,CAAC,CAAC;AACJ,KAAC,CAAC,CAAC;AACJ;;AC7EA;;AAEG;;;;"}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
export { b as boot } from './aril-boot-mfe-aril-boot-mfe-
|
|
1
|
+
export { b as boot } from './aril-boot-mfe-aril-boot-mfe-KXDpUyv7.mjs';
|
|
2
2
|
import '@angular/common/http';
|
|
3
3
|
import '@angular/core';
|
|
4
4
|
import '@angular/elements';
|
|
5
5
|
import '@angular/platform-browser';
|
|
6
|
-
import '@angular/platform-browser/animations';
|
|
7
6
|
import '@angular/router';
|
|
8
|
-
import 'primeng/api';
|
|
9
7
|
import 'keycloak-angular';
|
|
10
8
|
import 'ngx-monaco-editor-v2';
|
|
9
|
+
import 'aril/boot/base';
|
|
11
10
|
import 'aril/boot/bridge';
|
|
12
11
|
import 'aril/boot/config/api';
|
|
13
12
|
import 'aril/boot/config/apps';
|
|
14
13
|
import 'aril/boot/config/plugins';
|
|
15
|
-
import 'aril/http';
|
|
16
14
|
import 'aril/i18n';
|
|
17
|
-
import 'aril/keycloak';
|
|
18
15
|
import 'aril/provider';
|
|
19
|
-
import 'aril/util/loaders';
|
|
20
16
|
//# sourceMappingURL=aril-boot-mfe.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-boot-mfe.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aril-boot-mfe.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-boot-pages.mjs","sources":["../../projects/aril/boot/pages/src/notFound.component.ts","../../projects/aril/boot/pages/src/forbidden.component.ts","../../projects/aril/boot/pages/aril-boot-pages.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { ButtonModule } from 'primeng/button';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\timports: [ButtonModule, RouterModule],\r\n\ttemplate: `\r\n\t\t<svg\r\n\t\t\tviewBox=\"0 0 960 540\"\r\n\t\t\txmlns=\"http://www.w3.org/2000/svg\"\r\n\t\t\txmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n\t\t\tversion=\"1.1\"\r\n\t\t\tclass=\"min-h-screen min-w-screen fixed left-0\"\r\n\t\t\tstyle=\"bottom:-10rem\"\r\n\t\t\tpreserveAspectRatio=\"none\">\r\n\t\t\t<rect x=\"0\" y=\"0\" width=\"960\" height=\"540\" fill=\"var(--surface-ground)\"></rect>\r\n\t\t\t<path\r\n\t\t\t\td=\"M0 331L26.7 321C53.3 311 106.7 291 160 291C213.3 291 266.7 311 320 329.5C373.3 348 426.7 365 480 373.2C533.3 381.3 586.7 380.7 640 373.8C693.3 367 746.7 354 800 341.2C853.3 328.3 906.7 315.7 933.3 309.3L960 303L960 541L933.3 541C906.7 541 853.3 541 800 541C746.7 541 693.3 541 640 541C586.7 541 533.3 541 480 541C426.7 541 373.3 541 320 541C266.7 541 213.3 541 160 541C106.7 541 53.3 541 26.7 541L0 541Z\"\r\n\t\t\t\tfill=\"var(--primary-color)\"\r\n\t\t\t\tstroke-linecap=\"round\"\r\n\t\t\t\tstroke-linejoin=\"miter\"></path>\r\n\t\t</svg>\r\n\t\t<div class=\"px-5 min-h-screen flex justify-content-center align-items-center\">\r\n\t\t\t<div class=\"z-1 text-center\">\r\n\t\t\t\t<div class=\"text-900 font-bold text-8xl mb-4\">Oops!</div>\r\n\t\t\t\t<p class=\"line-height-3 mt-0 mb-5 text-700 text-xl font-medium\">Sayfa Bulunamadı</p>\r\n\t\t\t\t<p-button routerLink=\"/\" styleClass=\"p-button-dark font-medium p-button-raised\">Anasayfaya Git</p-button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t`\r\n})\r\nexport class NotFoundComponent {}\r\n","import { Component } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { ButtonModule } from 'primeng/button';\r\n\r\nimport { TranslocoModule } from '@ngneat/transloco';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\timports: [ButtonModule, RouterModule, TranslocoModule],\r\n\ttemplate: `\r\n\t\t<ng-container *transloco=\"let t\">\r\n\t\t\t<svg\r\n\t\t\t\tviewBox=\"0 0 960 540\"\r\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\r\n\t\t\t\txmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n\t\t\t\tversion=\"1.1\"\r\n\t\t\t\tclass=\"min-h-screen min-w-screen fixed left-0\"\r\n\t\t\t\tstyle=\"bottom:-10rem\"\r\n\t\t\t\tpreserveAspectRatio=\"none\">\r\n\t\t\t\t<rect x=\"0\" y=\"0\" width=\"960\" height=\"540\" fill=\"var(--surface-ground)\"></rect>\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M0 331L26.7 321C53.3 311 106.7 291 160 291C213.3 291 266.7 311 320 329.5C373.3 348 426.7 365 480 373.2C533.3 381.3 586.7 380.7 640 373.8C693.3 367 746.7 354 800 341.2C853.3 328.3 906.7 315.7 933.3 309.3L960 303L960 541L933.3 541C906.7 541 853.3 541 800 541C746.7 541 693.3 541 640 541C586.7 541 533.3 541 480 541C426.7 541 373.3 541 320 541C266.7 541 213.3 541 160 541C106.7 541 53.3 541 26.7 541L0 541Z\"\r\n\t\t\t\t\tfill=\"var(--primary-color)\"\r\n\t\t\t\t\tstroke-linecap=\"round\"\r\n\t\t\t\t\tstroke-linejoin=\"miter\"></path>\r\n\t\t\t</svg>\r\n\t\t\t<div class=\"px-5 min-h-screen flex justify-content-center align-items-center\">\r\n\t\t\t\t<div class=\"z-1 text-center\">\r\n\t\t\t\t\t<div class=\"text-900 font-bold text-8xl mb-4\">{{ t('forbidden.title') }}</div>\r\n\t\t\t\t\t<p class=\"line-height-3 mt-0 mb-5 text-700 text-xl font-medium\">{{ t('forbidden.message') }}</p>\r\n\t\t\t\t\t<p-button routerLink=\"/\" styleClass=\"p-button-dark font-medium p-button-raised\">{{ t('forbidden.goHome') }}</p-button>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\t`\r\n})\r\nexport class ForbiddenComponent {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAiCa,iBAAiB,CAAA;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA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A9B9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,eAAe,CAAC;AACtD,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAyBT,CAAA,CAAA;AACD,iBAAA,CAAA;;;ACpCD;;AAEG;;;;"}
|
|
@@ -3,88 +3,24 @@ import { KeycloakBearerInterceptor } from 'keycloak-angular';
|
|
|
3
3
|
import { bridge } from 'aril/boot/bridge';
|
|
4
4
|
import { Apps } from 'aril/boot/config/apps';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
case Apps.YEAP:
|
|
11
|
-
appName = Apps.YEAP;
|
|
12
|
-
break;
|
|
13
|
-
case Apps.LENA:
|
|
14
|
-
appName = Apps.LENA;
|
|
15
|
-
break;
|
|
16
|
-
case Apps.THOR:
|
|
17
|
-
appName = Apps.THOR;
|
|
18
|
-
break;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
switch (mf) {
|
|
23
|
-
case Apps.HES:
|
|
24
|
-
case Apps.CTS:
|
|
25
|
-
case Apps.SIS:
|
|
26
|
-
appName = Apps.LENA;
|
|
27
|
-
break;
|
|
28
|
-
case Apps.CRM:
|
|
29
|
-
case Apps.BILLING:
|
|
30
|
-
case Apps.PAYMENT:
|
|
31
|
-
case Apps.WDM:
|
|
32
|
-
case Apps.MDM:
|
|
33
|
-
case Apps.DMS:
|
|
34
|
-
case Apps.MNG:
|
|
35
|
-
appName = Apps.THOR;
|
|
36
|
-
break;
|
|
37
|
-
case Apps.MW:
|
|
38
|
-
appName = Apps.YEAP;
|
|
39
|
-
break;
|
|
40
|
-
default:
|
|
41
|
-
appName = Apps.YEAP;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return appName;
|
|
45
|
-
};
|
|
46
|
-
const getAppHeader = (appName) => {
|
|
47
|
-
let appHeader = {};
|
|
48
|
-
switch (appName) {
|
|
49
|
-
case Apps.YEAP:
|
|
50
|
-
appHeader = {
|
|
51
|
-
'x-yeap-application': 'yeap',
|
|
52
|
-
'x-application': 'yeap',
|
|
53
|
-
'x-module': 'yeap-fe'
|
|
54
|
-
};
|
|
55
|
-
break;
|
|
56
|
-
case Apps.LENA:
|
|
57
|
-
appHeader = {
|
|
58
|
-
'x-yeap-application': 'lena',
|
|
59
|
-
'x-application': 'lena',
|
|
60
|
-
'x-module': 'lena-fe'
|
|
61
|
-
};
|
|
62
|
-
break;
|
|
63
|
-
case Apps.THOR:
|
|
64
|
-
appHeader = {
|
|
65
|
-
'x-yeap-application': 'thor',
|
|
66
|
-
'x-application': 'thor',
|
|
67
|
-
'x-module': 'thor-fe'
|
|
68
|
-
};
|
|
69
|
-
break;
|
|
70
|
-
}
|
|
71
|
-
return appHeader;
|
|
72
|
-
};
|
|
73
|
-
const getCsrfToken = () => {
|
|
74
|
-
return document.cookie
|
|
75
|
-
.split('; ')
|
|
76
|
-
.find((row) => row.startsWith('csrf_token='))
|
|
77
|
-
?.split('=')[1];
|
|
6
|
+
const HOST_APP_HEADERS = {
|
|
7
|
+
[Apps.THOR]: { 'x-yeap-application': 'thor', 'x-application': 'thor', 'x-module': 'thor-fe' },
|
|
8
|
+
[Apps.LENA]: { 'x-yeap-application': 'lena', 'x-application': 'lena', 'x-module': 'lena-fe' },
|
|
9
|
+
[Apps.YEAP]: { 'x-yeap-application': 'yeap', 'x-application': 'yeap', 'x-module': 'yeap-fe' }
|
|
78
10
|
};
|
|
11
|
+
const isHostApp = (value) => value === Apps.THOR || value === Apps.LENA || value === Apps.YEAP;
|
|
12
|
+
const getCsrfToken = () => document.cookie
|
|
13
|
+
.split('; ')
|
|
14
|
+
.find((row) => row.startsWith('csrf_token='))
|
|
15
|
+
?.split('=')[1];
|
|
79
16
|
const authInterceptor = (req, next) => {
|
|
80
|
-
const
|
|
81
|
-
const
|
|
17
|
+
const activeHost = bridge.activeHost();
|
|
18
|
+
const headers = isHostApp(activeHost) ? HOST_APP_HEADERS[activeHost] : {};
|
|
82
19
|
const csrfToken = getCsrfToken();
|
|
83
|
-
// if (isDevMode()) return next(req);
|
|
84
20
|
const authReq = req.clone({
|
|
85
21
|
setHeaders: {
|
|
86
|
-
csrf_token: csrfToken
|
|
87
|
-
...
|
|
22
|
+
csrf_token: csrfToken ?? '',
|
|
23
|
+
...headers
|
|
88
24
|
}
|
|
89
25
|
});
|
|
90
26
|
return next(authReq);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-keycloak.mjs","sources":["../../projects/aril/keycloak/src/auth.interceptor.ts","../../projects/aril/keycloak/aril-keycloak.ts"],"sourcesContent":["import { HttpHandlerFn, HttpInterceptorFn, HttpRequest } from '@angular/common/http';\r\nimport { inject
|
|
1
|
+
{"version":3,"file":"aril-keycloak.mjs","sources":["../../projects/aril/keycloak/src/auth.interceptor.ts","../../projects/aril/keycloak/aril-keycloak.ts"],"sourcesContent":["import { HttpHandlerFn, HttpInterceptorFn, HttpRequest } from '@angular/common/http';\r\nimport { inject } from '@angular/core';\r\n\r\nimport { KeycloakBearerInterceptor } from 'keycloak-angular';\r\n\r\nimport { bridge } from 'aril/boot/bridge';\r\nimport { Apps } from 'aril/boot/config/apps';\r\n\r\ntype HostApp = Apps.THOR | Apps.YEAP | Apps.LENA;\r\n\r\nconst HOST_APP_HEADERS: Record<HostApp, Readonly<Record<string, string>>> = {\r\n\t[Apps.THOR]: { 'x-yeap-application': 'thor', 'x-application': 'thor', 'x-module': 'thor-fe' },\r\n\t[Apps.LENA]: { 'x-yeap-application': 'lena', 'x-application': 'lena', 'x-module': 'lena-fe' },\r\n\t[Apps.YEAP]: { 'x-yeap-application': 'yeap', 'x-application': 'yeap', 'x-module': 'yeap-fe' }\r\n};\r\n\r\nconst isHostApp = (value: string | null | undefined): value is HostApp =>\r\n\tvalue === Apps.THOR || value === Apps.LENA || value === Apps.YEAP;\r\n\r\nconst getCsrfToken = (): string | undefined =>\r\n\tdocument.cookie\r\n\t\t.split('; ')\r\n\t\t.find((row) => row.startsWith('csrf_token='))\r\n\t\t?.split('=')[1];\r\n\r\nexport const authInterceptor: HttpInterceptorFn = (req: HttpRequest<unknown>, next: HttpHandlerFn) => {\r\n\tconst activeHost = bridge.activeHost();\r\n\tconst headers = isHostApp(activeHost) ? HOST_APP_HEADERS[activeHost] : {};\r\n\tconst csrfToken = getCsrfToken();\r\n\r\n\tconst authReq = req.clone({\r\n\t\tsetHeaders: {\r\n\t\t\tcsrf_token: csrfToken ?? '',\r\n\t\t\t...headers\r\n\t\t}\r\n\t});\r\n\r\n\treturn next(authReq);\r\n};\r\n\r\nexport const keycloakAuthInterceptor: HttpInterceptorFn = (req: HttpRequest<unknown>, next: HttpHandlerFn) =>\r\n\tinject(KeycloakBearerInterceptor).intercept(req, { handle: next });\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAUA,MAAM,gBAAgB,GAAsD;AAC3E,IAAA,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,oBAAoB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE;AAC7F,IAAA,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,oBAAoB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE;AAC7F,IAAA,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,oBAAoB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE;CAC7F,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,KAAgC,KAClD,KAAK,KAAK,IAAI,CAAC,IAAI,IAAI,KAAK,KAAK,IAAI,CAAC,IAAI,IAAI,KAAK,KAAK,IAAI,CAAC,IAAI,CAAC;AAEnE,MAAM,YAAY,GAAG,MACpB,QAAQ,CAAC,MAAM;KACb,KAAK,CAAC,IAAI,CAAC;AACX,KAAA,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAC7C,MAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;MAEL,eAAe,GAAsB,CAAC,GAAyB,EAAE,IAAmB,KAAI;AACpG,IAAA,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;AACvC,IAAA,MAAM,OAAO,GAAG,SAAS,CAAC,UAAU,CAAC,GAAG,gBAAgB,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC;AAC1E,IAAA,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;AAEjC,IAAA,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC;AACzB,QAAA,UAAU,EAAE;YACX,UAAU,EAAE,SAAS,IAAI,EAAE;AAC3B,YAAA,GAAG,OAAO;AACV,SAAA;AACD,KAAA,CAAC,CAAC;AAEH,IAAA,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;AACtB,EAAE;AAEW,MAAA,uBAAuB,GAAsB,CAAC,GAAyB,EAAE,IAAmB,KACxG,MAAM,CAAC,yBAAyB,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;ACzClE;;AAEG;;;;"}
|
|
@@ -6,6 +6,8 @@ import { registerLocaleData } from '@angular/common';
|
|
|
6
6
|
import localeEn from '@angular/common/locales/en';
|
|
7
7
|
import localeTr from '@angular/common/locales/tr';
|
|
8
8
|
|
|
9
|
+
// Covers host bootstrap + Keycloak login redirect + token exchange + slow network buffer.
|
|
10
|
+
const HOST_KEYCLOAK_INIT_TIMEOUT_MS = 30000;
|
|
9
11
|
const provideHostKeycloak = (app) => {
|
|
10
12
|
return [
|
|
11
13
|
KeycloakService,
|
|
@@ -18,27 +20,29 @@ const provideHostKeycloak = (app) => {
|
|
|
18
20
|
];
|
|
19
21
|
};
|
|
20
22
|
const hostKeycloakInitializer = (keycloakService, app) => () => new Promise((resolve, reject) => {
|
|
23
|
+
let timeoutHandle;
|
|
21
24
|
const eventListener = (event) => {
|
|
25
|
+
removeEventListener(`${app}:init-keycloak`, eventListener);
|
|
26
|
+
clearTimeout(timeoutHandle);
|
|
22
27
|
try {
|
|
23
28
|
Object.assign(keycloakService, event.detail);
|
|
24
|
-
removeEventListener(`${app}:init-keycloak`, eventListener);
|
|
25
29
|
resolve();
|
|
26
30
|
}
|
|
27
31
|
catch (error) {
|
|
28
32
|
reject(error);
|
|
29
33
|
}
|
|
30
34
|
};
|
|
35
|
+
timeoutHandle = setTimeout(() => {
|
|
36
|
+
removeEventListener(`${app}:init-keycloak`, eventListener);
|
|
37
|
+
reject(new Error(`Host keycloak init for "${app}" did not complete within ${HOST_KEYCLOAK_INIT_TIMEOUT_MS}ms — host may not be mounted or the module-ready bridge is broken`));
|
|
38
|
+
}, HOST_KEYCLOAK_INIT_TIMEOUT_MS);
|
|
31
39
|
addEventListener(`${app}:init-keycloak`, eventListener);
|
|
32
40
|
dispatchEvent(new CustomEvent('module-ready', { detail: app }));
|
|
33
41
|
});
|
|
34
42
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
providers.push(provideHostKeycloak(app));
|
|
39
|
-
}
|
|
40
|
-
return providers;
|
|
41
|
-
};
|
|
43
|
+
// Host altında çağrıldığında shared keycloak ekler; MFE standalone'da
|
|
44
|
+
// (bridge.hostNgZone null) bu path zaten boot olmuyor, güvenli fallback.
|
|
45
|
+
const provideHost = (app) => bridge.hostNgZone ? [provideHostKeycloak(app)] : [];
|
|
42
46
|
|
|
43
47
|
const provideHostRouter = () => {
|
|
44
48
|
const providers = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-provider.mjs","sources":["../../projects/aril/provider/src/provideHostKeycloak.ts","../../projects/aril/provider/src/prodiveHost.ts","../../projects/aril/provider/src/prodiveHostRouter.ts","../../projects/aril/provider/src/provideLocaleId.ts","../../projects/aril/provider/aril-provider.ts"],"sourcesContent":["import { APP_INITIALIZER, Provider } from '@angular/core';\r\n\r\nimport { KeycloakService } from 'keycloak-angular';\r\n\r\nimport { Apps } from 'aril/boot/config/apps';\r\n\r\nexport const provideHostKeycloak = (app: Apps): Provider => {\r\n\treturn [\r\n\t\tKeycloakService,\r\n\t\t{\r\n\t\t\tprovide: APP_INITIALIZER,\r\n\t\t\tuseFactory: (keycloak: KeycloakService) => hostKeycloakInitializer(keycloak, app),\r\n\t\t\tdeps: [KeycloakService],\r\n\t\t\tmulti: true\r\n\t\t}\r\n\t];\r\n};\r\n\r\nexport const hostKeycloakInitializer = (keycloakService: KeycloakService, app: Apps) => () =>\r\n\tnew Promise<void>((resolve, reject) => {\r\n\t\tconst eventListener = (event: Event) => {\r\n\t\t\ttry {\r\n\t\t\t\tObject.assign(keycloakService, (event as CustomEvent).detail as KeycloakService);\r\n\t\t\t\tremoveEventListener(`${app}:init-keycloak`, eventListener);\r\n\t\t\t\
|
|
1
|
+
{"version":3,"file":"aril-provider.mjs","sources":["../../projects/aril/provider/src/provideHostKeycloak.ts","../../projects/aril/provider/src/prodiveHost.ts","../../projects/aril/provider/src/prodiveHostRouter.ts","../../projects/aril/provider/src/provideLocaleId.ts","../../projects/aril/provider/aril-provider.ts"],"sourcesContent":["import { APP_INITIALIZER, Provider } from '@angular/core';\r\n\r\nimport { KeycloakService } from 'keycloak-angular';\r\n\r\nimport { Apps } from 'aril/boot/config/apps';\r\n\r\n// Covers host bootstrap + Keycloak login redirect + token exchange + slow network buffer.\r\nconst HOST_KEYCLOAK_INIT_TIMEOUT_MS = 30_000;\r\n\r\nexport const provideHostKeycloak = (app: Apps): Provider => {\r\n\treturn [\r\n\t\tKeycloakService,\r\n\t\t{\r\n\t\t\tprovide: APP_INITIALIZER,\r\n\t\t\tuseFactory: (keycloak: KeycloakService) => hostKeycloakInitializer(keycloak, app),\r\n\t\t\tdeps: [KeycloakService],\r\n\t\t\tmulti: true\r\n\t\t}\r\n\t];\r\n};\r\n\r\nexport const hostKeycloakInitializer = (keycloakService: KeycloakService, app: Apps) => () =>\r\n\tnew Promise<void>((resolve, reject) => {\r\n\t\tlet timeoutHandle: ReturnType<typeof setTimeout>;\r\n\r\n\t\tconst eventListener = (event: Event) => {\r\n\t\t\tremoveEventListener(`${app}:init-keycloak`, eventListener);\r\n\t\t\tclearTimeout(timeoutHandle);\r\n\t\t\ttry {\r\n\t\t\t\tObject.assign(keycloakService, (event as CustomEvent).detail as KeycloakService);\r\n\t\t\t\tresolve();\r\n\t\t\t} catch (error) {\r\n\t\t\t\treject(error);\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\ttimeoutHandle = setTimeout(() => {\r\n\t\t\tremoveEventListener(`${app}:init-keycloak`, eventListener);\r\n\t\t\treject(\r\n\t\t\t\tnew Error(\r\n\t\t\t\t\t`Host keycloak init for \"${app}\" did not complete within ${HOST_KEYCLOAK_INIT_TIMEOUT_MS}ms — host may not be mounted or the module-ready bridge is broken`\r\n\t\t\t\t)\r\n\t\t\t);\r\n\t\t}, HOST_KEYCLOAK_INIT_TIMEOUT_MS);\r\n\r\n\t\taddEventListener(`${app}:init-keycloak`, eventListener);\r\n\r\n\t\tdispatchEvent(new CustomEvent('module-ready', { detail: app }));\r\n\t});\r\n","import { EnvironmentProviders, Provider } from '@angular/core';\r\n\r\nimport { bridge } from 'aril/boot/bridge';\r\nimport { Apps } from 'aril/boot/config/apps';\r\n\r\nimport { provideHostKeycloak } from './provideHostKeycloak';\r\n\r\n// Host altında çağrıldığında shared keycloak ekler; MFE standalone'da\r\n// (bridge.hostNgZone null) bu path zaten boot olmuyor, güvenli fallback.\r\nexport const provideHost = (app: Apps): Array<Provider | EnvironmentProviders> =>\r\n\tbridge.hostNgZone ? [provideHostKeycloak(app)] : [];\r\n","import { EnvironmentProviders, Provider } from '@angular/core';\r\nimport {\r\n\tRouter,\r\n\tprovideRouter,\r\n\twithComponentInputBinding,\r\n\twithHashLocation,\r\n\twithViewTransitions\r\n} from '@angular/router';\r\n\r\nimport { bridge } from 'aril/boot/bridge';\r\n\r\nexport const provideHostRouter = (): Provider => {\r\n\tconst providers: Array<Provider | EnvironmentProviders> = [];\r\n\r\n\tif (bridge.hostRouter) {\r\n\t\treturn [\r\n\t\t\tprovideRouter([], withComponentInputBinding(), withHashLocation(), withViewTransitions()),\r\n\t\t\t{ provide: Router, useValue: bridge.hostRouter }\r\n\t\t];\r\n\t}\r\n\r\n\treturn providers;\r\n};\r\n","import { registerLocaleData } from '@angular/common';\r\nimport localeEn from '@angular/common/locales/en';\r\nimport localeTr from '@angular/common/locales/tr';\r\nimport { LOCALE_ID, Provider } from '@angular/core';\r\n\r\nregisterLocaleData(localeTr, 'tr');\r\nregisterLocaleData(localeEn, 'en');\r\n\r\nexport const provideLocaleId = (): Provider => ({\r\n\tprovide: LOCALE_ID,\r\n\tuseFactory: () => {\r\n\t\tconst userLang = localStorage.getItem('lang');\r\n\t\tif (userLang) return userLang;\r\n\r\n\t\tconst browserLang = navigator.language?.split('-')[0];\r\n\t\tif (browserLang && ['tr', 'en'].includes(browserLang)) {\r\n\t\t\treturn browserLang;\r\n\t\t}\r\n\r\n\t\treturn 'tr';\r\n\t}\r\n}); ","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAMA;AACA,MAAM,6BAA6B,GAAG,KAAM,CAAC;AAEhC,MAAA,mBAAmB,GAAG,CAAC,GAAS,KAAc;IAC1D,OAAO;QACN,eAAe;AACf,QAAA;AACC,YAAA,OAAO,EAAE,eAAe;YACxB,UAAU,EAAE,CAAC,QAAyB,KAAK,uBAAuB,CAAC,QAAQ,EAAE,GAAG,CAAC;YACjF,IAAI,EAAE,CAAC,eAAe,CAAC;AACvB,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;KACD,CAAC;AACH,EAAE;MAEW,uBAAuB,GAAG,CAAC,eAAgC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AyB,EAAE,EAAE,gBAAgB,EAAE,EAAE,mBAAmB,EAAE,CAAC;YACzF,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,UAAU,EAAE;SAChD,CAAC;KACF;AAED,IAAA,OAAO,SAAS,CAAC;AAClB;;ACjBA,kBAAkB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AACnC,kBAAkB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AAEtB,MAAA,eAAe,GAAG,OAAiB;AAC/C,IAAA,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,MAAK;QAChB,MAAM,QAAQ,GAAG,YAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAC9C,QAAA,IAAI,QAAQ;AAAE,YAAA,OAAO,QAAQ,CAAC;AAE9B,QAAA,MAAM,WAAW,GAAG,SAAS,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACtD,QAAA,IAAI,WAAW,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;AACtD,YAAA,OAAO,WAAW,CAAC;SACnB;AAED,QAAA,OAAO,IAAI,CAAC;KACZ;AACD,CAAA;;ACrBD;;AAEG;;;;"}
|
|
@@ -1121,7 +1121,7 @@ class SiteMapSidebarComponent {
|
|
|
1121
1121
|
return node.key || `${index}`;
|
|
1122
1122
|
}
|
|
1123
1123
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SiteMapSidebarComponent, deps: [{ token: LayoutService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1124
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: SiteMapSidebarComponent, isStandalone: true, selector: "app-site-map-sidebar", ngImport: i0, template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\r\n\tstyleClass=\"layout-sitemap-sidebar w-full sm:w-30rem\"\r\n\t*transloco=\"let t; read: 'siteMap'\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"flex align-items-center justify-content-between gap-2 w-full\">\r\n\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t<i class=\"pi pi-sitemap text-primary text-xl\"></i>\r\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('siteMap') }}</span>\r\n\t\t\t\t<span class=\"total-pages\">{{ totalPages() }} {{ t('pages') }}</span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<div class=\"sitemap-content\">\r\n\t\t<div class=\"search-section grid p-fluid m-0\">\r\n\t\t\t<aril-text\r\n\t\t\t\t[placeholder]=\"t('searchPages')\"\r\n\t\t\t\t[(ngModel)]=\"searchTerm\"\r\n\t\t\t\t(ngModelChange)=\"onSearchChange()\"\r\n\t\t\t\tclass=\"col-10 m-0\">\r\n\t\t\t</aril-text>\r\n\t\t\t@if (filteredNodes().length > 0) {\r\n\t\t\t<div class=\"col-2 flex align-items-center m-0 p-0\">\r\n\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesDown\"\r\n\t\t\t\t\t\tsize=\"xl\"\r\n\t\t\t\t\t\tstyle=\"color: var(--primary-color)\"\r\n\t\t\t\t\t\tclass=\"col-1 cursor-pointer\"\r\n\t\t\t\t\t\t[pTooltip]=\"t('expandAll')\"\r\n\t\t\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t\t\t(click)=\"expandAll()\">\r\n\t\t\t\t\t</fa-icon>\r\n\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesUp\"\r\n\t\t\t\t\t\tsize=\"xl\"\r\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\r\n\t\t\t\t\t\tclass=\"col-1 ml-3 cursor-pointer\"\r\n\t\t\t\t\t\t[pTooltip]=\"t('collapseAll')\"\r\n\t\t\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t\t\t(click)=\"collapseAll()\">\r\n\t\t\t\t\t</fa-icon>\r\n\t\t\t\t</div>\r\n\t\t\t}\r\n\t\t</div>\r\n\r\n\t\t<!-- Site Map Tree -->\r\n\t\t@if (filteredNodes().length > 0) {\r\n\t\t\t<div class=\"sitemap-tree\">\r\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\r\n\t\t\t\t\t<div class=\"tree-container\">\r\n\t\t\t\t\t\t@for (node of filteredNodes(); track trackByKey($index, node)) {\r\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</p-scrollPanel>\r\n\t\t\t</div>\r\n\t\t} @else {\r\n\t\t\t<div class=\"empty-state\">\r\n\t\t\t\t<div class=\"empty-content\">\r\n\t\t\t\t\t<i class=\"pi pi-sitemap empty-icon\"></i>\r\n\t\t\t\t\t<h3 class=\"empty-title\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noPages') }}\r\n\t\t\t\t\t</h3>\r\n\t\t\t\t\t<p class=\"empty-message\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : '' }}\r\n\t\t\t\t\t</p>\r\n\t\t\t\t\t@if (searchTerm()) {\r\n\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\r\n\t\t\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\t\t\tcolor=\"secondary\"\r\n\t\t\t\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\r\n\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\r\n\t\t<!-- Recursive Tree Node Template -->\r\n\t\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\r\n\t\t\t<div class=\"tree-node\" [style.margin-left.px]=\"level * 20\">\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass=\"node-item\"\r\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\r\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\r\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\r\n\t\t\t\t\t(click)=\"!node.routerLink ? toggleNode(node) : (visible = false)\">\r\n\t\t\t\t\t<div class=\"node-content\">\r\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\r\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node)\">\r\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t@if (node.icon) {\r\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t<span class=\"node-label\">{{ node.label | translateJson }}</span>\r\n\r\n\t\t\t\t\t\t@if (node.routerLink) {\r\n\t\t\t\t\t\t\t<i class=\"external-icon pi pi-external-link\"></i>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<!-- Recursive Children -->\r\n\t\t\t\t@if (node.children && node.expanded) {\r\n\t\t\t\t\t@for (child of node.children; track trackByKey($index, child)) {\r\n\t\t\t\t\t\t<ng-container\r\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\t\t</ng-template>\r\n\t</div>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-sitemap-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header .total-pages{background:#fff3;color:#ffffffe6;padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500}.sitemap-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.sitemap-tree{flex:1;overflow:hidden}.tree-container{padding:.5rem 0}.tree-node .node-item{display:flex;align-items:center;padding:.5rem 1rem;border-radius:6px;margin:.1rem .5rem;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.tree-node .node-item:hover{background:var(--surface-hover);border-color:var(--surface-border)}.tree-node .node-item.is-page:hover{background:var(--primary-50);border-color:var(--primary-200)}.tree-node .node-item.is-page:hover .external-icon{opacity:1}.tree-node .node-item.has-children{font-weight:500}.tree-node .node-content{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0}.tree-node .toggle-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:none;border-radius:4px;color:var(--text-color-secondary);cursor:pointer;transition:all .2s ease;flex-shrink:0}.tree-node .toggle-btn:hover{background:var(--surface-hover);color:var(--primary-color)}.tree-node .toggle-btn i{font-size:.7rem}.tree-node .node-icon{color:var(--primary-color);font-size:.9rem;flex-shrink:0}.tree-node .node-label{flex:1;font-size:.9rem;color:var(--text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-node .external-icon{color:var(--text-color-secondary);font-size:.7rem;opacity:.6;transition:opacity .2s ease;flex-shrink:0}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i8.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "pipe", type: TranslateJsonPipe, name: "translateJson" }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
|
|
1124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: SiteMapSidebarComponent, isStandalone: true, selector: "app-site-map-sidebar", ngImport: i0, template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-sitemap-sidebar w-full sm:w-30rem\"\n\t*transloco=\"let t; read: 'siteMap'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between gap-2 w-full\">\n\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t<i class=\"pi pi-sitemap text-primary text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('siteMap') }}</span>\n\t\t\t\t<span class=\"total-pages\">{{ totalPages() }} {{ t('pages') }}</span>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"sitemap-content\">\n\t\t<div class=\"search-section grid p-fluid m-0\">\n\t\t\t<aril-text\n\t\t\t\t[placeholder]=\"t('searchPages')\"\n\t\t\t\t[(ngModel)]=\"searchTerm\"\n\t\t\t\t(ngModelChange)=\"onSearchChange()\"\n\t\t\t\tclass=\"col-10 m-0\">\n\t\t\t</aril-text>\n\t\t\t@if (filteredNodes().length > 0) {\n\t\t\t<div class=\"col-2 flex align-items-center m-0 p-0\">\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesDown\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--primary-color)\"\n\t\t\t\t\t\tclass=\"col-1 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('expandAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"expandAll()\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesUp\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\n\t\t\t\t\t\tclass=\"col-1 ml-3 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('collapseAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"collapseAll()\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t</div>\n\t\t\t}\n\t\t</div>\n\n\t\t<!-- Site Map Tree -->\n\t\t@if (filteredNodes().length > 0) {\n\t\t\t<div class=\"sitemap-tree\">\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\n\t\t\t\t\t<div class=\"tree-container\">\n\t\t\t\t\t\t@for (node of filteredNodes(); track trackByKey($index, node)) {\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</p-scrollPanel>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-sitemap empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noPages') }}\n\t\t\t\t\t</h3>\n\t\t\t\t\t<p class=\"empty-message\">\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : '' }}\n\t\t\t\t\t</p>\n\t\t\t\t\t@if (searchTerm()) {\n\t\t\t\t\t\t<aril-button\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\n\t\t\t\t\t\t\ticon=\"TIMES\"\n\t\t\t\t\t\t\tcolor=\"secondary\"\n\t\t\t\t\t\t\t[outlined]=\"true\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\n\t\t\t\t\t\t</aril-button>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\n\t\t<!-- Recursive Tree Node Template -->\n\t\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\n\t\t\t<div class=\"tree-node\" [style.margin-left.px]=\"level * 20\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\t(click)=\"!node.routerLink ? toggleNode(node) : (visible = false)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ node.label | translateJson }}</span>\n\n\t\t\t\t\t\t@if (node.routerLink) {\n\t\t\t\t\t\t\t<i class=\"external-icon pi pi-external-link\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<!-- Recursive Children -->\n\t\t\t\t@if (node.children && node.expanded) {\n\t\t\t\t\t@for (child of node.children; track trackByKey($index, child)) {\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</div>\n\t\t</ng-template>\n\t</div>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-sitemap-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header .total-pages{background:#fff3;color:#ffffffe6;padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500}.sitemap-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.sitemap-tree{flex:1;overflow:hidden}.tree-container{padding:.5rem 0}.tree-node .node-item{display:flex;align-items:center;padding:.5rem 1rem;border-radius:6px;margin:.1rem .5rem;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.tree-node .node-item:hover{background:var(--surface-hover);border-color:var(--surface-border)}.tree-node .node-item.is-page:hover{background:var(--primary-50);border-color:var(--primary-200)}.tree-node .node-item.is-page:hover .external-icon{opacity:1}.tree-node .node-item.has-children{font-weight:500}.tree-node .node-content{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0}.tree-node .toggle-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:none;border-radius:4px;color:var(--text-color-secondary);cursor:pointer;transition:all .2s ease;flex-shrink:0}.tree-node .toggle-btn:hover{background:var(--surface-hover);color:var(--primary-color)}.tree-node .toggle-btn i{font-size:.7rem}.tree-node .node-icon{color:var(--primary-color);font-size:.9rem;flex-shrink:0}.tree-node .node-label{flex:1;font-size:.9rem;color:var(--text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-node .external-icon{color:var(--text-color-secondary);font-size:.7rem;opacity:.6;transition:opacity .2s ease;flex-shrink:0}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i8.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "pipe", type: TranslateJsonPipe, name: "translateJson" }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
|
|
1125
1125
|
}
|
|
1126
1126
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SiteMapSidebarComponent, decorators: [{
|
|
1127
1127
|
type: Component,
|
|
@@ -1137,7 +1137,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
1137
1137
|
TranslocoModule,
|
|
1138
1138
|
TranslateJsonPipe,
|
|
1139
1139
|
FontAwesomeModule
|
|
1140
|
-
], template: "<p-sidebar\
|
|
1140
|
+
], template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-sitemap-sidebar w-full sm:w-30rem\"\n\t*transloco=\"let t; read: 'siteMap'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between gap-2 w-full\">\n\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t<i class=\"pi pi-sitemap text-primary text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('siteMap') }}</span>\n\t\t\t\t<span class=\"total-pages\">{{ totalPages() }} {{ t('pages') }}</span>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"sitemap-content\">\n\t\t<div class=\"search-section grid p-fluid m-0\">\n\t\t\t<aril-text\n\t\t\t\t[placeholder]=\"t('searchPages')\"\n\t\t\t\t[(ngModel)]=\"searchTerm\"\n\t\t\t\t(ngModelChange)=\"onSearchChange()\"\n\t\t\t\tclass=\"col-10 m-0\">\n\t\t\t</aril-text>\n\t\t\t@if (filteredNodes().length > 0) {\n\t\t\t<div class=\"col-2 flex align-items-center m-0 p-0\">\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesDown\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--primary-color)\"\n\t\t\t\t\t\tclass=\"col-1 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('expandAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"expandAll()\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesUp\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\n\t\t\t\t\t\tclass=\"col-1 ml-3 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('collapseAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"collapseAll()\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t</div>\n\t\t\t}\n\t\t</div>\n\n\t\t<!-- Site Map Tree -->\n\t\t@if (filteredNodes().length > 0) {\n\t\t\t<div class=\"sitemap-tree\">\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\n\t\t\t\t\t<div class=\"tree-container\">\n\t\t\t\t\t\t@for (node of filteredNodes(); track trackByKey($index, node)) {\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</p-scrollPanel>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-sitemap empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noPages') }}\n\t\t\t\t\t</h3>\n\t\t\t\t\t<p class=\"empty-message\">\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : '' }}\n\t\t\t\t\t</p>\n\t\t\t\t\t@if (searchTerm()) {\n\t\t\t\t\t\t<aril-button\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\n\t\t\t\t\t\t\ticon=\"TIMES\"\n\t\t\t\t\t\t\tcolor=\"secondary\"\n\t\t\t\t\t\t\t[outlined]=\"true\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\n\t\t\t\t\t\t</aril-button>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\n\t\t<!-- Recursive Tree Node Template -->\n\t\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\n\t\t\t<div class=\"tree-node\" [style.margin-left.px]=\"level * 20\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\t(click)=\"!node.routerLink ? toggleNode(node) : (visible = false)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ node.label | translateJson }}</span>\n\n\t\t\t\t\t\t@if (node.routerLink) {\n\t\t\t\t\t\t\t<i class=\"external-icon pi pi-external-link\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<!-- Recursive Children -->\n\t\t\t\t@if (node.children && node.expanded) {\n\t\t\t\t\t@for (child of node.children; track trackByKey($index, child)) {\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</div>\n\t\t</ng-template>\n\t</div>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-sitemap-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header .total-pages{background:#fff3;color:#ffffffe6;padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500}.sitemap-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.sitemap-tree{flex:1;overflow:hidden}.tree-container{padding:.5rem 0}.tree-node .node-item{display:flex;align-items:center;padding:.5rem 1rem;border-radius:6px;margin:.1rem .5rem;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.tree-node .node-item:hover{background:var(--surface-hover);border-color:var(--surface-border)}.tree-node .node-item.is-page:hover{background:var(--primary-50);border-color:var(--primary-200)}.tree-node .node-item.is-page:hover .external-icon{opacity:1}.tree-node .node-item.has-children{font-weight:500}.tree-node .node-content{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0}.tree-node .toggle-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:none;border-radius:4px;color:var(--text-color-secondary);cursor:pointer;transition:all .2s ease;flex-shrink:0}.tree-node .toggle-btn:hover{background:var(--surface-hover);color:var(--primary-color)}.tree-node .toggle-btn i{font-size:.7rem}.tree-node .node-icon{color:var(--primary-color);font-size:.9rem;flex-shrink:0}.tree-node .node-label{flex:1;font-size:.9rem;color:var(--text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-node .external-icon{color:var(--text-color-secondary);font-size:.7rem;opacity:.6;transition:opacity .2s ease;flex-shrink:0}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"] }]
|
|
1141
1141
|
}], ctorParameters: () => [{ type: LayoutService }, { type: i5.TranslocoService }] });
|
|
1142
1142
|
|
|
1143
1143
|
// API Endpoints
|