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.
- package/LICENSE +24 -0
- package/android/build.gradle +1 -0
- package/android/portal/CMakeLists.txt +6 -0
- package/android/portal/react/renderer/components/OneNativeSpec/ComponentDescriptors.h +3 -0
- package/android/src/main/java/dev/onejs/one/OnePackage.kt +6 -0
- package/android/src/main/java/dev/onejs/onenative/OneNativePagerManager.kt +226 -0
- package/android/src/main/java/dev/onejs/onenative/OneNativePortal.kt +174 -0
- package/cpp/OneNativePortalShadowNode.cpp +4 -0
- package/cpp/OneNativePortalShadowNode.h +52 -0
- package/cpp/PORTAL-LICENSE +20 -0
- package/dist/cjs/platform/AndroidMenu.cjs +4 -1
- package/dist/cjs/platform/AndroidMenu.native.cjs +6 -1
- package/dist/cjs/platform/AndroidMenu.native.js +6 -1
- package/dist/cjs/platform/AndroidMenu.native.js.map +1 -1
- package/dist/cjs/platform/Menu.native.cjs +14 -1
- package/dist/cjs/platform/Menu.native.js +14 -1
- package/dist/cjs/platform/Menu.native.js.map +1 -1
- package/dist/cjs/platform/Pager.native.cjs +2 -2
- package/dist/cjs/platform/Pager.native.js +2 -2
- package/dist/cjs/platform/Pager.native.js.map +1 -1
- package/dist/cjs/platform/effects/index.cjs +5 -0
- package/dist/cjs/platform/effects/index.native.cjs +5 -0
- package/dist/cjs/platform/effects/index.native.js +5 -0
- package/dist/cjs/platform/effects/index.native.js.map +1 -1
- package/dist/cjs/platform/menuItems.cjs +51 -0
- package/dist/cjs/platform/menuItems.native.cjs +123 -49
- package/dist/cjs/platform/menuItems.native.js +123 -49
- package/dist/cjs/platform/menuItems.native.js.map +1 -1
- package/dist/cjs/platform/specs/OneKotlinHostNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneKotlinHostNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneKotlinHostNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneKotlinHostNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeAlertNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeAlertNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeAlertNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeAlertNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeAngularGradientNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeAngularGradientNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeAngularGradientNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeAngularGradientNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeArrangementSlotNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeArrangementSlotNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeArrangementSlotNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeArrangementSlotNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeArrangementViewNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeArrangementViewNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeArrangementViewNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeArrangementViewNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeBlurNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeBlurNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeBlurNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeBlurNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeButtonNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeButtonNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeButtonNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeButtonNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeCameraNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeCameraNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeCameraNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeCameraNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeCapsuleNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeCapsuleNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeCapsuleNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeCapsuleNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeCircleNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeCircleNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeCircleNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeCircleNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeColorPickerNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeColorPickerNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeColorPickerNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeColorPickerNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeComposeNodeNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeComposeNodeNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeComposeNodeNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeComposeNodeNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeConcentricRectangleNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeConcentricRectangleNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeConcentricRectangleNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeConcentricRectangleNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeConfirmationDialogNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeConfirmationDialogNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeConfirmationDialogNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeConfirmationDialogNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeContainerSlotNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeContainerSlotNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeContainerSlotNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeContainerSlotNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeContentUnavailableViewNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeControlGroupNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeControlGroupNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeControlGroupNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeControlGroupNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeDatePickerNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeDatePickerNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeDatePickerNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeDatePickerNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeDisclosureGroupNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeDisclosureGroupNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeDisclosureGroupNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeDisclosureGroupNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeDividerNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeDividerNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeDividerNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeDividerNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeEdgeFadeNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeEdgeFadeNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeEdgeFadeNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeEdgeFadeNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeEditButtonNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeEditButtonNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeEditButtonNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeEditButtonNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeEllipseNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeEllipseNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeEllipseNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeEllipseNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeEllipticalGradientNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeEllipticalGradientNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeEllipticalGradientNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeEllipticalGradientNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeEmptyViewNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeEmptyViewNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeEmptyViewNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeEmptyViewNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeFileImporterNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeFileImporterNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeFileImporterNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeFileImporterNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeFormNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeFormNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeFormNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeFormNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeGaugeNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeGaugeNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeGaugeNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeGaugeNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeGlassEffectContainerNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeGlassNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGlassNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGlassNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeGlassNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeGridNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGridNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGridNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeGridNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeGridRowNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGridRowNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGridRowNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeGridRowNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeGroupBoxNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGroupBoxNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGroupBoxNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeGroupBoxNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeGroupNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGroupNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeGroupNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeGroupNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeHostNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeHostNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeHostNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeHostNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeImageNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeImageNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeImageNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeImageNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeLabelNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeLabelNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeLabelNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeLabelNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeLabeledContentNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLabeledContentNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLabeledContentNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeLabeledContentNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeLazyHGridNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyHGridNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyHGridNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyHGridNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeLazyHStackNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyHStackNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyHStackNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyHStackNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeLazyVGridNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyVGridNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyVGridNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyVGridNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeLazyVStackNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyVStackNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyVStackNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeLazyVStackNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeLinearGradientNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeLinearGradientNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeLinearGradientNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeLinearGradientNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeLinkNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLinkNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeLinkNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeLinkNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeListNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeListNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeListNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeListNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeLivePhotoViewNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeLivePhotoViewNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeLivePhotoViewNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeLivePhotoViewNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeMapNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeMapNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeMapNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeMapNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeMaskNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeMaskNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeMaskNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeMaskNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeMenuNativeComponent.cjs +31 -26
- package/dist/cjs/platform/specs/OneNativeMenuNativeComponent.native.cjs +31 -26
- package/dist/cjs/platform/specs/OneNativeMenuNativeComponent.native.js +31 -26
- package/dist/cjs/platform/specs/OneNativeMenuNativeComponent.native.js.map +3 -3
- package/dist/cjs/platform/specs/OneNativeMeshGradientNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeMeshGradientNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeMeshGradientNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeMeshGradientNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeNavigationStackContentNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeNavigationStackContentNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeNavigationStackContentNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeNavigationStackContentNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeNavigationStackNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeNavigationStackNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeNavigationStackNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeNavigationStackNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeOverlayContentNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeOverlayContentNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeOverlayContentNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeOverlayContentNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeOverlayNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeOverlayNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeOverlayNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeOverlayNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativePagerNativeComponent.cjs +60 -31
- package/dist/cjs/platform/specs/OneNativePagerNativeComponent.native.cjs +60 -31
- package/dist/cjs/platform/specs/OneNativePagerNativeComponent.native.js +60 -31
- package/dist/cjs/platform/specs/OneNativePagerNativeComponent.native.js.map +3 -3
- package/dist/cjs/platform/specs/OneNativePasteButtonNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePasteButtonNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePasteButtonNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativePasteButtonNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativePhotosPickerNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePhotosPickerNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePhotosPickerNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativePhotosPickerNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativePickerNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePickerNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePickerNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativePickerNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativePictureInPictureNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePictureInPictureNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePictureInPictureNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativePictureInPictureNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativePopoverContentNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativePopoverContentNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativePopoverContentNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativePopoverContentNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativePopoverNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePopoverNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativePopoverNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativePopoverNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativePortalHostViewNativeComponent.cjs +32 -0
- package/dist/cjs/platform/specs/OneNativePortalHostViewNativeComponent.native.cjs +32 -0
- package/dist/cjs/platform/specs/OneNativePortalHostViewNativeComponent.native.js +33 -0
- package/dist/cjs/platform/specs/OneNativePortalHostViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneNativePortalViewNativeComponent.cjs +33 -0
- package/dist/cjs/platform/specs/OneNativePortalViewNativeComponent.native.cjs +33 -0
- package/dist/cjs/platform/specs/OneNativePortalViewNativeComponent.native.js +34 -0
- package/dist/cjs/platform/specs/OneNativePortalViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneNativeProgressViewNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeProgressViewNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeProgressViewNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeProgressViewNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeQuickLookNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeQuickLookNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeQuickLookNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeQuickLookNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeRadialGradientNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeRadialGradientNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeRadialGradientNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeRadialGradientNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeRectangleNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeRectangleNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeRectangleNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeRectangleNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeReservedRegionsProviderNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeRoundedRectangleNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeRoundedRectangleNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeRoundedRectangleNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeRoundedRectangleNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSafeAreaProviderNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeScrollViewNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeScrollViewNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeScrollViewNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeScrollViewNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeSectionNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSecureFieldNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSecureFieldNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSecureFieldNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeSecureFieldNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeShareLinkNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeShareLinkNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeShareLinkNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeShareLinkNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSheetContentNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeSheetContentNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeSheetContentNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeSheetContentNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSheetNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSheetNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSheetNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeSheetNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSliderNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSliderNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeSliderNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeSliderNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSpacerNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeSpacerNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeSpacerNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeSpacerNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeStepperNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeStepperNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeStepperNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeStepperNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSwiftPagerNativeComponent.cjs +45 -0
- package/dist/cjs/platform/specs/OneNativeSwiftPagerNativeComponent.native.cjs +45 -0
- package/dist/cjs/platform/specs/OneNativeSwiftPagerNativeComponent.native.js +46 -0
- package/dist/cjs/platform/specs/OneNativeSwiftPagerNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneNativeSwipeActionsActionsNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeSwipeActionsNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeSwipeActionsNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeSwipeActionsNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeSwipeActionsNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeTabNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTabNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTabNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeTabNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeTabsNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTabsNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTabsNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeTabsNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeTextEditorNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTextEditorNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTextEditorNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeTextEditorNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeTextFieldNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTextFieldNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTextFieldNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeTextFieldNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeTextNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTextNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeTextNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeTextNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeToggleNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeToggleNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeToggleNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeToggleNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeToolbarItemGroupNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeToolbarItemNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeToolbarItemNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeToolbarItemNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeToolbarItemNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeToolbarNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeToolbarNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeToolbarNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeToolbarNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeToolbarSpacerNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeToolbarSpacerNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeToolbarSpacerNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeToolbarSpacerNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeUiMapNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeUiMapNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeUiMapNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeUiMapNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeVideoPlayerNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeVideoPlayerNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeVideoPlayerNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeVideoPlayerNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeViewThatFitsNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeViewThatFitsNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeViewThatFitsNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeViewThatFitsNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeWebViewNativeComponent.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeWebViewNativeComponent.native.cjs +25 -25
- package/dist/cjs/platform/specs/OneNativeWebViewNativeComponent.native.js +25 -25
- package/dist/cjs/platform/specs/OneNativeWebViewNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneNativeZStackNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeZStackNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneNativeZStackNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneNativeZStackNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/specs/OneSwiftHostNativeComponent.cjs +23 -23
- package/dist/cjs/platform/specs/OneSwiftHostNativeComponent.native.cjs +23 -23
- package/dist/cjs/platform/specs/OneSwiftHostNativeComponent.native.js +23 -23
- package/dist/cjs/platform/specs/OneSwiftHostNativeComponent.native.js.map +2 -2
- package/dist/cjs/platform/ui/Pager.cjs +208 -0
- package/dist/cjs/platform/ui/Pager.native.cjs +75 -0
- package/dist/cjs/platform/ui/Pager.native.js +77 -0
- package/dist/cjs/platform/ui/Pager.native.js.map +1 -0
- package/dist/cjs/platform/ui/Portal.cjs +138 -0
- package/dist/cjs/platform/ui/Portal.native.cjs +48 -0
- package/dist/cjs/platform/ui/Portal.native.js +50 -0
- package/dist/cjs/platform/ui/Portal.native.js.map +1 -0
- package/dist/cjs/platform/ui/pagerTypes.cjs +42 -0
- package/dist/cjs/platform/ui/pagerTypes.native.cjs +45 -0
- package/dist/cjs/platform/ui/pagerTypes.native.js +47 -0
- package/dist/cjs/platform/ui/pagerTypes.native.js.map +1 -0
- package/dist/cjs/platform/ui/portalTypes.cjs +16 -0
- package/dist/cjs/platform/ui/portalTypes.native.cjs +18 -0
- package/dist/cjs/platform/ui/portalTypes.native.js +20 -0
- package/dist/cjs/platform/ui/portalTypes.native.js.map +1 -0
- package/dist/cjs/router/router.native.cjs +2 -1
- package/dist/cjs/router/router.native.js +2 -1
- package/dist/cjs/router/router.native.js.map +1 -1
- package/dist/esm/platform/AndroidMenu.mjs +4 -1
- package/dist/esm/platform/AndroidMenu.mjs.map +1 -1
- package/dist/esm/platform/AndroidMenu.native.js +6 -1
- package/dist/esm/platform/AndroidMenu.native.js.map +1 -1
- package/dist/esm/platform/Menu.native.js +14 -1
- package/dist/esm/platform/Menu.native.js.map +1 -1
- package/dist/esm/platform/Pager.native.js +1 -1
- package/dist/esm/platform/Pager.native.js.map +1 -1
- package/dist/esm/platform/effects/index.mjs +3 -1
- package/dist/esm/platform/effects/index.mjs.map +1 -1
- package/dist/esm/platform/effects/index.native.js +3 -1
- package/dist/esm/platform/menuItems.mjs +51 -0
- package/dist/esm/platform/menuItems.mjs.map +1 -1
- package/dist/esm/platform/menuItems.native.js +123 -49
- package/dist/esm/platform/menuItems.native.js.map +1 -1
- package/dist/esm/platform/specs/OneKotlinHostNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneKotlinHostNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneKotlinHostNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneKotlinHostNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeAlertNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeAlertNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeAlertNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeAlertNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeAngularGradientNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeAngularGradientNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeAngularGradientNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeAngularGradientNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeArrangementSlotNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeArrangementSlotNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeArrangementSlotNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeArrangementSlotNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeArrangementViewNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeArrangementViewNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeArrangementViewNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeArrangementViewNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeBlurNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeBlurNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeBlurNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeBlurNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeButtonNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeButtonNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeButtonNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeButtonNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeCameraNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeCameraNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeCameraNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeCameraNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeCapsuleNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeCapsuleNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeCapsuleNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeCapsuleNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeCircleNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeCircleNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeCircleNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeCircleNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeColorPickerNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeColorPickerNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeColorPickerNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeColorPickerNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeComposeNodeNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeComposeNodeNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeComposeNodeNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeComposeNodeNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeConcentricRectangleNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeConcentricRectangleNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeConcentricRectangleNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeConcentricRectangleNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeConfirmationDialogNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeConfirmationDialogNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeConfirmationDialogNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeConfirmationDialogNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeContainerSlotNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeContainerSlotNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeContainerSlotNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeContainerSlotNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeContentUnavailableViewNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeContentUnavailableViewNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeContentUnavailableViewNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeControlGroupNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeControlGroupNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeControlGroupNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeControlGroupNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeDatePickerNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeDatePickerNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeDatePickerNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeDatePickerNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeDisclosureGroupNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeDisclosureGroupNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeDisclosureGroupNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeDisclosureGroupNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeDividerNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeDividerNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeDividerNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeDividerNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeEdgeFadeNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeEdgeFadeNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeEdgeFadeNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeEdgeFadeNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeEditButtonNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeEditButtonNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeEditButtonNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeEditButtonNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeEllipseNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeEllipseNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeEllipseNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeEllipseNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeEllipticalGradientNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeEllipticalGradientNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeEllipticalGradientNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeEllipticalGradientNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeEmptyViewNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeEmptyViewNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeEmptyViewNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeEmptyViewNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeFileImporterNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeFileImporterNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeFileImporterNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeFileImporterNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeFormNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeFormNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeFormNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeFormNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeGaugeNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeGaugeNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeGaugeNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeGaugeNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeGlassEffectContainerNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeGlassEffectContainerNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeGlassEffectContainerNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeGlassNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeGlassNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeGlassNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeGlassNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeGridNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeGridNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeGridNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeGridNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeGridRowNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeGridRowNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeGridRowNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeGridRowNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeGroupBoxNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeGroupBoxNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeGroupBoxNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeGroupBoxNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeGroupNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeGroupNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeGroupNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeGroupNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeHostNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeHostNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeHostNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeHostNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeImageNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeImageNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeImageNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeImageNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeLabelNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeLabelNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeLabelNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeLabelNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeLabeledContentNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeLabeledContentNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeLabeledContentNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeLabeledContentNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeLazyHGridNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeLazyHGridNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeLazyHGridNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeLazyHGridNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeLazyHStackNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeLazyHStackNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeLazyHStackNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeLazyHStackNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeLazyVGridNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeLazyVGridNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeLazyVGridNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeLazyVGridNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeLazyVStackNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeLazyVStackNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeLazyVStackNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeLazyVStackNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeLinearGradientNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeLinearGradientNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeLinearGradientNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeLinearGradientNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeLinkNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeLinkNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeLinkNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeLinkNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeListNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeListNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeListNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeListNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeLivePhotoViewNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeLivePhotoViewNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeLivePhotoViewNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeLivePhotoViewNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeMapNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeMapNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeMapNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeMapNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeMaskNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeMaskNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeMaskNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeMaskNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeMenuNativeComponent.mjs +14 -9
- package/dist/esm/platform/specs/OneNativeMenuNativeComponent.mjs.map +3 -3
- package/dist/esm/platform/specs/OneNativeMenuNativeComponent.native.js +14 -9
- package/dist/esm/platform/specs/OneNativeMenuNativeComponent.native.js.map +3 -3
- package/dist/esm/platform/specs/OneNativeMeshGradientNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeMeshGradientNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeMeshGradientNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeMeshGradientNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeNavigationStackContentNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeNavigationStackContentNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeNavigationStackContentNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeNavigationStackContentNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeNavigationStackNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeNavigationStackNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeNavigationStackNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeNavigationStackNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeOverlayContentNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeOverlayContentNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeOverlayContentNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeOverlayContentNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeOverlayNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeOverlayNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeOverlayNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeOverlayNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativePagerNativeComponent.mjs +43 -14
- package/dist/esm/platform/specs/OneNativePagerNativeComponent.mjs.map +3 -3
- package/dist/esm/platform/specs/OneNativePagerNativeComponent.native.js +43 -14
- package/dist/esm/platform/specs/OneNativePagerNativeComponent.native.js.map +3 -3
- package/dist/esm/platform/specs/OneNativePasteButtonNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativePasteButtonNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativePasteButtonNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativePasteButtonNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativePhotosPickerNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativePhotosPickerNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativePhotosPickerNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativePhotosPickerNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativePickerNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativePickerNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativePickerNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativePickerNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativePictureInPictureNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativePictureInPictureNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativePictureInPictureNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativePictureInPictureNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativePopoverContentNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativePopoverContentNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativePopoverContentNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativePopoverContentNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativePopoverNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativePopoverNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativePopoverNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativePopoverNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativePortalHostViewNativeComponent.mjs +14 -0
- package/dist/esm/platform/specs/OneNativePortalHostViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneNativePortalHostViewNativeComponent.native.js +14 -0
- package/dist/esm/platform/specs/OneNativePortalHostViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneNativePortalViewNativeComponent.mjs +15 -0
- package/dist/esm/platform/specs/OneNativePortalViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneNativePortalViewNativeComponent.native.js +15 -0
- package/dist/esm/platform/specs/OneNativePortalViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneNativeProgressViewNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeProgressViewNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeProgressViewNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeProgressViewNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeQuickLookNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeQuickLookNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeQuickLookNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeQuickLookNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeRadialGradientNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeRadialGradientNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeRadialGradientNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeRadialGradientNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeRectangleNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeRectangleNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeRectangleNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeRectangleNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeReservedRegionsProviderNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeReservedRegionsProviderNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeReservedRegionsProviderNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeRoundedRectangleNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeRoundedRectangleNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeRoundedRectangleNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeRoundedRectangleNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSafeAreaProviderNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeSafeAreaProviderNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeSafeAreaProviderNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeScrollViewNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeScrollViewNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeScrollViewNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeScrollViewNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSectionNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeSectionNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSectionNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeSectionNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSecureFieldNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeSecureFieldNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSecureFieldNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeSecureFieldNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeShareLinkNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeShareLinkNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeShareLinkNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeShareLinkNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSheetContentNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeSheetContentNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSheetContentNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeSheetContentNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSheetNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeSheetNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSheetNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeSheetNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeSignInWithAppleButtonNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSliderNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeSliderNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSliderNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeSliderNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSpacerNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeSpacerNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSpacerNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeSpacerNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeStepperNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeStepperNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeStepperNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeStepperNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSwiftPagerNativeComponent.mjs +27 -0
- package/dist/esm/platform/specs/OneNativeSwiftPagerNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneNativeSwiftPagerNativeComponent.native.js +27 -0
- package/dist/esm/platform/specs/OneNativeSwiftPagerNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneNativeSwipeActionsActionsNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeSwipeActionsActionsNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeSwipeActionsActionsNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeSwipeActionsNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeSwipeActionsNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeSwipeActionsNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeSwipeActionsNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeTabNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeTabNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeTabNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeTabNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeTabsNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeTabsNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeTabsNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeTabsNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeTextEditorNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeTextEditorNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeTextEditorNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeTextEditorNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeTextFieldNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeTextFieldNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeTextFieldNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeTextFieldNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeTextNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeTextNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeTextNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeTextNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeToggleNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeToggleNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeToggleNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeToggleNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeToolbarItemGroupNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeToolbarItemGroupNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeToolbarItemGroupNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeToolbarItemNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeToolbarItemNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeToolbarItemNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeToolbarItemNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeToolbarNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeToolbarNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeToolbarNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeToolbarNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeToolbarSpacerNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeToolbarSpacerNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeToolbarSpacerNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeToolbarSpacerNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeUiMapNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeUiMapNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeUiMapNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeUiMapNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeUnevenRoundedRectangleNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeVideoPlayerNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeVideoPlayerNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeVideoPlayerNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeVideoPlayerNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeViewThatFitsNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeViewThatFitsNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeViewThatFitsNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeViewThatFitsNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeWebViewNativeComponent.mjs +8 -8
- package/dist/esm/platform/specs/OneNativeWebViewNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeWebViewNativeComponent.native.js +8 -8
- package/dist/esm/platform/specs/OneNativeWebViewNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneNativeZStackNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneNativeZStackNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneNativeZStackNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneNativeZStackNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/specs/OneSwiftHostNativeComponent.mjs +6 -6
- package/dist/esm/platform/specs/OneSwiftHostNativeComponent.mjs.map +2 -2
- package/dist/esm/platform/specs/OneSwiftHostNativeComponent.native.js +6 -6
- package/dist/esm/platform/specs/OneSwiftHostNativeComponent.native.js.map +2 -2
- package/dist/esm/platform/ui/Pager.mjs +189 -0
- package/dist/esm/platform/ui/Pager.mjs.map +1 -0
- package/dist/esm/platform/ui/Pager.native.js +48 -0
- package/dist/esm/platform/ui/Pager.native.js.map +1 -0
- package/dist/esm/platform/ui/Portal.mjs +116 -0
- package/dist/esm/platform/ui/Portal.mjs.map +1 -0
- package/dist/esm/platform/ui/Portal.native.js +18 -0
- package/dist/esm/platform/ui/Portal.native.js.map +1 -0
- package/dist/esm/platform/ui/pagerTypes.mjs +19 -0
- package/dist/esm/platform/ui/pagerTypes.mjs.map +1 -0
- package/dist/esm/platform/ui/pagerTypes.native.js +20 -0
- package/dist/esm/platform/ui/pagerTypes.native.js.map +1 -0
- package/dist/esm/platform/ui/portalTypes.mjs +0 -0
- package/dist/esm/platform/ui/portalTypes.native.js +0 -0
- package/dist/esm/router/router.native.js +2 -1
- package/dist/esm/router/router.native.js.map +1 -1
- package/ios/Generated/OneNativeMenuContent.swift +5 -0
- package/ios/Generated/OneNativeMenuPayload.h +2 -1
- package/ios/OneNativeMenuComponentView.mm +8 -1
- package/ios/OneNativeMenuView.swift +55 -1
- package/ios/OneNativePagerComponentView.h +1 -2
- package/ios/OneNativePagerComponentView.mm +138 -59
- package/ios/OneNativePortalHostView.mm +32 -0
- package/ios/OneNativePortalRegistry.h +23 -0
- package/ios/OneNativePortalRegistry.mm +65 -0
- package/ios/OneNativePortalView.mm +92 -0
- package/ios/OneNativeSwiftPagerComponentView.h +6 -0
- package/ios/OneNativeSwiftPagerComponentView.mm +91 -0
- package/ios/{OneNativePagerView.swift → OneNativeSwiftPagerView.swift} +3 -3
- package/package.json +15 -11
- package/react-native.config.cjs +7 -0
- package/schema.json +91 -1
- package/src/index.ts +4 -0
- package/src/nativeCoverage.test.ts +1 -1
- package/src/platform/AndroidMenu.test.tsx +37 -2
- package/src/platform/AndroidMenu.tsx +4 -0
- package/src/platform/Menu.native.tsx +14 -0
- package/src/platform/Pager.native.tsx +1 -1
- package/src/platform/README.md +12 -4
- package/src/platform/effects/index.native.ts +11 -0
- package/src/platform/effects/index.ts +11 -0
- package/src/platform/generated/types.ts +14 -0
- package/src/platform/index.native.ts +81 -15
- package/src/platform/index.ts +73 -13
- package/src/platform/menuItems.ts +89 -0
- package/src/platform/specs/OneNativeMenuNativeComponent.ts +5 -0
- package/src/platform/specs/OneNativePagerNativeComponent.ts +40 -10
- package/src/platform/specs/OneNativePortalHostViewNativeComponent.ts +9 -0
- package/src/platform/specs/OneNativePortalViewNativeComponent.ts +12 -0
- package/src/platform/specs/OneNativeSwiftPagerNativeComponent.ts +15 -0
- package/src/platform/ui/Pager.native.tsx +71 -0
- package/src/platform/ui/Pager.tsx +227 -0
- package/src/platform/ui/Portal.native.tsx +10 -0
- package/src/platform/ui/Portal.tsx +141 -0
- package/src/platform/ui/pagerTypes.ts +64 -0
- package/src/platform/ui/portalTypes.ts +8 -0
- package/src/router/linkToColdRoute.test.ts +89 -0
- package/src/router/router.ts +11 -2
- package/types/index.d.ts +2 -1
- package/types/index.d.ts.map +1 -1
- package/types/platform/AndroidMenu.d.ts.map +1 -1
- package/types/platform/effects/index.d.ts +4 -0
- package/types/platform/effects/index.d.ts.map +1 -1
- package/types/platform/effects/index.native.d.ts +4 -0
- package/types/platform/effects/index.native.d.ts.map +1 -1
- package/types/platform/generated/types.d.ts +13 -1
- package/types/platform/generated/types.d.ts.map +1 -1
- package/types/platform/index.d.ts +11 -9
- package/types/platform/index.d.ts.map +1 -1
- package/types/platform/index.native.d.ts +13 -11
- package/types/platform/index.native.d.ts.map +1 -1
- package/types/platform/menuItems.d.ts.map +1 -1
- package/types/platform/specs/OneNativeMenuNativeComponent.d.ts +8 -0
- package/types/platform/specs/OneNativeMenuNativeComponent.d.ts.map +1 -1
- package/types/platform/specs/OneNativePagerNativeComponent.d.ts +27 -9
- package/types/platform/specs/OneNativePagerNativeComponent.d.ts.map +1 -1
- package/types/platform/specs/OneNativePortalHostViewNativeComponent.d.ts +7 -0
- package/types/platform/specs/OneNativePortalHostViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneNativePortalViewNativeComponent.d.ts +8 -0
- package/types/platform/specs/OneNativePortalViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneNativeSwiftPagerNativeComponent.d.ts +15 -0
- package/types/platform/specs/OneNativeSwiftPagerNativeComponent.d.ts.map +1 -0
- package/types/platform/ui/Pager.d.ts +18 -0
- package/types/platform/ui/Pager.d.ts.map +1 -0
- package/types/platform/ui/Pager.native.d.ts +19 -0
- package/types/platform/ui/Pager.native.d.ts.map +1 -0
- package/types/platform/ui/Portal.d.ts +5 -0
- package/types/platform/ui/Portal.d.ts.map +1 -0
- package/types/platform/ui/Portal.native.d.ts +5 -0
- package/types/platform/ui/Portal.native.d.ts.map +1 -0
- package/types/platform/ui/pagerTypes.d.ts +41 -0
- package/types/platform/ui/pagerTypes.d.ts.map +1 -0
- package/types/platform/ui/portalTypes.d.ts +12 -0
- package/types/platform/ui/portalTypes.d.ts.map +1 -0
- 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,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;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,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,YAAY;AAAK,CAAC,IAAI,QACzG,GACF;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,sBAAsB,CAAC;AAC3B,SAAS,qBAAqB;CAC5B,mBAAmB;CACnB,YAAY;AACd,CAAC;AACD,OAAO,UAAU,aAAa,mBAAmB;AACjD,IAAI,qBAAqB,QAAQ,mBAAmB;AACpD,IAAI,oBAAoB,QAAQ,wBAAc;AAC9C,IAAI,eAAe,QAAQ,OAAO;AAClC,IAAI,sBAAsB,QAAQ,cAAc;AAChD,IAAI,sCAAsC,QAAQ,QAAQ,gDAAsC,GAAG,CAAC;AACpG,IAAI,mBAAmB,QAAQ,uBAAa;AAC5C,IAAI,iBAAiB,QAAQ,+BAAqB;AAClD,SAAS,KAAK,OAAO;CACnB,OAAuB,iBAAC,GAAG,mBAAmB,IAAG,CAAE,kBAAkB;EACnE,GAAG;EACH,cAAc;CAChB,CAAC;AACH;AACA,SAAS,YAAY,OAAO;CAC1B,IAAI;CACJ,OAAuB,iBAAC,GAAG,mBAAmB,IAAG,CAAE,kBAAkB;EACnE,GAAG;EACH,qBAAqB,4BAA4B,MAAM,wBAAwB,QAAQ,8BAA8B,KAAK,IAAI,4BAA4B;EAC1J,cAAc;CAChB,CAAC;AACH;AACA,SAAS,iBAAiB,OAAO;CAC/B,IAAI,EAAE,OAAO,UAAU,eAAe,UAAU,eAAe,WAAW,GAAG,YAAY,aAAa,4BAA4B,aAAa,WAAW,OAAO,oBAAoB,cAAc,GAAG,UAAU;
|
|
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":"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"}
|
|
@@ -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
|
|
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)(
|
|
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
|
|
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)(
|
|
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
|
|
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-hide-descendants\",\n children: page.children\n }, page.id);\n })\n });\n}\n//# sourceMappingURL=Pager.native.js.map\n"],"mappings":"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"}
|
|
@@ -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,
|