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/index101.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, ref as y, computed as v, openBlock as B, createBlock as g, withCtx as n, renderSlot as a, normalizeProps as i, guardReactiveProps as l, createVNode as $, mergeProps as T } from "vue";
1
+ import { defineComponent as h, ref as y, computed as B, openBlock as v, createBlock as g, withCtx as n, renderSlot as a, normalizeProps as i, guardReactiveProps as l, createVNode as $, mergeProps as T } from "vue";
2
2
  import V from "./index27.js";
3
3
  /* empty css */
4
4
  import q from "./index37.js";
@@ -12,6 +12,7 @@ const L = /* @__PURE__ */ h({
12
12
  autocomplete: {},
13
13
  autofocus: {},
14
14
  comma: { type: Boolean },
15
+ compact: { type: Boolean },
15
16
  dependencies: {},
16
17
  depsDebounceTime: {},
17
18
  direction: {},
@@ -51,23 +52,24 @@ const L = /* @__PURE__ */ h({
51
52
  updateOnAnimationFrame: { type: Boolean }
52
53
  },
53
54
  emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
54
- setup(d, { emit: u }) {
55
- const r = d, t = u, s = y(!1), m = v(() => r.persistentHint || s.value), b = {
55
+ setup(d, { emit: m }) {
56
+ const r = d, t = m, p = y(!1), u = B(() => r.persistentHint || p.value), c = {
56
57
  onBlur: (e) => t("blur", e),
57
58
  onChange: (e) => t("change", e),
58
59
  onClick: (e) => t("click", e),
59
60
  onFocus: (e) => {
60
- s.value = !0, t("focus", e);
61
+ p.value = !0, t("focus", e);
61
62
  },
62
63
  onInactive: () => {
63
- s.value = !1, t("inactive");
64
+ p.value = !1, t("inactive");
64
65
  },
65
66
  onInput: (e) => t("input", e),
66
67
  "onUpdate:modelValue": (e) => t("update:modelValue", e)
67
68
  };
68
- return (e, w) => (B(), g(V, {
69
+ return (e, w) => (v(), g(V, {
69
70
  id: e.id,
70
71
  class: "bb-select",
72
+ compact: e.compact,
71
73
  direction: e.direction,
72
74
  errors: e.errors,
73
75
  "has-errors": e.hasErrors,
@@ -78,14 +80,14 @@ const L = /* @__PURE__ */ h({
78
80
  "model-value": e.modelValue,
79
81
  name: e.name,
80
82
  reverse: e.reverse,
81
- "show-hint": m.value
83
+ "show-hint": u.value
82
84
  }, {
83
- label: n((p) => [
84
- a(e.$slots, "label", i(l(p)))
85
+ label: n((s) => [
86
+ a(e.$slots, "label", i(l(s)))
85
87
  ]),
86
- input: n(({ id: p, hasErrors: c, ariaDescribedby: f }) => [
88
+ input: n(({ id: s, hasErrors: b, ariaDescribedby: f }) => [
87
89
  $(q, T({
88
- id: p,
90
+ id: s,
89
91
  "add-options": e.addOptions,
90
92
  "allow-writing": e.allowWriting,
91
93
  "append:icon": r["append:icon"],
@@ -93,12 +95,13 @@ const L = /* @__PURE__ */ h({
93
95
  autocomplete: e.autocomplete,
94
96
  autofocus: e.autofocus,
95
97
  comma: e.comma,
98
+ compact: e.compact,
96
99
  dependencies: e.dependencies,
97
100
  "deps-debounce-time": e.depsDebounceTime,
98
101
  disabled: e.disabled,
99
102
  "enforce-coherence": e.enforceCoherence,
100
103
  "filter-by": e.filterBy,
101
- "has-errors": c,
104
+ "has-errors": b,
102
105
  "item-text": e.itemText,
103
106
  "item-value": e.itemValue,
104
107
  items: e.items,
@@ -121,7 +124,7 @@ const L = /* @__PURE__ */ h({
121
124
  stash: e.stash,
122
125
  "transition-duration": e.transitionDuration,
123
126
  "update-on-animation-frame": e.updateOnAnimationFrame
124
- }, b), {
127
+ }, c), {
125
128
  "append-outer": n((o) => [
126
129
  a(e.$slots, "append-outer", i(l(o)))
127
130
  ]),
@@ -168,10 +171,10 @@ const L = /* @__PURE__ */ h({
168
171
  a(e.$slots, "spinner", i(l(o)))
169
172
  ]),
170
173
  _: 2
171
- }, 1040, ["id", "add-options", "allow-writing", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "dependencies", "deps-debounce-time", "disabled", "enforce-coherence", "filter-by", "has-errors", "item-text", "item-value", "items", "loading", "loading-text", "max", "max-selected-labels", "model-value", "model-value-debounce-time", "multiple", "name", "no-data-text", "placeholder", "prefill", "prepend:icon", "query-debounce-time", "readonly", "required", "reset-query-on-option-selected", "stash", "transition-duration", "update-on-animation-frame"])
174
+ }, 1040, ["id", "add-options", "allow-writing", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "dependencies", "deps-debounce-time", "disabled", "enforce-coherence", "filter-by", "has-errors", "item-text", "item-value", "items", "loading", "loading-text", "max", "max-selected-labels", "model-value", "model-value-debounce-time", "multiple", "name", "no-data-text", "placeholder", "prefill", "prepend:icon", "query-debounce-time", "readonly", "required", "reset-query-on-option-selected", "stash", "transition-duration", "update-on-animation-frame"])
172
175
  ]),
173
176
  _: 3
174
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
177
+ }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
175
178
  }
176
179
  });
177
180
  export {
package/dist/index103.js CHANGED
@@ -1,13 +1,14 @@
1
- import { defineComponent as c, ref as f, computed as y, openBlock as k, createBlock as w, withCtx as a, renderSlot as n, normalizeProps as i, guardReactiveProps as l, createVNode as B, mergeProps as $ } from "vue";
1
+ import { defineComponent as v, ref as y, computed as f, openBlock as B, createBlock as k, withCtx as a, renderSlot as n, normalizeProps as i, guardReactiveProps as l, createVNode as w, mergeProps as $ } from "vue";
2
2
  import g from "./index27.js";
3
3
  /* empty css */
4
4
  import P from "./index39.js";
5
5
  /* empty css */
6
- const S = /* @__PURE__ */ c({
6
+ const S = /* @__PURE__ */ v({
7
7
  __name: "BbSlider",
8
8
  props: {
9
9
  autofocus: {},
10
10
  color: {},
11
+ compact: { type: Boolean },
11
12
  direction: {},
12
13
  disabled: { type: Boolean },
13
14
  errors: {},
@@ -23,7 +24,7 @@ const S = /* @__PURE__ */ c({
23
24
  name: {},
24
25
  persistentHint: { type: Boolean },
25
26
  range: { type: Boolean },
26
- readonly: {},
27
+ readonly: { type: Boolean },
27
28
  required: { type: Boolean },
28
29
  reverse: { type: Boolean },
29
30
  step: {},
@@ -32,7 +33,7 @@ const S = /* @__PURE__ */ c({
32
33
  },
33
34
  emits: ["click", "focus", "active", "inactive", "keydown", "pointerdown", "pointermove", "pointerup", "update:modelValue"],
34
35
  setup(d, { emit: m }) {
35
- const p = d, r = m, s = f(!1), u = y(() => p.persistentHint || s.value), b = {
36
+ const p = d, r = m, s = y(!1), u = f(() => p.persistentHint || s.value), b = {
36
37
  onActive: () => {
37
38
  s.value = !0, r("active");
38
39
  },
@@ -47,9 +48,10 @@ const S = /* @__PURE__ */ c({
47
48
  onPointerup: (e) => r("pointerup", e),
48
49
  "onUpdate:modelValue": (e) => r("update:modelValue", e)
49
50
  };
50
- return (e, V) => (k(), w(g, {
51
+ return (e, V) => (B(), k(g, {
51
52
  id: e.id,
52
53
  class: "bb-slider",
54
+ compact: e.compact,
53
55
  direction: e.direction,
54
56
  errors: e.errors,
55
57
  "has-errors": e.hasErrors,
@@ -65,10 +67,10 @@ const S = /* @__PURE__ */ c({
65
67
  label: a((t) => [
66
68
  n(e.$slots, "label", i(l(t)))
67
69
  ]),
68
- input: a(({ id: t, hasErrors: h, ariaDescribedby: v }) => [
69
- B(P, $({
70
+ input: a(({ id: t, hasErrors: h, ariaDescribedby: c }) => [
71
+ w(P, $({
70
72
  id: t,
71
- "aria-describedby": v,
73
+ "aria-describedby": c,
72
74
  autofocus: e.autofocus,
73
75
  color: e.color,
74
76
  disabled: e.disabled,
@@ -106,7 +108,7 @@ const S = /* @__PURE__ */ c({
106
108
  }, 1040, ["id", "aria-describedby", "autofocus", "color", "disabled", "has-errors", "max", "min", "model-value", "name", "range", "readonly", "required", "step", "thumb-translate", "ticks"])
107
109
  ]),
108
110
  _: 3
109
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
111
+ }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
110
112
  }
111
113
  });
112
114
  export {
package/dist/index105.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as f, computed as v, openBlock as y, createBlock as w, withCtx as l, renderSlot as n, normalizeProps as B, guardReactiveProps as k, createVNode as V, mergeProps as i } from "vue";
1
+ import { defineComponent as c, ref as f, computed as y, openBlock as v, createBlock as w, withCtx as n, renderSlot as r, normalizeProps as B, guardReactiveProps as k, createVNode as V, mergeProps as i } from "vue";
2
2
  import g from "./index27.js";
3
3
  /* empty css */
4
4
  import P from "./index41.js";
@@ -24,7 +24,7 @@ const S = /* @__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 S = /* @__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 S = /* @__PURE__ */ c({
47
47
  onMouseup: (e) => o("mouseup", e),
48
48
  "onUpdate:modelValue": (e) => o("update:modelValue", e)
49
49
  };
50
- return (e, q) => (y(), w(g, {
50
+ return (e, q) => (v(), w(g, {
51
51
  id: e.id,
52
52
  class: "bb-switch",
53
53
  direction: e.direction,
@@ -64,12 +64,12 @@ const S = /* @__PURE__ */ c({
64
64
  "show-hint": d.value,
65
65
  tag: "label"
66
66
  }, {
67
- label: l((r) => [
68
- n(e.$slots, "label", B(k(r)))
67
+ label: n((l) => [
68
+ r(e.$slots, "label", B(k(l)))
69
69
  ]),
70
- input: l(({ id: r, hasErrors: m, ariaDescribedby: b }) => [
70
+ input: n(({ id: l, hasErrors: m, ariaDescribedby: b }) => [
71
71
  V(P, i({
72
- id: r,
72
+ id: l,
73
73
  "aria-describedby": b,
74
74
  autofocus: e.autofocus,
75
75
  checked: e.checked,
@@ -85,8 +85,8 @@ const S = /* @__PURE__ */ c({
85
85
  "submit-when-false": e.submitWhenFalse,
86
86
  "true-value": e.trueValue
87
87
  }, p), {
88
- icon: l((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/index107.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as v, computed as g, openBlock as y, createBlock as w, withCtx as a, renderSlot as i, normalizeProps as l, guardReactiveProps as r, createVNode as B, mergeProps as $ } from "vue";
1
+ import { defineComponent as f, ref as v, computed as g, openBlock as y, createBlock as B, withCtx as a, renderSlot as i, normalizeProps as l, guardReactiveProps as r, createVNode as w, mergeProps as $ } from "vue";
2
2
  import T from "./index27.js";
3
3
  /* empty css */
4
4
  import V from "./index43.js";
@@ -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,20 +31,20 @@ 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, t = v(!1), u = g(() => m.persistentHint || t.value), c = {
39
40
  onBlur: (e) => n("blur", e),
40
41
  onChange: (e) => n("change", e),
41
42
  onClick: (e) => n("click", e),
42
43
  onFocus: (e) => {
43
- s.value = !0, n("focus", e);
44
+ t.value = !0, n("focus", e);
44
45
  },
45
46
  onInactive: () => {
46
- s.value = !1, n("inactive");
47
+ t.value = !1, n("inactive");
47
48
  },
48
49
  onInput: (e) => n("input", e),
49
50
  onKeydown: (e) => n("keydown", e),
@@ -51,9 +52,10 @@ const E = /* @__PURE__ */ f({
51
52
  onMouseup: (e) => n("mouseup", e),
52
53
  "onUpdate:modelValue": (e) => n("update:modelValue", e)
53
54
  };
54
- return (e, D) => (y(), w(T, {
55
+ return (e, D) => (y(), B(T, {
55
56
  id: e.id,
56
57
  class: "bb-switch-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((s) => [
72
+ i(e.$slots, "legend", l(r(s)))
71
73
  ]),
72
- input: a(({ id: d, hasErrors: h, ariaDescribedby: b }) => [
73
- B(V, $({
74
- id: d,
74
+ input: a(({ id: s, hasErrors: h, ariaDescribedby: b }) => [
75
+ w(V, $({
76
+ id: s,
75
77
  "aria-describedby": b,
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/index111.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as re, mergeModels as P, ref as ue, computed as k, toRef as A, useModel as Q, watch as U, reactive as pe, openBlock as n, createBlock as W, resolveDynamicComponent as fe, normalizeClass as r, unref as i, withCtx as me, createElementBlock as d, toDisplayString as u, createCommentVNode as C, createElementVNode as o, renderSlot as p, isRef as ye, Fragment as T, renderList as V, createVNode as G, createTextVNode as he, mergeProps as ke } from "vue";
2
- import { add as ve } from "./index302.js";
2
+ import { add as ve } from "./index303.js";
3
3
  import { clamp as _e } from "./index207.js";
4
4
  import { isNil as K } from "./index130.js";
5
5
  import { useId as Ce } from "./index8.js";
6
- import { useItemValue as ge } from "./index292.js";
6
+ import { useItemValue as ge } from "./index260.js";
7
7
  import { when as we } from "./index240.js";
8
8
  import X from "./index17.js";
9
9
  /* empty css */
10
10
  import Te from "./index31.js";
11
11
  /* empty css */
12
- import { useOptions as Ve } from "./index236.js";
13
- import { hash as Y } from "./index229.js";
12
+ import { useOptions as Ve } from "./index234.js";
13
+ import { hash as Y } from "./index228.js";
14
14
  const $e = {
15
15
  key: 0,
16
16
  class: "sr-only"
@@ -48,7 +48,7 @@ const $e = {
48
48
  multiple: { type: Boolean, default: !0 },
49
49
  name: {},
50
50
  noDataText: { default: "Non ci sono elementi da visualizzare" },
51
- readonly: {},
51
+ readonly: { type: Boolean },
52
52
  selectable: { type: [Boolean, Function] },
53
53
  selectAllLabel: { default: "Seleziona tutti gli elementi di questa pagina" },
54
54
  selectText: { default: "Seleziona un elemento" },
package/dist/index113.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as v, computed as y, openBlock as B, createBlock as g, withCtx as l, renderSlot as r, normalizeProps as n, guardReactiveProps as i, createVNode as k, mergeProps as $ } from "vue";
1
+ import { defineComponent as f, ref as y, computed as v, openBlock as B, createBlock as g, withCtx as l, renderSlot as r, normalizeProps as n, guardReactiveProps as i, createVNode as k, mergeProps as $ } from "vue";
2
2
  import w from "./index27.js";
3
3
  /* empty css */
4
4
  import V from "./index45.js";
@@ -10,6 +10,7 @@ const I = /* @__PURE__ */ f({
10
10
  autocomplete: {},
11
11
  autofocus: {},
12
12
  comma: { type: Boolean },
13
+ compact: { type: Boolean },
13
14
  direction: {},
14
15
  disabled: { type: Boolean },
15
16
  divider: {},
@@ -28,22 +29,22 @@ const I = /* @__PURE__ */ f({
28
29
  persistentHint: { type: Boolean },
29
30
  placeholder: {},
30
31
  "prepend:icon": {},
31
- readonly: {},
32
+ readonly: { type: Boolean },
32
33
  required: { type: Boolean },
33
34
  reverse: { type: Boolean }
34
35
  },
35
36
  emits: ["blur", "change", "click", "duplicate", "focus", "inactive", "input", "keydown", "keyup", "update:modelValue"],
36
37
  setup(t, { emit: u }) {
37
- const d = t, a = u, p = v(!1), m = y(() => d.persistentHint || p.value), c = {
38
+ const p = t, a = u, d = y(!1), m = v(() => p.persistentHint || d.value), c = {
38
39
  onBlur: (e) => a("blur", e),
39
40
  onChange: (e) => a("change", e),
40
41
  onClick: (e) => a("click", e),
41
42
  onDuplicate: (e) => a("duplicate", e),
42
43
  onFocus: (e) => {
43
- p.value = !0, a("focus", e);
44
+ d.value = !0, a("focus", e);
44
45
  },
45
46
  onInactive: () => {
46
- p.value = !1, a("inactive");
47
+ d.value = !1, a("inactive");
47
48
  },
48
49
  onInput: (e) => a("input", e),
49
50
  onKeydown: (e) => a("keydown", e),
@@ -53,6 +54,7 @@ const I = /* @__PURE__ */ f({
53
54
  return (e, P) => (B(), g(w, {
54
55
  id: e.id,
55
56
  class: "bb-tag",
57
+ compact: e.compact,
56
58
  direction: e.direction,
57
59
  errors: e.errors,
58
60
  "has-errors": e.hasErrors,
@@ -71,11 +73,12 @@ const I = /* @__PURE__ */ f({
71
73
  input: l(({ id: s, hasErrors: h, ariaDescribedby: b }) => [
72
74
  k(V, $({
73
75
  id: s,
74
- "append:icon": d["append:icon"],
76
+ "append:icon": p["append:icon"],
75
77
  "aria-describedby": b,
76
78
  autocomplete: e.autocomplete,
77
79
  autofocus: e.autofocus,
78
80
  comma: e.comma,
81
+ compact: e.compact,
79
82
  disabled: e.disabled,
80
83
  divider: e.divider,
81
84
  "has-errors": h,
@@ -85,7 +88,7 @@ const I = /* @__PURE__ */ f({
85
88
  multiple: e.multiple,
86
89
  name: e.name,
87
90
  placeholder: e.placeholder,
88
- "prepend:icon": d["prepend:icon"],
91
+ "prepend:icon": p["prepend:icon"],
89
92
  readonly: e.readonly,
90
93
  required: e.required
91
94
  }, c), {
@@ -108,10 +111,10 @@ const I = /* @__PURE__ */ f({
108
111
  r(e.$slots, "append-outer", n(i(o)))
109
112
  ]),
110
113
  _: 2
111
- }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
114
+ }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
112
115
  ]),
113
116
  _: 3
114
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
117
+ }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
115
118
  }
116
119
  });
117
120
  export {
package/dist/index115.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as w, computed as y, openBlock as v, createBlock as B, withCtx as r, renderSlot as a, normalizeProps as d, guardReactiveProps as p, createVNode as g, mergeProps as $ } from "vue";
1
+ import { defineComponent as f, ref as y, computed as w, openBlock as v, createBlock as B, withCtx as a, renderSlot as r, normalizeProps as p, guardReactiveProps as d, createVNode as g, mergeProps as $ } from "vue";
2
2
  import k from "./index27.js";
3
3
  /* empty css */
4
4
  import V from "./index47.js";
@@ -10,6 +10,7 @@ const G = /* @__PURE__ */ f({
10
10
  autocomplete: {},
11
11
  autofocus: {},
12
12
  autoGrow: { type: Boolean },
13
+ compact: { type: Boolean },
13
14
  direction: {},
14
15
  disabled: { type: Boolean },
15
16
  errors: {},
@@ -25,14 +26,14 @@ const G = /* @__PURE__ */ f({
25
26
  persistentHint: { type: Boolean },
26
27
  placeholder: {},
27
28
  "prepend:icon": {},
28
- readonly: {},
29
+ readonly: { type: Boolean },
29
30
  required: { type: Boolean },
30
31
  reverse: { type: Boolean },
31
32
  rows: {}
32
33
  },
33
34
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
34
- setup(u, { emit: t }) {
35
- const n = u, o = t, l = w(!1), m = y(() => n.persistentHint || l.value), h = {
35
+ setup(t, { emit: u }) {
36
+ const n = t, o = u, l = y(!1), m = w(() => n.persistentHint || l.value), c = {
36
37
  onBlur: (e) => {
37
38
  l.value = !1, o("blur", e);
38
39
  },
@@ -50,6 +51,7 @@ const G = /* @__PURE__ */ f({
50
51
  return (e, P) => (v(), B(k, {
51
52
  id: e.id,
52
53
  class: "bb-textarea",
54
+ compact: e.compact,
53
55
  direction: e.direction,
54
56
  errors: e.errors,
55
57
  "has-errors": e.hasErrors,
@@ -62,18 +64,19 @@ const G = /* @__PURE__ */ f({
62
64
  reverse: e.reverse,
63
65
  "show-hint": m.value
64
66
  }, {
65
- label: r((s) => [
66
- a(e.$slots, "label", d(p(s)))
67
+ label: a((s) => [
68
+ r(e.$slots, "label", p(d(s)))
67
69
  ]),
68
- input: r(({ id: s, hasErrors: b, ariaDescribedby: c }) => [
70
+ input: a(({ id: s, hasErrors: h, ariaDescribedby: b }) => [
69
71
  g(V, $({
70
72
  id: s,
71
73
  "append:icon": n["append:icon"],
72
- "aria-describedby": c,
74
+ "aria-describedby": b,
73
75
  "auto-grow": e.autoGrow,
74
76
  autofocus: e.autofocus,
77
+ compact: e.compact,
75
78
  disabled: e.disabled,
76
- "has-errors": b,
79
+ "has-errors": h,
77
80
  loading: e.loading,
78
81
  "model-value": e.modelValue,
79
82
  name: e.name,
@@ -82,30 +85,30 @@ const G = /* @__PURE__ */ f({
82
85
  readonly: e.readonly,
83
86
  required: e.required,
84
87
  rows: e.rows
85
- }, h), {
86
- "append-outer": r(() => [
87
- a(e.$slots, "append-outer")
88
+ }, c), {
89
+ "append-outer": a(() => [
90
+ r(e.$slots, "append-outer")
88
91
  ]),
89
- append: r(() => [
90
- a(e.$slots, "append")
92
+ append: a(() => [
93
+ r(e.$slots, "append")
91
94
  ]),
92
- prepend: r(() => [
93
- a(e.$slots, "prepend")
95
+ prepend: a(() => [
96
+ r(e.$slots, "prepend")
94
97
  ]),
95
- "prepend-outer": r(() => [
96
- a(e.$slots, "prepend-outer")
98
+ "prepend-outer": a(() => [
99
+ r(e.$slots, "prepend-outer")
97
100
  ]),
98
- prefix: r((i) => [
99
- a(e.$slots, "prefix", d(p(i)))
101
+ prefix: a((i) => [
102
+ r(e.$slots, "prefix", p(d(i)))
100
103
  ]),
101
- suffix: r((i) => [
102
- a(e.$slots, "suffix", d(p(i)))
104
+ suffix: a((i) => [
105
+ r(e.$slots, "suffix", p(d(i)))
103
106
  ]),
104
107
  _: 2
105
- }, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
108
+ }, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
106
109
  ]),
107
110
  _: 3
108
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
111
+ }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
109
112
  }
110
113
  });
111
114
  export {
package/dist/index117.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 n, renderSlot as r, 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 "./index49.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,14 +25,14 @@ 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
  type: {}
31
32
  },
32
33
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
33
- setup(i, { emit: p }) {
34
- const a = i, o = p, l = h(!1), d = b(() => a.persistentHint || l.value), t = {
34
+ setup(s, { emit: i }) {
35
+ const r = s, o = i, l = h(!1), d = b(() => r.persistentHint || l.value), t = {
35
36
  onBlur: (e) => {
36
37
  l.value = !1, o("blur", e);
37
38
  },
@@ -49,6 +50,7 @@ const E = /* @__PURE__ */ c({
49
50
  return (e, V) => (f(), y($, {
50
51
  id: e.id,
51
52
  class: "bb-text-input",
53
+ compact: e.compact,
52
54
  direction: e.direction,
53
55
  errors: e.errors,
54
56
  "has-errors": e.hasErrors,
@@ -61,50 +63,51 @@ const E = /* @__PURE__ */ c({
61
63
  reverse: e.reverse,
62
64
  "show-hint": d.value
63
65
  }, {
64
- label: n((s) => [
65
- r(e.$slots, "label", v(B(s)))
66
+ label: a((p) => [
67
+ n(e.$slots, "label", v(B(p)))
66
68
  ]),
67
- input: n(({ id: s, hasErrors: u, ariaDescribedby: m }) => [
69
+ input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
68
70
  w(k, g({
69
- id: s,
70
- "append:icon": a["append:icon"],
71
+ id: p,
72
+ "append:icon": r["append:icon"],
71
73
  "aria-describedby": m,
72
74
  autocomplete: e.autocomplete,
73
75
  autofocus: e.autofocus,
76
+ compact: e.compact,
74
77
  disabled: e.disabled,
75
78
  "has-errors": u,
76
79
  loading: e.loading,
77
80
  "model-value": e.modelValue,
78
81
  name: e.name,
79
82
  placeholder: e.placeholder,
80
- "prepend:icon": a["prepend:icon"],
83
+ "prepend:icon": r["prepend:icon"],
81
84
  readonly: e.readonly,
82
85
  required: e.required,
83
86
  type: e.type
84
87
  }, t), {
85
- "append-outer": n(() => [
86
- r(e.$slots, "append-outer")
88
+ "append-outer": a(() => [
89
+ n(e.$slots, "append-outer")
87
90
  ]),
88
- append: n(() => [
89
- r(e.$slots, "append")
91
+ append: a(() => [
92
+ n(e.$slots, "append")
90
93
  ]),
91
- prefix: n(() => [
92
- r(e.$slots, "prefix")
94
+ prefix: a(() => [
95
+ n(e.$slots, "prefix")
93
96
  ]),
94
- suffix: n(() => [
95
- r(e.$slots, "suffix")
97
+ suffix: a(() => [
98
+ n(e.$slots, "suffix")
96
99
  ]),
97
- prepend: n(() => [
98
- r(e.$slots, "prepend")
100
+ prepend: a(() => [
101
+ n(e.$slots, "prepend")
99
102
  ]),
100
- "prepend-outer": n(() => [
101
- r(e.$slots, "prepend-outer")
103
+ "prepend-outer": a(() => [
104
+ n(e.$slots, "prepend-outer")
102
105
  ]),
103
106
  _: 2
104
- }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
107
+ }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
105
108
  ]),
106
109
  _: 3
107
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
110
+ }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
108
111
  }
109
112
  });
110
113
  export {