cloud-ide-element 1.0.99 → 1.0.102
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/fesm2022/cloud-ide-element.mjs +111 -54
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +13 -2
- package/package.json +1 -1
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<"
|
|
603
|
+
readonly uploadStatus: _angular_core.WritableSignal<"idle" | "start" | "uploading" | "success" | "error">;
|
|
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[]>;
|
|
@@ -693,6 +693,10 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
693
693
|
* Get dynamic classes for icon
|
|
694
694
|
*/
|
|
695
695
|
getIconClasses(): string;
|
|
696
|
+
/**
|
|
697
|
+
* Get dynamic classes for preview box
|
|
698
|
+
*/
|
|
699
|
+
getPreviewBoxClasses(): string;
|
|
696
700
|
onDragOver(event: DragEvent): void;
|
|
697
701
|
onDragLeave(event: DragEvent): void;
|
|
698
702
|
onDragEnter(event: DragEvent): void;
|
|
@@ -719,7 +723,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
719
723
|
multiple: boolean;
|
|
720
724
|
showPreview: boolean;
|
|
721
725
|
autoUpload: boolean;
|
|
722
|
-
uploadStatus: "
|
|
726
|
+
uploadStatus: "idle" | "start" | "uploading" | "success" | "error";
|
|
723
727
|
isUploading: boolean;
|
|
724
728
|
uploadProgress: number;
|
|
725
729
|
files: {
|
|
@@ -760,6 +764,12 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
760
764
|
activeUploadsLocal: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
761
765
|
completedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
762
766
|
failedUploads: _angular_core.Signal<cloud_ide_element.UploadProgress[]>;
|
|
767
|
+
allFilesForGroup: _angular_core.Signal<{
|
|
768
|
+
fileId: string;
|
|
769
|
+
fileName: string;
|
|
770
|
+
stage: string;
|
|
771
|
+
percentage?: number;
|
|
772
|
+
}[]>;
|
|
763
773
|
hasFilesToShow: _angular_core.Signal<boolean>;
|
|
764
774
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
765
775
|
isDragging: _angular_core.WritableSignal<boolean>;
|
|
@@ -860,6 +870,7 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
860
870
|
getFileNameFromId(fileId: string): string;
|
|
861
871
|
/**
|
|
862
872
|
* Get all files from service state (pending + active uploads + fetched files)
|
|
873
|
+
* This method now uses the computed property for consistency
|
|
863
874
|
*/
|
|
864
875
|
getAllFiles(): {
|
|
865
876
|
fileId: string;
|