n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.79 kB
JavaScript
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`n8n@2.13.4`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`a9740f37-cebb-49ef-900a-f82e310fe8fe`,e._sentryDebugIdIdentifier=`sentry-dbid-a9740f37-cebb-49ef-900a-f82e310fe8fe`)})()}catch{}import{$ as e,C as t,E as n,N as r,Sn as i,T as a,Wt as o,_n as s,j as c}from"./vue.runtime.esm-bundler-D9KLAxvJ.js";import{bt as l}from"./_MapCache-CUJwh2qp.js";import{Qi as u}from"./src-wni2AGA3.js";import{t as d}from"./_plugin-vue_export-helper-Dm3nT7Ps.js";var f=d(r({__name:`SelectedItemsInfo`,props:{selectedCount:{}},emits:[`deleteSelected`,`clearSelection`],setup(r,{emit:d}){let f=r,p=d,m=l(),h=()=>m.baseText(`generic.list.selected`,{adjustToNumber:f.selectedCount,interpolate:{count:`${f.selectedCount}`}}),g=()=>m.baseText(`generic.list.clearSelection`),_=()=>{p(`deleteSelected`)},v=()=>{p(`clearSelection`)};return(l,d)=>r.selectedCount>0?(e(),n(`div`,{key:0,class:s(l.$style.selectionOptions),"data-test-id":`selected-items-info`},[t(`span`,null,i(h()),1),c(o(u),{variant:`subtle`,"data-test-id":`delete-selected-button`,label:o(m).baseText(`generic.delete`),class:s(l.$style.button),onClick:_},null,8,[`label`,`class`]),c(o(u),{variant:`subtle`,"data-test-id":`clear-selection-button`,label:g(),class:s(l.$style.button),onClick:v},null,8,[`label`,`class`])],2)):a(``,!0)}}),[[`__cssModules`,{$style:{selectionOptions:`_selectionOptions_udl3r_125`,button:`_button_udl3r_141`}}]]);export{f as t};
//# sourceMappingURL=SelectedItemsInfo-BMwkG_bF.js.map