@ohioepa/oepa-ui-lib 1.4.4 → 1.4.6

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.
@@ -14,7 +14,7 @@ export declare class DateInputModalComponent implements OnInit {
14
14
  dateLabel: string;
15
15
  submitBtnLabel: string;
16
16
  cancelBtnLabel: string;
17
- bsConfig: Partial<BsDatepickerConfig>;
17
+ bsConfig: Partial<BsDatepickerConfig> | undefined;
18
18
  onSubmit: EventEmitter<Date>;
19
19
  onCancel: EventEmitter<void>;
20
20
  constructor(bsModalRef: BsModalRef, fb: FormBuilder);
@@ -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,6 +141,7 @@ 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;
145
147
  private simplifyCells;
@@ -147,6 +149,7 @@ export declare class PTableComponent implements OnInit, AfterViewChecked {
147
149
  private dumpDetailRows;
148
150
  convertToTable(template: OepaTemplateInfo): OepaTable | undefined;
149
151
  toggleExportVisibleOnly(): void;
152
+ toggleExportUnselectedRows(): void;
150
153
  exportToExcel(): void;
151
154
  exportToHTML(): void;
152
155
  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.4",
3
+ "version": "1.4.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13"
Binary file