UNPKG

neos-script

Version:

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

23 lines (22 loc) 7.02 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.UserInspector = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function UserInspector(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, ViewUser = props.ViewUser, ViewGroup = props.ViewGroup, ViewStreamGroup = props.ViewStreamGroup, _currentUser = props._currentUser, _currentViewGroup = props._currentViewGroup, _currentStreamGroup = props._currentStreamGroup, _userListContentRoot = props._userListContentRoot, _workersContentRoot = props._workersContentRoot, _userText = props._userText; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.UserInspector", 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.SyncRef`1[FrooxEngine.User]", name: "ViewUser", id: typeof ViewUser === "object" && "id" in ViewUser ? ViewUser === null || ViewUser === void 0 ? void 0 : ViewUser.id : undefined, value: typeof ViewUser === "object" && "value" in ViewUser ? ViewUser === null || ViewUser === void 0 ? void 0 : ViewUser.value : ViewUser, isRaw: typeof ViewUser === "object" && "isRaw" in ViewUser && ViewUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.UserInspector+View]", name: "ViewGroup", id: typeof ViewGroup === "object" && "id" in ViewGroup ? ViewGroup === null || ViewGroup === void 0 ? void 0 : ViewGroup.id : undefined, value: typeof ViewGroup === "object" && "value" in ViewGroup ? ViewGroup === null || ViewGroup === void 0 ? void 0 : ViewGroup.value : ViewGroup, isRaw: typeof ViewGroup === "object" && "isRaw" in ViewGroup && ViewGroup.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.UInt16]", name: "ViewStreamGroup", id: typeof ViewStreamGroup === "object" && "id" in ViewStreamGroup ? ViewStreamGroup === null || ViewStreamGroup === void 0 ? void 0 : ViewStreamGroup.id : undefined, value: typeof ViewStreamGroup === "object" && "value" in ViewStreamGroup ? ViewStreamGroup === null || ViewStreamGroup === void 0 ? void 0 : ViewStreamGroup.value : ViewStreamGroup, isRaw: typeof ViewStreamGroup === "object" && "isRaw" in ViewStreamGroup && ViewStreamGroup.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.User]", name: "_currentUser", id: typeof _currentUser === "object" && "id" in _currentUser ? _currentUser === null || _currentUser === void 0 ? void 0 : _currentUser.id : undefined, value: typeof _currentUser === "object" && "value" in _currentUser ? _currentUser === null || _currentUser === void 0 ? void 0 : _currentUser.value : _currentUser, isRaw: typeof _currentUser === "object" && "isRaw" in _currentUser && _currentUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.UserInspector+View]", name: "_currentViewGroup", id: typeof _currentViewGroup === "object" && "id" in _currentViewGroup ? _currentViewGroup === null || _currentViewGroup === void 0 ? void 0 : _currentViewGroup.id : undefined, value: typeof _currentViewGroup === "object" && "value" in _currentViewGroup ? _currentViewGroup === null || _currentViewGroup === void 0 ? void 0 : _currentViewGroup.value : _currentViewGroup, isRaw: typeof _currentViewGroup === "object" && "isRaw" in _currentViewGroup && _currentViewGroup.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.UInt16]", name: "_currentStreamGroup", id: typeof _currentStreamGroup === "object" && "id" in _currentStreamGroup ? _currentStreamGroup === null || _currentStreamGroup === void 0 ? void 0 : _currentStreamGroup.id : undefined, value: typeof _currentStreamGroup === "object" && "value" in _currentStreamGroup ? _currentStreamGroup === null || _currentStreamGroup === void 0 ? void 0 : _currentStreamGroup.value : _currentStreamGroup, isRaw: typeof _currentStreamGroup === "object" && "isRaw" in _currentStreamGroup && _currentStreamGroup.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_userListContentRoot", id: typeof _userListContentRoot === "object" && "id" in _userListContentRoot ? _userListContentRoot === null || _userListContentRoot === void 0 ? void 0 : _userListContentRoot.id : undefined, value: typeof _userListContentRoot === "object" && "value" in _userListContentRoot ? _userListContentRoot === null || _userListContentRoot === void 0 ? void 0 : _userListContentRoot.value : _userListContentRoot, isRaw: typeof _userListContentRoot === "object" && "isRaw" in _userListContentRoot && _userListContentRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_workersContentRoot", id: typeof _workersContentRoot === "object" && "id" in _workersContentRoot ? _workersContentRoot === null || _workersContentRoot === void 0 ? void 0 : _workersContentRoot.id : undefined, value: typeof _workersContentRoot === "object" && "value" in _workersContentRoot ? _workersContentRoot === null || _workersContentRoot === void 0 ? void 0 : _workersContentRoot.value : _workersContentRoot, isRaw: typeof _workersContentRoot === "object" && "isRaw" in _workersContentRoot && _workersContentRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Sync`1[System.String]]", name: "_userText", id: typeof _userText === "object" && "id" in _userText ? _userText === null || _userText === void 0 ? void 0 : _userText.id : undefined, value: typeof _userText === "object" && "value" in _userText ? _userText === null || _userText === void 0 ? void 0 : _userText.value : _userText, isRaw: typeof _userText === "object" && "isRaw" in _userText && _userText.isRaw ? true : undefined })] }))); } exports.UserInspector = UserInspector; ;