neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 4.93 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.Display_ColorX = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function Display_ColorX(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _activeVisual = props._activeVisual, Source = props.Source, _text0 = props._text0, _text1 = props._text1, _text2 = props._text2, _text3 = props._text3, _color = props._color;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LogiX.Display.Display_ColorX", 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.CleanupRef`1[FrooxEngine.Slot]", name: "_activeVisual", id: typeof _activeVisual === "object" && "id" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.id : undefined, value: typeof _activeVisual === "object" && "value" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.value : _activeVisual, isRaw: typeof _activeVisual === "object" && "isRaw" in _activeVisual && _activeVisual.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[BaseX.colorX]", name: "Source", id: typeof Source === "object" && "id" in Source ? Source === null || Source === void 0 ? void 0 : Source.id : undefined, value: typeof Source === "object" && "value" in Source ? Source === null || Source === void 0 ? void 0 : Source.value : Source, isRaw: typeof Source === "object" && "isRaw" in Source && Source.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.String]", name: "_text0", id: typeof _text0 === "object" && "id" in _text0 ? _text0 === null || _text0 === void 0 ? void 0 : _text0.id : undefined, value: typeof _text0 === "object" && "value" in _text0 ? _text0 === null || _text0 === void 0 ? void 0 : _text0.value : _text0, isRaw: typeof _text0 === "object" && "isRaw" in _text0 && _text0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.String]", name: "_text1", id: typeof _text1 === "object" && "id" in _text1 ? _text1 === null || _text1 === void 0 ? void 0 : _text1.id : undefined, value: typeof _text1 === "object" && "value" in _text1 ? _text1 === null || _text1 === void 0 ? void 0 : _text1.value : _text1, isRaw: typeof _text1 === "object" && "isRaw" in _text1 && _text1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.String]", name: "_text2", id: typeof _text2 === "object" && "id" in _text2 ? _text2 === null || _text2 === void 0 ? void 0 : _text2.id : undefined, value: typeof _text2 === "object" && "value" in _text2 ? _text2 === null || _text2 === void 0 ? void 0 : _text2.value : _text2, isRaw: typeof _text2 === "object" && "isRaw" in _text2 && _text2.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.String]", name: "_text3", id: typeof _text3 === "object" && "id" in _text3 ? _text3 === null || _text3 === void 0 ? void 0 : _text3.id : undefined, value: typeof _text3 === "object" && "value" in _text3 ? _text3 === null || _text3 === void 0 ? void 0 : _text3.value : _text3, isRaw: typeof _text3 === "object" && "isRaw" in _text3 && _text3.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.colorX]", name: "_color", id: typeof _color === "object" && "id" in _color ? _color === null || _color === void 0 ? void 0 : _color.id : undefined, value: typeof _color === "object" && "value" in _color ? _color === null || _color === void 0 ? void 0 : _color.value : _color, isRaw: typeof _color === "object" && "isRaw" in _color && _color.isRaw ? true : undefined })] })));
}
exports.Display_ColorX = Display_ColorX;
;