UNPKG

neos-script

Version:

[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)

23 lines (22 loc) 3.51 kB
"use strict"; 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_Uint2 = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function Display_Uint2(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; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LogiX.Display.Display_Uint2", 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.uint2]", 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 })] }))); } exports.Display_Uint2 = Display_Uint2; ;