neos-script
Version:
[neos-script-sample](https://github.com/rheniumNV/neos-script-sample)
23 lines (22 loc) • 5.13 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.TextExpandIndicator = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../core");
function TextExpandIndicator(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, Text = props.Text, SectionRoot = props.SectionRoot, ChildrenRoot = props.ChildrenRoot, Closed = props.Closed, Opened = props.Opened, Empty = props.Empty, CustomEmptyCheck = props.CustomEmptyCheck;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.UIX.TextExpandIndicator", 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.FieldDrive`1[System.String]", name: "Text", id: typeof Text === "object" && "id" in Text ? Text === null || Text === void 0 ? void 0 : Text.id : undefined, value: typeof Text === "object" && "value" in Text ? Text === null || Text === void 0 ? void 0 : Text.value : Text, isRaw: typeof Text === "object" && "isRaw" in Text && Text.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "SectionRoot", id: typeof SectionRoot === "object" && "id" in SectionRoot ? SectionRoot === null || SectionRoot === void 0 ? void 0 : SectionRoot.id : undefined, value: typeof SectionRoot === "object" && "value" in SectionRoot ? SectionRoot === null || SectionRoot === void 0 ? void 0 : SectionRoot.value : SectionRoot, isRaw: typeof SectionRoot === "object" && "isRaw" in SectionRoot && SectionRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncRef`1[FrooxEngine.Slot]", name: "ChildrenRoot", id: typeof ChildrenRoot === "object" && "id" in ChildrenRoot ? ChildrenRoot === null || ChildrenRoot === void 0 ? void 0 : ChildrenRoot.id : undefined, value: typeof ChildrenRoot === "object" && "value" in ChildrenRoot ? ChildrenRoot === null || ChildrenRoot === void 0 ? void 0 : ChildrenRoot.value : ChildrenRoot, isRaw: typeof ChildrenRoot === "object" && "isRaw" in ChildrenRoot && ChildrenRoot.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "Closed", id: typeof Closed === "object" && "id" in Closed ? Closed === null || Closed === void 0 ? void 0 : Closed.id : undefined, value: typeof Closed === "object" && "value" in Closed ? Closed === null || Closed === void 0 ? void 0 : Closed.value : Closed, isRaw: typeof Closed === "object" && "isRaw" in Closed && Closed.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "Opened", id: typeof Opened === "object" && "id" in Opened ? Opened === null || Opened === void 0 ? void 0 : Opened.id : undefined, value: typeof Opened === "object" && "value" in Opened ? Opened === null || Opened === void 0 ? void 0 : Opened.value : Opened, isRaw: typeof Opened === "object" && "isRaw" in Opened && Opened.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.Sync`1[System.String]", name: "Empty", id: typeof Empty === "object" && "id" in Empty ? Empty === null || Empty === void 0 ? void 0 : Empty.id : undefined, value: typeof Empty === "object" && "value" in Empty ? Empty === null || Empty === void 0 ? void 0 : Empty.value : Empty, isRaw: typeof Empty === "object" && "isRaw" in Empty && Empty.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.SyncDelegate`1[System.Func`1[System.Boolean]]", name: "CustomEmptyCheck", id: typeof CustomEmptyCheck === "object" && "id" in CustomEmptyCheck ? CustomEmptyCheck === null || CustomEmptyCheck === void 0 ? void 0 : CustomEmptyCheck.id : undefined, value: typeof CustomEmptyCheck === "object" && "value" in CustomEmptyCheck ? CustomEmptyCheck === null || CustomEmptyCheck === void 0 ? void 0 : CustomEmptyCheck.value : CustomEmptyCheck, isRaw: typeof CustomEmptyCheck === "object" && "isRaw" in CustomEmptyCheck && CustomEmptyCheck.isRaw ? true : undefined })] })));
}
exports.TextExpandIndicator = TextExpandIndicator;
;