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