neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 8.15 kB
JavaScript
;
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.QuaternionMemberEditor = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function QuaternionMemberEditor(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Continuous = props.Continuous, _path = props._path, _target = props._target, _xEditor = props._xEditor, _yEditor = props._yEditor, _zEditor = props._zEditor, _xDrive = props._xDrive, _yDrive = props._yDrive, _zDrive = props._zDrive, _xButton = props._xButton, _yButton = props._yButton, _zButton = props._zButton, _editingValue = props._editingValue;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.QuaternionMemberEditor", 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: "Continuous", id: typeof Continuous === "object" && "id" in Continuous ? Continuous === null || Continuous === void 0 ? void 0 : Continuous.id : undefined, value: typeof Continuous === "object" && "value" in Continuous ? Continuous === null || Continuous === void 0 ? void 0 : Continuous.value : Continuous, isRaw: typeof Continuous === "object" && "isRaw" in Continuous && Continuous.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "_path", id: typeof _path === "object" && "id" in _path ? _path === null || _path === void 0 ? void 0 : _path.id : undefined, value: typeof _path === "object" && "value" in _path ? _path === null || _path === void 0 ? void 0 : _path.value : _path, isRaw: typeof _path === "object" && "isRaw" in _path && _path.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RelayRef`1[FrooxEngine.IField]", name: "_target", id: typeof _target === "object" && "id" in _target ? _target === null || _target === void 0 ? void 0 : _target.id : undefined, value: typeof _target === "object" && "value" in _target ? _target === null || _target === void 0 ? void 0 : _target.value : _target, isRaw: typeof _target === "object" && "isRaw" in _target && _target.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RelayRef`1[FrooxEngine.TextEditor]", name: "_xEditor", id: typeof _xEditor === "object" && "id" in _xEditor ? _xEditor === null || _xEditor === void 0 ? void 0 : _xEditor.id : undefined, value: typeof _xEditor === "object" && "value" in _xEditor ? _xEditor === null || _xEditor === void 0 ? void 0 : _xEditor.value : _xEditor, isRaw: typeof _xEditor === "object" && "isRaw" in _xEditor && _xEditor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RelayRef`1[FrooxEngine.TextEditor]", name: "_yEditor", id: typeof _yEditor === "object" && "id" in _yEditor ? _yEditor === null || _yEditor === void 0 ? void 0 : _yEditor.id : undefined, value: typeof _yEditor === "object" && "value" in _yEditor ? _yEditor === null || _yEditor === void 0 ? void 0 : _yEditor.value : _yEditor, isRaw: typeof _yEditor === "object" && "isRaw" in _yEditor && _yEditor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RelayRef`1[FrooxEngine.TextEditor]", name: "_zEditor", id: typeof _zEditor === "object" && "id" in _zEditor ? _zEditor === null || _zEditor === void 0 ? void 0 : _zEditor.id : undefined, value: typeof _zEditor === "object" && "value" in _zEditor ? _zEditor === null || _zEditor === void 0 ? void 0 : _zEditor.value : _zEditor, isRaw: typeof _zEditor === "object" && "isRaw" in _zEditor && _zEditor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.String]", name: "_xDrive", id: typeof _xDrive === "object" && "id" in _xDrive ? _xDrive === null || _xDrive === void 0 ? void 0 : _xDrive.id : undefined, value: typeof _xDrive === "object" && "value" in _xDrive ? _xDrive === null || _xDrive === void 0 ? void 0 : _xDrive.value : _xDrive, isRaw: typeof _xDrive === "object" && "isRaw" in _xDrive && _xDrive.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.String]", name: "_yDrive", id: typeof _yDrive === "object" && "id" in _yDrive ? _yDrive === null || _yDrive === void 0 ? void 0 : _yDrive.id : undefined, value: typeof _yDrive === "object" && "value" in _yDrive ? _yDrive === null || _yDrive === void 0 ? void 0 : _yDrive.value : _yDrive, isRaw: typeof _yDrive === "object" && "isRaw" in _yDrive && _yDrive.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[System.String]", name: "_zDrive", id: typeof _zDrive === "object" && "id" in _zDrive ? _zDrive === null || _zDrive === void 0 ? void 0 : _zDrive.id : undefined, value: typeof _zDrive === "object" && "value" in _zDrive ? _zDrive === null || _zDrive === void 0 ? void 0 : _zDrive.value : _zDrive, isRaw: typeof _zDrive === "object" && "isRaw" in _zDrive && _zDrive.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_xButton", id: typeof _xButton === "object" && "id" in _xButton ? _xButton === null || _xButton === void 0 ? void 0 : _xButton.id : undefined, value: typeof _xButton === "object" && "value" in _xButton ? _xButton === null || _xButton === void 0 ? void 0 : _xButton.value : _xButton, isRaw: typeof _xButton === "object" && "isRaw" in _xButton && _xButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_yButton", id: typeof _yButton === "object" && "id" in _yButton ? _yButton === null || _yButton === void 0 ? void 0 : _yButton.id : undefined, value: typeof _yButton === "object" && "value" in _yButton ? _yButton === null || _yButton === void 0 ? void 0 : _yButton.value : _yButton, isRaw: typeof _yButton === "object" && "isRaw" in _yButton && _yButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_zButton", id: typeof _zButton === "object" && "id" in _zButton ? _zButton === null || _zButton === void 0 ? void 0 : _zButton.id : undefined, value: typeof _zButton === "object" && "value" in _zButton ? _zButton === null || _zButton === void 0 ? void 0 : _zButton.value : _zButton, isRaw: typeof _zButton === "object" && "isRaw" in _zButton && _zButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Nullable`1[BaseX.double3]]", name: "_editingValue", id: typeof _editingValue === "object" && "id" in _editingValue ? _editingValue === null || _editingValue === void 0 ? void 0 : _editingValue.id : undefined, value: typeof _editingValue === "object" && "value" in _editingValue ? _editingValue === null || _editingValue === void 0 ? void 0 : _editingValue.value : _editingValue, isRaw: typeof _editingValue === "object" && "isRaw" in _editingValue && _editingValue.isRaw ? true : undefined })] })));
}
exports.QuaternionMemberEditor = QuaternionMemberEditor;
;