sf-i-events 1.0.973 → 1.0.975

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.973",
4
+ "version": "1.0.975",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
@@ -58,12 +58,12 @@
58
58
  "sf-checklist": "^1.0.17",
59
59
  "sf-i-bricks": "^1.0.8",
60
60
  "sf-i-elastic-text": "^1.0.17",
61
- "sf-i-form": "^1.0.186",
61
+ "sf-i-form": "^1.0.189",
62
62
  "sf-i-multitextarea": "^1.0.7",
63
- "sf-i-reporting": "^1.0.117",
63
+ "sf-i-reporting": "^1.0.122",
64
64
  "sf-i-select": "^1.0.80",
65
65
  "sf-i-sub-select": "^1.0.68",
66
- "sf-i-uploader": "^1.0.123",
66
+ "sf-i-uploader": "^1.0.129",
67
67
  "sf-new-feature": "^1.0.1",
68
68
  "sinon": "^15.0.1",
69
69
  "update": "^0.7.4",
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 () => {
@@ -15365,6 +15362,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15365
15362
  await this.fetchBulkReportingData();
15366
15363
  }
15367
15364
  console.log('events', this.events);
15365
+ buttonClose === null || buttonClose === void 0 ? void 0 : buttonClose.dispatchEvent(new Event('click'));
15368
15366
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
15369
15367
  }
15370
15368
  }
@@ -15480,6 +15478,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15480
15478
  if (this.selectedItemIds.length > 0) {
15481
15479
  await this.fetchBulkReportingData();
15482
15480
  }
15481
+ buttonClose === null || buttonClose === void 0 ? void 0 : buttonClose.dispatchEvent(new Event('click'));
15483
15482
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
15484
15483
  // if(currentColumnButton != null) {
15485
15484
  // currentColumnButton.click();
@@ -15664,31 +15663,6 @@ let SfIEvents = class SfIEvents extends LitElement {
15664
15663
  const eventId = selectedId.split('-')[9].replace(/_/g, '-');
15665
15664
  mmddyyyy = selectedId.split('-')[10] + '/' + selectedId.split('-')[11] + '/' + selectedId.split('-')[12];
15666
15665
  //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
15666
  let yearStr = this.getFinancialYear(mmddyyyy);
15693
15667
  bulkBody.push({
15694
15668
  "mmddyyyy": mmddyyyy,
@@ -15712,19 +15686,10 @@ let SfIEvents = class SfIEvents extends LitElement {
15712
15686
  "module": (_f = event.module) !== null && _f !== void 0 ? _f : "compliance",
15713
15687
  "makercheckers": (parseInt(makercheckersL) > 0) ? ["makercheckers"] : null
15714
15688
  });
15715
- // }
15716
- // this.setSuccess("Updating " + (k + 1) + "/" + this.selectedItemIds.length + ", please wait...");
15717
- // await this.sleep(2000);
15718
- // this.clearMessages();
15719
15689
  }
15720
- // await this.uploadReportsBulk(bulkBody);
15721
- // await this.fetchBulkReportingData();
15722
15690
  if (bulkBody.length > 0) {
15723
15691
  await this.uploadReportsBulk(bulkBody, bulkBodyReview.length == 0);
15724
15692
  }
15725
- // if(bulkBodyReview.length > 0){
15726
- // await this.uploadReportsReviewsBulk(bulkBodyReview)
15727
- // }
15728
15693
  for (var k = 0; k < this.selectedItemIds.length; k++) {
15729
15694
  const selectedId = this.selectedItemIds[k];
15730
15695
  //console.log('selectedid', selectedId);
@@ -15775,6 +15740,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15775
15740
  if (this.selectedItemIds.length > 0) {
15776
15741
  await this.fetchBulkReportingData();
15777
15742
  }
15743
+ buttonClose.dispatchEvent(new Event('click'));
15778
15744
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
15779
15745
  // if(currentColumnButton != null) {
15780
15746
  // currentColumnButton.click();
@@ -22755,9 +22721,9 @@ let SfIEvents = class SfIEvents extends LitElement {
22755
22721
  };
22756
22722
  this.uploadReview = async (entityId, locationId, mmddyyyy, eventid, comments, approved, module = "compliance") => {
22757
22723
  let url = "https://" + this.apiId + "/uploadreview";
22758
- // if(module == "rcmresource" && this.apiId2 != null) {
22759
- // url = "https://" + this.apiId2 + "/uploadreview1";
22760
- // }
22724
+ if (module == "rcmresource" && this.apiId2 != null) {
22725
+ url = "https://" + this.apiId2 + "/uploadreview1";
22726
+ }
22761
22727
  const body = {
22762
22728
  "mmddyyyy": mmddyyyy,
22763
22729
  "projectid": this.projectId,
@@ -22853,9 +22819,9 @@ let SfIEvents = class SfIEvents extends LitElement {
22853
22819
  };
22854
22820
  this.uploadReport = async (entityId, locationId, mmddyyyy, eventid, comments, doc, docs, event, reportformatvalues = "", reportformatschema = "", module = "compliance", percentage = "100", makercheckers, reportedlocations = "") => {
22855
22821
  let url = "https://" + this.apiId + "/uploadreport";
22856
- // if(module == "rcmresource" && this.apiId2 != null) {
22857
- // url = "https://" + this.apiId2 + "/uploadreport";
22858
- // }
22822
+ if (module == "rcmresource" && this.apiId2 != null) {
22823
+ url = "https://" + this.apiId2 + "/uploadreport";
22824
+ }
22859
22825
  let yearStr = this.getFinancialYear(mmddyyyy);
22860
22826
  let body = {
22861
22827
  "mmddyyyy": mmddyyyy,
@@ -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 () => {
@@ -19436,6 +19430,7 @@ export class SfIEvents extends LitElement {
19436
19430
  await this.fetchBulkReportingData();
19437
19431
  }
19438
19432
  console.log('events', this.events);
19433
+ buttonClose?.dispatchEvent(new Event('click'))
19439
19434
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
19440
19435
  }
19441
19436
  }
@@ -19556,6 +19551,7 @@ export class SfIEvents extends LitElement {
19556
19551
  if (this.selectedItemIds.length > 0) {
19557
19552
  await this.fetchBulkReportingData();
19558
19553
  }
19554
+ buttonClose?.dispatchEvent(new Event('click'))
19559
19555
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
19560
19556
  // if(currentColumnButton != null) {
19561
19557
  // currentColumnButton.click();
@@ -19721,6 +19717,7 @@ export class SfIEvents extends LitElement {
19721
19717
  }
19722
19718
  this.recentlyReported[mmdd].push(event)
19723
19719
  console.log('recently reported', this.recentlyReported)
19720
+
19724
19721
  } else {
19725
19722
  for (var p = 0; p < this.nextEvents[this.nextTabRole][mmdd].length; p++) {
19726
19723
  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 +19764,6 @@ export class SfIEvents extends LitElement {
19767
19764
 
19768
19765
  //console.log(entityId, locationId, eventId, mmddyyyy);
19769
19766
 
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
19767
  let yearStr = this.getFinancialYear(mmddyyyy)
19797
19768
  bulkBody.push({
19798
19769
  "mmddyyyy": mmddyyyy,
@@ -19816,23 +19787,15 @@ export class SfIEvents extends LitElement {
19816
19787
  "module": event.module ?? "compliance",
19817
19788
  "makercheckers": (parseInt(makercheckersL) > 0) ? ["makercheckers"] : null
19818
19789
  })
19819
- // }
19820
-
19821
- // this.setSuccess("Updating " + (k + 1) + "/" + this.selectedItemIds.length + ", please wait...");
19822
- // await this.sleep(2000);
19823
- // this.clearMessages();
19824
19790
 
19791
+
19825
19792
  }
19826
- // await this.uploadReportsBulk(bulkBody);
19827
-
19828
- // await this.fetchBulkReportingData();
19793
+
19829
19794
  if (bulkBody.length > 0) {
19830
19795
  await this.uploadReportsBulk(bulkBody, bulkBodyReview.length == 0);
19831
19796
  }
19832
19797
 
19833
- // if(bulkBodyReview.length > 0){
19834
- // await this.uploadReportsReviewsBulk(bulkBodyReview)
19835
- // }
19798
+
19836
19799
  for (var k = 0; k < this.selectedItemIds.length; k++) {
19837
19800
 
19838
19801
  const selectedId = this.selectedItemIds[k];
@@ -19882,6 +19845,7 @@ export class SfIEvents extends LitElement {
19882
19845
  if (this.selectedItemIds.length > 0) {
19883
19846
  await this.fetchBulkReportingData();
19884
19847
  }
19848
+ buttonClose.dispatchEvent(new Event('click'))
19885
19849
  this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk)
19886
19850
  // if(currentColumnButton != null) {
19887
19851
  // currentColumnButton.click();
@@ -28643,9 +28607,9 @@ export class SfIEvents extends LitElement {
28643
28607
 
28644
28608
  uploadReview = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any, module: string = "compliance") => {
28645
28609
  let url = "https://" + this.apiId + "/uploadreview";
28646
- // if(module == "rcmresource" && this.apiId2 != null) {
28647
- // url = "https://" + this.apiId2 + "/uploadreview1";
28648
- // }
28610
+ if(module == "rcmresource" && this.apiId2 != null) {
28611
+ url = "https://" + this.apiId2 + "/uploadreview1";
28612
+ }
28649
28613
  const body = {
28650
28614
  "mmddyyyy": mmddyyyy,
28651
28615
  "projectid": this.projectId,
@@ -28745,9 +28709,9 @@ export class SfIEvents extends LitElement {
28745
28709
 
28746
28710
  uploadReport = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, doc: string, docs: any, event: any, reportformatvalues: string = "", reportformatschema: string = "", module: string = "compliance", percentage: string = "100", makercheckers: any, reportedlocations: string = "") => {
28747
28711
  let url = "https://" + this.apiId + "/uploadreport";
28748
- // if(module == "rcmresource" && this.apiId2 != null) {
28749
- // url = "https://" + this.apiId2 + "/uploadreport";
28750
- // }
28712
+ if(module == "rcmresource" && this.apiId2 != null) {
28713
+ url = "https://" + this.apiId2 + "/uploadreport";
28714
+ }
28751
28715
  let yearStr = this.getFinancialYear(mmddyyyy)
28752
28716
  let body = {
28753
28717
  "mmddyyyy": mmddyyyy,