UNPKG

neos-script

Version:

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

23 lines (22 loc) 12.3 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.RadiantModalOverlay = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function RadiantModalOverlay(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, ShowLerp = props.ShowLerp, AnimationTime = props.AnimationTime, SizeRoot = props.SizeRoot, ContentRoot = props.ContentRoot, CloseOnContextMenuAction = props.CloseOnContextMenuAction, BlurSpread = props.BlurSpread, BackgroundColor = props.BackgroundColor, ContentAnimationScaleOffset = props.ContentAnimationScaleOffset, Padding = props.Padding, _blur = props._blur, _blurGraphic = props._blurGraphic, _blurSpread = props._blurSpread, _backgroundColor = props._backgroundColor, _maskRect = props._maskRect, _overlayAnchorMin = props._overlayAnchorMin, _overlayAnchorMax = props._overlayAnchorMax, _contentOffsetMin = props._contentOffsetMin, _contentOffsetMax = props._contentOffsetMax; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.RadiantModalOverlay", 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.Single]", name: "ShowLerp", id: typeof ShowLerp === "object" && "id" in ShowLerp ? ShowLerp === null || ShowLerp === void 0 ? void 0 : ShowLerp.id : undefined, value: typeof ShowLerp === "object" && "value" in ShowLerp ? ShowLerp === null || ShowLerp === void 0 ? void 0 : ShowLerp.value : ShowLerp, isRaw: typeof ShowLerp === "object" && "isRaw" in ShowLerp && ShowLerp.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "AnimationTime", id: typeof AnimationTime === "object" && "id" in AnimationTime ? AnimationTime === null || AnimationTime === void 0 ? void 0 : AnimationTime.id : undefined, value: typeof AnimationTime === "object" && "value" in AnimationTime ? AnimationTime === null || AnimationTime === void 0 ? void 0 : AnimationTime.value : AnimationTime, isRaw: typeof AnimationTime === "object" && "isRaw" in AnimationTime && AnimationTime.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RectTransform]", name: "SizeRoot", id: typeof SizeRoot === "object" && "id" in SizeRoot ? SizeRoot === null || SizeRoot === void 0 ? void 0 : SizeRoot.id : undefined, value: typeof SizeRoot === "object" && "value" in SizeRoot ? SizeRoot === null || SizeRoot === void 0 ? void 0 : SizeRoot.value : SizeRoot, isRaw: typeof SizeRoot === "object" && "isRaw" in SizeRoot && SizeRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RectTransform]", name: "ContentRoot", id: typeof ContentRoot === "object" && "id" in ContentRoot ? ContentRoot === null || ContentRoot === void 0 ? void 0 : ContentRoot.id : undefined, value: typeof ContentRoot === "object" && "value" in ContentRoot ? ContentRoot === null || ContentRoot === void 0 ? void 0 : ContentRoot.value : ContentRoot, isRaw: typeof ContentRoot === "object" && "isRaw" in ContentRoot && ContentRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "CloseOnContextMenuAction", id: typeof CloseOnContextMenuAction === "object" && "id" in CloseOnContextMenuAction ? CloseOnContextMenuAction === null || CloseOnContextMenuAction === void 0 ? void 0 : CloseOnContextMenuAction.id : undefined, value: typeof CloseOnContextMenuAction === "object" && "value" in CloseOnContextMenuAction ? CloseOnContextMenuAction === null || CloseOnContextMenuAction === void 0 ? void 0 : CloseOnContextMenuAction.value : CloseOnContextMenuAction, isRaw: typeof CloseOnContextMenuAction === "object" && "isRaw" in CloseOnContextMenuAction && CloseOnContextMenuAction.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "BlurSpread", id: typeof BlurSpread === "object" && "id" in BlurSpread ? BlurSpread === null || BlurSpread === void 0 ? void 0 : BlurSpread.id : undefined, value: typeof BlurSpread === "object" && "value" in BlurSpread ? BlurSpread === null || BlurSpread === void 0 ? void 0 : BlurSpread.value : BlurSpread, isRaw: typeof BlurSpread === "object" && "isRaw" in BlurSpread && BlurSpread.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "BackgroundColor", id: typeof BackgroundColor === "object" && "id" in BackgroundColor ? BackgroundColor === null || BackgroundColor === void 0 ? void 0 : BackgroundColor.id : undefined, value: typeof BackgroundColor === "object" && "value" in BackgroundColor ? BackgroundColor === null || BackgroundColor === void 0 ? void 0 : BackgroundColor.value : BackgroundColor, isRaw: typeof BackgroundColor === "object" && "isRaw" in BackgroundColor && BackgroundColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "ContentAnimationScaleOffset", id: typeof ContentAnimationScaleOffset === "object" && "id" in ContentAnimationScaleOffset ? ContentAnimationScaleOffset === null || ContentAnimationScaleOffset === void 0 ? void 0 : ContentAnimationScaleOffset.id : undefined, value: typeof ContentAnimationScaleOffset === "object" && "value" in ContentAnimationScaleOffset ? ContentAnimationScaleOffset === null || ContentAnimationScaleOffset === void 0 ? void 0 : ContentAnimationScaleOffset.value : ContentAnimationScaleOffset, isRaw: typeof ContentAnimationScaleOffset === "object" && "isRaw" in ContentAnimationScaleOffset && ContentAnimationScaleOffset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Padding", id: typeof Padding === "object" && "id" in Padding ? Padding === null || Padding === void 0 ? void 0 : Padding.id : undefined, value: typeof Padding === "object" && "value" in Padding ? Padding === null || Padding === void 0 ? void 0 : Padding.value : Padding, isRaw: typeof Padding === "object" && "isRaw" in Padding && Padding.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.BlurMaterial]", name: "_blur", id: typeof _blur === "object" && "id" in _blur ? _blur === null || _blur === void 0 ? void 0 : _blur.id : undefined, value: typeof _blur === "object" && "value" in _blur ? _blur === null || _blur === void 0 ? void 0 : _blur.value : _blur, isRaw: typeof _blur === "object" && "isRaw" in _blur && _blur.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.RawGraphic]", name: "_blurGraphic", id: typeof _blurGraphic === "object" && "id" in _blurGraphic ? _blurGraphic === null || _blurGraphic === void 0 ? void 0 : _blurGraphic.id : undefined, value: typeof _blurGraphic === "object" && "value" in _blurGraphic ? _blurGraphic === null || _blurGraphic === void 0 ? void 0 : _blurGraphic.value : _blurGraphic, isRaw: typeof _blurGraphic === "object" && "isRaw" in _blurGraphic && _blurGraphic.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float2]", name: "_blurSpread", id: typeof _blurSpread === "object" && "id" in _blurSpread ? _blurSpread === null || _blurSpread === void 0 ? void 0 : _blurSpread.id : undefined, value: typeof _blurSpread === "object" && "value" in _blurSpread ? _blurSpread === null || _blurSpread === void 0 ? void 0 : _blurSpread.value : _blurSpread, isRaw: typeof _blurSpread === "object" && "isRaw" in _blurSpread && _blurSpread.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.color]", name: "_backgroundColor", id: typeof _backgroundColor === "object" && "id" in _backgroundColor ? _backgroundColor === null || _backgroundColor === void 0 ? void 0 : _backgroundColor.id : undefined, value: typeof _backgroundColor === "object" && "value" in _backgroundColor ? _backgroundColor === null || _backgroundColor === void 0 ? void 0 : _backgroundColor.value : _backgroundColor, isRaw: typeof _backgroundColor === "object" && "isRaw" in _backgroundColor && _backgroundColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.Rect]", name: "_maskRect", id: typeof _maskRect === "object" && "id" in _maskRect ? _maskRect === null || _maskRect === void 0 ? void 0 : _maskRect.id : undefined, value: typeof _maskRect === "object" && "value" in _maskRect ? _maskRect === null || _maskRect === void 0 ? void 0 : _maskRect.value : _maskRect, isRaw: typeof _maskRect === "object" && "isRaw" in _maskRect && _maskRect.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float2]", name: "_overlayAnchorMin", id: typeof _overlayAnchorMin === "object" && "id" in _overlayAnchorMin ? _overlayAnchorMin === null || _overlayAnchorMin === void 0 ? void 0 : _overlayAnchorMin.id : undefined, value: typeof _overlayAnchorMin === "object" && "value" in _overlayAnchorMin ? _overlayAnchorMin === null || _overlayAnchorMin === void 0 ? void 0 : _overlayAnchorMin.value : _overlayAnchorMin, isRaw: typeof _overlayAnchorMin === "object" && "isRaw" in _overlayAnchorMin && _overlayAnchorMin.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float2]", name: "_overlayAnchorMax", id: typeof _overlayAnchorMax === "object" && "id" in _overlayAnchorMax ? _overlayAnchorMax === null || _overlayAnchorMax === void 0 ? void 0 : _overlayAnchorMax.id : undefined, value: typeof _overlayAnchorMax === "object" && "value" in _overlayAnchorMax ? _overlayAnchorMax === null || _overlayAnchorMax === void 0 ? void 0 : _overlayAnchorMax.value : _overlayAnchorMax, isRaw: typeof _overlayAnchorMax === "object" && "isRaw" in _overlayAnchorMax && _overlayAnchorMax.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float2]", name: "_contentOffsetMin", id: typeof _contentOffsetMin === "object" && "id" in _contentOffsetMin ? _contentOffsetMin === null || _contentOffsetMin === void 0 ? void 0 : _contentOffsetMin.id : undefined, value: typeof _contentOffsetMin === "object" && "value" in _contentOffsetMin ? _contentOffsetMin === null || _contentOffsetMin === void 0 ? void 0 : _contentOffsetMin.value : _contentOffsetMin, isRaw: typeof _contentOffsetMin === "object" && "isRaw" in _contentOffsetMin && _contentOffsetMin.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.FieldDrive`1[BaseX.float2]", name: "_contentOffsetMax", id: typeof _contentOffsetMax === "object" && "id" in _contentOffsetMax ? _contentOffsetMax === null || _contentOffsetMax === void 0 ? void 0 : _contentOffsetMax.id : undefined, value: typeof _contentOffsetMax === "object" && "value" in _contentOffsetMax ? _contentOffsetMax === null || _contentOffsetMax === void 0 ? void 0 : _contentOffsetMax.value : _contentOffsetMax, isRaw: typeof _contentOffsetMax === "object" && "isRaw" in _contentOffsetMax && _contentOffsetMax.isRaw ? true : undefined })] }))); } exports.RadiantModalOverlay = RadiantModalOverlay; ;