bitboss-ui 2.1.131 → 2.1.132

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 (190) hide show
  1. package/dist/ai/BbTable.md +25 -11
  2. package/dist/components/BbTable/types.d.ts +6 -4
  3. package/dist/index.css +1 -1
  4. package/dist/index109.js +9 -9
  5. package/dist/index110.js +18 -18
  6. package/dist/index118.js +1 -1
  7. package/dist/index124.js +3 -3
  8. package/dist/index126.js +183 -180
  9. package/dist/index134.js +1 -1
  10. package/dist/index136.js +4 -4
  11. package/dist/index138.js +1 -1
  12. package/dist/index14.js +1 -1
  13. package/dist/index142.js +2 -2
  14. package/dist/index146.js +1 -1
  15. package/dist/index148.js +2 -2
  16. package/dist/index151.js +2 -2
  17. package/dist/index16.js +3 -3
  18. package/dist/index18.js +3 -3
  19. package/dist/index20.js +9 -9
  20. package/dist/index22.js +14 -14
  21. package/dist/index224.js +138 -2
  22. package/dist/index225.js +2 -138
  23. package/dist/index227.js +3 -4
  24. package/dist/index228.js +13 -8
  25. package/dist/index229.js +20 -4
  26. package/dist/index230.js +5 -13
  27. package/dist/index231.js +5 -373
  28. package/dist/index232.js +7 -0
  29. package/dist/index233.js +5 -160
  30. package/dist/{index252.js → index234.js} +1 -1
  31. package/dist/index235.js +2 -25
  32. package/dist/index236.js +6 -2
  33. package/dist/index237.js +8 -2
  34. package/dist/index238.js +268 -2
  35. package/dist/index239.js +52 -7
  36. package/dist/index24.js +10 -10
  37. package/dist/index240.js +52 -2
  38. package/dist/index241.js +32 -7
  39. package/dist/index242.js +60 -3
  40. package/dist/index243.js +5 -34
  41. package/dist/index244.js +8 -5
  42. package/dist/index245.js +10 -5
  43. package/dist/index246.js +3 -5
  44. package/dist/index247.js +4 -5
  45. package/dist/index248.js +3 -5
  46. package/dist/index249.js +373 -5
  47. package/dist/index251.js +158 -6
  48. package/dist/index253.js +6 -17
  49. package/dist/index254.js +2 -12
  50. package/dist/index255.js +5 -51
  51. package/dist/index256.js +5 -18
  52. package/dist/index257.js +5 -12
  53. package/dist/index258.js +3 -17
  54. package/dist/index259.js +6 -30
  55. package/dist/index26.js +3 -3
  56. package/dist/index260.js +16 -18
  57. package/dist/index261.js +2 -4
  58. package/dist/index262.js +11 -106
  59. package/dist/index263.js +88 -0
  60. package/dist/index265.js +32 -0
  61. package/dist/index266.js +17 -107
  62. package/dist/index267.js +50 -12
  63. package/dist/index268.js +18 -11
  64. package/dist/index269.js +11 -9
  65. package/dist/index270.js +17 -2
  66. package/dist/index271.js +9 -3
  67. package/dist/index272.js +2 -86
  68. package/dist/index273.js +4 -0
  69. package/dist/index274.js +33 -8
  70. package/dist/index275.js +33 -23
  71. package/dist/index276.js +27 -22
  72. package/dist/index278.js +4 -7
  73. package/dist/index279.js +25 -9
  74. package/dist/index28.js +1 -1
  75. package/dist/index280.js +106 -5
  76. package/dist/index282.js +99 -187
  77. package/dist/index284.js +9 -33
  78. package/dist/index285.js +44 -28
  79. package/dist/index286.js +55 -0
  80. package/dist/index287.js +12 -8
  81. package/dist/index288.js +13 -44
  82. package/dist/index289.js +22 -52
  83. package/dist/index290.js +18 -2
  84. package/dist/index291.js +12 -5
  85. package/dist/index292.js +107 -6
  86. package/dist/index293.js +5 -267
  87. package/dist/index294.js +20 -51
  88. package/dist/index295.js +188 -52
  89. package/dist/index296.js +3 -32
  90. package/dist/index297.js +8 -59
  91. package/dist/index298.js +23 -3
  92. package/dist/index299.js +3 -21
  93. package/dist/index30.js +3 -3
  94. package/dist/index300.js +2 -67
  95. package/dist/index301.js +7 -6
  96. package/dist/index302.js +6 -3
  97. package/dist/index303.js +3 -20
  98. package/dist/index304.js +5 -6
  99. package/dist/index305.js +66 -15
  100. package/dist/index306.js +7 -4
  101. package/dist/index307.js +280 -7
  102. package/dist/index308.js +2 -3
  103. package/dist/index309.js +16 -5
  104. package/dist/index310.js +2 -2
  105. package/dist/index311.js +18 -0
  106. package/dist/index312.js +2 -7
  107. package/dist/index313.js +27 -3
  108. package/dist/index314.js +2 -280
  109. package/dist/index315.js +2 -2
  110. package/dist/index316.js +2 -125
  111. package/dist/index317.js +2 -2
  112. package/dist/index318.js +2 -15
  113. package/dist/index319.js +28 -2
  114. package/dist/index32.js +2 -2
  115. package/dist/index320.js +2 -16
  116. package/dist/index321.js +3 -2
  117. package/dist/index322.js +17 -16
  118. package/dist/index323.js +3 -2
  119. package/dist/index324.js +3 -19
  120. package/dist/index325.js +2 -2
  121. package/dist/index326.js +4 -3
  122. package/dist/index328.js +7 -17
  123. package/dist/index329.js +3 -28
  124. package/dist/index330.js +125 -3
  125. package/dist/index331.js +2 -3
  126. package/dist/index332.js +15 -2
  127. package/dist/index333.js +2 -4
  128. package/dist/index334.js +19 -5
  129. package/dist/index335.js +2 -27
  130. package/dist/index336.js +719 -2
  131. package/dist/index337.js +366 -2
  132. package/dist/index338.js +57 -2
  133. package/dist/index339.js +3 -2
  134. package/dist/index34.js +8 -8
  135. package/dist/index340.js +3 -2
  136. package/dist/index341.js +1 -1
  137. package/dist/index342.js +5 -2
  138. package/dist/index343.js +6 -719
  139. package/dist/index344.js +2 -366
  140. package/dist/index345.js +5 -57
  141. package/dist/index348.js +3 -227
  142. package/dist/index349.js +5 -6
  143. package/dist/index350.js +6 -34
  144. package/dist/index351.js +17 -128
  145. package/dist/index352.js +7 -397
  146. package/dist/index353.js +12 -90
  147. package/dist/index354.js +7 -200
  148. package/dist/index355.js +34 -258
  149. package/dist/index356.js +129 -6
  150. package/dist/index357.js +396 -16
  151. package/dist/index358.js +200 -9
  152. package/dist/index359.js +258 -14
  153. package/dist/index36.js +4 -4
  154. package/dist/index360.js +21 -4
  155. package/dist/index362.js +89 -130
  156. package/dist/index363.js +133 -21
  157. package/dist/index364.js +4 -0
  158. package/dist/index365.js +1 -1
  159. package/dist/index366.js +228 -2
  160. package/dist/index370.js +1 -1
  161. package/dist/index38.js +21 -21
  162. package/dist/index40.js +7 -7
  163. package/dist/index42.js +2 -2
  164. package/dist/index44.js +8 -8
  165. package/dist/index46.js +6 -6
  166. package/dist/index50.js +2 -2
  167. package/dist/index54.js +1 -1
  168. package/dist/index56.js +1 -1
  169. package/dist/index58.js +2 -2
  170. package/dist/index60.js +2 -2
  171. package/dist/index62.js +5 -5
  172. package/dist/index68.js +1 -1
  173. package/dist/index74.js +4 -4
  174. package/dist/index82.js +6 -6
  175. package/dist/index84.js +1 -1
  176. package/dist/index86.js +2 -2
  177. package/dist/index88.js +3 -3
  178. package/dist/index90.js +1 -1
  179. package/dist/index93.js +3 -3
  180. package/dist/index95.js +2 -2
  181. package/dist/index97.js +5 -5
  182. package/dist/index99.js +1 -1
  183. package/package.json +2 -2
  184. package/dist/index250.js +0 -5
  185. package/dist/index264.js +0 -102
  186. package/dist/index277.js +0 -15
  187. package/dist/index281.js +0 -4
  188. package/dist/index283.js +0 -5
  189. package/dist/index327.js +0 -5
  190. package/dist/index361.js +0 -9
package/dist/index126.js CHANGED
@@ -1,59 +1,59 @@
1
- import { defineComponent as At, mergeModels as Ke, ref as R, computed as c, reactive as Ue, onMounted as Vt, nextTick as Ge, onBeforeUnmount as Bt, watch as te, toRef as ge, useModel as Je, createBlock as Qe, openBlock as o, resolveDynamicComponent as St, normalizeStyle as N, unref as T, normalizeClass as g, withCtx as Et, createElementBlock as r, createCommentVNode as w, createElementVNode as d, toDisplayString as x, Fragment as I, renderList as E, renderSlot as _, createVNode as Xe, createTextVNode as Ht, mergeProps as Rt } from "vue";
2
- import { clamp as Nt } from "./index224.js";
3
- import { hash as le } from "./index252.js";
4
- import { isNil as L } from "./index238.js";
5
- import { when as Lt } from "./index261.js";
6
- import { useId as Mt } from "./index8.js";
7
- import { useItemValue as Ot } from "./index287.js";
8
- import { useItemsGetter as Wt } from "./index259.js";
9
- import { usePrefill as Dt } from "./index260.js";
10
- import { useIndexById as Ye } from "./index258.js";
11
- import { useBaseOptions as Ft } from "./index255.js";
12
- import { useHashedWatcher as Pt } from "./index257.js";
13
- import { useTableWidthContext as zt } from "./index288.js";
14
- import { useLocale as qt } from "./index230.js";
15
- import Ze from "./index18.js";
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 "./index234.js";
4
+ import { isNil as L } from "./index254.js";
5
+ import { when as Mt } from "./index278.js";
6
+ import { useId as Ot } from "./index8.js";
7
+ import { useItemValue as Wt } from "./index284.js";
8
+ import { useItemsGetter as Dt } from "./index265.js";
9
+ import { usePrefill as Ft } from "./index270.js";
10
+ import { useIndexById as Ze } from "./index266.js";
11
+ import { useBaseOptions as Pt } from "./index267.js";
12
+ import { useHashedWatcher as zt } from "./index269.js";
13
+ import { useTableWidthContext as qt } from "./index285.js";
14
+ import { useLocale as jt } from "./index228.js";
15
+ import et from "./index18.js";
16
16
  /* empty css */
17
- import jt from "./index32.js";
17
+ import Kt from "./index32.js";
18
18
  /* empty css */
19
- import { columnKeyToSlotName as Kt, mergeHeaderClasses as Ut, applyFixedTableColumns as Gt, mergeCellClasses as Jt } from "./index289.js";
20
- import { useLogger as Qt } from "./index251.js";
21
- const Xt = {
19
+ import { columnKeyToSlotName as Ut, mergeHeaderClasses as Gt, applyFixedTableColumns as Jt, mergeCellClasses as Qt } from "./index286.js";
20
+ import { useLogger as Xt } from "./index237.js";
21
+ const Yt = {
22
22
  key: 0,
23
23
  class: "sr-only"
24
- }, Yt = ["aria-rowindex"], Zt = { class: "bb-table-header__content" }, el = { class: "bb-table-check__label-text sr-only" }, tl = {
24
+ }, Zt = ["aria-rowindex"], el = { class: "bb-table-header__content" }, tl = { class: "bb-table-check__label-text sr-only" }, ll = {
25
25
  key: 1,
26
26
  class: "bb-table-radio__label-text sr-only"
27
- }, ll = ["aria-sort"], al = { class: "bb-table-header__content" }, sl = { class: "bb-table-header__content sr-only" }, nl = ["aria-rowindex"], ol = {
27
+ }, al = ["aria-sort"], sl = { class: "bb-table-header__content" }, nl = { class: "bb-table-header__content sr-only" }, ol = ["aria-rowindex"], rl = {
28
28
  key: 0,
29
29
  class: "bb-table-skeleton__cell bb-table-skeleton__cell--select"
30
- }, rl = {
30
+ }, cl = {
31
31
  key: 0,
32
32
  class: "bb-table-skeleton__cell-content"
33
- }, cl = {
33
+ }, ul = {
34
34
  key: 1,
35
35
  class: "bb-table-skeleton__avatar"
36
- }, ul = {
36
+ }, dl = {
37
37
  key: 2,
38
38
  class: "bb-table-skeleton__avatar-text"
39
- }, dl = { class: "bb-table-skeleton__cell-content" }, il = {
39
+ }, il = { class: "bb-table-skeleton__cell-content" }, bl = {
40
40
  key: 3,
41
41
  class: "bb-table-skeleton__image"
42
- }, bl = {
42
+ }, pl = {
43
43
  key: 4,
44
44
  class: "bb-table-skeleton__badge"
45
- }, pl = {
45
+ }, fl = {
46
46
  key: 1,
47
47
  class: "bb-table-skeleton__cell bb-table-skeleton__cell--actions"
48
- }, fl = ["aria-rowindex"], hl = ["colspan"], vl = { class: "bb-table-loading__text sr-only" }, ml = ["aria-rowindex"], yl = ["colspan"], kl = { class: "bb-table-no-data__text" }, gl = ["aria-rowindex", "onClick", "onContextmenu", "onDblclick"], _l = { class: "bb-table-check__label-text sr-only" }, wl = { class: "bb-table-radio__label-text sr-only" }, xl = ["aria-rowindex", "id"], Cl = ["colspan"], jl = /* @__PURE__ */ At({
48
+ }, hl = ["aria-rowindex"], vl = ["colspan"], ml = { class: "bb-table-loading__text sr-only" }, yl = ["aria-rowindex"], kl = ["colspan"], gl = { class: "bb-table-no-data__text" }, _l = ["aria-rowindex", "onClick", "onContextmenu", "onDblclick"], wl = { class: "bb-table-check__label-text sr-only" }, Cl = { class: "bb-table-radio__label-text sr-only" }, xl = ["aria-rowindex", "id"], Tl = ["colspan"], Kl = /* @__PURE__ */ Vt({
49
49
  __name: "BbTable",
50
- props: /* @__PURE__ */ Ke({
50
+ props: /* @__PURE__ */ Ue({
51
51
  accessibleLabel: {},
52
52
  actions: { type: Boolean },
53
53
  actionsText: { default: "Azioni" },
54
54
  align: { default: "left" },
55
55
  id: {},
56
- inheritColumnWidths: { type: [Boolean, String], default: !0 },
56
+ inheritColumnWidths: { type: [Boolean, String] },
57
57
  allowSelectAll: { type: Boolean, default: !0 },
58
58
  caption: {},
59
59
  compact: { type: Boolean },
@@ -95,45 +95,47 @@ const Xt = {
95
95
  },
96
96
  expandedItemsModifiers: {}
97
97
  }),
98
- emits: /* @__PURE__ */ Ke(["click:row", "contextmenu:row", "dblclick:row", "update:modelValue", "update:selectAll", "update:expandedItems", "update:unselectedItems", "item:selected", "item:unselected"], ["update:selectAll", "update:expandedItems"]),
99
- setup(ae, { emit: et }) {
100
- const { getItemValue: tt } = Ot(), _e = Mt().id.value, a = ae, m = et;
101
- a.multiple && !Array.isArray(a.modelValue) && Qt().throw(
98
+ emits: /* @__PURE__ */ Ue(["click:row", "contextmenu:row", "dblclick:row", "update:modelValue", "update:selectAll", "update:expandedItems", "update:unselectedItems", "item:selected", "item:unselected"], ["update:selectAll", "update:expandedItems"]),
99
+ setup(ae, { emit: tt }) {
100
+ const { getItemValue: lt } = Wt(), _e = Ot().id.value, a = ae, m = tt;
101
+ a.multiple && !Array.isArray(a.modelValue) && Xt().throw(
102
102
  "BbTable is set for multiple selection but modelValue is not an array."
103
103
  );
104
- const { t: M } = qt(), A = R(), O = R(), {
105
- id: lt,
104
+ const { t: M } = jt(), A = R(), O = R(), {
105
+ id: at,
106
106
  parentId: W,
107
107
  parentNode: U,
108
- cssVars: at,
108
+ cssVars: st,
109
109
  parentVar: we,
110
- setTracks: st
111
- } = zt({
110
+ setTracks: nt
111
+ } = qt({
112
112
  id: () => a.id,
113
113
  container: () => O.value,
114
114
  inheritFrom: () => typeof a.inheritColumnWidths == "string" ? a.inheritColumnWidths : void 0
115
- }), D = c(() => a.inheritColumnWidths !== !1), G = c(
116
- () => a.fixed || a.columns.some((e) => e.width != null) || D.value && !!W.value
115
+ }), Ce = c(() => a.columns.some((e) => e.snap != null)), D = c(
116
+ () => !!a.inheritColumnWidths || Ce.value
117
+ ), G = c(
118
+ () => a.fixed || Ce.value || a.columns.some((e) => e.width != null) || D.value && !!W.value
117
119
  ), J = c(
118
120
  () => D.value && !!W.value
119
- ), nt = J, ot = (e) => {
121
+ ), ot = J, rt = (e) => {
120
122
  if (typeof e == "number") return `${e}px`;
121
123
  const l = e.trim();
122
124
  return /^-?\d*\.?\d+$/.test(l) ? `${l}px` : l;
123
125
  }, xe = c(() => {
124
126
  const e = U.value?.tracks;
125
127
  return e ? Object.keys(e).filter((l) => /^\d+$/.test(l)).length : 0;
126
- }), Ce = c(() => {
128
+ }), Te = c(() => {
127
129
  const e = U.value?.tracks ?? {}, l = [];
128
130
  "select" in e && l.push("select");
129
131
  for (let t = 0; t < xe.value; t++) l.push(String(t));
130
132
  return "actions" in e && l.push("actions"), l;
131
- }), Te = c(
133
+ }), $e = c(
132
134
  () => "select" in (U.value?.tracks ?? {}) ? 1 : 0
133
- ), $e = c(
134
- () => Te.value + xe.value
135
- ), rt = c(() => Ce.value.length), ct = (e) => {
136
- const l = Ce.value[e];
135
+ ), Ie = c(
136
+ () => $e.value + xe.value
137
+ ), ct = c(() => Te.value.length), ut = (e) => {
138
+ const l = Te.value[e];
137
139
  return l ? we(l, "0px") : "0px";
138
140
  }, se = (e, l) => {
139
141
  if (!W.value || l - e <= 1e-6) return null;
@@ -141,7 +143,7 @@ const Xt = {
141
143
  for (let s = Math.floor(e); s < Math.ceil(l - 1e-6); s++) {
142
144
  const n = Math.min(l, s + 1) - Math.max(e, s);
143
145
  if (n <= 1e-6) continue;
144
- const u = ct(s);
146
+ const u = ut(s);
145
147
  t.push(
146
148
  n >= 1 - 1e-6 ? u : `${Number(n.toFixed(4))} * ${u}`
147
149
  );
@@ -151,20 +153,20 @@ const Xt = {
151
153
  const e = a.columns, l = e.map(
152
154
  (s) => typeof s.snap == "number" ? s.snap : Array.isArray(s.snap) ? s.snap[0] : null
153
155
  );
154
- let t = Te.value;
156
+ let t = $e.value;
155
157
  return e.map((s, n) => {
156
158
  const u = l[n] ?? t;
157
159
  let f;
158
160
  if (Array.isArray(s.snap))
159
- f = s.snap[1] === -1 ? $e.value : s.snap[1];
161
+ f = s.snap[1] === -1 ? Ie.value : s.snap[1];
160
162
  else {
161
163
  const y = l[n + 1];
162
164
  f = y != null && y > u ? y : Math.floor(u) + 1;
163
165
  }
164
166
  return t = f, { start: u, end: f };
165
167
  });
166
- }), Ie = (e) => J.value && e.start >= $e.value, ne = c(
167
- () => Q.value.some(Ie)
168
+ }), Ae = (e) => J.value && e.start >= Ie.value, ne = c(
169
+ () => Q.value.some(Ae)
168
170
  ), X = (e) => a.columns[e]?.width == null && !J.value, Y = c(() => {
169
171
  if (!J.value) return -1;
170
172
  for (let e = a.columns.length - 1; e >= 0; e--) {
@@ -175,50 +177,50 @@ const Xt = {
175
177
  }), oe = c(() => {
176
178
  const e = Q.value[0];
177
179
  if (!D.value || !W.value || !e) return null;
178
- const l = se(0, e.start), t = a.selectable ? C.select : null;
180
+ const l = se(0, e.start), t = a.selectable ? x.select : null;
179
181
  return t ? `calc(${l ?? "0px"} - ${t})` : l;
180
182
  }), re = c(() => {
181
183
  const e = Q.value, l = e[e.length - 1];
182
184
  if (!D.value || !W.value || !l || ne.value || Y.value === a.columns.length - 1) return null;
183
- const t = se(l.end, rt.value), s = a.actions ? C.actions : null;
185
+ const t = se(l.end, ct.value), s = a.actions ? x.actions : null;
184
186
  return s ? `calc(${t ?? "0px"} - ${s})` : t;
185
- }), ut = c(() => oe.value !== null), dt = c(() => re.value !== null), C = Ue({ select: null, actions: null }), ce = c(() => {
186
- const e = (n) => D.value ? we(n) : "auto", l = (n) => G.value && C[n] ? C[n] : e(n), t = [];
187
+ }), dt = c(() => oe.value !== null), it = c(() => re.value !== null), x = Ge({ select: null, actions: null }), ce = c(() => {
188
+ const e = (n) => D.value ? we(n) : "auto", l = (n) => G.value && x[n] ? x[n] : e(n), t = [];
187
189
  a.selectable && t.push({ key: "select", width: l("select") });
188
190
  const s = a.columns.length - 1;
189
191
  return a.columns.forEach((n, u) => {
190
- const f = String(u), y = n.width != null ? ot(n.width) : null, h = Q.value[u];
192
+ const f = String(u), y = n.width != null ? rt(n.width) : null, h = Q.value[u];
191
193
  if (u === Y.value && !ne.value) {
192
194
  t.push({ key: f, width: "auto" });
193
195
  return;
194
196
  }
195
197
  let b;
196
- y != null ? b = y : X(u) ? b = G.value && Ve.value[u] || null : Ie(h) ? b = Be.value[u] ?? null : b = se(h.start, h.end);
198
+ y != null ? b = y : X(u) ? b = G.value && Be.value[u] || null : Ae(h) ? b = Se.value[u] ?? null : b = se(h.start, h.end);
197
199
  const $ = [];
198
- u === 0 && ut.value && $.push("var(--bb-table-offset-internal-start)"), u === s && dt.value && $.push("var(--bb-table-offset-internal-end)");
200
+ u === 0 && dt.value && $.push("var(--bb-table-offset-internal-start)"), u === s && it.value && $.push("var(--bb-table-offset-internal-end)");
199
201
  const k = $.length ? `calc(${[...$, b ?? "0px"].join(" + ")})` : b ?? "auto";
200
202
  t.push({ key: f, width: k });
201
203
  }), a.actions && t.push({ key: "actions", width: l("actions") }), t;
202
- }), it = c(() => {
204
+ }), bt = c(() => {
203
205
  const e = {};
204
206
  return oe.value && (e["--bb-table-offset-start"] = oe.value), re.value && (e["--bb-table-offset-end"] = re.value), e;
205
- }), bt = c(() => {
207
+ }), pt = c(() => {
206
208
  const e = {
207
- ...at.value,
208
- ...it.value
209
+ ...st.value,
210
+ ...bt.value
209
211
  };
210
212
  return de.value && (e["--bb-table-natural-width"] = de.value), F.value > 0 && (e["--bb-table-fill"] = `${F.value}px`), e;
211
213
  }), ue = () => Array.from(
212
214
  A.value?.querySelectorAll(
213
215
  ":scope > thead > tr.bb-table-header-row > th"
214
216
  ) ?? []
215
- ), pt = () => {
217
+ ), ft = () => {
216
218
  const e = ce.value.map((t) => t.key), l = {};
217
219
  ue().forEach((t, s) => {
218
220
  const n = e[s];
219
221
  n != null && (l[n] = `${t.getBoundingClientRect().width}px`);
220
- }), st(l);
221
- }, ft = () => {
222
+ }), nt(l);
223
+ }, ht = () => {
222
224
  const e = A.value;
223
225
  if (!e) return;
224
226
  const l = (t) => {
@@ -236,18 +238,18 @@ const Xt = {
236
238
  s = Math.max(s, u + y);
237
239
  }), s > 0 ? `${Math.ceil(s)}px` : null;
238
240
  };
239
- C.select = a.selectable ? l(
241
+ x.select = a.selectable ? l(
240
242
  ":scope > thead > tr > th.bb-table-header--select, :scope > tbody > tr > td.bb-table-data__cell--select"
241
- ) : null, C.actions = a.actions ? l(
243
+ ) : null, x.actions = a.actions ? l(
242
244
  ":scope > thead > tr > th.bb-table-header--actions, :scope > tbody > tr > td.bb-table__cell--actions"
243
245
  ) : null;
244
- }, Ae = () => {
245
- ft(), pt();
246
- }, Ve = R([]), Be = R([]), F = R(0), de = R(null), Se = () => {
246
+ }, Ve = () => {
247
+ ht(), ft();
248
+ }, Be = R([]), Se = R([]), F = R(0), de = R(null), Ee = () => {
247
249
  const e = O.value;
248
250
  if (!e || !G.value || !a.columns.some((i) => i.width != null) && !ne.value && Y.value < 0)
249
251
  return;
250
- const l = e.offsetWidth, t = a.selectable ? 1 : 0, s = C.select ? parseFloat(C.select) : 0, n = C.actions ? parseFloat(C.actions) : 0, u = ue();
252
+ const l = e.offsetWidth, t = a.selectable ? 1 : 0, s = x.select ? parseFloat(x.select) : 0, n = x.actions ? parseFloat(x.actions) : 0, u = ue();
251
253
  let f = 0, y = 0;
252
254
  a.columns.forEach((i, v) => {
253
255
  const p = u[t + v]?.getBoundingClientRect().width ?? 0;
@@ -275,25 +277,25 @@ const Xt = {
275
277
  });
276
278
  const k = b.querySelector("table");
277
279
  k && (k.style.width = "min-content", k.style.minWidth = "0"), h.appendChild(b), document.body.appendChild(h);
278
- const Pe = h.querySelector(
280
+ const ze = h.querySelector(
279
281
  "table thead tr.bb-table-header-row"
280
- ), $t = Pe ? Array.from(Pe.querySelectorAll(":scope > th")) : [], ee = a.columns.map((i, v) => {
282
+ ), It = ze ? Array.from(ze.querySelectorAll(":scope > th")) : [], ee = a.columns.map((i, v) => {
281
283
  if (i.width != null) return 0;
282
- const p = $t[t + v];
284
+ const p = It[t + v];
283
285
  return p ? p.getBoundingClientRect().width : 0;
284
286
  });
285
287
  document.body.removeChild(h);
286
- const ze = a.columns.reduce(
288
+ const qe = a.columns.reduce(
287
289
  (i, v, p) => i + (X(p) ? ee[p] : 0),
288
290
  0
289
- ), qe = l - y - s - n, ke = (i) => `${Number(i.toFixed(3))}px`;
290
- if (Ve.value = a.columns.map((i, v) => {
291
+ ), je = l - y - s - n, ke = (i) => `${Number(i.toFixed(3))}px`;
292
+ if (Be.value = a.columns.map((i, v) => {
291
293
  if (!X(v)) return null;
292
294
  const p = ee[v];
293
- if (ze <= 0) return ke(p);
294
- const K = qe > 0 ? qe * (p / ze) : 0;
295
+ if (qe <= 0) return ke(p);
296
+ const K = je > 0 ? je * (p / qe) : 0;
295
297
  return ke(Math.max(p, K));
296
- }), Be.value = ee.map((i) => i > 0 ? ke(i) : null), Y.value >= 0) {
298
+ }), Se.value = ee.map((i) => i > 0 ? ke(i) : null), Y.value >= 0) {
297
299
  const i = Object.values(U.value?.tracks ?? {}).reduce(
298
300
  (p, K) => p + (parseFloat(K) || 0),
299
301
  0
@@ -304,36 +306,36 @@ const Xt = {
304
306
  F.value = Math.max(0, i - v + F.value);
305
307
  } else
306
308
  F.value = 0;
307
- const It = ee.reduce((i, v) => i + v, 0), je = f + It + s + n;
308
- de.value = je > 0 ? `${Math.ceil(je)}px` : null;
309
+ const At = ee.reduce((i, v) => i + v, 0), Ke = f + At + s + n;
310
+ de.value = Ke > 0 ? `${Math.ceil(Ke)}px` : null;
309
311
  };
310
312
  let H = null, ie;
311
- const Ee = () => {
313
+ const He = () => {
312
314
  H !== null && clearTimeout(H), H = setTimeout(() => {
313
- H = null, Se();
315
+ H = null, Ee();
314
316
  }, 200);
315
317
  };
316
318
  let P, be;
317
- const He = () => {
318
- P && (P.disconnect(), ue().forEach((e) => P?.observe(e)), Ae());
319
+ const Re = () => {
320
+ P && (P.disconnect(), ue().forEach((e) => P?.observe(e)), Ve());
319
321
  };
320
- Vt(() => {
321
- P = new ResizeObserver(() => Ae()), He(), Ge(Se), A.value && (ie = new MutationObserver(Ee), ie.observe(A.value, {
322
+ Bt(() => {
323
+ P = new ResizeObserver(() => Ve()), Re(), Je(Ee), A.value && (ie = new MutationObserver(He), ie.observe(A.value, {
322
324
  childList: !0,
323
325
  subtree: !0,
324
326
  characterData: !0
325
- })), O.value && (be = new ResizeObserver(Ee), be.observe(O.value));
326
- }), Bt(() => {
327
+ })), O.value && (be = new ResizeObserver(He), be.observe(O.value));
328
+ }), St(() => {
327
329
  P?.disconnect(), be?.disconnect(), ie?.disconnect(), H !== null && clearTimeout(H);
328
- }), te(ce, () => Ge(He), { flush: "post" });
329
- const ht = (e) => [M("table.select").value, ...e.map((l) => l.content)].join(" "), vt = c(() => a.selectable ? "fieldset" : "div"), pe = c(() => a.loading || yt.value), V = c(
330
+ }), te(ce, () => Je(Re), { flush: "post" });
331
+ const vt = (e) => [M("table.select").value, ...e.map((l) => l.content)].join(" "), mt = c(() => a.selectable ? "fieldset" : "div"), pe = c(() => a.loading || kt.value), V = c(
330
332
  () => !L(a.page) && !L(a.perPage) && !L(a.totalItems)
331
- ), mt = c(() => ({
333
+ ), yt = c(() => ({
332
334
  "bb-table": !0,
333
335
  [`bb-table--align-${a.align}`]: !0,
334
336
  "bb-table--compact": a.compact,
335
337
  "bb-table--fixed": G.value,
336
- "bb-table--inherit-widths": nt.value,
338
+ "bb-table--inherit-widths": ot.value,
337
339
  "bb-table--fixed-header": a.fixedHeaders,
338
340
  "bb-table--loading": pe.value,
339
341
  "bb-table--empty": !z.value.length,
@@ -341,55 +343,55 @@ const Xt = {
341
343
  "scrollbar-border": !0
342
344
  })), fe = c(
343
345
  () => a.columns.length + +!!a.selectable + +!!a.actions
344
- ), Re = c(
346
+ ), Ne = c(
345
347
  () => Object.fromEntries(
346
- a.columns.map((e) => [e.key, Kt(e.key)])
348
+ a.columns.map((e) => [e.key, Ut(e.key)])
347
349
  )
348
350
  ), {
349
- getter: Ne,
351
+ getter: Le,
350
352
  items: he,
351
- loading: yt
352
- } = Wt({
353
+ loading: kt
354
+ } = Dt({
353
355
  items: ge(a, "items")
354
- }), { hasPrefilled: kt } = Dt({
356
+ }), { hasPrefilled: gt } = Ft({
355
357
  trigger: !0,
356
358
  fn: async (e) => {
357
- await Ne(e, a.modelValue);
359
+ await Le(e, a.modelValue);
358
360
  }
359
- }), { data: Le } = Ye({
361
+ }), { data: Me } = Ze({
360
362
  items: ge(a, "modelValue")
361
- }), { options: z } = Ft({
363
+ }), { options: z } = Pt({
362
364
  disabled: ge(a, "disabled"),
363
365
  items: he,
364
366
  itemText: void 0,
365
367
  itemValue: a.itemValue,
366
368
  max: a.max,
367
369
  selectable: !0,
368
- selectedIndexedByHash: Le
369
- }), gt = async (e) => {
370
+ selectedIndexedByHash: Me
371
+ }), _t = async (e) => {
370
372
  a.multiple ? m("update:modelValue", a.modelValue.concat(e.value)) : m("update:modelValue", e.value);
371
- }, _t = async (e) => {
373
+ }, wt = async (e) => {
372
374
  if (a.multiple) {
373
- const l = { ...Le.value };
375
+ const l = { ...Me.value };
374
376
  delete l[e.valueHash], m("update:modelValue", Object.values(l));
375
377
  } else
376
378
  m("update:modelValue", null);
377
379
  };
378
- Pt(
380
+ zt(
379
381
  () => [a.dependencies, a.items],
380
382
  async () => {
381
- kt.value && await Ne(!1, a.modelValue);
383
+ gt.value && await Le(!1, a.modelValue);
382
384
  },
383
385
  {
384
386
  debounce: a.depsDebounceTime
385
387
  }
386
388
  );
387
- const wt = (e, l) => {
388
- const t = Re.value[e.key], s = e.align ?? "left";
389
- let n = tt(l.item, e.key);
389
+ const Ct = (e, l) => {
390
+ const t = Ne.value[e.key], s = e.align ?? "left";
391
+ let n = lt(l.item, e.key);
390
392
  return e.formatter && (!L(n) || e.formatOnNull !== !1) && (n = e.formatter(n, e.key, l.item)), e.placeholder && L(n) && (n = e.placeholder), {
391
393
  align: s,
392
- classes: Jt(
394
+ classes: Qt(
393
395
  [`bb-table-data__cell--${s}`],
394
396
  a.tdClass,
395
397
  e.tdClass,
@@ -402,15 +404,15 @@ const Xt = {
402
404
  label: e.label,
403
405
  slotName: t
404
406
  };
405
- }, Me = c(
407
+ }, Oe = c(
406
408
  () => a.columns.map((e) => {
407
- const l = e.align ?? "left", t = `header:${Re.value[e.key]}`, s = e.sorted ? e.sorted === "asc" ? "ascending" : "descending" : void 0;
409
+ const l = e.align ?? "left", t = `header:${Ne.value[e.key]}`, s = e.sorted ? e.sorted === "asc" ? "ascending" : "descending" : void 0;
408
410
  return {
409
411
  align: l,
410
412
  key: e.key,
411
413
  label: e.label,
412
414
  slotName: t,
413
- classes: Ut(
415
+ classes: Gt(
414
416
  [`bb-table-header--${l}`],
415
417
  a.thClass,
416
418
  e.thClass
@@ -418,14 +420,14 @@ const Xt = {
418
420
  sortDirection: s
419
421
  };
420
422
  })
421
- ), Oe = c(() => {
423
+ ), We = c(() => {
422
424
  let e = 0;
423
425
  return z.value.map((l, t) => {
424
426
  const s = !a.selectable || typeof a.selectable == "function" && !a.selectable(l.item) || !!l.disabled, n = (a.page ?? -1) * (a.perPage ?? 0), u = 1, f = t + 1, y = n + u + f + e, h = a.columns.map(
425
- (k) => wt(k, l)
427
+ (k) => Ct(k, l)
426
428
  ), b = ve.value[l.valueHash] ?? !1;
427
429
  return b && e++, {
428
- accessibleLabel: ht(h),
430
+ accessibleLabel: vt(h),
429
431
  cols: h,
430
432
  expanded: b,
431
433
  onRowClick: (k) => m("click:row", k, l, !!l.selected),
@@ -440,7 +442,7 @@ const Xt = {
440
442
  disabled: s
441
443
  };
442
444
  });
443
- }), B = Je(ae, "selectAll"), q = Je(ae, "expandedItems"), { data: ve } = Ye({
445
+ }), B = Qe(ae, "selectAll"), q = Qe(ae, "expandedItems"), { data: ve } = Ze({
444
446
  items: q
445
447
  }), xt = (e, l) => {
446
448
  e.target instanceof HTMLElement && (e.target instanceof HTMLButtonElement || e.key !== "Enter" && e.key !== " " || (e.preventDefault(), j(l)));
@@ -460,7 +462,7 @@ const Xt = {
460
462
  te(B, () => {
461
463
  S.clear(), m("update:unselectedItems", []), m("update:modelValue", []);
462
464
  });
463
- const We = c(() => !!(a.multiple && a.modelValue.length > 0 && !a.selectAll || B.value && S.size > 0)), S = Ue(/* @__PURE__ */ new Set());
465
+ const De = c(() => !!(a.multiple && a.modelValue.length > 0 && !a.selectAll || B.value && S.size > 0)), S = Ge(/* @__PURE__ */ new Set());
464
466
  te(
465
467
  () => a.unselectedItems,
466
468
  () => {
@@ -469,46 +471,47 @@ const Xt = {
469
471
  });
470
472
  }
471
473
  );
472
- const De = (e) => {
474
+ const Fe = (e) => {
473
475
  if (ye(e)) {
474
- _t(e), m("item:unselected", e.value), S.add(e.valueHash), m("update:unselectedItems", [...a.unselectedItems, e.value]);
476
+ wt(e), m("item:unselected", e.value), S.add(e.valueHash), m("update:unselectedItems", [...a.unselectedItems, e.value]);
475
477
  return;
476
478
  }
477
- B.value || gt(e), m("item:selected", e.value), S.delete(e.valueHash), m(
479
+ B.value || _t(e), m("item:selected", e.value), S.delete(e.valueHash), m(
478
480
  "update:unselectedItems",
479
481
  a.unselectedItems.filter((l) => le(l) !== le(e.value))
480
482
  );
481
- }, ye = (e) => S.has(e.valueHash) ? !1 : e.selected || B.value, Ct = Lt(
483
+ }, ye = (e) => S.has(e.valueHash) ? !1 : e.selected || B.value, Tt = Mt(
482
484
  (e) => typeof e != "string",
483
485
  JSON.stringify
484
- ), Tt = c(
486
+ ), $t = c(
485
487
  () => [].concat(a.modelValue ?? []).map((e) => ({
486
488
  disabled: a.disabled,
487
489
  name: a.name,
488
490
  type: "hidden",
489
- value: Ct(e)
491
+ value: Tt(e)
490
492
  }))
491
- ), Z = [70, 45, 85, 55], Fe = c(
492
- () => Nt(z.value.length || a.columns.length || 1, 4, 10)
493
+ ), Z = [70, 45, 85, 55], Pe = c(
494
+ () => Lt(z.value.length || a.columns.length || 1, 4, 10)
493
495
  );
494
496
  return te(
495
- () => [Oe.value, a.fixedColumns],
497
+ () => [We.value, a.fixedColumns],
496
498
  () => {
497
- A.value && a.fixedColumns?.length && Gt(A.value, a.fixedColumns);
499
+ A.value && a.fixedColumns?.length && Jt(A.value, a.fixedColumns);
498
500
  },
499
501
  { flush: "post" }
500
- ), (e, l) => (o(), Qe(St(vt.value), {
502
+ ), (e, l) => (o(), Xe(Et(mt.value), {
503
+ id: e.id,
501
504
  ref_key: "containerRef",
502
505
  ref: O,
503
506
  "aria-busy": pe.value,
504
507
  "aria-rowcount": V.value ? a.totalItems : void 0,
505
- class: g(mt.value),
506
- "data-bb-table-id": T(lt),
508
+ class: g(yt.value),
509
+ "data-bb-table-id": T(at),
507
510
  inert: e.disabled,
508
- style: N(bt.value)
511
+ style: N(pt.value)
509
512
  }, {
510
- default: Et(() => [
511
- e.selectable ? (o(), r("legend", Xt, x(e.legend), 1)) : w("", !0),
513
+ default: Ht(() => [
514
+ e.selectable ? (o(), r("legend", Yt, C(e.legend), 1)) : w("", !0),
512
515
  d("table", {
513
516
  ref_key: "tableRef",
514
517
  ref: A
@@ -519,7 +522,7 @@ const Xt = {
519
522
  "bb-table-caption": !0,
520
523
  "sr-only": !e.displayCaption
521
524
  })
522
- }, x(e.caption), 3)) : w("", !0),
525
+ }, C(e.caption), 3)) : w("", !0),
523
526
  d("colgroup", null, [
524
527
  (o(!0), r(I, null, E(ce.value, (t) => (o(), r("col", {
525
528
  key: t.key,
@@ -542,36 +545,36 @@ const Xt = {
542
545
  selectAll: !!B.value,
543
546
  text: e.selectText || T(M)("table.selectText").value
544
547
  }, () => [
545
- d("span", Zt, [
548
+ d("span", el, [
546
549
  e.allowSelectAll && e.multiple ? (o(), r("label", {
547
550
  key: 0,
548
551
  class: g(["bb-table-check__label", {
549
552
  "bb-table-check__label--disabled": e.disabled
550
553
  }])
551
554
  }, [
552
- (o(), Qe(Ze, {
553
- key: We.value.toString(),
555
+ (o(), Xe(et, {
556
+ key: De.value.toString(),
554
557
  modelValue: B.value,
555
558
  "onUpdate:modelValue": l[0] || (l[0] = (t) => B.value = t),
556
559
  class: "bb-table-check",
557
560
  disabled: e.disabled,
558
- indeterminate: We.value,
561
+ indeterminate: De.value,
559
562
  name: `select_all_${e.name || ""}`,
560
563
  readonly: e.readonly
561
564
  }, null, 8, ["modelValue", "disabled", "indeterminate", "name", "readonly"])),
562
- d("span", el, x(e.selectAllLabel || T(M)("table.selectAllLabel").value), 1)
563
- ], 2)) : e.multiple ? w("", !0) : (o(), r("span", tl, x(e.selectText || T(M)("table.selectText").value), 1))
565
+ d("span", tl, C(e.selectAllLabel || T(M)("table.selectAllLabel").value), 1)
566
+ ], 2)) : e.multiple ? w("", !0) : (o(), r("span", ll, C(e.selectText || T(M)("table.selectText").value), 1))
564
567
  ])
565
568
  ])
566
569
  ], 2)) : w("", !0),
567
- (o(!0), r(I, null, E(Me.value, (t, s) => (o(), r("th", {
570
+ (o(!0), r(I, null, E(Oe.value, (t, s) => (o(), r("th", {
568
571
  key: t.key,
569
572
  "aria-sort": t.sortDirection,
570
573
  class: g(["bb-table-header", [
571
574
  t.classes,
572
575
  {
573
576
  "bb-table-header--edge-start": s === 0,
574
- "bb-table-header--edge-end": s === Me.value.length - 1
577
+ "bb-table-header--edge-end": s === Oe.value.length - 1
575
578
  }
576
579
  ]]),
577
580
  scope: "col"
@@ -581,19 +584,19 @@ const Xt = {
581
584
  items: T(he),
582
585
  label: t.label
583
586
  }, () => [
584
- d("span", al, x(t.label), 1)
587
+ d("span", sl, C(t.label), 1)
585
588
  ])
586
- ], 10, ll))), 128)),
589
+ ], 10, al))), 128)),
587
590
  e.actions ? (o(), r("th", {
588
591
  key: 1,
589
592
  class: g(["bb-table-header bb-table-header--actions", e.thClass]),
590
593
  scope: "col"
591
594
  }, [
592
595
  _(e.$slots, "header:actions", { text: e.actionsText }, () => [
593
- d("span", sl, x(e.actionsText), 1)
596
+ d("span", nl, C(e.actionsText), 1)
594
597
  ])
595
598
  ], 2)) : w("", !0)
596
- ], 8, Yt)
599
+ ], 8, Zt)
597
600
  ])
598
601
  ]),
599
602
  d("tbody", null, [
@@ -601,12 +604,12 @@ const Xt = {
601
604
  key: 0,
602
605
  items: T(he)
603
606
  }, () => [
604
- (o(!0), r(I, null, E(Fe.value, (t, s) => (o(), r("tr", {
607
+ (o(!0), r(I, null, E(Pe.value, (t, s) => (o(), r("tr", {
605
608
  key: s,
606
609
  "aria-rowindex": V.value ? s + 2 : void 0,
607
610
  class: "bb-table-skeleton__row"
608
611
  }, [
609
- e.selectable ? (o(), r("td", ol, l[1] || (l[1] = [
612
+ e.selectable ? (o(), r("td", rl, l[1] || (l[1] = [
610
613
  d("div", { class: "bb-table-skeleton__placeholder" }, null, -1)
611
614
  ]))) : w("", !0),
612
615
  (o(!0), r(I, null, E(a.columns, (n, u) => (o(), r("td", {
@@ -616,7 +619,7 @@ const Xt = {
616
619
  `bb-table-skeleton__cell--${n.skeleton ?? "text"}`
617
620
  ])
618
621
  }, [
619
- !n.skeleton || n.skeleton === "text" ? (o(), r("div", rl, [
622
+ !n.skeleton || n.skeleton === "text" ? (o(), r("div", cl, [
620
623
  d("div", {
621
624
  class: "bb-table-skeleton__line",
622
625
  style: N({
@@ -629,9 +632,9 @@ const Xt = {
629
632
  width: `${Z[(s + u + 2) % 4]}%`
630
633
  })
631
634
  }, null, 4)
632
- ])) : n.skeleton === "avatar" ? (o(), r("div", cl)) : n.skeleton === "avatar-text" ? (o(), r("div", ul, [
635
+ ])) : n.skeleton === "avatar" ? (o(), r("div", ul)) : n.skeleton === "avatar-text" ? (o(), r("div", dl, [
633
636
  l[2] || (l[2] = d("div", { class: "bb-table-skeleton__avatar" }, null, -1)),
634
- d("div", dl, [
637
+ d("div", il, [
635
638
  d("div", {
636
639
  class: "bb-table-skeleton__line",
637
640
  style: N({
@@ -645,14 +648,14 @@ const Xt = {
645
648
  })
646
649
  }, null, 4)
647
650
  ])
648
- ])) : n.skeleton === "image" ? (o(), r("div", il)) : n.skeleton === "badge" ? (o(), r("div", bl)) : w("", !0)
651
+ ])) : n.skeleton === "image" ? (o(), r("div", bl)) : n.skeleton === "badge" ? (o(), r("div", pl)) : w("", !0)
649
652
  ], 2))), 128)),
650
- e.actions ? (o(), r("td", pl, l[3] || (l[3] = [
653
+ e.actions ? (o(), r("td", fl, l[3] || (l[3] = [
651
654
  d("div", { class: "bb-table-skeleton__placeholder" }, null, -1)
652
655
  ]))) : w("", !0)
653
- ], 8, nl))), 128)),
656
+ ], 8, ol))), 128)),
654
657
  d("tr", {
655
- "aria-rowindex": V.value ? Fe.value + 2 : void 0,
658
+ "aria-rowindex": V.value ? Pe.value + 2 : void 0,
656
659
  class: "bb-table-loading__row bb-table-loading__row--sr-only"
657
660
  }, [
658
661
  d("td", {
@@ -661,11 +664,11 @@ const Xt = {
661
664
  "aria-live": "polite",
662
665
  role: "status"
663
666
  }, [
664
- d("span", vl, x(e.loadingText), 1)
665
- ], 8, hl)
666
- ], 8, fl)
667
+ d("span", ml, C(e.loadingText), 1)
668
+ ], 8, vl)
669
+ ], 8, hl)
667
670
  ]) : T(z).length ? _(e.$slots, "tbody", { key: 2 }, () => [
668
- (o(!0), r(I, null, E(Oe.value, (t) => (o(), r(I, {
671
+ (o(!0), r(I, null, E(We.value, (t) => (o(), r(I, {
669
672
  key: t.valueHash
670
673
  }, [
671
674
  d("tr", {
@@ -693,30 +696,30 @@ const Xt = {
693
696
  "bb-table-check__label--disabled": t.disabled
694
697
  }])
695
698
  }, [
696
- Xe(Ze, {
699
+ Ye(et, {
697
700
  checked: ye(t),
698
701
  class: "bb-table-check",
699
702
  disabled: t.disabled,
700
703
  readonly: e.readonly,
701
- onChange: () => De(t)
704
+ onChange: () => Fe(t)
702
705
  }, null, 8, ["checked", "disabled", "readonly", "onChange"]),
703
- d("span", _l, x(t.accessibleLabel), 1)
706
+ d("span", wl, C(t.accessibleLabel), 1)
704
707
  ], 2)) : (o(), r("label", {
705
708
  key: 1,
706
709
  class: g(["bb-table-radio__label", {
707
710
  "bb-table-radio__label--disabled": t.disabled
708
711
  }])
709
712
  }, [
710
- Xe(jt, {
713
+ Ye(Kt, {
711
714
  checked: t.selected,
712
715
  class: "bb-table-radio",
713
716
  disabled: t.disabled,
714
717
  name: T(_e),
715
718
  readonly: e.readonly,
716
719
  value: t.value,
717
- onChange: () => De(t)
720
+ onChange: () => Fe(t)
718
721
  }, null, 8, ["checked", "disabled", "name", "readonly", "value", "onChange"]),
719
- d("span", wl, x(t.accessibleLabel), 1)
722
+ d("span", Cl, C(t.accessibleLabel), 1)
720
723
  ], 2))
721
724
  ])
722
725
  ], 2)) : w("", !0),
@@ -739,7 +742,7 @@ const Xt = {
739
742
  toggleExpanded: () => j(t.valueHash),
740
743
  value: t.value
741
744
  }, () => [
742
- Ht(x(s.content), 1)
745
+ Rt(C(s.content), 1)
743
746
  ])
744
747
  ], 2))), 128)),
745
748
  e.actions ? (o(), r("td", {
@@ -754,7 +757,7 @@ const Xt = {
754
757
  value: t.value
755
758
  })
756
759
  ], 2)) : w("", !0)
757
- ], 40, gl),
760
+ ], 40, _l),
758
761
  t.expanded ? (o(), r("tr", {
759
762
  key: 0,
760
763
  "aria-rowindex": V.value && t.rowIndex ? t.rowIndex + 1 : void 0,
@@ -772,7 +775,7 @@ const Xt = {
772
775
  toggleExpanded: () => j(t.valueHash),
773
776
  value: t.value
774
777
  })
775
- ], 8, Cl)
778
+ ], 8, Tl)
776
779
  ], 8, xl)) : w("", !0)
777
780
  ], 64))), 128))
778
781
  ]) : _(e.$slots, "no-data", { key: 1 }, () => [
@@ -784,24 +787,24 @@ const Xt = {
784
787
  class: "bb-table-no-data__cell",
785
788
  colspan: fe.value
786
789
  }, [
787
- d("span", kl, x(e.noDataText || T(M)("table.noDataText").value), 1)
788
- ], 8, yl)
789
- ], 8, ml)
790
+ d("span", gl, C(e.noDataText || T(M)("table.noDataText").value), 1)
791
+ ], 8, kl)
792
+ ], 8, yl)
790
793
  ])
791
794
  ]),
792
795
  d("tfoot", null, [
793
796
  _(e.$slots, "tfoot")
794
797
  ])
795
798
  ], 512),
796
- (o(!0), r(I, null, E(Tt.value, (t) => (o(), r("input", Rt({
799
+ (o(!0), r(I, null, E($t.value, (t) => (o(), r("input", Nt({
797
800
  key: t.value,
798
801
  ref_for: !0
799
802
  }, t), null, 16))), 128))
800
803
  ]),
801
804
  _: 3
802
- }, 8, ["aria-busy", "aria-rowcount", "class", "data-bb-table-id", "inert", "style"]));
805
+ }, 8, ["id", "aria-busy", "aria-rowcount", "class", "data-bb-table-id", "inert", "style"]));
803
806
  }
804
807
  });
805
808
  export {
806
- jl as default
809
+ Kl as default
807
810
  };