bitboss-ui 2.1.15 → 2.1.16
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.
- package/dist/index106.js +9 -9
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +11 -11
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +4 -4
- package/dist/index133.js +1 -1
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index209.js +2 -2
- package/dist/index21.js +16 -16
- package/dist/index210.js +4 -51
- package/dist/index211.js +2 -17
- package/dist/index212.js +4 -106
- package/dist/index213.js +15 -0
- package/dist/index214.js +11 -100
- package/dist/index215.js +22 -0
- package/dist/index216.js +189 -64
- package/dist/index218.js +71 -12
- package/dist/index220.js +13 -2
- package/dist/index221.js +114 -2
- package/dist/index223.js +5 -3
- package/dist/index224.js +5 -7
- package/dist/index225.js +5 -7
- package/dist/index226.js +5 -5
- package/dist/index227.js +4 -4
- package/dist/index228.js +5 -5
- package/dist/index229.js +5 -5
- package/dist/index23.js +15 -15
- package/dist/index230.js +3 -5
- package/dist/index231.js +2 -5
- package/dist/index232.js +8 -5
- package/dist/index233.js +248 -6
- package/dist/index234.js +42 -240
- package/dist/index235.js +35 -43
- package/dist/index236.js +5 -44
- package/dist/index237.js +60 -5
- package/dist/index238.js +12 -59
- package/dist/index239.js +85 -12
- package/dist/index241.js +27 -9
- package/dist/index242.js +16 -19
- package/dist/index243.js +49 -195
- package/dist/index244.js +17 -0
- package/dist/index245.js +12 -114
- package/dist/index246.js +18 -0
- package/dist/index247.js +2 -10
- package/dist/index248.js +34 -3
- package/dist/index249.js +2 -4
- package/dist/index25.js +3 -3
- package/dist/index250.js +7 -86
- package/dist/index251.js +9 -0
- package/dist/index252.js +3 -29
- package/dist/index253.js +5 -16
- package/dist/index254.js +2 -15
- package/dist/index255.js +2 -12
- package/dist/index256.js +182 -12
- package/dist/index257.js +106 -3
- package/dist/index259.js +100 -2
- package/dist/index261.js +1 -1
- package/dist/index264.js +3 -3
- package/dist/index265.js +8 -181
- package/dist/index266.js +3 -2
- package/dist/index267.js +8 -8
- package/dist/index268.js +23 -8
- package/dist/index269.js +3 -9
- package/dist/index27.js +1 -1
- package/dist/index270.js +6 -23
- package/dist/index271.js +16 -6
- package/dist/index272.js +9 -16
- package/dist/index273.js +9 -3
- package/dist/index274.js +8 -9
- package/dist/index275.js +5 -67
- package/dist/index276.js +67 -2
- package/dist/index277.js +2 -5
- package/dist/index278.js +1 -1
- package/dist/index279.js +1 -1
- package/dist/index280.js +4 -3
- package/dist/index281.js +1 -1
- package/dist/index282.js +1 -1
- package/dist/index285.js +3 -17
- package/dist/index286.js +7 -4
- package/dist/index287.js +10 -27
- package/dist/index288.js +280 -3
- package/dist/index289.js +2 -3
- package/dist/index29.js +3 -3
- package/dist/index290.js +16 -7
- package/dist/index291.js +2 -11
- package/dist/index292.js +16 -4
- package/dist/index293.js +2 -280
- package/dist/index294.js +19 -2
- package/dist/index295.js +2 -16
- package/dist/index296.js +15 -2
- package/dist/index297.js +2 -16
- package/dist/index298.js +19 -2
- package/dist/index299.js +2 -19
- package/dist/index300.js +27 -2
- package/dist/index301.js +2 -15
- package/dist/index302.js +2 -2
- package/dist/index303.js +2 -19
- package/dist/index304.js +2 -2
- package/dist/index305.js +2 -27
- package/dist/index306.js +28 -2
- package/dist/index307.js +21 -1
- package/dist/index309.js +4 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +3 -2
- package/dist/index311.js +15 -20
- package/dist/index312.js +8 -0
- package/dist/index313.js +2 -6
- package/dist/index314.js +5 -3
- package/dist/index315.js +125 -5
- package/dist/index316.js +2 -2
- package/dist/index317.js +3 -125
- package/dist/index318.js +3 -2
- package/dist/index320.js +1 -1
- package/dist/index324.js +1 -1
- package/dist/index328.js +6 -128
- package/dist/index329.js +16 -366
- package/dist/index33.js +8 -8
- package/dist/index330.js +58 -7
- package/dist/index331.js +58 -7
- package/dist/index332.js +5 -17
- package/dist/index333.js +32 -57
- package/dist/index334.js +27 -57
- package/dist/index336.js +128 -32
- package/dist/index337.js +369 -28
- package/dist/{index335.js → index338.js} +1 -1
- package/dist/index340.js +1 -1
- package/dist/index342.js +3 -436
- package/dist/index343.js +123 -121
- package/dist/index344.js +438 -0
- package/dist/index345.js +127 -3
- package/dist/index35.js +4 -4
- package/dist/index37.js +16 -16
- package/dist/index39.js +7 -7
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +3 -3
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +3 -3
- package/dist/index67.js +1 -1
- package/dist/index79.js +4 -4
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index87.js +1 -1
- package/dist/index90.js +3 -3
- package/dist/index92.js +2 -2
- package/dist/index94.js +3 -3
- package/package.json +2 -2
- package/dist/index219.js +0 -4
- package/dist/index222.js +0 -4
- package/dist/index240.js +0 -6
- package/dist/index258.js +0 -7
- package/dist/index260.js +0 -36
- package/dist/index308.js +0 -4
- package/dist/index341.js +0 -131
package/dist/index45.js
CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
|
|
3
3
|
/* empty css */
|
4
4
|
import ae from "./index111.js";
|
5
5
|
/* empty css */
|
6
|
-
import { last as le } from "./
|
7
|
-
import { useBaseOptions as ne } from "./
|
8
|
-
import { useIndexById as re } from "./
|
9
|
-
import ie from "./
|
6
|
+
import { last as le } from "./index231.js";
|
7
|
+
import { useBaseOptions as ne } from "./index243.js";
|
8
|
+
import { useIndexById as re } from "./index242.js";
|
9
|
+
import ie from "./index257.js";
|
10
10
|
/* empty css */
|
11
|
-
import ue from "./
|
11
|
+
import ue from "./index259.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index218.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
15
|
+
import de from "./index220.js";
|
16
|
+
import { isEmpty as pe } from "./index255.js";
|
17
17
|
const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
|
18
18
|
__name: "BaseTag",
|
19
19
|
props: {
|
package/dist/index47.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
|
2
|
-
import E from "./
|
3
|
-
import G from "./
|
2
|
+
import E from "./index220.js";
|
3
|
+
import G from "./index218.js";
|
4
4
|
/* empty css */
|
5
5
|
import M from "./index111.js";
|
6
6
|
/* empty css */
|
package/dist/index49.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
|
2
|
-
import E from "./
|
2
|
+
import E from "./index218.js";
|
3
3
|
/* empty css */
|
4
|
-
import I from "./
|
4
|
+
import I from "./index220.js";
|
5
5
|
import { isNotNil as N } from "./index140.js";
|
6
|
-
import { MaskInput as z } from "./
|
6
|
+
import { MaskInput as z } from "./index256.js";
|
7
7
|
const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
|
8
8
|
__name: "BaseTextInput",
|
9
9
|
props: {
|
package/dist/index53.js
CHANGED
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
2
|
+
import { isCssColor as y } from "./index209.js";
|
3
3
|
import { wait as C } from "./index135.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 s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
2
|
-
import { isCssColor as l } from "./
|
3
|
-
import { isNil as B } from "./
|
2
|
+
import { isCssColor as l } from "./index209.js";
|
3
|
+
import { isNil as B } from "./index247.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
6
6
|
props: {
|
package/dist/index61.js
CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import T from "./index113.js";
|
9
9
|
/* empty css */
|
10
|
-
import { pickBy as W } from "./
|
11
|
-
import { noop as w } from "./
|
12
|
-
import { useLocale as D } from "./
|
10
|
+
import { pickBy as W } from "./index265.js";
|
11
|
+
import { noop as w } from "./index266.js";
|
12
|
+
import { useLocale as D } from "./index213.js";
|
13
13
|
const E = {
|
14
14
|
key: 2,
|
15
15
|
class: "bb-button__loading-label sr-only"
|
package/dist/index67.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
|
2
|
-
import { useLocale as f } from "./
|
2
|
+
import { useLocale as f } from "./index213.js";
|
3
3
|
const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
|
4
4
|
__name: "BbChip",
|
5
5
|
props: {
|
package/dist/index79.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as N, computed as R, ref as E, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as D, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
|
2
|
-
import { findRightIndex as T } from "./
|
2
|
+
import { findRightIndex as T } from "./index267.js";
|
3
3
|
import { useId as te } from "./index8.js";
|
4
|
-
import { useUntil as ne } from "./
|
4
|
+
import { useUntil as ne } from "./index214.js";
|
5
5
|
import { wait as oe } from "./index135.js";
|
6
6
|
import ae from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
import B from "./index85.js";
|
9
9
|
/* empty css */
|
10
|
-
import le from "./
|
10
|
+
import le from "./index221.js";
|
11
11
|
/* empty css */
|
12
|
-
import K from "./
|
12
|
+
import K from "./index268.js";
|
13
13
|
const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
|
14
14
|
__name: "BbDropdown",
|
15
15
|
props: {
|
package/dist/index81.js
CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import I from "./index113.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as M } from "./
|
12
|
+
import { useLocale as M } from "./index213.js";
|
13
13
|
const O = { class: "bb-dropdown-button__content" }, R = {
|
14
14
|
key: 1,
|
15
15
|
class: "bb-dropdown-button__loading-label sr-only"
|
package/dist/index83.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, 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 "./
|
2
|
+
import { findInTree as ae } from "./index271.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index111.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("./
|
56
|
+
b || (b = (await import("./index270.js")).default);
|
57
57
|
const o = b.getType(r);
|
58
58
|
if (!o)
|
59
59
|
throw new Error(
|
package/dist/index85.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, createElementBlock as h, openBlock as $, mergeProps as g } from "vue";
|
2
|
-
import { isCssColor as I } from "./
|
2
|
+
import { isCssColor as I } from "./index209.js";
|
3
3
|
const B = ["innerHTML"], k = /* @__PURE__ */ v({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index87.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
|
2
|
-
import { throttle as c } from "./
|
2
|
+
import { throttle as c } from "./index269.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index90.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as O, mergeModels as E, useModel as P, computed as p, ref as T, watch as q, onMounted as A, createElementBlock as d, openBlock as c, withModifiers as H, normalizeStyle as K, normalizeClass as R, unref as v, createCommentVNode as y, Fragment as U, createElementVNode as l, renderSlot as s, createTextVNode as j, toDisplayString as z, nextTick as G } from "vue";
|
2
|
-
import { parseSize as J } from "./
|
2
|
+
import { parseSize as J } from "./index238.js";
|
3
3
|
import { useId as D } from "./index8.js";
|
4
|
-
import { useLocale as Q } from "./
|
4
|
+
import { useLocale as Q } from "./index213.js";
|
5
5
|
import { useMobile as X } from "./index9.js";
|
6
|
-
import { useUntil as Y } from "./
|
6
|
+
import { useUntil as Y } from "./index214.js";
|
7
7
|
import { wait as h } from "./index135.js";
|
8
8
|
const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
9
9
|
ref: "header",
|
package/dist/index92.js
CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
|
|
3
3
|
/* empty css */
|
4
4
|
import P from "./index13.js";
|
5
5
|
/* empty css */
|
6
|
-
import { debounce as X } from "./
|
7
|
-
import { useLocale as H } from "./
|
6
|
+
import { debounce as X } from "./index272.js";
|
7
|
+
import { useLocale as H } from "./index213.js";
|
8
8
|
import { useRoute as J } from "./index142.js";
|
9
9
|
const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
|
10
10
|
__name: "BbPagination",
|
package/dist/index94.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as l, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
|
2
2
|
import { useId as H } from "./index8.js";
|
3
3
|
import { useIntersectionObserver as N } from "./index137.js";
|
4
|
-
import { useLocale as U } from "./
|
5
|
-
import { useUntil as W } from "./
|
4
|
+
import { useLocale as U } from "./index213.js";
|
5
|
+
import { useUntil as W } from "./index214.js";
|
6
6
|
import q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import A from "./
|
8
|
+
import A from "./index221.js";
|
9
9
|
/* empty css */
|
10
10
|
const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
|
11
11
|
__name: "BbPopover",
|
package/package.json
CHANGED
package/dist/index219.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
const n = (t) => t == null || Number.isNaN(t) || typeof t == "object" && Object.keys(t).length === 0 || typeof t == "string" && t.trim().length === 0 || t instanceof Map && [...t.keys()].length === 0 || t instanceof Set && [...t.keys()].length === 0;
|
2
|
-
export {
|
3
|
-
n as isEmpty
|
4
|
-
};
|
package/dist/index222.js
DELETED
package/dist/index240.js
DELETED
package/dist/index258.js
DELETED
package/dist/index260.js
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
import { defineComponent as p, getCurrentInstance as a, resolveComponent as u, createBlock as f, openBlock as k, resolveDynamicComponent as g, unref as d, withCtx as b, renderSlot as x } from "vue";
|
2
|
-
import { _config as e } from "./index4.js";
|
3
|
-
import { useLogger as l } from "./index233.js";
|
4
|
-
const $ = /* @__PURE__ */ p({
|
5
|
-
__name: "RouterComponent",
|
6
|
-
setup(y) {
|
7
|
-
var o, i, r, s;
|
8
|
-
const m = !!((i = (o = a()) == null ? void 0 : o.proxy) != null && i.$inertia), c = !!((s = (r = a()) == null ? void 0 : r.proxy) != null && s.$nuxt);
|
9
|
-
let t;
|
10
|
-
if (m) {
|
11
|
-
if (t = u(e.inertiaLinkName), typeof t == "string") {
|
12
|
-
const { warn: n } = l();
|
13
|
-
n(
|
14
|
-
`Inertia link component "${e.inertiaLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.inertiaLinkName}" or set bitboss-ui config key "inertiaLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
15
|
-
);
|
16
|
-
}
|
17
|
-
} else if (c) {
|
18
|
-
if (t = u(e.nuxtLinkName), typeof t == "string") {
|
19
|
-
const { warn: n } = l();
|
20
|
-
n(
|
21
|
-
`Nuxt link component "${e.nuxtLinkName}" could not be resolved. Ensure you app registers a link component with the name "${e.nuxtLinkName}" or set bitboss-ui config key "nuxtLinkName" to the correct value globally. Please visit ${e.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
22
|
-
);
|
23
|
-
}
|
24
|
-
} else
|
25
|
-
t = "router-link";
|
26
|
-
return (n, L) => (k(), f(g(d(t)), null, {
|
27
|
-
default: b(() => [
|
28
|
-
x(n.$slots, "default")
|
29
|
-
]),
|
30
|
-
_: 3
|
31
|
-
}));
|
32
|
-
}
|
33
|
-
});
|
34
|
-
export {
|
35
|
-
$ as default
|
36
|
-
};
|
package/dist/index308.js
DELETED
package/dist/index341.js
DELETED
@@ -1,131 +0,0 @@
|
|
1
|
-
function c() {
|
2
|
-
return typeof window < "u";
|
3
|
-
}
|
4
|
-
function s(n) {
|
5
|
-
return p(n) ? (n.nodeName || "").toLowerCase() : "#document";
|
6
|
-
}
|
7
|
-
function i(n) {
|
8
|
-
var t;
|
9
|
-
return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
10
|
-
}
|
11
|
-
function E(n) {
|
12
|
-
var t;
|
13
|
-
return (t = (p(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
|
14
|
-
}
|
15
|
-
function p(n) {
|
16
|
-
return c() ? n instanceof Node || n instanceof i(n).Node : !1;
|
17
|
-
}
|
18
|
-
function m(n) {
|
19
|
-
return c() ? n instanceof Element || n instanceof i(n).Element : !1;
|
20
|
-
}
|
21
|
-
function w(n) {
|
22
|
-
return c() ? n instanceof HTMLElement || n instanceof i(n).HTMLElement : !1;
|
23
|
-
}
|
24
|
-
function a(n) {
|
25
|
-
return !c() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
|
26
|
-
}
|
27
|
-
function y(n) {
|
28
|
-
const {
|
29
|
-
overflow: t,
|
30
|
-
overflowX: e,
|
31
|
-
overflowY: o,
|
32
|
-
display: r
|
33
|
-
} = b(n);
|
34
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
|
35
|
-
}
|
36
|
-
function D(n) {
|
37
|
-
return ["table", "td", "th"].includes(s(n));
|
38
|
-
}
|
39
|
-
function N(n) {
|
40
|
-
return [":popover-open", ":modal"].some((t) => {
|
41
|
-
try {
|
42
|
-
return n.matches(t);
|
43
|
-
} catch {
|
44
|
-
return !1;
|
45
|
-
}
|
46
|
-
});
|
47
|
-
}
|
48
|
-
function T(n) {
|
49
|
-
const t = L(), e = m(n) ? b(n) : n;
|
50
|
-
return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => e[o] ? e[o] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
|
51
|
-
}
|
52
|
-
function k(n) {
|
53
|
-
let t = u(n);
|
54
|
-
for (; w(t) && !g(t); ) {
|
55
|
-
if (T(t))
|
56
|
-
return t;
|
57
|
-
if (N(t))
|
58
|
-
return null;
|
59
|
-
t = u(t);
|
60
|
-
}
|
61
|
-
return null;
|
62
|
-
}
|
63
|
-
function L() {
|
64
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
65
|
-
}
|
66
|
-
function g(n) {
|
67
|
-
return ["html", "body", "#document"].includes(s(n));
|
68
|
-
}
|
69
|
-
function b(n) {
|
70
|
-
return i(n).getComputedStyle(n);
|
71
|
-
}
|
72
|
-
function C(n) {
|
73
|
-
return m(n) ? {
|
74
|
-
scrollLeft: n.scrollLeft,
|
75
|
-
scrollTop: n.scrollTop
|
76
|
-
} : {
|
77
|
-
scrollLeft: n.scrollX,
|
78
|
-
scrollTop: n.scrollY
|
79
|
-
};
|
80
|
-
}
|
81
|
-
function u(n) {
|
82
|
-
if (s(n) === "html")
|
83
|
-
return n;
|
84
|
-
const t = (
|
85
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
86
|
-
n.assignedSlot || // DOM Element detected.
|
87
|
-
n.parentNode || // ShadowRoot detected.
|
88
|
-
a(n) && n.host || // Fallback.
|
89
|
-
E(n)
|
90
|
-
);
|
91
|
-
return a(t) ? t.host : t;
|
92
|
-
}
|
93
|
-
function h(n) {
|
94
|
-
const t = u(n);
|
95
|
-
return g(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : w(t) && y(t) ? t : h(t);
|
96
|
-
}
|
97
|
-
function d(n, t, e) {
|
98
|
-
var o;
|
99
|
-
t === void 0 && (t = []), e === void 0 && (e = !0);
|
100
|
-
const r = h(n), S = r === ((o = n.ownerDocument) == null ? void 0 : o.body), l = i(r);
|
101
|
-
if (S) {
|
102
|
-
const f = v(l);
|
103
|
-
return t.concat(l, l.visualViewport || [], y(r) ? r : [], f && e ? d(f) : []);
|
104
|
-
}
|
105
|
-
return t.concat(r, d(r, [], e));
|
106
|
-
}
|
107
|
-
function v(n) {
|
108
|
-
return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
|
109
|
-
}
|
110
|
-
export {
|
111
|
-
b as getComputedStyle,
|
112
|
-
k as getContainingBlock,
|
113
|
-
E as getDocumentElement,
|
114
|
-
v as getFrameElement,
|
115
|
-
h as getNearestOverflowAncestor,
|
116
|
-
s as getNodeName,
|
117
|
-
C as getNodeScroll,
|
118
|
-
d as getOverflowAncestors,
|
119
|
-
u as getParentNode,
|
120
|
-
i as getWindow,
|
121
|
-
T as isContainingBlock,
|
122
|
-
m as isElement,
|
123
|
-
w as isHTMLElement,
|
124
|
-
g as isLastTraversableNode,
|
125
|
-
p as isNode,
|
126
|
-
y as isOverflowElement,
|
127
|
-
a as isShadowRoot,
|
128
|
-
D as isTableElement,
|
129
|
-
N as isTopLayer,
|
130
|
-
L as isWebKit
|
131
|
-
};
|