sf-i-events 1.0.896 → 1.0.898
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 +16 -2
- package/package.json +1 -1
- package/sf-i-events.js +11 -3
- package/src/sf-i-events.ts +10 -3
package/dev/index.html
CHANGED
|
@@ -786,7 +786,21 @@
|
|
|
786
786
|
</div>
|
|
787
787
|
|
|
788
788
|
</sf-i-events> -->
|
|
789
|
-
<sf-i-events name="
|
|
789
|
+
<sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
|
|
790
|
+
apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
|
|
791
|
+
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
792
|
+
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" mode="next" fill="solid" username="Local Reporter 1"
|
|
793
|
+
userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710"
|
|
794
|
+
projectname="ABC Global" myroles="["reporter"]" eventpreviewfields="["obligation"]"
|
|
795
|
+
eventhidefields="["comments","documents","lastupdated","approved","tags"]"
|
|
796
|
+
blocksize="10" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
|
|
797
|
+
<div slot="uploader"><sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
|
|
798
|
+
allowedextensions="["jpg","png","pdf","xls","xlsx","doc","docx"]"
|
|
799
|
+
extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="31457280"
|
|
800
|
+
allowdownload="yes"></sf-i-uploader></div>
|
|
801
|
+
<div slot="reporting"><sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting></div>
|
|
802
|
+
</sf-i-events>
|
|
803
|
+
<!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
790
804
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
791
805
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
792
806
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
@@ -813,7 +827,7 @@
|
|
|
813
827
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
814
828
|
</div>
|
|
815
829
|
|
|
816
|
-
</sf-i-events>
|
|
830
|
+
</sf-i-events> -->
|
|
817
831
|
<!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
818
832
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
819
833
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -12952,7 +12952,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
12952
12952
|
html += '<div part="detail-summary">';
|
|
12953
12953
|
html += ('<div part="detail-summary-title" class="pl-20 pr-20"><h1>' + event['obligationtitle'] + '</h1></div>');
|
|
12954
12954
|
html += ('<div part="detail-summary-subtitle" class="pl-20 pr-20"><h3>' + event['obligation'].replace(/\n/g, '<br />') + '</h3></div>');
|
|
12955
|
-
html += ('<div part="detail-summary-content" class="pl-20 pr-20">' + ('<sf-i-elastic-text text="' + (event['internalcontrols'] + "").replace(/"/g, "").replace(/\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>') + '</div>');
|
|
12955
|
+
html += ('<div part="detail-summary-content" class="pl-20 pr-20 pt-20">' + ('<sf-i-elastic-text text="' + (event['internalcontrols'] + "").replace(/"/g, "").replace(/\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>') + '</div>');
|
|
12956
12956
|
html += '</div>';
|
|
12957
12957
|
html += '<br />';
|
|
12958
12958
|
html += '<div class="accordian-section section-basic pl-20 pr-20" part="accordian-section">';
|
|
@@ -13068,7 +13068,13 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
13068
13068
|
html += '<div class="m-20">';
|
|
13069
13069
|
html += '<div part="detail-head"><strong>' + complianceFields[i] + '</strong></div>';
|
|
13070
13070
|
for (let attachmentStr of event[complianceFields[i]]) {
|
|
13071
|
-
let attachment =
|
|
13071
|
+
let attachment = {};
|
|
13072
|
+
if (typeof attachmentStr === "object") {
|
|
13073
|
+
attachment = attachmentStr;
|
|
13074
|
+
}
|
|
13075
|
+
else {
|
|
13076
|
+
attachment = JSON.parse(attachmentStr + "");
|
|
13077
|
+
}
|
|
13072
13078
|
html += `<sf-i-uploader class="event-attachment" max="10" apiid="1peg5170d3" allowedextensions="["jpg","png","pdf","xls","xlsx","doc","docx"]" prepopulatedInputArr="${JSON.stringify([{ "key": attachment.key, "ext": attachment.ext }]).replace(/"/g, '"')}" projectid="${this.projectId} " extract="no" mode="view" maximize="yes" hidepreview="yes" displaydetail="yes"></sf-i-uploader>`;
|
|
13073
13079
|
}
|
|
13074
13080
|
html += '</div>';
|
|
@@ -22867,6 +22873,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
22867
22873
|
else {
|
|
22868
22874
|
this._SfIEventsC.querySelector('#next-calendar-data').querySelector('#button-load-next').addEventListener('click', () => {
|
|
22869
22875
|
this._SfIEventsC.querySelector('#next-calendar-data').querySelector('#button-load-next').style.display = 'none';
|
|
22876
|
+
this._SfIEventsC.querySelector('#next-calendar-data').querySelector('#next-tooltip').style.display = 'none';
|
|
22870
22877
|
this.renderRoleTabsNext(0);
|
|
22871
22878
|
});
|
|
22872
22879
|
let changeEvent = new CustomEvent('valueChanged', { bubbles: true });
|
|
@@ -24088,8 +24095,9 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
24088
24095
|
</div>
|
|
24089
24096
|
<div class="d-flex mb-20" id="status-tab-container" part="status-tab-container">
|
|
24090
24097
|
</div>
|
|
24091
|
-
<div id="next-calendar-data" class="calendar-right-data d-flex
|
|
24098
|
+
<div id="next-calendar-data" class="calendar-right-data d-flex w-100">
|
|
24092
24099
|
<button id="button-load-next" part="button-icon" class="material-icons button-icon align-self-start ml-5"><span class="material-symbols-outlined">keyboard_arrow_down</span></button>
|
|
24100
|
+
<div part="next-tooltip" id="next-tooltip" class="align-center d-flex pl-10">Click to view compliances</div>
|
|
24093
24101
|
</div>
|
|
24094
24102
|
<div id="detail-container" class="hide" part="detail-container">
|
|
24095
24103
|
</div>
|
package/src/sf-i-events.ts
CHANGED
|
@@ -16910,7 +16910,7 @@ export class SfIEvents extends LitElement {
|
|
|
16910
16910
|
html += '<div part="detail-summary">';
|
|
16911
16911
|
html += ('<div part="detail-summary-title" class="pl-20 pr-20"><h1>' + event['obligationtitle'] + '</h1></div>');
|
|
16912
16912
|
html += ('<div part="detail-summary-subtitle" class="pl-20 pr-20"><h3>' + event['obligation'].replace(/\n/g, '<br />') + '</h3></div>');
|
|
16913
|
-
html += ('<div part="detail-summary-content" class="pl-20 pr-20">' + ('<sf-i-elastic-text text="' + (event['internalcontrols'] + "").replace(/"/g, "").replace(/\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>') + '</div>');
|
|
16913
|
+
html += ('<div part="detail-summary-content" class="pl-20 pr-20 pt-20">' + ('<sf-i-elastic-text text="' + (event['internalcontrols'] + "").replace(/"/g, "").replace(/\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>') + '</div>');
|
|
16914
16914
|
html += '</div>';
|
|
16915
16915
|
|
|
16916
16916
|
html += '<br />';
|
|
@@ -17053,7 +17053,12 @@ export class SfIEvents extends LitElement {
|
|
|
17053
17053
|
html += '<div class="m-20">';
|
|
17054
17054
|
html += '<div part="detail-head"><strong>' + complianceFields[i] + '</strong></div>'
|
|
17055
17055
|
for (let attachmentStr of event[complianceFields[i]]) {
|
|
17056
|
-
let attachment =
|
|
17056
|
+
let attachment:any = {};
|
|
17057
|
+
if(typeof attachmentStr === "object"){
|
|
17058
|
+
attachment = attachmentStr;
|
|
17059
|
+
}else{
|
|
17060
|
+
attachment = JSON.parse(attachmentStr + "");
|
|
17061
|
+
}
|
|
17057
17062
|
html += `<sf-i-uploader class="event-attachment" max="10" apiid="1peg5170d3" allowedextensions="["jpg","png","pdf","xls","xlsx","doc","docx"]" prepopulatedInputArr="${JSON.stringify([{ "key": attachment.key, "ext": attachment.ext }]).replace(/"/g, '"')}" projectid="${this.projectId} " extract="no" mode="view" maximize="yes" hidepreview="yes" displaydetail="yes"></sf-i-uploader>`
|
|
17058
17063
|
}
|
|
17059
17064
|
html += '</div>';
|
|
@@ -29276,6 +29281,7 @@ export class SfIEvents extends LitElement {
|
|
|
29276
29281
|
} else {
|
|
29277
29282
|
(this._SfIEventsC.querySelector('#next-calendar-data').querySelector('#button-load-next') as HTMLButtonElement).addEventListener('click', () => {
|
|
29278
29283
|
(this._SfIEventsC.querySelector('#next-calendar-data').querySelector('#button-load-next') as HTMLButtonElement).style.display = 'none';
|
|
29284
|
+
(this._SfIEventsC.querySelector('#next-calendar-data').querySelector('#next-tooltip') as HTMLButtonElement).style.display = 'none';
|
|
29279
29285
|
this.renderRoleTabsNext(0)
|
|
29280
29286
|
})
|
|
29281
29287
|
let changeEvent = new CustomEvent('valueChanged', { bubbles: true });
|
|
@@ -30588,8 +30594,9 @@ export class SfIEvents extends LitElement {
|
|
|
30588
30594
|
</div>
|
|
30589
30595
|
<div class="d-flex mb-20" id="status-tab-container" part="status-tab-container">
|
|
30590
30596
|
</div>
|
|
30591
|
-
<div id="next-calendar-data" class="calendar-right-data d-flex
|
|
30597
|
+
<div id="next-calendar-data" class="calendar-right-data d-flex w-100">
|
|
30592
30598
|
<button id="button-load-next" part="button-icon" class="material-icons button-icon align-self-start ml-5"><span class="material-symbols-outlined">keyboard_arrow_down</span></button>
|
|
30599
|
+
<div part="next-tooltip" id="next-tooltip" class="align-center d-flex pl-10">Click to view compliances</div>
|
|
30593
30600
|
</div>
|
|
30594
30601
|
<div id="detail-container" class="hide" part="detail-container">
|
|
30595
30602
|
</div>
|