sf-i-events 1.0.961 → 1.0.962

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
@@ -850,7 +850,21 @@
850
850
  </div>
851
851
 
852
852
  </sf-i-events> -->
853
- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
853
+ <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
854
+ apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
855
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
856
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" mode="next" fill="solid" username="Local Reporter 1"
857
+ userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710"
858
+ projectname="ABC Global" myroles="[&quot;reporter&quot;]" eventpreviewfields="[&quot;obligation&quot;]"
859
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
860
+ blocksize="10" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
861
+ <div slot="uploader"><sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
862
+ 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;]"
863
+ extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="31457280"
864
+ allowdownload="yes"></sf-i-uploader></div>
865
+ <div slot="reporting"><sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting></div>
866
+ </sf-i-events>
867
+ <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
854
868
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
855
869
  apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
856
870
  apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
@@ -879,7 +893,7 @@
879
893
  <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
880
894
  </div>
881
895
 
882
- </sf-i-events>
896
+ </sf-i-events> -->
883
897
  <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
884
898
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
885
899
  apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.961",
4
+ "version": "1.0.962",
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
@@ -1174,7 +1174,8 @@ let SfIEvents = class SfIEvents extends LitElement {
1174
1174
  };
1175
1175
  this.eventFields = null;
1176
1176
  this.getEventFields = () => {
1177
- return JSON.parse(this.eventFields);
1177
+ var _a;
1178
+ return JSON.parse((_a = this.eventFields) !== null && _a !== void 0 ? _a : "[]");
1178
1179
  };
1179
1180
  this.eventFieldDependencies = null;
1180
1181
  this.getEventFieldDependencies = () => {
@@ -1447,7 +1447,7 @@ export class SfIEvents extends LitElement {
1447
1447
  eventFields: any = null;
1448
1448
 
1449
1449
  getEventFields = () => {
1450
- return JSON.parse(this.eventFields);
1450
+ return JSON.parse(this.eventFields ?? "[]");
1451
1451
  }
1452
1452
 
1453
1453
  @property()