UNPKG

neos-script

Version:

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

23 lines (22 loc) 9.87 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.TouchableData = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function TouchableData(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Hovering = props.Hovering, Touching = props.Touching, AcceptOutOfSightTouch = props.AcceptOutOfSightTouch, AcceptPhysicalTouch = props.AcceptPhysicalTouch, AcceptRemoteTouch = props.AcceptRemoteTouch, OnHoverStartVibrate = props.OnHoverStartVibrate, OnHoverStayVibrate = props.OnHoverStayVibrate, OnHoverEndVibrate = props.OnHoverEndVibrate, OnTouchStartVibrate = props.OnTouchStartVibrate, OnTouchStayVibrate = props.OnTouchStayVibrate, OnTouchEndVibrate = props.OnTouchEndVibrate, EditModeOnly = props.EditModeOnly, ActiveUserFilter = props.ActiveUserFilter; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.TouchableData", 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[System.Boolean]", name: "Hovering", id: typeof Hovering === "object" && "id" in Hovering ? Hovering === null || Hovering === void 0 ? void 0 : Hovering.id : undefined, value: typeof Hovering === "object" && "value" in Hovering ? Hovering === null || Hovering === void 0 ? void 0 : Hovering.value : Hovering, isRaw: typeof Hovering === "object" && "isRaw" in Hovering && Hovering.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "Touching", id: typeof Touching === "object" && "id" in Touching ? Touching === null || Touching === void 0 ? void 0 : Touching.id : undefined, value: typeof Touching === "object" && "value" in Touching ? Touching === null || Touching === void 0 ? void 0 : Touching.value : Touching, isRaw: typeof Touching === "object" && "isRaw" in Touching && Touching.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "AcceptOutOfSightTouch", id: typeof AcceptOutOfSightTouch === "object" && "id" in AcceptOutOfSightTouch ? AcceptOutOfSightTouch === null || AcceptOutOfSightTouch === void 0 ? void 0 : AcceptOutOfSightTouch.id : undefined, value: typeof AcceptOutOfSightTouch === "object" && "value" in AcceptOutOfSightTouch ? AcceptOutOfSightTouch === null || AcceptOutOfSightTouch === void 0 ? void 0 : AcceptOutOfSightTouch.value : AcceptOutOfSightTouch, isRaw: typeof AcceptOutOfSightTouch === "object" && "isRaw" in AcceptOutOfSightTouch && AcceptOutOfSightTouch.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "AcceptPhysicalTouch", id: typeof AcceptPhysicalTouch === "object" && "id" in AcceptPhysicalTouch ? AcceptPhysicalTouch === null || AcceptPhysicalTouch === void 0 ? void 0 : AcceptPhysicalTouch.id : undefined, value: typeof AcceptPhysicalTouch === "object" && "value" in AcceptPhysicalTouch ? AcceptPhysicalTouch === null || AcceptPhysicalTouch === void 0 ? void 0 : AcceptPhysicalTouch.value : AcceptPhysicalTouch, isRaw: typeof AcceptPhysicalTouch === "object" && "isRaw" in AcceptPhysicalTouch && AcceptPhysicalTouch.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "AcceptRemoteTouch", id: typeof AcceptRemoteTouch === "object" && "id" in AcceptRemoteTouch ? AcceptRemoteTouch === null || AcceptRemoteTouch === void 0 ? void 0 : AcceptRemoteTouch.id : undefined, value: typeof AcceptRemoteTouch === "object" && "value" in AcceptRemoteTouch ? AcceptRemoteTouch === null || AcceptRemoteTouch === void 0 ? void 0 : AcceptRemoteTouch.value : AcceptRemoteTouch, isRaw: typeof AcceptRemoteTouch === "object" && "isRaw" in AcceptRemoteTouch && AcceptRemoteTouch.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.VibratePreset]", name: "OnHoverStartVibrate", id: typeof OnHoverStartVibrate === "object" && "id" in OnHoverStartVibrate ? OnHoverStartVibrate === null || OnHoverStartVibrate === void 0 ? void 0 : OnHoverStartVibrate.id : undefined, value: typeof OnHoverStartVibrate === "object" && "value" in OnHoverStartVibrate ? OnHoverStartVibrate === null || OnHoverStartVibrate === void 0 ? void 0 : OnHoverStartVibrate.value : OnHoverStartVibrate, isRaw: typeof OnHoverStartVibrate === "object" && "isRaw" in OnHoverStartVibrate && OnHoverStartVibrate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.VibratePreset]", name: "OnHoverStayVibrate", id: typeof OnHoverStayVibrate === "object" && "id" in OnHoverStayVibrate ? OnHoverStayVibrate === null || OnHoverStayVibrate === void 0 ? void 0 : OnHoverStayVibrate.id : undefined, value: typeof OnHoverStayVibrate === "object" && "value" in OnHoverStayVibrate ? OnHoverStayVibrate === null || OnHoverStayVibrate === void 0 ? void 0 : OnHoverStayVibrate.value : OnHoverStayVibrate, isRaw: typeof OnHoverStayVibrate === "object" && "isRaw" in OnHoverStayVibrate && OnHoverStayVibrate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.VibratePreset]", name: "OnHoverEndVibrate", id: typeof OnHoverEndVibrate === "object" && "id" in OnHoverEndVibrate ? OnHoverEndVibrate === null || OnHoverEndVibrate === void 0 ? void 0 : OnHoverEndVibrate.id : undefined, value: typeof OnHoverEndVibrate === "object" && "value" in OnHoverEndVibrate ? OnHoverEndVibrate === null || OnHoverEndVibrate === void 0 ? void 0 : OnHoverEndVibrate.value : OnHoverEndVibrate, isRaw: typeof OnHoverEndVibrate === "object" && "isRaw" in OnHoverEndVibrate && OnHoverEndVibrate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.VibratePreset]", name: "OnTouchStartVibrate", id: typeof OnTouchStartVibrate === "object" && "id" in OnTouchStartVibrate ? OnTouchStartVibrate === null || OnTouchStartVibrate === void 0 ? void 0 : OnTouchStartVibrate.id : undefined, value: typeof OnTouchStartVibrate === "object" && "value" in OnTouchStartVibrate ? OnTouchStartVibrate === null || OnTouchStartVibrate === void 0 ? void 0 : OnTouchStartVibrate.value : OnTouchStartVibrate, isRaw: typeof OnTouchStartVibrate === "object" && "isRaw" in OnTouchStartVibrate && OnTouchStartVibrate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.VibratePreset]", name: "OnTouchStayVibrate", id: typeof OnTouchStayVibrate === "object" && "id" in OnTouchStayVibrate ? OnTouchStayVibrate === null || OnTouchStayVibrate === void 0 ? void 0 : OnTouchStayVibrate.id : undefined, value: typeof OnTouchStayVibrate === "object" && "value" in OnTouchStayVibrate ? OnTouchStayVibrate === null || OnTouchStayVibrate === void 0 ? void 0 : OnTouchStayVibrate.value : OnTouchStayVibrate, isRaw: typeof OnTouchStayVibrate === "object" && "isRaw" in OnTouchStayVibrate && OnTouchStayVibrate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.VibratePreset]", name: "OnTouchEndVibrate", id: typeof OnTouchEndVibrate === "object" && "id" in OnTouchEndVibrate ? OnTouchEndVibrate === null || OnTouchEndVibrate === void 0 ? void 0 : OnTouchEndVibrate.id : undefined, value: typeof OnTouchEndVibrate === "object" && "value" in OnTouchEndVibrate ? OnTouchEndVibrate === null || OnTouchEndVibrate === void 0 ? void 0 : OnTouchEndVibrate.value : OnTouchEndVibrate, isRaw: typeof OnTouchEndVibrate === "object" && "isRaw" in OnTouchEndVibrate && OnTouchEndVibrate.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "EditModeOnly", id: typeof EditModeOnly === "object" && "id" in EditModeOnly ? EditModeOnly === null || EditModeOnly === void 0 ? void 0 : EditModeOnly.id : undefined, value: typeof EditModeOnly === "object" && "value" in EditModeOnly ? EditModeOnly === null || EditModeOnly === void 0 ? void 0 : EditModeOnly.value : EditModeOnly, isRaw: typeof EditModeOnly === "object" && "isRaw" in EditModeOnly && EditModeOnly.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.ActiveUserHandling]", name: "ActiveUserFilter", id: typeof ActiveUserFilter === "object" && "id" in ActiveUserFilter ? ActiveUserFilter === null || ActiveUserFilter === void 0 ? void 0 : ActiveUserFilter.id : undefined, value: typeof ActiveUserFilter === "object" && "value" in ActiveUserFilter ? ActiveUserFilter === null || ActiveUserFilter === void 0 ? void 0 : ActiveUserFilter.value : ActiveUserFilter, isRaw: typeof ActiveUserFilter === "object" && "isRaw" in ActiveUserFilter && ActiveUserFilter.isRaw ? true : undefined })] }))); } exports.TouchableData = TouchableData; ;