cloud-ide-layout 1.0.148 → 1.0.149

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 (15) hide show
  1. package/fesm2022/{cloud-ide-layout-cloud-ide-layout-DN4JMNV5.mjs → cloud-ide-layout-cloud-ide-layout-Dz4ikvRE.mjs} +14 -14
  2. package/fesm2022/cloud-ide-layout-cloud-ide-layout-Dz4ikvRE.mjs.map +1 -0
  3. package/fesm2022/{cloud-ide-layout-dashboard-manager.component-CD0o2PzJ.mjs → cloud-ide-layout-dashboard-manager.component-C_N16ZxI.mjs} +2 -2
  4. package/fesm2022/{cloud-ide-layout-dashboard-manager.component-CD0o2PzJ.mjs.map → cloud-ide-layout-dashboard-manager.component-C_N16ZxI.mjs.map} +1 -1
  5. package/fesm2022/{cloud-ide-layout-drawer-theme.component-BgZS9dxX.mjs → cloud-ide-layout-drawer-theme.component-BEzr2ZTH.mjs} +2 -2
  6. package/fesm2022/{cloud-ide-layout-drawer-theme.component-BgZS9dxX.mjs.map → cloud-ide-layout-drawer-theme.component-BEzr2ZTH.mjs.map} +1 -1
  7. package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-CikoMYde.mjs → cloud-ide-layout-floating-entity-selection.component-CQvX2vCb.mjs} +2 -2
  8. package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-CikoMYde.mjs.map → cloud-ide-layout-floating-entity-selection.component-CQvX2vCb.mjs.map} +1 -1
  9. package/fesm2022/{cloud-ide-layout-home-wrapper.component-B0i4ajj-.mjs → cloud-ide-layout-home-wrapper.component-DjGZJwD4.mjs} +2 -2
  10. package/fesm2022/{cloud-ide-layout-home-wrapper.component-B0i4ajj-.mjs.map → cloud-ide-layout-home-wrapper.component-DjGZJwD4.mjs.map} +1 -1
  11. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-CwDgPmve.mjs → cloud-ide-layout-sidedrawer-notes.component-CAOhn-ii.mjs} +2 -2
  12. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-CwDgPmve.mjs.map → cloud-ide-layout-sidedrawer-notes.component-CAOhn-ii.mjs.map} +1 -1
  13. package/fesm2022/cloud-ide-layout.mjs +1 -1
  14. package/package.json +1 -1
  15. package/fesm2022/cloud-ide-layout-cloud-ide-layout-DN4JMNV5.mjs.map +0 -1
@@ -1379,7 +1379,7 @@ class CideLytFloatingEntitySelectionService {
1379
1379
  }
1380
1380
  try {
1381
1381
  // Use relative import to avoid circular dependency
1382
- const module = await import('./cloud-ide-layout-floating-entity-selection.component-CikoMYde.mjs');
1382
+ const module = await import('./cloud-ide-layout-floating-entity-selection.component-CQvX2vCb.mjs');
1383
1383
  if (module.CideLytFloatingEntitySelectionComponent) {
1384
1384
  this.containerService.registerComponent('entity-selection-header', module.CideLytFloatingEntitySelectionComponent);
1385
1385
  console.log('✅ Entity selection component registered successfully');
@@ -3864,7 +3864,9 @@ class CideLytSidebarWrapperComponent {
3864
3864
  if (this.previousEntityId !== currentEntityId && currentEntityId !== null) {
3865
3865
  console.log('🔄 SIDEBAR: Entity changed from', this.previousEntityId, 'to', currentEntityId, '- reloading sidebar menus');
3866
3866
  this.previousEntityId = currentEntityId;
3867
- // Reload sidebar menus for the new entity
3867
+ // Clear current menus first
3868
+ this.core_system_menu.set([]);
3869
+ // Reload sidebar menus for the new entity (this will also reload menus for active module)
3868
3870
  this.loadSidebarMenus();
3869
3871
  }
3870
3872
  });
@@ -3931,11 +3933,9 @@ class CideLytSidebarWrapperComponent {
3931
3933
  const foundModule = this.core_system_module().find(m => m._id === activeModule._id);
3932
3934
  if (foundModule) {
3933
3935
  console.log('✅ SIDEBAR: Active module found in loaded modules:', foundModule.syme_title);
3934
- // The effect should have already triggered, but ensure menus are loaded
3935
- if (this.core_system_menu().length === 0) {
3936
- console.log('🔄 SIDEBAR: No menus loaded yet, triggering load for active module');
3937
- this.loadMenusForModule(activeModule);
3938
- }
3936
+ // Always reload menus when modules are reloaded (e.g., after entity change)
3937
+ console.log('🔄 SIDEBAR: Reloading menus for active module:', foundModule.syme_title);
3938
+ this.loadMenusForModule(foundModule);
3939
3939
  }
3940
3940
  else {
3941
3941
  console.log('⚠️ SIDEBAR: Active module not found in loaded modules, setting first as active');
@@ -5031,8 +5031,8 @@ class CideLytSidedrawerWrapperComponent {
5031
5031
  }
5032
5032
  ngOnInit() {
5033
5033
  // Initialize the component map (You'd likely populate this from a config or service)
5034
- this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-CwDgPmve.mjs').then(m => m.CideLytSidedrawerNotesComponent);
5035
- this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-BgZS9dxX.mjs').then(m => m.CideLytDrawerThemeComponent);
5034
+ this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-CAOhn-ii.mjs').then(m => m.CideLytSidedrawerNotesComponent);
5035
+ this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-BEzr2ZTH.mjs').then(m => m.CideLytDrawerThemeComponent);
5036
5036
  }
5037
5037
  async loadComponent(configFor) {
5038
5038
  console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
@@ -6435,11 +6435,11 @@ class CideLytSharedWrapperComponent {
6435
6435
  this.componentContextService.close(fallbackRoute, containerId);
6436
6436
  }
6437
6437
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CideLytSharedWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6438
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.15", 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-w-full tw-h-full tw-flex tw-flex-col tw-max-w-full tw-overflow-hidden\">\n <div\n class=\"tw-sticky tw-w-full tw-max-w-full 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-gap-2 tw-px-3 sm:tw-px-4 tw-py-2 sm:tw-py-0.5 tw-min-w-0 tw-overflow-hidden tw-flex-wrap sm:tw-flex-nowrap\">\n <div class=\"tw-flex-1 tw-min-w-0 tw-overflow-hidden tw-order-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\" (homeClick)=\"onBreadcrumbHomeClick()\"></cide-ele-breadcrumb>\n </div>\n <div class=\"tw-flex-shrink-0 tw-ml-2 sm:tw-ml-4 tw-order-2\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex-1 tw-w-full tw-max-w-full tw-overflow-y-auto tw-overflow-x-hidden tw-min-h-0\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [":host{display:block;height:100%;width:100%}:host>div{display:flex;flex-direction:column;height:100%;width:100%}::ng-deep cide-lyt-shared-wrapper{height:100%!important;display:block!important;width:100%!important}@media (max-width: 640px){:host>div>div:first-child{padding-left:.75rem;padding-right:.75rem}::ng-deep [breadcrumb-actions]{flex-shrink:0}::ng-deep cide-ele-breadcrumb{font-size:.625rem}}\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 });
6438
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.15", 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-w-full tw-h-full tw-flex tw-flex-col tw-max-w-full tw-overflow-hidden\">\n <div\n class=\"tw-sticky tw-w-full tw-max-w-full 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-start sm:tw-items-center tw-justify-between tw-gap-2 tw-px-3 sm:tw-px-4 md:tw-px-6 tw-py-2 sm:tw-py-0.5 tw-min-w-0 tw-overflow-hidden tw-flex-col sm:tw-flex-row\">\n <!-- Breadcrumb - Full width on mobile/tablet, flex-1 on desktop -->\n <div class=\"tw-w-full sm:tw-flex-1 tw-min-w-0 tw-overflow-hidden tw-order-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\" (homeClick)=\"onBreadcrumbHomeClick()\"></cide-ele-breadcrumb>\n </div>\n <!-- Breadcrumb Actions - Full width on mobile, auto on tablet/desktop -->\n <div class=\"tw-w-full sm:tw-w-auto tw-flex-shrink-0 sm:tw-ml-2 md:tw-ml-4 tw-order-2\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex-1 tw-w-full tw-max-w-full tw-overflow-y-auto tw-overflow-x-hidden tw-min-h-0\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [":host{display:block;height:100%;width:100%}:host>div{display:flex;flex-direction:column;height:100%;width:100%}::ng-deep cide-lyt-shared-wrapper{height:100%!important;display:block!important;width:100%!important}@media (max-width: 479px){:host>div>div:first-child{padding:.5rem}::ng-deep [breadcrumb-actions]{flex-shrink:0;width:100%;display:flex;justify-content:flex-end;margin-top:.5rem}::ng-deep cide-ele-breadcrumb{font-size:.5625rem;width:100%}::ng-deep cide-ele-breadcrumb nav ol{flex-wrap:wrap;align-items:center;gap:.125rem}::ng-deep cide-ele-breadcrumb .breadcrumb-container{width:100%;overflow:visible}}@media (min-width: 480px) and (max-width: 640px){:host>div>div:first-child{padding:.5rem .75rem}::ng-deep [breadcrumb-actions]{flex-shrink:0;width:100%;display:flex;justify-content:flex-end;margin-top:.5rem}::ng-deep cide-ele-breadcrumb{font-size:.625rem;width:100%}::ng-deep cide-ele-breadcrumb nav ol{flex-wrap:wrap;align-items:center}::ng-deep cide-ele-breadcrumb .breadcrumb-container{width:100%;overflow:visible}}@media (min-width: 641px) and (max-width: 1024px){:host>div>div:first-child{padding:.5rem 1rem}::ng-deep [breadcrumb-actions]{flex-shrink:0;margin-left:1rem}::ng-deep cide-ele-breadcrumb{font-size:.6875rem;width:100%}::ng-deep cide-ele-breadcrumb nav ol{flex-wrap:wrap;align-items:center}::ng-deep cide-ele-breadcrumb .breadcrumb-container{width:100%;overflow:visible}}@media (min-width: 1025px){:host>div>div:first-child{padding-left:1rem;padding-right:1rem}::ng-deep cide-ele-breadcrumb{font-size:.75rem}::ng-deep cide-ele-breadcrumb nav ol{flex-wrap:nowrap;align-items:center}}\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 });
6439
6439
  }
6440
6440
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CideLytSharedWrapperComponent, decorators: [{
6441
6441
  type: Component,
6442
- args: [{ selector: 'cide-lyt-shared-wrapper', imports: [CideEleBreadcrumbComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tw-w-full tw-h-full tw-flex tw-flex-col tw-max-w-full tw-overflow-hidden\">\n <div\n class=\"tw-sticky tw-w-full tw-max-w-full 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-gap-2 tw-px-3 sm:tw-px-4 tw-py-2 sm:tw-py-0.5 tw-min-w-0 tw-overflow-hidden tw-flex-wrap sm:tw-flex-nowrap\">\n <div class=\"tw-flex-1 tw-min-w-0 tw-overflow-hidden tw-order-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\" (homeClick)=\"onBreadcrumbHomeClick()\"></cide-ele-breadcrumb>\n </div>\n <div class=\"tw-flex-shrink-0 tw-ml-2 sm:tw-ml-4 tw-order-2\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex-1 tw-w-full tw-max-w-full tw-overflow-y-auto tw-overflow-x-hidden tw-min-h-0\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [":host{display:block;height:100%;width:100%}:host>div{display:flex;flex-direction:column;height:100%;width:100%}::ng-deep cide-lyt-shared-wrapper{height:100%!important;display:block!important;width:100%!important}@media (max-width: 640px){:host>div>div:first-child{padding-left:.75rem;padding-right:.75rem}::ng-deep [breadcrumb-actions]{flex-shrink:0}::ng-deep cide-ele-breadcrumb{font-size:.625rem}}\n"] }]
6442
+ args: [{ selector: 'cide-lyt-shared-wrapper', imports: [CideEleBreadcrumbComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tw-w-full tw-h-full tw-flex tw-flex-col tw-max-w-full tw-overflow-hidden\">\n <div\n class=\"tw-sticky tw-w-full tw-max-w-full 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-start sm:tw-items-center tw-justify-between tw-gap-2 tw-px-3 sm:tw-px-4 md:tw-px-6 tw-py-2 sm:tw-py-0.5 tw-min-w-0 tw-overflow-hidden tw-flex-col sm:tw-flex-row\">\n <!-- Breadcrumb - Full width on mobile/tablet, flex-1 on desktop -->\n <div class=\"tw-w-full sm:tw-flex-1 tw-min-w-0 tw-overflow-hidden tw-order-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\" (homeClick)=\"onBreadcrumbHomeClick()\"></cide-ele-breadcrumb>\n </div>\n <!-- Breadcrumb Actions - Full width on mobile, auto on tablet/desktop -->\n <div class=\"tw-w-full sm:tw-w-auto tw-flex-shrink-0 sm:tw-ml-2 md:tw-ml-4 tw-order-2\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex-1 tw-w-full tw-max-w-full tw-overflow-y-auto tw-overflow-x-hidden tw-min-h-0\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [":host{display:block;height:100%;width:100%}:host>div{display:flex;flex-direction:column;height:100%;width:100%}::ng-deep cide-lyt-shared-wrapper{height:100%!important;display:block!important;width:100%!important}@media (max-width: 479px){:host>div>div:first-child{padding:.5rem}::ng-deep [breadcrumb-actions]{flex-shrink:0;width:100%;display:flex;justify-content:flex-end;margin-top:.5rem}::ng-deep cide-ele-breadcrumb{font-size:.5625rem;width:100%}::ng-deep cide-ele-breadcrumb nav ol{flex-wrap:wrap;align-items:center;gap:.125rem}::ng-deep cide-ele-breadcrumb .breadcrumb-container{width:100%;overflow:visible}}@media (min-width: 480px) and (max-width: 640px){:host>div>div:first-child{padding:.5rem .75rem}::ng-deep [breadcrumb-actions]{flex-shrink:0;width:100%;display:flex;justify-content:flex-end;margin-top:.5rem}::ng-deep cide-ele-breadcrumb{font-size:.625rem;width:100%}::ng-deep cide-ele-breadcrumb nav ol{flex-wrap:wrap;align-items:center}::ng-deep cide-ele-breadcrumb .breadcrumb-container{width:100%;overflow:visible}}@media (min-width: 641px) and (max-width: 1024px){:host>div>div:first-child{padding:.5rem 1rem}::ng-deep [breadcrumb-actions]{flex-shrink:0;margin-left:1rem}::ng-deep cide-ele-breadcrumb{font-size:.6875rem;width:100%}::ng-deep cide-ele-breadcrumb nav ol{flex-wrap:wrap;align-items:center}::ng-deep cide-ele-breadcrumb .breadcrumb-container{width:100%;overflow:visible}}@media (min-width: 1025px){:host>div>div:first-child{padding-left:1rem;padding-right:1rem}::ng-deep cide-ele-breadcrumb{font-size:.75rem}::ng-deep cide-ele-breadcrumb nav ol{flex-wrap:nowrap;align-items:center}}\n"] }]
6443
6443
  }], ctorParameters: () => [], propDecorators: { breadcrumb: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CideEleBreadcrumbComponent), { isSignal: true }] }], shared_wrapper_setup_param: [{ type: i0.Input, args: [{ isSignal: true, alias: "shared_wrapper_setup_param", required: false }] }], breadcrumb_data: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumb_data", required: false }] }] } });
6444
6444
 
6445
6445
  /**
@@ -6724,7 +6724,7 @@ const layoutControlPannelChildRoutes = [{
6724
6724
  },
6725
6725
  {
6726
6726
  path: "home",
6727
- loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-B0i4ajj-.mjs').then(c => c.CideLytHomeWrapperComponent),
6727
+ loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-DjGZJwD4.mjs').then(c => c.CideLytHomeWrapperComponent),
6728
6728
  canActivate: [authGuard],
6729
6729
  data: {
6730
6730
  sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
@@ -6732,7 +6732,7 @@ const layoutControlPannelChildRoutes = [{
6732
6732
  },
6733
6733
  {
6734
6734
  path: "dashboard-manager",
6735
- loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-CD0o2PzJ.mjs').then(c => c.DashboardManagerComponent),
6735
+ loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-C_N16ZxI.mjs').then(c => c.DashboardManagerComponent),
6736
6736
  canActivate: [authGuard],
6737
6737
  data: {
6738
6738
  sypg_page_code: "cide_lyt_dashboard_manager"
@@ -8299,4 +8299,4 @@ var floatingEntityRightsSharing_component = /*#__PURE__*/Object.freeze({
8299
8299
  */
8300
8300
 
8301
8301
  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, AppStateService as d, CloudIdeLayoutService as e, CloudIdeLayoutComponent as f, CideLytSharedService as g, ComponentContextService 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 };
8302
- //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-DN4JMNV5.mjs.map
8302
+ //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-Dz4ikvRE.mjs.map