cloud-ide-layout 1.0.193 → 1.0.195
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-DbL2BVqF.mjs → cloud-ide-layout-cloud-ide-layout-Bg2j0XfT.mjs} +11 -9
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-Bg2j0XfT.mjs.map +1 -0
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-Bxvu6fzX.mjs → cloud-ide-layout-dashboard-manager.component-DP7G62qH.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-Bxvu6fzX.mjs.map → cloud-ide-layout-dashboard-manager.component-DP7G62qH.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-0-NtPP4b.mjs → cloud-ide-layout-drawer-theme.component--ZkrhILT.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-0-NtPP4b.mjs.map → cloud-ide-layout-drawer-theme.component--ZkrhILT.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-DbfUgVoZ.mjs → cloud-ide-layout-home-wrapper.component-CY567Tsp.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-DbfUgVoZ.mjs.map → cloud-ide-layout-home-wrapper.component-CY567Tsp.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-DfrKyTi7.mjs → cloud-ide-layout-sidedrawer-notes.component-HMa0q-AC.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-DfrKyTi7.mjs.map → cloud-ide-layout-sidedrawer-notes.component-HMa0q-AC.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-DbL2BVqF.mjs.map +0 -1
|
@@ -4702,10 +4702,12 @@ class CustomRouteReuseStrategy {
|
|
|
4702
4702
|
// IMPORTANT: We ALWAYS detach routes to support tab-based navigation
|
|
4703
4703
|
// This ensures components are preserved when switching between tabs
|
|
4704
4704
|
shouldDetach(route) {
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4705
|
+
const hasComponent = !!route.component || !!route.routeConfig?.loadComponent;
|
|
4706
|
+
const hasChildren = route.firstChild !== null;
|
|
4707
|
+
const shouldDetach = hasComponent && !hasChildren;
|
|
4708
|
+
const pathKey = this.getPathKey(route);
|
|
4709
|
+
console.log(`🔍 [shouldDetach] Route: ${pathKey}, hasComponent: ${hasComponent}, hasChildren: ${hasChildren}, shouldDetach: ${shouldDetach}`);
|
|
4710
|
+
return shouldDetach;
|
|
4709
4711
|
}
|
|
4710
4712
|
// Stores the detached route.
|
|
4711
4713
|
// IMPORTANT: We ALWAYS store routes to support tab-based navigation
|
|
@@ -5404,8 +5406,8 @@ class CideLytSidedrawerWrapperComponent {
|
|
|
5404
5406
|
}
|
|
5405
5407
|
ngOnInit() {
|
|
5406
5408
|
// Initialize the component map (You'd likely populate this from a config or service)
|
|
5407
|
-
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-
|
|
5408
|
-
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component
|
|
5409
|
+
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-HMa0q-AC.mjs').then(m => m.CideLytSidedrawerNotesComponent);
|
|
5410
|
+
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component--ZkrhILT.mjs').then(m => m.CideLytDrawerThemeComponent);
|
|
5409
5411
|
}
|
|
5410
5412
|
async loadComponent(configFor) {
|
|
5411
5413
|
console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
|
|
@@ -7097,7 +7099,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7097
7099
|
},
|
|
7098
7100
|
{
|
|
7099
7101
|
path: "home",
|
|
7100
|
-
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-
|
|
7102
|
+
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-CY567Tsp.mjs').then(c => c.CideLytHomeWrapperComponent),
|
|
7101
7103
|
canActivate: [authGuard],
|
|
7102
7104
|
data: {
|
|
7103
7105
|
sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
|
|
@@ -7105,7 +7107,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7105
7107
|
},
|
|
7106
7108
|
{
|
|
7107
7109
|
path: "dashboard-manager",
|
|
7108
|
-
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-
|
|
7110
|
+
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-DP7G62qH.mjs').then(c => c.DashboardManagerComponent),
|
|
7109
7111
|
canActivate: [authGuard],
|
|
7110
7112
|
data: {
|
|
7111
7113
|
sypg_page_code: "cide_lyt_dashboard_manager"
|
|
@@ -8929,4 +8931,4 @@ var floatingEntitySelection_component = /*#__PURE__*/Object.freeze({
|
|
|
8929
8931
|
*/
|
|
8930
8932
|
|
|
8931
8933
|
export { AppStateHelperService as A, CideLytSharedWrapperComponent as C, ENVIRONMENT_CONFIG as E, NotificationSettingsService as N, RightsService as R, CideLytSidebarService as a, CideLytSidedrawerService as b, CideLytThemeService as c, CloudIdeLayoutService as d, CloudIdeLayoutComponent as e, CideLytSharedService as f, ComponentContextService as g, layoutControlPannelChildRoutes as h, CustomRouteReuseStrategy as i, AppStateService as j, CideLytUserStatusService as k, layoutRoutes as l, CacheManagerService as m, CideLytFileManagerService as n, CideLytFloatingEntityRightsSharingComponent as o, processThemeVariable as p, CideLytFloatingEntityRightsSharingService as q, CideLytFloatingEntitySelectionComponent as r, setCSSVariable as s, themeFactory as t, CideLytFloatingEntitySelectionService as u };
|
|
8932
|
-
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-
|
|
8934
|
+
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-Bg2j0XfT.mjs.map
|