cloud-ide-layout 1.0.186 → 1.0.187
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.
- package/fesm2022/{cloud-ide-layout-cloud-ide-layout-BCJjrfC0.mjs → cloud-ide-layout-cloud-ide-layout-CSA4WioJ.mjs} +27 -5
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-CSA4WioJ.mjs.map +1 -0
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-DjW9OfwB.mjs → cloud-ide-layout-dashboard-manager.component-DM2Mo6P7.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-DjW9OfwB.mjs.map → cloud-ide-layout-dashboard-manager.component-DM2Mo6P7.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-BNhurhcP.mjs → cloud-ide-layout-drawer-theme.component-BtIN5K29.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-BNhurhcP.mjs.map → cloud-ide-layout-drawer-theme.component-BtIN5K29.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-zMo-VP1V.mjs → cloud-ide-layout-home-wrapper.component-uqBqyF6Z.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-zMo-VP1V.mjs.map → cloud-ide-layout-home-wrapper.component-uqBqyF6Z.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-DJxIg1zW.mjs → cloud-ide-layout-sidedrawer-notes.component-D_LnurNk.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-DJxIg1zW.mjs.map → cloud-ide-layout-sidedrawer-notes.component-D_LnurNk.mjs.map} +1 -1
- package/fesm2022/cloud-ide-layout.mjs +1 -1
- package/package.json +1 -1
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-BCJjrfC0.mjs.map +0 -1
|
@@ -5216,6 +5216,28 @@ class CideLytRequestService {
|
|
|
5216
5216
|
this.requestVisible = false;
|
|
5217
5217
|
document.querySelector(`#cide-lyt-request-wrapper`)?.classList.add('cide-lyt-request-wrapper-hide');
|
|
5218
5218
|
document.querySelector(`body`)?.classList.remove('cide-lyt-request-exist');
|
|
5219
|
+
// IMPORTANT: Clear all tabs and their stored component states when hiding request wrapper
|
|
5220
|
+
// This ensures that when user navigates back later, components start fresh
|
|
5221
|
+
const currentTabs = this.tabsSignal();
|
|
5222
|
+
if (currentTabs.length > 0) {
|
|
5223
|
+
console.log('🧹 REQUEST SERVICE - Clearing all tabs because request wrapper is being hidden');
|
|
5224
|
+
// Clear all tabs from TabStateService
|
|
5225
|
+
currentTabs.forEach(tab => {
|
|
5226
|
+
this.tabStateService.removeTab(tab.id);
|
|
5227
|
+
});
|
|
5228
|
+
// Clear ALL stored routes from route reuse strategy to destroy component instances
|
|
5229
|
+
if (this.routeReuseStrategy instanceof CustomRouteReuseStrategy) {
|
|
5230
|
+
this.routeReuseStrategy.clearAllStoredRoutes();
|
|
5231
|
+
console.log('✅ REQUEST SERVICE - All stored routes cleared');
|
|
5232
|
+
}
|
|
5233
|
+
// Clear all tabs from signals
|
|
5234
|
+
this.tabsSignal.set([]);
|
|
5235
|
+
this.activeTabIdSignal.set(null);
|
|
5236
|
+
this.tabStateService.setActiveTab(null);
|
|
5237
|
+
// Clear sidedrawer
|
|
5238
|
+
this.sidedrawerService.updateDrawerItems(undefined);
|
|
5239
|
+
console.log('✅ REQUEST SERVICE - All tabs cleared, components will start fresh on next visit');
|
|
5240
|
+
}
|
|
5219
5241
|
}
|
|
5220
5242
|
// Show Request
|
|
5221
5243
|
showRequest() {
|
|
@@ -5362,8 +5384,8 @@ class CideLytSidedrawerWrapperComponent {
|
|
|
5362
5384
|
}
|
|
5363
5385
|
ngOnInit() {
|
|
5364
5386
|
// Initialize the component map (You'd likely populate this from a config or service)
|
|
5365
|
-
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-
|
|
5366
|
-
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-
|
|
5387
|
+
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-D_LnurNk.mjs').then(m => m.CideLytSidedrawerNotesComponent);
|
|
5388
|
+
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-BtIN5K29.mjs').then(m => m.CideLytDrawerThemeComponent);
|
|
5367
5389
|
}
|
|
5368
5390
|
async loadComponent(configFor) {
|
|
5369
5391
|
console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
|
|
@@ -7055,7 +7077,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7055
7077
|
},
|
|
7056
7078
|
{
|
|
7057
7079
|
path: "home",
|
|
7058
|
-
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-
|
|
7080
|
+
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-uqBqyF6Z.mjs').then(c => c.CideLytHomeWrapperComponent),
|
|
7059
7081
|
canActivate: [authGuard],
|
|
7060
7082
|
data: {
|
|
7061
7083
|
sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
|
|
@@ -7063,7 +7085,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7063
7085
|
},
|
|
7064
7086
|
{
|
|
7065
7087
|
path: "dashboard-manager",
|
|
7066
|
-
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-
|
|
7088
|
+
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-DM2Mo6P7.mjs').then(c => c.DashboardManagerComponent),
|
|
7067
7089
|
canActivate: [authGuard],
|
|
7068
7090
|
data: {
|
|
7069
7091
|
sypg_page_code: "cide_lyt_dashboard_manager"
|
|
@@ -8887,4 +8909,4 @@ var floatingEntitySelection_component = /*#__PURE__*/Object.freeze({
|
|
|
8887
8909
|
*/
|
|
8888
8910
|
|
|
8889
8911
|
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 };
|
|
8890
|
-
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-
|
|
8912
|
+
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-CSA4WioJ.mjs.map
|