UNPKG

neos-script

Version:

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

23 lines (22 loc) 8.48 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.TwitchChatDialog = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../core"); function TwitchChatDialog(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _canvas = props._canvas, _panel = props._panel, MaxMessages = props.MaxMessages, Interface = props.Interface, _channelName = props._channelName, _viewerCount = props._viewerCount, _messagesRoot = props._messagesRoot, _messagesScrollRect = props._messagesScrollRect, _highlightPanel = props._highlightPanel, _highlightText = props._highlightText, _spriteSheet = props._spriteSheet, _fontCollection = props._fontCollection; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.TwitchChatDialog", 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.Sync`1[System.Int32]", name: "MaxMessages", id: typeof MaxMessages === "object" && "id" in MaxMessages ? MaxMessages === null || MaxMessages === void 0 ? void 0 : MaxMessages.id : undefined, value: typeof MaxMessages === "object" && "value" in MaxMessages ? MaxMessages === null || MaxMessages === void 0 ? void 0 : MaxMessages.value : MaxMessages, isRaw: typeof MaxMessages === "object" && "isRaw" in MaxMessages && MaxMessages.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RelayRef`1[FrooxEngine.TwitchInterface]", name: "Interface", id: typeof Interface === "object" && "id" in Interface ? Interface === null || Interface === void 0 ? void 0 : Interface.id : undefined, value: typeof Interface === "object" && "value" in Interface ? Interface === null || Interface === void 0 ? void 0 : Interface.value : Interface, isRaw: typeof Interface === "object" && "isRaw" in Interface && Interface.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_channelName", id: typeof _channelName === "object" && "id" in _channelName ? _channelName === null || _channelName === void 0 ? void 0 : _channelName.id : undefined, value: typeof _channelName === "object" && "value" in _channelName ? _channelName === null || _channelName === void 0 ? void 0 : _channelName.value : _channelName, isRaw: typeof _channelName === "object" && "isRaw" in _channelName && _channelName.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_viewerCount", id: typeof _viewerCount === "object" && "id" in _viewerCount ? _viewerCount === null || _viewerCount === void 0 ? void 0 : _viewerCount.id : undefined, value: typeof _viewerCount === "object" && "value" in _viewerCount ? _viewerCount === null || _viewerCount === void 0 ? void 0 : _viewerCount.value : _viewerCount, isRaw: typeof _viewerCount === "object" && "isRaw" in _viewerCount && _viewerCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_messagesRoot", id: typeof _messagesRoot === "object" && "id" in _messagesRoot ? _messagesRoot === null || _messagesRoot === void 0 ? void 0 : _messagesRoot.id : undefined, value: typeof _messagesRoot === "object" && "value" in _messagesRoot ? _messagesRoot === null || _messagesRoot === void 0 ? void 0 : _messagesRoot.value : _messagesRoot, isRaw: typeof _messagesRoot === "object" && "isRaw" in _messagesRoot && _messagesRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.ScrollRect]", name: "_messagesScrollRect", id: typeof _messagesScrollRect === "object" && "id" in _messagesScrollRect ? _messagesScrollRect === null || _messagesScrollRect === void 0 ? void 0 : _messagesScrollRect.id : undefined, value: typeof _messagesScrollRect === "object" && "value" in _messagesScrollRect ? _messagesScrollRect === null || _messagesScrollRect === void 0 ? void 0 : _messagesScrollRect.value : _messagesScrollRect, isRaw: typeof _messagesScrollRect === "object" && "isRaw" in _messagesScrollRect && _messagesScrollRect.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Image]", name: "_highlightPanel", id: typeof _highlightPanel === "object" && "id" in _highlightPanel ? _highlightPanel === null || _highlightPanel === void 0 ? void 0 : _highlightPanel.id : undefined, value: typeof _highlightPanel === "object" && "value" in _highlightPanel ? _highlightPanel === null || _highlightPanel === void 0 ? void 0 : _highlightPanel.value : _highlightPanel, isRaw: typeof _highlightPanel === "object" && "isRaw" in _highlightPanel && _highlightPanel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_highlightText", id: typeof _highlightText === "object" && "id" in _highlightText ? _highlightText === null || _highlightText === void 0 ? void 0 : _highlightText.id : undefined, value: typeof _highlightText === "object" && "value" in _highlightText ? _highlightText === null || _highlightText === void 0 ? void 0 : _highlightText.value : _highlightText, isRaw: typeof _highlightText === "object" && "isRaw" in _highlightText && _highlightText.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.DynamicSpriteFont]", name: "_spriteSheet", id: typeof _spriteSheet === "object" && "id" in _spriteSheet ? _spriteSheet === null || _spriteSheet === void 0 ? void 0 : _spriteSheet.id : undefined, value: typeof _spriteSheet === "object" && "value" in _spriteSheet ? _spriteSheet === null || _spriteSheet === void 0 ? void 0 : _spriteSheet.value : _spriteSheet, isRaw: typeof _spriteSheet === "object" && "isRaw" in _spriteSheet && _spriteSheet.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.FontCollection]", name: "_fontCollection", id: typeof _fontCollection === "object" && "id" in _fontCollection ? _fontCollection === null || _fontCollection === void 0 ? void 0 : _fontCollection.id : undefined, value: typeof _fontCollection === "object" && "value" in _fontCollection ? _fontCollection === null || _fontCollection === void 0 ? void 0 : _fontCollection.value : _fontCollection, isRaw: typeof _fontCollection === "object" && "isRaw" in _fontCollection && _fontCollection.isRaw ? true : undefined })] }))); } exports.TwitchChatDialog = TwitchChatDialog; ;