n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.78 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.16.1`}}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]=`4fa6fec4-6277-463d-bc35-110e73abb293`,e._sentryDebugIdIdentifier=`sentry-dbid-4fa6fec4-6277-463d-bc35-110e73abb293`)})()}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-C3C09Zii.js";import{at as l}from"./core-Bz5WjPxS.js";import{Zi as u}from"./src-XqE2yCpG.js";import{t as d}from"./_plugin-vue_export-helper-CIL7EULb.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-DkzLiY3j.js.map