cloud-ide-element 1.0.75 → 1.0.76
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
|
@@ -595,7 +595,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
595
595
|
readonly id: _angular_core.WritableSignal<string>;
|
|
596
596
|
readonly isUploading: _angular_core.WritableSignal<boolean>;
|
|
597
597
|
readonly uploadProgress: _angular_core.WritableSignal<number>;
|
|
598
|
-
readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "
|
|
598
|
+
readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "start" | "success" | "idle">;
|
|
599
599
|
readonly files: _angular_core.WritableSignal<FileList | null>;
|
|
600
600
|
readonly fileNames: _angular_core.WritableSignal<string[]>;
|
|
601
601
|
readonly previewUrls: _angular_core.WritableSignal<string[]>;
|
|
@@ -676,7 +676,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
676
676
|
multiple: boolean;
|
|
677
677
|
showPreview: boolean;
|
|
678
678
|
autoUpload: boolean;
|
|
679
|
-
uploadStatus: "uploading" | "error" | "
|
|
679
|
+
uploadStatus: "uploading" | "error" | "start" | "success" | "idle";
|
|
680
680
|
isUploading: boolean;
|
|
681
681
|
uploadProgress: number;
|
|
682
682
|
files: {
|
|
@@ -969,6 +969,10 @@ declare class CideEleGlobalFileUploaderComponent {
|
|
|
969
969
|
* Update upload status
|
|
970
970
|
*/
|
|
971
971
|
private updateUploadStatus;
|
|
972
|
+
/**
|
|
973
|
+
* Update upload status by cyfm_temp_unique_id
|
|
974
|
+
*/
|
|
975
|
+
private updateUploadStatusByTempId;
|
|
972
976
|
/**
|
|
973
977
|
* Handle upload error
|
|
974
978
|
*/
|
|
@@ -1006,7 +1010,8 @@ declare class CideEleGlobalFileUploaderComponent {
|
|
|
1006
1010
|
*/
|
|
1007
1011
|
getFileSizeDisplay(file: File): string;
|
|
1008
1012
|
/**
|
|
1009
|
-
* Generate unique file ID
|
|
1013
|
+
* Generate unique file ID - this should match the service's generateFileId method
|
|
1014
|
+
* The service uses: ${file.name}_${file.size}_${Date.now()}
|
|
1010
1015
|
*/
|
|
1011
1016
|
private generateFileId;
|
|
1012
1017
|
/**
|