bitboss-ui 2.0.85 → 2.0.86
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/index110.js +4 -4
- package/dist/index118.js +1 -1
- package/dist/index120.js +5 -5
- package/dist/index126.js +7 -7
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.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 +2 -2
- package/dist/index204.js +81 -2
- package/dist/index205.js +5 -81
- package/dist/index206.js +14 -124
- package/dist/index207.js +16 -5
- package/dist/index208.js +17 -123
- package/dist/index209.js +18 -18
- package/dist/index21.js +14 -14
- package/dist/index210.js +24 -13
- package/dist/index211.js +3 -16
- package/dist/index212.js +2 -2
- package/dist/index213.js +8 -2
- package/dist/index214.js +248 -40
- package/dist/index215.js +50 -18
- package/dist/index216.js +43 -5
- package/dist/index217.js +4 -52
- package/dist/index218.js +62 -0
- package/dist/index219.js +52 -12
- package/dist/index221.js +13 -12
- package/dist/index222.js +17 -366
- package/dist/index223.js +4 -2
- package/dist/index224.js +2 -4
- package/dist/index225.js +164 -2
- package/dist/index226.js +84 -4
- package/dist/index228.js +2 -19
- package/dist/index229.js +4 -27
- package/dist/index23.js +16 -16
- package/dist/index230.js +2 -3
- package/dist/index231.js +3 -249
- package/dist/index232.js +41 -52
- package/dist/index233.js +5 -43
- package/dist/index234.js +7 -5
- package/dist/index235.js +10 -58
- package/dist/index236.js +126 -3
- package/dist/index237.js +125 -7
- package/dist/index238.js +2 -164
- package/dist/index239.js +5 -84
- package/dist/index240.js +371 -0
- package/dist/index241.js +1 -1
- package/dist/index244.js +1 -1
- package/dist/index246.js +1 -1
- package/dist/index25.js +6 -6
- package/dist/index251.js +281 -9
- package/dist/index252.js +6 -23
- package/dist/index253.js +2 -89
- package/dist/index254.js +4 -0
- package/dist/index255.js +2 -6
- package/dist/index256.js +2 -16
- package/dist/index257.js +2 -9
- package/dist/index258.js +2 -281
- package/dist/index259.js +2 -6
- package/dist/index260.js +2 -2
- package/dist/index261.js +2 -2
- package/dist/index262.js +2 -2
- package/dist/index263.js +28 -2
- package/dist/index264.js +22 -2
- package/dist/index266.js +5 -429
- package/dist/index267.js +6 -173
- package/dist/index268.js +23 -3
- package/dist/index269.js +91 -0
- package/dist/index271.js +5 -21
- package/dist/index272.js +18 -0
- package/dist/index273.js +3 -2
- package/dist/index275.js +167 -427
- package/dist/index276.js +7 -125
- package/dist/index277.js +3 -200
- package/dist/index278.js +12 -2
- package/dist/index279.js +9 -2
- package/dist/index280.js +9 -2
- package/dist/index281.js +17 -2
- package/dist/index282.js +4 -2
- package/dist/index283.js +4 -2
- package/dist/index284.js +427 -24
- package/dist/index285.js +1 -21
- package/dist/index286.js +91 -0
- package/dist/index287.js +2 -89
- package/dist/index288.js +126 -3
- package/dist/index289.js +22 -12
- package/dist/index29.js +3 -3
- package/dist/index291.js +199 -8
- package/dist/index292.js +224 -17
- package/dist/index293.js +435 -3
- package/dist/index294.js +121 -218
- package/dist/index297.js +2 -2
- package/dist/index301.js +5 -3
- package/dist/index302.js +8 -4
- package/dist/index303.js +3 -4
- package/dist/index304.js +3 -58
- package/dist/index305.js +4 -33
- package/dist/index306.js +4 -7
- package/dist/index307.js +57 -17
- package/dist/index308.js +6 -6
- package/dist/index309.js +18 -4
- package/dist/index31.js +2 -2
- package/dist/index310.js +32 -7
- package/dist/index311.js +6 -3
- package/dist/index312.js +10 -46
- package/dist/index313.js +46 -10
- package/dist/index315.js +1 -1
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +10 -10
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +4 -4
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index75.js +3 -3
- 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 +4 -4
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index220.js +0 -7
- package/dist/index227.js +0 -10
- package/dist/index265.js +0 -128
- package/dist/index270.js +0 -9
- package/dist/index274.js +0 -6
- package/dist/index290.js +0 -11
package/dist/index269.js
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
import { defineComponent as h, toRef as y, ref as n, 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 "./index235.js";
|
3
|
+
import f from "./index315.js";
|
4
|
+
import { useFloating as D, arrow as E } from "./index236.js";
|
5
|
+
import { autoUpdate as P, flip as F, offset as S, shift as M } from "./index240.js";
|
6
|
+
const j = /* @__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
|
+
},
|
22
|
+
setup(d) {
|
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
|
+
});
|
89
|
+
export {
|
90
|
+
j as default
|
91
|
+
};
|
package/dist/index271.js
CHANGED
@@ -1,24 +1,8 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
direction: { default: "right" },
|
6
|
-
duration: { default: 500 },
|
7
|
-
gap: { default: 0 }
|
8
|
-
},
|
9
|
-
setup(t) {
|
10
|
-
const a = t, n = i(() => `bb-slide-back-in-${a.direction}`);
|
11
|
-
return (e, c) => (r(), d(l, {
|
12
|
-
name: n.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
|
-
});
|
1
|
+
import e from "./index305.js";
|
2
|
+
import r from "./index306.js";
|
3
|
+
import o from "./index307.js";
|
4
|
+
const f = new o(r, e)._freeze();
|
22
5
|
export {
|
6
|
+
o as Mime,
|
23
7
|
f as default
|
24
8
|
};
|
package/dist/index272.js
ADDED
package/dist/index273.js
CHANGED