bitboss-ui 2.1.84 → 2.1.85

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/components/BbTable/utils.d.ts +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index107.js +7 -7
  4. package/dist/index112.js +1 -1
  5. package/dist/index114.js +1 -1
  6. package/dist/index120.js +1 -1
  7. package/dist/index122.js +50 -50
  8. package/dist/index13.js +2 -2
  9. package/dist/index130.js +1 -1
  10. package/dist/index132.js +5 -5
  11. package/dist/index134.js +1 -1
  12. package/dist/index136.js +2 -2
  13. package/dist/index143.js +2 -2
  14. package/dist/index15.js +5 -5
  15. package/dist/index17.js +3 -3
  16. package/dist/index19.js +5 -5
  17. package/dist/index21.js +14 -14
  18. package/dist/index217.js +32 -4
  19. package/dist/index218.js +28 -8
  20. package/dist/index220.js +5 -2
  21. package/dist/index221.js +5 -3
  22. package/dist/index222.js +5 -5
  23. package/dist/index223.js +5 -5
  24. package/dist/index224.js +3 -5
  25. package/dist/index225.js +2 -5
  26. package/dist/index226.js +6 -5
  27. package/dist/index227.js +8 -5
  28. package/dist/index228.js +268 -2
  29. package/dist/index229.js +52 -3
  30. package/dist/index23.js +11 -11
  31. package/dist/index230.js +51 -12
  32. package/dist/index231.js +30 -18
  33. package/dist/index232.js +57 -132
  34. package/dist/index233.js +15 -0
  35. package/dist/index234.js +5 -34
  36. package/dist/index235.js +8 -9
  37. package/dist/index236.js +5 -13
  38. package/dist/index237.js +4 -13
  39. package/dist/index238.js +19 -32
  40. package/dist/index239.js +199 -26
  41. package/dist/index241.js +135 -7
  42. package/dist/index243.js +1 -1
  43. package/dist/index246.js +14 -15
  44. package/dist/index247.js +15 -49
  45. package/dist/index248.js +48 -12
  46. package/dist/index249.js +15 -3
  47. package/dist/index25.js +3 -3
  48. package/dist/index250.js +1 -1
  49. package/dist/index251.js +2 -16
  50. package/dist/index252.js +2 -5
  51. package/dist/index253.js +2 -2
  52. package/dist/index254.js +7 -6
  53. package/dist/index255.js +7 -8
  54. package/dist/index256.js +4 -268
  55. package/dist/index257.js +7 -50
  56. package/dist/index258.js +51 -50
  57. package/dist/index259.js +187 -31
  58. package/dist/index260.js +3 -60
  59. package/dist/index261.js +3 -5
  60. package/dist/index262.js +33 -187
  61. package/dist/index263.js +9 -3
  62. package/dist/index264.js +3 -67
  63. package/dist/index265.js +9 -3
  64. package/dist/index266.js +13 -4
  65. package/dist/index267.js +23 -9
  66. package/dist/index268.js +4 -41
  67. package/dist/index269.js +22 -3
  68. package/dist/index27.js +1 -1
  69. package/dist/index270.js +12 -200
  70. package/dist/index271.js +12 -0
  71. package/dist/index272.js +3 -3
  72. package/dist/index273.js +3 -11
  73. package/dist/index274.js +7 -106
  74. package/dist/index275.js +5 -0
  75. package/dist/index276.js +17 -99
  76. package/dist/index277.js +14 -0
  77. package/dist/index278.js +106 -4
  78. package/dist/index280.js +99 -7
  79. package/dist/index282.js +229 -23
  80. package/dist/index283.js +6 -2
  81. package/dist/index284.js +16 -7
  82. package/dist/index285.js +8 -6
  83. package/dist/index286.js +10 -8
  84. package/dist/index287.js +5 -6
  85. package/dist/index288.js +5 -16
  86. package/dist/index289.js +5 -18
  87. package/dist/index29.js +2 -2
  88. package/dist/index290.js +2 -12
  89. package/dist/index291.js +2 -229
  90. package/dist/index292.js +67 -10
  91. package/dist/index293.js +8 -3
  92. package/dist/index295.js +1 -1
  93. package/dist/index298.js +12 -121
  94. package/dist/index299.js +2 -2
  95. package/dist/index300.js +11 -10
  96. package/dist/index302.js +23 -12
  97. package/dist/index304.js +2 -16
  98. package/dist/index305.js +2 -2
  99. package/dist/index306.js +2 -19
  100. package/dist/index307.js +2 -2
  101. package/dist/index308.js +28 -3
  102. package/dist/index309.js +2 -7
  103. package/dist/index31.js +2 -2
  104. package/dist/index310.js +7 -2
  105. package/dist/index311.js +1 -1
  106. package/dist/index312.js +3 -27
  107. package/dist/index313.js +3 -2
  108. package/dist/index314.js +3 -2
  109. package/dist/index315.js +17 -2
  110. package/dist/index316.js +5 -2
  111. package/dist/index317.js +5 -2
  112. package/dist/index318.js +4 -28
  113. package/dist/index319.js +6 -2
  114. package/dist/index320.js +4 -3
  115. package/dist/index321.js +3 -17
  116. package/dist/index322.js +3 -4
  117. package/dist/index323.js +2 -5
  118. package/dist/index324.js +719 -3
  119. package/dist/index325.js +366 -4
  120. package/dist/index326.js +57 -5
  121. package/dist/index327.js +5 -6
  122. package/dist/index328.js +7 -3
  123. package/dist/index329.js +7 -3
  124. package/dist/index33.js +5 -5
  125. package/dist/index330.js +19 -719
  126. package/dist/index331.js +9 -366
  127. package/dist/index332.js +12 -54
  128. package/dist/index333.js +93 -2
  129. package/dist/index334.js +2 -35
  130. package/dist/index335.js +228 -6
  131. package/dist/index336.js +122 -126
  132. package/dist/index337.js +2 -398
  133. package/dist/index338.js +14 -6
  134. package/dist/index339.js +2 -19
  135. package/dist/index340.js +18 -8
  136. package/dist/index341.js +2 -15
  137. package/dist/index342.js +35 -5
  138. package/dist/index343.js +6 -7
  139. package/dist/index344.js +128 -57
  140. package/dist/index345.js +396 -56
  141. package/dist/index346.js +7 -227
  142. package/dist/index347.js +5 -133
  143. package/dist/index348.js +8 -22
  144. package/dist/index349.js +60 -0
  145. package/dist/index35.js +4 -4
  146. package/dist/index350.js +58 -8
  147. package/dist/index351.js +22 -6
  148. package/dist/index353.js +130 -89
  149. package/dist/index354.js +2 -2
  150. package/dist/index355.js +503 -424
  151. package/dist/index356.js +427 -114
  152. package/dist/index357.js +124 -516
  153. package/dist/index37.js +16 -16
  154. package/dist/index39.js +6 -6
  155. package/dist/index41.js +2 -2
  156. package/dist/index43.js +5 -5
  157. package/dist/index45.js +6 -6
  158. package/dist/index49.js +2 -2
  159. package/dist/index53.js +1 -1
  160. package/dist/index55.js +1 -1
  161. package/dist/index57.js +2 -2
  162. package/dist/index61.js +5 -5
  163. package/dist/index67.js +1 -1
  164. package/dist/index80.js +6 -6
  165. package/dist/index82.js +1 -1
  166. package/dist/index84.js +2 -2
  167. package/dist/index86.js +3 -3
  168. package/dist/index88.js +1 -1
  169. package/dist/index91.js +3 -3
  170. package/dist/index93.js +2 -2
  171. package/dist/index95.js +5 -5
  172. package/package.json +1 -1
  173. package/dist/index219.js +0 -4
  174. package/dist/index242.js +0 -4
  175. package/dist/index279.js +0 -25
  176. package/dist/index281.js +0 -11
  177. package/dist/index352.js +0 -10
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 v, Fragment as k, renderList as x, normalizeStyle as H, createVNode as ee, createTextVNode as Ce, mergeProps as Ie } from "vue";
1
+ import { defineComponent as he, mergeModels as X, ref as ke, computed as u, toRef as O, useModel as Y, watch as M, 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
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";
3
+ import { hash as T } from "./index224.js";
4
+ import { isNil as w } from "./index253.js";
5
+ import { when as $e } from "./index256.js";
6
6
  import { useId as Be } from "./index8.js";
7
- import { useItemValue as He } from "./index267.js";
7
+ import { useItemValue as He } from "./index257.js";
8
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";
9
+ import { usePrefill as Ae } from "./index246.js";
10
+ import { useIndexById as le } from "./index247.js";
11
+ import { useBaseOptions as Ne } from "./index248.js";
12
12
  import { useHashedWatcher as Le } from "./index250.js";
13
- import { useLocale as De } from "./index230.js";
13
+ import { useLocale as De } from "./index233.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 "./index268.js";
19
- import { useLogger as Me } from "./index255.js";
18
+ import { columnKeyToSlotName as Se, mergeHeaderClasses as Pe, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index258.js";
19
+ import { useLogger as Me } from "./index227.js";
20
20
  const Fe = {
21
21
  key: 0,
22
22
  class: "sr-only"
@@ -94,11 +94,11 @@ const Fe = {
94
94
  }),
95
95
  emits: /* @__PURE__ */ X(["click:row", "contextmenu:row", "dblclick:row", "update:modelValue", "update:selectAll", "update:expandedItems", "update:unselectedItems", "item:selected", "item:unselected"], ["update:selectAll", "update:expandedItems"]),
96
96
  setup(A, { emit: te }) {
97
- const { getItemValue: se } = He(), M = Be().id.value, a = A, b = te;
97
+ const { getItemValue: se } = He(), F = Be().id.value, a = A, b = te;
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: 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(
101
+ const { t: C } = De(), N = ke(), ne = (e) => [C("table.select").value, ...e.map((t) => t.content)].join(" "), oe = u(() => a.selectable ? "fieldset" : "div"), L = u(() => a.loading || re.value), y = u(
102
102
  () => !w(a.page) && !w(a.perPage) && !w(a.totalItems)
103
103
  ), de = u(() => ({
104
104
  "bb-table": !0,
@@ -106,10 +106,10 @@ const Fe = {
106
106
  "bb-table--compact": a.compact,
107
107
  "bb-table--fixed": a.fixed,
108
108
  "bb-table--fixed-header": a.fixedHeaders,
109
- "bb-table--loading": N.value,
109
+ "bb-table--loading": L.value,
110
110
  "bb-table--empty": !I.value.length,
111
111
  "bb-table--selectable": !!a.selectable
112
- })), L = u(
112
+ })), D = u(
113
113
  () => a.columns.length + +!!a.selectable + +!!a.actions
114
114
  ), z = u(
115
115
  () => Object.fromEntries(
@@ -117,10 +117,10 @@ const Fe = {
117
117
  )
118
118
  ), {
119
119
  getter: K,
120
- items: D,
120
+ items: E,
121
121
  loading: re
122
122
  } = Te({
123
- items: R(a, "items")
123
+ items: O(a, "items")
124
124
  }), { hasPrefilled: be } = Ae({
125
125
  onStart: !0,
126
126
  currentValue: a.modelValue,
@@ -129,10 +129,10 @@ const Fe = {
129
129
  await K(e, a.modelValue);
130
130
  }
131
131
  }), { data: j } = le({
132
- items: R(a, "modelValue")
132
+ items: O(a, "modelValue")
133
133
  }), { options: I } = Ne({
134
- disabled: R(a, "disabled"),
135
- items: D,
134
+ disabled: O(a, "disabled"),
135
+ items: E,
136
136
  itemText: void 0,
137
137
  itemValue: a.itemValue,
138
138
  max: a.max,
@@ -195,7 +195,7 @@ const Fe = {
195
195
  return I.value.map((t, l) => {
196
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
197
  (h) => ue(h, t)
198
- ), Q = E.value[t.valueHash] ?? !1;
198
+ ), Q = S.value[t.valueHash] ?? !1;
199
199
  return Q && e++, {
200
200
  accessibleLabel: ne(J),
201
201
  cols: J,
@@ -212,26 +212,26 @@ const Fe = {
212
212
  disabled: d
213
213
  };
214
214
  });
215
- }), f = Y(A, "selectAll"), V = Y(A, "expandedItems"), { data: E } = le({
215
+ }), f = Y(A, "selectAll"), V = Y(A, "expandedItems"), { data: S } = le({
216
216
  items: V
217
217
  }), me = (e, t) => {
218
218
  e.target instanceof HTMLElement && (e.target instanceof HTMLButtonElement || e.key !== "Enter" && e.key !== " " || (e.preventDefault(), $(t)));
219
- }, S = (e) => ({
220
- "aria-controls": w(E.value[e.valueHash]) ? void 0 : `expanded_${e.valueHash}`,
219
+ }, P = (e) => ({
220
+ "aria-controls": w(S.value[e.valueHash]) ? void 0 : `expanded_${e.valueHash}`,
221
221
  "aria-expanded": e.expanded ? "true" : "false",
222
222
  onClick: () => $(e.valueHash),
223
223
  onKeydown: (t) => me(t, e.valueHash)
224
224
  }), $ = (e) => {
225
225
  const t = I.value.find((l) => l.valueHash === e);
226
- t && (e in E.value ? V.value = V.value.filter(
226
+ t && (e in S.value ? V.value = V.value.filter(
227
227
  (l) => T(l) !== e
228
228
  ) : V.value = [...V.value, t.value]);
229
229
  };
230
- O(f, () => {
230
+ M(f, () => {
231
231
  _.clear(), b("update:unselectedItems", []), b("update:modelValue", []);
232
232
  });
233
233
  const U = u(() => !!(a.multiple && a.modelValue.length > 0 && !a.selectAll || f.value && _.size > 0)), _ = ge(/* @__PURE__ */ new Set());
234
- O(
234
+ M(
235
235
  () => a.unselectedItems,
236
236
  () => {
237
237
  _.clear(), a.unselectedItems.forEach((e) => {
@@ -240,7 +240,7 @@ const Fe = {
240
240
  }
241
241
  );
242
242
  const W = (e) => {
243
- if (P(e)) {
243
+ if (R(e)) {
244
244
  ce(e), b("item:unselected", e.value), _.add(e.valueHash), b("update:unselectedItems", [...a.unselectedItems, e.value]);
245
245
  return;
246
246
  }
@@ -248,7 +248,7 @@ const Fe = {
248
248
  "update:unselectedItems",
249
249
  a.unselectedItems.filter((t) => T(t) !== T(e.value))
250
250
  );
251
- }, P = (e) => _.has(e.valueHash) ? !1 : e.selected || f.value, ve = $e(
251
+ }, R = (e) => _.has(e.valueHash) ? !1 : e.selected || f.value, ve = $e(
252
252
  (e) => typeof e != "string",
253
253
  JSON.stringify
254
254
  ), ye = u(
@@ -261,24 +261,24 @@ const Fe = {
261
261
  ), B = [70, 45, 85, 55], G = u(
262
262
  () => Ve(I.value.length || a.columns.length || 1, 4, 10)
263
263
  );
264
- return O(
264
+ return M(
265
265
  () => [q.value, a.fixedColumns],
266
266
  () => {
267
- const e = F.value;
268
- e && a.fixedColumns?.length && Re(e, a.fixedColumns);
267
+ N.value && a.fixedColumns?.length && Re(N.value, a.fixedColumns);
269
268
  },
270
269
  { flush: "post" }
271
270
  ), (e, t) => (s(), Z(xe(oe.value), {
272
- ref_key: "containerRef",
273
- ref: F,
274
- "aria-busy": N.value,
271
+ "aria-busy": L.value,
275
272
  "aria-rowcount": y.value ? a.totalItems : void 0,
276
273
  class: i(de.value),
277
274
  inert: e.disabled
278
275
  }, {
279
276
  default: we(() => [
280
277
  e.selectable ? (s(), n("legend", Fe, m(e.legend), 1)) : p("", !0),
281
- o("table", null, [
278
+ o("table", {
279
+ ref_key: "tableRef",
280
+ ref: N
281
+ }, [
282
282
  e.caption ? (s(), n("caption", {
283
283
  key: 0,
284
284
  class: i({
@@ -332,7 +332,7 @@ const Fe = {
332
332
  }, [
333
333
  c(e.$slots, l.slotName, {
334
334
  classes: l.classes,
335
- items: v(D),
335
+ items: v(E),
336
336
  label: l.label
337
337
  }, () => [
338
338
  o("span", We, m(l.label), 1)
@@ -351,9 +351,9 @@ const Fe = {
351
351
  ])
352
352
  ]),
353
353
  o("tbody", null, [
354
- N.value ? c(e.$slots, "loading", {
354
+ L.value ? c(e.$slots, "loading", {
355
355
  key: 0,
356
- items: v(D)
356
+ items: v(E)
357
357
  }, () => [
358
358
  (s(!0), n(k, null, x(G.value, (l, d) => (s(), n("tr", {
359
359
  key: d,
@@ -410,7 +410,7 @@ const Fe = {
410
410
  class: "bb-table-loading__row bb-table-loading__row--sr-only"
411
411
  }, [
412
412
  o("td", {
413
- colspan: L.value,
413
+ colspan: D.value,
414
414
  class: "bb-table-loading__cell",
415
415
  "aria-live": "polite",
416
416
  role: "status"
@@ -434,9 +434,9 @@ const Fe = {
434
434
  class: i(["bb-table-data__cell bb-table-data__cell--select", e.tdClass])
435
435
  }, [
436
436
  c(e.$slots, "select", {
437
- checked: P(l),
437
+ checked: R(l),
438
438
  disabled: !!l.disabled,
439
- inputName: v(M),
439
+ inputName: v(F),
440
440
  item: l.item,
441
441
  readonly: !!e.readonly,
442
442
  value: l.value
@@ -448,7 +448,7 @@ const Fe = {
448
448
  }])
449
449
  }, [
450
450
  ee(ae, {
451
- checked: P(l),
451
+ checked: R(l),
452
452
  class: "bb-table-check",
453
453
  disabled: l.disabled,
454
454
  readonly: e.readonly,
@@ -465,7 +465,7 @@ const Fe = {
465
465
  checked: l.selected,
466
466
  class: "bb-table-radio",
467
467
  disabled: l.disabled,
468
- name: v(M),
468
+ name: v(F),
469
469
  readonly: e.readonly,
470
470
  value: l.value,
471
471
  onChange: () => W(l)
@@ -483,7 +483,7 @@ const Fe = {
483
483
  content: d.content,
484
484
  expanded: l.expanded,
485
485
  item: l.item,
486
- expandProps: S(l),
486
+ expandProps: P(l),
487
487
  toggleExpanded: () => $(l.valueHash),
488
488
  value: l.value
489
489
  }, () => [
@@ -497,7 +497,7 @@ const Fe = {
497
497
  c(e.$slots, "actions", {
498
498
  expanded: l.expanded,
499
499
  item: l.item,
500
- expandProps: S(l),
500
+ expandProps: P(l),
501
501
  toggleExpanded: () => $(l.valueHash),
502
502
  value: l.value
503
503
  })
@@ -510,13 +510,13 @@ const Fe = {
510
510
  class: "bb-table-expand__row"
511
511
  }, [
512
512
  o("td", {
513
- colspan: L.value,
513
+ colspan: D.value,
514
514
  class: "bb-table-expand__cell"
515
515
  }, [
516
516
  c(e.$slots, "expand", {
517
517
  expanded: l.expanded,
518
518
  item: l.item,
519
- expandProps: S(l),
519
+ expandProps: P(l),
520
520
  toggleExpanded: () => $(l.valueHash),
521
521
  value: l.value
522
522
  })
@@ -530,7 +530,7 @@ const Fe = {
530
530
  }, [
531
531
  o("td", {
532
532
  class: "bb-table-no-data__cell",
533
- colspan: L.value
533
+ colspan: D.value
534
534
  }, [
535
535
  o("span", bl, m(e.noDataText || v(C)("table.noDataText").value), 1)
536
536
  ], 8, rl)
@@ -540,7 +540,7 @@ const Fe = {
540
540
  o("tfoot", null, [
541
541
  c(e.$slots, "tfoot")
542
542
  ])
543
- ]),
543
+ ], 512),
544
544
  (s(!0), n(k, null, x(ye.value, (l) => (s(), n("input", Ie({
545
545
  key: l.value,
546
546
  ref_for: !0
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 "./index234.js";
3
- import { useFrameworkDetection as _ } from "./index235.js";
2
+ import R from "./index262.js";
3
+ import { useFrameworkDetection as _ } from "./index263.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 "./index264.js";
3
+ import b from "./index292.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 "./index230.js";
4
- import { useUntil as X } from "./index237.js";
3
+ import { useLocale as Q } from "./index233.js";
4
+ import { useUntil as X } from "./index266.js";
5
5
  import Y from "./index13.js";
6
6
  /* empty css */
7
- import Z from "./index232.js";
7
+ import Z from "./index241.js";
8
8
  /* empty css */
9
9
  import { useElementSize as ee } from "./index141.js";
10
- import { extractDomContainer as V } from "./index278.js";
11
- import { parseWidthString as te } from "./index279.js";
10
+ import { extractDomContainer as V } from "./index268.js";
11
+ import { parseWidthString as te } from "./index269.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 "./index261.js";
2
+ import { flattenTree as T } from "./index236.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 "./index238.js";
9
- import g from "./index239.js";
8
+ import N from "./index217.js";
9
+ import g from "./index218.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/index143.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index217.js";
2
- import { isPlainObject as i } from "./index218.js";
1
+ import { isArray as p } from "./index234.js";
2
+ import { isPlainObject as i } from "./index235.js";
3
3
  function f(e, n, u, l, r) {
4
4
  const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
5
  o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
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 "./index269.js";
2
+ import { isHex as z } from "./index237.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 "./index230.js";
6
- import { vMaska as A } from "./index231.js";
7
- import K from "./index270.js";
5
+ import { useLocale as U } from "./index233.js";
6
+ import { vMaska as A } from "./index238.js";
7
+ import K from "./index239.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 "./index232.js";
12
+ import T from "./index241.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 "./index219.js";
3
- import { booleanishToBoolean as q } from "./index220.js";
4
- import { isEqual as A } from "./index221.js";
2
+ import { isCssColor as y } from "./index252.js";
3
+ import { booleanishToBoolean as q } from "./index291.js";
4
+ import { isEqual as A } from "./index273.js";
5
5
  const N = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index19.js CHANGED
@@ -4,12 +4,12 @@ import N from "./index17.js";
4
4
  import U from "./index243.js";
5
5
  /* empty css */
6
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";
7
+ import { useIndexById as C } from "./index247.js";
8
+ import { useBaseOptions as J } from "./index248.js";
9
+ import { useCoherence as Q } from "./index249.js";
10
+ import { hash as X } from "./index224.js";
11
11
  import { useHashedWatcher as $ } from "./index250.js";
12
- import { usePrefill as Y } from "./index251.js";
12
+ import { usePrefill as Y } from "./index246.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 "./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";
8
+ import d from "./index220.js";
9
+ import ee from "./index221.js";
10
+ import ae from "./index222.js";
11
+ import te from "./index223.js";
12
+ import { hash as B } from "./index224.js";
13
+ import { last as le } from "./index225.js";
14
+ import { validateDateFormat as L } from "./index226.js";
15
+ import { useLogger as oe } from "./index227.js";
16
+ import re from "./index228.js";
17
+ import se from "./index229.js";
18
+ import de from "./index230.js";
19
+ import S from "./index231.js";
20
+ import ie from "./index232.js";
21
+ import { useLocale as ne } from "./index233.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/index217.js CHANGED
@@ -1,7 +1,35 @@
1
- import { getType as t } from "./index325.js";
2
- function o(r) {
3
- return t(r) === "Array";
1
+ import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
2
+ /* empty css */
3
+ import n from "./index213.js";
4
+ const l = {}, s = {
5
+ class: "bb-error-icon",
6
+ fill: "none",
7
+ viewBox: "0 0 20 20",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function i(c, r) {
11
+ return t(), e("svg", s, r[0] || (r[0] = [
12
+ o("path", {
13
+ d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ o("path", {
17
+ d: "M9.99414 6.66666V9.99999",
18
+ stroke: "white",
19
+ "stroke-linecap": "round",
20
+ "stroke-linejoin": "round",
21
+ "stroke-width": "2"
22
+ }, null, -1),
23
+ o("path", {
24
+ d: "M9.99414 13.3333H10.0025",
25
+ stroke: "white",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round",
28
+ "stroke-width": "2"
29
+ }, null, -1)
30
+ ]));
4
31
  }
32
+ const a = /* @__PURE__ */ n(l, [["render", i]]);
5
33
  export {
6
- o as isArray
34
+ a as default
7
35
  };
package/dist/index218.js CHANGED
@@ -1,10 +1,30 @@
1
- import { getType as o } from "./index325.js";
2
- function c(e) {
3
- if (o(e) !== "Object")
4
- return !1;
5
- const t = Object.getPrototypeOf(e);
6
- return !!t && t.constructor === Object && t === Object.prototype;
7
- }
1
+ import { defineComponent as l, createElementBlock as n, openBlock as r, unref as a, createElementVNode as t } from "vue";
2
+ import { useLocale as s } from "./index233.js";
3
+ const c = ["aria-label"], b = /* @__PURE__ */ l({
4
+ __name: "ClearableButton",
5
+ setup(u) {
6
+ const { t: o } = s();
7
+ return (i, e) => (r(), n("button", {
8
+ "aria-label": a(o)("common.clearLabel").value,
9
+ class: "bb-clearable-button",
10
+ type: "button"
11
+ }, e[0] || (e[0] = [
12
+ t("svg", {
13
+ viewBox: "0 0 24 24",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, [
16
+ t("path", {
17
+ d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
18
+ fill: "none",
19
+ stroke: "currentColor",
20
+ "stroke-linecap": "round",
21
+ "stroke-linejoin": "round",
22
+ "stroke-width": "2"
23
+ })
24
+ ], -1)
25
+ ]), 8, c));
26
+ }
27
+ });
8
28
  export {
9
- c as isPlainObject
29
+ b as default
10
30
  };
package/dist/index220.js CHANGED
@@ -1,4 +1,7 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
1
+ import { getDefaultExportFromCjs as r } from "./index319.js";
2
+ import { __require as o } from "./index296.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
2
5
  export {
3
- o as booleanishToBoolean
6
+ s as default
4
7
  };
package/dist/index221.js CHANGED
@@ -1,5 +1,7 @@
1
- import { hash as r } from "./index249.js";
2
- const a = (o, t) => r(o) === r(t);
1
+ import { getDefaultExportFromCjs as r } from "./index319.js";
2
+ import { __require as e } from "./index298.js";
3
+ var t = e();
4
+ const m = /* @__PURE__ */ r(t);
3
5
  export {
4
- a as isEqual
6
+ m as default
5
7
  };
package/dist/index222.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index327.js";
2
- import { __require as o } from "./index296.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ import { getDefaultExportFromCjs as r } from "./index319.js";
2
+ import { __require as e } from "./index300.js";
3
+ var o = e();
4
+ const m = /* @__PURE__ */ r(o);
5
5
  export {
6
- s as default
6
+ m as default
7
7
  };
package/dist/index223.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index327.js";
2
- import { __require as o } from "./index298.js";
3
- var t = o();
4
- const m = /* @__PURE__ */ r(t);
1
+ import { getDefaultExportFromCjs as e } from "./index319.js";
2
+ import { __require as r } from "./index302.js";
3
+ var o = r();
4
+ const f = /* @__PURE__ */ e(o);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
package/dist/index224.js CHANGED
@@ -1,7 +1,5 @@
1
- import { getDefaultExportFromCjs as r } from "./index327.js";
2
- import { __require as e } from "./index300.js";
3
- var o = e();
4
- const m = /* @__PURE__ */ r(o);
1
+ import { hash as o } from "./index308.js";
2
+ const t = (r, h = "bb") => `${h}${o(r)}`;
5
3
  export {
6
- m as default
4
+ t as hash
7
5
  };
package/dist/index225.js CHANGED
@@ -1,7 +1,4 @@
1
- import { getDefaultExportFromCjs as r } from "./index327.js";
2
- import { __require as e } from "./index302.js";
3
- var t = e();
4
- const m = /* @__PURE__ */ r(t);
1
+ const e = (t) => t[t.length - 1];
5
2
  export {
6
- m as default
3
+ e as last
7
4
  };
package/dist/index226.js CHANGED
@@ -1,7 +1,8 @@
1
- import { getDefaultExportFromCjs as r } from "./index327.js";
2
- import { __require as e } from "./index304.js";
3
- var o = e();
4
- const m = /* @__PURE__ */ r(o);
1
+ function e(t, r) {
2
+ if (!/\d{4}-\d{2}-\d{2}/.test(t))
3
+ throw new Error(`${r} must be in the format YYYY-MM-DD`);
4
+ return t;
5
+ }
5
6
  export {
6
- m as default
7
+ e as validateDateFormat
7
8
  };
package/dist/index227.js CHANGED
@@ -1,7 +1,10 @@
1
- import { getDefaultExportFromCjs as r } from "./index327.js";
2
- import { __require as t } from "./index306.js";
3
- var o = t();
4
- const a = /* @__PURE__ */ r(o);
1
+ const o = "bitboss-ui | ", e = () => ({
2
+ warn: (r) => console.warn(`${o}${r}`),
3
+ error: (r) => console.error(`${o}${r}`),
4
+ throw: (r) => {
5
+ throw new Error(`${o}${r}`);
6
+ }
7
+ });
5
8
  export {
6
- a as default
9
+ e as useLogger
7
10
  };