UNPKG

neos-script

Version:

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

23 lines (22 loc) 12.6 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.WorldThumbnailItem = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function WorldThumbnailItem(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, UpdatingUser = props.UpdatingUser, WorldOrSessionId = props.WorldOrSessionId, _visited = props._visited, _totalActiveUsers = props._totalActiveUsers, _totalFriends = props._totalFriends, PressAction = props.PressAction, _thumbnailGraphic = props._thumbnailGraphic, _thumbnailTexture = props._thumbnailTexture, _nameRoot = props._nameRoot, _detailRoot = props._detailRoot, _visitedRoot = props._visitedRoot, _counterRoot = props._counterRoot, _iconsRoot = props._iconsRoot, _closeButton = props._closeButton, _nameText = props._nameText, _detailText = props._detailText, _counterText = props._counterText, _borderOverlay = props._borderOverlay, _borderColor = props._borderColor; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.WorldThumbnailItem", 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.UserRef", name: "UpdatingUser", id: typeof UpdatingUser === "object" && "id" in UpdatingUser ? UpdatingUser === null || UpdatingUser === void 0 ? void 0 : UpdatingUser.id : undefined, value: typeof UpdatingUser === "object" && "value" in UpdatingUser ? UpdatingUser === null || UpdatingUser === void 0 ? void 0 : UpdatingUser.value : UpdatingUser, isRaw: typeof UpdatingUser === "object" && "isRaw" in UpdatingUser && UpdatingUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "WorldOrSessionId", id: typeof WorldOrSessionId === "object" && "id" in WorldOrSessionId ? WorldOrSessionId === null || WorldOrSessionId === void 0 ? void 0 : WorldOrSessionId.id : undefined, value: typeof WorldOrSessionId === "object" && "value" in WorldOrSessionId ? WorldOrSessionId === null || WorldOrSessionId === void 0 ? void 0 : WorldOrSessionId.value : WorldOrSessionId, isRaw: typeof WorldOrSessionId === "object" && "isRaw" in WorldOrSessionId && WorldOrSessionId.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_visited", id: typeof _visited === "object" && "id" in _visited ? _visited === null || _visited === void 0 ? void 0 : _visited.id : undefined, value: typeof _visited === "object" && "value" in _visited ? _visited === null || _visited === void 0 ? void 0 : _visited.value : _visited, isRaw: typeof _visited === "object" && "isRaw" in _visited && _visited.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "_totalActiveUsers", id: typeof _totalActiveUsers === "object" && "id" in _totalActiveUsers ? _totalActiveUsers === null || _totalActiveUsers === void 0 ? void 0 : _totalActiveUsers.id : undefined, value: typeof _totalActiveUsers === "object" && "value" in _totalActiveUsers ? _totalActiveUsers === null || _totalActiveUsers === void 0 ? void 0 : _totalActiveUsers.value : _totalActiveUsers, isRaw: typeof _totalActiveUsers === "object" && "isRaw" in _totalActiveUsers && _totalActiveUsers.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "_totalFriends", id: typeof _totalFriends === "object" && "id" in _totalFriends ? _totalFriends === null || _totalFriends === void 0 ? void 0 : _totalFriends.id : undefined, value: typeof _totalFriends === "object" && "value" in _totalFriends ? _totalFriends === null || _totalFriends === void 0 ? void 0 : _totalFriends.value : _totalFriends, isRaw: typeof _totalFriends === "object" && "isRaw" in _totalFriends && _totalFriends.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncDelegate`1[FrooxEngine.WorldItemAction]", name: "PressAction", id: typeof PressAction === "object" && "id" in PressAction ? PressAction === null || PressAction === void 0 ? void 0 : PressAction.id : undefined, value: typeof PressAction === "object" && "value" in PressAction ? PressAction === null || PressAction === void 0 ? void 0 : PressAction.value : PressAction, isRaw: typeof PressAction === "object" && "isRaw" in PressAction && PressAction.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RawGraphic]", name: "_thumbnailGraphic", id: typeof _thumbnailGraphic === "object" && "id" in _thumbnailGraphic ? _thumbnailGraphic === null || _thumbnailGraphic === void 0 ? void 0 : _thumbnailGraphic.id : undefined, value: typeof _thumbnailGraphic === "object" && "value" in _thumbnailGraphic ? _thumbnailGraphic === null || _thumbnailGraphic === void 0 ? void 0 : _thumbnailGraphic.value : _thumbnailGraphic, isRaw: typeof _thumbnailGraphic === "object" && "isRaw" in _thumbnailGraphic && _thumbnailGraphic.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.StaticTexture2D]", name: "_thumbnailTexture", id: typeof _thumbnailTexture === "object" && "id" in _thumbnailTexture ? _thumbnailTexture === null || _thumbnailTexture === void 0 ? void 0 : _thumbnailTexture.id : undefined, value: typeof _thumbnailTexture === "object" && "value" in _thumbnailTexture ? _thumbnailTexture === null || _thumbnailTexture === void 0 ? void 0 : _thumbnailTexture.value : _thumbnailTexture, isRaw: typeof _thumbnailTexture === "object" && "isRaw" in _thumbnailTexture && _thumbnailTexture.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RectTransform]", name: "_nameRoot", id: typeof _nameRoot === "object" && "id" in _nameRoot ? _nameRoot === null || _nameRoot === void 0 ? void 0 : _nameRoot.id : undefined, value: typeof _nameRoot === "object" && "value" in _nameRoot ? _nameRoot === null || _nameRoot === void 0 ? void 0 : _nameRoot.value : _nameRoot, isRaw: typeof _nameRoot === "object" && "isRaw" in _nameRoot && _nameRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RectTransform]", name: "_detailRoot", id: typeof _detailRoot === "object" && "id" in _detailRoot ? _detailRoot === null || _detailRoot === void 0 ? void 0 : _detailRoot.id : undefined, value: typeof _detailRoot === "object" && "value" in _detailRoot ? _detailRoot === null || _detailRoot === void 0 ? void 0 : _detailRoot.value : _detailRoot, isRaw: typeof _detailRoot === "object" && "isRaw" in _detailRoot && _detailRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RectTransform]", name: "_visitedRoot", id: typeof _visitedRoot === "object" && "id" in _visitedRoot ? _visitedRoot === null || _visitedRoot === void 0 ? void 0 : _visitedRoot.id : undefined, value: typeof _visitedRoot === "object" && "value" in _visitedRoot ? _visitedRoot === null || _visitedRoot === void 0 ? void 0 : _visitedRoot.value : _visitedRoot, isRaw: typeof _visitedRoot === "object" && "isRaw" in _visitedRoot && _visitedRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RectTransform]", name: "_counterRoot", id: typeof _counterRoot === "object" && "id" in _counterRoot ? _counterRoot === null || _counterRoot === void 0 ? void 0 : _counterRoot.id : undefined, value: typeof _counterRoot === "object" && "value" in _counterRoot ? _counterRoot === null || _counterRoot === void 0 ? void 0 : _counterRoot.value : _counterRoot, isRaw: typeof _counterRoot === "object" && "isRaw" in _counterRoot && _counterRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RectTransform]", name: "_iconsRoot", id: typeof _iconsRoot === "object" && "id" in _iconsRoot ? _iconsRoot === null || _iconsRoot === void 0 ? void 0 : _iconsRoot.id : undefined, value: typeof _iconsRoot === "object" && "value" in _iconsRoot ? _iconsRoot === null || _iconsRoot === void 0 ? void 0 : _iconsRoot.value : _iconsRoot, isRaw: typeof _iconsRoot === "object" && "isRaw" in _iconsRoot && _iconsRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RectTransform]", name: "_closeButton", id: typeof _closeButton === "object" && "id" in _closeButton ? _closeButton === null || _closeButton === void 0 ? void 0 : _closeButton.id : undefined, value: typeof _closeButton === "object" && "value" in _closeButton ? _closeButton === null || _closeButton === void 0 ? void 0 : _closeButton.value : _closeButton, isRaw: typeof _closeButton === "object" && "isRaw" in _closeButton && _closeButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_nameText", id: typeof _nameText === "object" && "id" in _nameText ? _nameText === null || _nameText === void 0 ? void 0 : _nameText.id : undefined, value: typeof _nameText === "object" && "value" in _nameText ? _nameText === null || _nameText === void 0 ? void 0 : _nameText.value : _nameText, isRaw: typeof _nameText === "object" && "isRaw" in _nameText && _nameText.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_detailText", id: typeof _detailText === "object" && "id" in _detailText ? _detailText === null || _detailText === void 0 ? void 0 : _detailText.id : undefined, value: typeof _detailText === "object" && "value" in _detailText ? _detailText === null || _detailText === void 0 ? void 0 : _detailText.value : _detailText, isRaw: typeof _detailText === "object" && "isRaw" in _detailText && _detailText.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_counterText", id: typeof _counterText === "object" && "id" in _counterText ? _counterText === null || _counterText === void 0 ? void 0 : _counterText.id : undefined, value: typeof _counterText === "object" && "value" in _counterText ? _counterText === null || _counterText === void 0 ? void 0 : _counterText.value : _counterText, isRaw: typeof _counterText === "object" && "isRaw" in _counterText && _counterText.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Image]", name: "_borderOverlay", id: typeof _borderOverlay === "object" && "id" in _borderOverlay ? _borderOverlay === null || _borderOverlay === void 0 ? void 0 : _borderOverlay.id : undefined, value: typeof _borderOverlay === "object" && "value" in _borderOverlay ? _borderOverlay === null || _borderOverlay === void 0 ? void 0 : _borderOverlay.value : _borderOverlay, isRaw: typeof _borderOverlay === "object" && "isRaw" in _borderOverlay && _borderOverlay.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "_borderColor", id: typeof _borderColor === "object" && "id" in _borderColor ? _borderColor === null || _borderColor === void 0 ? void 0 : _borderColor.id : undefined, value: typeof _borderColor === "object" && "value" in _borderColor ? _borderColor === null || _borderColor === void 0 ? void 0 : _borderColor.value : _borderColor, isRaw: typeof _borderColor === "object" && "isRaw" in _borderColor && _borderColor.isRaw ? true : undefined })] }))); } exports.WorldThumbnailItem = WorldThumbnailItem; ;