UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 5.59 kB
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.13.4"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-IafOlCW8.js","./_MapCache-legacy-DwgdC8YO.js","./src-legacy-Dwzr7bD0.js","./_plugin-vue_export-helper-legacy-DEZAmQqp.js","./sanitize-html-legacy-ChR3ikxn.js","./date-picker-legacy-uAA3gY1d.js","./users.store-legacy-OKuN0qAC.js","./ParameterInputList-legacy-D5sySi2K.js","./constants-legacy-DNCca_FT.js","./merge-legacy-uu1aGqHK.js","./_baseOrderBy-legacy-PsQY_Pvh.js","./dateformat-legacy-BxdD_OP7.js","./useDebounce-legacy-CT3oYGrC.js","./Modal-legacy-D-vb8tRz.js","./useClipboard-legacy-D5bRgqfO.js","./executions.store-legacy-z6ytCHo9.js","./assistant.store-legacy-kpq6KUPM.js","./chatPanel.store-legacy-BXT37O-E.js","./RunData-legacy-5Sfz7IzF.js","./NDVEmptyState-legacy-CfqV96iU.js","./externalSecrets.ee.store-legacy-C6uyA9v4.js","./uniqBy-legacy-DmwIYJPs.js","./usePinnedData-legacy-CxgKkO-J.js","./nodeIcon-legacy-CU0X8703.js","./canvas.utils-legacy-BYFKir1g.js","./canvas.eventBus-legacy-DA8zEJ09.js","./useCanvasOperations-legacy-DHjpE9Af.js","./setupPanel.store-legacy-D5xiJOzj.js","./nodeTransforms-legacy-CEnqyD1g.js","./templateTransforms-legacy-bPWknje4.js","./useQuickConnect-legacy-Joyt3P8m.js","./CredentialIcon-legacy-W6FyX5zO.js","./useDynamicCredentials-legacy-DYuGI0-p.js","./RunDataHtml-legacy-DYuZnk8K.js","./Draggable-legacy-1VY-jpKk.js","./NodeIcon-legacy-B4uktMo3.js","./VirtualSchema-legacy-j9JfcIEe.js","./useCalloutHelpers-legacy-vHYCBchw.js","./useTelemetryContext-legacy-DP-NcoCt.js","./useRunWorkflow-legacy-D--lDsti.js","./pushConnection.store-legacy-CdZe0qqo.js","./vue-json-pretty-legacy-C9tMykq1.js","./collaboration.store-legacy-Cbihou7P.js","./dateFormatter-legacy-CmupnmDm.js","./useExecutionHelpers-legacy-L8nz8vaT.js","./vue-legacy-BRu5yuNI.js","./ToolSettingsContent-legacy-BgE-G100.js"],(function(e,n){var t,a,o,s,c,l,i,u,d,f,r,g,y,p,j,_,m,h,v,b,x;return{setters:[function(e){t=e.$,a=e.A,o=e.C,s=e.Ft,c=e.N,l=e.Sn,i=e.T,u=e.Wt,d=e._n,f=e.j,r=e.w,g=e.yt},function(e){y=e.bt},function(e){p=e.Qi,j=e.h},function(e){_=e.t},function(e){},function(e){},function(e){m=e.r},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){h=e.t},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){v=e.t},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){b=e.t}],execute:function(){(x=document.createElement("style")).textContent="._header_148s1_125{gap:var(--spacing--2xs);align-items:center;min-width:0;display:flex}._icon_148s1_132{flex-grow:0;flex-shrink:0}._title_148s1_137{font-size:var(--font-size--md);font-weight:var(--font-weight--regular);line-height:var(--line-height--lg);color:var(--color--text--shade-1);flex:1;min-width:0}._footer_148s1_146{justify-content:flex-end;gap:var(--spacing--2xs);display:flex}._contentWrapper_148s1_152{max-height:80vh;margin-right:calc(-1*var(--spacing--lg));padding:var(--spacing--md)0;flex-direction:column;display:flex;overflow:hidden}._contentWrapper_148s1_152 .ndv-connection-hint-notice{display:none}\n/*$vite$:1*/",document.head.appendChild(x);try{n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(w=(new n.Error).stack)&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[w]="8d1f92b7-c236-486f-8c4f-dcf2d74c2897",n._sentryDebugIdIdentifier="sentry-dbid-8d1f92b7-c236-486f-8c4f-dcf2d74c2897")}catch(n){}var n,w;e("default",_(c({__name:"ToolSettingsModal",props:{modalName:{},data:{}},setup(e){const n=e,c=y(),_=m(),x=s(null),w=s(!1),C=s(n.data.node?.name??"");function T(){_.closeModal(n.modalName)}function D(){const e=x.value?.node;e&&(n.data.onConfirm(e),T())}function N(){T()}function S(e){x.value?.handleChangeName(e)}function k(e){w.value=e}function I(e){C.value=e}return(n,s)=>e.data.node?(t(),r(h,{key:0,name:e.modalName,width:"780px"},{header:g((()=>[o("div",{class:d(n.$style.header)},[x.value?.nodeTypeDescription?(t(),r(v,{key:0,"node-type":x.value.nodeTypeDescription,size:24,circle:!0,class:d(n.$style.icon)},null,8,["node-type","class"])):i("",!0),f(u(j),{"model-value":C.value,"max-width":400,class:d(n.$style.title),"onUpdate:modelValue":S},null,8,["model-value","class"])],2)])),content:g((()=>[o("div",{class:d(n.$style.contentWrapper)},[f(b,{ref_key:"contentRef",ref:x,"initial-node":e.data.node,"existing-tool-names":e.data.existingToolNames,"onUpdate:valid":k,"onUpdate:nodeName":I},null,8,["initial-node","existing-tool-names"])],2)])),footer:g((()=>[o("div",{class:d(n.$style.footer)},[f(u(p),{variant:"subtle",onClick:N},{default:g((()=>[a(l(u(c).baseText("chatHub.toolSettings.cancel")),1)])),_:1}),f(u(p),{variant:"solid",disabled:!w.value,onClick:D},{default:g((()=>[a(l(u(c).baseText("chatHub.toolSettings.confirm")),1)])),_:1},8,["disabled"])],2)])),_:1},8,["name"])):i("",!0)}}),[["__cssModules",{$style:{header:"_header_148s1_125",icon:"_icon_148s1_132",title:"_title_148s1_137",footer:"_footer_148s1_146",contentWrapper:"_contentWrapper_148s1_152"}}]]))}}})); //# sourceMappingURL=ToolSettingsModal-legacy-Bqcp5zX1.js.map