cloud-ide-layout 1.0.18 → 1.0.20

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.
@@ -7,7 +7,7 @@ import { map, filter, tap, catchError, shareReplay, take, distinctUntilChanged }
7
7
  import * as i2 from '@angular/router';
8
8
  import { Router, NavigationEnd, RouteReuseStrategy, RouterModule } from '@angular/router';
9
9
  import { Title } from '@angular/platform-browser';
10
- import { CideElementsService, CideInputComponent, CideIconComponent, CideEleResizerDirective, TooltipDirective, CideSpinnerComponent, CideEleSkeletonLoaderComponent } from 'cloud-ide-element';
10
+ import { CideEleFileManagerService, CideElementsService, CideInputComponent, CideIconComponent, CideEleResizerDirective, TooltipDirective, CideSpinnerComponent, CideEleSkeletonLoaderComponent } from 'cloud-ide-element';
11
11
  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';
@@ -245,6 +245,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
245
245
  }] });
246
246
 
247
247
  class AppStateService {
248
+ // Inject file manager service
249
+ fileManagerService = inject(CideEleFileManagerService);
248
250
  // Private signal for current user
249
251
  currentUserSignal = signal(null, ...(ngDevMode ? [{ debugName: "currentUserSignal" }] : []));
250
252
  // Private signal for active module
@@ -284,6 +286,8 @@ class AppStateService {
284
286
  };
285
287
  }, ...(ngDevMode ? [{ debugName: "activeModuleInfo" }] : []));
286
288
  constructor() {
289
+ // Initialize file manager base URL on app startup
290
+ this.fileManagerService.setBaseUrl(cidePath.join([hostManagerRoutesUrl.cideSuiteHost, coreRoutesUrl?.module, coreRoutesUrl?.fileManager]));
287
291
  // Load initial state from localStorage
288
292
  this.loadFromLocalStorage();
289
293
  // Save to localStorage whenever state changes
@@ -2527,8 +2531,8 @@ class CideLytSidedrawerWrapperComponent {
2527
2531
  }
2528
2532
  ngOnInit() {
2529
2533
  // Initialize the component map (You'd likely populate this from a config or service)
2530
- this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-CbAOqthZ.mjs').then(m => m.CideLytSidedrawerNotesComponent);
2531
- this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-DMSGo6TQ.mjs').then(m => m.CideLytDrawerThemeComponent);
2534
+ this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-Ct_ZSmhz.mjs').then(m => m.CideLytSidedrawerNotesComponent);
2535
+ this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-B7pkg0Hs.mjs').then(m => m.CideLytDrawerThemeComponent);
2532
2536
  }
2533
2537
  async loadComponent(configFor) {
2534
2538
  console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
@@ -2900,7 +2904,7 @@ const layoutControlPannelChildRoutes = [{
2900
2904
  },
2901
2905
  {
2902
2906
  path: "home",
2903
- loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-CBwmG9lX.mjs').then(c => c.CideLytHomeWrapperComponent),
2907
+ loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-C4VnGDsV.mjs').then(c => c.CideLytHomeWrapperComponent),
2904
2908
  canActivate: [authGuard],
2905
2909
  data: {
2906
2910
  reuseTab: true, // For CustomRouteReuseStrategy
@@ -3166,4 +3170,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
3166
3170
  */
3167
3171
 
3168
3172
  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, CideLytFileManagerService as n, processThemeVariable as p, setCSSVariable as s, themeFactory as t };
3169
- //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-DMcYKxZa.mjs.map
3173
+ //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-DwtmZlra.mjs.map