sf-i-events 1.0.877 → 1.0.879
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/dev/index.html +1 -1
- package/package.json +1 -1
- package/sf-i-events.d.ts +1 -0
- package/sf-i-events.js +7 -3
- package/src/sf-i-events.ts +7 -3
package/dev/index.html
CHANGED
|
@@ -747,7 +747,7 @@
|
|
|
747
747
|
apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws" fill="solid"
|
|
748
748
|
username="Local Reporter 1" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410"
|
|
749
749
|
projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global"
|
|
750
|
-
countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="reporter" showregisterexport="false"
|
|
750
|
+
selectedCriteria="Country - India" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="reporter" showregisterexport="false"
|
|
751
751
|
features="["notices","contracts","licenses"]"
|
|
752
752
|
eventfielddependencies="[{"type": "foreignkey", "parent": "country", "child": "state"},{"type": "foreignkey", "parent": "category", "child": "subcategory"},{"type": "foreignkey", "parent": "frequency", "child": "subfrequency"}]"
|
|
753
753
|
eventfields="[{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/riskarea", "field": "riskarea"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/jurisdiction", "field": "jurisdiction"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/updatetype", "field": "updatetype"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/country", "field": "country"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/specificity", "field": "specificity"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/risk", "field": "risk"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/frequency", "field": "frequency"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/category", "field": "category"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/obligationtype", "field": "obligationtype"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/state", "field": "state"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subfrequency", "field": "subfrequency"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subcategory", "field": "subcategory"},{"type": "sf-i-form", "apiId": "dnytrdlrmxgsy.cloudfront.net/statute", "field": "statute", "projectField": "name"}]"
|
package/package.json
CHANGED
package/sf-i-events.d.ts
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -291,7 +291,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
291
291
|
<div class="d-flex justify-between align-center">
|
|
292
292
|
<div>
|
|
293
293
|
<div>Date: PERSON_DATE</div>
|
|
294
|
-
<div>
|
|
294
|
+
<div>Criteria: PERSON_CRITERIA</div>
|
|
295
295
|
</div>
|
|
296
296
|
<div>
|
|
297
297
|
<div>Name: PERSON_NAME</div>
|
|
@@ -2909,7 +2909,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
2909
2909
|
// csvCols += 'Period,Status,Id,ObligationTitle,Obligation,Duedate'
|
|
2910
2910
|
csvCols += 'Id,Country,Entity,Location,Function,Reporter,Approver,Functionhead,State,Jurisdiction,Category,Subcategory,Statute,Reference,Applicability,ObligationType,ObligationTitle,Obligation,Firstlineofdefence,Secondlineofdefence,Thirdlineofdefence,Internalcontrols,Penalty,Form,AdditionalUrl,Definition,Authority,RiskSeverity,RiskAreas,Frequency,SubFrequency,DueDate,Status,ReportParameter';
|
|
2911
2911
|
htmlCols += '<tr><th class="td-thin">Id</th><th class="td-thin">Country</th><th class="td-thin">State</th><th class="td-thin">Jurisdiction</th><th class="td-thin">Category</th><th class="td-thin">Subcategory</th><th class="td-wide">Statute</th><th class="td-thin">Reference</th><th class="td-thin">Applicability</th><th class="td-thin">ObligationType</th><th class="td-wide">ObligationTitle</th><th class="td-wide">Obligation</th><th class="td-thin">Firstlineofdefence</th><th class="td-thin">Secondlineofdefence</th><th class="td-thin">Thirdlineofdefence</th><th>InternalControls</th><th class="td-wide">Penalty</th><th class="td-thin">Form</th><th class="td-thin">Additional URL</th><th class="td-thin">Definition</th><th class="td-thin">Authority</th><th class="td-thin">RiskSeverity</th><th class="td-wide">RiskAreas</th><th class="td-thin">Frequency</th><th class="td-thin">SubFrequency</th><th class="td-thin">DueDate</th><th class="td-wide">Status</th><th class="td-wide">ReportParameter</th></tr>';
|
|
2912
|
-
htmlSummaryCols += '<tr><th class="td-thin">Id</th><th class="td-wide">ObligationTitle</th><th class="td-wide">
|
|
2912
|
+
htmlSummaryCols += '<tr><th class="td-thin">Id</th><th class="td-wide">ObligationTitle</th><th class="td-wide">Status</th><th class="td-wide">Documents</th></tr>';
|
|
2913
2913
|
for (var i = iInit; i <= iLast; i++) {
|
|
2914
2914
|
let mmdd = "";
|
|
2915
2915
|
if (firstDate == null) {
|
|
@@ -3055,7 +3055,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
3055
3055
|
+ '</tr>');
|
|
3056
3056
|
htmlSummaryValues += ('<tr><td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-thin"><sf-i-elastic-text text="' + this.events[mmdd][j]["id"] + '" minLength="10"></sf-i-elastic-text></td>'
|
|
3057
3057
|
+ '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide"><sf-i-elastic-text text="' + this.events[mmdd][j]["obligationtitle"] + '" minLength="100" lineSize="4"></sf-i-elastic-text></td>'
|
|
3058
|
-
+ '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide"><sf-i-elastic-text text="' + this.events[mmdd][j]["obligation"] + '" minLength="100" lineSize="4"></sf-i-elastic-text></td>'
|
|
3058
|
+
// + '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide"><sf-i-elastic-text text="' + this.events[mmdd][j]["obligation"] + '" minLength="100" lineSize="4"></sf-i-elastic-text></td>'
|
|
3059
3059
|
+ '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide"><sf-i-elastic-text text="' + this.renderStatusString(partStatus, lateStatus, complianceStatus) + '" minLength="100" lineSize="4"></sf-i-elastic-text></td>'
|
|
3060
3060
|
+ '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide">');
|
|
3061
3061
|
for (let document of this.events[mmdd][j].documents) {
|
|
@@ -16428,6 +16428,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
16428
16428
|
html = html.replace(/PERSON_NAME/g, this.userName);
|
|
16429
16429
|
html = html.replace(/PERSON_DESIGNATION/g, this.myRole);
|
|
16430
16430
|
html = html.replace(/PERSON_COMPANY/g, this.projectName);
|
|
16431
|
+
html = html.replace(/PERSON_CRITERIA/g, this.selectedCriteria);
|
|
16431
16432
|
html = html.replace(/PERSON_DATE/g, new Date().getDate() + "/" + (new Date().getMonth() + 1) + "/" + new Date().getFullYear());
|
|
16432
16433
|
let tempHtml = "";
|
|
16433
16434
|
tempHtml += this.htmlDataStats;
|
|
@@ -24018,6 +24019,9 @@ __decorate([
|
|
|
24018
24019
|
__decorate([
|
|
24019
24020
|
property()
|
|
24020
24021
|
], SfIEvents.prototype, "projectName", void 0);
|
|
24022
|
+
__decorate([
|
|
24023
|
+
property()
|
|
24024
|
+
], SfIEvents.prototype, "selectedCriteria", void 0);
|
|
24021
24025
|
__decorate([
|
|
24022
24026
|
property()
|
|
24023
24027
|
], SfIEvents.prototype, "apiResponseFieldList", void 0);
|
package/src/sf-i-events.ts
CHANGED
|
@@ -294,7 +294,7 @@ export class SfIEvents extends LitElement {
|
|
|
294
294
|
<div class="d-flex justify-between align-center">
|
|
295
295
|
<div>
|
|
296
296
|
<div>Date: PERSON_DATE</div>
|
|
297
|
-
<div>
|
|
297
|
+
<div>Criteria: PERSON_CRITERIA</div>
|
|
298
298
|
</div>
|
|
299
299
|
<div>
|
|
300
300
|
<div>Name: PERSON_NAME</div>
|
|
@@ -1291,6 +1291,9 @@ export class SfIEvents extends LitElement {
|
|
|
1291
1291
|
@property()
|
|
1292
1292
|
projectName!: string;
|
|
1293
1293
|
|
|
1294
|
+
@property()
|
|
1295
|
+
selectedCriteria!: string;
|
|
1296
|
+
|
|
1294
1297
|
@property()
|
|
1295
1298
|
apiResponseFieldList!: string;
|
|
1296
1299
|
|
|
@@ -5158,7 +5161,7 @@ export class SfIEvents extends LitElement {
|
|
|
5158
5161
|
csvCols += 'Id,Country,Entity,Location,Function,Reporter,Approver,Functionhead,State,Jurisdiction,Category,Subcategory,Statute,Reference,Applicability,ObligationType,ObligationTitle,Obligation,Firstlineofdefence,Secondlineofdefence,Thirdlineofdefence,Internalcontrols,Penalty,Form,AdditionalUrl,Definition,Authority,RiskSeverity,RiskAreas,Frequency,SubFrequency,DueDate,Status,ReportParameter'
|
|
5159
5162
|
htmlCols += '<tr><th class="td-thin">Id</th><th class="td-thin">Country</th><th class="td-thin">State</th><th class="td-thin">Jurisdiction</th><th class="td-thin">Category</th><th class="td-thin">Subcategory</th><th class="td-wide">Statute</th><th class="td-thin">Reference</th><th class="td-thin">Applicability</th><th class="td-thin">ObligationType</th><th class="td-wide">ObligationTitle</th><th class="td-wide">Obligation</th><th class="td-thin">Firstlineofdefence</th><th class="td-thin">Secondlineofdefence</th><th class="td-thin">Thirdlineofdefence</th><th>InternalControls</th><th class="td-wide">Penalty</th><th class="td-thin">Form</th><th class="td-thin">Additional URL</th><th class="td-thin">Definition</th><th class="td-thin">Authority</th><th class="td-thin">RiskSeverity</th><th class="td-wide">RiskAreas</th><th class="td-thin">Frequency</th><th class="td-thin">SubFrequency</th><th class="td-thin">DueDate</th><th class="td-wide">Status</th><th class="td-wide">ReportParameter</th></tr>'
|
|
5160
5163
|
|
|
5161
|
-
htmlSummaryCols += '<tr><th class="td-thin">Id</th><th class="td-wide">ObligationTitle</th><th class="td-wide">
|
|
5164
|
+
htmlSummaryCols += '<tr><th class="td-thin">Id</th><th class="td-wide">ObligationTitle</th><th class="td-wide">Status</th><th class="td-wide">Documents</th></tr>'
|
|
5162
5165
|
|
|
5163
5166
|
for (var i = iInit; i <= iLast; i++) {
|
|
5164
5167
|
|
|
@@ -5319,7 +5322,7 @@ export class SfIEvents extends LitElement {
|
|
|
5319
5322
|
+ '</tr>');
|
|
5320
5323
|
htmlSummaryValues += ('<tr><td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-thin"><sf-i-elastic-text text="' + this.events[mmdd][j]["id"] + '" minLength="10"></sf-i-elastic-text></td>'
|
|
5321
5324
|
+ '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide"><sf-i-elastic-text text="' + this.events[mmdd][j]["obligationtitle"] + '" minLength="100" lineSize="4"></sf-i-elastic-text></td>'
|
|
5322
|
-
+ '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide"><sf-i-elastic-text text="' + this.events[mmdd][j]["obligation"] + '" minLength="100" lineSize="4"></sf-i-elastic-text></td>'
|
|
5325
|
+
// + '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide"><sf-i-elastic-text text="' + this.events[mmdd][j]["obligation"] + '" minLength="100" lineSize="4"></sf-i-elastic-text></td>'
|
|
5323
5326
|
+ '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide"><sf-i-elastic-text text="' + this.renderStatusString(partStatus, lateStatus, complianceStatus) + '" minLength="100" lineSize="4"></sf-i-elastic-text></td>'
|
|
5324
5327
|
+ '<td class="' + (total % 2 === 0 ? 'td-odd' : 'td-even') + ' td-wide">');
|
|
5325
5328
|
|
|
@@ -21579,6 +21582,7 @@ export class SfIEvents extends LitElement {
|
|
|
21579
21582
|
html = html.replace(/PERSON_NAME/g, this.userName);
|
|
21580
21583
|
html = html.replace(/PERSON_DESIGNATION/g, this.myRole);
|
|
21581
21584
|
html = html.replace(/PERSON_COMPANY/g, this.projectName);
|
|
21585
|
+
html = html.replace(/PERSON_CRITERIA/g, this.selectedCriteria);
|
|
21582
21586
|
html = html.replace(/PERSON_DATE/g, new Date().getDate() + "/" + (new Date().getMonth() + 1) + "/" + new Date().getFullYear());
|
|
21583
21587
|
|
|
21584
21588
|
let tempHtml: string = "";
|