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
|
@@ -31,29 +31,29 @@ function flattenMenuItems(items) {
|
|
|
31
31
|
var append = function(items2, parentId, disabled, hidden) {
|
|
32
32
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
33
33
|
try {
|
|
34
|
-
|
|
34
|
+
var _loop = function() {
|
|
35
35
|
var item = _step.value;
|
|
36
36
|
var input = item;
|
|
37
37
|
switch (item.type) {
|
|
38
38
|
case "action": {
|
|
39
39
|
var _input_id, _input_title, _input_systemImage, _input_role, _input_disabled, _input_hidden, _input_help, _input_menuActionDismissBehavior;
|
|
40
|
-
var
|
|
40
|
+
var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;
|
|
41
41
|
try {
|
|
42
|
-
for (var
|
|
42
|
+
for (var _iterator2 = Object.keys(input)[Symbol.iterator](), _step1; !(_iteratorNormalCompletion2 = (_step1 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
|
43
43
|
var name = _step1.value;
|
|
44
44
|
if (name !== "type" && name !== "id" && name !== "title" && name !== "systemImage" && name !== "role" && name !== "disabled" && name !== "hidden" && name !== "help" && name !== "menuActionDismissBehavior") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name);
|
|
45
45
|
}
|
|
46
46
|
} catch (err) {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
_didIteratorError2 = true;
|
|
48
|
+
_iteratorError2 = err;
|
|
49
49
|
} finally {
|
|
50
50
|
try {
|
|
51
|
-
if (!
|
|
52
|
-
|
|
51
|
+
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
|
52
|
+
_iterator2.return();
|
|
53
53
|
}
|
|
54
54
|
} finally {
|
|
55
|
-
if (
|
|
56
|
-
throw
|
|
55
|
+
if (_didIteratorError2) {
|
|
56
|
+
throw _iteratorError2;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -89,6 +89,7 @@ function flattenMenuItems(items) {
|
|
|
89
89
|
help,
|
|
90
90
|
controlGroupStyle: "automatic",
|
|
91
91
|
values: [],
|
|
92
|
+
selection: "",
|
|
92
93
|
menuOrder: "",
|
|
93
94
|
menuActionDismissBehavior,
|
|
94
95
|
parentId,
|
|
@@ -98,23 +99,23 @@ function flattenMenuItems(items) {
|
|
|
98
99
|
}
|
|
99
100
|
case "toggle": {
|
|
100
101
|
var _input_id1, _input_title1, _input_systemImage1, _input_values, _input_disabled1, _input_hidden1, _input_help1, _input_menuActionDismissBehavior1;
|
|
101
|
-
var
|
|
102
|
+
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
|
|
102
103
|
try {
|
|
103
|
-
for (var
|
|
104
|
+
for (var _iterator1 = Object.keys(input)[Symbol.iterator](), _step2; !(_iteratorNormalCompletion1 = (_step2 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
|
|
104
105
|
var name1 = _step2.value;
|
|
105
106
|
if (name1 !== "type" && name1 !== "id" && name1 !== "title" && name1 !== "systemImage" && name1 !== "values" && name1 !== "disabled" && name1 !== "hidden" && name1 !== "help" && name1 !== "menuActionDismissBehavior") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name1);
|
|
106
107
|
}
|
|
107
108
|
} catch (err) {
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
_didIteratorError1 = true;
|
|
110
|
+
_iteratorError1 = err;
|
|
110
111
|
} finally {
|
|
111
112
|
try {
|
|
112
|
-
if (!
|
|
113
|
-
|
|
113
|
+
if (!_iteratorNormalCompletion1 && _iterator1.return != null) {
|
|
114
|
+
_iterator1.return();
|
|
114
115
|
}
|
|
115
116
|
} finally {
|
|
116
|
-
if (
|
|
117
|
-
throw
|
|
117
|
+
if (_didIteratorError1) {
|
|
118
|
+
throw _iteratorError1;
|
|
118
119
|
}
|
|
119
120
|
}
|
|
120
121
|
}
|
|
@@ -152,6 +153,7 @@ function flattenMenuItems(items) {
|
|
|
152
153
|
help: help1,
|
|
153
154
|
controlGroupStyle: "automatic",
|
|
154
155
|
values,
|
|
156
|
+
selection: "",
|
|
155
157
|
menuOrder: "",
|
|
156
158
|
menuActionDismissBehavior: menuActionDismissBehavior1,
|
|
157
159
|
parentId,
|
|
@@ -161,23 +163,23 @@ function flattenMenuItems(items) {
|
|
|
161
163
|
}
|
|
162
164
|
case "submenu": {
|
|
163
165
|
var _input_id2, _input_title2, _input_systemImage2, _input_disabled2, _input_hidden2, _input_help2, _input_menuOrder, _input_menuActionDismissBehavior2;
|
|
164
|
-
var
|
|
166
|
+
var _iteratorNormalCompletion22 = true, _didIteratorError22 = false, _iteratorError22 = void 0;
|
|
165
167
|
try {
|
|
166
|
-
for (var
|
|
168
|
+
for (var _iterator22 = Object.keys(input)[Symbol.iterator](), _step3; !(_iteratorNormalCompletion22 = (_step3 = _iterator22.next()).done); _iteratorNormalCompletion22 = true) {
|
|
167
169
|
var name2 = _step3.value;
|
|
168
170
|
if (name2 !== "type" && name2 !== "id" && name2 !== "title" && name2 !== "systemImage" && name2 !== "disabled" && name2 !== "hidden" && name2 !== "help" && name2 !== "menuOrder" && name2 !== "menuActionDismissBehavior" && name2 !== "children") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name2);
|
|
169
171
|
}
|
|
170
172
|
} catch (err) {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
+
_didIteratorError22 = true;
|
|
174
|
+
_iteratorError22 = err;
|
|
173
175
|
} finally {
|
|
174
176
|
try {
|
|
175
|
-
if (!
|
|
176
|
-
|
|
177
|
+
if (!_iteratorNormalCompletion22 && _iterator22.return != null) {
|
|
178
|
+
_iterator22.return();
|
|
177
179
|
}
|
|
178
180
|
} finally {
|
|
179
|
-
if (
|
|
180
|
-
throw
|
|
181
|
+
if (_didIteratorError22) {
|
|
182
|
+
throw _iteratorError22;
|
|
181
183
|
}
|
|
182
184
|
}
|
|
183
185
|
}
|
|
@@ -213,6 +215,7 @@ function flattenMenuItems(items) {
|
|
|
213
215
|
help: help2,
|
|
214
216
|
controlGroupStyle: "automatic",
|
|
215
217
|
values: [],
|
|
218
|
+
selection: "",
|
|
216
219
|
menuOrder,
|
|
217
220
|
menuActionDismissBehavior: menuActionDismissBehavior2,
|
|
218
221
|
parentId,
|
|
@@ -224,23 +227,23 @@ function flattenMenuItems(items) {
|
|
|
224
227
|
}
|
|
225
228
|
case "section": {
|
|
226
229
|
var _input_id3, _input_title3, _input_hidden3;
|
|
227
|
-
var
|
|
230
|
+
var _iteratorNormalCompletion3 = true, _didIteratorError3 = false, _iteratorError3 = void 0;
|
|
228
231
|
try {
|
|
229
|
-
for (var
|
|
232
|
+
for (var _iterator3 = Object.keys(input)[Symbol.iterator](), _step4; !(_iteratorNormalCompletion3 = (_step4 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
|
|
230
233
|
var name3 = _step4.value;
|
|
231
234
|
if (name3 !== "type" && name3 !== "id" && name3 !== "title" && name3 !== "hidden" && name3 !== "children") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name3);
|
|
232
235
|
}
|
|
233
236
|
} catch (err) {
|
|
234
|
-
|
|
235
|
-
|
|
237
|
+
_didIteratorError3 = true;
|
|
238
|
+
_iteratorError3 = err;
|
|
236
239
|
} finally {
|
|
237
240
|
try {
|
|
238
|
-
if (!
|
|
239
|
-
|
|
241
|
+
if (!_iteratorNormalCompletion3 && _iterator3.return != null) {
|
|
242
|
+
_iterator3.return();
|
|
240
243
|
}
|
|
241
244
|
} finally {
|
|
242
|
-
if (
|
|
243
|
-
throw
|
|
245
|
+
if (_didIteratorError3) {
|
|
246
|
+
throw _iteratorError3;
|
|
244
247
|
}
|
|
245
248
|
}
|
|
246
249
|
}
|
|
@@ -263,6 +266,7 @@ function flattenMenuItems(items) {
|
|
|
263
266
|
help: "",
|
|
264
267
|
controlGroupStyle: "automatic",
|
|
265
268
|
values: [],
|
|
269
|
+
selection: "",
|
|
266
270
|
menuOrder: "",
|
|
267
271
|
menuActionDismissBehavior: "",
|
|
268
272
|
parentId,
|
|
@@ -274,23 +278,23 @@ function flattenMenuItems(items) {
|
|
|
274
278
|
}
|
|
275
279
|
case "controlGroup": {
|
|
276
280
|
var _input_id4, _input_title4, _input_systemImage3, _input_disabled3, _input_hidden4, _input_controlGroupStyle;
|
|
277
|
-
var
|
|
281
|
+
var _iteratorNormalCompletion4 = true, _didIteratorError4 = false, _iteratorError4 = void 0;
|
|
278
282
|
try {
|
|
279
|
-
for (var
|
|
283
|
+
for (var _iterator4 = Object.keys(input)[Symbol.iterator](), _step5; !(_iteratorNormalCompletion4 = (_step5 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
|
|
280
284
|
var name4 = _step5.value;
|
|
281
285
|
if (name4 !== "type" && name4 !== "id" && name4 !== "title" && name4 !== "systemImage" && name4 !== "disabled" && name4 !== "hidden" && name4 !== "controlGroupStyle" && name4 !== "children") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name4);
|
|
282
286
|
}
|
|
283
287
|
} catch (err) {
|
|
284
|
-
|
|
285
|
-
|
|
288
|
+
_didIteratorError4 = true;
|
|
289
|
+
_iteratorError4 = err;
|
|
286
290
|
} finally {
|
|
287
291
|
try {
|
|
288
|
-
if (!
|
|
289
|
-
|
|
292
|
+
if (!_iteratorNormalCompletion4 && _iterator4.return != null) {
|
|
293
|
+
_iterator4.return();
|
|
290
294
|
}
|
|
291
295
|
} finally {
|
|
292
|
-
if (
|
|
293
|
-
throw
|
|
296
|
+
if (_didIteratorError4) {
|
|
297
|
+
throw _iteratorError4;
|
|
294
298
|
}
|
|
295
299
|
}
|
|
296
300
|
}
|
|
@@ -320,6 +324,7 @@ function flattenMenuItems(items) {
|
|
|
320
324
|
help: "",
|
|
321
325
|
controlGroupStyle,
|
|
322
326
|
values: [],
|
|
327
|
+
selection: "",
|
|
323
328
|
menuOrder: "",
|
|
324
329
|
menuActionDismissBehavior: "",
|
|
325
330
|
parentId,
|
|
@@ -329,13 +334,80 @@ function flattenMenuItems(items) {
|
|
|
329
334
|
append(input.children, item.id, Boolean(disabled || disabledValue3), Boolean(hidden || hiddenValue4));
|
|
330
335
|
break;
|
|
331
336
|
}
|
|
337
|
+
case "picker": {
|
|
338
|
+
var _input_id5, _input_title5, _input_systemImage4, _input_selection, _input_disabled4, _input_hidden5, _input_help3;
|
|
339
|
+
var _iteratorNormalCompletion5 = true, _didIteratorError5 = false, _iteratorError5 = void 0;
|
|
340
|
+
try {
|
|
341
|
+
for (var _iterator5 = Object.keys(input)[Symbol.iterator](), _step6; !(_iteratorNormalCompletion5 = (_step6 = _iterator5.next()).done); _iteratorNormalCompletion5 = true) {
|
|
342
|
+
var name5 = _step6.value;
|
|
343
|
+
if (name5 !== "type" && name5 !== "id" && name5 !== "title" && name5 !== "systemImage" && name5 !== "selection" && name5 !== "disabled" && name5 !== "hidden" && name5 !== "help" && name5 !== "children") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name5);
|
|
344
|
+
}
|
|
345
|
+
} catch (err) {
|
|
346
|
+
_didIteratorError5 = true;
|
|
347
|
+
_iteratorError5 = err;
|
|
348
|
+
} finally {
|
|
349
|
+
try {
|
|
350
|
+
if (!_iteratorNormalCompletion5 && _iterator5.return != null) {
|
|
351
|
+
_iterator5.return();
|
|
352
|
+
}
|
|
353
|
+
} finally {
|
|
354
|
+
if (_didIteratorError5) {
|
|
355
|
+
throw _iteratorError5;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
var id5 = (_input_id5 = input.id) !== null && _input_id5 !== void 0 ? _input_id5 : "";
|
|
360
|
+
if (input.id == null) throw new Error("Swift.Menu " + item.type + " requires id");
|
|
361
|
+
if (typeof id5 !== "string") throw new Error("Invalid Swift.Menu id");
|
|
362
|
+
var title5 = (_input_title5 = input.title) !== null && _input_title5 !== void 0 ? _input_title5 : "";
|
|
363
|
+
if (input.title == null) throw new Error("Swift.Menu " + item.type + " requires title");
|
|
364
|
+
if (typeof title5 !== "string") throw new Error("Invalid Swift.Menu title");
|
|
365
|
+
var systemImage4 = (_input_systemImage4 = input.systemImage) !== null && _input_systemImage4 !== void 0 ? _input_systemImage4 : "";
|
|
366
|
+
if (typeof systemImage4 !== "string") throw new Error("Invalid Swift.Menu systemImage");
|
|
367
|
+
var selection = (_input_selection = input.selection) !== null && _input_selection !== void 0 ? _input_selection : "";
|
|
368
|
+
if (input.selection == null) throw new Error("Swift.Menu " + item.type + " requires selection");
|
|
369
|
+
if (typeof selection !== "string") throw new Error("Invalid Swift.Menu selection");
|
|
370
|
+
var disabledValue4 = (_input_disabled4 = input.disabled) !== null && _input_disabled4 !== void 0 ? _input_disabled4 : false;
|
|
371
|
+
if (typeof disabledValue4 !== "boolean") throw new Error("Invalid Swift.Menu disabled");
|
|
372
|
+
var hiddenValue5 = (_input_hidden5 = input.hidden) !== null && _input_hidden5 !== void 0 ? _input_hidden5 : false;
|
|
373
|
+
if (typeof hiddenValue5 !== "boolean") throw new Error("Invalid Swift.Menu hidden");
|
|
374
|
+
var help3 = (_input_help3 = input.help) !== null && _input_help3 !== void 0 ? _input_help3 : "";
|
|
375
|
+
if (typeof help3 !== "string") throw new Error("Invalid Swift.Menu help");
|
|
376
|
+
if (!item.id || ids.has(item.id)) throw new Error("Swift.Menu requires unique, nonempty item ids: \"" + item.id + "\"");
|
|
377
|
+
ids.add(item.id);
|
|
378
|
+
result.push({
|
|
379
|
+
id: id5,
|
|
380
|
+
title: title5,
|
|
381
|
+
systemImage: systemImage4,
|
|
382
|
+
role: "",
|
|
383
|
+
disabled: disabled || disabledValue4,
|
|
384
|
+
hidden: hidden || hiddenValue5,
|
|
385
|
+
help: help3,
|
|
386
|
+
controlGroupStyle: "automatic",
|
|
387
|
+
values: [],
|
|
388
|
+
selection,
|
|
389
|
+
menuOrder: "",
|
|
390
|
+
menuActionDismissBehavior: "",
|
|
391
|
+
parentId,
|
|
392
|
+
type: item.type
|
|
393
|
+
});
|
|
394
|
+
if (!Array.isArray(input.children)) throw new Error("Swift.Menu " + item.type + " requires children");
|
|
395
|
+
if (!input.children.length || input.children.some(function(child) {
|
|
396
|
+
return (child === null || child === void 0 ? void 0 : child.type) !== "action";
|
|
397
|
+
})) throw new Error("Swift.Menu picker children must be actions");
|
|
398
|
+
if (!input.children.some(function(child) {
|
|
399
|
+
return child.id === input.selection;
|
|
400
|
+
})) throw new Error("Swift.Menu picker selection must match a child id");
|
|
401
|
+
append(input.children, item.id, Boolean(disabled || disabledValue4), Boolean(hidden || hiddenValue5));
|
|
402
|
+
break;
|
|
403
|
+
}
|
|
332
404
|
case "divider": {
|
|
333
|
-
var
|
|
405
|
+
var _input_id6;
|
|
334
406
|
var _iteratorNormalCompletion6 = true, _didIteratorError6 = false, _iteratorError6 = void 0;
|
|
335
407
|
try {
|
|
336
|
-
for (var _iterator6 = Object.keys(input)[Symbol.iterator](),
|
|
337
|
-
var
|
|
338
|
-
if (
|
|
408
|
+
for (var _iterator6 = Object.keys(input)[Symbol.iterator](), _step7; !(_iteratorNormalCompletion6 = (_step7 = _iterator6.next()).done); _iteratorNormalCompletion6 = true) {
|
|
409
|
+
var name6 = _step7.value;
|
|
410
|
+
if (name6 !== "type" && name6 !== "id") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name6);
|
|
339
411
|
}
|
|
340
412
|
} catch (err) {
|
|
341
413
|
_didIteratorError6 = true;
|
|
@@ -351,13 +423,13 @@ function flattenMenuItems(items) {
|
|
|
351
423
|
}
|
|
352
424
|
}
|
|
353
425
|
}
|
|
354
|
-
var
|
|
426
|
+
var id6 = (_input_id6 = input.id) !== null && _input_id6 !== void 0 ? _input_id6 : "";
|
|
355
427
|
if (input.id == null) throw new Error("Swift.Menu " + item.type + " requires id");
|
|
356
|
-
if (typeof
|
|
428
|
+
if (typeof id6 !== "string") throw new Error("Invalid Swift.Menu id");
|
|
357
429
|
if (!item.id || ids.has(item.id)) throw new Error("Swift.Menu requires unique, nonempty item ids: \"" + item.id + "\"");
|
|
358
430
|
ids.add(item.id);
|
|
359
431
|
result.push({
|
|
360
|
-
id:
|
|
432
|
+
id: id6,
|
|
361
433
|
title: "",
|
|
362
434
|
systemImage: "",
|
|
363
435
|
role: "",
|
|
@@ -366,6 +438,7 @@ function flattenMenuItems(items) {
|
|
|
366
438
|
help: "",
|
|
367
439
|
controlGroupStyle: "automatic",
|
|
368
440
|
values: [],
|
|
441
|
+
selection: "",
|
|
369
442
|
menuOrder: "",
|
|
370
443
|
menuActionDismissBehavior: "",
|
|
371
444
|
parentId,
|
|
@@ -375,7 +448,8 @@ function flattenMenuItems(items) {
|
|
|
375
448
|
}
|
|
376
449
|
default: throw new Error("Unknown Swift.Menu item type: " + input.type);
|
|
377
450
|
}
|
|
378
|
-
}
|
|
451
|
+
};
|
|
452
|
+
for (var _iterator = items2[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) _loop();
|
|
379
453
|
} catch (err) {
|
|
380
454
|
_didIteratorError = true;
|
|
381
455
|
_iteratorError = err;
|
|
@@ -31,29 +31,29 @@ function flattenMenuItems(items) {
|
|
|
31
31
|
var append = function(items2, parentId, disabled, hidden) {
|
|
32
32
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
33
33
|
try {
|
|
34
|
-
|
|
34
|
+
var _loop = function() {
|
|
35
35
|
var item = _step.value;
|
|
36
36
|
var input = item;
|
|
37
37
|
switch (item.type) {
|
|
38
38
|
case "action": {
|
|
39
39
|
var _input_id, _input_title, _input_systemImage, _input_role, _input_disabled, _input_hidden, _input_help, _input_menuActionDismissBehavior;
|
|
40
|
-
var
|
|
40
|
+
var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;
|
|
41
41
|
try {
|
|
42
|
-
for (var
|
|
42
|
+
for (var _iterator2 = Object.keys(input)[Symbol.iterator](), _step1; !(_iteratorNormalCompletion2 = (_step1 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
|
43
43
|
var name = _step1.value;
|
|
44
44
|
if (name !== "type" && name !== "id" && name !== "title" && name !== "systemImage" && name !== "role" && name !== "disabled" && name !== "hidden" && name !== "help" && name !== "menuActionDismissBehavior") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name);
|
|
45
45
|
}
|
|
46
46
|
} catch (err) {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
_didIteratorError2 = true;
|
|
48
|
+
_iteratorError2 = err;
|
|
49
49
|
} finally {
|
|
50
50
|
try {
|
|
51
|
-
if (!
|
|
52
|
-
|
|
51
|
+
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
|
52
|
+
_iterator2.return();
|
|
53
53
|
}
|
|
54
54
|
} finally {
|
|
55
|
-
if (
|
|
56
|
-
throw
|
|
55
|
+
if (_didIteratorError2) {
|
|
56
|
+
throw _iteratorError2;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -89,6 +89,7 @@ function flattenMenuItems(items) {
|
|
|
89
89
|
help,
|
|
90
90
|
controlGroupStyle: "automatic",
|
|
91
91
|
values: [],
|
|
92
|
+
selection: "",
|
|
92
93
|
menuOrder: "",
|
|
93
94
|
menuActionDismissBehavior,
|
|
94
95
|
parentId,
|
|
@@ -98,23 +99,23 @@ function flattenMenuItems(items) {
|
|
|
98
99
|
}
|
|
99
100
|
case "toggle": {
|
|
100
101
|
var _input_id1, _input_title1, _input_systemImage1, _input_values, _input_disabled1, _input_hidden1, _input_help1, _input_menuActionDismissBehavior1;
|
|
101
|
-
var
|
|
102
|
+
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
|
|
102
103
|
try {
|
|
103
|
-
for (var
|
|
104
|
+
for (var _iterator1 = Object.keys(input)[Symbol.iterator](), _step2; !(_iteratorNormalCompletion1 = (_step2 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
|
|
104
105
|
var name1 = _step2.value;
|
|
105
106
|
if (name1 !== "type" && name1 !== "id" && name1 !== "title" && name1 !== "systemImage" && name1 !== "values" && name1 !== "disabled" && name1 !== "hidden" && name1 !== "help" && name1 !== "menuActionDismissBehavior") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name1);
|
|
106
107
|
}
|
|
107
108
|
} catch (err) {
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
_didIteratorError1 = true;
|
|
110
|
+
_iteratorError1 = err;
|
|
110
111
|
} finally {
|
|
111
112
|
try {
|
|
112
|
-
if (!
|
|
113
|
-
|
|
113
|
+
if (!_iteratorNormalCompletion1 && _iterator1.return != null) {
|
|
114
|
+
_iterator1.return();
|
|
114
115
|
}
|
|
115
116
|
} finally {
|
|
116
|
-
if (
|
|
117
|
-
throw
|
|
117
|
+
if (_didIteratorError1) {
|
|
118
|
+
throw _iteratorError1;
|
|
118
119
|
}
|
|
119
120
|
}
|
|
120
121
|
}
|
|
@@ -152,6 +153,7 @@ function flattenMenuItems(items) {
|
|
|
152
153
|
help: help1,
|
|
153
154
|
controlGroupStyle: "automatic",
|
|
154
155
|
values,
|
|
156
|
+
selection: "",
|
|
155
157
|
menuOrder: "",
|
|
156
158
|
menuActionDismissBehavior: menuActionDismissBehavior1,
|
|
157
159
|
parentId,
|
|
@@ -161,23 +163,23 @@ function flattenMenuItems(items) {
|
|
|
161
163
|
}
|
|
162
164
|
case "submenu": {
|
|
163
165
|
var _input_id2, _input_title2, _input_systemImage2, _input_disabled2, _input_hidden2, _input_help2, _input_menuOrder, _input_menuActionDismissBehavior2;
|
|
164
|
-
var
|
|
166
|
+
var _iteratorNormalCompletion22 = true, _didIteratorError22 = false, _iteratorError22 = void 0;
|
|
165
167
|
try {
|
|
166
|
-
for (var
|
|
168
|
+
for (var _iterator22 = Object.keys(input)[Symbol.iterator](), _step3; !(_iteratorNormalCompletion22 = (_step3 = _iterator22.next()).done); _iteratorNormalCompletion22 = true) {
|
|
167
169
|
var name2 = _step3.value;
|
|
168
170
|
if (name2 !== "type" && name2 !== "id" && name2 !== "title" && name2 !== "systemImage" && name2 !== "disabled" && name2 !== "hidden" && name2 !== "help" && name2 !== "menuOrder" && name2 !== "menuActionDismissBehavior" && name2 !== "children") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name2);
|
|
169
171
|
}
|
|
170
172
|
} catch (err) {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
+
_didIteratorError22 = true;
|
|
174
|
+
_iteratorError22 = err;
|
|
173
175
|
} finally {
|
|
174
176
|
try {
|
|
175
|
-
if (!
|
|
176
|
-
|
|
177
|
+
if (!_iteratorNormalCompletion22 && _iterator22.return != null) {
|
|
178
|
+
_iterator22.return();
|
|
177
179
|
}
|
|
178
180
|
} finally {
|
|
179
|
-
if (
|
|
180
|
-
throw
|
|
181
|
+
if (_didIteratorError22) {
|
|
182
|
+
throw _iteratorError22;
|
|
181
183
|
}
|
|
182
184
|
}
|
|
183
185
|
}
|
|
@@ -213,6 +215,7 @@ function flattenMenuItems(items) {
|
|
|
213
215
|
help: help2,
|
|
214
216
|
controlGroupStyle: "automatic",
|
|
215
217
|
values: [],
|
|
218
|
+
selection: "",
|
|
216
219
|
menuOrder,
|
|
217
220
|
menuActionDismissBehavior: menuActionDismissBehavior2,
|
|
218
221
|
parentId,
|
|
@@ -224,23 +227,23 @@ function flattenMenuItems(items) {
|
|
|
224
227
|
}
|
|
225
228
|
case "section": {
|
|
226
229
|
var _input_id3, _input_title3, _input_hidden3;
|
|
227
|
-
var
|
|
230
|
+
var _iteratorNormalCompletion3 = true, _didIteratorError3 = false, _iteratorError3 = void 0;
|
|
228
231
|
try {
|
|
229
|
-
for (var
|
|
232
|
+
for (var _iterator3 = Object.keys(input)[Symbol.iterator](), _step4; !(_iteratorNormalCompletion3 = (_step4 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
|
|
230
233
|
var name3 = _step4.value;
|
|
231
234
|
if (name3 !== "type" && name3 !== "id" && name3 !== "title" && name3 !== "hidden" && name3 !== "children") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name3);
|
|
232
235
|
}
|
|
233
236
|
} catch (err) {
|
|
234
|
-
|
|
235
|
-
|
|
237
|
+
_didIteratorError3 = true;
|
|
238
|
+
_iteratorError3 = err;
|
|
236
239
|
} finally {
|
|
237
240
|
try {
|
|
238
|
-
if (!
|
|
239
|
-
|
|
241
|
+
if (!_iteratorNormalCompletion3 && _iterator3.return != null) {
|
|
242
|
+
_iterator3.return();
|
|
240
243
|
}
|
|
241
244
|
} finally {
|
|
242
|
-
if (
|
|
243
|
-
throw
|
|
245
|
+
if (_didIteratorError3) {
|
|
246
|
+
throw _iteratorError3;
|
|
244
247
|
}
|
|
245
248
|
}
|
|
246
249
|
}
|
|
@@ -263,6 +266,7 @@ function flattenMenuItems(items) {
|
|
|
263
266
|
help: "",
|
|
264
267
|
controlGroupStyle: "automatic",
|
|
265
268
|
values: [],
|
|
269
|
+
selection: "",
|
|
266
270
|
menuOrder: "",
|
|
267
271
|
menuActionDismissBehavior: "",
|
|
268
272
|
parentId,
|
|
@@ -274,23 +278,23 @@ function flattenMenuItems(items) {
|
|
|
274
278
|
}
|
|
275
279
|
case "controlGroup": {
|
|
276
280
|
var _input_id4, _input_title4, _input_systemImage3, _input_disabled3, _input_hidden4, _input_controlGroupStyle;
|
|
277
|
-
var
|
|
281
|
+
var _iteratorNormalCompletion4 = true, _didIteratorError4 = false, _iteratorError4 = void 0;
|
|
278
282
|
try {
|
|
279
|
-
for (var
|
|
283
|
+
for (var _iterator4 = Object.keys(input)[Symbol.iterator](), _step5; !(_iteratorNormalCompletion4 = (_step5 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
|
|
280
284
|
var name4 = _step5.value;
|
|
281
285
|
if (name4 !== "type" && name4 !== "id" && name4 !== "title" && name4 !== "systemImage" && name4 !== "disabled" && name4 !== "hidden" && name4 !== "controlGroupStyle" && name4 !== "children") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name4);
|
|
282
286
|
}
|
|
283
287
|
} catch (err) {
|
|
284
|
-
|
|
285
|
-
|
|
288
|
+
_didIteratorError4 = true;
|
|
289
|
+
_iteratorError4 = err;
|
|
286
290
|
} finally {
|
|
287
291
|
try {
|
|
288
|
-
if (!
|
|
289
|
-
|
|
292
|
+
if (!_iteratorNormalCompletion4 && _iterator4.return != null) {
|
|
293
|
+
_iterator4.return();
|
|
290
294
|
}
|
|
291
295
|
} finally {
|
|
292
|
-
if (
|
|
293
|
-
throw
|
|
296
|
+
if (_didIteratorError4) {
|
|
297
|
+
throw _iteratorError4;
|
|
294
298
|
}
|
|
295
299
|
}
|
|
296
300
|
}
|
|
@@ -320,6 +324,7 @@ function flattenMenuItems(items) {
|
|
|
320
324
|
help: "",
|
|
321
325
|
controlGroupStyle,
|
|
322
326
|
values: [],
|
|
327
|
+
selection: "",
|
|
323
328
|
menuOrder: "",
|
|
324
329
|
menuActionDismissBehavior: "",
|
|
325
330
|
parentId,
|
|
@@ -329,13 +334,80 @@ function flattenMenuItems(items) {
|
|
|
329
334
|
append(input.children, item.id, Boolean(disabled || disabledValue3), Boolean(hidden || hiddenValue4));
|
|
330
335
|
break;
|
|
331
336
|
}
|
|
337
|
+
case "picker": {
|
|
338
|
+
var _input_id5, _input_title5, _input_systemImage4, _input_selection, _input_disabled4, _input_hidden5, _input_help3;
|
|
339
|
+
var _iteratorNormalCompletion5 = true, _didIteratorError5 = false, _iteratorError5 = void 0;
|
|
340
|
+
try {
|
|
341
|
+
for (var _iterator5 = Object.keys(input)[Symbol.iterator](), _step6; !(_iteratorNormalCompletion5 = (_step6 = _iterator5.next()).done); _iteratorNormalCompletion5 = true) {
|
|
342
|
+
var name5 = _step6.value;
|
|
343
|
+
if (name5 !== "type" && name5 !== "id" && name5 !== "title" && name5 !== "systemImage" && name5 !== "selection" && name5 !== "disabled" && name5 !== "hidden" && name5 !== "help" && name5 !== "children") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name5);
|
|
344
|
+
}
|
|
345
|
+
} catch (err) {
|
|
346
|
+
_didIteratorError5 = true;
|
|
347
|
+
_iteratorError5 = err;
|
|
348
|
+
} finally {
|
|
349
|
+
try {
|
|
350
|
+
if (!_iteratorNormalCompletion5 && _iterator5.return != null) {
|
|
351
|
+
_iterator5.return();
|
|
352
|
+
}
|
|
353
|
+
} finally {
|
|
354
|
+
if (_didIteratorError5) {
|
|
355
|
+
throw _iteratorError5;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
var id5 = (_input_id5 = input.id) !== null && _input_id5 !== void 0 ? _input_id5 : "";
|
|
360
|
+
if (input.id == null) throw new Error("Swift.Menu " + item.type + " requires id");
|
|
361
|
+
if (typeof id5 !== "string") throw new Error("Invalid Swift.Menu id");
|
|
362
|
+
var title5 = (_input_title5 = input.title) !== null && _input_title5 !== void 0 ? _input_title5 : "";
|
|
363
|
+
if (input.title == null) throw new Error("Swift.Menu " + item.type + " requires title");
|
|
364
|
+
if (typeof title5 !== "string") throw new Error("Invalid Swift.Menu title");
|
|
365
|
+
var systemImage4 = (_input_systemImage4 = input.systemImage) !== null && _input_systemImage4 !== void 0 ? _input_systemImage4 : "";
|
|
366
|
+
if (typeof systemImage4 !== "string") throw new Error("Invalid Swift.Menu systemImage");
|
|
367
|
+
var selection = (_input_selection = input.selection) !== null && _input_selection !== void 0 ? _input_selection : "";
|
|
368
|
+
if (input.selection == null) throw new Error("Swift.Menu " + item.type + " requires selection");
|
|
369
|
+
if (typeof selection !== "string") throw new Error("Invalid Swift.Menu selection");
|
|
370
|
+
var disabledValue4 = (_input_disabled4 = input.disabled) !== null && _input_disabled4 !== void 0 ? _input_disabled4 : false;
|
|
371
|
+
if (typeof disabledValue4 !== "boolean") throw new Error("Invalid Swift.Menu disabled");
|
|
372
|
+
var hiddenValue5 = (_input_hidden5 = input.hidden) !== null && _input_hidden5 !== void 0 ? _input_hidden5 : false;
|
|
373
|
+
if (typeof hiddenValue5 !== "boolean") throw new Error("Invalid Swift.Menu hidden");
|
|
374
|
+
var help3 = (_input_help3 = input.help) !== null && _input_help3 !== void 0 ? _input_help3 : "";
|
|
375
|
+
if (typeof help3 !== "string") throw new Error("Invalid Swift.Menu help");
|
|
376
|
+
if (!item.id || ids.has(item.id)) throw new Error("Swift.Menu requires unique, nonempty item ids: \"" + item.id + "\"");
|
|
377
|
+
ids.add(item.id);
|
|
378
|
+
result.push({
|
|
379
|
+
id: id5,
|
|
380
|
+
title: title5,
|
|
381
|
+
systemImage: systemImage4,
|
|
382
|
+
role: "",
|
|
383
|
+
disabled: disabled || disabledValue4,
|
|
384
|
+
hidden: hidden || hiddenValue5,
|
|
385
|
+
help: help3,
|
|
386
|
+
controlGroupStyle: "automatic",
|
|
387
|
+
values: [],
|
|
388
|
+
selection,
|
|
389
|
+
menuOrder: "",
|
|
390
|
+
menuActionDismissBehavior: "",
|
|
391
|
+
parentId,
|
|
392
|
+
type: item.type
|
|
393
|
+
});
|
|
394
|
+
if (!Array.isArray(input.children)) throw new Error("Swift.Menu " + item.type + " requires children");
|
|
395
|
+
if (!input.children.length || input.children.some(function(child) {
|
|
396
|
+
return (child === null || child === void 0 ? void 0 : child.type) !== "action";
|
|
397
|
+
})) throw new Error("Swift.Menu picker children must be actions");
|
|
398
|
+
if (!input.children.some(function(child) {
|
|
399
|
+
return child.id === input.selection;
|
|
400
|
+
})) throw new Error("Swift.Menu picker selection must match a child id");
|
|
401
|
+
append(input.children, item.id, Boolean(disabled || disabledValue4), Boolean(hidden || hiddenValue5));
|
|
402
|
+
break;
|
|
403
|
+
}
|
|
332
404
|
case "divider": {
|
|
333
|
-
var
|
|
405
|
+
var _input_id6;
|
|
334
406
|
var _iteratorNormalCompletion6 = true, _didIteratorError6 = false, _iteratorError6 = void 0;
|
|
335
407
|
try {
|
|
336
|
-
for (var _iterator6 = Object.keys(input)[Symbol.iterator](),
|
|
337
|
-
var
|
|
338
|
-
if (
|
|
408
|
+
for (var _iterator6 = Object.keys(input)[Symbol.iterator](), _step7; !(_iteratorNormalCompletion6 = (_step7 = _iterator6.next()).done); _iteratorNormalCompletion6 = true) {
|
|
409
|
+
var name6 = _step7.value;
|
|
410
|
+
if (name6 !== "type" && name6 !== "id") throw new Error("Unsupported Swift.Menu " + item.type + " property: " + name6);
|
|
339
411
|
}
|
|
340
412
|
} catch (err) {
|
|
341
413
|
_didIteratorError6 = true;
|
|
@@ -351,13 +423,13 @@ function flattenMenuItems(items) {
|
|
|
351
423
|
}
|
|
352
424
|
}
|
|
353
425
|
}
|
|
354
|
-
var
|
|
426
|
+
var id6 = (_input_id6 = input.id) !== null && _input_id6 !== void 0 ? _input_id6 : "";
|
|
355
427
|
if (input.id == null) throw new Error("Swift.Menu " + item.type + " requires id");
|
|
356
|
-
if (typeof
|
|
428
|
+
if (typeof id6 !== "string") throw new Error("Invalid Swift.Menu id");
|
|
357
429
|
if (!item.id || ids.has(item.id)) throw new Error("Swift.Menu requires unique, nonempty item ids: \"" + item.id + "\"");
|
|
358
430
|
ids.add(item.id);
|
|
359
431
|
result.push({
|
|
360
|
-
id:
|
|
432
|
+
id: id6,
|
|
361
433
|
title: "",
|
|
362
434
|
systemImage: "",
|
|
363
435
|
role: "",
|
|
@@ -366,6 +438,7 @@ function flattenMenuItems(items) {
|
|
|
366
438
|
help: "",
|
|
367
439
|
controlGroupStyle: "automatic",
|
|
368
440
|
values: [],
|
|
441
|
+
selection: "",
|
|
369
442
|
menuOrder: "",
|
|
370
443
|
menuActionDismissBehavior: "",
|
|
371
444
|
parentId,
|
|
@@ -375,7 +448,8 @@ function flattenMenuItems(items) {
|
|
|
375
448
|
}
|
|
376
449
|
default: throw new Error("Unknown Swift.Menu item type: " + input.type);
|
|
377
450
|
}
|
|
378
|
-
}
|
|
451
|
+
};
|
|
452
|
+
for (var _iterator = items2[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) _loop();
|
|
379
453
|
} catch (err) {
|
|
380
454
|
_didIteratorError = true;
|
|
381
455
|
_iteratorError = err;
|