bitboss-ui 2.0.116 → 2.0.118

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 (200) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +4 -0
  2. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +32 -6
  3. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -0
  4. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +33 -357
  5. package/dist/components/BaseTag/BaseTag.vue.d.ts +17 -3
  6. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +4 -0
  7. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +4 -0
  8. package/dist/components/BbButton/BbButton.vue.d.ts +4 -4
  9. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +4 -0
  10. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
  11. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +76 -89
  12. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +75 -89
  13. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +5 -0
  14. package/dist/components/BbRows/BbRows.vue.d.ts +70 -85
  15. package/dist/components/BbSelect/BbSelect.vue.d.ts +5 -10
  16. package/dist/components/BbTable/BbTable.vue.d.ts +63 -91
  17. package/dist/components/BbTable/types.d.ts +46 -27
  18. package/dist/components/BbTag/BbTag.vue.d.ts +4 -0
  19. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +4 -0
  20. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +4 -0
  21. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +0 -1
  22. package/dist/components/ClearableButton.vue.d.ts +2 -0
  23. package/dist/components/CommonInputInnerContainer.vue.d.ts +9 -1
  24. package/dist/components/ListBox.vue.d.ts +40 -44
  25. package/dist/index100.js +91 -82
  26. package/dist/index101.js +35 -42
  27. package/dist/index111.js +235 -211
  28. package/dist/index113.js +6 -4
  29. package/dist/index115.js +17 -15
  30. package/dist/index117.js +14 -12
  31. package/dist/index119.js +2 -2
  32. package/dist/index121.js +59 -61
  33. package/dist/index123.js +1 -1
  34. package/dist/index125.js +1 -1
  35. package/dist/index127.js +1 -1
  36. package/dist/index128.js +1 -1
  37. package/dist/index129.js +1 -1
  38. package/dist/index13.js +2 -2
  39. package/dist/index132.js +2 -2
  40. package/dist/index133.js +2 -2
  41. package/dist/index15.js +38 -33
  42. package/dist/index17.js +3 -3
  43. package/dist/index19.js +8 -8
  44. package/dist/index206.js +126 -3
  45. package/dist/index207.js +5 -53
  46. package/dist/index208.js +127 -0
  47. package/dist/index209.js +16 -13
  48. package/dist/index21.js +16 -16
  49. package/dist/index210.js +16 -2
  50. package/dist/index211.js +19 -4
  51. package/dist/index212.js +15 -2
  52. package/dist/index213.js +2 -86
  53. package/dist/index214.js +4 -0
  54. package/dist/index215.js +40 -24
  55. package/dist/index216.js +13 -17
  56. package/dist/index217.js +18 -49
  57. package/dist/index218.js +6 -15
  58. package/dist/index219.js +15 -3
  59. package/dist/index220.js +65 -12
  60. package/dist/index222.js +13 -126
  61. package/dist/index223.js +5 -5
  62. package/dist/index224.js +2 -125
  63. package/dist/index225.js +367 -14
  64. package/dist/index226.js +3 -16
  65. package/dist/index227.js +7 -19
  66. package/dist/index228.js +8 -15
  67. package/dist/index229.js +19 -2
  68. package/dist/index23.js +116 -111
  69. package/dist/index230.js +27 -2
  70. package/dist/index231.js +3 -41
  71. package/dist/index232.js +249 -12
  72. package/dist/index233.js +50 -18
  73. package/dist/index234.js +43 -5
  74. package/dist/index235.js +5 -15
  75. package/dist/index236.js +60 -5
  76. package/dist/index237.js +3 -369
  77. package/dist/index238.js +115 -19
  78. package/dist/index239.js +4 -27
  79. package/dist/index240.js +2 -8
  80. package/dist/index241.js +4 -250
  81. package/dist/index242.js +2 -52
  82. package/dist/index243.js +80 -38
  83. package/dist/index245.js +25 -60
  84. package/dist/index246.js +17 -3
  85. package/dist/index247.js +51 -7
  86. package/dist/index248.js +15 -4
  87. package/dist/index249.js +10 -113
  88. package/dist/index25.js +7 -7
  89. package/dist/index250.js +16 -2
  90. package/dist/index251.js +2 -2
  91. package/dist/index252.js +2 -2
  92. package/dist/index253.js +1 -1
  93. package/dist/index254.js +2 -2
  94. package/dist/index256.js +2 -2
  95. package/dist/index259.js +214 -10
  96. package/dist/index260.js +9 -2
  97. package/dist/index261.js +2 -8
  98. package/dist/index262.js +9 -23
  99. package/dist/index263.js +23 -90
  100. package/dist/index264.js +92 -0
  101. package/dist/index266.js +6 -16
  102. package/dist/index267.js +16 -224
  103. package/dist/index268.js +9 -3
  104. package/dist/index269.js +11 -0
  105. package/dist/index27.js +1 -1
  106. package/dist/index270.js +8 -7
  107. package/dist/index271.js +281 -4
  108. package/dist/index272.js +6 -3
  109. package/dist/index273.js +2 -17
  110. package/dist/index274.js +2 -9
  111. package/dist/index275.js +2 -28
  112. package/dist/index276.js +2 -281
  113. package/dist/index277.js +2 -6
  114. package/dist/index278.js +2 -2
  115. package/dist/index279.js +126 -2
  116. package/dist/index280.js +431 -2
  117. package/dist/index281.js +176 -2
  118. package/dist/index282.js +2 -2
  119. package/dist/index283.js +3 -2
  120. package/dist/index285.js +5 -429
  121. package/dist/index286.js +22 -176
  122. package/dist/index288.js +7 -22
  123. package/dist/index289.js +13 -0
  124. package/dist/index29.js +48 -40
  125. package/dist/index290.js +88 -6
  126. package/dist/index291.js +200 -11
  127. package/dist/index292.js +436 -2
  128. package/dist/index293.js +127 -2
  129. package/dist/index294.js +224 -2
  130. package/dist/index295.js +2 -2
  131. package/dist/index296.js +2 -2
  132. package/dist/index297.js +1 -1
  133. package/dist/index298.js +1 -21
  134. package/dist/index299.js +4 -0
  135. package/dist/index300.js +2 -9
  136. package/dist/index301.js +25 -197
  137. package/dist/index302.js +21 -435
  138. package/dist/index304.js +3 -88
  139. package/dist/index305.js +3 -8
  140. package/dist/index306.js +17 -3
  141. package/dist/index307.js +1 -1
  142. package/dist/index308.js +3 -214
  143. package/dist/index309.js +2 -2
  144. package/dist/index31.js +2 -2
  145. package/dist/index310.js +2 -3
  146. package/dist/index311.js +5 -67
  147. package/dist/index312.js +67 -5
  148. package/dist/index313.js +3 -3
  149. package/dist/index314.js +5 -3
  150. package/dist/index315.js +7 -57
  151. package/dist/index316.js +2 -32
  152. package/dist/index317.js +3 -5
  153. package/dist/index318.js +57 -7
  154. package/dist/index320.js +32 -6
  155. package/dist/index321.js +25 -18
  156. package/dist/index322.js +7 -53
  157. package/dist/index323.js +7 -53
  158. package/dist/index324.js +17 -5
  159. package/dist/index325.js +53 -47
  160. package/dist/index326.js +53 -2
  161. package/dist/index327.js +47 -480
  162. package/dist/index328.js +482 -0
  163. package/dist/index329.js +2 -424
  164. package/dist/index33.js +8 -8
  165. package/dist/index332.js +426 -0
  166. package/dist/index35.js +4 -4
  167. package/dist/index37.js +172 -161
  168. package/dist/index39.js +4 -4
  169. package/dist/index41.js +2 -2
  170. package/dist/index43.js +8 -8
  171. package/dist/index45.js +92 -85
  172. package/dist/index47.js +40 -36
  173. package/dist/index49.js +39 -35
  174. package/dist/index53.js +1 -1
  175. package/dist/index55.js +1 -1
  176. package/dist/index57.js +2 -2
  177. package/dist/index61.js +11 -10
  178. package/dist/index67.js +14 -12
  179. package/dist/index71.js +5 -3
  180. package/dist/index75.js +37 -35
  181. package/dist/index77.js +54 -50
  182. package/dist/index79.js +2 -2
  183. package/dist/index81.js +1 -1
  184. package/dist/index82.js +11 -9
  185. package/dist/index84.js +4 -4
  186. package/dist/index86.js +2 -2
  187. package/dist/index88.js +5 -5
  188. package/dist/style.css +1 -1
  189. package/dist/types/ColumnName.d.ts +4 -0
  190. package/dist/types/Option.d.ts +2 -2
  191. package/dist/types/PrefixWith.d.ts +1 -0
  192. package/package.json +2 -2
  193. package/dist/index221.js +0 -18
  194. package/dist/index244.js +0 -7
  195. package/dist/index265.js +0 -8
  196. package/dist/index284.js +0 -128
  197. package/dist/index287.js +0 -4
  198. package/dist/index303.js +0 -129
  199. /package/dist/{index330.js → index333.js} +0 -0
  200. /package/dist/{index331.js → index334.js} +0 -0
package/dist/index113.js CHANGED
@@ -10,6 +10,7 @@ const I = /* @__PURE__ */ f({
10
10
  autocomplete: {},
11
11
  autofocus: {},
12
12
  comma: { type: Boolean },
13
+ clearable: { type: Boolean },
13
14
  compact: { type: Boolean },
14
15
  direction: {},
15
16
  disabled: { type: Boolean },
@@ -70,18 +71,19 @@ const I = /* @__PURE__ */ f({
70
71
  label: l((s) => [
71
72
  r(e.$slots, "label", n(i(s)))
72
73
  ]),
73
- input: l(({ id: s, hasErrors: h, ariaDescribedby: b }) => [
74
+ input: l(({ id: s, hasErrors: b, ariaDescribedby: h }) => [
74
75
  k(V, $({
75
76
  id: s,
76
77
  "append:icon": p["append:icon"],
77
- "aria-describedby": b,
78
+ "aria-describedby": h,
78
79
  autocomplete: e.autocomplete,
79
80
  autofocus: e.autofocus,
81
+ clearable: e.clearable,
80
82
  comma: e.comma,
81
83
  compact: e.compact,
82
84
  disabled: e.disabled,
83
85
  divider: e.divider,
84
- "has-errors": h,
86
+ "has-errors": b,
85
87
  loading: e.loading,
86
88
  max: e.max,
87
89
  "model-value": e.modelValue,
@@ -111,7 +113,7 @@ const I = /* @__PURE__ */ f({
111
113
  r(e.$slots, "append-outer", n(i(o)))
112
114
  ]),
113
115
  _: 2
114
- }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
116
+ }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "comma", "compact", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
115
117
  ]),
116
118
  _: 3
117
119
  }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
package/dist/index115.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as y, computed as w, openBlock as v, createBlock as B, withCtx as a, renderSlot as r, normalizeProps as p, guardReactiveProps as d, createVNode as g, mergeProps as $ } from "vue";
1
+ import { defineComponent as f, ref as y, computed as w, openBlock as v, createBlock as B, withCtx as a, renderSlot as r, normalizeProps as i, guardReactiveProps as d, createVNode as g, mergeProps as $ } from "vue";
2
2
  import k from "./index27.js";
3
3
  /* empty css */
4
4
  import V from "./index47.js";
@@ -10,6 +10,7 @@ const G = /* @__PURE__ */ f({
10
10
  autocomplete: {},
11
11
  autofocus: {},
12
12
  autoGrow: { type: Boolean },
13
+ clearable: { type: Boolean },
13
14
  compact: { type: Boolean },
14
15
  direction: {},
15
16
  disabled: { type: Boolean },
@@ -33,14 +34,14 @@ const G = /* @__PURE__ */ f({
33
34
  },
34
35
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
35
36
  setup(t, { emit: u }) {
36
- const n = t, o = u, l = y(!1), m = w(() => n.persistentHint || l.value), c = {
37
+ const l = t, o = u, n = y(!1), m = w(() => l.persistentHint || n.value), c = {
37
38
  onBlur: (e) => {
38
- l.value = !1, o("blur", e);
39
+ n.value = !1, o("blur", e);
39
40
  },
40
41
  onChange: (e) => o("change", e),
41
42
  onClick: (e) => o("click", e),
42
43
  onFocus: (e) => {
43
- l.value = !0, o("focus", e);
44
+ n.value = !0, o("focus", e);
44
45
  },
45
46
  onInput: (e) => o("input", e),
46
47
  onKeydown: (e) => o("keydown", e),
@@ -65,23 +66,24 @@ const G = /* @__PURE__ */ f({
65
66
  "show-hint": m.value
66
67
  }, {
67
68
  label: a((s) => [
68
- r(e.$slots, "label", p(d(s)))
69
+ r(e.$slots, "label", i(d(s)))
69
70
  ]),
70
- input: a(({ id: s, hasErrors: h, ariaDescribedby: b }) => [
71
+ input: a(({ id: s, hasErrors: b, ariaDescribedby: h }) => [
71
72
  g(V, $({
72
73
  id: s,
73
- "append:icon": n["append:icon"],
74
- "aria-describedby": b,
74
+ "append:icon": l["append:icon"],
75
+ "aria-describedby": h,
75
76
  "auto-grow": e.autoGrow,
76
77
  autofocus: e.autofocus,
78
+ clearable: e.clearable,
77
79
  compact: e.compact,
78
80
  disabled: e.disabled,
79
- "has-errors": h,
81
+ "has-errors": b,
80
82
  loading: e.loading,
81
83
  "model-value": e.modelValue,
82
84
  name: e.name,
83
85
  placeholder: e.placeholder,
84
- "prepend:icon": n["prepend:icon"],
86
+ "prepend:icon": l["prepend:icon"],
85
87
  readonly: e.readonly,
86
88
  required: e.required,
87
89
  rows: e.rows
@@ -98,14 +100,14 @@ const G = /* @__PURE__ */ f({
98
100
  "prepend-outer": a(() => [
99
101
  r(e.$slots, "prepend-outer")
100
102
  ]),
101
- prefix: a((i) => [
102
- r(e.$slots, "prefix", p(d(i)))
103
+ prefix: a((p) => [
104
+ r(e.$slots, "prefix", i(d(p)))
103
105
  ]),
104
- suffix: a((i) => [
105
- r(e.$slots, "suffix", p(d(i)))
106
+ suffix: a((p) => [
107
+ r(e.$slots, "suffix", i(d(p)))
106
108
  ]),
107
109
  _: 2
108
- }, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
110
+ }, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
109
111
  ]),
110
112
  _: 3
111
113
  }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
package/dist/index117.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as h, computed as b, openBlock as f, createBlock as y, withCtx as a, renderSlot as n, normalizeProps as v, guardReactiveProps as B, createVNode as w, mergeProps as g } from "vue";
1
+ import { defineComponent as c, ref as b, computed as h, openBlock as f, createBlock as y, withCtx as a, renderSlot as l, normalizeProps as v, guardReactiveProps as B, createVNode as w, mergeProps as g } from "vue";
2
2
  import $ from "./index27.js";
3
3
  /* empty css */
4
4
  import k from "./index49.js";
@@ -9,6 +9,7 @@ const E = /* @__PURE__ */ c({
9
9
  "append:icon": {},
10
10
  autocomplete: {},
11
11
  autofocus: {},
12
+ clearable: { type: Boolean },
12
13
  compact: { type: Boolean },
13
14
  direction: {},
14
15
  disabled: { type: Boolean },
@@ -32,14 +33,14 @@ const E = /* @__PURE__ */ c({
32
33
  },
33
34
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
34
35
  setup(s, { emit: i }) {
35
- const r = s, o = i, l = h(!1), d = b(() => r.persistentHint || l.value), t = {
36
+ const r = s, o = i, n = b(!1), d = h(() => r.persistentHint || n.value), t = {
36
37
  onBlur: (e) => {
37
- l.value = !1, o("blur", e);
38
+ n.value = !1, o("blur", e);
38
39
  },
39
40
  onChange: (e) => o("change", e),
40
41
  onClick: (e) => o("click", e),
41
42
  onFocus: (e) => {
42
- l.value = !0, o("focus", e);
43
+ n.value = !0, o("focus", e);
43
44
  },
44
45
  onInput: (e) => o("input", e),
45
46
  onKeydown: (e) => o("keydown", e),
@@ -64,7 +65,7 @@ const E = /* @__PURE__ */ c({
64
65
  "show-hint": d.value
65
66
  }, {
66
67
  label: a((p) => [
67
- n(e.$slots, "label", v(B(p)))
68
+ l(e.$slots, "label", v(B(p)))
68
69
  ]),
69
70
  input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
70
71
  w(k, g({
@@ -73,6 +74,7 @@ const E = /* @__PURE__ */ c({
73
74
  "aria-describedby": m,
74
75
  autocomplete: e.autocomplete,
75
76
  autofocus: e.autofocus,
77
+ clearable: e.clearable,
76
78
  compact: e.compact,
77
79
  disabled: e.disabled,
78
80
  "has-errors": u,
@@ -86,25 +88,25 @@ const E = /* @__PURE__ */ c({
86
88
  type: e.type
87
89
  }, t), {
88
90
  "append-outer": a(() => [
89
- n(e.$slots, "append-outer")
91
+ l(e.$slots, "append-outer")
90
92
  ]),
91
93
  append: a(() => [
92
- n(e.$slots, "append")
94
+ l(e.$slots, "append")
93
95
  ]),
94
96
  prefix: a(() => [
95
- n(e.$slots, "prefix")
97
+ l(e.$slots, "prefix")
96
98
  ]),
97
99
  suffix: a(() => [
98
- n(e.$slots, "suffix")
100
+ l(e.$slots, "suffix")
99
101
  ]),
100
102
  prepend: a(() => [
101
- n(e.$slots, "prepend")
103
+ l(e.$slots, "prepend")
102
104
  ]),
103
105
  "prepend-outer": a(() => [
104
- n(e.$slots, "prepend-outer")
106
+ l(e.$slots, "prepend-outer")
105
107
  ]),
106
108
  _: 2
107
- }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
109
+ }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
108
110
  ]),
109
111
  _: 3
110
112
  }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
package/dist/index119.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, openBlock as e, createBlock as o, withCtx as r, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as u, createElementBlock as p, Fragment as f, renderList as _, unref as n, mergeProps as d } from "vue";
2
2
  import { state as k, useToast as b } from "./index11.js";
3
- import C from "./index235.js";
4
- import B from "./index311.js";
3
+ import C from "./index219.js";
4
+ import B from "./index312.js";
5
5
  const V = /* @__PURE__ */ l({
6
6
  __name: "BbToast",
7
7
  props: {
package/dist/index121.js CHANGED
@@ -1,16 +1,16 @@
1
- import { defineComponent as V, ref as a, watch as H, computed as z, openBlock as B, createElementBlock as I, mergeProps as R, createElementVNode as c, renderSlot as E, normalizeProps as S, guardReactiveProps as U, unref as u, createVNode as W, withCtx as C, createBlock as j, createCommentVNode as q } from "vue";
2
- import { useFloating as A, arrow as G } from "./index222.js";
3
- import { useId as J } from "./index8.js";
1
+ import { defineComponent as H, ref as o, watch as I, computed as z, openBlock as E, createElementBlock as R, mergeProps as S, createElementVNode as p, renderSlot as B, normalizeProps as U, guardReactiveProps as W, unref as u, createVNode as j, withCtx as C, createBlock as q, createCommentVNode as A } from "vue";
2
+ import { useFloating as G, arrow as J } from "./index206.js";
3
+ import { useId as K } from "./index8.js";
4
4
  import { wait as L } from "./index130.js";
5
- import K from "./index13.js";
5
+ import Q from "./index13.js";
6
6
  /* empty css */
7
- import { throttle as m } from "./index246.js";
8
- import { waitFor as Q } from "./index234.js";
9
- import X from "./index263.js";
7
+ import { throttle as v } from "./index226.js";
8
+ import { waitFor as X } from "./index218.js";
9
+ import Y from "./index264.js";
10
10
  /* empty css */
11
- import { useLocale as Y } from "./index232.js";
12
- import { autoUpdate as Z, flip as x, shift as ee, hide as te } from "./index237.js";
13
- const me = /* @__PURE__ */ V({
11
+ import { useLocale as Z } from "./index216.js";
12
+ import { autoUpdate as x, flip as ee, shift as te, hide as oe } from "./index225.js";
13
+ const ae = { class: "bb-tooltip__content" }, be = /* @__PURE__ */ H({
14
14
  __name: "BbTooltip",
15
15
  props: {
16
16
  arrowPadding: { default: 10 },
@@ -26,79 +26,81 @@ const me = /* @__PURE__ */ V({
26
26
  theme: { default: "default" },
27
27
  transitionDuration: { default: 250 }
28
28
  },
29
- setup(D) {
30
- const t = D, { t: _ } = Y(), v = `bb_${t.id ?? J().id.value}`, s = a(), d = a(), M = a(), { placement: b, middlewareData: P } = A(s, d, {
29
+ setup(_) {
30
+ const t = _, { t: D } = Z(), c = `bb_${t.id ?? K().id.value}`, l = o(), M = o(), P = o(), { placement: b, middlewareData: T } = G(l, M, {
31
31
  placement: t.placement,
32
- whileElementsMounted: Z,
32
+ whileElementsMounted: x,
33
33
  middleware: [
34
- x(),
35
- ee({ padding: t.padding }),
36
- G({
37
- element: M,
34
+ ee(),
35
+ te({ padding: t.padding }),
36
+ J({
37
+ element: P,
38
38
  padding: t.arrowPadding
39
39
  }),
40
- te()
40
+ oe()
41
41
  ]
42
42
  });
43
- let w = () => {
43
+ let g = () => {
44
44
  };
45
- const g = a(!0), n = a(!1), r = a(!1), l = a(!1), p = a(!0), h = () => {
46
- r.value || n.value || t.disabled || (F(), document.addEventListener("mouseover", k, { passive: !0 }), document.addEventListener("keydown", y, { passive: !0 }));
47
- }, T = h, k = m((e) => {
48
- const o = e.target;
49
- if (o && o instanceof HTMLElement) {
50
- let f = !0;
51
- s.value && s.value.contains(o) && (f = !1), d.value && d.value.contains(o) && (f = !1), f && i();
45
+ const w = o(!0), n = o(!1), r = o(!1), s = o(!1), d = o(!0), h = () => {
46
+ r.value || n.value || t.disabled || (N(), document.addEventListener("mouseover", k, { passive: !0 }), document.addEventListener("keydown", y, { passive: !0 }));
47
+ }, $ = h;
48
+ let f = null;
49
+ const k = v((e) => {
50
+ const a = e.target;
51
+ if (a && a instanceof HTMLElement) {
52
+ let m = !0;
53
+ l.value && l.value.contains(a) && (m = !1), f ?? (f = document.getElementById(c)), f && f.contains(a) && (m = !1), m && i();
52
54
  }
53
55
  }, t.transitionDuration), y = (e) => {
54
56
  r.value && e.key === "Escape" && i();
55
- }, $ = () => {
56
- g.value = !1, i();
57
- }, O = a(!1), F = m(async () => {
58
- g.value && (O.value = !0, p.value = !1, l.value = !1, n.value = !0, await L(50), r.value = !0, n.value = !1, w = H(
57
+ }, O = () => {
58
+ w.value = !1, i();
59
+ }, F = o(!1), N = v(async () => {
60
+ w.value && (F.value = !0, d.value = !1, s.value = !1, n.value = !0, await L(50), r.value = !0, n.value = !1, g = I(
59
61
  () => {
60
62
  var e;
61
- return (e = P.value.hide) == null ? void 0 : e.referenceHidden;
63
+ return (e = T.value.hide) == null ? void 0 : e.referenceHidden;
62
64
  },
63
65
  async (e) => {
64
- !l.value && !p.value && e && await i();
66
+ !s.value && !d.value && e && await i();
65
67
  }
66
68
  ));
67
- }, t.transitionDuration), i = m(async () => {
68
- await Q(() => !n.value), document.removeEventListener("mouseover", k), document.removeEventListener("keydown", y), r.value = !1, n.value = !1, l.value = !0, await L(t.transitionDuration), l.value = !1, p.value = !0, w();
69
- }, t.transitionDuration), N = z(() => ({
69
+ }, t.transitionDuration), i = v(async () => {
70
+ await X(() => !n.value), document.removeEventListener("mouseover", k), document.removeEventListener("keydown", y), r.value = !1, n.value = !1, s.value = !0, await L(t.transitionDuration), s.value = !1, d.value = !0, g();
71
+ }, t.transitionDuration), V = z(() => ({
70
72
  class: {
71
73
  "bb-tooltip--block": t.block,
72
74
  [`bb-tooltip--${t.theme}`]: t.theme
73
75
  }
74
76
  }));
75
- return (e, o) => (B(), I("span", R({ class: "bb-tooltip" }, N.value), [
76
- c("span", {
77
+ return (e, a) => (E(), R("span", S({ class: "bb-tooltip" }, V.value), [
78
+ p("span", {
77
79
  ref_key: "wrapper",
78
- ref: s,
80
+ ref: l,
79
81
  class: "bb-tooltip__wrapper"
80
82
  }, [
81
- E(e.$slots, "activator", S(U({
83
+ B(e.$slots, "activator", U(W({
82
84
  props: {
83
- "aria-describedby": v,
85
+ "aria-describedby": c,
84
86
  onMouseenter: h,
85
- onFocus: u(T),
87
+ onFocus: u($),
86
88
  onBlur: u(i),
87
89
  disabled: e.disabled
88
90
  },
89
- closed: p.value,
90
- closing: l.value,
91
+ closed: d.value,
92
+ closing: s.value,
91
93
  disabled: e.disabled,
92
94
  open: r.value,
93
95
  opening: n.value,
94
96
  placement: u(b)
95
97
  })))
96
98
  ], 512),
97
- W(X, {
99
+ j(Y, {
98
100
  "arrow-padding": e.arrowPadding,
99
101
  "base-class": "bb-tooltip",
100
102
  "container-attributes": {
101
- id: v
103
+ id: c
102
104
  },
103
105
  eager: e.eager,
104
106
  offset: e.offset,
@@ -108,29 +110,25 @@ const me = /* @__PURE__ */ V({
108
110
  "teleport-target": e.teleportTarget,
109
111
  theme: e.theme,
110
112
  "transition-duration": e.transitionDuration,
111
- wrapper: s.value
113
+ wrapper: l.value
112
114
  }, {
113
115
  default: C(() => [
114
- c("span", {
115
- ref_key: "content",
116
- ref: d,
117
- class: "bb-tooltip__content"
118
- }, [
119
- e.showClose ? (B(), j(K, {
116
+ p("span", ae, [
117
+ e.showClose ? (E(), q(Q, {
120
118
  key: 0,
121
119
  "aria-hidden": "true",
122
- "aria-label": u(_)("common.closeLabel").value,
120
+ "aria-label": u(D)("common.closeLabel").value,
123
121
  class: "bb-tooltip__close",
124
122
  tabindex: "-1",
125
- onClick: $
123
+ onClick: O
126
124
  }, {
127
- default: C(() => o[0] || (o[0] = [
128
- c("svg", {
125
+ default: C(() => a[0] || (a[0] = [
126
+ p("svg", {
129
127
  fill: "none",
130
128
  viewBox: "0 0 24 24",
131
129
  xmlns: "http://www.w3.org/2000/svg"
132
130
  }, [
133
- c("path", {
131
+ p("path", {
134
132
  d: "M23 23L1 1M23 1L1 23",
135
133
  stroke: "currentColor",
136
134
  "stroke-linecap": "round",
@@ -139,9 +137,9 @@ const me = /* @__PURE__ */ V({
139
137
  ], -1)
140
138
  ])),
141
139
  _: 1
142
- }, 8, ["aria-label"])) : q("", !0),
143
- E(e.$slots, "default")
144
- ], 512)
140
+ }, 8, ["aria-label"])) : A("", !0),
141
+ B(e.$slots, "default")
142
+ ])
145
143
  ]),
146
144
  _: 3
147
145
  }, 8, ["arrow-padding", "container-attributes", "eager", "offset", "open", "padding", "placement", "teleport-target", "theme", "transition-duration", "wrapper"])
@@ -149,5 +147,5 @@ const me = /* @__PURE__ */ V({
149
147
  }
150
148
  });
151
149
  export {
152
- me as default
150
+ be as default
153
151
  };
package/dist/index123.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 k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
2
- import { flattenTree as T } from "./index312.js";
2
+ import { flattenTree as T } from "./index311.js";
3
3
  const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
4
4
  __name: "BbTree",
5
5
  props: {
package/dist/index125.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, openBlock as o, createElementBlock as a, createElementVNode as t, renderSlot as p, createTextVNode as b, toDisplayString as m, unref as u, withModifiers as d, createCommentVNode as _ } from "vue";
2
- import { useLocale as f } from "./index232.js";
2
+ import { useLocale as f } from "./index216.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {
package/dist/index127.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, openBlock as h, createElementBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index210.js";
2
+ import { isCssColor as I } from "./index240.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index128.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 "./index246.js";
2
+ import { throttle as g } from "./index226.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index129.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as s, openBlock as b, createElementBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
2
- import { isCssColor as u } from "./index210.js";
2
+ import { isCssColor as u } from "./index240.js";
3
3
  const f = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index13.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, getCurrentInstance as d, shallowRef as x, watch as S, computed as f, openBlock as L, createBlock as B, resolveDynamicComponent as N, unref as $, mergeProps as F, withCtx as w, renderSlot as A, createTextVNode as P, toDisplayString as _, resolveComponent as m } from "vue";
2
2
  import { _config as o } from "./index4.js";
3
- import { useLogger as v } from "./index240.js";
4
- import { hash as g } from "./index219.js";
3
+ import { useLogger as v } from "./index228.js";
4
+ import { hash as g } from "./index231.js";
5
5
  const I = /* @__PURE__ */ C({
6
6
  __name: "BaseButton",
7
7
  props: {
package/dist/index132.js CHANGED
@@ -1,5 +1,5 @@
1
- import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as W, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isObject as J, isClient as K } from "./index249.js";
2
- import { bypassFilter as ve, createFilterWrapper as de, debounceFilter as pe, debouncedWatch as he, getLifeCycleTarget as me, throttleFilter as be, debouncedWatch as ge, watchWithFilter as ye } from "./index249.js";
1
+ import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as W, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isObject as J, isClient as K } from "./index238.js";
2
+ import { bypassFilter as ve, createFilterWrapper as de, debounceFilter as pe, debouncedWatch as he, getLifeCycleTarget as me, throttleFilter as be, debouncedWatch as ge, watchWithFilter as ye } from "./index238.js";
3
3
  import { computed as w, watch as z, ref as S, reactive as k, getCurrentInstance as U, onMounted as Z, watchEffect as ee } from "vue";
4
4
  function L(l) {
5
5
  var o;
package/dist/index133.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index317.js";
2
- import { isPlainObject as c } from "./index318.js";
1
+ import { isArray as p } from "./index314.js";
2
+ import { isPlainObject as c } from "./index315.js";
3
3
  function i(e, n, u, l, r) {
4
4
  const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
5
  o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {