bitboss-ui 0.2.32 → 0.2.33

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 (558) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +2 -2
  2. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +7 -7
  3. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
  4. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +1 -1
  5. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +2 -2
  6. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +7 -7
  7. package/dist/components/BaseRating/BaseRating.vue.d.ts +1 -1
  8. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +20 -13
  9. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +2 -2
  10. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +6 -6
  11. package/dist/components/BaseTag/BaseTag.vue.d.ts +1 -1
  12. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  13. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -1
  14. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
  15. package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
  16. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -1
  17. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +7 -7
  18. package/dist/components/BbChip/BbChip.vue.d.ts +1 -1
  19. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
  20. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
  21. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +2 -2
  22. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
  23. package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
  24. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +1 -1
  25. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  26. package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
  27. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  28. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +7 -7
  29. package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
  30. package/dist/components/BbRatio/BbRatio.vue.d.ts +1 -1
  31. package/dist/components/BbSelect/BbSelect.vue.d.ts +20 -13
  32. package/dist/components/BbSlider/BbSlider.vue.d.ts +2 -2
  33. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -3
  34. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +1 -1
  35. package/dist/components/BbStep/BbStep.vue.d.ts +143 -0
  36. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +6 -6
  37. package/dist/components/BbTab/BbTab.vue.d.ts +6 -6
  38. package/dist/components/BbTable/BbTable.vue.d.ts +1 -1
  39. package/dist/components/BbTable/types.d.ts +1 -1
  40. package/dist/components/BbTag/BbTag.vue.d.ts +1 -1
  41. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +2 -2
  42. package/dist/components/HDAddressSelect.vue.d.ts +89 -0
  43. package/dist/composables/useConfirm.d.ts +1 -1
  44. package/dist/composables/useOptions.d.ts +1 -1
  45. package/dist/composables/useToast.d.ts +1 -1
  46. package/dist/composables/useWizard.d.ts +32 -20
  47. package/package.json +1 -1
  48. package/dist/index.js +0 -188
  49. package/dist/index.js.map +0 -1
  50. package/dist/index10.js +0 -5
  51. package/dist/index10.js.map +0 -1
  52. package/dist/index100.js +0 -5
  53. package/dist/index100.js.map +0 -1
  54. package/dist/index101.js +0 -438
  55. package/dist/index101.js.map +0 -1
  56. package/dist/index102.js +0 -5
  57. package/dist/index102.js.map +0 -1
  58. package/dist/index103.js +0 -95
  59. package/dist/index103.js.map +0 -1
  60. package/dist/index104.js +0 -5
  61. package/dist/index104.js.map +0 -1
  62. package/dist/index105.js +0 -89
  63. package/dist/index105.js.map +0 -1
  64. package/dist/index106.js +0 -5
  65. package/dist/index106.js.map +0 -1
  66. package/dist/index107.js +0 -90
  67. package/dist/index107.js.map +0 -1
  68. package/dist/index108.js +0 -5
  69. package/dist/index108.js.map +0 -1
  70. package/dist/index109.js +0 -30
  71. package/dist/index109.js.map +0 -1
  72. package/dist/index11.js +0 -132
  73. package/dist/index11.js.map +0 -1
  74. package/dist/index110.js +0 -5
  75. package/dist/index110.js.map +0 -1
  76. package/dist/index111.js +0 -152
  77. package/dist/index111.js.map +0 -1
  78. package/dist/index112.js +0 -5
  79. package/dist/index112.js.map +0 -1
  80. package/dist/index113.js +0 -123
  81. package/dist/index113.js.map +0 -1
  82. package/dist/index114.js +0 -5
  83. package/dist/index114.js.map +0 -1
  84. package/dist/index115.js +0 -47
  85. package/dist/index115.js.map +0 -1
  86. package/dist/index116.js +0 -41
  87. package/dist/index116.js.map +0 -1
  88. package/dist/index117.js +0 -47
  89. package/dist/index117.js.map +0 -1
  90. package/dist/index118.js +0 -50
  91. package/dist/index118.js.map +0 -1
  92. package/dist/index119.js +0 -46
  93. package/dist/index119.js.map +0 -1
  94. package/dist/index12.js +0 -5
  95. package/dist/index12.js.map +0 -1
  96. package/dist/index120.js +0 -5
  97. package/dist/index120.js.map +0 -1
  98. package/dist/index121.js +0 -24
  99. package/dist/index121.js.map +0 -1
  100. package/dist/index122.js +0 -5
  101. package/dist/index122.js.map +0 -1
  102. package/dist/index123.js +0 -227
  103. package/dist/index123.js.map +0 -1
  104. package/dist/index124.js +0 -5
  105. package/dist/index124.js.map +0 -1
  106. package/dist/index125.js +0 -21
  107. package/dist/index125.js.map +0 -1
  108. package/dist/index126.js +0 -15
  109. package/dist/index126.js.map +0 -1
  110. package/dist/index127.js +0 -27
  111. package/dist/index127.js.map +0 -1
  112. package/dist/index128.js +0 -8
  113. package/dist/index128.js.map +0 -1
  114. package/dist/index129.js +0 -12
  115. package/dist/index129.js.map +0 -1
  116. package/dist/index13.js +0 -152
  117. package/dist/index13.js.map +0 -1
  118. package/dist/index130.js +0 -9
  119. package/dist/index130.js.map +0 -1
  120. package/dist/index131.js +0 -73
  121. package/dist/index131.js.map +0 -1
  122. package/dist/index132.js +0 -6
  123. package/dist/index132.js.map +0 -1
  124. package/dist/index133.js +0 -6
  125. package/dist/index133.js.map +0 -1
  126. package/dist/index134.js +0 -6
  127. package/dist/index134.js.map +0 -1
  128. package/dist/index135.js +0 -6
  129. package/dist/index135.js.map +0 -1
  130. package/dist/index136.js +0 -6
  131. package/dist/index136.js.map +0 -1
  132. package/dist/index137.js +0 -6
  133. package/dist/index137.js.map +0 -1
  134. package/dist/index138.js +0 -6
  135. package/dist/index138.js.map +0 -1
  136. package/dist/index139.js +0 -6
  137. package/dist/index139.js.map +0 -1
  138. package/dist/index14.js +0 -5
  139. package/dist/index14.js.map +0 -1
  140. package/dist/index140.js +0 -6
  141. package/dist/index140.js.map +0 -1
  142. package/dist/index141.js +0 -6
  143. package/dist/index141.js.map +0 -1
  144. package/dist/index142.js +0 -6
  145. package/dist/index142.js.map +0 -1
  146. package/dist/index143.js +0 -6
  147. package/dist/index143.js.map +0 -1
  148. package/dist/index144.js +0 -6
  149. package/dist/index144.js.map +0 -1
  150. package/dist/index145.js +0 -6
  151. package/dist/index145.js.map +0 -1
  152. package/dist/index146.js +0 -6
  153. package/dist/index146.js.map +0 -1
  154. package/dist/index147.js +0 -6
  155. package/dist/index147.js.map +0 -1
  156. package/dist/index148.js +0 -6
  157. package/dist/index148.js.map +0 -1
  158. package/dist/index149.js +0 -6
  159. package/dist/index149.js.map +0 -1
  160. package/dist/index15.js +0 -458
  161. package/dist/index15.js.map +0 -1
  162. package/dist/index150.js +0 -6
  163. package/dist/index150.js.map +0 -1
  164. package/dist/index151.js +0 -6
  165. package/dist/index151.js.map +0 -1
  166. package/dist/index152.js +0 -6
  167. package/dist/index152.js.map +0 -1
  168. package/dist/index153.js +0 -6
  169. package/dist/index153.js.map +0 -1
  170. package/dist/index154.js +0 -6
  171. package/dist/index154.js.map +0 -1
  172. package/dist/index155.js +0 -6
  173. package/dist/index155.js.map +0 -1
  174. package/dist/index156.js +0 -6
  175. package/dist/index156.js.map +0 -1
  176. package/dist/index157.js +0 -6
  177. package/dist/index157.js.map +0 -1
  178. package/dist/index158.js +0 -5
  179. package/dist/index158.js.map +0 -1
  180. package/dist/index159.js +0 -6
  181. package/dist/index159.js.map +0 -1
  182. package/dist/index16.js +0 -5
  183. package/dist/index16.js.map +0 -1
  184. package/dist/index160.js +0 -5
  185. package/dist/index160.js.map +0 -1
  186. package/dist/index161.js +0 -6
  187. package/dist/index161.js.map +0 -1
  188. package/dist/index162.js +0 -6
  189. package/dist/index162.js.map +0 -1
  190. package/dist/index163.js +0 -6
  191. package/dist/index163.js.map +0 -1
  192. package/dist/index164.js +0 -6
  193. package/dist/index164.js.map +0 -1
  194. package/dist/index165.js +0 -6
  195. package/dist/index165.js.map +0 -1
  196. package/dist/index166.js +0 -6
  197. package/dist/index166.js.map +0 -1
  198. package/dist/index167.js +0 -5
  199. package/dist/index167.js.map +0 -1
  200. package/dist/index168.js +0 -6
  201. package/dist/index168.js.map +0 -1
  202. package/dist/index169.js +0 -5
  203. package/dist/index169.js.map +0 -1
  204. package/dist/index17.js +0 -212
  205. package/dist/index17.js.map +0 -1
  206. package/dist/index170.js +0 -5
  207. package/dist/index170.js.map +0 -1
  208. package/dist/index171.js +0 -6
  209. package/dist/index171.js.map +0 -1
  210. package/dist/index172.js +0 -6
  211. package/dist/index172.js.map +0 -1
  212. package/dist/index173.js +0 -6
  213. package/dist/index173.js.map +0 -1
  214. package/dist/index174.js +0 -6
  215. package/dist/index174.js.map +0 -1
  216. package/dist/index175.js +0 -6
  217. package/dist/index175.js.map +0 -1
  218. package/dist/index176.js +0 -6
  219. package/dist/index176.js.map +0 -1
  220. package/dist/index177.js +0 -6
  221. package/dist/index177.js.map +0 -1
  222. package/dist/index178.js +0 -6
  223. package/dist/index178.js.map +0 -1
  224. package/dist/index179.js +0 -6
  225. package/dist/index179.js.map +0 -1
  226. package/dist/index18.js +0 -5
  227. package/dist/index18.js.map +0 -1
  228. package/dist/index180.js +0 -6
  229. package/dist/index180.js.map +0 -1
  230. package/dist/index181.js +0 -6
  231. package/dist/index181.js.map +0 -1
  232. package/dist/index182.js +0 -6
  233. package/dist/index182.js.map +0 -1
  234. package/dist/index183.js +0 -5
  235. package/dist/index183.js.map +0 -1
  236. package/dist/index184.js +0 -6
  237. package/dist/index184.js.map +0 -1
  238. package/dist/index185.js +0 -5
  239. package/dist/index185.js.map +0 -1
  240. package/dist/index186.js +0 -6
  241. package/dist/index186.js.map +0 -1
  242. package/dist/index187.js +0 -6
  243. package/dist/index187.js.map +0 -1
  244. package/dist/index188.js +0 -6
  245. package/dist/index188.js.map +0 -1
  246. package/dist/index189.js +0 -6
  247. package/dist/index189.js.map +0 -1
  248. package/dist/index19.js +0 -240
  249. package/dist/index19.js.map +0 -1
  250. package/dist/index190.js +0 -6
  251. package/dist/index190.js.map +0 -1
  252. package/dist/index191.js +0 -6
  253. package/dist/index191.js.map +0 -1
  254. package/dist/index192.js +0 -6
  255. package/dist/index192.js.map +0 -1
  256. package/dist/index193.js +0 -6
  257. package/dist/index193.js.map +0 -1
  258. package/dist/index194.js +0 -6
  259. package/dist/index194.js.map +0 -1
  260. package/dist/index195.js +0 -6
  261. package/dist/index195.js.map +0 -1
  262. package/dist/index196.js +0 -5
  263. package/dist/index196.js.map +0 -1
  264. package/dist/index197.js +0 -5
  265. package/dist/index197.js.map +0 -1
  266. package/dist/index198.js +0 -7
  267. package/dist/index198.js.map +0 -1
  268. package/dist/index199.js +0 -298
  269. package/dist/index199.js.map +0 -1
  270. package/dist/index2.js +0 -43
  271. package/dist/index2.js.map +0 -1
  272. package/dist/index20.js +0 -5
  273. package/dist/index20.js.map +0 -1
  274. package/dist/index200.js +0 -19
  275. package/dist/index200.js.map +0 -1
  276. package/dist/index201.js +0 -19
  277. package/dist/index201.js.map +0 -1
  278. package/dist/index202.js +0 -22
  279. package/dist/index202.js.map +0 -1
  280. package/dist/index203.js +0 -23
  281. package/dist/index203.js.map +0 -1
  282. package/dist/index204.js +0 -32
  283. package/dist/index204.js.map +0 -1
  284. package/dist/index205.js +0 -11
  285. package/dist/index205.js.map +0 -1
  286. package/dist/index206.js +0 -5
  287. package/dist/index206.js.map +0 -1
  288. package/dist/index207.js +0 -238
  289. package/dist/index207.js.map +0 -1
  290. package/dist/index208.js +0 -6
  291. package/dist/index208.js.map +0 -1
  292. package/dist/index209.js +0 -38
  293. package/dist/index209.js.map +0 -1
  294. package/dist/index21.js +0 -116
  295. package/dist/index21.js.map +0 -1
  296. package/dist/index210.js +0 -9
  297. package/dist/index210.js.map +0 -1
  298. package/dist/index211.js +0 -13
  299. package/dist/index211.js.map +0 -1
  300. package/dist/index212.js +0 -381
  301. package/dist/index212.js.map +0 -1
  302. package/dist/index213.js +0 -137
  303. package/dist/index213.js.map +0 -1
  304. package/dist/index214.js +0 -5
  305. package/dist/index214.js.map +0 -1
  306. package/dist/index215.js +0 -177
  307. package/dist/index215.js.map +0 -1
  308. package/dist/index216.js +0 -26
  309. package/dist/index216.js.map +0 -1
  310. package/dist/index217.js +0 -376
  311. package/dist/index217.js.map +0 -1
  312. package/dist/index218.js +0 -6
  313. package/dist/index218.js.map +0 -1
  314. package/dist/index219.js +0 -6
  315. package/dist/index219.js.map +0 -1
  316. package/dist/index22.js +0 -5
  317. package/dist/index22.js.map +0 -1
  318. package/dist/index220.js +0 -5
  319. package/dist/index220.js.map +0 -1
  320. package/dist/index221.js +0 -31
  321. package/dist/index221.js.map +0 -1
  322. package/dist/index222.js +0 -20
  323. package/dist/index222.js.map +0 -1
  324. package/dist/index223.js +0 -5
  325. package/dist/index223.js.map +0 -1
  326. package/dist/index224.js +0 -12
  327. package/dist/index224.js.map +0 -1
  328. package/dist/index225.js +0 -124
  329. package/dist/index225.js.map +0 -1
  330. package/dist/index226.js +0 -82
  331. package/dist/index226.js.map +0 -1
  332. package/dist/index227.js +0 -7
  333. package/dist/index227.js.map +0 -1
  334. package/dist/index228.js +0 -5
  335. package/dist/index228.js.map +0 -1
  336. package/dist/index229.js +0 -9
  337. package/dist/index229.js.map +0 -1
  338. package/dist/index23.js +0 -116
  339. package/dist/index23.js.map +0 -1
  340. package/dist/index230.js +0 -5
  341. package/dist/index230.js.map +0 -1
  342. package/dist/index231.js +0 -5
  343. package/dist/index231.js.map +0 -1
  344. package/dist/index232.js +0 -5
  345. package/dist/index232.js.map +0 -1
  346. package/dist/index233.js +0 -5
  347. package/dist/index233.js.map +0 -1
  348. package/dist/index234.js +0 -5
  349. package/dist/index234.js.map +0 -1
  350. package/dist/index235.js +0 -5
  351. package/dist/index235.js.map +0 -1
  352. package/dist/index236.js +0 -438
  353. package/dist/index236.js.map +0 -1
  354. package/dist/index237.js +0 -92
  355. package/dist/index237.js.map +0 -1
  356. package/dist/index238.js +0 -203
  357. package/dist/index238.js.map +0 -1
  358. package/dist/index239.js +0 -227
  359. package/dist/index239.js.map +0 -1
  360. package/dist/index24.js +0 -5
  361. package/dist/index24.js.map +0 -1
  362. package/dist/index240.js +0 -261
  363. package/dist/index240.js.map +0 -1
  364. package/dist/index241.js +0 -5
  365. package/dist/index241.js.map +0 -1
  366. package/dist/index242.js +0 -120
  367. package/dist/index242.js.map +0 -1
  368. package/dist/index243.js +0 -109
  369. package/dist/index243.js.map +0 -1
  370. package/dist/index244.js +0 -163
  371. package/dist/index244.js.map +0 -1
  372. package/dist/index245.js +0 -5
  373. package/dist/index245.js.map +0 -1
  374. package/dist/index246.js +0 -72
  375. package/dist/index246.js.map +0 -1
  376. package/dist/index247.js +0 -8
  377. package/dist/index247.js.map +0 -1
  378. package/dist/index248.js +0 -5
  379. package/dist/index248.js.map +0 -1
  380. package/dist/index249.js +0 -41
  381. package/dist/index249.js.map +0 -1
  382. package/dist/index25.js +0 -93
  383. package/dist/index25.js.map +0 -1
  384. package/dist/index250.js +0 -5
  385. package/dist/index250.js.map +0 -1
  386. package/dist/index251.js +0 -5
  387. package/dist/index251.js.map +0 -1
  388. package/dist/index252.js +0 -18
  389. package/dist/index252.js.map +0 -1
  390. package/dist/index253.js +0 -6
  391. package/dist/index253.js.map +0 -1
  392. package/dist/index254.js +0 -5
  393. package/dist/index254.js.map +0 -1
  394. package/dist/index255.js +0 -5
  395. package/dist/index255.js.map +0 -1
  396. package/dist/index26.js +0 -5
  397. package/dist/index26.js.map +0 -1
  398. package/dist/index27.js +0 -150
  399. package/dist/index27.js.map +0 -1
  400. package/dist/index28.js +0 -5
  401. package/dist/index28.js.map +0 -1
  402. package/dist/index29.js +0 -125
  403. package/dist/index29.js.map +0 -1
  404. package/dist/index3.js +0 -81
  405. package/dist/index3.js.map +0 -1
  406. package/dist/index30.js +0 -5
  407. package/dist/index30.js.map +0 -1
  408. package/dist/index31.js +0 -692
  409. package/dist/index31.js.map +0 -1
  410. package/dist/index32.js +0 -5
  411. package/dist/index32.js.map +0 -1
  412. package/dist/index33.js +0 -146
  413. package/dist/index33.js.map +0 -1
  414. package/dist/index34.js +0 -5
  415. package/dist/index34.js.map +0 -1
  416. package/dist/index35.js +0 -119
  417. package/dist/index35.js.map +0 -1
  418. package/dist/index36.js +0 -5
  419. package/dist/index36.js.map +0 -1
  420. package/dist/index37.js +0 -155
  421. package/dist/index37.js.map +0 -1
  422. package/dist/index38.js +0 -5
  423. package/dist/index38.js.map +0 -1
  424. package/dist/index39.js +0 -84
  425. package/dist/index39.js.map +0 -1
  426. package/dist/index4.js +0 -65
  427. package/dist/index4.js.map +0 -1
  428. package/dist/index40.js +0 -5
  429. package/dist/index40.js.map +0 -1
  430. package/dist/index41.js +0 -62
  431. package/dist/index41.js.map +0 -1
  432. package/dist/index42.js +0 -5
  433. package/dist/index42.js.map +0 -1
  434. package/dist/index43.js +0 -66
  435. package/dist/index43.js.map +0 -1
  436. package/dist/index44.js +0 -5
  437. package/dist/index44.js.map +0 -1
  438. package/dist/index45.js +0 -97
  439. package/dist/index45.js.map +0 -1
  440. package/dist/index46.js +0 -5
  441. package/dist/index46.js.map +0 -1
  442. package/dist/index47.js +0 -62
  443. package/dist/index47.js.map +0 -1
  444. package/dist/index48.js +0 -5
  445. package/dist/index48.js.map +0 -1
  446. package/dist/index49.js +0 -50
  447. package/dist/index49.js.map +0 -1
  448. package/dist/index5.js +0 -43
  449. package/dist/index5.js.map +0 -1
  450. package/dist/index50.js +0 -5
  451. package/dist/index50.js.map +0 -1
  452. package/dist/index51.js +0 -63
  453. package/dist/index51.js.map +0 -1
  454. package/dist/index52.js +0 -5
  455. package/dist/index52.js.map +0 -1
  456. package/dist/index53.js +0 -46
  457. package/dist/index53.js.map +0 -1
  458. package/dist/index54.js +0 -5
  459. package/dist/index54.js.map +0 -1
  460. package/dist/index55.js +0 -90
  461. package/dist/index55.js.map +0 -1
  462. package/dist/index56.js +0 -5
  463. package/dist/index56.js.map +0 -1
  464. package/dist/index57.js +0 -121
  465. package/dist/index57.js.map +0 -1
  466. package/dist/index58.js +0 -5
  467. package/dist/index58.js.map +0 -1
  468. package/dist/index59.js +0 -86
  469. package/dist/index59.js.map +0 -1
  470. package/dist/index6.js +0 -177
  471. package/dist/index6.js.map +0 -1
  472. package/dist/index60.js +0 -5
  473. package/dist/index60.js.map +0 -1
  474. package/dist/index61.js +0 -89
  475. package/dist/index61.js.map +0 -1
  476. package/dist/index62.js +0 -5
  477. package/dist/index62.js.map +0 -1
  478. package/dist/index63.js +0 -60
  479. package/dist/index63.js.map +0 -1
  480. package/dist/index64.js +0 -5
  481. package/dist/index64.js.map +0 -1
  482. package/dist/index65.js +0 -314
  483. package/dist/index65.js.map +0 -1
  484. package/dist/index66.js +0 -5
  485. package/dist/index66.js.map +0 -1
  486. package/dist/index67.js +0 -130
  487. package/dist/index67.js.map +0 -1
  488. package/dist/index68.js +0 -5
  489. package/dist/index68.js.map +0 -1
  490. package/dist/index69.js +0 -226
  491. package/dist/index69.js.map +0 -1
  492. package/dist/index7.js +0 -22
  493. package/dist/index7.js.map +0 -1
  494. package/dist/index70.js +0 -5
  495. package/dist/index70.js.map +0 -1
  496. package/dist/index71.js +0 -25
  497. package/dist/index71.js.map +0 -1
  498. package/dist/index72.js +0 -47
  499. package/dist/index72.js.map +0 -1
  500. package/dist/index73.js +0 -96
  501. package/dist/index73.js.map +0 -1
  502. package/dist/index74.js +0 -5
  503. package/dist/index74.js.map +0 -1
  504. package/dist/index75.js +0 -228
  505. package/dist/index75.js.map +0 -1
  506. package/dist/index76.js +0 -5
  507. package/dist/index76.js.map +0 -1
  508. package/dist/index77.js +0 -142
  509. package/dist/index77.js.map +0 -1
  510. package/dist/index78.js +0 -5
  511. package/dist/index78.js.map +0 -1
  512. package/dist/index79.js +0 -214
  513. package/dist/index79.js.map +0 -1
  514. package/dist/index8.js +0 -197
  515. package/dist/index8.js.map +0 -1
  516. package/dist/index80.js +0 -5
  517. package/dist/index80.js.map +0 -1
  518. package/dist/index81.js +0 -36
  519. package/dist/index81.js.map +0 -1
  520. package/dist/index82.js +0 -5
  521. package/dist/index82.js.map +0 -1
  522. package/dist/index83.js +0 -84
  523. package/dist/index83.js.map +0 -1
  524. package/dist/index84.js +0 -5
  525. package/dist/index84.js.map +0 -1
  526. package/dist/index85.js +0 -121
  527. package/dist/index85.js.map +0 -1
  528. package/dist/index86.js +0 -5
  529. package/dist/index86.js.map +0 -1
  530. package/dist/index87.js +0 -84
  531. package/dist/index87.js.map +0 -1
  532. package/dist/index88.js +0 -5
  533. package/dist/index88.js.map +0 -1
  534. package/dist/index89.js +0 -31
  535. package/dist/index89.js.map +0 -1
  536. package/dist/index9.js +0 -66
  537. package/dist/index9.js.map +0 -1
  538. package/dist/index90.js +0 -5
  539. package/dist/index90.js.map +0 -1
  540. package/dist/index91.js +0 -158
  541. package/dist/index91.js.map +0 -1
  542. package/dist/index92.js +0 -5
  543. package/dist/index92.js.map +0 -1
  544. package/dist/index93.js +0 -87
  545. package/dist/index93.js.map +0 -1
  546. package/dist/index94.js +0 -5
  547. package/dist/index94.js.map +0 -1
  548. package/dist/index95.js +0 -90
  549. package/dist/index95.js.map +0 -1
  550. package/dist/index96.js +0 -5
  551. package/dist/index96.js.map +0 -1
  552. package/dist/index97.js +0 -120
  553. package/dist/index97.js.map +0 -1
  554. package/dist/index98.js +0 -5
  555. package/dist/index98.js.map +0 -1
  556. package/dist/index99.js +0 -209
  557. package/dist/index99.js.map +0 -1
  558. package/dist/style.css +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index92.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index93.js DELETED
@@ -1,87 +0,0 @@
1
- import { defineComponent as u, openBlock as b, createBlock as c, withCtx as r, renderSlot as l, normalizeProps as i, guardReactiveProps as s, createVNode as v, mergeProps as f } from "vue";
2
- import h from "./index21.js";
3
- import "./index22.js";
4
- import y from "./index33.js";
5
- import "./index34.js";
6
- const E = /* @__PURE__ */ u({
7
- __name: "BbSlider",
8
- props: {
9
- autofocus: {},
10
- color: {},
11
- direction: {},
12
- disabled: { type: Boolean },
13
- errors: {},
14
- hasErrors: { type: Boolean },
15
- hideLabel: { type: Boolean },
16
- id: {},
17
- label: {},
18
- labelPosition: {},
19
- max: {},
20
- min: {},
21
- modelValue: {},
22
- name: {},
23
- readonly: {},
24
- reverse: { type: Boolean },
25
- step: {}
26
- },
27
- emits: ["click", "end", "focus", "inactive", "keydown", "pointerdown", "pointermove", "pointerup", "start", "update:modelValue"],
28
- setup(P, { emit: d }) {
29
- const o = d, t = {
30
- onClick: (e) => o("click", e),
31
- onEnd: (e) => o("end", e),
32
- onFocus: (e) => o("focus", e),
33
- onInactive: () => o("inactive"),
34
- onKeydown: (e) => o("keydown", e),
35
- onPointerdown: (e) => o("pointerdown", e),
36
- onPointermove: (e) => o("pointermove", e),
37
- onPointerup: (e) => o("pointerup", e),
38
- onStart: (e) => o("start", e),
39
- "onUpdate:modelValue": (e) => o("update:modelValue", e)
40
- };
41
- return (e, k) => (b(), c(h, {
42
- id: e.id,
43
- class: "bb-slider",
44
- direction: e.direction,
45
- errors: e.errors,
46
- "has-errors": e.hasErrors,
47
- "hide-label": e.hideLabel,
48
- label: e.label,
49
- "label-position": e.labelPosition,
50
- "model-value": e.modelValue,
51
- name: e.name,
52
- reverse: e.reverse
53
- }, {
54
- label: r((a) => [
55
- l(e.$slots, "label", i(s(a)))
56
- ]),
57
- input: r(({ id: a, name: p, hasErrors: m }) => [
58
- v(y, f({
59
- id: a,
60
- autofocus: e.autofocus,
61
- color: e.color,
62
- disabled: e.disabled,
63
- "has-errors": m,
64
- max: e.max,
65
- min: e.min,
66
- "model-value": e.modelValue,
67
- name: p,
68
- readonly: e.readonly,
69
- step: e.step
70
- }, t), {
71
- append: r((n) => [
72
- l(e.$slots, "append", i(s(n)))
73
- ]),
74
- prepend: r((n) => [
75
- l(e.$slots, "prepend", i(s(n)))
76
- ]),
77
- _: 2
78
- }, 1040, ["id", "autofocus", "color", "disabled", "has-errors", "max", "min", "model-value", "name", "readonly", "step"])
79
- ]),
80
- _: 3
81
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "label", "label-position", "model-value", "name", "reverse"]));
82
- }
83
- });
84
- export {
85
- E as default
86
- };
87
- //# sourceMappingURL=index93.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index93.js","sources":["../src/components/BbSlider/BbSlider.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 BaseSlider from '../BaseSlider/BaseSlider.vue';\nimport type {\n\tBaseSliderEvents,\n\tBaseSliderSlots,\n} from '../BaseSlider/BaseSlider.vue';\nimport type { BaseInputContainerSlots } from '../BaseInputContainer/BaseInputContainer.vue';\nimport type { HTMLAttributes, InputHTMLAttributes } from 'vue';\n\nexport type BbSliderProps = {\n\t/**\n\t * Sets autofocus on page load.\n\t */\n\tautofocus?: InputHTMLAttributes['autofocus'];\n\n\t/**\n\t * Define a color for the component.\n\t *\n\t * Either a custom color or a coded color in common HEX, RGB, etc... format.\n\t */\n\tcolor?: string;\n\n\t/**\n\t * 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 * Maximum value cap.\n\t */\n\tmax?: number;\n\n\t/**\n\t * Minimum value cap.\n\t */\n\tmin?: number;\n\n\t/**\n\t * Used by v-model.\n\t */\n\tmodelValue: number | string | null;\n\n\t/**\n\t * Defines the name of the input.\n\t */\n\tname?: InputHTMLAttributes['name'];\n\n\t/**\n\t * Sets the input in a readonly state.\n\t */\n\treadonly?: InputHTMLAttributes['readonly'];\n\n\t/**\n\t * Reverses the layout. Applicable in every direction the order of the label and the input is swapped.\n\t */\n\treverse?: boolean;\n\n\t/**\n\t * The step attribute is a number that specifies the granularity that the value must adhere to.\n\t */\n\tstep?: number;\n};\nexport type BbSliderEvents = BaseSliderEvents;\n\ntype BbSliderSlots = BaseSliderSlots & {\n\tlabel?: (props: { text: string; hasErrors: boolean }) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSlider',\n props: {\n autofocus: {},\n color: {},\n direction: {},\n disabled: { type: Boolean },\n errors: {},\n hasErrors: { type: Boolean },\n hideLabel: { type: Boolean },\n id: {},\n label: {},\n labelPosition: {},\n max: {},\n min: {},\n modelValue: {},\n name: {},\n readonly: {},\n reverse: { type: Boolean },\n step: {}\n },\n emits: [\"click\", \"end\", \"focus\", \"inactive\", \"keydown\", \"pointerdown\", \"pointermove\", \"pointerup\", \"start\", \"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\tonClick: (event: MouseEvent) => emit('click', event),\n\tonEnd: (value: BbSliderProps['modelValue']) => emit('end', value),\n\tonFocus: (event: FocusEvent) => emit('focus', event),\n\tonInactive: () => emit('inactive'),\n\tonKeydown: (event: KeyboardEvent) => emit('keydown', event),\n\tonPointerdown: (event: PointerEvent) => emit('pointerdown', event),\n\tonPointermove: (event: PointerEvent) => emit('pointermove', event),\n\tonPointerup: (event: PointerEvent) => emit('pointerup', event),\n\tonStart: (value: BbSliderProps['modelValue']) => emit('start', value),\n\t'onUpdate:modelValue': (value: number) => emit('update:modelValue', value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-slider\",\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(BaseSlider, _mergeProps({\n id: id,\n autofocus: _ctx.autofocus,\n color: _ctx.color,\n disabled: _ctx.disabled,\n \"has-errors\": hasErrors,\n max: _ctx.max,\n min: _ctx.min,\n \"model-value\": _ctx.modelValue,\n name: name,\n readonly: _ctx.readonly,\n step: _ctx.step\n }, eventListeners), {\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"id\", \"autofocus\", \"color\", \"disabled\", \"has-errors\", \"max\", \"min\", \"model-value\", \"name\", \"readonly\", \"step\"])\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","BaseSlider","_mergeProps"],"mappings":";;;;;AA4GA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,CAAC;AAAA,IACZ,OAAO,CAAC;AAAA,IACR,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,KAAK,CAAC;AAAA,IACN,KAAK,CAAC;AAAA,IACN,YAAY,CAAC;AAAA,IACb,MAAM,CAAC;AAAA,IACP,UAAU,CAAC;AAAA,IACX,SAAS,EAAE,MAAM,QAAQ;AAAA,IACzB,MAAM,CAAC;AAAA,EACT;AAAA,EACA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AA,QAC3CC,EAAaC,GAAYC,EAAY;AAAA,UACnC,IAAAL;AAAA,UACA,WAAWV,EAAK;AAAA,UAChB,OAAOA,EAAK;AAAA,UACZ,UAAUA,EAAK;AAAA,UACf,cAAcY;AAAA,UACd,KAAKZ,EAAK;AAAA,UACV,KAAKA,EAAK;AAAA,UACV,eAAeA,EAAK;AAAA,UACpB,MAAAW;AAAA,UACA,UAAUX,EAAK;AAAA,UACf,MAAMA,EAAK;AAAA,QACb,GAAGH,CAAc,GAAG;AAAA,UAClB,QAAQQ,EAAS,CAACC,MAAS;AAAA,YACzBC,EAAYP,EAAK,QAAQ,UAAUQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC9E;AAAA,UACD,SAASD,EAAS,CAACC,MAAS;AAAA,YAC1BC,EAAYP,EAAK,QAAQ,WAAWQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC/E;AAAA,UACD,GAAG;AAAA,QACF,GAAA,MAAM,CAAC,MAAM,aAAa,SAAS,YAAY,cAAc,OAAO,OAAO,eAAe,QAAQ,YAAY,MAAM,CAAC;AAAA,MAAA,CACzH;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,MAAM,aAAa,UAAU,cAAc,cAAc,SAAS,kBAAkB,eAAe,QAAQ,SAAS,CAAC;AAAA,EAE9H;AAEA,CAAC;"}
package/dist/index94.js DELETED
@@ -1,5 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
5
- //# sourceMappingURL=index94.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index94.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index95.js DELETED
@@ -1,90 +0,0 @@
1
- import { defineComponent as m, openBlock as p, createBlock as b, withCtx as l, renderSlot as r, normalizeProps as c, guardReactiveProps as h, createVNode as f, mergeProps as n } from "vue";
2
- import v from "./index21.js";
3
- import "./index22.js";
4
- import y from "./index35.js";
5
- import "./index36.js";
6
- const $ = /* @__PURE__ */ m({
7
- __name: "BbSwitch",
8
- props: {
9
- autofocus: {},
10
- checked: {},
11
- color: {},
12
- disabled: { type: Boolean },
13
- falseValue: {},
14
- hasErrors: { type: Boolean },
15
- id: {},
16
- indeterminate: {},
17
- name: {},
18
- readonly: {},
19
- submitWhenFalse: { type: Boolean },
20
- trueValue: {},
21
- modelValue: {},
22
- direction: { default: "auto" },
23
- errors: {},
24
- hideLabel: { type: Boolean },
25
- inputPosition: {},
26
- label: {},
27
- labelPosition: {},
28
- reverse: { type: Boolean, default: !0 }
29
- },
30
- emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
31
- setup(k, { emit: s }) {
32
- const o = s, i = {
33
- onBlur: (e) => o("blur", e),
34
- onChange: (e) => o("change", e),
35
- onClick: (e) => o("click", e),
36
- onFocus: (e) => o("focus", e),
37
- onInput: (e) => o("input", e),
38
- onKeydown: (e) => o("keydown", e),
39
- onMousedown: (e) => o("mousedown", e),
40
- onMouseup: (e) => o("mouseup", e),
41
- "onUpdate:modelValue": (e) => o("update:modelValue", e)
42
- };
43
- return (e, w) => (p(), b(v, {
44
- id: e.id,
45
- class: "bb-switch",
46
- direction: e.direction,
47
- errors: e.errors,
48
- "has-errors": e.hasErrors,
49
- "hide-label": e.hideLabel,
50
- "input-position": e.inputPosition,
51
- label: e.label,
52
- "label-position": e.labelPosition,
53
- "label-tag": "span",
54
- name: e.name,
55
- reverse: e.reverse,
56
- tag: "label"
57
- }, {
58
- label: l((a) => [
59
- r(e.$slots, "label", c(h(a)))
60
- ]),
61
- input: l(({ id: a, name: u, hasErrors: t }) => [
62
- f(y, n({
63
- id: a,
64
- autofocus: e.autofocus,
65
- checked: e.checked,
66
- color: e.color,
67
- disabled: e.disabled,
68
- "false-value": e.falseValue,
69
- "has-errors": t,
70
- indeterminate: e.indeterminate,
71
- "model-value": e.modelValue,
72
- name: u,
73
- readonly: e.readonly,
74
- "submit-when-false": e.submitWhenFalse,
75
- "true-value": e.trueValue
76
- }, i), {
77
- icon: l((d) => [
78
- r(e.$slots, "icon", n(d, { text: e.label }))
79
- ]),
80
- _: 2
81
- }, 1040, ["id", "autofocus", "checked", "color", "disabled", "false-value", "has-errors", "indeterminate", "model-value", "name", "readonly", "submit-when-false", "true-value"])
82
- ]),
83
- _: 3
84
- }, 8, ["id", "direction", "errors", "has-errors", "hide-label", "input-position", "label", "label-position", "name", "reverse"]));
85
- }
86
- });
87
- export {
88
- $ as default
89
- };
90
- //# sourceMappingURL=index95.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index95.js","sources":["../src/components/BbSwitch/BbSwitch.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 BaseSwitch from '../BaseSwitch/BaseSwitch.vue';\nimport type { SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';\nimport type {\n\tBbCheckboxEvents,\n\tBbCheckboxProps,\n} from '../BbCheckbox/BbCheckbox.vue';\n\nexport type BbSwitchProps = BbCheckboxProps;\n\nexport type BbSwitchEvents = BbCheckboxEvents;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSwitch',\n props: {\n autofocus: {},\n checked: {},\n color: {},\n disabled: { type: Boolean },\n falseValue: {},\n hasErrors: { type: Boolean },\n id: {},\n indeterminate: {},\n name: {},\n readonly: {},\n submitWhenFalse: { type: Boolean },\n trueValue: {},\n modelValue: {},\n direction: { default: 'auto' },\n errors: {},\n hideLabel: { type: Boolean },\n inputPosition: {},\n label: {},\n labelPosition: {},\n reverse: { type: Boolean, default: true }\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\nconst eventListeners = {\n\tonBlur: (event: FocusEvent) => emit('blur', event),\n\tonChange: (event: Event) => emit('change', event),\n\tonClick: (event: MouseEvent) => emit('click', event),\n\tonFocus: (event: FocusEvent) => emit('focus', event),\n\tonInput: (event: Event) => emit('input', event),\n\tonKeydown: (event: KeyboardEvent) => emit('keydown', event),\n\tonMousedown: (event: MouseEvent) => emit('mousedown', event),\n\tonMouseup: (event: MouseEvent) => emit('mouseup', event),\n\t'onUpdate:modelValue': (value: any) => emit('update:modelValue', value),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-switch\",\n direction: _ctx.direction,\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n \"input-position\": _ctx.inputPosition,\n label: _ctx.label,\n \"label-position\": _ctx.labelPosition,\n \"label-tag\": 'span',\n name: _ctx.name,\n reverse: _ctx.reverse,\n tag: 'label'\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name, hasErrors }) => [\n _createVNode(BaseSwitch, _mergeProps({\n id: id,\n autofocus: _ctx.autofocus,\n checked: _ctx.checked,\n color: _ctx.color,\n disabled: _ctx.disabled,\n \"false-value\": _ctx.falseValue,\n \"has-errors\": hasErrors,\n indeterminate: _ctx.indeterminate,\n \"model-value\": _ctx.modelValue,\n name: name,\n readonly: _ctx.readonly,\n \"submit-when-false\": _ctx.submitWhenFalse,\n \"true-value\": _ctx.trueValue\n }, eventListeners), {\n icon: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"icon\", _mergeProps(data, { text: _ctx.label }))\n ]),\n _: 2\n }, 1040, [\"id\", \"autofocus\", \"checked\", \"color\", \"disabled\", \"false-value\", \"has-errors\", \"indeterminate\", \"model-value\", \"name\", \"readonly\", \"submit-when-false\", \"true-value\"])\n ]),\n _: 3\n }, 8, [\"id\", \"direction\", \"errors\", \"has-errors\", \"hide-label\", \"input-position\", \"label\", \"label-position\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","value","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","hasErrors","_createVNode","BaseSwitch","_mergeProps"],"mappings":";;;;;AAgBA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,CAAC;AAAA,IACZ,SAAS,CAAC;AAAA,IACV,OAAO,CAAC;AAAA,IACR,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,YAAY,CAAC;AAAA,IACb,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,eAAe,CAAC;AAAA,IAChB,MAAM,CAAC;AAAA,IACP,UAAU,CAAC;AAAA,IACX,iBAAiB,EAAE,MAAM,QAAQ;AAAA,IACjC,WAAW,CAAC;AAAA,IACZ,YAAY,CAAC;AAAA,IACb,WAAW,EAAE,SAAS,OAAO;AAAA,IAC7B,QAAQ,CAAC;AAAA,IACT,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,eAAe,CAAC;AAAA,IAChB,OAAO,CAAC;AAAA,IACR,eAAe,CAAC;AAAA,IAChB,SAAS,EAAE,MAAM,SAAS,SAAS,GAAK;AAAA,EAC1C;AAAA,EACA,OAAO,CAAC,QAAQ,UAAU,SAAS,SAAS,SAAS,WAAW,aAAa,WAAW,mBAAmB;AAAA,EAC3G,MAAMC,GAAc,EAAE,MAAMC,KAAU;AAIxC,UAAMC,IAAOD,GAIPE,IAAiB;AAAA,MACtB,QAAQ,CAACC,MAAsBF,EAAK,QAAQE,CAAK;AAAA,MACjD,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A,UACpB,eAAeA,EAAK;AAAA,UACpB,MAAAW;AAAA,UACA,UAAUX,EAAK;AAAA,UACf,qBAAqBA,EAAK;AAAA,UAC1B,cAAcA,EAAK;AAAA,QACrB,GAAGH,CAAc,GAAG;AAAA,UAClB,MAAMQ,EAAS,CAACC,MAAS;AAAA,YACvBC,EAAYP,EAAK,QAAQ,QAAQe,EAAYT,GAAM,EAAE,MAAMN,EAAK,MAAM,CAAC,CAAC;AAAA,UAAA,CACzE;AAAA,UACD,GAAG;AAAA,QAAA,GACF,MAAM,CAAC,MAAM,aAAa,WAAW,SAAS,YAAY,eAAe,cAAc,iBAAiB,eAAe,QAAQ,YAAY,qBAAqB,YAAY,CAAC;AAAA,MAAA,CACjL;AAAA,MACD,GAAG;AAAA,IACF,GAAA,GAAG,CAAC,MAAM,aAAa,UAAU,cAAc,cAAc,kBAAkB,SAAS,kBAAkB,QAAQ,SAAS,CAAC;AAAA,EAEjI;AAEA,CAAC;"}
package/dist/index96.js DELETED
@@ -1,5 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
5
- //# sourceMappingURL=index96.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index96.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index97.js DELETED
@@ -1,120 +0,0 @@
1
- import { defineComponent as m, openBlock as u, createBlock as c, withCtx as a, renderSlot as r, normalizeProps as l, guardReactiveProps as i, createVNode as h, mergeProps as b } from "vue";
2
- import g from "./index21.js";
3
- import "./index22.js";
4
- import f from "./index37.js";
5
- import "./index38.js";
6
- const D = /* @__PURE__ */ m({
7
- __name: "BbSwitchGroup",
8
- props: {
9
- autofocus: {},
10
- color: {},
11
- dependencies: {},
12
- depsDebounceTime: {},
13
- disabled: { type: Boolean },
14
- enforceCoherence: { type: Boolean },
15
- hasErrors: { type: Boolean },
16
- id: {},
17
- items: { type: [Array, Function] },
18
- itemText: {},
19
- itemValue: {},
20
- loadingText: {},
21
- matchStrategy: {},
22
- modelValue: {},
23
- modelValueDebounceTime: {},
24
- name: {},
25
- noDataText: {},
26
- readonly: {},
27
- errors: {},
28
- hideLabel: { type: Boolean },
29
- reverse: { type: Boolean },
30
- hideLegend: { type: Boolean },
31
- inputDirection: {},
32
- legend: {}
33
- },
34
- emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
35
- setup(y, { emit: s }) {
36
- const n = s, t = {
37
- onBlur: (e) => n("blur", e),
38
- onChange: (e) => n("change", e),
39
- onClick: (e) => n("click", e),
40
- onFocus: (e) => n("focus", e),
41
- onInactive: () => n("inactive"),
42
- onInput: (e) => n("input", e),
43
- onKeydown: (e) => n("keydown", e),
44
- onMousedown: (e) => n("mousedown", e),
45
- onMouseup: (e) => n("mouseup", e),
46
- "onUpdate:modelValue": (e) => n("update:modelValue", e)
47
- };
48
- return (e, v) => (u(), c(g, {
49
- id: e.id,
50
- class: "bb-switch-group",
51
- errors: e.errors,
52
- "has-errors": e.hasErrors,
53
- "hide-label": e.hideLegend,
54
- label: e.legend,
55
- "label-tag": "legend",
56
- name: e.name,
57
- reverse: e.reverse,
58
- tag: "fieldset"
59
- }, {
60
- label: a((d) => [
61
- r(e.$slots, "legend", l(i(d)))
62
- ]),
63
- input: a(({ id: d, name: p }) => [
64
- h(f, b({
65
- id: d,
66
- autofocus: e.autofocus,
67
- color: e.color,
68
- dependencies: e.dependencies,
69
- "deps-debounce-time": e.depsDebounceTime,
70
- direction: e.inputDirection,
71
- disabled: e.disabled,
72
- "enforce-coherence": e.enforceCoherence,
73
- "has-errors": e.hasErrors,
74
- "hide-label": e.hideLabel,
75
- "item-text": e.itemText,
76
- "item-value": e.itemValue,
77
- items: e.items,
78
- "loading-text": e.loadingText,
79
- "match-strategy": e.matchStrategy,
80
- "model-value": e.modelValue,
81
- "model-value-debounce-time": e.modelValueDebounceTime,
82
- name: p,
83
- "no-data-text": e.noDataText,
84
- readonly: e.readonly
85
- }, t), {
86
- prepend: a((o) => [
87
- r(e.$slots, "prepend", l(i(o)))
88
- ]),
89
- loading: a((o) => [
90
- r(e.$slots, "loading", l(i(o)))
91
- ]),
92
- "no-data": a((o) => [
93
- r(e.$slots, "no-data", l(i(o)))
94
- ]),
95
- "option:prepend": a((o) => [
96
- r(e.$slots, "option:prepend", l(i(o)))
97
- ]),
98
- icon: a((o) => [
99
- r(e.$slots, "icon", l(i(o)))
100
- ]),
101
- label: a((o) => [
102
- r(e.$slots, "label", l(i(o)))
103
- ]),
104
- "option:append": a((o) => [
105
- r(e.$slots, "option:append", l(i(o)))
106
- ]),
107
- append: a((o) => [
108
- r(e.$slots, "append", l(i(o)))
109
- ]),
110
- _: 2
111
- }, 1040, ["id", "autofocus", "color", "dependencies", "deps-debounce-time", "direction", "disabled", "enforce-coherence", "has-errors", "hide-label", "item-text", "item-value", "items", "loading-text", "match-strategy", "model-value", "model-value-debounce-time", "name", "no-data-text", "readonly"])
112
- ]),
113
- _: 3
114
- }, 8, ["id", "errors", "has-errors", "hide-label", "label", "name", "reverse"]));
115
- }
116
- });
117
- export {
118
- D as default
119
- };
120
- //# sourceMappingURL=index97.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index97.js","sources":["../src/components/BbSwitchGroup/BbSwitchGroup.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 BaseSwitchGroup from '../BaseSwitchGroup/BaseSwitchGroup.vue';\nimport type { SlotAttributes } from '../BaseCheckbox/BaseCheckbox.vue';\nimport type {\n\tBbCheckboxGroupEvents,\n\tBbCheckboxGroupProps,\n} from '../BbCheckboxGroup/BbCheckboxGroup.vue';\n\nexport type BbSwitchGroupProps<T> = BbCheckboxGroupProps<T>;\n\nexport type BbSwitchGroupEvents = BbCheckboxGroupEvents;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSwitchGroup',\n props: {\n autofocus: {},\n color: {},\n dependencies: {},\n depsDebounceTime: {},\n disabled: { type: Boolean },\n enforceCoherence: { type: Boolean },\n hasErrors: { type: Boolean },\n id: {},\n items: { type: [Array, Function] },\n itemText: {},\n itemValue: {},\n loadingText: {},\n matchStrategy: {},\n modelValue: {},\n modelValueDebounceTime: {},\n name: {},\n noDataText: {},\n readonly: {},\n errors: {},\n hideLabel: { type: Boolean },\n reverse: { type: Boolean },\n hideLegend: { type: Boolean },\n inputDirection: {},\n legend: {}\n },\n emits: [\"blur\", \"change\", \"click\", \"focus\", \"inactive\", \"input\", \"keydown\", \"mousedown\", \"mouseup\", \"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\n\n\nconst eventListeners = {\n\tonBlur: (event: FocusEvent) => emit('blur', event),\n\tonChange: (event: Event) => emit('change', event),\n\tonClick: (event: MouseEvent) => emit('click', event),\n\tonFocus: (event: FocusEvent) => emit('focus', event),\n\tonInactive: () => emit('inactive'),\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': (event: any) => emit('update:modelValue', event),\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseInputContainer, {\n id: _ctx.id,\n class: \"bb-switch-group\",\n errors: _ctx.errors,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLegend,\n label: _ctx.legend,\n \"label-tag\": 'legend',\n name: _ctx.name,\n reverse: _ctx.reverse,\n tag: 'fieldset'\n }, {\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"legend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n input: _withCtx(({ id, name }) => [\n _createVNode(BaseSwitchGroup, _mergeProps({\n id: id,\n autofocus: _ctx.autofocus,\n color: _ctx.color,\n dependencies: _ctx.dependencies,\n \"deps-debounce-time\": _ctx.depsDebounceTime,\n direction: _ctx.inputDirection,\n disabled: _ctx.disabled,\n \"enforce-coherence\": _ctx.enforceCoherence,\n \"has-errors\": _ctx.hasErrors,\n \"hide-label\": _ctx.hideLabel,\n \"item-text\": _ctx.itemText as any,\n \"item-value\": _ctx.itemValue as any,\n items: _ctx.items as any,\n \"loading-text\": _ctx.loadingText,\n \"match-strategy\": _ctx.matchStrategy,\n \"model-value\": _ctx.modelValue,\n \"model-value-debounce-time\": _ctx.modelValueDebounceTime,\n name: name,\n \"no-data-text\": _ctx.noDataText,\n readonly: _ctx.readonly\n }, eventListeners), {\n prepend: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n loading: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"loading\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"no-data\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"no-data\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:prepend\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:prepend\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n icon: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"icon\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n label: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"label\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n \"option:append\": _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"option:append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n append: _withCtx((data) => [\n _renderSlot(_ctx.$slots, \"append\", _normalizeProps(_guardReactiveProps(data)))\n ]),\n _: 2\n }, 1040, [\"id\", \"autofocus\", \"color\", \"dependencies\", \"deps-debounce-time\", \"direction\", \"disabled\", \"enforce-coherence\", \"has-errors\", \"hide-label\", \"item-text\", \"item-value\", \"items\", \"loading-text\", \"match-strategy\", \"model-value\", \"model-value-debounce-time\", \"name\", \"no-data-text\", \"readonly\"])\n ]),\n _: 3\n }, 8, [\"id\", \"errors\", \"has-errors\", \"hide-label\", \"label\", \"name\", \"reverse\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","emit","eventListeners","event","_ctx","_cache","_openBlock","_createBlock","BaseInputContainer","_withCtx","data","_renderSlot","_normalizeProps","_guardReactiveProps","id","name","_createVNode","BaseSwitchGroup","_mergeProps"],"mappings":";;;;;AAgBA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,WAAW,CAAC;AAAA,IACZ,OAAO,CAAC;AAAA,IACR,cAAc,CAAC;AAAA,IACf,kBAAkB,CAAC;AAAA,IACnB,UAAU,EAAE,MAAM,QAAQ;AAAA,IAC1B,kBAAkB,EAAE,MAAM,QAAQ;AAAA,IAClC,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,IAAI,CAAC;AAAA,IACL,OAAO,EAAE,MAAM,CAAC,OAAO,QAAQ,EAAE;AAAA,IACjC,UAAU,CAAC;AAAA,IACX,WAAW,CAAC;AAAA,IACZ,aAAa,CAAC;AAAA,IACd,eAAe,CAAC;AAAA,IAChB,YAAY,CAAC;AAAA,IACb,wBAAwB,CAAC;AAAA,IACzB,MAAM,CAAC;AAAA,IACP,YAAY,CAAC;AAAA,IACb,UAAU,CAAC;AAAA,IACX,QAAQ,CAAC;AAAA,IACT,WAAW,EAAE,MAAM,QAAQ;AAAA,IAC3B,SAAS,EAAE,MAAM,QAAQ;AAAA,IACzB,YAAY,EAAE,MAAM,QAAQ;AAAA,IAC5B,gBAAgB,CAAC;AAAA,IACjB,QAAQ,CAAC;AAAA,EACX;AAAA,EACA,OAAO,CAAC,QAAQ,UAAU,SAAS,SAAS,YAAY,SAAS,WAAW,a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CAAC;AAAA,UAAA,CAC7E;AAAA,UACD,iBAAiBD,EAAS,CAACC,MAAS;AAAA,YAClCC,EAAYP,EAAK,QAAQ,iBAAiBQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CACrF;AAAA,UACD,QAAQD,EAAS,CAACC,MAAS;AAAA,YACzBC,EAAYP,EAAK,QAAQ,UAAUQ,EAAgBC,EAAoBH,CAAI,CAAC,CAAC;AAAA,UAAA,CAC9E;AAAA,UACD,GAAG;AAAA,QACL,GAAG,MAAM,CAAC,MAAM,aAAa,SAAS,gBAAgB,sBAAsB,aAAa,YAAY,qBAAqB,cAAc,cAAc,aAAa,cAAc,SAAS,gBAAgB,kBAAkB,eAAe,6BAA6B,QAAQ,gBAAgB,UAAU,CAAC;AAAA,MAAA,CAC5S;AAAA,MACD,GAAG;AAAA,IAAA,GACF,GAAG,CAAC,MAAM,UAAU,cAAc,cAAc,SAAS,QAAQ,SAAS,CAAC;AAAA,EAEhF;AAEA,CAAC;"}
package/dist/index98.js DELETED
@@ -1,5 +0,0 @@
1
- const e = "";
2
- export {
3
- e as default
4
- };
5
- //# sourceMappingURL=index98.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index98.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index99.js DELETED
@@ -1,209 +0,0 @@
1
- import { defineComponent as D, getCurrentInstance as z, ref as K, computed as v, watch as R, openBlock as u, createElementBlock as d, unref as H, normalizeClass as h, createElementVNode as p, Fragment as g, renderList as B, createVNode as J, withCtx as O, renderSlot as _, toDisplayString as j, createCommentVNode as G } from "vue";
2
- import { useId as M } from "./index7.js";
3
- import { useRoute as Q } from "./index129.js";
4
- import { useRouter as W } from "./index130.js";
5
- import { wait as X } from "./index122.js";
6
- import Y from "./index9.js";
7
- import "./index10.js";
8
- const Z = ["id"], ee = {
9
- class: "bb-tab__label-container",
10
- role: "tablist"
11
- }, ae = { class: "bb-tab__label" }, le = { class: "bb-tab__panes-container" }, te = ["id", "aria-labelledby"], ce = /* @__PURE__ */ D({
12
- __name: "BbTab",
13
- props: {
14
- disabled: { type: Boolean },
15
- eager: { type: Boolean },
16
- id: {},
17
- direction: { default: "horizontal" },
18
- items: {},
19
- modelValue: {},
20
- navigation: { type: Boolean },
21
- querykey: { default: "tab" }
22
- },
23
- emits: ["update:modelValue"],
24
- setup(F, { expose: N, emit: A }) {
25
- var $, T, x, S, I, L, V;
26
- const l = F, P = A, o = Q(), m = W(), w = l.id ?? M().id.value, y = `bb-tab_${w}`, q = !!((T = ($ = z()) == null ? void 0 : $.proxy) != null && T.$inertia), t = K(null), i = v(
27
- () => l.items.findIndex((e) => e.key === t.value)
28
- ), b = v(() => i.value === 0), f = v(() => i.value === l.items.length - 1);
29
- if (l.items.forEach((e) => {
30
- if (!e.key)
31
- throw console.error("A tab item has no key", e), new Error("A tab item has no key " + JSON.stringify(e));
32
- }), l.navigation && ((S = (x = o.value) == null ? void 0 : x.query) != null && S[l.querykey]))
33
- t.value = (L = (I = o.value) == null ? void 0 : I.query) == null ? void 0 : L[l.querykey];
34
- else if (l.navigation && q && ((V = globalThis == null ? void 0 : globalThis.location) != null && V.href) && new URL(globalThis.location.href).searchParams.get(l.querykey))
35
- t.value = new URL(globalThis.location.href).searchParams.get(
36
- l.querykey
37
- );
38
- else if (l.modelValue)
39
- t.value = l.modelValue;
40
- else if (l.items[0]) {
41
- const e = l.items.find((a) => !a.disabled);
42
- if (!e)
43
- throw new Error(
44
- "No tab has been selected so it defaulted to the first available. Still, all the tabs are disabled so no tab can be selected."
45
- );
46
- const s = e.key;
47
- t.value = s;
48
- }
49
- const c = async (e, s = !1) => {
50
- var a, n, C, E;
51
- if (l.navigation && o.value && ((n = (a = o.value) == null ? void 0 : a.query) == null ? void 0 : n[l.querykey]) !== e)
52
- m == null || m.push({
53
- ...o,
54
- query: { ...(C = o.value) == null ? void 0 : C.query, [l.querykey]: e },
55
- replace: s
56
- });
57
- else if (l.navigation && q && ((E = globalThis == null ? void 0 : globalThis.location) != null && E.href) && new URL(globalThis.location.href).searchParams.get(l.querykey) !== e) {
58
- const k = new URL(globalThis.location.href);
59
- k.searchParams.set(l.querykey, e), X(0).then(() => {
60
- s ? history.replaceState({}, "", k.toString()) : history.pushState({}, "", k.toString());
61
- });
62
- }
63
- l.modelValue !== e && P("update:modelValue", e), t.value = e;
64
- };
65
- t.value && c(t.value, !0);
66
- const r = (e) => {
67
- var s = null;
68
- switch (e) {
69
- case "first":
70
- s = 0;
71
- break;
72
- case "previous":
73
- s = (i.value + l.items.length - 1) % l.items.length;
74
- break;
75
- case "next":
76
- s = (i.value + 1) % l.items.length;
77
- break;
78
- case "last":
79
- s = l.items.length - 1;
80
- break;
81
- }
82
- if (s === null)
83
- throw new Error("Could not navigate to next tab");
84
- if (l.items[s].disabled)
85
- return;
86
- const a = l.items[s].key, n = document.querySelector(
87
- `#${y}_tab_${a}`
88
- );
89
- n == null || n.focus(), c(a);
90
- }, U = (e) => {
91
- if (!l.disabled)
92
- if (e.key === "ArrowRight")
93
- r("next");
94
- else if (e.key === "ArrowLeft")
95
- r("previous");
96
- else if (e.key === "Home")
97
- e.preventDefault(), r("first");
98
- else if (e.key === "End")
99
- e.preventDefault(), r("last");
100
- else
101
- return;
102
- };
103
- return R(
104
- () => l.modelValue,
105
- (e) => {
106
- e && c(e);
107
- }
108
- ), R(
109
- () => {
110
- var e, s;
111
- return (s = (e = o.value) == null ? void 0 : e.query) == null ? void 0 : s[l.querykey];
112
- },
113
- (e) => {
114
- e && typeof e == "string" && c(e);
115
- }
116
- ), N({
117
- isFirst: b,
118
- isLast: f,
119
- current: t,
120
- currentIndex: i,
121
- goTo: r
122
- }), (e, s) => (u(), d("div", {
123
- id: H(w),
124
- class: h(["bb-tab", {
125
- [`bb-tab--${e.direction}`]: !0,
126
- "bb-tab--disabled": !0
127
- }])
128
- }, [
129
- p("ul", ee, [
130
- (u(!0), d(g, null, B(e.items, (a) => (u(), d("li", {
131
- key: a.key,
132
- role: "presentation"
133
- }, [
134
- J(Y, {
135
- id: `${y}_tab_${a.key}`,
136
- "aria-selected": t.value === a.key,
137
- class: h(["bb-tab__btn", { "bb-tab__btn--active": t.value === a.key }]),
138
- disabled: a.disabled || e.disabled,
139
- role: "tab",
140
- tabindex: t.value === a.key ? 0 : -1,
141
- onClick: (n) => c(a.key),
142
- onKeydown: U
143
- }, {
144
- default: O(() => [
145
- _(e.$slots, `label-${a.key}`, {
146
- current: t.value,
147
- currentIndex: i.value,
148
- disabled: !!(a.disabled || e.disabled),
149
- goTo: r,
150
- isFirst: b.value,
151
- isLast: f.value,
152
- selected: t.value === a.key,
153
- text: a.label,
154
- value: a.key
155
- }, () => [
156
- _(e.$slots, "label", {
157
- current: t.value,
158
- currentIndex: i.value,
159
- disabled: !!(a.disabled || e.disabled),
160
- goTo: r,
161
- isFirst: b.value,
162
- isLast: f.value,
163
- selected: t.value === a.key,
164
- text: a.label,
165
- value: a.key
166
- }, () => [
167
- p("span", ae, j(a.label), 1)
168
- ])
169
- ])
170
- ]),
171
- _: 2
172
- }, 1032, ["id", "aria-selected", "class", "disabled", "tabindex", "onClick"])
173
- ]))), 128))
174
- ]),
175
- p("div", le, [
176
- (u(!0), d(g, null, B(e.items, (a) => (u(), d(g, {
177
- key: a.key
178
- }, [
179
- t.value === a.key || e.eager || a.eager ? (u(), d("section", {
180
- key: 0,
181
- id: `${y}_tabpanel_${a.key}`,
182
- "aria-labelledby": `${y}_tab_${a.key}`,
183
- class: h(["bb-tab__pane", {
184
- "bb-tab__pane--shown": t.value === a.key
185
- }]),
186
- role: "tabpanel",
187
- tabindex: "0"
188
- }, [
189
- _(e.$slots, a.key, {
190
- current: t.value,
191
- currentIndex: i.value,
192
- disabled: !!(a.disabled || e.disabled),
193
- goTo: r,
194
- isFirst: b.value,
195
- isLast: f.value,
196
- selected: t.value === a.key,
197
- text: a.label,
198
- value: a.key
199
- })
200
- ], 10, te)) : G("", !0)
201
- ], 64))), 128))
202
- ])
203
- ], 10, Z));
204
- }
205
- });
206
- export {
207
- ce as default
208
- };
209
- //# sourceMappingURL=index99.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index99.js","sources":["../src/components/BbTab/BbTab.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, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = [\"id\"]\nconst _hoisted_2 = {\n class: \"bb-tab__label-container\",\n role: \"tablist\"\n}\nconst _hoisted_3 = { class: \"bb-tab__label\" }\nconst _hoisted_4 = { class: \"bb-tab__panes-container\" }\nconst _hoisted_5 = [\"id\", \"aria-labelledby\"]\n\nimport { ref, watch, getCurrentInstance, computed } from 'vue';\nimport { useId } from '@/composables/useId';\nimport { useRoute } from '@/composables/useRoute';\nimport { useRouter } from '@/composables/useRouter';\nimport { wait } from '@/utilities/functions/wait';\nimport BaseButton from '../BaseButton/BaseButton.vue';\nimport type { CommonProps } from '@/types/CommonProps';\n\nexport type BbTabItem = Pick<CommonProps, 'disabled'> & {\n\t/**\n\t * Used to render a tab even when not visible.\n\t * It's useful if you want the content of a tab in the DOM\n\t * immediately rendered\n\t * even when not visible for SEO purposes.\n\t */\n\teager?: boolean;\n\t/**\n\t * String that identifies the tab.\n\t */\n\tkey: string;\n\t/**\n\t * Label to use as the tab text.\n\t */\n\tlabel?: string;\n};\n\nexport type BbTabProps = Pick<CommonProps, 'disabled' | 'eager' | 'id'> & {\n\t/**\n\t * Direction of the tabs component\n\t */\n\tdirection?: 'horizontal' | 'vertical';\n\t/**\n\t * Array of items that define the tabs in the component.\n\t */\n\titems: BbTabItem[];\n\t/**\n\t * The current tab. Used by v-model.\n\t */\n\tmodelValue?: null | BbTabItem['key'];\n\t/**\n\t * Synchronizes the current tab with the url.\n\t */\n\tnavigation?: boolean;\n\t/**\n\t * Defines the query key to reference for maintaining navigation\n\t */\n\tquerykey?: string;\n};\n\nexport type BbTabEvents = {\n\t(e: 'update:modelValue', value: (typeof props.items)[number]['key']): void;\n};\ntype BbStepSlots = {\n\tlabel?: (props: {\n\t\tcurrent: string | null;\n\t\tcurrentIndex: number;\n\t\tdisabled: boolean;\n\t\tisFirst: boolean;\n\t\tisLast: boolean;\n\t\tselected: boolean;\n\t\ttext: BbTabItem['label'];\n\t\tvalue: string;\n\t\tgoTo: typeof goTo;\n\t}) => any;\n} & {\n\t[key: string]: (props: {\n\t\tcurrent: string | null;\n\t\tcurrentIndex: number;\n\t\tdisabled: boolean;\n\t\tisFirst: boolean;\n\t\tisLast: boolean;\n\t\tselected: boolean;\n\t\ttext: BbTabItem['label'];\n\t\tvalue: string;\n\t\tgoTo: typeof goTo;\n\t}) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbTab',\n props: {\n disabled: { type: Boolean },\n eager: { type: Boolean },\n id: {},\n direction: { default: 'horizontal' },\n items: {},\n modelValue: {},\n navigation: { type: Boolean },\n querykey: { default: 'tab' }\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { expose: __expose, emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\n\n\nconst route = useRoute();\nconst router = useRouter();\n\nconst id = props.id ?? useId().id.value;\nconst instanceid = `bb-tab_${id}`;\n\n/* Ignore because possibly undefined */\n// @ts-ignore\nconst isInertia = !!getCurrentInstance()?.proxy?.$inertia;\n\nconst selectedTab = ref<BbTabItem['key'] | null>(null);\n\nconst currentTabIndex = computed(() =>\n\tprops.items.findIndex((el) => el.key === selectedTab.value)\n);\nconst isFirst = computed(() => currentTabIndex.value === 0);\nconst isLast = computed(() => currentTabIndex.value === props.items.length - 1);\n\nprops.items.forEach((item) => {\n\tif (!item.key) {\n\t\tconsole.error(`A tab item has no key`, item);\n\t\tthrow new Error('A tab item has no key ' + JSON.stringify(item));\n\t}\n});\n\n/* \nThis section retrieves the current tab that should be selected\n*/\n// Retrieve tab from url on load for vue apps\nif (props.navigation && route.value?.query?.[props.querykey]) {\n\tselectedTab.value = route.value?.query?.[props.querykey] as string;\n\t// Retrieve tab from url on load for inertia app\n} else if (\n\tprops.navigation &&\n\tisInertia &&\n\tglobalThis?.location?.href &&\n\tnew URL(globalThis.location.href).searchParams.get(props.querykey)\n) {\n\tselectedTab.value = new URL(globalThis.location.href).searchParams.get(\n\t\tprops.querykey\n\t) as string;\n\t// Else whatever tab is passed first\n} else if (props.modelValue) {\n\tselectedTab.value = props.modelValue;\n\t// Else whatever tab is passed first\n} else if (props.items[0]) {\n\tconst firstSelectableTab = props.items.find((item) => !item.disabled);\n\tif (!firstSelectableTab) {\n\t\tthrow new Error(\n\t\t\t'No tab has been selected so it defaulted to the first available. Still, all the tabs are disabled so no tab can be selected.'\n\t\t);\n\t}\n\tconst key = firstSelectableTab.key;\n\tselectedTab.value = key;\n}\n/* \nOnce the current tab is found update external variables\n*/\n\nconst onTabSelected = async (tab: BbTabItem['key'], replace = false) => {\n\t/* For Vue or Nuxt context */\n\tif (\n\t\tprops.navigation &&\n\t\troute.value &&\n\t\troute.value?.query?.[props.querykey] !== tab\n\t) {\n\t\trouter?.push({\n\t\t\t...route,\n\t\t\tquery: { ...route.value?.query, [props.querykey]: tab },\n\t\t\treplace,\n\t\t});\n\t\t/* Inertia context */\n\t} else if (\n\t\tprops.navigation &&\n\t\tisInertia &&\n\t\tglobalThis?.location?.href &&\n\t\tnew URL(globalThis.location.href).searchParams.get(props.querykey) !== tab\n\t) {\n\t\tconst url = new URL(globalThis.location.href);\n\t\turl.searchParams.set(props.querykey, tab);\n\t\twait(0).then(() => {\n\t\t\tif (replace) {\n\t\t\t\thistory.replaceState({}, '', url.toString());\n\t\t\t} else {\n\t\t\t\thistory.pushState({}, '', url.toString());\n\t\t\t}\n\t\t});\n\t}\n\tif (props.modelValue !== tab) {\n\t\temit('update:modelValue', tab);\n\t}\n\tselectedTab.value = tab;\n};\n\nif (selectedTab.value) {\n\tonTabSelected(selectedTab.value, true);\n}\n\nconst goTo = (target: 'first' | 'previous' | 'next' | 'last') => {\n\tvar nextTabIndex: number | null = null;\n\tswitch (target) {\n\t\tcase 'first':\n\t\t\tnextTabIndex = 0;\n\t\t\tbreak;\n\t\tcase 'previous':\n\t\t\tnextTabIndex =\n\t\t\t\t(currentTabIndex.value + props.items.length - 1) % props.items.length;\n\t\t\tbreak;\n\t\tcase 'next':\n\t\t\tnextTabIndex = (currentTabIndex.value + 1) % props.items.length;\n\t\t\tbreak;\n\t\tcase 'last':\n\t\t\tnextTabIndex = props.items.length - 1;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t}\n\tif (nextTabIndex === null) {\n\t\tthrow new Error('Could not navigate to next tab');\n\t}\n\tif (props.items[nextTabIndex].disabled) return;\n\tconst targetKey = props.items[nextTabIndex].key;\n\tconst button: HTMLButtonElement | null = document.querySelector(\n\t\t`#${instanceid}_tab_${targetKey}`\n\t);\n\tbutton?.focus();\n\tonTabSelected(targetKey);\n};\n\nconst onKeydown = (event: KeyboardEvent) => {\n\tif (props.disabled) return;\n\tif (event.key === 'ArrowRight') {\n\t\tgoTo('next');\n\t} else if (event.key === 'ArrowLeft') {\n\t\tgoTo('previous');\n\t} else if (event.key === 'Home') {\n\t\tevent.preventDefault();\n\t\tgoTo('first');\n\t} else if (event.key === 'End') {\n\t\tevent.preventDefault();\n\t\tgoTo('last');\n\t} else {\n\t\treturn;\n\t}\n};\n\nwatch(\n\t() => props.modelValue,\n\t(value) => {\n\t\tif (value) {\n\t\t\tonTabSelected(value);\n\t\t}\n\t}\n);\n\nwatch(\n\t() => route.value?.query?.[props.querykey],\n\t(value) => {\n\t\tif (value && typeof value === 'string') {\n\t\t\tonTabSelected(value);\n\t\t}\n\t}\n);\n\n__expose({\n\tisFirst,\n\tisLast,\n\tcurrent: selectedTab,\n\tcurrentIndex: currentTabIndex,\n\tgoTo,\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n id: _unref(id),\n class: _normalizeClass([\"bb-tab\", {\n\t\t\t[`bb-tab--${_ctx.direction}`]: true,\n\t\t\t'bb-tab--disabled': true,\n\t\t}])\n }, [\n _createElementVNode(\"ul\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.items, (tab) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: tab.key,\n role: \"presentation\"\n }, [\n _createVNode(BaseButton, {\n id: `${instanceid}_tab_${tab.key}`,\n \"aria-selected\": selectedTab.value === tab.key,\n class: _normalizeClass([\"bb-tab__btn\", { 'bb-tab__btn--active': selectedTab.value === tab.key }]),\n disabled: tab.disabled || _ctx.disabled,\n role: 'tab',\n tabindex: selectedTab.value === tab.key ? 0 : -1,\n onClick: ($event: any) => (onTabSelected(tab.key)),\n onKeydown: onKeydown\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, `label-${tab.key}`, {\n current: selectedTab.value,\n currentIndex: currentTabIndex.value,\n disabled: !!(tab.disabled || _ctx.disabled),\n goTo: goTo,\n isFirst: isFirst.value,\n isLast: isLast.value,\n selected: selectedTab.value === tab.key,\n text: tab.label,\n value: tab.key\n }, () => [\n _renderSlot(_ctx.$slots, \"label\", {\n current: selectedTab.value,\n currentIndex: currentTabIndex.value,\n disabled: !!(tab.disabled || _ctx.disabled),\n goTo: goTo,\n isFirst: isFirst.value,\n isLast: isLast.value,\n selected: selectedTab.value === tab.key,\n text: tab.label,\n value: tab.key\n }, () => [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(tab.label), 1)\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"id\", \"aria-selected\", \"class\", \"disabled\", \"tabindex\", \"onClick\"])\n ]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.items, (tab) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: tab.key\n }, [\n (selectedTab.value === tab.key || _ctx.eager || tab.eager)\n ? (_openBlock(), _createElementBlock(\"section\", {\n key: 0,\n id: `${instanceid}_tabpanel_${tab.key}`,\n \"aria-labelledby\": `${instanceid}_tab_${tab.key}`,\n class: _normalizeClass([\"bb-tab__pane\", {\n\t\t\t\t\t\t'bb-tab__pane--shown': selectedTab.value === tab.key,\n\t\t\t\t\t}]),\n role: \"tabpanel\",\n tabindex: \"0\"\n }, [\n _renderSlot(_ctx.$slots, tab.key, {\n current: selectedTab.value,\n currentIndex: currentTabIndex.value,\n disabled: !!(tab.disabled || _ctx.disabled),\n goTo: goTo,\n isFirst: isFirst.value,\n isLast: isLast.value,\n selected: selectedTab.value === tab.key,\n text: tab.label,\n value: tab.key\n })\n ], 10, _hoisted_5))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ])\n ], 10, _hoisted_1))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_sfc_main","_defineComponent","__props","__expose","__emit","props","emit","route","useRoute","router","useRouter","id","useId","instanceid","isInertia","_b","_a","getCurrentInstance","selectedTab","ref","currentTabIndex","computed","el","isFirst","isLast","item","_d","_c","_f","_e","_g","firstSelectableTab","key","onTabSelected","tab","replace","url","wait","goTo","target","nextTabIndex","targetKey","button","onKeydown","event","watch","value","_ctx","_cache","_openBlock","_createElementBlock","_unref","_normalizeClass","_createElementVNode","_Fragment","_renderList","_createVNode","BaseButton","$event","_withCtx","_renderSlot","_toDisplayString","_createCommentVNode"],"mappings":";;;;;;;AAGA,MAAMA,IAAa,CAAC,IAAI,GAClBC,KAAa;AAAA,EACjB,OAAO;AAAA,EACP,MAAM;AACR,GACMC,KAAa,EAAE,OAAO,mBACtBC,KAAa,EAAE,OAAO,6BACtBC,KAAa,CAAC,MAAM,iBAAiB,GAiFfC,KAAiBC,gBAAAA,EAAA;AAAA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