cloud-ide-element 1.0.80 → 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/index.d.ts CHANGED
@@ -1032,12 +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[]>;
1035
+ uploadQueue: _angular_core.Signal<string[]>;
1036
+ activeUploads: _angular_core.Signal<Map<string, cloud_ide_element.UploadProgress>>;
1036
1037
  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[]>;
1038
+ pendingUploads: _angular_core.Signal<boolean>;
1039
+ completedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
1040
+ failedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
1041
1041
  isAnimating: _angular_core.WritableSignal<boolean>;
1042
1042
  constructor();
1043
1043
  ngOnInit(): void;
@@ -1107,21 +1107,21 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
1107
1107
  */
1108
1108
  getOverallProgress(): number;
1109
1109
  /**
1110
- * Get status icon
1110
+ * Get status icon based on upload stage
1111
1111
  */
1112
- getStatusIcon(status: IFileUploadQueueItem['status']): string;
1112
+ getStatusIcon(stage: string): string;
1113
1113
  /**
1114
- * Get status class
1114
+ * Get status class based on upload stage
1115
1115
  */
1116
- getStatusClass(status: IFileUploadQueueItem['status']): string;
1116
+ getStatusClass(stage: string): string;
1117
1117
  /**
1118
1118
  * Cancel upload
1119
1119
  */
1120
1120
  cancelUpload(fileId: string): void;
1121
1121
  /**
1122
- * Retry upload
1122
+ * Get file name from file ID (extract from the ID format)
1123
1123
  */
1124
- retryUpload(fileId: string): void;
1124
+ getFileNameFromId(fileId: string): string;
1125
1125
  /**
1126
1126
  * Set current user ID
1127
1127
  */
@@ -1131,18 +1131,6 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
1131
1131
  * This can be called by other components to trigger the floating uploader
1132
1132
  */
1133
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;
1146
1134
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleFloatingFileUploaderComponent, never>;
1147
1135
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFloatingFileUploaderComponent, "cide-ele-floating-file-uploader", never, {}, {}, never, never, true, never>;
1148
1136
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-element",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"