cloud-ide-layout 1.0.218 → 1.0.220
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-CAzDS9mo.mjs} +18 -6
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-CAzDS9mo.mjs.map +1 -0
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-DfE3Rxzn.mjs → cloud-ide-layout-dashboard-manager.component-D1E7EzFZ.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-DfE3Rxzn.mjs.map → cloud-ide-layout-dashboard-manager.component-D1E7EzFZ.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-BMCNfEEg.mjs → cloud-ide-layout-drawer-theme.component-5uE0XcKu.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-BMCNfEEg.mjs.map → cloud-ide-layout-drawer-theme.component-5uE0XcKu.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-DYh8eyOl.mjs → cloud-ide-layout-home-wrapper.component-44J6ywiJ.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-DYh8eyOl.mjs.map → cloud-ide-layout-home-wrapper.component-44J6ywiJ.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-BTPoCH0D.mjs → cloud-ide-layout-sidedrawer-notes.component-CaikMciG.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-BTPoCH0D.mjs.map → cloud-ide-layout-sidedrawer-notes.component-CaikMciG.mjs.map} +1 -1
- package/fesm2022/cloud-ide-layout.mjs +1 -1
- package/index.d.ts +2 -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
|
/**
|
|
@@ -714,6 +716,7 @@ class AppStateHelperService {
|
|
|
714
716
|
activeModuleInfo = this.appStateService.activeModuleInfo;
|
|
715
717
|
activeEntity = this.appStateService.activeEntity;
|
|
716
718
|
activeAcademicYear = this.appStateService.activeAcademicYear;
|
|
719
|
+
studentModel = this.appStateService.studentModel;
|
|
717
720
|
/**
|
|
718
721
|
* Get current user value (non-reactive)
|
|
719
722
|
*/
|
|
@@ -1357,6 +1360,7 @@ class CideLytSharedService {
|
|
|
1357
1360
|
currentRoutePath,
|
|
1358
1361
|
queryParams
|
|
1359
1362
|
});
|
|
1363
|
+
console.log('🔍 [SharedService] handleRouteChange triggered for:', currentRoutePath);
|
|
1360
1364
|
// Get page code from route data
|
|
1361
1365
|
let route = this.router.routerState.snapshot.root;
|
|
1362
1366
|
while (route.firstChild) {
|
|
@@ -3707,6 +3711,12 @@ class CideLytHeaderWrapperComponent {
|
|
|
3707
3711
|
}).then((confirmed) => {
|
|
3708
3712
|
if (confirmed) {
|
|
3709
3713
|
try {
|
|
3714
|
+
// Explicitly clear AppStateService data to ensure valid logout
|
|
3715
|
+
this.appStateService.clearUser();
|
|
3716
|
+
this.appStateService.setActiveEntity(null);
|
|
3717
|
+
this.appStateService.setActiveModule(null);
|
|
3718
|
+
this.appStateService.setActiveAcademicYear(null);
|
|
3719
|
+
this.appStateService.setStudentModel(null);
|
|
3710
3720
|
// Use the auth service to sign out
|
|
3711
3721
|
this.authService.signOut();
|
|
3712
3722
|
// Navigate to login page
|
|
@@ -5129,6 +5139,7 @@ class CideLytRequestService {
|
|
|
5129
5139
|
*/
|
|
5130
5140
|
handleRouteBasedTabManagement(currentRoutePath, queryParams, layout, pageData, pageCode) {
|
|
5131
5141
|
console.log('handleRouteBasedTabManagement', currentRoutePath, queryParams, layout, pageData, pageCode);
|
|
5142
|
+
console.log('🔍 [RequestService] handleRouteBasedTabManagement called for:', pageCode);
|
|
5132
5143
|
const currentTabs = this.tabsSignal();
|
|
5133
5144
|
const tabAlreadyExists = currentTabs.find((t) => {
|
|
5134
5145
|
const tRoutePath = t.route.startsWith('/') ? t.route : '/' + t.route;
|
|
@@ -5316,7 +5327,8 @@ class CideLytRequestService {
|
|
|
5316
5327
|
* 3. Navigating to home to clear router outlet
|
|
5317
5328
|
*/
|
|
5318
5329
|
closeAllTabs() {
|
|
5319
|
-
console.log('🧹 REQUEST SERVICE: Closing all tabs due to entity change');
|
|
5330
|
+
console.log('🧹 REQUEST SERVICE: Closing all tabs due to entity change. Stack trace:');
|
|
5331
|
+
console.trace();
|
|
5320
5332
|
const currentTabs = this.tabsSignal();
|
|
5321
5333
|
// Close all floating containers first
|
|
5322
5334
|
this.floatingContainerService.hideAll();
|
|
@@ -5517,8 +5529,8 @@ class CideLytSidedrawerWrapperComponent {
|
|
|
5517
5529
|
}
|
|
5518
5530
|
ngOnInit() {
|
|
5519
5531
|
// 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-
|
|
5532
|
+
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-CaikMciG.mjs').then(m => m.CideLytSidedrawerNotesComponent);
|
|
5533
|
+
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-5uE0XcKu.mjs').then(m => m.CideLytDrawerThemeComponent);
|
|
5522
5534
|
}
|
|
5523
5535
|
async loadComponent(configFor) {
|
|
5524
5536
|
console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
|
|
@@ -7243,7 +7255,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7243
7255
|
},
|
|
7244
7256
|
{
|
|
7245
7257
|
path: "home",
|
|
7246
|
-
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-
|
|
7258
|
+
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-44J6ywiJ.mjs').then(c => c.CideLytHomeWrapperComponent),
|
|
7247
7259
|
canActivate: [authGuard],
|
|
7248
7260
|
data: {
|
|
7249
7261
|
sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
|
|
@@ -7251,7 +7263,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7251
7263
|
},
|
|
7252
7264
|
{
|
|
7253
7265
|
path: "dashboard-manager",
|
|
7254
|
-
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-
|
|
7266
|
+
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-D1E7EzFZ.mjs').then(c => c.DashboardManagerComponent),
|
|
7255
7267
|
canActivate: [authGuard],
|
|
7256
7268
|
data: {
|
|
7257
7269
|
sypg_page_code: "cide_lyt_dashboard_manager"
|
|
@@ -9075,4 +9087,4 @@ var floatingEntitySelection_component = /*#__PURE__*/Object.freeze({
|
|
|
9075
9087
|
*/
|
|
9076
9088
|
|
|
9077
9089
|
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-
|
|
9090
|
+
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-CAzDS9mo.mjs.map
|