bitboss-ui 0.2.38 → 0.2.40

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 (451) hide show
  1. package/dist/components/BbButton/BbButton.vue.d.ts +95 -0
  2. package/dist/index.d.ts +125 -0
  3. package/dist/index10.js +1 -4
  4. package/dist/index10.js.map +1 -1
  5. package/dist/index100.js +1 -4
  6. package/dist/index100.js.map +1 -1
  7. package/dist/index101.js +2 -2
  8. package/dist/index101.js.map +1 -1
  9. package/dist/index102.js +1 -4
  10. package/dist/index102.js.map +1 -1
  11. package/dist/index103.js +2 -2
  12. package/dist/index103.js.map +1 -1
  13. package/dist/index104.js +1 -4
  14. package/dist/index104.js.map +1 -1
  15. package/dist/index105.js.map +1 -1
  16. package/dist/index106.js +1 -4
  17. package/dist/index106.js.map +1 -1
  18. package/dist/index107.js.map +1 -1
  19. package/dist/index108.js +1 -4
  20. package/dist/index108.js.map +1 -1
  21. package/dist/index109.js +1 -1
  22. package/dist/index109.js.map +1 -1
  23. package/dist/index11.js +2 -2
  24. package/dist/index11.js.map +1 -1
  25. package/dist/index110.js +1 -4
  26. package/dist/index110.js.map +1 -1
  27. package/dist/index111.js +3 -3
  28. package/dist/index111.js.map +1 -1
  29. package/dist/index112.js +1 -4
  30. package/dist/index112.js.map +1 -1
  31. package/dist/index113.js +1 -1
  32. package/dist/index113.js.map +1 -1
  33. package/dist/index114.js +1 -4
  34. package/dist/index114.js.map +1 -1
  35. package/dist/index115.js.map +1 -1
  36. package/dist/index116.js +1 -1
  37. package/dist/index116.js.map +1 -1
  38. package/dist/index117.js +1 -1
  39. package/dist/index117.js.map +1 -1
  40. package/dist/index118.js +1 -1
  41. package/dist/index118.js.map +1 -1
  42. package/dist/index119.js +1 -1
  43. package/dist/index119.js.map +1 -1
  44. package/dist/index12.js +1 -4
  45. package/dist/index12.js.map +1 -1
  46. package/dist/index125.js +1 -1
  47. package/dist/index126.js +1 -1
  48. package/dist/index127.js +1 -1
  49. package/dist/index13.js.map +1 -1
  50. package/dist/index131.js +2 -2
  51. package/dist/index131.js.map +1 -1
  52. package/dist/index14.js +1 -4
  53. package/dist/index14.js.map +1 -1
  54. package/dist/index15.js +8 -8
  55. package/dist/index15.js.map +1 -1
  56. package/dist/index158.js +1 -4
  57. package/dist/index158.js.map +1 -1
  58. package/dist/index16.js +1 -4
  59. package/dist/index16.js.map +1 -1
  60. package/dist/index160.js +1 -4
  61. package/dist/index160.js.map +1 -1
  62. package/dist/index169.js +1 -4
  63. package/dist/index169.js.map +1 -1
  64. package/dist/index17.js +9 -9
  65. package/dist/index17.js.map +1 -1
  66. package/dist/index18.js +1 -4
  67. package/dist/index18.js.map +1 -1
  68. package/dist/index183.js +1 -4
  69. package/dist/index183.js.map +1 -1
  70. package/dist/index185.js +1 -4
  71. package/dist/index185.js.map +1 -1
  72. package/dist/index19.js +3 -3
  73. package/dist/index19.js.map +1 -1
  74. package/dist/index197.js +10 -2
  75. package/dist/index197.js.map +1 -1
  76. package/dist/index198.js +5 -4
  77. package/dist/index198.js.map +1 -1
  78. package/dist/index199.js +16 -235
  79. package/dist/index199.js.map +1 -1
  80. package/dist/index20.js +1 -4
  81. package/dist/index20.js.map +1 -1
  82. package/dist/index200.js +16 -3
  83. package/dist/index200.js.map +1 -1
  84. package/dist/index201.js +19 -35
  85. package/dist/index201.js.map +1 -1
  86. package/dist/index202.js +20 -6
  87. package/dist/index202.js.map +1 -1
  88. package/dist/index203.js +29 -5
  89. package/dist/index203.js.map +1 -1
  90. package/dist/index204.js +8 -16
  91. package/dist/index204.js.map +1 -1
  92. package/dist/index205.js +2 -16
  93. package/dist/index205.js.map +1 -1
  94. package/dist/index206.js +234 -18
  95. package/dist/index206.js.map +1 -1
  96. package/dist/index207.js +3 -20
  97. package/dist/index207.js.map +1 -1
  98. package/dist/index208.js +34 -28
  99. package/dist/index208.js.map +1 -1
  100. package/dist/index209.js +6 -8
  101. package/dist/index209.js.map +1 -1
  102. package/dist/index21.js +2 -2
  103. package/dist/index21.js.map +1 -1
  104. package/dist/index210.js +2 -2
  105. package/dist/index210.js.map +1 -1
  106. package/dist/index211.js +4 -10
  107. package/dist/index211.js.map +1 -1
  108. package/dist/index212.js +368 -3
  109. package/dist/index212.js.map +1 -1
  110. package/dist/index213.js +134 -3
  111. package/dist/index213.js.map +1 -1
  112. package/dist/index214.js +2 -368
  113. package/dist/index214.js.map +1 -1
  114. package/dist/index215.js +170 -130
  115. package/dist/index215.js.map +1 -1
  116. package/dist/index216.js +23 -2
  117. package/dist/index216.js.map +1 -1
  118. package/dist/index217.js +363 -164
  119. package/dist/index217.js.map +1 -1
  120. package/dist/index218.js +2 -23
  121. package/dist/index218.js.map +1 -1
  122. package/dist/index219.js +3 -373
  123. package/dist/index219.js.map +1 -1
  124. package/dist/index22.js +1 -4
  125. package/dist/index22.js.map +1 -1
  126. package/dist/index220.js +3 -2
  127. package/dist/index220.js.map +1 -1
  128. package/dist/index223.js +4 -4
  129. package/dist/index223.js.map +1 -1
  130. package/dist/index224.js +6 -28
  131. package/dist/index224.js.map +1 -1
  132. package/dist/index226.js +2 -2
  133. package/dist/index226.js.map +1 -1
  134. package/dist/index227.js +2 -4
  135. package/dist/index227.js.map +1 -1
  136. package/dist/index228.js +160 -2
  137. package/dist/index228.js.map +1 -1
  138. package/dist/index229.js +1 -437
  139. package/dist/index229.js.map +1 -1
  140. package/dist/index23.js.map +1 -1
  141. package/dist/index230.js +68 -88
  142. package/dist/index230.js.map +1 -1
  143. package/dist/index231.js +5 -69
  144. package/dist/index231.js.map +1 -1
  145. package/dist/index232.js +294 -159
  146. package/dist/index232.js.map +1 -1
  147. package/dist/index233.js +6 -2
  148. package/dist/index233.js.map +1 -1
  149. package/dist/index234.js +2 -200
  150. package/dist/index234.js.map +1 -1
  151. package/dist/index235.js +2 -5
  152. package/dist/index235.js.map +1 -1
  153. package/dist/index236.js +2 -295
  154. package/dist/index236.js.map +1 -1
  155. package/dist/index237.js +2 -6
  156. package/dist/index237.js.map +1 -1
  157. package/dist/index238.js +2 -2
  158. package/dist/index24.js +1 -4
  159. package/dist/index24.js.map +1 -1
  160. package/dist/index240.js +4 -2
  161. package/dist/index240.js.map +1 -1
  162. package/dist/index241.js +15 -2
  163. package/dist/index241.js.map +1 -1
  164. package/dist/index242.js +435 -2
  165. package/dist/index242.js.map +1 -1
  166. package/dist/index243.js +89 -2
  167. package/dist/index243.js.map +1 -1
  168. package/dist/index244.js +200 -2
  169. package/dist/index244.js.map +1 -1
  170. package/dist/index245.js +2 -224
  171. package/dist/index245.js.map +1 -1
  172. package/dist/index246.js +105 -246
  173. package/dist/index246.js.map +1 -1
  174. package/dist/index247.js +106 -2
  175. package/dist/index247.js.map +1 -1
  176. package/dist/index248.js +218 -111
  177. package/dist/index248.js.map +1 -1
  178. package/dist/index249.js +246 -94
  179. package/dist/index249.js.map +1 -1
  180. package/dist/index25.js +2 -2
  181. package/dist/index25.js.map +1 -1
  182. package/dist/index250.js +2 -38
  183. package/dist/index250.js.map +1 -1
  184. package/dist/index251.js +4 -2
  185. package/dist/index251.js.map +1 -1
  186. package/dist/index252.js +4 -2
  187. package/dist/index252.js.map +1 -1
  188. package/dist/index253.js +60 -14
  189. package/dist/index253.js.map +1 -1
  190. package/dist/index254.js +3 -2
  191. package/dist/index254.js.map +1 -1
  192. package/dist/index255.js +2 -3
  193. package/dist/index255.js.map +1 -1
  194. package/dist/index26.js +1 -4
  195. package/dist/index26.js.map +1 -1
  196. package/dist/index27.js.map +1 -1
  197. package/dist/index28.js +1 -4
  198. package/dist/index28.js.map +1 -1
  199. package/dist/index29.js +2 -2
  200. package/dist/index29.js.map +1 -1
  201. package/dist/index30.js +1 -4
  202. package/dist/index30.js.map +1 -1
  203. package/dist/index31.js +6 -6
  204. package/dist/index31.js.map +1 -1
  205. package/dist/index32.js +1 -4
  206. package/dist/index32.js.map +1 -1
  207. package/dist/index33.js +1 -1
  208. package/dist/index33.js.map +1 -1
  209. package/dist/index34.js +1 -4
  210. package/dist/index34.js.map +1 -1
  211. package/dist/index35.js +2 -2
  212. package/dist/index35.js.map +1 -1
  213. package/dist/index36.js +1 -4
  214. package/dist/index36.js.map +1 -1
  215. package/dist/index37.js.map +1 -1
  216. package/dist/index38.js +1 -4
  217. package/dist/index38.js.map +1 -1
  218. package/dist/index39.js.map +1 -1
  219. package/dist/index40.js +1 -4
  220. package/dist/index40.js.map +1 -1
  221. package/dist/index41.js.map +1 -1
  222. package/dist/index42.js +1 -4
  223. package/dist/index42.js.map +1 -1
  224. package/dist/index43.js.map +1 -1
  225. package/dist/index44.js +1 -4
  226. package/dist/index44.js.map +1 -1
  227. package/dist/index45.js.map +1 -1
  228. package/dist/index46.js +1 -4
  229. package/dist/index46.js.map +1 -1
  230. package/dist/index47.js +1 -1
  231. package/dist/index47.js.map +1 -1
  232. package/dist/index48.js +1 -4
  233. package/dist/index48.js.map +1 -1
  234. package/dist/index49.js +1 -1
  235. package/dist/index49.js.map +1 -1
  236. package/dist/index50.js +1 -4
  237. package/dist/index50.js.map +1 -1
  238. package/dist/index51.js.map +1 -1
  239. package/dist/index52.js +1 -4
  240. package/dist/index52.js.map +1 -1
  241. package/dist/index53.js.map +1 -1
  242. package/dist/index54.js +1 -4
  243. package/dist/index54.js.map +1 -1
  244. package/dist/index55.js.map +1 -1
  245. package/dist/index56.js +1 -4
  246. package/dist/index56.js.map +1 -1
  247. package/dist/index57.js.map +1 -1
  248. package/dist/index58.js +1 -4
  249. package/dist/index58.js.map +1 -1
  250. package/dist/index59.js.map +1 -1
  251. package/dist/index60.js +1 -4
  252. package/dist/index60.js.map +1 -1
  253. package/dist/index61.js.map +1 -1
  254. package/dist/index62.js +1 -4
  255. package/dist/index62.js.map +1 -1
  256. package/dist/index63.js.map +1 -1
  257. package/dist/index64.js +1 -4
  258. package/dist/index64.js.map +1 -1
  259. package/dist/index65.js +3 -3
  260. package/dist/index65.js.map +1 -1
  261. package/dist/index66.js +1 -4
  262. package/dist/index66.js.map +1 -1
  263. package/dist/index67.js.map +1 -1
  264. package/dist/index68.js +1 -4
  265. package/dist/index68.js.map +1 -1
  266. package/dist/index69.js +12 -12
  267. package/dist/index69.js.map +1 -1
  268. package/dist/index70.js +1 -4
  269. package/dist/index70.js.map +1 -1
  270. package/dist/index71.js.map +1 -1
  271. package/dist/index72.js +1 -1
  272. package/dist/index72.js.map +1 -1
  273. package/dist/index73.js.map +1 -1
  274. package/dist/index74.js +1 -4
  275. package/dist/index74.js.map +1 -1
  276. package/dist/index75.js +1 -1
  277. package/dist/index75.js.map +1 -1
  278. package/dist/index76.js +1 -4
  279. package/dist/index76.js.map +1 -1
  280. package/dist/index77.js.map +1 -1
  281. package/dist/index78.js +1 -4
  282. package/dist/index78.js.map +1 -1
  283. package/dist/index79.js +3 -3
  284. package/dist/index79.js.map +1 -1
  285. package/dist/index80.js +1 -4
  286. package/dist/index80.js.map +1 -1
  287. package/dist/index81.js.map +1 -1
  288. package/dist/index82.js +1 -4
  289. package/dist/index82.js.map +1 -1
  290. package/dist/index83.js.map +1 -1
  291. package/dist/index84.js +1 -4
  292. package/dist/index84.js.map +1 -1
  293. package/dist/index85.js.map +1 -1
  294. package/dist/index86.js +1 -4
  295. package/dist/index86.js.map +1 -1
  296. package/dist/index87.js.map +1 -1
  297. package/dist/index88.js +1 -4
  298. package/dist/index88.js.map +1 -1
  299. package/dist/index89.js.map +1 -1
  300. package/dist/index9.js.map +1 -1
  301. package/dist/index90.js +1 -4
  302. package/dist/index90.js.map +1 -1
  303. package/dist/index91.js.map +1 -1
  304. package/dist/index92.js +1 -4
  305. package/dist/index92.js.map +1 -1
  306. package/dist/index93.js.map +1 -1
  307. package/dist/index94.js +1 -4
  308. package/dist/index94.js.map +1 -1
  309. package/dist/index95.js.map +1 -1
  310. package/dist/index96.js +1 -4
  311. package/dist/index96.js.map +1 -1
  312. package/dist/index97.js.map +1 -1
  313. package/dist/index98.js +1 -4
  314. package/dist/index98.js.map +1 -1
  315. package/dist/index99.js.map +1 -1
  316. package/dist/style.css +1 -1
  317. package/package.json +35 -37
  318. package/dist/src/components/BbButton/BbButton.vue.d.ts +0 -22
  319. package/dist/src/index.d.ts +0 -126
  320. /package/dist/{src/components → components}/BaseButton/BaseButton.vue.d.ts +0 -0
  321. /package/dist/{src/components → components}/BaseCheckbox/BaseCheckbox.vue.d.ts +0 -0
  322. /package/dist/{src/components → components}/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +0 -0
  323. /package/dist/{src/components → components}/BaseDatePicker/BaseDatePicker.vue.d.ts +0 -0
  324. /package/dist/{src/components → components}/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -0
  325. /package/dist/{src/components → components}/BaseDialog/BaseDialog.vue.d.ts +0 -0
  326. /package/dist/{src/components → components}/BaseInputContainer/BaseInputContainer.vue.d.ts +0 -0
  327. /package/dist/{src/components → components}/BaseNumberInput/BaseNumberInput.vue.d.ts +0 -0
  328. /package/dist/{src/components → components}/BaseRadio/BaseRadio.vue.d.ts +0 -0
  329. /package/dist/{src/components → components}/BaseRadioGroup/BaseRadioGroup.vue.d.ts +0 -0
  330. /package/dist/{src/components → components}/BaseRating/BaseRating.vue.d.ts +0 -0
  331. /package/dist/{src/components → components}/BaseSelect/BaseSelect.vue.d.ts +0 -0
  332. /package/dist/{src/components → components}/BaseSlider/BaseSlider.vue.d.ts +0 -0
  333. /package/dist/{src/components → components}/BaseSwitch/BaseSwitch.vue.d.ts +0 -0
  334. /package/dist/{src/components → components}/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +0 -0
  335. /package/dist/{src/components → components}/BaseTag/BaseTag.vue.d.ts +0 -0
  336. /package/dist/{src/components → components}/BaseTextInput/BaseTextInput.vue.d.ts +0 -0
  337. /package/dist/{src/components → components}/BaseTextarea/BaseTextarea.vue.d.ts +0 -0
  338. /package/dist/{src/components → components}/BbAccordion/BbAccordion.vue.d.ts +0 -0
  339. /package/dist/{src/components → components}/BbAlert/BbAlert.vue.d.ts +0 -0
  340. /package/dist/{src/components → components}/BbAvatar/BbAvatar.vue.d.ts +0 -0
  341. /package/dist/{src/components → components}/BbBadge/BbBadge.vue.d.ts +0 -0
  342. /package/dist/{src/components → components}/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +0 -0
  343. /package/dist/{src/components → components}/BbCheckbox/BbCheckbox.vue.d.ts +0 -0
  344. /package/dist/{src/components → components}/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +0 -0
  345. /package/dist/{src/components → components}/BbChip/BbChip.vue.d.ts +0 -0
  346. /package/dist/{src/components → components}/BbCollapsible/BbCollapsible.vue.d.ts +0 -0
  347. /package/dist/{src/components → components}/BbConfirm/BbConfirm.vue.d.ts +0 -0
  348. /package/dist/{src/components → components}/BbDatePickerInput/BbDatePickerInput.vue.d.ts +0 -0
  349. /package/dist/{src/components → components}/BbDialog/BbDialog.vue.d.ts +0 -0
  350. /package/dist/{src/components → components}/BbDropdown/BbDropdown.vue.d.ts +0 -0
  351. /package/dist/{src/components → components}/BbDropdownButton/BbDropdownButton.vue.d.ts +0 -0
  352. /package/dist/{src/components → components}/BbDropzone/BbDropzone.vue.d.ts +0 -0
  353. /package/dist/{src/components → components}/BbHover/BbHover.vue.d.ts +0 -0
  354. /package/dist/{src/components → components}/BbIcon/BbIcon.vue.d.ts +0 -0
  355. /package/dist/{src/components → components}/BbIntersection/BbIntersection.vue.d.ts +0 -0
  356. /package/dist/{src/components → components}/BbNumberInput/BbNumberInput.vue.d.ts +0 -0
  357. /package/dist/{src/components → components}/BbOffCanvas/BbOffCanvas.vue.d.ts +0 -0
  358. /package/dist/{src/components → components}/BbPagination/BbPagination.vue.d.ts +0 -0
  359. /package/dist/{src/components → components}/BbPopover/BbPopover.vue.d.ts +0 -0
  360. /package/dist/{src/components → components}/BbProgress/BbProgress.vue.d.ts +0 -0
  361. /package/dist/{src/components → components}/BbRadio/BbRadio.vue.d.ts +0 -0
  362. /package/dist/{src/components → components}/BbRadioGroup/BbRadioGroup.vue.d.ts +0 -0
  363. /package/dist/{src/components → components}/BbRating/BbRating.vue.d.ts +0 -0
  364. /package/dist/{src/components → components}/BbRatio/BbRatio.vue.d.ts +0 -0
  365. /package/dist/{src/components → components}/BbSelect/BbSelect.vue.d.ts +0 -0
  366. /package/dist/{src/components → components}/BbSlider/BbSlider.vue.d.ts +0 -0
  367. /package/dist/{src/components → components}/BbSmoothHeight/BbSmoothHeight.vue.d.ts +0 -0
  368. /package/dist/{src/components → components}/BbSpinner/BbSpinner.vue.d.ts +0 -0
  369. /package/dist/{src/components → components}/BbSwitch/BbSwitch.vue.d.ts +0 -0
  370. /package/dist/{src/components → components}/BbSwitchGroup/BbSwitchGroup.vue.d.ts +0 -0
  371. /package/dist/{src/components → components}/BbTab/BbTab.vue.d.ts +0 -0
  372. /package/dist/{src/components → components}/BbTable/BbTable.vue.d.ts +0 -0
  373. /package/dist/{src/components → components}/BbTable/types.d.ts +0 -0
  374. /package/dist/{src/components → components}/BbTag/BbTag.vue.d.ts +0 -0
  375. /package/dist/{src/components → components}/BbTextInput/BbTextInput.vue.d.ts +0 -0
  376. /package/dist/{src/components → components}/BbTextarea/BbTextarea.vue.d.ts +0 -0
  377. /package/dist/{src/components → components}/BbToast/BbToast.vue.d.ts +0 -0
  378. /package/dist/{src/components → components}/BbToast/BbToastMessage.vue.d.ts +0 -0
  379. /package/dist/{src/components → components}/BbTooltip/BbTooltip.vue.d.ts +0 -0
  380. /package/dist/{src/components → components}/BbTree/BbTree.vue.d.ts +0 -0
  381. /package/dist/{src/composables → composables}/useBroadcastChannelInstance.d.ts +0 -0
  382. /package/dist/{src/composables → composables}/useConfirm.d.ts +0 -0
  383. /package/dist/{src/composables → composables}/useCountdown.d.ts +0 -0
  384. /package/dist/{src/composables → composables}/useId.d.ts +0 -0
  385. /package/dist/{src/composables → composables}/useItemText.d.ts +0 -0
  386. /package/dist/{src/composables → composables}/useItemValue.d.ts +0 -0
  387. /package/dist/{src/composables → composables}/useOptions.d.ts +0 -0
  388. /package/dist/{src/composables → composables}/useRoute.d.ts +0 -0
  389. /package/dist/{src/composables → composables}/useRouter.d.ts +0 -0
  390. /package/dist/{src/composables → composables}/useToast.d.ts +0 -0
  391. /package/dist/{src/composables → composables}/useWizard.d.ts +0 -0
  392. /package/dist/{src/types → types}/Classes.d.ts +0 -0
  393. /package/dist/{src/types → types}/CommonProps.d.ts +0 -0
  394. /package/dist/{src/types → types}/ExtractGenericFromComputedRef.d.ts +0 -0
  395. /package/dist/{src/types → types}/ExtractGenericFromRef.d.ts +0 -0
  396. /package/dist/{src/types → types}/NestedKeyOf.d.ts +0 -0
  397. /package/dist/{src/types → types}/Simplify.d.ts +0 -0
  398. /package/dist/{src/types → types}/VoidHtmlElements.d.ts +0 -0
  399. /package/dist/{src/utilities → utilities}/functions/add.d.ts +0 -0
  400. /package/dist/{src/utilities → utilities}/functions/booleanishToBoolean.d.ts +0 -0
  401. /package/dist/{src/utilities → utilities}/functions/capitalize.d.ts +0 -0
  402. /package/dist/{src/utilities → utilities}/functions/clamp.d.ts +0 -0
  403. /package/dist/{src/utilities → utilities}/functions/cloneDeep.d.ts +0 -0
  404. /package/dist/{src/utilities → utilities}/functions/curry.d.ts +0 -0
  405. /package/dist/{src/utilities → utilities}/functions/debounce.d.ts +0 -0
  406. /package/dist/{src/utilities → utilities}/functions/deburr.d.ts +0 -0
  407. /package/dist/{src/utilities → utilities}/functions/drop.d.ts +0 -0
  408. /package/dist/{src/utilities → utilities}/functions/empty.d.ts +0 -0
  409. /package/dist/{src/utilities → utilities}/functions/findInTree.d.ts +0 -0
  410. /package/dist/{src/utilities → utilities}/functions/findRight.d.ts +0 -0
  411. /package/dist/{src/utilities → utilities}/functions/findRightIndex.d.ts +0 -0
  412. /package/dist/{src/utilities → utilities}/functions/flattenTree.d.ts +0 -0
  413. /package/dist/{src/utilities → utilities}/functions/flow.d.ts +0 -0
  414. /package/dist/{src/utilities → utilities}/functions/get.d.ts +0 -0
  415. /package/dist/{src/utilities → utilities}/functions/groupBy.d.ts +0 -0
  416. /package/dist/{src/utilities → utilities}/functions/gt.d.ts +0 -0
  417. /package/dist/{src/utilities → utilities}/functions/head.d.ts +0 -0
  418. /package/dist/{src/utilities → utilities}/functions/identity.d.ts +0 -0
  419. /package/dist/{src/utilities → utilities}/functions/includes.d.ts +0 -0
  420. /package/dist/{src/utilities → utilities}/functions/indexBy.d.ts +0 -0
  421. /package/dist/{src/utilities → utilities}/functions/initial.d.ts +0 -0
  422. /package/dist/{src/utilities → utilities}/functions/isCssColor.d.ts +0 -0
  423. /package/dist/{src/utilities → utilities}/functions/isNil.d.ts +0 -0
  424. /package/dist/{src/utilities → utilities}/functions/isNotNil.d.ts +0 -0
  425. /package/dist/{src/utilities → utilities}/functions/last.d.ts +0 -0
  426. /package/dist/{src/utilities → utilities}/functions/lt.d.ts +0 -0
  427. /package/dist/{src/utilities → utilities}/functions/makeUrl.d.ts +0 -0
  428. /package/dist/{src/utilities → utilities}/functions/mapKeys.d.ts +0 -0
  429. /package/dist/{src/utilities → utilities}/functions/mapValues.d.ts +0 -0
  430. /package/dist/{src/utilities → utilities}/functions/matchesPropertyInsensitive.d.ts +0 -0
  431. /package/dist/{src/utilities → utilities}/functions/mean.d.ts +0 -0
  432. /package/dist/{src/utilities → utilities}/functions/merge.d.ts +0 -0
  433. /package/dist/{src/utilities → utilities}/functions/millisecondsTo.d.ts +0 -0
  434. /package/dist/{src/utilities → utilities}/functions/negate.d.ts +0 -0
  435. /package/dist/{src/utilities → utilities}/functions/noop.d.ts +0 -0
  436. /package/dist/{src/utilities → utilities}/functions/omit.d.ts +0 -0
  437. /package/dist/{src/utilities → utilities}/functions/overEvery.d.ts +0 -0
  438. /package/dist/{src/utilities → utilities}/functions/percentage.d.ts +0 -0
  439. /package/dist/{src/utilities → utilities}/functions/pick.d.ts +0 -0
  440. /package/dist/{src/utilities → utilities}/functions/pickBy.d.ts +0 -0
  441. /package/dist/{src/utilities → utilities}/functions/replace.d.ts +0 -0
  442. /package/dist/{src/utilities → utilities}/functions/replaceInTree.d.ts +0 -0
  443. /package/dist/{src/utilities → utilities}/functions/retry.d.ts +0 -0
  444. /package/dist/{src/utilities → utilities}/functions/roundToTheNearest.d.ts +0 -0
  445. /package/dist/{src/utilities → utilities}/functions/set.d.ts +0 -0
  446. /package/dist/{src/utilities → utilities}/functions/snakeCase.d.ts +0 -0
  447. /package/dist/{src/utilities → utilities}/functions/throttle.d.ts +0 -0
  448. /package/dist/{src/utilities → utilities}/functions/tryTo.d.ts +0 -0
  449. /package/dist/{src/utilities → utilities}/functions/wait.d.ts +0 -0
  450. /package/dist/{src/utilities → utilities}/functions/waitFor.d.ts +0 -0
  451. /package/dist/{src/utilities → utilities}/functions/when.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index212.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;"}
1
+ {"version":3,"file":"index212.js","sources":["../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, autoPlacement as autoPlacement$1, shift as shift$1, flip as flip$1, size as size$1, hide as hide$1, arrow as arrow$1, inline as inline$1, limitShift as limitShift$1, computePosition as computePosition$1 } from '@floating-ui/core';\nexport { detectOverflow, offset } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getDocumentElement, getNodeName, isOverflowElement, getNodeScroll, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = currentWin.frameElement;\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = currentWin.frameElement;\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction isTopLayer(floating) {\n return topLayerSelectors.some(selector => {\n try {\n return floating.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\nfunction getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n ...clippingAncestor,\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n const x = rect.left + scroll.scrollLeft - offsets.x;\n const y = rect.top + scroll.scrollTop - offsets.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n return element.offsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const window = getWindow(element);\n if (!isHTMLElement(element) || isTopLayer(element)) {\n return window;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {\n return window;\n }\n return offsetParent || getContainingBlock(element) || window;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n ...(await getDimensionsFn(data.floating))\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const {\n left,\n top,\n width,\n height\n } = element.getBoundingClientRect();\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 100);\n } else {\n refresh(false, ratio);\n }\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, flip, hide, inline, limitShift, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle","width","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","unwrapElement","isElement","getScale","domElement","createCoords","rect","$","x","y","noOffsets","getVisualOffsets","win","getWindow","isWebKit","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","offsetWin","currentWin","currentIFrame","iframeScale","iframeRect","left","top","rectToClientRect","topLayerSelectors","isTopLayer","floating","selector","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","strategy","documentElement","getDocumentElement","topLayer","scroll","offsets","isOffsetParentAnElement","getNodeName","isOverflowElement","getNodeScroll","offsetRect","getClientRects","getWindowScrollBarX","getDocumentRect","html","body","max","getViewportRect","visualViewport","visualViewportBased","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","getClippingElementAncestors","cache","cachedResult","result","getOverflowAncestors","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","isContainingBlock","ancestor","getClippingRect","boundary","rootBoundary","clippingAncestors","firstClippingAncestor","clippingRect","accRect","min","getDimensions","getRectRelativeToOffsetParent","getTrueOffsetParent","polyfill","getOffsetParent","window","isTableElement","getContainingBlock","getElementRects","data","getOffsetParentFn","getDimensionsFn","isRTL","platform","observeMove","onMove","io","timeoutId","root","cleanup","_io","refresh","skip","threshold","insetTop","floor","insetRight","insetBottom","insetLeft","options","isFirstUpdate","handleObserve","entries","ratio","autoUpdate","reference","update","ancestorScroll","ancestorResize","elementResize","layoutShift","animationFrame","referenceEl","ancestors","cleanupIo","reobserveFrame","resizeObserver","firstEntry","_resizeObserver","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","shift","shift$1","flip","flip$1","arrow","arrow$1","computePosition","mergedOptions","platformWithCache","computePosition$1"],"mappings":";;;;AAMA,SAASA,EAAiBC,GAAS;AACjC,QAAMC,IAAMC,EAAiBF,C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5B,MAAA8C,KAAkB9C,EAAS,oBAAoB,UAAU6C,CAAM,GAC/DE,KAAkB/C,EAAS,oBAAoB,UAAU6C,CAAM;AAAA,IACrE,CAAK,GACDQ,KAAa,QAAQA,MACpBS,IAAmBP,MAAmB,QAAQO,EAAiB,WAAU,GAC1EP,IAAiB,MACbL,KACF,qBAAqBQ,CAAO;AAAA,EAElC;AACA;AAeK,MAACK,KAAQC,GAQRC,KAAOC,IAsBPC,KAAQC,IAkBRC,KAAkB,CAACzB,GAAWzF,GAAUmF,MAAY;AAIxD,QAAMjD,IAAQ,oBAAI,OACZiF,IAAgB;AAAA,IACpB,UAAAhD;AAAA,IACA,GAAGgB;AAAA,EACP,GACQiC,IAAoB;AAAA,IACxB,GAAGD,EAAc;AAAA,IACjB,IAAIjF;AAAA,EACR;AACE,SAAOmF,GAAkB5B,GAAWzF,GAAU;AAAA,IAC5C,GAAGmH;AAAA,IACH,UAAUC;AAAA,EACd,CAAG;AACH;","x_google_ignoreList":[0]}
package/dist/index213.js CHANGED
@@ -1,6 +1,137 @@
1
- import o from "./index246.js";
2
- const e = o;
1
+ import { getDefaultExportFromCjs as R, commonjsGlobal as W } from "./index233.js";
2
+ import { __module as G } from "./index245.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")
16
+ return 0;
17
+ var n = r.match(/([+-]|\d\d)/g), e = 60 * n[1] + (+n[2] || 0);
18
+ return e === 0 ? 0 : n[0] === "+" ? -e : e;
19
+ }(t);
20
+ }], F = function(t) {
21
+ var r = m[t];
22
+ return r && (r.indexOf ? r : r.s.concat(r.f));
23
+ }, k = function(t, r) {
24
+ var n, e = m.meridiem;
25
+ if (e) {
26
+ for (var c = 1; c <= 24; c += 1)
27
+ if (t.indexOf(e(c, 0, r)) > -1) {
28
+ n = c > 12;
29
+ break;
30
+ }
31
+ } else
32
+ n = t === (r ? "pm" : "PM");
33
+ return n;
34
+ }, q = { A: [y, function(t) {
35
+ this.afternoon = k(t, !1);
36
+ }], a: [y, function(t) {
37
+ this.afternoon = k(t, !0);
38
+ }], S: [/\d/, function(t) {
39
+ this.milliseconds = 100 * +t;
40
+ }], SS: [$, function(t) {
41
+ this.milliseconds = 10 * +t;
42
+ }], SSS: [/\d{3}/, function(t) {
43
+ this.milliseconds = +t;
44
+ }], 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) {
45
+ var r = m.ordinal, n = t.match(/\d+/);
46
+ if (this.day = n[0], r)
47
+ for (var e = 1; e <= 31; e += 1)
48
+ r(e).replace(/\[|\]/g, "") === t && (this.day = e);
49
+ }], M: [i, o("month")], MM: [$, o("month")], MMM: [y, function(t) {
50
+ var r = F("months"), n = (F("monthsShort") || r.map(function(e) {
51
+ return e.slice(0, 3);
52
+ })).indexOf(t) + 1;
53
+ if (n < 1)
54
+ throw new Error();
55
+ this.month = n % 12 || n;
56
+ }], MMMM: [y, function(t) {
57
+ var r = F("months").indexOf(t) + 1;
58
+ if (r < 1)
59
+ throw new Error();
60
+ this.month = r % 12 || r;
61
+ }], Y: [/[+-]?\d+/, o("year")], YY: [$, function(t) {
62
+ this.year = U(t);
63
+ }], YYYY: [/\d{4}/, o("year")], Z: j, ZZ: j };
64
+ function B(t) {
65
+ var r, n;
66
+ r = t, n = m && m.formats;
67
+ for (var e = (t = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(v, l, f) {
68
+ var a = f && f.toUpperCase();
69
+ return l || n[f] || b[f] || n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(M, Y, D) {
70
+ return Y || D.slice(1);
71
+ });
72
+ })).match(Z), c = e.length, h = 0; h < c; h += 1) {
73
+ var w = e[h], p = q[w], u = p && p[0], d = p && p[1];
74
+ e[h] = d ? { regex: u, parser: d } : w.replace(/^\[|\]$/g, "");
75
+ }
76
+ return function(v) {
77
+ for (var l = {}, f = 0, a = 0; f < c; f += 1) {
78
+ var M = e[f];
79
+ if (typeof M == "string")
80
+ a += M.length;
81
+ else {
82
+ var Y = M.regex, D = M.parser, S = v.slice(a), g = Y.exec(S)[0];
83
+ D.call(l, g), v = v.replace(g, "");
84
+ }
85
+ }
86
+ return function(L) {
87
+ var s = L.afternoon;
88
+ if (s !== void 0) {
89
+ var x = L.hours;
90
+ s ? x < 12 && (L.hours += 12) : x === 12 && (L.hours = 0), delete L.afternoon;
91
+ }
92
+ }(l), l;
93
+ };
94
+ }
95
+ return function(t, r, n) {
96
+ n.p.customParseFormat = !0, t && t.parseTwoDigitYear && (U = t.parseTwoDigitYear);
97
+ var e = r.prototype, c = e.parse;
98
+ e.parse = function(h) {
99
+ var w = h.date, p = h.utc, u = h.args;
100
+ this.$u = p;
101
+ var d = u[1];
102
+ if (typeof d == "string") {
103
+ var v = u[2] === !0, l = u[3] === !0, f = v || l, a = u[2];
104
+ l && (a = u[2]), m = this.$locale(), !v && a && (m = n.Ls[a]), this.$d = function(S, g, L) {
105
+ try {
106
+ if (["x", "X"].indexOf(g) > -1)
107
+ return new Date((g === "X" ? 1e3 : 1) * S);
108
+ 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;
109
+ x && !A || (T = A > 0 ? A - 1 : H.getMonth());
110
+ var z = J || 0, C = K || 0, E = N || 0, _ = Q || 0;
111
+ 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, _);
112
+ } catch {
113
+ return /* @__PURE__ */ new Date("");
114
+ }
115
+ }(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 = {};
116
+ } else if (d instanceof Array)
117
+ for (var M = d.length, Y = 1; Y <= M; Y += 1) {
118
+ u[1] = d[Y - 1];
119
+ var D = n.apply(this, u);
120
+ if (D.isValid()) {
121
+ this.$d = D.$d, this.$L = D.$L, this.init();
122
+ break;
123
+ }
124
+ Y === M && (this.$d = /* @__PURE__ */ new Date(""));
125
+ }
126
+ else
127
+ c.call(this, h);
128
+ };
129
+ };
130
+ });
131
+ })(G);
132
+ var tt = G.exports;
133
+ const at = /* @__PURE__ */ R(tt);
3
134
  export {
4
- e as snakeCase
135
+ at as default
5
136
  };
6
137
  //# sourceMappingURL=index213.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index213.js","sources":["../src/utilities/functions/snakeCase.ts"],"sourcesContent":["import s from 'lodash.snakecase';\n\nexport const snakeCase = s;\n"],"names":["snakeCase","s"],"mappings":";AAEO,MAAMA,IAAYC;"}
1
+ {"version":3,"file":"index213.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=new Date(\"\"))}else i.call(this,e)}}}));"],"names":["e","t","module","this","n","r","i","o","s","a","f","h","u","d","c","l","m","M","Y","p","v","D","g"],"mappings":";;;AAAA,GAAC,SAASA,GAAEC,GAAE;AAAsD,IAAAC,EAAA,UAAeD,EAA4I;AAAA,EAAA,GAAEE,GAAM,WAAU;AAAc,QAAIH,IAAE,EAAC,KAAI,aAAY,IAAG,UAAS,GAAE,cAAa,IAAG,gBAAe,KAAI,uBAAsB,MAAK,4BAA2B,GAAEC,IAAE,2FAA0FG,IAAE,QAAOC,IAAE,SAAQC,IAAE,sBAAqBC,IAAE,CAAE,GAACC,IAAE,SAASR,GAAE;AAAC,cAAOA,IAAE,CAACA,MAAIA,IAAE,KAAG,OAAK;AAAA,IAAI,GAAMS,IAAE,SAAST,GAAE;AAAC,aAAO,SAASC,GAAE;AAAC,aAAKD,CAAC,IAAE,CAACC;AAAA,MAAC;AAAA,IAAC,GAAES,IAAE,CAAC,uBAAsB,SAASV,GAAE;AAAC,OAAC,KAAK,SAAO,KAAK,OAAK,CAAA,IAAK,SAAO,SAASA,GAAE;AAAgB,YAAZ,CAACA,KAAoBA,MAAN;AAAQ,iBAAO;AAAE,YAAIC,IAAED,EAAE,MAAM,cAA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AI,KAAK,KAAG,oBAAI,KAAK,EAAE;AAAA,UAAE;AAAA;AAAM,UAAAT,EAAE,KAAK,MAAKN,CAAC;AAAA,MAAC;AAAA,IAAC;AAAA,EAAC,CAAC;;;;","x_google_ignoreList":[0]}
package/dist/index214.js CHANGED
@@ -1,371 +1,5 @@
1
- import { shift as P, flip as tt, computePosition as et, arrow as ot } from "./index219.js";
2
- import { detectOverflow as At, offset as Nt } from "./index219.js";
3
- import { createCoords as x, rectToClientRect as q, round as N, max as T, min as I, floor as A } from "./index248.js";
4
- import { getOverflowAncestors as V, isElement as b, getWindow as E, getComputedStyle as y, getDocumentElement as C, isHTMLElement as R, isWebKit as U, getNodeName as W, isOverflowElement as S, getNodeScroll as D, isTableElement as nt, isContainingBlock as K, getContainingBlock as it, getParentNode as z, isLastTraversableNode as X } from "./index249.js";
5
- function j(t) {
6
- const e = y(t);
7
- let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
8
- const s = R(t), c = s ? t.offsetWidth : n, i = s ? t.offsetHeight : o, r = N(n) !== c || N(o) !== i;
9
- return r && (n = c, o = i), {
10
- width: n,
11
- height: o,
12
- $: r
13
- };
14
- }
15
- function $(t) {
16
- return b(t) ? t : t.contextElement;
17
- }
18
- function F(t) {
19
- const e = $(t);
20
- if (!R(e))
21
- return x(1);
22
- const n = e.getBoundingClientRect(), {
23
- width: o,
24
- height: s,
25
- $: c
26
- } = j(e);
27
- let i = (c ? N(n.width) : n.width) / o, r = (c ? N(n.height) : n.height) / s;
28
- return (!i || !Number.isFinite(i)) && (i = 1), (!r || !Number.isFinite(r)) && (r = 1), {
29
- x: i,
30
- y: r
31
- };
32
- }
33
- const st = /* @__PURE__ */ x(0);
34
- function G(t) {
35
- const e = E(t);
36
- return !U() || !e.visualViewport ? st : {
37
- x: e.visualViewport.offsetLeft,
38
- y: e.visualViewport.offsetTop
39
- };
40
- }
41
- function rt(t, e, n) {
42
- return e === void 0 && (e = !1), !n || e && n !== E(t) ? !1 : e;
43
- }
44
- function L(t, e, n, o) {
45
- e === void 0 && (e = !1), n === void 0 && (n = !1);
46
- const s = t.getBoundingClientRect(), c = $(t);
47
- let i = x(1);
48
- e && (o ? b(o) && (i = F(o)) : i = F(t));
49
- const r = rt(c, n, o) ? G(c) : x(0);
50
- let l = (s.left + r.x) / i.x, f = (s.top + r.y) / i.y, u = s.width / i.x, h = s.height / i.y;
51
- if (c) {
52
- const w = E(c), g = o && b(o) ? E(o) : o;
53
- let v = w, a = v.frameElement;
54
- for (; a && o && g !== v; ) {
55
- const p = F(a), d = a.getBoundingClientRect(), m = y(a), O = d.left + (a.clientLeft + parseFloat(m.paddingLeft)) * p.x, B = d.top + (a.clientTop + parseFloat(m.paddingTop)) * p.y;
56
- l *= p.x, f *= p.y, u *= p.x, h *= p.y, l += O, f += B, v = E(a), a = v.frameElement;
57
- }
58
- }
59
- return q({
60
- width: u,
61
- height: h,
62
- x: l,
63
- y: f
64
- });
65
- }
66
- const ct = [":popover-open", ":modal"];
67
- function J(t) {
68
- return ct.some((e) => {
69
- try {
70
- return t.matches(e);
71
- } catch {
72
- return !1;
73
- }
74
- });
75
- }
76
- function lt(t) {
77
- let {
78
- elements: e,
79
- rect: n,
80
- offsetParent: o,
81
- strategy: s
82
- } = t;
83
- const c = s === "fixed", i = C(o), r = e ? J(e.floating) : !1;
84
- if (o === i || r && c)
85
- return n;
86
- let l = {
87
- scrollLeft: 0,
88
- scrollTop: 0
89
- }, f = x(1);
90
- const u = x(0), h = R(o);
91
- if ((h || !h && !c) && ((W(o) !== "body" || S(i)) && (l = D(o)), R(o))) {
92
- const w = L(o);
93
- f = F(o), u.x = w.x + o.clientLeft, u.y = w.y + o.clientTop;
94
- }
95
- return {
96
- width: n.width * f.x,
97
- height: n.height * f.y,
98
- x: n.x * f.x - l.scrollLeft * f.x + u.x,
99
- y: n.y * f.y - l.scrollTop * f.y + u.y
100
- };
101
- }
102
- function ft(t) {
103
- return Array.from(t.getClientRects());
104
- }
105
- function Q(t) {
106
- return L(C(t)).left + D(t).scrollLeft;
107
- }
108
- function ut(t) {
109
- const e = C(t), n = D(t), o = t.ownerDocument.body, s = T(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), c = T(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
110
- let i = -n.scrollLeft + Q(t);
111
- const r = -n.scrollTop;
112
- return y(o).direction === "rtl" && (i += T(e.clientWidth, o.clientWidth) - s), {
113
- width: s,
114
- height: c,
115
- x: i,
116
- y: r
117
- };
118
- }
119
- function ht(t, e) {
120
- const n = E(t), o = C(t), s = n.visualViewport;
121
- let c = o.clientWidth, i = o.clientHeight, r = 0, l = 0;
122
- if (s) {
123
- c = s.width, i = s.height;
124
- const f = U();
125
- (!f || f && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
126
- }
127
- return {
128
- width: c,
129
- height: i,
130
- x: r,
131
- y: l
132
- };
133
- }
134
- function at(t, e) {
135
- const n = L(t, !0, e === "fixed"), o = n.top + t.clientTop, s = n.left + t.clientLeft, c = R(t) ? F(t) : x(1), i = t.clientWidth * c.x, r = t.clientHeight * c.y, l = s * c.x, f = o * c.y;
136
- return {
137
- width: i,
138
- height: r,
139
- x: l,
140
- y: f
141
- };
142
- }
143
- function _(t, e, n) {
144
- let o;
145
- if (e === "viewport")
146
- o = ht(t, n);
147
- else if (e === "document")
148
- o = ut(C(t));
149
- else if (b(e))
150
- o = at(e, n);
151
- else {
152
- const s = G(t);
153
- o = {
154
- ...e,
155
- x: e.x - s.x,
156
- y: e.y - s.y
157
- };
158
- }
159
- return q(o);
160
- }
161
- function Y(t, e) {
162
- const n = z(t);
163
- return n === e || !b(n) || X(n) ? !1 : y(n).position === "fixed" || Y(n, e);
164
- }
165
- function dt(t, e) {
166
- const n = e.get(t);
167
- if (n)
168
- return n;
169
- let o = V(t, [], !1).filter((r) => b(r) && W(r) !== "body"), s = null;
170
- const c = y(t).position === "fixed";
171
- let i = c ? z(t) : t;
172
- for (; b(i) && !X(i); ) {
173
- const r = y(i), l = K(i);
174
- !l && r.position === "fixed" && (s = null), (c ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || S(i) && !l && Y(t, i)) ? o = o.filter((u) => u !== i) : s = r, i = z(i);
175
- }
176
- return e.set(t, o), o;
177
- }
178
- function gt(t) {
179
- let {
180
- element: e,
181
- boundary: n,
182
- rootBoundary: o,
183
- strategy: s
184
- } = t;
185
- const i = [...n === "clippingAncestors" ? dt(e, this._c) : [].concat(n), o], r = i[0], l = i.reduce((f, u) => {
186
- const h = _(e, u, s);
187
- return f.top = T(h.top, f.top), f.right = I(h.right, f.right), f.bottom = I(h.bottom, f.bottom), f.left = T(h.left, f.left), f;
188
- }, _(e, r, s));
189
- return {
190
- width: l.right - l.left,
191
- height: l.bottom - l.top,
192
- x: l.left,
193
- y: l.top
194
- };
195
- }
196
- function pt(t) {
197
- const {
198
- width: e,
199
- height: n
200
- } = j(t);
201
- return {
202
- width: e,
203
- height: n
204
- };
205
- }
206
- function mt(t, e, n) {
207
- const o = R(e), s = C(e), c = n === "fixed", i = L(t, !0, c, e);
208
- let r = {
209
- scrollLeft: 0,
210
- scrollTop: 0
211
- };
212
- const l = x(0);
213
- if (o || !o && !c)
214
- if ((W(e) !== "body" || S(s)) && (r = D(e)), o) {
215
- const h = L(e, !0, c, e);
216
- l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
217
- } else
218
- s && (l.x = Q(s));
219
- const f = i.left + r.scrollLeft - l.x, u = i.top + r.scrollTop - l.y;
220
- return {
221
- x: f,
222
- y: u,
223
- width: i.width,
224
- height: i.height
225
- };
226
- }
227
- function k(t, e) {
228
- return !R(t) || y(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
229
- }
230
- function Z(t, e) {
231
- const n = E(t);
232
- if (!R(t) || J(t))
233
- return n;
234
- let o = k(t, e);
235
- for (; o && nt(o) && y(o).position === "static"; )
236
- o = k(o, e);
237
- return o && (W(o) === "html" || W(o) === "body" && y(o).position === "static" && !K(o)) ? n : o || it(t) || n;
238
- }
239
- const wt = async function(t) {
240
- const e = this.getOffsetParent || Z, n = this.getDimensions;
241
- return {
242
- reference: mt(t.reference, await e(t.floating), t.strategy),
243
- floating: {
244
- x: 0,
245
- y: 0,
246
- ...await n(t.floating)
247
- }
248
- };
249
- };
250
- function yt(t) {
251
- return y(t).direction === "rtl";
252
- }
253
- const vt = {
254
- convertOffsetParentRelativeRectToViewportRelativeRect: lt,
255
- getDocumentElement: C,
256
- getClippingRect: gt,
257
- getOffsetParent: Z,
258
- getElementRects: wt,
259
- getClientRects: ft,
260
- getDimensions: pt,
261
- getScale: F,
262
- isElement: b,
263
- isRTL: yt
264
- };
265
- function xt(t, e) {
266
- let n = null, o;
267
- const s = C(t);
268
- function c() {
269
- var r;
270
- clearTimeout(o), (r = n) == null || r.disconnect(), n = null;
271
- }
272
- function i(r, l) {
273
- r === void 0 && (r = !1), l === void 0 && (l = 1), c();
274
- const {
275
- left: f,
276
- top: u,
277
- width: h,
278
- height: w
279
- } = t.getBoundingClientRect();
280
- if (r || e(), !h || !w)
281
- return;
282
- const g = A(u), v = A(s.clientWidth - (f + h)), a = A(s.clientHeight - (u + w)), p = A(f), m = {
283
- rootMargin: -g + "px " + -v + "px " + -a + "px " + -p + "px",
284
- threshold: T(0, I(1, l)) || 1
285
- };
286
- let O = !0;
287
- function B(M) {
288
- const H = M[0].intersectionRatio;
289
- if (H !== l) {
290
- if (!O)
291
- return i();
292
- H ? i(!1, H) : o = setTimeout(() => {
293
- i(!1, 1e-7);
294
- }, 100);
295
- }
296
- O = !1;
297
- }
298
- try {
299
- n = new IntersectionObserver(B, {
300
- ...m,
301
- // Handle <iframe>s
302
- root: s.ownerDocument
303
- });
304
- } catch {
305
- n = new IntersectionObserver(B, m);
306
- }
307
- n.observe(t);
308
- }
309
- return i(!0), c;
310
- }
311
- function Ot(t, e, n, o) {
312
- o === void 0 && (o = {});
313
- const {
314
- ancestorScroll: s = !0,
315
- ancestorResize: c = !0,
316
- elementResize: i = typeof ResizeObserver == "function",
317
- layoutShift: r = typeof IntersectionObserver == "function",
318
- animationFrame: l = !1
319
- } = o, f = $(t), u = s || c ? [...f ? V(f) : [], ...V(e)] : [];
320
- u.forEach((d) => {
321
- s && d.addEventListener("scroll", n, {
322
- passive: !0
323
- }), c && d.addEventListener("resize", n);
324
- });
325
- const h = f && r ? xt(f, n) : null;
326
- let w = -1, g = null;
327
- i && (g = new ResizeObserver((d) => {
328
- let [m] = d;
329
- m && m.target === f && g && (g.unobserve(e), cancelAnimationFrame(w), w = requestAnimationFrame(() => {
330
- var O;
331
- (O = g) == null || O.observe(e);
332
- })), n();
333
- }), f && !l && g.observe(f), g.observe(e));
334
- let v, a = l ? L(t) : null;
335
- l && p();
336
- function p() {
337
- const d = L(t);
338
- a && (d.x !== a.x || d.y !== a.y || d.width !== a.width || d.height !== a.height) && n(), a = d, v = requestAnimationFrame(p);
339
- }
340
- return n(), () => {
341
- var d;
342
- u.forEach((m) => {
343
- s && m.removeEventListener("scroll", n), c && m.removeEventListener("resize", n);
344
- }), h == null || h(), (d = g) == null || d.disconnect(), g = null, l && cancelAnimationFrame(v);
345
- };
346
- }
347
- const Et = P, Lt = tt, Tt = ot, Ft = (t, e, n) => {
348
- const o = /* @__PURE__ */ new Map(), s = {
349
- platform: vt,
350
- ...n
351
- }, c = {
352
- ...s.platform,
353
- _c: o
354
- };
355
- return et(t, e, {
356
- ...s,
357
- platform: c
358
- });
359
- };
1
+ const e = (t) => t;
360
2
  export {
361
- Tt as arrow,
362
- Ot as autoUpdate,
363
- Ft as computePosition,
364
- At as detectOverflow,
365
- Lt as flip,
366
- V as getOverflowAncestors,
367
- Nt as offset,
368
- vt as platform,
369
- Et as shift
3
+ e as identity
370
4
  };
371
5
  //# sourceMappingURL=index214.js.map