sf-i-events 1.0.945 → 1.0.946

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
@@ -1085,6 +1085,36 @@
1085
1085
 
1086
1086
  </sf-i-events> -->
1087
1087
  <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
1088
+ apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1089
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
1090
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
1091
+ apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
1092
+ apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
1093
+ apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
1094
+ apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="solid"
1095
+ username="Local Approver 1" userprofileid="c44dcd04-aebb-4417-ba6b-fac170efd5d0"
1096
+ projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global"
1097
+ countryid="07d73b44-648d-4301-82c4-d6df43397824" selectedcriteria="Country - India" myrole="approver"
1098
+ showregisterexport="false"
1099
+ features="[&quot;notices&quot;,&quot;contracts&quot;,&quot;licenses&quot;,&quot;rcmresources&quot;]"
1100
+ 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;}]"
1101
+ 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;}]"
1102
+ eventpreviewfields="[&quot;obligation&quot;]"
1103
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
1104
+ calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
1105
+
1106
+ <div slot="uploader">
1107
+ <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
1108
+ 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;]"
1109
+ extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="31457280"
1110
+ allowdownload="yes"></sf-i-uploader>
1111
+ </div>
1112
+ <div slot="reporting">
1113
+ <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1114
+ </div>
1115
+
1116
+ </sf-i-events>
1117
+ <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
1088
1118
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1089
1119
  apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
1090
1120
  apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
@@ -1112,7 +1142,7 @@
1112
1142
  <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1113
1143
  </div>
1114
1144
 
1115
- </sf-i-events>
1145
+ </sf-i-events> -->
1116
1146
  <script>
1117
1147
 
1118
1148
  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.945",
4
+ "version": "1.0.946",
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
@@ -13264,10 +13264,12 @@ let SfIEvents = class SfIEvents extends LitElement {
13264
13264
  return;
13265
13265
  }
13266
13266
  let reportformatvalues = {};
13267
+ let reportformatvaluesStr = "";
13267
13268
  let reportingReporting = this._SfDetailContainer.querySelector('#reporting-reporting');
13268
13269
  console.log('renew reporting', reportingReporting);
13269
13270
  if (reportingReporting != null) {
13270
13271
  reportformatvalues = reportingReporting.selectedValues();
13272
+ reportformatvaluesStr = JSON.stringify(reportingReporting.selectedValues());
13271
13273
  }
13272
13274
  let comparedObj = Util.compareObjects(reportformatvalues, JSON.parse(listEvent.reportformatvalues));
13273
13275
  console.log('reportformatvalues', reportformatvalues, JSON.parse(listEvent.reportformatvalues), comparedObj);
@@ -13287,7 +13289,7 @@ let SfIEvents = class SfIEvents extends LitElement {
13287
13289
  console.log('mmddyyyy', mmddyyyy);
13288
13290
  if (await this.uploadReview(entityId, locationId, mmddyyyy, listEvent["id"], comments, approved, (_a = listEvent.module) !== null && _a !== void 0 ? _a : "compliance")) {
13289
13291
  if (approved) {
13290
- await this.renewRCMResource(listEvent, reportformatvalues);
13292
+ await this.renewRCMResource(listEvent, reportformatvaluesStr);
13291
13293
  }
13292
13294
  else {
13293
13295
  console.log('renew reporting', reportformatvalues);
@@ -17114,10 +17114,12 @@ export class SfIEvents extends LitElement {
17114
17114
  return;
17115
17115
  }
17116
17116
  let reportformatvalues: any = {}
17117
+ let reportformatvaluesStr: string = ""
17117
17118
  let reportingReporting = (this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-reporting') as SfIReporting
17118
17119
  console.log('renew reporting', reportingReporting)
17119
17120
  if (reportingReporting != null) {
17120
17121
  reportformatvalues = reportingReporting!.selectedValues()
17122
+ reportformatvaluesStr = JSON.stringify(reportingReporting!.selectedValues())
17121
17123
  }
17122
17124
  let comparedObj = Util.compareObjects(reportformatvalues, JSON.parse(listEvent.reportformatvalues))
17123
17125
  console.log('reportformatvalues', reportformatvalues, JSON.parse(listEvent.reportformatvalues),comparedObj)
@@ -17138,7 +17140,7 @@ export class SfIEvents extends LitElement {
17138
17140
  console.log('mmddyyyy', mmddyyyy)
17139
17141
  if (await this.uploadReview(entityId, locationId, mmddyyyy, listEvent["id"], comments, approved, listEvent.module ?? "compliance")) {
17140
17142
  if (approved) {
17141
- await this.renewRCMResource(listEvent, reportformatvalues);
17143
+ await this.renewRCMResource(listEvent, reportformatvaluesStr);
17142
17144
  } else {
17143
17145
  console.log('renew reporting', reportformatvalues)
17144
17146
  }