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.
Files changed (136) hide show
  1. package/dist/index110.js +4 -4
  2. package/dist/index118.js +1 -1
  3. package/dist/index120.js +5 -5
  4. package/dist/index126.js +7 -7
  5. package/dist/index127.js +1 -1
  6. package/dist/index128.js +1 -1
  7. package/dist/index13.js +1 -1
  8. package/dist/index130.js +1 -1
  9. package/dist/index132.js +2 -2
  10. package/dist/index133.js +2 -2
  11. package/dist/index15.js +4 -4
  12. package/dist/index17.js +3 -3
  13. package/dist/index19.js +2 -2
  14. package/dist/index204.js +81 -2
  15. package/dist/index205.js +5 -81
  16. package/dist/index206.js +14 -124
  17. package/dist/index207.js +16 -5
  18. package/dist/index208.js +17 -123
  19. package/dist/index209.js +18 -18
  20. package/dist/index21.js +14 -14
  21. package/dist/index210.js +24 -13
  22. package/dist/index211.js +3 -16
  23. package/dist/index212.js +2 -2
  24. package/dist/index213.js +8 -2
  25. package/dist/index214.js +248 -40
  26. package/dist/index215.js +50 -18
  27. package/dist/index216.js +43 -5
  28. package/dist/index217.js +4 -52
  29. package/dist/index218.js +62 -0
  30. package/dist/index219.js +52 -12
  31. package/dist/index221.js +13 -12
  32. package/dist/index222.js +17 -366
  33. package/dist/index223.js +4 -2
  34. package/dist/index224.js +2 -4
  35. package/dist/index225.js +164 -2
  36. package/dist/index226.js +84 -4
  37. package/dist/index228.js +2 -19
  38. package/dist/index229.js +4 -27
  39. package/dist/index23.js +16 -16
  40. package/dist/index230.js +2 -3
  41. package/dist/index231.js +3 -249
  42. package/dist/index232.js +41 -52
  43. package/dist/index233.js +5 -43
  44. package/dist/index234.js +7 -5
  45. package/dist/index235.js +10 -58
  46. package/dist/index236.js +126 -3
  47. package/dist/index237.js +125 -7
  48. package/dist/index238.js +2 -164
  49. package/dist/index239.js +5 -84
  50. package/dist/index240.js +371 -0
  51. package/dist/index241.js +1 -1
  52. package/dist/index244.js +1 -1
  53. package/dist/index246.js +1 -1
  54. package/dist/index25.js +6 -6
  55. package/dist/index251.js +281 -9
  56. package/dist/index252.js +6 -23
  57. package/dist/index253.js +2 -89
  58. package/dist/index254.js +4 -0
  59. package/dist/index255.js +2 -6
  60. package/dist/index256.js +2 -16
  61. package/dist/index257.js +2 -9
  62. package/dist/index258.js +2 -281
  63. package/dist/index259.js +2 -6
  64. package/dist/index260.js +2 -2
  65. package/dist/index261.js +2 -2
  66. package/dist/index262.js +2 -2
  67. package/dist/index263.js +28 -2
  68. package/dist/index264.js +22 -2
  69. package/dist/index266.js +5 -429
  70. package/dist/index267.js +6 -173
  71. package/dist/index268.js +23 -3
  72. package/dist/index269.js +91 -0
  73. package/dist/index271.js +5 -21
  74. package/dist/index272.js +18 -0
  75. package/dist/index273.js +3 -2
  76. package/dist/index275.js +167 -427
  77. package/dist/index276.js +7 -125
  78. package/dist/index277.js +3 -200
  79. package/dist/index278.js +12 -2
  80. package/dist/index279.js +9 -2
  81. package/dist/index280.js +9 -2
  82. package/dist/index281.js +17 -2
  83. package/dist/index282.js +4 -2
  84. package/dist/index283.js +4 -2
  85. package/dist/index284.js +427 -24
  86. package/dist/index285.js +1 -21
  87. package/dist/index286.js +91 -0
  88. package/dist/index287.js +2 -89
  89. package/dist/index288.js +126 -3
  90. package/dist/index289.js +22 -12
  91. package/dist/index29.js +3 -3
  92. package/dist/index291.js +199 -8
  93. package/dist/index292.js +224 -17
  94. package/dist/index293.js +435 -3
  95. package/dist/index294.js +121 -218
  96. package/dist/index297.js +2 -2
  97. package/dist/index301.js +5 -3
  98. package/dist/index302.js +8 -4
  99. package/dist/index303.js +3 -4
  100. package/dist/index304.js +3 -58
  101. package/dist/index305.js +4 -33
  102. package/dist/index306.js +4 -7
  103. package/dist/index307.js +57 -17
  104. package/dist/index308.js +6 -6
  105. package/dist/index309.js +18 -4
  106. package/dist/index31.js +2 -2
  107. package/dist/index310.js +32 -7
  108. package/dist/index311.js +6 -3
  109. package/dist/index312.js +10 -46
  110. package/dist/index313.js +46 -10
  111. package/dist/index315.js +1 -1
  112. package/dist/index33.js +2 -2
  113. package/dist/index35.js +3 -3
  114. package/dist/index37.js +10 -10
  115. package/dist/index39.js +3 -3
  116. package/dist/index41.js +2 -2
  117. package/dist/index43.js +2 -2
  118. package/dist/index45.js +4 -4
  119. package/dist/index47.js +2 -2
  120. package/dist/index49.js +2 -2
  121. package/dist/index55.js +1 -1
  122. package/dist/index57.js +1 -1
  123. package/dist/index75.js +3 -3
  124. package/dist/index79.js +2 -2
  125. package/dist/index81.js +1 -1
  126. package/dist/index84.js +3 -3
  127. package/dist/index86.js +1 -1
  128. package/dist/index88.js +4 -4
  129. package/dist/index90.js +1 -1
  130. package/package.json +1 -1
  131. package/dist/index220.js +0 -7
  132. package/dist/index227.js +0 -10
  133. package/dist/index265.js +0 -128
  134. package/dist/index270.js +0 -9
  135. package/dist/index274.js +0 -6
  136. package/dist/index290.js +0 -11
@@ -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 { defineComponent as o, 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__ */ o({
3
- __name: "SlideBack",
4
- props: {
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
  };
@@ -0,0 +1,18 @@
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);
16
+ export {
17
+ e as findInTree
18
+ };
package/dist/index273.js CHANGED
@@ -1,4 +1,5 @@
1
- import f from "./index221.js";
1
+ import o from "./index219.js";
2
+ /* empty css */
2
3
  export {
3
- f as default
4
+ o as default
4
5
  };