import{u as n}from"./useBulkAction-UV8yZtrd.js";import{u as a}from"./useEditorMode-DvyB-mon.js";import{b as u}from"./dvrToolbarHelpers-C5M0Cokf.js";function f(e){const t=a({createBase:e.createBase,editList:e.editList,createList:e.createList}),i=n({endpoint:"idnode/delete",confirmText:`Do you really want to delete the selected ${e.entityNoun}?`,confirmSeverity:"danger",failPrefix:"Failed to delete"});function o(d,r){return u({selection:d,clearSelection:r,remove:i,onAdd:t.openCreate,onEdit:t.openEditor,addTooltip:e.addTooltip})}return{...t,buildActions:o}}export{f as u};
