@fuentis/phoenix-ui 0.0.9-alpha.367 → 0.0.9-alpha.369

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.
@@ -1,11 +1,10 @@
1
1
  import { TableConfiguration } from './dataTable.interface';
2
2
  /**
3
- * Splits table actions into context-specific arrays (global, row, bulk, more).
4
- * This controls where buttons will appear (toolbar, row menu, etc.).
3
+ * Split actions by context (controls placement in toolbar/rows).
5
4
  */
6
5
  export declare function resolveActions(value: TableConfiguration): any;
7
6
  /**
8
- * Defines a column that can be exported (visible in PDF/CSV).
7
+ * Column contract used for export (PDF/CSV).
9
8
  */
10
9
  export interface ExportColumn {
11
10
  field: string;
@@ -17,21 +16,22 @@ export interface ExportOptions {
17
16
  delimiter?: ',' | ';';
18
17
  }
19
18
  /**
20
- * Exports table rows to a PDF file.
21
- * - Uses jsPDF + autoTable
22
- * - Respects only visible columns
23
- * - Translates headers with provided translation function
19
+ * Export rows to PDF (jsPDF + autoTable).
20
+ * - Uses visible columns only
21
+ * - Translates headers via provided translator
22
+ * - Wraps the “Scope” column content for long lists
24
23
  */
25
24
  export declare function exportRowsToPdf(columns: ExportColumn[], rows: any[], columnTypeMap: Record<string, string>, columnTypeEnum: any, t: (key: string) => string, fileName?: string, options?: ExportOptions): void;
26
25
  /**
27
- * Exports table rows to a CSV file.
28
- * - Includes only visible columns
29
- * - Translates headers via provided translation function
30
- * - Escapes quotes and adds UTF-8 BOM (so Excel reads special chars correctly)
26
+ * Export rows to CSV.
27
+ * - Uses visible columns only
28
+ * - Translates headers
29
+ * - Adds UTF-8 BOM so Excel renders diacritics/umlauts correctly
30
+ * - Preserves multi-line cells (LIST → each item on a new line)
31
31
  */
32
32
  export declare function exportRowsToCsv(columns: ExportColumn[], rows: any[], columnTypeMap: Record<string, string>, columnTypeEnum: any, t: (key: string) => string, fileName?: string, options?: ExportOptions): void;
33
33
  /**
34
- * Builds a file name with pattern: tableKey_YYYY-MM-DD_HH-mm.ext
34
+ * Build file name as: tableKey_YYYY-MM-DD_HH-mm.ext
35
35
  * Example: risks_2025-09-10_14-32.csv
36
36
  */
37
37
  export declare function buildFileName(baseKey: string, ext: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuentis/phoenix-ui",
3
- "version": "0.0.9-alpha.367",
3
+ "version": "0.0.9-alpha.369",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"