bitboss-ui 2.0.107 → 2.0.109
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/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +4 -0
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -0
- package/dist/components/BbTeleport.vue.d.ts +4 -1
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
- package/dist/components/CommonFloating.vue.d.ts +4 -0
- package/dist/index100.js +8 -8
- package/dist/index101.js +22 -20
- package/dist/index111.js +10 -10
- package/dist/index119.js +2 -2
- package/dist/index121.js +18 -16
- package/dist/index123.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +7 -7
- package/dist/index205.js +2 -115
- package/dist/index206.js +115 -2
- package/dist/index208.js +1 -1
- package/dist/index209.js +2 -53
- package/dist/index21.js +13 -13
- package/dist/index210.js +6 -0
- package/dist/index211.js +2 -13
- package/dist/index212.js +53 -3
- package/dist/index214.js +13 -6
- package/dist/index215.js +20 -7
- package/dist/index216.js +4 -12
- package/dist/index217.js +2 -2
- package/dist/index218.js +126 -2
- package/dist/index219.js +5 -4
- package/dist/index220.js +125 -2
- package/dist/index221.js +16 -3
- package/dist/index222.js +15 -19
- package/dist/index223.js +19 -4
- package/dist/index224.js +14 -280
- package/dist/index225.js +2 -16
- package/dist/index226.js +2 -16
- package/dist/index227.js +40 -18
- package/dist/index228.js +6 -15
- package/dist/index229.js +15 -19
- package/dist/index23.js +47 -43
- package/dist/index230.js +5 -27
- package/dist/index231.js +369 -2
- package/dist/index232.js +79 -243
- package/dist/index234.js +25 -44
- package/dist/index235.js +17 -5
- package/dist/index236.js +47 -59
- package/dist/index237.js +13 -124
- package/dist/index238.js +12 -125
- package/dist/index239.js +16 -2
- package/dist/index240.js +3 -5
- package/dist/index241.js +3 -369
- package/dist/index242.js +7 -86
- package/dist/index243.js +21 -0
- package/dist/index244.js +27 -25
- package/dist/index245.js +250 -17
- package/dist/index246.js +50 -46
- package/dist/index247.js +44 -15
- package/dist/index248.js +5 -12
- package/dist/index249.js +60 -16
- package/dist/index25.js +5 -5
- package/dist/index250.js +1 -1
- package/dist/index251.js +1 -1
- package/dist/index252.js +1 -1
- package/dist/index254.js +1 -1
- package/dist/index257.js +2 -2
- package/dist/index258.js +2 -2
- package/dist/index261.js +27 -8
- package/dist/index262.js +9 -23
- package/dist/index263.js +23 -89
- package/dist/index264.js +92 -0
- package/dist/index266.js +6 -16
- package/dist/index267.js +16 -9
- package/dist/index268.js +4 -9
- package/dist/index269.js +9 -8
- package/dist/index27.js +1 -1
- package/dist/index270.js +3 -28
- package/dist/index272.js +9 -0
- package/dist/index273.js +175 -6
- package/dist/index274.js +6 -430
- package/dist/index275.js +11 -2
- package/dist/index276.js +280 -88
- package/dist/index277.js +6 -7
- package/dist/index278.js +2 -11
- package/dist/index279.js +2 -4
- package/dist/index280.js +2 -224
- package/dist/index281.js +2 -200
- package/dist/index282.js +2 -176
- package/dist/index283.js +2 -6
- package/dist/index284.js +126 -2
- package/dist/index285.js +431 -2
- package/dist/index286.js +2 -2
- package/dist/index287.js +22 -2
- package/dist/index289.js +3 -2
- package/dist/index29.js +3 -3
- package/dist/index290.js +17 -2
- package/dist/index291.js +9 -2
- package/dist/index292.js +8 -2
- package/dist/index293.js +224 -2
- package/dist/index294.js +2 -2
- package/dist/index295.js +2 -22
- package/dist/index296.js +4 -0
- package/dist/index297.js +2 -2
- package/dist/index298.js +2 -126
- package/dist/index299.js +1 -21
- package/dist/index300.js +24 -0
- package/dist/index302.js +87 -15
- package/dist/index303.js +191 -427
- package/dist/index304.js +422 -113
- package/dist/index305.js +127 -3
- package/dist/index306.js +1 -1
- package/dist/index307.js +3 -214
- package/dist/index308.js +214 -3
- package/dist/index309.js +5 -3
- package/dist/index31.js +2 -2
- package/dist/index310.js +67 -3
- package/dist/index311.js +2 -58
- package/dist/index312.js +5 -2
- package/dist/index313.js +8 -67
- package/dist/index314.js +3 -5
- package/dist/index315.js +3 -32
- package/dist/index316.js +3 -7
- package/dist/index317.js +3 -19
- package/dist/index318.js +57 -52
- package/dist/index319.js +32 -52
- package/dist/index320.js +53 -47
- package/dist/index321.js +53 -7
- package/dist/index322.js +46 -4
- package/dist/index323.js +6 -7
- package/dist/index324.js +7 -480
- package/dist/index325.js +18 -3
- package/dist/index326.js +1 -1
- package/dist/index327.js +482 -0
- package/dist/index329.js +420 -43
- package/dist/index33.js +7 -7
- package/dist/index330.js +47 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +85 -81
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +7 -7
- package/dist/index45.js +27 -27
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index75.js +22 -20
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +3 -3
- package/dist/index86.js +1 -1
- package/dist/index88.js +40 -38
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +4 -0
- package/package.json +2 -2
- package/dist/index213.js +0 -43
- package/dist/index233.js +0 -54
- package/dist/index265.js +0 -8
- package/dist/index271.js +0 -5
- package/dist/index301.js +0 -5
- package/dist/index328.js +0 -426
- /package/dist/{index288.js → index331.js} +0 -0
package/dist/index249.js
CHANGED
@@ -1,18 +1,62 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
l.value
|
14
|
-
|
15
|
-
|
1
|
+
import { defineComponent as g, ref as i, computed as d, onMounted as h, openBlock as u, createElementBlock as m, createElementVNode as y, Fragment as x, renderList as B, createBlock as C, normalizeClass as S, withCtx as T, createTextVNode as E, toDisplayString as w } from "vue";
|
2
|
+
import { range as H } from "./index323.js";
|
3
|
+
import M from "./index13.js";
|
4
|
+
/* empty css */
|
5
|
+
const n = 10, l = 3, V = /* @__PURE__ */ g({
|
6
|
+
__name: "BaseDatePickerYearSelector",
|
7
|
+
props: {
|
8
|
+
cursor: {},
|
9
|
+
disabled: { type: Boolean }
|
10
|
+
},
|
11
|
+
emits: ["update:year"],
|
12
|
+
setup(p, { emit: _ }) {
|
13
|
+
const f = p, b = _, o = i(), r = d(() => f.cursor.year()), c = i(r.value - n * l), s = i(r.value + n * l), v = d(
|
14
|
+
() => H(c.value, s.value).map((e) => ({
|
15
|
+
text: e,
|
16
|
+
key: e,
|
17
|
+
selected: e === r.value,
|
18
|
+
handler: () => b("update:year", e)
|
19
|
+
}))
|
20
|
+
), k = (e) => {
|
21
|
+
const t = e.target;
|
22
|
+
t.scrollTop <= 100 ? c.value = Math.max(
|
23
|
+
c.value - n * l,
|
24
|
+
r.value - 200
|
25
|
+
) : t.scrollHeight - t.scrollTop === t.clientHeight && (s.value = Math.min(s.value + n * l, 2101));
|
26
|
+
};
|
27
|
+
return h(() => {
|
28
|
+
if (!o.value) return;
|
29
|
+
const e = o.value.querySelector(
|
30
|
+
".content__btn--selected"
|
31
|
+
);
|
32
|
+
e && (e.parentElement.scrollTop = e.offsetTop - e.parentElement.clientHeight / 2 + 16);
|
33
|
+
}), (e, t) => (u(), m("div", {
|
34
|
+
ref_key: "container",
|
35
|
+
ref: o,
|
36
|
+
class: "bb-base-date-picker__button-menu bb-base-date-picker__year-selector scrollbar-border"
|
37
|
+
}, [
|
38
|
+
y("div", {
|
39
|
+
class: "content",
|
40
|
+
onScrollPassive: k
|
41
|
+
}, [
|
42
|
+
(u(!0), m(x, null, B(v.value, (a) => (u(), C(M, {
|
43
|
+
key: a.key,
|
44
|
+
class: S({
|
45
|
+
content__btn: !0,
|
46
|
+
"content__btn--selected": a.selected
|
47
|
+
}),
|
48
|
+
disabled: e.disabled,
|
49
|
+
onClick: a.handler
|
50
|
+
}, {
|
51
|
+
default: T(() => [
|
52
|
+
E(w(a.text), 1)
|
53
|
+
]),
|
54
|
+
_: 2
|
55
|
+
}, 1032, ["class", "disabled", "onClick"]))), 128))
|
56
|
+
], 32)
|
57
|
+
], 512));
|
58
|
+
}
|
59
|
+
});
|
16
60
|
export {
|
17
|
-
|
61
|
+
V as default
|
18
62
|
};
|
package/dist/index25.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as ne, ref as o, computed as u, getCurrentInstance as re, nextTick as N, useAttrs as ue, onMounted as de, onBeforeUnmount as G, watch as ce, openBlock as _, createBlock as ve, withCtx as fe, createElementVNode as a, mergeProps as P, createElementBlock as $, renderSlot as d, createTextVNode as be, toDisplayString as K, createCommentVNode as z } from "vue";
|
2
|
-
import { throttle as pe } from "./
|
3
|
-
import { useFocusTrap as me } from "./
|
2
|
+
import { throttle as pe } from "./index241.js";
|
3
|
+
import { useFocusTrap as me } from "./index227.js";
|
4
4
|
import { useId as U } from "./index8.js";
|
5
5
|
import { wait as H } from "./index130.js";
|
6
|
-
import { waitFor as ge } from "./
|
7
|
-
import { useModalsState as C } from "./
|
6
|
+
import { waitFor as ge } from "./index228.js";
|
7
|
+
import { useModalsState as C } from "./index242.js";
|
8
8
|
import { useLogger as ye } from "./index207.js";
|
9
9
|
import { useMobile as he } from "./index9.js";
|
10
|
-
import we from "./
|
10
|
+
import we from "./index229.js";
|
11
11
|
import { useLocale as ke } from "./index217.js";
|
12
12
|
const _e = { class: "bb-base-dialog-close" }, Ce = ["aria-label"], Se = /* @__PURE__ */ ne({
|
13
13
|
__name: "BaseDialog",
|
package/dist/index250.js
CHANGED
package/dist/index251.js
CHANGED
package/dist/index252.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
|
2
2
|
import { hash as d } from "./index208.js";
|
3
|
-
import { isNil as l } from "./
|
3
|
+
import { isNil as l } from "./index258.js";
|
4
4
|
import E from "./index125.js";
|
5
5
|
/* empty css */
|
6
6
|
const K = /* @__PURE__ */ y({
|
package/dist/index254.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as F, ref as H, computed as L, watch as N, openBlock as d, createElementBlock as v, Fragment as S, renderList as A, normalizeClass as O, withModifiers as P, toDisplayString as V } from "vue";
|
2
2
|
import { hash as f } from "./index208.js";
|
3
|
-
import { isNil as i } from "./
|
3
|
+
import { isNil as i } from "./index258.js";
|
4
4
|
const z = ["text", "onClick:clear"], j = /* @__PURE__ */ F({
|
5
5
|
__name: "CommaBox",
|
6
6
|
props: {
|
package/dist/index257.js
CHANGED
package/dist/index258.js
CHANGED
package/dist/index261.js
CHANGED
@@ -1,11 +1,30 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
function y(t, r) {
|
2
|
+
return t > r ? 1 : -1;
|
3
|
+
}
|
4
|
+
function c(t, r) {
|
5
|
+
var n = 5381;
|
6
|
+
if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
|
7
|
+
r || (r = /* @__PURE__ */ new WeakSet());
|
8
|
+
for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
|
9
|
+
var s = p[i], e = t[s];
|
10
|
+
if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
|
11
|
+
if (r.has(e)) continue;
|
12
|
+
r.add(e);
|
13
|
+
}
|
14
|
+
n = 33 * n ^ c(e, r);
|
15
|
+
}
|
16
|
+
return 33 * n ^ c(t.constructor, r);
|
6
17
|
}
|
7
|
-
|
8
|
-
|
18
|
+
var o = typeof t;
|
19
|
+
try {
|
20
|
+
t instanceof Date ? o += t.getTime() : o += String(t);
|
21
|
+
} catch {
|
22
|
+
o += String(Object.assign({}, t));
|
23
|
+
}
|
24
|
+
for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
|
25
|
+
return n;
|
26
|
+
}
|
9
27
|
export {
|
10
|
-
|
28
|
+
c as hash,
|
29
|
+
y as sortNumbers
|
11
30
|
};
|
package/dist/index262.js
CHANGED
@@ -1,25 +1,11 @@
|
|
1
|
-
const
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
`input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
|
10
|
-
`select${e.inert}${e.negTabIndex}${e.disabled}`,
|
11
|
-
`textarea${e.inert}${e.negTabIndex}${e.disabled}`,
|
12
|
-
`button${e.inert}${e.negTabIndex}${e.disabled}`,
|
13
|
-
`details${e.inert} > summary:first-of-type${e.negTabIndex}`,
|
14
|
-
// Discard until Firefox supports `:has()`
|
15
|
-
// See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
|
16
|
-
// `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
|
17
|
-
`iframe${e.inert}${e.negTabIndex}`,
|
18
|
-
`audio[controls]${e.inert}${e.negTabIndex}`,
|
19
|
-
`video[controls]${e.inert}${e.negTabIndex}`,
|
20
|
-
`[contenteditable]${e.inert}${e.negTabIndex}`,
|
21
|
-
`[tabindex]${e.inert}${e.negTabIndex}`
|
22
|
-
];
|
1
|
+
const o = (n, t) => {
|
2
|
+
for (let e = n.length - 1; e >= 0; e--) {
|
3
|
+
const i = n[e];
|
4
|
+
if (t(i, e, n))
|
5
|
+
return e;
|
6
|
+
}
|
7
|
+
return -1;
|
8
|
+
};
|
23
9
|
export {
|
24
|
-
|
10
|
+
o as findRightIndex
|
25
11
|
};
|
package/dist/index263.js
CHANGED
@@ -1,91 +1,25 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}
|
22
|
-
|
23
|
-
const e = d, m = y(e, "wrapper"), r = n(), l = n(), i = n(), { floatingStyles: g, placement: w, middlewareData: s } = D(
|
24
|
-
r,
|
25
|
-
l,
|
26
|
-
{
|
27
|
-
placement: e.placement,
|
28
|
-
whileElementsMounted: P,
|
29
|
-
middleware: [
|
30
|
-
F(),
|
31
|
-
S(e.offset),
|
32
|
-
M({ padding: e.padding }),
|
33
|
-
E({
|
34
|
-
element: i,
|
35
|
-
padding: e.arrowPadding
|
36
|
-
})
|
37
|
-
]
|
38
|
-
}
|
39
|
-
), _ = a(() => {
|
40
|
-
if (s.value.arrow) {
|
41
|
-
const { x: t, y: u } = s.value.arrow;
|
42
|
-
return {
|
43
|
-
style: {
|
44
|
-
left: `${t}px`,
|
45
|
-
top: `${u}px`
|
46
|
-
}
|
47
|
-
};
|
48
|
-
}
|
49
|
-
}), p = a(() => f({}, e.containerAttributes, {
|
50
|
-
class: {
|
51
|
-
"bb-floating": !0,
|
52
|
-
[`bb-floating--${w.value}`]: !0,
|
53
|
-
[`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
|
54
|
-
"bb-floating--hidden": !e.open,
|
55
|
-
"bb-floating--open": e.open
|
56
|
-
},
|
57
|
-
style: {
|
58
|
-
...g.value,
|
59
|
-
"--transition-duration": `${e.transitionDuration}ms`
|
60
|
-
},
|
61
|
-
tabindex: e.open ? void 0 : -1
|
62
|
-
})), v = a(() => f({}, e.bubbleAttributes, {}));
|
63
|
-
return $(
|
64
|
-
() => e.open,
|
65
|
-
(t) => {
|
66
|
-
t && (r.value = m.value);
|
67
|
-
}
|
68
|
-
), (t, u) => (b(), A(C, null, {
|
69
|
-
default: k(() => [
|
70
|
-
(b(), x("span", o(p.value, {
|
71
|
-
key: p.value.id,
|
72
|
-
ref_key: "content",
|
73
|
-
ref: l
|
74
|
-
}), [
|
75
|
-
c("span", o({
|
76
|
-
ref_key: "bubblearrow",
|
77
|
-
ref: i,
|
78
|
-
class: "bb-floating__arrow"
|
79
|
-
}, _.value), null, 16),
|
80
|
-
c("span", o({ class: "bb-floating__bubble" }, v.value), [
|
81
|
-
B(t.$slots, "default")
|
82
|
-
], 16)
|
83
|
-
], 16))
|
84
|
-
]),
|
85
|
-
_: 3
|
86
|
-
}));
|
87
|
-
}
|
88
|
-
});
|
1
|
+
const e = {
|
2
|
+
inert: ":not([inert]):not([inert] *)",
|
3
|
+
negTabIndex: ':not([tabindex^="-"])',
|
4
|
+
disabled: ":not(:disabled)"
|
5
|
+
}, n = [
|
6
|
+
`a[href]${e.inert}${e.negTabIndex}`,
|
7
|
+
`area[href]${e.inert}${e.negTabIndex}`,
|
8
|
+
`input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
|
9
|
+
`input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
|
10
|
+
`select${e.inert}${e.negTabIndex}${e.disabled}`,
|
11
|
+
`textarea${e.inert}${e.negTabIndex}${e.disabled}`,
|
12
|
+
`button${e.inert}${e.negTabIndex}${e.disabled}`,
|
13
|
+
`details${e.inert} > summary:first-of-type${e.negTabIndex}`,
|
14
|
+
// Discard until Firefox supports `:has()`
|
15
|
+
// See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
|
16
|
+
// `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
|
17
|
+
`iframe${e.inert}${e.negTabIndex}`,
|
18
|
+
`audio[controls]${e.inert}${e.negTabIndex}`,
|
19
|
+
`video[controls]${e.inert}${e.negTabIndex}`,
|
20
|
+
`[contenteditable]${e.inert}${e.negTabIndex}`,
|
21
|
+
`[tabindex]${e.inert}${e.negTabIndex}`
|
22
|
+
];
|
89
23
|
export {
|
90
|
-
|
24
|
+
n as default
|
91
25
|
};
|
package/dist/index264.js
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
import { defineComponent as h, toRef as y, ref as r, computed as a, watch as $, openBlock as b, createBlock as A, withCtx as k, createElementBlock as x, mergeProps as o, createElementVNode as c, renderSlot as B } from "vue";
|
2
|
+
import C from "./index229.js";
|
3
|
+
import f from "./index327.js";
|
4
|
+
import { useFloating as D, arrow as E } from "./index218.js";
|
5
|
+
import { autoUpdate as P, flip as F, offset as S, shift as T } from "./index231.js";
|
6
|
+
const W = /* @__PURE__ */ h({
|
7
|
+
__name: "CommonFloating",
|
8
|
+
props: {
|
9
|
+
arrowPadding: {},
|
10
|
+
eager: { type: Boolean },
|
11
|
+
offset: {},
|
12
|
+
padding: {},
|
13
|
+
placement: {},
|
14
|
+
theme: {},
|
15
|
+
transitionDuration: {},
|
16
|
+
containerAttributes: { default: () => ({}) },
|
17
|
+
bubbleAttributes: {},
|
18
|
+
wrapper: {},
|
19
|
+
baseClass: {},
|
20
|
+
open: { type: Boolean },
|
21
|
+
teleportTarget: {}
|
22
|
+
},
|
23
|
+
setup(d) {
|
24
|
+
const e = d, m = y(e, "wrapper"), n = r(), l = r(), i = r(), { floatingStyles: g, placement: w, middlewareData: s } = D(
|
25
|
+
n,
|
26
|
+
l,
|
27
|
+
{
|
28
|
+
placement: e.placement,
|
29
|
+
whileElementsMounted: P,
|
30
|
+
middleware: [
|
31
|
+
F(),
|
32
|
+
S(e.offset),
|
33
|
+
T({ padding: e.padding }),
|
34
|
+
E({
|
35
|
+
element: i,
|
36
|
+
padding: e.arrowPadding
|
37
|
+
})
|
38
|
+
]
|
39
|
+
}
|
40
|
+
), _ = a(() => {
|
41
|
+
if (s.value.arrow) {
|
42
|
+
const { x: t, y: u } = s.value.arrow;
|
43
|
+
return {
|
44
|
+
style: {
|
45
|
+
left: `${t}px`,
|
46
|
+
top: `${u}px`
|
47
|
+
}
|
48
|
+
};
|
49
|
+
}
|
50
|
+
}), p = a(() => f({}, e.containerAttributes, {
|
51
|
+
class: {
|
52
|
+
"bb-floating": !0,
|
53
|
+
[`bb-floating--${w.value}`]: !0,
|
54
|
+
[`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
|
55
|
+
"bb-floating--hidden": !e.open,
|
56
|
+
"bb-floating--open": e.open
|
57
|
+
},
|
58
|
+
style: {
|
59
|
+
...g.value,
|
60
|
+
"--transition-duration": `${e.transitionDuration}ms`
|
61
|
+
},
|
62
|
+
tabindex: e.open ? void 0 : -1
|
63
|
+
})), v = a(() => f({}, e.bubbleAttributes, {}));
|
64
|
+
return $(
|
65
|
+
() => e.open,
|
66
|
+
(t) => {
|
67
|
+
t && (n.value = m.value);
|
68
|
+
}
|
69
|
+
), (t, u) => (b(), A(C, { target: t.teleportTarget }, {
|
70
|
+
default: k(() => [
|
71
|
+
(b(), x("span", o(p.value, {
|
72
|
+
key: p.value.id,
|
73
|
+
ref_key: "content",
|
74
|
+
ref: l
|
75
|
+
}), [
|
76
|
+
c("span", o({
|
77
|
+
ref_key: "bubblearrow",
|
78
|
+
ref: i,
|
79
|
+
class: "bb-floating__arrow"
|
80
|
+
}, _.value), null, 16),
|
81
|
+
c("span", o({ class: "bb-floating__bubble" }, v.value), [
|
82
|
+
B(t.$slots, "default")
|
83
|
+
], 16)
|
84
|
+
], 16))
|
85
|
+
]),
|
86
|
+
_: 3
|
87
|
+
}, 8, ["target"]));
|
88
|
+
}
|
89
|
+
});
|
90
|
+
export {
|
91
|
+
W as default
|
92
|
+
};
|
package/dist/index266.js
CHANGED
@@ -1,18 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
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);
|
1
|
+
import e from "./index316.js";
|
2
|
+
import o from "./index317.js";
|
3
|
+
import r from "./index318.js";
|
4
|
+
const f = new r(o, e)._freeze();
|
16
5
|
export {
|
17
|
-
|
6
|
+
r as Mime,
|
7
|
+
f as default
|
18
8
|
};
|
package/dist/index267.js
CHANGED
@@ -1,11 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
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);
|
9
16
|
export {
|
10
|
-
|
17
|
+
e as findInTree
|
11
18
|
};
|
package/dist/index268.js
CHANGED
@@ -1,11 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
if (typeof f > "u") return n;
|
5
|
-
if (typeof f == "function") return f(n);
|
6
|
-
if (typeof f == "string") return o(n, f);
|
7
|
-
}
|
8
|
-
});
|
1
|
+
const e = function(t) {
|
2
|
+
return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
|
3
|
+
};
|
9
4
|
export {
|
10
|
-
e as
|
5
|
+
e as curry
|
11
6
|
};
|
package/dist/index269.js
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
function u(e, i) {
|
2
|
+
let t;
|
3
|
+
return function(...o) {
|
4
|
+
t !== void 0 && clearTimeout(t), t = setTimeout(() => {
|
5
|
+
e.apply(this, o);
|
6
|
+
}, i);
|
7
|
+
};
|
8
|
+
}
|
8
9
|
export {
|
9
|
-
u as
|
10
|
+
u as debounce
|
10
11
|
};
|
package/dist/index27.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as S, computed as n, openBlock as r, createElementBlock as c, normalizeClass as T, createBlock as w, resolveDynamicComponent as B, normalizeProps as o, guardReactiveProps as l, withCtx as b, renderSlot as E, createTextVNode as V, toDisplayString as p, createElementVNode as d, unref as m, createVNode as P, Fragment as D, renderList as I } from "vue";
|
2
|
-
import { deburr as N } from "./
|
2
|
+
import { deburr as N } from "./index240.js";
|
3
3
|
import { getAsPercentage as $ } from "./index131.js";
|
4
4
|
import { useId as F } from "./index8.js";
|
5
5
|
import R from "./index126.js";
|
package/dist/index270.js
CHANGED
@@ -1,30 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
}
|
4
|
-
function c(t, r) {
|
5
|
-
var n = 5381;
|
6
|
-
if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
|
7
|
-
r || (r = /* @__PURE__ */ new WeakSet());
|
8
|
-
for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
|
9
|
-
var s = p[i], e = t[s];
|
10
|
-
if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
|
11
|
-
if (r.has(e)) continue;
|
12
|
-
r.add(e);
|
13
|
-
}
|
14
|
-
n = 33 * n ^ c(e, r);
|
15
|
-
}
|
16
|
-
return 33 * n ^ c(t.constructor, r);
|
17
|
-
}
|
18
|
-
var o = typeof t;
|
19
|
-
try {
|
20
|
-
t instanceof Date ? o += t.getTime() : o += String(t);
|
21
|
-
} catch {
|
22
|
-
o += String(Object.assign({}, t));
|
23
|
-
}
|
24
|
-
for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
|
25
|
-
return n;
|
26
|
-
}
|
1
|
+
import o from "./index212.js";
|
2
|
+
/* empty css */
|
27
3
|
export {
|
28
|
-
|
29
|
-
y as sortNumbers
|
4
|
+
o as default
|
30
5
|
};
|