bitboss-ui 2.1.119 → 2.1.121

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 (450) hide show
  1. package/dist/ai/BaseButton.md +2 -1
  2. package/dist/ai/BbButton.md +2 -1
  3. package/dist/ai/BbPopover.md +15 -2
  4. package/dist/ai/BbTab.md +6 -3
  5. package/dist/ai/CommonPopover.md +35 -1
  6. package/dist/components/BaseButton/BaseButton.vue.d.ts +5 -10
  7. package/dist/components/BaseButton/RouterComponent.vue.d.ts +12 -15
  8. package/dist/components/BaseButton/types.d.ts +2 -1
  9. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +10 -24
  10. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +22 -17
  11. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +6 -205
  12. package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +3 -10
  13. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +6 -11
  14. package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +3 -2
  15. package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +27 -35
  16. package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +3 -2
  17. package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +3 -4
  18. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +6 -345
  19. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +8 -22
  20. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +6 -15
  21. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +6 -15
  22. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +6 -11
  23. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +22 -17
  24. package/dist/components/BaseRating/BaseRating.vue.d.ts +6 -15
  25. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +20 -15
  26. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +6 -21
  27. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +6 -15
  28. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +22 -17
  29. package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -353
  30. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +6 -15
  31. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +6 -15
  32. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +6 -11
  33. package/dist/components/BbAlert/BbAlert.vue.d.ts +5 -10
  34. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +6 -15
  35. package/dist/components/BbBadge/BbBadge.vue.d.ts +5 -10
  36. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +7 -34
  37. package/dist/components/BbButton/BbButton.vue.d.ts +7 -11
  38. package/dist/components/BbButton/types.d.ts +2 -1
  39. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +6 -11
  40. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +22 -17
  41. package/dist/components/BbChip/BbChip.vue.d.ts +6 -11
  42. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +5 -10
  43. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +7 -16
  44. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +6 -77
  45. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +2 -1
  46. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +14 -29
  47. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +6 -11
  48. package/dist/components/BbDialog/BbDialog.vue.d.ts +8 -12
  49. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +7 -216
  50. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +7 -30
  51. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +6 -15
  52. package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -2
  53. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +6 -15
  54. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -284
  55. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +8 -22
  56. package/dist/components/BbPagination/BbPagination.vue.d.ts +8 -18
  57. package/dist/components/BbPopover/BbPopover.vue.d.ts +9 -201
  58. package/dist/components/BbPopover/types.d.ts +6 -0
  59. package/dist/components/BbProgress/BbProgress.vue.d.ts +3 -2
  60. package/dist/components/BbRadio/BbRadio.vue.d.ts +6 -11
  61. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +22 -17
  62. package/dist/components/BbRating/BbRating.vue.d.ts +7 -16
  63. package/dist/components/BbRatio/BbRatio.vue.d.ts +5 -10
  64. package/dist/components/BbRows/BbRows.vue.d.ts +14 -49
  65. package/dist/components/BbSelect/BbSelect.vue.d.ts +20 -15
  66. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +20 -15
  67. package/dist/components/BbSlider/BbSlider.vue.d.ts +7 -16
  68. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +6 -17
  69. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -2
  70. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +6 -11
  71. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +22 -17
  72. package/dist/components/BbTab/BbTab.vue.d.ts +15 -18
  73. package/dist/components/BbTable/BbTable.vue.d.ts +25 -83
  74. package/dist/components/BbTag/BbTag.vue.d.ts +6 -11
  75. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +7 -16
  76. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +7 -16
  77. package/dist/components/BbToast/BbToast.vue.d.ts +3 -2
  78. package/dist/components/BbToast/BbToastMessage.vue.d.ts +3 -2
  79. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +8 -200
  80. package/dist/components/BbTree/BbTree.vue.d.ts +5 -10
  81. package/dist/components/ChipsBox/ChipsBox.vue.d.ts +2 -1
  82. package/dist/components/ClearableButton/ClearableButton.vue.d.ts +2 -1
  83. package/dist/components/CommaBox/CommaBox.vue.d.ts +2 -1
  84. package/dist/components/CommonInputInnerContainer/CommonInputInnerContainer.vue.d.ts +6 -15
  85. package/dist/components/CommonInputOuterContainer/CommonInputOuterContainer.vue.d.ts +5 -10
  86. package/dist/components/CommonPopover/CommonPopover.vue.d.ts +9 -18
  87. package/dist/components/CommonPopover/types.d.ts +7 -0
  88. package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +2 -1
  89. package/dist/components/FlatListBox/FlatListBox.vue.d.ts +16 -11
  90. package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +16 -11
  91. package/dist/components/ListBox/ListBox.vue.d.ts +16 -11
  92. package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +11 -6
  93. package/dist/components/Transitions/ScaleFade.vue.d.ts +7 -15
  94. package/dist/components/Transitions/Slide.vue.d.ts +7 -15
  95. package/dist/index.css +2 -1
  96. package/dist/index.js +78 -220
  97. package/dist/index10.js +4 -81
  98. package/dist/index100.js +6 -0
  99. package/dist/index101.js +300 -94
  100. package/dist/index102.js +16 -0
  101. package/dist/index103.js +16 -136
  102. package/dist/index104.js +27 -0
  103. package/dist/index105.js +4 -102
  104. package/dist/index106.js +7 -0
  105. package/dist/index107.js +9 -24
  106. package/dist/index108.js +4 -0
  107. package/dist/index109.js +19 -142
  108. package/dist/index11.js +41 -39
  109. package/dist/index110.js +12 -532
  110. package/dist/index111.js +19 -0
  111. package/dist/index112.js +24 -190
  112. package/dist/index114.js +7 -116
  113. package/dist/index115.js +241 -0
  114. package/dist/index116.js +5 -58
  115. package/dist/index117.js +42 -0
  116. package/dist/index118.js +5 -40
  117. package/dist/index119.js +53 -0
  118. package/dist/index12.js +10 -41
  119. package/dist/index120.js +5 -100
  120. package/dist/index121.js +32 -0
  121. package/dist/index122.js +5 -137
  122. package/dist/index123.js +8 -0
  123. package/dist/index124.js +51 -365
  124. package/dist/index125.js +5 -0
  125. package/dist/index126.js +222 -554
  126. package/dist/index128.js +6 -124
  127. package/dist/index129.js +162 -0
  128. package/dist/index13.js +92 -185
  129. package/dist/index130.js +25 -118
  130. package/dist/index131.js +51 -0
  131. package/dist/index132.js +5 -126
  132. package/dist/index133.js +607 -0
  133. package/dist/index135.js +6 -0
  134. package/dist/index136.js +13 -164
  135. package/dist/index137.js +153 -0
  136. package/dist/index139.js +6 -0
  137. package/dist/index14.js +306 -128
  138. package/dist/index140.js +224 -71
  139. package/dist/index141.js +5 -0
  140. package/dist/index142.js +4 -14
  141. package/dist/index143.js +128 -0
  142. package/dist/index145.js +6 -4
  143. package/dist/index146.js +7 -420
  144. package/dist/index147.js +182 -11
  145. package/dist/index149.js +6 -27
  146. package/dist/index15.js +10 -0
  147. package/dist/index150.js +5 -3
  148. package/dist/index151.js +4 -7
  149. package/dist/index152.js +95 -8
  150. package/dist/index154.js +6 -5
  151. package/dist/index155.js +168 -5
  152. package/dist/index157.js +6 -5
  153. package/dist/index158.js +145 -5
  154. package/dist/index16.js +58 -152
  155. package/dist/index160.js +6 -5
  156. package/dist/index161.js +53 -5
  157. package/dist/index163.js +6 -5
  158. package/dist/index164.js +15 -4
  159. package/dist/index165.js +18 -4
  160. package/dist/index166.js +35 -5
  161. package/dist/index168.js +6 -5
  162. package/dist/index169.js +89 -5
  163. package/dist/index17.js +11 -0
  164. package/dist/index171.js +6 -5
  165. package/dist/index172.js +82 -5
  166. package/dist/index174.js +6 -5
  167. package/dist/index175.js +37 -4
  168. package/dist/index176.js +460 -4
  169. package/dist/index177.js +28 -5
  170. package/dist/index178.js +66 -5
  171. package/dist/index179.js +17 -5
  172. package/dist/index18.js +34 -128
  173. package/dist/index180.js +162 -5
  174. package/dist/index181.js +5 -5
  175. package/dist/index182.js +217 -5
  176. package/dist/index183.js +5 -5
  177. package/dist/index184.js +112 -4
  178. package/dist/index185.js +5 -5
  179. package/dist/index186.js +457 -4
  180. package/dist/index188.js +6 -5
  181. package/dist/index189.js +4 -5
  182. package/dist/index19.js +4 -0
  183. package/dist/index190.js +7 -4
  184. package/dist/index191.js +7 -5
  185. package/dist/index192.js +268 -5
  186. package/dist/index194.js +6 -5
  187. package/dist/index195.js +124 -5
  188. package/dist/index197.js +6 -5
  189. package/dist/index198.js +174 -5
  190. package/dist/index2.js +20 -0
  191. package/dist/index20.js +8 -195
  192. package/dist/index200.js +5 -4
  193. package/dist/index201.js +224 -5
  194. package/dist/index203.js +6 -4
  195. package/dist/index204.js +135 -5
  196. package/dist/index206.js +5 -4
  197. package/dist/index207.js +5 -5
  198. package/dist/index208.js +170 -5
  199. package/dist/index21.js +35 -0
  200. package/dist/index210.js +5 -4
  201. package/dist/index211.js +37 -5
  202. package/dist/index213.js +5 -4
  203. package/dist/index214.js +63 -5
  204. package/dist/index216.js +5 -4
  205. package/dist/index217.js +74 -5
  206. package/dist/index219.js +5 -4
  207. package/dist/index22.js +6 -245
  208. package/dist/index220.js +65 -5
  209. package/dist/index222.js +6 -140
  210. package/dist/index223.js +67 -4
  211. package/dist/index225.js +6 -4
  212. package/dist/index226.js +41 -4
  213. package/dist/index228.js +6 -15
  214. package/dist/index229.js +9 -6
  215. package/dist/index23.js +7 -0
  216. package/dist/index230.js +22 -10
  217. package/dist/index231.js +23 -5
  218. package/dist/index232.js +285 -22
  219. package/dist/index234.js +6 -5
  220. package/dist/index235.js +47 -6
  221. package/dist/index236.js +165 -5
  222. package/dist/index238.js +6 -5
  223. package/dist/index239.js +10 -3
  224. package/dist/index24.js +9 -616
  225. package/dist/index240.js +159 -20
  226. package/dist/index242.js +6 -14
  227. package/dist/index243.js +134 -53
  228. package/dist/index245.js +6 -14
  229. package/dist/index246.js +167 -19
  230. package/dist/index248.js +6 -20
  231. package/dist/index249.js +147 -15
  232. package/dist/index25.js +24 -0
  233. package/dist/index251.js +6 -0
  234. package/dist/index252.js +35 -35
  235. package/dist/index254.js +6 -8
  236. package/dist/index255.js +65 -4
  237. package/dist/index257.js +6 -0
  238. package/dist/index258.js +18 -101
  239. package/dist/index259.js +5 -0
  240. package/dist/index26.js +4 -184
  241. package/dist/index260.js +160 -5
  242. package/dist/index262.js +6 -7
  243. package/dist/index263.js +60 -7
  244. package/dist/index265.js +6 -7
  245. package/dist/index266.js +134 -8
  246. package/dist/index268.js +6 -270
  247. package/dist/index269.js +12 -54
  248. package/dist/index27.js +4 -0
  249. package/dist/index270.js +205 -53
  250. package/dist/index272.js +6 -62
  251. package/dist/index273.js +85 -27
  252. package/dist/index274.js +5 -4
  253. package/dist/index275.js +55 -9
  254. package/dist/index276.js +5 -9
  255. package/dist/index277.js +164 -6
  256. package/dist/index279.js +6 -11
  257. package/dist/index28.js +8 -148
  258. package/dist/index280.js +145 -23
  259. package/dist/index282.js +6 -88
  260. package/dist/index283.js +11 -0
  261. package/dist/index284.js +200 -5
  262. package/dist/index286.js +6 -18
  263. package/dist/index287.js +240 -374
  264. package/dist/index289.js +6 -9
  265. package/dist/index29.js +7 -0
  266. package/dist/index290.js +21 -7
  267. package/dist/index292.js +6 -7
  268. package/dist/index293.js +125 -7
  269. package/dist/index295.js +6 -69
  270. package/dist/index296.js +161 -190
  271. package/dist/index298.js +6 -11
  272. package/dist/index299.js +127 -25
  273. package/dist/index30.js +117 -177
  274. package/dist/index301.js +6 -0
  275. package/dist/index302.js +20 -9
  276. package/dist/index304.js +5 -4
  277. package/dist/index305.js +116 -5
  278. package/dist/index306.js +5 -5
  279. package/dist/index307.js +507 -4
  280. package/dist/index309.js +6 -19
  281. package/dist/index31.js +10 -0
  282. package/dist/index310.js +196 -6
  283. package/dist/index312.js +6 -282
  284. package/dist/index313.js +142 -4
  285. package/dist/index315.js +6 -4
  286. package/dist/index316.js +134 -18
  287. package/dist/index318.js +6 -29
  288. package/dist/index319.js +162 -4
  289. package/dist/index32.js +27 -99
  290. package/dist/index321.js +6 -4
  291. package/dist/index322.js +319 -4
  292. package/dist/index324.js +6 -4
  293. package/dist/index325.js +42 -6
  294. package/dist/index326.js +450 -7
  295. package/dist/index328.js +6 -368
  296. package/dist/index329.js +155 -59
  297. package/dist/index33.js +5 -0
  298. package/dist/index331.js +6 -9
  299. package/dist/index332.js +142 -5
  300. package/dist/index334.js +6 -4
  301. package/dist/index335.js +155 -17
  302. package/dist/index337.js +6 -21
  303. package/dist/index338.js +58 -4
  304. package/dist/index339.js +5 -4
  305. package/dist/index34.js +111 -176
  306. package/dist/index340.js +20 -6
  307. package/dist/index342.js +6 -69
  308. package/dist/index343.js +141 -5
  309. package/dist/index345.js +5 -6
  310. package/dist/index346.js +4 -9
  311. package/dist/index347.js +109 -9
  312. package/dist/index349.js +6 -11
  313. package/dist/index350.js +838 -16
  314. package/dist/index351.js +473 -94
  315. package/dist/index352.js +51 -229
  316. package/dist/index353.js +7 -202
  317. package/dist/index36.js +6 -133
  318. package/dist/index37.js +6 -0
  319. package/dist/index38.js +62 -489
  320. package/dist/index39.js +63 -0
  321. package/dist/index40.js +8 -334
  322. package/dist/index41.js +9 -0
  323. package/dist/index42.js +8 -127
  324. package/dist/index43.js +179 -0
  325. package/dist/index44.js +20 -184
  326. package/dist/index45.js +6 -0
  327. package/dist/index46.js +384 -239
  328. package/dist/index48.js +6 -140
  329. package/dist/index49.js +33 -0
  330. package/dist/index5.js +34 -41
  331. package/dist/index50.js +11 -156
  332. package/dist/index51.js +8 -0
  333. package/dist/index52.js +105 -64
  334. package/dist/index53.js +330 -0
  335. package/dist/index54.js +97 -91
  336. package/dist/index55.js +328 -0
  337. package/dist/index56.js +27 -68
  338. package/dist/index57.js +102 -0
  339. package/dist/index58.js +145 -53
  340. package/dist/index6.js +37 -61
  341. package/dist/index60.js +5 -225
  342. package/dist/index61.js +131 -0
  343. package/dist/index62.js +5 -171
  344. package/dist/index64.js +7 -99
  345. package/dist/index65.js +35 -0
  346. package/dist/index66.js +25 -137
  347. package/dist/index68.js +6 -43
  348. package/dist/index69.js +54 -0
  349. package/dist/index7.js +58 -64
  350. package/dist/index71.js +6 -0
  351. package/dist/index72.js +13 -120
  352. package/dist/index74.js +6 -125
  353. package/dist/index75.js +158 -84
  354. package/dist/index77.js +6 -21
  355. package/dist/index78.js +4 -129
  356. package/dist/index79.js +4 -0
  357. package/dist/index8.js +4 -14
  358. package/dist/index80.js +54 -62
  359. package/dist/index81.js +5 -0
  360. package/dist/index82.js +5 -323
  361. package/dist/index83.js +131 -0
  362. package/dist/index85.js +6 -0
  363. package/dist/index86.js +64 -220
  364. package/dist/index88.js +6 -84
  365. package/dist/index89.js +30 -0
  366. package/dist/index9.js +10 -9
  367. package/dist/index90.js +18 -45
  368. package/dist/index91.js +17 -134
  369. package/dist/index92.js +9 -0
  370. package/dist/index93.js +33 -176
  371. package/dist/index94.js +4 -0
  372. package/dist/index95.js +15 -234
  373. package/dist/index96.js +10 -0
  374. package/dist/index97.js +17 -247
  375. package/dist/index98.js +189 -0
  376. package/package.json +1 -1
  377. package/dist/index134.js +0 -28
  378. package/dist/index138.js +0 -122
  379. package/dist/index144.js +0 -13
  380. package/dist/index148.js +0 -11
  381. package/dist/index153.js +0 -7
  382. package/dist/index156.js +0 -5
  383. package/dist/index159.js +0 -5
  384. package/dist/index162.js +0 -5
  385. package/dist/index167.js +0 -5
  386. package/dist/index170.js +0 -5
  387. package/dist/index173.js +0 -5
  388. package/dist/index187.js +0 -5
  389. package/dist/index193.js +0 -4
  390. package/dist/index196.js +0 -5
  391. package/dist/index199.js +0 -5
  392. package/dist/index202.js +0 -5
  393. package/dist/index205.js +0 -5
  394. package/dist/index209.js +0 -5
  395. package/dist/index212.js +0 -5
  396. package/dist/index215.js +0 -5
  397. package/dist/index218.js +0 -5
  398. package/dist/index221.js +0 -4
  399. package/dist/index224.js +0 -36
  400. package/dist/index227.js +0 -4
  401. package/dist/index233.js +0 -12
  402. package/dist/index237.js +0 -13
  403. package/dist/index241.js +0 -25
  404. package/dist/index244.js +0 -20
  405. package/dist/index247.js +0 -32
  406. package/dist/index250.js +0 -137
  407. package/dist/index253.js +0 -109
  408. package/dist/index256.js +0 -108
  409. package/dist/index261.js +0 -5
  410. package/dist/index264.js +0 -7
  411. package/dist/index267.js +0 -10
  412. package/dist/index271.js +0 -34
  413. package/dist/index278.js +0 -11
  414. package/dist/index281.js +0 -15
  415. package/dist/index285.js +0 -8
  416. package/dist/index291.js +0 -7
  417. package/dist/index294.js +0 -55
  418. package/dist/index297.js +0 -5
  419. package/dist/index300.js +0 -30
  420. package/dist/index303.js +0 -4
  421. package/dist/index308.js +0 -30
  422. package/dist/index311.js +0 -5
  423. package/dist/index314.js +0 -18
  424. package/dist/index317.js +0 -4
  425. package/dist/index320.js +0 -4
  426. package/dist/index323.js +0 -4
  427. package/dist/index327.js +0 -721
  428. package/dist/index333.js +0 -127
  429. package/dist/index336.js +0 -4
  430. package/dist/index341.js +0 -69
  431. package/dist/index344.js +0 -8
  432. package/dist/index348.js +0 -21
  433. package/dist/index354.js +0 -261
  434. package/dist/index355.js +0 -37
  435. package/dist/index356.js +0 -131
  436. package/dist/index357.js +0 -400
  437. package/dist/index358.js +0 -24
  438. package/dist/index360.js +0 -4
  439. package/dist/index361.js +0 -4
  440. package/dist/index362.js +0 -136
  441. package/dist/index363.js +0 -443
  442. package/dist/index364.js +0 -130
  443. package/dist/index365.js +0 -49
  444. package/dist/index366.js +0 -72
  445. package/dist/index367.js +0 -522
  446. package/dist/index368.js +0 -52
  447. package/dist/index4.js +0 -35
  448. package/dist/index70.js +0 -46
  449. package/dist/index84.js +0 -154
  450. package/dist/index99.js +0 -33
package/dist/index333.js DELETED
@@ -1,127 +0,0 @@
1
- import { __module as k } from "./index334.js";
2
- var nt = k.exports, G;
3
- function it() {
4
- return G ? k.exports : (G = 1, function(I, ot) {
5
- (function(E, F) {
6
- I.exports = F();
7
- })(nt, function() {
8
- 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" }, F = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, Q = /\d/, L = /\d\d/, s = /\d\d?/, x = /\d*[^-_:/,()\s\d]+/, m = {}, X = function(t) {
9
- return (t = +t) + (t > 68 ? 1900 : 2e3);
10
- }, o = function(t) {
11
- return function(r) {
12
- this[t] = +r;
13
- };
14
- }, R = [/[+-]\d\d:?(\d\d)?|Z/, function(t) {
15
- (this.zone || (this.zone = {})).offset = function(r) {
16
- if (!r || r === "Z") return 0;
17
- var e = r.match(/([+-]|\d\d)/g), n = 60 * e[1] + (+e[2] || 0);
18
- return n === 0 ? 0 : e[0] === "+" ? -n : n;
19
- }(t);
20
- }], P = function(t) {
21
- var r = m[t];
22
- return r && (r.indexOf ? r : r.s.concat(r.f));
23
- }, V = function(t, r) {
24
- var e, n = m.meridiem;
25
- if (n) {
26
- for (var f = 1; f <= 24; f += 1) if (t.indexOf(n(f, 0, r)) > -1) {
27
- e = f > 12;
28
- break;
29
- }
30
- } else e = t === (r ? "pm" : "PM");
31
- return e;
32
- }, J = { A: [x, function(t) {
33
- this.afternoon = V(t, !1);
34
- }], a: [x, function(t) {
35
- this.afternoon = V(t, !0);
36
- }], Q: [Q, function(t) {
37
- this.month = 3 * (t - 1) + 1;
38
- }], S: [Q, function(t) {
39
- this.milliseconds = 100 * +t;
40
- }], SS: [L, function(t) {
41
- this.milliseconds = 10 * +t;
42
- }], SSS: [/\d{3}/, function(t) {
43
- this.milliseconds = +t;
44
- }], s: [s, o("seconds")], ss: [s, o("seconds")], m: [s, o("minutes")], mm: [s, o("minutes")], H: [s, o("hours")], h: [s, o("hours")], HH: [s, o("hours")], hh: [s, o("hours")], D: [s, o("day")], DD: [L, o("day")], Do: [x, function(t) {
45
- var r = m.ordinal, e = t.match(/\d+/);
46
- if (this.day = e[0], r) for (var n = 1; n <= 31; n += 1) r(n).replace(/\[|\]/g, "") === t && (this.day = n);
47
- }], w: [s, o("week")], ww: [L, o("week")], M: [s, o("month")], MM: [L, o("month")], MMM: [x, function(t) {
48
- var r = P("months"), e = (P("monthsShort") || r.map(function(n) {
49
- return n.slice(0, 3);
50
- })).indexOf(t) + 1;
51
- if (e < 1) throw new Error();
52
- this.month = e % 12 || e;
53
- }], MMMM: [x, function(t) {
54
- var r = P("months").indexOf(t) + 1;
55
- if (r < 1) throw new Error();
56
- this.month = r % 12 || r;
57
- }], Y: [/[+-]?\d+/, o("year")], YY: [L, function(t) {
58
- this.year = X(t);
59
- }], YYYY: [/\d{4}/, o("year")], Z: R, ZZ: R };
60
- function K(t) {
61
- var r, e;
62
- r = t, e = m && m.formats;
63
- for (var n = (t = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(v, l, u) {
64
- var i = u && u.toUpperCase();
65
- return l || e[u] || E[u] || e[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(M, Y, D) {
66
- return Y || D.slice(1);
67
- });
68
- })).match(F), f = n.length, h = 0; h < f; h += 1) {
69
- var $ = n[h], p = J[$], c = p && p[0], d = p && p[1];
70
- n[h] = d ? { regex: c, parser: d } : $.replace(/^\[|\]$/g, "");
71
- }
72
- return function(v) {
73
- for (var l = {}, u = 0, i = 0; u < f; u += 1) {
74
- var M = n[u];
75
- if (typeof M == "string") i += M.length;
76
- else {
77
- var Y = M.regex, D = M.parser, y = v.slice(i), g = Y.exec(y)[0];
78
- D.call(l, g), v = v.replace(g, "");
79
- }
80
- }
81
- return function(w) {
82
- var S = w.afternoon;
83
- if (S !== void 0) {
84
- var a = w.hours;
85
- S ? a < 12 && (w.hours += 12) : a === 12 && (w.hours = 0), delete w.afternoon;
86
- }
87
- }(l), l;
88
- };
89
- }
90
- return function(t, r, e) {
91
- e.p.customParseFormat = !0, t && t.parseTwoDigitYear && (X = t.parseTwoDigitYear);
92
- var n = r.prototype, f = n.parse;
93
- n.parse = function(h) {
94
- var $ = h.date, p = h.utc, c = h.args;
95
- this.$u = p;
96
- var d = c[1];
97
- if (typeof d == "string") {
98
- var v = c[2] === !0, l = c[3] === !0, u = v || l, i = c[2];
99
- l && (i = c[2]), m = this.$locale(), !v && i && (m = e.Ls[i]), this.$d = function(y, g, w, S) {
100
- try {
101
- if (["x", "X"].indexOf(g) > -1) return new Date((g === "X" ? 1e3 : 1) * y);
102
- var a = K(g)(y), _ = a.year, A = a.month, N = a.day, W = a.hours, tt = a.minutes, rt = a.seconds, et = a.milliseconds, j = a.zone, B = a.week, C = /* @__PURE__ */ new Date(), H = N || (_ || A ? 1 : C.getDate()), O = _ || C.getFullYear(), T = 0;
103
- _ && !A || (T = A > 0 ? A - 1 : C.getMonth());
104
- var Z, z = W || 0, q = tt || 0, U = rt || 0, b = et || 0;
105
- return j ? new Date(Date.UTC(O, T, H, z, q, U, b + 60 * j.offset * 1e3)) : w ? new Date(Date.UTC(O, T, H, z, q, U, b)) : (Z = new Date(O, T, H, z, q, U, b), B && (Z = S(Z).week(B).toDate()), Z);
106
- } catch {
107
- return /* @__PURE__ */ new Date("");
108
- }
109
- }($, d, p, e), this.init(), i && i !== !0 && (this.$L = this.locale(i).$L), u && $ != this.format(d) && (this.$d = /* @__PURE__ */ new Date("")), m = {};
110
- } else if (d instanceof Array) for (var M = d.length, Y = 1; Y <= M; Y += 1) {
111
- c[1] = d[Y - 1];
112
- var D = e.apply(this, c);
113
- if (D.isValid()) {
114
- this.$d = D.$d, this.$L = D.$L, this.init();
115
- break;
116
- }
117
- Y === M && (this.$d = /* @__PURE__ */ new Date(""));
118
- }
119
- else f.call(this, h);
120
- };
121
- };
122
- });
123
- }(k), k.exports);
124
- }
125
- export {
126
- it as __require
127
- };
package/dist/index336.js DELETED
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
package/dist/index341.js DELETED
@@ -1,69 +0,0 @@
1
- const e = {
2
- common: {
3
- closeLabel: "Chiudi",
4
- loadingText: "Caricamento...",
5
- noDataText: "Nessun elemento da visualizzare",
6
- clearLabel: "Reset valore selezionato"
7
- },
8
- colorInput: {
9
- dialogLabel: "Selettore colore",
10
- openPicker: "Apri il selettore colore",
11
- openPickerSelected: "Apri il selettore colore, colore corrente: {0}",
12
- paletteLabel: "Seleziona un colore dalla tavolozza",
13
- mainCanvasDesc: "Usa le frecce per selezionare un colore",
14
- mainCanvasSelectedColor: "Colore selezionato: {0}",
15
- hueCanvasDesc: "Usa le frecce per selezionare una tonalità",
16
- hueCanvasSelectedHue: "Tonalità selezionata: {0}",
17
- alphaSliderDesc: "Usa le frecce per regolare l'opacità",
18
- eyeDropper: "Seleziona colore dallo schermo"
19
- },
20
- datePicker: {
21
- monthLabel: "Seleziona un mese",
22
- yearLabel: "Seleziona un anno",
23
- previousMonthLabel: "Vai indietro di un mese",
24
- nextMonthLabel: "Vai avanti di un mese"
25
- },
26
- baseDatePickerInput: {
27
- dateFormat: "Formato della data",
28
- dateFormatSingle: "GG/MM/AAAA",
29
- dateFormatRange: "GG/MM/AAAA - GG/MM/AAAA",
30
- emptyRange: "Seleziona un range",
31
- changeSelectionRange: "Cambia selezione, da {0} a {1}",
32
- changeSelection: "Cambia selezione, {0}",
33
- emptySelection: "Seleziona una data"
34
- },
35
- dialog: {
36
- closeLabel: "Chiudi modale"
37
- },
38
- dropdownButton: {
39
- open: "Apri menu",
40
- close: "Chiudi menu"
41
- },
42
- rating: {
43
- singleStar: "{0} su {1}",
44
- multipleStars: "{0} su {1}"
45
- },
46
- select: {
47
- multipleMaxReached: "{0} elementi selezionati"
48
- },
49
- chip: {
50
- clearLabel: "Elimina"
51
- },
52
- breadcrumbs: {
53
- label: "Breadcrumb",
54
- openHiddenLabelCount: "Mostra {0} breadcrumb nascoste"
55
- },
56
- pagination: {
57
- previous: "Precedente",
58
- next: "Successivo"
59
- },
60
- table: {
61
- noDataText: "Non ci sono elementi da visualizzare",
62
- selectAllLabel: "Seleziona tutti gli elementi di questa pagina",
63
- selectText: "Seleziona un elemento",
64
- select: "Seleziona"
65
- }
66
- };
67
- export {
68
- e as default
69
- };
package/dist/index344.js DELETED
@@ -1,8 +0,0 @@
1
- var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function l(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- export {
6
- o as commonjsGlobal,
7
- l as getDefaultExportFromCjs
8
- };
package/dist/index348.js DELETED
@@ -1,21 +0,0 @@
1
- function l(t, ...e) {
2
- if (t.length) {
3
- const o = t[0];
4
- if (typeof o == "string") return [...t].sort(r);
5
- if (typeof o == "number") return [...t].sort(r);
6
- if (e && e.length)
7
- return [...t].sort((f, u) => {
8
- for (let n = 0; n < e.length; n++) {
9
- const i = e[n], s = r(f[i], u[i]);
10
- if (s) return s;
11
- }
12
- return 0;
13
- });
14
- throw new Error("Invalid comparison");
15
- }
16
- return t;
17
- }
18
- const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
19
- export {
20
- l as sort
21
- };
package/dist/index354.js DELETED
@@ -1,261 +0,0 @@
1
- import { defineComponent as pe, useTemplateRef as G, computed as i, watch as E, ref as ve, createElementBlock as r, openBlock as c, withModifiers as he, normalizeStyle as V, normalizeClass as J, createElementVNode as v, renderSlot as b, createTextVNode as P, toDisplayString as x, unref as g, Fragment as Y, renderList as K } from "vue";
2
- import { isNil as f } from "./index239.js";
3
- import { useVirtualizer as be } from "./index365.js";
4
- import { useLocale as me } from "./index228.js";
5
- import { useListboxFocus as xe } from "./index366.js";
6
- import { indexBy as A } from "./index280.js";
7
- const ge = { class: "bb-listbox__outer-container scrollbar-border" }, fe = {
8
- ref: "inner",
9
- class: "bb-listbox__inner-container",
10
- tabindex: "-1"
11
- }, He = {
12
- key: 0,
13
- class: "bb-listbox__loading"
14
- }, _e = {
15
- key: 1,
16
- class: "bb-listbox__no-data"
17
- }, ye = ["aria-activedescendant", "aria-multiselectable"], Ie = ["aria-labelledby", "aria-disabled"], $e = ["id"], ke = { class: "bb-listbox__group-header-label" }, Be = ["aria-selected", "aria-setsize", "aria-posinset", "id", "data-index"], De = { class: "autocomplete-option__label" }, Ee = /* @__PURE__ */ pe({
18
- __name: "GroupedListBox",
19
- props: {
20
- compact: { type: Boolean },
21
- groups: {},
22
- headerHeight: {},
23
- loading: { type: Boolean },
24
- loadingText: {},
25
- multiple: { type: Boolean },
26
- noDataText: {},
27
- open: { type: Boolean },
28
- optionHeight: {},
29
- transitionDuration: { default: 250 }
30
- },
31
- emits: ["option:selected", "option:unselected", "focused:change"],
32
- setup(Q, { expose: U, emit: W }) {
33
- const s = Q, H = W, { t: F } = me(), h = G("inner"), X = G("listbox"), _ = i(() => s.optionHeight ? s.optionHeight : s.compact ? 32 : 40), y = i(() => s.headerHeight ? s.headerHeight : s.compact ? 24 : 32), Z = i(() => {
34
- let e = 0;
35
- return s.groups.map((a, t) => {
36
- const l = a.id, p = e, d = a.options.length, D = y.value + d * _.value, M = `group-header-${a.id}`, S = typeof a.data == "string" ? a.data : JSON.stringify(a.data), T = a.options.every((O) => O.disabled), z = a.data, L = a.options;
37
- return e += d, {
38
- offset: p,
39
- length: d,
40
- height: D,
41
- id: l,
42
- headerId: M,
43
- label: S,
44
- index: t,
45
- allOptionsAreDisabled: T,
46
- data: z,
47
- options: L
48
- };
49
- });
50
- }), n = i(
51
- () => A(Z.value, "index")
52
- ), m = i(() => s.groups.flatMap(
53
- (e, a) => e.options.map((t, l) => {
54
- const p = t.valueHash, d = n.value[a].offset + l, D = e.id, M = !!t.selected, S = !!t.disabled, T = t.item, z = t.text, L = t.value, O = d === u.value;
55
- return {
56
- id: p,
57
- globalIndex: d,
58
- groupIndex: a,
59
- groupId: D,
60
- indexInGroup: l,
61
- selected: M,
62
- disabled: S,
63
- item: T,
64
- text: z,
65
- value: L,
66
- valueHash: t.valueHash,
67
- focused: O
68
- };
69
- })
70
- )), o = i(() => A(m.value, "id")), I = i(
71
- () => A(m.value, "globalIndex")
72
- ), N = (e) => `listbox-option-${e}`, $ = i(() => {
73
- if (f(u.value)) return;
74
- const e = I.value[u.value];
75
- if (e)
76
- return N(e.valueHash);
77
- }), k = i(() => m.value.length > 0), w = (e) => y.value + s.groups[e].options.length * _.value, B = be({
78
- get count() {
79
- return s.groups.length;
80
- },
81
- getScrollElement: () => h.value ?? null,
82
- estimateSize: (e) => w(e),
83
- overscan: 2
84
- }), ee = i(() => B.value.getVirtualItems()), te = i(() => B.value.getTotalSize()), {
85
- focusedIndex: u,
86
- focusNext: ae,
87
- focusPrevious: le,
88
- focusFirst: se,
89
- focusLast: oe,
90
- focusFirstSelected: ne,
91
- focusLastSelected: ie,
92
- focusByHash: ue,
93
- blur: C,
94
- getHighlighted: de
95
- } = xe(
96
- i(() => m.value),
97
- { disabled: () => !s.open }
98
- ), re = () => {
99
- if (!h.value || f(u.value)) return;
100
- const e = h.value.querySelector(
101
- `[data-index="${u.value}"]`
102
- );
103
- e && e.scrollIntoView({ block: "nearest", behavior: "smooth" });
104
- };
105
- E(u, () => {
106
- re(), H("focused:change", $.value);
107
- });
108
- const R = () => {
109
- if (f(u.value) || !s.open) return;
110
- const e = I.value[u.value];
111
- if (!e || e.disabled) return;
112
- const a = {
113
- text: e.text,
114
- value: e.value,
115
- item: e.item,
116
- valueHash: e.valueHash,
117
- selected: e.selected,
118
- disabled: e.disabled
119
- };
120
- e.selected ? H("option:unselected", a) : H("option:selected", a);
121
- }, j = ve(0), q = () => {
122
- h.value && (j.value = h.value.scrollHeight);
123
- }, ce = (e) => {
124
- if (e.preventDefault(), h.value && e.target instanceof HTMLElement && X.value) {
125
- let a = e.target, t = a.dataset.index;
126
- for (; f(t) && a.parentElement; )
127
- a = a.parentElement, t = a.dataset.index;
128
- if (t) {
129
- const l = I.value[+t];
130
- l && !l.disabled && (u.value = +t, R());
131
- }
132
- }
133
- };
134
- return E(() => s.open, q, { flush: "post" }), E(
135
- () => s.groups,
136
- (e, a) => {
137
- const t = e.flatMap((p) => p.options.map((d) => d.valueHash)).join(","), l = a.flatMap((p) => p.options.map((d) => d.valueHash)).join(",");
138
- t !== l && (B.value.measure(), q(), C());
139
- },
140
- { flush: "post" }
141
- ), U({
142
- focusNext: ae,
143
- focusPrevious: le,
144
- focusFirst: se,
145
- focusFirstSelected: ne,
146
- focusLast: oe,
147
- focusLastSelected: ie,
148
- blur: C,
149
- confirmOption: R,
150
- focusByHash: ue,
151
- getHighlighted: de,
152
- getActiveDescendantId: () => $.value
153
- }), (e, a) => (c(), r("span", {
154
- class: J(["bb-listbox bb-listbox--grouped", {
155
- "bb-listbox--compact": e.compact,
156
- "bb-listbox--loading": e.loading,
157
- "bb-listbox--multiple": e.multiple,
158
- "bb-listbox--no-data": !k.value,
159
- "bb-listbox--open": e.open
160
- }]),
161
- style: V({
162
- "--transition-duration": `${e.transitionDuration}ms`,
163
- "--overlay-min-height": `${j.value}px`,
164
- "--option-height": `${_.value}px`,
165
- "--group-header-height": `${y.value}px`
166
- }),
167
- onClick: he(ce, ["stop"])
168
- }, [
169
- v("span", ge, [
170
- v("span", fe, [
171
- b(e.$slots, "options:prepend"),
172
- e.loading && !k.value ? (c(), r("span", He, [
173
- b(e.$slots, "loading", {}, () => [
174
- P(x(e.loadingText || g(F)("common.loadingText").value), 1)
175
- ])
176
- ])) : k.value ? (c(), r("span", {
177
- key: 2,
178
- role: "listbox",
179
- ref: "listbox",
180
- style: V({ height: `${te.value}px` }),
181
- "aria-activedescendant": $.value,
182
- "aria-multiselectable": e.multiple ? !0 : void 0,
183
- tabindex: "-1"
184
- }, [
185
- (c(!0), r(Y, null, K(ee.value, (t) => (c(), r("span", {
186
- key: n.value[t.index].id,
187
- style: V({ transform: `translateY(${t.start}px)` }),
188
- role: "group",
189
- "aria-labelledby": n.value[t.index].headerId,
190
- "aria-disabled": n.value[t.index].allOptionsAreDisabled,
191
- class: "bb-listbox__group"
192
- }, [
193
- v("span", {
194
- class: "bb-listbox__group-header",
195
- role: "presentation",
196
- id: n.value[t.index].headerId
197
- }, [
198
- b(e.$slots, "group", {
199
- text: n.value[t.index].label,
200
- item: n.value[t.index].data,
201
- index: t.index,
202
- length: n.value[t.index].length,
203
- disabled: n.value[t.index].allOptionsAreDisabled
204
- }, () => [
205
- v("span", ke, x(n.value[t.index].label), 1)
206
- ])
207
- ], 8, $e),
208
- (c(!0), r(Y, null, K(n.value[t.index].options, (l) => (c(), r("span", {
209
- key: l.valueHash,
210
- "aria-selected": o.value[l.valueHash].selected ? !0 : void 0,
211
- "aria-setsize": n.value[t.index].length,
212
- "aria-posinset": o.value[l.valueHash].indexInGroup + 1,
213
- id: N(l.valueHash),
214
- class: J({
215
- "bb-listbox__option autocomplete-option": !0,
216
- "autocomplete-option--focused": g(u) === o.value[l.valueHash].globalIndex,
217
- "autocomplete-option--selected": o.value[l.valueHash].selected,
218
- "autocomplete-option--disabled": o.value[l.valueHash].disabled
219
- }),
220
- "data-index": o.value[l.valueHash].globalIndex,
221
- role: "option"
222
- }, [
223
- b(e.$slots, "option", {
224
- disabled: !!o.value[l.valueHash].disabled,
225
- focused: g(u) === o.value[l.valueHash].globalIndex,
226
- index: o.value[l.valueHash].globalIndex,
227
- item: o.value[l.valueHash].item,
228
- selected: !!o.value[l.valueHash].selected,
229
- text: o.value[l.valueHash].text,
230
- value: o.value[l.valueHash].value
231
- }, () => [
232
- a[0] || (a[0] = v("svg", {
233
- class: "autocomplete-option__checkbox",
234
- role: "presentation",
235
- viewBox: "276.411 158.834 114.971 114.97"
236
- }, [
237
- v("path", {
238
- d: "M 297.574 224.786 L 318.309 243.134 L 371.568 189.232",
239
- fill: "none",
240
- "stroke-linecap": "round",
241
- "stroke-width": "14px"
242
- })
243
- ], -1)),
244
- v("span", De, x(o.value[l.valueHash].text), 1)
245
- ])
246
- ], 10, Be))), 128))
247
- ], 12, Ie))), 128))
248
- ], 12, ye)) : (c(), r("span", _e, [
249
- b(e.$slots, "no-data", {}, () => [
250
- P(x(e.noDataText || g(F)("common.noDataText").value), 1)
251
- ])
252
- ])),
253
- b(e.$slots, "options:append")
254
- ], 512)
255
- ])
256
- ], 6));
257
- }
258
- });
259
- export {
260
- Ee as default
261
- };
package/dist/index355.js DELETED
@@ -1,37 +0,0 @@
1
- import { ref as c, computed as a } from "vue";
2
- function w(o) {
3
- const e = c(!1), r = c(!1);
4
- let n = null;
5
- const s = () => {
6
- if (e.value)
7
- throw new Error("Operation was cancelled");
8
- }, u = async (...i) => {
9
- r.value && t(), e.value = !1, r.value = !0, n = new AbortController();
10
- const f = {
11
- signal: n.signal,
12
- isCancelled: a(() => e.value),
13
- checkCancelled: s
14
- };
15
- try {
16
- const l = await o(f, ...i);
17
- if (!e.value)
18
- return l;
19
- throw new Error("Operation was cancelled");
20
- } catch (l) {
21
- throw l instanceof Error && (l.message === "Operation was cancelled" || l.name === "AbortError"), l;
22
- } finally {
23
- r.value = !1, n = null;
24
- }
25
- }, t = () => {
26
- n && !e.value && (e.value = !0, n.abort());
27
- };
28
- return {
29
- execute: u,
30
- cancel: t,
31
- isCancelled: a(() => e.value),
32
- isExecuting: a(() => r.value)
33
- };
34
- }
35
- export {
36
- w as useCancelableFunction
37
- };
package/dist/index356.js DELETED
@@ -1,131 +0,0 @@
1
- import { arrow as j, computePosition as A } from "./index357.js";
2
- import { autoUpdate as W, flip as X, hide as Y, offset as Z, platform as ee, shift as ne } from "./index357.js";
3
- import { isNode as B, getNodeName as F } from "./index362.js";
4
- import { getOverflowAncestors as le } from "./index362.js";
5
- import { computed as r, ref as c, shallowRef as I, watch as x, getCurrentScope as U, onScopeDispose as k, shallowReadonly as o, unref as q } from "vue";
6
- function z(e) {
7
- return e != null && typeof e == "object" && "$el" in e;
8
- }
9
- function V(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 i(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 = V(i(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 D = t.whileElementsMounted, s = r(() => {
42
- var n;
43
- return (n = i(t.open)) != null ? n : !0;
44
- }), O = r(() => i(t.middleware)), p = r(() => {
45
- var n;
46
- return (n = i(t.placement)) != null ? n : "bottom";
47
- }), w = r(() => {
48
- var n;
49
- return (n = i(t.strategy)) != null ? n : "absolute";
50
- }), S = r(() => {
51
- var n;
52
- return (n = i(t.transform)) != null ? n : !0;
53
- }), f = r(() => V(e.value)), u = r(() => V(l.value)), y = c(0), h = c(0), m = c(w.value), P = c(p.value), E = I({}), g = c(!1), _ = r(() => {
54
- const n = {
55
- position: m.value,
56
- left: "0",
57
- top: "0"
58
- };
59
- if (!u.value)
60
- return n;
61
- const a = C(u.value, y.value), b = C(u.value, h.value);
62
- return S.value ? {
63
- ...n,
64
- transform: "translate(" + a + "px, " + b + "px)",
65
- ...M(u.value) >= 1.5 && {
66
- willChange: "transform"
67
- }
68
- } : {
69
- position: m.value,
70
- left: a + "px",
71
- top: b + "px"
72
- };
73
- });
74
- let d;
75
- function v() {
76
- if (f.value == null || u.value == null)
77
- return;
78
- const n = s.value;
79
- A(f.value, u.value, {
80
- middleware: O.value,
81
- placement: p.value,
82
- strategy: w.value
83
- }).then((a) => {
84
- y.value = a.x, h.value = a.y, m.value = a.strategy, P.value = a.placement, E.value = a.middlewareData, g.value = n !== !1;
85
- });
86
- }
87
- function R() {
88
- typeof d == "function" && (d(), d = void 0);
89
- }
90
- function N() {
91
- if (R(), D === void 0) {
92
- v();
93
- return;
94
- }
95
- if (f.value != null && u.value != null) {
96
- d = D(f.value, u.value, v);
97
- return;
98
- }
99
- }
100
- function $() {
101
- s.value || (g.value = !1);
102
- }
103
- return x([O, p, w, s], v, {
104
- flush: "sync"
105
- }), x([f, u], N, {
106
- flush: "sync"
107
- }), x(s, $, {
108
- flush: "sync"
109
- }), U() && k(R), {
110
- x: o(y),
111
- y: o(h),
112
- strategy: o(m),
113
- placement: o(P),
114
- middlewareData: o(E),
115
- isPositioned: o(g),
116
- floatingStyles: _,
117
- update: v
118
- };
119
- }
120
- export {
121
- K as arrow,
122
- W as autoUpdate,
123
- A as computePosition,
124
- X as flip,
125
- le as getOverflowAncestors,
126
- Y as hide,
127
- Z as offset,
128
- ee as platform,
129
- ne as shift,
130
- L as useFloating
131
- };