UNPKG

neos-script

Version:

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

23 lines (22 loc) 4.85 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.LocomotionPermissions = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function LocomotionPermissions(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, LocomotionListMode = props.LocomotionListMode, Locomotions = props.Locomotions, Scaling = props.Scaling, MinScale = props.MinScale, MaxScale = props.MaxScale, JumpToUser = props.JumpToUser; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LocomotionPermissions", 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.Sync`1[FrooxEngine.ListFilterMode]", name: "LocomotionListMode", id: typeof LocomotionListMode === "object" && "id" in LocomotionListMode ? LocomotionListMode === null || LocomotionListMode === void 0 ? void 0 : LocomotionListMode.id : undefined, value: typeof LocomotionListMode === "object" && "value" in LocomotionListMode ? LocomotionListMode === null || LocomotionListMode === void 0 ? void 0 : LocomotionListMode.value : LocomotionListMode, isRaw: typeof LocomotionListMode === "object" && "isRaw" in LocomotionListMode && LocomotionListMode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncList`1[FrooxEngine.LocomotionPermissions+LocomotionFilter]", name: "Locomotions", id: typeof Locomotions === "object" && "id" in Locomotions ? Locomotions === null || Locomotions === void 0 ? void 0 : Locomotions.id : undefined, value: typeof Locomotions === "object" && "value" in Locomotions ? Locomotions === null || Locomotions === void 0 ? void 0 : Locomotions.value : Locomotions, isRaw: typeof Locomotions === "object" && "isRaw" in Locomotions && Locomotions.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.PermissionState]", name: "Scaling", id: typeof Scaling === "object" && "id" in Scaling ? Scaling === null || Scaling === void 0 ? void 0 : Scaling.id : undefined, value: typeof Scaling === "object" && "value" in Scaling ? Scaling === null || Scaling === void 0 ? void 0 : Scaling.value : Scaling, isRaw: typeof Scaling === "object" && "isRaw" in Scaling && Scaling.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MinScale", id: typeof MinScale === "object" && "id" in MinScale ? MinScale === null || MinScale === void 0 ? void 0 : MinScale.id : undefined, value: typeof MinScale === "object" && "value" in MinScale ? MinScale === null || MinScale === void 0 ? void 0 : MinScale.value : MinScale, isRaw: typeof MinScale === "object" && "isRaw" in MinScale && MinScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "MaxScale", id: typeof MaxScale === "object" && "id" in MaxScale ? MaxScale === null || MaxScale === void 0 ? void 0 : MaxScale.id : undefined, value: typeof MaxScale === "object" && "value" in MaxScale ? MaxScale === null || MaxScale === void 0 ? void 0 : MaxScale.value : MaxScale, isRaw: typeof MaxScale === "object" && "isRaw" in MaxScale && MaxScale.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.PermissionState]", name: "JumpToUser", id: typeof JumpToUser === "object" && "id" in JumpToUser ? JumpToUser === null || JumpToUser === void 0 ? void 0 : JumpToUser.id : undefined, value: typeof JumpToUser === "object" && "value" in JumpToUser ? JumpToUser === null || JumpToUser === void 0 ? void 0 : JumpToUser.value : JumpToUser, isRaw: typeof JumpToUser === "object" && "isRaw" in JumpToUser && JumpToUser.isRaw ? true : undefined })] }))); } exports.LocomotionPermissions = LocomotionPermissions; ;