one 2.0.0-beta.162.1 → 2.0.0-beta.165.2

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 (957) hide show
  1. package/LICENSE +24 -0
  2. package/android/build.gradle +1 -0
  3. package/android/portal/CMakeLists.txt +6 -0
  4. package/android/portal/react/renderer/components/OneNativeSpec/ComponentDescriptors.h +3 -0
  5. package/android/src/main/java/dev/onejs/one/OnePackage.kt +6 -0
  6. package/android/src/main/java/dev/onejs/onenative/OneNativePagerManager.kt +226 -0
  7. package/android/src/main/java/dev/onejs/onenative/OneNativePortal.kt +174 -0
  8. package/cpp/OneNativePortalShadowNode.cpp +4 -0
  9. package/cpp/OneNativePortalShadowNode.h +52 -0
  10. package/cpp/PORTAL-LICENSE +20 -0
  11. package/dist/cjs/platform/AndroidMenu.cjs +4 -1
  12. package/dist/cjs/platform/AndroidMenu.native.cjs +6 -1
  13. package/dist/cjs/platform/AndroidMenu.native.js +6 -1
  14. package/dist/cjs/platform/AndroidMenu.native.js.map +1 -1
  15. package/dist/cjs/platform/Menu.native.cjs +14 -1
  16. package/dist/cjs/platform/Menu.native.js +14 -1
  17. package/dist/cjs/platform/Menu.native.js.map +1 -1
  18. package/dist/cjs/platform/Pager.native.cjs +2 -2
  19. package/dist/cjs/platform/Pager.native.js +2 -2
  20. package/dist/cjs/platform/Pager.native.js.map +1 -1
  21. package/dist/cjs/platform/effects/index.cjs +5 -0
  22. package/dist/cjs/platform/effects/index.native.cjs +5 -0
  23. package/dist/cjs/platform/effects/index.native.js +5 -0
  24. package/dist/cjs/platform/effects/index.native.js.map +1 -1
  25. package/dist/cjs/platform/menuItems.cjs +51 -0
  26. package/dist/cjs/platform/menuItems.native.cjs +123 -49
  27. package/dist/cjs/platform/menuItems.native.js +123 -49
  28. package/dist/cjs/platform/menuItems.native.js.map +1 -1
  29. package/dist/cjs/platform/specs/OneKotlinHostNativeComponent.cjs +25 -25
  30. package/dist/cjs/platform/specs/OneKotlinHostNativeComponent.native.cjs +25 -25
  31. package/dist/cjs/platform/specs/OneKotlinHostNativeComponent.native.js +25 -25
  32. package/dist/cjs/platform/specs/OneKotlinHostNativeComponent.native.js.map +2 -2
  33. package/dist/cjs/platform/specs/OneNativeAlertNativeComponent.cjs +25 -25
  34. package/dist/cjs/platform/specs/OneNativeAlertNativeComponent.native.cjs +25 -25
  35. package/dist/cjs/platform/specs/OneNativeAlertNativeComponent.native.js +25 -25
  36. package/dist/cjs/platform/specs/OneNativeAlertNativeComponent.native.js.map +2 -2
  37. package/dist/cjs/platform/specs/OneNativeAngularGradientNativeComponent.cjs +25 -25
  38. package/dist/cjs/platform/specs/OneNativeAngularGradientNativeComponent.native.cjs +25 -25
  39. package/dist/cjs/platform/specs/OneNativeAngularGradientNativeComponent.native.js +25 -25
  40. package/dist/cjs/platform/specs/OneNativeAngularGradientNativeComponent.native.js.map +2 -2
  41. package/dist/cjs/platform/specs/OneNativeArrangementSlotNativeComponent.cjs +23 -23
  42. package/dist/cjs/platform/specs/OneNativeArrangementSlotNativeComponent.native.cjs +23 -23
  43. package/dist/cjs/platform/specs/OneNativeArrangementSlotNativeComponent.native.js +23 -23
  44. package/dist/cjs/platform/specs/OneNativeArrangementSlotNativeComponent.native.js.map +2 -2
  45. package/dist/cjs/platform/specs/OneNativeArrangementViewNativeComponent.cjs +25 -25
  46. package/dist/cjs/platform/specs/OneNativeArrangementViewNativeComponent.native.cjs +25 -25
  47. package/dist/cjs/platform/specs/OneNativeArrangementViewNativeComponent.native.js +25 -25
  48. package/dist/cjs/platform/specs/OneNativeArrangementViewNativeComponent.native.js.map +2 -2
  49. package/dist/cjs/platform/specs/OneNativeBlurNativeComponent.cjs +23 -23
  50. package/dist/cjs/platform/specs/OneNativeBlurNativeComponent.native.cjs +23 -23
  51. package/dist/cjs/platform/specs/OneNativeBlurNativeComponent.native.js +23 -23
  52. package/dist/cjs/platform/specs/OneNativeBlurNativeComponent.native.js.map +2 -2
  53. package/dist/cjs/platform/specs/OneNativeButtonNativeComponent.cjs +25 -25
  54. package/dist/cjs/platform/specs/OneNativeButtonNativeComponent.native.cjs +25 -25
  55. package/dist/cjs/platform/specs/OneNativeButtonNativeComponent.native.js +25 -25
  56. package/dist/cjs/platform/specs/OneNativeButtonNativeComponent.native.js.map +2 -2
  57. package/dist/cjs/platform/specs/OneNativeCameraNativeComponent.cjs +25 -25
  58. package/dist/cjs/platform/specs/OneNativeCameraNativeComponent.native.cjs +25 -25
  59. package/dist/cjs/platform/specs/OneNativeCameraNativeComponent.native.js +25 -25
  60. package/dist/cjs/platform/specs/OneNativeCameraNativeComponent.native.js.map +2 -2
  61. package/dist/cjs/platform/specs/OneNativeCapsuleNativeComponent.cjs +25 -25
  62. package/dist/cjs/platform/specs/OneNativeCapsuleNativeComponent.native.cjs +25 -25
  63. package/dist/cjs/platform/specs/OneNativeCapsuleNativeComponent.native.js +25 -25
  64. package/dist/cjs/platform/specs/OneNativeCapsuleNativeComponent.native.js.map +2 -2
  65. package/dist/cjs/platform/specs/OneNativeCircleNativeComponent.cjs +25 -25
  66. package/dist/cjs/platform/specs/OneNativeCircleNativeComponent.native.cjs +25 -25
  67. package/dist/cjs/platform/specs/OneNativeCircleNativeComponent.native.js +25 -25
  68. package/dist/cjs/platform/specs/OneNativeCircleNativeComponent.native.js.map +2 -2
  69. package/dist/cjs/platform/specs/OneNativeColorPickerNativeComponent.cjs +25 -25
  70. package/dist/cjs/platform/specs/OneNativeColorPickerNativeComponent.native.cjs +25 -25
  71. package/dist/cjs/platform/specs/OneNativeColorPickerNativeComponent.native.js +25 -25
  72. package/dist/cjs/platform/specs/OneNativeColorPickerNativeComponent.native.js.map +2 -2
  73. package/dist/cjs/platform/specs/OneNativeComposeNodeNativeComponent.cjs +25 -25
  74. package/dist/cjs/platform/specs/OneNativeComposeNodeNativeComponent.native.cjs +25 -25
  75. package/dist/cjs/platform/specs/OneNativeComposeNodeNativeComponent.native.js +25 -25
  76. package/dist/cjs/platform/specs/OneNativeComposeNodeNativeComponent.native.js.map +2 -2
  77. package/dist/cjs/platform/specs/OneNativeConcentricRectangleNativeComponent.cjs +25 -25
  78. package/dist/cjs/platform/specs/OneNativeConcentricRectangleNativeComponent.native.cjs +25 -25
  79. package/dist/cjs/platform/specs/OneNativeConcentricRectangleNativeComponent.native.js +25 -25
  80. package/dist/cjs/platform/specs/OneNativeConcentricRectangleNativeComponent.native.js.map +2 -2
  81. package/dist/cjs/platform/specs/OneNativeConfirmationDialogNativeComponent.cjs +25 -25
  82. package/dist/cjs/platform/specs/OneNativeConfirmationDialogNativeComponent.native.cjs +25 -25
  83. package/dist/cjs/platform/specs/OneNativeConfirmationDialogNativeComponent.native.js +25 -25
  84. package/dist/cjs/platform/specs/OneNativeConfirmationDialogNativeComponent.native.js.map +2 -2
  85. package/dist/cjs/platform/specs/OneNativeContainerSlotNativeComponent.cjs +23 -23
  86. package/dist/cjs/platform/specs/OneNativeContainerSlotNativeComponent.native.cjs +23 -23
  87. package/dist/cjs/platform/specs/OneNativeContainerSlotNativeComponent.native.js +23 -23
  88. package/dist/cjs/platform/specs/OneNativeContainerSlotNativeComponent.native.js.map +2 -2
  89. package/dist/cjs/platform/specs/OneNativeContentUnavailableViewNativeComponent.cjs +25 -25
  90. package/dist/cjs/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.cjs +25 -25
  91. package/dist/cjs/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.js +25 -25
  92. package/dist/cjs/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.js.map +2 -2
  93. package/dist/cjs/platform/specs/OneNativeControlGroupNativeComponent.cjs +23 -23
  94. package/dist/cjs/platform/specs/OneNativeControlGroupNativeComponent.native.cjs +23 -23
  95. package/dist/cjs/platform/specs/OneNativeControlGroupNativeComponent.native.js +23 -23
  96. package/dist/cjs/platform/specs/OneNativeControlGroupNativeComponent.native.js.map +2 -2
  97. package/dist/cjs/platform/specs/OneNativeDatePickerNativeComponent.cjs +25 -25
  98. package/dist/cjs/platform/specs/OneNativeDatePickerNativeComponent.native.cjs +25 -25
  99. package/dist/cjs/platform/specs/OneNativeDatePickerNativeComponent.native.js +25 -25
  100. package/dist/cjs/platform/specs/OneNativeDatePickerNativeComponent.native.js.map +2 -2
  101. package/dist/cjs/platform/specs/OneNativeDisclosureGroupNativeComponent.cjs +25 -25
  102. package/dist/cjs/platform/specs/OneNativeDisclosureGroupNativeComponent.native.cjs +25 -25
  103. package/dist/cjs/platform/specs/OneNativeDisclosureGroupNativeComponent.native.js +25 -25
  104. package/dist/cjs/platform/specs/OneNativeDisclosureGroupNativeComponent.native.js.map +2 -2
  105. package/dist/cjs/platform/specs/OneNativeDividerNativeComponent.cjs +23 -23
  106. package/dist/cjs/platform/specs/OneNativeDividerNativeComponent.native.cjs +23 -23
  107. package/dist/cjs/platform/specs/OneNativeDividerNativeComponent.native.js +23 -23
  108. package/dist/cjs/platform/specs/OneNativeDividerNativeComponent.native.js.map +2 -2
  109. package/dist/cjs/platform/specs/OneNativeEdgeFadeNativeComponent.cjs +23 -23
  110. package/dist/cjs/platform/specs/OneNativeEdgeFadeNativeComponent.native.cjs +23 -23
  111. package/dist/cjs/platform/specs/OneNativeEdgeFadeNativeComponent.native.js +23 -23
  112. package/dist/cjs/platform/specs/OneNativeEdgeFadeNativeComponent.native.js.map +2 -2
  113. package/dist/cjs/platform/specs/OneNativeEditButtonNativeComponent.cjs +25 -25
  114. package/dist/cjs/platform/specs/OneNativeEditButtonNativeComponent.native.cjs +25 -25
  115. package/dist/cjs/platform/specs/OneNativeEditButtonNativeComponent.native.js +25 -25
  116. package/dist/cjs/platform/specs/OneNativeEditButtonNativeComponent.native.js.map +2 -2
  117. package/dist/cjs/platform/specs/OneNativeEllipseNativeComponent.cjs +25 -25
  118. package/dist/cjs/platform/specs/OneNativeEllipseNativeComponent.native.cjs +25 -25
  119. package/dist/cjs/platform/specs/OneNativeEllipseNativeComponent.native.js +25 -25
  120. package/dist/cjs/platform/specs/OneNativeEllipseNativeComponent.native.js.map +2 -2
  121. package/dist/cjs/platform/specs/OneNativeEllipticalGradientNativeComponent.cjs +25 -25
  122. package/dist/cjs/platform/specs/OneNativeEllipticalGradientNativeComponent.native.cjs +25 -25
  123. package/dist/cjs/platform/specs/OneNativeEllipticalGradientNativeComponent.native.js +25 -25
  124. package/dist/cjs/platform/specs/OneNativeEllipticalGradientNativeComponent.native.js.map +2 -2
  125. package/dist/cjs/platform/specs/OneNativeEmptyViewNativeComponent.cjs +25 -25
  126. package/dist/cjs/platform/specs/OneNativeEmptyViewNativeComponent.native.cjs +25 -25
  127. package/dist/cjs/platform/specs/OneNativeEmptyViewNativeComponent.native.js +25 -25
  128. package/dist/cjs/platform/specs/OneNativeEmptyViewNativeComponent.native.js.map +2 -2
  129. package/dist/cjs/platform/specs/OneNativeFileImporterNativeComponent.cjs +25 -25
  130. package/dist/cjs/platform/specs/OneNativeFileImporterNativeComponent.native.cjs +25 -25
  131. package/dist/cjs/platform/specs/OneNativeFileImporterNativeComponent.native.js +25 -25
  132. package/dist/cjs/platform/specs/OneNativeFileImporterNativeComponent.native.js.map +2 -2
  133. package/dist/cjs/platform/specs/OneNativeFormNativeComponent.cjs +23 -23
  134. package/dist/cjs/platform/specs/OneNativeFormNativeComponent.native.cjs +23 -23
  135. package/dist/cjs/platform/specs/OneNativeFormNativeComponent.native.js +23 -23
  136. package/dist/cjs/platform/specs/OneNativeFormNativeComponent.native.js.map +2 -2
  137. package/dist/cjs/platform/specs/OneNativeGaugeNativeComponent.cjs +25 -25
  138. package/dist/cjs/platform/specs/OneNativeGaugeNativeComponent.native.cjs +25 -25
  139. package/dist/cjs/platform/specs/OneNativeGaugeNativeComponent.native.js +25 -25
  140. package/dist/cjs/platform/specs/OneNativeGaugeNativeComponent.native.js.map +2 -2
  141. package/dist/cjs/platform/specs/OneNativeGlassEffectContainerNativeComponent.cjs +23 -23
  142. package/dist/cjs/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.cjs +23 -23
  143. package/dist/cjs/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.js +23 -23
  144. package/dist/cjs/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.js.map +2 -2
  145. package/dist/cjs/platform/specs/OneNativeGlassNativeComponent.cjs +23 -23
  146. package/dist/cjs/platform/specs/OneNativeGlassNativeComponent.native.cjs +23 -23
  147. package/dist/cjs/platform/specs/OneNativeGlassNativeComponent.native.js +23 -23
  148. package/dist/cjs/platform/specs/OneNativeGlassNativeComponent.native.js.map +2 -2
  149. package/dist/cjs/platform/specs/OneNativeGridNativeComponent.cjs +23 -23
  150. package/dist/cjs/platform/specs/OneNativeGridNativeComponent.native.cjs +23 -23
  151. package/dist/cjs/platform/specs/OneNativeGridNativeComponent.native.js +23 -23
  152. package/dist/cjs/platform/specs/OneNativeGridNativeComponent.native.js.map +2 -2
  153. package/dist/cjs/platform/specs/OneNativeGridRowNativeComponent.cjs +23 -23
  154. package/dist/cjs/platform/specs/OneNativeGridRowNativeComponent.native.cjs +23 -23
  155. package/dist/cjs/platform/specs/OneNativeGridRowNativeComponent.native.js +23 -23
  156. package/dist/cjs/platform/specs/OneNativeGridRowNativeComponent.native.js.map +2 -2
  157. package/dist/cjs/platform/specs/OneNativeGroupBoxNativeComponent.cjs +23 -23
  158. package/dist/cjs/platform/specs/OneNativeGroupBoxNativeComponent.native.cjs +23 -23
  159. package/dist/cjs/platform/specs/OneNativeGroupBoxNativeComponent.native.js +23 -23
  160. package/dist/cjs/platform/specs/OneNativeGroupBoxNativeComponent.native.js.map +2 -2
  161. package/dist/cjs/platform/specs/OneNativeGroupNativeComponent.cjs +23 -23
  162. package/dist/cjs/platform/specs/OneNativeGroupNativeComponent.native.cjs +23 -23
  163. package/dist/cjs/platform/specs/OneNativeGroupNativeComponent.native.js +23 -23
  164. package/dist/cjs/platform/specs/OneNativeGroupNativeComponent.native.js.map +2 -2
  165. package/dist/cjs/platform/specs/OneNativeHostNativeComponent.cjs +23 -23
  166. package/dist/cjs/platform/specs/OneNativeHostNativeComponent.native.cjs +23 -23
  167. package/dist/cjs/platform/specs/OneNativeHostNativeComponent.native.js +23 -23
  168. package/dist/cjs/platform/specs/OneNativeHostNativeComponent.native.js.map +2 -2
  169. package/dist/cjs/platform/specs/OneNativeImageNativeComponent.cjs +25 -25
  170. package/dist/cjs/platform/specs/OneNativeImageNativeComponent.native.cjs +25 -25
  171. package/dist/cjs/platform/specs/OneNativeImageNativeComponent.native.js +25 -25
  172. package/dist/cjs/platform/specs/OneNativeImageNativeComponent.native.js.map +2 -2
  173. package/dist/cjs/platform/specs/OneNativeLabelNativeComponent.cjs +25 -25
  174. package/dist/cjs/platform/specs/OneNativeLabelNativeComponent.native.cjs +25 -25
  175. package/dist/cjs/platform/specs/OneNativeLabelNativeComponent.native.js +25 -25
  176. package/dist/cjs/platform/specs/OneNativeLabelNativeComponent.native.js.map +2 -2
  177. package/dist/cjs/platform/specs/OneNativeLabeledContentNativeComponent.cjs +23 -23
  178. package/dist/cjs/platform/specs/OneNativeLabeledContentNativeComponent.native.cjs +23 -23
  179. package/dist/cjs/platform/specs/OneNativeLabeledContentNativeComponent.native.js +23 -23
  180. package/dist/cjs/platform/specs/OneNativeLabeledContentNativeComponent.native.js.map +2 -2
  181. package/dist/cjs/platform/specs/OneNativeLazyHGridNativeComponent.cjs +23 -23
  182. package/dist/cjs/platform/specs/OneNativeLazyHGridNativeComponent.native.cjs +23 -23
  183. package/dist/cjs/platform/specs/OneNativeLazyHGridNativeComponent.native.js +23 -23
  184. package/dist/cjs/platform/specs/OneNativeLazyHGridNativeComponent.native.js.map +2 -2
  185. package/dist/cjs/platform/specs/OneNativeLazyHStackNativeComponent.cjs +23 -23
  186. package/dist/cjs/platform/specs/OneNativeLazyHStackNativeComponent.native.cjs +23 -23
  187. package/dist/cjs/platform/specs/OneNativeLazyHStackNativeComponent.native.js +23 -23
  188. package/dist/cjs/platform/specs/OneNativeLazyHStackNativeComponent.native.js.map +2 -2
  189. package/dist/cjs/platform/specs/OneNativeLazyVGridNativeComponent.cjs +23 -23
  190. package/dist/cjs/platform/specs/OneNativeLazyVGridNativeComponent.native.cjs +23 -23
  191. package/dist/cjs/platform/specs/OneNativeLazyVGridNativeComponent.native.js +23 -23
  192. package/dist/cjs/platform/specs/OneNativeLazyVGridNativeComponent.native.js.map +2 -2
  193. package/dist/cjs/platform/specs/OneNativeLazyVStackNativeComponent.cjs +23 -23
  194. package/dist/cjs/platform/specs/OneNativeLazyVStackNativeComponent.native.cjs +23 -23
  195. package/dist/cjs/platform/specs/OneNativeLazyVStackNativeComponent.native.js +23 -23
  196. package/dist/cjs/platform/specs/OneNativeLazyVStackNativeComponent.native.js.map +2 -2
  197. package/dist/cjs/platform/specs/OneNativeLinearGradientNativeComponent.cjs +25 -25
  198. package/dist/cjs/platform/specs/OneNativeLinearGradientNativeComponent.native.cjs +25 -25
  199. package/dist/cjs/platform/specs/OneNativeLinearGradientNativeComponent.native.js +25 -25
  200. package/dist/cjs/platform/specs/OneNativeLinearGradientNativeComponent.native.js.map +2 -2
  201. package/dist/cjs/platform/specs/OneNativeLinkNativeComponent.cjs +23 -23
  202. package/dist/cjs/platform/specs/OneNativeLinkNativeComponent.native.cjs +23 -23
  203. package/dist/cjs/platform/specs/OneNativeLinkNativeComponent.native.js +23 -23
  204. package/dist/cjs/platform/specs/OneNativeLinkNativeComponent.native.js.map +2 -2
  205. package/dist/cjs/platform/specs/OneNativeListNativeComponent.cjs +25 -25
  206. package/dist/cjs/platform/specs/OneNativeListNativeComponent.native.cjs +25 -25
  207. package/dist/cjs/platform/specs/OneNativeListNativeComponent.native.js +25 -25
  208. package/dist/cjs/platform/specs/OneNativeListNativeComponent.native.js.map +2 -2
  209. package/dist/cjs/platform/specs/OneNativeLivePhotoViewNativeComponent.cjs +25 -25
  210. package/dist/cjs/platform/specs/OneNativeLivePhotoViewNativeComponent.native.cjs +25 -25
  211. package/dist/cjs/platform/specs/OneNativeLivePhotoViewNativeComponent.native.js +25 -25
  212. package/dist/cjs/platform/specs/OneNativeLivePhotoViewNativeComponent.native.js.map +2 -2
  213. package/dist/cjs/platform/specs/OneNativeMapNativeComponent.cjs +25 -25
  214. package/dist/cjs/platform/specs/OneNativeMapNativeComponent.native.cjs +25 -25
  215. package/dist/cjs/platform/specs/OneNativeMapNativeComponent.native.js +25 -25
  216. package/dist/cjs/platform/specs/OneNativeMapNativeComponent.native.js.map +2 -2
  217. package/dist/cjs/platform/specs/OneNativeMaskNativeComponent.cjs +23 -23
  218. package/dist/cjs/platform/specs/OneNativeMaskNativeComponent.native.cjs +23 -23
  219. package/dist/cjs/platform/specs/OneNativeMaskNativeComponent.native.js +23 -23
  220. package/dist/cjs/platform/specs/OneNativeMaskNativeComponent.native.js.map +2 -2
  221. package/dist/cjs/platform/specs/OneNativeMenuNativeComponent.cjs +31 -26
  222. package/dist/cjs/platform/specs/OneNativeMenuNativeComponent.native.cjs +31 -26
  223. package/dist/cjs/platform/specs/OneNativeMenuNativeComponent.native.js +31 -26
  224. package/dist/cjs/platform/specs/OneNativeMenuNativeComponent.native.js.map +3 -3
  225. package/dist/cjs/platform/specs/OneNativeMeshGradientNativeComponent.cjs +25 -25
  226. package/dist/cjs/platform/specs/OneNativeMeshGradientNativeComponent.native.cjs +25 -25
  227. package/dist/cjs/platform/specs/OneNativeMeshGradientNativeComponent.native.js +25 -25
  228. package/dist/cjs/platform/specs/OneNativeMeshGradientNativeComponent.native.js.map +2 -2
  229. package/dist/cjs/platform/specs/OneNativeNavigationStackContentNativeComponent.cjs +23 -23
  230. package/dist/cjs/platform/specs/OneNativeNavigationStackContentNativeComponent.native.cjs +23 -23
  231. package/dist/cjs/platform/specs/OneNativeNavigationStackContentNativeComponent.native.js +23 -23
  232. package/dist/cjs/platform/specs/OneNativeNavigationStackContentNativeComponent.native.js.map +2 -2
  233. package/dist/cjs/platform/specs/OneNativeNavigationStackNativeComponent.cjs +25 -25
  234. package/dist/cjs/platform/specs/OneNativeNavigationStackNativeComponent.native.cjs +25 -25
  235. package/dist/cjs/platform/specs/OneNativeNavigationStackNativeComponent.native.js +25 -25
  236. package/dist/cjs/platform/specs/OneNativeNavigationStackNativeComponent.native.js.map +2 -2
  237. package/dist/cjs/platform/specs/OneNativeOverlayContentNativeComponent.cjs +23 -23
  238. package/dist/cjs/platform/specs/OneNativeOverlayContentNativeComponent.native.cjs +23 -23
  239. package/dist/cjs/platform/specs/OneNativeOverlayContentNativeComponent.native.js +23 -23
  240. package/dist/cjs/platform/specs/OneNativeOverlayContentNativeComponent.native.js.map +2 -2
  241. package/dist/cjs/platform/specs/OneNativeOverlayNativeComponent.cjs +25 -25
  242. package/dist/cjs/platform/specs/OneNativeOverlayNativeComponent.native.cjs +25 -25
  243. package/dist/cjs/platform/specs/OneNativeOverlayNativeComponent.native.js +25 -25
  244. package/dist/cjs/platform/specs/OneNativeOverlayNativeComponent.native.js.map +2 -2
  245. package/dist/cjs/platform/specs/OneNativePagerNativeComponent.cjs +60 -31
  246. package/dist/cjs/platform/specs/OneNativePagerNativeComponent.native.cjs +60 -31
  247. package/dist/cjs/platform/specs/OneNativePagerNativeComponent.native.js +60 -31
  248. package/dist/cjs/platform/specs/OneNativePagerNativeComponent.native.js.map +3 -3
  249. package/dist/cjs/platform/specs/OneNativePasteButtonNativeComponent.cjs +25 -25
  250. package/dist/cjs/platform/specs/OneNativePasteButtonNativeComponent.native.cjs +25 -25
  251. package/dist/cjs/platform/specs/OneNativePasteButtonNativeComponent.native.js +25 -25
  252. package/dist/cjs/platform/specs/OneNativePasteButtonNativeComponent.native.js.map +2 -2
  253. package/dist/cjs/platform/specs/OneNativePhotosPickerNativeComponent.cjs +25 -25
  254. package/dist/cjs/platform/specs/OneNativePhotosPickerNativeComponent.native.cjs +25 -25
  255. package/dist/cjs/platform/specs/OneNativePhotosPickerNativeComponent.native.js +25 -25
  256. package/dist/cjs/platform/specs/OneNativePhotosPickerNativeComponent.native.js.map +2 -2
  257. package/dist/cjs/platform/specs/OneNativePickerNativeComponent.cjs +25 -25
  258. package/dist/cjs/platform/specs/OneNativePickerNativeComponent.native.cjs +25 -25
  259. package/dist/cjs/platform/specs/OneNativePickerNativeComponent.native.js +25 -25
  260. package/dist/cjs/platform/specs/OneNativePickerNativeComponent.native.js.map +2 -2
  261. package/dist/cjs/platform/specs/OneNativePictureInPictureNativeComponent.cjs +25 -25
  262. package/dist/cjs/platform/specs/OneNativePictureInPictureNativeComponent.native.cjs +25 -25
  263. package/dist/cjs/platform/specs/OneNativePictureInPictureNativeComponent.native.js +25 -25
  264. package/dist/cjs/platform/specs/OneNativePictureInPictureNativeComponent.native.js.map +2 -2
  265. package/dist/cjs/platform/specs/OneNativePopoverContentNativeComponent.cjs +23 -23
  266. package/dist/cjs/platform/specs/OneNativePopoverContentNativeComponent.native.cjs +23 -23
  267. package/dist/cjs/platform/specs/OneNativePopoverContentNativeComponent.native.js +23 -23
  268. package/dist/cjs/platform/specs/OneNativePopoverContentNativeComponent.native.js.map +2 -2
  269. package/dist/cjs/platform/specs/OneNativePopoverNativeComponent.cjs +25 -25
  270. package/dist/cjs/platform/specs/OneNativePopoverNativeComponent.native.cjs +25 -25
  271. package/dist/cjs/platform/specs/OneNativePopoverNativeComponent.native.js +25 -25
  272. package/dist/cjs/platform/specs/OneNativePopoverNativeComponent.native.js.map +2 -2
  273. package/dist/cjs/platform/specs/OneNativePortalHostViewNativeComponent.cjs +32 -0
  274. package/dist/cjs/platform/specs/OneNativePortalHostViewNativeComponent.native.cjs +32 -0
  275. package/dist/cjs/platform/specs/OneNativePortalHostViewNativeComponent.native.js +33 -0
  276. package/dist/cjs/platform/specs/OneNativePortalHostViewNativeComponent.native.js.map +7 -0
  277. package/dist/cjs/platform/specs/OneNativePortalViewNativeComponent.cjs +33 -0
  278. package/dist/cjs/platform/specs/OneNativePortalViewNativeComponent.native.cjs +33 -0
  279. package/dist/cjs/platform/specs/OneNativePortalViewNativeComponent.native.js +34 -0
  280. package/dist/cjs/platform/specs/OneNativePortalViewNativeComponent.native.js.map +7 -0
  281. package/dist/cjs/platform/specs/OneNativeProgressViewNativeComponent.cjs +25 -25
  282. package/dist/cjs/platform/specs/OneNativeProgressViewNativeComponent.native.cjs +25 -25
  283. package/dist/cjs/platform/specs/OneNativeProgressViewNativeComponent.native.js +25 -25
  284. package/dist/cjs/platform/specs/OneNativeProgressViewNativeComponent.native.js.map +2 -2
  285. package/dist/cjs/platform/specs/OneNativeQuickLookNativeComponent.cjs +25 -25
  286. package/dist/cjs/platform/specs/OneNativeQuickLookNativeComponent.native.cjs +25 -25
  287. package/dist/cjs/platform/specs/OneNativeQuickLookNativeComponent.native.js +25 -25
  288. package/dist/cjs/platform/specs/OneNativeQuickLookNativeComponent.native.js.map +2 -2
  289. package/dist/cjs/platform/specs/OneNativeRadialGradientNativeComponent.cjs +25 -25
  290. package/dist/cjs/platform/specs/OneNativeRadialGradientNativeComponent.native.cjs +25 -25
  291. package/dist/cjs/platform/specs/OneNativeRadialGradientNativeComponent.native.js +25 -25
  292. package/dist/cjs/platform/specs/OneNativeRadialGradientNativeComponent.native.js.map +2 -2
  293. package/dist/cjs/platform/specs/OneNativeRectangleNativeComponent.cjs +25 -25
  294. package/dist/cjs/platform/specs/OneNativeRectangleNativeComponent.native.cjs +25 -25
  295. package/dist/cjs/platform/specs/OneNativeRectangleNativeComponent.native.js +25 -25
  296. package/dist/cjs/platform/specs/OneNativeRectangleNativeComponent.native.js.map +2 -2
  297. package/dist/cjs/platform/specs/OneNativeReservedRegionsProviderNativeComponent.cjs +25 -25
  298. package/dist/cjs/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.cjs +25 -25
  299. package/dist/cjs/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.js +25 -25
  300. package/dist/cjs/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.js.map +2 -2
  301. package/dist/cjs/platform/specs/OneNativeRoundedRectangleNativeComponent.cjs +25 -25
  302. package/dist/cjs/platform/specs/OneNativeRoundedRectangleNativeComponent.native.cjs +25 -25
  303. package/dist/cjs/platform/specs/OneNativeRoundedRectangleNativeComponent.native.js +25 -25
  304. package/dist/cjs/platform/specs/OneNativeRoundedRectangleNativeComponent.native.js.map +2 -2
  305. package/dist/cjs/platform/specs/OneNativeSafeAreaProviderNativeComponent.cjs +25 -25
  306. package/dist/cjs/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.cjs +25 -25
  307. package/dist/cjs/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.js +25 -25
  308. package/dist/cjs/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.js.map +2 -2
  309. package/dist/cjs/platform/specs/OneNativeScrollViewNativeComponent.cjs +25 -25
  310. package/dist/cjs/platform/specs/OneNativeScrollViewNativeComponent.native.cjs +25 -25
  311. package/dist/cjs/platform/specs/OneNativeScrollViewNativeComponent.native.js +25 -25
  312. package/dist/cjs/platform/specs/OneNativeScrollViewNativeComponent.native.js.map +2 -2
  313. package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.cjs +25 -25
  314. package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.native.cjs +25 -25
  315. package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.native.js +25 -25
  316. package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.native.js.map +2 -2
  317. package/dist/cjs/platform/specs/OneNativeSecureFieldNativeComponent.cjs +25 -25
  318. package/dist/cjs/platform/specs/OneNativeSecureFieldNativeComponent.native.cjs +25 -25
  319. package/dist/cjs/platform/specs/OneNativeSecureFieldNativeComponent.native.js +25 -25
  320. package/dist/cjs/platform/specs/OneNativeSecureFieldNativeComponent.native.js.map +2 -2
  321. package/dist/cjs/platform/specs/OneNativeShareLinkNativeComponent.cjs +25 -25
  322. package/dist/cjs/platform/specs/OneNativeShareLinkNativeComponent.native.cjs +25 -25
  323. package/dist/cjs/platform/specs/OneNativeShareLinkNativeComponent.native.js +25 -25
  324. package/dist/cjs/platform/specs/OneNativeShareLinkNativeComponent.native.js.map +2 -2
  325. package/dist/cjs/platform/specs/OneNativeSheetContentNativeComponent.cjs +23 -23
  326. package/dist/cjs/platform/specs/OneNativeSheetContentNativeComponent.native.cjs +23 -23
  327. package/dist/cjs/platform/specs/OneNativeSheetContentNativeComponent.native.js +23 -23
  328. package/dist/cjs/platform/specs/OneNativeSheetContentNativeComponent.native.js.map +2 -2
  329. package/dist/cjs/platform/specs/OneNativeSheetNativeComponent.cjs +25 -25
  330. package/dist/cjs/platform/specs/OneNativeSheetNativeComponent.native.cjs +25 -25
  331. package/dist/cjs/platform/specs/OneNativeSheetNativeComponent.native.js +25 -25
  332. package/dist/cjs/platform/specs/OneNativeSheetNativeComponent.native.js.map +2 -2
  333. package/dist/cjs/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.cjs +25 -25
  334. package/dist/cjs/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.cjs +25 -25
  335. package/dist/cjs/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.js +25 -25
  336. package/dist/cjs/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.js.map +2 -2
  337. package/dist/cjs/platform/specs/OneNativeSliderNativeComponent.cjs +25 -25
  338. package/dist/cjs/platform/specs/OneNativeSliderNativeComponent.native.cjs +25 -25
  339. package/dist/cjs/platform/specs/OneNativeSliderNativeComponent.native.js +25 -25
  340. package/dist/cjs/platform/specs/OneNativeSliderNativeComponent.native.js.map +2 -2
  341. package/dist/cjs/platform/specs/OneNativeSpacerNativeComponent.cjs +23 -23
  342. package/dist/cjs/platform/specs/OneNativeSpacerNativeComponent.native.cjs +23 -23
  343. package/dist/cjs/platform/specs/OneNativeSpacerNativeComponent.native.js +23 -23
  344. package/dist/cjs/platform/specs/OneNativeSpacerNativeComponent.native.js.map +2 -2
  345. package/dist/cjs/platform/specs/OneNativeStepperNativeComponent.cjs +25 -25
  346. package/dist/cjs/platform/specs/OneNativeStepperNativeComponent.native.cjs +25 -25
  347. package/dist/cjs/platform/specs/OneNativeStepperNativeComponent.native.js +25 -25
  348. package/dist/cjs/platform/specs/OneNativeStepperNativeComponent.native.js.map +2 -2
  349. package/dist/cjs/platform/specs/OneNativeSwiftPagerNativeComponent.cjs +45 -0
  350. package/dist/cjs/platform/specs/OneNativeSwiftPagerNativeComponent.native.cjs +45 -0
  351. package/dist/cjs/platform/specs/OneNativeSwiftPagerNativeComponent.native.js +46 -0
  352. package/dist/cjs/platform/specs/OneNativeSwiftPagerNativeComponent.native.js.map +7 -0
  353. package/dist/cjs/platform/specs/OneNativeSwipeActionsActionsNativeComponent.cjs +23 -23
  354. package/dist/cjs/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.cjs +23 -23
  355. package/dist/cjs/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.js +23 -23
  356. package/dist/cjs/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.js.map +2 -2
  357. package/dist/cjs/platform/specs/OneNativeSwipeActionsNativeComponent.cjs +23 -23
  358. package/dist/cjs/platform/specs/OneNativeSwipeActionsNativeComponent.native.cjs +23 -23
  359. package/dist/cjs/platform/specs/OneNativeSwipeActionsNativeComponent.native.js +23 -23
  360. package/dist/cjs/platform/specs/OneNativeSwipeActionsNativeComponent.native.js.map +2 -2
  361. package/dist/cjs/platform/specs/OneNativeTabNativeComponent.cjs +25 -25
  362. package/dist/cjs/platform/specs/OneNativeTabNativeComponent.native.cjs +25 -25
  363. package/dist/cjs/platform/specs/OneNativeTabNativeComponent.native.js +25 -25
  364. package/dist/cjs/platform/specs/OneNativeTabNativeComponent.native.js.map +2 -2
  365. package/dist/cjs/platform/specs/OneNativeTabsNativeComponent.cjs +25 -25
  366. package/dist/cjs/platform/specs/OneNativeTabsNativeComponent.native.cjs +25 -25
  367. package/dist/cjs/platform/specs/OneNativeTabsNativeComponent.native.js +25 -25
  368. package/dist/cjs/platform/specs/OneNativeTabsNativeComponent.native.js.map +2 -2
  369. package/dist/cjs/platform/specs/OneNativeTextEditorNativeComponent.cjs +25 -25
  370. package/dist/cjs/platform/specs/OneNativeTextEditorNativeComponent.native.cjs +25 -25
  371. package/dist/cjs/platform/specs/OneNativeTextEditorNativeComponent.native.js +25 -25
  372. package/dist/cjs/platform/specs/OneNativeTextEditorNativeComponent.native.js.map +2 -2
  373. package/dist/cjs/platform/specs/OneNativeTextFieldNativeComponent.cjs +25 -25
  374. package/dist/cjs/platform/specs/OneNativeTextFieldNativeComponent.native.cjs +25 -25
  375. package/dist/cjs/platform/specs/OneNativeTextFieldNativeComponent.native.js +25 -25
  376. package/dist/cjs/platform/specs/OneNativeTextFieldNativeComponent.native.js.map +2 -2
  377. package/dist/cjs/platform/specs/OneNativeTextNativeComponent.cjs +25 -25
  378. package/dist/cjs/platform/specs/OneNativeTextNativeComponent.native.cjs +25 -25
  379. package/dist/cjs/platform/specs/OneNativeTextNativeComponent.native.js +25 -25
  380. package/dist/cjs/platform/specs/OneNativeTextNativeComponent.native.js.map +2 -2
  381. package/dist/cjs/platform/specs/OneNativeToggleNativeComponent.cjs +25 -25
  382. package/dist/cjs/platform/specs/OneNativeToggleNativeComponent.native.cjs +25 -25
  383. package/dist/cjs/platform/specs/OneNativeToggleNativeComponent.native.js +25 -25
  384. package/dist/cjs/platform/specs/OneNativeToggleNativeComponent.native.js.map +2 -2
  385. package/dist/cjs/platform/specs/OneNativeToolbarItemGroupNativeComponent.cjs +25 -25
  386. package/dist/cjs/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.cjs +25 -25
  387. package/dist/cjs/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.js +25 -25
  388. package/dist/cjs/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.js.map +2 -2
  389. package/dist/cjs/platform/specs/OneNativeToolbarItemNativeComponent.cjs +25 -25
  390. package/dist/cjs/platform/specs/OneNativeToolbarItemNativeComponent.native.cjs +25 -25
  391. package/dist/cjs/platform/specs/OneNativeToolbarItemNativeComponent.native.js +25 -25
  392. package/dist/cjs/platform/specs/OneNativeToolbarItemNativeComponent.native.js.map +2 -2
  393. package/dist/cjs/platform/specs/OneNativeToolbarNativeComponent.cjs +23 -23
  394. package/dist/cjs/platform/specs/OneNativeToolbarNativeComponent.native.cjs +23 -23
  395. package/dist/cjs/platform/specs/OneNativeToolbarNativeComponent.native.js +23 -23
  396. package/dist/cjs/platform/specs/OneNativeToolbarNativeComponent.native.js.map +2 -2
  397. package/dist/cjs/platform/specs/OneNativeToolbarSpacerNativeComponent.cjs +23 -23
  398. package/dist/cjs/platform/specs/OneNativeToolbarSpacerNativeComponent.native.cjs +23 -23
  399. package/dist/cjs/platform/specs/OneNativeToolbarSpacerNativeComponent.native.js +23 -23
  400. package/dist/cjs/platform/specs/OneNativeToolbarSpacerNativeComponent.native.js.map +2 -2
  401. package/dist/cjs/platform/specs/OneNativeUiMapNativeComponent.cjs +25 -25
  402. package/dist/cjs/platform/specs/OneNativeUiMapNativeComponent.native.cjs +25 -25
  403. package/dist/cjs/platform/specs/OneNativeUiMapNativeComponent.native.js +25 -25
  404. package/dist/cjs/platform/specs/OneNativeUiMapNativeComponent.native.js.map +2 -2
  405. package/dist/cjs/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.cjs +25 -25
  406. package/dist/cjs/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.cjs +25 -25
  407. package/dist/cjs/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.js +25 -25
  408. package/dist/cjs/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.js.map +2 -2
  409. package/dist/cjs/platform/specs/OneNativeVideoPlayerNativeComponent.cjs +25 -25
  410. package/dist/cjs/platform/specs/OneNativeVideoPlayerNativeComponent.native.cjs +25 -25
  411. package/dist/cjs/platform/specs/OneNativeVideoPlayerNativeComponent.native.js +25 -25
  412. package/dist/cjs/platform/specs/OneNativeVideoPlayerNativeComponent.native.js.map +2 -2
  413. package/dist/cjs/platform/specs/OneNativeViewThatFitsNativeComponent.cjs +23 -23
  414. package/dist/cjs/platform/specs/OneNativeViewThatFitsNativeComponent.native.cjs +23 -23
  415. package/dist/cjs/platform/specs/OneNativeViewThatFitsNativeComponent.native.js +23 -23
  416. package/dist/cjs/platform/specs/OneNativeViewThatFitsNativeComponent.native.js.map +2 -2
  417. package/dist/cjs/platform/specs/OneNativeWebViewNativeComponent.cjs +25 -25
  418. package/dist/cjs/platform/specs/OneNativeWebViewNativeComponent.native.cjs +25 -25
  419. package/dist/cjs/platform/specs/OneNativeWebViewNativeComponent.native.js +25 -25
  420. package/dist/cjs/platform/specs/OneNativeWebViewNativeComponent.native.js.map +2 -2
  421. package/dist/cjs/platform/specs/OneNativeZStackNativeComponent.cjs +23 -23
  422. package/dist/cjs/platform/specs/OneNativeZStackNativeComponent.native.cjs +23 -23
  423. package/dist/cjs/platform/specs/OneNativeZStackNativeComponent.native.js +23 -23
  424. package/dist/cjs/platform/specs/OneNativeZStackNativeComponent.native.js.map +2 -2
  425. package/dist/cjs/platform/specs/OneSwiftHostNativeComponent.cjs +23 -23
  426. package/dist/cjs/platform/specs/OneSwiftHostNativeComponent.native.cjs +23 -23
  427. package/dist/cjs/platform/specs/OneSwiftHostNativeComponent.native.js +23 -23
  428. package/dist/cjs/platform/specs/OneSwiftHostNativeComponent.native.js.map +2 -2
  429. package/dist/cjs/platform/ui/Pager.cjs +208 -0
  430. package/dist/cjs/platform/ui/Pager.native.cjs +75 -0
  431. package/dist/cjs/platform/ui/Pager.native.js +77 -0
  432. package/dist/cjs/platform/ui/Pager.native.js.map +1 -0
  433. package/dist/cjs/platform/ui/Portal.cjs +138 -0
  434. package/dist/cjs/platform/ui/Portal.native.cjs +48 -0
  435. package/dist/cjs/platform/ui/Portal.native.js +50 -0
  436. package/dist/cjs/platform/ui/Portal.native.js.map +1 -0
  437. package/dist/cjs/platform/ui/pagerTypes.cjs +42 -0
  438. package/dist/cjs/platform/ui/pagerTypes.native.cjs +45 -0
  439. package/dist/cjs/platform/ui/pagerTypes.native.js +47 -0
  440. package/dist/cjs/platform/ui/pagerTypes.native.js.map +1 -0
  441. package/dist/cjs/platform/ui/portalTypes.cjs +16 -0
  442. package/dist/cjs/platform/ui/portalTypes.native.cjs +18 -0
  443. package/dist/cjs/platform/ui/portalTypes.native.js +20 -0
  444. package/dist/cjs/platform/ui/portalTypes.native.js.map +1 -0
  445. package/dist/cjs/router/router.native.cjs +2 -1
  446. package/dist/cjs/router/router.native.js +2 -1
  447. package/dist/cjs/router/router.native.js.map +1 -1
  448. package/dist/esm/platform/AndroidMenu.mjs +4 -1
  449. package/dist/esm/platform/AndroidMenu.mjs.map +1 -1
  450. package/dist/esm/platform/AndroidMenu.native.js +6 -1
  451. package/dist/esm/platform/AndroidMenu.native.js.map +1 -1
  452. package/dist/esm/platform/Menu.native.js +14 -1
  453. package/dist/esm/platform/Menu.native.js.map +1 -1
  454. package/dist/esm/platform/Pager.native.js +1 -1
  455. package/dist/esm/platform/Pager.native.js.map +1 -1
  456. package/dist/esm/platform/effects/index.mjs +3 -1
  457. package/dist/esm/platform/effects/index.mjs.map +1 -1
  458. package/dist/esm/platform/effects/index.native.js +3 -1
  459. package/dist/esm/platform/menuItems.mjs +51 -0
  460. package/dist/esm/platform/menuItems.mjs.map +1 -1
  461. package/dist/esm/platform/menuItems.native.js +123 -49
  462. package/dist/esm/platform/menuItems.native.js.map +1 -1
  463. package/dist/esm/platform/specs/OneKotlinHostNativeComponent.mjs +8 -8
  464. package/dist/esm/platform/specs/OneKotlinHostNativeComponent.mjs.map +2 -2
  465. package/dist/esm/platform/specs/OneKotlinHostNativeComponent.native.js +8 -8
  466. package/dist/esm/platform/specs/OneKotlinHostNativeComponent.native.js.map +2 -2
  467. package/dist/esm/platform/specs/OneNativeAlertNativeComponent.mjs +8 -8
  468. package/dist/esm/platform/specs/OneNativeAlertNativeComponent.mjs.map +2 -2
  469. package/dist/esm/platform/specs/OneNativeAlertNativeComponent.native.js +8 -8
  470. package/dist/esm/platform/specs/OneNativeAlertNativeComponent.native.js.map +2 -2
  471. package/dist/esm/platform/specs/OneNativeAngularGradientNativeComponent.mjs +8 -8
  472. package/dist/esm/platform/specs/OneNativeAngularGradientNativeComponent.mjs.map +2 -2
  473. package/dist/esm/platform/specs/OneNativeAngularGradientNativeComponent.native.js +8 -8
  474. package/dist/esm/platform/specs/OneNativeAngularGradientNativeComponent.native.js.map +2 -2
  475. package/dist/esm/platform/specs/OneNativeArrangementSlotNativeComponent.mjs +6 -6
  476. package/dist/esm/platform/specs/OneNativeArrangementSlotNativeComponent.mjs.map +2 -2
  477. package/dist/esm/platform/specs/OneNativeArrangementSlotNativeComponent.native.js +6 -6
  478. package/dist/esm/platform/specs/OneNativeArrangementSlotNativeComponent.native.js.map +2 -2
  479. package/dist/esm/platform/specs/OneNativeArrangementViewNativeComponent.mjs +8 -8
  480. package/dist/esm/platform/specs/OneNativeArrangementViewNativeComponent.mjs.map +2 -2
  481. package/dist/esm/platform/specs/OneNativeArrangementViewNativeComponent.native.js +8 -8
  482. package/dist/esm/platform/specs/OneNativeArrangementViewNativeComponent.native.js.map +2 -2
  483. package/dist/esm/platform/specs/OneNativeBlurNativeComponent.mjs +6 -6
  484. package/dist/esm/platform/specs/OneNativeBlurNativeComponent.mjs.map +2 -2
  485. package/dist/esm/platform/specs/OneNativeBlurNativeComponent.native.js +6 -6
  486. package/dist/esm/platform/specs/OneNativeBlurNativeComponent.native.js.map +2 -2
  487. package/dist/esm/platform/specs/OneNativeButtonNativeComponent.mjs +8 -8
  488. package/dist/esm/platform/specs/OneNativeButtonNativeComponent.mjs.map +2 -2
  489. package/dist/esm/platform/specs/OneNativeButtonNativeComponent.native.js +8 -8
  490. package/dist/esm/platform/specs/OneNativeButtonNativeComponent.native.js.map +2 -2
  491. package/dist/esm/platform/specs/OneNativeCameraNativeComponent.mjs +8 -8
  492. package/dist/esm/platform/specs/OneNativeCameraNativeComponent.mjs.map +2 -2
  493. package/dist/esm/platform/specs/OneNativeCameraNativeComponent.native.js +8 -8
  494. package/dist/esm/platform/specs/OneNativeCameraNativeComponent.native.js.map +2 -2
  495. package/dist/esm/platform/specs/OneNativeCapsuleNativeComponent.mjs +8 -8
  496. package/dist/esm/platform/specs/OneNativeCapsuleNativeComponent.mjs.map +2 -2
  497. package/dist/esm/platform/specs/OneNativeCapsuleNativeComponent.native.js +8 -8
  498. package/dist/esm/platform/specs/OneNativeCapsuleNativeComponent.native.js.map +2 -2
  499. package/dist/esm/platform/specs/OneNativeCircleNativeComponent.mjs +8 -8
  500. package/dist/esm/platform/specs/OneNativeCircleNativeComponent.mjs.map +2 -2
  501. package/dist/esm/platform/specs/OneNativeCircleNativeComponent.native.js +8 -8
  502. package/dist/esm/platform/specs/OneNativeCircleNativeComponent.native.js.map +2 -2
  503. package/dist/esm/platform/specs/OneNativeColorPickerNativeComponent.mjs +8 -8
  504. package/dist/esm/platform/specs/OneNativeColorPickerNativeComponent.mjs.map +2 -2
  505. package/dist/esm/platform/specs/OneNativeColorPickerNativeComponent.native.js +8 -8
  506. package/dist/esm/platform/specs/OneNativeColorPickerNativeComponent.native.js.map +2 -2
  507. package/dist/esm/platform/specs/OneNativeComposeNodeNativeComponent.mjs +8 -8
  508. package/dist/esm/platform/specs/OneNativeComposeNodeNativeComponent.mjs.map +2 -2
  509. package/dist/esm/platform/specs/OneNativeComposeNodeNativeComponent.native.js +8 -8
  510. package/dist/esm/platform/specs/OneNativeComposeNodeNativeComponent.native.js.map +2 -2
  511. package/dist/esm/platform/specs/OneNativeConcentricRectangleNativeComponent.mjs +8 -8
  512. package/dist/esm/platform/specs/OneNativeConcentricRectangleNativeComponent.mjs.map +2 -2
  513. package/dist/esm/platform/specs/OneNativeConcentricRectangleNativeComponent.native.js +8 -8
  514. package/dist/esm/platform/specs/OneNativeConcentricRectangleNativeComponent.native.js.map +2 -2
  515. package/dist/esm/platform/specs/OneNativeConfirmationDialogNativeComponent.mjs +8 -8
  516. package/dist/esm/platform/specs/OneNativeConfirmationDialogNativeComponent.mjs.map +2 -2
  517. package/dist/esm/platform/specs/OneNativeConfirmationDialogNativeComponent.native.js +8 -8
  518. package/dist/esm/platform/specs/OneNativeConfirmationDialogNativeComponent.native.js.map +2 -2
  519. package/dist/esm/platform/specs/OneNativeContainerSlotNativeComponent.mjs +6 -6
  520. package/dist/esm/platform/specs/OneNativeContainerSlotNativeComponent.mjs.map +2 -2
  521. package/dist/esm/platform/specs/OneNativeContainerSlotNativeComponent.native.js +6 -6
  522. package/dist/esm/platform/specs/OneNativeContainerSlotNativeComponent.native.js.map +2 -2
  523. package/dist/esm/platform/specs/OneNativeContentUnavailableViewNativeComponent.mjs +8 -8
  524. package/dist/esm/platform/specs/OneNativeContentUnavailableViewNativeComponent.mjs.map +2 -2
  525. package/dist/esm/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.js +8 -8
  526. package/dist/esm/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.js.map +2 -2
  527. package/dist/esm/platform/specs/OneNativeControlGroupNativeComponent.mjs +6 -6
  528. package/dist/esm/platform/specs/OneNativeControlGroupNativeComponent.mjs.map +2 -2
  529. package/dist/esm/platform/specs/OneNativeControlGroupNativeComponent.native.js +6 -6
  530. package/dist/esm/platform/specs/OneNativeControlGroupNativeComponent.native.js.map +2 -2
  531. package/dist/esm/platform/specs/OneNativeDatePickerNativeComponent.mjs +8 -8
  532. package/dist/esm/platform/specs/OneNativeDatePickerNativeComponent.mjs.map +2 -2
  533. package/dist/esm/platform/specs/OneNativeDatePickerNativeComponent.native.js +8 -8
  534. package/dist/esm/platform/specs/OneNativeDatePickerNativeComponent.native.js.map +2 -2
  535. package/dist/esm/platform/specs/OneNativeDisclosureGroupNativeComponent.mjs +8 -8
  536. package/dist/esm/platform/specs/OneNativeDisclosureGroupNativeComponent.mjs.map +2 -2
  537. package/dist/esm/platform/specs/OneNativeDisclosureGroupNativeComponent.native.js +8 -8
  538. package/dist/esm/platform/specs/OneNativeDisclosureGroupNativeComponent.native.js.map +2 -2
  539. package/dist/esm/platform/specs/OneNativeDividerNativeComponent.mjs +6 -6
  540. package/dist/esm/platform/specs/OneNativeDividerNativeComponent.mjs.map +2 -2
  541. package/dist/esm/platform/specs/OneNativeDividerNativeComponent.native.js +6 -6
  542. package/dist/esm/platform/specs/OneNativeDividerNativeComponent.native.js.map +2 -2
  543. package/dist/esm/platform/specs/OneNativeEdgeFadeNativeComponent.mjs +6 -6
  544. package/dist/esm/platform/specs/OneNativeEdgeFadeNativeComponent.mjs.map +2 -2
  545. package/dist/esm/platform/specs/OneNativeEdgeFadeNativeComponent.native.js +6 -6
  546. package/dist/esm/platform/specs/OneNativeEdgeFadeNativeComponent.native.js.map +2 -2
  547. package/dist/esm/platform/specs/OneNativeEditButtonNativeComponent.mjs +8 -8
  548. package/dist/esm/platform/specs/OneNativeEditButtonNativeComponent.mjs.map +2 -2
  549. package/dist/esm/platform/specs/OneNativeEditButtonNativeComponent.native.js +8 -8
  550. package/dist/esm/platform/specs/OneNativeEditButtonNativeComponent.native.js.map +2 -2
  551. package/dist/esm/platform/specs/OneNativeEllipseNativeComponent.mjs +8 -8
  552. package/dist/esm/platform/specs/OneNativeEllipseNativeComponent.mjs.map +2 -2
  553. package/dist/esm/platform/specs/OneNativeEllipseNativeComponent.native.js +8 -8
  554. package/dist/esm/platform/specs/OneNativeEllipseNativeComponent.native.js.map +2 -2
  555. package/dist/esm/platform/specs/OneNativeEllipticalGradientNativeComponent.mjs +8 -8
  556. package/dist/esm/platform/specs/OneNativeEllipticalGradientNativeComponent.mjs.map +2 -2
  557. package/dist/esm/platform/specs/OneNativeEllipticalGradientNativeComponent.native.js +8 -8
  558. package/dist/esm/platform/specs/OneNativeEllipticalGradientNativeComponent.native.js.map +2 -2
  559. package/dist/esm/platform/specs/OneNativeEmptyViewNativeComponent.mjs +8 -8
  560. package/dist/esm/platform/specs/OneNativeEmptyViewNativeComponent.mjs.map +2 -2
  561. package/dist/esm/platform/specs/OneNativeEmptyViewNativeComponent.native.js +8 -8
  562. package/dist/esm/platform/specs/OneNativeEmptyViewNativeComponent.native.js.map +2 -2
  563. package/dist/esm/platform/specs/OneNativeFileImporterNativeComponent.mjs +8 -8
  564. package/dist/esm/platform/specs/OneNativeFileImporterNativeComponent.mjs.map +2 -2
  565. package/dist/esm/platform/specs/OneNativeFileImporterNativeComponent.native.js +8 -8
  566. package/dist/esm/platform/specs/OneNativeFileImporterNativeComponent.native.js.map +2 -2
  567. package/dist/esm/platform/specs/OneNativeFormNativeComponent.mjs +6 -6
  568. package/dist/esm/platform/specs/OneNativeFormNativeComponent.mjs.map +2 -2
  569. package/dist/esm/platform/specs/OneNativeFormNativeComponent.native.js +6 -6
  570. package/dist/esm/platform/specs/OneNativeFormNativeComponent.native.js.map +2 -2
  571. package/dist/esm/platform/specs/OneNativeGaugeNativeComponent.mjs +8 -8
  572. package/dist/esm/platform/specs/OneNativeGaugeNativeComponent.mjs.map +2 -2
  573. package/dist/esm/platform/specs/OneNativeGaugeNativeComponent.native.js +8 -8
  574. package/dist/esm/platform/specs/OneNativeGaugeNativeComponent.native.js.map +2 -2
  575. package/dist/esm/platform/specs/OneNativeGlassEffectContainerNativeComponent.mjs +6 -6
  576. package/dist/esm/platform/specs/OneNativeGlassEffectContainerNativeComponent.mjs.map +2 -2
  577. package/dist/esm/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.js +6 -6
  578. package/dist/esm/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.js.map +2 -2
  579. package/dist/esm/platform/specs/OneNativeGlassNativeComponent.mjs +6 -6
  580. package/dist/esm/platform/specs/OneNativeGlassNativeComponent.mjs.map +2 -2
  581. package/dist/esm/platform/specs/OneNativeGlassNativeComponent.native.js +6 -6
  582. package/dist/esm/platform/specs/OneNativeGlassNativeComponent.native.js.map +2 -2
  583. package/dist/esm/platform/specs/OneNativeGridNativeComponent.mjs +6 -6
  584. package/dist/esm/platform/specs/OneNativeGridNativeComponent.mjs.map +2 -2
  585. package/dist/esm/platform/specs/OneNativeGridNativeComponent.native.js +6 -6
  586. package/dist/esm/platform/specs/OneNativeGridNativeComponent.native.js.map +2 -2
  587. package/dist/esm/platform/specs/OneNativeGridRowNativeComponent.mjs +6 -6
  588. package/dist/esm/platform/specs/OneNativeGridRowNativeComponent.mjs.map +2 -2
  589. package/dist/esm/platform/specs/OneNativeGridRowNativeComponent.native.js +6 -6
  590. package/dist/esm/platform/specs/OneNativeGridRowNativeComponent.native.js.map +2 -2
  591. package/dist/esm/platform/specs/OneNativeGroupBoxNativeComponent.mjs +6 -6
  592. package/dist/esm/platform/specs/OneNativeGroupBoxNativeComponent.mjs.map +2 -2
  593. package/dist/esm/platform/specs/OneNativeGroupBoxNativeComponent.native.js +6 -6
  594. package/dist/esm/platform/specs/OneNativeGroupBoxNativeComponent.native.js.map +2 -2
  595. package/dist/esm/platform/specs/OneNativeGroupNativeComponent.mjs +6 -6
  596. package/dist/esm/platform/specs/OneNativeGroupNativeComponent.mjs.map +2 -2
  597. package/dist/esm/platform/specs/OneNativeGroupNativeComponent.native.js +6 -6
  598. package/dist/esm/platform/specs/OneNativeGroupNativeComponent.native.js.map +2 -2
  599. package/dist/esm/platform/specs/OneNativeHostNativeComponent.mjs +6 -6
  600. package/dist/esm/platform/specs/OneNativeHostNativeComponent.mjs.map +2 -2
  601. package/dist/esm/platform/specs/OneNativeHostNativeComponent.native.js +6 -6
  602. package/dist/esm/platform/specs/OneNativeHostNativeComponent.native.js.map +2 -2
  603. package/dist/esm/platform/specs/OneNativeImageNativeComponent.mjs +8 -8
  604. package/dist/esm/platform/specs/OneNativeImageNativeComponent.mjs.map +2 -2
  605. package/dist/esm/platform/specs/OneNativeImageNativeComponent.native.js +8 -8
  606. package/dist/esm/platform/specs/OneNativeImageNativeComponent.native.js.map +2 -2
  607. package/dist/esm/platform/specs/OneNativeLabelNativeComponent.mjs +8 -8
  608. package/dist/esm/platform/specs/OneNativeLabelNativeComponent.mjs.map +2 -2
  609. package/dist/esm/platform/specs/OneNativeLabelNativeComponent.native.js +8 -8
  610. package/dist/esm/platform/specs/OneNativeLabelNativeComponent.native.js.map +2 -2
  611. package/dist/esm/platform/specs/OneNativeLabeledContentNativeComponent.mjs +6 -6
  612. package/dist/esm/platform/specs/OneNativeLabeledContentNativeComponent.mjs.map +2 -2
  613. package/dist/esm/platform/specs/OneNativeLabeledContentNativeComponent.native.js +6 -6
  614. package/dist/esm/platform/specs/OneNativeLabeledContentNativeComponent.native.js.map +2 -2
  615. package/dist/esm/platform/specs/OneNativeLazyHGridNativeComponent.mjs +6 -6
  616. package/dist/esm/platform/specs/OneNativeLazyHGridNativeComponent.mjs.map +2 -2
  617. package/dist/esm/platform/specs/OneNativeLazyHGridNativeComponent.native.js +6 -6
  618. package/dist/esm/platform/specs/OneNativeLazyHGridNativeComponent.native.js.map +2 -2
  619. package/dist/esm/platform/specs/OneNativeLazyHStackNativeComponent.mjs +6 -6
  620. package/dist/esm/platform/specs/OneNativeLazyHStackNativeComponent.mjs.map +2 -2
  621. package/dist/esm/platform/specs/OneNativeLazyHStackNativeComponent.native.js +6 -6
  622. package/dist/esm/platform/specs/OneNativeLazyHStackNativeComponent.native.js.map +2 -2
  623. package/dist/esm/platform/specs/OneNativeLazyVGridNativeComponent.mjs +6 -6
  624. package/dist/esm/platform/specs/OneNativeLazyVGridNativeComponent.mjs.map +2 -2
  625. package/dist/esm/platform/specs/OneNativeLazyVGridNativeComponent.native.js +6 -6
  626. package/dist/esm/platform/specs/OneNativeLazyVGridNativeComponent.native.js.map +2 -2
  627. package/dist/esm/platform/specs/OneNativeLazyVStackNativeComponent.mjs +6 -6
  628. package/dist/esm/platform/specs/OneNativeLazyVStackNativeComponent.mjs.map +2 -2
  629. package/dist/esm/platform/specs/OneNativeLazyVStackNativeComponent.native.js +6 -6
  630. package/dist/esm/platform/specs/OneNativeLazyVStackNativeComponent.native.js.map +2 -2
  631. package/dist/esm/platform/specs/OneNativeLinearGradientNativeComponent.mjs +8 -8
  632. package/dist/esm/platform/specs/OneNativeLinearGradientNativeComponent.mjs.map +2 -2
  633. package/dist/esm/platform/specs/OneNativeLinearGradientNativeComponent.native.js +8 -8
  634. package/dist/esm/platform/specs/OneNativeLinearGradientNativeComponent.native.js.map +2 -2
  635. package/dist/esm/platform/specs/OneNativeLinkNativeComponent.mjs +6 -6
  636. package/dist/esm/platform/specs/OneNativeLinkNativeComponent.mjs.map +2 -2
  637. package/dist/esm/platform/specs/OneNativeLinkNativeComponent.native.js +6 -6
  638. package/dist/esm/platform/specs/OneNativeLinkNativeComponent.native.js.map +2 -2
  639. package/dist/esm/platform/specs/OneNativeListNativeComponent.mjs +8 -8
  640. package/dist/esm/platform/specs/OneNativeListNativeComponent.mjs.map +2 -2
  641. package/dist/esm/platform/specs/OneNativeListNativeComponent.native.js +8 -8
  642. package/dist/esm/platform/specs/OneNativeListNativeComponent.native.js.map +2 -2
  643. package/dist/esm/platform/specs/OneNativeLivePhotoViewNativeComponent.mjs +8 -8
  644. package/dist/esm/platform/specs/OneNativeLivePhotoViewNativeComponent.mjs.map +2 -2
  645. package/dist/esm/platform/specs/OneNativeLivePhotoViewNativeComponent.native.js +8 -8
  646. package/dist/esm/platform/specs/OneNativeLivePhotoViewNativeComponent.native.js.map +2 -2
  647. package/dist/esm/platform/specs/OneNativeMapNativeComponent.mjs +8 -8
  648. package/dist/esm/platform/specs/OneNativeMapNativeComponent.mjs.map +2 -2
  649. package/dist/esm/platform/specs/OneNativeMapNativeComponent.native.js +8 -8
  650. package/dist/esm/platform/specs/OneNativeMapNativeComponent.native.js.map +2 -2
  651. package/dist/esm/platform/specs/OneNativeMaskNativeComponent.mjs +6 -6
  652. package/dist/esm/platform/specs/OneNativeMaskNativeComponent.mjs.map +2 -2
  653. package/dist/esm/platform/specs/OneNativeMaskNativeComponent.native.js +6 -6
  654. package/dist/esm/platform/specs/OneNativeMaskNativeComponent.native.js.map +2 -2
  655. package/dist/esm/platform/specs/OneNativeMenuNativeComponent.mjs +14 -9
  656. package/dist/esm/platform/specs/OneNativeMenuNativeComponent.mjs.map +3 -3
  657. package/dist/esm/platform/specs/OneNativeMenuNativeComponent.native.js +14 -9
  658. package/dist/esm/platform/specs/OneNativeMenuNativeComponent.native.js.map +3 -3
  659. package/dist/esm/platform/specs/OneNativeMeshGradientNativeComponent.mjs +8 -8
  660. package/dist/esm/platform/specs/OneNativeMeshGradientNativeComponent.mjs.map +2 -2
  661. package/dist/esm/platform/specs/OneNativeMeshGradientNativeComponent.native.js +8 -8
  662. package/dist/esm/platform/specs/OneNativeMeshGradientNativeComponent.native.js.map +2 -2
  663. package/dist/esm/platform/specs/OneNativeNavigationStackContentNativeComponent.mjs +6 -6
  664. package/dist/esm/platform/specs/OneNativeNavigationStackContentNativeComponent.mjs.map +2 -2
  665. package/dist/esm/platform/specs/OneNativeNavigationStackContentNativeComponent.native.js +6 -6
  666. package/dist/esm/platform/specs/OneNativeNavigationStackContentNativeComponent.native.js.map +2 -2
  667. package/dist/esm/platform/specs/OneNativeNavigationStackNativeComponent.mjs +8 -8
  668. package/dist/esm/platform/specs/OneNativeNavigationStackNativeComponent.mjs.map +2 -2
  669. package/dist/esm/platform/specs/OneNativeNavigationStackNativeComponent.native.js +8 -8
  670. package/dist/esm/platform/specs/OneNativeNavigationStackNativeComponent.native.js.map +2 -2
  671. package/dist/esm/platform/specs/OneNativeOverlayContentNativeComponent.mjs +6 -6
  672. package/dist/esm/platform/specs/OneNativeOverlayContentNativeComponent.mjs.map +2 -2
  673. package/dist/esm/platform/specs/OneNativeOverlayContentNativeComponent.native.js +6 -6
  674. package/dist/esm/platform/specs/OneNativeOverlayContentNativeComponent.native.js.map +2 -2
  675. package/dist/esm/platform/specs/OneNativeOverlayNativeComponent.mjs +8 -8
  676. package/dist/esm/platform/specs/OneNativeOverlayNativeComponent.mjs.map +2 -2
  677. package/dist/esm/platform/specs/OneNativeOverlayNativeComponent.native.js +8 -8
  678. package/dist/esm/platform/specs/OneNativeOverlayNativeComponent.native.js.map +2 -2
  679. package/dist/esm/platform/specs/OneNativePagerNativeComponent.mjs +43 -14
  680. package/dist/esm/platform/specs/OneNativePagerNativeComponent.mjs.map +3 -3
  681. package/dist/esm/platform/specs/OneNativePagerNativeComponent.native.js +43 -14
  682. package/dist/esm/platform/specs/OneNativePagerNativeComponent.native.js.map +3 -3
  683. package/dist/esm/platform/specs/OneNativePasteButtonNativeComponent.mjs +8 -8
  684. package/dist/esm/platform/specs/OneNativePasteButtonNativeComponent.mjs.map +2 -2
  685. package/dist/esm/platform/specs/OneNativePasteButtonNativeComponent.native.js +8 -8
  686. package/dist/esm/platform/specs/OneNativePasteButtonNativeComponent.native.js.map +2 -2
  687. package/dist/esm/platform/specs/OneNativePhotosPickerNativeComponent.mjs +8 -8
  688. package/dist/esm/platform/specs/OneNativePhotosPickerNativeComponent.mjs.map +2 -2
  689. package/dist/esm/platform/specs/OneNativePhotosPickerNativeComponent.native.js +8 -8
  690. package/dist/esm/platform/specs/OneNativePhotosPickerNativeComponent.native.js.map +2 -2
  691. package/dist/esm/platform/specs/OneNativePickerNativeComponent.mjs +8 -8
  692. package/dist/esm/platform/specs/OneNativePickerNativeComponent.mjs.map +2 -2
  693. package/dist/esm/platform/specs/OneNativePickerNativeComponent.native.js +8 -8
  694. package/dist/esm/platform/specs/OneNativePickerNativeComponent.native.js.map +2 -2
  695. package/dist/esm/platform/specs/OneNativePictureInPictureNativeComponent.mjs +8 -8
  696. package/dist/esm/platform/specs/OneNativePictureInPictureNativeComponent.mjs.map +2 -2
  697. package/dist/esm/platform/specs/OneNativePictureInPictureNativeComponent.native.js +8 -8
  698. package/dist/esm/platform/specs/OneNativePictureInPictureNativeComponent.native.js.map +2 -2
  699. package/dist/esm/platform/specs/OneNativePopoverContentNativeComponent.mjs +6 -6
  700. package/dist/esm/platform/specs/OneNativePopoverContentNativeComponent.mjs.map +2 -2
  701. package/dist/esm/platform/specs/OneNativePopoverContentNativeComponent.native.js +6 -6
  702. package/dist/esm/platform/specs/OneNativePopoverContentNativeComponent.native.js.map +2 -2
  703. package/dist/esm/platform/specs/OneNativePopoverNativeComponent.mjs +8 -8
  704. package/dist/esm/platform/specs/OneNativePopoverNativeComponent.mjs.map +2 -2
  705. package/dist/esm/platform/specs/OneNativePopoverNativeComponent.native.js +8 -8
  706. package/dist/esm/platform/specs/OneNativePopoverNativeComponent.native.js.map +2 -2
  707. package/dist/esm/platform/specs/OneNativePortalHostViewNativeComponent.mjs +14 -0
  708. package/dist/esm/platform/specs/OneNativePortalHostViewNativeComponent.mjs.map +7 -0
  709. package/dist/esm/platform/specs/OneNativePortalHostViewNativeComponent.native.js +14 -0
  710. package/dist/esm/platform/specs/OneNativePortalHostViewNativeComponent.native.js.map +7 -0
  711. package/dist/esm/platform/specs/OneNativePortalViewNativeComponent.mjs +15 -0
  712. package/dist/esm/platform/specs/OneNativePortalViewNativeComponent.mjs.map +7 -0
  713. package/dist/esm/platform/specs/OneNativePortalViewNativeComponent.native.js +15 -0
  714. package/dist/esm/platform/specs/OneNativePortalViewNativeComponent.native.js.map +7 -0
  715. package/dist/esm/platform/specs/OneNativeProgressViewNativeComponent.mjs +8 -8
  716. package/dist/esm/platform/specs/OneNativeProgressViewNativeComponent.mjs.map +2 -2
  717. package/dist/esm/platform/specs/OneNativeProgressViewNativeComponent.native.js +8 -8
  718. package/dist/esm/platform/specs/OneNativeProgressViewNativeComponent.native.js.map +2 -2
  719. package/dist/esm/platform/specs/OneNativeQuickLookNativeComponent.mjs +8 -8
  720. package/dist/esm/platform/specs/OneNativeQuickLookNativeComponent.mjs.map +2 -2
  721. package/dist/esm/platform/specs/OneNativeQuickLookNativeComponent.native.js +8 -8
  722. package/dist/esm/platform/specs/OneNativeQuickLookNativeComponent.native.js.map +2 -2
  723. package/dist/esm/platform/specs/OneNativeRadialGradientNativeComponent.mjs +8 -8
  724. package/dist/esm/platform/specs/OneNativeRadialGradientNativeComponent.mjs.map +2 -2
  725. package/dist/esm/platform/specs/OneNativeRadialGradientNativeComponent.native.js +8 -8
  726. package/dist/esm/platform/specs/OneNativeRadialGradientNativeComponent.native.js.map +2 -2
  727. package/dist/esm/platform/specs/OneNativeRectangleNativeComponent.mjs +8 -8
  728. package/dist/esm/platform/specs/OneNativeRectangleNativeComponent.mjs.map +2 -2
  729. package/dist/esm/platform/specs/OneNativeRectangleNativeComponent.native.js +8 -8
  730. package/dist/esm/platform/specs/OneNativeRectangleNativeComponent.native.js.map +2 -2
  731. package/dist/esm/platform/specs/OneNativeReservedRegionsProviderNativeComponent.mjs +8 -8
  732. package/dist/esm/platform/specs/OneNativeReservedRegionsProviderNativeComponent.mjs.map +2 -2
  733. package/dist/esm/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.js +8 -8
  734. package/dist/esm/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.js.map +2 -2
  735. package/dist/esm/platform/specs/OneNativeRoundedRectangleNativeComponent.mjs +8 -8
  736. package/dist/esm/platform/specs/OneNativeRoundedRectangleNativeComponent.mjs.map +2 -2
  737. package/dist/esm/platform/specs/OneNativeRoundedRectangleNativeComponent.native.js +8 -8
  738. package/dist/esm/platform/specs/OneNativeRoundedRectangleNativeComponent.native.js.map +2 -2
  739. package/dist/esm/platform/specs/OneNativeSafeAreaProviderNativeComponent.mjs +8 -8
  740. package/dist/esm/platform/specs/OneNativeSafeAreaProviderNativeComponent.mjs.map +2 -2
  741. package/dist/esm/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.js +8 -8
  742. package/dist/esm/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.js.map +2 -2
  743. package/dist/esm/platform/specs/OneNativeScrollViewNativeComponent.mjs +8 -8
  744. package/dist/esm/platform/specs/OneNativeScrollViewNativeComponent.mjs.map +2 -2
  745. package/dist/esm/platform/specs/OneNativeScrollViewNativeComponent.native.js +8 -8
  746. package/dist/esm/platform/specs/OneNativeScrollViewNativeComponent.native.js.map +2 -2
  747. package/dist/esm/platform/specs/OneNativeSectionNativeComponent.mjs +8 -8
  748. package/dist/esm/platform/specs/OneNativeSectionNativeComponent.mjs.map +2 -2
  749. package/dist/esm/platform/specs/OneNativeSectionNativeComponent.native.js +8 -8
  750. package/dist/esm/platform/specs/OneNativeSectionNativeComponent.native.js.map +2 -2
  751. package/dist/esm/platform/specs/OneNativeSecureFieldNativeComponent.mjs +8 -8
  752. package/dist/esm/platform/specs/OneNativeSecureFieldNativeComponent.mjs.map +2 -2
  753. package/dist/esm/platform/specs/OneNativeSecureFieldNativeComponent.native.js +8 -8
  754. package/dist/esm/platform/specs/OneNativeSecureFieldNativeComponent.native.js.map +2 -2
  755. package/dist/esm/platform/specs/OneNativeShareLinkNativeComponent.mjs +8 -8
  756. package/dist/esm/platform/specs/OneNativeShareLinkNativeComponent.mjs.map +2 -2
  757. package/dist/esm/platform/specs/OneNativeShareLinkNativeComponent.native.js +8 -8
  758. package/dist/esm/platform/specs/OneNativeShareLinkNativeComponent.native.js.map +2 -2
  759. package/dist/esm/platform/specs/OneNativeSheetContentNativeComponent.mjs +6 -6
  760. package/dist/esm/platform/specs/OneNativeSheetContentNativeComponent.mjs.map +2 -2
  761. package/dist/esm/platform/specs/OneNativeSheetContentNativeComponent.native.js +6 -6
  762. package/dist/esm/platform/specs/OneNativeSheetContentNativeComponent.native.js.map +2 -2
  763. package/dist/esm/platform/specs/OneNativeSheetNativeComponent.mjs +8 -8
  764. package/dist/esm/platform/specs/OneNativeSheetNativeComponent.mjs.map +2 -2
  765. package/dist/esm/platform/specs/OneNativeSheetNativeComponent.native.js +8 -8
  766. package/dist/esm/platform/specs/OneNativeSheetNativeComponent.native.js.map +2 -2
  767. package/dist/esm/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.mjs +8 -8
  768. package/dist/esm/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.mjs.map +2 -2
  769. package/dist/esm/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.js +8 -8
  770. package/dist/esm/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.js.map +2 -2
  771. package/dist/esm/platform/specs/OneNativeSliderNativeComponent.mjs +8 -8
  772. package/dist/esm/platform/specs/OneNativeSliderNativeComponent.mjs.map +2 -2
  773. package/dist/esm/platform/specs/OneNativeSliderNativeComponent.native.js +8 -8
  774. package/dist/esm/platform/specs/OneNativeSliderNativeComponent.native.js.map +2 -2
  775. package/dist/esm/platform/specs/OneNativeSpacerNativeComponent.mjs +6 -6
  776. package/dist/esm/platform/specs/OneNativeSpacerNativeComponent.mjs.map +2 -2
  777. package/dist/esm/platform/specs/OneNativeSpacerNativeComponent.native.js +6 -6
  778. package/dist/esm/platform/specs/OneNativeSpacerNativeComponent.native.js.map +2 -2
  779. package/dist/esm/platform/specs/OneNativeStepperNativeComponent.mjs +8 -8
  780. package/dist/esm/platform/specs/OneNativeStepperNativeComponent.mjs.map +2 -2
  781. package/dist/esm/platform/specs/OneNativeStepperNativeComponent.native.js +8 -8
  782. package/dist/esm/platform/specs/OneNativeStepperNativeComponent.native.js.map +2 -2
  783. package/dist/esm/platform/specs/OneNativeSwiftPagerNativeComponent.mjs +27 -0
  784. package/dist/esm/platform/specs/OneNativeSwiftPagerNativeComponent.mjs.map +7 -0
  785. package/dist/esm/platform/specs/OneNativeSwiftPagerNativeComponent.native.js +27 -0
  786. package/dist/esm/platform/specs/OneNativeSwiftPagerNativeComponent.native.js.map +7 -0
  787. package/dist/esm/platform/specs/OneNativeSwipeActionsActionsNativeComponent.mjs +6 -6
  788. package/dist/esm/platform/specs/OneNativeSwipeActionsActionsNativeComponent.mjs.map +2 -2
  789. package/dist/esm/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.js +6 -6
  790. package/dist/esm/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.js.map +2 -2
  791. package/dist/esm/platform/specs/OneNativeSwipeActionsNativeComponent.mjs +6 -6
  792. package/dist/esm/platform/specs/OneNativeSwipeActionsNativeComponent.mjs.map +2 -2
  793. package/dist/esm/platform/specs/OneNativeSwipeActionsNativeComponent.native.js +6 -6
  794. package/dist/esm/platform/specs/OneNativeSwipeActionsNativeComponent.native.js.map +2 -2
  795. package/dist/esm/platform/specs/OneNativeTabNativeComponent.mjs +8 -8
  796. package/dist/esm/platform/specs/OneNativeTabNativeComponent.mjs.map +2 -2
  797. package/dist/esm/platform/specs/OneNativeTabNativeComponent.native.js +8 -8
  798. package/dist/esm/platform/specs/OneNativeTabNativeComponent.native.js.map +2 -2
  799. package/dist/esm/platform/specs/OneNativeTabsNativeComponent.mjs +8 -8
  800. package/dist/esm/platform/specs/OneNativeTabsNativeComponent.mjs.map +2 -2
  801. package/dist/esm/platform/specs/OneNativeTabsNativeComponent.native.js +8 -8
  802. package/dist/esm/platform/specs/OneNativeTabsNativeComponent.native.js.map +2 -2
  803. package/dist/esm/platform/specs/OneNativeTextEditorNativeComponent.mjs +8 -8
  804. package/dist/esm/platform/specs/OneNativeTextEditorNativeComponent.mjs.map +2 -2
  805. package/dist/esm/platform/specs/OneNativeTextEditorNativeComponent.native.js +8 -8
  806. package/dist/esm/platform/specs/OneNativeTextEditorNativeComponent.native.js.map +2 -2
  807. package/dist/esm/platform/specs/OneNativeTextFieldNativeComponent.mjs +8 -8
  808. package/dist/esm/platform/specs/OneNativeTextFieldNativeComponent.mjs.map +2 -2
  809. package/dist/esm/platform/specs/OneNativeTextFieldNativeComponent.native.js +8 -8
  810. package/dist/esm/platform/specs/OneNativeTextFieldNativeComponent.native.js.map +2 -2
  811. package/dist/esm/platform/specs/OneNativeTextNativeComponent.mjs +8 -8
  812. package/dist/esm/platform/specs/OneNativeTextNativeComponent.mjs.map +2 -2
  813. package/dist/esm/platform/specs/OneNativeTextNativeComponent.native.js +8 -8
  814. package/dist/esm/platform/specs/OneNativeTextNativeComponent.native.js.map +2 -2
  815. package/dist/esm/platform/specs/OneNativeToggleNativeComponent.mjs +8 -8
  816. package/dist/esm/platform/specs/OneNativeToggleNativeComponent.mjs.map +2 -2
  817. package/dist/esm/platform/specs/OneNativeToggleNativeComponent.native.js +8 -8
  818. package/dist/esm/platform/specs/OneNativeToggleNativeComponent.native.js.map +2 -2
  819. package/dist/esm/platform/specs/OneNativeToolbarItemGroupNativeComponent.mjs +8 -8
  820. package/dist/esm/platform/specs/OneNativeToolbarItemGroupNativeComponent.mjs.map +2 -2
  821. package/dist/esm/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.js +8 -8
  822. package/dist/esm/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.js.map +2 -2
  823. package/dist/esm/platform/specs/OneNativeToolbarItemNativeComponent.mjs +8 -8
  824. package/dist/esm/platform/specs/OneNativeToolbarItemNativeComponent.mjs.map +2 -2
  825. package/dist/esm/platform/specs/OneNativeToolbarItemNativeComponent.native.js +8 -8
  826. package/dist/esm/platform/specs/OneNativeToolbarItemNativeComponent.native.js.map +2 -2
  827. package/dist/esm/platform/specs/OneNativeToolbarNativeComponent.mjs +6 -6
  828. package/dist/esm/platform/specs/OneNativeToolbarNativeComponent.mjs.map +2 -2
  829. package/dist/esm/platform/specs/OneNativeToolbarNativeComponent.native.js +6 -6
  830. package/dist/esm/platform/specs/OneNativeToolbarNativeComponent.native.js.map +2 -2
  831. package/dist/esm/platform/specs/OneNativeToolbarSpacerNativeComponent.mjs +6 -6
  832. package/dist/esm/platform/specs/OneNativeToolbarSpacerNativeComponent.mjs.map +2 -2
  833. package/dist/esm/platform/specs/OneNativeToolbarSpacerNativeComponent.native.js +6 -6
  834. package/dist/esm/platform/specs/OneNativeToolbarSpacerNativeComponent.native.js.map +2 -2
  835. package/dist/esm/platform/specs/OneNativeUiMapNativeComponent.mjs +8 -8
  836. package/dist/esm/platform/specs/OneNativeUiMapNativeComponent.mjs.map +2 -2
  837. package/dist/esm/platform/specs/OneNativeUiMapNativeComponent.native.js +8 -8
  838. package/dist/esm/platform/specs/OneNativeUiMapNativeComponent.native.js.map +2 -2
  839. package/dist/esm/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.mjs +8 -8
  840. package/dist/esm/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.mjs.map +2 -2
  841. package/dist/esm/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.js +8 -8
  842. package/dist/esm/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.js.map +2 -2
  843. package/dist/esm/platform/specs/OneNativeVideoPlayerNativeComponent.mjs +8 -8
  844. package/dist/esm/platform/specs/OneNativeVideoPlayerNativeComponent.mjs.map +2 -2
  845. package/dist/esm/platform/specs/OneNativeVideoPlayerNativeComponent.native.js +8 -8
  846. package/dist/esm/platform/specs/OneNativeVideoPlayerNativeComponent.native.js.map +2 -2
  847. package/dist/esm/platform/specs/OneNativeViewThatFitsNativeComponent.mjs +6 -6
  848. package/dist/esm/platform/specs/OneNativeViewThatFitsNativeComponent.mjs.map +2 -2
  849. package/dist/esm/platform/specs/OneNativeViewThatFitsNativeComponent.native.js +6 -6
  850. package/dist/esm/platform/specs/OneNativeViewThatFitsNativeComponent.native.js.map +2 -2
  851. package/dist/esm/platform/specs/OneNativeWebViewNativeComponent.mjs +8 -8
  852. package/dist/esm/platform/specs/OneNativeWebViewNativeComponent.mjs.map +2 -2
  853. package/dist/esm/platform/specs/OneNativeWebViewNativeComponent.native.js +8 -8
  854. package/dist/esm/platform/specs/OneNativeWebViewNativeComponent.native.js.map +2 -2
  855. package/dist/esm/platform/specs/OneNativeZStackNativeComponent.mjs +6 -6
  856. package/dist/esm/platform/specs/OneNativeZStackNativeComponent.mjs.map +2 -2
  857. package/dist/esm/platform/specs/OneNativeZStackNativeComponent.native.js +6 -6
  858. package/dist/esm/platform/specs/OneNativeZStackNativeComponent.native.js.map +2 -2
  859. package/dist/esm/platform/specs/OneSwiftHostNativeComponent.mjs +6 -6
  860. package/dist/esm/platform/specs/OneSwiftHostNativeComponent.mjs.map +2 -2
  861. package/dist/esm/platform/specs/OneSwiftHostNativeComponent.native.js +6 -6
  862. package/dist/esm/platform/specs/OneSwiftHostNativeComponent.native.js.map +2 -2
  863. package/dist/esm/platform/ui/Pager.mjs +189 -0
  864. package/dist/esm/platform/ui/Pager.mjs.map +1 -0
  865. package/dist/esm/platform/ui/Pager.native.js +48 -0
  866. package/dist/esm/platform/ui/Pager.native.js.map +1 -0
  867. package/dist/esm/platform/ui/Portal.mjs +116 -0
  868. package/dist/esm/platform/ui/Portal.mjs.map +1 -0
  869. package/dist/esm/platform/ui/Portal.native.js +18 -0
  870. package/dist/esm/platform/ui/Portal.native.js.map +1 -0
  871. package/dist/esm/platform/ui/pagerTypes.mjs +19 -0
  872. package/dist/esm/platform/ui/pagerTypes.mjs.map +1 -0
  873. package/dist/esm/platform/ui/pagerTypes.native.js +20 -0
  874. package/dist/esm/platform/ui/pagerTypes.native.js.map +1 -0
  875. package/dist/esm/platform/ui/portalTypes.mjs +0 -0
  876. package/dist/esm/platform/ui/portalTypes.native.js +0 -0
  877. package/dist/esm/router/router.native.js +2 -1
  878. package/dist/esm/router/router.native.js.map +1 -1
  879. package/ios/Generated/OneNativeMenuContent.swift +5 -0
  880. package/ios/Generated/OneNativeMenuPayload.h +2 -1
  881. package/ios/OneNativeMenuComponentView.mm +8 -1
  882. package/ios/OneNativeMenuView.swift +55 -1
  883. package/ios/OneNativePagerComponentView.h +1 -2
  884. package/ios/OneNativePagerComponentView.mm +138 -59
  885. package/ios/OneNativePortalHostView.mm +32 -0
  886. package/ios/OneNativePortalRegistry.h +23 -0
  887. package/ios/OneNativePortalRegistry.mm +65 -0
  888. package/ios/OneNativePortalView.mm +92 -0
  889. package/ios/OneNativeSwiftPagerComponentView.h +6 -0
  890. package/ios/OneNativeSwiftPagerComponentView.mm +91 -0
  891. package/ios/{OneNativePagerView.swift → OneNativeSwiftPagerView.swift} +3 -3
  892. package/package.json +15 -11
  893. package/react-native.config.cjs +7 -0
  894. package/schema.json +91 -1
  895. package/src/index.ts +4 -0
  896. package/src/nativeCoverage.test.ts +1 -1
  897. package/src/platform/AndroidMenu.test.tsx +37 -2
  898. package/src/platform/AndroidMenu.tsx +4 -0
  899. package/src/platform/Menu.native.tsx +14 -0
  900. package/src/platform/Pager.native.tsx +1 -1
  901. package/src/platform/README.md +12 -4
  902. package/src/platform/effects/index.native.ts +11 -0
  903. package/src/platform/effects/index.ts +11 -0
  904. package/src/platform/generated/types.ts +14 -0
  905. package/src/platform/index.native.ts +81 -15
  906. package/src/platform/index.ts +73 -13
  907. package/src/platform/menuItems.ts +89 -0
  908. package/src/platform/specs/OneNativeMenuNativeComponent.ts +5 -0
  909. package/src/platform/specs/OneNativePagerNativeComponent.ts +40 -10
  910. package/src/platform/specs/OneNativePortalHostViewNativeComponent.ts +9 -0
  911. package/src/platform/specs/OneNativePortalViewNativeComponent.ts +12 -0
  912. package/src/platform/specs/OneNativeSwiftPagerNativeComponent.ts +15 -0
  913. package/src/platform/ui/Pager.native.tsx +71 -0
  914. package/src/platform/ui/Pager.tsx +227 -0
  915. package/src/platform/ui/Portal.native.tsx +10 -0
  916. package/src/platform/ui/Portal.tsx +141 -0
  917. package/src/platform/ui/pagerTypes.ts +64 -0
  918. package/src/platform/ui/portalTypes.ts +8 -0
  919. package/src/router/linkToColdRoute.test.ts +89 -0
  920. package/src/router/router.ts +11 -2
  921. package/types/index.d.ts +2 -1
  922. package/types/index.d.ts.map +1 -1
  923. package/types/platform/AndroidMenu.d.ts.map +1 -1
  924. package/types/platform/effects/index.d.ts +4 -0
  925. package/types/platform/effects/index.d.ts.map +1 -1
  926. package/types/platform/effects/index.native.d.ts +4 -0
  927. package/types/platform/effects/index.native.d.ts.map +1 -1
  928. package/types/platform/generated/types.d.ts +13 -1
  929. package/types/platform/generated/types.d.ts.map +1 -1
  930. package/types/platform/index.d.ts +11 -9
  931. package/types/platform/index.d.ts.map +1 -1
  932. package/types/platform/index.native.d.ts +13 -11
  933. package/types/platform/index.native.d.ts.map +1 -1
  934. package/types/platform/menuItems.d.ts.map +1 -1
  935. package/types/platform/specs/OneNativeMenuNativeComponent.d.ts +8 -0
  936. package/types/platform/specs/OneNativeMenuNativeComponent.d.ts.map +1 -1
  937. package/types/platform/specs/OneNativePagerNativeComponent.d.ts +27 -9
  938. package/types/platform/specs/OneNativePagerNativeComponent.d.ts.map +1 -1
  939. package/types/platform/specs/OneNativePortalHostViewNativeComponent.d.ts +7 -0
  940. package/types/platform/specs/OneNativePortalHostViewNativeComponent.d.ts.map +1 -0
  941. package/types/platform/specs/OneNativePortalViewNativeComponent.d.ts +8 -0
  942. package/types/platform/specs/OneNativePortalViewNativeComponent.d.ts.map +1 -0
  943. package/types/platform/specs/OneNativeSwiftPagerNativeComponent.d.ts +15 -0
  944. package/types/platform/specs/OneNativeSwiftPagerNativeComponent.d.ts.map +1 -0
  945. package/types/platform/ui/Pager.d.ts +18 -0
  946. package/types/platform/ui/Pager.d.ts.map +1 -0
  947. package/types/platform/ui/Pager.native.d.ts +19 -0
  948. package/types/platform/ui/Pager.native.d.ts.map +1 -0
  949. package/types/platform/ui/Portal.d.ts +5 -0
  950. package/types/platform/ui/Portal.d.ts.map +1 -0
  951. package/types/platform/ui/Portal.native.d.ts +5 -0
  952. package/types/platform/ui/Portal.native.d.ts.map +1 -0
  953. package/types/platform/ui/pagerTypes.d.ts +41 -0
  954. package/types/platform/ui/pagerTypes.d.ts.map +1 -0
  955. package/types/platform/ui/portalTypes.d.ts +12 -0
  956. package/types/platform/ui/portalTypes.d.ts.map +1 -0
  957. package/types/router/router.d.ts.map +1 -1
@@ -54,7 +54,7 @@ function ContextMenu(props) {
54
54
  });
55
55
  }
56
56
  function MenuPresentation(param) {
57
- var { items, onAction, primaryAction, children, onValueChange, revision = 0, menuOrder = "automatic", menuActionDismissBehavior = "automatic", disabled = false, accessibilityLabel, presentation, ...props } = param;
57
+ var { items, onAction, primaryAction, children, onValueChange, onPickerChange, revision = 0, menuOrder = "automatic", menuActionDismissBehavior = "automatic", disabled = false, accessibilityLabel, presentation, ...props } = param;
58
58
  var iosVersion = Number.parseFloat(String(import_react_native.Platform.Version));
59
59
  (0, import_swiftui.assertSwiftUIValue)("MenuOrder", menuOrder, iosVersion);
60
60
  (0, import_swiftui.assertSwiftUIValue)("MenuActionDismissBehavior", menuActionDismissBehavior, iosVersion);
@@ -67,14 +67,23 @@ function MenuPresentation(param) {
67
67
  var name = presentation === "contextMenu" ? "ContextMenu" : "Menu";
68
68
  throw new Error(`Swift.${name} with toggles requires onValueChange`);
69
69
  }
70
+ if (!onPickerChange && nativeItems.some(function(item) {
71
+ return item.type === "picker";
72
+ })) {
73
+ throw new Error("Swift.Menu with a Picker requires onPickerChange");
74
+ }
70
75
  var controlled = (0, import_controlled.useControlled)(function(event) {
71
76
  return onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(event.id, event.value, event.sourceIndex);
72
77
  }, revision);
78
+ var pickerControlled = (0, import_controlled.useControlled)(function(event) {
79
+ return onPickerChange === null || onPickerChange === void 0 ? void 0 : onPickerChange(event.id, event.value);
80
+ }, revision);
73
81
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativeMenuNativeComponent.default, {
74
82
  ...props,
75
83
  items: nativeItems,
76
84
  revision,
77
85
  acknowledgedEvent: controlled.acknowledgedEvent,
86
+ pickerAcknowledgedEvent: pickerControlled.acknowledgedEvent,
78
87
  menuOrder,
79
88
  menuActionDismissBehavior,
80
89
  triggerLabel: accessibilityLabel,
@@ -92,6 +101,10 @@ function MenuPresentation(param) {
92
101
  var { nativeEvent } = param2;
93
102
  return controlled.onNativeChange(nativeEvent);
94
103
  },
104
+ onNativeMenuPickerChange: function(param2) {
105
+ var { nativeEvent } = param2;
106
+ return pickerControlled.onNativeChange(nativeEvent);
107
+ },
95
108
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native.View, {
96
109
  collapsable: false,
97
110
  children
@@ -54,7 +54,7 @@ function ContextMenu(props) {
54
54
  });
55
55
  }
56
56
  function MenuPresentation(param) {
57
- var { items, onAction, primaryAction, children, onValueChange, revision = 0, menuOrder = "automatic", menuActionDismissBehavior = "automatic", disabled = false, accessibilityLabel, presentation, ...props } = param;
57
+ var { items, onAction, primaryAction, children, onValueChange, onPickerChange, revision = 0, menuOrder = "automatic", menuActionDismissBehavior = "automatic", disabled = false, accessibilityLabel, presentation, ...props } = param;
58
58
  var iosVersion = Number.parseFloat(String(import_react_native.Platform.Version));
59
59
  (0, import_swiftui.assertSwiftUIValue)("MenuOrder", menuOrder, iosVersion);
60
60
  (0, import_swiftui.assertSwiftUIValue)("MenuActionDismissBehavior", menuActionDismissBehavior, iosVersion);
@@ -67,14 +67,23 @@ function MenuPresentation(param) {
67
67
  var name = presentation === "contextMenu" ? "ContextMenu" : "Menu";
68
68
  throw new Error(`Swift.${name} with toggles requires onValueChange`);
69
69
  }
70
+ if (!onPickerChange && nativeItems.some(function(item) {
71
+ return item.type === "picker";
72
+ })) {
73
+ throw new Error("Swift.Menu with a Picker requires onPickerChange");
74
+ }
70
75
  var controlled = (0, import_controlled.useControlled)(function(event) {
71
76
  return onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(event.id, event.value, event.sourceIndex);
72
77
  }, revision);
78
+ var pickerControlled = (0, import_controlled.useControlled)(function(event) {
79
+ return onPickerChange === null || onPickerChange === void 0 ? void 0 : onPickerChange(event.id, event.value);
80
+ }, revision);
73
81
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativeMenuNativeComponent.default, {
74
82
  ...props,
75
83
  items: nativeItems,
76
84
  revision,
77
85
  acknowledgedEvent: controlled.acknowledgedEvent,
86
+ pickerAcknowledgedEvent: pickerControlled.acknowledgedEvent,
78
87
  menuOrder,
79
88
  menuActionDismissBehavior,
80
89
  triggerLabel: accessibilityLabel,
@@ -92,6 +101,10 @@ function MenuPresentation(param) {
92
101
  var { nativeEvent } = param2;
93
102
  return controlled.onNativeChange(nativeEvent);
94
103
  },
104
+ onNativeMenuPickerChange: function(param2) {
105
+ var { nativeEvent } = param2;
106
+ return pickerControlled.onNativeChange(nativeEvent);
107
+ },
95
108
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native.View, {
96
109
  collapsable: false,
97
110
  children
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.native.js","names":[],"sources":["cjs/platform/Menu.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar Menu_native_exports = {};\n__export(Menu_native_exports, {\n ContextMenu: () => ContextMenu,\n Menu: () => Menu\n});\nmodule.exports = __toCommonJS(Menu_native_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_controlled = require(\"./controlled\");\nvar import_react = require(\"react\");\nvar import_react_native = require(\"react-native\");\nvar import_OneNativeMenuNativeComponent = __toESM(require(\"./specs/OneNativeMenuNativeComponent\"), 1);\nvar import_menuItems = require(\"./menuItems\");\nvar import_swiftui = require(\"./generated/swiftui\");\nfunction Menu(props) {\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuPresentation, {\n ...props,\n presentation: \"menu\"\n });\n}\nfunction ContextMenu(props) {\n var _props_accessibilityLabel;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuPresentation, {\n ...props,\n accessibilityLabel: (_props_accessibilityLabel = props.accessibilityLabel) !== null && _props_accessibilityLabel !== void 0 ? _props_accessibilityLabel : \"\",\n presentation: \"contextMenu\"\n });\n}\nfunction MenuPresentation(param) {\n var { items, onAction, primaryAction, children, onValueChange, revision = 0, menuOrder = \"automatic\", menuActionDismissBehavior = \"automatic\", disabled = false, accessibilityLabel, presentation, ...props } = param;\n var iosVersion = Number.parseFloat(String(import_react_native.Platform.Version));\n (0, import_swiftui.assertSwiftUIValue)(\"MenuOrder\", menuOrder, iosVersion);\n (0, import_swiftui.assertSwiftUIValue)(\"MenuActionDismissBehavior\", menuActionDismissBehavior, iosVersion);\n var nativeItems = (0, import_react.useMemo)(function() {\n return (0, import_menuItems.flattenMenuItems)(items, iosVersion);\n }, [\n items,\n iosVersion\n ]);\n if (!onValueChange && nativeItems.some(function(item) {\n return item.type === \"toggle\";\n })) {\n var name = presentation === \"contextMenu\" ? \"ContextMenu\" : \"Menu\";\n throw new Error(`Swift.${name} with toggles requires onValueChange`);\n }\n var controlled = (0, import_controlled.useControlled)(function(event) {\n return onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(event.id, event.value, event.sourceIndex);\n }, revision);\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativeMenuNativeComponent.default, {\n ...props,\n items: nativeItems,\n revision,\n acknowledgedEvent: controlled.acknowledgedEvent,\n menuOrder,\n menuActionDismissBehavior,\n triggerLabel: accessibilityLabel,\n disabled,\n hasPrimaryAction: presentation === \"menu\" && !!primaryAction,\n presentation,\n onNativeMenuAction: function(param2) {\n var { nativeEvent } = param2;\n return onAction(nativeEvent.id);\n },\n onNativeMenuPrimaryAction: function() {\n return primaryAction === null || primaryAction === void 0 ? void 0 : primaryAction();\n },\n onNativeMenuValueChange: function(param2) {\n var { nativeEvent } = param2;\n return controlled.onNativeChange(nativeEvent);\n },\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native.View, {\n collapsable: false,\n children\n })\n });\n}\n//# sourceMappingURL=Menu.native.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OA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AAmB,IAAG,CAAE,oCAAoC,SAAS;EAC9F,GAAG;EACH,OAAO;EACP;EACA,mBAAmB,WAAW;EAC9B;EACA;EACA,cAAc;EACd;EACA,kBAAkB,iBAAiB,UAAU,CAAC,CAAC;EAC/C;EACA,oBAAoB,SAAS,QAAQ;GACnC,IAAI,EAAE,gBAAgB;GACtB,OAAO,SAAS,YAAY,EAAE;EAChC;EACA,2BAA2B,WAAW;GACpC,OAAO,kBAAkB,QAAQ,kBAAkB,KAAK,IAAI,KAAK,IAAI,cAAc;EACrF;EACA,yBAAyB,SAAS,QAAQ;GACxC,IAAI,EAAE,gBAAgB;GACtB,OAAO,WAAW,eAAe,WAAW;EAC9C;EACA,UAA0B,iBAAC,GAAG,mBAAmB,IAAG,CAAE,oBAAoB,MAAM;GAC9E,aAAa;GACb;EACF,CAAC;CACH,CAAC;AACH"}
1
+ {"version":3,"file":"Menu.native.js","names":[],"sources":["cjs/platform/Menu.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar Menu_native_exports = {};\n__export(Menu_native_exports, {\n ContextMenu: () => ContextMenu,\n Menu: () => Menu\n});\nmodule.exports = __toCommonJS(Menu_native_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_controlled = require(\"./controlled\");\nvar import_react = require(\"react\");\nvar import_react_native = require(\"react-native\");\nvar import_OneNativeMenuNativeComponent = __toESM(require(\"./specs/OneNativeMenuNativeComponent\"), 1);\nvar import_menuItems = require(\"./menuItems\");\nvar import_swiftui = require(\"./generated/swiftui\");\nfunction Menu(props) {\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuPresentation, {\n ...props,\n presentation: \"menu\"\n });\n}\nfunction ContextMenu(props) {\n var _props_accessibilityLabel;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuPresentation, {\n ...props,\n accessibilityLabel: (_props_accessibilityLabel = props.accessibilityLabel) !== null && _props_accessibilityLabel !== void 0 ? _props_accessibilityLabel : \"\",\n presentation: \"contextMenu\"\n });\n}\nfunction MenuPresentation(param) {\n var { items, onAction, primaryAction, children, onValueChange, onPickerChange, revision = 0, menuOrder = \"automatic\", menuActionDismissBehavior = \"automatic\", disabled = false, accessibilityLabel, presentation, ...props } = param;\n var iosVersion = Number.parseFloat(String(import_react_native.Platform.Version));\n (0, import_swiftui.assertSwiftUIValue)(\"MenuOrder\", menuOrder, iosVersion);\n (0, import_swiftui.assertSwiftUIValue)(\"MenuActionDismissBehavior\", menuActionDismissBehavior, iosVersion);\n var nativeItems = (0, import_react.useMemo)(function() {\n return (0, import_menuItems.flattenMenuItems)(items, iosVersion);\n }, [\n items,\n iosVersion\n ]);\n if (!onValueChange && nativeItems.some(function(item) {\n return item.type === \"toggle\";\n })) {\n var name = presentation === \"contextMenu\" ? \"ContextMenu\" : \"Menu\";\n throw new Error(`Swift.${name} with toggles requires onValueChange`);\n }\n if (!onPickerChange && nativeItems.some(function(item) {\n return item.type === \"picker\";\n })) {\n throw new Error(\"Swift.Menu with a Picker requires onPickerChange\");\n }\n var controlled = (0, import_controlled.useControlled)(function(event) {\n return onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(event.id, event.value, event.sourceIndex);\n }, revision);\n var pickerControlled = (0, import_controlled.useControlled)(function(event) {\n return onPickerChange === null || onPickerChange === void 0 ? void 0 : onPickerChange(event.id, event.value);\n }, revision);\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativeMenuNativeComponent.default, {\n ...props,\n items: nativeItems,\n revision,\n acknowledgedEvent: controlled.acknowledgedEvent,\n pickerAcknowledgedEvent: pickerControlled.acknowledgedEvent,\n menuOrder,\n menuActionDismissBehavior,\n triggerLabel: accessibilityLabel,\n disabled,\n hasPrimaryAction: presentation === \"menu\" && !!primaryAction,\n presentation,\n onNativeMenuAction: function(param2) {\n var { nativeEvent } = param2;\n return onAction(nativeEvent.id);\n },\n onNativeMenuPrimaryAction: function() {\n return primaryAction === null || primaryAction === void 0 ? void 0 : primaryAction();\n },\n onNativeMenuValueChange: function(param2) {\n var { nativeEvent } = param2;\n return controlled.onNativeChange(nativeEvent);\n },\n onNativeMenuPickerChange: function(param2) {\n var { nativeEvent } = param2;\n return pickerControlled.onNativeChange(nativeEvent);\n },\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native.View, {\n collapsable: false,\n children\n })\n });\n}\n//# sourceMappingURL=Menu.native.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,M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KAAK,IAAI,eAAe,MAAM,IAAI,MAAM,KAAK;CAC7G,GAAG,QAAQ;CACX,OAAuB,iBAAC,GAAG,mBAAmB,IAAG,CAAE,oCAAoC,SAAS;EAC9F,GAAG;EACH,OAAO;EACP;EACA,mBAAmB,WAAW;EAC9B,yBAAyB,iBAAiB;EAC1C;EACA;EACA,cAAc;EACd;EACA,kBAAkB,iBAAiB,UAAU,CAAC,CAAC;EAC/C;EACA,oBAAoB,SAAS,QAAQ;GACnC,IAAI,EAAE,gBAAgB;GACtB,OAAO,SAAS,YAAY,EAAE;EAChC;EACA,2BAA2B,WAAW;GACpC,OAAO,kBAAkB,QAAQ,kBAAkB,KAAK,IAAI,KAAK,IAAI,cAAc;EACrF;EACA,yBAAyB,SAAS,QAAQ;GACxC,IAAI,EAAE,gBAAgB;GACtB,OAAO,WAAW,eAAe,WAAW;EAC9C;EACA,0BAA0B,SAAS,QAAQ;GACzC,IAAI,EAAE,gBAAgB;GACtB,OAAO,iBAAiB,eAAe,WAAW;EACpD;EACA,UAA0B,iBAAC,GAAG,mBAAmB,IAAG,CAAE,oBAAoB,MAAM;GAC9E,aAAa;GACb;EACF,CAAC;CACH,CAAC;AACH"}
@@ -36,7 +36,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
36
36
  var import_controlled = require("./controlled.native.js");
37
37
  var import_react = require("react");
38
38
  var import_OneNativeTabNativeComponent = __toESM(require("./specs/OneNativeTabNativeComponent.native.js"), 1);
39
- var import_OneNativePagerNativeComponent = __toESM(require("./specs/OneNativePagerNativeComponent.native.js"), 1);
39
+ var import_OneNativeSwiftPagerNativeComponent = __toESM(require("./specs/OneNativeSwiftPagerNativeComponent.native.js"), 1);
40
40
  var import_viewportStyle = require("./viewportStyle.native.js");
41
41
  var PAGE_STYLE = {
42
42
  position: "absolute",
@@ -77,7 +77,7 @@ function Pager(param) {
77
77
  if (!selected) {
78
78
  throw new Error(`Swift.Pager selection "${selection}" must identify a mounted Swift.Page`);
79
79
  }
80
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativePagerNativeComponent.default, {
80
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativeSwiftPagerNativeComponent.default, {
81
81
  ...props,
82
82
  style: (0, import_viewportStyle.viewportStyle)(style),
83
83
  selection,
@@ -36,7 +36,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
36
36
  var import_controlled = require("./controlled.native.js");
37
37
  var import_react = require("react");
38
38
  var import_OneNativeTabNativeComponent = __toESM(require("./specs/OneNativeTabNativeComponent.native.js"), 1);
39
- var import_OneNativePagerNativeComponent = __toESM(require("./specs/OneNativePagerNativeComponent.native.js"), 1);
39
+ var import_OneNativeSwiftPagerNativeComponent = __toESM(require("./specs/OneNativeSwiftPagerNativeComponent.native.js"), 1);
40
40
  var import_viewportStyle = require("./viewportStyle.native.js");
41
41
  var PAGE_STYLE = {
42
42
  position: "absolute",
@@ -77,7 +77,7 @@ function Pager(param) {
77
77
  if (!selected) {
78
78
  throw new Error(`Swift.Pager selection "${selection}" must identify a mounted Swift.Page`);
79
79
  }
80
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativePagerNativeComponent.default, {
80
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativeSwiftPagerNativeComponent.default, {
81
81
  ...props,
82
82
  style: (0, import_viewportStyle.viewportStyle)(style),
83
83
  selection,
@@ -1 +1 @@
1
- {"version":3,"file":"Pager.native.js","names":[],"sources":["cjs/platform/Pager.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar Pager_native_exports = {};\n__export(Pager_native_exports, {\n Page: () => Page,\n Pager: () => Pager\n});\nmodule.exports = __toCommonJS(Pager_native_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_controlled = require(\"./controlled\");\nvar import_react = require(\"react\");\nvar import_OneNativeTabNativeComponent = __toESM(require(\"./specs/OneNativeTabNativeComponent\"), 1);\nvar import_OneNativePagerNativeComponent = __toESM(require(\"./specs/OneNativePagerNativeComponent\"), 1);\nvar import_viewportStyle = require(\"./viewportStyle\");\nvar PAGE_STYLE = {\n position: \"absolute\",\n left: 0,\n top: 0,\n width: \"100%\",\n height: \"100%\"\n};\nfunction Page(_props) {\n throw new Error(\"Swift.Page must be a direct child of Swift.Pager\");\n}\nfunction Pager(param) {\n var { children, selection, onSelectionChange, revision = 0, style, ...props } = param;\n var controlled = (0, import_controlled.useControlled)(function(event) {\n return onSelectionChange(event.selection);\n }, revision);\n var pages = (0, import_react.useMemo)(function() {\n var ids = /* @__PURE__ */ new Set();\n return import_react.Children.toArray(children).map(function(child) {\n if (!/* @__PURE__ */ (0, import_react.isValidElement)(child) || child.type !== Page) {\n throw new Error(\"Swift.Pager accepts Swift.Page elements as direct children\");\n }\n var { id, testID, children: page } = child.props;\n if (!id || ids.has(id)) {\n throw new Error(`Swift.Pager requires unique, nonempty page ids: \"${id}\"`);\n }\n ids.add(id);\n return {\n id,\n testID,\n children: page\n };\n });\n }, [\n children\n ]);\n var selected = pages.find(function(page) {\n return page.id === selection;\n });\n if (!selected) {\n throw new Error(`Swift.Pager selection \"${selection}\" must identify a mounted Swift.Page`);\n }\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativePagerNativeComponent.default, {\n ...props,\n style: (0, import_viewportStyle.viewportStyle)(style),\n selection,\n acknowledgedEvent: controlled.acknowledgedEvent,\n revision,\n onNativePagerSelectionChange: function(param2) {\n var { nativeEvent } = param2;\n return controlled.onNativeChange(nativeEvent);\n },\n children: pages.map(function(page) {\n var visible = page.id === selection;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativeTabNativeComponent.default, {\n tabId: page.id,\n title: \"\",\n systemImage: \"\",\n badge: \"\",\n tabRole: \"\",\n kind: \"page\",\n slotHeight: 0,\n tabModifiers: \"{}\",\n testID: page.testID,\n style: PAGE_STYLE,\n collapsable: false,\n pointerEvents: visible ? \"auto\" : \"none\",\n accessibilityElementsHidden: !visible,\n importantForAccessibility: visible ? \"auto\" : \"no-hide-descendants\",\n children: page.children\n }, page.id);\n })\n });\n}\n//# sourceMappingURL=Pager.native.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY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2BAA2B,UAAU,SAAS;IAC9C,UAAU,KAAK;GACjB,GAAG,KAAK,EAAE;EACZ,CAAC;CACH,CAAC;AACH"}
1
+ {"version":3,"file":"Pager.native.js","names":[],"sources":["cjs/platform/Pager.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar Pager_native_exports = {};\n__export(Pager_native_exports, {\n Page: () => Page,\n Pager: () => Pager\n});\nmodule.exports = __toCommonJS(Pager_native_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_controlled = require(\"./controlled\");\nvar import_react = require(\"react\");\nvar import_OneNativeTabNativeComponent = __toESM(require(\"./specs/OneNativeTabNativeComponent\"), 1);\nvar import_OneNativeSwiftPagerNativeComponent = __toESM(require(\"./specs/OneNativeSwiftPagerNativeComponent\"), 1);\nvar import_viewportStyle = require(\"./viewportStyle\");\nvar PAGE_STYLE = {\n position: \"absolute\",\n left: 0,\n top: 0,\n width: \"100%\",\n height: \"100%\"\n};\nfunction Page(_props) {\n throw new Error(\"Swift.Page must be a direct child of Swift.Pager\");\n}\nfunction Pager(param) {\n var { children, selection, onSelectionChange, revision = 0, style, ...props } = param;\n var controlled = (0, import_controlled.useControlled)(function(event) {\n return onSelectionChange(event.selection);\n }, revision);\n var pages = (0, import_react.useMemo)(function() {\n var ids = /* @__PURE__ */ new Set();\n return import_react.Children.toArray(children).map(function(child) {\n if (!/* @__PURE__ */ (0, import_react.isValidElement)(child) || child.type !== Page) {\n throw new Error(\"Swift.Pager accepts Swift.Page elements as direct children\");\n }\n var { id, testID, children: page } = child.props;\n if (!id || ids.has(id)) {\n throw new Error(`Swift.Pager requires unique, nonempty page ids: \"${id}\"`);\n }\n ids.add(id);\n return {\n id,\n testID,\n children: page\n };\n });\n }, [\n children\n ]);\n var selected = pages.find(function(page) {\n return page.id === selection;\n });\n if (!selected) {\n throw new Error(`Swift.Pager selection \"${selection}\" must identify a mounted Swift.Page`);\n }\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativeSwiftPagerNativeComponent.default, {\n ...props,\n style: (0, import_viewportStyle.viewportStyle)(style),\n selection,\n acknowledgedEvent: controlled.acknowledgedEvent,\n revision,\n onNativePagerSelectionChange: function(param2) {\n var { nativeEvent } = param2;\n return controlled.onNativeChange(nativeEvent);\n },\n children: pages.map(function(page) {\n var visible = page.id === selection;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_OneNativeTabNativeComponent.default, {\n tabId: page.id,\n title: \"\",\n systemImage: \"\",\n badge: \"\",\n tabRole: \"\",\n kind: \"page\",\n slotHeight: 0,\n tabModifiers: \"{}\",\n testID: page.testID,\n style: PAGE_STYLE,\n collapsable: false,\n pointerEvents: visible ? \"auto\" : \"none\",\n accessibilityElementsHidden: !visible,\n importantForAccessibility: visible ? \"auto\" : \"no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qBAAqB,cAAa,CAAE,KAAK;EACpD;EACA,mBAAmB,WAAW;EAC9B;EACA,8BAA8B,SAAS,QAAQ;GAC7C,IAAI,EAAE,gBAAgB;GACtB,OAAO,WAAW,eAAe,WAAW;EAC9C;EACA,UAAU,MAAM,IAAI,SAAS,MAAM;GACjC,IAAI,UAAU,KAAK,OAAO;GAC1B,OAAuB,iBAAC,GAAG,mBAAmB,IAAG,CAAE,mCAAmC,SAAS;IAC7F,OAAO,KAAK;IACZ,OAAO;IACP,aAAa;IACb,OAAO;IACP,SAAS;IACT,MAAM;IACN,YAAY;IACZ,cAAc;IACd,QAAQ,KAAK;IACb,OAAO;IACP,aAAa;IACb,eAAe,UAAU,SAAS;IAClC,6BAA6B,CAAC;IAC9B,2BAA2B,UAAU,SAAS;IAC9C,UAAU,KAAK;GACjB,GAAG,KAAK,EAAE;EACZ,CAAC;CACH,CAAC;AACH"}
@@ -26,7 +26,10 @@ __export(effects_exports, {
26
26
  Image: () => import_Image.Image,
27
27
  Map: () => import_Map.Map,
28
28
  Mask: () => Mask,
29
+ Pager: () => import_Pager.Pager,
29
30
  PictureInPicture: () => import_PictureInPicture.PictureInPicture,
31
+ Portal: () => import_Portal.Portal,
32
+ PortalHost: () => import_Portal.PortalHost,
30
33
  sampleCurve: () => import_curves.sampleCurve,
31
34
  serializeCurve: () => import_curves.serializeCurve
32
35
  });
@@ -37,6 +40,8 @@ var import_Icon = require("../ui/Icon.cjs");
37
40
  var import_Image = require("../ui/Image.cjs");
38
41
  var import_Map = require("../ui/Map.cjs");
39
42
  var import_PictureInPicture = require("../ui/PictureInPicture.cjs");
43
+ var import_Portal = require("../ui/Portal.cjs");
44
+ var import_Pager = require("../ui/Pager.cjs");
40
45
  function Blur(_props) {
41
46
  throw new Error("Blur requires a native build");
42
47
  }
@@ -28,7 +28,10 @@ __export(index_native_exports, {
28
28
  Image: () => import_Image.Image,
29
29
  Map: () => import_Map.Map,
30
30
  Mask: () => import_Mask.Mask,
31
+ Pager: () => import_Pager.Pager,
31
32
  PictureInPicture: () => import_PictureInPicture.PictureInPicture,
33
+ Portal: () => import_Portal.Portal,
34
+ PortalHost: () => import_Portal.PortalHost,
32
35
  sampleCurve: () => import_curves.sampleCurve,
33
36
  serializeCurve: () => import_curves.serializeCurve
34
37
  });
@@ -41,3 +44,5 @@ var import_Image = require("../ui/Image.native.js");
41
44
  var import_Map = require("../ui/Map");
42
45
  var import_PictureInPicture = require("../ui/PictureInPicture.native.js");
43
46
  var import_curves = require("./curves.native.js");
47
+ var import_Portal = require("../ui/Portal.native.js");
48
+ var import_Pager = require("../ui/Pager.native.js");
@@ -28,7 +28,10 @@ __export(index_native_exports, {
28
28
  Image: () => import_Image.Image,
29
29
  Map: () => import_Map.Map,
30
30
  Mask: () => import_Mask.Mask,
31
+ Pager: () => import_Pager.Pager,
31
32
  PictureInPicture: () => import_PictureInPicture.PictureInPicture,
33
+ Portal: () => import_Portal.Portal,
34
+ PortalHost: () => import_Portal.PortalHost,
32
35
  sampleCurve: () => import_curves.sampleCurve,
33
36
  serializeCurve: () => import_curves.serializeCurve
34
37
  });
@@ -41,5 +44,7 @@ var import_Image = require("../ui/Image.native.js");
41
44
  var import_Map = require("../ui/Map");
42
45
  var import_PictureInPicture = require("../ui/PictureInPicture.native.js");
43
46
  var import_curves = require("./curves.native.js");
47
+ var import_Portal = require("../ui/Portal.native.js");
48
+ var import_Pager = require("../ui/Pager.native.js");
44
49
 
45
50
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":[],"sources":["cjs/platform/effects/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_native_exports = {};\n__export(index_native_exports, {\n Blur: () => import_Blur.Blur,\n EdgeFade: () => import_EdgeFade.EdgeFade,\n Icon: () => import_Icon.Icon,\n Image: () => import_Image.Image,\n Map: () => import_Map.Map,\n Mask: () => import_Mask.Mask,\n PictureInPicture: () => import_PictureInPicture.PictureInPicture,\n sampleCurve: () => import_curves.sampleCurve,\n serializeCurve: () => import_curves.serializeCurve\n});\nmodule.exports = __toCommonJS(index_native_exports);\nvar import_Blur = require(\"./Blur.native\");\nvar import_EdgeFade = require(\"./EdgeFade.native\");\nvar import_Mask = require(\"./Mask.native\");\nvar import_Icon = require(\"../ui/Icon\");\nvar import_Image = require(\"../ui/Image.native\");\nvar import_Map = require(\"../ui/Map\");\nvar import_PictureInPicture = require(\"../ui/PictureInPicture.native\");\nvar import_curves = require(\"./curves\");\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,uBAAuB,CAAC;AAC5B,SAAS,sBAAsB;CAC7B,YAAY,YAAY;CACxB,gBAAgB,gBAAgB;CAChC,YAAY,YAAY;CACxB,aAAa,aAAa;CAC1B,WAAW,WAAW;CACtB,YAAY,YAAY;CACxB,wBAAwB,wBAAwB;CAChD,mBAAmB,cAAc;CACjC,sBAAsB,cAAc;AACtC,CAAC;AACD,OAAO,UAAU,aAAa,oBAAoB;AAClD,IAAI,cAAc,QAAQ,kBAAe;AACzC,IAAI,kBAAkB,QAAQ,sBAAmB;AACjD,IAAI,cAAc,QAAQ,kBAAe;AACzC,IAAI,cAAc,QAAQ,YAAY;AACtC,IAAI,eAAe,QAAQ,uBAAoB;AAC/C,IAAI,aAAa,QAAQ,WAAW;AACpC,IAAI,0BAA0B,QAAQ,kCAA+B;AACrE,IAAI,gBAAgB,QAAQ,oBAAU"}
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["cjs/platform/effects/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_native_exports = {};\n__export(index_native_exports, {\n Blur: () => import_Blur.Blur,\n EdgeFade: () => import_EdgeFade.EdgeFade,\n Icon: () => import_Icon.Icon,\n Image: () => import_Image.Image,\n Map: () => import_Map.Map,\n Mask: () => import_Mask.Mask,\n Pager: () => import_Pager.Pager,\n PictureInPicture: () => import_PictureInPicture.PictureInPicture,\n Portal: () => import_Portal.Portal,\n PortalHost: () => import_Portal.PortalHost,\n sampleCurve: () => import_curves.sampleCurve,\n serializeCurve: () => import_curves.serializeCurve\n});\nmodule.exports = __toCommonJS(index_native_exports);\nvar import_Blur = require(\"./Blur.native\");\nvar import_EdgeFade = require(\"./EdgeFade.native\");\nvar import_Mask = require(\"./Mask.native\");\nvar import_Icon = require(\"../ui/Icon\");\nvar import_Image = require(\"../ui/Image.native\");\nvar import_Map = require(\"../ui/Map\");\nvar import_PictureInPicture = require(\"../ui/PictureInPicture.native\");\nvar import_curves = require(\"./curves\");\nvar import_Portal = require(\"../ui/Portal.native\");\nvar import_Pager = require(\"../ui/Pager.native\");\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,uBAAuB,CAAC;AAC5B,SAAS,sBAAsB;CAC7B,YAAY,YAAY;CACxB,gBAAgB,gBAAgB;CAChC,YAAY,YAAY;CACxB,aAAa,aAAa;CAC1B,WAAW,WAAW;CACtB,YAAY,YAAY;CACxB,aAAa,aAAa;CAC1B,wBAAwB,wBAAwB;CAChD,cAAc,cAAc;CAC5B,kBAAkB,cAAc;CAChC,mBAAmB,cAAc;CACjC,sBAAsB,cAAc;AACtC,CAAC;AACD,OAAO,UAAU,aAAa,oBAAoB;AAClD,IAAI,cAAc,QAAQ,kBAAe;AACzC,IAAI,kBAAkB,QAAQ,sBAAmB;AACjD,IAAI,cAAc,QAAQ,kBAAe;AACzC,IAAI,cAAc,QAAQ,YAAY;AACtC,IAAI,eAAe,QAAQ,uBAAoB;AAC/C,IAAI,aAAa,QAAQ,WAAW;AACpC,IAAI,0BAA0B,QAAQ,kCAA+B;AACrE,IAAI,gBAAgB,QAAQ,oBAAU;AACtC,IAAI,gBAAgB,QAAQ,wBAAqB;AACjD,IAAI,eAAe,QAAQ,uBAAoB"}
@@ -65,6 +65,7 @@ function flattenMenuItems(items, iosVersion = 17) {
65
65
  help,
66
66
  controlGroupStyle: "automatic",
67
67
  values: [],
68
+ selection: "",
68
69
  menuOrder: "",
69
70
  menuActionDismissBehavior,
70
71
  parentId,
@@ -108,6 +109,7 @@ function flattenMenuItems(items, iosVersion = 17) {
108
109
  help,
109
110
  controlGroupStyle: "automatic",
110
111
  values,
112
+ selection: "",
111
113
  menuOrder: "",
112
114
  menuActionDismissBehavior,
113
115
  parentId,
@@ -151,6 +153,7 @@ function flattenMenuItems(items, iosVersion = 17) {
151
153
  help,
152
154
  controlGroupStyle: "automatic",
153
155
  values: [],
156
+ selection: "",
154
157
  menuOrder,
155
158
  menuActionDismissBehavior,
156
159
  parentId,
@@ -183,6 +186,7 @@ function flattenMenuItems(items, iosVersion = 17) {
183
186
  help: "",
184
187
  controlGroupStyle: "automatic",
185
188
  values: [],
189
+ selection: "",
186
190
  menuOrder: "",
187
191
  menuActionDismissBehavior: "",
188
192
  parentId,
@@ -222,6 +226,7 @@ function flattenMenuItems(items, iosVersion = 17) {
222
226
  help: "",
223
227
  controlGroupStyle,
224
228
  values: [],
229
+ selection: "",
225
230
  menuOrder: "",
226
231
  menuActionDismissBehavior: "",
227
232
  parentId,
@@ -231,6 +236,51 @@ function flattenMenuItems(items, iosVersion = 17) {
231
236
  append(input.children, item.id, Boolean(disabled || disabledValue), Boolean(hidden || hiddenValue));
232
237
  break;
233
238
  }
239
+ case "picker": {
240
+ for (const name of Object.keys(input)) {
241
+ if (name !== "type" && name !== "id" && name !== "title" && name !== "systemImage" && name !== "selection" && name !== "disabled" && name !== "hidden" && name !== "help" && name !== "children") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name);
242
+ }
243
+ const id = input.id ?? "";
244
+ if (input.id == null) throw new Error("Swift.Menu " + item.type + " requires id");
245
+ if (typeof id !== "string") throw new Error("Invalid Swift.Menu id");
246
+ const title = input.title ?? "";
247
+ if (input.title == null) throw new Error("Swift.Menu " + item.type + " requires title");
248
+ if (typeof title !== "string") throw new Error("Invalid Swift.Menu title");
249
+ const systemImage = input.systemImage ?? "";
250
+ if (typeof systemImage !== "string") throw new Error("Invalid Swift.Menu systemImage");
251
+ const selection = input.selection ?? "";
252
+ if (input.selection == null) throw new Error("Swift.Menu " + item.type + " requires selection");
253
+ if (typeof selection !== "string") throw new Error("Invalid Swift.Menu selection");
254
+ const disabledValue = input.disabled ?? false;
255
+ if (typeof disabledValue !== "boolean") throw new Error("Invalid Swift.Menu disabled");
256
+ const hiddenValue = input.hidden ?? false;
257
+ if (typeof hiddenValue !== "boolean") throw new Error("Invalid Swift.Menu hidden");
258
+ const help = input.help ?? "";
259
+ if (typeof help !== "string") throw new Error("Invalid Swift.Menu help");
260
+ if (!item.id || ids.has(item.id)) throw new Error("Swift.Menu requires unique, nonempty item ids: \"" + item.id + "\"");
261
+ ids.add(item.id);
262
+ result.push({
263
+ id,
264
+ title,
265
+ systemImage,
266
+ role: "",
267
+ disabled: disabled || disabledValue,
268
+ hidden: hidden || hiddenValue,
269
+ help,
270
+ controlGroupStyle: "automatic",
271
+ values: [],
272
+ selection,
273
+ menuOrder: "",
274
+ menuActionDismissBehavior: "",
275
+ parentId,
276
+ type: item.type
277
+ });
278
+ if (!Array.isArray(input.children)) throw new Error("Swift.Menu " + item.type + " requires children");
279
+ if (!input.children.length || input.children.some((child) => child?.type !== "action")) throw new Error("Swift.Menu picker children must be actions");
280
+ if (!input.children.some((child) => child.id === input.selection)) throw new Error("Swift.Menu picker selection must match a child id");
281
+ append(input.children, item.id, Boolean(disabled || disabledValue), Boolean(hidden || hiddenValue));
282
+ break;
283
+ }
234
284
  case "divider": {
235
285
  for (const name of Object.keys(input)) {
236
286
  if (name !== "type" && name !== "id") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name);
@@ -250,6 +300,7 @@ function flattenMenuItems(items, iosVersion = 17) {
250
300
  help: "",
251
301
  controlGroupStyle: "automatic",
252
302
  values: [],
303
+ selection: "",
253
304
  menuOrder: "",
254
305
  menuActionDismissBehavior: "",
255
306
  parentId,