sf-i-events 1.0.584 → 1.0.586

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.584",
4
+ "version": "1.0.586",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
package/sf-i-events.d.ts CHANGED
@@ -400,7 +400,7 @@ export declare class SfIEvents extends LitElement {
400
400
  getApproverStringFromEvent: (event: any) => string;
401
401
  getApproverDetailStringFromEvent: (event: any) => string;
402
402
  renderLatestCompliance: (mmddyyyy: string, event: any) => any;
403
- getCompletenessStatus: (event: any) => "approved" | "not-started" | "pending-approval" | "rejected";
403
+ getCompletenessStatus: (event: any) => "rejected" | "approved" | "not-started" | "pending-approval";
404
404
  getTimelinessStatus: (mmdd: string, event: any, completeness: string) => "late-executed" | "late-reported" | "late-approved" | "past-due-date" | "in-time";
405
405
  getComplianceStatus: (completeness: string, timeliness: string) => "scheduled" | "not-complied" | "partially-complied" | "complied";
406
406
  numcalled: number;
package/sf-i-events.js CHANGED
@@ -2356,7 +2356,7 @@ let SfIEvents = class SfIEvents extends LitElement {
2356
2356
  if (event.obligationtype[0].toLowerCase() == "quality indicator confirmatory"
2357
2357
  || event.obligationtype[0].toLowerCase() == "quality indicator percentage") {
2358
2358
  if (event.comments != null && (event.comments).length > 0) {
2359
- html += '<th part="td-head">';
2359
+ html += '<td part="td-body">';
2360
2360
  for (var n = (event.comments.length - 1); n >= 0; n--) {
2361
2361
  if (event.comments[n].author == "Reporter") {
2362
2362
  const reportedValue = ((event.comments[n].comment).replace(/ *\([^)]*\) */g, "").trim());
@@ -2385,7 +2385,7 @@ let SfIEvents = class SfIEvents extends LitElement {
2385
2385
  break;
2386
2386
  }
2387
2387
  }
2388
- html += '</th>';
2388
+ html += '</td>';
2389
2389
  }
2390
2390
  }
2391
2391
  html += '</tbody>';
@@ -14607,8 +14607,8 @@ SfIEvents.styles = css `
14607
14607
  .badge-success {
14608
14608
  padding-left: 5px;
14609
14609
  padding-right: 5px;
14610
- padding-top: 2px;
14611
- padding-bottom: 2px;
14610
+ padding-top: 3px;
14611
+ padding-bottom: 0px;
14612
14612
  border-radius: 7px;
14613
14613
  color: white;
14614
14614
  background-color: #50cf01;
@@ -14617,8 +14617,8 @@ SfIEvents.styles = css `
14617
14617
  .badge-warning {
14618
14618
  padding-left: 5px;
14619
14619
  padding-right: 5px;
14620
- padding-top: 2px;
14621
- padding-bottom: 2px;
14620
+ padding-top: 3px;
14621
+ padding-bottom: 0px;
14622
14622
  border-radius: 7px;
14623
14623
  color: black;
14624
14624
  background-color: #ffe505;
@@ -14627,8 +14627,8 @@ SfIEvents.styles = css `
14627
14627
  .badge-eror {
14628
14628
  padding-left: 5px;
14629
14629
  padding-right: 5px;
14630
- padding-top: 2px;
14631
- padding-bottom: 2px;
14630
+ padding-top: 3px;
14631
+ padding-bottom: 0px;
14632
14632
  border-radius: 7px;
14633
14633
  color: black;
14634
14634
  background-color: #C80036;