cloud-ide-layout 1.0.35 → 1.0.37

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.
@@ -10,7 +10,7 @@ import { Title } from '@angular/platform-browser';
10
10
  import { CideEleFileManagerService, CideElementsService, CideEleFloatingContainerService, CideInputComponent, CideIconComponent, CideEleDropdownComponent, CideEleFileImageDirective, CideEleResizerDirective, TooltipDirective, CideSpinnerComponent, CideEleSkeletonLoaderComponent, CideEleFloatingContainerManagerComponent, CideEleGlobalNotificationsComponent, CideEleBreadcrumbComponent, CideEleButtonComponent } from 'cloud-ide-element';
11
11
  import * as i1 from '@angular/common';
12
12
  import { CommonModule, NgClass, NgFor, NgIf, isPlatformBrowser } from '@angular/common';
13
- import { CloudIdeAuthService, authGuard } from 'cloud-ide-auth';
13
+ import { AUTH_SERVICE_TOKEN, authGuard } from 'cloud-ide-shared';
14
14
  import { trigger, state, transition, style, animate } from '@angular/animations';
15
15
  import { merge } from 'lodash';
16
16
  import * as i2$1 from '@angular/forms';
@@ -1266,7 +1266,7 @@ class CideLytFloatingEntitySelectionService {
1266
1266
  }
1267
1267
  try {
1268
1268
  // Use relative import to avoid circular dependency
1269
- const module = await import('./cloud-ide-layout-floating-entity-selection.component-B7fxTYAX.mjs');
1269
+ const module = await import('./cloud-ide-layout-floating-entity-selection.component-BjxKK7kS.mjs');
1270
1270
  if (module.CideLytFloatingEntitySelectionComponent) {
1271
1271
  this.containerService.registerComponent('entity-selection-header', module.CideLytFloatingEntitySelectionComponent);
1272
1272
  console.log('✅ Entity selection component registered successfully');
@@ -1389,7 +1389,7 @@ class CideLytHeaderWrapperComponent {
1389
1389
  sharedService = inject(CideLytSharedService);
1390
1390
  fileManagerService = inject(CideLytFileManagerService);
1391
1391
  router = inject(Router);
1392
- authService = inject(CloudIdeAuthService);
1392
+ authService = inject(AUTH_SERVICE_TOKEN);
1393
1393
  constructor() {
1394
1394
  // Trigger page-data workflow for header (without rendering breadcrumb)
1395
1395
  const entityId = this.appStateService.activeEntity()?._id || undefined;
@@ -2741,8 +2741,8 @@ class CideLytSidedrawerWrapperComponent {
2741
2741
  }
2742
2742
  ngOnInit() {
2743
2743
  // Initialize the component map (You'd likely populate this from a config or service)
2744
- this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-D1mljSc0.mjs').then(m => m.CideLytSidedrawerNotesComponent);
2745
- this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-DNNgFvg2.mjs').then(m => m.CideLytDrawerThemeComponent);
2744
+ this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-Bc0SSufQ.mjs').then(m => m.CideLytSidedrawerNotesComponent);
2745
+ this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-BfQ1dndz.mjs').then(m => m.CideLytDrawerThemeComponent);
2746
2746
  }
2747
2747
  async loadComponent(configFor) {
2748
2748
  console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
@@ -3239,11 +3239,11 @@ class CideLytSharedWrapperComponent {
3239
3239
  }
3240
3240
  }
3241
3241
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: CideLytSharedWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3242
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: CideLytSharedWrapperComponent, isStandalone: true, selector: "cide-lyt-shared-wrapper", inputs: { shared_wrapper_setup_param: { classPropertyName: "shared_wrapper_setup_param", publicName: "shared_wrapper_setup_param", isSignal: true, isRequired: false, transformFunction: null }, breadcrumb_data: { classPropertyName: "breadcrumb_data", publicName: "breadcrumb_data", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "breadcrumb", first: true, predicate: CideEleBreadcrumbComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"tw-sticky tw-top-0 tw-z-50 tw-bg-white tw-border-b tw-border-gray-200 tw-shadow-sm\">\n <div class=\"tw-flex tw-items-center tw-justify-between tw-px-4 tw-py-0.5\">\n <div class=\"tw-flex-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\"></cide-ele-breadcrumb>\n </div>\n <div class=\"tw-flex-shrink-0 tw-ml-4\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n</div>\n\n<ng-content></ng-content>", styles: [""], dependencies: [{ kind: "component", type: CideEleBreadcrumbComponent, selector: "cide-ele-breadcrumb", inputs: ["items", "style", "separator", "showHomeIcon", "homeIcon", "maxItems", "showDropdownOnOverflow", "dropdownOptions", "clickableItems", "showTooltips", "responsive", "compact", "animated", "loadingInput", "disabled", "contextId", "pageCode"], outputs: ["itemClick", "dropdownOptionClick", "homeClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3242
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: CideLytSharedWrapperComponent, isStandalone: true, selector: "cide-lyt-shared-wrapper", inputs: { shared_wrapper_setup_param: { classPropertyName: "shared_wrapper_setup_param", publicName: "shared_wrapper_setup_param", isSignal: true, isRequired: false, transformFunction: null }, breadcrumb_data: { classPropertyName: "breadcrumb_data", publicName: "breadcrumb_data", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "breadcrumb", first: true, predicate: CideEleBreadcrumbComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"tw-sticky tw-top-0 tw-z-50 tw-bg-white tw-border-b tw-border-gray-200 tw-shadow-sm\">\n <div class=\"tw-flex tw-items-center tw-justify-between tw-px-4 tw-py-0.5\">\n <div class=\"tw-flex-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\"></cide-ele-breadcrumb>\n </div>\n <div class=\"tw-flex-shrink-0 tw-ml-4\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n</div>\n\n<ng-content></ng-content>", styles: [":host{display:block;height:100%}:host>div{display:flex;flex-direction:column}cide-lyt-shared-wrapper{height:100%!important;display:block!important}\n"], dependencies: [{ kind: "component", type: CideEleBreadcrumbComponent, selector: "cide-ele-breadcrumb", inputs: ["items", "style", "separator", "showHomeIcon", "homeIcon", "maxItems", "showDropdownOnOverflow", "dropdownOptions", "clickableItems", "showTooltips", "responsive", "compact", "animated", "loadingInput", "disabled", "contextId", "pageCode"], outputs: ["itemClick", "dropdownOptionClick", "homeClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3243
3243
  }
3244
3244
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: CideLytSharedWrapperComponent, decorators: [{
3245
3245
  type: Component,
3246
- args: [{ selector: 'cide-lyt-shared-wrapper', standalone: true, imports: [CideEleBreadcrumbComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tw-sticky tw-top-0 tw-z-50 tw-bg-white tw-border-b tw-border-gray-200 tw-shadow-sm\">\n <div class=\"tw-flex tw-items-center tw-justify-between tw-px-4 tw-py-0.5\">\n <div class=\"tw-flex-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\"></cide-ele-breadcrumb>\n </div>\n <div class=\"tw-flex-shrink-0 tw-ml-4\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n</div>\n\n<ng-content></ng-content>" }]
3246
+ args: [{ selector: 'cide-lyt-shared-wrapper', standalone: true, imports: [CideEleBreadcrumbComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tw-sticky tw-top-0 tw-z-50 tw-bg-white tw-border-b tw-border-gray-200 tw-shadow-sm\">\n <div class=\"tw-flex tw-items-center tw-justify-between tw-px-4 tw-py-0.5\">\n <div class=\"tw-flex-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\"></cide-ele-breadcrumb>\n </div>\n <div class=\"tw-flex-shrink-0 tw-ml-4\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n</div>\n\n<ng-content></ng-content>", styles: [":host{display:block;height:100%}:host>div{display:flex;flex-direction:column}cide-lyt-shared-wrapper{height:100%!important;display:block!important}\n"] }]
3247
3247
  }], ctorParameters: () => [] });
3248
3248
 
3249
3249
  const layoutRoutes = {
@@ -3256,15 +3256,15 @@ const layoutControlPannelChildRoutes = [{
3256
3256
  pathMatch: "full",
3257
3257
  redirectTo: "home"
3258
3258
  },
3259
- // {
3260
- // path: "home",
3261
- // loadComponent: () => import('./layout/home/home-wrapper/home-wrapper.component').then(c => c.CideLytHomeWrapperComponent),
3262
- // // canActivate: [authGuard],
3263
- // data: {
3264
- // reuseTab: true, // For CustomRouteReuseStrategy
3265
- // sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
3266
- // }
3267
- // }
3259
+ {
3260
+ path: "home",
3261
+ loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-B9nVPL6O.mjs').then(c => c.CideLytHomeWrapperComponent),
3262
+ canActivate: [authGuard],
3263
+ data: {
3264
+ reuseTab: true, // For CustomRouteReuseStrategy
3265
+ sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
3266
+ }
3267
+ }
3268
3268
  ];
3269
3269
 
3270
3270
  // Define an InjectionToken for the environment configuration
@@ -4825,5 +4825,5 @@ var floatingEntityRightsSharing_component = /*#__PURE__*/Object.freeze({
4825
4825
  * Generated bundle index. Do not edit.
4826
4826
  */
4827
4827
 
4828
- export { AppStateHelperService as A, CideLytSidedrawerService as C, ENVIRONMENT_CONFIG as E, CideLytThemeService as a, AppStateService as b, CloudIdeLayoutService as c, CloudIdeLayoutComponent as d, CideLytSharedWrapperComponent as e, CideLytSharedService as f, layoutControlPannelChildRoutes as g, CustomRouteReuseStrategy as h, CideLytUserStatusService as i, CacheManagerService as j, CideLytFileManagerService as k, layoutRoutes as l, CideLytFloatingEntityRightsSharingComponent as m, CideLytFloatingEntityRightsSharingService as n, processThemeVariable as p, setCSSVariable as s, themeFactory as t };
4829
- //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-CAo1_7zl.mjs.map
4828
+ 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 };
4829
+ //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-B53wTi1D.mjs.map