cloud-ide-layout 1.0.101 → 1.0.102

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-DRRm5GZh.mjs → cloud-ide-layout-cloud-ide-layout-zxDOzv0V.mjs} +14 -12
  2. package/fesm2022/cloud-ide-layout-cloud-ide-layout-zxDOzv0V.mjs.map +1 -0
  3. package/fesm2022/{cloud-ide-layout-drawer-theme.component-Bi1TTe5I.mjs → cloud-ide-layout-drawer-theme.component-p3f5b-1-.mjs} +2 -2
  4. package/fesm2022/{cloud-ide-layout-drawer-theme.component-Bi1TTe5I.mjs.map → cloud-ide-layout-drawer-theme.component-p3f5b-1-.mjs.map} +1 -1
  5. package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-BBuHkMIR.mjs → cloud-ide-layout-floating-entity-selection.component-Dkey1f9h.mjs} +2 -2
  6. package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-BBuHkMIR.mjs.map → cloud-ide-layout-floating-entity-selection.component-Dkey1f9h.mjs.map} +1 -1
  7. package/fesm2022/{cloud-ide-layout-home-wrapper.component-C2pZdXgX.mjs → cloud-ide-layout-home-wrapper.component-HyS9eAWw.mjs} +2 -2
  8. package/fesm2022/{cloud-ide-layout-home-wrapper.component-C2pZdXgX.mjs.map → cloud-ide-layout-home-wrapper.component-HyS9eAWw.mjs.map} +1 -1
  9. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-BTgVotrr.mjs → cloud-ide-layout-sidedrawer-notes.component-B9f218TW.mjs} +2 -2
  10. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-BTgVotrr.mjs.map → cloud-ide-layout-sidedrawer-notes.component-B9f218TW.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-DRRm5GZh.mjs.map +0 -1
@@ -1218,16 +1218,18 @@ class CideLytSharedService {
1218
1218
  // Check if we should set the matched module as active
1219
1219
  if (matchedModule) {
1220
1220
  const currentActiveModule = this.appState.getActiveModule();
1221
- // Be more conservative about overriding user selections
1222
- // Only set the module if no module is currently active
1223
- const shouldSetModule = !currentActiveModule;
1224
- if (shouldSetModule) {
1225
- console.log('🎯 SIDEBAR SYNC: No active module, setting:', matchedModule.syme_title, matchedModule._id);
1221
+ // Always update the active module if the route suggests a different module
1222
+ // The route is the source of truth when navigating
1223
+ const isDifferentModule = !currentActiveModule ||
1224
+ currentActiveModule._id !== matchedModule._id ||
1225
+ currentActiveModule.syme_path !== matchedModule.syme_path;
1226
+ if (isDifferentModule) {
1227
+ console.log('🎯 SIDEBAR SYNC: Updating active module to match route:', matchedModule.syme_title, matchedModule._id);
1228
+ console.log('🔍 SIDEBAR SYNC: Previous active module:', currentActiveModule?.syme_title || 'none');
1226
1229
  this.appState.setActiveModule(matchedModule);
1227
1230
  }
1228
1231
  else {
1229
- console.log('✅ SIDEBAR SYNC: Module already active, respecting user selection:', currentActiveModule?.syme_title);
1230
- console.log('🔍 SIDEBAR SYNC: Route suggests:', matchedModule.syme_title, '- not overriding');
1232
+ console.log('✅ SIDEBAR SYNC: Active module already matches route:', currentActiveModule?.syme_title);
1231
1233
  }
1232
1234
  }
1233
1235
  else {
@@ -1266,7 +1268,7 @@ class CideLytFloatingEntitySelectionService {
1266
1268
  }
1267
1269
  try {
1268
1270
  // Use relative import to avoid circular dependency
1269
- const module = await import('./cloud-ide-layout-floating-entity-selection.component-BBuHkMIR.mjs');
1271
+ const module = await import('./cloud-ide-layout-floating-entity-selection.component-Dkey1f9h.mjs');
1270
1272
  if (module.CideLytFloatingEntitySelectionComponent) {
1271
1273
  this.containerService.registerComponent('entity-selection-header', module.CideLytFloatingEntitySelectionComponent);
1272
1274
  console.log('✅ Entity selection component registered successfully');
@@ -3958,8 +3960,8 @@ class CideLytSidedrawerWrapperComponent {
3958
3960
  }
3959
3961
  ngOnInit() {
3960
3962
  // Initialize the component map (You'd likely populate this from a config or service)
3961
- this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-BTgVotrr.mjs').then(m => m.CideLytSidedrawerNotesComponent);
3962
- this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-Bi1TTe5I.mjs').then(m => m.CideLytDrawerThemeComponent);
3963
+ this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-B9f218TW.mjs').then(m => m.CideLytSidedrawerNotesComponent);
3964
+ this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-p3f5b-1-.mjs').then(m => m.CideLytDrawerThemeComponent);
3963
3965
  }
3964
3966
  async loadComponent(configFor) {
3965
3967
  console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
@@ -4482,7 +4484,7 @@ const layoutControlPannelChildRoutes = [{
4482
4484
  },
4483
4485
  {
4484
4486
  path: "home",
4485
- loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-C2pZdXgX.mjs').then(c => c.CideLytHomeWrapperComponent),
4487
+ loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-HyS9eAWw.mjs').then(c => c.CideLytHomeWrapperComponent),
4486
4488
  canActivate: [authGuard],
4487
4489
  data: {
4488
4490
  reuseTab: true, // For CustomRouteReuseStrategy
@@ -6050,4 +6052,4 @@ var floatingEntityRightsSharing_component = /*#__PURE__*/Object.freeze({
6050
6052
  */
6051
6053
 
6052
6054
  export { AppStateHelperService as A, CideLytSharedWrapperComponent as C, ENVIRONMENT_CONFIG as E, CideLytSidebarService as a, CideLytRequestService as b, CideLytSidedrawerService as c, CideLytThemeService as d, AppStateService as e, CloudIdeLayoutService as f, CloudIdeLayoutComponent as g, CideLytSharedService as h, layoutControlPannelChildRoutes as i, CustomRouteReuseStrategy as j, CideLytUserStatusService as k, layoutRoutes as l, CacheManagerService as m, CideLytFileManagerService as n, CideLytFloatingEntityRightsSharingComponent as o, processThemeVariable as p, CideLytFloatingEntityRightsSharingService as q, setCSSVariable as s, themeFactory as t };
6053
- //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-DRRm5GZh.mjs.map
6055
+ //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-zxDOzv0V.mjs.map