sf-i-events 1.0.1069 → 1.0.1070
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 +4 -34
- package/package.json +1 -1
- package/sf-i-events.js +8 -2
- package/src/sf-i-events.ts +8 -2
package/dev/index.html
CHANGED
|
@@ -893,36 +893,6 @@
|
|
|
893
893
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidusers="dnytrdlrmxgsy.cloudfront.net/userprofile"
|
|
894
894
|
disablesignoff="yes" disableclientresponse="yes">
|
|
895
895
|
|
|
896
|
-
</sf-i-events> -->
|
|
897
|
-
<!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
|
|
898
|
-
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
899
|
-
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
900
|
-
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
901
|
-
apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
|
|
902
|
-
apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
|
|
903
|
-
apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
|
|
904
|
-
apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="solid"
|
|
905
|
-
username="Local Reporter 1" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410"
|
|
906
|
-
projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global"
|
|
907
|
-
entityid="c989a44e-7d3d-427e-b712-90eacf585075" locationid="38dc8c53-643f-4fee-83fe-f15239606277"
|
|
908
|
-
selectedcriteria="Location - Mumbai" myrole="reporter" showregisterexport="false"
|
|
909
|
-
features="["notices","contracts","licenses","rcmresources"]"
|
|
910
|
-
eventfielddependencies="[{"type": "foreignkey", "parent": "country", "child": "state"},{"type": "foreignkey", "parent": "category", "child": "subcategory"},{"type": "foreignkey", "parent": "frequency", "child": "subfrequency"}]"
|
|
911
|
-
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"}]"
|
|
912
|
-
eventpreviewfields="["obligation"]"
|
|
913
|
-
eventhidefields="["comments","documents","lastupdated","approved","tags"]"
|
|
914
|
-
calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
|
|
915
|
-
|
|
916
|
-
<div slot="uploader">
|
|
917
|
-
<sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
|
|
918
|
-
allowedextensions="["jpg","png","pdf","xls","xlsx","doc","docx"]"
|
|
919
|
-
extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="31457280"
|
|
920
|
-
allowdownload="yes"></sf-i-uploader>
|
|
921
|
-
</div>
|
|
922
|
-
<div slot="reporting">
|
|
923
|
-
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
924
|
-
</div>
|
|
925
|
-
|
|
926
896
|
</sf-i-events> -->
|
|
927
897
|
|
|
928
898
|
<!-- <sf-i-events projectid="5a05b884-d7ed-4f63-b623-4d305ea2cfd6" projectname="Standard Radiators Private Limited"
|
|
@@ -1213,7 +1183,7 @@
|
|
|
1213
1183
|
</div>
|
|
1214
1184
|
|
|
1215
1185
|
</sf-i-events> -->
|
|
1216
|
-
|
|
1186
|
+
<sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api"
|
|
1217
1187
|
apiid2="3mefupehxkw4pwsq3oyk7lf2pq0pisdx.lambda-url.us-east-1.on.aws" mode="consumer"
|
|
1218
1188
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
1219
1189
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
@@ -1244,7 +1214,7 @@
|
|
|
1244
1214
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
1245
1215
|
</div>
|
|
1246
1216
|
|
|
1247
|
-
</sf-i-events>
|
|
1217
|
+
</sf-i-events>
|
|
1248
1218
|
<!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api"
|
|
1249
1219
|
apiid2="3mefupehxkw4pwsq3oyk7lf2pq0pisdx.lambda-url.us-east-1.on.aws" mode="consumer"
|
|
1250
1220
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
@@ -1350,7 +1320,7 @@
|
|
|
1350
1320
|
</div>
|
|
1351
1321
|
|
|
1352
1322
|
</sf-i-events> -->
|
|
1353
|
-
<sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api"
|
|
1323
|
+
<!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api"
|
|
1354
1324
|
apiid2="3mefupehxkw4pwsq3oyk7lf2pq0pisdx.lambda-url.us-east-1.on.aws" mode="consumer"
|
|
1355
1325
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
1356
1326
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
@@ -1381,7 +1351,7 @@
|
|
|
1381
1351
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
1382
1352
|
</div>
|
|
1383
1353
|
|
|
1384
|
-
</sf-i-events>
|
|
1354
|
+
</sf-i-events> -->
|
|
1385
1355
|
<!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api"
|
|
1386
1356
|
apiid2="3mefupehxkw4pwsq3oyk7lf2pq0pisdx.lambda-url.us-east-1.on.aws" mode="consumer"
|
|
1387
1357
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -8651,7 +8651,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
8651
8651
|
html += '<span class="mt-10 pt-10 pb-10 mr-10 ml-10" part="ad-hoc-review-message">Please review the questions. Click yes to trigger associated ad hoc compliances wherever applicable. Click the finished button after you have completed the review.</span>';
|
|
8652
8652
|
html += '<button part="button-mark-adhoc-reviewed" id="radio-mark-reviewed" class="d-flex align-center mt-10 pt-10 pb-10 mr-10 ml-10">I have completed the review</button>';
|
|
8653
8653
|
html += '</div>';
|
|
8654
|
-
|
|
8654
|
+
html += '<button part="button-lg-short" id="radio-submit" class="d-flex align-center mt-10 pt-10 pb-10 mr-10 ml-10"><span class="material-symbols-outlined">bolt</span> <span>Trigger</span></button>';
|
|
8655
8655
|
}
|
|
8656
8656
|
else {
|
|
8657
8657
|
html += '<button part="button-lg-short" id="radio-submit" class="d-flex align-center mt-10 pt-10 pb-10 mr-10 ml-10"><span class="material-symbols-outlined">bolt</span> <span>Trigger</span></button>';
|
|
@@ -27862,7 +27862,13 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
27862
27862
|
const jsonRespose = JSON.parse(xhr.responseText);
|
|
27863
27863
|
console.log('jsonRespose', jsonRespose);
|
|
27864
27864
|
if (JSON.stringify(urlBody) == this.getallcountryevetsParams) {
|
|
27865
|
-
|
|
27865
|
+
let tempEvents = await this.fetchPresignedUrl(jsonRespose.signedUrlGet);
|
|
27866
|
+
for (let mmdd of Object.keys(tempEvents)) {
|
|
27867
|
+
tempEvents[mmdd] = tempEvents[mmdd].sort((a, b) => {
|
|
27868
|
+
return a.obligationtitle.localeCompare(b.obligationtitle);
|
|
27869
|
+
});
|
|
27870
|
+
}
|
|
27871
|
+
this.events = tempEvents;
|
|
27866
27872
|
}
|
|
27867
27873
|
await this.fetchPresignedUrlDelete(jsonRespose.signedUrlDelete);
|
|
27868
27874
|
if (JSON.stringify(urlBody) == this.getallcountryevetsParams) {
|
package/src/sf-i-events.ts
CHANGED
|
@@ -11697,7 +11697,7 @@ export class SfIEvents extends LitElement {
|
|
|
11697
11697
|
html += '<span class="mt-10 pt-10 pb-10 mr-10 ml-10" part="ad-hoc-review-message">Please review the questions. Click yes to trigger associated ad hoc compliances wherever applicable. Click the finished button after you have completed the review.</span>'
|
|
11698
11698
|
html += '<button part="button-mark-adhoc-reviewed" id="radio-mark-reviewed" class="d-flex align-center mt-10 pt-10 pb-10 mr-10 ml-10">I have completed the review</button>'
|
|
11699
11699
|
html += '</div>'
|
|
11700
|
-
|
|
11700
|
+
html += '<button part="button-lg-short" id="radio-submit" class="d-flex align-center mt-10 pt-10 pb-10 mr-10 ml-10"><span class="material-symbols-outlined">bolt</span> <span>Trigger</span></button>';
|
|
11701
11701
|
} else {
|
|
11702
11702
|
html += '<button part="button-lg-short" id="radio-submit" class="d-flex align-center mt-10 pt-10 pb-10 mr-10 ml-10"><span class="material-symbols-outlined">bolt</span> <span>Trigger</span></button>';
|
|
11703
11703
|
}
|
|
@@ -34541,7 +34541,13 @@ export class SfIEvents extends LitElement {
|
|
|
34541
34541
|
const jsonRespose = JSON.parse(xhr.responseText);
|
|
34542
34542
|
console.log('jsonRespose', jsonRespose);
|
|
34543
34543
|
if (JSON.stringify(urlBody) == this.getallcountryevetsParams) {
|
|
34544
|
-
|
|
34544
|
+
let tempEvents = await this.fetchPresignedUrl(jsonRespose.signedUrlGet);
|
|
34545
|
+
for(let mmdd of Object.keys(tempEvents)){
|
|
34546
|
+
tempEvents[mmdd] = tempEvents[mmdd].sort((a: any, b: any) => {
|
|
34547
|
+
return a.obligationtitle.localeCompare(b.obligationtitle);
|
|
34548
|
+
});
|
|
34549
|
+
}
|
|
34550
|
+
this.events = tempEvents;
|
|
34545
34551
|
}
|
|
34546
34552
|
await this.fetchPresignedUrlDelete(jsonRespose.signedUrlDelete)
|
|
34547
34553
|
if (JSON.stringify(urlBody) == this.getallcountryevetsParams) {
|