bitboss-ui 2.1.82 → 2.1.84

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 (177) hide show
  1. package/dist/index107.js +9 -9
  2. package/dist/index112.js +1 -1
  3. package/dist/index114.js +1 -1
  4. package/dist/index120.js +1 -1
  5. package/dist/index122.js +68 -68
  6. package/dist/index13.js +2 -2
  7. package/dist/index130.js +1 -1
  8. package/dist/index132.js +5 -5
  9. package/dist/index134.js +1 -1
  10. package/dist/index136.js +2 -2
  11. package/dist/index139.js +1 -1
  12. package/dist/index142.js +1 -1
  13. package/dist/index15.js +5 -5
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +8 -8
  16. package/dist/index21.js +14 -14
  17. package/dist/index215.js +2 -2
  18. package/dist/index216.js +2 -2
  19. package/dist/index217.js +1 -1
  20. package/dist/index218.js +1 -1
  21. package/dist/index219.js +2 -86
  22. package/dist/index220.js +4 -0
  23. package/dist/index221.js +3 -29
  24. package/dist/index222.js +5 -17
  25. package/dist/index223.js +5 -51
  26. package/dist/index224.js +5 -15
  27. package/dist/index225.js +5 -3
  28. package/dist/index226.js +5 -12
  29. package/dist/index227.js +5 -16
  30. package/dist/index228.js +2 -4
  31. package/dist/index229.js +3 -13
  32. package/dist/index23.js +11 -11
  33. package/dist/index230.js +13 -20
  34. package/dist/index231.js +18 -199
  35. package/dist/{index233.js → index232.js} +2 -2
  36. package/dist/index234.js +36 -0
  37. package/dist/index235.js +9 -2
  38. package/dist/index236.js +13 -2
  39. package/dist/index237.js +13 -3
  40. package/dist/index238.js +33 -2
  41. package/dist/index239.js +28 -2
  42. package/dist/index241.js +7 -2
  43. package/dist/index242.js +2 -7
  44. package/dist/index243.js +86 -5
  45. package/dist/index245.js +29 -5
  46. package/dist/index246.js +17 -5
  47. package/dist/index247.js +51 -5
  48. package/dist/index248.js +15 -5
  49. package/dist/index249.js +3 -2
  50. package/dist/index25.js +3 -3
  51. package/dist/index250.js +12 -3
  52. package/dist/index251.js +15 -12
  53. package/dist/index252.js +5 -13
  54. package/dist/index253.js +2 -10
  55. package/dist/index254.js +6 -3
  56. package/dist/index255.js +8 -4
  57. package/dist/index256.js +264 -30
  58. package/dist/index257.js +52 -9
  59. package/dist/index258.js +52 -33
  60. package/dist/index259.js +30 -26
  61. package/dist/index260.js +62 -0
  62. package/dist/index261.js +5 -3
  63. package/dist/index262.js +187 -6
  64. package/dist/index263.js +3 -4
  65. package/dist/index264.js +67 -5
  66. package/dist/index265.js +3 -188
  67. package/dist/index266.js +4 -3
  68. package/dist/index267.js +9 -9
  69. package/dist/index268.js +40 -66
  70. package/dist/index269.js +4 -6
  71. package/dist/index27.js +1 -1
  72. package/dist/index270.js +199 -14
  73. package/dist/index272.js +3 -8
  74. package/dist/index273.js +11 -106
  75. package/dist/index274.js +108 -0
  76. package/dist/{index275.js → index276.js} +2 -2
  77. package/dist/index278.js +3 -5
  78. package/dist/index279.js +21 -266
  79. package/dist/index280.js +7 -51
  80. package/dist/index281.js +8 -51
  81. package/dist/index282.js +23 -32
  82. package/dist/index283.js +2 -60
  83. package/dist/index284.js +6 -22
  84. package/dist/index285.js +7 -9
  85. package/dist/index286.js +9 -23
  86. package/dist/index287.js +6 -9
  87. package/dist/index288.js +15 -40
  88. package/dist/index289.js +1 -1
  89. package/dist/index29.js +3 -3
  90. package/dist/index291.js +3 -3
  91. package/dist/index292.js +10 -3
  92. package/dist/index293.js +3 -8
  93. package/dist/index295.js +1 -1
  94. package/dist/index296.js +280 -3
  95. package/dist/index297.js +2 -17
  96. package/dist/index298.js +123 -26
  97. package/dist/index299.js +2 -3
  98. package/dist/index300.js +15 -3
  99. package/dist/index301.js +2 -7
  100. package/dist/index302.js +16 -5
  101. package/dist/index303.js +2 -4
  102. package/dist/index304.js +16 -2
  103. package/dist/index305.js +2 -280
  104. package/dist/index306.js +19 -2
  105. package/dist/index307.js +2 -125
  106. package/dist/index308.js +3 -2
  107. package/dist/index309.js +7 -15
  108. package/dist/index31.js +2 -2
  109. package/dist/index310.js +2 -2
  110. package/dist/index311.js +2 -16
  111. package/dist/index312.js +27 -2
  112. package/dist/index313.js +2 -16
  113. package/dist/index314.js +2 -2
  114. package/dist/index315.js +2 -19
  115. package/dist/index316.js +2 -2
  116. package/dist/index317.js +1 -1
  117. package/dist/index318.js +28 -719
  118. package/dist/index319.js +2 -366
  119. package/dist/index320.js +3 -57
  120. package/dist/index321.js +17 -27
  121. package/dist/index322.js +4 -2
  122. package/dist/index323.js +5 -2
  123. package/dist/index324.js +3 -2
  124. package/dist/index325.js +4 -2
  125. package/dist/index326.js +5 -2
  126. package/dist/index327.js +6 -2
  127. package/dist/index328.js +3 -4
  128. package/dist/index329.js +1 -1
  129. package/dist/index33.js +8 -8
  130. package/dist/index330.js +719 -3
  131. package/dist/index331.js +366 -6
  132. package/dist/index332.js +57 -2
  133. package/dist/index333.js +2 -5
  134. package/dist/index336.js +2 -2
  135. package/dist/index337.js +1 -1
  136. package/dist/index338.js +6 -7
  137. package/dist/index339.js +18 -5
  138. package/dist/index340.js +9 -8
  139. package/dist/index341.js +14 -57
  140. package/dist/index342.js +5 -58
  141. package/dist/index343.js +6 -92
  142. package/dist/index344.js +58 -5
  143. package/dist/index345.js +58 -7
  144. package/dist/index346.js +226 -17
  145. package/dist/index347.js +132 -7
  146. package/dist/index348.js +21 -14
  147. package/dist/index35.js +4 -4
  148. package/dist/index350.js +6 -132
  149. package/dist/index351.js +6 -22
  150. package/dist/index352.js +10 -0
  151. package/dist/index353.js +86 -221
  152. package/dist/index37.js +15 -15
  153. package/dist/index39.js +7 -7
  154. package/dist/index41.js +2 -2
  155. package/dist/index43.js +8 -8
  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/index88.js +1 -1
  168. package/dist/index91.js +3 -3
  169. package/dist/index93.js +2 -2
  170. package/dist/index95.js +5 -5
  171. package/dist/index97.js +1 -1
  172. package/package.json +1 -1
  173. package/dist/index240.js +0 -9
  174. package/dist/index244.js +0 -7
  175. package/dist/index271.js +0 -13
  176. package/dist/index277.js +0 -7
  177. package/dist/index349.js +0 -9
package/dist/index107.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as D, computed as V, toRef as r, ref as E, reactive as L, watch as m, createElementBlock as b, openBlock as B, Fragment as g, renderSlot as i, createCommentVNode as P, unref as R, renderList as j } from "vue";
2
- import { useItemValue as G } from "./index287.js";
3
- import { isNil as k } from "./index239.js";
4
- import { indexBy as U } from "./index293.js";
5
- import { hash as p } from "./index225.js";
6
- import { useItemsGetter as W } from "./index221.js";
7
- import { usePrefill as q } from "./index227.js";
8
- import { useIndexById as z } from "./index222.js";
9
- import { useBaseOptions as J } from "./index223.js";
10
- import { useHashedWatcher as K } from "./index226.js";
2
+ import { useItemValue as G } from "./index267.js";
3
+ import { isNil as k } from "./index242.js";
4
+ import { indexBy as U } from "./index280.js";
5
+ import { hash as p } from "./index249.js";
6
+ import { useItemsGetter as W } from "./index245.js";
7
+ import { usePrefill as q } from "./index251.js";
8
+ import { useIndexById as z } from "./index246.js";
9
+ import { useBaseOptions as J } from "./index247.js";
10
+ import { useHashedWatcher as K } from "./index250.js";
11
11
  const oe = /* @__PURE__ */ D({
12
12
  __name: "BbRows",
13
13
  props: {
package/dist/index112.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as a, onMounted as m, onBeforeUnmount as p, createBlock as i, openBlock as l, resolveDynamicComponent as u, normalizeStyle as d, withCtx as f, renderSlot as h } from "vue";
2
- import { throttle as g } from "./index261.js";
2
+ import { throttle as g } from "./index272.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index114.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 "./index235.js";
2
+ import { isCssColor as m } from "./index219.js";
3
3
  const d = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index120.js CHANGED
@@ -8,7 +8,7 @@ import fe from "./index13.js";
8
8
  /* empty css */
9
9
  import be from "./index112.js";
10
10
  /* empty css */
11
- import { useFrameworkDetection as he } from "./index257.js";
11
+ import { useFrameworkDetection as he } from "./index235.js";
12
12
  const me = ["id"], ye = { class: "bb-tab__label-boundary" }, ve = { class: "bb-tab__label" }, pe = { class: "bb-tab__panes-container" }, ke = ["id", "aria-labelledby"], Re = /* @__PURE__ */ j({
13
13
  __name: "BbTab",
14
14
  props: {
package/dist/index122.js CHANGED
@@ -1,22 +1,22 @@
1
- import { defineComponent as he, mergeModels as X, ref as ke, computed as u, toRef as R, useModel as Y, watch as O, reactive as ge, createBlock as Z, openBlock as s, resolveDynamicComponent as xe, normalizeClass as i, withCtx as we, createElementBlock as n, createCommentVNode as p, createElementVNode as o, toDisplayString as m, renderSlot as c, unref as y, Fragment as h, renderList as g, normalizeStyle as H, createVNode as ee, createTextVNode as Ce, mergeProps as Ie } from "vue";
2
- import { clamp as Ve } from "./index216.js";
3
- import { hash as T } from "./index225.js";
4
- import { isNil as x } from "./index239.js";
5
- import { when as $e } from "./index263.js";
1
+ import { defineComponent as he, mergeModels as X, ref as ke, computed as u, toRef as R, useModel as Y, watch as O, reactive as ge, createBlock as Z, openBlock as s, resolveDynamicComponent as xe, normalizeClass as i, withCtx as we, createElementBlock as n, createCommentVNode as p, createElementVNode as o, toDisplayString as m, renderSlot as c, unref as v, Fragment as k, renderList as x, normalizeStyle as H, createVNode as ee, createTextVNode as Ce, mergeProps as Ie } from "vue";
2
+ import { clamp as Ve } from "./index215.js";
3
+ import { hash as T } from "./index249.js";
4
+ import { isNil as w } from "./index242.js";
5
+ import { when as $e } from "./index266.js";
6
6
  import { useId as Be } from "./index8.js";
7
- import { useItemValue as He } from "./index287.js";
8
- import { useItemsGetter as Te } from "./index221.js";
9
- import { usePrefill as Ae } from "./index227.js";
10
- import { useIndexById as le } from "./index222.js";
11
- import { useBaseOptions as Ne } from "./index223.js";
12
- import { useHashedWatcher as Le } from "./index226.js";
13
- import { useLocale as De } from "./index229.js";
7
+ import { useItemValue as He } from "./index267.js";
8
+ import { useItemsGetter as Te } from "./index245.js";
9
+ import { usePrefill as Ae } from "./index251.js";
10
+ import { useIndexById as le } from "./index246.js";
11
+ import { useBaseOptions as Ne } from "./index247.js";
12
+ import { useHashedWatcher as Le } from "./index250.js";
13
+ import { useLocale as De } from "./index230.js";
14
14
  import ae from "./index17.js";
15
15
  /* empty css */
16
16
  import Ee from "./index31.js";
17
17
  /* empty css */
18
- import { columnKeyToSlotName as Se, mergeHeaderClasses as Pe, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index288.js";
19
- import { useLogger as Me } from "./index272.js";
18
+ import { columnKeyToSlotName as Se, mergeHeaderClasses as Pe, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index268.js";
19
+ import { useLogger as Me } from "./index255.js";
20
20
  const Fe = {
21
21
  key: 0,
22
22
  class: "sr-only"
@@ -98,8 +98,8 @@ const Fe = {
98
98
  a.multiple && !Array.isArray(a.modelValue) && Me().throw(
99
99
  "BbTable is set for multiple selection but modelValue is not an array."
100
100
  );
101
- const { t: w } = De(), F = ke(), ne = (e) => [w("table.select").value, ...e.map((t) => t.content)].join(" "), oe = u(() => a.selectable ? "fieldset" : "div"), N = u(() => a.loading || re.value), C = u(
102
- () => !x(a.page) && !x(a.perPage) && !x(a.totalItems)
101
+ const { t: C } = De(), F = ke(), ne = (e) => [C("table.select").value, ...e.map((t) => t.content)].join(" "), oe = u(() => a.selectable ? "fieldset" : "div"), N = u(() => a.loading || re.value), y = u(
102
+ () => !w(a.page) && !w(a.perPage) && !w(a.totalItems)
103
103
  ), de = u(() => ({
104
104
  "bb-table": !0,
105
105
  [`bb-table--align-${a.align}`]: !0,
@@ -159,7 +159,7 @@ const Fe = {
159
159
  const ue = (e, t) => {
160
160
  const l = z.value[e.key], d = e.align ?? "left";
161
161
  let r = se(t.item, e.key);
162
- return e.formatter && (!x(r) || e.formatOnNull !== !1) && (r = e.formatter(r, e.key, t.item)), e.placeholder && x(r) && (r = e.placeholder), {
162
+ return e.formatter && (!w(r) || e.formatOnNull !== !1) && (r = e.formatter(r, e.key, t.item)), e.placeholder && w(r) && (r = e.placeholder), {
163
163
  align: d,
164
164
  classes: Oe(
165
165
  [`bb-table-data__cell--${d}`],
@@ -193,16 +193,16 @@ const Fe = {
193
193
  ), q = u(() => {
194
194
  let e = 0;
195
195
  return I.value.map((t, l) => {
196
- const d = !a.selectable || typeof a.selectable == "function" && !a.selectable(t.item) || !!t.disabled, r = (a.page - 1) * a.perPage, k = 1, ve = l + 1, _e = r + k + ve + e, J = a.columns.map(
197
- (_) => ue(_, t)
196
+ const d = !a.selectable || typeof a.selectable == "function" && !a.selectable(t.item) || !!t.disabled, r = (a.page ?? -1) * (a.perPage ?? 0), g = 1, fe = l + 1, _e = r + g + fe + e, J = a.columns.map(
197
+ (h) => ue(h, t)
198
198
  ), Q = E.value[t.valueHash] ?? !1;
199
199
  return Q && e++, {
200
200
  accessibleLabel: ne(J),
201
201
  cols: J,
202
202
  expanded: Q,
203
- onRowClick: (_) => b("click:row", _, t, !!t.selected),
204
- onRowContextMenu: (_) => b("contextmenu:row", _, t, !!t.selected),
205
- onRowDblClick: (_) => b("dblclick:row", _, t, !!t.selected),
203
+ onRowClick: (h) => b("click:row", h, t, !!t.selected),
204
+ onRowContextMenu: (h) => b("contextmenu:row", h, t, !!t.selected),
205
+ onRowDblClick: (h) => b("dblclick:row", h, t, !!t.selected),
206
206
  item: t.item,
207
207
  text: t.text,
208
208
  rowIndex: _e,
@@ -212,51 +212,51 @@ const Fe = {
212
212
  disabled: d
213
213
  };
214
214
  });
215
- }), f = Y(A, "selectAll"), $ = Y(A, "expandedItems"), { data: E } = le({
216
- items: $
215
+ }), f = Y(A, "selectAll"), V = Y(A, "expandedItems"), { data: E } = le({
216
+ items: V
217
217
  }), me = (e, t) => {
218
- e.target instanceof HTMLElement && (e.target instanceof HTMLButtonElement || e.key !== "Enter" && e.key !== " " || (e.preventDefault(), V(t)));
218
+ e.target instanceof HTMLElement && (e.target instanceof HTMLButtonElement || e.key !== "Enter" && e.key !== " " || (e.preventDefault(), $(t)));
219
219
  }, S = (e) => ({
220
- "aria-controls": x(E.value[e.valueHash]) ? void 0 : `expanded_${e.valueHash}`,
220
+ "aria-controls": w(E.value[e.valueHash]) ? void 0 : `expanded_${e.valueHash}`,
221
221
  "aria-expanded": e.expanded ? "true" : "false",
222
- onClick: () => V(e.valueHash),
222
+ onClick: () => $(e.valueHash),
223
223
  onKeydown: (t) => me(t, e.valueHash)
224
- }), V = (e) => {
224
+ }), $ = (e) => {
225
225
  const t = I.value.find((l) => l.valueHash === e);
226
- t && (e in E.value ? $.value = $.value.filter(
226
+ t && (e in E.value ? V.value = V.value.filter(
227
227
  (l) => T(l) !== e
228
- ) : $.value.push(t.value));
228
+ ) : V.value = [...V.value, t.value]);
229
229
  };
230
230
  O(f, () => {
231
- v.clear(), b("update:unselectedItems", []), b("update:modelValue", []);
231
+ _.clear(), b("update:unselectedItems", []), b("update:modelValue", []);
232
232
  });
233
- const U = u(() => !!(a.multiple && a.modelValue.length > 0 && !a.selectAll || f.value && v.size > 0)), v = ge(/* @__PURE__ */ new Set());
233
+ const U = u(() => !!(a.multiple && a.modelValue.length > 0 && !a.selectAll || f.value && _.size > 0)), _ = ge(/* @__PURE__ */ new Set());
234
234
  O(
235
235
  () => a.unselectedItems,
236
236
  () => {
237
- v.clear(), a.unselectedItems.forEach((e) => {
238
- v.add(T(e));
237
+ _.clear(), a.unselectedItems.forEach((e) => {
238
+ _.add(T(e));
239
239
  });
240
240
  }
241
241
  );
242
242
  const W = (e) => {
243
243
  if (P(e)) {
244
- ce(e), b("item:unselected", e.value), v.add(e.valueHash), b("update:unselectedItems", [...a.unselectedItems, e.value]);
244
+ ce(e), b("item:unselected", e.value), _.add(e.valueHash), b("update:unselectedItems", [...a.unselectedItems, e.value]);
245
245
  return;
246
246
  }
247
- f.value || ie(e), b("item:selected", e.value), v.delete(e.valueHash), b(
247
+ f.value || ie(e), b("item:selected", e.value), _.delete(e.valueHash), b(
248
248
  "update:unselectedItems",
249
249
  a.unselectedItems.filter((t) => T(t) !== T(e.value))
250
250
  );
251
- }, P = (e) => v.has(e.valueHash) ? !1 : e.selected || f.value, ye = $e(
251
+ }, P = (e) => _.has(e.valueHash) ? !1 : e.selected || f.value, ve = $e(
252
252
  (e) => typeof e != "string",
253
253
  JSON.stringify
254
- ), fe = u(
254
+ ), ye = u(
255
255
  () => [].concat(a.modelValue ?? []).map((e) => ({
256
256
  disabled: a.disabled,
257
257
  name: a.name,
258
258
  type: "hidden",
259
- value: ye(e)
259
+ value: ve(e)
260
260
  }))
261
261
  ), B = [70, 45, 85, 55], G = u(
262
262
  () => Ve(I.value.length || a.columns.length || 1, 4, 10)
@@ -272,7 +272,7 @@ const Fe = {
272
272
  ref_key: "containerRef",
273
273
  ref: F,
274
274
  "aria-busy": N.value,
275
- "aria-rowcount": C.value ? a.totalItems : void 0,
275
+ "aria-rowcount": y.value ? a.totalItems : void 0,
276
276
  class: i(de.value),
277
277
  inert: e.disabled
278
278
  }, {
@@ -289,7 +289,7 @@ const Fe = {
289
289
  o("thead", null, [
290
290
  c(e.$slots, "thead", {}, () => [
291
291
  o("tr", {
292
- "aria-rowindex": C.value ? 1 : void 0,
292
+ "aria-rowindex": y.value ? 1 : void 0,
293
293
  class: "bb-table-header-row"
294
294
  }, [
295
295
  e.selectable ? (s(), n("th", {
@@ -300,7 +300,7 @@ const Fe = {
300
300
  c(e.$slots, "header:select", {
301
301
  multiple: e.multiple,
302
302
  selectAll: !!f.value,
303
- text: e.selectText || y(w)("table.selectText").value
303
+ text: e.selectText || v(C)("table.selectText").value
304
304
  }, () => [
305
305
  o("span", Ke, [
306
306
  e.allowSelectAll && e.multiple ? (s(), n("label", {
@@ -319,12 +319,12 @@ const Fe = {
319
319
  name: `select_all_${e.name || ""}`,
320
320
  readonly: e.readonly
321
321
  }, null, 8, ["modelValue", "disabled", "indeterminate", "name", "readonly"])),
322
- o("span", je, m(e.selectAllLabel || y(w)("table.selectAllLabel").value), 1)
323
- ], 2)) : e.multiple ? p("", !0) : (s(), n("span", qe, m(e.selectText || y(w)("table.selectText").value), 1))
322
+ o("span", je, m(e.selectAllLabel || v(C)("table.selectAllLabel").value), 1)
323
+ ], 2)) : e.multiple ? p("", !0) : (s(), n("span", qe, m(e.selectText || v(C)("table.selectText").value), 1))
324
324
  ])
325
325
  ])
326
326
  ], 2)) : p("", !0),
327
- (s(!0), n(h, null, g(pe.value, (l) => (s(), n("th", {
327
+ (s(!0), n(k, null, x(pe.value, (l) => (s(), n("th", {
328
328
  key: l.key,
329
329
  "aria-sort": l.sortDirection,
330
330
  class: i(["bb-table-header", l.classes]),
@@ -332,7 +332,7 @@ const Fe = {
332
332
  }, [
333
333
  c(e.$slots, l.slotName, {
334
334
  classes: l.classes,
335
- items: y(D),
335
+ items: v(D),
336
336
  label: l.label
337
337
  }, () => [
338
338
  o("span", We, m(l.label), 1)
@@ -353,17 +353,17 @@ const Fe = {
353
353
  o("tbody", null, [
354
354
  N.value ? c(e.$slots, "loading", {
355
355
  key: 0,
356
- items: y(D)
356
+ items: v(D)
357
357
  }, () => [
358
- (s(!0), n(h, null, g(G.value, (l, d) => (s(), n("tr", {
358
+ (s(!0), n(k, null, x(G.value, (l, d) => (s(), n("tr", {
359
359
  key: d,
360
- "aria-rowindex": C.value ? d + 2 : void 0,
360
+ "aria-rowindex": y.value ? d + 2 : void 0,
361
361
  class: "bb-table-skeleton__row"
362
362
  }, [
363
363
  e.selectable ? (s(), n("td", Qe, t[1] || (t[1] = [
364
364
  o("div", { class: "bb-table-skeleton__placeholder" }, null, -1)
365
365
  ]))) : p("", !0),
366
- (s(!0), n(h, null, g(a.columns, (r, k) => (s(), n("td", {
366
+ (s(!0), n(k, null, x(a.columns, (r, g) => (s(), n("td", {
367
367
  key: r.key,
368
368
  class: i([
369
369
  "bb-table-skeleton__cell",
@@ -374,13 +374,13 @@ const Fe = {
374
374
  o("div", {
375
375
  class: "bb-table-skeleton__line",
376
376
  style: H({
377
- width: `${B[(d + k) % 4]}%`
377
+ width: `${B[(d + g) % 4]}%`
378
378
  })
379
379
  }, null, 4),
380
380
  o("div", {
381
381
  class: "bb-table-skeleton__line",
382
382
  style: H({
383
- width: `${B[(d + k + 2) % 4]}%`
383
+ width: `${B[(d + g + 2) % 4]}%`
384
384
  })
385
385
  }, null, 4)
386
386
  ])) : r.skeleton === "avatar" ? (s(), n("div", Ye)) : r.skeleton === "avatar-text" ? (s(), n("div", Ze, [
@@ -389,13 +389,13 @@ const Fe = {
389
389
  o("div", {
390
390
  class: "bb-table-skeleton__line",
391
391
  style: H({
392
- width: `${B[(d + k) % 4]}%`
392
+ width: `${B[(d + g) % 4]}%`
393
393
  })
394
394
  }, null, 4),
395
395
  o("div", {
396
396
  class: "bb-table-skeleton__line",
397
397
  style: H({
398
- width: `${B[(d + k + 2) % 4]}%`
398
+ width: `${B[(d + g + 2) % 4]}%`
399
399
  })
400
400
  }, null, 4)
401
401
  ])
@@ -406,7 +406,7 @@ const Fe = {
406
406
  ]))) : p("", !0)
407
407
  ], 8, Je))), 128)),
408
408
  o("tr", {
409
- "aria-rowindex": C.value ? G.value + 2 : void 0,
409
+ "aria-rowindex": y.value ? G.value + 2 : void 0,
410
410
  class: "bb-table-loading__row bb-table-loading__row--sr-only"
411
411
  }, [
412
412
  o("td", {
@@ -418,12 +418,12 @@ const Fe = {
418
418
  o("span", ol, m(e.loadingText), 1)
419
419
  ], 8, nl)
420
420
  ], 8, sl)
421
- ]) : y(I).length ? c(e.$slots, "tbody", { key: 2 }, () => [
422
- (s(!0), n(h, null, g(q.value, (l) => (s(), n(h, {
421
+ ]) : v(I).length ? c(e.$slots, "tbody", { key: 2 }, () => [
422
+ (s(!0), n(k, null, x(q.value, (l) => (s(), n(k, {
423
423
  key: l.valueHash
424
424
  }, [
425
425
  o("tr", {
426
- "aria-rowindex": l.rowIndex,
426
+ "aria-rowindex": y.value && l.rowIndex ? l.rowIndex : void 0,
427
427
  class: "bb-table-data__row",
428
428
  onClick: l.onRowClick,
429
429
  onContextmenu: l.onRowContextMenu,
@@ -436,7 +436,7 @@ const Fe = {
436
436
  c(e.$slots, "select", {
437
437
  checked: P(l),
438
438
  disabled: !!l.disabled,
439
- inputName: y(M),
439
+ inputName: v(M),
440
440
  item: l.item,
441
441
  readonly: !!e.readonly,
442
442
  value: l.value
@@ -465,7 +465,7 @@ const Fe = {
465
465
  checked: l.selected,
466
466
  class: "bb-table-radio",
467
467
  disabled: l.disabled,
468
- name: y(M),
468
+ name: v(M),
469
469
  readonly: e.readonly,
470
470
  value: l.value,
471
471
  onChange: () => W(l)
@@ -474,7 +474,7 @@ const Fe = {
474
474
  ], 2))
475
475
  ])
476
476
  ], 2)) : p("", !0),
477
- (s(!0), n(h, null, g(l.cols, (d) => (s(), n("td", {
477
+ (s(!0), n(k, null, x(l.cols, (d) => (s(), n("td", {
478
478
  key: d.key,
479
479
  class: i(["bb-table-data__cell", d.classes])
480
480
  }, [
@@ -484,7 +484,7 @@ const Fe = {
484
484
  expanded: l.expanded,
485
485
  item: l.item,
486
486
  expandProps: S(l),
487
- toggleExpanded: () => V(l.valueHash),
487
+ toggleExpanded: () => $(l.valueHash),
488
488
  value: l.value
489
489
  }, () => [
490
490
  Ce(m(d.content), 1)
@@ -498,14 +498,14 @@ const Fe = {
498
498
  expanded: l.expanded,
499
499
  item: l.item,
500
500
  expandProps: S(l),
501
- toggleExpanded: () => V(l.valueHash),
501
+ toggleExpanded: () => $(l.valueHash),
502
502
  value: l.value
503
503
  })
504
504
  ], 2)) : p("", !0)
505
505
  ], 40, il),
506
506
  l.expanded ? (s(), n("tr", {
507
507
  key: 0,
508
- "aria-rowindex": l.rowIndex ? l.rowIndex + 1 : void 0,
508
+ "aria-rowindex": y.value && l.rowIndex ? l.rowIndex + 1 : void 0,
509
509
  id: `expanded_${l.valueHash}`,
510
510
  class: "bb-table-expand__row"
511
511
  }, [
@@ -517,7 +517,7 @@ const Fe = {
517
517
  expanded: l.expanded,
518
518
  item: l.item,
519
519
  expandProps: S(l),
520
- toggleExpanded: () => V(l.valueHash),
520
+ toggleExpanded: () => $(l.valueHash),
521
521
  value: l.value
522
522
  })
523
523
  ], 8, ml)
@@ -525,14 +525,14 @@ const Fe = {
525
525
  ], 64))), 128))
526
526
  ]) : c(e.$slots, "no-data", { key: 1 }, () => [
527
527
  o("tr", {
528
- "aria-rowindex": C.value ? 2 : void 0,
528
+ "aria-rowindex": y.value ? 2 : void 0,
529
529
  class: "bb-table-no-data__row"
530
530
  }, [
531
531
  o("td", {
532
532
  class: "bb-table-no-data__cell",
533
533
  colspan: L.value
534
534
  }, [
535
- o("span", bl, m(e.noDataText || y(w)("table.noDataText").value), 1)
535
+ o("span", bl, m(e.noDataText || v(C)("table.noDataText").value), 1)
536
536
  ], 8, rl)
537
537
  ], 8, dl)
538
538
  ])
@@ -541,7 +541,7 @@ const Fe = {
541
541
  c(e.$slots, "tfoot")
542
542
  ])
543
543
  ]),
544
- (s(!0), n(h, null, g(fe.value, (l) => (s(), n("input", Ie({
544
+ (s(!0), n(k, null, x(ye.value, (l) => (s(), n("input", Ie({
545
545
  key: l.value,
546
546
  ref_for: !0
547
547
  }, l), null, 16))), 128))
package/dist/index13.js CHANGED
@@ -1,6 +1,6 @@
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 "./index256.js";
3
- import { useFrameworkDetection as _ } from "./index257.js";
2
+ import R from "./index234.js";
3
+ import { useFrameworkDetection as _ } from "./index235.js";
4
4
  import { _config as g } from "./index4.js";
5
5
  const D = /* @__PURE__ */ w({
6
6
  __name: "BaseButton",
package/dist/index130.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, createElementBlock as o, openBlock as e, normalizeClass as c, createVNode as l, TransitionGroup as m, withCtx as i, Fragment as p, renderList as u, unref as r, createBlock as f, mergeProps as _ } from "vue";
2
2
  import { useToast as d, state as k } from "./index11.js";
3
- import b from "./index268.js";
3
+ import b from "./index264.js";
4
4
  const $ = /* @__PURE__ */ a({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index132.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as R, mergeModels as U, ref as L, computed as v, useTemplateRef as W, useModel as x, watch as m, onBeforeUnmount as F, createElementBlock as I, openBlock as g, Fragment as _, renderSlot as k, createCommentVNode as C, createVNode as j, normalizeProps as q, mergeProps as B, withCtx as T, createElementVNode as f, normalizeStyle as G, createBlock as H, unref as J } from "vue";
2
2
  import { useId as K } from "./index8.js";
3
- import { useLocale as Q } from "./index229.js";
4
- import { useUntil as X } from "./index252.js";
3
+ import { useLocale as Q } from "./index230.js";
4
+ import { useUntil as X } from "./index237.js";
5
5
  import Y from "./index13.js";
6
6
  /* empty css */
7
- import Z from "./index233.js";
7
+ import Z from "./index232.js";
8
8
  /* empty css */
9
9
  import { useElementSize as ee } from "./index141.js";
10
- import { extractDomContainer as V } from "./index255.js";
11
- import { parseWidthString as te } from "./index284.js";
10
+ import { extractDomContainer as V } from "./index278.js";
11
+ import { parseWidthString as te } from "./index279.js";
12
12
  const ce = /* @__PURE__ */ R({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbTooltip",
package/dist/index134.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 "./index264.js";
2
+ import { flattenTree as T } from "./index261.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/index136.js CHANGED
@@ -5,8 +5,8 @@ import u from "./index86.js";
5
5
  /* empty css */
6
6
  import I from "./index114.js";
7
7
  /* empty css */
8
- import N from "./index258.js";
9
- import g from "./index259.js";
8
+ import N from "./index238.js";
9
+ import g from "./index239.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/index139.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as s } from "./index216.js";
1
+ import { clamp as s } from "./index215.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/index142.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index215.js";
1
+ import { urlAlphabet as l } from "./index216.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
package/dist/index15.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as H, ref as s, computed as M, createBlock as D, openBlock as E, normalizeClass as I, withCtx as l, createVNode as d, unref as u, withDirectives as L, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
2
- import { isHex as z } from "./index228.js";
2
+ import { isHex as z } from "./index269.js";
3
3
  import { isNotNil as F } from "./index144.js";
4
4
  import { useId as S } from "./index8.js";
5
- import { useLocale as U } from "./index229.js";
6
- import { vMaska as A } from "./index230.js";
7
- import K from "./index231.js";
5
+ import { useLocale as U } from "./index230.js";
6
+ import { vMaska as A } from "./index231.js";
7
+ import K from "./index270.js";
8
8
  /* empty css */
9
9
  import O from "./index136.js";
10
10
  /* empty css */
11
11
  import P from "./index138.js";
12
- import T from "./index233.js";
12
+ import T from "./index232.js";
13
13
  /* empty css */
14
14
  const j = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], G = ["aria-label"], J = { class: "bb-common-input-inner-container__suffix" }, ie = /* @__PURE__ */ H({
15
15
  __name: "BaseColorInput",
package/dist/index17.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as _, ref as i, computed as t, watch as F, createElementBlock as p, openBlock as h, normalizeProps as d, guardReactiveProps as f, createCommentVNode as L, createElementVNode as s, mergeProps as k, renderSlot as M } from "vue";
2
- import { isCssColor as y } from "./index235.js";
3
- import { booleanishToBoolean as q } from "./index236.js";
4
- import { isEqual as A } from "./index237.js";
2
+ import { isCssColor as y } from "./index219.js";
3
+ import { booleanishToBoolean as q } from "./index220.js";
4
+ import { isEqual as A } from "./index221.js";
5
5
  const N = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index19.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as z, ref as B, toRef as p, computed as G, createBlock as R, openBlock as W, unref as T, withCtx as n, renderSlot as s, normalizeProps as f, guardReactiveProps as h, createVNode as K, mergeProps as w } from "vue";
2
2
  import N from "./index17.js";
3
3
  /* empty css */
4
- import U from "./index219.js";
4
+ import U from "./index243.js";
5
5
  /* empty css */
6
- import { useItemsGetter as q } from "./index221.js";
7
- import { useIndexById as C } from "./index222.js";
8
- import { useBaseOptions as J } from "./index223.js";
9
- import { useCoherence as Q } from "./index224.js";
10
- import { hash as X } from "./index225.js";
11
- import { useHashedWatcher as $ } from "./index226.js";
12
- import { usePrefill as Y } from "./index227.js";
6
+ import { useItemsGetter as q } from "./index245.js";
7
+ import { useIndexById as C } from "./index246.js";
8
+ import { useBaseOptions as J } from "./index247.js";
9
+ import { useCoherence as Q } from "./index248.js";
10
+ import { hash as X } from "./index249.js";
11
+ import { useHashedWatcher as $ } from "./index250.js";
12
+ import { usePrefill as Y } from "./index251.js";
13
13
  const ce = /* @__PURE__ */ z({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index21.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 "./index13.js";
7
7
  /* empty css */
8
- import d from "./index243.js";
9
- import ee from "./index246.js";
10
- import ae from "./index247.js";
11
- import te from "./index277.js";
12
- import { hash as B } from "./index225.js";
13
- import { last as le } from "./index241.js";
14
- import { validateDateFormat as L } from "./index278.js";
15
- import { useLogger as oe } from "./index272.js";
16
- import re from "./index279.js";
17
- import se from "./index280.js";
18
- import de from "./index281.js";
19
- import S from "./index282.js";
20
- import ie from "./index283.js";
21
- import { useLocale as ne } from "./index229.js";
8
+ import d from "./index222.js";
9
+ import ee from "./index225.js";
10
+ import ae from "./index226.js";
11
+ import te from "./index252.js";
12
+ import { hash as B } from "./index249.js";
13
+ import { last as le } from "./index253.js";
14
+ import { validateDateFormat as L } from "./index254.js";
15
+ import { useLogger as oe } from "./index255.js";
16
+ import re from "./index256.js";
17
+ import se from "./index257.js";
18
+ import de from "./index258.js";
19
+ import S from "./index259.js";
20
+ import ie from "./index260.js";
21
+ import { useLocale as ne } from "./index230.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",
package/dist/index215.js CHANGED
@@ -1,4 +1,4 @@
1
- const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
2
2
  export {
3
- t as urlAlphabet
3
+ n as clamp
4
4
  };
package/dist/index216.js CHANGED
@@ -1,4 +1,4 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2
2
  export {
3
- n as clamp
3
+ t as urlAlphabet
4
4
  };
package/dist/index217.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getType as t } from "./index328.js";
1
+ import { getType as t } from "./index325.js";
2
2
  function o(r) {
3
3
  return t(r) === "Array";
4
4
  }
package/dist/index218.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getType as o } from "./index328.js";
1
+ import { getType as o } from "./index325.js";
2
2
  function c(e) {
3
3
  if (o(e) !== "Object")
4
4
  return !1;