mio-previewer 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +218 -0
- package/README.zh-CN.md +206 -0
- package/dist/MdRenderer.vue_vue_type_style_index_0_lang-ClzqKjX4.js +4562 -0
- package/dist/MdRenderer.vue_vue_type_style_index_0_lang-Dpnz3CdM.cjs +16 -0
- package/dist/_basePickBy-CZxbwAvt.cjs +1 -0
- package/dist/_basePickBy-nvL1-X4h.js +151 -0
- package/dist/_baseUniq-Cwhfu1XM.js +614 -0
- package/dist/_baseUniq-DunUk-cd.cjs +1 -0
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/arc-C9I4pYLv.js +83 -0
- package/dist/arc-fCflz0gB.cjs +1 -0
- package/dist/architecture-O4VJ6CD3-D00QJU0o.js +5 -0
- package/dist/architecture-O4VJ6CD3-dKuizgWO.cjs +1 -0
- package/dist/architectureDiagram-VXUJARFQ-DQ-YD3RX.cjs +36 -0
- package/dist/architectureDiagram-VXUJARFQ-VWr1UuPv.js +4662 -0
- package/dist/assets/parser.worker-67NQKZt5.js +16 -0
- package/dist/blockDiagram-VD42YOAC-DuC96I2Q.js +2261 -0
- package/dist/blockDiagram-VD42YOAC-EC2x5LwN.cjs +122 -0
- package/dist/c4Diagram-YG6GDRKO-Dm5d0BWL.cjs +10 -0
- package/dist/c4Diagram-YG6GDRKO-OB8wIuF8.js +1580 -0
- package/dist/channel-C-uR528Z.js +5 -0
- package/dist/channel-YfH5CBV-.cjs +1 -0
- package/dist/chunk-4BX2VUAB-3Liht_XN.cjs +1 -0
- package/dist/chunk-4BX2VUAB-j8LeaMvy.js +8 -0
- package/dist/chunk-55IACEB6-Dm3mi3ha.cjs +1 -0
- package/dist/chunk-55IACEB6-IYAIzfR4.js +8 -0
- package/dist/chunk-B4BG7PRW-CpqTB0S5.cjs +165 -0
- package/dist/chunk-B4BG7PRW-DB5df3Iz.js +1375 -0
- package/dist/chunk-DI55MBZ5-BoFZpvY3.js +1370 -0
- package/dist/chunk-DI55MBZ5-wqsoqtNw.cjs +220 -0
- package/dist/chunk-FMBD7UC4-BZS_4hun.cjs +15 -0
- package/dist/chunk-FMBD7UC4-CdmoYYnM.js +19 -0
- package/dist/chunk-QN33PNHL-BuyP9RXS.js +19 -0
- package/dist/chunk-QN33PNHL-CHI_-zix.cjs +1 -0
- package/dist/chunk-QZHKN3VN-15dJyQk0.js +15 -0
- package/dist/chunk-QZHKN3VN-DfH9qQ3T.cjs +1 -0
- package/dist/chunk-TZMSLE5B-BgFWf03M.js +64 -0
- package/dist/chunk-TZMSLE5B-qIo1h7Gz.cjs +1 -0
- package/dist/classDiagram-2ON5EDUG-BQz3UzKi.js +16 -0
- package/dist/classDiagram-2ON5EDUG-CZWeacVd.cjs +1 -0
- package/dist/classDiagram-v2-WZHVMYZB-BQz3UzKi.js +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-CZWeacVd.cjs +1 -0
- package/dist/clone-ByeQKKoW.cjs +1 -0
- package/dist/clone-D6h_cwF4.js +8 -0
- package/dist/cose-bilkent-S5V4N54A-5dO3qpr4.cjs +1 -0
- package/dist/cose-bilkent-S5V4N54A-D2q7jBXB.js +2609 -0
- package/dist/cytoscape.esm-DHF7mANN.cjs +331 -0
- package/dist/cytoscape.esm-DfdJODL8.js +18735 -0
- package/dist/dagre-6UL2VRFP-Cfh4UdSr.js +444 -0
- package/dist/dagre-6UL2VRFP-DS2Ki9Dv.cjs +4 -0
- package/dist/defaultLocale-D7EN2tov.js +171 -0
- package/dist/defaultLocale-DIVzfLaQ.cjs +1 -0
- package/dist/diagram-PSM6KHXK-BZDEX43o.js +531 -0
- package/dist/diagram-PSM6KHXK-CTsP6f2a.cjs +24 -0
- package/dist/diagram-QEK2KX5R-BDKMNi97.cjs +43 -0
- package/dist/diagram-QEK2KX5R-Dda_FEDc.js +217 -0
- package/dist/diagram-S2PKOQOG-CmfsKOvs.cjs +24 -0
- package/dist/diagram-S2PKOQOG-Cnw4b7LB.js +142 -0
- package/dist/entries/md.cjs.js +1 -0
- package/dist/entries/md.es.js +5 -0
- package/dist/entries/plugin-alert.cjs.js +1 -0
- package/dist/entries/plugin-alert.es.js +27 -0
- package/dist/entries/plugin-codeblock.cjs.js +9 -0
- package/dist/entries/plugin-codeblock.es.js +3441 -0
- package/dist/entries/plugin-emoji.cjs.js +1 -0
- package/dist/entries/plugin-emoji.es.js +28 -0
- package/dist/entries/plugin-katex.cjs.js +1 -0
- package/dist/entries/plugin-katex.es.js +92 -0
- package/dist/entries/plugin-mermaid.cjs.js +1 -0
- package/dist/entries/plugin-mermaid.es.js +4 -0
- package/dist/erDiagram-Q2GNP2WA-DE4JLeNF.cjs +60 -0
- package/dist/erDiagram-Q2GNP2WA-qAdA8fbE.js +841 -0
- package/dist/favicon.ico +0 -0
- package/dist/flowDiagram-NV44I4VS-C7YBx4JP.js +1620 -0
- package/dist/flowDiagram-NV44I4VS-j3dB-fjF.cjs +162 -0
- package/dist/ganttDiagram-LVOFAZNH-BL-Yjadx.js +2506 -0
- package/dist/ganttDiagram-LVOFAZNH-CBhzET57.cjs +267 -0
- package/dist/gitGraph-ZV4HHKMB-Dr9sn7R3.js +5 -0
- package/dist/gitGraph-ZV4HHKMB-DyXW77WY.cjs +1 -0
- package/dist/gitGraphDiagram-NY62KEGX-DDklxVnY.cjs +65 -0
- package/dist/gitGraphDiagram-NY62KEGX-DFn7h5BH.js +699 -0
- package/dist/graph-CHoeKkVR.cjs +1 -0
- package/dist/graph-DiGqaw_6.js +247 -0
- package/dist/info-63CPKGFF-BGxbI0Qv.cjs +1 -0
- package/dist/info-63CPKGFF-xflgSxfH.js +5 -0
- package/dist/infoDiagram-F6ZHWCRC-DOtGa28U.js +24 -0
- package/dist/infoDiagram-F6ZHWCRC-Duylo4r7.cjs +2 -0
- package/dist/init-CHZsXQcr.cjs +1 -0
- package/dist/init-DjUOC4st.js +16 -0
- package/dist/journeyDiagram-XKPGCS4Q-bJncB3oe.js +834 -0
- package/dist/journeyDiagram-XKPGCS4Q-h-CtcfbS.cjs +139 -0
- package/dist/kanban-definition-3W4ZIXB7-C3y0C_bw.cjs +89 -0
- package/dist/kanban-definition-3W4ZIXB7-nMPCi8GW.js +719 -0
- package/dist/katex-CmGeg_OO.js +11692 -0
- package/dist/katex-DEiiRhcn.cjs +261 -0
- package/dist/layout-BG4AbhIW.cjs +1 -0
- package/dist/layout-CHaNS4g6.js +1324 -0
- package/dist/linear-Bqd4C_Yb.cjs +1 -0
- package/dist/linear-CPFNaVnw.js +259 -0
- package/dist/mermaid-parser.core-CR8Rcyps.cjs +128 -0
- package/dist/mermaid-parser.core-CkQKh-yb.js +12966 -0
- package/dist/mindmap-definition-VGOIOE7T-C63AEIdU.js +784 -0
- package/dist/mindmap-definition-VGOIOE7T-CHI9UFtA.cjs +68 -0
- package/dist/mio-previewer.cjs.js +3 -0
- package/dist/mio-previewer.css +1 -0
- package/dist/mio-previewer.es.js +25 -0
- package/dist/ordinal-CagbB1m8.cjs +1 -0
- package/dist/ordinal-DfAQgscy.js +61 -0
- package/dist/packet-HUATNLJX-BeAGxpDF.cjs +1 -0
- package/dist/packet-HUATNLJX-dnmrn2-l.js +5 -0
- package/dist/parser.worker.js +21 -0
- package/dist/pie-WTHONI2E-BKoHQt0i.js +5 -0
- package/dist/pie-WTHONI2E-BifrFKgo.cjs +1 -0
- package/dist/pieDiagram-ADFJNKIX-B9OONHi_.cjs +30 -0
- package/dist/pieDiagram-ADFJNKIX-CEMFAt9B.js +161 -0
- package/dist/plugin-mermaid-FTki7cN8.cjs +255 -0
- package/dist/plugin-mermaid-y4lbJ7sL.js +15369 -0
- package/dist/quadrantDiagram-AYHSOK5B-DobvzsAU.js +1022 -0
- package/dist/quadrantDiagram-AYHSOK5B-DqXDgyBD.cjs +7 -0
- package/dist/radar-NJJJXTRR-BPN19Spv.cjs +1 -0
- package/dist/radar-NJJJXTRR-Bj9rI8mr.js +5 -0
- package/dist/requirementDiagram-UZGBJVZJ-CVbmNF7M.cjs +64 -0
- package/dist/requirementDiagram-UZGBJVZJ-M-MPvTnX.js +850 -0
- package/dist/sankeyDiagram-TZEHDZUN-C-ESiLJA.cjs +10 -0
- package/dist/sankeyDiagram-TZEHDZUN-Czsin99f.js +810 -0
- package/dist/sequenceDiagram-WL72ISMW-BJByNQsK.js +2511 -0
- package/dist/sequenceDiagram-WL72ISMW-DApIQwP-.cjs +145 -0
- package/dist/stateDiagram-FKZM4ZOC-BuKL2w66.cjs +1 -0
- package/dist/stateDiagram-FKZM4ZOC-jAiBDhVn.js +263 -0
- package/dist/stateDiagram-v2-4FDKWEC3-Ct5PFxdd.cjs +1 -0
- package/dist/stateDiagram-v2-4FDKWEC3-umSVoFht.js +16 -0
- package/dist/timeline-definition-IT6M3QCI-BfAvK0gf.cjs +61 -0
- package/dist/timeline-definition-IT6M3QCI-I--lBLTi.js +795 -0
- package/dist/treemap-75Q7IDZK-DNt-zuL8.cjs +1 -0
- package/dist/treemap-75Q7IDZK-bjql9DgL.js +5 -0
- package/dist/types/entries/md.d.ts +3 -0
- package/dist/types/entries/plugin-alert.d.ts +1 -0
- package/dist/types/entries/plugin-codeblock.d.ts +1 -0
- package/dist/types/entries/plugin-emoji.d.ts +1 -0
- package/dist/types/entries/plugin-katex.d.ts +1 -0
- package/dist/types/entries/plugin-mermaid.d.ts +1 -0
- package/dist/types/helpers/containerHelpers.d.ts +47 -0
- package/dist/types/helpers/index.d.ts +4 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/main-plugin-demo.d.ts +1 -0
- package/dist/types/main.d.ts +1 -0
- package/dist/types/plugins/AlertPlugin.d.ts +16 -0
- package/dist/types/plugins/CodeBlockPlugin.d.ts +9 -0
- package/dist/types/plugins/EmojiPlugin.d.ts +11 -0
- package/dist/types/plugins/katexPlugin.d.ts +8 -0
- package/dist/types/plugins/mermaidPlugin.d.ts +13 -0
- package/dist/types/types.d.ts +77 -0
- package/dist/xychartDiagram-PRI3JC2R-BN9e47xe.cjs +7 -0
- package/dist/xychartDiagram-PRI3JC2R-XrOK_egj.js +1340 -0
- package/package.json +114 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("./chunk-55IACEB6-Dm3mi3ha.cjs"),ae=require("./chunk-QN33PNHL-CHI_-zix.cjs"),a=require("./plugin-mermaid-FTki7cN8.cjs"),_=[];for(let t=0;t<256;++t)_.push((t+256).toString(16).slice(1));function oe(t,e=0){return(_[t[e+0]]+_[t[e+1]]+_[t[e+2]]+_[t[e+3]]+"-"+_[t[e+4]]+_[t[e+5]]+"-"+_[t[e+6]]+_[t[e+7]]+"-"+_[t[e+8]]+_[t[e+9]]+"-"+_[t[e+10]]+_[t[e+11]]+_[t[e+12]]+_[t[e+13]]+_[t[e+14]]+_[t[e+15]]).toLowerCase()}let G;const ce=new Uint8Array(16);function le(){if(!G){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");G=crypto.getRandomValues.bind(crypto)}return G(ce)}const he=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Z={randomUUID:he};function de(t,e,i){if(Z.randomUUID&&!t)return Z.randomUUID();t=t||{};const l=t.random??t.rng?.()??le();if(l.length<16)throw new Error("Random bytes length must be >= 16");return l[6]=l[6]&15|64,l[8]=l[8]&63|128,oe(l)}var z=(function(){var t=a.__name(function(x,s,n,o){for(n=n||{},o=x.length;o--;n[x[o]]=s);return n},"o"),e=[1,4],i=[1,13],l=[1,12],f=[1,15],h=[1,16],p=[1,20],y=[1,19],u=[6,7,8],D=[1,26],H=[1,24],$=[1,25],b=[6,7,11],W=[1,6,13,15,16,19,22],X=[1,33],q=[1,34],I=[1,6,7,11,13,15,16,19,22],M={trace:a.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:a.__name(function(s,n,o,c,g,r,R){var d=r.length-1;switch(g){case 6:case 7:return c;case 8:c.getLogger().trace("Stop NL ");break;case 9:c.getLogger().trace("Stop EOF ");break;case 11:c.getLogger().trace("Stop NL2 ");break;case 12:c.getLogger().trace("Stop EOF2 ");break;case 15:c.getLogger().info("Node: ",r[d].id),c.addNode(r[d-1].length,r[d].id,r[d].descr,r[d].type);break;case 16:c.getLogger().trace("Icon: ",r[d]),c.decorateNode({icon:r[d]});break;case 17:case 21:c.decorateNode({class:r[d]});break;case 18:c.getLogger().trace("SPACELIST");break;case 19:c.getLogger().trace("Node: ",r[d].id),c.addNode(0,r[d].id,r[d].descr,r[d].type);break;case 20:c.decorateNode({icon:r[d]});break;case 25:c.getLogger().trace("node found ..",r[d-2]),this.$={id:r[d-1],descr:r[d-1],type:c.getType(r[d-2],r[d])};break;case 26:this.$={id:r[d],descr:r[d],type:c.nodeType.DEFAULT};break;case 27:c.getLogger().trace("node found ..",r[d-3]),this.$={id:r[d-3],descr:r[d-1],type:c.getType(r[d-2],r[d])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:i,7:[1,10],9:9,12:11,13:l,14:14,15:f,16:h,17:17,18:18,19:p,22:y},t(u,[2,3]),{1:[2,2]},t(u,[2,4]),t(u,[2,5]),{1:[2,6],6:i,12:21,13:l,14:14,15:f,16:h,17:17,18:18,19:p,22:y},{6:i,9:22,12:11,13:l,14:14,15:f,16:h,17:17,18:18,19:p,22:y},{6:D,7:H,10:23,11:$},t(b,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:p,22:y}),t(b,[2,18]),t(b,[2,19]),t(b,[2,20]),t(b,[2,21]),t(b,[2,23]),t(b,[2,24]),t(b,[2,26],{19:[1,30]}),{20:[1,31]},{6:D,7:H,10:32,11:$},{1:[2,7],6:i,12:21,13:l,14:14,15:f,16:h,17:17,18:18,19:p,22:y},t(W,[2,14],{7:X,11:q}),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(b,[2,15]),t(b,[2,16]),t(b,[2,17]),{20:[1,35]},{21:[1,36]},t(W,[2,13],{7:X,11:q}),t(I,[2,11]),t(I,[2,12]),{21:[1,37]},t(b,[2,25]),t(b,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:a.__name(function(s,n){if(n.recoverable)this.trace(s);else{var o=new Error(s);throw o.hash=n,o}},"parseError"),parse:a.__name(function(s){var n=this,o=[0],c=[],g=[null],r=[],R=this.table,d="",A=0,Y=0,te=2,Q=1,ne=r.slice.call(arguments,1),m=Object.create(this.lexer),v={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(v.yy[V]=this.yy[V]);m.setInput(s,v.yy),v.yy.lexer=m,v.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var B=m.yylloc;r.push(B);var ie=m.options&&m.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(S){o.length=o.length-2*S,g.length=g.length-S,r.length=r.length-S}a.__name(se,"popStack");function J(){var S;return S=c.pop()||m.lex()||Q,typeof S!="number"&&(S instanceof Array&&(c=S,S=c.pop()),S=n.symbols_[S]||S),S}a.__name(J,"lex");for(var E,T,N,F,C={},U,k,K,P;;){if(T=o[o.length-1],this.defaultActions[T]?N=this.defaultActions[T]:((E===null||typeof E>"u")&&(E=J()),N=R[T]&&R[T][E]),typeof N>"u"||!N.length||!N[0]){var j="";P=[];for(U in R[T])this.terminals_[U]&&U>te&&P.push("'"+this.terminals_[U]+"'");m.showPosition?j="Parse error on line "+(A+1)+`:
|
|
2
|
+
`+m.showPosition()+`
|
|
3
|
+
Expecting `+P.join(", ")+", got '"+(this.terminals_[E]||E)+"'":j="Parse error on line "+(A+1)+": Unexpected "+(E==Q?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(j,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:B,expected:P})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+E);switch(N[0]){case 1:o.push(E),g.push(m.yytext),r.push(m.yylloc),o.push(N[1]),E=null,Y=m.yyleng,d=m.yytext,A=m.yylineno,B=m.yylloc;break;case 2:if(k=this.productions_[N[1]][1],C.$=g[g.length-k],C._$={first_line:r[r.length-(k||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(k||1)].first_column,last_column:r[r.length-1].last_column},ie&&(C._$.range=[r[r.length-(k||1)].range[0],r[r.length-1].range[1]]),F=this.performAction.apply(C,[d,Y,A,v.yy,N[1],g,r].concat(ne)),typeof F<"u")return F;k&&(o=o.slice(0,-1*k*2),g=g.slice(0,-1*k),r=r.slice(0,-1*k)),o.push(this.productions_[N[1]][0]),g.push(C.$),r.push(C._$),K=R[o[o.length-2]][o[o.length-1]],o.push(K);break;case 3:return!0}}return!0},"parse")},ee=(function(){var x={EOF:1,parseError:a.__name(function(n,o){if(this.yy.parser)this.yy.parser.parseError(n,o);else throw new Error(n)},"parseError"),setInput:a.__name(function(s,n){return this.yy=n||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:a.__name(function(s){var n=s.length,o=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var g=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===c.length?this.yylloc.first_column:0)+c[c.length-o.length].length-o[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:a.__name(function(){return this._more=!0,this},"more"),reject:a.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:a.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a.__name(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
5
|
+
`+n+"^"},"showPosition"),test_match:a.__name(function(s,n){var o,c,g;if(this.options.backtrack_lexer&&(g={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(g.yylloc.range=this.yylloc.range.slice(0))),c=s[0].match(/(?:\r\n?|\n).*/g),c&&(this.yylineno+=c.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],o=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var r in g)this[r]=g[r];return!1}return!1},"test_match"),next:a.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,n,o,c;this._more||(this.yytext="",this.match="");for(var g=this._currentRules(),r=0;r<g.length;r++)if(o=this._input.match(this.rules[g[r]]),o&&(!n||o[0].length>n[0].length)){if(n=o,c=r,this.options.backtrack_lexer){if(s=this.test_match(o,g[r]),s!==!1)return s;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(s=this.test_match(n,g[c]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:a.__name(function(){var n=this.next();return n||this.lex()},"lex"),begin:a.__name(function(n){this.conditionStack.push(n)},"begin"),popState:a.__name(function(){var n=this.conditionStack.length-1;return n>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:a.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:a.__name(function(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},"topState"),pushState:a.__name(function(n){this.begin(n)},"pushState"),stateStackSize:a.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:a.__name(function(n,o,c,g){switch(c){case 0:return n.getLogger().trace("Found comment",o.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:n.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return n.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:n.getLogger().trace("end icon"),this.popState();break;case 10:return n.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return n.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return n.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return n.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:return this.begin("NODE"),19;case 15:return this.begin("NODE"),19;case 16:return this.begin("NODE"),19;case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:n.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return n.getLogger().trace("description:",o.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),n.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),n.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),n.getLogger().trace("node end ...",o.yytext),"NODE_DEND";case 30:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),n.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),n.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 35:return n.getLogger().trace("Long description:",o.yytext),20;case 36:return n.getLogger().trace("Long description:",o.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return x})();M.lexer=ee;function w(){this.yy={}}return a.__name(w,"Parser"),w.prototype=M,M.Parser=w,new w})();z.parser=z;var ge=z,L={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},O,ue=(O=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=L,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let i=this.nodes.length-1;i>=0;i--)if(this.nodes[i].level<e)return this.nodes[i];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,i,l,f){a.log.info("addNode",e,i,l,f);let h=!1;this.nodes.length===0?(this.baseLevel=e,e=0,h=!0):this.baseLevel!==void 0&&(e=e-this.baseLevel,h=!1);const p=a.getConfig2();let y=p.mindmap?.padding??a.defaultConfig_default.mindmap.padding;switch(f){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:y*=2;break}const u={id:this.count++,nodeId:a.sanitizeText(i,p),level:e,descr:a.sanitizeText(l,p),type:f,children:[],width:p.mindmap?.maxNodeWidth??a.defaultConfig_default.mindmap.maxNodeWidth,padding:y,isRoot:h},D=this.getParent(e);if(D)D.children.push(u),this.nodes.push(u);else if(h)this.nodes.push(u);else throw new Error(`There can be only one root. No parent could be found for ("${u.descr}")`)}getType(e,i){switch(a.log.debug("In get type",e,i),e){case"[":return this.nodeType.RECT;case"(":return i===")"?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,i){this.elements[e]=i}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;const i=a.getConfig2(),l=this.nodes[this.nodes.length-1];e.icon&&(l.icon=a.sanitizeText(e.icon,i)),e.class&&(l.class=a.sanitizeText(e.class,i))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,i){if(e.level===0?e.section=void 0:e.section=i,e.children)for(const[l,f]of e.children.entries()){const h=e.level===0?l:i;this.assignSections(f,h)}}flattenNodes(e,i){const l=["mindmap-node"];e.isRoot===!0?l.push("section-root","section--1"):e.section!==void 0&&l.push(`section-${e.section}`),e.class&&l.push(e.class);const f=l.join(" "),h=a.__name(y=>{switch(y){case L.CIRCLE:return"mindmapCircle";case L.RECT:return"rect";case L.ROUNDED_RECT:return"rounded";case L.CLOUD:return"cloud";case L.BANG:return"bang";case L.HEXAGON:return"hexagon";case L.DEFAULT:return"defaultMindmapNode";case L.NO_BORDER:default:return"rect"}},"getShapeFromType"),p={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,isGroup:!1,shape:h(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:f,cssStyles:[],look:"default",icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(i.push(p),e.children)for(const y of e.children)this.flattenNodes(y,i)}generateEdges(e,i){if(e.children)for(const l of e.children){let f="edge";l.section!==void 0&&(f+=` section-edge-${l.section}`);const h=e.level+1;f+=` edge-depth-${h}`;const p={id:`edge_${e.id}_${l.id}`,start:e.id.toString(),end:l.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:"default",classes:f,depth:e.level,section:l.section};i.push(p),this.generateEdges(l,i)}}getData(){const e=this.getMindmap(),i=a.getConfig2(),f=a.getUserDefinedConfig().layout!==void 0,h=i;if(f||(h.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:h};a.log.debug("getData: mindmapRoot",e,i),this.assignSections(e);const p=[],y=[];this.flattenNodes(e,p),this.generateEdges(e,y),a.log.debug(`getData: processed ${p.length} nodes and ${y.length} edges`);const u=new Map;for(const D of p)u.set(D.id,{shape:D.shape,width:D.width,height:D.height,padding:D.padding});return{nodes:p,edges:y,config:h,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(u),type:"mindmap",diagramId:"mindmap-"+de()}}getLogger(){return a.log}},a.__name(O,"MindmapDB"),O),pe=a.__name(async(t,e,i,l)=>{a.log.debug(`Rendering mindmap diagram
|
|
7
|
+
`+t);const f=l.db,h=f.getData(),p=re.getDiagramElement(e,h.config.securityLevel);h.type=l.type,h.layoutAlgorithm=a.getRegisteredLayoutAlgorithm(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=e,f.getMindmap()&&(h.nodes.forEach(u=>{u.shape==="rounded"?(u.radius=15,u.taper=15,u.stroke="none",u.width=0,u.padding=15):u.shape==="circle"?u.padding=10:u.shape==="rect"&&(u.width=0,u.padding=10)}),await a.render(h,p),ae.setupViewPortForSVG(p,h.config.mindmap?.padding??a.defaultConfig_default.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??a.defaultConfig_default.mindmap.useMaxWidth))},"draw"),fe={draw:pe},me=a.__name(t=>{let e="";for(let i=0;i<t.THEME_COLOR_LIMIT;i++)t["lineColor"+i]=t["lineColor"+i]||t["cScaleInv"+i],a.isDark(t["lineColor"+i])?t["lineColor"+i]=a.lighten(t["lineColor"+i],20):t["lineColor"+i]=a.darken(t["lineColor"+i],20);for(let i=0;i<t.THEME_COLOR_LIMIT;i++){const l=""+(17-3*i);e+=`
|
|
8
|
+
.section-${i-1} rect, .section-${i-1} path, .section-${i-1} circle, .section-${i-1} polygon, .section-${i-1} path {
|
|
9
|
+
fill: ${t["cScale"+i]};
|
|
10
|
+
}
|
|
11
|
+
.section-${i-1} text {
|
|
12
|
+
fill: ${t["cScaleLabel"+i]};
|
|
13
|
+
}
|
|
14
|
+
.node-icon-${i-1} {
|
|
15
|
+
font-size: 40px;
|
|
16
|
+
color: ${t["cScaleLabel"+i]};
|
|
17
|
+
}
|
|
18
|
+
.section-edge-${i-1}{
|
|
19
|
+
stroke: ${t["cScale"+i]};
|
|
20
|
+
}
|
|
21
|
+
.edge-depth-${i-1}{
|
|
22
|
+
stroke-width: ${l};
|
|
23
|
+
}
|
|
24
|
+
.section-${i-1} line {
|
|
25
|
+
stroke: ${t["cScaleInv"+i]} ;
|
|
26
|
+
stroke-width: 3;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.disabled, .disabled circle, .disabled text {
|
|
30
|
+
fill: lightgray;
|
|
31
|
+
}
|
|
32
|
+
.disabled text {
|
|
33
|
+
fill: #efefef;
|
|
34
|
+
}
|
|
35
|
+
`}return e},"genSections"),ye=a.__name(t=>`
|
|
36
|
+
.edge {
|
|
37
|
+
stroke-width: 3;
|
|
38
|
+
}
|
|
39
|
+
${me(t)}
|
|
40
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
41
|
+
fill: ${t.git0};
|
|
42
|
+
}
|
|
43
|
+
.section-root text {
|
|
44
|
+
fill: ${t.gitBranchLabel0};
|
|
45
|
+
}
|
|
46
|
+
.section-root span {
|
|
47
|
+
color: ${t.gitBranchLabel0};
|
|
48
|
+
}
|
|
49
|
+
.section-2 span {
|
|
50
|
+
color: ${t.gitBranchLabel0};
|
|
51
|
+
}
|
|
52
|
+
.icon-container {
|
|
53
|
+
height:100%;
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
align-items: center;
|
|
57
|
+
}
|
|
58
|
+
.edge {
|
|
59
|
+
fill: none;
|
|
60
|
+
}
|
|
61
|
+
.mindmap-node-label {
|
|
62
|
+
dy: 1em;
|
|
63
|
+
alignment-baseline: middle;
|
|
64
|
+
text-anchor: middle;
|
|
65
|
+
dominant-baseline: middle;
|
|
66
|
+
text-align: center;
|
|
67
|
+
}
|
|
68
|
+
`,"getStyles"),_e=ye,Ee={get db(){return new ue},renderer:fe,parser:ge,styles:_e};exports.diagram=Ee;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./MdRenderer.vue_vue_type_style_index_0_lang-Dpnz3CdM.cjs");function r(e,n){return{plugin:n,options:[e,{render:(a,i)=>a[i].nesting===1?`<div class="alert" data-type="${e}">
|
|
2
|
+
`:`</div>
|
|
3
|
+
`}]}}function s(e){return[r("info",e),r("warning",e),r("error",e),r("success",e)]}exports.MdRenderer=t._sfc_main;exports.default=t._sfc_main;exports.createAlertContainer=r;exports.createAllAlertContainers=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.blinking-cursor[data-v-110148dd]{display:inline-block;width:8px;height:1.2em;background-color:#333;animation:blink-110148dd 1s step-end infinite;vertical-align:text-bottom;margin-left:2px}@keyframes blink-110148dd{50%{background-color:transparent}}.markdown-body{font-family:sans-serif;line-height:1.6}.markdown-body :deep(pre){background:#f5f5f5;padding:1em;border-radius:4px;overflow-x:auto}.markdown-body :deep(code){font-family:Courier New,monospace}.code-block-wrapper[data-v-a3e86bb9]{margin:1.5em 0;background:#262733;border-radius:8px;overflow:hidden;box-shadow:0 2px 6px #6e7d8c12;border:1px solid #222229;position:relative}.code-block-header[data-v-a3e86bb9]{display:flex;justify-content:space-between;align-items:center;background:#2d2f3a;padding:.35rem .85rem;border-bottom:1px solid #23242d}.lang-label[data-v-a3e86bb9]{color:#a3b0d0;font-size:.89em;font-weight:600;letter-spacing:1px;-webkit-user-select:none;user-select:none}.op-btn-group[data-v-a3e86bb9]{display:flex;gap:.4rem}.op-btn-group button[data-v-a3e86bb9]{border:none;outline:none;background:transparent;color:#8fa3c1;cursor:pointer;border-radius:3px;padding:.21em;transition:color .18s,background .22s;line-height:1;display:flex;align-items:center;font-size:1.02rem;opacity:.85}.op-btn-group button[data-v-a3e86bb9]:hover:not(:disabled){background:#ecf6ff1a}.copy-code-button.copied[data-v-a3e86bb9]{color:#4ade80;font-size:.75rem}.preview-html-button[data-v-a3e86bb9]{color:#3486ff}.close-preview-button[data-v-a3e86bb9]{color:#ff5d5b;background:#fae8e410}pre[data-v-a3e86bb9],code[data-v-a3e86bb9]{background:transparent;border-radius:0;font-family:JetBrains Mono,Fira Code,Consolas,Menlo,Monaco,monospace;font-size:.92em;line-height:1.6}pre[data-v-a3e86bb9]{margin:0;padding:1rem;overflow-x:auto;background:#1e1e2e}pre[data-v-a3e86bb9]::-webkit-scrollbar{height:8px;background:transparent}pre[data-v-a3e86bb9]::-webkit-scrollbar-thumb{background-color:#8889;border-radius:4px}pre[data-v-a3e86bb9]::-webkit-scrollbar-thumb:hover{background-color:#888888e6}.iframe-wrapper[data-v-a3e86bb9]{width:100%;min-height:200px;height:300px;resize:vertical;overflow:hidden;display:block;position:relative;border:1px solid #ddd}.html-preview-iframe[data-v-a3e86bb9]{width:100%;height:100%;border:none;background:#fff;display:block}.mermaid-diagram-wrapper[data-v-da9ec9f0]{margin:1em 0;padding:1em;background:var(--mermaid-bg, #f9f9f9);border-radius:8px;border:1px solid var(--mermaid-border, #e0e0e0)}.mermaid-diagram[data-v-da9ec9f0]{display:flex;justify-content:center;align-items:center;overflow-x:auto}.mermaid-diagram[data-v-da9ec9f0] svg{max-width:100%;height:auto}.mermaid-error[data-v-da9ec9f0]{color:#c00;background:#fff0f0;padding:1em;border-radius:4px;margin-top:1em}.mermaid-error pre[data-v-da9ec9f0]{margin:.5em 0 0;font-size:.9em;white-space:pre-wrap}@media (prefers-color-scheme: dark){.mermaid-diagram-wrapper[data-v-da9ec9f0]{--mermaid-bg: #1e1e1e;--mermaid-border: #444}}.theme-dark .mermaid-diagram-wrapper[data-v-da9ec9f0]{--mermaid-bg: #1e1e1e;--mermaid-border: #444}.theme-light .mermaid-diagram-wrapper[data-v-da9ec9f0]{--mermaid-bg: #f9f9f9;--mermaid-border: #e0e0e0}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { _ as o } from "./MdRenderer.vue_vue_type_style_index_0_lang-ClzqKjX4.js";
|
|
2
|
+
function e(r, n) {
|
|
3
|
+
return {
|
|
4
|
+
plugin: n,
|
|
5
|
+
options: [r, {
|
|
6
|
+
render: (t, a) => t[a].nesting === 1 ? `<div class="alert" data-type="${r}">
|
|
7
|
+
` : `</div>
|
|
8
|
+
`
|
|
9
|
+
}]
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
function i(r) {
|
|
13
|
+
return [
|
|
14
|
+
e("info", r),
|
|
15
|
+
e("warning", r),
|
|
16
|
+
e("error", r),
|
|
17
|
+
e("success", r)
|
|
18
|
+
];
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
o as MdRenderer,
|
|
22
|
+
e as createAlertContainer,
|
|
23
|
+
i as createAllAlertContainers,
|
|
24
|
+
o as default
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("./init-CHZsXQcr.cjs");class o extends Map{constructor(n,t=p){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),n!=null)for(const[r,s]of n)this.set(r,s)}get(n){return super.get(c(this,n))}has(n){return super.has(c(this,n))}set(n,t){return super.set(g(this,n),t)}delete(n){return super.delete(h(this,n))}}function c({_intern:e,_key:n},t){const r=n(t);return e.has(r)?e.get(r):t}function g({_intern:e,_key:n},t){const r=n(t);return e.has(r)?e.get(r):(e.set(r,t),t)}function h({_intern:e,_key:n},t){const r=n(t);return e.has(r)&&(t=e.get(r),e.delete(r)),t}function p(e){return e!==null&&typeof e=="object"?e.valueOf():e}const f=Symbol("implicit");function a(){var e=new o,n=[],t=[],r=f;function s(i){let u=e.get(i);if(u===void 0){if(r!==f)return r;e.set(i,u=n.push(i)-1)}return t[u%t.length]}return s.domain=function(i){if(!arguments.length)return n.slice();n=[],e=new o;for(const u of i)e.has(u)||e.set(u,n.push(u)-1);return s},s.range=function(i){return arguments.length?(t=Array.from(i),s):t.slice()},s.unknown=function(i){return arguments.length?(r=i,s):r},s.copy=function(){return a(n,t).unknown(r)},l.initRange.apply(s,arguments),s}exports.ordinal=a;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { i as a } from "./init-DjUOC4st.js";
|
|
2
|
+
class o extends Map {
|
|
3
|
+
constructor(n, t = g) {
|
|
4
|
+
if (super(), Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: t } }), n != null) for (const [r, s] of n) this.set(r, s);
|
|
5
|
+
}
|
|
6
|
+
get(n) {
|
|
7
|
+
return super.get(c(this, n));
|
|
8
|
+
}
|
|
9
|
+
has(n) {
|
|
10
|
+
return super.has(c(this, n));
|
|
11
|
+
}
|
|
12
|
+
set(n, t) {
|
|
13
|
+
return super.set(l(this, n), t);
|
|
14
|
+
}
|
|
15
|
+
delete(n) {
|
|
16
|
+
return super.delete(p(this, n));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function c({ _intern: e, _key: n }, t) {
|
|
20
|
+
const r = n(t);
|
|
21
|
+
return e.has(r) ? e.get(r) : t;
|
|
22
|
+
}
|
|
23
|
+
function l({ _intern: e, _key: n }, t) {
|
|
24
|
+
const r = n(t);
|
|
25
|
+
return e.has(r) ? e.get(r) : (e.set(r, t), t);
|
|
26
|
+
}
|
|
27
|
+
function p({ _intern: e, _key: n }, t) {
|
|
28
|
+
const r = n(t);
|
|
29
|
+
return e.has(r) && (t = e.get(r), e.delete(r)), t;
|
|
30
|
+
}
|
|
31
|
+
function g(e) {
|
|
32
|
+
return e !== null && typeof e == "object" ? e.valueOf() : e;
|
|
33
|
+
}
|
|
34
|
+
const f = Symbol("implicit");
|
|
35
|
+
function h() {
|
|
36
|
+
var e = new o(), n = [], t = [], r = f;
|
|
37
|
+
function s(u) {
|
|
38
|
+
let i = e.get(u);
|
|
39
|
+
if (i === void 0) {
|
|
40
|
+
if (r !== f) return r;
|
|
41
|
+
e.set(u, i = n.push(u) - 1);
|
|
42
|
+
}
|
|
43
|
+
return t[i % t.length];
|
|
44
|
+
}
|
|
45
|
+
return s.domain = function(u) {
|
|
46
|
+
if (!arguments.length) return n.slice();
|
|
47
|
+
n = [], e = new o();
|
|
48
|
+
for (const i of u)
|
|
49
|
+
e.has(i) || e.set(i, n.push(i) - 1);
|
|
50
|
+
return s;
|
|
51
|
+
}, s.range = function(u) {
|
|
52
|
+
return arguments.length ? (t = Array.from(u), s) : t.slice();
|
|
53
|
+
}, s.unknown = function(u) {
|
|
54
|
+
return arguments.length ? (r = u, s) : r;
|
|
55
|
+
}, s.copy = function() {
|
|
56
|
+
return h(n, t).unknown(r);
|
|
57
|
+
}, a.apply(s, arguments), s;
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
h as o
|
|
61
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-CR8Rcyps.cjs");exports.PacketModule=e.PacketModule;exports.createPacketServices=e.createPacketServices;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { parseDocument } from "htmlparser2";
|
|
2
|
+
import MarkdownIt from 'markdown-it';
|
|
3
|
+
|
|
4
|
+
const md = new MarkdownIt({
|
|
5
|
+
html: true, // 允许 HTML 标签
|
|
6
|
+
linkify: true, // 自动识别链接
|
|
7
|
+
typographer: true // 启用排版改进
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
self.onmessage = (event) => {
|
|
11
|
+
const { markdownText } = event.data;
|
|
12
|
+
|
|
13
|
+
// 1. Markdown -> HTML (应用了 markdown-it 插件)
|
|
14
|
+
const html = md.render(markdownText);
|
|
15
|
+
|
|
16
|
+
// 2. HTML -> AST (DOM-like structure)
|
|
17
|
+
const ast = parseDocument(html).children;
|
|
18
|
+
|
|
19
|
+
// 将解析结果发送回主线程
|
|
20
|
+
self.postMessage({ ast });
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-CR8Rcyps.cjs");exports.PieModule=e.PieModule;exports.createPieServices=e.createPieServices;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./plugin-mermaid-FTki7cN8.cjs"),q=require("./chunk-4BX2VUAB-3Liht_XN.cjs"),B=require("./mermaid-parser.core-CR8Rcyps.cjs"),N=require("./arc-fCflz0gB.cjs"),V=require("./ordinal-CagbB1m8.cjs");function U(e,n){return n<e?-1:n>e?1:n>=e?0:NaN}function j(e){return e}function X(){var e=j,n=U,f=null,S=t.constant(0),s=t.constant(t.tau),c=t.constant(0);function o(a){var i,u=(a=t.array(a)).length,d,y,h=0,g=new Array(u),l=new Array(u),v=+S.apply(this,arguments),A=Math.min(t.tau,Math.max(-t.tau,s.apply(this,arguments)-v)),m,w=Math.min(Math.abs(A)/u,c.apply(this,arguments)),_=w*(A<0?-1:1),p;for(i=0;i<u;++i)(p=l[g[i]=i]=+e(a[i],i,a))>0&&(h+=p);for(n!=null?g.sort(function(x,D){return n(l[x],l[D])}):f!=null&&g.sort(function(x,D){return f(a[x],a[D])}),i=0,y=h?(A-u*_)/h:0;i<u;++i,v=m)d=g[i],p=l[d],m=v+(p>0?p*y:0)+_,l[d]={data:a[d],index:i,value:p,startAngle:v,endAngle:m,padAngle:w};return l}return o.value=function(a){return arguments.length?(e=typeof a=="function"?a:t.constant(+a),o):e},o.sortValues=function(a){return arguments.length?(n=a,f=null,o):n},o.sort=function(a){return arguments.length?(f=a,n=null,o):f},o.startAngle=function(a){return arguments.length?(S=typeof a=="function"?a:t.constant(+a),o):S},o.endAngle=function(a){return arguments.length?(s=typeof a=="function"?a:t.constant(+a),o):s},o.padAngle=function(a){return arguments.length?(c=typeof a=="function"?a:t.constant(+a),o):c},o}var Z=t.defaultConfig_default.pie,E={sections:new Map,showData:!1},T=E.sections,M=E.showData,H=structuredClone(Z),J=t.__name(()=>structuredClone(H),"getConfig"),K=t.__name(()=>{T=new Map,M=E.showData,t.clear()},"clear"),Q=t.__name(({label:e,value:n})=>{if(n<0)throw new Error(`"${e}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);T.has(e)||(T.set(e,n),t.log.debug(`added new section: ${e}, with value: ${n}`))},"addSection"),Y=t.__name(()=>T,"getSections"),ee=t.__name(e=>{M=e},"setShowData"),te=t.__name(()=>M,"getShowData"),O={getConfig:J,clear:K,setDiagramTitle:t.setDiagramTitle,getDiagramTitle:t.getDiagramTitle,setAccTitle:t.setAccTitle,getAccTitle:t.getAccTitle,setAccDescription:t.setAccDescription,getAccDescription:t.getAccDescription,addSection:Q,getSections:Y,setShowData:ee,getShowData:te},ae=t.__name((e,n)=>{q.populateCommonDb(e,n),n.setShowData(e.showData),e.sections.map(n.addSection)},"populateDb"),ne={parse:t.__name(async e=>{const n=await B.parse("pie",e);t.log.debug(n),ae(n,O)},"parse")},re=t.__name(e=>`
|
|
2
|
+
.pieCircle{
|
|
3
|
+
stroke: ${e.pieStrokeColor};
|
|
4
|
+
stroke-width : ${e.pieStrokeWidth};
|
|
5
|
+
opacity : ${e.pieOpacity};
|
|
6
|
+
}
|
|
7
|
+
.pieOuterCircle{
|
|
8
|
+
stroke: ${e.pieOuterStrokeColor};
|
|
9
|
+
stroke-width: ${e.pieOuterStrokeWidth};
|
|
10
|
+
fill: none;
|
|
11
|
+
}
|
|
12
|
+
.pieTitleText {
|
|
13
|
+
text-anchor: middle;
|
|
14
|
+
font-size: ${e.pieTitleTextSize};
|
|
15
|
+
fill: ${e.pieTitleTextColor};
|
|
16
|
+
font-family: ${e.fontFamily};
|
|
17
|
+
}
|
|
18
|
+
.slice {
|
|
19
|
+
font-family: ${e.fontFamily};
|
|
20
|
+
fill: ${e.pieSectionTextColor};
|
|
21
|
+
font-size:${e.pieSectionTextSize};
|
|
22
|
+
// fill: white;
|
|
23
|
+
}
|
|
24
|
+
.legend text {
|
|
25
|
+
fill: ${e.pieLegendTextColor};
|
|
26
|
+
font-family: ${e.fontFamily};
|
|
27
|
+
font-size: ${e.pieLegendTextSize};
|
|
28
|
+
}
|
|
29
|
+
`,"getStyles"),ie=re,le=t.__name(e=>{const n=[...e.values()].reduce((s,c)=>s+c,0),f=[...e.entries()].map(([s,c])=>({label:s,value:c})).filter(s=>s.value/n*100>=1).sort((s,c)=>c.value-s.value);return X().value(s=>s.value)(f)},"createPieArcs"),se=t.__name((e,n,f,S)=>{t.log.debug(`rendering pie chart
|
|
30
|
+
`+e);const s=S.db,c=t.getConfig2(),o=t.cleanAndMerge(s.getConfig(),c.pie),a=40,i=18,u=4,d=450,y=d,h=t.selectSvgElement(n),g=h.append("g");g.attr("transform","translate("+y/2+","+d/2+")");const{themeVariables:l}=c;let[v]=t.parseFontSize(l.pieOuterStrokeWidth);v??=2;const A=o.textPosition,m=Math.min(y,d)/2-a,w=N.d3arc().innerRadius(0).outerRadius(m),_=N.d3arc().innerRadius(m*A).outerRadius(m*A);g.append("circle").attr("cx",0).attr("cy",0).attr("r",m+v/2).attr("class","pieOuterCircle");const p=s.getSections(),x=le(p),D=[l.pie1,l.pie2,l.pie3,l.pie4,l.pie5,l.pie6,l.pie7,l.pie8,l.pie9,l.pie10,l.pie11,l.pie12];let C=0;p.forEach(r=>{C+=r});const z=x.filter(r=>(r.data.value/C*100).toFixed(0)!=="0"),$=V.ordinal(D);g.selectAll("mySlices").data(z).enter().append("path").attr("d",w).attr("fill",r=>$(r.data.label)).attr("class","pieCircle"),g.selectAll("mySlices").data(z).enter().append("text").text(r=>(r.data.value/C*100).toFixed(0)+"%").attr("transform",r=>"translate("+_.centroid(r)+")").style("text-anchor","middle").attr("class","slice"),g.append("text").text(s.getDiagramTitle()).attr("x",0).attr("y",-400/2).attr("class","pieTitleText");const F=[...p.entries()].map(([r,k])=>({label:r,value:k})),b=g.selectAll(".legend").data(F).enter().append("g").attr("class","legend").attr("transform",(r,k)=>{const G=i+u,R=G*F.length/2,I=12*i,L=k*G-R;return"translate("+I+","+L+")"});b.append("rect").attr("width",i).attr("height",i).style("fill",r=>$(r.label)).style("stroke",r=>$(r.label)),b.append("text").attr("x",i+u).attr("y",i-u).text(r=>s.getShowData()?`${r.label} [${r.value}]`:r.label);const W=Math.max(...b.selectAll("text").nodes().map(r=>r?.getBoundingClientRect().width??0)),P=y+a+i+u+W;h.attr("viewBox",`0 0 ${P} ${d}`),t.configureSvgSize(h,d,P,o.useMaxWidth)},"draw"),oe={draw:se},ce={parser:ne,db:O,renderer:oe,styles:ie};exports.diagram=ce;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { a8 as S, a3 as F, aG as j, _ as p, g as q, s as H, a as Z, b as J, q as K, p as Q, l as z, c as X, D as Y, H as ee, N as te, e as ae, y as re, F as ne } from "./plugin-mermaid-y4lbJ7sL.js";
|
|
2
|
+
import { p as ie } from "./chunk-4BX2VUAB-j8LeaMvy.js";
|
|
3
|
+
import { p as se } from "./mermaid-parser.core-CkQKh-yb.js";
|
|
4
|
+
import { d as I } from "./arc-C9I4pYLv.js";
|
|
5
|
+
import { o as le } from "./ordinal-DfAQgscy.js";
|
|
6
|
+
function oe(e, a) {
|
|
7
|
+
return a < e ? -1 : a > e ? 1 : a >= e ? 0 : NaN;
|
|
8
|
+
}
|
|
9
|
+
function ce(e) {
|
|
10
|
+
return e;
|
|
11
|
+
}
|
|
12
|
+
function ue() {
|
|
13
|
+
var e = ce, a = oe, f = null, y = S(0), s = S(F), o = S(0);
|
|
14
|
+
function l(t) {
|
|
15
|
+
var n, c = (t = j(t)).length, d, x, m = 0, u = new Array(c), i = new Array(c), v = +y.apply(this, arguments), w = Math.min(F, Math.max(-F, s.apply(this, arguments) - v)), h, C = Math.min(Math.abs(w) / c, o.apply(this, arguments)), $ = C * (w < 0 ? -1 : 1), g;
|
|
16
|
+
for (n = 0; n < c; ++n)
|
|
17
|
+
(g = i[u[n] = n] = +e(t[n], n, t)) > 0 && (m += g);
|
|
18
|
+
for (a != null ? u.sort(function(A, D) {
|
|
19
|
+
return a(i[A], i[D]);
|
|
20
|
+
}) : f != null && u.sort(function(A, D) {
|
|
21
|
+
return f(t[A], t[D]);
|
|
22
|
+
}), n = 0, x = m ? (w - c * $) / m : 0; n < c; ++n, v = h)
|
|
23
|
+
d = u[n], g = i[d], h = v + (g > 0 ? g * x : 0) + $, i[d] = {
|
|
24
|
+
data: t[d],
|
|
25
|
+
index: n,
|
|
26
|
+
value: g,
|
|
27
|
+
startAngle: v,
|
|
28
|
+
endAngle: h,
|
|
29
|
+
padAngle: C
|
|
30
|
+
};
|
|
31
|
+
return i;
|
|
32
|
+
}
|
|
33
|
+
return l.value = function(t) {
|
|
34
|
+
return arguments.length ? (e = typeof t == "function" ? t : S(+t), l) : e;
|
|
35
|
+
}, l.sortValues = function(t) {
|
|
36
|
+
return arguments.length ? (a = t, f = null, l) : a;
|
|
37
|
+
}, l.sort = function(t) {
|
|
38
|
+
return arguments.length ? (f = t, a = null, l) : f;
|
|
39
|
+
}, l.startAngle = function(t) {
|
|
40
|
+
return arguments.length ? (y = typeof t == "function" ? t : S(+t), l) : y;
|
|
41
|
+
}, l.endAngle = function(t) {
|
|
42
|
+
return arguments.length ? (s = typeof t == "function" ? t : S(+t), l) : s;
|
|
43
|
+
}, l.padAngle = function(t) {
|
|
44
|
+
return arguments.length ? (o = typeof t == "function" ? t : S(+t), l) : o;
|
|
45
|
+
}, l;
|
|
46
|
+
}
|
|
47
|
+
var pe = ne.pie, G = {
|
|
48
|
+
sections: /* @__PURE__ */ new Map(),
|
|
49
|
+
showData: !1
|
|
50
|
+
}, T = G.sections, N = G.showData, de = structuredClone(pe), ge = /* @__PURE__ */ p(() => structuredClone(de), "getConfig"), fe = /* @__PURE__ */ p(() => {
|
|
51
|
+
T = /* @__PURE__ */ new Map(), N = G.showData, re();
|
|
52
|
+
}, "clear"), he = /* @__PURE__ */ p(({ label: e, value: a }) => {
|
|
53
|
+
if (a < 0)
|
|
54
|
+
throw new Error(
|
|
55
|
+
`"${e}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`
|
|
56
|
+
);
|
|
57
|
+
T.has(e) || (T.set(e, a), z.debug(`added new section: ${e}, with value: ${a}`));
|
|
58
|
+
}, "addSection"), me = /* @__PURE__ */ p(() => T, "getSections"), ve = /* @__PURE__ */ p((e) => {
|
|
59
|
+
N = e;
|
|
60
|
+
}, "setShowData"), Se = /* @__PURE__ */ p(() => N, "getShowData"), L = {
|
|
61
|
+
getConfig: ge,
|
|
62
|
+
clear: fe,
|
|
63
|
+
setDiagramTitle: Q,
|
|
64
|
+
getDiagramTitle: K,
|
|
65
|
+
setAccTitle: J,
|
|
66
|
+
getAccTitle: Z,
|
|
67
|
+
setAccDescription: H,
|
|
68
|
+
getAccDescription: q,
|
|
69
|
+
addSection: he,
|
|
70
|
+
getSections: me,
|
|
71
|
+
setShowData: ve,
|
|
72
|
+
getShowData: Se
|
|
73
|
+
}, ye = /* @__PURE__ */ p((e, a) => {
|
|
74
|
+
ie(e, a), a.setShowData(e.showData), e.sections.map(a.addSection);
|
|
75
|
+
}, "populateDb"), xe = {
|
|
76
|
+
parse: /* @__PURE__ */ p(async (e) => {
|
|
77
|
+
const a = await se("pie", e);
|
|
78
|
+
z.debug(a), ye(a, L);
|
|
79
|
+
}, "parse")
|
|
80
|
+
}, we = /* @__PURE__ */ p((e) => `
|
|
81
|
+
.pieCircle{
|
|
82
|
+
stroke: ${e.pieStrokeColor};
|
|
83
|
+
stroke-width : ${e.pieStrokeWidth};
|
|
84
|
+
opacity : ${e.pieOpacity};
|
|
85
|
+
}
|
|
86
|
+
.pieOuterCircle{
|
|
87
|
+
stroke: ${e.pieOuterStrokeColor};
|
|
88
|
+
stroke-width: ${e.pieOuterStrokeWidth};
|
|
89
|
+
fill: none;
|
|
90
|
+
}
|
|
91
|
+
.pieTitleText {
|
|
92
|
+
text-anchor: middle;
|
|
93
|
+
font-size: ${e.pieTitleTextSize};
|
|
94
|
+
fill: ${e.pieTitleTextColor};
|
|
95
|
+
font-family: ${e.fontFamily};
|
|
96
|
+
}
|
|
97
|
+
.slice {
|
|
98
|
+
font-family: ${e.fontFamily};
|
|
99
|
+
fill: ${e.pieSectionTextColor};
|
|
100
|
+
font-size:${e.pieSectionTextSize};
|
|
101
|
+
// fill: white;
|
|
102
|
+
}
|
|
103
|
+
.legend text {
|
|
104
|
+
fill: ${e.pieLegendTextColor};
|
|
105
|
+
font-family: ${e.fontFamily};
|
|
106
|
+
font-size: ${e.pieLegendTextSize};
|
|
107
|
+
}
|
|
108
|
+
`, "getStyles"), Ae = we, De = /* @__PURE__ */ p((e) => {
|
|
109
|
+
const a = [...e.values()].reduce((s, o) => s + o, 0), f = [...e.entries()].map(([s, o]) => ({ label: s, value: o })).filter((s) => s.value / a * 100 >= 1).sort((s, o) => o.value - s.value);
|
|
110
|
+
return ue().value((s) => s.value)(f);
|
|
111
|
+
}, "createPieArcs"), Ce = /* @__PURE__ */ p((e, a, f, y) => {
|
|
112
|
+
z.debug(`rendering pie chart
|
|
113
|
+
` + e);
|
|
114
|
+
const s = y.db, o = X(), l = Y(s.getConfig(), o.pie), t = 40, n = 18, c = 4, d = 450, x = d, m = ee(a), u = m.append("g");
|
|
115
|
+
u.attr("transform", "translate(" + x / 2 + "," + d / 2 + ")");
|
|
116
|
+
const { themeVariables: i } = o;
|
|
117
|
+
let [v] = te(i.pieOuterStrokeWidth);
|
|
118
|
+
v ??= 2;
|
|
119
|
+
const w = l.textPosition, h = Math.min(x, d) / 2 - t, C = I().innerRadius(0).outerRadius(h), $ = I().innerRadius(h * w).outerRadius(h * w);
|
|
120
|
+
u.append("circle").attr("cx", 0).attr("cy", 0).attr("r", h + v / 2).attr("class", "pieOuterCircle");
|
|
121
|
+
const g = s.getSections(), A = De(g), D = [
|
|
122
|
+
i.pie1,
|
|
123
|
+
i.pie2,
|
|
124
|
+
i.pie3,
|
|
125
|
+
i.pie4,
|
|
126
|
+
i.pie5,
|
|
127
|
+
i.pie6,
|
|
128
|
+
i.pie7,
|
|
129
|
+
i.pie8,
|
|
130
|
+
i.pie9,
|
|
131
|
+
i.pie10,
|
|
132
|
+
i.pie11,
|
|
133
|
+
i.pie12
|
|
134
|
+
];
|
|
135
|
+
let b = 0;
|
|
136
|
+
g.forEach((r) => {
|
|
137
|
+
b += r;
|
|
138
|
+
});
|
|
139
|
+
const W = A.filter((r) => (r.data.value / b * 100).toFixed(0) !== "0"), E = le(D);
|
|
140
|
+
u.selectAll("mySlices").data(W).enter().append("path").attr("d", C).attr("fill", (r) => E(r.data.label)).attr("class", "pieCircle"), u.selectAll("mySlices").data(W).enter().append("text").text((r) => (r.data.value / b * 100).toFixed(0) + "%").attr("transform", (r) => "translate(" + $.centroid(r) + ")").style("text-anchor", "middle").attr("class", "slice"), u.append("text").text(s.getDiagramTitle()).attr("x", 0).attr("y", -400 / 2).attr("class", "pieTitleText");
|
|
141
|
+
const O = [...g.entries()].map(([r, M]) => ({
|
|
142
|
+
label: r,
|
|
143
|
+
value: M
|
|
144
|
+
})), k = u.selectAll(".legend").data(O).enter().append("g").attr("class", "legend").attr("transform", (r, M) => {
|
|
145
|
+
const R = n + c, B = R * O.length / 2, V = 12 * n, U = M * R - B;
|
|
146
|
+
return "translate(" + V + "," + U + ")";
|
|
147
|
+
});
|
|
148
|
+
k.append("rect").attr("width", n).attr("height", n).style("fill", (r) => E(r.label)).style("stroke", (r) => E(r.label)), k.append("text").attr("x", n + c).attr("y", n - c).text((r) => s.getShowData() ? `${r.label} [${r.value}]` : r.label);
|
|
149
|
+
const _ = Math.max(
|
|
150
|
+
...k.selectAll("text").nodes().map((r) => r?.getBoundingClientRect().width ?? 0)
|
|
151
|
+
), P = x + t + n + c + _;
|
|
152
|
+
m.attr("viewBox", `0 0 ${P} ${d}`), ae(m, d, P, l.useMaxWidth);
|
|
153
|
+
}, "draw"), $e = { draw: Ce }, Fe = {
|
|
154
|
+
parser: xe,
|
|
155
|
+
db: L,
|
|
156
|
+
renderer: $e,
|
|
157
|
+
styles: Ae
|
|
158
|
+
};
|
|
159
|
+
export {
|
|
160
|
+
Fe as diagram
|
|
161
|
+
};
|