Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade Mermaid + BPMN #1838

Merged
merged 1 commit into from
Feb 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bpmn/assets/bpmn-viewer.production.min.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
import{X as s,ga as e}from"./chunk-ITX3UAHE.mjs";import{a as n}from"./chunk-GTKDMUJJ.mjs";var d=n(t=>{let{securityLevel:m}=s(),o=e("body");if(m==="sandbox"){let c=e(`#i${t}`).node()?.contentDocument??document;o=e(c.body)}return o.select(`#${t}`)},"selectSvgElement");export{d as a};
import{X as s,ga as e}from"./chunk-OR2G2HG5.mjs";import{a as n}from"./chunk-GTKDMUJJ.mjs";var d=n(t=>{let{securityLevel:m}=s(),o=e("body");if(m==="sandbox"){let c=e(`#i${t}`).node()?.contentDocument??document;o=e(c.body)}return o.select(`#${t}`)},"selectSvgElement");export{d as a};
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import{a as c}from"./chunk-TI4EEUUG.mjs";import{E as l}from"./chunk-ITX3UAHE.mjs";import{a as o,e as m}from"./chunk-GTKDMUJJ.mjs";var i=m(c(),1);var x=o((n,t)=>{let e=n.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(let r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),g=o((n,t)=>{let e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(n,e).lower()},"drawBackgroundRect"),y=o((n,t)=>{let e=t.text.replace(l," "),r=n.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);let s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),d=o((n,t,e,r)=>{let s=n.append("image");s.attr("x",t),s.attr("y",e);let a=(0,i.sanitizeUrl)(r);s.attr("xlink:href",a)},"drawImage"),E=o((n,t,e,r)=>{let s=n.append("use");s.attr("x",t),s.attr("y",e);let a=(0,i.sanitizeUrl)(r);s.attr("xlink:href",`#${a}`)},"drawEmbeddedImage"),h=o(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=o(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{x as a,g as b,y as c,d,E as e,h as f,f as g};
import{a as c}from"./chunk-TI4EEUUG.mjs";import{E as l}from"./chunk-OR2G2HG5.mjs";import{a as o,e as m}from"./chunk-GTKDMUJJ.mjs";var i=m(c(),1);var x=o((n,t)=>{let e=n.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(let r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),g=o((n,t)=>{let e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(n,e).lower()},"drawBackgroundRect"),y=o((n,t)=>{let e=t.text.replace(l," "),r=n.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);let s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),d=o((n,t,e,r)=>{let s=n.append("image");s.attr("x",t),s.attr("y",e);let a=(0,i.sanitizeUrl)(r);s.attr("xlink:href",a)},"drawImage"),E=o((n,t,e,r)=>{let s=n.append("use");s.attr("x",t),s.attr("y",e);let a=(0,i.sanitizeUrl)(r);s.attr("xlink:href",`#${a}`)},"drawEmbeddedImage"),h=o(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=o(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{x as a,g as b,y as c,d,E as e,h as f,f as g};
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import{b as g,c as y,d,e as f}from"./chunk-4DJOK3GT.mjs";import{a as p,f as l,h as u}from"./chunk-A7EQIZZO.mjs";import{c as m}from"./chunk-2XY5F2HY.mjs";import{A as a,L as s,b as i}from"./chunk-ITX3UAHE.mjs";import{a as o}from"./chunk-GTKDMUJJ.mjs";var L={common:s,getConfig:a,insertCluster:l,insertEdge:d,insertEdgeLabel:g,insertMarkers:f,insertNode:u,interpolateToCurve:m,labelHelper:p,log:i,positionEdgeLabel:y};var t={},h=o(r=>{for(let e of r)t[e.name]=e},"registerLayoutLoaders"),c=o(()=>{h([{name:"dagre",loader:o(async()=>await import("./dagre-2P6XN26F.mjs"),"loader")}])},"registerDefaultLayoutLoaders");c();var S=o(async(r,e)=>{if(!(r.layoutAlgorithm in t))throw new Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);let n=t[r.layoutAlgorithm];return(await n.loader()).render(r,e,L,{algorithm:n.algorithm})},"render"),V=o((r="",{fallback:e="dagre"}={})=>{if(r in t)return r;if(e in t)return i.warn(`Layout algorithm ${r} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${r} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm");export{h as a,S as b,V as c};
import{b as g,c as y,d,e as f}from"./chunk-ZUCAP7FR.mjs";import{a as p,f as l,h as u}from"./chunk-E7A2AWYO.mjs";import{c as m}from"./chunk-UENA7NWE.mjs";import{A as a,L as s,b as i}from"./chunk-OR2G2HG5.mjs";import{a as o}from"./chunk-GTKDMUJJ.mjs";var L={common:s,getConfig:a,insertCluster:l,insertEdge:d,insertEdgeLabel:g,insertMarkers:f,insertNode:u,interpolateToCurve:m,labelHelper:p,log:i,positionEdgeLabel:y};var t={},h=o(r=>{for(let e of r)t[e.name]=e},"registerLayoutLoaders"),c=o(()=>{h([{name:"dagre",loader:o(async()=>await import("./dagre-RF25WEIW.mjs"),"loader")}])},"registerDefaultLayoutLoaders");c();var S=o(async(r,e)=>{if(!(r.layoutAlgorithm in t))throw new Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);let n=t[r.layoutAlgorithm];return(await n.loader()).render(r,e,L,{algorithm:n.algorithm})},"render"),V=o((r="",{fallback:e="dagre"}={})=>{if(r in t)return r;if(e in t)return i.warn(`Layout algorithm ${r} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${r} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm");export{h as a,S as b,V as c};

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
var r="11.4.1";export{r as a};

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{o as ie}from"./chunk-2XY5F2HY.mjs";import{I as P,K as ne,L as se,X as re,b as te,ga as v}from"./chunk-ITX3UAHE.mjs";import{a as f}from"./chunk-GTKDMUJJ.mjs";function le(a){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];var s=Array.from(typeof a=="string"?[a]:a);s[s.length-1]=s[s.length-1].replace(/\r?\n([\t ]*)$/,"");var n=s.reduce(function(l,o){var p=o.match(/\n([\t ]+|(?!\s).)/g);return p?l.concat(p.map(function(c){var h,u;return(u=(h=c.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&u!==void 0?u:0})):l},[]);if(n.length){var r=new RegExp(`
import{o as ie}from"./chunk-UENA7NWE.mjs";import{I as P,K as ne,L as se,X as re,b as te,ga as v}from"./chunk-OR2G2HG5.mjs";import{a as f}from"./chunk-GTKDMUJJ.mjs";function le(a){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];var s=Array.from(typeof a=="string"?[a]:a);s[s.length-1]=s[s.length-1].replace(/\r?\n([\t ]*)$/,"");var n=s.reduce(function(l,o){var p=o.match(/\n([\t ]+|(?!\s).)/g);return p?l.concat(p.map(function(c){var h,u;return(u=(h=c.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&u!==void 0?u:0})):l},[]);if(n.length){var r=new RegExp(`
[ ]{`+Math.min.apply(Math,n)+"}","g");s=s.map(function(l){return l.replace(r,`
`)})}s[0]=s[0].replace(/^\r?\n/,"");var i=s[0];return e.forEach(function(l,o){var p=i.match(/(?:^|\n)( *)$/),c=p?p[1]:"",h=l;typeof l=="string"&&l.includes(`
`)&&(h=String(l).split(`
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

64 changes: 0 additions & 64 deletions mermaid/assets/mermaid/chunks/mermaid.esm.min/chunk-ITX3UAHE.mjs

This file was deleted.

Loading