@sprawlify/primitives 0.0.87 → 0.0.88

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 (369) hide show
  1. package/dist/anatomy.cjs +3 -3
  2. package/dist/anatomy.d.mts +1 -1
  3. package/dist/anatomy.mjs +2 -3
  4. package/dist/{aria-hidden-Csp0PkO_.mjs → aria-hidden-P3kaF8gG.mjs} +2 -6
  5. package/dist/{aria-hidden-CHWfuKk2.cjs → aria-hidden-UJAPt1aA.cjs} +7 -11
  6. package/dist/aria-hidden.cjs +4 -4
  7. package/dist/aria-hidden.mjs +3 -4
  8. package/dist/{auto-resize-jPUJLPa4.mjs → auto-resize-Bjzuo5Lh.mjs} +2 -6
  9. package/dist/{auto-resize-BL8ul-hb.cjs → auto-resize-DzPXdyR-.cjs} +12 -16
  10. package/dist/auto-resize.cjs +4 -4
  11. package/dist/auto-resize.mjs +3 -4
  12. package/dist/{chunk-CbDLau6x.cjs → chunk-CKQMccvm.cjs} +13 -19
  13. package/dist/{collection-DHyEg4g5.mjs → collection-CcsrqDFY.mjs} +3 -9
  14. package/dist/{collection-Fkg4kgPn.cjs → collection-DZeodezM.cjs} +43 -49
  15. package/dist/collection.cjs +4 -4
  16. package/dist/collection.d.cts +4 -4
  17. package/dist/collection.d.mts +4 -4
  18. package/dist/collection.mjs +3 -4
  19. package/dist/{color-utils-CaqLeEog.mjs → color-utils-BK3Ae7x1.mjs} +3 -12
  20. package/dist/{color-utils-eUlz6Gq4.cjs → color-utils-XoYeFX3g.cjs} +23 -32
  21. package/dist/color-utils.cjs +4 -4
  22. package/dist/color-utils.d.cts +1 -1
  23. package/dist/color-utils.d.mts +1 -1
  24. package/dist/color-utils.mjs +3 -4
  25. package/dist/{core-CHsDFMV3.cjs → core-BiGlJ-4W.cjs} +43 -49
  26. package/dist/{core-owywCQ2e.mjs → core-DfVajPnu.mjs} +3 -9
  27. package/dist/core.cjs +5 -5
  28. package/dist/core.d.cts +3 -3
  29. package/dist/core.d.mts +3 -3
  30. package/dist/core.mjs +4 -5
  31. package/dist/{create-anatomy-CDsIFUXg.cjs → create-anatomy-BnwEmNnc.cjs} +6 -8
  32. package/dist/{create-anatomy-BVqM_FJ6.mjs → create-anatomy-Dr0evdYy.mjs} +1 -2
  33. package/dist/{create-props-Dtoa4OUk.mjs → create-props-DFW8DUsC.mjs} +1 -2
  34. package/dist/create-props-DP39rHnH.cjs +9 -0
  35. package/dist/{date-utils-BDBOiT_6.cjs → date-utils-BuJkKL09.cjs} +265 -279
  36. package/dist/{date-utils-LnVS7q0z.mjs → date-utils-DCaRa_Ry.mjs} +1 -15
  37. package/dist/date-utils.cjs +3 -3
  38. package/dist/date-utils.d.cts +1 -1
  39. package/dist/date-utils.d.mts +1 -1
  40. package/dist/date-utils.mjs +2 -3
  41. package/dist/{defineProperty-_bOnJOii.cjs → defineProperty-8IOBQ1i_.cjs} +10 -15
  42. package/dist/{defineProperty-DR_NxfHn.mjs → defineProperty-D5oW_HU_.mjs} +5 -9
  43. package/dist/{dismissable-BlZazbp3.mjs → dismissable-BAYaXwxZ.mjs} +4 -9
  44. package/dist/{dismissable-DSFGuAU6.cjs → dismissable-DPXx0m0m.cjs} +14 -19
  45. package/dist/{dismissable-layer-B2bSyA07.d.cts → dismissable-layer-ZgyqN8AD.d.cts} +2 -2
  46. package/dist/{dismissable-layer-CpUMMV1f.d.mts → dismissable-layer-h14gHVbJ.d.mts} +2 -2
  47. package/dist/dismissable.cjs +6 -6
  48. package/dist/dismissable.d.cts +2 -2
  49. package/dist/dismissable.d.mts +2 -2
  50. package/dist/dismissable.mjs +5 -6
  51. package/dist/{dom-query-CAFhX43H.cjs → dom-query-6Wt-Tikf.cjs} +775 -806
  52. package/dist/{dom-query-CQFBCdpo.mjs → dom-query-dX8Dakb4.mjs} +2 -33
  53. package/dist/dom-query.cjs +3 -3
  54. package/dist/dom-query.d.cts +7 -7
  55. package/dist/dom-query.d.mts +7 -7
  56. package/dist/dom-query.mjs +2 -3
  57. package/dist/{file-utils-Bkp18nrt.cjs → file-utils-CY6_zVut.cjs} +52 -67
  58. package/dist/{file-utils-lcjM-YjV.mjs → file-utils-VgQ3YV2A.mjs} +2 -16
  59. package/dist/file-utils.cjs +3 -3
  60. package/dist/file-utils.d.cts +1 -1
  61. package/dist/file-utils.d.mts +1 -1
  62. package/dist/file-utils.mjs +2 -3
  63. package/dist/{focus-trap-BXT0oBtL.mjs → focus-trap-Cd09JaUn.mjs} +3 -6
  64. package/dist/{focus-trap-zaIiaoqE.cjs → focus-trap-ClCNF7kY.cjs} +13 -16
  65. package/dist/focus-trap.cjs +4 -4
  66. package/dist/focus-trap.mjs +3 -4
  67. package/dist/{focus-visible-DjGDsaLn.mjs → focus-visible-CSuBQ5QZ.mjs} +2 -4
  68. package/dist/{focus-visible-3pXNNo-l.cjs → focus-visible-CqHoOOjw.cjs} +32 -34
  69. package/dist/focus-visible.cjs +4 -4
  70. package/dist/focus-visible.mjs +3 -4
  71. package/dist/highlight-word.cjs +2 -7
  72. package/dist/highlight-word.mjs +1 -6
  73. package/dist/hotkeys.cjs +11 -20
  74. package/dist/hotkeys.mjs +10 -20
  75. package/dist/{i18n-utils-KuoJj66z.mjs → i18n-utils-DHGN_KCY.mjs} +2 -14
  76. package/dist/{i18n-utils-CK27xonZ.cjs → i18n-utils-Dm8cGCol.cjs} +57 -69
  77. package/dist/i18n-utils.cjs +4 -4
  78. package/dist/i18n-utils.mjs +3 -4
  79. package/dist/index.mjs +1 -1
  80. package/dist/{interact-outside-CRmkKF6k.mjs → interact-outside-C-8lOhpV.mjs} +3 -6
  81. package/dist/{interact-outside-Dk2otQqs.cjs → interact-outside-DRaFGdMg.cjs} +8 -11
  82. package/dist/interact-outside.cjs +5 -5
  83. package/dist/interact-outside.d.cts +1 -1
  84. package/dist/interact-outside.d.mts +1 -1
  85. package/dist/interact-outside.mjs +4 -5
  86. package/dist/json-tree-utils.cjs +6 -11
  87. package/dist/json-tree-utils.mjs +5 -10
  88. package/dist/{list-collection-C9XUe75n.d.mts → list-collection-B_8BN0XB.d.cts} +1 -1
  89. package/dist/{list-collection-DwMgPYoA.d.cts → list-collection-DkRA5LOq.d.mts} +1 -1
  90. package/dist/{live-region-2RiuzOr-.cjs → live-region-TGReV9nm.cjs} +6 -8
  91. package/dist/{live-region-CBp2K1JK.mjs → live-region-TgEDzvS4.mjs} +1 -2
  92. package/dist/live-region.cjs +3 -3
  93. package/dist/live-region.d.cts +1 -1
  94. package/dist/live-region.d.mts +1 -1
  95. package/dist/live-region.mjs +2 -3
  96. package/dist/machines/accordion/index.cjs +7 -12
  97. package/dist/machines/accordion/index.d.cts +3 -3
  98. package/dist/machines/accordion/index.d.mts +4 -4
  99. package/dist/machines/accordion/index.mjs +6 -12
  100. package/dist/machines/angle-slider/index.cjs +13 -23
  101. package/dist/machines/angle-slider/index.d.cts +3 -3
  102. package/dist/machines/angle-slider/index.d.mts +4 -4
  103. package/dist/machines/angle-slider/index.mjs +12 -23
  104. package/dist/machines/aspect-ratio/index.cjs +7 -12
  105. package/dist/machines/aspect-ratio/index.d.cts +3 -3
  106. package/dist/machines/aspect-ratio/index.d.mts +4 -4
  107. package/dist/machines/aspect-ratio/index.mjs +6 -12
  108. package/dist/machines/async-list/index.cjs +5 -7
  109. package/dist/machines/async-list/index.d.cts +1 -1
  110. package/dist/machines/async-list/index.d.mts +1 -1
  111. package/dist/machines/async-list/index.mjs +4 -7
  112. package/dist/machines/avatar/index.cjs +7 -12
  113. package/dist/machines/avatar/index.d.cts +2 -2
  114. package/dist/machines/avatar/index.d.mts +3 -3
  115. package/dist/machines/avatar/index.mjs +6 -12
  116. package/dist/machines/bottom-sheet/index.cjs +13 -22
  117. package/dist/machines/bottom-sheet/index.d.cts +5 -5
  118. package/dist/machines/bottom-sheet/index.d.mts +6 -6
  119. package/dist/machines/bottom-sheet/index.mjs +12 -22
  120. package/dist/machines/carousel/index.cjs +8 -13
  121. package/dist/machines/carousel/index.d.cts +3 -3
  122. package/dist/machines/carousel/index.d.mts +4 -4
  123. package/dist/machines/carousel/index.mjs +7 -13
  124. package/dist/machines/checkbox/index.cjs +8 -13
  125. package/dist/machines/checkbox/index.d.cts +3 -3
  126. package/dist/machines/checkbox/index.d.mts +4 -4
  127. package/dist/machines/checkbox/index.mjs +7 -13
  128. package/dist/machines/clipboard/index.cjs +7 -12
  129. package/dist/machines/clipboard/index.d.cts +3 -3
  130. package/dist/machines/clipboard/index.d.mts +4 -4
  131. package/dist/machines/clipboard/index.mjs +6 -12
  132. package/dist/machines/collapsible/index.cjs +7 -12
  133. package/dist/machines/collapsible/index.d.cts +3 -3
  134. package/dist/machines/collapsible/index.d.mts +4 -4
  135. package/dist/machines/collapsible/index.mjs +6 -12
  136. package/dist/machines/color-picker/index.cjs +11 -21
  137. package/dist/machines/color-picker/index.d.cts +6 -6
  138. package/dist/machines/color-picker/index.d.mts +7 -7
  139. package/dist/machines/color-picker/index.mjs +10 -21
  140. package/dist/machines/combobox/index.cjs +11 -17
  141. package/dist/machines/combobox/index.d.cts +7 -7
  142. package/dist/machines/combobox/index.d.mts +8 -8
  143. package/dist/machines/combobox/index.mjs +10 -17
  144. package/dist/machines/date-picker/index.cjs +15 -24
  145. package/dist/machines/date-picker/index.d.cts +7 -7
  146. package/dist/machines/date-picker/index.d.mts +8 -8
  147. package/dist/machines/date-picker/index.mjs +13 -23
  148. package/dist/machines/dialog/index.cjs +12 -17
  149. package/dist/machines/dialog/index.d.cts +5 -5
  150. package/dist/machines/dialog/index.d.mts +6 -6
  151. package/dist/machines/dialog/index.mjs +11 -17
  152. package/dist/machines/dropdown-menu/index.cjs +12 -18
  153. package/dist/machines/dropdown-menu/index.d.cts +8 -8
  154. package/dist/machines/dropdown-menu/index.d.mts +9 -9
  155. package/dist/machines/dropdown-menu/index.mjs +11 -18
  156. package/dist/machines/editable/index.cjs +8 -13
  157. package/dist/machines/editable/index.d.cts +4 -4
  158. package/dist/machines/editable/index.d.mts +5 -5
  159. package/dist/machines/editable/index.mjs +7 -13
  160. package/dist/machines/file-upload/index.cjs +9 -15
  161. package/dist/machines/file-upload/index.d.cts +4 -4
  162. package/dist/machines/file-upload/index.d.mts +5 -5
  163. package/dist/machines/file-upload/index.mjs +8 -15
  164. package/dist/machines/floating-panel/index.cjs +9 -16
  165. package/dist/machines/floating-panel/index.d.cts +4 -4
  166. package/dist/machines/floating-panel/index.d.mts +5 -5
  167. package/dist/machines/floating-panel/index.mjs +8 -16
  168. package/dist/machines/hover-card/index.cjs +10 -15
  169. package/dist/machines/hover-card/index.d.cts +5 -5
  170. package/dist/machines/hover-card/index.d.mts +6 -6
  171. package/dist/machines/hover-card/index.mjs +9 -15
  172. package/dist/machines/image-cropper/index.cjs +8 -16
  173. package/dist/machines/image-cropper/index.d.cts +3 -3
  174. package/dist/machines/image-cropper/index.d.mts +4 -4
  175. package/dist/machines/image-cropper/index.mjs +7 -16
  176. package/dist/machines/listbox/index.cjs +9 -15
  177. package/dist/machines/listbox/index.d.cts +7 -7
  178. package/dist/machines/listbox/index.d.mts +8 -8
  179. package/dist/machines/listbox/index.mjs +8 -15
  180. package/dist/machines/marquee/index.cjs +7 -13
  181. package/dist/machines/marquee/index.d.cts +5 -5
  182. package/dist/machines/marquee/index.d.mts +6 -6
  183. package/dist/machines/marquee/index.mjs +6 -13
  184. package/dist/machines/navigation-menu/index.cjs +15 -27
  185. package/dist/machines/navigation-menu/index.d.cts +3 -3
  186. package/dist/machines/navigation-menu/index.d.mts +4 -4
  187. package/dist/machines/navigation-menu/index.mjs +14 -27
  188. package/dist/machines/number-input/index.cjs +11 -21
  189. package/dist/machines/number-input/index.d.cts +3 -3
  190. package/dist/machines/number-input/index.d.mts +4 -4
  191. package/dist/machines/number-input/index.mjs +10 -22
  192. package/dist/machines/pagination/index.cjs +7 -13
  193. package/dist/machines/pagination/index.d.cts +3 -3
  194. package/dist/machines/pagination/index.d.mts +4 -4
  195. package/dist/machines/pagination/index.mjs +6 -13
  196. package/dist/machines/password-input/index.cjs +7 -12
  197. package/dist/machines/password-input/index.d.cts +3 -3
  198. package/dist/machines/password-input/index.d.mts +4 -4
  199. package/dist/machines/password-input/index.mjs +6 -12
  200. package/dist/machines/pin-input/index.cjs +9 -17
  201. package/dist/machines/pin-input/index.d.cts +3 -3
  202. package/dist/machines/pin-input/index.d.mts +4 -4
  203. package/dist/machines/pin-input/index.mjs +8 -17
  204. package/dist/machines/popover/index.cjs +13 -18
  205. package/dist/machines/popover/index.d.cts +6 -6
  206. package/dist/machines/popover/index.d.mts +7 -7
  207. package/dist/machines/popover/index.mjs +12 -18
  208. package/dist/machines/presence/index.cjs +6 -9
  209. package/dist/machines/presence/index.d.cts +2 -2
  210. package/dist/machines/presence/index.d.mts +2 -2
  211. package/dist/machines/presence/index.mjs +5 -9
  212. package/dist/machines/progress/index.cjs +7 -12
  213. package/dist/machines/progress/index.d.cts +3 -3
  214. package/dist/machines/progress/index.d.mts +4 -4
  215. package/dist/machines/progress/index.mjs +6 -12
  216. package/dist/machines/qr-code/index.cjs +8 -13
  217. package/dist/machines/qr-code/index.d.cts +3 -3
  218. package/dist/machines/qr-code/index.d.mts +4 -4
  219. package/dist/machines/qr-code/index.mjs +6 -12
  220. package/dist/machines/radio-group/index.cjs +8 -13
  221. package/dist/machines/radio-group/index.d.cts +3 -3
  222. package/dist/machines/radio-group/index.d.mts +4 -4
  223. package/dist/machines/radio-group/index.mjs +7 -13
  224. package/dist/machines/rating-group/index.cjs +7 -12
  225. package/dist/machines/rating-group/index.d.cts +2 -2
  226. package/dist/machines/rating-group/index.d.mts +3 -3
  227. package/dist/machines/rating-group/index.mjs +6 -12
  228. package/dist/machines/scroll-area/index.cjs +8 -20
  229. package/dist/machines/scroll-area/index.d.cts +3 -3
  230. package/dist/machines/scroll-area/index.d.mts +4 -4
  231. package/dist/machines/scroll-area/index.mjs +7 -20
  232. package/dist/machines/select/index.cjs +11 -17
  233. package/dist/machines/select/index.d.cts +8 -8
  234. package/dist/machines/select/index.d.mts +9 -9
  235. package/dist/machines/select/index.mjs +10 -17
  236. package/dist/machines/separator/index.cjs +7 -12
  237. package/dist/machines/separator/index.d.cts +2 -2
  238. package/dist/machines/separator/index.d.mts +3 -3
  239. package/dist/machines/separator/index.mjs +6 -12
  240. package/dist/machines/signature-pad/index.cjs +8 -14
  241. package/dist/machines/signature-pad/index.d.cts +2 -2
  242. package/dist/machines/signature-pad/index.d.mts +3 -3
  243. package/dist/machines/signature-pad/index.mjs +6 -13
  244. package/dist/machines/slider/index.cjs +7 -14
  245. package/dist/machines/slider/index.d.cts +3 -3
  246. package/dist/machines/slider/index.d.mts +4 -4
  247. package/dist/machines/slider/index.mjs +6 -14
  248. package/dist/machines/splitter/index.cjs +12 -27
  249. package/dist/machines/splitter/index.d.cts +3 -3
  250. package/dist/machines/splitter/index.d.mts +4 -4
  251. package/dist/machines/splitter/index.mjs +11 -27
  252. package/dist/machines/steps/index.cjs +7 -12
  253. package/dist/machines/steps/index.d.cts +3 -3
  254. package/dist/machines/steps/index.d.mts +4 -4
  255. package/dist/machines/steps/index.mjs +6 -12
  256. package/dist/machines/switch/index.cjs +8 -13
  257. package/dist/machines/switch/index.d.cts +3 -3
  258. package/dist/machines/switch/index.d.mts +4 -4
  259. package/dist/machines/switch/index.mjs +7 -13
  260. package/dist/machines/tabs/index.cjs +7 -12
  261. package/dist/machines/tabs/index.d.cts +3 -3
  262. package/dist/machines/tabs/index.d.mts +4 -4
  263. package/dist/machines/tabs/index.mjs +6 -12
  264. package/dist/machines/tags-input/index.cjs +11 -17
  265. package/dist/machines/tags-input/index.d.cts +5 -5
  266. package/dist/machines/tags-input/index.d.mts +6 -6
  267. package/dist/machines/tags-input/index.mjs +10 -17
  268. package/dist/machines/timer/index.cjs +7 -13
  269. package/dist/machines/timer/index.d.cts +3 -3
  270. package/dist/machines/timer/index.d.mts +4 -4
  271. package/dist/machines/timer/index.mjs +6 -13
  272. package/dist/machines/toast/index.cjs +8 -17
  273. package/dist/machines/toast/index.d.cts +4 -4
  274. package/dist/machines/toast/index.d.mts +5 -5
  275. package/dist/machines/toast/index.mjs +7 -17
  276. package/dist/machines/toggle/index.cjs +7 -11
  277. package/dist/machines/toggle/index.d.cts +2 -2
  278. package/dist/machines/toggle/index.d.mts +3 -3
  279. package/dist/machines/toggle/index.mjs +6 -11
  280. package/dist/machines/toggle-group/index.cjs +7 -12
  281. package/dist/machines/toggle-group/index.d.cts +2 -2
  282. package/dist/machines/toggle-group/index.d.mts +3 -3
  283. package/dist/machines/toggle-group/index.mjs +6 -12
  284. package/dist/machines/tooltip/index.cjs +9 -15
  285. package/dist/machines/tooltip/index.d.cts +4 -4
  286. package/dist/machines/tooltip/index.d.mts +5 -5
  287. package/dist/machines/tooltip/index.mjs +8 -15
  288. package/dist/machines/tour/index.cjs +11 -20
  289. package/dist/machines/tour/index.d.cts +6 -6
  290. package/dist/machines/tour/index.d.mts +7 -7
  291. package/dist/machines/tour/index.mjs +10 -20
  292. package/dist/machines/tree-view/index.cjs +8 -17
  293. package/dist/machines/tree-view/index.d.cts +6 -6
  294. package/dist/machines/tree-view/index.d.mts +7 -7
  295. package/dist/machines/tree-view/index.mjs +7 -17
  296. package/dist/{popper-DxgokNha.mjs → popper-CfOHZlHP.mjs} +3 -9
  297. package/dist/{popper-CY3ptPbm.cjs → popper-zq1F_iY8.cjs} +24 -30
  298. package/dist/popper.cjs +5 -5
  299. package/dist/popper.d.cts +1 -1
  300. package/dist/popper.d.mts +1 -1
  301. package/dist/popper.mjs +4 -5
  302. package/dist/{rect-utils-BobE6Wut.mjs → rect-utils-B5xqFvKC.mjs} +2 -24
  303. package/dist/{rect-utils-DtqZwNtZ.cjs → rect-utils-D3RkAaHK.cjs} +247 -269
  304. package/dist/rect-utils.cjs +3 -3
  305. package/dist/rect-utils.d.cts +1 -1
  306. package/dist/rect-utils.d.mts +1 -1
  307. package/dist/rect-utils.mjs +2 -3
  308. package/dist/{remove-scroll-DgJgF1C5.cjs → remove-scroll-B8AJyezV.cjs} +7 -9
  309. package/dist/{remove-scroll-DcPV6nZy.mjs → remove-scroll-DCUb1JPX.mjs} +2 -4
  310. package/dist/remove-scroll.mjs +1 -1
  311. package/dist/{scroll-snap-D_M1Q8ZQ.mjs → scroll-snap-De0H9CWU.mjs} +2 -4
  312. package/dist/{scroll-snap-DpEzlrHP.cjs → scroll-snap-voc0pMJd.cjs} +22 -24
  313. package/dist/scroll-snap.cjs +4 -4
  314. package/dist/scroll-snap.mjs +3 -4
  315. package/dist/{selection-wfybIxD3.d.cts → selection-Bb_ZSVxe.d.cts} +2 -2
  316. package/dist/{selection-CPTdpru8.d.mts → selection-DdNvrKbj.d.mts} +2 -2
  317. package/dist/{store-DMXvGOAu.mjs → store-BRn2zWDR.mjs} +1 -7
  318. package/dist/{store-B9Ewi-zx.cjs → store-k8bn_TOl.cjs} +37 -43
  319. package/dist/store.cjs +3 -3
  320. package/dist/store.mjs +2 -3
  321. package/dist/stringify-state.cjs +3 -4
  322. package/dist/stringify-state.mjs +1 -3
  323. package/dist/{tree-collection-1g4DXuqa.d.mts → tree-collection-DjtppzYh.d.cts} +1 -1
  324. package/dist/{tree-collection-CPcsMvje.d.cts → tree-collection-DlBCued7.d.mts} +1 -1
  325. package/dist/types.cjs +3 -4
  326. package/dist/types.d.cts +1 -1
  327. package/dist/types.d.mts +1 -1
  328. package/dist/types.mjs +2 -4
  329. package/dist/{utils-CJsQZljH.cjs → utils-ByNiZU8f.cjs} +527 -541
  330. package/dist/{utils-Vs04rt8f.mjs → utils-VVoZ_v29.mjs} +6 -20
  331. package/dist/utils.cjs +3 -3
  332. package/dist/utils.d.cts +1 -1
  333. package/dist/utils.d.mts +1 -1
  334. package/dist/utils.mjs +2 -3
  335. package/package.json +3 -3
  336. package/dist/create-props-l5q5b8Wo.cjs +0 -11
  337. /package/dist/{color-B3sgFAa6.d.mts → color-tco923EC.d.mts} +0 -0
  338. /package/dist/{color-BhaNI8oR.d.cts → color-vvN_Cdao.d.cts} +0 -0
  339. /package/dist/{create-anatomy-UNZ__hxH.d.mts → create-anatomy-BedZVdg0.d.mts} +0 -0
  340. /package/dist/{data-url-BrR6WHXH.d.cts → data-url-BLUK2DqG.d.cts} +0 -0
  341. /package/dist/{data-url-lOYkmlVX.d.mts → data-url-Diut2Ch3.d.mts} +0 -0
  342. /package/dist/{functions-Box4pxDB.d.cts → functions-BL9bYIFn.d.mts} +0 -0
  343. /package/dist/{functions-Du4c1Rcz.d.mts → functions-Cm8NiR7H.d.cts} +0 -0
  344. /package/dist/{index-B2rsdD3v.d.cts → index-1L40UHp8.d.mts} +0 -0
  345. /package/dist/{index-DLbWwJUT.d.mts → index-8xpMF4wX.d.mts} +0 -0
  346. /package/dist/{index-DIJJrhP_.d.mts → index-BO-Z3fhz.d.cts} +0 -0
  347. /package/dist/{index-CafmAesU.d.mts → index-BVFlU3b9.d.mts} +0 -0
  348. /package/dist/{index-CXu0elLS.d.mts → index-CGNNiDyE.d.mts} +0 -0
  349. /package/dist/{index-D1U_WMQ9.d.cts → index-CLRsezW5.d.cts} +0 -0
  350. /package/dist/{index-BhEktN_V.d.mts → index-DHp3-EkH.d.mts} +0 -0
  351. /package/dist/{index-Cf0hysnI.d.cts → index-DzWGFhcS.d.cts} +0 -0
  352. /package/dist/{node-BGWAyUGo.d.mts → node--dRqVsA-.d.cts} +0 -0
  353. /package/dist/{node-D8Ztr9Hg.d.cts → node-DkWL2ywA.d.mts} +0 -0
  354. /package/dist/{raf-B8md2utS.d.mts → raf-CrnFMY1g.d.mts} +0 -0
  355. /package/dist/{raf-DWPAf0Nd.d.cts → raf-v6M-OEna.d.cts} +0 -0
  356. /package/dist/{typeahead-BhNtyjQC.d.cts → typeahead-Bbeb1fAR.d.mts} +0 -0
  357. /package/dist/{typeahead-D4TUCBly.d.mts → typeahead-DMooWbbX.d.cts} +0 -0
  358. /package/dist/{types-CBWaEVU4.d.cts → types-9uw8LHpE.d.mts} +0 -0
  359. /package/dist/{types-BM4oVvZZ.d.mts → types-B24gMTKq.d.cts} +0 -0
  360. /package/dist/{types-DTZZ5wsp.d.cts → types-BQMZ4iuP.d.cts} +0 -0
  361. /package/dist/{types-BI1JrN1V.d.mts → types-CLXYEgfm.d.cts} +0 -0
  362. /package/dist/{types-CW-uU8Nz.d.mts → types-Cctd5dol.d.mts} +0 -0
  363. /package/dist/{types-oR0sELNB.d.cts → types-CylWsfOz.d.cts} +0 -0
  364. /package/dist/{types-D0tsc4Jo.d.mts → types-D-7AMgSE.d.cts} +0 -0
  365. /package/dist/{types-DE9w-zbc.d.cts → types-DEn9MoSw.d.cts} +0 -0
  366. /package/dist/{types-Ct9amXkj.d.cts → types-DU764tY_.d.mts} +0 -0
  367. /package/dist/{types-fB7F7BBP.d.cts → types-DUM9rzfD.d.mts} +0 -0
  368. /package/dist/{wait-for-CVZu6XNU.d.mts → wait-for-CV7JYddH.d.mts} +0 -0
  369. /package/dist/{wait-for-D5gBQyam.d.cts → wait-for-DGDBtAM2.d.cts} +0 -0
@@ -1,5 +1,4 @@
1
- import { t as _defineProperty } from "./defineProperty-DR_NxfHn.mjs";
2
-
1
+ import { t as _defineProperty } from "./defineProperty-D5oW_HU_.mjs";
3
2
  //#region src/shared/dom-query/caret.ts
4
3
  function isCaretAtStart(input) {
5
4
  if (!input) return false;
@@ -17,7 +16,6 @@ function setCaretToEnd(input) {
17
16
  input.setSelectionRange(len, len);
18
17
  } catch {}
19
18
  }
20
-
21
19
  //#endregion
22
20
  //#region src/shared/dom-query/shared.ts
23
21
  const clamp = (value) => Math.max(0, Math.min(1, value));
@@ -30,7 +28,6 @@ const isObject = (v) => typeof v === "object" && v !== null;
30
28
  const MAX_Z_INDEX = 2147483647;
31
29
  const dataAttr = (guard) => guard ? "" : void 0;
32
30
  const ariaAttr = (guard) => guard ? "true" : void 0;
33
-
34
31
  //#endregion
35
32
  //#region src/shared/dom-query/node.ts
36
33
  const ELEMENT_NODE = 1;
@@ -123,7 +120,6 @@ function getRootNode(node) {
123
120
  } catch {}
124
121
  return node.ownerDocument ?? document;
125
122
  }
126
-
127
123
  //#endregion
128
124
  //#region src/shared/dom-query/computed-style.ts
129
125
  const styleCache = /* @__PURE__ */ new WeakMap();
@@ -131,7 +127,6 @@ function getComputedStyle(el) {
131
127
  if (!styleCache.has(el)) styleCache.set(el, getWindow(el).getComputedStyle(el));
132
128
  return styleCache.get(el);
133
129
  }
134
-
135
130
  //#endregion
136
131
  //#region src/shared/dom-query/controller.ts
137
132
  const INTERACTIVE_CONTAINER_ROLE = new Set([
@@ -221,7 +216,6 @@ function isControlledByExpandedController(element) {
221
216
  const controller = rootNode.querySelector(selector);
222
217
  return Boolean(controller && isInteractiveContainerElement(element));
223
218
  }
224
-
225
219
  //#endregion
226
220
  //#region src/shared/dom-query/data-url.ts
227
221
  function getDataUrl(svg, opts) {
@@ -257,7 +251,6 @@ function getDataUrl(svg, opts) {
257
251
  };
258
252
  });
259
253
  }
260
-
261
254
  //#endregion
262
255
  //#region src/shared/dom-query/platform.ts
263
256
  const isDom = () => typeof document !== "undefined";
@@ -283,7 +276,6 @@ const isFirefox = () => ua(/Firefox/i);
283
276
  const isChrome = () => ua(/Chrome/i);
284
277
  const isWebKit = () => ua(/AppleWebKit/i) && !isChrome();
285
278
  const isAndroid = () => ua(/Android/i);
286
-
287
279
  //#endregion
288
280
  //#region src/shared/dom-query/event.ts
289
281
  function getBeforeInputValue(event) {
@@ -394,7 +386,6 @@ const isSelfTarget = (event) => {
394
386
  const target = getComposedPath(event)?.[0] ?? event.target;
395
387
  return event.currentTarget === target;
396
388
  };
397
-
398
389
  //#endregion
399
390
  //#region src/shared/dom-query/form.ts
400
391
  function getDescriptor(el, options) {
@@ -474,7 +465,6 @@ function trackFormControl(el, options) {
474
465
  const cleanups = [trackFormReset(el, onFormReset), trackFieldsetDisabled(el, onFieldsetDisabledChange)];
475
466
  return () => cleanups.forEach((cleanup) => cleanup?.());
476
467
  }
477
-
478
468
  //#endregion
479
469
  //#region src/shared/dom-query/tabbable.ts
480
470
  const isFrame = (el) => isHTMLElement(el) && el.tagName === "IFRAME";
@@ -606,7 +596,6 @@ function getTabIndex(node) {
606
596
  }
607
597
  return node.tabIndex;
608
598
  }
609
-
610
599
  //#endregion
611
600
  //#region src/shared/dom-query/initial-focus.ts
612
601
  function getInitialFocus(options) {
@@ -630,7 +619,6 @@ function isValidTabEvent(event) {
630
619
  if (!firstTabbable && !lastTabbable) return false;
631
620
  return true;
632
621
  }
633
-
634
622
  //#endregion
635
623
  //#region src/shared/dom-query/raf.ts
636
624
  var AnimationFrame = class AnimationFrame {
@@ -694,7 +682,6 @@ function queueBeforeEvent(el, type, cb) {
694
682
  });
695
683
  return cancelTimer;
696
684
  }
697
-
698
685
  //#endregion
699
686
  //#region src/shared/dom-query/mutation-observer.ts
700
687
  function observeAttributesImpl(node, options) {
@@ -743,7 +730,6 @@ function observeChildren(nodeOrFn, options) {
743
730
  cleanups.forEach((fn) => fn?.());
744
731
  };
745
732
  }
746
-
747
733
  //#endregion
748
734
  //#region src/shared/dom-query/navigate.ts
749
735
  function navigate(items, current, options = {}) {
@@ -771,7 +757,6 @@ function clickIfLink(el) {
771
757
  if (isFirefox()) queueBeforeEvent(el, "keyup", click);
772
758
  else queueMicrotask(click);
773
759
  }
774
-
775
760
  //#endregion
776
761
  //#region src/shared/dom-query/overflow.ts
777
762
  function getNearestOverflowAncestor(el) {
@@ -833,7 +818,6 @@ function getScrollPosition(element) {
833
818
  scrollTop: element.scrollY
834
819
  };
835
820
  }
836
-
837
821
  //#endregion
838
822
  //#region src/shared/dom-query/point.ts
839
823
  function getRelativePoint(point, element) {
@@ -859,7 +843,6 @@ function getRelativePoint(point, element) {
859
843
  getPercentValue
860
844
  };
861
845
  }
862
-
863
846
  //#endregion
864
847
  //#region src/shared/dom-query/pointer-lock.ts
865
848
  function requestPointerLock(doc, fn) {
@@ -884,7 +867,6 @@ function requestPointerLock(doc, fn) {
884
867
  doc.exitPointerLock();
885
868
  };
886
869
  }
887
-
888
870
  //#endregion
889
871
  //#region src/shared/dom-query/text-selection.ts
890
872
  let state = "default";
@@ -946,7 +928,6 @@ function disableTextSelection(options = {}) {
946
928
  cleanups.forEach((fn) => fn?.());
947
929
  };
948
930
  }
949
-
950
931
  //#endregion
951
932
  //#region src/shared/dom-query/pointer-move.ts
952
933
  function trackPointerMove(doc, handlers) {
@@ -980,7 +961,6 @@ function trackPointerMove(doc, handlers) {
980
961
  cleanups.forEach((cleanup) => cleanup());
981
962
  };
982
963
  }
983
-
984
964
  //#endregion
985
965
  //#region src/shared/dom-query/press.ts
986
966
  function trackPress(options) {
@@ -1041,7 +1021,6 @@ function trackPress(options) {
1041
1021
  removeAccessibleListeners();
1042
1022
  };
1043
1023
  }
1044
-
1045
1024
  //#endregion
1046
1025
  //#region src/shared/dom-query/proxy-tab-focus.ts
1047
1026
  function proxyTabFocusImpl(container, options = {}) {
@@ -1091,7 +1070,6 @@ function proxyTabFocus(container, options) {
1091
1070
  cleanups.forEach((fn) => fn?.());
1092
1071
  };
1093
1072
  }
1094
-
1095
1073
  //#endregion
1096
1074
  //#region src/shared/dom-query/query.ts
1097
1075
  function queryAll(root, selector) {
@@ -1119,7 +1097,6 @@ function prevById(v, id, loop = true) {
1119
1097
  idx = loop ? (idx - 1 + v.length) % v.length : Math.max(0, idx - 1);
1120
1098
  return v[idx];
1121
1099
  }
1122
-
1123
1100
  //#endregion
1124
1101
  //#region src/shared/dom-query/resize-observer.ts
1125
1102
  function createSharedResizeObserver(options) {
@@ -1165,7 +1142,6 @@ function createSharedResizeObserver(options) {
1165
1142
  const resizeObserverContentBox = createSharedResizeObserver({ box: "content-box" });
1166
1143
  const resizeObserverBorderBox = createSharedResizeObserver({ box: "border-box" });
1167
1144
  const resizeObserverDevicePixelContentBox = createSharedResizeObserver({ box: "device-pixel-content-box" });
1168
-
1169
1145
  //#endregion
1170
1146
  //#region src/shared/dom-query/scope.ts
1171
1147
  function createScope(methods) {
@@ -1186,7 +1162,6 @@ function createScope(methods) {
1186
1162
  ...methods
1187
1163
  };
1188
1164
  }
1189
-
1190
1165
  //#endregion
1191
1166
  //#region src/shared/dom-query/searchable.ts
1192
1167
  const sanitize = (str) => str.split("").map((char) => {
@@ -1207,7 +1182,6 @@ function getByText(v, text, currentId, itemToId = defaultItemToId) {
1207
1182
  if (text.length === 1) items = items.filter((item) => itemToId(item) !== currentId);
1208
1183
  return items.find((item) => match(getValueText(item), text));
1209
1184
  }
1210
-
1211
1185
  //#endregion
1212
1186
  //#region src/shared/dom-query/set.ts
1213
1187
  function setAttribute(el, attr, v) {
@@ -1256,7 +1230,6 @@ function setStyleProperty(el, prop, value) {
1256
1230
  function isEqual(a, b) {
1257
1231
  return Object.keys(a).every((key) => a[key] === b[key]);
1258
1232
  }
1259
-
1260
1233
  //#endregion
1261
1234
  //#region src/shared/dom-query/typeahead.ts
1262
1235
  function getByTypeaheadImpl(baseItems, options) {
@@ -1289,7 +1262,6 @@ const getByTypeahead = Object.assign(getByTypeaheadImpl, {
1289
1262
  function isValidTypeaheadEvent(event) {
1290
1263
  return event.key.length === 1 && !event.ctrlKey && !event.metaKey;
1291
1264
  }
1292
-
1293
1265
  //#endregion
1294
1266
  //#region src/shared/dom-query/visual-viewport.ts
1295
1267
  function trackVisualViewport(doc, fn) {
@@ -1306,7 +1278,6 @@ function getViewportSize(win) {
1306
1278
  height: win.visualViewport?.height || win.innerHeight
1307
1279
  };
1308
1280
  }
1309
-
1310
1281
  //#endregion
1311
1282
  //#region src/shared/dom-query/visually-hidden.ts
1312
1283
  const visuallyHiddenStyle = {
@@ -1324,7 +1295,6 @@ const visuallyHiddenStyle = {
1324
1295
  function setVisuallyHidden(el) {
1325
1296
  Object.assign(el.style, visuallyHiddenStyle);
1326
1297
  }
1327
-
1328
1298
  //#endregion
1329
1299
  //#region src/shared/dom-query/wait-for.ts
1330
1300
  function waitForPromise(promise, controller, timeout) {
@@ -1392,6 +1362,5 @@ function waitForEvent(target, event, options) {
1392
1362
  cleanup = () => element.removeEventListener(event, handler, listenerOptions);
1393
1363
  }), () => cleanup?.()];
1394
1364
  }
1395
-
1396
1365
  //#endregion
1397
- export { getTabbableEdges as $, getDocument as $t, getRelativePoint as A, isAndroid as At, observeChildren as B, isTouchDevice as Bt, queryAll as C, isPrintableKey as Ct, disableTextSelection as D, isVirtualPointerEvent as Dt, trackPointerMove as E, isVirtualClick as Et, isOverflowElement as F, isIPad as Ft, getInitialFocus as G, hasControllerElements as Gt, nextTick as H, getDataUrl as Ht, scrollIntoView as I, isIPhone as It, getFirstTabbable as J, isControllerElement as Jt, isValidTabEvent as K, isControlledByExpandedController as Kt, clickIfLink as L, isIos as Lt, getOverflowAncestors as M, isChrome as Mt, getScrollPosition as N, isDom as Nt, restoreTextSelection as O, getPlatform as Ot, isInView as P, isFirefox as Pt, getTabIndex as Q, getActiveElement as Qt, navigate as R, isMac as Rt, query as S, isOpeningInNewTab as St, trackPress as T, isTouchEvent as Tt, queueBeforeEvent as U, findControlledElements as Ut, AnimationFrame as V, isWebKit as Vt, raf as W, getControlledElements as Wt, getLastTabbable as X, getComputedStyle as Xt, getFocusables as Y, isInteractiveContainerElement as Yt, getNextTabbable as Z, contains as Zt, defaultItemToId as _, MAX_Z_INDEX as _n, isCtrlOrMetaKey as _t, visuallyHiddenStyle as a, isActiveElement as an, setElementChecked as at, nextById as b, isCaretAtStart as bn, isLeftClick as bt, setAttribute as c, isEditableElement as cn, addDomEvent as ct, setStyleProperty as d, isInputElement as dn, getEventPoint as dt, getDocumentElement as en, getTabbables as et, getByText as f, isNode as fn, getEventStep as ft, resizeObserverDevicePixelContentBox as g, isWindow as gn, isContextMenuEvent as gt, resizeObserverContentBox as h, isVisualViewport as hn, isComposingEvent as ht, setVisuallyHidden as i, getWindow as in, dispatchInputValueEvent as it, getNearestOverflowAncestor as j, isApple as jt, requestPointerLock as k, getUserAgent as kt, setProperty as l, isElementVisible as ln, getBeforeInputValue as lt, resizeObserverBorderBox as m, isShadowRoot as mn, getNativeEvent as mt, waitForEvent as n, getParentNode as nn, isTabbable as nt, trackVisualViewport as o, isAnchorElement as on, setElementValue as ot, createScope as p, isRootElement as pn, getEventTarget as pt, getFirstFocusable as q, isControlledElement as qt, waitForPromise as r, getRootNode as rn, dispatchInputCheckedEvent as rt, getByTypeahead as s, isDocument as sn, trackFormControl as st, waitForElement as t, getNodeName as tn, isFocusable as tt, setStyle as u, isHTMLElement as un, getEventKey as ut, indexOfId as v, ariaAttr as vn, isDownloadingEvent as vt, proxyTabFocus as w, isSelfTarget as wt, prevById as x, setCaretToEnd as xn, isModifierKey as xt, itemById as y, dataAttr as yn, isKeyboardClick as yt, observeAttributes as z, isSafari as zt };
1366
+ export { getTabbableEdges as $, getDocument as $t, getRelativePoint as A, isAndroid as At, observeChildren as B, isTouchDevice as Bt, queryAll as C, isPrintableKey as Ct, disableTextSelection as D, isVirtualPointerEvent as Dt, trackPointerMove as E, isVirtualClick as Et, isOverflowElement as F, isIPad as Ft, getInitialFocus as G, hasControllerElements as Gt, nextTick as H, getDataUrl as Ht, scrollIntoView as I, isIPhone as It, getFirstTabbable as J, isControllerElement as Jt, isValidTabEvent as K, isControlledByExpandedController as Kt, clickIfLink as L, isIos as Lt, getOverflowAncestors as M, isChrome as Mt, getScrollPosition as N, isDom as Nt, restoreTextSelection as O, getPlatform as Ot, isInView as P, isFirefox as Pt, getTabIndex as Q, getActiveElement as Qt, navigate as R, isMac as Rt, query as S, isOpeningInNewTab as St, trackPress as T, isTouchEvent as Tt, queueBeforeEvent as U, findControlledElements as Ut, AnimationFrame as V, isWebKit as Vt, raf as W, getControlledElements as Wt, getLastTabbable as X, getComputedStyle as Xt, getFocusables as Y, isInteractiveContainerElement as Yt, getNextTabbable as Z, contains as Zt, defaultItemToId as _, MAX_Z_INDEX as _n, isCtrlOrMetaKey as _t, visuallyHiddenStyle as a, isActiveElement as an, setElementChecked as at, nextById as b, isCaretAtStart as bn, isLeftClick as bt, setAttribute as c, isEditableElement as cn, addDomEvent as ct, setStyleProperty as d, isInputElement as dn, getEventPoint as dt, getDocumentElement as en, getTabbables as et, getByText as f, isNode as fn, getEventStep as ft, resizeObserverDevicePixelContentBox as g, isWindow as gn, isContextMenuEvent as gt, resizeObserverContentBox as h, isVisualViewport as hn, isComposingEvent as ht, setVisuallyHidden as i, getWindow as in, dispatchInputValueEvent as it, getNearestOverflowAncestor as j, isApple as jt, requestPointerLock as k, getUserAgent as kt, setProperty as l, isElementVisible as ln, getBeforeInputValue as lt, resizeObserverBorderBox as m, isShadowRoot as mn, getNativeEvent as mt, waitForEvent as n, getParentNode as nn, isTabbable as nt, trackVisualViewport as o, isAnchorElement as on, setElementValue as ot, createScope as p, isRootElement as pn, getEventTarget as pt, getFirstFocusable as q, isControlledElement as qt, waitForPromise as r, getRootNode as rn, dispatchInputCheckedEvent as rt, getByTypeahead as s, isDocument as sn, trackFormControl as st, waitForElement as t, getNodeName as tn, isFocusable as tt, setStyle as u, isHTMLElement as un, getEventKey as ut, indexOfId as v, ariaAttr as vn, isDownloadingEvent as vt, proxyTabFocus as w, isSelfTarget as wt, prevById as x, setCaretToEnd as xn, isModifierKey as xt, itemById as y, dataAttr as yn, isKeyboardClick as yt, observeAttributes as z, isSafari as zt };
@@ -1,5 +1,5 @@
1
- const require_dom_query = require('./dom-query-CAFhX43H.cjs');
2
-
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_dom_query = require("./dom-query-6Wt-Tikf.cjs");
3
3
  exports.AnimationFrame = require_dom_query.AnimationFrame;
4
4
  exports.MAX_Z_INDEX = require_dom_query.MAX_Z_INDEX;
5
5
  exports.addDomEvent = require_dom_query.addDomEvent;
@@ -128,4 +128,4 @@ exports.trackVisualViewport = require_dom_query.trackVisualViewport;
128
128
  exports.visuallyHiddenStyle = require_dom_query.visuallyHiddenStyle;
129
129
  exports.waitForElement = require_dom_query.waitForElement;
130
130
  exports.waitForEvent = require_dom_query.waitForEvent;
131
- exports.waitForPromise = require_dom_query.waitForPromise;
131
+ exports.waitForPromise = require_dom_query.waitForPromise;
@@ -1,9 +1,9 @@
1
- import { n as DataUrlType, r as getDataUrl, t as DataUrlOptions } from "./data-url-BrR6WHXH.cjs";
2
- import { C as JSX, c as MaybeFn, u as Nullable } from "./index-D1U_WMQ9.cjs";
3
- import { _ as isRootElement, a as getNodeName, b as isWindow, c as getWindow, d as isDocument, f as isEditableElement, g as isNode, h as isInputElement, i as getDocumentElement, l as isActiveElement, m as isHTMLElement, n as getActiveElement, o as getParentNode, p as isElementVisible, r as getDocument, s as getRootNode, t as contains, u as isAnchorElement, v as isShadowRoot, y as isVisualViewport } from "./node-D8Ztr9Hg.cjs";
4
- import { a as getByText, c as indexOfId, d as prevById, f as query, i as SearchableItem, l as itemById, n as TypeaheadState, o as ItemToId, p as queryAll, r as getByTypeahead, s as defaultItemToId, t as TypeaheadOptions, u as nextById } from "./typeahead-BhNtyjQC.cjs";
5
- import { i as raf, n as nextTick, r as queueBeforeEvent, t as AnimationFrame } from "./raf-DWPAf0Nd.cjs";
6
- import { a as waitForEvent, i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn, t as WaitForEventOptions } from "./wait-for-D5gBQyam.cjs";
1
+ import { n as DataUrlType, r as getDataUrl, t as DataUrlOptions } from "./data-url-BLUK2DqG.cjs";
2
+ import { C as JSX, c as MaybeFn, u as Nullable } from "./index-CLRsezW5.cjs";
3
+ import { _ as isRootElement, a as getNodeName, b as isWindow, c as getWindow, d as isDocument, f as isEditableElement, g as isNode, h as isInputElement, i as getDocumentElement, l as isActiveElement, m as isHTMLElement, n as getActiveElement, o as getParentNode, p as isElementVisible, r as getDocument, s as getRootNode, t as contains, u as isAnchorElement, v as isShadowRoot, y as isVisualViewport } from "./node--dRqVsA-.cjs";
4
+ import { a as getByText, c as indexOfId, d as prevById, f as query, i as SearchableItem, l as itemById, n as TypeaheadState, o as ItemToId, p as queryAll, r as getByTypeahead, s as defaultItemToId, t as TypeaheadOptions, u as nextById } from "./typeahead-DMooWbbX.cjs";
5
+ import { i as raf, n as nextTick, r as queueBeforeEvent, t as AnimationFrame } from "./raf-v6M-OEna.cjs";
6
+ import { a as waitForEvent, i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn, t as WaitForEventOptions } from "./wait-for-DGDBtAM2.cjs";
7
7
 
8
8
  //#region src/shared/dom-query/caret.d.ts
9
9
  declare function isCaretAtStart(input: HTMLInputElement | HTMLTextAreaElement | null): boolean;
@@ -57,7 +57,7 @@ declare const isModifierKey: (e: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "al
57
57
  declare const isTouchEvent: (event: AnyPointerEvent) => event is TouchEvent;
58
58
  declare function getEventKey(event: Pick<KeyboardEvent, "key">, options?: EventKeyOptions): string;
59
59
  declare function getNativeEvent<E>(event: E): NativeEvent<E>;
60
- declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 10 | 0.1;
60
+ declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 0.1 | 10;
61
61
  declare function getEventPoint(event: any, type?: "page" | "client"): {
62
62
  x: number;
63
63
  y: number;
@@ -1,9 +1,9 @@
1
- import { n as DataUrlType, r as getDataUrl, t as DataUrlOptions } from "./data-url-lOYkmlVX.mjs";
2
- import { C as JSX, c as MaybeFn, u as Nullable } from "./index-CafmAesU.mjs";
3
- import { _ as isRootElement, a as getNodeName, b as isWindow, c as getWindow, d as isDocument, f as isEditableElement, g as isNode, h as isInputElement, i as getDocumentElement, l as isActiveElement, m as isHTMLElement, n as getActiveElement, o as getParentNode, p as isElementVisible, r as getDocument, s as getRootNode, t as contains, u as isAnchorElement, v as isShadowRoot, y as isVisualViewport } from "./node-BGWAyUGo.mjs";
4
- import { a as getByText, c as indexOfId, d as prevById, f as query, i as SearchableItem, l as itemById, n as TypeaheadState, o as ItemToId, p as queryAll, r as getByTypeahead, s as defaultItemToId, t as TypeaheadOptions, u as nextById } from "./typeahead-D4TUCBly.mjs";
5
- import { i as raf, n as nextTick, r as queueBeforeEvent, t as AnimationFrame } from "./raf-B8md2utS.mjs";
6
- import { a as waitForEvent, i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn, t as WaitForEventOptions } from "./wait-for-CVZu6XNU.mjs";
1
+ import { n as DataUrlType, r as getDataUrl, t as DataUrlOptions } from "./data-url-Diut2Ch3.mjs";
2
+ import { C as JSX, c as MaybeFn, u as Nullable } from "./index-BVFlU3b9.mjs";
3
+ import { _ as isRootElement, a as getNodeName, b as isWindow, c as getWindow, d as isDocument, f as isEditableElement, g as isNode, h as isInputElement, i as getDocumentElement, l as isActiveElement, m as isHTMLElement, n as getActiveElement, o as getParentNode, p as isElementVisible, r as getDocument, s as getRootNode, t as contains, u as isAnchorElement, v as isShadowRoot, y as isVisualViewport } from "./node-DkWL2ywA.mjs";
4
+ import { a as getByText, c as indexOfId, d as prevById, f as query, i as SearchableItem, l as itemById, n as TypeaheadState, o as ItemToId, p as queryAll, r as getByTypeahead, s as defaultItemToId, t as TypeaheadOptions, u as nextById } from "./typeahead-Bbeb1fAR.mjs";
5
+ import { i as raf, n as nextTick, r as queueBeforeEvent, t as AnimationFrame } from "./raf-CrnFMY1g.mjs";
6
+ import { a as waitForEvent, i as waitForElement, n as WaitForOptions, o as waitForPromise, r as WaitForPromiseReturn, t as WaitForEventOptions } from "./wait-for-CV7JYddH.mjs";
7
7
 
8
8
  //#region src/shared/dom-query/caret.d.ts
9
9
  declare function isCaretAtStart(input: HTMLInputElement | HTMLTextAreaElement | null): boolean;
@@ -57,7 +57,7 @@ declare const isModifierKey: (e: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "al
57
57
  declare const isTouchEvent: (event: AnyPointerEvent) => event is TouchEvent;
58
58
  declare function getEventKey(event: Pick<KeyboardEvent, "key">, options?: EventKeyOptions): string;
59
59
  declare function getNativeEvent<E>(event: E): NativeEvent<E>;
60
- declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 10 | 0.1;
60
+ declare function getEventStep(event: Pick<KeyboardEvent, "ctrlKey" | "metaKey" | "key" | "shiftKey">): 1 | 0.1 | 10;
61
61
  declare function getEventPoint(event: any, type?: "page" | "client"): {
62
62
  x: number;
63
63
  y: number;
@@ -1,3 +1,2 @@
1
- import { $ as getTabbableEdges, $t as getDocument, A as getRelativePoint, At as isAndroid, B as observeChildren, Bt as isTouchDevice, C as queryAll, Ct as isPrintableKey, D as disableTextSelection, Dt as isVirtualPointerEvent, E as trackPointerMove, Et as isVirtualClick, F as isOverflowElement, Ft as isIPad, G as getInitialFocus, Gt as hasControllerElements, H as nextTick, Ht as getDataUrl, I as scrollIntoView, It as isIPhone, J as getFirstTabbable, Jt as isControllerElement, K as isValidTabEvent, Kt as isControlledByExpandedController, L as clickIfLink, Lt as isIos, M as getOverflowAncestors, Mt as isChrome, N as getScrollPosition, Nt as isDom, O as restoreTextSelection, Ot as getPlatform, P as isInView, Pt as isFirefox, Q as getTabIndex, Qt as getActiveElement, R as navigate, Rt as isMac, S as query, St as isOpeningInNewTab, T as trackPress, Tt as isTouchEvent, U as queueBeforeEvent, Ut as findControlledElements, V as AnimationFrame, Vt as isWebKit, W as raf, Wt as getControlledElements, X as getLastTabbable, Xt as getComputedStyle, Y as getFocusables, Yt as isInteractiveContainerElement, Z as getNextTabbable, Zt as contains, _ as defaultItemToId, _n as MAX_Z_INDEX, _t as isCtrlOrMetaKey, a as visuallyHiddenStyle, an as isActiveElement, at as setElementChecked, b as nextById, bn as isCaretAtStart, bt as isLeftClick, c as setAttribute, cn as isEditableElement, ct as addDomEvent, d as setStyleProperty, dn as isInputElement, dt as getEventPoint, en as getDocumentElement, et as getTabbables, f as getByText, fn as isNode, ft as getEventStep, g as resizeObserverDevicePixelContentBox, gn as isWindow, gt as isContextMenuEvent, h as resizeObserverContentBox, hn as isVisualViewport, ht as isComposingEvent, i as setVisuallyHidden, in as getWindow, it as dispatchInputValueEvent, j as getNearestOverflowAncestor, jt as isApple, k as requestPointerLock, kt as getUserAgent, l as setProperty, ln as isElementVisible, lt as getBeforeInputValue, m as resizeObserverBorderBox, mn as isShadowRoot, mt as getNativeEvent, n as waitForEvent, nn as getParentNode, nt as isTabbable, o as trackVisualViewport, on as isAnchorElement, ot as setElementValue, p as createScope, pn as isRootElement, pt as getEventTarget, q as getFirstFocusable, qt as isControlledElement, r as waitForPromise, rn as getRootNode, rt as dispatchInputCheckedEvent, s as getByTypeahead, sn as isDocument, st as trackFormControl, t as waitForElement, tn as getNodeName, tt as isFocusable, u as setStyle, un as isHTMLElement, ut as getEventKey, v as indexOfId, vn as ariaAttr, vt as isDownloadingEvent, w as proxyTabFocus, wt as isSelfTarget, x as prevById, xn as setCaretToEnd, xt as isModifierKey, y as itemById, yn as dataAttr, yt as isKeyboardClick, z as observeAttributes, zt as isSafari } from "./dom-query-CQFBCdpo.mjs";
2
-
3
- export { AnimationFrame, MAX_Z_INDEX, addDomEvent, ariaAttr, clickIfLink, contains, createScope, dataAttr, defaultItemToId, disableTextSelection, dispatchInputCheckedEvent, dispatchInputValueEvent, findControlledElements, getActiveElement, getBeforeInputValue, getByText, getByTypeahead, getComputedStyle, getControlledElements, getDataUrl, getDocument, getDocumentElement, getEventKey, getEventPoint, getEventStep, getEventTarget, getFirstFocusable, getFirstTabbable, getFocusables, getInitialFocus, getLastTabbable, getNativeEvent, getNearestOverflowAncestor, getNextTabbable, getNodeName, getOverflowAncestors, getParentNode, getPlatform, getRelativePoint, getRootNode, getScrollPosition, getTabIndex, getTabbableEdges, getTabbables, getUserAgent, getWindow, hasControllerElements, indexOfId, isActiveElement, isAnchorElement, isAndroid, isApple, isCaretAtStart, isChrome, isComposingEvent, isContextMenuEvent, isControlledByExpandedController, isControlledElement, isControllerElement, isCtrlOrMetaKey, isDocument, isDom, isDownloadingEvent, isEditableElement, isElementVisible, isFirefox, isFocusable, isHTMLElement, isIPad, isIPhone, isInView, isInputElement, isInteractiveContainerElement, isIos, isKeyboardClick, isLeftClick, isMac, isModifierKey, isNode, isOpeningInNewTab, isOverflowElement, isPrintableKey, isRootElement, isSafari, isSelfTarget, isShadowRoot, isTabbable, isTouchDevice, isTouchEvent, isValidTabEvent, isVirtualClick, isVirtualPointerEvent, isVisualViewport, isWebKit, isWindow, itemById, navigate, nextById, nextTick, observeAttributes, observeChildren, prevById, proxyTabFocus, query, queryAll, queueBeforeEvent, raf, requestPointerLock, resizeObserverBorderBox, resizeObserverContentBox, resizeObserverDevicePixelContentBox, restoreTextSelection, scrollIntoView, setAttribute, setCaretToEnd, setElementChecked, setElementValue, setProperty, setStyle, setStyleProperty, setVisuallyHidden, trackFormControl, trackPointerMove, trackPress, trackVisualViewport, visuallyHiddenStyle, waitForElement, waitForEvent, waitForPromise };
1
+ import { $ as getTabbableEdges, $t as getDocument, A as getRelativePoint, At as isAndroid, B as observeChildren, Bt as isTouchDevice, C as queryAll, Ct as isPrintableKey, D as disableTextSelection, Dt as isVirtualPointerEvent, E as trackPointerMove, Et as isVirtualClick, F as isOverflowElement, Ft as isIPad, G as getInitialFocus, Gt as hasControllerElements, H as nextTick, Ht as getDataUrl, I as scrollIntoView, It as isIPhone, J as getFirstTabbable, Jt as isControllerElement, K as isValidTabEvent, Kt as isControlledByExpandedController, L as clickIfLink, Lt as isIos, M as getOverflowAncestors, Mt as isChrome, N as getScrollPosition, Nt as isDom, O as restoreTextSelection, Ot as getPlatform, P as isInView, Pt as isFirefox, Q as getTabIndex, Qt as getActiveElement, R as navigate, Rt as isMac, S as query, St as isOpeningInNewTab, T as trackPress, Tt as isTouchEvent, U as queueBeforeEvent, Ut as findControlledElements, V as AnimationFrame, Vt as isWebKit, W as raf, Wt as getControlledElements, X as getLastTabbable, Xt as getComputedStyle, Y as getFocusables, Yt as isInteractiveContainerElement, Z as getNextTabbable, Zt as contains, _ as defaultItemToId, _n as MAX_Z_INDEX, _t as isCtrlOrMetaKey, a as visuallyHiddenStyle, an as isActiveElement, at as setElementChecked, b as nextById, bn as isCaretAtStart, bt as isLeftClick, c as setAttribute, cn as isEditableElement, ct as addDomEvent, d as setStyleProperty, dn as isInputElement, dt as getEventPoint, en as getDocumentElement, et as getTabbables, f as getByText, fn as isNode, ft as getEventStep, g as resizeObserverDevicePixelContentBox, gn as isWindow, gt as isContextMenuEvent, h as resizeObserverContentBox, hn as isVisualViewport, ht as isComposingEvent, i as setVisuallyHidden, in as getWindow, it as dispatchInputValueEvent, j as getNearestOverflowAncestor, jt as isApple, k as requestPointerLock, kt as getUserAgent, l as setProperty, ln as isElementVisible, lt as getBeforeInputValue, m as resizeObserverBorderBox, mn as isShadowRoot, mt as getNativeEvent, n as waitForEvent, nn as getParentNode, nt as isTabbable, o as trackVisualViewport, on as isAnchorElement, ot as setElementValue, p as createScope, pn as isRootElement, pt as getEventTarget, q as getFirstFocusable, qt as isControlledElement, r as waitForPromise, rn as getRootNode, rt as dispatchInputCheckedEvent, s as getByTypeahead, sn as isDocument, st as trackFormControl, t as waitForElement, tn as getNodeName, tt as isFocusable, u as setStyle, un as isHTMLElement, ut as getEventKey, v as indexOfId, vn as ariaAttr, vt as isDownloadingEvent, w as proxyTabFocus, wt as isSelfTarget, x as prevById, xn as setCaretToEnd, xt as isModifierKey, y as itemById, yn as dataAttr, yt as isKeyboardClick, z as observeAttributes, zt as isSafari } from "./dom-query-dX8Dakb4.mjs";
2
+ export { AnimationFrame, MAX_Z_INDEX, addDomEvent, ariaAttr, clickIfLink, contains, createScope, dataAttr, defaultItemToId, disableTextSelection, dispatchInputCheckedEvent, dispatchInputValueEvent, findControlledElements, getActiveElement, getBeforeInputValue, getByText, getByTypeahead, getComputedStyle, getControlledElements, getDataUrl, getDocument, getDocumentElement, getEventKey, getEventPoint, getEventStep, getEventTarget, getFirstFocusable, getFirstTabbable, getFocusables, getInitialFocus, getLastTabbable, getNativeEvent, getNearestOverflowAncestor, getNextTabbable, getNodeName, getOverflowAncestors, getParentNode, getPlatform, getRelativePoint, getRootNode, getScrollPosition, getTabIndex, getTabbableEdges, getTabbables, getUserAgent, getWindow, hasControllerElements, indexOfId, isActiveElement, isAnchorElement, isAndroid, isApple, isCaretAtStart, isChrome, isComposingEvent, isContextMenuEvent, isControlledByExpandedController, isControlledElement, isControllerElement, isCtrlOrMetaKey, isDocument, isDom, isDownloadingEvent, isEditableElement, isElementVisible, isFirefox, isFocusable, isHTMLElement, isIPad, isIPhone, isInView, isInputElement, isInteractiveContainerElement, isIos, isKeyboardClick, isLeftClick, isMac, isModifierKey, isNode, isOpeningInNewTab, isOverflowElement, isPrintableKey, isRootElement, isSafari, isSelfTarget, isShadowRoot, isTabbable, isTouchDevice, isTouchEvent, isValidTabEvent, isVirtualClick, isVirtualPointerEvent, isVisualViewport, isWebKit, isWindow, itemById, navigate, nextById, nextTick, observeAttributes, observeChildren, prevById, proxyTabFocus, query, queryAll, queueBeforeEvent, raf, requestPointerLock, resizeObserverBorderBox, resizeObserverContentBox, resizeObserverDevicePixelContentBox, restoreTextSelection, scrollIntoView, setAttribute, setCaretToEnd, setElementChecked, setElementValue, setProperty, setStyle, setStyleProperty, setVisuallyHidden, trackFormControl, trackPointerMove, trackPress, trackVisualViewport, visuallyHiddenStyle, waitForElement, waitForEvent, waitForPromise };
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/shared/file-utils/data-transfer.ts
3
2
  const getItemEntry = (item) => typeof item.getAsEntry === "function" ? item.getAsEntry() : typeof item.webkitGetAsEntry === "function" ? item.webkitGetAsEntry() : null;
4
3
  const isDirectoryEntry = (entry) => entry.isDirectory;
@@ -44,7 +43,6 @@ const getDirectoryFiles = (reader, path = "") => new Promise((resolve) => {
44
43
  };
45
44
  readDirectoryEntries();
46
45
  });
47
-
48
46
  //#endregion
49
47
  //#region src/shared/file-utils/data-url-to-blob.ts
50
48
  function dataURItoBlob(uri) {
@@ -55,7 +53,6 @@ function dataURItoBlob(uri) {
55
53
  for (let i = 0; i < binary.length; i++) intArray[i] = binary.charCodeAt(i);
56
54
  return new Blob([buffer], { type: mimeString });
57
55
  }
58
-
59
56
  //#endregion
60
57
  //#region src/shared/file-utils/download-file.ts
61
58
  const BOM_REGEX = /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i;
@@ -104,7 +101,6 @@ function downloadFile(options) {
104
101
  win.URL.revokeObjectURL(url);
105
102
  }, revokeTimeout);
106
103
  }
107
-
108
104
  //#endregion
109
105
  //#region src/shared/file-utils/get-accept-attr.ts
110
106
  function isMIMEType(v) {
@@ -124,7 +120,6 @@ function getAcceptAttrString(accept) {
124
120
  ...ext
125
121
  ], []).filter(isValidMIME).join(",");
126
122
  }
127
-
128
123
  //#endregion
129
124
  //#region src/shared/file-utils/get-file-data-url.ts
130
125
  const getFileDataUrl = async (file) => {
@@ -142,19 +137,16 @@ const getFileDataUrl = async (file) => {
142
137
  reader.readAsDataURL(file);
143
138
  });
144
139
  };
145
-
146
140
  //#endregion
147
141
  //#region src/shared/file-utils/get-total-file-size.ts
148
142
  const getTotalFileSize = (files) => {
149
143
  return files.reduce((acc, file) => acc + file.size, 0);
150
144
  };
151
-
152
145
  //#endregion
153
146
  //#region src/shared/file-utils/is-file-equal.ts
154
147
  const isFileEqual = (file1, file2) => {
155
148
  return file1.name === file2.name && file1.size === file2.size && file1.type === file2.type;
156
149
  };
157
-
158
150
  //#endregion
159
151
  //#region src/shared/file-utils/is-valid-file-size.ts
160
152
  const isDefined = (v) => v !== void 0 && v !== null;
@@ -168,22 +160,16 @@ function isValidFileSize(file, minSize, maxSize) {
168
160
  }
169
161
  return [true, null];
170
162
  }
171
-
172
- //#endregion
173
- //#region src/shared/file-utils/mime-types.ts
174
- const mimeTypes = "3g2_video/3gpp2[3gp,3gpp_video/3gpp[3mf_model/3mf[7z_application/x-7z-compressed[aac_audio/aac[ac_application/pkix-attr-cert[adp_audio/adpcm[adts_audio/aac[ai_application/postscript[aml_application/automationml-aml+xml[amlx_application/automationml-amlx+zip[amr_audio/amr[apk_application/vnd.android.package-archive[apng_image/apng[appcache,manifest_text/cache-manifest[appinstaller_application/appinstaller[appx_application/appx[appxbundle_application/appxbundle[asc_application/pgp-keys[atom_application/atom+xml[atomcat_application/atomcat+xml[atomdeleted_application/atomdeleted+xml[atomsvc_application/atomsvc+xml[au,snd_audio/basic[avi_video/x-msvideo[avci_image/avci[avcs_image/avcs[avif_image/avif[aw_application/applixware[bdoc_application/bdoc[bin,bpk,buffer,deb,deploy,dist,distz,dll,dmg,dms,dump,elc,exe,img,iso,lrf,mar,msi,msm,msp,pkg,so_application/octet-stream[bmp,dib_image/bmp[btf,btif_image/prs.btif[bz2_application/x-bzip2[c_text/x-c[ccxml_application/ccxml+xml[cdfx_application/cdfx+xml[cdmia_application/cdmi-capability[cdmic_application/cdmi-container[cdmid_application/cdmi-domain[cdmio_application/cdmi-object[cdmiq_application/cdmi-queue[cer_application/pkix-cert[cgm_image/cgm[cjs_application/node[class_application/java-vm[coffee,litcoffee_text/coffeescript[conf,def,in,ini,list,log,text,txt_text/plain[cpp,cxx,cc_text/x-c++src[cpl_application/cpl+xml[cpt_application/mac-compactpro[crl_application/pkix-crl[css_text/css[csv_text/csv[cu_application/cu-seeme[cwl_application/cwl[cww_application/prs.cww[davmount_application/davmount+xml[dbk_application/docbook+xml[doc_application/msword[docx_application/vnd.openxmlformats-officedocument.wordprocessingml.document[dsc_text/prs.lines.tag[dssc_application/dssc+der[dtd_application/xml-dtd[dwd_application/atsc-dwd+xml[ear,jar,war_application/java-archive[ecma_application/ecmascript[emf_image/emf[eml,mime_message/rfc822[emma_application/emma+xml[emotionml_application/emotionml+xml[eot_application/vnd.ms-fontobject[eps,ps_application/postscript[epub_application/epub+zip[exi_application/exi[exp_application/express[exr_image/aces[ez_application/andrew-inset[fdf_application/fdf[fdt_application/fdt+xml[fits_image/fits[flac_audio/flac[flv_video/x-flv[g3_image/g3fax[geojson_application/geo+json[gif_image/gif[glb_model/gltf-binary[gltf_model/gltf+json[gml_application/gml+xml[go_text/x-go[gpx_application/gpx+xml[gz_application/gzip[h_text/x-h[h261_video/h261[h263_video/h263[h264_video/h264[heic_image/heic[heics_image/heic-sequence[heif_image/heif[heifs_image/heif-sequence[htm,html,shtml_text/html[ico_image/x-icon[icns_image/x-icns[ics,ifb_text/calendar[iges,igs_model/iges[ink,inkml_application/inkml+xml[ipa_application/octet-stream[java_text/x-java-source[jp2,jpg2_image/jp2[jpeg,jpe,jpg_image/jpeg[jpf,jpx_image/jpx[jpm,jpgm_image/jpm[jpgv_video/jpeg[jph_image/jph[js,mjs_text/javascript[json_application/json[json5_application/json5[jsonld_application/ld+json[jsx_text/jsx[jxl_image/jxl[jxr_image/jxr[ktx_image/ktx[ktx2_image/ktx2[less_text/less[m1v,m2v,mpe,mpeg,mpg_video/mpeg[m4a_audio/mp4[m4v_video/x-m4v[md,markdown_text/markdown[mid,midi,kar,rmi_audio/midi[mkv_video/x-matroska[mp2,mp2a,mp3,mpga,m3a,m2a_audio/mpeg[mp4,mp4v,mpg4_video/mp4[mp4a_audio/mp4[mp4s,m4p_application/mp4[odp_application/vnd.oasis.opendocument.presentation[oda_application/oda[ods_application/vnd.oasis.opendocument.spreadsheet[odt_application/vnd.oasis.opendocument.text[oga,ogg,opus,spx_audio/ogg[ogv_video/ogg[ogx_application/ogg[otf_font/otf[p12,pfx_application/x-pkcs12[pdf_application/pdf[pem_application/x-pem-file[php_text/x-php[png_image/png[ppt_application/vnd.ms-powerpoint[pptx_application/vnd.openxmlformats-officedocument.presentationml.presentation[pskcxml_application/pskc+xml[psd_image/vnd.adobe.photoshop[py_text/x-python[qt,mov_video/quicktime[rar_application/vnd.rar[rdf_application/rdf+xml[rtf_text/rtf[sass_text/x-sass[scss_text/x-scss[sgm,sgml_text/sgml[sh_application/x-sh[svg,svgz_image/svg+xml[swf_application/x-shockwave-flash[tar_application/x-tar[tif,tiff_image/tiff[toml_application/toml[ts_video/mp2t[tsx_text/tsx[tsv_text/tab-separated-values[ttc_font/collection[ttf_font/ttf[vtt_text/vtt[wasm_application/wasm[wav_audio/wav[weba_audio/webm[webm_video/webm[webmanifest_application/manifest+json[webp_image/webp[wma_audio/x-ms-wma[wmv_video/x-ms-wmv[woff_font/woff[woff2_font/woff2[xls_application/vnd.ms-excel[xlsx_application/vnd.openxmlformats-officedocument.spreadsheetml.sheet[xml_application/xml[xz_application/x-xz[yaml,yml_text/yaml[zip_application/zip";
175
- const mimeTypesMap = new Map(mimeTypes.split("[").flatMap((mime) => {
163
+ const mimeTypesMap = new Map("3g2_video/3gpp2[3gp,3gpp_video/3gpp[3mf_model/3mf[7z_application/x-7z-compressed[aac_audio/aac[ac_application/pkix-attr-cert[adp_audio/adpcm[adts_audio/aac[ai_application/postscript[aml_application/automationml-aml+xml[amlx_application/automationml-amlx+zip[amr_audio/amr[apk_application/vnd.android.package-archive[apng_image/apng[appcache,manifest_text/cache-manifest[appinstaller_application/appinstaller[appx_application/appx[appxbundle_application/appxbundle[asc_application/pgp-keys[atom_application/atom+xml[atomcat_application/atomcat+xml[atomdeleted_application/atomdeleted+xml[atomsvc_application/atomsvc+xml[au,snd_audio/basic[avi_video/x-msvideo[avci_image/avci[avcs_image/avcs[avif_image/avif[aw_application/applixware[bdoc_application/bdoc[bin,bpk,buffer,deb,deploy,dist,distz,dll,dmg,dms,dump,elc,exe,img,iso,lrf,mar,msi,msm,msp,pkg,so_application/octet-stream[bmp,dib_image/bmp[btf,btif_image/prs.btif[bz2_application/x-bzip2[c_text/x-c[ccxml_application/ccxml+xml[cdfx_application/cdfx+xml[cdmia_application/cdmi-capability[cdmic_application/cdmi-container[cdmid_application/cdmi-domain[cdmio_application/cdmi-object[cdmiq_application/cdmi-queue[cer_application/pkix-cert[cgm_image/cgm[cjs_application/node[class_application/java-vm[coffee,litcoffee_text/coffeescript[conf,def,in,ini,list,log,text,txt_text/plain[cpp,cxx,cc_text/x-c++src[cpl_application/cpl+xml[cpt_application/mac-compactpro[crl_application/pkix-crl[css_text/css[csv_text/csv[cu_application/cu-seeme[cwl_application/cwl[cww_application/prs.cww[davmount_application/davmount+xml[dbk_application/docbook+xml[doc_application/msword[docx_application/vnd.openxmlformats-officedocument.wordprocessingml.document[dsc_text/prs.lines.tag[dssc_application/dssc+der[dtd_application/xml-dtd[dwd_application/atsc-dwd+xml[ear,jar,war_application/java-archive[ecma_application/ecmascript[emf_image/emf[eml,mime_message/rfc822[emma_application/emma+xml[emotionml_application/emotionml+xml[eot_application/vnd.ms-fontobject[eps,ps_application/postscript[epub_application/epub+zip[exi_application/exi[exp_application/express[exr_image/aces[ez_application/andrew-inset[fdf_application/fdf[fdt_application/fdt+xml[fits_image/fits[flac_audio/flac[flv_video/x-flv[g3_image/g3fax[geojson_application/geo+json[gif_image/gif[glb_model/gltf-binary[gltf_model/gltf+json[gml_application/gml+xml[go_text/x-go[gpx_application/gpx+xml[gz_application/gzip[h_text/x-h[h261_video/h261[h263_video/h263[h264_video/h264[heic_image/heic[heics_image/heic-sequence[heif_image/heif[heifs_image/heif-sequence[htm,html,shtml_text/html[ico_image/x-icon[icns_image/x-icns[ics,ifb_text/calendar[iges,igs_model/iges[ink,inkml_application/inkml+xml[ipa_application/octet-stream[java_text/x-java-source[jp2,jpg2_image/jp2[jpeg,jpe,jpg_image/jpeg[jpf,jpx_image/jpx[jpm,jpgm_image/jpm[jpgv_video/jpeg[jph_image/jph[js,mjs_text/javascript[json_application/json[json5_application/json5[jsonld_application/ld+json[jsx_text/jsx[jxl_image/jxl[jxr_image/jxr[ktx_image/ktx[ktx2_image/ktx2[less_text/less[m1v,m2v,mpe,mpeg,mpg_video/mpeg[m4a_audio/mp4[m4v_video/x-m4v[md,markdown_text/markdown[mid,midi,kar,rmi_audio/midi[mkv_video/x-matroska[mp2,mp2a,mp3,mpga,m3a,m2a_audio/mpeg[mp4,mp4v,mpg4_video/mp4[mp4a_audio/mp4[mp4s,m4p_application/mp4[odp_application/vnd.oasis.opendocument.presentation[oda_application/oda[ods_application/vnd.oasis.opendocument.spreadsheet[odt_application/vnd.oasis.opendocument.text[oga,ogg,opus,spx_audio/ogg[ogv_video/ogg[ogx_application/ogg[otf_font/otf[p12,pfx_application/x-pkcs12[pdf_application/pdf[pem_application/x-pem-file[php_text/x-php[png_image/png[ppt_application/vnd.ms-powerpoint[pptx_application/vnd.openxmlformats-officedocument.presentationml.presentation[pskcxml_application/pskc+xml[psd_image/vnd.adobe.photoshop[py_text/x-python[qt,mov_video/quicktime[rar_application/vnd.rar[rdf_application/rdf+xml[rtf_text/rtf[sass_text/x-sass[scss_text/x-scss[sgm,sgml_text/sgml[sh_application/x-sh[svg,svgz_image/svg+xml[swf_application/x-shockwave-flash[tar_application/x-tar[tif,tiff_image/tiff[toml_application/toml[ts_video/mp2t[tsx_text/tsx[tsv_text/tab-separated-values[ttc_font/collection[ttf_font/ttf[vtt_text/vtt[wasm_application/wasm[wav_audio/wav[weba_audio/webm[webm_video/webm[webmanifest_application/manifest+json[webp_image/webp[wma_audio/x-ms-wma[wmv_video/x-ms-wmv[woff_font/woff[woff2_font/woff2[xls_application/vnd.ms-excel[xlsx_application/vnd.openxmlformats-officedocument.spreadsheetml.sheet[xml_application/xml[xz_application/x-xz[yaml,yml_text/yaml[zip_application/zip".split("[").flatMap((mime) => {
176
164
  const [extensions, mimeType] = mime.split("_");
177
165
  return extensions.split(",").map((ext) => [ext, mimeType]);
178
166
  }));
179
-
180
167
  //#endregion
181
168
  //#region src/shared/file-utils/get-file-mime-type.ts
182
169
  function getFileMimeType(name) {
183
170
  const extension = name.split(".").pop();
184
171
  return extension ? mimeTypesMap.get(extension) || null : null;
185
172
  }
186
-
187
173
  //#endregion
188
174
  //#region src/shared/file-utils/is-valid-file-type.ts
189
175
  function isFileAccepted(file, accept) {
@@ -206,65 +192,64 @@ function isValidFileType(file, accept) {
206
192
  const isAcceptable = file.type === "application/x-moz-file" || isFileAccepted(file, accept);
207
193
  return [isAcceptable, isAcceptable ? null : "FILE_INVALID_TYPE"];
208
194
  }
209
-
210
195
  //#endregion
211
- Object.defineProperty(exports, 'dataURItoBlob', {
212
- enumerable: true,
213
- get: function () {
214
- return dataURItoBlob;
215
- }
196
+ Object.defineProperty(exports, "dataURItoBlob", {
197
+ enumerable: true,
198
+ get: function() {
199
+ return dataURItoBlob;
200
+ }
201
+ });
202
+ Object.defineProperty(exports, "downloadFile", {
203
+ enumerable: true,
204
+ get: function() {
205
+ return downloadFile;
206
+ }
216
207
  });
217
- Object.defineProperty(exports, 'downloadFile', {
218
- enumerable: true,
219
- get: function () {
220
- return downloadFile;
221
- }
208
+ Object.defineProperty(exports, "getAcceptAttrString", {
209
+ enumerable: true,
210
+ get: function() {
211
+ return getAcceptAttrString;
212
+ }
222
213
  });
223
- Object.defineProperty(exports, 'getAcceptAttrString', {
224
- enumerable: true,
225
- get: function () {
226
- return getAcceptAttrString;
227
- }
214
+ Object.defineProperty(exports, "getFileDataUrl", {
215
+ enumerable: true,
216
+ get: function() {
217
+ return getFileDataUrl;
218
+ }
228
219
  });
229
- Object.defineProperty(exports, 'getFileDataUrl', {
230
- enumerable: true,
231
- get: function () {
232
- return getFileDataUrl;
233
- }
220
+ Object.defineProperty(exports, "getFileEntries", {
221
+ enumerable: true,
222
+ get: function() {
223
+ return getFileEntries;
224
+ }
234
225
  });
235
- Object.defineProperty(exports, 'getFileEntries', {
236
- enumerable: true,
237
- get: function () {
238
- return getFileEntries;
239
- }
226
+ Object.defineProperty(exports, "getFileMimeType", {
227
+ enumerable: true,
228
+ get: function() {
229
+ return getFileMimeType;
230
+ }
240
231
  });
241
- Object.defineProperty(exports, 'getFileMimeType', {
242
- enumerable: true,
243
- get: function () {
244
- return getFileMimeType;
245
- }
232
+ Object.defineProperty(exports, "getTotalFileSize", {
233
+ enumerable: true,
234
+ get: function() {
235
+ return getTotalFileSize;
236
+ }
246
237
  });
247
- Object.defineProperty(exports, 'getTotalFileSize', {
248
- enumerable: true,
249
- get: function () {
250
- return getTotalFileSize;
251
- }
238
+ Object.defineProperty(exports, "isFileEqual", {
239
+ enumerable: true,
240
+ get: function() {
241
+ return isFileEqual;
242
+ }
252
243
  });
253
- Object.defineProperty(exports, 'isFileEqual', {
254
- enumerable: true,
255
- get: function () {
256
- return isFileEqual;
257
- }
244
+ Object.defineProperty(exports, "isValidFileSize", {
245
+ enumerable: true,
246
+ get: function() {
247
+ return isValidFileSize;
248
+ }
258
249
  });
259
- Object.defineProperty(exports, 'isValidFileSize', {
260
- enumerable: true,
261
- get: function () {
262
- return isValidFileSize;
263
- }
250
+ Object.defineProperty(exports, "isValidFileType", {
251
+ enumerable: true,
252
+ get: function() {
253
+ return isValidFileType;
254
+ }
264
255
  });
265
- Object.defineProperty(exports, 'isValidFileType', {
266
- enumerable: true,
267
- get: function () {
268
- return isValidFileType;
269
- }
270
- });