cloud-ide-element 1.0.80 → 1.0.81
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 +55 -88
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +11 -23
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1032,12 +1032,12 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1032
1032
|
isVisible: _angular_core.WritableSignal<boolean>;
|
|
1033
1033
|
isMinimized: _angular_core.WritableSignal<boolean>;
|
|
1034
1034
|
currentUserId: _angular_core.WritableSignal<string>;
|
|
1035
|
-
uploadQueue: _angular_core.
|
|
1035
|
+
uploadQueue: _angular_core.Signal<string[]>;
|
|
1036
|
+
activeUploads: _angular_core.Signal<Map<string, cloud_ide_element.UploadProgress>>;
|
|
1036
1037
|
hasUploads: _angular_core.Signal<boolean>;
|
|
1037
|
-
pendingUploads: _angular_core.Signal<
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
failedUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
1038
|
+
pendingUploads: _angular_core.Signal<boolean>;
|
|
1039
|
+
completedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
1040
|
+
failedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
1041
1041
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1042
1042
|
constructor();
|
|
1043
1043
|
ngOnInit(): void;
|
|
@@ -1107,21 +1107,21 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
getOverallProgress(): number;
|
|
1109
1109
|
/**
|
|
1110
|
-
* Get status icon
|
|
1110
|
+
* Get status icon based on upload stage
|
|
1111
1111
|
*/
|
|
1112
|
-
getStatusIcon(
|
|
1112
|
+
getStatusIcon(stage: string): string;
|
|
1113
1113
|
/**
|
|
1114
|
-
* Get status class
|
|
1114
|
+
* Get status class based on upload stage
|
|
1115
1115
|
*/
|
|
1116
|
-
getStatusClass(
|
|
1116
|
+
getStatusClass(stage: string): string;
|
|
1117
1117
|
/**
|
|
1118
1118
|
* Cancel upload
|
|
1119
1119
|
*/
|
|
1120
1120
|
cancelUpload(fileId: string): void;
|
|
1121
1121
|
/**
|
|
1122
|
-
*
|
|
1122
|
+
* Get file name from file ID (extract from the ID format)
|
|
1123
1123
|
*/
|
|
1124
|
-
|
|
1124
|
+
getFileNameFromId(fileId: string): string;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* Set current user ID
|
|
1127
1127
|
*/
|
|
@@ -1131,18 +1131,6 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1131
1131
|
* This can be called by other components to trigger the floating uploader
|
|
1132
1132
|
*/
|
|
1133
1133
|
handleExternalFiles(files: File[], userId?: string): void;
|
|
1134
|
-
/**
|
|
1135
|
-
* Generate unique file ID
|
|
1136
|
-
*/
|
|
1137
|
-
private generateFileId;
|
|
1138
|
-
/**
|
|
1139
|
-
* Update upload progress
|
|
1140
|
-
*/
|
|
1141
|
-
private updateUploadProgress;
|
|
1142
|
-
/**
|
|
1143
|
-
* Update upload status
|
|
1144
|
-
*/
|
|
1145
|
-
private updateUploadStatus;
|
|
1146
1134
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleFloatingFileUploaderComponent, never>;
|
|
1147
1135
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFloatingFileUploaderComponent, "cide-ele-floating-file-uploader", never, {}, {}, never, never, true, never>;
|
|
1148
1136
|
}
|