cloud-ide-element 1.0.78 → 1.0.79
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 +17 -186
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +4 -60
- 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<"error" | "start" | "success" | "uploading" | "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: "error" | "start" | "success" | "uploading" | "idle";
|
|
680
680
|
isUploading: boolean;
|
|
681
681
|
uploadProgress: number;
|
|
682
682
|
files: {
|
|
@@ -1031,15 +1031,7 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1031
1031
|
private fileManagerService;
|
|
1032
1032
|
isVisible: _angular_core.WritableSignal<boolean>;
|
|
1033
1033
|
isMinimized: _angular_core.WritableSignal<boolean>;
|
|
1034
|
-
uploadQueue: _angular_core.WritableSignal<IFileUploadProgress[]>;
|
|
1035
|
-
isUploading: _angular_core.WritableSignal<boolean>;
|
|
1036
|
-
uploadProgress: _angular_core.WritableSignal<number>;
|
|
1037
1034
|
currentUserId: _angular_core.WritableSignal<string>;
|
|
1038
|
-
hasUploads: _angular_core.Signal<boolean>;
|
|
1039
|
-
pendingUploads: _angular_core.Signal<IFileUploadProgress[]>;
|
|
1040
|
-
activeUploads: _angular_core.Signal<IFileUploadProgress[]>;
|
|
1041
|
-
completedUploads: _angular_core.Signal<IFileUploadProgress[]>;
|
|
1042
|
-
failedUploads: _angular_core.Signal<IFileUploadProgress[]>;
|
|
1043
1035
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1044
1036
|
constructor();
|
|
1045
1037
|
ngOnInit(): void;
|
|
@@ -1081,9 +1073,9 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1081
1073
|
*/
|
|
1082
1074
|
private handleFiles;
|
|
1083
1075
|
/**
|
|
1084
|
-
* Update visibility
|
|
1076
|
+
* Update visibility - simplified for notification only
|
|
1085
1077
|
*/
|
|
1086
|
-
|
|
1078
|
+
updateVisibility(): void;
|
|
1087
1079
|
/**
|
|
1088
1080
|
* Show with animation
|
|
1089
1081
|
*/
|
|
@@ -1100,58 +1092,10 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1100
1092
|
* Close the floating uploader
|
|
1101
1093
|
*/
|
|
1102
1094
|
close(): void;
|
|
1103
|
-
/**
|
|
1104
|
-
* Clear all uploads
|
|
1105
|
-
*/
|
|
1106
|
-
clearAllUploads(): void;
|
|
1107
|
-
/**
|
|
1108
|
-
* Clear completed uploads
|
|
1109
|
-
*/
|
|
1110
|
-
clearCompletedUploads(): void;
|
|
1111
|
-
/**
|
|
1112
|
-
* Cancel upload
|
|
1113
|
-
*/
|
|
1114
|
-
cancelUpload(fileId: string): void;
|
|
1115
|
-
/**
|
|
1116
|
-
* Retry upload
|
|
1117
|
-
*/
|
|
1118
|
-
retryUpload(fileId: string): void;
|
|
1119
|
-
/**
|
|
1120
|
-
* Update upload progress
|
|
1121
|
-
*/
|
|
1122
|
-
private updateUploadProgress;
|
|
1123
|
-
/**
|
|
1124
|
-
* Update upload status
|
|
1125
|
-
*/
|
|
1126
|
-
private updateUploadStatus;
|
|
1127
|
-
/**
|
|
1128
|
-
* Get status icon
|
|
1129
|
-
*/
|
|
1130
|
-
getStatusIcon(status: IFileUploadProgress['status']): string;
|
|
1131
|
-
/**
|
|
1132
|
-
* Get status class
|
|
1133
|
-
*/
|
|
1134
|
-
getStatusClass(status: IFileUploadProgress['status']): string;
|
|
1135
|
-
/**
|
|
1136
|
-
* Get file size display
|
|
1137
|
-
*/
|
|
1138
|
-
getFileSizeDisplay(size: number): string;
|
|
1139
|
-
/**
|
|
1140
|
-
* Get overall progress percentage
|
|
1141
|
-
*/
|
|
1142
|
-
getOverallProgress(): number;
|
|
1143
1095
|
/**
|
|
1144
1096
|
* Get upload summary text
|
|
1145
1097
|
*/
|
|
1146
1098
|
getUploadSummary(): string;
|
|
1147
|
-
/**
|
|
1148
|
-
* Generate unique file ID
|
|
1149
|
-
*/
|
|
1150
|
-
private generateFileId;
|
|
1151
|
-
/**
|
|
1152
|
-
* Extract file name from file ID
|
|
1153
|
-
*/
|
|
1154
|
-
private extractFileNameFromId;
|
|
1155
1099
|
/**
|
|
1156
1100
|
* Set current user ID
|
|
1157
1101
|
*/
|