cloud-ide-layout 1.0.218 → 1.0.219
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-B4-REVee.mjs → cloud-ide-layout-cloud-ide-layout-CXK0yI_8.mjs} +17 -6
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-CXK0yI_8.mjs.map +1 -0
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-DfE3Rxzn.mjs → cloud-ide-layout-dashboard-manager.component-QV-rcofp.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-DfE3Rxzn.mjs.map → cloud-ide-layout-dashboard-manager.component-QV-rcofp.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-BMCNfEEg.mjs → cloud-ide-layout-drawer-theme.component-B3OjLIc_.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-BMCNfEEg.mjs.map → cloud-ide-layout-drawer-theme.component-B3OjLIc_.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-DYh8eyOl.mjs → cloud-ide-layout-home-wrapper.component-D80JDbmz.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-DYh8eyOl.mjs.map → cloud-ide-layout-home-wrapper.component-D80JDbmz.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-BTPoCH0D.mjs → cloud-ide-layout-sidedrawer-notes.component-CEsInZTY.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-BTPoCH0D.mjs.map → cloud-ide-layout-sidedrawer-notes.component-CEsInZTY.mjs.map} +1 -1
- package/fesm2022/cloud-ide-layout.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-B4-REVee.mjs.map +0 -1
|
@@ -455,6 +455,8 @@ class AppStateService {
|
|
|
455
455
|
* Set the active entity
|
|
456
456
|
*/
|
|
457
457
|
setActiveEntity(entity) {
|
|
458
|
+
console.log('🏁 [AppStateService] setActiveEntity called with:', entity?._id, entity?.syen_name);
|
|
459
|
+
console.trace('Stack trace for setActiveEntity:');
|
|
458
460
|
this.activeEntitySignal.set(entity);
|
|
459
461
|
}
|
|
460
462
|
/**
|
|
@@ -1357,6 +1359,7 @@ class CideLytSharedService {
|
|
|
1357
1359
|
currentRoutePath,
|
|
1358
1360
|
queryParams
|
|
1359
1361
|
});
|
|
1362
|
+
console.log('🔍 [SharedService] handleRouteChange triggered for:', currentRoutePath);
|
|
1360
1363
|
// Get page code from route data
|
|
1361
1364
|
let route = this.router.routerState.snapshot.root;
|
|
1362
1365
|
while (route.firstChild) {
|
|
@@ -3707,6 +3710,12 @@ class CideLytHeaderWrapperComponent {
|
|
|
3707
3710
|
}).then((confirmed) => {
|
|
3708
3711
|
if (confirmed) {
|
|
3709
3712
|
try {
|
|
3713
|
+
// Explicitly clear AppStateService data to ensure valid logout
|
|
3714
|
+
this.appStateService.clearUser();
|
|
3715
|
+
this.appStateService.setActiveEntity(null);
|
|
3716
|
+
this.appStateService.setActiveModule(null);
|
|
3717
|
+
this.appStateService.setActiveAcademicYear(null);
|
|
3718
|
+
this.appStateService.setStudentModel(null);
|
|
3710
3719
|
// Use the auth service to sign out
|
|
3711
3720
|
this.authService.signOut();
|
|
3712
3721
|
// Navigate to login page
|
|
@@ -5129,6 +5138,7 @@ class CideLytRequestService {
|
|
|
5129
5138
|
*/
|
|
5130
5139
|
handleRouteBasedTabManagement(currentRoutePath, queryParams, layout, pageData, pageCode) {
|
|
5131
5140
|
console.log('handleRouteBasedTabManagement', currentRoutePath, queryParams, layout, pageData, pageCode);
|
|
5141
|
+
console.log('🔍 [RequestService] handleRouteBasedTabManagement called for:', pageCode);
|
|
5132
5142
|
const currentTabs = this.tabsSignal();
|
|
5133
5143
|
const tabAlreadyExists = currentTabs.find((t) => {
|
|
5134
5144
|
const tRoutePath = t.route.startsWith('/') ? t.route : '/' + t.route;
|
|
@@ -5316,7 +5326,8 @@ class CideLytRequestService {
|
|
|
5316
5326
|
* 3. Navigating to home to clear router outlet
|
|
5317
5327
|
*/
|
|
5318
5328
|
closeAllTabs() {
|
|
5319
|
-
console.log('🧹 REQUEST SERVICE: Closing all tabs due to entity change');
|
|
5329
|
+
console.log('🧹 REQUEST SERVICE: Closing all tabs due to entity change. Stack trace:');
|
|
5330
|
+
console.trace();
|
|
5320
5331
|
const currentTabs = this.tabsSignal();
|
|
5321
5332
|
// Close all floating containers first
|
|
5322
5333
|
this.floatingContainerService.hideAll();
|
|
@@ -5517,8 +5528,8 @@ class CideLytSidedrawerWrapperComponent {
|
|
|
5517
5528
|
}
|
|
5518
5529
|
ngOnInit() {
|
|
5519
5530
|
// Initialize the component map (You'd likely populate this from a config or service)
|
|
5520
|
-
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-
|
|
5521
|
-
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-
|
|
5531
|
+
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-CEsInZTY.mjs').then(m => m.CideLytSidedrawerNotesComponent);
|
|
5532
|
+
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-B3OjLIc_.mjs').then(m => m.CideLytDrawerThemeComponent);
|
|
5522
5533
|
}
|
|
5523
5534
|
async loadComponent(configFor) {
|
|
5524
5535
|
console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
|
|
@@ -7243,7 +7254,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7243
7254
|
},
|
|
7244
7255
|
{
|
|
7245
7256
|
path: "home",
|
|
7246
|
-
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-
|
|
7257
|
+
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-D80JDbmz.mjs').then(c => c.CideLytHomeWrapperComponent),
|
|
7247
7258
|
canActivate: [authGuard],
|
|
7248
7259
|
data: {
|
|
7249
7260
|
sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
|
|
@@ -7251,7 +7262,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7251
7262
|
},
|
|
7252
7263
|
{
|
|
7253
7264
|
path: "dashboard-manager",
|
|
7254
|
-
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-
|
|
7265
|
+
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-QV-rcofp.mjs').then(c => c.DashboardManagerComponent),
|
|
7255
7266
|
canActivate: [authGuard],
|
|
7256
7267
|
data: {
|
|
7257
7268
|
sypg_page_code: "cide_lyt_dashboard_manager"
|
|
@@ -9075,4 +9086,4 @@ var floatingEntitySelection_component = /*#__PURE__*/Object.freeze({
|
|
|
9075
9086
|
*/
|
|
9076
9087
|
|
|
9077
9088
|
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, CideLytRequestService as j, AppStateService as k, layoutRoutes as l, CideLytUserStatusService as m, CacheManagerService as n, CideLytFileManagerService as o, processThemeVariable as p, CideLytFloatingEntityRightsSharingComponent as q, CideLytFloatingEntityRightsSharingService as r, setCSSVariable as s, themeFactory as t, CideLytFloatingEntitySelectionComponent as u, CideLytFloatingEntitySelectionService as v };
|
|
9078
|
-
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-
|
|
9089
|
+
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-CXK0yI_8.mjs.map
|