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.
Files changed (13) hide show
  1. package/fesm2022/{cloud-ide-layout-cloud-ide-layout-DbL2BVqF.mjs → cloud-ide-layout-cloud-ide-layout-Bg2j0XfT.mjs} +11 -9
  2. package/fesm2022/cloud-ide-layout-cloud-ide-layout-Bg2j0XfT.mjs.map +1 -0
  3. package/fesm2022/{cloud-ide-layout-dashboard-manager.component-Bxvu6fzX.mjs → cloud-ide-layout-dashboard-manager.component-DP7G62qH.mjs} +2 -2
  4. package/fesm2022/{cloud-ide-layout-dashboard-manager.component-Bxvu6fzX.mjs.map → cloud-ide-layout-dashboard-manager.component-DP7G62qH.mjs.map} +1 -1
  5. package/fesm2022/{cloud-ide-layout-drawer-theme.component-0-NtPP4b.mjs → cloud-ide-layout-drawer-theme.component--ZkrhILT.mjs} +2 -2
  6. package/fesm2022/{cloud-ide-layout-drawer-theme.component-0-NtPP4b.mjs.map → cloud-ide-layout-drawer-theme.component--ZkrhILT.mjs.map} +1 -1
  7. package/fesm2022/{cloud-ide-layout-home-wrapper.component-DbfUgVoZ.mjs → cloud-ide-layout-home-wrapper.component-CY567Tsp.mjs} +2 -2
  8. package/fesm2022/{cloud-ide-layout-home-wrapper.component-DbfUgVoZ.mjs.map → cloud-ide-layout-home-wrapper.component-CY567Tsp.mjs.map} +1 -1
  9. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-DfrKyTi7.mjs → cloud-ide-layout-sidedrawer-notes.component-HMa0q-AC.mjs} +2 -2
  10. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-DfrKyTi7.mjs.map → cloud-ide-layout-sidedrawer-notes.component-HMa0q-AC.mjs.map} +1 -1
  11. package/fesm2022/cloud-ide-layout.mjs +1 -1
  12. package/package.json +1 -1
  13. 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
- // Always detach routes to preserve component state for tab navigation
4706
- // Previously this only detached routes with reuseTab: true flag,
4707
- // but dynamic tab routes don't have this flag set
4708
- return true;
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-DfrKyTi7.mjs').then(m => m.CideLytSidedrawerNotesComponent);
5408
- this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-0-NtPP4b.mjs').then(m => m.CideLytDrawerThemeComponent);
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-DbfUgVoZ.mjs').then(c => c.CideLytHomeWrapperComponent),
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-Bxvu6fzX.mjs').then(c => c.DashboardManagerComponent),
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-DbL2BVqF.mjs.map
8934
+ //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-Bg2j0XfT.mjs.map