UNPKG

neos-script

Version:

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

23 lines (22 loc) 9 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.RadiantSearchBar = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function RadiantSearchBar(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, SearchTerm = props.SearchTerm, IsSearching = props.IsSearching, SearchAnimTileSpeed = props.SearchAnimTileSpeed, SearchAnimColor = props.SearchAnimColor, _textField = props._textField, _searchText = props._searchText, _defaultText = props._defaultText, _searchingVisual = props._searchingVisual, _cancelButton = props._cancelButton, _defaultVisible = props._defaultVisible, _searchingAnimationColor = props._searchingAnimationColor, _searchingTextureOffset = props._searchingTextureOffset; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.RadiantSearchBar", 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.Sync`1[System.String]", name: "SearchTerm", id: typeof SearchTerm === "object" && "id" in SearchTerm ? SearchTerm === null || SearchTerm === void 0 ? void 0 : SearchTerm.id : undefined, value: typeof SearchTerm === "object" && "value" in SearchTerm ? SearchTerm === null || SearchTerm === void 0 ? void 0 : SearchTerm.value : SearchTerm, isRaw: typeof SearchTerm === "object" && "isRaw" in SearchTerm && SearchTerm.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "IsSearching", id: typeof IsSearching === "object" && "id" in IsSearching ? IsSearching === null || IsSearching === void 0 ? void 0 : IsSearching.id : undefined, value: typeof IsSearching === "object" && "value" in IsSearching ? IsSearching === null || IsSearching === void 0 ? void 0 : IsSearching.value : IsSearching, isRaw: typeof IsSearching === "object" && "isRaw" in IsSearching && IsSearching.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "SearchAnimTileSpeed", id: typeof SearchAnimTileSpeed === "object" && "id" in SearchAnimTileSpeed ? SearchAnimTileSpeed === null || SearchAnimTileSpeed === void 0 ? void 0 : SearchAnimTileSpeed.id : undefined, value: typeof SearchAnimTileSpeed === "object" && "value" in SearchAnimTileSpeed ? SearchAnimTileSpeed === null || SearchAnimTileSpeed === void 0 ? void 0 : SearchAnimTileSpeed.value : SearchAnimTileSpeed, isRaw: typeof SearchAnimTileSpeed === "object" && "isRaw" in SearchAnimTileSpeed && SearchAnimTileSpeed.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "SearchAnimColor", id: typeof SearchAnimColor === "object" && "id" in SearchAnimColor ? SearchAnimColor === null || SearchAnimColor === void 0 ? void 0 : SearchAnimColor.id : undefined, value: typeof SearchAnimColor === "object" && "value" in SearchAnimColor ? SearchAnimColor === null || SearchAnimColor === void 0 ? void 0 : SearchAnimColor.value : SearchAnimColor, isRaw: typeof SearchAnimColor === "object" && "isRaw" in SearchAnimColor && SearchAnimColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_textField", id: typeof _textField === "object" && "id" in _textField ? _textField === null || _textField === void 0 ? void 0 : _textField.id : undefined, value: typeof _textField === "object" && "value" in _textField ? _textField === null || _textField === void 0 ? void 0 : _textField.value : _textField, isRaw: typeof _textField === "object" && "isRaw" in _textField && _textField.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RelayRef`1[FrooxEngine.UIX.Text]", name: "_searchText", id: typeof _searchText === "object" && "id" in _searchText ? _searchText === null || _searchText === void 0 ? void 0 : _searchText.id : undefined, value: typeof _searchText === "object" && "value" in _searchText ? _searchText === null || _searchText === void 0 ? void 0 : _searchText.value : _searchText, isRaw: typeof _searchText === "object" && "isRaw" in _searchText && _searchText.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_defaultText", id: typeof _defaultText === "object" && "id" in _defaultText ? _defaultText === null || _defaultText === void 0 ? void 0 : _defaultText.id : undefined, value: typeof _defaultText === "object" && "value" in _defaultText ? _defaultText === null || _defaultText === void 0 ? void 0 : _defaultText.value : _defaultText, isRaw: typeof _defaultText === "object" && "isRaw" in _defaultText && _defaultText.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TiledRawImage]", name: "_searchingVisual", id: typeof _searchingVisual === "object" && "id" in _searchingVisual ? _searchingVisual === null || _searchingVisual === void 0 ? void 0 : _searchingVisual.id : undefined, value: typeof _searchingVisual === "object" && "value" in _searchingVisual ? _searchingVisual === null || _searchingVisual === void 0 ? void 0 : _searchingVisual.value : _searchingVisual, isRaw: typeof _searchingVisual === "object" && "isRaw" in _searchingVisual && _searchingVisual.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.FieldDrive`1[System.Boolean]", name: "_defaultVisible", id: typeof _defaultVisible === "object" && "id" in _defaultVisible ? _defaultVisible === null || _defaultVisible === void 0 ? void 0 : _defaultVisible.id : undefined, value: typeof _defaultVisible === "object" && "value" in _defaultVisible ? _defaultVisible === null || _defaultVisible === void 0 ? void 0 : _defaultVisible.value : _defaultVisible, isRaw: typeof _defaultVisible === "object" && "isRaw" in _defaultVisible && _defaultVisible.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.color]", name: "_searchingAnimationColor", id: typeof _searchingAnimationColor === "object" && "id" in _searchingAnimationColor ? _searchingAnimationColor === null || _searchingAnimationColor === void 0 ? void 0 : _searchingAnimationColor.id : undefined, value: typeof _searchingAnimationColor === "object" && "value" in _searchingAnimationColor ? _searchingAnimationColor === null || _searchingAnimationColor === void 0 ? void 0 : _searchingAnimationColor.value : _searchingAnimationColor, isRaw: typeof _searchingAnimationColor === "object" && "isRaw" in _searchingAnimationColor && _searchingAnimationColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float2]", name: "_searchingTextureOffset", id: typeof _searchingTextureOffset === "object" && "id" in _searchingTextureOffset ? _searchingTextureOffset === null || _searchingTextureOffset === void 0 ? void 0 : _searchingTextureOffset.id : undefined, value: typeof _searchingTextureOffset === "object" && "value" in _searchingTextureOffset ? _searchingTextureOffset === null || _searchingTextureOffset === void 0 ? void 0 : _searchingTextureOffset.value : _searchingTextureOffset, isRaw: typeof _searchingTextureOffset === "object" && "isRaw" in _searchingTextureOffset && _searchingTextureOffset.isRaw ? true : undefined })] }))); } exports.RadiantSearchBar = RadiantSearchBar; ;