@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.
- package/esm2022/lib/account-search-modal/account-search-modal.component.mjs +1 -2
- package/esm2022/lib/date-input-modal/date-input-modal.component.mjs +4 -4
- package/esm2022/lib/table/oepa-table-config.mjs +1 -1
- package/esm2022/lib/table/p-table/p-table.component.mjs +24 -6
- package/fesm2022/ohioepa-oepa-ui-lib.mjs +26 -9
- package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -1
- package/lib/date-input-modal/date-input-modal.component.d.ts +1 -1
- package/lib/table/oepa-table-config.d.ts +6 -0
- package/lib/table/p-table/p-table.component.d.ts +3 -0
- package/ohioepa-oepa-ui-lib-1.4.6.tgz +0 -0
- package/package.json +1 -1
- package/ohioepa-oepa-ui-lib-1.4.4.tgz +0 -0
|
@@ -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
|
Binary file
|