bitboss-ui 2.1.103 → 2.1.104

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 (195) hide show
  1. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +277 -0
  2. package/dist/components/FlatListBox.vue.d.ts +4 -1
  3. package/dist/components/GroupedListBox.vue.d.ts +4 -1
  4. package/dist/components/ListBox.vue.d.ts +5 -1
  5. package/dist/composables/useCoherence.d.ts +1 -0
  6. package/dist/composables/usePrefill.d.ts +13 -3
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index109.js +21 -23
  9. package/dist/index116.js +1 -1
  10. package/dist/index122.js +4 -4
  11. package/dist/index124.js +15 -17
  12. package/dist/index132.js +1 -1
  13. package/dist/index134.js +5 -5
  14. package/dist/index136.js +1 -1
  15. package/dist/index138.js +2 -2
  16. package/dist/index14.js +1 -1
  17. package/dist/index141.js +1 -1
  18. package/dist/index145.js +1 -1
  19. package/dist/index146.js +2 -2
  20. package/dist/index16.js +3 -3
  21. package/dist/index18.js +3 -3
  22. package/dist/index20.js +14 -14
  23. package/dist/index218.js +2 -2
  24. package/dist/index22.js +14 -14
  25. package/dist/index220.js +2 -2
  26. package/dist/index221.js +3 -5
  27. package/dist/index222.js +4 -7
  28. package/dist/index223.js +8 -2
  29. package/dist/index224.js +34 -2
  30. package/dist/index225.js +67 -3
  31. package/dist/index226.js +86 -33
  32. package/dist/index228.js +32 -0
  33. package/dist/index229.js +17 -5
  34. package/dist/index230.js +51 -5
  35. package/dist/index231.js +18 -5
  36. package/dist/index232.js +3 -5
  37. package/dist/index233.js +12 -3
  38. package/dist/index234.js +18 -2
  39. package/dist/index235.js +13 -6
  40. package/dist/index236.js +12 -7
  41. package/dist/index237.js +13 -268
  42. package/dist/index238.js +2 -52
  43. package/dist/index239.js +101 -47
  44. package/dist/index24.js +11 -11
  45. package/dist/index241.js +95 -55
  46. package/dist/index243.js +3 -3
  47. package/dist/index244.js +17 -85
  48. package/dist/index245.js +14 -0
  49. package/dist/index246.js +4 -29
  50. package/dist/index247.js +135 -16
  51. package/dist/index249.js +107 -51
  52. package/dist/index250.js +2 -15
  53. package/dist/index251.js +11 -12
  54. package/dist/index252.js +2 -2
  55. package/dist/index253.js +2 -4
  56. package/dist/index254.js +7 -106
  57. package/dist/index255.js +9 -0
  58. package/dist/index256.js +5 -100
  59. package/dist/index257.js +11 -0
  60. package/dist/index258.js +23 -3
  61. package/dist/index259.js +4 -10
  62. package/dist/index26.js +3 -3
  63. package/dist/index260.js +22 -2
  64. package/dist/index261.js +8 -4
  65. package/dist/index262.js +9 -5
  66. package/dist/index263.js +25 -5
  67. package/dist/index264.js +6 -5
  68. package/dist/index265.js +16 -2
  69. package/dist/index266.js +3 -20
  70. package/dist/index267.js +2 -135
  71. package/dist/index268.js +4 -0
  72. package/dist/index269.js +6 -187
  73. package/dist/index270.js +5 -3
  74. package/dist/index271.js +5 -13
  75. package/dist/index272.js +5 -13
  76. package/dist/index273.js +5 -23
  77. package/dist/index274.js +5 -9
  78. package/dist/index275.js +5 -23
  79. package/dist/index276.js +18 -16
  80. package/dist/index277.js +4 -12
  81. package/dist/index278.js +7 -102
  82. package/dist/index279.js +20 -10
  83. package/dist/index28.js +1 -1
  84. package/dist/index280.js +33 -9
  85. package/dist/index281.js +27 -20
  86. package/dist/index283.js +9 -32
  87. package/dist/index284.js +3 -4
  88. package/dist/index285.js +3 -67
  89. package/dist/index286.js +373 -9
  90. package/dist/index288.js +188 -2
  91. package/dist/index289.js +3 -7
  92. package/dist/index290.js +5 -7
  93. package/dist/index291.js +6 -3
  94. package/dist/index292.js +268 -6
  95. package/dist/index293.js +50 -14
  96. package/dist/index294.js +52 -5
  97. package/dist/index295.js +31 -52
  98. package/dist/index296.js +58 -32
  99. package/dist/index297.js +32 -372
  100. package/dist/index298.js +55 -0
  101. package/dist/index299.js +4 -0
  102. package/dist/index30.js +3 -3
  103. package/dist/index300.js +5 -3
  104. package/dist/index301.js +2 -5
  105. package/dist/index302.js +3 -280
  106. package/dist/index303.js +17 -2
  107. package/dist/index304.js +27 -15
  108. package/dist/index305.js +3 -2
  109. package/dist/index306.js +3 -16
  110. package/dist/index307.js +4 -2
  111. package/dist/index308.js +7 -27
  112. package/dist/index310.js +3 -2
  113. package/dist/index311.js +3 -2
  114. package/dist/index312.js +1 -1
  115. package/dist/index313.js +5 -2
  116. package/dist/index314.js +719 -28
  117. package/dist/index315.js +366 -2
  118. package/dist/index316.js +57 -7
  119. package/dist/index317.js +280 -3
  120. package/dist/index318.js +2 -17
  121. package/dist/index319.js +125 -4
  122. package/dist/index32.js +2 -2
  123. package/dist/index320.js +2 -3
  124. package/dist/index321.js +15 -3
  125. package/dist/index322.js +2 -125
  126. package/dist/index323.js +16 -2
  127. package/dist/index324.js +2 -15
  128. package/dist/index325.js +16 -2
  129. package/dist/index326.js +2 -19
  130. package/dist/index327.js +19 -2
  131. package/dist/index328.js +2 -3
  132. package/dist/index329.js +3 -2
  133. package/dist/index330.js +27 -2
  134. package/dist/index331.js +2 -6
  135. package/dist/index332.js +2 -4
  136. package/dist/index333.js +2 -5
  137. package/dist/index334.js +2 -719
  138. package/dist/index335.js +2 -366
  139. package/dist/index336.js +2 -57
  140. package/dist/index337.js +228 -2
  141. package/dist/index338.js +6 -5
  142. package/dist/index339.js +67 -7
  143. package/dist/index34.js +12 -12
  144. package/dist/index340.js +67 -7
  145. package/dist/index341.js +3 -18
  146. package/dist/index342.js +34 -8
  147. package/dist/index343.js +6 -15
  148. package/dist/index344.js +125 -31
  149. package/dist/index345.js +398 -6
  150. package/dist/index346.js +197 -126
  151. package/dist/index347.js +256 -395
  152. package/dist/index348.js +92 -66
  153. package/dist/index349.js +133 -66
  154. package/dist/index350.js +2 -228
  155. package/dist/index351.js +2 -3
  156. package/dist/index352.js +5 -191
  157. package/dist/index353.js +7 -258
  158. package/dist/index354.js +7 -22
  159. package/dist/index355.js +21 -0
  160. package/dist/index356.js +7 -132
  161. package/dist/index357.js +12 -90
  162. package/dist/index358.js +21 -1
  163. package/dist/index36.js +4 -4
  164. package/dist/index363.js +1 -1
  165. package/dist/index38.js +244 -244
  166. package/dist/index40.js +7 -7
  167. package/dist/index42.js +2 -2
  168. package/dist/index44.js +27 -29
  169. package/dist/index46.js +6 -6
  170. package/dist/index50.js +2 -2
  171. package/dist/index54.js +1 -1
  172. package/dist/index56.js +1 -1
  173. package/dist/index58.js +2 -2
  174. package/dist/index60.js +2 -2
  175. package/dist/index62.js +5 -5
  176. package/dist/index68.js +1 -1
  177. package/dist/index74.js +4 -4
  178. package/dist/index82.js +7 -7
  179. package/dist/index84.js +1 -1
  180. package/dist/index86.js +2 -2
  181. package/dist/index88.js +3 -3
  182. package/dist/index90.js +1 -1
  183. package/dist/index93.js +3 -3
  184. package/dist/index95.js +2 -2
  185. package/dist/index97.js +5 -5
  186. package/dist/index99.js +1 -1
  187. package/package.json +1 -1
  188. package/dist/index227.js +0 -30
  189. package/dist/index240.js +0 -34
  190. package/dist/index242.js +0 -15
  191. package/dist/index248.js +0 -19
  192. package/dist/index282.js +0 -27
  193. package/dist/index287.js +0 -9
  194. package/dist/index309.js +0 -4
  195. package/dist/index359.js +0 -4
package/dist/index40.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as ie, ref as d, computed as f, onMounted as se, watch as ue, createElementBlock as y, openBlock as g, normalizeProps as G, guardReactiveProps as O, renderSlot as p, createElementVNode as c, mergeProps as N, createCommentVNode as Y, Fragment as de, renderList as me, unref as b, normalizeStyle as j, normalizeClass as J } from "vue";
2
- import { head as ce } from "./index288.js";
3
- import { isCssColor as K } from "./index223.js";
4
- import { isNil as x } from "./index252.js";
2
+ import { head as ce } from "./index252.js";
3
+ import { isCssColor as K } from "./index253.js";
4
+ import { isNil as x } from "./index250.js";
5
5
  import { getAsPercentageBetween as S, getAsPercentage as be, getValueFromPercentageInInterval as T } from "./index141.js";
6
- import { snapToStep as ve } from "./index289.js";
7
- import { last as fe } from "./index234.js";
8
- import { transpose as Q } from "./index290.js";
9
- import { clamp as m } from "./index220.js";
6
+ import { snapToStep as ve } from "./index254.js";
7
+ import { last as fe } from "./index238.js";
8
+ import { transpose as Q } from "./index255.js";
9
+ import { clamp as m } from "./index218.js";
10
10
  const pe = {
11
11
  key: 0,
12
12
  class: "bb-base-slider__ticks-container"
package/dist/index42.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as F, ref as b, computed as s, watch as S, createElementBlock as y, openBlock as V, normalizeProps as l, guardReactiveProps as m, createCommentVNode as A, createElementVNode as r, mergeProps as v, renderSlot as N } from "vue";
2
- import { isCssColor as p } from "./index223.js";
3
- import { when as x } from "./index253.js";
2
+ import { isCssColor as p } from "./index253.js";
3
+ import { when as x } from "./index246.js";
4
4
  const M = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ F({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index44.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as n, renderSlot as s, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index42.js";
3
3
  /* empty css */
4
- import N from "./index244.js";
4
+ import N from "./index226.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index246.js";
7
- import { useIndexById as T } from "./index248.js";
8
- import { useBaseOptions as q } from "./index249.js";
9
- import { useCoherence as J } from "./index250.js";
10
- import { hash as Q } from "./index233.js";
11
- import { useHashedWatcher as $ } from "./index251.js";
12
- import { usePrefill as X } from "./index247.js";
6
+ import { useItemsGetter as U } from "./index228.js";
7
+ import { useIndexById as T } from "./index229.js";
8
+ import { useBaseOptions as q } from "./index230.js";
9
+ import { useCoherence as J } from "./index231.js";
10
+ import { hash as Q } from "./index232.js";
11
+ import { useHashedWatcher as $ } from "./index233.js";
12
+ import { usePrefill as X } from "./index234.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
@@ -40,7 +40,7 @@ const ue = /* @__PURE__ */ j({
40
40
  const o = E, a = C;
41
41
  if (!Array.isArray(o.modelValue))
42
42
  throw new Error("Model value must be an array in checkbox group.");
43
- const u = k(), r = k(!1), {
43
+ const u = k(), l = k(!1), {
44
44
  getter: c,
45
45
  items: L,
46
46
  loading: D
@@ -48,12 +48,10 @@ const ue = /* @__PURE__ */ j({
48
48
  items: d(o, "items"),
49
49
  debounce: 0
50
50
  }), m = () => {
51
- o.enforceCoherence && !V.value && a("update:modelValue", P.value.coherent);
51
+ o.enforceCoherence && !V.value && a("update:modelValue", S.value.coherent);
52
52
  }, { hasPrefilled: I } = X({
53
- onStart: !0,
54
- currentValue: o.modelValue,
55
- multiple: !0,
56
- fn: async ({ prefill: e }) => {
53
+ trigger: !0,
54
+ fn: async (e) => {
57
55
  await c(e, o.modelValue), m();
58
56
  }
59
57
  }), { data: y } = T({
@@ -68,22 +66,22 @@ const ue = /* @__PURE__ */ j({
68
66
  selectedIndexedByHash: y
69
67
  }), H = async (e) => {
70
68
  a("update:modelValue", o.modelValue.concat(e.value));
71
- }, S = async (e) => {
72
- const l = { ...y.value };
73
- delete l[e.valueHash], a("update:modelValue", Object.values(l));
74
- }, { data: M } = T({
69
+ }, M = async (e) => {
70
+ const i = { ...y.value };
71
+ delete i[e.valueHash], a("update:modelValue", Object.values(i));
72
+ }, { data: P } = T({
75
73
  items: g,
76
74
  key: "valueHash"
77
- }), { coherent: V, status: P } = J({
75
+ }), { coherent: V, status: S } = J({
78
76
  modelValue: d(o, "modelValue"),
79
77
  multiple: !0,
80
- iteratee: (e) => !!M.value[Q(e)]
78
+ iteratee: (e) => !!P.value[Q(e)]
81
79
  });
82
- let i = 0;
80
+ let r = 0;
83
81
  $(
84
82
  () => o.modelValue,
85
83
  async () => {
86
- i++, V.value || (await c(!1, o.modelValue), m()), i--;
84
+ r++, V.value || (await c(!1, o.modelValue), m()), r--;
87
85
  },
88
86
  {
89
87
  debounce: o.modelValueDebounceTime
@@ -91,7 +89,7 @@ const ue = /* @__PURE__ */ j({
91
89
  ), $(
92
90
  () => [o.dependencies, o.items],
93
91
  async () => {
94
- I.value && (i++, await c(!1, o.modelValue), i === 1 && m(), i--);
92
+ I.value && (r++, await c(!1, o.modelValue), r === 1 && m(), r--);
95
93
  },
96
94
  {
97
95
  debounce: o.depsDebounceTime
@@ -100,24 +98,24 @@ const ue = /* @__PURE__ */ j({
100
98
  const x = (e) => {
101
99
  if (o.id)
102
100
  return [o.id, e.valueHash].filter(Boolean).join("-");
103
- }, F = (e, l) => {
104
- a("change", e), l.selected ? S(l) : H(l);
101
+ }, F = (e, i) => {
102
+ a("change", e), i.selected ? M(i) : H(i);
105
103
  }, O = {
106
104
  onBlur: (e) => a("blur", e),
107
105
  onClick: (e) => a("click", e),
108
106
  onFocus: (e) => {
109
- a("focus", e), r.value || (document.addEventListener("focusin", p, { passive: !0 }), document.addEventListener("click", f, { passive: !0 }), r.value = !0);
107
+ a("focus", e), l.value || (document.addEventListener("focusin", p, { passive: !0 }), document.addEventListener("click", f, { passive: !0 }), l.value = !0);
110
108
  },
111
109
  onInput: (e) => a("input", e),
112
110
  onKeydown: (e) => a("keydown", e),
113
111
  onMousedown: (e) => a("mousedown", e),
114
112
  onMouseup: (e) => a("mouseup", e)
115
113
  }, p = (e) => {
116
- e.target instanceof HTMLElement && (u.value?.$el.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
114
+ e.target instanceof HTMLElement && (u.value?.$el.contains(e.target) || (a("inactive"), l.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
117
115
  }, f = (e) => {
118
- e.target instanceof HTMLElement && (u.value?.$el.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
116
+ e.target instanceof HTMLElement && (u.value?.$el.contains(e.target) || (a("inactive"), l.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
119
117
  };
120
- return (e, l) => (G(), z(N, {
118
+ return (e, i) => (G(), z(N, {
121
119
  ref_key: "container",
122
120
  ref: u,
123
121
  class: "bb-base-switch-group",
package/dist/index46.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as j, ref as u, computed as m, toRef as C, watch as Q, createBlock as h, openBlock as f, normalizeClass as Z, withCtx as l, createVNode as E, unref as G, createElementVNode as I, createElementBlock as J, createCommentVNode as W, withDirectives as X, Fragment as Y, mergeProps as ee, withModifiers as s, withKeys as v, vModelText as te, renderSlot as d, nextTick as oe } from "vue";
2
2
  import ae from "./index114.js";
3
3
  /* empty css */
4
- import { last as le } from "./index234.js";
5
- import { useBaseOptions as ne } from "./index249.js";
6
- import { useIndexById as re } from "./index248.js";
7
- import ie from "./index254.js";
4
+ import { last as le } from "./index238.js";
5
+ import { useBaseOptions as ne } from "./index230.js";
6
+ import { useIndexById as re } from "./index229.js";
7
+ import ie from "./index239.js";
8
8
  /* empty css */
9
- import ue from "./index256.js";
9
+ import ue from "./index241.js";
10
10
  /* empty css */
11
11
  import se from "./index138.js";
12
12
  /* empty css */
13
13
  import de from "./index140.js";
14
- import { isEmpty as pe } from "./index258.js";
14
+ import { isEmpty as pe } from "./index243.js";
15
15
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Oe = /* @__PURE__ */ j({
16
16
  __name: "BaseTag",
17
17
  props: {
package/dist/index50.js CHANGED
@@ -2,8 +2,8 @@ import { defineComponent as V, ref as h, computed as v, onMounted as B, onBefore
2
2
  import q from "./index138.js";
3
3
  /* empty css */
4
4
  import I from "./index140.js";
5
- import { MaskInput as z } from "./index269.js";
6
- import { isNotEmpty as D } from "./index270.js";
5
+ import { MaskInput as z } from "./index288.js";
6
+ import { isNotEmpty as D } from "./index289.js";
7
7
  const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index54.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index70.js";
3
3
  /* empty css */
4
4
  import L from "./index88.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index242.js";
6
+ import { useLocale as g } from "./index236.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index56.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index223.js";
2
+ import { isCssColor as y } from "./index253.js";
3
3
  import { wait as C } from "./index142.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index58.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index223.js";
3
- import { isNil as B } from "./index252.js";
2
+ import { isCssColor as l } from "./index253.js";
3
+ import { isNil as B } from "./index250.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index60.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as K, ref as I, computed as l, watch as Q, onBeforeUnmount as Z, createElementBlock as o, openBlock as n, normalizeStyle as x, createElementVNode as p, createCommentVNode as c, renderSlot as b, createVNode as C, withCtx as L, normalizeProps as ee, guardReactiveProps as se, mergeProps as N, createTextVNode as T, toDisplayString as M, Fragment as O, renderList as te } from "vue";
2
2
  import { useResizeObserver as ie } from "./index143.js";
3
- import { useLocale as ae } from "./index242.js";
3
+ import { useLocale as ae } from "./index236.js";
4
4
  import de from "./index14.js";
5
5
  /* empty css */
6
6
  import re from "./index82.js";
7
7
  /* empty css */
8
- import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index282.js";
8
+ import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index263.js";
9
9
  const ne = ["aria-label"], be = { class: "bb-breadcrumbs__container" }, ue = {
10
10
  key: 0,
11
11
  class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--prepend"
package/dist/index62.js CHANGED
@@ -7,11 +7,11 @@ import f from "./index88.js";
7
7
  /* empty css */
8
8
  import J from "./index116.js";
9
9
  /* empty css */
10
- import { pickBy as K } from "./index259.js";
11
- import { noop as Q } from "./index260.js";
12
- import { useLocale as U } from "./index242.js";
13
- import { extractDomContainer as X } from "./index261.js";
14
- import { isEqual as $ } from "./index225.js";
10
+ import { pickBy as K } from "./index283.js";
11
+ import { noop as Q } from "./index284.js";
12
+ import { useLocale as U } from "./index236.js";
13
+ import { extractDomContainer as X } from "./index259.js";
14
+ import { isEqual as $ } from "./index285.js";
15
15
  const Y = {
16
16
  key: 2,
17
17
  class: "bb-button__loading-label sr-only"
package/dist/index68.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
2
- import { useLocale as f } from "./index242.js";
2
+ import { useLocale as f } from "./index236.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/index74.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as L, ref as u, computed as m, watch as n, nextTick as P, onBeforeUnmount as C, createElementBlock as D, openBlock as R, Fragment as T, renderSlot as U, createCommentVNode as $, createVNode as g, normalizeProps as F, mergeProps as H, unref as I, withCtx as M } from "vue";
2
- import { extractDomContainer as d } from "./index261.js";
3
- import { useLocale as N } from "./index242.js";
4
- import S from "./index297.js";
2
+ import { extractDomContainer as d } from "./index259.js";
3
+ import { useLocale as N } from "./index236.js";
4
+ import S from "./index286.js";
5
5
  /* empty css */
6
- import q from "./index267.js";
6
+ import q from "./index247.js";
7
7
  /* empty css */
8
8
  const W = /* @__PURE__ */ L({
9
9
  __name: "BbColorPalette",
package/dist/index82.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as fe, ref as C, computed as p, useTemplateRef as ve, watch as $, onBeforeUnmount as be, createElementBlock as M, openBlock as E, Fragment as B, renderSlot as v, createCommentVNode as V, createVNode as G, normalizeProps as ye, mergeProps as q, withCtx as x, createElementVNode as J, normalizeStyle as we, unref as Q, renderList as ge, createBlock as Z, toDisplayString as he } from "vue";
2
- import { findRightIndex as R } from "./index274.js";
2
+ import { findRightIndex as R } from "./index257.js";
3
3
  import { useId as Ee } from "./index8.js";
4
- import { useUntil as Le } from "./index272.js";
4
+ import { useUntil as Le } from "./index237.js";
5
5
  import { wait as ke } from "./index142.js";
6
6
  import De from "./index14.js";
7
7
  /* empty css */
8
8
  import ee from "./index88.js";
9
9
  /* empty css */
10
- import $e from "./index267.js";
10
+ import $e from "./index247.js";
11
11
  /* empty css */
12
- import te from "./index275.js";
13
- import { extractDomContainer as H } from "./index261.js";
12
+ import te from "./index258.js";
13
+ import { extractDomContainer as H } from "./index259.js";
14
14
  import { useIntersectionObserver as Ae, useElementSize as Se } from "./index143.js";
15
- import { parseWidthString as Pe } from "./index273.js";
15
+ import { parseWidthString as Pe } from "./index260.js";
16
16
  const Ie = ["id", "aria-labelledby", "inert"], Te = { class: "item__content" }, Oe = 500, _e = 10, ze = /* @__PURE__ */ fe({
17
17
  inheritAttrs: !1,
18
18
  __name: "BbDropdown",
@@ -22,7 +22,7 @@ const Ie = ["id", "aria-labelledby", "inert"], Te = { class: "item__content" },
22
22
  eager: { type: Boolean },
23
23
  id: {},
24
24
  offset: { default: 3 },
25
- padding: { default: 6 },
25
+ padding: { default: 10 },
26
26
  transitionDuration: { default: 300 },
27
27
  placement: { default: "bottom" },
28
28
  activator: {},
package/dist/index84.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index88.js";
9
9
  /* empty css */
10
10
  import I from "./index116.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index242.js";
12
+ import { useLocale as M } from "./index236.js";
13
13
  const O = { class: "bb-dropdown-button__content" }, R = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index86.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index293.js";
2
+ import { findInTree as ae } from "./index265.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index114.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index292.js")).default);
56
+ b || (b = (await import("./index264.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index88.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, ref as f, computed as a, getCurrentInstance as d, onServerPrefetch as I, onBeforeMount as _, watch as L, createElementBlock as M, openBlock as B, mergeProps as k, inject as A } from "vue";
2
- import { isCssColor as C } from "./index223.js";
3
- import { get as m } from "./index279.js";
4
- import { useLogger as N } from "./index236.js";
2
+ import { isCssColor as C } from "./index253.js";
3
+ import { get as m } from "./index251.js";
4
+ import { useLogger as N } from "./index261.js";
5
5
  const S = ["innerHTML"], E = /* @__PURE__ */ $({
6
6
  __name: "BbIcon",
7
7
  props: {
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index291.js";
2
+ import { throttle as c } from "./index266.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index93.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, mergeModels as B, useModel as N, computed as p, ref as L, watch as P, onMounted as W, createElementBlock as d, openBlock as c, withModifiers as F, normalizeStyle as O, normalizeClass as q, unref as v, createCommentVNode as h, Fragment as A, createElementVNode as t, renderSlot as l, createTextVNode as H, toDisplayString as M, nextTick as K } from "vue";
2
- import { parseSize as R } from "./index271.js";
2
+ import { parseSize as R } from "./index235.js";
3
3
  import { useId as $ } from "./index8.js";
4
- import { useLocale as U } from "./index242.js";
4
+ import { useLocale as U } from "./index236.js";
5
5
  import { useMobile as j } from "./index9.js";
6
- import { useUntil as G } from "./index272.js";
6
+ import { useUntil as G } from "./index237.js";
7
7
  import { wait as y } from "./index142.js";
8
8
  import { _config as J } from "./index4.js";
9
9
  const Q = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], X = {
package/dist/index95.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as b, r
3
3
  /* empty css */
4
4
  import P from "./index14.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index286.js";
7
- import { useLocale as H } from "./index242.js";
6
+ import { debounce as X } from "./index262.js";
7
+ import { useLocale as H } from "./index236.js";
8
8
  import { useRoute as J } from "./index149.js";
9
9
  const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
package/dist/index97.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as re, mergeModels as I, ref as N, useTemplateRef as ae, computed as s, useModel as ie, watch as C, createElementBlock as se, openBlock as Y, Fragment as le, renderSlot as G, createCommentVNode as W, createVNode as ue, normalizeProps as de, mergeProps as X, unref as S, withCtx as F, createElementVNode as B, createBlock as ce, nextTick as pe } from "vue";
2
2
  import { useId as me } from "./index8.js";
3
3
  import { useIntersectionObserver as ve, useElementSize as fe } from "./index143.js";
4
- import { useLocale as be } from "./index242.js";
5
- import { useUntil as he } from "./index272.js";
4
+ import { useLocale as be } from "./index236.js";
5
+ import { useUntil as he } from "./index237.js";
6
6
  import ge from "./index14.js";
7
7
  /* empty css */
8
- import we from "./index267.js";
8
+ import we from "./index247.js";
9
9
  /* empty css */
10
- import { extractDomContainer as H } from "./index261.js";
11
- import { parseWidthString as U } from "./index273.js";
10
+ import { extractDomContainer as H } from "./index259.js";
11
+ import { parseWidthString as U } from "./index260.js";
12
12
  const Ee = ["inert"], Le = 500, ye = 10, De = /* @__PURE__ */ re({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbPopover",
package/dist/index99.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index220.js";
2
+ import { clamp as p } from "./index218.js";
3
3
  import { getAsPercentageBetween as i } from "./index141.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.103",
3
+ "version": "2.1.104",
4
4
  "description": "Vue 3 component library by BitBoss: forms, selects, layout, overlays, and more.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/dist/index227.js DELETED
@@ -1,30 +0,0 @@
1
- import { defineComponent as l, createElementBlock as n, openBlock as r, unref as a, createElementVNode as t } from "vue";
2
- import { useLocale as s } from "./index242.js";
3
- const c = ["aria-label"], b = /* @__PURE__ */ l({
4
- __name: "ClearableButton",
5
- setup(u) {
6
- const { t: o } = s();
7
- return (i, e) => (r(), n("button", {
8
- "aria-label": a(o)("common.clearLabel").value,
9
- class: "bb-clearable-button",
10
- type: "button"
11
- }, e[0] || (e[0] = [
12
- t("svg", {
13
- viewBox: "0 0 24 24",
14
- xmlns: "http://www.w3.org/2000/svg"
15
- }, [
16
- t("path", {
17
- d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
18
- fill: "none",
19
- stroke: "currentColor",
20
- "stroke-linecap": "round",
21
- "stroke-linejoin": "round",
22
- "stroke-width": "2"
23
- })
24
- ], -1)
25
- ]), 8, c));
26
- }
27
- });
28
- export {
29
- b as default
30
- };
package/dist/index240.js DELETED
@@ -1,34 +0,0 @@
1
- import { defineComponent as c, createBlock as l, openBlock as m, Transition as u, withCtx as f, renderSlot as d } from "vue";
2
- const y = /* @__PURE__ */ c({
3
- __name: "ScaleFade",
4
- props: {
5
- duration: { default: 200 },
6
- scaleFrom: { default: 0.97 }
7
- },
8
- setup(n) {
9
- const t = n, a = (s) => {
10
- const e = s;
11
- e.style.opacity = "0", e.style.transform = `scale(${t.scaleFrom})`, e.style.transformOrigin = "center top";
12
- }, r = (s, e) => {
13
- const o = s;
14
- o.style.transition = `opacity ${t.duration}ms ease-out, transform ${t.duration}ms cubic-bezier(0.34, 1.56, 0.64, 1)`, o.offsetHeight, o.style.opacity = "1", o.style.transform = "scale(1)", setTimeout(e, t.duration);
15
- }, i = (s, e) => {
16
- const o = s;
17
- o.style.transition = `opacity ${t.duration}ms ease-in, transform ${t.duration}ms ease-in`, o.style.opacity = "0", o.style.transform = `scale(${t.scaleFrom})`, setTimeout(e, t.duration);
18
- };
19
- return (s, e) => (m(), l(u, {
20
- css: !1,
21
- onBeforeEnter: a,
22
- onEnter: r,
23
- onLeave: i
24
- }, {
25
- default: f(() => [
26
- d(s.$slots, "default")
27
- ]),
28
- _: 3
29
- }));
30
- }
31
- });
32
- export {
33
- y as default
34
- };
package/dist/index242.js DELETED
@@ -1,15 +0,0 @@
1
- import { locales as t } from "./index316.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index279.js";
4
- import { readonly as l, computed as n } from "vue";
5
- const p = (o, ...r) => l(
6
- n(() => c(t[m.locale], o).replace(
7
- /\{(\d+)\}/g,
8
- (a, e) => r[e]
9
- ))
10
- ), d = () => ({
11
- t: p
12
- });
13
- export {
14
- d as useLocale
15
- };
package/dist/index248.js DELETED
@@ -1,19 +0,0 @@
1
- import { computed as u, unref as a } from "vue";
2
- import { hash as d } from "./index233.js";
3
- const p = ({
4
- items: m,
5
- key: e
6
- }) => {
7
- const n = (t) => e ? String(t[e]) : d(t), o = u(() => {
8
- const t = {}, s = Array.from(a(m) ?? []);
9
- for (let r = 0; r < s.length; r++) {
10
- const c = s[r];
11
- t[n(c)] = c;
12
- }
13
- return t;
14
- });
15
- return { data: o, get: (t) => o.value[n(t)] };
16
- };
17
- export {
18
- p as useIndexById
19
- };
package/dist/index282.js DELETED
@@ -1,27 +0,0 @@
1
- const a = new RegExp("\\p{Lu}", "u"), f = new RegExp("\\p{Ll}", "u"), R = new RegExp("\\p{N}", "u"), c = /\s/u, d = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u, A = new RegExp("\\p{Extended_Pictographic}", "u"), W = /* @__PURE__ */ new Set([
2
- ".",
3
- ",",
4
- ":",
5
- ";",
6
- "!",
7
- "|",
8
- "'",
9
- "`",
10
- '"',
11
- "(",
12
- ")",
13
- "[",
14
- "]",
15
- "{",
16
- "}"
17
- ]), _ = /* @__PURE__ */ new Set(["-", "_", "/", "\\", "+", "="]), m = /* @__PURE__ */ new Set(["i", "l", "I", "j", "t", "f", "r"]), p = /* @__PURE__ */ new Set(["W", "M", "w", "m", "@", "%", "&", "#"]), I = (t) => c.test(t) ? 0.42 : A.test(t) ? 1.95 : d.test(t) ? 1.8 : W.has(t) ? 0.48 : _.has(t) ? 0.66 : m.has(t) ? 0.72 : p.has(t) ? 1.28 : R.test(t) ? 0.92 : a.test(t) ? 1.08 : f.test(t) ? 0.9 : 1, C = (t, n) => {
18
- const e = t, i = n.fontWidth * 2, s = n.fontWidth * 0.6, r = n.estimationBias ?? 1, E = Array.from(e).reduce((u, o) => u + I(o) * n.fontWidth, 0);
19
- return Math.max(
20
- i,
21
- (E + s) * r
22
- );
23
- }, T = (t) => Math.max(10, t * 1.2);
24
- export {
25
- C as estimateBreadcrumbItemWidth,
26
- T as estimateEllipsisWidth
27
- };
package/dist/index287.js DELETED
@@ -1,9 +0,0 @@
1
- const s = (r, t) => {
2
- if (r.endsWith("."))
3
- return t === 0 ? r.slice(0, -1) : r;
4
- const [n, i] = r.split(".");
5
- return i ? `${n}.${i.slice(0, t)}` : r;
6
- };
7
- export {
8
- s as clampPrecision
9
- };
package/dist/index309.js DELETED
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
package/dist/index359.js DELETED
@@ -1,4 +0,0 @@
1
- import f from "./index353.js";
2
- export {
3
- f as default
4
- };