bitboss-ui 2.0.5 → 2.0.8

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 (431) hide show
  1. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +1 -3
  2. package/dist/composables/useOptions.d.ts +1 -1
  3. package/dist/index.js +89 -87
  4. package/dist/index.js.map +1 -1
  5. package/dist/index10.js +7 -39
  6. package/dist/index10.js.map +1 -1
  7. package/dist/index101.js +60 -87
  8. package/dist/index101.js.map +1 -1
  9. package/dist/index103.js +113 -258
  10. package/dist/index103.js.map +1 -1
  11. package/dist/index105.js +254 -388
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index107.js +387 -98
  14. package/dist/index107.js.map +1 -1
  15. package/dist/index109.js +52 -48
  16. package/dist/index109.js.map +1 -1
  17. package/dist/index11.js +74 -188
  18. package/dist/index11.js.map +1 -1
  19. package/dist/index111.js +35 -34
  20. package/dist/index111.js.map +1 -1
  21. package/dist/index113.js +105 -23
  22. package/dist/index113.js.map +1 -1
  23. package/dist/index115.js +23 -156
  24. package/dist/index115.js.map +1 -1
  25. package/dist/index117.js +153 -112
  26. package/dist/index117.js.map +1 -1
  27. package/dist/index119.js +115 -39
  28. package/dist/index119.js.map +1 -1
  29. package/dist/index12.js +38 -80
  30. package/dist/index12.js.map +1 -1
  31. package/dist/index121.js +36 -40
  32. package/dist/index121.js.map +1 -1
  33. package/dist/index122.js +34 -37
  34. package/dist/index122.js.map +1 -1
  35. package/dist/index123.js +30 -21
  36. package/dist/index123.js.map +1 -1
  37. package/dist/index124.js +47 -2
  38. package/dist/index124.js.map +1 -1
  39. package/dist/index125.js +35 -21
  40. package/dist/index125.js.map +1 -1
  41. package/dist/index126.js +2 -2
  42. package/dist/index126.js.map +1 -1
  43. package/dist/index127.js +21 -312
  44. package/dist/index127.js.map +1 -1
  45. package/dist/index128.js +2 -24
  46. package/dist/index128.js.map +1 -1
  47. package/dist/index129.js +312 -2
  48. package/dist/index129.js.map +1 -1
  49. package/dist/index13.js +196 -0
  50. package/dist/index13.js.map +1 -0
  51. package/dist/index130.js +24 -5
  52. package/dist/index130.js.map +1 -1
  53. package/dist/index131.js +2 -9
  54. package/dist/index131.js.map +1 -1
  55. package/dist/index132.js +5 -6
  56. package/dist/index132.js.map +1 -1
  57. package/dist/index133.js +9 -3
  58. package/dist/index133.js.map +1 -1
  59. package/dist/index134.js +6 -3
  60. package/dist/index134.js.map +1 -1
  61. package/dist/index135.js +1 -1
  62. package/dist/index136.js +1 -1
  63. package/dist/index137.js +1 -1
  64. package/dist/index138.js +1 -1
  65. package/dist/index139.js +1 -1
  66. package/dist/index14.js +73 -121
  67. package/dist/index14.js.map +1 -1
  68. package/dist/index140.js +1 -1
  69. package/dist/index141.js +1 -1
  70. package/dist/index142.js +1 -1
  71. package/dist/index143.js +1 -1
  72. package/dist/index144.js +1 -1
  73. package/dist/index145.js +1 -1
  74. package/dist/index146.js +1 -1
  75. package/dist/index147.js +1 -1
  76. package/dist/index148.js +1 -1
  77. package/dist/index149.js +1 -1
  78. package/dist/index150.js +1 -1
  79. package/dist/index151.js +1 -1
  80. package/dist/index152.js +1 -1
  81. package/dist/index153.js +1 -1
  82. package/dist/index154.js +1 -1
  83. package/dist/index155.js +1 -1
  84. package/dist/index156.js +1 -1
  85. package/dist/index157.js +1 -1
  86. package/dist/index158.js +1 -1
  87. package/dist/index159.js +2 -2
  88. package/dist/index16.js +119 -118
  89. package/dist/index16.js.map +1 -1
  90. package/dist/index160.js +6 -0
  91. package/dist/index160.js.map +1 -0
  92. package/dist/index161.js +1 -1
  93. package/dist/index163.js +2 -2
  94. package/dist/index165.js +1 -1
  95. package/dist/index166.js +1 -1
  96. package/dist/index167.js +1 -1
  97. package/dist/index168.js +1 -1
  98. package/dist/index169.js +2 -2
  99. package/dist/index170.js +6 -0
  100. package/dist/index170.js.map +1 -0
  101. package/dist/index171.js +3 -2
  102. package/dist/index171.js.map +1 -1
  103. package/dist/index173.js +2 -3
  104. package/dist/index173.js.map +1 -1
  105. package/dist/index174.js +1 -1
  106. package/dist/index175.js +1 -1
  107. package/dist/index176.js +1 -1
  108. package/dist/index177.js +1 -1
  109. package/dist/index178.js +1 -1
  110. package/dist/index179.js +1 -1
  111. package/dist/index18.js +120 -208
  112. package/dist/index18.js.map +1 -1
  113. package/dist/index180.js +1 -1
  114. package/dist/index181.js +1 -1
  115. package/dist/index182.js +1 -1
  116. package/dist/index183.js +2 -2
  117. package/dist/index184.js +6 -0
  118. package/dist/index184.js.map +1 -0
  119. package/dist/index185.js +1 -1
  120. package/dist/index187.js +1 -1
  121. package/dist/index189.js +1 -1
  122. package/dist/index190.js +1 -1
  123. package/dist/index191.js +1 -1
  124. package/dist/index192.js +1 -1
  125. package/dist/index193.js +1 -1
  126. package/dist/index194.js +1 -1
  127. package/dist/index195.js +1 -1
  128. package/dist/index196.js +1 -1
  129. package/dist/index197.js +3 -81
  130. package/dist/index197.js.map +1 -1
  131. package/dist/index198.js +3 -3
  132. package/dist/index198.js.map +1 -1
  133. package/dist/index199.js +81 -5
  134. package/dist/index199.js.map +1 -1
  135. package/dist/index20.js +193 -275
  136. package/dist/index20.js.map +1 -1
  137. package/dist/index200.js +2 -16
  138. package/dist/index200.js.map +1 -1
  139. package/dist/index201.js +3 -16
  140. package/dist/index201.js.map +1 -1
  141. package/dist/index202.js +124 -17
  142. package/dist/index202.js.map +1 -1
  143. package/dist/index203.js +5 -19
  144. package/dist/index203.js.map +1 -1
  145. package/dist/index204.js +119 -23
  146. package/dist/index204.js.map +1 -1
  147. package/dist/index205.js +19 -3
  148. package/dist/index205.js.map +1 -1
  149. package/dist/index206.js +16 -2
  150. package/dist/index206.js.map +1 -1
  151. package/dist/index207.js +16 -8
  152. package/dist/index207.js.map +1 -1
  153. package/dist/index208.js +2 -249
  154. package/dist/index208.js.map +1 -1
  155. package/dist/index209.js +5 -0
  156. package/dist/index209.js.map +1 -0
  157. package/dist/index210.js +35 -52
  158. package/dist/index210.js.map +1 -1
  159. package/dist/index211.js +173 -36
  160. package/dist/index211.js.map +1 -1
  161. package/dist/index212.js +6 -5
  162. package/dist/index212.js.map +1 -1
  163. package/dist/index213.js +39 -36
  164. package/dist/index213.js.map +1 -1
  165. package/dist/index215.js +13 -4
  166. package/dist/index215.js.map +1 -1
  167. package/dist/index216.js +5 -2
  168. package/dist/index216.js.map +1 -1
  169. package/dist/index217.js +369 -2
  170. package/dist/index217.js.map +1 -1
  171. package/dist/index218.js +6 -40
  172. package/dist/index218.js.map +1 -1
  173. package/dist/{index214.js → index219.js} +1 -1
  174. package/dist/{index214.js.map → index219.js.map} +1 -1
  175. package/dist/index22.js +287 -247
  176. package/dist/index22.js.map +1 -1
  177. package/dist/index220.js +4 -13
  178. package/dist/index220.js.map +1 -1
  179. package/dist/index221.js +2 -158
  180. package/dist/index221.js.map +1 -1
  181. package/dist/index222.js +3 -84
  182. package/dist/index222.js.map +1 -1
  183. package/dist/index223.js +10 -0
  184. package/dist/index223.js.map +1 -0
  185. package/dist/index224.js +19 -3
  186. package/dist/index224.js.map +1 -1
  187. package/dist/index225.js +26 -34
  188. package/dist/index225.js.map +1 -1
  189. package/dist/index226.js +3 -6
  190. package/dist/index226.js.map +1 -1
  191. package/dist/index227.js +249 -7
  192. package/dist/index227.js.map +1 -1
  193. package/dist/index228.js +49 -123
  194. package/dist/index228.js.map +1 -1
  195. package/dist/index229.js +44 -123
  196. package/dist/index229.js.map +1 -1
  197. package/dist/index230.js +5 -2
  198. package/dist/index230.js.map +1 -1
  199. package/dist/index231.js +49 -174
  200. package/dist/index231.js.map +1 -1
  201. package/dist/index232.js +158 -5
  202. package/dist/index232.js.map +1 -1
  203. package/dist/index233.js +83 -368
  204. package/dist/index233.js.map +1 -1
  205. package/dist/index235.js +2 -18
  206. package/dist/index235.js.map +1 -1
  207. package/dist/index236.js +17 -105
  208. package/dist/index236.js.map +1 -1
  209. package/dist/index237.js +109 -0
  210. package/dist/index237.js.map +1 -0
  211. package/dist/{index238.js → index239.js} +3 -3
  212. package/dist/{index238.js.map → index239.js.map} +1 -1
  213. package/dist/index24.js +249 -120
  214. package/dist/index24.js.map +1 -1
  215. package/dist/index241.js +2 -10
  216. package/dist/index241.js.map +1 -1
  217. package/dist/index242.js +9 -2
  218. package/dist/index242.js.map +1 -1
  219. package/dist/index243.js +3 -224
  220. package/dist/index243.js.map +1 -1
  221. package/dist/index244.js +9 -281
  222. package/dist/index244.js.map +1 -1
  223. package/dist/index245.js +23 -6
  224. package/dist/index245.js.map +1 -1
  225. package/dist/index246.js +6 -2
  226. package/dist/index246.js.map +1 -1
  227. package/dist/index247.js +16 -2
  228. package/dist/index247.js.map +1 -1
  229. package/dist/index248.js +224 -2
  230. package/dist/index248.js.map +1 -1
  231. package/dist/index249.js +281 -2
  232. package/dist/index249.js.map +1 -1
  233. package/dist/index250.js +6 -2
  234. package/dist/index250.js.map +1 -1
  235. package/dist/index251.js +2 -2
  236. package/dist/index252.js +2 -3
  237. package/dist/index252.js.map +1 -1
  238. package/dist/index253.js +2 -2
  239. package/dist/index254.js +2 -2
  240. package/dist/index255.js +2 -2
  241. package/dist/index256.js +122 -24
  242. package/dist/index256.js.map +1 -1
  243. package/dist/index257.js +429 -20
  244. package/dist/index257.js.map +1 -1
  245. package/dist/index258.js +6 -0
  246. package/dist/index258.js.map +1 -0
  247. package/dist/index26.js +119 -142
  248. package/dist/index26.js.map +1 -1
  249. package/dist/index260.js +6 -3
  250. package/dist/index260.js.map +1 -1
  251. package/dist/index261.js +21 -8
  252. package/dist/index261.js.map +1 -1
  253. package/dist/index263.js +9 -3
  254. package/dist/index263.js.map +1 -1
  255. package/dist/index264.js +439 -0
  256. package/dist/index264.js.map +1 -0
  257. package/dist/index265.js +127 -6
  258. package/dist/index265.js.map +1 -1
  259. package/dist/index266.js +199 -15
  260. package/dist/index266.js.map +1 -1
  261. package/dist/index267.js +4 -9
  262. package/dist/index267.js.map +1 -1
  263. package/dist/index268.js +89 -3
  264. package/dist/index268.js.map +1 -1
  265. package/dist/index269.js +2 -12
  266. package/dist/index269.js.map +1 -1
  267. package/dist/index270.js +2 -9
  268. package/dist/index270.js.map +1 -1
  269. package/dist/index271.js +2 -9
  270. package/dist/index271.js.map +1 -1
  271. package/dist/index272.js +2 -17
  272. package/dist/index272.js.map +1 -1
  273. package/dist/index273.js +2 -431
  274. package/dist/index273.js.map +1 -1
  275. package/dist/index274.js +2 -89
  276. package/dist/index274.js.map +1 -1
  277. package/dist/index275.js +28 -2
  278. package/dist/index275.js.map +1 -1
  279. package/dist/index276.js +17 -64
  280. package/dist/index276.js.map +1 -1
  281. package/dist/index278.js +3 -200
  282. package/dist/index278.js.map +1 -1
  283. package/dist/index279.js +12 -2
  284. package/dist/index279.js.map +1 -1
  285. package/dist/index28.js +138 -83
  286. package/dist/index28.js.map +1 -1
  287. package/dist/index280.js +7 -124
  288. package/dist/index280.js.map +1 -1
  289. package/dist/index281.js +7 -20
  290. package/dist/index281.js.map +1 -1
  291. package/dist/index282.js +20 -0
  292. package/dist/index282.js.map +1 -0
  293. package/dist/index283.js +2 -436
  294. package/dist/index283.js.map +1 -1
  295. package/dist/index284.js +68 -126
  296. package/dist/index284.js.map +1 -1
  297. package/dist/index285.js +5 -3
  298. package/dist/index285.js.map +1 -1
  299. package/dist/index286.js +1 -1
  300. package/dist/index287.js +3 -211
  301. package/dist/index287.js.map +1 -1
  302. package/dist/index288.js +214 -0
  303. package/dist/index288.js.map +1 -0
  304. package/dist/index290.js +4 -7
  305. package/dist/index290.js.map +1 -1
  306. package/dist/index291.js +4 -19
  307. package/dist/index291.js.map +1 -1
  308. package/dist/index292.js +58 -6
  309. package/dist/index292.js.map +1 -1
  310. package/dist/index293.js +35 -4
  311. package/dist/index293.js.map +1 -1
  312. package/dist/index294.js +7 -4
  313. package/dist/index294.js.map +1 -1
  314. package/dist/index295.js +6 -58
  315. package/dist/index295.js.map +1 -1
  316. package/dist/index296.js +18 -34
  317. package/dist/index296.js.map +1 -1
  318. package/dist/index297.js +2 -11
  319. package/dist/index297.js.map +1 -1
  320. package/dist/index298.js +47 -2
  321. package/dist/index298.js.map +1 -1
  322. package/dist/index299.js +10 -46
  323. package/dist/index299.js.map +1 -1
  324. package/dist/index30.js +85 -115
  325. package/dist/index30.js.map +1 -1
  326. package/dist/index32.js +111 -112
  327. package/dist/index32.js.map +1 -1
  328. package/dist/index34.js +114 -365
  329. package/dist/index34.js.map +1 -1
  330. package/dist/index36.js +361 -283
  331. package/dist/index36.js.map +1 -1
  332. package/dist/index38.js +288 -106
  333. package/dist/index38.js.map +1 -1
  334. package/dist/index40.js +114 -121
  335. package/dist/index40.js.map +1 -1
  336. package/dist/index42.js +113 -200
  337. package/dist/index42.js.map +1 -1
  338. package/dist/index44.js +180 -90
  339. package/dist/index44.js.map +1 -1
  340. package/dist/index46.js +110 -78
  341. package/dist/index46.js.map +1 -1
  342. package/dist/index48.js +89 -54
  343. package/dist/index48.js.map +1 -1
  344. package/dist/index5.js +14 -78
  345. package/dist/index5.js.map +1 -1
  346. package/dist/index50.js +54 -84
  347. package/dist/index50.js.map +1 -1
  348. package/dist/index52.js +86 -60
  349. package/dist/index52.js.map +1 -1
  350. package/dist/index54.js +59 -40
  351. package/dist/index54.js.map +1 -1
  352. package/dist/index56.js +42 -55
  353. package/dist/index56.js.map +1 -1
  354. package/dist/index58.js +53 -103
  355. package/dist/index58.js.map +1 -1
  356. package/dist/index6.js +36 -58
  357. package/dist/index6.js.map +1 -1
  358. package/dist/index60.js +103 -89
  359. package/dist/index60.js.map +1 -1
  360. package/dist/index62.js +61 -88
  361. package/dist/index62.js.map +1 -1
  362. package/dist/index64.js +119 -77
  363. package/dist/index64.js.map +1 -1
  364. package/dist/index66.js +77 -91
  365. package/dist/index66.js.map +1 -1
  366. package/dist/index68.js +88 -49
  367. package/dist/index68.js.map +1 -1
  368. package/dist/index7.js +78 -20
  369. package/dist/index7.js.map +1 -1
  370. package/dist/index70.js +51 -304
  371. package/dist/index70.js.map +1 -1
  372. package/dist/index72.js +299 -115
  373. package/dist/index72.js.map +1 -1
  374. package/dist/index74.js +120 -214
  375. package/dist/index74.js.map +1 -1
  376. package/dist/index76.js +213 -36
  377. package/dist/index76.js.map +1 -1
  378. package/dist/index78.js +47 -0
  379. package/dist/index78.js.map +1 -0
  380. package/dist/index79.js +119 -230
  381. package/dist/index79.js.map +1 -1
  382. package/dist/index8.js +61 -7
  383. package/dist/index8.js.map +1 -1
  384. package/dist/index81.js +227 -154
  385. package/dist/index81.js.map +1 -1
  386. package/dist/index83.js +154 -207
  387. package/dist/index83.js.map +1 -1
  388. package/dist/index85.js +215 -26
  389. package/dist/index85.js.map +1 -1
  390. package/dist/index87.js +27 -88
  391. package/dist/index87.js.map +1 -1
  392. package/dist/index89.js +53 -88
  393. package/dist/index89.js.map +1 -1
  394. package/dist/index9.js +17 -76
  395. package/dist/index9.js.map +1 -1
  396. package/dist/index91.js +75 -44
  397. package/dist/index91.js.map +1 -1
  398. package/dist/index93.js +89 -15
  399. package/dist/index93.js.map +1 -1
  400. package/dist/index95.js +15 -166
  401. package/dist/index95.js.map +1 -1
  402. package/dist/index97.js +120 -59
  403. package/dist/index97.js.map +1 -1
  404. package/dist/index99.js +66 -52
  405. package/dist/index99.js.map +1 -1
  406. package/dist/style.css +1 -1
  407. package/package.json +2 -2
  408. package/dist/index120.js +0 -47
  409. package/dist/index120.js.map +0 -1
  410. package/dist/index164.js +0 -6
  411. package/dist/index164.js.map +0 -1
  412. package/dist/index172.js +0 -6
  413. package/dist/index172.js.map +0 -1
  414. package/dist/index188.js +0 -6
  415. package/dist/index188.js.map +0 -1
  416. package/dist/index234.js +0 -6
  417. package/dist/index234.js.map +0 -1
  418. package/dist/index240.js +0 -5
  419. package/dist/index240.js.map +0 -1
  420. package/dist/index259.js +0 -10
  421. package/dist/index259.js.map +0 -1
  422. package/dist/index262.js +0 -26
  423. package/dist/index262.js.map +0 -1
  424. package/dist/index277.js +0 -8
  425. package/dist/index277.js.map +0 -1
  426. package/dist/index3.js +0 -17
  427. package/dist/index3.js.map +0 -1
  428. package/dist/index4.js +0 -43
  429. package/dist/index4.js.map +0 -1
  430. package/dist/index77.js +0 -130
  431. package/dist/index77.js.map +0 -1
package/dist/index36.js CHANGED
@@ -1,308 +1,386 @@
1
- import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as b, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as c, normalizeClass as F, normalizeStyle as I } from "vue";
2
- import { clamp as le } from "./index217.js";
3
- import { head as O } from "./index240.js";
4
- import { isCssColor as Y } from "./index214.js";
5
- import { isNil as P } from "./index124.js";
6
- import { isNotNil as ne } from "./index129.js";
7
- import { transposeValue as y } from "./index125.js";
8
- import { hash as J } from "./index205.js";
9
- const oe = { class: "bb-base-slider__slider-container" }, ie = {
10
- key: 0,
11
- class: "bb-base-slider__ticks-container"
12
- }, se = ["id", "disabled", "name", "readonly", "required", "value"], ue = /* @__PURE__ */ b("span", { class: "bb-base-slider__track-fill" }, null, -1), de = ["aria-describedby", "aria-readonly", "aria-valuemax", "aria-valuemin", "aria-valuenow", "tabindex"], me = ["aria-describedby", "aria-readonly", "aria-valuemax", "aria-valuemin", "aria-valuenow", "tabindex"], ke = /* @__PURE__ */ U({
13
- __name: "BaseSlider",
1
+ import { defineComponent as Me, defineAsyncComponent as Ne, ref as m, computed as y, toRef as I, openBlock as b, createBlock as $, normalizeClass as W, withCtx as r, renderSlot as p, unref as s, createVNode as F, createElementVNode as S, createElementBlock as M, Fragment as R, createCommentVNode as J, withDirectives as xe, isRef as He, withModifiers as c, withKeys as g, vModelDynamic as Pe, renderList as _e, mergeProps as Y, Teleport as ze, normalizeStyle as Qe, nextTick as Ke } from "vue";
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ import { useId as Ue } from "./index9.js";
6
+ import { useMobile as We } from "./index10.js";
7
+ import Re from "./index124.js";
8
+ /* empty css */
9
+ import { isNotNil as Je } from "./index131.js";
10
+ import { last as Ye } from "./index209.js";
11
+ import { matchAnyKey as j } from "./index236.js";
12
+ import { useFloating as je } from "./index202.js";
13
+ import { useIntersectionObserver as Ge } from "./index129.js";
14
+ import { useLogger as Xe } from "./index218.js";
15
+ import { useOptions as Ze } from "./index232.js";
16
+ import { wait as T } from "./index128.js";
17
+ import { when as et } from "./index220.js";
18
+ import tt from "./index237.js";
19
+ /* empty css */
20
+ import ot from "./index239.js";
21
+ /* empty css */
22
+ import nt from "./index213.js";
23
+ /* empty css */
24
+ import lt from "./index215.js";
25
+ import { waitFor as at } from "./index212.js";
26
+ import { autoUpdate as it, flip as rt, offset as st, shift as ut } from "./index217.js";
27
+ const pt = { class: "bb-base-select__input-container" }, ct = ["id", "aria-controls", "aria-describedby", "aria-expanded", "autocomplete", "autofocus", "disabled", "inputmode", "placeholder", "readonly", "required", "onKeydown"], dt = /* @__PURE__ */ S("svg", {
28
+ class: "bb-base-select__chevron",
29
+ viewBox: "0 0 24 24",
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, [
32
+ /* @__PURE__ */ S("path", {
33
+ d: "M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z",
34
+ fill: "currentColor"
35
+ })
36
+ ], -1), Ht = /* @__PURE__ */ Me({
37
+ __name: "BaseSelect",
14
38
  props: {
39
+ addOptions: { type: Boolean },
40
+ allowWriting: { type: [Boolean, String], default: !0 },
41
+ "append:icon": {},
15
42
  ariaDescribedby: {},
43
+ autocomplete: {},
16
44
  autofocus: {},
17
- color: {},
45
+ comma: { type: Boolean },
46
+ dependencies: { default: () => [] },
47
+ depsDebounceTime: { default: 0 },
18
48
  disabled: { type: Boolean },
49
+ enforceCoherence: { type: Boolean },
50
+ filterBy: { type: [String, Array, Boolean, Function, null], default: () => [] },
19
51
  hasErrors: { type: Boolean },
20
52
  id: {},
21
- max: { default: 100 },
22
- min: { default: 0 },
23
- modelValue: { default: 0 },
53
+ items: {},
54
+ itemText: {},
55
+ itemValue: {},
56
+ loading: { type: Boolean },
57
+ loadingText: { default: "Caricamento..." },
58
+ modelValue: {},
59
+ modelValueDebounceTime: { default: 0 },
60
+ multiple: { type: Boolean },
24
61
  name: {},
25
- range: { type: Boolean },
26
- readonly: {},
62
+ noDataText: { default: "Nessun elemento da visualizzare" },
63
+ placeholder: {},
64
+ prefill: { type: [Boolean, String], default: "focus" },
65
+ "prepend:icon": {},
66
+ queryDebounceTime: { default: 500 },
67
+ readonly: { type: Boolean },
27
68
  required: { type: Boolean },
28
- step: { default: 1 },
29
- ticks: { type: Boolean },
30
- thumbTranslate: { type: Boolean, default: !0 }
69
+ resetQueryOnOptionSelected: { type: Boolean },
70
+ stash: { type: Boolean },
71
+ transitionDuration: { default: 300 },
72
+ updateOnAnimationFrame: { type: Boolean, default: !1 }
31
73
  },
32
- emits: ["click", "focus", "active", "inactive", "keydown", "pointerdown", "pointermove", "pointerup", "update:modelValue"],
33
- setup(K, { emit: j }) {
34
- const a = K, u = j, C = d(), B = d(), _ = d(), v = d(), n = d(0), o = d(0), E = h(() => Array.isArray(a.modelValue) ? O(a.modelValue) ?? void 0 : P(a.modelValue) ? void 0 : Number(a.modelValue)), $ = h(() => Array.isArray(a.modelValue) ? O(a.modelValue) ?? void 0 : P(a.modelValue) ? void 0 : Number(a.modelValue)), L = h(() => [n.value, o.value].sort(
35
- (e, r) => e - r
36
- )), p = y({
37
- value: a.min + a.step,
38
- originalBounds: { min: a.min, max: a.max },
39
- targetBounds: { min: 0, max: 100 },
40
- step: 1
41
- }), A = d(!1);
42
- if (a.range && !Array.isArray(a.modelValue))
43
- throw new TypeError(
44
- "BaseSlider mode is set as range but modelValue is not an array"
45
- );
46
- W(() => {
47
- var e;
48
- a.autofocus && ((e = v.value) == null || e.focus());
49
- }), Z(
50
- () => a.modelValue,
51
- (e) => {
52
- let r;
53
- if (a.range) {
54
- const [s = a.min, m = a.min] = e;
55
- r = [s, m];
56
- } else
57
- r = [a.min, ne(e) ? Number(e) : a.min];
58
- const [l, i] = r.map((s) => {
59
- let m = P(s) ? a.min : Number(s);
60
- return y({
61
- value: m,
62
- targetBounds: { min: 0, max: 100 },
63
- originalBounds: { min: a.min, max: a.max },
64
- step: 1
65
- });
66
- });
67
- n.value = l, o.value = i;
74
+ emits: ["blur", "change", "click", "focus", "inactive", "input", "update:modelValue"],
75
+ setup(G, { emit: X }) {
76
+ const t = G, h = X;
77
+ if (t.multiple && !Array.isArray(t.modelValue))
78
+ throw new Error('Multiple is set to "true" but modelValue is not an array.');
79
+ const Z = Ne(() => import("./index235.js")), A = m(null), B = m(null), a = m(null), N = m(null), x = m(null), u = y(
80
+ () => t.comma ? N.value : x.value
81
+ ), { isMobile: ee } = We(), te = y(
82
+ () => t.allowWriting === "not-mobile" && ee.value ? "none" : void 0
83
+ ), H = t.id || Ue().id.value;
84
+ Ge(
85
+ B,
86
+ ([{ intersectionRatio: e }]) => {
87
+ e !== 1 && O();
68
88
  },
69
- { immediate: !0 }
89
+ { threshold: [0, 1] }
70
90
  );
71
- let N = d(!1), t = d(null);
72
- const S = (e) => {
73
- if (v.value && v.value.contains(e.target))
74
- return "higher";
75
- if (_.value && _.value.contains(e.target))
76
- return "lower";
77
- throw new Error("Could not identify target thumb");
78
- }, G = (e) => {
79
- a.disabled || a.readonly || (t.value || (t.value = S(e)), N.value = !0, document.addEventListener("pointermove", x), document.addEventListener("pointerup", z), u("pointerdown", e));
80
- };
81
- let M = h(() => N.value ? {} : { onPointerdown: G });
82
- const x = (e) => {
83
- if (!(a.disabled || a.readonly) && B.value) {
84
- const r = B.value.getBoundingClientRect(), l = e.clientX, i = r.left, s = r.width;
85
- e instanceof PointerEvent ? u("pointermove", e) : u("click", e);
86
- const m = y({
87
- value: le(l, i, i + s),
88
- originalBounds: { min: i, max: i + s },
89
- targetBounds: { min: 0, max: 100 },
90
- step: p
91
- });
92
- t.value === "higher" ? o.value = m : t.value === "lower" && (n.value = m);
91
+ const { floatingStyles: oe } = je(
92
+ B,
93
+ a,
94
+ {
95
+ placement: "bottom",
96
+ whileElementsMounted: it,
97
+ middleware: [rt(), st(5), ut()]
93
98
  }
94
- }, k = () => {
95
- const [e, r] = [n.value, o.value].sort(
96
- (i, s) => i - s
97
- ), l = [e, r].map(
98
- (i) => y({
99
- value: i,
100
- originalBounds: { min: 0, max: 100 },
101
- targetBounds: { min: a.min, max: a.max },
102
- step: a.step
103
- })
104
- );
105
- return a.range ? l : l[1];
106
- }, z = (e) => {
107
- N.value = !1, t.value = null, document.removeEventListener("pointermove", x), document.removeEventListener("pointerup", z), u("pointerup", e), u("update:modelValue", k());
108
- }, X = (e) => {
109
- u("keydown", e), !(a.disabled || a.readonly || e.key !== "ArrowLeft" && e.key !== "ArrowRight") && (e.key === "ArrowLeft" ? t.value === "higher" || document.activeElement === v.value ? o.value = Math.max(
110
- o.value - p,
111
- n.value
112
- ) : t.value === "lower" && (n.value = Math.max(
113
- n.value - p,
114
- 0
115
- )) : e.key === "ArrowRight" && (t.value === "higher" || document.activeElement === v.value ? o.value = Math.min(
116
- o.value + p,
117
- 100
118
- ) : t.value === "lower" && (n.value = Math.min(
119
- n.value + p,
120
- o.value
121
- ))), u("update:modelValue", k()));
122
- }, q = (e) => {
123
- u("focus", e);
124
- const r = S(e);
125
- r && (t.value = r), A.value || (A.value = !0, u("active"), document.addEventListener("focusin", V), document.addEventListener("click", V));
126
- }, V = (e) => {
127
- var r;
128
- e.target instanceof HTMLElement && ((r = C.value) != null && r.contains(e.target) || (A.value = !1, t.value = null, u("inactive"), document.removeEventListener("focusin", V), document.removeEventListener("click", V)));
129
- }, D = {
130
- class: {
131
- "bb-base-slider": !0,
132
- "bb-base-slider--disabled": a.disabled,
133
- "bb-base-slider--errors": a.hasErrors,
134
- "bb-base-slider--readonly": a.readonly,
135
- [`bb-base-slider--${a.color}`]: a.color && !Y(a.color)
136
- },
137
- onClick: (e) => {
138
- var l;
139
- if (a.range) return;
140
- (l = v.value) == null || l.focus(), x(e);
141
- const r = k();
142
- J(r) !== J(a.modelValue) && u("update:modelValue", k());
143
- },
144
- style: {}
145
- };
146
- a.color && Y(a.color) && (D.style["--color"] = a.color);
147
- const Q = h(() => {
148
- const e = "bb-base-slider__track-background", r = {
149
- width: `${L.value[1] - L.value[0]}%`,
150
- left: `${L.value[0]}%`
99
+ ), ne = y(() => {
100
+ var o;
101
+ const e = {
102
+ ...oe.value,
103
+ zIndex: "10"
151
104
  };
105
+ return B.value && (e.width = `${(o = B.value) == null ? void 0 : o.$el.clientWidth}px`), e;
106
+ }), q = m(null), E = () => {
107
+ q.value instanceof HTMLInputElement && q.value.focus();
108
+ }, le = async (e) => {
109
+ h("focus", e), Ae(), document.addEventListener("click", k), document.addEventListener("focusin", k);
110
+ }, ae = () => {
111
+ t.prefill === "focus" && !Oe.value && !Ce.value && Be();
112
+ }, ie = async (e) => {
113
+ h("blur", e);
114
+ }, re = (e) => h("change", e), se = (e) => {
115
+ var o;
116
+ h("input", e), l.value === "" && (t.multiple || ke(null)), (o = u.value) == null || o.blur(), Ie();
117
+ }, k = async (e) => {
118
+ if (e.target instanceof Node && A.value && a.value && !A.value.$el.contains(e.target) && !a.value.$el.contains(e.target)) {
119
+ O(), qe(), document.removeEventListener("click", k), document.removeEventListener("focusin", k), await T(t.transitionDuration), he();
120
+ return;
121
+ }
122
+ }, w = y(() => !(t.readonly || t.disabled || D.value || !u.value && t.multiple)), ue = async () => {
123
+ var e, o, n;
124
+ w.value && ((e = u.value) == null || e.blur(), d.value ? (o = a.value) == null || o.focusPrevious() : (await V(), await T(t.transitionDuration), (n = a.value) == null || n.focusLastSelected()));
125
+ }, pe = async () => {
126
+ var e, o, n;
127
+ w.value && ((e = u.value) == null || e.blur(), d.value ? (o = a.value) == null || o.focusNext() : (await V(), await T(t.transitionDuration), (n = a.value) == null || n.focusFirstSelected()));
128
+ }, ce = (e) => {
129
+ var n, i, f, C;
130
+ if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !v.value.length)) return;
131
+ (i = u.value) == null || i.focusPrevious();
132
+ const o = (f = u.value) == null ? void 0 : f.getHighlighted();
133
+ o && ((C = a.value) == null || C.focusByHash(o.valueHash));
134
+ }, de = (e) => {
135
+ var n, i, f, C;
136
+ if (!w.value || !t.multiple || l.value || (e.preventDefault(), (n = a.value) == null || n.blur(), !v.value.length)) return;
137
+ (i = u.value) == null || i.focusNext();
138
+ const o = (f = u.value) == null ? void 0 : f.getHighlighted();
139
+ o && ((C = a.value) == null || C.focusByHash(o.valueHash));
140
+ }, fe = async () => {
141
+ var e, o;
142
+ if (w.value) {
143
+ if (!d.value)
144
+ await V(), await T(t.transitionDuration), v.value.length && ((e = a.value) == null || e.focusFirstSelected());
145
+ else if ((o = a.value) != null && o.getHighlighted())
146
+ a.value.confirmOption();
147
+ else if (t.addOptions) {
148
+ if (t.itemText || t.itemValue) {
149
+ const { error: i } = Xe();
150
+ i(
151
+ `Adding an option for mapped items is not supported. You can't create an option while passing "item-text" or "item-value".`
152
+ );
153
+ return;
154
+ }
155
+ const n = l.value.trim();
156
+ if (De(n)) return;
157
+ be(), z(Ye(Ve.value));
158
+ }
159
+ }
160
+ }, me = async () => {
161
+ d.value && await O();
162
+ }, ve = async () => {
163
+ var e, o;
164
+ !w.value || l.value || !v.value.length || ((e = u.value) != null && e.getHighlighted() && u.value.confirmOption(), await Ke(), (o = u.value) == null || o.focusPrevious());
165
+ }, ye = t.prefill === !0 || !t.multiple && Je(t.modelValue) || t.multiple && !!t.modelValue.length, {
166
+ query: l,
167
+ alignQueryToState: he,
168
+ addCurrentQueryToManualItems: be,
169
+ innerLoading: P,
170
+ options: _,
171
+ selectedOptions: v,
172
+ selectOption: ge,
173
+ unselectOption: we,
174
+ prefillItems: Be,
175
+ isPrefilling: Oe,
176
+ hasPrefilled: Ce,
177
+ updateModelValue: ke,
178
+ valueIsSelected: De,
179
+ manualItems: Ve,
180
+ searchByQuery: Ie
181
+ } = Ze({
182
+ emit: h,
183
+ itemText: t.itemText,
184
+ itemValue: t.itemValue,
185
+ modelValue: I(t, "modelValue"),
186
+ multiple: t.multiple,
187
+ resetQueryOnOptionSelected: t.resetQueryOnOptionSelected,
188
+ stash: t.stash,
189
+ items: I(t, "items"),
190
+ enforceCoherence: t.enforceCoherence,
191
+ prefill: ye,
192
+ modelValueDebounceTime: t.modelValueDebounceTime,
193
+ dependencies: I(t, "dependencies"),
194
+ depsDebounceTime: t.depsDebounceTime,
195
+ queryDebounceTime: t.queryDebounceTime,
196
+ disabled: I(t, "disabled")
197
+ }), $e = y(() => v.value.length ? "" : t.placeholder), D = y(() => !!(P.value || t.loading)), Te = y(() => {
198
+ let e = [];
199
+ const o = v.value.some(
200
+ (i) => i.text === l.value
201
+ );
202
+ return (t.multiple && l.value || l.value && !o && !t.multiple) && t.filterBy ? e = _.value.filter((i) => {
203
+ let f = !1;
204
+ return typeof t.filterBy == "function" ? f = t.filterBy(i.value, i.item) : Array.isArray(t.filterBy) && t.filterBy.length && (f = f || j(i.item, t.filterBy, l.value.trim())), f || j(i, ["text"], l.value.trim());
205
+ }) : e = _.value, e;
206
+ }), z = (e) => {
207
+ ge(e), E(), t.multiple || O();
208
+ }, Q = (e) => {
209
+ we(e), E();
210
+ }, d = m(!1), K = m(!0), U = m(!1), V = async () => {
211
+ U.value = !0, await at(() => !!a.value), K.value = !1, d.value = !0;
212
+ }, O = async () => {
213
+ var e;
214
+ d.value = !1, K.value = !0, (e = u.value) == null || e.blur();
215
+ }, Se = () => d.value ? O() : V(), L = m(!1), Ae = () => {
216
+ L.value = !0;
217
+ }, qe = () => {
218
+ L.value = !1, h("inactive");
219
+ }, Ee = (e) => {
220
+ e.preventDefault(), h("click", e), !(t.disabled || t.readonly) && (E(), Se());
221
+ }, Le = et(
222
+ (e) => typeof e != "string",
223
+ JSON.stringify
224
+ ), Fe = y(() => [].concat(t.modelValue).map((e) => {
225
+ const o = Le(e);
152
226
  return {
153
- class: e,
154
- style: r
227
+ disabled: t.disabled,
228
+ name: t.name,
229
+ type: "hidden",
230
+ value: o
155
231
  };
156
- }), R = h(() => {
157
- if (!a.ticks) return [];
158
- let e = [], r = a.min;
159
- for (; r <= a.max; ) {
160
- let l = r, i = y({
161
- value: l,
162
- originalBounds: { min: a.min, max: a.max },
163
- targetBounds: { min: 0, max: 100 },
164
- step: p
165
- }), s = y({
166
- value: r,
167
- originalBounds: { min: a.min, max: a.max },
168
- targetBounds: { min: 0, max: 100 },
169
- step: a.step
170
- });
171
- const m = s >= n.value && s <= o.value;
172
- e.push({
173
- value: l,
174
- percent: i,
175
- active: m
176
- }), r += a.step;
177
- }
178
- return e;
179
- });
180
- return (e, r) => (g(), w("span", T(D, {
181
- ref_key: "container",
182
- ref: C
183
- }), [
184
- f(e.$slots, "prepend"),
185
- b("span", oe, [
186
- R.value.length ? (g(), w("span", ie, [
187
- (g(!0), w(ee, null, ae(R.value, (l) => (g(), w("span", {
188
- key: l.value,
189
- class: "bb-base-slider__tick"
190
- }, [
191
- f(e.$slots, "tick", {
192
- active: l.active,
193
- percent: l.percent,
194
- value: l.value
195
- })
196
- ]))), 128))
197
- ])) : H("", !0),
198
- b("input", {
199
- id: e.id,
200
- disabled: e.disabled,
201
- name: e.name,
202
- readonly: e.readonly,
203
- required: e.required,
204
- tabindex: -1,
205
- type: "number",
206
- value: JSON.stringify(e.modelValue)
207
- }, null, 8, se),
208
- b("span", {
209
- ref_key: "track",
232
+ }));
233
+ return (e, o) => (b(), $(lt, {
234
+ ref_key: "outerContainer",
235
+ ref: A,
236
+ class: W({
237
+ "bb-base-select": !0,
238
+ "bb-base-select--active": L.value,
239
+ "bb-base-select--shown": d.value,
240
+ "bb-base-select--loading": D.value,
241
+ "bb-base-select--disabled": e.disabled,
242
+ "bb-base-select--errors": e.hasErrors,
243
+ "bb-base-select--readonly": e.readonly
244
+ }),
245
+ onClick: Ee
246
+ }, {
247
+ "prepend-outer": r(() => [
248
+ p(e.$slots, "prepend-outer", { query: s(l) })
249
+ ]),
250
+ "append-outer": r(() => [
251
+ p(e.$slots, "append-outer", { query: s(l) })
252
+ ]),
253
+ default: r(() => [
254
+ F(nt, {
255
+ ref_key: "innerContainer",
210
256
  ref: B,
211
- class: "bb-base-slider__track-container"
212
- }, [
213
- ue,
214
- b("span", re(te(Q.value)), null, 16)
215
- ], 512),
216
- a.range ? (g(), w("span", T({ key: 1 }, c(M), {
217
- key: "thumblower",
218
- ref_key: "thumblower",
219
- ref: _,
220
- "aria-describedby": e.ariaDescribedby,
221
- "aria-orientation": "horizontal",
222
- "aria-readonly": !e.readonly,
223
- "aria-valuemax": e.max,
224
- "aria-valuemin": e.min,
225
- "aria-valuenow": E.value,
226
- class: "bb-base-slider__thumb-container",
227
- "data-thumb": "lower",
228
- role: "slider",
229
- style: { left: `${n.value}%` },
230
- tabindex: e.disabled ? -1 : 0,
231
- onFocus: q,
232
- onKeydown: X
233
- }), [
234
- b("span", {
235
- class: F({
236
- "bb-base-slider__thumb": !0,
237
- "bb-base-slider__thumb--lower": !0,
238
- "bb-base-slider__thumb--focused": c(t) === "lower"
257
+ "append:icon": t["append:icon"],
258
+ "prepend:icon": t["prepend:icon"]
259
+ }, {
260
+ prepend: r(() => [
261
+ p(e.$slots, "prepend", { query: s(l) })
262
+ ]),
263
+ prefix: r(() => [
264
+ p(e.$slots, "prefix")
265
+ ]),
266
+ append: r(() => [
267
+ p(e.$slots, "append", { query: s(l) })
268
+ ]),
269
+ suffix: r(() => [
270
+ p(e.$slots, "suffix")
271
+ ]),
272
+ default: r(() => [
273
+ F(s(Re), { tag: "span" }, {
274
+ default: r(() => [
275
+ S("span", pt, [
276
+ e.multiple ? (b(), M(R, { key: 0 }, [
277
+ e.comma ? (b(), $(ot, {
278
+ key: 0,
279
+ ref_key: "commaBox",
280
+ ref: N,
281
+ options: s(v)
282
+ }, null, 8, ["options"])) : (b(), $(tt, {
283
+ key: 1,
284
+ ref_key: "chipsBox",
285
+ ref: x,
286
+ options: s(v),
287
+ "onOption:unselected": Q
288
+ }, null, 8, ["options"]))
289
+ ], 64)) : J("", !0),
290
+ xe(S("input", {
291
+ id: s(H),
292
+ ref_key: "input",
293
+ ref: q,
294
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => He(l) ? l.value = n : null),
295
+ "aria-autocomplete": "list",
296
+ "aria-controls": `${s(H)}_listbox`,
297
+ "aria-describedby": e.ariaDescribedby,
298
+ "aria-expanded": d.value,
299
+ autocomplete: e.autocomplete,
300
+ autofocus: e.autofocus,
301
+ class: W("bb-base-select__text-input"),
302
+ disabled: e.disabled,
303
+ inputmode: te.value,
304
+ placeholder: $e.value,
305
+ readonly: e.readonly || !e.allowWriting,
306
+ required: e.required && !e.multiple || e.multiple && !e.modelValue.length,
307
+ role: "combobox",
308
+ type: "text",
309
+ onBlur: c(ie, ["stop"]),
310
+ onChange: c(re, ["stop"]),
311
+ onFocusOnce: c(ae, ["stop"]),
312
+ onFocus: c(le, ["stop"]),
313
+ onInput: c(se, ["stop"]),
314
+ onKeydown: [
315
+ g(c(ve, ["stop"]), ["delete"]),
316
+ g(c(ce, ["stop"]), ["left"]),
317
+ g(c(pe, ["stop", "prevent"]), ["down"]),
318
+ g(c(fe, ["stop", "prevent"]), ["enter"]),
319
+ g(c(me, ["stop", "prevent"]), ["esc"]),
320
+ g(c(ue, ["stop", "prevent"]), ["up"]),
321
+ g(c(de, ["stop"]), ["right"])
322
+ ]
323
+ }, null, 40, ct), [
324
+ [Pe, s(l)]
325
+ ])
326
+ ])
327
+ ]),
328
+ _: 1
239
329
  }),
240
- style: I({
241
- transform: `translateY(-50%) ${e.thumbTranslate ? `translateX(-${n.value}%)` : "translateX(-50%)"}`,
242
- left: `${n.value}%`
243
- })
244
- }, [
245
- f(e.$slots, "thumb:lower", {
246
- focused: c(t) === "lower",
247
- percent: n.value,
248
- value: E.value
330
+ p(e.$slots, "chevron", {
331
+ loading: !!s(P),
332
+ shown: d.value
249
333
  }, () => [
250
- f(e.$slots, "thumb", {
251
- focused: c(t) === "lower",
252
- percent: n.value,
253
- value: E.value
254
- })
334
+ dt
255
335
  ])
256
- ], 6)
257
- ], 16, de)) : H("", !0),
258
- b("span", T(c(M), {
259
- key: "thumbhigher",
260
- ref_key: "thumbhigher",
261
- ref: v,
262
- "aria-describedby": e.ariaDescribedby,
263
- "aria-orientation": "horizontal",
264
- "aria-readonly": !e.readonly,
265
- "aria-valuemax": e.max,
266
- "aria-valuemin": e.min,
267
- "aria-valuenow": $.value,
268
- class: "bb-base-slider__thumb-container",
269
- "data-thumb": "higher",
270
- role: "slider",
271
- style: { left: `${o.value}%` },
272
- tabindex: e.disabled ? -1 : 0,
273
- onFocus: q,
274
- onKeydown: X
275
- }), [
276
- b("span", {
277
- class: F({
278
- "bb-base-slider__thumb": !0,
279
- "bb-base-slider__thumb--higher": !0,
280
- "bb-base-slider__thumb--focused": c(t) === "higher"
281
- }),
282
- style: I({
283
- transform: `translateY(-50%) ${e.thumbTranslate ? `translateX(-${o.value}%)` : "translateX(-50%)"}`,
284
- left: `${o.value}%`
285
- })
286
- }, [
287
- f(e.$slots, "thumb:higher", {
288
- focused: c(t) === "higher",
289
- percent: o.value,
290
- value: $.value
291
- }, () => [
292
- f(e.$slots, "thumb", {
293
- focused: c(t) === "higher",
294
- percent: o.value,
295
- value: $.value
296
- })
297
- ])
298
- ], 6)
299
- ], 16, me)
336
+ ]),
337
+ _: 3
338
+ }, 8, ["append:icon", "prepend:icon"]),
339
+ (b(!0), M(R, null, _e(Fe.value, (n) => (b(), M("input", Y({
340
+ key: n.value,
341
+ ref_for: !0
342
+ }, n), null, 16))), 128)),
343
+ U.value ? (b(), $(ze, {
344
+ key: 0,
345
+ to: "body"
346
+ }, [
347
+ F(s(Z), {
348
+ ref_key: "optionsContainer",
349
+ ref: a,
350
+ loading: D.value,
351
+ open: d.value,
352
+ options: Te.value,
353
+ style: Qe(ne.value),
354
+ "onOption:selected": z,
355
+ "onOption:unselected": Q
356
+ }, {
357
+ "options:prepend": r(() => [
358
+ p(e.$slots, "options:prepend")
359
+ ]),
360
+ loading: r(() => [
361
+ p(e.$slots, "loading", { query: s(l) })
362
+ ]),
363
+ "no-data": r(() => [
364
+ p(e.$slots, "no-data", { query: s(l) })
365
+ ]),
366
+ "options:append": r(() => [
367
+ p(e.$slots, "options:append")
368
+ ]),
369
+ option: r((n) => [
370
+ p(e.$slots, "option", Y({
371
+ hasErrors: e.hasErrors,
372
+ loading: D.value
373
+ }, n))
374
+ ]),
375
+ _: 3
376
+ }, 8, ["loading", "open", "options", "style"])
377
+ ])) : J("", !0)
300
378
  ]),
301
- f(e.$slots, "append")
302
- ], 16));
379
+ _: 3
380
+ }, 8, ["class"]));
303
381
  }
304
382
  });
305
383
  export {
306
- ke as default
384
+ Ht as default
307
385
  };
308
386
  //# sourceMappingURL=index36.js.map