UNPKG

neos-script

Version:

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

23 lines (22 loc) 5.22 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.StoragePurchaseDialog = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function StoragePurchaseDialog(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _message = props._message, _costMessage = props._costMessage, _buyButton = props._buyButton, _cancelButton = props._cancelButton, _gigabytes = props._gigabytes, _months = props._months, _cost = props._cost; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.StoragePurchaseDialog", 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.Text]", name: "_message", id: typeof _message === "object" && "id" in _message ? _message === null || _message === void 0 ? void 0 : _message.id : undefined, value: typeof _message === "object" && "value" in _message ? _message === null || _message === void 0 ? void 0 : _message.value : _message, isRaw: typeof _message === "object" && "isRaw" in _message && _message.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_costMessage", id: typeof _costMessage === "object" && "id" in _costMessage ? _costMessage === null || _costMessage === void 0 ? void 0 : _costMessage.id : undefined, value: typeof _costMessage === "object" && "value" in _costMessage ? _costMessage === null || _costMessage === void 0 ? void 0 : _costMessage.value : _costMessage, isRaw: typeof _costMessage === "object" && "isRaw" in _costMessage && _costMessage.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_buyButton", id: typeof _buyButton === "object" && "id" in _buyButton ? _buyButton === null || _buyButton === void 0 ? void 0 : _buyButton.id : undefined, value: typeof _buyButton === "object" && "value" in _buyButton ? _buyButton === null || _buyButton === void 0 ? void 0 : _buyButton.value : _buyButton, isRaw: typeof _buyButton === "object" && "isRaw" in _buyButton && _buyButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_cancelButton", id: typeof _cancelButton === "object" && "id" in _cancelButton ? _cancelButton === null || _cancelButton === void 0 ? void 0 : _cancelButton.id : undefined, value: typeof _cancelButton === "object" && "value" in _cancelButton ? _cancelButton === null || _cancelButton === void 0 ? void 0 : _cancelButton.value : _cancelButton, isRaw: typeof _cancelButton === "object" && "isRaw" in _cancelButton && _cancelButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "_gigabytes", id: typeof _gigabytes === "object" && "id" in _gigabytes ? _gigabytes === null || _gigabytes === void 0 ? void 0 : _gigabytes.id : undefined, value: typeof _gigabytes === "object" && "value" in _gigabytes ? _gigabytes === null || _gigabytes === void 0 ? void 0 : _gigabytes.value : _gigabytes, isRaw: typeof _gigabytes === "object" && "isRaw" in _gigabytes && _gigabytes.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "_months", id: typeof _months === "object" && "id" in _months ? _months === null || _months === void 0 ? void 0 : _months.id : undefined, value: typeof _months === "object" && "value" in _months ? _months === null || _months === void 0 ? void 0 : _months.value : _months, isRaw: typeof _months === "object" && "isRaw" in _months && _months.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Decimal]", name: "_cost", id: typeof _cost === "object" && "id" in _cost ? _cost === null || _cost === void 0 ? void 0 : _cost.id : undefined, value: typeof _cost === "object" && "value" in _cost ? _cost === null || _cost === void 0 ? void 0 : _cost.value : _cost, isRaw: typeof _cost === "object" && "isRaw" in _cost && _cost.isRaw ? true : undefined })] }))); } exports.StoragePurchaseDialog = StoragePurchaseDialog; ;