@verdocs/web-sdk 5.0.70 → 5.0.72
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/cjs/loader.cjs.js +1 -1
- package/dist/cjs/verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-kba-dialog_3.cjs.entry.js +4 -2
- package/dist/cjs/verdocs-kba-dialog_3.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-sign.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.css +2 -1
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +4 -1
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js.map +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
- package/dist/components/{p-BWvY2aag.js → p-DD5pf8Tj.js} +15 -6
- package/dist/components/p-DD5pf8Tj.js.map +1 -0
- package/dist/components/verdocs-kba-dialog.js +1 -1
- package/dist/components/verdocs-sign.js +2 -2
- package/dist/components/verdocs-sign.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.js.map +1 -1
- package/dist/esm/verdocs-kba-dialog_3.entry.js +4 -2
- package/dist/esm/verdocs-kba-dialog_3.entry.js.map +1 -1
- package/dist/esm/verdocs-sign.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js.map +1 -1
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-kba-dialog_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog_3.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.d.ts +1 -0
- package/dist/verdocs-web-sdk/{p-344a038b.system.entry.js → p-04421e78.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-344a038b.system.entry.js.map → p-04421e78.system.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-218440e6.entry.js → p-5af5bd43.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-218440e6.entry.js.map → p-5af5bd43.entry.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Do6RqOUO.system.js.map → p-Bf0islHu.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-CeQPkjRM.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-CwXSduhy.system.js +1 -1
- package/dist/verdocs-web-sdk/{p-9bb9f4e6.system.entry.js → p-b29ae6dd.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-b29ae6dd.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-2d5f5512.entry.js → p-d8a89fb3.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-d8a89fb3.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-sign.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-BWvY2aag.js.map +0 -1
- package/dist/verdocs-web-sdk/p-2d5f5512.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-9bb9f4e6.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-ChsPMrfV.system.js.map +0 -1
@@ -1,5 +1,6 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-cuwa7Els.js';
|
2
|
-
import { d as defineCustomElement$
|
2
|
+
import { d as defineCustomElement$3 } from './p-DxZzj3bW.js';
|
3
|
+
import { d as defineCustomElement$2 } from './p-DBr1-dfD.js';
|
3
4
|
import { d as defineCustomElement$1 } from './p-DmSZqyDY.js';
|
4
5
|
|
5
6
|
/** Checks if value is string */
|
@@ -3600,7 +3601,7 @@ try {
|
|
3600
3601
|
globalThis.IMask = IMask;
|
3601
3602
|
} catch {}
|
3602
3603
|
|
3603
|
-
const verdocsKbaDialogCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-kba-dialog{font-family:\"Inter\", \"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .background-overlay{position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:rgba(0, 0, 0, 0.4980392157)}verdocs-kba-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;gap:10px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-kba-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-kba-dialog .step{margin-left:6px;color:#666}verdocs-kba-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-kba-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-kba-dialog .help-icon{width:40px;height:40px}verdocs-kba-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-kba-dialog .help-text{font-weight:400}verdocs-kba-dialog .input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:10px;-ms-flex-align:center;align-items:center;margin:16px 0 32px}verdocs-kba-dialog .input label{-ms-flex:0;flex:0;line-height:10px;font-weight:500;white-space:nowrap}verdocs-kba-dialog .input input{-ms-flex:1;flex:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .field{gap:10px;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:
|
3604
|
+
const verdocsKbaDialogCss = "@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-kba-dialog{font-family:\"Inter\", \"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .background-overlay{position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:rgba(0, 0, 0, 0.4980392157)}verdocs-kba-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;gap:10px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-kba-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-kba-dialog .step{margin-left:6px;color:#666}verdocs-kba-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-kba-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-kba-dialog .help-icon{width:40px;height:40px}verdocs-kba-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-kba-dialog .help-text{font-weight:400}verdocs-kba-dialog .input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:10px;-ms-flex-align:center;align-items:center;margin:16px 0 32px}verdocs-kba-dialog .input label{-ms-flex:0;flex:0;line-height:10px;font-weight:500;white-space:nowrap}verdocs-kba-dialog .input input{-ms-flex:1;flex:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .field{gap:10px;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:row;flex-direction:row;max-width:100%}verdocs-kba-dialog .field .required{color:red;position:relative;top:-0.5em;font-size:80%}verdocs-kba-dialog .field label{margin-top:4px;-ms-flex:0 0 120px;flex:0 0 120px;font-weight:500;line-height:10px;text-align:right;white-space:nowrap}verdocs-kba-dialog .field verdocs-date-input{width:40%;-ms-flex-positive:1;flex-grow:1}verdocs-kba-dialog .field verdocs-date-input input{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .field input{width:40%;-ms-flex-positive:1;flex-grow:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .choices{display:grid;gap:15px;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));margin:0 0 15px 0}verdocs-kba-dialog .choice{border:1px solid #707ae5;border-radius:5px;display:-ms-flexbox;display:flex;height:60px;font-size:14px;padding:0 5px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;color:#5c6575;cursor:pointer}verdocs-kba-dialog .choice.selected{background-color:#707ae5;color:#ffffff}verdocs-kba-dialog .buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-kba-dialog .buttons verdocs-button{margin-left:16px}";
|
3604
3605
|
|
3605
3606
|
const States = {
|
3606
3607
|
AL: 'Alabama',
|
@@ -3709,6 +3710,7 @@ const VerdocsKbaDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsKbaDialog
|
|
3709
3710
|
* For choice challenges, a set of choices to choose from. 6 choices is recommended to fit most screen sizes.
|
3710
3711
|
*/
|
3711
3712
|
this.choices = ['553 Arbor Dr', '18 Lacey Ln', '23A Ball Ct', '2375 Cavallo Blvd', '23-1 RR-7', '151 Boulder Rd'];
|
3713
|
+
this.agreed = false;
|
3712
3714
|
this.response = '';
|
3713
3715
|
this.updatedRecipient = null;
|
3714
3716
|
this.dobContainerId = `verdocs-date-input-${Math.random().toString(36).substring(2, 11)}`;
|
@@ -3770,7 +3772,8 @@ const VerdocsKbaDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsKbaDialog
|
|
3770
3772
|
} }, choice)))), h("div", { class: "buttons" }, h("verdocs-button", { label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), h("verdocs-button", { label: this.step < this.steps ? 'Next' : 'Submit', onClick: () => this.handleDone(), disabled: !this.response }))))));
|
3771
3773
|
}
|
3772
3774
|
if (this.mode === 'identity') {
|
3773
|
-
return (h(Host, null, h("div", { class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { class: "dialog" }, h("div", { class: "heading" }, "Confirm Your Identity"),
|
3775
|
+
return (h(Host, null, h("div", { class: "background-overlay", onClick: e => this.handleDismiss(e) }, h("div", { class: "dialog" }, h("div", { class: "heading" }, "Confirm Your Identity"), h("div", { class: "field" }, h("label", { htmlFor: "verdocs-kba-first" }, "Your Name:", h("span", { class: "required" }, "*")), h("input", { required: true, type: "text", id: "verdocs-kba-first", name: "verdocs-kba-first", placeholder: "First name...", value: (_a = this.updatedRecipient) === null || _a === void 0 ? void 0 : _a.first_name, onInput: (e) => (this.updatedRecipient = { ...this.updatedRecipient, first_name: e.target.value }) }), h("input", { type: "text", id: "verdocs-kba-last", name: "verdocs-kba-last", placeholder: "Last name...", required: true, value: (_b = this.updatedRecipient) === null || _b === void 0 ? void 0 : _b.last_name, onInput: (e) => (this.updatedRecipient = { ...this.updatedRecipient, last_name: e.target.value }) })), h("div", { class: "field" }, h("label", { htmlFor: "verdocs-kba-address" }, "Address:", h("span", { class: "required" }, "*")), h("input", { type: "text", id: "verdocs-kba-address", name: "verdocs-kba-address", placeholder: "Address...", value: (_c = this.updatedRecipient) === null || _c === void 0 ? void 0 : _c.address, onInput: (e) => (this.updatedRecipient = { ...this.updatedRecipient, address: e.target.value }) })), h("div", { class: "field" }, h("label", { htmlFor: "verdocs-kba-city" }, "City:"), h("input", { type: "text", id: "verdocs-kba-city", name: "verdocs-kba-city", placeholder: "City...", value: (_d = this.updatedRecipient) === null || _d === void 0 ? void 0 : _d.city, onInput: (e) => (this.updatedRecipient = { ...this.updatedRecipient, city: e.target.value }) })), h("div", { class: "field" }, h("label", { htmlFor: "verdocs-kba-state" }, "State:"), h("verdocs-select-input", { options: STATE_OPTIONS, value: (_e = this.updatedRecipient) === null || _e === void 0 ? void 0 : _e.state, onInput: (e) => (this.updatedRecipient = { ...this.updatedRecipient, state: e.target.value }) })), h("div", { class: "field" }, h("label", { htmlFor: "verdocs-kba-zip" }, "Zip Code:", h("span", { class: "required" }, "*")), h("input", { type: "text", id: "verdocs-kba-zip", name: "verdocs-kba-zip", placeholder: "Zip Code...", required: true, value: (_f = this.updatedRecipient) === null || _f === void 0 ? void 0 : _f.zip, onInput: (e) => (this.updatedRecipient = { ...this.updatedRecipient, zip: e.target.value }) })), h("div", { class: "field" }, h("label", { htmlFor: "verdocs-kba-ssn" }, "SSN Last 4:", h("span", { class: "required" }, "*")), h("input", { type: "text", id: "verdocs-kba-ssn", name: "verdocs-kba-ssn", placeholder: "Last 4 digits of your Social Security Number...", required: true, value: (_g = this.updatedRecipient) === null || _g === void 0 ? void 0 : _g.ssn_last_4, onInput: (e) => (this.updatedRecipient = { ...this.updatedRecipient, ssn_last_4: e.target.value }) })), h("div", { class: "field" }, h("label", { htmlFor: this.dobContainerId }, "Date of Birth:", h("span", { class: "required" }, "*")), h("input", { type: "text", value: ((_h = this.updatedRecipient) === null || _h === void 0 ? void 0 : _h.dob) || '', id: this.dobContainerId, placeholder: "DOB...", onInput: (e) => (this.updatedRecipient = { ...this.updatedRecipient, dob: e.target.value }) })), h("div", { class: "field" }, h("label", null), h("verdocs-checkbox", { id: "verdocs-kba-agree", name: "verdocs-kba-agree", checked: this.agreed, onInput: (e) => (this.agreed = e.target.checked) }), h("span", null, "I agree to provide my personal information in order to validate my identity.")), h("div", { class: "buttons" }, h("verdocs-button", { label: "Submit", onClick: () => this.handleConfirmID(), disabled: !this.agreed ||
|
3776
|
+
!((_j = this.updatedRecipient) === null || _j === void 0 ? void 0 : _j.first_name) ||
|
3774
3777
|
!((_k = this.updatedRecipient) === null || _k === void 0 ? void 0 : _k.last_name) ||
|
3775
3778
|
!((_l = this.updatedRecipient) === null || _l === void 0 ? void 0 : _l.address) ||
|
3776
3779
|
!((_m = this.updatedRecipient) === null || _m === void 0 ? void 0 : _m.zip) ||
|
@@ -3791,6 +3794,7 @@ const VerdocsKbaDialog = /*@__PURE__*/ proxyCustomElement(class VerdocsKbaDialog
|
|
3791
3794
|
"placeholder": [1],
|
3792
3795
|
"recipient": [16],
|
3793
3796
|
"choices": [16],
|
3797
|
+
"agreed": [32],
|
3794
3798
|
"response": [32],
|
3795
3799
|
"updatedRecipient": [32],
|
3796
3800
|
"dobContainerId": [32]
|
@@ -3799,7 +3803,7 @@ function defineCustomElement() {
|
|
3799
3803
|
if (typeof customElements === "undefined") {
|
3800
3804
|
return;
|
3801
3805
|
}
|
3802
|
-
const components = ["verdocs-kba-dialog", "verdocs-button", "verdocs-select-input"];
|
3806
|
+
const components = ["verdocs-kba-dialog", "verdocs-button", "verdocs-checkbox", "verdocs-select-input"];
|
3803
3807
|
components.forEach(tagName => { switch (tagName) {
|
3804
3808
|
case "verdocs-kba-dialog":
|
3805
3809
|
if (!customElements.get(tagName)) {
|
@@ -3807,6 +3811,11 @@ function defineCustomElement() {
|
|
3807
3811
|
}
|
3808
3812
|
break;
|
3809
3813
|
case "verdocs-button":
|
3814
|
+
if (!customElements.get(tagName)) {
|
3815
|
+
defineCustomElement$3();
|
3816
|
+
}
|
3817
|
+
break;
|
3818
|
+
case "verdocs-checkbox":
|
3810
3819
|
if (!customElements.get(tagName)) {
|
3811
3820
|
defineCustomElement$2();
|
3812
3821
|
}
|
@@ -3820,6 +3829,6 @@ function defineCustomElement() {
|
|
3820
3829
|
}
|
3821
3830
|
|
3822
3831
|
export { VerdocsKbaDialog as V, defineCustomElement as d };
|
3823
|
-
//# sourceMappingURL=p-
|
3832
|
+
//# sourceMappingURL=p-DD5pf8Tj.js.map
|
3824
3833
|
|
3825
|
-
//# sourceMappingURL=p-
|
3834
|
+
//# sourceMappingURL=p-DD5pf8Tj.js.map
|