@ohioepa/oepa-ui-lib 2.0.0 → 2.0.1
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/README.md +24 -24
- package/esm2022/lib/account-search-input/account-search.service.mjs +1 -1
- package/esm2022/lib/account-search-modal/account-search-modal.component.mjs +3 -4
- package/esm2022/lib/action-btn/action-btn.component.mjs +3 -3
- package/esm2022/lib/action-btn-modal/action-btn-modal.component.mjs +3 -3
- package/esm2022/lib/comment-modal/comment-modal.component.mjs +3 -3
- package/esm2022/lib/confirmation-modal/confirmation-modal.component.mjs +3 -3
- package/esm2022/lib/date-input/date-input.component.mjs +1 -1
- package/esm2022/lib/date-input-modal/date-input-modal.component.mjs +6 -3
- package/esm2022/lib/datepicker/datepicker.component.mjs +9 -3
- package/esm2022/lib/daterangepicker/daterangepicker.component.mjs +3 -3
- package/esm2022/lib/dual-list-box/dual-list-box.component.mjs +3 -3
- package/esm2022/lib/edoc-attachment/edoc-attachment.component.mjs +3 -3
- package/esm2022/lib/entity/organization-create-modal/organization-create-modal.component.mjs +3 -3
- package/esm2022/lib/entity/organization-search-modal/organization-search-modal.component.mjs +3 -3
- package/esm2022/lib/entity/person-create-modal/person-create-modal.component.mjs +3 -3
- package/esm2022/lib/entity/person-search-modal/person-search-modal.component.mjs +3 -3
- package/esm2022/lib/entity/place-search-modal/place-search-modal.component.mjs +3 -3
- package/esm2022/lib/file-upload/file-upload.component.mjs +3 -3
- package/esm2022/lib/lynx-image-upload/lynx-image-upload.component.mjs +3 -3
- package/esm2022/lib/multi-file-upload/multi-file-upload.component.mjs +3 -3
- package/esm2022/lib/notes-modal/notes-modal.component.mjs +4 -4
- package/esm2022/lib/oepa-error-message/oepa-error-message.component.mjs +3 -3
- package/esm2022/lib/oepa-reference/oepa-reference.service.mjs +10 -2
- package/esm2022/lib/oepa-user-account/oepa-user-account.service.mjs +35 -20
- package/esm2022/lib/params-help-button/params-help.service.mjs +1 -1
- package/esm2022/lib/pin-modal/pin-modal.component.mjs +3 -3
- package/esm2022/lib/server-timeout-modal/server-timeout-modal.component.mjs +3 -3
- package/esm2022/lib/shopping-cart/shopping-cart-view/shopping-cart-view.component.mjs +4 -4
- package/esm2022/lib/table/oepa-table-config.mjs +1 -1
- package/esm2022/lib/table/oepa-table-popover.mjs +1 -1
- package/esm2022/lib/table/p-table/p-table.component.mjs +27 -6
- package/esm2022/lib/table/table-data-cell/table-data-cell.component.mjs +3 -3
- package/esm2022/lib/table/table-header-cell/table-header-cell.component.mjs +3 -3
- package/esm2022/lib/table/table.component.mjs +13 -14
- package/esm2022/lib/template-confirmation-modal/template-confirmation-modal.component.mjs +3 -3
- package/esm2022/lib/timeout-modal/timeout-modal.component.mjs +3 -3
- package/esm2022/lib/util/oepa-http-interceptor.mjs +22 -9
- package/fesm2022/ohioepa-oepa-ui-lib.mjs +161 -97
- package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -1
- package/lib/date-input-modal/date-input-modal.component.d.ts +3 -1
- package/lib/datepicker/datepicker.component.d.ts +5 -1
- package/lib/oepa-reference/oepa-reference.service.d.ts +5 -0
- package/lib/oepa-user-account/oepa-user-account.service.d.ts +3 -1
- package/lib/table/oepa-table-config.d.ts +6 -0
- package/lib/table/oepa-table-popover.d.ts +1 -1
- package/lib/table/p-table/p-table.component.d.ts +4 -0
- package/ohioepa-oepa-ui-lib-2.0.1.tgz +0 -0
- package/package.json +1 -1
- package/ohioepa-oepa-ui-lib-2.0.0.tgz +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
3
|
+
import { BsDatepickerConfig } from 'ngx-bootstrap/datepicker';
|
|
3
4
|
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DateInputModalComponent implements OnInit {
|
|
@@ -13,6 +14,7 @@ export declare class DateInputModalComponent implements OnInit {
|
|
|
13
14
|
dateLabel: string;
|
|
14
15
|
submitBtnLabel: string;
|
|
15
16
|
cancelBtnLabel: string;
|
|
17
|
+
bsConfig: Partial<BsDatepickerConfig> | undefined;
|
|
16
18
|
onSubmit: EventEmitter<Date>;
|
|
17
19
|
onCancel: EventEmitter<void>;
|
|
18
20
|
constructor(bsModalRef: BsModalRef, fb: FormBuilder);
|
|
@@ -21,5 +23,5 @@ export declare class DateInputModalComponent implements OnInit {
|
|
|
21
23
|
submit(): void;
|
|
22
24
|
cancel(): void;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputModalComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputModalComponent, "oepa-date-input-modal", never, { "title": { "alias": "title"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "dateLabel": { "alias": "dateLabel"; "required": false; }; "submitBtnLabel": { "alias": "submitBtnLabel"; "required": false; }; "cancelBtnLabel": { "alias": "cancelBtnLabel"; "required": false; }; }, { "onSubmit": "onSubmit"; "onCancel": "onCancel"; }, never, never, false, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputModalComponent, "oepa-date-input-modal", never, { "title": { "alias": "title"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "dateLabel": { "alias": "dateLabel"; "required": false; }; "submitBtnLabel": { "alias": "submitBtnLabel"; "required": false; }; "cancelBtnLabel": { "alias": "cancelBtnLabel"; "required": false; }; "bsConfig": { "alias": "bsConfig"; "required": false; }; }, { "onSubmit": "onSubmit"; "onCancel": "onCancel"; }, never, never, false, never>;
|
|
25
27
|
}
|
|
@@ -5,6 +5,10 @@ import { OepaComponentIdService } from '@ohioepa/oepa-common-lib';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class DatepickerComponent implements OnInit, OnChanges {
|
|
7
7
|
private idService;
|
|
8
|
+
/**
|
|
9
|
+
* Exposes the input element's id for parent label association.
|
|
10
|
+
*/
|
|
11
|
+
get inputId(): string;
|
|
8
12
|
componentId: string;
|
|
9
13
|
group: FormGroup;
|
|
10
14
|
field: string;
|
|
@@ -24,5 +28,5 @@ export declare class DatepickerComponent implements OnInit, OnChanges {
|
|
|
24
28
|
onValueChange(event: any): void;
|
|
25
29
|
ngOnChanges(changes: SimpleChanges): void;
|
|
26
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "oepa-datepicker",
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "oepa-datepicker", ["oepa-datepicker"], { "group": { "alias": "group"; "required": false; }; "field": { "alias": "field"; "required": false; }; "bsConfig": { "alias": "bsConfig"; "required": false; }; "showValidation": { "alias": "showValidation"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "tableIdx": { "alias": "tableIdx"; "required": false; }; "small": { "alias": "small"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
32
|
}
|
|
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class OepaReferenceService {
|
|
6
6
|
private http;
|
|
7
7
|
private countiesUrl;
|
|
8
|
+
private townshipsUrl;
|
|
8
9
|
private districtsUrl;
|
|
9
10
|
private doLaaTypessUrl;
|
|
10
11
|
private params;
|
|
@@ -13,6 +14,10 @@ export declare class OepaReferenceService {
|
|
|
13
14
|
* Retrieve counties
|
|
14
15
|
*/
|
|
15
16
|
getCounties(state: string): Observable<Array<OEPAReference>>;
|
|
17
|
+
/**
|
|
18
|
+
* Retrieve townships by county code
|
|
19
|
+
*/
|
|
20
|
+
getTownshipsByCountyCode(countyCode: string): Observable<Array<OEPAReference>>;
|
|
16
21
|
/**
|
|
17
22
|
* Retrieve districts
|
|
18
23
|
*/
|
|
@@ -8,6 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class OepaUserAccountService {
|
|
9
9
|
private http;
|
|
10
10
|
private ebizRootURL;
|
|
11
|
+
private app;
|
|
11
12
|
private hostUrl;
|
|
12
13
|
private accountsUrl;
|
|
13
14
|
private ebizAccountsUrl;
|
|
@@ -26,7 +27,8 @@ export declare class OepaUserAccountService {
|
|
|
26
27
|
userAccount$: Subject<OepaUserAccount>;
|
|
27
28
|
sessionID$: Subject<string>;
|
|
28
29
|
private authToken;
|
|
29
|
-
|
|
30
|
+
private params;
|
|
31
|
+
constructor(http: HttpClient, ebizRootURL: string, app: string);
|
|
30
32
|
/**
|
|
31
33
|
* Retrieve the User Account for the user userid.
|
|
32
34
|
* @param userid
|
|
@@ -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
|
*/
|
|
@@ -13,7 +13,7 @@ export interface OepaTablePopover {
|
|
|
13
13
|
*/
|
|
14
14
|
content: OepaTemplateInfo;
|
|
15
15
|
/**
|
|
16
|
-
* The css class name defining the icon displayed in the table (e.g. "
|
|
16
|
+
* The css class name defining the icon displayed in the table (e.g. "bi bi-asterisk").
|
|
17
17
|
* The popover is displayed when the user hovers over the icon.
|
|
18
18
|
*/
|
|
19
19
|
className: string;
|
|
@@ -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
|
+
hasSelectableColumn(): boolean;
|
|
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
|