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,706 @@
1
+ import { defineComponent as Ne, ref as f, computed as y, onMounted as $e, onBeforeUnmount as De, watch as X, openBlock as g, createElementBlock as h, normalizeClass as x, renderSlot as b, createElementVNode as w, Fragment as D, renderList as H, toDisplayString as L, createBlock as ue, withModifiers as I, withCtx as Le, createTextVNode as ee, createCommentVNode as ie, withDirectives as Fe, vModelDynamic as Me, Teleport as Ae, normalizeStyle as Je, createVNode as qe, mergeProps as Re, nextTick as se } from "vue";
2
+ import ze from "./index115.js";
3
+ import "./index158.js";
4
+ import Pe from "./index119.js";
5
+ import "./index185.js";
6
+ import { autoUpdate as He, computePosition as Ue, flip as je, shift as Qe } from "./index200.js";
7
+ import { deepEqual as re } from "./index123.js";
8
+ import { head as le } from "./index220.js";
9
+ import { isNotNil as B } from "./index124.js";
10
+ import { last as We } from "./index205.js";
11
+ import { useItemText as Ke } from "./index125.js";
12
+ import { useItemValue as Ye } from "./index126.js";
13
+ import { wait as q } from "./index122.js";
14
+ import { waitFor as Ze } from "./index199.js";
15
+ import { when as Ge } from "./index218.js";
16
+ import { offset as Xe } from "./index208.js";
17
+ const el = { class: "bb-base-select__input-container" }, ll = ["id", "autocomplete", "autofocus", "disabled", "placeholder", "readonly"], tl = {
18
+ key: 0,
19
+ class: "bb-base-select__loading-container"
20
+ }, al = {
21
+ key: 1,
22
+ class: "bb-base-select__no-data-container"
23
+ }, nl = ["id", "aria-selected"], ol = { class: "bb-base-select-option__content" }, ul = { class: "bb-base-select-option__text" }, il = { class: "bb-base-select__chevron" }, sl = /* @__PURE__ */ w("svg", {
24
+ fill: "none",
25
+ viewBox: "0 0 16 8",
26
+ xmlns: "http://www.w3.org/2000/svg"
27
+ }, [
28
+ /* @__PURE__ */ w("path", {
29
+ "clip-rule": "evenodd",
30
+ d: "M0.851779 0.225802C0.90403 0.173418 0.966103 0.131858 1.03444 0.1035C1.10278 0.0751431 1.17604 0.0605469 1.25003 0.0605469C1.32402 0.0605469 1.39728 0.0751431 1.46562 0.1035C1.53396 0.131858 1.59603 0.173418 1.64828 0.225802L8.00003 6.57868L14.3518 0.225802C14.4041 0.173503 14.4662 0.132017 14.5345 0.103713C14.6028 0.0754093 14.6761 0.0608414 14.75 0.0608414C14.824 0.0608414 14.8972 0.0754093 14.9656 0.103713C15.0339 0.132017 15.096 0.173503 15.1483 0.225802C15.2006 0.278101 15.2421 0.340189 15.2704 0.408521C15.2987 0.476852 15.3132 0.55009 15.3132 0.624052C15.3132 0.698014 15.2987 0.771252 15.2704 0.839584C15.2421 0.907916 15.2006 0.970003 15.1483 1.0223L8.39828 7.7723C8.34603 7.82469 8.28395 7.86625 8.21562 7.8946C8.14728 7.92296 8.07402 7.93756 8.00003 7.93756C7.92604 7.93756 7.85278 7.92296 7.78444 7.8946C7.7161 7.86625 7.65403 7.82469 7.60178 7.7723L0.851779 1.0223C0.799395 0.970051 0.757835 0.907978 0.729477 0.83964C0.70112 0.771302 0.686523 0.69804 0.686523 0.624052C0.686523 0.550064 0.70112 0.476803 0.729477 0.408464C0.757835 0.340126 0.799395 0.278053 0.851779 0.225802Z",
31
+ fill: "currentColor",
32
+ "fill-rule": "evenodd"
33
+ })
34
+ ], -1), _l = /* @__PURE__ */ Ne({
35
+ __name: "BaseSelect",
36
+ props: {
37
+ allowWriting: { type: Boolean, default: !0 },
38
+ autocomplete: {},
39
+ autofocus: {},
40
+ debug: { type: Boolean },
41
+ dependencies: {},
42
+ depsDebounceTime: { default: 0 },
43
+ disabled: { type: Boolean },
44
+ enforceCoherence: { type: Boolean },
45
+ hasErrors: { type: Boolean },
46
+ id: {},
47
+ loadingText: { default: "Caricamento..." },
48
+ matchStrategy: { default: "string" },
49
+ modelValueDebounceTime: { default: 0 },
50
+ multiple: { type: Boolean },
51
+ name: {},
52
+ noDataText: { default: "Nessun elemento da visualizzare" },
53
+ placeholder: {},
54
+ readonly: {},
55
+ transitionDuration: { default: 200 },
56
+ items: {},
57
+ itemText: {},
58
+ itemValue: {},
59
+ modelValue: {},
60
+ addOptions: { type: Boolean },
61
+ comma: { type: Boolean },
62
+ filterBy: { type: [String, Array, Boolean, Function, null], default: () => [] },
63
+ prefill: { type: [Boolean, String], default: "focus" },
64
+ queryDebounceTime: { default: 500 },
65
+ resetQueryOnOptionSelected: { type: Boolean },
66
+ stash: { type: Boolean },
67
+ updateOnAnimationFrame: { type: Boolean, default: !1 }
68
+ },
69
+ emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
70
+ setup(de, { emit: ce }) {
71
+ const e = de, c = ce;
72
+ if (e.multiple && !Array.isArray(e.modelValue))
73
+ throw new Error('Multiple is set to "true" but modelValue is not an array.');
74
+ const F = f(null), E = f(null), v = f(null), S = f(null), u = f(""), fe = y(() => s.value.length ? "" : e.placeholder), d = f(0), ve = e.transitionDuration / 1e3 + "s";
75
+ let te;
76
+ $e(async () => {
77
+ e.debug && console.log("Calling onMounted"), E.value && v.value && (te = He(
78
+ E.value,
79
+ v.value,
80
+ ye,
81
+ {
82
+ ancestorResize: !0,
83
+ ancestorScroll: !0,
84
+ animationFrame: e.updateOnAnimationFrame,
85
+ elementResize: !0
86
+ }
87
+ ));
88
+ }), De(() => {
89
+ e.debug && console.log("Calling onBeforeUnMount"), te();
90
+ });
91
+ const ae = f([]), p = f([]), V = f([]), { getItemText: pe } = Ke(), { getItemValue: me } = Ye(), ge = y(() => ae.value.map((l, a) => {
92
+ e.debug && console.log("Mapping items in internalOptions", { item: l });
93
+ const t = pe(l, e.itemText), n = me(l, e.itemValue);
94
+ if (n === void 0)
95
+ throw new Error(
96
+ 'The result of extracting "value" from option was undefined. Affected item is ' + JSON.stringify(l) + " please check itemValue property is correct."
97
+ );
98
+ const o = JSON.stringify(n);
99
+ return {
100
+ disabled: !!l.disabled,
101
+ id: "option_" + o.replace(/\W/g, "_"),
102
+ jsonValue: o,
103
+ manual: !1,
104
+ original: l,
105
+ text: t,
106
+ value: n
107
+ };
108
+ })), O = y(() => {
109
+ let l = ge.value.reduce(
110
+ (n, o) => (n[o.id] = o, n),
111
+ {}
112
+ );
113
+ const a = V.value.reduce(
114
+ (n, o) => (n[o.id] || (n[o.id] = o), n),
115
+ l
116
+ ), t = p.value.reduce(
117
+ (n, o) => (n[o.id] || (n[o.id] = o), n),
118
+ a
119
+ );
120
+ return e.debug && console.log("Computing options in options", {
121
+ fromOptions: l,
122
+ withManual: a,
123
+ withStash: t
124
+ }), Object.values(t).map(
125
+ (n, o) => ({
126
+ ...n,
127
+ selected: B(be.value.get(n.value)),
128
+ index: o
129
+ })
130
+ );
131
+ }), C = y(() => {
132
+ e.debug && console.log("Computing filtered options");
133
+ let l = [];
134
+ return u.value && !s.value.some(
135
+ (a) => a.text === u.value
136
+ ) ? l = O.value.filter((a) => {
137
+ let t = !1;
138
+ if (e.filterBy) {
139
+ if (typeof e.filterBy == "function")
140
+ t = e.filterBy(a.value, a.original);
141
+ else if (e.filterBy.length) {
142
+ const n = [].concat(e.filterBy);
143
+ for (let o = 0; o < n.length; o++) {
144
+ const T = n[o];
145
+ t = t || a.original[T] && a.original[T].toLowerCase().includes(u.value.toLowerCase());
146
+ }
147
+ }
148
+ } else
149
+ return !0;
150
+ return t || a.text.toLowerCase().includes(u.value.toLowerCase());
151
+ }) : l = O.value, l.map((a, t) => ({
152
+ ...a,
153
+ focused: _.value === t
154
+ }));
155
+ }), R = y(
156
+ () => O.value.reduce(
157
+ (l, a) => ({
158
+ ...l,
159
+ [a.id]: a
160
+ }),
161
+ {}
162
+ )
163
+ ), m = y(() => {
164
+ if (e.debug && console.log("Computing optionsIndexedByValue"), e.matchStrategy === "string") {
165
+ let l = O.value.reduce(
166
+ (a, t) => (a[t.jsonValue] = t, a),
167
+ {}
168
+ );
169
+ return {
170
+ get: (a) => l[JSON.stringify(a)]
171
+ };
172
+ } else if (e.matchStrategy === "equality") {
173
+ let l = O.value.map((a) => [
174
+ a.value,
175
+ a
176
+ ]);
177
+ return {
178
+ get: (a) => {
179
+ var t;
180
+ return (t = l.find((n) => re(n[0], a))) == null ? void 0 : t[1];
181
+ }
182
+ };
183
+ } else
184
+ throw new Error("No match strategy has been defined");
185
+ }), be = y(() => {
186
+ if (e.debug && console.log("Computing modelValueIndexed"), e.matchStrategy === "string") {
187
+ let l = {};
188
+ return [].concat(e.modelValue).forEach((a, t) => {
189
+ l[JSON.stringify(a)] = t;
190
+ }), {
191
+ get: (a) => l[JSON.stringify(a)]
192
+ };
193
+ } else if (e.matchStrategy === "equality") {
194
+ const l = [].concat(e.modelValue).filter(B).map((a, t) => [a, t]);
195
+ return {
196
+ get: (a) => {
197
+ var t;
198
+ return (t = l.find((n) => re(n[0], a))) == null ? void 0 : t[1];
199
+ }
200
+ };
201
+ } else
202
+ throw new Error("No match strategy has been defined");
203
+ }), s = y(() => (e.debug && console.log("Computing selectedOptions"), [].concat(e.modelValue).reduce((l, a) => {
204
+ const t = m.value.get(a);
205
+ return t && l.push(t), l;
206
+ }, []))), M = (l) => {
207
+ e.debug && console.log("Running onOptionSelected", { option: l });
208
+ let a;
209
+ r.value = l.index, e.multiple ? (l.selected ? (l.manual && (e.debug && console.log("onOptionSelected: inside multiple > selected > manual"), V.value = V.value.filter(
210
+ (t) => t.id !== l.id
211
+ )), a = e.modelValue.filter(
212
+ (t) => JSON.stringify(t) !== l.jsonValue
213
+ ), e.stash && (e.debug && console.log("onOptionSelected: inside multiple > selected > stash"), p.value = p.value.filter((t) => t.id !== l.id))) : (e.debug && console.log("onOptionSelected: inside multiple > not selected"), a = e.modelValue.concat(l.value), e.stash && (e.debug && console.log(
214
+ "onOptionSelected: inside multiple > not selected > stash"
215
+ ), p.value = p.value.concat(l))), e.resetQueryOnOptionSelected && (e.debug && console.log("onOptionSelected: resetting query"), u.value = "")) : l.selected ? (l.manual && (e.debug && console.log("onOptionSelected: inside single > selected > manual"), V.value = V.value.filter(
216
+ (t) => t.id !== l.id
217
+ )), a = null, e.stash && (e.debug && console.log("onOptionSelected: inside single > selected > stash"), p.value = []), u.value = "") : (e.debug && console.log("onOptionSelected: inside single > not selected"), a = l.value, e.stash && (e.debug && console.log("onOptionSelected: inside single > not selected > stash"), p.value = [l]), u.value = l.text), c("update:modelValue", a);
218
+ }, N = async ({ prefill: l = !1 }) => {
219
+ e.debug && console.log("running getOptions");
220
+ let a = [];
221
+ Array.isArray(e.items) ? a = e.items : typeof e.items == "function" && (d.value++, a = await e.items(u.value, l, e.modelValue), d.value--), ae.value = a;
222
+ }, he = () => {
223
+ e.debug && console.log("running addOption");
224
+ const l = u.value, a = u.value, t = JSON.stringify(a), n = {
225
+ text: l,
226
+ value: a,
227
+ jsonValue: t,
228
+ id: "option_" + t.replace(/\W/g, "_"),
229
+ original: a,
230
+ manual: !0,
231
+ disabled: !1
232
+ };
233
+ V.value = V.value.concat(n), u.value = "";
234
+ }, z = e.prefill === !0 || !e.multiple && B(e.modelValue) || e.multiple && !!e.modelValue.length;
235
+ let U;
236
+ X(
237
+ () => e.modelValue,
238
+ (l, a) => {
239
+ e.debug && console.log("running watch.modelValue"), U && clearTimeout(U), U = setTimeout(
240
+ async () => {
241
+ if (e.multiple) {
242
+ if (!Array.isArray(e.modelValue))
243
+ throw new Error("props.modelValue is not an array.");
244
+ let t = e.modelValue.every(
245
+ (n) => m.value.get(n)
246
+ );
247
+ if ((!t || a === void 0) && (await N({ prefill: !0 }), t = e.modelValue.every(
248
+ (n) => m.value.get(n)
249
+ )), t)
250
+ e.stash && (p.value = e.modelValue.map(
251
+ (n) => m.value.get(n)
252
+ ));
253
+ else {
254
+ let n = [];
255
+ const o = l.filter((T) => {
256
+ let J = m.value.get(T);
257
+ return J && n.push(J), J;
258
+ });
259
+ e.stash && (p.value = n), e.enforceCoherence && c("update:modelValue", o);
260
+ }
261
+ } else {
262
+ e.debug && console.log("watch.modelValue >> single");
263
+ let t = m.value.get(e.modelValue);
264
+ if (!t && B(e.modelValue) || a === void 0) {
265
+ e.debug && console.log("watch.modelValue >> not found line 895");
266
+ const n = u.value;
267
+ u.value = "", await N({ prefill: !0 }), u.value = n;
268
+ }
269
+ t = m.value.get(e.modelValue), t ? (e.debug && console.log("watch.modelValue >> found"), u.value = t.text, e.stash && (p.value = [t])) : e.enforceCoherence && B(l) ? (e.debug && console.log("watch.modelValue >> not found line 911"), u.value = "", e.stash && (p.value = []), c("update:modelValue", null)) : u.value = "";
270
+ }
271
+ },
272
+ z ? 0 : e.modelValueDebounceTime
273
+ );
274
+ },
275
+ // Prefill when asked or when items are static
276
+ { immediate: z, deep: !0 }
277
+ ), X(
278
+ () => e.items,
279
+ async (l, a) => {
280
+ if (typeof l == "function" || // Circumvent arrays defined in the template by the parent
281
+ JSON.stringify(l) !== JSON.stringify(a))
282
+ if (e.debug && console.log("watch.items"), await N({ prefill: !1 }), e.multiple) {
283
+ if (!e.modelValue.every(
284
+ (n) => m.value.get(n)
285
+ ) && e.enforceCoherence) {
286
+ const n = e.modelValue.filter((o) => m.value.get(o));
287
+ c("update:modelValue", n);
288
+ }
289
+ } else
290
+ !m.value.get(e.modelValue) && e.enforceCoherence && B(e.modelValue) && c("update:modelValue", null), r.value = null;
291
+ }
292
+ );
293
+ let j;
294
+ X(
295
+ () => e.dependencies,
296
+ (l, a) => {
297
+ !z && e.prefill === "focus" && Y || JSON.stringify(l) !== JSON.stringify(a) && (j && clearTimeout(j), j = setTimeout(async () => {
298
+ if (JSON.stringify(l) !== JSON.stringify(a)) {
299
+ e.enforceCoherence && e.stash && (p.value = []);
300
+ let t = u.value;
301
+ if (u.value = "", await N({ prefill: !0 }), u.value = t, !e.multiple)
302
+ !m.value.get(e.modelValue) && e.enforceCoherence && B(e.modelValue) && (u.value = "", e.stash && (p.value = []), c("update:modelValue", null));
303
+ else if (!e.modelValue.every(
304
+ (o) => m.value.get(o)
305
+ ) && e.enforceCoherence) {
306
+ let o = [];
307
+ const T = e.modelValue.filter((J) => {
308
+ let G = m.value.get(J);
309
+ return G && o.push(G), G;
310
+ });
311
+ e.stash && (p.value = o), c("update:modelValue", T);
312
+ }
313
+ }
314
+ }, e.depsDebounceTime));
315
+ },
316
+ { deep: !0 }
317
+ );
318
+ const ye = () => {
319
+ e.debug && console.log("Running display options"), E.value && v.value && Ue(E.value, v.value, {
320
+ placement: "bottom",
321
+ middleware: [Xe(6), je(), Qe()]
322
+ }).then((l) => {
323
+ var a;
324
+ v.value && (v.value.style.left = `${l.x}px`, v.value.style.top = `${l.y}px`, v.value.style.width = `${(a = E.value) == null ? void 0 : a.offsetWidth}px`);
325
+ });
326
+ }, k = f(!1), Q = f(!1), W = f(!1), K = f(!0), $ = async () => {
327
+ K.value = !1, Q.value = !0, await q(e.transitionDuration), Q.value = !1, k.value = !0;
328
+ }, A = async () => {
329
+ k.value = !1, W.value = !0, await q(e.transitionDuration), W.value = !1, K.value = !0;
330
+ }, P = f(!1);
331
+ let Y = !0;
332
+ const we = async (l) => {
333
+ e.debug && console.log("Running onInputFocus"), c("focus", l), P.value = !0, document.addEventListener("click", oe), document.addEventListener("focusin", ne), S.value instanceof HTMLInputElement && S.value.select(), e.prefill === "focus" && Y && !z && (await N({ prefill: !0 }), Y = !1);
334
+ }, ne = (l) => {
335
+ if (e.debug && console.log("Running onFocusOutside"), l.target instanceof Node && F.value && v.value && !F.value.contains(l.target) && !v.value.contains(l.target)) {
336
+ A(), c("inactive"), document.removeEventListener("focusin", ne), P.value = !1, e.multiple && q(500).then(() => {
337
+ u.value = "";
338
+ });
339
+ return;
340
+ }
341
+ }, Ve = async (l) => {
342
+ if (e.debug && console.log("Running onInputBlur"), c("blur", l), !e.multiple) {
343
+ let a = !1;
344
+ const t = e.modelValue;
345
+ if (await Promise.race([
346
+ q(250),
347
+ Ze(() => t !== e.modelValue).then(() => {
348
+ a = !0;
349
+ })
350
+ ]), !a) {
351
+ const n = m.value.get(e.modelValue);
352
+ n && (u.value = n.text);
353
+ }
354
+ }
355
+ }, Oe = (l) => c("change", l), Ce = (l) => {
356
+ e.debug && console.log("Running onInputInput"), c("input", l), u.value === "" && (e.multiple || c("update:modelValue", null)), typeof e.items == "function" && Te();
357
+ }, r = f(null), _ = y(() => Number.isInteger(r.value) && r.value ? (r.value === -1 && (r.value = C.value.length - 1), r.value % C.value.length) : r.value), i = f(null), ke = () => {
358
+ r.value !== null ? r.value++ : r.value = 0, se().then(() => {
359
+ var l;
360
+ if (_.value !== null) {
361
+ const a = (l = v.value) == null ? void 0 : l.querySelector(
362
+ `#${O.value[_.value].id}`
363
+ );
364
+ a instanceof HTMLElement && a.scrollIntoView({
365
+ behavior: "smooth",
366
+ block: "nearest",
367
+ inline: "start"
368
+ });
369
+ }
370
+ });
371
+ }, _e = () => {
372
+ r.value !== null ? r.value-- : r.value = O.value.length - 1, se().then(() => {
373
+ var l;
374
+ if (_.value !== null) {
375
+ const a = (l = v.value) == null ? void 0 : l.querySelector(
376
+ `#${O.value[_.value].id}`
377
+ );
378
+ a instanceof HTMLElement && a.scrollIntoView({
379
+ behavior: "smooth",
380
+ block: "nearest",
381
+ inline: "start"
382
+ });
383
+ }
384
+ });
385
+ }, Se = async (l) => {
386
+ var a, t;
387
+ if (e.readonly || e.disabled) {
388
+ l.preventDefault();
389
+ return;
390
+ }
391
+ switch (l.key) {
392
+ case "ArrowUp":
393
+ {
394
+ if (l.preventDefault(), d.value)
395
+ return;
396
+ i.value = null, k.value ? _e() : (s.value.length && (r.value = le(s.value).index), await $());
397
+ }
398
+ break;
399
+ case "ArrowDown":
400
+ {
401
+ if (l.preventDefault(), d.value)
402
+ return;
403
+ i.value = null, k.value ? ke() : (s.value.length && (r.value = le(s.value).index), await $());
404
+ }
405
+ break;
406
+ case "ArrowLeft":
407
+ {
408
+ if (d.value)
409
+ return;
410
+ if (!u.value && s.value.length && (i.value === null ? i.value = s.value.length - 1 : i.value > 0 ? i.value-- : i.value = null, i.value !== null)) {
411
+ let n = s.value[i.value], o = (a = v.value) == null ? void 0 : a.querySelector(
412
+ `#${n.id}`
413
+ );
414
+ o && (o.scrollIntoView({
415
+ behavior: "smooth",
416
+ block: "nearest",
417
+ inline: "start"
418
+ }), r.value = R.value[s.value[i.value].id].index);
419
+ }
420
+ }
421
+ break;
422
+ case "ArrowRight":
423
+ {
424
+ if (d.value)
425
+ return;
426
+ if (!u.value && s.value.length && (i.value === null ? i.value = 0 : i.value < s.value.length - 1 ? i.value++ : i.value = null, i.value !== null)) {
427
+ let n = s.value[i.value], o = (t = v.value) == null ? void 0 : t.querySelector(
428
+ `#${n.id}`
429
+ );
430
+ o && (o.scrollIntoView({
431
+ behavior: "smooth",
432
+ block: "nearest",
433
+ inline: "start"
434
+ }), r.value = R.value[s.value[i.value].id].index);
435
+ }
436
+ }
437
+ break;
438
+ case "Enter":
439
+ {
440
+ if (l.preventDefault(), d.value)
441
+ return;
442
+ if (!k.value)
443
+ C.value.length && s.value.length && (r.value = le(s.value).index), await $();
444
+ else if (_.value !== null) {
445
+ if (C.value[_.value].disabled)
446
+ return;
447
+ e.multiple || await A(), M(
448
+ C.value[_.value]
449
+ );
450
+ } else if (e.addOptions) {
451
+ if (e.itemText || e.itemValue) {
452
+ console.error(
453
+ `Adding an option for mapped items is not supported. You can't create an option while passing "item-text" or "item-value".`
454
+ );
455
+ return;
456
+ }
457
+ he();
458
+ const n = We(V.value);
459
+ M(R.value[n.id]);
460
+ }
461
+ }
462
+ break;
463
+ case "Tab":
464
+ case "Escape":
465
+ k.value && await A(), c("inactive"), i.value = null, r.value = null;
466
+ break;
467
+ case "Shift":
468
+ if (d.value)
469
+ return;
470
+ break;
471
+ case "Backspace":
472
+ {
473
+ if (d.value)
474
+ return;
475
+ u.value || s.value.length && (i.value === null ? i.value = s.value.length - 1 : (M(
476
+ s.value[i.value]
477
+ ), s.value.length ? i.value = Math.max(
478
+ Math.min(
479
+ i.value,
480
+ s.value.length - 2
481
+ ),
482
+ 0
483
+ ) : i.value = null)), await $();
484
+ }
485
+ break;
486
+ default:
487
+ i.value = null, r.value = null, await $();
488
+ break;
489
+ }
490
+ };
491
+ let Z;
492
+ const Te = () => {
493
+ Z && clearTimeout(Z), Z = setTimeout(async () => {
494
+ try {
495
+ await N({ prefill: !1 });
496
+ } catch (l) {
497
+ console.error(l);
498
+ }
499
+ }, e.queryDebounceTime);
500
+ }, xe = (l) => {
501
+ c("click", l), !(e.disabled || e.readonly) && (S.value instanceof HTMLElement && S.value.focus(), $());
502
+ }, Ie = (l) => {
503
+ if (l.currentTarget instanceof HTMLElement && l.currentTarget.classList.contains("bb-base-select-option")) {
504
+ const a = R.value[l.currentTarget.id];
505
+ if (a.disabled)
506
+ return;
507
+ M(a), S.value instanceof HTMLInputElement && S.value.focus(), e.multiple || A();
508
+ }
509
+ }, oe = (l) => {
510
+ if (l.target instanceof Node && F.value && !F.value.contains(l.target)) {
511
+ A(), c("inactive"), document.removeEventListener("click", oe), P.value = !1, e.multiple && q(500).then(() => {
512
+ u.value = "";
513
+ });
514
+ return;
515
+ }
516
+ }, Be = Ge(
517
+ (l) => typeof l != "string",
518
+ JSON.stringify
519
+ ), Ee = y(() => [].concat(e.modelValue).map((l) => {
520
+ const a = Be(l);
521
+ return {
522
+ disabled: e.disabled,
523
+ name: e.name,
524
+ type: "hidden",
525
+ value: a
526
+ };
527
+ }));
528
+ return (l, a) => (g(), h("span", {
529
+ ref_key: "outerContainer",
530
+ ref: F,
531
+ class: x({
532
+ "bb-base-select": !0,
533
+ "bb-base-select--active": P.value,
534
+ "bb-base-select--loading": d.value,
535
+ "bb-base-select--disabled": l.disabled,
536
+ "bb-base-select--errors": l.hasErrors,
537
+ "bb-base-select--readonly": l.readonly
538
+ }),
539
+ onClick: xe
540
+ }, [
541
+ b(l.$slots, "prepend-outer"),
542
+ w("span", {
543
+ ref_key: "innerContainer",
544
+ ref: E,
545
+ class: "bb-base-select__inner-container"
546
+ }, [
547
+ b(l.$slots, "prepend"),
548
+ w("span", el, [
549
+ l.multiple ? (g(), h(D, { key: 0 }, [
550
+ l.comma ? (g(!0), h(D, { key: 0 }, H(s.value, (t, n) => (g(), h("span", {
551
+ key: t.id,
552
+ class: x({
553
+ "bb-base-select__selected": !0,
554
+ "bb-base-select__selected--comma": !0,
555
+ "bb-base-select__selected--focused": n === i.value
556
+ })
557
+ }, L(t.text) + L(n < s.value.length - 1 ? "," : ""), 3))), 128)) : (g(!0), h(D, { key: 1 }, H(s.value, (t, n) => (g(), ue(ze, {
558
+ key: t.id,
559
+ class: x({
560
+ "bb-base-select__selected": !0,
561
+ "bb-base-select__selected--chip": !0,
562
+ "bb-base-select__selected--focused": n === i.value
563
+ }),
564
+ clearable: !0,
565
+ text: t.text,
566
+ "onClick:clear": I((o) => M(t), ["stop"])
567
+ }, {
568
+ default: Le(() => [
569
+ b(l.$slots, "chip", {
570
+ disabled: t.disabled,
571
+ hasErrors: l.hasErrors,
572
+ index: t.index,
573
+ item: t.original,
574
+ loading: !!d.value,
575
+ manual: t.manual,
576
+ selected: t.selected,
577
+ text: t.text,
578
+ value: t.value
579
+ }, () => [
580
+ ee(L(t.text), 1)
581
+ ])
582
+ ]),
583
+ _: 2
584
+ }, 1032, ["class", "text", "onClick:clear"]))), 128))
585
+ ], 64)) : ie("", !0),
586
+ Fe(w("input", {
587
+ id: l.id,
588
+ ref_key: "input",
589
+ ref: S,
590
+ "onUpdate:modelValue": a[0] || (a[0] = (t) => u.value = t),
591
+ autocomplete: l.autocomplete,
592
+ autofocus: l.autofocus,
593
+ class: x("bb-base-select__text-input"),
594
+ disabled: l.disabled,
595
+ placeholder: fe.value,
596
+ readonly: l.readonly || !l.allowWriting,
597
+ type: "text",
598
+ onBlur: I(Ve, ["stop"]),
599
+ onChange: I(Oe, ["stop"]),
600
+ onFocus: I(we, ["stop"]),
601
+ onInput: I(Ce, ["stop"]),
602
+ onKeydown: I(Se, ["stop"])
603
+ }, null, 40, ll), [
604
+ [Me, u.value]
605
+ ]),
606
+ (g(), ue(Ae, { to: "body" }, [
607
+ w("span", {
608
+ ref_key: "optionsContainer",
609
+ ref: v,
610
+ class: x({
611
+ "bb-base-select__options-container": !0,
612
+ "bb-base-select__options-container--shown": k.value,
613
+ "bb-base-select__options-container--showing": Q.value,
614
+ "bb-base-select__options-container--hiding": W.value,
615
+ "bb-base-select__options-container--hidden": K.value
616
+ }),
617
+ role: "listbox",
618
+ style: Je({ transitionDuration: ve }),
619
+ tabindex: -1
620
+ }, [
621
+ b(l.$slots, "options:prepend"),
622
+ !C.value.length && d.value ? (g(), h("span", tl, [
623
+ b(l.$slots, "loading", { query: u.value }, () => [
624
+ ee(L(l.loadingText), 1)
625
+ ])
626
+ ])) : C.value.length ? ie("", !0) : (g(), h("span", al, [
627
+ b(l.$slots, "no-data", { query: u.value }, () => [
628
+ ee(L(l.noDataText), 1)
629
+ ])
630
+ ])),
631
+ (g(!0), h(D, null, H(C.value, (t) => (g(), h(D, {
632
+ key: t.id
633
+ }, [
634
+ b(l.$slots, "option:prepend", {
635
+ item: t.original
636
+ }),
637
+ w("span", {
638
+ id: t.id,
639
+ "aria-selected": t.selected,
640
+ class: x({
641
+ "bb-base-select-option": !0,
642
+ "bb-base-select-option--selected": t.selected,
643
+ "bb-base-select-option--focused": t.focused,
644
+ "bb-base-select-option--disabled": t.disabled
645
+ }),
646
+ role: "option",
647
+ onClick: I(Ie, ["stop"])
648
+ }, [
649
+ b(l.$slots, "option", {
650
+ disabled: t.disabled,
651
+ focused: t.focused,
652
+ hasErrors: l.hasErrors,
653
+ index: t.index,
654
+ item: t.original,
655
+ loading: !!d.value,
656
+ manual: t.manual,
657
+ selected: t.selected,
658
+ text: t.text,
659
+ value: t.value
660
+ }, () => [
661
+ w("span", ol, [
662
+ w("span", ul, L(t.text), 1)
663
+ ])
664
+ ])
665
+ ], 10, nl),
666
+ b(l.$slots, "option:append", {
667
+ item: t.original
668
+ })
669
+ ], 64))), 128)),
670
+ b(l.$slots, "options:append")
671
+ ], 6)
672
+ ]))
673
+ ]),
674
+ w("span", il, [
675
+ b(l.$slots, "chevron", {
676
+ loading: !!d.value,
677
+ shown: k.value
678
+ }, () => [
679
+ sl
680
+ ])
681
+ ]),
682
+ d.value ? (g(), h("span", {
683
+ key: 1,
684
+ class: x({
685
+ "bb-base-select__spinner": !0,
686
+ "bb-base-select__spinner--loading": d.value
687
+ })
688
+ }, [
689
+ b(l.$slots, "spinner", {
690
+ loading: !!d.value
691
+ }, () => [
692
+ qe(Pe, { size: "sm" })
693
+ ])
694
+ ], 2)) : b(l.$slots, "append", { key: 0 })
695
+ ], 512),
696
+ b(l.$slots, "append-outer"),
697
+ (g(!0), h(D, null, H(Ee.value, (t) => (g(), h("input", Re({
698
+ key: t.value
699
+ }, t), null, 16))), 128))
700
+ ], 2));
701
+ }
702
+ });
703
+ export {
704
+ _l as default
705
+ };
706
+ //# sourceMappingURL=index31.js.map