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.ConstructDateTime = void 0;
var jsx_runtime_1 = require("neos-script/jsx-runtime");
var core_1 = require("../../../../core");
function ConstructDateTime(props) {
var id = props.id, persistentId = props.persistentId, updateOrder = props.updateOrder, Enabled = props.Enabled, _activeVisual = props._activeVisual, Year = props.Year, Month = props.Month, Day = props.Day, Hour = props.Hour, Minute = props.Minute, Second = props.Second, Millisecond = props.Millisecond, Kind = props.Kind;
return ((0, jsx_runtime_1.jsxs)(core_1.Component, __assign({ type: "FrooxEngine.LogiX.Math.Time.ConstructDateTime", 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.CleanupRef`1[FrooxEngine.Slot]", name: "_activeVisual", id: typeof _activeVisual === "object" && "id" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.id : undefined, value: typeof _activeVisual === "object" && "value" in _activeVisual ? _activeVisual === null || _activeVisual === void 0 ? void 0 : _activeVisual.value : _activeVisual, isRaw: typeof _activeVisual === "object" && "isRaw" in _activeVisual && _activeVisual.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Int32]", name: "Year", id: typeof Year === "object" && "id" in Year ? Year === null || Year === void 0 ? void 0 : Year.id : undefined, value: typeof Year === "object" && "value" in Year ? Year === null || Year === void 0 ? void 0 : Year.value : Year, isRaw: typeof Year === "object" && "isRaw" in Year && Year.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Int32]", name: "Month", id: typeof Month === "object" && "id" in Month ? Month === null || Month === void 0 ? void 0 : Month.id : undefined, value: typeof Month === "object" && "value" in Month ? Month === null || Month === void 0 ? void 0 : Month.value : Month, isRaw: typeof Month === "object" && "isRaw" in Month && Month.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Int32]", name: "Day", id: typeof Day === "object" && "id" in Day ? Day === null || Day === void 0 ? void 0 : Day.id : undefined, value: typeof Day === "object" && "value" in Day ? Day === null || Day === void 0 ? void 0 : Day.value : Day, isRaw: typeof Day === "object" && "isRaw" in Day && Day.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Int32]", name: "Hour", id: typeof Hour === "object" && "id" in Hour ? Hour === null || Hour === void 0 ? void 0 : Hour.id : undefined, value: typeof Hour === "object" && "value" in Hour ? Hour === null || Hour === void 0 ? void 0 : Hour.value : Hour, isRaw: typeof Hour === "object" && "isRaw" in Hour && Hour.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Int32]", name: "Minute", id: typeof Minute === "object" && "id" in Minute ? Minute === null || Minute === void 0 ? void 0 : Minute.id : undefined, value: typeof Minute === "object" && "value" in Minute ? Minute === null || Minute === void 0 ? void 0 : Minute.value : Minute, isRaw: typeof Minute === "object" && "isRaw" in Minute && Minute.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Int32]", name: "Second", id: typeof Second === "object" && "id" in Second ? Second === null || Second === void 0 ? void 0 : Second.id : undefined, value: typeof Second === "object" && "value" in Second ? Second === null || Second === void 0 ? void 0 : Second.value : Second, isRaw: typeof Second === "object" && "isRaw" in Second && Second.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.Int32]", name: "Millisecond", id: typeof Millisecond === "object" && "id" in Millisecond ? Millisecond === null || Millisecond === void 0 ? void 0 : Millisecond.id : undefined, value: typeof Millisecond === "object" && "value" in Millisecond ? Millisecond === null || Millisecond === void 0 ? void 0 : Millisecond.value : Millisecond, isRaw: typeof Millisecond === "object" && "isRaw" in Millisecond && Millisecond.isRaw ? true : undefined }), (0, jsx_runtime_1.jsx)(core_1.Member, { type: "FrooxEngine.LogiX.Input`1[System.DateTimeKind]", name: "Kind", id: typeof Kind === "object" && "id" in Kind ? Kind === null || Kind === void 0 ? void 0 : Kind.id : undefined, value: typeof Kind === "object" && "value" in Kind ? Kind === null || Kind === void 0 ? void 0 : Kind.value : Kind, isRaw: typeof Kind === "object" && "isRaw" in Kind && Kind.isRaw ? true : undefined })] })));
}
exports.ConstructDateTime = ConstructDateTime;
;