@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
package/dist/hotkeys.mjs CHANGED
@@ -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/hotkeys/modifier.ts
4
3
  const MODIFIER_NORMALIZATION_MAP = new Map([
5
4
  ["ctrl", "Control"],
@@ -33,7 +32,6 @@ function resolveControlOrMeta(key, platform) {
33
32
  function isModKey(key) {
34
33
  return key.toLowerCase() === "mod" || key.toLowerCase() === "controlormeta";
35
34
  }
36
-
37
35
  //#endregion
38
36
  //#region src/shared/hotkeys/normalize.ts
39
37
  function normalizeKey(eventKey) {
@@ -75,7 +73,6 @@ const KEY_NORMALIZATION_MAP = new Map([
75
73
  ["ins", "Insert"],
76
74
  ["insert", "Insert"]
77
75
  ]);
78
-
79
76
  //#endregion
80
77
  //#region src/shared/hotkeys/key-to-code.ts
81
78
  function keyToCode(key) {
@@ -119,7 +116,6 @@ const SPECIAL_KEY_CODES = new Map([
119
116
  [".", "Period"],
120
117
  ["/", "Slash"]
121
118
  ]);
122
-
123
119
  //#endregion
124
120
  //#region src/shared/hotkeys/utils.ts
125
121
  const typeOf = (value) => Object.prototype.toString.call(value).slice(8, -1);
@@ -136,8 +132,6 @@ const FORM_TAGS = new Set([
136
132
  "select"
137
133
  ]);
138
134
  const isFormTag = (tagName) => FORM_TAGS.has(tagName);
139
- const MODIFIER_SEPARATOR = "+";
140
- const SEQUENCE_SEPARATOR = ">";
141
135
  const isHTMLElement = (target) => {
142
136
  return target !== null && typeof target === "object" && "localName" in target && "nodeType" in target && target.nodeType === 1;
143
137
  };
@@ -152,11 +146,10 @@ const toArray = (value) => {
152
146
  if (Array.isArray(value)) return value.filter((item) => item !== void 0);
153
147
  return value !== void 0 ? [value] : [];
154
148
  };
155
-
156
149
  //#endregion
157
150
  //#region src/shared/hotkeys/parser.ts
158
151
  function parseHotkeyString(hotkey, platform) {
159
- const parts = hotkey.split(MODIFIER_SEPARATOR);
152
+ const parts = hotkey.split("+");
160
153
  const modifiers = [];
161
154
  let keyIndex = parts.length - 1;
162
155
  for (let i = 0; i < parts.length - 1; i++) {
@@ -174,18 +167,18 @@ function parseHotkeyString(hotkey, platform) {
174
167
  }
175
168
  return {
176
169
  modifiers,
177
- key: parts.slice(keyIndex).join(MODIFIER_SEPARATOR).trim()
170
+ key: parts.slice(keyIndex).join("+").trim()
178
171
  };
179
172
  }
180
173
  function parseHotkey(hotkey, platform) {
181
- if (hotkey.includes(SEQUENCE_SEPARATOR)) {
182
- const sequenceParts = hotkey.split(SEQUENCE_SEPARATOR);
174
+ if (hotkey.includes(">")) {
175
+ const sequenceParts = hotkey.split(">");
183
176
  const sequenceSteps = [];
184
177
  const allKeys = [];
185
178
  const allCodes = [];
186
179
  for (const rawPart of sequenceParts) {
187
180
  const part = rawPart.trim();
188
- if (part.includes(MODIFIER_SEPARATOR)) {
181
+ if (part.includes("+")) {
189
182
  const { modifiers, key } = parseHotkeyString(part, platform);
190
183
  const step = {
191
184
  key: normalizeKey(key),
@@ -261,7 +254,7 @@ function parseHotkey(hotkey, platform) {
261
254
  result.shift = true;
262
255
  break;
263
256
  }
264
- if (key && key !== SEQUENCE_SEPARATOR) {
257
+ if (key && key !== ">") {
265
258
  const normalizedKey = normalizeKey(key);
266
259
  result.keys.push(normalizedKey);
267
260
  const code = keyToCode(normalizedKey);
@@ -311,7 +304,6 @@ function getHotkeyPriority(parsed) {
311
304
  priority += parsed.keys.length * 10;
312
305
  return priority;
313
306
  }
314
-
315
307
  //#endregion
316
308
  //#region src/shared/hotkeys/store.ts
317
309
  const defaultOptions = {
@@ -498,7 +490,7 @@ var HotkeyStore = class {
498
490
  return [...this.state.pressedKeys];
499
491
  }
500
492
  updateParsedHotkeys() {
501
- for (const command of this.state.commands.values()) if (command.hotkey.split(MODIFIER_SEPARATOR).some((part) => isModKey(part.trim()))) {
493
+ for (const command of this.state.commands.values()) if (command.hotkey.split("+").some((part) => isModKey(part.trim()))) {
502
494
  const parsed = parseHotkey(command.hotkey, this.platform);
503
495
  command._parsed = parsed;
504
496
  command._priority = getHotkeyPriority(parsed);
@@ -676,7 +668,6 @@ function createHotkeyStore(options) {
676
668
  if (options?.rootNode) store.init(options);
677
669
  return store;
678
670
  }
679
-
680
671
  //#endregion
681
672
  //#region src/shared/hotkeys/format.ts
682
673
  const PLATFORM_MODIFIERS = {
@@ -723,7 +714,7 @@ const KEY_NAMES = new Map([
723
714
  function formatHotkey(hotkey, options = {}) {
724
715
  const { platform = "auto", style = "mixed", separator = " ", sequenceSeparator = " then ", useShortNames = true } = options;
725
716
  const targetPlatform = platform === "auto" ? getPlatform() : platform;
726
- if (hotkey.includes(SEQUENCE_SEPARATOR)) return hotkey.split(SEQUENCE_SEPARATOR).map((part) => formatSingleHotkey(part.trim(), targetPlatform, style, separator, useShortNames)).join(sequenceSeparator);
717
+ if (hotkey.includes(">")) return hotkey.split(">").map((part) => formatSingleHotkey(part.trim(), targetPlatform, style, separator, useShortNames)).join(sequenceSeparator);
727
718
  return formatSingleHotkey(hotkey, targetPlatform, style, separator, useShortNames);
728
719
  }
729
720
  function formatSingleHotkey(hotkey, platform, style, separator, useShortNames) {
@@ -749,6 +740,5 @@ function formatSingleHotkey(hotkey, platform, style, separator, useShortNames) {
749
740
  });
750
741
  return [...formattedModifiers, ...formattedKeys].join(separator);
751
742
  }
752
-
753
743
  //#endregion
754
- export { HotkeyStore, createHotkeyStore, formatHotkey, isHotKey, parseHotkey };
744
+ export { HotkeyStore, createHotkeyStore, formatHotkey, isHotKey, parseHotkey };
@@ -1,5 +1,4 @@
1
- import { in as getWindow } from "./dom-query-CQFBCdpo.mjs";
2
-
1
+ import { in as getWindow } from "./dom-query-dX8Dakb4.mjs";
3
2
  //#region src/shared/i18n-utils/cache.ts
4
3
  function i18nCache(Ins) {
5
4
  const formatterCache = /* @__PURE__ */ new Map();
@@ -11,14 +10,12 @@ function i18nCache(Ins) {
11
10
  return formatter;
12
11
  };
13
12
  }
14
-
15
13
  //#endregion
16
14
  //#region src/shared/i18n-utils/collator.ts
17
15
  const getCollator = i18nCache(Intl.Collator);
18
16
  function createCollator(locale = "en-US", options = {}) {
19
17
  return getCollator(locale, options);
20
18
  }
21
-
22
19
  //#endregion
23
20
  //#region src/shared/i18n-utils/filter.ts
24
21
  const collatorCache = i18nCache(Intl.Collator);
@@ -63,14 +60,12 @@ function createFilter(options) {
63
60
  contains
64
61
  };
65
62
  }
66
-
67
63
  //#endregion
68
64
  //#region src/shared/i18n-utils/format-number.ts
69
65
  const getNumberFormatter = i18nCache(Intl.NumberFormat);
70
66
  function formatNumber(v, locale, options = {}) {
71
67
  return getNumberFormatter(locale, options).format(v);
72
68
  }
73
-
74
69
  //#endregion
75
70
  //#region src/shared/i18n-utils/format-bytes.ts
76
71
  const bitPrefixes = [
@@ -108,7 +103,6 @@ const formatBytes = (bytes, locale = "en-US", options = {}) => {
108
103
  unitDisplay
109
104
  });
110
105
  };
111
-
112
106
  //#endregion
113
107
  //#region src/shared/i18n-utils/format-date.ts
114
108
  const symbols = "\\s|\\.|-|/|\\\\|,|\\$|\\!|\\?|:|;";
@@ -312,14 +306,12 @@ function formatDate(date, format, locale, timeZone) {
312
306
  }
313
307
  return result;
314
308
  }
315
-
316
309
  //#endregion
317
310
  //#region src/shared/i18n-utils/format-list.ts
318
311
  const getListFormatter = i18nCache(Intl.ListFormat);
319
312
  function formatList(list, locale, options = {}) {
320
313
  return getListFormatter(locale, options).format(list);
321
314
  }
322
-
323
315
  //#endregion
324
316
  //#region src/shared/i18n-utils/format-relative-time.ts
325
317
  const getRelativeTimeFormatter = i18nCache(Intl.RelativeTimeFormat);
@@ -356,7 +348,6 @@ function getDistance(startDate, endDate) {
356
348
  years: Math.floor(distance / YEAR_TO_MS)
357
349
  };
358
350
  }
359
-
360
351
  //#endregion
361
352
  //#region src/shared/i18n-utils/is-rtl.ts
362
353
  const RTL_SCRIPTS = new Set([
@@ -405,7 +396,6 @@ function isRTL(locale) {
405
396
  function getLocaleDir(locale) {
406
397
  return isRTL(locale) ? "rtl" : "ltr";
407
398
  }
408
-
409
399
  //#endregion
410
400
  //#region src/shared/i18n-utils/locale.ts
411
401
  function getDefaultLocale() {
@@ -420,7 +410,6 @@ function getDefaultLocale() {
420
410
  dir: isRTL(locale) ? "rtl" : "ltr"
421
411
  };
422
412
  }
423
-
424
413
  //#endregion
425
414
  //#region src/shared/i18n-utils/track-locale.ts
426
415
  function trackLocale(options = {}) {
@@ -435,6 +424,5 @@ function trackLocale(options = {}) {
435
424
  win.removeEventListener("languagechange", handleLocaleChange);
436
425
  };
437
426
  }
438
-
439
427
  //#endregion
440
- export { formatRelativeTime as a, formatBytes as c, createCollator as d, isRTL as i, formatNumber as l, getDefaultLocale as n, formatList as o, getLocaleDir as r, formatDate as s, trackLocale as t, createFilter as u };
428
+ export { formatRelativeTime as a, formatBytes as c, createCollator as d, isRTL as i, formatNumber as l, getDefaultLocale as n, formatList as o, getLocaleDir as r, formatDate as s, trackLocale as t, createFilter as u };
@@ -1,5 +1,4 @@
1
- const require_dom_query = require('./dom-query-CAFhX43H.cjs');
2
-
1
+ const require_dom_query = require("./dom-query-6Wt-Tikf.cjs");
3
2
  //#region src/shared/i18n-utils/cache.ts
4
3
  function i18nCache(Ins) {
5
4
  const formatterCache = /* @__PURE__ */ new Map();
@@ -11,14 +10,12 @@ function i18nCache(Ins) {
11
10
  return formatter;
12
11
  };
13
12
  }
14
-
15
13
  //#endregion
16
14
  //#region src/shared/i18n-utils/collator.ts
17
15
  const getCollator = i18nCache(Intl.Collator);
18
16
  function createCollator(locale = "en-US", options = {}) {
19
17
  return getCollator(locale, options);
20
18
  }
21
-
22
19
  //#endregion
23
20
  //#region src/shared/i18n-utils/filter.ts
24
21
  const collatorCache = i18nCache(Intl.Collator);
@@ -63,14 +60,12 @@ function createFilter(options) {
63
60
  contains
64
61
  };
65
62
  }
66
-
67
63
  //#endregion
68
64
  //#region src/shared/i18n-utils/format-number.ts
69
65
  const getNumberFormatter = i18nCache(Intl.NumberFormat);
70
66
  function formatNumber(v, locale, options = {}) {
71
67
  return getNumberFormatter(locale, options).format(v);
72
68
  }
73
-
74
69
  //#endregion
75
70
  //#region src/shared/i18n-utils/format-bytes.ts
76
71
  const bitPrefixes = [
@@ -108,7 +103,6 @@ const formatBytes = (bytes, locale = "en-US", options = {}) => {
108
103
  unitDisplay
109
104
  });
110
105
  };
111
-
112
106
  //#endregion
113
107
  //#region src/shared/i18n-utils/format-date.ts
114
108
  const symbols = "\\s|\\.|-|/|\\\\|,|\\$|\\!|\\?|:|;";
@@ -312,14 +306,12 @@ function formatDate(date, format, locale, timeZone) {
312
306
  }
313
307
  return result;
314
308
  }
315
-
316
309
  //#endregion
317
310
  //#region src/shared/i18n-utils/format-list.ts
318
311
  const getListFormatter = i18nCache(Intl.ListFormat);
319
312
  function formatList(list, locale, options = {}) {
320
313
  return getListFormatter(locale, options).format(list);
321
314
  }
322
-
323
315
  //#endregion
324
316
  //#region src/shared/i18n-utils/format-relative-time.ts
325
317
  const getRelativeTimeFormatter = i18nCache(Intl.RelativeTimeFormat);
@@ -356,7 +348,6 @@ function getDistance(startDate, endDate) {
356
348
  years: Math.floor(distance / YEAR_TO_MS)
357
349
  };
358
350
  }
359
-
360
351
  //#endregion
361
352
  //#region src/shared/i18n-utils/is-rtl.ts
362
353
  const RTL_SCRIPTS = new Set([
@@ -405,7 +396,6 @@ function isRTL(locale) {
405
396
  function getLocaleDir(locale) {
406
397
  return isRTL(locale) ? "rtl" : "ltr";
407
398
  }
408
-
409
399
  //#endregion
410
400
  //#region src/shared/i18n-utils/locale.ts
411
401
  function getDefaultLocale() {
@@ -420,7 +410,6 @@ function getDefaultLocale() {
420
410
  dir: isRTL(locale) ? "rtl" : "ltr"
421
411
  };
422
412
  }
423
-
424
413
  //#endregion
425
414
  //#region src/shared/i18n-utils/track-locale.ts
426
415
  function trackLocale(options = {}) {
@@ -435,71 +424,70 @@ function trackLocale(options = {}) {
435
424
  win.removeEventListener("languagechange", handleLocaleChange);
436
425
  };
437
426
  }
438
-
439
427
  //#endregion
440
- Object.defineProperty(exports, 'createCollator', {
441
- enumerable: true,
442
- get: function () {
443
- return createCollator;
444
- }
428
+ Object.defineProperty(exports, "createCollator", {
429
+ enumerable: true,
430
+ get: function() {
431
+ return createCollator;
432
+ }
433
+ });
434
+ Object.defineProperty(exports, "createFilter", {
435
+ enumerable: true,
436
+ get: function() {
437
+ return createFilter;
438
+ }
445
439
  });
446
- Object.defineProperty(exports, 'createFilter', {
447
- enumerable: true,
448
- get: function () {
449
- return createFilter;
450
- }
440
+ Object.defineProperty(exports, "formatBytes", {
441
+ enumerable: true,
442
+ get: function() {
443
+ return formatBytes;
444
+ }
451
445
  });
452
- Object.defineProperty(exports, 'formatBytes', {
453
- enumerable: true,
454
- get: function () {
455
- return formatBytes;
456
- }
446
+ Object.defineProperty(exports, "formatDate", {
447
+ enumerable: true,
448
+ get: function() {
449
+ return formatDate;
450
+ }
457
451
  });
458
- Object.defineProperty(exports, 'formatDate', {
459
- enumerable: true,
460
- get: function () {
461
- return formatDate;
462
- }
452
+ Object.defineProperty(exports, "formatList", {
453
+ enumerable: true,
454
+ get: function() {
455
+ return formatList;
456
+ }
463
457
  });
464
- Object.defineProperty(exports, 'formatList', {
465
- enumerable: true,
466
- get: function () {
467
- return formatList;
468
- }
458
+ Object.defineProperty(exports, "formatNumber", {
459
+ enumerable: true,
460
+ get: function() {
461
+ return formatNumber;
462
+ }
469
463
  });
470
- Object.defineProperty(exports, 'formatNumber', {
471
- enumerable: true,
472
- get: function () {
473
- return formatNumber;
474
- }
464
+ Object.defineProperty(exports, "formatRelativeTime", {
465
+ enumerable: true,
466
+ get: function() {
467
+ return formatRelativeTime;
468
+ }
475
469
  });
476
- Object.defineProperty(exports, 'formatRelativeTime', {
477
- enumerable: true,
478
- get: function () {
479
- return formatRelativeTime;
480
- }
470
+ Object.defineProperty(exports, "getDefaultLocale", {
471
+ enumerable: true,
472
+ get: function() {
473
+ return getDefaultLocale;
474
+ }
481
475
  });
482
- Object.defineProperty(exports, 'getDefaultLocale', {
483
- enumerable: true,
484
- get: function () {
485
- return getDefaultLocale;
486
- }
476
+ Object.defineProperty(exports, "getLocaleDir", {
477
+ enumerable: true,
478
+ get: function() {
479
+ return getLocaleDir;
480
+ }
487
481
  });
488
- Object.defineProperty(exports, 'getLocaleDir', {
489
- enumerable: true,
490
- get: function () {
491
- return getLocaleDir;
492
- }
482
+ Object.defineProperty(exports, "isRTL", {
483
+ enumerable: true,
484
+ get: function() {
485
+ return isRTL;
486
+ }
493
487
  });
494
- Object.defineProperty(exports, 'isRTL', {
495
- enumerable: true,
496
- get: function () {
497
- return isRTL;
498
- }
488
+ Object.defineProperty(exports, "trackLocale", {
489
+ enumerable: true,
490
+ get: function() {
491
+ return trackLocale;
492
+ }
499
493
  });
500
- Object.defineProperty(exports, 'trackLocale', {
501
- enumerable: true,
502
- get: function () {
503
- return trackLocale;
504
- }
505
- });
@@ -1,6 +1,6 @@
1
- require('./dom-query-CAFhX43H.cjs');
2
- const require_i18n_utils = require('./i18n-utils-CK27xonZ.cjs');
3
-
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ require("./dom-query-6Wt-Tikf.cjs");
3
+ const require_i18n_utils = require("./i18n-utils-Dm8cGCol.cjs");
4
4
  exports.createCollator = require_i18n_utils.createCollator;
5
5
  exports.createFilter = require_i18n_utils.createFilter;
6
6
  exports.formatBytes = require_i18n_utils.formatBytes;
@@ -11,4 +11,4 @@ exports.formatRelativeTime = require_i18n_utils.formatRelativeTime;
11
11
  exports.getDefaultLocale = require_i18n_utils.getDefaultLocale;
12
12
  exports.getLocaleDir = require_i18n_utils.getLocaleDir;
13
13
  exports.isRTL = require_i18n_utils.isRTL;
14
- exports.trackLocale = require_i18n_utils.trackLocale;
14
+ exports.trackLocale = require_i18n_utils.trackLocale;
@@ -1,4 +1,3 @@
1
- import "./dom-query-CQFBCdpo.mjs";
2
- import { a as formatRelativeTime, c as formatBytes, d as createCollator, i as isRTL, l as formatNumber, n as getDefaultLocale, o as formatList, r as getLocaleDir, s as formatDate, t as trackLocale, u as createFilter } from "./i18n-utils-KuoJj66z.mjs";
3
-
4
- export { createCollator, createFilter, formatBytes, formatDate, formatList, formatNumber, formatRelativeTime, getDefaultLocale, getLocaleDir, isRTL, trackLocale };
1
+ import "./dom-query-dX8Dakb4.mjs";
2
+ import { a as formatRelativeTime, c as formatBytes, d as createCollator, i as isRTL, l as formatNumber, n as getDefaultLocale, o as formatList, r as getLocaleDir, s as formatDate, t as trackLocale, u as createFilter } from "./i18n-utils-DHGN_KCY.mjs";
3
+ export { createCollator, createFilter, formatBytes, formatDate, formatList, formatNumber, formatRelativeTime, getDefaultLocale, getLocaleDir, isRTL, trackLocale };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export { };
1
+ export {};
@@ -1,6 +1,5 @@
1
- import { $t as getDocument, Bt as isTouchDevice, W as raf, Zt as contains, ct as addDomEvent, gt as isContextMenuEvent, in as getWindow, j as getNearestOverflowAncestor, mn as isShadowRoot, pt as getEventTarget, qt as isControlledElement, tt as isFocusable, un as isHTMLElement } from "./dom-query-CQFBCdpo.mjs";
2
- import { W as callAll } from "./utils-Vs04rt8f.mjs";
3
-
1
+ import { $t as getDocument, Bt as isTouchDevice, W as raf, Zt as contains, ct as addDomEvent, gt as isContextMenuEvent, in as getWindow, j as getNearestOverflowAncestor, mn as isShadowRoot, pt as getEventTarget, qt as isControlledElement, tt as isFocusable, un as isHTMLElement } from "./dom-query-dX8Dakb4.mjs";
2
+ import { W as callAll } from "./utils-VVoZ_v29.mjs";
4
3
  //#region src/shared/interact-outside/frame-utils.ts
5
4
  function getWindowFrames(win) {
6
5
  const frames = {
@@ -52,7 +51,6 @@ function getParentWindow(win) {
52
51
  }
53
52
  };
54
53
  }
55
-
56
54
  //#endregion
57
55
  //#region src/shared/interact-outside/index.ts
58
56
  const POINTER_OUTSIDE_EVENT = "pointerdown.outside";
@@ -195,6 +193,5 @@ function fireCustomEvent(el, type, init) {
195
193
  const event = new (el.ownerDocument.defaultView || window).CustomEvent(type, init);
196
194
  return el.dispatchEvent(event);
197
195
  }
198
-
199
196
  //#endregion
200
- export { trackInteractOutside as t };
197
+ export { trackInteractOutside as t };
@@ -1,6 +1,5 @@
1
- const require_dom_query = require('./dom-query-CAFhX43H.cjs');
2
- const require_utils = require('./utils-CJsQZljH.cjs');
3
-
1
+ const require_dom_query = require("./dom-query-6Wt-Tikf.cjs");
2
+ const require_utils = require("./utils-ByNiZU8f.cjs");
4
3
  //#region src/shared/interact-outside/frame-utils.ts
5
4
  function getWindowFrames(win) {
6
5
  const frames = {
@@ -52,7 +51,6 @@ function getParentWindow(win) {
52
51
  }
53
52
  };
54
53
  }
55
-
56
54
  //#endregion
57
55
  //#region src/shared/interact-outside/index.ts
58
56
  const POINTER_OUTSIDE_EVENT = "pointerdown.outside";
@@ -195,11 +193,10 @@ function fireCustomEvent(el, type, init) {
195
193
  const event = new (el.ownerDocument.defaultView || window).CustomEvent(type, init);
196
194
  return el.dispatchEvent(event);
197
195
  }
198
-
199
196
  //#endregion
200
- Object.defineProperty(exports, 'trackInteractOutside', {
201
- enumerable: true,
202
- get: function () {
203
- return trackInteractOutside;
204
- }
205
- });
197
+ Object.defineProperty(exports, "trackInteractOutside", {
198
+ enumerable: true,
199
+ get: function() {
200
+ return trackInteractOutside;
201
+ }
202
+ });
@@ -1,5 +1,5 @@
1
- require('./dom-query-CAFhX43H.cjs');
2
- require('./utils-CJsQZljH.cjs');
3
- const require_interact_outside = require('./interact-outside-Dk2otQqs.cjs');
4
-
5
- exports.trackInteractOutside = require_interact_outside.trackInteractOutside;
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ require("./dom-query-6Wt-Tikf.cjs");
3
+ require("./utils-ByNiZU8f.cjs");
4
+ const require_interact_outside = require("./interact-outside-DRaFGdMg.cjs");
5
+ exports.trackInteractOutside = require_interact_outside.trackInteractOutside;
@@ -1,2 +1,2 @@
1
- import { a as InteractOutsideOptions, c as PointerDownOutsideEvent, i as InteractOutsideHandlers, l as trackInteractOutside, n as FocusOutsideEvent, o as MaybeElement, r as InteractOutsideEvent, s as NodeOrFn, t as EventDetails } from "./index-Cf0hysnI.cjs";
1
+ import { a as InteractOutsideOptions, c as PointerDownOutsideEvent, i as InteractOutsideHandlers, l as trackInteractOutside, n as FocusOutsideEvent, o as MaybeElement, r as InteractOutsideEvent, s as NodeOrFn, t as EventDetails } from "./index-DzWGFhcS.cjs";
2
2
  export { EventDetails, FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, InteractOutsideOptions, MaybeElement, NodeOrFn, PointerDownOutsideEvent, trackInteractOutside };
@@ -1,2 +1,2 @@
1
- import { a as InteractOutsideOptions, c as PointerDownOutsideEvent, i as InteractOutsideHandlers, l as trackInteractOutside, n as FocusOutsideEvent, o as MaybeElement, r as InteractOutsideEvent, s as NodeOrFn, t as EventDetails } from "./index-CXu0elLS.mjs";
1
+ import { a as InteractOutsideOptions, c as PointerDownOutsideEvent, i as InteractOutsideHandlers, l as trackInteractOutside, n as FocusOutsideEvent, o as MaybeElement, r as InteractOutsideEvent, s as NodeOrFn, t as EventDetails } from "./index-CGNNiDyE.mjs";
2
2
  export { EventDetails, FocusOutsideEvent, InteractOutsideEvent, InteractOutsideHandlers, InteractOutsideOptions, MaybeElement, NodeOrFn, PointerDownOutsideEvent, trackInteractOutside };
@@ -1,5 +1,4 @@
1
- import "./dom-query-CQFBCdpo.mjs";
2
- import "./utils-Vs04rt8f.mjs";
3
- import { t as trackInteractOutside } from "./interact-outside-CRmkKF6k.mjs";
4
-
5
- export { trackInteractOutside };
1
+ import "./dom-query-dX8Dakb4.mjs";
2
+ import "./utils-VVoZ_v29.mjs";
3
+ import { t as trackInteractOutside } from "./interact-outside-C-8lOhpV.mjs";
4
+ export { trackInteractOutside };
@@ -1,8 +1,8 @@
1
-
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  //#region src/shared/json-tree-utils/json-to-tree.ts
3
3
  const MAX_DEPTH = 20;
4
4
  const jsonToTree = (data, props = {}) => {
5
- const { visited = /* @__PURE__ */ new WeakSet(), keyPath = [ROOT_KEY], depth = 0 } = props;
5
+ const { visited = /* @__PURE__ */ new WeakSet(), keyPath = ["$"], depth = 0 } = props;
6
6
  const options = getPreviewOptions(props.options);
7
7
  if (depth > MAX_DEPTH) return {
8
8
  value: "[Max Depth Reached]",
@@ -29,7 +29,6 @@ const jsonToTree = (data, props = {}) => {
29
29
  options
30
30
  });
31
31
  };
32
-
33
32
  //#endregion
34
33
  //#region src/shared/json-tree-utils/shared.ts
35
34
  const regexReturnCharacters = /\r/g;
@@ -50,16 +49,15 @@ function defu(a, b) {
50
49
  }
51
50
  const isObj = (v) => v != null && typeof v === "object" && !Array.isArray(v);
52
51
  const typeOf = (value) => Object.prototype.toString.call(value);
53
-
54
52
  //#endregion
55
53
  //#region src/shared/json-tree-utils/node-conversion.ts
56
54
  const ROOT_KEY = "$";
57
55
  const PATH_SEP = ".";
58
56
  function isRootKeyPath(keyPath) {
59
- return keyPath.length === 1 && keyPath[0] === ROOT_KEY;
57
+ return keyPath.length === 1 && keyPath[0] === "$";
60
58
  }
61
59
  function keyPathToId(keyPath) {
62
- return keyPath.join(PATH_SEP);
60
+ return keyPath.join(".");
63
61
  }
64
62
  function keyPathToKey(keyPath, opts) {
65
63
  if (keyPath.length === 0) return "";
@@ -82,7 +80,7 @@ function getRootNode(data, opts) {
82
80
  keyPath: [],
83
81
  children: [jsonToTree(data, {
84
82
  visited: /* @__PURE__ */ new WeakSet(),
85
- keyPath: [ROOT_KEY],
83
+ keyPath: ["$"],
86
84
  options: getPreviewOptions(opts)
87
85
  })]
88
86
  };
@@ -97,7 +95,6 @@ const getPreviewOptions = (opts) => {
97
95
  if (!opts) return DEFAULT_PREVIEW_OPTIONS;
98
96
  return defu(DEFAULT_PREVIEW_OPTIONS, opts);
99
97
  };
100
-
101
98
  //#endregion
102
99
  //#region src/shared/json-tree-utils/data-type.ts
103
100
  const generatePreviewText = (items, hasMore) => {
@@ -1424,7 +1421,6 @@ const getNodeTypeDescription = (node, opts) => {
1424
1421
  if (dataType) return typeof dataType.description === "function" ? dataType.description(node, options) : dataType.description;
1425
1422
  return String(node.value);
1426
1423
  };
1427
-
1428
1424
  //#endregion
1429
1425
  //#region src/shared/json-tree-utils/accessibility.ts
1430
1426
  const propertyWord = (count) => count === 1 ? "property" : "properties";
@@ -1459,7 +1455,6 @@ const getDescriptorInfo = (descriptor) => {
1459
1455
  if (!descriptor.configurable) parts.push("non-configurable");
1460
1456
  return parts.length > 0 ? parts.join(", ") : "non-enumerable";
1461
1457
  };
1462
-
1463
1458
  //#endregion
1464
1459
  exports.ArrayBufferType = ArrayBufferType;
1465
1460
  exports.ArrayType = ArrayType;
@@ -1509,4 +1504,4 @@ exports.jsonToTree = jsonToTree;
1509
1504
  exports.keyPathToId = keyPathToId;
1510
1505
  exports.keyPathToKey = keyPathToKey;
1511
1506
  exports.nodeToString = nodeToString;
1512
- exports.nodeToValue = nodeToValue;
1507
+ exports.nodeToValue = nodeToValue;