cloud-ide-element 1.0.111 → 1.0.113
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
|
@@ -599,7 +599,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
599
599
|
readonly id: _angular_core.WritableSignal<string>;
|
|
600
600
|
readonly isUploading: _angular_core.WritableSignal<boolean>;
|
|
601
601
|
readonly uploadProgress: _angular_core.WritableSignal<number>;
|
|
602
|
-
readonly uploadStatus: _angular_core.WritableSignal<"
|
|
602
|
+
readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "start" | "success" | "idle">;
|
|
603
603
|
readonly files: _angular_core.WritableSignal<FileList | null>;
|
|
604
604
|
readonly fileNames: _angular_core.WritableSignal<string[]>;
|
|
605
605
|
readonly previewUrls: _angular_core.WritableSignal<string[]>;
|
|
@@ -670,15 +670,18 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
670
670
|
/**
|
|
671
671
|
* Get total upload count from file manager service for this component's group ID
|
|
672
672
|
* Uses optimized service method for better performance
|
|
673
|
+
* Only counts files for this component's specific group ID
|
|
673
674
|
*/
|
|
674
675
|
getUploadCount(): number;
|
|
675
676
|
/**
|
|
676
677
|
* Check if there are active uploads for this component's group ID
|
|
677
678
|
* Uses optimized service method for better performance
|
|
679
|
+
* Only checks files for this component's specific group ID
|
|
678
680
|
*/
|
|
679
681
|
hasActiveUploads(): boolean;
|
|
680
682
|
/**
|
|
681
683
|
* Get count of active (non-completed) uploads for this component's group ID
|
|
684
|
+
* Only counts files for this component's specific group ID
|
|
682
685
|
*/
|
|
683
686
|
getActiveUploadCount(): number;
|
|
684
687
|
/**
|
|
@@ -723,7 +726,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
723
726
|
multiple: boolean;
|
|
724
727
|
showPreview: boolean;
|
|
725
728
|
autoUpload: boolean;
|
|
726
|
-
uploadStatus: "
|
|
729
|
+
uploadStatus: "uploading" | "error" | "start" | "success" | "idle";
|
|
727
730
|
isUploading: boolean;
|
|
728
731
|
uploadProgress: number;
|
|
729
732
|
files: {
|
|
@@ -882,11 +885,6 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
882
885
|
* Set current user ID
|
|
883
886
|
*/
|
|
884
887
|
setCurrentUserId(userId: string): void;
|
|
885
|
-
/**
|
|
886
|
-
* Public method to handle files from external sources
|
|
887
|
-
* This can be called by other components to trigger the floating uploader
|
|
888
|
-
*/
|
|
889
|
-
handleExternalFiles(files: File[], userId?: string, groupId?: string): void;
|
|
890
888
|
/**
|
|
891
889
|
* Check if there are any uploads for the current group
|
|
892
890
|
*/
|