bitboss-ui 0.2.8 → 0.2.10
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/index101.js +3 -3
- package/dist/index103.js +2 -2
- package/dist/index109.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index111.js +5 -5
- package/dist/index113.js +1 -1
- package/dist/index116.js +1 -1
- package/dist/index117.js +1 -1
- package/dist/index118.js +1 -1
- package/dist/index119.js +1 -1
- package/dist/index121.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index128.js +2 -2
- package/dist/index15.js +8 -8
- package/dist/index17.js +9 -9
- package/dist/index19.js +3 -3
- package/dist/index195.js +351 -2
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +134 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +5 -4
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +19 -3
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +2 -35
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +2 -6
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +171 -336
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +23 -134
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +369 -5
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +3 -19
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +3 -2
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +16 -2
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +14 -184
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +20 -23
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +27 -367
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +2 -2
- package/dist/index210.js +8 -3
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +3 -3
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +32 -232
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -2
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +2 -10
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +4 -2
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +235 -16
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +10 -16
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +2 -20
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +2 -29
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +2 -8
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +27 -8
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +12 -115
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +8 -27
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +115 -12
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +1 -1
- package/dist/index226.js +6 -4
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +2 -435
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +294 -88
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +2 -6
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +1 -1
- package/dist/index230.js +2 -2
- package/dist/index231.js +116 -294
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +106 -2
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +224 -2
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +246 -105
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +2 -106
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -200
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +2 -2
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +2 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +2 -69
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +4 -162
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +435 -2
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +83 -218
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +161 -257
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +2 -2
- package/dist/index245.js +69 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -2
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +200 -2
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +1 -1
- package/dist/index25.js +2 -2
- package/dist/index252.js +3 -2
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +2 -3
- package/dist/index253.js.map +1 -1
- package/dist/index29.js +3 -3
- package/dist/index31.js +6 -6
- package/dist/index33.js +2 -2
- package/dist/index35.js +2 -2
- package/dist/index47.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index65.js +5 -5
- package/dist/index69.js +2 -2
- package/dist/index72.js +1 -1
- package/dist/index75.js +1 -1
- package/dist/index79.js +4 -4
- package/dist/index8.js +64 -65
- package/dist/index8.js.map +1 -1
- package/dist/index81.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index101.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as ie, ref as O, computed as p, onMounted as de, watch as q, openBlock as c, createBlock as be, resolveDynamicComponent as re, normalizeClass as f, withCtx as ue, createElementBlock as d, toDisplayString as m, createCommentVNode as v, createElementVNode as o, renderSlot as y, createVNode as J, unref as C, Fragment as N, renderList as T, createTextVNode as pe, mergeProps as fe } from "vue";
|
|
2
|
-
import { add as me } from "./
|
|
3
|
-
import { clamp as ye } from "./
|
|
2
|
+
import { add as me } from "./index235.js";
|
|
3
|
+
import { clamp as ye } from "./index218.js";
|
|
4
4
|
import { deepEqual as he } from "./index123.js";
|
|
5
5
|
import { isNil as j } from "./index120.js";
|
|
6
6
|
import { isNotNil as _e } from "./index124.js";
|
|
7
7
|
import { useId as ke } from "./index7.js";
|
|
8
8
|
import { useItemValue as ge } from "./index126.js";
|
|
9
|
-
import { when as ve } from "./
|
|
9
|
+
import { when as ve } from "./index215.js";
|
|
10
10
|
import G from "./index11.js";
|
|
11
11
|
import "./index12.js";
|
|
12
12
|
import Ce from "./index25.js";
|
package/dist/index103.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as c, createBlock as b, withCtx as a, renderSlot as r, normalizeProps as i, guardReactiveProps as n, createVNode as h, mergeProps as y } from "vue";
|
|
2
2
|
import f from "./index21.js";
|
|
3
3
|
import "./index22.js";
|
|
4
|
-
import v from "./
|
|
5
|
-
import "./
|
|
4
|
+
import v from "./index243.js";
|
|
5
|
+
import "./index244.js";
|
|
6
6
|
const w = /* @__PURE__ */ m({
|
|
7
7
|
__name: "BbTag",
|
|
8
8
|
props: {
|
package/dist/index109.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as e, createBlock as o, Teleport as l, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as p, withCtx as u, createElementBlock as d, Fragment as f, renderList as _, unref as r, mergeProps as b } from "vue";
|
|
2
2
|
import { state as k, useToast as C } from "./index5.js";
|
|
3
|
-
import B from "./
|
|
3
|
+
import B from "./index245.js";
|
|
4
4
|
const N = /* @__PURE__ */ s({
|
|
5
5
|
__name: "BbToast",
|
|
6
6
|
props: {
|
package/dist/index11.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as B, ref as h, computed as n, watch as L, openBlock as c, createElementBlock as i, normalizeClass as E, normalizeProps as p, mergeProps as d, createCommentVNode as I, createElementVNode as l, renderSlot as F, guardReactiveProps as M } from "vue";
|
|
2
|
-
import { isCssColor as f } from "./
|
|
3
|
-
import { when as N } from "./
|
|
2
|
+
import { isCssColor as f } from "./index214.js";
|
|
3
|
+
import { when as N } from "./index215.js";
|
|
4
4
|
const A = {
|
|
5
5
|
class: "bb-base-checkbox-container",
|
|
6
6
|
"aria-hidden": "true"
|
package/dist/index111.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as A, ref as o, computed as E, openBlock as b, createElementBlock as $, mergeProps as D, createElementVNode as i, renderSlot as L, normalizeProps as H, guardReactiveProps as I, unref as s, createBlock as M, Teleport as R, normalizeClass as U, normalizeStyle as j, withCtx as q, createCommentVNode as O } from "vue";
|
|
2
|
-
import { useFloating as G, arrow as J } from "./
|
|
2
|
+
import { useFloating as G, arrow as J } from "./index224.js";
|
|
3
3
|
import { useId as K } from "./index7.js";
|
|
4
4
|
import { wait as P } from "./index122.js";
|
|
5
5
|
import Q from "./index9.js";
|
|
6
6
|
import "./index10.js";
|
|
7
|
-
import { throttle as v } from "./
|
|
8
|
-
import { waitFor as W } from "./
|
|
9
|
-
import { autoUpdate as X } from "./
|
|
10
|
-
import { flip as Y, shift as Z } from "./
|
|
7
|
+
import { throttle as v } from "./index211.js";
|
|
8
|
+
import { waitFor as W } from "./index213.js";
|
|
9
|
+
import { autoUpdate as X } from "./index195.js";
|
|
10
|
+
import { flip as Y, shift as Z } from "./index203.js";
|
|
11
11
|
const ee = { class: "bb-tooltip__bubble" }, te = /* @__PURE__ */ i("svg", {
|
|
12
12
|
viewBox: "0 0 24 24",
|
|
13
13
|
fill: "none",
|
package/dist/index113.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, openBlock as f, createElementBlock as i, Fragment as v, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as p, createVNode as k, createSlots as B, withCtx as C, normalizeProps as T, guardReactiveProps as _ } from "vue";
|
|
2
|
-
import { flattenTree as P } from "./
|
|
2
|
+
import { flattenTree as P } from "./index246.js";
|
|
3
3
|
const w = { class: "bb-tree-row" }, z = { class: "bb-tree-main-content" }, I = /* @__PURE__ */ $({
|
|
4
4
|
__name: "BbTree",
|
|
5
5
|
props: {
|
package/dist/index116.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, ref as a, watch as s, computed as u, openBlock as c, createElementBlock as p, normalizeProps as d, guardReactiveProps as m, createElementVNode as b, renderSlot as v, createCommentVNode as f } from "vue";
|
|
2
2
|
import { wait as V } from "./index122.js";
|
|
3
|
-
import { throttle as _ } from "./
|
|
3
|
+
import { throttle as _ } from "./index211.js";
|
|
4
4
|
const h = { class: "bb-collapsible__content" }, k = /* @__PURE__ */ i({
|
|
5
5
|
__name: "BbCollapsible",
|
|
6
6
|
props: {
|
package/dist/index117.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as m, getCurrentInstance as d, inject as x, computed as l, ref as y, watchEffect as _, openBlock as b, createElementBlock as h, mergeProps as w } from "vue";
|
|
2
|
-
import { isCssColor as z } from "./
|
|
2
|
+
import { isCssColor as z } from "./index214.js";
|
|
3
3
|
const g = ["innerHTML"], $ = /* @__PURE__ */ m({
|
|
4
4
|
__name: "BbIcon",
|
|
5
5
|
props: {
|
package/dist/index118.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
|
|
2
|
-
import { throttle as g } from "./
|
|
2
|
+
import { throttle as g } from "./index211.js";
|
|
3
3
|
const O = /* @__PURE__ */ v({
|
|
4
4
|
__name: "BbSmoothHeight",
|
|
5
5
|
props: {
|
package/dist/index119.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as m, computed as r, openBlock as a, createElementBlock as d, normalizeProps as u, guardReactiveProps as z, createElementVNode as c } from "vue";
|
|
2
|
-
import { isCssColor as f } from "./
|
|
2
|
+
import { isCssColor as f } from "./index214.js";
|
|
3
3
|
const _ = /* @__PURE__ */ c("svg", {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
viewBox: "0 0 512 512"
|
package/dist/index121.js
CHANGED
package/dist/index125.js
CHANGED
package/dist/index126.js
CHANGED
package/dist/index128.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toValue as B } from "./
|
|
2
|
-
import { tryOnScopeDispose as E } from "./
|
|
1
|
+
import { toValue as B } from "./index217.js";
|
|
2
|
+
import { tryOnScopeDispose as E } from "./index217.js";
|
|
3
3
|
import { ref as c, computed as t } from "vue";
|
|
4
4
|
function h(a) {
|
|
5
5
|
var l;
|
package/dist/index15.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as de, ref as k, computed as h, watch as ue, openBlock as d, createElementBlock as u, mergeProps as ce, createElementVNode as i, createTextVNode as be, toDisplayString as f, unref as p, withDirectives as L, createVNode as g, Transition as V, withCtx as w, vShow as z, createCommentVNode as A, normalizeClass as x, Fragment as O, renderList as S, renderSlot as R, nextTick as me } from "vue";
|
|
2
|
-
import c from "./
|
|
3
|
-
import fe from "./
|
|
4
|
-
import pe from "./
|
|
5
|
-
import he from "./
|
|
6
|
-
import ye from "./
|
|
7
|
-
import _e from "./
|
|
8
|
-
import { groupBy as W } from "./
|
|
2
|
+
import c from "./index197.js";
|
|
3
|
+
import fe from "./index206.js";
|
|
4
|
+
import pe from "./index207.js";
|
|
5
|
+
import he from "./index198.js";
|
|
6
|
+
import ye from "./index208.js";
|
|
7
|
+
import _e from "./index209.js";
|
|
8
|
+
import { groupBy as W } from "./index210.js";
|
|
9
9
|
import { isNil as ve } from "./index120.js";
|
|
10
|
-
import { last as $ } from "./
|
|
10
|
+
import { last as $ } from "./index200.js";
|
|
11
11
|
const ke = { class: "bb-base-date-picker__header" }, ge = ["disabled"], Ve = /* @__PURE__ */ i("span", null, null, -1), we = {
|
|
12
12
|
class: "bb-base-date-picker__selected-day-label",
|
|
13
13
|
"aria-live": "polite"
|
package/dist/index17.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as R, ref as l, computed as Y, watch as J, onMounted as Q, onBeforeUnmount as X, openBlock as B, createElementBlock as Z, normalizeClass as C, renderSlot as u, createElementVNode as g, withDirectives as x, mergeProps as T, unref as d, toDisplayString as ee, createBlock as ae, Teleport as te, createVNode as ne, createSlots as oe, renderList as le, withCtx as ie, normalizeProps as re, guardReactiveProps as se } from "vue";
|
|
2
|
-
import { autoUpdate as ue, computePosition as de } from "./
|
|
3
|
-
import ce from "./
|
|
4
|
-
import c from "./
|
|
5
|
-
import fe from "./
|
|
6
|
-
import { identity as pe } from "./
|
|
7
|
-
import { last as me } from "./
|
|
2
|
+
import { autoUpdate as ue, computePosition as de } from "./index195.js";
|
|
3
|
+
import ce from "./index196.js";
|
|
4
|
+
import c from "./index197.js";
|
|
5
|
+
import fe from "./index198.js";
|
|
6
|
+
import { identity as pe } from "./index199.js";
|
|
7
|
+
import { last as me } from "./index200.js";
|
|
8
8
|
import { useId as be } from "./index7.js";
|
|
9
|
-
import { vMaska as ve } from "./
|
|
9
|
+
import { vMaska as ve } from "./index201.js";
|
|
10
10
|
import { wait as I } from "./index122.js";
|
|
11
11
|
import ye from "./index15.js";
|
|
12
12
|
import "./index16.js";
|
|
13
|
-
import O from "./
|
|
14
|
-
import { offset as ge, flip as he, shift as ke } from "./
|
|
13
|
+
import O from "./index202.js";
|
|
14
|
+
import { offset as ge, flip as he, shift as ke } from "./index203.js";
|
|
15
15
|
const we = ["autocomplete", "autofocus", "data-maska", "disabled", "id", "name", "placeholder", "readonly", "value", "aria-describedby"], Ee = ["id"], Pe = /* @__PURE__ */ R({
|
|
16
16
|
__name: "BaseDatePickerInput",
|
|
17
17
|
props: {
|
package/dist/index19.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as Q, ref as l, useAttrs as X, computed as _, onMounted as T, onBeforeUnmount as A, watch as Y, nextTick as E, openBlock as w, createBlock as Z, Teleport as ee, createElementVNode as o, mergeProps as W, createElementBlock as B, renderSlot as r, createTextVNode as te, toDisplayString as V, createCommentVNode as D } from "vue";
|
|
2
|
-
import { throttle as le } from "./
|
|
3
|
-
import { useFocusTrap as oe } from "./
|
|
2
|
+
import { throttle as le } from "./index211.js";
|
|
3
|
+
import { useFocusTrap as oe } from "./index212.js";
|
|
4
4
|
import { useId as R } from "./index7.js";
|
|
5
5
|
import { wait as L } from "./index122.js";
|
|
6
|
-
import { waitFor as ae } from "./
|
|
6
|
+
import { waitFor as ae } from "./index213.js";
|
|
7
7
|
const se = { class: "bb-base-dialog-close" }, ne = { class: "bb-base-dialog-close__content" }, ie = { class: "bb-base-dialog-close__label" }, re = /* @__PURE__ */ o("span", { class: "bb-base-dialog-close__icon" }, [
|
|
8
8
|
/* @__PURE__ */ o("svg", {
|
|
9
9
|
viewBox: "0 0 24 24",
|
package/dist/index195.js
CHANGED
|
@@ -1,5 +1,354 @@
|
|
|
1
|
-
|
|
1
|
+
import { computePosition as Z } from "./index203.js";
|
|
2
|
+
import { arrow as Ct, detectOverflow as Et, flip as Ot, offset as Tt, shift as Lt } from "./index203.js";
|
|
3
|
+
import { createCoords as x, rectToClientRect as U, round as A, max as T, min as H, floor as B } from "./index231.js";
|
|
4
|
+
import { getOverflowAncestors as I, isElement as y, getWindow as E, getComputedStyle as m, getDocumentElement as b, isHTMLElement as v, isWebKit as _, getNodeName as F, isOverflowElement as z, getNodeScroll as N, isTableElement as P, isContainingBlock as K, getContainingBlock as tt, getParentNode as V, isLastTraversableNode as X } from "./index232.js";
|
|
5
|
+
function j(t) {
|
|
6
|
+
const e = m(t);
|
|
7
|
+
let o = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
|
|
8
|
+
const n = v(t), c = n ? t.offsetWidth : o, s = n ? t.offsetHeight : i, r = A(o) !== c || A(i) !== s;
|
|
9
|
+
return r && (o = c, i = s), {
|
|
10
|
+
width: o,
|
|
11
|
+
height: i,
|
|
12
|
+
$: r
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function M(t) {
|
|
16
|
+
return y(t) ? t : t.contextElement;
|
|
17
|
+
}
|
|
18
|
+
function L(t) {
|
|
19
|
+
const e = M(t);
|
|
20
|
+
if (!v(e))
|
|
21
|
+
return x(1);
|
|
22
|
+
const o = e.getBoundingClientRect(), {
|
|
23
|
+
width: i,
|
|
24
|
+
height: n,
|
|
25
|
+
$: c
|
|
26
|
+
} = j(e);
|
|
27
|
+
let s = (c ? A(o.width) : o.width) / i, r = (c ? A(o.height) : o.height) / n;
|
|
28
|
+
return (!s || !Number.isFinite(s)) && (s = 1), (!r || !Number.isFinite(r)) && (r = 1), {
|
|
29
|
+
x: s,
|
|
30
|
+
y: r
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
const et = /* @__PURE__ */ x(0);
|
|
34
|
+
function G(t) {
|
|
35
|
+
const e = E(t);
|
|
36
|
+
return !_() || !e.visualViewport ? et : {
|
|
37
|
+
x: e.visualViewport.offsetLeft,
|
|
38
|
+
y: e.visualViewport.offsetTop
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ot(t, e, o) {
|
|
42
|
+
return e === void 0 && (e = !1), !o || e && o !== E(t) ? !1 : e;
|
|
43
|
+
}
|
|
44
|
+
function O(t, e, o, i) {
|
|
45
|
+
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
46
|
+
const n = t.getBoundingClientRect(), c = M(t);
|
|
47
|
+
let s = x(1);
|
|
48
|
+
e && (i ? y(i) && (s = L(i)) : s = L(t));
|
|
49
|
+
const r = ot(c, o, i) ? G(c) : x(0);
|
|
50
|
+
let l = (n.left + r.x) / s.x, f = (n.top + r.y) / s.y, p = n.width / s.x, d = n.height / s.y;
|
|
51
|
+
if (c) {
|
|
52
|
+
const w = E(c), a = i && y(i) ? E(i) : i;
|
|
53
|
+
let g = w.frameElement;
|
|
54
|
+
for (; g && i && a !== w; ) {
|
|
55
|
+
const h = L(g), R = g.getBoundingClientRect(), u = m(g), C = R.left + (g.clientLeft + parseFloat(u.paddingLeft)) * h.x, W = R.top + (g.clientTop + parseFloat(u.paddingTop)) * h.y;
|
|
56
|
+
l *= h.x, f *= h.y, p *= h.x, d *= h.y, l += C, f += W, g = E(g).frameElement;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return U({
|
|
60
|
+
width: p,
|
|
61
|
+
height: d,
|
|
62
|
+
x: l,
|
|
63
|
+
y: f
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function it(t) {
|
|
67
|
+
let {
|
|
68
|
+
rect: e,
|
|
69
|
+
offsetParent: o,
|
|
70
|
+
strategy: i
|
|
71
|
+
} = t;
|
|
72
|
+
const n = v(o), c = b(o);
|
|
73
|
+
if (o === c)
|
|
74
|
+
return e;
|
|
75
|
+
let s = {
|
|
76
|
+
scrollLeft: 0,
|
|
77
|
+
scrollTop: 0
|
|
78
|
+
}, r = x(1);
|
|
79
|
+
const l = x(0);
|
|
80
|
+
if ((n || !n && i !== "fixed") && ((F(o) !== "body" || z(c)) && (s = N(o)), v(o))) {
|
|
81
|
+
const f = O(o);
|
|
82
|
+
r = L(o), l.x = f.x + o.clientLeft, l.y = f.y + o.clientTop;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
width: e.width * r.x,
|
|
86
|
+
height: e.height * r.y,
|
|
87
|
+
x: e.x * r.x - s.scrollLeft * r.x + l.x,
|
|
88
|
+
y: e.y * r.y - s.scrollTop * r.y + l.y
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
function nt(t) {
|
|
92
|
+
return Array.from(t.getClientRects());
|
|
93
|
+
}
|
|
94
|
+
function J(t) {
|
|
95
|
+
return O(b(t)).left + N(t).scrollLeft;
|
|
96
|
+
}
|
|
97
|
+
function st(t) {
|
|
98
|
+
const e = b(t), o = N(t), i = t.ownerDocument.body, n = T(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), c = T(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
|
|
99
|
+
let s = -o.scrollLeft + J(t);
|
|
100
|
+
const r = -o.scrollTop;
|
|
101
|
+
return m(i).direction === "rtl" && (s += T(e.clientWidth, i.clientWidth) - n), {
|
|
102
|
+
width: n,
|
|
103
|
+
height: c,
|
|
104
|
+
x: s,
|
|
105
|
+
y: r
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function rt(t, e) {
|
|
109
|
+
const o = E(t), i = b(t), n = o.visualViewport;
|
|
110
|
+
let c = i.clientWidth, s = i.clientHeight, r = 0, l = 0;
|
|
111
|
+
if (n) {
|
|
112
|
+
c = n.width, s = n.height;
|
|
113
|
+
const f = _();
|
|
114
|
+
(!f || f && e === "fixed") && (r = n.offsetLeft, l = n.offsetTop);
|
|
115
|
+
}
|
|
116
|
+
return {
|
|
117
|
+
width: c,
|
|
118
|
+
height: s,
|
|
119
|
+
x: r,
|
|
120
|
+
y: l
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
function ct(t, e) {
|
|
124
|
+
const o = O(t, !0, e === "fixed"), i = o.top + t.clientTop, n = o.left + t.clientLeft, c = v(t) ? L(t) : x(1), s = t.clientWidth * c.x, r = t.clientHeight * c.y, l = n * c.x, f = i * c.y;
|
|
125
|
+
return {
|
|
126
|
+
width: s,
|
|
127
|
+
height: r,
|
|
128
|
+
x: l,
|
|
129
|
+
y: f
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function k(t, e, o) {
|
|
133
|
+
let i;
|
|
134
|
+
if (e === "viewport")
|
|
135
|
+
i = rt(t, o);
|
|
136
|
+
else if (e === "document")
|
|
137
|
+
i = st(b(t));
|
|
138
|
+
else if (y(e))
|
|
139
|
+
i = ct(e, o);
|
|
140
|
+
else {
|
|
141
|
+
const n = G(t);
|
|
142
|
+
i = {
|
|
143
|
+
...e,
|
|
144
|
+
x: e.x - n.x,
|
|
145
|
+
y: e.y - n.y
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
return U(i);
|
|
149
|
+
}
|
|
150
|
+
function Q(t, e) {
|
|
151
|
+
const o = V(t);
|
|
152
|
+
return o === e || !y(o) || X(o) ? !1 : m(o).position === "fixed" || Q(o, e);
|
|
153
|
+
}
|
|
154
|
+
function lt(t, e) {
|
|
155
|
+
const o = e.get(t);
|
|
156
|
+
if (o)
|
|
157
|
+
return o;
|
|
158
|
+
let i = I(t, [], !1).filter((r) => y(r) && F(r) !== "body"), n = null;
|
|
159
|
+
const c = m(t).position === "fixed";
|
|
160
|
+
let s = c ? V(t) : t;
|
|
161
|
+
for (; y(s) && !X(s); ) {
|
|
162
|
+
const r = m(s), l = K(s);
|
|
163
|
+
!l && r.position === "fixed" && (n = null), (c ? !l && !n : !l && r.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || z(s) && !l && Q(t, s)) ? i = i.filter((p) => p !== s) : n = r, s = V(s);
|
|
164
|
+
}
|
|
165
|
+
return e.set(t, i), i;
|
|
166
|
+
}
|
|
167
|
+
function ft(t) {
|
|
168
|
+
let {
|
|
169
|
+
element: e,
|
|
170
|
+
boundary: o,
|
|
171
|
+
rootBoundary: i,
|
|
172
|
+
strategy: n
|
|
173
|
+
} = t;
|
|
174
|
+
const s = [...o === "clippingAncestors" ? lt(e, this._c) : [].concat(o), i], r = s[0], l = s.reduce((f, p) => {
|
|
175
|
+
const d = k(e, p, n);
|
|
176
|
+
return f.top = T(d.top, f.top), f.right = H(d.right, f.right), f.bottom = H(d.bottom, f.bottom), f.left = T(d.left, f.left), f;
|
|
177
|
+
}, k(e, r, n));
|
|
178
|
+
return {
|
|
179
|
+
width: l.right - l.left,
|
|
180
|
+
height: l.bottom - l.top,
|
|
181
|
+
x: l.left,
|
|
182
|
+
y: l.top
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
function ut(t) {
|
|
186
|
+
return j(t);
|
|
187
|
+
}
|
|
188
|
+
function ht(t, e, o) {
|
|
189
|
+
const i = v(e), n = b(e), c = o === "fixed", s = O(t, !0, c, e);
|
|
190
|
+
let r = {
|
|
191
|
+
scrollLeft: 0,
|
|
192
|
+
scrollTop: 0
|
|
193
|
+
};
|
|
194
|
+
const l = x(0);
|
|
195
|
+
if (i || !i && !c)
|
|
196
|
+
if ((F(e) !== "body" || z(n)) && (r = N(e)), i) {
|
|
197
|
+
const f = O(e, !0, c, e);
|
|
198
|
+
l.x = f.x + e.clientLeft, l.y = f.y + e.clientTop;
|
|
199
|
+
} else
|
|
200
|
+
n && (l.x = J(n));
|
|
201
|
+
return {
|
|
202
|
+
x: s.left + r.scrollLeft - l.x,
|
|
203
|
+
y: s.top + r.scrollTop - l.y,
|
|
204
|
+
width: s.width,
|
|
205
|
+
height: s.height
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
function q(t, e) {
|
|
209
|
+
return !v(t) || m(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
210
|
+
}
|
|
211
|
+
function Y(t, e) {
|
|
212
|
+
const o = E(t);
|
|
213
|
+
if (!v(t))
|
|
214
|
+
return o;
|
|
215
|
+
let i = q(t, e);
|
|
216
|
+
for (; i && P(i) && m(i).position === "static"; )
|
|
217
|
+
i = q(i, e);
|
|
218
|
+
return i && (F(i) === "html" || F(i) === "body" && m(i).position === "static" && !K(i)) ? o : i || tt(t) || o;
|
|
219
|
+
}
|
|
220
|
+
const at = async function(t) {
|
|
221
|
+
let {
|
|
222
|
+
reference: e,
|
|
223
|
+
floating: o,
|
|
224
|
+
strategy: i
|
|
225
|
+
} = t;
|
|
226
|
+
const n = this.getOffsetParent || Y, c = this.getDimensions;
|
|
227
|
+
return {
|
|
228
|
+
reference: ht(e, await n(o), i),
|
|
229
|
+
floating: {
|
|
230
|
+
x: 0,
|
|
231
|
+
y: 0,
|
|
232
|
+
...await c(o)
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
function dt(t) {
|
|
237
|
+
return m(t).direction === "rtl";
|
|
238
|
+
}
|
|
239
|
+
const gt = {
|
|
240
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: it,
|
|
241
|
+
getDocumentElement: b,
|
|
242
|
+
getClippingRect: ft,
|
|
243
|
+
getOffsetParent: Y,
|
|
244
|
+
getElementRects: at,
|
|
245
|
+
getClientRects: nt,
|
|
246
|
+
getDimensions: ut,
|
|
247
|
+
getScale: L,
|
|
248
|
+
isElement: y,
|
|
249
|
+
isRTL: dt
|
|
250
|
+
};
|
|
251
|
+
function pt(t, e) {
|
|
252
|
+
let o = null, i;
|
|
253
|
+
const n = b(t);
|
|
254
|
+
function c() {
|
|
255
|
+
clearTimeout(i), o && o.disconnect(), o = null;
|
|
256
|
+
}
|
|
257
|
+
function s(r, l) {
|
|
258
|
+
r === void 0 && (r = !1), l === void 0 && (l = 1), c();
|
|
259
|
+
const {
|
|
260
|
+
left: f,
|
|
261
|
+
top: p,
|
|
262
|
+
width: d,
|
|
263
|
+
height: w
|
|
264
|
+
} = t.getBoundingClientRect();
|
|
265
|
+
if (r || e(), !d || !w)
|
|
266
|
+
return;
|
|
267
|
+
const a = B(p), g = B(n.clientWidth - (f + d)), h = B(n.clientHeight - (p + w)), R = B(f), C = {
|
|
268
|
+
rootMargin: -a + "px " + -g + "px " + -h + "px " + -R + "px",
|
|
269
|
+
threshold: T(0, H(1, l)) || 1
|
|
270
|
+
};
|
|
271
|
+
let W = !0;
|
|
272
|
+
function S($) {
|
|
273
|
+
const D = $[0].intersectionRatio;
|
|
274
|
+
if (D !== l) {
|
|
275
|
+
if (!W)
|
|
276
|
+
return s();
|
|
277
|
+
D ? s(!1, D) : i = setTimeout(() => {
|
|
278
|
+
s(!1, 1e-7);
|
|
279
|
+
}, 100);
|
|
280
|
+
}
|
|
281
|
+
W = !1;
|
|
282
|
+
}
|
|
283
|
+
try {
|
|
284
|
+
o = new IntersectionObserver(S, {
|
|
285
|
+
...C,
|
|
286
|
+
// Handle <iframe>s
|
|
287
|
+
root: n.ownerDocument
|
|
288
|
+
});
|
|
289
|
+
} catch {
|
|
290
|
+
o = new IntersectionObserver(S, C);
|
|
291
|
+
}
|
|
292
|
+
o.observe(t);
|
|
293
|
+
}
|
|
294
|
+
return s(!0), c;
|
|
295
|
+
}
|
|
296
|
+
function yt(t, e, o, i) {
|
|
297
|
+
i === void 0 && (i = {});
|
|
298
|
+
const {
|
|
299
|
+
ancestorScroll: n = !0,
|
|
300
|
+
ancestorResize: c = !0,
|
|
301
|
+
elementResize: s = typeof ResizeObserver == "function",
|
|
302
|
+
layoutShift: r = typeof IntersectionObserver == "function",
|
|
303
|
+
animationFrame: l = !1
|
|
304
|
+
} = i, f = M(t), p = n || c ? [...f ? I(f) : [], ...I(e)] : [];
|
|
305
|
+
p.forEach((u) => {
|
|
306
|
+
n && u.addEventListener("scroll", o, {
|
|
307
|
+
passive: !0
|
|
308
|
+
}), c && u.addEventListener("resize", o);
|
|
309
|
+
});
|
|
310
|
+
const d = f && r ? pt(f, o) : null;
|
|
311
|
+
let w = -1, a = null;
|
|
312
|
+
s && (a = new ResizeObserver((u) => {
|
|
313
|
+
let [C] = u;
|
|
314
|
+
C && C.target === f && a && (a.unobserve(e), cancelAnimationFrame(w), w = requestAnimationFrame(() => {
|
|
315
|
+
a && a.observe(e);
|
|
316
|
+
})), o();
|
|
317
|
+
}), f && !l && a.observe(f), a.observe(e));
|
|
318
|
+
let g, h = l ? O(t) : null;
|
|
319
|
+
l && R();
|
|
320
|
+
function R() {
|
|
321
|
+
const u = O(t);
|
|
322
|
+
h && (u.x !== h.x || u.y !== h.y || u.width !== h.width || u.height !== h.height) && o(), h = u, g = requestAnimationFrame(R);
|
|
323
|
+
}
|
|
324
|
+
return o(), () => {
|
|
325
|
+
p.forEach((u) => {
|
|
326
|
+
n && u.removeEventListener("scroll", o), c && u.removeEventListener("resize", o);
|
|
327
|
+
}), d && d(), a && a.disconnect(), a = null, l && cancelAnimationFrame(g);
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
const vt = (t, e, o) => {
|
|
331
|
+
const i = /* @__PURE__ */ new Map(), n = {
|
|
332
|
+
platform: gt,
|
|
333
|
+
...o
|
|
334
|
+
}, c = {
|
|
335
|
+
...n.platform,
|
|
336
|
+
_c: i
|
|
337
|
+
};
|
|
338
|
+
return Z(t, e, {
|
|
339
|
+
...n,
|
|
340
|
+
platform: c
|
|
341
|
+
});
|
|
342
|
+
};
|
|
2
343
|
export {
|
|
3
|
-
|
|
344
|
+
Ct as arrow,
|
|
345
|
+
yt as autoUpdate,
|
|
346
|
+
vt as computePosition,
|
|
347
|
+
Et as detectOverflow,
|
|
348
|
+
Ot as flip,
|
|
349
|
+
I as getOverflowAncestors,
|
|
350
|
+
Tt as offset,
|
|
351
|
+
gt as platform,
|
|
352
|
+
Lt as shift
|
|
4
353
|
};
|
|
5
354
|
//# sourceMappingURL=index195.js.map
|
package/dist/index195.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index195.js","sources":["../src/utilities/functions/clamp.ts"],"sourcesContent":["/**\n * Returns value ensuring it doesn't go below min and exceed max.\n * EXAMPLE: clamp(5, 7, 20) === 7\n * @param value The value to clamp\n * @param min Minimum bound\n * @param max Maximum bound\n * @returns \n */\n\nexport const clamp = (value: number, min: number, max: number) => {\n return Math.min(Math.max(value, min), max);\n};\n"],"names":["clamp","value","min","max"],"mappings":"AASO,MAAMA,IAAQ,CAACC,GAAeC,GAAaC,MACzC,KAAK,IAAI,KAAK,IAAIF,GAAOC,CAAG,GAAGC,CAAG;"}
|
|
1
|
+
{"version":3,"file":"index195.js","sources":["../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, computePosition as computePosition$1 } from '@floating-ui/core';\nexport { arrow, autoPlacement, detectOverflow, flip, hide, inline, limitShift, offset, shift, size } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getDocumentElement, getNodeName, isOverflowElement, getNodeScroll, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentIFrame = win.frameElement;\n while (currentIFrame && offsetParent && offsetWin !== win) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentIFrame = getWindow(currentIFrame).frameElement;\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n if (offsetParent === documentElement) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\nfunction getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n ...clippingAncestor,\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n return getCssDimensions(element);\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n return element.offsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const window = getWindow(element);\n if (!isHTMLElement(element)) {\n return window;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {\n return window;\n }\n return offsetParent || getContainingBlock(element) || window;\n}\n\nconst getElementRects = async function (_ref) {\n let {\n reference,\n floating,\n strategy\n } = _ref;\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n return {\n reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),\n floating: {\n x: 0,\n y: 0,\n ...(await getDimensionsFn(floating))\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n clearTimeout(timeoutId);\n io && io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const {\n left,\n top,\n width,\n height\n } = element.getBoundingClientRect();\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 100);\n } else {\n refresh(false, ratio);\n }\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n resizeObserver && resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo && cleanupIo();\n resizeObserver && resizeObserver.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a reference element when it is given a certain CSS positioning\n * strategy.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { autoUpdate, computePosition, platform };\n"],"names":["getCssDimensions","element","css","getComputedStyle","width","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","unwrapElement","isElement","getScale","domElement","createCoords","rect","$","x","y","noOffsets","getVisualOffsets","win","getWindow","isWebKit","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","offsetWin","currentIFrame","iframeScale","iframeRect","left","top","rectToClientRect","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","strategy","isOffsetParentAnElement","documentElement","getDocumentElement","scroll","offsets","getNodeName","isOverflowElement","getNodeScroll","offsetRect","getClientRects","getWindowScrollBarX","getDocumentRect","html","body","max","getViewportRect","visualViewport","visualViewportBased","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","getClippingElementAncestors","cache","cachedResult","result","getOverflowAncestors","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","isContainingBlock","ancestor","getClippingRect","boundary","rootBoundary","clippingAncestors","firstClippingAncestor","clippingRect","accRect","min","getDimensions","getRectRelativeToOffsetParent","getTrueOffsetParent","polyfill","getOffsetParent","window","isTableElement","getContainingBlock","getElementRects","reference","floating","getOffsetParentFn","getDimensionsFn","isRTL","platform","observeMove","onMove","io","timeoutId","root","cleanup","refresh","skip","threshold","insetTop","floor","insetRight","insetBottom","insetLeft","options","isFirstUpdate","handleObserve","entries","ratio","autoUpdate","update","ancestorScroll","ancestorResize","elementResize","layoutShift","animationFrame","referenceEl","ancestors","cleanupIo","reobserveFrame","resizeObserver","firstEntry","frameId","prevRefRect","frameLoop","nextRefRect","computePosition","mergedOptions","platformWithCache","computePosition$1"],"mappings":";;;;AAMA,SAASA,EAAiBC,GAAS;AACjC,QAAMC,IAAMC,EAAiBF,CAAO;AAG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