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 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="[&quot;notices&quot;,&quot;contracts&quot;,&quot;licenses&quot;,&quot;rcmresources&quot;]"
910
- eventfielddependencies="[{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;country&quot;, &quot;child&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;category&quot;, &quot;child&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;frequency&quot;, &quot;child&quot;: &quot;subfrequency&quot;}]"
911
- eventfields="[{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/riskarea&quot;, &quot;field&quot;: &quot;riskarea&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/jurisdiction&quot;, &quot;field&quot;: &quot;jurisdiction&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/updatetype&quot;, &quot;field&quot;: &quot;updatetype&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/country&quot;, &quot;field&quot;: &quot;country&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/specificity&quot;, &quot;field&quot;: &quot;specificity&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/risk&quot;, &quot;field&quot;: &quot;risk&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/frequency&quot;, &quot;field&quot;: &quot;frequency&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/category&quot;, &quot;field&quot;: &quot;category&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/obligationtype&quot;, &quot;field&quot;: &quot;obligationtype&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/state&quot;, &quot;field&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subfrequency&quot;, &quot;field&quot;: &quot;subfrequency&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subcategory&quot;, &quot;field&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;sf-i-form&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/statute&quot;, &quot;field&quot;: &quot;statute&quot;, &quot;projectField&quot;: &quot;name&quot;}]"
912
- eventpreviewfields="[&quot;obligation&quot;]"
913
- eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
914
- calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
915
-
916
- <div slot="uploader">
917
- <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
918
- allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]"
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
- <!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api"
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.1069",
4
+ "version": "1.0.1070",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
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
- // html += '<button part="button-lg-short" id="radio-submit" class="d-flex align-center mt-10 pt-10 pb-10 mr-10 ml-10 hide"><span class="material-symbols-outlined">bolt</span>&nbsp;<span>Trigger</span></button>';
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>&nbsp;<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>&nbsp;<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
- this.events = (await this.fetchPresignedUrl(jsonRespose.signedUrlGet));
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) {
@@ -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
- // html += '<button part="button-lg-short" id="radio-submit" class="d-flex align-center mt-10 pt-10 pb-10 mr-10 ml-10 hide"><span class="material-symbols-outlined">bolt</span>&nbsp;<span>Trigger</span></button>';
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>&nbsp;<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>&nbsp;<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
- this.events = (await this.fetchPresignedUrl(jsonRespose.signedUrlGet));
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) {