bitboss-ui 2.1.136 → 2.1.137

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 (176) hide show
  1. package/dist/ai/BaseNumberInput.md +87 -10
  2. package/dist/ai/BbNumberInput.md +6 -0
  3. package/dist/components/BaseNumberInput/types.d.ts +4 -0
  4. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +2 -0
  5. package/dist/components/BbNumberInput/types.d.ts +4 -0
  6. package/dist/index109.js +9 -9
  7. package/dist/index110.js +18 -18
  8. package/dist/index118.js +1 -1
  9. package/dist/index124.js +3 -3
  10. package/dist/index126.js +14 -14
  11. package/dist/index134.js +2 -2
  12. package/dist/index136.js +4 -4
  13. package/dist/index138.js +1 -1
  14. package/dist/index14.js +1 -1
  15. package/dist/index142.js +2 -2
  16. package/dist/index146.js +1 -1
  17. package/dist/index148.js +2 -2
  18. package/dist/index150.js +1 -1
  19. package/dist/index16.js +3 -3
  20. package/dist/index18.js +3 -3
  21. package/dist/index20.js +9 -9
  22. package/dist/index22.js +14 -14
  23. package/dist/index224.js +2 -138
  24. package/dist/index225.js +138 -2
  25. package/dist/index226.js +2 -2
  26. package/dist/index227.js +1 -1
  27. package/dist/index228.js +1 -1
  28. package/dist/index229.js +3 -86
  29. package/dist/index230.js +88 -0
  30. package/dist/index232.js +28 -15
  31. package/dist/index233.js +15 -49
  32. package/dist/index234.js +48 -15
  33. package/dist/index235.js +18 -3
  34. package/dist/index236.js +3 -12
  35. package/dist/index237.js +11 -17
  36. package/dist/index238.js +18 -8
  37. package/dist/index239.js +8 -4
  38. package/dist/index24.js +10 -10
  39. package/dist/index240.js +2 -13
  40. package/dist/index241.js +2 -20
  41. package/dist/index242.js +3 -34
  42. package/dist/index243.js +5 -2
  43. package/dist/index244.js +5 -2
  44. package/dist/index245.js +5 -3
  45. package/dist/index246.js +5 -5
  46. package/dist/index247.js +2 -5
  47. package/dist/index248.js +6 -5
  48. package/dist/index249.js +268 -5
  49. package/dist/index250.js +52 -5
  50. package/dist/index251.js +52 -5
  51. package/dist/index252.js +32 -3
  52. package/dist/index253.js +57 -157
  53. package/dist/index254.js +15 -0
  54. package/dist/index255.js +188 -5
  55. package/dist/index256.js +3 -2
  56. package/dist/index257.js +3 -5
  57. package/dist/index258.js +18 -266
  58. package/dist/index259.js +25 -52
  59. package/dist/index26.js +4 -4
  60. package/dist/index260.js +8 -52
  61. package/dist/index261.js +12 -31
  62. package/dist/index262.js +13 -60
  63. package/dist/index263.js +160 -7
  64. package/dist/index265.js +4 -3
  65. package/dist/index266.js +23 -4
  66. package/dist/index267.js +33 -9
  67. package/dist/index268.js +28 -44
  68. package/dist/index270.js +9 -25
  69. package/dist/index271.js +2 -188
  70. package/dist/index272.js +2 -3
  71. package/dist/index273.js +7 -2
  72. package/dist/index274.js +7 -3
  73. package/dist/index275.js +2 -4
  74. package/dist/index276.js +5 -373
  75. package/dist/index278.js +3 -8
  76. package/dist/index279.js +5 -13
  77. package/dist/index28.js +1 -1
  78. package/dist/index280.js +5 -13
  79. package/dist/index281.js +5 -11
  80. package/dist/index282.js +3 -18
  81. package/dist/index283.js +6 -11
  82. package/dist/index284.js +61 -100
  83. package/dist/index285.js +11 -0
  84. package/dist/index286.js +20 -99
  85. package/dist/index287.js +6 -0
  86. package/dist/index288.js +100 -101
  87. package/dist/index290.js +100 -33
  88. package/dist/index292.js +5 -0
  89. package/dist/index293.js +33 -8
  90. package/dist/index294.js +18 -23
  91. package/dist/index295.js +11 -7
  92. package/dist/index296.js +107 -6
  93. package/dist/index297.js +11 -16
  94. package/dist/index298.js +373 -9
  95. package/dist/index30.js +134 -105
  96. package/dist/index300.js +44 -3
  97. package/dist/index301.js +52 -20
  98. package/dist/index302.js +5 -66
  99. package/dist/index303.js +6 -2
  100. package/dist/index304.js +16 -7
  101. package/dist/index305.js +9 -7
  102. package/dist/index306.js +23 -6
  103. package/dist/index307.js +8 -5
  104. package/dist/index308.js +3 -2
  105. package/dist/index309.js +17 -3
  106. package/dist/index310.js +25 -14
  107. package/dist/index311.js +5 -28
  108. package/dist/index32.js +2 -2
  109. package/dist/index321.js +1 -1
  110. package/dist/index322.js +1 -1
  111. package/dist/index323.js +1 -1
  112. package/dist/index324.js +1 -1
  113. package/dist/index325.js +1 -1
  114. package/dist/index326.js +3 -5
  115. package/dist/index328.js +7 -125
  116. package/dist/index329.js +3 -2
  117. package/dist/index330.js +2 -15
  118. package/dist/index331.js +125 -2
  119. package/dist/index332.js +2 -19
  120. package/dist/index333.js +15 -2
  121. package/dist/index334.js +2 -3
  122. package/dist/index335.js +19 -3
  123. package/dist/index336.js +2 -5
  124. package/dist/index337.js +4 -4
  125. package/dist/index338.js +5 -0
  126. package/dist/index339.js +3 -7
  127. package/dist/index34.js +8 -8
  128. package/dist/index340.js +5 -3
  129. package/dist/index341.js +2 -3
  130. package/dist/index342.js +1 -1
  131. package/dist/index343.js +1 -1
  132. package/dist/index344.js +4 -719
  133. package/dist/index345.js +716 -363
  134. package/dist/index346.js +366 -57
  135. package/dist/index347.js +57 -2
  136. package/dist/index349.js +5 -7
  137. package/dist/index350.js +7 -5
  138. package/dist/index353.js +1 -1
  139. package/dist/index354.js +1 -1
  140. package/dist/index358.js +221 -86
  141. package/dist/index36.js +4 -4
  142. package/dist/index361.js +86 -221
  143. package/dist/index365.js +4 -4
  144. package/dist/index366.js +3 -3
  145. package/dist/index372.js +1 -1
  146. package/dist/index38.js +21 -21
  147. package/dist/index40.js +7 -7
  148. package/dist/index42.js +2 -2
  149. package/dist/index44.js +8 -8
  150. package/dist/index46.js +6 -6
  151. package/dist/index50.js +2 -2
  152. package/dist/index54.js +1 -1
  153. package/dist/index56.js +1 -1
  154. package/dist/index58.js +2 -2
  155. package/dist/index60.js +2 -2
  156. package/dist/index62.js +5 -5
  157. package/dist/index68.js +1 -1
  158. package/dist/index74.js +4 -4
  159. package/dist/index82.js +7 -7
  160. package/dist/index84.js +1 -1
  161. package/dist/index86.js +2 -2
  162. package/dist/index88.js +3 -3
  163. package/dist/index90.js +1 -1
  164. package/dist/index91.js +8 -6
  165. package/dist/index93.js +4 -4
  166. package/dist/index95.js +2 -2
  167. package/dist/index97.js +5 -5
  168. package/dist/index99.js +1 -1
  169. package/package.json +1 -1
  170. package/dist/index231.js +0 -32
  171. package/dist/index264.js +0 -4
  172. package/dist/index269.js +0 -55
  173. package/dist/index289.js +0 -25
  174. package/dist/index291.js +0 -30
  175. package/dist/index327.js +0 -6
  176. /package/dist/{index299.js → index277.js} +0 -0
@@ -36,7 +36,7 @@
36
36
  :class="'bb-base-number-input__input'"
37
37
  :disabled="disabled"
38
38
  :inputmode="'decimal'"
39
- :name="name"
39
+ :name="enableFormatting ? undefined : name"
40
40
  :placeholder="placeholder"
41
41
  :readonly="readonly"
42
42
  :required="required"
@@ -46,6 +46,13 @@
46
46
  v-bind="eventListeners"
47
47
  @input.stop="onInput"
48
48
  />
49
+ <!-- With formatting the visible text is `12.000,06`: a native form posts the plain number from here. -->
50
+ <input
51
+ v-if="enableFormatting && name"
52
+ :name="name"
53
+ type="hidden"
54
+ :value="modelValue ?? ''"
55
+ />
49
56
  <template #append
50
57
  ><slot :decrease="decrease" :increase="increase" name="append"
51
58
  /></template>
@@ -124,9 +131,32 @@ const increase = () => {
124
131
  const onInput = (event: Event) => {
125
132
  if (!input.value) return;
126
133
  if (event.target instanceof HTMLInputElement) {
127
- const value = event.target.value;
134
+ const el = event.target;
135
+ let value = el.value;
128
136
  emit('input', event);
129
137
 
138
+ // Formatting: count the digits/sign/comma before the caret so it lands
139
+ // in the same spot once the dots are regrouped.
140
+ let caretMarks = 0;
141
+ if (props.enableFormatting) {
142
+ const caret = el.selectionStart ?? value.length;
143
+ const { data, inputType } = event as InputEvent;
144
+ if (data === '.' && !value.includes(',')) {
145
+ // A typed `.` (numpad) is the decimal key.
146
+ value = `${value.slice(0, caret - 1)},${value.slice(caret)}`;
147
+ } else if (
148
+ inputType !== 'insertText' &&
149
+ !value.includes(',') &&
150
+ /^[^.]*\.[^.]*$/.test(value) &&
151
+ !/\.\d{3}$/.test(value)
152
+ ) {
153
+ // A pasted `12000.06`: a lone period that isn't thousands is the decimal.
154
+ value = value.replace('.', ',');
155
+ }
156
+ caretMarks = countMarks(value.slice(0, caret));
157
+ value = value.replaceAll('.', '');
158
+ }
159
+
130
160
  let nextInputValue = value;
131
161
  nextInputValue = limitLength(nextInputValue);
132
162
  nextInputValue = replaceCommaWithPeriod(nextInputValue);
@@ -142,10 +172,22 @@ const onInput = (event: Event) => {
142
172
  }
143
173
  emit('update:modelValue', valueToEmit);
144
174
  const clamped = clampPrecision(nextInputValue, props.maxPrecision);
145
- input.value.value = clamped;
175
+ const text = toEditText(clamped);
176
+ input.value.value = text;
177
+ if (props.enableFormatting) {
178
+ let caret = 0;
179
+ while (
180
+ caret < text.length &&
181
+ countMarks(text.slice(0, caret)) < caretMarks
182
+ )
183
+ caret++;
184
+ el.setSelectionRange(caret, caret);
185
+ }
146
186
  }
147
187
  };
148
188
 
189
+ const countMarks = (text: string) => text.replaceAll(/[^\d,-]/g, '').length;
190
+
149
191
  const onKeydown = (event: KeyboardEvent) => {
150
192
  if (event.key === 'ArrowUp') {
151
193
  event.preventDefault();
@@ -209,7 +251,13 @@ const makeValidNumberString = (value: string): string => {
209
251
  * These events are just propagated
210
252
  */
211
253
  const eventListeners = {
212
- onBlur: (event: FocusEvent) => emit('blur', event),
254
+ onBlur: (event: FocusEvent) => {
255
+ // Formatting: drop a half-typed `12,` / `1,50` for the clean value.
256
+ if (props.enableFormatting && input.value) {
257
+ input.value.value = toEditText(props.modelValue);
258
+ }
259
+ emit('blur', event);
260
+ },
213
261
  onChange: (event: Event) => emit('change', event),
214
262
  onClick: (event: MouseEvent) => emit('click', event),
215
263
  onFocus: (event: FocusEvent) => emit('focus', event),
@@ -222,10 +270,38 @@ const eventListeners = {
222
270
  onMouseup: (event: MouseEvent) => emit('mouseup', event),
223
271
  };
224
272
 
273
+ /**
274
+ * The text for a value. `enableFormatting` prints Italian marks, also while
275
+ * typing: `12000.06` → `12.000,06`, a partial `-1234.` → `-1.234,`.
276
+ */
277
+ const toEditText = (value: string | number | null): string => {
278
+ if (isNil(value)) return '';
279
+ if (!props.enableFormatting) return value.toString();
280
+ const text =
281
+ typeof value === 'number'
282
+ ? value.toLocaleString('en-US', {
283
+ useGrouping: false,
284
+ maximumFractionDigits: Math.min(props.maxPrecision, 20),
285
+ })
286
+ : value;
287
+ const [int, dec] = text.split('.');
288
+ const grouped = int.replace(/\B(?=(\d{3})+(?!\d))/g, '.');
289
+ return dec === undefined ? grouped : `${grouped},${dec}`;
290
+ };
291
+
292
+ /** The field's text as a period-decimal string (formatting drops the grouping dots). */
293
+ const plainText = (text: string) =>
294
+ props.enableFormatting ? text.replaceAll('.', '').replace(',', '.') : text;
295
+
225
296
  const alignInputValue = (value: string | number | null) => {
226
297
  if (isNil(input.value)) return;
227
298
 
228
- const currentValue = input.value.value;
299
+ if (props.enableFormatting && document.activeElement !== input.value) {
300
+ input.value.value = toEditText(value);
301
+ return;
302
+ }
303
+
304
+ const currentValue = plainText(input.value.value);
229
305
  // This is triggered while the user is writing numbers like -0.75
230
306
  if (
231
307
  !isNil(value) &&
@@ -235,11 +311,7 @@ const alignInputValue = (value: string | number | null) => {
235
311
  return;
236
312
  }
237
313
 
238
- let nextValue = value;
239
- if (isNil(nextValue)) {
240
- nextValue = '';
241
- }
242
- input.value.value = nextValue?.toString() || '';
314
+ input.value.value = toEditText(value);
243
315
  };
244
316
 
245
317
  watchPostEffect(() => {
@@ -303,6 +375,11 @@ export type BaseNumberInputProps = {
303
375
  */
304
376
  disabled?: boolean;
305
377
 
378
+ /**
379
+ * Print the value with Italian formatting (`12.000,06`), also while typing. The v-model stays a plain number (`12000.06`).
380
+ */
381
+ enableFormatting?: boolean;
382
+
306
383
  /**
307
384
  * Force the error state; also toggles `aria-invalid`.
308
385
  */
@@ -32,6 +32,7 @@
32
32
  :clearable="clearable"
33
33
  :compact="compact"
34
34
  :disabled="disabled"
35
+ :enable-formatting="enableFormatting"
35
36
  :has-errors="hasErrors"
36
37
  :loading="loading"
37
38
  :max="max"
@@ -174,6 +175,11 @@ export type BbNumberInputProps = {
174
175
  */
175
176
  disabled?: boolean;
176
177
 
178
+ /**
179
+ * Print the value with Italian formatting (`12.000,06`), also while typing. The v-model stays a plain number (`12000.06`).
180
+ */
181
+ enableFormatting?: boolean;
182
+
177
183
  /**
178
184
  * Can be a string or an array of string containing the messages to display.
179
185
  */
@@ -33,6 +33,10 @@ export type BaseNumberInputProps = {
33
33
  * Disable manual input and the exposed increase/decrease helpers.
34
34
  */
35
35
  disabled?: boolean;
36
+ /**
37
+ * Print the value with Italian formatting (`12.000,06`), also while typing. The v-model stays a plain number (`12000.06`).
38
+ */
39
+ enableFormatting?: boolean;
36
40
  /**
37
41
  * Force the error state; also toggles `aria-invalid`.
38
42
  */
@@ -18,6 +18,7 @@ declare function __VLS_template(): {
18
18
  readonly clearable?: boolean | undefined;
19
19
  readonly compact?: boolean | undefined;
20
20
  readonly disabled?: boolean | undefined;
21
+ readonly enableFormatting?: boolean | undefined;
21
22
  readonly hasErrors?: boolean | undefined;
22
23
  readonly id?: string | undefined;
23
24
  readonly loading?: boolean | undefined;
@@ -185,6 +186,7 @@ declare const __VLS_component: import('vue').DefineComponent<BbNumberInputProps,
185
186
  readonly clearable?: boolean | undefined;
186
187
  readonly compact?: boolean | undefined;
187
188
  readonly disabled?: boolean | undefined;
189
+ readonly enableFormatting?: boolean | undefined;
188
190
  readonly hasErrors?: boolean | undefined;
189
191
  readonly id?: string | undefined;
190
192
  readonly loading?: boolean | undefined;
@@ -30,6 +30,10 @@ export type BbNumberInputProps = {
30
30
  * Disables the component.
31
31
  */
32
32
  disabled?: boolean;
33
+ /**
34
+ * Print the value with Italian formatting (`12.000,06`), also while typing. The v-model stays a plain number (`12000.06`).
35
+ */
36
+ enableFormatting?: boolean;
33
37
  /**
34
38
  * Can be a string or an array of string containing the messages to display.
35
39
  */
package/dist/index109.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as D, computed as b, toRef as r, ref as E, reactive as L, watch as m, createElementBlock as V, openBlock as g, Fragment as B, renderSlot as i, createCommentVNode as P, unref as R, renderList as j } from "vue";
2
- import { useItemValue as G } from "./index267.js";
3
- import { isNil as k } from "./index264.js";
4
- import { indexBy as U } from "./index301.js";
5
- import { hash as p } from "./index235.js";
6
- import { useItemsGetter as W } from "./index231.js";
7
- import { usePrefill as q } from "./index237.js";
8
- import { useIndexById as z } from "./index232.js";
9
- import { useBaseOptions as J } from "./index233.js";
10
- import { useHashedWatcher as K } from "./index236.js";
2
+ import { useItemValue as G } from "./index285.js";
3
+ import { isNil as k } from "./index272.js";
4
+ import { indexBy as U } from "./index286.js";
5
+ import { hash as p } from "./index236.js";
6
+ import { useItemsGetter as W } from "./index232.js";
7
+ import { usePrefill as q } from "./index238.js";
8
+ import { useIndexById as z } from "./index233.js";
9
+ import { useBaseOptions as J } from "./index234.js";
10
+ import { useHashedWatcher as K } from "./index237.js";
11
11
  const oe = /* @__PURE__ */ D({
12
12
  __name: "BbRows",
13
13
  props: {
package/dist/index110.js CHANGED
@@ -1,31 +1,31 @@
1
1
  import { defineComponent as at, ref as f, computed as l, watch as Q, toRef as X, onBeforeUnmount as rt, createElementBlock as Y, openBlock as Z, Fragment as nt, renderSlot as m, createCommentVNode as it, createVNode as F, normalizeProps as ge, mergeProps as ee, withCtx as g, createElementVNode as L, withDirectives as lt, withKeys as h, withModifiers as c, unref as I, vModelDynamic as st, guardReactiveProps as ut, nextTick as we } from "vue";
2
- import { extractDomContainer as dt } from "./index275.js";
3
- import { get as ct } from "./index281.js";
4
- import { hash as te } from "./index235.js";
5
- import { isNil as pt } from "./index264.js";
6
- import { matchAnyKey as Be } from "./index282.js";
7
- import { parseWidthString as vt } from "./index289.js";
8
- import { useArray as ft } from "./index283.js";
9
- import { useBaseOptions as mt } from "./index233.js";
10
- import { useCoherence as ht } from "./index234.js";
2
+ import { extractDomContainer as dt } from "./index265.js";
3
+ import { get as ct } from "./index297.js";
4
+ import { hash as te } from "./index236.js";
5
+ import { isNil as pt } from "./index272.js";
6
+ import { matchAnyKey as Be } from "./index294.js";
7
+ import { parseWidthString as vt } from "./index266.js";
8
+ import { useArray as ft } from "./index295.js";
9
+ import { useBaseOptions as mt } from "./index234.js";
10
+ import { useCoherence as ht } from "./index235.js";
11
11
  import { useElementSize as bt, useIntersectionObserver as yt } from "./index148.js";
12
- import { useHashedWatcher as Ae } from "./index236.js";
12
+ import { useHashedWatcher as Ae } from "./index237.js";
13
13
  import { useId as gt } from "./index8.js";
14
- import { useIndexById as Ie } from "./index232.js";
15
- import { useItemsGetter as wt } from "./index231.js";
14
+ import { useIndexById as Ie } from "./index233.js";
15
+ import { useItemsGetter as wt } from "./index232.js";
16
16
  import { useMobile as Bt } from "./index9.js";
17
- import { usePrefill as At } from "./index237.js";
18
- import { useUntil as It } from "./index280.js";
17
+ import { usePrefill as At } from "./index238.js";
18
+ import { useUntil as It } from "./index262.js";
19
19
  import { wait as H } from "./index147.js";
20
20
  /* empty css */
21
21
  /* empty css */
22
22
  import Vt from "./index118.js";
23
23
  /* empty css */
24
- import Et from "./index253.js";
24
+ import Et from "./index263.js";
25
25
  /* empty css */
26
- import xt from "./index290.js";
27
- import St from "./index288.js";
28
- import { waitFor as kt } from "./index306.js";
26
+ import xt from "./index267.js";
27
+ import St from "./index296.js";
28
+ import { waitFor as kt } from "./index302.js";
29
29
  const Dt = {
30
30
  key: 0,
31
31
  class: "bb-select-popover__search-container"
package/dist/index118.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as s, createElementBlock as b, openBlock as _, mergeProps as a, createStaticVNode as x } from "vue";
2
- import { isCssColor as m } from "./index243.js";
2
+ import { isCssColor as m } from "./index240.js";
3
3
  const d = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index124.js CHANGED
@@ -8,11 +8,11 @@ import Ie from "./index14.js";
8
8
  import Ce from "./index116.js";
9
9
  /* empty css */
10
10
  import { useFrameworkDetection as Be } from "./index149.js";
11
- import { isNil as Te } from "./index264.js";
11
+ import { isNil as Te } from "./index272.js";
12
12
  import { useQuery as qe } from "./index11.js";
13
- import { hash as Le } from "./index235.js";
13
+ import { hash as Le } from "./index236.js";
14
14
  import { isNotNil as Fe } from "./index152.js";
15
- import { useLogger as Ve } from "./index238.js";
15
+ import { useLogger as Ve } from "./index239.js";
16
16
  const Ee = ["id"], Ne = { class: "bb-tab__label-boundary" }, Pe = { class: "bb-tab__label" }, Re = { class: "bb-tab__panes-container" }, Ke = ["id", "aria-labelledby", "tabindex"], lt = /* @__PURE__ */ ue({
17
17
  __name: "BbTab",
18
18
  props: {
package/dist/index126.js CHANGED
@@ -1,23 +1,23 @@
1
1
  import { defineComponent as Vt, mergeModels as Ue, ref as R, computed as c, reactive as Ge, onMounted as Bt, nextTick as Je, onBeforeUnmount as St, watch as te, toRef as ge, useModel as Qe, createBlock as Xe, openBlock as o, resolveDynamicComponent as Et, normalizeStyle as N, unref as T, normalizeClass as g, withCtx as Ht, createElementBlock as r, createCommentVNode as w, createElementVNode as d, toDisplayString as C, Fragment as I, renderList as E, renderSlot as _, createVNode as Ye, createTextVNode as Rt, mergeProps as Nt } from "vue";
2
- import { clamp as Lt } from "./index225.js";
3
- import { hash as le } from "./index235.js";
4
- import { isNil as L } from "./index264.js";
5
- import { when as Mt } from "./index266.js";
2
+ import { clamp as Lt } from "./index226.js";
3
+ import { hash as le } from "./index236.js";
4
+ import { isNil as L } from "./index272.js";
5
+ import { when as Mt } from "./index287.js";
6
6
  import { useId as Ot } from "./index8.js";
7
- import { useItemValue as Wt } from "./index267.js";
8
- import { useItemsGetter as Dt } from "./index231.js";
9
- import { usePrefill as Ft } from "./index237.js";
10
- import { useIndexById as Ze } from "./index232.js";
11
- import { useBaseOptions as Pt } from "./index233.js";
12
- import { useHashedWatcher as zt } from "./index236.js";
13
- import { useTableWidthContext as qt } from "./index268.js";
14
- import { useLocale as jt } from "./index240.js";
7
+ import { useItemValue as Wt } from "./index285.js";
8
+ import { useItemsGetter as Dt } from "./index232.js";
9
+ import { usePrefill as Ft } from "./index238.js";
10
+ import { useIndexById as Ze } from "./index233.js";
11
+ import { useBaseOptions as Pt } from "./index234.js";
12
+ import { useHashedWatcher as zt } from "./index237.js";
13
+ import { useTableWidthContext as qt } from "./index300.js";
14
+ import { useLocale as jt } from "./index254.js";
15
15
  import et from "./index18.js";
16
16
  /* empty css */
17
17
  import Kt from "./index32.js";
18
18
  /* empty css */
19
- import { columnKeyToSlotName as Ut, mergeHeaderClasses as Gt, applyFixedTableColumns as Jt, mergeCellClasses as Qt } from "./index269.js";
20
- import { useLogger as Xt } from "./index238.js";
19
+ import { columnKeyToSlotName as Ut, mergeHeaderClasses as Gt, applyFixedTableColumns as Jt, mergeCellClasses as Qt } from "./index301.js";
20
+ import { useLogger as Xt } from "./index239.js";
21
21
  const Yt = {
22
22
  key: 0,
23
23
  class: "sr-only"
package/dist/index134.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, ref as i, onMounted as m, watch as f, createBlock as c, openBlock as t, Teleport as u, unref as o, createElementVNode as d, normalizeClass as _, createVNode as b, TransitionGroup as h, withCtx as k, createElementBlock as v, Fragment as y, renderList as C, mergeProps as w } from "vue";
2
2
  import { useToast as B, state as P } from "./index12.js";
3
- import { topLayerHost as r } from "./index278.js";
4
- import T from "./index302.js";
3
+ import { topLayerHost as r } from "./index260.js";
4
+ import T from "./index284.js";
5
5
  const g = /* @__PURE__ */ l({
6
6
  __name: "BbToast",
7
7
  props: {
package/dist/index136.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as I, mergeModels as F, useSlots as j, ref as $, computed as v, useTemplateRef as q, useModel as G, watch as f, onMounted as H, onBeforeUnmount as J, createElementBlock as k, openBlock as C, Fragment as K, createCommentVNode as D, renderSlot as S, createVNode as Q, toDisplayString as P, normalizeProps as X, mergeProps as M, withCtx as Y, createElementVNode as Z, normalizeStyle as _, createTextVNode as ee, Comment as te } from "vue";
2
2
  import { useId as oe } from "./index8.js";
3
- import { useUntil as re } from "./index280.js";
4
- import ae from "./index253.js";
3
+ import { useUntil as re } from "./index262.js";
4
+ import ae from "./index263.js";
5
5
  /* empty css */
6
6
  import { useElementSize as ne } from "./index148.js";
7
- import { extractDomContainer as N } from "./index275.js";
8
- import { parseWidthString as ie } from "./index289.js";
7
+ import { extractDomContainer as N } from "./index265.js";
8
+ import { parseWidthString as ie } from "./index266.js";
9
9
  const fe = /* @__PURE__ */ I({
10
10
  inheritAttrs: !1,
11
11
  __name: "BbTooltip",
package/dist/index138.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock 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 "./index307.js";
2
+ import { flattenTree as T } from "./index276.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/index14.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, getCurrentInstance as P, computed as r, createBlock as c, openBlock as i, mergeProps as f, withCtx as v, renderSlot as d, createTextVNode as p, toDisplayString as h, resolveDynamicComponent as b } from "vue";
2
- import R from "./index242.js";
2
+ import R from "./index293.js";
3
3
  import { useFrameworkDetection as _ } from "./index149.js";
4
4
  import { _config as g } from "./index4.js";
5
5
  const D = /* @__PURE__ */ w({
package/dist/index142.js CHANGED
@@ -5,8 +5,8 @@ import u from "./index88.js";
5
5
  /* empty css */
6
6
  import I from "./index118.js";
7
7
  /* empty css */
8
- import N from "./index290.js";
9
- import g from "./index291.js";
8
+ import N from "./index267.js";
9
+ import g from "./index268.js";
10
10
  /* empty css */
11
11
  const h = { class: "bb-common-input-inner-container__prefix" }, B = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
12
12
  __name: "CommonInputInnerContainer",
package/dist/index146.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as s } from "./index225.js";
1
+ import { clamp as s } from "./index226.js";
2
2
  const o = (n, e, r = !1) => {
3
3
  const t = n * 100 / e;
4
4
  return r ? s(t, 0, 100) : t;
package/dist/index148.js CHANGED
@@ -1,5 +1,5 @@
1
- import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index224.js";
2
- import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index224.js";
1
+ import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index225.js";
2
+ import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index225.js";
3
3
  import { shallowRef as S, getCurrentInstance as ue, onMounted as se, computed as g, watch as B, toValue as w, reactive as U, ref as J, watchEffect as re, hasInjectionContext as ie, unref as ce } from "vue";
4
4
  const R = ee ? window : void 0;
5
5
  function W(o) {
package/dist/index150.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index226.js";
1
+ import { urlAlphabet as l } from "./index224.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
package/dist/index16.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as $, ref as d, computed as i, createBlock as C, openBlock as g, normalizeClass as M, withCtx as n, createVNode as b, unref as p, withDirectives as I, createElementVNode as t, mergeProps as f, renderSlot as s } from "vue";
2
- import { isHex as q } from "./index239.js";
2
+ import { isHex as q } from "./index257.js";
3
3
  import { isNotNil as D } from "./index152.js";
4
4
  import { useId as E } from "./index8.js";
5
- import { useLocale as N } from "./index240.js";
6
- import { vMaska as L } from "./index241.js";
5
+ import { useLocale as N } from "./index254.js";
6
+ import { vMaska as L } from "./index258.js";
7
7
  import P from "./index74.js";
8
8
  import z from "./index142.js";
9
9
  /* empty css */
package/dist/index18.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as F, ref as d, computed as t, watch as L, createElementBlock as n, openBlock as s, normalizeProps as b, guardReactiveProps as f, createCommentVNode as M, createElementVNode as k, mergeProps as v, renderSlot as q } from "vue";
2
- import { isCssColor as y } from "./index243.js";
3
- import { booleanishToBoolean as A } from "./index244.js";
4
- import { isEqual as N } from "./index245.js";
2
+ import { isCssColor as y } from "./index240.js";
3
+ import { booleanishToBoolean as A } from "./index241.js";
4
+ import { isEqual as N } from "./index242.js";
5
5
  const P = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index20.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as z, ref as B, toRef as p, computed as R, createBlock as W, openBlock as K, unref as T, withCtx as n, renderSlot as l, normalizeProps as f, guardReactiveProps as h, createVNode as N, mergeProps as C } from "vue";
2
2
  import U from "./index18.js";
3
3
  /* empty css */
4
- import q from "./index229.js";
4
+ import q from "./index230.js";
5
5
  /* empty css */
6
- import { useItemsGetter as J } from "./index231.js";
7
- import { useIndexById as $ } from "./index232.js";
8
- import { useBaseOptions as Q } from "./index233.js";
9
- import { useCoherence as X } from "./index234.js";
10
- import { hash as Y } from "./index235.js";
11
- import { useHashedWatcher as w } from "./index236.js";
12
- import { usePrefill as Z } from "./index237.js";
13
- import { useLogger as _ } from "./index238.js";
6
+ import { useItemsGetter as J } from "./index232.js";
7
+ import { useIndexById as $ } from "./index233.js";
8
+ import { useBaseOptions as Q } from "./index234.js";
9
+ import { useCoherence as X } from "./index235.js";
10
+ import { hash as Y } from "./index236.js";
11
+ import { useHashedWatcher as w } from "./index237.js";
12
+ import { usePrefill as Z } from "./index238.js";
13
+ import { useLogger as _ } from "./index239.js";
14
14
  const fe = /* @__PURE__ */ z({
15
15
  __name: "BaseCheckboxGroup",
16
16
  props: {
package/dist/index22.js CHANGED
@@ -5,20 +5,20 @@ import { _config as Q } from "./index4.js";
5
5
  import { useId as X } from "./index8.js";
6
6
  import b from "./index14.js";
7
7
  /* empty css */
8
- import d from "./index246.js";
9
- import ee from "./index249.js";
10
- import ae from "./index250.js";
11
- import te from "./index255.js";
12
- import { hash as B } from "./index235.js";
13
- import { last as le } from "./index256.js";
14
- import { validateDateFormat as L } from "./index257.js";
15
- import { useLogger as oe } from "./index238.js";
16
- import re from "./index258.js";
17
- import se from "./index259.js";
18
- import de from "./index260.js";
19
- import S from "./index261.js";
20
- import ie from "./index262.js";
21
- import { useLocale as ne } from "./index240.js";
8
+ import d from "./index243.js";
9
+ import ee from "./index244.js";
10
+ import ae from "./index245.js";
11
+ import te from "./index246.js";
12
+ import { hash as B } from "./index236.js";
13
+ import { last as le } from "./index247.js";
14
+ import { validateDateFormat as L } from "./index248.js";
15
+ import { useLogger as oe } from "./index239.js";
16
+ import re from "./index249.js";
17
+ import se from "./index250.js";
18
+ import de from "./index251.js";
19
+ import S from "./index252.js";
20
+ import ie from "./index253.js";
21
+ import { useLocale as ne } from "./index254.js";
22
22
  const ue = { class: "bb-base-date-picker" }, me = { class: "bb-base-date-picker__body" }, ce = { class: "bb-base-date-picker__controls" }, pe = { class: "sr-only" }, fe = { class: "sr-only" }, be = { class: "sr-only" }, ve = {
23
23
  style: { transform: "rotate(180deg)" },
24
24
  viewBox: "0 0 24 24",