UNPKG

neos-script

Version:

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

23 lines (22 loc) 7.36 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.RecordSyncStatus = void 0; var jsx_runtime_1 = require("neos-script/jsx-runtime"); var core_1 = require("../../../core"); function RecordSyncStatus(props) { var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, RecordQueueCount = props.RecordQueueCount, AssetVariantQueueCount = props.AssetVariantQueueCount, CurrentTaskProgress = props.CurrentTaskProgress, LastError = props.LastError, StatusMessage = props.StatusMessage, FullySyncedColor = props.FullySyncedColor, ErrorColor = props.ErrorColor, SyncingRecordsColor = props.SyncingRecordsColor, UploadingAssetVariantsColor = props.UploadingAssetVariantsColor; return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.RecordSyncStatus", 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.RawOutput`1[System.Int32]", name: "RecordQueueCount", id: typeof RecordQueueCount === "object" && "id" in RecordQueueCount ? RecordQueueCount === null || RecordQueueCount === void 0 ? void 0 : RecordQueueCount.id : undefined, value: typeof RecordQueueCount === "object" && "value" in RecordQueueCount ? RecordQueueCount === null || RecordQueueCount === void 0 ? void 0 : RecordQueueCount.value : RecordQueueCount, isRaw: typeof RecordQueueCount === "object" && "isRaw" in RecordQueueCount && RecordQueueCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Int32]", name: "AssetVariantQueueCount", id: typeof AssetVariantQueueCount === "object" && "id" in AssetVariantQueueCount ? AssetVariantQueueCount === null || AssetVariantQueueCount === void 0 ? void 0 : AssetVariantQueueCount.id : undefined, value: typeof AssetVariantQueueCount === "object" && "value" in AssetVariantQueueCount ? AssetVariantQueueCount === null || AssetVariantQueueCount === void 0 ? void 0 : AssetVariantQueueCount.value : AssetVariantQueueCount, isRaw: typeof AssetVariantQueueCount === "object" && "isRaw" in AssetVariantQueueCount && AssetVariantQueueCount.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.Single]", name: "CurrentTaskProgress", id: typeof CurrentTaskProgress === "object" && "id" in CurrentTaskProgress ? CurrentTaskProgress === null || CurrentTaskProgress === void 0 ? void 0 : CurrentTaskProgress.id : undefined, value: typeof CurrentTaskProgress === "object" && "value" in CurrentTaskProgress ? CurrentTaskProgress === null || CurrentTaskProgress === void 0 ? void 0 : CurrentTaskProgress.value : CurrentTaskProgress, isRaw: typeof CurrentTaskProgress === "object" && "isRaw" in CurrentTaskProgress && CurrentTaskProgress.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "LastError", id: typeof LastError === "object" && "id" in LastError ? LastError === null || LastError === void 0 ? void 0 : LastError.id : undefined, value: typeof LastError === "object" && "value" in LastError ? LastError === null || LastError === void 0 ? void 0 : LastError.value : LastError, isRaw: typeof LastError === "object" && "isRaw" in LastError && LastError.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.RawOutput`1[System.String]", name: "StatusMessage", id: typeof StatusMessage === "object" && "id" in StatusMessage ? StatusMessage === null || StatusMessage === void 0 ? void 0 : StatusMessage.id : undefined, value: typeof StatusMessage === "object" && "value" in StatusMessage ? StatusMessage === null || StatusMessage === void 0 ? void 0 : StatusMessage.value : StatusMessage, isRaw: typeof StatusMessage === "object" && "isRaw" in StatusMessage && StatusMessage.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "FullySyncedColor", id: typeof FullySyncedColor === "object" && "id" in FullySyncedColor ? FullySyncedColor === null || FullySyncedColor === void 0 ? void 0 : FullySyncedColor.id : undefined, value: typeof FullySyncedColor === "object" && "value" in FullySyncedColor ? FullySyncedColor === null || FullySyncedColor === void 0 ? void 0 : FullySyncedColor.value : FullySyncedColor, isRaw: typeof FullySyncedColor === "object" && "isRaw" in FullySyncedColor && FullySyncedColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "ErrorColor", id: typeof ErrorColor === "object" && "id" in ErrorColor ? ErrorColor === null || ErrorColor === void 0 ? void 0 : ErrorColor.id : undefined, value: typeof ErrorColor === "object" && "value" in ErrorColor ? ErrorColor === null || ErrorColor === void 0 ? void 0 : ErrorColor.value : ErrorColor, isRaw: typeof ErrorColor === "object" && "isRaw" in ErrorColor && ErrorColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "SyncingRecordsColor", id: typeof SyncingRecordsColor === "object" && "id" in SyncingRecordsColor ? SyncingRecordsColor === null || SyncingRecordsColor === void 0 ? void 0 : SyncingRecordsColor.id : undefined, value: typeof SyncingRecordsColor === "object" && "value" in SyncingRecordsColor ? SyncingRecordsColor === null || SyncingRecordsColor === void 0 ? void 0 : SyncingRecordsColor.value : SyncingRecordsColor, isRaw: typeof SyncingRecordsColor === "object" && "isRaw" in SyncingRecordsColor && SyncingRecordsColor.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[BaseX.color]", name: "UploadingAssetVariantsColor", id: typeof UploadingAssetVariantsColor === "object" && "id" in UploadingAssetVariantsColor ? UploadingAssetVariantsColor === null || UploadingAssetVariantsColor === void 0 ? void 0 : UploadingAssetVariantsColor.id : undefined, value: typeof UploadingAssetVariantsColor === "object" && "value" in UploadingAssetVariantsColor ? UploadingAssetVariantsColor === null || UploadingAssetVariantsColor === void 0 ? void 0 : UploadingAssetVariantsColor.value : UploadingAssetVariantsColor, isRaw: typeof UploadingAssetVariantsColor === "object" && "isRaw" in UploadingAssetVariantsColor && UploadingAssetVariantsColor.isRaw ? true : undefined })] }))); } exports.RecordSyncStatus = RecordSyncStatus; ;