cloud-ide-layout 1.0.16 → 1.0.17
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/fesm2022/{cloud-ide-layout-cloud-ide-layout-BTk05Q0R.mjs → cloud-ide-layout-cloud-ide-layout-B_8a5pSc.mjs} +7 -14
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-B_8a5pSc.mjs.map +1 -0
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-Djcie0s4.mjs → cloud-ide-layout-drawer-theme.component-C_brpWUe.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-Djcie0s4.mjs.map → cloud-ide-layout-drawer-theme.component-C_brpWUe.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-BRXwSlxW.mjs → cloud-ide-layout-home-wrapper.component-BnuVOFci.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-BRXwSlxW.mjs.map → cloud-ide-layout-home-wrapper.component-BnuVOFci.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-CR5Lu8Ql.mjs → cloud-ide-layout-sidedrawer-notes.component-CaepM61i.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-CR5Lu8Ql.mjs.map → cloud-ide-layout-sidedrawer-notes.component-CaepM61i.mjs.map} +1 -1
- package/fesm2022/cloud-ide-layout.mjs +1 -1
- package/package.json +1 -1
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-BTk05Q0R.mjs.map +0 -1
|
@@ -12,6 +12,7 @@ import * as i1 from '@angular/common';
|
|
|
12
12
|
import { CommonModule, NgClass, NgFor, NgIf, isPlatformBrowser } from '@angular/common';
|
|
13
13
|
import { trigger, state, transition, style, animate } from '@angular/animations';
|
|
14
14
|
import { merge } from 'lodash';
|
|
15
|
+
import { authGuard } from 'cloud-ide-auth';
|
|
15
16
|
|
|
16
17
|
class CloudIdeLayoutService {
|
|
17
18
|
constructor() { }
|
|
@@ -2493,8 +2494,8 @@ class CideLytSidedrawerWrapperComponent {
|
|
|
2493
2494
|
}
|
|
2494
2495
|
ngOnInit() {
|
|
2495
2496
|
// Initialize the component map (You'd likely populate this from a config or service)
|
|
2496
|
-
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-
|
|
2497
|
-
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-
|
|
2497
|
+
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-CaepM61i.mjs').then(m => m.CideLytSidedrawerNotesComponent);
|
|
2498
|
+
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-C_brpWUe.mjs').then(m => m.CideLytDrawerThemeComponent);
|
|
2498
2499
|
}
|
|
2499
2500
|
async loadComponent(configFor) {
|
|
2500
2501
|
console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
|
|
@@ -2857,7 +2858,7 @@ var cloudIdeLayout_component = /*#__PURE__*/Object.freeze({
|
|
|
2857
2858
|
const layoutRoutes = {
|
|
2858
2859
|
path: "control-panel",
|
|
2859
2860
|
loadComponent: () => Promise.resolve().then(function () { return cloudIdeLayout_component; }).then(c => c.CloudIdeLayoutComponent),
|
|
2860
|
-
|
|
2861
|
+
canActivate: [authGuard]
|
|
2861
2862
|
};
|
|
2862
2863
|
const layoutControlPannelChildRoutes = [{
|
|
2863
2864
|
path: "",
|
|
@@ -2866,21 +2867,13 @@ const layoutControlPannelChildRoutes = [{
|
|
|
2866
2867
|
},
|
|
2867
2868
|
{
|
|
2868
2869
|
path: "home",
|
|
2869
|
-
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-
|
|
2870
|
+
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-BnuVOFci.mjs').then(c => c.CideLytHomeWrapperComponent),
|
|
2871
|
+
canActivate: [authGuard],
|
|
2870
2872
|
data: {
|
|
2871
2873
|
reuseTab: true, // For CustomRouteReuseStrategy
|
|
2872
2874
|
sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
|
|
2873
2875
|
}
|
|
2874
2876
|
}];
|
|
2875
|
-
// {
|
|
2876
|
-
// path: "admin-home",
|
|
2877
|
-
// loadComponent: () => import('../../../cloud-ide-admin/src/lib/admin-module/home/home-wrapper/cide-adm-home-wrapper.component').then(c => c.CideAdmHomeWrapperComponent),
|
|
2878
|
-
// data: {
|
|
2879
|
-
// reuseTab: true, // For CustomRouteReuseStrategy
|
|
2880
|
-
// sypg_page_code: "cide_adm_home" // Example: Ensure this page code is configured in your backend
|
|
2881
|
-
// }
|
|
2882
|
-
// }];
|
|
2883
|
-
// ]
|
|
2884
2877
|
|
|
2885
2878
|
// Define an InjectionToken for the environment configuration
|
|
2886
2879
|
// This is needed to inject environment variables into services provided in 'root'
|
|
@@ -3140,4 +3133,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
3140
3133
|
*/
|
|
3141
3134
|
|
|
3142
3135
|
export { AppStateHelperService as A, CideLytSharedWrapperComponent as C, ENVIRONMENT_CONFIG as E, CideLytSidebarService as a, CideLytRequestService as b, CideLytSidedrawerService as c, CideLytThemeService as d, CloudIdeLayoutService as e, CloudIdeLayoutComponent as f, CideLytSharedService as g, layoutControlPannelChildRoutes as h, CustomRouteReuseStrategy as i, AppStateService as j, CideLytUserStatusService as k, layoutRoutes as l, CacheManagerService as m, processThemeVariable as p, setCSSVariable as s, themeFactory as t };
|
|
3143
|
-
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-
|
|
3136
|
+
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-B_8a5pSc.mjs.map
|