bitboss-ui 2.1.78 → 2.1.80

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 (187) hide show
  1. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +7 -1
  2. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +9 -2
  3. package/dist/components/BbButton/BbButton.vue.d.ts +22 -2
  4. package/dist/components/BbDialog/BbDialog.vue.d.ts +6 -2
  5. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +12 -1
  6. package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -2
  7. package/dist/index.css +1 -1
  8. package/dist/index107.js +9 -9
  9. package/dist/index112.js +1 -1
  10. package/dist/index114.js +1 -1
  11. package/dist/index120.js +1 -1
  12. package/dist/index122.js +13 -13
  13. package/dist/index13.js +2 -2
  14. package/dist/index130.js +1 -1
  15. package/dist/index132.js +5 -5
  16. package/dist/index134.js +1 -1
  17. package/dist/index139.js +1 -1
  18. package/dist/index141.js +2 -2
  19. package/dist/index142.js +1 -1
  20. package/dist/index15.js +5 -5
  21. package/dist/index17.js +3 -3
  22. package/dist/index19.js +8 -8
  23. package/dist/index21.js +14 -14
  24. package/dist/index214.js +2 -138
  25. package/dist/index215.js +138 -2
  26. package/dist/index216.js +2 -2
  27. package/dist/index217.js +1 -1
  28. package/dist/index218.js +1 -1
  29. package/dist/index220.js +1 -1
  30. package/dist/index222.js +5 -4
  31. package/dist/index223.js +5 -13
  32. package/dist/index224.js +5 -20
  33. package/dist/index225.js +5 -201
  34. package/dist/index226.js +7 -0
  35. package/dist/index227.js +3 -135
  36. package/dist/index228.js +4 -0
  37. package/dist/index229.js +6 -2
  38. package/dist/index23.js +11 -11
  39. package/dist/index230.js +8 -51
  40. package/dist/index231.js +268 -17
  41. package/dist/index232.js +46 -100
  42. package/dist/index233.js +54 -0
  43. package/dist/index234.js +28 -96
  44. package/dist/index235.js +62 -0
  45. package/dist/index236.js +13 -3
  46. package/dist/index237.js +86 -5
  47. package/dist/index239.js +29 -5
  48. package/dist/index240.js +17 -5
  49. package/dist/index241.js +51 -5
  50. package/dist/index242.js +15 -5
  51. package/dist/index243.js +12 -2
  52. package/dist/index244.js +15 -187
  53. package/dist/index245.js +10 -3
  54. package/dist/index246.js +3 -2
  55. package/dist/index247.js +3 -10
  56. package/dist/index248.js +3 -8
  57. package/dist/index249.js +5 -13
  58. package/dist/index25.js +41 -40
  59. package/dist/index250.js +5 -13
  60. package/dist/index251.js +5 -4
  61. package/dist/index252.js +2 -23
  62. package/dist/index253.js +3 -3
  63. package/dist/index254.js +20 -3
  64. package/dist/index255.js +134 -17
  65. package/dist/index257.js +187 -14
  66. package/dist/index258.js +3 -12
  67. package/dist/index259.js +12 -28
  68. package/dist/index260.js +12 -15
  69. package/dist/index261.js +9 -4
  70. package/dist/index262.js +2 -229
  71. package/dist/index263.js +11 -10
  72. package/dist/index264.js +6 -3
  73. package/dist/index265.js +15 -66
  74. package/dist/index266.js +9 -2
  75. package/dist/index267.js +2 -3
  76. package/dist/index268.js +8 -9
  77. package/dist/index27.js +1 -1
  78. package/dist/index271.js +23 -5
  79. package/dist/index272.js +2 -6
  80. package/dist/index273.js +4 -16
  81. package/dist/index274.js +201 -3
  82. package/dist/index276.js +3 -9
  83. package/dist/index277.js +3 -5
  84. package/dist/index278.js +4 -6
  85. package/dist/index279.js +40 -267
  86. package/dist/index280.js +7 -52
  87. package/dist/index281.js +17 -51
  88. package/dist/index282.js +12 -32
  89. package/dist/index283.js +100 -54
  90. package/dist/index285.js +95 -81
  91. package/dist/index287.js +227 -7
  92. package/dist/index288.js +34 -8
  93. package/dist/index289.js +8 -6
  94. package/dist/index29.js +3 -3
  95. package/dist/index293.js +66 -40
  96. package/dist/index296.js +7 -4
  97. package/dist/index297.js +280 -7
  98. package/dist/index298.js +2 -3
  99. package/dist/index299.js +16 -3
  100. package/dist/index300.js +2 -17
  101. package/dist/index301.js +16 -2
  102. package/dist/index302.js +2 -3
  103. package/dist/index303.js +27 -2
  104. package/dist/index304.js +2 -28
  105. package/dist/index305.js +2 -4
  106. package/dist/index306.js +2 -3
  107. package/dist/index307.js +2 -5
  108. package/dist/index308.js +2 -280
  109. package/dist/index309.js +28 -2
  110. package/dist/index31.js +2 -2
  111. package/dist/index310.js +2 -125
  112. package/dist/index311.js +3 -2
  113. package/dist/index312.js +17 -15
  114. package/dist/index313.js +125 -2
  115. package/dist/index314.js +2 -16
  116. package/dist/index315.js +15 -2
  117. package/dist/index316.js +2 -16
  118. package/dist/index317.js +19 -2
  119. package/dist/index318.js +2 -19
  120. package/dist/index319.js +3 -2
  121. package/dist/index320.js +3 -5
  122. package/dist/index321.js +719 -27
  123. package/dist/index322.js +366 -2
  124. package/dist/index323.js +57 -2
  125. package/dist/index324.js +4 -2
  126. package/dist/index325.js +5 -2
  127. package/dist/index326.js +5 -2
  128. package/dist/index327.js +3 -2
  129. package/dist/index328.js +3 -719
  130. package/dist/index329.js +2 -366
  131. package/dist/index33.js +8 -8
  132. package/dist/index330.js +2 -57
  133. package/dist/index331.js +6 -2
  134. package/dist/index332.js +2 -3
  135. package/dist/index333.js +5 -6
  136. package/dist/index334.js +6 -34
  137. package/dist/index335.js +19 -6
  138. package/dist/index336.js +7 -127
  139. package/dist/index337.js +12 -395
  140. package/dist/index338.js +6 -46
  141. package/dist/index339.js +58 -8
  142. package/dist/index340.js +58 -6
  143. package/dist/index341.js +4 -8
  144. package/dist/index342.js +35 -58
  145. package/dist/index343.js +6 -58
  146. package/dist/index344.js +123 -222
  147. package/dist/index345.js +388 -83
  148. package/dist/index346.js +8 -5
  149. package/dist/index347.js +5 -6
  150. package/dist/index348.js +8 -19
  151. package/dist/index349.js +22 -9
  152. package/dist/index35.js +4 -4
  153. package/dist/index351.js +133 -6
  154. package/dist/index352.js +89 -130
  155. package/dist/index353.js +222 -514
  156. package/dist/index354.js +47 -22
  157. package/dist/index355.js +522 -0
  158. package/dist/index356.js +435 -44
  159. package/dist/index357.js +114 -427
  160. package/dist/index358.js +48 -126
  161. package/dist/index37.js +108 -99
  162. package/dist/index39.js +4 -4
  163. package/dist/index41.js +2 -2
  164. package/dist/index43.js +8 -8
  165. package/dist/index45.js +6 -6
  166. package/dist/index49.js +2 -2
  167. package/dist/index53.js +1 -1
  168. package/dist/index55.js +1 -1
  169. package/dist/index57.js +2 -2
  170. package/dist/index61.js +74 -58
  171. package/dist/index67.js +1 -1
  172. package/dist/index78.js +28 -25
  173. package/dist/index80.js +4 -4
  174. package/dist/index82.js +1 -1
  175. package/dist/index84.js +2 -2
  176. package/dist/index86.js +3 -3
  177. package/dist/index88.js +1 -1
  178. package/dist/index91.js +60 -60
  179. package/dist/index93.js +2 -2
  180. package/dist/index95.js +5 -5
  181. package/dist/index97.js +1 -1
  182. package/package.json +1 -1
  183. package/dist/index238.js +0 -7
  184. package/dist/index256.js +0 -14
  185. package/dist/index275.js +0 -36
  186. package/dist/index284.js +0 -4
  187. package/dist/index350.js +0 -17
package/dist/index43.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as n, renderSlot as s, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index41.js";
3
3
  /* empty css */
4
- import N from "./index285.js";
4
+ import N from "./index237.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index259.js";
7
- import { useIndexById as T } from "./index231.js";
8
- import { useBaseOptions as q } from "./index230.js";
9
- import { useCoherence as J } from "./index257.js";
10
- import { hash as Q } from "./index254.js";
11
- import { useHashedWatcher as $ } from "./index258.js";
12
- import { usePrefill as X } from "./index260.js";
6
+ import { useItemsGetter as U } from "./index239.js";
7
+ import { useIndexById as T } from "./index240.js";
8
+ import { useBaseOptions as q } from "./index241.js";
9
+ import { useCoherence as J } from "./index242.js";
10
+ import { hash as Q } from "./index227.js";
11
+ import { useHashedWatcher as $ } from "./index243.js";
12
+ import { usePrefill as X } from "./index244.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as j, ref as u, computed as m, toRef as C, watch as Q, createBlock as h, openBlock as f, normalizeClass as Z, withCtx as l, createVNode as E, unref as G, createElementVNode as I, createElementBlock as J, createCommentVNode as W, withDirectives as X, Fragment as Y, mergeProps as ee, withModifiers as s, withKeys as v, vModelText as te, renderSlot as d, nextTick as oe } from "vue";
2
2
  import ae from "./index112.js";
3
3
  /* empty css */
4
- import { last as le } from "./index229.js";
5
- import { useBaseOptions as ne } from "./index230.js";
6
- import { useIndexById as re } from "./index231.js";
7
- import ie from "./index232.js";
4
+ import { last as le } from "./index228.js";
5
+ import { useBaseOptions as ne } from "./index241.js";
6
+ import { useIndexById as re } from "./index240.js";
7
+ import ie from "./index283.js";
8
8
  /* empty css */
9
- import ue from "./index234.js";
9
+ import ue from "./index285.js";
10
10
  /* empty css */
11
11
  import se from "./index136.js";
12
12
  /* empty css */
13
13
  import de from "./index138.js";
14
- import { isEmpty as pe } from "./index236.js";
14
+ import { isEmpty as pe } from "./index253.js";
15
15
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Oe = /* @__PURE__ */ j({
16
16
  __name: "BaseTag",
17
17
  props: {
package/dist/index49.js CHANGED
@@ -2,8 +2,8 @@ import { defineComponent as V, ref as h, computed as v, onMounted as B, onBefore
2
2
  import q from "./index136.js";
3
3
  /* empty css */
4
4
  import I from "./index138.js";
5
- import { MaskInput as z } from "./index244.js";
6
- import { isNotEmpty as D } from "./index245.js";
5
+ import { MaskInput as z } from "./index257.js";
6
+ import { isNotEmpty as D } from "./index258.js";
7
7
  const N = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index86.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index223.js";
6
+ import { useLocale as g } from "./index236.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index246.js";
2
+ import { isCssColor as y } from "./index262.js";
3
3
  import { wait as C } from "./index140.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index246.js";
3
- import { isNil as B } from "./index284.js";
2
+ import { isCssColor as l } from "./index262.js";
3
+ import { isNil as B } from "./index267.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -1,23 +1,24 @@
1
- import { defineComponent as V, defineAsyncComponent as w, useAttrs as D, ref as f, computed as c, toRef as N, createElementBlock as y, openBlock as n, Fragment as W, createVNode as g, createBlock as i, createCommentVNode as l, unref as r, mergeProps as E, withCtx as v, createElementVNode as R, normalizeClass as j, renderSlot as B, createTextVNode as _, toDisplayString as u } from "vue";
1
+ import { defineComponent as E, mergeModels as M, defineAsyncComponent as W, useModel as q, computed as l, useAttrs as R, ref as V, toRef as j, createElementBlock as B, openBlock as a, Fragment as x, createVNode as _, createBlock as r, createCommentVNode as u, unref as p, mergeProps as O, withCtx as C, createElementVNode as G, normalizeClass as H, renderSlot as h, createTextVNode as k, toDisplayString as b } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
- import q from "./index13.js";
4
+ import I from "./index13.js";
5
5
  /* empty css */
6
- import d from "./index86.js";
6
+ import f from "./index86.js";
7
7
  /* empty css */
8
- import x from "./index114.js";
8
+ import J from "./index114.js";
9
9
  /* empty css */
10
- import { pickBy as O } from "./index263.js";
11
- import { noop as G } from "./index264.js";
12
- import { useLocale as H } from "./index223.js";
13
- import { extractDomContainer as I } from "./index251.js";
14
- const J = {
10
+ import { pickBy as K } from "./index245.js";
11
+ import { noop as Q } from "./index246.js";
12
+ import { useLocale as U } from "./index236.js";
13
+ import { extractDomContainer as X } from "./index247.js";
14
+ import { isEqual as $ } from "./index248.js";
15
+ const Y = {
15
16
  key: 2,
16
17
  class: "bb-button__loading-label sr-only"
17
- }, le = /* @__PURE__ */ V({
18
+ }, me = /* @__PURE__ */ E({
18
19
  inheritAttrs: !1,
19
20
  __name: "BbButton",
20
- props: {
21
+ props: /* @__PURE__ */ M({
21
22
  autoLoading: { type: Boolean },
22
23
  activeClass: {},
23
24
  ariaCurrentValue: {},
@@ -54,102 +55,117 @@ const J = {
54
55
  tooltipPlacement: {},
55
56
  tooltipTimeout: {},
56
57
  to: {},
58
+ trueValue: { default: !0 },
59
+ falseValue: { default: !1 },
57
60
  type: {}
58
- },
59
- setup(C, { expose: h }) {
60
- const k = w(
61
+ }, {
62
+ modelValue: {},
63
+ modelModifiers: {}
64
+ }),
65
+ emits: ["update:modelValue"],
66
+ setup(v, { expose: z }) {
67
+ const A = W(
61
68
  () => import("./index209.js")
62
- ), o = C, { t: $ } = H(), m = D(), s = f(), z = (e) => {
63
- s.value = I(e) ?? void 0;
64
- }, A = c(() => {
65
- const { onClick: e, ...t } = m;
69
+ ), o = v, i = q(v, "modelValue"), d = l(() => i.value !== void 0), y = l(() => $(i.value, o.trueValue)), { t: L } = U(), g = R(), c = V(), S = (e) => {
70
+ c.value = X(e) ?? void 0;
71
+ }, T = l(() => {
72
+ const { onClick: e, ...t } = g;
66
73
  return t;
67
- }), p = f(0), a = c(
68
- () => o.loading || !!p.value && o.autoLoading
69
- ), L = c(() => o.disabled), S = async (e) => {
70
- if (a.value && !o.enabledWhileLoading)
74
+ }), m = V(0), n = l(
75
+ () => o.loading || !!m.value && o.autoLoading
76
+ ), P = l(() => o.disabled), F = async (e) => {
77
+ if (n.value && !o.enabledWhileLoading)
71
78
  return (o.type === "submit" || o.href || o.to) && e.preventDefault(), null;
72
- p.value++, await (m.onClick ?? G)(e), p.value--;
73
- }, T = typeof o.size == "string" ? { default: o.size } : { default: "md", ...o.size }, P = Object.entries(T).reduce(
74
- (e, [t, b]) => (t === "default" ? e[`data-${b}`] = "" : e[`data-${t}:${b}`] = "", e),
79
+ if (d.value) {
80
+ const t = o.trueValue, s = o.falseValue;
81
+ i.value = $(i.value, t) ? s : t;
82
+ }
83
+ m.value++, await (g.onClick ?? Q)(e), m.value--;
84
+ }, w = typeof o.size == "string" ? { default: o.size } : { default: "md", ...o.size }, D = Object.entries(w).reduce(
85
+ (e, [t, s]) => (t === "default" ? e[`data-${s}`] = "" : e[`data-${t}:${s}`] = "", e),
75
86
  {}
76
- ), F = N(() => ({
77
- ...A.value,
78
- ...P,
79
- ...O(
87
+ ), N = j(() => ({
88
+ ...T.value,
89
+ ...D,
90
+ ...K(
80
91
  o,
81
92
  (e, t) => ![
82
93
  "append:icon",
83
94
  "autoLoading",
84
95
  "disabled",
85
96
  "enabledWhileLoading",
97
+ "falseValue",
86
98
  "group",
87
99
  "icon",
88
100
  "loading",
101
+ "modelValue",
89
102
  "prepend:icon",
90
103
  "size",
91
104
  "tooltip",
92
- "tooltipPlacement"
105
+ "tooltipPlacement",
106
+ "trueValue"
93
107
  ].includes(t)
94
108
  )
95
109
  }));
96
- return h({ $el: s }), (e, t) => (n(), y(W, null, [
97
- g(r(q), E({ ref: z }, F.value, {
98
- "aria-disabled": a.value ? !0 : void 0,
110
+ return z({ $el: c }), (e, t) => (a(), B(x, null, [
111
+ _(p(I), O({ ref: S }, N.value, {
112
+ "aria-disabled": n.value ? !0 : void 0,
113
+ "aria-pressed": d.value ? y.value : void 0,
99
114
  class: {
100
115
  "bb-button": !0,
101
- "bb-button--loading": a.value,
116
+ "bb-button--loading": n.value,
102
117
  "bb-button--group": o.group,
103
- "bb-button--icon": !!e.icon
118
+ "bb-button--icon": !!e.icon,
119
+ "bb-button--active": d.value && y.value
104
120
  },
105
- disabled: L.value,
106
- tabindex: a.value ? -1 : void 0,
107
- onClick: S
121
+ disabled: P.value,
122
+ tabindex: n.value ? -1 : void 0,
123
+ onClick: F
108
124
  }), {
109
- default: v(() => [
110
- g(r(x), { class: "bb-button__spinner" }),
111
- o.icon ? (n(), i(d, {
125
+ default: C(() => [
126
+ _(p(J), { class: "bb-button__spinner" }),
127
+ o.icon ? (a(), r(f, {
112
128
  key: 0,
113
129
  class: "bb-button__icon",
114
130
  type: o.icon
115
- }, null, 8, ["type"])) : o["prepend:icon"] ? (n(), i(d, {
131
+ }, null, 8, ["type"])) : o["prepend:icon"] ? (a(), r(f, {
116
132
  key: 1,
117
133
  class: "bb-button__prepend-icon",
118
134
  type: o["prepend:icon"]
119
- }, null, 8, ["type"])) : l("", !0),
120
- R("span", {
121
- class: j(["bb-button__content", { "sr-only": !!e.icon }])
135
+ }, null, 8, ["type"])) : u("", !0),
136
+ G("span", {
137
+ class: H(["bb-button__content", { "sr-only": !!e.icon }])
122
138
  }, [
123
- B(e.$slots, "default", {}, () => [
124
- _(u(e.text), 1)
139
+ h(e.$slots, "default", {}, () => [
140
+ k(b(e.text), 1)
125
141
  ])
126
142
  ], 2),
127
- a.value ? (n(), y("span", J, u(r($)("common.loadingText")), 1)) : l("", !0),
128
- !e.icon && o["append:icon"] ? (n(), i(d, {
143
+ n.value ? (a(), B("span", Y, b(p(L)("common.loadingText")), 1)) : u("", !0),
144
+ !e.icon && o["append:icon"] ? (a(), r(f, {
129
145
  key: 3,
130
146
  class: "bb-button__append-icon",
131
147
  type: o["append:icon"]
132
- }, null, 8, ["type"])) : l("", !0)
148
+ }, null, 8, ["type"])) : u("", !0)
133
149
  ]),
134
150
  _: 3
135
- }, 16, ["aria-disabled", "class", "disabled", "tabindex"]),
136
- e.tooltip != null || e.$slots.tooltip ? (n(), i(r(k), {
151
+ }, 16, ["aria-disabled", "aria-pressed", "class", "disabled", "tabindex"]),
152
+ e.tooltip != null || e.$slots.tooltip ? (a(), r(p(A), {
137
153
  key: 0,
138
- activator: s.value,
154
+ activator: c.value,
139
155
  placement: e.tooltipPlacement,
140
156
  "show-close": !1,
141
157
  timeout: e.tooltipTimeout
142
158
  }, {
143
- default: v(() => [
144
- B(e.$slots, "tooltip", { text: e.tooltip }, () => [
145
- _(u(e.tooltip), 1)
159
+ default: C(() => [
160
+ h(e.$slots, "tooltip", { text: e.tooltip }, () => [
161
+ k(b(e.tooltip), 1)
146
162
  ])
147
163
  ]),
148
164
  _: 3
149
- }, 8, ["activator", "placement", "timeout"])) : l("", !0)
165
+ }, 8, ["activator", "placement", "timeout"])) : u("", !0)
150
166
  ], 64));
151
167
  }
152
168
  });
153
169
  export {
154
- le as default
170
+ me as default
155
171
  };
package/dist/index67.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
2
- import { useLocale as f } from "./index223.js";
2
+ import { useLocale as f } from "./index236.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {
package/dist/index78.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as m, mergeModels as i, useModel as u, createBlock as f, openBlock as B, mergeProps as y, withCtx as t, renderSlot as s, normalizeProps as a, guardReactiveProps as n } from "vue";
1
+ import { defineComponent as h, mergeModels as p, useModel as c, createBlock as B, openBlock as y, mergeProps as g, toHandlers as w, withCtx as l, renderSlot as s, normalizeProps as t, guardReactiveProps as a } from "vue";
2
2
  import $ from "./index25.js";
3
3
  /* empty css */
4
- const w = /* @__PURE__ */ m({
4
+ const b = /* @__PURE__ */ h({
5
5
  __name: "BbDialog",
6
- props: /* @__PURE__ */ i({
6
+ props: /* @__PURE__ */ p({
7
7
  closeLabel: {},
8
8
  compact: { type: Boolean },
9
9
  description: {},
@@ -23,37 +23,40 @@ const w = /* @__PURE__ */ m({
23
23
  modelValue: { type: Boolean, default: !1 },
24
24
  modelModifiers: {}
25
25
  }),
26
- emits: /* @__PURE__ */ i(["shown", "hidden"], ["update:modelValue"]),
27
- setup(r) {
28
- const p = r, d = u(r, "modelValue");
29
- return (o, l) => (B(), f($, y(p, {
30
- modelValue: d.value,
31
- "onUpdate:modelValue": l[0] || (l[0] = (e) => d.value = e),
32
- onHidden: l[1] || (l[1] = () => o.$emit("hidden")),
33
- onShown: l[2] || (l[2] = () => o.$emit("shown"))
34
- }), {
35
- close: t((e) => [
36
- s(o.$slots, "close", a(n(e)))
26
+ emits: /* @__PURE__ */ p(["show", "hide", "shown", "hidden"], ["update:modelValue"]),
27
+ setup(d, { emit: m }) {
28
+ const u = d, n = m, f = {
29
+ hide: () => n("hide"),
30
+ hidden: () => n("hidden"),
31
+ show: () => n("show"),
32
+ shown: () => n("shown")
33
+ }, r = c(d, "modelValue");
34
+ return (o, i) => (y(), B($, g(u, {
35
+ modelValue: r.value,
36
+ "onUpdate:modelValue": i[0] || (i[0] = (e) => r.value = e)
37
+ }, w(f)), {
38
+ close: l((e) => [
39
+ s(o.$slots, "close", t(a(e)))
37
40
  ]),
38
- default: t((e) => [
39
- s(o.$slots, "default", a(n(e)))
41
+ default: l((e) => [
42
+ s(o.$slots, "default", t(a(e)))
40
43
  ]),
41
- description: t((e) => [
42
- s(o.$slots, "description", a(n(e)))
44
+ description: l((e) => [
45
+ s(o.$slots, "description", t(a(e)))
43
46
  ]),
44
- footer: t((e) => [
45
- s(o.$slots, "footer", a(n(e)))
47
+ footer: l((e) => [
48
+ s(o.$slots, "footer", t(a(e)))
46
49
  ]),
47
- header: t((e) => [
48
- s(o.$slots, "header", a(n(e)))
50
+ header: l((e) => [
51
+ s(o.$slots, "header", t(a(e)))
49
52
  ]),
50
- title: t((e) => [
51
- s(o.$slots, "title", a(n(e)))
53
+ title: l((e) => [
54
+ s(o.$slots, "title", t(a(e)))
52
55
  ]),
53
56
  _: 3
54
57
  }, 16, ["modelValue"]));
55
58
  }
56
59
  });
57
60
  export {
58
- w as default
61
+ b as default
59
62
  };
package/dist/index80.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as fe, ref as C, computed as p, useTemplateRef as ve, watch as $, onBeforeUnmount as be, createElementBlock as M, openBlock as E, Fragment as B, renderSlot as v, createCommentVNode as V, createVNode as x, normalizeProps as ye, mergeProps as q, withCtx as G, createElementVNode as J, normalizeStyle as we, unref as Q, renderList as ge, createBlock as Z, toDisplayString as he } from "vue";
2
2
  import { findRightIndex as R } from "./index269.js";
3
3
  import { useId as Ee } from "./index8.js";
4
- import { useUntil as Le } from "./index250.js";
4
+ import { useUntil as Le } from "./index260.js";
5
5
  import { wait as ke } from "./index140.js";
6
6
  import De from "./index13.js";
7
7
  /* empty css */
8
8
  import ee from "./index86.js";
9
9
  /* empty css */
10
- import $e from "./index227.js";
10
+ import $e from "./index255.js";
11
11
  /* empty css */
12
12
  import te from "./index270.js";
13
- import { extractDomContainer as H } from "./index251.js";
13
+ import { extractDomContainer as H } from "./index247.js";
14
14
  import { useIntersectionObserver as Ae, useElementSize as Se } from "./index141.js";
15
- import { parseWidthString as Pe } from "./index252.js";
15
+ import { parseWidthString as Pe } from "./index271.js";
16
16
  const Ie = ["id", "aria-labelledby", "inert"], Te = { class: "item__content" }, Oe = 500, _e = 10, ze = /* @__PURE__ */ fe({
17
17
  inheritAttrs: !1,
18
18
  __name: "BbDropdown",
package/dist/index82.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index86.js";
9
9
  /* empty css */
10
10
  import I from "./index114.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index223.js";
12
+ import { useLocale as M } from "./index236.js";
13
13
  const O = { class: "bb-dropdown-button__content" }, R = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index84.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, 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 "./index273.js";
2
+ import { findInTree as ae } from "./index265.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index112.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("./index272.js")).default);
56
+ b || (b = (await import("./index264.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index86.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, ref as f, computed as a, getCurrentInstance as d, onServerPrefetch as I, onBeforeMount as _, watch as L, createElementBlock as M, openBlock as B, mergeProps as k, inject as A } from "vue";
2
- import { isCssColor as C } from "./index246.js";
3
- import { get as m } from "./index247.js";
4
- import { useLogger as N } from "./index248.js";
2
+ import { isCssColor as C } from "./index262.js";
3
+ import { get as m } from "./index263.js";
4
+ import { useLogger as N } from "./index230.js";
5
5
  const S = ["innerHTML"], E = /* @__PURE__ */ $({
6
6
  __name: "BbIcon",
7
7
  props: {
package/dist/index88.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index274.js";
2
+ import { throttle as c } from "./index277.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {