@invoice-sdk/widget 1.40.4 → 1.41.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,4 +1,4 @@
1
- import { c as R } from "./index-CR2hFk8b.js";
1
+ import { c as R } from "./index-BXdO6DtP.js";
2
2
  function V(w, d) {
3
3
  for (var b = 0; b < d.length; b++) {
4
4
  const y = d[b];
@@ -2105,7 +2105,7 @@ typeof ActiveXObject == "function" && (typeof global != "undefined" && global.Ac
2105
2105
  typeof Ag != "function" && (Ag = void 0);
2106
2106
  if (!Ag && !yg && !$g)
2107
2107
  try {
2108
- import("./browser-ponyfill-Ch295liu.js").then((g) => g.b).then(function(g) {
2108
+ import("./browser-ponyfill-2o0azs__.js").then((g) => g.b).then(function(g) {
2109
2109
  Ag = g.default;
2110
2110
  }).catch(function() {
2111
2111
  });
@@ -2712,7 +2712,7 @@ function JA({
2712
2712
  i.appendChild(r);
2713
2713
  }
2714
2714
  const w = document.createElement("input");
2715
- w.type = C, w.name = g, w.id = g, w.value = A, w.placeholder = B, w.readOnly = t, w.autocomplete = "off", w.autocapitalize = "off", w.spellcheck = !1, w.className = [
2715
+ w.type = C, w.name = g, w.id = g, w.value = A, w.placeholder = B, w.readOnly = t, w.className = [
2716
2716
  "wgt:col-span-4",
2717
2717
  "wgt:w-full",
2718
2718
  "wgt:border",
@@ -2722,7 +2722,6 @@ function JA({
2722
2722
  "wgt:focus:outline-none",
2723
2723
  "wgt:focus:ring-2",
2724
2724
  E ? "wgt:border-red-500" : "wgt:border-gray-300",
2725
- "wgt:read-only:bg-weak-50",
2726
2725
  "wgt:read-only:focus:ring-transparent",
2727
2726
  "wgt:bg-white",
2728
2727
  "wgt:focus:ring-primary"
@@ -7120,7 +7119,7 @@ function ru(B) {
7120
7119
  return K(this, arguments, function* ({
7121
7120
  onSubmit: g,
7122
7121
  registrationData: A,
7123
- theme: C = "default"
7122
+ theme: C = "ocb"
7124
7123
  }) {
7125
7124
  var EA, tA, rA, lA, LA, KB, NB, XB, TB, SB, pB, xB, UB, ZB, VB, WB, $B, _B, AQ, gQ, CQ, BQ, QQ, IQ, EQ, nQ, tQ, eQ, iQ, wQ, oQ, rQ, cQ, sQ, DQ, fQ, uQ, aQ, MQ, hQ, vQ, dQ, PQ, JQ;
7126
7125
  const Q = document.createElement("div");
@@ -7140,7 +7139,7 @@ function ru(B) {
7140
7139
  placeholder: "",
7141
7140
  type: "text",
7142
7141
  value: ((tA = (EA = A == null ? void 0 : A.eInvoiceRegistration) == null ? void 0 : EA.organization) == null ? void 0 : tA.taxCode) || "",
7143
- readOnly: !1,
7142
+ readOnly: C === "ocb",
7144
7143
  error: null,
7145
7144
  onInput: ou((L) => {
7146
7145
  const G = L.target.value.trim();
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i, a, r as s, s as r, u as g } from "./index-CR2hFk8b.js";
1
+ import { i, a, r as s, s as r, u as g } from "./index-BXdO6DtP.js";
2
2
  export {
3
3
  i as init,
4
4
  a as initEContract,