bitboss-ui 0.2.50 → 0.2.52

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.
Files changed (189) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +2 -2
  2. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +24 -24
  3. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +2 -2
  4. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +24 -24
  5. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +6 -6
  6. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +2 -2
  7. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +24 -24
  8. package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -4
  9. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +4 -4
  10. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +4 -4
  11. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +2 -2
  12. package/dist/components/BbBadge/BbBadge.vue.d.ts +4 -4
  13. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +2 -2
  14. package/dist/components/BbButton/BbButton.vue.d.ts +2 -2
  15. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +24 -24
  16. package/dist/components/BbChip/BbChip.vue.d.ts +2 -2
  17. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +2 -2
  18. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +8 -8
  19. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  20. package/dist/components/BbPagination/BbPagination.vue.d.ts +6 -6
  21. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +24 -24
  22. package/dist/components/BbRatio/BbRatio.vue.d.ts +2 -2
  23. package/dist/components/BbSelect/BbSelect.vue.d.ts +6 -6
  24. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +1 -1
  25. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +24 -24
  26. package/dist/components/BbTag/BbTag.vue.d.ts +4 -4
  27. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
  28. package/dist/index101.js +32 -32
  29. package/dist/index101.js.map +1 -1
  30. package/dist/index103.js +2 -2
  31. package/dist/index103.js.map +1 -1
  32. package/dist/index105.js.map +1 -1
  33. package/dist/index107.js.map +1 -1
  34. package/dist/index109.js +1 -1
  35. package/dist/index111.js +3 -3
  36. package/dist/index111.js.map +1 -1
  37. package/dist/index113.js +1 -1
  38. package/dist/index115.js.map +1 -1
  39. package/dist/index116.js +1 -1
  40. package/dist/index116.js.map +1 -1
  41. package/dist/index117.js.map +1 -1
  42. package/dist/index118.js +1 -1
  43. package/dist/index118.js.map +1 -1
  44. package/dist/index125.js +1 -1
  45. package/dist/index126.js +1 -1
  46. package/dist/index127.js +1 -1
  47. package/dist/index13.js +5 -5
  48. package/dist/index13.js.map +1 -1
  49. package/dist/index131.js +2 -2
  50. package/dist/index15.js +8 -8
  51. package/dist/index17.js +9 -9
  52. package/dist/index19.js +3 -3
  53. package/dist/index19.js.map +1 -1
  54. package/dist/index198.js +1 -1
  55. package/dist/index199.js +3 -368
  56. package/dist/index199.js.map +1 -1
  57. package/dist/index200.js +34 -133
  58. package/dist/index200.js.map +1 -1
  59. package/dist/index201.js +6 -5
  60. package/dist/index201.js.map +1 -1
  61. package/dist/index202.js +3 -19
  62. package/dist/index202.js.map +1 -1
  63. package/dist/index203.js +3 -2
  64. package/dist/index203.js.map +1 -1
  65. package/dist/index204.js +368 -2
  66. package/dist/index204.js.map +1 -1
  67. package/dist/index205.js +130 -170
  68. package/dist/index205.js.map +1 -1
  69. package/dist/index206.js +5 -23
  70. package/dist/index206.js.map +1 -1
  71. package/dist/index207.js +18 -372
  72. package/dist/index207.js.map +1 -1
  73. package/dist/index208.js +2 -235
  74. package/dist/index208.js.map +1 -1
  75. package/dist/index209.js +2 -3
  76. package/dist/index209.js.map +1 -1
  77. package/dist/index21.js +2 -2
  78. package/dist/index21.js.map +1 -1
  79. package/dist/index210.js +172 -33
  80. package/dist/index210.js.map +1 -1
  81. package/dist/index211.js +23 -6
  82. package/dist/index211.js.map +1 -1
  83. package/dist/index212.js +371 -14
  84. package/dist/index212.js.map +1 -1
  85. package/dist/index213.js +10 -16
  86. package/dist/index213.js.map +1 -1
  87. package/dist/index214.js +2 -20
  88. package/dist/index214.js.map +1 -1
  89. package/dist/index215.js +2 -29
  90. package/dist/index215.js.map +1 -1
  91. package/dist/index216.js +235 -8
  92. package/dist/index216.js.map +1 -1
  93. package/dist/index217.js +16 -3
  94. package/dist/index217.js.map +1 -1
  95. package/dist/index218.js +16 -3
  96. package/dist/index218.js.map +1 -1
  97. package/dist/index219.js +20 -10
  98. package/dist/index219.js.map +1 -1
  99. package/dist/index220.js +29 -2
  100. package/dist/index220.js.map +1 -1
  101. package/dist/index221.js +8 -2
  102. package/dist/index221.js.map +1 -1
  103. package/dist/index223.js +4 -4
  104. package/dist/index226.js +3 -78
  105. package/dist/index226.js.map +1 -1
  106. package/dist/index227.js +79 -2
  107. package/dist/index227.js.map +1 -1
  108. package/dist/index228.js +434 -3
  109. package/dist/index228.js.map +1 -1
  110. package/dist/index229.js +88 -5
  111. package/dist/index229.js.map +1 -1
  112. package/dist/index230.js +200 -2
  113. package/dist/index230.js.map +1 -1
  114. package/dist/index231.js +2 -295
  115. package/dist/index231.js.map +1 -1
  116. package/dist/index232.js +224 -2
  117. package/dist/index232.js.map +1 -1
  118. package/dist/index233.js +258 -2
  119. package/dist/index233.js.map +1 -1
  120. package/dist/index234.js +5 -116
  121. package/dist/index234.js.map +1 -1
  122. package/dist/index235.js +2 -106
  123. package/dist/index235.js.map +1 -1
  124. package/dist/index236.js +291 -431
  125. package/dist/index236.js.map +1 -1
  126. package/dist/index237.js +2 -89
  127. package/dist/index237.js.map +1 -1
  128. package/dist/index238.js +2 -224
  129. package/dist/index238.js.map +1 -1
  130. package/dist/index239.js +105 -246
  131. package/dist/index239.js.map +1 -1
  132. package/dist/index240.js +104 -198
  133. package/dist/index240.js.map +1 -1
  134. package/dist/index241.js +160 -2
  135. package/dist/index241.js.map +1 -1
  136. package/dist/index242.js +1 -4
  137. package/dist/index242.js.map +1 -1
  138. package/dist/index243.js +69 -2
  139. package/dist/index243.js.map +1 -1
  140. package/dist/index244.js +5 -2
  141. package/dist/index244.js.map +1 -1
  142. package/dist/index245.js +15 -2
  143. package/dist/index245.js.map +1 -1
  144. package/dist/index246.js +2 -5
  145. package/dist/index246.js.map +1 -1
  146. package/dist/index247.js +2 -160
  147. package/dist/index247.js.map +1 -1
  148. package/dist/index248.js +4 -1
  149. package/dist/index248.js.map +1 -1
  150. package/dist/index249.js +2 -69
  151. package/dist/index249.js.map +1 -1
  152. package/dist/index250.js +2 -15
  153. package/dist/index250.js.map +1 -1
  154. package/dist/index254.js +2 -3
  155. package/dist/index254.js.map +1 -1
  156. package/dist/index255.js +3 -2
  157. package/dist/index255.js.map +1 -1
  158. package/dist/index27.js.map +1 -1
  159. package/dist/index29.js +2 -2
  160. package/dist/index31.js +314 -337
  161. package/dist/index31.js.map +1 -1
  162. package/dist/index33.js.map +1 -1
  163. package/dist/index37.js +6 -6
  164. package/dist/index37.js.map +1 -1
  165. package/dist/index39.js.map +1 -1
  166. package/dist/index41.js.map +1 -1
  167. package/dist/index47.js.map +1 -1
  168. package/dist/index49.js.map +1 -1
  169. package/dist/index51.js.map +1 -1
  170. package/dist/index57.js.map +1 -1
  171. package/dist/index61.js.map +1 -1
  172. package/dist/index65.js +3 -3
  173. package/dist/index65.js.map +1 -1
  174. package/dist/index72.js +1 -1
  175. package/dist/index72.js.map +1 -1
  176. package/dist/index75.js +1 -1
  177. package/dist/index75.js.map +1 -1
  178. package/dist/index77.js +7 -5
  179. package/dist/index77.js.map +1 -1
  180. package/dist/index79.js +12 -12
  181. package/dist/index79.js.map +1 -1
  182. package/dist/index85.js.map +1 -1
  183. package/dist/index9.js.map +1 -1
  184. package/dist/index91.js.map +1 -1
  185. package/dist/index93.js.map +1 -1
  186. package/dist/index97.js.map +1 -1
  187. package/dist/index99.js.map +1 -1
  188. package/dist/style.css +1 -1
  189. package/package.json +2 -2
package/dist/index200.js CHANGED
@@ -1,137 +1,38 @@
1
- import { getDefaultExportFromCjs as R, commonjsGlobal as W } from "./index229.js";
2
- import { __module as G } from "./index230.js";
3
- (function(V, rt) {
4
- (function(b, Z) {
5
- V.exports = Z();
6
- })(W, function() {
7
- var b = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, Z = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, $ = /\d\d/, i = /\d\d?/, y = /\d*[^-_:/,()\s\d]+/, m = {}, U = function(t) {
8
- return (t = +t) + (t > 68 ? 1900 : 2e3);
9
- }, o = function(t) {
10
- return function(r) {
11
- this[t] = +r;
12
- };
13
- }, j = [/[+-]\d\d:?(\d\d)?|Z/, function(t) {
14
- (this.zone || (this.zone = {})).offset = function(r) {
15
- if (!r || r === "Z")
16
- return 0;
17
- var n = r.match(/([+-]|\d\d)/g), e = 60 * n[1] + (+n[2] || 0);
18
- return e === 0 ? 0 : n[0] === "+" ? -e : e;
19
- }(t);
20
- }], F = function(t) {
21
- var r = m[t];
22
- return r && (r.indexOf ? r : r.s.concat(r.f));
23
- }, k = function(t, r) {
24
- var n, e = m.meridiem;
25
- if (e) {
26
- for (var c = 1; c <= 24; c += 1)
27
- if (t.indexOf(e(c, 0, r)) > -1) {
28
- n = c > 12;
29
- break;
30
- }
31
- } else
32
- n = t === (r ? "pm" : "PM");
33
- return n;
34
- }, q = { A: [y, function(t) {
35
- this.afternoon = k(t, !1);
36
- }], a: [y, function(t) {
37
- this.afternoon = k(t, !0);
38
- }], S: [/\d/, function(t) {
39
- this.milliseconds = 100 * +t;
40
- }], SS: [$, function(t) {
41
- this.milliseconds = 10 * +t;
42
- }], SSS: [/\d{3}/, function(t) {
43
- this.milliseconds = +t;
44
- }], s: [i, o("seconds")], ss: [i, o("seconds")], m: [i, o("minutes")], mm: [i, o("minutes")], H: [i, o("hours")], h: [i, o("hours")], HH: [i, o("hours")], hh: [i, o("hours")], D: [i, o("day")], DD: [$, o("day")], Do: [y, function(t) {
45
- var r = m.ordinal, n = t.match(/\d+/);
46
- if (this.day = n[0], r)
47
- for (var e = 1; e <= 31; e += 1)
48
- r(e).replace(/\[|\]/g, "") === t && (this.day = e);
49
- }], M: [i, o("month")], MM: [$, o("month")], MMM: [y, function(t) {
50
- var r = F("months"), n = (F("monthsShort") || r.map(function(e) {
51
- return e.slice(0, 3);
52
- })).indexOf(t) + 1;
53
- if (n < 1)
54
- throw new Error();
55
- this.month = n % 12 || n;
56
- }], MMMM: [y, function(t) {
57
- var r = F("months").indexOf(t) + 1;
58
- if (r < 1)
59
- throw new Error();
60
- this.month = r % 12 || r;
61
- }], Y: [/[+-]?\d+/, o("year")], YY: [$, function(t) {
62
- this.year = U(t);
63
- }], YYYY: [/\d{4}/, o("year")], Z: j, ZZ: j };
64
- function B(t) {
65
- var r, n;
66
- r = t, n = m && m.formats;
67
- for (var e = (t = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(v, l, f) {
68
- var a = f && f.toUpperCase();
69
- return l || n[f] || b[f] || n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(M, Y, D) {
70
- return Y || D.slice(1);
71
- });
72
- })).match(Z), c = e.length, h = 0; h < c; h += 1) {
73
- var w = e[h], p = q[w], u = p && p[0], d = p && p[1];
74
- e[h] = d ? { regex: u, parser: d } : w.replace(/^\[|\]$/g, "");
75
- }
76
- return function(v) {
77
- for (var l = {}, f = 0, a = 0; f < c; f += 1) {
78
- var M = e[f];
79
- if (typeof M == "string")
80
- a += M.length;
81
- else {
82
- var Y = M.regex, D = M.parser, S = v.slice(a), g = Y.exec(S)[0];
83
- D.call(l, g), v = v.replace(g, "");
84
- }
1
+ import { unrefElement as m } from "./index131.js";
2
+ import { ref as u, watch as l } from "vue";
3
+ import { createFocusTrap as d } from "./index228.js";
4
+ import { tryOnScopeDispose as D } from "./index213.js";
5
+ function O(i, a = {}) {
6
+ let e;
7
+ const { immediate: f, ...n } = a, c = u(!1), s = u(!1), o = (t) => e && e.activate(t), r = (t) => e && e.deactivate(t), v = () => {
8
+ e && (e.pause(), s.value = !0);
9
+ }, p = () => {
10
+ e && (e.unpause(), s.value = !1);
11
+ };
12
+ return l(
13
+ () => m(i),
14
+ (t) => {
15
+ t && (e = d(t, {
16
+ ...n,
17
+ onActivate() {
18
+ c.value = !0, a.onActivate && a.onActivate();
19
+ },
20
+ onDeactivate() {
21
+ c.value = !1, a.onDeactivate && a.onDeactivate();
85
22
  }
86
- return function(L) {
87
- var s = L.afternoon;
88
- if (s !== void 0) {
89
- var x = L.hours;
90
- s ? x < 12 && (L.hours += 12) : x === 12 && (L.hours = 0), delete L.afternoon;
91
- }
92
- }(l), l;
93
- };
94
- }
95
- return function(t, r, n) {
96
- n.p.customParseFormat = !0, t && t.parseTwoDigitYear && (U = t.parseTwoDigitYear);
97
- var e = r.prototype, c = e.parse;
98
- e.parse = function(h) {
99
- var w = h.date, p = h.utc, u = h.args;
100
- this.$u = p;
101
- var d = u[1];
102
- if (typeof d == "string") {
103
- var v = u[2] === !0, l = u[3] === !0, f = v || l, a = u[2];
104
- l && (a = u[2]), m = this.$locale(), !v && a && (m = n.Ls[a]), this.$d = function(S, g, L) {
105
- try {
106
- if (["x", "X"].indexOf(g) > -1)
107
- return new Date((g === "X" ? 1e3 : 1) * S);
108
- var s = B(g)(S), x = s.year, A = s.month, I = s.day, J = s.hours, K = s.minutes, N = s.seconds, Q = s.milliseconds, X = s.zone, H = /* @__PURE__ */ new Date(), O = I || (x || A ? 1 : H.getDate()), P = x || H.getFullYear(), T = 0;
109
- x && !A || (T = A > 0 ? A - 1 : H.getMonth());
110
- var z = J || 0, C = K || 0, E = N || 0, _ = Q || 0;
111
- return X ? new Date(Date.UTC(P, T, O, z, C, E, _ + 60 * X.offset * 1e3)) : L ? new Date(Date.UTC(P, T, O, z, C, E, _)) : new Date(P, T, O, z, C, E, _);
112
- } catch {
113
- return /* @__PURE__ */ new Date("");
114
- }
115
- }(w, d, p), this.init(), a && a !== !0 && (this.$L = this.locale(a).$L), f && w != this.format(d) && (this.$d = /* @__PURE__ */ new Date("")), m = {};
116
- } else if (d instanceof Array)
117
- for (var M = d.length, Y = 1; Y <= M; Y += 1) {
118
- u[1] = d[Y - 1];
119
- var D = n.apply(this, u);
120
- if (D.isValid()) {
121
- this.$d = D.$d, this.$L = D.$L, this.init();
122
- break;
123
- }
124
- Y === M && (this.$d = /* @__PURE__ */ new Date(""));
125
- }
126
- else
127
- c.call(this, h);
128
- };
129
- };
130
- });
131
- })(G);
132
- var tt = G.exports;
133
- const at = /* @__PURE__ */ R(tt);
23
+ }), f && o());
24
+ },
25
+ { flush: "post" }
26
+ ), D(() => r()), {
27
+ hasFocus: c,
28
+ isPaused: s,
29
+ activate: o,
30
+ deactivate: r,
31
+ pause: v,
32
+ unpause: p
33
+ };
34
+ }
134
35
  export {
135
- at as default
36
+ O as useFocusTrap
136
37
  };
137
38
  //# sourceMappingURL=index200.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index200.js","sources":["../node_modules/dayjs/plugin/customParseFormat.js"],"sourcesContent":["!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=t()}(this,(function(){\"use strict\";var e={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},t=/(\\[[^[]*\\])|([-_:/.,()\\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\\d\\d/,r=/\\d\\d?/,i=/\\d*[^-_:/,()\\s\\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)};var a=function(e){return function(t){this[e]=+t}},f=[/[+-]\\d\\d:?(\\d\\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if(\"Z\"===e)return 0;var t=e.match(/([+-]|\\d\\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:\"+\"===t[0]?-n:n}(e)}],h=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?\"pm\":\"PM\");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\\d{3}/,function(e){this.milliseconds=+e}],s:[r,a(\"seconds\")],ss:[r,a(\"seconds\")],m:[r,a(\"minutes\")],mm:[r,a(\"minutes\")],H:[r,a(\"hours\")],h:[r,a(\"hours\")],HH:[r,a(\"hours\")],hh:[r,a(\"hours\")],D:[r,a(\"day\")],DD:[n,a(\"day\")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\\[|\\]/g,\"\")===e&&(this.day=r)}],M:[r,a(\"month\")],MM:[n,a(\"month\")],MMM:[i,function(e){var t=h(\"months\"),n=(h(\"monthsShort\")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=h(\"months\").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\\d+/,a(\"year\")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\\d{4}/,a(\"year\")],Z:f,ZZ:f};function c(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\\[[^\\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=s.length,f=0;f<a;f+=1){var h=s[f],u=d[h],c=u&&u[0],l=u&&u[1];s[f]=l?{regex:c,parser:l}:h.replace(/^\\[|\\]$/g,\"\")}return function(e){for(var t={},n=0,r=0;n<a;n+=1){var i=s[n];if(\"string\"==typeof i)r+=i.length;else{var o=i.regex,f=i.parser,h=e.slice(r),u=o.exec(h)[0];f.call(t,u),e=e.replace(u,\"\")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,s=e.args;this.$u=r;var a=s[1];if(\"string\"==typeof a){var f=!0===s[2],h=!0===s[3],u=f||h,d=s[2];h&&(d=s[2]),o=this.$locale(),!f&&d&&(o=n.Ls[d]),this.$d=function(e,t,n){try{if([\"x\",\"X\"].indexOf(t)>-1)return new Date((\"X\"===t?1e3:1)*e);var r=c(t)(e),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,h=r.seconds,u=r.milliseconds,d=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var p=a||0,v=f||0,D=h||0,g=u||0;return d?new Date(Date.UTC(M,Y,m,p,v,D,g+60*d.offset*1e3)):n?new Date(Date.UTC(M,Y,m,p,v,D,g)):new Date(M,Y,m,p,v,D,g)}catch(e){return new Date(\"\")}}(t,a,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date(\"\")),o={}}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=new Date(\"\"))}else i.call(this,e)}}}));"],"names":["e","t","module","this","n","r","i","o","s","a","f","h","u","d","c","l","m","M","Y","p","v","D","g"],"mappings":";;;AAAA,GAAC,SAASA,GAAEC,GAAE;AAAsD,IAAAC,EAAA,UAAeD,EAA4I;AAAA,EAAA,GAAEE,GAAM,WAAU;AAAc,QAAIH,IAAE,EAAC,KAAI,aAAY,IAAG,UAAS,GAAE,cAAa,IAAG,gBAAe,KAAI,uBAAsB,MAAK,4BAA2B,GAAEC,IAAE,2FAA0FG,IAAE,QAAOC,IAAE,SAAQC,IAAE,sBAAqBC,IAAE,CAAE,GAACC,IAAE,SAASR,GAAE;AAAC,cAAOA,IAAE,CAACA,MAAIA,IAAE,KAAG,OAAK;AAAA,IAAI,GAAMS,IAAE,SAAST,GAAE;AAAC,aAAO,SAASC,GAAE;AAAC,aAAKD,CAAC,IAAE,CAACC;AAAA,MAAC;AAAA,IAAC,GAAES,IAAE,CAAC,uBAAsB,SAASV,GAAE;AAAC,OAAC,KAAK,SAAO,KAAK,OAAK,CAAA,IAAK,SAAO,SAASA,GAAE;AAAgB,YAAZ,CAACA,KAAoBA,MAAN;AAAQ,iBAAO;AAAE,YAAIC,IAAED,EAAE,MAAM,cAAc,GAAEI,IAAE,KAAGH,EAAE,CAAC,KAAG,CAACA,EAAE,CAAC,KAAG;AAAG,eAAWG,MAAJ,IAAM,IAAQH,EAAE,CAAC,MAAT,MAAW,CAACG,IAAEA;AAAA,MAAC,EAAEJ,CAAC;AAAA,I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file":"index200.js","sources":["../node_modules/@vueuse/integrations/useFocusTrap.mjs"],"sourcesContent":["import { unrefElement, tryOnScopeDispose } from '@vueuse/core';\nimport { ref, watch } from 'vue-demi';\nimport { createFocusTrap } from 'focus-trap';\n\nfunction useFocusTrap(target, options = {}) {\n let trap;\n const { immediate, ...focusTrapOptions } = options;\n const hasFocus = ref(false);\n const isPaused = ref(false);\n const activate = (opts) => trap && trap.activate(opts);\n const deactivate = (opts) => trap && trap.deactivate(opts);\n const pause = () => {\n if (trap) {\n trap.pause();\n isPaused.value = true;\n }\n };\n const unpause = () => {\n if (trap) {\n trap.unpause();\n isPaused.value = false;\n }\n };\n watch(\n () => unrefElement(target),\n (el) => {\n if (!el)\n return;\n trap = createFocusTrap(el, {\n ...focusTrapOptions,\n onActivate() {\n hasFocus.value = true;\n if (options.onActivate)\n options.onActivate();\n },\n onDeactivate() {\n hasFocus.value = false;\n if (options.onDeactivate)\n options.onDeactivate();\n }\n });\n if (immediate)\n activate();\n },\n { flush: \"post\" }\n );\n tryOnScopeDispose(() => deactivate());\n return {\n hasFocus,\n isPaused,\n activate,\n deactivate,\n pause,\n unpause\n };\n}\n\nexport { useFocusTrap };\n"],"names":["useFocusTrap","target","options","trap","immediate","focusTrapOptions","hasFocus","ref","isPaused","activate","opts","deactivate","pause","unpause","watch","unrefElement","el","createFocusTrap","tryOnScopeDispose"],"mappings":";;;;AAIA,SAASA,EAAaC,GAAQC,IAAU,IAAI;AAC1C,MAAIC;AACJ,QAAM,EAAE,WAAAC,GAAW,GAAGC,EAAgB,IAAKH,GACrCI,IAAWC,EAAI,EAAK,GACpBC,IAAWD,EAAI,EAAK,GACpBE,IAAW,CAACC,MAASP,KAAQA,EAAK,SAASO,CAAI,GAC/CC,IAAa,CAACD,MAASP,KAAQA,EAAK,WAAWO,CAAI,GACnDE,IAAQ,MAAM;AAClB,IAAIT,MACFA,EAAK,MAAK,GACVK,EAAS,QAAQ;AAAA,EAEvB,GACQK,IAAU,MAAM;AACpB,IAAIV,MACFA,EAAK,QAAO,GACZK,EAAS,QAAQ;AAAA,EAEvB;AACE,SAAAM;AAAA,IACE,MAAMC,EAAad,CAAM;AAAA,IACzB,CAACe,MAAO;AACN,MAAKA,MAELb,IAAOc,EAAgBD,GAAI;AAAA,QACzB,GAAGX;AAAA,QACH,aAAa;AACX,UAAAC,EAAS,QAAQ,IACbJ,EAAQ,cACVA,EAAQ,WAAU;AAAA,QACrB;AAAA,QACD,eAAe;AACb,UAAAI,EAAS,QAAQ,IACbJ,EAAQ,gBACVA,EAAQ,aAAY;AAAA,QACvB;AAAA,MACT,CAAO,GACGE,KACFK;IACH;AAAA,IACD,EAAE,OAAO,OAAQ;AAAA,EACrB,GACES,EAAkB,MAAMP,EAAU,CAAE,GAC7B;AAAA,IACL,UAAAL;AAAA,IACA,UAAAE;AAAA,IACA,UAAAC;AAAA,IACA,YAAAE;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
package/dist/index201.js CHANGED
@@ -1,8 +1,9 @@
1
- import { getDefaultExportFromCjs as r } from "./index229.js";
2
- import { __require as o } from "./index231.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ const o = (e, t = 50) => new Promise((r) => {
2
+ const n = setInterval(() => {
3
+ e() && (clearInterval(n), r());
4
+ }, t);
5
+ });
5
6
  export {
6
- s as default
7
+ o as waitFor
7
8
  };
8
9
  //# sourceMappingURL=index201.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index201.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index201.js","sources":["../src/utilities/functions/waitFor.ts"],"sourcesContent":["/** Wait until iteratee returns true to resolve the promise */\nexport const waitFor: (\n\titeratee: () => boolean,\n\tinterval?: number\n) => Promise<void> = (iteratee, interval = 50) =>\n\tnew Promise((resolve) => {\n\t\tconst i = setInterval(() => {\n\t\t\tif (iteratee()) {\n\t\t\t\tclearInterval(i);\n\t\t\t\tresolve();\n\t\t\t}\n\t\t}, interval);\n\t});\n"],"names":["waitFor","iteratee","interval","resolve","i"],"mappings":"AACa,MAAAA,IAGQ,CAACC,GAAUC,IAAW,OAC1C,IAAI,QAAQ,CAACC,MAAY;AAClB,QAAAC,IAAI,YAAY,MAAM;AAC3B,IAAIH,QACH,cAAcG,CAAC,GACPD;KAEPD,CAAQ;AACZ,CAAC;"}
package/dist/index202.js CHANGED
@@ -1,22 +1,6 @@
1
- import { getDefaultExportFromCjs as i, commonjsGlobal as m } from "./index229.js";
2
- import { __module as _ } from "./index233.js";
3
- import { __require as s } from "./index231.js";
4
- (function(n, d) {
5
- (function(t, o) {
6
- n.exports = o(s());
7
- })(m, function(t) {
8
- function o(e) {
9
- return e && typeof e == "object" && "default" in e ? e : { default: e };
10
- }
11
- var a = o(t), r = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
12
- return e + "º";
13
- } };
14
- return a.default.locale(r, null, !0), r;
15
- });
16
- })(_);
17
- var u = _.exports;
18
- const p = /* @__PURE__ */ i(u);
1
+ import r from "./index232.js";
2
+ const t = r;
19
3
  export {
20
- p as default
4
+ t as deburr
21
5
  };
22
6
  //# sourceMappingURL=index202.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index202.js","sources":["../node_modules/dayjs/locale/it.js"],"sourcesContent":["!function(e,o){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=o(require(\"dayjs\")):\"function\"==typeof define&&define.amd?define([\"dayjs\"],o):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_locale_it=o(e.dayjs)}(this,(function(e){\"use strict\";function o(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var t=o(e),n={name:\"it\",weekdays:\"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato\".split(\"_\"),weekdaysShort:\"dom_lun_mar_mer_gio_ven_sab\".split(\"_\"),weekdaysMin:\"do_lu_ma_me_gi_ve_sa\".split(\"_\"),months:\"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre\".split(\"_\"),weekStart:1,monthsShort:\"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic\".split(\"_\"),formats:{LT:\"HH:mm\",LTS:\"HH:mm:ss\",L:\"DD/MM/YYYY\",LL:\"D MMMM YYYY\",LLL:\"D MMMM YYYY HH:mm\",LLLL:\"dddd D MMMM YYYY HH:mm\"},relativeTime:{future:\"tra %s\",past:\"%s fa\",s:\"qualche secondo\",m:\"un minuto\",mm:\"%d minuti\",h:\"un' ora\",hh:\"%d ore\",d:\"un giorno\",dd:\"%d giorni\",M:\"un mese\",MM:\"%d mesi\",y:\"un anno\",yy:\"%d anni\"},ordinal:function(e){return e+\"º\"}};return t.default.locale(n,null,!0),n}));"],"names":["e","module","require$$0","this","t","n"],"mappings":";;;;AAAA,GAAC,SAASA,GAAE,GAAE;AAAsD,IAAAC,EAAA,UAAe,EAAEC,EAAgB,CAAA;AAAA,EAA4I,GAAEC,GAAM,SAASH,GAAE;AAAc,aAAS,EAAE,GAAE;AAAC,aAAO,KAAa,OAAO,KAAjB,YAAoB,aAAY,IAAE,IAAE,EAAC,SAAQ,EAAC;AAAA,IAAC;AAAC,QAAII,IAAE,EAAEJ,CAAC,GAAEK,IAAE,EAAC,MAAK,MAAK,UAAS,2DAA2D,MAAM,GAAG,GAAE,eAAc,8BAA8B,MAAM,GAAG,GAAE,aAAY,uBAAuB,MAAM,GAAG,GAAE,QAAO,gGAAgG,MAAM,GAAG,GAAE,WAAU,GAAE,aAAY,kDAAkD,MAAM,GAAG,GAAE,SAAQ,EAAC,IAAG,SAAQ,KAAI,YAAW,GAAE,cAAa,IAAG,eAAc,KAAI,qBAAoB,MAAK,yBAAwB,GAAE,cAAa,EAAC,QAAO,UAAS,MAAK,SAAQ,GAAE,mBAAkB,GAAE,aAAY,IAAG,aAAY,GAAE,WAAU,IAAG,UAAS,GAAE,aAAY,IAAG,aAAY,GAAE,WAAU,IAAG,WAAU,GAAE,WAAU,IAAG,UAAS,GAAE,SAAQ,SAAS,GAAE;AAAC,aAAO,IAAE;AAAA,IAAG,EAAC;AAAE,WAAOD,EAAE,QAAQ,OAAOC,GAAE,MAAK,EAAE,GAAEA;AAAA,EAAC,CAAC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index202.js","sources":["../src/utilities/functions/deburr.ts"],"sourcesContent":["import d from 'lodash.deburr';\n\nexport const deburr = d;\n"],"names":["deburr","d"],"mappings":";AAEO,MAAMA,IAASC;"}
package/dist/index203.js CHANGED
@@ -1,5 +1,6 @@
1
- const e = (t) => t;
1
+ import o from "./index233.js";
2
+ const e = o;
2
3
  export {
3
- e as identity
4
+ e as snakeCase
4
5
  };
5
6
  //# sourceMappingURL=index203.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index203.js","sources":["../src/utilities/functions/identity.ts"],"sourcesContent":["export const identity = <T>(x: T) => x;\n"],"names":["identity","x"],"mappings":"AAAa,MAAAA,IAAW,CAAIC,MAASA;"}
1
+ {"version":3,"file":"index203.js","sources":["../src/utilities/functions/snakeCase.ts"],"sourcesContent":["import s from 'lodash.snakecase';\n\nexport const snakeCase = s;\n"],"names":["snakeCase","s"],"mappings":";AAEO,MAAMA,IAAYC;"}
package/dist/index204.js CHANGED
@@ -1,5 +1,371 @@
1
- const e = (t) => t[t.length - 1];
1
+ import { shift as P, flip as tt, computePosition as et, arrow as ot } from "./index212.js";
2
+ import { detectOverflow as At, offset as Nt } from "./index212.js";
3
+ import { createCoords as x, rectToClientRect as q, round as N, max as T, min as I, floor as A } from "./index239.js";
4
+ import { getOverflowAncestors as V, isElement as b, getWindow as E, getComputedStyle as y, getDocumentElement as C, isHTMLElement as R, isWebKit as U, getNodeName as W, isOverflowElement as S, getNodeScroll as D, isTableElement as nt, isContainingBlock as K, getContainingBlock as it, getParentNode as z, isLastTraversableNode as X } from "./index240.js";
5
+ function j(t) {
6
+ const e = y(t);
7
+ let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
8
+ const s = R(t), c = s ? t.offsetWidth : n, i = s ? t.offsetHeight : o, r = N(n) !== c || N(o) !== i;
9
+ return r && (n = c, o = i), {
10
+ width: n,
11
+ height: o,
12
+ $: r
13
+ };
14
+ }
15
+ function $(t) {
16
+ return b(t) ? t : t.contextElement;
17
+ }
18
+ function F(t) {
19
+ const e = $(t);
20
+ if (!R(e))
21
+ return x(1);
22
+ const n = e.getBoundingClientRect(), {
23
+ width: o,
24
+ height: s,
25
+ $: c
26
+ } = j(e);
27
+ let i = (c ? N(n.width) : n.width) / o, r = (c ? N(n.height) : n.height) / s;
28
+ return (!i || !Number.isFinite(i)) && (i = 1), (!r || !Number.isFinite(r)) && (r = 1), {
29
+ x: i,
30
+ y: r
31
+ };
32
+ }
33
+ const st = /* @__PURE__ */ x(0);
34
+ function G(t) {
35
+ const e = E(t);
36
+ return !U() || !e.visualViewport ? st : {
37
+ x: e.visualViewport.offsetLeft,
38
+ y: e.visualViewport.offsetTop
39
+ };
40
+ }
41
+ function rt(t, e, n) {
42
+ return e === void 0 && (e = !1), !n || e && n !== E(t) ? !1 : e;
43
+ }
44
+ function L(t, e, n, o) {
45
+ e === void 0 && (e = !1), n === void 0 && (n = !1);
46
+ const s = t.getBoundingClientRect(), c = $(t);
47
+ let i = x(1);
48
+ e && (o ? b(o) && (i = F(o)) : i = F(t));
49
+ const r = rt(c, n, o) ? G(c) : x(0);
50
+ let l = (s.left + r.x) / i.x, f = (s.top + r.y) / i.y, u = s.width / i.x, h = s.height / i.y;
51
+ if (c) {
52
+ const w = E(c), g = o && b(o) ? E(o) : o;
53
+ let v = w, a = v.frameElement;
54
+ for (; a && o && g !== v; ) {
55
+ const p = F(a), d = a.getBoundingClientRect(), m = y(a), O = d.left + (a.clientLeft + parseFloat(m.paddingLeft)) * p.x, B = d.top + (a.clientTop + parseFloat(m.paddingTop)) * p.y;
56
+ l *= p.x, f *= p.y, u *= p.x, h *= p.y, l += O, f += B, v = E(a), a = v.frameElement;
57
+ }
58
+ }
59
+ return q({
60
+ width: u,
61
+ height: h,
62
+ x: l,
63
+ y: f
64
+ });
65
+ }
66
+ const ct = [":popover-open", ":modal"];
67
+ function J(t) {
68
+ return ct.some((e) => {
69
+ try {
70
+ return t.matches(e);
71
+ } catch {
72
+ return !1;
73
+ }
74
+ });
75
+ }
76
+ function lt(t) {
77
+ let {
78
+ elements: e,
79
+ rect: n,
80
+ offsetParent: o,
81
+ strategy: s
82
+ } = t;
83
+ const c = s === "fixed", i = C(o), r = e ? J(e.floating) : !1;
84
+ if (o === i || r && c)
85
+ return n;
86
+ let l = {
87
+ scrollLeft: 0,
88
+ scrollTop: 0
89
+ }, f = x(1);
90
+ const u = x(0), h = R(o);
91
+ if ((h || !h && !c) && ((W(o) !== "body" || S(i)) && (l = D(o)), R(o))) {
92
+ const w = L(o);
93
+ f = F(o), u.x = w.x + o.clientLeft, u.y = w.y + o.clientTop;
94
+ }
95
+ return {
96
+ width: n.width * f.x,
97
+ height: n.height * f.y,
98
+ x: n.x * f.x - l.scrollLeft * f.x + u.x,
99
+ y: n.y * f.y - l.scrollTop * f.y + u.y
100
+ };
101
+ }
102
+ function ft(t) {
103
+ return Array.from(t.getClientRects());
104
+ }
105
+ function Q(t) {
106
+ return L(C(t)).left + D(t).scrollLeft;
107
+ }
108
+ function ut(t) {
109
+ const e = C(t), n = D(t), o = t.ownerDocument.body, s = T(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), c = T(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
110
+ let i = -n.scrollLeft + Q(t);
111
+ const r = -n.scrollTop;
112
+ return y(o).direction === "rtl" && (i += T(e.clientWidth, o.clientWidth) - s), {
113
+ width: s,
114
+ height: c,
115
+ x: i,
116
+ y: r
117
+ };
118
+ }
119
+ function ht(t, e) {
120
+ const n = E(t), o = C(t), s = n.visualViewport;
121
+ let c = o.clientWidth, i = o.clientHeight, r = 0, l = 0;
122
+ if (s) {
123
+ c = s.width, i = s.height;
124
+ const f = U();
125
+ (!f || f && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
126
+ }
127
+ return {
128
+ width: c,
129
+ height: i,
130
+ x: r,
131
+ y: l
132
+ };
133
+ }
134
+ function at(t, e) {
135
+ const n = L(t, !0, e === "fixed"), o = n.top + t.clientTop, s = n.left + t.clientLeft, c = R(t) ? F(t) : x(1), i = t.clientWidth * c.x, r = t.clientHeight * c.y, l = s * c.x, f = o * c.y;
136
+ return {
137
+ width: i,
138
+ height: r,
139
+ x: l,
140
+ y: f
141
+ };
142
+ }
143
+ function _(t, e, n) {
144
+ let o;
145
+ if (e === "viewport")
146
+ o = ht(t, n);
147
+ else if (e === "document")
148
+ o = ut(C(t));
149
+ else if (b(e))
150
+ o = at(e, n);
151
+ else {
152
+ const s = G(t);
153
+ o = {
154
+ ...e,
155
+ x: e.x - s.x,
156
+ y: e.y - s.y
157
+ };
158
+ }
159
+ return q(o);
160
+ }
161
+ function Y(t, e) {
162
+ const n = z(t);
163
+ return n === e || !b(n) || X(n) ? !1 : y(n).position === "fixed" || Y(n, e);
164
+ }
165
+ function dt(t, e) {
166
+ const n = e.get(t);
167
+ if (n)
168
+ return n;
169
+ let o = V(t, [], !1).filter((r) => b(r) && W(r) !== "body"), s = null;
170
+ const c = y(t).position === "fixed";
171
+ let i = c ? z(t) : t;
172
+ for (; b(i) && !X(i); ) {
173
+ const r = y(i), l = K(i);
174
+ !l && r.position === "fixed" && (s = null), (c ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || S(i) && !l && Y(t, i)) ? o = o.filter((u) => u !== i) : s = r, i = z(i);
175
+ }
176
+ return e.set(t, o), o;
177
+ }
178
+ function gt(t) {
179
+ let {
180
+ element: e,
181
+ boundary: n,
182
+ rootBoundary: o,
183
+ strategy: s
184
+ } = t;
185
+ const i = [...n === "clippingAncestors" ? dt(e, this._c) : [].concat(n), o], r = i[0], l = i.reduce((f, u) => {
186
+ const h = _(e, u, s);
187
+ return f.top = T(h.top, f.top), f.right = I(h.right, f.right), f.bottom = I(h.bottom, f.bottom), f.left = T(h.left, f.left), f;
188
+ }, _(e, r, s));
189
+ return {
190
+ width: l.right - l.left,
191
+ height: l.bottom - l.top,
192
+ x: l.left,
193
+ y: l.top
194
+ };
195
+ }
196
+ function pt(t) {
197
+ const {
198
+ width: e,
199
+ height: n
200
+ } = j(t);
201
+ return {
202
+ width: e,
203
+ height: n
204
+ };
205
+ }
206
+ function mt(t, e, n) {
207
+ const o = R(e), s = C(e), c = n === "fixed", i = L(t, !0, c, e);
208
+ let r = {
209
+ scrollLeft: 0,
210
+ scrollTop: 0
211
+ };
212
+ const l = x(0);
213
+ if (o || !o && !c)
214
+ if ((W(e) !== "body" || S(s)) && (r = D(e)), o) {
215
+ const h = L(e, !0, c, e);
216
+ l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
217
+ } else
218
+ s && (l.x = Q(s));
219
+ const f = i.left + r.scrollLeft - l.x, u = i.top + r.scrollTop - l.y;
220
+ return {
221
+ x: f,
222
+ y: u,
223
+ width: i.width,
224
+ height: i.height
225
+ };
226
+ }
227
+ function k(t, e) {
228
+ return !R(t) || y(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
229
+ }
230
+ function Z(t, e) {
231
+ const n = E(t);
232
+ if (!R(t) || J(t))
233
+ return n;
234
+ let o = k(t, e);
235
+ for (; o && nt(o) && y(o).position === "static"; )
236
+ o = k(o, e);
237
+ return o && (W(o) === "html" || W(o) === "body" && y(o).position === "static" && !K(o)) ? n : o || it(t) || n;
238
+ }
239
+ const wt = async function(t) {
240
+ const e = this.getOffsetParent || Z, n = this.getDimensions;
241
+ return {
242
+ reference: mt(t.reference, await e(t.floating), t.strategy),
243
+ floating: {
244
+ x: 0,
245
+ y: 0,
246
+ ...await n(t.floating)
247
+ }
248
+ };
249
+ };
250
+ function yt(t) {
251
+ return y(t).direction === "rtl";
252
+ }
253
+ const vt = {
254
+ convertOffsetParentRelativeRectToViewportRelativeRect: lt,
255
+ getDocumentElement: C,
256
+ getClippingRect: gt,
257
+ getOffsetParent: Z,
258
+ getElementRects: wt,
259
+ getClientRects: ft,
260
+ getDimensions: pt,
261
+ getScale: F,
262
+ isElement: b,
263
+ isRTL: yt
264
+ };
265
+ function xt(t, e) {
266
+ let n = null, o;
267
+ const s = C(t);
268
+ function c() {
269
+ var r;
270
+ clearTimeout(o), (r = n) == null || r.disconnect(), n = null;
271
+ }
272
+ function i(r, l) {
273
+ r === void 0 && (r = !1), l === void 0 && (l = 1), c();
274
+ const {
275
+ left: f,
276
+ top: u,
277
+ width: h,
278
+ height: w
279
+ } = t.getBoundingClientRect();
280
+ if (r || e(), !h || !w)
281
+ return;
282
+ const g = A(u), v = A(s.clientWidth - (f + h)), a = A(s.clientHeight - (u + w)), p = A(f), m = {
283
+ rootMargin: -g + "px " + -v + "px " + -a + "px " + -p + "px",
284
+ threshold: T(0, I(1, l)) || 1
285
+ };
286
+ let O = !0;
287
+ function B(M) {
288
+ const H = M[0].intersectionRatio;
289
+ if (H !== l) {
290
+ if (!O)
291
+ return i();
292
+ H ? i(!1, H) : o = setTimeout(() => {
293
+ i(!1, 1e-7);
294
+ }, 100);
295
+ }
296
+ O = !1;
297
+ }
298
+ try {
299
+ n = new IntersectionObserver(B, {
300
+ ...m,
301
+ // Handle <iframe>s
302
+ root: s.ownerDocument
303
+ });
304
+ } catch {
305
+ n = new IntersectionObserver(B, m);
306
+ }
307
+ n.observe(t);
308
+ }
309
+ return i(!0), c;
310
+ }
311
+ function Ot(t, e, n, o) {
312
+ o === void 0 && (o = {});
313
+ const {
314
+ ancestorScroll: s = !0,
315
+ ancestorResize: c = !0,
316
+ elementResize: i = typeof ResizeObserver == "function",
317
+ layoutShift: r = typeof IntersectionObserver == "function",
318
+ animationFrame: l = !1
319
+ } = o, f = $(t), u = s || c ? [...f ? V(f) : [], ...V(e)] : [];
320
+ u.forEach((d) => {
321
+ s && d.addEventListener("scroll", n, {
322
+ passive: !0
323
+ }), c && d.addEventListener("resize", n);
324
+ });
325
+ const h = f && r ? xt(f, n) : null;
326
+ let w = -1, g = null;
327
+ i && (g = new ResizeObserver((d) => {
328
+ let [m] = d;
329
+ m && m.target === f && g && (g.unobserve(e), cancelAnimationFrame(w), w = requestAnimationFrame(() => {
330
+ var O;
331
+ (O = g) == null || O.observe(e);
332
+ })), n();
333
+ }), f && !l && g.observe(f), g.observe(e));
334
+ let v, a = l ? L(t) : null;
335
+ l && p();
336
+ function p() {
337
+ const d = L(t);
338
+ a && (d.x !== a.x || d.y !== a.y || d.width !== a.width || d.height !== a.height) && n(), a = d, v = requestAnimationFrame(p);
339
+ }
340
+ return n(), () => {
341
+ var d;
342
+ u.forEach((m) => {
343
+ s && m.removeEventListener("scroll", n), c && m.removeEventListener("resize", n);
344
+ }), h == null || h(), (d = g) == null || d.disconnect(), g = null, l && cancelAnimationFrame(v);
345
+ };
346
+ }
347
+ const Et = P, Lt = tt, Tt = ot, Ft = (t, e, n) => {
348
+ const o = /* @__PURE__ */ new Map(), s = {
349
+ platform: vt,
350
+ ...n
351
+ }, c = {
352
+ ...s.platform,
353
+ _c: o
354
+ };
355
+ return et(t, e, {
356
+ ...s,
357
+ platform: c
358
+ });
359
+ };
2
360
  export {
3
- e as last
361
+ Tt as arrow,
362
+ Ot as autoUpdate,
363
+ Ft as computePosition,
364
+ At as detectOverflow,
365
+ Lt as flip,
366
+ V as getOverflowAncestors,
367
+ Nt as offset,
368
+ vt as platform,
369
+ Et as shift
4
370
  };
5
371
  //# sourceMappingURL=index204.js.map