sf-i-events 1.0.642 → 1.0.644
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 +9 -9
- package/sf-i-events.js.map +1 -1
- package/src/sf-i-events.ts +9 -9
package/dev/index.html
CHANGED
|
@@ -622,17 +622,17 @@
|
|
|
622
622
|
<body>
|
|
623
623
|
<!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="reports" fill="pattern" username="Phanikanth VVSS" userprofileid="588602ad-1e87-4fb8-b1cf-10ac85bcd4c7" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" projectname="Signode" calendarstartyyyy="2024" myrole="reporter">
|
|
624
624
|
</sf-i-events> -->
|
|
625
|
-
<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="Chief Compliance Officer" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" myroles="["functionhead"]" eventpreviewfields="["obligation"]" eventhidefields="["comments","documents","lastupdated","approved","tags"]" blocksize="10" 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>
|
|
625
|
+
<!-- <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="Chief Compliance Officer" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" myroles="["functionhead"]" eventpreviewfields="["obligation"]" eventhidefields="["comments","documents","lastupdated","approved","tags"]" blocksize="10" 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> -->
|
|
626
626
|
<!-- <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="Phanikanth VVSS" userprofileid="588602ad-1e87-4fb8-b1cf-10ac85bcd4c7" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" projectname="Signode" myroles="["approver","reporter","functionhead"]" eventpreviewfields="["obligation"]" eventhidefields="["comments","documents","lastupdated","approved","tags"]" blocksize="10" 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="f0f17ddb-546a-45f5-8a94-a5689fde8e64" maxsize="5242880" allowdownload="yes"></sf-i-uploader></div></sf-i-events> -->
|
|
627
627
|
<!-- <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="reports" fill="solid" username="Chief Compliance Officer" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" myrole="functionhead" calendarstartyyyy="2024" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca"></sf-i-events> -->
|
|
628
628
|
<!-- <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="Ankur Singhal" userprofileid="010834e8-108e-4a87-b58d-f5b429f184be" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" projectname="Signode" myroles="["reporter","viewer","approver"]" 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="f0f17ddb-546a-45f5-8a94-a5689fde8e64" maxsize="5242880" allowdownload="yes"></sf-i-uploader></div></sf-i-events> -->
|
|
629
|
-
|
|
629
|
+
<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="Phanikanth VVSS" userprofileid="588602ad-1e87-4fb8-b1cf-10ac85bcd4c7" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" projectname="Signode" countryid="4ab8901c-4407-4c4d-a2c7-df1a690aa0a3" myrole="approver" 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">
|
|
630
630
|
|
|
631
631
|
<div slot="uploader">
|
|
632
|
-
<sf-i-uploader id="uploader" max="10" apiid="1peg5170d3" allowedextensions="["jpg","png","pdf","xls","xlsx","doc","docx"]" extract="yes" projectid="
|
|
632
|
+
<sf-i-uploader id="uploader" max="10" apiid="1peg5170d3" allowedextensions="["jpg","png","pdf","xls","xlsx","doc","docx"]" extract="yes" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" maxsize="5242880" allowdownload="yes"></sf-i-uploader>
|
|
633
633
|
</div>
|
|
634
634
|
|
|
635
|
-
</sf-i-events>
|
|
635
|
+
</sf-i-events>
|
|
636
636
|
<!-- <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">
|
|
637
637
|
|
|
638
638
|
</sf-i-events> -->
|
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -3250,7 +3250,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
3250
3250
|
const cols = JSON.parse(compliance.cols);
|
|
3251
3251
|
this.csvDataRegisters += ('"' + complianceId + '",');
|
|
3252
3252
|
html += '<tr>';
|
|
3253
|
-
html += ('<td class="td-body" part="td-body-register"><button part="button-icon" id="button-icon-country-' + index + '-' + i + '-' + j + '" class="button-icon-country"><span class="material-symbols-outlined">open_in_new</span></button></td>');
|
|
3253
|
+
html += ('<td class="td-body left-sticky" part="td-body-register"><button part="button-icon" id="button-icon-country-' + index + '-' + i + '-' + j + '" class="button-icon-country"><span class="material-symbols-outlined">open_in_new</span></button></td>');
|
|
3254
3254
|
html += ('<td class="td-body" part="td-body-register"><span part="td-head" style="padding-left: 0px !important">ID</span><br /><sf-i-elastic-text text="' + complianceId + '" minLength="10" lineSize="4"></sf-i-elastic-text></td>');
|
|
3255
3255
|
for (var k = 0; k < cols.length; k++) {
|
|
3256
3256
|
if (!this.EXCLUDE_COLS_FROM_REGS.includes(cols[k].toLowerCase())) {
|
|
@@ -11802,11 +11802,11 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
11802
11802
|
var html = '';
|
|
11803
11803
|
html += '<button class="tab-button mb-10" id="calendar-tab-month" part="' + (selectedTab == this.TAB_STREAM ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Month</button>';
|
|
11804
11804
|
html += '<button class="tab-button mb-10" id="calendar-tab-custom" part="' + (selectedTab == this.TAB_CUSTOM ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Range</button>';
|
|
11805
|
-
html += '<button class="tab-button mb-10" id="calendar-tab-
|
|
11805
|
+
html += '<button class="tab-button mb-10" id="calendar-tab-register" part="' + (selectedTab == this.TAB_REGISTERS ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Registers</button>';
|
|
11806
|
+
html += '<button class="tab-button tab-button-secondary mb-10 ' + (selectedTab == this.TAB_FIND ? '' : 'hide') + '" id="calendar-tab-find" part="' + (selectedTab == this.TAB_FIND ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Search</button>';
|
|
11806
11807
|
html += '<button class="tab-button tab-button-secondary mb-10 ' + (selectedTab == this.TAB_THIS ? '' : 'hide') + '" id="calendar-tab-this" part="' + (selectedTab == this.TAB_THIS ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Current</button>';
|
|
11807
11808
|
html += '<button class="tab-button tab-button-secondary mb-10 ' + (selectedTab == this.TAB_YEAR ? '' : 'hide') + '" id="calendar-tab-year" part="' + (selectedTab == this.TAB_YEAR ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Overview</button>';
|
|
11808
11809
|
html += '<button class="tab-button tab-button-secondary mb-10 ' + (selectedTab == this.TAB_ADHOC ? '' : 'hide') + '" id="calendar-tab-adhoc" part="' + (selectedTab == this.TAB_ADHOC ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Adhoc</button>';
|
|
11809
|
-
html += '<button class="tab-button tab-button-secondary mb-10 ' + (selectedTab == this.TAB_REGISTERS ? '' : 'hide') + '" id="calendar-tab-register" part="' + (selectedTab == this.TAB_REGISTERS ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected') + '">Registers</button>';
|
|
11810
11810
|
html += '<button class="tab-button mb-10" id="calendar-tab-next" part="calendar-tab-button-not-selected"><span class="material-symbols-outlined">arrow_forward_ios</span></button>';
|
|
11811
11811
|
// html += '<button class="tab-button mb-10" id="calendar-tab-upcoming" part="'+(selectedTab == this.TAB_UPCOMING ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected')+'">Upcoming</button>';
|
|
11812
11812
|
// html += '<button class="tab-button mb-10" id="calendar-tab-past" part="'+(selectedTab == this.TAB_PAST ? 'calendar-tab-button-selected' : 'calendar-tab-button-not-selected')+'">Past</button>';
|
|
@@ -14485,37 +14485,37 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
14485
14485
|
this.nextTabRole = this.TAB_ALL_ROLES;
|
|
14486
14486
|
this.nextTabStatus = this.TAB_ALL;
|
|
14487
14487
|
// this.fetchNext(0, this.nextTabRole);
|
|
14488
|
-
this.renderRoleTabsNext(0);
|
|
14488
|
+
this.renderRoleTabsNext(0, loadData);
|
|
14489
14489
|
});
|
|
14490
14490
|
(_b = this._SfRoleTabContainer.querySelector('#consumer-tab-reporter')) === null || _b === void 0 ? void 0 : _b.addEventListener('click', async () => {
|
|
14491
14491
|
this.nextTabRole = this.TAB_REPORTER;
|
|
14492
14492
|
this.nextTabStatus = this.TAB_ALL;
|
|
14493
14493
|
// this.fetchNext(0, this.nextTabRole);
|
|
14494
|
-
this.renderRoleTabsNext(0);
|
|
14494
|
+
this.renderRoleTabsNext(0, loadData);
|
|
14495
14495
|
});
|
|
14496
14496
|
(_c = this._SfRoleTabContainer.querySelector('#consumer-tab-approver')) === null || _c === void 0 ? void 0 : _c.addEventListener('click', async () => {
|
|
14497
14497
|
this.nextTabRole = this.TAB_APPROVER;
|
|
14498
14498
|
this.nextTabStatus = this.TAB_ALL;
|
|
14499
14499
|
// this.fetchNext(0, this.nextTabRole);
|
|
14500
|
-
this.renderRoleTabsNext(0);
|
|
14500
|
+
this.renderRoleTabsNext(0, loadData);
|
|
14501
14501
|
});
|
|
14502
14502
|
(_f = this._SfRoleTabContainer.querySelector('#consumer-tab-functionhead')) === null || _f === void 0 ? void 0 : _f.addEventListener('click', async () => {
|
|
14503
14503
|
this.nextTabRole = this.TAB_FUNCTION_HEAD;
|
|
14504
14504
|
this.nextTabStatus = this.TAB_ALL;
|
|
14505
14505
|
// this.fetchNext(0, this.nextTabRole);
|
|
14506
|
-
this.renderRoleTabsNext(0);
|
|
14506
|
+
this.renderRoleTabsNext(0, loadData);
|
|
14507
14507
|
});
|
|
14508
14508
|
(_g = this._SfRoleTabContainer.querySelector('#consumer-tab-auditor')) === null || _g === void 0 ? void 0 : _g.addEventListener('click', async () => {
|
|
14509
14509
|
this.nextTabRole = this.TAB_AUDITOR;
|
|
14510
14510
|
this.nextTabStatus = this.TAB_ALL;
|
|
14511
14511
|
// this.fetchNext(0, this.nextTabRole);
|
|
14512
|
-
this.renderRoleTabsNext(0);
|
|
14512
|
+
this.renderRoleTabsNext(0, loadData);
|
|
14513
14513
|
});
|
|
14514
14514
|
(_h = this._SfRoleTabContainer.querySelector('#consumer-tab-viewer')) === null || _h === void 0 ? void 0 : _h.addEventListener('click', async () => {
|
|
14515
14515
|
this.nextTabRole = this.TAB_VIEWER;
|
|
14516
14516
|
this.nextTabStatus = this.TAB_ALL;
|
|
14517
14517
|
// this.fetchNext(0, this.nextTabRole);
|
|
14518
|
-
this.renderRoleTabsNext(0);
|
|
14518
|
+
this.renderRoleTabsNext(0, loadData);
|
|
14519
14519
|
});
|
|
14520
14520
|
if (loadData) {
|
|
14521
14521
|
this.renderStatusTabsNext(page);
|