UNPKG

neos-script

Version:

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

23 lines (22 loc) 6.39 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.SceneInspector = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function SceneInspector(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Root = props.Root, ComponentView = props.ComponentView, _rootText = props._rootText, _componentText = props._componentText, _hierarchyContentRoot = props._hierarchyContentRoot, _componentsContentRoot = props._componentsContentRoot, _currentComponent = props._currentComponent, _currentRoot = props._currentRoot; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.SceneInspector", 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[FrooxEngine.Slot]", name: "Root", id: typeof Root === "object" && "id" in Root ? Root === null || Root === void 0 ? void 0 : Root.id : undefined, value: typeof Root === "object" && "value" in Root ? Root === null || Root === void 0 ? void 0 : Root.value : Root, isRaw: typeof Root === "object" && "isRaw" in Root && Root.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "ComponentView", id: typeof ComponentView === "object" && "id" in ComponentView ? ComponentView === null || ComponentView === void 0 ? void 0 : ComponentView.id : undefined, value: typeof ComponentView === "object" && "value" in ComponentView ? ComponentView === null || ComponentView === void 0 ? void 0 : ComponentView.value : ComponentView, isRaw: typeof ComponentView === "object" && "isRaw" in ComponentView && ComponentView.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Sync`1[System.String]]", name: "_rootText", id: typeof _rootText === "object" && "id" in _rootText ? _rootText === null || _rootText === void 0 ? void 0 : _rootText.id : undefined, value: typeof _rootText === "object" && "value" in _rootText ? _rootText === null || _rootText === void 0 ? void 0 : _rootText.value : _rootText, isRaw: typeof _rootText === "object" && "isRaw" in _rootText && _rootText.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Sync`1[System.String]]", name: "_componentText", id: typeof _componentText === "object" && "id" in _componentText ? _componentText === null || _componentText === void 0 ? void 0 : _componentText.id : undefined, value: typeof _componentText === "object" && "value" in _componentText ? _componentText === null || _componentText === void 0 ? void 0 : _componentText.value : _componentText, isRaw: typeof _componentText === "object" && "isRaw" in _componentText && _componentText.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_hierarchyContentRoot", id: typeof _hierarchyContentRoot === "object" && "id" in _hierarchyContentRoot ? _hierarchyContentRoot === null || _hierarchyContentRoot === void 0 ? void 0 : _hierarchyContentRoot.id : undefined, value: typeof _hierarchyContentRoot === "object" && "value" in _hierarchyContentRoot ? _hierarchyContentRoot === null || _hierarchyContentRoot === void 0 ? void 0 : _hierarchyContentRoot.value : _hierarchyContentRoot, isRaw: typeof _hierarchyContentRoot === "object" && "isRaw" in _hierarchyContentRoot && _hierarchyContentRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_componentsContentRoot", id: typeof _componentsContentRoot === "object" && "id" in _componentsContentRoot ? _componentsContentRoot === null || _componentsContentRoot === void 0 ? void 0 : _componentsContentRoot.id : undefined, value: typeof _componentsContentRoot === "object" && "value" in _componentsContentRoot ? _componentsContentRoot === null || _componentsContentRoot === void 0 ? void 0 : _componentsContentRoot.value : _componentsContentRoot, isRaw: typeof _componentsContentRoot === "object" && "isRaw" in _componentsContentRoot && _componentsContentRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_currentComponent", id: typeof _currentComponent === "object" && "id" in _currentComponent ? _currentComponent === null || _currentComponent === void 0 ? void 0 : _currentComponent.id : undefined, value: typeof _currentComponent === "object" && "value" in _currentComponent ? _currentComponent === null || _currentComponent === void 0 ? void 0 : _currentComponent.value : _currentComponent, isRaw: typeof _currentComponent === "object" && "isRaw" in _currentComponent && _currentComponent.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_currentRoot", id: typeof _currentRoot === "object" && "id" in _currentRoot ? _currentRoot === null || _currentRoot === void 0 ? void 0 : _currentRoot.id : undefined, value: typeof _currentRoot === "object" && "value" in _currentRoot ? _currentRoot === null || _currentRoot === void 0 ? void 0 : _currentRoot.value : _currentRoot, isRaw: typeof _currentRoot === "object" && "isRaw" in _currentRoot && _currentRoot.isRaw ? true : undefined })] }))); } exports.SceneInspector = SceneInspector; ;