bitboss-ui 0.2.33 → 0.2.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (650) hide show
  1. package/dist/index.js +188 -0
  2. package/dist/index.js.map +1 -0
  3. package/dist/index10.js +5 -0
  4. package/dist/index10.js.map +1 -0
  5. package/dist/index100.js +5 -0
  6. package/dist/index100.js.map +1 -0
  7. package/dist/index101.js +438 -0
  8. package/dist/index101.js.map +1 -0
  9. package/dist/index102.js +5 -0
  10. package/dist/index102.js.map +1 -0
  11. package/dist/index103.js +95 -0
  12. package/dist/index103.js.map +1 -0
  13. package/dist/index104.js +5 -0
  14. package/dist/index104.js.map +1 -0
  15. package/dist/index105.js +89 -0
  16. package/dist/index105.js.map +1 -0
  17. package/dist/index106.js +5 -0
  18. package/dist/index106.js.map +1 -0
  19. package/dist/index107.js +90 -0
  20. package/dist/index107.js.map +1 -0
  21. package/dist/index108.js +5 -0
  22. package/dist/index108.js.map +1 -0
  23. package/dist/index109.js +30 -0
  24. package/dist/index109.js.map +1 -0
  25. package/dist/index11.js +132 -0
  26. package/dist/index11.js.map +1 -0
  27. package/dist/index110.js +5 -0
  28. package/dist/index110.js.map +1 -0
  29. package/dist/index111.js +152 -0
  30. package/dist/index111.js.map +1 -0
  31. package/dist/index112.js +5 -0
  32. package/dist/index112.js.map +1 -0
  33. package/dist/index113.js +123 -0
  34. package/dist/index113.js.map +1 -0
  35. package/dist/index114.js +5 -0
  36. package/dist/index114.js.map +1 -0
  37. package/dist/index115.js +47 -0
  38. package/dist/index115.js.map +1 -0
  39. package/dist/index116.js +41 -0
  40. package/dist/index116.js.map +1 -0
  41. package/dist/index117.js +47 -0
  42. package/dist/index117.js.map +1 -0
  43. package/dist/index118.js +50 -0
  44. package/dist/index118.js.map +1 -0
  45. package/dist/index119.js +46 -0
  46. package/dist/index119.js.map +1 -0
  47. package/dist/index12.js +5 -0
  48. package/dist/index12.js.map +1 -0
  49. package/dist/index120.js +5 -0
  50. package/dist/index120.js.map +1 -0
  51. package/dist/index121.js +24 -0
  52. package/dist/index121.js.map +1 -0
  53. package/dist/index122.js +5 -0
  54. package/dist/index122.js.map +1 -0
  55. package/dist/index123.js +227 -0
  56. package/dist/index123.js.map +1 -0
  57. package/dist/index124.js +5 -0
  58. package/dist/index124.js.map +1 -0
  59. package/dist/index125.js +21 -0
  60. package/dist/index125.js.map +1 -0
  61. package/dist/index126.js +15 -0
  62. package/dist/index126.js.map +1 -0
  63. package/dist/index127.js +27 -0
  64. package/dist/index127.js.map +1 -0
  65. package/dist/index128.js +8 -0
  66. package/dist/index128.js.map +1 -0
  67. package/dist/index129.js +12 -0
  68. package/dist/index129.js.map +1 -0
  69. package/dist/index13.js +152 -0
  70. package/dist/index13.js.map +1 -0
  71. package/dist/index130.js +9 -0
  72. package/dist/index130.js.map +1 -0
  73. package/dist/index131.js +73 -0
  74. package/dist/index131.js.map +1 -0
  75. package/dist/index132.js +6 -0
  76. package/dist/index132.js.map +1 -0
  77. package/dist/index133.js +6 -0
  78. package/dist/index133.js.map +1 -0
  79. package/dist/index134.js +6 -0
  80. package/dist/index134.js.map +1 -0
  81. package/dist/index135.js +6 -0
  82. package/dist/index135.js.map +1 -0
  83. package/dist/index136.js +6 -0
  84. package/dist/index136.js.map +1 -0
  85. package/dist/index137.js +6 -0
  86. package/dist/index137.js.map +1 -0
  87. package/dist/index138.js +6 -0
  88. package/dist/index138.js.map +1 -0
  89. package/dist/index139.js +6 -0
  90. package/dist/index139.js.map +1 -0
  91. package/dist/index14.js +5 -0
  92. package/dist/index14.js.map +1 -0
  93. package/dist/index140.js +6 -0
  94. package/dist/index140.js.map +1 -0
  95. package/dist/index141.js +6 -0
  96. package/dist/index141.js.map +1 -0
  97. package/dist/index142.js +6 -0
  98. package/dist/index142.js.map +1 -0
  99. package/dist/index143.js +6 -0
  100. package/dist/index143.js.map +1 -0
  101. package/dist/index144.js +6 -0
  102. package/dist/index144.js.map +1 -0
  103. package/dist/index145.js +6 -0
  104. package/dist/index145.js.map +1 -0
  105. package/dist/index146.js +6 -0
  106. package/dist/index146.js.map +1 -0
  107. package/dist/index147.js +6 -0
  108. package/dist/index147.js.map +1 -0
  109. package/dist/index148.js +6 -0
  110. package/dist/index148.js.map +1 -0
  111. package/dist/index149.js +6 -0
  112. package/dist/index149.js.map +1 -0
  113. package/dist/index15.js +458 -0
  114. package/dist/index15.js.map +1 -0
  115. package/dist/index150.js +6 -0
  116. package/dist/index150.js.map +1 -0
  117. package/dist/index151.js +6 -0
  118. package/dist/index151.js.map +1 -0
  119. package/dist/index152.js +6 -0
  120. package/dist/index152.js.map +1 -0
  121. package/dist/index153.js +6 -0
  122. package/dist/index153.js.map +1 -0
  123. package/dist/index154.js +6 -0
  124. package/dist/index154.js.map +1 -0
  125. package/dist/index155.js +6 -0
  126. package/dist/index155.js.map +1 -0
  127. package/dist/index156.js +6 -0
  128. package/dist/index156.js.map +1 -0
  129. package/dist/index157.js +6 -0
  130. package/dist/index157.js.map +1 -0
  131. package/dist/index158.js +5 -0
  132. package/dist/index158.js.map +1 -0
  133. package/dist/index159.js +6 -0
  134. package/dist/index159.js.map +1 -0
  135. package/dist/index16.js +5 -0
  136. package/dist/index16.js.map +1 -0
  137. package/dist/index160.js +5 -0
  138. package/dist/index160.js.map +1 -0
  139. package/dist/index161.js +6 -0
  140. package/dist/index161.js.map +1 -0
  141. package/dist/index162.js +6 -0
  142. package/dist/index162.js.map +1 -0
  143. package/dist/index163.js +6 -0
  144. package/dist/index163.js.map +1 -0
  145. package/dist/index164.js +6 -0
  146. package/dist/index164.js.map +1 -0
  147. package/dist/index165.js +6 -0
  148. package/dist/index165.js.map +1 -0
  149. package/dist/index166.js +6 -0
  150. package/dist/index166.js.map +1 -0
  151. package/dist/index167.js +5 -0
  152. package/dist/index167.js.map +1 -0
  153. package/dist/index168.js +6 -0
  154. package/dist/index168.js.map +1 -0
  155. package/dist/index169.js +5 -0
  156. package/dist/index169.js.map +1 -0
  157. package/dist/index17.js +212 -0
  158. package/dist/index17.js.map +1 -0
  159. package/dist/index170.js +5 -0
  160. package/dist/index170.js.map +1 -0
  161. package/dist/index171.js +6 -0
  162. package/dist/index171.js.map +1 -0
  163. package/dist/index172.js +6 -0
  164. package/dist/index172.js.map +1 -0
  165. package/dist/index173.js +6 -0
  166. package/dist/index173.js.map +1 -0
  167. package/dist/index174.js +6 -0
  168. package/dist/index174.js.map +1 -0
  169. package/dist/index175.js +6 -0
  170. package/dist/index175.js.map +1 -0
  171. package/dist/index176.js +6 -0
  172. package/dist/index176.js.map +1 -0
  173. package/dist/index177.js +6 -0
  174. package/dist/index177.js.map +1 -0
  175. package/dist/index178.js +6 -0
  176. package/dist/index178.js.map +1 -0
  177. package/dist/index179.js +6 -0
  178. package/dist/index179.js.map +1 -0
  179. package/dist/index18.js +5 -0
  180. package/dist/index18.js.map +1 -0
  181. package/dist/index180.js +6 -0
  182. package/dist/index180.js.map +1 -0
  183. package/dist/index181.js +6 -0
  184. package/dist/index181.js.map +1 -0
  185. package/dist/index182.js +6 -0
  186. package/dist/index182.js.map +1 -0
  187. package/dist/index183.js +5 -0
  188. package/dist/index183.js.map +1 -0
  189. package/dist/index184.js +6 -0
  190. package/dist/index184.js.map +1 -0
  191. package/dist/index185.js +5 -0
  192. package/dist/index185.js.map +1 -0
  193. package/dist/index186.js +6 -0
  194. package/dist/index186.js.map +1 -0
  195. package/dist/index187.js +6 -0
  196. package/dist/index187.js.map +1 -0
  197. package/dist/index188.js +6 -0
  198. package/dist/index188.js.map +1 -0
  199. package/dist/index189.js +6 -0
  200. package/dist/index189.js.map +1 -0
  201. package/dist/index19.js +240 -0
  202. package/dist/index19.js.map +1 -0
  203. package/dist/index190.js +6 -0
  204. package/dist/index190.js.map +1 -0
  205. package/dist/index191.js +6 -0
  206. package/dist/index191.js.map +1 -0
  207. package/dist/index192.js +6 -0
  208. package/dist/index192.js.map +1 -0
  209. package/dist/index193.js +6 -0
  210. package/dist/index193.js.map +1 -0
  211. package/dist/index194.js +6 -0
  212. package/dist/index194.js.map +1 -0
  213. package/dist/index195.js +6 -0
  214. package/dist/index195.js.map +1 -0
  215. package/dist/index196.js +5 -0
  216. package/dist/index196.js.map +1 -0
  217. package/dist/index197.js +6 -0
  218. package/dist/index197.js.map +1 -0
  219. package/dist/index198.js +38 -0
  220. package/dist/index198.js.map +1 -0
  221. package/dist/index199.js +9 -0
  222. package/dist/index199.js.map +1 -0
  223. package/dist/index2.js +43 -0
  224. package/dist/index2.js.map +1 -0
  225. package/dist/index20.js +5 -0
  226. package/dist/index20.js.map +1 -0
  227. package/dist/index200.js +381 -0
  228. package/dist/index200.js.map +1 -0
  229. package/dist/index201.js +137 -0
  230. package/dist/index201.js.map +1 -0
  231. package/dist/index202.js +8 -0
  232. package/dist/index202.js.map +1 -0
  233. package/dist/index203.js +22 -0
  234. package/dist/index203.js.map +1 -0
  235. package/dist/index204.js +5 -0
  236. package/dist/index204.js.map +1 -0
  237. package/dist/index205.js +5 -0
  238. package/dist/index205.js.map +1 -0
  239. package/dist/index206.js +177 -0
  240. package/dist/index206.js.map +1 -0
  241. package/dist/index207.js +26 -0
  242. package/dist/index207.js.map +1 -0
  243. package/dist/index208.js +376 -0
  244. package/dist/index208.js.map +1 -0
  245. package/dist/index209.js +19 -0
  246. package/dist/index209.js.map +1 -0
  247. package/dist/index21.js +116 -0
  248. package/dist/index21.js.map +1 -0
  249. package/dist/index210.js +19 -0
  250. package/dist/index210.js.map +1 -0
  251. package/dist/index211.js +23 -0
  252. package/dist/index211.js.map +1 -0
  253. package/dist/index212.js +32 -0
  254. package/dist/index212.js.map +1 -0
  255. package/dist/index213.js +11 -0
  256. package/dist/index213.js.map +1 -0
  257. package/dist/index214.js +6 -0
  258. package/dist/index214.js.map +1 -0
  259. package/dist/index215.js +6 -0
  260. package/dist/index215.js.map +1 -0
  261. package/dist/index216.js +238 -0
  262. package/dist/index216.js.map +1 -0
  263. package/dist/index217.js +5 -0
  264. package/dist/index217.js.map +1 -0
  265. package/dist/index218.js +7 -0
  266. package/dist/index218.js.map +1 -0
  267. package/dist/index219.js +5 -0
  268. package/dist/index219.js.map +1 -0
  269. package/dist/index22.js +5 -0
  270. package/dist/index22.js.map +1 -0
  271. package/dist/index220.js +5 -0
  272. package/dist/index220.js.map +1 -0
  273. package/dist/index221.js +13 -0
  274. package/dist/index221.js.map +1 -0
  275. package/dist/index222.js +31 -0
  276. package/dist/index222.js.map +1 -0
  277. package/dist/index223.js +20 -0
  278. package/dist/index223.js.map +1 -0
  279. package/dist/index224.js +12 -0
  280. package/dist/index224.js.map +1 -0
  281. package/dist/index225.js +124 -0
  282. package/dist/index225.js.map +1 -0
  283. package/dist/index226.js +82 -0
  284. package/dist/index226.js.map +1 -0
  285. package/dist/index227.js +438 -0
  286. package/dist/index227.js.map +1 -0
  287. package/dist/index228.js +92 -0
  288. package/dist/index228.js.map +1 -0
  289. package/dist/index229.js +203 -0
  290. package/dist/index229.js.map +1 -0
  291. package/dist/index23.js +116 -0
  292. package/dist/index23.js.map +1 -0
  293. package/dist/index230.js +9 -0
  294. package/dist/index230.js.map +1 -0
  295. package/dist/index231.js +5 -0
  296. package/dist/index231.js.map +1 -0
  297. package/dist/index232.js +298 -0
  298. package/dist/index232.js.map +1 -0
  299. package/dist/index233.js +5 -0
  300. package/dist/index233.js.map +1 -0
  301. package/dist/index234.js +5 -0
  302. package/dist/index234.js.map +1 -0
  303. package/dist/index235.js +120 -0
  304. package/dist/index235.js.map +1 -0
  305. package/dist/index236.js +109 -0
  306. package/dist/index236.js.map +1 -0
  307. package/dist/index237.js +5 -0
  308. package/dist/index237.js.map +1 -0
  309. package/dist/index238.js +5 -0
  310. package/dist/index238.js.map +1 -0
  311. package/dist/index239.js +5 -0
  312. package/dist/index239.js.map +1 -0
  313. package/dist/index24.js +5 -0
  314. package/dist/index24.js.map +1 -0
  315. package/dist/index240.js +5 -0
  316. package/dist/index240.js.map +1 -0
  317. package/dist/index241.js +227 -0
  318. package/dist/index241.js.map +1 -0
  319. package/dist/index242.js +261 -0
  320. package/dist/index242.js.map +1 -0
  321. package/dist/index243.js +72 -0
  322. package/dist/index243.js.map +1 -0
  323. package/dist/index244.js +163 -0
  324. package/dist/index244.js.map +1 -0
  325. package/dist/index245.js +5 -0
  326. package/dist/index245.js.map +1 -0
  327. package/dist/index246.js +5 -0
  328. package/dist/index246.js.map +1 -0
  329. package/dist/index247.js +8 -0
  330. package/dist/index247.js.map +1 -0
  331. package/dist/index248.js +7 -0
  332. package/dist/index248.js.map +1 -0
  333. package/dist/index249.js +5 -0
  334. package/dist/index249.js.map +1 -0
  335. package/dist/index25.js +93 -0
  336. package/dist/index25.js.map +1 -0
  337. package/dist/index250.js +41 -0
  338. package/dist/index250.js.map +1 -0
  339. package/dist/index251.js +5 -0
  340. package/dist/index251.js.map +1 -0
  341. package/dist/index252.js +5 -0
  342. package/dist/index252.js.map +1 -0
  343. package/dist/index253.js +18 -0
  344. package/dist/index253.js.map +1 -0
  345. package/dist/index254.js +6 -0
  346. package/dist/index254.js.map +1 -0
  347. package/dist/index255.js +5 -0
  348. package/dist/index255.js.map +1 -0
  349. package/dist/index256.js +5 -0
  350. package/dist/index256.js.map +1 -0
  351. package/dist/index26.js +5 -0
  352. package/dist/index26.js.map +1 -0
  353. package/dist/index27.js +150 -0
  354. package/dist/index27.js.map +1 -0
  355. package/dist/index28.js +5 -0
  356. package/dist/index28.js.map +1 -0
  357. package/dist/index29.js +125 -0
  358. package/dist/index29.js.map +1 -0
  359. package/dist/index3.js +81 -0
  360. package/dist/index3.js.map +1 -0
  361. package/dist/index30.js +5 -0
  362. package/dist/index30.js.map +1 -0
  363. package/dist/index31.js +706 -0
  364. package/dist/index31.js.map +1 -0
  365. package/dist/index32.js +5 -0
  366. package/dist/index32.js.map +1 -0
  367. package/dist/index33.js +146 -0
  368. package/dist/index33.js.map +1 -0
  369. package/dist/index34.js +5 -0
  370. package/dist/index34.js.map +1 -0
  371. package/dist/index35.js +119 -0
  372. package/dist/index35.js.map +1 -0
  373. package/dist/index36.js +5 -0
  374. package/dist/index36.js.map +1 -0
  375. package/dist/index37.js +155 -0
  376. package/dist/index37.js.map +1 -0
  377. package/dist/index38.js +5 -0
  378. package/dist/index38.js.map +1 -0
  379. package/dist/index39.js +84 -0
  380. package/dist/index39.js.map +1 -0
  381. package/dist/index4.js +65 -0
  382. package/dist/index4.js.map +1 -0
  383. package/dist/index40.js +5 -0
  384. package/dist/index40.js.map +1 -0
  385. package/dist/index41.js +62 -0
  386. package/dist/index41.js.map +1 -0
  387. package/dist/index42.js +5 -0
  388. package/dist/index42.js.map +1 -0
  389. package/dist/index43.js +66 -0
  390. package/dist/index43.js.map +1 -0
  391. package/dist/index44.js +5 -0
  392. package/dist/index44.js.map +1 -0
  393. package/dist/index45.js +97 -0
  394. package/dist/index45.js.map +1 -0
  395. package/dist/index46.js +5 -0
  396. package/dist/index46.js.map +1 -0
  397. package/dist/index47.js +62 -0
  398. package/dist/index47.js.map +1 -0
  399. package/dist/index48.js +5 -0
  400. package/dist/index48.js.map +1 -0
  401. package/dist/index49.js +50 -0
  402. package/dist/index49.js.map +1 -0
  403. package/dist/index5.js +43 -0
  404. package/dist/index5.js.map +1 -0
  405. package/dist/index50.js +5 -0
  406. package/dist/index50.js.map +1 -0
  407. package/dist/index51.js +63 -0
  408. package/dist/index51.js.map +1 -0
  409. package/dist/index52.js +5 -0
  410. package/dist/index52.js.map +1 -0
  411. package/dist/index53.js +46 -0
  412. package/dist/index53.js.map +1 -0
  413. package/dist/index54.js +5 -0
  414. package/dist/index54.js.map +1 -0
  415. package/dist/index55.js +90 -0
  416. package/dist/index55.js.map +1 -0
  417. package/dist/index56.js +5 -0
  418. package/dist/index56.js.map +1 -0
  419. package/dist/index57.js +121 -0
  420. package/dist/index57.js.map +1 -0
  421. package/dist/index58.js +5 -0
  422. package/dist/index58.js.map +1 -0
  423. package/dist/index59.js +86 -0
  424. package/dist/index59.js.map +1 -0
  425. package/dist/index6.js +177 -0
  426. package/dist/index6.js.map +1 -0
  427. package/dist/index60.js +5 -0
  428. package/dist/index60.js.map +1 -0
  429. package/dist/index61.js +89 -0
  430. package/dist/index61.js.map +1 -0
  431. package/dist/index62.js +5 -0
  432. package/dist/index62.js.map +1 -0
  433. package/dist/index63.js +60 -0
  434. package/dist/index63.js.map +1 -0
  435. package/dist/index64.js +5 -0
  436. package/dist/index64.js.map +1 -0
  437. package/dist/index65.js +314 -0
  438. package/dist/index65.js.map +1 -0
  439. package/dist/index66.js +5 -0
  440. package/dist/index66.js.map +1 -0
  441. package/dist/index67.js +130 -0
  442. package/dist/index67.js.map +1 -0
  443. package/dist/index68.js +5 -0
  444. package/dist/index68.js.map +1 -0
  445. package/dist/index69.js +226 -0
  446. package/dist/index69.js.map +1 -0
  447. package/dist/index7.js +22 -0
  448. package/dist/index7.js.map +1 -0
  449. package/dist/index70.js +5 -0
  450. package/dist/index70.js.map +1 -0
  451. package/dist/index71.js +25 -0
  452. package/dist/index71.js.map +1 -0
  453. package/dist/index72.js +47 -0
  454. package/dist/index72.js.map +1 -0
  455. package/dist/index73.js +96 -0
  456. package/dist/index73.js.map +1 -0
  457. package/dist/index74.js +5 -0
  458. package/dist/index74.js.map +1 -0
  459. package/dist/index75.js +228 -0
  460. package/dist/index75.js.map +1 -0
  461. package/dist/index76.js +5 -0
  462. package/dist/index76.js.map +1 -0
  463. package/dist/index77.js +142 -0
  464. package/dist/index77.js.map +1 -0
  465. package/dist/index78.js +5 -0
  466. package/dist/index78.js.map +1 -0
  467. package/dist/index79.js +214 -0
  468. package/dist/index79.js.map +1 -0
  469. package/dist/index8.js +197 -0
  470. package/dist/index8.js.map +1 -0
  471. package/dist/index80.js +5 -0
  472. package/dist/index80.js.map +1 -0
  473. package/dist/index81.js +36 -0
  474. package/dist/index81.js.map +1 -0
  475. package/dist/index82.js +5 -0
  476. package/dist/index82.js.map +1 -0
  477. package/dist/index83.js +84 -0
  478. package/dist/index83.js.map +1 -0
  479. package/dist/index84.js +5 -0
  480. package/dist/index84.js.map +1 -0
  481. package/dist/index85.js +121 -0
  482. package/dist/index85.js.map +1 -0
  483. package/dist/index86.js +5 -0
  484. package/dist/index86.js.map +1 -0
  485. package/dist/index87.js +84 -0
  486. package/dist/index87.js.map +1 -0
  487. package/dist/index88.js +5 -0
  488. package/dist/index88.js.map +1 -0
  489. package/dist/index89.js +31 -0
  490. package/dist/index89.js.map +1 -0
  491. package/dist/index9.js +66 -0
  492. package/dist/index9.js.map +1 -0
  493. package/dist/index90.js +5 -0
  494. package/dist/index90.js.map +1 -0
  495. package/dist/index91.js +160 -0
  496. package/dist/index91.js.map +1 -0
  497. package/dist/index92.js +5 -0
  498. package/dist/index92.js.map +1 -0
  499. package/dist/index93.js +87 -0
  500. package/dist/index93.js.map +1 -0
  501. package/dist/index94.js +5 -0
  502. package/dist/index94.js.map +1 -0
  503. package/dist/index95.js +90 -0
  504. package/dist/index95.js.map +1 -0
  505. package/dist/index96.js +5 -0
  506. package/dist/index96.js.map +1 -0
  507. package/dist/index97.js +120 -0
  508. package/dist/index97.js.map +1 -0
  509. package/dist/index98.js +5 -0
  510. package/dist/index98.js.map +1 -0
  511. package/dist/index99.js +209 -0
  512. package/dist/index99.js.map +1 -0
  513. package/dist/{components → src/components}/BaseButton/BaseButton.vue.d.ts +2 -2
  514. package/dist/{components → src/components}/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +7 -7
  515. package/dist/{components → src/components}/BaseDialog/BaseDialog.vue.d.ts +2 -2
  516. package/dist/{components → src/components}/BaseRadioGroup/BaseRadioGroup.vue.d.ts +7 -7
  517. package/dist/{components → src/components}/BaseSelect/BaseSelect.vue.d.ts +16 -16
  518. package/dist/{components → src/components}/BbAccordion/BbAccordion.vue.d.ts +1 -1
  519. package/dist/{components → src/components}/BbAlert/BbAlert.vue.d.ts +1 -1
  520. package/dist/{components → src/components}/BbAvatar/BbAvatar.vue.d.ts +1 -1
  521. package/dist/{components → src/components}/BbBadge/BbBadge.vue.d.ts +1 -1
  522. package/dist/{components → src/components}/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -1
  523. package/dist/{components → src/components}/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +7 -7
  524. package/dist/{components → src/components}/BbChip/BbChip.vue.d.ts +1 -1
  525. package/dist/{components → src/components}/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
  526. package/dist/{components → src/components}/BbDropdown/BbDropdown.vue.d.ts +2 -2
  527. package/dist/{components → src/components}/BbDropzone/BbDropzone.vue.d.ts +1 -1
  528. package/dist/{components → src/components}/BbIcon/BbIcon.vue.d.ts +1 -1
  529. package/dist/{components → src/components}/BbIntersection/BbIntersection.vue.d.ts +1 -1
  530. package/dist/{components → src/components}/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  531. package/dist/{components → src/components}/BbPagination/BbPagination.vue.d.ts +1 -1
  532. package/dist/{components → src/components}/BbPopover/BbPopover.vue.d.ts +2 -2
  533. package/dist/{components → src/components}/BbRadioGroup/BbRadioGroup.vue.d.ts +7 -7
  534. package/dist/{components → src/components}/BbRatio/BbRatio.vue.d.ts +1 -1
  535. package/dist/{components → src/components}/BbSelect/BbSelect.vue.d.ts +16 -16
  536. package/dist/{components → src/components}/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -3
  537. package/dist/{components → src/components}/BbSpinner/BbSpinner.vue.d.ts +1 -1
  538. package/dist/{components → src/components}/BbTab/BbTab.vue.d.ts +6 -6
  539. package/dist/{components → src/components}/BbTable/BbTable.vue.d.ts +1 -1
  540. package/dist/{components → src/components}/BbTable/types.d.ts +1 -1
  541. package/dist/{components → src/components}/BbTooltip/BbTooltip.vue.d.ts +2 -2
  542. package/dist/{composables → src/composables}/useConfirm.d.ts +1 -1
  543. package/dist/{composables → src/composables}/useOptions.d.ts +1 -1
  544. package/dist/{composables → src/composables}/useToast.d.ts +1 -1
  545. package/dist/{composables → src/composables}/useWizard.d.ts +20 -32
  546. package/dist/style.css +1 -0
  547. package/package.json +3 -3
  548. package/dist/components/BbStep/BbStep.vue.d.ts +0 -143
  549. package/dist/components/HDAddressSelect.vue.d.ts +0 -89
  550. package/dist/{components → src/components}/BaseCheckbox/BaseCheckbox.vue.d.ts +0 -0
  551. package/dist/{components → src/components}/BaseDatePicker/BaseDatePicker.vue.d.ts +1 -1
  552. package/dist/{components → src/components}/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +1 -1
  553. package/dist/{components → src/components}/BaseInputContainer/BaseInputContainer.vue.d.ts +0 -0
  554. package/dist/{components → src/components}/BaseNumberInput/BaseNumberInput.vue.d.ts +0 -0
  555. package/dist/{components → src/components}/BaseRadio/BaseRadio.vue.d.ts +0 -0
  556. package/dist/{components → src/components}/BaseRating/BaseRating.vue.d.ts +1 -1
  557. package/dist/{components → src/components}/BaseSlider/BaseSlider.vue.d.ts +2 -2
  558. package/dist/{components → src/components}/BaseSwitch/BaseSwitch.vue.d.ts +0 -0
  559. package/dist/{components → src/components}/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +6 -6
  560. package/dist/{components → src/components}/BaseTag/BaseTag.vue.d.ts +1 -1
  561. package/dist/{components → src/components}/BaseTextInput/BaseTextInput.vue.d.ts +0 -0
  562. package/dist/{components → src/components}/BaseTextarea/BaseTextarea.vue.d.ts +0 -0
  563. package/dist/{components → src/components}/BbButton/BbButton.vue.d.ts +0 -0
  564. package/dist/{components → src/components}/BbCheckbox/BbCheckbox.vue.d.ts +0 -0
  565. package/dist/{components → src/components}/BbConfirm/BbConfirm.vue.d.ts +0 -0
  566. package/dist/{components → src/components}/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
  567. package/dist/{components → src/components}/BbDialog/BbDialog.vue.d.ts +0 -0
  568. package/dist/{components → src/components}/BbDropdownButton/BbDropdownButton.vue.d.ts +0 -0
  569. package/dist/{components → src/components}/BbHover/BbHover.vue.d.ts +0 -0
  570. package/dist/{components → src/components}/BbNumberInput/BbNumberInput.vue.d.ts +0 -0
  571. package/dist/{components → src/components}/BbProgress/BbProgress.vue.d.ts +0 -0
  572. package/dist/{components → src/components}/BbRadio/BbRadio.vue.d.ts +0 -0
  573. package/dist/{components → src/components}/BbRating/BbRating.vue.d.ts +1 -1
  574. package/dist/{components → src/components}/BbSlider/BbSlider.vue.d.ts +2 -2
  575. package/dist/{components → src/components}/BbSwitch/BbSwitch.vue.d.ts +0 -0
  576. package/dist/{components → src/components}/BbSwitchGroup/BbSwitchGroup.vue.d.ts +6 -6
  577. package/dist/{components → src/components}/BbTag/BbTag.vue.d.ts +1 -1
  578. /package/dist/{components → src/components}/BbTextInput/BbTextInput.vue.d.ts +0 -0
  579. /package/dist/{components → src/components}/BbTextarea/BbTextarea.vue.d.ts +0 -0
  580. /package/dist/{components → src/components}/BbToast/BbToast.vue.d.ts +0 -0
  581. /package/dist/{components → src/components}/BbToast/BbToastMessage.vue.d.ts +0 -0
  582. /package/dist/{components → src/components}/BbTree/BbTree.vue.d.ts +0 -0
  583. /package/dist/{composables → src/composables}/useBroadcastChannelInstance.d.ts +0 -0
  584. /package/dist/{composables → src/composables}/useCountdown.d.ts +0 -0
  585. /package/dist/{composables → src/composables}/useId.d.ts +0 -0
  586. /package/dist/{composables → src/composables}/useItemText.d.ts +0 -0
  587. /package/dist/{composables → src/composables}/useItemValue.d.ts +0 -0
  588. /package/dist/{composables → src/composables}/useRoute.d.ts +0 -0
  589. /package/dist/{composables → src/composables}/useRouter.d.ts +0 -0
  590. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  591. /package/dist/{types → src/types}/Classes.d.ts +0 -0
  592. /package/dist/{types → src/types}/CommonProps.d.ts +0 -0
  593. /package/dist/{types → src/types}/ExtractGenericFromComputedRef.d.ts +0 -0
  594. /package/dist/{types → src/types}/ExtractGenericFromRef.d.ts +0 -0
  595. /package/dist/{types → src/types}/NestedKeyOf.d.ts +0 -0
  596. /package/dist/{types → src/types}/Simplify.d.ts +0 -0
  597. /package/dist/{types → src/types}/VoidHtmlElements.d.ts +0 -0
  598. /package/dist/{utilities → src/utilities}/functions/add.d.ts +0 -0
  599. /package/dist/{utilities → src/utilities}/functions/booleanishToBoolean.d.ts +0 -0
  600. /package/dist/{utilities → src/utilities}/functions/capitalize.d.ts +0 -0
  601. /package/dist/{utilities → src/utilities}/functions/clamp.d.ts +0 -0
  602. /package/dist/{utilities → src/utilities}/functions/cloneDeep.d.ts +0 -0
  603. /package/dist/{utilities → src/utilities}/functions/curry.d.ts +0 -0
  604. /package/dist/{utilities → src/utilities}/functions/debounce.d.ts +0 -0
  605. /package/dist/{utilities → src/utilities}/functions/deburr.d.ts +0 -0
  606. /package/dist/{utilities → src/utilities}/functions/drop.d.ts +0 -0
  607. /package/dist/{utilities → src/utilities}/functions/empty.d.ts +0 -0
  608. /package/dist/{utilities → src/utilities}/functions/findInTree.d.ts +0 -0
  609. /package/dist/{utilities → src/utilities}/functions/findRight.d.ts +0 -0
  610. /package/dist/{utilities → src/utilities}/functions/findRightIndex.d.ts +0 -0
  611. /package/dist/{utilities → src/utilities}/functions/flattenTree.d.ts +0 -0
  612. /package/dist/{utilities → src/utilities}/functions/flow.d.ts +0 -0
  613. /package/dist/{utilities → src/utilities}/functions/get.d.ts +0 -0
  614. /package/dist/{utilities → src/utilities}/functions/groupBy.d.ts +0 -0
  615. /package/dist/{utilities → src/utilities}/functions/gt.d.ts +0 -0
  616. /package/dist/{utilities → src/utilities}/functions/head.d.ts +0 -0
  617. /package/dist/{utilities → src/utilities}/functions/identity.d.ts +0 -0
  618. /package/dist/{utilities → src/utilities}/functions/includes.d.ts +0 -0
  619. /package/dist/{utilities → src/utilities}/functions/indexBy.d.ts +0 -0
  620. /package/dist/{utilities → src/utilities}/functions/initial.d.ts +0 -0
  621. /package/dist/{utilities → src/utilities}/functions/isCssColor.d.ts +0 -0
  622. /package/dist/{utilities → src/utilities}/functions/isNil.d.ts +0 -0
  623. /package/dist/{utilities → src/utilities}/functions/isNotNil.d.ts +0 -0
  624. /package/dist/{utilities → src/utilities}/functions/last.d.ts +0 -0
  625. /package/dist/{utilities → src/utilities}/functions/lt.d.ts +0 -0
  626. /package/dist/{utilities → src/utilities}/functions/makeUrl.d.ts +0 -0
  627. /package/dist/{utilities → src/utilities}/functions/mapKeys.d.ts +0 -0
  628. /package/dist/{utilities → src/utilities}/functions/mapValues.d.ts +0 -0
  629. /package/dist/{utilities → src/utilities}/functions/matchesPropertyInsensitive.d.ts +0 -0
  630. /package/dist/{utilities → src/utilities}/functions/mean.d.ts +0 -0
  631. /package/dist/{utilities → src/utilities}/functions/merge.d.ts +0 -0
  632. /package/dist/{utilities → src/utilities}/functions/millisecondsTo.d.ts +0 -0
  633. /package/dist/{utilities → src/utilities}/functions/negate.d.ts +0 -0
  634. /package/dist/{utilities → src/utilities}/functions/noop.d.ts +0 -0
  635. /package/dist/{utilities → src/utilities}/functions/omit.d.ts +0 -0
  636. /package/dist/{utilities → src/utilities}/functions/overEvery.d.ts +0 -0
  637. /package/dist/{utilities → src/utilities}/functions/percentage.d.ts +0 -0
  638. /package/dist/{utilities → src/utilities}/functions/pick.d.ts +0 -0
  639. /package/dist/{utilities → src/utilities}/functions/pickBy.d.ts +0 -0
  640. /package/dist/{utilities → src/utilities}/functions/replace.d.ts +0 -0
  641. /package/dist/{utilities → src/utilities}/functions/replaceInTree.d.ts +0 -0
  642. /package/dist/{utilities → src/utilities}/functions/retry.d.ts +0 -0
  643. /package/dist/{utilities → src/utilities}/functions/roundToTheNearest.d.ts +0 -0
  644. /package/dist/{utilities → src/utilities}/functions/set.d.ts +0 -0
  645. /package/dist/{utilities → src/utilities}/functions/snakeCase.d.ts +0 -0
  646. /package/dist/{utilities → src/utilities}/functions/throttle.d.ts +0 -0
  647. /package/dist/{utilities → src/utilities}/functions/tryTo.d.ts +0 -0
  648. /package/dist/{utilities → src/utilities}/functions/wait.d.ts +0 -0
  649. /package/dist/{utilities → src/utilities}/functions/waitFor.d.ts +0 -0
  650. /package/dist/{utilities → src/utilities}/functions/when.d.ts +0 -0
@@ -0,0 +1,47 @@
1
+ import { defineComponent as m, getCurrentInstance as d, inject as x, computed as l, ref as y, watchEffect as _, openBlock as b, createElementBlock as h, mergeProps as w } from "vue";
2
+ import { isCssColor as z } from "./index217.js";
3
+ const g = ["innerHTML"], $ = /* @__PURE__ */ m({
4
+ __name: "BbIcon",
5
+ props: {
6
+ size: { default: "md" },
7
+ color: {},
8
+ type: {}
9
+ },
10
+ setup(p) {
11
+ var i, r;
12
+ const e = p;
13
+ let t;
14
+ !!((r = (i = d()) == null ? void 0 : i.proxy) != null && r.$nuxt) ? process.client && (t = useNuxtApp().$icons) : t = x("icons");
15
+ const u = {
16
+ xs: 12,
17
+ sm: 16,
18
+ md: 24,
19
+ lg: 28,
20
+ xl: 36,
21
+ xxl: 40
22
+ }, f = l(() => {
23
+ const s = {
24
+ "bb-icon": !0
25
+ };
26
+ let c = { width: l(() => {
27
+ let o;
28
+ return typeof e.size == "string" ? o = u[e.size] ?? parseInt(e.size, 10) : typeof e.size == "number" ? o = e.size : o = 24, o + "px";
29
+ }).value };
30
+ return e.color && (z(e.color) ? c.color = e.color : s[`bb-icon-${e.color}`] = !0), {
31
+ class: s,
32
+ style: c
33
+ };
34
+ }), n = y(null);
35
+ return _(async () => {
36
+ if (t) {
37
+ if (typeof t[e.type] > "u")
38
+ throw new Error(`Icon "${e.type}" does not exist.`);
39
+ n.value = await t[e.type]();
40
+ }
41
+ }), (s, a) => (b(), h("i", w(f.value, { innerHTML: n.value }), null, 16, g));
42
+ }
43
+ });
44
+ export {
45
+ $ as default
46
+ };
47
+ //# sourceMappingURL=index117.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index117.js","sources":["../src/components/BbIcon/BbIcon.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"innerHTML\"]\n\nimport { computed, getCurrentInstance, inject, ref, watchEffect } from 'vue';\nimport { isCssColor } from '@/utilities/functions/isCssColor';\nimport type { Size as S } from '@/types/CommonProps';\n\nexport type Size = {\n\txs: number;\n\tsm: number;\n\tmd: number;\n\tlg: number;\n\txl: number;\n\txxl: number;\n};\n\nexport type BbIconProps = S<Size> & {\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\t/**\n\t * Name of the icon to use\n\t */\n\ttype: string;\n};\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbIcon',\n props: {\n size: { default: 'md' },\n color: {},\n type: {}\n },\n setup(__props: any) {\n\nconst props = __props;\nlet icons: Record<string, () => Promise<string>> | undefined;\n// @ts-ignore\nconst isNuxt = !!getCurrentInstance()?.proxy?.$nuxt;\n\nif (isNuxt) {\n\t// @ts-ignore\n\tif (process.client) {\n\t\t// @ts-ignore\n\t\ticons = useNuxtApp()[`$icons`] as typeof icons;\n\t}\n} else {\n\ticons = inject('icons');\n}\n\nconst sizeMap: Size = {\n\txs: 12,\n\tsm: 16,\n\tmd: 24,\n\tlg: 28,\n\txl: 36,\n\txxl: 40,\n};\n\nconst iconAttributes = computed(() => {\n\tconst classes: any = {\n\t\t'bb-icon': true,\n\t};\n\tconst width = computed(() => {\n\t\tlet dimension: number;\n\t\tif (typeof props.size === 'string') {\n\t\t\tdimension = sizeMap[props.size as keyof Size] ?? parseInt(props.size, 10);\n\t\t} else if (typeof props.size === 'number') {\n\t\t\tdimension = props.size;\n\t\t} else {\n\t\t\tdimension = 24;\n\t\t}\n\t\treturn dimension + `px`;\n\t});\n\tlet style: { [key: string]: any } = { width: width.value };\n\n\tif (props.color) {\n\t\tif (isCssColor(props.color)) {\n\t\t\tstyle.color = props.color;\n\t\t} else {\n\t\t\tclasses[`bb-icon-${props.color}`] = true;\n\t\t}\n\t}\n\treturn {\n\t\tclass: classes,\n\t\tstyle,\n\t};\n});\n\nconst icon = ref<string | null>(null);\n\nwatchEffect(async () => {\n\tif (icons) {\n\t\tif (typeof icons[props.type] === 'undefined')\n\t\t\tthrow new Error(`Icon \"${props.type}\" does not exist.`);\n\t\ticon.value = await icons[props.type]();\n\t}\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"i\", _mergeProps(iconAttributes.value, { innerHTML: icon.value }), null, 16, _hoisted_1))\n}\n}\n\n})"],"names":["_hoisted_1","_sfc_main","_defineComponent","__props","props","icons","_b","_a","getCurrentInstance","inject","sizeMap","iconAttributes","computed","classes","style","dimension","isCssColor","icon","ref","watchEffect","_ctx","_cache","_openBlock","_createElementBlock","_mergeProps"],"mappings":";;AAGA,MAAMA,IAAa,CAAC,WAAW,GA4BHC,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,MAAM,EAAE,SAAS,KAAK;AAAA,IACtB,OAAO,CAAC;AAAA,IACR,MAAM,CAAC;AAAA,EACT;AAAA,EACA,MAAMC,GAAc;;AAEtB,UAAMC,IAAQD;AACV,QAAAE;AAIJ,IAFe,CAAC,GAACC,KAAAC,IAAAC,EAAA,MAAA,gBAAAD,EAAsB,UAAtB,QAAAD,EAA6B,SAIzC,QAAQ,WAEHD,IAAA,WAAA,EAAa,UAGtBA,IAAQI,EAAO,OAAO;AAGvB,UAAMC,IAAgB;AAAA,MACrB,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,KAAK;AAAA,IAAA,GAGAC,IAAiBC,EAAS,MAAM;AACrC,YAAMC,IAAe;AAAA,QACpB,WAAW;AAAA,MAAA;AAaZ,UAAIC,IAAgC,EAAE,OAXxBF,EAAS,MAAM;AACxB,YAAAG;AACA,eAAA,OAAOX,EAAM,QAAS,WACzBW,IAAYL,EAAQN,EAAM,IAAkB,KAAK,SAASA,EAAM,MAAM,EAAE,IAC9D,OAAOA,EAAM,QAAS,WAChCW,IAAYX,EAAM,OAENW,IAAA,IAENA,IAAY;AAAA,MAAA,CACnB,EACkD,MAAM;AAEzD,aAAIX,EAAM,UACLY,EAAWZ,EAAM,KAAK,IACzBU,EAAM,QAAQV,EAAM,QAEpBS,EAAQ,WAAWT,EAAM,KAAK,EAAE,IAAI,KAG/B;AAAA,QACN,OAAOS;AAAA,QACP,OAAAC;AAAA,MAAA;AAAA,IACD,CACA,GAEKG,IAAOC,EAAmB,IAAI;AAEpC,WAAAC,EAAY,YAAY;AACvB,UAAId,GAAO;AACV,YAAI,OAAOA,EAAMD,EAAM,IAAI,IAAM;AAChC,gBAAM,IAAI,MAAM,SAASA,EAAM,IAAI,mBAAmB;AACvD,QAAAa,EAAK,QAAQ,MAAMZ,EAAMD,EAAM,IAAI,EAAE;AAAA,MACtC;AAAA,IAAA,CACA,GAEM,CAACgB,GAAUC,OACRC,EAAW,GAAGC,EAAoB,KAAKC,EAAYb,EAAe,OAAO,EAAE,WAAWM,EAAK,MAAO,CAAA,GAAG,MAAM,IAAIjB,CAAU;AAAA,EAEnI;AAEA,CAAC;"}
@@ -0,0 +1,50 @@
1
+ import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
2
+ import { throttle as g } from "./index197.js";
3
+ const O = /* @__PURE__ */ v({
4
+ __name: "BbSmoothHeight",
5
+ props: {
6
+ mutationOptions: { default: () => ({ childList: !0 }) },
7
+ resizeOptions: {},
8
+ strategy: { default: "resize" },
9
+ tag: { default: "div" },
10
+ transitionDuration: { default: 200 }
11
+ },
12
+ setup(c) {
13
+ const n = c, s = r(null), e = r(null), t = r(null);
14
+ globalThis.ResizeObserver && (p(() => {
15
+ n.strategy === "resize" ? e.value && (t.value = new ResizeObserver(a), t.value.observe(e.value, n.resizeOptions)) : n.strategy === "mutation" && e.value && (t.value = new MutationObserver(a), t.value.observe(e.value, n.mutationOptions)), a();
16
+ }), h(() => {
17
+ t.value && t.value.disconnect();
18
+ }));
19
+ const a = g(() => {
20
+ if (s.value && e.value) {
21
+ const o = e.value.scrollHeight + 2;
22
+ s.value.style.height = "0px", s.value.style.height = `${o}px`;
23
+ }
24
+ }, 200);
25
+ return (o, y) => (i(), l(u(o.tag), {
26
+ ref_key: "container",
27
+ ref: s,
28
+ class: "bb-smooth-height",
29
+ style: m({ "transition-duration": n.transitionDuration / 1e3 + "s" })
30
+ }, {
31
+ default: f(() => [
32
+ (i(), l(u(o.tag), {
33
+ ref_key: "content",
34
+ ref: e,
35
+ class: "content"
36
+ }, {
37
+ default: f(() => [
38
+ d(o.$slots, "default")
39
+ ]),
40
+ _: 3
41
+ }, 512))
42
+ ]),
43
+ _: 3
44
+ }, 8, ["style"]));
45
+ }
46
+ });
47
+ export {
48
+ O as default
49
+ };
50
+ //# sourceMappingURL=index118.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index118.js","sources":["../src/components/BbSmoothHeight/BbSmoothHeight.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, normalizeStyle as _normalizeStyle } from \"vue\"\n\nimport type { CommonProps, NonVoidElementTag } from '@/types/CommonProps';\nimport { throttle } from '@/utilities/functions/throttle';\nimport { ref, onMounted, onBeforeUnmount } from 'vue';\n\nexport type BbSmoothHeightProps = {\n\t/**\n\t * Options to pass to the MutationObserver\n\t */\n\tmutationOptions?: MutationObserverInit;\n\t/**\n\t * Options to pass to the ResizeObserver\n\t */\n\tresizeOptions?: ResizeObserverOptions;\n\t/**\n\t * Define which strategy to use. By default is used 'resize' which means the\n\t * component will update on resizing.\n\t * You can also define 'mutation' to use a MutationObserver\n\t */\n\tstrategy?: 'resize' | 'mutation';\n} & NonVoidElementTag &\n\tPick<CommonProps, 'transitionDuration'>;\n\nexport type BbSmoothHeightSlots = {\n\tdefault?: (props: {}) => any;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSmoothHeight',\n props: {\n mutationOptions: { default: () => ({ childList: true }) },\n resizeOptions: {},\n strategy: { default: 'resize' },\n tag: { default: 'div' },\n transitionDuration: { default: 200 }\n },\n setup(__props: any) {\n\nconst props = __props;\n\n\n\nconst container = ref<HTMLElement | null>(null);\nconst content = ref<HTMLElement | null>(null);\nconst observer = ref<ResizeObserver | MutationObserver | null>(null);\n\nif (globalThis.ResizeObserver) {\n\tonMounted(() => {\n\t\tif (props.strategy === 'resize') {\n\t\t\tif (content.value) {\n\t\t\t\tobserver.value = new ResizeObserver(onContentGrow);\n\t\t\t\tobserver.value.observe(content.value, props.resizeOptions);\n\t\t\t}\n\t\t} else if (props.strategy === 'mutation') {\n\t\t\tif (content.value) {\n\t\t\t\tobserver.value = new MutationObserver(onContentGrow);\n\t\t\t\tobserver.value.observe(content.value, props.mutationOptions);\n\t\t\t}\n\t\t}\n\t\tonContentGrow();\n\t});\n\tonBeforeUnmount(() => {\n\t\tif (observer.value) {\n\t\t\tobserver.value.disconnect();\n\t\t}\n\t});\n}\n\n/**\n * This is called when content changes.\n * It could be called numerous times so throttle every 200ms\n */\nconst onContentGrow = throttle(() => {\n\tif (container.value && content.value) {\n\t\tconst contentHeight = content.value.scrollHeight + 2;\n\t\tcontainer.value.style.height = '0px';\n\t\tcontainer.value.style.height = `${contentHeight}px`;\n\t}\n}, 200);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.tag), {\n ref_key: \"container\",\n ref: container,\n class: \"bb-smooth-height\",\n style: _normalizeStyle({ 'transition-duration': props.transitionDuration / 1000 + 's' })\n }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.tag), {\n ref_key: \"content\",\n ref: content,\n class: \"content\"\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 512))\n ]),\n _: 3\n }, 8, [\"style\"]))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","props","container","ref","content","observer","onMounted","onContentGrow","onBeforeUnmount","throttle","contentHeight","_ctx","_cache","_openBlock","_createBlock","_resolveDynamicComponent","_normalizeStyle","_withCtx","_renderSlot"],"mappings":";;AA8BA,MAA4BA,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,iBAAiB,EAAE,SAAS,OAAO,EAAE,WAAW,GAAQ,GAAA;AAAA,IACxD,eAAe,CAAC;AAAA,IAChB,UAAU,EAAE,SAAS,SAAS;AAAA,IAC9B,KAAK,EAAE,SAAS,MAAM;AAAA,IACtB,oBAAoB,EAAE,SAAS,IAAI;AAAA,EACrC;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD,GAIRE,IAAYC,EAAwB,IAAI,GACxCC,IAAUD,EAAwB,IAAI,GACtCE,IAAWF,EAA8C,IAAI;AAEnE,IAAI,WAAW,mBACdG,EAAU,MAAM;AACX,MAAAL,EAAM,aAAa,WAClBG,EAAQ,UACFC,EAAA,QAAQ,IAAI,eAAeE,CAAa,GACjDF,EAAS,MAAM,QAAQD,EAAQ,OAAOH,EAAM,aAAa,KAEhDA,EAAM,aAAa,cACzBG,EAAQ,UACFC,EAAA,QAAQ,IAAI,iBAAiBE,CAAa,GACnDF,EAAS,MAAM,QAAQD,EAAQ,OAAOH,EAAM,eAAe,IAG/CM;IAAA,CACd,GACDC,EAAgB,MAAM;AACrB,MAAIH,EAAS,SACZA,EAAS,MAAM;IAChB,CACA;AAOI,UAAAE,IAAgBE,EAAS,MAAM;AAChC,UAAAP,EAAU,SAASE,EAAQ,OAAO;AAC/B,cAAAM,IAAgBN,EAAQ,MAAM,eAAe;AACzC,QAAAF,EAAA,MAAM,MAAM,SAAS,OAC/BA,EAAU,MAAM,MAAM,SAAS,GAAGQ,CAAa;AAAA,MAChD;AAAA,OACE,GAAG;AAEC,WAAA,CAACC,GAAUC,OACRC,EAAc,GAAAC,EAAaC,EAAyBJ,EAAK,GAAG,GAAG;AAAA,MACrE,SAAS;AAAA,MACT,KAAKT;AAAA,MACL,OAAO;AAAA,MACP,OAAOc,EAAgB,EAAE,uBAAuBf,EAAM,qBAAqB,MAAO,KAAK;AAAA,IAAA,GACtF;AAAA,MACD,SAASgB,EAAS,MAAM;AAAA,SACrBJ,EAAc,GAAAC,EAAaC,EAAyBJ,EAAK,GAAG,GAAG;AAAA,UAC9D,SAAS;AAAA,UACT,KAAKP;AAAA,UACL,OAAO;AAAA,QAAA,GACN;AAAA,UACD,SAASa,EAAS,MAAM;AAAA,YACtBC,EAAYP,EAAK,QAAQ,SAAS;AAAA,UAAA,CACnC;AAAA,UACD,GAAG;AAAA,WACF,GAAG;AAAA,MAAA,CACP;AAAA,MACD,GAAG;AAAA,IAAA,GACF,GAAG,CAAC,OAAO,CAAC;AAAA,EAEjB;AAEA,CAAC;"}
@@ -0,0 +1,46 @@
1
+ import { defineComponent as m, computed as r, openBlock as a, createElementBlock as d, normalizeProps as u, guardReactiveProps as z, createElementVNode as c } from "vue";
2
+ import { isCssColor as f } from "./index217.js";
3
+ const _ = /* @__PURE__ */ c("svg", {
4
+ viewBox: "0 0 512 512",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ }, [
7
+ /* @__PURE__ */ c("path", {
8
+ d: "M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z",
9
+ fill: "currentColor"
10
+ })
11
+ ], -1), x = [
12
+ _
13
+ ], b = /* @__PURE__ */ m({
14
+ __name: "BbSpinner",
15
+ props: {
16
+ color: {},
17
+ size: { default: "md" }
18
+ },
19
+ setup(n) {
20
+ const e = n, i = {
21
+ xs: 12,
22
+ sm: 16,
23
+ md: 24,
24
+ lg: 28,
25
+ xl: 36,
26
+ xxl: 40
27
+ }, l = r(() => {
28
+ const s = {
29
+ "bb-spinner": !0
30
+ };
31
+ let t = { width: r(() => {
32
+ let o;
33
+ return typeof e.size == "string" ? o = i[e.size] ?? parseInt(e.size, 10) : o = e.size, o + "px";
34
+ }).value };
35
+ return e.color && (f(e.color) ? t.color = e.color : s[`bb-spinner--${e.color}`] = !0), {
36
+ class: s,
37
+ style: t
38
+ };
39
+ });
40
+ return (s, p) => (a(), d("span", u(z(l.value)), x, 16));
41
+ }
42
+ });
43
+ export {
44
+ b as default
45
+ };
46
+ //# sourceMappingURL=index119.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index119.js","sources":["../src/components/BbSpinner/BbSpinner.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"svg\", {\n viewBox: \"0 0 512 512\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z\",\n fill: \"currentColor\"\n })\n], -1)\nconst _hoisted_2 = [\n _hoisted_1\n]\n\nimport { computed } from 'vue';\nimport { isCssColor } from '@/utilities/functions/isCssColor';\nimport type { Classes } from '@/types/Classes';\nimport type { CommonProps, Size as S } from '@/types/CommonProps';\nimport type { Size as IconSize } from '../BbIcon/BbIcon.vue';\n\nexport type Size = IconSize;\nexport type BbSpinnerProps = Pick<CommonProps, 'color'> & S<IconSize>;\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BbSpinner',\n props: {\n color: {},\n size: { default: 'md' }\n },\n setup(__props: any) {\n\nconst props = __props;\n\nconst sizeMap: IconSize = {\n\txs: 12,\n\tsm: 16,\n\tmd: 24,\n\tlg: 28,\n\txl: 36,\n\txxl: 40,\n};\n\nconst iconAttributes = computed(() => {\n\tconst classes: Classes = {\n\t\t'bb-spinner': true,\n\t};\n\tconst width = computed(() => {\n\t\tlet dimension: number;\n\t\tif (typeof props.size === 'string') {\n\t\t\tdimension =\n\t\t\t\tsizeMap[props.size as keyof IconSize] ?? parseInt(props.size, 10);\n\t\t} else {\n\t\t\tdimension = props.size;\n\t\t}\n\t\treturn dimension + `px`;\n\t});\n\tlet style: { [key: string]: any } = { width: width.value };\n\n\tif (props.color) {\n\t\tif (isCssColor(props.color)) {\n\t\t\tstyle.color = props.color;\n\t\t} else {\n\t\t\tclasses[`bb-spinner--${props.color}`] = true;\n\t\t}\n\t}\n\treturn {\n\t\tclass: classes,\n\t\tstyle,\n\t};\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"span\", _normalizeProps(_guardReactiveProps(iconAttributes.value)), _hoisted_2, 16))\n}\n}\n\n})"],"names":["_hoisted_1","_hoisted_2","_sfc_main","_defineComponent","__props","props","sizeMap","iconAttributes","computed","classes","style","dimension","isCssColor","_ctx","_cache","_openBlock","_createElementBlock","_normalizeProps","_guardReactiveProps"],"mappings":";;AAGA,MAAMA,sBAA8C,OAAO;AAAA,EACzD,SAAS;AAAA,EACT,OAAO;AACT,GAAG;AAAA,oBACgC,QAAQ;AAAA,IACvC,GAAG;AAAA,IACH,MAAM;AAAA,EAAA,CACP;AACH,GAAG,EAAE,GACCC,IAAa;AAAA,EACjBD;AACF,GAY4BE,IAAiBC,gBAAAA,EAAA;AAAA,EAC3C,QAAQ;AAAA,EACR,OAAO;AAAA,IACL,OAAO,CAAC;AAAA,IACR,MAAM,EAAE,SAAS,KAAK;AAAA,EACxB;AAAA,EACA,MAAMC,GAAc;AAEtB,UAAMC,IAAQD,GAERE,IAAoB;AAAA,MACzB,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,KAAK;AAAA,IAAA,GAGAC,IAAiBC,EAAS,MAAM;AACrC,YAAMC,IAAmB;AAAA,QACxB,cAAc;AAAA,MAAA;AAYf,UAAIC,IAAgC,EAAE,OAVxBF,EAAS,MAAM;AACxB,YAAAG;AACA,eAAA,OAAON,EAAM,QAAS,WACzBM,IACCL,EAAQD,EAAM,IAAsB,KAAK,SAASA,EAAM,MAAM,EAAE,IAEjEM,IAAYN,EAAM,MAEZM,IAAY;AAAA,MAAA,CACnB,EACkD,MAAM;AAEzD,aAAIN,EAAM,UACLO,EAAWP,EAAM,KAAK,IACzBK,EAAM,QAAQL,EAAM,QAEpBI,EAAQ,eAAeJ,EAAM,KAAK,EAAE,IAAI,KAGnC;AAAA,QACN,OAAOI;AAAA,QACP,OAAAC;AAAA,MAAA;AAAA,IACD,CACA;AAEM,WAAA,CAACG,GAAUC,OACRC,EAAc,GAAAC,EAAoB,QAAQC,EAAgBC,EAAoBX,EAAe,KAAK,CAAC,GAAGN,GAAY,EAAE;AAAA,EAE9H;AAEA,CAAC;"}
@@ -0,0 +1,5 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=index12.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index12.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,5 @@
1
+ const r = (e) => typeof e > "u" || e === null;
2
+ export {
3
+ r as isNil
4
+ };
5
+ //# sourceMappingURL=index120.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index120.js","sources":["../src/utilities/functions/isNil.ts"],"sourcesContent":["/**\n * Returns true if the item is not null or undefined\n * @param value The item to check\n * @returns true | false\n */\nexport const isNil = (value: unknown) => {\n\tif (typeof value === 'undefined') return true;\n\tif (value === null) return true;\n\treturn false;\n};\n"],"names":["isNil","value"],"mappings":"AAKa,MAAAA,IAAQ,CAACC,MACjB,OAAOA,IAAU,OACjBA,MAAU;"}
@@ -0,0 +1,24 @@
1
+ import { clamp as o } from "./index196.js";
2
+ const r = (t, e) => t * 100 / e, p = (t, e) => t / 100 * e, l = (t, e, n) => r(t - e, n - e), P = ({
3
+ value: t = 0,
4
+ originalBounds: e,
5
+ targetBounds: n,
6
+ step: c = 1
7
+ }) => {
8
+ const a = l(
9
+ t,
10
+ e.min,
11
+ e.max
12
+ ), m = p(
13
+ a,
14
+ n.max - n.min
15
+ ) + n.min, s = Math.round(m / c) * c;
16
+ return o(s, n.min, n.max);
17
+ };
18
+ export {
19
+ r as getAsPercentage,
20
+ l as getAsPercentageBetween,
21
+ p as getPercentageFrom,
22
+ P as transposeValue
23
+ };
24
+ //# sourceMappingURL=index121.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index121.js","sources":["../src/utilities/functions/percentage.ts"],"sourcesContent":["import { clamp } from './clamp';\n\n/**\n * Get the percentage \"a\" represents in total\n * @returns\n */\nexport const getAsPercentage = (a: number, total: number) => (a * 100) / total;\n/**\n * Get \"a\" knowing the percentage\n * @returns\n */\nexport const getPercentageFrom = (a: number, total: number) =>\n\t(a / 100) * total;\n\n/**\n * Normalize the bounds of a value\n */\nexport const getAsPercentageBetween = (a: number, min: number, max: number) =>\n\tgetAsPercentage(a - min, max - min);\n\n/**\n * Get a value \"b\" that is the same percentage as \"a\" into it's target bounds.\n * EG 40% = 4 for a bound 0, 10 is transposed to 40% = 8\n * for bounds 0, 20, or again 40% = 4 for bound 10, 20\n */\ntype TransposeValueParameters = {\n\tvalue: number;\n\toriginalBounds: {\n\t\tmin: number;\n\t\tmax: number;\n\t};\n\ttargetBounds: {\n\t\tmin: number;\n\t\tmax: number;\n\t};\n\tstep: number;\n};\nexport const transposeValue: (params: TransposeValueParameters) => number = ({\n\tvalue = 0,\n\toriginalBounds,\n\ttargetBounds,\n\tstep = 1,\n}) => {\n\tconst percentageOfOriginal = getAsPercentageBetween(\n\t\tvalue,\n\t\toriginalBounds.min,\n\t\toriginalBounds.max\n\t);\n\tconst transposedValue = getPercentageFrom(\n\t\tpercentageOfOriginal,\n\t\ttargetBounds.max - targetBounds.min\n\t);\n\tconst adjusted = transposedValue + targetBounds.min;\n\tconst withStep = Math.round(adjusted / step) * step;\n\n\tconst clamped = clamp(withStep, targetBounds.min, targetBounds.max);\n\treturn clamped;\n};\n"],"names":["getAsPercentage","a","total","getPercentageFrom","getAsPercentageBetween","min","max","transposeValue","value","originalBounds","targetBounds","step","percentageOfOriginal","adjusted","withStep","clamp"],"mappings":";AAMO,MAAMA,IAAkB,CAACC,GAAWC,MAAmBD,IAAI,MAAOC,GAK5DC,IAAoB,CAACF,GAAWC,MAC3CD,IAAI,MAAOC,GAKAE,IAAyB,CAACH,GAAWI,GAAaC,MAC9DN,EAAgBC,IAAII,GAAKC,IAAMD,CAAG,GAmBtBE,IAA+D,CAAC;AAAA,EAC5E,OAAAC,IAAQ;AAAA,EACR,gBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,MAAAC,IAAO;AACR,MAAM;AACL,QAAMC,IAAuBR;AAAA,IAC5BI;AAAA,IACAC,EAAe;AAAA,IACfA,EAAe;AAAA,EAAA,GAMVI,IAJkBV;AAAA,IACvBS;AAAA,IACAF,EAAa,MAAMA,EAAa;AAAA,EAAA,IAEEA,EAAa,KAC1CI,IAAW,KAAK,MAAMD,IAAWF,CAAI,IAAIA;AAGxC,SADSI,EAAMD,GAAUJ,EAAa,KAAKA,EAAa,GAAG;AAEnE;"}
@@ -0,0 +1,5 @@
1
+ const o = (e) => new Promise((t) => setTimeout(t, e));
2
+ export {
3
+ o as wait
4
+ };
5
+ //# sourceMappingURL=index122.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index122.js","sources":["../src/utilities/functions/wait.ts"],"sourcesContent":["/** Wait a specified amount of time before resolving a promise */\nexport const wait: (ms: number) => Promise<void> = (ms) =>\n\tnew Promise((resolve) => setTimeout(resolve, ms));\n"],"names":["wait","ms","resolve"],"mappings":"AACa,MAAAA,IAAsC,CAACC,MACnD,IAAI,QAAQ,CAACC,MAAY,WAAWA,GAASD,CAAE,CAAC;"}
@@ -0,0 +1,227 @@
1
+ var x = Object.getOwnPropertyNames, G = Object.getOwnPropertySymbols, B = Object.prototype.hasOwnProperty;
2
+ function d(r, e) {
3
+ return function(t, n, a) {
4
+ return r(t, n, a) && e(t, n, a);
5
+ };
6
+ }
7
+ function m(r) {
8
+ return function(u, t, n) {
9
+ if (!u || !t || typeof u != "object" || typeof t != "object")
10
+ return r(u, t, n);
11
+ var a = n.cache, l = a.get(u), c = a.get(t);
12
+ if (l && c)
13
+ return l === t && c === u;
14
+ a.set(u, t), a.set(t, u);
15
+ var f = r(u, t, n);
16
+ return a.delete(u), a.delete(t), f;
17
+ };
18
+ }
19
+ function A(r) {
20
+ return x(r).concat(G(r));
21
+ }
22
+ var $ = Object.hasOwn || function(r, e) {
23
+ return B.call(r, e);
24
+ };
25
+ function y(r, e) {
26
+ return r || e ? r === e : r === e || r !== r && e !== e;
27
+ }
28
+ var P = "_owner", j = Object.getOwnPropertyDescriptor, w = Object.keys;
29
+ function D(r, e, u) {
30
+ var t = r.length;
31
+ if (e.length !== t)
32
+ return !1;
33
+ for (; t-- > 0; )
34
+ if (!u.equals(r[t], e[t], t, t, r, e, u))
35
+ return !1;
36
+ return !0;
37
+ }
38
+ function M(r, e) {
39
+ return y(r.getTime(), e.getTime());
40
+ }
41
+ function S(r, e, u) {
42
+ if (r.size !== e.size)
43
+ return !1;
44
+ for (var t = {}, n = r.entries(), a = 0, l, c; (l = n.next()) && !l.done; ) {
45
+ for (var f = e.entries(), p = !1, i = 0; (c = f.next()) && !c.done; ) {
46
+ var o = l.value, s = o[0], E = o[1], v = c.value, O = v[0], R = v[1];
47
+ !p && !t[i] && (p = u.equals(s, O, a, i, r, e, u) && u.equals(E, R, s, O, r, e, u)) && (t[i] = !0), i++;
48
+ }
49
+ if (!p)
50
+ return !1;
51
+ a++;
52
+ }
53
+ return !0;
54
+ }
55
+ function k(r, e, u) {
56
+ var t = w(r), n = t.length;
57
+ if (w(e).length !== n)
58
+ return !1;
59
+ for (var a; n-- > 0; )
60
+ if (a = t[n], a === P && (r.$$typeof || e.$$typeof) && r.$$typeof !== e.$$typeof || !$(e, a) || !u.equals(r[a], e[a], a, a, r, e, u))
61
+ return !1;
62
+ return !0;
63
+ }
64
+ function g(r, e, u) {
65
+ var t = A(r), n = t.length;
66
+ if (A(e).length !== n)
67
+ return !1;
68
+ for (var a, l, c; n-- > 0; )
69
+ if (a = t[n], a === P && (r.$$typeof || e.$$typeof) && r.$$typeof !== e.$$typeof || !$(e, a) || !u.equals(r[a], e[a], a, a, r, e, u) || (l = j(r, a), c = j(e, a), (l || c) && (!l || !c || l.configurable !== c.configurable || l.enumerable !== c.enumerable || l.writable !== c.writable)))
70
+ return !1;
71
+ return !0;
72
+ }
73
+ function I(r, e) {
74
+ return y(r.valueOf(), e.valueOf());
75
+ }
76
+ function N(r, e) {
77
+ return r.source === e.source && r.flags === e.flags;
78
+ }
79
+ function T(r, e, u) {
80
+ if (r.size !== e.size)
81
+ return !1;
82
+ for (var t = {}, n = r.values(), a, l; (a = n.next()) && !a.done; ) {
83
+ for (var c = e.values(), f = !1, p = 0; (l = c.next()) && !l.done; )
84
+ !f && !t[p] && (f = u.equals(a.value, l.value, a.value, l.value, r, e, u)) && (t[p] = !0), p++;
85
+ if (!f)
86
+ return !1;
87
+ }
88
+ return !0;
89
+ }
90
+ function W(r, e) {
91
+ var u = r.length;
92
+ if (e.length !== u)
93
+ return !1;
94
+ for (; u-- > 0; )
95
+ if (r[u] !== e[u])
96
+ return !1;
97
+ return !0;
98
+ }
99
+ var z = "[object Arguments]", _ = "[object Boolean]", V = "[object Date]", U = "[object Map]", J = "[object Number]", L = "[object Object]", X = "[object RegExp]", Z = "[object Set]", F = "[object String]", H = Array.isArray, h = typeof ArrayBuffer == "function" && ArrayBuffer.isView ? ArrayBuffer.isView : null, C = Object.assign, K = Object.prototype.toString.call.bind(Object.prototype.toString);
100
+ function Q(r) {
101
+ var e = r.areArraysEqual, u = r.areDatesEqual, t = r.areMapsEqual, n = r.areObjectsEqual, a = r.arePrimitiveWrappersEqual, l = r.areRegExpsEqual, c = r.areSetsEqual, f = r.areTypedArraysEqual;
102
+ return function(i, o, s) {
103
+ if (i === o)
104
+ return !0;
105
+ if (i == null || o == null || typeof i != "object" || typeof o != "object")
106
+ return i !== i && o !== o;
107
+ var E = i.constructor;
108
+ if (E !== o.constructor)
109
+ return !1;
110
+ if (E === Object)
111
+ return n(i, o, s);
112
+ if (H(i))
113
+ return e(i, o, s);
114
+ if (h != null && h(i))
115
+ return f(i, o, s);
116
+ if (E === Date)
117
+ return u(i, o, s);
118
+ if (E === RegExp)
119
+ return l(i, o, s);
120
+ if (E === Map)
121
+ return t(i, o, s);
122
+ if (E === Set)
123
+ return c(i, o, s);
124
+ var v = K(i);
125
+ return v === V ? u(i, o, s) : v === X ? l(i, o, s) : v === U ? t(i, o, s) : v === Z ? c(i, o, s) : v === L ? typeof i.then != "function" && typeof o.then != "function" && n(i, o, s) : v === z ? n(i, o, s) : v === _ || v === J || v === F ? a(i, o, s) : !1;
126
+ };
127
+ }
128
+ function Y(r) {
129
+ var e = r.circular, u = r.createCustomConfig, t = r.strict, n = {
130
+ areArraysEqual: t ? g : D,
131
+ areDatesEqual: M,
132
+ areMapsEqual: t ? d(S, g) : S,
133
+ areObjectsEqual: t ? g : k,
134
+ arePrimitiveWrappersEqual: I,
135
+ areRegExpsEqual: N,
136
+ areSetsEqual: t ? d(T, g) : T,
137
+ areTypedArraysEqual: t ? g : W
138
+ };
139
+ if (u && (n = C({}, n, u(n))), e) {
140
+ var a = m(n.areArraysEqual), l = m(n.areMapsEqual), c = m(n.areObjectsEqual), f = m(n.areSetsEqual);
141
+ n = C({}, n, {
142
+ areArraysEqual: a,
143
+ areMapsEqual: l,
144
+ areObjectsEqual: c,
145
+ areSetsEqual: f
146
+ });
147
+ }
148
+ return n;
149
+ }
150
+ function b(r) {
151
+ return function(e, u, t, n, a, l, c) {
152
+ return r(e, u, c);
153
+ };
154
+ }
155
+ function rr(r) {
156
+ var e = r.circular, u = r.comparator, t = r.createState, n = r.equals, a = r.strict;
157
+ if (t)
158
+ return function(f, p) {
159
+ var i = t(), o = i.cache, s = o === void 0 ? e ? /* @__PURE__ */ new WeakMap() : void 0 : o, E = i.meta;
160
+ return u(f, p, {
161
+ cache: s,
162
+ equals: n,
163
+ meta: E,
164
+ strict: a
165
+ });
166
+ };
167
+ if (e)
168
+ return function(f, p) {
169
+ return u(f, p, {
170
+ cache: /* @__PURE__ */ new WeakMap(),
171
+ equals: n,
172
+ meta: void 0,
173
+ strict: a
174
+ });
175
+ };
176
+ var l = {
177
+ cache: void 0,
178
+ equals: n,
179
+ meta: void 0,
180
+ strict: a
181
+ };
182
+ return function(f, p) {
183
+ return u(f, p, l);
184
+ };
185
+ }
186
+ var er = q();
187
+ q({ strict: !0 });
188
+ q({ circular: !0 });
189
+ q({
190
+ circular: !0,
191
+ strict: !0
192
+ });
193
+ q({
194
+ createInternalComparator: function() {
195
+ return y;
196
+ }
197
+ });
198
+ q({
199
+ strict: !0,
200
+ createInternalComparator: function() {
201
+ return y;
202
+ }
203
+ });
204
+ q({
205
+ circular: !0,
206
+ createInternalComparator: function() {
207
+ return y;
208
+ }
209
+ });
210
+ q({
211
+ circular: !0,
212
+ createInternalComparator: function() {
213
+ return y;
214
+ },
215
+ strict: !0
216
+ });
217
+ function q(r) {
218
+ r === void 0 && (r = {});
219
+ var e = r.circular, u = e === void 0 ? !1 : e, t = r.createInternalComparator, n = r.createState, a = r.strict, l = a === void 0 ? !1 : a, c = Y(r), f = Q(c), p = t ? t(f) : b(f);
220
+ return rr({ circular: u, comparator: f, createState: n, equals: p, strict: l });
221
+ }
222
+ export {
223
+ q as createCustomEqual,
224
+ er as deepEqual,
225
+ y as sameValueZeroEqual
226
+ };
227
+ //# sourceMappingURL=index123.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index123.js","sources":["../node_modules/fast-equals/dist/esm/index.mjs"],"sourcesContent":["var getOwnPropertyNames = Object.getOwnPropertyNames, getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n/**\n * Combine two comparators into a single comparators.\n */\nfunction combineComparators(comparatorA, comparatorB) {\n return function isEqual(a, b, state) {\n return comparatorA(a, b, state) && comparatorB(a, b, state);\n };\n}\n/**\n * Wrap the provided `areItemsEqual` method to manage the circular state, allowing\n * for circular references to be safely included in the comparison without creating\n * stack overflows.\n */\nfunction createIsCircular(areItemsEqual) {\n return function isCircular(a, b, state) {\n if (!a || !b || typeof a !== 'object' || typeof b !== 'object') {\n return areItemsEqual(a, b, state);\n }\n var cache = state.cache;\n var cachedA = cache.get(a);\n var cachedB = cache.get(b);\n if (cachedA && cachedB) {\n return cachedA === b && cachedB === a;\n }\n cache.set(a, b);\n cache.set(b, a);\n var result = areItemsEqual(a, b, state);\n cache.delete(a);\n cache.delete(b);\n return result;\n };\n}\n/**\n * Get the properties to strictly examine, which include both own properties that are\n * not enumerable and symbol properties.\n */\nfunction getStrictProperties(object) {\n return getOwnPropertyNames(object).concat(getOwnPropertySymbols(object));\n}\n/**\n * Whether the object contains the property passed as an own property.\n */\nvar hasOwn = Object.hasOwn ||\n (function (object, property) {\n return hasOwnProperty.call(object, property);\n });\n/**\n * Whether the values passed are strictly equal or both NaN.\n */\nfunction sameValueZeroEqual(a, b) {\n return a || b ? a === b : a === b || (a !== a && b !== b);\n}\n\nvar OWNER = '_owner';\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor, keys = Object.keys;\n/**\n * Whether the arrays are equal in value.\n */\nfunction areArraysEqual(a, b, state) {\n var index = a.length;\n if (b.length !== index) {\n return false;\n }\n while (index-- > 0) {\n if (!state.equals(a[index], b[index], index, index, a, b, state)) {\n return false;\n }\n }\n return true;\n}\n/**\n * Whether the dates passed are equal in value.\n */\nfunction areDatesEqual(a, b) {\n return sameValueZeroEqual(a.getTime(), b.getTime());\n}\n/**\n * Whether the `Map`s are equal in value.\n */\nfunction areMapsEqual(a, b, state) {\n if (a.size !== b.size) {\n return false;\n }\n var matchedIndices = {};\n var aIterable = a.entries();\n var index = 0;\n var aResult;\n var bResult;\n while ((aResult = aIterable.next())) {\n if (aResult.done) {\n break;\n }\n var bIterable = b.entries();\n var hasMatch = false;\n var matchIndex = 0;\n while ((bResult = bIterable.next())) {\n if (bResult.done) {\n break;\n }\n var _a = aResult.value, aKey = _a[0], aValue = _a[1];\n var _b = bResult.value, bKey = _b[0], bValue = _b[1];\n if (!hasMatch &&\n !matchedIndices[matchIndex] &&\n (hasMatch =\n state.equals(aKey, bKey, index, matchIndex, a, b, state) &&\n state.equals(aValue, bValue, aKey, bKey, a, b, state))) {\n matchedIndices[matchIndex] = true;\n }\n matchIndex++;\n }\n if (!hasMatch) {\n return false;\n }\n index++;\n }\n return true;\n}\n/**\n * Whether the objects are equal in value.\n */\nfunction areObjectsEqual(a, b, state) {\n var properties = keys(a);\n var index = properties.length;\n if (keys(b).length !== index) {\n return false;\n }\n var property;\n // Decrementing `while` showed faster results than either incrementing or\n // decrementing `for` loop and than an incrementing `while` loop. Declarative\n // methods like `some` / `every` were not used to avoid incurring the garbage\n // cost of anonymous callbacks.\n while (index-- > 0) {\n property = properties[index];\n if (property === OWNER &&\n (a.$$typeof || b.$$typeof) &&\n a.$$typeof !== b.$$typeof) {\n return false;\n }\n if (!hasOwn(b, property) ||\n !state.equals(a[property], b[property], property, property, a, b, state)) {\n return false;\n }\n }\n return true;\n}\n/**\n * Whether the objects are equal in value with strict property checking.\n */\nfunction areObjectsEqualStrict(a, b, state) {\n var properties = getStrictProperties(a);\n var index = properties.length;\n if (getStrictProperties(b).length !== index) {\n return false;\n }\n var property;\n var descriptorA;\n var descriptorB;\n // Decrementing `while` showed faster results than either incrementing or\n // decrementing `for` loop and than an incrementing `while` loop. Declarative\n // methods like `some` / `every` were not used to avoid incurring the garbage\n // cost of anonymous callbacks.\n while (index-- > 0) {\n property = properties[index];\n if (property === OWNER &&\n (a.$$typeof || b.$$typeof) &&\n a.$$typeof !== b.$$typeof) {\n return false;\n }\n if (!hasOwn(b, property)) {\n return false;\n }\n if (!state.equals(a[property], b[property], property, property, a, b, state)) {\n return false;\n }\n descriptorA = getOwnPropertyDescriptor(a, property);\n descriptorB = getOwnPropertyDescriptor(b, property);\n if ((descriptorA || descriptorB) &&\n (!descriptorA ||\n !descriptorB ||\n descriptorA.configurable !== descriptorB.configurable ||\n descriptorA.enumerable !== descriptorB.enumerable ||\n descriptorA.writable !== descriptorB.writable)) {\n return false;\n }\n }\n return true;\n}\n/**\n * Whether the primitive wrappers passed are equal in value.\n */\nfunction arePrimitiveWrappersEqual(a, b) {\n return sameValueZeroEqual(a.valueOf(), b.valueOf());\n}\n/**\n * Whether the regexps passed are equal in value.\n */\nfunction areRegExpsEqual(a, b) {\n return a.source === b.source && a.flags === b.flags;\n}\n/**\n * Whether the `Set`s are equal in value.\n */\nfunction areSetsEqual(a, b, state) {\n if (a.size !== b.size) {\n return false;\n }\n var matchedIndices = {};\n var aIterable = a.values();\n var aResult;\n var bResult;\n while ((aResult = aIterable.next())) {\n if (aResult.done) {\n break;\n }\n var bIterable = b.values();\n var hasMatch = false;\n var matchIndex = 0;\n while ((bResult = bIterable.next())) {\n if (bResult.done) {\n break;\n }\n if (!hasMatch &&\n !matchedIndices[matchIndex] &&\n (hasMatch = state.equals(aResult.value, bResult.value, aResult.value, bResult.value, a, b, state))) {\n matchedIndices[matchIndex] = true;\n }\n matchIndex++;\n }\n if (!hasMatch) {\n return false;\n }\n }\n return true;\n}\n/**\n * Whether the TypedArray instances are equal in value.\n */\nfunction areTypedArraysEqual(a, b) {\n var index = a.length;\n if (b.length !== index) {\n return false;\n }\n while (index-- > 0) {\n if (a[index] !== b[index]) {\n return false;\n }\n }\n return true;\n}\n\nvar ARGUMENTS_TAG = '[object Arguments]';\nvar BOOLEAN_TAG = '[object Boolean]';\nvar DATE_TAG = '[object Date]';\nvar MAP_TAG = '[object Map]';\nvar NUMBER_TAG = '[object Number]';\nvar OBJECT_TAG = '[object Object]';\nvar REG_EXP_TAG = '[object RegExp]';\nvar SET_TAG = '[object Set]';\nvar STRING_TAG = '[object String]';\nvar isArray = Array.isArray;\nvar isTypedArray = typeof ArrayBuffer === 'function' && ArrayBuffer.isView\n ? ArrayBuffer.isView\n : null;\nvar assign = Object.assign;\nvar getTag = Object.prototype.toString.call.bind(Object.prototype.toString);\n/**\n * Create a comparator method based on the type-specific equality comparators passed.\n */\nfunction createEqualityComparator(_a) {\n var areArraysEqual = _a.areArraysEqual, areDatesEqual = _a.areDatesEqual, areMapsEqual = _a.areMapsEqual, areObjectsEqual = _a.areObjectsEqual, arePrimitiveWrappersEqual = _a.arePrimitiveWrappersEqual, areRegExpsEqual = _a.areRegExpsEqual, areSetsEqual = _a.areSetsEqual, areTypedArraysEqual = _a.areTypedArraysEqual;\n /**\n * compare the value of the two objects and return true if they are equivalent in values\n */\n return function comparator(a, b, state) {\n // If the items are strictly equal, no need to do a value comparison.\n if (a === b) {\n return true;\n }\n // If the items are not non-nullish objects, then the only possibility\n // of them being equal but not strictly is if they are both `NaN`. Since\n // `NaN` is uniquely not equal to itself, we can use self-comparison of\n // both objects, which is faster than `isNaN()`.\n if (a == null ||\n b == null ||\n typeof a !== 'object' ||\n typeof b !== 'object') {\n return a !== a && b !== b;\n }\n var constructor = a.constructor;\n // Checks are listed in order of commonality of use-case:\n // 1. Common complex object types (plain object, array)\n // 2. Common data values (date, regexp)\n // 3. Less-common complex object types (map, set)\n // 4. Less-common data values (promise, primitive wrappers)\n // Inherently this is both subjective and assumptive, however\n // when reviewing comparable libraries in the wild this order\n // appears to be generally consistent.\n // Constructors should match, otherwise there is potential for false positives\n // between class and subclass or custom object and POJO.\n if (constructor !== b.constructor) {\n return false;\n }\n // `isPlainObject` only checks against the object's own realm. Cross-realm\n // comparisons are rare, and will be handled in the ultimate fallback, so\n // we can avoid capturing the string tag.\n if (constructor === Object) {\n return areObjectsEqual(a, b, state);\n }\n // `isArray()` works on subclasses and is cross-realm, so we can avoid capturing\n // the string tag or doing an `instanceof` check.\n if (isArray(a)) {\n return areArraysEqual(a, b, state);\n }\n // `isTypedArray()` works on all possible TypedArray classes, so we can avoid\n // capturing the string tag or comparing against all possible constructors.\n if (isTypedArray != null && isTypedArray(a)) {\n return areTypedArraysEqual(a, b, state);\n }\n // Try to fast-path equality checks for other complex object types in the\n // same realm to avoid capturing the string tag. Strict equality is used\n // instead of `instanceof` because it is more performant for the common\n // use-case. If someone is subclassing a native class, it will be handled\n // with the string tag comparison.\n if (constructor === Date) {\n return areDatesEqual(a, b, state);\n }\n if (constructor === RegExp) {\n return areRegExpsEqual(a, b, state);\n }\n if (constructor === Map) {\n return areMapsEqual(a, b, state);\n }\n if (constructor === Set) {\n return areSetsEqual(a, b, state);\n }\n // Since this is a custom object, capture the string tag to determing its type.\n // This is reasonably performant in modern environments like v8 and SpiderMonkey.\n var tag = getTag(a);\n if (tag === DATE_TAG) {\n return areDatesEqual(a, b, state);\n }\n if (tag === REG_EXP_TAG) {\n return areRegExpsEqual(a, b, state);\n }\n if (tag === MAP_TAG) {\n return areMapsEqual(a, b, state);\n }\n if (tag === SET_TAG) {\n return areSetsEqual(a, b, state);\n }\n if (tag === OBJECT_TAG) {\n // The exception for value comparison is custom `Promise`-like class instances. These should\n // be treated the same as standard `Promise` objects, which means strict equality, and if\n // it reaches this point then that strict equality comparison has already failed.\n return (typeof a.then !== 'function' &&\n typeof b.then !== 'function' &&\n areObjectsEqual(a, b, state));\n }\n // If an arguments tag, it should be treated as a standard object.\n if (tag === ARGUMENTS_TAG) {\n return areObjectsEqual(a, b, state);\n }\n // As the penultimate fallback, check if the values passed are primitive wrappers. This\n // is very rare in modern JS, which is why it is deprioritized compared to all other object\n // types.\n if (tag === BOOLEAN_TAG || tag === NUMBER_TAG || tag === STRING_TAG) {\n return arePrimitiveWrappersEqual(a, b, state);\n }\n // If not matching any tags that require a specific type of comparison, then we hard-code false because\n // the only thing remaining is strict equality, which has already been compared. This is for a few reasons:\n // - Certain types that cannot be introspected (e.g., `WeakMap`). For these types, this is the only\n // comparison that can be made.\n // - For types that can be introspected, but rarely have requirements to be compared\n // (`ArrayBuffer`, `DataView`, etc.), the cost is avoided to prioritize the common\n // use-cases (may be included in a future release, if requested enough).\n // - For types that can be introspected but do not have an objective definition of what\n // equality is (`Error`, etc.), the subjective decision is to be conservative and strictly compare.\n // In all cases, these decisions should be reevaluated based on changes to the language and\n // common development practices.\n return false;\n };\n}\n/**\n * Create the configuration object used for building comparators.\n */\nfunction createEqualityComparatorConfig(_a) {\n var circular = _a.circular, createCustomConfig = _a.createCustomConfig, strict = _a.strict;\n var config = {\n areArraysEqual: strict\n ? areObjectsEqualStrict\n : areArraysEqual,\n areDatesEqual: areDatesEqual,\n areMapsEqual: strict\n ? combineComparators(areMapsEqual, areObjectsEqualStrict)\n : areMapsEqual,\n areObjectsEqual: strict\n ? areObjectsEqualStrict\n : areObjectsEqual,\n arePrimitiveWrappersEqual: arePrimitiveWrappersEqual,\n areRegExpsEqual: areRegExpsEqual,\n areSetsEqual: strict\n ? combineComparators(areSetsEqual, areObjectsEqualStrict)\n : areSetsEqual,\n areTypedArraysEqual: strict\n ? areObjectsEqualStrict\n : areTypedArraysEqual,\n };\n if (createCustomConfig) {\n config = assign({}, config, createCustomConfig(config));\n }\n if (circular) {\n var areArraysEqual$1 = createIsCircular(config.areArraysEqual);\n var areMapsEqual$1 = createIsCircular(config.areMapsEqual);\n var areObjectsEqual$1 = createIsCircular(config.areObjectsEqual);\n var areSetsEqual$1 = createIsCircular(config.areSetsEqual);\n config = assign({}, config, {\n areArraysEqual: areArraysEqual$1,\n areMapsEqual: areMapsEqual$1,\n areObjectsEqual: areObjectsEqual$1,\n areSetsEqual: areSetsEqual$1,\n });\n }\n return config;\n}\n/**\n * Default equality comparator pass-through, used as the standard `isEqual` creator for\n * use inside the built comparator.\n */\nfunction createInternalEqualityComparator(compare) {\n return function (a, b, _indexOrKeyA, _indexOrKeyB, _parentA, _parentB, state) {\n return compare(a, b, state);\n };\n}\n/**\n * Create the `isEqual` function used by the consuming application.\n */\nfunction createIsEqual(_a) {\n var circular = _a.circular, comparator = _a.comparator, createState = _a.createState, equals = _a.equals, strict = _a.strict;\n if (createState) {\n return function isEqual(a, b) {\n var _a = createState(), _b = _a.cache, cache = _b === void 0 ? circular ? new WeakMap() : undefined : _b, meta = _a.meta;\n return comparator(a, b, {\n cache: cache,\n equals: equals,\n meta: meta,\n strict: strict,\n });\n };\n }\n if (circular) {\n return function isEqual(a, b) {\n return comparator(a, b, {\n cache: new WeakMap(),\n equals: equals,\n meta: undefined,\n strict: strict,\n });\n };\n }\n var state = {\n cache: undefined,\n equals: equals,\n meta: undefined,\n strict: strict,\n };\n return function isEqual(a, b) {\n return comparator(a, b, state);\n };\n}\n\n/**\n * Whether the items passed are deeply-equal in value.\n */\nvar deepEqual = createCustomEqual();\n/**\n * Whether the items passed are deeply-equal in value based on strict comparison.\n */\nvar strictDeepEqual = createCustomEqual({ strict: true });\n/**\n * Whether the items passed are deeply-equal in value, including circular references.\n */\nvar circularDeepEqual = createCustomEqual({ circular: true });\n/**\n * Whether the items passed are deeply-equal in value, including circular references,\n * based on strict comparison.\n */\nvar strictCircularDeepEqual = createCustomEqual({\n circular: true,\n strict: true,\n});\n/**\n * Whether the items passed are shallowly-equal in value.\n */\nvar shallowEqual = createCustomEqual({\n createInternalComparator: function () { return sameValueZeroEqual; },\n});\n/**\n * Whether the items passed are shallowly-equal in value based on strict comparison\n */\nvar strictShallowEqual = createCustomEqual({\n strict: true,\n createInternalComparator: function () { return sameValueZeroEqual; },\n});\n/**\n * Whether the items passed are shallowly-equal in value, including circular references.\n */\nvar circularShallowEqual = createCustomEqual({\n circular: true,\n createInternalComparator: function () { return sameValueZeroEqual; },\n});\n/**\n * Whether the items passed are shallowly-equal in value, including circular references,\n * based on strict comparison.\n */\nvar strictCircularShallowEqual = createCustomEqual({\n circular: true,\n createInternalComparator: function () { return sameValueZeroEqual; },\n strict: true,\n});\n/**\n * Create a custom equality comparison method.\n *\n * This can be done to create very targeted comparisons in extreme hot-path scenarios\n * where the standard methods are not performant enough, but can also be used to provide\n * support for legacy environments that do not support expected features like\n * `RegExp.prototype.flags` out of the box.\n */\nfunction createCustomEqual(options) {\n if (options === void 0) { options = {}; }\n var _a = options.circular, circular = _a === void 0 ? false : _a, createCustomInternalComparator = options.createInternalComparator, createState = options.createState, _b = options.strict, strict = _b === void 0 ? false : _b;\n var config = createEqualityComparatorConfig(options);\n var comparator = createEqualityComparator(config);\n var equals = createCustomInternalComparator\n ? createCustomInternalComparator(comparator)\n : createInternalEqualityComparator(comparator);\n return createIsEqual({ circular: circular, comparator: comparator, createState: createState, equals: equals, strict: strict });\n}\n\nexport { circularDeepEqual, circularShallowEqual, createCustomEqual, deepEqual, sameValueZeroEqual, shallowEqual, strictCircularDeepEqual, strictCircularShallowEqual, strictDeepEqual, strictShallowEqual };\n//# sourceMappingURL=index.mjs.map\n"],"names":["getOwnPropertyNames","getOwnPropertySymbols","hasOwnProperty","combineComparators","comparatorA","comparatorB","a","b","state","createIsCircular","areItemsEqual","cache","cachedA","cachedB","result","getStrictProperties","object","hasOwn","property","sameValueZeroEqual","OWNER","getOwnPropertyDescriptor","keys","areArraysEqual","index","areDatesEqual","areMapsEqual","matchedIndices","aIterable","aResult","bResult","bIterable","hasMatch","matchIndex","_a","aKey","aValue","_b","bKey","bValue","areObjectsEqual","properties","areObjectsEqualStrict","descriptorA","descriptorB","arePrimitiveWrappersEqual","areRegExpsEqual","areSetsEqual","areTypedArraysEqual","ARGUMENTS_TAG","BOOLEAN_TAG","DATE_TAG","MAP_TAG","NUMBER_TAG","OBJECT_TAG","REG_EXP_TAG","SET_TAG","STRING_TAG","isArray","isTypedArray","assign","getTag","createEqualityComparator","constructor","tag","createEqualityComparatorConfig","circular","createCustomConfig","strict","config","areArraysEqual$1","areMapsEqual$1","areObjectsEqual$1","areSetsEqual$1","createInternalEqualityComparator","compare","_indexOrKeyA","_indexOrKeyB","_parentA","_parentB","createIsEqual","comparator","createState","equals","meta","deepEqual","createCustomEqual","options","createCustomInternalComparator"],"mappings":"AAAA,IAAIA,IAAsB,OAAO,qBAAqBC,IAAwB,OAAO,uBACjFC,IAAiB,OAAO,UAAU;AAItC,SAASC,EAAmBC,GAAaC,GAAa;AAClD,SAAO,SAAiBC,GAAGC,GAAGC,GAAO;AACjC,WAAOJ,EAAYE,GAAGC,GAAGC,CAAK,KAAKH,EAAYC,GAAGC,GAAGC,CAAK;AAAA,EAClE;AACA;AAMA,SAASC,EAAiBC,GAAe;AACrC,SAAO,SAAoBJ,GAAGC,GAAGC,GAAO;AACpC,QAAI,CAACF,KAAK,CAACC,KAAK,OAAOD,KAAM,YAAY,OAAOC,KAAM;AAClD,aAAOG,EAAcJ,GAAGC,GAAGC,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e > "u" || e === null);
2
+ export {
3
+ r as isNotNil
4
+ };
5
+ //# sourceMappingURL=index124.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index124.js","sources":["../src/utilities/functions/isNotNil.ts"],"sourcesContent":["/**\n * Returns true if the item is not null or undefined\n * @param value The item to check\n * @returns true | false\n */\nexport const isNotNil = <T>(\n\tvalue: T\n): value is Exclude<T, null | undefined> => {\n\tif (typeof value === 'undefined') return false;\n\tif (value === null) return false;\n\treturn true;\n};\n"],"names":["isNotNil","value"],"mappings":"AAKa,MAAAA,IAAW,CACvBC,MAEI,SAAOA,IAAU,OACjBA,MAAU;"}
@@ -0,0 +1,21 @@
1
+ import t from "./index216.js";
2
+ const o = () => ({
3
+ getItemText(r, n) {
4
+ if (typeof r == "string" && !n)
5
+ return r;
6
+ if (n) {
7
+ if (typeof n == "function") {
8
+ let f = n(r);
9
+ return typeof f != "string" && (f = JSON.stringify(f)), f;
10
+ } else if (typeof n == "string") {
11
+ const f = t(r, n);
12
+ return typeof f == "string" ? f : JSON.stringify(f);
13
+ }
14
+ }
15
+ return JSON.stringify(r);
16
+ }
17
+ });
18
+ export {
19
+ o as useItemText
20
+ };
21
+ //# sourceMappingURL=index125.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index125.js","sources":["../src/composables/useItemText.ts"],"sourcesContent":["import get from '@/utilities/functions/get';\n\ntype NestedKeyOf<ObjectType extends object> = {\n\t[Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object\n\t\t? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}`\n\t\t: `${Key}`;\n}[keyof ObjectType & (string | number)];\n\nexport type Path<T> = T extends object\n\t?\n\t\t\t| NestedKeyOf<T>\n\t\t\t| ((item: T) => string | number)\n\t\t\t| undefined\n\t\t\t| (string & Record<never, never>)\n\t: undefined;\n\nexport const useItemText = () => ({\n\tgetItemText<T>(item: T, getter?: Path<T>): string {\n\t\tif (typeof item === 'string' && !getter) return item;\n\t\telse if (getter) {\n\t\t\tif (typeof getter === 'function') {\n\t\t\t\tlet found = getter(item);\n\t\t\t\tif (typeof found !== 'string') found = JSON.stringify(found);\n\t\t\t\treturn found;\n\t\t\t} else if (typeof getter === 'string') {\n\t\t\t\tconst found = get(item, getter);\n\t\t\t\tif (typeof found === 'string') return found;\n\t\t\t\telse return JSON.stringify(found);\n\t\t\t}\n\t\t}\n\t\treturn JSON.stringify(item);\n\t},\n});\n"],"names":["useItemText","item","getter","found","get"],"mappings":";AAgBO,MAAMA,IAAc,OAAO;AAAA,EACjC,YAAeC,GAASC,GAA0B;AAC7C,QAAA,OAAOD,KAAS,YAAY,CAACC;AAAe,aAAAD;AAAA,QACvCC;AACJ,UAAA,OAAOA,KAAW,YAAY;AAC7B,YAAAC,IAAQD,EAAOD,CAAI;AACvB,eAAI,OAAOE,KAAU,aAAkBA,IAAA,KAAK,UAAUA,CAAK,IACpDA;AAAA,MAAA,WACG,OAAOD,KAAW,UAAU;AAChC,cAAAC,IAAQC,EAAIH,GAAMC,CAAM;AAC9B,eAAI,OAAOC,KAAU,WAAiBA,IAC1B,KAAK,UAAUA,CAAK;AAAA,MACjC;AAAA;AAEM,WAAA,KAAK,UAAUF,CAAI;AAAA,EAC3B;AACD;"}
@@ -0,0 +1,15 @@
1
+ import o from "./index216.js";
2
+ const e = () => ({
3
+ getItemValue(n, f) {
4
+ if (typeof f > "u")
5
+ return n;
6
+ if (typeof f == "function")
7
+ return f(n);
8
+ if (typeof f == "string")
9
+ return o(n, f);
10
+ }
11
+ });
12
+ export {
13
+ e as useItemValue
14
+ };
15
+ //# sourceMappingURL=index126.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index126.js","sources":["../src/composables/useItemValue.ts"],"sourcesContent":["import get from '@/utilities/functions/get';\n\nexport const useItemValue = () => ({\n\tgetItemValue<T>(item: T, getter?: string | ((item: T) => any)): any {\n\t\tif (typeof getter === 'undefined') return item;\n\t\tif (typeof getter === 'function') return getter(item);\n\t\tif (typeof getter === 'string') return get(item, getter);\n\t},\n});\n"],"names":["useItemValue","item","getter","get"],"mappings":";AAEO,MAAMA,IAAe,OAAO;AAAA,EAClC,aAAgBC,GAASC,GAA2C;AACnE,QAAI,OAAOA,IAAW;AAAoB,aAAAD;AAC1C,QAAI,OAAOC,KAAW;AAAY,aAAOA,EAAOD,CAAI;AACpD,QAAI,OAAOC,KAAW;AAAiB,aAAAC,EAAIF,GAAMC,CAAM;AAAA,EACxD;AACD;"}
@@ -0,0 +1,27 @@
1
+ import { isArray as b, isPlainObject as m } from "./index253.js";
2
+ function i(e, n, l, o, r) {
3
+ const u = {}.propertyIsEnumerable.call(o, n) ? "enumerable" : "nonenumerable";
4
+ u === "enumerable" && (e[n] = l), r && u === "nonenumerable" && Object.defineProperty(e, n, {
5
+ value: l,
6
+ enumerable: !1,
7
+ writable: !0,
8
+ configurable: !0
9
+ });
10
+ }
11
+ function p(e, n = {}) {
12
+ if (b(e))
13
+ return e.map((r) => p(r, n));
14
+ if (!m(e))
15
+ return e;
16
+ const l = Object.getOwnPropertyNames(e), o = Object.getOwnPropertySymbols(e);
17
+ return [...l, ...o].reduce((r, u) => {
18
+ if (b(n.props) && !n.props.includes(u))
19
+ return r;
20
+ const s = e[u], c = p(s, n);
21
+ return i(r, u, c, e, n.nonenumerable), r;
22
+ }, {});
23
+ }
24
+ export {
25
+ p as copy
26
+ };
27
+ //# sourceMappingURL=index127.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index127.js","sources":["../node_modules/copy-anything/dist/index.js"],"sourcesContent":["import { isArray, isPlainObject } from 'is-what';\n\nfunction assignProp(carry, key, newVal, originalObject, includeNonenumerable) {\n const propType = {}.propertyIsEnumerable.call(originalObject, key) ? \"enumerable\" : \"nonenumerable\";\n if (propType === \"enumerable\")\n carry[key] = newVal;\n if (includeNonenumerable && propType === \"nonenumerable\") {\n Object.defineProperty(carry, key, {\n value: newVal,\n enumerable: false,\n writable: true,\n configurable: true\n });\n }\n}\nfunction copy(target, options = {}) {\n if (isArray(target)) {\n return target.map((item) => copy(item, options));\n }\n if (!isPlainObject(target)) {\n return target;\n }\n const props = Object.getOwnPropertyNames(target);\n const symbols = Object.getOwnPropertySymbols(target);\n return [...props, ...symbols].reduce((carry, key) => {\n if (isArray(options.props) && !options.props.includes(key)) {\n return carry;\n }\n const val = target[key];\n const newVal = copy(val, options);\n assignProp(carry, key, newVal, target, options.nonenumerable);\n return carry;\n }, {});\n}\n\nexport { copy };\n"],"names":["assignProp","carry","key","newVal","originalObject","includeNonenumerable","propType","copy","target","options","isArray","item","isPlainObject","props","symbols","val"],"mappings":";AAEA,SAASA,EAAWC,GAAOC,GAAKC,GAAQC,GAAgBC,GAAsB;AAC5E,QAAMC,IAAW,CAAE,EAAC,qBAAqB,KAAKF,GAAgBF,CAAG,IAAI,eAAe;AACpF,EAAII,MAAa,iBACfL,EAAMC,CAAG,IAAIC,IACXE,KAAwBC,MAAa,mBACvC,OAAO,eAAeL,GAAOC,GAAK;AAAA,IAChC,OAAOC;AAAA,IACP,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,cAAc;AAAA,EACpB,CAAK;AAEL;AACA,SAASI,EAAKC,GAAQC,IAAU,IAAI;AAClC,MAAIC,EAAQF,CAAM;AAChB,WAAOA,EAAO,IAAI,CAACG,MAASJ,EAAKI,GAAMF,CAAO,CAAC;AAEjD,MAAI,CAACG,EAAcJ,CAAM;AACvB,WAAOA;AAET,QAAMK,IAAQ,OAAO,oBAAoBL,CAAM,GACzCM,IAAU,OAAO,sBAAsBN,CAAM;AACnD,SAAO,CAAC,GAAGK,GAAO,GAAGC,CAAO,EAAE,OAAO,CAACb,GAAOC,MAAQ;AACnD,QAAIQ,EAAQD,EAAQ,KAAK,KAAK,CAACA,EAAQ,MAAM,SAASP,CAAG;AACvD,aAAOD;AAET,UAAMc,IAAMP,EAAON,CAAG,GAChBC,IAASI,EAAKQ,GAAKN,CAAO;AAChC,WAAAT,EAAWC,GAAOC,GAAKC,GAAQK,GAAQC,EAAQ,aAAa,GACrDR;AAAA,EACR,GAAE,CAAE,CAAA;AACP;","x_google_ignoreList":[0]}