sf-i-events 1.0.974 → 1.0.976

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
@@ -871,6 +871,29 @@
871
871
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidusers="dnytrdlrmxgsy.cloudfront.net/userprofile"
872
872
  disablesignoff="yes" disableclientresponse="yes">
873
873
 
874
+ </sf-i-events> -->
875
+ <!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
876
+ <!-- <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
877
+ apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
878
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
879
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" mode="next" fill="solid" username="Local Reporter 1"
880
+ userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710"
881
+ projectname="ABC Global" myroles="[&quot;reporter&quot;]" eventpreviewfields="[&quot;obligation&quot;]"
882
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
883
+ blocksize="10" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
884
+ <div slot="uploader"><sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
885
+ allowedextensions="[&quot;jpg&quot;,&quot;jpeg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;,&quot;zip&quot;]"
886
+ extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="31457280"
887
+ allowdownload="yes"></sf-i-uploader></div>
888
+ <div slot="reporting"><sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting></div>
889
+ </sf-i-events> -->
890
+ <!-- <sf-i-events projectid="7f928276-a9ff-4bcd-a8db-874f618a92ea" projectname="Transvolt" mode="onboarding"
891
+ locations="{&quot;India&quot;:{&quot;Maharashtra&quot;:[&quot;Head Office&quot;]}}" contractstartdate="01/04/2024"
892
+ apiid="dwqyez2puoxmu.cloudfront.net/event" username="ninad.t@flagggrc.tech"
893
+ apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
894
+ apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidusers="dnytrdlrmxgsy.cloudfront.net/userprofile"
895
+ disablesignoff="yes" disableclientresponse="yes">
896
+
874
897
  </sf-i-events> -->
875
898
  <!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
876
899
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
@@ -999,7 +1022,7 @@
999
1022
  </div>
1000
1023
 
1001
1024
  </sf-i-events> -->
1002
- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
1025
+ <!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
1003
1026
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1004
1027
  apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
1005
1028
  apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
@@ -1028,7 +1051,7 @@
1028
1051
  <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1029
1052
  </div>
1030
1053
 
1031
- </sf-i-events>
1054
+ </sf-i-events> -->
1032
1055
  <!-- <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
1033
1056
  apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
1034
1057
  apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
@@ -1269,6 +1292,176 @@
1269
1292
  username="Pushti Goenka" userprofileid="8ac7f984-a9e2-46ef-a815-c5116f3e4638"
1270
1293
  projectid="7f928276-a9ff-4bcd-a8db-874f618a92ea" projectname="Transvolt" calendarstartyyyy="2025" myrole="reporter">
1271
1294
  </sf-i-events> -->
1295
+ <!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
1296
+ apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1297
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
1298
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
1299
+ apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
1300
+ apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
1301
+ apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
1302
+ apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="solid"
1303
+ username="Ankur Singhal" userprofileid="010834e8-108e-4a87-b58d-f5b429f184be"
1304
+ projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" projectname="Signode"
1305
+ countryid="4ab8901c-4407-4c4d-a2c7-df1a690aa0a3" selectedcriteria="Country - India" myrole="viewer"
1306
+ showregisterexport="false" features="[&quot;contracts&quot;]"
1307
+ 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;}]"
1308
+ 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;}]"
1309
+ eventpreviewfields="[&quot;obligation&quot;]"
1310
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
1311
+ calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
1312
+
1313
+ <div slot="uploader">
1314
+ <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
1315
+ allowedextensions="[&quot;jpg&quot;,&quot;jpeg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;,&quot;zip&quot;]"
1316
+ extract="yes" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" maxsize="31457280"
1317
+ allowdownload="yes"></sf-i-uploader>
1318
+ </div>
1319
+ <div slot="reporting">
1320
+ <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1321
+ </div>
1322
+
1323
+ </sf-i-events> -->
1324
+ <!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
1325
+ apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1326
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
1327
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
1328
+ apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
1329
+ apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
1330
+ apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
1331
+ apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="solid"
1332
+ username="Madhura Zende Internal" userprofileid="8d3edbb1-8318-4525-978a-ecc4c5a8e713"
1333
+ projectid="d7d4d17e-3e20-4eaa-a06a-fb1c87f26532" projectname="FlaggGRC Global"
1334
+ countryid="c48d7cc1-62df-41b3-807a-5744973db3d9" selectedcriteria="Country - India" myrole="approver"
1335
+ showregisterexport="false" features="[&quot;rcmresources&quot;]"
1336
+ 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;}]"
1337
+ 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;}]"
1338
+ eventpreviewfields="[&quot;obligation&quot;]"
1339
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
1340
+ calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
1341
+
1342
+ <div slot="uploader">
1343
+ <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
1344
+ allowedextensions="[&quot;jpg&quot;,&quot;jpeg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;,&quot;zip&quot;]"
1345
+ extract="yes" projectid="d7d4d17e-3e20-4eaa-a06a-fb1c87f26532" maxsize="31457280"
1346
+ allowdownload="yes"></sf-i-uploader>
1347
+ </div>
1348
+ <div slot="reporting">
1349
+ <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1350
+ </div>
1351
+
1352
+ </sf-i-events> -->
1353
+ <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiIdUserProfiles="dnytrdlrmxgsy.cloudfront.net/userprofile" mode="reports" fill="pattern"
1354
+ username="Local Reporter 1" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410"
1355
+ projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" calendarstartyyyy="2025"
1356
+ myrole="reporter">
1357
+ </sf-i-events> -->
1358
+ <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" mode="reports" fill="pattern"
1359
+ username="Pushti Goenka" userprofileid="8ac7f984-a9e2-46ef-a815-c5116f3e4638"
1360
+ projectid="7f928276-a9ff-4bcd-a8db-874f618a92ea" projectname="Transvolt" calendarstartyyyy="2025" myrole="reporter">
1361
+ </sf-i-events> -->
1362
+ <!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
1363
+ apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1364
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
1365
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
1366
+ apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
1367
+ apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
1368
+ apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
1369
+ apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="solid"
1370
+ username="Ankur Singhal" userprofileid="010834e8-108e-4a87-b58d-f5b429f184be"
1371
+ projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" projectname="Signode"
1372
+ countryid="4ab8901c-4407-4c4d-a2c7-df1a690aa0a3" selectedcriteria="Country - India" myrole="viewer"
1373
+ showregisterexport="false" features="[&quot;contracts&quot;]"
1374
+ 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;}]"
1375
+ 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;}]"
1376
+ eventpreviewfields="[&quot;obligation&quot;]"
1377
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
1378
+ calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
1379
+
1380
+ <div slot="uploader">
1381
+ <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
1382
+ allowedextensions="[&quot;jpg&quot;,&quot;jpeg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;,&quot;zip&quot;]"
1383
+ extract="yes" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" maxsize="31457280"
1384
+ allowdownload="yes"></sf-i-uploader>
1385
+ </div>
1386
+ <div slot="reporting">
1387
+ <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1388
+ </div>
1389
+
1390
+ </sf-i-events> -->
1391
+ <!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
1392
+ apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1393
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
1394
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
1395
+ apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
1396
+ apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
1397
+ apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
1398
+ apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="solid"
1399
+ username="Madhura Zende Internal" userprofileid="8d3edbb1-8318-4525-978a-ecc4c5a8e713"
1400
+ projectid="d7d4d17e-3e20-4eaa-a06a-fb1c87f26532" projectname="FlaggGRC Global"
1401
+ countryid="c48d7cc1-62df-41b3-807a-5744973db3d9" selectedcriteria="Country - India" myrole="approver"
1402
+ showregisterexport="false" features="[&quot;rcmresources&quot;]"
1403
+ 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;}]"
1404
+ 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;}]"
1405
+ eventpreviewfields="[&quot;obligation&quot;]"
1406
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
1407
+ calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
1408
+
1409
+ <div slot="uploader">
1410
+ <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
1411
+ allowedextensions="[&quot;jpg&quot;,&quot;jpeg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;,&quot;zip&quot;]"
1412
+ extract="yes" projectid="d7d4d17e-3e20-4eaa-a06a-fb1c87f26532" maxsize="31457280"
1413
+ allowdownload="yes"></sf-i-uploader>
1414
+ </div>
1415
+ <div slot="reporting">
1416
+ <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1417
+ </div>
1418
+
1419
+ </sf-i-events> -->
1420
+ <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiIdUserProfiles="dnytrdlrmxgsy.cloudfront.net/userprofile" mode="reports" fill="pattern"
1421
+ username="Local Reporter 1" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410"
1422
+ projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" calendarstartyyyy="2025"
1423
+ myrole="reporter">
1424
+ </sf-i-events> -->
1425
+ <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" mode="reports" fill="pattern"
1426
+ username="Pushti Goenka" userprofileid="8ac7f984-a9e2-46ef-a815-c5116f3e4638"
1427
+ projectid="7f928276-a9ff-4bcd-a8db-874f618a92ea" projectname="Transvolt" calendarstartyyyy="2025" myrole="reporter">
1428
+ </sf-i-events> -->
1429
+ <!-- <sf-i-events projectid="a81b6ae1-98de-4b72-8cf0-9aaee5b61891" projectname="Khaitan" mode="onboarding" locations="{}"
1430
+ contractstartdate="01/01/2025" apiid="dwqyez2puoxmu.cloudfront.net/event" username="ninad.t@flagggrc.tech"
1431
+ apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
1432
+ apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidusers="dnytrdlrmxgsy.cloudfront.net/userprofile"
1433
+ disablesignoff="yes" disableclientresponse="yes">
1434
+
1435
+ </sf-i-events> -->
1436
+ <sf-i-events name="Calendar" apiid="3mefupehxkw4pwsq3oyk7lf2pq0pisdx.lambda-url.us-east-1.on.aws"
1437
+ apiid2="3mefupehxkw4pwsq3oyk7lf2pq0pisdx.lambda-url.us-east-1.on.aws" mode="consumer"
1438
+ apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1439
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
1440
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
1441
+ apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
1442
+ apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
1443
+ apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
1444
+ apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="pattern" username="T B Umesh"
1445
+ userprofileid="806a8a92-12aa-45d6-a35e-541287479ab2" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64"
1446
+ projectname="Signode" countryid="4ab8901c-4407-4c4d-a2c7-df1a690aa0a3" selectedcriteria="Country - India"
1447
+ enabledeletelatestreport="true" features="[&quot;contracts&quot;]"
1448
+ 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;}]"
1449
+ 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;}]"
1450
+ eventpreviewfields="[&quot;obligationtitle&quot;]"
1451
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
1452
+ calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
1453
+
1454
+ <div slot="uploader">
1455
+ <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
1456
+ allowedextensions="[&quot;jpg&quot;,&quot;jpeg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;,&quot;zip&quot;]"
1457
+ extract="yes" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" maxsize="31457280"
1458
+ allowdownload="yes"></sf-i-uploader>
1459
+ </div>
1460
+ <div slot="reporting">
1461
+ <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1462
+ </div>
1463
+
1464
+ </sf-i-events>
1272
1465
  <script>
1273
1466
 
1274
1467
  function setCookie(name, value, days) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.974",
4
+ "version": "1.0.976",
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
@@ -14366,7 +14366,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14366
14366
  }
14367
14367
  };
14368
14368
  this.renderEventDetail = (event, mmddyyyy, currentColumnButton, eventsContainer, previousId, nextId, fromDrilldown) => {
14369
- var _a, _b, _c, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
14369
+ var _a, _b, _c, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
14370
14370
  console.log('event details', event, mmddyyyy, currentColumnButton == null ? "null currentColumnButton" : currentColumnButton.id);
14371
14371
  console.log('previousid', previousId, 'nextid', nextId);
14372
14372
  console.log('confighome', Util.getProjectConfigHome());
@@ -14748,11 +14748,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14748
14748
  let emailcontent = `<table border="0" cellspacing="0" style="color:#666666;border-radius:5px;border:solid 1px #efefef;width:100%; margin-top:20px"><tbody><tr><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#fbfbfb;font-size:110%;font-weight:bold">Compliance ID</td><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#fbfbfb;font-size:110%">${event.id}</td></tr><tr><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%;font-weight:bold">Country</td><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%">${event.countryname.replace(/ *\([^)]*\) */g, "")}</td></tr><tr><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#fbfbfb;font-size:110%;font-weight:bold">Entity</td><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#fbfbfb;font-size:110%">${event.entityname.replace(/ *\([^)]*\) */g, "")}</td></tr><tr><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%;font-weight:bold">Location</td><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%">${event.locationname.replace(/ *\([^)]*\) */g, "")}</td></tr><tr><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#fbfbfb;font-size:110%;font-weight:bold">Statute</td><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#fbfbfb;font-size:110%">${(_b = event.statute[0]) !== null && _b !== void 0 ? _b : ""}</td></tr><tr><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%;font-weight:bold">Subcategory</td><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%">${event.subcategory}</td></tr><tr><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%;font-weight:bold">Reporter</td><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%">${event.reporters[0].split(';')[0]}</td></tr><tr><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%;font-weight:bold">Approver</td><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%">${event.approvers[0].split(';')[0]}</td></tr><tr><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%;font-weight:bold">Due Date</td><td style="padding:10px;padding-top:10px;padding-bottom:10px;vertical-align:top;background-color:#f5f5f5;font-size:110%">${ddmmyyyy}</td></tr></tbody></table>`;
14749
14749
  this._SfUploader[0].querySelector('#uploader').emailcontent = emailcontent;
14750
14750
  }
14751
- (_c = this._SfDetailContainer.querySelector('#button-detail-close')) === null || _c === void 0 ? void 0 : _c.addEventListener('click', () => {
14752
- this._SfDetailContainer.innerHTML = '';
14753
- this._SfDetailContainer.style.display = 'none';
14754
- });
14755
- (_f = this._SfDetailContainer.querySelector('#button-detail-previous')) === null || _f === void 0 ? void 0 : _f.addEventListener('click', () => {
14751
+ (_c = this._SfDetailContainer.querySelector('#button-detail-previous')) === null || _c === void 0 ? void 0 : _c.addEventListener('click', () => {
14756
14752
  var _a;
14757
14753
  var clickEvent = new MouseEvent("click", {
14758
14754
  "view": window,
@@ -14761,7 +14757,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14761
14757
  });
14762
14758
  (_a = eventsContainer.querySelector('#' + previousId)) === null || _a === void 0 ? void 0 : _a.dispatchEvent(clickEvent);
14763
14759
  });
14764
- (_g = this._SfDetailContainer.querySelector('#button-detail-next')) === null || _g === void 0 ? void 0 : _g.addEventListener('click', () => {
14760
+ (_f = this._SfDetailContainer.querySelector('#button-detail-next')) === null || _f === void 0 ? void 0 : _f.addEventListener('click', () => {
14765
14761
  var _a;
14766
14762
  var clickEvent = new MouseEvent("click", {
14767
14763
  "view": window,
@@ -14770,7 +14766,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14770
14766
  });
14771
14767
  (_a = eventsContainer.querySelector('#' + nextId)) === null || _a === void 0 ? void 0 : _a.dispatchEvent(clickEvent);
14772
14768
  });
14773
- (_h = this._SfDetailContainer.querySelector('.head-basic')) === null || _h === void 0 ? void 0 : _h.addEventListener('click', () => {
14769
+ (_g = this._SfDetailContainer.querySelector('.head-basic')) === null || _g === void 0 ? void 0 : _g.addEventListener('click', () => {
14774
14770
  //console.log('head basic clicked', ((this._SfDetailContainer as HTMLDivElement).querySelector('.body-basic') as HTMLDivElement).style.display);
14775
14771
  if (this._SfDetailContainer.querySelector('.body-basic').style.display == 'flex' || this._SfDetailContainer.querySelector('.body-basic').style.display == '') {
14776
14772
  this._SfDetailContainer.querySelector('.body-basic').style.display = 'none';
@@ -14781,7 +14777,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14781
14777
  this._SfDetailContainer.querySelector('.head-indicator-basic').innerHTML = '-';
14782
14778
  }
14783
14779
  });
14784
- (_j = this._SfDetailContainer.querySelector('.head-statute')) === null || _j === void 0 ? void 0 : _j.addEventListener('click', () => {
14780
+ (_h = this._SfDetailContainer.querySelector('.head-statute')) === null || _h === void 0 ? void 0 : _h.addEventListener('click', () => {
14785
14781
  //console.log('head statute clicked', ((this._SfDetailContainer as HTMLDivElement).querySelector('.body-statute') as HTMLDivElement).style.display);
14786
14782
  if (this._SfDetailContainer.querySelector('.body-statute').style.display == 'flex' || this._SfDetailContainer.querySelector('.body-statute').style.display == '') {
14787
14783
  this._SfDetailContainer.querySelector('.body-statute').style.display = 'none';
@@ -14792,7 +14788,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14792
14788
  this._SfDetailContainer.querySelector('.head-indicator-statute').innerHTML = '-';
14793
14789
  }
14794
14790
  });
14795
- (_k = this._SfDetailContainer.querySelector('.head-compliance')) === null || _k === void 0 ? void 0 : _k.addEventListener('click', () => {
14791
+ (_j = this._SfDetailContainer.querySelector('.head-compliance')) === null || _j === void 0 ? void 0 : _j.addEventListener('click', () => {
14796
14792
  if (this._SfDetailContainer.querySelector('.body-compliance').style.display == 'flex' || this._SfDetailContainer.querySelector('.body-compliance').style.display == '') {
14797
14793
  this._SfDetailContainer.querySelector('.body-compliance').style.display = 'none';
14798
14794
  this._SfDetailContainer.querySelector('.head-indicator-compliance').innerHTML = '+';
@@ -14802,7 +14798,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14802
14798
  this._SfDetailContainer.querySelector('.head-indicator-compliance').innerHTML = '-';
14803
14799
  }
14804
14800
  });
14805
- (_l = this._SfDetailContainer.querySelector('.head-grc')) === null || _l === void 0 ? void 0 : _l.addEventListener('click', () => {
14801
+ (_k = this._SfDetailContainer.querySelector('.head-grc')) === null || _k === void 0 ? void 0 : _k.addEventListener('click', () => {
14806
14802
  if (this._SfDetailContainer.querySelector('.body-grc').style.display == 'flex' || this._SfDetailContainer.querySelector('.body-grc').style.display == '') {
14807
14803
  this._SfDetailContainer.querySelector('.body-grc').style.display = 'none';
14808
14804
  this._SfDetailContainer.querySelector('.head-indicator-grc').innerHTML = '+';
@@ -14812,7 +14808,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14812
14808
  this._SfDetailContainer.querySelector('.head-indicator-grc').innerHTML = '-';
14813
14809
  }
14814
14810
  });
14815
- (_m = this._SfDetailContainer.querySelector('.head-feedback')) === null || _m === void 0 ? void 0 : _m.addEventListener('click', () => {
14811
+ (_l = this._SfDetailContainer.querySelector('.head-feedback')) === null || _l === void 0 ? void 0 : _l.addEventListener('click', () => {
14816
14812
  if (this._SfDetailContainer.querySelector('.body-feedback').style.display == 'flex') {
14817
14813
  this._SfDetailContainer.querySelector('.body-feedback').style.display = 'none';
14818
14814
  this._SfDetailContainer.querySelector('.head-indicator-feedback').innerHTML = '+';
@@ -14822,11 +14818,11 @@ let SfIEvents = class SfIEvents extends LitElement {
14822
14818
  this._SfDetailContainer.querySelector('.head-indicator-feedback').innerHTML = '-';
14823
14819
  }
14824
14820
  });
14825
- (_o = this._SfDetailContainer.querySelector('#button-detail-close')) === null || _o === void 0 ? void 0 : _o.addEventListener('click', () => {
14821
+ (_m = this._SfDetailContainer.querySelector('#button-detail-close')) === null || _m === void 0 ? void 0 : _m.addEventListener('click', () => {
14826
14822
  this._SfDetailContainer.innerHTML = '';
14827
14823
  this._SfDetailContainer.style.display = 'none';
14828
14824
  });
14829
- (_p = this._SfDetailContainer.querySelector('#button-feedback')) === null || _p === void 0 ? void 0 : _p.addEventListener('click', () => {
14825
+ (_o = this._SfDetailContainer.querySelector('#button-feedback')) === null || _o === void 0 ? void 0 : _o.addEventListener('click', () => {
14830
14826
  const feedbackMessage = this._SfDetailContainer.querySelector('#feedback-message');
14831
14827
  const feedbackSuspense = this._SfDetailContainer.querySelector('#feedback-suspense');
14832
14828
  const feedbackSuspenseLabel = this._SfDetailContainer.querySelector('#feedback-suspense-label');
@@ -14862,7 +14858,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14862
14858
  // }
14863
14859
  // console.log(body);
14864
14860
  });
14865
- (_q = this._SfDetailContainer.querySelector('#button-feedback-cancel')) === null || _q === void 0 ? void 0 : _q.addEventListener('click', () => {
14861
+ (_p = this._SfDetailContainer.querySelector('#button-feedback-cancel')) === null || _p === void 0 ? void 0 : _p.addEventListener('click', () => {
14866
14862
  const feedbackMessage = this._SfDetailContainer.querySelector('#feedback-message');
14867
14863
  const feedbackSuspense = this._SfDetailContainer.querySelector('#feedback-suspense');
14868
14864
  const feedbackSuspenseLabel = this._SfDetailContainer.querySelector('#feedback-suspense-label');
@@ -14893,7 +14889,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14893
14889
  buttonFeedback.classList.remove('hide');
14894
14890
  }
14895
14891
  });
14896
- (_r = this._SfDetailContainer.querySelector('#button-feedback-confirm')) === null || _r === void 0 ? void 0 : _r.addEventListener('click', async () => {
14892
+ (_q = this._SfDetailContainer.querySelector('#button-feedback-confirm')) === null || _q === void 0 ? void 0 : _q.addEventListener('click', async () => {
14897
14893
  var _a, _b, _c;
14898
14894
  const feedbackMessage = this._SfDetailContainer.querySelector('#feedback-message');
14899
14895
  const feedbackSuspense = this._SfDetailContainer.querySelector('#feedback-suspense');
@@ -14925,7 +14921,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14925
14921
  buttonClose.click();
14926
14922
  }
14927
14923
  });
14928
- (_s = this._SfDetailContainer.querySelector('#feedback-message')) === null || _s === void 0 ? void 0 : _s.addEventListener('keyup', (e) => {
14924
+ (_r = this._SfDetailContainer.querySelector('#feedback-message')) === null || _r === void 0 ? void 0 : _r.addEventListener('keyup', (e) => {
14929
14925
  if (e.code == "Enter") {
14930
14926
  const buttonConfirm = this._SfDetailContainer.querySelector('#button-feedback-confirm');
14931
14927
  buttonConfirm.click();
@@ -14954,7 +14950,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14954
14950
  }
14955
14951
  }
14956
14952
  else if (event['reportformat'] != null && event['reportformat'].length > 0) {
14957
- this.fetchReportFormat(this._SfDetailContainer, reportformatName, (_t = event['reportformatschema']) !== null && _t !== void 0 ? _t : "", (_u = event['reportformatvalues']) !== null && _u !== void 0 ? _u : "");
14953
+ this.fetchReportFormat(this._SfDetailContainer, reportformatName, (_s = event['reportformatschema']) !== null && _s !== void 0 ? _s : "", (_t = event['reportformatvalues']) !== null && _t !== void 0 ? _t : "");
14958
14954
  }
14959
14955
  };
14960
14956
  this.renderEventDetailReporting = (eventDetailReportingContainer, event, mmddyyyy, eventDetailContainer) => {
@@ -14979,6 +14975,7 @@ let SfIEvents = class SfIEvents extends LitElement {
14979
14975
  if (this._SfUploader[0] != null) {
14980
14976
  this._SfUploader[0].querySelector('#uploader').emailcontent = emailcontent;
14981
14977
  }
14978
+ const buttonClose = this._SfDetailContainer.querySelector('#button-detail-close');
14982
14979
  let deleteButtons = eventDetailContainer.querySelectorAll('.button-delete');
14983
14980
  for (let deleteButton of deleteButtons) {
14984
14981
  deleteButton === null || deleteButton === void 0 ? void 0 : deleteButton.addEventListener('click', async () => {
@@ -15350,6 +15347,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15350
15347
  if (this.mode == "next") {
15351
15348
  // this.fetchNext(this.nextPage)
15352
15349
  // this.renderRoleTabsNext(this.nextPage)
15350
+ buttonClose === null || buttonClose === void 0 ? void 0 : buttonClose.dispatchEvent(new Event('click'));
15353
15351
  this.renderNextEvents(this.nextEvents, this.nextPage, this.nextTabRole);
15354
15352
  }
15355
15353
  else {
@@ -15365,6 +15363,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15365
15363
  await this.fetchBulkReportingData();
15366
15364
  }
15367
15365
  console.log('events', this.events);
15366
+ buttonClose === null || buttonClose === void 0 ? void 0 : buttonClose.dispatchEvent(new Event('click'));
15368
15367
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
15369
15368
  }
15370
15369
  }
@@ -15466,6 +15465,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15466
15465
  }
15467
15466
  if (this.mode == "next") {
15468
15467
  // this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus)
15468
+ buttonClose === null || buttonClose === void 0 ? void 0 : buttonClose.dispatchEvent(new Event('click'));
15469
15469
  this.renderNextEvents(this.nextEvents, this.nextPage, this.nextTabRole);
15470
15470
  }
15471
15471
  else {
@@ -15480,6 +15480,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15480
15480
  if (this.selectedItemIds.length > 0) {
15481
15481
  await this.fetchBulkReportingData();
15482
15482
  }
15483
+ buttonClose === null || buttonClose === void 0 ? void 0 : buttonClose.dispatchEvent(new Event('click'));
15483
15484
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
15484
15485
  // if(currentColumnButton != null) {
15485
15486
  // currentColumnButton.click();
@@ -15664,31 +15665,6 @@ let SfIEvents = class SfIEvents extends LitElement {
15664
15665
  const eventId = selectedId.split('-')[9].replace(/_/g, '-');
15665
15666
  mmddyyyy = selectedId.split('-')[10] + '/' + selectedId.split('-')[11] + '/' + selectedId.split('-')[12];
15666
15667
  //console.log(entityId, locationId, eventId, mmddyyyy);
15667
- // await this.uploadReport(entityId, locationId, mmddyyyy, eventId, reportercomments, reporterdoc, docs, null)
15668
- // if(parseInt(makercheckersL) > 0) {
15669
- // bulkBodyReview.push({
15670
- // "mmddyyyy": mmddyyyy,
15671
- // "projectid": this.projectId,
15672
- // "type": "report",
15673
- // "eventid": eventId,
15674
- // "comments": reportercomments,
15675
- // "dateofcompletion": reporterdoc,
15676
- // "percentage": percentage,
15677
- // "entityid": entityId,
15678
- // "locationid": locationId,
15679
- // "event": null,
15680
- // "docs": JSON.stringify(docs),
15681
- // "approved": true,
15682
- // "username": this.userName,
15683
- // "reportformatvalues": reportformatvalues,
15684
- // "reportformatschema": reportformatschema,
15685
- // "userid": this.userProfileId,
15686
- // "userrole": this.myRole,
15687
- // "year": this.calendarStartYYYY,
15688
- // "module": event.module ?? "compliance"
15689
- // } )
15690
- // // await this.uploadReview(entityId, locationId, mmddyyyy, eventId, "Auto approved", true);
15691
- // }else{
15692
15668
  let yearStr = this.getFinancialYear(mmddyyyy);
15693
15669
  bulkBody.push({
15694
15670
  "mmddyyyy": mmddyyyy,
@@ -15712,19 +15688,10 @@ let SfIEvents = class SfIEvents extends LitElement {
15712
15688
  "module": (_f = event.module) !== null && _f !== void 0 ? _f : "compliance",
15713
15689
  "makercheckers": (parseInt(makercheckersL) > 0) ? ["makercheckers"] : null
15714
15690
  });
15715
- // }
15716
- // this.setSuccess("Updating " + (k + 1) + "/" + this.selectedItemIds.length + ", please wait...");
15717
- // await this.sleep(2000);
15718
- // this.clearMessages();
15719
15691
  }
15720
- // await this.uploadReportsBulk(bulkBody);
15721
- // await this.fetchBulkReportingData();
15722
15692
  if (bulkBody.length > 0) {
15723
15693
  await this.uploadReportsBulk(bulkBody, bulkBodyReview.length == 0);
15724
15694
  }
15725
- // if(bulkBodyReview.length > 0){
15726
- // await this.uploadReportsReviewsBulk(bulkBodyReview)
15727
- // }
15728
15695
  for (var k = 0; k < this.selectedItemIds.length; k++) {
15729
15696
  const selectedId = this.selectedItemIds[k];
15730
15697
  //console.log('selectedid', selectedId);
@@ -15761,6 +15728,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15761
15728
  }
15762
15729
  if (this.mode == "next") {
15763
15730
  // this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus)
15731
+ buttonClose === null || buttonClose === void 0 ? void 0 : buttonClose.dispatchEvent(new Event('click'));
15764
15732
  this.renderNextEvents(this.nextEvents, this.nextPage, this.nextTabRole);
15765
15733
  }
15766
15734
  else {
@@ -15775,6 +15743,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15775
15743
  if (this.selectedItemIds.length > 0) {
15776
15744
  await this.fetchBulkReportingData();
15777
15745
  }
15746
+ buttonClose.dispatchEvent(new Event('click'));
15778
15747
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
15779
15748
  // if(currentColumnButton != null) {
15780
15749
  // currentColumnButton.click();
@@ -18773,13 +18773,6 @@ export class SfIEvents extends LitElement {
18773
18773
  (this._SfUploader[0].querySelector('#uploader') as SfIUploader).emailcontent = emailcontent;
18774
18774
  }
18775
18775
 
18776
- (this._SfDetailContainer as HTMLDivElement).querySelector('#button-detail-close')?.addEventListener('click', () => {
18777
-
18778
- (this._SfDetailContainer as HTMLDivElement).innerHTML = '';
18779
- (this._SfDetailContainer as HTMLDivElement).style.display = 'none';
18780
-
18781
- });
18782
-
18783
18776
  (this._SfDetailContainer as HTMLDivElement).querySelector('#button-detail-previous')?.addEventListener('click', () => {
18784
18777
  var clickEvent = new MouseEvent("click", {
18785
18778
  "view": window,
@@ -19050,6 +19043,7 @@ export class SfIEvents extends LitElement {
19050
19043
  if (this._SfUploader[0] != null) {
19051
19044
  (this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.emailcontent = emailcontent;
19052
19045
  }
19046
+ const buttonClose = ((this._SfDetailContainer as HTMLDivElement).querySelector('#button-detail-close') as HTMLButtonElement);
19053
19047
  let deleteButtons = eventDetailContainer.querySelectorAll('.button-delete') as NodeListOf<HTMLButtonElement>
19054
19048
  for (let deleteButton of deleteButtons) {
19055
19049
  deleteButton?.addEventListener('click', async () => {
@@ -19423,6 +19417,7 @@ export class SfIEvents extends LitElement {
19423
19417
  if (this.mode == "next") {
19424
19418
  // this.fetchNext(this.nextPage)
19425
19419
  // this.renderRoleTabsNext(this.nextPage)
19420
+ buttonClose?.dispatchEvent(new Event('click'))
19426
19421
  this.renderNextEvents(this.nextEvents, this.nextPage, this.nextTabRole)
19427
19422
  } else {
19428
19423
  // if(this.getCurrentTab() == this.TAB_CUSTOM) {
@@ -19436,6 +19431,7 @@ export class SfIEvents extends LitElement {
19436
19431
  await this.fetchBulkReportingData();
19437
19432
  }
19438
19433
  console.log('events', this.events);
19434
+ buttonClose?.dispatchEvent(new Event('click'))
19439
19435
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
19440
19436
  }
19441
19437
  }
@@ -19544,6 +19540,7 @@ export class SfIEvents extends LitElement {
19544
19540
  }
19545
19541
  if (this.mode == "next") {
19546
19542
  // this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus)
19543
+ buttonClose?.dispatchEvent(new Event('click'))
19547
19544
  this.renderNextEvents(this.nextEvents, this.nextPage, this.nextTabRole)
19548
19545
  } else {
19549
19546
  // if(this.getCurrentTab() == this.TAB_CUSTOM) {
@@ -19556,6 +19553,7 @@ export class SfIEvents extends LitElement {
19556
19553
  if (this.selectedItemIds.length > 0) {
19557
19554
  await this.fetchBulkReportingData();
19558
19555
  }
19556
+ buttonClose?.dispatchEvent(new Event('click'))
19559
19557
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
19560
19558
  // if(currentColumnButton != null) {
19561
19559
  // currentColumnButton.click();
@@ -19721,6 +19719,7 @@ export class SfIEvents extends LitElement {
19721
19719
  }
19722
19720
  this.recentlyReported[mmdd].push(event)
19723
19721
  console.log('recently reported', this.recentlyReported)
19722
+
19724
19723
  } else {
19725
19724
  for (var p = 0; p < this.nextEvents[this.nextTabRole][mmdd].length; p++) {
19726
19725
  if (this.nextEvents[this.nextTabRole][mmdd][p].id == event.id && this.nextEvents[this.nextTabRole][mmdd][p].locationid == event.locationid && this.nextEvents[this.nextTabRole][mmdd][p].entityid == event.entityid) {
@@ -19767,32 +19766,6 @@ export class SfIEvents extends LitElement {
19767
19766
 
19768
19767
  //console.log(entityId, locationId, eventId, mmddyyyy);
19769
19768
 
19770
- // await this.uploadReport(entityId, locationId, mmddyyyy, eventId, reportercomments, reporterdoc, docs, null)
19771
- // if(parseInt(makercheckersL) > 0) {
19772
- // bulkBodyReview.push({
19773
- // "mmddyyyy": mmddyyyy,
19774
- // "projectid": this.projectId,
19775
- // "type": "report",
19776
- // "eventid": eventId,
19777
- // "comments": reportercomments,
19778
- // "dateofcompletion": reporterdoc,
19779
- // "percentage": percentage,
19780
- // "entityid": entityId,
19781
- // "locationid": locationId,
19782
- // "event": null,
19783
- // "docs": JSON.stringify(docs),
19784
- // "approved": true,
19785
- // "username": this.userName,
19786
- // "reportformatvalues": reportformatvalues,
19787
- // "reportformatschema": reportformatschema,
19788
- // "userid": this.userProfileId,
19789
- // "userrole": this.myRole,
19790
- // "year": this.calendarStartYYYY,
19791
- // "module": event.module ?? "compliance"
19792
- // } )
19793
- // // await this.uploadReview(entityId, locationId, mmddyyyy, eventId, "Auto approved", true);
19794
-
19795
- // }else{
19796
19769
  let yearStr = this.getFinancialYear(mmddyyyy)
19797
19770
  bulkBody.push({
19798
19771
  "mmddyyyy": mmddyyyy,
@@ -19816,23 +19789,15 @@ export class SfIEvents extends LitElement {
19816
19789
  "module": event.module ?? "compliance",
19817
19790
  "makercheckers": (parseInt(makercheckersL) > 0) ? ["makercheckers"] : null
19818
19791
  })
19819
- // }
19820
-
19821
- // this.setSuccess("Updating " + (k + 1) + "/" + this.selectedItemIds.length + ", please wait...");
19822
- // await this.sleep(2000);
19823
- // this.clearMessages();
19824
19792
 
19793
+
19825
19794
  }
19826
- // await this.uploadReportsBulk(bulkBody);
19827
-
19828
- // await this.fetchBulkReportingData();
19795
+
19829
19796
  if (bulkBody.length > 0) {
19830
19797
  await this.uploadReportsBulk(bulkBody, bulkBodyReview.length == 0);
19831
19798
  }
19832
19799
 
19833
- // if(bulkBodyReview.length > 0){
19834
- // await this.uploadReportsReviewsBulk(bulkBodyReview)
19835
- // }
19800
+
19836
19801
  for (var k = 0; k < this.selectedItemIds.length; k++) {
19837
19802
 
19838
19803
  const selectedId = this.selectedItemIds[k];
@@ -19870,6 +19835,7 @@ export class SfIEvents extends LitElement {
19870
19835
 
19871
19836
  if (this.mode == "next") {
19872
19837
  // this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus)
19838
+ buttonClose?.dispatchEvent(new Event('click'))
19873
19839
  this.renderNextEvents(this.nextEvents, this.nextPage, this.nextTabRole)
19874
19840
  } else {
19875
19841
  // if(this.getCurrentTab() == this.TAB_CUSTOM) {
@@ -19882,6 +19848,7 @@ export class SfIEvents extends LitElement {
19882
19848
  if (this.selectedItemIds.length > 0) {
19883
19849
  await this.fetchBulkReportingData();
19884
19850
  }
19851
+ buttonClose.dispatchEvent(new Event('click'))
19885
19852
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk)
19886
19853
  // if(currentColumnButton != null) {
19887
19854
  // currentColumnButton.click();