cloud-ide-element 1.0.83 → 1.0.84
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 +82 -66
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +43 -11
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1043,21 +1043,49 @@ 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
|
-
|
|
1046
|
+
localFiles: _angular_core.WritableSignal<Map<string, {
|
|
1047
1047
|
fileName: string;
|
|
1048
|
-
|
|
1048
|
+
stage: "pending" | "reading" | "uploading" | "complete" | "error";
|
|
1049
|
+
percentage?: number;
|
|
1050
|
+
completedAt?: Date;
|
|
1049
1051
|
groupId?: string;
|
|
1052
|
+
error?: string;
|
|
1050
1053
|
}>>;
|
|
1051
1054
|
uploadQueue: _angular_core.Signal<string[]>;
|
|
1052
1055
|
activeUploads: _angular_core.Signal<Map<string, cloud_ide_element.UploadProgress>>;
|
|
1053
1056
|
hasUploads: _angular_core.Signal<boolean>;
|
|
1054
|
-
pendingUploads: _angular_core.Signal<
|
|
1055
|
-
|
|
1057
|
+
pendingUploads: _angular_core.Signal<{
|
|
1058
|
+
fileName: string;
|
|
1059
|
+
stage: "pending" | "reading" | "uploading" | "complete" | "error";
|
|
1060
|
+
percentage?: number;
|
|
1061
|
+
completedAt?: Date;
|
|
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<{
|
|
1056
1074
|
fileName: string;
|
|
1057
|
-
|
|
1075
|
+
stage: "pending" | "reading" | "uploading" | "complete" | "error";
|
|
1076
|
+
percentage?: number;
|
|
1077
|
+
completedAt?: Date;
|
|
1058
1078
|
groupId?: string;
|
|
1059
|
-
|
|
1060
|
-
|
|
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
|
+
}[]>;
|
|
1061
1089
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1062
1090
|
constructor();
|
|
1063
1091
|
ngOnInit(): void;
|
|
@@ -1143,13 +1171,17 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1143
1171
|
*/
|
|
1144
1172
|
getFileNameFromId(fileId: string): string;
|
|
1145
1173
|
/**
|
|
1146
|
-
* Add
|
|
1174
|
+
* Add file to local state
|
|
1175
|
+
*/
|
|
1176
|
+
private addLocalFile;
|
|
1177
|
+
/**
|
|
1178
|
+
* Update local file state
|
|
1147
1179
|
*/
|
|
1148
|
-
private
|
|
1180
|
+
private updateLocalFile;
|
|
1149
1181
|
/**
|
|
1150
|
-
* Clear all
|
|
1182
|
+
* Clear all local files
|
|
1151
1183
|
*/
|
|
1152
|
-
|
|
1184
|
+
clearLocalFiles(): void;
|
|
1153
1185
|
/**
|
|
1154
1186
|
* Set current user ID
|
|
1155
1187
|
*/
|