{#if show}
{ show = false; }} >
{ e.stopPropagation(); }} >
{#if title !== ''} {title} {:else} {$i18n.t('Confirm your action')} {/if}
{#if message !== ''} {message} {:else} {$i18n.t('This action cannot be undone. Do you wish to continue?')} {/if} {#if input}
{/if}
{ show = false; dispatch('cancel'); }} type="button" > {cancelLabel}
{ show = false; dispatch('confirm', inputValue); }} type="button" > {confirmLabel}
{/if}