sf-i-events 1.0.621 → 1.0.623
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 +3 -4
- package/package.json +1 -1
- package/sf-i-events.js +6 -6
- package/sf-i-events.js.map +1 -1
- package/src/sf-i-events.ts +6 -6
package/dev/index.html
CHANGED
|
@@ -619,15 +619,14 @@
|
|
|
619
619
|
</style>
|
|
620
620
|
</head>
|
|
621
621
|
<body>
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
<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" 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" 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">
|
|
622
|
+
<sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance" mode="next" fill="solid" username="Auditor J1" userprofileid="bda0d59b-058b-4098-b0fc-54aa54aa5998" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" myroles="["auditor"]" eventpreviewfields="["obligation"]" eventhidefields="["comments","documents","lastupdated","approved","tags"]" blocksize="5" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024"><div slot="uploader"><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></div></sf-i-events>
|
|
623
|
+
<!-- <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" 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" 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">
|
|
625
624
|
|
|
626
625
|
<div slot="uploader">
|
|
627
626
|
<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>
|
|
628
627
|
</div>
|
|
629
628
|
|
|
630
|
-
</sf-i-events>
|
|
629
|
+
</sf-i-events> -->
|
|
631
630
|
<!-- <sf-i-events projectid="5a05b884-d7ed-4f63-b623-4d305ea2cfd6" projectname="Standard Radiators Private Limited" mode="onboarding" locations="{"India":{"Punjab":["Punjab Warehouse"],"Gujarat":["RO & Unit I","Unit II"]}}" contractstartdate="01/04/2024" apiid="dwqyez2puoxmu.cloudfront.net/event" username="hrushi.mehendale@gmail.com" 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
631
|
|
|
633
632
|
</sf-i-events> -->
|
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -13628,7 +13628,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
13628
13628
|
else {
|
|
13629
13629
|
view = "entity";
|
|
13630
13630
|
}
|
|
13631
|
-
path = "
|
|
13631
|
+
path = "getallcountryevents";
|
|
13632
13632
|
let sDate = "";
|
|
13633
13633
|
let eDate = "";
|
|
13634
13634
|
//console.log('currenttab', this.getCurrentTab());
|
|
@@ -14161,19 +14161,19 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
14161
14161
|
eventsData[mmdd][j][this.FLOW_GRAPH_TIMELINESS] = lateStatus;
|
|
14162
14162
|
eventsData[mmdd][j][this.FLOW_GRAPH_COMPLIANCE] = complianceStatus;
|
|
14163
14163
|
let role = "";
|
|
14164
|
-
if ((JSON.stringify(eventsData[mmdd][j].reporters)).indexOf(this.userProfileId)) {
|
|
14164
|
+
if ((JSON.stringify(eventsData[mmdd][j].reporters)).indexOf(this.userProfileId) >= 0) {
|
|
14165
14165
|
role = 'Reporter';
|
|
14166
14166
|
}
|
|
14167
|
-
else if ((JSON.stringify(eventsData[mmdd][j].approvers)).indexOf(this.userProfileId)) {
|
|
14167
|
+
else if ((JSON.stringify(eventsData[mmdd][j].approvers)).indexOf(this.userProfileId) >= 0) {
|
|
14168
14168
|
role = 'Approver';
|
|
14169
14169
|
}
|
|
14170
|
-
else if ((JSON.stringify(eventsData[mmdd][j].functionheads)).indexOf(this.userProfileId)) {
|
|
14170
|
+
else if ((JSON.stringify(eventsData[mmdd][j].functionheads)).indexOf(this.userProfileId) >= 0) {
|
|
14171
14171
|
role = 'Functionhead';
|
|
14172
14172
|
}
|
|
14173
|
-
else if ((JSON.stringify(eventsData[mmdd][j].auditors)).indexOf(this.userProfileId)) {
|
|
14173
|
+
else if ((JSON.stringify(eventsData[mmdd][j].auditors)).indexOf(this.userProfileId) >= 0) {
|
|
14174
14174
|
role = 'Auditor';
|
|
14175
14175
|
}
|
|
14176
|
-
else if ((JSON.stringify(eventsData[mmdd][j].viewers)).indexOf(this.userProfileId)) {
|
|
14176
|
+
else if ((JSON.stringify(eventsData[mmdd][j].viewers)).indexOf(this.userProfileId) >= 0) {
|
|
14177
14177
|
role = 'Viewer';
|
|
14178
14178
|
}
|
|
14179
14179
|
eventHtml += '<div class="stream-events-container flex-grow">';
|