@atomsolution/invoice-widget 1.68.0 → 1.69.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.
@@ -17,25 +17,25 @@ function $(w, d) {
17
17
  }
18
18
  var A = { exports: {} }, U;
19
19
  function X() {
20
- return U || (U = 1, (function(w, d) {
21
- var b = typeof globalThis != "undefined" && globalThis || typeof self != "undefined" && self || typeof R != "undefined" && R, y = (function() {
20
+ return U || (U = 1, function(w, d) {
21
+ var b = typeof globalThis != "undefined" && globalThis || typeof self != "undefined" && self || typeof R != "undefined" && R, y = function() {
22
22
  function p() {
23
23
  this.fetch = !1, this.DOMException = b.DOMException;
24
24
  }
25
25
  return p.prototype = b, new p();
26
- })();
26
+ }();
27
27
  (function(p) {
28
28
  (function(u) {
29
29
  var a = typeof p != "undefined" && p || typeof self != "undefined" && self || typeof a != "undefined" && a, f = {
30
30
  searchParams: "URLSearchParams" in a,
31
31
  iterable: "Symbol" in a && "iterator" in Symbol,
32
- blob: "FileReader" in a && "Blob" in a && (function() {
32
+ blob: "FileReader" in a && "Blob" in a && function() {
33
33
  try {
34
34
  return new Blob(), !0;
35
35
  } catch (e) {
36
36
  return !1;
37
37
  }
38
- })(),
38
+ }(),
39
39
  formData: "FormData" in a,
40
40
  arrayBuffer: "ArrayBuffer" in a
41
41
  };
@@ -329,7 +329,7 @@ function X() {
329
329
  })(y), y.fetch.ponyfill = !0, delete y.fetch.polyfill;
330
330
  var h = b.fetch ? b : y;
331
331
  d = h.fetch, d.default = h.fetch, d.fetch = h.fetch, d.Headers = h.Headers, d.Request = h.Request, d.Response = h.Response, w.exports = d;
332
- })(A, A.exports)), A.exports;
332
+ }(A, A.exports)), A.exports;
333
333
  }
334
334
  var j = X();
335
335
  const J = /* @__PURE__ */ z(j), Q = /* @__PURE__ */ $({
@@ -474,9 +474,9 @@ class oA extends sA {
474
474
  let L;
475
475
  c && (L = this.pluralResolver.getSuffix(X, e.count, e));
476
476
  const W = `${this.options.pluralSeparator}zero`, m = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
477
- if (c && (e.ordinal && L.indexOf(m) === 0 && p.push(E + L.replace(m, this.options.pluralSeparator)), p.push(E + L), Q && p.push(E + W)), I) {
478
- const d = `${E}${this.options.contextSeparator || "_"}${e.context}`;
479
- p.push(d), c && (e.ordinal && L.indexOf(m) === 0 && p.push(d + L.replace(m, this.options.pluralSeparator)), p.push(d + L), Q && p.push(d + W));
477
+ if (c && (p.push(E + L), e.ordinal && L.indexOf(m) === 0 && p.push(E + L.replace(m, this.options.pluralSeparator)), Q && p.push(E + W)), I) {
478
+ const d = `${E}${this.options.contextSeparator}${e.context}`;
479
+ p.push(d), c && (p.push(d + L), e.ordinal && L.indexOf(m) === 0 && p.push(d + L.replace(m, this.options.pluralSeparator)), Q && p.push(d + W));
480
480
  }
481
481
  }
482
482
  let b;
@@ -680,7 +680,7 @@ class ke {
680
680
  }
681
681
  resetRegExp() {
682
682
  const A = (e, t) => (e == null ? void 0 : e.source) === t ? (e.lastIndex = 0, e) : new RegExp(t, "g");
683
- this.regexp = A(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = A(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = A(this.nestingRegexp, `${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`);
683
+ this.regexp = A(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = A(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = A(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
684
684
  }
685
685
  interpolate(A, e, t, n) {
686
686
  var Q;
@@ -2090,7 +2090,7 @@ typeof ActiveXObject == "function" && (typeof global != "undefined" && global.Ac
2090
2090
  typeof x != "function" && (x = void 0);
2091
2091
  if (!x && !$ && !rA)
2092
2092
  try {
2093
- import("./browser-ponyfill-CxQCNiiL.js").then((i) => i.b).then(function(i) {
2093
+ import("./browser-ponyfill-BxQPfTD2.js").then((i) => i.b).then(function(i) {
2094
2094
  x = i.default;
2095
2095
  }).catch(function() {
2096
2096
  });
@@ -2257,7 +2257,7 @@ var Za = function() {
2257
2257
  cache: "default"
2258
2258
  }
2259
2259
  };
2260
- }, re = (function() {
2260
+ }, re = function() {
2261
2261
  function i(A) {
2262
2262
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2263
2263
  Wa(this, i), this.services = A, this.options = e, this.allOptions = t, this.type = "backend", this.init(A, e, t);
@@ -2364,7 +2364,7 @@ var Za = function() {
2364
2364
  }
2365
2365
  }
2366
2366
  }]);
2367
- })();
2367
+ }();
2368
2368
  re.type = "backend";
2369
2369
  h.use(re).use(te).init({
2370
2370
  lng: "vi",
@@ -2674,7 +2674,7 @@ let QA = null, cA = null, z = null, q = null;
2674
2674
  function IC(i) {
2675
2675
  return gA(this, null, function* () {
2676
2676
  if (i.mode && se(i.mode), i.language && Ce(i.language), !cA) {
2677
- const { InvoiceRegisterWidget: t } = yield import("./widget-DLrsc0u2.js");
2677
+ const { InvoiceRegisterWidget: t } = yield import("./widget-DkShtbvZ.js");
2678
2678
  cA = t;
2679
2679
  }
2680
2680
  const A = typeof i.selector == "string" ? document.querySelector(i.selector) : i.selector;
@@ -2698,7 +2698,7 @@ function IC(i) {
2698
2698
  function QC(i) {
2699
2699
  return gA(this, null, function* () {
2700
2700
  if (i.mode && se(i.mode), i.language && Ce(i.language), !QA) {
2701
- const { EContractWidget: t } = yield import("./widget-DLrsc0u2.js");
2701
+ const { EContractWidget: t } = yield import("./widget-DkShtbvZ.js");
2702
2702
  QA = t;
2703
2703
  }
2704
2704
  const A = typeof i.selector == "string" ? document.querySelector(i.selector) : i.selector;
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as i, i as s, e as a, r as g, s as r, u as n } from "./index-CwdVx-si.js";
1
+ import { h as i, i as s, e as a, r as g, s as r, u as n } from "./index-CYIaeP0H.js";
2
2
  export {
3
3
  i as getSettings,
4
4
  s as init,