cloud-ide-element 1.0.58 → 1.0.60
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
|
@@ -607,6 +607,9 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
607
607
|
private generatePreviews;
|
|
608
608
|
private clearPreviews;
|
|
609
609
|
private isImageFile;
|
|
610
|
+
private loadFileDetailsFromId;
|
|
611
|
+
private isImageFileFromName;
|
|
612
|
+
private isImageFileFromType;
|
|
610
613
|
removePreview(index: number): void;
|
|
611
614
|
ngOnDestroy(): void;
|
|
612
615
|
triggerFileSelect(): void;
|
|
@@ -1457,6 +1460,21 @@ declare class NotificationService {
|
|
|
1457
1460
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<NotificationService>;
|
|
1458
1461
|
}
|
|
1459
1462
|
|
|
1463
|
+
declare class ICoreCyfm {
|
|
1464
|
+
_id?: string;
|
|
1465
|
+
cyfm_name?: string;
|
|
1466
|
+
cyfm_alt_text?: string;
|
|
1467
|
+
cyfm_path?: string;
|
|
1468
|
+
cyfm_size_in_byte?: number;
|
|
1469
|
+
cyfm_type?: string;
|
|
1470
|
+
cyfm_creation_dt?: string;
|
|
1471
|
+
cyfm_id_user?: string;
|
|
1472
|
+
cyfm_permissions?: [];
|
|
1473
|
+
cyfm_tags?: string[];
|
|
1474
|
+
cyfm_version?: number;
|
|
1475
|
+
cyfm_file_status_sygmt?: string;
|
|
1476
|
+
cyfm_isactive?: boolean;
|
|
1477
|
+
}
|
|
1460
1478
|
interface controllerResponse {
|
|
1461
1479
|
success?: boolean;
|
|
1462
1480
|
error_code?: string;
|
|
@@ -1471,6 +1489,20 @@ interface controllerResponse {
|
|
|
1471
1489
|
[key: string]: string;
|
|
1472
1490
|
};
|
|
1473
1491
|
}
|
|
1492
|
+
type IFileManagerErrorLogger = {
|
|
1493
|
+
[key in keyof MFileManager]: string;
|
|
1494
|
+
};
|
|
1495
|
+
declare class MFileManager {
|
|
1496
|
+
cyfm_id: string;
|
|
1497
|
+
constructor(init: MFileManager);
|
|
1498
|
+
Validate?(): Partial<IFileManagerErrorLogger>;
|
|
1499
|
+
}
|
|
1500
|
+
interface fileManagerResponseData extends ICoreCyfm {
|
|
1501
|
+
cyfm_file_base64: string;
|
|
1502
|
+
}
|
|
1503
|
+
interface fileManagerControllerResponse extends controllerResponse {
|
|
1504
|
+
data?: fileManagerResponseData[];
|
|
1505
|
+
}
|
|
1474
1506
|
interface CoreFileManagerInsertUpdateResponse extends controllerResponse {
|
|
1475
1507
|
data?: {
|
|
1476
1508
|
core_file_manager: {
|
|
@@ -1551,6 +1583,12 @@ declare class CideEleFileManagerService {
|
|
|
1551
1583
|
* Angular 20: Enhanced error handling
|
|
1552
1584
|
*/
|
|
1553
1585
|
private handleError;
|
|
1586
|
+
/**
|
|
1587
|
+
* Get file details by ID
|
|
1588
|
+
* @param fileId The file ID to fetch details for
|
|
1589
|
+
* @returns Observable with file details
|
|
1590
|
+
*/
|
|
1591
|
+
getFileDetails(fileId: MFileManager): Observable<fileManagerControllerResponse>;
|
|
1554
1592
|
/**
|
|
1555
1593
|
* Angular 20: Service utility methods
|
|
1556
1594
|
*/
|