@invoice-sdk/widget 1.125.14 → 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.
- package/dist/{index-CNlzqOAE.js → index-BYnZd_pX.js} +5 -3
- package/dist/{index-2t2xdEQC.js → index-CpTaTzi5.js} +45 -46
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +68 -68
- package/dist/{loading-DGpagwve.js → loading-Bs9il-yL.js} +46 -50
- package/dist/{widget-BEIdKIYS.js → widget-DLORQyjI.js} +1899 -1906
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as O, f as G, e as te, b as ne,
|
|
2
|
-
import { t, c as Q, k as se } from "./index-
|
|
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") {
|