@invoice-sdk/widget 1.102.2 → 1.102.3

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.
@@ -35,7 +35,7 @@ var _ = (g, A, E) => new Promise((C, B) => {
35
35
  }, n = (I) => I.done ? C(I.value) : Promise.resolve(I.value).then(Q, t);
36
36
  n((E = E.apply(g, A)).next());
37
37
  });
38
- import { t as a, g as PB, a as aQ, b as iQ, C as uQ, G as sQ, c as DQ, d as qB, e as rg, f as fQ, h as rQ, i as bg, O as mQ, s as fg, j as vB, k as PQ, l as qQ, m as vQ, n as MQ, o as lQ, p as TQ, v as dQ } from "./index-DW4eA_kr.js";
38
+ import { t as a, g as PB, a as aQ, b as iQ, C as uQ, G as sQ, c as DQ, d as qB, e as rg, f as fQ, h as rQ, i as bg, O as mQ, s as fg, j as vB, k as PQ, l as qQ, m as vQ, n as MQ, o as lQ, p as TQ, v as dQ } from "./index-CTgrw9XZ.js";
39
39
  import { g as VC } from "./_commonjsHelpers-bAxELxBV.js";
40
40
  function eC({ steps: g = [], currentStep: A = 1 } = {}) {
41
41
  const E = document.createElement("div");
@@ -2696,7 +2696,8 @@ function eE(e) {
2696
2696
  return !(!OA.test(qA) || !OA.test(DA) || !/^\d{12}$/.test(O.legalRepresentative.idCard) || !new RegExp("^(?!\\.)(?!.*\\.\\.)[A-Za-z0-9.!#$%&'*+/=?^_`{|}~-]{1,64}(?<!\\.)@(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\.)+[A-Za-z0-9-]{2,63}$").test(O.contactPerson.email) || !/^[1-9][CK]\d{2}[TDLMNBGHX][A-Z]{2}$/.test(O.invoiceSymbol) || !z.license || !z.idCard || !z.idCardBack);
2697
2697
  }
2698
2698
  function AA() {
2699
- BA.disabled = !lA() || !ug || Cg() || $A() || b.getError() || K.getError() || !A._userHasEditedTaxCode;
2699
+ const z = !i && !A._userHasEditedTaxCode;
2700
+ BA.disabled = !lA() || !ug || Cg() || $A() || b.getError() || K.getError() || z;
2700
2701
  }
2701
2702
  function hA() {
2702
2703
  var z, O;
@@ -2982,7 +2983,7 @@ function sC({
2982
2983
  }
2983
2984
  };
2984
2985
  }
2985
- const uE = "1.102.2";
2986
+ const uE = "1.102.3";
2986
2987
  function sE(E) {
2987
2988
  return _(this, arguments, function* ({ search: g, bank: A }) {
2988
2989
  return (yield bA.get(`${bg}`, {
package/package.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "prepare": "npm run build"
47
47
  },
48
48
  "type": "module",
49
- "version": "1.102.2",
49
+ "version": "1.102.3",
50
50
  "repository": {},
51
51
  "dependencies": {
52
52
  "@invoice-sdk/id_extraction_qr": "^1.8.3",