UNPKG

neos-script

Version:

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

23 lines (22 loc) 5.38 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.IntTextEditorParser = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function IntTextEditorParser(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, ParseContinuously = props.ParseContinuously, UpdateStringFromValue = props.UpdateStringFromValue, ParsedValue = props.ParsedValue, Min = props.Min, Max = props.Max, Increments = props.Increments, StringFormat = props.StringFormat; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.IntTextEditorParser", 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: "ParseContinuously", id: typeof ParseContinuously === "object" && "id" in ParseContinuously ? ParseContinuously === null || ParseContinuously === void 0 ? void 0 : ParseContinuously.id : undefined, value: typeof ParseContinuously === "object" && "value" in ParseContinuously ? ParseContinuously === null || ParseContinuously === void 0 ? void 0 : ParseContinuously.value : ParseContinuously, isRaw: typeof ParseContinuously === "object" && "isRaw" in ParseContinuously && ParseContinuously.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "UpdateStringFromValue", id: typeof UpdateStringFromValue === "object" && "id" in UpdateStringFromValue ? UpdateStringFromValue === null || UpdateStringFromValue === void 0 ? void 0 : UpdateStringFromValue.id : undefined, value: typeof UpdateStringFromValue === "object" && "value" in UpdateStringFromValue ? UpdateStringFromValue === null || UpdateStringFromValue === void 0 ? void 0 : UpdateStringFromValue.value : UpdateStringFromValue, isRaw: typeof UpdateStringFromValue === "object" && "isRaw" in UpdateStringFromValue && UpdateStringFromValue.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "ParsedValue", id: typeof ParsedValue === "object" && "id" in ParsedValue ? ParsedValue === null || ParsedValue === void 0 ? void 0 : ParsedValue.id : undefined, value: typeof ParsedValue === "object" && "value" in ParsedValue ? ParsedValue === null || ParsedValue === void 0 ? void 0 : ParsedValue.value : ParsedValue, isRaw: typeof ParsedValue === "object" && "isRaw" in ParsedValue && ParsedValue.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "Min", id: typeof Min === "object" && "id" in Min ? Min === null || Min === void 0 ? void 0 : Min.id : undefined, value: typeof Min === "object" && "value" in Min ? Min === null || Min === void 0 ? void 0 : Min.value : Min, isRaw: typeof Min === "object" && "isRaw" in Min && Min.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "Max", id: typeof Max === "object" && "id" in Max ? Max === null || Max === void 0 ? void 0 : Max.id : undefined, value: typeof Max === "object" && "value" in Max ? Max === null || Max === void 0 ? void 0 : Max.value : Max, isRaw: typeof Max === "object" && "isRaw" in Max && Max.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "Increments", id: typeof Increments === "object" && "id" in Increments ? Increments === null || Increments === void 0 ? void 0 : Increments.id : undefined, value: typeof Increments === "object" && "value" in Increments ? Increments === null || Increments === void 0 ? void 0 : Increments.value : Increments, isRaw: typeof Increments === "object" && "isRaw" in Increments && Increments.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "StringFormat", id: typeof StringFormat === "object" && "id" in StringFormat ? StringFormat === null || StringFormat === void 0 ? void 0 : StringFormat.id : undefined, value: typeof StringFormat === "object" && "value" in StringFormat ? StringFormat === null || StringFormat === void 0 ? void 0 : StringFormat.value : StringFormat, isRaw: typeof StringFormat === "object" && "isRaw" in StringFormat && StringFormat.isRaw ? true : undefined })] }))); } exports.IntTextEditorParser = IntTextEditorParser; ;