import { LitElementWw } from '@webwriter/lit' import { TemplateResult, html } from 'lit' import { customElement, property } from 'lit/decorators.js' import SlDialog from "@shoelace-style/shoelace/dist/components/dialog/dialog.component.js" import SlButton from "@shoelace-style/shoelace/dist/components/button/button.component.js" export class CConfirmDialog extends LitElementWw { static scopedElements = { "sl-dialog": SlDialog, "sl-button": SlButton } @property({ type: String }) accessor label: string = 'Please confirm this action!' // METHODS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - confirm() {} abort() {} // RENDER - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - render(): TemplateResult<1> { return html` Abort Confirm ` } }