cloud-ide-layout 1.0.182 → 1.0.183
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-l6s-ph1q.mjs → cloud-ide-layout-cloud-ide-layout-DKS9wXiJ.mjs} +69 -176
- package/fesm2022/{cloud-ide-layout-cloud-ide-layout-l6s-ph1q.mjs.map → cloud-ide-layout-cloud-ide-layout-DKS9wXiJ.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-BFmWPx5q.mjs → cloud-ide-layout-dashboard-manager.component-14bzX9WU.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-BFmWPx5q.mjs.map → cloud-ide-layout-dashboard-manager.component-14bzX9WU.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-HsFPpuk1.mjs → cloud-ide-layout-drawer-theme.component-CMznktiP.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-HsFPpuk1.mjs.map → cloud-ide-layout-drawer-theme.component-CMznktiP.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-C9F3Ph0U.mjs → cloud-ide-layout-home-wrapper.component-CjeRFIUF.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-C9F3Ph0U.mjs.map → cloud-ide-layout-home-wrapper.component-CjeRFIUF.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-9ZGNNWMi.mjs → cloud-ide-layout-sidedrawer-notes.component-S669EsVL.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-9ZGNNWMi.mjs.map → cloud-ide-layout-sidedrawer-notes.component-S669EsVL.mjs.map} +1 -1
- package/fesm2022/cloud-ide-layout.mjs +1 -1
- package/index.d.ts +0 -10
- package/package.json +1 -1
|
@@ -4734,82 +4734,11 @@ class CustomRouteReuseStrategy {
|
|
|
4734
4734
|
shouldReuseRoute(future, curr) {
|
|
4735
4735
|
return future.routeConfig === curr.routeConfig;
|
|
4736
4736
|
}
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
// 1. Try to construct the exact key first
|
|
4743
|
-
let exactKey = path;
|
|
4744
|
-
// Normalize path: remove leading slash if present
|
|
4745
|
-
if (exactKey.startsWith('/')) {
|
|
4746
|
-
exactKey = exactKey.substring(1);
|
|
4747
|
-
}
|
|
4748
|
-
// Attempt to construct key with params if they exist
|
|
4749
|
-
let exactKeyWithParams = exactKey;
|
|
4750
|
-
if (params && Object.keys(params).length > 0) {
|
|
4751
|
-
const queryParams = Object.keys(params)
|
|
4752
|
-
.sort()
|
|
4753
|
-
.map(key => `${key}=${params[key]}`)
|
|
4754
|
-
.join('&');
|
|
4755
|
-
exactKeyWithParams += '?' + queryParams;
|
|
4756
|
-
}
|
|
4757
|
-
// Check strict match first
|
|
4758
|
-
if (this.storedRoutes[exactKeyWithParams]) {
|
|
4759
|
-
console.log(`🎯 [RouteReuseStrategy] Found exact match for clearing: ${exactKeyWithParams}`);
|
|
4760
|
-
this.destroyAndRemove(exactKeyWithParams);
|
|
4761
|
-
return;
|
|
4762
|
-
}
|
|
4763
|
-
// Check if the key exists without params (sometimes stored without them if no reuseTab data at that moment)
|
|
4764
|
-
if (this.storedRoutes[exactKey]) {
|
|
4765
|
-
console.log(`🎯 [RouteReuseStrategy] Found path-only match for clearing: ${exactKey}`);
|
|
4766
|
-
this.destroyAndRemove(exactKey);
|
|
4767
|
-
return;
|
|
4768
|
-
}
|
|
4769
|
-
// 2. Fuzzy Match: Iterate through all keys to find a substantial match
|
|
4770
|
-
// This handles cases where params might be string vs number, or order differences not caught by simple sort
|
|
4771
|
-
console.log(`🔍 [RouteReuseStrategy] No exact match for ${exactKeyWithParams}. Searching candidates...`);
|
|
4772
|
-
const candidates = Object.keys(this.storedRoutes);
|
|
4773
|
-
for (const startKey of candidates) {
|
|
4774
|
-
// Check if the path part matches
|
|
4775
|
-
const [storedPath, storedQuery] = startKey.split('?');
|
|
4776
|
-
if (storedPath === exactKey || storedPath === '/' + exactKey) {
|
|
4777
|
-
// Path matches. Now check params if requested
|
|
4778
|
-
if (!params || Object.keys(params).length === 0) {
|
|
4779
|
-
// If we didn't ask for specific params, and we found a path match, this is likely it
|
|
4780
|
-
// BUT be careful not to delete a specific parameterized tab if we meant a generic one
|
|
4781
|
-
// For safety, if the stored route HAS params, but we didn't specify any, strictness might be needed.
|
|
4782
|
-
// For now, let's assume if path matches and we have no params, it's a match.
|
|
4783
|
-
console.log(`⚠️ [RouteReuseStrategy] Fuzzy match (Path match, input has no params): ${startKey}`);
|
|
4784
|
-
this.destroyAndRemove(startKey);
|
|
4785
|
-
return;
|
|
4786
|
-
}
|
|
4787
|
-
// Both have params, compare them
|
|
4788
|
-
if (storedQuery) {
|
|
4789
|
-
const storedParams = new URLSearchParams(storedQuery);
|
|
4790
|
-
let allParamsMatch = true;
|
|
4791
|
-
for (const key of Object.keys(params)) {
|
|
4792
|
-
const val = params[key];
|
|
4793
|
-
const storedVal = storedParams.get(key);
|
|
4794
|
-
// Loose equality for string/number match
|
|
4795
|
-
if (storedVal != val) {
|
|
4796
|
-
allParamsMatch = false;
|
|
4797
|
-
break;
|
|
4798
|
-
}
|
|
4799
|
-
}
|
|
4800
|
-
if (allParamsMatch) {
|
|
4801
|
-
console.log(`⚠️ [RouteReuseStrategy] Fuzzy match (Params match loose equality): ${startKey}`);
|
|
4802
|
-
this.destroyAndRemove(startKey);
|
|
4803
|
-
return;
|
|
4804
|
-
}
|
|
4805
|
-
}
|
|
4806
|
-
}
|
|
4807
|
-
}
|
|
4808
|
-
console.warn(`❌ [RouteReuseStrategy] Could not find route to clear for: ${path}`, params);
|
|
4809
|
-
}
|
|
4810
|
-
// Private helper to destroy component and remove from map
|
|
4811
|
-
destroyAndRemove(key) {
|
|
4812
|
-
const handle = this.storedRoutes[key];
|
|
4737
|
+
// Clears a stored route, typically when a tab is closed.
|
|
4738
|
+
// This method now properly destroys the component instance to prevent memory leaks
|
|
4739
|
+
// and ensure old data doesn't persist when reopening the same route.
|
|
4740
|
+
clearStoredRoute(pathKey) {
|
|
4741
|
+
const handle = this.storedRoutes[pathKey];
|
|
4813
4742
|
if (handle) {
|
|
4814
4743
|
// Properly destroy the component instance to prevent memory leaks
|
|
4815
4744
|
// and ensure clean state when the route is reopened
|
|
@@ -4821,14 +4750,14 @@ class CustomRouteReuseStrategy {
|
|
|
4821
4750
|
const componentRef = handle;
|
|
4822
4751
|
// Verify it has hostView (ComponentRef signature)
|
|
4823
4752
|
if (componentRef.hostView || componentRef.location) {
|
|
4824
|
-
console.log(`🗑️ Destroying component instance (ComponentRef) for route: ${
|
|
4753
|
+
console.log(`🗑️ Destroying component instance (ComponentRef) for route: ${pathKey}`);
|
|
4825
4754
|
componentRef.destroy();
|
|
4826
4755
|
}
|
|
4827
4756
|
}
|
|
4828
4757
|
// Method 2: Check if handle is a ViewContainerRef
|
|
4829
4758
|
if (handle && typeof handle.clear === 'function' && typeof handle.length === 'number') {
|
|
4830
4759
|
const viewContainerRef = handle;
|
|
4831
|
-
console.log(`🗑️ Clearing view container for route: ${
|
|
4760
|
+
console.log(`🗑️ Clearing view container for route: ${pathKey}`);
|
|
4832
4761
|
viewContainerRef.clear();
|
|
4833
4762
|
}
|
|
4834
4763
|
// Method 3: Check if handle is an object with nested ComponentRef
|
|
@@ -4850,19 +4779,19 @@ class CustomRouteReuseStrategy {
|
|
|
4850
4779
|
componentRef = handleObj._componentRef;
|
|
4851
4780
|
}
|
|
4852
4781
|
if (componentRef) {
|
|
4853
|
-
console.log(`🗑️ Destroying component instance from handle object for route: ${
|
|
4782
|
+
console.log(`🗑️ Destroying component instance from handle object for route: ${pathKey}`);
|
|
4854
4783
|
componentRef.destroy();
|
|
4855
4784
|
}
|
|
4856
4785
|
// Also try to clear view container if it exists
|
|
4857
4786
|
if (handleObj.viewContainerRef && typeof handleObj.viewContainerRef.clear === 'function') {
|
|
4858
|
-
console.log(`🗑️ Clearing view container from handle object for route: ${
|
|
4787
|
+
console.log(`🗑️ Clearing view container from handle object for route: ${pathKey}`);
|
|
4859
4788
|
handleObj.viewContainerRef.clear();
|
|
4860
4789
|
}
|
|
4861
4790
|
// Try to destroy any nested components
|
|
4862
4791
|
if (handleObj.components && Array.isArray(handleObj.components)) {
|
|
4863
4792
|
handleObj.components.forEach((comp, index) => {
|
|
4864
4793
|
if (comp && typeof comp.destroy === 'function') {
|
|
4865
|
-
console.log(`🗑️ Destroying nested component ${index} for route: ${
|
|
4794
|
+
console.log(`🗑️ Destroying nested component ${index} for route: ${pathKey}`);
|
|
4866
4795
|
comp.destroy();
|
|
4867
4796
|
}
|
|
4868
4797
|
});
|
|
@@ -4870,41 +4799,21 @@ class CustomRouteReuseStrategy {
|
|
|
4870
4799
|
}
|
|
4871
4800
|
}
|
|
4872
4801
|
catch (error) {
|
|
4873
|
-
console.warn(`⚠️ Error destroying route handle for ${
|
|
4802
|
+
console.warn(`⚠️ Error destroying route handle for ${pathKey}:`, error);
|
|
4874
4803
|
}
|
|
4875
4804
|
// Remove from stored routes - this ensures shouldAttach will return false for this route
|
|
4876
|
-
delete this.storedRoutes[
|
|
4877
|
-
console.log(`✅ Cleared stored route: ${
|
|
4805
|
+
delete this.storedRoutes[pathKey];
|
|
4806
|
+
console.log(`✅ Cleared stored route: ${pathKey} (removed from storedRoutes map)`);
|
|
4878
4807
|
}
|
|
4879
4808
|
else {
|
|
4880
|
-
console.log(`ℹ️ No stored route found for: ${
|
|
4809
|
+
console.log(`ℹ️ No stored route found for: ${pathKey}`);
|
|
4881
4810
|
}
|
|
4882
4811
|
}
|
|
4883
|
-
/**
|
|
4884
|
-
* Legacy method for backward compatibility, redirects to new clearRoute or destroys directly if key provided
|
|
4885
|
-
* @deprecated Use clearRoute instead
|
|
4886
|
-
*/
|
|
4887
|
-
clearStoredRoute(pathKey) {
|
|
4888
|
-
this.destroyAndRemove(pathKey);
|
|
4889
|
-
}
|
|
4890
4812
|
// Clears all stored routes (useful for cleanup)
|
|
4891
|
-
// This method ensures all component instances are destroyed and removed from DOM
|
|
4892
4813
|
clearAllStoredRoutes() {
|
|
4893
|
-
|
|
4894
|
-
console.log(`🧹 [RouteReuseStrategy] Clearing ${routeKeys.length} stored route(s) to remove components from DOM`);
|
|
4895
|
-
routeKeys.forEach(pathKey => {
|
|
4814
|
+
Object.keys(this.storedRoutes).forEach(pathKey => {
|
|
4896
4815
|
this.clearStoredRoute(pathKey);
|
|
4897
4816
|
});
|
|
4898
|
-
// Double-check that all routes are cleared
|
|
4899
|
-
const remainingRoutes = Object.keys(this.storedRoutes).length;
|
|
4900
|
-
if (remainingRoutes > 0) {
|
|
4901
|
-
console.warn(`⚠️ [RouteReuseStrategy] ${remainingRoutes} route(s) still remain after clearing. Force clearing...`);
|
|
4902
|
-
// Force clear any remaining routes
|
|
4903
|
-
Object.keys(this.storedRoutes).forEach(pathKey => {
|
|
4904
|
-
delete this.storedRoutes[pathKey];
|
|
4905
|
-
});
|
|
4906
|
-
}
|
|
4907
|
-
console.log(`✅ [RouteReuseStrategy] All stored routes cleared. Components should be removed from DOM.`);
|
|
4908
4817
|
}
|
|
4909
4818
|
// Gets the count of stored routes (useful for debugging)
|
|
4910
4819
|
getStoredRoutesCount() {
|
|
@@ -5050,8 +4959,6 @@ class CideLytRequestService {
|
|
|
5050
4959
|
tabStateService = inject(TabStateService);
|
|
5051
4960
|
sidedrawerService = inject(CideLytSidedrawerService);
|
|
5052
4961
|
sharedService = inject(CideLytSharedService);
|
|
5053
|
-
floatingContainerService = inject(CideEleFloatingContainerService);
|
|
5054
|
-
appStateService = inject(AppStateService);
|
|
5055
4962
|
constructor() {
|
|
5056
4963
|
// Initialize router
|
|
5057
4964
|
this.router = inject(Router);
|
|
@@ -5060,12 +4967,6 @@ class CideLytRequestService {
|
|
|
5060
4967
|
this.sharedService.registerTabManagement(this.handleRouteBasedTabManagement.bind(this));
|
|
5061
4968
|
// Register request visibility callback
|
|
5062
4969
|
this.sharedService.registerRequestVisibility(this.handleRequestVisibility.bind(this));
|
|
5063
|
-
// Register entity change handler with AppStateService to close tabs when entity changes
|
|
5064
|
-
// This is safe because AppStateService no longer imports CideLytRequestService
|
|
5065
|
-
this.appStateService.registerEntityChangeHandler((entity) => {
|
|
5066
|
-
console.log('🏢 [RequestService] Entity changed, closing all tabs:', entity?._id);
|
|
5067
|
-
this.closeAllTabs();
|
|
5068
|
-
});
|
|
5069
4970
|
}
|
|
5070
4971
|
/**
|
|
5071
4972
|
* Handle request visibility changes from shared service
|
|
@@ -5118,8 +5019,16 @@ class CideLytRequestService {
|
|
|
5118
5019
|
const id = this.generateId();
|
|
5119
5020
|
const currentTabs = this.tabsSignal();
|
|
5120
5021
|
console.log('currentTabs', currentTabs, route);
|
|
5121
|
-
//
|
|
5122
|
-
|
|
5022
|
+
// Check if a tab with the same route and params already exists
|
|
5023
|
+
const existingTab = currentTabs.find((tab) => {
|
|
5024
|
+
const paramsMatch = JSON.stringify(tab.params || {}) === JSON.stringify(params || {});
|
|
5025
|
+
return tab.route === route && paramsMatch;
|
|
5026
|
+
});
|
|
5027
|
+
console.log('existingTab', existingTab);
|
|
5028
|
+
if (existingTab) {
|
|
5029
|
+
this.activateTab(existingTab.id);
|
|
5030
|
+
return existingTab.id;
|
|
5031
|
+
}
|
|
5123
5032
|
// Create new tab
|
|
5124
5033
|
const newTab = {
|
|
5125
5034
|
id,
|
|
@@ -5158,10 +5067,21 @@ class CideLytRequestService {
|
|
|
5158
5067
|
console.warn('⚠️ Tab not found:', tabId);
|
|
5159
5068
|
return;
|
|
5160
5069
|
}
|
|
5161
|
-
//
|
|
5162
|
-
//
|
|
5163
|
-
|
|
5164
|
-
|
|
5070
|
+
// Before navigating, ensure the route is fresh by clearing any cached state
|
|
5071
|
+
// This prevents old component data from persisting when reopening a tab
|
|
5072
|
+
if (this.routeReuseStrategy instanceof CustomRouteReuseStrategy) {
|
|
5073
|
+
let pathKey = tabToActivate.route.startsWith('/') ? tabToActivate.route.substring(1) : tabToActivate.route;
|
|
5074
|
+
if (tabToActivate.params && Object.keys(tabToActivate.params).length > 0) {
|
|
5075
|
+
const queryParamsString = Object.keys(tabToActivate.params)
|
|
5076
|
+
.sort()
|
|
5077
|
+
.map(key => `${key}=${tabToActivate.params[key]}`)
|
|
5078
|
+
.join('&');
|
|
5079
|
+
pathKey += '?' + queryParamsString;
|
|
5080
|
+
}
|
|
5081
|
+
// Clear any cached route to ensure fresh component state
|
|
5082
|
+
this.routeReuseStrategy.clearStoredRoute(pathKey);
|
|
5083
|
+
console.log(`🔄 REQUEST SERVICE: Cleared cached route ${pathKey} before activating tab`);
|
|
5084
|
+
}
|
|
5165
5085
|
// Update tabs: deactivate all, then activate the target
|
|
5166
5086
|
const updatedTabs = tabs.map(tab => ({
|
|
5167
5087
|
...tab,
|
|
@@ -5189,17 +5109,20 @@ class CideLytRequestService {
|
|
|
5189
5109
|
// Sync with TabStateService by removing the tab state
|
|
5190
5110
|
this.tabStateService.removeTab(id);
|
|
5191
5111
|
// Clear stored route from strategy and ensure proper component cleanup
|
|
5192
|
-
// Clear stored route from strategy and ensure proper component cleanup
|
|
5193
5112
|
if (this.routeReuseStrategy instanceof CustomRouteReuseStrategy) {
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5113
|
+
let pathKey = tabToClose.route.startsWith('/') ? tabToClose.route.substring(1) : tabToClose.route;
|
|
5114
|
+
if (tabToClose.params && Object.keys(tabToClose.params).length > 0) {
|
|
5115
|
+
const queryParamsString = Object.keys(tabToClose.params)
|
|
5116
|
+
.sort()
|
|
5117
|
+
.map(key => `${key}=${tabToClose.params[key]}`)
|
|
5118
|
+
.join('&');
|
|
5119
|
+
pathKey += '?' + queryParamsString;
|
|
5120
|
+
}
|
|
5121
|
+
// Clear the stored route and destroy the component instance
|
|
5122
|
+
this.routeReuseStrategy.clearStoredRoute(pathKey);
|
|
5123
|
+
// Force a route refresh to ensure clean component state
|
|
5124
|
+
// This prevents old data from persisting when the same route is reopened
|
|
5125
|
+
console.log(`🧹 REQUEST SERVICE: Cleared stored route for ${pathKey} and destroyed component instance`);
|
|
5203
5126
|
}
|
|
5204
5127
|
// Remove the tab from this service's list
|
|
5205
5128
|
const newTabs = currentTabs.filter((tab) => tab.id !== id);
|
|
@@ -5225,50 +5148,11 @@ class CideLytRequestService {
|
|
|
5225
5148
|
this.tabStateService.setActiveTab(null);
|
|
5226
5149
|
// Clear sidedrawer as no tabs are open
|
|
5227
5150
|
this.sidedrawerService.updateDrawerItems(undefined);
|
|
5228
|
-
// Redirect to home screen when all tabs are closed
|
|
5229
|
-
// Use replaceUrl to prevent back navigation to closed tabs and ensure clean state
|
|
5230
|
-
this.router.navigate(['/control-panel'], { replaceUrl: true });
|
|
5231
5151
|
}
|
|
5232
5152
|
this.tabsSignal.set(newTabs);
|
|
5233
5153
|
// Request wrapper visibility is now controlled by layout configuration
|
|
5234
5154
|
// The wrapper will be hidden/shown based on sytm_layout_request.status in setPageData
|
|
5235
5155
|
}
|
|
5236
|
-
/**
|
|
5237
|
-
* Close all tabs and navigate to home
|
|
5238
|
-
* This is used when entity changes to ensure all components are destroyed and refreshed
|
|
5239
|
-
* IMPORTANT: This method ensures all tab components are removed from DOM by:
|
|
5240
|
-
* 1. Clearing all stored routes from route reuse strategy (destroys component instances)
|
|
5241
|
-
* 2. Clearing all tabs from TabStateService
|
|
5242
|
-
* 3. Navigating to home to clear router outlet
|
|
5243
|
-
*/
|
|
5244
|
-
closeAllTabs() {
|
|
5245
|
-
console.log('🧹 REQUEST SERVICE: Closing all tabs due to entity change');
|
|
5246
|
-
const currentTabs = this.tabsSignal();
|
|
5247
|
-
// Close all floating containers first
|
|
5248
|
-
this.floatingContainerService.hideAll();
|
|
5249
|
-
console.log('🧹 REQUEST SERVICE: Closed all floating containers');
|
|
5250
|
-
// Clear all tabs from TabStateService first
|
|
5251
|
-
currentTabs.forEach(tab => {
|
|
5252
|
-
this.tabStateService.removeTab(tab.id);
|
|
5253
|
-
});
|
|
5254
|
-
// Clear ALL stored routes from route reuse strategy
|
|
5255
|
-
// This ensures all component instances are destroyed and removed from DOM
|
|
5256
|
-
if (this.routeReuseStrategy instanceof CustomRouteReuseStrategy) {
|
|
5257
|
-
console.log('🧹 REQUEST SERVICE: Clearing all stored routes to remove components from DOM');
|
|
5258
|
-
this.routeReuseStrategy.clearAllStoredRoutes();
|
|
5259
|
-
console.log('✅ REQUEST SERVICE: All stored routes cleared, components destroyed');
|
|
5260
|
-
}
|
|
5261
|
-
// Clear all tabs from signals
|
|
5262
|
-
this.tabsSignal.set([]);
|
|
5263
|
-
this.activeTabIdSignal.set(null);
|
|
5264
|
-
this.tabStateService.setActiveTab(null);
|
|
5265
|
-
// Clear sidedrawer
|
|
5266
|
-
this.sidedrawerService.updateDrawerItems(undefined);
|
|
5267
|
-
// Navigate to home - this ensures router outlet is cleared and any remaining components are removed
|
|
5268
|
-
// Use replaceUrl to prevent back navigation to closed tabs
|
|
5269
|
-
this.router.navigate(['/control-panel'], { replaceUrl: true });
|
|
5270
|
-
console.log('✅ REQUEST SERVICE: All tabs and floating containers closed, navigated to home');
|
|
5271
|
-
}
|
|
5272
5156
|
// Hide Request
|
|
5273
5157
|
hideRequest() {
|
|
5274
5158
|
console.log('🚫 REQUEST SERVICE - Hiding request wrapper');
|
|
@@ -5305,8 +5189,17 @@ class CideLytRequestService {
|
|
|
5305
5189
|
*/
|
|
5306
5190
|
forceRefreshRoute(route, params) {
|
|
5307
5191
|
if (this.routeReuseStrategy instanceof CustomRouteReuseStrategy) {
|
|
5308
|
-
|
|
5309
|
-
|
|
5192
|
+
let pathKey = route.startsWith('/') ? route.substring(1) : route;
|
|
5193
|
+
if (params && Object.keys(params).length > 0) {
|
|
5194
|
+
const queryParamsString = Object.keys(params)
|
|
5195
|
+
.sort()
|
|
5196
|
+
.map(key => `${key}=${params[key]}`)
|
|
5197
|
+
.join('&');
|
|
5198
|
+
pathKey += '?' + queryParamsString;
|
|
5199
|
+
}
|
|
5200
|
+
// Clear the stored route to force a fresh component instance
|
|
5201
|
+
this.routeReuseStrategy.clearStoredRoute(pathKey);
|
|
5202
|
+
console.log(`🔄 REQUEST SERVICE: Force refreshed route ${pathKey}`);
|
|
5310
5203
|
}
|
|
5311
5204
|
}
|
|
5312
5205
|
/**
|
|
@@ -5412,8 +5305,8 @@ class CideLytSidedrawerWrapperComponent {
|
|
|
5412
5305
|
}
|
|
5413
5306
|
ngOnInit() {
|
|
5414
5307
|
// Initialize the component map (You'd likely populate this from a config or service)
|
|
5415
|
-
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-
|
|
5416
|
-
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-
|
|
5308
|
+
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-S669EsVL.mjs').then(m => m.CideLytSidedrawerNotesComponent);
|
|
5309
|
+
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-CMznktiP.mjs').then(m => m.CideLytDrawerThemeComponent);
|
|
5417
5310
|
}
|
|
5418
5311
|
async loadComponent(configFor) {
|
|
5419
5312
|
console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
|
|
@@ -7105,7 +6998,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7105
6998
|
},
|
|
7106
6999
|
{
|
|
7107
7000
|
path: "home",
|
|
7108
|
-
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-
|
|
7001
|
+
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-CjeRFIUF.mjs').then(c => c.CideLytHomeWrapperComponent),
|
|
7109
7002
|
canActivate: [authGuard],
|
|
7110
7003
|
data: {
|
|
7111
7004
|
sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
|
|
@@ -7113,7 +7006,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
7113
7006
|
},
|
|
7114
7007
|
{
|
|
7115
7008
|
path: "dashboard-manager",
|
|
7116
|
-
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-
|
|
7009
|
+
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-14bzX9WU.mjs').then(c => c.DashboardManagerComponent),
|
|
7117
7010
|
canActivate: [authGuard],
|
|
7118
7011
|
data: {
|
|
7119
7012
|
sypg_page_code: "cide_lyt_dashboard_manager"
|
|
@@ -8937,4 +8830,4 @@ var floatingEntitySelection_component = /*#__PURE__*/Object.freeze({
|
|
|
8937
8830
|
*/
|
|
8938
8831
|
|
|
8939
8832
|
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 };
|
|
8940
|
-
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-
|
|
8833
|
+
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-DKS9wXiJ.mjs.map
|