UNPKG

neos-script

Version:

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

23 lines (22 loc) 4.83 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.LogixNodeSelector = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function LogixNodeSelector(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _canvas = props._canvas, _panel = props._panel, _currentPanel = props._currentPanel, _container = props._container, ShowExperimental = props.ShowExperimental, _currentPath = props._currentPath; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LogiX.LogixNodeSelector", 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.UIX.Canvas]", name: "_canvas", id: typeof _canvas === "object" && "id" in _canvas ? _canvas === null || _canvas === void 0 ? void 0 : _canvas.id : undefined, value: typeof _canvas === "object" && "value" in _canvas ? _canvas === null || _canvas === void 0 ? void 0 : _canvas.value : _canvas, isRaw: typeof _canvas === "object" && "isRaw" in _canvas && _canvas.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.NeosPanel]", name: "_panel", id: typeof _panel === "object" && "id" in _panel ? _panel === null || _panel === void 0 ? void 0 : _panel.id : undefined, value: typeof _panel === "object" && "value" in _panel ? _panel === null || _panel === void 0 ? void 0 : _panel.value : _panel, isRaw: typeof _panel === "object" && "isRaw" in _panel && _panel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RectTransform]", name: "_currentPanel", id: typeof _currentPanel === "object" && "id" in _currentPanel ? _currentPanel === null || _currentPanel === void 0 ? void 0 : _currentPanel.id : undefined, value: typeof _currentPanel === "object" && "value" in _currentPanel ? _currentPanel === null || _currentPanel === void 0 ? void 0 : _currentPanel.value : _currentPanel, isRaw: typeof _currentPanel === "object" && "isRaw" in _currentPanel && _currentPanel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_container", id: typeof _container === "object" && "id" in _container ? _container === null || _container === void 0 ? void 0 : _container.id : undefined, value: typeof _container === "object" && "value" in _container ? _container === null || _container === void 0 ? void 0 : _container.value : _container, isRaw: typeof _container === "object" && "isRaw" in _container && _container.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ShowExperimental", id: typeof ShowExperimental === "object" && "id" in ShowExperimental ? ShowExperimental === null || ShowExperimental === void 0 ? void 0 : ShowExperimental.id : undefined, value: typeof ShowExperimental === "object" && "value" in ShowExperimental ? ShowExperimental === null || ShowExperimental === void 0 ? void 0 : ShowExperimental.value : ShowExperimental, isRaw: typeof ShowExperimental === "object" && "isRaw" in ShowExperimental && ShowExperimental.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "_currentPath", id: typeof _currentPath === "object" && "id" in _currentPath ? _currentPath === null || _currentPath === void 0 ? void 0 : _currentPath.id : undefined, value: typeof _currentPath === "object" && "value" in _currentPath ? _currentPath === null || _currentPath === void 0 ? void 0 : _currentPath.value : _currentPath, isRaw: typeof _currentPath === "object" && "isRaw" in _currentPath && _currentPath.isRaw ? true : undefined })] }))); } exports.LogixNodeSelector = LogixNodeSelector; ;