@riab/vendor-due-diligence 0.5.18-beta → 0.5.18
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/dist/vendor-due-diligence.js +58 -51
- package/package.json +1 -1
|
@@ -5798,7 +5798,7 @@ C([
|
|
|
5798
5798
|
qe(["name", "src", "library"])
|
|
5799
5799
|
], Ae.prototype, "setIcon", 1);
|
|
5800
5800
|
Ae.define("sl-icon");
|
|
5801
|
-
const
|
|
5801
|
+
const N = "api", le = "environment", ia = "isLoading", na = "isLoadingMRCVendors", ys = "allVendors", U = "currnetVendor", sa = "currentPage", oa = "mrcVendors", ra = "removeVendor", aa = "userVddFreeDetails", Je = "vendorDataContext", la = "paginationPageContext", ca = "vendorsTableOrderContext";
|
|
5802
5802
|
const F = R`:host{max-width:1200px;margin:0 auto;display:block;font-family:Poppins,sans-serif}label,p,span,td,th{font-size:14px}.text-right{text-align:right}.text-left{text-align:left}.text-center{text-align:center}.main_page_container{font-family:Poppins,sans-serif}.vdd_subtitle_container{display:flex;justify-content:space-between;align-items:center;font-size:20px;font-weight:700;width:100%}.page_title{width:100%}.settings_icon{margin-right:30px}.blue_container{min-height:30px;width:100%;border:1px solid #dee2e6;background-color:#1675ff;border-radius:6px 6px 0 0}.tos_container{margin:0 auto;width:100%;font-family:Poppins;font-style:normal;font-weight:400;font-size:18px;line-height:32px;color:#012330}.tos_headers{width:596px;height:32px;font-family:Poppins;font-style:normal;font-weight:600;font-size:20px;line-height:32px;color:#012330;margin:20px 0}.tos_submit_container{display:flex;flex-direction:row-reverse}.add_vendor_container{min-height:45px;border:1px solid #dee2e6;background-color:#f3f9ff;display:flex;flex-direction:row-reverse;align-items:center;padding:3px 0}.back_to_vendor_container{min-height:45px;border:1px solid #dee2e6;background-color:#f3f9ff;display:flex;flex-direction:row;align-items:center;padding:3px 0}.vendors_back_btn{margin-left:30px;cursor:pointer;font-size:14px;display:flex;align-items:center;line-height:1;width:50%}.send_reminder_btn{width:50%;text-align:end;margin-right:30px;text-decoration:underline;cursor:pointer;color:#0d57c5}.vendors_back_btn sl-icon{margin-right:8px;width:18px;height:18px}.tier_lvl_1{color:#c2280a}.tier_lvl_2{color:#f8991d}.tier_lvl_3{color:#0087db}.tier_lvl_4{color:#34aa44}.tier_lvl_none{color:#1c61c9 text-decoration: underline}#vdd_add_vendor_btn{font-weight:600;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:3px 16px;gap:8px;box-shadow:rgba(0,0,0,.12) 0 1px 5px 0;background:#fff;border:1px solid #fff;box-shadow:0 1px 2px rgba(16,24,40,.05);border-radius:8px;flex:none;order:0;flex-grow:0;margin-right:25px}.vendor-info-wrapper{margin:20px 0 50px 0;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:50px}.vendor-info-wrapper vendor-activity,.vendor-info-wrapper vendor-details{width:100%}.info-section{display:grid;grid-template-columns:1fr 1fr;margin:20px 0;grid-gap:20px}.add_vendor_popup{width:100%;display:flex;flex-direction:column}.add_vendor_popup select{width:100%;padding:.5rem;font-size:14px}.add_vendor_content{width:100%;font-size:14px;color:: #333}.vdd_partnered_desc{margin:1em 0}.spr_label{margin:1em 0}.info_doc_links{margin-bottom:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.vendor_info_doc{text-decoration:underline;color:#333}.vdd_textarea{background:#fafafa;min-width:100%;max-width:100%;width:100%;height:138px;max-height:100px;margin-bottom:40px;font-family:Poppins;padding:20px;box-shadow:0 3px 4px 0 #ced4DA33 inset;border-radius:6px;box-sizing:border-box;border:.5px solid #dee2e6;outline:0}.no_nda_text{margin:1em 0}.other_vendor_notice p{margin:0}#nda_contract_yes_wrapper,.nda-file-input,.spr_vendor_nda_url_item,.vdd_textarea{margin:1em 0}.remove{display:none}.block{display:block}#invite_vendor_name,.vdd_invite_content input{margin:1em 0}.file-container,.file-container-other{display:flex;align-items:flex-start;justify-content:flex-start;width:100%}.nda-file-label{position:absolute;z-index:-1;top:10px;left:40px;font-size:17px;color:#b8b8b8}.button-wrap{position:relative}.nda-file-input{display:inline-block;padding:0 18px;cursor:pointer;border-radius:5px;font-size:14px;font-weight:700}.spr_vendor_upload_file{display:flex}.nda-document-container{padding-bottom:20px}.vdd_ovd_ad_upload_outer_wrapper{padding:10px;border:1px solid #0000001F}h4{font-weight:700;font-size:18px;margin-bottom:0}.send_invite_header{margin-top:35px}input[type=email],input[type=number],input[type=search],input[type=text]{border:1px solid #dee2e6;outline:0;padding:12px;width:100%;border-radius:6px;margin:5px 0;box-sizing:border-box}#invite_vendor_contact,#recipient_email{max-width:349px}.actions-wrapper{margin:20px 0;display:flex;justify-content:end}.actions-wrapper button{margin-right:10px}.remove-doc-btn{margin-right:10px}.no-margin{margin:0!important}.cursor-pointer{cursor:pointer}.sortable-title{display:flex;align-items:center}.sortable-title img{margin-left:10px}.reminder_cont{min-height:552px;min-width:552px}.reminder_header{font-weight:700;font-size:28px;line-height:36px}.reminder_instructions{font-weight:400;font-size:15px;line-height:19px;margin-bottom:40px}.reminder_content{margin-bottom:40px}.reminder_textarea{min-width:100%;max-width:100%;min-height:300px;font-size:16px;line-height:18px;font-weight:400;color:#495057;background-color:#fafafa}.tier-color-3{color:#c2280a}.tier-color-2{color:#f8991d}.tier-color-1{color:#0087db}`;
|
|
5803
5803
|
var pu = Object.defineProperty, Au = Object.getOwnPropertyDescriptor, Bt = (t, e, i, n) => {
|
|
5804
5804
|
for (var s = n > 1 ? void 0 : n ? Au(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
@@ -5835,7 +5835,7 @@ let Fe = class t extends E {
|
|
|
5835
5835
|
};
|
|
5836
5836
|
Fe.styles = [O, F];
|
|
5837
5837
|
Bt([
|
|
5838
|
-
m({ context:
|
|
5838
|
+
m({ context: N }),
|
|
5839
5839
|
d()
|
|
5840
5840
|
], Fe.prototype, "api", 2);
|
|
5841
5841
|
Bt([
|
|
@@ -5854,7 +5854,7 @@ Bt([
|
|
|
5854
5854
|
Fe = Bt([
|
|
5855
5855
|
w("vendor-due-diligence-tos-page")
|
|
5856
5856
|
], Fe);
|
|
5857
|
-
const Iu = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hlY2syLWNpcmNsZSIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNMi41IDhhNS41IDUuNSAwIDAgMSA4LjI1LTQuNzY0LjUuNSAwIDAgMCAuNS0uODY2QTYuNSA2LjUgMCAxIDAgMTQuNSA4YS41LjUgMCAwIDAtMSAwIDUuNSA1LjUgMCAxIDEtMTEgMHoiLz4KICA8cGF0aCBkPSJNMTUuMzU0IDMuMzU0YS41LjUgMCAwIDAtLjcwOC0uNzA4TDggOS4yOTMgNS4zNTQgNi42NDZhLjUuNSAwIDEgMC0uNzA4LjcwOGwzIDNhLjUuNSAwIDAgMCAuNzA4IDBsNy03eiIvPgo8L3N2Zz4=", Cu = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktZXhjbGFtYXRpb24tb2N0YWdvbiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNNC41NC4xNDZBLjUuNSAwIDAgMSA0Ljg5MyAwaDYuMjE0YS41LjUgMCAwIDEgLjM1My4xNDZsNC4zOTQgNC4zOTRhLjUuNSAwIDAgMSAuMTQ2LjM1M3Y2LjIxNGEuNS41IDAgMCAxLS4xNDYuMzUzbC00LjM5NCA0LjM5NGEuNS41IDAgMCAxLS4zNTMuMTQ2SDQuODkzYS41LjUgMCAwIDEtLjM1My0uMTQ2TC4xNDYgMTEuNDZBLjUuNSAwIDAgMSAwIDExLjEwN1Y0Ljg5M2EuNS41IDAgMCAxIC4xNDYtLjM1M0w0LjU0LjE0NnpNNS4xIDEgMSA1LjF2NS44TDUuMSAxNWg1LjhsNC4xLTQuMVY1LjFMMTAuOSAxSDUuMXoiLz4KICA8cGF0aCBkPSJNNy4wMDIgMTFhMSAxIDAgMSAxIDIgMCAxIDEgMCAwIDEtMiAwek03LjEgNC45OTVhLjkwNS45MDUgMCAxIDEgMS44IDBsLS4zNSAzLjUwN2EuNTUyLjU1MiAwIDAgMS0xLjEgMEw3LjEgNC45OTV6Ii8+Cjwvc3ZnPg==", ti = "vendor", Li = "other_vendor", Rt = "client_vendor_docs", z = "non_partnered",
|
|
5857
|
+
const Iu = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hlY2syLWNpcmNsZSIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNMi41IDhhNS41IDUuNSAwIDAgMSA4LjI1LTQuNzY0LjUuNSAwIDAgMCAuNS0uODY2QTYuNSA2LjUgMCAxIDAgMTQuNSA4YS41LjUgMCAwIDAtMSAwIDUuNSA1LjUgMCAxIDEtMTEgMHoiLz4KICA8cGF0aCBkPSJNMTUuMzU0IDMuMzU0YS41LjUgMCAwIDAtLjcwOC0uNzA4TDggOS4yOTMgNS4zNTQgNi42NDZhLjUuNSAwIDEgMC0uNzA4LjcwOGwzIDNhLjUuNSAwIDAgMCAuNzA4IDBsNy03eiIvPgo8L3N2Zz4=", Cu = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktZXhjbGFtYXRpb24tb2N0YWdvbiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNNC41NC4xNDZBLjUuNSAwIDAgMSA0Ljg5MyAwaDYuMjE0YS41LjUgMCAwIDEgLjM1My4xNDZsNC4zOTQgNC4zOTRhLjUuNSAwIDAgMSAuMTQ2LjM1M3Y2LjIxNGEuNS41IDAgMCAxLS4xNDYuMzUzbC00LjM5NCA0LjM5NGEuNS41IDAgMCAxLS4zNTMuMTQ2SDQuODkzYS41LjUgMCAwIDEtLjM1My0uMTQ2TC4xNDYgMTEuNDZBLjUuNSAwIDAgMSAwIDExLjEwN1Y0Ljg5M2EuNS41IDAgMCAxIC4xNDYtLjM1M0w0LjU0LjE0NnpNNS4xIDEgMSA1LjF2NS44TDUuMSAxNWg1LjhsNC4xLTQuMVY1LjFMMTAuOSAxSDUuMXoiLz4KICA8cGF0aCBkPSJNNy4wMDIgMTFhMSAxIDAgMSAxIDIgMCAxIDEgMCAwIDEtMiAwek03LjEgNC45OTVhLjkwNS45MDUgMCAxIDEgMS44IDBsLS4zNSAzLjUwN2EuNTUyLjU1MiAwIDAgMS0xLjEgMEw3LjEgNC45OTV6Ii8+Cjwvc3ZnPg==", ti = "vendor", Li = "other_vendor", Rt = "client_vendor_docs", z = "non_partnered", $ = "partnered", B = "unknown", Yi = "unknown", Ho = {
|
|
5858
5858
|
1: "Low Risk",
|
|
5859
5859
|
2: "Medium Risk",
|
|
5860
5860
|
3: "High Risk"
|
|
@@ -5894,7 +5894,7 @@ const Iu = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMj
|
|
|
5894
5894
|
});
|
|
5895
5895
|
return e.append(i), i.toast();
|
|
5896
5896
|
}, vu = (t, e, i = null) => {
|
|
5897
|
-
if (i ==
|
|
5897
|
+
if (i == $)
|
|
5898
5898
|
return `${t.BASE_URL}/vendor_due_diligence/get_partnered_doc/${Rt}/${e.vendor_account_id}/${e.id}/${encodeURIComponent(e.name)}?download=1&user=${encodeURIComponent(t.user)}`;
|
|
5899
5899
|
if (i == z)
|
|
5900
5900
|
return `${t.BASE_URL}/vendor_due_diligence/get_nonpartnered_doc/${e.request_vendor_id}/${e.id}/${encodeURIComponent(e.name)}?download=1&user=${encodeURIComponent(t.user)}`;
|
|
@@ -6072,7 +6072,7 @@ let Be = class extends E {
|
|
|
6072
6072
|
vendor_type: this.vendor.vendor_type,
|
|
6073
6073
|
is_cyber: this.vendor.is_cyber
|
|
6074
6074
|
};
|
|
6075
|
-
this.vendor.vendor_type ==
|
|
6075
|
+
this.vendor.vendor_type == $ ? (t.vendor_account_id = this.vendor.vendor_account_id, this.vendor.hasOwnProperty("is_requested") && this.vendor.is_requested == 1 && (t.is_requested = 1)) : t.request_vendor_id = this.vendor.request_vendor_id, this.isLoading = !0;
|
|
6076
6076
|
const e = yield this.api.executeRequest("/vendor_due_diligence/update_risk_tier", "POST", t);
|
|
6077
6077
|
this.isLoading = !1, e || y("Error updating vendor risk tier!", this.shadowRoot);
|
|
6078
6078
|
const i = {
|
|
@@ -6113,7 +6113,7 @@ zt([
|
|
|
6113
6113
|
d()
|
|
6114
6114
|
], Be.prototype, "currentVendor", 2);
|
|
6115
6115
|
zt([
|
|
6116
|
-
m({ context:
|
|
6116
|
+
m({ context: N })
|
|
6117
6117
|
], Be.prototype, "api", 2);
|
|
6118
6118
|
zt([
|
|
6119
6119
|
x("#selectRiskTier")
|
|
@@ -6191,7 +6191,7 @@ W([
|
|
|
6191
6191
|
d()
|
|
6192
6192
|
], H.prototype, "environment", 2);
|
|
6193
6193
|
W([
|
|
6194
|
-
m({ context:
|
|
6194
|
+
m({ context: N }),
|
|
6195
6195
|
d()
|
|
6196
6196
|
], H.prototype, "api", 2);
|
|
6197
6197
|
W([
|
|
@@ -6281,7 +6281,7 @@ let ze = class extends E {
|
|
|
6281
6281
|
});
|
|
6282
6282
|
}
|
|
6283
6283
|
render() {
|
|
6284
|
-
return g`<section><div class="blue_container"></div>${this.currentPage === "vendors_page" ? g`<div class="add_vendor_container"><div id="vdd_add_vendor_btn" @click="${() => this.addVendor()}"><sl-icon src="${ku}"></sl-icon>Add Vendor</div></div>` : g`<div class="back_to_vendor_container"><div class="vendors_back_btn" @click="${() => this.goToMainPage()}"><sl-icon src="${Lu}"></sl-icon>BACK</div>${this.currentVendor.vendor_type !== void 0 && (this.currentVendor.vendor_type ===
|
|
6284
|
+
return g`<section><div class="blue_container"></div>${this.currentPage === "vendors_page" ? g`<div class="add_vendor_container"><div id="vdd_add_vendor_btn" @click="${() => this.addVendor()}"><sl-icon src="${ku}"></sl-icon>Add Vendor</div></div>` : g`<div class="back_to_vendor_container"><div class="vendors_back_btn" @click="${() => this.goToMainPage()}"><sl-icon src="${Lu}"></sl-icon>BACK</div>${this.currentVendor.vendor_type !== void 0 && (this.currentVendor.vendor_type === $ || this.currentVendor.vendor_type === z && this.currentVendor.email_amount > 0 || this.currentVendor.vendor_type === Yi && this.currentVendor.has_vendor_invite > 0) ? g`<div class="send_reminder_btn" @click="${() => this.sendReminderEmail()}">Send Reminder</div>` : ""}</div>`}</section>`;
|
|
6285
6285
|
}
|
|
6286
6286
|
};
|
|
6287
6287
|
ze.styles = [O, F];
|
|
@@ -6289,7 +6289,7 @@ Gt([
|
|
|
6289
6289
|
d()
|
|
6290
6290
|
], ze.prototype, "user", 2);
|
|
6291
6291
|
Gt([
|
|
6292
|
-
m({ context:
|
|
6292
|
+
m({ context: N }),
|
|
6293
6293
|
d()
|
|
6294
6294
|
], ze.prototype, "api", 2);
|
|
6295
6295
|
Gt([
|
|
@@ -7192,7 +7192,7 @@ let G = class t extends E {
|
|
|
7192
7192
|
};
|
|
7193
7193
|
G.styles = [F, O, R`#confirmationMsg{font-size:16px}.close-dialog-button.close-add-vendor-dialog{background:#fff}`];
|
|
7194
7194
|
ce([
|
|
7195
|
-
m({ context:
|
|
7195
|
+
m({ context: N }),
|
|
7196
7196
|
d()
|
|
7197
7197
|
], G.prototype, "api", 2);
|
|
7198
7198
|
ce([
|
|
@@ -7278,7 +7278,7 @@ let Pe = class extends E {
|
|
|
7278
7278
|
};
|
|
7279
7279
|
Pe.styles = [F, O];
|
|
7280
7280
|
Et([
|
|
7281
|
-
m({ context:
|
|
7281
|
+
m({ context: N }),
|
|
7282
7282
|
d()
|
|
7283
7283
|
], Pe.prototype, "api", 2);
|
|
7284
7284
|
Et([
|
|
@@ -7973,7 +7973,7 @@ Se([
|
|
|
7973
7973
|
d()
|
|
7974
7974
|
], ie.prototype, "currentVendor", 2);
|
|
7975
7975
|
Se([
|
|
7976
|
-
m({ context:
|
|
7976
|
+
m({ context: N }),
|
|
7977
7977
|
d()
|
|
7978
7978
|
], ie.prototype, "api", 2);
|
|
7979
7979
|
Se([
|
|
@@ -8324,7 +8324,7 @@ xe([
|
|
|
8324
8324
|
d()
|
|
8325
8325
|
], ne.prototype, "files", 2);
|
|
8326
8326
|
xe([
|
|
8327
|
-
m({ context:
|
|
8327
|
+
m({ context: N }),
|
|
8328
8328
|
d()
|
|
8329
8329
|
], ne.prototype, "api", 2);
|
|
8330
8330
|
xe([
|
|
@@ -8506,7 +8506,7 @@ Te([
|
|
|
8506
8506
|
d()
|
|
8507
8507
|
], se.prototype, "files", 2);
|
|
8508
8508
|
Te([
|
|
8509
|
-
m({ context:
|
|
8509
|
+
m({ context: N }),
|
|
8510
8510
|
d()
|
|
8511
8511
|
], se.prototype, "api", 2);
|
|
8512
8512
|
Te([
|
|
@@ -8531,7 +8531,7 @@ var kh = Object.defineProperty, Lh = Object.getOwnPropertyDescriptor, ln = (t, e
|
|
|
8531
8531
|
};
|
|
8532
8532
|
let Ci = class extends E {
|
|
8533
8533
|
render() {
|
|
8534
|
-
return this.currentVendor.vendor_type ==
|
|
8534
|
+
return this.currentVendor.vendor_type == $ ? g`<vendor-documents-upload></vendor-documents-upload>` : g`<other-vendor-documents-upload></other-vendor-documents-upload>`;
|
|
8535
8535
|
}
|
|
8536
8536
|
};
|
|
8537
8537
|
ln([
|
|
@@ -8583,7 +8583,7 @@ let M = class t extends E {
|
|
|
8583
8583
|
this.isLoading = !0, this.showDocumentsUploadDialog(!1), yield this.getOtherVendorDocuments(), yield this.getUnknownVendorDocuments(), this.isLoading = !1;
|
|
8584
8584
|
}));
|
|
8585
8585
|
}), this.addEventListener("remove-vendor-doc", (e) => A(this, null, function* () {
|
|
8586
|
-
if (e.detail.vendor.vendor_type ===
|
|
8586
|
+
if (e.detail.vendor.vendor_type === $) {
|
|
8587
8587
|
const i = "customer_remove_client_vendor_document", n = {
|
|
8588
8588
|
vendor_document_id: e.detail.document.id,
|
|
8589
8589
|
vendor_account_id: e.detail.vendor.vendor_account_id
|
|
@@ -8658,7 +8658,7 @@ let M = class t extends E {
|
|
|
8658
8658
|
}
|
|
8659
8659
|
getVendorDocuments() {
|
|
8660
8660
|
return A(this, null, function* () {
|
|
8661
|
-
if (this.currentVendor.vendor_type !==
|
|
8661
|
+
if (this.currentVendor.vendor_type !== $ || !this.currentVendor.vendor_account_id)
|
|
8662
8662
|
return;
|
|
8663
8663
|
const e = yield this.api.executeRequest(`/vendor_due_diligence/vendor_documents/${this.currentVendor.vendor_account_id}`, "GET");
|
|
8664
8664
|
if (e.error || !e.payload)
|
|
@@ -8824,7 +8824,7 @@ V([
|
|
|
8824
8824
|
d()
|
|
8825
8825
|
], M.prototype, "environment", 2);
|
|
8826
8826
|
V([
|
|
8827
|
-
m({ context:
|
|
8827
|
+
m({ context: N }),
|
|
8828
8828
|
d()
|
|
8829
8829
|
], M.prototype, "api", 2);
|
|
8830
8830
|
V([
|
|
@@ -8923,7 +8923,7 @@ let jt = class extends E {
|
|
|
8923
8923
|
is_cyber: this.currentVendor.is_cyber
|
|
8924
8924
|
};
|
|
8925
8925
|
const n = "We're unable to delete this vendor. Please try again!";
|
|
8926
|
-
this.currentVendor.vendor_type ==
|
|
8926
|
+
this.currentVendor.vendor_type == $ ? (e += "remove_partner_vendor", i = _(u({}, i), { vendor_account_id: this.currentVendor.vendor_account_id })) : this.currentVendor.vendor_type == z ? (e += "remove_non_partnered_vendor", i = _(u({}, i), { request_vendor_id: this.currentVendor.request_vendor_id })) : this.currentVendor.vendor_type == B && (e += "remove_unknown_vendor", i = _(u({}, i), { unknown_vendor_id: this.currentVendor.request_vendor_id }));
|
|
8927
8927
|
const s = yield this.api.executeRequest(e, "POST", i);
|
|
8928
8928
|
if (!s || s.error_message) {
|
|
8929
8929
|
y((a = s == null ? void 0 : s.error_message) != null ? a : n, this.shadowRoot), this.isLoading = !1;
|
|
@@ -8951,7 +8951,7 @@ cn([
|
|
|
8951
8951
|
d()
|
|
8952
8952
|
], jt.prototype, "isLoading", 2);
|
|
8953
8953
|
cn([
|
|
8954
|
-
m({ context:
|
|
8954
|
+
m({ context: N }),
|
|
8955
8955
|
d()
|
|
8956
8956
|
], jt.prototype, "api", 2);
|
|
8957
8957
|
cn([
|
|
@@ -9073,7 +9073,7 @@ Re([
|
|
|
9073
9073
|
d()
|
|
9074
9074
|
], oe.prototype, "environment", 2);
|
|
9075
9075
|
Re([
|
|
9076
|
-
m({ context:
|
|
9076
|
+
m({ context: N }),
|
|
9077
9077
|
d()
|
|
9078
9078
|
], oe.prototype, "api", 2);
|
|
9079
9079
|
Re([
|
|
@@ -9176,7 +9176,7 @@ let q = class t extends E {
|
|
|
9176
9176
|
const n = {
|
|
9177
9177
|
risk_assessment_responses: u({}, this.riskAssessmentItem)
|
|
9178
9178
|
};
|
|
9179
|
-
if (this.currentVendor.vendor_type ===
|
|
9179
|
+
if (this.currentVendor.vendor_type === $ ? n.vendor_account_id = this.currentVendor.vendor_account_id : this.currentVendor.vendor_type == z ? n.request_vendor_id = this.currentVendor.request_vendor_id : this.currentVendor.vendor_type == B && (n.unknown_vendor_id = this.currentVendor.request_vendor_id), i) {
|
|
9180
9180
|
for (const l in this.riskAssessmentItem)
|
|
9181
9181
|
if (Zo.hasOwnProperty(l) && (this.riskAssessmentItem[l] === null || this.riskAssessmentItem[l] === "")) {
|
|
9182
9182
|
y("Error submitting Risk Assessment Progress. Make sure you have filled all inputs!", this.shadowRoot), this.isLoadingFinish = !1;
|
|
@@ -9293,7 +9293,7 @@ Ie([
|
|
|
9293
9293
|
d()
|
|
9294
9294
|
], q.prototype, "page", 2);
|
|
9295
9295
|
Ie([
|
|
9296
|
-
m({ context:
|
|
9296
|
+
m({ context: N }),
|
|
9297
9297
|
d()
|
|
9298
9298
|
], q.prototype, "api", 2);
|
|
9299
9299
|
Ie([
|
|
@@ -9412,7 +9412,7 @@ Ce([
|
|
|
9412
9412
|
d()
|
|
9413
9413
|
], J.prototype, "currentVendor", 2);
|
|
9414
9414
|
Ce([
|
|
9415
|
-
m({ context:
|
|
9415
|
+
m({ context: N }),
|
|
9416
9416
|
d()
|
|
9417
9417
|
], J.prototype, "api", 2);
|
|
9418
9418
|
Ce([
|
|
@@ -9447,9 +9447,9 @@ let Ze = class extends E {
|
|
|
9447
9447
|
let t = "";
|
|
9448
9448
|
return this.currentVendor.vendor_type !== void 0 && (this.currentVendor.vendor_type == z || this.currentVendor.vendor_type == Yi ? t = `I am conducting my required third-party vendor due diligence and have been utilizing RIA in a Box to organize my firm’s due diligence efforts via their MyRIACompliance® Vendor Due Diligence Platform. The Platform allows me to digitally connect with industry leading technology vendors, to help automate my due diligence review and to save me a little time.
|
|
9449
9449
|
|
|
9450
|
-
I would encourage you to join the platform to help streamline the due diligence process for RIA firms. The subscription is currently complementary for the initial vendors joining the platform and takes less than 30 minutes to get started.` : this.currentVendor.vendor_type ==
|
|
9450
|
+
I would encourage you to join the platform to help streamline the due diligence process for RIA firms. The subscription is currently complementary for the initial vendors joining the platform and takes less than 30 minutes to get started.` : this.currentVendor.vendor_type == $ && this.currentVendor.is_subscribed ? t = `I am conducting my required third-party vendor due diligence and have been utilizing RIA in a Box to organize my firm’s due diligence efforts via their MyRIACompliance® Vendor Due Diligence Platform. The Platform allows me to digitally connect with industry leading technology vendors, to help automate my due diligence review and save me a little time.
|
|
9451
9451
|
|
|
9452
|
-
In my review, it appears that the documents for your firm have not yet been updated. At your earliest convenience, could you please update those documents in the Platform so that I can complete my due diligence review.` : this.currentVendor.vendor_type ==
|
|
9452
|
+
In my review, it appears that the documents for your firm have not yet been updated. At your earliest convenience, could you please update those documents in the Platform so that I can complete my due diligence review.` : this.currentVendor.vendor_type == $ && !this.currentVendor.is_subscribed && (t = `I wanted to reach out to remind you of my pending subscription request on the MyRIACompliance® Vendor Due Diligence Platform.
|
|
9453
9453
|
|
|
9454
9454
|
It is crucial for me to gain access to your documents and resources to effectively evaluate and manage our vendor relationships.
|
|
9455
9455
|
|
|
@@ -9457,11 +9457,11 @@ To approve my request, please log in to your vendor portal, navigate to Manage C
|
|
|
9457
9457
|
}
|
|
9458
9458
|
getDefaultHeader() {
|
|
9459
9459
|
let t = "";
|
|
9460
|
-
return this.currentVendor.vendor_type !== void 0 && (this.currentVendor.vendor_type == z || this.currentVendor.vendor_type == Yi ? t = "Send Reminder To Join" : this.currentVendor.vendor_type ==
|
|
9460
|
+
return this.currentVendor.vendor_type !== void 0 && (this.currentVendor.vendor_type == z || this.currentVendor.vendor_type == Yi ? t = "Send Reminder To Join" : this.currentVendor.vendor_type == $ && this.currentVendor.is_subscribed ? t = "Send Reminder To Update Documents" : this.currentVendor.vendor_type == $ && !this.currentVendor.is_subscribed && (t = "Send Reminder To Subscribe")), t;
|
|
9461
9461
|
}
|
|
9462
9462
|
getDefaultInstructions() {
|
|
9463
9463
|
let t = "";
|
|
9464
|
-
return this.currentVendor.vendor_type !== void 0 && (this.currentVendor.vendor_type == z || this.currentVendor.vendor_type == Yi ? t = `Remind ${this.currentVendor.vendor_name !== null ? this.currentVendor.vendor_name : "Vendor"} to join the Vendor Due Diligence to distribute relevant information.` : this.currentVendor.vendor_type ==
|
|
9464
|
+
return this.currentVendor.vendor_type !== void 0 && (this.currentVendor.vendor_type == z || this.currentVendor.vendor_type == Yi ? t = `Remind ${this.currentVendor.vendor_name !== null ? this.currentVendor.vendor_name : "Vendor"} to join the Vendor Due Diligence to distribute relevant information.` : this.currentVendor.vendor_type == $ && this.currentVendor.is_subscribed ? t = `Remind ${this.currentVendor.vendor_name !== null ? this.currentVendor.vendor_name : "Vendor"} to update key vendor due diligence documents.` : this.currentVendor.vendor_type == $ && !this.currentVendor.is_subscribed && (t = `Remind ${this.currentVendor.vendor_name !== null ? this.currentVendor.vendor_name : "Vendor"} to accept your pending subscription request.`)), t;
|
|
9465
9465
|
}
|
|
9466
9466
|
handleInputChange(t) {
|
|
9467
9467
|
const e = t.target;
|
|
@@ -9485,7 +9485,7 @@ To approve my request, please log in to your vendor portal, navigate to Manage C
|
|
|
9485
9485
|
request_vendor_id: e.request_vendor_id,
|
|
9486
9486
|
email_type: 1,
|
|
9487
9487
|
client_email_content: this.submitText
|
|
9488
|
-
} : e.vendor_type ==
|
|
9488
|
+
} : e.vendor_type == $ ? i = {
|
|
9489
9489
|
vendor_account_id: e.vendor_account_id,
|
|
9490
9490
|
email_type: e.is_subscribed ? 3 : 2,
|
|
9491
9491
|
client_email_content: this.submitText
|
|
@@ -9509,7 +9509,7 @@ To approve my request, please log in to your vendor portal, navigate to Manage C
|
|
|
9509
9509
|
};
|
|
9510
9510
|
Ze.styles = [O, F];
|
|
9511
9511
|
qt([
|
|
9512
|
-
m({ context:
|
|
9512
|
+
m({ context: N }),
|
|
9513
9513
|
d()
|
|
9514
9514
|
], Ze.prototype, "api", 2);
|
|
9515
9515
|
qt([
|
|
@@ -9538,16 +9538,23 @@ let Ct = class extends E {
|
|
|
9538
9538
|
constructor() {
|
|
9539
9539
|
super(), this.isLoading = !1, this.riskTier = null;
|
|
9540
9540
|
}
|
|
9541
|
-
update(
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
fetchRiskTier()
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9541
|
+
// protected update(changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void {
|
|
9542
|
+
// super.update(changedProperties);
|
|
9543
|
+
// if(changedProperties.has('currentVendor')) {
|
|
9544
|
+
// this.fetchRiskTier();
|
|
9545
|
+
// }
|
|
9546
|
+
// }
|
|
9547
|
+
// async fetchRiskTier() {
|
|
9548
|
+
// this.isLoading = true;
|
|
9549
|
+
// const id = this.currentVendor.vendor_type == PARTNERED
|
|
9550
|
+
// ? this.currentVendor.vendor_account_id
|
|
9551
|
+
// : this.currentVendor.request_vendor_id;
|
|
9552
|
+
// const res = await this.api.executeRequest(`/vendor_due_diligence/get_vendor_risk_tier_recommendation/${this.currentVendor.vendor_type}/${id}`, 'GET');
|
|
9553
|
+
// this.isLoading = false;
|
|
9554
|
+
// if(res && res.payload.vendor_risk_tier_recommendation) {
|
|
9555
|
+
// this.riskTier = res.payload.vendor_risk_tier_recommendation;
|
|
9556
|
+
// }
|
|
9557
|
+
// }
|
|
9551
9558
|
changeTier() {
|
|
9552
9559
|
return A(this, null, function* () {
|
|
9553
9560
|
const t = {
|
|
@@ -9555,7 +9562,7 @@ let Ct = class extends E {
|
|
|
9555
9562
|
vendor_type: this.currentVendor.vendor_type,
|
|
9556
9563
|
is_cyber: this.currentVendor.is_cyber
|
|
9557
9564
|
};
|
|
9558
|
-
this.currentVendor.vendor_type ==
|
|
9565
|
+
this.currentVendor.vendor_type == $ ? (t.vendor_account_id = this.currentVendor.vendor_account_id, this.currentVendor.hasOwnProperty("is_requested") && this.currentVendor.is_requested == 1 && (t.is_requested = 1)) : t.request_vendor_id = this.currentVendor.request_vendor_id, this.isLoading = !0;
|
|
9559
9566
|
const e = yield this.api.executeRequest("/vendor_due_diligence/update_risk_tier", "POST", t);
|
|
9560
9567
|
this.isLoading = !1, e || y("Error updating vendor risk tier!", this.shadowRoot);
|
|
9561
9568
|
const i = {
|
|
@@ -9591,7 +9598,7 @@ Si([
|
|
|
9591
9598
|
d()
|
|
9592
9599
|
], Ct.prototype, "currentVendor", 2);
|
|
9593
9600
|
Si([
|
|
9594
|
-
m({ context:
|
|
9601
|
+
m({ context: N })
|
|
9595
9602
|
], Ct.prototype, "api", 2);
|
|
9596
9603
|
Si([
|
|
9597
9604
|
d()
|
|
@@ -9635,7 +9642,7 @@ let re = class t extends E {
|
|
|
9635
9642
|
});
|
|
9636
9643
|
}
|
|
9637
9644
|
getVendorActivityData() {
|
|
9638
|
-
this.currentVendor.vendor_type ==
|
|
9645
|
+
this.currentVendor.vendor_type == $ && this.getActivityData(
|
|
9639
9646
|
`/vendor_due_diligence/get_partnered_vendor_activity_log/${this.currentVendor.vendor_account_id}`
|
|
9640
9647
|
), this.currentVendor.vendor_type == z && this.getActivityData(
|
|
9641
9648
|
`/vendor_due_diligence/get_non_partnered_vendor_activity_log/${this.currentVendor.request_vendor_id}`
|
|
@@ -9680,7 +9687,7 @@ De([
|
|
|
9680
9687
|
d()
|
|
9681
9688
|
], re.prototype, "user", 2);
|
|
9682
9689
|
De([
|
|
9683
|
-
m({ context:
|
|
9690
|
+
m({ context: N }),
|
|
9684
9691
|
d()
|
|
9685
9692
|
], re.prototype, "api", 2);
|
|
9686
9693
|
De([
|
|
@@ -9842,7 +9849,7 @@ let ye = class extends E {
|
|
|
9842
9849
|
};
|
|
9843
9850
|
ye.styles = [F, O, Cp];
|
|
9844
9851
|
Qe([
|
|
9845
|
-
m({ context:
|
|
9852
|
+
m({ context: N }),
|
|
9846
9853
|
d()
|
|
9847
9854
|
], ye.prototype, "api", 2);
|
|
9848
9855
|
Qe([
|
|
@@ -9919,7 +9926,7 @@ let mt = class extends E {
|
|
|
9919
9926
|
vendor_type: this.currentVendor.vendor_type,
|
|
9920
9927
|
is_cyber: this.currentVendor.is_cyber
|
|
9921
9928
|
};
|
|
9922
|
-
this.currentVendor.vendor_type ==
|
|
9929
|
+
this.currentVendor.vendor_type == $ ? (t.vendor_account_id = this.currentVendor.vendor_account_id, this.currentVendor.hasOwnProperty("is_requested") && this.currentVendor.is_requested == 1 && (t.is_requested = 1)) : t.request_vendor_id = this.currentVendor.request_vendor_id, this.isLoading = !0;
|
|
9923
9930
|
const e = yield this.api.executeRequest("/vendor_due_diligence/update_risk_tier", "POST", t);
|
|
9924
9931
|
if (this.isLoading = !1, !e) {
|
|
9925
9932
|
y("Error occured while saving data. Please choose the risk tier and try again!", this.shadowRoot);
|
|
@@ -9958,7 +9965,7 @@ xi([
|
|
|
9958
9965
|
d()
|
|
9959
9966
|
], mt.prototype, "currentVendor", 2);
|
|
9960
9967
|
xi([
|
|
9961
|
-
m({ context:
|
|
9968
|
+
m({ context: N })
|
|
9962
9969
|
], mt.prototype, "api", 2);
|
|
9963
9970
|
xi([
|
|
9964
9971
|
d()
|
|
@@ -10140,7 +10147,7 @@ let ae = class t extends E {
|
|
|
10140
10147
|
};
|
|
10141
10148
|
ae.styles = [F, O, dp];
|
|
10142
10149
|
Oe([
|
|
10143
|
-
m({ context:
|
|
10150
|
+
m({ context: N }),
|
|
10144
10151
|
d()
|
|
10145
10152
|
], ae.prototype, "api", 2);
|
|
10146
10153
|
Oe([
|
|
@@ -10200,12 +10207,12 @@ let P = class t extends E {
|
|
|
10200
10207
|
})), this.currentPage = "vendor_page";
|
|
10201
10208
|
})), this.addEventListener("vendor-edit", (e) => {
|
|
10202
10209
|
this.currentVendor = e.detail.currentVendor;
|
|
10203
|
-
const i = this.currentVendor.vendor_type ==
|
|
10210
|
+
const i = this.currentVendor.vendor_type == $ ? "vendor_account_id" : "request_vendor_id";
|
|
10204
10211
|
this.allVendors = this.allVendors.map((n) => n[i] == this.currentVendor[i] ? u({}, e.detail.currentVendor) : u({}, n));
|
|
10205
10212
|
}), this.addEventListener("vendor-removed", (e) => A(this, null, function* () {
|
|
10206
10213
|
const i = e.detail.vendor;
|
|
10207
10214
|
let n = "request_vendor_id";
|
|
10208
|
-
i.vendor_type ==
|
|
10215
|
+
i.vendor_type == $ && (n = "vendor_account_id"), i[n] && (this.allVendors = this.allVendors.filter((s) => s[n] !== i[n]), this.getMrcVendors(), this.currentPage = "vendors_page");
|
|
10209
10216
|
})), this.addEventListener("vendor-added", (e) => A(this, null, function* () {
|
|
10210
10217
|
this.getMrcVendors(), this.getVendors();
|
|
10211
10218
|
})), this.addEventListener("mark-tos-complete", (e) => A(this, null, function* () {
|
|
@@ -10317,7 +10324,7 @@ j([
|
|
|
10317
10324
|
d()
|
|
10318
10325
|
], P.prototype, "environment", 2);
|
|
10319
10326
|
j([
|
|
10320
|
-
K({ context:
|
|
10327
|
+
K({ context: N }),
|
|
10321
10328
|
d()
|
|
10322
10329
|
], P.prototype, "api", 2);
|
|
10323
10330
|
j([
|