neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 7.77 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.NewWorldDialog = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function NewWorldDialog(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _worldName = props._worldName, _mobileFriendly = props._mobileFriendly, _unsafeMode = props._unsafeMode, _autoPort = props._autoPort, _port = props._port, _accessLevel = props._accessLevel, CustomStart = props.CustomStart, _presetIndex = props._presetIndex, _uiBuilt = props._uiBuilt, _accessLevelRadios = props._accessLevelRadios, _initialized = props._initialized;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.NewWorldDialog", 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: "_worldName", id: typeof _worldName === "object" && "id" in _worldName ? _worldName === null || _worldName === void 0 ? void 0 : _worldName.id : undefined, value: typeof _worldName === "object" && "value" in _worldName ? _worldName === null || _worldName === void 0 ? void 0 : _worldName.value : _worldName, isRaw: typeof _worldName === "object" && "isRaw" in _worldName && _worldName.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "_mobileFriendly", id: typeof _mobileFriendly === "object" && "id" in _mobileFriendly ? _mobileFriendly === null || _mobileFriendly === void 0 ? void 0 : _mobileFriendly.id : undefined, value: typeof _mobileFriendly === "object" && "value" in _mobileFriendly ? _mobileFriendly === null || _mobileFriendly === void 0 ? void 0 : _mobileFriendly.value : _mobileFriendly, isRaw: typeof _mobileFriendly === "object" && "isRaw" in _mobileFriendly && _mobileFriendly.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "_unsafeMode", id: typeof _unsafeMode === "object" && "id" in _unsafeMode ? _unsafeMode === null || _unsafeMode === void 0 ? void 0 : _unsafeMode.id : undefined, value: typeof _unsafeMode === "object" && "value" in _unsafeMode ? _unsafeMode === null || _unsafeMode === void 0 ? void 0 : _unsafeMode.value : _unsafeMode, isRaw: typeof _unsafeMode === "object" && "isRaw" in _unsafeMode && _unsafeMode.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Checkbox]", name: "_autoPort", id: typeof _autoPort === "object" && "id" in _autoPort ? _autoPort === null || _autoPort === void 0 ? void 0 : _autoPort.id : undefined, value: typeof _autoPort === "object" && "value" in _autoPort ? _autoPort === null || _autoPort === void 0 ? void 0 : _autoPort.value : _autoPort, isRaw: typeof _autoPort === "object" && "isRaw" in _autoPort && _autoPort.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_port", id: typeof _port === "object" && "id" in _port ? _port === null || _port === void 0 ? void 0 : _port.id : undefined, value: typeof _port === "object" && "value" in _port ? _port === null || _port === void 0 ? void 0 : _port.value : _port, isRaw: typeof _port === "object" && "isRaw" in _port && _port.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[CloudX.Shared.SessionAccessLevel]", name: "_accessLevel", id: typeof _accessLevel === "object" && "id" in _accessLevel ? _accessLevel === null || _accessLevel === void 0 ? void 0 : _accessLevel.id : undefined, value: typeof _accessLevel === "object" && "value" in _accessLevel ? _accessLevel === null || _accessLevel === void 0 ? void 0 : _accessLevel.value : _accessLevel, isRaw: typeof _accessLevel === "object" && "isRaw" in _accessLevel && _accessLevel.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncDelegate`1[System.Action`1[FrooxEngine.NewWorldDialog]]", name: "CustomStart", id: typeof CustomStart === "object" && "id" in CustomStart ? CustomStart === null || CustomStart === void 0 ? void 0 : CustomStart.id : undefined, value: typeof CustomStart === "object" && "value" in CustomStart ? CustomStart === null || CustomStart === void 0 ? void 0 : CustomStart.value : CustomStart, isRaw: typeof CustomStart === "object" && "isRaw" in CustomStart && CustomStart.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Int32]", name: "_presetIndex", id: typeof _presetIndex === "object" && "id" in _presetIndex ? _presetIndex === null || _presetIndex === void 0 ? void 0 : _presetIndex.id : undefined, value: typeof _presetIndex === "object" && "value" in _presetIndex ? _presetIndex === null || _presetIndex === void 0 ? void 0 : _presetIndex.value : _presetIndex, isRaw: typeof _presetIndex === "object" && "isRaw" in _presetIndex && _presetIndex.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_uiBuilt", id: typeof _uiBuilt === "object" && "id" in _uiBuilt ? _uiBuilt === null || _uiBuilt === void 0 ? void 0 : _uiBuilt.id : undefined, value: typeof _uiBuilt === "object" && "value" in _uiBuilt ? _uiBuilt === null || _uiBuilt === void 0 ? void 0 : _uiBuilt.value : _uiBuilt, isRaw: typeof _uiBuilt === "object" && "isRaw" in _uiBuilt && _uiBuilt.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRefList`1[FrooxEngine.UIX.ValueRadio`1[CloudX.Shared.SessionAccessLevel]]", name: "_accessLevelRadios", id: typeof _accessLevelRadios === "object" && "id" in _accessLevelRadios ? _accessLevelRadios === null || _accessLevelRadios === void 0 ? void 0 : _accessLevelRadios.id : undefined, value: typeof _accessLevelRadios === "object" && "value" in _accessLevelRadios ? _accessLevelRadios === null || _accessLevelRadios === void 0 ? void 0 : _accessLevelRadios.value : _accessLevelRadios, isRaw: typeof _accessLevelRadios === "object" && "isRaw" in _accessLevelRadios && _accessLevelRadios.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "_initialized", id: typeof _initialized === "object" && "id" in _initialized ? _initialized === null || _initialized === void 0 ? void 0 : _initialized.id : undefined, value: typeof _initialized === "object" && "value" in _initialized ? _initialized === null || _initialized === void 0 ? void 0 : _initialized.value : _initialized, isRaw: typeof _initialized === "object" && "isRaw" in _initialized && _initialized.isRaw ? true : undefined })] })));
}
exports.NewWorldDialog = NewWorldDialog;
;