neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.82 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.RecordEditForm = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function RecordEditForm(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _worldOrb = props._worldOrb, _name = props._name, _description = props._description, _path = props._path, _tags = props._tags, _publicSetting = props._publicSetting, _ownerUser = props._ownerUser, _privateOptionText = props._privateOptionText;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.RecordEditForm", 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.WorldOrb]", name: "_worldOrb", id: typeof _worldOrb === "object" && "id" in _worldOrb ? _worldOrb === null || _worldOrb === void 0 ? void 0 : _worldOrb.id : undefined, value: typeof _worldOrb === "object" && "value" in _worldOrb ? _worldOrb === null || _worldOrb === void 0 ? void 0 : _worldOrb.value : _worldOrb, isRaw: typeof _worldOrb === "object" && "isRaw" in _worldOrb && _worldOrb.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_name", id: typeof _name === "object" && "id" in _name ? _name === null || _name === void 0 ? void 0 : _name.id : undefined, value: typeof _name === "object" && "value" in _name ? _name === null || _name === void 0 ? void 0 : _name.value : _name, isRaw: typeof _name === "object" && "isRaw" in _name && _name.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_description", id: typeof _description === "object" && "id" in _description ? _description === null || _description === void 0 ? void 0 : _description.id : undefined, value: typeof _description === "object" && "value" in _description ? _description === null || _description === void 0 ? void 0 : _description.value : _description, isRaw: typeof _description === "object" && "isRaw" in _description && _description.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_path", id: typeof _path === "object" && "id" in _path ? _path === null || _path === void 0 ? void 0 : _path.id : undefined, value: typeof _path === "object" && "value" in _path ? _path === null || _path === void 0 ? void 0 : _path.value : _path, isRaw: typeof _path === "object" && "isRaw" in _path && _path.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.TextField]", name: "_tags", id: typeof _tags === "object" && "id" in _tags ? _tags === null || _tags === void 0 ? void 0 : _tags.id : undefined, value: typeof _tags === "object" && "value" in _tags ? _tags === null || _tags === void 0 ? void 0 : _tags.value : _tags, isRaw: typeof _tags === "object" && "isRaw" in _tags && _tags.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.RecordEditForm+PublicSetting]", name: "_publicSetting", id: typeof _publicSetting === "object" && "id" in _publicSetting ? _publicSetting === null || _publicSetting === void 0 ? void 0 : _publicSetting.id : undefined, value: typeof _publicSetting === "object" && "value" in _publicSetting ? _publicSetting === null || _publicSetting === void 0 ? void 0 : _publicSetting.value : _publicSetting, isRaw: typeof _publicSetting === "object" && "isRaw" in _publicSetting && _publicSetting.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.UserRef", name: "_ownerUser", id: typeof _ownerUser === "object" && "id" in _ownerUser ? _ownerUser === null || _ownerUser === void 0 ? void 0 : _ownerUser.id : undefined, value: typeof _ownerUser === "object" && "value" in _ownerUser ? _ownerUser === null || _ownerUser === void 0 ? void 0 : _ownerUser.value : _ownerUser, isRaw: typeof _ownerUser === "object" && "isRaw" in _ownerUser && _ownerUser.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.UIX.Text]", name: "_privateOptionText", id: typeof _privateOptionText === "object" && "id" in _privateOptionText ? _privateOptionText === null || _privateOptionText === void 0 ? void 0 : _privateOptionText.id : undefined, value: typeof _privateOptionText === "object" && "value" in _privateOptionText ? _privateOptionText === null || _privateOptionText === void 0 ? void 0 : _privateOptionText.value : _privateOptionText, isRaw: typeof _privateOptionText === "object" && "isRaw" in _privateOptionText && _privateOptionText.isRaw ? true : undefined })] })));
}
exports.RecordEditForm = RecordEditForm;
;