@invoice-sdk/widget 1.76.0 → 1.76.2

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.
@@ -4600,7 +4600,7 @@ let $A = null, _A = null, nA = null, CA = null;
4600
4600
  function oB(t) {
4601
4601
  return H(this, null, function* () {
4602
4602
  if (t.mode && dt(t.mode), t.baseUrl && ut(t.mode, t.baseUrl), t.language && Pt(t.language), !_A) {
4603
- const { InvoiceRegisterWidget: i } = yield import("./widget-Cbdqlp6-.js");
4603
+ const { InvoiceRegisterWidget: i } = yield import("./widget-C7UP2JNP.js");
4604
4604
  _A = i;
4605
4605
  }
4606
4606
  const A = typeof t.selector == "string" ? document.querySelector(t.selector) : t.selector;
@@ -4616,26 +4616,35 @@ function oB(t) {
4616
4616
  t.data || {},
4617
4617
  t.theme
4618
4618
  );
4619
- return nA = e, { destroy: () => {
4620
- e && e.destroy && (e.destroy(), nA = null);
4621
- } };
4619
+ return nA = e, {
4620
+ destroy: () => {
4621
+ e && e.destroy && (e.destroy(), nA = null);
4622
+ }
4623
+ };
4622
4624
  });
4623
4625
  }
4624
4626
  function rB(t) {
4625
4627
  return H(this, null, function* () {
4626
4628
  if (t.mode && dt(t.mode), t.baseUrl && ut(t.mode, t.baseUrl), t.language && Pt(t.language), !$A) {
4627
- const { EContractWidget: i } = yield import("./widget-Cbdqlp6-.js");
4629
+ const { EContractWidget: i } = yield import("./widget-C7UP2JNP.js");
4628
4630
  $A = i;
4629
4631
  }
4630
4632
  const A = typeof t.selector == "string" ? document.querySelector(t.selector) : t.selector;
4631
4633
  if (!A)
4632
4634
  throw new Error(`[WidgetSDK] Mount element not found: ${t.selector}`);
4633
4635
  CA && CA.destroy && (CA.destroy(), CA = null);
4634
- const e = yield $A(A, t.onClose || (() => {
4635
- }), t.data || {}, t.theme);
4636
- return CA = e, { destroy: () => {
4637
- e && e.destroy && (e.destroy(), CA = null);
4638
- } };
4636
+ const e = yield $A(
4637
+ A,
4638
+ t.onClose || (() => {
4639
+ }),
4640
+ t.data || {},
4641
+ t.onCompleteSignature
4642
+ );
4643
+ return CA = e, {
4644
+ destroy: () => {
4645
+ e && e.destroy && (e.destroy(), CA = null);
4646
+ }
4647
+ };
4639
4648
  });
4640
4649
  }
4641
4650
  let Be = /* @__PURE__ */ new Set();
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as s, x as a, q as i, w as r, r as g, z as n, y as o, A as u, u as c } from "./index-daMOQLMq.js";
1
+ import { B as s, x as a, q as i, w as r, r as g, z as n, y as o, A as u, u as c } from "./index-DdzPZ3AP.js";
2
2
  export {
3
3
  s as checkContractStatus,
4
4
  a as getSettings,