UNPKG

neos-script

Version:

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

23 lines (22 loc) 14.1 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.FullBodyCalibratorDialog = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function FullBodyCalibratorDialog(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, _calibrator = props._calibrator, _currentPage = props._currentPage, _confirmTrackers = props._confirmTrackers, _resetTrackers = props._resetTrackers, _calibrateAvatar = props._calibrateAvatar, _heightCompensation = props._heightCompensation, _useSymmetry = props._useSymmetry, _showBodyOverlay = props._showBodyOverlay, _showAvatarOverlay = props._showAvatarOverlay, _hipsMapping = props._hipsMapping, _feetMapping = props._feetMapping, _chestMapping = props._chestMapping, _elbowsMapping = props._elbowsMapping, _kneesMapping = props._kneesMapping, _heightField = props._heightField, _heightWarning = props._heightWarning, _useImperial = props._useImperial; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.FullBodyCalibratorDialog", 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.SyncRef`1[FrooxEngine.FullBodyCalibrator]", name: "_calibrator", id: typeof _calibrator === "object" && "id" in _calibrator ? _calibrator === null || _calibrator === void 0 ? void 0 : _calibrator.id : undefined, value: typeof _calibrator === "object" && "value" in _calibrator ? _calibrator === null || _calibrator === void 0 ? void 0 : _calibrator.value : _calibrator, isRaw: typeof _calibrator === "object" && "isRaw" in _calibrator && _calibrator.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.FullBodyCalibratorDialog+Page]", name: "_currentPage", id: typeof _currentPage === "object" && "id" in _currentPage ? _currentPage === null || _currentPage === void 0 ? void 0 : _currentPage.id : undefined, value: typeof _currentPage === "object" && "value" in _currentPage ? _currentPage === null || _currentPage === void 0 ? void 0 : _currentPage.value : _currentPage, isRaw: typeof _currentPage === "object" && "isRaw" in _currentPage && _currentPage.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_confirmTrackers", id: typeof _confirmTrackers === "object" && "id" in _confirmTrackers ? _confirmTrackers === null || _confirmTrackers === void 0 ? void 0 : _confirmTrackers.id : undefined, value: typeof _confirmTrackers === "object" && "value" in _confirmTrackers ? _confirmTrackers === null || _confirmTrackers === void 0 ? void 0 : _confirmTrackers.value : _confirmTrackers, isRaw: typeof _confirmTrackers === "object" && "isRaw" in _confirmTrackers && _confirmTrackers.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_resetTrackers", id: typeof _resetTrackers === "object" && "id" in _resetTrackers ? _resetTrackers === null || _resetTrackers === void 0 ? void 0 : _resetTrackers.id : undefined, value: typeof _resetTrackers === "object" && "value" in _resetTrackers ? _resetTrackers === null || _resetTrackers === void 0 ? void 0 : _resetTrackers.value : _resetTrackers, isRaw: typeof _resetTrackers === "object" && "isRaw" in _resetTrackers && _resetTrackers.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_calibrateAvatar", id: typeof _calibrateAvatar === "object" && "id" in _calibrateAvatar ? _calibrateAvatar === null || _calibrateAvatar === void 0 ? void 0 : _calibrateAvatar.id : undefined, value: typeof _calibrateAvatar === "object" && "value" in _calibrateAvatar ? _calibrateAvatar === null || _calibrateAvatar === void 0 ? void 0 : _calibrateAvatar.value : _calibrateAvatar, isRaw: typeof _calibrateAvatar === "object" && "isRaw" in _calibrateAvatar && _calibrateAvatar.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Slider`1[System.Single]]", name: "_heightCompensation", id: typeof _heightCompensation === "object" && "id" in _heightCompensation ? _heightCompensation === null || _heightCompensation === void 0 ? void 0 : _heightCompensation.id : undefined, value: typeof _heightCompensation === "object" && "value" in _heightCompensation ? _heightCompensation === null || _heightCompensation === void 0 ? void 0 : _heightCompensation.value : _heightCompensation, isRaw: typeof _heightCompensation === "object" && "isRaw" in _heightCompensation && _heightCompensation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "_useSymmetry", id: typeof _useSymmetry === "object" && "id" in _useSymmetry ? _useSymmetry === null || _useSymmetry === void 0 ? void 0 : _useSymmetry.id : undefined, value: typeof _useSymmetry === "object" && "value" in _useSymmetry ? _useSymmetry === null || _useSymmetry === void 0 ? void 0 : _useSymmetry.value : _useSymmetry, isRaw: typeof _useSymmetry === "object" && "isRaw" in _useSymmetry && _useSymmetry.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "_showBodyOverlay", id: typeof _showBodyOverlay === "object" && "id" in _showBodyOverlay ? _showBodyOverlay === null || _showBodyOverlay === void 0 ? void 0 : _showBodyOverlay.id : undefined, value: typeof _showBodyOverlay === "object" && "value" in _showBodyOverlay ? _showBodyOverlay === null || _showBodyOverlay === void 0 ? void 0 : _showBodyOverlay.value : _showBodyOverlay, isRaw: typeof _showBodyOverlay === "object" && "isRaw" in _showBodyOverlay && _showBodyOverlay.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "_showAvatarOverlay", id: typeof _showAvatarOverlay === "object" && "id" in _showAvatarOverlay ? _showAvatarOverlay === null || _showAvatarOverlay === void 0 ? void 0 : _showAvatarOverlay.id : undefined, value: typeof _showAvatarOverlay === "object" && "value" in _showAvatarOverlay ? _showAvatarOverlay === null || _showAvatarOverlay === void 0 ? void 0 : _showAvatarOverlay.value : _showAvatarOverlay, isRaw: typeof _showAvatarOverlay === "object" && "isRaw" in _showAvatarOverlay && _showAvatarOverlay.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_hipsMapping", id: typeof _hipsMapping === "object" && "id" in _hipsMapping ? _hipsMapping === null || _hipsMapping === void 0 ? void 0 : _hipsMapping.id : undefined, value: typeof _hipsMapping === "object" && "value" in _hipsMapping ? _hipsMapping === null || _hipsMapping === void 0 ? void 0 : _hipsMapping.value : _hipsMapping, isRaw: typeof _hipsMapping === "object" && "isRaw" in _hipsMapping && _hipsMapping.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_feetMapping", id: typeof _feetMapping === "object" && "id" in _feetMapping ? _feetMapping === null || _feetMapping === void 0 ? void 0 : _feetMapping.id : undefined, value: typeof _feetMapping === "object" && "value" in _feetMapping ? _feetMapping === null || _feetMapping === void 0 ? void 0 : _feetMapping.value : _feetMapping, isRaw: typeof _feetMapping === "object" && "isRaw" in _feetMapping && _feetMapping.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_chestMapping", id: typeof _chestMapping === "object" && "id" in _chestMapping ? _chestMapping === null || _chestMapping === void 0 ? void 0 : _chestMapping.id : undefined, value: typeof _chestMapping === "object" && "value" in _chestMapping ? _chestMapping === null || _chestMapping === void 0 ? void 0 : _chestMapping.value : _chestMapping, isRaw: typeof _chestMapping === "object" && "isRaw" in _chestMapping && _chestMapping.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_elbowsMapping", id: typeof _elbowsMapping === "object" && "id" in _elbowsMapping ? _elbowsMapping === null || _elbowsMapping === void 0 ? void 0 : _elbowsMapping.id : undefined, value: typeof _elbowsMapping === "object" && "value" in _elbowsMapping ? _elbowsMapping === null || _elbowsMapping === void 0 ? void 0 : _elbowsMapping.value : _elbowsMapping, isRaw: typeof _elbowsMapping === "object" && "isRaw" in _elbowsMapping && _elbowsMapping.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_kneesMapping", id: typeof _kneesMapping === "object" && "id" in _kneesMapping ? _kneesMapping === null || _kneesMapping === void 0 ? void 0 : _kneesMapping.id : undefined, value: typeof _kneesMapping === "object" && "value" in _kneesMapping ? _kneesMapping === null || _kneesMapping === void 0 ? void 0 : _kneesMapping.value : _kneesMapping, isRaw: typeof _kneesMapping === "object" && "isRaw" in _kneesMapping && _kneesMapping.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.QuantityTextEditorParser`1[QuantityX.Distance]]", name: "_heightField", id: typeof _heightField === "object" && "id" in _heightField ? _heightField === null || _heightField === void 0 ? void 0 : _heightField.id : undefined, value: typeof _heightField === "object" && "value" in _heightField ? _heightField === null || _heightField === void 0 ? void 0 : _heightField.value : _heightField, isRaw: typeof _heightField === "object" && "isRaw" in _heightField && _heightField.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_heightWarning", id: typeof _heightWarning === "object" && "id" in _heightWarning ? _heightWarning === null || _heightWarning === void 0 ? void 0 : _heightWarning.id : undefined, value: typeof _heightWarning === "object" && "value" in _heightWarning ? _heightWarning === null || _heightWarning === void 0 ? void 0 : _heightWarning.value : _heightWarning, isRaw: typeof _heightWarning === "object" && "isRaw" in _heightWarning && _heightWarning.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_useImperial", id: typeof _useImperial === "object" && "id" in _useImperial ? _useImperial === null || _useImperial === void 0 ? void 0 : _useImperial.id : undefined, value: typeof _useImperial === "object" && "value" in _useImperial ? _useImperial === null || _useImperial === void 0 ? void 0 : _useImperial.value : _useImperial, isRaw: typeof _useImperial === "object" && "isRaw" in _useImperial && _useImperial.isRaw ? true : undefined })] }))); } exports.FullBodyCalibratorDialog = FullBodyCalibratorDialog; ;