import { NodeGroupTypeEnums } from "../enums/unitySystemEnums.mjs";
import { v4 } from "uuid";
//#region src/models/GroupNode.ts
var GroupNode = class {
	constructor(node) {
		this.id = node.id || v4();
		this.isGroupNode = true;
		this.hideEmptyGroups = node.hideEmptyGroups || false;
		this.groupType = node.groupType || NodeGroupTypeEnums.Static;
		this.children = node.children || [];
		this.isExpanded = node.isExpanded || false;
		this.parentId = node.parentId || null;
		this.parentGroupId = node.parentGroupId || null;
		this.properties = node.properties ? {
			propertyMapping: null,
			jsonLogic: null,
			icon: {
				name: "GroupedListIcon",
				type: "",
				color: ""
			},
			...node.properties
		} : {
			propertyMapping: null,
			jsonLogic: null,
			icon: {
				name: "GroupedListIcon",
				type: "",
				color: ""
			}
		};
		this.isOutlierGroup = node.isOutlierGroup || false;
	}
};
//#endregion
export { GroupNode as default };

//# sourceMappingURL=GroupNode.mjs.map