cloud-ide-element 1.0.96 → 1.0.97

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" | "idle" | "start" | "success">;
603
+ readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "start" | "success" | "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[]>;
@@ -711,7 +711,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
711
711
  multiple: boolean;
712
712
  showPreview: boolean;
713
713
  autoUpload: boolean;
714
- uploadStatus: "uploading" | "error" | "idle" | "start" | "success";
714
+ uploadStatus: "uploading" | "error" | "start" | "success" | "idle";
715
715
  isUploading: boolean;
716
716
  uploadProgress: number;
717
717
  files: {
@@ -763,6 +763,9 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
763
763
  y: number;
764
764
  };
765
765
  isDragOver: _angular_core.WritableSignal<boolean>;
766
+ private windowResizeHandler?;
767
+ private cachedDimensions;
768
+ private lastDimensionUpdate;
766
769
  constructor();
767
770
  ngOnInit(): void;
768
771
  ngOnDestroy(): void;
@@ -901,6 +904,10 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
901
904
  * Generate a unique group ID
902
905
  */
903
906
  private generateGroupId;
907
+ /**
908
+ * Update cached dimensions (throttled for performance)
909
+ */
910
+ private updateCachedDimensions;
904
911
  /**
905
912
  * Start dragging the uploader
906
913
  */
@@ -913,6 +920,10 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
913
920
  * End dragging
914
921
  */
915
922
  private endDrag;
923
+ /**
924
+ * Set up window resize listener to keep uploader within bounds
925
+ */
926
+ private setupWindowResize;
916
927
  /**
917
928
  * Initialize default position
918
929
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-element",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"