sf-i-events 1.0.915 → 1.0.917

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
@@ -829,7 +829,21 @@
829
829
  disablesignoff="yes" disableclientresponse="yes">
830
830
 
831
831
  </sf-i-events> -->
832
- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
832
+ <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
833
+ apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
834
+ apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
835
+ apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" mode="next" fill="solid" username="Local Reporter 1"
836
+ userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710"
837
+ projectname="ABC Global" myroles="[&quot;reporter&quot;]" eventpreviewfields="[&quot;obligation&quot;]"
838
+ eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]"
839
+ blocksize="10" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
840
+ <div slot="uploader"><sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
841
+ 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;]"
842
+ extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="31457280"
843
+ allowdownload="yes"></sf-i-uploader></div>
844
+ <div slot="reporting"><sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting></div>
845
+ </sf-i-events>
846
+ <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
833
847
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
834
848
  apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
835
849
  apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
@@ -858,7 +872,7 @@
858
872
  <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
859
873
  </div>
860
874
 
861
- </sf-i-events>
875
+ </sf-i-events> -->
862
876
  <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
863
877
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
864
878
  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.915",
4
+ "version": "1.0.917",
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
@@ -3872,9 +3872,10 @@ let SfIEvents = class SfIEvents extends LitElement {
3872
3872
  let inputReportingPercentage = listReportingContainer.querySelector('#input-reporter-percentage');
3873
3873
  let percentage = inputReportingPercentage.value;
3874
3874
  if (percentage != null && percentage.length > 0 && parseInt(percentage) < 100) {
3875
- listReportingContainer.querySelector('#reporting-location-container').classList.remove('hide');
3875
+ listReportingContainer.querySelector('#reporting-entity-container').classList.remove('hide');
3876
3876
  }
3877
3877
  else {
3878
+ listReportingContainer.querySelector('#reporting-entity-container').classList.add('hide');
3878
3879
  listReportingContainer.querySelector('#reporting-location-container').classList.add('hide');
3879
3880
  }
3880
3881
  inputReportingPercentage === null || inputReportingPercentage === void 0 ? void 0 : inputReportingPercentage.addEventListener('change', () => {
@@ -4217,6 +4218,9 @@ let SfIEvents = class SfIEvents extends LitElement {
4217
4218
  }
4218
4219
  }
4219
4220
  }
4221
+ else {
4222
+ flag = true;
4223
+ }
4220
4224
  if (flag === false) {
4221
4225
  await this.sleep(1000);
4222
4226
  console.log('waiting for docs', docs);
@@ -10656,6 +10660,9 @@ let SfIEvents = class SfIEvents extends LitElement {
10656
10660
  }
10657
10661
  }
10658
10662
  }
10663
+ else {
10664
+ flag = true;
10665
+ }
10659
10666
  if (flag === false) {
10660
10667
  await this.sleep(1000);
10661
10668
  console.log('waiting for docs', docs);
@@ -13947,9 +13954,10 @@ let SfIEvents = class SfIEvents extends LitElement {
13947
13954
  let inputReportingPercentage = this._SfDetailContainer.querySelector('#input-reporter-percentage');
13948
13955
  let percentage = inputReportingPercentage.value;
13949
13956
  if (percentage != null && percentage.length > 0 && parseInt(percentage) < 100) {
13950
- this._SfDetailContainer.querySelector('#reporting-location-container').classList.remove('hide');
13957
+ this._SfDetailContainer.querySelector('#reporting-entity-container').classList.remove('hide');
13951
13958
  }
13952
13959
  else {
13960
+ this._SfDetailContainer.querySelector('#reporting-entity-container').classList.add('hide');
13953
13961
  this._SfDetailContainer.querySelector('#reporting-location-container').classList.add('hide');
13954
13962
  }
13955
13963
  inputReportingPercentage === null || inputReportingPercentage === void 0 ? void 0 : inputReportingPercentage.addEventListener('change', () => {
@@ -13957,9 +13965,10 @@ let SfIEvents = class SfIEvents extends LitElement {
13957
13965
  let percentage = inputReportingPercentage.value;
13958
13966
  console.log('percentage', percentage, inputReportingPercentage, inputReportingPercentage.value);
13959
13967
  if (percentage != null && percentage.length > 0 && parseInt(percentage) < 100) {
13960
- this._SfDetailContainer.querySelector('#reporting-location-container').classList.remove('hide');
13968
+ this._SfDetailContainer.querySelector('#reporting-entity-container').classList.remove('hide');
13961
13969
  }
13962
13970
  else {
13971
+ this._SfDetailContainer.querySelector('#reporting-entity-container').classList.add('hide');
13963
13972
  this._SfDetailContainer.querySelector('#reporting-location-container').classList.add('hide');
13964
13973
  }
13965
13974
  if ((percentage != null && parseInt(percentage) == 0) || docsOptional.length > 0) {
@@ -14329,6 +14338,9 @@ let SfIEvents = class SfIEvents extends LitElement {
14329
14338
  }
14330
14339
  }
14331
14340
  }
14341
+ else {
14342
+ flag = true;
14343
+ }
14332
14344
  if (flag === false) {
14333
14345
  await this.sleep(1000);
14334
14346
  console.log('waiting for docs', docs);
@@ -6231,8 +6231,9 @@ export class SfIEvents extends LitElement {
6231
6231
  let percentage = inputReportingPercentage.value
6232
6232
 
6233
6233
  if (percentage != null && percentage.length > 0 && parseInt(percentage) < 100) {
6234
- (listReportingContainer.querySelector('#reporting-location-container') as HTMLDivElement).classList.remove('hide')
6234
+ (listReportingContainer.querySelector('#reporting-entity-container') as HTMLDivElement).classList.remove('hide')
6235
6235
  } else {
6236
+ (listReportingContainer.querySelector('#reporting-entity-container') as HTMLDivElement).classList.add('hide');
6236
6237
  (listReportingContainer.querySelector('#reporting-location-container') as HTMLDivElement).classList.add('hide')
6237
6238
  }
6238
6239
  inputReportingPercentage?.addEventListener('change', () => {
@@ -6593,6 +6594,8 @@ export class SfIEvents extends LitElement {
6593
6594
  flag = true;
6594
6595
  }
6595
6596
  }
6597
+ }else{
6598
+ flag = true;
6596
6599
  }
6597
6600
  if (flag === false) {
6598
6601
  await this.sleep(1000);
@@ -14256,6 +14259,8 @@ export class SfIEvents extends LitElement {
14256
14259
  flag = true;
14257
14260
  }
14258
14261
  }
14262
+ }else{
14263
+ flag = true;
14259
14264
  }
14260
14265
  if (flag === false) {
14261
14266
  await this.sleep(1000);
@@ -18029,8 +18034,9 @@ export class SfIEvents extends LitElement {
18029
18034
  let percentage = inputReportingPercentage.value
18030
18035
 
18031
18036
  if (percentage != null && percentage.length > 0 && parseInt(percentage) < 100) {
18032
- ((this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-location-container') as HTMLDivElement).classList.remove('hide')
18037
+ ((this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-entity-container') as HTMLDivElement).classList.remove('hide')
18033
18038
  } else {
18039
+ ((this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-entity-container') as HTMLDivElement).classList.add('hide');
18034
18040
  ((this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-location-container') as HTMLDivElement).classList.add('hide')
18035
18041
  }
18036
18042
  inputReportingPercentage?.addEventListener('change', () => {
@@ -18038,8 +18044,9 @@ export class SfIEvents extends LitElement {
18038
18044
  let percentage = inputReportingPercentage.value
18039
18045
  console.log('percentage', percentage, inputReportingPercentage, inputReportingPercentage.value);
18040
18046
  if (percentage != null && percentage.length > 0 && parseInt(percentage) < 100) {
18041
- ((this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-location-container') as HTMLDivElement).classList.remove('hide')
18047
+ ((this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-entity-container') as HTMLDivElement).classList.remove('hide')
18042
18048
  } else {
18049
+ ((this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-entity-container') as HTMLDivElement).classList.add('hide');
18043
18050
  ((this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-location-container') as HTMLDivElement).classList.add('hide')
18044
18051
  }
18045
18052
  if ((percentage != null && parseInt(percentage) == 0) || docsOptional.length > 0) {
@@ -18434,6 +18441,8 @@ export class SfIEvents extends LitElement {
18434
18441
  flag = true;
18435
18442
  }
18436
18443
  }
18444
+ }else{
18445
+ flag = true;
18437
18446
  }
18438
18447
  if (flag === false) {
18439
18448
  await this.sleep(1000);