UNPKG

neos-script

Version:

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

23 lines (22 loc) 3.65 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.ClassroomHighlight = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function ClassroomHighlight(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _manager = props._manager, _hover = props._hover, _highlightRoot = props._highlightRoot, _material = props._material; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "BusinessX.ClassroomHighlight", 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.RelayRef`1[BusinessX.ClassroomHighlightManager]", name: "_manager", id: typeof _manager === "object" && "id" in _manager ? _manager === null || _manager === void 0 ? void 0 : _manager.id : undefined, value: typeof _manager === "object" && "value" in _manager ? _manager === null || _manager === void 0 ? void 0 : _manager.value : _manager, isRaw: typeof _manager === "object" && "isRaw" in _manager && _manager.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_hover", id: typeof _hover === "object" && "id" in _hover ? _hover === null || _hover === void 0 ? void 0 : _hover.id : undefined, value: typeof _hover === "object" && "value" in _hover ? _hover === null || _hover === void 0 ? void 0 : _hover.value : _hover, isRaw: typeof _hover === "object" && "isRaw" in _hover && _hover.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_highlightRoot", id: typeof _highlightRoot === "object" && "id" in _highlightRoot ? _highlightRoot === null || _highlightRoot === void 0 ? void 0 : _highlightRoot.id : undefined, value: typeof _highlightRoot === "object" && "value" in _highlightRoot ? _highlightRoot === null || _highlightRoot === void 0 ? void 0 : _highlightRoot.value : _highlightRoot, isRaw: typeof _highlightRoot === "object" && "isRaw" in _highlightRoot && _highlightRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FresnelMaterial]", name: "_material", id: typeof _material === "object" && "id" in _material ? _material === null || _material === void 0 ? void 0 : _material.id : undefined, value: typeof _material === "object" && "value" in _material ? _material === null || _material === void 0 ? void 0 : _material.value : _material, isRaw: typeof _material === "object" && "isRaw" in _material && _material.isRaw ? true : undefined })] }))); } exports.ClassroomHighlight = ClassroomHighlight; ;