@riab/vendor-due-diligence 1.1.19-beta.3 → 1.1.19-beta.4
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.
|
@@ -6549,7 +6549,13 @@ let Fu = class {
|
|
|
6549
6549
|
}
|
|
6550
6550
|
getTranslationData(e) {
|
|
6551
6551
|
var i, n;
|
|
6552
|
-
|
|
6552
|
+
let s;
|
|
6553
|
+
try {
|
|
6554
|
+
s = new Intl.Locale(e.replace(/_/g, "-"));
|
|
6555
|
+
} catch (c) {
|
|
6556
|
+
return { locale: void 0, language: "", region: "", primary: void 0, secondary: void 0 };
|
|
6557
|
+
}
|
|
6558
|
+
const o = s.language.toLowerCase(), r = (n = (i = s.region) === null || i === void 0 ? void 0 : i.toLowerCase()) !== null && n !== void 0 ? n : "", l = Dt.get(`${o}-${r}`), a = Dt.get(o);
|
|
6553
6559
|
return { locale: s, language: o, region: r, primary: l, secondary: a };
|
|
6554
6560
|
}
|
|
6555
6561
|
exists(e, i) {
|
|
@@ -7186,7 +7192,7 @@ let G = class t extends E {
|
|
|
7186
7192
|
return this.mrcVendors = this.mrcVendors.filter((i) => !e.includes(i.vendor_name)), g`<div class="add_vendor_popup"><button class="close-dialog-button close-add-vendor-dialog" @click="${this.closePopup}"><sl-icon src="${Aa}" class="close-dialog-button-icon"></sl-icon>Close</button> ${this.confirmationMessage ? g`<div class="confirmation_message"><p id="confirmationMsg">${this.confirmationMessage}</p><div class="actions-wrapper"><button class="button--primary no-margin" @click="${this.closePopup}">OK</button></div></div>` : g`<h2>ADD VENDOR</h2>${this.isLoadingMRCVendors ? g`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 ? g`<div class="vendor_select_cont"><cpm-select-search placeholder="Select an option" .options="${this.mrcVendors.map((i) => ({
|
|
7187
7193
|
id: i.vendor_name,
|
|
7188
7194
|
title: i.vendor_name
|
|
7189
|
-
}))}" @onSelectChange="${this.handleChange}"></cpm-select-search></div>` : g`<div>Currently there are no vendors.</div>`} ${this.isLoadingMRCVendors ? g`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "partnered" ? g`<div class="add_vendor_content"><form style="width:100%" @submit="${this.handlePartneredSubmit}"><div class="vdd_partnered_desc">${this.selectedVendor.description}</div>${this.selectedVendor.info_docs.length > 0 ? g`<div class="spr_label">Information Documents:</div>` : ""} ${this.selectedVendor.info_docs.length > 0 ? this.selectedVendor.info_docs.map((i) => g`<div class="info_doc_links"><a href="${this.getVendorInfoDocDownloadURL(this.selectedVendor.info_docs[0].file_name)}" target="_blank" class="vendor_info_doc">${i.file_name}</a></div>`) : ""}<div class="request_note_cont"><textarea class="request_note vdd_textarea" placeholder="Please describe the nature of your request. If a TAMP service is utilized, please
|
|
7195
|
+
}))}" @onSelectChange="${this.handleChange}"></cpm-select-search></div>` : g`<div>Currently there are no vendors.</div>`} ${this.isLoadingMRCVendors ? g`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "partnered" ? g`<div class="add_vendor_content"><form style="width:100%" @submit="${this.handlePartneredSubmit}"><div class="vdd_partnered_desc">${this.selectedVendor.description}</div>${this.selectedVendor.info_docs.length > 0 ? g`<div class="spr_label">Information Documents:</div>` : ""} ${this.selectedVendor.info_docs.length > 0 ? this.selectedVendor.info_docs.map((i) => g`<div class="info_doc_links"><a href="${this.getVendorInfoDocDownloadURL(this.selectedVendor.info_docs[0].file_name)}" target="_blank" class="vendor_info_doc">${i.file_name}</a></div>`) : ""}<div class="request_note_cont"><textarea class="request_note vdd_textarea" placeholder="Please describe the nature of your request. If a TAMP service is utilized, please include the name of the provider (Maximum of 1000 characters)" .value=""></textarea></div><div>Are you under NDA or client contract with this vendor?</div><div style="margin:5px 0 0 -5px"><input type="radio" name="nda_contract_radio" value="1" @change="${this.handleNDA}" ?checked="${this.isUnderNDA}"> Yes <input type="radio" name="nda_contract_radio" value="0" @change="${this.handleNDA}" ?checked="${!this.isUnderNDA}"> No</div><div id="nda_contract_yes_wrapper" ?hidden="${!this.isUnderNDA}"><label class="upload-nda-label">If Yes, please upload NDA or Client Contract, if available.</label><div class="vdd_ovd_ad_upload_outer_wrapper"><div class="file-container nda-file is-info has-name"><div class="button-wrap"><label class="button--default" for="upload">SELECT FILES...</label> <input class="nda-file-label" id="upload" type="file" name="nda_contract_file[]"></div></div></div></div><div id="nda_contract_no_wrapper" ?hidden="${this.isUnderNDA}"><div class="no_nda_text">If No, please download their Vendor NDA below (if available), then sign and upload NDA with this request. If you choose not to sign an NDA, then the vendor may only make publicly available documents accessible to you.</div><div class="nda-document-container">${this.selectedVendor.nda_url ? g`<div class="spr_vendor_nda_url_item" ?hidden="${!this.selectedVendor.nda_url}"><a href="${this.getVendorNdaDownloadURL(this.selectedVendor.nda_url.filename)}" class="download_nda_link" style="color:#333;text-decoration:underline" title="Download this vendor's provided NDA"><i>Download Vendor NDA</i></a></div>` : g`<div class="spr_vendor_nda_url_item" ?hidden="${this.selectedVendor.nda_url}"><span class="font_grey_medium"><i>NDA for this vendor is not available.</i></span></div>`}<div class="spr_vendor_upload_file"><label class="upload-nda-label">Upload Signed NDA</label><div class="file-container nda-file is-info has-name"><label class="no-nda-file-label"><input class="nda-file-input" type="file" name="nda_contract_file[]"></label></div></div></div></div><div class="actions-wrapper"><button class="button--clear" @click="${this.closePopup}">Cancel</button> <button class="button--primary no-margin" type="submit" .disabled="${this.isLoading}">${this.isLoading ? g`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Add Vendor"}</button></div></form></div>` : g`<div></div>`} ${this.isLoadingMRCVendors ? g`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "non_partnered" ? g`<div class="add_vendor_content"><form @submit="${this.handleNonPartneredSubmit}"><div class="vdd_other_content"><br><div class="other_vendor_notice"><p>The selected vendor is not participating on the platform. Please use the fields below to manually add the vendor to your profile.</p></div><br><textarea name="description" class="vdd_textarea other_description" required maxlength="1000" placeholder="Please describe the nature of your request. If a TAMP service is utilized, please include the name of the provider (Maximum of 1000 characters)"></textarea><div class="documents-wrapper"><h4>Documents</h4><p>Add Associated Documents (i.e. client contract - Limit of total files with a maximum size of 20MB per file)</p><div class="vdd_ovd_ad_upload_outer_wrapper"><div><div class="upload_file_remove_button_wrapper"></div><div class="file-container-other other-popup-file-container nda-file is-info has-name"><div class="button-wrap"><label class="button--default" for="other-upload">SELECT FILES...</label> <input class="nda-file-label" id="other-upload" type="file" name="associated_document_files[]"></div></div></div></div></div></div><div class="vdd_invite_content"><div class="send_invite_header"><h4>Invitation</h4><p>Send an email to the vendor to join the MyRIACompliance Platform</p></div><input type="email" placeholder="Email Address" id="recipient_email" name="recipient_email" style="width:372px"> <input type="text" placeholder="Contact Name *Optional" id="invite_vendor_contact" name="invite_contact_name" style="width:372px"></div><div class="actions-wrapper"><button class="button--clear" @click="${this.closePopup}">Cancel</button> <button class="button--primary no-margin" type="submit" .disabled="${this.isLoading}">${this.isLoading ? g`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Add Vendor"}</button></div></form></div>` : g`<div></div>`} ${this.isLoadingMRCVendors ? g`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "unknown" ? g`<div class="add_vendor_content"><form @submit="${this.handleUnknownSubmit}"><div class="vdd_email_info"><div style="width:100%"><input type="text" placeholder="Vendor Name" required id="invite_vendor_name" name="invite_vendor_name"></div><div><textarea name="vendor_request_description" required placeholder="Please describe the nature of your request. If a TAMP service is utilized, please include the name of the provider (Maximum of 1000 characters)" maxlength="1000" class="vdd_textarea"></textarea></div></div><div class="vdd_invite_content"><div class="send_invite_header"><h4>Invitation</h4><p>Send an email to the vendor to join the MyRIACompliance Platform</p></div><input type="email" placeholder="Email Address" id="recipient_email" name="recipient_email"> <input type="text" placeholder="Contact Name *Optional" id="invite_vendor_contact" name="invite_vendor_contact"></div><div class="actions-wrapper"><button class="button--clear" @click="${this.closePopup}">Cancel</button> <button class="button--primary no-margin" type="submit" .disabled="${this.isLoading}">${this.isLoading ? g`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Request Vendor"}</button></div></form></div>` : g`<div></div>`}`}</div>`;
|
|
7190
7196
|
}
|
|
7191
7197
|
};
|
|
7192
7198
|
G.styles = [F, N, R`#confirmationMsg{font-size:16px}.close-dialog-button.close-add-vendor-dialog{background:#fff}`];
|