cloud-ide-layout 1.0.200 → 1.0.201

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-CORQ4qRo.mjs → cloud-ide-layout-cloud-ide-layout-DHW_nlcO.mjs} +14 -6
  2. package/fesm2022/cloud-ide-layout-cloud-ide-layout-DHW_nlcO.mjs.map +1 -0
  3. package/fesm2022/{cloud-ide-layout-dashboard-manager.component-BsvKrr3U.mjs → cloud-ide-layout-dashboard-manager.component-LiWvRKm-.mjs} +2 -2
  4. package/fesm2022/{cloud-ide-layout-dashboard-manager.component-BsvKrr3U.mjs.map → cloud-ide-layout-dashboard-manager.component-LiWvRKm-.mjs.map} +1 -1
  5. package/fesm2022/{cloud-ide-layout-drawer-theme.component-CEZFC5lr.mjs → cloud-ide-layout-drawer-theme.component-Bbdpy9Aq.mjs} +2 -2
  6. package/fesm2022/{cloud-ide-layout-drawer-theme.component-CEZFC5lr.mjs.map → cloud-ide-layout-drawer-theme.component-Bbdpy9Aq.mjs.map} +1 -1
  7. package/fesm2022/{cloud-ide-layout-home-wrapper.component-DAy0cN4o.mjs → cloud-ide-layout-home-wrapper.component-DD0AJBQY.mjs} +2 -2
  8. package/fesm2022/{cloud-ide-layout-home-wrapper.component-DAy0cN4o.mjs.map → cloud-ide-layout-home-wrapper.component-DD0AJBQY.mjs.map} +1 -1
  9. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-BnZzY9LX.mjs → cloud-ide-layout-sidedrawer-notes.component-C0PZLwXJ.mjs} +2 -2
  10. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-BnZzY9LX.mjs.map → cloud-ide-layout-sidedrawer-notes.component-C0PZLwXJ.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-CORQ4qRo.mjs.map +0 -1
@@ -959,6 +959,13 @@ class CideLytSharedService {
959
959
  this.appStateService.registerEntityChangeHandler((entity) => {
960
960
  console.log('🔄 SHARED SERVICE: Entity changed, clearing page data cache');
961
961
  this.clearAllCache();
962
+ // Also clear all stored routes/components to remove them from DOM/memory
963
+ // Cast to any to avoid circular dependency with CustomRouteReuseStrategy
964
+ const strategy = this.router.routeReuseStrategy;
965
+ if (strategy && typeof strategy.clearAllStoredRoutes === 'function') {
966
+ console.log('🧹 SHARED SERVICE: Clearing all stored routes via Strategy');
967
+ strategy.clearAllStoredRoutes();
968
+ }
962
969
  });
963
970
  }
964
971
  /**
@@ -4888,6 +4895,8 @@ class CustomRouteReuseStrategy {
4888
4895
  });
4889
4896
  }
4890
4897
  console.log(`✅ [RouteReuseStrategy] All stored routes cleared. Components should be removed from DOM.`);
4898
+ // Also clear the destruction set to reset state completely
4899
+ this.routesToDestroy.clear();
4891
4900
  }
4892
4901
  // Gets the count of stored routes (useful for debugging)
4893
4902
  getStoredRoutesCount() {
@@ -5476,8 +5485,8 @@ class CideLytSidedrawerWrapperComponent {
5476
5485
  }
5477
5486
  ngOnInit() {
5478
5487
  // Initialize the component map (You'd likely populate this from a config or service)
5479
- this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-BnZzY9LX.mjs').then(m => m.CideLytSidedrawerNotesComponent);
5480
- this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-CEZFC5lr.mjs').then(m => m.CideLytDrawerThemeComponent);
5488
+ this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-C0PZLwXJ.mjs').then(m => m.CideLytSidedrawerNotesComponent);
5489
+ this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-Bbdpy9Aq.mjs').then(m => m.CideLytDrawerThemeComponent);
5481
5490
  }
5482
5491
  async loadComponent(configFor) {
5483
5492
  console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
@@ -6966,7 +6975,6 @@ class RightsService {
6966
6975
  */
6967
6976
  initializeRights(pageCode, forceRefresh = false, fetchRightsOnly = 'auto') {
6968
6977
  this.currentPageCode.set(pageCode);
6969
- debugger;
6970
6978
  if (forceRefresh) {
6971
6979
  // Invalidate cache to force fresh data from API
6972
6980
  this.sharedService.invalidateCache(pageCode);
@@ -7170,7 +7178,7 @@ const layoutControlPannelChildRoutes = [{
7170
7178
  },
7171
7179
  {
7172
7180
  path: "home",
7173
- loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-DAy0cN4o.mjs').then(c => c.CideLytHomeWrapperComponent),
7181
+ loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-DD0AJBQY.mjs').then(c => c.CideLytHomeWrapperComponent),
7174
7182
  canActivate: [authGuard],
7175
7183
  data: {
7176
7184
  sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
@@ -7178,7 +7186,7 @@ const layoutControlPannelChildRoutes = [{
7178
7186
  },
7179
7187
  {
7180
7188
  path: "dashboard-manager",
7181
- loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-BsvKrr3U.mjs').then(c => c.DashboardManagerComponent),
7189
+ loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-LiWvRKm-.mjs').then(c => c.DashboardManagerComponent),
7182
7190
  canActivate: [authGuard],
7183
7191
  data: {
7184
7192
  sypg_page_code: "cide_lyt_dashboard_manager"
@@ -9002,4 +9010,4 @@ var floatingEntitySelection_component = /*#__PURE__*/Object.freeze({
9002
9010
  */
9003
9011
 
9004
9012
  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 };
9005
- //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-CORQ4qRo.mjs.map
9013
+ //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-DHW_nlcO.mjs.map