UNPKG

neos-script

Version:

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

23 lines (22 loc) 9.77 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.SendCreditsDialog = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function SendCreditsDialog(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, _friendsDialog = props._friendsDialog, _amountParser = props._amountParser, _commentField = props._commentField, _withdrawalAddressField = props._withdrawalAddressField, _anonymousTip = props._anonymousTip, _sendButton = props._sendButton, _totpCode = props._totpCode, _sendingText = props._sendingText, _tokenSelection = props._tokenSelection, _usdApproximation = props._usdApproximation; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.SendCreditsDialog", 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.FriendsDialog]", name: "_friendsDialog", id: typeof _friendsDialog === "object" && "id" in _friendsDialog ? _friendsDialog === null || _friendsDialog === void 0 ? void 0 : _friendsDialog.id : undefined, value: typeof _friendsDialog === "object" && "value" in _friendsDialog ? _friendsDialog === null || _friendsDialog === void 0 ? void 0 : _friendsDialog.value : _friendsDialog, isRaw: typeof _friendsDialog === "object" && "isRaw" in _friendsDialog && _friendsDialog.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FloatTextEditorParser]", name: "_amountParser", id: typeof _amountParser === "object" && "id" in _amountParser ? _amountParser === null || _amountParser === void 0 ? void 0 : _amountParser.id : undefined, value: typeof _amountParser === "object" && "value" in _amountParser ? _amountParser === null || _amountParser === void 0 ? void 0 : _amountParser.value : _amountParser, isRaw: typeof _amountParser === "object" && "isRaw" in _amountParser && _amountParser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_commentField", id: typeof _commentField === "object" && "id" in _commentField ? _commentField === null || _commentField === void 0 ? void 0 : _commentField.id : undefined, value: typeof _commentField === "object" && "value" in _commentField ? _commentField === null || _commentField === void 0 ? void 0 : _commentField.value : _commentField, isRaw: typeof _commentField === "object" && "isRaw" in _commentField && _commentField.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_withdrawalAddressField", id: typeof _withdrawalAddressField === "object" && "id" in _withdrawalAddressField ? _withdrawalAddressField === null || _withdrawalAddressField === void 0 ? void 0 : _withdrawalAddressField.id : undefined, value: typeof _withdrawalAddressField === "object" && "value" in _withdrawalAddressField ? _withdrawalAddressField === null || _withdrawalAddressField === void 0 ? void 0 : _withdrawalAddressField.value : _withdrawalAddressField, isRaw: typeof _withdrawalAddressField === "object" && "isRaw" in _withdrawalAddressField && _withdrawalAddressField.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "_anonymousTip", id: typeof _anonymousTip === "object" && "id" in _anonymousTip ? _anonymousTip === null || _anonymousTip === void 0 ? void 0 : _anonymousTip.id : undefined, value: typeof _anonymousTip === "object" && "value" in _anonymousTip ? _anonymousTip === null || _anonymousTip === void 0 ? void 0 : _anonymousTip.value : _anonymousTip, isRaw: typeof _anonymousTip === "object" && "isRaw" in _anonymousTip && _anonymousTip.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_sendButton", id: typeof _sendButton === "object" && "id" in _sendButton ? _sendButton === null || _sendButton === void 0 ? void 0 : _sendButton.id : undefined, value: typeof _sendButton === "object" && "value" in _sendButton ? _sendButton === null || _sendButton === void 0 ? void 0 : _sendButton.value : _sendButton, isRaw: typeof _sendButton === "object" && "isRaw" in _sendButton && _sendButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_totpCode", id: typeof _totpCode === "object" && "id" in _totpCode ? _totpCode === null || _totpCode === void 0 ? void 0 : _totpCode.id : undefined, value: typeof _totpCode === "object" && "value" in _totpCode ? _totpCode === null || _totpCode === void 0 ? void 0 : _totpCode.value : _totpCode, isRaw: typeof _totpCode === "object" && "isRaw" in _totpCode && _totpCode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_sendingText", id: typeof _sendingText === "object" && "id" in _sendingText ? _sendingText === null || _sendingText === void 0 ? void 0 : _sendingText.id : undefined, value: typeof _sendingText === "object" && "value" in _sendingText ? _sendingText === null || _sendingText === void 0 ? void 0 : _sendingText.value : _sendingText, isRaw: typeof _sendingText === "object" && "isRaw" in _sendingText && _sendingText.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "_tokenSelection", id: typeof _tokenSelection === "object" && "id" in _tokenSelection ? _tokenSelection === null || _tokenSelection === void 0 ? void 0 : _tokenSelection.id : undefined, value: typeof _tokenSelection === "object" && "value" in _tokenSelection ? _tokenSelection === null || _tokenSelection === void 0 ? void 0 : _tokenSelection.value : _tokenSelection, isRaw: typeof _tokenSelection === "object" && "isRaw" in _tokenSelection && _tokenSelection.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_usdApproximation", id: typeof _usdApproximation === "object" && "id" in _usdApproximation ? _usdApproximation === null || _usdApproximation === void 0 ? void 0 : _usdApproximation.id : undefined, value: typeof _usdApproximation === "object" && "value" in _usdApproximation ? _usdApproximation === null || _usdApproximation === void 0 ? void 0 : _usdApproximation.value : _usdApproximation, isRaw: typeof _usdApproximation === "object" && "isRaw" in _usdApproximation && _usdApproximation.isRaw ? true : undefined })] }))); } exports.SendCreditsDialog = SendCreditsDialog; ;