sf-i-events 1.0.917 → 1.0.918
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 +2 -2
- package/src/sf-i-events.ts +2 -2
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -5907,7 +5907,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
5907
5907
|
const searchIndex = e.currentTarget.id.split('-')[4];
|
|
5908
5908
|
const objCountry = events[Object.keys(events)[countryIndex]];
|
|
5909
5909
|
const statute = Object.keys(objCountry)[searchIndex];
|
|
5910
|
-
let csvData = '"ID","Country","Entities","Locations","Statute","Reference","Obligation"\n';
|
|
5910
|
+
let csvData = '"ID","Country","Entities","Locations","Statute","Reference","Obligation Title"\n';
|
|
5911
5911
|
for (var j = 0; j < Object.keys(objCountry[statute]).length; j++) {
|
|
5912
5912
|
const complianceId = Object.keys(objCountry[statute])[j];
|
|
5913
5913
|
const compliance = objCountry[statute][complianceId];
|
|
@@ -5923,7 +5923,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
5923
5923
|
csvData += ('"' + (compliance['locations'] != null && Array.isArray(compliance['locations']) ? compliance['locations'].map((e) => e.split(';')[0].replace(/\([^)]*\)/g, "")).join(',') : '') + '",');
|
|
5924
5924
|
csvData += ('"' + statute + '",');
|
|
5925
5925
|
csvData += ('"' + data[cols.indexOf('reference')] + '",');
|
|
5926
|
-
csvData += ('"' + data[cols.indexOf('
|
|
5926
|
+
csvData += ('"' + data[cols.indexOf('obligationtitle')] + '"\n');
|
|
5927
5927
|
}
|
|
5928
5928
|
console.log('csvData', csvData);
|
|
5929
5929
|
const ts = new Date();
|
package/src/sf-i-events.ts
CHANGED
|
@@ -8492,7 +8492,7 @@ export class SfIEvents extends LitElement {
|
|
|
8492
8492
|
const searchIndex = e.currentTarget.id.split('-')[4];
|
|
8493
8493
|
const objCountry = events[Object.keys(events)[countryIndex]]
|
|
8494
8494
|
const statute = Object.keys(objCountry)[searchIndex];
|
|
8495
|
-
let csvData = '"ID","Country","Entities","Locations","Statute","Reference","Obligation"\n';
|
|
8495
|
+
let csvData = '"ID","Country","Entities","Locations","Statute","Reference","Obligation Title"\n';
|
|
8496
8496
|
for (var j = 0; j < Object.keys(objCountry[statute]).length; j++) {
|
|
8497
8497
|
const complianceId = Object.keys(objCountry[statute])[j];
|
|
8498
8498
|
const compliance = objCountry[statute][complianceId];
|
|
@@ -8509,7 +8509,7 @@ export class SfIEvents extends LitElement {
|
|
|
8509
8509
|
csvData += ('"' + (compliance['locations'] != null && Array.isArray(compliance['locations']) ? compliance['locations'].map((e: string) => e.split(';')[0].replace(/\([^)]*\)/g, "")).join(',') : '') + '",');
|
|
8510
8510
|
csvData += ('"' + statute + '",');
|
|
8511
8511
|
csvData += ('"' + data[cols.indexOf('reference')] + '",');
|
|
8512
|
-
csvData += ('"' + data[cols.indexOf('
|
|
8512
|
+
csvData += ('"' + data[cols.indexOf('obligationtitle')] + '"\n');
|
|
8513
8513
|
}
|
|
8514
8514
|
console.log('csvData', csvData);
|
|
8515
8515
|
const ts = new Date();
|