@everymatrix/cashier-verifications 1.99.56 → 1.99.59

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.
@@ -10,7 +10,7 @@ var ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writ
10
10
  Bi.call(t, r) && ht(e, r, t[r]);
11
11
  return e;
12
12
  }, Gt = (e, t) => Oi(e, Pi(t));
13
- var K = (e, t, r) => (ht(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var K = (e, t, r) => ht(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var jt = (e, t, r) => new Promise((i, n) => {
15
15
  var o = (u) => {
16
16
  try {
@@ -30,8 +30,7 @@ var jt = (e, t, r) => new Promise((i, n) => {
30
30
  function te() {
31
31
  }
32
32
  function Ai(e, t) {
33
- for (const r in t)
34
- e[r] = t[r];
33
+ for (const r in t) e[r] = t[r];
35
34
  return (
36
35
  /** @type {T & S} */
37
36
  e
@@ -117,8 +116,7 @@ function Hi(e, t, r) {
117
116
  }
118
117
  }
119
118
  function Di(e) {
120
- if (!e)
121
- return document;
119
+ if (!e) return document;
122
120
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
123
121
  return t && /** @type {ShadowRoot} */
124
122
  t.host ? (
@@ -226,8 +224,7 @@ function Le(e) {
226
224
  Ie = e;
227
225
  }
228
226
  function Ri() {
229
- if (!Ie)
230
- throw new Error("Function called outside component initialization");
227
+ if (!Ie) throw new Error("Function called outside component initialization");
231
228
  return Ie;
232
229
  }
233
230
  function Vi(e) {
@@ -261,8 +258,7 @@ function ee() {
261
258
  } catch (t) {
262
259
  throw Ee.length = 0, xe = 0, t;
263
260
  }
264
- for (Le(null), Ee.length = 0, xe = 0; xt.length; )
265
- xt.pop()();
261
+ for (Le(null), Ee.length = 0, xe = 0; xt.length; ) xt.pop()();
266
262
  for (let t = 0; t < Pe.length; t += 1) {
267
263
  const r = Pe[t];
268
264
  dt.has(r) || (dt.add(r), r());
@@ -302,13 +298,11 @@ function Fi(e, t) {
302
298
  }
303
299
  function Bs(e, t, r, i) {
304
300
  if (e && e.o) {
305
- if (Je.has(e))
306
- return;
301
+ if (Je.has(e)) return;
307
302
  Je.add(e), be.c.push(() => {
308
303
  Je.delete(e), i && (r && e.d(1), i());
309
304
  }), e.o(t);
310
- } else
311
- i && i();
305
+ } else i && i();
312
306
  }
313
307
  function Zt(e) {
314
308
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
@@ -738,8 +732,7 @@ var Et = function(e, t) {
738
732
  return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
739
733
  r.__proto__ = i;
740
734
  } || function(r, i) {
741
- for (var n in i)
742
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
735
+ for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
743
736
  }, Et(e, t);
744
737
  };
745
738
  function ut(e, t) {
@@ -755,25 +748,22 @@ var ne = function() {
755
748
  return ne = Object.assign || function(t) {
756
749
  for (var r, i = 1, n = arguments.length; i < n; i++) {
757
750
  r = arguments[i];
758
- for (var o in r)
759
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
751
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
760
752
  }
761
753
  return t;
762
754
  }, ne.apply(this, arguments);
763
755
  };
764
756
  function mn(e, t) {
765
757
  var r = {};
766
- for (var i in e)
767
- Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
758
+ for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
768
759
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
769
760
  for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
770
761
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
771
762
  return r;
772
763
  }
773
764
  function mt(e, t, r) {
774
- if (r || arguments.length === 2)
775
- for (var i = 0, n = t.length, o; i < n; i++)
776
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
765
+ if (r || arguments.length === 2) for (var i = 0, n = t.length, o; i < n; i++)
766
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
777
767
  return e.concat(o || Array.prototype.slice.call(t));
778
768
  }
779
769
  function pt(e, t) {
@@ -828,8 +818,7 @@ var yn = function() {
828
818
  return nt = Object.assign || function(t) {
829
819
  for (var r, i = 1, n = arguments.length; i < n; i++) {
830
820
  r = arguments[i];
831
- for (var o in r)
832
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
821
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
833
822
  }
834
823
  return t;
835
824
  }, nt.apply(this, arguments);
@@ -975,8 +964,7 @@ var U = function() {
975
964
  return U = Object.assign || function(t) {
976
965
  for (var r, i = 1, n = arguments.length; i < n; i++) {
977
966
  r = arguments[i];
978
- for (var o in r)
979
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
967
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
980
968
  }
981
969
  return t;
982
970
  }, U.apply(this, arguments);
@@ -2618,8 +2606,7 @@ function Dn(e, t) {
2618
2606
  r += u;
2619
2607
  for (; s-- > 0; )
2620
2608
  r = f + r;
2621
- } else
2622
- n === "J" ? r += "H" : r += n;
2609
+ } else n === "J" ? r += "H" : r += n;
2623
2610
  }
2624
2611
  return r;
2625
2612
  }
@@ -3222,8 +3209,7 @@ function At(e) {
3222
3209
  if (delete t.location, Vr(t) || Ur(t))
3223
3210
  for (var r in t.options)
3224
3211
  delete t.options[r].location, At(t.options[r].value);
3225
- else
3226
- Ir(t) && Fr(t.style) || (Nr(t) || Rr(t)) && St(t.style) ? delete t.style.location : zr(t) && At(t.children);
3212
+ else Ir(t) && Fr(t.style) || (Nr(t) || Rr(t)) && St(t.style) ? delete t.style.location : zr(t) && At(t.children);
3227
3213
  });
3228
3214
  }
3229
3215
  function Jn(e, t) {
@@ -4094,8 +4080,7 @@ function jo(e, t) {
4094
4080
  }
4095
4081
  }
4096
4082
  function Wo(e, t) {
4097
- if (!e || !t)
4098
- return;
4083
+ if (!e || !t) return;
4099
4084
  const r = new URL(t);
4100
4085
  fetch(r.href).then((i) => i.text()).then((i) => {
4101
4086
  const n = document.createElement("style");
@@ -4105,8 +4090,7 @@ function Wo(e, t) {
4105
4090
  });
4106
4091
  }
4107
4092
  function qo(e, t, r, i = !1) {
4108
- if (!window.emMessageBus)
4109
- return;
4093
+ if (!window.emMessageBus) return;
4110
4094
  if (!("adoptedStyleSheets" in Document.prototype) || !i)
4111
4095
  return r = Xo(e, t), r;
4112
4096
  window[Se] || (window[Se] = {}), r = Yo(e, t);
@@ -4127,8 +4111,7 @@ function Xo(e, t) {
4127
4111
  }
4128
4112
  function Yo(e, t) {
4129
4113
  return window.emMessageBus.subscribe(t, (r) => {
4130
- if (!e)
4131
- return;
4114
+ if (!e) return;
4132
4115
  const i = e.getRootNode(), n = window[Se];
4133
4116
  let o = n[t] && n[t].sheet;
4134
4117
  o ? n[t].refCount = n[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), n[t] = {
@@ -4157,8 +4140,7 @@ var Ht = function(e, t) {
4157
4140
  return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
4158
4141
  r.__proto__ = i;
4159
4142
  } || function(r, i) {
4160
- for (var n in i)
4161
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
4143
+ for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
4162
4144
  }, Ht(e, t);
4163
4145
  };
4164
4146
  function Fe(e, t) {
@@ -4172,40 +4154,34 @@ function Fe(e, t) {
4172
4154
  }
4173
4155
  function Dt(e) {
4174
4156
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
4175
- if (r)
4176
- return r.call(e);
4177
- if (e && typeof e.length == "number")
4178
- return {
4179
- next: function() {
4180
- return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
4181
- }
4182
- };
4157
+ if (r) return r.call(e);
4158
+ if (e && typeof e.length == "number") return {
4159
+ next: function() {
4160
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
4161
+ }
4162
+ };
4183
4163
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4184
4164
  }
4185
4165
  function Mt(e, t) {
4186
4166
  var r = typeof Symbol == "function" && e[Symbol.iterator];
4187
- if (!r)
4188
- return e;
4167
+ if (!r) return e;
4189
4168
  var i = r.call(e), n, o = [], s;
4190
4169
  try {
4191
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
4192
- o.push(n.value);
4170
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) o.push(n.value);
4193
4171
  } catch (a) {
4194
4172
  s = { error: a };
4195
4173
  } finally {
4196
4174
  try {
4197
4175
  n && !n.done && (r = i.return) && r.call(i);
4198
4176
  } finally {
4199
- if (s)
4200
- throw s.error;
4177
+ if (s) throw s.error;
4201
4178
  }
4202
4179
  }
4203
4180
  return o;
4204
4181
  }
4205
4182
  function Ct(e, t, r) {
4206
- if (arguments.length === 2)
4207
- for (var i = 0, n = t.length, o; i < n; i++)
4208
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4183
+ if (arguments.length === 2) for (var i = 0, n = t.length, o; i < n; i++)
4184
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4209
4185
  return e.concat(o || t);
4210
4186
  }
4211
4187
  function ue(e) {
@@ -4254,8 +4230,7 @@ var ct = function() {
4254
4230
  try {
4255
4231
  u && !u.done && (r = a.return) && r.call(a);
4256
4232
  } finally {
4257
- if (t)
4258
- throw t.error;
4233
+ if (t) throw t.error;
4259
4234
  }
4260
4235
  }
4261
4236
  else
@@ -4285,8 +4260,7 @@ var ct = function() {
4285
4260
  try {
4286
4261
  y && !y.done && (n = p.return) && n.call(p);
4287
4262
  } finally {
4288
- if (i)
4289
- throw i.error;
4263
+ if (i) throw i.error;
4290
4264
  }
4291
4265
  }
4292
4266
  }
@@ -4553,8 +4527,7 @@ var as = oi(function(e) {
4553
4527
  try {
4554
4528
  a && !a.done && (o = s.return) && o.call(s);
4555
4529
  } finally {
4556
- if (n)
4557
- throw n.error;
4530
+ if (n) throw n.error;
4558
4531
  }
4559
4532
  }
4560
4533
  }
@@ -4674,7 +4647,7 @@ if (typeof window != "undefined") {
4674
4647
  }
4675
4648
  };
4676
4649
  };
4677
- customElements.define = e(customElements.define), import("./CashierModal-B5ffxEae.js").then(({ default: t }) => {
4650
+ customElements.define = e(customElements.define), import("./CashierModal-t9LPX5e6.js").then(({ default: t }) => {
4678
4651
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
4679
4652
  });
4680
4653
  }
@@ -4693,8 +4666,7 @@ var ci = { exports: {} };
4693
4666
  var g = -x.utcOffset(), h = Math.abs(g), b = Math.floor(h / 60), v = h % 60;
4694
4667
  return (g <= 0 ? "+" : "-") + D(b, 2, "0") + ":" + D(v, 2, "0");
4695
4668
  }, m: function x(g, h) {
4696
- if (g.date() < h.date())
4697
- return -x(h, g);
4669
+ if (g.date() < h.date()) return -x(h, g);
4698
4670
  var b = 12 * (h.year() - g.year()) + (h.month() - g.month()), v = g.clone().add(b, m), E = h - v < 0, S = g.clone().add(b + (E ? -1 : 1), m);
4699
4671
  return +(-(b + (h - v) / (E ? v - S : S - v)) || 0);
4700
4672
  }, a: function(x) {
@@ -4709,22 +4681,19 @@ var ci = { exports: {} };
4709
4681
  return x instanceof fe || !(!x || !x[O]);
4710
4682
  }, C = function x(g, h, b) {
4711
4683
  var v;
4712
- if (!g)
4713
- return P;
4684
+ if (!g) return P;
4714
4685
  if (typeof g == "string") {
4715
4686
  var E = g.toLowerCase();
4716
4687
  T[E] && (v = E), h && (T[E] = h, v = E);
4717
4688
  var S = g.split("-");
4718
- if (!v && S.length > 1)
4719
- return x(S[0]);
4689
+ if (!v && S.length > 1) return x(S[0]);
4720
4690
  } else {
4721
4691
  var L = g.name;
4722
4692
  T[L] = g, v = L;
4723
4693
  }
4724
4694
  return !b && v && (P = v), v || !b && P;
4725
4695
  }, V = function(x, g) {
4726
- if (z(x))
4727
- return x.clone();
4696
+ if (z(x)) return x.clone();
4728
4697
  var h = typeof g == "object" ? g : {};
4729
4698
  return h.date = x, h.args = arguments, new fe(h);
4730
4699
  }, H = G;
@@ -4739,12 +4708,9 @@ var ci = { exports: {} };
4739
4708
  return g.parse = function(h) {
4740
4709
  this.$d = function(b) {
4741
4710
  var v = b.date, E = b.utc;
4742
- if (v === null)
4743
- return /* @__PURE__ */ new Date(NaN);
4744
- if (H.u(v))
4745
- return /* @__PURE__ */ new Date();
4746
- if (v instanceof Date)
4747
- return new Date(v);
4711
+ if (v === null) return /* @__PURE__ */ new Date(NaN);
4712
+ if (H.u(v)) return /* @__PURE__ */ new Date();
4713
+ if (v instanceof Date) return new Date(v);
4748
4714
  if (typeof v == "string" && !/Z$/i.test(v)) {
4749
4715
  var S = v.match($);
4750
4716
  if (S) {
@@ -4808,8 +4774,7 @@ var ci = { exports: {} };
4808
4774
  if (E === m || E === y) {
4809
4775
  var j = this.clone().set(_, 1);
4810
4776
  j.$d[L](I), j.init(), this.$d = j.set(_, Math.min(this.$D, j.daysInMonth())).$d;
4811
- } else
4812
- L && this.$d[L](I);
4777
+ } else L && this.$d[L](I);
4813
4778
  return this.init(), this;
4814
4779
  }, g.set = function(h, b) {
4815
4780
  return this.clone().$set(h, b);
@@ -4822,22 +4787,17 @@ var ci = { exports: {} };
4822
4787
  var Q = V(E);
4823
4788
  return H.w(Q.date(Q.date() + Math.round(X * h)), E);
4824
4789
  };
4825
- if (S === m)
4826
- return this.set(m, this.$M + h);
4827
- if (S === y)
4828
- return this.set(y, this.$y + h);
4829
- if (S === f)
4830
- return L(1);
4831
- if (S === c)
4832
- return L(7);
4790
+ if (S === m) return this.set(m, this.$M + h);
4791
+ if (S === y) return this.set(y, this.$y + h);
4792
+ if (S === f) return L(1);
4793
+ if (S === c) return L(7);
4833
4794
  var I = (v = {}, v[a] = i, v[u] = n, v[s] = r, v)[S] || 1, j = this.$d.getTime() + h * I;
4834
4795
  return H.w(j, this);
4835
4796
  }, g.subtract = function(h, b) {
4836
4797
  return this.add(-1 * h, b);
4837
4798
  }, g.format = function(h) {
4838
4799
  var b = this, v = this.$locale();
4839
- if (!this.isValid())
4840
- return v.invalidDate || d;
4800
+ if (!this.isValid()) return v.invalidDate || d;
4841
4801
  var E = h || "YYYY-MM-DDTHH:mm:ssZ", S = H.z(this), L = this.$H, I = this.$m, j = this.$M, X = v.weekdays, Q = v.months, le = v.meridiem, oe = function(Z, ie, ve, _e) {
4842
4802
  return Z && (Z[ie] || Z(b, E)) || ve[ie].slice(0, _e);
4843
4803
  }, ce = function(Z) {
@@ -4941,8 +4901,7 @@ var ci = { exports: {} };
4941
4901
  }, g.$locale = function() {
4942
4902
  return T[this.$L];
4943
4903
  }, g.locale = function(h, b) {
4944
- if (!h)
4945
- return this.$L;
4904
+ if (!h) return this.$L;
4946
4905
  var v = this.clone(), E = C(h, b, !0);
4947
4906
  return E && (v.$L = E), v;
4948
4907
  }, g.clone = function() {
@@ -4996,31 +4955,25 @@ var hi = { exports: {} };
4996
4955
  if (this.$u) {
4997
4956
  var d = this.$d;
4998
4957
  this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
4999
- } else
5000
- c.call(this);
4958
+ } else c.call(this);
5001
4959
  };
5002
4960
  var m = u.utcOffset;
5003
4961
  u.utcOffset = function(d, $) {
5004
4962
  var F = this.$utils().u;
5005
- if (F(d))
5006
- return this.$u ? 0 : F(this.$offset) ? m.call(this) : this.$offset;
4963
+ if (F(d)) return this.$u ? 0 : F(this.$offset) ? m.call(this) : this.$offset;
5007
4964
  if (typeof d == "string" && (d = function(P) {
5008
4965
  P === void 0 && (P = "");
5009
4966
  var T = P.match(i);
5010
- if (!T)
5011
- return null;
4967
+ if (!T) return null;
5012
4968
  var O = ("" + T[0]).match(n) || ["-", 0, 0], z = O[0], C = 60 * +O[1] + +O[2];
5013
4969
  return C === 0 ? 0 : z === "+" ? C : -C;
5014
- }(d), d === null))
5015
- return this;
4970
+ }(d), d === null)) return this;
5016
4971
  var R = Math.abs(d) <= 16 ? 60 * d : d, D = this;
5017
- if ($)
5018
- return D.$offset = R, D.$u = d === 0, D;
4972
+ if ($) return D.$offset = R, D.$u = d === 0, D;
5019
4973
  if (d !== 0) {
5020
4974
  var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
5021
4975
  (D = this.local().add(R + G, r)).$offset = R, D.$x.$localOffset = G;
5022
- } else
5023
- D = this.utc();
4976
+ } else D = this.utc();
5024
4977
  return D;
5025
4978
  };
5026
4979
  var p = u.format;
@@ -5043,8 +4996,7 @@ var hi = { exports: {} };
5043
4996
  };
5044
4997
  var _ = u.diff;
5045
4998
  u.diff = function(d, $, F) {
5046
- if (d && this.$u === d.$u)
5047
- return _.call(this, d, $, F);
4999
+ if (d && this.$u === d.$u) return _.call(this, d, $, F);
5048
5000
  var R = this.local(), D = a(d).local();
5049
5001
  return _.call(R, D, $, F);
5050
5002
  };
@@ -5276,13 +5228,11 @@ function gs(e) {
5276
5228
  if (
5277
5229
  /*isLoading*/
5278
5230
  o[7]
5279
- )
5280
- return vs;
5231
+ ) return vs;
5281
5232
  if (
5282
5233
  /*displayMessages*/
5283
5234
  o[3]
5284
- )
5285
- return ps;
5235
+ ) return ps;
5286
5236
  }
5287
5237
  let i = r(e), n = i && i(e);
5288
5238
  return {
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-W39yxZwO.cjs")).then(e=>e.CashierVerifications_ce).then(({default:e})=>{!customElements.get("cashier-verifications")&&customElements.define("cashier-verifications",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-Bm_0XZQl.cjs")).then(e=>e.CashierVerifications_ce).then(({default:e})=>{!customElements.get("cashier-verifications")&&customElements.define("cashier-verifications",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierVerifications-Bo7gATZp.js").then((e) => e.F).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierVerifications-W6lsw6uq.js").then((e) => e.F).then(({ default: e }) => {
14
14
  !customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { F as i } from "../components/CashierVerifications-BQliIIH9.js";
1
+ import { F as i } from "../components/CashierVerifications-V6R0_EL1.js";
2
2
  function n(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-verifications",
3
- "version": "1.99.56",
3
+ "version": "1.99.59",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-verifications.cjs",
6
6
  "module": "esnext/cashier-verifications.js",