one
Version:
One is a React framework for web, iOS, and Android apps.
54 lines (53 loc) • 1.49 kB
JavaScript
var o = Object.defineProperty;
var r = Object.getOwnPropertyDescriptor;
var u = Object.getOwnPropertyNames;
var s = Object.prototype.hasOwnProperty;
var d = (t, e) => {
for (var a in e)
o(t, a, { get: e[a], enumerable: true });
};
var D = (t, e, a, l) => {
if (e && typeof e === "object" || typeof e === "function") {
for (let i of u(e))
if (!s.call(t, i) && i !== a)
o(t, i, { get: () => e[i], enumerable: !(l = r(e, i)) || l.enumerable });
}
return t;
};
var f = (t) => D(o({}, "__esModule", { value: true }), t);
var h = {};
d(h, {
__INTERNAL_VIEW_CONFIG: () => n,
default: () => c
});
module.exports = f(h);
const g = require("react-native/Libraries/NativeComponent/NativeComponentRegistry");
const {
ConditionallyIgnoredEventHandlers: v
} = require("react-native/Libraries/NativeComponent/ViewConfigIgnore");
let b = "OneNativeVideoPlayer";
const n = {
uiViewClassName: "OneNativeVideoPlayer",
directEventTypes: {
topNativeSDKEvent: {
registrationName: "onNativeSDKEvent"
},
topNativeVideoPlayerPlaybackStatus: {
registrationName: "onNativeVideoPlayerPlaybackStatus"
}
},
validAttributes: {
url: true,
autoplay: true,
command: true,
commandRevision: true,
seekToMs: true,
swiftStyle: true,
...v({
onNativeSDKEvent: true,
onNativeVideoPlayerPlaybackStatus: true
})
}
};
var c = g.get(b, () => n);
//# sourceMappingURL=OneNativeVideoPlayerNativeComponent.native.js.map