sf-i-events 1.0.767 → 1.0.768
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 +4 -4
- package/package.json +1 -1
- package/sf-i-events.js +7 -5
- package/src/sf-i-events.ts +7 -5
package/dev/index.html
CHANGED
|
@@ -628,10 +628,10 @@
|
|
|
628
628
|
</style>
|
|
629
629
|
</head>
|
|
630
630
|
<body>
|
|
631
|
-
|
|
631
|
+
<sf-i-events projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" mode="onboarding" locations="{}" contractstartdate="01/04/2024" apiid="dwqyez2puoxmu.cloudfront.net/event" username="ninad.t@flagggrc.tech" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidusers="dnytrdlrmxgsy.cloudfront.net/userprofile" disablesignoff="yes" disableclientresponse="yes">
|
|
632
632
|
|
|
633
|
-
</sf-i-events>
|
|
634
|
-
<sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" fill="solid" username="Chief Compliance Officer" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="functionhead" showregisterexport="false" features="["notices"]" eventfielddependencies="[{"type": "foreignkey", "parent": "country", "child": "state"},{"type": "foreignkey", "parent": "category", "child": "subcategory"},{"type": "foreignkey", "parent": "frequency", "child": "subfrequency"}]" eventfields="[{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/riskarea", "field": "riskarea"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/jurisdiction", "field": "jurisdiction"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/updatetype", "field": "updatetype"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/country", "field": "country"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/specificity", "field": "specificity"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/risk", "field": "risk"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/frequency", "field": "frequency"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/category", "field": "category"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/obligationtype", "field": "obligationtype"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/state", "field": "state"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subfrequency", "field": "subfrequency"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subcategory", "field": "subcategory"},{"type": "sf-i-form", "apiId": "dnytrdlrmxgsy.cloudfront.net/statute", "field": "statute", "projectField": "name"}]" eventpreviewfields="["obligation"]" eventhidefields="["comments","documents","lastupdated","approved","tags"]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
|
|
633
|
+
</sf-i-events>
|
|
634
|
+
<!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" fill="solid" username="Chief Compliance Officer" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="functionhead" showregisterexport="false" features="["notices"]" eventfielddependencies="[{"type": "foreignkey", "parent": "country", "child": "state"},{"type": "foreignkey", "parent": "category", "child": "subcategory"},{"type": "foreignkey", "parent": "frequency", "child": "subfrequency"}]" eventfields="[{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/riskarea", "field": "riskarea"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/jurisdiction", "field": "jurisdiction"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/updatetype", "field": "updatetype"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/country", "field": "country"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/specificity", "field": "specificity"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/risk", "field": "risk"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/frequency", "field": "frequency"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/category", "field": "category"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/obligationtype", "field": "obligationtype"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/state", "field": "state"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subfrequency", "field": "subfrequency"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subcategory", "field": "subcategory"},{"type": "sf-i-form", "apiId": "dnytrdlrmxgsy.cloudfront.net/statute", "field": "statute", "projectField": "name"}]" eventpreviewfields="["obligation"]" eventhidefields="["comments","documents","lastupdated","approved","tags"]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
|
|
635
635
|
|
|
636
636
|
<div slot="uploader">
|
|
637
637
|
<sf-i-uploader id="uploader" max="10" apiid="1peg5170d3" allowedextensions="["jpg","png","pdf","xls","xlsx","doc","docx"]" extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="5242880" allowdownload="yes"></sf-i-uploader>
|
|
@@ -640,7 +640,7 @@
|
|
|
640
640
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
641
641
|
</div>
|
|
642
642
|
|
|
643
|
-
</sf-i-events>
|
|
643
|
+
</sf-i-events> -->
|
|
644
644
|
<!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" fill="solid" username="Viewer J1" userprofileid="344c84d2-5976-47ff-949b-49f6fa9627eb" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="58c90fb5-9d1d-46bc-9b1a-2cf3e353eed0" myrole="viewer" showregisterexport="false" features="["notices"]" eventfielddependencies="[{"type": "foreignkey", "parent": "country", "child": "state"},{"type": "foreignkey", "parent": "category", "child": "subcategory"},{"type": "foreignkey", "parent": "frequency", "child": "subfrequency"}]" eventfields="[{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/riskarea", "field": "riskarea"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/jurisdiction", "field": "jurisdiction"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/updatetype", "field": "updatetype"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/country", "field": "country"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/specificity", "field": "specificity"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/risk", "field": "risk"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/frequency", "field": "frequency"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/category", "field": "category"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/obligationtype", "field": "obligationtype"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/state", "field": "state"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subfrequency", "field": "subfrequency"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subcategory", "field": "subcategory"},{"type": "sf-i-form", "apiId": "dnytrdlrmxgsy.cloudfront.net/statute", "field": "statute", "projectField": "name"}]" eventpreviewfields="["obligation"]" eventhidefields="["comments","documents","lastupdated","approved","tags"]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
|
|
645
645
|
|
|
646
646
|
<div slot="uploader">
|
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -5474,8 +5474,8 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
5474
5474
|
const mappedCompliances = await this.fetchMappedCompliances();
|
|
5475
5475
|
// const mappedStatutes = await this.fetchMappedStatutes();
|
|
5476
5476
|
//console.log('countriesJobs', countriesJobs);
|
|
5477
|
-
|
|
5478
|
-
|
|
5477
|
+
console.log('mappedCompliances', mappedCompliances);
|
|
5478
|
+
console.log('mappedCountries', mappedCountries);
|
|
5479
5479
|
for (var i = 0; i < mappedCompliances.data.mappings.mappings.length; i++) {
|
|
5480
5480
|
if (mappedCompliances.data.mappings.mappings[i].id == "33a0deab-e93e-41b7-831a-473f9ea3eea2") {
|
|
5481
5481
|
//console.log('uniqcol zero', mappedCompliances.data.mappings.mappings[i]);
|
|
@@ -10318,7 +10318,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
10318
10318
|
var _a;
|
|
10319
10319
|
//console.log('divelement', divElement);
|
|
10320
10320
|
//console.log('sourcearray', sourceArray);
|
|
10321
|
-
console.log('taggingarray', taggingArray
|
|
10321
|
+
console.log('taggingarray', taggingArray);
|
|
10322
10322
|
//console.log('uniqcols', uniqCols);
|
|
10323
10323
|
//console.log('subfiltervalue', subfilter);
|
|
10324
10324
|
//console.log('arrFeedbackReference', arrFeedbackReference);
|
|
@@ -17131,8 +17131,10 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
17131
17131
|
let resultPresigned = null;
|
|
17132
17132
|
resultPresigned = {};
|
|
17133
17133
|
resultPresigned.data = {};
|
|
17134
|
-
|
|
17135
|
-
|
|
17134
|
+
let tempObj = await this.fetchPresignedUrl(jsRespose.signedUrlGet);
|
|
17135
|
+
resultPresigned.data.mappings = (tempObj.mappings != null) ? tempObj : { mappings: [] };
|
|
17136
|
+
console.log('resultPresigned onboarding1', tempObj);
|
|
17137
|
+
console.log('resultPresigned onboarding', resultPresigned);
|
|
17136
17138
|
// await this.fetchPresignedUrlDelete(jsRespose.signedUrlDelete)
|
|
17137
17139
|
return resultPresigned;
|
|
17138
17140
|
}
|
package/src/sf-i-events.ts
CHANGED
|
@@ -8246,8 +8246,8 @@ export class SfIEvents extends LitElement {
|
|
|
8246
8246
|
const mappedCompliances = await this.fetchMappedCompliances();
|
|
8247
8247
|
// const mappedStatutes = await this.fetchMappedStatutes();
|
|
8248
8248
|
//console.log('countriesJobs', countriesJobs);
|
|
8249
|
-
|
|
8250
|
-
|
|
8249
|
+
console.log('mappedCompliances', mappedCompliances);
|
|
8250
|
+
console.log('mappedCountries', mappedCountries);
|
|
8251
8251
|
|
|
8252
8252
|
|
|
8253
8253
|
for(var i = 0; i < mappedCompliances.data.mappings.mappings.length; i++) {
|
|
@@ -14183,7 +14183,7 @@ export class SfIEvents extends LitElement {
|
|
|
14183
14183
|
|
|
14184
14184
|
//console.log('divelement', divElement);
|
|
14185
14185
|
//console.log('sourcearray', sourceArray);
|
|
14186
|
-
console.log('taggingarray', taggingArray
|
|
14186
|
+
console.log('taggingarray', taggingArray);
|
|
14187
14187
|
//console.log('uniqcols', uniqCols);
|
|
14188
14188
|
//console.log('subfiltervalue', subfilter);
|
|
14189
14189
|
//console.log('arrFeedbackReference', arrFeedbackReference);
|
|
@@ -22945,8 +22945,10 @@ export class SfIEvents extends LitElement {
|
|
|
22945
22945
|
let resultPresigned : any = null;
|
|
22946
22946
|
resultPresigned = {};
|
|
22947
22947
|
resultPresigned.data = {};
|
|
22948
|
-
|
|
22949
|
-
|
|
22948
|
+
let tempObj = await this.fetchPresignedUrl(jsRespose.signedUrlGet)
|
|
22949
|
+
resultPresigned.data.mappings = (tempObj.mappings != null) ? tempObj : {mappings:[]};
|
|
22950
|
+
console.log('resultPresigned onboarding1', tempObj);
|
|
22951
|
+
console.log('resultPresigned onboarding', resultPresigned);
|
|
22950
22952
|
// await this.fetchPresignedUrlDelete(jsRespose.signedUrlDelete)
|
|
22951
22953
|
return resultPresigned;
|
|
22952
22954
|
|