cloud-ide-element 1.0.83 → 1.0.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 +81 -80
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +18 -19
- package/package.json +1 -1
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<"
|
|
603
|
+
readonly uploadStatus: _angular_core.WritableSignal<"error" | "start" | "success" | "uploading" | "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: "
|
|
689
|
+
uploadStatus: "error" | "start" | "success" | "uploading" | "idle";
|
|
690
690
|
isUploading: boolean;
|
|
691
691
|
uploadProgress: number;
|
|
692
692
|
files: {
|
|
@@ -1043,20 +1043,13 @@ 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
|
-
}>>;
|
|
1051
1046
|
uploadQueue: _angular_core.Signal<string[]>;
|
|
1052
1047
|
activeUploads: _angular_core.Signal<Map<string, cloud_ide_element.UploadProgress>>;
|
|
1053
1048
|
hasUploads: _angular_core.Signal<boolean>;
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
groupId?: string;
|
|
1059
|
-
} | cloud_ide_element.UploadProgress)[]>;
|
|
1049
|
+
hasActiveUploads: _angular_core.Signal<boolean>;
|
|
1050
|
+
pendingUploads: _angular_core.Signal<string[]>;
|
|
1051
|
+
activeUploadsLocal: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
1052
|
+
completedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
1060
1053
|
failedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
1061
1054
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1062
1055
|
constructor();
|
|
@@ -1143,13 +1136,14 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1143
1136
|
*/
|
|
1144
1137
|
getFileNameFromId(fileId: string): string;
|
|
1145
1138
|
/**
|
|
1146
|
-
*
|
|
1139
|
+
* Get all files from service state (pending + active uploads)
|
|
1147
1140
|
*/
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1141
|
+
getAllFiles(): {
|
|
1142
|
+
fileId: string;
|
|
1143
|
+
fileName: string;
|
|
1144
|
+
stage: string;
|
|
1145
|
+
percentage?: number;
|
|
1146
|
+
}[];
|
|
1153
1147
|
/**
|
|
1154
1148
|
* Set current user ID
|
|
1155
1149
|
*/
|
|
@@ -2157,6 +2151,11 @@ declare class CideEleFileManagerService {
|
|
|
2157
2151
|
clearError(): void;
|
|
2158
2152
|
getUploadProgress(fileId: string): UploadProgress | undefined;
|
|
2159
2153
|
cancelUpload(fileId: string): void;
|
|
2154
|
+
/**
|
|
2155
|
+
* Clear all completed uploads from active uploads
|
|
2156
|
+
* Called when the floating uploader is closed
|
|
2157
|
+
*/
|
|
2158
|
+
clearCompletedUploads(): void;
|
|
2160
2159
|
/**
|
|
2161
2160
|
* Angular 20: File validation utility
|
|
2162
2161
|
*/
|