bitboss-ui 2.0.100 → 2.0.102

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 (145) hide show
  1. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -6
  2. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
  3. package/dist/index100.js +4 -4
  4. package/dist/index111.js +5 -5
  5. package/dist/index119.js +2 -2
  6. package/dist/index121.js +5 -5
  7. package/dist/index123.js +1 -1
  8. package/dist/index127.js +1 -1
  9. package/dist/index128.js +1 -1
  10. package/dist/index129.js +1 -1
  11. package/dist/index13.js +54 -45
  12. package/dist/index133.js +2 -2
  13. package/dist/index15.js +4 -4
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +3 -3
  16. package/dist/index207.js +5 -53
  17. package/dist/index208.js +18 -0
  18. package/dist/index209.js +16 -13
  19. package/dist/index21.js +14 -14
  20. package/dist/index210.js +19 -20
  21. package/dist/index211.js +19 -4
  22. package/dist/index212.js +27 -8
  23. package/dist/index213.js +3 -5
  24. package/dist/index214.js +2 -16
  25. package/dist/index215.js +8 -16
  26. package/dist/index216.js +250 -19
  27. package/dist/index217.js +51 -18
  28. package/dist/index218.js +44 -27
  29. package/dist/index219.js +5 -3
  30. package/dist/index220.js +60 -2
  31. package/dist/index221.js +47 -244
  32. package/dist/index223.js +13 -44
  33. package/dist/index224.js +2 -5
  34. package/dist/index225.js +4 -60
  35. package/dist/index226.js +2 -126
  36. package/dist/index227.js +19 -124
  37. package/dist/index228.js +4 -2
  38. package/dist/index229.js +3 -41
  39. package/dist/index23.js +16 -16
  40. package/dist/index230.js +168 -6
  41. package/dist/index231.js +84 -5
  42. package/dist/index233.js +8 -369
  43. package/dist/index234.js +119 -161
  44. package/dist/index235.js +125 -84
  45. package/dist/index236.js +4 -0
  46. package/dist/index237.js +41 -8
  47. package/dist/index238.js +6 -2
  48. package/dist/index239.js +5 -4
  49. package/dist/index240.js +12 -2
  50. package/dist/index241.js +369 -3
  51. package/dist/index242.js +3 -7
  52. package/dist/index243.js +7 -3
  53. package/dist/index244.js +1 -1
  54. package/dist/index246.js +1 -1
  55. package/dist/index248.js +1 -1
  56. package/dist/index25.js +6 -6
  57. package/dist/index256.js +4 -4
  58. package/dist/index258.js +9 -6
  59. package/dist/index259.js +6 -16
  60. package/dist/index260.js +16 -3
  61. package/dist/index261.js +11 -0
  62. package/dist/index262.js +8 -7
  63. package/dist/index263.js +279 -174
  64. package/dist/index264.js +5 -280
  65. package/dist/index265.js +2 -6
  66. package/dist/index266.js +2 -2
  67. package/dist/index27.js +1 -1
  68. package/dist/index271.js +2 -2
  69. package/dist/index272.js +1 -1
  70. package/dist/index273.js +1 -1
  71. package/dist/index274.js +1 -1
  72. package/dist/index275.js +28 -2
  73. package/dist/index276.js +21 -27
  74. package/dist/index278.js +9 -0
  75. package/dist/index279.js +3 -2
  76. package/dist/index281.js +3 -430
  77. package/dist/index282.js +224 -22
  78. package/dist/index283.js +178 -0
  79. package/dist/index284.js +3 -2
  80. package/dist/index285.js +12 -3
  81. package/dist/index286.js +9 -12
  82. package/dist/index287.js +16 -8
  83. package/dist/index288.js +4 -9
  84. package/dist/index289.js +7 -17
  85. package/dist/index29.js +2 -2
  86. package/dist/index290.js +10 -3
  87. package/dist/index291.js +2 -7
  88. package/dist/index292.js +125 -10
  89. package/dist/index293.js +420 -189
  90. package/dist/index294.js +21 -435
  91. package/dist/index296.js +2 -4
  92. package/dist/index297.js +88 -8
  93. package/dist/index298.js +197 -86
  94. package/dist/index299.js +436 -8
  95. package/dist/index300.js +121 -218
  96. package/dist/index301.js +2 -3
  97. package/dist/index302.js +1 -1
  98. package/dist/index303.js +3 -213
  99. package/dist/index304.js +213 -5
  100. package/dist/index305.js +66 -2
  101. package/dist/index306.js +5 -66
  102. package/dist/index307.js +3 -7
  103. package/dist/index308.js +3 -7
  104. package/dist/index309.js +3 -19
  105. package/dist/index31.js +26 -27
  106. package/dist/index310.js +57 -32
  107. package/dist/index311.js +32 -4
  108. package/dist/index312.js +8 -8
  109. package/dist/index313.js +8 -3
  110. package/dist/index314.js +5 -3
  111. package/dist/index315.js +7 -57
  112. package/dist/index316.js +7 -8
  113. package/dist/index317.js +18 -7
  114. package/dist/index318.js +6 -3
  115. package/dist/index319.js +4 -3
  116. package/dist/index320.js +2 -47
  117. package/dist/index321.js +47 -2
  118. package/dist/{index323.js → index322.js} +1 -1
  119. package/dist/index33.js +48 -42
  120. package/dist/index35.js +3 -3
  121. package/dist/index37.js +76 -74
  122. package/dist/index39.js +2 -2
  123. package/dist/index41.js +8 -9
  124. package/dist/index43.js +58 -52
  125. package/dist/index45.js +4 -4
  126. package/dist/index47.js +2 -2
  127. package/dist/index49.js +2 -2
  128. package/dist/index55.js +1 -1
  129. package/dist/index57.js +1 -1
  130. package/dist/index61.js +11 -7
  131. package/dist/index71.js +38 -18
  132. package/dist/index75.js +10 -10
  133. package/dist/index77.js +21 -20
  134. package/dist/index79.js +2 -2
  135. package/dist/index81.js +1 -1
  136. package/dist/index84.js +3 -3
  137. package/dist/index86.js +1 -1
  138. package/dist/index88.js +2 -2
  139. package/dist/style.css +1 -1
  140. package/package.json +1 -1
  141. package/dist/index222.js +0 -54
  142. package/dist/index232.js +0 -14
  143. package/dist/index277.js +0 -24
  144. package/dist/index280.js +0 -128
  145. package/dist/index295.js +0 -129
package/dist/index43.js CHANGED
@@ -1,10 +1,10 @@
1
- import { defineComponent as V, ref as p, toRef as l, openBlock as w, createBlock as B, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v, createSlots as z } from "vue";
2
- import { useOptions as F } from "./index234.js";
3
- import M from "./index41.js";
1
+ import { defineComponent as B, ref as b, toRef as l, openBlock as w, createBlock as O, unref as v, withCtx as i, renderSlot as s, normalizeProps as m, guardReactiveProps as p, createVNode as z, mergeProps as h, createSlots as F } from "vue";
2
+ import { useOptions as M } from "./index230.js";
3
+ import S from "./index41.js";
4
4
  /* empty css */
5
- import S from "./index235.js";
5
+ import H from "./index231.js";
6
6
  /* empty css */
7
- const I = /* @__PURE__ */ V({
7
+ const G = /* @__PURE__ */ B({
8
8
  __name: "BaseSwitchGroup",
9
9
  props: {
10
10
  ariaDescribedby: {},
@@ -31,56 +31,59 @@ const I = /* @__PURE__ */ V({
31
31
  },
32
32
  emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
33
33
  setup(g, { emit: y }) {
34
- const a = g, o = y, m = p(), r = p(!1), {
34
+ const n = g, a = y, f = b(), r = b(!1), {
35
35
  innerLoading: T,
36
36
  options: k,
37
37
  selectOption: D,
38
38
  unselectOption: L
39
- } = F({
40
- dependencies: l(a, "dependencies"),
41
- depsDebounceTime: a.depsDebounceTime,
42
- disabled: l(a, "disabled"),
43
- emit: o,
44
- enforceCoherence: a.enforceCoherence,
45
- items: l(a, "items"),
46
- itemText: a.itemText,
47
- itemValue: a.itemValue,
48
- max: a.max,
49
- modelValue: l(a, "modelValue"),
50
- modelValueDebounceTime: a.modelValueDebounceTime,
39
+ } = M({
40
+ dependencies: l(n, "dependencies"),
41
+ depsDebounceTime: n.depsDebounceTime,
42
+ disabled: l(n, "disabled"),
43
+ emit: a,
44
+ enforceCoherence: n.enforceCoherence,
45
+ items: l(n, "items"),
46
+ itemText: n.itemText,
47
+ itemValue: n.itemValue,
48
+ max: n.max,
49
+ modelValue: l(n, "modelValue"),
50
+ modelValueDebounceTime: n.modelValueDebounceTime,
51
51
  multiple: !0,
52
52
  prefill: !0,
53
53
  queryDebounceTime: 0,
54
54
  resetQueryOnOptionSelected: !1,
55
55
  stash: !1
56
- }), $ = (e, t) => {
57
- o("change", e), t.selected ? L(t) : D(t);
58
- }, C = {
59
- onBlur: (e) => o("blur", e),
60
- onClick: (e) => o("click", e),
56
+ }), C = (e) => {
57
+ if (n.id)
58
+ return [n.id, e.valueHash].filter(Boolean).join("-");
59
+ }, E = (e, t) => {
60
+ a("change", e), t.selected ? L(t) : D(t);
61
+ }, V = {
62
+ onBlur: (e) => a("blur", e),
63
+ onClick: (e) => a("click", e),
61
64
  onFocus: (e) => {
62
- o("focus", e), r.value || (document.addEventListener("focusin", d, { passive: !0 }), document.addEventListener("click", u, { passive: !0 }), r.value = !0);
65
+ a("focus", e), r.value || (document.addEventListener("focusin", d, { passive: !0 }), document.addEventListener("click", u, { passive: !0 }), r.value = !0);
63
66
  },
64
- onInput: (e) => o("input", e),
65
- onKeydown: (e) => o("keydown", e),
66
- onMousedown: (e) => o("mousedown", e),
67
- onMouseup: (e) => o("mouseup", e)
67
+ onInput: (e) => a("input", e),
68
+ onKeydown: (e) => a("keydown", e),
69
+ onMousedown: (e) => a("mousedown", e),
70
+ onMouseup: (e) => a("mouseup", e)
68
71
  }, d = (e) => {
69
72
  var t;
70
- e.target instanceof HTMLElement && ((t = m.value) != null && t.contains(e.target) || (o("inactive"), r.value = !1, document.removeEventListener("focusin", d), document.removeEventListener("click", u)));
73
+ e.target instanceof HTMLElement && ((t = f.value) != null && t.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", d), document.removeEventListener("click", u)));
71
74
  }, u = (e) => {
72
75
  var t;
73
- e.target instanceof HTMLElement && ((t = m.value) != null && t.contains(e.target) || (o("inactive"), r.value = !1, document.removeEventListener("focusin", d), document.removeEventListener("click", u)));
76
+ e.target instanceof HTMLElement && ((t = f.value) != null && t.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", d), document.removeEventListener("click", u)));
74
77
  };
75
- return (e, t) => (w(), B(S, {
78
+ return (e, t) => (w(), O(H, {
76
79
  class: "bb-base-switch-group",
77
80
  direction: e.direction,
78
81
  "has-errors": e.hasErrors,
79
82
  "hide-label": e.hideLabel,
80
- loading: !!f(T),
83
+ loading: !!v(T),
81
84
  "loading-text": e.loadingText,
82
85
  "no-data-text": e.noDataText,
83
- options: f(k)
86
+ options: v(k)
84
87
  }, {
85
88
  prepend: i(() => [
86
89
  s(e.$slots, "prepend")
@@ -91,46 +94,49 @@ const I = /* @__PURE__ */ V({
91
94
  "no-data": i(() => [
92
95
  s(e.$slots, "no-data")
93
96
  ]),
94
- "option:prepend": i((n) => [
95
- s(e.$slots, "option:prepend", b(h(n)))
97
+ label: i((o) => [
98
+ s(e.$slots, "label", m(p(o)))
96
99
  ]),
97
- input: i(({ option: n, index: E }) => [
98
- O(M, v({
99
- id: `${e.id}-${n.valueHash}`,
100
+ "option:prepend": i((o) => [
101
+ s(e.$slots, "option:prepend", m(p(o)))
102
+ ]),
103
+ input: i(({ option: o, index: $ }) => [
104
+ z(S, h({
105
+ id: C(o),
100
106
  "aria-describedby": e.ariaDescribedby,
101
- autofocus: e.autofocus && !E,
102
- checked: n.selected,
107
+ autofocus: e.autofocus && !$,
108
+ checked: o.selected,
103
109
  color: e.color,
104
- disabled: n.disabled,
110
+ disabled: o.disabled,
105
111
  "has-errors": e.hasErrors,
106
112
  name: e.name,
107
113
  readonly: e.readonly,
108
- "true-value": n.value
109
- }, C, {
110
- onChange: (c) => $(c, n)
111
- }), z({ _: 2 }, [
114
+ "true-value": o.value
115
+ }, V, {
116
+ onChange: (c) => E(c, o)
117
+ }), F({ _: 2 }, [
112
118
  e.$slots.icon ? {
113
119
  name: "icon",
114
120
  fn: i((c) => [
115
- s(e.$slots, "icon", v({
116
- item: n.item,
117
- text: n.text
121
+ s(e.$slots, "icon", h({
122
+ item: o.item,
123
+ text: o.text
118
124
  }, c))
119
125
  ]),
120
126
  key: "0"
121
127
  } : void 0
122
128
  ]), 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "has-errors", "name", "readonly", "true-value", "onChange"])
123
129
  ]),
124
- "option:append": i((n) => [
125
- s(e.$slots, "option:prepend", b(h(n)))
130
+ "option:append": i((o) => [
131
+ s(e.$slots, "option:append", m(p(o)))
126
132
  ]),
127
133
  append: i(() => [
128
- s(e.$slots, "prepend")
134
+ s(e.$slots, "append")
129
135
  ]),
130
136
  _: 3
131
137
  }, 8, ["direction", "has-errors", "hide-label", "loading", "loading-text", "no-data-text", "options"]));
132
138
  }
133
139
  });
134
140
  export {
135
- I as default
141
+ G as default
136
142
  };
package/dist/index45.js CHANGED
@@ -4,15 +4,15 @@ import { defineComponent as Y, ref as i, computed as k, toRef as B, openBlock as
4
4
  import ue from "./index128.js";
5
5
  /* empty css */
6
6
  import { isNotNil as se } from "./index134.js";
7
- import { last as de } from "./index220.js";
8
- import { useOptions as pe } from "./index234.js";
7
+ import { last as de } from "./index214.js";
8
+ import { useOptions as pe } from "./index230.js";
9
9
  import ce from "./index246.js";
10
10
  /* empty css */
11
11
  import me from "./index248.js";
12
12
  /* empty css */
13
- import fe from "./index207.js";
13
+ import fe from "./index221.js";
14
14
  /* empty css */
15
- import ve from "./index209.js";
15
+ import ve from "./index223.js";
16
16
  const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], qe = /* @__PURE__ */ Y({
17
17
  __name: "BaseTag",
18
18
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
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
- import v from "./index209.js";
3
- import E from "./index207.js";
2
+ import v from "./index223.js";
3
+ import E from "./index221.js";
4
4
  /* empty css */
5
5
  import G from "./index128.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
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
- import B from "./index207.js";
2
+ import B from "./index221.js";
3
3
  /* empty css */
4
- import k from "./index209.js";
4
+ import k from "./index223.js";
5
5
  const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
6
6
  __name: "BaseTextInput",
7
7
  props: {
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 "./index238.js";
2
+ import { isCssColor as _ } from "./index224.js";
3
3
  import { wait as C } from "./index130.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 "./index238.js";
2
+ import { isCssColor as r } from "./index224.js";
3
3
  import { isNil as B } from "./index251.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
@@ -1,4 +1,4 @@
1
- import { defineComponent as _, ref as f, computed as c, useAttrs as g, toRef as v, openBlock as t, createBlock as a, unref as p, mergeProps as B, withCtx as k, createVNode as C, createCommentVNode as l, createElementVNode as h, normalizeClass as L, renderSlot as S, createTextVNode as V, toDisplayString as x, createElementBlock as F } from "vue";
1
+ import { defineComponent as f, ref as _, computed as p, useAttrs as g, toRef as v, openBlock as t, createBlock as a, unref as c, mergeProps as B, withCtx as k, createVNode as C, createCommentVNode as l, createElementVNode as h, normalizeClass as L, renderSlot as S, createTextVNode as V, toDisplayString as x, createElementBlock as F } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import N from "./index13.js";
@@ -12,7 +12,7 @@ import { noop as A } from "./index253.js";
12
12
  const T = {
13
13
  key: 2,
14
14
  class: "bb-button__loading-label sr-only"
15
- }, H = /* @__PURE__ */ _({
15
+ }, H = /* @__PURE__ */ f({
16
16
  __name: "BbButton",
17
17
  props: {
18
18
  autoLoading: { type: Boolean },
@@ -50,10 +50,14 @@ const T = {
50
50
  type: {}
51
51
  },
52
52
  setup(d) {
53
- const e = d, i = f(0), n = c(
53
+ const e = d, i = _(0), n = p(
54
54
  () => e.loading || !!i.value && e.autoLoading
55
- ), u = c(() => e.disabled), { onClick: b = A } = g(), m = async (o) => {
56
- o.stopImmediatePropagation(), !(n.value && e.disabledWhileLoading) && (i.value++, await b(o), i.value--);
55
+ ), u = p(() => e.disabled), { onClick: b = A } = g(), m = async (o) => {
56
+ if (o.stopImmediatePropagation(), n.value && e.disabledWhileLoading) {
57
+ e.type === "submit" && o.preventDefault();
58
+ return;
59
+ }
60
+ i.value++, await b(o), i.value--;
57
61
  }, y = v(() => ({
58
62
  ...$(
59
63
  e,
@@ -68,7 +72,7 @@ const T = {
68
72
  ].includes(s)
69
73
  )
70
74
  }));
71
- return (o, s) => (t(), a(p(N), B(y.value, {
75
+ return (o, s) => (t(), a(c(N), B(y.value, {
72
76
  "aria-disabled": n.value ? !0 : void 0,
73
77
  class: {
74
78
  "bb-button": !0,
@@ -80,7 +84,7 @@ const T = {
80
84
  onClick: m
81
85
  }), {
82
86
  default: k(() => [
83
- C(p(P), { class: "bb-button__spinner" }),
87
+ C(c(P), { class: "bb-button__spinner" }),
84
88
  e.icon ? (t(), a(r, {
85
89
  key: 0,
86
90
  class: "bb-button__icon",
package/dist/index71.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as m, ref as u, computed as c, openBlock as h, createBlock as f, withCtx as l, renderSlot as b, normalizeProps as v, guardReactiveProps as y, createVNode as w, mergeProps as g } from "vue";
1
+ import { defineComponent as u, ref as c, computed as f, openBlock as h, createBlock as b, withCtx as o, renderSlot as a, normalizeProps as v, guardReactiveProps as y, createVNode as w, mergeProps as g } from "vue";
2
2
  import B from "./index23.js";
3
3
  /* empty css */
4
- import k from "./index27.js";
4
+ import $ from "./index27.js";
5
5
  /* empty css */
6
- const E = /* @__PURE__ */ m({
6
+ const E = /* @__PURE__ */ u({
7
7
  __name: "BbDatePickerInput",
8
8
  props: {
9
9
  allowWriting: { type: [Boolean, String], default: !0 },
@@ -37,19 +37,19 @@ const E = /* @__PURE__ */ m({
37
37
  width: {}
38
38
  },
39
39
  emits: ["active", "error", "focus", "inactive", "update:modelValue"],
40
- setup(i, { emit: n }) {
41
- const t = i, o = n, a = u(!1), s = c(() => t.persistentHint || a.value), p = {
42
- onError: (e) => o("error", e),
43
- onFocus: (e) => o("focus", e),
40
+ setup(i, { emit: p }) {
41
+ const s = i, r = p, l = c(!1), t = f(() => s.persistentHint || l.value), d = {
42
+ onError: (e) => r("error", e),
43
+ onFocus: (e) => r("focus", e),
44
44
  onActive: () => {
45
- a.value = !0, o("active");
45
+ l.value = !0, r("active");
46
46
  },
47
47
  onInactive: () => {
48
- a.value = !1, o("inactive");
48
+ l.value = !1, r("inactive");
49
49
  },
50
- "onUpdate:modelValue": (e) => o("update:modelValue", e)
50
+ "onUpdate:modelValue": (e) => r("update:modelValue", e)
51
51
  };
52
- return (e, V) => (h(), f(k, {
52
+ return (e, k) => (h(), b($, {
53
53
  id: e.id,
54
54
  class: "bb-date-picker-input",
55
55
  compact: e.compact,
@@ -63,14 +63,14 @@ const E = /* @__PURE__ */ m({
63
63
  "model-value": e.modelValue,
64
64
  name: e.name,
65
65
  reverse: e.reverse,
66
- "show-hint": s.value
66
+ "show-hint": t.value
67
67
  }, {
68
- label: l((r) => [
69
- b(e.$slots, "label", v(y(r)))
68
+ label: o((n) => [
69
+ a(e.$slots, "label", v(y(n)))
70
70
  ]),
71
- input: l(({ id: r, hasErrors: d }) => [
71
+ input: o(({ id: n, hasErrors: m }) => [
72
72
  w(B, g({
73
- id: r,
73
+ id: n,
74
74
  "allow-writing": e.allowWriting,
75
75
  "append:icon": e.$props["append:icon"],
76
76
  autocomplete: e.autocomplete,
@@ -78,7 +78,7 @@ const E = /* @__PURE__ */ m({
78
78
  compact: e.compact,
79
79
  disabled: e.disabled,
80
80
  "first-day-of-week": e.firstDayOfWeek,
81
- "has-errors": d,
81
+ "has-errors": m,
82
82
  loading: e.loading,
83
83
  max: e.max,
84
84
  min: e.min,
@@ -91,7 +91,27 @@ const E = /* @__PURE__ */ m({
91
91
  required: e.required,
92
92
  selectable: e.selectable,
93
93
  width: e.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"])
94
+ }, d), {
95
+ "prepend-outer": o(() => [
96
+ a(e.$slots, "prepend-outer")
97
+ ]),
98
+ prepend: o(() => [
99
+ a(e.$slots, "prepend")
100
+ ]),
101
+ prefix: o(() => [
102
+ a(e.$slots, "prefix")
103
+ ]),
104
+ suffix: o(() => [
105
+ a(e.$slots, "suffix")
106
+ ]),
107
+ append: o(() => [
108
+ a(e.$slots, "append")
109
+ ]),
110
+ "append-outer": o(() => [
111
+ a(e.$slots, "append-outer")
112
+ ]),
113
+ _: 2
114
+ }, 1040, ["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"])
95
115
  ]),
96
116
  _: 3
97
117
  }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
package/dist/index75.js CHANGED
@@ -1,4 +1,4 @@
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";
1
+ import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as T, mergeProps as B, createElementVNode as H, renderSlot as w, normalizeProps as Y, guardReactiveProps as Z, unref as h, 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
2
  import { findRightIndex as I } from "./index254.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index130.js";
@@ -140,10 +140,10 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
140
140
  }, J = A(() => ({
141
141
  class: {
142
142
  "bb-dropdown--block": r.block,
143
- [`bb-dropdown--theme-${r.theme}`]: r.theme
143
+ [`bb-dropdown--${r.theme}`]: r.theme
144
144
  }
145
145
  }));
146
- return (e, o) => (h(), T("span", B({ class: "bb-dropdown" }, J.value), [
146
+ return (e, o) => ($(), T("span", B({ class: "bb-dropdown" }, J.value), [
147
147
  H("span", {
148
148
  ref_key: "wrapper",
149
149
  ref: v,
@@ -152,8 +152,8 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
152
152
  w(e.$slots, "activator", Y(Z({
153
153
  props: {
154
154
  "aria-expanded": l.value,
155
- "aria-controls": `menu_${$(u)}`,
156
- id: $(u),
155
+ "aria-controls": `menu_${h(u)}`,
156
+ id: h(u),
157
157
  onClick: R,
158
158
  onKeydown: U,
159
159
  disabled: e.disabled
@@ -170,8 +170,8 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
170
170
  "arrow-padding": e.arrowPadding,
171
171
  "base-class": "bb-dropdown",
172
172
  "container-attributes": {
173
- id: `menu_${$(u)}`,
174
- "aria-labelledby": $(u),
173
+ id: `menu_${h(u)}`,
174
+ "aria-labelledby": h(u),
175
175
  "aria-role": "menu"
176
176
  },
177
177
  eager: e.eager,
@@ -198,7 +198,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
198
198
  opening: c.value,
199
199
  placement: e.placement
200
200
  }),
201
- (h(!0), T(K, null, ee(m.value, (t, n) => (h(), T(K, {
201
+ ($(!0), T(K, null, ee(m.value, (t, n) => ($(), T(K, {
202
202
  key: t.key
203
203
  }, [
204
204
  w(e.$slots, "item:prepend", {
@@ -244,13 +244,13 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
244
244
  placement: e.placement,
245
245
  text: t.text
246
246
  }, () => [
247
- t["prepend:icon"] ? (h(), P(j, {
247
+ t["prepend:icon"] ? ($(), P(j, {
248
248
  key: 0,
249
249
  class: "item__prepend-icon",
250
250
  type: t["prepend:icon"]
251
251
  }, null, 8, ["type"])) : N("", !0),
252
252
  H("span", ie, te(t.text), 1),
253
- t["append:icon"] ? (h(), P(j, {
253
+ t["append:icon"] ? ($(), P(j, {
254
254
  key: 1,
255
255
  class: "item__append-icon",
256
256
  type: t["append:icon"]
package/dist/index77.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, ref as E, computed as f, openBlock as s, createElementBlock as $, normalizeClass as W, createVNode as l, mergeProps as C, withCtx as t, unref as w, createBlock as L, createCommentVNode as g, createElementVNode as m, toDisplayString as P, createSlots as A, renderSlot as a, normalizeProps as d, guardReactiveProps as r, renderList as I } from "vue";
1
+ import { defineComponent as z, ref as E, computed as w, openBlock as s, createElementBlock as $, normalizeClass as W, createVNode as l, mergeProps as C, withCtx as t, unref as f, createBlock as L, createCommentVNode as g, createElementVNode as u, toDisplayString as P, createSlots as A, renderSlot as a, normalizeProps as d, guardReactiveProps as r, renderList as I } from "vue";
2
2
  import D from "./index13.js";
3
3
  /* empty css */
4
4
  import M from "./index75.js";
@@ -34,36 +34,37 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
34
34
  "prepend:icon": {}
35
35
  },
36
36
  setup(S) {
37
- const n = S, u = E(0), b = f(
38
- () => n.loading || !!u.value && n.autoLoading
37
+ const n = S, m = E(0), b = w(
38
+ () => n.loading || !!m.value && n.autoLoading
39
39
  ), V = (e) => async (...p) => {
40
- b.value && n.disabledWhileLoading || (u.value++, await e(...p), u.value--);
41
- }, y = f(
40
+ b.value && n.disabledWhileLoading || (m.value++, await e(...p), m.value--);
41
+ }, h = w(
42
42
  () => n.items.map((e) => e.onClick ? {
43
43
  ...e,
44
44
  onClick: V(e.onClick)
45
45
  } : e)
46
- ), _ = f(() => {
47
- const e = { ...y.value[0] };
46
+ ), y = w(() => {
47
+ const e = { ...h.value[0] };
48
48
  return e.disabled = e.disabled || n.disabled, e;
49
49
  });
50
50
  return (e, p) => (s(), $("span", {
51
51
  class: W(["bb-dropdown-button", {
52
52
  "bb-dropdown-button--block": e.block,
53
- "bb-dropdown-button--loading": b.value
53
+ "bb-dropdown-button--loading": b.value,
54
+ [`bb-dropdown-button--${e.theme}`]: !0
54
55
  }])
55
56
  }, [
56
- l(D, C(_.value, { class: "bb-dropdown-button__main-btn" }), {
57
+ l(D, C(y.value, { class: "bb-dropdown-button__main-btn" }), {
57
58
  default: t(() => [
58
- l(w(R), { class: "bb-dropdown-button__spinner" }),
59
- n["prepend:icon"] ? (s(), L(w(N), {
59
+ l(f(R), { class: "bb-dropdown-button__spinner" }),
60
+ n["prepend:icon"] ? (s(), L(f(N), {
60
61
  key: 0,
61
62
  class: "bb-dropdown-button__prepend-icon",
62
63
  type: n["prepend:icon"]
63
64
  }, null, 8, ["type"])) : g("", !0),
64
- m("span", Z, P(_.value.text), 1),
65
+ u("span", Z, P(y.value.text), 1),
65
66
  b.value ? (s(), $("span", j, "caricamento")) : g("", !0),
66
- n["append:icon"] ? (s(), L(w(N), {
67
+ n["append:icon"] ? (s(), L(f(N), {
67
68
  key: 2,
68
69
  class: "bb-dropdown-button__append-icon",
69
70
  type: n["append:icon"]
@@ -76,7 +77,7 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
76
77
  "arrow-padding": e.arrowPadding,
77
78
  disabled: e.disabled,
78
79
  eager: e.eager,
79
- items: y.value,
80
+ items: h.value,
80
81
  offset: e.offset,
81
82
  padding: e.padding,
82
83
  placement: e.placement,
@@ -88,13 +89,13 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
88
89
  props: o,
89
90
  opening: i,
90
91
  open: c,
91
- closed: h,
92
+ closed: _,
92
93
  closing: v,
93
94
  disabled: k,
94
95
  placement: B
95
96
  }) => [
96
97
  a(e.$slots, "activator", {
97
- closed: h,
98
+ closed: _,
98
99
  closing: v,
99
100
  disabled: k,
100
101
  open: c,
@@ -104,21 +105,21 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
104
105
  }, () => [
105
106
  l(D, C(o, { class: "bb-dropdown-button__dropdown-btn" }), {
106
107
  default: t(() => [
107
- m("span", q, P(c || i ? "Chiudi" : "Apri") + " il menu", 1),
108
+ u("span", q, P(c || i ? "Chiudi" : "Apri") + " il menu", 1),
108
109
  a(e.$slots, "right-btn", {
109
- closed: h,
110
+ closed: _,
110
111
  closing: v,
111
112
  disabled: k,
112
113
  open: c,
113
114
  opening: i,
114
115
  placement: B
115
116
  }, () => [
116
- p[0] || (p[0] = m("svg", {
117
+ p[0] || (p[0] = u("svg", {
117
118
  class: "bb-dropdown-button__dropdown-chevron",
118
119
  viewBox: "0 0 24 24",
119
120
  xmlns: "http://www.w3.org/2000/svg"
120
121
  }, [
121
- m("path", {
122
+ u("path", {
122
123
  d: "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6l1.41 1.41Z",
123
124
  fill: "currentColor"
124
125
  })
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 "./index259.js";
2
+ import { findInTree as ae } from "./index260.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("./index258.js")).default);
56
+ b || (b = (await import("./index259.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 "./index241.js";
2
+ import { throttle as c } from "./index242.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
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 "./index229.js";
2
+ import { useFocusTrap as fe } from "./index237.js";
3
3
  import { useId as E } from "./index8.js";
4
4
  import { wait as H } from "./index130.js";
5
- import { useModalsState as b } from "./index242.js";
6
- import ve from "./index232.js";
5
+ import { useModalsState as b } from "./index243.js";
6
+ import ve from "./index240.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 "./index297.js";
2
+ import { debounce as F } from "./index258.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import w from "./index13.js";
package/dist/index88.js CHANGED
@@ -1,8 +1,8 @@
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 "./index229.js";
2
+ import { useFocusTrap as z } from "./index237.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { useIntersectionObserver as R } from "./index132.js";
5
- import { waitFor as j } from "./index230.js";
5
+ import { waitFor as j } from "./index238.js";
6
6
  import G from "./index13.js";
7
7
  /* empty css */
8
8
  import J from "./index256.js";