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/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<IFileUploadProgress[]>;
1040
- activeUploads: _angular_core.Signal<IFileUploadProgress[]>;
1041
- completedUploads: _angular_core.Signal<IFileUploadProgress[]>;
1042
- failedUploads: _angular_core.Signal<IFileUploadProgress[]>;
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 based on upload state
1082
+ * Update visibility - simplified for notification only
1085
1083
  */
1086
- private updateVisibility;
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
- * 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
1102
+ * Get upload summary text
1121
1103
  */
1122
- private updateUploadProgress;
1104
+ getUploadSummary(): string;
1123
1105
  /**
1124
- * Update upload status
1106
+ * Get overall progress percentage
1125
1107
  */
1126
- private updateUploadStatus;
1108
+ getOverallProgress(): number;
1127
1109
  /**
1128
1110
  * Get status icon
1129
1111
  */
1130
- getStatusIcon(status: IFileUploadProgress['status']): string;
1112
+ getStatusIcon(status: IFileUploadQueueItem['status']): string;
1131
1113
  /**
1132
1114
  * Get status class
1133
1115
  */
1134
- getStatusClass(status: IFileUploadProgress['status']): string;
1116
+ getStatusClass(status: IFileUploadQueueItem['status']): string;
1135
1117
  /**
1136
- * Get file size display
1118
+ * Cancel upload
1137
1119
  */
1138
- getFileSizeDisplay(size: number): string;
1120
+ cancelUpload(fileId: string): void;
1139
1121
  /**
1140
- * Get overall progress percentage
1122
+ * Retry upload
1141
1123
  */
1142
- getOverallProgress(): number;
1124
+ retryUpload(fileId: string): void;
1143
1125
  /**
1144
- * Get upload summary text
1126
+ * Set current user ID
1145
1127
  */
1146
- getUploadSummary(): string;
1128
+ setCurrentUserId(userId: string): void;
1147
1129
  /**
1148
- * Generate unique file ID
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
- private generateFileId;
1133
+ handleExternalFiles(files: File[], userId?: string): void;
1151
1134
  /**
1152
- * Extract file name from file ID
1135
+ * Generate unique file ID
1153
1136
  */
1154
- private extractFileNameFromId;
1137
+ private generateFileId;
1155
1138
  /**
1156
- * Set current user ID
1139
+ * Update upload progress
1157
1140
  */
1158
- setCurrentUserId(userId: string): void;
1141
+ private updateUploadProgress;
1159
1142
  /**
1160
- * Public method to handle files from external sources
1161
- * This can be called by other components to trigger the floating uploader
1143
+ * Update upload status
1162
1144
  */
1163
- handleExternalFiles(files: File[], userId?: string): void;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-element",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"