neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 4.8 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.ArcLayout = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../core");
function ArcLayout(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Arc = props.Arc, Offset = props.Offset, Separation = props.Separation, CenterAtSeparation = props.CenterAtSeparation, ProportionalSize = props.ProportionalSize, ItemDirection = props.ItemDirection;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.UIX.ArcLayout", 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: "Arc", id: typeof Arc === "object" && "id" in Arc ? Arc === null || Arc === void 0 ? void 0 : Arc.id : undefined, value: typeof Arc === "object" && "value" in Arc ? Arc === null || Arc === void 0 ? void 0 : Arc.value : Arc, isRaw: typeof Arc === "object" && "isRaw" in Arc && Arc.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Offset", id: typeof Offset === "object" && "id" in Offset ? Offset === null || Offset === void 0 ? void 0 : Offset.id : undefined, value: typeof Offset === "object" && "value" in Offset ? Offset === null || Offset === void 0 ? void 0 : Offset.value : Offset, isRaw: typeof Offset === "object" && "isRaw" in Offset && Offset.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Single]", name: "Separation", id: typeof Separation === "object" && "id" in Separation ? Separation === null || Separation === void 0 ? void 0 : Separation.id : undefined, value: typeof Separation === "object" && "value" in Separation ? Separation === null || Separation === void 0 ? void 0 : Separation.value : Separation, isRaw: typeof Separation === "object" && "isRaw" in Separation && Separation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "CenterAtSeparation", id: typeof CenterAtSeparation === "object" && "id" in CenterAtSeparation ? CenterAtSeparation === null || CenterAtSeparation === void 0 ? void 0 : CenterAtSeparation.id : undefined, value: typeof CenterAtSeparation === "object" && "value" in CenterAtSeparation ? CenterAtSeparation === null || CenterAtSeparation === void 0 ? void 0 : CenterAtSeparation.value : CenterAtSeparation, isRaw: typeof CenterAtSeparation === "object" && "isRaw" in CenterAtSeparation && CenterAtSeparation.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.Boolean]", name: "ProportionalSize", id: typeof ProportionalSize === "object" && "id" in ProportionalSize ? ProportionalSize === null || ProportionalSize === void 0 ? void 0 : ProportionalSize.id : undefined, value: typeof ProportionalSize === "object" && "value" in ProportionalSize ? ProportionalSize === null || ProportionalSize === void 0 ? void 0 : ProportionalSize.value : ProportionalSize, isRaw: typeof ProportionalSize === "object" && "isRaw" in ProportionalSize && ProportionalSize.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[FrooxEngine.UIX.ArcLayout+Direction]", name: "ItemDirection", id: typeof ItemDirection === "object" && "id" in ItemDirection ? ItemDirection === null || ItemDirection === void 0 ? void 0 : ItemDirection.id : undefined, value: typeof ItemDirection === "object" && "value" in ItemDirection ? ItemDirection === null || ItemDirection === void 0 ? void 0 : ItemDirection.value : ItemDirection, isRaw: typeof ItemDirection === "object" && "isRaw" in ItemDirection && ItemDirection.isRaw ? true : undefined })] })));
}
exports.ArcLayout = ArcLayout;
;