@ohioepa/oepa-ui-lib 1.3.16 → 1.4.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.
@@ -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="fa fa-exclamation-circle "></i>&nbsp; <strong>ERROR</strong></div>
3328
+ <div><i class="bi bi-exclamation-circle-fill "></i>&nbsp; <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="fa fa-exclamation-circle "></i>&nbsp; <strong>ERROR</strong></div>
3343
+ <div><i class="bi bi-exclamation-circle-fill "></i>&nbsp; <strong>ERROR</strong></div>
3344
3344
  </div>
3345
3345
  <div class="card-body">
3346
3346
  <div class="card-text">
@@ -5915,6 +5915,7 @@ class DateInputModalComponent {
5915
5915
  dateLabel = 'Date';
5916
5916
  submitBtnLabel = 'Submit';
5917
5917
  cancelBtnLabel = 'Cancel';
5918
+ bsConfig;
5918
5919
  onSubmit = new EventEmitter();
5919
5920
  onCancel = new EventEmitter();
5920
5921
  constructor(bsModalRef, fb) {
@@ -5944,11 +5945,11 @@ class DateInputModalComponent {
5944
5945
  this.bsModalRef.hide();
5945
5946
  }
5946
5947
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DateInputModalComponent, deps: [{ token: i2$1.BsModalRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
5947
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DateInputModalComponent, selector: "oepa-date-input-modal", inputs: { title: "title", infoText: "infoText", dateLabel: "dateLabel", submitBtnLabel: "submitBtnLabel", cancelBtnLabel: "cancelBtnLabel" }, outputs: { onSubmit: "onSubmit", onCancel: "onCancel" }, ngImport: i0, template: "<div class=\"modal-header\">\n <h4 class=\"modal-title pull-left\">{{title}}</h4>\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"bsModalRef.hide()\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n</div>\n<div class=\"modal-body\">\n <div class=\"row\">\n <div *ngIf=\"infoText\" class=\"col-sm-12\">\n <div class=\"alert alert-info\">\n {{infoText}}\n </div>\n </div>\n <div class=\"col-sm-12\">\n <div>\n <label>{{dateLabel}}</label>\n <oepa-datepicker [group]=\"dateForm\" field=\"date\" [showValidation]=\"true\"></oepa-datepicker>\n </div>\n </div>\n </div>\n <div *ngIf=\"errorMessage\" class=\"col-sm-12\">\n <div class=\"alert alert-danger\">{{errorMessage}}</div>\n </div>\n</div>\n<div class=\"modal-footer\">\n <button type=\"submit\" class=\"btn btn-primary mr-1\" (click)=\"submit()\" \n [id]=\"'submitDateBtn'\" [disabled]=\"dateForm.status === 'INVALID'\">{{submitBtnLabel}}</button>\n <button [id]=\"'cancelDateInputBtn'\" type=\"button\" class=\"btn btn-primary mr-1\" (click)=\"cancel()\">{{cancelBtnLabel}}</button>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DatepickerComponent, selector: "oepa-datepicker", inputs: ["group", "field", "bsConfig", "showValidation", "placement", "tableIdx", "small"] }] });
5948
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DateInputModalComponent, selector: "oepa-date-input-modal", inputs: { title: "title", infoText: "infoText", dateLabel: "dateLabel", submitBtnLabel: "submitBtnLabel", cancelBtnLabel: "cancelBtnLabel", bsConfig: "bsConfig" }, outputs: { onSubmit: "onSubmit", onCancel: "onCancel" }, ngImport: i0, template: "<div class=\"modal-header\">\n <h4 class=\"modal-title pull-left\">{{title}}</h4>\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"bsModalRef.hide()\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n</div>\n<div class=\"modal-body\">\n <div class=\"row\">\n <div *ngIf=\"infoText\" class=\"col-sm-12\">\n <div class=\"alert alert-info\">\n {{infoText}}\n </div>\n </div>\n <div class=\"col-sm-12\">\n <div>\n <label>{{dateLabel}}</label>\n <oepa-datepicker [group]=\"dateForm\" field=\"date\" [bsConfig]=\"bsConfig\" [showValidation]=\"true\"></oepa-datepicker>\n </div>\n </div>\n </div>\n <div *ngIf=\"errorMessage\" class=\"col-sm-12\">\n <div class=\"alert alert-danger\">{{errorMessage}}</div>\n </div>\n</div>\n<div class=\"modal-footer\">\n <button type=\"submit\" class=\"btn btn-primary mr-1\" (click)=\"submit()\" \n [id]=\"'submitDateBtn'\" [disabled]=\"dateForm.status === 'INVALID'\">{{submitBtnLabel}}</button>\n <button [id]=\"'cancelDateInputBtn'\" type=\"button\" class=\"btn btn-primary mr-1\" (click)=\"cancel()\">{{cancelBtnLabel}}</button>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DatepickerComponent, selector: "oepa-datepicker", inputs: ["group", "field", "bsConfig", "showValidation", "placement", "tableIdx", "small"] }] });
5948
5949
  }
5949
5950
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DateInputModalComponent, decorators: [{
5950
5951
  type: Component,
5951
- args: [{ selector: 'oepa-date-input-modal', template: "<div class=\"modal-header\">\n <h4 class=\"modal-title pull-left\">{{title}}</h4>\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"bsModalRef.hide()\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n</div>\n<div class=\"modal-body\">\n <div class=\"row\">\n <div *ngIf=\"infoText\" class=\"col-sm-12\">\n <div class=\"alert alert-info\">\n {{infoText}}\n </div>\n </div>\n <div class=\"col-sm-12\">\n <div>\n <label>{{dateLabel}}</label>\n <oepa-datepicker [group]=\"dateForm\" field=\"date\" [showValidation]=\"true\"></oepa-datepicker>\n </div>\n </div>\n </div>\n <div *ngIf=\"errorMessage\" class=\"col-sm-12\">\n <div class=\"alert alert-danger\">{{errorMessage}}</div>\n </div>\n</div>\n<div class=\"modal-footer\">\n <button type=\"submit\" class=\"btn btn-primary mr-1\" (click)=\"submit()\" \n [id]=\"'submitDateBtn'\" [disabled]=\"dateForm.status === 'INVALID'\">{{submitBtnLabel}}</button>\n <button [id]=\"'cancelDateInputBtn'\" type=\"button\" class=\"btn btn-primary mr-1\" (click)=\"cancel()\">{{cancelBtnLabel}}</button>\n</div>\n" }]
5952
+ args: [{ selector: 'oepa-date-input-modal', template: "<div class=\"modal-header\">\n <h4 class=\"modal-title pull-left\">{{title}}</h4>\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"bsModalRef.hide()\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n</div>\n<div class=\"modal-body\">\n <div class=\"row\">\n <div *ngIf=\"infoText\" class=\"col-sm-12\">\n <div class=\"alert alert-info\">\n {{infoText}}\n </div>\n </div>\n <div class=\"col-sm-12\">\n <div>\n <label>{{dateLabel}}</label>\n <oepa-datepicker [group]=\"dateForm\" field=\"date\" [bsConfig]=\"bsConfig\" [showValidation]=\"true\"></oepa-datepicker>\n </div>\n </div>\n </div>\n <div *ngIf=\"errorMessage\" class=\"col-sm-12\">\n <div class=\"alert alert-danger\">{{errorMessage}}</div>\n </div>\n</div>\n<div class=\"modal-footer\">\n <button type=\"submit\" class=\"btn btn-primary mr-1\" (click)=\"submit()\" \n [id]=\"'submitDateBtn'\" [disabled]=\"dateForm.status === 'INVALID'\">{{submitBtnLabel}}</button>\n <button [id]=\"'cancelDateInputBtn'\" type=\"button\" class=\"btn btn-primary mr-1\" (click)=\"cancel()\">{{cancelBtnLabel}}</button>\n</div>\n" }]
5952
5953
  }], ctorParameters: () => [{ type: i2$1.BsModalRef }, { type: i1$2.FormBuilder }], propDecorators: { title: [{
5953
5954
  type: Input
5954
5955
  }], infoText: [{
@@ -5959,6 +5960,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
5959
5960
  type: Input
5960
5961
  }], cancelBtnLabel: [{
5961
5962
  type: Input
5963
+ }], bsConfig: [{
5964
+ type: Input
5962
5965
  }], onSubmit: [{
5963
5966
  type: Output
5964
5967
  }], onCancel: [{
@@ -6900,7 +6903,7 @@ class NotesModalComponent {
6900
6903
  // only display delete action if note can be deleted
6901
6904
  if ((this.deleteAnyNoteAllowed || (this.deleteOwnNoteAllowed && this.loginName === note.user)) && note.type?.code !== 'System') {
6902
6905
  row.actions = [
6903
- { title: 'Delete', className: 'fa fa-remove' }
6906
+ { title: 'Delete', className: 'bi bi-x-lg' }
6904
6907
  ];
6905
6908
  }
6906
6909
  else {
@@ -7240,10 +7243,13 @@ class OepaUserAccountService {
7240
7243
  return of(this.ebizVersion);
7241
7244
  }
7242
7245
  else {
7243
- const url = this.hostUrl + '/api/v1/gateway/gatewayConfig';
7244
- return this.http.get(url, { params: { 'app': app } }).pipe(map((gatewayConfig) => {
7245
- if (gatewayConfig) {
7246
- this.ebizVersion = gatewayConfig.versionNumber;
7246
+ const url = this.hostUrl + '/api/v1/gateway/version';
7247
+ return this.http.get(url, { params: { 'app': app } }).pipe(map((version) => {
7248
+ if (version && version.response) {
7249
+ this.ebizVersion = version.response;
7250
+ }
7251
+ else {
7252
+ this.ebizVersion = 'unknown';
7247
7253
  }
7248
7254
  return this.ebizVersion;
7249
7255
  }));
@@ -7966,7 +7972,7 @@ class ShoppingCartViewComponent {
7966
7972
  { id: 'itemClassification', value: cartItem.itemClassification },
7967
7973
  { id: 'itemName', value: cartItem.itemName },
7968
7974
  { id: 'itemDescription', value: cartItem.description },
7969
- { id: 'deleteItem', value: '', iconClassName: 'fa fa-minus-circle', className: 'text-center' },
7975
+ { id: 'deleteItem', value: '', iconClassName: 'bi bi-dash-circle-fill', className: 'text-center' },
7970
7976
  { id: 'fee', value: cartItem.unitPrice?.formattedString, sortValue: cartItem.unitPrice?.cents },
7971
7977
  ],
7972
7978
  dataSource: cartItem