@memberjunction/ng-explorer-core 5.8.0 → 5.10.0

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.
@@ -28,6 +28,12 @@ export interface CachedComponentInfo {
28
28
  export declare class ComponentCacheManager {
29
29
  private appRef;
30
30
  private cache;
31
+ /**
32
+ * Maximum number of detached (not currently visible) components to keep
33
+ * cached. When exceeded, least-recently-used detached components are
34
+ * evicted. Set to 0 to disable eviction (legacy behavior). Default: 20.
35
+ */
36
+ static MaxDetachedComponents: number;
31
37
  constructor(appRef: ApplicationRef);
32
38
  /**
33
39
  * Generate a unique cache key from resource identity
@@ -53,6 +59,11 @@ export declare class ComponentCacheManager {
53
59
  * Mark a component as detached (available for reuse)
54
60
  */
55
61
  markAsDetached(tabId: string): CachedComponentInfo | null;
62
+ /**
63
+ * Evict least-recently-used detached components when over the limit.
64
+ * Only evicts components that are not currently attached to a tab.
65
+ */
66
+ private EvictIfNeeded;
56
67
  /**
57
68
  * Get component info by tab ID (for finding what's attached to a tab)
58
69
  */
@@ -1 +1 @@
1
- {"version":3,"file":"component-cache-manager.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shell/components/tabs/component-cache-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAElC,YAAY,EAAE,YAAY,CAAC,qBAAqB,CAAC,CAAC;IAGlD,cAAc,EAAE,WAAW,CAAC;IAG5B,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAG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Q,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACrC;CAqBF"}
1
+ {"version":3,"file":"component-cache-manager.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shell/components/tabs/component-cache-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAElC,YAAY,EAAE,YAAY,CAAC,qBAAqB,CAAC,CAAC;IAGlD,cAAc,EAAE,WAAW,CAAC;IAG5B,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAG/B,QAAQ,EAAE,IAAI,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAGhB,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED;;;;;;;;GAQG;AACH,qBAAa,qBAAqB;IAUpB,OAAO,CAAC,MAAM;IAT1B,OAAO,CAAC,KAAK,CAA0C;IAEvD;;;;OAIG;IACH,OAAc,qBAAqB,EAAE,MAAM,CAAM;gBAE7B,MAAM,EAAE,cAAc;IAE1C;;OAEG;IACH,OAAO,CAAC,WAAW;IAMnB;;OAEG;IACH,qBAAqB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;IAMrF;;OAEG;IACH,kBAAkB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,mBAAmB,GAAG,IAAI;IAgBrG;;OAEG;IACH,cAAc,CACZ,YAAY,EAAE,YAAY,CAAC,qBAAqB,CAAC,EACjD,cAAc,EAAE,WAAW,EAC3B,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,MAAM,GACZ,IAAI;IAuBP;;OAEG;IACH,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAW1F;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,mBAAmB,GAAG,IAAI;IAmBzD;;;OAGG;IACH,OAAO,CAAC,aAAa;IAerB;;OAEG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,mBAAmB,GAAG,IAAI;IAO9D;;OAEG;IACH,gBAAgB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAiB7E;;OAEG;IACH,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAmB5C;;;OAGG;IACH,UAAU,IAAI,IAAI;IAYlB;;OAEG;IACH,aAAa,IAAI;QACf,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACrC;CAqBF"}
@@ -10,6 +10,12 @@
10
10
  export class ComponentCacheManager {
11
11
  appRef;
12
12
  cache = new Map();
13
+ /**
14
+ * Maximum number of detached (not currently visible) components to keep
15
+ * cached. When exceeded, least-recently-used detached components are
16
+ * evicted. Set to 0 to disable eviction (legacy behavior). Default: 20.
17
+ */
18
+ static MaxDetachedComponents = 20;
13
19
  constructor(appRef) {
14
20
  this.appRef = appRef;
15
21
  }
@@ -89,8 +95,26 @@ export class ComponentCacheManager {
89
95
  info.isAttached = false;
90
96
  info.attachedToTabId = null;
91
97
  info.lastUsed = new Date();
98
+ this.EvictIfNeeded();
92
99
  return info;
93
100
  }
101
+ /**
102
+ * Evict least-recently-used detached components when over the limit.
103
+ * Only evicts components that are not currently attached to a tab.
104
+ */
105
+ EvictIfNeeded() {
106
+ if (ComponentCacheManager.MaxDetachedComponents <= 0)
107
+ return;
108
+ const detached = Array.from(this.cache.entries())
109
+ .filter(([_, info]) => !info.isAttached)
110
+ .sort((a, b) => a[1].lastUsed.getTime() - b[1].lastUsed.getTime());
111
+ while (detached.length > ComponentCacheManager.MaxDetachedComponents) {
112
+ const [key, info] = detached.shift();
113
+ this.appRef.detachView(info.componentRef.hostView);
114
+ info.componentRef.destroy();
115
+ this.cache.delete(key);
116
+ }
117
+ }
94
118
  /**
95
119
  * Get component info by tab ID (for finding what's attached to a tab)
96
120
  */
@@ -1 +1 @@
1
- {"version":3,"file":"component-cache-manager.js","sourceRoot":"","sources":["../../../../../src/lib/shell/components/tabs/component-cache-manager.ts"],"names":[],"mappings":"AA+BA;;;;;;;;GAQG;AACH,MAAM,OAAO,qBAAqB;IAGZ;IAFZ,KAAK,GAAG,IAAI,GAAG,EAA+B,CAAC;IAEvD,YAAoB,MAAsB;QAAtB,WAAM,GAAN,MAAM,CAAgB;IAAG,CAAC;IAE9C;;OAEG;IACK,WAAW,CAAC,YAAoB,EAAE,QAAgB,EAAE,KAAa;QACvE,8DAA8D;QAC9D,MAAM,kBAAkB,GAAG,QAAQ,IAAI,eAAe,CAAC;QACvD,OAAO,GAAG,KAAK,KAAK,YAAY,KAAK,kBAAkB,EAAE,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,qBAAqB,CAAC,YAAoB,EAAE,QAAgB,EAAE,KAAa;QACzE,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;QAC5D,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACjC,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zB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACxB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YACnD,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC;QAC9B,CAAC,CAAC,CAAC;QAEH,gBAAgB;QAChB,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,aAAa;QAMX,MAAM,KAAK,GAAG;YACZ,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;YACtB,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;YACX,cAAc,EAAE,IAAI,GAAG,EAAkB;SAC1C,CAAC;QAEF,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACxB,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACpB,KAAK,CAAC,QAAQ,EAAE,CAAC;YACnB,CAAC;iBAAM,CAAC;gBACN,KAAK,CAAC,QAAQ,EAAE,CAAC;YACnB,CAAC;YAED,MAAM,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YAC/D,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;QACzD,CAAC,CAAC,CAAC;QAEH,OAAO,KAAK,CAAC;IACf,CAAC;CACF","sourcesContent":["import { ComponentRef, ApplicationRef } from '@angular/core';\nimport { BaseResourceComponent } from '@memberjunction/ng-shared';\nimport { ResourceData } from '@memberjunction/core-entities';\n\n/**\n * Metadata about a cached component\n */\nexport interface CachedComponentInfo {\n // The Angular component reference\n componentRef: ComponentRef<BaseResourceComponent>;\n\n // The wrapper DOM element (for detaching/reattaching)\n wrapperElement: HTMLElement;\n\n // Resource identity (for matching)\n resourceType: string;\n resourceRecordId: string;\n applicationId: string;\n\n // Usage tracking\n isAttached: boolean; // Currently attached to a tab?\n attachedToTabId: string | null; // Which tab is it attached to?\n\n // Lifecycle tracking\n lastUsed: Date;\n createdAt: Date;\n\n // Resource data snapshot (for comparison)\n resourceData: ResourceData;\n}\n\n/**\n * Smart component cache manager that preserves component state across tab switches.\n *\n * Features:\n * - Caches components by resource identity (not just tab ID)\n * - Tracks component usage to prevent double-attachment\n * - Detaches/reattaches DOM elements without destroying Angular components\n * - Provides manual cache clearing (no automatic periodic cleanup)\n */\nexport class ComponentCacheManager {\n private cache = new Map<string, CachedComponentInfo>();\n\n constructor(private appRef: ApplicationRef) {}\n\n /**\n * Generate a unique cache key from resource identity\n */\n private getCacheKey(resourceType: string, recordId: string, appId: string): string {\n // Normalize empty/null recordId to ensure consistent matching\n const normalizedRecordId = recordId || '__no_record__';\n return `${appId}::${resourceType}::${normalizedRecordId}`;\n }\n\n /**\n * Check if a component exists in cache and is available for reuse\n */\n hasAvailableComponent(resourceType: string, recordId: string, appId: string): boolean {\n const key = this.getCacheKey(resourceType, recordId, appId);\n const info = this.cache.get(key);\n return info !== undefined && !info.isAttached;\n }\n\n /**\n * Get a cached component if available (not currently attached)\n */\n getCachedComponent(resourceType: string, recordId: string, appId: string): CachedComponentInfo | null {\n const key = this.getCacheKey(resourceType, recordId, appId);\n const info = this.cache.get(key);\n\n if (!info) {\n return null;\n }\n\n // Can only reuse if not currently attached elsewhere\n if (info.isAttached) {\n return null;\n }\n\n return info;\n }\n\n /**\n * Store a component in the cache\n */\n cacheComponent(\n componentRef: ComponentRef<BaseResourceComponent>,\n wrapperElement: HTMLElement,\n resourceData: ResourceData,\n tabId: string\n ): void {\n const key = this.getCacheKey(\n resourceData.ResourceType,\n resourceData.ResourceRecordID || '',\n resourceData.Configuration?.applicationId || ''\n );\n\n const info: CachedComponentInfo = {\n componentRef,\n wrapperElement,\n resourceType: resourceData.ResourceType,\n resourceRecordId: resourceData.ResourceRecordID || '',\n applicationId: resourceData.Configuration?.applicationId || '',\n isAttached: true,\n attachedToTabId: tabId,\n lastUsed: new Date(),\n createdAt: new Date(),\n resourceData\n };\n\n this.cache.set(key, info);\n }\n\n /**\n * Mark a component as attached to a tab\n */\n markAsAttached(resourceType: string, recordId: string, appId: string, tabId: string): void {\n const key = this.getCacheKey(resourceType, recordId, appId);\n const info = this.cache.get(key);\n\n if (info) {\n info.isAttached = true;\n info.attachedToTabId = tabId;\n info.lastUsed = new Date();\n }\n }\n\n /**\n * Mark a component as detached (available for reuse)\n */\n markAsDetached(tabId: string): CachedComponentInfo | null {\n // Find component by tab ID\n const entry = Array.from(this.cache.entries())\n .find(([_, info]) => info.attachedToTabId === tabId);\n\n if (!entry) {\n return null;\n }\n\n const [key, info] = entry;\n info.isAttached = false;\n info.attachedToTabId = null;\n info.lastUsed = new Date();\n\n return info;\n }\n\n /**\n * Get component info by tab ID (for finding what's attached to a tab)\n */\n getComponentByTabId(tabId: string): CachedComponentInfo | null {\n const entry = Array.from(this.cache.entries())\n .find(([_, info]) => info.attachedToTabId === tabId);\n\n return entry ? entry[1] : null;\n }\n\n /**\n * Remove and destroy a specific component from cache\n */\n destroyComponent(resourceType: string, recordId: string, appId: string): void {\n const key = this.getCacheKey(resourceType, recordId, appId);\n const info = this.cache.get(key);\n\n if (!info) {\n return;\n }\n\n // Destroy Angular component\n this.appRef.detachView(info.componentRef.hostView);\n info.componentRef.destroy();\n\n // Remove from cache\n this.cache.delete(key);\n\n }\n\n /**\n * Remove and destroy component by tab ID\n */\n destroyComponentByTabId(tabId: string): void {\n const entry = Array.from(this.cache.entries())\n .find(([_, info]) => info.attachedToTabId === tabId);\n\n if (!entry) {\n return;\n }\n\n const [key, info] = entry;\n\n // Destroy Angular component\n this.appRef.detachView(info.componentRef.hostView);\n info.componentRef.destroy();\n\n // Remove from cache\n this.cache.delete(key);\n\n }\n\n /**\n * Clear the entire cache, destroying all components\n * Call this manually when needed (e.g., user logout, app shutdown)\n */\n clearCache(): void {\n\n // Destroy all components\n this.cache.forEach(info => {\n this.appRef.detachView(info.componentRef.hostView);\n info.componentRef.destroy();\n });\n\n // Clear the map\n this.cache.clear();\n }\n\n /**\n * Get cache statistics for debugging\n */\n getCacheStats(): {\n total: number;\n attached: number;\n detached: number;\n byResourceType: Map<string, number>;\n } {\n const stats = {\n total: this.cache.size,\n attached: 0,\n detached: 0,\n byResourceType: new Map<string, number>()\n };\n\n this.cache.forEach(info => {\n if (info.isAttached) {\n stats.attached++;\n } else {\n stats.detached++;\n }\n\n const count = stats.byResourceType.get(info.resourceType) || 0;\n stats.byResourceType.set(info.resourceType, count + 1);\n });\n\n return stats;\n }\n}\n"]}
1
+ {"version":3,"file":"component-cache-manager.js","sourceRoot":"","sources":["../../../../../src/lib/shell/components/tabs/component-cache-manager.ts"],"names":[],"mappings":"AA+BA;;;;;;;;GAQG;AACH,MAAM,OAAO,qBAAqB;IAUZ;IATZ,KAAK,GAAG,IAAI,GAAG,EAA+B,CAAC;IAEvD;;;;OAIG;IACI,MAAM,CAAC,qBAAqB,GAAW,EAAE,CAAC;IAEjD,YAAoB,MAAsB;QAAtB,WAAM,GAAN,MAAM,CAAgB;IAAG,CAAC;IAE9C;;OAEG;IACK,WAAW,CAAC,YAAoB,EAAE,QAAgB,EAAE,KAAa;QACvE,8DAA8D;QAC9D,MAAM,kBAAkB,GAAG,QAAQ,IAAI,eAAe,CAAC;QACvD,OAAO,GAAG,KAAK,KAAK,YAAY,KAAK,kBAAkB,EAAE,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,qBAAqB,CAAC,YAAoB,EAAE,QAAgB,EAAE,KAAa;QACzE,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;QAC5D,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACjC,OAAO,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,U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AC;YACX,QAAQ,EAAE,CAAC;YACX,cAAc,EAAE,IAAI,GAAG,EAAkB;SAC1C,CAAC;QAEF,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACxB,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBACpB,KAAK,CAAC,QAAQ,EAAE,CAAC;YACnB,CAAC;iBAAM,CAAC;gBACN,KAAK,CAAC,QAAQ,EAAE,CAAC;YACnB,CAAC;YAED,MAAM,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YAC/D,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;QACzD,CAAC,CAAC,CAAC;QAEH,OAAO,KAAK,CAAC;IACf,CAAC","sourcesContent":["import { ComponentRef, ApplicationRef } from '@angular/core';\nimport { BaseResourceComponent } from '@memberjunction/ng-shared';\nimport { ResourceData } from '@memberjunction/core-entities';\n\n/**\n * Metadata about a cached component\n */\nexport interface CachedComponentInfo {\n // The Angular component reference\n componentRef: ComponentRef<BaseResourceComponent>;\n\n // The wrapper DOM element (for detaching/reattaching)\n wrapperElement: HTMLElement;\n\n // Resource identity (for matching)\n resourceType: string;\n resourceRecordId: string;\n applicationId: string;\n\n // Usage tracking\n isAttached: boolean; // Currently attached to a tab?\n attachedToTabId: string | null; // Which tab is it attached to?\n\n // Lifecycle tracking\n lastUsed: Date;\n createdAt: Date;\n\n // Resource data snapshot (for comparison)\n resourceData: ResourceData;\n}\n\n/**\n * Smart component cache manager that preserves component state across tab switches.\n *\n * Features:\n * - Caches components by resource identity (not just tab ID)\n * - Tracks component usage to prevent double-attachment\n * - Detaches/reattaches DOM elements without destroying Angular components\n * - Provides manual cache clearing (no automatic periodic cleanup)\n */\nexport class ComponentCacheManager {\n private cache = new Map<string, CachedComponentInfo>();\n\n /**\n * Maximum number of detached (not currently visible) components to keep\n * cached. When exceeded, least-recently-used detached components are\n * evicted. Set to 0 to disable eviction (legacy behavior). Default: 20.\n */\n public static MaxDetachedComponents: number = 20;\n\n constructor(private appRef: ApplicationRef) {}\n\n /**\n * Generate a unique cache key from resource identity\n */\n private getCacheKey(resourceType: string, recordId: string, appId: string): string {\n // Normalize empty/null recordId to ensure consistent matching\n const normalizedRecordId = recordId || '__no_record__';\n return `${appId}::${resourceType}::${normalizedRecordId}`;\n }\n\n /**\n * Check if a component exists in cache and is available for reuse\n */\n hasAvailableComponent(resourceType: string, recordId: string, appId: string): boolean {\n const key = this.getCacheKey(resourceType, recordId, appId);\n const info = this.cache.get(key);\n return info !== undefined && !info.isAttached;\n }\n\n /**\n * Get a cached component if available (not currently attached)\n */\n getCachedComponent(resourceType: string, recordId: string, appId: string): CachedComponentInfo | null {\n const key = this.getCacheKey(resourceType, recordId, appId);\n const info = this.cache.get(key);\n\n if (!info) {\n return null;\n }\n\n // Can only reuse if not currently attached elsewhere\n if (info.isAttached) {\n return null;\n }\n\n return info;\n }\n\n /**\n * Store a component in the cache\n */\n cacheComponent(\n componentRef: ComponentRef<BaseResourceComponent>,\n wrapperElement: HTMLElement,\n resourceData: ResourceData,\n tabId: string\n ): void {\n const key = this.getCacheKey(\n resourceData.ResourceType,\n resourceData.ResourceRecordID || '',\n resourceData.Configuration?.applicationId || ''\n );\n\n const info: CachedComponentInfo = {\n componentRef,\n wrapperElement,\n resourceType: resourceData.ResourceType,\n resourceRecordId: resourceData.ResourceRecordID || '',\n applicationId: resourceData.Configuration?.applicationId || '',\n isAttached: true,\n attachedToTabId: tabId,\n lastUsed: new Date(),\n createdAt: new Date(),\n resourceData\n };\n\n this.cache.set(key, info);\n }\n\n /**\n * Mark a component as attached to a tab\n */\n markAsAttached(resourceType: string, recordId: string, appId: string, tabId: string): void {\n const key = this.getCacheKey(resourceType, recordId, appId);\n const info = this.cache.get(key);\n\n if (info) {\n info.isAttached = true;\n info.attachedToTabId = tabId;\n info.lastUsed = new Date();\n }\n }\n\n /**\n * Mark a component as detached (available for reuse)\n */\n markAsDetached(tabId: string): CachedComponentInfo | null {\n // Find component by tab ID\n const entry = Array.from(this.cache.entries())\n .find(([_, info]) => info.attachedToTabId === tabId);\n\n if (!entry) {\n return null;\n }\n\n const [key, info] = entry;\n info.isAttached = false;\n info.attachedToTabId = null;\n info.lastUsed = new Date();\n\n this.EvictIfNeeded();\n\n return info;\n }\n\n /**\n * Evict least-recently-used detached components when over the limit.\n * Only evicts components that are not currently attached to a tab.\n */\n private EvictIfNeeded(): void {\n if (ComponentCacheManager.MaxDetachedComponents <= 0) return;\n\n const detached = Array.from(this.cache.entries())\n .filter(([_, info]) => !info.isAttached)\n .sort((a, b) => a[1].lastUsed.getTime() - b[1].lastUsed.getTime());\n\n while (detached.length > ComponentCacheManager.MaxDetachedComponents) {\n const [key, info] = detached.shift()!;\n this.appRef.detachView(info.componentRef.hostView);\n info.componentRef.destroy();\n this.cache.delete(key);\n }\n }\n\n /**\n * Get component info by tab ID (for finding what's attached to a tab)\n */\n getComponentByTabId(tabId: string): CachedComponentInfo | null {\n const entry = Array.from(this.cache.entries())\n .find(([_, info]) => info.attachedToTabId === tabId);\n\n return entry ? entry[1] : null;\n }\n\n /**\n * Remove and destroy a specific component from cache\n */\n destroyComponent(resourceType: string, recordId: string, appId: string): void {\n const key = this.getCacheKey(resourceType, recordId, appId);\n const info = this.cache.get(key);\n\n if (!info) {\n return;\n }\n\n // Destroy Angular component\n this.appRef.detachView(info.componentRef.hostView);\n info.componentRef.destroy();\n\n // Remove from cache\n this.cache.delete(key);\n\n }\n\n /**\n * Remove and destroy component by tab ID\n */\n destroyComponentByTabId(tabId: string): void {\n const entry = Array.from(this.cache.entries())\n .find(([_, info]) => info.attachedToTabId === tabId);\n\n if (!entry) {\n return;\n }\n\n const [key, info] = entry;\n\n // Destroy Angular component\n this.appRef.detachView(info.componentRef.hostView);\n info.componentRef.destroy();\n\n // Remove from cache\n this.cache.delete(key);\n\n }\n\n /**\n * Clear the entire cache, destroying all components\n * Call this manually when needed (e.g., user logout, app shutdown)\n */\n clearCache(): void {\n\n // Destroy all components\n this.cache.forEach(info => {\n this.appRef.detachView(info.componentRef.hostView);\n info.componentRef.destroy();\n });\n\n // Clear the map\n this.cache.clear();\n }\n\n /**\n * Get cache statistics for debugging\n */\n getCacheStats(): {\n total: number;\n attached: number;\n detached: number;\n byResourceType: Map<string, number>;\n } {\n const stats = {\n total: this.cache.size,\n attached: 0,\n detached: 0,\n byResourceType: new Map<string, number>()\n };\n\n this.cache.forEach(info => {\n if (info.isAttached) {\n stats.attached++;\n } else {\n stats.detached++;\n }\n\n const count = stats.byResourceType.get(info.resourceType) || 0;\n stats.byResourceType.set(info.resourceType, count + 1);\n });\n\n return stats;\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-explorer-core",
3
- "version": "5.8.0",
3
+ "version": "5.10.0",
4
4
  "description": "MemberJunction Explorer: Core Angular Components",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -30,39 +30,39 @@
30
30
  "@angular/cdk": "21.1.3",
31
31
  "@angular/platform-browser": "21.1.3",
32
32
  "@auth0/auth0-angular": "^2.6.0",
33
- "@memberjunction/ai-core-plus": "5.8.0",
34
- "@memberjunction/ai-engine-base": "5.8.0",
35
- "@memberjunction/communication-types": "5.8.0",
36
- "@memberjunction/core": "5.8.0",
37
- "@memberjunction/core-entities": "5.8.0",
38
- "@memberjunction/entity-communications-client": "5.8.0",
39
- "@memberjunction/global": "5.8.0",
40
- "@memberjunction/graphql-dataprovider": "5.8.0",
41
- "@memberjunction/ng-ai-test-harness": "5.8.0",
42
- "@memberjunction/ng-artifacts": "5.8.0",
43
- "@memberjunction/ng-auth-services": "5.8.0",
44
- "@memberjunction/ng-base-application": "5.8.0",
45
- "@memberjunction/ng-base-forms": "5.8.0",
46
- "@memberjunction/ng-container-directives": "5.8.0",
47
- "@memberjunction/ng-conversations": "5.8.0",
48
- "@memberjunction/ng-dashboards": "5.8.0",
49
- "@memberjunction/ng-entity-form-dialog": "5.8.0",
50
- "@memberjunction/ng-entity-permissions": "5.8.0",
51
- "@memberjunction/ng-dashboard-viewer": "5.8.0",
52
- "@memberjunction/ng-entity-viewer": "5.8.0",
53
- "@memberjunction/ng-list-detail-grid": "5.8.0",
54
- "@memberjunction/ng-explorer-settings": "5.8.0",
55
- "@memberjunction/ng-file-storage": "5.8.0",
56
- "@memberjunction/ng-generic-dialog": "5.8.0",
57
- "@memberjunction/ng-notifications": "5.8.0",
58
- "@memberjunction/ng-query-viewer": "5.8.0",
59
- "@memberjunction/ng-record-changes": "5.8.0",
60
- "@memberjunction/ng-record-selector": "5.8.0",
61
- "@memberjunction/ng-resource-permissions": "5.8.0",
62
- "@memberjunction/ng-shared": "5.8.0",
63
- "@memberjunction/ng-shared-generic": "5.8.0",
64
- "@memberjunction/ng-user-avatar": "5.8.0",
65
- "@memberjunction/templates-base-types": "5.8.0",
33
+ "@memberjunction/ai-core-plus": "5.10.0",
34
+ "@memberjunction/ai-engine-base": "5.10.0",
35
+ "@memberjunction/communication-types": "5.10.0",
36
+ "@memberjunction/core": "5.10.0",
37
+ "@memberjunction/core-entities": "5.10.0",
38
+ "@memberjunction/entity-communications-client": "5.10.0",
39
+ "@memberjunction/global": "5.10.0",
40
+ "@memberjunction/graphql-dataprovider": "5.10.0",
41
+ "@memberjunction/ng-ai-test-harness": "5.10.0",
42
+ "@memberjunction/ng-artifacts": "5.10.0",
43
+ "@memberjunction/ng-auth-services": "5.10.0",
44
+ "@memberjunction/ng-base-application": "5.10.0",
45
+ "@memberjunction/ng-base-forms": "5.10.0",
46
+ "@memberjunction/ng-container-directives": "5.10.0",
47
+ "@memberjunction/ng-conversations": "5.10.0",
48
+ "@memberjunction/ng-dashboards": "5.10.0",
49
+ "@memberjunction/ng-entity-form-dialog": "5.10.0",
50
+ "@memberjunction/ng-entity-permissions": "5.10.0",
51
+ "@memberjunction/ng-dashboard-viewer": "5.10.0",
52
+ "@memberjunction/ng-entity-viewer": "5.10.0",
53
+ "@memberjunction/ng-list-detail-grid": "5.10.0",
54
+ "@memberjunction/ng-explorer-settings": "5.10.0",
55
+ "@memberjunction/ng-file-storage": "5.10.0",
56
+ "@memberjunction/ng-generic-dialog": "5.10.0",
57
+ "@memberjunction/ng-notifications": "5.10.0",
58
+ "@memberjunction/ng-query-viewer": "5.10.0",
59
+ "@memberjunction/ng-record-changes": "5.10.0",
60
+ "@memberjunction/ng-record-selector": "5.10.0",
61
+ "@memberjunction/ng-resource-permissions": "5.10.0",
62
+ "@memberjunction/ng-shared": "5.10.0",
63
+ "@memberjunction/ng-shared-generic": "5.10.0",
64
+ "@memberjunction/ng-user-avatar": "5.10.0",
65
+ "@memberjunction/templates-base-types": "5.10.0",
66
66
  "@progress/kendo-angular-buttons": "22.0.1",
67
67
  "@progress/kendo-angular-dateinputs": "22.0.1",
68
68
  "@progress/kendo-angular-dialog": "22.0.1",