@invoice-sdk/widget 1.125.15 → 1.126.0

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.
@@ -1,5 +1,5 @@
1
- import { c as O, f as G, e as te, b as ne, o as re, p as ie, s as ae, q as oe } from "./loading-Be9H7dYJ.js";
2
- import { t, c as Q, k as se } from "./index-BF6bVOOY.js";
1
+ import { c as O, f as G, e as te, b as ne, o as re, p as ie, s as ae, q as oe } from "./loading-Bs9il-yL.js";
2
+ import { t, c as Q, k as se } from "./index-CpTaTzi5.js";
3
3
  function B(i) {
4
4
  const n = i.trim();
5
5
  return n ? n.length < 2 || n.length > 250 ? { valid: !1, error: t("length_2_250") } : /[<>:"\/\\|?*@#$%!^]/.test(n) ? { valid: !1, error: t("invalid_characters") } : { valid: !0 } : { valid: !1, error: t("required_name") };
@@ -623,7 +623,9 @@ function me({
623
623
  hideOkButton: !0,
624
624
  theme: r,
625
625
  closeOnClickOutside: !1
626
- }).open();
626
+ }).open(), setTimeout(() => {
627
+ window.location.href = "https://landing-staging.1invoice.vn/";
628
+ }, 5e3);
627
629
  return;
628
630
  }
629
631
  if (I === "failed") {
@@ -5108,7 +5108,7 @@ function ed(e) {
5108
5108
  }
5109
5109
  async function Gd(e) {
5110
5110
  if (ce(e), !TA) {
5111
- const { InvoiceRegisterWidget: i } = await import("./widget-YxHm6F6B.js");
5111
+ const { InvoiceRegisterWidget: i } = await import("./widget-DLORQyjI.js");
5112
5112
  TA = i;
5113
5113
  }
5114
5114
  const A = Ee(e.selector), t = await TA(
@@ -5129,7 +5129,7 @@ async function Gd(e) {
5129
5129
  }
5130
5130
  async function Hd(e) {
5131
5131
  if (ce(e), !WA) {
5132
- const { EContractWidget: t } = await import("./widget-YxHm6F6B.js");
5132
+ const { EContractWidget: t } = await import("./widget-DLORQyjI.js");
5133
5133
  WA = t;
5134
5134
  }
5135
5135
  const A = Ee(e.selector);
@@ -5175,7 +5175,7 @@ async function bd(e) {
5175
5175
  }
5176
5176
  };
5177
5177
  }
5178
- XA || (XA = (await import("./index-BpeERBmS.js")).createInvoiceRequestFlow);
5178
+ XA || (XA = (await import("./index-BYnZd_pX.js")).createInvoiceRequestFlow);
5179
5179
  const o = XA({
5180
5180
  uuid: i,
5181
5181
  orderInfo: n,
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H as s, B as e, z as i, A as n, J as o, E as r, D as g, F as c } from "./index-BF6bVOOY.js";
1
+ import { H as s, B as e, z as i, A as n, J as o, E as r, D as g, F as c } from "./index-CpTaTzi5.js";
2
2
  export {
3
3
  s as checkContractStatus,
4
4
  e as getSettings,