import { appendRootNodeStyle as e } from "../internal/utils/dom.js";
import { useStyles as t } from "../internal/styles/index.js";
import { ControlGroup as n } from "../forms/control-group/control-group2.js";
import r from "./input-group.global.js";
import i from "./input-group.js";
//#region src/input/input-group.ts
var a = class extends n {
	static {
		this.styles = t([...n.styles, i]);
	}
	static {
		this.metadata = {
			tag: "nve-input-group",
			version: "2.0.2"
		};
	}
	async connectedCallback() {
		e(this, r), super.connectedCallback(), await this.updateComplete;
		let t = Array.from(this.shadowRoot.querySelector("slot:not([name])").assignedElements());
		t[0]?.setAttribute("first-control", ""), t[t.length - 1]?.setAttribute("last-control", "");
	}
};
//#endregion
export { a as InputGroup };

//# sourceMappingURL=input-group2.js.map