n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 5.51 kB
JavaScript
!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","./dataTable.store-legacy-CvwqAgvm.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","./communityNodes.store-legacy-FzflxT4z.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","./ContactAdministratorToInstall-legacy-D-4RoJ1v.js","./useQuickConnect-legacy-Joyt3P8m.js","./semver-legacy-CCqi4WLs.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","./useFreeAiCredits-legacy-CEp4XoS_.js","./NodeSettings-legacy-BiSl-jI5.js","./CommunityNodeUpdateInfo-legacy-CKc-nhzm.js","./KeyboardShortcutTooltip-legacy-B39T1G4_.js","./vue-legacy-BRu5yuNI.js","./WorkflowDiffView-legacy-DLT1P9fl.js","./useCanvasMapping-legacy-BRPGYoU9.js","./useKeybindings-legacy-PJ9pRJzI.js","./useNodeCreatorShortcutCoachmark-legacy-CYIB-Ysu.js","./useActions-legacy-BnKsuRcU.js","./chatHubPanel.store-legacy-CNIu4UHq.js"],(function(e,n){var t,o,a,c,s,i,l,u,f,r,y,d,g,j,w,p;return{setters:[function(e){t=e.$,o=e.C,a=e.E,c=e.Ft,s=e.N,i=e.Sn,l=e.Wt,u=e.X,f=e.Z,r=e._n,y=e.w},function(e){d=e.bt},function(e){},function(e){g=e.t},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){j=e.r},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){},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){w=e.t},function(e){},function(e){},function(e){},function(e){},function(e){}],execute:function(){(p=document.createElement("style")).textContent="._demoDiffView_t8kr6_125{flex-direction:column;width:100%;height:100%;display:flex}._waitingState_t8kr6_132{height:100%;color:var(--color--text--tint-1);justify-content:center;align-items:center;display:flex}\n/*$vite$:1*/",document.head.appendChild(p);try{n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(m=(new n.Error).stack)&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[m]="0c2d8bc2-5b28-4737-800d-36a7389ad2af",n._sentryDebugIdIdentifier="sentry-dbid-0c2d8bc2-5b28-4737-800d-36a7389ad2af")}catch(n){}var n,m;e("default",g(s({__name:"DemoDiffView",setup(e){const s=j(),g=d(),p=c(void 0),m=c(void 0),b=c(!1);function v(e){return null==e||"object"==typeof e&&"nodes"in e&&"connections"in e}async function h(e){if(e&&"string"==typeof e.data&&e.data?.includes?.('"command"'))try{const n=JSON.parse(e.data);if(n&&"openDiff"===n.command){if(!v(n.oldWorkflow)||!v(n.newWorkflow))return;p.value=n.oldWorkflow??void 0,m.value=n.newWorkflow??void 0,b.value=!0===n.tidyUp}}catch(n){}}return u((()=>{window.addEventListener("message",h),window.parent&&window.parent.postMessage(JSON.stringify({command:"n8nReady",version:s.versionCli}),"*")})),f((()=>{window.removeEventListener("message",h)})),(e,n)=>(t(),a("div",{class:r(e.$style.demoDiffView)},[p.value||m.value?(t(),y(w,{key:0,"source-workflow":p.value,"target-workflow":m.value,"source-label":l(g).baseText("workflowDiff.label.before"),"target-label":l(g).baseText("workflowDiff.label.after"),"tidy-up":b.value},null,8,["source-workflow","target-workflow","source-label","target-label","tidy-up"])):(t(),a("div",{key:1,class:r(e.$style.waitingState)},[o("p",null,i(l(g).baseText("workflowDiff.waitingForData")),1)],2))],2))}}),[["__cssModules",{$style:{demoDiffView:"_demoDiffView_t8kr6_125",waitingState:"_waitingState_t8kr6_132"}}]]))}}}));
//# sourceMappingURL=DemoDiffView-legacy-C3s77ofM.js.map