bitboss-ui 2.0.5 → 2.0.7

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 (435) 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 +138 -137
  4. package/dist/index.js.map +1 -1
  5. package/dist/index10.js +74 -35
  6. package/dist/index10.js.map +1 -1
  7. package/dist/{index99.js → index100.js} +3 -3
  8. package/dist/index100.js.map +1 -0
  9. package/dist/{index101.js → index102.js} +3 -3
  10. package/dist/{index101.js.map → index102.js.map} +1 -1
  11. package/dist/{index103.js → index104.js} +8 -8
  12. package/dist/{index103.js.map → index104.js.map} +1 -1
  13. package/dist/{index105.js → index106.js} +10 -10
  14. package/dist/{index105.js.map → index106.js.map} +1 -1
  15. package/dist/{index107.js → index108.js} +3 -3
  16. package/dist/{index107.js.map → index108.js.map} +1 -1
  17. package/dist/index11.js +36 -189
  18. package/dist/index11.js.map +1 -1
  19. package/dist/{index109.js → index110.js} +3 -3
  20. package/dist/{index109.js.map → index110.js.map} +1 -1
  21. package/dist/{index111.js → index112.js} +3 -3
  22. package/dist/{index111.js.map → index112.js.map} +1 -1
  23. package/dist/{index113.js → index114.js} +3 -3
  24. package/dist/{index113.js.map → index114.js.map} +1 -1
  25. package/dist/{index115.js → index116.js} +8 -8
  26. package/dist/{index115.js.map → index116.js.map} +1 -1
  27. package/dist/{index117.js → index118.js} +1 -1
  28. package/dist/{index117.js.map → index118.js.map} +1 -1
  29. package/dist/index12.js +189 -78
  30. package/dist/index12.js.map +1 -1
  31. package/dist/index120.js +34 -38
  32. package/dist/index120.js.map +1 -1
  33. package/dist/index121.js +38 -38
  34. package/dist/index121.js.map +1 -1
  35. package/dist/index122.js +39 -42
  36. package/dist/index122.js.map +1 -1
  37. package/dist/index123.js +43 -31
  38. package/dist/index123.js.map +1 -1
  39. package/dist/index124.js +35 -2
  40. package/dist/index124.js.map +1 -1
  41. package/dist/index125.js +2 -21
  42. package/dist/index125.js.map +1 -1
  43. package/dist/index126.js +21 -2
  44. package/dist/index126.js.map +1 -1
  45. package/dist/index127.js +2 -312
  46. package/dist/index127.js.map +1 -1
  47. package/dist/index128.js +309 -21
  48. package/dist/index128.js.map +1 -1
  49. package/dist/index129.js +24 -2
  50. package/dist/index129.js.map +1 -1
  51. package/dist/index13.js +85 -0
  52. package/dist/index13.js.map +1 -0
  53. package/dist/index130.js +2 -5
  54. package/dist/index130.js.map +1 -1
  55. package/dist/index131.js +5 -9
  56. package/dist/index131.js.map +1 -1
  57. package/dist/index132.js +8 -5
  58. package/dist/index132.js.map +1 -1
  59. package/dist/index133.js +6 -3
  60. package/dist/index133.js.map +1 -1
  61. package/dist/index134.js +1 -1
  62. package/dist/index135.js +1 -1
  63. package/dist/index136.js +1 -1
  64. package/dist/index137.js +1 -1
  65. package/dist/index138.js +1 -1
  66. package/dist/index139.js +1 -1
  67. package/dist/index140.js +1 -1
  68. package/dist/index141.js +1 -1
  69. package/dist/index142.js +1 -1
  70. package/dist/index143.js +1 -1
  71. package/dist/index144.js +1 -1
  72. package/dist/index145.js +1 -1
  73. package/dist/index146.js +1 -1
  74. package/dist/index147.js +1 -1
  75. package/dist/index148.js +1 -1
  76. package/dist/index149.js +1 -1
  77. package/dist/{index14.js → index15.js} +4 -4
  78. package/dist/{index14.js.map → index15.js.map} +1 -1
  79. package/dist/index150.js +1 -1
  80. package/dist/index151.js +1 -1
  81. package/dist/index152.js +1 -1
  82. package/dist/index153.js +1 -1
  83. package/dist/index154.js +1 -1
  84. package/dist/index155.js +1 -1
  85. package/dist/index156.js +1 -1
  86. package/dist/index157.js +1 -1
  87. package/dist/index158.js +1 -1
  88. package/dist/index159.js +2 -2
  89. package/dist/{index161.js → index160.js} +1 -1
  90. package/dist/index160.js.map +1 -0
  91. package/dist/index162.js +6 -0
  92. package/dist/index162.js.map +1 -0
  93. package/dist/index164.js +1 -1
  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/{index16.js → index17.js} +4 -4
  100. package/dist/{index16.js.map → index17.js.map} +1 -1
  101. package/dist/index170.js +6 -0
  102. package/dist/index170.js.map +1 -0
  103. package/dist/index172.js +2 -3
  104. package/dist/index172.js.map +1 -1
  105. package/dist/index173.js +1 -1
  106. package/dist/index174.js +1 -1
  107. package/dist/index175.js +1 -1
  108. package/dist/index176.js +1 -1
  109. package/dist/index177.js +1 -1
  110. package/dist/index178.js +1 -1
  111. package/dist/index179.js +1 -1
  112. package/dist/index180.js +1 -1
  113. package/dist/index181.js +1 -1
  114. package/dist/index182.js +1 -1
  115. package/dist/index183.js +2 -2
  116. package/dist/{index185.js → index184.js} +1 -1
  117. package/dist/index184.js.map +1 -0
  118. package/dist/index186.js +6 -0
  119. package/dist/index186.js.map +1 -0
  120. package/dist/index188.js +1 -1
  121. package/dist/index189.js +1 -1
  122. package/dist/{index18.js → index19.js} +76 -74
  123. package/dist/index19.js.map +1 -0
  124. package/dist/index190.js +1 -1
  125. package/dist/index191.js +1 -1
  126. package/dist/index192.js +1 -1
  127. package/dist/index193.js +1 -1
  128. package/dist/index194.js +1 -1
  129. package/dist/index195.js +1 -1
  130. package/dist/index196.js +1 -1
  131. package/dist/index197.js +3 -81
  132. package/dist/index197.js.map +1 -1
  133. package/dist/index198.js +81 -3
  134. package/dist/index198.js.map +1 -1
  135. package/dist/index199.js +2 -5
  136. package/dist/index199.js.map +1 -1
  137. package/dist/index200.js +2 -16
  138. package/dist/index200.js.map +1 -1
  139. package/dist/index201.js +4 -16
  140. package/dist/index201.js.map +1 -1
  141. package/dist/index202.js +2 -19
  142. package/dist/index202.js.map +1 -1
  143. package/dist/index203.js +8 -19
  144. package/dist/index203.js.map +1 -1
  145. package/dist/index204.js +124 -25
  146. package/dist/index204.js.map +1 -1
  147. package/dist/index205.js +5 -3
  148. package/dist/index205.js.map +1 -1
  149. package/dist/index206.js +123 -2
  150. package/dist/index206.js.map +1 -1
  151. package/dist/index207.js +19 -8
  152. package/dist/index207.js.map +1 -1
  153. package/dist/index208.js +14 -247
  154. package/dist/index208.js.map +1 -1
  155. package/dist/index209.js +19 -0
  156. package/dist/index209.js.map +1 -0
  157. package/dist/{index20.js → index21.js} +26 -27
  158. package/dist/index21.js.map +1 -0
  159. package/dist/index210.js +2 -52
  160. package/dist/index210.js.map +1 -1
  161. package/dist/index211.js +2 -37
  162. package/dist/index211.js.map +1 -1
  163. package/dist/index212.js +35 -5
  164. package/dist/index212.js.map +1 -1
  165. package/dist/index213.js +174 -41
  166. package/dist/index213.js.map +1 -1
  167. package/dist/index214.js +6 -2
  168. package/dist/index214.js.map +1 -1
  169. package/dist/index215.js +43 -4
  170. package/dist/index215.js.map +1 -1
  171. package/dist/index217.js +13 -2
  172. package/dist/index217.js.map +1 -1
  173. package/dist/index218.js +4 -41
  174. package/dist/index218.js.map +1 -1
  175. package/dist/{index233.js → index219.js} +4 -4
  176. package/dist/{index233.js.map → index219.js.map} +1 -1
  177. package/dist/index220.js +19 -13
  178. package/dist/index220.js.map +1 -1
  179. package/dist/index221.js +25 -156
  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 +252 -0
  184. package/dist/index223.js.map +1 -0
  185. package/dist/index224.js +52 -3
  186. package/dist/index224.js.map +1 -1
  187. package/dist/index225.js +44 -35
  188. package/dist/index225.js.map +1 -1
  189. package/dist/index226.js +5 -6
  190. package/dist/index226.js.map +1 -1
  191. package/dist/index227.js +49 -7
  192. package/dist/index227.js.map +1 -1
  193. package/dist/index228.js +3 -126
  194. package/dist/index228.js.map +1 -1
  195. package/dist/index229.js +3 -123
  196. package/dist/index229.js.map +1 -1
  197. package/dist/{index22.js → index23.js} +74 -76
  198. package/dist/index23.js.map +1 -0
  199. package/dist/index230.js +7 -2
  200. package/dist/index230.js.map +1 -1
  201. package/dist/index231.js +152 -168
  202. package/dist/index231.js.map +1 -1
  203. package/dist/index232.js +84 -5
  204. package/dist/index232.js.map +1 -1
  205. package/dist/index234.js +2 -3
  206. package/dist/index234.js.map +1 -1
  207. package/dist/index235.js +1 -1
  208. package/dist/index236.js +3 -3
  209. package/dist/index238.js +2 -2
  210. package/dist/index243.js +4 -224
  211. package/dist/index243.js.map +1 -1
  212. package/dist/index244.js +6 -281
  213. package/dist/index244.js.map +1 -1
  214. package/dist/index245.js +16 -6
  215. package/dist/index245.js.map +1 -1
  216. package/dist/index246.js +9 -2
  217. package/dist/index246.js.map +1 -1
  218. package/dist/index247.js +23 -2
  219. package/dist/index247.js.map +1 -1
  220. package/dist/index248.js +9 -2
  221. package/dist/index248.js.map +1 -1
  222. package/dist/index249.js +281 -2
  223. package/dist/index249.js.map +1 -1
  224. package/dist/{index24.js → index25.js} +6 -6
  225. package/dist/{index24.js.map → index25.js.map} +1 -1
  226. package/dist/index250.js +6 -2
  227. package/dist/index250.js.map +1 -1
  228. package/dist/index251.js +2 -2
  229. package/dist/index252.js +2 -3
  230. package/dist/index252.js.map +1 -1
  231. package/dist/index253.js +2 -2
  232. package/dist/index254.js +2 -2
  233. package/dist/index255.js +2 -2
  234. package/dist/index256.js +122 -24
  235. package/dist/index256.js.map +1 -1
  236. package/dist/index257.js +429 -20
  237. package/dist/index257.js.map +1 -1
  238. package/dist/index258.js +6 -0
  239. package/dist/index258.js.map +1 -0
  240. package/dist/index260.js +6 -3
  241. package/dist/index260.js.map +1 -1
  242. package/dist/index261.js +21 -8
  243. package/dist/index261.js.map +1 -1
  244. package/dist/index263.js +2 -3
  245. package/dist/index263.js.map +1 -1
  246. package/dist/index264.js +5 -0
  247. package/dist/index264.js.map +1 -0
  248. package/dist/index265.js +1 -5
  249. package/dist/index265.js.map +1 -1
  250. package/dist/index266.js +2 -16
  251. package/dist/index266.js.map +1 -1
  252. package/dist/index267.js +2 -9
  253. package/dist/index267.js.map +1 -1
  254. package/dist/index268.js +2 -3
  255. package/dist/index268.js.map +1 -1
  256. package/dist/index269.js +28 -12
  257. package/dist/index269.js.map +1 -1
  258. package/dist/{index26.js → index27.js} +4 -4
  259. package/dist/{index26.js.map → index27.js.map} +1 -1
  260. package/dist/index270.js +21 -8
  261. package/dist/index270.js.map +1 -1
  262. package/dist/index272.js +224 -17
  263. package/dist/index272.js.map +1 -1
  264. package/dist/index273.js +82 -424
  265. package/dist/index273.js.map +1 -1
  266. package/dist/index274.js +197 -86
  267. package/dist/index274.js.map +1 -1
  268. package/dist/index275.js +436 -2
  269. package/dist/index275.js.map +1 -1
  270. package/dist/index276.js +126 -68
  271. package/dist/index276.js.map +1 -1
  272. package/dist/index278.js +2 -200
  273. package/dist/index278.js.map +1 -1
  274. package/dist/index279.js +9 -2
  275. package/dist/index279.js.map +1 -1
  276. package/dist/index280.js +68 -125
  277. package/dist/index280.js.map +1 -1
  278. package/dist/index281.js +3 -22
  279. package/dist/index281.js.map +1 -1
  280. package/dist/index282.js +15 -0
  281. package/dist/index282.js.map +1 -0
  282. package/dist/index283.js +7 -434
  283. package/dist/index283.js.map +1 -1
  284. package/dist/index284.js +16 -126
  285. package/dist/index284.js.map +1 -1
  286. package/dist/index287.js +12 -12
  287. package/dist/index287.js.map +1 -1
  288. package/dist/index288.js +18 -0
  289. package/dist/index288.js.map +1 -0
  290. package/dist/index289.js +4 -15
  291. package/dist/index289.js.map +1 -1
  292. package/dist/{index28.js → index29.js} +19 -19
  293. package/dist/index29.js.map +1 -0
  294. package/dist/index290.js +4 -7
  295. package/dist/index290.js.map +1 -1
  296. package/dist/index291.js +57 -17
  297. package/dist/index291.js.map +1 -1
  298. package/dist/index292.js +34 -6
  299. package/dist/index292.js.map +1 -1
  300. package/dist/index293.js +7 -4
  301. package/dist/index293.js.map +1 -1
  302. package/dist/index294.js +19 -4
  303. package/dist/index294.js.map +1 -1
  304. package/dist/index295.js +6 -58
  305. package/dist/index295.js.map +1 -1
  306. package/dist/index296.js +2 -35
  307. package/dist/index296.js.map +1 -1
  308. package/dist/index298.js +47 -2
  309. package/dist/index298.js.map +1 -1
  310. package/dist/index300.js +424 -0
  311. package/dist/index300.js.map +1 -0
  312. package/dist/index301.js +42 -416
  313. package/dist/index301.js.map +1 -1
  314. package/dist/{index30.js → index31.js} +4 -4
  315. package/dist/{index30.js.map → index31.js.map} +1 -1
  316. package/dist/{index32.js → index33.js} +41 -40
  317. package/dist/index33.js.map +1 -0
  318. package/dist/{index34.js → index35.js} +19 -18
  319. package/dist/{index34.js.map → index35.js.map} +1 -1
  320. package/dist/{index36.js → index37.js} +8 -7
  321. package/dist/index37.js.map +1 -0
  322. package/dist/{index38.js → index39.js} +4 -3
  323. package/dist/index39.js.map +1 -0
  324. package/dist/index4.js +14 -40
  325. package/dist/index4.js.map +1 -1
  326. package/dist/{index40.js → index41.js} +4 -4
  327. package/dist/{index40.js.map → index41.js.map} +1 -1
  328. package/dist/{index42.js → index43.js} +32 -31
  329. package/dist/{index42.js.map → index43.js.map} +1 -1
  330. package/dist/{index44.js → index45.js} +9 -9
  331. package/dist/index45.js.map +1 -0
  332. package/dist/{index46.js → index47.js} +3 -3
  333. package/dist/{index46.js.map → index47.js.map} +1 -1
  334. package/dist/{index48.js → index49.js} +4 -4
  335. package/dist/{index48.js.map → index49.js.map} +1 -1
  336. package/dist/index5.js +38 -76
  337. package/dist/index5.js.map +1 -1
  338. package/dist/index51.js +95 -0
  339. package/dist/index51.js.map +1 -0
  340. package/dist/{index52.js → index53.js} +3 -3
  341. package/dist/{index52.js.map → index53.js.map} +1 -1
  342. package/dist/{index54.js → index55.js} +3 -3
  343. package/dist/{index54.js.map → index55.js.map} +1 -1
  344. package/dist/{index56.js → index57.js} +2 -2
  345. package/dist/{index56.js.map → index57.js.map} +1 -1
  346. package/dist/{index58.js → index59.js} +7 -6
  347. package/dist/{index58.js.map → index59.js.map} +1 -1
  348. package/dist/index6.js +78 -62
  349. package/dist/index6.js.map +1 -1
  350. package/dist/{index60.js → index61.js} +3 -3
  351. package/dist/{index60.js.map → index61.js.map} +1 -1
  352. package/dist/{index62.js → index63.js} +3 -3
  353. package/dist/{index62.js.map → index63.js.map} +1 -1
  354. package/dist/{index64.js → index65.js} +5 -5
  355. package/dist/{index64.js.map → index65.js.map} +1 -1
  356. package/dist/{index66.js → index67.js} +3 -3
  357. package/dist/{index66.js.map → index67.js.map} +1 -1
  358. package/dist/{index68.js → index69.js} +2 -2
  359. package/dist/{index68.js.map → index69.js.map} +1 -1
  360. package/dist/index7.js +60 -18
  361. package/dist/index7.js.map +1 -1
  362. package/dist/{index70.js → index71.js} +9 -9
  363. package/dist/{index70.js.map → index71.js.map} +1 -1
  364. package/dist/{index72.js → index73.js} +3 -3
  365. package/dist/{index72.js.map → index73.js.map} +1 -1
  366. package/dist/{index74.js → index75.js} +5 -5
  367. package/dist/{index74.js.map → index75.js.map} +1 -1
  368. package/dist/index77.js +37 -120
  369. package/dist/index77.js.map +1 -1
  370. package/dist/index78.js +130 -0
  371. package/dist/index78.js.map +1 -0
  372. package/dist/index8.js +19 -7
  373. package/dist/index8.js.map +1 -1
  374. package/dist/{index79.js → index80.js} +5 -5
  375. package/dist/{index79.js.map → index80.js.map} +1 -1
  376. package/dist/{index81.js → index82.js} +7 -6
  377. package/dist/{index81.js.map → index82.js.map} +1 -1
  378. package/dist/{index83.js → index84.js} +7 -7
  379. package/dist/{index83.js.map → index84.js.map} +1 -1
  380. package/dist/{index85.js → index86.js} +3 -3
  381. package/dist/{index85.js.map → index86.js.map} +1 -1
  382. package/dist/{index87.js → index88.js} +3 -3
  383. package/dist/{index87.js.map → index88.js.map} +1 -1
  384. package/dist/index9.js +7 -78
  385. package/dist/index9.js.map +1 -1
  386. package/dist/{index89.js → index90.js} +3 -3
  387. package/dist/{index89.js.map → index90.js.map} +1 -1
  388. package/dist/{index91.js → index92.js} +3 -3
  389. package/dist/{index91.js.map → index92.js.map} +1 -1
  390. package/dist/{index93.js → index94.js} +1 -1
  391. package/dist/index94.js.map +1 -0
  392. package/dist/{index95.js → index96.js} +3 -3
  393. package/dist/{index95.js.map → index96.js.map} +1 -1
  394. package/dist/{index97.js → index98.js} +3 -3
  395. package/dist/{index97.js.map → index98.js.map} +1 -1
  396. package/dist/style.css +1 -1
  397. package/package.json +2 -2
  398. package/dist/index119.js +0 -47
  399. package/dist/index119.js.map +0 -1
  400. package/dist/index161.js.map +0 -1
  401. package/dist/index163.js +0 -6
  402. package/dist/index163.js.map +0 -1
  403. package/dist/index171.js +0 -5
  404. package/dist/index171.js.map +0 -1
  405. package/dist/index18.js.map +0 -1
  406. package/dist/index185.js.map +0 -1
  407. package/dist/index187.js +0 -6
  408. package/dist/index187.js.map +0 -1
  409. package/dist/index20.js.map +0 -1
  410. package/dist/index216.js +0 -5
  411. package/dist/index216.js.map +0 -1
  412. package/dist/index22.js.map +0 -1
  413. package/dist/index259.js +0 -10
  414. package/dist/index259.js.map +0 -1
  415. package/dist/index262.js +0 -26
  416. package/dist/index262.js.map +0 -1
  417. package/dist/index271.js +0 -12
  418. package/dist/index271.js.map +0 -1
  419. package/dist/index28.js.map +0 -1
  420. package/dist/index299.js +0 -50
  421. package/dist/index299.js.map +0 -1
  422. package/dist/index3.js +0 -17
  423. package/dist/index3.js.map +0 -1
  424. package/dist/index302.js +0 -50
  425. package/dist/index302.js.map +0 -1
  426. package/dist/index32.js.map +0 -1
  427. package/dist/index36.js.map +0 -1
  428. package/dist/index38.js.map +0 -1
  429. package/dist/index44.js.map +0 -1
  430. package/dist/index50.js +0 -97
  431. package/dist/index50.js.map +0 -1
  432. package/dist/index76.js +0 -47
  433. package/dist/index76.js.map +0 -1
  434. package/dist/index93.js.map +0 -1
  435. package/dist/index99.js.map +0 -1
package/dist/index228.js CHANGED
@@ -1,129 +1,6 @@
1
- import { arrow as j, computePosition as A } from "./index233.js";
2
- import { autoUpdate as W, flip as X, hide as Y, offset as Z, platform as ee, shift as ne } from "./index233.js";
3
- import { isNode as B, getNodeName as F } from "./index280.js";
4
- import { getOverflowAncestors as le } from "./index280.js";
5
- import { computed as a, ref as f, shallowRef as I, watch as h, getCurrentScope as U, onScopeDispose as k, shallowReadonly as r, unref as q } from "vue";
6
- function z(e) {
7
- return e != null && typeof e == "object" && "$el" in e;
8
- }
9
- function g(e) {
10
- if (z(e)) {
11
- const l = e.$el;
12
- return B(l) && F(l) === "#comment" ? null : l;
13
- }
14
- return e;
15
- }
16
- function o(e) {
17
- return typeof e == "function" ? e() : q(e);
18
- }
19
- function K(e) {
20
- return {
21
- name: "arrow",
22
- options: e,
23
- fn(l) {
24
- const t = g(o(e.element));
25
- return t == null ? {} : j({
26
- element: t,
27
- padding: e.padding
28
- }).fn(l);
29
- }
30
- };
31
- }
32
- function M(e) {
33
- return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
34
- }
35
- function C(e, l) {
36
- const t = M(e);
37
- return Math.round(l * t) / t;
38
- }
39
- function L(e, l, t) {
40
- t === void 0 && (t = {});
41
- const x = t.whileElementsMounted, V = a(() => {
42
- var n;
43
- return (n = o(t.open)) != null ? n : !0;
44
- }), D = a(() => o(t.middleware)), d = a(() => {
45
- var n;
46
- return (n = o(t.placement)) != null ? n : "bottom";
47
- }), v = a(() => {
48
- var n;
49
- return (n = o(t.strategy)) != null ? n : "absolute";
50
- }), S = a(() => {
51
- var n;
52
- return (n = o(t.transform)) != null ? n : !0;
53
- }), i = a(() => g(e.value)), u = a(() => g(l.value)), p = f(0), w = f(0), c = f(v.value), O = f(d.value), P = I({}), y = f(!1), _ = a(() => {
54
- const n = {
55
- position: c.value,
56
- left: "0",
57
- top: "0"
58
- };
59
- if (!u.value)
60
- return n;
61
- const R = C(u.value, p.value), b = C(u.value, w.value);
62
- return S.value ? {
63
- ...n,
64
- transform: "translate(" + R + "px, " + b + "px)",
65
- ...M(u.value) >= 1.5 && {
66
- willChange: "transform"
67
- }
68
- } : {
69
- position: c.value,
70
- left: R + "px",
71
- top: b + "px"
72
- };
73
- });
74
- let s;
75
- function m() {
76
- i.value == null || u.value == null || A(i.value, u.value, {
77
- middleware: D.value,
78
- placement: d.value,
79
- strategy: v.value
80
- }).then((n) => {
81
- p.value = n.x, w.value = n.y, c.value = n.strategy, O.value = n.placement, P.value = n.middlewareData, y.value = !0;
82
- });
83
- }
84
- function E() {
85
- typeof s == "function" && (s(), s = void 0);
86
- }
87
- function N() {
88
- if (E(), x === void 0) {
89
- m();
90
- return;
91
- }
92
- if (i.value != null && u.value != null) {
93
- s = x(i.value, u.value, m);
94
- return;
95
- }
96
- }
97
- function $() {
98
- V.value || (y.value = !1);
99
- }
100
- return h([D, d, v], m, {
101
- flush: "sync"
102
- }), h([i, u], N, {
103
- flush: "sync"
104
- }), h(V, $, {
105
- flush: "sync"
106
- }), U() && k(E), {
107
- x: r(p),
108
- y: r(w),
109
- strategy: r(c),
110
- placement: r(O),
111
- middlewareData: r(P),
112
- isPositioned: r(y),
113
- floatingStyles: _,
114
- update: m
115
- };
116
- }
1
+ import r from "./index272.js";
2
+ const t = r;
117
3
  export {
118
- K as arrow,
119
- W as autoUpdate,
120
- A as computePosition,
121
- X as flip,
122
- le as getOverflowAncestors,
123
- Y as hide,
124
- Z as offset,
125
- ee as platform,
126
- ne as shift,
127
- L as useFloating
4
+ t as deburr
128
5
  };
129
6
  //# sourceMappingURL=index228.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index228.js","sources":["../node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs"],"sourcesContent":["import { arrow as arrow$1, computePosition } from '@floating-ui/dom';\nexport { autoPlacement, autoUpdate, computePosition, detectOverflow, flip, getOverflowAncestors, hide, inline, limitShift, offset, platform, shift, size } from '@floating-ui/dom';\nimport { isNode, getNodeName } from '@floating-ui/utils/dom';\nimport { unref, computed, ref, shallowRef, watch, getCurrentScope, onScopeDispose, shallowReadonly } from 'vue-demi';\n\nfunction isComponentPublicInstance(target) {\n return target != null && typeof target === 'object' && '$el' in target;\n}\nfunction unwrapElement(target) {\n if (isComponentPublicInstance(target)) {\n const element = target.$el;\n return isNode(element) && getNodeName(element) === '#comment' ? null : element;\n }\n return target;\n}\n\nfunction toValue(source) {\n return typeof source === 'function' ? source() : unref(source);\n}\n\n/**\n * Positions an inner element of the floating element such that it is centered to the reference element.\n * @param options The arrow options.\n * @see https://floating-ui.com/docs/arrow\n */\nfunction arrow(options) {\n return {\n name: 'arrow',\n options,\n fn(args) {\n const element = unwrapElement(toValue(options.element));\n if (element == null) {\n return {};\n }\n return arrow$1({\n element,\n padding: options.padding\n }).fn(args);\n }\n };\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element next to a reference element when it is given a certain CSS positioning strategy.\n * @param reference The reference template ref.\n * @param floating The floating template ref.\n * @param options The floating options.\n * @see https://floating-ui.com/docs/vue\n */\nfunction useFloating(reference, floating, options) {\n if (options === void 0) {\n options = {};\n }\n const whileElementsMountedOption = options.whileElementsMounted;\n const openOption = computed(() => {\n var _toValue;\n return (_toValue = toValue(options.open)) != null ? _toValue : true;\n });\n const middlewareOption = computed(() => toValue(options.middleware));\n const placementOption = computed(() => {\n var _toValue2;\n return (_toValue2 = toValue(options.placement)) != null ? _toValue2 : 'bottom';\n });\n const strategyOption = computed(() => {\n var _toValue3;\n return (_toValue3 = toValue(options.strategy)) != null ? _toValue3 : 'absolute';\n });\n const transformOption = computed(() => {\n var _toValue4;\n return (_toValue4 = toValue(options.transform)) != null ? _toValue4 : true;\n });\n const referenceElement = computed(() => unwrapElement(reference.value));\n const floatingElement = computed(() => unwrapElement(floating.value));\n const x = ref(0);\n const y = ref(0);\n const strategy = ref(strategyOption.value);\n const placement = ref(placementOption.value);\n const middlewareData = shallowRef({});\n const isPositioned = ref(false);\n const floatingStyles = computed(() => {\n const initialStyles = {\n position: strategy.value,\n left: '0',\n top: '0'\n };\n if (!floatingElement.value) {\n return initialStyles;\n }\n const xVal = roundByDPR(floatingElement.value, x.value);\n const yVal = roundByDPR(floatingElement.value, y.value);\n if (transformOption.value) {\n return {\n ...initialStyles,\n transform: \"translate(\" + xVal + \"px, \" + yVal + \"px)\",\n ...(getDPR(floatingElement.value) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy.value,\n left: xVal + \"px\",\n top: yVal + \"px\"\n };\n });\n let whileElementsMountedCleanup;\n function update() {\n if (referenceElement.value == null || floatingElement.value == null) {\n return;\n }\n computePosition(referenceElement.value, floatingElement.value, {\n middleware: middlewareOption.value,\n placement: placementOption.value,\n strategy: strategyOption.value\n }).then(position => {\n x.value = position.x;\n y.value = position.y;\n strategy.value = position.strategy;\n placement.value = position.placement;\n middlewareData.value = position.middlewareData;\n isPositioned.value = true;\n });\n }\n function cleanup() {\n if (typeof whileElementsMountedCleanup === 'function') {\n whileElementsMountedCleanup();\n whileElementsMountedCleanup = undefined;\n }\n }\n function attach() {\n cleanup();\n if (whileElementsMountedOption === undefined) {\n update();\n return;\n }\n if (referenceElement.value != null && floatingElement.value != null) {\n whileElementsMountedCleanup = whileElementsMountedOption(referenceElement.value, floatingElement.value, update);\n return;\n }\n }\n function reset() {\n if (!openOption.value) {\n isPositioned.value = false;\n }\n }\n watch([middlewareOption, placementOption, strategyOption], update, {\n flush: 'sync'\n });\n watch([referenceElement, floatingElement], attach, {\n flush: 'sync'\n });\n watch(openOption, reset, {\n flush: 'sync'\n });\n if (getCurrentScope()) {\n onScopeDispose(cleanup);\n }\n return {\n x: shallowReadonly(x),\n y: shallowReadonly(y),\n strategy: shallowReadonly(strategy),\n placement: shallowReadonly(placement),\n middlewareData: shallowReadonly(middlewareData),\n isPositioned: shallowReadonly(isPositioned),\n floatingStyles,\n update\n };\n}\n\nexport { arrow, useFloating };\n"],"names":["isComponentPublicInstance","target","unwrapElement","element","isNode","getNodeName","toValue","source","unref","arrow","options","args","arrow$1","getDPR","roundByDPR","value","dpr","useFloating","reference","floating","whileElementsMountedOption","openOption","computed","_toValue","middlewareOption","placementOption","_toValue2","strategyOption","_toValue3","transformOption","_toValue4","referenceElement","floatingElement","x","ref","y","strategy","placement","middlewareData","shallowRef","isPositioned","floatingStyles","initialStyles","xVal","yVal","whileElementsMountedCleanup","update","computePosition","position","cleanup","attach","reset","watch","getCurrentScope","onScopeDispose","shallowReadonly"],"mappings":";;;;;AAKA,SAASA,EAA0BC,GAAQ;AACzC,SAAOA,KAAU,QAAQ,OAAOA,KAAW,YAAY,SAASA;AAClE;AACA,SAASC,EAAcD,GAAQ;AAC7B,MAAID,EAA0BC,CAAM,GAAG;AACrC,UAAME,IAAUF,EAAO;AACvB,WAAOG,EAAOD,CAAO,KAAKE,EAAYF,CAAO,MAAM,aAAa,OAAOA;AAAA,EACxE;AACD,SAAOF;AACT;AAEA,SAASK,EAAQC,GAAQ;AACvB,SAAO,OAAOA,KAAW,aAAaA,EAAM,IAAKC,EAAMD,CAAM;AAC/D;AAOA,SAASE,EAAMC,GAAS;AACtB,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAAA;AAAA,IACA,GAAGC,GAAM;AACP,YAAMR,IAAUD,EAAcI,EAAQI,EAAQ,OAAO,CAAC;AACtD,aAAIP,KAAW,OACN,KAEFS,EAAQ;AAAA,QACb,SAAAT;AAAA,QACA,SAASO,EAAQ;AAAA,MACzB,CAAO,EAAE,GAAGC,CAAI;AAAA,IACX;AAAA,EACL;AACA;AAEA,SAASE,EAAOV,GAAS;AACvB,SAAI,OAAO,SAAW,MACb,KAEGA,EAAQ,cAAc,eAAe,QACtC,oBAAoB;AACjC;AAEA,SAASW,EAAWX,GAASY,GAAO;AAClC,QAAMC,IAAMH,EAAOV,CAAO;AAC1B,SAAO,KAAK,MAAMY,IAAQC,CAAG,IAAIA;AACnC;AASA,SAASC,EAAYC,GAAWC,GAAUT,GAAS;AACjD,EAAIA,MAAY,WACd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O;AAAA,IACvB,OAAO;AAAA,EACX,CAAG,GACGE,EAAe,KACjBC,EAAeL,CAAO,GAEjB;AAAA,IACL,GAAGM,EAAgBtB,CAAC;AAAA,IACpB,GAAGsB,EAAgBpB,CAAC;AAAA,IACpB,UAAUoB,EAAgBnB,CAAQ;AAAA,IAClC,WAAWmB,EAAgBlB,CAAS;AAAA,IACpC,gBAAgBkB,EAAgBjB,CAAc;AAAA,IAC9C,cAAciB,EAAgBf,CAAY;AAAA,IAC1C,gBAAAC;AAAA,IACA,QAAAK;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index228.js","sources":["../src/utilities/functions/deburr.ts"],"sourcesContent":["import d from 'lodash.deburr';\n\nexport const deburr = d;\n"],"names":["deburr","d"],"mappings":";AAEO,MAAMA,IAASC;"}
package/dist/index229.js CHANGED
@@ -1,126 +1,6 @@
1
- import { getDefaultExportFromCjs as R, commonjsGlobal as W } from "./index245.js";
2
- import { __module as G } from "./index279.js";
3
- (function(V, rt) {
4
- (function(b, Z) {
5
- V.exports = Z();
6
- })(W, function() {
7
- var b = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, Z = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, $ = /\d\d/, i = /\d\d?/, y = /\d*[^-_:/,()\s\d]+/, m = {}, U = function(t) {
8
- return (t = +t) + (t > 68 ? 1900 : 2e3);
9
- }, o = function(t) {
10
- return function(r) {
11
- this[t] = +r;
12
- };
13
- }, j = [/[+-]\d\d:?(\d\d)?|Z/, function(t) {
14
- (this.zone || (this.zone = {})).offset = function(r) {
15
- if (!r || r === "Z") return 0;
16
- var n = r.match(/([+-]|\d\d)/g), e = 60 * n[1] + (+n[2] || 0);
17
- return e === 0 ? 0 : n[0] === "+" ? -e : e;
18
- }(t);
19
- }], F = function(t) {
20
- var r = m[t];
21
- return r && (r.indexOf ? r : r.s.concat(r.f));
22
- }, k = function(t, r) {
23
- var n, e = m.meridiem;
24
- if (e) {
25
- for (var c = 1; c <= 24; c += 1) if (t.indexOf(e(c, 0, r)) > -1) {
26
- n = c > 12;
27
- break;
28
- }
29
- } else n = t === (r ? "pm" : "PM");
30
- return n;
31
- }, q = { A: [y, function(t) {
32
- this.afternoon = k(t, !1);
33
- }], a: [y, function(t) {
34
- this.afternoon = k(t, !0);
35
- }], S: [/\d/, function(t) {
36
- this.milliseconds = 100 * +t;
37
- }], SS: [$, function(t) {
38
- this.milliseconds = 10 * +t;
39
- }], SSS: [/\d{3}/, function(t) {
40
- this.milliseconds = +t;
41
- }], s: [i, o("seconds")], ss: [i, o("seconds")], m: [i, o("minutes")], mm: [i, o("minutes")], H: [i, o("hours")], h: [i, o("hours")], HH: [i, o("hours")], hh: [i, o("hours")], D: [i, o("day")], DD: [$, o("day")], Do: [y, function(t) {
42
- var r = m.ordinal, n = t.match(/\d+/);
43
- if (this.day = n[0], r) for (var e = 1; e <= 31; e += 1) r(e).replace(/\[|\]/g, "") === t && (this.day = e);
44
- }], M: [i, o("month")], MM: [$, o("month")], MMM: [y, function(t) {
45
- var r = F("months"), n = (F("monthsShort") || r.map(function(e) {
46
- return e.slice(0, 3);
47
- })).indexOf(t) + 1;
48
- if (n < 1) throw new Error();
49
- this.month = n % 12 || n;
50
- }], MMMM: [y, function(t) {
51
- var r = F("months").indexOf(t) + 1;
52
- if (r < 1) throw new Error();
53
- this.month = r % 12 || r;
54
- }], Y: [/[+-]?\d+/, o("year")], YY: [$, function(t) {
55
- this.year = U(t);
56
- }], YYYY: [/\d{4}/, o("year")], Z: j, ZZ: j };
57
- function B(t) {
58
- var r, n;
59
- r = t, n = m && m.formats;
60
- for (var e = (t = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(v, l, f) {
61
- var a = f && f.toUpperCase();
62
- return l || n[f] || b[f] || n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(M, Y, D) {
63
- return Y || D.slice(1);
64
- });
65
- })).match(Z), c = e.length, h = 0; h < c; h += 1) {
66
- var w = e[h], p = q[w], u = p && p[0], d = p && p[1];
67
- e[h] = d ? { regex: u, parser: d } : w.replace(/^\[|\]$/g, "");
68
- }
69
- return function(v) {
70
- for (var l = {}, f = 0, a = 0; f < c; f += 1) {
71
- var M = e[f];
72
- if (typeof M == "string") a += M.length;
73
- else {
74
- var Y = M.regex, D = M.parser, S = v.slice(a), g = Y.exec(S)[0];
75
- D.call(l, g), v = v.replace(g, "");
76
- }
77
- }
78
- return function(L) {
79
- var s = L.afternoon;
80
- if (s !== void 0) {
81
- var x = L.hours;
82
- s ? x < 12 && (L.hours += 12) : x === 12 && (L.hours = 0), delete L.afternoon;
83
- }
84
- }(l), l;
85
- };
86
- }
87
- return function(t, r, n) {
88
- n.p.customParseFormat = !0, t && t.parseTwoDigitYear && (U = t.parseTwoDigitYear);
89
- var e = r.prototype, c = e.parse;
90
- e.parse = function(h) {
91
- var w = h.date, p = h.utc, u = h.args;
92
- this.$u = p;
93
- var d = u[1];
94
- if (typeof d == "string") {
95
- var v = u[2] === !0, l = u[3] === !0, f = v || l, a = u[2];
96
- l && (a = u[2]), m = this.$locale(), !v && a && (m = n.Ls[a]), this.$d = function(S, g, L) {
97
- try {
98
- if (["x", "X"].indexOf(g) > -1) return new Date((g === "X" ? 1e3 : 1) * S);
99
- var s = B(g)(S), x = s.year, A = s.month, I = s.day, J = s.hours, K = s.minutes, N = s.seconds, Q = s.milliseconds, X = s.zone, H = /* @__PURE__ */ new Date(), O = I || (x || A ? 1 : H.getDate()), P = x || H.getFullYear(), T = 0;
100
- x && !A || (T = A > 0 ? A - 1 : H.getMonth());
101
- var z = J || 0, C = K || 0, E = N || 0, _ = Q || 0;
102
- return X ? new Date(Date.UTC(P, T, O, z, C, E, _ + 60 * X.offset * 1e3)) : L ? new Date(Date.UTC(P, T, O, z, C, E, _)) : new Date(P, T, O, z, C, E, _);
103
- } catch {
104
- return /* @__PURE__ */ new Date("");
105
- }
106
- }(w, d, p), this.init(), a && a !== !0 && (this.$L = this.locale(a).$L), f && w != this.format(d) && (this.$d = /* @__PURE__ */ new Date("")), m = {};
107
- } else if (d instanceof Array) for (var M = d.length, Y = 1; Y <= M; Y += 1) {
108
- u[1] = d[Y - 1];
109
- var D = n.apply(this, u);
110
- if (D.isValid()) {
111
- this.$d = D.$d, this.$L = D.$L, this.init();
112
- break;
113
- }
114
- Y === M && (this.$d = /* @__PURE__ */ new Date(""));
115
- }
116
- else c.call(this, h);
117
- };
118
- };
119
- });
120
- })(G);
121
- var tt = G.exports;
122
- const at = /* @__PURE__ */ R(tt);
1
+ import t from "./index273.js";
2
+ const r = t;
123
3
  export {
124
- at as default
4
+ r as throttle
125
5
  };
126
6
  //# sourceMappingURL=index229.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index229.js","sources":["../node_modules/dayjs/plugin/customParseFormat.js"],"sourcesContent":["!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=t()}(this,(function(){\"use strict\";var e={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},t=/(\\[[^[]*\\])|([-_:/.,()\\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\\d\\d/,r=/\\d\\d?/,i=/\\d*[^-_:/,()\\s\\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)};var a=function(e){return function(t){this[e]=+t}},f=[/[+-]\\d\\d:?(\\d\\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if(\"Z\"===e)return 0;var t=e.match(/([+-]|\\d\\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:\"+\"===t[0]?-n:n}(e)}],h=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?\"pm\":\"PM\");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\\d{3}/,function(e){this.milliseconds=+e}],s:[r,a(\"seconds\")],ss:[r,a(\"seconds\")],m:[r,a(\"minutes\")],mm:[r,a(\"minutes\")],H:[r,a(\"hours\")],h:[r,a(\"hours\")],HH:[r,a(\"hours\")],hh:[r,a(\"hours\")],D:[r,a(\"day\")],DD:[n,a(\"day\")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\\[|\\]/g,\"\")===e&&(this.day=r)}],M:[r,a(\"month\")],MM:[n,a(\"month\")],MMM:[i,function(e){var t=h(\"months\"),n=(h(\"monthsShort\")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=h(\"months\").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\\d+/,a(\"year\")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\\d{4}/,a(\"year\")],Z:f,ZZ:f};function c(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\\[[^\\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=s.length,f=0;f<a;f+=1){var h=s[f],u=d[h],c=u&&u[0],l=u&&u[1];s[f]=l?{regex:c,parser:l}:h.replace(/^\\[|\\]$/g,\"\")}return function(e){for(var t={},n=0,r=0;n<a;n+=1){var i=s[n];if(\"string\"==typeof i)r+=i.length;else{var o=i.regex,f=i.parser,h=e.slice(r),u=o.exec(h)[0];f.call(t,u),e=e.replace(u,\"\")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,s=e.args;this.$u=r;var a=s[1];if(\"string\"==typeof a){var f=!0===s[2],h=!0===s[3],u=f||h,d=s[2];h&&(d=s[2]),o=this.$locale(),!f&&d&&(o=n.Ls[d]),this.$d=function(e,t,n){try{if([\"x\",\"X\"].indexOf(t)>-1)return new Date((\"X\"===t?1e3:1)*e);var r=c(t)(e),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,h=r.seconds,u=r.milliseconds,d=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var p=a||0,v=f||0,D=h||0,g=u||0;return d?new Date(Date.UTC(M,Y,m,p,v,D,g+60*d.offset*1e3)):n?new Date(Date.UTC(M,Y,m,p,v,D,g)):new Date(M,Y,m,p,v,D,g)}catch(e){return new Date(\"\")}}(t,a,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date(\"\")),o={}}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=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K,IAAIa,GAAEC,GAAEF,GAAEG,GAAEC,GAAEC,GAAEC,CAAC,CAAC,IAAE,IAAI,KAAKL,GAAEC,GAAEF,GAAEG,GAAEC,GAAEC,GAAEC,CAAC;AAAA,YAAC,QAAS;AAAC,qBAAO,oBAAI,KAAK,EAAE;AAAA,YAAC;AAAA,UAAC,EAAErB,GAAEQ,GAAEJ,CAAC,GAAE,KAAK,KAAI,GAAGQ,KAAQA,MAAL,OAAS,KAAK,KAAG,KAAK,OAAOA,CAAC,EAAE,KAAID,KAAGX,KAAG,KAAK,OAAOQ,CAAC,MAAI,KAAK,KAAG,oBAAI,KAAK,EAAE,IAAGF,IAAE,CAAA;AAAA,QAAE,WAASE,aAAa,MAAM,UAAQM,IAAEN,EAAE,QAAOO,IAAE,GAAEA,KAAGD,GAAEC,KAAG,GAAE;AAAC,UAAAR,EAAE,CAAC,IAAEC,EAAEO,IAAE,CAAC;AAAE,cAAIC,IAAE,EAAE,MAAM,MAAKT,CAAC;AAAE,cAAGS,EAAE,QAAO,GAAG;AAAC,iBAAK,KAAGA,EAAE,IAAG,KAAK,KAAGA,EAAE,IAAG,KAAK,KAAM;AAAC;AAAA,UAAK;AAAC,UAAAD,MAAID,MAAI,KAAK,KAAG,oBAAI,KAAK,EAAE;AAAA,QAAE;AAAA,YAAM,CAAAT,EAAE,KAAK,MAAKN,CAAC;AAAA,MAAC;AAAA,IAAC;AAAA,EAAC,CAAC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index229.js","sources":["../src/utilities/functions/throttle.ts"],"sourcesContent":["import t from 'lodash.throttle';\n\nexport const throttle = t;\n"],"names":["throttle"],"mappings":";AAEO,MAAMA,IAAW;"}
@@ -1,12 +1,12 @@
1
- import { defineComponent as ae, ref as o, getCurrentInstance as se, computed as g, nextTick as G, useAttrs as ne, onMounted as ie, onBeforeUnmount as P, watch as re, openBlock as w, createBlock as ue, Teleport as de, createElementVNode as a, mergeProps as K, createElementBlock as T, renderSlot as u, createTextVNode as ce, toDisplayString as z, createCommentVNode as H } from "vue";
2
- import { throttle as ve } from "./index224.js";
3
- import { useFocusTrap as be } from "./index225.js";
4
- import { useId as U } from "./index7.js";
5
- import { wait as $ } from "./index126.js";
6
- import { waitFor as fe } from "./index226.js";
7
- import { useModalsState as k } from "./index227.js";
8
- import { useLogger as pe } from "./index207.js";
9
- const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-close__content" }, he = { class: "bb-base-dialog-close__label" }, ye = /* @__PURE__ */ a("span", { class: "bb-base-dialog-close__icon" }, [
1
+ import { defineComponent as ae, ref as o, getCurrentInstance as se, computed as m, nextTick as N, useAttrs as ne, onMounted as ie, onBeforeUnmount as F, watch as re, openBlock as _, createBlock as ue, Teleport as de, createElementVNode as a, mergeProps as G, createElementBlock as T, renderSlot as u, createTextVNode as ce, toDisplayString as P, createCommentVNode as z } from "vue";
2
+ import { throttle as ve } from "./index229.js";
3
+ import { useFocusTrap as fe } from "./index212.js";
4
+ import { useId as K } from "./index8.js";
5
+ import { wait as H } from "./index127.js";
6
+ import { waitFor as be } from "./index214.js";
7
+ import { useModalsState as k } from "./index230.js";
8
+ import { useLogger as pe } from "./index203.js";
9
+ const me = { class: "bb-base-dialog-close" }, ge = ["aria-label"], ye = /* @__PURE__ */ a("span", { class: "bb-base-dialog-close__icon" }, [
10
10
  /* @__PURE__ */ a("svg", {
11
11
  "aria-hidden": "true",
12
12
  fill: "none",
@@ -20,7 +20,7 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
20
20
  "stroke-width": "2"
21
21
  })
22
22
  ])
23
- ], -1), _e = /* @__PURE__ */ a("div", { style: { flex: "10000 10000 0%" } }, null, -1), He = /* @__PURE__ */ ae({
23
+ ], -1), he = /* @__PURE__ */ a("div", { style: { flex: "10000 10000 0%" } }, null, -1), ze = /* @__PURE__ */ ae({
24
24
  __name: "BaseDialog",
25
25
  props: {
26
26
  closeLabel: { default: "Chiudi modale" },
@@ -41,70 +41,70 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
41
41
  modelValue: { type: [Boolean, null] }
42
42
  },
43
43
  emits: ["shown", "hidden", "update:modelValue"],
44
- setup(j, { emit: q }) {
45
- var W, N;
46
- const t = j, d = q, C = `title_${U().id.value}`, B = `description_${U().id.value}`, m = o(null), c = o(null), L = o(null), h = o(null), v = o(null), s = o(null), b = o(null), J = o(null), M = !!((N = (W = se()) == null ? void 0 : W.proxy) != null && N.$nuxt), y = o(0), Q = g(() => {
44
+ setup(U, { emit: j }) {
45
+ var I, R;
46
+ const t = U, d = j, C = `title_${K().id.value}`, B = `description_${K().id.value}`, g = o(null), c = o(null), $ = o(null), y = o(null), v = o(null), s = o(null), f = o(null), q = o(null), L = !!((R = (I = se()) == null ? void 0 : I.proxy) != null && R.$nuxt), h = o(0), J = m(() => {
47
47
  const { openedModals: e } = k();
48
- return e.value && e.value === y.value;
49
- }), { activate: X, deactivate: x } = be(L, {
48
+ return e.value && e.value === h.value;
49
+ }), { activate: Q, deactivate: M } = fe($, {
50
50
  initialFocus: t.focusTarget ?? void 0,
51
51
  clickOutsideDeactivates: (e) => e.target === c.value,
52
52
  allowOutsideClick: !0,
53
53
  /* On esc deactivate the trap, return focus and then close the modal */
54
- escapeDeactivates: () => (G(() => {
54
+ escapeDeactivates: () => (N(() => {
55
55
  d("update:modelValue", !1);
56
56
  }), !0)
57
- }), Y = ne(), O = g(() => t.closeLabel);
57
+ }), X = ne(), Y = m(() => t.closeLabel);
58
58
  ie(async () => {
59
- s.value && (m.value = new ResizeObserver(r), m.value.observe(s.value)), window.addEventListener("resize", r), r(), !(!t.modelValue && !i.value) && (M && !globalThis.document || E());
60
- }), P(() => {
59
+ s.value && (g.value = new ResizeObserver(r), g.value.observe(s.value)), window.addEventListener("resize", r), r(), !(!t.modelValue && !i.value) && (L && !globalThis.document || S());
60
+ }), F(() => {
61
61
  window.removeEventListener("resize", r);
62
62
  });
63
- const V = o(!1), f = o(!1), D = o(!0), p = o(!1), i = o(t.eager || t.modelValue), S = g(() => f.value || p.value), Z = () => {
63
+ const V = o(!1), b = o(!1), D = o(!0), p = o(!1), i = o(t.eager || t.modelValue), O = m(() => b.value || p.value), Z = () => {
64
64
  if (!globalThis.document) return;
65
65
  const e = window.innerWidth - document.documentElement.clientWidth;
66
66
  document.body.style.overflow = "hidden", document.body.style.paddingRight = `${e}px`;
67
- }, A = () => {
67
+ }, x = () => {
68
68
  globalThis.document && (document.body.style.overflow = "auto", document.body.style.paddingRight = "0px");
69
69
  };
70
- P(() => {
70
+ F(() => {
71
71
  if (t.modelValue) {
72
72
  const { openedModals: e, modalHasClosed: l } = k();
73
- e.value && (l(), y.value = 0, A());
73
+ e.value && (l(), h.value = 0, x());
74
74
  }
75
75
  });
76
- const E = async () => {
76
+ const S = async () => {
77
77
  if (t.modelValue) {
78
- i.value || (i.value = !0, await fe(() => !!s.value), await G(), s.value && (m.value = new ResizeObserver(r), m.value.observe(s.value))), D.value = !1, p.value = !1, f.value = !0;
78
+ i.value || (i.value = !0, await be(() => !!s.value), await N(), s.value && (g.value = new ResizeObserver(r), g.value.observe(s.value))), D.value = !1, p.value = !1, b.value = !0;
79
79
  const { modalHasOpened: e, openedModals: l } = k();
80
- e(), y.value = l.value, Z(), await $(t.transitionDuration), f.value = !1, V.value = !0, d("shown"), X();
80
+ e(), h.value = l.value, Z(), await H(t.transitionDuration), b.value = !1, V.value = !0, d("shown"), Q();
81
81
  } else {
82
- x(), f.value = !1, V.value = !1, p.value = !0, await $(t.transitionDuration), p.value = !1, D.value = !0;
82
+ M(), b.value = !1, V.value = !1, p.value = !0, await H(t.transitionDuration), p.value = !1, D.value = !0;
83
83
  const { modalHasClosed: e, openedModals: l } = k();
84
- e(), y.value = 0, l.value || A(), d("hidden");
84
+ e(), h.value = 0, l.value || x(), d("hidden");
85
85
  }
86
86
  };
87
87
  re(
88
88
  () => t.modelValue,
89
89
  () => {
90
- !t.modelValue && !i.value || M && !globalThis.document || E();
90
+ !t.modelValue && !i.value || L && !globalThis.document || S();
91
91
  },
92
92
  { flush: "post" }
93
93
  );
94
- const _ = (e) => {
94
+ const w = (e) => {
95
95
  e.target === c.value && e.preventDefault();
96
96
  }, ee = (e) => {
97
- t.disabled || S.value || c.value && e.target === c.value && (t.persistent || d("update:modelValue", !1));
98
- }, I = () => {
99
- t.disabled || S.value || (x(), d("update:modelValue", !1));
100
- }, te = g(() => {
97
+ t.disabled || O.value || c.value && e.target === c.value && (t.persistent || d("update:modelValue", !1));
98
+ }, A = () => {
99
+ t.disabled || O.value || (M(), d("update:modelValue", !1));
100
+ }, te = m(() => {
101
101
  const e = [
102
102
  {
103
103
  "bb-base-dialog bb-base-dialog__overlay": !0,
104
104
  "bb-base-dialog--fullscreen": t.fullscreen,
105
- "bb-base-dialog--faded": !Q.value,
105
+ "bb-base-dialog--faded": !J.value,
106
106
  "bb-base-dialog--open": V.value,
107
- "bb-base-dialog--opening": f.value,
107
+ "bb-base-dialog--opening": b.value,
108
108
  "bb-base-dialog--closed": D.value,
109
109
  "bb-base-dialog--closing": p.value,
110
110
  [`bb-base-dialog--transition-${t.transition}`]: !0
@@ -112,10 +112,10 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
112
112
  t.overlayClasses
113
113
  ].flat(), l = {
114
114
  onClick: ee,
115
- onScroll: _,
116
- onTouchmove: _,
117
- onWheel: _,
118
- onKeydown: _
115
+ onScroll: w,
116
+ onTouchmove: w,
117
+ onWheel: w,
118
+ onKeydown: w
119
119
  }, n = {
120
120
  transitionDuration: t.transitionDuration / 1e3 + "s"
121
121
  };
@@ -123,9 +123,9 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
123
123
  class: e,
124
124
  style: n,
125
125
  ...l,
126
- ...Y
126
+ ...X
127
127
  };
128
- }), le = g(() => {
128
+ }), le = m(() => {
129
129
  const e = [
130
130
  {
131
131
  "bb-base-dialog__panel": !0,
@@ -138,12 +138,12 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
138
138
  };
139
139
  i.value && (t.title && (l["aria-labelledby"] = C), t.description && (l["aria-describedby"] = B));
140
140
  let n;
141
- const F = {
141
+ const W = {
142
142
  sm: 384,
143
143
  md: 652,
144
144
  lg: 896
145
145
  };
146
- t.fullscreen ? n = "100%" : typeof t.size == "number" ? n = t.size + "px" : t.size in F ? n = F[t.size] + "px" : n = t.size + "px";
146
+ t.fullscreen ? n = "100%" : typeof t.size == "number" ? n = t.size + "px" : t.size in W ? n = W[t.size] + "px" : n = t.size + "px";
147
147
  const oe = {
148
148
  maxWidth: n,
149
149
  transitionDuration: t.transitionDuration / 1e3 + "s"
@@ -154,23 +154,23 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
154
154
  ...l
155
155
  };
156
156
  });
157
- let R = 0;
157
+ let E = 0;
158
158
  const r = ve(
159
159
  async () => {
160
- if (R++, R === 100) {
160
+ if (E++, E === 100) {
161
161
  const { error: e } = pe();
162
162
  e(
163
163
  "Dialog is updating its height too often. Please check the content is reliably sized."
164
164
  );
165
165
  }
166
166
  if (t.fullscreen) {
167
- J.value = window.innerHeight;
167
+ q.value = window.innerHeight;
168
168
  return;
169
169
  }
170
- if (v.value && s.value && b.value) {
171
- const e = v.value.scrollHeight + s.value.scrollHeight + b.value.scrollHeight + 2;
172
- if (h.value && (h.value.style.height = "0px", h.value.style.height = `${e + 2}px`, await $(30), v.value && s.value && b.value)) {
173
- const l = v.value.scrollHeight + s.value.scrollHeight + b.value.scrollHeight + 2;
170
+ if (v.value && s.value && f.value) {
171
+ const e = v.value.scrollHeight + s.value.scrollHeight + f.value.scrollHeight + 2;
172
+ if (y.value && (y.value.style.height = "0px", y.value.style.height = `${e + 2}px`, await H(30), v.value && s.value && f.value)) {
173
+ const l = v.value.scrollHeight + s.value.scrollHeight + f.value.scrollHeight + 2;
174
174
  e !== l && r();
175
175
  }
176
176
  }
@@ -178,19 +178,19 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
178
178
  200,
179
179
  { trailing: !0 }
180
180
  );
181
- return (e, l) => (w(), ue(de, { to: "body" }, [
182
- a("div", K(te.value, {
181
+ return (e, l) => (_(), ue(de, { to: "body" }, [
182
+ a("div", G(te.value, {
183
183
  ref_key: "overlay",
184
184
  ref: c
185
185
  }), [
186
- a("div", K(le.value, {
186
+ a("div", G(le.value, {
187
187
  ref_key: "panel",
188
- ref: L
188
+ ref: $
189
189
  }), [
190
- i.value ? (w(), T("div", {
190
+ i.value ? (_(), T("div", {
191
191
  key: 0,
192
192
  ref_key: "content",
193
- ref: h,
193
+ ref: y,
194
194
  class: "bb-base-dialog__content"
195
195
  }, [
196
196
  a("div", {
@@ -199,7 +199,7 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
199
199
  class: "bb-base-dialog__header"
200
200
  }, [
201
201
  u(e.$slots, "header", {
202
- close: I,
202
+ close: A,
203
203
  title: e.title,
204
204
  titleId: C
205
205
  }, () => [
@@ -208,22 +208,20 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
208
208
  class: "bb-base-dialog__title"
209
209
  }, [
210
210
  u(e.$slots, "title", { text: e.title }, () => [
211
- ce(z(e.title), 1)
211
+ ce(P(e.title), 1)
212
212
  ])
213
213
  ]),
214
- a("span", ge, [
215
- e.showClose ? (w(), T("button", {
214
+ a("span", me, [
215
+ e.showClose ? (_(), T("button", {
216
216
  key: 0,
217
+ "aria-label": Y.value,
217
218
  type: "button",
218
- onClick: I
219
+ onClick: A
219
220
  }, [
220
- u(e.$slots, "close", { text: O.value }, () => [
221
- a("span", me, [
222
- a("span", he, z(O.value), 1),
223
- ye
224
- ])
221
+ u(e.$slots, "close", {}, () => [
222
+ ye
225
223
  ])
226
- ])) : H("", !0)
224
+ ], 8, ge)) : z("", !0)
227
225
  ])
228
226
  ])
229
227
  ], 512),
@@ -236,29 +234,29 @@ const ge = { class: "bb-base-dialog-close" }, me = { class: "bb-base-dialog-clos
236
234
  descriptionId: B,
237
235
  text: e.description
238
236
  }, () => [
239
- e.description ? (w(), T("div", {
237
+ e.description ? (_(), T("div", {
240
238
  key: 0,
241
239
  id: B,
242
- class: "bb-base-dialog__description"
243
- }, z(e.description), 1)) : H("", !0)
240
+ class: "bb-base-dialog__description sr-only"
241
+ }, P(e.description), 1)) : z("", !0)
244
242
  ]),
245
243
  u(e.$slots, "default")
246
244
  ], 512),
247
- _e,
245
+ he,
248
246
  a("div", {
249
247
  ref_key: "footer",
250
- ref: b,
248
+ ref: f,
251
249
  class: "bb-base-dialog__footer"
252
250
  }, [
253
251
  u(e.$slots, "footer")
254
252
  ], 512)
255
- ], 512)) : H("", !0)
253
+ ], 512)) : z("", !0)
256
254
  ], 16)
257
255
  ], 16)
258
256
  ]));
259
257
  }
260
258
  });
261
259
  export {
262
- He as default
260
+ ze as default
263
261
  };
264
- //# sourceMappingURL=index22.js.map
262
+ //# sourceMappingURL=index23.js.map