import { audit as e } from "../../internal/controllers/audit.controller.js";
import { I18nController as t } from "../../internal/controllers/i18n.controller.js";
import { appendRootNodeStyle as n } from "../../internal/utils/dom.js";
import { attachInternals as r } from "../../internal/utils/a11y.js";
import { TypeExpandableController as i } from "../../internal/controllers/type-expandable.controller.js";
import { useStyles as a } from "../../internal/styles/index.js";
import { __decorate as o } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
import s from "./page-panel.js";
import c from "./page-panel.global.js";
import { LitElement as l, html as u } from "lit";
import { property as d } from "lit/decorators/property.js";
//#region src/page/page-panel/page-panel.ts
var f = class extends l {
	#e;
	static {
		this.styles = a([s]);
	}
	static {
		this.metadata = {
			tag: "nve-page-panel",
			version: "2.0.2",
			parents: ["nve-page"]
		};
	}
	constructor() {
		super(), this.#e = new t(this), this.i18n = this.#e.i18n, new i(this, { useHidden: !0 });
	}
	render() {
		return u`<div internal-host><div part="_header"><slot name="header"></slot><slot name="actions"></slot></div><div class="content"><slot></slot></div><div><slot name="footer"></slot></div></div>`;
	}
	connectedCallback() {
		super.connectedCallback(), r(this), n(this, c), this._internals.role = "region";
	}
};
o([d({
	type: String,
	reflect: !0
})], f.prototype, "size", void 0), o([d({ type: Object })], f.prototype, "i18n", void 0), f = o([e()], f);
//#endregion
export { f as PagePanel };

//# sourceMappingURL=page-panel2.js.map