bitboss-ui 2.1.84 → 2.1.86

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 (184) hide show
  1. package/dist/components/BbTable/utils.d.ts +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index107.js +9 -9
  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 +53 -53
  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/index139.js +1 -1
  14. package/dist/index142.js +1 -1
  15. package/dist/index15.js +5 -5
  16. package/dist/index17.js +3 -3
  17. package/dist/index19.js +8 -8
  18. package/dist/index21.js +14 -14
  19. package/dist/index215.js +2 -2
  20. package/dist/index216.js +2 -2
  21. package/dist/index217.js +1 -1
  22. package/dist/index218.js +1 -1
  23. package/dist/index219.js +4 -2
  24. package/dist/index220.js +13 -2
  25. package/dist/index221.js +20 -3
  26. package/dist/index222.js +201 -5
  27. package/dist/index224.js +135 -5
  28. package/dist/index226.js +33 -5
  29. package/dist/index227.js +28 -5
  30. package/dist/index229.js +2 -3
  31. package/dist/index23.js +11 -11
  32. package/dist/index230.js +2 -13
  33. package/dist/index231.js +3 -20
  34. package/dist/index232.js +3 -135
  35. package/dist/index233.js +9 -0
  36. package/dist/index234.js +2 -34
  37. package/dist/index235.js +86 -9
  38. package/dist/index237.js +27 -11
  39. package/dist/index238.js +16 -32
  40. package/dist/index239.js +51 -28
  41. package/dist/index240.js +17 -0
  42. package/dist/index241.js +3 -7
  43. package/dist/index242.js +12 -2
  44. package/dist/index243.js +16 -86
  45. package/dist/index245.js +186 -27
  46. package/dist/index246.js +3 -17
  47. package/dist/index247.js +32 -49
  48. package/dist/index248.js +6 -12
  49. package/dist/index249.js +3 -3
  50. package/dist/index25.js +3 -3
  51. package/dist/index250.js +2 -12
  52. package/dist/index251.js +17 -15
  53. package/dist/index252.js +12 -5
  54. package/dist/index253.js +4 -2
  55. package/dist/index254.js +106 -6
  56. package/dist/index256.js +95 -263
  57. package/dist/index258.js +221 -46
  58. package/dist/index259.js +13 -32
  59. package/dist/index260.js +5 -60
  60. package/dist/index261.js +5 -5
  61. package/dist/index262.js +5 -188
  62. package/dist/index263.js +5 -3
  63. package/dist/index264.js +5 -67
  64. package/dist/index265.js +5 -3
  65. package/dist/index266.js +13 -4
  66. package/dist/index267.js +2 -9
  67. package/dist/index268.js +6 -40
  68. package/dist/index269.js +6 -3
  69. package/dist/index27.js +1 -1
  70. package/dist/index270.js +3 -201
  71. package/dist/index271.js +7 -0
  72. package/dist/index272.js +6 -3
  73. package/dist/index273.js +8 -11
  74. package/dist/index274.js +263 -101
  75. package/dist/{index257.js → index275.js} +1 -1
  76. package/dist/index276.js +48 -96
  77. package/dist/index277.js +34 -0
  78. package/dist/index278.js +60 -4
  79. package/dist/index279.js +9 -22
  80. package/dist/index280.js +3 -8
  81. package/dist/index281.js +4 -9
  82. package/dist/index282.js +67 -23
  83. package/dist/index283.js +6 -2
  84. package/dist/index284.js +16 -7
  85. package/dist/index285.js +9 -7
  86. package/dist/index286.js +53 -9
  87. package/dist/index287.js +9 -6
  88. package/dist/index288.js +23 -16
  89. package/dist/index289.js +22 -17
  90. package/dist/index29.js +3 -3
  91. package/dist/index290.js +9 -12
  92. package/dist/index291.js +5 -229
  93. package/dist/index292.js +8 -10
  94. package/dist/index293.js +11 -3
  95. package/dist/index295.js +1 -1
  96. package/dist/index296.js +3 -280
  97. package/dist/index297.js +3 -2
  98. package/dist/index298.js +7 -125
  99. package/dist/index299.js +5 -2
  100. package/dist/index300.js +3 -15
  101. package/dist/index301.js +17 -2
  102. package/dist/index302.js +27 -15
  103. package/dist/index303.js +2 -2
  104. package/dist/index304.js +3 -16
  105. package/dist/index305.js +3 -2
  106. package/dist/index306.js +2 -19
  107. package/dist/index307.js +4 -2
  108. package/dist/index308.js +5 -3
  109. package/dist/index309.js +280 -7
  110. package/dist/index31.js +2 -2
  111. package/dist/index310.js +2 -2
  112. package/dist/index311.js +125 -2
  113. package/dist/index312.js +2 -27
  114. package/dist/index313.js +15 -2
  115. package/dist/index314.js +2 -2
  116. package/dist/index315.js +16 -2
  117. package/dist/index316.js +2 -2
  118. package/dist/index317.js +16 -2
  119. package/dist/index318.js +2 -28
  120. package/dist/index319.js +19 -2
  121. package/dist/index320.js +2 -3
  122. package/dist/index321.js +2 -17
  123. package/dist/index322.js +718 -3
  124. package/dist/index323.js +366 -5
  125. package/dist/index324.js +57 -3
  126. package/dist/index325.js +26 -3
  127. package/dist/index326.js +2 -5
  128. package/dist/index327.js +2 -6
  129. package/dist/index328.js +2 -3
  130. package/dist/index329.js +2 -3
  131. package/dist/index33.js +8 -8
  132. package/dist/index330.js +2 -719
  133. package/dist/index331.js +2 -366
  134. package/dist/index332.js +3 -56
  135. package/dist/index333.js +6 -2
  136. package/dist/index336.js +2 -2
  137. package/dist/index337.js +3 -3
  138. package/dist/index338.js +7 -6
  139. package/dist/index339.js +5 -18
  140. package/dist/index340.js +8 -9
  141. package/dist/index341.js +225 -12
  142. package/dist/index342.js +58 -5
  143. package/dist/index343.js +58 -7
  144. package/dist/index344.js +47 -58
  145. package/dist/index345.js +5 -58
  146. package/dist/index346.js +6 -227
  147. package/dist/index347.js +17 -132
  148. package/dist/index348.js +9 -22
  149. package/dist/index349.js +17 -0
  150. package/dist/index35.js +4 -4
  151. package/dist/index350.js +6 -7
  152. package/dist/index351.js +92 -5
  153. package/dist/index352.js +133 -7
  154. package/dist/index353.js +21 -92
  155. package/dist/index355.js +503 -424
  156. package/dist/index356.js +427 -114
  157. package/dist/index357.js +124 -516
  158. package/dist/index37.js +18 -18
  159. package/dist/index39.js +7 -7
  160. package/dist/index41.js +2 -2
  161. package/dist/index43.js +8 -8
  162. package/dist/index45.js +6 -6
  163. package/dist/index49.js +2 -2
  164. package/dist/index53.js +1 -1
  165. package/dist/index55.js +1 -1
  166. package/dist/index57.js +2 -2
  167. package/dist/index61.js +5 -5
  168. package/dist/index67.js +1 -1
  169. package/dist/index80.js +6 -6
  170. package/dist/index82.js +1 -1
  171. package/dist/index84.js +2 -2
  172. package/dist/index86.js +3 -3
  173. package/dist/index88.js +1 -1
  174. package/dist/index91.js +3 -3
  175. package/dist/index93.js +2 -2
  176. package/dist/index95.js +5 -5
  177. package/dist/index97.js +1 -1
  178. package/package.json +1 -1
  179. package/dist/index223.js +0 -7
  180. package/dist/index225.js +0 -7
  181. package/dist/index236.js +0 -15
  182. package/dist/index255.js +0 -10
  183. package/dist/index354.js +0 -49
  184. /package/dist/{index228.js → index244.js} +0 -0
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";
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";
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
+ import { clamp as Ve } from "./index216.js";
3
+ import { hash as T } from "./index241.js";
4
+ import { isNil as w } from "./index234.js";
5
+ import { when as $e } from "./index253.js";
6
6
  import { useId as Be } from "./index8.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";
7
+ import { useItemValue as He } from "./index285.js";
8
+ import { useItemsGetter as Te } from "./index237.js";
9
+ import { usePrefill as Ae } from "./index243.js";
10
+ import { useIndexById as le } from "./index238.js";
11
+ import { useBaseOptions as Ne } from "./index239.js";
12
+ import { useHashedWatcher as Le } from "./index242.js";
13
+ import { useLocale as De } from "./index220.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 "./index286.js";
19
+ import { useLogger as Me } from "./index273.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 "./index247.js";
3
+ import { useFrameworkDetection as _ } from "./index248.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 "./index282.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 "./index220.js";
4
+ import { useUntil as X } from "./index259.js";
5
5
  import Y from "./index13.js";
6
6
  /* empty css */
7
- import Z from "./index232.js";
7
+ import Z from "./index224.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 "./index281.js";
11
+ import { parseWidthString as te } from "./index289.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 "./index291.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 "./index226.js";
9
+ import g from "./index227.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 "./index215.js";
1
+ import { clamp as s } from "./index216.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 "./index216.js";
1
+ import { urlAlphabet as l } from "./index215.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 "./index269.js";
2
+ import { isHex as z } from "./index219.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 "./index220.js";
6
+ import { vMaska as A } from "./index221.js";
7
+ import K from "./index222.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 "./index224.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 "./index229.js";
3
+ import { booleanishToBoolean as q } from "./index230.js";
4
+ import { isEqual as A } from "./index231.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 "./index243.js";
4
+ import U from "./index235.js";
5
5
  /* empty css */
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";
6
+ import { useItemsGetter as q } from "./index237.js";
7
+ import { useIndexById as C } from "./index238.js";
8
+ import { useBaseOptions as J } from "./index239.js";
9
+ import { useCoherence as Q } from "./index240.js";
10
+ import { hash as X } from "./index241.js";
11
+ import { useHashedWatcher as $ } from "./index242.js";
12
+ import { usePrefill as Y } from "./index243.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 "./index260.js";
9
+ import ee from "./index263.js";
10
+ import ae from "./index264.js";
11
+ import te from "./index271.js";
12
+ import { hash as B } from "./index241.js";
13
+ import { last as le } from "./index250.js";
14
+ import { validateDateFormat as L } from "./index272.js";
15
+ import { useLogger as oe } from "./index273.js";
16
+ import re from "./index274.js";
17
+ import se from "./index275.js";
18
+ import de from "./index276.js";
19
+ import S from "./index277.js";
20
+ import ie from "./index278.js";
21
+ import { useLocale as ne } from "./index220.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 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/index216.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/index217.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getType as t } from "./index325.js";
1
+ import { getType as t } from "./index332.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 "./index325.js";
1
+ import { getType as o } from "./index332.js";
2
2
  function c(e) {
3
3
  if (o(e) !== "Object")
4
4
  return !1;
package/dist/index219.js CHANGED
@@ -1,4 +1,6 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
1
+ function x(e) {
2
+ return /^#([A-Fa-f0-9]{6})$/.test(e);
3
+ }
2
4
  export {
3
- s as isCssColor
5
+ x as isHex
4
6
  };
package/dist/index220.js CHANGED
@@ -1,4 +1,15 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
1
+ import { locales as t } from "./index298.js";
2
+ import { _config as m } from "./index4.js";
3
+ import { get as c } from "./index293.js";
4
+ import { readonly as l, computed as n } from "vue";
5
+ const p = (o, ...r) => l(
6
+ n(() => c(t[m.locale], o).replace(
7
+ /\{(\d+)\}/g,
8
+ (a, e) => r[e]
9
+ ))
10
+ ), d = () => ({
11
+ t: p
12
+ });
2
13
  export {
3
- o as booleanishToBoolean
14
+ d as useLocale
4
15
  };
package/dist/index221.js CHANGED
@@ -1,5 +1,22 @@
1
- import { hash as r } from "./index249.js";
2
- const a = (o, t) => r(o) === r(t);
1
+ import { MaskInput as r } from "./index245.js";
2
+ const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
+ if (a.arg == null || a.instance == null) return;
4
+ const s = "setup" in a.instance.$.type;
5
+ a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
+ }, k = (a, n) => {
7
+ var s;
8
+ const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
+ if (t == null || t?.type === "file") return;
10
+ let e = {};
11
+ if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
+ const l = (o) => {
13
+ const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
+ p(n, i);
15
+ };
16
+ e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
17
+ }
18
+ u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
19
+ };
3
20
  export {
4
- a as isEqual
21
+ k as vMaska
5
22
  };