cloud-ide-element 1.1.14 → 1.1.16
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 +73 -39
- package/fesm2022/cloud-ide-element.mjs.map +1 -1
- package/index.d.ts +11 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -573,7 +573,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
573
573
|
readonly id: _angular_core.WritableSignal<string>;
|
|
574
574
|
readonly isUploading: _angular_core.WritableSignal<boolean>;
|
|
575
575
|
readonly uploadProgress: _angular_core.WritableSignal<number>;
|
|
576
|
-
readonly uploadStatus: _angular_core.WritableSignal<"
|
|
576
|
+
readonly uploadStatus: _angular_core.WritableSignal<"start" | "error" | "uploading" | "success" | "idle">;
|
|
577
577
|
readonly files: _angular_core.WritableSignal<FileList | null>;
|
|
578
578
|
readonly fileNames: _angular_core.WritableSignal<string[]>;
|
|
579
579
|
readonly previewUrls: _angular_core.WritableSignal<string[]>;
|
|
@@ -700,7 +700,7 @@ declare class CideEleFileInputComponent implements ControlValueAccessor, OnDestr
|
|
|
700
700
|
multiple: boolean;
|
|
701
701
|
showPreview: boolean;
|
|
702
702
|
autoUpload: boolean;
|
|
703
|
-
uploadStatus: "
|
|
703
|
+
uploadStatus: "start" | "error" | "uploading" | "success" | "idle";
|
|
704
704
|
isUploading: boolean;
|
|
705
705
|
uploadProgress: number;
|
|
706
706
|
files: {
|
|
@@ -1072,8 +1072,9 @@ declare class CideElementsService {
|
|
|
1072
1072
|
*/
|
|
1073
1073
|
declare class ExportService {
|
|
1074
1074
|
/**
|
|
1075
|
-
* Export data to Excel
|
|
1076
|
-
* Uses
|
|
1075
|
+
* Export data to Excel format
|
|
1076
|
+
* Uses HTML table with Excel MIME type for better compatibility
|
|
1077
|
+
* This approach is more reliable than XML across different Excel versions
|
|
1077
1078
|
*/
|
|
1078
1079
|
exportToExcel(data: any[], columns: {
|
|
1079
1080
|
key: string;
|
|
@@ -1095,7 +1096,10 @@ declare class ExportService {
|
|
|
1095
1096
|
label: string;
|
|
1096
1097
|
}[], filename?: string): void;
|
|
1097
1098
|
/**
|
|
1098
|
-
* Generate Excel
|
|
1099
|
+
* Generate Excel HTML format content
|
|
1100
|
+
* This approach uses HTML tables with Excel-specific MIME type and namespace
|
|
1101
|
+
* More compatible across Excel versions (2003, 2007, 2010, 2016, Office 365)
|
|
1102
|
+
* Also works with Google Sheets and LibreOffice Calc
|
|
1099
1103
|
*/
|
|
1100
1104
|
private generateExcelXML;
|
|
1101
1105
|
/**
|
|
@@ -1107,9 +1111,9 @@ declare class ExportService {
|
|
|
1107
1111
|
*/
|
|
1108
1112
|
private downloadFile;
|
|
1109
1113
|
/**
|
|
1110
|
-
* Escape
|
|
1114
|
+
* Escape HTML special characters
|
|
1111
1115
|
*/
|
|
1112
|
-
private
|
|
1116
|
+
private escapeHTML;
|
|
1113
1117
|
/**
|
|
1114
1118
|
* Escape CSV special characters
|
|
1115
1119
|
*/
|