cloud-ide-element 1.0.120 → 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 +298 -474
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +76 -141
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -753,10 +753,19 @@ 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
770
|
currentUserId: _angular_core.WritableSignal<string>;
|
|
762
771
|
currentGroupId: _angular_core.WritableSignal<string | null>;
|
|
@@ -775,6 +784,9 @@ declare class CideEleFloatingFileUploaderComponent implements OnInit, OnDestroy
|
|
|
775
784
|
percentage?: number;
|
|
776
785
|
}[]>;
|
|
777
786
|
hasFilesToShow: _angular_core.Signal<boolean>;
|
|
787
|
+
getUploadingCount(): number;
|
|
788
|
+
getCompletedCount(): number;
|
|
789
|
+
getFailedCount(): number;
|
|
778
790
|
isAnimating: _angular_core.WritableSignal<boolean>;
|
|
779
791
|
isDragOver: _angular_core.WritableSignal<boolean>;
|
|
780
792
|
constructor();
|
|
@@ -1076,144 +1088,6 @@ declare class KeyboardShortcutService implements OnDestroy {
|
|
|
1076
1088
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<KeyboardShortcutService>;
|
|
1077
1089
|
}
|
|
1078
1090
|
|
|
1079
|
-
declare class FloatingContainerShortcutsService {
|
|
1080
|
-
private keyboardShortcutService;
|
|
1081
|
-
private containerService;
|
|
1082
|
-
private readonly Z_INDEX_LAYERS;
|
|
1083
|
-
constructor();
|
|
1084
|
-
/**
|
|
1085
|
-
* Register default floating container shortcuts using custom key combinations
|
|
1086
|
-
*/
|
|
1087
|
-
private registerDefaultShortcuts;
|
|
1088
|
-
/**
|
|
1089
|
-
* Override a floating container shortcut
|
|
1090
|
-
*/
|
|
1091
|
-
overrideShortcut(shortcutId: string, newKey: string, options?: {
|
|
1092
|
-
ctrlKey?: boolean;
|
|
1093
|
-
altKey?: boolean;
|
|
1094
|
-
shiftKey?: boolean;
|
|
1095
|
-
metaKey?: boolean;
|
|
1096
|
-
}): void;
|
|
1097
|
-
/**
|
|
1098
|
-
* Add a custom floating container shortcut
|
|
1099
|
-
*/
|
|
1100
|
-
addCustomShortcut(shortcut: {
|
|
1101
|
-
id: string;
|
|
1102
|
-
key: string;
|
|
1103
|
-
ctrlKey?: boolean;
|
|
1104
|
-
altKey?: boolean;
|
|
1105
|
-
shiftKey?: boolean;
|
|
1106
|
-
metaKey?: boolean;
|
|
1107
|
-
description?: string;
|
|
1108
|
-
action: () => void;
|
|
1109
|
-
}): void;
|
|
1110
|
-
/**
|
|
1111
|
-
* Remove a floating container shortcut
|
|
1112
|
-
*/
|
|
1113
|
-
removeShortcut(shortcutId: string): void;
|
|
1114
|
-
/**
|
|
1115
|
-
* Get all floating container shortcuts
|
|
1116
|
-
*/
|
|
1117
|
-
getShortcuts(): cloud_ide_element.KeyboardShortcut[];
|
|
1118
|
-
private cycleToNextContainer;
|
|
1119
|
-
private cycleToPreviousContainer;
|
|
1120
|
-
private hideAllContainers;
|
|
1121
|
-
private focusFirstContainer;
|
|
1122
|
-
private minimizeAllContainers;
|
|
1123
|
-
private focusContainerByIndex;
|
|
1124
|
-
private openFileUploader;
|
|
1125
|
-
private openEntityRightsSharing;
|
|
1126
|
-
private showAllContainers;
|
|
1127
|
-
private duplicateCurrentContainer;
|
|
1128
|
-
private closeCurrentContainer;
|
|
1129
|
-
private toggleContainerVisibility;
|
|
1130
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FloatingContainerShortcutsService, never>;
|
|
1131
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FloatingContainerShortcutsService>;
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
interface ShortcutConfig {
|
|
1135
|
-
id: string;
|
|
1136
|
-
key: string;
|
|
1137
|
-
ctrlKey?: boolean;
|
|
1138
|
-
altKey?: boolean;
|
|
1139
|
-
shiftKey?: boolean;
|
|
1140
|
-
metaKey?: boolean;
|
|
1141
|
-
description: string;
|
|
1142
|
-
action: () => void;
|
|
1143
|
-
preventDefault?: boolean;
|
|
1144
|
-
stopPropagation?: boolean;
|
|
1145
|
-
}
|
|
1146
|
-
interface AppShortcutConfig {
|
|
1147
|
-
eventName: string;
|
|
1148
|
-
key: string;
|
|
1149
|
-
ctrlKey?: boolean;
|
|
1150
|
-
altKey?: boolean;
|
|
1151
|
-
shiftKey?: boolean;
|
|
1152
|
-
metaKey?: boolean;
|
|
1153
|
-
description: string;
|
|
1154
|
-
preventDefault?: boolean;
|
|
1155
|
-
stopPropagation?: boolean;
|
|
1156
|
-
}
|
|
1157
|
-
interface IAppShortcutService {
|
|
1158
|
-
registerShortcuts(shortcuts: AppShortcutConfig[]): void;
|
|
1159
|
-
unregisterShortcuts(shortcutIds: string[]): void;
|
|
1160
|
-
getRegisteredShortcuts(): AppShortcutConfig[];
|
|
1161
|
-
isShortcutRegistered(shortcutId: string): boolean;
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
declare class AppShortcutService {
|
|
1165
|
-
private keyboardShortcutService;
|
|
1166
|
-
private registeredShortcuts;
|
|
1167
|
-
/**
|
|
1168
|
-
* Register shortcuts from app component
|
|
1169
|
-
* @param shortcuts Array of shortcut configurations
|
|
1170
|
-
*/
|
|
1171
|
-
registerShortcuts(shortcuts: AppShortcutConfig[]): void;
|
|
1172
|
-
/**
|
|
1173
|
-
* Unregister shortcuts by event names
|
|
1174
|
-
* @param eventNames Array of event names to unregister
|
|
1175
|
-
*/
|
|
1176
|
-
unregisterShortcuts(eventNames: string[]): void;
|
|
1177
|
-
/**
|
|
1178
|
-
* Get all registered app shortcuts
|
|
1179
|
-
*/
|
|
1180
|
-
getRegisteredShortcuts(): AppShortcutConfig[];
|
|
1181
|
-
/**
|
|
1182
|
-
* Check if a shortcut is registered
|
|
1183
|
-
* @param eventName Event name to check
|
|
1184
|
-
*/
|
|
1185
|
-
isShortcutRegistered(eventName: string): boolean;
|
|
1186
|
-
/**
|
|
1187
|
-
* Update an existing shortcut
|
|
1188
|
-
* @param eventName Event name to update
|
|
1189
|
-
* @param newConfig New shortcut configuration
|
|
1190
|
-
*/
|
|
1191
|
-
updateShortcut(eventName: string, newConfig: AppShortcutConfig): void;
|
|
1192
|
-
/**
|
|
1193
|
-
* Clear all app shortcuts
|
|
1194
|
-
*/
|
|
1195
|
-
clearAllShortcuts(): void;
|
|
1196
|
-
/**
|
|
1197
|
-
* Get shortcut information for help/documentation
|
|
1198
|
-
*/
|
|
1199
|
-
getShortcutHelp(): Array<{
|
|
1200
|
-
eventName: string;
|
|
1201
|
-
description: string;
|
|
1202
|
-
keys: string;
|
|
1203
|
-
}>;
|
|
1204
|
-
/**
|
|
1205
|
-
* Execute app event (this would be implemented by the app component)
|
|
1206
|
-
* @param eventName Name of the event to execute
|
|
1207
|
-
*/
|
|
1208
|
-
private executeAppEvent;
|
|
1209
|
-
/**
|
|
1210
|
-
* Get human-readable key description
|
|
1211
|
-
*/
|
|
1212
|
-
private getKeyDescription;
|
|
1213
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppShortcutService, never>;
|
|
1214
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AppShortcutService>;
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
1091
|
declare class CideElementsService {
|
|
1218
1092
|
cide_element_data: {
|
|
1219
1093
|
[key: string]: ICoreSype;
|
|
@@ -2939,5 +2813,66 @@ declare class CideEleFloatingContainerDynamicDirective implements OnInit, OnDest
|
|
|
2939
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>;
|
|
2940
2814
|
}
|
|
2941
2815
|
|
|
2942
|
-
|
|
2943
|
-
|
|
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
|
+
|
|
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 };
|
|
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 };
|