@invoice-sdk/widget 1.75.3 → 1.76.1
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-nFefX0BN.js → index-BPmYaMay.js} +19 -10
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +36 -36
- package/dist/{widget-D8FFwD3Q.js → widget-vcxKs8ez.js} +1313 -1290
- package/dist/widget.css +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
4603
|
+
const { InvoiceRegisterWidget: i } = yield import("./widget-vcxKs8ez.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, {
|
|
4620
|
-
|
|
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-
|
|
4629
|
+
const { EContractWidget: i } = yield import("./widget-vcxKs8ez.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(
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
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-
|
|
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-BPmYaMay.js";
|
|
2
2
|
export {
|
|
3
3
|
s as checkContractStatus,
|
|
4
4
|
a as getSettings,
|