cloud-ide-element 1.0.119 → 1.0.121
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 +305 -474
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +77 -104
- 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<"uploading" | "error" | "start" | "success" | "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[]>;
|
|
@@ -727,7 +727,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
727
727
|
multiple: boolean;
|
|
728
728
|
showPreview: boolean;
|
|
729
729
|
autoUpload: boolean;
|
|
730
|
-
uploadStatus: "
|
|
730
|
+
uploadStatus: "uploading" | "error" | "start" | "success" | "idle";
|
|
731
731
|
isUploading: boolean;
|
|
732
732
|
uploadProgress: number;
|
|
733
733
|
files: {
|
|
@@ -753,12 +753,20 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
753
753
|
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; }; "showFloatingUploader": { "alias": "showFloatingUploader"; "required": false; }; "floatingUploaderGroupId": { "alias": "floatingUploaderGroupId"; "required": false; }; }, { "fileChange": "fileChange"; "uploadSuccess": "uploadSuccess"; "uploadError": "uploadError"; "uploadProgressChange": "uploadProgressChange"; }, never, never, true, never>;
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
+
interface FloatingFileUploaderData {
|
|
757
|
+
userId?: string;
|
|
758
|
+
groupId?: string;
|
|
759
|
+
title?: string;
|
|
760
|
+
description?: string;
|
|
761
|
+
maxFileSize?: number;
|
|
762
|
+
allowedFileTypes?: string[];
|
|
763
|
+
multiple?: boolean;
|
|
764
|
+
}
|
|
756
765
|
declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy {
|
|
757
766
|
private destroyRef;
|
|
758
767
|
private fileManagerService;
|
|
759
|
-
data:
|
|
768
|
+
data: FloatingFileUploaderData;
|
|
760
769
|
isVisible: _angular_core.WritableSignal<boolean>;
|
|
761
|
-
isMinimized: _angular_core.WritableSignal<boolean>;
|
|
762
770
|
currentUserId: _angular_core.WritableSignal<string>;
|
|
763
771
|
currentGroupId: _angular_core.WritableSignal<string | null>;
|
|
764
772
|
uploadQueue: _angular_core.Signal<string[]>;
|
|
@@ -776,20 +784,11 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
776
784
|
percentage?: number;
|
|
777
785
|
}[]>;
|
|
778
786
|
hasFilesToShow: _angular_core.Signal<boolean>;
|
|
787
|
+
getUploadingCount(): number;
|
|
788
|
+
getCompletedCount(): number;
|
|
789
|
+
getFailedCount(): number;
|
|
779
790
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
780
|
-
isDragging: _angular_core.WritableSignal<boolean>;
|
|
781
|
-
position: _angular_core.WritableSignal<{
|
|
782
|
-
x: number;
|
|
783
|
-
y: number;
|
|
784
|
-
}>;
|
|
785
|
-
dragOffset: {
|
|
786
|
-
x: number;
|
|
787
|
-
y: number;
|
|
788
|
-
};
|
|
789
791
|
isDragOver: _angular_core.WritableSignal<boolean>;
|
|
790
|
-
private windowResizeHandler?;
|
|
791
|
-
private cachedDimensions;
|
|
792
|
-
private lastDimensionUpdate;
|
|
793
792
|
constructor();
|
|
794
793
|
ngOnInit(): void;
|
|
795
794
|
private initializeWithData;
|
|
@@ -843,14 +842,6 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
843
842
|
* Hide with animation
|
|
844
843
|
*/
|
|
845
844
|
private hideWithAnimation;
|
|
846
|
-
/**
|
|
847
|
-
* Toggle minimize state
|
|
848
|
-
*/
|
|
849
|
-
toggleMinimize(): void;
|
|
850
|
-
/**
|
|
851
|
-
* Close the floating uploader
|
|
852
|
-
*/
|
|
853
|
-
close(): void;
|
|
854
845
|
/**
|
|
855
846
|
* Get upload summary text
|
|
856
847
|
*/
|
|
@@ -917,30 +908,6 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
917
908
|
* Handle file selection from drag/drop or file input
|
|
918
909
|
*/
|
|
919
910
|
private handleFileSelection;
|
|
920
|
-
/**
|
|
921
|
-
* Update cached dimensions (throttled for performance)
|
|
922
|
-
*/
|
|
923
|
-
private updateCachedDimensions;
|
|
924
|
-
/**
|
|
925
|
-
* Start dragging the uploader
|
|
926
|
-
*/
|
|
927
|
-
startDrag(event: MouseEvent | TouchEvent): void;
|
|
928
|
-
/**
|
|
929
|
-
* Handle dragging movement
|
|
930
|
-
*/
|
|
931
|
-
private onDrag;
|
|
932
|
-
/**
|
|
933
|
-
* End dragging
|
|
934
|
-
*/
|
|
935
|
-
private endDrag;
|
|
936
|
-
/**
|
|
937
|
-
* Set up window resize listener to keep uploader within bounds
|
|
938
|
-
*/
|
|
939
|
-
private setupWindowResize;
|
|
940
|
-
/**
|
|
941
|
-
* Initialize default position
|
|
942
|
-
*/
|
|
943
|
-
private initializePosition;
|
|
944
911
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleFloatingFileUploaderComponent, never>;
|
|
945
912
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFloatingFileUploaderComponent, "cide-ele-floating-file-uploader", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
946
913
|
}
|
|
@@ -1121,61 +1088,6 @@ declare class KeyboardShortcutService implements OnDestroy {
|
|
|
1121
1088
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<KeyboardShortcutService>;
|
|
1122
1089
|
}
|
|
1123
1090
|
|
|
1124
|
-
declare class FloatingContainerShortcutsService {
|
|
1125
|
-
private keyboardShortcutService;
|
|
1126
|
-
private containerService;
|
|
1127
|
-
private readonly Z_INDEX_LAYERS;
|
|
1128
|
-
constructor();
|
|
1129
|
-
/**
|
|
1130
|
-
* Register default floating container shortcuts using custom key combinations
|
|
1131
|
-
*/
|
|
1132
|
-
private registerDefaultShortcuts;
|
|
1133
|
-
/**
|
|
1134
|
-
* Override a floating container shortcut
|
|
1135
|
-
*/
|
|
1136
|
-
overrideShortcut(shortcutId: string, newKey: string, options?: {
|
|
1137
|
-
ctrlKey?: boolean;
|
|
1138
|
-
altKey?: boolean;
|
|
1139
|
-
shiftKey?: boolean;
|
|
1140
|
-
metaKey?: boolean;
|
|
1141
|
-
}): void;
|
|
1142
|
-
/**
|
|
1143
|
-
* Add a custom floating container shortcut
|
|
1144
|
-
*/
|
|
1145
|
-
addCustomShortcut(shortcut: {
|
|
1146
|
-
id: string;
|
|
1147
|
-
key: string;
|
|
1148
|
-
ctrlKey?: boolean;
|
|
1149
|
-
altKey?: boolean;
|
|
1150
|
-
shiftKey?: boolean;
|
|
1151
|
-
metaKey?: boolean;
|
|
1152
|
-
description?: string;
|
|
1153
|
-
action: () => void;
|
|
1154
|
-
}): void;
|
|
1155
|
-
/**
|
|
1156
|
-
* Remove a floating container shortcut
|
|
1157
|
-
*/
|
|
1158
|
-
removeShortcut(shortcutId: string): void;
|
|
1159
|
-
/**
|
|
1160
|
-
* Get all floating container shortcuts
|
|
1161
|
-
*/
|
|
1162
|
-
getShortcuts(): cloud_ide_element.KeyboardShortcut[];
|
|
1163
|
-
private cycleToNextContainer;
|
|
1164
|
-
private cycleToPreviousContainer;
|
|
1165
|
-
private hideAllContainers;
|
|
1166
|
-
private focusFirstContainer;
|
|
1167
|
-
private minimizeAllContainers;
|
|
1168
|
-
private focusContainerByIndex;
|
|
1169
|
-
private openFileUploader;
|
|
1170
|
-
private openEntityRightsSharing;
|
|
1171
|
-
private showAllContainers;
|
|
1172
|
-
private duplicateCurrentContainer;
|
|
1173
|
-
private closeCurrentContainer;
|
|
1174
|
-
private toggleContainerVisibility;
|
|
1175
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FloatingContainerShortcutsService, never>;
|
|
1176
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FloatingContainerShortcutsService>;
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
1091
|
declare class CideElementsService {
|
|
1180
1092
|
cide_element_data: {
|
|
1181
1093
|
[key: string]: ICoreSype;
|
|
@@ -2901,5 +2813,66 @@ declare class CideEleFloatingContainerDynamicDirective implements OnInit, OnDest
|
|
|
2901
2813
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CideEleFloatingContainerDynamicDirective, "[cideEleFloatingDynamic]", never, { "componentId": { "alias": "componentId"; "required": false; }; "componentConfig": { "alias": "componentConfig"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; }, {}, never, never, true, never>;
|
|
2902
2814
|
}
|
|
2903
2815
|
|
|
2816
|
+
declare class FloatingContainerShortcutsService {
|
|
2817
|
+
private keyboardShortcutService;
|
|
2818
|
+
private containerService;
|
|
2819
|
+
private readonly Z_INDEX_LAYERS;
|
|
2820
|
+
constructor();
|
|
2821
|
+
/**
|
|
2822
|
+
* Register default floating container shortcuts
|
|
2823
|
+
*/
|
|
2824
|
+
private registerDefaultShortcuts;
|
|
2825
|
+
/**
|
|
2826
|
+
* Register number shortcuts (Alt + 1, Alt + 2, etc.)
|
|
2827
|
+
*/
|
|
2828
|
+
private registerNumberShortcuts;
|
|
2829
|
+
/**
|
|
2830
|
+
* Open new floating container
|
|
2831
|
+
*/
|
|
2832
|
+
private openNewContainer;
|
|
2833
|
+
/**
|
|
2834
|
+
* Focus previous container
|
|
2835
|
+
*/
|
|
2836
|
+
private focusPreviousContainer;
|
|
2837
|
+
/**
|
|
2838
|
+
* Hide all containers
|
|
2839
|
+
*/
|
|
2840
|
+
private hideAllContainers;
|
|
2841
|
+
/**
|
|
2842
|
+
* Show all containers
|
|
2843
|
+
*/
|
|
2844
|
+
private showAllContainers;
|
|
2845
|
+
/**
|
|
2846
|
+
* Minimize all containers
|
|
2847
|
+
*/
|
|
2848
|
+
private minimizeAllContainers;
|
|
2849
|
+
/**
|
|
2850
|
+
* Focus container by index
|
|
2851
|
+
*/
|
|
2852
|
+
private focusContainerByIndex;
|
|
2853
|
+
/**
|
|
2854
|
+
* Open file uploader
|
|
2855
|
+
*/
|
|
2856
|
+
private openFileUploader;
|
|
2857
|
+
/**
|
|
2858
|
+
* Open entity rights sharing
|
|
2859
|
+
*/
|
|
2860
|
+
private openEntityRightsSharing;
|
|
2861
|
+
/**
|
|
2862
|
+
* Duplicate current container
|
|
2863
|
+
*/
|
|
2864
|
+
private duplicateCurrentContainer;
|
|
2865
|
+
/**
|
|
2866
|
+
* Close current container
|
|
2867
|
+
*/
|
|
2868
|
+
private closeCurrentContainer;
|
|
2869
|
+
/**
|
|
2870
|
+
* Toggle container visibility
|
|
2871
|
+
*/
|
|
2872
|
+
private toggleContainerVisibility;
|
|
2873
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FloatingContainerShortcutsService, never>;
|
|
2874
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FloatingContainerShortcutsService>;
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2904
2877
|
export { CideCoreFileManagerService, CideEleButtonComponent, CideEleConfirmationModalComponent, CideEleDataGridComponent, CideEleDropdownComponent, CideEleFileImageDirective, CideEleFileInputComponent, CideEleFileManagerService, CideEleFloatingContainerComponent, CideEleFloatingContainerDynamicDirective, CideEleFloatingContainerManagerComponent, CideEleFloatingContainerService, CideEleFloatingFeaturesService, CideEleFloatingFileUploaderComponent, CideEleFloatingFileUploaderService, CideEleGlobalNotificationsComponent, CideEleJsonEditorComponent, CideEleResizerDirective, CideEleSkeletonLoaderComponent, CideEleTabComponent, CideEleToastNotificationComponent, CideElementsService, CideIconComponent, CideInputComponent, CideSelectComponent, CideSelectOptionComponent, CideSpinnerComponent, CideTextareaComponent, ConfirmationService, CoreFileManagerInsertUpdatePayload, DEFAULT_GRID_CONFIG, DropdownManagerService, FloatingContainerShortcutsService, ICoreCyfmSave, KeyboardShortcutService, MFileManager, NotificationService, TooltipDirective };
|
|
2905
|
-
export type { ButtonElevation, ButtonShape, ButtonSize, ButtonType, ButtonVariant, CideEleResizerDirection, CideEleResizerDirectionTo, ColumnType, ColumnWidth, ConfirmationOptions, ConfirmationRequest, CoreFileManagerInsertUpdateResponse, DropdownConfig, DropdownInstance, DropdownItem, DropdownPosition, ErrorValidationStatus, FileUploadData, FileUploadOptions, FileUploaderData, FloatingComponentConfig, FloatingContainerConfig, FloatingContainerInstance, 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, KeyboardShortcut, NotificationItem, NotificationOptions, SelectOption, SelectOptionObject, ServiceState, ShortcutOverride, StatusConfig, TabItem, TemplateContext, TemplateRenderer, TextAlign, TooltipPlacement, TooltipType, UploadProgress, ValidationStatus, controllerResponse, fileManagerControllerResponse, fileManagerResponseData, mongooseObjectIdCreateControllerResponse };
|
|
2878
|
+
export type { ButtonElevation, ButtonShape, ButtonSize, ButtonType, ButtonVariant, CideEleResizerDirection, CideEleResizerDirectionTo, ColumnType, ColumnWidth, ConfirmationOptions, ConfirmationRequest, CoreFileManagerInsertUpdateResponse, DropdownConfig, DropdownInstance, DropdownItem, DropdownPosition, ErrorValidationStatus, FileUploadData, FileUploadOptions, FileUploaderData, FloatingComponentConfig, FloatingContainerConfig, FloatingContainerInstance, FloatingFileUploaderData, 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, KeyboardShortcut, NotificationItem, NotificationOptions, SelectOption, SelectOptionObject, ServiceState, ShortcutOverride, StatusConfig, TabItem, TemplateContext, TemplateRenderer, TextAlign, TooltipPlacement, TooltipType, UploadProgress, ValidationStatus, controllerResponse, fileManagerControllerResponse, fileManagerResponseData, mongooseObjectIdCreateControllerResponse };
|