one
Version:
One is a React framework for web, iOS, and Android apps.
8 lines (7 loc) • 2.02 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/platform/specs/OneNativePictureInPictureNativeComponent.ts"],
"sourcesContent": ["// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.\n// edit the generator or catalog, then regenerate.\nimport type { ViewProps } from 'react-native';\nimport type { DirectEventHandler, Int32 } from 'react-native/Libraries/Types/CodegenTypes';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ninterface NativeProps extends ViewProps {\n active: boolean;\n autoEnter: boolean;\n onNativePictureInPictureChange?: DirectEventHandler<Readonly<{\n active: boolean;\n }>>;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nconst {\n ConditionallyIgnoredEventHandlers\n} = require('react-native/Libraries/NativeComponent/ViewConfigIgnore');\nlet nativeComponentName = 'OneNativePictureInPicture';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativePictureInPicture\",\n directEventTypes: {\n topNativePictureInPictureChange: {\n registrationName: \"onNativePictureInPictureChange\"\n }\n },\n validAttributes: {\n active: true,\n autoEnter: true,\n ...ConditionallyIgnoredEventHandlers({\n onNativePictureInPictureChange: true\n })\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
"mappings": "AAYA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,MAAM;AAAA,EACJ,mCAAAC;AACF,IAAI,QAAQ,yDAAyD;AACrE,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,IAChB,iCAAiC;AAAA,MAC/B,kBAAkB;AAAA,IACpB;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,GAAGF,EAAkC;AAAA,MACnC,gCAAgC;AAAA,IAClC,CAAC;AAAA,EACH;AACF;AACA,IAAOG,IAAQJ,EAAwB,IAAIE,GAAqB,MAAMC,CAAsB;",
"names": ["NativeComponentRegistry", "ConditionallyIgnoredEventHandlers", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneNativePictureInPictureNativeComponent_default"]
}