cloud-ide-element 1.0.79 → 1.0.81
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 +128 -10
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +28 -2
- package/package.json +1 -1
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<"
|
|
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: "
|
|
679
|
+
uploadStatus: "uploading" | "error" | "start" | "success" | "idle";
|
|
680
680
|
isUploading: boolean;
|
|
681
681
|
uploadProgress: number;
|
|
682
682
|
files: {
|
|
@@ -1032,6 +1032,12 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1032
1032
|
isVisible: _angular_core.WritableSignal<boolean>;
|
|
1033
1033
|
isMinimized: _angular_core.WritableSignal<boolean>;
|
|
1034
1034
|
currentUserId: _angular_core.WritableSignal<string>;
|
|
1035
|
+
uploadQueue: _angular_core.Signal<string[]>;
|
|
1036
|
+
activeUploads: _angular_core.Signal<Map<string, cloud_ide_element.UploadProgress>>;
|
|
1037
|
+
hasUploads: _angular_core.Signal<boolean>;
|
|
1038
|
+
pendingUploads: _angular_core.Signal<boolean>;
|
|
1039
|
+
completedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
1040
|
+
failedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
1035
1041
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1036
1042
|
constructor();
|
|
1037
1043
|
ngOnInit(): void;
|
|
@@ -1096,6 +1102,26 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1096
1102
|
* Get upload summary text
|
|
1097
1103
|
*/
|
|
1098
1104
|
getUploadSummary(): string;
|
|
1105
|
+
/**
|
|
1106
|
+
* Get overall progress percentage
|
|
1107
|
+
*/
|
|
1108
|
+
getOverallProgress(): number;
|
|
1109
|
+
/**
|
|
1110
|
+
* Get status icon based on upload stage
|
|
1111
|
+
*/
|
|
1112
|
+
getStatusIcon(stage: string): string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Get status class based on upload stage
|
|
1115
|
+
*/
|
|
1116
|
+
getStatusClass(stage: string): string;
|
|
1117
|
+
/**
|
|
1118
|
+
* Cancel upload
|
|
1119
|
+
*/
|
|
1120
|
+
cancelUpload(fileId: string): void;
|
|
1121
|
+
/**
|
|
1122
|
+
* Get file name from file ID (extract from the ID format)
|
|
1123
|
+
*/
|
|
1124
|
+
getFileNameFromId(fileId: string): string;
|
|
1099
1125
|
/**
|
|
1100
1126
|
* Set current user ID
|
|
1101
1127
|
*/
|