@ohioepa/oepa-ui-lib 1.3.15 → 1.4.0
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/notes-modal/notes-modal.component.mjs +2 -2
- package/esm2022/lib/oepa-error-message/oepa-error-message.component.mjs +3 -3
- package/esm2022/lib/oepa-reference/oepa-reference.service.mjs +2 -1
- package/esm2022/lib/oepa-user-account/oepa-user-account.service.mjs +8 -5
- package/esm2022/lib/params-help-button/params-help.service.mjs +1 -1
- package/esm2022/lib/shopping-cart/shopping-cart-view/shopping-cart-view.component.mjs +2 -2
- package/esm2022/lib/table/oepa-table-popover.mjs +1 -1
- package/fesm2022/ohioepa-oepa-ui-lib.mjs +12 -8
- package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -1
- package/lib/table/oepa-table-popover.d.ts +1 -1
- package/ohioepa-oepa-ui-lib-1.4.0.tgz +0 -0
- package/package.json +1 -1
- package/ohioepa-oepa-ui-lib-1.3.15.tgz +0 -0
|
@@ -3325,7 +3325,7 @@ class OEPAErrorMessageComponent {
|
|
|
3325
3325
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: OEPAErrorMessageComponent, selector: "oepa-error-message", inputs: { errorMessage: "errorMessage" }, ngImport: i0, template: `
|
|
3326
3326
|
<div class="card error-message">
|
|
3327
3327
|
<div class="card-header">
|
|
3328
|
-
<div><i class="
|
|
3328
|
+
<div><i class="fa fa-exclamation-circle "></i> <strong>ERROR</strong></div>
|
|
3329
3329
|
</div>
|
|
3330
3330
|
<div class="card-body">
|
|
3331
3331
|
<div class="card-text">
|
|
@@ -3340,7 +3340,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3340
3340
|
args: [{ selector: 'oepa-error-message', template: `
|
|
3341
3341
|
<div class="card error-message">
|
|
3342
3342
|
<div class="card-header">
|
|
3343
|
-
<div><i class="
|
|
3343
|
+
<div><i class="fa fa-exclamation-circle "></i> <strong>ERROR</strong></div>
|
|
3344
3344
|
</div>
|
|
3345
3345
|
<div class="card-body">
|
|
3346
3346
|
<div class="card-text">
|
|
@@ -6900,7 +6900,7 @@ class NotesModalComponent {
|
|
|
6900
6900
|
// only display delete action if note can be deleted
|
|
6901
6901
|
if ((this.deleteAnyNoteAllowed || (this.deleteOwnNoteAllowed && this.loginName === note.user)) && note.type?.code !== 'System') {
|
|
6902
6902
|
row.actions = [
|
|
6903
|
-
{ title: 'Delete', className: '
|
|
6903
|
+
{ title: 'Delete', className: 'fa fa-remove' }
|
|
6904
6904
|
];
|
|
6905
6905
|
}
|
|
6906
6906
|
else {
|
|
@@ -7240,10 +7240,13 @@ class OepaUserAccountService {
|
|
|
7240
7240
|
return of(this.ebizVersion);
|
|
7241
7241
|
}
|
|
7242
7242
|
else {
|
|
7243
|
-
const url = this.hostUrl + '/api/v1/gateway/
|
|
7244
|
-
return this.http.get(url, { params: { 'app': app } }).pipe(map((
|
|
7245
|
-
if (
|
|
7246
|
-
this.ebizVersion =
|
|
7243
|
+
const url = this.hostUrl + '/api/v1/gateway/version';
|
|
7244
|
+
return this.http.get(url, { params: { 'app': app } }).pipe(map((version) => {
|
|
7245
|
+
if (version && version.response) {
|
|
7246
|
+
this.ebizVersion = version.response;
|
|
7247
|
+
}
|
|
7248
|
+
else {
|
|
7249
|
+
this.ebizVersion = 'unknown';
|
|
7247
7250
|
}
|
|
7248
7251
|
return this.ebizVersion;
|
|
7249
7252
|
}));
|
|
@@ -7966,7 +7969,7 @@ class ShoppingCartViewComponent {
|
|
|
7966
7969
|
{ id: 'itemClassification', value: cartItem.itemClassification },
|
|
7967
7970
|
{ id: 'itemName', value: cartItem.itemName },
|
|
7968
7971
|
{ id: 'itemDescription', value: cartItem.description },
|
|
7969
|
-
{ id: 'deleteItem', value: '', iconClassName: '
|
|
7972
|
+
{ id: 'deleteItem', value: '', iconClassName: 'fa fa-minus-circle', className: 'text-center' },
|
|
7970
7973
|
{ id: 'fee', value: cartItem.unitPrice?.formattedString, sortValue: cartItem.unitPrice?.cents },
|
|
7971
7974
|
],
|
|
7972
7975
|
dataSource: cartItem
|
|
@@ -9249,6 +9252,7 @@ class OepaReferenceService {
|
|
|
9249
9252
|
this.countiesUrl = ebizRootURL + this.countiesUrl;
|
|
9250
9253
|
this.districtsUrl = ebizRootURL + this.districtsUrl;
|
|
9251
9254
|
this.doLaaTypessUrl = ebizRootURL + this.doLaaTypessUrl;
|
|
9255
|
+
this.townshipsUrl = ebizRootURL + this.townshipsUrl;
|
|
9252
9256
|
this.params = {
|
|
9253
9257
|
'app': app
|
|
9254
9258
|
};
|