sf-i-events 1.0.731 → 1.0.733
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 -9
- package/package.json +1 -1
- package/sf-i-events.js +21 -18
- package/src/sf-i-events.ts +22 -18
package/dev/index.html
CHANGED
|
@@ -625,20 +625,15 @@
|
|
|
625
625
|
</head>
|
|
626
626
|
<body>
|
|
627
627
|
|
|
628
|
-
<sf-i-events
|
|
628
|
+
<sf-i-events projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" projectname="Signode" mode="onboarding" locations="{"India":{"Telangana":["Corporate Office","Telangana Plant"],"Karnataka":["Prime","Stopak","Wintek","Tools","Conversion"],"Gujarat":["Dahej"],"Dadra and Nagar Haveli and Daman and Diu":["Silvassa"],"Uttarakhand":["Uttarakhand"],"Maharashtra":["Pune"],"Andhra Pradesh":["AP"],"Chhattisgarh":["Chhattisgarh"],"Goa":["Goa"],"Himachal Pradesh":["HP"],"Haryana":["Haryana"],"Jharkhand":["Jharkhand"],"Madhya Pradesh":["MP"],"Odisha":["Odisha"],"Punjab":["Punjab"],"Tamil Nadu":["TN"],"Uttar Pradesh":["UP"],"West Bengal":["WB"]}}" 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">
|
|
629
629
|
|
|
630
|
-
|
|
631
|
-
<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>
|
|
632
|
-
</div>
|
|
633
|
-
<div slot="reporting">
|
|
634
|
-
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
635
|
-
</div>
|
|
636
|
-
|
|
637
|
-
</sf-i-events>
|
|
630
|
+
</sf-i-events>
|
|
638
631
|
|
|
639
632
|
|
|
640
633
|
<script>
|
|
641
634
|
|
|
635
|
+
console.log = function() {}
|
|
636
|
+
|
|
642
637
|
function setCookie(name,value,days) {
|
|
643
638
|
var expires = "";
|
|
644
639
|
if (days) {
|
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -8423,7 +8423,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
8423
8423
|
const selectedIndex = e.currentTarget.id.split('-')[1];
|
|
8424
8424
|
// taggingArray.data.mappings.mappings = [];
|
|
8425
8425
|
const tempArray = [];
|
|
8426
|
-
for (
|
|
8426
|
+
for (let count = 0; count < sourceArray.data.mappings.mappings.length; count++) {
|
|
8427
8427
|
//console.log('selectedindexchecking', selectedIndex, count, this.selectedCbs.includes(selectedIndex), this.selectedCbs.includes(count));
|
|
8428
8428
|
//taggingArray.data.mappings.mappings[count] = sourceArray.data.mappings.mappings[count];
|
|
8429
8429
|
//taggingArray.data.mappings.mappings.push(sourceArray.data.mappings.mappings[count]);
|
|
@@ -8579,7 +8579,9 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
8579
8579
|
};
|
|
8580
8580
|
this.saveTagging = async (mapping, uploadFunction, refreshFunction, saveInBackground) => {
|
|
8581
8581
|
async function process() {
|
|
8582
|
-
|
|
8582
|
+
console.log = function () {
|
|
8583
|
+
console.log('Saving...', mapping);
|
|
8584
|
+
};
|
|
8583
8585
|
await uploadFunction(mapping);
|
|
8584
8586
|
if (!saveInBackground)
|
|
8585
8587
|
refreshFunction();
|
|
@@ -8914,7 +8916,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
8914
8916
|
for (k = 0; k < taggingArray.data.mappings.mappings.length; k++) {
|
|
8915
8917
|
if (taggingArray.data.mappings.mappings[k].id == sourceArray.data.mappings.mappings[i].id) {
|
|
8916
8918
|
if (taggingArray.data.mappings.mappings[k].id == "62330e24-298d-4ef2-9449-c0e400e37cac") {
|
|
8917
|
-
console.log('found', taggingArray.data.mappings.mappings[k]);
|
|
8919
|
+
// console.log('found', taggingArray.data.mappings.mappings[k]);
|
|
8918
8920
|
//console.log('before before filtermatch',sourceCols[l],JSON.parse(sourceArray.data.mappings.mappings[0].cols)[j], colCountry, (sourceArray.data.mappings.mappings[i]), (sourceArray.data.mappings.mappings[i].data), colState);
|
|
8919
8921
|
//console.log('before filtermatch', colCountry, JSON.parse(sourceArray.data.mappings.mappings[i].data)[colCountry], colState, JSON.parse(sourceArray.data.mappings.mappings[i].data)[colState], JSON.parse(sourceArray.data.mappings.mappings[i].data)[colSubcategory]);
|
|
8920
8922
|
}
|
|
@@ -10388,56 +10390,56 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
10388
10390
|
html += '</div>';
|
|
10389
10391
|
this._SfOnboardingTriggersContainer.innerHTML = html;
|
|
10390
10392
|
//console.log('rendering triggers...', (this._SfOnboardingTriggersContainer as HTMLDivElement).innerHTML);
|
|
10391
|
-
this.renderTaggingTable(this._SfOnboardingTriggersListContainer, mappedSerializedAlertSchedules, mappedTriggers, [
|
|
10393
|
+
this.renderTaggingTable(this._SfOnboardingTriggersListContainer, mappedSerializedAlertSchedules, mappedTriggers, [], this.uploadTriggersMapping, this.loadOnboardingTriggers, "triggers", ["id", "entityname", "locationname"], '', "", ["triggers"], triggersJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10392
10394
|
};
|
|
10393
10395
|
this.renderOnboardingInternalControls = (mappedInternalControls, mappedSerializedTriggers, internalcontrolsJobs) => {
|
|
10394
10396
|
var html = '';
|
|
10395
10397
|
html += '<div id="internalcontrols-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10396
10398
|
html += '</div>';
|
|
10397
10399
|
this._SfOnboardingInternalControlsContainer.innerHTML = html;
|
|
10398
|
-
this.renderTaggingTable(this._SfOnboardingInternalControlsListContainer, mappedSerializedTriggers, mappedInternalControls, [
|
|
10400
|
+
this.renderTaggingTable(this._SfOnboardingInternalControlsListContainer, mappedSerializedTriggers, mappedInternalControls, [], this.uploadInternalControlsMapping, this.loadOnboardingInternalControls, "internalcontrols", ["id", "entityname", "locationname"], '', "", ["internalcontrols"], internalcontrolsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10399
10401
|
};
|
|
10400
10402
|
this.renderOnboardingActivations = (mappedActivations, mappedSerializedExtensions, activationsJobs) => {
|
|
10401
10403
|
var html = '';
|
|
10402
10404
|
html += '<div id="activations-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10403
10405
|
html += '</div>';
|
|
10404
10406
|
this._SfOnboardingActivationsContainer.innerHTML = html;
|
|
10405
|
-
this.renderTaggingTable(this._SfOnboardingActivationListContainer, mappedSerializedExtensions, mappedActivations, [
|
|
10407
|
+
this.renderTaggingTable(this._SfOnboardingActivationListContainer, mappedSerializedExtensions, mappedActivations, [], this.uploadActivationsMapping, this.loadOnboardingActivations, "activations", ["id", "entityname", "locationname"], '', "", ["activations"], activationsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10406
10408
|
};
|
|
10407
10409
|
this.renderOnboardingInvalidations = (mappedInvalidations, mappedSerializedExtensions, invalidationsJobs) => {
|
|
10408
10410
|
var html = '';
|
|
10409
10411
|
html += '<div id="invalidations-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10410
10412
|
html += '</div>';
|
|
10411
10413
|
this._SfOnboardingInvalidationsContainer.innerHTML = html;
|
|
10412
|
-
this.renderTaggingTable(this._SfOnboardingInvalidationListContainer, mappedSerializedExtensions, mappedInvalidations, [
|
|
10414
|
+
this.renderTaggingTable(this._SfOnboardingInvalidationListContainer, mappedSerializedExtensions, mappedInvalidations, [], this.uploadInvalidationsMapping, this.loadOnboardingInvalidations, "invalidations", ["id", "entityname", "locationname"], '', "", ["invalidations"], invalidationsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10413
10415
|
};
|
|
10414
10416
|
this.renderOnboardingAlertSchedules = (mappedAlertSchedules, mappedSerializedExtensions, alertschedulesJobs) => {
|
|
10415
10417
|
var html = '';
|
|
10416
10418
|
html += '<div id="alertschedules-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10417
10419
|
html += '</div>';
|
|
10418
10420
|
this._SfOnboardingAlertSchedulesContainer.innerHTML = html;
|
|
10419
|
-
this.renderTaggingTable(this._SfOnboardingAlertSchedulesListContainer, mappedSerializedExtensions, mappedAlertSchedules, [
|
|
10421
|
+
this.renderTaggingTable(this._SfOnboardingAlertSchedulesListContainer, mappedSerializedExtensions, mappedAlertSchedules, [], this.uploadAlertSchedulesMapping, this.loadOnboardingAlertSchedules, "alertschedules", ["id", "entityname", "locationname"], '', "", ["alertschedules"], alertschedulesJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10420
10422
|
};
|
|
10421
10423
|
this.renderOnboardingExtensions = (mappedExtensions, mappedSerializedDuedates, extensionsJobs) => {
|
|
10422
10424
|
var html = '';
|
|
10423
10425
|
html += '<div id="extensions-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10424
10426
|
html += '</div>';
|
|
10425
10427
|
this._SfOnboardingExtensionsContainer.innerHTML = html;
|
|
10426
|
-
this.renderTaggingTable(this._SfOnboardingExtensionsListContainer, mappedSerializedDuedates, mappedExtensions, [
|
|
10428
|
+
this.renderTaggingTable(this._SfOnboardingExtensionsListContainer, mappedSerializedDuedates, mappedExtensions, [], this.uploadExtensionsMapping, this.loadOnboardingExtensions, "extensions", ["id", "entityname", "locationname"], '', "", ["extensions"], extensionsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10427
10429
|
};
|
|
10428
10430
|
this.renderOnboardingDuedates = (mappedDuedates, mappedSerializedMakerCheckers, duedatesJobs) => {
|
|
10429
10431
|
var html = '';
|
|
10430
10432
|
html += '<div id="duedates-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10431
10433
|
html += '</div>';
|
|
10432
10434
|
this._SfOnboardingDuedatesContainer.innerHTML = html;
|
|
10433
|
-
this.renderTaggingTable(this._SfOnboardingDuedatesListContainer, mappedSerializedMakerCheckers, mappedDuedates, [
|
|
10435
|
+
this.renderTaggingTable(this._SfOnboardingDuedatesListContainer, mappedSerializedMakerCheckers, mappedDuedates, [], this.uploadDuedatesMapping, this.loadOnboardingDuedates, "duedates", ["id", "entityname", "locationname"], '', "", ["duedates"], duedatesJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10434
10436
|
};
|
|
10435
10437
|
this.renderOnboardingReporters = (mappedReporters, mappedSerializedTags, reportersJobs, _arrFeedbackReference) => {
|
|
10436
10438
|
var html = '';
|
|
10437
10439
|
html += '<div id="reporters-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10438
10440
|
html += '</div>';
|
|
10439
10441
|
this._SfOnboardingReportersContainer.innerHTML = html;
|
|
10440
|
-
this.renderTaggingTable(this._SfOnboardingReportersListContainer, mappedSerializedTags, mappedReporters, [
|
|
10442
|
+
this.renderTaggingTable(this._SfOnboardingReportersListContainer, mappedSerializedTags, mappedReporters, [], this.uploadReportersMapping, this.loadOnboardingReporters, "reporters", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["reporters"], reportersJobs, null, ["Client remarks", "FlaggGRC response"], null, "Guidelines", "");
|
|
10441
10443
|
};
|
|
10442
10444
|
this.renderOnboardingApprovers = (mappedApprovers, mappedSerializedReporters, approversJobs, _arrFeedbackReference) => {
|
|
10443
10445
|
var html = '';
|
|
@@ -10451,21 +10453,21 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
10451
10453
|
html += '<div id="functionheads-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10452
10454
|
html += '</div>';
|
|
10453
10455
|
this._SfOnboardingFunctionHeadsContainer.innerHTML = html;
|
|
10454
|
-
this.renderTaggingTable(this._SfOnboardingFunctionHeadsListContainer, mappedSerializedApprovers, mappedFunctionHeads, [
|
|
10456
|
+
this.renderTaggingTable(this._SfOnboardingFunctionHeadsListContainer, mappedSerializedApprovers, mappedFunctionHeads, [], this.uploadFunctionHeadsMapping, this.loadOnboardingFunctionHeads, "functionheads", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["functionheads"], functionHeadsJobs, null, ["Client remarks", "FlaggGRC response"], null, "Guidelines", "");
|
|
10455
10457
|
};
|
|
10456
10458
|
this.renderOnboardingMakerCheckers = (mappedMakerCheckers, mappedSerializedDocs, makerCheckerJobs) => {
|
|
10457
10459
|
var html = '';
|
|
10458
10460
|
html += '<div id="makercheckers-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10459
10461
|
html += '</div>';
|
|
10460
10462
|
this._SfOnboardingMakerCheckersContainer.innerHTML = html;
|
|
10461
|
-
this.renderTaggingTable(this._SfOnboardingMakerCheckersListContainer, mappedSerializedDocs, mappedMakerCheckers, [
|
|
10463
|
+
this.renderTaggingTable(this._SfOnboardingMakerCheckersListContainer, mappedSerializedDocs, mappedMakerCheckers, [], this.uploadMakerCheckersMapping, this.loadOnboardingMakerCheckers, "makercheckers", ["id", "entityname", "locationname"], this.apiIdTags, "&MakerChecker", ["makercheckers"], makerCheckerJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10462
10464
|
};
|
|
10463
10465
|
this.renderOnboardingDocs = (mappedDocs, mappedSerializedViewers, docsJobs) => {
|
|
10464
10466
|
var html = '';
|
|
10465
10467
|
html += '<div id="docs-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10466
10468
|
html += '</div>';
|
|
10467
10469
|
this._SfOnboardingDocsContainer.innerHTML = html;
|
|
10468
|
-
this.renderTaggingTable(this._SfOnboardingDocsListContainer, mappedSerializedViewers, mappedDocs, [
|
|
10470
|
+
this.renderTaggingTable(this._SfOnboardingDocsListContainer, mappedSerializedViewers, mappedDocs, [], this.uploadDocsMapping, this.loadOnboardingDocs, "docs", ["id", "entityname", "locationname"], this.apiIdTags, "&MakerChecker", ["docs"], docsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10469
10471
|
};
|
|
10470
10472
|
this.renderOnboardingAuditors = (mappedAuditors, mappedSerializedFunctionheads, auditorsJobs, _arrFeedbackReference) => {
|
|
10471
10473
|
//console.log('inside rendering auditors..');
|
|
@@ -10473,7 +10475,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
10473
10475
|
html += '<div id="auditors-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10474
10476
|
html += '</div>';
|
|
10475
10477
|
this._SfOnboardingAuditorsContainer.innerHTML = html;
|
|
10476
|
-
this.renderTaggingTable(this._SfOnboardingAuditorsListContainer, mappedSerializedFunctionheads, mappedAuditors, [
|
|
10478
|
+
this.renderTaggingTable(this._SfOnboardingAuditorsListContainer, mappedSerializedFunctionheads, mappedAuditors, [], this.uploadAuditorsMapping, this.loadOnboardingAuditors, "auditors", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["auditors"], auditorsJobs, null, ["Client remarks", "FlaggGRC response"], null, "Guidelines", "");
|
|
10477
10479
|
};
|
|
10478
10480
|
this.renderOnboardingViewers = (mappedViewers, mappedSerializedAuditors, viewersJobs, _arrFeedbackReference) => {
|
|
10479
10481
|
//console.log('inside rendering viewers..');
|
|
@@ -10481,14 +10483,14 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
10481
10483
|
html += '<div id="viewers-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10482
10484
|
html += '</div>';
|
|
10483
10485
|
this._SfOnboardingViewersContainer.innerHTML = html;
|
|
10484
|
-
this.renderTaggingTable(this._SfOnboardingViewersListContainer, mappedSerializedAuditors, mappedViewers, [
|
|
10486
|
+
this.renderTaggingTable(this._SfOnboardingViewersListContainer, mappedSerializedAuditors, mappedViewers, [], this.uploadViewersMapping, this.loadOnboardingViewers, "viewers", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["viewers"], viewersJobs, null, ["Client remarks", "FlaggGRC response"], null, "Guidelines", "");
|
|
10485
10487
|
};
|
|
10486
10488
|
this.renderOnboardingTags = (mappedTags, mappedSerializedFunctions, tagsJobs) => {
|
|
10487
10489
|
var html = '';
|
|
10488
10490
|
html += '<div id="tags-list-container" class="d-flex flex-col w-100 scroll-x">';
|
|
10489
10491
|
html += '</div>';
|
|
10490
10492
|
this._SfOnboardingTagsContainer.innerHTML = html;
|
|
10491
|
-
this.renderTaggingTable(this._SfOnboardingTagsListContainer, mappedSerializedFunctions, mappedTags, [
|
|
10493
|
+
this.renderTaggingTable(this._SfOnboardingTagsListContainer, mappedSerializedFunctions, mappedTags, [], this.uploadTagsMapping, this.loadOnboardingTags, "tags", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Tag", ["tags"], tagsJobs, "tagtype", ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10492
10494
|
};
|
|
10493
10495
|
this.renderOnboardingFunctions = (mappedFunctions, mappedSerializedLocations, functionsJobs) => {
|
|
10494
10496
|
var html = '';
|
|
@@ -10500,7 +10502,8 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
10500
10502
|
}
|
|
10501
10503
|
}
|
|
10502
10504
|
this._SfOnboardingFunctionsContainer.innerHTML = html;
|
|
10503
|
-
this.renderTaggingTable(this._SfOnboardingFunctionsListContainer,
|
|
10505
|
+
// this.renderTaggingTable((this._SfOnboardingFunctionsListContainer as HTMLDivElement),mappedSerializedLocations, mappedFunctions, ["obligation","firstlineofdefence", "country", "statute", "reference"], this.uploadFunctionsMapping, this.loadOnboardingFunctions, "functions", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Function", ["functions"], functionsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10506
|
+
this.renderTaggingTable(this._SfOnboardingFunctionsListContainer, mappedSerializedLocations, mappedFunctions, [], this.uploadFunctionsMapping, this.loadOnboardingFunctions, "functions", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Function", ["functions"], functionsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
10504
10507
|
};
|
|
10505
10508
|
this.renderOnboardingLocations = (mappedLocations, mappedSerializedEntities, locationsJobs) => {
|
|
10506
10509
|
var html = '';
|
package/src/sf-i-events.ts
CHANGED
|
@@ -12010,7 +12010,7 @@ export class SfIEvents extends LitElement {
|
|
|
12010
12010
|
|
|
12011
12011
|
const tempArray = [];
|
|
12012
12012
|
|
|
12013
|
-
for(
|
|
12013
|
+
for(let count = 0; count < sourceArray.data.mappings.mappings.length; count++) {
|
|
12014
12014
|
|
|
12015
12015
|
//console.log('selectedindexchecking', selectedIndex, count, this.selectedCbs.includes(selectedIndex), this.selectedCbs.includes(count));
|
|
12016
12016
|
//taggingArray.data.mappings.mappings[count] = sourceArray.data.mappings.mappings[count];
|
|
@@ -12212,7 +12212,10 @@ export class SfIEvents extends LitElement {
|
|
|
12212
12212
|
|
|
12213
12213
|
async function process() {
|
|
12214
12214
|
|
|
12215
|
-
|
|
12215
|
+
console.log = function() {
|
|
12216
|
+
console.log('Saving...', mapping);
|
|
12217
|
+
}
|
|
12218
|
+
|
|
12216
12219
|
|
|
12217
12220
|
await uploadFunction(mapping);
|
|
12218
12221
|
if(!saveInBackground) refreshFunction();
|
|
@@ -12655,7 +12658,7 @@ export class SfIEvents extends LitElement {
|
|
|
12655
12658
|
if(taggingArray.data.mappings.mappings[k].id == sourceArray.data.mappings.mappings[i].id) {
|
|
12656
12659
|
if(taggingArray.data.mappings.mappings[k].id == "62330e24-298d-4ef2-9449-c0e400e37cac") {
|
|
12657
12660
|
|
|
12658
|
-
console.log('found', taggingArray.data.mappings.mappings[k]);
|
|
12661
|
+
// console.log('found', taggingArray.data.mappings.mappings[k]);
|
|
12659
12662
|
//console.log('before before filtermatch',sourceCols[l],JSON.parse(sourceArray.data.mappings.mappings[0].cols)[j], colCountry, (sourceArray.data.mappings.mappings[i]), (sourceArray.data.mappings.mappings[i].data), colState);
|
|
12660
12663
|
//console.log('before filtermatch', colCountry, JSON.parse(sourceArray.data.mappings.mappings[i].data)[colCountry], colState, JSON.parse(sourceArray.data.mappings.mappings[i].data)[colState], JSON.parse(sourceArray.data.mappings.mappings[i].data)[colSubcategory]);
|
|
12661
12664
|
|
|
@@ -14586,7 +14589,7 @@ export class SfIEvents extends LitElement {
|
|
|
14586
14589
|
|
|
14587
14590
|
//console.log('rendering triggers...', (this._SfOnboardingTriggersContainer as HTMLDivElement).innerHTML);
|
|
14588
14591
|
|
|
14589
|
-
this.renderTaggingTable((this._SfOnboardingTriggersListContainer as HTMLDivElement),mappedSerializedAlertSchedules, mappedTriggers, [
|
|
14592
|
+
this.renderTaggingTable((this._SfOnboardingTriggersListContainer as HTMLDivElement),mappedSerializedAlertSchedules, mappedTriggers, [], this.uploadTriggersMapping, this.loadOnboardingTriggers, "triggers", ["id", "entityname", "locationname"], '', "", ["triggers"], triggersJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14590
14593
|
|
|
14591
14594
|
}
|
|
14592
14595
|
|
|
@@ -14599,7 +14602,7 @@ export class SfIEvents extends LitElement {
|
|
|
14599
14602
|
|
|
14600
14603
|
(this._SfOnboardingInternalControlsContainer as HTMLDivElement).innerHTML = html;
|
|
14601
14604
|
|
|
14602
|
-
this.renderTaggingTable((this._SfOnboardingInternalControlsListContainer as HTMLDivElement),mappedSerializedTriggers, mappedInternalControls, [
|
|
14605
|
+
this.renderTaggingTable((this._SfOnboardingInternalControlsListContainer as HTMLDivElement),mappedSerializedTriggers, mappedInternalControls, [], this.uploadInternalControlsMapping, this.loadOnboardingInternalControls, "internalcontrols", ["id", "entityname", "locationname"], '', "", ["internalcontrols"], internalcontrolsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14603
14606
|
|
|
14604
14607
|
}
|
|
14605
14608
|
|
|
@@ -14612,7 +14615,7 @@ export class SfIEvents extends LitElement {
|
|
|
14612
14615
|
|
|
14613
14616
|
(this._SfOnboardingActivationsContainer as HTMLDivElement).innerHTML = html;
|
|
14614
14617
|
|
|
14615
|
-
this.renderTaggingTable((this._SfOnboardingActivationListContainer as HTMLDivElement),mappedSerializedExtensions, mappedActivations, [
|
|
14618
|
+
this.renderTaggingTable((this._SfOnboardingActivationListContainer as HTMLDivElement),mappedSerializedExtensions, mappedActivations, [ ], this.uploadActivationsMapping, this.loadOnboardingActivations, "activations", ["id", "entityname", "locationname"], '', "", ["activations"], activationsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14616
14619
|
|
|
14617
14620
|
}
|
|
14618
14621
|
|
|
@@ -14625,7 +14628,7 @@ export class SfIEvents extends LitElement {
|
|
|
14625
14628
|
|
|
14626
14629
|
(this._SfOnboardingInvalidationsContainer as HTMLDivElement).innerHTML = html;
|
|
14627
14630
|
|
|
14628
|
-
this.renderTaggingTable((this._SfOnboardingInvalidationListContainer as HTMLDivElement),mappedSerializedExtensions, mappedInvalidations, [
|
|
14631
|
+
this.renderTaggingTable((this._SfOnboardingInvalidationListContainer as HTMLDivElement),mappedSerializedExtensions, mappedInvalidations, [], this.uploadInvalidationsMapping, this.loadOnboardingInvalidations, "invalidations", ["id", "entityname", "locationname"], '', "", ["invalidations"], invalidationsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14629
14632
|
|
|
14630
14633
|
}
|
|
14631
14634
|
|
|
@@ -14638,7 +14641,7 @@ export class SfIEvents extends LitElement {
|
|
|
14638
14641
|
|
|
14639
14642
|
(this._SfOnboardingAlertSchedulesContainer as HTMLDivElement).innerHTML = html;
|
|
14640
14643
|
|
|
14641
|
-
this.renderTaggingTable((this._SfOnboardingAlertSchedulesListContainer as HTMLDivElement),mappedSerializedExtensions, mappedAlertSchedules, [
|
|
14644
|
+
this.renderTaggingTable((this._SfOnboardingAlertSchedulesListContainer as HTMLDivElement),mappedSerializedExtensions, mappedAlertSchedules, [ ], this.uploadAlertSchedulesMapping, this.loadOnboardingAlertSchedules, "alertschedules", ["id", "entityname", "locationname"], '', "", ["alertschedules"], alertschedulesJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14642
14645
|
|
|
14643
14646
|
}
|
|
14644
14647
|
|
|
@@ -14651,7 +14654,7 @@ export class SfIEvents extends LitElement {
|
|
|
14651
14654
|
|
|
14652
14655
|
(this._SfOnboardingExtensionsContainer as HTMLDivElement).innerHTML = html;
|
|
14653
14656
|
|
|
14654
|
-
this.renderTaggingTable((this._SfOnboardingExtensionsListContainer as HTMLDivElement),mappedSerializedDuedates, mappedExtensions, [
|
|
14657
|
+
this.renderTaggingTable((this._SfOnboardingExtensionsListContainer as HTMLDivElement),mappedSerializedDuedates, mappedExtensions, [], this.uploadExtensionsMapping, this.loadOnboardingExtensions, "extensions", ["id", "entityname", "locationname"], '', "", ["extensions"], extensionsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14655
14658
|
|
|
14656
14659
|
}
|
|
14657
14660
|
|
|
@@ -14664,7 +14667,7 @@ export class SfIEvents extends LitElement {
|
|
|
14664
14667
|
|
|
14665
14668
|
(this._SfOnboardingDuedatesContainer as HTMLDivElement).innerHTML = html;
|
|
14666
14669
|
|
|
14667
|
-
this.renderTaggingTable((this._SfOnboardingDuedatesListContainer as HTMLDivElement),mappedSerializedMakerCheckers, mappedDuedates, [
|
|
14670
|
+
this.renderTaggingTable((this._SfOnboardingDuedatesListContainer as HTMLDivElement),mappedSerializedMakerCheckers, mappedDuedates, [], this.uploadDuedatesMapping, this.loadOnboardingDuedates, "duedates", ["id", "entityname", "locationname"], '', "", ["duedates"], duedatesJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14668
14671
|
|
|
14669
14672
|
}
|
|
14670
14673
|
|
|
@@ -14677,7 +14680,7 @@ export class SfIEvents extends LitElement {
|
|
|
14677
14680
|
|
|
14678
14681
|
(this._SfOnboardingReportersContainer as HTMLDivElement).innerHTML = html;
|
|
14679
14682
|
|
|
14680
|
-
this.renderTaggingTable((this._SfOnboardingReportersListContainer as HTMLDivElement),mappedSerializedTags, mappedReporters, [
|
|
14683
|
+
this.renderTaggingTable((this._SfOnboardingReportersListContainer as HTMLDivElement),mappedSerializedTags, mappedReporters, [], this.uploadReportersMapping, this.loadOnboardingReporters, "reporters", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["reporters"], reportersJobs, null, ["Client remarks", "FlaggGRC response"], null, "Guidelines", "");
|
|
14681
14684
|
|
|
14682
14685
|
}
|
|
14683
14686
|
|
|
@@ -14703,7 +14706,7 @@ export class SfIEvents extends LitElement {
|
|
|
14703
14706
|
|
|
14704
14707
|
(this._SfOnboardingFunctionHeadsContainer as HTMLDivElement).innerHTML = html;
|
|
14705
14708
|
|
|
14706
|
-
this.renderTaggingTable((this._SfOnboardingFunctionHeadsListContainer as HTMLDivElement),mappedSerializedApprovers, mappedFunctionHeads, [
|
|
14709
|
+
this.renderTaggingTable((this._SfOnboardingFunctionHeadsListContainer as HTMLDivElement),mappedSerializedApprovers, mappedFunctionHeads, [], this.uploadFunctionHeadsMapping, this.loadOnboardingFunctionHeads, "functionheads", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["functionheads"], functionHeadsJobs, null, ["Client remarks", "FlaggGRC response"], null, "Guidelines", "");
|
|
14707
14710
|
|
|
14708
14711
|
}
|
|
14709
14712
|
|
|
@@ -14716,7 +14719,7 @@ export class SfIEvents extends LitElement {
|
|
|
14716
14719
|
|
|
14717
14720
|
(this._SfOnboardingMakerCheckersContainer as HTMLDivElement).innerHTML = html;
|
|
14718
14721
|
|
|
14719
|
-
this.renderTaggingTable((this._SfOnboardingMakerCheckersListContainer as HTMLDivElement),mappedSerializedDocs, mappedMakerCheckers, [
|
|
14722
|
+
this.renderTaggingTable((this._SfOnboardingMakerCheckersListContainer as HTMLDivElement),mappedSerializedDocs, mappedMakerCheckers, [], this.uploadMakerCheckersMapping, this.loadOnboardingMakerCheckers, "makercheckers", ["id", "entityname", "locationname"], this.apiIdTags, "&MakerChecker", ["makercheckers"], makerCheckerJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14720
14723
|
|
|
14721
14724
|
}
|
|
14722
14725
|
|
|
@@ -14729,7 +14732,7 @@ export class SfIEvents extends LitElement {
|
|
|
14729
14732
|
|
|
14730
14733
|
(this._SfOnboardingDocsContainer as HTMLDivElement).innerHTML = html;
|
|
14731
14734
|
|
|
14732
|
-
this.renderTaggingTable((this._SfOnboardingDocsListContainer as HTMLDivElement),mappedSerializedViewers, mappedDocs, [
|
|
14735
|
+
this.renderTaggingTable((this._SfOnboardingDocsListContainer as HTMLDivElement),mappedSerializedViewers, mappedDocs, [], this.uploadDocsMapping, this.loadOnboardingDocs, "docs", ["id", "entityname", "locationname"], this.apiIdTags, "&MakerChecker", ["docs"], docsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14733
14736
|
|
|
14734
14737
|
}
|
|
14735
14738
|
|
|
@@ -14744,7 +14747,7 @@ export class SfIEvents extends LitElement {
|
|
|
14744
14747
|
|
|
14745
14748
|
(this._SfOnboardingAuditorsContainer as HTMLDivElement).innerHTML = html;
|
|
14746
14749
|
|
|
14747
|
-
this.renderTaggingTable((this._SfOnboardingAuditorsListContainer as HTMLDivElement),mappedSerializedFunctionheads, mappedAuditors, [
|
|
14750
|
+
this.renderTaggingTable((this._SfOnboardingAuditorsListContainer as HTMLDivElement),mappedSerializedFunctionheads, mappedAuditors, [], this.uploadAuditorsMapping, this.loadOnboardingAuditors, "auditors", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["auditors"], auditorsJobs, null, ["Client remarks", "FlaggGRC response"], null, "Guidelines", "");
|
|
14748
14751
|
|
|
14749
14752
|
}
|
|
14750
14753
|
|
|
@@ -14759,7 +14762,7 @@ export class SfIEvents extends LitElement {
|
|
|
14759
14762
|
|
|
14760
14763
|
(this._SfOnboardingViewersContainer as HTMLDivElement).innerHTML = html;
|
|
14761
14764
|
|
|
14762
|
-
this.renderTaggingTable((this._SfOnboardingViewersListContainer as HTMLDivElement),mappedSerializedAuditors, mappedViewers, [
|
|
14765
|
+
this.renderTaggingTable((this._SfOnboardingViewersListContainer as HTMLDivElement),mappedSerializedAuditors, mappedViewers, [], this.uploadViewersMapping, this.loadOnboardingViewers, "viewers", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["viewers"], viewersJobs, null, ["Client remarks", "FlaggGRC response"], null, "Guidelines", "");
|
|
14763
14766
|
|
|
14764
14767
|
}
|
|
14765
14768
|
|
|
@@ -14772,7 +14775,7 @@ export class SfIEvents extends LitElement {
|
|
|
14772
14775
|
|
|
14773
14776
|
(this._SfOnboardingTagsContainer as HTMLDivElement).innerHTML = html;
|
|
14774
14777
|
|
|
14775
|
-
this.renderTaggingTable((this._SfOnboardingTagsListContainer as HTMLDivElement),mappedSerializedFunctions, mappedTags, [
|
|
14778
|
+
this.renderTaggingTable((this._SfOnboardingTagsListContainer as HTMLDivElement),mappedSerializedFunctions, mappedTags, [], this.uploadTagsMapping, this.loadOnboardingTags, "tags", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Tag", ["tags"], tagsJobs, "tagtype", ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14776
14779
|
|
|
14777
14780
|
}
|
|
14778
14781
|
|
|
@@ -14793,7 +14796,8 @@ export class SfIEvents extends LitElement {
|
|
|
14793
14796
|
|
|
14794
14797
|
(this._SfOnboardingFunctionsContainer as HTMLDivElement).innerHTML = html;
|
|
14795
14798
|
|
|
14796
|
-
this.renderTaggingTable((this._SfOnboardingFunctionsListContainer as HTMLDivElement),mappedSerializedLocations, mappedFunctions, ["obligation","firstlineofdefence", "country", "statute", "reference"], this.uploadFunctionsMapping, this.loadOnboardingFunctions, "functions", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Function", ["functions"], functionsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14799
|
+
// this.renderTaggingTable((this._SfOnboardingFunctionsListContainer as HTMLDivElement),mappedSerializedLocations, mappedFunctions, ["obligation","firstlineofdefence", "country", "statute", "reference"], this.uploadFunctionsMapping, this.loadOnboardingFunctions, "functions", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Function", ["functions"], functionsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14800
|
+
this.renderTaggingTable((this._SfOnboardingFunctionsListContainer as HTMLDivElement),mappedSerializedLocations, mappedFunctions, [], this.uploadFunctionsMapping, this.loadOnboardingFunctions, "functions", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Function", ["functions"], functionsJobs, null, ["Client remarks", "FlaggGRC response"], null, "", "");
|
|
14797
14801
|
|
|
14798
14802
|
}
|
|
14799
14803
|
|