cloud-ide-element 1.0.84 → 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 +69 -84
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +19 -52
- 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,49 +1043,14 @@ 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
|
-
localFiles: _angular_core.WritableSignal<Map<string, {
|
|
1047
|
-
fileName: string;
|
|
1048
|
-
stage: "pending" | "reading" | "uploading" | "complete" | "error";
|
|
1049
|
-
percentage?: number;
|
|
1050
|
-
completedAt?: Date;
|
|
1051
|
-
groupId?: string;
|
|
1052
|
-
error?: string;
|
|
1053
|
-
}>>;
|
|
1054
1046
|
uploadQueue: _angular_core.Signal<string[]>;
|
|
1055
1047
|
activeUploads: _angular_core.Signal<Map<string, cloud_ide_element.UploadProgress>>;
|
|
1056
1048
|
hasUploads: _angular_core.Signal<boolean>;
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
groupId?: string;
|
|
1063
|
-
error?: string;
|
|
1064
|
-
}[]>;
|
|
1065
|
-
activeUploadsLocal: _angular_core.Signal<{
|
|
1066
|
-
fileName: string;
|
|
1067
|
-
stage: "pending" | "reading" | "uploading" | "complete" | "error";
|
|
1068
|
-
percentage?: number;
|
|
1069
|
-
completedAt?: Date;
|
|
1070
|
-
groupId?: string;
|
|
1071
|
-
error?: string;
|
|
1072
|
-
}[]>;
|
|
1073
|
-
completedUploads: _angular_core.Signal<{
|
|
1074
|
-
fileName: string;
|
|
1075
|
-
stage: "pending" | "reading" | "uploading" | "complete" | "error";
|
|
1076
|
-
percentage?: number;
|
|
1077
|
-
completedAt?: Date;
|
|
1078
|
-
groupId?: string;
|
|
1079
|
-
error?: string;
|
|
1080
|
-
}[]>;
|
|
1081
|
-
failedUploads: _angular_core.Signal<{
|
|
1082
|
-
fileName: string;
|
|
1083
|
-
stage: "pending" | "reading" | "uploading" | "complete" | "error";
|
|
1084
|
-
percentage?: number;
|
|
1085
|
-
completedAt?: Date;
|
|
1086
|
-
groupId?: string;
|
|
1087
|
-
error?: string;
|
|
1088
|
-
}[]>;
|
|
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[]>;
|
|
1053
|
+
failedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
1089
1054
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1090
1055
|
constructor();
|
|
1091
1056
|
ngOnInit(): void;
|
|
@@ -1171,17 +1136,14 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1171
1136
|
*/
|
|
1172
1137
|
getFileNameFromId(fileId: string): string;
|
|
1173
1138
|
/**
|
|
1174
|
-
*
|
|
1175
|
-
*/
|
|
1176
|
-
private addLocalFile;
|
|
1177
|
-
/**
|
|
1178
|
-
* Update local file state
|
|
1179
|
-
*/
|
|
1180
|
-
private updateLocalFile;
|
|
1181
|
-
/**
|
|
1182
|
-
* Clear all local files
|
|
1139
|
+
* Get all files from service state (pending + active uploads)
|
|
1183
1140
|
*/
|
|
1184
|
-
|
|
1141
|
+
getAllFiles(): {
|
|
1142
|
+
fileId: string;
|
|
1143
|
+
fileName: string;
|
|
1144
|
+
stage: string;
|
|
1145
|
+
percentage?: number;
|
|
1146
|
+
}[];
|
|
1185
1147
|
/**
|
|
1186
1148
|
* Set current user ID
|
|
1187
1149
|
*/
|
|
@@ -2189,6 +2151,11 @@ declare class CideEleFileManagerService {
|
|
|
2189
2151
|
clearError(): void;
|
|
2190
2152
|
getUploadProgress(fileId: string): UploadProgress | undefined;
|
|
2191
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;
|
|
2192
2159
|
/**
|
|
2193
2160
|
* Angular 20: File validation utility
|
|
2194
2161
|
*/
|