import { audit as e } from "../internal/controllers/audit.controller.js";
import { attachInternals as t } from "../internal/utils/a11y.js";
import { TypeNativePopoverController as n } from "../internal/controllers/type-native-popover.controller.js";
import { useStyles as r } from "../internal/styles/index.js";
import { popoverStyles as i } from "../internal/styles/popover2.js";
import { __decorate as a } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
import o from "./tooltip.js";
import { LitElement as s, html as c } from "lit";
import { property as l } from "lit/decorators/property.js";
import { query as u } from "lit/decorators/query.js";
//#region src/tooltip/tooltip.ts
var d = class extends s {
	constructor(...e) {
		super(...e), this.position = "top", this.popoverType = "hint", this.typeNativePopoverController = new n(this);
	}
	static {
		this.styles = r([i, o]);
	}
	static {
		this.metadata = {
			tag: "nve-tooltip",
			version: "2.0.2"
		};
	}
	render() {
		return c`<div internal-host><slot></slot></div><div part="arrow" class="arrow"></div>`;
	}
	connectedCallback() {
		super.connectedCallback(), t(this), this._internals.role = "tooltip";
	}
};
a([l({ type: String })], d.prototype, "anchor", void 0), a([l({ type: String })], d.prototype, "trigger", void 0), a([l({
	type: String,
	reflect: !0
})], d.prototype, "position", void 0), a([l({
	type: String,
	reflect: !0
})], d.prototype, "alignment", void 0), a([l({
	type: Boolean,
	reflect: !0,
	attribute: "behavior-trigger"
})], d.prototype, "behaviorTrigger", void 0), a([l({
	type: String,
	reflect: !0
})], d.prototype, "status", void 0), a([l({
	type: Number,
	attribute: "open-delay"
})], d.prototype, "openDelay", void 0), a([u(".arrow")], d.prototype, "popoverArrow", void 0), d = a([e({ excessiveInstanceLimit: 50 })], d);
//#endregion
export { d as Tooltip };

//# sourceMappingURL=tooltip2.js.map