cloud-ide-layout 1.0.136 → 1.0.138

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 (18) hide show
  1. package/fesm2022/{cloud-ide-layout-cloud-ide-layout-CkYksc6R.mjs → cloud-ide-layout-cloud-ide-layout-CwOMv3cc.mjs} +20 -6
  2. package/fesm2022/cloud-ide-layout-cloud-ide-layout-CwOMv3cc.mjs.map +1 -0
  3. package/fesm2022/{cloud-ide-layout-dashboard-manager.component-BDqOLP6_.mjs → cloud-ide-layout-dashboard-manager.component-BVBKPq94.mjs} +2 -2
  4. package/fesm2022/{cloud-ide-layout-dashboard-manager.component-BDqOLP6_.mjs.map → cloud-ide-layout-dashboard-manager.component-BVBKPq94.mjs.map} +1 -1
  5. package/fesm2022/{cloud-ide-layout-drawer-theme.component-BEu-E1nX.mjs → cloud-ide-layout-drawer-theme.component-DvhSjxA0.mjs} +2 -2
  6. package/fesm2022/{cloud-ide-layout-drawer-theme.component-BEu-E1nX.mjs.map → cloud-ide-layout-drawer-theme.component-DvhSjxA0.mjs.map} +1 -1
  7. package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-C6ZUJZN9.mjs → cloud-ide-layout-floating-entity-selection.component-QL_SZ8AH.mjs} +2 -2
  8. package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-C6ZUJZN9.mjs.map → cloud-ide-layout-floating-entity-selection.component-QL_SZ8AH.mjs.map} +1 -1
  9. package/fesm2022/cloud-ide-layout-home-wrapper.component-DvvYg3nw.mjs +272 -0
  10. package/fesm2022/cloud-ide-layout-home-wrapper.component-DvvYg3nw.mjs.map +1 -0
  11. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-CtZeOFiG.mjs → cloud-ide-layout-sidedrawer-notes.component-8icfkbjy.mjs} +2 -2
  12. package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-CtZeOFiG.mjs.map → cloud-ide-layout-sidedrawer-notes.component-8icfkbjy.mjs.map} +1 -1
  13. package/fesm2022/cloud-ide-layout.mjs +1 -1
  14. package/index.d.ts +4 -0
  15. package/package.json +1 -1
  16. package/fesm2022/cloud-ide-layout-cloud-ide-layout-CkYksc6R.mjs.map +0 -1
  17. package/fesm2022/cloud-ide-layout-home-wrapper.component-Cvyafnc-.mjs +0 -272
  18. package/fesm2022/cloud-ide-layout-home-wrapper.component-Cvyafnc-.mjs.map +0 -1
@@ -808,9 +808,12 @@ class CideLytSharedService {
808
808
  // Enhanced reactive cache with signals
809
809
  pageDataCacheSignal = signal({}, ...(ngDevMode ? [{ debugName: "pageDataCacheSignal" }] : []));
810
810
  loadingStateSignal = signal({}, ...(ngDevMode ? [{ debugName: "loadingStateSignal" }] : []));
811
+ // Direct page data store for consumers to read without extra API calls
812
+ pageDataSignal = signal({}, ...(ngDevMode ? [{ debugName: "pageDataSignal" }] : []));
811
813
  // Public readonly access to cache
812
814
  pageDataCache = this.pageDataCacheSignal.asReadonly();
813
815
  loadingStates = this.loadingStateSignal.asReadonly();
816
+ pageDataStore = this.pageDataSignal.asReadonly();
814
817
  // Computed signal for cache status
815
818
  cacheInfo = computed(() => {
816
819
  const cache = this.pageDataCacheSignal();
@@ -1037,6 +1040,10 @@ class CideLytSharedService {
1037
1040
  ttl
1038
1041
  };
1039
1042
  this.pageDataCacheSignal.set(cache);
1043
+ // Also store raw page data for quick access
1044
+ const store = { ...this.pageDataSignal() };
1045
+ store[pageCode] = response;
1046
+ this.pageDataSignal.set(store);
1040
1047
  }
1041
1048
  setLoadingState(pageCode, loading) {
1042
1049
  const loadingStates = { ...this.loadingStateSignal() };
@@ -1169,6 +1176,13 @@ class CideLytSharedService {
1169
1176
  console.log('📋 REQUEST VISIBILITY - Hiding request wrapper (no config)');
1170
1177
  }
1171
1178
  }
1179
+ // Persist page data into signal store for reuse
1180
+ const pageCode = page_data_payload?.sypg_page_code || page_data_response?.data?.page?.sypg_page_code;
1181
+ if (pageCode) {
1182
+ const store = { ...this.pageDataSignal() };
1183
+ store[pageCode] = page_data_response;
1184
+ this.pageDataSignal.set(store);
1185
+ }
1172
1186
  }
1173
1187
  }
1174
1188
  /**
@@ -1353,7 +1367,7 @@ class CideLytFloatingEntitySelectionService {
1353
1367
  }
1354
1368
  try {
1355
1369
  // Use relative import to avoid circular dependency
1356
- const module = await import('./cloud-ide-layout-floating-entity-selection.component-C6ZUJZN9.mjs');
1370
+ const module = await import('./cloud-ide-layout-floating-entity-selection.component-QL_SZ8AH.mjs');
1357
1371
  if (module.CideLytFloatingEntitySelectionComponent) {
1358
1372
  this.containerService.registerComponent('entity-selection-header', module.CideLytFloatingEntitySelectionComponent);
1359
1373
  console.log('✅ Entity selection component registered successfully');
@@ -4964,8 +4978,8 @@ class CideLytSidedrawerWrapperComponent {
4964
4978
  }
4965
4979
  ngOnInit() {
4966
4980
  // Initialize the component map (You'd likely populate this from a config or service)
4967
- this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-CtZeOFiG.mjs').then(m => m.CideLytSidedrawerNotesComponent);
4968
- this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-BEu-E1nX.mjs').then(m => m.CideLytDrawerThemeComponent);
4981
+ this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-8icfkbjy.mjs').then(m => m.CideLytSidedrawerNotesComponent);
4982
+ this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-DvhSjxA0.mjs').then(m => m.CideLytDrawerThemeComponent);
4969
4983
  }
4970
4984
  async loadComponent(configFor) {
4971
4985
  console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
@@ -6657,7 +6671,7 @@ const layoutControlPannelChildRoutes = [{
6657
6671
  },
6658
6672
  {
6659
6673
  path: "home",
6660
- loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-Cvyafnc-.mjs').then(c => c.CideLytHomeWrapperComponent),
6674
+ loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-DvvYg3nw.mjs').then(c => c.CideLytHomeWrapperComponent),
6661
6675
  canActivate: [authGuard],
6662
6676
  data: {
6663
6677
  sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
@@ -6665,7 +6679,7 @@ const layoutControlPannelChildRoutes = [{
6665
6679
  },
6666
6680
  {
6667
6681
  path: "dashboard-manager",
6668
- loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-BDqOLP6_.mjs').then(c => c.DashboardManagerComponent),
6682
+ loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-BVBKPq94.mjs').then(c => c.DashboardManagerComponent),
6669
6683
  canActivate: [authGuard],
6670
6684
  data: {
6671
6685
  sypg_page_code: "cide_lyt_dashboard_manager"
@@ -8232,4 +8246,4 @@ var floatingEntityRightsSharing_component = /*#__PURE__*/Object.freeze({
8232
8246
  */
8233
8247
 
8234
8248
  export { AppStateHelperService as A, CideLytSharedWrapperComponent as C, ENVIRONMENT_CONFIG as E, NotificationSettingsService as N, RightsService as R, CideLytSidebarService as a, CideLytRequestService as b, CideLytSidedrawerService as c, CideLytThemeService as d, AppStateService as e, CloudIdeLayoutService as f, CloudIdeLayoutComponent as g, CideLytSharedService as h, ComponentContextService as i, layoutControlPannelChildRoutes as j, CustomRouteReuseStrategy 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 };
8235
- //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-CkYksc6R.mjs.map
8249
+ //# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-CwOMv3cc.mjs.map