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"; 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.resizable ? this.draggable ? : : this.draggable && }
} ); } function afterContent(this: Dialog) { return (<> {!!this.footer.length && } {this._showResizeHandle &&
} ); }