sf-i-events 1.0.948 → 1.0.949

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
@@ -941,7 +941,7 @@
941
941
  </div>
942
942
 
943
943
  </sf-i-events> -->
944
- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
944
+ <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
945
945
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
946
946
  apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
947
947
  apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
@@ -970,7 +970,7 @@
970
970
  <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
971
971
  </div>
972
972
 
973
- </sf-i-events>
973
+ </sf-i-events> -->
974
974
  <!-- <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
975
975
  apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
976
976
  apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
@@ -991,11 +991,12 @@
991
991
  apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
992
992
  apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
993
993
  apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
994
- apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws" fill="solid"
994
+ apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
995
+ apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="solid"
995
996
  username="Local Approver 1" userprofileid="c44dcd04-aebb-4417-ba6b-fac170efd5d0"
996
997
  projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global"
997
998
  countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="approver" showregisterexport="false"
998
- features="[&quot;notices&quot;,&quot;contracts&quot;,&quot;licenses&quot;]"
999
+ features="[&quot;notices&quot;,&quot;contracts&quot;,&quot;licenses&quot;,&quot;rcmresources&quot;]"
999
1000
  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;}]"
1000
1001
  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;}]"
1001
1002
  eventpreviewfields="[&quot;obligation&quot;]"
@@ -1115,6 +1116,35 @@
1115
1116
  </div>
1116
1117
 
1117
1118
  </sf-i-events> -->
1119
+ <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
1120
+ apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1121
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
1122
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
1123
+ apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
1124
+ apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
1125
+ apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
1126
+ apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="pattern"
1127
+ username="Sashreeka Nachane" userprofileid="7ceaf705-3e54-49d1-b143-5ce1d687300e"
1128
+ projectid="411aa07b-6104-443b-8e9b-bb17e1ea5768" projectname="Inzpera"
1129
+ countryid="73801229-4bb1-471b-8d84-565a9501db76" selectedcriteria="Country - India" enabledeletelatestreport="true"
1130
+ features="[]"
1131
+ 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;}]"
1132
+ 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;}]"
1133
+ eventpreviewfields="[&quot;obligationtitle&quot;]"
1134
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
1135
+ calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
1136
+
1137
+ <div slot="uploader">
1138
+ <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
1139
+ allowedextensions="[&quot;jpg&quot;,&quot;jpeg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;,&quot;zip&quot;]"
1140
+ extract="yes" projectid="411aa07b-6104-443b-8e9b-bb17e1ea5768" maxsize="31457280"
1141
+ allowdownload="yes"></sf-i-uploader>
1142
+ </div>
1143
+ <div slot="reporting">
1144
+ <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1145
+ </div>
1146
+
1147
+ </sf-i-events>
1118
1148
  <script>
1119
1149
 
1120
1150
  function setCookie(name, value, days) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.948",
4
+ "version": "1.0.949",
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
@@ -13058,11 +13058,15 @@ let SfIEvents = class SfIEvents extends LitElement {
13058
13058
  let urlBody = { projectid: this.projectId, objectid: listEvent.id, newvalues: reportformatvalues == "" ? null : JSON.parse(reportformatvalues), published: true, terminated: ((_a = JSON.parse(reportformatvalues).terminated) !== null && _a !== void 0 ? _a : false) };
13059
13059
  console.log('reopen body', url, urlBody);
13060
13060
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
13061
- const xhr = (await this.prepareXhr(urlBody, url, this._SfLoader, authorization, 'Preparing'));
13061
+ const xhr = (await this.prepareXhr(urlBody, url, this._SfLoader, authorization, 'Renewing'));
13062
13062
  this._SfLoader.innerHTML = '';
13063
13063
  if (xhr.status == 200) {
13064
13064
  const jsonRespose = JSON.parse(xhr.responseText);
13065
13065
  console.log('jsonRespose agreement reopen', jsonRespose);
13066
+ this.setSuccess("Renewal successful");
13067
+ setTimeout(() => {
13068
+ this.clearMessages();
13069
+ }, 3000);
13066
13070
  }
13067
13071
  else {
13068
13072
  if (xhr.status == 401) {
@@ -22049,7 +22053,7 @@ let SfIEvents = class SfIEvents extends LitElement {
22049
22053
  if (xhr.status == 200) {
22050
22054
  // const jsonRespose = JSON.parse(xhr.responseText);
22051
22055
  //console.log('jsonResponse sync', jsonRespose);
22052
- this.setSuccess("Report uploaded successfully!");
22056
+ this.setSuccess("Suggestion sent successfully!");
22053
22057
  setTimeout(() => {
22054
22058
  this.clearMessages();
22055
22059
  // this.showChosenMapping();
@@ -16886,12 +16886,16 @@ export class SfIEvents extends LitElement {
16886
16886
  let urlBody: any = { projectid: this.projectId, objectid: listEvent.id, newvalues: reportformatvalues == "" ? null : JSON.parse(reportformatvalues), published: true, terminated: (JSON.parse(reportformatvalues).terminated ?? false) };
16887
16887
  console.log('reopen body', url, urlBody)
16888
16888
  const authorization = btoa(Util.readCookie('email') + ":" + Util.readCookie('accessToken'));
16889
- const xhr: any = (await this.prepareXhr(urlBody, url, this._SfLoader, authorization, 'Preparing')) as any;
16889
+ const xhr: any = (await this.prepareXhr(urlBody, url, this._SfLoader, authorization, 'Renewing')) as any;
16890
16890
  this._SfLoader.innerHTML = '';
16891
16891
  if (xhr.status == 200) {
16892
16892
 
16893
16893
  const jsonRespose = JSON.parse(xhr.responseText);
16894
16894
  console.log('jsonRespose agreement reopen', jsonRespose);
16895
+ this.setSuccess("Renewal successful");
16896
+ setTimeout(() => {
16897
+ this.clearMessages()
16898
+ },3000)
16895
16899
  } else {
16896
16900
  if (xhr.status == 401) {
16897
16901
  let changeEvent = new CustomEvent('tokenExpired', { bubbles: true });
@@ -27882,7 +27886,7 @@ export class SfIEvents extends LitElement {
27882
27886
 
27883
27887
  // const jsonRespose = JSON.parse(xhr.responseText);
27884
27888
  //console.log('jsonResponse sync', jsonRespose);
27885
- this.setSuccess("Report uploaded successfully!");
27889
+ this.setSuccess("Suggestion sent successfully!");
27886
27890
  setTimeout(() => {
27887
27891
  this.clearMessages()
27888
27892
  // this.showChosenMapping();