bitboss-ui 2.0.95 → 2.0.97

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 (207) hide show
  1. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +1 -1
  2. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +3 -3
  3. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +5 -1
  4. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +22 -5
  5. package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +2 -0
  6. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +69 -19
  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 +7 -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/BbSelect/BbSelect.vue.d.ts +4 -0
  26. package/dist/components/BbSlider/BbSlider.vue.d.ts +5 -1
  27. package/dist/components/BbTable/types.d.ts +1 -1
  28. package/dist/components/BbTag/BbTag.vue.d.ts +5 -1
  29. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +5 -1
  30. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +5 -1
  31. package/dist/components/ListBox.vue.d.ts +4 -0
  32. package/dist/components/OptionsContainer.vue.d.ts +2 -2
  33. package/dist/composables/useBbConfig.d.ts +3 -0
  34. package/dist/composables/useLocale.d.ts +5 -0
  35. package/dist/i18n/en.d.ts +8 -0
  36. package/dist/i18n/index.d.ts +3 -0
  37. package/dist/i18n/it.d.ts +8 -0
  38. package/dist/index100.js +4 -4
  39. package/dist/index101.js +18 -15
  40. package/dist/index103.js +11 -9
  41. package/dist/index105.js +10 -10
  42. package/dist/index107.js +16 -14
  43. package/dist/index111.js +6 -6
  44. package/dist/index113.js +12 -9
  45. package/dist/index115.js +27 -24
  46. package/dist/index117.js +27 -24
  47. package/dist/index119.js +2 -2
  48. package/dist/index121.js +5 -5
  49. package/dist/index123.js +1 -1
  50. package/dist/index127.js +1 -1
  51. package/dist/index128.js +1 -1
  52. package/dist/index129.js +1 -1
  53. package/dist/index13.js +1 -1
  54. package/dist/index134.js +2 -2
  55. package/dist/index15.js +22 -20
  56. package/dist/index17.js +15 -16
  57. package/dist/index19.js +72 -65
  58. package/dist/index208.js +1 -1
  59. package/dist/index21.js +84 -72
  60. package/dist/index210.js +1 -1
  61. package/dist/index211.js +5 -20
  62. package/dist/index212.js +16 -4
  63. package/dist/index213.js +16 -5
  64. package/dist/index214.js +18 -15
  65. package/dist/index215.js +16 -13
  66. package/dist/index216.js +26 -18
  67. package/dist/index217.js +3 -19
  68. package/dist/index218.js +2 -27
  69. package/dist/index219.js +8 -3
  70. package/dist/index220.js +250 -2
  71. package/dist/index221.js +50 -6
  72. package/dist/index222.js +36 -241
  73. package/dist/index223.js +5 -52
  74. package/dist/index224.js +47 -31
  75. package/dist/index225.js +2 -5
  76. package/dist/index226.js +4 -60
  77. package/dist/index227.js +2 -2
  78. package/dist/index228.js +126 -4
  79. package/dist/index229.js +125 -2
  80. package/dist/index23.js +28 -26
  81. package/dist/index230.js +2 -3
  82. package/dist/index231.js +1 -1
  83. package/dist/index232.js +20 -6
  84. package/dist/index233.js +6 -7
  85. package/dist/index234.js +5 -12
  86. package/dist/index235.js +12 -164
  87. package/dist/index236.js +368 -83
  88. package/dist/index237.js +166 -0
  89. package/dist/index238.js +83 -125
  90. package/dist/index240.js +8 -2
  91. package/dist/index241.js +3 -5
  92. package/dist/index242.js +7 -369
  93. package/dist/index243.js +1 -1
  94. package/dist/index244.js +4 -2
  95. package/dist/index245.js +1 -1
  96. package/dist/index247.js +1 -1
  97. package/dist/index249.js +2 -2
  98. package/dist/index25.js +5 -5
  99. package/dist/index250.js +2 -18
  100. package/dist/index251.js +17 -9
  101. package/dist/index252.js +9 -2
  102. package/dist/index253.js +2 -8
  103. package/dist/index254.js +3 -23
  104. package/dist/index256.js +9 -0
  105. package/dist/index257.js +4 -9
  106. package/dist/index258.js +281 -6
  107. package/dist/index259.js +6 -16
  108. package/dist/index260.js +2 -3
  109. package/dist/index261.js +4 -0
  110. package/dist/index262.js +2 -7
  111. package/dist/index263.js +2 -176
  112. package/dist/index264.js +2 -281
  113. package/dist/index265.js +2 -6
  114. package/dist/index266.js +2 -2
  115. package/dist/index267.js +2 -2
  116. package/dist/index268.js +2 -2
  117. package/dist/index269.js +2 -2
  118. package/dist/index27.js +8 -6
  119. package/dist/index270.js +28 -2
  120. package/dist/index271.js +22 -2
  121. package/dist/index273.js +89 -2
  122. package/dist/index275.js +9 -2
  123. package/dist/index276.js +6 -28
  124. package/dist/index277.js +15 -21
  125. package/dist/index278.js +11 -0
  126. package/dist/index279.js +23 -4
  127. package/dist/index280.js +3 -431
  128. package/dist/index281.js +12 -2
  129. package/dist/index282.js +7 -87
  130. package/dist/index283.js +9 -3
  131. package/dist/index284.js +17 -12
  132. package/dist/index285.js +3 -8
  133. package/dist/index286.js +7 -9
  134. package/dist/index287.js +11 -17
  135. package/dist/index288.js +2 -4
  136. package/dist/index289.js +122 -196
  137. package/dist/index29.js +8 -6
  138. package/dist/index290.js +431 -2
  139. package/dist/index291.js +171 -121
  140. package/dist/index294.js +2 -8
  141. package/dist/index295.js +83 -218
  142. package/dist/index296.js +219 -431
  143. package/dist/index297.js +8 -127
  144. package/dist/index298.js +200 -3
  145. package/dist/index299.js +436 -3
  146. package/dist/index300.js +126 -210
  147. package/dist/index301.js +1 -1
  148. package/dist/index302.js +2 -32
  149. package/dist/index303.js +2 -5
  150. package/dist/index304.js +5 -8
  151. package/dist/index305.js +66 -3
  152. package/dist/index306.js +213 -3
  153. package/dist/index307.js +32 -57
  154. package/dist/index308.js +5 -2
  155. package/dist/index309.js +7 -6
  156. package/dist/index31.js +6 -6
  157. package/dist/index310.js +2 -65
  158. package/dist/index311.js +4 -5
  159. package/dist/index312.js +3 -7
  160. package/dist/index313.js +3 -19
  161. package/dist/index314.js +57 -10
  162. package/dist/index315.js +6 -3
  163. package/dist/index316.js +6 -46
  164. package/dist/index317.js +19 -480
  165. package/dist/index318.js +10 -0
  166. package/dist/index319.js +8 -2
  167. package/dist/index320.js +43 -420
  168. package/dist/index321.js +2 -47
  169. package/dist/index322.js +480 -2
  170. package/dist/index324.js +426 -0
  171. package/dist/index325.js +49 -0
  172. package/dist/index326.js +4 -0
  173. package/dist/index33.js +12 -12
  174. package/dist/index35.js +35 -35
  175. package/dist/index37.js +54 -50
  176. package/dist/index39.js +4 -4
  177. package/dist/index4.js +5 -4
  178. package/dist/index41.js +3 -3
  179. package/dist/index43.js +3 -3
  180. package/dist/index45.js +42 -40
  181. package/dist/index47.js +29 -27
  182. package/dist/index49.js +16 -14
  183. package/dist/index55.js +1 -1
  184. package/dist/index57.js +1 -1
  185. package/dist/index61.js +2 -2
  186. package/dist/index63.js +9 -9
  187. package/dist/index65.js +11 -9
  188. package/dist/index67.js +24 -21
  189. package/dist/index71.js +8 -5
  190. package/dist/index75.js +3 -3
  191. package/dist/index77.js +36 -34
  192. package/dist/index79.js +2 -2
  193. package/dist/index81.js +1 -1
  194. package/dist/index82.js +24 -21
  195. package/dist/index84.js +2 -2
  196. package/dist/index86.js +1 -1
  197. package/dist/index88.js +2 -2
  198. package/dist/index92.js +6 -6
  199. package/dist/index94.js +11 -9
  200. package/dist/index96.js +13 -11
  201. package/dist/style.css +1 -1
  202. package/dist/types/CommonProps.d.ts +1 -1
  203. package/package.json +2 -2
  204. package/dist/index239.js +0 -127
  205. package/dist/index255.js +0 -91
  206. package/dist/index272.js +0 -4
  207. package/dist/index274.js +0 -4
package/dist/index47.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as w, ref as g, computed as u, onMounted as y, watch as V, nextTick as k, openBlock as x, createBlock as B, normalizeClass as $, withCtx as r, renderSlot as t, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
1
+ import { defineComponent as w, ref as y, computed as u, onMounted as g, watch as B, nextTick as x, openBlock as V, createBlock as k, normalizeClass as $, withCtx as t, renderSlot as r, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
2
2
  import v from "./index210.js";
3
3
  import E from "./index208.js";
4
4
  /* empty css */
@@ -12,6 +12,7 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
12
12
  autocomplete: {},
13
13
  autoGrow: { type: Boolean },
14
14
  autofocus: {},
15
+ compact: { type: Boolean },
15
16
  disabled: { type: Boolean },
16
17
  hasErrors: { type: Boolean },
17
18
  id: {},
@@ -20,7 +21,7 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
20
21
  name: {},
21
22
  placeholder: {},
22
23
  "prepend:icon": {},
23
- readonly: {},
24
+ readonly: { type: Boolean },
24
25
  required: { type: Boolean },
25
26
  rows: {}
26
27
  },
@@ -31,28 +32,29 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
31
32
  throw new Error(
32
33
  "Textarea: You cannot set rows and auto-grow attributes together. You either use rows and let the user resize or define a minimum height in CSS with auto-grow."
33
34
  );
34
- const n = g(null), c = u(() => ({
35
+ const n = y(null), c = u(() => ({
35
36
  "bb-base-textarea": !0,
36
37
  "bb-base-textarea--auto-grow": o.autoGrow,
37
38
  "bb-base-textarea--disabled": o.disabled,
38
39
  "bb-base-textarea--errors": o.hasErrors,
39
40
  "bb-base-textarea--loading": o.loading,
40
- "bb-base-textarea--readonly": o.readonly
41
+ "bb-base-textarea--readonly": o.readonly,
42
+ "bb-base-textarea--compact": o.compact
41
43
  })), m = u(
42
44
  () => o.modelValue ? o.modelValue : ""
43
45
  );
44
- y(() => {
45
- o.autoGrow && o.modelValue && s();
46
- }), V(
46
+ g(() => {
47
+ o.autoGrow && o.modelValue && l();
48
+ }), B(
47
49
  () => o.modelValue,
48
50
  () => {
49
- o.autoGrow && k(s);
51
+ o.autoGrow && x(l);
50
52
  }
51
53
  );
52
54
  function b(e) {
53
55
  if (e.stopPropagation(), e.target instanceof HTMLTextAreaElement) {
54
- let l = e.target.value;
55
- a("input", e), a("update:modelValue", l || null);
56
+ let s = e.target.value;
57
+ a("input", e), a("update:modelValue", s || null);
56
58
  }
57
59
  }
58
60
  function f(e) {
@@ -66,38 +68,38 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
66
68
  onMousedown: (e) => a("mousedown", e),
67
69
  onMouseup: (e) => a("mouseup", e)
68
70
  };
69
- function s() {
71
+ function l() {
70
72
  n.value && (n.value.style.height = "0px", n.value.style.height = `${n.value.scrollHeight}px`);
71
73
  }
72
- return (e, l) => (x(), B(v, {
74
+ return (e, s) => (V(), k(v, {
73
75
  class: $(c.value)
74
76
  }, {
75
- "prepend-outer": r(() => [
76
- t(e.$slots, "prepend-outer")
77
+ "prepend-outer": t(() => [
78
+ r(e.$slots, "prepend-outer")
77
79
  ]),
78
- "append-outer": r(() => [
79
- t(e.$slots, "append-outer")
80
+ "append-outer": t(() => [
81
+ r(e.$slots, "append-outer")
80
82
  ]),
81
- default: r(() => [
83
+ default: t(() => [
82
84
  i(E, {
83
85
  "append:icon": o["append:icon"],
84
86
  "prepend:icon": o["prepend:icon"]
85
87
  }, {
86
- prepend: r(() => [
87
- t(e.$slots, "prepend")
88
+ prepend: t(() => [
89
+ r(e.$slots, "prepend")
88
90
  ]),
89
- prefix: r(() => [
90
- t(e.$slots, "prefix")
91
+ prefix: t(() => [
92
+ r(e.$slots, "prefix")
91
93
  ]),
92
- append: r(() => [
93
- t(e.$slots, "append")
94
+ append: t(() => [
95
+ r(e.$slots, "append")
94
96
  ]),
95
- suffix: r(() => [
96
- t(e.$slots, "suffix")
97
+ suffix: t(() => [
98
+ r(e.$slots, "suffix")
97
99
  ]),
98
- default: r(() => [
100
+ default: t(() => [
99
101
  i(G, { tag: "span" }, {
100
- default: r(() => [
102
+ default: t(() => [
101
103
  C("textarea", T({
102
104
  id: e.id,
103
105
  ref_key: "textarea",
package/dist/index49.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as p, normalizeClass as h, withCtx as n, renderSlot as r, createElementVNode as l, mergeProps as g } from "vue";
1
+ import { defineComponent as m, computed as c, openBlock as b, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as h, withCtx as n, renderSlot as t, createElementVNode as l, mergeProps as g } from "vue";
2
2
  import B from "./index208.js";
3
3
  /* empty css */
4
4
  import k from "./index210.js";
@@ -9,6 +9,7 @@ const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
9
9
  ariaDescribedby: {},
10
10
  autocomplete: {},
11
11
  autofocus: {},
12
+ compact: { type: Boolean },
12
13
  disabled: { type: Boolean },
13
14
  hasErrors: { type: Boolean },
14
15
  id: {},
@@ -17,18 +18,19 @@ const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
17
18
  name: {},
18
19
  placeholder: {},
19
20
  "prepend:icon": {},
20
- readonly: {},
21
+ readonly: { type: Boolean },
21
22
  required: { type: Boolean },
22
23
  type: { default: "text" }
23
24
  },
24
25
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
25
26
  setup(s, { emit: d }) {
26
- const a = s, o = d, u = b(() => ({
27
+ const a = s, o = d, u = c(() => ({
27
28
  "bb-base-text-input": !0,
28
29
  "bb-base-text-input--disabled": a.disabled,
29
30
  "bb-base-text-input--errors": a.hasErrors,
30
31
  "bb-base-text-input--loading": a.loading,
31
- "bb-base-text-input--readonly": a.readonly
32
+ "bb-base-text-input--readonly": a.readonly,
33
+ "bb-base-text-input--compact": a.compact
32
34
  })), i = {
33
35
  onBlur: (e) => o("blur", e),
34
36
  onChange: (e) => o("change", e),
@@ -41,32 +43,32 @@ const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
41
43
  onMousedown: (e) => o("mousedown", e),
42
44
  onMouseup: (e) => o("mouseup", e)
43
45
  };
44
- return (e, t) => (c(), f(y, null, [
45
- p(k, {
46
+ return (e, p) => (b(), f(y, null, [
47
+ r(k, {
46
48
  class: h(u.value)
47
49
  }, {
48
50
  "prepend-outer": n(() => [
49
- r(e.$slots, "prepend-outer")
51
+ t(e.$slots, "prepend-outer")
50
52
  ]),
51
53
  "append-outer": n(() => [
52
- r(e.$slots, "append-outer")
54
+ t(e.$slots, "append-outer")
53
55
  ]),
54
56
  default: n(() => [
55
- p(B, {
57
+ r(B, {
56
58
  "append:icon": a["append:icon"],
57
59
  "prepend:icon": a["prepend:icon"]
58
60
  }, {
59
61
  prepend: n(() => [
60
- r(e.$slots, "prepend")
62
+ t(e.$slots, "prepend")
61
63
  ]),
62
64
  prefix: n(() => [
63
- r(e.$slots, "prefix")
65
+ t(e.$slots, "prefix")
64
66
  ]),
65
67
  append: n(() => [
66
- r(e.$slots, "append")
68
+ t(e.$slots, "append")
67
69
  ]),
68
70
  suffix: n(() => [
69
- r(e.$slots, "suffix")
71
+ t(e.$slots, "suffix")
70
72
  ]),
71
73
  default: n(() => [
72
74
  l("input", g({
@@ -92,7 +94,7 @@ const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
92
94
  ]),
93
95
  _: 3
94
96
  }, 8, ["class"]),
95
- t[0] || (t[0] = l("span", null, null, -1))
97
+ p[0] || (p[0] = l("span", null, null, -1))
96
98
  ], 64));
97
99
  }
98
100
  });
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as z, computed as b, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as h, guardReactiveProps as k, renderSlot as y } from "vue";
2
- import { isCssColor as _ } from "./index227.js";
2
+ import { isCssColor as _ } from "./index225.js";
3
3
  import { wait as C } from "./index132.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as r } from "./index227.js";
2
+ import { isCssColor as r } from "./index225.js";
3
3
  import { isNil as B } from "./index130.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
package/dist/index61.js CHANGED
@@ -7,8 +7,8 @@ import r from "./index127.js";
7
7
  /* empty css */
8
8
  import P from "./index129.js";
9
9
  /* empty css */
10
- import { pickBy as $ } from "./index251.js";
11
- import { noop as A } from "./index252.js";
10
+ import { pickBy as $ } from "./index252.js";
11
+ import { noop as A } from "./index253.js";
12
12
  const T = {
13
13
  key: 2,
14
14
  class: "bb-button__loading-label sr-only"
package/dist/index63.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as f, computed as v, openBlock as y, createBlock as k, withCtx as r, renderSlot as n, normalizeProps as w, guardReactiveProps as B, createVNode as V, mergeProps as i } from "vue";
1
+ import { defineComponent as c, ref as f, computed as y, openBlock as v, createBlock as k, withCtx as n, renderSlot as r, normalizeProps as B, guardReactiveProps as w, createVNode as V, mergeProps as i } from "vue";
2
2
  import g from "./index17.js";
3
3
  /* empty css */
4
4
  import P from "./index27.js";
@@ -24,7 +24,7 @@ const E = /* @__PURE__ */ c({
24
24
  modelValue: {},
25
25
  name: {},
26
26
  persistentHint: { type: Boolean },
27
- readonly: {},
27
+ readonly: { type: Boolean },
28
28
  required: { type: Boolean },
29
29
  reverse: { type: Boolean, default: !0 },
30
30
  submitWhenFalse: { type: Boolean },
@@ -32,7 +32,7 @@ const E = /* @__PURE__ */ c({
32
32
  },
33
33
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
34
34
  setup(s, { emit: t }) {
35
- const u = s, o = t, a = f(!1), d = v(() => u.persistentHint || a.value), p = {
35
+ const u = s, o = t, a = f(!1), d = y(() => u.persistentHint || a.value), p = {
36
36
  onBlur: (e) => {
37
37
  a.value = !1, o("blur", e);
38
38
  },
@@ -47,7 +47,7 @@ const E = /* @__PURE__ */ c({
47
47
  onMouseup: (e) => o("mouseup", e),
48
48
  "onUpdate:modelValue": (e) => o("update:modelValue", e)
49
49
  };
50
- return (e, C) => (y(), k(P, {
50
+ return (e, C) => (v(), k(P, {
51
51
  id: e.id,
52
52
  class: "bb-checkbox",
53
53
  direction: e.direction,
@@ -64,10 +64,10 @@ const E = /* @__PURE__ */ c({
64
64
  "show-hint": d.value,
65
65
  tag: "label"
66
66
  }, {
67
- label: r((l) => [
68
- n(e.$slots, "label", w(B(l)))
67
+ label: n((l) => [
68
+ r(e.$slots, "label", B(w(l)))
69
69
  ]),
70
- input: r(({ id: l, hasErrors: m, ariaDescribedby: b }) => [
70
+ input: n(({ id: l, hasErrors: m, ariaDescribedby: b }) => [
71
71
  V(g, i({
72
72
  id: l,
73
73
  "aria-describedby": b,
@@ -85,8 +85,8 @@ const E = /* @__PURE__ */ c({
85
85
  "submit-when-false": e.submitWhenFalse,
86
86
  "true-value": e.trueValue
87
87
  }, p), {
88
- icon: r((h) => [
89
- n(e.$slots, "icon", i(h, { text: e.label }))
88
+ icon: n((h) => [
89
+ r(e.$slots, "icon", i(h, { text: e.label }))
90
90
  ]),
91
91
  _: 2
92
92
  }, 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "false-value", "has-errors", "indeterminate", "model-value", "name", "readonly", "required", "submit-when-false", "true-value"])
package/dist/index65.js CHANGED
@@ -8,6 +8,7 @@ const E = /* @__PURE__ */ f({
8
8
  props: {
9
9
  autofocus: {},
10
10
  color: {},
11
+ compact: { type: Boolean },
11
12
  dependencies: {},
12
13
  depsDebounceTime: {},
13
14
  disabled: { type: Boolean },
@@ -30,12 +31,12 @@ const E = /* @__PURE__ */ f({
30
31
  name: {},
31
32
  noDataText: {},
32
33
  persistentHint: { type: Boolean },
33
- readonly: {},
34
+ readonly: { 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: p }) {
38
- const u = t, n = p, s = v(!1), m = g(() => u.persistentHint || s.value), c = {
38
+ setup(d, { emit: p }) {
39
+ const m = d, n = p, s = v(!1), u = g(() => m.persistentHint || s.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__ */ f({
54
55
  return (e, k) => (y(), B(V, {
55
56
  id: e.id,
56
57
  class: "bb-checkbox-group",
58
+ compact: e.compact,
57
59
  direction: "vertical",
58
60
  errors: e.errors,
59
61
  "has-errors": e.hasErrors,
@@ -63,15 +65,15 @@ const E = /* @__PURE__ */ f({
63
65
  "label-tag": "legend",
64
66
  name: e.name,
65
67
  reverse: e.reverse,
66
- "show-hint": m.value,
68
+ "show-hint": u.value,
67
69
  tag: "fieldset"
68
70
  }, {
69
- label: a((d) => [
70
- i(e.$slots, "legend", l(r(d)))
71
+ label: a((t) => [
72
+ i(e.$slots, "legend", l(r(t)))
71
73
  ]),
72
- input: a(({ id: d, hasErrors: b, ariaDescribedby: h }) => [
74
+ input: a(({ id: t, hasErrors: b, ariaDescribedby: h }) => [
73
75
  $(T, w({
74
- id: d,
76
+ id: t,
75
77
  "aria-describedby": h,
76
78
  autofocus: e.autofocus,
77
79
  color: e.color,
@@ -121,7 +123,7 @@ const E = /* @__PURE__ */ f({
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", "max", "model-value", "model-value-debounce-time", "name", "no-data-text", "readonly"])
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/index67.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as h, computed as b, openBlock as f, createBlock as y, withCtx as r, renderSlot as n, normalizeProps as v, guardReactiveProps as B, createVNode as w, mergeProps as g } from "vue";
1
+ import { defineComponent as c, ref as h, computed as b, openBlock as f, createBlock as y, withCtx as a, renderSlot as n, normalizeProps as v, guardReactiveProps as B, createVNode as w, mergeProps as g } from "vue";
2
2
  import $ from "./index27.js";
3
3
  /* empty css */
4
4
  import k from "./index15.js";
@@ -9,6 +9,7 @@ const E = /* @__PURE__ */ c({
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: {},
@@ -24,13 +25,13 @@ const E = /* @__PURE__ */ c({
24
25
  persistentHint: { type: Boolean },
25
26
  placeholder: {},
26
27
  "prepend:icon": {},
27
- readonly: {},
28
+ readonly: { type: Boolean },
28
29
  required: { type: Boolean },
29
30
  reverse: { type: Boolean }
30
31
  },
31
32
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
32
- setup(i, { emit: d }) {
33
- const a = i, o = d, l = h(!1), p = b(() => a.persistentHint || l.value), u = {
33
+ setup(s, { emit: i }) {
34
+ const r = s, o = i, l = h(!1), d = b(() => r.persistentHint || l.value), t = {
34
35
  onBlur: (e) => {
35
36
  l.value = !1, o("blur", e);
36
37
  },
@@ -48,6 +49,7 @@ const E = /* @__PURE__ */ c({
48
49
  return (e, V) => (f(), y($, {
49
50
  id: e.id,
50
51
  class: "bb-color-input",
52
+ compact: e.compact,
51
53
  direction: e.direction,
52
54
  errors: e.errors,
53
55
  "has-errors": e.hasErrors,
@@ -58,51 +60,52 @@ const E = /* @__PURE__ */ c({
58
60
  "model-value": e.modelValue,
59
61
  name: e.name,
60
62
  reverse: e.reverse,
61
- "show-hint": p.value
63
+ "show-hint": d.value
62
64
  }, {
63
- label: r((s) => [
64
- n(e.$slots, "label", v(B(s)))
65
+ label: a((p) => [
66
+ n(e.$slots, "label", v(B(p)))
65
67
  ]),
66
- input: r(({ id: s, hasErrors: t, ariaDescribedby: m }) => [
68
+ input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
67
69
  w(k, g({
68
- id: s,
69
- "append:icon": a["append:icon"],
70
+ id: p,
71
+ "append:icon": r["append:icon"],
70
72
  "aria-describedby": m,
71
73
  autocomplete: e.autocomplete,
72
74
  autofocus: e.autofocus,
75
+ compact: e.compact,
73
76
  disabled: e.disabled,
74
- "has-errors": t,
77
+ "has-errors": u,
75
78
  loading: e.loading,
76
79
  "model-value": e.modelValue,
77
80
  name: e.name,
78
81
  placeholder: e.placeholder,
79
- "prepend:icon": a["prepend:icon"],
82
+ "prepend:icon": r["prepend:icon"],
80
83
  readonly: e.readonly,
81
84
  required: e.required
82
- }, u), {
83
- "append-outer": r(() => [
85
+ }, t), {
86
+ "append-outer": a(() => [
84
87
  n(e.$slots, "append-outer")
85
88
  ]),
86
- append: r(() => [
89
+ append: a(() => [
87
90
  n(e.$slots, "append")
88
91
  ]),
89
- prefix: r(() => [
92
+ prefix: a(() => [
90
93
  n(e.$slots, "prefix")
91
94
  ]),
92
- suffix: r(() => [
95
+ suffix: a(() => [
93
96
  n(e.$slots, "suffix")
94
97
  ]),
95
- prepend: r(() => [
98
+ prepend: a(() => [
96
99
  n(e.$slots, "prepend")
97
100
  ]),
98
- "prepend-outer": r(() => [
101
+ "prepend-outer": a(() => [
99
102
  n(e.$slots, "prepend-outer")
100
103
  ]),
101
104
  _: 2
102
- }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required"])
105
+ }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required"])
103
106
  ]),
104
107
  _: 3
105
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
108
+ }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
106
109
  }
107
110
  });
108
111
  export {
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 "./index253.js";
2
+ import { findRightIndex as I } from "./index278.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 "./index254.js";
9
- import se from "./index255.js";
8
+ import V from "./index279.js";
9
+ import se from "./index273.js";
10
10
  /* empty css */
11
11
  import j from "./index127.js";
12
12
  /* empty css */