@bkm016/basalt 0.1.3 → 0.1.5
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/README.md +53 -5
- package/{chunk-y648fzx0.js → chunk-0039s4jt.js} +3 -3
- package/{chunk-m40gxwq4.js → chunk-00gwse5r.js} +3 -3
- package/{chunk-t6zs4kw0.js → chunk-0fwdxd45.js} +2 -2
- package/{chunk-6hssbcgj.js → chunk-0j0qggej.js} +1 -1
- package/chunk-0n99m9m4.js +2 -0
- package/{chunk-d8gtbw9g.js → chunk-0stvywr8.js} +1 -1
- package/{chunk-ztsjgssj.js → chunk-1xa7d5mh.js} +1 -1
- package/chunk-2nb3d92s.js +2 -0
- package/chunk-2nkfxhef.js +3868 -0
- package/chunk-2pa1z37c.js +2 -0
- package/{chunk-fw2bpqmw.js → chunk-2qcpq99g.js} +1 -1
- package/{chunk-981f9dw8.js → chunk-36cqq0ga.js} +6 -6
- package/{chunk-3cjsd292.js → chunk-3c330qna.js} +2 -2
- package/chunk-3k627vf2.js +3 -0
- package/{chunk-r7fpkb49.js → chunk-3k7ejpkc.js} +1 -1
- package/chunk-4g5f43ea.js +3 -0
- package/{chunk-fjtvjrkg.js → chunk-539ekagy.js} +4 -4
- package/{chunk-97rzj7f6.js → chunk-5v4g21rw.js} +1 -1
- package/{chunk-aefadsy6.js → chunk-6dsq0fns.js} +2 -2
- package/{chunk-pbcy6zdt.js → chunk-7as47pcw.js} +1 -1
- package/{chunk-g2t6t8fk.js → chunk-7jezts2n.js} +2 -2
- package/{chunk-8tjad3r0.js → chunk-7qq99360.js} +6 -6
- package/{chunk-gp7y0fja.js → chunk-7tgqhveh.js} +15 -15
- package/{chunk-mvfsxdx6.js → chunk-7w0mefgk.js} +10 -10
- package/{chunk-y58ygzn9.js → chunk-818nd6s1.js} +3 -3
- package/{chunk-vv7fp27r.js → chunk-8mezk0cb.js} +2 -2
- package/{chunk-rtzqqngy.js → chunk-8xb636vr.js} +5 -5
- package/{chunk-2esbgxps.js → chunk-980drajf.js} +15 -15
- package/{chunk-c7x1zq39.js → chunk-9z7sdh5e.js} +3 -3
- package/{chunk-10xzzn07.js → chunk-a4b75ekk.js} +2 -2
- package/{chunk-5j1krv9v.js → chunk-ar3dbfp9.js} +1 -1
- package/{chunk-vk1gxk1t.js → chunk-aw65h276.js} +1 -1
- package/{chunk-75m78j7x.js → chunk-b9fqretv.js} +2 -2
- package/{chunk-y0m980k3.js → chunk-bgkegf0k.js} +22 -22
- package/{chunk-0y7ne3d0.js → chunk-bwawt15q.js} +2 -2
- package/{chunk-pxsrqrd0.js → chunk-c4qr1f41.js} +2 -2
- package/chunk-dddsrff6.js +478 -0
- package/{chunk-xfvvh1s5.js → chunk-e63c1186.js} +1 -1
- package/{chunk-8296hw9m.js → chunk-ebzkckyw.js} +2 -2
- package/chunk-eegztdzb.js +2 -0
- package/{chunk-hwr56pfj.js → chunk-gw05p4g3.js} +1 -1
- package/{chunk-k23t7vhs.js → chunk-h1rypb99.js} +5 -5
- package/{chunk-nbb9trwz.js → chunk-hq5ke1yp.js} +2 -2
- package/{chunk-jwdb0ccj.js → chunk-jvwg4rn1.js} +3 -3
- package/{chunk-fm0k0qtz.js → chunk-jyrwk08p.js} +2 -2
- package/chunk-kns4kv7b.js +3 -0
- package/{chunk-8d46jtbj.js → chunk-mat08ab1.js} +2 -2
- package/{chunk-bannb9xm.js → chunk-mkp28k1x.js} +2 -2
- package/{chunk-d2j735sd.js → chunk-npez1492.js} +2 -2
- package/{chunk-shadcb9z.js → chunk-nx3jnbv8.js} +2 -2
- package/{chunk-ykens1hy.js → chunk-nxkmd29x.js} +1 -1
- package/{chunk-y7nma9rk.js → chunk-pjr91g6k.js} +2 -2
- package/{chunk-m8vkwdgr.js → chunk-r0jc8e7t.js} +4 -4
- package/chunk-rxj6tct8.js +2 -0
- package/{chunk-362g64pd.js → chunk-sqaam5ak.js} +1 -1
- package/{chunk-gzxnene8.js → chunk-srjgvdvs.js} +12 -12
- package/{chunk-r9aatvwm.js → chunk-stj493dn.js} +2 -2
- package/{chunk-k6w6y71k.js → chunk-t7sc0wwc.js} +2 -2
- package/{chunk-27gntzs5.js → chunk-v4k3qmdm.js} +2 -2
- package/{chunk-x1xss1d7.js → chunk-vt1anydc.js} +4 -4
- package/chunk-wd3z74av.js +2 -0
- package/{chunk-z55bmysw.js → chunk-wfyrfvfn.js} +1 -1
- package/{chunk-v9fea96h.js → chunk-wnzvnskb.js} +2 -2
- package/{chunk-cjc90f84.js → chunk-x89em726.js} +3 -3
- package/{chunk-1qpces5a.js → chunk-xtq1xpq0.js} +2 -2
- package/chunk-yna8bwqc.js +2 -0
- package/{chunk-k506w58v.js → chunk-zn0g0859.js} +2 -2
- package/{chunk-qe0teyn1.js → chunk-zrkh5dw7.js} +1 -1
- package/chunk-zzwjt7fp.js +2 -0
- package/compiled.js +12 -12
- package/package.json +1 -1
- package/ui-test-worker.js +20 -20
- package/web/chunk-01hcjafh.js +2 -0
- package/web/{chunk-n8sky2q6.js → chunk-07agqp8h.js} +1 -1
- package/web/{chunk-tx8240k4.js → chunk-0k9aec1s.js} +20 -20
- package/web/{chunk-74j07k8k.js → chunk-0p1nmj5n.js} +2 -2
- package/web/chunk-0qr891eq.js +70 -0
- package/web/{chunk-ts7zrf5b.js → chunk-0whceqes.js} +2 -2
- package/web/chunk-0ytga215.js +1 -0
- package/web/{chunk-h288yd5w.js → chunk-12z7d0hp.js} +3 -3
- package/web/chunk-14bad871.js +2 -0
- package/web/chunk-1amzv4ha.js +1 -0
- package/web/chunk-1cfh0e2e.js +324 -0
- package/web/chunk-1pasbxwh.js +89 -0
- package/web/{chunk-j0bwwc1g.js → chunk-1s2hp6h1.js} +1 -1
- package/web/chunk-26bwh1sb.js +169 -0
- package/web/{chunk-b0a8nbj0.js → chunk-2nht58dc.js} +5 -5
- package/web/chunk-2y0rc1fe.js +1 -0
- package/web/chunk-3hkgdw6f.js +36 -0
- package/web/chunk-4a4j030b.js +1 -0
- package/web/{chunk-4fzj0azw.js → chunk-4m3zdd41.js} +6 -6
- package/web/chunk-4w298aqs.js +1 -0
- package/web/{chunk-2hd1pe9w.js → chunk-56krfj3b.js} +7 -7
- package/web/{chunk-ds7srg4p.js → chunk-5nda24gv.js} +1 -1
- package/web/{chunk-5hmfk69r.js → chunk-5shygfgb.js} +19 -19
- package/web/chunk-65nwc4cf.js +1 -0
- package/web/chunk-6bwgdvf6.js +1 -0
- package/web/chunk-6enn8p66.js +1 -0
- package/web/chunk-6stt9d18.js +1 -0
- package/web/{chunk-4gavbw65.js → chunk-7a3c137d.js} +1 -1
- package/web/chunk-7e47b1sn.js +1 -0
- package/web/chunk-7pypx5h8.js +2 -0
- package/web/chunk-7znyd1mj.js +39 -0
- package/web/{chunk-0z0jycs8.js → chunk-892nf39p.js} +7 -7
- package/web/chunk-8r0s8tx7.js +1 -0
- package/web/chunk-9dy7z3ej.js +2 -0
- package/web/chunk-9mq2cdtq.js +1 -0
- package/web/chunk-9w5tf22s.js +1 -0
- package/web/{chunk-es28k2t7.js → chunk-9xgspn75.js} +2 -2
- package/web/{chunk-0xc2c540.js → chunk-abhad4zj.js} +56 -56
- package/web/chunk-advfpyb9.js +140 -0
- package/web/chunk-affear07.js +3 -0
- package/web/chunk-ahztazsg.js +1 -0
- package/web/chunk-aqt7kc3s.js +106 -0
- package/web/chunk-b5hah4mf.js +1 -0
- package/web/chunk-b8tfetd8.js +1 -0
- package/web/{chunk-7yc083xj.js → chunk-bnb9xhgw.js} +15 -15
- package/web/{chunk-n1dmrz44.js → chunk-c01176kn.js} +2 -2
- package/web/chunk-c3nn0vvc.js +1 -0
- package/web/chunk-c53xmf48.js +30 -0
- package/web/chunk-ckgpy4r4.js +1 -0
- package/web/chunk-crzseqbx.js +24 -0
- package/web/chunk-d22wq71s.js +1 -0
- package/web/{chunk-97b62pvb.js → chunk-d60dpf69.js} +19 -19
- package/web/{chunk-sn9ecfvy.js → chunk-d6ddkh6e.js} +1 -1
- package/web/{chunk-cg3jterp.js → chunk-d9wdsjkk.js} +2 -2
- package/web/{chunk-ttg6tbwx.js → chunk-da7m1kva.js} +2 -2
- package/web/chunk-dbnrfxt1.js +8 -0
- package/web/chunk-ddxf8e84.js +1 -0
- package/web/chunk-dzg1pv80.js +200 -0
- package/web/{chunk-xnq41dgs.js → chunk-e8h45nyr.js} +1 -1
- package/web/chunk-ej9vb61c.js +1 -0
- package/web/chunk-f9k3xrwb.js +2 -0
- package/web/{chunk-7xk0ntav.js → chunk-fjag6yg8.js} +2 -2
- package/web/chunk-fnnrrzqa.js +78 -0
- package/web/{chunk-n90cqdvg.js → chunk-fv6vm14n.js} +2 -2
- package/web/{chunk-axkyft9f.js → chunk-g5jxwkdh.js} +1 -1
- package/web/{chunk-ep37qp12.js → chunk-g8kkc6vz.js} +1 -1
- package/web/chunk-g9sqbafw.js +2 -0
- package/web/{chunk-g46f421r.js → chunk-gcv91974.js} +4 -4
- package/web/{chunk-7qxhk1kz.js → chunk-gxqaa4sv.js} +7 -7
- package/web/chunk-gxsb5tx3.js +1 -0
- package/web/{chunk-54thej0t.js → chunk-gyp6v7jd.js} +2 -2
- package/web/chunk-h0c42zy3.js +1 -0
- package/web/chunk-h2ag4kvz.js +2 -0
- package/web/{chunk-eqsd8zta.js → chunk-h6gh63xj.js} +2 -2
- package/web/{chunk-6m69hczt.js → chunk-h6k1x096.js} +2 -2
- package/web/{chunk-24mfx6w1.js → chunk-j1bw5v1g.js} +2 -2
- package/web/chunk-j34q5jn6.js +1 -0
- package/web/{chunk-0pbjgdgp.js → chunk-ja7w629n.js} +2 -2
- package/web/{chunk-zbj1trar.js → chunk-jam45rqg.js} +2 -2
- package/web/{chunk-23c1df7e.js → chunk-jcdw85mv.js} +1 -1
- package/web/chunk-jfvxxp5c.js +1 -0
- package/web/chunk-jg6fmz2d.js +1 -0
- package/web/{chunk-90xqeczk.js → chunk-k67v6dyg.js} +40 -40
- package/web/chunk-ka7c5rhx.js +99 -0
- package/web/{chunk-acybsx44.js → chunk-kza0t0gj.js} +1 -1
- package/web/{chunk-7520nrbb.js → chunk-m8knte9z.js} +1 -1
- package/web/{chunk-v5cnt7c8.js → chunk-mnzramhc.js} +1 -1
- package/web/{chunk-7v5rxabp.js → chunk-mpfgr049.js} +1 -1
- package/web/chunk-mz1dabxh.js +1 -0
- package/web/chunk-mz9b5bsa.js +1 -0
- package/web/chunk-p53n0hwr.js +1 -0
- package/web/chunk-paywgcf7.js +40 -0
- package/web/chunk-pfcnr9tw.js +1 -0
- package/web/chunk-pyg1mr80.js +303 -0
- package/web/chunk-q7xkscc5.js +1 -0
- package/web/{chunk-xzp7jf7e.js → chunk-qcge7d6s.js} +2 -2
- package/web/chunk-qmbgb79a.js +1139 -0
- package/web/{chunk-5b2nw6j1.js → chunk-qq5gh5zr.js} +1 -1
- package/web/chunk-qrdh9j62.js +1 -0
- package/web/{chunk-w7snhcyg.js → chunk-s24qs1bn.js} +9 -9
- package/web/chunk-sd22cnjy.js +1 -0
- package/web/{chunk-ydtrc1ay.js → chunk-sd3cdqcm.js} +2 -2
- package/web/{chunk-rykfak98.js → chunk-sf101c23.js} +2 -2
- package/web/{chunk-p9hsd3rn.js → chunk-sfq6cw45.js} +2 -2
- package/web/chunk-svqj4az8.js +1 -0
- package/web/chunk-t7jwyvvr.js +1 -0
- package/web/{chunk-47q4hmfp.js → chunk-tcp77cp2.js} +2 -2
- package/web/chunk-tf18d2dk.css +1 -0
- package/web/chunk-thbqwq6b.js +1 -0
- package/web/chunk-v0g4cqc1.js +4 -0
- package/web/chunk-vhzys0rr.js +292 -0
- package/web/chunk-vnt34mkb.js +1 -0
- package/web/chunk-vqfz99ff.js +1 -0
- package/web/chunk-vttgyb5v.js +2 -0
- package/web/chunk-x7sb3bwf.js +370 -0
- package/web/chunk-xce8n339.js +1 -0
- package/web/{chunk-mb4qx9hy.js → chunk-xk1t58c4.js} +12 -12
- package/web/chunk-xsrvw7dt.js +4 -0
- package/web/chunk-xtss82z2.js +1 -0
- package/web/{chunk-2j4m0bh1.js → chunk-y7jq61nv.js} +2 -2
- package/web/{chunk-7ba8vrfc.js → chunk-ybw6vgf6.js} +2 -2
- package/web/{chunk-24h1rfje.js → chunk-yvgs6bm3.js} +4 -4
- package/web/{chunk-sb1cjpq8.js → chunk-z4aj066q.js} +1 -1
- package/web/chunk-zazs8p6c.js +1 -0
- package/web/{chunk-n8gfjj9a.js → chunk-zc1mk10n.js} +19 -19
- package/web/{chunk-5qqw2e0t.js → chunk-zqht0jzx.js} +6 -6
- package/web/{chunk-mwj9tpkz.js → chunk-zz397b0v.js} +12 -12
- package/web/index.html +1 -1
- package/worker.js +1 -1
- package/chunk-06hdzq5n.js +0 -2
- package/chunk-09rj27b2.js +0 -2
- package/chunk-1zdwrgd4.js +0 -2
- package/chunk-5c9j8qe4.js +0 -478
- package/chunk-9mmz6wt3.js +0 -2
- package/chunk-bpw6q7g0.js +0 -3
- package/chunk-bxn5kmpz.js +0 -3753
- package/chunk-n6e43rvk.js +0 -3
- package/chunk-pmqtkqsf.js +0 -2
- package/chunk-ry0z4ev6.js +0 -2
- package/chunk-v258nxcz.js +0 -2
- package/chunk-zmsgwr3s.js +0 -2
- package/web/chunk-0s80zw00.js +0 -1
- package/web/chunk-166qe5j6.js +0 -2
- package/web/chunk-1c95wfvq.js +0 -1
- package/web/chunk-329rtxa9.js +0 -1
- package/web/chunk-33qwz9bc.js +0 -2
- package/web/chunk-3qjnwsph.js +0 -1
- package/web/chunk-4rm1vy7w.js +0 -1
- package/web/chunk-59kqahb3.js +0 -1
- package/web/chunk-61jahh35.js +0 -292
- package/web/chunk-6beqrmtq.js +0 -1
- package/web/chunk-6gxf3vsg.js +0 -1
- package/web/chunk-6parf7sy.js +0 -2
- package/web/chunk-89fkdgbp.js +0 -2
- package/web/chunk-8qgpfxkz.js +0 -1
- package/web/chunk-9a3q0jsh.js +0 -36
- package/web/chunk-9bgey148.js +0 -169
- package/web/chunk-9xh96b33.js +0 -2
- package/web/chunk-a5sg33w2.js +0 -3
- package/web/chunk-a91vxtx4.js +0 -1
- package/web/chunk-agec7jj4.js +0 -1
- package/web/chunk-c516cghj.js +0 -1
- package/web/chunk-cqp1d4p0.js +0 -1
- package/web/chunk-cwtdnacf.js +0 -1
- package/web/chunk-dg1vas6z.js +0 -8
- package/web/chunk-dy2gm1fs.js +0 -1
- package/web/chunk-f91wzwtk.js +0 -1
- package/web/chunk-fc0nx23g.js +0 -1
- package/web/chunk-fhnypcrm.js +0 -1139
- package/web/chunk-fv60p68p.js +0 -1
- package/web/chunk-g1ev11wx.js +0 -1
- package/web/chunk-h18tnrf2.js +0 -1
- package/web/chunk-hfaffkrh.js +0 -1
- package/web/chunk-hszjc2ny.js +0 -70
- package/web/chunk-j2vt8c8v.js +0 -1
- package/web/chunk-jqa39f8t.js +0 -78
- package/web/chunk-jvbbrnpa.js +0 -1
- package/web/chunk-jzfd7cyh.js +0 -2
- package/web/chunk-ka3q31t1.js +0 -1
- package/web/chunk-ka9ak8wr.js +0 -1
- package/web/chunk-m2d1sp30.js +0 -1
- package/web/chunk-mnjd59jk.js +0 -1
- package/web/chunk-ng0nbfhh.js +0 -1
- package/web/chunk-nz9nxk48.js +0 -1
- package/web/chunk-phw908hn.js +0 -1
- package/web/chunk-pjmmma1k.js +0 -1
- package/web/chunk-pxe3vna4.js +0 -1
- package/web/chunk-q7yn4m3t.js +0 -1
- package/web/chunk-qh15dxav.css +0 -1
- package/web/chunk-qnhqexe0.js +0 -1
- package/web/chunk-rcx1aee5.js +0 -99
- package/web/chunk-rjqj6ffe.js +0 -1
- package/web/chunk-rks7ksv3.js +0 -106
- package/web/chunk-rtf2zzzv.js +0 -1
- package/web/chunk-sgvp8vge.js +0 -1
- package/web/chunk-sjjwte12.js +0 -1
- package/web/chunk-srrfphes.js +0 -1
- package/web/chunk-t7bwsdbr.js +0 -1
- package/web/chunk-tse9gvyq.js +0 -89
- package/web/chunk-vd6y2pcm.js +0 -39
- package/web/chunk-vpa55vje.js +0 -4
- package/web/chunk-vymqrpm3.js +0 -303
- package/web/chunk-wdtnhpd6.js +0 -4
- package/web/chunk-wmvd6j0b.js +0 -200
- package/web/chunk-xvsmtetz.js +0 -30
- package/web/chunk-y3ajqthy.js +0 -370
- package/web/chunk-yd1ez3wd.js +0 -2
- package/web/chunk-yfbxtg5p.js +0 -1
- package/web/chunk-ywp4s71k.js +0 -40
- package/web/chunk-z4x331rx.js +0 -140
- package/web/chunk-z6bpamwq.js +0 -24
- package/web/chunk-zmdnxn6m.js +0 -2
- package/web/install.ps1 +0 -91
- package/web/install.sh +0 -177
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import{e,
|
|
1
|
+
import{e,a,Y,u,d,D,O,ft,l,V,et,tt,Et,gt,tn}from"./chunk-pyg1mr80.js";import{je}from"./chunk-m8knte9z.js";var ae=function(){var t=e(function(R,r,i,o){for(i=i||{},o=R.length;o--;i[R[o]]=r);return i},"o"),f=[1,4],m=[1,13],s=[1,12],y=[1,15],N=[1,16],S=[1,20],g=[1,19],A=[6,7,8],P=[1,26],b=[1,24],j=[1,25],x=[6,7,11],K=[1,31],L=[6,7,11,24],W=[1,6,13,16,17,20,23],k=[1,35],F=[1,36],T=[1,6,7,11,13,16,17,20,23],J=[1,38],G={trace:e(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},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,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:e(function(r,i,o,c,p,n,M){var h=n.length-1;switch(p){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: ",n[h-1].id),c.addNode(n[h-2].length,n[h-1].id,n[h-1].descr,n[h-1].type,n[h]);break;case 16:c.getLogger().info("Node: ",n[h].id),c.addNode(n[h-1].length,n[h].id,n[h].descr,n[h].type);break;case 17:c.getLogger().trace("Icon: ",n[h]),c.decorateNode({icon:n[h]});break;case 18:case 23:c.decorateNode({class:n[h]});break;case 19:c.getLogger().trace("SPACELIST");break;case 20:c.getLogger().trace("Node: ",n[h-1].id),c.addNode(0,n[h-1].id,n[h-1].descr,n[h-1].type,n[h]);break;case 21:c.getLogger().trace("Node: ",n[h].id),c.addNode(0,n[h].id,n[h].descr,n[h].type);break;case 22:c.decorateNode({icon:n[h]});break;case 27:c.getLogger().trace("node found ..",n[h-2]),this.$={id:n[h-1],descr:n[h-1],type:c.getType(n[h-2],n[h])};break;case 28:this.$={id:n[h],descr:n[h],type:0};break;case 29:c.getLogger().trace("node found ..",n[h-3]),this.$={id:n[h-3],descr:n[h-1],type:c.getType(n[h-2],n[h])};break;case 30:this.$=n[h-1]+n[h];break;case 31:this.$=n[h];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:f},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:f},{6:m,7:[1,10],9:9,12:11,13:s,14:14,16:y,17:N,18:17,19:18,20:S,23:g},t(A,[2,3]),{1:[2,2]},t(A,[2,4]),t(A,[2,5]),{1:[2,6],6:m,12:21,13:s,14:14,16:y,17:N,18:17,19:18,20:S,23:g},{6:m,9:22,12:11,13:s,14:14,16:y,17:N,18:17,19:18,20:S,23:g},{6:P,7:b,10:23,11:j},t(x,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:S,23:g}),t(x,[2,19]),t(x,[2,21],{15:30,24:K}),t(x,[2,22]),t(x,[2,23]),t(L,[2,25]),t(L,[2,26]),t(L,[2,28],{20:[1,32]}),{21:[1,33]},{6:P,7:b,10:34,11:j},{1:[2,7],6:m,12:21,13:s,14:14,16:y,17:N,18:17,19:18,20:S,23:g},t(W,[2,14],{7:k,11:F}),t(T,[2,8]),t(T,[2,9]),t(T,[2,10]),t(x,[2,16],{15:37,24:K}),t(x,[2,17]),t(x,[2,18]),t(x,[2,20],{24:J}),t(L,[2,31]),{21:[1,39]},{22:[1,40]},t(W,[2,13],{7:k,11:F}),t(T,[2,11]),t(T,[2,12]),t(x,[2,15],{24:J}),t(L,[2,30]),{22:[1,41]},t(L,[2,27]),t(L,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(r,i){if(i.recoverable)this.trace(r);else{var o=Error(r);throw o.hash=i,o}},"parseError"),parse:e(function(r){var i=this,o=[0],c=[],p=[null],n=[],M=this.table,h="",q=0,he=0,ue=0,be=2,ge=1,ye=n.slice.call(arguments,1),_=Object.create(this.lexer),U={yy:{}};for(var te in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,te))U.yy[te]=this.yy[te];if(_.setInput(r,U.yy),U.yy.lexer=_,U.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var ne=_.yylloc;n.push(ne);var me=_.options&&_.options.ranges;if(typeof U.yy.parseError==="function")this.parseError=U.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ke(C){o.length=o.length-2*C,p.length=p.length-C,n.length=n.length-C}e(ke,"popStack");function de(){var C=c.pop()||_.lex()||ge;if(typeof C!=="number"){if(C instanceof Array)c=C,C=c.pop();C=i.symbols_[C]||C}return C}e(de,"lex");var v,ie,H,I,Fe,re,X={},Q,B,pe,Z;while(!0){if(H=o[o.length-1],this.defaultActions[H])I=this.defaultActions[H];else{if(v===null||typeof v>"u")v=de();I=M[H]&&M[H][v]}if(typeof I>"u"||!I.length||!I[0]){var se="";Z=[];for(Q in M[H])if(this.terminals_[Q]&&Q>be)Z.push("'"+this.terminals_[Q]+"'");if(_.showPosition)se="Parse error on line "+(q+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
|
-
Expecting `+Z.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else se="Parse error on line "+(q+1)+": Unexpected "+(v==ge?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(se,{text:_.match,token:this.terminals_[v]||v,line:_.yylineno,loc:ne,expected:Z})}if(I[0]instanceof Array&&I.length>1)throw Error("Parse Error: multiple actions possible at state: "+H+", token: "+v);switch(I[0]){case 1:if(
|
|
4
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:e(function(
|
|
5
|
-
`+i+"^"},"showPosition"),test_match:e(function(
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:e(function(){var i=this.next();if(i)return i;else return this.lex()},"lex"),begin:e(function(i){this.conditionStack.push(i)},"begin"),popState:e(function(){var i=this.conditionStack.length-1;if(i>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:e(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:e(function(i){if(i=this.conditionStack.length-1-Math.abs(i||0),i>=0)return this.conditionStack[i];else return"INITIAL"},"topState"),pushState:e(function(i){this.begin(i)},"pushState"),stateStackSize:e(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:e(function(i,c,
|
|
3
|
+
Expecting `+Z.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else se="Parse error on line "+(q+1)+": Unexpected "+(v==ge?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(se,{text:_.match,token:this.terminals_[v]||v,line:_.yylineno,loc:ne,expected:Z})}if(I[0]instanceof Array&&I.length>1)throw Error("Parse Error: multiple actions possible at state: "+H+", token: "+v);switch(I[0]){case 1:if(o.push(v),p.push(_.yytext),n.push(_.yylloc),o.push(I[1]),v=null,!ie){if(he=_.yyleng,h=_.yytext,q=_.yylineno,ne=_.yylloc,ue>0)ue--}else v=ie,ie=null;break;case 2:if(B=this.productions_[I[1]][1],X.$=p[p.length-B],X._$={first_line:n[n.length-(B||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(B||1)].first_column,last_column:n[n.length-1].last_column},me)X._$.range=[n[n.length-(B||1)].range[0],n[n.length-1].range[1]];if(re=this.performAction.apply(X,[h,he,q,U.yy,I[1],p,n].concat(ye)),typeof re<"u")return re;if(B)o=o.slice(0,-1*B*2),p=p.slice(0,-1*B),n=n.slice(0,-1*B);o.push(this.productions_[I[1]][0]),p.push(X.$),n.push(X._$),pe=M[o[o.length-2]][o[o.length-1]],o.push(pe);break;case 3:return!0}}return!0},"parse")},ee=function(){var R={EOF:1,parseError:e(function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw Error(i)},"parseError"),setInput:e(function(r,i){if(this.yy=i||this.yy||{},this._input=r,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];return this.offset=0,this},"setInput"),input:e(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var i=r.match(/(?:\r\n?|\n).*/g);if(i)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),r},"input"),unput:e(function(r){var i=r.length,o=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var c=this.match.split(/(?:\r\n?|\n)/g);if(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 p=this.yylloc.range;if(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-i},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-i];return this.yyleng=this.yytext.length,this},"unput"),more:e(function(){return this._more=!0,this},"more"),reject:e(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:e(function(r){this.unput(this.match.slice(r))},"less"),pastInput:e(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e(function(){var r=this.match;if(r.length<20)r+=this._input.substr(0,20-r.length);return(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e(function(){var r=this.pastInput(),i=Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
5
|
+
`+i+"^"},"showPosition"),test_match:e(function(r,i){var o,c,p;if(this.options.backtrack_lexer){if(p={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)p.yylloc.range=this.yylloc.range.slice(0)}if(c=r[0].match(/(?:\r\n?|\n).*/g),c)this.yylineno+=c.length;if(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+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],o=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(o)return o;else if(this._backtrack){for(var n in p)this[n]=p[n];return!1}return!1},"test_match"),next:e(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var r,i,o,c;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var n=0;n<p.length;n++)if(o=this._input.match(this.rules[p[n]]),o&&(!i||o[0].length>i[0].length)){if(i=o,c=n,this.options.backtrack_lexer)if(r=this.test_match(o,p[n]),r!==!1)return r;else if(this._backtrack){i=!1;continue}else return!1;else if(!this.options.flex)break}if(i){if(r=this.test_match(i,p[c]),r!==!1)return r;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:e(function(){var i=this.next();if(i)return i;else return this.lex()},"lex"),begin:e(function(i){this.conditionStack.push(i)},"begin"),popState:e(function(){var i=this.conditionStack.length-1;if(i>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:e(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:e(function(i){if(i=this.conditionStack.length-1-Math.abs(i||0),i>=0)return this.conditionStack[i];else return"INITIAL"},"topState"),pushState:e(function(i){this.begin(i)},"pushState"),stateStackSize:e(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:e(function(i,o,c,p){var n=p;switch(c){case 0:return this.pushState("shapeData"),o.yytext="",24;break;case 1:return this.pushState("shapeDataStr"),24;break;case 2:return this.popState(),24;break;case 3:let M=/\n\s*/g;return o.yytext=o.yytext.replace(M,"<br/>"),24;break;case 4:return 24;case 5:this.popState();break;case 6:return i.getLogger().trace("Found comment",o.yytext),6;break;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;break;case 10:this.popState();break;case 11:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return i.getLogger().trace("SPACELINE"),6;break;case 13:return 7;case 14:return 16;case 15:i.getLogger().trace("end icon"),this.popState();break;case 16:return i.getLogger().trace("Exploding node"),this.begin("NODE"),20;break;case 17:return i.getLogger().trace("Cloud"),this.begin("NODE"),20;break;case 18:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;break;case 19:return i.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;break;case 20:return this.begin("NODE"),20;break;case 21:return this.begin("NODE"),20;break;case 22:return this.begin("NODE"),20;break;case 23:return this.begin("NODE"),20;break;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return i.getLogger().trace("description:",o.yytext),"NODE_DESCR";break;case 32:this.popState();break;case 33:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";break;case 34:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";break;case 35:return this.popState(),i.getLogger().trace("node end ...",o.yytext),"NODE_DEND";break;case 36:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";break;case 37:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";break;case 38:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";break;case 39:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";break;case 40:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";break;case 41:return i.getLogger().trace("Long description:",o.yytext),21;break;case 42:return i.getLogger().trace("Long description:",o.yytext),21;break}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\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:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return R}();G.lexer=ee;function z(){this.yy={}}return e(z,"Parser"),z.prototype=G,G.Parser=z,new z}();ae.parser=ae;var Ee=ae,w=[],ce=[],oe=0,le={},_e=e(()=>{w=[],ce=[],oe=0,le={}},"clear"),Se=e((t)=>{if(w.length===0)return null;let f=w[0].level,m=null;for(let s=w.length-1;s>=0;s--){if(w[s].level===f&&!m)m=w[s];if(w[s].level<f)throw Error('Items without section detected, found section ("'+w[s].label+'")')}if(t===m?.level)return null;return m},"getSection"),fe=e(function(){return ce},"getSections"),Ne=e(function(){let t=[],f=[],m=fe(),s=l();for(let y of m){let N={id:y.id,label:O(y.label??"",s),labelType:"markdown",isGroup:!0,ticket:y.ticket,shape:"kanbanSection",level:y.level,look:s.look};f.push(N);let S=w.filter((g)=>g.parentId===y.id);for(let g of S){let A={id:g.id,parentId:y.id,label:O(g.label??"",s),labelType:"markdown",isGroup:!1,ticket:g?.ticket,priority:g?.priority,assigned:g?.assigned,icon:g?.icon,shape:"kanbanItem",level:g.level,rx:5,ry:5,cssStyles:["text-align: left"]};f.push(A)}}return{nodes:f,edges:t,other:{},config:l()}},"getData"),xe=e((t,f,m,s,y)=>{let N=l(),S=N.mindmap?.padding??D.mindmap.padding;switch(s){case E.ROUNDED_RECT:case E.RECT:case E.HEXAGON:S*=2}let g={id:O(f,N)||"kbn"+oe++,level:t,label:O(m,N),width:N.mindmap?.maxNodeWidth??D.mindmap.maxNodeWidth,padding:S,isGroup:!1};if(y!==void 0){let P;if(!y.includes(`
|
|
7
7
|
`))P=`{
|
|
8
8
|
`+y+`
|
|
9
9
|
}`;else P=y+`
|
|
10
|
-
`;let b=tt(P,{schema:et});if(b.shape&&(b.shape!==b.shape.toLowerCase()||b.shape.includes("_")))throw Error(`No such shape: ${b.shape}. Shape names should be lowercase.`);if(b?.shape&&b.shape==="kanbanItem")g.shape=b?.shape;if(b?.label)g.label=b?.label;if(b?.icon)g.icon=b?.icon.toString();if(b?.assigned)g.assigned=b?.assigned.toString();if(b?.ticket)g.ticket=b?.ticket.toString();if(b?.priority)g.priority=b?.priority}let A=Se(t);if(A)g.parentId=A.id||"kbn"+oe++;else ce.push(g);w.push(g)},"addNode"),E={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ve=e((t,f)=>{switch(
|
|
11
|
-
`+t);let N=
|
|
12
|
-
.section-${
|
|
13
|
-
fill: ${m(t["cScale"+
|
|
14
|
-
stroke: ${m(t["cScale"+
|
|
10
|
+
`;let b=tt(P,{schema:et});if(b.shape&&(b.shape!==b.shape.toLowerCase()||b.shape.includes("_")))throw Error(`No such shape: ${b.shape}. Shape names should be lowercase.`);if(b?.shape&&b.shape==="kanbanItem")g.shape=b?.shape;if(b?.label)g.label=b?.label;if(b?.icon)g.icon=b?.icon.toString();if(b?.assigned)g.assigned=b?.assigned.toString();if(b?.ticket)g.ticket=b?.ticket.toString();if(b?.priority)g.priority=b?.priority}let A=Se(t);if(A)g.parentId=A.id||"kbn"+oe++;else ce.push(g);w.push(g)},"addNode"),E={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ve=e((t,f)=>{switch(a.debug("In get type",t,f),t){case"[":return E.RECT;case"(":return f===")"?E.ROUNDED_RECT:E.CLOUD;case"((":return E.CIRCLE;case")":return E.CLOUD;case"))":return E.BANG;case"{{":return E.HEXAGON;default:return E.DEFAULT}},"getType"),De=e((t,f)=>{le[t]=f},"setElementForId"),Le=e((t)=>{if(!t)return;let f=l(),m=w[w.length-1];if(t.icon)m.icon=O(t.icon,f);if(t.class)m.cssClasses=O(t.class,f)},"decorateNode"),Oe=e((t)=>{switch(t){case E.DEFAULT:return"no-border";case E.RECT:return"rect";case E.ROUNDED_RECT:return"rounded-rect";case E.CIRCLE:return"circle";case E.CLOUD:return"cloud";case E.BANG:return"bang";case E.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Ie=e(()=>a,"getLogger"),Ce=e((t)=>le[t],"getElementById"),we={clear:_e,addNode:xe,getSections:fe,getData:Ne,nodeType:E,getType:ve,setElementForId:De,decorateNode:Le,type2Str:Oe,getLogger:Ie,getElementById:Ce},Ae=we,Te=e(async(t,f,m,s)=>{a.debug(`Rendering kanban diagram
|
|
11
|
+
`+t);let N=s.db.getData(),S=l();S.htmlLabels=!1;let g=V(f);for(let k of N.nodes)k.domId=`${f}-${k.id}`;let A=g.append("g");A.attr("class","sections");let P=g.append("g");P.attr("class","items");let b=N.nodes.filter((k)=>k.isGroup),j=0,x=10,K=[],L=25;for(let k of b){let F=S?.kanban?.sectionWidth||200;j=j+1,k.x=F*j+(j-1)*x/2,k.width=F,k.y=0,k.height=F*3,k.rx=5,k.ry=5,k.cssClasses=k.cssClasses+" section-"+j;let T=await tn(A,k);L=Math.max(L,T?.labelBBox?.height),K.push(T)}let W=0;for(let k of b){let F=K[W];W=W+1;let T=S?.kanban?.sectionWidth||200,J=-T*3/2+L,G=J,ee=N.nodes.filter((r)=>r.parentId===k.id);for(let r of ee){if(r.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");r.x=k.x,r.width=T-1.5*x;let o=(await Et(P,r,{config:S})).node().getBBox();r.y=G+o.height/2,await gt(r),G=r.y+o.height/2+x/2}let z=F.cluster.select("rect"),R=Math.max(G-J+3*x,50)+(L-25);z.attr("height",R)}ft(void 0,g,S.mindmap?.padding??D.kanban.padding,S.mindmap?.useMaxWidth??D.kanban.useMaxWidth)},"draw"),Re={draw:Te},Pe=e((t)=>{let f="";for(let s=0;s<t.THEME_COLOR_LIMIT;s++)if(t["lineColor"+s]=t["lineColor"+s]||t["cScaleInv"+s],Y(t["lineColor"+s]))t["lineColor"+s]=u(t["lineColor"+s],20);else t["lineColor"+s]=d(t["lineColor"+s],20);let m=e((s,y)=>t.darkMode?d(s,y):u(s,y),"adjuster");for(let s=0;s<t.THEME_COLOR_LIMIT;s++){let y=""+(17-3*s);f+=`
|
|
12
|
+
.section-${s-1} rect, .section-${s-1} path, .section-${s-1} circle, .section-${s-1} polygon, .section-${s-1} path {
|
|
13
|
+
fill: ${m(t["cScale"+s],10)};
|
|
14
|
+
stroke: ${m(t["cScale"+s],10)};
|
|
15
15
|
|
|
16
16
|
}
|
|
17
|
-
.section-${
|
|
18
|
-
fill: ${t["cScaleLabel"+
|
|
17
|
+
.section-${s-1} text {
|
|
18
|
+
fill: ${t["cScaleLabel"+s]};
|
|
19
19
|
}
|
|
20
|
-
.node-icon-${
|
|
20
|
+
.node-icon-${s-1} {
|
|
21
21
|
font-size: 40px;
|
|
22
|
-
color: ${t["cScaleLabel"+
|
|
22
|
+
color: ${t["cScaleLabel"+s]};
|
|
23
23
|
}
|
|
24
|
-
.section-edge-${
|
|
25
|
-
stroke: ${t["cScale"+
|
|
24
|
+
.section-edge-${s-1}{
|
|
25
|
+
stroke: ${t["cScale"+s]};
|
|
26
26
|
}
|
|
27
|
-
.edge-depth-${
|
|
27
|
+
.edge-depth-${s-1}{
|
|
28
28
|
stroke-width: ${y};
|
|
29
29
|
}
|
|
30
|
-
.section-${
|
|
31
|
-
stroke: ${t["cScaleInv"+
|
|
30
|
+
.section-${s-1} line {
|
|
31
|
+
stroke: ${t["cScaleInv"+s]} ;
|
|
32
32
|
stroke-width: 3;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e,a}from"./chunk-pyg1mr80.js";import{K,Dt,Mt}from"./chunk-1pasbxwh.js";import{G}from"./chunk-14bad871.js";import{ir,kt}from"./chunk-zc1mk10n.js";var i=ir().RailroadEbnf.parser.LangiumParser,o=e((r)=>{let t=r.alternatives.map(m);if(t.length===1)return t[0];return{type:"choice",alternatives:t}},"transformChoice"),m=e((r)=>{let t=r.elements.map(p);if(t.length===1)return t[0];return{type:"sequence",elements:t}},"transformSequence"),s=e((r)=>{switch(r.$type){case"EbnfTerminal":return{type:"terminal",value:r.value};case"EbnfNonTerminal":return{type:"nonterminal",name:r.name};case"EbnfSpecial":return{type:"special",text:r.text};case"EbnfGroup":return o(r.element);case"EbnfOptional":return{type:"optional",element:o(r.element)};case"EbnfRepetition":return{type:"repetition",element:o(r.element),min:0,max:1/0};default:throw Error(`Unsupported EBNF primary node: ${r.$type}`)}},"transformPrimary"),l=e((r,t)=>{switch(t.$type){case"EbnfOptionalPostfix":return{type:"optional",element:r};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:r,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:r,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[r,{type:"terminal",value:"-"},s(t.except)]};default:throw Error(`Unsupported EBNF postfix node: ${t.$type}`)}},"transformPostfix"),p=e((r)=>r.postfixes.reduce((t,n)=>l(t,n),s(r.base)),"transformTerm"),f=e((r)=>({name:r.name,definition:o(r.definition)}),"transformRule"),u=e((r)=>{if(G(r,K),r.title)K.setTitle(r.title);r.rules.map((t)=>K.addRule(f(t)))},"populateDb"),c={parse:e((r)=>{K.clear(),a.debug("[EBNF Parser] Starting Langium parse");let t=i.parse(r);if(t.lexerErrors.length>0||t.parserErrors.length>0)throw new kt(t);let n=t.value;a.debug("[EBNF Parser] Parsed rules:",n.rules.length),u(n),a.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:K}},x={parser:c,db:K,renderer:Mt,styles:Dt};export{x as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{na}from"./chunk-d9wdsjkk.js";export{na as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,y,t,n,_,s,Z,re,j,st}from"./chunk-qmbgb79a.js";var I=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],g=s("circle-slash",I);function R(o){let{Button:h,Panel:N,style:k}=_(),e=o.payload,[i,c]=r(!1),[b,C]=r(!1),[l,p]=r();if(!e)return null;let a=b?"killed":e.state,m=a==="running",d=a==="exited"&&e.code===0,u=a==="killed"||a==="timeout",f=e.output?.trim(),P=async()=>{if(i)return;c(!0),p(void 0);try{await o.connection.request(`/api/sessions/${encodeURIComponent(o.sessionID)}/jobs/${encodeURIComponent(e.id)}/kill`,{method:"POST"}),C(!0)}catch(x){p(x instanceof Error?x.message:"停止失败,后台任务可能已结束")}finally{c(!1)}};return n(N,{className:"my-2",header:n(y,{children:[t(st,{className:"size-3.5 shrink-0 text-faint"}),t("span",{className:"truncate font-mono text-ink/90",title:e.command??e.id,children:e.command??`任务 ${e.id}`})]}),actions:n(y,{children:[m&&n(y,{children:[n("span",{className:"flex items-center gap-1 text-warning",children:[t(re,{className:"size-3.5 animate-spin"}),t("span",{children:"后台运行中"})]}),t(h,{size:"sm",variant:"danger-ghost",className:"h-6 rounded-md px-2 text-xs",disabled:i,onClick:()=>{P()},children:"停止"})]}),d&&n("span",{className:"flex items-center gap-1 text-success",children:[t(j,{className:"size-3.5"}),t("span",{children:"已完成"})]}),u&&n("span",{className:"flex items-center gap-1 text-faint",children:[t(g,{className:"size-3.5"}),t("span",{children:a==="timeout"?"已超时":"已停止"})]}),!m&&!d&&!u&&n("span",{className:"flex items-center gap-1 text-danger",children:[t(Z,{className:"size-3.5"}),n("span",{children:["退出码 ",e.code??"异常"]})]})]}),children:[l&&t("p",{role:"status",className:"border-b border-line px-4 py-2.5 text-xs text-danger",children:l}),f&&t("pre",{className:k("chat.toolOutput","max-h-60 text-ink/90 select-text"),children:f})]})}export{R as BashJobCard};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Qi,So,Ji,To,Eo,eo}from"./chunk-v0g4cqc1.js";import"./chunk-7pypx5h8.js";import"./chunk-fjag6yg8.js";import"./chunk-pyg1mr80.js";export{So as applyDagreLayoutResult,Qi as getEdgesToRender,To as measureDagreLayout,Ji as prepareLayoutForDagre,eo as render,Eo as runDagreLayoutCore};
|