bitboss-ui 2.1.87 → 2.1.88

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 (178) hide show
  1. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +8 -0
  2. package/dist/components/BbSelect/BbSelect.vue.d.ts +6 -0
  3. package/dist/components/ListBox.vue.d.ts +1 -0
  4. package/dist/index.css +1 -1
  5. package/dist/index107.js +8 -8
  6. package/dist/index108.js +5 -3
  7. package/dist/index114.js +1 -1
  8. package/dist/index120.js +1 -1
  9. package/dist/index122.js +11 -11
  10. package/dist/index13.js +2 -2
  11. package/dist/index130.js +1 -1
  12. package/dist/index132.js +5 -5
  13. package/dist/index134.js +1 -1
  14. package/dist/index136.js +2 -2
  15. package/dist/index143.js +2 -2
  16. package/dist/index15.js +5 -5
  17. package/dist/index17.js +3 -3
  18. package/dist/index19.js +7 -7
  19. package/dist/index21.js +14 -14
  20. package/dist/index217.js +5 -2
  21. package/dist/index218.js +8 -2
  22. package/dist/index219.js +33 -3
  23. package/dist/index220.js +28 -5
  24. package/dist/index222.js +4 -5
  25. package/dist/index223.js +13 -5
  26. package/dist/index224.js +20 -5
  27. package/dist/index225.js +201 -5
  28. package/dist/index227.js +135 -2
  29. package/dist/index229.js +5 -8
  30. package/dist/index23.js +11 -11
  31. package/dist/index230.js +5 -268
  32. package/dist/index231.js +5 -52
  33. package/dist/index232.js +5 -52
  34. package/dist/index233.js +5 -32
  35. package/dist/index234.js +5 -60
  36. package/dist/index235.js +2 -13
  37. package/dist/index236.js +3 -13
  38. package/dist/index237.js +3 -13
  39. package/dist/index238.js +2 -3
  40. package/dist/index239.js +18 -4
  41. package/dist/index240.js +11 -9
  42. package/dist/index241.js +50 -2
  43. package/dist/index242.js +15 -4
  44. package/dist/index243.js +12 -86
  45. package/dist/index244.js +19 -0
  46. package/dist/index246.js +14 -15
  47. package/dist/index247.js +4 -51
  48. package/dist/index248.js +106 -15
  49. package/dist/index25.js +3 -3
  50. package/dist/index250.js +100 -16
  51. package/dist/index252.js +223 -129
  52. package/dist/index253.js +15 -0
  53. package/dist/index254.js +34 -23
  54. package/dist/index255.js +8 -22
  55. package/dist/index256.js +2 -188
  56. package/dist/index257.js +188 -3
  57. package/dist/index258.js +3 -9
  58. package/dist/index259.js +5 -106
  59. package/dist/index261.js +6 -98
  60. package/dist/index262.js +270 -0
  61. package/dist/index263.js +52 -3
  62. package/dist/index264.js +52 -2
  63. package/dist/index265.js +32 -5
  64. package/dist/index266.js +60 -5
  65. package/dist/index267.js +13 -5
  66. package/dist/index268.js +9 -19
  67. package/dist/index269.js +3 -2
  68. package/dist/index27.js +1 -1
  69. package/dist/index270.js +4 -2
  70. package/dist/index271.js +3 -7
  71. package/dist/index272.js +2 -7
  72. package/dist/index273.js +77 -58
  73. package/dist/index275.js +2 -28
  74. package/dist/index276.js +11 -0
  75. package/dist/index277.js +52 -6
  76. package/dist/index278.js +22 -8
  77. package/dist/index279.js +8 -8
  78. package/dist/index280.js +23 -53
  79. package/dist/index281.js +6 -11
  80. package/dist/index282.js +16 -5
  81. package/dist/index283.js +9 -18
  82. package/dist/index284.js +2 -12
  83. package/dist/index285.js +7 -227
  84. package/dist/index286.js +7 -6
  85. package/dist/index287.js +66 -15
  86. package/dist/index288.js +11 -8
  87. package/dist/index289.js +5 -4
  88. package/dist/index29.js +2 -2
  89. package/dist/index290.js +3 -201
  90. package/dist/index291.js +5 -0
  91. package/dist/index292.js +7 -34
  92. package/dist/index293.js +1 -1
  93. package/dist/index294.js +10 -0
  94. package/dist/index295.js +7 -3
  95. package/dist/index296.js +3 -280
  96. package/dist/index298.js +3 -16
  97. package/dist/index299.js +280 -2
  98. package/dist/index300.js +2 -16
  99. package/dist/index301.js +125 -2
  100. package/dist/index302.js +2 -27
  101. package/dist/index303.js +15 -2
  102. package/dist/index304.js +2 -2
  103. package/dist/index305.js +16 -2
  104. package/dist/index306.js +2 -2
  105. package/dist/index307.js +16 -2
  106. package/dist/index308.js +2 -28
  107. package/dist/index309.js +19 -2
  108. package/dist/index31.js +2 -2
  109. package/dist/index310.js +2 -7
  110. package/dist/index311.js +2 -4
  111. package/dist/index312.js +4 -5
  112. package/dist/index313.js +1 -1
  113. package/dist/index314.js +3 -17
  114. package/dist/index315.js +2 -3
  115. package/dist/index316.js +28 -3
  116. package/dist/index317.js +17 -3
  117. package/dist/index318.js +22 -120
  118. package/dist/index319.js +2 -2
  119. package/dist/index320.js +2 -15
  120. package/dist/index321.js +2 -2
  121. package/dist/index322.js +2 -19
  122. package/dist/index323.js +2 -2
  123. package/dist/index324.js +1 -1
  124. package/dist/index325.js +3 -6
  125. package/dist/index329.js +1 -1
  126. package/dist/index33.js +7 -7
  127. package/dist/index331.js +5 -2
  128. package/dist/index332.js +8 -3
  129. package/dist/index333.js +6 -5
  130. package/dist/index334.js +7 -34
  131. package/dist/index335.js +35 -6
  132. package/dist/index336.js +6 -129
  133. package/dist/index337.js +113 -382
  134. package/dist/index338.js +397 -6
  135. package/dist/index339.js +5 -7
  136. package/dist/index340.js +57 -18
  137. package/dist/index341.js +58 -9
  138. package/dist/index342.js +5 -14
  139. package/dist/index343.js +134 -5
  140. package/dist/index344.js +7 -58
  141. package/dist/index345.js +18 -57
  142. package/dist/index346.js +8 -227
  143. package/dist/index347.js +12 -131
  144. package/dist/index348.js +5 -22
  145. package/dist/index349.js +49 -0
  146. package/dist/index35.js +4 -4
  147. package/dist/index350.js +6 -46
  148. package/dist/index351.js +22 -8
  149. package/dist/index353.js +518 -6
  150. package/dist/index354.js +1 -1
  151. package/dist/index355.js +222 -514
  152. package/dist/index37.js +58 -56
  153. package/dist/index39.js +6 -6
  154. package/dist/index41.js +2 -2
  155. package/dist/index43.js +7 -7
  156. package/dist/index45.js +6 -6
  157. package/dist/index49.js +2 -2
  158. package/dist/index53.js +1 -1
  159. package/dist/index55.js +1 -1
  160. package/dist/index57.js +2 -2
  161. package/dist/index61.js +5 -5
  162. package/dist/index67.js +1 -1
  163. package/dist/index80.js +6 -6
  164. package/dist/index82.js +1 -1
  165. package/dist/index84.js +2 -2
  166. package/dist/index86.js +3 -3
  167. package/dist/index91.js +3 -3
  168. package/dist/index93.js +2 -2
  169. package/dist/index95.js +5 -5
  170. package/package.json +1 -1
  171. package/dist/index221.js +0 -10
  172. package/dist/index226.js +0 -5
  173. package/dist/index249.js +0 -14
  174. package/dist/index251.js +0 -11
  175. package/dist/index274.js +0 -35
  176. package/dist/index297.js +0 -4
  177. package/dist/index352.js +0 -8
  178. /package/dist/{index228.js → index260.js} +0 -0
package/dist/index37.js CHANGED
@@ -1,39 +1,39 @@
1
1
  import { defineComponent as Qe, ref as f, computed as m, toRef as z, createBlock as K, openBlock as h, normalizeClass as ee, withCtx as u, createElementVNode as L, createVNode as T, createElementBlock as I, unref as g, renderSlot as d, createCommentVNode as te, withDirectives as Xe, Fragment as ae, toDisplayString as Ye, withKeys as w, withModifiers as c, normalizeStyle as le, vModelDynamic as Ze, mergeProps as oe, renderList as et, nextTick as U } from "vue";
2
2
  import tt from "./index112.js";
3
3
  /* empty css */
4
- import { hash as at } from "./index226.js";
5
- import { isEmpty as lt } from "./index263.js";
6
- import { last as ot } from "./index227.js";
7
- import { matchAnyKey as ne } from "./index283.js";
8
- import { useArray as nt } from "./index284.js";
9
- import { useBaseOptions as ut } from "./index247.js";
10
- import { useCoherence as st } from "./index248.js";
11
- import { useHashedWatcher as ue } from "./index249.js";
12
- import { useId as it } from "./index8.js";
13
- import { useIndexById as se } from "./index246.js";
4
+ import { hash as at } from "./index237.js";
5
+ import { isEmpty as lt } from "./index236.js";
6
+ import { last as ot } from "./index238.js";
7
+ import { matchAnyKey as ne } from "./index239.js";
8
+ import { useArray as nt } from "./index240.js";
9
+ import { useBaseOptions as ut } from "./index241.js";
10
+ import { useCoherence as it } from "./index242.js";
11
+ import { useHashedWatcher as ue } from "./index243.js";
12
+ import { useId as st } from "./index8.js";
13
+ import { useIndexById as ie } from "./index244.js";
14
14
  import { useMounted as rt, useElementSize as dt, useIntersectionObserver as ct } from "./index141.js";
15
15
  import { useItemsGetter as pt } from "./index245.js";
16
- import { useLocale as mt } from "./index235.js";
16
+ import { useLocale as mt } from "./index223.js";
17
17
  import { useMobile as ft } from "./index9.js";
18
- import { usePrefill as vt } from "./index250.js";
18
+ import { usePrefill as vt } from "./index246.js";
19
19
  import { wait as E } from "./index140.js";
20
- import { when as ht } from "./index239.js";
21
- import yt from "./index259.js";
20
+ import { when as ht } from "./index247.js";
21
+ import yt from "./index248.js";
22
22
  /* empty css */
23
- import bt from "./index261.js";
23
+ import bt from "./index250.js";
24
24
  /* empty css */
25
25
  import gt from "./index136.js";
26
26
  /* empty css */
27
27
  import wt from "./index138.js";
28
- import Bt from "./index252.js";
28
+ import Bt from "./index227.js";
29
29
  /* empty css */
30
- import Vt from "./index285.js";
31
- import { useUntil as St } from "./index237.js";
30
+ import Vt from "./index252.js";
31
+ import { useUntil as St } from "./index253.js";
32
32
  import { mapValues as kt } from "./index145.js";
33
33
  const Ct = { class: "bb-base-select__input-container" }, It = {
34
34
  key: 1,
35
35
  class: "bb-base-select__max-reached"
36
- }, Dt = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], sa = /* @__PURE__ */ Qe({
36
+ }, Dt = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], ia = /* @__PURE__ */ Qe({
37
37
  __name: "BaseSelect",
38
38
  props: {
39
39
  allowWriting: { type: [Boolean, String], default: !0 },
@@ -52,6 +52,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
52
52
  hasErrors: { type: Boolean },
53
53
  id: {},
54
54
  items: {},
55
+ itemHeight: {},
55
56
  itemText: {},
56
57
  itemValue: {},
57
58
  loading: { type: Boolean },
@@ -76,15 +77,15 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
76
77
  updateOnAnimationFrame: { type: Boolean, default: !1 }
77
78
  },
78
79
  emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue", "option:add"],
79
- setup(ie, { emit: re }) {
80
- const t = ie, o = re;
80
+ setup(se, { emit: re }) {
81
+ const t = se, o = re;
81
82
  if (t.multiple && !Array.isArray(t.modelValue))
82
83
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
83
- const { t: de } = mt(), ce = rt(), F = f(null), D = f(null), s = f(null), _ = f(null), R = f(null), r = m(
84
- () => t.comma ? _.value : R.value
84
+ const { t: de } = mt(), ce = rt(), F = f(null), D = f(null), i = f(null), R = f(null), _ = f(null), r = m(
85
+ () => t.comma ? R.value : _.value
85
86
  ), { width: pe } = dt(D), { isMobile: me } = ft(), fe = m(
86
87
  () => t.allowWriting === "not-mobile" && me.value ? "none" : void 0
87
- ), j = t.id || it().id.value, { resume: ve, pause: he } = ct(
88
+ ), j = t.id || st().id.value, { resume: ve, pause: he } = ct(
88
89
  D,
89
90
  async ([{ intersectionRatio: e }]) => {
90
91
  e !== 1 && n.value && await k();
@@ -103,34 +104,34 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
103
104
  }, Be = (e) => o("change", e), Ve = (e) => {
104
105
  o("input", e), a.value === "" && (t.multiple || o("update:modelValue", null)), r.value?.blur(), N.value && S(), He(a.value, !1, t.modelValue);
105
106
  }, O = async (e) => {
106
- if (e.target instanceof Node && F.value && !F.value.$el.contains(e.target) && !s.value?.$el?.contains(e.target)) {
107
+ if (e.target instanceof Node && F.value && !F.value.$el.contains(e.target) && !i.value?.$el?.contains(e.target)) {
107
108
  k(), Ue(), document.removeEventListener("click", O), document.removeEventListener("focusin", O), await E(t.transitionDuration), y();
108
109
  return;
109
110
  }
110
- }, B = m(() => !(t.readonly || t.disabled || H.value || !r.value && t.multiple && i.value.length <= t.maxSelectedLabels)), Se = async () => {
111
- B.value && (r.value?.blur(), n.value ? s.value?.focusPrevious() : (await S(), await E(t.transitionDuration), s.value?.focusLastSelected()));
111
+ }, B = m(() => !(t.readonly || t.disabled || H.value || !r.value && t.multiple && s.value.length <= t.maxSelectedLabels)), Se = async () => {
112
+ B.value && (r.value?.blur(), n.value ? i.value?.focusPrevious() : (await S(), await E(t.transitionDuration), i.value?.focusLastSelected()));
112
113
  }, ke = async () => {
113
- B.value && (r.value?.blur(), n.value ? s.value?.focusNext() : (await S(), await E(t.transitionDuration), s.value?.focusFirstSelected()));
114
+ B.value && (r.value?.blur(), n.value ? i.value?.focusNext() : (await S(), await E(t.transitionDuration), i.value?.focusFirstSelected()));
114
115
  }, Ce = (e) => {
115
- if (!B.value || !t.multiple || a.value || (e.preventDefault(), s.value?.blur(), !i.value.length)) return;
116
+ if (!B.value || !t.multiple || a.value || (e.preventDefault(), i.value?.blur(), !s.value.length)) return;
116
117
  r.value?.focusPrevious();
117
118
  const l = r.value?.getHighlighted();
118
- l && s.value?.focusByHash(l.valueHash);
119
+ l && i.value?.focusByHash(l.valueHash);
119
120
  }, Ie = (e) => {
120
- if (!B.value || !t.multiple || a.value || (e.preventDefault(), s.value?.blur(), !i.value.length)) return;
121
+ if (!B.value || !t.multiple || a.value || (e.preventDefault(), i.value?.blur(), !s.value.length)) return;
121
122
  r.value?.focusNext();
122
123
  const l = r.value?.getHighlighted();
123
- l && s.value?.focusByHash(l.valueHash);
124
+ l && i.value?.focusByHash(l.valueHash);
124
125
  }, De = async () => {
125
126
  if (!B.value)
126
127
  return;
127
128
  if (n.value) {
128
- if (s.value?.getHighlighted()) {
129
- s.value.confirmOption();
129
+ if (i.value?.getHighlighted()) {
130
+ i.value.confirmOption();
130
131
  return;
131
132
  }
132
133
  } else {
133
- await S(), await E(t.transitionDuration), i.value.length && s.value?.focusFirstSelected();
134
+ await S(), await E(t.transitionDuration), s.value.length && i.value?.focusFirstSelected();
134
135
  return;
135
136
  }
136
137
  const e = a.value.trim();
@@ -138,7 +139,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
138
139
  }, Oe = async () => {
139
140
  n.value && await k();
140
141
  }, $e = async () => {
141
- !B.value || a.value || !i.value.length || (r.value?.getHighlighted() && r.value.confirmOption(), await U(), r.value?.focusPrevious());
142
+ !B.value || a.value || !s.value.length || (r.value?.getHighlighted() && r.value.confirmOption(), await U(), r.value?.focusPrevious());
142
143
  }, a = f(""), {
143
144
  getter: q,
144
145
  debouncedGetter: He,
@@ -148,7 +149,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
148
149
  items: z(t, "items"),
149
150
  debounce: t.queryDebounceTime
150
151
  }), x = () => {
151
- t.enforceCoherence && !Z.value && (t.multiple ? o("update:modelValue", Ne.value.coherent) : o("update:modelValue", null), r.value?.blur(), s.value?.blur());
152
+ t.enforceCoherence && !Z.value && (t.multiple ? o("update:modelValue", Ne.value.coherent) : o("update:modelValue", null), r.value?.blur(), i.value?.blur());
152
153
  }, {
153
154
  hasPrefilled: J,
154
155
  isPrefilling: Te,
@@ -165,10 +166,10 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
165
166
  add: X,
166
167
  remove: Fe,
167
168
  set: Ae
168
- } = nt(), i = m(() => {
169
+ } = nt(), s = m(() => {
169
170
  const e = kt(M.value, (l, p) => Y.value[p]);
170
171
  return Object.values(e).filter(Boolean);
171
- }), qe = m(() => i.value.length ? "" : t.placeholder), { data: M, get: xe } = se({
172
+ }), qe = m(() => s.value.length ? "" : t.placeholder), { data: M, get: xe } = ie({
172
173
  // Force model value to be an array
173
174
  items: m(() => [].concat(t.modelValue))
174
175
  }), { options: $ } = ut({
@@ -181,7 +182,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
181
182
  selectedIndexedByHash: M
182
183
  }), H = m(() => !!(G.value || t.loading)), Me = m(() => {
183
184
  let e = [];
184
- const l = i.value.some(
185
+ const l = s.value.some(
185
186
  (b) => b.text === a.value
186
187
  );
187
188
  return (t.multiple && a.value || t.filterBy === "not_stashed" && a.value || a.value && !l && !t.multiple) && t.filterBy ? e = $.value.filter((b) => {
@@ -194,7 +195,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
194
195
  return;
195
196
  }
196
197
  let e;
197
- i.value && (e = ot(i.value)), a.value = e?.text || "";
198
+ s.value && (e = ot(s.value)), a.value = e?.text || "";
198
199
  }, Pe = async (e) => {
199
200
  t.multiple ? (o("update:modelValue", t.modelValue.concat(e.value)), t.stash && X(e.item), y()) : (t.stash && Ae(e.item), o("update:modelValue", e.value), await U(), y()), v(), t.multiple || k();
200
201
  }, P = async (e) => {
@@ -204,10 +205,10 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
204
205
  } else
205
206
  o("update:modelValue", null), await U(), y();
206
207
  v();
207
- }, { data: Y } = se({
208
+ }, { data: Y } = ie({
208
209
  items: $,
209
210
  key: "valueHash"
210
- }), { coherent: Z, status: Ne } = st({
211
+ }), { coherent: Z, status: Ne } = it({
211
212
  modelValue: z(t, "modelValue"),
212
213
  multiple: t.multiple,
213
214
  iteratee: (e) => !!Y.value[at(e)]
@@ -238,13 +239,13 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
238
239
  W.value = !0;
239
240
  }, Ue = () => {
240
241
  W.value = !1, o("inactive");
241
- }, _e = (e) => {
242
+ }, Re = (e) => {
242
243
  e.preventDefault(), o("click", e), !(t.disabled || t.readonly) && (v(), ze());
243
- }, Re = ht(
244
+ }, _e = ht(
244
245
  (e) => typeof e != "string",
245
246
  JSON.stringify
246
247
  ), je = m(() => [].concat(t.modelValue).map((e) => {
247
- const l = Re(e);
248
+ const l = _e(e);
248
249
  return {
249
250
  disabled: t.disabled,
250
251
  name: t.name,
@@ -268,7 +269,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
268
269
  "bb-base-select--readonly": e.readonly,
269
270
  "bb-base-select--compact": e.compact
270
271
  }),
271
- onClick: _e
272
+ onClick: Re
272
273
  }, {
273
274
  "prepend-outer": u(() => [
274
275
  d(e.$slots, "prepend-outer", { query: a.value })
@@ -311,21 +312,21 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
311
312
  T(tt, { tag: "span" }, {
312
313
  default: u(() => [
313
314
  L("span", Ct, [
314
- e.multiple && i.value.length <= e.maxSelectedLabels ? (h(), I(ae, { key: 0 }, [
315
+ e.multiple && s.value.length <= e.maxSelectedLabels ? (h(), I(ae, { key: 0 }, [
315
316
  e.comma ? (h(), K(bt, {
316
317
  key: 0,
317
318
  ref_key: "commaBox",
318
- ref: _,
319
- options: i.value,
319
+ ref: R,
320
+ options: s.value,
320
321
  "onOption:unselected": P
321
322
  }, null, 8, ["options"])) : (h(), K(yt, {
322
323
  key: 1,
323
324
  ref_key: "chipsBox",
324
- ref: R,
325
- options: i.value,
325
+ ref: _,
326
+ options: s.value,
326
327
  "onOption:unselected": P
327
328
  }, null, 8, ["options"]))
328
- ], 64)) : e.multiple ? (h(), I("span", It, Ye(e.selectedLabelsFn ? e.selectedLabelsFn(i.value.length) : g(de)("select.multipleMaxReached", i.value.length)), 1)) : te("", !0),
329
+ ], 64)) : e.multiple ? (h(), I("span", It, Ye(e.selectedLabelsFn ? e.selectedLabelsFn(s.value.length) : g(de)("select.multipleMaxReached", s.value.length)), 1)) : te("", !0),
329
330
  Xe((h(), I("input", {
330
331
  id: g(j),
331
332
  key: `${g(ce)}`,
@@ -399,7 +400,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
399
400
  default: u(() => [
400
401
  T(Vt, {
401
402
  ref_key: "optionsContainer",
402
- ref: s,
403
+ ref: i,
403
404
  compact: e.compact,
404
405
  loading: H.value,
405
406
  "loading-text": e.loadingText,
@@ -408,6 +409,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
408
409
  open: n.value,
409
410
  options: Me.value,
410
411
  style: le(ye.value),
412
+ "option-height": e.itemHeight,
411
413
  "onOption:selected": Pe,
412
414
  "onOption:unselected": P
413
415
  }, {
@@ -433,7 +435,7 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
433
435
  }, p))
434
436
  ]),
435
437
  _: 3
436
- }, 8, ["compact", "loading", "loading-text", "multiple", "no-data-text", "open", "options", "style"])
438
+ }, 8, ["compact", "loading", "loading-text", "multiple", "no-data-text", "open", "options", "style", "option-height"])
437
439
  ]),
438
440
  _: 3
439
441
  }, 8, ["modelValue", "anchor", "transition-duration"]),
@@ -447,5 +449,5 @@ const Ct = { class: "bb-base-select__input-container" }, It = {
447
449
  }
448
450
  });
449
451
  export {
450
- sa as default
452
+ ia as default
451
453
  };
package/dist/index39.js CHANGED
@@ -1,11 +1,11 @@
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 "./index269.js";
3
- import { isCssColor as K } from "./index217.js";
4
- import { isNil as x } from "./index270.js";
2
+ import { head as ce } from "./index284.js";
3
+ import { isCssColor as K } from "./index256.js";
4
+ import { isNil as x } from "./index275.js";
5
5
  import { getAsPercentageBetween as S, getAsPercentage as be, getValueFromPercentageInInterval as T } from "./index139.js";
6
- import { snapToStep as ve } from "./index271.js";
7
- import { last as fe } from "./index227.js";
8
- import { transpose as Q } from "./index272.js";
6
+ import { snapToStep as ve } from "./index285.js";
7
+ import { last as fe } from "./index238.js";
8
+ import { transpose as Q } from "./index286.js";
9
9
  import { clamp as m } from "./index215.js";
10
10
  const pe = {
11
11
  key: 0,
package/dist/index41.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 "./index217.js";
3
- import { when as x } from "./index239.js";
2
+ import { isCssColor as p } from "./index256.js";
3
+ import { when as x } from "./index247.js";
4
4
  const M = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ F({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index43.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 "./index41.js";
3
3
  /* empty css */
4
- import N from "./index243.js";
4
+ import N from "./index273.js";
5
5
  /* empty css */
6
6
  import { useItemsGetter as U } from "./index245.js";
7
- import { useIndexById as T } from "./index246.js";
8
- import { useBaseOptions as q } from "./index247.js";
9
- import { useCoherence as J } from "./index248.js";
10
- import { hash as Q } from "./index226.js";
11
- import { useHashedWatcher as $ } from "./index249.js";
12
- import { usePrefill as X } from "./index250.js";
7
+ import { useIndexById as T } from "./index244.js";
8
+ import { useBaseOptions as q } from "./index241.js";
9
+ import { useCoherence as J } from "./index242.js";
10
+ import { hash as Q } from "./index237.js";
11
+ import { useHashedWatcher as $ } from "./index243.js";
12
+ import { usePrefill as X } from "./index246.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.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 "./index112.js";
3
3
  /* empty css */
4
- import { last as le } from "./index227.js";
5
- import { useBaseOptions as ne } from "./index247.js";
6
- import { useIndexById as re } from "./index246.js";
7
- import ie from "./index259.js";
4
+ import { last as le } from "./index238.js";
5
+ import { useBaseOptions as ne } from "./index241.js";
6
+ import { useIndexById as re } from "./index244.js";
7
+ import ie from "./index248.js";
8
8
  /* empty css */
9
- import ue from "./index261.js";
9
+ import ue from "./index250.js";
10
10
  /* empty css */
11
11
  import se from "./index136.js";
12
12
  /* empty css */
13
13
  import de from "./index138.js";
14
- import { isEmpty as pe } from "./index263.js";
14
+ import { isEmpty as pe } from "./index236.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/index49.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 "./index136.js";
3
3
  /* empty css */
4
4
  import I from "./index138.js";
5
- import { MaskInput as z } from "./index256.js";
6
- import { isNotEmpty as D } from "./index257.js";
5
+ import { MaskInput as z } from "./index257.js";
6
+ import { isNotEmpty as D } from "./index258.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/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index86.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index235.js";
6
+ import { useLocale as g } from "./index223.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.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 "./index217.js";
2
+ import { isCssColor as y } from "./index256.js";
3
3
  import { wait as C } from "./index140.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.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 "./index217.js";
3
- import { isNil as B } from "./index270.js";
2
+ import { isCssColor as l } from "./index256.js";
3
+ import { isNil as B } from "./index275.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/index61.js CHANGED
@@ -7,11 +7,11 @@ import f from "./index86.js";
7
7
  /* empty css */
8
8
  import J from "./index114.js";
9
9
  /* empty css */
10
- import { pickBy as K } from "./index240.js";
11
- import { noop as Q } from "./index241.js";
12
- import { useLocale as U } from "./index235.js";
13
- import { extractDomContainer as X } from "./index242.js";
14
- import { isEqual as $ } from "./index219.js";
10
+ import { pickBy as K } from "./index268.js";
11
+ import { noop as Q } from "./index269.js";
12
+ import { useLocale as U } from "./index223.js";
13
+ import { extractDomContainer as X } from "./index270.js";
14
+ import { isEqual as $ } from "./index271.js";
15
15
  const Y = {
16
16
  key: 2,
17
17
  class: "bb-button__loading-label sr-only"
package/dist/index67.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 "./index235.js";
2
+ import { useLocale as f } from "./index223.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/index80.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 x, normalizeProps as ye, mergeProps as q, withCtx as G, 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 "./index251.js";
2
+ import { findRightIndex as R } from "./index279.js";
3
3
  import { useId as Ee } from "./index8.js";
4
- import { useUntil as Le } from "./index237.js";
4
+ import { useUntil as Le } from "./index253.js";
5
5
  import { wait as ke } from "./index140.js";
6
6
  import De from "./index13.js";
7
7
  /* empty css */
8
8
  import ee from "./index86.js";
9
9
  /* empty css */
10
- import $e from "./index252.js";
10
+ import $e from "./index227.js";
11
11
  /* empty css */
12
- import te from "./index254.js";
13
- import { extractDomContainer as H } from "./index242.js";
12
+ import te from "./index280.js";
13
+ import { extractDomContainer as H } from "./index270.js";
14
14
  import { useIntersectionObserver as Ae, useElementSize as Se } from "./index141.js";
15
- import { parseWidthString as Pe } from "./index255.js";
15
+ import { parseWidthString as Pe } from "./index278.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",
package/dist/index82.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index86.js";
9
9
  /* empty css */
10
10
  import I from "./index114.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index235.js";
12
+ import { useLocale as M } from "./index223.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/index84.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 "./index287.js";
2
+ import { findInTree as ae } from "./index282.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index112.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("./index286.js")).default);
56
+ b || (b = (await import("./index281.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index86.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 "./index217.js";
3
- import { get as m } from "./index281.js";
4
- import { useLogger as N } from "./index229.js";
2
+ import { isCssColor as C } from "./index256.js";
3
+ import { get as m } from "./index288.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/index91.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 "./index236.js";
2
+ import { parseSize as R } from "./index267.js";
3
3
  import { useId as $ } from "./index8.js";
4
- import { useLocale as U } from "./index235.js";
4
+ import { useLocale as U } from "./index223.js";
5
5
  import { useMobile as j } from "./index9.js";
6
- import { useUntil as G } from "./index237.js";
6
+ import { useUntil as G } from "./index253.js";
7
7
  import { wait as y } from "./index140.js";
8
8
  import { _config as J } from "./index4.js";
9
9
  const Q = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], X = {
package/dist/index93.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 "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index258.js";
7
- import { useLocale as H } from "./index235.js";
6
+ import { debounce as X } from "./index283.js";
7
+ import { useLocale as H } from "./index223.js";
8
8
  import { useRoute as J } from "./index146.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/index95.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 "./index141.js";
4
- import { useLocale as be } from "./index235.js";
5
- import { useUntil as he } from "./index237.js";
4
+ import { useLocale as be } from "./index223.js";
5
+ import { useUntil as he } from "./index253.js";
6
6
  import ge from "./index13.js";
7
7
  /* empty css */
8
- import we from "./index252.js";
8
+ import we from "./index227.js";
9
9
  /* empty css */
10
- import { extractDomContainer as H } from "./index242.js";
11
- import { parseWidthString as U } from "./index255.js";
10
+ import { extractDomContainer as H } from "./index270.js";
11
+ import { parseWidthString as U } from "./index278.js";
12
12
  const Ee = ["inert"], Le = 500, ye = 10, De = /* @__PURE__ */ re({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbPopover",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.87",
3
+ "version": "2.1.88",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index221.js DELETED
@@ -1,10 +0,0 @@
1
- import { getType as o } from "./index330.js";
2
- function c(e) {
3
- if (o(e) !== "Object")
4
- return !1;
5
- const t = Object.getPrototypeOf(e);
6
- return !!t && t.constructor === Object && t === Object.prototype;
7
- }
8
- export {
9
- c as isPlainObject
10
- };
package/dist/index226.js DELETED
@@ -1,5 +0,0 @@
1
- import { hash as o } from "./index308.js";
2
- const t = (r, h = "bb") => `${h}${o(r)}`;
3
- export {
4
- t as hash
5
- };
package/dist/index249.js DELETED
@@ -1,14 +0,0 @@
1
- import { hash as e } from "./index226.js";
2
- import { debouncedWatch as s } from "./index214.js";
3
- const n = (o, c, h) => {
4
- s(
5
- o,
6
- (r, t) => {
7
- e(r) !== e(t) && c(r, t);
8
- },
9
- h
10
- );
11
- };
12
- export {
13
- n as useHashedWatcher
14
- };
package/dist/index251.js DELETED
@@ -1,11 +0,0 @@
1
- const o = (n, t) => {
2
- for (let e = n.length - 1; e >= 0; e--) {
3
- const i = n[e];
4
- if (t(i, e, n))
5
- return e;
6
- }
7
- return -1;
8
- };
9
- export {
10
- o as findRightIndex
11
- };
package/dist/index274.js DELETED
@@ -1,35 +0,0 @@
1
- import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
2
- /* empty css */
3
- import n from "./index213.js";
4
- const l = {}, s = {
5
- class: "bb-error-icon",
6
- fill: "none",
7
- viewBox: "0 0 20 20",
8
- xmlns: "http://www.w3.org/2000/svg"
9
- };
10
- function i(c, r) {
11
- return t(), e("svg", s, r[0] || (r[0] = [
12
- o("path", {
13
- d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
14
- fill: "currentColor"
15
- }, null, -1),
16
- o("path", {
17
- d: "M9.99414 6.66666V9.99999",
18
- stroke: "white",
19
- "stroke-linecap": "round",
20
- "stroke-linejoin": "round",
21
- "stroke-width": "2"
22
- }, null, -1),
23
- o("path", {
24
- d: "M9.99414 13.3333H10.0025",
25
- stroke: "white",
26
- "stroke-linecap": "round",
27
- "stroke-linejoin": "round",
28
- "stroke-width": "2"
29
- }, null, -1)
30
- ]));
31
- }
32
- const a = /* @__PURE__ */ n(l, [["render", i]]);
33
- export {
34
- a as default
35
- };