bitboss-ui 2.1.102 → 2.1.103

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 (296) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +21 -47
  2. package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +36 -0
  3. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -1
  4. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +17 -0
  5. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +207 -0
  6. package/dist/i18n/en.d.ts +5 -0
  7. package/dist/i18n/it.d.ts +5 -0
  8. package/dist/index.css +1 -1
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +79 -77
  11. package/dist/index109.js +134 -175
  12. package/dist/index11.js +1 -1
  13. package/dist/index110.js +185 -0
  14. package/dist/{index115.js → index116.js} +1 -1
  15. package/dist/index12.js +2 -2
  16. package/dist/{index121.js → index122.js} +8 -8
  17. package/dist/{index123.js → index124.js} +10 -10
  18. package/dist/index13.js +6 -6
  19. package/dist/{index131.js → index132.js} +1 -1
  20. package/dist/{index133.js → index134.js} +6 -6
  21. package/dist/{index135.js → index136.js} +1 -1
  22. package/dist/{index137.js → index138.js} +4 -4
  23. package/dist/index14.js +2 -2
  24. package/dist/index140.js +13 -11
  25. package/dist/index141.js +11 -2
  26. package/dist/index142.js +2 -419
  27. package/dist/index143.js +417 -7
  28. package/dist/index144.js +8 -8
  29. package/dist/index145.js +9 -25
  30. package/dist/index146.js +25 -2
  31. package/dist/index147.js +2 -5
  32. package/dist/index148.js +5 -6
  33. package/dist/index149.js +5 -4
  34. package/dist/index150.js +5 -3
  35. package/dist/index151.js +1 -1
  36. package/dist/index152.js +1 -1
  37. package/dist/index153.js +1 -1
  38. package/dist/index154.js +1 -1
  39. package/dist/index155.js +1 -1
  40. package/dist/index156.js +1 -1
  41. package/dist/index157.js +1 -1
  42. package/dist/index158.js +1 -1
  43. package/dist/index159.js +1 -1
  44. package/dist/index16.js +80 -94
  45. package/dist/index160.js +1 -1
  46. package/dist/index161.js +1 -1
  47. package/dist/index162.js +1 -1
  48. package/dist/index163.js +1 -1
  49. package/dist/index164.js +1 -1
  50. package/dist/index165.js +1 -1
  51. package/dist/index166.js +1 -1
  52. package/dist/index167.js +1 -1
  53. package/dist/index168.js +1 -1
  54. package/dist/index169.js +1 -1
  55. package/dist/index170.js +1 -1
  56. package/dist/index171.js +1 -1
  57. package/dist/index172.js +1 -1
  58. package/dist/index173.js +1 -1
  59. package/dist/index174.js +1 -1
  60. package/dist/index175.js +1 -1
  61. package/dist/index176.js +1 -1
  62. package/dist/index177.js +1 -1
  63. package/dist/index178.js +1 -1
  64. package/dist/index179.js +1 -1
  65. package/dist/index18.js +3 -3
  66. package/dist/index180.js +1 -1
  67. package/dist/index181.js +1 -1
  68. package/dist/index182.js +1 -1
  69. package/dist/index183.js +2 -3
  70. package/dist/index184.js +1 -1
  71. package/dist/index185.js +1 -1
  72. package/dist/index186.js +1 -1
  73. package/dist/index187.js +1 -1
  74. package/dist/index188.js +3 -2
  75. package/dist/index189.js +1 -1
  76. package/dist/index190.js +2 -3
  77. package/dist/index191.js +1 -1
  78. package/dist/index192.js +1 -1
  79. package/dist/index193.js +1 -1
  80. package/dist/index194.js +2 -2
  81. package/dist/index195.js +1 -1
  82. package/dist/index196.js +1 -1
  83. package/dist/index197.js +1 -1
  84. package/dist/index198.js +3 -2
  85. package/dist/index199.js +1 -1
  86. package/dist/index20.js +7 -7
  87. package/dist/index200.js +2 -3
  88. package/dist/index201.js +1 -1
  89. package/dist/index202.js +1 -1
  90. package/dist/index203.js +1 -1
  91. package/dist/index204.js +1 -1
  92. package/dist/index205.js +1 -1
  93. package/dist/index206.js +1 -1
  94. package/dist/index207.js +1 -1
  95. package/dist/index208.js +1 -1
  96. package/dist/index209.js +1 -1
  97. package/dist/index210.js +1 -1
  98. package/dist/index211.js +1 -1
  99. package/dist/index212.js +1 -1
  100. package/dist/index213.js +1 -1
  101. package/dist/{index298.js → index214.js} +1 -1
  102. package/dist/index215.js +3 -7
  103. package/dist/index217.js +7 -2
  104. package/dist/index219.js +137 -4
  105. package/dist/index22.js +1 -1
  106. package/dist/index220.js +2 -8
  107. package/dist/index221.js +4 -32
  108. package/dist/index222.js +8 -28
  109. package/dist/index223.js +4 -0
  110. package/dist/index224.js +2 -34
  111. package/dist/index225.js +3 -13
  112. package/dist/index226.js +33 -2
  113. package/dist/index227.js +28 -2
  114. package/dist/index229.js +2 -2
  115. package/dist/index230.js +2 -2
  116. package/dist/index231.js +2 -2
  117. package/dist/index232.js +2 -2
  118. package/dist/index233.js +1 -1
  119. package/dist/index237.js +7 -7
  120. package/dist/index238.js +1 -1
  121. package/dist/index24.js +10 -10
  122. package/dist/index241.js +1 -1
  123. package/dist/index242.js +13 -3
  124. package/dist/index243.js +3 -5
  125. package/dist/index244.js +86 -5
  126. package/dist/index246.js +29 -2
  127. package/dist/index247.js +16 -3
  128. package/dist/index248.js +16 -19
  129. package/dist/index249.js +49 -133
  130. package/dist/index250.js +17 -0
  131. package/dist/index251.js +12 -4
  132. package/dist/index252.js +2 -4
  133. package/dist/index253.js +4 -201
  134. package/dist/{index268.js → index254.js} +1 -1
  135. package/dist/index256.js +100 -3
  136. package/dist/index258.js +3 -2
  137. package/dist/index259.js +10 -86
  138. package/dist/index26.js +4 -4
  139. package/dist/index260.js +5 -0
  140. package/dist/index261.js +4 -29
  141. package/dist/index262.js +5 -17
  142. package/dist/index263.js +5 -51
  143. package/dist/index264.js +5 -15
  144. package/dist/index265.js +2 -12
  145. package/dist/index266.js +19 -15
  146. package/dist/index267.js +135 -25
  147. package/dist/index270.js +3 -100
  148. package/dist/index271.js +15 -0
  149. package/dist/index272.js +13 -67
  150. package/dist/index273.js +22 -17
  151. package/dist/index274.js +8 -11
  152. package/dist/index275.js +23 -104
  153. package/dist/index276.js +17 -12
  154. package/dist/index277.js +12 -11
  155. package/dist/index278.js +103 -12
  156. package/dist/index279.js +11 -5
  157. package/dist/index28.js +2 -2
  158. package/dist/index280.js +9 -6
  159. package/dist/index281.js +20 -15
  160. package/dist/index282.js +25 -33
  161. package/dist/index283.js +32 -9
  162. package/dist/index284.js +4 -3
  163. package/dist/index285.js +67 -4
  164. package/dist/index286.js +9 -9
  165. package/dist/index287.js +7 -23
  166. package/dist/index288.js +2 -23
  167. package/dist/index289.js +6 -6
  168. package/dist/index290.js +7 -2
  169. package/dist/index291.js +3 -7
  170. package/dist/index292.js +6 -7
  171. package/dist/index293.js +15 -8
  172. package/dist/index294.js +5 -21
  173. package/dist/index296.js +34 -9
  174. package/dist/index297.js +375 -0
  175. package/dist/index30.js +6 -6
  176. package/dist/index300.js +3 -2
  177. package/dist/index301.js +5 -4
  178. package/dist/index302.js +280 -5
  179. package/dist/index303.js +2 -5
  180. package/dist/index304.js +13 -277
  181. package/dist/index305.js +2 -2
  182. package/dist/index306.js +9 -9
  183. package/dist/index308.js +23 -12
  184. package/dist/index310.js +2 -27
  185. package/dist/index311.js +2 -2
  186. package/dist/index312.js +1 -1
  187. package/dist/index313.js +1 -1
  188. package/dist/index314.js +28 -2
  189. package/dist/index315.js +1 -1
  190. package/dist/index316.js +7 -28
  191. package/dist/index317.js +3 -2
  192. package/dist/index318.js +17 -3
  193. package/dist/index319.js +4 -3
  194. package/dist/index32.js +2 -2
  195. package/dist/index320.js +3 -125
  196. package/dist/index321.js +3 -2
  197. package/dist/index322.js +123 -13
  198. package/dist/index323.js +2 -2
  199. package/dist/index324.js +12 -16
  200. package/dist/index326.js +19 -3
  201. package/dist/index327.js +2 -17
  202. package/dist/index328.js +3 -2
  203. package/dist/index329.js +2 -3
  204. package/dist/index330.js +2 -3
  205. package/dist/index331.js +6 -719
  206. package/dist/index332.js +4 -366
  207. package/dist/index333.js +5 -57
  208. package/dist/index334.js +719 -2
  209. package/dist/index335.js +366 -4
  210. package/dist/index336.js +56 -5
  211. package/dist/index337.js +2 -7
  212. package/dist/index338.js +5 -19
  213. package/dist/index339.js +6 -8
  214. package/dist/index34.js +7 -7
  215. package/dist/index340.js +6 -14
  216. package/dist/index341.js +19 -5
  217. package/dist/index342.js +8 -7
  218. package/dist/index343.js +14 -5
  219. package/dist/index344.js +34 -7
  220. package/dist/index345.js +6 -7
  221. package/dist/index346.js +125 -31
  222. package/dist/index347.js +398 -6
  223. package/dist/index348.js +66 -128
  224. package/dist/index349.js +65 -396
  225. package/dist/index350.js +1 -1
  226. package/dist/index351.js +3 -62
  227. package/dist/index352.js +189 -60
  228. package/dist/index353.js +256 -91
  229. package/dist/index354.js +18 -187
  230. package/dist/index356.js +133 -21
  231. package/dist/index357.js +95 -0
  232. package/dist/index358.js +2 -134
  233. package/dist/index359.js +1 -1
  234. package/dist/index36.js +5 -5
  235. package/dist/index360.js +441 -2
  236. package/dist/index361.js +114 -427
  237. package/dist/index362.js +46 -127
  238. package/dist/index363.js +67 -44
  239. package/dist/index364.js +516 -66
  240. package/dist/index365.js +45 -515
  241. package/dist/index38.js +24 -24
  242. package/dist/index40.js +7 -7
  243. package/dist/index42.js +2 -2
  244. package/dist/index44.js +7 -7
  245. package/dist/index46.js +8 -8
  246. package/dist/index48.js +4 -4
  247. package/dist/index50.js +4 -4
  248. package/dist/index54.js +2 -2
  249. package/dist/index56.js +2 -2
  250. package/dist/index58.js +2 -2
  251. package/dist/index60.js +4 -4
  252. package/dist/index62.js +8 -8
  253. package/dist/index68.js +1 -1
  254. package/dist/index7.js +2 -2
  255. package/dist/index72.js +16 -10
  256. package/dist/index74.js +119 -79
  257. package/dist/index75.js +85 -0
  258. package/dist/index77.js +17 -123
  259. package/dist/index78.js +127 -0
  260. package/dist/{index81.js → index82.js} +9 -9
  261. package/dist/{index83.js → index84.js} +4 -4
  262. package/dist/{index85.js → index86.js} +3 -3
  263. package/dist/{index87.js → index88.js} +2 -2
  264. package/dist/index9.js +1 -1
  265. package/dist/index90.js +37 -125
  266. package/dist/index91.js +134 -0
  267. package/dist/{index92.js → index93.js} +4 -4
  268. package/dist/{index94.js → index95.js} +3 -3
  269. package/dist/{index96.js → index97.js} +6 -6
  270. package/dist/{index98.js → index99.js} +2 -2
  271. package/package.json +2 -2
  272. package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +0 -13
  273. package/dist/index108.js +0 -144
  274. package/dist/index139.js +0 -15
  275. package/dist/index216.js +0 -140
  276. package/dist/index228.js +0 -5
  277. package/dist/index245.js +0 -7
  278. package/dist/index257.js +0 -5
  279. package/dist/index299.js +0 -9
  280. package/dist/index355.js +0 -260
  281. package/dist/index366.js +0 -52
  282. package/dist/index76.js +0 -21
  283. package/dist/index89.js +0 -46
  284. /package/dist/{index100.js → index101.js} +0 -0
  285. /package/dist/{index102.js → index103.js} +0 -0
  286. /package/dist/{index104.js → index105.js} +0 -0
  287. /package/dist/{index106.js → index107.js} +0 -0
  288. /package/dist/{index111.js → index112.js} +0 -0
  289. /package/dist/{index113.js → index114.js} +0 -0
  290. /package/dist/{index117.js → index118.js} +0 -0
  291. /package/dist/{index119.js → index120.js} +0 -0
  292. /package/dist/{index125.js → index126.js} +0 -0
  293. /package/dist/{index127.js → index128.js} +0 -0
  294. /package/dist/{index129.js → index130.js} +0 -0
  295. /package/dist/{index255.js → index269.js} +0 -0
  296. /package/dist/{index79.js → index80.js} +0 -0
package/dist/index44.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 "./index42.js";
3
3
  /* empty css */
4
- import N from "./index259.js";
4
+ import N from "./index244.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index261.js";
7
- import { useIndexById as T } from "./index262.js";
8
- import { useBaseOptions as q } from "./index263.js";
9
- import { useCoherence as J } from "./index264.js";
6
+ import { useItemsGetter as U } from "./index246.js";
7
+ import { useIndexById as T } from "./index248.js";
8
+ import { useBaseOptions as q } from "./index249.js";
9
+ import { useCoherence as J } from "./index250.js";
10
10
  import { hash as Q } from "./index233.js";
11
- import { useHashedWatcher as $ } from "./index265.js";
12
- import { usePrefill as X } from "./index266.js";
11
+ import { useHashedWatcher as $ } from "./index251.js";
12
+ import { usePrefill as X } from "./index247.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index46.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
- import ae from "./index113.js";
2
+ import ae from "./index114.js";
3
3
  /* empty css */
4
4
  import { last as le } from "./index234.js";
5
- import { useBaseOptions as ne } from "./index263.js";
6
- import { useIndexById as re } from "./index262.js";
7
- import ie from "./index268.js";
5
+ import { useBaseOptions as ne } from "./index249.js";
6
+ import { useIndexById as re } from "./index248.js";
7
+ import ie from "./index254.js";
8
8
  /* empty css */
9
- import ue from "./index270.js";
9
+ import ue from "./index256.js";
10
10
  /* empty css */
11
- import se from "./index137.js";
11
+ import se from "./index138.js";
12
12
  /* empty css */
13
- import de from "./index139.js";
14
- import { isEmpty as pe } from "./index247.js";
13
+ import de from "./index140.js";
14
+ import { isEmpty as pe } from "./index258.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/index48.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
2
- import E from "./index139.js";
3
- import G from "./index137.js";
2
+ import E from "./index140.js";
3
+ import G from "./index138.js";
4
4
  /* empty css */
5
- import M from "./index113.js";
5
+ import M from "./index114.js";
6
6
  /* empty css */
7
- import { isNotNil as q } from "./index146.js";
7
+ import { isNotNil as q } from "./index147.js";
8
8
  const H = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "rows", "value"], Y = /* @__PURE__ */ h({
9
9
  __name: "BaseTextarea",
10
10
  props: {
package/dist/index50.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as E, mergeProps as b, renderSlot as t } from "vue";
2
- import q from "./index137.js";
2
+ import q from "./index138.js";
3
3
  /* empty css */
4
- import I from "./index139.js";
5
- import { MaskInput as z } from "./index255.js";
6
- import { isNotEmpty as D } from "./index256.js";
4
+ import I from "./index140.js";
5
+ import { MaskInput as z } from "./index269.js";
6
+ import { isNotEmpty as D } from "./index270.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/index54.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as h, ref as k, watch as w, createBlock as r, openBlock as s, normalizeClass as C, withCtx as V, createElementVNode as t, createCommentVNode as i, createElementBlock as y, unref as z, renderSlot as n, normalizeProps as c, guardReactiveProps as m, createTextVNode as d, toDisplayString as u } from "vue";
2
2
  import B from "./index70.js";
3
3
  /* empty css */
4
- import L from "./index87.js";
4
+ import L from "./index88.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index225.js";
6
+ import { useLocale as g } from "./index242.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index56.js CHANGED
@@ -1,6 +1,6 @@
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 "./index226.js";
3
- import { wait as C } from "./index141.js";
2
+ import { isCssColor as y } from "./index223.js";
3
+ import { wait as C } from "./index142.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
6
6
  class: "bb-avatar__fallback"
package/dist/index58.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 "./index226.js";
3
- import { isNil as B } from "./index258.js";
2
+ import { isCssColor as l } from "./index223.js";
3
+ import { isNil as B } from "./index252.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/index60.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as K, ref as I, computed as l, watch as Q, onBeforeUnmount as Z, createElementBlock as o, openBlock as n, normalizeStyle as x, createElementVNode as p, createCommentVNode as c, renderSlot as b, createVNode as C, withCtx as L, normalizeProps as ee, guardReactiveProps as se, mergeProps as N, createTextVNode as T, toDisplayString as M, Fragment as O, renderList as te } from "vue";
2
- import { useResizeObserver as ie } from "./index142.js";
3
- import { useLocale as ae } from "./index225.js";
2
+ import { useResizeObserver as ie } from "./index143.js";
3
+ import { useLocale as ae } from "./index242.js";
4
4
  import de from "./index14.js";
5
5
  /* empty css */
6
- import re from "./index81.js";
6
+ import re from "./index82.js";
7
7
  /* empty css */
8
- import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index267.js";
8
+ import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index282.js";
9
9
  const ne = ["aria-label"], be = { class: "bb-breadcrumbs__container" }, ue = {
10
10
  key: 0,
11
11
  class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--prepend"
package/dist/index62.js CHANGED
@@ -3,15 +3,15 @@ import { defineComponent as E, mergeModels as M, defineAsyncComponent as W, useM
3
3
  /* empty css */
4
4
  import I from "./index14.js";
5
5
  /* empty css */
6
- import f from "./index87.js";
6
+ import f from "./index88.js";
7
7
  /* empty css */
8
- import J from "./index115.js";
8
+ import J from "./index116.js";
9
9
  /* empty css */
10
- import { pickBy as K } from "./index283.js";
11
- import { noop as Q } from "./index284.js";
12
- import { useLocale as U } from "./index225.js";
13
- import { extractDomContainer as X } from "./index285.js";
14
- import { isEqual as $ } from "./index228.js";
10
+ import { pickBy as K } from "./index259.js";
11
+ import { noop as Q } from "./index260.js";
12
+ import { useLocale as U } from "./index242.js";
13
+ import { extractDomContainer as X } from "./index261.js";
14
+ import { isEqual as $ } from "./index225.js";
15
15
  const Y = {
16
16
  key: 2,
17
17
  class: "bb-button__loading-label sr-only"
@@ -65,7 +65,7 @@ const Y = {
65
65
  emits: ["update:modelValue"],
66
66
  setup(v, { expose: z }) {
67
67
  const A = W(
68
- () => import("./index211.js")
68
+ () => import("./index213.js")
69
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
70
  c.value = X(e) ?? void 0;
71
71
  }, T = l(() => {
package/dist/index68.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 "./index225.js";
2
+ import { useLocale as f } from "./index242.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/index7.js CHANGED
@@ -1,5 +1,5 @@
1
- import { getAsPercentage as p } from "./index140.js";
2
- import { wait as w } from "./index141.js";
1
+ import { getAsPercentage as p } from "./index141.js";
2
+ import { wait as w } from "./index142.js";
3
3
  import { ref as c, computed as o, onBeforeUnmount as H } from "vue";
4
4
  const Y = ({
5
5
  duration: t,
package/dist/index72.js CHANGED
@@ -1,11 +1,12 @@
1
- import { defineComponent as c, ref as b, computed as h, createBlock as f, openBlock as y, withCtx as a, createVNode as v, mergeProps as B, renderSlot as l, normalizeProps as w, guardReactiveProps as g } from "vue";
2
- import $ from "./index28.js";
1
+ import { defineComponent as c, ref as h, computed as b, createBlock as f, openBlock as y, withCtx as a, createVNode as B, mergeProps as v, renderSlot as l, normalizeProps as w, guardReactiveProps as k } from "vue";
2
+ import g from "./index28.js";
3
3
  /* empty css */
4
- import k from "./index16.js";
4
+ import $ from "./index16.js";
5
5
  /* empty css */
6
6
  const E = /* @__PURE__ */ c({
7
7
  __name: "BbColorInput",
8
8
  props: {
9
+ alpha: { type: Boolean },
9
10
  "append:icon": {},
10
11
  autocomplete: {},
11
12
  autofocus: {},
@@ -28,11 +29,13 @@ const E = /* @__PURE__ */ c({
28
29
  "prepend:icon": {},
29
30
  readonly: { type: Boolean },
30
31
  required: { type: Boolean },
31
- reverse: { type: Boolean }
32
+ reverse: { type: Boolean },
33
+ picker: { type: Boolean },
34
+ swatches: { type: [Boolean, Array] }
32
35
  },
33
36
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
34
37
  setup(s, { emit: i }) {
35
- const r = s, o = i, n = b(!1), d = h(() => r.persistentHint || n.value), t = {
38
+ const r = s, o = i, n = h(!1), d = b(() => r.persistentHint || n.value), t = {
36
39
  onBlur: (e) => {
37
40
  n.value = !1, o("blur", e);
38
41
  },
@@ -47,7 +50,7 @@ const E = /* @__PURE__ */ c({
47
50
  onMouseup: (e) => o("mouseup", e),
48
51
  "onUpdate:modelValue": (e) => o("update:modelValue", e)
49
52
  };
50
- return (e, V) => (y(), f($, {
53
+ return (e, V) => (y(), f(g, {
51
54
  id: e.id,
52
55
  class: "bb-color-input",
53
56
  compact: e.compact,
@@ -64,11 +67,12 @@ const E = /* @__PURE__ */ c({
64
67
  "show-hint": d.value
65
68
  }, {
66
69
  label: a((p) => [
67
- l(e.$slots, "label", w(g(p)))
70
+ l(e.$slots, "label", w(k(p)))
68
71
  ]),
69
72
  input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
70
- v(k, B({
73
+ B($, v({
71
74
  id: p,
75
+ alpha: e.alpha,
72
76
  "append:icon": r["append:icon"],
73
77
  "aria-describedby": m,
74
78
  autocomplete: e.autocomplete,
@@ -80,10 +84,12 @@ const E = /* @__PURE__ */ c({
80
84
  loading: e.loading,
81
85
  "model-value": e.modelValue,
82
86
  name: e.name,
87
+ picker: e.picker,
83
88
  placeholder: e.placeholder,
84
89
  "prepend:icon": r["prepend:icon"],
85
90
  readonly: e.readonly,
86
- required: e.required
91
+ required: e.required,
92
+ swatches: e.swatches
87
93
  }, t), {
88
94
  "append-outer": a(() => [
89
95
  l(e.$slots, "append-outer")
@@ -104,7 +110,7 @@ const E = /* @__PURE__ */ c({
104
110
  l(e.$slots, "prepend-outer")
105
111
  ]),
106
112
  _: 2
107
- }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required"])
113
+ }, 1040, ["id", "alpha", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "picker", "placeholder", "prepend:icon", "readonly", "required", "swatches"])
108
114
  ]),
109
115
  _: 3
110
116
  }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
package/dist/index74.js CHANGED
@@ -1,85 +1,125 @@
1
- import { defineComponent as k, computed as o, createBlock as n, openBlock as s, unref as t, normalizeClass as B, createSlots as x, withCtx as r, createElementVNode as d, createElementBlock as C, createCommentVNode as l, withDirectives as w, toDisplayString as a, vShow as z, createTextVNode as m } from "vue";
2
- import { confirmState as e, processMessage as i } from "./index6.js";
3
- import T from "./index26.js";
4
- /* empty css */
5
- import N from "./index115.js";
1
+ import { defineComponent as L, ref as u, computed as m, watch as n, nextTick as P, onBeforeUnmount as C, createElementBlock as D, openBlock as R, Fragment as T, renderSlot as U, createCommentVNode as $, createVNode as g, normalizeProps as F, mergeProps as H, unref as I, withCtx as M } from "vue";
2
+ import { extractDomContainer as d } from "./index261.js";
3
+ import { useLocale as N } from "./index242.js";
4
+ import S from "./index297.js";
6
5
  /* empty css */
7
- import f from "./index62.js";
8
- /* empty css */
9
- const S = { class: "bb-confirm__content" }, V = {
10
- key: 1,
11
- class: "bb-confirm__text"
12
- }, $ = { class: "bb-confirm__teleport" }, G = /* @__PURE__ */ k({
13
- __name: "BbConfirm",
14
- setup(D) {
15
- const c = o(
16
- () => e.value.yesBusy || e.value.noBusy || e.value.loading
17
- ), _ = o(() => !!e.value.current?.text), v = o(
18
- () => e.value.current && !e.value.current.text && !e.value.loading
19
- ), p = o(
20
- () => e.value.current?.actions !== !1 && !e.value.loading
21
- ), b = o(() => [
22
- "bb-confirm",
23
- `bb-confirm--${e.value.current?.theme ?? "default"}`
24
- ]), y = (u) => {
25
- u || i(!1);
26
- }, h = () => i(!0), g = () => i(!1, !0);
27
- return (u, E) => (s(), n(T, {
28
- class: B(b.value),
29
- "hide-header": t(e).current?.hideHeader,
30
- "model-value": t(e).processing,
31
- persistent: c.value,
32
- "show-close": !c.value,
33
- size: t(e).current?.size,
34
- title: t(e).current?.title,
35
- "onUpdate:modelValue": y
36
- }, x({
37
- default: r(() => [
38
- d("div", S, [
39
- t(e).loading ? (s(), n(N, {
40
- key: 0,
41
- size: "36"
42
- })) : _.value ? (s(), C("div", V, a(t(e).current?.text), 1)) : l("", !0),
43
- w(d("div", $, null, 512), [
44
- [z, v.value]
45
- ])
46
- ])
47
- ]),
48
- _: 2
49
- }, [
50
- p.value ? {
51
- name: "footer",
52
- fn: r(() => [
53
- t(e).current?.no !== !1 ? (s(), n(f, {
54
- key: 0,
55
- loading: t(e).noBusy,
56
- class: "bb-confirm__no",
57
- disabled: t(e).yesBusy,
58
- onClick: g
59
- }, {
60
- default: r(() => [
61
- m(a(t(e).current?.noText), 1)
62
- ]),
63
- _: 1
64
- }, 8, ["loading", "disabled"])) : l("", !0),
65
- t(e).current?.yes !== !1 ? (s(), n(f, {
66
- key: 1,
67
- loading: t(e).yesBusy,
68
- class: "bb-confirm__yes",
69
- disabled: t(e).noBusy,
70
- onClick: h
71
- }, {
72
- default: r(() => [
73
- m(a(t(e).current?.yesText), 1)
74
- ]),
75
- _: 1
76
- }, 8, ["loading", "disabled"])) : l("", !0)
6
+ import q from "./index267.js";
7
+ /* empty css */
8
+ const W = /* @__PURE__ */ L({
9
+ __name: "BbColorPalette",
10
+ props: {
11
+ arrowPadding: {},
12
+ eager: { type: Boolean },
13
+ offset: { default: 4 },
14
+ padding: { default: 6 },
15
+ placement: {},
16
+ transitionDuration: { default: 250 },
17
+ modelValue: {},
18
+ alpha: { type: Boolean, default: !1 },
19
+ swatches: { type: [Boolean, Array] },
20
+ activator: {},
21
+ anchor: {},
22
+ boundary: {},
23
+ flip: { type: Boolean, default: !0 },
24
+ showArrow: { type: Boolean, default: !1 },
25
+ disabled: { type: Boolean },
26
+ readonly: { type: Boolean },
27
+ label: {},
28
+ picker: { type: Boolean, default: !1 }
29
+ },
30
+ emits: ["update:modelValue", "update:open"],
31
+ setup(y, { emit: k }) {
32
+ const t = y, f = k, { t: v } = N(), b = u(null), r = u(), s = u(), w = m(() => t.activator != null), A = (e) => {
33
+ r.value = d(e) ?? void 0;
34
+ }, E = (e) => {
35
+ s.value = d(e) ?? void 0;
36
+ };
37
+ n(
38
+ () => t.activator,
39
+ (e) => {
40
+ r.value = d(e) ?? void 0;
41
+ },
42
+ { immediate: !0 }
43
+ ), n(
44
+ () => t.anchor,
45
+ (e) => {
46
+ s.value = e != null ? d(e) ?? void 0 : void 0;
47
+ },
48
+ { immediate: !0 }
49
+ );
50
+ const B = m(() => s.value ?? r.value), a = u(!1);
51
+ let p = null;
52
+ const h = (e) => {
53
+ t.disabled || t.readonly || (e.stopPropagation(), a.value = !a.value);
54
+ }, c = (e) => {
55
+ e.target instanceof HTMLDialogElement && (a.value = !1);
56
+ };
57
+ n(a, async (e) => {
58
+ f("update:open", e), e ? (p = document.activeElement instanceof HTMLElement ? document.activeElement : null, document.addEventListener("click", c, { passive: !0 }), await P(), b.value?.el?.querySelector('[tabindex="0"]')?.focus()) : (document.removeEventListener("click", c), p?.focus(), p = null);
59
+ });
60
+ let i = null;
61
+ n(
62
+ r,
63
+ (e) => {
64
+ i?.(), i = null, e && (e.addEventListener("click", h), i = () => {
65
+ e.removeEventListener("click", h), e.removeAttribute("aria-haspopup"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-label");
66
+ });
67
+ },
68
+ { immediate: !0 }
69
+ );
70
+ const V = m(
71
+ () => t.label ?? v("colorInput.openPicker").value
72
+ );
73
+ return n(
74
+ [r, a, V],
75
+ ([e, o, l]) => {
76
+ e && (e.setAttribute("aria-haspopup", "dialog"), e.setAttribute("aria-expanded", o ? "true" : "false"), e.setAttribute("aria-label", l));
77
+ },
78
+ { immediate: !0 }
79
+ ), C(() => {
80
+ i?.(), document.removeEventListener("click", c);
81
+ }), (e, o) => (R(), D(T, null, [
82
+ w.value ? $("", !0) : U(e.$slots, "activator", F(H({ key: 0 }, {
83
+ props: { ref: A },
84
+ anchorProps: { ref: E },
85
+ open: a.value,
86
+ color: e.modelValue,
87
+ disabled: e.disabled
88
+ }))),
89
+ g(q, {
90
+ modelValue: a.value,
91
+ "onUpdate:modelValue": o[1] || (o[1] = (l) => a.value = l),
92
+ anchor: B.value,
93
+ "aria-label": I(v)("colorInput.dialogLabel").value,
94
+ "arrow-padding": e.arrowPadding,
95
+ boundary: e.boundary,
96
+ class: "bb-color-palette__popover",
97
+ dialog: "",
98
+ eager: e.eager,
99
+ flip: e.flip,
100
+ "hide-arrow": !e.showArrow,
101
+ offset: e.offset,
102
+ padding: e.padding,
103
+ placement: e.placement,
104
+ "transition-duration": e.transitionDuration
105
+ }, {
106
+ default: M(() => [
107
+ g(S, {
108
+ ref_key: "paletteRef",
109
+ ref: b,
110
+ alpha: e.alpha,
111
+ inert: !a.value,
112
+ "model-value": e.modelValue,
113
+ picker: e.picker,
114
+ swatches: e.swatches,
115
+ "onUpdate:modelValue": o[0] || (o[0] = (l) => f("update:modelValue", l))
116
+ }, null, 8, ["alpha", "inert", "model-value", "picker", "swatches"])
77
117
  ]),
78
- key: "0"
79
- } : void 0
80
- ]), 1032, ["class", "hide-header", "model-value", "persistent", "show-close", "size", "title"]));
118
+ _: 1
119
+ }, 8, ["modelValue", "anchor", "aria-label", "arrow-padding", "boundary", "eager", "flip", "hide-arrow", "offset", "padding", "placement", "transition-duration"])
120
+ ], 64));
81
121
  }
82
122
  });
83
123
  export {
84
- G as default
124
+ W as default
85
125
  };
@@ -0,0 +1,85 @@
1
+ import { defineComponent as k, computed as o, createBlock as n, openBlock as s, unref as t, normalizeClass as B, createSlots as x, withCtx as r, createElementVNode as d, createElementBlock as C, createCommentVNode as l, withDirectives as w, toDisplayString as a, vShow as z, createTextVNode as m } from "vue";
2
+ import { confirmState as e, processMessage as i } from "./index6.js";
3
+ import T from "./index26.js";
4
+ /* empty css */
5
+ import N from "./index116.js";
6
+ /* empty css */
7
+ import f from "./index62.js";
8
+ /* empty css */
9
+ const S = { class: "bb-confirm__content" }, V = {
10
+ key: 1,
11
+ class: "bb-confirm__text"
12
+ }, $ = { class: "bb-confirm__teleport" }, G = /* @__PURE__ */ k({
13
+ __name: "BbConfirm",
14
+ setup(D) {
15
+ const c = o(
16
+ () => e.value.yesBusy || e.value.noBusy || e.value.loading
17
+ ), _ = o(() => !!e.value.current?.text), v = o(
18
+ () => e.value.current && !e.value.current.text && !e.value.loading
19
+ ), p = o(
20
+ () => e.value.current?.actions !== !1 && !e.value.loading
21
+ ), b = o(() => [
22
+ "bb-confirm",
23
+ `bb-confirm--${e.value.current?.theme ?? "default"}`
24
+ ]), y = (u) => {
25
+ u || i(!1);
26
+ }, h = () => i(!0), g = () => i(!1, !0);
27
+ return (u, E) => (s(), n(T, {
28
+ class: B(b.value),
29
+ "hide-header": t(e).current?.hideHeader,
30
+ "model-value": t(e).processing,
31
+ persistent: c.value,
32
+ "show-close": !c.value,
33
+ size: t(e).current?.size,
34
+ title: t(e).current?.title,
35
+ "onUpdate:modelValue": y
36
+ }, x({
37
+ default: r(() => [
38
+ d("div", S, [
39
+ t(e).loading ? (s(), n(N, {
40
+ key: 0,
41
+ size: "36"
42
+ })) : _.value ? (s(), C("div", V, a(t(e).current?.text), 1)) : l("", !0),
43
+ w(d("div", $, null, 512), [
44
+ [z, v.value]
45
+ ])
46
+ ])
47
+ ]),
48
+ _: 2
49
+ }, [
50
+ p.value ? {
51
+ name: "footer",
52
+ fn: r(() => [
53
+ t(e).current?.no !== !1 ? (s(), n(f, {
54
+ key: 0,
55
+ loading: t(e).noBusy,
56
+ class: "bb-confirm__no",
57
+ disabled: t(e).yesBusy,
58
+ onClick: g
59
+ }, {
60
+ default: r(() => [
61
+ m(a(t(e).current?.noText), 1)
62
+ ]),
63
+ _: 1
64
+ }, 8, ["loading", "disabled"])) : l("", !0),
65
+ t(e).current?.yes !== !1 ? (s(), n(f, {
66
+ key: 1,
67
+ loading: t(e).yesBusy,
68
+ class: "bb-confirm__yes",
69
+ disabled: t(e).noBusy,
70
+ onClick: h
71
+ }, {
72
+ default: r(() => [
73
+ m(a(t(e).current?.yesText), 1)
74
+ ]),
75
+ _: 1
76
+ }, 8, ["loading", "disabled"])) : l("", !0)
77
+ ]),
78
+ key: "0"
79
+ } : void 0
80
+ ]), 1032, ["class", "hide-header", "model-value", "persistent", "show-close", "size", "title"]));
81
+ }
82
+ });
83
+ export {
84
+ G as default
85
+ };