cloud-ide-element 1.1.94 → 1.1.95
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 +1058 -977
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +36 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -604,7 +604,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
604
604
|
readonly id: _angular_core.WritableSignal<string>;
|
|
605
605
|
readonly isUploading: _angular_core.WritableSignal<boolean>;
|
|
606
606
|
readonly uploadProgress: _angular_core.WritableSignal<number>;
|
|
607
|
-
readonly uploadStatus: _angular_core.WritableSignal<"
|
|
607
|
+
readonly uploadStatus: _angular_core.WritableSignal<"idle" | "start" | "uploading" | "success" | "error">;
|
|
608
608
|
readonly files: _angular_core.WritableSignal<FileList | null>;
|
|
609
609
|
readonly fileNames: _angular_core.WritableSignal<string[]>;
|
|
610
610
|
readonly previewUrls: _angular_core.WritableSignal<string[]>;
|
|
@@ -613,10 +613,12 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
613
613
|
readonly groupId: _angular_core.WritableSignal<string | null>;
|
|
614
614
|
readonly isMultipleUploadMode: _angular_core.WritableSignal<boolean>;
|
|
615
615
|
readonly hasEverUploaded: _angular_core.WritableSignal<boolean>;
|
|
616
|
+
readonly failedFile: _angular_core.WritableSignal<File | null>;
|
|
616
617
|
readonly hasFiles: _angular_core.Signal<boolean>;
|
|
617
618
|
readonly canUpload: _angular_core.Signal<boolean>;
|
|
618
619
|
readonly isInErrorState: _angular_core.Signal<boolean>;
|
|
619
620
|
readonly isInSuccessState: _angular_core.Signal<boolean>;
|
|
621
|
+
readonly canRetry: _angular_core.Signal<boolean>;
|
|
620
622
|
readonly totalFileSize: _angular_core.Signal<number>;
|
|
621
623
|
readonly fileSizeInMB: _angular_core.Signal<string>;
|
|
622
624
|
private onChange;
|
|
@@ -635,6 +637,10 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
635
637
|
setDisabledState(isDisabled: boolean): void;
|
|
636
638
|
onFileSelected(event: Event): void;
|
|
637
639
|
clearFiles(): void;
|
|
640
|
+
/**
|
|
641
|
+
* Retry uploading the failed file
|
|
642
|
+
*/
|
|
643
|
+
retryUpload(): void;
|
|
638
644
|
private uploadFile;
|
|
639
645
|
/**
|
|
640
646
|
* Upload multiple files with group ID support
|
|
@@ -731,7 +737,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
731
737
|
multiple: boolean;
|
|
732
738
|
showPreview: boolean;
|
|
733
739
|
autoUpload: boolean;
|
|
734
|
-
uploadStatus: "
|
|
740
|
+
uploadStatus: "idle" | "start" | "uploading" | "success" | "error";
|
|
735
741
|
isUploading: boolean;
|
|
736
742
|
uploadProgress: number;
|
|
737
743
|
files: {
|
|
@@ -1385,6 +1391,33 @@ declare class CideSpinnerComponent {
|
|
|
1385
1391
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideSpinnerComponent, "cide-ele-spinner", never, { "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
|
|
1386
1392
|
}
|
|
1387
1393
|
|
|
1394
|
+
/**
|
|
1395
|
+
* Apple-inspired dark/light mode toggle component
|
|
1396
|
+
*
|
|
1397
|
+
* Features:
|
|
1398
|
+
* - Smooth animated toggle switch
|
|
1399
|
+
* - Apple-style design with rounded corners and shadows
|
|
1400
|
+
* - Works on pages without header/sidebar (dynamic website, login pages, auth project)
|
|
1401
|
+
* - Automatically syncs with system theme preference
|
|
1402
|
+
* - Persists user preference to localStorage
|
|
1403
|
+
*/
|
|
1404
|
+
declare class CideEleThemeToggleComponent implements OnInit, OnDestroy {
|
|
1405
|
+
private readonly themeService;
|
|
1406
|
+
private readonly destroyRef;
|
|
1407
|
+
readonly isDarkMode: _angular_core.WritableSignal<boolean>;
|
|
1408
|
+
readonly isAnimating: _angular_core.WritableSignal<boolean>;
|
|
1409
|
+
readonly togglePosition: _angular_core.Signal<"translate-x-5" | "translate-x-0">;
|
|
1410
|
+
readonly toggleBgColor: _angular_core.Signal<"tw-bg-gradient-to-r tw-from-blue-500 tw-to-indigo-600" | "tw-bg-gray-200 dark:tw-bg-gray-700">;
|
|
1411
|
+
ngOnInit(): void;
|
|
1412
|
+
ngOnDestroy(): void;
|
|
1413
|
+
/**
|
|
1414
|
+
* Toggle between light and dark mode
|
|
1415
|
+
*/
|
|
1416
|
+
toggleTheme(): void;
|
|
1417
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleThemeToggleComponent, never>;
|
|
1418
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleThemeToggleComponent, "cide-ele-theme-toggle", never, {}, {}, never, never, true, never>;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1388
1421
|
interface NotificationOptions {
|
|
1389
1422
|
message: string;
|
|
1390
1423
|
type?: 'success' | 'error' | 'warning' | 'info';
|
|
@@ -3722,5 +3755,5 @@ declare class CideEleSkeletonLoaderComponent {
|
|
|
3722
3755
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleSkeletonLoaderComponent, "cide-ele-skeleton-loader", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "count": { "alias": "count"; "required": false; }; "circle": { "alias": "circle"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; }, {}, never, never, true, never>;
|
|
3723
3756
|
}
|
|
3724
3757
|
|
|
3725
|
-
export { CapitalizePipe, CideCoreFileManagerService, CideEleBreadcrumbComponent, CideEleButtonComponent, CideEleConfirmationModalComponent, CideEleDataGridComponent, CideEleDropdownComponent, CideEleFileImageDirective, CideEleFileInputComponent, CideEleFileManagerService, CideEleFloatingContainerComponent, CideEleFloatingContainerDynamicDirective, CideEleFloatingContainerManagerComponent, CideEleFloatingContainerService, CideEleFloatingFeaturesService, CideEleFloatingFileUploaderComponent, CideEleFloatingFileUploaderService, CideEleGlobalNotificationsComponent, CideEleJsonEditorComponent, CideEleResizerDirective, CideEleSkeletonLoaderComponent, CideEleTabComponent, CideEleToastNotificationComponent, CideElementsService, CideFormFieldErrorComponent, CideIconComponent, CideInputComponent, CideSelectComponent, CideSelectOptionComponent, CideSpinnerComponent, CideTextareaComponent, CideThemeService, ConfirmationService, CoreFileManagerInsertUpdatePayload, DEFAULT_GRID_CONFIG, DropdownManagerService, ExportService, ICoreCyfmSave, KeyboardShortcutService, MFileManager, NotificationApiService, NotificationService, PortalService, TooltipDirective, WebSocketNotificationService, cidePath, hostManagerRoutesUrl, notificationRoutesUrl };
|
|
3758
|
+
export { CapitalizePipe, CideCoreFileManagerService, CideEleBreadcrumbComponent, CideEleButtonComponent, CideEleConfirmationModalComponent, CideEleDataGridComponent, CideEleDropdownComponent, CideEleFileImageDirective, CideEleFileInputComponent, CideEleFileManagerService, CideEleFloatingContainerComponent, CideEleFloatingContainerDynamicDirective, CideEleFloatingContainerManagerComponent, CideEleFloatingContainerService, CideEleFloatingFeaturesService, CideEleFloatingFileUploaderComponent, CideEleFloatingFileUploaderService, CideEleGlobalNotificationsComponent, CideEleJsonEditorComponent, CideEleResizerDirective, CideEleSkeletonLoaderComponent, CideEleTabComponent, CideEleThemeToggleComponent, CideEleToastNotificationComponent, CideElementsService, CideFormFieldErrorComponent, CideIconComponent, CideInputComponent, CideSelectComponent, CideSelectOptionComponent, CideSpinnerComponent, CideTextareaComponent, CideThemeService, ConfirmationService, CoreFileManagerInsertUpdatePayload, DEFAULT_GRID_CONFIG, DropdownManagerService, ExportService, ICoreCyfmSave, KeyboardShortcutService, MFileManager, NotificationApiService, NotificationService, PortalService, TooltipDirective, WebSocketNotificationService, cidePath, hostManagerRoutesUrl, notificationRoutesUrl };
|
|
3726
3759
|
export type { BreadcrumbConfig, BreadcrumbDropdownOption, BreadcrumbItem, BreadcrumbSeparator, BreadcrumbStyle, ButtonElevation, ButtonShape, ButtonSize, ButtonType, ButtonVariant, CideEleResizerDirection, CideEleResizerDirectionTo, CideTheme, CideThemeConfig, ColumnFilter, ColumnGroup, ColumnSort, ColumnType, ColumnWidth, ConfirmationOptions, ConfirmationRequest, ConnectionStatus, CoreFileManagerInsertUpdateResponse, CreateNotificationDto, DropdownConfig, DropdownInstance, DropdownItem, DropdownPosition, ErrorValidationStatus, FileUploadData, FileUploadOptions, FileUploaderData, FloatingComponentConfig, FloatingContainerConfig, FloatingContainerInstance, FloatingFileUploaderData, GridAction, GridColumn, GridColumnMenuConfig, 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, NotificationListResponse, NotificationOptions, NotificationPayload, NotificationResponse, PortalConfig, PortalPosition, SelectOption, SelectOptionObject, ServerNotification, ServiceState, ShortcutOverride, StatusConfig, TabItem, TemplateContext, TemplatePortalConfig, TemplateRenderer, TextAlign, TooltipPlacement, TooltipType, UnreadCountResponse, UploadProgress, ValidationStatus, controllerResponse, fileManagerControllerResponse, fileManagerResponseData, mongooseObjectIdCreateControllerResponse };
|