bitboss-ui 0.2.33 → 0.2.35

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 (650) hide show
  1. package/dist/index.js +188 -0
  2. package/dist/index.js.map +1 -0
  3. package/dist/index10.js +5 -0
  4. package/dist/index10.js.map +1 -0
  5. package/dist/index100.js +5 -0
  6. package/dist/index100.js.map +1 -0
  7. package/dist/index101.js +438 -0
  8. package/dist/index101.js.map +1 -0
  9. package/dist/index102.js +5 -0
  10. package/dist/index102.js.map +1 -0
  11. package/dist/index103.js +95 -0
  12. package/dist/index103.js.map +1 -0
  13. package/dist/index104.js +5 -0
  14. package/dist/index104.js.map +1 -0
  15. package/dist/index105.js +89 -0
  16. package/dist/index105.js.map +1 -0
  17. package/dist/index106.js +5 -0
  18. package/dist/index106.js.map +1 -0
  19. package/dist/index107.js +90 -0
  20. package/dist/index107.js.map +1 -0
  21. package/dist/index108.js +5 -0
  22. package/dist/index108.js.map +1 -0
  23. package/dist/index109.js +30 -0
  24. package/dist/index109.js.map +1 -0
  25. package/dist/index11.js +132 -0
  26. package/dist/index11.js.map +1 -0
  27. package/dist/index110.js +5 -0
  28. package/dist/index110.js.map +1 -0
  29. package/dist/index111.js +152 -0
  30. package/dist/index111.js.map +1 -0
  31. package/dist/index112.js +5 -0
  32. package/dist/index112.js.map +1 -0
  33. package/dist/index113.js +123 -0
  34. package/dist/index113.js.map +1 -0
  35. package/dist/index114.js +5 -0
  36. package/dist/index114.js.map +1 -0
  37. package/dist/index115.js +47 -0
  38. package/dist/index115.js.map +1 -0
  39. package/dist/index116.js +41 -0
  40. package/dist/index116.js.map +1 -0
  41. package/dist/index117.js +47 -0
  42. package/dist/index117.js.map +1 -0
  43. package/dist/index118.js +50 -0
  44. package/dist/index118.js.map +1 -0
  45. package/dist/index119.js +46 -0
  46. package/dist/index119.js.map +1 -0
  47. package/dist/index12.js +5 -0
  48. package/dist/index12.js.map +1 -0
  49. package/dist/index120.js +5 -0
  50. package/dist/index120.js.map +1 -0
  51. package/dist/index121.js +24 -0
  52. package/dist/index121.js.map +1 -0
  53. package/dist/index122.js +5 -0
  54. package/dist/index122.js.map +1 -0
  55. package/dist/index123.js +227 -0
  56. package/dist/index123.js.map +1 -0
  57. package/dist/index124.js +5 -0
  58. package/dist/index124.js.map +1 -0
  59. package/dist/index125.js +21 -0
  60. package/dist/index125.js.map +1 -0
  61. package/dist/index126.js +15 -0
  62. package/dist/index126.js.map +1 -0
  63. package/dist/index127.js +27 -0
  64. package/dist/index127.js.map +1 -0
  65. package/dist/index128.js +8 -0
  66. package/dist/index128.js.map +1 -0
  67. package/dist/index129.js +12 -0
  68. package/dist/index129.js.map +1 -0
  69. package/dist/index13.js +152 -0
  70. package/dist/index13.js.map +1 -0
  71. package/dist/index130.js +9 -0
  72. package/dist/index130.js.map +1 -0
  73. package/dist/index131.js +73 -0
  74. package/dist/index131.js.map +1 -0
  75. package/dist/index132.js +6 -0
  76. package/dist/index132.js.map +1 -0
  77. package/dist/index133.js +6 -0
  78. package/dist/index133.js.map +1 -0
  79. package/dist/index134.js +6 -0
  80. package/dist/index134.js.map +1 -0
  81. package/dist/index135.js +6 -0
  82. package/dist/index135.js.map +1 -0
  83. package/dist/index136.js +6 -0
  84. package/dist/index136.js.map +1 -0
  85. package/dist/index137.js +6 -0
  86. package/dist/index137.js.map +1 -0
  87. package/dist/index138.js +6 -0
  88. package/dist/index138.js.map +1 -0
  89. package/dist/index139.js +6 -0
  90. package/dist/index139.js.map +1 -0
  91. package/dist/index14.js +5 -0
  92. package/dist/index14.js.map +1 -0
  93. package/dist/index140.js +6 -0
  94. package/dist/index140.js.map +1 -0
  95. package/dist/index141.js +6 -0
  96. package/dist/index141.js.map +1 -0
  97. package/dist/index142.js +6 -0
  98. package/dist/index142.js.map +1 -0
  99. package/dist/index143.js +6 -0
  100. package/dist/index143.js.map +1 -0
  101. package/dist/index144.js +6 -0
  102. package/dist/index144.js.map +1 -0
  103. package/dist/index145.js +6 -0
  104. package/dist/index145.js.map +1 -0
  105. package/dist/index146.js +6 -0
  106. package/dist/index146.js.map +1 -0
  107. package/dist/index147.js +6 -0
  108. package/dist/index147.js.map +1 -0
  109. package/dist/index148.js +6 -0
  110. package/dist/index148.js.map +1 -0
  111. package/dist/index149.js +6 -0
  112. package/dist/index149.js.map +1 -0
  113. package/dist/index15.js +458 -0
  114. package/dist/index15.js.map +1 -0
  115. package/dist/index150.js +6 -0
  116. package/dist/index150.js.map +1 -0
  117. package/dist/index151.js +6 -0
  118. package/dist/index151.js.map +1 -0
  119. package/dist/index152.js +6 -0
  120. package/dist/index152.js.map +1 -0
  121. package/dist/index153.js +6 -0
  122. package/dist/index153.js.map +1 -0
  123. package/dist/index154.js +6 -0
  124. package/dist/index154.js.map +1 -0
  125. package/dist/index155.js +6 -0
  126. package/dist/index155.js.map +1 -0
  127. package/dist/index156.js +6 -0
  128. package/dist/index156.js.map +1 -0
  129. package/dist/index157.js +6 -0
  130. package/dist/index157.js.map +1 -0
  131. package/dist/index158.js +5 -0
  132. package/dist/index158.js.map +1 -0
  133. package/dist/index159.js +6 -0
  134. package/dist/index159.js.map +1 -0
  135. package/dist/index16.js +5 -0
  136. package/dist/index16.js.map +1 -0
  137. package/dist/index160.js +5 -0
  138. package/dist/index160.js.map +1 -0
  139. package/dist/index161.js +6 -0
  140. package/dist/index161.js.map +1 -0
  141. package/dist/index162.js +6 -0
  142. package/dist/index162.js.map +1 -0
  143. package/dist/index163.js +6 -0
  144. package/dist/index163.js.map +1 -0
  145. package/dist/index164.js +6 -0
  146. package/dist/index164.js.map +1 -0
  147. package/dist/index165.js +6 -0
  148. package/dist/index165.js.map +1 -0
  149. package/dist/index166.js +6 -0
  150. package/dist/index166.js.map +1 -0
  151. package/dist/index167.js +5 -0
  152. package/dist/index167.js.map +1 -0
  153. package/dist/index168.js +6 -0
  154. package/dist/index168.js.map +1 -0
  155. package/dist/index169.js +5 -0
  156. package/dist/index169.js.map +1 -0
  157. package/dist/index17.js +212 -0
  158. package/dist/index17.js.map +1 -0
  159. package/dist/index170.js +5 -0
  160. package/dist/index170.js.map +1 -0
  161. package/dist/index171.js +6 -0
  162. package/dist/index171.js.map +1 -0
  163. package/dist/index172.js +6 -0
  164. package/dist/index172.js.map +1 -0
  165. package/dist/index173.js +6 -0
  166. package/dist/index173.js.map +1 -0
  167. package/dist/index174.js +6 -0
  168. package/dist/index174.js.map +1 -0
  169. package/dist/index175.js +6 -0
  170. package/dist/index175.js.map +1 -0
  171. package/dist/index176.js +6 -0
  172. package/dist/index176.js.map +1 -0
  173. package/dist/index177.js +6 -0
  174. package/dist/index177.js.map +1 -0
  175. package/dist/index178.js +6 -0
  176. package/dist/index178.js.map +1 -0
  177. package/dist/index179.js +6 -0
  178. package/dist/index179.js.map +1 -0
  179. package/dist/index18.js +5 -0
  180. package/dist/index18.js.map +1 -0
  181. package/dist/index180.js +6 -0
  182. package/dist/index180.js.map +1 -0
  183. package/dist/index181.js +6 -0
  184. package/dist/index181.js.map +1 -0
  185. package/dist/index182.js +6 -0
  186. package/dist/index182.js.map +1 -0
  187. package/dist/index183.js +5 -0
  188. package/dist/index183.js.map +1 -0
  189. package/dist/index184.js +6 -0
  190. package/dist/index184.js.map +1 -0
  191. package/dist/index185.js +5 -0
  192. package/dist/index185.js.map +1 -0
  193. package/dist/index186.js +6 -0
  194. package/dist/index186.js.map +1 -0
  195. package/dist/index187.js +6 -0
  196. package/dist/index187.js.map +1 -0
  197. package/dist/index188.js +6 -0
  198. package/dist/index188.js.map +1 -0
  199. package/dist/index189.js +6 -0
  200. package/dist/index189.js.map +1 -0
  201. package/dist/index19.js +240 -0
  202. package/dist/index19.js.map +1 -0
  203. package/dist/index190.js +6 -0
  204. package/dist/index190.js.map +1 -0
  205. package/dist/index191.js +6 -0
  206. package/dist/index191.js.map +1 -0
  207. package/dist/index192.js +6 -0
  208. package/dist/index192.js.map +1 -0
  209. package/dist/index193.js +6 -0
  210. package/dist/index193.js.map +1 -0
  211. package/dist/index194.js +6 -0
  212. package/dist/index194.js.map +1 -0
  213. package/dist/index195.js +6 -0
  214. package/dist/index195.js.map +1 -0
  215. package/dist/index196.js +5 -0
  216. package/dist/index196.js.map +1 -0
  217. package/dist/index197.js +6 -0
  218. package/dist/index197.js.map +1 -0
  219. package/dist/index198.js +38 -0
  220. package/dist/index198.js.map +1 -0
  221. package/dist/index199.js +9 -0
  222. package/dist/index199.js.map +1 -0
  223. package/dist/index2.js +43 -0
  224. package/dist/index2.js.map +1 -0
  225. package/dist/index20.js +5 -0
  226. package/dist/index20.js.map +1 -0
  227. package/dist/index200.js +381 -0
  228. package/dist/index200.js.map +1 -0
  229. package/dist/index201.js +137 -0
  230. package/dist/index201.js.map +1 -0
  231. package/dist/index202.js +8 -0
  232. package/dist/index202.js.map +1 -0
  233. package/dist/index203.js +22 -0
  234. package/dist/index203.js.map +1 -0
  235. package/dist/index204.js +5 -0
  236. package/dist/index204.js.map +1 -0
  237. package/dist/index205.js +5 -0
  238. package/dist/index205.js.map +1 -0
  239. package/dist/index206.js +177 -0
  240. package/dist/index206.js.map +1 -0
  241. package/dist/index207.js +26 -0
  242. package/dist/index207.js.map +1 -0
  243. package/dist/index208.js +376 -0
  244. package/dist/index208.js.map +1 -0
  245. package/dist/index209.js +19 -0
  246. package/dist/index209.js.map +1 -0
  247. package/dist/index21.js +116 -0
  248. package/dist/index21.js.map +1 -0
  249. package/dist/index210.js +19 -0
  250. package/dist/index210.js.map +1 -0
  251. package/dist/index211.js +23 -0
  252. package/dist/index211.js.map +1 -0
  253. package/dist/index212.js +32 -0
  254. package/dist/index212.js.map +1 -0
  255. package/dist/index213.js +11 -0
  256. package/dist/index213.js.map +1 -0
  257. package/dist/index214.js +6 -0
  258. package/dist/index214.js.map +1 -0
  259. package/dist/index215.js +6 -0
  260. package/dist/index215.js.map +1 -0
  261. package/dist/index216.js +238 -0
  262. package/dist/index216.js.map +1 -0
  263. package/dist/index217.js +5 -0
  264. package/dist/index217.js.map +1 -0
  265. package/dist/index218.js +7 -0
  266. package/dist/index218.js.map +1 -0
  267. package/dist/index219.js +5 -0
  268. package/dist/index219.js.map +1 -0
  269. package/dist/index22.js +5 -0
  270. package/dist/index22.js.map +1 -0
  271. package/dist/index220.js +5 -0
  272. package/dist/index220.js.map +1 -0
  273. package/dist/index221.js +13 -0
  274. package/dist/index221.js.map +1 -0
  275. package/dist/index222.js +31 -0
  276. package/dist/index222.js.map +1 -0
  277. package/dist/index223.js +20 -0
  278. package/dist/index223.js.map +1 -0
  279. package/dist/index224.js +12 -0
  280. package/dist/index224.js.map +1 -0
  281. package/dist/index225.js +124 -0
  282. package/dist/index225.js.map +1 -0
  283. package/dist/index226.js +82 -0
  284. package/dist/index226.js.map +1 -0
  285. package/dist/index227.js +438 -0
  286. package/dist/index227.js.map +1 -0
  287. package/dist/index228.js +92 -0
  288. package/dist/index228.js.map +1 -0
  289. package/dist/index229.js +203 -0
  290. package/dist/index229.js.map +1 -0
  291. package/dist/index23.js +116 -0
  292. package/dist/index23.js.map +1 -0
  293. package/dist/index230.js +9 -0
  294. package/dist/index230.js.map +1 -0
  295. package/dist/index231.js +5 -0
  296. package/dist/index231.js.map +1 -0
  297. package/dist/index232.js +298 -0
  298. package/dist/index232.js.map +1 -0
  299. package/dist/index233.js +5 -0
  300. package/dist/index233.js.map +1 -0
  301. package/dist/index234.js +5 -0
  302. package/dist/index234.js.map +1 -0
  303. package/dist/index235.js +120 -0
  304. package/dist/index235.js.map +1 -0
  305. package/dist/index236.js +109 -0
  306. package/dist/index236.js.map +1 -0
  307. package/dist/index237.js +5 -0
  308. package/dist/index237.js.map +1 -0
  309. package/dist/index238.js +5 -0
  310. package/dist/index238.js.map +1 -0
  311. package/dist/index239.js +5 -0
  312. package/dist/index239.js.map +1 -0
  313. package/dist/index24.js +5 -0
  314. package/dist/index24.js.map +1 -0
  315. package/dist/index240.js +5 -0
  316. package/dist/index240.js.map +1 -0
  317. package/dist/index241.js +227 -0
  318. package/dist/index241.js.map +1 -0
  319. package/dist/index242.js +261 -0
  320. package/dist/index242.js.map +1 -0
  321. package/dist/index243.js +72 -0
  322. package/dist/index243.js.map +1 -0
  323. package/dist/index244.js +163 -0
  324. package/dist/index244.js.map +1 -0
  325. package/dist/index245.js +5 -0
  326. package/dist/index245.js.map +1 -0
  327. package/dist/index246.js +5 -0
  328. package/dist/index246.js.map +1 -0
  329. package/dist/index247.js +8 -0
  330. package/dist/index247.js.map +1 -0
  331. package/dist/index248.js +7 -0
  332. package/dist/index248.js.map +1 -0
  333. package/dist/index249.js +5 -0
  334. package/dist/index249.js.map +1 -0
  335. package/dist/index25.js +93 -0
  336. package/dist/index25.js.map +1 -0
  337. package/dist/index250.js +41 -0
  338. package/dist/index250.js.map +1 -0
  339. package/dist/index251.js +5 -0
  340. package/dist/index251.js.map +1 -0
  341. package/dist/index252.js +5 -0
  342. package/dist/index252.js.map +1 -0
  343. package/dist/index253.js +18 -0
  344. package/dist/index253.js.map +1 -0
  345. package/dist/index254.js +6 -0
  346. package/dist/index254.js.map +1 -0
  347. package/dist/index255.js +5 -0
  348. package/dist/index255.js.map +1 -0
  349. package/dist/index256.js +5 -0
  350. package/dist/index256.js.map +1 -0
  351. package/dist/index26.js +5 -0
  352. package/dist/index26.js.map +1 -0
  353. package/dist/index27.js +150 -0
  354. package/dist/index27.js.map +1 -0
  355. package/dist/index28.js +5 -0
  356. package/dist/index28.js.map +1 -0
  357. package/dist/index29.js +125 -0
  358. package/dist/index29.js.map +1 -0
  359. package/dist/index3.js +81 -0
  360. package/dist/index3.js.map +1 -0
  361. package/dist/index30.js +5 -0
  362. package/dist/index30.js.map +1 -0
  363. package/dist/index31.js +706 -0
  364. package/dist/index31.js.map +1 -0
  365. package/dist/index32.js +5 -0
  366. package/dist/index32.js.map +1 -0
  367. package/dist/index33.js +146 -0
  368. package/dist/index33.js.map +1 -0
  369. package/dist/index34.js +5 -0
  370. package/dist/index34.js.map +1 -0
  371. package/dist/index35.js +119 -0
  372. package/dist/index35.js.map +1 -0
  373. package/dist/index36.js +5 -0
  374. package/dist/index36.js.map +1 -0
  375. package/dist/index37.js +155 -0
  376. package/dist/index37.js.map +1 -0
  377. package/dist/index38.js +5 -0
  378. package/dist/index38.js.map +1 -0
  379. package/dist/index39.js +84 -0
  380. package/dist/index39.js.map +1 -0
  381. package/dist/index4.js +65 -0
  382. package/dist/index4.js.map +1 -0
  383. package/dist/index40.js +5 -0
  384. package/dist/index40.js.map +1 -0
  385. package/dist/index41.js +62 -0
  386. package/dist/index41.js.map +1 -0
  387. package/dist/index42.js +5 -0
  388. package/dist/index42.js.map +1 -0
  389. package/dist/index43.js +66 -0
  390. package/dist/index43.js.map +1 -0
  391. package/dist/index44.js +5 -0
  392. package/dist/index44.js.map +1 -0
  393. package/dist/index45.js +97 -0
  394. package/dist/index45.js.map +1 -0
  395. package/dist/index46.js +5 -0
  396. package/dist/index46.js.map +1 -0
  397. package/dist/index47.js +62 -0
  398. package/dist/index47.js.map +1 -0
  399. package/dist/index48.js +5 -0
  400. package/dist/index48.js.map +1 -0
  401. package/dist/index49.js +50 -0
  402. package/dist/index49.js.map +1 -0
  403. package/dist/index5.js +43 -0
  404. package/dist/index5.js.map +1 -0
  405. package/dist/index50.js +5 -0
  406. package/dist/index50.js.map +1 -0
  407. package/dist/index51.js +63 -0
  408. package/dist/index51.js.map +1 -0
  409. package/dist/index52.js +5 -0
  410. package/dist/index52.js.map +1 -0
  411. package/dist/index53.js +46 -0
  412. package/dist/index53.js.map +1 -0
  413. package/dist/index54.js +5 -0
  414. package/dist/index54.js.map +1 -0
  415. package/dist/index55.js +90 -0
  416. package/dist/index55.js.map +1 -0
  417. package/dist/index56.js +5 -0
  418. package/dist/index56.js.map +1 -0
  419. package/dist/index57.js +121 -0
  420. package/dist/index57.js.map +1 -0
  421. package/dist/index58.js +5 -0
  422. package/dist/index58.js.map +1 -0
  423. package/dist/index59.js +86 -0
  424. package/dist/index59.js.map +1 -0
  425. package/dist/index6.js +177 -0
  426. package/dist/index6.js.map +1 -0
  427. package/dist/index60.js +5 -0
  428. package/dist/index60.js.map +1 -0
  429. package/dist/index61.js +89 -0
  430. package/dist/index61.js.map +1 -0
  431. package/dist/index62.js +5 -0
  432. package/dist/index62.js.map +1 -0
  433. package/dist/index63.js +60 -0
  434. package/dist/index63.js.map +1 -0
  435. package/dist/index64.js +5 -0
  436. package/dist/index64.js.map +1 -0
  437. package/dist/index65.js +314 -0
  438. package/dist/index65.js.map +1 -0
  439. package/dist/index66.js +5 -0
  440. package/dist/index66.js.map +1 -0
  441. package/dist/index67.js +130 -0
  442. package/dist/index67.js.map +1 -0
  443. package/dist/index68.js +5 -0
  444. package/dist/index68.js.map +1 -0
  445. package/dist/index69.js +226 -0
  446. package/dist/index69.js.map +1 -0
  447. package/dist/index7.js +22 -0
  448. package/dist/index7.js.map +1 -0
  449. package/dist/index70.js +5 -0
  450. package/dist/index70.js.map +1 -0
  451. package/dist/index71.js +25 -0
  452. package/dist/index71.js.map +1 -0
  453. package/dist/index72.js +47 -0
  454. package/dist/index72.js.map +1 -0
  455. package/dist/index73.js +96 -0
  456. package/dist/index73.js.map +1 -0
  457. package/dist/index74.js +5 -0
  458. package/dist/index74.js.map +1 -0
  459. package/dist/index75.js +228 -0
  460. package/dist/index75.js.map +1 -0
  461. package/dist/index76.js +5 -0
  462. package/dist/index76.js.map +1 -0
  463. package/dist/index77.js +142 -0
  464. package/dist/index77.js.map +1 -0
  465. package/dist/index78.js +5 -0
  466. package/dist/index78.js.map +1 -0
  467. package/dist/index79.js +214 -0
  468. package/dist/index79.js.map +1 -0
  469. package/dist/index8.js +197 -0
  470. package/dist/index8.js.map +1 -0
  471. package/dist/index80.js +5 -0
  472. package/dist/index80.js.map +1 -0
  473. package/dist/index81.js +36 -0
  474. package/dist/index81.js.map +1 -0
  475. package/dist/index82.js +5 -0
  476. package/dist/index82.js.map +1 -0
  477. package/dist/index83.js +84 -0
  478. package/dist/index83.js.map +1 -0
  479. package/dist/index84.js +5 -0
  480. package/dist/index84.js.map +1 -0
  481. package/dist/index85.js +121 -0
  482. package/dist/index85.js.map +1 -0
  483. package/dist/index86.js +5 -0
  484. package/dist/index86.js.map +1 -0
  485. package/dist/index87.js +84 -0
  486. package/dist/index87.js.map +1 -0
  487. package/dist/index88.js +5 -0
  488. package/dist/index88.js.map +1 -0
  489. package/dist/index89.js +31 -0
  490. package/dist/index89.js.map +1 -0
  491. package/dist/index9.js +66 -0
  492. package/dist/index9.js.map +1 -0
  493. package/dist/index90.js +5 -0
  494. package/dist/index90.js.map +1 -0
  495. package/dist/index91.js +160 -0
  496. package/dist/index91.js.map +1 -0
  497. package/dist/index92.js +5 -0
  498. package/dist/index92.js.map +1 -0
  499. package/dist/index93.js +87 -0
  500. package/dist/index93.js.map +1 -0
  501. package/dist/index94.js +5 -0
  502. package/dist/index94.js.map +1 -0
  503. package/dist/index95.js +90 -0
  504. package/dist/index95.js.map +1 -0
  505. package/dist/index96.js +5 -0
  506. package/dist/index96.js.map +1 -0
  507. package/dist/index97.js +120 -0
  508. package/dist/index97.js.map +1 -0
  509. package/dist/index98.js +5 -0
  510. package/dist/index98.js.map +1 -0
  511. package/dist/index99.js +209 -0
  512. package/dist/index99.js.map +1 -0
  513. package/dist/{components → src/components}/BaseButton/BaseButton.vue.d.ts +2 -2
  514. package/dist/{components → src/components}/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +7 -7
  515. package/dist/{components → src/components}/BaseDialog/BaseDialog.vue.d.ts +2 -2
  516. package/dist/{components → src/components}/BaseRadioGroup/BaseRadioGroup.vue.d.ts +7 -7
  517. package/dist/{components → src/components}/BaseSelect/BaseSelect.vue.d.ts +16 -16
  518. package/dist/{components → src/components}/BbAccordion/BbAccordion.vue.d.ts +1 -1
  519. package/dist/{components → src/components}/BbAlert/BbAlert.vue.d.ts +1 -1
  520. package/dist/{components → src/components}/BbAvatar/BbAvatar.vue.d.ts +1 -1
  521. package/dist/{components → src/components}/BbBadge/BbBadge.vue.d.ts +1 -1
  522. package/dist/{components → src/components}/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -1
  523. package/dist/{components → src/components}/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +7 -7
  524. package/dist/{components → src/components}/BbChip/BbChip.vue.d.ts +1 -1
  525. package/dist/{components → src/components}/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
  526. package/dist/{components → src/components}/BbDropdown/BbDropdown.vue.d.ts +2 -2
  527. package/dist/{components → src/components}/BbDropzone/BbDropzone.vue.d.ts +1 -1
  528. package/dist/{components → src/components}/BbIcon/BbIcon.vue.d.ts +1 -1
  529. package/dist/{components → src/components}/BbIntersection/BbIntersection.vue.d.ts +1 -1
  530. package/dist/{components → src/components}/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  531. package/dist/{components → src/components}/BbPagination/BbPagination.vue.d.ts +1 -1
  532. package/dist/{components → src/components}/BbPopover/BbPopover.vue.d.ts +2 -2
  533. package/dist/{components → src/components}/BbRadioGroup/BbRadioGroup.vue.d.ts +7 -7
  534. package/dist/{components → src/components}/BbRatio/BbRatio.vue.d.ts +1 -1
  535. package/dist/{components → src/components}/BbSelect/BbSelect.vue.d.ts +16 -16
  536. package/dist/{components → src/components}/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -3
  537. package/dist/{components → src/components}/BbSpinner/BbSpinner.vue.d.ts +1 -1
  538. package/dist/{components → src/components}/BbTab/BbTab.vue.d.ts +6 -6
  539. package/dist/{components → src/components}/BbTable/BbTable.vue.d.ts +1 -1
  540. package/dist/{components → src/components}/BbTable/types.d.ts +1 -1
  541. package/dist/{components → src/components}/BbTooltip/BbTooltip.vue.d.ts +2 -2
  542. package/dist/{composables → src/composables}/useConfirm.d.ts +1 -1
  543. package/dist/{composables → src/composables}/useOptions.d.ts +1 -1
  544. package/dist/{composables → src/composables}/useToast.d.ts +1 -1
  545. package/dist/{composables → src/composables}/useWizard.d.ts +20 -32
  546. package/dist/style.css +1 -0
  547. package/package.json +3 -3
  548. package/dist/components/BbStep/BbStep.vue.d.ts +0 -143
  549. package/dist/components/HDAddressSelect.vue.d.ts +0 -89
  550. package/dist/{components → src/components}/BaseCheckbox/BaseCheckbox.vue.d.ts +0 -0
  551. package/dist/{components → src/components}/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
  552. package/dist/{components → src/components}/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +1 -1
  553. package/dist/{components → src/components}/BaseInputContainer/BaseInputContainer.vue.d.ts +0 -0
  554. package/dist/{components → src/components}/BaseNumberInput/BaseNumberInput.vue.d.ts +0 -0
  555. package/dist/{components → src/components}/BaseRadio/BaseRadio.vue.d.ts +0 -0
  556. package/dist/{components → src/components}/BaseRating/BaseRating.vue.d.ts +1 -1
  557. package/dist/{components → src/components}/BaseSlider/BaseSlider.vue.d.ts +2 -2
  558. package/dist/{components → src/components}/BaseSwitch/BaseSwitch.vue.d.ts +0 -0
  559. package/dist/{components → src/components}/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +6 -6
  560. package/dist/{components → src/components}/BaseTag/BaseTag.vue.d.ts +1 -1
  561. package/dist/{components → src/components}/BaseTextInput/BaseTextInput.vue.d.ts +0 -0
  562. package/dist/{components → src/components}/BaseTextarea/BaseTextarea.vue.d.ts +0 -0
  563. package/dist/{components → src/components}/BbButton/BbButton.vue.d.ts +0 -0
  564. package/dist/{components → src/components}/BbCheckbox/BbCheckbox.vue.d.ts +0 -0
  565. package/dist/{components → src/components}/BbConfirm/BbConfirm.vue.d.ts +0 -0
  566. package/dist/{components → src/components}/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
  567. package/dist/{components → src/components}/BbDialog/BbDialog.vue.d.ts +0 -0
  568. package/dist/{components → src/components}/BbDropdownButton/BbDropdownButton.vue.d.ts +0 -0
  569. package/dist/{components → src/components}/BbHover/BbHover.vue.d.ts +0 -0
  570. package/dist/{components → src/components}/BbNumberInput/BbNumberInput.vue.d.ts +0 -0
  571. package/dist/{components → src/components}/BbProgress/BbProgress.vue.d.ts +0 -0
  572. package/dist/{components → src/components}/BbRadio/BbRadio.vue.d.ts +0 -0
  573. package/dist/{components → src/components}/BbRating/BbRating.vue.d.ts +1 -1
  574. package/dist/{components → src/components}/BbSlider/BbSlider.vue.d.ts +2 -2
  575. package/dist/{components → src/components}/BbSwitch/BbSwitch.vue.d.ts +0 -0
  576. package/dist/{components → src/components}/BbSwitchGroup/BbSwitchGroup.vue.d.ts +6 -6
  577. package/dist/{components → src/components}/BbTag/BbTag.vue.d.ts +1 -1
  578. /package/dist/{components → src/components}/BbTextInput/BbTextInput.vue.d.ts +0 -0
  579. /package/dist/{components → src/components}/BbTextarea/BbTextarea.vue.d.ts +0 -0
  580. /package/dist/{components → src/components}/BbToast/BbToast.vue.d.ts +0 -0
  581. /package/dist/{components → src/components}/BbToast/BbToastMessage.vue.d.ts +0 -0
  582. /package/dist/{components → src/components}/BbTree/BbTree.vue.d.ts +0 -0
  583. /package/dist/{composables → src/composables}/useBroadcastChannelInstance.d.ts +0 -0
  584. /package/dist/{composables → src/composables}/useCountdown.d.ts +0 -0
  585. /package/dist/{composables → src/composables}/useId.d.ts +0 -0
  586. /package/dist/{composables → src/composables}/useItemText.d.ts +0 -0
  587. /package/dist/{composables → src/composables}/useItemValue.d.ts +0 -0
  588. /package/dist/{composables → src/composables}/useRoute.d.ts +0 -0
  589. /package/dist/{composables → src/composables}/useRouter.d.ts +0 -0
  590. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  591. /package/dist/{types → src/types}/Classes.d.ts +0 -0
  592. /package/dist/{types → src/types}/CommonProps.d.ts +0 -0
  593. /package/dist/{types → src/types}/ExtractGenericFromComputedRef.d.ts +0 -0
  594. /package/dist/{types → src/types}/ExtractGenericFromRef.d.ts +0 -0
  595. /package/dist/{types → src/types}/NestedKeyOf.d.ts +0 -0
  596. /package/dist/{types → src/types}/Simplify.d.ts +0 -0
  597. /package/dist/{types → src/types}/VoidHtmlElements.d.ts +0 -0
  598. /package/dist/{utilities → src/utilities}/functions/add.d.ts +0 -0
  599. /package/dist/{utilities → src/utilities}/functions/booleanishToBoolean.d.ts +0 -0
  600. /package/dist/{utilities → src/utilities}/functions/capitalize.d.ts +0 -0
  601. /package/dist/{utilities → src/utilities}/functions/clamp.d.ts +0 -0
  602. /package/dist/{utilities → src/utilities}/functions/cloneDeep.d.ts +0 -0
  603. /package/dist/{utilities → src/utilities}/functions/curry.d.ts +0 -0
  604. /package/dist/{utilities → src/utilities}/functions/debounce.d.ts +0 -0
  605. /package/dist/{utilities → src/utilities}/functions/deburr.d.ts +0 -0
  606. /package/dist/{utilities → src/utilities}/functions/drop.d.ts +0 -0
  607. /package/dist/{utilities → src/utilities}/functions/empty.d.ts +0 -0
  608. /package/dist/{utilities → src/utilities}/functions/findInTree.d.ts +0 -0
  609. /package/dist/{utilities → src/utilities}/functions/findRight.d.ts +0 -0
  610. /package/dist/{utilities → src/utilities}/functions/findRightIndex.d.ts +0 -0
  611. /package/dist/{utilities → src/utilities}/functions/flattenTree.d.ts +0 -0
  612. /package/dist/{utilities → src/utilities}/functions/flow.d.ts +0 -0
  613. /package/dist/{utilities → src/utilities}/functions/get.d.ts +0 -0
  614. /package/dist/{utilities → src/utilities}/functions/groupBy.d.ts +0 -0
  615. /package/dist/{utilities → src/utilities}/functions/gt.d.ts +0 -0
  616. /package/dist/{utilities → src/utilities}/functions/head.d.ts +0 -0
  617. /package/dist/{utilities → src/utilities}/functions/identity.d.ts +0 -0
  618. /package/dist/{utilities → src/utilities}/functions/includes.d.ts +0 -0
  619. /package/dist/{utilities → src/utilities}/functions/indexBy.d.ts +0 -0
  620. /package/dist/{utilities → src/utilities}/functions/initial.d.ts +0 -0
  621. /package/dist/{utilities → src/utilities}/functions/isCssColor.d.ts +0 -0
  622. /package/dist/{utilities → src/utilities}/functions/isNil.d.ts +0 -0
  623. /package/dist/{utilities → src/utilities}/functions/isNotNil.d.ts +0 -0
  624. /package/dist/{utilities → src/utilities}/functions/last.d.ts +0 -0
  625. /package/dist/{utilities → src/utilities}/functions/lt.d.ts +0 -0
  626. /package/dist/{utilities → src/utilities}/functions/makeUrl.d.ts +0 -0
  627. /package/dist/{utilities → src/utilities}/functions/mapKeys.d.ts +0 -0
  628. /package/dist/{utilities → src/utilities}/functions/mapValues.d.ts +0 -0
  629. /package/dist/{utilities → src/utilities}/functions/matchesPropertyInsensitive.d.ts +0 -0
  630. /package/dist/{utilities → src/utilities}/functions/mean.d.ts +0 -0
  631. /package/dist/{utilities → src/utilities}/functions/merge.d.ts +0 -0
  632. /package/dist/{utilities → src/utilities}/functions/millisecondsTo.d.ts +0 -0
  633. /package/dist/{utilities → src/utilities}/functions/negate.d.ts +0 -0
  634. /package/dist/{utilities → src/utilities}/functions/noop.d.ts +0 -0
  635. /package/dist/{utilities → src/utilities}/functions/omit.d.ts +0 -0
  636. /package/dist/{utilities → src/utilities}/functions/overEvery.d.ts +0 -0
  637. /package/dist/{utilities → src/utilities}/functions/percentage.d.ts +0 -0
  638. /package/dist/{utilities → src/utilities}/functions/pick.d.ts +0 -0
  639. /package/dist/{utilities → src/utilities}/functions/pickBy.d.ts +0 -0
  640. /package/dist/{utilities → src/utilities}/functions/replace.d.ts +0 -0
  641. /package/dist/{utilities → src/utilities}/functions/replaceInTree.d.ts +0 -0
  642. /package/dist/{utilities → src/utilities}/functions/retry.d.ts +0 -0
  643. /package/dist/{utilities → src/utilities}/functions/roundToTheNearest.d.ts +0 -0
  644. /package/dist/{utilities → src/utilities}/functions/set.d.ts +0 -0
  645. /package/dist/{utilities → src/utilities}/functions/snakeCase.d.ts +0 -0
  646. /package/dist/{utilities → src/utilities}/functions/throttle.d.ts +0 -0
  647. /package/dist/{utilities → src/utilities}/functions/tryTo.d.ts +0 -0
  648. /package/dist/{utilities → src/utilities}/functions/wait.d.ts +0 -0
  649. /package/dist/{utilities → src/utilities}/functions/waitFor.d.ts +0 -0
  650. /package/dist/{utilities → src/utilities}/functions/when.d.ts +0 -0
@@ -0,0 +1,97 @@
1
+ import { defineComponent as h, ref as v, watch as C, openBlock as s, createBlock as a, normalizeClass as k, withCtx as i, createElementVNode as t, createCommentVNode as r, renderSlot as n, normalizeProps as c, guardReactiveProps as d, createTextVNode as m, toDisplayString as u } from "vue";
2
+ import w from "./index9.js";
3
+ import "./index10.js";
4
+ import V from "./index116.js";
5
+ import "./index160.js";
6
+ import y from "./index117.js";
7
+ import "./index169.js";
8
+ const z = {
9
+ class: "bb-alert__inner-container",
10
+ role: "alert"
11
+ }, $ = { class: "bb-alert__icon-container" }, g = { class: "bb-alert__content" }, B = { class: "bb-alert__title" }, L = { class: "bb-alert__text" }, S = { class: "bb-alert__close" }, N = /* @__PURE__ */ t("svg", {
12
+ fill: "none",
13
+ viewBox: "0 0 24 24",
14
+ xmlns: "http://www.w3.org/2000/svg"
15
+ }, [
16
+ /* @__PURE__ */ t("path", {
17
+ d: "M23 23L1 1M23 1L1 23",
18
+ stroke: "currentColor",
19
+ "stroke-linecap": "round",
20
+ "stroke-width": "2"
21
+ })
22
+ ], -1), q = /* @__PURE__ */ h({
23
+ __name: "BbAlert",
24
+ props: {
25
+ closeLabel: { default: "Chiudi" },
26
+ showClose: { type: Boolean },
27
+ text: {},
28
+ theme: { default: "default" },
29
+ title: {},
30
+ icon: {},
31
+ iconSize: {},
32
+ modelValue: {}
33
+ },
34
+ emits: ["update:modelValue"],
35
+ setup(_, { emit: p }) {
36
+ const l = _, b = p, o = v(
37
+ l.modelValue === void 0 ? !0 : !!l.modelValue
38
+ );
39
+ C(
40
+ () => l.modelValue,
41
+ (e) => {
42
+ o.value !== !!e && (o.value = !!e);
43
+ }
44
+ );
45
+ const f = () => {
46
+ o.value = !1, b("update:modelValue", !1);
47
+ };
48
+ return (e, M) => (s(), a(V, {
49
+ class: k(["bb-alert", { [`bb-alert--${e.theme}`]: e.theme }]),
50
+ "model-value": o.value
51
+ }, {
52
+ default: i(() => [
53
+ t("div", z, [
54
+ t("div", $, [
55
+ e.icon ? (s(), a(y, {
56
+ key: 0,
57
+ class: "bb-alert__icon",
58
+ size: e.iconSize,
59
+ type: e.icon
60
+ }, null, 8, ["size", "type"])) : r("", !0)
61
+ ]),
62
+ t("div", g, [
63
+ t("p", B, [
64
+ n(e.$slots, "title", c(d({ text: e.title })), () => [
65
+ m(u(e.title), 1)
66
+ ])
67
+ ]),
68
+ t("p", L, [
69
+ n(e.$slots, "text", c(d({ text: e.text })), () => [
70
+ m(u(e.text), 1)
71
+ ])
72
+ ])
73
+ ]),
74
+ t("div", S, [
75
+ e.showClose ? (s(), a(w, {
76
+ key: 0,
77
+ "aria-label": e.closeLabel,
78
+ block: "",
79
+ class: "bb-alert__close-btn",
80
+ onClick: f
81
+ }, {
82
+ default: i(() => [
83
+ N
84
+ ]),
85
+ _: 1
86
+ }, 8, ["aria-label"])) : r("", !0)
87
+ ])
88
+ ])
89
+ ]),
90
+ _: 3
91
+ }, 8, ["class", "model-value"]));
92
+ }
93
+ });
94
+ export {
95
+ q as default
96
+ };
97
+ //# sourceMappingURL=index45.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index45.js","sources":["../src/components/BbAlert/BbAlert.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n class: \"bb-alert__inner-container\",\n role: \"alert\"\n}\nconst _hoisted_2 = { class: \"bb-alert__icon-container\" }\nconst _hoisted_3 = { class: \"bb-alert__content\" }\nconst _hoisted_4 = { class: \"bb-alert__title\" }\nconst _hoisted_5 = { class: \"bb-alert__text\" }\nconst _hoisted_6 = { class: \"bb-alert__close\" }\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"svg\", {\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M23 23L1 1M23 1L1 23\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-width\": \"2\"\n })\n], -1)\n\nimport { ref, watch } from 'vue';\nimport BaseButton from '../BaseButton/BaseButton.vue';\nimport BbCollapsible from '../BbCollapsible/BbCollapsible.vue';\nimport BbIcon from '../BbIcon/BbIcon.vue';\nimport type { BbIconProps } from '../BbIcon/BbIcon.vue';\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type BbAlertProps = Pick<\n\tCommonProps,\n\t'closeLabel' | 'showClose' | 'text' | 'theme' | 'title'\n> & {\n\t/**\n\t * Name of the icon to use\n\t */\n\ticon?: BbIconProps['type'];\n\t/**\n\t * Size of the icon to use\n\t */\n\ticonSize?: BbIconProps['size'];\n\t/**\n\t * Used by v-model, set type to any to avoid Vue casting it as false\n\t */\n\tmodelValue?: any;\n};\n\nexport type BbAlertEvents = {\n\t(e: 'update:modelValue', value: boolean): void;\n};\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbAlert',\n props: {\n closeLabel: { default: 'Chiudi' },\n showClose: { type: Boolean },\n text: {},\n theme: { default: 'default' },\n title: {},\n icon: {},\n iconSize: {},\n modelValue: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst innerValue = ref(\n\tprops.modelValue === undefined ? true : !!props.modelValue\n);\n\nwatch(\n\t() => props.modelValue,\n\t(value) => {\n\t\tif (innerValue.value !== !!value) {\n\t\t\tinnerValue.value = !!value;\n\t\t}\n\t}\n);\n\nconst onClickClose = () => {\n\tinnerValue.value = false;\n\temit('update:modelValue', false);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BbCollapsible, {\n class: _normalizeClass([\"bb-alert\", { [`bb-alert--${_ctx.theme}`]: _ctx.theme }]),\n \"model-value\": innerValue.value\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.icon)\n ? (_openBlock(), _createBlock(BbIcon, {\n key: 0,\n class: \"bb-alert__icon\",\n size: _ctx.iconSize,\n type: _ctx.icon\n }, null, 8, [\"size\", \"type\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, [\n _renderSlot(_ctx.$slots, \"title\", _normalizeProps(_guardReactiveProps({ text: _ctx.title })), () => [\n _createTextVNode(_toDisplayString(_ctx.title), 1)\n ])\n ]),\n _createElementVNode(\"p\", _hoisted_5, [\n _renderSlot(_ctx.$slots, \"text\", _normalizeProps(_guardReactiveProps({ text: _ctx.text })), () => [\n _createTextVNode(_toDisplayString(_ctx.text), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (_ctx.showClose)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n \"aria-label\": _ctx.closeLabel,\n block: \"\",\n class: \"bb-alert__close-btn\",\n onClick: onClickClose\n }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }, 8, [\"aria-label\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 3\n }, 8, [\"class\", \"model-value\"]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_sfc_main","_defineComponent","__props","__emit","props","emit","innerValue","ref","watch","value","onClickClose","_ctx","_cache","_openBlock","_createBlock","BbCollapsible","_normalizeClass","_withCtx","_createElementVNode","BbIcon","_createCommentVNode","_renderSlot","_normalizeProps","_guardReactiveProps","_createTextVNode","_toDisplayString","BaseButton"],"mappings":";;;;;;;AAGA,MAAMA,IAAa;AAAA,EACjB,OAAO;AAAA,EACP,MAAM;AACR,GACMC,IAAa,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,IAAI,EAAI;AAAA,UAAA,CACjC;AAAA,QAAA,CACF;AAAA,MAAA,CACF;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,SAAS,aAAa,CAAC;AAAA,EAEhC;AAEA,CAAC;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index46.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index46.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,62 @@
1
+ import { defineComponent as p, computed as u, ref as d, watch as f, openBlock as a, createElementBlock as l, normalizeProps as b, guardReactiveProps as z, createElementVNode as v, renderSlot as g, createCommentVNode as h } from "vue";
2
+ import { isCssColor as _ } from "./index217.js";
3
+ const k = { class: "bb-avatar__fallback" }, C = ["alt", "sizes", "src", "srcset"], B = /* @__PURE__ */ p({
4
+ __name: "BbAvatar",
5
+ props: {
6
+ color: {},
7
+ size: {},
8
+ sizes: {},
9
+ alt: {},
10
+ src: {},
11
+ srcset: {}
12
+ },
13
+ setup(c) {
14
+ const e = c, i = {
15
+ xs: 24,
16
+ sm: 32,
17
+ md: 40,
18
+ lg: 56,
19
+ xl: 80,
20
+ xxl: 104
21
+ }, n = u(() => {
22
+ const s = {
23
+ "bb-avatar": !0
24
+ };
25
+ let r;
26
+ e.size && (typeof e.size == "string" ? r = i[e.size] ?? parseInt(e.size, 10) : r = e.size, r += "px");
27
+ let o = {
28
+ width: r,
29
+ height: r
30
+ };
31
+ return e.color && (_(e.color) ? o.backgroundColor = e.color : s[`bb-avatar--${e.color}`] = !0), {
32
+ class: s,
33
+ style: o
34
+ };
35
+ }), t = d(!1), m = () => {
36
+ t.value = !0;
37
+ };
38
+ return f(
39
+ () => [e.src, e.srcset],
40
+ () => {
41
+ t.value = !1;
42
+ }
43
+ ), (s, r) => (a(), l("span", b(z(n.value)), [
44
+ v("span", k, [
45
+ g(s.$slots, "default")
46
+ ]),
47
+ (s.src || s.srcset) && !t.value ? (a(), l("img", {
48
+ key: 0,
49
+ alt: s.alt,
50
+ class: "bb-avatar__img",
51
+ sizes: s.sizes,
52
+ src: s.src,
53
+ srcset: s.srcset,
54
+ onError: m
55
+ }, null, 40, C)) : h("", !0)
56
+ ], 16));
57
+ }
58
+ });
59
+ export {
60
+ B as default
61
+ };
62
+ //# sourceMappingURL=index47.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index47.js","sources":["../src/components/BbAvatar/BbAvatar.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-avatar__fallback\" }\nconst _hoisted_2 = [\"alt\", \"sizes\", \"src\", \"srcset\"]\n\nimport { computed, ref, watch } from 'vue';\nimport { isCssColor } from '@/utilities/functions/isCssColor';\nimport type { Classes } from '@/types/Classes';\nimport type { CommonProps } from '@/types/CommonProps';\nimport type { BbIconProps, Size } from '../BbIcon/BbIcon.vue';\n\nexport type BbAvatarProps = Pick<CommonProps, 'color'> &\n\tPick<BbIconProps, 'size'> & {\n\t\t/**\n\t\t * Attribute `sizes` for the `img` tag\n\t\t */\n\t\tsizes?: HTMLImageElement['sizes'];\n\t\t/**\n\t\t * Attribute `alt` for the `img` tag\n\t\t */\n\t\talt: HTMLImageElement['alt'];\n\t} & (\n\t\t| {\n\t\t\t\t/**\n\t\t\t\t * Attribute `src` for the `img` tag\n\t\t\t\t */\n\t\t\t\tsrc: HTMLImageElement['src'];\n\t\t\t\t/**\n\t\t\t\t * Attribute `srcset` for the `img` tag\n\t\t\t\t */\n\t\t\t\tsrcset?: HTMLImageElement['srcset'];\n\t\t }\n\t\t| {\n\t\t\t\t/**\n\t\t\t\t * Attribute `src` for the `img` tag\n\t\t\t\t */\n\t\t\t\tsrc?: HTMLImageElement['src'];\n\t\t\t\t/**\n\t\t\t\t * Attribute `srcset` for the `img` tag\n\t\t\t\t */\n\t\t\t\tsrcset: HTMLImageElement['srcset'];\n\t\t }\n\t);\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbAvatar',\n props: {\n color: {},\n size: {},\n sizes: {},\n alt: {},\n src: {},\n srcset: {}\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\nconst sizeMap: Size = {\n\txs: 24,\n\tsm: 32,\n\tmd: 40,\n\tlg: 56,\n\txl: 80,\n\txxl: 104,\n};\n\nconst attributes = computed(() => {\n\tconst classes: Classes = {\n\t\t'bb-avatar': true,\n\t};\n\tlet dimension: any;\n\tif (props.size) {\n\t\tif (typeof props.size === 'string') {\n\t\t\tdimension = sizeMap[props.size as keyof Size] ?? parseInt(props.size, 10);\n\t\t} else {\n\t\t\tdimension = props.size;\n\t\t}\n\t\tdimension += `px`;\n\t}\n\n\tlet style: { [key: string]: any } = {\n\t\twidth: dimension,\n\t\theight: dimension,\n\t};\n\tif (props.color) {\n\t\tif (isCssColor(props.color)) {\n\t\t\tstyle.backgroundColor = props.color;\n\t\t} else {\n\t\t\tclasses[`bb-avatar--${props.color}`] = true;\n\t\t}\n\t}\n\treturn {\n\t\tclass: classes,\n\t\tstyle,\n\t};\n});\n\nconst imageHasErrored = ref(false);\nconst onImageError = () => {\n\timageHasErrored.value = true;\n};\nwatch(\n\t() => [props.src, props.srcset],\n\t() => {\n\t\timageHasErrored.value = false;\n\t}\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _normalizeProps(_guardReactiveProps(attributes.value)), [\n _createElementVNode(\"span\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n (!!(_ctx.src || _ctx.srcset) && !imageHasErrored.value)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n alt: _ctx.alt,\n class: \"bb-avatar__img\",\n sizes: _ctx.sizes,\n src: _ctx.src,\n srcset: _ctx.srcset,\n onError: onImageError\n }, null, 40, _hoisted_2))\n : _createCommentVNode(\"\", true)\n ], 16))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_sfc_main","_defineComponent","__props","props","sizeMap","attributes","computed","classes","dimension","style","isCssColor","imageHasErrored","ref","onImageError","watch","_ctx","_cache","_openBlock","_createElementBlock","_normalizeProps","_guardReactiveProps","_createElementVNode","_renderSlot","_createCommentVNode"],"mappings":";;AAGA,MAAMA,IAAa,EAAE,OAAO,yBACtBC,IAAa,CAAC,OAAO,SAAS,OAAO,QAAQ,GA0CvBC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,CAAC;AAAA,IACR,MAAM,CAAC;AAAA,IACP,OAAO,CAAC;AAAA,IACR,KAAK,CAAC;AAAA,IACN,KAAK,CAAC;AAAA,IACN,QAAQ,CAAC;AAAA,EACX;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD,GAIRE,IAAgB;AAAA,MACrB,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,KAAK;AAAA,IAAA,GAGAC,IAAaC,EAAS,MAAM;AACjC,YAAMC,IAAmB;AAAA,QACxB,aAAa;AAAA,MAAA;AAEV,UAAAC;AACJ,MAAIL,EAAM,SACL,OAAOA,EAAM,QAAS,WACzBK,IAAYJ,EAAQD,EAAM,IAAkB,KAAK,SAASA,EAAM,MAAM,EAAE,IAExEK,IAAYL,EAAM,MAENK,KAAA;AAGd,UAAIC,IAAgC;AAAA,QACnC,OAAOD;AAAA,QACP,QAAQA;AAAA,MAAA;AAET,aAAIL,EAAM,UACLO,EAAWP,EAAM,KAAK,IACzBM,EAAM,kBAAkBN,EAAM,QAE9BI,EAAQ,cAAcJ,EAAM,KAAK,EAAE,IAAI,KAGlC;AAAA,QACN,OAAOI;AAAA,QACP,OAAAE;AAAA,MAAA;AAAA,IACD,CACA,GAEKE,IAAkBC,EAAI,EAAK,GAC3BC,IAAe,MAAM;AAC1B,MAAAF,EAAgB,QAAQ;AAAA,IAAA;AAEzB,WAAAG;AAAA,MACC,MAAM,CAACX,EAAM,KAAKA,EAAM,MAAM;AAAA,MAC9B,MAAM;AACL,QAAAQ,EAAgB,QAAQ;AAAA,MACzB;AAAA,IAAA,GAGM,CAACI,GAAUC,OACRC,EAAA,GAAcC,EAAoB,QAAQC,EAAgBC,EAAoBf,EAAW,KAAK,CAAC,GAAG;AAAA,MACxGgB,EAAoB,QAAQvB,GAAY;AAAA,QACtCwB,EAAYP,EAAK,QAAQ,SAAS;AAAA,MAAA,CACnC;AAAA,OACGA,EAAK,OAAOA,EAAK,WAAW,CAACJ,EAAgB,SAC5CM,KAAcC,EAAoB,OAAO;AAAA,QACxC,KAAK;AAAA,QACL,KAAKH,EAAK;AAAA,QACV,OAAO;AAAA,QACP,OAAOA,EAAK;AAAA,QACZ,KAAKA,EAAK;AAAA,QACV,QAAQA,EAAK;AAAA,QACb,SAASF;AAAA,MAAA,GACR,MAAM,IAAId,CAAU,KACvBwB,EAAoB,IAAI,EAAI;AAAA,OAC/B,EAAE;AAAA,EAEP;AAEA,CAAC;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index48.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index48.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,50 @@
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 "./index217.js";
3
+ import { isNil as B } from "./index120.js";
4
+ const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
+ __name: "BbBadge",
6
+ props: {
7
+ color: {},
8
+ bottom: { type: Boolean },
9
+ content: {},
10
+ floating: { type: Boolean },
11
+ left: { type: Boolean }
12
+ },
13
+ setup(b) {
14
+ const a = d(), e = b, c = n(() => ({
15
+ "bb-badge": !0,
16
+ "bb-badge--bottom": e.bottom,
17
+ "bb-badge--left": e.left,
18
+ "bb-badge--positioned": a.default,
19
+ "bb-badge--floating": e.floating,
20
+ "bb-badge--empty": B(e.content),
21
+ [`bb-badge--${e.color}`]: e.color && !r(e.color)
22
+ })), i = n(() => {
23
+ let t = {};
24
+ e.color && r(e.color) && (t.backgroundColor = e.color);
25
+ let o = {};
26
+ return a.wrap && (o["aria-atomic"] = !0, o["aria-live"] = "polite", o.role = "status"), {
27
+ style: t,
28
+ ...o
29
+ };
30
+ });
31
+ return (t, o) => (m(), u("span", {
32
+ class: g(c.value)
33
+ }, [
34
+ s("span", C, [
35
+ l(t.$slots, "default"),
36
+ s("span", f({ class: "bb-badge__content-container" }, i.value), [
37
+ s("span", h, [
38
+ l(t.$slots, "content", {}, () => [
39
+ _(y(t.content), 1)
40
+ ])
41
+ ])
42
+ ], 16)
43
+ ])
44
+ ], 2));
45
+ }
46
+ });
47
+ export {
48
+ S as default
49
+ };
50
+ //# sourceMappingURL=index49.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index49.js","sources":["../src/components/BbBadge/BbBadge.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, mergeProps as _mergeProps, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bb-badge__wrapper\" }\nconst _hoisted_2 = { class: \"bb-badge__content-inner\" }\n\nimport { computed, useSlots } from 'vue';\nimport { isCssColor } from '@/utilities/functions/isCssColor';\nimport { isNil } from '@/utilities/functions/isNil';\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type BbBadgeProps = Pick<CommonProps, 'color'> & {\n\t/**\n\t * Displays the badge on the bottom of the wrapped component.\n\t */\n\tbottom?: boolean;\n\t/**\n\t * Text content of the badge\n\t */\n\tcontent?: string | number | null;\n\t/**\n\t * Renders the badge i little firther from the wrapped\n\t * component making it look like it's floating\n\t * and not stacked.\n\t */\n\tfloating?: boolean;\n\t/**\n\t * Displays the badge on the left of the wrapped component.\n\t */\n\tleft?: boolean;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbBadge',\n props: {\n color: {},\n bottom: { type: Boolean },\n content: {},\n floating: { type: Boolean },\n left: { type: Boolean }\n },\n setup(__props: any) {\n\nconst slots = useSlots();\n\nconst props = __props;\n\n\n\nconst classes = computed(() => {\n\treturn {\n\t\t'bb-badge': true,\n\t\t'bb-badge--bottom': props.bottom,\n\t\t'bb-badge--left': props.left,\n\t\t'bb-badge--positioned': slots.default,\n\t\t'bb-badge--floating': props.floating,\n\t\t'bb-badge--empty': isNil(props.content),\n\t\t[`bb-badge--${props.color}`]: props.color && !isCssColor(props.color),\n\t};\n});\n\nconst contentAttributes = computed(() => {\n\tlet style: Record<string, string> = {};\n\tif (props.color && isCssColor(props.color)) {\n\t\tstyle.backgroundColor = props.color;\n\t}\n\n\tlet accessibilityAttributes: Record<string, string | boolean> = {};\n\tif (slots.wrap) {\n\t\taccessibilityAttributes['aria-atomic'] = true;\n\t\taccessibilityAttributes['aria-live'] = 'polite';\n\t\taccessibilityAttributes['role'] = 'status';\n\t}\n\treturn {\n\t\tstyle,\n\t\t...accessibilityAttributes,\n\t};\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n class: _normalizeClass(classes.value)\n }, [\n _createElementVNode(\"span\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\"),\n _createElementVNode(\"span\", _mergeProps({ class: \"bb-badge__content-container\" }, contentAttributes.value), [\n _createElementVNode(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"content\", {}, () => [\n _createTextVNode(_toDisplayString(_ctx.content), 1)\n ])\n ])\n ], 16)\n ])\n ], 2))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_sfc_main","_defineComponent","__props","slots","useSlots","props","classes","computed","isNil","isCssColor","contentAttributes","style","accessibilityAttributes","_ctx","_cache","_openBlock","_createElementBlock","_normalizeClass","_createElementVNode","_renderSlot","_mergeProps","_createTextVNode","_toDisplayString"],"mappings":";;;AAGA,MAAMA,IAAa,EAAE,OAAO,uBACtBC,IAAa,EAAE,OAAO,6BA6BAC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,CAAC;AAAA,IACR,QAAQ,EAAE,MAAM,QAAQ;AAAA,IACxB,SAAS,CAAC;AAAA,IACV,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,MAAM,EAAE,MAAM,QAAQ;AAAA,EACxB;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQC,KAERC,IAAQH,GAIRI,IAAUC,EAAS,OACjB;AAAA,MACN,YAAY;AAAA,MACZ,oBAAoBF,EAAM;AAAA,MAC1B,kBAAkBA,EAAM;AAAA,MACxB,wBAAwBF,EAAM;AAAA,MAC9B,sBAAsBE,EAAM;AAAA,MAC5B,mBAAmBG,EAAMH,EAAM,OAAO;AAAA,MACtC,CAAC,aAAaA,EAAM,KAAK,EAAE,GAAGA,EAAM,SAAS,CAACI,EAAWJ,EAAM,KAAK;AAAA,IAAA,EAErE,GAEKK,IAAoBH,EAAS,MAAM;AACxC,UAAII,IAAgC,CAAA;AACpC,MAAIN,EAAM,SAASI,EAAWJ,EAAM,KAAK,MACxCM,EAAM,kBAAkBN,EAAM;AAG/B,UAAIO,IAA4D,CAAA;AAChE,aAAIT,EAAM,SACTS,EAAwB,aAAa,IAAI,IACzCA,EAAwB,WAAW,IAAI,UACvCA,EAAwB,OAAU,WAE5B;AAAA,QACN,OAAAD;AAAA,QACA,GAAGC;AAAA,MAAA;AAAA,IACJ,CACA;AAEM,WAAA,CAACC,GAAUC,OACRC,EAAA,GAAcC,EAAoB,QAAQ;AAAA,MAChD,OAAOC,EAAgBX,EAAQ,KAAK;AAAA,IAAA,GACnC;AAAA,MACDY,EAAoB,QAAQpB,GAAY;AAAA,QACtCqB,EAAYN,EAAK,QAAQ,SAAS;AAAA,QAClCK,EAAoB,QAAQE,EAAY,EAAE,OAAO,iCAAiCV,EAAkB,KAAK,GAAG;AAAA,UAC1GQ,EAAoB,QAAQnB,GAAY;AAAA,YACtCoB,EAAYN,EAAK,QAAQ,WAAW,IAAI,MAAM;AAAA,cAC5CQ,EAAiBC,EAAiBT,EAAK,OAAO,GAAG,CAAC;AAAA,YAAA,CACnD;AAAA,UAAA,CACF;AAAA,WACA,EAAE;AAAA,MAAA,CACN;AAAA,OACA,CAAC;AAAA,EAEN;AAEA,CAAC;"}
package/dist/index5.js ADDED
@@ -0,0 +1,43 @@
1
+ import { wait as p } from "./index122.js";
2
+ import { reactive as d } from "vue";
3
+ import { useId as h } from "./index7.js";
4
+ const i = d({
5
+ stack: []
6
+ }), b = () => {
7
+ const c = (t) => i.stack = i.stack.filter((o) => o.id !== t);
8
+ return {
9
+ toast: (t) => {
10
+ const o = h().id.value;
11
+ let l, e, n, s, f;
12
+ const u = 6e3;
13
+ if (typeof t == "string")
14
+ e = t;
15
+ else {
16
+ if (typeof t.timeout == "number" && t.timeout <= 0)
17
+ throw new Error("Toast messages cannot have a zero or less timeout");
18
+ n = t.icon, f = t.showClose, e = t.text, s = t.theme, l = t.title;
19
+ }
20
+ if (i.stack = i.stack.concat({
21
+ icon: n,
22
+ id: o,
23
+ showClose: f,
24
+ text: e,
25
+ theme: s,
26
+ title: l
27
+ }), typeof t == "object" && !t.persistent || typeof t == "string") {
28
+ let r;
29
+ typeof t == "object" && t.timeout ? r = t.timeout : r = u, p(r).then(() => {
30
+ c(o);
31
+ });
32
+ }
33
+ return o;
34
+ },
35
+ dismiss: c,
36
+ dismissAll: () => i.stack = []
37
+ };
38
+ };
39
+ export {
40
+ i as state,
41
+ b as useToast
42
+ };
43
+ //# sourceMappingURL=index5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index5.js","sources":["../src/composables/useToast.ts"],"sourcesContent":["import { wait } from '@/utilities/functions/wait';\nimport { reactive } from 'vue';\nimport { useId } from './useId';\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type Message = {\n\t/**\n\t * Title of the message. Displayed in a more prominant fashion.\n\t */\n\ttitle?: string;\n\t/**\n\t * Text content of the toast message.\n\t */\n\ttext: string;\n\t/**\n\t * Name of the icon to display.\n\t */\n\ticon?: string;\n\t/**\n\t * Theme of the toast message. By default the theme is `default`.\n\t */\n\ttheme?: string;\n\t/**\n\t * Identifier of the message\n\t */\n\tid: string;\n} & Pick<CommonProps, 'showClose'>;\n\ntype MessageParameter =\n\t| string\n\t| (Pick<Message, 'title' | 'text' | 'icon' | 'theme'> &\n\t\t\t/* These props are mutually exclusive */\n\t\t\t(| {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Time in milliseconds before the message disappears\n\t\t\t\t\t\t */\n\t\t\t\t\t\ttimeout?: undefined;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Setting the message as persistent will prevent the message from being dismissed automatically\n\t\t\t\t\t\t */\n\t\t\t\t\t\tpersistent?: undefined | false;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Whether to show the closing action to dismiss the message.\n\t\t\t\t\t\t * Show close is optional if the message is not persistent\n\t\t\t\t\t\t */\n\t\t\t\t\t\tshowClose?: Message['showClose'];\n\t\t\t\t }\n\t\t\t\t| {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Time in milliseconds before the message disappears\n\t\t\t\t\t\t */\n\t\t\t\t\t\ttimeout: number;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Setting the message as persistent will prevent the message from being dismissed automatically\n\t\t\t\t\t\t */\n\t\t\t\t\t\tpersistent?: undefined | false;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Whether to show the closing action to dismiss the message.\n\t\t\t\t\t\t * Show close is optional if the message is not persistent\n\t\t\t\t\t\t */\n\t\t\t\t\t\tshowClose?: Message['showClose'];\n\t\t\t\t }\n\t\t\t\t| {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Time in milliseconds before the message disappears\n\t\t\t\t\t\t */\n\t\t\t\t\t\ttimeout?: undefined;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Setting the message as persistent will prevent the message from being dismissed automatically\n\t\t\t\t\t\t */\n\t\t\t\t\t\tpersistent: true;\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * Whether to show the closing action to dismiss the message.\n\t\t\t\t\t\t * Show close is mandatory if the message is persistent\n\t\t\t\t\t\t */\n\t\t\t\t\t\tshowClose: true;\n\t\t\t\t }\n\t\t\t));\n\nexport const state = reactive({\n\tstack: [] as Message[],\n});\n\nexport const useToast = () => {\n\t/**\n\t * Dismisses a specific message\n\t */\n\tconst dismiss = (id: Message['id']) =>\n\t\t(state.stack = state.stack.filter((el) => el.id !== id));\n\tconst dismissAll = () => (state.stack = []);\n\tconst toast = (message: MessageParameter) => {\n\t\tconst id = useId().id.value;\n\t\tlet title: Message['title'];\n\t\tlet text: Message['text'];\n\t\tlet icon: Message['icon'];\n\t\tlet theme: Message['theme'];\n\t\tlet showClose: Message['showClose'];\n\t\tconst defaultTimeout = 6000;\n\n\t\tif (typeof message === 'string') {\n\t\t\ttext = message;\n\t\t} else {\n\t\t\tif (typeof message.timeout === 'number' && message.timeout <= 0) {\n\t\t\t\tthrow new Error(`Toast messages cannot have a zero or less timeout`);\n\t\t\t}\n\t\t\ticon = message.icon;\n\t\t\tshowClose = message.showClose;\n\t\t\ttext = message.text;\n\t\t\ttheme = message.theme;\n\t\t\ttitle = message.title;\n\t\t}\n\t\tstate.stack = state.stack.concat({\n\t\t\ticon,\n\t\t\tid,\n\t\t\tshowClose,\n\t\t\ttext,\n\t\t\ttheme,\n\t\t\ttitle,\n\t\t});\n\t\tif (\n\t\t\t(typeof message === 'object' && !message.persistent) ||\n\t\t\ttypeof message === 'string'\n\t\t) {\n\t\t\tlet timeout: number;\n\n\t\t\tif (typeof message === 'object' && message.timeout) {\n\t\t\t\ttimeout = message.timeout;\n\t\t\t} else timeout = defaultTimeout;\n\n\t\t\twait(timeout).then(() => {\n\t\t\t\tdismiss(id);\n\t\t\t});\n\t\t}\n\t\treturn id;\n\t};\n\treturn {\n\t\ttoast,\n\t\tdismiss,\n\t\tdismissAll,\n\t};\n};\n"],"names":["state","reactive","useToast","dismiss","id","el","message","useId","title","text","icon","theme","showClose","defaultTimeout","timeout","wait"],"mappings":";;;AA+EO,MAAMA,IAAQC,EAAS;AAAA,EAC7B,OAAO,CAAC;AACT,CAAC,GAEYC,IAAW,MAAM;AAI7B,QAAMC,IAAU,CAACC,MACfJ,EAAM,QAAQA,EAAM,MAAM,OAAO,CAACK,MAAOA,EAAG,OAAOD,CAAE;AA+ChD,SAAA;AAAA,IACN,OA9Ca,CAACE,MAA8B;AACtC,YAAAF,IAAKG,IAAQ,GAAG;AAClB,UAAAC,GACAC,GACAC,GACAC,GACAC;AACJ,YAAMC,IAAiB;AAEnB,UAAA,OAAOP,KAAY;AACf,QAAAG,IAAAH;AAAA,WACD;AACN,YAAI,OAAOA,EAAQ,WAAY,YAAYA,EAAQ,WAAW;AACvD,gBAAA,IAAI,MAAM,mDAAmD;AAEpE,QAAAI,IAAOJ,EAAQ,MACfM,IAAYN,EAAQ,WACpBG,IAAOH,EAAQ,MACfK,IAAQL,EAAQ,OAChBE,IAAQF,EAAQ;AAAA,MACjB;AAUE,UATIN,EAAA,QAAQA,EAAM,MAAM,OAAO;AAAA,QAChC,MAAAU;AAAA,QACA,IAAAN;AAAA,QACA,WAAAQ;AAAA,QACA,MAAAH;AAAA,QACA,OAAAE;AAAA,QACA,OAAAH;AAAA,MAAA,CACA,GAEC,OAAOF,KAAY,YAAY,CAACA,EAAQ,cACzC,OAAOA,KAAY,UAClB;AACG,YAAAQ;AAEJ,QAAI,OAAOR,KAAY,YAAYA,EAAQ,UAC1CQ,IAAUR,EAAQ,UACFQ,IAAAD,GAEZE,EAAAD,CAAO,EAAE,KAAK,MAAM;AACxB,UAAAX,EAAQC,CAAE;AAAA,QAAA,CACV;AAAA,MACF;AACO,aAAAA;AAAA,IAAA;AAAA,IAIP,SAAAD;AAAA,IACA,YAjDkB,MAAOH,EAAM,QAAQ,CAAA;AAAA,EAiDvC;AAEF;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index50.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index50.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,63 @@
1
+ import { defineComponent as n, openBlock as a, createElementBlock as t, Fragment as b, renderList as m, createElementVNode as l, renderSlot as r, createVNode as p, mergeProps as u, withCtx as c, createTextVNode as _, toDisplayString as f } from "vue";
2
+ import h from "./index9.js";
3
+ import "./index10.js";
4
+ const B = {
5
+ "aria-label": "Breadcrumbs",
6
+ class: "bb-breadcrumbs"
7
+ }, $ = { class: "bb-breadcrumbs__breadcrumb-container" }, k = {
8
+ "aria-hidden": "true",
9
+ class: "bb-breadcrumbs__divider"
10
+ }, V = /* @__PURE__ */ n({
11
+ __name: "BbBreadcrumbs",
12
+ props: {
13
+ disabled: { type: Boolean },
14
+ items: {},
15
+ divider: { default: "/" }
16
+ },
17
+ setup(i) {
18
+ const o = i;
19
+ return (e, v) => (a(), t("nav", B, [
20
+ (a(!0), t(b, null, m(e.items, (s, d) => (a(), t(b, {
21
+ key: s.key
22
+ }, [
23
+ l("span", $, [
24
+ r(e.$slots, "item:prepend", {
25
+ disabled: !!(s.disabled || e.disabled),
26
+ index: d,
27
+ item: e.items[d],
28
+ text: s.text
29
+ }),
30
+ p(h, u(s, {
31
+ class: "bb-breadcrumbs__breadcrumb",
32
+ disabled: s.disabled || e.disabled
33
+ }), {
34
+ default: c(() => [
35
+ r(e.$slots, `${s.key}`, {
36
+ disabled: !!(s.disabled || e.disabled),
37
+ index: d,
38
+ item: e.items[d],
39
+ text: s.text
40
+ })
41
+ ]),
42
+ _: 2
43
+ }, 1040, ["disabled"]),
44
+ r(e.$slots, "item:append", {
45
+ disabled: !!(s.disabled || e.disabled),
46
+ index: d,
47
+ item: e.items[d],
48
+ text: s.text
49
+ })
50
+ ]),
51
+ l("span", k, [
52
+ r(e.$slots, "divider", {}, () => [
53
+ _(f(o.divider), 1)
54
+ ])
55
+ ])
56
+ ], 64))), 128))
57
+ ]));
58
+ }
59
+ });
60
+ export {
61
+ V as default
62
+ };
63
+ //# sourceMappingURL=index51.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index51.js","sources":["../src/components/BbBreadcrumbs/BbBreadcrumbs.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = {\n \"aria-label\": \"Breadcrumbs\",\n class: \"bb-breadcrumbs\"\n}\nconst _hoisted_2 = { class: \"bb-breadcrumbs__breadcrumb-container\" }\nconst _hoisted_3 = {\n \"aria-hidden\": \"true\",\n class: \"bb-breadcrumbs__divider\"\n}\n\nimport type { CommonProps } from '@/types/CommonProps';\nimport BaseButton from '../BaseButton/BaseButton.vue';\nimport type { BaseButtonProps } from '../BaseButton/BaseButton.vue';\n\nexport type Item = Omit<BaseButtonProps, 'block' | 'tag' | 'type'> & {\n\t/**\n\t * Click handler of the button\n\t */\n\tonClick?: (...args: any[]) => any;\n\t/**\n\t * Key that uniquely identifies the breadcrumb\n\t */\n\tkey: string | number;\n};\n\nexport type BbBreadcrumbsProps = Pick<CommonProps, 'disabled'> & {\n\t/**\n\t * Array of items that describe how the breadcrumbs\n\t * should behave. It is compatible with navigating\n\t * through `a` or `router-link`.\n\t */\n\titems: Item[];\n\t/**\n\t * Text content of the divider\n\t */\n\tdivider?: string;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbBreadcrumbs',\n props: {\n disabled: { type: Boolean },\n items: {},\n divider: { default: '/' }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"nav\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.items, (item, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: item.key\n }, [\n _createElementVNode(\"span\", _hoisted_2, [\n _renderSlot(_ctx.$slots, `item:prepend`, {\n disabled: !!(item.disabled || _ctx.disabled),\n index: index,\n item: _ctx.items[index],\n text: item.text\n }),\n _createVNode(BaseButton, _mergeProps(item, {\n class: \"bb-breadcrumbs__breadcrumb\",\n disabled: item.disabled || _ctx.disabled\n }), {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, `${item.key}`, {\n disabled: !!(item.disabled || _ctx.disabled),\n index: index,\n item: _ctx.items[index],\n text: item.text\n })\n ]),\n _: 2\n }, 1040, [\"disabled\"]),\n _renderSlot(_ctx.$slots, `item:append`, {\n disabled: !!(item.disabled || _ctx.disabled),\n index: index,\n item: _ctx.items[index],\n text: item.text\n })\n ]),\n _createElementVNode(\"span\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"divider\", {}, () => [\n _createTextVNode(_toDisplayString(props.divider), 1)\n ])\n ])\n ], 64))\n }), 128))\n ]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_sfc_main","_defineComponent","__props","props","_ctx","_cache","_openBlock","_createElementBlock","_Fragment","_renderList","item","index","_createElementVNode","_renderSlot","_createVNode","BaseButton","_mergeProps","_withCtx","_createTextVNode","_toDisplayString"],"mappings":";;;AAGA,MAAMA,IAAa;AAAA,EACjB,cAAc;AAAA,EACd,OAAO;AACT,GACMC,IAAa,EAAE,OAAO,0CACtBC,IAAa;AAAA,EACjB,eAAe;AAAA,EACf,OAAO;AACT,GA+B4BC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,OAAO,CAAC;AAAA,IACR,SAAS,EAAE,SAAS,IAAI;AAAA,EAC1B;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD;AAIP,WAAA,CAACE,GAAUC,OACRC,EAAW,GAAGC,EAAoB,OAAOV,GAAY;AAAA,OAC1DS,EAAW,EAAI,GAAGC,EAAoBC,GAAW,MAAMC,EAAYL,EAAK,OAAO,CAACM,GAAMC,OAC7EL,EAAA,GAAcC,EAAoBC,GAAW;AAAA,QACnD,KAAKE,EAAK;AAAA,MAAA,GACT;AAAA,QACDE,EAAoB,QAAQd,GAAY;AAAA,UACtCe,EAAYT,EAAK,QAAQ,gBAAgB;AAAA,YACvC,UAAU,CAAC,EAAEM,EAAK,YAAYN,EAAK;AAAA,YACnC,OAAAO;AAAA,YACA,MAAMP,EAAK,MAAMO,CAAK;AAAA,YACtB,MAAMD,EAAK;AAAA,UAAA,CACZ;AAAA,UACDI,EAAaC,GAAYC,EAAYN,GAAM;AAAA,YACzC,OAAO;AAAA,YACP,UAAUA,EAAK,YAAYN,EAAK;AAAA,UAAA,CACjC,GAAG;AAAA,YACF,SAASa,EAAS,MAAM;AAAA,cACtBJ,EAAYT,EAAK,QAAQ,GAAGM,EAAK,GAAG,IAAI;AAAA,gBACtC,UAAU,CAAC,EAAEA,EAAK,YAAYN,EAAK;AAAA,gBACnC,OAAAO;AAAA,gBACA,MAAMP,EAAK,MAAMO,CAAK;AAAA,gBACtB,MAAMD,EAAK;AAAA,cAAA,CACZ;AAAA,YAAA,CACF;AAAA,YACD,GAAG;AAAA,UAAA,GACF,MAAM,CAAC,UAAU,CAAC;AAAA,UACrBG,EAAYT,EAAK,QAAQ,eAAe;AAAA,YACtC,UAAU,CAAC,EAAEM,EAAK,YAAYN,EAAK;AAAA,YACnC,OAAAO;AAAA,YACA,MAAMP,EAAK,MAAMO,CAAK;AAAA,YACtB,MAAMD,EAAK;AAAA,UAAA,CACZ;AAAA,QAAA,CACF;AAAA,QACDE,EAAoB,QAAQb,GAAY;AAAA,UACtCc,EAAYT,EAAK,QAAQ,WAAW,IAAI,MAAM;AAAA,YAC5Cc,EAAiBC,EAAiBhB,EAAM,OAAO,GAAG,CAAC;AAAA,UAAA,CACpD;AAAA,QAAA,CACF;AAAA,SACA,EAAE,EACN,GAAG,GAAG;AAAA,IAAA,CACR;AAAA,EAEH;AAEA,CAAC;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index52.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index52.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,46 @@
1
+ import { defineComponent as t, openBlock as o, createBlock as n, unref as r, mergeProps as a, withCtx as p, renderSlot as c } from "vue";
2
+ import l from "./index9.js";
3
+ import "./index10.js";
4
+ const f = /* @__PURE__ */ t({
5
+ __name: "BbButton",
6
+ props: {
7
+ block: { type: Boolean },
8
+ disabled: { type: Boolean },
9
+ text: {},
10
+ tag: {},
11
+ activeClass: {},
12
+ ariaCurrentValue: {},
13
+ exactActiveClass: {},
14
+ replace: { type: Boolean },
15
+ to: {},
16
+ data: {},
17
+ headers: {},
18
+ method: {},
19
+ onBefore: { type: Function },
20
+ onCancel: { type: Function },
21
+ onCancelToken: { type: Function },
22
+ onFinish: { type: Function },
23
+ only: {},
24
+ onProgress: { type: Function },
25
+ onStart: { type: Function },
26
+ onSuccess: { type: Function },
27
+ preserveScroll: { type: [Boolean, Function] },
28
+ preserveState: { type: [Boolean, Function, null] },
29
+ queryStringArrayFormat: {},
30
+ type: {},
31
+ href: {},
32
+ target: {}
33
+ },
34
+ setup(s) {
35
+ return (e, i) => (o(), n(r(l), a(e.$props, { class: "bb-button" }), {
36
+ default: p(() => [
37
+ c(e.$slots, "default")
38
+ ]),
39
+ _: 3
40
+ }, 16));
41
+ }
42
+ });
43
+ export {
44
+ f as default
45
+ };
46
+ //# sourceMappingURL=index53.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index53.js","sources":["../src/components/BbButton/BbButton.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport type { BaseButtonProps } from '../BaseButton/BaseButton.vue';\nimport { BaseButton } from '@/index';\n\nexport type BbButtonProps = BaseButtonProps;\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbButton',\n props: {\n block: { type: Boolean },\n disabled: { type: Boolean },\n text: {},\n tag: {},\n activeClass: {},\n ariaCurrentValue: {},\n exactActiveClass: {},\n replace: { type: Boolean },\n to: {},\n data: {},\n headers: {},\n method: {},\n onBefore: { type: Function },\n onCancel: { type: Function },\n onCancelToken: { type: Function },\n onFinish: { type: Function },\n only: {},\n onProgress: { type: Function },\n onStart: { type: Function },\n onSuccess: { type: Function },\n preserveScroll: { type: [Boolean, Function] },\n preserveState: { type: [Boolean, Function, null] },\n queryStringArrayFormat: {},\n type: {},\n href: {},\n target: {}\n },\n setup(__props: any) {\n\n\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(BaseButton), _mergeProps(_ctx.$props, { class: \"bb-button\" }), {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16))\n}\n}\n\n})"],"names":["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CACnC;AAAA,MACD,GAAG;AAAA,OACF,EAAE;AAAA,EAEP;AAEA,CAAC;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index54.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index54.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,90 @@
1
+ import { defineComponent as m, openBlock as p, createBlock as b, withCtx as l, renderSlot as r, normalizeProps as c, guardReactiveProps as h, createVNode as f, mergeProps as n } from "vue";
2
+ import k from "./index11.js";
3
+ import "./index12.js";
4
+ import v from "./index21.js";
5
+ import "./index22.js";
6
+ const $ = /* @__PURE__ */ m({
7
+ __name: "BbCheckbox",
8
+ props: {
9
+ autofocus: {},
10
+ checked: {},
11
+ color: {},
12
+ disabled: { type: Boolean },
13
+ falseValue: {},
14
+ hasErrors: { type: Boolean },
15
+ id: {},
16
+ indeterminate: {},
17
+ name: {},
18
+ readonly: {},
19
+ submitWhenFalse: { type: Boolean },
20
+ trueValue: {},
21
+ modelValue: {},
22
+ direction: { default: "auto" },
23
+ errors: {},
24
+ hideLabel: { type: Boolean },
25
+ inputPosition: {},
26
+ label: {},
27
+ labelPosition: {},
28
+ reverse: { type: Boolean, default: !0 }
29
+ },
30
+ emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
31
+ setup(y, { emit: s }) {
32
+ const o = s, i = {
33
+ onBlur: (e) => o("blur", e),
34
+ onChange: (e) => o("change", e),
35
+ onClick: (e) => o("click", e),
36
+ onFocus: (e) => o("focus", e),
37
+ onInput: (e) => o("input", e),
38
+ onKeydown: (e) => o("keydown", e),
39
+ onMousedown: (e) => o("mousedown", e),
40
+ onMouseup: (e) => o("mouseup", e),
41
+ "onUpdate:modelValue": (e) => o("update:modelValue", e)
42
+ };
43
+ return (e, V) => (p(), b(v, {
44
+ id: e.id,
45
+ class: "bb-checkbox",
46
+ direction: e.direction,
47
+ errors: e.errors,
48
+ "has-errors": e.hasErrors,
49
+ "hide-label": e.hideLabel,
50
+ "input-position": e.inputPosition,
51
+ label: e.label,
52
+ "label-position": e.labelPosition,
53
+ "label-tag": "span",
54
+ name: e.name,
55
+ reverse: e.reverse,
56
+ tag: "label"
57
+ }, {
58
+ label: l((a) => [
59
+ r(e.$slots, "label", c(h(a)))
60
+ ]),
61
+ input: l(({ id: a, name: u, hasErrors: t }) => [
62
+ f(k, n({
63
+ id: a,
64
+ autofocus: e.autofocus,
65
+ checked: e.checked,
66
+ color: e.color,
67
+ disabled: e.disabled,
68
+ "false-value": e.falseValue,
69
+ "has-errors": t,
70
+ indeterminate: e.indeterminate,
71
+ "model-value": e.modelValue,
72
+ name: u,
73
+ readonly: e.readonly,
74
+ "submit-when-false": e.submitWhenFalse,
75
+ "true-value": e.trueValue
76
+ }, i), {
77
+ icon: l((d) => [
78
+ r(e.$slots, "icon", n(d, { text: e.label }))
79
+ ]),
80
+ _: 2
81
+ }, 1040, ["id", "autofocus", "checked", "color", "disabled", "false-value", "has-errors", "indeterminate", "model-value", "name", "readonly", "submit-when-false", "true-value"])
82
+ ]),
83
+ _: 3
84
+ }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "input-position", "label", "label-position", "name", "reverse"]));
85
+ }
86
+ });
87
+ export {
88
+ $ as default
89
+ };
90
+ //# sourceMappingURL=index55.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index55.js","sources":["../src/components/BbCheckbox/BbCheckbox.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, renderSlot as _renderSlot, mergeProps as _mergeProps, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseCheckbox from '../BaseCheckbox/BaseCheckbox.vue';\nimport BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport type {\n\tBaseCheckboxEvents,\n\tSlotAttributes,\n} from '../BaseCheckbox/BaseCheckbox.vue';\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\n\nexport type BbCheckboxProps = {\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Defines the input as checked\n\t */\n\tchecked?: InputHTMLAttributes['checked'];\n\n\t/**\n\t * Define a color for the component.\n\t *\n\t * Either a custom color or a coded color in common HEX, RGB, etc... format.\n\t */\n\tcolor?: string;\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * Value of the input when unchecked. It handles any kind of serializable object.\n\t */\n\tfalseValue?: any;\n\n\t/**\n\t * Define if the component should be in an error state.\n\t * It usually attaches a CSS class for styling purposes.\n\t */\n\thasErrors?: boolean;\n\n\t/**\n\t * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\n\n\t/**\n\t * Sets the input in an indeterminate state.\n\t */\n\tindeterminate?: InputHTMLAttributes['indeterminate'];\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\n\n\t/**\n\t * Will submit \"falseValue\" if the input is not checked. Otherwise \"trueValue\" will be submitted.\n\t */\n\tsubmitWhenFalse?: boolean;\n\n\t/**\n\t * Value of the input when checked. It handles any kind of serializable object.\n\t */\n\ttrueValue?: any;\n\n\t/**\n\t * Used by v-model. Can be any serializable type.\n\t */\n\tmodelValue?: any;\n\n\t/**\n\t * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.\n\t */\n\tdirection?: 'horizontal' | 'vertical' | 'auto' | string;\n\n\t/**\n\t * Can be a string or an array of string containing the messages to display.\n\t */\n\terrors?: string | string[];\n\n\t/**\n\t * Visually hides the label of the input while maintaining accessibility.\n\t */\n\thideLabel?: boolean;\n\n\t/**\n\t * Sets the slignment of the input. Since inputs are inline block they can be aligned just as text can.\n\t */\n\tinputPosition?: 'left' | 'center' | 'right';\n\n\t/**\n\t * Text content of the label of the element.\n\t */\n\tlabel: string;\n\n\t/**\n\t * Sets the text alignment of the label.\n\t */\n\tlabelPosition?: 'left' | 'center' | 'right';\n\n\t/**\n\t * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.\n\t */\n\treverse?: boolean;\n};\n\nexport type BbCheckboxEvents = BaseCheckboxEvents;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbCheckbox',\n props: {\n autofocus: {},\n checked: {},\n color: {},\n disabled: { type: Boolean },\n falseValue: {},\n hasErrors: { type: Boolean },\n id: {},\n indeterminate: {},\n name: {},\n readonly: {},\n submitWhenFalse: { type: Boolean },\n trueValue: {},\n modelValue: {},\n direction: { default: 'auto' },\n errors: {},\n hideLabel: { type: Boolean },\n inputPosition: {},\n label: {},\n labelPosition: {},\n reverse: { type: Boolean, default: true }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\nconst eventListeners = {\n\tonBlur: (event: FocusEvent) => emit('blur', event),\n\tonChange: (event: Event) => emit('change', event),\n\tonClick: (event: MouseEvent) => emit('click', event),\n\tonFocus: (event: FocusEvent) => emit('focus', event),\n\tonInput: (event: Event) => emit('input', event),\n\tonKeydown: (event: KeyboardEvent) => emit('keydown', event),\n\tonMousedown: (event: MouseEvent) => emit('mousedown', event),\n\tonMouseup: (event: MouseEvent) => emit('mouseup', event),\n\t'onUpdate:modelValue': (value: any) => emit('update:modelValue', value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-checkbox\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n \"input-position\": _ctx.inputPosition,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"label-tag\": 'span',\n name: _ctx.name,\n reverse: _ctx.reverse,\n tag: 'label'\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseCheckbox, _mergeProps({\n id: id,\n autofocus: _ctx.autofocus,\n checked: _ctx.checked,\n color: _ctx.color,\n disabled: _ctx.disabled,\n \"false-value\": _ctx.falseValue,\n \"has-errors\": hasErrors,\n indeterminate: _ctx.indeterminate,\n \"model-value\": _ctx.modelValue,\n name: name,\n readonly: _ctx.readonly,\n \"submit-when-false\": _ctx.submitWhenFalse,\n \"true-value\": _ctx.trueValue\n }, eventListeners), {\n icon: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"icon\", _mergeProps(data, { text: _ctx.label }))\n ]),\n _: 2\n }, 1040, [\"id\", \"autofocus\", \"checked\", \"color\", \"disabled\", \"false-value\", \"has-errors\", \"indeterminate\", \"model-value\", \"name\", \"readonly\", \"submit-when-false\", \"true-value\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"input-position\", \"label\", \"label-position\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseCheckbox","_mergeProps"],"mappings":";;;;;AAuHA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,CAAC;AAAA,IACZ,SAAS,CAAC;AAAA,IACV,OAAO,CAAC;AAAA,IACR,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,YAAY,CAAC;AAAA,IACb,WA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AAAA,EAEjI;AAEA,CAAC;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index56.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index56.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}