@verdocs/web-sdk 5.0.56 → 5.0.57

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.
@@ -3881,7 +3881,7 @@ const VerdocsOtpDialog = class {
3881
3881
  .then(response => {
3882
3882
  console.log('Verification completed', response);
3883
3883
  this.next.emit({ response });
3884
- window.alert('A new code has been sent.');
3884
+ window.alert('Thank you. Your verification was successful.');
3885
3885
  })
3886
3886
  .catch(e => {
3887
3887
  window.alert('Invalid verification code. Please try again.');
@@ -3890,7 +3890,7 @@ const VerdocsOtpDialog = class {
3890
3890
  this.response = '';
3891
3891
  }
3892
3892
  render() {
3893
- return (index.h(index.Host, { key: 'd86b2898faf1300e3f913188a1d36aec770e7135' }, index.h("div", { key: 'fd4e30ab89ddd7e21db03004bbbe0f69a3d72c3f', class: "background-overlay", onClick: e => this.handleDismiss(e) }, index.h("div", { key: 'd453abed406c0d896b0b854e60da76fbe1125c10', class: "dialog" }, index.h("div", { key: '300e288b4e4bd446ac4debf56f3af9f950adf89f', class: "heading" }, "Verification Required"), index.h("div", { key: '03af042a5c34bdc8382980de9ff8237b14205df9', class: "help-box" }, index.h("div", { key: '35720b69c8d3729d9fdff97b0f0dfe42dac33284', class: "help-icon", innerHTML: QuestionIcon }), index.h("div", { key: '74330ebd49ffaa65a046aa3392a03539ee16e22e', class: "help-details" }, index.h("div", { key: 'b4b37218694f4d83b0c04d0d325a70febd12d824', class: "help-title" }, "Please verify your email address"), index.h("div", { key: '83987b0d359dbcd56f6623385e27903936258a46', class: "help-text" }, "Check your email for a one-time code, and enter it below."))), index.h("div", { key: '4f278bc915f3a52afede783d01845d6c2718a7eb', class: "input" }, index.h("label", { key: 'bda97001efb2999658a87ebbd459aa6a7fd9863c', htmlFor: "verdocs-otp-input" }, "Code:"), index.h("input", { key: '726f3877a258155a99e12449be1c0209a01021a3', type: "text", id: "verdocs-otp-input", name: "verdocs-otp-input", placeholder: "Enter your one-time code...", value: this.response, onInput: (e) => (this.response = e.target.value) })), index.h("div", { key: '253be76c3b7193c34ed260fd1dae14da3759745c', class: "buttons" }, index.h("verdocs-button", { key: '1cf991406ee308087c59cacd693c5eac3e936a3e', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), index.h("verdocs-button", { key: 'b530c18bed01e1490c71902edfbcf2b13b47250c', label: 'Resend', onClick: () => this.handleResend(), disabled: this.resendDisabled }), index.h("verdocs-button", { key: '78e7fb416a4e441d5c5b180d504c555f590393bd', label: 'Submit', onClick: () => this.handleSubmit(), disabled: !this.response }))))));
3893
+ return (index.h(index.Host, { key: 'da9ec142a4b3d1ca835b2faccf9aee0a1281576d' }, index.h("div", { key: '94a0e0a9e4ae566e07ab53c504a20989e05b6f11', class: "background-overlay", onClick: e => this.handleDismiss(e) }, index.h("div", { key: '78d6fab1e32f09002b00442b2fa918575bec7f9d', class: "dialog" }, index.h("div", { key: 'f4b3543a9122261749e13bf7caaf0ac2a7d2a0f4', class: "heading" }, "Verification Required"), index.h("div", { key: 'fe1ad760e6bbea9c0e8cc12d510fb1ffdfc7b81f', class: "help-box" }, index.h("div", { key: '191b7e6d424aee58701a5a57503bfa5dcbbc406f', class: "help-icon", innerHTML: QuestionIcon }), index.h("div", { key: '8ddf35ca7358d91888058b54be427aa2e8da2364', class: "help-details" }, index.h("div", { key: '9868c9d652530bc997355b87b61f244bf61fa0dd', class: "help-title" }, "Please verify your email address"), index.h("div", { key: '26225e071294932647c28f681dce4760891edbf1', class: "help-text" }, "Check your email for a one-time code, and enter it below."))), index.h("div", { key: '31d29af90322766a2291dc23fee3402818aefa90', class: "input" }, index.h("label", { key: '31fe41032d507b1e6197a41837b2a7adedd09b91', htmlFor: "verdocs-otp-input" }, "Code:"), index.h("input", { key: '6ca5b65df16aac9b543af0eee7001a9615de1dbe', type: "text", id: "verdocs-otp-input", name: "verdocs-otp-input", placeholder: "Enter your one-time code...", value: this.response, onInput: (e) => (this.response = e.target.value) })), index.h("div", { key: '030518c05dc22158db7020c75b933d41898625a8', class: "buttons" }, index.h("verdocs-button", { key: 'afac01d04a8b04776996cec4d375ad38b50c2a7a', label: "Cancel", variant: "outline", onClick: () => this.handleCancel() }), index.h("verdocs-button", { key: '8fd5904ef20fb5d8026f938862283a00f52b659a', label: 'Resend', onClick: () => this.handleResend(), disabled: this.resendDisabled }), index.h("verdocs-button", { key: 'a5747866f5c8ab50e21b107768bd008f282c3404', label: 'Submit', onClick: () => this.handleSubmit(), disabled: !this.response }))))));
3894
3894
  }
3895
3895
  };
3896
3896
  VerdocsOtpDialog.style = VerdocsOtpDialogStyle0;