neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.2 kB
JavaScript
;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotificationPanel = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function NotificationPanel(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, DisplayDuration = props.DisplayDuration, _canvas = props._canvas, _notificationClip = props._notificationClip, _inviteClip = props._inviteClip, _creditsSendClip = props._creditsSendClip, _creditsReceiveClip = props._creditsReceiveClip;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.NotificationPanel", id: id, persistentId: persistentId, updateOrder: updateOrder }, { children: [(0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "Enabled", id: typeof Enabled === "object" && "id" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.id : undefined, value: typeof Enabled === "object" && "value" in Enabled ? Enabled === null || Enabled === void 0 ? void 0 : Enabled.value : Enabled !== null && Enabled !== void 0 ? Enabled : true, isRaw: typeof Enabled === "object" && "isRaw" in Enabled && Enabled.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "DisplayDuration", id: typeof DisplayDuration === "object" && "id" in DisplayDuration ? DisplayDuration === null || DisplayDuration === void 0 ? void 0 : DisplayDuration.id : undefined, value: typeof DisplayDuration === "object" && "value" in DisplayDuration ? DisplayDuration === null || DisplayDuration === void 0 ? void 0 : DisplayDuration.value : DisplayDuration, isRaw: typeof DisplayDuration === "object" && "isRaw" in DisplayDuration && DisplayDuration.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Canvas]", name: "_canvas", id: typeof _canvas === "object" && "id" in _canvas ? _canvas === null || _canvas === void 0 ? void 0 : _canvas.id : undefined, value: typeof _canvas === "object" && "value" in _canvas ? _canvas === null || _canvas === void 0 ? void 0 : _canvas.value : _canvas, isRaw: typeof _canvas === "object" && "isRaw" in _canvas && _canvas.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.AudioClip]", name: "_notificationClip", id: typeof _notificationClip === "object" && "id" in _notificationClip ? _notificationClip === null || _notificationClip === void 0 ? void 0 : _notificationClip.id : undefined, value: typeof _notificationClip === "object" && "value" in _notificationClip ? _notificationClip === null || _notificationClip === void 0 ? void 0 : _notificationClip.value : _notificationClip, isRaw: typeof _notificationClip === "object" && "isRaw" in _notificationClip && _notificationClip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.AudioClip]", name: "_inviteClip", id: typeof _inviteClip === "object" && "id" in _inviteClip ? _inviteClip === null || _inviteClip === void 0 ? void 0 : _inviteClip.id : undefined, value: typeof _inviteClip === "object" && "value" in _inviteClip ? _inviteClip === null || _inviteClip === void 0 ? void 0 : _inviteClip.value : _inviteClip, isRaw: typeof _inviteClip === "object" && "isRaw" in _inviteClip && _inviteClip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.AudioClip]", name: "_creditsSendClip", id: typeof _creditsSendClip === "object" && "id" in _creditsSendClip ? _creditsSendClip === null || _creditsSendClip === void 0 ? void 0 : _creditsSendClip.id : undefined, value: typeof _creditsSendClip === "object" && "value" in _creditsSendClip ? _creditsSendClip === null || _creditsSendClip === void 0 ? void 0 : _creditsSendClip.value : _creditsSendClip, isRaw: typeof _creditsSendClip === "object" && "isRaw" in _creditsSendClip && _creditsSendClip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.AssetRef`1[FrooxEngine.AudioClip]", name: "_creditsReceiveClip", id: typeof _creditsReceiveClip === "object" && "id" in _creditsReceiveClip ? _creditsReceiveClip === null || _creditsReceiveClip === void 0 ? void 0 : _creditsReceiveClip.id : undefined, value: typeof _creditsReceiveClip === "object" && "value" in _creditsReceiveClip ? _creditsReceiveClip === null || _creditsReceiveClip === void 0 ? void 0 : _creditsReceiveClip.value : _creditsReceiveClip, isRaw: typeof _creditsReceiveClip === "object" && "isRaw" in _creditsReceiveClip && _creditsReceiveClip.isRaw ? true : undefined })] })));
}
exports.NotificationPanel = NotificationPanel;
;