cloud-ide-element 1.1.84 → 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/fesm2022/cloud-ide-element.mjs +253 -20
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +22 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2812,6 +2812,7 @@ declare class CideEleDataGridComponent<T = Record<string, unknown>> implements O
|
|
|
2812
2812
|
showManageColumnsModal: _angular_core.WritableSignal<boolean>;
|
|
2813
2813
|
groupedColumns: _angular_core.WritableSignal<string[]>;
|
|
2814
2814
|
expandedGroups: _angular_core.WritableSignal<Set<string>>;
|
|
2815
|
+
private hasAutoExpandedGroups;
|
|
2815
2816
|
showExportMenu: _angular_core.WritableSignal<boolean>;
|
|
2816
2817
|
showFilterDropdown: _angular_core.WritableSignal<boolean>;
|
|
2817
2818
|
private exportService;
|
|
@@ -2839,6 +2840,10 @@ declare class CideEleDataGridComponent<T = Record<string, unknown>> implements O
|
|
|
2839
2840
|
* Initialize default grouping for columns with groupable: true
|
|
2840
2841
|
*/
|
|
2841
2842
|
private initializeDefaultGrouping;
|
|
2843
|
+
/**
|
|
2844
|
+
* Check if groups should be auto-expanded (only on initial load)
|
|
2845
|
+
*/
|
|
2846
|
+
private shouldAutoExpandGroups;
|
|
2842
2847
|
/**
|
|
2843
2848
|
* Get the unique identifier for an item
|
|
2844
2849
|
*/
|
|
@@ -2880,6 +2885,15 @@ declare class CideEleDataGridComponent<T = Record<string, unknown>> implements O
|
|
|
2880
2885
|
* Flatten tree structure for display, respecting expansion state with unlimited nesting
|
|
2881
2886
|
*/
|
|
2882
2887
|
private flattenTreeForDisplay;
|
|
2888
|
+
/**
|
|
2889
|
+
* Flatten tree structure for grouping while preserving parent-child relationships
|
|
2890
|
+
*/
|
|
2891
|
+
private flattenTreeForGrouping;
|
|
2892
|
+
/**
|
|
2893
|
+
* Restore tree structure within grouped data
|
|
2894
|
+
* This method processes grouped data and restores parent-child relationships
|
|
2895
|
+
*/
|
|
2896
|
+
private restoreTreeStructureInGroups;
|
|
2883
2897
|
/**
|
|
2884
2898
|
* Toggle expand/collapse state of a tree item with unlimited nesting support
|
|
2885
2899
|
*/
|
|
@@ -3062,6 +3076,14 @@ declare class CideEleDataGridComponent<T = Record<string, unknown>> implements O
|
|
|
3062
3076
|
* // value === 'test@example.com'
|
|
3063
3077
|
*/
|
|
3064
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;
|
|
3065
3087
|
/**
|
|
3066
3088
|
* Set a nested value in an object using dot notation
|
|
3067
3089
|
* @param obj The object to modify
|