cloud-ide-element 1.0.87 → 1.0.89
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 +54 -11
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +19 -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<"uploading" | "error" | "
|
|
603
|
+
readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "idle" | "start" | "success">;
|
|
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[]>;
|
|
@@ -660,6 +660,22 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
660
660
|
* This can be called to show the floating uploader even when no files are selected
|
|
661
661
|
*/
|
|
662
662
|
showUploader(): void;
|
|
663
|
+
/**
|
|
664
|
+
* Get total upload count from file manager service for this component's group ID
|
|
665
|
+
*/
|
|
666
|
+
getUploadCount(): number;
|
|
667
|
+
/**
|
|
668
|
+
* Check if there are active uploads for this component's group ID
|
|
669
|
+
*/
|
|
670
|
+
hasActiveUploads(): boolean;
|
|
671
|
+
/**
|
|
672
|
+
* Get count of active (non-completed) uploads for this component's group ID
|
|
673
|
+
*/
|
|
674
|
+
getActiveUploadCount(): number;
|
|
675
|
+
/**
|
|
676
|
+
* Show floating uploader (alias for showUploader for template)
|
|
677
|
+
*/
|
|
678
|
+
showFloatingUploaderDialog(): void;
|
|
663
679
|
onDragOver(event: DragEvent): void;
|
|
664
680
|
onDragLeave(event: DragEvent): void;
|
|
665
681
|
onDragEnter(event: DragEvent): void;
|
|
@@ -686,7 +702,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
686
702
|
multiple: boolean;
|
|
687
703
|
showPreview: boolean;
|
|
688
704
|
autoUpload: boolean;
|
|
689
|
-
uploadStatus: "uploading" | "error" | "
|
|
705
|
+
uploadStatus: "uploading" | "error" | "idle" | "start" | "success";
|
|
690
706
|
isUploading: boolean;
|
|
691
707
|
uploadProgress: number;
|
|
692
708
|
files: {
|
|
@@ -2060,6 +2076,7 @@ interface UploadProgress {
|
|
|
2060
2076
|
total: number;
|
|
2061
2077
|
percentage: number;
|
|
2062
2078
|
stage: 'reading' | 'uploading' | 'complete' | 'error';
|
|
2079
|
+
groupId?: string;
|
|
2063
2080
|
}
|
|
2064
2081
|
interface ServiceState {
|
|
2065
2082
|
isUploading: boolean;
|