cloud-ide-element 1.1.85 → 1.1.86

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/index.d.ts CHANGED
@@ -3076,6 +3076,14 @@ declare class CideEleDataGridComponent<T = Record<string, unknown>> implements O
3076
3076
  * // value === 'test@example.com'
3077
3077
  */
3078
3078
  getNestedValue(obj: T, path: string): unknown;
3079
+ /**
3080
+ * Extract ID from foreign key value generically
3081
+ * Handles both string IDs and nested objects (e.g., { _id: "...", name: "..." })
3082
+ * @param foreignKeyValue - The foreign key value (can be string, object, or null/undefined)
3083
+ * @param primaryKey - The primary key field name (defaults to '_id')
3084
+ * @returns The extracted ID as a string, or empty string if not found
3085
+ */
3086
+ private extractIdFromForeignKey;
3079
3087
  /**
3080
3088
  * Set a nested value in an object using dot notation
3081
3089
  * @param obj The object to modify
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-element",
3
- "version": "1.1.85",
3
+ "version": "1.1.86",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"