sf-i-events 1.0.963 → 1.0.964
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/package.json +1 -1
- package/sf-i-events.js +9 -8
- package/src/sf-i-events.ts +9 -8
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -2663,7 +2663,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
2663
2663
|
<sf-i-elastic-text exportparts="highlight,highlight-count"
|
|
2664
2664
|
class="stream-event-title${!isBulk ? ' button-event-title' : ''}"
|
|
2665
2665
|
id="stream-event-title-${mmddSanitized}-${itemNumber}-${moduleType}-${(isReportedLocation) ? 'reportedlocations' : ''}"
|
|
2666
|
-
text="${event.obligationtitle}"
|
|
2666
|
+
text="${event.obligationtitle.replace(/\\n/g, '')}"
|
|
2667
2667
|
minLength="${event.concise == null ? '100' : '60'}">
|
|
2668
2668
|
</sf-i-elastic-text>
|
|
2669
2669
|
${showLocationRisk ? `
|
|
@@ -3849,7 +3849,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
3849
3849
|
else if (uploadGuidance != 0) {
|
|
3850
3850
|
html += '<div part="upload-guidance-content">';
|
|
3851
3851
|
html += '<div part="detail-head" class="mb-5"><strong>Upload Guidance</strong></div>';
|
|
3852
|
-
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event['uploadguidance'] + "").replace(/"/g, "").replace(
|
|
3852
|
+
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event['uploadguidance'] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="150"></sf-i-elastic-text>';
|
|
3853
3853
|
html += '</div>';
|
|
3854
3854
|
}
|
|
3855
3855
|
html += '<div part="uploader-analysis-message" class="uploader-analysis-message mt-20">The analysis is running in the background. You can proceed further.</div>';
|
|
@@ -14220,12 +14220,13 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
14220
14220
|
html += '<div part="detail-summary">';
|
|
14221
14221
|
html += ('<div part="detail-summary-title" class="pl-20 pr-20"><h1>' + event['obligationtitle'] + '</h1></div>');
|
|
14222
14222
|
let obligationArr = event['obligation'].split('More information:');
|
|
14223
|
-
|
|
14223
|
+
console.log('detailsObligation', obligationArr[0].replace(/\\n/g, '<br />'));
|
|
14224
|
+
html += ('<div part="detail-summary-subtitle" class="pl-20 pr-20"><h3>' + obligationArr[0].replace(/\\n/g, '<br />') + '</h3></div>');
|
|
14224
14225
|
if (obligationArr.length > 1) {
|
|
14225
14226
|
let tempObligationArr = obligationArr.slice(1);
|
|
14226
|
-
html += ('<div part="detail-summary-subtitle-more-info" class="pl-20 pr-20 pb-10">' + ('<sf-i-elastic-text exportparts="highlight,highlight-count" text="More information:' + (tempObligationArr.join('')).replace(/"/g, "").replace(
|
|
14227
|
+
html += ('<div part="detail-summary-subtitle-more-info" class="pl-20 pr-20 pb-10">' + ('<sf-i-elastic-text exportparts="highlight,highlight-count" text="More information:' + (tempObligationArr.join('')).replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>') + '</div>');
|
|
14227
14228
|
}
|
|
14228
|
-
html += ('<div part="detail-summary-content" class="pl-20 pr-20 pt-20">' + ('<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event['internalcontrols'] + "").replace(/"/g, "").replace(
|
|
14229
|
+
html += ('<div part="detail-summary-content" class="pl-20 pr-20 pt-20">' + ('<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event['internalcontrols'] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>') + '</div>');
|
|
14229
14230
|
html += '</div>';
|
|
14230
14231
|
html += '<br />';
|
|
14231
14232
|
html += '<div class="accordian-section section-basic pl-20 pr-20" part="accordian-section">';
|
|
@@ -14331,7 +14332,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
14331
14332
|
html += this.getEventTexts(complianceFields[i], JSON.parse(event[complianceFields[i]]), event) + " <a href=\"" + res + "\" target=\"_blank\">Open</a>";
|
|
14332
14333
|
}
|
|
14333
14334
|
else {
|
|
14334
|
-
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[complianceFields[i]] + "").replace(/"/g, "").replace(
|
|
14335
|
+
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[complianceFields[i]] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>' + " <a href=\"" + res + "\" target=\"_blank\">Open</a>";
|
|
14335
14336
|
}
|
|
14336
14337
|
html += '</div>';
|
|
14337
14338
|
}
|
|
@@ -14371,7 +14372,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
14371
14372
|
html += this.getEventTexts(complianceFields[i], JSON.parse(event[complianceFields[i]]), event);
|
|
14372
14373
|
}
|
|
14373
14374
|
else {
|
|
14374
|
-
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[complianceFields[i]] + "").replace(/"/g, "").replace(
|
|
14375
|
+
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[complianceFields[i]] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>';
|
|
14375
14376
|
}
|
|
14376
14377
|
html += '</div>';
|
|
14377
14378
|
}
|
|
@@ -14406,7 +14407,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
14406
14407
|
}
|
|
14407
14408
|
else {
|
|
14408
14409
|
//console.log('grcfield', event[grcFields[i]]);
|
|
14409
|
-
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[grcFields[i]] + "").replace(/"/g, "").replace(
|
|
14410
|
+
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[grcFields[i]] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>';
|
|
14410
14411
|
}
|
|
14411
14412
|
}
|
|
14412
14413
|
html += '</div>';
|
package/src/sf-i-events.ts
CHANGED
|
@@ -4915,7 +4915,7 @@ export class SfIEvents extends LitElement {
|
|
|
4915
4915
|
<sf-i-elastic-text exportparts="highlight,highlight-count"
|
|
4916
4916
|
class="stream-event-title${!isBulk ? ' button-event-title' : ''}"
|
|
4917
4917
|
id="stream-event-title-${mmddSanitized}-${itemNumber}-${moduleType}-${(isReportedLocation) ? 'reportedlocations' : ''}"
|
|
4918
|
-
text="${event.obligationtitle}"
|
|
4918
|
+
text="${event.obligationtitle.replace(/\\n/g,'')}"
|
|
4919
4919
|
minLength="${event.concise == null ? '100' : '60'}">
|
|
4920
4920
|
</sf-i-elastic-text>
|
|
4921
4921
|
${showLocationRisk ? `
|
|
@@ -6230,7 +6230,7 @@ export class SfIEvents extends LitElement {
|
|
|
6230
6230
|
} else if (uploadGuidance != 0) {
|
|
6231
6231
|
html += '<div part="upload-guidance-content">'
|
|
6232
6232
|
html += '<div part="detail-head" class="mb-5"><strong>Upload Guidance</strong></div>'
|
|
6233
|
-
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event['uploadguidance'] + "").replace(/"/g, "").replace(
|
|
6233
|
+
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event['uploadguidance'] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="150"></sf-i-elastic-text>';
|
|
6234
6234
|
html += '</div>'
|
|
6235
6235
|
}
|
|
6236
6236
|
html += '<div part="uploader-analysis-message" class="uploader-analysis-message mt-20">The analysis is running in the background. You can proceed further.</div>'
|
|
@@ -18170,12 +18170,13 @@ export class SfIEvents extends LitElement {
|
|
|
18170
18170
|
html += '<div part="detail-summary">';
|
|
18171
18171
|
html += ('<div part="detail-summary-title" class="pl-20 pr-20"><h1>' + event['obligationtitle'] + '</h1></div>');
|
|
18172
18172
|
let obligationArr = event['obligation'].split('More information:');
|
|
18173
|
-
|
|
18173
|
+
console.log('detailsObligation', obligationArr[0].replace(/\\n/g, '<br />'))
|
|
18174
|
+
html += ('<div part="detail-summary-subtitle" class="pl-20 pr-20"><h3>' + obligationArr[0].replace(/\\n/g, '<br />') + '</h3></div>');
|
|
18174
18175
|
if (obligationArr.length > 1) {
|
|
18175
18176
|
let tempObligationArr = obligationArr.slice(1);
|
|
18176
|
-
html += ('<div part="detail-summary-subtitle-more-info" class="pl-20 pr-20 pb-10">' + ('<sf-i-elastic-text exportparts="highlight,highlight-count" text="More information:' + (tempObligationArr.join('')).replace(/"/g, "").replace(
|
|
18177
|
+
html += ('<div part="detail-summary-subtitle-more-info" class="pl-20 pr-20 pb-10">' + ('<sf-i-elastic-text exportparts="highlight,highlight-count" text="More information:' + (tempObligationArr.join('')).replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>') + '</div>');
|
|
18177
18178
|
}
|
|
18178
|
-
html += ('<div part="detail-summary-content" class="pl-20 pr-20 pt-20">' + ('<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event['internalcontrols'] + "").replace(/"/g, "").replace(
|
|
18179
|
+
html += ('<div part="detail-summary-content" class="pl-20 pr-20 pt-20">' + ('<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event['internalcontrols'] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>') + '</div>');
|
|
18179
18180
|
html += '</div>';
|
|
18180
18181
|
|
|
18181
18182
|
html += '<br />';
|
|
@@ -18307,7 +18308,7 @@ export class SfIEvents extends LitElement {
|
|
|
18307
18308
|
if ((event[complianceFields[i]] + "").indexOf("[") >= 0) {
|
|
18308
18309
|
html += this.getEventTexts(complianceFields[i], JSON.parse(event[complianceFields[i]]), event) + " <a href=\"" + res + "\" target=\"_blank\">Open</a>";
|
|
18309
18310
|
} else {
|
|
18310
|
-
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[complianceFields[i]] + "").replace(/"/g, "").replace(
|
|
18311
|
+
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[complianceFields[i]] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>' + " <a href=\"" + res + "\" target=\"_blank\">Open</a>";
|
|
18311
18312
|
}
|
|
18312
18313
|
html += '</div>';
|
|
18313
18314
|
|
|
@@ -18346,7 +18347,7 @@ export class SfIEvents extends LitElement {
|
|
|
18346
18347
|
if ((event[complianceFields[i]] + "").indexOf("[") >= 0) {
|
|
18347
18348
|
html += this.getEventTexts(complianceFields[i], JSON.parse(event[complianceFields[i]]), event);
|
|
18348
18349
|
} else {
|
|
18349
|
-
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[complianceFields[i]] + "").replace(/"/g, "").replace(
|
|
18350
|
+
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[complianceFields[i]] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>';
|
|
18350
18351
|
}
|
|
18351
18352
|
html += '</div>';
|
|
18352
18353
|
|
|
@@ -18389,7 +18390,7 @@ export class SfIEvents extends LitElement {
|
|
|
18389
18390
|
html += this.getEventTexts(grcFields[i], JSON.parse(event[grcFields[i]]), event);
|
|
18390
18391
|
} else {
|
|
18391
18392
|
//console.log('grcfield', event[grcFields[i]]);
|
|
18392
|
-
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[grcFields[i]] + "").replace(/"/g, "").replace(
|
|
18393
|
+
html += '<sf-i-elastic-text exportparts="highlight,highlight-count" text="' + (event[grcFields[i]] + "").replace(/"/g, "").replace(/\\n/g, '<br />') + '" minLength="80"></sf-i-elastic-text>';
|
|
18393
18394
|
}
|
|
18394
18395
|
}
|
|
18395
18396
|
|