sf-i-events 1.0.834 → 1.0.836

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
@@ -22,7 +22,7 @@
22
22
  import {SfISubSelect} from 'https://esm.run/sf-i-sub-select@1.0.83/sf-i-sub-select.js';
23
23
  import {SfIForm} from 'https://esm.run/sf-i-form@1.0.184/sf-i-form.js';
24
24
  import {SfIElasticText} from 'https://esm.run/sf-i-elastic-text@1.0.17/sf-i-elastic-text.js';
25
- import {SfIUploader} from 'https://esm.run/sf-i-uploader@1.0.110/sf-i-uploader.js';
25
+ import {SfIUploader} from 'https://esm.run/sf-i-uploader@1.0.114/sf-i-uploader.js';
26
26
  import {SfIMultitextarea} from 'https://esm.run/sf-i-multitextarea@1.0.23/sf-i-multitextarea.js';
27
27
  import {SfIReporting} from 'https://esm.run/sf-i-reporting@1.0.73/sf-i-reporting.js';
28
28
  import {SfIBricks} from 'https://esm.run/sf-i-bricks@1.0.8/sf-i-bricks.js';
@@ -38,7 +38,7 @@
38
38
  // import {SfIForm} from 'https://unpkg.com/sf-i-form@1.0.184/sf-i-form.js?module';
39
39
  // import {SfIEvents} from 'https://unpkg.com/sf-i-events@1.0.423/sf-i-events.js?module';
40
40
  // import {SfIElasticText} from 'https://unpkg.com/sf-i-elastic-text@1.0.7/sf-i-elastic-text.js?module';
41
- // import {SfIUploader} from 'https://unpkg.com/sf-i-uploader@1.0.110/sf-i-uploader.js?module';
41
+ // import {SfIUploader} from 'https://unpkg.com/sf-i-uploader@1.0.114/sf-i-uploader.js?module';
42
42
  // import {SfRandomText} from 'https://unpkg.com/sf-random-text@1.0.2/sf-random-text.js?module';
43
43
  // import {SfNewFeature} from 'https://unpkg.com/sf-new-feature@1.0.1/sf-new-feature.js?module';
44
44
 
@@ -694,6 +694,16 @@
694
694
  </div>
695
695
 
696
696
  </sf-i-events> -->
697
+ <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" apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" fill="solid" username="Precisionmed Functionhead" userprofileid="8b73b571-f993-49cf-96e1-bf84f628f26f" projectid="63d20443-b9cc-4a86-b39d-bf81c1c93ba5" projectname="PrecisionMed ABC" countryid="f443b70d-6609-42e0-b6a4-446bfa05d20a" myrole="viewer" showregisterexport="false" features="[]" 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">
698
+
699
+ <div slot="uploader">
700
+ <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="63d20443-b9cc-4a86-b39d-bf81c1c93ba5" maxsize="5242880" allowdownload="yes"></sf-i-uploader>
701
+ </div>
702
+ <div slot="reporting">
703
+ <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
704
+ </div>
705
+
706
+ </sf-i-events>
697
707
  <!-- <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" apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" fill="solid" username="Auditor J1" userprofileid="bda0d59b-058b-4098-b0fc-54aa54aa5998" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="auditor" showregisterexport="false" features="[&quot;notices&quot;]" 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">
698
708
 
699
709
  <div slot="uploader">
@@ -769,7 +779,7 @@
769
779
  </div>
770
780
 
771
781
  </sf-i-events> -->
772
- <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" apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" fill="solid" username="Local Reporter 1" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="reporter" showregisterexport="false" features="[&quot;notices&quot;]" 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">
782
+ <!-- <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" apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" fill="solid" username="Local Reporter 1" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="reporter" showregisterexport="false" features="[&quot;notices&quot;]" 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">
773
783
 
774
784
  <div slot="uploader">
775
785
  <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>
@@ -778,7 +788,7 @@
778
788
  <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
779
789
  </div>
780
790
 
781
- </sf-i-events>
791
+ </sf-i-events> -->
782
792
  <!-- <sf-i-events projectid="5a05b884-d7ed-4f63-b623-4d305ea2cfd6" projectname="Standard Radiators Private Limited" mode="onboarding" locations="{&quot;India&quot;:{&quot;Punjab&quot;:[&quot;Punjab Warehouse&quot;],&quot;Gujarat&quot;:[&quot;RO &amp; Unit I&quot;,&quot;Unit II&quot;]}}" contractstartdate="01/03/2025" 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">
783
793
 
784
794
  </sf-i-events> -->
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.834",
4
+ "version": "1.0.836",
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
@@ -3873,6 +3873,9 @@ let SfIEvents = class SfIEvents extends LitElement {
3873
3873
  if (event.documentType != null) {
3874
3874
  this._SfUploader[0].querySelector('#uploader').docType = event.documentType;
3875
3875
  }
3876
+ else {
3877
+ this._SfUploader[0].querySelector('#uploader').docType = "";
3878
+ }
3876
3879
  this._SfUploader[0].querySelector('#uploader').prepopulatedInputArr = JSON.stringify([]);
3877
3880
  console.log('uploader', this._SfUploader[0].querySelector('#uploader'));
3878
3881
  this._SfUploader[0].querySelector('#uploader').loadMode();
@@ -9655,7 +9658,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9655
9658
  };
9656
9659
  this.fetchEventDetails = async (listEvent, mmddyyyy, currentColumnButton, eventsContainer, flagUploadGuidance = false, listEventContainer = null) => {
9657
9660
  console.log('listEvent', listEvent, listEvent.id);
9658
- let url = "https://" + this.apiId + "/getalleventdetails";
9661
+ let url = "https://" + this.apiId + "/getalleventdetails1";
9659
9662
  //console.log('fetch calendar url', url);
9660
9663
  let urlBody = { "projectid": this.projectId, "userprofileid": this.userProfileId, "role": this.myRole, "eventid": listEvent.id, "entityid": listEvent.entityid, "locationid": listEvent.locationid, "mmddyyyy": mmddyyyy, "year": this.calendarStartYYYY };
9661
9664
  //console.log('urlbody', urlBody);
@@ -10718,6 +10721,9 @@ let SfIEvents = class SfIEvents extends LitElement {
10718
10721
  if (documentType != null) {
10719
10722
  this._SfUploader[0].querySelector('#uploader').docType = documentType;
10720
10723
  }
10724
+ else {
10725
+ this._SfUploader[0].querySelector('#uploader').docType = "";
10726
+ }
10721
10727
  this._SfUploader[0].querySelector('#uploader').prepopulatedInputArr = JSON.stringify([]);
10722
10728
  console.log('uploader', this._SfUploader[0].querySelector('#uploader'));
10723
10729
  this._SfUploader[0].querySelector('#uploader').loadMode();
@@ -16996,7 +17002,7 @@ let SfIEvents = class SfIEvents extends LitElement {
16996
17002
  }
16997
17003
  };
16998
17004
  this.uploadAudit = async (entityId, locationId, mmddyyyy, eventid, comments, approved, module = "events") => {
16999
- let url = "https://" + this.apiId + "/uploadaudit";
17005
+ let url = "https://" + this.apiId + "/uploadaudit1";
17000
17006
  const body = {
17001
17007
  "mmddyyyy": mmddyyyy,
17002
17008
  "projectid": this.projectId,
@@ -17041,7 +17047,7 @@ let SfIEvents = class SfIEvents extends LitElement {
17041
17047
  return retValue;
17042
17048
  };
17043
17049
  this.uploadAuditsBulk = async (bulkBody) => {
17044
- let url = "https://" + this.apiId + "/uploadauditsbulk";
17050
+ let url = "https://" + this.apiId + "/uploadauditsbulk1";
17045
17051
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
17046
17052
  const xhr = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization));
17047
17053
  this._SfLoader.innerHTML = '';
@@ -17061,7 +17067,7 @@ let SfIEvents = class SfIEvents extends LitElement {
17061
17067
  }
17062
17068
  };
17063
17069
  this.uploadReview = async (entityId, locationId, mmddyyyy, eventid, comments, approved, module = "events") => {
17064
- let url = "https://" + this.apiId + "/uploadreview";
17070
+ let url = "https://" + this.apiId + "/uploadreview1";
17065
17071
  const body = {
17066
17072
  "mmddyyyy": mmddyyyy,
17067
17073
  "projectid": this.projectId,
@@ -17133,7 +17139,7 @@ let SfIEvents = class SfIEvents extends LitElement {
17133
17139
  }
17134
17140
  };
17135
17141
  this.uploadReviewsBulk = async (bulkBody) => {
17136
- let url = "https://" + this.apiId + "/uploadreviewsbulk";
17142
+ let url = "https://" + this.apiId + "/uploadreviewsbulk1";
17137
17143
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
17138
17144
  const xhr = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization));
17139
17145
  this._SfLoader.innerHTML = '';
@@ -17156,7 +17162,7 @@ let SfIEvents = class SfIEvents extends LitElement {
17156
17162
  }
17157
17163
  };
17158
17164
  this.uploadReport = async (entityId, locationId, mmddyyyy, eventid, comments, doc, docs, event, reportformatvalues = "", reportformatschema = "", module = "events", percentage = "100", makercheckers) => {
17159
- let url = "https://" + this.apiId + "/uploadreport2";
17165
+ let url = "https://" + this.apiId + "/uploadreport3";
17160
17166
  let body = {
17161
17167
  "mmddyyyy": mmddyyyy,
17162
17168
  "projectid": this.projectId,
@@ -17214,7 +17220,7 @@ let SfIEvents = class SfIEvents extends LitElement {
17214
17220
  return retValue;
17215
17221
  };
17216
17222
  this.uploadReportsBulk = async (bulkBody, showSuccess = true) => {
17217
- let url = "https://" + this.apiId + "/uploadreportsbulk2";
17223
+ let url = "https://" + this.apiId + "/uploadreportsbulk3";
17218
17224
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
17219
17225
  const xhr = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization));
17220
17226
  if (showSuccess) {
@@ -17516,7 +17522,7 @@ let SfIEvents = class SfIEvents extends LitElement {
17516
17522
  }
17517
17523
  };
17518
17524
  this.fetchDeleteReview = async (eventId, mmddyyyy, entityId, locationId) => {
17519
- let url = "https://" + this.apiId + "/deletereview";
17525
+ let url = "https://" + this.apiId + "/deletereview1";
17520
17526
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
17521
17527
  const xhr = (await this.prepareXhr({ "projectid": this.projectId, "entityid": entityId, "locationid": locationId, "mmddyyyy": mmddyyyy, "eventid": eventId, }, url, this._SfLoader, authorization));
17522
17528
  this._SfLoader.innerHTML = '';
@@ -18377,7 +18383,7 @@ let SfIEvents = class SfIEvents extends LitElement {
18377
18383
  else {
18378
18384
  view = "entity";
18379
18385
  }
18380
- path = "getallcountryevents1";
18386
+ path = "getallcountryevents2";
18381
18387
  let sDate = "";
18382
18388
  let eDate = "";
18383
18389
  //console.log('currenttab', this.getCurrentTab());
@@ -18541,7 +18547,7 @@ let SfIEvents = class SfIEvents extends LitElement {
18541
18547
  let path = "";
18542
18548
  this.sdate = startDate;
18543
18549
  this.edate = endDate;
18544
- path = "getstatistics";
18550
+ path = "getstatistics1";
18545
18551
  let sDate = "";
18546
18552
  let eDate = "";
18547
18553
  //console.log('currenttab', this.getCurrentTab());
@@ -19085,7 +19091,7 @@ let SfIEvents = class SfIEvents extends LitElement {
19085
19091
  this.fetchNext = async (page, role, status) => {
19086
19092
  //this.apiBodyList = '{"id": "' +(this._SfProject[0].querySelector('#sf-i-project') as SfIForm).selectedValues()[0]+ '"}'
19087
19093
  this.nextPage = page;
19088
- let url = "https://" + this.apiId + "/getnextuserevents";
19094
+ let url = "https://" + this.apiId + "/getnextuserevents1";
19089
19095
  let statusArr = [];
19090
19096
  if (status == this.TAB_ALL) {
19091
19097
  statusArr = [this.STATUS_NOT_STARTED, this.STATUS_PENDING_APPROVAL, this.STATUS_REJECTED, this.STATUS_APPROVED];
@@ -19657,7 +19663,7 @@ let SfIEvents = class SfIEvents extends LitElement {
19657
19663
  day = '0' + day;
19658
19664
  let eDate = month + "/" + day + "/" + year;
19659
19665
  let urlBody = { "projectid": this.projectId, "userprofileid": this.userProfileId, "role": this.myRole, "entityid": complianceEntityId, "countryid": "", "functionid": "", "locationid": complianceLocationId, "tagid": this.tagId, "adhoc": "false", "exclusivestartkey": 0, "sdate": sDate, "edate": eDate, "view": "location", "year": this.calendarStartYYYY };
19660
- let url = "https://" + this.apiId + "/getallcountryevents1";
19666
+ let url = "https://" + this.apiId + "/getallcountryevents2";
19661
19667
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
19662
19668
  const xhr = (await this.prepareXhr(urlBody, url, this._SfLoader, authorization, 'Preparing'));
19663
19669
  this._SfLoader.innerHTML = '';
@@ -19742,7 +19748,7 @@ let SfIEvents = class SfIEvents extends LitElement {
19742
19748
  console.log('fetching compliances', sortid);
19743
19749
  let complianceEntityId = sortid.split(';')[1];
19744
19750
  let complianceLocationId = sortid.split(';')[2];
19745
- let url = "https://" + this.apiId + "/getallcountryevents1";
19751
+ let url = "https://" + this.apiId + "/getallcountryevents2";
19746
19752
  let sDateObj = selectedDate;
19747
19753
  sDateObj.setDate(selectedDate.getDate() - 60);
19748
19754
  let day = '' + sDateObj.getDate();
@@ -6264,6 +6264,8 @@ export class SfIEvents extends LitElement {
6264
6264
 
6265
6265
  if(event.documentType != null) {
6266
6266
  (this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.docType = event.documentType;
6267
+ }else{
6268
+ (this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.docType = "";
6267
6269
  }
6268
6270
 
6269
6271
  (this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.prepopulatedInputArr = JSON.stringify([]);
@@ -13264,7 +13266,7 @@ export class SfIEvents extends LitElement {
13264
13266
 
13265
13267
  fetchEventDetails = async (listEvent: any, mmddyyyy: any, currentColumnButton: HTMLButtonElement | null, eventsContainer: HTMLDivElement, flagUploadGuidance: boolean = false, listEventContainer: HTMLDivElement | null = null) => {
13266
13268
  console.log('listEvent', listEvent, listEvent.id)
13267
- let url = "https://"+this.apiId+"/getalleventdetails";
13269
+ let url = "https://"+this.apiId+"/getalleventdetails1";
13268
13270
 
13269
13271
  //console.log('fetch calendar url', url);
13270
13272
  let urlBody :any = {"projectid": this.projectId, "userprofileid": this.userProfileId, "role": this.myRole, "eventid": listEvent.id, "entityid": listEvent.entityid, "locationid": listEvent.locationid, "mmddyyyy": mmddyyyy, "year": this.calendarStartYYYY};
@@ -14517,6 +14519,8 @@ export class SfIEvents extends LitElement {
14517
14519
 
14518
14520
  if(documentType != null) {
14519
14521
  (this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.docType = documentType;
14522
+ }else{
14523
+ (this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.docType = ""
14520
14524
  }
14521
14525
 
14522
14526
  (this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.prepopulatedInputArr = JSON.stringify([]);
@@ -22496,7 +22500,7 @@ export class SfIEvents extends LitElement {
22496
22500
  }
22497
22501
 
22498
22502
  uploadAudit = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any, module: string = "events") => {
22499
- let url = "https://"+this.apiId+"/uploadaudit";
22503
+ let url = "https://"+this.apiId+"/uploadaudit1";
22500
22504
 
22501
22505
  const body = {
22502
22506
  "mmddyyyy": mmddyyyy,
@@ -22543,7 +22547,7 @@ export class SfIEvents extends LitElement {
22543
22547
  return retValue;
22544
22548
  }
22545
22549
  uploadAuditsBulk = async (bulkBody: any) => {
22546
- let url = "https://"+this.apiId+"/uploadauditsbulk";
22550
+ let url = "https://"+this.apiId+"/uploadauditsbulk1";
22547
22551
 
22548
22552
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
22549
22553
  const xhr : any = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization)) as any;
@@ -22566,7 +22570,7 @@ export class SfIEvents extends LitElement {
22566
22570
  }
22567
22571
 
22568
22572
  uploadReview = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any, module: string = "events") => {
22569
- let url = "https://"+this.apiId+"/uploadreview";
22573
+ let url = "https://"+this.apiId+"/uploadreview1";
22570
22574
 
22571
22575
  const body = {
22572
22576
  "mmddyyyy": mmddyyyy,
@@ -22641,7 +22645,7 @@ export class SfIEvents extends LitElement {
22641
22645
  }
22642
22646
  }
22643
22647
  uploadReviewsBulk = async (bulkBody: any) => {
22644
- let url = "https://"+this.apiId+"/uploadreviewsbulk";
22648
+ let url = "https://"+this.apiId+"/uploadreviewsbulk1";
22645
22649
 
22646
22650
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
22647
22651
  const xhr : any = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization)) as any;
@@ -22666,7 +22670,7 @@ export class SfIEvents extends LitElement {
22666
22670
  }
22667
22671
 
22668
22672
  uploadReport = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, doc: string, docs: any, event: any, reportformatvalues: string = "", reportformatschema: string = "", module: string = "events", percentage: string = "100", makercheckers: any) => {
22669
- let url = "https://"+this.apiId+"/uploadreport2";
22673
+ let url = "https://"+this.apiId+"/uploadreport3";
22670
22674
 
22671
22675
  let body = {
22672
22676
  "mmddyyyy": mmddyyyy,
@@ -22728,7 +22732,7 @@ export class SfIEvents extends LitElement {
22728
22732
  }
22729
22733
 
22730
22734
  uploadReportsBulk = async (bulkBody: any, showSuccess: boolean = true) => {
22731
- let url = "https://"+this.apiId+"/uploadreportsbulk2"
22735
+ let url = "https://"+this.apiId+"/uploadreportsbulk3"
22732
22736
 
22733
22737
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
22734
22738
  const xhr : any = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization)) as any;
@@ -23124,7 +23128,7 @@ export class SfIEvents extends LitElement {
23124
23128
 
23125
23129
  fetchDeleteReview = async (eventId: string, mmddyyyy: string, entityId: string, locationId: string) => {
23126
23130
 
23127
- let url = "https://"+this.apiId+"/deletereview";
23131
+ let url = "https://"+this.apiId+"/deletereview1";
23128
23132
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
23129
23133
  const xhr : any = (await this.prepareXhr({"projectid": this.projectId, "entityid": entityId, "locationid": locationId, "mmddyyyy": mmddyyyy, "eventid": eventId, }, url, this._SfLoader, authorization)) as any;
23130
23134
  this._SfLoader.innerHTML = '';
@@ -24267,7 +24271,7 @@ export class SfIEvents extends LitElement {
24267
24271
  view = "entity";
24268
24272
  }
24269
24273
 
24270
- path = "getallcountryevents1";
24274
+ path = "getallcountryevents2";
24271
24275
 
24272
24276
  let sDate = "";
24273
24277
  let eDate = "";
@@ -24478,7 +24482,7 @@ export class SfIEvents extends LitElement {
24478
24482
  this.edate = endDate;
24479
24483
 
24480
24484
 
24481
- path = "getstatistics";
24485
+ path = "getstatistics1";
24482
24486
 
24483
24487
  let sDate = "";
24484
24488
  let eDate = "";
@@ -25124,7 +25128,7 @@ export class SfIEvents extends LitElement {
25124
25128
 
25125
25129
  //this.apiBodyList = '{"id": "' +(this._SfProject[0].querySelector('#sf-i-project') as SfIForm).selectedValues()[0]+ '"}'
25126
25130
  this.nextPage = page;
25127
- let url = "https://"+this.apiId+"/getnextuserevents";
25131
+ let url = "https://"+this.apiId+"/getnextuserevents1";
25128
25132
  let statusArr: string[] = []
25129
25133
  if(status == this.TAB_ALL){
25130
25134
  statusArr = [this.STATUS_NOT_STARTED, this.STATUS_PENDING_APPROVAL, this.STATUS_REJECTED, this.STATUS_APPROVED]
@@ -25797,7 +25801,7 @@ export class SfIEvents extends LitElement {
25797
25801
  day = '0' + day;
25798
25802
  let eDate = month + "/" + day + "/" + year
25799
25803
  let urlBody :any = {"projectid": this.projectId, "userprofileid": this.userProfileId, "role": this.myRole, "entityid": complianceEntityId, "countryid": "", "functionid": "", "locationid": complianceLocationId, "tagid": this.tagId, "adhoc": "false", "exclusivestartkey": 0, "sdate": sDate, "edate": eDate, "view": "location", "year": this.calendarStartYYYY};
25800
- let url = "https://"+this.apiId+"/getallcountryevents1";
25804
+ let url = "https://"+this.apiId+"/getallcountryevents2";
25801
25805
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
25802
25806
  const xhr : any = (await this.prepareXhr(urlBody, url, this._SfLoader, authorization, 'Preparing')) as any;
25803
25807
  this._SfLoader.innerHTML = '';
@@ -25890,7 +25894,7 @@ export class SfIEvents extends LitElement {
25890
25894
  console.log('fetching compliances', sortid)
25891
25895
  let complianceEntityId = sortid.split(';')[1]
25892
25896
  let complianceLocationId = sortid.split(';')[2]
25893
- let url = "https://"+this.apiId+"/getallcountryevents1";
25897
+ let url = "https://"+this.apiId+"/getallcountryevents2";
25894
25898
  let sDateObj = selectedDate
25895
25899
  sDateObj.setDate(selectedDate.getDate() - 60)
25896
25900
  let day = '' + sDateObj.getDate();