sf-i-events 1.0.949 → 1.0.950

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
@@ -985,7 +985,7 @@
985
985
  allowdownload="yes"></sf-i-uploader></div>
986
986
  <div slot="reporting"><sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting></div>
987
987
  </sf-i-events> -->
988
- <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
988
+ <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
989
989
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
990
990
  apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
991
991
  apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
@@ -1013,7 +1013,7 @@
1013
1013
  <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
1014
1014
  </div>
1015
1015
 
1016
- </sf-i-events> -->
1016
+ </sf-i-events>
1017
1017
  <!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
1018
1018
  apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
1019
1019
  apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
@@ -1116,35 +1116,6 @@
1116
1116
  </div>
1117
1117
 
1118
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>
1148
1119
  <script>
1149
1120
 
1150
1121
  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.949",
4
+ "version": "1.0.950",
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
@@ -153,6 +153,7 @@ let SfIEvents = class SfIEvents extends LitElement {
153
153
  padding-left: 20px;
154
154
  padding-right: 20px;
155
155
  border-radius: 10px;
156
+ position: relative;
156
157
  }
157
158
  .certificate-section h1 {
158
159
  font-family: Belanosima;
@@ -276,11 +277,24 @@ let SfIEvents = class SfIEvents extends LitElement {
276
277
  .color-late-reported {
277
278
  color: #Ef9C66;
278
279
  }
280
+ .watermark {
281
+ background-image: url(https://flagggrc-images.s3.amazonaws.com/logo.png);
282
+ background-position: center;
283
+ background-repeat: repeat;
284
+ background-size: 20%;
285
+ opacity: 5%;
286
+ left: 0;
287
+ right: 0;
288
+ top: 0;
289
+ bottom: 0;
290
+ position: absolute;
291
+ }
279
292
  </style>
280
293
  </head>
281
294
  <body>
282
295
  <div class="certificate-section">
283
296
  <h1 class="text-center">Certificate</h1>
297
+ <div class="watermark"></div>
284
298
  <p>I, PERSON_NAME, working as <span class="person-designation">PERSON_DESIGNATION</span> in PERSON_COMPANY, hereby declare that I am entrusted with the responsibility of ensuring compliance with various laws applicable to the company in the administration of business and the affairs of the company</p>
285
299
  <p>After having examined and considered all relevant information and based on the information furnished by the concerned officers, I, do hereby certify that the Finance / Technical / Administration / Legal wings / department of PERSON_COMPANY for the period PERSON_PERIOD, has in the conduct of business:</p>
286
300
  <ol>
@@ -302,6 +316,7 @@ let SfIEvents = class SfIEvents extends LitElement {
302
316
  </div>
303
317
  </div>
304
318
  <br /><br />
319
+ <div class="watermark"></div>
305
320
  <h3>Compliance Status</h3>
306
321
  PERSON_COMPLIANCE_STATUS
307
322
  <br /><br />
@@ -23295,7 +23310,7 @@ let SfIEvents = class SfIEvents extends LitElement {
23295
23310
  let path = "", view = "";
23296
23311
  this.sdate = startDate;
23297
23312
  this.edate = endDate;
23298
- this.suspenseCount = 0;
23313
+ this.suspenseCount = this.suspenseFlag ? this.suspenseCount : 0;
23299
23314
  if (this.tagId != null && this.tagId != "") {
23300
23315
  view = "tag";
23301
23316
  }
@@ -23343,7 +23358,7 @@ let SfIEvents = class SfIEvents extends LitElement {
23343
23358
  await this.fetchPresignedUrlDelete(jsonRespose.signedUrlDelete);
23344
23359
  if (JSON.stringify(urlBody) == this.getallcountryevetsParams) {
23345
23360
  this.lastupdated = Util.getDateTimeStrings(new Date().getTime());
23346
- this.suspenseCount = (_a = jsonRespose.suspensecount) !== null && _a !== void 0 ? _a : 0;
23361
+ this.suspenseCount = this.suspenseFlag ? this.suspenseCount : ((_a = jsonRespose.suspensecount) !== null && _a !== void 0 ? _a : 0);
23347
23362
  console.log('rendering appropriate string', list, this.selectedTab);
23348
23363
  this.renderAppropriateStream(startDate, endDate, true);
23349
23364
  this.fetchBulkReportingData();
@@ -156,6 +156,7 @@ export class SfIEvents extends LitElement {
156
156
  padding-left: 20px;
157
157
  padding-right: 20px;
158
158
  border-radius: 10px;
159
+ position: relative;
159
160
  }
160
161
  .certificate-section h1 {
161
162
  font-family: Belanosima;
@@ -279,11 +280,24 @@ export class SfIEvents extends LitElement {
279
280
  .color-late-reported {
280
281
  color: #Ef9C66;
281
282
  }
283
+ .watermark {
284
+ background-image: url(https://flagggrc-images.s3.amazonaws.com/logo.png);
285
+ background-position: center;
286
+ background-repeat: repeat;
287
+ background-size: 20%;
288
+ opacity: 5%;
289
+ left: 0;
290
+ right: 0;
291
+ top: 0;
292
+ bottom: 0;
293
+ position: absolute;
294
+ }
282
295
  </style>
283
296
  </head>
284
297
  <body>
285
298
  <div class="certificate-section">
286
299
  <h1 class="text-center">Certificate</h1>
300
+ <div class="watermark"></div>
287
301
  <p>I, PERSON_NAME, working as <span class="person-designation">PERSON_DESIGNATION</span> in PERSON_COMPANY, hereby declare that I am entrusted with the responsibility of ensuring compliance with various laws applicable to the company in the administration of business and the affairs of the company</p>
288
302
  <p>After having examined and considered all relevant information and based on the information furnished by the concerned officers, I, do hereby certify that the Finance / Technical / Administration / Legal wings / department of PERSON_COMPANY for the period PERSON_PERIOD, has in the conduct of business:</p>
289
303
  <ol>
@@ -305,6 +319,7 @@ export class SfIEvents extends LitElement {
305
319
  </div>
306
320
  </div>
307
321
  <br /><br />
322
+ <div class="watermark"></div>
308
323
  <h3>Compliance Status</h3>
309
324
  PERSON_COMPLIANCE_STATUS
310
325
  <br /><br />
@@ -29516,7 +29531,7 @@ export class SfIEvents extends LitElement {
29516
29531
  let path = "", view = "";
29517
29532
  this.sdate = startDate;
29518
29533
  this.edate = endDate;
29519
- this.suspenseCount = 0;
29534
+ this.suspenseCount = this.suspenseFlag ? this.suspenseCount : 0;
29520
29535
  if (this.tagId != null && this.tagId != "") {
29521
29536
  view = "tag";
29522
29537
  } else if (this.countryId != null && this.countryId != "") {
@@ -29570,7 +29585,7 @@ export class SfIEvents extends LitElement {
29570
29585
  await this.fetchPresignedUrlDelete(jsonRespose.signedUrlDelete)
29571
29586
  if (JSON.stringify(urlBody) == this.getallcountryevetsParams) {
29572
29587
  this.lastupdated = Util.getDateTimeStrings(new Date().getTime())
29573
- this.suspenseCount = jsonRespose.suspensecount ?? 0;
29588
+ this.suspenseCount = this.suspenseFlag ? this.suspenseCount : (jsonRespose.suspensecount ?? 0);
29574
29589
  console.log('rendering appropriate string', list, this.selectedTab);
29575
29590
  this.renderAppropriateStream(startDate, endDate, true);
29576
29591
  this.fetchBulkReportingData();