UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

81 lines (80 loc) • 2.33 kB
const e = require("react-native/Libraries/NativeComponent/NativeComponentRegistry"); const { ConditionallyIgnoredEventHandlers: t } = require("react-native/Libraries/NativeComponent/ViewConfigIgnore"); let i = "OneNativeWebView"; const n = { uiViewClassName: "OneNativeWebView", directEventTypes: { topNativeSDKEvent: { registrationName: "onNativeSDKEvent" }, topNativeWebViewNavigate: { registrationName: "onNativeWebViewNavigate" }, topNativeWebViewTitleChange: { registrationName: "onNativeWebViewTitleChange" }, topNativeWebViewLoadingChange: { registrationName: "onNativeWebViewLoadingChange" }, topNativeWebViewLoadStart: { registrationName: "onNativeWebViewLoadStart" }, topNativeWebViewLoadEnd: { registrationName: "onNativeWebViewLoadEnd" }, topNativeWebViewError: { registrationName: "onNativeWebViewError" }, topNativeWebViewHttpError: { registrationName: "onNativeWebViewHttpError" }, topNativeWebViewMessage: { registrationName: "onNativeWebViewMessage" }, topNativeWebViewHistoryChange: { registrationName: "onNativeWebViewHistoryChange" }, topNativeWebViewProcessTerminate: { registrationName: "onNativeWebViewProcessTerminate" } }, validAttributes: { url: true, html: true, script: true, command: true, commandRevision: true, commandValue: true, limitsNavigationsToAppBoundDomains: true, inlineMedia: true, inspectable: true, bounces: true, backForwardNavigationGestures: true, magnificationGestures: true, linkPreviews: true, elementFullscreen: true, contentBackground: true, swiftStyle: true, ...t({ onNativeSDKEvent: true, onNativeWebViewNavigate: true, onNativeWebViewTitleChange: true, onNativeWebViewLoadingChange: true, onNativeWebViewLoadStart: true, onNativeWebViewLoadEnd: true, onNativeWebViewError: true, onNativeWebViewHttpError: true, onNativeWebViewMessage: true, onNativeWebViewHistoryChange: true, onNativeWebViewProcessTerminate: true }) } }; var r = e.get(i, () => n); export { n as __INTERNAL_VIEW_CONFIG, r as default }; //# sourceMappingURL=OneNativeWebViewNativeComponent.mjs.map