UNPKG

neos-script

Version:

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

23 lines (22 loc) 9.27 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.ComposeBits_short = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../../core"); function ComposeBits_short(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _activeVisual = props._activeVisual, Bit0 = props.Bit0, Bit1 = props.Bit1, Bit2 = props.Bit2, Bit3 = props.Bit3, Bit4 = props.Bit4, Bit5 = props.Bit5, Bit6 = props.Bit6, Bit7 = props.Bit7, Bit8 = props.Bit8, Bit9 = props.Bit9, Bit10 = props.Bit10, Bit11 = props.Bit11, Bit12 = props.Bit12, Bit13 = props.Bit13, Bit14 = props.Bit14, Bit15 = props.Bit15; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LogiX.Math.Binary.ComposeBits_short", 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[System.Boolean]", name: "Bit0", id: typeof Bit0 === "object" && "id" in Bit0 ? Bit0 === null || Bit0 === void 0 ? void 0 : Bit0.id : undefined, value: typeof Bit0 === "object" && "value" in Bit0 ? Bit0 === null || Bit0 === void 0 ? void 0 : Bit0.value : Bit0, isRaw: typeof Bit0 === "object" && "isRaw" in Bit0 && Bit0.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit1", id: typeof Bit1 === "object" && "id" in Bit1 ? Bit1 === null || Bit1 === void 0 ? void 0 : Bit1.id : undefined, value: typeof Bit1 === "object" && "value" in Bit1 ? Bit1 === null || Bit1 === void 0 ? void 0 : Bit1.value : Bit1, isRaw: typeof Bit1 === "object" && "isRaw" in Bit1 && Bit1.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit2", id: typeof Bit2 === "object" && "id" in Bit2 ? Bit2 === null || Bit2 === void 0 ? void 0 : Bit2.id : undefined, value: typeof Bit2 === "object" && "value" in Bit2 ? Bit2 === null || Bit2 === void 0 ? void 0 : Bit2.value : Bit2, isRaw: typeof Bit2 === "object" && "isRaw" in Bit2 && Bit2.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit3", id: typeof Bit3 === "object" && "id" in Bit3 ? Bit3 === null || Bit3 === void 0 ? void 0 : Bit3.id : undefined, value: typeof Bit3 === "object" && "value" in Bit3 ? Bit3 === null || Bit3 === void 0 ? void 0 : Bit3.value : Bit3, isRaw: typeof Bit3 === "object" && "isRaw" in Bit3 && Bit3.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit4", id: typeof Bit4 === "object" && "id" in Bit4 ? Bit4 === null || Bit4 === void 0 ? void 0 : Bit4.id : undefined, value: typeof Bit4 === "object" && "value" in Bit4 ? Bit4 === null || Bit4 === void 0 ? void 0 : Bit4.value : Bit4, isRaw: typeof Bit4 === "object" && "isRaw" in Bit4 && Bit4.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit5", id: typeof Bit5 === "object" && "id" in Bit5 ? Bit5 === null || Bit5 === void 0 ? void 0 : Bit5.id : undefined, value: typeof Bit5 === "object" && "value" in Bit5 ? Bit5 === null || Bit5 === void 0 ? void 0 : Bit5.value : Bit5, isRaw: typeof Bit5 === "object" && "isRaw" in Bit5 && Bit5.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit6", id: typeof Bit6 === "object" && "id" in Bit6 ? Bit6 === null || Bit6 === void 0 ? void 0 : Bit6.id : undefined, value: typeof Bit6 === "object" && "value" in Bit6 ? Bit6 === null || Bit6 === void 0 ? void 0 : Bit6.value : Bit6, isRaw: typeof Bit6 === "object" && "isRaw" in Bit6 && Bit6.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit7", id: typeof Bit7 === "object" && "id" in Bit7 ? Bit7 === null || Bit7 === void 0 ? void 0 : Bit7.id : undefined, value: typeof Bit7 === "object" && "value" in Bit7 ? Bit7 === null || Bit7 === void 0 ? void 0 : Bit7.value : Bit7, isRaw: typeof Bit7 === "object" && "isRaw" in Bit7 && Bit7.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit8", id: typeof Bit8 === "object" && "id" in Bit8 ? Bit8 === null || Bit8 === void 0 ? void 0 : Bit8.id : undefined, value: typeof Bit8 === "object" && "value" in Bit8 ? Bit8 === null || Bit8 === void 0 ? void 0 : Bit8.value : Bit8, isRaw: typeof Bit8 === "object" && "isRaw" in Bit8 && Bit8.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit9", id: typeof Bit9 === "object" && "id" in Bit9 ? Bit9 === null || Bit9 === void 0 ? void 0 : Bit9.id : undefined, value: typeof Bit9 === "object" && "value" in Bit9 ? Bit9 === null || Bit9 === void 0 ? void 0 : Bit9.value : Bit9, isRaw: typeof Bit9 === "object" && "isRaw" in Bit9 && Bit9.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit10", id: typeof Bit10 === "object" && "id" in Bit10 ? Bit10 === null || Bit10 === void 0 ? void 0 : Bit10.id : undefined, value: typeof Bit10 === "object" && "value" in Bit10 ? Bit10 === null || Bit10 === void 0 ? void 0 : Bit10.value : Bit10, isRaw: typeof Bit10 === "object" && "isRaw" in Bit10 && Bit10.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit11", id: typeof Bit11 === "object" && "id" in Bit11 ? Bit11 === null || Bit11 === void 0 ? void 0 : Bit11.id : undefined, value: typeof Bit11 === "object" && "value" in Bit11 ? Bit11 === null || Bit11 === void 0 ? void 0 : Bit11.value : Bit11, isRaw: typeof Bit11 === "object" && "isRaw" in Bit11 && Bit11.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit12", id: typeof Bit12 === "object" && "id" in Bit12 ? Bit12 === null || Bit12 === void 0 ? void 0 : Bit12.id : undefined, value: typeof Bit12 === "object" && "value" in Bit12 ? Bit12 === null || Bit12 === void 0 ? void 0 : Bit12.value : Bit12, isRaw: typeof Bit12 === "object" && "isRaw" in Bit12 && Bit12.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit13", id: typeof Bit13 === "object" && "id" in Bit13 ? Bit13 === null || Bit13 === void 0 ? void 0 : Bit13.id : undefined, value: typeof Bit13 === "object" && "value" in Bit13 ? Bit13 === null || Bit13 === void 0 ? void 0 : Bit13.value : Bit13, isRaw: typeof Bit13 === "object" && "isRaw" in Bit13 && Bit13.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit14", id: typeof Bit14 === "object" && "id" in Bit14 ? Bit14 === null || Bit14 === void 0 ? void 0 : Bit14.id : undefined, value: typeof Bit14 === "object" && "value" in Bit14 ? Bit14 === null || Bit14 === void 0 ? void 0 : Bit14.value : Bit14, isRaw: typeof Bit14 === "object" && "isRaw" in Bit14 && Bit14.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Boolean]", name: "Bit15", id: typeof Bit15 === "object" && "id" in Bit15 ? Bit15 === null || Bit15 === void 0 ? void 0 : Bit15.id : undefined, value: typeof Bit15 === "object" && "value" in Bit15 ? Bit15 === null || Bit15 === void 0 ? void 0 : Bit15.value : Bit15, isRaw: typeof Bit15 === "object" && "isRaw" in Bit15 && Bit15.isRaw ? true : undefined })] }))); } exports.ComposeBits_short = ComposeBits_short; ;