cloud-ide-element 1.0.76 → 1.0.78
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 +369 -1
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +140 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1026,6 +1026,145 @@ declare class CideEleGlobalFileUploaderComponent {
|
|
|
1026
1026
|
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>;
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
|
+
declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy {
|
|
1030
|
+
private destroyRef;
|
|
1031
|
+
private fileManagerService;
|
|
1032
|
+
isVisible: _angular_core.WritableSignal<boolean>;
|
|
1033
|
+
isMinimized: _angular_core.WritableSignal<boolean>;
|
|
1034
|
+
uploadQueue: _angular_core.WritableSignal<IFileUploadProgress[]>;
|
|
1035
|
+
isUploading: _angular_core.WritableSignal<boolean>;
|
|
1036
|
+
uploadProgress: _angular_core.WritableSignal<number>;
|
|
1037
|
+
currentUserId: _angular_core.WritableSignal<string>;
|
|
1038
|
+
hasUploads: _angular_core.Signal<boolean>;
|
|
1039
|
+
pendingUploads: _angular_core.Signal<IFileUploadProgress[]>;
|
|
1040
|
+
activeUploads: _angular_core.Signal<IFileUploadProgress[]>;
|
|
1041
|
+
completedUploads: _angular_core.Signal<IFileUploadProgress[]>;
|
|
1042
|
+
failedUploads: _angular_core.Signal<IFileUploadProgress[]>;
|
|
1043
|
+
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1044
|
+
constructor();
|
|
1045
|
+
ngOnInit(): void;
|
|
1046
|
+
ngOnDestroy(): void;
|
|
1047
|
+
/**
|
|
1048
|
+
* Set up drag and drop functionality
|
|
1049
|
+
*/
|
|
1050
|
+
private setupDragAndDrop;
|
|
1051
|
+
/**
|
|
1052
|
+
* Remove drag and drop listeners
|
|
1053
|
+
*/
|
|
1054
|
+
private removeDragAndDropListeners;
|
|
1055
|
+
/**
|
|
1056
|
+
* Set up file input change listeners
|
|
1057
|
+
*/
|
|
1058
|
+
private setupFileInputListeners;
|
|
1059
|
+
/**
|
|
1060
|
+
* Remove file input listeners
|
|
1061
|
+
*/
|
|
1062
|
+
private removeFileInputListeners;
|
|
1063
|
+
/**
|
|
1064
|
+
* Handle file input change events
|
|
1065
|
+
*/
|
|
1066
|
+
private handleFileInputChange;
|
|
1067
|
+
/**
|
|
1068
|
+
* Handle drag over event
|
|
1069
|
+
*/
|
|
1070
|
+
private handleDragOver;
|
|
1071
|
+
/**
|
|
1072
|
+
* Handle drag leave event
|
|
1073
|
+
*/
|
|
1074
|
+
private handleDragLeave;
|
|
1075
|
+
/**
|
|
1076
|
+
* Handle drop event
|
|
1077
|
+
*/
|
|
1078
|
+
private handleDrop;
|
|
1079
|
+
/**
|
|
1080
|
+
* Handle files from drag and drop or file input
|
|
1081
|
+
*/
|
|
1082
|
+
private handleFiles;
|
|
1083
|
+
/**
|
|
1084
|
+
* Update visibility based on upload state
|
|
1085
|
+
*/
|
|
1086
|
+
private updateVisibility;
|
|
1087
|
+
/**
|
|
1088
|
+
* Show with animation
|
|
1089
|
+
*/
|
|
1090
|
+
private showWithAnimation;
|
|
1091
|
+
/**
|
|
1092
|
+
* Hide with animation
|
|
1093
|
+
*/
|
|
1094
|
+
private hideWithAnimation;
|
|
1095
|
+
/**
|
|
1096
|
+
* Toggle minimize state
|
|
1097
|
+
*/
|
|
1098
|
+
toggleMinimize(): void;
|
|
1099
|
+
/**
|
|
1100
|
+
* Close the floating uploader
|
|
1101
|
+
*/
|
|
1102
|
+
close(): void;
|
|
1103
|
+
/**
|
|
1104
|
+
* Clear all uploads
|
|
1105
|
+
*/
|
|
1106
|
+
clearAllUploads(): void;
|
|
1107
|
+
/**
|
|
1108
|
+
* Clear completed uploads
|
|
1109
|
+
*/
|
|
1110
|
+
clearCompletedUploads(): void;
|
|
1111
|
+
/**
|
|
1112
|
+
* Cancel upload
|
|
1113
|
+
*/
|
|
1114
|
+
cancelUpload(fileId: string): void;
|
|
1115
|
+
/**
|
|
1116
|
+
* Retry upload
|
|
1117
|
+
*/
|
|
1118
|
+
retryUpload(fileId: string): void;
|
|
1119
|
+
/**
|
|
1120
|
+
* Update upload progress
|
|
1121
|
+
*/
|
|
1122
|
+
private updateUploadProgress;
|
|
1123
|
+
/**
|
|
1124
|
+
* Update upload status
|
|
1125
|
+
*/
|
|
1126
|
+
private updateUploadStatus;
|
|
1127
|
+
/**
|
|
1128
|
+
* Get status icon
|
|
1129
|
+
*/
|
|
1130
|
+
getStatusIcon(status: IFileUploadProgress['status']): string;
|
|
1131
|
+
/**
|
|
1132
|
+
* Get status class
|
|
1133
|
+
*/
|
|
1134
|
+
getStatusClass(status: IFileUploadProgress['status']): string;
|
|
1135
|
+
/**
|
|
1136
|
+
* Get file size display
|
|
1137
|
+
*/
|
|
1138
|
+
getFileSizeDisplay(size: number): string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Get overall progress percentage
|
|
1141
|
+
*/
|
|
1142
|
+
getOverallProgress(): number;
|
|
1143
|
+
/**
|
|
1144
|
+
* Get upload summary text
|
|
1145
|
+
*/
|
|
1146
|
+
getUploadSummary(): string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Generate unique file ID
|
|
1149
|
+
*/
|
|
1150
|
+
private generateFileId;
|
|
1151
|
+
/**
|
|
1152
|
+
* Extract file name from file ID
|
|
1153
|
+
*/
|
|
1154
|
+
private extractFileNameFromId;
|
|
1155
|
+
/**
|
|
1156
|
+
* Set current user ID
|
|
1157
|
+
*/
|
|
1158
|
+
setCurrentUserId(userId: string): void;
|
|
1159
|
+
/**
|
|
1160
|
+
* Public method to handle files from external sources
|
|
1161
|
+
* This can be called by other components to trigger the floating uploader
|
|
1162
|
+
*/
|
|
1163
|
+
handleExternalFiles(files: File[], userId?: string): void;
|
|
1164
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleFloatingFileUploaderComponent, never>;
|
|
1165
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFloatingFileUploaderComponent, "cide-ele-floating-file-uploader", never, {}, {}, never, never, true, never>;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1029
1168
|
declare class CideTextareaComponent implements ControlValueAccessor, Validator, OnInit, OnChanges {
|
|
1030
1169
|
label: string;
|
|
1031
1170
|
labelHide: boolean;
|
|
@@ -2231,5 +2370,5 @@ declare class CideEleJsonEditorComponent implements OnInit, ControlValueAccessor
|
|
|
2231
2370
|
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>;
|
|
2232
2371
|
}
|
|
2233
2372
|
|
|
2234
|
-
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 };
|
|
2373
|
+
export { CideCoreFileManagerService, CideEleButtonComponent, CideEleConfirmationModalComponent, CideEleDataGridComponent, CideEleDropdownComponent, CideEleFileImageDirective, CideEleFileInputComponent, CideEleFileManagerService, CideEleFloatingFileUploaderComponent, CideEleGlobalFileUploaderComponent, CideEleGlobalNotificationsComponent, CideEleJsonEditorComponent, CideEleResizerDirective, CideEleSkeletonLoaderComponent, CideEleTabComponent, CideEleToastNotificationComponent, CideElementsService, CideIconComponent, CideInputComponent, CideSelectComponent, CideSelectOptionComponent, CideSpinnerComponent, CideTextareaComponent, ConfirmationService, CoreFileManagerInsertUpdatePayload, DEFAULT_GRID_CONFIG, DropdownManagerService, ICoreCyfmSave, MFileManager, NotificationService, TooltipDirective };
|
|
2235
2374
|
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 };
|