cloud-ide-element 1.0.74 → 1.0.75
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 +445 -3
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +324 -187
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -595,7 +595,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
595
595
|
readonly id: _angular_core.WritableSignal<string>;
|
|
596
596
|
readonly isUploading: _angular_core.WritableSignal<boolean>;
|
|
597
597
|
readonly uploadProgress: _angular_core.WritableSignal<number>;
|
|
598
|
-
readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "
|
|
598
|
+
readonly uploadStatus: _angular_core.WritableSignal<"uploading" | "error" | "idle" | "start" | "success">;
|
|
599
599
|
readonly files: _angular_core.WritableSignal<FileList | null>;
|
|
600
600
|
readonly fileNames: _angular_core.WritableSignal<string[]>;
|
|
601
601
|
readonly previewUrls: _angular_core.WritableSignal<string[]>;
|
|
@@ -676,7 +676,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
676
676
|
multiple: boolean;
|
|
677
677
|
showPreview: boolean;
|
|
678
678
|
autoUpload: boolean;
|
|
679
|
-
uploadStatus: "uploading" | "error" | "
|
|
679
|
+
uploadStatus: "uploading" | "error" | "idle" | "start" | "success";
|
|
680
680
|
isUploading: boolean;
|
|
681
681
|
uploadProgress: number;
|
|
682
682
|
files: {
|
|
@@ -702,6 +702,325 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
702
702
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFileInputComponent, "cide-ele-file-input", never, { "label": { "alias": "label"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "showPreview": { "alias": "showPreview"; "required": false; }; "previewWidth": { "alias": "previewWidth"; "required": false; }; "previewHeight": { "alias": "previewHeight"; "required": false; }; "previewBoxMode": { "alias": "previewBoxMode"; "required": false; }; "showFileName": { "alias": "showFileName"; "required": false; }; "placeholderText": { "alias": "placeholderText"; "required": false; }; "placeholderIcon": { "alias": "placeholderIcon"; "required": false; }; "autoUpload": { "alias": "autoUpload"; "required": false; }; "uploadData": { "alias": "uploadData"; "required": false; }; }, { "fileChange": "fileChange"; "uploadSuccess": "uploadSuccess"; "uploadError": "uploadError"; "uploadProgressChange": "uploadProgressChange"; }, never, never, true, never>;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
+
/**
|
|
706
|
+
* File Manager Interfaces
|
|
707
|
+
* Based on core_file_manager table schema
|
|
708
|
+
*/
|
|
709
|
+
interface ICoreCyfm {
|
|
710
|
+
_id?: string;
|
|
711
|
+
cyfm_name?: string;
|
|
712
|
+
cyfm_alt_text?: string;
|
|
713
|
+
cyfm_path?: string;
|
|
714
|
+
cyfm_size_in_byte?: number;
|
|
715
|
+
cyfm_type?: string;
|
|
716
|
+
cyfm_creation_dt?: string;
|
|
717
|
+
cyfm_id_user?: string;
|
|
718
|
+
cyfm_permissions?: string[];
|
|
719
|
+
cyfm_tags?: string[];
|
|
720
|
+
cyfm_version?: number;
|
|
721
|
+
cyfm_file_status_sygmt?: string;
|
|
722
|
+
cyfm_group_id?: string;
|
|
723
|
+
cyfm_ismultiple?: boolean;
|
|
724
|
+
cyfm_isactive?: boolean;
|
|
725
|
+
}
|
|
726
|
+
interface ICoreFileManager extends ICoreCyfm {
|
|
727
|
+
_id: string;
|
|
728
|
+
cyfm_name: string;
|
|
729
|
+
cyfm_path: string;
|
|
730
|
+
cyfm_size_in_byte: number;
|
|
731
|
+
cyfm_type: string;
|
|
732
|
+
cyfm_creation_dt: string;
|
|
733
|
+
cyfm_id_user: string;
|
|
734
|
+
cyfm_permissions: string[];
|
|
735
|
+
cyfm_tags: string[];
|
|
736
|
+
cyfm_version: number;
|
|
737
|
+
cyfm_file_status_sygmt: string;
|
|
738
|
+
cyfm_group_id?: string;
|
|
739
|
+
cyfm_ismultiple?: boolean;
|
|
740
|
+
cyfm_isactive: boolean;
|
|
741
|
+
}
|
|
742
|
+
interface controllerResponse {
|
|
743
|
+
success?: boolean;
|
|
744
|
+
error_code?: string;
|
|
745
|
+
message?: string;
|
|
746
|
+
data?: any;
|
|
747
|
+
code?: string;
|
|
748
|
+
action?: string;
|
|
749
|
+
total?: number;
|
|
750
|
+
pageIndex?: number;
|
|
751
|
+
pageSize?: number;
|
|
752
|
+
controls?: {
|
|
753
|
+
[key: string]: string;
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
type IFileManagerErrorLogger = {
|
|
757
|
+
[key in keyof MFileManager]: string;
|
|
758
|
+
};
|
|
759
|
+
declare class MFileManager {
|
|
760
|
+
cyfm_id: string;
|
|
761
|
+
constructor(init: MFileManager);
|
|
762
|
+
Validate?(): Partial<IFileManagerErrorLogger>;
|
|
763
|
+
}
|
|
764
|
+
declare class ICoreCyfmSave implements ICoreCyfm {
|
|
765
|
+
_id?: string;
|
|
766
|
+
cyfm_name?: string;
|
|
767
|
+
cyfm_alt_text?: string;
|
|
768
|
+
cyfm_path?: string;
|
|
769
|
+
cyfm_size_in_byte?: number;
|
|
770
|
+
cyfm_type?: string;
|
|
771
|
+
cyfm_creation_dt?: string;
|
|
772
|
+
cyfm_id_user?: string;
|
|
773
|
+
cyfm_permissions?: string[];
|
|
774
|
+
cyfm_tags?: string[];
|
|
775
|
+
cyfm_version?: number;
|
|
776
|
+
cyfm_file_status_sygmt?: string;
|
|
777
|
+
cyfm_group_id?: string;
|
|
778
|
+
cyfm_isactive?: boolean;
|
|
779
|
+
cyfm_file_base64: string;
|
|
780
|
+
cyfm_temp_unique_id: string;
|
|
781
|
+
constructor(init: ICoreCyfmSave);
|
|
782
|
+
}
|
|
783
|
+
declare class CoreFileManagerInsertUpdatePayload {
|
|
784
|
+
core_file_manager_new: ICoreCyfmSave[];
|
|
785
|
+
core_file_manager_update: ICoreCyfm[];
|
|
786
|
+
core_file_manager_delete: ICoreCyfm[];
|
|
787
|
+
constructor(init: CoreFileManagerInsertUpdatePayload);
|
|
788
|
+
Validate?(): Partial<IFileManagerErrorLogger>;
|
|
789
|
+
}
|
|
790
|
+
interface fileManagerResponseData extends ICoreCyfm {
|
|
791
|
+
cyfm_file_base64: string;
|
|
792
|
+
}
|
|
793
|
+
interface fileManagerControllerResponse extends controllerResponse {
|
|
794
|
+
data?: fileManagerResponseData[];
|
|
795
|
+
}
|
|
796
|
+
interface CoreFileManagerInsertUpdateResponse extends controllerResponse {
|
|
797
|
+
data?: {
|
|
798
|
+
core_file_manager: {
|
|
799
|
+
cyfm_id: string;
|
|
800
|
+
cyfm_temp_unique_id: string;
|
|
801
|
+
}[];
|
|
802
|
+
};
|
|
803
|
+
}
|
|
804
|
+
interface mongooseObjectIdCreateControllerResponse extends controllerResponse {
|
|
805
|
+
data?: {
|
|
806
|
+
objectId: string;
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
interface IFileUploadRequest {
|
|
810
|
+
file: File;
|
|
811
|
+
altText?: string;
|
|
812
|
+
tags?: string[];
|
|
813
|
+
permissions?: string[];
|
|
814
|
+
userId?: string;
|
|
815
|
+
groupId?: string;
|
|
816
|
+
[key: string]: string | number | string[] | File | undefined;
|
|
817
|
+
}
|
|
818
|
+
interface IFileUploadResponse {
|
|
819
|
+
success: boolean;
|
|
820
|
+
message: string;
|
|
821
|
+
data?: ICoreFileManager;
|
|
822
|
+
error?: string;
|
|
823
|
+
}
|
|
824
|
+
interface IFileListRequest {
|
|
825
|
+
pageIndex: number;
|
|
826
|
+
pageSize: number;
|
|
827
|
+
search?: string;
|
|
828
|
+
fileType?: string;
|
|
829
|
+
status?: string;
|
|
830
|
+
userId?: string;
|
|
831
|
+
tags?: string[];
|
|
832
|
+
sortBy?: string;
|
|
833
|
+
sortOrder?: 'asc' | 'desc';
|
|
834
|
+
}
|
|
835
|
+
interface IFileListResponse {
|
|
836
|
+
success: boolean;
|
|
837
|
+
message: string;
|
|
838
|
+
data: ICoreFileManager[];
|
|
839
|
+
total: number;
|
|
840
|
+
pageIndex: number;
|
|
841
|
+
pageSize: number;
|
|
842
|
+
}
|
|
843
|
+
interface IFileDeleteResponse {
|
|
844
|
+
success: boolean;
|
|
845
|
+
message: string;
|
|
846
|
+
data?: string;
|
|
847
|
+
}
|
|
848
|
+
interface IFileUpdateRequest {
|
|
849
|
+
_id: string;
|
|
850
|
+
cyfm_name?: string;
|
|
851
|
+
cyfm_alt_text?: string;
|
|
852
|
+
cyfm_tags?: string[];
|
|
853
|
+
cyfm_permissions?: string[];
|
|
854
|
+
cyfm_file_status_sygmt?: string;
|
|
855
|
+
cyfm_isactive?: boolean;
|
|
856
|
+
}
|
|
857
|
+
interface IFileUpdateResponse {
|
|
858
|
+
success: boolean;
|
|
859
|
+
message: string;
|
|
860
|
+
data?: ICoreFileManager;
|
|
861
|
+
}
|
|
862
|
+
interface IFileUploadProgress {
|
|
863
|
+
fileId: string;
|
|
864
|
+
fileName: string;
|
|
865
|
+
progress: number;
|
|
866
|
+
status: 'pending' | 'uploading' | 'completed' | 'error' | 'cancelled';
|
|
867
|
+
error?: string;
|
|
868
|
+
uploadedFile?: any;
|
|
869
|
+
}
|
|
870
|
+
interface IFileUploadQueueItem extends IFileUploadProgress {
|
|
871
|
+
file: File;
|
|
872
|
+
}
|
|
873
|
+
interface IFileFilterOptions {
|
|
874
|
+
fileTypes: string[];
|
|
875
|
+
statuses: string[];
|
|
876
|
+
dateRange?: {
|
|
877
|
+
start: Date;
|
|
878
|
+
end: Date;
|
|
879
|
+
};
|
|
880
|
+
sizeRange?: {
|
|
881
|
+
min: number;
|
|
882
|
+
max: number;
|
|
883
|
+
};
|
|
884
|
+
tags: string[];
|
|
885
|
+
}
|
|
886
|
+
interface IFileGroupingOptions {
|
|
887
|
+
groupBy: 'type' | 'status' | 'date' | 'size' | 'user' | 'none';
|
|
888
|
+
sortBy: 'name' | 'size' | 'date' | 'type';
|
|
889
|
+
sortOrder: 'asc' | 'desc';
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
declare class CideEleGlobalFileUploaderComponent {
|
|
893
|
+
private destroyRef;
|
|
894
|
+
private fileService;
|
|
895
|
+
userId: string;
|
|
896
|
+
multiple: boolean;
|
|
897
|
+
accept: string;
|
|
898
|
+
maxFileSize: number;
|
|
899
|
+
allowedTypes: string[];
|
|
900
|
+
uploadComplete: EventEmitter<IFileUploadProgress>;
|
|
901
|
+
uploadError: EventEmitter<{
|
|
902
|
+
fileId: string;
|
|
903
|
+
error: string;
|
|
904
|
+
}>;
|
|
905
|
+
uploadCancelled: EventEmitter<string>;
|
|
906
|
+
allUploadsComplete: EventEmitter<{
|
|
907
|
+
groupId: string;
|
|
908
|
+
uploadedFiles: any[];
|
|
909
|
+
}>;
|
|
910
|
+
isDragOver: _angular_core.WritableSignal<boolean>;
|
|
911
|
+
isUploading: _angular_core.WritableSignal<boolean>;
|
|
912
|
+
uploadQueue: _angular_core.WritableSignal<IFileUploadQueueItem[]>;
|
|
913
|
+
currentGroupId: _angular_core.WritableSignal<string | null>;
|
|
914
|
+
hasUploads: _angular_core.Signal<boolean>;
|
|
915
|
+
pendingUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
916
|
+
activeUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
917
|
+
completedUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
918
|
+
failedUploads: _angular_core.Signal<IFileUploadQueueItem[]>;
|
|
919
|
+
constructor();
|
|
920
|
+
/**
|
|
921
|
+
* Handle drag over event
|
|
922
|
+
*/
|
|
923
|
+
onDragOver(event: DragEvent): void;
|
|
924
|
+
/**
|
|
925
|
+
* Handle drag leave event
|
|
926
|
+
*/
|
|
927
|
+
onDragLeave(event: DragEvent): void;
|
|
928
|
+
/**
|
|
929
|
+
* Handle drop event
|
|
930
|
+
*/
|
|
931
|
+
onDrop(event: DragEvent): void;
|
|
932
|
+
/**
|
|
933
|
+
* Handle file input change
|
|
934
|
+
*/
|
|
935
|
+
onFileInputChange(event: Event): void;
|
|
936
|
+
/**
|
|
937
|
+
* Add files to upload queue
|
|
938
|
+
*/
|
|
939
|
+
private addFilesToQueue;
|
|
940
|
+
/**
|
|
941
|
+
* Validate file
|
|
942
|
+
*/
|
|
943
|
+
private validateFile;
|
|
944
|
+
/**
|
|
945
|
+
* Process upload queue
|
|
946
|
+
*/
|
|
947
|
+
private processUploadQueue;
|
|
948
|
+
/**
|
|
949
|
+
* Upload multiple files with group ID
|
|
950
|
+
*/
|
|
951
|
+
private uploadMultipleFiles;
|
|
952
|
+
/**
|
|
953
|
+
* Upload files with group ID
|
|
954
|
+
*/
|
|
955
|
+
private uploadFilesWithGroupId;
|
|
956
|
+
/**
|
|
957
|
+
* Handle multiple upload completion
|
|
958
|
+
*/
|
|
959
|
+
private handleMultipleUploadComplete;
|
|
960
|
+
/**
|
|
961
|
+
* Upload next file in queue (single file mode)
|
|
962
|
+
*/
|
|
963
|
+
private uploadNextFile;
|
|
964
|
+
/**
|
|
965
|
+
* Update upload progress
|
|
966
|
+
*/
|
|
967
|
+
private updateUploadProgress;
|
|
968
|
+
/**
|
|
969
|
+
* Update upload status
|
|
970
|
+
*/
|
|
971
|
+
private updateUploadStatus;
|
|
972
|
+
/**
|
|
973
|
+
* Handle upload error
|
|
974
|
+
*/
|
|
975
|
+
private handleUploadError;
|
|
976
|
+
/**
|
|
977
|
+
* Cancel upload
|
|
978
|
+
*/
|
|
979
|
+
cancelUpload(fileId: string): void;
|
|
980
|
+
/**
|
|
981
|
+
* Retry upload
|
|
982
|
+
*/
|
|
983
|
+
retryUpload(fileId: string): void;
|
|
984
|
+
/**
|
|
985
|
+
* Remove upload from queue
|
|
986
|
+
*/
|
|
987
|
+
removeUpload(fileId: string): void;
|
|
988
|
+
/**
|
|
989
|
+
* Clear completed uploads
|
|
990
|
+
*/
|
|
991
|
+
clearCompleted(): void;
|
|
992
|
+
/**
|
|
993
|
+
* Clear all uploads
|
|
994
|
+
*/
|
|
995
|
+
clearAll(): void;
|
|
996
|
+
/**
|
|
997
|
+
* Get status icon
|
|
998
|
+
*/
|
|
999
|
+
getStatusIcon(status: IFileUploadProgress['status']): string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Get status class
|
|
1002
|
+
*/
|
|
1003
|
+
getStatusClass(status: IFileUploadProgress['status']): string;
|
|
1004
|
+
/**
|
|
1005
|
+
* Get file size display
|
|
1006
|
+
*/
|
|
1007
|
+
getFileSizeDisplay(file: File): string;
|
|
1008
|
+
/**
|
|
1009
|
+
* Generate unique file ID
|
|
1010
|
+
*/
|
|
1011
|
+
private generateFileId;
|
|
1012
|
+
/**
|
|
1013
|
+
* Convert IFileUploadRequest to FileUploadOptions
|
|
1014
|
+
*/
|
|
1015
|
+
private convertToFileUploadOptions;
|
|
1016
|
+
/**
|
|
1017
|
+
* Trigger file input click
|
|
1018
|
+
*/
|
|
1019
|
+
triggerFileInput(): void;
|
|
1020
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleGlobalFileUploaderComponent, never>;
|
|
1021
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleGlobalFileUploaderComponent, "cide-ele-global-file-uploader", never, { "userId": { "alias": "userId"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "allowedTypes": { "alias": "allowedTypes"; "required": false; }; }, { "uploadComplete": "uploadComplete"; "uploadError": "uploadError"; "uploadCancelled": "uploadCancelled"; "allUploadsComplete": "allUploadsComplete"; }, never, never, true, never>;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
705
1024
|
declare class CideTextareaComponent implements ControlValueAccessor, Validator, OnInit, OnChanges {
|
|
706
1025
|
label: string;
|
|
707
1026
|
labelHide: boolean;
|
|
@@ -1562,186 +1881,6 @@ declare class NotificationService {
|
|
|
1562
1881
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<NotificationService>;
|
|
1563
1882
|
}
|
|
1564
1883
|
|
|
1565
|
-
/**
|
|
1566
|
-
* File Manager Interfaces
|
|
1567
|
-
* Based on core_file_manager table schema
|
|
1568
|
-
*/
|
|
1569
|
-
interface ICoreCyfm {
|
|
1570
|
-
_id?: string;
|
|
1571
|
-
cyfm_name?: string;
|
|
1572
|
-
cyfm_alt_text?: string;
|
|
1573
|
-
cyfm_path?: string;
|
|
1574
|
-
cyfm_size_in_byte?: number;
|
|
1575
|
-
cyfm_type?: string;
|
|
1576
|
-
cyfm_creation_dt?: string;
|
|
1577
|
-
cyfm_id_user?: string;
|
|
1578
|
-
cyfm_permissions?: string[];
|
|
1579
|
-
cyfm_tags?: string[];
|
|
1580
|
-
cyfm_version?: number;
|
|
1581
|
-
cyfm_file_status_sygmt?: string;
|
|
1582
|
-
cyfm_group_id?: string;
|
|
1583
|
-
cyfm_ismultiple?: boolean;
|
|
1584
|
-
cyfm_isactive?: boolean;
|
|
1585
|
-
}
|
|
1586
|
-
interface ICoreFileManager extends ICoreCyfm {
|
|
1587
|
-
_id: string;
|
|
1588
|
-
cyfm_name: string;
|
|
1589
|
-
cyfm_path: string;
|
|
1590
|
-
cyfm_size_in_byte: number;
|
|
1591
|
-
cyfm_type: string;
|
|
1592
|
-
cyfm_creation_dt: string;
|
|
1593
|
-
cyfm_id_user: string;
|
|
1594
|
-
cyfm_permissions: string[];
|
|
1595
|
-
cyfm_tags: string[];
|
|
1596
|
-
cyfm_version: number;
|
|
1597
|
-
cyfm_file_status_sygmt: string;
|
|
1598
|
-
cyfm_group_id?: string;
|
|
1599
|
-
cyfm_ismultiple?: boolean;
|
|
1600
|
-
cyfm_isactive: boolean;
|
|
1601
|
-
}
|
|
1602
|
-
interface controllerResponse {
|
|
1603
|
-
success?: boolean;
|
|
1604
|
-
error_code?: string;
|
|
1605
|
-
message?: string;
|
|
1606
|
-
data?: any;
|
|
1607
|
-
code?: string;
|
|
1608
|
-
action?: string;
|
|
1609
|
-
total?: number;
|
|
1610
|
-
pageIndex?: number;
|
|
1611
|
-
pageSize?: number;
|
|
1612
|
-
controls?: {
|
|
1613
|
-
[key: string]: string;
|
|
1614
|
-
};
|
|
1615
|
-
}
|
|
1616
|
-
type IFileManagerErrorLogger = {
|
|
1617
|
-
[key in keyof MFileManager]: string;
|
|
1618
|
-
};
|
|
1619
|
-
declare class MFileManager {
|
|
1620
|
-
cyfm_id: string;
|
|
1621
|
-
constructor(init: MFileManager);
|
|
1622
|
-
Validate?(): Partial<IFileManagerErrorLogger>;
|
|
1623
|
-
}
|
|
1624
|
-
declare class ICoreCyfmSave implements ICoreCyfm {
|
|
1625
|
-
_id?: string;
|
|
1626
|
-
cyfm_name?: string;
|
|
1627
|
-
cyfm_alt_text?: string;
|
|
1628
|
-
cyfm_path?: string;
|
|
1629
|
-
cyfm_size_in_byte?: number;
|
|
1630
|
-
cyfm_type?: string;
|
|
1631
|
-
cyfm_creation_dt?: string;
|
|
1632
|
-
cyfm_id_user?: string;
|
|
1633
|
-
cyfm_permissions?: string[];
|
|
1634
|
-
cyfm_tags?: string[];
|
|
1635
|
-
cyfm_version?: number;
|
|
1636
|
-
cyfm_file_status_sygmt?: string;
|
|
1637
|
-
cyfm_group_id?: string;
|
|
1638
|
-
cyfm_isactive?: boolean;
|
|
1639
|
-
cyfm_file_base64: string;
|
|
1640
|
-
cyfm_temp_unique_id: string;
|
|
1641
|
-
constructor(init: ICoreCyfmSave);
|
|
1642
|
-
}
|
|
1643
|
-
declare class CoreFileManagerInsertUpdatePayload {
|
|
1644
|
-
core_file_manager_new: ICoreCyfmSave[];
|
|
1645
|
-
core_file_manager_update: ICoreCyfm[];
|
|
1646
|
-
core_file_manager_delete: ICoreCyfm[];
|
|
1647
|
-
constructor(init: CoreFileManagerInsertUpdatePayload);
|
|
1648
|
-
Validate?(): Partial<IFileManagerErrorLogger>;
|
|
1649
|
-
}
|
|
1650
|
-
interface fileManagerResponseData extends ICoreCyfm {
|
|
1651
|
-
cyfm_file_base64: string;
|
|
1652
|
-
}
|
|
1653
|
-
interface fileManagerControllerResponse extends controllerResponse {
|
|
1654
|
-
data?: fileManagerResponseData[];
|
|
1655
|
-
}
|
|
1656
|
-
interface CoreFileManagerInsertUpdateResponse extends controllerResponse {
|
|
1657
|
-
data?: {
|
|
1658
|
-
core_file_manager: {
|
|
1659
|
-
cyfm_id: string;
|
|
1660
|
-
cyfm_temp_unique_id: string;
|
|
1661
|
-
}[];
|
|
1662
|
-
};
|
|
1663
|
-
}
|
|
1664
|
-
interface IFileUploadRequest {
|
|
1665
|
-
file: File;
|
|
1666
|
-
altText?: string;
|
|
1667
|
-
tags?: string[];
|
|
1668
|
-
permissions?: string[];
|
|
1669
|
-
userId: string;
|
|
1670
|
-
}
|
|
1671
|
-
interface IFileUploadResponse {
|
|
1672
|
-
success: boolean;
|
|
1673
|
-
message: string;
|
|
1674
|
-
data?: ICoreFileManager;
|
|
1675
|
-
error?: string;
|
|
1676
|
-
}
|
|
1677
|
-
interface IFileListRequest {
|
|
1678
|
-
pageIndex: number;
|
|
1679
|
-
pageSize: number;
|
|
1680
|
-
search?: string;
|
|
1681
|
-
fileType?: string;
|
|
1682
|
-
status?: string;
|
|
1683
|
-
userId?: string;
|
|
1684
|
-
tags?: string[];
|
|
1685
|
-
sortBy?: string;
|
|
1686
|
-
sortOrder?: 'asc' | 'desc';
|
|
1687
|
-
}
|
|
1688
|
-
interface IFileListResponse {
|
|
1689
|
-
success: boolean;
|
|
1690
|
-
message: string;
|
|
1691
|
-
data: ICoreFileManager[];
|
|
1692
|
-
total: number;
|
|
1693
|
-
pageIndex: number;
|
|
1694
|
-
pageSize: number;
|
|
1695
|
-
}
|
|
1696
|
-
interface IFileDeleteResponse {
|
|
1697
|
-
success: boolean;
|
|
1698
|
-
message: string;
|
|
1699
|
-
data?: string;
|
|
1700
|
-
}
|
|
1701
|
-
interface IFileUpdateRequest {
|
|
1702
|
-
_id: string;
|
|
1703
|
-
cyfm_name?: string;
|
|
1704
|
-
cyfm_alt_text?: string;
|
|
1705
|
-
cyfm_tags?: string[];
|
|
1706
|
-
cyfm_permissions?: string[];
|
|
1707
|
-
cyfm_file_status_sygmt?: string;
|
|
1708
|
-
cyfm_isactive?: boolean;
|
|
1709
|
-
}
|
|
1710
|
-
interface IFileUpdateResponse {
|
|
1711
|
-
success: boolean;
|
|
1712
|
-
message: string;
|
|
1713
|
-
data?: ICoreFileManager;
|
|
1714
|
-
}
|
|
1715
|
-
interface IFileUploadProgress {
|
|
1716
|
-
fileId: string;
|
|
1717
|
-
fileName: string;
|
|
1718
|
-
progress: number;
|
|
1719
|
-
status: 'pending' | 'uploading' | 'completed' | 'error' | 'cancelled';
|
|
1720
|
-
error?: string;
|
|
1721
|
-
uploadedFile?: ICoreFileManager;
|
|
1722
|
-
}
|
|
1723
|
-
interface IFileUploadQueueItem extends IFileUploadProgress {
|
|
1724
|
-
file: File;
|
|
1725
|
-
}
|
|
1726
|
-
interface IFileFilterOptions {
|
|
1727
|
-
fileTypes: string[];
|
|
1728
|
-
statuses: string[];
|
|
1729
|
-
dateRange?: {
|
|
1730
|
-
start: Date;
|
|
1731
|
-
end: Date;
|
|
1732
|
-
};
|
|
1733
|
-
sizeRange?: {
|
|
1734
|
-
min: number;
|
|
1735
|
-
max: number;
|
|
1736
|
-
};
|
|
1737
|
-
tags: string[];
|
|
1738
|
-
}
|
|
1739
|
-
interface IFileGroupingOptions {
|
|
1740
|
-
groupBy: 'type' | 'status' | 'date' | 'size' | 'user' | 'none';
|
|
1741
|
-
sortBy: 'name' | 'size' | 'date' | 'type';
|
|
1742
|
-
sortOrder: 'asc' | 'desc';
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
1884
|
interface FileUploadOptions {
|
|
1746
1885
|
altText?: string;
|
|
1747
1886
|
userId?: string;
|
|
@@ -1824,9 +1963,7 @@ declare class CideEleFileManagerService {
|
|
|
1824
1963
|
* Uses the configurable object ID endpoint instead of hardcoded path
|
|
1825
1964
|
* @returns Observable with the generated ObjectId
|
|
1826
1965
|
*/
|
|
1827
|
-
generateObjectId(): Observable<
|
|
1828
|
-
objectId: string;
|
|
1829
|
-
}>;
|
|
1966
|
+
generateObjectId(): Observable<mongooseObjectIdCreateControllerResponse>;
|
|
1830
1967
|
/**
|
|
1831
1968
|
* Angular 20: Helper methods for state management
|
|
1832
1969
|
*/
|
|
@@ -2089,5 +2226,5 @@ declare class CideEleJsonEditorComponent implements OnInit, ControlValueAccessor
|
|
|
2089
2226
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleJsonEditorComponent, "cide-ele-json-editor", never, { "label": { "alias": "label"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showCharacterCount": { "alias": "showCharacterCount"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "valueChange": "valueChange"; "objectChange": "objectChange"; "errorsChange": "errorsChange"; "validChange": "validChange"; }, never, never, true, never>;
|
|
2090
2227
|
}
|
|
2091
2228
|
|
|
2092
|
-
export { CideCoreFileManagerService, CideEleButtonComponent, CideEleConfirmationModalComponent, CideEleDataGridComponent, CideEleDropdownComponent, CideEleFileImageDirective, CideEleFileInputComponent, CideEleFileManagerService, CideEleGlobalNotificationsComponent, CideEleJsonEditorComponent, CideEleResizerDirective, CideEleSkeletonLoaderComponent, CideEleTabComponent, CideEleToastNotificationComponent, CideElementsService, CideIconComponent, CideInputComponent, CideSelectComponent, CideSelectOptionComponent, CideSpinnerComponent, CideTextareaComponent, ConfirmationService, CoreFileManagerInsertUpdatePayload, DEFAULT_GRID_CONFIG, DropdownManagerService, ICoreCyfmSave, MFileManager, NotificationService, TooltipDirective };
|
|
2093
|
-
export type { ButtonElevation, ButtonShape, ButtonSize, ButtonType, ButtonVariant, CideEleResizerDirection, CideEleResizerDirectionTo, ColumnType, ColumnWidth, ConfirmationOptions, ConfirmationRequest, CoreFileManagerInsertUpdateResponse, DropdownConfig, DropdownInstance, DropdownItem, DropdownPosition, ErrorValidationStatus, FileUploadData, FileUploadOptions, GridAction, GridColumn, GridConfiguration, GridCustomFormatter, GridCustomRenderer, GridDragDropConfig, GridEvent, GridEventHandler, GridExportConfig, GridFormatter, GridLoadingConfig, GridPaginationConfig, GridScrollConfig, GridSearchConfig, GridState, GridTreeConfig, ICoreCyfm, ICoreFileManager, IFileDeleteResponse, IFileFilterOptions, IFileGroupingOptions, IFileListRequest, IFileListResponse, IFileManagerErrorLogger, IFileUpdateRequest, IFileUpdateResponse, IFileUploadProgress, IFileUploadQueueItem, IFileUploadRequest, IFileUploadResponse, JsonEditorConfig, JsonEditorError, NotificationItem, NotificationOptions, SelectOption, SelectOptionObject, ServiceState, StatusConfig, TabItem, TemplateContext, TemplateRenderer, TextAlign, TooltipPlacement, TooltipType, UploadProgress, ValidationStatus, controllerResponse, fileManagerControllerResponse, fileManagerResponseData };
|
|
2229
|
+
export { CideCoreFileManagerService, CideEleButtonComponent, CideEleConfirmationModalComponent, CideEleDataGridComponent, CideEleDropdownComponent, CideEleFileImageDirective, CideEleFileInputComponent, CideEleFileManagerService, CideEleGlobalFileUploaderComponent, CideEleGlobalNotificationsComponent, CideEleJsonEditorComponent, CideEleResizerDirective, CideEleSkeletonLoaderComponent, CideEleTabComponent, CideEleToastNotificationComponent, CideElementsService, CideIconComponent, CideInputComponent, CideSelectComponent, CideSelectOptionComponent, CideSpinnerComponent, CideTextareaComponent, ConfirmationService, CoreFileManagerInsertUpdatePayload, DEFAULT_GRID_CONFIG, DropdownManagerService, ICoreCyfmSave, MFileManager, NotificationService, TooltipDirective };
|
|
2230
|
+
export type { ButtonElevation, ButtonShape, ButtonSize, ButtonType, ButtonVariant, CideEleResizerDirection, CideEleResizerDirectionTo, ColumnType, ColumnWidth, ConfirmationOptions, ConfirmationRequest, CoreFileManagerInsertUpdateResponse, DropdownConfig, DropdownInstance, DropdownItem, DropdownPosition, ErrorValidationStatus, FileUploadData, FileUploadOptions, GridAction, GridColumn, GridConfiguration, GridCustomFormatter, GridCustomRenderer, GridDragDropConfig, GridEvent, GridEventHandler, GridExportConfig, GridFormatter, GridLoadingConfig, GridPaginationConfig, GridScrollConfig, GridSearchConfig, GridState, GridTreeConfig, ICoreCyfm, ICoreFileManager, IFileDeleteResponse, IFileFilterOptions, IFileGroupingOptions, IFileListRequest, IFileListResponse, IFileManagerErrorLogger, IFileUpdateRequest, IFileUpdateResponse, IFileUploadProgress, IFileUploadQueueItem, IFileUploadRequest, IFileUploadResponse, JsonEditorConfig, JsonEditorError, NotificationItem, NotificationOptions, SelectOption, SelectOptionObject, ServiceState, StatusConfig, TabItem, TemplateContext, TemplateRenderer, TextAlign, TooltipPlacement, TooltipType, UploadProgress, ValidationStatus, controllerResponse, fileManagerControllerResponse, fileManagerResponseData, mongooseObjectIdCreateControllerResponse };
|