bitboss-ui 2.0.99 → 2.0.101

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 (152) 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 +6 -6
  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 +2 -2
  12. package/dist/index131.js +1 -1
  13. package/dist/index132.js +2 -2
  14. package/dist/index133.js +2 -2
  15. package/dist/index15.js +3 -3
  16. package/dist/index17.js +3 -3
  17. package/dist/index19.js +3 -3
  18. package/dist/index205.js +81 -2
  19. package/dist/index206.js +126 -3
  20. package/dist/index207.js +5 -41
  21. package/dist/index208.js +125 -6
  22. package/dist/index209.js +19 -7
  23. package/dist/index21.js +14 -14
  24. package/dist/index210.js +16 -8
  25. package/dist/index211.js +16 -12
  26. package/dist/index212.js +2 -53
  27. package/dist/index213.js +4 -0
  28. package/dist/index214.js +40 -12
  29. package/dist/index215.js +1 -1
  30. package/dist/index216.js +6 -4
  31. package/dist/index217.js +53 -5
  32. package/dist/index219.js +13 -16
  33. package/dist/index220.js +5 -19
  34. package/dist/index221.js +12 -19
  35. package/dist/index222.js +367 -25
  36. package/dist/index223.js +4 -3
  37. package/dist/index224.js +3 -2
  38. package/dist/index225.js +6 -248
  39. package/dist/index226.js +2 -52
  40. package/dist/index227.js +4 -44
  41. package/dist/index228.js +2 -5
  42. package/dist/index229.js +2 -60
  43. package/dist/index23.js +15 -15
  44. package/dist/index230.js +19 -81
  45. package/dist/index231.js +27 -2
  46. package/dist/index232.js +3 -4
  47. package/dist/index233.js +250 -2
  48. package/dist/index234.js +50 -162
  49. package/dist/index235.js +38 -78
  50. package/dist/index236.js +7 -0
  51. package/dist/index237.js +59 -7
  52. package/dist/index238.js +3 -126
  53. package/dist/index239.js +7 -125
  54. package/dist/index240.js +168 -2
  55. package/dist/index241.js +84 -5
  56. package/dist/index243.js +8 -3
  57. package/dist/index244.js +2 -106
  58. package/dist/index246.js +53 -47
  59. package/dist/index248.js +100 -2
  60. package/dist/index25.js +6 -6
  61. package/dist/index256.js +4 -4
  62. package/dist/index258.js +3 -3
  63. package/dist/index260.js +3 -431
  64. package/dist/index262.js +6 -88
  65. package/dist/index263.js +176 -3
  66. package/dist/index264.js +11 -0
  67. package/dist/index265.js +224 -7
  68. package/dist/index266.js +279 -174
  69. package/dist/index267.js +6 -200
  70. package/dist/index268.js +2 -9
  71. package/dist/index269.js +2 -9
  72. package/dist/index27.js +1 -1
  73. package/dist/index270.js +2 -8
  74. package/dist/index271.js +2 -281
  75. package/dist/index272.js +2 -6
  76. package/dist/index273.js +126 -2
  77. package/dist/index274.js +431 -2
  78. package/dist/index275.js +22 -2
  79. package/dist/index277.js +2 -2
  80. package/dist/index278.js +4 -2
  81. package/dist/index279.js +9 -2
  82. package/dist/index280.js +8 -2
  83. package/dist/index281.js +2 -2
  84. package/dist/index282.js +2 -2
  85. package/dist/index283.js +2 -28
  86. package/dist/index284.js +1 -21
  87. package/dist/index285.js +4 -0
  88. package/dist/index286.js +2 -4
  89. package/dist/index287.js +28 -3
  90. package/dist/index288.js +22 -12
  91. package/dist/index29.js +3 -3
  92. package/dist/index290.js +434 -15
  93. package/dist/index291.js +126 -3
  94. package/dist/index292.js +199 -6
  95. package/dist/index293.js +88 -10
  96. package/dist/index294.js +3 -2
  97. package/dist/index295.js +12 -126
  98. package/dist/index296.js +8 -21
  99. package/dist/index297.js +19 -0
  100. package/dist/index298.js +3 -223
  101. package/dist/index299.js +6 -435
  102. package/dist/index300.js +10 -126
  103. package/dist/index301.js +1 -1
  104. package/dist/index302.js +1 -1
  105. package/dist/index303.js +2 -2
  106. package/dist/index304.js +5 -2
  107. package/dist/index305.js +2 -66
  108. package/dist/index306.js +66 -5
  109. package/dist/index307.js +3 -5
  110. package/dist/index308.js +3 -8
  111. package/dist/index309.js +3 -3
  112. package/dist/index31.js +26 -27
  113. package/dist/index310.js +58 -3
  114. package/dist/index311.js +4 -57
  115. package/dist/index312.js +8 -3
  116. package/dist/index313.js +32 -3
  117. package/dist/index314.js +3 -32
  118. package/dist/index315.js +6 -6
  119. package/dist/index316.js +6 -18
  120. package/dist/index317.js +17 -5
  121. package/dist/index318.js +8 -47
  122. package/dist/index319.js +5 -5
  123. package/dist/index320.js +47 -8
  124. package/dist/index321.js +1 -1
  125. package/dist/{index322.js → index323.js} +1 -1
  126. package/dist/index33.js +48 -42
  127. package/dist/index35.js +3 -3
  128. package/dist/index37.js +80 -78
  129. package/dist/index39.js +3 -3
  130. package/dist/index41.js +8 -9
  131. package/dist/index43.js +58 -52
  132. package/dist/index45.js +6 -6
  133. package/dist/index47.js +2 -2
  134. package/dist/index49.js +2 -2
  135. package/dist/index55.js +1 -1
  136. package/dist/index57.js +1 -1
  137. package/dist/index71.js +38 -18
  138. package/dist/index75.js +10 -10
  139. package/dist/index77.js +21 -20
  140. package/dist/index81.js +1 -1
  141. package/dist/index84.js +3 -3
  142. package/dist/index86.js +1 -1
  143. package/dist/index88.js +3 -3
  144. package/dist/index90.js +1 -1
  145. package/dist/style.css +1 -1
  146. package/package.json +1 -1
  147. package/dist/index218.js +0 -18
  148. package/dist/index242.js +0 -371
  149. package/dist/index261.js +0 -4
  150. package/dist/index276.js +0 -4
  151. package/dist/index289.js +0 -11
  152. /package/dist/{index249.js → index245.js} +0 -0
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 "./index240.js";
3
+ import S from "./index41.js";
4
4
  /* empty css */
5
- import S from "./index235.js";
5
+ import H from "./index241.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 "./index224.js";
8
- import { useOptions as pe } from "./index234.js";
9
- import ce from "./index244.js";
7
+ import { last as de } from "./index213.js";
8
+ import { useOptions as pe } from "./index240.js";
9
+ import ce from "./index246.js";
10
10
  /* empty css */
11
- import me from "./index246.js";
11
+ import me from "./index248.js";
12
12
  /* empty css */
13
- import fe from "./index212.js";
13
+ import fe from "./index217.js";
14
14
  /* empty css */
15
- import ve from "./index214.js";
15
+ import ve from "./index219.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 "./index214.js";
3
- import E from "./index212.js";
2
+ import v from "./index219.js";
3
+ import E from "./index217.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 "./index212.js";
2
+ import B from "./index217.js";
3
3
  /* empty css */
4
- import k from "./index214.js";
4
+ import k from "./index219.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 "./index231.js";
2
+ import { isCssColor as _ } from "./index226.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 "./index231.js";
2
+ import { isCssColor as r } from "./index226.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/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/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 "./index206.js";
2
+ import { throttle as c } from "./index238.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 "./index207.js";
2
+ import { useFocusTrap as fe } from "./index214.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 "./index209.js";
6
- import ve from "./index211.js";
5
+ import { useModalsState as b } from "./index239.js";
6
+ import ve from "./index221.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 "./index268.js";
2
+ import { debounce as F } from "./index264.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import w from "./index13.js";
package/dist/index88.js CHANGED
@@ -1,13 +1,13 @@
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 "./index207.js";
2
+ import { useFocusTrap as z } from "./index214.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 "./index208.js";
5
+ import { waitFor as j } from "./index216.js";
6
6
  import G from "./index13.js";
7
7
  /* empty css */
8
8
  import J from "./index256.js";
9
9
  /* empty css */
10
- import { useDebounceFn as K } from "./index230.js";
10
+ import { useDebounceFn as K } from "./index205.js";
11
11
  const re = /* @__PURE__ */ M({
12
12
  __name: "BbPopover",
13
13
  props: {
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index205.js";
2
+ import { clamp as p } from "./index229.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",