bitboss-ui 2.0.94 → 2.0.96

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 (181) hide show
  1. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +1 -1
  2. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +1 -1
  3. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +5 -1
  4. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +9 -4
  5. package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +2 -0
  6. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
  7. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +4 -0
  8. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +5 -1
  9. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +1 -1
  10. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +1 -1
  11. package/dist/components/BaseRating/BaseRating.vue.d.ts +1 -1
  12. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +8 -0
  13. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +1 -1
  14. package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -1
  15. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +5 -1
  16. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +5 -1
  17. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +1 -1
  18. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +5 -1
  19. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +5 -1
  20. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
  21. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -2
  22. package/dist/components/BbRadio/BbRadio.vue.d.ts +1 -1
  23. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +5 -1
  24. package/dist/components/BbRating/BbRating.vue.d.ts +5 -1
  25. package/dist/components/BbRows/BbRows.vue.d.ts +1 -1
  26. package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -0
  27. package/dist/components/BbSlider/BbSlider.vue.d.ts +5 -1
  28. package/dist/components/BbTable/types.d.ts +1 -1
  29. package/dist/components/BbTag/BbTag.vue.d.ts +5 -1
  30. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +5 -1
  31. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +5 -1
  32. package/dist/components/ListBox.vue.d.ts +4 -0
  33. package/dist/index100.js +10 -10
  34. package/dist/index101.js +18 -15
  35. package/dist/index103.js +11 -9
  36. package/dist/index105.js +10 -10
  37. package/dist/index107.js +16 -14
  38. package/dist/index111.js +5 -5
  39. package/dist/index113.js +12 -9
  40. package/dist/index115.js +27 -24
  41. package/dist/index117.js +27 -24
  42. package/dist/index119.js +1 -1
  43. package/dist/index121.js +5 -5
  44. package/dist/index123.js +1 -1
  45. package/dist/index128.js +1 -1
  46. package/dist/index13.js +1 -1
  47. package/dist/index134.js +2 -2
  48. package/dist/index15.js +24 -22
  49. package/dist/index17.js +14 -15
  50. package/dist/index19.js +57 -51
  51. package/dist/index208.js +7 -125
  52. package/dist/index209.js +126 -5
  53. package/dist/index21.js +77 -72
  54. package/dist/index210.js +5 -125
  55. package/dist/index211.js +123 -17
  56. package/dist/index212.js +18 -15
  57. package/dist/index213.js +10 -10
  58. package/dist/index214.js +16 -2
  59. package/dist/index215.js +2 -2
  60. package/dist/index216.js +2 -41
  61. package/dist/index217.js +41 -20
  62. package/dist/index218.js +20 -6
  63. package/dist/index219.js +5 -52
  64. package/dist/index220.js +55 -0
  65. package/dist/index222.js +12 -4
  66. package/dist/index223.js +5 -12
  67. package/dist/index224.js +12 -369
  68. package/dist/index225.js +369 -3
  69. package/dist/index226.js +19 -4
  70. package/dist/index227.js +22 -14
  71. package/dist/index228.js +3 -27
  72. package/dist/index229.js +250 -3
  73. package/dist/index23.js +28 -26
  74. package/dist/index230.js +50 -6
  75. package/dist/index231.js +36 -241
  76. package/dist/index232.js +5 -52
  77. package/dist/index233.js +47 -31
  78. package/dist/index234.js +164 -5
  79. package/dist/index235.js +78 -54
  80. package/dist/index237.js +3 -84
  81. package/dist/index238.js +9 -0
  82. package/dist/index240.js +1 -1
  83. package/dist/index242.js +4 -3
  84. package/dist/index243.js +3 -7
  85. package/dist/index246.js +1 -1
  86. package/dist/index248.js +1 -1
  87. package/dist/index25.js +6 -6
  88. package/dist/index253.js +9 -224
  89. package/dist/index254.js +23 -281
  90. package/dist/index255.js +89 -6
  91. package/dist/index257.js +6 -2
  92. package/dist/index258.js +16 -2
  93. package/dist/index259.js +9 -2
  94. package/dist/index260.js +9 -2
  95. package/dist/index261.js +8 -126
  96. package/dist/index262.js +3 -431
  97. package/dist/index263.js +11 -175
  98. package/dist/index264.js +9 -3
  99. package/dist/index265.js +19 -0
  100. package/dist/index266.js +4 -7
  101. package/dist/index267.js +281 -22
  102. package/dist/index268.js +8 -0
  103. package/dist/index269.js +2 -2
  104. package/dist/index27.js +9 -7
  105. package/dist/index270.js +2 -6
  106. package/dist/index271.js +2 -16
  107. package/dist/index272.js +2 -9
  108. package/dist/index273.js +2 -23
  109. package/dist/index274.js +2 -89
  110. package/dist/index275.js +4 -0
  111. package/dist/index276.js +2 -9
  112. package/dist/index277.js +2 -2
  113. package/dist/index278.js +2 -2
  114. package/dist/index279.js +28 -2
  115. package/dist/index280.js +21 -1
  116. package/dist/index282.js +7 -2
  117. package/dist/index283.js +2 -28
  118. package/dist/index284.js +125 -21
  119. package/dist/index285.js +433 -0
  120. package/dist/index286.js +167 -427
  121. package/dist/index287.js +3 -127
  122. package/dist/index289.js +22 -3
  123. package/dist/index29.js +10 -8
  124. package/dist/index291.js +2 -9
  125. package/dist/index292.js +4 -9
  126. package/dist/index293.js +197 -14
  127. package/dist/index294.js +435 -3
  128. package/dist/index295.js +127 -8
  129. package/dist/index296.js +88 -3
  130. package/dist/index297.js +218 -83
  131. package/dist/index300.js +23 -21
  132. package/dist/index302.js +5 -2
  133. package/dist/index303.js +2 -5
  134. package/dist/index304.js +3 -5
  135. package/dist/index305.js +3 -8
  136. package/dist/index306.js +3 -3
  137. package/dist/index307.js +58 -3
  138. package/dist/index308.js +10 -57
  139. package/dist/index309.js +6 -3
  140. package/dist/index31.js +4 -4
  141. package/dist/index310.js +19 -3
  142. package/dist/index311.js +6 -6
  143. package/dist/index312.js +32 -18
  144. package/dist/index313.js +46 -32
  145. package/dist/index314.js +4 -6
  146. package/dist/index315.js +7 -10
  147. package/dist/index316.js +2 -47
  148. package/dist/index317.js +4 -2
  149. package/dist/{index319.js → index318.js} +1 -1
  150. package/dist/index33.js +12 -12
  151. package/dist/index35.js +33 -33
  152. package/dist/index37.js +54 -50
  153. package/dist/index39.js +2 -2
  154. package/dist/index41.js +1 -1
  155. package/dist/index43.js +3 -3
  156. package/dist/index45.js +44 -42
  157. package/dist/index47.js +31 -29
  158. package/dist/index49.js +18 -16
  159. package/dist/index63.js +9 -9
  160. package/dist/index65.js +11 -9
  161. package/dist/index67.js +24 -21
  162. package/dist/index71.js +8 -5
  163. package/dist/index75.js +3 -3
  164. package/dist/index79.js +2 -2
  165. package/dist/index81.js +1 -1
  166. package/dist/index82.js +24 -21
  167. package/dist/index84.js +3 -3
  168. package/dist/index86.js +1 -1
  169. package/dist/index88.js +3 -3
  170. package/dist/index92.js +6 -6
  171. package/dist/index94.js +11 -9
  172. package/dist/index96.js +13 -11
  173. package/dist/style.css +1 -1
  174. package/dist/types/CommonProps.d.ts +1 -1
  175. package/package.json +2 -2
  176. package/dist/index221.js +0 -15
  177. package/dist/index236.js +0 -166
  178. package/dist/index256.js +0 -4
  179. package/dist/index281.js +0 -4
  180. package/dist/index288.js +0 -202
  181. package/dist/index290.js +0 -14
package/dist/index71.js CHANGED
@@ -10,6 +10,7 @@ const E = /* @__PURE__ */ m({
10
10
  "append:icon": {},
11
11
  autocomplete: {},
12
12
  autofocus: {},
13
+ compact: { type: Boolean },
13
14
  direction: {},
14
15
  disabled: { type: Boolean },
15
16
  errors: {},
@@ -37,7 +38,7 @@ const E = /* @__PURE__ */ m({
37
38
  },
38
39
  emits: ["active", "error", "focus", "inactive", "update:modelValue"],
39
40
  setup(i, { emit: n }) {
40
- const t = i, o = n, a = u(!1), s = c(() => t.persistentHint || a.value), d = {
41
+ const t = i, o = n, a = u(!1), s = c(() => t.persistentHint || a.value), p = {
41
42
  onError: (e) => o("error", e),
42
43
  onFocus: (e) => o("focus", e),
43
44
  onActive: () => {
@@ -51,6 +52,7 @@ const E = /* @__PURE__ */ m({
51
52
  return (e, V) => (h(), f(k, {
52
53
  id: e.id,
53
54
  class: "bb-date-picker-input",
55
+ compact: e.compact,
54
56
  direction: e.direction,
55
57
  errors: e.errors,
56
58
  "has-errors": e.hasErrors,
@@ -66,16 +68,17 @@ const E = /* @__PURE__ */ m({
66
68
  label: l((r) => [
67
69
  b(e.$slots, "label", v(y(r)))
68
70
  ]),
69
- input: l(({ id: r, hasErrors: p }) => [
71
+ input: l(({ id: r, hasErrors: d }) => [
70
72
  w(B, g({
71
73
  id: r,
72
74
  "allow-writing": e.allowWriting,
73
75
  "append:icon": e.$props["append:icon"],
74
76
  autocomplete: e.autocomplete,
75
77
  autofocus: e.autofocus,
78
+ compact: e.compact,
76
79
  disabled: e.disabled,
77
80
  "first-day-of-week": e.firstDayOfWeek,
78
- "has-errors": p,
81
+ "has-errors": d,
79
82
  loading: e.loading,
80
83
  max: e.max,
81
84
  min: e.min,
@@ -88,10 +91,10 @@ const E = /* @__PURE__ */ m({
88
91
  required: e.required,
89
92
  selectable: e.selectable,
90
93
  width: e.width
91
- }, d), null, 16, ["id", "allow-writing", "append:icon", "autocomplete", "autofocus", "disabled", "first-day-of-week", "has-errors", "loading", "max", "min", "model-value", "name", "placeholder", "prepend:icon", "range", "readonly", "required", "selectable", "width"])
94
+ }, p), null, 16, ["id", "allow-writing", "append:icon", "autocomplete", "autofocus", "compact", "disabled", "first-day-of-week", "has-errors", "loading", "max", "min", "model-value", "name", "placeholder", "prepend:icon", "range", "readonly", "required", "selectable", "width"])
92
95
  ]),
93
96
  _: 3
94
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
97
+ }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
95
98
  }
96
99
  });
97
100
  export {
package/dist/index75.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as X, computed as A, ref as y, openBlock as h, createElementBlock as T, mergeProps as B, createElementVNode as H, renderSlot as w, normalizeProps as Y, guardReactiveProps as Z, unref as $, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
2
- import { findRightIndex as I } from "./index272.js";
2
+ import { findRightIndex as I } from "./index253.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index132.js";
5
5
  import { useIntersectionObserver as ae } from "./index133.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
- import V from "./index273.js";
9
- import se from "./index274.js";
8
+ import V from "./index254.js";
9
+ import se from "./index255.js";
10
10
  /* empty css */
11
11
  import j from "./index127.js";
12
12
  /* empty css */
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index271.js";
2
+ import { findInTree as ae } from "./index258.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index270.js")).default);
56
+ b || (b = (await import("./index257.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index242.js";
2
+ import { throttle as c } from "./index237.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index82.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, ref as t, computed as w, openBlock as g, createBlock as k, withCtx as r, renderSlot as a, normalizeProps as s, guardReactiveProps as l, createVNode as $, mergeProps as V } from "vue";
1
+ import { defineComponent as B, ref as u, computed as w, openBlock as g, createBlock as k, withCtx as n, renderSlot as r, normalizeProps as s, guardReactiveProps as l, createVNode as $, mergeProps as V } from "vue";
2
2
  import P from "./index27.js";
3
3
  /* empty css */
4
4
  import q from "./index29.js";
@@ -9,6 +9,7 @@ const D = /* @__PURE__ */ B({
9
9
  "append:icon": {},
10
10
  autocomplete: {},
11
11
  autofocus: {},
12
+ compact: { type: Boolean },
12
13
  direction: {},
13
14
  disabled: { type: Boolean },
14
15
  errors: {},
@@ -26,14 +27,14 @@ const D = /* @__PURE__ */ B({
26
27
  persistentHint: { type: Boolean },
27
28
  placeholder: {},
28
29
  "prepend:icon": {},
29
- readonly: {},
30
+ readonly: { type: Boolean },
30
31
  required: { type: Boolean },
31
32
  reverse: { type: Boolean },
32
33
  step: {}
33
34
  },
34
35
  emits: ["blur", "change", "click", "decrease", "focus", "increase", "input", "keydown", "keyup", "mousedown", "mouseup", "update:modelValue"],
35
36
  setup(m, { expose: c, emit: b }) {
36
- const i = m, o = b, p = t(), d = t(!1), h = w(() => i.persistentHint || d.value), f = {
37
+ const i = m, o = b, p = u(), d = u(!1), h = w(() => i.persistentHint || d.value), f = {
37
38
  onBlur: (e) => {
38
39
  d.value = !1, o("blur", e);
39
40
  },
@@ -62,6 +63,7 @@ const D = /* @__PURE__ */ B({
62
63
  }), (e, I) => (g(), k(P, {
63
64
  id: e.id,
64
65
  class: "bb-number-input",
66
+ compact: e.compact,
65
67
  direction: e.direction,
66
68
  errors: e.errors,
67
69
  "has-errors": e.hasErrors,
@@ -74,18 +76,19 @@ const D = /* @__PURE__ */ B({
74
76
  reverse: e.reverse,
75
77
  "show-hint": h.value
76
78
  }, {
77
- label: r((u) => [
78
- a(e.$slots, "label", s(l(u)))
79
+ label: n((t) => [
80
+ r(e.$slots, "label", s(l(t)))
79
81
  ]),
80
- input: r(({ id: u, hasErrors: y, ariaDescribedby: v }) => [
82
+ input: n(({ id: t, hasErrors: y, ariaDescribedby: v }) => [
81
83
  $(q, V({
82
- id: u,
84
+ id: t,
83
85
  ref_key: "bni",
84
86
  ref: p,
85
87
  "append:icon": i["append:icon"],
86
88
  "aria-describedby": v,
87
89
  autocomplete: e.autocomplete,
88
90
  autofocus: e.autofocus,
91
+ compact: e.compact,
89
92
  disabled: e.disabled,
90
93
  "has-errors": y,
91
94
  loading: e.loading,
@@ -99,29 +102,29 @@ const D = /* @__PURE__ */ B({
99
102
  required: e.required,
100
103
  step: e.step
101
104
  }, f), {
102
- "append-outer": r((n) => [
103
- a(e.$slots, "append-outer", s(l(n)))
105
+ "append-outer": n((a) => [
106
+ r(e.$slots, "append-outer", s(l(a)))
104
107
  ]),
105
- append: r((n) => [
106
- a(e.$slots, "append", s(l(n)))
108
+ append: n((a) => [
109
+ r(e.$slots, "append", s(l(a)))
107
110
  ]),
108
- prefix: r((n) => [
109
- a(e.$slots, "prefix", s(l(n)))
111
+ prefix: n((a) => [
112
+ r(e.$slots, "prefix", s(l(a)))
110
113
  ]),
111
- prepend: r((n) => [
112
- a(e.$slots, "prepend", s(l(n)))
114
+ prepend: n((a) => [
115
+ r(e.$slots, "prepend", s(l(a)))
113
116
  ]),
114
- suffix: r((n) => [
115
- a(e.$slots, "suffix", s(l(n)))
117
+ suffix: n((a) => [
118
+ r(e.$slots, "suffix", s(l(a)))
116
119
  ]),
117
- "prepend-outer": r((n) => [
118
- a(e.$slots, "prepend-outer", s(l(n)))
120
+ "prepend-outer": n((a) => [
121
+ r(e.$slots, "prepend-outer", s(l(a)))
119
122
  ]),
120
123
  _: 2
121
- }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "disabled", "has-errors", "loading", "max", "min", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "step"])
124
+ }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "compact", "disabled", "has-errors", "loading", "max", "min", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "step"])
122
125
  ]),
123
126
  _: 3
124
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
127
+ }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
125
128
  }
126
129
  });
127
130
  export {
package/dist/index84.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as le, ref as l, useAttrs as se, computed as u, getCurrentInstance as ae, nextTick as ne, onBeforeUnmount as O, onMounted as ie, watch as re, openBlock as g, createBlock as ue, withCtx as ce, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as de, toDisplayString as A, createCommentVNode as $ } from "vue";
2
- import { useFocusTrap as fe } from "./index216.js";
2
+ import { useFocusTrap as fe } from "./index217.js";
3
3
  import { useId as E } from "./index8.js";
4
4
  import { wait as H } from "./index132.js";
5
- import { useModalsState as b } from "./index243.js";
6
- import ve from "./index223.js";
5
+ import { useModalsState as b } from "./index238.js";
6
+ import ve from "./index224.js";
7
7
  import { useMobile as pe } from "./index9.js";
8
8
  const be = ["inert"], me = { class: "bb-offcanvas-close" }, ye = ["aria-label"], Ve = /* @__PURE__ */ le({
9
9
  __name: "BbOffCanvas",
package/dist/index86.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as P, computed as _, ref as g, onMounted as A, onBeforeUnmount as E, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as v, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
2
- import { debounce as F } from "./index276.js";
2
+ import { debounce as F } from "./index259.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import w from "./index13.js";
package/dist/index88.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as M, ref as n, computed as v, openBlock as k, createElementBlock as O, mergeProps as F, createElementVNode as p, renderSlot as y, normalizeProps as S, guardReactiveProps as H, createVNode as V, withCtx as C, createBlock as q, createCommentVNode as I, nextTick as W } from "vue";
2
- import { useFocusTrap as z } from "./index216.js";
2
+ import { useFocusTrap as z } from "./index217.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { useIntersectionObserver as R } from "./index133.js";
5
- import { waitFor as j } from "./index218.js";
5
+ import { waitFor as j } from "./index219.js";
6
6
  import G from "./index13.js";
7
7
  /* empty css */
8
- import J from "./index274.js";
8
+ import J from "./index255.js";
9
9
  /* empty css */
10
10
  import { useDebounceFn as K } from "./index206.js";
11
11
  const re = /* @__PURE__ */ M({
package/dist/index92.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as v, computed as y, openBlock as k, createBlock as w, withCtx as l, renderSlot as i, normalizeProps as B, guardReactiveProps as g, createVNode as P, mergeProps as n } from "vue";
1
+ import { defineComponent as f, ref as v, computed as y, openBlock as k, createBlock as B, withCtx as l, renderSlot as n, normalizeProps as w, guardReactiveProps as g, createVNode as P, mergeProps as i } from "vue";
2
2
  import V from "./index27.js";
3
3
  /* empty css */
4
4
  import q from "./index31.js";
@@ -22,7 +22,7 @@ const R = /* @__PURE__ */ f({
22
22
  modelValue: {},
23
23
  name: {},
24
24
  persistentHint: { type: Boolean },
25
- readonly: {},
25
+ readonly: { type: Boolean },
26
26
  required: { type: Boolean },
27
27
  reverse: { type: Boolean, default: !0 },
28
28
  value: {}
@@ -44,7 +44,7 @@ const R = /* @__PURE__ */ f({
44
44
  onMouseup: (e) => o("mouseup", e),
45
45
  "onUpdate:modelValue": (e) => o("update:modelValue", e)
46
46
  };
47
- return (e, C) => (k(), w(V, {
47
+ return (e, C) => (k(), B(V, {
48
48
  id: e.id,
49
49
  class: "bb-radio",
50
50
  direction: e.direction,
@@ -62,10 +62,10 @@ const R = /* @__PURE__ */ f({
62
62
  tag: "label"
63
63
  }, {
64
64
  label: l((a) => [
65
- i(e.$slots, "label", B(g(a)))
65
+ n(e.$slots, "label", w(g(a)))
66
66
  ]),
67
67
  input: l(({ id: a, name: m, hasErrors: c, ariaDescribedby: b }) => [
68
- P(q, n({
68
+ P(q, i({
69
69
  id: a,
70
70
  "aria-describedby": b,
71
71
  autofocus: e.autofocus,
@@ -80,7 +80,7 @@ const R = /* @__PURE__ */ f({
80
80
  value: e.value
81
81
  }, p), {
82
82
  icon: l((h) => [
83
- i(e.$slots, "icon", n(h, { text: e.label }))
83
+ n(e.$slots, "icon", i(h, { text: e.label }))
84
84
  ]),
85
85
  _: 2
86
86
  }, 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "has-errors", "model-value", "name", "readonly", "required", "value"])
package/dist/index94.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, ref as g, computed as y, openBlock as B, createBlock as $, withCtx as a, renderSlot as i, normalizeProps as r, guardReactiveProps as l, createVNode as w, mergeProps as T } from "vue";
1
+ import { defineComponent as v, ref as y, computed as g, openBlock as B, createBlock as $, withCtx as a, renderSlot as i, normalizeProps as r, guardReactiveProps as l, createVNode as w, mergeProps as T } from "vue";
2
2
  import V from "./index27.js";
3
3
  /* empty css */
4
4
  import D from "./index33.js";
@@ -8,6 +8,7 @@ const E = /* @__PURE__ */ v({
8
8
  props: {
9
9
  autofocus: {},
10
10
  color: {},
11
+ compact: { type: Boolean },
11
12
  dependencies: {},
12
13
  depsDebounceTime: {},
13
14
  disabled: { type: Boolean },
@@ -29,13 +30,13 @@ const E = /* @__PURE__ */ v({
29
30
  name: {},
30
31
  noDataText: {},
31
32
  persistentHint: { type: Boolean },
32
- readonly: {},
33
+ readonly: { type: Boolean },
33
34
  required: { type: Boolean },
34
35
  reverse: { type: Boolean }
35
36
  },
36
37
  emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
37
- setup(t, { emit: u }) {
38
- const p = t, n = u, d = g(!1), m = y(() => p.persistentHint || d.value), c = {
38
+ setup(s, { emit: p }) {
39
+ const u = s, n = p, d = y(!1), m = g(() => u.persistentHint || d.value), c = {
39
40
  onBlur: (e) => n("blur", e),
40
41
  onChange: (e) => n("change", e),
41
42
  onClick: (e) => n("click", e),
@@ -54,6 +55,7 @@ const E = /* @__PURE__ */ v({
54
55
  return (e, k) => (B(), $(V, {
55
56
  id: e.id,
56
57
  class: "bb-radio-group",
58
+ compact: e.compact,
57
59
  direction: "vertical",
58
60
  errors: e.errors,
59
61
  "has-errors": e.hasErrors,
@@ -66,12 +68,12 @@ const E = /* @__PURE__ */ v({
66
68
  "show-hint": m.value,
67
69
  tag: "fieldset"
68
70
  }, {
69
- label: a((s) => [
70
- i(e.$slots, "legend", r(l(s)))
71
+ label: a((t) => [
72
+ i(e.$slots, "legend", r(l(t)))
71
73
  ]),
72
- input: a(({ id: s, name: b, hasErrors: h, ariaDescribedby: f }) => [
74
+ input: a(({ id: t, name: b, hasErrors: h, ariaDescribedby: f }) => [
73
75
  w(D, T({
74
- id: s,
76
+ id: t,
75
77
  "aria-describedby": f,
76
78
  autofocus: e.autofocus,
77
79
  color: e.color,
@@ -121,7 +123,7 @@ const E = /* @__PURE__ */ v({
121
123
  }, 1040, ["id", "aria-describedby", "autofocus", "color", "dependencies", "deps-debounce-time", "direction", "disabled", "enforce-coherence", "has-errors", "hide-label", "item-text", "item-value", "items", "loading-text", "model-value", "model-value-debounce-time", "name", "no-data-text", "readonly", "required"])
122
124
  ]),
123
125
  _: 3
124
- }, 8, ["id", "errors", "has-errors", "hide-label", "hint", "label", "name", "reverse", "show-hint"]));
126
+ }, 8, ["id", "compact", "errors", "has-errors", "hide-label", "hint", "label", "name", "reverse", "show-hint"]));
125
127
  }
126
128
  });
127
129
  export {
package/dist/index96.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as g, computed as v, openBlock as y, createBlock as w, withCtx as s, renderSlot as r, normalizeProps as a, guardReactiveProps as i, createVNode as B, mergeProps as k } from "vue";
1
+ import { defineComponent as f, ref as g, computed as v, openBlock as y, createBlock as B, withCtx as s, renderSlot as a, normalizeProps as r, guardReactiveProps as i, createVNode as w, mergeProps as k } from "vue";
2
2
  import P from "./index27.js";
3
3
  /* empty css */
4
4
  import V from "./index35.js";
@@ -8,6 +8,7 @@ const I = /* @__PURE__ */ f({
8
8
  props: {
9
9
  autofocus: {},
10
10
  color: {},
11
+ compact: { type: Boolean },
11
12
  disabled: { type: Boolean },
12
13
  errors: {},
13
14
  hasErrors: { type: Boolean },
@@ -20,14 +21,14 @@ const I = /* @__PURE__ */ f({
20
21
  modelValue: {},
21
22
  name: {},
22
23
  persistentHint: { type: Boolean },
23
- readonly: {},
24
+ readonly: { type: Boolean },
24
25
  reverse: { type: Boolean },
25
26
  stars: {},
26
27
  size: {}
27
28
  },
28
29
  emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
29
- setup(d, { emit: u }) {
30
- const p = d, o = u, l = g(!1), m = v(() => p.persistentHint || l.value), c = {
30
+ setup(d, { emit: p }) {
31
+ const u = d, o = p, l = g(!1), m = v(() => u.persistentHint || l.value), c = {
31
32
  onBlur: (e) => o("blur", e),
32
33
  onChange: (e) => o("change", e),
33
34
  onClick: (e) => o("click", e),
@@ -43,9 +44,10 @@ const I = /* @__PURE__ */ f({
43
44
  onMouseup: (e) => o("mouseup", e),
44
45
  "onUpdate:modelValue": (e) => o("update:modelValue", e)
45
46
  };
46
- return (e, $) => (y(), w(P, {
47
+ return (e, $) => (y(), B(P, {
47
48
  id: e.id,
48
49
  class: "bb-rating",
50
+ compact: e.compact,
49
51
  direction: "vertical",
50
52
  errors: e.errors,
51
53
  "has-errors": e.hasErrors,
@@ -61,10 +63,10 @@ const I = /* @__PURE__ */ f({
61
63
  tag: "fieldset"
62
64
  }, {
63
65
  label: s((t) => [
64
- r(e.$slots, "legend", a(i(t)))
66
+ a(e.$slots, "legend", r(i(t)))
65
67
  ]),
66
68
  input: s(({ id: t, hasErrors: h, ariaDescribedby: b }) => [
67
- B(V, k({
69
+ w(V, k({
68
70
  id: t,
69
71
  "aria-describedby": b,
70
72
  autofocus: e.autofocus,
@@ -78,19 +80,19 @@ const I = /* @__PURE__ */ f({
78
80
  stars: e.stars
79
81
  }, c), {
80
82
  prepend: s((n) => [
81
- r(e.$slots, "prepend", a(i(n)))
83
+ a(e.$slots, "prepend", r(i(n)))
82
84
  ]),
83
85
  append: s((n) => [
84
- r(e.$slots, "append", a(i(n)))
86
+ a(e.$slots, "append", r(i(n)))
85
87
  ]),
86
88
  icon: s((n) => [
87
- r(e.$slots, "icon", a(i(n)))
89
+ a(e.$slots, "icon", r(i(n)))
88
90
  ]),
89
91
  _: 2
90
92
  }, 1040, ["id", "aria-describedby", "autofocus", "color", "disabled", "has-errors", "model-value", "name", "readonly", "size", "stars"])
91
93
  ]),
92
94
  _: 3
93
- }, 8, ["id", "errors", "has-errors", "hide-label", "hint", "input-position", "label", "label-position", "name", "reverse", "show-hint"]));
95
+ }, 8, ["id", "compact", "errors", "has-errors", "hide-label", "hint", "input-position", "label", "label-position", "name", "reverse", "show-hint"]));
94
96
  }
95
97
  });
96
98
  export {