bitboss-ui 2.0.132 → 2.0.133
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/index100.js +9 -9
- package/dist/index111.js +10 -10
- package/dist/index119.js +2 -2
- package/dist/index121.js +6 -6
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +8 -8
- package/dist/index19.js +8 -8
- package/dist/index207.js +6 -63
- package/dist/index208.js +5 -0
- package/dist/index209.js +5 -13
- package/dist/index21.js +16 -16
- package/dist/index210.js +117 -273
- package/dist/index211.js +13 -122
- package/dist/index212.js +10 -10
- package/dist/index213.js +18 -15
- package/dist/index214.js +13 -17
- package/dist/index215.js +2 -15
- package/dist/index216.js +2 -2
- package/dist/index217.js +41 -2
- package/dist/index218.js +13 -41
- package/dist/index219.js +20 -13
- package/dist/index220.js +6 -20
- package/dist/index221.js +93 -5
- package/dist/index223.js +67 -0
- package/dist/index225.js +13 -86
- package/dist/index227.js +3 -29
- package/dist/index228.js +4 -17
- package/dist/index229.js +198 -49
- package/dist/index23.js +16 -16
- package/dist/index231.js +19 -3
- package/dist/index232.js +27 -12
- package/dist/index233.js +250 -16
- package/dist/index234.js +52 -3
- package/dist/index235.js +44 -7
- package/dist/index236.js +5 -8
- package/dist/index237.js +56 -11
- package/dist/index239.js +1 -1
- package/dist/index241.js +86 -3
- package/dist/index243.js +26 -197
- package/dist/index244.js +19 -0
- package/dist/index245.js +50 -18
- package/dist/index246.js +15 -27
- package/dist/index247.js +12 -250
- package/dist/index248.js +16 -52
- package/dist/index249.js +3 -44
- package/dist/index25.js +7 -7
- package/dist/index250.js +7 -5
- package/dist/index251.js +11 -56
- package/dist/index252.js +18 -2
- package/dist/index253.js +126 -2
- package/dist/index254.js +105 -17
- package/dist/index256.js +47 -53
- package/dist/index258.js +12 -100
- package/dist/index259.js +230 -0
- package/dist/index260.js +368 -11
- package/dist/index261.js +2 -228
- package/dist/index262.js +2 -369
- package/dist/index265.js +9 -3
- package/dist/index266.js +25 -0
- package/dist/index267.js +6 -7
- package/dist/index268.js +16 -6
- package/dist/index269.js +28 -2
- package/dist/index27.js +1 -1
- package/dist/index270.js +224 -2
- package/dist/index271.js +281 -2
- package/dist/index272.js +6 -2
- package/dist/index273.js +2 -2
- package/dist/index274.js +2 -2
- package/dist/index275.js +2 -431
- package/dist/index276.js +2 -176
- package/dist/index277.js +2 -3
- package/dist/index278.js +2 -7
- package/dist/index279.js +430 -10
- package/dist/index280.js +176 -3
- package/dist/index281.js +3 -17
- package/dist/index282.js +3 -9
- package/dist/index284.js +6 -199
- package/dist/index285.js +7 -2
- package/dist/index286.js +10 -88
- package/dist/index287.js +3 -4
- package/dist/index288.js +4 -224
- package/dist/index289.js +2 -3
- package/dist/index29.js +2 -2
- package/dist/index291.js +2 -2
- package/dist/index292.js +1 -1
- package/dist/index293.js +1 -1
- package/dist/index294.js +1 -1
- package/dist/index295.js +21 -1
- package/dist/index297.js +202 -0
- package/dist/index298.js +3 -9
- package/dist/index299.js +17 -23
- package/dist/index300.js +9 -6
- package/dist/index301.js +9 -16
- package/dist/index302.js +8 -9
- package/dist/index303.js +2 -8
- package/dist/index304.js +82 -119
- package/dist/index305.js +126 -3
- package/dist/index306.js +1 -1
- package/dist/index307.js +3 -2
- package/dist/index308.js +2 -436
- package/dist/index309.js +422 -113
- package/dist/index310.js +127 -2
- package/dist/index311.js +2 -5
- package/dist/index312.js +5 -5
- package/dist/index313.js +67 -8
- package/dist/index314.js +3 -67
- package/dist/index315.js +3 -480
- package/dist/index316.js +57 -32
- package/dist/index317.js +480 -26
- package/dist/index318.js +5 -57
- package/dist/index319.js +8 -57
- package/dist/index320.js +57 -4
- package/dist/index321.js +57 -3
- package/dist/index322.js +8 -3
- package/dist/index323.js +5 -57
- package/dist/index324.js +8 -8
- package/dist/index325.js +32 -5
- package/dist/index326.js +25 -7
- package/dist/index33.js +8 -8
- package/dist/index330.js +3 -46
- package/dist/index331.js +47 -2
- package/dist/index332.js +4 -0
- package/dist/index335.js +2 -424
- package/dist/index336.js +420 -43
- package/dist/index337.js +49 -0
- package/dist/index35.js +2 -2
- package/dist/index37.js +21 -21
- package/dist/index39.js +3 -3
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +1 -1
- package/dist/index75.js +3 -3
- package/dist/index77.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +2 -2
- package/dist/index88.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index222.js +0 -96
- package/dist/index230.js +0 -17
- package/dist/index242.js +0 -6
- package/dist/index255.js +0 -128
- package/dist/index283.js +0 -30
- package/dist/index296.js +0 -24
- package/dist/index334.js +0 -4
- /package/dist/{index224.js → index226.js} +0 -0
package/dist/index222.js
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
import { defineComponent as h, toRef as y, ref as o, computed as n, watch as x, openBlock as b, createBlock as $, withCtx as A, createElementBlock as k, mergeProps as l, createElementVNode as f, renderSlot as B } from "vue";
|
2
|
-
import C from "./index237.js";
|
3
|
-
import c from "./index315.js";
|
4
|
-
import { useFloating as D, arrow as E } from "./index255.js";
|
5
|
-
import { autoUpdate as P, flip as F, offset as M, shift as S } from "./index262.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: { default: "default" },
|
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"), i = o(), s = o(), p = o(), { floatingStyles: g, placement: w, middlewareData: a } = D(
|
25
|
-
i,
|
26
|
-
s,
|
27
|
-
{
|
28
|
-
placement: e.placement,
|
29
|
-
whileElementsMounted: P,
|
30
|
-
middleware: [
|
31
|
-
F(),
|
32
|
-
M(e.offset),
|
33
|
-
S({ padding: e.padding }),
|
34
|
-
E({
|
35
|
-
element: p,
|
36
|
-
padding: e.arrowPadding
|
37
|
-
})
|
38
|
-
]
|
39
|
-
}
|
40
|
-
), _ = n(() => {
|
41
|
-
if (a.value.arrow) {
|
42
|
-
const { x: t, y: r } = a.value.arrow;
|
43
|
-
return {
|
44
|
-
style: {
|
45
|
-
left: `${t}px`,
|
46
|
-
top: `${r}px`
|
47
|
-
}
|
48
|
-
};
|
49
|
-
}
|
50
|
-
}), u = n(() => {
|
51
|
-
var t, r;
|
52
|
-
return c({}, e.containerAttributes, {
|
53
|
-
class: {
|
54
|
-
"bb-floating": !0,
|
55
|
-
[`bb-floating--${w.value}`]: !0,
|
56
|
-
[`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
|
57
|
-
"bb-floating--hidden": !e.open,
|
58
|
-
"bb-floating--open": e.open
|
59
|
-
},
|
60
|
-
style: {
|
61
|
-
...g.value,
|
62
|
-
"--transition-duration": `${e.transitionDuration}ms`,
|
63
|
-
"--arrow-offset-x": Math.round(((r = (t = a.value) == null ? void 0 : t.arrow) == null ? void 0 : r.x) ?? 0) + "px"
|
64
|
-
},
|
65
|
-
tabindex: e.open ? void 0 : -1
|
66
|
-
});
|
67
|
-
}), v = n(() => c({}, e.bubbleAttributes, {}));
|
68
|
-
return x(
|
69
|
-
() => e.open,
|
70
|
-
(t) => {
|
71
|
-
t && (i.value = m.value);
|
72
|
-
}
|
73
|
-
), (t, r) => (b(), $(C, { target: t.teleportTarget }, {
|
74
|
-
default: A(() => [
|
75
|
-
(b(), k("span", l(u.value, {
|
76
|
-
key: u.value.id,
|
77
|
-
ref_key: "content",
|
78
|
-
ref: s
|
79
|
-
}), [
|
80
|
-
f("span", l({
|
81
|
-
ref_key: "bubblearrow",
|
82
|
-
ref: p,
|
83
|
-
class: "bb-floating__arrow"
|
84
|
-
}, _.value), null, 16),
|
85
|
-
f("span", l({ class: "bb-floating__bubble" }, v.value), [
|
86
|
-
B(t.$slots, "default")
|
87
|
-
], 16)
|
88
|
-
], 16))
|
89
|
-
]),
|
90
|
-
_: 3
|
91
|
-
}, 8, ["target"]));
|
92
|
-
}
|
93
|
-
});
|
94
|
-
export {
|
95
|
-
W as default
|
96
|
-
};
|
package/dist/index230.js
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import { isNil as f } from "./index253.js";
|
2
|
-
import { computed as t, unref as o } from "vue";
|
3
|
-
const a = ({ modelValue: e, iteratee: h, multiple: u }) => {
|
4
|
-
const i = t(
|
5
|
-
() => new Array().concat(o(e))
|
6
|
-
), s = t(() => i.value.reduce(
|
7
|
-
(r, n) => (h(n) ? r.coherent.push(n) : r.incoherent.push(n), r),
|
8
|
-
{ coherent: [], incoherent: [] }
|
9
|
-
)), c = t(() => u && !o(e).length || !u && f(o(e)) ? !0 : !s.value.incoherent.length);
|
10
|
-
return {
|
11
|
-
status: s,
|
12
|
-
coherent: c
|
13
|
-
};
|
14
|
-
};
|
15
|
-
export {
|
16
|
-
a as useCoherence
|
17
|
-
};
|
package/dist/index242.js
DELETED
package/dist/index255.js
DELETED
@@ -1,128 +0,0 @@
|
|
1
|
-
import { arrow as j, computePosition as A } from "./index262.js";
|
2
|
-
import { autoUpdate as W, flip as X, hide as Y, offset as Z, platform as ee, shift as ne } from "./index262.js";
|
3
|
-
import { isNode as B, getNodeName as F } from "./index304.js";
|
4
|
-
import { getOverflowAncestors as le } from "./index304.js";
|
5
|
-
import { computed as a, ref as f, shallowRef as I, watch as h, getCurrentScope as U, onScopeDispose as k, shallowReadonly as r, unref as q } from "vue";
|
6
|
-
function z(e) {
|
7
|
-
return e != null && typeof e == "object" && "$el" in e;
|
8
|
-
}
|
9
|
-
function g(e) {
|
10
|
-
if (z(e)) {
|
11
|
-
const l = e.$el;
|
12
|
-
return B(l) && F(l) === "#comment" ? null : l;
|
13
|
-
}
|
14
|
-
return e;
|
15
|
-
}
|
16
|
-
function o(e) {
|
17
|
-
return typeof e == "function" ? e() : q(e);
|
18
|
-
}
|
19
|
-
function K(e) {
|
20
|
-
return {
|
21
|
-
name: "arrow",
|
22
|
-
options: e,
|
23
|
-
fn(l) {
|
24
|
-
const t = g(o(e.element));
|
25
|
-
return t == null ? {} : j({
|
26
|
-
element: t,
|
27
|
-
padding: e.padding
|
28
|
-
}).fn(l);
|
29
|
-
}
|
30
|
-
};
|
31
|
-
}
|
32
|
-
function M(e) {
|
33
|
-
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
34
|
-
}
|
35
|
-
function C(e, l) {
|
36
|
-
const t = M(e);
|
37
|
-
return Math.round(l * t) / t;
|
38
|
-
}
|
39
|
-
function L(e, l, t) {
|
40
|
-
t === void 0 && (t = {});
|
41
|
-
const x = t.whileElementsMounted, V = a(() => {
|
42
|
-
var n;
|
43
|
-
return (n = o(t.open)) != null ? n : !0;
|
44
|
-
}), D = a(() => o(t.middleware)), d = a(() => {
|
45
|
-
var n;
|
46
|
-
return (n = o(t.placement)) != null ? n : "bottom";
|
47
|
-
}), v = a(() => {
|
48
|
-
var n;
|
49
|
-
return (n = o(t.strategy)) != null ? n : "absolute";
|
50
|
-
}), S = a(() => {
|
51
|
-
var n;
|
52
|
-
return (n = o(t.transform)) != null ? n : !0;
|
53
|
-
}), i = a(() => g(e.value)), u = a(() => g(l.value)), p = f(0), w = f(0), c = f(v.value), O = f(d.value), P = I({}), y = f(!1), _ = a(() => {
|
54
|
-
const n = {
|
55
|
-
position: c.value,
|
56
|
-
left: "0",
|
57
|
-
top: "0"
|
58
|
-
};
|
59
|
-
if (!u.value)
|
60
|
-
return n;
|
61
|
-
const R = C(u.value, p.value), b = C(u.value, w.value);
|
62
|
-
return S.value ? {
|
63
|
-
...n,
|
64
|
-
transform: "translate(" + R + "px, " + b + "px)",
|
65
|
-
...M(u.value) >= 1.5 && {
|
66
|
-
willChange: "transform"
|
67
|
-
}
|
68
|
-
} : {
|
69
|
-
position: c.value,
|
70
|
-
left: R + "px",
|
71
|
-
top: b + "px"
|
72
|
-
};
|
73
|
-
});
|
74
|
-
let s;
|
75
|
-
function m() {
|
76
|
-
i.value == null || u.value == null || A(i.value, u.value, {
|
77
|
-
middleware: D.value,
|
78
|
-
placement: d.value,
|
79
|
-
strategy: v.value
|
80
|
-
}).then((n) => {
|
81
|
-
p.value = n.x, w.value = n.y, c.value = n.strategy, O.value = n.placement, P.value = n.middlewareData, y.value = !0;
|
82
|
-
});
|
83
|
-
}
|
84
|
-
function E() {
|
85
|
-
typeof s == "function" && (s(), s = void 0);
|
86
|
-
}
|
87
|
-
function N() {
|
88
|
-
if (E(), x === void 0) {
|
89
|
-
m();
|
90
|
-
return;
|
91
|
-
}
|
92
|
-
if (i.value != null && u.value != null) {
|
93
|
-
s = x(i.value, u.value, m);
|
94
|
-
return;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
function $() {
|
98
|
-
V.value || (y.value = !1);
|
99
|
-
}
|
100
|
-
return h([D, d, v], m, {
|
101
|
-
flush: "sync"
|
102
|
-
}), h([i, u], N, {
|
103
|
-
flush: "sync"
|
104
|
-
}), h(V, $, {
|
105
|
-
flush: "sync"
|
106
|
-
}), U() && k(E), {
|
107
|
-
x: r(p),
|
108
|
-
y: r(w),
|
109
|
-
strategy: r(c),
|
110
|
-
placement: r(O),
|
111
|
-
middlewareData: r(P),
|
112
|
-
isPositioned: r(y),
|
113
|
-
floatingStyles: _,
|
114
|
-
update: m
|
115
|
-
};
|
116
|
-
}
|
117
|
-
export {
|
118
|
-
K as arrow,
|
119
|
-
W as autoUpdate,
|
120
|
-
A as computePosition,
|
121
|
-
X as flip,
|
122
|
-
le as getOverflowAncestors,
|
123
|
-
Y as hide,
|
124
|
-
Z as offset,
|
125
|
-
ee as platform,
|
126
|
-
ne as shift,
|
127
|
-
L as useFloating
|
128
|
-
};
|
package/dist/index283.js
DELETED
@@ -1,30 +0,0 @@
|
|
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);
|
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
|
-
}
|
27
|
-
export {
|
28
|
-
c as hash,
|
29
|
-
y as sortNumbers
|
30
|
-
};
|
package/dist/index296.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
import { defineComponent as a, computed as i, openBlock as r, createBlock as d, Transition as l, normalizeStyle as s, withCtx as u, renderSlot as p } from "vue";
|
2
|
-
const f = /* @__PURE__ */ a({
|
3
|
-
__name: "Slide",
|
4
|
-
props: {
|
5
|
-
direction: { default: "right" },
|
6
|
-
duration: { default: 500 },
|
7
|
-
gap: { default: 0 }
|
8
|
-
},
|
9
|
-
setup(t) {
|
10
|
-
const n = t, o = i(() => `bb-slide-in-${n.direction}`);
|
11
|
-
return (e, m) => (r(), d(l, {
|
12
|
-
name: o.value,
|
13
|
-
style: s({ "--transition-duration": `${e.duration}ms`, "--gap": `${e.gap}px` })
|
14
|
-
}, {
|
15
|
-
default: u(() => [
|
16
|
-
p(e.$slots, "default", {}, void 0, !0)
|
17
|
-
]),
|
18
|
-
_: 3
|
19
|
-
}, 8, ["name", "style"]));
|
20
|
-
}
|
21
|
-
});
|
22
|
-
export {
|
23
|
-
f as default
|
24
|
-
};
|
package/dist/index334.js
DELETED
File without changes
|