@invoice-sdk/widget 1.120.10 → 1.120.12

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.
@@ -14,7 +14,7 @@ var n = (e, t, r) => new Promise((o, c) => {
14
14
  }, g = (i) => i.done ? o(i.value) : Promise.resolve(i.value).then(s, d);
15
15
  g((r = r.apply(e, t)).next());
16
16
  });
17
- import { k as l, g as w, l as f, C as m, G as y, n as E, I as R, S as v, o as C, a as h, p as I, q as p, r as O, O as T } from "./index-DmKwVIQz.js";
17
+ import { k as l, g as w, l as f, C as m, G as y, n as E, I as R, S as v, o as C, a as h, p as I, q as p, r as O, O as T } from "./index-JJPjPnRq.js";
18
18
  function k({
19
19
  title: e,
20
20
  isDisabled: t = !1,
@@ -95,7 +95,7 @@ function $(e, t) {
95
95
  })).data;
96
96
  });
97
97
  }
98
- const A = (e) => new Intl.NumberFormat("vi-VN").format(e), S = "1.120.10";
98
+ const A = (e) => new Intl.NumberFormat("vi-VN").format(e), S = "1.120.12";
99
99
  function U(r) {
100
100
  return n(this, arguments, function* ({ search: e, bank: t }) {
101
101
  return (yield a.get(`${p}`, {
@@ -35,8 +35,8 @@ var mn = (t, n, e) => new Promise((c, h) => {
35
35
  }, o = (u) => u.done ? c(u.value) : Promise.resolve(u.value).then(a, A);
36
36
  o((e = e.apply(t, n)).next());
37
37
  });
38
- import { t as g, g as _h, a as $h, b as Ct, s as Zt, c as It, d as Tc, e as xc, f as dc, m as wc, h as pc, i as Cc, v as fc } from "./index-DmKwVIQz.js";
39
- import { c as Xt, a as _t, g as jt, b as Xc, f as In, d as Bc, e as n0, h as Nc, i as Ec, j as Hc, k as yc, l as Pc, m as kc, n as vc } from "./loading-Dc1B03Rv.js";
38
+ import { t as g, g as _h, a as $h, b as Ct, s as Zt, c as It, d as Tc, e as xc, f as dc, m as wc, h as pc, i as Cc, v as fc } from "./index-JJPjPnRq.js";
39
+ import { c as Xt, a as _t, g as jt, b as Xc, f as In, d as Bc, e as n0, h as Nc, i as Ec, j as Hc, k as yc, l as Pc, m as kc, n as vc } from "./loading-BrL3NnqX.js";
40
40
  import { g as nc } from "./_commonjsHelpers-bAxELxBV.js";
41
41
  function ih({ steps: t = [], currentStep: n = 1 } = {}) {
42
42
  const e = document.createElement("div");
@@ -2112,13 +2112,14 @@ function r1(i) {
2112
2112
  required: !0,
2113
2113
  type: "text",
2114
2114
  value: ((gn = (An = n == null ? void 0 : n.eInvoiceRegistration) == null ? void 0 : An.organization) == null ? void 0 : gn.taxCode) || "",
2115
- readOnly: !1,
2115
+ readOnly: s,
2116
2116
  note: g(
2117
2117
  "taxNote",
2118
2118
  "Với khách hàng là hộ kinh doanh, hiển thị theo số CCCD"
2119
2119
  ),
2120
2120
  horizontal: !0,
2121
2121
  onInput: (D) => {
2122
+ if (s) return;
2122
2123
  const M = D.target.value, nn = M.replace(/[^\d-]/g, "");
2123
2124
  nn !== M && (D.target.value = nn);
2124
2125
  const on = nn.trim();
@@ -3617,7 +3618,7 @@ function E1(N) {
3617
3618
  const _ = en.value.find(
3618
3619
  (sn) => F.includes(sn.code)
3619
3620
  );
3620
- y = c ? c._id : _ ? _._id : tn == null ? void 0 : tn[0]._id, Cn(tn);
3621
+ y = c ? c._id : _ ? _._id : tn == null ? void 0 : tn[0]._id, Z(tn), Cn(tn);
3621
3622
  }
3622
3623
  Wn();
3623
3624
  } else
package/package.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "prepare": "npm run build"
47
47
  },
48
48
  "type": "module",
49
- "version": "1.120.10",
49
+ "version": "1.120.12",
50
50
  "repository": {},
51
51
  "dependencies": {
52
52
  "@invoice-sdk/id_extraction_qr": "^1.8.3",