UNPKG

neos-script

Version:

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

23 lines (22 loc) 7.31 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.QuantityTextFormatDriver_U = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function QuantityTextFormatDriver_U(props) { var U = props.type.U.name, id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Target = props.Target, BaseValue = props.BaseValue, FormatUnit = props.FormatUnit, FormatNumber = props.FormatNumber, CompoundUseLongNames = props.CompoundUseLongNames, CompoundOverrideNames = props.CompoundOverrideNames, CompoundDiscardLastFraction = props.CompoundDiscardLastFraction, CompoundSeparator = props.CompoundSeparator, CompoundZeroHandling = props.CompoundZeroHandling; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.QuantityTextFormatDriver`1[".concat([U,], "]"), 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.FieldDrive`1[System.String]", 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.Sync`1[System.Double]", name: "BaseValue", id: typeof BaseValue === "object" && "id" in BaseValue ? BaseValue === null || BaseValue === void 0 ? void 0 : BaseValue.id : undefined, value: typeof BaseValue === "object" && "value" in BaseValue ? BaseValue === null || BaseValue === void 0 ? void 0 : BaseValue.value : BaseValue, isRaw: typeof BaseValue === "object" && "isRaw" in BaseValue && BaseValue.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "FormatUnit", id: typeof FormatUnit === "object" && "id" in FormatUnit ? FormatUnit === null || FormatUnit === void 0 ? void 0 : FormatUnit.id : undefined, value: typeof FormatUnit === "object" && "value" in FormatUnit ? FormatUnit === null || FormatUnit === void 0 ? void 0 : FormatUnit.value : FormatUnit, isRaw: typeof FormatUnit === "object" && "isRaw" in FormatUnit && FormatUnit.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "FormatNumber", id: typeof FormatNumber === "object" && "id" in FormatNumber ? FormatNumber === null || FormatNumber === void 0 ? void 0 : FormatNumber.id : undefined, value: typeof FormatNumber === "object" && "value" in FormatNumber ? FormatNumber === null || FormatNumber === void 0 ? void 0 : FormatNumber.value : FormatNumber, isRaw: typeof FormatNumber === "object" && "isRaw" in FormatNumber && FormatNumber.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "CompoundUseLongNames", id: typeof CompoundUseLongNames === "object" && "id" in CompoundUseLongNames ? CompoundUseLongNames === null || CompoundUseLongNames === void 0 ? void 0 : CompoundUseLongNames.id : undefined, value: typeof CompoundUseLongNames === "object" && "value" in CompoundUseLongNames ? CompoundUseLongNames === null || CompoundUseLongNames === void 0 ? void 0 : CompoundUseLongNames.value : CompoundUseLongNames, isRaw: typeof CompoundUseLongNames === "object" && "isRaw" in CompoundUseLongNames && CompoundUseLongNames.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "CompoundOverrideNames", id: typeof CompoundOverrideNames === "object" && "id" in CompoundOverrideNames ? CompoundOverrideNames === null || CompoundOverrideNames === void 0 ? void 0 : CompoundOverrideNames.id : undefined, value: typeof CompoundOverrideNames === "object" && "value" in CompoundOverrideNames ? CompoundOverrideNames === null || CompoundOverrideNames === void 0 ? void 0 : CompoundOverrideNames.value : CompoundOverrideNames, isRaw: typeof CompoundOverrideNames === "object" && "isRaw" in CompoundOverrideNames && CompoundOverrideNames.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "CompoundDiscardLastFraction", id: typeof CompoundDiscardLastFraction === "object" && "id" in CompoundDiscardLastFraction ? CompoundDiscardLastFraction === null || CompoundDiscardLastFraction === void 0 ? void 0 : CompoundDiscardLastFraction.id : undefined, value: typeof CompoundDiscardLastFraction === "object" && "value" in CompoundDiscardLastFraction ? CompoundDiscardLastFraction === null || CompoundDiscardLastFraction === void 0 ? void 0 : CompoundDiscardLastFraction.value : CompoundDiscardLastFraction, isRaw: typeof CompoundDiscardLastFraction === "object" && "isRaw" in CompoundDiscardLastFraction && CompoundDiscardLastFraction.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "CompoundSeparator", id: typeof CompoundSeparator === "object" && "id" in CompoundSeparator ? CompoundSeparator === null || CompoundSeparator === void 0 ? void 0 : CompoundSeparator.id : undefined, value: typeof CompoundSeparator === "object" && "value" in CompoundSeparator ? CompoundSeparator === null || CompoundSeparator === void 0 ? void 0 : CompoundSeparator.value : CompoundSeparator, isRaw: typeof CompoundSeparator === "object" && "isRaw" in CompoundSeparator && CompoundSeparator.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[QuantityX.CompoundZeroHandling]", name: "CompoundZeroHandling", id: typeof CompoundZeroHandling === "object" && "id" in CompoundZeroHandling ? CompoundZeroHandling === null || CompoundZeroHandling === void 0 ? void 0 : CompoundZeroHandling.id : undefined, value: typeof CompoundZeroHandling === "object" && "value" in CompoundZeroHandling ? CompoundZeroHandling === null || CompoundZeroHandling === void 0 ? void 0 : CompoundZeroHandling.value : CompoundZeroHandling, isRaw: typeof CompoundZeroHandling === "object" && "isRaw" in CompoundZeroHandling && CompoundZeroHandling.isRaw ? true : undefined })] }))); } exports.QuantityTextFormatDriver_U = QuantityTextFormatDriver_U; ;