sf-i-events 1.0.703 → 1.0.705

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
@@ -693,7 +693,7 @@
693
693
  </div>
694
694
 
695
695
  </sf-i-events> -->
696
- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" fill="pattern" username="undefined" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" enabledeletelatestreport="true" 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;}]" 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;}]" eventpreviewfields="[&quot;obligationtitle&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
696
+ <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" fill="pattern" username="Chief Compliance Officer " userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" enabledeletelatestreport="true" 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;}]" 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;}]" eventpreviewfields="[&quot;obligationtitle&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
697
697
 
698
698
  <div slot="uploader">
699
699
  <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]" extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="5242880" allowdownload="yes"></sf-i-uploader>
@@ -712,7 +712,7 @@
712
712
 
713
713
  </sf-i-events> -->
714
714
 
715
- <!-- <sf-i-events projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" mode="onboarding" locations="{&quot;India&quot;:{&quot;Maharashtra&quot;:[&quot;Pune&quot;,&quot;Mumbai&quot;],&quot;Telangana&quot;:[&quot;Telangana&quot;]},&quot;Canada&quot;:{&quot;CanadaSO&quot;:[&quot;CanadaLO&quot;]},&quot;Singapore&quot;:{&quot;SingaporeSO&quot;:[&quot;Orchard&quot;,&quot;Raffles&quot;,&quot;Robinson&quot;,&quot;Tanjong&quot;,&quot;Tras&quot;]},&quot;United Kingdom&quot;:{&quot;UnitedSO&quot;:[&quot;UnitedLO&quot;]},&quot;United States of America&quot;:{&quot;AmericaSO&quot;:[&quot;AmericaLO&quot;]}}" contractstartdate="1/4/2024" apiid="dwqyez2puoxmu.cloudfront.net/event" username="hrushi.mehendale@gmail.com" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidusers="dnytrdlrmxgsy.cloudfront.net/userprofile" disablesignoff="yes" disableclientresponse="yes">
715
+ <!-- <sf-i-events projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" mode="onboarding" locations="{&quot;India&quot;:{&quot;Maharashtra&quot;:[&quot;Pune&quot;,&quot;Mumbai&quot;],&quot;Telangana&quot;:[&quot;Telangana&quot;]},&quot;Canada&quot;:{&quot;CanadaSO&quot;:[&quot;CanadaLO&quot;]},&quot;Singapore&quot;:{&quot;SingaporeSO&quot;:[&quot;Orchard&quot;,&quot;Raffles&quot;,&quot;Robinson&quot;,&quot;Tanjong&quot;,&quot;Tras&quot;]},&quot;United Kingdom&quot;:{&quot;UnitedSO&quot;:[&quot;UnitedLO&quot;]},&quot;United States of America&quot;:{&quot;AmericaSO&quot;:[&quot;AmericaLO&quot;]}}" contractstartdate="1/4/2024" apiid="dwqyez2puoxmu.cloudfront.net/event" username="ninad.t@flagggrc.tech" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidusers="dnytrdlrmxgsy.cloudfront.net/userprofile" disablesignoff="yes" disableclientresponse="yes">
716
716
 
717
717
  </sf-i-events> -->
718
718
 
@@ -744,6 +744,7 @@
744
744
 
745
745
  </sf-i-events> -->
746
746
 
747
+ <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" fill="solid" username="Chief Compliance Officer" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="functionhead" showregisterexport="false" 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;}]" 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;}]" eventpreviewfields="[&quot;obligation&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
747
748
  <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" fill="solid" username="Chief Compliance Officer" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="functionhead" showregisterexport="false" 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;}]" 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;}]" eventpreviewfields="[&quot;obligation&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
748
749
 
749
750
  <div slot="uploader">
@@ -758,11 +759,13 @@
758
759
  <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" fill="solid" username="Chief Compliance Officer" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="functionhead" 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;}]" 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;}]" eventpreviewfields="[&quot;obligation&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
759
760
 
760
761
  <div slot="uploader">
761
- <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;]" extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710"></sf-i-uploader>
762
+ <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]" extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="5242880" allowdownload="yes"></sf-i-uploader>
763
+ </div>
764
+ <div slot="reporting">
765
+ <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
762
766
  </div>
763
767
 
764
768
  </sf-i-events>
765
- -->
766
769
  <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" fill="solid" username="Chief Compliance Officer" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="functionhead" 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;}]" 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;}]" eventpreviewfields="[&quot;obligation&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
767
770
 
768
771
  <div slot="uploader">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.703",
4
+ "version": "1.0.705",
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
@@ -131,6 +131,8 @@ let SfIEvents = class SfIEvents extends LitElement {
131
131
  font-family: Source Sans Pro;
132
132
  margin: 2px;
133
133
  padding: 20px;
134
+ border: solid 5px gray;
135
+ border-style: groove;
134
136
  background-color: #efefef;
135
137
  }
136
138
  .certificate-section {
@@ -7220,6 +7222,7 @@ let SfIEvents = class SfIEvents extends LitElement {
7220
7222
  // this.clearMessages();
7221
7223
  }
7222
7224
  await this.uploadReportsBulk(bulkBody);
7225
+ this.fetchBulkReportingData();
7223
7226
  if (bulkBodyReview.length > 0) {
7224
7227
  await this.uploadReviewsBulk(bulkBodyReview);
7225
7228
  }
@@ -7250,9 +7253,9 @@ let SfIEvents = class SfIEvents extends LitElement {
7250
7253
  }
7251
7254
  else {
7252
7255
  this.renderAppropriateStream(this.sdate, this.edate, true);
7253
- if (this.selectedItemIds.length > 0) {
7254
- this.fetchBulkReportingData();
7255
- }
7256
+ // if(this.selectedItemIds.length > 0) {
7257
+ // this.fetchBulkReportingData();
7258
+ // }
7256
7259
  // if(currentColumnButton != null) {
7257
7260
  // currentColumnButton.click();
7258
7261
  // }
@@ -7625,7 +7628,7 @@ let SfIEvents = class SfIEvents extends LitElement {
7625
7628
  var _a;
7626
7629
  //console.log('divelement', divElement);
7627
7630
  //console.log('sourcearray', sourceArray);
7628
- //console.log('taggingarray', taggingArray);
7631
+ console.log('taggingarray', taggingArray);
7629
7632
  //console.log('uniqcols', uniqCols);
7630
7633
  //console.log('subfiltervalue', subfilter);
7631
7634
  //console.log('arrFeedbackReference', arrFeedbackReference);
@@ -7715,10 +7718,14 @@ let SfIEvents = class SfIEvents extends LitElement {
7715
7718
  html += '<div class="mr-10">';
7716
7719
  html += '<div class="d-flex justify-end"><button part="calendar-tab-icon-not-selected" class="material-icons button-toggle-more">expand_more</button><button part="calendar-tab-icon-selected" class="material-icons button-toggle-more-back hide">expand_less</button></div>';
7717
7720
  // html += '<div class="d-flex justify-end"><button part="button" class="align-center button-download-backups hide" style="position: absolute; margin-top: 5px;"><span class="material-symbols-outlined mr-10">file_save</span><span>Download Backups</span></button></div>'
7718
- html += '<div style="position: absolute; margin-top: 5px;"><button part="button" class="hide d-flex align-center button-download-backups" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">file_save</span><span>Download Backups</span></button><button part="button" class="mt-10 hide d-flex align-center button-export-mapping" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">export_notes</span><span>Export Mapping</span></button></div>';
7719
- html += '</div>';
7721
+ html += '<div style="position: absolute; margin-top: 5px;">';
7722
+ html += '<button part="button" class="hide d-flex align-center button-download-backups" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">file_save</span><span>Download Backups</span></button><button part="button" class="mt-10 hide d-flex align-center button-export-mapping" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">export_notes</span><span>Export Mapping</span></button><button part="button" class="mt-10 hide d-flex align-center button-export-mapping-csv" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">data_table</span><span>Export CSV</span></button>';
7720
7723
  // console.log('jobs', jobs);
7721
- html += ((jobs == null || jobs.data == null) ? '<button part="button" class="button-apply d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">touch_app</span><span>Apply</span></button><input id="fileInput" type="file" style="display:none;" /><button part="button" class="button-local-load d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">upload_file</span><span>Load From Local</span></button><button part="button" class="button-local-save d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">save</span><span>Save Locally</span></button><button part="button" class="button-save d-flex align-center"><span class="material-symbols-outlined mr-10">save</span><span>Save On Cloud</span></button>' : ((jobs.data.status == "1" || jobs.data.status == "0") ? '<button part="button" class="button-cancel">Cancel Job</button>' : (this.disablesave == "yes" ? '' : '<button part="button" class="button-apply d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">touch_app</span><span>Apply</span></button><input id="fileInput" type="file" style="display:none;" /><button part="button" class="button-local-load d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">upload_file</span><span>Load From Local</span></button><button part="button" class="button-local-save d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">save</span><span>Save Locally</span></button><button part="button" class="button-save d-flex align-center"><span class="material-symbols-outlined mr-10">save</span><span>Save On Cloud</span></button>')));
7724
+ html += ((jobs == null || jobs.data == null) ? '<input id="fileInput" type="file" style="display:none;" /><button part="button" class="mt-10 hide button-local-load d-flex align-center mr-10" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">upload_file</span><span>Load From Local</span></button><button part="button" class="mt-10 hide button-local-save d-flex align-center mr-10" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">save</span><span>Save Locally</span></button>' : ((jobs.data.status == "1" || jobs.data.status == "0") ? '<button part="button" class="mt-10 hide button-cancel" style="margin-left: -80px">Cancel Job</button>' : (this.disablesave == "yes" ? '' : '<input id="fileInput" type="file" style="display:none;" /><button part="button" class="mt-10 hide button-local-load d-flex align-center mr-10" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">upload_file</span><span>Load From Local</span></button><button part="button" class="mt-10 hide button-local-save d-flex align-center mr-10" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">save</span><span>Save Locally</span></button>')));
7725
+ html += '</div>';
7726
+ html += '</div>';
7727
+ html += '<button part="button" class="button-apply d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">touch_app</span><span>Apply</span></button>';
7728
+ html += '<button part="button" class="button-save d-flex align-center"><span class="material-symbols-outlined mr-10">save</span><span>Save On Cloud</span></button>';
7722
7729
  html += '</div>';
7723
7730
  html += '</div>';
7724
7731
  html += '<div>';
@@ -8183,6 +8190,18 @@ let SfIEvents = class SfIEvents extends LitElement {
8183
8190
  buttonToggleMoreBack.classList.remove('hide');
8184
8191
  const buttonDownloadBackups = divElement.querySelector('.button-download-backups');
8185
8192
  buttonDownloadBackups.style.display = 'flex';
8193
+ const buttonExportMapping = divElement.querySelector('.button-export-mapping');
8194
+ buttonExportMapping.style.display = 'flex';
8195
+ const buttonExportMappingCSV = divElement.querySelector('.button-export-mapping-csv');
8196
+ buttonExportMappingCSV.style.display = 'flex';
8197
+ // const buttonApply = (divElement as HTMLDivElement).querySelector('.button-apply') as HTMLButtonElement;
8198
+ // buttonApply.style.display = 'flex';
8199
+ const buttonLoadLocal = divElement.querySelector('.button-local-load');
8200
+ buttonLoadLocal.style.display = 'flex';
8201
+ const buttonSaveLocal = divElement.querySelector('.button-local-save');
8202
+ buttonSaveLocal.style.display = 'flex';
8203
+ // const buttonSave = (divElement as HTMLDivElement).querySelector('.button-save') as HTMLButtonElement;
8204
+ // buttonSave.style.display = 'flex';
8186
8205
  const buttonDownloadBackupsNew = Util.clearListeners(buttonDownloadBackups);
8187
8206
  buttonDownloadBackupsNew.addEventListener('click', async () => {
8188
8207
  const result = await this.fetchGetStoredMapping(colName);
@@ -8202,9 +8221,6 @@ let SfIEvents = class SfIEvents extends LitElement {
8202
8221
  }, 3000);
8203
8222
  }
8204
8223
  });
8205
- const buttonExportMapping = divElement.querySelector('.button-export-mapping');
8206
- buttonExportMapping.style.display = 'flex';
8207
- //console.log('buttonExportMapping', buttonExportMapping);
8208
8224
  const buttonExportMappingNew = Util.clearListeners(buttonExportMapping);
8209
8225
  buttonExportMappingNew.addEventListener('click', async () => {
8210
8226
  let valueStr = [];
@@ -8245,18 +8261,50 @@ let SfIEvents = class SfIEvents extends LitElement {
8245
8261
  a.setAttribute('download', 'mapping_' + colName + '_' + new Date().getTime() + '.html');
8246
8262
  a.click();
8247
8263
  });
8264
+ const buttonExportMappingCSVNew = Util.clearListeners(buttonExportMappingCSV);
8265
+ buttonExportMappingCSVNew === null || buttonExportMappingCSVNew === void 0 ? void 0 : buttonExportMappingCSVNew.addEventListener('click', async () => {
8266
+ let csvData = Util.convertToCSV(taggingArray.data.mappings.mappings);
8267
+ console.log('csvData', csvData);
8268
+ });
8269
+ const buttonLoadLocalNew = Util.clearListeners(buttonLoadLocal);
8270
+ buttonLoadLocalNew === null || buttonLoadLocalNew === void 0 ? void 0 : buttonLoadLocalNew.addEventListener('click', async () => {
8271
+ console.log('load-local');
8272
+ divElement.querySelector('#fileInput').click();
8273
+ });
8274
+ const buttonSaveLocalNew = Util.clearListeners(buttonSaveLocal);
8275
+ buttonSaveLocalNew === null || buttonSaveLocalNew === void 0 ? void 0 : buttonSaveLocalNew.addEventListener('click', async () => {
8276
+ console.log('save-local');
8277
+ const blob = new Blob([JSON.stringify(taggingArray)], { type: 'text/plain' });
8278
+ const url = window.URL.createObjectURL(blob);
8279
+ const a = document.createElement('a');
8280
+ a.setAttribute('href', url);
8281
+ a.setAttribute('download', 'mapping_' + colName + '_' + new Date().toLocaleString() + '.txt');
8282
+ a.click();
8283
+ });
8248
8284
  });
8249
8285
  buttonToggleMoreBack.addEventListener('click', async (ev) => {
8250
8286
  ev.target.classList.add('hide');
8251
8287
  buttonToggleMore.classList.remove('hide');
8252
8288
  const buttonDownloadBackups = divElement.querySelector('.button-download-backups');
8253
8289
  buttonDownloadBackups.style.display = 'none';
8290
+ const buttonExportMapping = divElement.querySelector('.button-export-mapping');
8291
+ buttonExportMapping.style.display = 'none';
8292
+ const buttonExportMappingCSV = divElement.querySelector('.button-export-mapping-csv');
8293
+ buttonExportMappingCSV.style.display = 'none';
8294
+ // const buttonApply = (divElement as HTMLDivElement).querySelector('.button-apply') as HTMLButtonElement;
8295
+ // buttonApply.style.display = 'none';
8296
+ const buttonLoadLocal = divElement.querySelector('.button-local-load');
8297
+ buttonLoadLocal.style.display = 'none';
8298
+ const buttonSaveLocal = divElement.querySelector('.button-local-save');
8299
+ buttonSaveLocal.style.display = 'none';
8300
+ // const buttonSave = (divElement as HTMLDivElement).querySelector('.button-save') as HTMLButtonElement;
8301
+ // buttonSave.style.display = 'none';
8254
8302
  });
8255
- const buttonLoadLocal = divElement.querySelector('.button-local-load');
8256
- buttonLoadLocal === null || buttonLoadLocal === void 0 ? void 0 : buttonLoadLocal.addEventListener('click', async () => {
8257
- console.log('load-local');
8258
- divElement.querySelector('#fileInput').click();
8259
- });
8303
+ // const buttonLoadLocal = (divElement as HTMLDivElement).querySelector('.button-local-load') as HTMLButtonElement;
8304
+ // buttonLoadLocal?.addEventListener('click', async () => {
8305
+ // console.log('load-local');
8306
+ // ((divElement as HTMLDivElement).querySelector('#fileInput') as HTMLInputElement).click();
8307
+ // });
8260
8308
  const fileInput = divElement.querySelector('#fileInput');
8261
8309
  fileInput.addEventListener('change', (e) => {
8262
8310
  var fr = new FileReader();
@@ -8267,16 +8315,16 @@ let SfIEvents = class SfIEvents extends LitElement {
8267
8315
  fr.readAsText(e.target.files[0]);
8268
8316
  }
8269
8317
  });
8270
- const buttonSaveLocal = divElement.querySelector('.button-local-save');
8271
- buttonSaveLocal === null || buttonSaveLocal === void 0 ? void 0 : buttonSaveLocal.addEventListener('click', async () => {
8272
- console.log('save-local');
8273
- const blob = new Blob([JSON.stringify(taggingArray)], { type: 'text/plain' });
8274
- const url = window.URL.createObjectURL(blob);
8275
- const a = document.createElement('a');
8276
- a.setAttribute('href', url);
8277
- a.setAttribute('download', 'mapping_' + colName + '_' + new Date().toLocaleString() + '.txt');
8278
- a.click();
8279
- });
8318
+ // const buttonSaveLocal = (divElement as HTMLDivElement).querySelector('.button-local-save') as HTMLButtonElement;
8319
+ // buttonSaveLocal?.addEventListener('click', async () => {
8320
+ // console.log('save-local');
8321
+ // const blob = new Blob([JSON.stringify(taggingArray)], { type: 'text/plain' });
8322
+ // const url = window.URL.createObjectURL(blob)
8323
+ // const a = document.createElement('a')
8324
+ // a.setAttribute('href', url)
8325
+ // a.setAttribute('download', 'mapping_'+colName+'_'+new Date().toLocaleString()+'.txt');
8326
+ // a.click()
8327
+ // });
8280
8328
  const buttonSave = divElement.querySelector('.button-save');
8281
8329
  buttonSave === null || buttonSave === void 0 ? void 0 : buttonSave.addEventListener('click', async () => {
8282
8330
  await this.saveTagging(taggingArray.data.mappings, uploadFunction, refreshFunction, false);
@@ -13163,7 +13211,7 @@ let SfIEvents = class SfIEvents extends LitElement {
13163
13211
  }
13164
13212
  };
13165
13213
  this.uploadAudit = async (entityId, locationId, mmddyyyy, eventid, comments, approved) => {
13166
- let url = "https://" + this.apiId + "/uploadaudit";
13214
+ let url = "https://" + this.apiId + "/uploadaudit1";
13167
13215
  const body = {
13168
13216
  "mmddyyyy": mmddyyyy,
13169
13217
  "projectid": this.projectId,
@@ -13199,7 +13247,7 @@ let SfIEvents = class SfIEvents extends LitElement {
13199
13247
  }
13200
13248
  };
13201
13249
  this.uploadAuditsBulk = async (bulkBody) => {
13202
- let url = "https://" + this.apiId + "/uploadauditsbulk";
13250
+ let url = "https://" + this.apiId + "/uploadauditsbulk1";
13203
13251
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
13204
13252
  const xhr = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization));
13205
13253
  this._SfLoader.innerHTML = '';
@@ -13215,7 +13263,7 @@ let SfIEvents = class SfIEvents extends LitElement {
13215
13263
  }
13216
13264
  };
13217
13265
  this.uploadReview = async (entityId, locationId, mmddyyyy, eventid, comments, approved) => {
13218
- let url = "https://" + this.apiId + "/uploadreview";
13266
+ let url = "https://" + this.apiId + "/uploadreview1";
13219
13267
  const body = {
13220
13268
  "mmddyyyy": mmddyyyy,
13221
13269
  "projectid": this.projectId,
@@ -13253,7 +13301,7 @@ let SfIEvents = class SfIEvents extends LitElement {
13253
13301
  ``;
13254
13302
  };
13255
13303
  this.uploadReviewsBulk = async (bulkBody) => {
13256
- let url = "https://" + this.apiId + "/uploadreviewsbulk";
13304
+ let url = "https://" + this.apiId + "/uploadreviewsbulk1";
13257
13305
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
13258
13306
  const xhr = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization));
13259
13307
  this._SfLoader.innerHTML = '';
@@ -134,6 +134,8 @@ export class SfIEvents extends LitElement {
134
134
  font-family: Source Sans Pro;
135
135
  margin: 2px;
136
136
  padding: 20px;
137
+ border: solid 5px gray;
138
+ border-style: groove;
137
139
  background-color: #efefef;
138
140
  }
139
141
  .certificate-section {
@@ -10640,6 +10642,7 @@ export class SfIEvents extends LitElement {
10640
10642
  }
10641
10643
 
10642
10644
  await this.uploadReportsBulk(bulkBody);
10645
+ this.fetchBulkReportingData();
10643
10646
  if(bulkBodyReview.length > 0){
10644
10647
  await this.uploadReviewsBulk(bulkBodyReview)
10645
10648
  }
@@ -10671,9 +10674,9 @@ export class SfIEvents extends LitElement {
10671
10674
  this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
10672
10675
  } else {
10673
10676
  this.renderAppropriateStream(this.sdate,this.edate,true)
10674
- if(this.selectedItemIds.length > 0) {
10675
- this.fetchBulkReportingData();
10676
- }
10677
+ // if(this.selectedItemIds.length > 0) {
10678
+ // this.fetchBulkReportingData();
10679
+ // }
10677
10680
  // if(currentColumnButton != null) {
10678
10681
  // currentColumnButton.click();
10679
10682
  // }
@@ -11168,7 +11171,7 @@ export class SfIEvents extends LitElement {
11168
11171
 
11169
11172
  //console.log('divelement', divElement);
11170
11173
  //console.log('sourcearray', sourceArray);
11171
- //console.log('taggingarray', taggingArray);
11174
+ console.log('taggingarray', taggingArray);
11172
11175
  //console.log('uniqcols', uniqCols);
11173
11176
  //console.log('subfiltervalue', subfilter);
11174
11177
  //console.log('arrFeedbackReference', arrFeedbackReference);
@@ -11300,10 +11303,15 @@ export class SfIEvents extends LitElement {
11300
11303
  html += '<div class="mr-10">';
11301
11304
  html += '<div class="d-flex justify-end"><button part="calendar-tab-icon-not-selected" class="material-icons button-toggle-more">expand_more</button><button part="calendar-tab-icon-selected" class="material-icons button-toggle-more-back hide">expand_less</button></div>'
11302
11305
  // html += '<div class="d-flex justify-end"><button part="button" class="align-center button-download-backups hide" style="position: absolute; margin-top: 5px;"><span class="material-symbols-outlined mr-10">file_save</span><span>Download Backups</span></button></div>'
11303
- html += '<div style="position: absolute; margin-top: 5px;"><button part="button" class="hide d-flex align-center button-download-backups" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">file_save</span><span>Download Backups</span></button><button part="button" class="mt-10 hide d-flex align-center button-export-mapping" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">export_notes</span><span>Export Mapping</span></button></div>'
11304
- html += '</div>';
11306
+ html += '<div style="position: absolute; margin-top: 5px;">'
11307
+ html += '<button part="button" class="hide d-flex align-center button-download-backups" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">file_save</span><span>Download Backups</span></button><button part="button" class="mt-10 hide d-flex align-center button-export-mapping" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">export_notes</span><span>Export Mapping</span></button><button part="button" class="mt-10 hide d-flex align-center button-export-mapping-csv" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">data_table</span><span>Export CSV</span></button>'
11308
+
11305
11309
  // console.log('jobs', jobs);
11306
- html += ((jobs == null || jobs.data == null) ? '<button part="button" class="button-apply d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">touch_app</span><span>Apply</span></button><input id="fileInput" type="file" style="display:none;" /><button part="button" class="button-local-load d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">upload_file</span><span>Load From Local</span></button><button part="button" class="button-local-save d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">save</span><span>Save Locally</span></button><button part="button" class="button-save d-flex align-center"><span class="material-symbols-outlined mr-10">save</span><span>Save On Cloud</span></button>' : ((jobs.data.status == "1" || jobs.data.status == "0" ) ? '<button part="button" class="button-cancel">Cancel Job</button>' : (this.disablesave == "yes" ? '' : '<button part="button" class="button-apply d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">touch_app</span><span>Apply</span></button><input id="fileInput" type="file" style="display:none;" /><button part="button" class="button-local-load d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">upload_file</span><span>Load From Local</span></button><button part="button" class="button-local-save d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">save</span><span>Save Locally</span></button><button part="button" class="button-save d-flex align-center"><span class="material-symbols-outlined mr-10">save</span><span>Save On Cloud</span></button>')));
11310
+ html += ((jobs == null || jobs.data == null) ? '<input id="fileInput" type="file" style="display:none;" /><button part="button" class="mt-10 hide button-local-load d-flex align-center mr-10" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">upload_file</span><span>Load From Local</span></button><button part="button" class="mt-10 hide button-local-save d-flex align-center mr-10" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">save</span><span>Save Locally</span></button>' : ((jobs.data.status == "1" || jobs.data.status == "0" ) ? '<button part="button" class="mt-10 hide button-cancel" style="margin-left: -80px">Cancel Job</button>' : (this.disablesave == "yes" ? '' : '<input id="fileInput" type="file" style="display:none;" /><button part="button" class="mt-10 hide button-local-load d-flex align-center mr-10" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">upload_file</span><span>Load From Local</span></button><button part="button" class="mt-10 hide button-local-save d-flex align-center mr-10" style="margin-left: -80px"><span class="material-symbols-outlined mr-10">save</span><span>Save Locally</span></button>')));
11311
+ html += '</div>';
11312
+ html += '</div>';
11313
+ html += '<button part="button" class="button-apply d-flex align-center mr-10"><span class="material-symbols-outlined mr-10">touch_app</span><span>Apply</span></button>'
11314
+ html += '<button part="button" class="button-save d-flex align-center"><span class="material-symbols-outlined mr-10">save</span><span>Save On Cloud</span></button>'
11307
11315
  html += '</div>';
11308
11316
 
11309
11317
  html += '</div>';
@@ -11987,6 +11995,18 @@ export class SfIEvents extends LitElement {
11987
11995
  buttonToggleMoreBack.classList.remove('hide');
11988
11996
  const buttonDownloadBackups = (divElement as HTMLDivElement).querySelector('.button-download-backups') as HTMLButtonElement;
11989
11997
  buttonDownloadBackups.style.display = 'flex';
11998
+ const buttonExportMapping = (divElement as HTMLDivElement).querySelector('.button-export-mapping') as HTMLButtonElement;
11999
+ buttonExportMapping.style.display = 'flex';
12000
+ const buttonExportMappingCSV = (divElement as HTMLDivElement).querySelector('.button-export-mapping-csv') as HTMLButtonElement;
12001
+ buttonExportMappingCSV.style.display = 'flex';
12002
+ // const buttonApply = (divElement as HTMLDivElement).querySelector('.button-apply') as HTMLButtonElement;
12003
+ // buttonApply.style.display = 'flex';
12004
+ const buttonLoadLocal = (divElement as HTMLDivElement).querySelector('.button-local-load') as HTMLButtonElement;
12005
+ buttonLoadLocal.style.display = 'flex';
12006
+ const buttonSaveLocal = (divElement as HTMLDivElement).querySelector('.button-local-save') as HTMLButtonElement;
12007
+ buttonSaveLocal.style.display = 'flex';
12008
+ // const buttonSave = (divElement as HTMLDivElement).querySelector('.button-save') as HTMLButtonElement;
12009
+ // buttonSave.style.display = 'flex';
11990
12010
 
11991
12011
  const buttonDownloadBackupsNew = Util.clearListeners(buttonDownloadBackups);
11992
12012
  buttonDownloadBackupsNew.addEventListener('click', async () => {
@@ -12017,11 +12037,6 @@ export class SfIEvents extends LitElement {
12017
12037
 
12018
12038
  });
12019
12039
 
12020
- const buttonExportMapping = (divElement as HTMLDivElement).querySelector('.button-export-mapping') as HTMLButtonElement;
12021
- buttonExportMapping.style.display = 'flex';
12022
-
12023
- //console.log('buttonExportMapping', buttonExportMapping);
12024
-
12025
12040
  const buttonExportMappingNew = Util.clearListeners(buttonExportMapping);
12026
12041
  buttonExportMappingNew.addEventListener('click', async () => {
12027
12042
 
@@ -12079,6 +12094,29 @@ export class SfIEvents extends LitElement {
12079
12094
  a.click()
12080
12095
 
12081
12096
  });
12097
+
12098
+ const buttonExportMappingCSVNew = Util.clearListeners(buttonExportMappingCSV);
12099
+ buttonExportMappingCSVNew?.addEventListener('click', async () => {
12100
+ let csvData = Util.convertToCSV(taggingArray.data.mappings.mappings);
12101
+ console.log('csvData', csvData);
12102
+ })
12103
+
12104
+ const buttonLoadLocalNew = Util.clearListeners(buttonLoadLocal);
12105
+ buttonLoadLocalNew?.addEventListener('click', async () => {
12106
+ console.log('load-local');
12107
+ ((divElement as HTMLDivElement).querySelector('#fileInput') as HTMLInputElement).click();
12108
+ });
12109
+
12110
+ const buttonSaveLocalNew = Util.clearListeners(buttonSaveLocal);
12111
+ buttonSaveLocalNew?.addEventListener('click', async () => {
12112
+ console.log('save-local');
12113
+ const blob = new Blob([JSON.stringify(taggingArray)], { type: 'text/plain' });
12114
+ const url = window.URL.createObjectURL(blob)
12115
+ const a = document.createElement('a')
12116
+ a.setAttribute('href', url)
12117
+ a.setAttribute('download', 'mapping_'+colName+'_'+new Date().toLocaleString()+'.txt');
12118
+ a.click()
12119
+ });
12082
12120
 
12083
12121
  });
12084
12122
 
@@ -12088,14 +12126,26 @@ export class SfIEvents extends LitElement {
12088
12126
  buttonToggleMore.classList.remove('hide');
12089
12127
  const buttonDownloadBackups = (divElement as HTMLDivElement).querySelector('.button-download-backups') as HTMLButtonElement;
12090
12128
  buttonDownloadBackups.style.display = 'none';
12129
+ const buttonExportMapping = (divElement as HTMLDivElement).querySelector('.button-export-mapping') as HTMLButtonElement;
12130
+ buttonExportMapping.style.display = 'none';
12131
+ const buttonExportMappingCSV = (divElement as HTMLDivElement).querySelector('.button-export-mapping-csv') as HTMLButtonElement;
12132
+ buttonExportMappingCSV.style.display = 'none';
12133
+ // const buttonApply = (divElement as HTMLDivElement).querySelector('.button-apply') as HTMLButtonElement;
12134
+ // buttonApply.style.display = 'none';
12135
+ const buttonLoadLocal = (divElement as HTMLDivElement).querySelector('.button-local-load') as HTMLButtonElement;
12136
+ buttonLoadLocal.style.display = 'none';
12137
+ const buttonSaveLocal = (divElement as HTMLDivElement).querySelector('.button-local-save') as HTMLButtonElement;
12138
+ buttonSaveLocal.style.display = 'none';
12139
+ // const buttonSave = (divElement as HTMLDivElement).querySelector('.button-save') as HTMLButtonElement;
12140
+ // buttonSave.style.display = 'none';
12091
12141
 
12092
12142
  });
12093
12143
 
12094
- const buttonLoadLocal = (divElement as HTMLDivElement).querySelector('.button-local-load') as HTMLButtonElement;
12095
- buttonLoadLocal?.addEventListener('click', async () => {
12096
- console.log('load-local');
12097
- ((divElement as HTMLDivElement).querySelector('#fileInput') as HTMLInputElement).click();
12098
- });
12144
+ // const buttonLoadLocal = (divElement as HTMLDivElement).querySelector('.button-local-load') as HTMLButtonElement;
12145
+ // buttonLoadLocal?.addEventListener('click', async () => {
12146
+ // console.log('load-local');
12147
+ // ((divElement as HTMLDivElement).querySelector('#fileInput') as HTMLInputElement).click();
12148
+ // });
12099
12149
 
12100
12150
  const fileInput = (divElement as HTMLDivElement).querySelector('#fileInput') as HTMLButtonElement;
12101
12151
  fileInput.addEventListener('change', (e: any) => {
@@ -12110,16 +12160,16 @@ export class SfIEvents extends LitElement {
12110
12160
  })
12111
12161
 
12112
12162
 
12113
- const buttonSaveLocal = (divElement as HTMLDivElement).querySelector('.button-local-save') as HTMLButtonElement;
12114
- buttonSaveLocal?.addEventListener('click', async () => {
12115
- console.log('save-local');
12116
- const blob = new Blob([JSON.stringify(taggingArray)], { type: 'text/plain' });
12117
- const url = window.URL.createObjectURL(blob)
12118
- const a = document.createElement('a')
12119
- a.setAttribute('href', url)
12120
- a.setAttribute('download', 'mapping_'+colName+'_'+new Date().toLocaleString()+'.txt');
12121
- a.click()
12122
- });
12163
+ // const buttonSaveLocal = (divElement as HTMLDivElement).querySelector('.button-local-save') as HTMLButtonElement;
12164
+ // buttonSaveLocal?.addEventListener('click', async () => {
12165
+ // console.log('save-local');
12166
+ // const blob = new Blob([JSON.stringify(taggingArray)], { type: 'text/plain' });
12167
+ // const url = window.URL.createObjectURL(blob)
12168
+ // const a = document.createElement('a')
12169
+ // a.setAttribute('href', url)
12170
+ // a.setAttribute('download', 'mapping_'+colName+'_'+new Date().toLocaleString()+'.txt');
12171
+ // a.click()
12172
+ // });
12123
12173
 
12124
12174
  const buttonSave = (divElement as HTMLDivElement).querySelector('.button-save') as HTMLButtonElement;
12125
12175
  buttonSave?.addEventListener('click', async () => {
@@ -18317,7 +18367,7 @@ export class SfIEvents extends LitElement {
18317
18367
  }
18318
18368
 
18319
18369
  uploadAudit = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any) => {
18320
- let url = "https://"+this.apiId+"/uploadaudit";
18370
+ let url = "https://"+this.apiId+"/uploadaudit1";
18321
18371
 
18322
18372
  const body = {
18323
18373
  "mmddyyyy": mmddyyyy,
@@ -18355,7 +18405,7 @@ export class SfIEvents extends LitElement {
18355
18405
  }
18356
18406
  }
18357
18407
  uploadAuditsBulk = async (bulkBody: any) => {
18358
- let url = "https://"+this.apiId+"/uploadauditsbulk";
18408
+ let url = "https://"+this.apiId+"/uploadauditsbulk1";
18359
18409
 
18360
18410
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
18361
18411
  const xhr : any = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization)) as any;
@@ -18374,7 +18424,7 @@ export class SfIEvents extends LitElement {
18374
18424
  }
18375
18425
 
18376
18426
  uploadReview = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any) => {
18377
- let url = "https://"+this.apiId+"/uploadreview";
18427
+ let url = "https://"+this.apiId+"/uploadreview1";
18378
18428
 
18379
18429
  const body = {
18380
18430
  "mmddyyyy": mmddyyyy,
@@ -18414,7 +18464,7 @@ export class SfIEvents extends LitElement {
18414
18464
  }``
18415
18465
  }
18416
18466
  uploadReviewsBulk = async (bulkBody: any) => {
18417
- let url = "https://"+this.apiId+"/uploadreviewsbulk";
18467
+ let url = "https://"+this.apiId+"/uploadreviewsbulk1";
18418
18468
 
18419
18469
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
18420
18470
  const xhr : any = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization)) as any;
package/src/util.ts CHANGED
@@ -380,8 +380,17 @@ function jsonObjectToHtml(json: any) {
380
380
 
381
381
  }
382
382
 
383
+ function convertToCSV(arr:any[]) {
384
+ const array = [Object.keys(arr[0])].concat(arr)
385
+
386
+ return array.map(it => {
387
+ console.log('csv it', it);
388
+ return Object.values(it).toString()
389
+ }).join('\n')
390
+ }
391
+
383
392
  const exportFunctions = {
384
- callApiPresignedDelete, callApiPresignedGet, callApiPresigned, jsonObjectToHtml, clearListeners, isInteger, callApi, validateName, readCookie, timeSince, createDiagonalPattern1, createDiagonalPattern2, createDiagonalPattern3, getRandomColor
393
+ callApiPresignedDelete, callApiPresignedGet, callApiPresigned, jsonObjectToHtml, clearListeners, isInteger, callApi, validateName, readCookie, timeSince, createDiagonalPattern1, createDiagonalPattern2, createDiagonalPattern3, getRandomColor, convertToCSV
385
394
  };
386
395
 
387
396
  export default exportFunctions;
package/util.d.ts CHANGED
@@ -10,6 +10,7 @@ declare function getRandomColor(): string;
10
10
  declare function isInteger(value: string): boolean;
11
11
  declare function clearListeners(old_element: HTMLElement): Node;
12
12
  declare function jsonObjectToHtml(json: any): string;
13
+ declare function convertToCSV(arr: any[]): string;
13
14
  declare const exportFunctions: {
14
15
  callApiPresignedDelete: typeof callApiPresignedDelete;
15
16
  callApiPresignedGet: typeof callApiPresignedGet;
@@ -25,6 +26,7 @@ declare const exportFunctions: {
25
26
  createDiagonalPattern2: typeof createDiagonalPattern2;
26
27
  createDiagonalPattern3: typeof createDiagonalPattern3;
27
28
  getRandomColor: typeof getRandomColor;
29
+ convertToCSV: typeof convertToCSV;
28
30
  };
29
31
  export default exportFunctions;
30
32
  //# sourceMappingURL=util.d.ts.map
package/util.js CHANGED
@@ -314,8 +314,15 @@ function jsonObjectToHtml(json) {
314
314
  }
315
315
  return html;
316
316
  }
317
+ function convertToCSV(arr) {
318
+ const array = [Object.keys(arr[0])].concat(arr);
319
+ return array.map(it => {
320
+ console.log('csv it', it);
321
+ return Object.values(it).toString();
322
+ }).join('\n');
323
+ }
317
324
  const exportFunctions = {
318
- callApiPresignedDelete, callApiPresignedGet, callApiPresigned, jsonObjectToHtml, clearListeners, isInteger, callApi, validateName, readCookie, timeSince, createDiagonalPattern1, createDiagonalPattern2, createDiagonalPattern3, getRandomColor
325
+ callApiPresignedDelete, callApiPresignedGet, callApiPresigned, jsonObjectToHtml, clearListeners, isInteger, callApi, validateName, readCookie, timeSince, createDiagonalPattern1, createDiagonalPattern2, createDiagonalPattern3, getRandomColor, convertToCSV
319
326
  };
320
327
  export default exportFunctions;
321
328
  //# sourceMappingURL=util.js.map