import resizeCorner from "@ui5/webcomponents-icons/dist/resize-corner.js"; import type Dialog from "./Dialog.js"; import PopupTemplate from "./PopupTemplate.js"; import Title from "./Title.js"; import Icon from "./Icon.js"; import Button from "./Button.js"; export default function DialogTemplate(this: Dialog) { return PopupTemplate.call(this, { beforeContent, afterContent, }); } function beforeContent(this: Dialog) { return (<> {!!this._displayHeader &&
{this.hasValueState && } {this.header.length ? : {this.headerText} } {this._showFullscreenButton && }
} ); } function afterContent(this: Dialog) { return (<> {!!this.footer.length && } {this._showResizeHandle &&
} {this._movable && <> {this.ariaDescribedByHandlerText && } {this.dialogAriaDescribedByText && } } ); }