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 @@
1
+ {"version":3,"file":"index101.js","sources":["../src/components/BbTable/BbTable.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, renderSlot as _renderSlot, createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"bb-table-header-row\" }\nconst _hoisted_3 = { class: \"bb-table-header__content\" }\nconst _hoisted_4 = { class: \"bb-table-check__label-text\" }\nconst _hoisted_5 = {\n key: 1,\n class: \"bb-table-radio__label-text\"\n}\nconst _hoisted_6 = { class: \"bb-table-header__content\" }\nconst _hoisted_7 = { class: \"bb-table-header__content\" }\nconst _hoisted_8 = { class: \"bb-table-loading__row\" }\nconst _hoisted_9 = [\"colspan\"]\nconst _hoisted_10 = { class: \"bb-table-loading__text\" }\nconst _hoisted_11 = {\n class: \"bb-table-skeleton__container\",\n role: \"status\"\n}\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"bb-table-skeleton-item__avatar-container\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"bb-table-skeleton-item__avatar\" })\n], -1)\nconst _hoisted_13 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"bb-table-skeleton-item__text\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"bb-table-skeleton-item__line\" }),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"bb-table-skeleton-item__line\" })\n], -1)\nconst _hoisted_14 = [\n _hoisted_12,\n _hoisted_13\n]\nconst _hoisted_15 = { class: \"bb-table-no-data__row\" }\nconst _hoisted_16 = [\"colspan\"]\nconst _hoisted_17 = { class: \"bb-table-no-data__text\" }\nconst _hoisted_18 = [\"onClick\", \"onContextmenu\", \"onDblclick\"]\nconst _hoisted_19 = { class: \"bb-table-check__label-text\" }\nconst _hoisted_20 = { class: \"bb-table-radio__label-text\" }\n\nimport { add } from '@/utilities/functions/add';\nimport { clamp } from '@/utilities/functions/clamp';\nimport { deepEqual } from 'fast-equals';\nimport { isNil } from '@/utilities/functions/isNil';\nimport { isNotNil } from '@/utilities/functions/isNotNil';\nimport { type Ref, computed, onMounted, ref, watch } from 'vue';\nimport { useId } from '@/composables/useId';\nimport { useItemValue } from '@/composables/useItemValue';\nimport { when } from '@/utilities/functions/when';\nimport BaseCheckbox from '../BaseCheckbox/BaseCheckbox.vue';\nimport BaseRadio from '../BaseRadio/BaseRadio.vue';\nimport type {\n\tBbTableProps,\n\tMappedCell,\n\tMappedHeader,\n\tMappedItem,\n\tTableColumn,\n\tBbTableEvents,\n\tBbTableSlots,\n} from './types';\nimport type { Classes } from '@/types/Classes';\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTable',\n props: {\n accessibleLabel: { type: Function, default: (columns: MappedCell[]) =>\n\t\t['Seleziona'].concat(columns.map((col) => col.content)).join(' ') },\n actions: { type: Boolean },\n actionsText: { default: 'Azioni' },\n align: { default: 'left' },\n allowSelectAll: { type: Boolean, default: true },\n caption: {},\n columns: { default: () => [] },\n compact: { type: Boolean },\n dependencies: { default: () => [] },\n depsDebounceTime: { default: 0 },\n disabled: { type: Boolean },\n displayCaption: { type: Boolean },\n fixed: { type: Boolean },\n fixedColumns: { default: () => [] },\n fixedHeader: { type: Boolean },\n items: { type: [Array, Function], default: () => [] },\n itemValue: {},\n legend: {},\n loading: { type: Boolean },\n loadingText: { default: 'Caricamento' },\n matchStrategy: { default: 'string' },\n modelValue: {},\n multiple: { type: Boolean, default: true },\n name: {},\n noDataText: { default: 'Non ci sono elementi da visualizzare' },\n readonly: {},\n selectable: { type: [Boolean, Function] },\n selectAll: { type: Boolean },\n selectAllText: { default: 'Seleziona tutti gli elementi di questa pagina' },\n selectText: { default: 'Seleziona un elemento' },\n tdClass: {},\n thClass: {}\n },\n emits: [\"click:row\", \"contextmenu:row\", \"dblclick:row\", \"update:modelValue\", \"update:selectAll\"],\n setup(__props: any, { emit: __emit }) {\n\nconst { getItemValue } = useItemValue();\n\n/**\n * We do not allow the use of the checkbox or radio themselves as\n * they would not be submitted if the user has changed\n * page in the meantime, rather we provide a temporary\n * name so radio still work but we later add hidden inputs for submission\n */\nconst randomName = useId().id.value;\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst container = ref<HTMLElement>();\n\nconst accessibleLabel = props.accessibleLabel;\nconst loadingText = props.loadingText;\nconst noDataText = props.noDataText;\nconst selectAllText = props.selectAllText;\nconst selectText = props.selectText;\n\n// We render the table in a fieldset to group checkbox / radios if the table is selectable\nconst containerTag = computed(() => (props.selectable ? 'fieldset' : 'div'));\nconst internalLoading = ref(false);\nconst loading = computed(() => props.loading || internalLoading.value);\n\nconst replacementContentSpan = computed(() => {\n\treturn [!!props.selectable, !!props.actions].reduce(\n\t\t(acc: number, current) => acc + Number(!!current),\n\t\tprops.columns.length\n\t);\n});\n\n/**\n * Indexes modelValue to a map so when can easily know which values are selected\n * (using JSON to circumvent identical object not being equal in JS)\n */\nconst modelValueIndexed = computed(() => {\n\tif (props.matchStrategy === 'string') {\n\t\tlet map: { [key: string]: number } = {};\n\t\t[].concat(props.modelValue).forEach((value: any, index: number) => {\n\t\t\tmap[JSON.stringify(value)] = index;\n\t\t});\n\t\treturn {\n\t\t\tget: (value: any) => map[JSON.stringify(value)],\n\t\t};\n\t} else if (props.matchStrategy === 'equality') {\n\t\tconst map = []\n\t\t\t.concat(props.modelValue)\n\t\t\t.map((value, index) => [value, index]);\n\n\t\treturn {\n\t\t\tget: (key: any) => {\n\t\t\t\treturn map.find((pairs) => deepEqual(pairs[0], key))?.[1];\n\t\t\t},\n\t\t};\n\t} else {\n\t\tthrow new Error('No match strategy has been defined');\n\t}\n});\n\n/**\n * Map column identifiers to slot names\n */\nconst slotNames = computed(() =>\n\tprops.columns.reduce((acc: { [key: string]: string }, curr: TableColumn) => {\n\t\tconst mapped = curr.key.split(/\\W+/g).join('_');\n\t\tacc[curr.key] = mapped;\n\t\treturn acc;\n\t}, {})\n);\n\n/**\n * Items as loaded from the function or from the outside\n */\nconst internalItems = ref<any[]>([]);\n\nconst getItems = async () => {\n\tlet items: any[] = [];\n\tif (Array.isArray(props.items)) {\n\t\titems = props.items;\n\t} else {\n\t\tif (typeof props.items === 'function') {\n\t\t\tinternalLoading.value = true;\n\t\t\titems = await props.items(true);\n\t\t\tinternalLoading.value = false;\n\t\t}\n\t}\n\tinternalItems.value = items;\n};\n\nonMounted(getItems);\n\n/**\n * When item changes update internal items and\n * deselect everything\n */\nwatch(\n\t() => props.items,\n\tasync () => {\n\t\tawait getItems();\n\t\tif (props.multiple) {\n\t\t\temit('update:modelValue', []);\n\t\t} else {\n\t\t\temit('update:modelValue', null);\n\t\t}\n\t}\n);\n/* Prevent vue from sharing this function across instances */\nlet timeout: ReturnType<typeof setTimeout>;\nconst onDependencyChange = async (curr: any[], previous?: any[]) => {\n\tif (JSON.stringify(curr) !== JSON.stringify(previous)) {\n\t\tif (timeout) {\n\t\t\tclearTimeout(timeout);\n\t\t}\n\t\ttimeout = setTimeout(async () => {\n\t\t\tawait getItems();\n\t\t\tif (props.multiple) {\n\t\t\t\temit('update:modelValue', []);\n\t\t\t} else {\n\t\t\t\temit('update:modelValue', null);\n\t\t\t}\n\t\t}, props.depsDebounceTime);\n\t}\n};\nwatch(() => props.dependencies, onDependencyChange);\n\n/**\n * Take the columns and generate a simplified array for headers display\n */\nconst mappedHeaders = computed(() =>\n\tprops.columns.map((column: TableColumn): MappedHeader => {\n\t\tconst align = column.align || 'left';\n\t\tconst { label, key } = column;\n\t\tconst slotName = `header_${slotNames.value[column.key]}`;\n\t\t// Create a single merged array of all the passed classes\n\t\tlet classes: Classes = [`bb-table-header--${align}`];\n\t\tif (props.thClass) {\n\t\t\tclasses = classes.concat(props.thClass);\n\t\t}\n\t\tif (column.thClass) {\n\t\t\tclasses = classes.concat(column.thClass);\n\t\t}\n\t\treturn {\n\t\t\talign,\n\t\t\tkey,\n\t\t\tlabel,\n\t\t\tslotName,\n\t\t\tclasses,\n\t\t};\n\t})\n);\n\n/**\n * Map items to an an array that represents the entire row.\n * Track every logic here so we don't have inline callbacks in the template.\n */\nconst mappedItems = computed<MappedItem[]>(() => {\n\treturn internalItems.value.map((item: any) => {\n\t\t// By default the value if the item is the item.\n\t\tconst value = getItemValue(item, props.itemValue);\n\t\tconst jsonValue = JSON.stringify(value);\n\n\t\t/**\n\t\t * Item is selectable only if the table allows or item\n\t\t * passes iteratee and the selection is not disabled\n\t\t */\n\t\tlet selectable = !!props.selectable;\n\t\tif (typeof props.selectable === 'function') {\n\t\t\tselectable = !!props.selectable(item);\n\t\t}\n\t\tselectable = selectable && !props.disabled;\n\n\t\t//Track the index at which the item has been selected for easy of removal\n\t\tconst selectedIndex = modelValueIndexed.value.get(value);\n\t\tconst selected = !isNil(selectedIndex);\n\n\t\t// Create a projection of the columns and run all formatter logic so\n\t\t// we just display content in the template\n\t\tconst cols: MappedCell[] = props.columns.map((column) => {\n\t\t\t// Slot identifier\n\t\t\tconst slotName = slotNames.value[column.key];\n\t\t\tconst align = column.align || 'left';\n\t\t\tconst { label, key } = column;\n\t\t\t// The content\n\t\t\tlet content = getItemValue(item, column.key);\n\t\t\tif (\n\t\t\t\tcolumn.formatter &&\n\t\t\t\t// By default the formatter runs anyway\n\t\t\t\t(!isNil(content) || column.formatOnNull !== false)\n\t\t\t) {\n\t\t\t\tcontent = column.formatter(content, column.key, item);\n\t\t\t}\n\t\t\tif (column.placeholder && isNil(content)) {\n\t\t\t\tcontent = column.placeholder;\n\t\t\t}\n\n\t\t\t// Merge global and specific classes\n\t\t\tlet classes: Classes = [`bb-table-data__cell--${align}`];\n\t\t\tif (props.tdClass) {\n\t\t\t\tif (typeof props.tdClass === 'function') {\n\t\t\t\t\tlet temp = props.tdClass(content, column.key, item);\n\t\t\t\t\tif (temp) {\n\t\t\t\t\t\tclasses = classes.concat(temp);\n\t\t\t\t\t}\n\t\t\t\t} else classes = classes.concat(props.tdClass);\n\t\t\t}\n\t\t\tif (column.tdClass) {\n\t\t\t\tif (typeof column.tdClass === 'function') {\n\t\t\t\t\tlet temp = column.tdClass(content, column.key, item);\n\t\t\t\t\tif (temp) {\n\t\t\t\t\t\tclasses = classes.concat(temp);\n\t\t\t\t\t}\n\t\t\t\t} else classes = classes.concat(column.tdClass);\n\t\t\t}\n\t\t\treturn {\n\t\t\t\talign,\n\t\t\t\tclasses,\n\t\t\t\tcontent,\n\t\t\t\tkey,\n\t\t\t\tlabel,\n\t\t\t\tslotName,\n\t\t\t};\n\t\t});\n\n\t\tconst accessibleLabelText = accessibleLabel(cols, item);\n\n\t\tif (isNotNil(selectedIndex)) {\n\t\t\treturn {\n\t\t\t\taccessibleLabel: accessibleLabelText,\n\t\t\t\tcols,\n\t\t\t\tjsonValue,\n\t\t\t\toriginal: item,\n\t\t\t\tselectable,\n\t\t\t\tselected: true,\n\t\t\t\tselectedIndex,\n\t\t\t\tvalue,\n\t\t\t\tonRowClick: (event: MouseEvent) =>\n\t\t\t\t\temit('click:row', event, item, selected),\n\t\t\t\tonRowContextMenu: (event: MouseEvent) =>\n\t\t\t\t\temit('contextmenu:row', event, item, selected),\n\t\t\t\tonRowDblClick: (event: MouseEvent) =>\n\t\t\t\t\temit('dblclick:row', event, item, selected),\n\t\t\t};\n\t\t}\n\t\treturn {\n\t\t\taccessibleLabel: accessibleLabelText,\n\t\t\tcols,\n\t\t\tjsonValue,\n\t\t\toriginal: item,\n\t\t\tselectable,\n\t\t\tselected: false,\n\t\t\tselectedIndex,\n\t\t\tvalue,\n\t\t\tonRowClick: (event: MouseEvent) =>\n\t\t\t\temit('click:row', event, item, selected),\n\t\t\tonRowContextMenu: (event: MouseEvent) =>\n\t\t\t\temit('contextmenu:row', event, item, selected),\n\t\t\tonRowDblClick: (event: MouseEvent) =>\n\t\t\t\temit('dblclick:row', event, item, selected),\n\t\t};\n\t});\n});\n\n/**\n * Same behavior as GMail.\n * If anything is selected remove it.\n * Then when empty you select all items of this page\n */\nconst onChangeSelectAll = (value: boolean) => {\n\tlet selectAllValue = value;\n\tlet modelValue: any[] = [];\n\n\tif (selectAllValue) {\n\t\tmodelValue = mappedItems.value.reduce((acc: any[], curr) => {\n\t\t\tif (curr.selectable) acc.push(curr.value);\n\t\t\treturn acc;\n\t\t}, []);\n\t}\n\temit('update:modelValue', modelValue);\n\temit('update:selectAll', value);\n};\n\nconst allSelected = computed(\n\t() =>\n\t\t!!(\n\t\t\tmappedItems.value.length &&\n\t\t\tmappedItems.value.every((item) => item.selectable && item.selected)\n\t\t)\n);\nconst indeterminate = computed(\n\t() =>\n\t\tmappedItems.value.some((item) => !item.selected) &&\n\t\t!!props.modelValue?.length\n);\n/**\n * Whenever an input changes update modelValue if any\n */\nconst onInputChange = (item: MappedItem) => {\n\tlet valueToEmit;\n\tif (props.multiple) {\n\t\tif (item.selected) {\n\t\t\tvalueToEmit = props.modelValue\n\t\t\t\t.slice(0, item.selectedIndex)\n\t\t\t\t.concat(props.modelValue.slice([item.selectedIndex + 1]));\n\t\t} else {\n\t\t\tvalueToEmit = props.modelValue.concat(item.value);\n\t\t}\n\t} else {\n\t\tvalueToEmit = item.value;\n\t}\n\temit('update:modelValue', valueToEmit);\n};\n\n/**\n * When using this component for submission we add a bunch of hidden inputs\n * so the submitted inputs is on par with v-model\n */\n\n/**\n * This is used to keep the value compatible to common html expected values.\n * Convert to string everything that's not but do not double encode strings\n */\nconst makeInputValue = when(\n\t(item: unknown) => typeof item !== 'string',\n\tJSON.stringify\n);\nconst hiddenInputs = computed(() => {\n\treturn [].concat(props.modelValue).map((current) => {\n\t\tconst value = makeInputValue(current);\n\t\treturn {\n\t\t\tdisabled: props.disabled,\n\t\t\tname: props.name,\n\t\t\ttype: 'hidden',\n\t\t\tvalue: value,\n\t\t};\n\t});\n});\n\nconst skeletonLength = computed(() => {\n\treturn clamp(internalItems.value.length, 4, 10);\n});\n\nwatch(\n\t() => mappedItems.value,\n\t() => {\n\t\tif (props.fixedColumns.length && props.items) {\n\t\t\tif (container.value) {\n\t\t\t\t// Get all the headers\n\t\t\t\tconst headers = Array.from(\n\t\t\t\t\tcontainer.value.querySelectorAll<HTMLElement>('thead th')\n\t\t\t\t);\n\n\t\t\t\ttype MappedColumn = {\n\t\t\t\t\tindex: number;\n\t\t\t\t\tposition: 'left' | 'right';\n\t\t\t\t\twidth: number;\n\t\t\t\t\toffset: number;\n\t\t\t\t};\n\n\t\t\t\t/**\n\t\t\t\t * For each of the columns to fix create an helper object\n\t\t\t\t */\n\t\t\t\tconst mappedColumns = props.fixedColumns.reduce((acc, curr) => {\n\t\t\t\t\tconst index = typeof curr === 'number' ? curr : curr.index;\n\t\t\t\t\tconst position = typeof curr === 'number' ? 'left' : curr.position;\n\t\t\t\t\tconst clientRect = headers[index].getBoundingClientRect();\n\t\t\t\t\tconst width = Math.floor(clientRect.width);\n\t\t\t\t\tconst offset = acc\n\t\t\t\t\t\t.filter((el) => el.position === position)\n\t\t\t\t\t\t.map((el) => el.width)\n\t\t\t\t\t\t.reduce(add, 0);\n\n\t\t\t\t\tconst mapped: MappedColumn = {\n\t\t\t\t\t\tindex: index,\n\t\t\t\t\t\tposition: position,\n\t\t\t\t\t\twidth: width,\n\t\t\t\t\t\toffset: offset,\n\t\t\t\t\t};\n\t\t\t\t\tacc.push(mapped);\n\t\t\t\t\treturn acc;\n\t\t\t\t}, [] as MappedColumn[]);\n\n\t\t\t\tconst rows = Array.from(container.value?.querySelectorAll('tr'));\n\t\t\t\tconst affectedCells = rows.map((row) =>\n\t\t\t\t\tArray.from(\n\t\t\t\t\t\trow.querySelectorAll<HTMLElement>(\n\t\t\t\t\t\t\tmappedColumns\n\t\t\t\t\t\t\t\t.map((el) => `:scope > :nth-child(${el.index + 1})`)\n\t\t\t\t\t\t\t\t.join(', ')\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\taffectedCells.forEach((row) => {\n\t\t\t\t\trow.forEach((cell, index) => {\n\t\t\t\t\t\tcell.style.position = 'sticky';\n\n\t\t\t\t\t\tif (mappedColumns[index].position === 'left') {\n\t\t\t\t\t\t\tcell.style.left = `${mappedColumns[index].offset}px`;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcell.style.right = `${mappedColumns[index].offset}px`;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tflush: 'post',\n\t}\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(containerTag.value), {\n ref_key: \"container\",\n ref: container,\n class: _normalizeClass({\n\t\t\t'bb-table': true,\n\t\t\t[`bb-table--align-${_ctx.align}`]: true,\n\t\t\t'bb-table--compact': _ctx.compact,\n\t\t\t'bb-table--fixed': _ctx.fixed,\n\t\t\t'bb-table--fixed-header': _ctx.fixedHeader,\n\t\t\t'bb-table--loading': loading.value,\n\t\t\t'bb-table--empty': !internalItems.value.length,\n\t\t\t'bb-table--selectable': _ctx.selectable,\n\t\t})\n }, {\n default: _withCtx(() => [\n (_ctx.selectable)\n ? (_openBlock(), _createElementBlock(\"legend\", _hoisted_1, _toDisplayString(_ctx.legend), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"table\", null, [\n (_ctx.caption)\n ? (_openBlock(), _createElementBlock(\"caption\", {\n key: 0,\n class: _normalizeClass({\n\t\t\t\t\t'bb-table-caption': true,\n\t\t\t\t\t'bb-table-caption--hidden': !_ctx.displayCaption,\n\t\t\t\t})\n }, _toDisplayString(_ctx.caption), 3))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"thead\", null, [\n _renderSlot(_ctx.$slots, \"thead\", {}, () => [\n _createElementVNode(\"tr\", _hoisted_2, [\n (_ctx.selectable)\n ? (_openBlock(), _createElementBlock(\"th\", {\n key: 0,\n class: _normalizeClass([\"bb-table-header bb-table-header--select\", _ctx.thClass]),\n scope: \"col\"\n }, [\n _renderSlot(_ctx.$slots, 'header_select', {\n multiple: _ctx.multiple,\n selectAll: !!_ctx.selectAll\n }, () => [\n _createElementVNode(\"span\", _hoisted_3, [\n (_ctx.allowSelectAll && _ctx.multiple)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n class: _normalizeClass([\"bb-table-check__label\", {\n\t\t\t\t\t\t\t\t\t\t\t'bb-table-check__label--disabled': _ctx.disabled,\n\t\t\t\t\t\t\t\t\t\t}])\n }, [\n _createVNode(BaseCheckbox, {\n class: \"bb-table-check\",\n disabled: _ctx.disabled,\n indeterminate: indeterminate.value,\n \"model-value\": allSelected.value,\n name: `select_all_${_ctx.name || ''}`,\n readonly: _ctx.readonly,\n \"onUpdate:modelValue\": onChangeSelectAll\n }, null, 8, [\"disabled\", \"indeterminate\", \"model-value\", \"name\", \"readonly\"]),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_unref(selectAllText)), 1)\n ], 2))\n : (!_ctx.multiple)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(_unref(selectText)), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 2))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(mappedHeaders.value, (header, index) => {\n return (_openBlock(), _createElementBlock(\"th\", {\n key: header.key,\n class: _normalizeClass([\"bb-table-header\", header.classes]),\n scope: \"col\"\n }, [\n _renderSlot(_ctx.$slots, header.slotName, {\n classes: header.classes,\n item: undefined as unknown,\n items: internalItems.value,\n label: header.label\n }, () => [\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(header.label), 1)\n ])\n ], 2))\n }), 128)),\n (_ctx.actions)\n ? (_openBlock(), _createElementBlock(\"th\", {\n key: 1,\n class: _normalizeClass([\"bb-table-header bb-table-header--actions\", _ctx.thClass]),\n scope: \"col\"\n }, [\n _renderSlot(_ctx.$slots, \"header_actions\", { text: _ctx.actionsText }, () => [\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_ctx.actionsText), 1)\n ])\n ], 2))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (loading.value)\n ? _renderSlot(_ctx.$slots, \"loading\", {\n key: 0,\n items: internalItems.value\n }, () => [\n _createElementVNode(\"tr\", _hoisted_8, [\n _createElementVNode(\"td\", {\n class: \"bb-table-loading__cell\",\n colspan: replacementContentSpan.value\n }, [\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(_unref(loadingText)), 1),\n _createElementVNode(\"div\", _hoisted_11, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(skeletonLength.value, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item,\n class: \"bb-table-skeleton-item\"\n }, _hoisted_14))\n }), 128))\n ])\n ], 8, _hoisted_9)\n ])\n ])\n : (!internalItems.value.length)\n ? _renderSlot(_ctx.$slots, 'no-data', { key: 1 }, () => [\n _createElementVNode(\"tr\", _hoisted_15, [\n _createElementVNode(\"td\", {\n class: \"bb-table-no-data__cell\",\n colspan: replacementContentSpan.value\n }, [\n _createElementVNode(\"span\", _hoisted_17, _toDisplayString(_unref(noDataText)), 1)\n ], 8, _hoisted_16)\n ])\n ])\n : _renderSlot(_ctx.$slots, \"tbody\", { key: 2 }, () => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(mappedItems.value, (item) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: item.jsonValue,\n class: \"bb-table-data__row\",\n onClick: item.onRowClick,\n onContextmenu: item.onRowContextMenu,\n onDblclick: item.onRowDblClick\n }, [\n (_ctx.selectable)\n ? (_openBlock(), _createElementBlock(\"td\", {\n key: 0,\n class: _normalizeClass([\"bb-table-data__cell bb-table-data__cell--select\", _ctx.tdClass])\n }, [\n _renderSlot(_ctx.$slots, 'select', {\n checked: item.selected,\n disabled: !item.selectable,\n inputName: _unref(randomName),\n item: item.original,\n readonly: !!_ctx.readonly,\n value: item.value\n }, () => [\n (_ctx.multiple)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n class: _normalizeClass([\"bb-table-check__label\", {\n\t\t\t\t\t\t\t\t\t\t'bb-table-check__label--disabled': !item.selectable,\n\t\t\t\t\t\t\t\t\t}])\n }, [\n _createVNode(BaseCheckbox, {\n checked: item.selected || allSelected.value,\n class: \"bb-table-check\",\n disabled: !item.selectable,\n name: _unref(randomName),\n readonly: _ctx.readonly,\n onChange: () => onInputChange(item)\n }, null, 8, [\"checked\", \"disabled\", \"name\", \"readonly\", \"onChange\"]),\n _createElementVNode(\"span\", _hoisted_19, _toDisplayString(item.accessibleLabel), 1)\n ], 2))\n : (_openBlock(), _createElementBlock(\"label\", {\n key: 1,\n class: _normalizeClass([\"bb-table-radio__label\", {\n\t\t\t\t\t\t\t\t\t\t'bb-table-radio__label--disabled': !item.selectable,\n\t\t\t\t\t\t\t\t\t}])\n }, [\n _createVNode(BaseRadio, {\n checked: item.selected,\n class: \"bb-table-radio\",\n disabled: !item.selectable,\n name: _unref(randomName),\n readonly: _ctx.readonly,\n value: item.value,\n onChange: () => onInputChange(item)\n }, null, 8, [\"checked\", \"disabled\", \"name\", \"readonly\", \"value\", \"onChange\"]),\n _createElementVNode(\"span\", _hoisted_20, _toDisplayString(item.accessibleLabel), 1)\n ], 2))\n ])\n ], 2))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.cols, (col) => {\n return (_openBlock(), _createElementBlock(\"td\", {\n key: col.key,\n class: _normalizeClass([\"bb-table-data__cell\", col.classes])\n }, [\n _renderSlot(_ctx.$slots, col.slotName, {\n classes: col.classes,\n content: col.content,\n item: item.original,\n value: item.value\n }, () => [\n _createTextVNode(_toDisplayString(col.content), 1)\n ])\n ], 2))\n }), 128)),\n (_ctx.actions)\n ? (_openBlock(), _createElementBlock(\"td\", {\n key: 1,\n class: _normalizeClass([\"bb-table__cell bb-table__cell--actions\", _ctx.tdClass])\n }, [\n _renderSlot(_ctx.$slots, 'actions', {\n item: item.original,\n value: item.value\n })\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 40, _hoisted_18))\n }), 128))\n ])\n ]),\n _createElementVNode(\"tfoot\", null, [\n _renderSlot(_ctx.$slots, \"tfoot\")\n ])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(hiddenInputs.value, (input) => {\n return (_openBlock(), _createElementBlock(\"input\", _mergeProps({\n key: input.value\n }, input), null, 16))\n }), 128))\n ]),\n _: 3\n }, 8, [\"class\"]))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_createElementVNode","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_sfc_main","_defineComponent","columns","col","__props","__emit","getItemValue","useItemValue","randomName","useId","props","emit","container","ref","accessibleLabel","loadingText","noDataText","selectAllText","selectText","containerTag","computed","internalLoading","loading","replacementContentSpan","acc","current","modelValueIndexed","map","value","index","key","_a","pairs","deepEqual","slotNames","curr","mapped","internalItems","getItems","items","onMounted","watch","timeout","previous","mappedHeaders","column","align","label","slotName","classes","mappedItems","item","jsonValue","selectable","selectedIndex","selected","isNil","cols","content","temp","accessibleLabelText","isNotNil","event","onChangeSelectAll","selectAllValue","modelValue","allSelected","indeterminate","onInputChange","valueToEmit","makeInputValue","when","hiddenInputs","skeletonLength","clamp","headers","mappedColumns","position","clientRect","width","offset","el","add","row","cell","_ctx","_cache","_openBlock","_createBlock","_resolveDynamicComponent","_normalizeClass","_withCtx","_createElementBlock","_toDisplayString","_createCommentVNode","_renderSlot","_createVNode","BaseCheckbox","_unref","_Fragment","_renderList","header","BaseRadio","_createTextVNode","input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wG,EAAYV,EAAK,QAAQ,OAAO;AAAA,UAAA,CACjC;AAAA,QAAA,CACF;AAAA,SACAE,EAAW,EAAI,GAAGK,EAAoBO,GAAW,MAAMC,EAAY5B,GAAa,OAAO,CAACgC,OAC/EjB,EAAW,GAAGK,EAAoB,SAASa,GAAY;AAAA,UAC7D,KAAKD,EAAM;AAAA,QACV,GAAAA,CAAK,GAAG,MAAM,EAAE,EACpB,GAAG,GAAG;AAAA,MAAA,CACR;AAAA,MACD,GAAG;AAAA,IAAA,GACF,GAAG,CAAC,OAAO,CAAC;AAAA,EAEjB;AAEA,CAAC;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index102.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index102.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,95 @@
1
+ import { defineComponent as m, openBlock as c, createBlock as b, withCtx as a, renderSlot as r, normalizeProps as i, guardReactiveProps as n, createVNode as h, mergeProps as v } from "vue";
2
+ import y from "./index21.js";
3
+ import "./index22.js";
4
+ import f from "./index244.js";
5
+ import "./index245.js";
6
+ const C = /* @__PURE__ */ m({
7
+ __name: "BbTag",
8
+ props: {
9
+ autocomplete: {},
10
+ autofocus: {},
11
+ comma: { type: Boolean },
12
+ direction: {},
13
+ disabled: { type: Boolean },
14
+ divider: {},
15
+ errors: {},
16
+ hasErrors: { type: Boolean },
17
+ hideLabel: { type: Boolean },
18
+ id: {},
19
+ label: {},
20
+ labelPosition: {},
21
+ modelValue: {},
22
+ multiple: { type: Boolean, default: !0 },
23
+ name: {},
24
+ placeholder: {},
25
+ readonly: {},
26
+ reverse: { type: Boolean }
27
+ },
28
+ emits: ["blur", "change", "click", "duplicate", "focus", "inactive", "input", "keydown", "keyup", "update:modelValue"],
29
+ setup(B, { emit: p }) {
30
+ const o = p, s = {
31
+ onBlur: (e) => o("blur", e),
32
+ onChange: (e) => o("change", e),
33
+ onClick: (e) => o("click", e),
34
+ onDuplicate: (e) => o("duplicate", e),
35
+ onFocus: (e) => o("focus", e),
36
+ onInactive: () => o("inactive"),
37
+ onInput: (e) => o("input", e),
38
+ onKeydown: (e) => o("keydown", e),
39
+ onKeyup: (e) => o("keyup", e),
40
+ "onUpdate:modelValue": (e) => o("update:modelValue", e)
41
+ };
42
+ return (e, k) => (c(), b(y, {
43
+ id: e.id,
44
+ class: "bb-tag",
45
+ direction: e.direction,
46
+ errors: e.errors,
47
+ "has-errors": e.hasErrors,
48
+ "hide-label": e.hideLabel,
49
+ label: e.label,
50
+ "label-position": e.labelPosition,
51
+ "model-value": e.modelValue,
52
+ name: e.name,
53
+ reverse: e.reverse
54
+ }, {
55
+ label: a((d) => [
56
+ r(e.$slots, "label", i(n(d)))
57
+ ]),
58
+ input: a(({ id: d, name: t, hasErrors: u }) => [
59
+ h(f, v({
60
+ id: d,
61
+ autocomplete: e.autocomplete,
62
+ autofocus: e.autofocus,
63
+ comma: e.comma,
64
+ disabled: e.disabled,
65
+ divider: e.divider,
66
+ "has-errors": u,
67
+ "model-value": e.modelValue,
68
+ multiple: e.multiple,
69
+ name: t,
70
+ placeholder: e.placeholder,
71
+ readonly: e.readonly
72
+ }, s), {
73
+ "prepend-outer": a((l) => [
74
+ r(e.$slots, "prepend-outer", i(n(l)))
75
+ ]),
76
+ prepend: a((l) => [
77
+ r(e.$slots, "prepend", i(n(l)))
78
+ ]),
79
+ "append-outer": a((l) => [
80
+ r(e.$slots, "append-outer", i(n(l)))
81
+ ]),
82
+ append: a((l) => [
83
+ r(e.$slots, "append", i(n(l)))
84
+ ]),
85
+ _: 2
86
+ }, 1040, ["id", "autocomplete", "autofocus", "comma", "disabled", "divider", "has-errors", "model-value", "multiple", "name", "placeholder", "readonly"])
87
+ ]),
88
+ _: 3
89
+ }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "label", "label-position", "model-value", "name", "reverse"]));
90
+ }
91
+ });
92
+ export {
93
+ C as default
94
+ };
95
+ //# sourceMappingURL=index103.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index103.js","sources":["../src/components/BbTag/BbTag.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 BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseTag from '../BaseTag/BaseTag.vue';\nimport type { BaseTagEvents } from '../BaseTag/BaseTag.vue';\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\n\nexport type BbTagProps = {\n\t/**\n\t * Guides to the browser as to the type of information expected in the field.\n\t */\n\tautocomplete?: InputHTMLAttributes['autocomplete'];\n\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Sets the display model for selected values to a list\n\t * of comma separated string. In this mode the user\n\t * cannot deselect an option by pressing the close button.\n\t */\n\tcomma?: boolean;\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 * Disables the component\n\t */\n\tdisabled?: boolean;\n\n\t/**\n\t * The divider key used to separate values from one another. By default it is \"Enter\"\n\t */\n\tdivider?: KeyboardEvent['key'];\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 * 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 * Visually hides the label of the input while maintaining accessibility.\n\t */\n\thideLabel?: boolean;\n\n\t/**\n\t * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\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 * Used by v-model. Can be any serializable type.\n\t */\n\tmodelValue: any;\n\n\t/**\n\t * Allows the selection of multiple items.\n\t */\n\tmultiple?: boolean;\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * String displayed when there's no data.\n\t */\n\tplaceholder?: InputHTMLAttributes['placeholder'];\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\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 BbTagEvents = BaseTagEvents;\n\nexport type BbTagSlots = {\n\tappend?: (props: {}) => any;\n\n\t'append-outer'?: (props: {}) => any;\n\n\tprepend?: (props: {}) => any;\n\n\t'prepend-outer'?: (props: {}) => any;\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTag',\n props: {\n autocomplete: {},\n autofocus: {},\n comma: { type: Boolean },\n direction: {},\n disabled: { type: Boolean },\n divider: {},\n errors: {},\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n label: {},\n labelPosition: {},\n modelValue: {},\n multiple: { type: Boolean, default: true },\n name: {},\n placeholder: {},\n readonly: {},\n reverse: { type: Boolean }\n },\n emits: [\"blur\", \"change\", \"click\", \"duplicate\", \"focus\", \"inactive\", \"input\", \"keydown\", \"keyup\", \"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\tonDuplicate: (string: string) => emit('duplicate', string),\n\tonFocus: (event: FocusEvent) => emit('focus', event),\n\tonInactive: () => emit('inactive'),\n\tonInput: (event: Event) => emit('input', event),\n\tonKeydown: (event: KeyboardEvent) => emit('keydown', event),\n\tonKeyup: (event: KeyboardEvent) => emit('keyup', 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-tag\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"model-value\": _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseTag, _mergeProps({\n id: id,\n autocomplete: _ctx.autocomplete,\n autofocus: _ctx.autofocus,\n comma: _ctx.comma,\n disabled: _ctx.disabled,\n divider: _ctx.divider,\n \"has-errors\": hasErrors,\n \"model-value\": _ctx.modelValue,\n multiple: _ctx.multiple,\n name: name,\n placeholder: _ctx.placeholder,\n readonly: _ctx.readonly\n }, eventListeners), {\n \"prepend-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"append-outer\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append-outer\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"id\", \"autocomplete\", \"autofocus\", \"comma\", \"disabled\", \"divider\", \"has-errors\", \"model-value\", \"multiple\", \"name\", \"placeholder\", \"readonly\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"label\", \"label-position\", \"model-value\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","string","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseTag","_mergeProps"],"mappings":";;;;;AAqHA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,CAAC;AAAA,IACf,WAAW,CAAC;AAAA,IACZ,OAAO,EAAE,MAAM,QAAQ;AAAA,IACvB,WAAW,CAAC;AAAA,IACZ,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,SAAS,CAAC;AAAA,IACV,QAAQ,CAAC;AAAA,IACT,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,OAAO,CAAC;AAAA,IACR,eAAe,CAAC;AAAA,IAChB,YAAY,CAAC;AAAA,IACb,UAAU,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,IACzC,MAAM,CAAC;AAAA,IACP,aAAa,CAAC;AAAA,IACd,UAAU,CAAC;AAAA,IACX,SAAS,EAAE,MAAM,QAAQ;AAAA,EAC3B;AAAA,EACA,OAAO,CAAC,QAAQ,UAAU,SAAS,aAAa,SAAS,YAAY,SAAS,WAAW,SAAS,mBAAmB;AAAA,EACrH,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAIxC,UAAMC,IAAOD,GAIPE,IAAiB;AAAA,MACtB,QAAQ,CAACC,MAAsBF,EAAK,QAAQE,CAAK;AAAA,MACjD,UAAU,CAACA,MAAiBF,EAAK,UAAUE,CAAK;AAAA,MAChD,SAAS,CAACA,MAAsBF,EAAK,SAASE,CAAK;AAAA,MACn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AAGJ,CAAc,GAAG;AAAA,UAClB,iBAAiBS,EAAS,CAACC,MAAS;AAAA,YAClCC,EAAYP,EAAK,QAAQ,iBAAiBQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACrF;AAAA,UACD,SAASD,EAAS,CAACC,MAAS;AAAA,YAC1BC,EAAYP,EAAK,QAAQ,WAAWQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC/E;AAAA,UACD,gBAAgBD,EAAS,CAACC,MAAS;AAAA,YACjCC,EAAYP,EAAK,QAAQ,gBAAgBQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACpF;AAAA,UACD,QAAQD,EAAS,CAACC,MAAS;AAAA,YACzBC,EAAYP,EAAK,QAAQ,UAAUQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC9E;AAAA,UACD,GAAG;AAAA,QAAA,GACF,MAAM,CAAC,MAAM,gBAAgB,aAAa,SAAS,YAAY,WAAW,cAAc,eAAe,YAAY,QAAQ,eAAe,UAAU,CAAC;AAAA,MAAA,CACzJ;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,MAAM,aAAa,UAAU,cAAc,cAAc,SAAS,kBAAkB,eAAe,QAAQ,SAAS,CAAC;AAAA,EAE9H;AAEA,CAAC;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index104.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index104.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,89 @@
1
+ import { defineComponent as u, openBlock as i, createBlock as t, withCtx as r, renderSlot as a, normalizeProps as m, guardReactiveProps as b, createVNode as h, mergeProps as c } from "vue";
2
+ import f from "./index21.js";
3
+ import "./index22.js";
4
+ import y from "./index39.js";
5
+ import "./index40.js";
6
+ const P = /* @__PURE__ */ u({
7
+ __name: "BbTextarea",
8
+ props: {
9
+ autocomplete: {},
10
+ autofocus: {},
11
+ autoGrow: { type: Boolean },
12
+ direction: {},
13
+ disabled: { type: Boolean },
14
+ errors: {},
15
+ hasErrors: { type: Boolean },
16
+ hideLabel: { type: Boolean },
17
+ id: {},
18
+ label: {},
19
+ labelPosition: {},
20
+ modelValue: {},
21
+ name: {},
22
+ placeholder: {},
23
+ readonly: {},
24
+ reverse: { type: Boolean }
25
+ },
26
+ emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
27
+ setup(w, { emit: n }) {
28
+ const o = n, s = {
29
+ onBlur: (e) => o("blur", e),
30
+ onChange: (e) => o("change", e),
31
+ onClick: (e) => o("click", e),
32
+ onFocus: (e) => o("focus", e),
33
+ onInput: (e) => o("input", e),
34
+ onKeydown: (e) => o("keydown", e),
35
+ onMousedown: (e) => o("mousedown", e),
36
+ onMouseup: (e) => o("mouseup", e),
37
+ "onUpdate:modelValue": (e) => o("update:modelValue", e)
38
+ };
39
+ return (e, v) => (i(), t(f, {
40
+ id: e.id,
41
+ class: "bb-textarea",
42
+ direction: e.direction,
43
+ errors: e.errors,
44
+ "has-errors": e.hasErrors,
45
+ "hide-label": e.hideLabel,
46
+ label: e.label,
47
+ "label-position": e.labelPosition,
48
+ "model-value": e.modelValue,
49
+ name: e.name,
50
+ reverse: e.reverse
51
+ }, {
52
+ label: r((l) => [
53
+ a(e.$slots, "label", m(b(l)))
54
+ ]),
55
+ input: r(({ id: l, name: d, hasErrors: p }) => [
56
+ h(y, c({
57
+ id: l,
58
+ "auto-grow": e.autoGrow,
59
+ autofocus: e.autofocus,
60
+ disabled: e.disabled,
61
+ "has-errors": p,
62
+ "model-value": e.modelValue,
63
+ name: d,
64
+ placeholder: e.placeholder,
65
+ readonly: e.readonly
66
+ }, s), {
67
+ "append-outer": r(() => [
68
+ a(e.$slots, "append-outer")
69
+ ]),
70
+ append: r(() => [
71
+ a(e.$slots, "append")
72
+ ]),
73
+ prepend: r(() => [
74
+ a(e.$slots, "prepend")
75
+ ]),
76
+ "prepend-outer": r(() => [
77
+ a(e.$slots, "prepend-outer")
78
+ ]),
79
+ _: 2
80
+ }, 1040, ["id", "auto-grow", "autofocus", "disabled", "has-errors", "model-value", "name", "placeholder", "readonly"])
81
+ ]),
82
+ _: 3
83
+ }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "label", "label-position", "model-value", "name", "reverse"]));
84
+ }
85
+ });
86
+ export {
87
+ P as default
88
+ };
89
+ //# sourceMappingURL=index105.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index105.js","sources":["../src/components/BbTextarea/BbTextarea.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 BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseTextarea from '../BaseTextarea/BaseTextarea.vue';\nimport type {\n\tBaseTextareaEvents,\n\tBaseTextareaSlots,\n} from '../BaseTextarea/BaseTextarea.vue';\nimport type { BaseInputContainerSlots } from '../BaseInputContainer/BaseInputContainer.vue';\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\n\nexport type BbTextareaProps = {\n\t/**\n\t * Guides to the browser as to the type of information expected in the field.\n\t */\n\tautocomplete?: InputHTMLAttributes['autocomplete'];\n\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Expands the textarea to match its content\n\t */\n\tautoGrow?: boolean;\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 * Disables the component\n\t */\n\tdisabled?: boolean;\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 * 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 * Visually hides the label of the input while maintaining accessibility.\n\t */\n\thideLabel?: boolean;\n\n\t/**\n\t * The identifier of the component.\n\t */\n\tid?: HTMLAttributes['id'];\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 * Used by v-model\n\t */\n\tmodelValue: string | null;\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * String displayed when there's no data.\n\t */\n\tplaceholder?: InputHTMLAttributes['placeholder'];\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\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 BbTextareaEvents = BaseTextareaEvents;\nexport type BbTextareaSlots = BaseTextareaSlots & {\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTextarea',\n props: {\n autocomplete: {},\n autofocus: {},\n autoGrow: { type: Boolean },\n direction: {},\n disabled: { type: Boolean },\n errors: {},\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n label: {},\n labelPosition: {},\n modelValue: {},\n name: {},\n placeholder: {},\n readonly: {},\n reverse: { type: Boolean }\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\n/**\n * These events are just propagated\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: string | null) =>\n\t\temit('update:modelValue', value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-textarea\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"model-value\": _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseTextarea, _mergeProps({\n id: id,\n \"auto-grow\": _ctx.autoGrow,\n autofocus: _ctx.autofocus,\n disabled: _ctx.disabled,\n \"has-errors\": hasErrors,\n \"model-value\": _ctx.modelValue,\n name: name,\n placeholder: _ctx.placeholder,\n readonly: _ctx.readonly\n }, eventListeners), {\n \"append-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append-outer\")\n ]),\n append: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append\")\n ]),\n prepend: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend\")\n ]),\n \"prepend-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend-outer\")\n ]),\n _: 2\n }, 1040, [\"id\", \"auto-grow\", \"autofocus\", \"disabled\", \"has-errors\", \"model-value\", \"name\", \"placeholder\", \"readonly\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"label\", \"label-position\", \"model-value\", \"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","BaseTextarea","_mergeProps"],"mappings":";;;;;AAqGA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,CAAC;AAAA,IACf,WAAW,CAAC;AAAA,IACZ,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,WAAW,CAAC;AAAA,IACZ,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,QAAQ,CAAC;AAAA,IACT,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,OAAO,CAAC;AAAA,IACR,eAAe,CAAC;AAAA,IAChB,YAAY,CAAC;AAAA,IACb,MAAM,CAAC;AAAA,IACP,aAAa,CAAC;AAAA,IACd,UAAU,CAAC;AAAA,IACX,SAAS,EAAE,MAAM,QAAQ;AAAA,EAC3B;AAAA,EACA,OAAO,CAAC,QAAQ,UAAU,SAAS,SAAS,SAAS,WAAW,aAAa,WAAW,mBAAmB;AAAA,EAC3G,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAIxC,UAAMC,IAAOD,GAOPE,IAAiB;AAAA,MACtB,QAAQ,CAACC,MAAsBF,EAAK,QAAQE,CAAK;AAAA,MACjD,UAAU,CAACA,MAAiBF,EAAK,UAAUE,CAAK;AAAA,MAChD,SAAS,CAACA,MAAsBF,EAAK,SAASE,CAAK;AAAA,MACnD,SAAS,CAACA,MAAsBF,EAAK,SAASE,CAAK;AAAA,MACnD,SAAS,CAACA,MAAiBF,EAAK,SAASE,CAAK;AAAA,MAC9C,WAAW,CAACA,MAAyBF,EAA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YACtBE,EAAYP,EAAK,QAAQ,SAAS;AAAA,UAAA,CACnC;AAAA,UACD,iBAAiBK,EAAS,MAAM;AAAA,YAC9BE,EAAYP,EAAK,QAAQ,eAAe;AAAA,UAAA,CACzC;AAAA,UACD,GAAG;AAAA,QACF,GAAA,MAAM,CAAC,MAAM,aAAa,aAAa,YAAY,cAAc,eAAe,QAAQ,eAAe,UAAU,CAAC;AAAA,MAAA,CACtH;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,MAAM,aAAa,UAAU,cAAc,cAAc,SAAS,kBAAkB,eAAe,QAAQ,SAAS,CAAC;AAAA,EAE9H;AAEA,CAAC;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index106.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index106.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,90 @@
1
+ import { defineComponent as u, openBlock as t, createBlock as i, withCtx as l, renderSlot as r, normalizeProps as m, guardReactiveProps as b, createVNode as c, mergeProps as h } from "vue";
2
+ import y from "./index21.js";
3
+ import "./index22.js";
4
+ import f from "./index41.js";
5
+ import "./index42.js";
6
+ const P = /* @__PURE__ */ u({
7
+ __name: "BbTextInput",
8
+ props: {
9
+ autocomplete: {},
10
+ autofocus: {},
11
+ disabled: { type: Boolean },
12
+ hasErrors: { type: Boolean },
13
+ id: {},
14
+ name: {},
15
+ placeholder: {},
16
+ readonly: {},
17
+ modelValue: {},
18
+ type: {},
19
+ direction: {},
20
+ errors: {},
21
+ hideLabel: { type: Boolean },
22
+ label: {},
23
+ labelPosition: {},
24
+ reverse: { type: Boolean }
25
+ },
26
+ emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
27
+ setup(v, { emit: n }) {
28
+ const o = n, s = {
29
+ onBlur: (e) => o("blur", e),
30
+ onChange: (e) => o("change", e),
31
+ onClick: (e) => o("click", e),
32
+ onFocus: (e) => o("focus", e),
33
+ onInput: (e) => o("input", e),
34
+ onKeydown: (e) => o("keydown", e),
35
+ onMousedown: (e) => o("mousedown", e),
36
+ onMouseup: (e) => o("mouseup", e),
37
+ "onUpdate:modelValue": (e) => o("update:modelValue", e)
38
+ };
39
+ return (e, B) => (t(), i(y, {
40
+ id: e.id,
41
+ class: "bb-text-input",
42
+ direction: e.direction,
43
+ errors: e.errors,
44
+ "has-errors": e.hasErrors,
45
+ "hide-label": e.hideLabel,
46
+ label: e.label,
47
+ "label-position": e.labelPosition,
48
+ "model-value": e.modelValue,
49
+ name: e.name,
50
+ reverse: e.reverse
51
+ }, {
52
+ label: l((a) => [
53
+ r(e.$slots, "label", m(b(a)))
54
+ ]),
55
+ input: l(({ id: a, name: p, hasErrors: d }) => [
56
+ c(f, h({
57
+ id: a,
58
+ autocomplete: e.autocomplete,
59
+ autofocus: e.autofocus,
60
+ disabled: e.disabled,
61
+ "has-errors": d,
62
+ "model-value": e.modelValue,
63
+ name: p,
64
+ placeholder: e.placeholder,
65
+ readonly: e.readonly,
66
+ type: e.type
67
+ }, s), {
68
+ "append-outer": l(() => [
69
+ r(e.$slots, "append-outer")
70
+ ]),
71
+ append: l(() => [
72
+ r(e.$slots, "append")
73
+ ]),
74
+ prepend: l(() => [
75
+ r(e.$slots, "prepend")
76
+ ]),
77
+ "prepend-outer": l(() => [
78
+ r(e.$slots, "prepend-outer")
79
+ ]),
80
+ _: 2
81
+ }, 1040, ["id", "autocomplete", "autofocus", "disabled", "has-errors", "model-value", "name", "placeholder", "readonly", "type"])
82
+ ]),
83
+ _: 3
84
+ }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "label", "label-position", "model-value", "name", "reverse"]));
85
+ }
86
+ });
87
+ export {
88
+ P as default
89
+ };
90
+ //# sourceMappingURL=index107.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index107.js","sources":["../src/components/BbTextInput/BbTextInput.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 type { HTMLAttributes, InputHTMLAttributes } from 'vue';\nimport BaseInputContainer, {\n\ttype BaseInputContainerSlots,\n} from '../BaseInputContainer/BaseInputContainer.vue';\nimport BaseTextInput from '../BaseTextInput/BaseTextInput.vue';\nimport type {\n\tBaseTextInputEvents,\n\tBaseTextInputSlots,\n} from '../BaseTextInput/BaseTextInput.vue';\n\nexport type BbTextInputProps = {\n\t/**\n\t * Guides to the browser as to the type of information expected in the field.\n\t */\n\tautocomplete?: InputHTMLAttributes['autocomplete'];\n\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Disables the component\n\t */\n\tdisabled?: boolean;\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 * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * String displayed when there's no data.\n\t */\n\tplaceholder?: InputHTMLAttributes['placeholder'];\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\n\t/**\n\t * Used my v-model\n\t */\n\tmodelValue: string | null;\n\t/**\n\t * Type of the input. Returns the content type of the object.\n\t */\n\ttype?: HTMLInputElement['type'];\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 * 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 BbTextInputEvents = BaseTextInputEvents;\nexport type BbTextInputSlots = BaseTextInputSlots & {\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTextInput',\n props: {\n autocomplete: {},\n autofocus: {},\n disabled: { type: Boolean },\n hasErrors: { type: Boolean },\n id: {},\n name: {},\n placeholder: {},\n readonly: {},\n modelValue: {},\n type: {},\n direction: {},\n errors: {},\n hideLabel: { type: Boolean },\n label: {},\n labelPosition: {},\n reverse: { type: Boolean }\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\n/**\n * These events are just propagated\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: string | null) =>\n\t\temit('update:modelValue', value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-text-input\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"model-value\": _ctx.modelValue,\n name: _ctx.name,\n reverse: _ctx.reverse\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseTextInput, _mergeProps({\n id: id,\n autocomplete: _ctx.autocomplete,\n autofocus: _ctx.autofocus,\n disabled: _ctx.disabled,\n \"has-errors\": hasErrors,\n \"model-value\": _ctx.modelValue,\n name: name,\n placeholder: _ctx.placeholder,\n readonly: _ctx.readonly,\n type: _ctx.type\n }, eventListeners), {\n \"append-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append-outer\")\n ]),\n append: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append\")\n ]),\n prepend: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend\")\n ]),\n \"prepend-outer\": _withCtx(() => [\n _renderSlot(_ctx.$slots, \"prepend-outer\")\n ]),\n _: 2\n }, 1040, [\"id\", \"autocomplete\", \"autofocus\", \"disabled\", \"has-errors\", \"model-value\", \"name\", \"placeholder\", \"readonly\", \"type\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"label\", \"label-position\", \"model-value\", \"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","BaseTextInput","_mergeProps"],"mappings":";;;;;AAoGA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,cAAc,CAAC;AAAA,IACf,WAAW,CAAC;AAAA,IACZ,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,WAAW,EAAE,MAAM,QAAQ;AAAA,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@@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index108.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index108.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,30 @@
1
+ import { defineComponent as s, openBlock as e, createBlock as o, Teleport as l, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as p, withCtx as u, createElementBlock as d, Fragment as f, renderList as _, unref as r, mergeProps as b } from "vue";
2
+ import { state as k, useToast as C } from "./index5.js";
3
+ import B from "./index243.js";
4
+ const N = /* @__PURE__ */ s({
5
+ __name: "BbToast",
6
+ props: {
7
+ placement: { default: "bottom" }
8
+ },
9
+ setup(T) {
10
+ const { dismiss: n } = C();
11
+ return (a, h) => (e(), o(l, { to: "body" }, [
12
+ c("div", {
13
+ class: m(["bb-toast", { [`bb-toast--${a.placement}`]: !0 }])
14
+ }, [
15
+ i(p, { name: "toast" }, {
16
+ default: u(() => [
17
+ (e(!0), d(f, null, _(r(k).stack, (t) => (e(), o(B, b({
18
+ key: t.id
19
+ }, t, { "onClick:close": r(n) }), null, 16, ["onClick:close"]))), 128))
20
+ ]),
21
+ _: 1
22
+ })
23
+ ], 2)
24
+ ]));
25
+ }
26
+ });
27
+ export {
28
+ N as default
29
+ };
30
+ //# sourceMappingURL=index109.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index109.js","sources":["../src/components/BbToast/BbToast.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, mergeProps as _mergeProps, createBlock as _createBlock, TransitionGroup as _TransitionGroup, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, Teleport as _Teleport } from \"vue\"\n\nimport { state, useToast } from '../../composables/useToast';\nimport BbToastMessage from './BbToastMessage.vue';\nexport type BbToastProps = {\n\t/**\n\t * Placement of the messages on the screen.\n\t */\n\tplacement?:\n\t\t| 'bottom'\n\t\t| 'bottom-start'\n\t\t| 'bottom-end'\n\t\t| 'top'\n\t\t| 'top-start'\n\t\t| 'top-end';\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbToast',\n props: {\n placement: { default: 'bottom' }\n },\n setup(__props: any) {\n\nconst { dismiss } = useToast();\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"bb-toast\", { [`bb-toast--${_ctx.placement}`]: true }])\n }, [\n _createVNode(_TransitionGroup, { name: \"toast\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(state).stack, (message) => {\n return (_openBlock(), _createBlock(BbToastMessage, _mergeProps({\n key: message.id\n }, message, { \"onClick:close\": _unref(dismiss) }), null, 16, [\"onClick:close\"]))\n }), 128))\n ]),\n _: 1\n })\n ], 2)\n ]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","dismiss","useToast","_ctx","_cache","_openBlock","_createBlock","_Teleport","_createElementVNode","_normalizeClass","_createVNode","_TransitionGroup","_withCtx","_createElementBlock","_Fragment","_renderList","_unref","state","message","BbToastMessage","_mergeProps"],"mappings":";;;AAmBA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,EAAE,SAAS,SAAS;AAAA,EACjC;AAAA,EACA,MAAMC,GAAc;AAEhB,UAAA,EAAE,SAAAC,MAAYC;AAIb,WAAA,CAACC,GAAUC,OACRC,EAAc,GAAAC,EAAaC,GAAW,EAAE,IAAI,UAAU;AAAA,MAC5DC,EAAoB,OAAO;AAAA,QACzB,OAAOC,EAAgB,CAAC,YAAY,EAAE,CAAC,aAAaN,EAAK,SAAS,EAAE,GAAG,GAAM,CAAA,CAAC;AAAA,MAAA,GAC7E;AAAA,QACDO,EAAaC,GAAkB,EAAE,MAAM,WAAW;AAAA,UAChD,SAASC,EAAS,MAAM;AAAA,aACrBP,EAAW,EAAI,GAAGQ,EAAoBC,GAAW,MAAMC,EAAYC,EAAOC,CAAK,EAAE,OAAO,CAACC,OAChFb,EAAW,GAAGC,EAAaa,GAAgBC,EAAY;AAAA,cAC7D,KAAKF,EAAQ;AAAA,YACZ,GAAAA,GAAS,EAAE,iBAAiBF,EAAOf,CAAO,GAAG,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,EAC/E,GAAG,GAAG;AAAA,UAAA,CACR;AAAA,UACD,GAAG;AAAA,QAAA,CACJ;AAAA,SACA,CAAC;AAAA,IAAA,CACL;AAAA,EAEH;AAEA,CAAC;"}