cloud-ide-element 1.0.88 → 1.0.90
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 +57 -11
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +18 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -608,6 +608,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
608
608
|
readonly isDragOver: _angular_core.WritableSignal<boolean>;
|
|
609
609
|
readonly groupId: _angular_core.WritableSignal<string | null>;
|
|
610
610
|
readonly isMultipleUploadMode: _angular_core.WritableSignal<boolean>;
|
|
611
|
+
readonly hasEverUploaded: _angular_core.WritableSignal<boolean>;
|
|
611
612
|
readonly hasFiles: _angular_core.Signal<boolean>;
|
|
612
613
|
readonly canUpload: _angular_core.Signal<boolean>;
|
|
613
614
|
readonly isInErrorState: _angular_core.Signal<boolean>;
|
|
@@ -660,6 +661,22 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
660
661
|
* This can be called to show the floating uploader even when no files are selected
|
|
661
662
|
*/
|
|
662
663
|
showUploader(): void;
|
|
664
|
+
/**
|
|
665
|
+
* Get total upload count from file manager service for this component's group ID
|
|
666
|
+
*/
|
|
667
|
+
getUploadCount(): number;
|
|
668
|
+
/**
|
|
669
|
+
* Check if there are active uploads for this component's group ID
|
|
670
|
+
*/
|
|
671
|
+
hasActiveUploads(): boolean;
|
|
672
|
+
/**
|
|
673
|
+
* Get count of active (non-completed) uploads for this component's group ID
|
|
674
|
+
*/
|
|
675
|
+
getActiveUploadCount(): number;
|
|
676
|
+
/**
|
|
677
|
+
* Show floating uploader (alias for showUploader for template)
|
|
678
|
+
*/
|
|
679
|
+
showFloatingUploaderDialog(): void;
|
|
663
680
|
onDragOver(event: DragEvent): void;
|
|
664
681
|
onDragLeave(event: DragEvent): void;
|
|
665
682
|
onDragEnter(event: DragEvent): void;
|
|
@@ -2060,6 +2077,7 @@ interface UploadProgress {
|
|
|
2060
2077
|
total: number;
|
|
2061
2078
|
percentage: number;
|
|
2062
2079
|
stage: 'reading' | 'uploading' | 'complete' | 'error';
|
|
2080
|
+
groupId?: string;
|
|
2063
2081
|
}
|
|
2064
2082
|
interface ServiceState {
|
|
2065
2083
|
isUploading: boolean;
|