cloud-ide-element 1.0.61 → 1.0.64
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 +480 -88
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +270 -32
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { elementStyleType, labelPlacementType, labelDirType, autocapitalizeType,
|
|
|
5
5
|
import { Router, NavigationExtras } from '@angular/router';
|
|
6
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
7
|
import * as cloud_ide_element from 'cloud-ide-element';
|
|
8
|
+
import { HttpClient, HttpEvent } from '@angular/common/http';
|
|
8
9
|
|
|
9
10
|
declare class CapitalizePipe implements PipeTransform {
|
|
10
11
|
transform(value: string, capitalizationMethod: 'allUpperCase' | 'titleCase' | 'sentenceCase'): string;
|
|
@@ -548,44 +549,60 @@ interface FileUploadData {
|
|
|
548
549
|
/** Allow additional properties with proper typing */
|
|
549
550
|
[key: string]: string | number | string[] | undefined;
|
|
550
551
|
}
|
|
551
|
-
declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestroy, Validator {
|
|
552
|
+
declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestroy, OnInit, Validator {
|
|
552
553
|
private readonly fileManagerService;
|
|
553
554
|
private readonly notificationService;
|
|
554
555
|
private readonly elementService;
|
|
555
556
|
private readonly destroyRef;
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
557
|
+
label: string;
|
|
558
|
+
accept: string;
|
|
559
|
+
multiple: boolean;
|
|
560
|
+
disabled: boolean;
|
|
561
|
+
required: boolean;
|
|
562
|
+
helperText: string;
|
|
563
|
+
errorText: string;
|
|
564
|
+
showPreview: boolean;
|
|
565
|
+
previewWidth: string;
|
|
566
|
+
previewHeight: string;
|
|
567
|
+
previewBoxMode: boolean;
|
|
568
|
+
showFileName: boolean;
|
|
569
|
+
placeholderText: string;
|
|
570
|
+
placeholderIcon: string;
|
|
571
|
+
autoUpload: boolean;
|
|
572
|
+
uploadData: FileUploadData;
|
|
573
|
+
fileChange: EventEmitter<FileList | null>;
|
|
574
|
+
uploadSuccess: EventEmitter<string>;
|
|
575
|
+
uploadError: EventEmitter<string>;
|
|
576
|
+
uploadProgressChange: EventEmitter<number>;
|
|
577
|
+
readonly labelSignal: _angular_core.WritableSignal<string>;
|
|
578
|
+
readonly acceptSignal: _angular_core.WritableSignal<string>;
|
|
579
|
+
readonly multipleSignal: _angular_core.WritableSignal<boolean>;
|
|
580
|
+
readonly disabledSignal: _angular_core.WritableSignal<boolean>;
|
|
581
|
+
readonly requiredSignal: _angular_core.WritableSignal<boolean>;
|
|
582
|
+
readonly helperTextSignal: _angular_core.WritableSignal<string>;
|
|
583
|
+
readonly errorTextSignal: _angular_core.WritableSignal<string>;
|
|
584
|
+
readonly showPreviewSignal: _angular_core.WritableSignal<boolean>;
|
|
585
|
+
readonly previewWidthSignal: _angular_core.WritableSignal<string>;
|
|
586
|
+
readonly previewHeightSignal: _angular_core.WritableSignal<string>;
|
|
587
|
+
readonly previewBoxModeSignal: _angular_core.WritableSignal<boolean>;
|
|
588
|
+
readonly showFileNameSignal: _angular_core.WritableSignal<boolean>;
|
|
589
|
+
readonly placeholderTextSignal: _angular_core.WritableSignal<string>;
|
|
590
|
+
readonly placeholderIconSignal: _angular_core.WritableSignal<string>;
|
|
591
|
+
readonly autoUploadSignal: _angular_core.WritableSignal<boolean>;
|
|
592
|
+
readonly uploadDataSignal: _angular_core.WritableSignal<FileUploadData>;
|
|
576
593
|
readonly id: _angular_core.WritableSignal<string>;
|
|
577
594
|
readonly isUploading: _angular_core.WritableSignal<boolean>;
|
|
578
595
|
readonly uploadProgress: _angular_core.WritableSignal<number>;
|
|
579
|
-
readonly uploadStatus: _angular_core.WritableSignal<"
|
|
596
|
+
readonly uploadStatus: _angular_core.WritableSignal<"error" | "start" | "success" | "uploading" | "idle">;
|
|
580
597
|
readonly files: _angular_core.WritableSignal<FileList | null>;
|
|
581
598
|
readonly fileNames: _angular_core.WritableSignal<string[]>;
|
|
582
599
|
readonly previewUrls: _angular_core.WritableSignal<string[]>;
|
|
583
600
|
readonly uploadNotificationId: _angular_core.WritableSignal<string | null>;
|
|
584
601
|
readonly isDragOver: _angular_core.WritableSignal<boolean>;
|
|
585
|
-
readonly hasFiles: _angular_core.
|
|
586
|
-
readonly canUpload: _angular_core.
|
|
587
|
-
readonly isInErrorState: _angular_core.
|
|
588
|
-
readonly isInSuccessState: _angular_core.
|
|
602
|
+
readonly hasFiles: _angular_core.Signal<boolean>;
|
|
603
|
+
readonly canUpload: _angular_core.Signal<boolean>;
|
|
604
|
+
readonly isInErrorState: _angular_core.Signal<boolean>;
|
|
605
|
+
readonly isInSuccessState: _angular_core.Signal<boolean>;
|
|
589
606
|
readonly totalFileSize: _angular_core.Signal<number>;
|
|
590
607
|
readonly fileSizeInMB: _angular_core.Signal<string>;
|
|
591
608
|
readonly uploadProgressPercentage: _angular_core.Signal<number>;
|
|
@@ -596,6 +613,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
596
613
|
readonly isPreviewBoxMode: _angular_core.Signal<boolean>;
|
|
597
614
|
readonly isImagePreviewAvailable: _angular_core.Signal<boolean>;
|
|
598
615
|
constructor();
|
|
616
|
+
ngOnInit(): void;
|
|
599
617
|
writeValue(value: FileList | string | null): void;
|
|
600
618
|
registerOnChange(fn: (value: FileList | string | null) => void): void;
|
|
601
619
|
registerOnTouched(fn: () => void): void;
|
|
@@ -639,7 +657,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
639
657
|
multiple: boolean;
|
|
640
658
|
showPreview: boolean;
|
|
641
659
|
autoUpload: boolean;
|
|
642
|
-
uploadStatus: "
|
|
660
|
+
uploadStatus: "error" | "start" | "success" | "uploading" | "idle";
|
|
643
661
|
isUploading: boolean;
|
|
644
662
|
uploadProgress: number;
|
|
645
663
|
files: {
|
|
@@ -662,7 +680,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
662
680
|
getControlData(): Promise<void>;
|
|
663
681
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
664
682
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleFileInputComponent, never>;
|
|
665
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CideEleFileInputComponent, "cide-ele-file-input", never, { "label": { "alias": "label"; "required": false;
|
|
683
|
+
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>;
|
|
666
684
|
}
|
|
667
685
|
|
|
668
686
|
declare class CideTextareaComponent implements ControlValueAccessor, Validator, OnInit, OnChanges {
|
|
@@ -804,6 +822,25 @@ declare class TooltipDirective implements OnInit, OnDestroy {
|
|
|
804
822
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[cideEleTooltip]", never, { "cideEleTooltip": { "alias": "cideEleTooltip"; "required": false; }; "tooltipColor": { "alias": "tooltipColor"; "required": false; }; "tooltipBg": { "alias": "tooltipBg"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; "tooltipDelay": { "alias": "tooltipDelay"; "required": false; }; "tooltipDir": { "alias": "tooltipDir"; "required": false; }; "tooltipShowArrow": { "alias": "tooltipShowArrow"; "required": false; }; "tooltipMultiline": { "alias": "tooltipMultiline"; "required": false; }; "tooltipMaxWidth": { "alias": "tooltipMaxWidth"; "required": false; }; "tooltipInteractive": { "alias": "tooltipInteractive"; "required": false; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
805
823
|
}
|
|
806
824
|
|
|
825
|
+
/**
|
|
826
|
+
* Directive to display images from file manager by ID
|
|
827
|
+
* Usage: <img cideEleFileImage [fileId]="yourFileId" [altText]="'Image'" class="your-css-classes" />
|
|
828
|
+
*/
|
|
829
|
+
declare class CideEleFileImageDirective implements OnInit, OnDestroy {
|
|
830
|
+
fileId: string | null;
|
|
831
|
+
altText: string;
|
|
832
|
+
private readonly fileManagerService;
|
|
833
|
+
private readonly elementRef;
|
|
834
|
+
private readonly destroyRef;
|
|
835
|
+
ngOnInit(): void;
|
|
836
|
+
ngOnDestroy(): void;
|
|
837
|
+
private loadImage;
|
|
838
|
+
private displayImage;
|
|
839
|
+
private isImageFile;
|
|
840
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideEleFileImageDirective, never>;
|
|
841
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CideEleFileImageDirective, "[cideEleFileImage]", never, { "fileId": { "alias": "fileId"; "required": false; }; "altText": { "alias": "altText"; "required": false; }; }, {}, never, never, true, never>;
|
|
842
|
+
}
|
|
843
|
+
|
|
807
844
|
declare class CideEleSkeletonLoaderComponent {
|
|
808
845
|
width: string;
|
|
809
846
|
height: string;
|
|
@@ -1460,7 +1497,11 @@ declare class NotificationService {
|
|
|
1460
1497
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<NotificationService>;
|
|
1461
1498
|
}
|
|
1462
1499
|
|
|
1463
|
-
|
|
1500
|
+
/**
|
|
1501
|
+
* File Manager Interfaces
|
|
1502
|
+
* Based on core_file_manager table schema
|
|
1503
|
+
*/
|
|
1504
|
+
interface ICoreCyfm {
|
|
1464
1505
|
_id?: string;
|
|
1465
1506
|
cyfm_name?: string;
|
|
1466
1507
|
cyfm_alt_text?: string;
|
|
@@ -1469,12 +1510,26 @@ declare class ICoreCyfm {
|
|
|
1469
1510
|
cyfm_type?: string;
|
|
1470
1511
|
cyfm_creation_dt?: string;
|
|
1471
1512
|
cyfm_id_user?: string;
|
|
1472
|
-
cyfm_permissions?: [];
|
|
1513
|
+
cyfm_permissions?: string[];
|
|
1473
1514
|
cyfm_tags?: string[];
|
|
1474
1515
|
cyfm_version?: number;
|
|
1475
1516
|
cyfm_file_status_sygmt?: string;
|
|
1476
1517
|
cyfm_isactive?: boolean;
|
|
1477
1518
|
}
|
|
1519
|
+
interface ICoreFileManager extends ICoreCyfm {
|
|
1520
|
+
_id: string;
|
|
1521
|
+
cyfm_name: string;
|
|
1522
|
+
cyfm_path: string;
|
|
1523
|
+
cyfm_size_in_byte: number;
|
|
1524
|
+
cyfm_type: string;
|
|
1525
|
+
cyfm_creation_dt: string;
|
|
1526
|
+
cyfm_id_user: string;
|
|
1527
|
+
cyfm_permissions: string[];
|
|
1528
|
+
cyfm_tags: string[];
|
|
1529
|
+
cyfm_version: number;
|
|
1530
|
+
cyfm_file_status_sygmt: string;
|
|
1531
|
+
cyfm_isactive: boolean;
|
|
1532
|
+
}
|
|
1478
1533
|
interface controllerResponse {
|
|
1479
1534
|
success?: boolean;
|
|
1480
1535
|
error_code?: string;
|
|
@@ -1497,6 +1552,31 @@ declare class MFileManager {
|
|
|
1497
1552
|
constructor(init: MFileManager);
|
|
1498
1553
|
Validate?(): Partial<IFileManagerErrorLogger>;
|
|
1499
1554
|
}
|
|
1555
|
+
declare class ICoreCyfmSave implements ICoreCyfm {
|
|
1556
|
+
_id?: string;
|
|
1557
|
+
cyfm_name?: string;
|
|
1558
|
+
cyfm_alt_text?: string;
|
|
1559
|
+
cyfm_path?: string;
|
|
1560
|
+
cyfm_size_in_byte?: number;
|
|
1561
|
+
cyfm_type?: string;
|
|
1562
|
+
cyfm_creation_dt?: string;
|
|
1563
|
+
cyfm_id_user?: string;
|
|
1564
|
+
cyfm_permissions?: string[];
|
|
1565
|
+
cyfm_tags?: string[];
|
|
1566
|
+
cyfm_version?: number;
|
|
1567
|
+
cyfm_file_status_sygmt?: string;
|
|
1568
|
+
cyfm_isactive?: boolean;
|
|
1569
|
+
cyfm_file_base64: string;
|
|
1570
|
+
cyfm_temp_unique_id: string;
|
|
1571
|
+
constructor(init: ICoreCyfmSave);
|
|
1572
|
+
}
|
|
1573
|
+
declare class CoreFileManagerInsertUpdatePayload {
|
|
1574
|
+
core_file_manager_new: ICoreCyfmSave[];
|
|
1575
|
+
core_file_manager_update: ICoreCyfm[];
|
|
1576
|
+
core_file_manager_delete: ICoreCyfm[];
|
|
1577
|
+
constructor(init: CoreFileManagerInsertUpdatePayload);
|
|
1578
|
+
Validate?(): Partial<IFileManagerErrorLogger>;
|
|
1579
|
+
}
|
|
1500
1580
|
interface fileManagerResponseData extends ICoreCyfm {
|
|
1501
1581
|
cyfm_file_base64: string;
|
|
1502
1582
|
}
|
|
@@ -1511,6 +1591,86 @@ interface CoreFileManagerInsertUpdateResponse extends controllerResponse {
|
|
|
1511
1591
|
}[];
|
|
1512
1592
|
};
|
|
1513
1593
|
}
|
|
1594
|
+
interface IFileUploadRequest {
|
|
1595
|
+
file: File;
|
|
1596
|
+
altText?: string;
|
|
1597
|
+
tags?: string[];
|
|
1598
|
+
permissions?: string[];
|
|
1599
|
+
userId: string;
|
|
1600
|
+
}
|
|
1601
|
+
interface IFileUploadResponse {
|
|
1602
|
+
success: boolean;
|
|
1603
|
+
message: string;
|
|
1604
|
+
data?: ICoreFileManager;
|
|
1605
|
+
error?: string;
|
|
1606
|
+
}
|
|
1607
|
+
interface IFileListRequest {
|
|
1608
|
+
pageIndex: number;
|
|
1609
|
+
pageSize: number;
|
|
1610
|
+
search?: string;
|
|
1611
|
+
fileType?: string;
|
|
1612
|
+
status?: string;
|
|
1613
|
+
userId?: string;
|
|
1614
|
+
tags?: string[];
|
|
1615
|
+
sortBy?: string;
|
|
1616
|
+
sortOrder?: 'asc' | 'desc';
|
|
1617
|
+
}
|
|
1618
|
+
interface IFileListResponse {
|
|
1619
|
+
success: boolean;
|
|
1620
|
+
message: string;
|
|
1621
|
+
data: ICoreFileManager[];
|
|
1622
|
+
total: number;
|
|
1623
|
+
pageIndex: number;
|
|
1624
|
+
pageSize: number;
|
|
1625
|
+
}
|
|
1626
|
+
interface IFileDeleteResponse {
|
|
1627
|
+
success: boolean;
|
|
1628
|
+
message: string;
|
|
1629
|
+
data?: string;
|
|
1630
|
+
}
|
|
1631
|
+
interface IFileUpdateRequest {
|
|
1632
|
+
_id: string;
|
|
1633
|
+
cyfm_name?: string;
|
|
1634
|
+
cyfm_alt_text?: string;
|
|
1635
|
+
cyfm_tags?: string[];
|
|
1636
|
+
cyfm_permissions?: string[];
|
|
1637
|
+
cyfm_file_status_sygmt?: string;
|
|
1638
|
+
cyfm_isactive?: boolean;
|
|
1639
|
+
}
|
|
1640
|
+
interface IFileUpdateResponse {
|
|
1641
|
+
success: boolean;
|
|
1642
|
+
message: string;
|
|
1643
|
+
data?: ICoreFileManager;
|
|
1644
|
+
}
|
|
1645
|
+
interface IFileUploadProgress {
|
|
1646
|
+
fileId: string;
|
|
1647
|
+
fileName: string;
|
|
1648
|
+
progress: number;
|
|
1649
|
+
status: 'pending' | 'uploading' | 'completed' | 'error' | 'cancelled';
|
|
1650
|
+
error?: string;
|
|
1651
|
+
uploadedFile?: ICoreFileManager;
|
|
1652
|
+
}
|
|
1653
|
+
interface IFileUploadQueueItem extends IFileUploadProgress {
|
|
1654
|
+
file: File;
|
|
1655
|
+
}
|
|
1656
|
+
interface IFileFilterOptions {
|
|
1657
|
+
fileTypes: string[];
|
|
1658
|
+
statuses: string[];
|
|
1659
|
+
dateRange?: {
|
|
1660
|
+
start: Date;
|
|
1661
|
+
end: Date;
|
|
1662
|
+
};
|
|
1663
|
+
sizeRange?: {
|
|
1664
|
+
min: number;
|
|
1665
|
+
max: number;
|
|
1666
|
+
};
|
|
1667
|
+
tags: string[];
|
|
1668
|
+
}
|
|
1669
|
+
interface IFileGroupingOptions {
|
|
1670
|
+
groupBy: 'type' | 'status' | 'date' | 'size' | 'user' | 'none';
|
|
1671
|
+
sortBy: 'name' | 'size' | 'date' | 'type';
|
|
1672
|
+
sortOrder: 'asc' | 'desc';
|
|
1673
|
+
}
|
|
1514
1674
|
|
|
1515
1675
|
interface FileUploadOptions {
|
|
1516
1676
|
altText?: string;
|
|
@@ -1606,6 +1766,84 @@ declare class CideEleFileManagerService {
|
|
|
1606
1766
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideEleFileManagerService>;
|
|
1607
1767
|
}
|
|
1608
1768
|
|
|
1769
|
+
declare class CideCoreFileManagerService {
|
|
1770
|
+
private http;
|
|
1771
|
+
private apiUrl;
|
|
1772
|
+
private fileListSubject;
|
|
1773
|
+
fileList$: Observable<ICoreFileManager[]>;
|
|
1774
|
+
constructor(http: HttpClient);
|
|
1775
|
+
/**
|
|
1776
|
+
* Get file list from API
|
|
1777
|
+
*/
|
|
1778
|
+
getFileList(body: IFileListRequest): Observable<IFileListResponse>;
|
|
1779
|
+
/**
|
|
1780
|
+
* Get file list using mock data (deprecated - use getFileList instead)
|
|
1781
|
+
*/
|
|
1782
|
+
getFileListWithMockData(_body: IFileListRequest): Observable<IFileListResponse>;
|
|
1783
|
+
/**
|
|
1784
|
+
* Get file list from cache (if available)
|
|
1785
|
+
*/
|
|
1786
|
+
getFileListFromCache(): ICoreFileManager[];
|
|
1787
|
+
/**
|
|
1788
|
+
* Upload file with progress tracking
|
|
1789
|
+
*/
|
|
1790
|
+
uploadFile(request: IFileUploadRequest): Observable<HttpEvent<IFileUploadResponse>>;
|
|
1791
|
+
/**
|
|
1792
|
+
* Upload file with progress tracking (mock version - deprecated)
|
|
1793
|
+
*/
|
|
1794
|
+
uploadFileWithMockData(request: IFileUploadRequest): Observable<HttpEvent<IFileUploadResponse>>;
|
|
1795
|
+
/**
|
|
1796
|
+
* Update file metadata
|
|
1797
|
+
*/
|
|
1798
|
+
updateFile(request: IFileUpdateRequest): Observable<IFileUpdateResponse>;
|
|
1799
|
+
/**
|
|
1800
|
+
* Delete file
|
|
1801
|
+
*/
|
|
1802
|
+
deleteFile(id: string): Observable<IFileDeleteResponse>;
|
|
1803
|
+
/**
|
|
1804
|
+
* Delete multiple files
|
|
1805
|
+
*/
|
|
1806
|
+
deleteMultipleFiles(ids: string[]): Observable<{
|
|
1807
|
+
success: boolean;
|
|
1808
|
+
message?: string;
|
|
1809
|
+
data?: unknown;
|
|
1810
|
+
}>;
|
|
1811
|
+
/**
|
|
1812
|
+
* Toggle file active status
|
|
1813
|
+
*/
|
|
1814
|
+
toggleFileStatus(id: string): Observable<IFileListResponse>;
|
|
1815
|
+
/**
|
|
1816
|
+
* Get file by ID
|
|
1817
|
+
*/
|
|
1818
|
+
getFileById(id: string): Observable<{
|
|
1819
|
+
success: boolean;
|
|
1820
|
+
message: string;
|
|
1821
|
+
data?: ICoreFileManager;
|
|
1822
|
+
}>;
|
|
1823
|
+
/**
|
|
1824
|
+
* Find file by ID
|
|
1825
|
+
*/
|
|
1826
|
+
findFileById(id: string, items?: ICoreFileManager[]): ICoreFileManager | null;
|
|
1827
|
+
/**
|
|
1828
|
+
* Get file size in human readable format
|
|
1829
|
+
*/
|
|
1830
|
+
getFileSizeDisplay(bytes: number): string;
|
|
1831
|
+
/**
|
|
1832
|
+
* Get file type icon
|
|
1833
|
+
*/
|
|
1834
|
+
getFileTypeIcon(fileType: string): string;
|
|
1835
|
+
/**
|
|
1836
|
+
* Refresh file list from server
|
|
1837
|
+
*/
|
|
1838
|
+
private refreshFileList;
|
|
1839
|
+
/**
|
|
1840
|
+
* Handle errors
|
|
1841
|
+
*/
|
|
1842
|
+
private handleError;
|
|
1843
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CideCoreFileManagerService, never>;
|
|
1844
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CideCoreFileManagerService>;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1609
1847
|
declare class CideEleConfirmationModalComponent implements OnInit, OnDestroy {
|
|
1610
1848
|
private readonly confirmationService;
|
|
1611
1849
|
readonly hasActiveConfirmation: _angular_core.Signal<boolean>;
|
|
@@ -1755,5 +1993,5 @@ declare class CideEleJsonEditorComponent implements OnInit, ControlValueAccessor
|
|
|
1755
1993
|
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>;
|
|
1756
1994
|
}
|
|
1757
1995
|
|
|
1758
|
-
export { CideEleButtonComponent, CideEleConfirmationModalComponent, CideEleDataGridComponent, CideEleDropdownComponent, CideEleFileInputComponent, CideEleFileManagerService, CideEleGlobalNotificationsComponent, CideEleJsonEditorComponent, CideEleResizerDirective, CideEleSkeletonLoaderComponent, CideEleTabComponent, CideEleToastNotificationComponent, CideElementsService, CideIconComponent, CideInputComponent, CideSelectComponent, CideSelectOptionComponent, CideSpinnerComponent, CideTextareaComponent, ConfirmationService, DEFAULT_GRID_CONFIG, DropdownManagerService, NotificationService, TooltipDirective };
|
|
1759
|
-
export type { ButtonElevation, ButtonShape, ButtonSize, ButtonType, ButtonVariant, CideEleResizerDirection, CideEleResizerDirectionTo, ColumnType, ColumnWidth, ConfirmationOptions, ConfirmationRequest, DropdownConfig, DropdownInstance, DropdownItem, DropdownPosition, ErrorValidationStatus, FileUploadData, FileUploadOptions, GridAction, GridColumn, GridConfiguration, GridCustomFormatter, GridCustomRenderer, GridDragDropConfig, GridEvent, GridEventHandler, GridExportConfig, GridFormatter, GridLoadingConfig, GridPaginationConfig, GridScrollConfig, GridSearchConfig, GridState, GridTreeConfig, JsonEditorConfig, JsonEditorError, NotificationItem, NotificationOptions, SelectOption, SelectOptionObject, ServiceState, StatusConfig, TabItem, TemplateContext, TemplateRenderer, TextAlign, TooltipPlacement, TooltipType, UploadProgress, ValidationStatus };
|
|
1996
|
+
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 };
|
|
1997
|
+
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 };
|