@ohioepa/oepa-ui-lib 1.4.5 → 1.4.7
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/esm2022/lib/table/oepa-table-config.mjs +1 -1
- package/esm2022/lib/table/p-table/p-table.component.mjs +33 -6
- package/fesm2022/ohioepa-oepa-ui-lib.mjs +32 -5
- package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -1
- package/lib/table/oepa-table-config.d.ts +6 -0
- package/lib/table/p-table/p-table.component.d.ts +4 -0
- package/ohioepa-oepa-ui-lib-1.4.7.tgz +0 -0
- package/package.json +1 -1
- package/ohioepa-oepa-ui-lib-1.4.5.tgz +0 -0
|
@@ -65,6 +65,12 @@ export interface OepaTableConfig {
|
|
|
65
65
|
* screen by default if this variable is true.
|
|
66
66
|
*/
|
|
67
67
|
exportVisibleOnly?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* When data is exported to HTML or Excel, export all rows, not just rows that are selected
|
|
70
|
+
* if this variable is true.
|
|
71
|
+
* When false (the default), only selected rows are exported when rows are selectable.
|
|
72
|
+
*/
|
|
73
|
+
exportUnselectedRows?: boolean;
|
|
68
74
|
/**
|
|
69
75
|
* Display the total row count in the footer of the table
|
|
70
76
|
*/
|
|
@@ -31,6 +31,7 @@ export declare class PTableComponent implements OnInit, AfterViewChecked {
|
|
|
31
31
|
visibleColumnCount: number;
|
|
32
32
|
allColumnCount: number;
|
|
33
33
|
exportVisibleOnly: boolean | undefined;
|
|
34
|
+
exportUnselectedRows: boolean;
|
|
34
35
|
noFiltersSubject: Subject<boolean>;
|
|
35
36
|
dataColumns: Array<OepaTableColumn>;
|
|
36
37
|
visibleColumns: Array<OepaTableColumn>;
|
|
@@ -140,13 +141,16 @@ export declare class PTableComponent implements OnInit, AfterViewChecked {
|
|
|
140
141
|
onActionClick(event: OepaActionEvent): void;
|
|
141
142
|
toggleAllRowsSelection(): void;
|
|
142
143
|
toggleRowSelection(row: OepaTableRow): void;
|
|
144
|
+
private copySelectionState;
|
|
143
145
|
singleRowSelection(row: OepaTableRow): void;
|
|
144
146
|
private prepareRowsForExport;
|
|
147
|
+
private hasSelectableColumn;
|
|
145
148
|
private simplifyCells;
|
|
146
149
|
gatherTableData(rows: OepaTableRow[]): OepaTable;
|
|
147
150
|
private dumpDetailRows;
|
|
148
151
|
convertToTable(template: OepaTemplateInfo): OepaTable | undefined;
|
|
149
152
|
toggleExportVisibleOnly(): void;
|
|
153
|
+
toggleExportUnselectedRows(): void;
|
|
150
154
|
exportToExcel(): void;
|
|
151
155
|
exportToHTML(): void;
|
|
152
156
|
onCustomBtnClick(): void;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|