| void;
abortController: AbortController;
}) => {
const readonly = model.page.readonly;
return html`
downloadAttachment(model)}"
>
${DownloadIcon}
{
const prop: { flavour: 'affine:attachment' } & AttachmentBlockProps =
{
flavour: 'affine:attachment',
...cloneAttachmentProperties(model),
};
model.page.addSiblingBlocks(model, [prop]);
}}"
>
${DuplicateIcon}
{
model.page.deleteBlock(model);
abortController.abort();
}}"
>
${DeleteIcon}
`;
};