@opentiny/vue-runtime 3.25.0 → 3.26.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.
@@ -605,12 +605,12 @@ var ln = kt;
605
605
  var u = new i(l);
606
606
  return u.process(s);
607
607
  }
608
- t = e.exports = a, t.filterXSS = a, t.FilterXSS = i, function() {
608
+ t = e.exports = a, t.filterXSS = a, t.FilterXSS = i, (function() {
609
609
  for (var s in r)
610
610
  t[s] = r[s];
611
611
  for (var l in n)
612
612
  t[l] = n[l];
613
- }(), typeof window < "u" && (window.filterXSS = e.exports);
613
+ })(), typeof window < "u" && (window.filterXSS = e.exports);
614
614
  function o() {
615
615
  return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && self instanceof DedicatedWorkerGlobalScope;
616
616
  }
@@ -756,7 +756,7 @@ var q = function(t, r, n) {
756
756
  return t.classList.remove(i);
757
757
  });
758
758
  }
759
- }, St = function() {
759
+ }, St = (function() {
760
760
  if (typeof Map < "u")
761
761
  return Map;
762
762
  var e = function(r, n) {
@@ -765,7 +765,7 @@ var q = function(t, r, n) {
765
765
  return a[0] === n ? (i = o, !0) : !1;
766
766
  }), i;
767
767
  };
768
- return function() {
768
+ return (function() {
769
769
  function t() {
770
770
  this.__entries__ = [];
771
771
  }
@@ -795,19 +795,19 @@ var q = function(t, r, n) {
795
795
  r.call(n, o[1], o[0]);
796
796
  }
797
797
  }, t;
798
- }();
799
- }(), pn = globalThis.Function, me = function() {
798
+ })();
799
+ })(), pn = globalThis.Function, me = (function() {
800
800
  var e = function(r) {
801
801
  return r.Math === Math;
802
802
  };
803
803
  return typeof global < "u" && e(global) ? global : typeof self < "u" && e(self) ? self : typeof window < "u" && e(window) ? window : pn("return this")();
804
- }(), gn = function() {
804
+ })(), gn = (function() {
805
805
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(me) : function(e) {
806
806
  return setTimeout(function() {
807
807
  return e(Date.now());
808
808
  }, 1e3 / 60);
809
809
  };
810
- }(), hn = 2;
810
+ })(), hn = 2;
811
811
  function mn(e, t) {
812
812
  var r = !1, n = !1, i = 0, a, o = function() {
813
813
  r && (r = !1, e()), n && a();
@@ -825,7 +825,7 @@ function mn(e, t) {
825
825
  i = u;
826
826
  }, a;
827
827
  }
828
- var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], wn = typeof MutationObserver < "u", _n = function() {
828
+ var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], wn = typeof MutationObserver < "u", _n = (function() {
829
829
  function e() {
830
830
  this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = mn(this.refresh.bind(this), yn);
831
831
  }
@@ -869,7 +869,7 @@ var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size",
869
869
  }, e.getInstance = function() {
870
870
  return this._instance || (this._instance = new e()), this._instance;
871
871
  }, e._instance = null, e;
872
- }(), It = function(t, r) {
872
+ })(), It = function(t, r) {
873
873
  for (var n = 0, i = Object.keys(r); n < i.length; n++) {
874
874
  var a = i[n];
875
875
  Object.defineProperty(t, a, {
@@ -920,13 +920,13 @@ var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size",
920
920
  Math.abs(f) !== 1 && (u -= f), Math.abs(c) !== 1 && (l -= c);
921
921
  }
922
922
  return xe(a.left, a.top, l, u);
923
- }, Tn = /* @__PURE__ */ function() {
923
+ }, Tn = /* @__PURE__ */ (function() {
924
924
  return typeof SVGGraphicsElement < "u" ? function(e) {
925
925
  return e instanceof K(e).SVGGraphicsElement;
926
926
  } : function(e) {
927
927
  return e instanceof K(e).SVGElement && typeof e.getBBox == "function";
928
928
  };
929
- }(), On = function(t) {
929
+ })(), On = function(t) {
930
930
  return C ? Pt : Tn(t) ? An(t) : Cn(t);
931
931
  }, kn = function(t) {
932
932
  var r = t.x, n = t.y, i = t.width, a = t.height, o = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, s = Object.create(o.prototype);
@@ -940,7 +940,7 @@ var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size",
940
940
  bottom: a + n,
941
941
  left: r
942
942
  }), s;
943
- }, Sn = function() {
943
+ }, Sn = (function() {
944
944
  function e(t) {
945
945
  this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = xe(0, 0, 0, 0), this.target = t;
946
946
  }
@@ -951,7 +951,7 @@ var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size",
951
951
  var t = On(this.target);
952
952
  return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
953
953
  }, e;
954
- }(), In = /* @__PURE__ */ function() {
954
+ })(), In = /* @__PURE__ */ (function() {
955
955
  function e(t, r) {
956
956
  var n = kn(r);
957
957
  It(this, {
@@ -960,7 +960,7 @@ var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size",
960
960
  });
961
961
  }
962
962
  return e;
963
- }(), Pn = function() {
963
+ })(), Pn = (function() {
964
964
  function e(t, r, n) {
965
965
  if (this.observations_ = new St(), this.activeObservations_ = [], typeof t != "function")
966
966
  throw new TypeError("[TINY-Resize] The callback provided as parameter 1 is not a function.");
@@ -1003,7 +1003,7 @@ var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size",
1003
1003
  }, e.prototype.clearActive = function() {
1004
1004
  this.activeObservations_.splice(0);
1005
1005
  }, e;
1006
- }(), Mt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new St(), Rt = /* @__PURE__ */ function() {
1006
+ })(), Mt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new St(), Rt = /* @__PURE__ */ (function() {
1007
1007
  function e(t) {
1008
1008
  if (!(this instanceof e))
1009
1009
  throw new TypeError("[TINY-Resize] Cannot call a class as a function.");
@@ -1013,7 +1013,7 @@ var yn = 20, bn = ["top", "right", "bottom", "left", "width", "height", "size",
1013
1013
  Mt.set(this, n);
1014
1014
  }
1015
1015
  return e;
1016
- }();
1016
+ })();
1017
1017
  ["observe", "unobserve", "disconnect"].forEach(function(e) {
1018
1018
  Rt.prototype[e] = function() {
1019
1019
  var t;
@@ -1129,13 +1129,13 @@ Xn.forEach(function(e) {
1129
1129
  e === "MM" ? H[e] = H[e.substr(0, 1)] : H[e] = H[e.substr(0, 1).toLowerCase()];
1130
1130
  });
1131
1131
  var Yn = function() {
1132
- }, Qn = function() {
1132
+ }, Qn = (function() {
1133
1133
  return C ? function(e) {
1134
1134
  setTimeout(function() {
1135
1135
  return e(Date.now());
1136
1136
  }, 1e3 / 60);
1137
1137
  } : window.requestAnimationFrame.bind(window);
1138
- }(), Pe = function(t) {
1138
+ })(), Pe = function(t) {
1139
1139
  t.scheduled || (t.scheduled = !0, t.raf(Zn.bind(null, t)));
1140
1140
  }, Zn = function(t) {
1141
1141
  var r = t.reads, n = t.writes, i;
@@ -1155,7 +1155,7 @@ var Yn = function() {
1155
1155
  }, Jn = function(t, r) {
1156
1156
  for (var n in r)
1157
1157
  Object.hasOwnProperty.call(r, n) && (t[n] = r[n]);
1158
- }, ei = /* @__PURE__ */ function() {
1158
+ }, ei = /* @__PURE__ */ (function() {
1159
1159
  function e() {
1160
1160
  ct(this, e), this.reads = [], this.writes = [], this.raf = Qn.bind(window);
1161
1161
  }
@@ -1189,7 +1189,7 @@ var Yn = function() {
1189
1189
  return Jn(n, r), n.fastdom = this, n.initialize && n.initialize(), n;
1190
1190
  }
1191
1191
  }]);
1192
- }(), Ft = new ei(), at = function(t, r, n, i) {
1192
+ })(), Ft = new ei(), at = function(t, r, n, i) {
1193
1193
  var a = t._tasks, o = t.fastdom, s, l = new Promise(function(u, f) {
1194
1194
  s = o[r](function() {
1195
1195
  a.delete(l);
@@ -1223,7 +1223,7 @@ var ri = function(t, r) {
1223
1223
  }, ni = function(t, r) {
1224
1224
  var n = t.indexOf(r);
1225
1225
  return !!~n && !!t.splice(n, 1);
1226
- }, ii = /* @__PURE__ */ function() {
1226
+ }, ii = /* @__PURE__ */ (function() {
1227
1227
  function e(t) {
1228
1228
  ct(this, e), this.fastdom = t, this.tasks = [];
1229
1229
  }
@@ -1249,7 +1249,7 @@ var ri = function(t, r) {
1249
1249
  return arguments.length || ri(this.fastdom, this.tasks), ni(this.tasks, r), this.fastdom.clear(r);
1250
1250
  }
1251
1251
  }]);
1252
- }(), ai = {
1252
+ })(), ai = {
1253
1253
  sandbox: function() {
1254
1254
  return new ii(this.fastdom);
1255
1255
  }
@@ -2338,7 +2338,7 @@ var Ji = ["IconLoadingShadow", "IconNoData"], tr = 0, rr = function(t, r) {
2338
2338
  return r.indexOf(n.$el) - r.indexOf(i.$el);
2339
2339
  });
2340
2340
  };
2341
- const _a = "3.25.0";
2341
+ const _a = "3.26.0";
2342
2342
  var xa = ra($($({}, p), {}, {
2343
2343
  isVue2: er
2344
2344
  })), Aa = na($($({}, p), {}, {
@@ -680,12 +680,12 @@ var to = yr;
680
680
  var u = new o(l);
681
681
  return u.process(s);
682
682
  }
683
- t = e.exports = i, t.filterXSS = i, t.FilterXSS = o, function() {
683
+ t = e.exports = i, t.filterXSS = i, t.FilterXSS = o, (function() {
684
684
  for (var s in r)
685
685
  t[s] = r[s];
686
686
  for (var l in n)
687
687
  t[l] = n[l];
688
- }(), typeof window < "u" && (window.filterXSS = e.exports);
688
+ })(), typeof window < "u" && (window.filterXSS = e.exports);
689
689
  function a() {
690
690
  return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && self instanceof DedicatedWorkerGlobalScope;
691
691
  }
@@ -906,7 +906,7 @@ var lo = /([:\-_]+(.))/g, uo = /^moz([A-Z])/, fo = function(t) {
906
906
  return t.offsetParent === null;
907
907
  }
908
908
  return !1;
909
- }, Er = function() {
909
+ }, Er = (function() {
910
910
  if (typeof Map < "u")
911
911
  return Map;
912
912
  var e = function(r, n) {
@@ -915,7 +915,7 @@ var lo = /([:\-_]+(.))/g, uo = /^moz([A-Z])/, fo = function(t) {
915
915
  return i[0] === n ? (o = a, !0) : !1;
916
916
  }), o;
917
917
  };
918
- return function() {
918
+ return (function() {
919
919
  function t() {
920
920
  this.__entries__ = [];
921
921
  }
@@ -945,19 +945,19 @@ var lo = /([:\-_]+(.))/g, uo = /^moz([A-Z])/, fo = function(t) {
945
945
  r.call(n, a[1], a[0]);
946
946
  }
947
947
  }, t;
948
- }();
949
- }(), ho = globalThis.Function, Ee = function() {
948
+ })();
949
+ })(), ho = globalThis.Function, Ee = (function() {
950
950
  var e = function(r) {
951
951
  return r.Math === Math;
952
952
  };
953
953
  return typeof global < "u" && e(global) ? global : typeof self < "u" && e(self) ? self : typeof window < "u" && e(window) ? window : ho("return this")();
954
- }(), mo = function() {
954
+ })(), mo = (function() {
955
955
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Ee) : function(e) {
956
956
  return setTimeout(function() {
957
957
  return e(Date.now());
958
958
  }, 1e3 / 60);
959
959
  };
960
- }(), go = 2;
960
+ })(), go = 2;
961
961
  function bo(e, t) {
962
962
  var r = !1, n = !1, o = 0, i, a = function() {
963
963
  r && (r = !1, e()), n && i();
@@ -975,7 +975,7 @@ function bo(e, t) {
975
975
  o = u;
976
976
  }, i;
977
977
  }
978
- var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], xo = typeof MutationObserver < "u", Eo = function() {
978
+ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], xo = typeof MutationObserver < "u", Eo = (function() {
979
979
  function e() {
980
980
  this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = bo(this.refresh.bind(this), yo);
981
981
  }
@@ -1019,7 +1019,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1019
1019
  }, e.getInstance = function() {
1020
1020
  return this._instance || (this._instance = new e()), this._instance;
1021
1021
  }, e._instance = null, e;
1022
- }(), Sr = function(t, r) {
1022
+ })(), Sr = function(t, r) {
1023
1023
  for (var n = 0, o = Object.keys(r); n < o.length; n++) {
1024
1024
  var i = o[n];
1025
1025
  Object.defineProperty(t, i, {
@@ -1070,13 +1070,13 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1070
1070
  Math.abs(c) !== 1 && (u -= c), Math.abs(f) !== 1 && (l -= f);
1071
1071
  }
1072
1072
  return Ae(i.left, i.top, l, u);
1073
- }, Ao = /* @__PURE__ */ function() {
1073
+ }, Ao = /* @__PURE__ */ (function() {
1074
1074
  return typeof SVGGraphicsElement < "u" ? function(e) {
1075
1075
  return e instanceof ne(e).SVGGraphicsElement;
1076
1076
  } : function(e) {
1077
1077
  return e instanceof ne(e).SVGElement && typeof e.getBBox == "function";
1078
1078
  };
1079
- }(), ko = function(t) {
1079
+ })(), ko = function(t) {
1080
1080
  return w ? _r : Ao(t) ? _o(t) : To(t);
1081
1081
  }, Co = function(t) {
1082
1082
  var r = t.x, n = t.y, o = t.width, i = t.height, a = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, s = Object.create(a.prototype);
@@ -1090,7 +1090,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1090
1090
  bottom: i + n,
1091
1091
  left: r
1092
1092
  }), s;
1093
- }, Po = function() {
1093
+ }, Po = (function() {
1094
1094
  function e(t) {
1095
1095
  this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Ae(0, 0, 0, 0), this.target = t;
1096
1096
  }
@@ -1101,7 +1101,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1101
1101
  var t = ko(this.target);
1102
1102
  return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
1103
1103
  }, e;
1104
- }(), Ro = /* @__PURE__ */ function() {
1104
+ })(), Ro = /* @__PURE__ */ (function() {
1105
1105
  function e(t, r) {
1106
1106
  var n = Co(r);
1107
1107
  Sr(this, {
@@ -1110,7 +1110,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1110
1110
  });
1111
1111
  }
1112
1112
  return e;
1113
- }(), Io = function() {
1113
+ })(), Io = (function() {
1114
1114
  function e(t, r, n) {
1115
1115
  if (this.observations_ = new Er(), this.activeObservations_ = [], typeof t != "function")
1116
1116
  throw new TypeError("[TINY-Resize] The callback provided as parameter 1 is not a function.");
@@ -1153,7 +1153,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1153
1153
  }, e.prototype.clearActive = function() {
1154
1154
  this.activeObservations_.splice(0);
1155
1155
  }, e;
1156
- }(), Or = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Er(), Tr = /* @__PURE__ */ function() {
1156
+ })(), Or = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Er(), Tr = /* @__PURE__ */ (function() {
1157
1157
  function e(t) {
1158
1158
  if (!(this instanceof e))
1159
1159
  throw new TypeError("[TINY-Resize] Cannot call a class as a function.");
@@ -1163,7 +1163,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1163
1163
  Or.set(this, n);
1164
1164
  }
1165
1165
  return e;
1166
- }();
1166
+ })();
1167
1167
  ["observe", "unobserve", "disconnect"].forEach(function(e) {
1168
1168
  Tr.prototype[e] = function() {
1169
1169
  var t;
@@ -1369,13 +1369,13 @@ Z.dddd = Z.ddd;
1369
1369
  Zo.forEach(function(e) {
1370
1370
  e === "MM" ? Z[e] = Z[e.substr(0, 1)] : Z[e] = Z[e.substr(0, 1).toLowerCase()];
1371
1371
  });
1372
- var Ko = function() {
1372
+ var Ko = (function() {
1373
1373
  return w ? function(e) {
1374
1374
  setTimeout(function() {
1375
1375
  return e(Date.now());
1376
1376
  }, 1e3 / 60);
1377
1377
  } : window.requestAnimationFrame.bind(window);
1378
- }(), qe = function(t) {
1378
+ })(), qe = function(t) {
1379
1379
  t.scheduled || (t.scheduled = !0, t.raf(Qo.bind(null, t)));
1380
1380
  }, Qo = function(t) {
1381
1381
  var r = t.reads, n = t.writes, o;
@@ -1395,7 +1395,7 @@ var Ko = function() {
1395
1395
  }, ei = function(t, r) {
1396
1396
  for (var n in r)
1397
1397
  Object.hasOwnProperty.call(r, n) && (t[n] = r[n]);
1398
- }, ti = /* @__PURE__ */ function() {
1398
+ }, ti = /* @__PURE__ */ (function() {
1399
1399
  function e() {
1400
1400
  at(this, e), this.reads = [], this.writes = [], this.raf = Ko.bind(window);
1401
1401
  }
@@ -1429,7 +1429,7 @@ var Ko = function() {
1429
1429
  return ei(n, r), n.fastdom = this, n.initialize && n.initialize(), n;
1430
1430
  }
1431
1431
  }]);
1432
- }(), Cr = new ti(), Rt = function(t, r, n, o) {
1432
+ })(), Cr = new ti(), Rt = function(t, r, n, o) {
1433
1433
  var i = t._tasks, a = t.fastdom, s, l = new Promise(function(u, c) {
1434
1434
  s = a[r](function() {
1435
1435
  i.delete(l);
@@ -1463,7 +1463,7 @@ var ni = function(t, r) {
1463
1463
  }, oi = function(t, r) {
1464
1464
  var n = t.indexOf(r);
1465
1465
  return !!~n && !!t.splice(n, 1);
1466
- }, ii = /* @__PURE__ */ function() {
1466
+ }, ii = /* @__PURE__ */ (function() {
1467
1467
  function e(t) {
1468
1468
  at(this, e), this.fastdom = t, this.tasks = [];
1469
1469
  }
@@ -1489,7 +1489,7 @@ var ni = function(t, r) {
1489
1489
  return arguments.length || ni(this.fastdom, this.tasks), oi(this.tasks, r), this.fastdom.clear(r);
1490
1490
  }
1491
1491
  }]);
1492
- }(), ai = {
1492
+ })(), ai = {
1493
1493
  sandbox: function() {
1494
1494
  return new ii(this.fastdom);
1495
1495
  }
@@ -2062,7 +2062,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2062
2062
  e.forEach(function(t) {
2063
2063
  t.target.popperVm && t.contentRect.height > 50 && t.target.popperVm.update();
2064
2064
  });
2065
- }) : null, Ri = /* @__PURE__ */ function() {
2065
+ }) : null, Ri = /* @__PURE__ */ (function() {
2066
2066
  function e(t, r, n) {
2067
2067
  var o = this;
2068
2068
  at(this, e), $(this, "_reference", void 0), $(this, "_popper", void 0), $(this, "state", void 0), $(this, "_options", void 0), $(this, "modifiers", {}), $(this, "popperOuterSize", null), this._reference = t, this._popper = r, this.state = {}, this._options = te(te({}, Oi), n), this._options.modifierFns = jr.map(function(i) {
@@ -2339,7 +2339,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2339
2339
  Object.assign(this._options, r);
2340
2340
  }
2341
2341
  }]);
2342
- }(), Ii = function(t) {
2342
+ })(), Ii = function(t) {
2343
2343
  var r = t.api, n = t.state, o = t.props;
2344
2344
  return function(i) {
2345
2345
  var a = 200, s = i && i.type === "mouseenter" ? a : 0;
@@ -3255,7 +3255,7 @@ const Q = rt({
3255
3255
  template: Ki
3256
3256
  });
3257
3257
  }
3258
- }), ea = "3.25.0";
3258
+ }), ea = "3.26.0";
3259
3259
  Q.model = {
3260
3260
  prop: "modelValue",
3261
3261
  event: "update:modelValue"
@@ -3607,7 +3607,7 @@ var Oe = "@@observevisibilityContext", va = function(t) {
3607
3607
  updated: Qt,
3608
3608
  unmounted: tt
3609
3609
  };
3610
- const Sa = function(e, t) {
3610
+ const Sa = (function(e, t) {
3611
3611
  var r = 200, n = null, o, i = function() {
3612
3612
  typeof t.value == "function" && t.value.apply();
3613
3613
  }, a = function() {
@@ -3616,7 +3616,7 @@ const Sa = function(e, t) {
3616
3616
  S(e, "mousedown", function(s) {
3617
3617
  s.button === 0 && (o = Date.now(), co(document, "mouseup", a), clearInterval(n), n = setInterval(i, r));
3618
3618
  });
3619
- };
3619
+ });
3620
3620
  export {
3621
3621
  ba as AutoTip,
3622
3622
  ya as Clickoutside,