bitboss-ui 2.0.104 → 2.0.105

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 (149) hide show
  1. package/dist/index100.js +8 -8
  2. package/dist/index111.js +10 -10
  3. package/dist/index119.js +2 -2
  4. package/dist/index121.js +5 -5
  5. package/dist/index123.js +1 -1
  6. package/dist/index127.js +1 -1
  7. package/dist/index128.js +1 -1
  8. package/dist/index129.js +1 -1
  9. package/dist/index13.js +23 -23
  10. package/dist/index131.js +1 -1
  11. package/dist/index132.js +2 -2
  12. package/dist/index133.js +2 -2
  13. package/dist/index15.js +4 -4
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +9 -9
  16. package/dist/index205.js +115 -2
  17. package/dist/index206.js +2 -115
  18. package/dist/index207.js +2 -5
  19. package/dist/index208.js +4 -16
  20. package/dist/index209.js +2 -16
  21. package/dist/index21.js +14 -14
  22. package/dist/index210.js +280 -18
  23. package/dist/index211.js +13 -16
  24. package/dist/index212.js +13 -24
  25. package/dist/index213.js +19 -3
  26. package/dist/index214.js +19 -2
  27. package/dist/index215.js +27 -8
  28. package/dist/index216.js +3 -250
  29. package/dist/index217.js +2 -52
  30. package/dist/index218.js +6 -42
  31. package/dist/index219.js +250 -5
  32. package/dist/index220.js +43 -51
  33. package/dist/index221.js +43 -125
  34. package/dist/index222.js +5 -125
  35. package/dist/index223.js +60 -2
  36. package/dist/index224.js +84 -41
  37. package/dist/index226.js +7 -5
  38. package/dist/index227.js +25 -53
  39. package/dist/index228.js +19 -0
  40. package/dist/index229.js +48 -13
  41. package/dist/index23.js +16 -16
  42. package/dist/index230.js +15 -5
  43. package/dist/index231.js +12 -12
  44. package/dist/index232.js +15 -368
  45. package/dist/index233.js +3 -4
  46. package/dist/index234.js +41 -84
  47. package/dist/index235.js +8 -0
  48. package/dist/index236.js +7 -8
  49. package/dist/index237.js +12 -25
  50. package/dist/index238.js +53 -17
  51. package/dist/index240.js +13 -15
  52. package/dist/index241.js +3 -12
  53. package/dist/index242.js +125 -15
  54. package/dist/index243.js +125 -2
  55. package/dist/index244.js +2 -4
  56. package/dist/index245.js +20 -2
  57. package/dist/index246.js +5 -3
  58. package/dist/index247.js +369 -7
  59. package/dist/index248.js +4 -2
  60. package/dist/index249.js +2 -18
  61. package/dist/index25.js +6 -6
  62. package/dist/index250.js +2 -106
  63. package/dist/index251.js +4 -0
  64. package/dist/index252.js +17 -99
  65. package/dist/index253.js +108 -0
  66. package/dist/index255.js +100 -2
  67. package/dist/index257.js +12 -2
  68. package/dist/index260.js +6 -9
  69. package/dist/index261.js +16 -23
  70. package/dist/index262.js +9 -89
  71. package/dist/index263.js +11 -0
  72. package/dist/index264.js +23 -9
  73. package/dist/index265.js +89 -6
  74. package/dist/index267.js +4 -281
  75. package/dist/index27.js +1 -1
  76. package/dist/index275.js +1 -1
  77. package/dist/index276.js +1 -1
  78. package/dist/index277.js +1 -1
  79. package/dist/index278.js +1 -1
  80. package/dist/index283.js +1 -1
  81. package/dist/index284.js +2 -2
  82. package/dist/index288.js +431 -3
  83. package/dist/index289.js +4 -0
  84. package/dist/index29.js +3 -3
  85. package/dist/index290.js +84 -171
  86. package/dist/index291.js +3 -2
  87. package/dist/index293.js +219 -426
  88. package/dist/index294.js +199 -21
  89. package/dist/index295.js +4 -0
  90. package/dist/index296.js +126 -2
  91. package/dist/index297.js +175 -3
  92. package/dist/index298.js +21 -7
  93. package/dist/index300.js +8 -127
  94. package/dist/index301.js +427 -191
  95. package/dist/index302.js +125 -87
  96. package/dist/index303.js +1 -1
  97. package/dist/index304.js +1 -1
  98. package/dist/index305.js +3 -3
  99. package/dist/index306.js +3 -224
  100. package/dist/index307.js +3 -5
  101. package/dist/index308.js +58 -2
  102. package/dist/index309.js +7 -66
  103. package/dist/index31.js +2 -2
  104. package/dist/index310.js +19 -3
  105. package/dist/index311.js +66 -7
  106. package/dist/index312.js +5 -17
  107. package/dist/index313.js +2 -5
  108. package/dist/index314.js +4 -7
  109. package/dist/index315.js +8 -3
  110. package/dist/index316.js +8 -3
  111. package/dist/index317.js +7 -57
  112. package/dist/index318.js +5 -8
  113. package/dist/index319.js +2 -7
  114. package/dist/index320.js +3 -6
  115. package/dist/index321.js +32 -3
  116. package/dist/index322.js +46 -32
  117. package/dist/index323.js +2 -47
  118. package/dist/index324.js +480 -2
  119. package/dist/index326.js +426 -0
  120. package/dist/index327.js +43 -420
  121. package/dist/index328.js +2 -47
  122. package/dist/index33.js +8 -8
  123. package/dist/index35.js +3 -3
  124. package/dist/index37.js +20 -20
  125. package/dist/index39.js +5 -5
  126. package/dist/index41.js +2 -2
  127. package/dist/index43.js +9 -9
  128. package/dist/index45.js +7 -7
  129. package/dist/index47.js +2 -2
  130. package/dist/index49.js +2 -2
  131. package/dist/index55.js +1 -1
  132. package/dist/index57.js +2 -2
  133. package/dist/index75.js +3 -3
  134. package/dist/index79.js +2 -2
  135. package/dist/index81.js +1 -1
  136. package/dist/index84.js +3 -3
  137. package/dist/index86.js +1 -1
  138. package/dist/index88.js +4 -4
  139. package/dist/index90.js +1 -1
  140. package/package.json +1 -1
  141. package/dist/index225.js +0 -22
  142. package/dist/index239.js +0 -50
  143. package/dist/index254.js +0 -14
  144. package/dist/index256.js +0 -5
  145. package/dist/index266.js +0 -18
  146. package/dist/index292.js +0 -128
  147. package/dist/index299.js +0 -438
  148. package/dist/index325.js +0 -482
  149. package/dist/index329.js +0 -4
package/dist/index43.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as z, ref as B, toRef as d, openBlock as G, createBlock as R, unref as u, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as W, mergeProps as w, createSlots as K } from "vue";
2
2
  import N from "./index41.js";
3
3
  /* empty css */
4
- import U from "./index234.js";
4
+ import U from "./index224.js";
5
5
  /* empty css */
6
- import { useLocale as q } from "./index236.js";
7
- import { useItemsGetter as J } from "./index237.js";
8
- import { useIndexById as E } from "./index238.js";
9
- import { useBaseOptions as Q } from "./index239.js";
10
- import { useCoherence as X } from "./index240.js";
11
- import { hash as Y } from "./index213.js";
12
- import { useHashedWatcher as L } from "./index241.js";
13
- import { usePrefill as Z } from "./index242.js";
6
+ import { useLocale as q } from "./index226.js";
7
+ import { useItemsGetter as J } from "./index227.js";
8
+ import { useIndexById as E } from "./index228.js";
9
+ import { useBaseOptions as Q } from "./index229.js";
10
+ import { useCoherence as X } from "./index230.js";
11
+ import { hash as Y } from "./index216.js";
12
+ import { useHashedWatcher as L } from "./index231.js";
13
+ import { usePrefill as Z } from "./index232.js";
14
14
  const pe = /* @__PURE__ */ z({
15
15
  __name: "BaseSwitchGroup",
16
16
  props: {
package/dist/index45.js CHANGED
@@ -3,16 +3,16 @@ import { defineComponent as R, ref as u, computed as f, toRef as E, watch as j,
3
3
  /* empty css */
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
6
- import { last as ae } from "./index214.js";
7
- import { useBaseOptions as ne } from "./index239.js";
8
- import { useIndexById as le } from "./index238.js";
9
- import re from "./index250.js";
6
+ import { last as ae } from "./index217.js";
7
+ import { useBaseOptions as ne } from "./index229.js";
8
+ import { useIndexById as le } from "./index228.js";
9
+ import re from "./index253.js";
10
10
  /* empty css */
11
- import ie from "./index252.js";
11
+ import ie from "./index255.js";
12
12
  /* empty css */
13
- import ue from "./index227.js";
13
+ import ue from "./index238.js";
14
14
  /* empty css */
15
- import se from "./index229.js";
15
+ import se from "./index240.js";
16
16
  const de = { class: "bb-base-tag__input-container" }, pe = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], $e = /* @__PURE__ */ R({
17
17
  __name: "BaseTag",
18
18
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, ref as y, computed as u, onMounted as g, watch as B, nextTick as x, openBlock as V, createBlock as k, normalizeClass as $, withCtx as t, renderSlot as r, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
2
- import v from "./index229.js";
3
- import E from "./index227.js";
2
+ import v from "./index240.js";
3
+ import E from "./index238.js";
4
4
  /* empty css */
5
5
  import G from "./index128.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, computed as c, openBlock as b, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as h, withCtx as n, renderSlot as t, createElementVNode as l, mergeProps as g } from "vue";
2
- import B from "./index227.js";
2
+ import B from "./index238.js";
3
3
  /* empty css */
4
- import k from "./index229.js";
4
+ import k from "./index240.js";
5
5
  const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
6
6
  __name: "BaseTextInput",
7
7
  props: {
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as z, computed as b, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as h, guardReactiveProps as k, renderSlot as y } from "vue";
2
- import { isCssColor as _ } from "./index243.js";
2
+ import { isCssColor as _ } from "./index207.js";
3
3
  import { wait as C } from "./index130.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as r } from "./index243.js";
3
- import { isNil as B } from "./index255.js";
2
+ import { isCssColor as r } from "./index207.js";
3
+ import { isNil as B } from "./index250.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index75.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as T, mergeProps as B, createElementVNode as H, renderSlot as w, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
2
- import { findRightIndex as I } from "./index260.js";
2
+ import { findRightIndex as I } from "./index263.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index130.js";
5
5
  import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
- import V from "./index261.js";
9
- import se from "./index262.js";
8
+ import V from "./index264.js";
9
+ import se from "./index265.js";
10
10
  /* empty css */
11
11
  import j from "./index127.js";
12
12
  /* empty css */
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index266.js";
2
+ import { findInTree as ae } from "./index261.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index265.js")).default);
56
+ b || (b = (await import("./index260.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index246.js";
2
+ import { throttle as c } from "./index233.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as le, ref as l, useAttrs as se, computed as u, getCurrentInstance as ae, nextTick as ne, onBeforeUnmount as O, onMounted as ie, watch as re, openBlock as g, createBlock as ue, withCtx as ce, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as de, toDisplayString as A, createCommentVNode as $ } from "vue";
2
- import { useFocusTrap as fe } from "./index224.js";
2
+ import { useFocusTrap as fe } from "./index234.js";
3
3
  import { useId as E } from "./index8.js";
4
4
  import { wait as H } from "./index130.js";
5
- import { useModalsState as b } from "./index247.js";
6
- import ve from "./index231.js";
5
+ import { useModalsState as b } from "./index236.js";
6
+ import ve from "./index237.js";
7
7
  import { useMobile as pe } from "./index9.js";
8
8
  const be = ["inert"], me = { class: "bb-offcanvas-close" }, ye = ["aria-label"], Ve = /* @__PURE__ */ le({
9
9
  __name: "BbOffCanvas",
package/dist/index86.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as P, computed as _, ref as g, onMounted as A, onBeforeUnmount as E, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as v, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
2
- import { debounce as F } from "./index264.js";
2
+ import { debounce as F } from "./index262.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import w from "./index13.js";
package/dist/index88.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as M, ref as n, computed as v, openBlock as k, createElementBlock as O, mergeProps as F, createElementVNode as p, renderSlot as y, normalizeProps as S, guardReactiveProps as H, createVNode as V, withCtx as C, createBlock as q, createCommentVNode as I, nextTick as W } from "vue";
2
- import { useFocusTrap as z } from "./index224.js";
2
+ import { useFocusTrap as z } from "./index234.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { useIntersectionObserver as R } from "./index132.js";
5
- import { waitFor as j } from "./index226.js";
5
+ import { waitFor as j } from "./index235.js";
6
6
  import G from "./index13.js";
7
7
  /* empty css */
8
- import J from "./index262.js";
8
+ import J from "./index265.js";
9
9
  /* empty css */
10
- import { useDebounceFn as K } from "./index206.js";
10
+ import { useDebounceFn as K } from "./index205.js";
11
11
  const re = /* @__PURE__ */ M({
12
12
  __name: "BbPopover",
13
13
  props: {
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index205.js";
2
+ import { clamp as p } from "./index206.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.104",
3
+ "version": "2.0.105",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index225.js DELETED
@@ -1,22 +0,0 @@
1
- import { MaskInput as r } from "./index290.js";
2
- const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
- if (a.arg == null || a.instance == null) return;
4
- const s = "setup" in a.instance.$.type;
5
- a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
- }, k = (a, n) => {
7
- var s;
8
- const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
- if (t == null || (t == null ? void 0 : t.type) === "file") return;
10
- let e = {};
11
- if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
- const l = (o) => {
13
- const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
- p(n, i);
15
- };
16
- e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
17
- }
18
- u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
19
- };
20
- export {
21
- k as vMaska
22
- };
package/dist/index239.js DELETED
@@ -1,50 +0,0 @@
1
- import { computed as d, unref as s } from "vue";
2
- import { useItemText as y } from "./index286.js";
3
- import { useItemValue as x } from "./index287.js";
4
- import { hash as w } from "./index213.js";
5
- import { useLogger as D } from "./index215.js";
6
- const { getItemText: O } = y(), { getItemValue: V } = x(), { warn: H } = D(), T = (i, l, t, a, c) => l || i.disabled ? !0 : typeof t == "function" ? !t(i) : !!(typeof t == "boolean" && !t || a && c >= a), q = ({
7
- items: i,
8
- disabled: l,
9
- selectable: t,
10
- itemText: a,
11
- itemValue: c,
12
- selectedIndexedByHash: p,
13
- max: b = 1 / 0
14
- }) => {
15
- const v = d(() => s(l)), f = d(() => s(i)), h = Object.keys(p.value).length, g = s(b), m = (e) => {
16
- const n = V(e, s(c)), o = w(n), u = O(e, s(a)), r = p.value[o] !== void 0, I = T(
17
- e,
18
- v.value,
19
- t,
20
- g,
21
- h
22
- );
23
- return {
24
- item: e,
25
- text: u,
26
- value: n,
27
- valueHash: o,
28
- selected: r,
29
- disabled: s(I)
30
- };
31
- };
32
- return {
33
- options: d(() => {
34
- const e = [], n = /* @__PURE__ */ new Set();
35
- for (let o = 0; o < f.value.length; o++) {
36
- const u = f.value[o];
37
- u.disabled && H(
38
- "Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
39
- );
40
- const r = m(u);
41
- n.has(r.valueHash) || (n.add(r.valueHash), e.push(r));
42
- }
43
- return e;
44
- }),
45
- createOption: m
46
- };
47
- };
48
- export {
49
- q as useBaseOptions
50
- };
package/dist/index254.js DELETED
@@ -1,14 +0,0 @@
1
- import { ref as t } from "vue";
2
- const n = () => {
3
- const e = t([]);
4
- return { array: e, set: (...r) => {
5
- e.value = r;
6
- }, add: (...r) => {
7
- e.value.push(...r);
8
- }, remove: (r) => {
9
- e.value = e.value.filter(r);
10
- } };
11
- };
12
- export {
13
- n as useArray
14
- };
package/dist/index256.js DELETED
@@ -1,5 +0,0 @@
1
- import r from "./index306.js";
2
- const t = r;
3
- export {
4
- t as deburr
5
- };
package/dist/index266.js DELETED
@@ -1,18 +0,0 @@
1
- const e = (o, r, f) => o.reduce((t, n) => {
2
- if (t) return t;
3
- if (f(n))
4
- return n;
5
- if (r in n) {
6
- const i = e(
7
- [].concat(n[r]),
8
- r,
9
- f
10
- );
11
- if (i)
12
- return i;
13
- }
14
- return t;
15
- }, null);
16
- export {
17
- e as findInTree
18
- };
package/dist/index292.js DELETED
@@ -1,128 +0,0 @@
1
- function l(n) {
2
- return d(n) ? (n.nodeName || "").toLowerCase() : "#document";
3
- }
4
- function c(n) {
5
- var t;
6
- return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
7
- }
8
- function S(n) {
9
- var t;
10
- return (t = (d(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
11
- }
12
- function d(n) {
13
- return n instanceof Node || n instanceof c(n).Node;
14
- }
15
- function p(n) {
16
- return n instanceof Element || n instanceof c(n).Element;
17
- }
18
- function m(n) {
19
- return n instanceof HTMLElement || n instanceof c(n).HTMLElement;
20
- }
21
- function f(n) {
22
- return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof c(n).ShadowRoot;
23
- }
24
- function w(n) {
25
- const {
26
- overflow: t,
27
- overflowX: e,
28
- overflowY: o,
29
- display: r
30
- } = g(n);
31
- return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
32
- }
33
- function L(n) {
34
- return ["table", "td", "th"].includes(l(n));
35
- }
36
- function E(n) {
37
- return [":popover-open", ":modal"].some((t) => {
38
- try {
39
- return n.matches(t);
40
- } catch {
41
- return !1;
42
- }
43
- });
44
- }
45
- function N(n) {
46
- const t = T(), e = p(n) ? g(n) : n;
47
- return e.transform !== "none" || e.perspective !== "none" || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
48
- }
49
- function D(n) {
50
- let t = u(n);
51
- for (; m(t) && !y(t); ) {
52
- if (N(t))
53
- return t;
54
- if (E(t))
55
- return null;
56
- t = u(t);
57
- }
58
- return null;
59
- }
60
- function T() {
61
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
62
- }
63
- function y(n) {
64
- return ["html", "body", "#document"].includes(l(n));
65
- }
66
- function g(n) {
67
- return c(n).getComputedStyle(n);
68
- }
69
- function k(n) {
70
- return p(n) ? {
71
- scrollLeft: n.scrollLeft,
72
- scrollTop: n.scrollTop
73
- } : {
74
- scrollLeft: n.scrollX,
75
- scrollTop: n.scrollY
76
- };
77
- }
78
- function u(n) {
79
- if (l(n) === "html")
80
- return n;
81
- const t = (
82
- // Step into the shadow DOM of the parent of a slotted node.
83
- n.assignedSlot || // DOM Element detected.
84
- n.parentNode || // ShadowRoot detected.
85
- f(n) && n.host || // Fallback.
86
- S(n)
87
- );
88
- return f(t) ? t.host : t;
89
- }
90
- function b(n) {
91
- const t = u(n);
92
- return y(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : m(t) && w(t) ? t : b(t);
93
- }
94
- function a(n, t, e) {
95
- var o;
96
- t === void 0 && (t = []), e === void 0 && (e = !0);
97
- const r = b(n), h = r === ((o = n.ownerDocument) == null ? void 0 : o.body), i = c(r);
98
- if (h) {
99
- const s = v(i);
100
- return t.concat(i, i.visualViewport || [], w(r) ? r : [], s && e ? a(s) : []);
101
- }
102
- return t.concat(r, a(r, [], e));
103
- }
104
- function v(n) {
105
- return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
106
- }
107
- export {
108
- g as getComputedStyle,
109
- D as getContainingBlock,
110
- S as getDocumentElement,
111
- v as getFrameElement,
112
- b as getNearestOverflowAncestor,
113
- l as getNodeName,
114
- k as getNodeScroll,
115
- a as getOverflowAncestors,
116
- u as getParentNode,
117
- c as getWindow,
118
- N as isContainingBlock,
119
- p as isElement,
120
- m as isHTMLElement,
121
- y as isLastTraversableNode,
122
- d as isNode,
123
- w as isOverflowElement,
124
- f as isShadowRoot,
125
- L as isTableElement,
126
- E as isTopLayer,
127
- T as isWebKit
128
- };