cloud-ide-element 1.0.82 → 1.0.83
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
|
@@ -600,7 +600,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
600
600
|
readonly id: _angular_core.WritableSignal<string>;
|
|
601
601
|
readonly isUploading: _angular_core.WritableSignal<boolean>;
|
|
602
602
|
readonly uploadProgress: _angular_core.WritableSignal<number>;
|
|
603
|
-
readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "
|
|
603
|
+
readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "start" | "success" | "idle">;
|
|
604
604
|
readonly files: _angular_core.WritableSignal<FileList | null>;
|
|
605
605
|
readonly fileNames: _angular_core.WritableSignal<string[]>;
|
|
606
606
|
readonly previewUrls: _angular_core.WritableSignal<string[]>;
|
|
@@ -686,7 +686,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
686
686
|
multiple: boolean;
|
|
687
687
|
showPreview: boolean;
|
|
688
688
|
autoUpload: boolean;
|
|
689
|
-
uploadStatus: "uploading" | "error" | "
|
|
689
|
+
uploadStatus: "uploading" | "error" | "start" | "success" | "idle";
|
|
690
690
|
isUploading: boolean;
|
|
691
691
|
uploadProgress: number;
|
|
692
692
|
files: {
|
|
@@ -1043,11 +1043,20 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1043
1043
|
isMinimized: _angular_core.WritableSignal<boolean>;
|
|
1044
1044
|
currentUserId: _angular_core.WritableSignal<string>;
|
|
1045
1045
|
currentGroupId: _angular_core.WritableSignal<string | null>;
|
|
1046
|
+
completedFiles: _angular_core.WritableSignal<Map<string, {
|
|
1047
|
+
fileName: string;
|
|
1048
|
+
completedAt: Date;
|
|
1049
|
+
groupId?: string;
|
|
1050
|
+
}>>;
|
|
1046
1051
|
uploadQueue: _angular_core.Signal<string[]>;
|
|
1047
1052
|
activeUploads: _angular_core.Signal<Map<string, cloud_ide_element.UploadProgress>>;
|
|
1048
1053
|
hasUploads: _angular_core.Signal<boolean>;
|
|
1049
1054
|
pendingUploads: _angular_core.Signal<boolean>;
|
|
1050
|
-
completedUploads: _angular_core.Signal<
|
|
1055
|
+
completedUploads: _angular_core.Signal<({
|
|
1056
|
+
fileName: string;
|
|
1057
|
+
completedAt: Date;
|
|
1058
|
+
groupId?: string;
|
|
1059
|
+
} | cloud_ide_element.UploadProgress)[]>;
|
|
1051
1060
|
failedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
1052
1061
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1053
1062
|
constructor();
|
|
@@ -1133,6 +1142,14 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1133
1142
|
* Get file name from file ID (extract from the ID format)
|
|
1134
1143
|
*/
|
|
1135
1144
|
getFileNameFromId(fileId: string): string;
|
|
1145
|
+
/**
|
|
1146
|
+
* Add completed file to local state
|
|
1147
|
+
*/
|
|
1148
|
+
private addCompletedFile;
|
|
1149
|
+
/**
|
|
1150
|
+
* Clear all completed files
|
|
1151
|
+
*/
|
|
1152
|
+
clearCompletedFiles(): void;
|
|
1136
1153
|
/**
|
|
1137
1154
|
* Set current user ID
|
|
1138
1155
|
*/
|