neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 12 kB
JavaScript
;
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.FriendsDialog = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function FriendsDialog(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _searchBar = props._searchBar, _listRoot = props._listRoot, _sessionsRoot = props._sessionsRoot, _messagesRoot = props._messagesRoot, _status = props._status, _avatar = props._avatar, _username = props._username, _userActionsRoot = props._userActionsRoot, _sendMessageButton = props._sendMessageButton, _sendVoiceMessageButton = props._sendVoiceMessageButton, _sendMessageTextField = props._sendMessageTextField, _messagesScrollRect = props._messagesScrollRect, _inviteButton = props._inviteButton, _sendCreditsButton = props._sendCreditsButton, _giftStorageButton = props._giftStorageButton, _banAllButton = props._banAllButton, _banSessionButton = props._banSessionButton;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.FriendsDialog", 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.TextField]", name: "_searchBar", id: typeof _searchBar === "object" && "id" in _searchBar ? _searchBar === null || _searchBar === void 0 ? void 0 : _searchBar.id : undefined, value: typeof _searchBar === "object" && "value" in _searchBar ? _searchBar === null || _searchBar === void 0 ? void 0 : _searchBar.value : _searchBar, isRaw: typeof _searchBar === "object" && "isRaw" in _searchBar && _searchBar.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_listRoot", id: typeof _listRoot === "object" && "id" in _listRoot ? _listRoot === null || _listRoot === void 0 ? void 0 : _listRoot.id : undefined, value: typeof _listRoot === "object" && "value" in _listRoot ? _listRoot === null || _listRoot === void 0 ? void 0 : _listRoot.value : _listRoot, isRaw: typeof _listRoot === "object" && "isRaw" in _listRoot && _listRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_sessionsRoot", id: typeof _sessionsRoot === "object" && "id" in _sessionsRoot ? _sessionsRoot === null || _sessionsRoot === void 0 ? void 0 : _sessionsRoot.id : undefined, value: typeof _sessionsRoot === "object" && "value" in _sessionsRoot ? _sessionsRoot === null || _sessionsRoot === void 0 ? void 0 : _sessionsRoot.value : _sessionsRoot, isRaw: typeof _sessionsRoot === "object" && "isRaw" in _sessionsRoot && _sessionsRoot.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.Image]", name: "_status", id: typeof _status === "object" && "id" in _status ? _status === null || _status === void 0 ? void 0 : _status.id : undefined, value: typeof _status === "object" && "value" in _status ? _status === null || _status === void 0 ? void 0 : _status.value : _status, isRaw: typeof _status === "object" && "isRaw" in _status && _status.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Image]", name: "_avatar", id: typeof _avatar === "object" && "id" in _avatar ? _avatar === null || _avatar === void 0 ? void 0 : _avatar.id : undefined, value: typeof _avatar === "object" && "value" in _avatar ? _avatar === null || _avatar === void 0 ? void 0 : _avatar.value : _avatar, isRaw: typeof _avatar === "object" && "isRaw" in _avatar && _avatar.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_username", id: typeof _username === "object" && "id" in _username ? _username === null || _username === void 0 ? void 0 : _username.id : undefined, value: typeof _username === "object" && "value" in _username ? _username === null || _username === void 0 ? void 0 : _username.value : _username, isRaw: typeof _username === "object" && "isRaw" in _username && _username.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "_userActionsRoot", id: typeof _userActionsRoot === "object" && "id" in _userActionsRoot ? _userActionsRoot === null || _userActionsRoot === void 0 ? void 0 : _userActionsRoot.id : undefined, value: typeof _userActionsRoot === "object" && "value" in _userActionsRoot ? _userActionsRoot === null || _userActionsRoot === void 0 ? void 0 : _userActionsRoot.value : _userActionsRoot, isRaw: typeof _userActionsRoot === "object" && "isRaw" in _userActionsRoot && _userActionsRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_sendMessageButton", id: typeof _sendMessageButton === "object" && "id" in _sendMessageButton ? _sendMessageButton === null || _sendMessageButton === void 0 ? void 0 : _sendMessageButton.id : undefined, value: typeof _sendMessageButton === "object" && "value" in _sendMessageButton ? _sendMessageButton === null || _sendMessageButton === void 0 ? void 0 : _sendMessageButton.value : _sendMessageButton, isRaw: typeof _sendMessageButton === "object" && "isRaw" in _sendMessageButton && _sendMessageButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_sendVoiceMessageButton", id: typeof _sendVoiceMessageButton === "object" && "id" in _sendVoiceMessageButton ? _sendVoiceMessageButton === null || _sendVoiceMessageButton === void 0 ? void 0 : _sendVoiceMessageButton.id : undefined, value: typeof _sendVoiceMessageButton === "object" && "value" in _sendVoiceMessageButton ? _sendVoiceMessageButton === null || _sendVoiceMessageButton === void 0 ? void 0 : _sendVoiceMessageButton.value : _sendVoiceMessageButton, isRaw: typeof _sendVoiceMessageButton === "object" && "isRaw" in _sendVoiceMessageButton && _sendVoiceMessageButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_sendMessageTextField", id: typeof _sendMessageTextField === "object" && "id" in _sendMessageTextField ? _sendMessageTextField === null || _sendMessageTextField === void 0 ? void 0 : _sendMessageTextField.id : undefined, value: typeof _sendMessageTextField === "object" && "value" in _sendMessageTextField ? _sendMessageTextField === null || _sendMessageTextField === void 0 ? void 0 : _sendMessageTextField.value : _sendMessageTextField, isRaw: typeof _sendMessageTextField === "object" && "isRaw" in _sendMessageTextField && _sendMessageTextField.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.Button]", name: "_inviteButton", id: typeof _inviteButton === "object" && "id" in _inviteButton ? _inviteButton === null || _inviteButton === void 0 ? void 0 : _inviteButton.id : undefined, value: typeof _inviteButton === "object" && "value" in _inviteButton ? _inviteButton === null || _inviteButton === void 0 ? void 0 : _inviteButton.value : _inviteButton, isRaw: typeof _inviteButton === "object" && "isRaw" in _inviteButton && _inviteButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_sendCreditsButton", id: typeof _sendCreditsButton === "object" && "id" in _sendCreditsButton ? _sendCreditsButton === null || _sendCreditsButton === void 0 ? void 0 : _sendCreditsButton.id : undefined, value: typeof _sendCreditsButton === "object" && "value" in _sendCreditsButton ? _sendCreditsButton === null || _sendCreditsButton === void 0 ? void 0 : _sendCreditsButton.value : _sendCreditsButton, isRaw: typeof _sendCreditsButton === "object" && "isRaw" in _sendCreditsButton && _sendCreditsButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_giftStorageButton", id: typeof _giftStorageButton === "object" && "id" in _giftStorageButton ? _giftStorageButton === null || _giftStorageButton === void 0 ? void 0 : _giftStorageButton.id : undefined, value: typeof _giftStorageButton === "object" && "value" in _giftStorageButton ? _giftStorageButton === null || _giftStorageButton === void 0 ? void 0 : _giftStorageButton.value : _giftStorageButton, isRaw: typeof _giftStorageButton === "object" && "isRaw" in _giftStorageButton && _giftStorageButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_banAllButton", id: typeof _banAllButton === "object" && "id" in _banAllButton ? _banAllButton === null || _banAllButton === void 0 ? void 0 : _banAllButton.id : undefined, value: typeof _banAllButton === "object" && "value" in _banAllButton ? _banAllButton === null || _banAllButton === void 0 ? void 0 : _banAllButton.value : _banAllButton, isRaw: typeof _banAllButton === "object" && "isRaw" in _banAllButton && _banAllButton.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Button]", name: "_banSessionButton", id: typeof _banSessionButton === "object" && "id" in _banSessionButton ? _banSessionButton === null || _banSessionButton === void 0 ? void 0 : _banSessionButton.id : undefined, value: typeof _banSessionButton === "object" && "value" in _banSessionButton ? _banSessionButton === null || _banSessionButton === void 0 ? void 0 : _banSessionButton.value : _banSessionButton, isRaw: typeof _banSessionButton === "object" && "isRaw" in _banSessionButton && _banSessionButton.isRaw ? true : undefined })] })));
}
exports.FriendsDialog = FriendsDialog;
;