@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohioepa/oepa-ui-lib",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13"
Binary file