cloud-ide-element 1.0.79 → 1.0.80
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 +161 -10
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +40 -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.WritableSignal<IFileUploadQueueItem[]>;
|
|
1036
|
+
hasUploads: _angular_core.Signal<boolean>;
|
|
1037
|
+
pendingUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
1038
|
+
activeUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
1039
|
+
completedUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
1040
|
+
failedUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
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
|
|
1111
|
+
*/
|
|
1112
|
+
getStatusIcon(status: IFileUploadQueueItem['status']): string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Get status class
|
|
1115
|
+
*/
|
|
1116
|
+
getStatusClass(status: IFileUploadQueueItem['status']): string;
|
|
1117
|
+
/**
|
|
1118
|
+
* Cancel upload
|
|
1119
|
+
*/
|
|
1120
|
+
cancelUpload(fileId: string): void;
|
|
1121
|
+
/**
|
|
1122
|
+
* Retry upload
|
|
1123
|
+
*/
|
|
1124
|
+
retryUpload(fileId: string): void;
|
|
1099
1125
|
/**
|
|
1100
1126
|
* Set current user ID
|
|
1101
1127
|
*/
|
|
@@ -1105,6 +1131,18 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1105
1131
|
* This can be called by other components to trigger the floating uploader
|
|
1106
1132
|
*/
|
|
1107
1133
|
handleExternalFiles(files: File[], userId?: string): void;
|
|
1134
|
+
/**
|
|
1135
|
+
* Generate unique file ID
|
|
1136
|
+
*/
|
|
1137
|
+
private generateFileId;
|
|
1138
|
+
/**
|
|
1139
|
+
* Update upload progress
|
|
1140
|
+
*/
|
|
1141
|
+
private updateUploadProgress;
|
|
1142
|
+
/**
|
|
1143
|
+
* Update upload status
|
|
1144
|
+
*/
|
|
1145
|
+
private updateUploadStatus;
|
|
1108
1146
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleFloatingFileUploaderComponent, never>;
|
|
1109
1147
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFloatingFileUploaderComponent, "cide-ele-floating-file-uploader", never, {}, {}, never, never, true, never>;
|
|
1110
1148
|
}
|