@protonradio/proton-ui 0.11.10-beta.3 → 0.11.11

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 (613) hide show
  1. package/dist/components/ActionMenu/ActionMenu.cjs.js +1 -1
  2. package/dist/components/ActionMenu/ActionMenu.cjs.js.map +1 -1
  3. package/dist/components/ActionMenu/ActionMenu.es.js +253 -186
  4. package/dist/components/ActionMenu/ActionMenu.es.js.map +1 -1
  5. package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js +1 -1
  6. package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js.map +1 -1
  7. package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js +7 -8
  8. package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js.map +1 -1
  9. package/dist/components/Input/BaseInput/Input.cjs.js +1 -1
  10. package/dist/components/Input/BaseInput/Input.cjs.js.map +1 -1
  11. package/dist/components/Input/BaseInput/Input.es.js +67 -63
  12. package/dist/components/Input/BaseInput/Input.es.js.map +1 -1
  13. package/dist/components/Input/SearchInput/SearchInput.cjs.js +1 -1
  14. package/dist/components/Input/SearchInput/SearchInput.cjs.js.map +1 -1
  15. package/dist/components/Input/SearchInput/SearchInput.es.js +1 -1
  16. package/dist/components/Input/SearchInput/SearchInput.es.js.map +1 -1
  17. package/dist/components/Menu/MenuTrigger.cjs.js +1 -1
  18. package/dist/components/Menu/MenuTrigger.cjs.js.map +1 -1
  19. package/dist/components/Menu/MenuTrigger.es.js +65 -73
  20. package/dist/components/Menu/MenuTrigger.es.js.map +1 -1
  21. package/dist/components/Menu/PopoverMenu.cjs.js +1 -1
  22. package/dist/components/Menu/PopoverMenu.cjs.js.map +1 -1
  23. package/dist/components/Menu/PopoverMenu.es.js +110 -104
  24. package/dist/components/Menu/PopoverMenu.es.js.map +1 -1
  25. package/dist/components/Popover/Popover.cjs.js +1 -1
  26. package/dist/components/Popover/Popover.cjs.js.map +1 -1
  27. package/dist/components/Popover/Popover.es.js +44 -64
  28. package/dist/components/Popover/Popover.es.js.map +1 -1
  29. package/dist/components/Select/Select.cjs.js +1 -1
  30. package/dist/components/Select/Select.cjs.js.map +1 -1
  31. package/dist/components/Select/Select.es.js +177 -122
  32. package/dist/components/Select/Select.es.js.map +1 -1
  33. package/dist/index.cjs.js +1 -1
  34. package/dist/index.d.ts +70 -81
  35. package/dist/index.es.js +37 -38
  36. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js +1 -1
  37. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js.map +1 -1
  38. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js +12 -16
  39. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js.map +1 -1
  40. package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js +1 -1
  41. package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js.map +1 -1
  42. package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js +8 -31
  43. package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js.map +1 -1
  44. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js +1 -1
  45. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js.map +1 -1
  46. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js +36 -44
  47. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js.map +1 -1
  48. package/dist/node_modules/react-aria-components/dist/utils.cjs.js +1 -1
  49. package/dist/node_modules/react-aria-components/dist/utils.cjs.js.map +1 -1
  50. package/dist/node_modules/react-aria-components/dist/utils.es.js +36 -48
  51. package/dist/node_modules/react-aria-components/dist/utils.es.js.map +1 -1
  52. package/dist/style.css +1 -1
  53. package/package.json +1 -1
  54. package/dist/_virtual/index.cjs.js +0 -2
  55. package/dist/_virtual/index.cjs.js.map +0 -1
  56. package/dist/_virtual/index.es.js +0 -5
  57. package/dist/_virtual/index.es.js.map +0 -1
  58. package/dist/_virtual/use-sync-external-store-shim.development.cjs.js +0 -2
  59. package/dist/_virtual/use-sync-external-store-shim.development.cjs.js.map +0 -1
  60. package/dist/_virtual/use-sync-external-store-shim.development.es.js +0 -5
  61. package/dist/_virtual/use-sync-external-store-shim.development.es.js.map +0 -1
  62. package/dist/_virtual/use-sync-external-store-shim.production.cjs.js +0 -2
  63. package/dist/_virtual/use-sync-external-store-shim.production.cjs.js.map +0 -1
  64. package/dist/_virtual/use-sync-external-store-shim.production.es.js +0 -5
  65. package/dist/_virtual/use-sync-external-store-shim.production.es.js.map +0 -1
  66. package/dist/components/ListBox/ListBox.cjs.js +0 -2
  67. package/dist/components/ListBox/ListBox.cjs.js.map +0 -1
  68. package/dist/components/ListBox/ListBox.es.js +0 -25
  69. package/dist/components/ListBox/ListBox.es.js.map +0 -1
  70. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js +0 -2
  71. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js.map +0 -1
  72. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js +0 -48
  73. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js.map +0 -1
  74. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js +0 -2
  75. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js.map +0 -1
  76. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js +0 -33
  77. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js.map +0 -1
  78. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js +0 -2
  79. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js.map +0 -1
  80. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js +0 -135
  81. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js.map +0 -1
  82. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js +0 -2
  83. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js.map +0 -1
  84. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js +0 -145
  85. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js.map +0 -1
  86. package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js +0 -2
  87. package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js.map +0 -1
  88. package/dist/node_modules/@react-aria/collections/dist/Document.es.js +0 -220
  89. package/dist/node_modules/@react-aria/collections/dist/Document.es.js.map +0 -1
  90. package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js +0 -2
  91. package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js.map +0 -1
  92. package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js +0 -36
  93. package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js.map +0 -1
  94. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js +0 -2
  95. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js.map +0 -1
  96. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js +0 -37
  97. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js.map +0 -1
  98. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js +0 -2
  99. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js.map +0 -1
  100. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js +0 -32
  101. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js.map +0 -1
  102. package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js +0 -2
  103. package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js.map +0 -1
  104. package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js +0 -12
  105. package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js.map +0 -1
  106. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js +0 -2
  107. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js.map +0 -1
  108. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js +0 -24
  109. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js.map +0 -1
  110. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js +0 -2
  111. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js.map +0 -1
  112. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js +0 -15
  113. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js.map +0 -1
  114. package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js +0 -2
  115. package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js.map +0 -1
  116. package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js +0 -85
  117. package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js.map +0 -1
  118. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js +0 -2
  119. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js.map +0 -1
  120. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js +0 -50
  121. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js.map +0 -1
  122. package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js +0 -2
  123. package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js.map +0 -1
  124. package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js +0 -52
  125. package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js.map +0 -1
  126. package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js +0 -2
  127. package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js.map +0 -1
  128. package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js +0 -79
  129. package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js.map +0 -1
  130. package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js +0 -2
  131. package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js.map +0 -1
  132. package/dist/node_modules/@react-aria/listbox/dist/utils.es.js +0 -14
  133. package/dist/node_modules/@react-aria/listbox/dist/utils.es.js.map +0 -1
  134. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js +0 -2
  135. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js.map +0 -1
  136. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js +0 -48
  137. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js.map +0 -1
  138. package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js +0 -2
  139. package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js.map +0 -1
  140. package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js +0 -8
  141. package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js.map +0 -1
  142. package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js +0 -2
  143. package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js.map +0 -1
  144. package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js +0 -8
  145. package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js.map +0 -1
  146. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js +0 -2
  147. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js.map +0 -1
  148. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js +0 -8
  149. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js.map +0 -1
  150. package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js +0 -2
  151. package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js.map +0 -1
  152. package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js +0 -8
  153. package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js.map +0 -1
  154. package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js +0 -2
  155. package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js.map +0 -1
  156. package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js +0 -8
  157. package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js.map +0 -1
  158. package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js +0 -2
  159. package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js.map +0 -1
  160. package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js +0 -8
  161. package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js.map +0 -1
  162. package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js +0 -2
  163. package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js.map +0 -1
  164. package/dist/node_modules/@react-aria/menu/dist/en-US.es.js +0 -8
  165. package/dist/node_modules/@react-aria/menu/dist/en-US.es.js.map +0 -1
  166. package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js +0 -2
  167. package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js.map +0 -1
  168. package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js +0 -8
  169. package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js.map +0 -1
  170. package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js +0 -2
  171. package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js.map +0 -1
  172. package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js +0 -8
  173. package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js.map +0 -1
  174. package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js +0 -2
  175. package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js.map +0 -1
  176. package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js +0 -8
  177. package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js.map +0 -1
  178. package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js +0 -2
  179. package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js.map +0 -1
  180. package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js +0 -8
  181. package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js.map +0 -1
  182. package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js +0 -2
  183. package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js.map +0 -1
  184. package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js +0 -8
  185. package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js.map +0 -1
  186. package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js +0 -2
  187. package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js.map +0 -1
  188. package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js +0 -8
  189. package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js.map +0 -1
  190. package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js +0 -2
  191. package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js.map +0 -1
  192. package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js +0 -8
  193. package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js.map +0 -1
  194. package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js +0 -2
  195. package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js.map +0 -1
  196. package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js +0 -75
  197. package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js.map +0 -1
  198. package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js +0 -2
  199. package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js.map +0 -1
  200. package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js +0 -8
  201. package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js.map +0 -1
  202. package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js +0 -2
  203. package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js.map +0 -1
  204. package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js +0 -8
  205. package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js.map +0 -1
  206. package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js +0 -2
  207. package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js.map +0 -1
  208. package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js +0 -8
  209. package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js.map +0 -1
  210. package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js +0 -2
  211. package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js.map +0 -1
  212. package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js +0 -8
  213. package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js.map +0 -1
  214. package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js +0 -2
  215. package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js.map +0 -1
  216. package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js +0 -8
  217. package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js.map +0 -1
  218. package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js +0 -2
  219. package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js.map +0 -1
  220. package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js +0 -8
  221. package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js.map +0 -1
  222. package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js +0 -2
  223. package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js.map +0 -1
  224. package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js +0 -8
  225. package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js.map +0 -1
  226. package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js +0 -2
  227. package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js.map +0 -1
  228. package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js +0 -8
  229. package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js.map +0 -1
  230. package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js +0 -2
  231. package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js.map +0 -1
  232. package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js +0 -8
  233. package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js.map +0 -1
  234. package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js +0 -2
  235. package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js.map +0 -1
  236. package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js +0 -8
  237. package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js.map +0 -1
  238. package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js +0 -2
  239. package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js.map +0 -1
  240. package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js +0 -8
  241. package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js.map +0 -1
  242. package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js +0 -2
  243. package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js.map +0 -1
  244. package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js +0 -8
  245. package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js.map +0 -1
  246. package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js +0 -2
  247. package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js.map +0 -1
  248. package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js +0 -8
  249. package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js.map +0 -1
  250. package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js +0 -2
  251. package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js.map +0 -1
  252. package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js +0 -8
  253. package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js.map +0 -1
  254. package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js +0 -2
  255. package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js.map +0 -1
  256. package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js +0 -8
  257. package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js.map +0 -1
  258. package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js +0 -2
  259. package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js.map +0 -1
  260. package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js +0 -8
  261. package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js.map +0 -1
  262. package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js +0 -2
  263. package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js.map +0 -1
  264. package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js +0 -8
  265. package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js.map +0 -1
  266. package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js +0 -2
  267. package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js.map +0 -1
  268. package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js +0 -8
  269. package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js.map +0 -1
  270. package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js +0 -2
  271. package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js.map +0 -1
  272. package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js +0 -39
  273. package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js.map +0 -1
  274. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js +0 -2
  275. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js.map +0 -1
  276. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js +0 -145
  277. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js.map +0 -1
  278. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js +0 -2
  279. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js.map +0 -1
  280. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js +0 -64
  281. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js.map +0 -1
  282. package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js +0 -2
  283. package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js.map +0 -1
  284. package/dist/node_modules/@react-aria/menu/dist/utils.es.js +0 -5
  285. package/dist/node_modules/@react-aria/menu/dist/utils.es.js.map +0 -1
  286. package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js +0 -2
  287. package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js.map +0 -1
  288. package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js +0 -8
  289. package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js.map +0 -1
  290. package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js +0 -2
  291. package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js.map +0 -1
  292. package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js +0 -8
  293. package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js.map +0 -1
  294. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js +0 -2
  295. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js.map +0 -1
  296. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js +0 -26
  297. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js.map +0 -1
  298. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js +0 -2
  299. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js.map +0 -1
  300. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js +0 -11
  301. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js.map +0 -1
  302. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js +0 -2
  303. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js.map +0 -1
  304. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js +0 -8
  305. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js.map +0 -1
  306. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js +0 -2
  307. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js.map +0 -1
  308. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js +0 -8
  309. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js.map +0 -1
  310. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js +0 -2
  311. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js.map +0 -1
  312. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js +0 -200
  313. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js.map +0 -1
  314. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js +0 -2
  315. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js.map +0 -1
  316. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js +0 -8
  317. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js.map +0 -1
  318. package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js +0 -2
  319. package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js.map +0 -1
  320. package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js +0 -8
  321. package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js.map +0 -1
  322. package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js +0 -2
  323. package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js.map +0 -1
  324. package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js +0 -8
  325. package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js.map +0 -1
  326. package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js +0 -2
  327. package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js.map +0 -1
  328. package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js +0 -8
  329. package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js.map +0 -1
  330. package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js +0 -2
  331. package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js.map +0 -1
  332. package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js +0 -8
  333. package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js.map +0 -1
  334. package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js +0 -2
  335. package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js.map +0 -1
  336. package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js +0 -8
  337. package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js.map +0 -1
  338. package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js +0 -2
  339. package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js.map +0 -1
  340. package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js +0 -8
  341. package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js.map +0 -1
  342. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js +0 -2
  343. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js.map +0 -1
  344. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js +0 -8
  345. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js.map +0 -1
  346. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js +0 -2
  347. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js.map +0 -1
  348. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js +0 -8
  349. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js.map +0 -1
  350. package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js +0 -2
  351. package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js.map +0 -1
  352. package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js +0 -8
  353. package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js.map +0 -1
  354. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js +0 -2
  355. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js.map +0 -1
  356. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js +0 -8
  357. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js.map +0 -1
  358. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js +0 -2
  359. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js.map +0 -1
  360. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js +0 -8
  361. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js.map +0 -1
  362. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js +0 -2
  363. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js.map +0 -1
  364. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js +0 -75
  365. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js.map +0 -1
  366. package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js +0 -2
  367. package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js.map +0 -1
  368. package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js +0 -8
  369. package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js.map +0 -1
  370. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js +0 -2
  371. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js.map +0 -1
  372. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js +0 -8
  373. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js.map +0 -1
  374. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js +0 -2
  375. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js.map +0 -1
  376. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js +0 -8
  377. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js.map +0 -1
  378. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js +0 -2
  379. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js.map +0 -1
  380. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js +0 -8
  381. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js.map +0 -1
  382. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js +0 -2
  383. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js.map +0 -1
  384. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js +0 -8
  385. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js.map +0 -1
  386. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js +0 -2
  387. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js.map +0 -1
  388. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js +0 -8
  389. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js.map +0 -1
  390. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js +0 -2
  391. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js.map +0 -1
  392. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js +0 -8
  393. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js.map +0 -1
  394. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js +0 -2
  395. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js.map +0 -1
  396. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js +0 -8
  397. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js.map +0 -1
  398. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js +0 -2
  399. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js.map +0 -1
  400. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js +0 -8
  401. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js.map +0 -1
  402. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js +0 -2
  403. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js.map +0 -1
  404. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js +0 -8
  405. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js.map +0 -1
  406. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js +0 -2
  407. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js.map +0 -1
  408. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js +0 -8
  409. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js.map +0 -1
  410. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js +0 -2
  411. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js.map +0 -1
  412. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js +0 -8
  413. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js.map +0 -1
  414. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js +0 -2
  415. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js.map +0 -1
  416. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js +0 -8
  417. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js.map +0 -1
  418. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js +0 -2
  419. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js.map +0 -1
  420. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js +0 -8
  421. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js.map +0 -1
  422. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js +0 -2
  423. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js.map +0 -1
  424. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js +0 -8
  425. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js.map +0 -1
  426. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js +0 -2
  427. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js.map +0 -1
  428. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js +0 -8
  429. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js.map +0 -1
  430. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js +0 -2
  431. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js.map +0 -1
  432. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js +0 -8
  433. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js.map +0 -1
  434. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js +0 -2
  435. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js.map +0 -1
  436. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js +0 -8
  437. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js.map +0 -1
  438. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js +0 -2
  439. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js.map +0 -1
  440. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js +0 -26
  441. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js.map +0 -1
  442. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js +0 -2
  443. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js.map +0 -1
  444. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js +0 -143
  445. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js.map +0 -1
  446. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js +0 -2
  447. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js.map +0 -1
  448. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js +0 -27
  449. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js.map +0 -1
  450. package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js +0 -2
  451. package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js.map +0 -1
  452. package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js +0 -48
  453. package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js.map +0 -1
  454. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js +0 -2
  455. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js.map +0 -1
  456. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js +0 -8
  457. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js.map +0 -1
  458. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js +0 -2
  459. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js.map +0 -1
  460. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js +0 -8
  461. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js.map +0 -1
  462. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js +0 -2
  463. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js.map +0 -1
  464. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js +0 -105
  465. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js.map +0 -1
  466. package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js +0 -2
  467. package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js.map +0 -1
  468. package/dist/node_modules/@react-aria/select/dist/useSelect.es.js +0 -126
  469. package/dist/node_modules/@react-aria/select/dist/useSelect.es.js.map +0 -1
  470. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js +0 -2
  471. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js.map +0 -1
  472. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js +0 -41
  473. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js.map +0 -1
  474. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js +0 -2
  475. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js.map +0 -1
  476. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js +0 -122
  477. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js.map +0 -1
  478. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js +0 -2
  479. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js.map +0 -1
  480. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js +0 -235
  481. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js.map +0 -1
  482. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js +0 -2
  483. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js.map +0 -1
  484. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js +0 -127
  485. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js.map +0 -1
  486. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js +0 -2
  487. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js.map +0 -1
  488. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js +0 -37
  489. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js.map +0 -1
  490. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js +0 -2
  491. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js.map +0 -1
  492. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js +0 -33
  493. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js.map +0 -1
  494. package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js +0 -2
  495. package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js.map +0 -1
  496. package/dist/node_modules/@react-aria/selection/dist/utils.es.js +0 -24
  497. package/dist/node_modules/@react-aria/selection/dist/utils.es.js.map +0 -1
  498. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js +0 -2
  499. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js.map +0 -1
  500. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js +0 -171
  501. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js.map +0 -1
  502. package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js +0 -2
  503. package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js.map +0 -1
  504. package/dist/node_modules/@react-stately/collections/dist/Item.es.js +0 -38
  505. package/dist/node_modules/@react-stately/collections/dist/Item.es.js.map +0 -1
  506. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js +0 -2
  507. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js.map +0 -1
  508. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js +0 -34
  509. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js.map +0 -1
  510. package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js +0 -2
  511. package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js.map +0 -1
  512. package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js +0 -15
  513. package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js.map +0 -1
  514. package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js +0 -2
  515. package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js.map +0 -1
  516. package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js +0 -24
  517. package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js.map +0 -1
  518. package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js +0 -2
  519. package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js.map +0 -1
  520. package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js +0 -57
  521. package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js.map +0 -1
  522. package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js +0 -2
  523. package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js.map +0 -1
  524. package/dist/node_modules/@react-stately/list/dist/useListState.es.js +0 -70
  525. package/dist/node_modules/@react-stately/list/dist/useListState.es.js.map +0 -1
  526. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js +0 -2
  527. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js.map +0 -1
  528. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js +0 -35
  529. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js.map +0 -1
  530. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js +0 -2
  531. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js.map +0 -1
  532. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js +0 -34
  533. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js.map +0 -1
  534. package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js +0 -2
  535. package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js.map +0 -1
  536. package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js +0 -35
  537. package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js.map +0 -1
  538. package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js +0 -2
  539. package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js.map +0 -1
  540. package/dist/node_modules/@react-stately/selection/dist/Selection.es.js +0 -9
  541. package/dist/node_modules/@react-stately/selection/dist/Selection.es.js.map +0 -1
  542. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js +0 -2
  543. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js.map +0 -1
  544. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js +0 -285
  545. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js.map +0 -1
  546. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js +0 -2
  547. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js.map +0 -1
  548. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js +0 -58
  549. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js.map +0 -1
  550. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js +0 -2
  551. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js.map +0 -1
  552. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js +0 -53
  553. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js.map +0 -1
  554. package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js +0 -2
  555. package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js.map +0 -1
  556. package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js +0 -38
  557. package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js.map +0 -1
  558. package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js +0 -2
  559. package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js.map +0 -1
  560. package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js +0 -6
  561. package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js.map +0 -1
  562. package/dist/node_modules/react-aria-components/dist/Button.cjs.js +0 -2
  563. package/dist/node_modules/react-aria-components/dist/Button.cjs.js.map +0 -1
  564. package/dist/node_modules/react-aria-components/dist/Button.es.js +0 -70
  565. package/dist/node_modules/react-aria-components/dist/Button.es.js.map +0 -1
  566. package/dist/node_modules/react-aria-components/dist/Collection.cjs.js +0 -2
  567. package/dist/node_modules/react-aria-components/dist/Collection.cjs.js.map +0 -1
  568. package/dist/node_modules/react-aria-components/dist/Collection.es.js +0 -64
  569. package/dist/node_modules/react-aria-components/dist/Collection.es.js.map +0 -1
  570. package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js +0 -2
  571. package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js.map +0 -1
  572. package/dist/node_modules/react-aria-components/dist/Dialog.es.js +0 -6
  573. package/dist/node_modules/react-aria-components/dist/Dialog.es.js.map +0 -1
  574. package/dist/node_modules/react-aria-components/dist/Header.cjs.js +0 -2
  575. package/dist/node_modules/react-aria-components/dist/Header.cjs.js.map +0 -1
  576. package/dist/node_modules/react-aria-components/dist/Header.es.js +0 -15
  577. package/dist/node_modules/react-aria-components/dist/Header.es.js.map +0 -1
  578. package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js +0 -2
  579. package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js.map +0 -1
  580. package/dist/node_modules/react-aria-components/dist/Keyboard.es.js +0 -6
  581. package/dist/node_modules/react-aria-components/dist/Keyboard.es.js.map +0 -1
  582. package/dist/node_modules/react-aria-components/dist/Menu.cjs.js +0 -2
  583. package/dist/node_modules/react-aria-components/dist/Menu.cjs.js.map +0 -1
  584. package/dist/node_modules/react-aria-components/dist/Menu.es.js +0 -286
  585. package/dist/node_modules/react-aria-components/dist/Menu.es.js.map +0 -1
  586. package/dist/node_modules/react-aria-components/dist/Popover.cjs.js +0 -2
  587. package/dist/node_modules/react-aria-components/dist/Popover.cjs.js.map +0 -1
  588. package/dist/node_modules/react-aria-components/dist/Popover.es.js +0 -141
  589. package/dist/node_modules/react-aria-components/dist/Popover.es.js.map +0 -1
  590. package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js +0 -2
  591. package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js.map +0 -1
  592. package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js +0 -6
  593. package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js.map +0 -1
  594. package/dist/node_modules/react-aria-components/dist/Separator.cjs.js +0 -2
  595. package/dist/node_modules/react-aria-components/dist/Separator.cjs.js.map +0 -1
  596. package/dist/node_modules/react-aria-components/dist/Separator.es.js +0 -6
  597. package/dist/node_modules/react-aria-components/dist/Separator.es.js.map +0 -1
  598. package/dist/node_modules/react-aria-components/dist/Text.cjs.js +0 -2
  599. package/dist/node_modules/react-aria-components/dist/Text.cjs.js.map +0 -1
  600. package/dist/node_modules/react-aria-components/dist/Text.es.js +0 -16
  601. package/dist/node_modules/react-aria-components/dist/Text.es.js.map +0 -1
  602. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js +0 -10
  603. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js.map +0 -1
  604. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js +0 -68
  605. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js.map +0 -1
  606. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js +0 -10
  607. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js.map +0 -1
  608. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js +0 -56
  609. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js.map +0 -1
  610. package/dist/node_modules/use-sync-external-store/shim/index.cjs.js +0 -2
  611. package/dist/node_modules/use-sync-external-store/shim/index.cjs.js.map +0 -1
  612. package/dist/node_modules/use-sync-external-store/shim/index.es.js +0 -9
  613. package/dist/node_modules/use-sync-external-store/shim/index.es.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocalizedStringFormatter.es.js","sources":["../../../../../node_modules/@internationalized/string/dist/LocalizedStringFormatter.mjs"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $6db58dc88e78b024$var$pluralRulesCache = new Map();\nconst $6db58dc88e78b024$var$numberFormatCache = new Map();\nclass $6db58dc88e78b024$export$2f817fcdc4b89ae0 {\n /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {\n let message = this.strings.getStringForLocale(key, this.locale);\n return typeof message === 'function' ? message(variables, this) : message;\n }\n plural(count, options, type = 'cardinal') {\n let opt = options['=' + count];\n if (opt) return typeof opt === 'function' ? opt() : opt;\n let key = this.locale + ':' + type;\n let pluralRules = $6db58dc88e78b024$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $6db58dc88e78b024$var$pluralRulesCache.set(key, pluralRules);\n }\n let selected = pluralRules.select(count);\n opt = options[selected] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n number(value) {\n let numberFormat = $6db58dc88e78b024$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $6db58dc88e78b024$var$numberFormatCache.set(this.locale, numberFormat);\n }\n return numberFormat.format(value);\n }\n select(options, value) {\n let opt = options[value] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n}\n\n\nexport {$6db58dc88e78b024$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.module.js.map\n"],"names":["$6db58dc88e78b024$var$pluralRulesCache","$6db58dc88e78b024$var$numberFormatCache","$6db58dc88e78b024$export$2f817fcdc4b89ae0","key","variables","message","count","options","type","opt","pluralRules","selected","value","numberFormat","locale","strings"],"mappings":"AAUI,MAAMA,IAAyC,oBAAI,OACjDC,IAA0C,oBAAI;AACpD,MAAMC,EAA0C;AAAA;AAAA,EACqC,OAAOC,GAAKC,GAAW;AACpG,QAAIC,IAAU,KAAK,QAAQ,mBAAmBF,GAAK,KAAK,MAAM;AAC9D,WAAO,OAAOE,KAAY,aAAaA,EAAQD,GAAW,IAAI,IAAIC;AAAA,EACrE;AAAA,EACD,OAAOC,GAAOC,GAASC,IAAO,YAAY;AACtC,QAAIC,IAAMF,EAAQ,MAAMD,CAAK;AAC7B,QAAIG,EAAK,QAAO,OAAOA,KAAQ,aAAaA,EAAK,IAAGA;AACpD,QAAIN,IAAM,KAAK,SAAS,MAAMK,GAC1BE,IAAcV,EAAuC,IAAIG,CAAG;AAChE,IAAKO,MACDA,IAAc,IAAI,KAAK,YAAY,KAAK,QAAQ;AAAA,MAC5C,MAAMF;AAAA,IACtB,CAAa,GACDR,EAAuC,IAAIG,GAAKO,CAAW;AAE/D,QAAIC,IAAWD,EAAY,OAAOJ,CAAK;AACvC,WAAAG,IAAMF,EAAQI,CAAQ,KAAKJ,EAAQ,OAC5B,OAAOE,KAAQ,aAAaA,EAAG,IAAKA;AAAA,EAC9C;AAAA,EACD,OAAOG,GAAO;AACV,QAAIC,IAAeZ,EAAwC,IAAI,KAAK,MAAM;AAC1E,WAAKY,MACDA,IAAe,IAAI,KAAK,aAAa,KAAK,MAAM,GAChDZ,EAAwC,IAAI,KAAK,QAAQY,CAAY,IAElEA,EAAa,OAAOD,CAAK;AAAA,EACnC;AAAA,EACD,OAAOL,GAASK,GAAO;AACnB,QAAIH,IAAMF,EAAQK,CAAK,KAAKL,EAAQ;AACpC,WAAO,OAAOE,KAAQ,aAAaA,EAAG,IAAKA;AAAA,EAC9C;AAAA,EACD,YAAYK,GAAQC,GAAQ;AACxB,SAAK,SAASD,GACd,KAAK,UAAUC;AAAA,EAClB;AACL;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class o{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new o(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}constructor(t,e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=t,this.key=e}}class h{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let e=this.keyMap;return{*[Symbol.iterator](){let l=e.get(t),n=(l==null?void 0:l.firstChildKey)!=null?e.get(l.firstChildKey):null;for(;n;)yield n,n=n.nextKey!=null?e.get(n.nextKey):void 0}}}getKeyBefore(t){let e=this.keyMap.get(t);if(!e)return null;if(e.prevKey!=null){for(e=this.keyMap.get(e.prevKey);e&&e.type!=="item"&&e.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);var l;return(l=e==null?void 0:e.key)!==null&&l!==void 0?l:null}return e.parentKey}getKeyAfter(t){let e=this.keyMap.get(t);if(!e)return null;if(e.type!=="item"&&e.firstChildKey!=null)return e.firstChildKey;for(;e;){if(e.nextKey!=null)return e.nextKey;if(e.parentKey!=null)e=this.keyMap.get(e.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var e;return(e=t==null?void 0:t.key)!==null&&e!==void 0?e:null}getItem(t){var e;return(e=this.keyMap.get(t))!==null&&e!==void 0?e:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,e=new t;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e.itemCount=this.itemCount,e}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let e=this.keyMap.get(t);e!=null&&e.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,e,l=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=e,this.frozen=!l}UNSTABLE_filter(t){let e=new h,l=null;for(let n of this)if(n.type==="section"&&n.hasChildNodes){let i=n.clone(),r=null;for(let a of this.getChildren(n.key))if(d(a,t,this,e)){let s=a.clone();r==null&&(i.firstChildKey=s.key),e.firstKey==null&&(e.firstKey=i.key),r&&r.parentKey===s.parentKey?(r.nextKey=s.key,s.prevKey=r.key):s.prevKey=null,s.nextKey=null,e.addNode(s),r=s}r&&(r.type!=="header"?(i.lastChildKey=r.key,l==null?i.prevKey=null:(l.type==="section"||l.type==="separator")&&(l.nextKey=i.key,i.prevKey=l.key),i.nextKey=null,l=i,e.addNode(i)):(e.firstKey===i.key&&(e.firstKey=null),e.removeNode(r.key)))}else if(n.type==="separator"){let i=n.clone();i.nextKey=null,(l==null?void 0:l.type)==="section"&&(l.nextKey=i.key,i.prevKey=l.key,l=i,e.addNode(i))}else{let i=n.clone();d(i,t,this,e)&&(e.firstKey==null&&(e.firstKey=i.key),l!=null&&l.type!=="section"&&l.type!=="separator"&&l.parentKey===i.parentKey?(l.nextKey=i.key,i.prevKey=l.key):i.prevKey=null,i.nextKey=null,e.addNode(i),l=i)}if((l==null?void 0:l.type)==="separator"&&l.nextKey===null){let n;l.prevKey!=null&&(n=e.getItem(l.prevKey),n.nextKey=null),e.removeNode(l.key),l=n}return e.lastKey=(l==null?void 0:l.key)||null,e}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function d(y,t,e,l){if(y.type==="subdialogtrigger"||y.type==="submenutrigger"){let n=[...e.getChildren(y.key)][0];if(n&&t(n.textValue)){let i=n.clone();return l.addNode(i),!0}else return!1}else return y.type==="header"?!0:t(y.textValue)}exports.BaseCollection=h;exports.CollectionNode=o;
2
- //# sourceMappingURL=BaseCollection.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseCollection.cjs.js","sources":["../../../../../node_modules/@react-aria/collections/dist/BaseCollection.mjs"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n get childNodes() {\n throw new Error('childNodes is not supported');\n }\n clone() {\n let node = new $23b9f4fcf0fe224b$export$d68d59712b04d9d1(this.type, this.key);\n node.value = this.value;\n node.level = this.level;\n node.hasChildNodes = this.hasChildNodes;\n node.rendered = this.rendered;\n node.textValue = this.textValue;\n node['aria-label'] = this['aria-label'];\n node.index = this.index;\n node.parentKey = this.parentKey;\n node.prevKey = this.prevKey;\n node.nextKey = this.nextKey;\n node.firstChildKey = this.firstChildKey;\n node.lastChildKey = this.lastChildKey;\n node.props = this.props;\n node.render = this.render;\n node.colSpan = this.colSpan;\n node.colIndex = this.colIndex;\n return node;\n }\n constructor(type, key){\n this.value = null;\n this.level = 0;\n this.hasChildNodes = false;\n this.rendered = null;\n this.textValue = '';\n this['aria-label'] = undefined;\n this.index = 0;\n this.parentKey = null;\n this.prevKey = null;\n this.nextKey = null;\n this.firstChildKey = null;\n this.lastChildKey = null;\n this.props = {};\n this.colSpan = null;\n this.colIndex = null;\n this.type = type;\n this.key = key;\n }\n}\nclass $23b9f4fcf0fe224b$export$408d25a4e12db025 {\n get size() {\n return this.itemCount;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n *[Symbol.iterator]() {\n let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;\n while(node){\n yield node;\n node = node.nextKey != null ? this.keyMap.get(node.nextKey) : undefined;\n }\n }\n getChildren(key) {\n let keyMap = this.keyMap;\n return {\n *[Symbol.iterator] () {\n let parent = keyMap.get(key);\n let node = (parent === null || parent === void 0 ? void 0 : parent.firstChildKey) != null ? keyMap.get(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? keyMap.get(node.nextKey) : undefined;\n }\n }\n };\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.prevKey != null) {\n node = this.keyMap.get(node.prevKey);\n while(node && node.type !== 'item' && node.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n return node.parentKey;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.type !== 'item' && node.firstChildKey != null) return node.firstChildKey;\n while(node){\n if (node.nextKey != null) return node.nextKey;\n if (node.parentKey != null) node = this.keyMap.get(node.parentKey);\n else return null;\n }\n return null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n let node = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;\n while((node === null || node === void 0 ? void 0 : node.lastChildKey) != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n getItem(key) {\n var _this_keyMap_get;\n return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;\n }\n at() {\n throw new Error('Not implemented');\n }\n clone() {\n // We need to clone using this.constructor so that subclasses have the right prototype.\n // TypeScript isn't happy about this yet.\n // https://github.com/microsoft/TypeScript/issues/3841\n let Constructor = this.constructor;\n let collection = new Constructor();\n collection.keyMap = new Map(this.keyMap);\n collection.firstKey = this.firstKey;\n collection.lastKey = this.lastKey;\n collection.itemCount = this.itemCount;\n return collection;\n }\n addNode(node) {\n if (this.frozen) throw new Error('Cannot add a node to a frozen collection');\n if (node.type === 'item' && this.keyMap.get(node.key) == null) this.itemCount++;\n this.keyMap.set(node.key, node);\n }\n removeNode(key) {\n if (this.frozen) throw new Error('Cannot remove a node to a frozen collection');\n let node = this.keyMap.get(key);\n if (node != null && node.type === 'item') this.itemCount--;\n this.keyMap.delete(key);\n }\n commit(firstKey, lastKey, isSSR = false) {\n if (this.frozen) throw new Error('Cannot commit a frozen collection');\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.frozen = !isSSR;\n }\n // TODO: this is pretty specific to menu, will need to check if it is generic enough\n // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu\n // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter\n // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection\n UNSTABLE_filter(filterFn) {\n let newCollection = new $23b9f4fcf0fe224b$export$408d25a4e12db025();\n // This tracks the absolute last node we've visited in the collection when filtering, used for setting up the filteredCollection's lastKey and\n // for updating the next/prevKey for every non-filtered node.\n let lastNode = null;\n for (let node of this){\n if (node.type === 'section' && node.hasChildNodes) {\n let clonedSection = node.clone();\n let lastChildInSection = null;\n for (let child of this.getChildren(node.key))if ($23b9f4fcf0fe224b$var$shouldKeepNode(child, filterFn, this, newCollection)) {\n let clonedChild = child.clone();\n // eslint-disable-next-line max-depth\n if (lastChildInSection == null) clonedSection.firstChildKey = clonedChild.key;\n // eslint-disable-next-line max-depth\n if (newCollection.firstKey == null) newCollection.firstKey = clonedSection.key;\n // eslint-disable-next-line max-depth\n if (lastChildInSection && lastChildInSection.parentKey === clonedChild.parentKey) {\n lastChildInSection.nextKey = clonedChild.key;\n clonedChild.prevKey = lastChildInSection.key;\n } else clonedChild.prevKey = null;\n clonedChild.nextKey = null;\n newCollection.addNode(clonedChild);\n lastChildInSection = clonedChild;\n }\n // Add newly filtered section to collection if it has any valid child nodes, otherwise remove it and its header if any\n if (lastChildInSection) {\n if (lastChildInSection.type !== 'header') {\n clonedSection.lastChildKey = lastChildInSection.key;\n // If the old prev section was filtered out, will need to attach to whatever came before\n // eslint-disable-next-line max-depth\n if (lastNode == null) clonedSection.prevKey = null;\n else if (lastNode.type === 'section' || lastNode.type === 'separator') {\n lastNode.nextKey = clonedSection.key;\n clonedSection.prevKey = lastNode.key;\n }\n clonedSection.nextKey = null;\n lastNode = clonedSection;\n newCollection.addNode(clonedSection);\n } else {\n if (newCollection.firstKey === clonedSection.key) newCollection.firstKey = null;\n newCollection.removeNode(lastChildInSection.key);\n }\n }\n } else if (node.type === 'separator') {\n // will need to check if previous section key exists, if it does then we add the separator to the collection.\n // After the full collection is created we'll need to remove it it is the last node in the section (aka no following section after the separator)\n let clonedSeparator = node.clone();\n clonedSeparator.nextKey = null;\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'section') {\n lastNode.nextKey = clonedSeparator.key;\n clonedSeparator.prevKey = lastNode.key;\n lastNode = clonedSeparator;\n newCollection.addNode(clonedSeparator);\n }\n } else {\n // At this point, the node is either a subdialogtrigger node or a standard row/item\n let clonedNode = node.clone();\n if ($23b9f4fcf0fe224b$var$shouldKeepNode(clonedNode, filterFn, this, newCollection)) {\n if (newCollection.firstKey == null) newCollection.firstKey = clonedNode.key;\n if (lastNode != null && lastNode.type !== 'section' && lastNode.type !== 'separator' && lastNode.parentKey === clonedNode.parentKey) {\n lastNode.nextKey = clonedNode.key;\n clonedNode.prevKey = lastNode.key;\n } else clonedNode.prevKey = null;\n clonedNode.nextKey = null;\n newCollection.addNode(clonedNode);\n lastNode = clonedNode;\n }\n }\n }\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'separator' && lastNode.nextKey === null) {\n let lastSection;\n if (lastNode.prevKey != null) {\n lastSection = newCollection.getItem(lastNode.prevKey);\n lastSection.nextKey = null;\n }\n newCollection.removeNode(lastNode.key);\n lastNode = lastSection;\n }\n newCollection.lastKey = (lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) || null;\n return newCollection;\n }\n constructor(){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.frozen = false;\n this.itemCount = 0;\n }\n}\nfunction $23b9f4fcf0fe224b$var$shouldKeepNode(node, filterFn, oldCollection, newCollection) {\n if (node.type === 'subdialogtrigger' || node.type === 'submenutrigger') {\n // Subdialog wrapper should only have one child, if it passes the filter add it to the new collection since we don't need to\n // do any extra handling for its first/next key\n let triggerChild = [\n ...oldCollection.getChildren(node.key)\n ][0];\n if (triggerChild && filterFn(triggerChild.textValue)) {\n let clonedChild = triggerChild.clone();\n newCollection.addNode(clonedChild);\n return true;\n } else return false;\n } else if (node.type === 'header') return true;\n else return filterFn(node.textValue);\n}\n\n\nexport {$23b9f4fcf0fe224b$export$d68d59712b04d9d1 as CollectionNode, $23b9f4fcf0fe224b$export$408d25a4e12db025 as BaseCollection};\n//# sourceMappingURL=BaseCollection.module.js.map\n"],"names":["$23b9f4fcf0fe224b$export$d68d59712b04d9d1","node","type","key","$23b9f4fcf0fe224b$export$408d25a4e12db025","keyMap","parent","_node_key","_this_keyMap_get","Constructor","collection","firstKey","lastKey","isSSR","filterFn","newCollection","lastNode","clonedSection","lastChildInSection","child","$23b9f4fcf0fe224b$var$shouldKeepNode","clonedChild","clonedSeparator","clonedNode","lastSection","oldCollection","triggerChild"],"mappings":"gFAUI,MAAMA,CAA0C,CAChD,IAAI,YAAa,CACb,MAAM,IAAI,MAAM,6BAA6B,CAChD,CACD,OAAQ,CACJ,IAAIC,EAAO,IAAID,EAA0C,KAAK,KAAM,KAAK,GAAG,EAC5E,OAAAC,EAAK,MAAQ,KAAK,MAClBA,EAAK,MAAQ,KAAK,MAClBA,EAAK,cAAgB,KAAK,cAC1BA,EAAK,SAAW,KAAK,SACrBA,EAAK,UAAY,KAAK,UACtBA,EAAK,YAAY,EAAI,KAAK,YAAY,EACtCA,EAAK,MAAQ,KAAK,MAClBA,EAAK,UAAY,KAAK,UACtBA,EAAK,QAAU,KAAK,QACpBA,EAAK,QAAU,KAAK,QACpBA,EAAK,cAAgB,KAAK,cAC1BA,EAAK,aAAe,KAAK,aACzBA,EAAK,MAAQ,KAAK,MAClBA,EAAK,OAAS,KAAK,OACnBA,EAAK,QAAU,KAAK,QACpBA,EAAK,SAAW,KAAK,SACdA,CACV,CACD,YAAYC,EAAMC,EAAI,CAClB,KAAK,MAAQ,KACb,KAAK,MAAQ,EACb,KAAK,cAAgB,GACrB,KAAK,SAAW,KAChB,KAAK,UAAY,GACjB,KAAK,YAAY,EAAI,OACrB,KAAK,MAAQ,EACb,KAAK,UAAY,KACjB,KAAK,QAAU,KACf,KAAK,QAAU,KACf,KAAK,cAAgB,KACrB,KAAK,aAAe,KACpB,KAAK,MAAQ,GACb,KAAK,QAAU,KACf,KAAK,SAAW,KAChB,KAAK,KAAOD,EACZ,KAAK,IAAMC,CACd,CACL,CACA,MAAMC,CAA0C,CAC5C,IAAI,MAAO,CACP,OAAO,KAAK,SACf,CACD,SAAU,CACN,OAAO,KAAK,OAAO,MACtB,CACD,EAAE,OAAO,QAAQ,GAAI,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,WAAaA,EAAS,OAAS,aAAeA,EAAS,YAAcO,EAAW,WACtHP,EAAS,QAAUO,EAAW,IAC9BA,EAAW,QAAUP,EAAS,KAC3BO,EAAW,QAAU,KAC5BA,EAAW,QAAU,KACrBR,EAAc,QAAQQ,CAAU,EAChCP,EAAWO,EAElB,CAEL,IAAKP,GAAa,KAA8B,OAASA,EAAS,QAAU,aAAeA,EAAS,UAAY,KAAM,CAClH,IAAIQ,EACAR,EAAS,SAAW,OACpBQ,EAAcT,EAAc,QAAQC,EAAS,OAAO,EACpDQ,EAAY,QAAU,MAE1BT,EAAc,WAAWC,EAAS,GAAG,EACrCA,EAAWQ,CACd,CACD,OAAAT,EAAc,SAAWC,GAAa,KAA8B,OAASA,EAAS,MAAQ,KACvFD,CACV,CACD,aAAa,CACT,KAAK,OAAS,IAAI,IAClB,KAAK,SAAW,KAChB,KAAK,QAAU,KACf,KAAK,OAAS,GACd,KAAK,UAAY,CACpB,CACL,CACA,SAASK,EAAqCnB,EAAMa,EAAUW,EAAeV,EAAe,CACxF,GAAId,EAAK,OAAS,oBAAsBA,EAAK,OAAS,iBAAkB,CAGpE,IAAIyB,EAAe,CACf,GAAGD,EAAc,YAAYxB,EAAK,GAAG,CACxC,EAAC,CAAC,EACH,GAAIyB,GAAgBZ,EAASY,EAAa,SAAS,EAAG,CAClD,IAAIL,EAAcK,EAAa,QAC/B,OAAAX,EAAc,QAAQM,CAAW,EAC1B,EACV,KAAM,OAAO,EACjB,KAAM,QAAIpB,EAAK,OAAS,SAAiB,GAC9Ba,EAASb,EAAK,SAAS,CACvC","x_google_ignoreList":[0]}
@@ -1,135 +0,0 @@
1
- class a {
2
- get childNodes() {
3
- throw new Error("childNodes is not supported");
4
- }
5
- clone() {
6
- let t = new a(this.type, this.key);
7
- return t.value = this.value, t.level = this.level, t.hasChildNodes = this.hasChildNodes, t.rendered = this.rendered, t.textValue = this.textValue, t["aria-label"] = this["aria-label"], t.index = this.index, t.parentKey = this.parentKey, t.prevKey = this.prevKey, t.nextKey = this.nextKey, t.firstChildKey = this.firstChildKey, t.lastChildKey = this.lastChildKey, t.props = this.props, t.render = this.render, t.colSpan = this.colSpan, t.colIndex = this.colIndex, t;
8
- }
9
- constructor(t, e) {
10
- this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = t, this.key = e;
11
- }
12
- }
13
- class d {
14
- get size() {
15
- return this.itemCount;
16
- }
17
- getKeys() {
18
- return this.keyMap.keys();
19
- }
20
- *[Symbol.iterator]() {
21
- let t = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
22
- for (; t; )
23
- yield t, t = t.nextKey != null ? this.keyMap.get(t.nextKey) : void 0;
24
- }
25
- getChildren(t) {
26
- let e = this.keyMap;
27
- return {
28
- *[Symbol.iterator]() {
29
- let l = e.get(t), n = (l == null ? void 0 : l.firstChildKey) != null ? e.get(l.firstChildKey) : null;
30
- for (; n; )
31
- yield n, n = n.nextKey != null ? e.get(n.nextKey) : void 0;
32
- }
33
- };
34
- }
35
- getKeyBefore(t) {
36
- let e = this.keyMap.get(t);
37
- if (!e) return null;
38
- if (e.prevKey != null) {
39
- for (e = this.keyMap.get(e.prevKey); e && e.type !== "item" && e.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
40
- var l;
41
- return (l = e == null ? void 0 : e.key) !== null && l !== void 0 ? l : null;
42
- }
43
- return e.parentKey;
44
- }
45
- getKeyAfter(t) {
46
- let e = this.keyMap.get(t);
47
- if (!e) return null;
48
- if (e.type !== "item" && e.firstChildKey != null) return e.firstChildKey;
49
- for (; e; ) {
50
- if (e.nextKey != null) return e.nextKey;
51
- if (e.parentKey != null) e = this.keyMap.get(e.parentKey);
52
- else return null;
53
- }
54
- return null;
55
- }
56
- getFirstKey() {
57
- return this.firstKey;
58
- }
59
- getLastKey() {
60
- let t = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
61
- for (; (t == null ? void 0 : t.lastChildKey) != null; ) t = this.keyMap.get(t.lastChildKey);
62
- var e;
63
- return (e = t == null ? void 0 : t.key) !== null && e !== void 0 ? e : null;
64
- }
65
- getItem(t) {
66
- var e;
67
- return (e = this.keyMap.get(t)) !== null && e !== void 0 ? e : null;
68
- }
69
- at() {
70
- throw new Error("Not implemented");
71
- }
72
- clone() {
73
- let t = this.constructor, e = new t();
74
- return e.keyMap = new Map(this.keyMap), e.firstKey = this.firstKey, e.lastKey = this.lastKey, e.itemCount = this.itemCount, e;
75
- }
76
- addNode(t) {
77
- if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
78
- t.type === "item" && this.keyMap.get(t.key) == null && this.itemCount++, this.keyMap.set(t.key, t);
79
- }
80
- removeNode(t) {
81
- if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
82
- let e = this.keyMap.get(t);
83
- e != null && e.type === "item" && this.itemCount--, this.keyMap.delete(t);
84
- }
85
- commit(t, e, l = !1) {
86
- if (this.frozen) throw new Error("Cannot commit a frozen collection");
87
- this.firstKey = t, this.lastKey = e, this.frozen = !l;
88
- }
89
- // TODO: this is pretty specific to menu, will need to check if it is generic enough
90
- // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
91
- // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
92
- // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
93
- UNSTABLE_filter(t) {
94
- let e = new d(), l = null;
95
- for (let n of this)
96
- if (n.type === "section" && n.hasChildNodes) {
97
- let i = n.clone(), r = null;
98
- for (let o of this.getChildren(n.key)) if (h(o, t, this, e)) {
99
- let s = o.clone();
100
- r == null && (i.firstChildKey = s.key), e.firstKey == null && (e.firstKey = i.key), r && r.parentKey === s.parentKey ? (r.nextKey = s.key, s.prevKey = r.key) : s.prevKey = null, s.nextKey = null, e.addNode(s), r = s;
101
- }
102
- r && (r.type !== "header" ? (i.lastChildKey = r.key, l == null ? i.prevKey = null : (l.type === "section" || l.type === "separator") && (l.nextKey = i.key, i.prevKey = l.key), i.nextKey = null, l = i, e.addNode(i)) : (e.firstKey === i.key && (e.firstKey = null), e.removeNode(r.key)));
103
- } else if (n.type === "separator") {
104
- let i = n.clone();
105
- i.nextKey = null, (l == null ? void 0 : l.type) === "section" && (l.nextKey = i.key, i.prevKey = l.key, l = i, e.addNode(i));
106
- } else {
107
- let i = n.clone();
108
- h(i, t, this, e) && (e.firstKey == null && (e.firstKey = i.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === i.parentKey ? (l.nextKey = i.key, i.prevKey = l.key) : i.prevKey = null, i.nextKey = null, e.addNode(i), l = i);
109
- }
110
- if ((l == null ? void 0 : l.type) === "separator" && l.nextKey === null) {
111
- let n;
112
- l.prevKey != null && (n = e.getItem(l.prevKey), n.nextKey = null), e.removeNode(l.key), l = n;
113
- }
114
- return e.lastKey = (l == null ? void 0 : l.key) || null, e;
115
- }
116
- constructor() {
117
- this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
118
- }
119
- }
120
- function h(y, t, e, l) {
121
- if (y.type === "subdialogtrigger" || y.type === "submenutrigger") {
122
- let n = [
123
- ...e.getChildren(y.key)
124
- ][0];
125
- if (n && t(n.textValue)) {
126
- let i = n.clone();
127
- return l.addNode(i), !0;
128
- } else return !1;
129
- } else return y.type === "header" ? !0 : t(y.textValue);
130
- }
131
- export {
132
- d as BaseCollection,
133
- a as CollectionNode
134
- };
135
- //# sourceMappingURL=BaseCollection.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseCollection.es.js","sources":["../../../../../node_modules/@react-aria/collections/dist/BaseCollection.mjs"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n get childNodes() {\n throw new Error('childNodes is not supported');\n }\n clone() {\n let node = new $23b9f4fcf0fe224b$export$d68d59712b04d9d1(this.type, this.key);\n node.value = this.value;\n node.level = this.level;\n node.hasChildNodes = this.hasChildNodes;\n node.rendered = this.rendered;\n node.textValue = this.textValue;\n node['aria-label'] = this['aria-label'];\n node.index = this.index;\n node.parentKey = this.parentKey;\n node.prevKey = this.prevKey;\n node.nextKey = this.nextKey;\n node.firstChildKey = this.firstChildKey;\n node.lastChildKey = this.lastChildKey;\n node.props = this.props;\n node.render = this.render;\n node.colSpan = this.colSpan;\n node.colIndex = this.colIndex;\n return node;\n }\n constructor(type, key){\n this.value = null;\n this.level = 0;\n this.hasChildNodes = false;\n this.rendered = null;\n this.textValue = '';\n this['aria-label'] = undefined;\n this.index = 0;\n this.parentKey = null;\n this.prevKey = null;\n this.nextKey = null;\n this.firstChildKey = null;\n this.lastChildKey = null;\n this.props = {};\n this.colSpan = null;\n this.colIndex = null;\n this.type = type;\n this.key = key;\n }\n}\nclass $23b9f4fcf0fe224b$export$408d25a4e12db025 {\n get size() {\n return this.itemCount;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n *[Symbol.iterator]() {\n let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;\n while(node){\n yield node;\n node = node.nextKey != null ? this.keyMap.get(node.nextKey) : undefined;\n }\n }\n getChildren(key) {\n let keyMap = this.keyMap;\n return {\n *[Symbol.iterator] () {\n let parent = keyMap.get(key);\n let node = (parent === null || parent === void 0 ? void 0 : parent.firstChildKey) != null ? keyMap.get(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? keyMap.get(node.nextKey) : undefined;\n }\n }\n };\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.prevKey != null) {\n node = this.keyMap.get(node.prevKey);\n while(node && node.type !== 'item' && node.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n return node.parentKey;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.type !== 'item' && node.firstChildKey != null) return node.firstChildKey;\n while(node){\n if (node.nextKey != null) return node.nextKey;\n if (node.parentKey != null) node = this.keyMap.get(node.parentKey);\n else return null;\n }\n return null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n let node = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;\n while((node === null || node === void 0 ? void 0 : node.lastChildKey) != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n getItem(key) {\n var _this_keyMap_get;\n return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;\n }\n at() {\n throw new Error('Not implemented');\n }\n clone() {\n // We need to clone using this.constructor so that subclasses have the right prototype.\n // TypeScript isn't happy about this yet.\n // https://github.com/microsoft/TypeScript/issues/3841\n let Constructor = this.constructor;\n let collection = new Constructor();\n collection.keyMap = new Map(this.keyMap);\n collection.firstKey = this.firstKey;\n collection.lastKey = this.lastKey;\n collection.itemCount = this.itemCount;\n return collection;\n }\n addNode(node) {\n if (this.frozen) throw new Error('Cannot add a node to a frozen collection');\n if (node.type === 'item' && this.keyMap.get(node.key) == null) this.itemCount++;\n this.keyMap.set(node.key, node);\n }\n removeNode(key) {\n if (this.frozen) throw new Error('Cannot remove a node to a frozen collection');\n let node = this.keyMap.get(key);\n if (node != null && node.type === 'item') this.itemCount--;\n this.keyMap.delete(key);\n }\n commit(firstKey, lastKey, isSSR = false) {\n if (this.frozen) throw new Error('Cannot commit a frozen collection');\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.frozen = !isSSR;\n }\n // TODO: this is pretty specific to menu, will need to check if it is generic enough\n // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu\n // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter\n // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection\n UNSTABLE_filter(filterFn) {\n let newCollection = new $23b9f4fcf0fe224b$export$408d25a4e12db025();\n // This tracks the absolute last node we've visited in the collection when filtering, used for setting up the filteredCollection's lastKey and\n // for updating the next/prevKey for every non-filtered node.\n let lastNode = null;\n for (let node of this){\n if (node.type === 'section' && node.hasChildNodes) {\n let clonedSection = node.clone();\n let lastChildInSection = null;\n for (let child of this.getChildren(node.key))if ($23b9f4fcf0fe224b$var$shouldKeepNode(child, filterFn, this, newCollection)) {\n let clonedChild = child.clone();\n // eslint-disable-next-line max-depth\n if (lastChildInSection == null) clonedSection.firstChildKey = clonedChild.key;\n // eslint-disable-next-line max-depth\n if (newCollection.firstKey == null) newCollection.firstKey = clonedSection.key;\n // eslint-disable-next-line max-depth\n if (lastChildInSection && lastChildInSection.parentKey === clonedChild.parentKey) {\n lastChildInSection.nextKey = clonedChild.key;\n clonedChild.prevKey = lastChildInSection.key;\n } else clonedChild.prevKey = null;\n clonedChild.nextKey = null;\n newCollection.addNode(clonedChild);\n lastChildInSection = clonedChild;\n }\n // Add newly filtered section to collection if it has any valid child nodes, otherwise remove it and its header if any\n if (lastChildInSection) {\n if (lastChildInSection.type !== 'header') {\n clonedSection.lastChildKey = lastChildInSection.key;\n // If the old prev section was filtered out, will need to attach to whatever came before\n // eslint-disable-next-line max-depth\n if (lastNode == null) clonedSection.prevKey = null;\n else if (lastNode.type === 'section' || lastNode.type === 'separator') {\n lastNode.nextKey = clonedSection.key;\n clonedSection.prevKey = lastNode.key;\n }\n clonedSection.nextKey = null;\n lastNode = clonedSection;\n newCollection.addNode(clonedSection);\n } else {\n if (newCollection.firstKey === clonedSection.key) newCollection.firstKey = null;\n newCollection.removeNode(lastChildInSection.key);\n }\n }\n } else if (node.type === 'separator') {\n // will need to check if previous section key exists, if it does then we add the separator to the collection.\n // After the full collection is created we'll need to remove it it is the last node in the section (aka no following section after the separator)\n let clonedSeparator = node.clone();\n clonedSeparator.nextKey = null;\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'section') {\n lastNode.nextKey = clonedSeparator.key;\n clonedSeparator.prevKey = lastNode.key;\n lastNode = clonedSeparator;\n newCollection.addNode(clonedSeparator);\n }\n } else {\n // At this point, the node is either a subdialogtrigger node or a standard row/item\n let clonedNode = node.clone();\n if ($23b9f4fcf0fe224b$var$shouldKeepNode(clonedNode, filterFn, this, newCollection)) {\n if (newCollection.firstKey == null) newCollection.firstKey = clonedNode.key;\n if (lastNode != null && lastNode.type !== 'section' && lastNode.type !== 'separator' && lastNode.parentKey === clonedNode.parentKey) {\n lastNode.nextKey = clonedNode.key;\n clonedNode.prevKey = lastNode.key;\n } else clonedNode.prevKey = null;\n clonedNode.nextKey = null;\n newCollection.addNode(clonedNode);\n lastNode = clonedNode;\n }\n }\n }\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'separator' && lastNode.nextKey === null) {\n let lastSection;\n if (lastNode.prevKey != null) {\n lastSection = newCollection.getItem(lastNode.prevKey);\n lastSection.nextKey = null;\n }\n newCollection.removeNode(lastNode.key);\n lastNode = lastSection;\n }\n newCollection.lastKey = (lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) || null;\n return newCollection;\n }\n constructor(){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.frozen = false;\n this.itemCount = 0;\n }\n}\nfunction $23b9f4fcf0fe224b$var$shouldKeepNode(node, filterFn, oldCollection, newCollection) {\n if (node.type === 'subdialogtrigger' || node.type === 'submenutrigger') {\n // Subdialog wrapper should only have one child, if it passes the filter add it to the new collection since we don't need to\n // do any extra handling for its first/next key\n let triggerChild = [\n ...oldCollection.getChildren(node.key)\n ][0];\n if (triggerChild && filterFn(triggerChild.textValue)) {\n let clonedChild = triggerChild.clone();\n newCollection.addNode(clonedChild);\n return true;\n } else return false;\n } else if (node.type === 'header') return true;\n else return filterFn(node.textValue);\n}\n\n\nexport {$23b9f4fcf0fe224b$export$d68d59712b04d9d1 as CollectionNode, $23b9f4fcf0fe224b$export$408d25a4e12db025 as BaseCollection};\n//# sourceMappingURL=BaseCollection.module.js.map\n"],"names":["$23b9f4fcf0fe224b$export$d68d59712b04d9d1","node","type","key","$23b9f4fcf0fe224b$export$408d25a4e12db025","keyMap","parent","_node_key","_this_keyMap_get","Constructor","collection","firstKey","lastKey","isSSR","filterFn","newCollection","lastNode","clonedSection","lastChildInSection","child","$23b9f4fcf0fe224b$var$shouldKeepNode","clonedChild","clonedSeparator","clonedNode","lastSection","oldCollection","triggerChild"],"mappings":"AAUI,MAAMA,EAA0C;AAAA,EAChD,IAAI,aAAa;AACb,UAAM,IAAI,MAAM,6BAA6B;AAAA,EAChD;AAAA,EACD,QAAQ;AACJ,QAAIC,IAAO,IAAID,EAA0C,KAAK,MAAM,KAAK,GAAG;AAC5E,WAAAC,EAAK,QAAQ,KAAK,OAClBA,EAAK,QAAQ,KAAK,OAClBA,EAAK,gBAAgB,KAAK,eAC1BA,EAAK,WAAW,KAAK,UACrBA,EAAK,YAAY,KAAK,WACtBA,EAAK,YAAY,IAAI,KAAK,YAAY,GACtCA,EAAK,QAAQ,KAAK,OAClBA,EAAK,YAAY,KAAK,WACtBA,EAAK,UAAU,KAAK,SACpBA,EAAK,UAAU,KAAK,SACpBA,EAAK,gBAAgB,KAAK,eAC1BA,EAAK,eAAe,KAAK,cACzBA,EAAK,QAAQ,KAAK,OAClBA,EAAK,SAAS,KAAK,QACnBA,EAAK,UAAU,KAAK,SACpBA,EAAK,WAAW,KAAK,UACdA;AAAA,E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D,WAAAT,EAAc,WAAWC,KAAa,OAA8B,SAASA,EAAS,QAAQ,MACvFD;AAAA,EACV;AAAA,EACD,cAAa;AACT,SAAK,SAAS,oBAAI,OAClB,KAAK,WAAW,MAChB,KAAK,UAAU,MACf,KAAK,SAAS,IACd,KAAK,YAAY;AAAA,EACpB;AACL;AACA,SAASK,EAAqCnB,GAAMa,GAAUW,GAAeV,GAAe;AACxF,MAAId,EAAK,SAAS,sBAAsBA,EAAK,SAAS,kBAAkB;AAGpE,QAAIyB,IAAe;AAAA,MACf,GAAGD,EAAc,YAAYxB,EAAK,GAAG;AAAA,IACxC,EAAC,CAAC;AACH,QAAIyB,KAAgBZ,EAASY,EAAa,SAAS,GAAG;AAClD,UAAIL,IAAcK,EAAa;AAC/B,aAAAX,EAAc,QAAQM,CAAW,GAC1B;AAAA,IACV,MAAM,QAAO;AAAA,EACjB,MAAM,QAAIpB,EAAK,SAAS,WAAiB,KAC9Ba,EAASb,EAAK,SAAS;AACvC;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./BaseCollection.cjs.js"),b=require("./Document.cjs.js"),R=require("./useCachedChildren.cjs.js"),h=require("./Hidden.cjs.js"),p=require("react-dom"),$=require("../../interactions/dist/useFocusable.cjs.js"),t=require("react"),S=require("../../ssr/dist/SSRProvider.cjs.js"),P=require("@react-aria/utils"),w=require("../../../use-sync-external-store/shim/index.cjs.js"),m=t.createContext(!1),s=t.createContext(null);function y(n){if(t.useContext(s))return n.content;let{collection:l,document:r}=k(n.createCollection);return t.createElement(t.Fragment,null,t.createElement(h.Hidden,null,t.createElement(s.Provider,{value:r},n.content)),t.createElement(q,{render:n.children,collection:l}))}function q({collection:n,render:e}){return e(n)}function g(n,e,l){let r=S.useIsSSR(),o=t.useRef(r);o.current=r;let c=t.useCallback(()=>o.current?l():e(),[e,l]);return w.shimExports.useSyncExternalStore(n,c)}const D=typeof t.useSyncExternalStore=="function"?t.useSyncExternalStore:g;function k(n){let[e]=t.useState(()=>new b.Document((n==null?void 0:n())||new E.BaseCollection)),l=t.useCallback(a=>e.subscribe(a),[e]),r=t.useCallback(()=>{let a=e.getCollection();return e.isSSR&&e.resetAfterSSR(),a},[e]),o=t.useCallback(()=>(e.isSSR=!0,e.getCollection()),[e]),c=D(l,r,o);return P.useLayoutEffect(()=>(e.isMounted=!0,()=>{e.isMounted=!1}),[e]),{collection:c,document:e}}const d=t.createContext(null);function f(n,e,l,r,o,c){let a=t.useCallback(u=>{u==null||u.setProps(e,l,r,c)},[e,l,r,c]),i=t.useContext(d);if(i){let u=i.ownerDocument.nodesByProps.get(e);return u||(u=i.ownerDocument.createElement(n),u.setProps(e,l,r,c),i.appendChild(u),i.ownerDocument.updateCollection(),i.ownerDocument.nodesByProps.set(e,u)),o?t.createElement(d.Provider,{value:u},o):null}return t.createElement(n,{ref:a},o)}function B(n,e){let l=({node:o})=>e(o.props,o.props.ref,o),r=t.forwardRef((o,c)=>{let a=t.useContext($.FocusableContext);if(!t.useContext(m)){if(e.length>=3)throw new Error(e.name+" cannot be rendered outside a collection.");return e(o,c)}return f(n,o,c,"children"in o?o.children:null,null,u=>t.createElement($.FocusableContext.Provider,{value:a},t.createElement(l,{node:u})))});return r.displayName=e.name,r}function F(n,e,l=v){let r=({node:c})=>e(c.props,c.props.ref,c),o=t.forwardRef((c,a)=>{let i=l(c);var u;return(u=f(n,c,a,null,i,x=>t.createElement(r,{node:x})))!==null&&u!==void 0?u:t.createElement(t.Fragment,null)});return o.displayName=e.name,o}function v(n){return R.useCachedChildren({...n,addIdAndValue:!0})}const C=t.createContext(null);function M(n){let e=t.useContext(C),l=((e==null?void 0:e.dependencies)||[]).concat(n.dependencies),r=n.idScope||(e==null?void 0:e.idScope),o=v({...n,idScope:r,dependencies:l});return t.useContext(s)&&(o=t.createElement(N,null,o)),e=t.useMemo(()=>({dependencies:l,idScope:r}),[r,...l]),t.createElement(C.Provider,{value:e},o)}function N({children:n}){let e=t.useContext(s),l=t.useMemo(()=>t.createElement(s.Provider,{value:null},t.createElement(m.Provider,{value:!0},n)),[n]);return S.useIsSSR()?t.createElement(d.Provider,{value:e},l):p.createPortal(l,e)}exports.Collection=M;exports.CollectionBuilder=y;exports.createBranchComponent=F;exports.createLeafComponent=B;
2
- //# sourceMappingURL=CollectionBuilder.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollectionBuilder.cjs.js","sources":["../../../../../node_modules/@react-aria/collections/dist/CollectionBuilder.mjs"],"sourcesContent":["import {BaseCollection as $23b9f4fcf0fe224b$export$408d25a4e12db025} from \"./BaseCollection.mjs\";\nimport {Document as $681cc3c98f569e39$export$b34a105447964f9f} from \"./Document.mjs\";\nimport {useCachedChildren as $e948873055cbafe4$export$727c8fc270210f13} from \"./useCachedChildren.mjs\";\nimport {Hidden as $f39a9eba43920ace$export$8dc98ba7eadeaa56} from \"./Hidden.mjs\";\nimport {createPortal as $95feo$createPortal} from \"react-dom\";\nimport {FocusableContext as $95feo$FocusableContext} from \"@react-aria/interactions\";\nimport $95feo$react, {createContext as $95feo$createContext, useContext as $95feo$useContext, useRef as $95feo$useRef, useCallback as $95feo$useCallback, useState as $95feo$useState, forwardRef as $95feo$forwardRef, useMemo as $95feo$useMemo} from \"react\";\nimport {useIsSSR as $95feo$useIsSSR} from \"@react-aria/ssr\";\nimport {useLayoutEffect as $95feo$useLayoutEffect} from \"@react-aria/utils\";\nimport {useSyncExternalStore as $95feo$useSyncExternalStore} from \"use-sync-external-store/shim/index.js\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nconst $e1995378a142960e$var$ShallowRenderContext = /*#__PURE__*/ (0, $95feo$createContext)(false);\nconst $e1995378a142960e$var$CollectionDocumentContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$bf788dd355e3a401(props) {\n // If a document was provided above us, we're already in a hidden tree. Just render the content.\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) // The React types prior to 18 did not allow returning ReactNode from components\n // even though the actual implementation since React 16 did.\n // We must return ReactElement so that TS does not complain that <CollectionBuilder>\n // is not a valid JSX element with React 16 and 17 types.\n // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544\n return props.content;\n // Otherwise, render a hidden copy of the children so that we can build the collection before constructing the state.\n // This should always come before the real DOM content so we have built the collection by the time it renders during SSR.\n // This is fine. CollectionDocumentContext never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let { collection: collection, document: document } = $e1995378a142960e$var$useCollectionDocument(props.createCollection);\n return /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null, /*#__PURE__*/ (0, $95feo$react).createElement((0, $f39a9eba43920ace$export$8dc98ba7eadeaa56), null, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: document\n }, props.content)), /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionInner, {\n render: props.children,\n collection: collection\n }));\n}\nfunction $e1995378a142960e$var$CollectionInner({ collection: collection, render: render }) {\n return render(collection);\n}\n// React 16 and 17 don't support useSyncExternalStore natively, and the shim provided by React does not support getServerSnapshot.\n// This wrapper uses the shim, but additionally calls getServerSnapshot during SSR (according to SSRProvider).\nfunction $e1995378a142960e$var$useSyncExternalStoreFallback(subscribe, getSnapshot, getServerSnapshot) {\n let isSSR = (0, $95feo$useIsSSR)();\n let isSSRRef = (0, $95feo$useRef)(isSSR);\n // This is read immediately inside the wrapper, which also runs during render.\n // We just need a ref to avoid invalidating the callback itself, which\n // would cause React to re-run the callback more than necessary.\n // eslint-disable-next-line rulesdir/pure-render\n isSSRRef.current = isSSR;\n let getSnapshotWrapper = (0, $95feo$useCallback)(()=>{\n return isSSRRef.current ? getServerSnapshot() : getSnapshot();\n }, [\n getSnapshot,\n getServerSnapshot\n ]);\n return (0, $95feo$useSyncExternalStore)(subscribe, getSnapshotWrapper);\n}\nconst $e1995378a142960e$var$useSyncExternalStore = typeof (0, $95feo$react)['useSyncExternalStore'] === 'function' ? (0, $95feo$react)['useSyncExternalStore'] : $e1995378a142960e$var$useSyncExternalStoreFallback;\nfunction $e1995378a142960e$var$useCollectionDocument(createCollection) {\n // The document instance is mutable, and should never change between renders.\n // useSyncExternalStore is used to subscribe to updates, which vends immutable Collection objects.\n let [document] = (0, $95feo$useState)(()=>new (0, $681cc3c98f569e39$export$b34a105447964f9f)((createCollection === null || createCollection === void 0 ? void 0 : createCollection()) || new (0, $23b9f4fcf0fe224b$export$408d25a4e12db025)()));\n let subscribe = (0, $95feo$useCallback)((fn)=>document.subscribe(fn), [\n document\n ]);\n let getSnapshot = (0, $95feo$useCallback)(()=>{\n let collection = document.getCollection();\n if (document.isSSR) // After SSR is complete, reset the document to empty so it is ready for React to render the portal into.\n // We do this _after_ getting the collection above so that the collection still has content in it from SSR\n // during the current render, before React has finished the client render.\n document.resetAfterSSR();\n return collection;\n }, [\n document\n ]);\n let getServerSnapshot = (0, $95feo$useCallback)(()=>{\n document.isSSR = true;\n return document.getCollection();\n }, [\n document\n ]);\n let collection = $e1995378a142960e$var$useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n (0, $95feo$useLayoutEffect)(()=>{\n document.isMounted = true;\n return ()=>{\n // Mark unmounted so we can skip all of the collection updates caused by\n // React calling removeChild on every item in the collection.\n document.isMounted = false;\n };\n }, [\n document\n ]);\n return {\n collection: collection,\n document: document\n };\n}\nconst $e1995378a142960e$var$SSRContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$var$useSSRCollectionNode(Type, props, ref, rendered, children, render) {\n // During SSR, portals are not supported, so the collection children will be wrapped in an SSRContext.\n // Since SSR occurs only once, we assume that the elements are rendered in order and never re-render.\n // Therefore we can create elements in our collection document during render so that they are in the\n // collection by the time we need to use the collection to render to the real DOM.\n // After hydration, we switch to client rendering using the portal.\n let itemRef = (0, $95feo$useCallback)((element)=>{\n element === null || element === void 0 ? void 0 : element.setProps(props, ref, rendered, render);\n }, [\n props,\n ref,\n rendered,\n render\n ]);\n let parentNode = (0, $95feo$useContext)($e1995378a142960e$var$SSRContext);\n if (parentNode) {\n // Guard against double rendering in strict mode.\n let element = parentNode.ownerDocument.nodesByProps.get(props);\n if (!element) {\n element = parentNode.ownerDocument.createElement(Type);\n element.setProps(props, ref, rendered, render);\n parentNode.appendChild(element);\n parentNode.ownerDocument.updateCollection();\n parentNode.ownerDocument.nodesByProps.set(props, element);\n }\n return children ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: element\n }, children) : null;\n }\n // @ts-ignore\n return /*#__PURE__*/ (0, $95feo$react).createElement(Type, {\n ref: itemRef\n }, children);\n}\nfunction $e1995378a142960e$export$18af5c7a9e9b3664(type, render) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let focusableProps = (0, $95feo$useContext)((0, $95feo$FocusableContext));\n let isShallow = (0, $95feo$useContext)($e1995378a142960e$var$ShallowRenderContext);\n if (!isShallow) {\n if (render.length >= 3) throw new Error(render.name + ' cannot be rendered outside a collection.');\n return render(props, ref);\n }\n return $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, 'children' in props ? props.children : null, null, (node)=>// Forward FocusableContext to real DOM tree so tooltips work.\n /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$FocusableContext).Provider, {\n value: focusableProps\n }, /*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n })));\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$export$e953bb1cd0f19726(type, render, useChildren = $e1995378a142960e$var$useCollectionChildren) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let children = useChildren(props);\n var _useSSRCollectionNode;\n return (_useSSRCollectionNode = $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, null, children, (node)=>/*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n }))) !== null && _useSSRCollectionNode !== void 0 ? _useSSRCollectionNode : /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null);\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$var$useCollectionChildren(options) {\n return (0, $e948873055cbafe4$export$727c8fc270210f13)({\n ...options,\n addIdAndValue: true\n });\n}\nconst $e1995378a142960e$var$CollectionContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$fb8073518f34e6ec(props) {\n let ctx = (0, $95feo$useContext)($e1995378a142960e$var$CollectionContext);\n let dependencies = ((ctx === null || ctx === void 0 ? void 0 : ctx.dependencies) || []).concat(props.dependencies);\n let idScope = props.idScope || (ctx === null || ctx === void 0 ? void 0 : ctx.idScope);\n let children = $e1995378a142960e$var$useCollectionChildren({\n ...props,\n idScope: idScope,\n dependencies: dependencies\n });\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) children = /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionRoot, null, children);\n // Propagate dependencies and idScope to child collections.\n ctx = (0, $95feo$useMemo)(()=>({\n dependencies: dependencies,\n idScope: idScope\n }), [\n idScope,\n ...dependencies\n ]);\n return /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $e1995378a142960e$var$CollectionRoot({ children: children }) {\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n let wrappedChildren = (0, $95feo$useMemo)(()=>/*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: null\n }, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$ShallowRenderContext.Provider, {\n value: true\n }, children)), [\n children\n ]);\n // During SSR, we render the content directly, and append nodes to the document during render.\n // The collection children return null so that nothing is actually rendered into the HTML.\n return (0, $95feo$useIsSSR)() ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: doc\n }, wrappedChildren) : /*#__PURE__*/ (0, $95feo$createPortal)(wrappedChildren, doc);\n}\n\n\nexport {$e1995378a142960e$export$bf788dd355e3a401 as CollectionBuilder, $e1995378a142960e$export$18af5c7a9e9b3664 as createLeafComponent, $e1995378a142960e$export$e953bb1cd0f19726 as createBranchComponent, $e1995378a142960e$export$fb8073518f34e6ec as Collection};\n//# sourceMappingURL=CollectionBuilder.module.js.map\n"],"names":["$e1995378a142960e$var$ShallowRenderContext","$95feo$createContext","$e1995378a142960e$var$CollectionDocumentContext","$e1995378a142960e$export$bf788dd355e3a401","props","$95feo$useContext","collection","document","$e1995378a142960e$var$useCollectionDocument","$95feo$react","$f39a9eba43920ace$export$8dc98ba7eadeaa56","$e1995378a142960e$var$CollectionInner","render","$e1995378a142960e$var$useSyncExternalStoreFallback","subscribe","getSnapshot","getServerSnapshot","isSSR","$95feo$useIsSSR","isSSRRef","$95feo$useRef","getSnapshotWrapper","$95feo$useCallback","$95feo$useSyncExternalStore","$e1995378a142960e$var$useSyncExternalStore","createCollection","$95feo$useState","$681cc3c98f569e39$export$b34a105447964f9f","$23b9f4fcf0fe224b$export$408d25a4e12db025","fn","$95feo$useLayoutEffect","$e1995378a142960e$var$SSRContext","$e1995378a142960e$var$useSSRCollectionNode","Type","ref","rendered","children","itemRef","element","parentNode","$e1995378a142960e$export$18af5c7a9e9b3664","type","Component","node","Result","$95feo$forwardRef","focusableProps","$95feo$FocusableContext","$e1995378a142960e$export$e953bb1cd0f19726","useChildren","$e1995378a142960e$var$useCollectionChildren","_useSSRCollectionNode","options","$e948873055cbafe4$export$727c8fc270210f13","$e1995378a142960e$var$CollectionContext","$e1995378a142960e$export$fb8073518f34e6ec","ctx","dependencies","idScope","$e1995378a142960e$var$CollectionRoot","$95feo$useMemo","doc","wrappedChildren","$95feo$createPortal"],"mappings":"gdA+BMA,EAA+DC,gBAAsB,EAAK,EAC1FC,EAAoED,gBAAsB,IAAI,EACpG,SAASE,EAA0CC,EAAO,CAGtD,GADcC,aAAmBH,CAA+C,EAMhF,OAAOE,EAAM,QAKb,GAAI,CAAE,WAAYE,EAAY,SAAUC,CAAQ,EAAKC,EAA4CJ,EAAM,gBAAgB,EACvH,OAAyBK,EAAc,cAAkBA,EAAc,SAAU,KAAwBA,EAAc,cAAkBC,EAAAA,OAA4C,KAAwBD,EAAc,cAAcP,EAAgD,SAAU,CAC/R,MAAOK,CACf,EAAOH,EAAM,OAAO,CAAC,EAAqBK,EAAc,cAAcE,EAAuC,CACrG,OAAQP,EAAM,SACd,WAAYE,CACf,CAAA,CAAC,CACN,CACA,SAASK,EAAsC,CAAE,WAAYL,EAAY,OAAQM,CAAM,EAAI,CACvF,OAAOA,EAAON,CAAU,CAC5B,CAGA,SAASO,EAAmDC,EAAWC,EAAaC,EAAmB,CACnG,IAAIC,EAAYC,EAAAA,WACZC,EAAeC,SAAeH,CAAK,EAKvCE,EAAS,QAAUF,EACnB,IAAII,EAAyBC,EAAAA,YAAoB,IACtCH,EAAS,QAAUH,EAAmB,EAAGD,EAAW,EAC5D,CACCA,EACAC,CACR,CAAK,EACD,OAAWO,EAA2B,YAAA,qBAAET,EAAWO,CAAkB,CACzE,CACA,MAAMG,EAA6C,OAAWf,EAAc,sBAA4B,WAAiBA,EAAc,qBAA0BI,EACjK,SAASL,EAA4CiB,EAAkB,CAGn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,IAAI,CACtK,CAAK,EAED,OAAAmC,EAAO,YAAchC,EAAO,KACrBgC,CACX,CACA,SAASM,EAA4CE,EAAS,CAC1D,OAAWC,EAAAA,kBAA2C,CAClD,GAAGD,EACH,cAAe,EACvB,CAAK,CACL,CACA,MAAME,EAA4DrD,gBAAsB,IAAI,EAC5F,SAASsD,EAA0CnD,EAAO,CACtD,IAAIoD,EAAUnD,aAAmBiD,CAAuC,EACpEG,IAAiBD,GAAQ,KAAyB,OAASA,EAAI,eAAiB,CAAA,GAAI,OAAOpD,EAAM,YAAY,EAC7GsD,EAAUtD,EAAM,UAAYoD,GAAQ,KAAyB,OAASA,EAAI,SAC1EpB,EAAWc,EAA4C,CACvD,GAAG9C,EACH,QAASsD,EACT,aAAcD,CACtB,CAAK,EAED,OADcpD,aAAmBH,CAA+C,IACvEkC,EAA6B3B,EAAc,cAAckD,EAAsC,KAAMvB,CAAQ,GAEtHoB,EAAUI,EAAAA,QAAgB,KAAK,CACvB,aAAcH,EACd,QAASC,CACrB,GAAY,CACJA,EACA,GAAGD,CACX,CAAK,EACwBhD,EAAc,cAAc6C,EAAwC,SAAU,CACnG,MAAOE,CACV,EAAEpB,CAAQ,CACf,CACA,SAASuB,EAAqC,CAAE,SAAUvB,GAAY,CAClE,IAAIyB,EAAUxD,aAAmBH,CAA+C,EAC5E4D,EAAsBF,UAAgB,IAAsBnD,EAAc,cAAcP,EAAgD,SAAU,CAC9I,MAAO,IACV,EAAoBO,EAAc,cAAcT,EAA2C,SAAU,CAClG,MAAO,EACnB,EAAWoC,CAAQ,CAAC,EAAG,CACfA,CACR,CAAK,EAGD,OAAWlB,EAAe,SAAA,EAAwBT,EAAc,cAAcsB,EAAiC,SAAU,CACrH,MAAO8B,CACV,EAAEC,CAAe,EAAsBC,EAAmB,aAAED,EAAiBD,CAAG,CACrF","x_google_ignoreList":[0]}
@@ -1,145 +0,0 @@
1
- import { BaseCollection as w } from "./BaseCollection.es.js";
2
- import { Document as P } from "./Document.es.js";
3
- import { useCachedChildren as y } from "./useCachedChildren.es.js";
4
- import { Hidden as g } from "./Hidden.es.js";
5
- import { createPortal as D } from "react-dom";
6
- import { FocusableContext as S } from "../../interactions/dist/useFocusable.es.js";
7
- import r, { useContext as d, useState as B, useCallback as s, forwardRef as p, useMemo as C, createContext as f, useRef as N } from "react";
8
- import { useIsSSR as b } from "../../ssr/dist/SSRProvider.es.js";
9
- import { useLayoutEffect as F } from "@react-aria/utils";
10
- import { s as I } from "../../../use-sync-external-store/shim/index.es.js";
11
- const x = /* @__PURE__ */ f(!1), $ = /* @__PURE__ */ f(null);
12
- function Q(t) {
13
- if (d($))
14
- return t.content;
15
- let { collection: o, document: l } = L(t.createCollection);
16
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(g, null, /* @__PURE__ */ r.createElement($.Provider, {
17
- value: l
18
- }, t.content)), /* @__PURE__ */ r.createElement(M, {
19
- render: t.children,
20
- collection: o
21
- }));
22
- }
23
- function M({ collection: t, render: e }) {
24
- return e(t);
25
- }
26
- function k(t, e, o) {
27
- let l = b(), n = N(l);
28
- n.current = l;
29
- let c = s(() => n.current ? o() : e(), [
30
- e,
31
- o
32
- ]);
33
- return I.useSyncExternalStore(t, c);
34
- }
35
- const A = typeof r.useSyncExternalStore == "function" ? r.useSyncExternalStore : k;
36
- function L(t) {
37
- let [e] = B(() => new P((t == null ? void 0 : t()) || new w())), o = s((u) => e.subscribe(u), [
38
- e
39
- ]), l = s(() => {
40
- let u = e.getCollection();
41
- return e.isSSR && e.resetAfterSSR(), u;
42
- }, [
43
- e
44
- ]), n = s(() => (e.isSSR = !0, e.getCollection()), [
45
- e
46
- ]), c = A(o, l, n);
47
- return F(() => (e.isMounted = !0, () => {
48
- e.isMounted = !1;
49
- }), [
50
- e
51
- ]), {
52
- collection: c,
53
- document: e
54
- };
55
- }
56
- const m = /* @__PURE__ */ f(null);
57
- function E(t, e, o, l, n, c) {
58
- let u = s((a) => {
59
- a == null || a.setProps(e, o, l, c);
60
- }, [
61
- e,
62
- o,
63
- l,
64
- c
65
- ]), i = d(m);
66
- if (i) {
67
- let a = i.ownerDocument.nodesByProps.get(e);
68
- return a || (a = i.ownerDocument.createElement(t), a.setProps(e, o, l, c), i.appendChild(a), i.ownerDocument.updateCollection(), i.ownerDocument.nodesByProps.set(e, a)), n ? /* @__PURE__ */ r.createElement(m.Provider, {
69
- value: a
70
- }, n) : null;
71
- }
72
- return /* @__PURE__ */ r.createElement(t, {
73
- ref: u
74
- }, n);
75
- }
76
- function U(t, e) {
77
- let o = ({ node: n }) => e(n.props, n.props.ref, n), l = p((n, c) => {
78
- let u = d(S);
79
- if (!d(x)) {
80
- if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
81
- return e(n, c);
82
- }
83
- return E(t, n, c, "children" in n ? n.children : null, null, (a) => (
84
- // Forward FocusableContext to real DOM tree so tooltips work.
85
- /* @__PURE__ */ r.createElement(S.Provider, {
86
- value: u
87
- }, /* @__PURE__ */ r.createElement(o, {
88
- node: a
89
- }))
90
- ));
91
- });
92
- return l.displayName = e.name, l;
93
- }
94
- function X(t, e, o = R) {
95
- let l = ({ node: c }) => e(c.props, c.props.ref, c), n = p((c, u) => {
96
- let i = o(c);
97
- var a;
98
- return (a = E(t, c, u, null, i, (h) => /* @__PURE__ */ r.createElement(l, {
99
- node: h
100
- }))) !== null && a !== void 0 ? a : /* @__PURE__ */ r.createElement(r.Fragment, null);
101
- });
102
- return n.displayName = e.name, n;
103
- }
104
- function R(t) {
105
- return y({
106
- ...t,
107
- addIdAndValue: !0
108
- });
109
- }
110
- const v = /* @__PURE__ */ f(null);
111
- function Y(t) {
112
- let e = d(v), o = ((e == null ? void 0 : e.dependencies) || []).concat(t.dependencies), l = t.idScope || (e == null ? void 0 : e.idScope), n = R({
113
- ...t,
114
- idScope: l,
115
- dependencies: o
116
- });
117
- return d($) && (n = /* @__PURE__ */ r.createElement(H, null, n)), e = C(() => ({
118
- dependencies: o,
119
- idScope: l
120
- }), [
121
- l,
122
- ...o
123
- ]), /* @__PURE__ */ r.createElement(v.Provider, {
124
- value: e
125
- }, n);
126
- }
127
- function H({ children: t }) {
128
- let e = d($), o = C(() => /* @__PURE__ */ r.createElement($.Provider, {
129
- value: null
130
- }, /* @__PURE__ */ r.createElement(x.Provider, {
131
- value: !0
132
- }, t)), [
133
- t
134
- ]);
135
- return b() ? /* @__PURE__ */ r.createElement(m.Provider, {
136
- value: e
137
- }, o) : /* @__PURE__ */ D(o, e);
138
- }
139
- export {
140
- Y as Collection,
141
- Q as CollectionBuilder,
142
- X as createBranchComponent,
143
- U as createLeafComponent
144
- };
145
- //# sourceMappingURL=CollectionBuilder.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollectionBuilder.es.js","sources":["../../../../../node_modules/@react-aria/collections/dist/CollectionBuilder.mjs"],"sourcesContent":["import {BaseCollection as $23b9f4fcf0fe224b$export$408d25a4e12db025} from \"./BaseCollection.mjs\";\nimport {Document as $681cc3c98f569e39$export$b34a105447964f9f} from \"./Document.mjs\";\nimport {useCachedChildren as $e948873055cbafe4$export$727c8fc270210f13} from \"./useCachedChildren.mjs\";\nimport {Hidden as $f39a9eba43920ace$export$8dc98ba7eadeaa56} from \"./Hidden.mjs\";\nimport {createPortal as $95feo$createPortal} from \"react-dom\";\nimport {FocusableContext as $95feo$FocusableContext} from \"@react-aria/interactions\";\nimport $95feo$react, {createContext as $95feo$createContext, useContext as $95feo$useContext, useRef as $95feo$useRef, useCallback as $95feo$useCallback, useState as $95feo$useState, forwardRef as $95feo$forwardRef, useMemo as $95feo$useMemo} from \"react\";\nimport {useIsSSR as $95feo$useIsSSR} from \"@react-aria/ssr\";\nimport {useLayoutEffect as $95feo$useLayoutEffect} from \"@react-aria/utils\";\nimport {useSyncExternalStore as $95feo$useSyncExternalStore} from \"use-sync-external-store/shim/index.js\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nconst $e1995378a142960e$var$ShallowRenderContext = /*#__PURE__*/ (0, $95feo$createContext)(false);\nconst $e1995378a142960e$var$CollectionDocumentContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$bf788dd355e3a401(props) {\n // If a document was provided above us, we're already in a hidden tree. Just render the content.\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) // The React types prior to 18 did not allow returning ReactNode from components\n // even though the actual implementation since React 16 did.\n // We must return ReactElement so that TS does not complain that <CollectionBuilder>\n // is not a valid JSX element with React 16 and 17 types.\n // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544\n return props.content;\n // Otherwise, render a hidden copy of the children so that we can build the collection before constructing the state.\n // This should always come before the real DOM content so we have built the collection by the time it renders during SSR.\n // This is fine. CollectionDocumentContext never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let { collection: collection, document: document } = $e1995378a142960e$var$useCollectionDocument(props.createCollection);\n return /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null, /*#__PURE__*/ (0, $95feo$react).createElement((0, $f39a9eba43920ace$export$8dc98ba7eadeaa56), null, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: document\n }, props.content)), /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionInner, {\n render: props.children,\n collection: collection\n }));\n}\nfunction $e1995378a142960e$var$CollectionInner({ collection: collection, render: render }) {\n return render(collection);\n}\n// React 16 and 17 don't support useSyncExternalStore natively, and the shim provided by React does not support getServerSnapshot.\n// This wrapper uses the shim, but additionally calls getServerSnapshot during SSR (according to SSRProvider).\nfunction $e1995378a142960e$var$useSyncExternalStoreFallback(subscribe, getSnapshot, getServerSnapshot) {\n let isSSR = (0, $95feo$useIsSSR)();\n let isSSRRef = (0, $95feo$useRef)(isSSR);\n // This is read immediately inside the wrapper, which also runs during render.\n // We just need a ref to avoid invalidating the callback itself, which\n // would cause React to re-run the callback more than necessary.\n // eslint-disable-next-line rulesdir/pure-render\n isSSRRef.current = isSSR;\n let getSnapshotWrapper = (0, $95feo$useCallback)(()=>{\n return isSSRRef.current ? getServerSnapshot() : getSnapshot();\n }, [\n getSnapshot,\n getServerSnapshot\n ]);\n return (0, $95feo$useSyncExternalStore)(subscribe, getSnapshotWrapper);\n}\nconst $e1995378a142960e$var$useSyncExternalStore = typeof (0, $95feo$react)['useSyncExternalStore'] === 'function' ? (0, $95feo$react)['useSyncExternalStore'] : $e1995378a142960e$var$useSyncExternalStoreFallback;\nfunction $e1995378a142960e$var$useCollectionDocument(createCollection) {\n // The document instance is mutable, and should never change between renders.\n // useSyncExternalStore is used to subscribe to updates, which vends immutable Collection objects.\n let [document] = (0, $95feo$useState)(()=>new (0, $681cc3c98f569e39$export$b34a105447964f9f)((createCollection === null || createCollection === void 0 ? void 0 : createCollection()) || new (0, $23b9f4fcf0fe224b$export$408d25a4e12db025)()));\n let subscribe = (0, $95feo$useCallback)((fn)=>document.subscribe(fn), [\n document\n ]);\n let getSnapshot = (0, $95feo$useCallback)(()=>{\n let collection = document.getCollection();\n if (document.isSSR) // After SSR is complete, reset the document to empty so it is ready for React to render the portal into.\n // We do this _after_ getting the collection above so that the collection still has content in it from SSR\n // during the current render, before React has finished the client render.\n document.resetAfterSSR();\n return collection;\n }, [\n document\n ]);\n let getServerSnapshot = (0, $95feo$useCallback)(()=>{\n document.isSSR = true;\n return document.getCollection();\n }, [\n document\n ]);\n let collection = $e1995378a142960e$var$useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n (0, $95feo$useLayoutEffect)(()=>{\n document.isMounted = true;\n return ()=>{\n // Mark unmounted so we can skip all of the collection updates caused by\n // React calling removeChild on every item in the collection.\n document.isMounted = false;\n };\n }, [\n document\n ]);\n return {\n collection: collection,\n document: document\n };\n}\nconst $e1995378a142960e$var$SSRContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$var$useSSRCollectionNode(Type, props, ref, rendered, children, render) {\n // During SSR, portals are not supported, so the collection children will be wrapped in an SSRContext.\n // Since SSR occurs only once, we assume that the elements are rendered in order and never re-render.\n // Therefore we can create elements in our collection document during render so that they are in the\n // collection by the time we need to use the collection to render to the real DOM.\n // After hydration, we switch to client rendering using the portal.\n let itemRef = (0, $95feo$useCallback)((element)=>{\n element === null || element === void 0 ? void 0 : element.setProps(props, ref, rendered, render);\n }, [\n props,\n ref,\n rendered,\n render\n ]);\n let parentNode = (0, $95feo$useContext)($e1995378a142960e$var$SSRContext);\n if (parentNode) {\n // Guard against double rendering in strict mode.\n let element = parentNode.ownerDocument.nodesByProps.get(props);\n if (!element) {\n element = parentNode.ownerDocument.createElement(Type);\n element.setProps(props, ref, rendered, render);\n parentNode.appendChild(element);\n parentNode.ownerDocument.updateCollection();\n parentNode.ownerDocument.nodesByProps.set(props, element);\n }\n return children ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: element\n }, children) : null;\n }\n // @ts-ignore\n return /*#__PURE__*/ (0, $95feo$react).createElement(Type, {\n ref: itemRef\n }, children);\n}\nfunction $e1995378a142960e$export$18af5c7a9e9b3664(type, render) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let focusableProps = (0, $95feo$useContext)((0, $95feo$FocusableContext));\n let isShallow = (0, $95feo$useContext)($e1995378a142960e$var$ShallowRenderContext);\n if (!isShallow) {\n if (render.length >= 3) throw new Error(render.name + ' cannot be rendered outside a collection.');\n return render(props, ref);\n }\n return $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, 'children' in props ? props.children : null, null, (node)=>// Forward FocusableContext to real DOM tree so tooltips work.\n /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$FocusableContext).Provider, {\n value: focusableProps\n }, /*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n })));\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$export$e953bb1cd0f19726(type, render, useChildren = $e1995378a142960e$var$useCollectionChildren) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let children = useChildren(props);\n var _useSSRCollectionNode;\n return (_useSSRCollectionNode = $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, null, children, (node)=>/*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n }))) !== null && _useSSRCollectionNode !== void 0 ? _useSSRCollectionNode : /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null);\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$var$useCollectionChildren(options) {\n return (0, $e948873055cbafe4$export$727c8fc270210f13)({\n ...options,\n addIdAndValue: true\n });\n}\nconst $e1995378a142960e$var$CollectionContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$fb8073518f34e6ec(props) {\n let ctx = (0, $95feo$useContext)($e1995378a142960e$var$CollectionContext);\n let dependencies = ((ctx === null || ctx === void 0 ? void 0 : ctx.dependencies) || []).concat(props.dependencies);\n let idScope = props.idScope || (ctx === null || ctx === void 0 ? void 0 : ctx.idScope);\n let children = $e1995378a142960e$var$useCollectionChildren({\n ...props,\n idScope: idScope,\n dependencies: dependencies\n });\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) children = /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionRoot, null, children);\n // Propagate dependencies and idScope to child collections.\n ctx = (0, $95feo$useMemo)(()=>({\n dependencies: dependencies,\n idScope: idScope\n }), [\n idScope,\n ...dependencies\n ]);\n return /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $e1995378a142960e$var$CollectionRoot({ children: children }) {\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n let wrappedChildren = (0, $95feo$useMemo)(()=>/*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: null\n }, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$ShallowRenderContext.Provider, {\n value: true\n }, children)), [\n children\n ]);\n // During SSR, we render the content directly, and append nodes to the document during render.\n // The collection children return null so that nothing is actually rendered into the HTML.\n return (0, $95feo$useIsSSR)() ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: doc\n }, wrappedChildren) : /*#__PURE__*/ (0, $95feo$createPortal)(wrappedChildren, doc);\n}\n\n\nexport {$e1995378a142960e$export$bf788dd355e3a401 as CollectionBuilder, $e1995378a142960e$export$18af5c7a9e9b3664 as createLeafComponent, $e1995378a142960e$export$e953bb1cd0f19726 as createBranchComponent, $e1995378a142960e$export$fb8073518f34e6ec as Collection};\n//# sourceMappingURL=CollectionBuilder.module.js.map\n"],"names":["$e1995378a142960e$var$ShallowRenderContext","$95feo$createContext","$e1995378a142960e$var$CollectionDocumentContext","$e1995378a142960e$export$bf788dd355e3a401","props","$95feo$useContext","collection","document","$e1995378a142960e$var$useCollectionDocument","$95feo$react","$f39a9eba43920ace$export$8dc98ba7eadeaa56","$e1995378a142960e$var$CollectionInner","render","$e1995378a142960e$var$useSyncExternalStoreFallback","subscribe","getSnapshot","getServerSnapshot","isSSR","$95feo$useIsSSR","isSSRRef","$95feo$useRef","getSnapshotWrapper","$95feo$useCallback","$95feo$useSyncExternalStore","$e1995378a142960e$var$useSyncExternalStore","createCollection","$95feo$useState","$681cc3c98f569e39$export$b34a105447964f9f","$23b9f4fcf0fe224b$export$408d25a4e12db025","fn","$95feo$useLayoutEffect","$e1995378a142960e$var$SSRContext","$e1995378a142960e$var$useSSRCollectionNode","Type","ref","rendered","children","itemRef","element","parentNode","$e1995378a142960e$export$18af5c7a9e9b3664","type","Component","node","Result","$95feo$forwardRef","focusableProps","$95feo$FocusableContext","$e1995378a142960e$export$e953bb1cd0f19726","useChildren","$e1995378a142960e$var$useCollectionChildren","_useSSRCollectionNode","options","$e948873055cbafe4$export$727c8fc270210f13","$e1995378a142960e$var$CollectionContext","$e1995378a142960e$export$fb8073518f34e6ec","ctx","dependencies","idScope","$e1995378a142960e$var$CollectionRoot","$95feo$useMemo","doc","wrappedChildren","$95feo$createPortal"],"mappings":";;;;;;;;;;AA+BA,MAAMA,IAA+DC,gBAAAA,EAAsB,EAAK,GAC1FC,IAAoED,gBAAAA,EAAsB,IAAI;AACpG,SAASE,EAA0CC,GAAO;AAGtD,MADcC,EAAmBH,CAA+C;AAMhF,WAAOE,EAAM;AAKb,MAAI,EAAE,YAAYE,GAAY,UAAUC,EAAQ,IAAKC,EAA4CJ,EAAM,gBAAgB;AACvH,SAAyBK,gBAAAA,EAAc,cAAkBA,EAAc,UAAU,MAAwBA,gBAAAA,EAAc,cAAkBC,GAA4C,MAAwBD,gBAAAA,EAAc,cAAcP,EAAgD,UAAU;AAAA,IAC/R,OAAOK;AAAA,EACf,GAAOH,EAAM,OAAO,CAAC,GAAqBK,gBAAAA,EAAc,cAAcE,GAAuC;AAAA,IACrG,QAAQP,EAAM;AAAA,IACd,YAAYE;AAAA,EACf,CAAA,CAAC;AACN;AACA,SAASK,EAAsC,EAAE,YAAYL,GAAY,QAAQM,EAAM,GAAI;AACvF,SAAOA,EAAON,CAAU;AAC5B;AAGA,SAASO,EAAmDC,GAAWC,GAAaC,GAAmB;AACnG,MAAIC,IAAYC,KACZC,IAAeC,EAAeH,CAAK;AAKvC,E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,IACA,GAAGD;AAAA,EACX,CAAK,GACwBhD,gBAAAA,EAAc,cAAc6C,EAAwC,UAAU;AAAA,IACnG,OAAOE;AAAA,EACV,GAAEpB,CAAQ;AACf;AACA,SAASuB,EAAqC,EAAE,UAAUvB,KAAY;AAClE,MAAIyB,IAAUxD,EAAmBH,CAA+C,GAC5E4D,IAAsBF,EAAgB,MAAsBnD,gBAAAA,EAAc,cAAcP,EAAgD,UAAU;AAAA,IAC9I,OAAO;AAAA,EACV,GAAoBO,gBAAAA,EAAc,cAAcT,EAA2C,UAAU;AAAA,IAClG,OAAO;AAAA,EACnB,GAAWoC,CAAQ,CAAC,GAAG;AAAA,IACfA;AAAA,EACR,CAAK;AAGD,SAAWlB,EAAe,IAAwBT,gBAAAA,EAAc,cAAcsB,EAAiC,UAAU;AAAA,IACrH,OAAO8B;AAAA,EACV,GAAEC,CAAe,IAAsBC,gBAAAA,EAAqBD,GAAiBD,CAAG;AACrF;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./BaseCollection.cjs.js");class v{*[Symbol.iterator](){let i=this.firstChild;for(;i;)yield i,i=i.nextSibling}get firstChild(){return this._firstChild}set firstChild(i){this._firstChild=i,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(i){this._lastChild=i,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(i){this._previousSibling=i,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(i){this._nextSibling=i,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(i){this._parentNode=i,this.ownerDocument.markDirty(this)}get isConnected(){var i;return((i=this.parentNode)===null||i===void 0?void 0:i.isConnected)||!1}invalidateChildIndices(i){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||i.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=i,this.ownerDocument.markDirty(this))}updateChildIndices(){let i=this._minInvalidChildIndex;for(;i;)i.index=i.previousSibling?i.previousSibling.index+1:0,i=i.nextSibling;this._minInvalidChildIndex=null}appendChild(i){i.parentNode&&i.parentNode.removeChild(i),this.firstChild==null&&(this.firstChild=i),this.lastChild?(this.lastChild.nextSibling=i,i.index=this.lastChild.index+1,i.previousSibling=this.lastChild):(i.previousSibling=null,i.index=0),i.parentNode=this,i.nextSibling=null,this.lastChild=i,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(i,t){if(t==null)return this.appendChild(i);i.parentNode&&i.parentNode.removeChild(i),i.nextSibling=t,i.previousSibling=t.previousSibling,i.index=t.index-1,this.firstChild===t?this.firstChild=i:t.previousSibling&&(t.previousSibling.nextSibling=i),t.previousSibling=i,i.parentNode=t.parentNode,this.invalidateChildIndices(i),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(i){i.parentNode!==this||!this.ownerDocument.isMounted||(this._minInvalidChildIndex===i&&(this._minInvalidChildIndex=null),i.nextSibling&&(this.invalidateChildIndices(i.nextSibling),i.nextSibling.previousSibling=i.previousSibling),i.previousSibling&&(i.previousSibling.nextSibling=i.nextSibling),this.firstChild===i&&(this.firstChild=i.nextSibling),this.lastChild===i&&(this.lastChild=i.previousSibling),i.parentNode=null,i.nextSibling=null,i.previousSibling=null,i.index=0,this.ownerDocument.markDirty(i),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let i=this.previousSibling;for(;i&&i.isHidden;)i=i.previousSibling;return i}get nextVisibleSibling(){let i=this.nextSibling;for(;i&&i.isHidden;)i=i.nextSibling;return i}get firstVisibleChild(){let i=this.firstChild;for(;i&&i.isHidden;)i=i.nextSibling;return i}get lastVisibleChild(){let i=this.lastChild;for(;i&&i.isHidden;)i=i.previousSibling;return i}constructor(i){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=i}}class h extends v{get index(){return this._index}set index(i){this._index=i,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof h?this.parentNode.level+(this.node.type==="item"?1:0):0}getMutableNode(){return this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node}updateNode(){var i,t,n;let s=this.nextVisibleSibling,e=this.getMutableNode();e.index=this.index,e.level=this.level,e.parentKey=this.parentNode instanceof h?this.parentNode.node.key:null;var o;e.prevKey=(o=(i=this.previousVisibleSibling)===null||i===void 0?void 0:i.node.key)!==null&&o!==void 0?o:null;var r;e.nextKey=(r=s==null?void 0:s.node.key)!==null&&r!==void 0?r:null,e.hasChildNodes=!!this.firstChild;var d;e.firstChildKey=(d=(t=this.firstVisibleChild)===null||t===void 0?void 0:t.node.key)!==null&&d!==void 0?d:null;var l;if(e.lastChildKey=(l=(n=this.lastVisibleChild)===null||n===void 0?void 0:n.node.key)!==null&&l!==void 0?l:null,(e.colSpan!=null||e.colIndex!=null)&&s){var u,a;let p=((u=e.colIndex)!==null&&u!==void 0?u:e.index)+((a=e.colSpan)!==null&&a!==void 0?a:1);if(p!==s.node.colIndex){let C=s.getMutableNode();C.colIndex=p}}}setProps(i,t,n,s){let e=this.getMutableNode(),{value:o,textValue:r,id:d,...l}=i;if(l.ref=t,e.props=l,e.rendered=n,e.render=s,e.value=o,e.textValue=r||(typeof l.children=="string"?l.children:"")||i["aria-label"]||"",d!=null&&d!==e.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");e.key=d}l.colSpan!=null&&(e.colSpan=l.colSpan),this.hasSetProps=!0,this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let i=this;return{get display(){return i.isHidden?"none":""},set display(t){let n=t==="none";if(i.isHidden!==n){var s,e;(((s=i.parentNode)===null||s===void 0?void 0:s.firstVisibleChild)===i||((e=i.parentNode)===null||e===void 0?void 0:e.lastVisibleChild)===i)&&i.ownerDocument.markDirty(i.parentNode);let o=i.previousVisibleSibling,r=i.nextVisibleSibling;o&&i.ownerDocument.markDirty(o),r&&i.ownerDocument.markDirty(r),i.isHidden=n,i.ownerDocument.markDirty(i)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(i,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.hasSetProps=!1,this.isHidden=!1,this.node=new g.CollectionNode(i,`react-aria-${++t.nodeId}`)}}class S extends v{get isConnected(){return this.isMounted}createElement(i){return new h(i,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(i){this.dirtyNodes.add(i)}addNode(i){if(i.isHidden)return;let t=this.getMutableCollection();if(!t.getItem(i.node.key))for(let n of i)this.addNode(n);t.addNode(i.node)}removeNode(i){for(let n of i)this.removeNode(n);this.getMutableCollection().removeNode(i.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let e of this.dirtyNodes)e instanceof h&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof h&&(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.isMutated=!1);if(this.dirtyNodes.clear(),this.nextCollection){var i,t,n,s;this.nextCollection.commit((n=(i=this.firstVisibleChild)===null||i===void 0?void 0:i.node.key)!==null&&n!==void 0?n:null,(s=(t=this.lastVisibleChild)===null||t===void 0?void 0:t.node.key)!==null&&s!==void 0?s:null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null)}}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let i of this.subscriptions)i();this.inSubscription=!1}}subscribe(i){return this.subscriptions.add(i),()=>this.subscriptions.delete(i)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(i){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=i,this.nextCollection=i}}exports.BaseNode=v;exports.Document=S;exports.ElementNode=h;
2
- //# sourceMappingURL=Document.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Document.cjs.js","sources":["../../../../../node_modules/@react-aria/collections/dist/Document.mjs"],"sourcesContent":["import {CollectionNode as $23b9f4fcf0fe224b$export$d68d59712b04d9d1} from \"./BaseCollection.mjs\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nclass $681cc3c98f569e39$export$410b0c854570d131 {\n *[Symbol.iterator]() {\n let node = this.firstChild;\n while(node){\n yield node;\n node = node.nextSibling;\n }\n }\n get firstChild() {\n return this._firstChild;\n }\n set firstChild(firstChild) {\n this._firstChild = firstChild;\n this.ownerDocument.markDirty(this);\n }\n get lastChild() {\n return this._lastChild;\n }\n set lastChild(lastChild) {\n this._lastChild = lastChild;\n this.ownerDocument.markDirty(this);\n }\n get previousSibling() {\n return this._previousSibling;\n }\n set previousSibling(previousSibling) {\n this._previousSibling = previousSibling;\n this.ownerDocument.markDirty(this);\n }\n get nextSibling() {\n return this._nextSibling;\n }\n set nextSibling(nextSibling) {\n this._nextSibling = nextSibling;\n this.ownerDocument.markDirty(this);\n }\n get parentNode() {\n return this._parentNode;\n }\n set parentNode(parentNode) {\n this._parentNode = parentNode;\n this.ownerDocument.markDirty(this);\n }\n get isConnected() {\n var _this_parentNode;\n return ((_this_parentNode = this.parentNode) === null || _this_parentNode === void 0 ? void 0 : _this_parentNode.isConnected) || false;\n }\n invalidateChildIndices(child) {\n if (this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || child.index < this._minInvalidChildIndex.index) {\n this._minInvalidChildIndex = child;\n this.ownerDocument.markDirty(this);\n }\n }\n updateChildIndices() {\n let node = this._minInvalidChildIndex;\n while(node){\n node.index = node.previousSibling ? node.previousSibling.index + 1 : 0;\n node = node.nextSibling;\n }\n this._minInvalidChildIndex = null;\n }\n appendChild(child) {\n if (child.parentNode) child.parentNode.removeChild(child);\n if (this.firstChild == null) this.firstChild = child;\n if (this.lastChild) {\n this.lastChild.nextSibling = child;\n child.index = this.lastChild.index + 1;\n child.previousSibling = this.lastChild;\n } else {\n child.previousSibling = null;\n child.index = 0;\n }\n child.parentNode = this;\n child.nextSibling = null;\n this.lastChild = child;\n this.ownerDocument.markDirty(this);\n if (this.isConnected) this.ownerDocument.queueUpdate();\n }\n insertBefore(newNode, referenceNode) {\n if (referenceNode == null) return this.appendChild(newNode);\n if (newNode.parentNode) newNode.parentNode.removeChild(newNode);\n newNode.nextSibling = referenceNode;\n newNode.previousSibling = referenceNode.previousSibling;\n // Ensure that the newNode's index is less than that of the reference node so that\n // invalidateChildIndices will properly use the newNode as the _minInvalidChildIndex, thus making sure\n // we will properly update the indexes of all sibiling nodes after the newNode. The value here doesn't matter\n // since updateChildIndices should calculate the proper indexes.\n newNode.index = referenceNode.index - 1;\n if (this.firstChild === referenceNode) this.firstChild = newNode;\n else if (referenceNode.previousSibling) referenceNode.previousSibling.nextSibling = newNode;\n referenceNode.previousSibling = newNode;\n newNode.parentNode = referenceNode.parentNode;\n this.invalidateChildIndices(newNode);\n if (this.isConnected) this.ownerDocument.queueUpdate();\n }\n removeChild(child) {\n if (child.parentNode !== this || !this.ownerDocument.isMounted) return;\n if (this._minInvalidChildIndex === child) this._minInvalidChildIndex = null;\n if (child.nextSibling) {\n this.invalidateChildIndices(child.nextSibling);\n child.nextSibling.previousSibling = child.previousSibling;\n }\n if (child.previousSibling) child.previousSibling.nextSibling = child.nextSibling;\n if (this.firstChild === child) this.firstChild = child.nextSibling;\n if (this.lastChild === child) this.lastChild = child.previousSibling;\n child.parentNode = null;\n child.nextSibling = null;\n child.previousSibling = null;\n child.index = 0;\n this.ownerDocument.markDirty(child);\n if (this.isConnected) this.ownerDocument.queueUpdate();\n }\n addEventListener() {}\n removeEventListener() {}\n get previousVisibleSibling() {\n let node = this.previousSibling;\n while(node && node.isHidden)node = node.previousSibling;\n return node;\n }\n get nextVisibleSibling() {\n let node = this.nextSibling;\n while(node && node.isHidden)node = node.nextSibling;\n return node;\n }\n get firstVisibleChild() {\n let node = this.firstChild;\n while(node && node.isHidden)node = node.nextSibling;\n return node;\n }\n get lastVisibleChild() {\n let node = this.lastChild;\n while(node && node.isHidden)node = node.previousSibling;\n return node;\n }\n constructor(ownerDocument){\n this._firstChild = null;\n this._lastChild = null;\n this._previousSibling = null;\n this._nextSibling = null;\n this._parentNode = null;\n this._minInvalidChildIndex = null;\n this.ownerDocument = ownerDocument;\n }\n}\nclass $681cc3c98f569e39$export$dc064fe9e59310fd extends $681cc3c98f569e39$export$410b0c854570d131 {\n get index() {\n return this._index;\n }\n set index(index) {\n this._index = index;\n this.ownerDocument.markDirty(this);\n }\n get level() {\n if (this.parentNode instanceof $681cc3c98f569e39$export$dc064fe9e59310fd) return this.parentNode.level + (this.node.type === 'item' ? 1 : 0);\n return 0;\n }\n /**\n * Lazily gets a mutable instance of a Node. If the node has already\n * been cloned during this update cycle, it just returns the existing one.\n */ getMutableNode() {\n if (!this.isMutated) {\n this.node = this.node.clone();\n this.isMutated = true;\n }\n this.ownerDocument.markDirty(this);\n return this.node;\n }\n updateNode() {\n var _this_previousVisibleSibling, _this_firstVisibleChild, _this_lastVisibleChild;\n let nextSibling = this.nextVisibleSibling;\n let node = this.getMutableNode();\n node.index = this.index;\n node.level = this.level;\n node.parentKey = this.parentNode instanceof $681cc3c98f569e39$export$dc064fe9e59310fd ? this.parentNode.node.key : null;\n var _this_previousVisibleSibling_node_key;\n node.prevKey = (_this_previousVisibleSibling_node_key = (_this_previousVisibleSibling = this.previousVisibleSibling) === null || _this_previousVisibleSibling === void 0 ? void 0 : _this_previousVisibleSibling.node.key) !== null && _this_previousVisibleSibling_node_key !== void 0 ? _this_previousVisibleSibling_node_key : null;\n var _nextSibling_node_key;\n node.nextKey = (_nextSibling_node_key = nextSibling === null || nextSibling === void 0 ? void 0 : nextSibling.node.key) !== null && _nextSibling_node_key !== void 0 ? _nextSibling_node_key : null;\n node.hasChildNodes = !!this.firstChild;\n var _this_firstVisibleChild_node_key;\n node.firstChildKey = (_this_firstVisibleChild_node_key = (_this_firstVisibleChild = this.firstVisibleChild) === null || _this_firstVisibleChild === void 0 ? void 0 : _this_firstVisibleChild.node.key) !== null && _this_firstVisibleChild_node_key !== void 0 ? _this_firstVisibleChild_node_key : null;\n var _this_lastVisibleChild_node_key;\n node.lastChildKey = (_this_lastVisibleChild_node_key = (_this_lastVisibleChild = this.lastVisibleChild) === null || _this_lastVisibleChild === void 0 ? void 0 : _this_lastVisibleChild.node.key) !== null && _this_lastVisibleChild_node_key !== void 0 ? _this_lastVisibleChild_node_key : null;\n // Update the colIndex of sibling nodes if this node has a colSpan.\n if ((node.colSpan != null || node.colIndex != null) && nextSibling) {\n var _node_colIndex, _node_colSpan;\n // This queues the next sibling for update, which means this happens recursively.\n let nextColIndex = ((_node_colIndex = node.colIndex) !== null && _node_colIndex !== void 0 ? _node_colIndex : node.index) + ((_node_colSpan = node.colSpan) !== null && _node_colSpan !== void 0 ? _node_colSpan : 1);\n if (nextColIndex !== nextSibling.node.colIndex) {\n let siblingNode = nextSibling.getMutableNode();\n siblingNode.colIndex = nextColIndex;\n }\n }\n }\n setProps(obj, ref, rendered, render) {\n let node = this.getMutableNode();\n let { value: value1, textValue: textValue, id: id, ...props } = obj;\n props.ref = ref;\n node.props = props;\n node.rendered = rendered;\n node.render = render;\n node.value = value1;\n node.textValue = textValue || (typeof props.children === 'string' ? props.children : '') || obj['aria-label'] || '';\n if (id != null && id !== node.key) {\n if (this.hasSetProps) throw new Error('Cannot change the id of an item');\n node.key = id;\n }\n if (props.colSpan != null) node.colSpan = props.colSpan;\n this.hasSetProps = true;\n if (this.isConnected) this.ownerDocument.queueUpdate();\n }\n get style() {\n // React sets display: none to hide elements during Suspense.\n // We'll handle this by setting the element to hidden and invalidating\n // its siblings/parent. Hidden elements remain in the Document, but\n // are removed from the Collection.\n let element = this;\n return {\n get display () {\n return element.isHidden ? 'none' : '';\n },\n set display (value){\n let isHidden = value === 'none';\n if (element.isHidden !== isHidden) {\n var _element_parentNode, _element_parentNode1;\n // Mark parent node dirty if this element is currently the first or last visible child.\n if (((_element_parentNode = element.parentNode) === null || _element_parentNode === void 0 ? void 0 : _element_parentNode.firstVisibleChild) === element || ((_element_parentNode1 = element.parentNode) === null || _element_parentNode1 === void 0 ? void 0 : _element_parentNode1.lastVisibleChild) === element) element.ownerDocument.markDirty(element.parentNode);\n // Mark sibling visible elements dirty.\n let prev = element.previousVisibleSibling;\n let next = element.nextVisibleSibling;\n if (prev) element.ownerDocument.markDirty(prev);\n if (next) element.ownerDocument.markDirty(next);\n // Mark self dirty.\n element.isHidden = isHidden;\n element.ownerDocument.markDirty(element);\n }\n }\n };\n }\n hasAttribute() {}\n setAttribute() {}\n setAttributeNS() {}\n removeAttribute() {}\n constructor(type, ownerDocument){\n super(ownerDocument), this.nodeType = 8 // COMMENT_NODE (we'd use ELEMENT_NODE but React DevTools will fail to get its dimensions)\n , this.isMutated = true, this._index = 0, this.hasSetProps = false, this.isHidden = false;\n this.node = new (0, $23b9f4fcf0fe224b$export$d68d59712b04d9d1)(type, `react-aria-${++ownerDocument.nodeId}`);\n }\n}\nclass $681cc3c98f569e39$export$b34a105447964f9f extends $681cc3c98f569e39$export$410b0c854570d131 {\n get isConnected() {\n return this.isMounted;\n }\n createElement(type) {\n return new $681cc3c98f569e39$export$dc064fe9e59310fd(type, this);\n }\n getMutableCollection() {\n if (!this.nextCollection) this.nextCollection = this.collection.clone();\n return this.nextCollection;\n }\n markDirty(node) {\n this.dirtyNodes.add(node);\n }\n addNode(element) {\n if (element.isHidden) return;\n let collection = this.getMutableCollection();\n if (!collection.getItem(element.node.key)) for (let child of element)this.addNode(child);\n collection.addNode(element.node);\n }\n removeNode(node) {\n for (let child of node)this.removeNode(child);\n let collection = this.getMutableCollection();\n collection.removeNode(node.node.key);\n }\n /** Finalizes the collection update, updating all nodes and freezing the collection. */ getCollection() {\n // If in a subscription update, return a clone of the existing collection.\n // This ensures React will queue a render. React will call getCollection again\n // during render, at which point all the updates will be complete and we can return\n // the new collection.\n if (this.inSubscription) return this.collection.clone();\n // Reset queuedRender to false when getCollection is called during render.\n this.queuedRender = false;\n this.updateCollection();\n return this.collection;\n }\n updateCollection() {\n // First, remove disconnected nodes and update the indices of dirty element children.\n for (let element of this.dirtyNodes)if (element instanceof $681cc3c98f569e39$export$dc064fe9e59310fd && (!element.isConnected || element.isHidden)) this.removeNode(element);\n else element.updateChildIndices();\n // Next, update dirty collection nodes.\n for (let element of this.dirtyNodes)if (element instanceof $681cc3c98f569e39$export$dc064fe9e59310fd) {\n if (element.isConnected && !element.isHidden) {\n element.updateNode();\n this.addNode(element);\n }\n element.isMutated = false;\n }\n this.dirtyNodes.clear();\n // Finally, update the collection.\n if (this.nextCollection) {\n var _this_firstVisibleChild, _this_lastVisibleChild;\n var _this_firstVisibleChild_node_key, _this_lastVisibleChild_node_key;\n this.nextCollection.commit((_this_firstVisibleChild_node_key = (_this_firstVisibleChild = this.firstVisibleChild) === null || _this_firstVisibleChild === void 0 ? void 0 : _this_firstVisibleChild.node.key) !== null && _this_firstVisibleChild_node_key !== void 0 ? _this_firstVisibleChild_node_key : null, (_this_lastVisibleChild_node_key = (_this_lastVisibleChild = this.lastVisibleChild) === null || _this_lastVisibleChild === void 0 ? void 0 : _this_lastVisibleChild.node.key) !== null && _this_lastVisibleChild_node_key !== void 0 ? _this_lastVisibleChild_node_key : null, this.isSSR);\n if (!this.isSSR) {\n this.collection = this.nextCollection;\n this.nextCollection = null;\n }\n }\n }\n queueUpdate() {\n if (this.dirtyNodes.size === 0 || this.queuedRender) return;\n // Only trigger subscriptions once during an update, when the first item changes.\n // React's useSyncExternalStore will call getCollection immediately, to check whether the snapshot changed.\n // If so, React will queue a render to happen after the current commit to our fake DOM finishes.\n // We track whether getCollection is called in a subscription, and once it is called during render,\n // we reset queuedRender back to false.\n this.queuedRender = true;\n this.inSubscription = true;\n for (let fn of this.subscriptions)fn();\n this.inSubscription = false;\n }\n subscribe(fn) {\n this.subscriptions.add(fn);\n return ()=>this.subscriptions.delete(fn);\n }\n resetAfterSSR() {\n if (this.isSSR) {\n this.isSSR = false;\n this.firstChild = null;\n this.lastChild = null;\n this.nodeId = 0;\n }\n }\n constructor(collection){\n // @ts-ignore\n super(null), this.nodeType = 11 // DOCUMENT_FRAGMENT_NODE\n , this.ownerDocument = this, this.dirtyNodes = new Set(), this.isSSR = false, this.nodeId = 0, this.nodesByProps = new WeakMap(), this.isMounted = true, this.nextCollection = null, this.subscriptions = new Set(), this.queuedRender = false, this.inSubscription = false;\n this.collection = collection;\n this.nextCollection = collection;\n }\n}\n\n\nexport {$681cc3c98f569e39$export$410b0c854570d131 as BaseNode, $681cc3c98f569e39$export$dc064fe9e59310fd as ElementNode, $681cc3c98f569e39$export$b34a105447964f9f as Document};\n//# sourceMappingURL=Document.module.js.map\n"],"names":["$681cc3c98f569e39$export$410b0c854570d131","node","firstChild","lastChild","previousSibling","nextSibling","parentNode","_this_parentNode","child","newNode","referenceNode","ownerDocument","$681cc3c98f569e39$export$dc064fe9e59310fd","index","_this_previousVisibleSibling","_this_firstVisibleChild","_this_lastVisibleChild","_this_previousVisibleSibling_node_key","_nextSibling_node_key","_this_firstVisibleChild_node_key","_this_lastVisibleChild_node_key","_node_colIndex","_node_colSpan","nextColIndex","siblingNode","obj","ref","rendered","render","value1","textValue","id","props","element","value","isHidden","_element_parentNode","_element_parentNode1","prev","next","type","$23b9f4fcf0fe224b$export$d68d59712b04d9d1","$681cc3c98f569e39$export$b34a105447964f9f","collection","fn"],"mappings":"2HAaA,MAAMA,CAA0C,CAC5C,EAAE,OAAO,QAAQ,GAAI,CACjB,IAAIC,EAAO,KAAK,WAChB,KAAMA,GACF,MAAMA,EACNA,EAAOA,EAAK,WAEnB,CACD,IAAI,YAAa,CACb,OAAO,KAAK,WACf,CACD,IAAI,WAAWC,EAAY,CACvB,KAAK,YAAcA,EACnB,KAAK,cAAc,UAAU,IAAI,CACpC,CACD,IAAI,WAAY,CACZ,OAAO,KAAK,UACf,CACD,IAAI,UAAUC,EAAW,CACrB,KAAK,WAAaA,EAClB,KAAK,cAAc,UAAU,IAAI,CACpC,CACD,IAAI,iBAAkB,CAClB,OAAO,KAAK,gBACf,CACD,IAAI,gBAAgBC,EAAiB,CACjC,KAAK,iBAAmBA,EACxB,KAAK,cAAc,UAAU,IAAI,CACpC,CACD,IAAI,aAAc,CACd,OAAO,KAAK,YACf,CACD,IAAI,YAAYC,EAAa,CACzB,KAAK,aAAeA,EACpB,KAAK,cAAc,UAAU,IAAI,CACpC,CACD,IAAI,YAAa,CACb,OAAO,KAAK,WACf,CACD,IAAI,WAAWC,EAAY,CACvB,KAAK,YAAcA,EACnB,KAAK,cAAc,UAAU,IAAI,CACpC,CACD,IAAI,aAAc,CACd,IAAIC,EACJ,QAASA,EAAmB,KAAK,cAAgB,MAAQA,IAAqB,OAAS,OAASA,EAAiB,cAAgB,EACpI,CACD,uBAAuBC,EAAO,EACtB,KAAK,uBAAyB,MAAQ,CAAC,KAAK,sBAAsB,aAAeA,EAAM,MAAQ,KAAK,sBAAsB,SAC1H,KAAK,sBAAwBA,EAC7B,KAAK,cAAc,UAAU,IAAI,EAExC,CACD,oBAAqB,CACjB,IAAIP,EAAO,KAAK,sBAChB,KAAMA,GACFA,EAAK,MAAQA,EAAK,gBAAkBA,EAAK,gBAAgB,MAAQ,EAAI,EACrEA,EAA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