@masterteam/components 0.0.256 → 0.0.257
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/package.json
CHANGED
|
@@ -320,7 +320,7 @@ declare class Table {
|
|
|
320
320
|
captionStartContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
321
321
|
captionEndContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
322
322
|
emptyContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
323
|
-
paginatorPosition: _angular_core.InputSignal<"
|
|
323
|
+
paginatorPosition: _angular_core.InputSignal<"end" | "start" | "center">;
|
|
324
324
|
alwaysShowPaginator: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
325
325
|
rowsPerPageOptions: _angular_core.InputSignal<number[]>;
|
|
326
326
|
pageSize: _angular_core.ModelSignal<number>;
|
|
@@ -334,7 +334,7 @@ declare class Table {
|
|
|
334
334
|
* the query it actually sent.
|
|
335
335
|
*/
|
|
336
336
|
sortField: _angular_core.ModelSignal<string | null>;
|
|
337
|
-
sortDirection: _angular_core.ModelSignal<"
|
|
337
|
+
sortDirection: _angular_core.ModelSignal<"asc" | "desc" | null>;
|
|
338
338
|
confirmationService: ConfirmationService;
|
|
339
339
|
private readonly exportService;
|
|
340
340
|
private readonly transloco;
|
|
@@ -771,23 +771,36 @@ declare class TableExportService {
|
|
|
771
771
|
private static readonly PRINT_ROOT_CLASS;
|
|
772
772
|
private static readonly PRINT_REGION_CLASS;
|
|
773
773
|
private static readonly PRINT_STYLE_ID;
|
|
774
|
+
private static readonly MAX_PRINT_COLUMNS_PER_TABLE;
|
|
775
|
+
private static readonly RTL_LANGUAGES;
|
|
776
|
+
private readonly transloco;
|
|
774
777
|
private static readonly PRINT_CSS;
|
|
775
778
|
exportToExcel(config: TableExportConfig): void;
|
|
779
|
+
private buildExcelWorkbook;
|
|
776
780
|
printPdf(config: TablePrintConfig): void;
|
|
777
781
|
private ensurePrintStyles;
|
|
778
782
|
private getExportableColumns;
|
|
783
|
+
private getExcelExportableColumns;
|
|
779
784
|
/**
|
|
780
785
|
* Resolves a single cell's exported/printed scalar. A column-level
|
|
781
|
-
* `exportValue` always wins;
|
|
782
|
-
* resolver
|
|
786
|
+
* `exportValue` always wins; everything else defers to the caller-supplied
|
|
787
|
+
* resolver. The caller owns entity formatting too so Date/DateTime/Time can
|
|
788
|
+
* use the configured MT formats instead of leaking raw ISO strings.
|
|
783
789
|
*/
|
|
784
790
|
private resolveCellValue;
|
|
785
791
|
/**
|
|
786
792
|
* Produces rows keyed by column label (Excel header row).
|
|
787
|
-
*
|
|
793
|
+
* Values already passed through the caller's type-aware resolver.
|
|
788
794
|
*/
|
|
789
795
|
private buildLabeledRows;
|
|
790
796
|
private buildPrintRegion;
|
|
797
|
+
private buildPrintTable;
|
|
798
|
+
/**
|
|
799
|
+
* A browser cannot paginate a table horizontally. Keep wide exports inside
|
|
800
|
+
* the printable page by splitting them into readable tables and repeating
|
|
801
|
+
* the first (normally identifying) column in every continuation group.
|
|
802
|
+
*/
|
|
803
|
+
private getPrintColumnGroups;
|
|
791
804
|
/**
|
|
792
805
|
* Normalises a resolved cell value for export. Rich-text columns surface their
|
|
793
806
|
* value as an HTML string, so string cells are stripped to plain text (tags
|
|
@@ -795,6 +808,9 @@ declare class TableExportService {
|
|
|
795
808
|
* cell. Non-string values (numbers, booleans, dates) pass through untouched.
|
|
796
809
|
*/
|
|
797
810
|
private toPlainExportValue;
|
|
811
|
+
private configureWorksheet;
|
|
812
|
+
private isArabicExport;
|
|
813
|
+
private isRtlExport;
|
|
798
814
|
private normalizeFilename;
|
|
799
815
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableExportService, never>;
|
|
800
816
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableExportService>;
|