cloud-ide-element 1.0.98 → 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/fesm2022/cloud-ide-element.mjs +91 -50
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +11 -7
- 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<"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: "
|
|
722
|
+
uploadStatus: "error" | "start" | "success" | "uploading" | "idle";
|
|
715
723
|
isUploading: boolean;
|
|
716
724
|
uploadProgress: number;
|
|
717
725
|
files: {
|
|
@@ -870,7 +878,7 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
870
878
|
handleExternalFiles(files: File[], userId?: string, groupId?: string): void;
|
|
871
879
|
/**
|
|
872
880
|
* Manually show the floating uploader
|
|
873
|
-
* This
|
|
881
|
+
* This should always be called with a group ID from the file input component
|
|
874
882
|
*/
|
|
875
883
|
showUploader(groupId?: string): void;
|
|
876
884
|
/**
|
|
@@ -901,10 +909,6 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
901
909
|
* Handle file selection from drag/drop or file input
|
|
902
910
|
*/
|
|
903
911
|
private handleFileSelection;
|
|
904
|
-
/**
|
|
905
|
-
* Generate a unique group ID
|
|
906
|
-
*/
|
|
907
|
-
private generateGroupId;
|
|
908
912
|
/**
|
|
909
913
|
* Update cached dimensions (throttled for performance)
|
|
910
914
|
*/
|