cloud-ide-element 1.0.97 → 1.0.99

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
@@ -600,7 +600,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
600
600
  readonly id: _angular_core.WritableSignal<string>;
601
601
  readonly isUploading: _angular_core.WritableSignal<boolean>;
602
602
  readonly uploadProgress: _angular_core.WritableSignal<number>;
603
- readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "start" | "success" | "idle">;
603
+ readonly uploadStatus: _angular_core.WritableSignal<"error" | "start" | "success" | "uploading" | "idle">;
604
604
  readonly files: _angular_core.WritableSignal<FileList | null>;
605
605
  readonly fileNames: _angular_core.WritableSignal<string[]>;
606
606
  readonly previewUrls: _angular_core.WritableSignal<string[]>;
@@ -685,6 +685,14 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
685
685
  * Show floating uploader (alias for showUploader for template)
686
686
  */
687
687
  showFloatingUploaderDialog(): void;
688
+ /**
689
+ * Get dynamic classes for drag and drop zone
690
+ */
691
+ getDragDropZoneClasses(): string;
692
+ /**
693
+ * Get dynamic classes for icon
694
+ */
695
+ getIconClasses(): string;
688
696
  onDragOver(event: DragEvent): void;
689
697
  onDragLeave(event: DragEvent): void;
690
698
  onDragEnter(event: DragEvent): void;
@@ -711,7 +719,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
711
719
  multiple: boolean;
712
720
  showPreview: boolean;
713
721
  autoUpload: boolean;
714
- uploadStatus: "uploading" | "error" | "start" | "success" | "idle";
722
+ uploadStatus: "error" | "start" | "success" | "uploading" | "idle";
715
723
  isUploading: boolean;
716
724
  uploadProgress: number;
717
725
  files: {
@@ -752,6 +760,7 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
752
760
  activeUploadsLocal: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
753
761
  completedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
754
762
  failedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
763
+ hasFilesToShow: _angular_core.Signal<boolean>;
755
764
  isAnimating: _angular_core.WritableSignal<boolean>;
756
765
  isDragging: _angular_core.WritableSignal<boolean>;
757
766
  position: _angular_core.WritableSignal<{
@@ -869,7 +878,7 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
869
878
  handleExternalFiles(files: File[], userId?: string, groupId?: string): void;
870
879
  /**
871
880
  * Manually show the floating uploader
872
- * This can be called from file input components or other triggers
881
+ * This should always be called with a group ID from the file input component
873
882
  */
874
883
  showUploader(groupId?: string): void;
875
884
  /**
@@ -900,10 +909,6 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
900
909
  * Handle file selection from drag/drop or file input
901
910
  */
902
911
  private handleFileSelection;
903
- /**
904
- * Generate a unique group ID
905
- */
906
- private generateGroupId;
907
912
  /**
908
913
  * Update cached dimensions (throttled for performance)
909
914
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-element",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"