cloud-ide-element 1.0.78 → 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 +132 -150
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +28 -46
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1031,15 +1031,13 @@ 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>;
|
|
1035
|
+
uploadQueue: _angular_core.WritableSignal<IFileUploadQueueItem[]>;
|
|
1038
1036
|
hasUploads: _angular_core.Signal<boolean>;
|
|
1039
|
-
pendingUploads: _angular_core.Signal<
|
|
1040
|
-
activeUploads: _angular_core.Signal<
|
|
1041
|
-
completedUploads: _angular_core.Signal<
|
|
1042
|
-
failedUploads: _angular_core.Signal<
|
|
1037
|
+
pendingUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
1038
|
+
activeUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
1039
|
+
completedUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
1040
|
+
failedUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
1043
1041
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1044
1042
|
constructor();
|
|
1045
1043
|
ngOnInit(): void;
|
|
@@ -1081,9 +1079,9 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1081
1079
|
*/
|
|
1082
1080
|
private handleFiles;
|
|
1083
1081
|
/**
|
|
1084
|
-
* Update visibility
|
|
1082
|
+
* Update visibility - simplified for notification only
|
|
1085
1083
|
*/
|
|
1086
|
-
|
|
1084
|
+
updateVisibility(): void;
|
|
1087
1085
|
/**
|
|
1088
1086
|
* Show with animation
|
|
1089
1087
|
*/
|
|
@@ -1101,66 +1099,50 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
1101
1099
|
*/
|
|
1102
1100
|
close(): void;
|
|
1103
1101
|
/**
|
|
1104
|
-
*
|
|
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
|
|
1102
|
+
* Get upload summary text
|
|
1121
1103
|
*/
|
|
1122
|
-
|
|
1104
|
+
getUploadSummary(): string;
|
|
1123
1105
|
/**
|
|
1124
|
-
*
|
|
1106
|
+
* Get overall progress percentage
|
|
1125
1107
|
*/
|
|
1126
|
-
|
|
1108
|
+
getOverallProgress(): number;
|
|
1127
1109
|
/**
|
|
1128
1110
|
* Get status icon
|
|
1129
1111
|
*/
|
|
1130
|
-
getStatusIcon(status:
|
|
1112
|
+
getStatusIcon(status: IFileUploadQueueItem['status']): string;
|
|
1131
1113
|
/**
|
|
1132
1114
|
* Get status class
|
|
1133
1115
|
*/
|
|
1134
|
-
getStatusClass(status:
|
|
1116
|
+
getStatusClass(status: IFileUploadQueueItem['status']): string;
|
|
1135
1117
|
/**
|
|
1136
|
-
*
|
|
1118
|
+
* Cancel upload
|
|
1137
1119
|
*/
|
|
1138
|
-
|
|
1120
|
+
cancelUpload(fileId: string): void;
|
|
1139
1121
|
/**
|
|
1140
|
-
*
|
|
1122
|
+
* Retry upload
|
|
1141
1123
|
*/
|
|
1142
|
-
|
|
1124
|
+
retryUpload(fileId: string): void;
|
|
1143
1125
|
/**
|
|
1144
|
-
*
|
|
1126
|
+
* Set current user ID
|
|
1145
1127
|
*/
|
|
1146
|
-
|
|
1128
|
+
setCurrentUserId(userId: string): void;
|
|
1147
1129
|
/**
|
|
1148
|
-
*
|
|
1130
|
+
* Public method to handle files from external sources
|
|
1131
|
+
* This can be called by other components to trigger the floating uploader
|
|
1149
1132
|
*/
|
|
1150
|
-
|
|
1133
|
+
handleExternalFiles(files: File[], userId?: string): void;
|
|
1151
1134
|
/**
|
|
1152
|
-
*
|
|
1135
|
+
* Generate unique file ID
|
|
1153
1136
|
*/
|
|
1154
|
-
private
|
|
1137
|
+
private generateFileId;
|
|
1155
1138
|
/**
|
|
1156
|
-
*
|
|
1139
|
+
* Update upload progress
|
|
1157
1140
|
*/
|
|
1158
|
-
|
|
1141
|
+
private updateUploadProgress;
|
|
1159
1142
|
/**
|
|
1160
|
-
*
|
|
1161
|
-
* This can be called by other components to trigger the floating uploader
|
|
1143
|
+
* Update upload status
|
|
1162
1144
|
*/
|
|
1163
|
-
|
|
1145
|
+
private updateUploadStatus;
|
|
1164
1146
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleFloatingFileUploaderComponent, never>;
|
|
1165
1147
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFloatingFileUploaderComponent, "cide-ele-floating-file-uploader", never, {}, {}, never, never, true, never>;
|
|
1166
1148
|
}
|