@layers-app/editor 0.5.3 → 0.5.4-optimization
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/dist/index.js +1 -1
- package/dist/{layers.-mkaUFzn.js → layers.0EAb8Ajx.js} +2 -2
- package/dist/{layers.DDVf9_XJ.js → layers.1Mvzm38Y.js} +3 -3
- package/dist/{layers.CuoaVZrW.js → layers.2wIERhxO.js} +1 -1
- package/dist/{layers.C24uY6Fe.js → layers.694DrE1_.js} +3 -3
- package/dist/{layers.BY5x-OCj.js → layers.B-5aeeDH.js} +4 -4
- package/dist/{layers.ZAlzzwQR.js → layers.B0winug5.js} +2 -2
- package/dist/{layers.CE4FK9O5.js → layers.B1S8ufDn.js} +1 -1
- package/dist/{layers.C7M6CfP5.js → layers.B3JNY9Km.js} +1 -1
- package/dist/{layers.Pfqcm_x1.js → layers.B6W2tqC0.js} +1 -1
- package/dist/{layers.UA4MYWds.js → layers.B7Olyhe8.js} +1 -1
- package/dist/{layers.DW9Z4dLd.js → layers.BCuuRSaf.js} +1 -1
- package/dist/{layers.DHrdv4EX.js → layers.BESPlBGC.js} +1 -1
- package/dist/{layers.B19MhDZN.js → layers.BJTh7mUo.js} +2 -2
- package/dist/{layers.G9Ka5gtG.js → layers.BLL-019k.js} +1 -1
- package/dist/{layers.DXnKtB68.js → layers.BNJiP8Pw.js} +1 -1
- package/dist/{layers.Dne14exG.js → layers.BNvAl5dS.js} +2 -2
- package/dist/{layers.J8OYHqDO.js → layers.BThP74aw.js} +1 -1
- package/dist/{layers.BjNcxnlF.js → layers.BZ4laUeR.js} +1 -1
- package/dist/{layers.CJUngdl8.js → layers.BZByPNdY.js} +1 -1
- package/dist/{layers.bfGibH2F.js → layers.B_5zMrI3.js} +1 -1
- package/dist/{layers.DIuulfCg.js → layers.B_7N5yjX.js} +1 -1
- package/dist/{layers.BLZg3-j8.js → layers.BdvfoI4U.js} +1 -1
- package/dist/{layers.akd0joBp.js → layers.BiJBOHr0.js} +1 -1
- package/dist/{layers.COYYECPe.js → layers.Bk3_8qR9.js} +6 -6
- package/dist/{layers.e7K9sNTy.js → layers.BkPPOKBy.js} +1 -1
- package/dist/{layers.ftDLkcXk.js → layers.BnZcjRLr.js} +1 -1
- package/dist/{layers.CmqoZAnC.js → layers.BqpcWKH6.js} +4 -4
- package/dist/{layers.DvdRZk6P.js → layers.Br7D0wMN.js} +1 -1
- package/dist/{layers.hMduvmS1.js → layers.BsAu1GXs.js} +1 -1
- package/dist/{layers.CnrBP_N5.js → layers.Bv5sK47C.js} +3 -3
- package/dist/{layers.BFlW1eUA.js → layers.BxEdkUpI.js} +3 -3
- package/dist/{layers.Bwphu0_-.js → layers.BxUBbVsO.js} +1 -1
- package/dist/{layers.rPpIRTrs.js → layers.Bzalhqz_.js} +1 -1
- package/dist/{layers.DT-qahkC.js → layers.C-dS7ntQ.js} +1 -1
- package/dist/{layers.CR1i6QWh.js → layers.C5BFsvzI.js} +2 -2
- package/dist/{layers.CVUgbWcY.js → layers.C5WLg9ed.js} +8 -8
- package/dist/{layers.DGB6f2fp.js → layers.C6lAFlKZ.js} +4 -4
- package/dist/{layers.Bowu41KP.js → layers.CGwNL7dH.js} +5 -5
- package/dist/{layers.MbNt5pO7.js → layers.CI739wqN.js} +1 -1
- package/dist/{layers.Dlp5s5ci.js → layers.CKaj4dG4.js} +1 -1
- package/dist/{layers.C_RheIIS.js → layers.CLRiSwgi.js} +3 -3
- package/dist/{layers.Rhe5fmYG.js → layers.CN1QkD6D.js} +1 -1
- package/dist/{layers.BDlQMLta.js → layers.CPY6U3g-.js} +1 -1
- package/dist/{layers.B9uP5ibo.js → layers.CRSjdIG6.js} +1 -1
- package/dist/{layers.BjkZnui0.js → layers.CUHkTCid.js} +1 -1
- package/dist/{layers.9rNftyw-.js → layers.CUPMw0sy.js} +1 -1
- package/dist/{layers.BUbQisBD.js → layers.CWb6LiAY.js} +1 -1
- package/dist/{layers.DJS98Zvr.js → layers.C_XsSNQo.js} +1 -1
- package/dist/{layers.BpVuHPkZ.js → layers.CbmlFoXt.js} +1 -1
- package/dist/{layers.Dfev0R1t.js → layers.CfGeHh-g.js} +1 -1
- package/dist/{layers.CM9lYwoQ.js → layers.CiJxVu9b.js} +1 -1
- package/dist/{layers.H0NAWny8.js → layers.Cj4ezyVr.js} +1 -1
- package/dist/{layers.CSYpl3YM.js → layers.Cpb-MRZn.js} +1 -1
- package/dist/{layers.DxIjFIXA.js → layers.CskURloi.js} +1 -1
- package/dist/{layers.B1VK1Umd.js → layers.CtTD47i4.js} +1 -1
- package/dist/{layers.NzblQjNP.js → layers.CxcvEfKe.js} +1 -1
- package/dist/{layers.vHrsDWns.js → layers.D-U9uIsP.js} +1 -1
- package/dist/{layers.Dfw_b3vF.js → layers.D10WeKck.js} +3 -3
- package/dist/{layers.D0MGpeyX.js → layers.D4jK2Tet.js} +1 -1
- package/dist/{layers.BsTKIt_N.js → layers.DBosqi2D.js} +4 -4
- package/dist/{layers.BY5MS01o.js → layers.DGtETOVJ.js} +1 -1
- package/dist/{layers.Df5Qb1Ul.js → layers.DKENAsMv.js} +4 -4
- package/dist/{layers.DIs-8Ynj.js → layers.DOBSfaUM.js} +1 -1
- package/dist/{layers.BeQxuBmo.js → layers.DOKLQ6A3.js} +3 -3
- package/dist/{layers.DSnpK9v9.js → layers.DPuVWH3L.js} +1 -1
- package/dist/{layers.D3A8IuMw.js → layers.DQVXh43C.js} +1 -1
- package/dist/{layers.z72AWJJl.js → layers.DSTh89J8.js} +1 -1
- package/dist/{layers.D_i2rLsg.js → layers.DUsIfvNt.js} +7 -7
- package/dist/{layers.DGlLGCMd.js → layers.DVfpGIrv.js} +1 -1
- package/dist/{layers.B-6jN1Zn.js → layers.DWSkLlGf.js} +1 -1
- package/dist/{layers.B1IDMpWZ.js → layers.DX1RI3m3.js} +1 -1
- package/dist/{layers.C4CXznF_.js → layers.DdMwmP4m.js} +1 -1
- package/dist/{layers.CTK5IBtb.js → layers.DhkyREpW.js} +3 -3
- package/dist/{layers.BKLAyg9f.js → layers.Dj-f1_6N.js} +1 -1
- package/dist/{layers.Cf9fVqKx.js → layers.DjhJT1nZ.js} +4 -4
- package/dist/{layers.CtHBfow6.js → layers.Djl9Gz6s.js} +2 -2
- package/dist/{layers.Zh3IN_BW.js → layers.Dn2AP7iE.js} +5 -5
- package/dist/{layers.D_MRmmCY.js → layers.Dqbek_0L.js} +1 -1
- package/dist/{layers.BipydXP9.js → layers.DsDjOLHs.js} +3 -3
- package/dist/layers.DsOaqGXW.js +8 -0
- package/dist/{layers.D-cAGd4i.js → layers.DuE1l7lR.js} +1 -1
- package/dist/{layers.QUgQojU2.js → layers.DxHlP7Pb.js} +1 -1
- package/dist/{layers.BptubpVI.js → layers.DyZ5R-vS.js} +1 -1
- package/dist/{layers.YS67QCmr.js → layers.H2Kl_PC2.js} +1 -1
- package/dist/{layers.BxqlTEGI.js → layers.IW4NBP9k.js} +1 -1
- package/dist/{layers.rfeShEsx.js → layers.LGx1jmqd.js} +1 -1
- package/dist/{layers.D0lTyC6R.js → layers.NABwYdw5.js} +1 -1
- package/dist/{layers.D40oNXih.js → layers.NtwvbkGN.js} +3 -3
- package/dist/{layers.Di7HIxcn.js → layers.O-bFTk-n.js} +4 -4
- package/dist/{layers.CkXqIRYC.js → layers.R_udKe_N.js} +1 -1
- package/dist/{layers.BmEnHWGn.js → layers.TdTDbIzb.js} +1 -1
- package/dist/{layers.B2IHCuq4.js → layers.WLeJl9el.js} +4 -4
- package/dist/{layers.4OVSS-76.js → layers.dEHKcy8J.js} +2 -2
- package/dist/{layers.DXr2kWj5.js → layers.eTredPK_.js} +1 -1
- package/dist/{layers.BZYqdVEt.js → layers.gIdzfQAa.js} +1 -1
- package/dist/{layers.DVjOEkHq.js → layers.huV95Ipe.js} +1 -1
- package/dist/{layers.chFbbZh9.js → layers.jU4W5PG5.js} +24 -24
- package/dist/{layers.CXg7Sg55.js → layers.mQcENPPW.js} +4 -4
- package/dist/{layers.DlWfA7qx.js → layers.nPQCmYXI.js} +1 -1
- package/dist/{layers.CMMTUOh6.js → layers.ntC1foLT.js} +1 -1
- package/dist/layers.uHy1yMbq.js +6 -0
- package/package.json +5 -4
- package/dist/index.cjs +0 -2
- package/dist/layers.-R5PibOa.js +0 -10
- package/dist/layers.1XpBjqYP.js +0 -1
- package/dist/layers.2Ibk-yAi.js +0 -10
- package/dist/layers.3DsBPqy5.js +0 -10
- package/dist/layers.52famHy6.js +0 -1
- package/dist/layers.9Su9jHuK.js +0 -9
- package/dist/layers.9pNaFvaX.js +0 -1
- package/dist/layers.B0JnuQf0.js +0 -11
- package/dist/layers.B0dbAkLw.js +0 -11
- package/dist/layers.B19hGmey.js +0 -1
- package/dist/layers.B2OBW6d_.js +0 -1
- package/dist/layers.B2RJoL8j.js +0 -8
- package/dist/layers.B3D4g2HH.js +0 -1
- package/dist/layers.B66ctuSP.js +0 -1
- package/dist/layers.BAtv1CM7.js +0 -1
- package/dist/layers.BIRU7ZCl.js +0 -35
- package/dist/layers.BIeVwYKL.js +0 -1
- package/dist/layers.BJOHTiQN.js +0 -1
- package/dist/layers.BKktUt3V.js +0 -425
- package/dist/layers.BLd2spTm.js +0 -1
- package/dist/layers.BPHDdk7q.js +0 -6
- package/dist/layers.BQYTL9KT.js +0 -4
- package/dist/layers.BSTBZrFn.js +0 -1
- package/dist/layers.B_blLMys.js +0 -7
- package/dist/layers.Bau1Nn-R.js +0 -1
- package/dist/layers.BdC79PeD.js +0 -8
- package/dist/layers.BgOa2ZQq.js +0 -7
- package/dist/layers.BhoEY-tV.js +0 -1
- package/dist/layers.BjlXrUqq.js +0 -1
- package/dist/layers.Bm_lyqCL.js +0 -6
- package/dist/layers.Bo0o9BXc.js +0 -61
- package/dist/layers.Bq8EFsFh.js +0 -3
- package/dist/layers.Brr7ESXx.js +0 -2
- package/dist/layers.BshQq6Az.js +0 -189
- package/dist/layers.BsuVfEWr.js +0 -1
- package/dist/layers.BxBoiyiz.js +0 -2
- package/dist/layers.BznUuBVb.js +0 -1
- package/dist/layers.C2fRZH80.js +0 -1
- package/dist/layers.C3KcBscd.js +0 -1
- package/dist/layers.C7eXel2I.js +0 -7
- package/dist/layers.CAm5BKM7.js +0 -1
- package/dist/layers.CBUXk-09.js +0 -11
- package/dist/layers.CDEWhNHi.js +0 -10
- package/dist/layers.CDL3opya.js +0 -8
- package/dist/layers.CF-302Fh.js +0 -9
- package/dist/layers.CHZsXQcr.js +0 -1
- package/dist/layers.CHmvLyW1.js +0 -8
- package/dist/layers.CLAvgOJP.js +0 -4
- package/dist/layers.CLgsvcu7.js +0 -10
- package/dist/layers.CQ6g1bgB.js +0 -11
- package/dist/layers.CRKrzT-Y.js +0 -11
- package/dist/layers.CSNKiqFe.js +0 -8
- package/dist/layers.C_eoPPmk.js +0 -13
- package/dist/layers.Ccvu-Dlo.js +0 -1
- package/dist/layers.CdGfvF7V.js +0 -1
- package/dist/layers.Cisk2RXM.js +0 -1
- package/dist/layers.ClJd7I1M.js +0 -9
- package/dist/layers.ClxhzI7j.js +0 -8
- package/dist/layers.Cob5vYhh.js +0 -5
- package/dist/layers.Coygwekn.js +0 -9
- package/dist/layers.Cp5JhAmO.js +0 -7
- package/dist/layers.Cyzu9PKQ.js +0 -1
- package/dist/layers.D-7S1Qn6.js +0 -7
- package/dist/layers.D-v-3mtK.js +0 -9
- package/dist/layers.D0zn4_Mx.js +0 -1
- package/dist/layers.D33cj9e8.js +0 -1
- package/dist/layers.D4ydcUW5.js +0 -7
- package/dist/layers.DByfn15F.js +0 -7
- package/dist/layers.DCrkhQnl.js +0 -9
- package/dist/layers.DFF0tKf2.js +0 -9
- package/dist/layers.DGF-imcj.js +0 -6
- package/dist/layers.DH7bTclZ.js +0 -1
- package/dist/layers.DMh-zb88.js +0 -10
- package/dist/layers.DMkBISW1.js +0 -1
- package/dist/layers.DNray0Kg.js +0 -51
- package/dist/layers.DO8Lq71I.js +0 -4
- package/dist/layers.DOrgOHBr.js +0 -1
- package/dist/layers.DPg8YVWZ.js +0 -118
- package/dist/layers.DRRAWjJ-.js +0 -84
- package/dist/layers.DT4gw4t8.js +0 -8
- package/dist/layers.DWIf8ql6.js +0 -8
- package/dist/layers.DWynlv5x.js +0 -1
- package/dist/layers.DXKXZPx3.js +0 -10
- package/dist/layers.D_Q80AXV.js +0 -7
- package/dist/layers.D_nCsZyv.js +0 -6
- package/dist/layers.Da1VjmYH.js +0 -122
- package/dist/layers.DaLcxrnP.js +0 -4
- package/dist/layers.DbaKVP5e.js +0 -1
- package/dist/layers.DeIaMdiM.js +0 -2
- package/dist/layers.DfXjhAWm.js +0 -207
- package/dist/layers.Dh45zDPj.js +0 -7
- package/dist/layers.DilKJOqa.js +0 -139
- package/dist/layers.DqpBjyTk.js +0 -10
- package/dist/layers.DrD0W7B3.js +0 -5
- package/dist/layers.DxzveV49.js +0 -96
- package/dist/layers.ETa5WiKT.js +0 -160
- package/dist/layers.JWCLFILJ.js +0 -1
- package/dist/layers.MNsWD8fy.js +0 -139
- package/dist/layers.MsLi1AaR.js +0 -10
- package/dist/layers.PaRWxJTx.js +0 -1
- package/dist/layers.QeRtN6Gq.js +0 -1
- package/dist/layers.SuFOjX9h.js +0 -9
- package/dist/layers.X8WQJwc7.js +0 -70
- package/dist/layers.XOnoorb1.js +0 -116
- package/dist/layers.YfvGPzEu.js +0 -1
- package/dist/layers.eOMmuyRq.js +0 -52
- package/dist/layers.f5SObLpT.js +0 -6
- package/dist/layers.gdeLIrFt.js +0 -10
- package/dist/layers.hGSxVR0w.js +0 -8
- package/dist/layers.hYSHj9J1.js +0 -230
- package/dist/layers.hweLqW3I.js +0 -261
- package/dist/layers.i3cprua-.js +0 -1
- package/dist/layers.pN-YTLfe.js +0 -1
- package/dist/layers.puGhbMne.js +0 -257
- package/dist/layers.sf1uvSch.js +0 -1
- package/dist/layers.t3fpEPMO.js +0 -8
- package/dist/layers.v4_WldHC.js +0 -9
- package/dist/layers.yIm62nh0.js +0 -5
- package/dist/layers.zj3cbd1g.js +0 -5
- package/dist/layers.zysZLChz.js +0 -9
package/dist/layers.Bo0o9BXc.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./layers.DxzveV49.js");require("./layers.hYSHj9J1.js");const Y=require("./layers.C2fRZH80.js");var J=(function(){var n=function(f,i,r,c){for(r=r||{},c=f.length;c--;r[f[c]]=i);return r},t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],a=[1,10],s=[1,11],h=[1,12],l=[1,13],p=[1,16],y=[1,17],g={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(i,r,c,d,u,o,I){var b=o.length-1;switch(u){case 1:return o[b-1];case 2:this.$=[];break;case 3:o[b-1].push(o[b]),this.$=o[b-1];break;case 4:case 5:this.$=o[b];break;case 6:case 7:this.$=[];break;case 8:d.getCommonDb().setDiagramTitle(o[b].substr(6)),this.$=o[b].substr(6);break;case 9:this.$=o[b].trim(),d.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[b].trim(),d.getCommonDb().setAccDescription(this.$);break;case 12:d.addSection(o[b].substr(8)),this.$=o[b].substr(8);break;case 15:d.addTask(o[b],0,""),this.$=o[b];break;case 16:d.addEvent(o[b].substr(2)),this.$=o[b];break}},table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:function(i,r){if(r.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=r,c}},parse:function(i){var r=this,c=[0],d=[],u=[null],o=[],I=this.table,b="",$=0,W=0,C=2,P=1,B=o.slice.call(arguments,1),v=Object.create(this.lexer),S={yy:{}};for(var w in this.yy)Object.prototype.hasOwnProperty.call(this.yy,w)&&(S.yy[w]=this.yy[w]);v.setInput(i,S.yy),S.yy.lexer=v,S.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var T=v.yylloc;o.push(T);var A=v.options&&v.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function z(){var M;return M=d.pop()||v.lex()||P,typeof M!="number"&&(M instanceof Array&&(d=M,M=d.pop()),M=r.symbols_[M]||M),M}for(var k,L,E,U,R={},O,N,X,j;;){if(L=c[c.length-1],this.defaultActions[L]?E=this.defaultActions[L]:((k===null||typeof k>"u")&&(k=z()),E=I[L]&&I[L][k]),typeof E>"u"||!E.length||!E[0]){var Z="";j=[];for(O in I[L])this.terminals_[O]&&O>C&&j.push("'"+this.terminals_[O]+"'");v.showPosition?Z="Parse error on line "+($+1)+`:
|
|
2
|
-
`+v.showPosition()+`
|
|
3
|
-
Expecting `+j.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Z="Parse error on line "+($+1)+": Unexpected "+(k==P?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Z,{text:v.match,token:this.terminals_[k]||k,line:v.yylineno,loc:T,expected:j})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+k);switch(E[0]){case 1:c.push(k),u.push(v.yytext),o.push(v.yylloc),c.push(E[1]),k=null,W=v.yyleng,b=v.yytext,$=v.yylineno,T=v.yylloc;break;case 2:if(N=this.productions_[E[1]][1],R.$=u[u.length-N],R._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},A&&(R._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),U=this.performAction.apply(R,[b,W,$,S.yy,E[1],u,o].concat(B)),typeof U<"u")return U;N&&(c=c.slice(0,-1*N*2),u=u.slice(0,-1*N),o=o.slice(0,-1*N)),c.push(this.productions_[E[1]][0]),u.push(R.$),o.push(R._$),X=I[c[c.length-2]][c[c.length-1]],c.push(X);break;case 3:return!0}}return!0}},_=(function(){var f={EOF:1,parseError:function(r,c){if(this.yy.parser)this.yy.parser.parseError(r,c);else throw new Error(r)},setInput:function(i,r){return this.yy=r||this.yy||{},this._input=i,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},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var r=i.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var r=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var d=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),c.length-1&&(this.yylineno-=c.length-1);var u=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:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
5
|
-
`+r+"^"},test_match:function(i,r){var c,d,u;if(this.options.backtrack_lexer&&(u={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&&(u.yylloc.range=this.yylloc.range.slice(0))),d=i[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],c=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var o in u)this[o]=u[o];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,r,c,d;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),o=0;o<u.length;o++)if(c=this._input.match(this.rules[u[o]]),c&&(!r||c[0].length>r[0].length)){if(r=c,d=o,this.options.backtrack_lexer){if(i=this.test_match(c,u[o]),i!==!1)return i;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(i=this.test_match(r,u[d]),i!==!1?i:!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})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,c,d,u){switch(d){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return f})();g.lexer=_;function m(){this.yy={}}return m.prototype=g,g.Parser=m,new m})();J.parser=J;const yt=J;let F="",nt=0;const K=[],q=[],V=[],st=()=>x.commonDb,it=function(){K.length=0,q.length=0,F="",V.length=0,x.clear()},rt=function(n){F=n,K.push(n)},at=function(){return K},lt=function(){let n=D();const t=100;let e=0;for(;!n&&e<t;)n=D(),e++;return q.push(...V),q},ot=function(n,t,e){const a={id:nt++,section:F,type:F,task:n,score:t||0,events:e?[e]:[]};V.push(a)},ct=function(n){V.find(e=>e.id===nt-1).events.push(n)},ht=function(n){const t={section:F,type:F,description:n,task:n,classes:[]};q.push(t)},D=function(){const n=function(e){return V[e].processed};let t=!0;for(const[e,a]of V.entries())n(e),t=t&&a.processed;return t},gt={clear:it,getCommonDb:st,addSection:rt,getSections:at,getTasks:lt,addTask:ot,addTaskOrg:ht,addEvent:ct},ft=Object.freeze(Object.defineProperty({__proto__:null,addEvent:ct,addSection:rt,addTask:ot,addTaskOrg:ht,clear:it,default:gt,getCommonDb:st,getSections:at,getTasks:lt},Symbol.toStringTag,{value:"Module"})),mt=12,G=function(n,t){const e=n.append("rect");return e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),e.attr("rx",t.rx),e.attr("ry",t.ry),t.class!==void 0&&e.attr("class",t.class),e},xt=function(n,t){const a=n.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),s=n.append("g");s.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),s.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(y){const g=Y.arc().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",g).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}function l(y){const g=Y.arc().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",g).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}function p(y){y.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return t.score>3?h(s):t.score<3?l(s):p(s),a},bt=function(n,t){const e=n.append("circle");return e.attr("cx",t.cx),e.attr("cy",t.cy),e.attr("class","actor-"+t.pos),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("r",t.r),e.class!==void 0&&e.attr("class",e.class),t.title!==void 0&&e.append("title").text(t.title),e},dt=function(n,t){const e=t.text.replace(/<br\s*\/?>/gi," "),a=n.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class!==void 0&&a.attr("class",t.class);const s=a.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),a},_t=function(n,t){function e(s,h,l,p,y){return s+","+h+" "+(s+l)+","+h+" "+(s+l)+","+(h+p-y)+" "+(s+l-y*1.2)+","+(h+p)+" "+s+","+(h+p)}const a=n.append("polygon");a.attr("points",e(t.x,t.y,50,20,7)),a.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,dt(n,t)},kt=function(n,t,e){const a=n.append("g"),s=Q();s.x=t.x,s.y=t.y,s.fill=t.fill,s.width=e.width,s.height=e.height,s.class="journey-section section-type-"+t.num,s.rx=3,s.ry=3,G(a,s),ut(e)(t.text,a,s.x,s.y,s.width,s.height,{class:"journey-section section-type-"+t.num},e,t.colour)};let tt=-1;const vt=function(n,t,e){const a=t.x+e.width/2,s=n.append("g");tt++,s.append("line").attr("id","task"+tt).attr("x1",a).attr("y1",t.y).attr("x2",a).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),xt(s,{cx:a,cy:300+(5-t.score)*30,score:t.score});const l=Q();l.x=t.x,l.y=t.y,l.fill=t.fill,l.width=e.width,l.height=e.height,l.class="task task-type-"+t.num,l.rx=3,l.ry=3,G(s,l),t.x+14,ut(e)(t.task,s,l.x,l.y,l.width,l.height,{class:"task"},e,t.colour)},wt=function(n,t){G(n,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},St=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},Q=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},ut=(function(){function n(s,h,l,p,y,g,_,m){const f=h.append("text").attr("x",l+y/2).attr("y",p+g/2+5).style("font-color",m).style("text-anchor","middle").text(s);a(f,_)}function t(s,h,l,p,y,g,_,m,f){const{taskFontSize:i,taskFontFamily:r}=m,c=s.split(/<br\s*\/?>/gi);for(let d=0;d<c.length;d++){const u=d*i-i*(c.length-1)/2,o=h.append("text").attr("x",l+y/2).attr("y",p).attr("fill",f).style("text-anchor","middle").style("font-size",i).style("font-family",r);o.append("tspan").attr("x",l+y/2).attr("dy",u).text(c[d]),o.attr("y",p+g/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),a(o,_)}}function e(s,h,l,p,y,g,_,m){const f=h.append("switch"),r=f.append("foreignObject").attr("x",l).attr("y",p).attr("width",y).attr("height",g).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");r.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(s),t(s,f,l,p,y,g,_,m),a(r,_)}function a(s,h){for(const l in h)l in h&&s.attr(l,h[l])}return function(s){return s.textPlacement==="fo"?e:s.textPlacement==="old"?n:t}})(),Et=function(n){n.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")};function pt(n,t){n.each(function(){var e=x.select(this),a=e.text().split(/(\s+|<br>)/).reverse(),s,h=[],l=1.1,p=e.attr("y"),y=parseFloat(e.attr("dy")),g=e.text(null).append("tspan").attr("x",0).attr("y",p).attr("dy",y+"em");for(let _=0;_<a.length;_++)s=a[a.length-1-_],h.push(s),g.text(h.join(" ").trim()),(g.node().getComputedTextLength()>t||s==="<br>")&&(h.pop(),g.text(h.join(" ").trim()),s==="<br>"?h=[""]:h=[s],g=e.append("tspan").attr("x",0).attr("y",p).attr("dy",l+"em").text(s))})}const $t=function(n,t,e,a){const s=e%mt-1,h=n.append("g");t.section=s,h.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+s));const l=h.append("g"),p=h.append("g"),g=p.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(pt,t.width).node().getBBox(),_=a.fontSize&&a.fontSize.replace?a.fontSize.replace("px",""):a.fontSize;return t.height=g.height+_*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,p.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),It(l,t,s),t},Tt=function(n,t,e){const a=n.append("g"),h=a.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(pt,t.width).node().getBBox(),l=e.fontSize&&e.fontSize.replace?e.fontSize.replace("px",""):e.fontSize;return a.remove(),h.height+l*1.1*.5+t.padding},It=function(n,t,e){n.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${-t.height+10} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),n.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},H={drawRect:G,drawCircle:bt,drawSection:kt,drawText:dt,drawLabel:_t,drawTask:vt,drawBackgroundRect:wt,getTextObj:St,getNoteRect:Q,initGraphics:Et,drawNode:$t,getVirtualNodeHeight:Tt},Nt=function(n,t,e,a){var s,h;const l=x.getConfig(),p=l.leftMargin??50;x.log$1.debug("timeline",a.db);const y=l.securityLevel;let g;y==="sandbox"&&(g=x.select("#i"+t));const m=(y==="sandbox"?x.select(g.nodes()[0].contentDocument.body):x.select("body")).select("#"+t);m.append("g");const f=a.db.getTasks(),i=a.db.getCommonDb().getDiagramTitle();x.log$1.debug("task",f),H.initGraphics(m);const r=a.db.getSections();x.log$1.debug("sections",r);let c=0,d=0,u=0,o=0,I=50+p,b=50;o=50;let $=0,W=!0;r.forEach(function(S){const w={number:$,descr:S,section:$,width:150,padding:20,maxHeight:c},T=H.getVirtualNodeHeight(m,w,l);x.log$1.debug("sectionHeight before draw",T),c=Math.max(c,T+20)});let C=0,P=0;x.log$1.debug("tasks.length",f.length);for(const[S,w]of f.entries()){const T={number:S,descr:w,section:w.section,width:150,padding:20,maxHeight:d},A=H.getVirtualNodeHeight(m,T,l);x.log$1.debug("taskHeight before draw",A),d=Math.max(d,A+20),C=Math.max(C,w.events.length);let z=0;for(let k=0;k<w.events.length;k++){const E={descr:w.events[k],section:w.section,number:w.section,width:150,padding:20,maxHeight:50};z+=H.getVirtualNodeHeight(m,E,l)}P=Math.max(P,z)}x.log$1.debug("maxSectionHeight before draw",c),x.log$1.debug("maxTaskHeight before draw",d),r&&r.length>0?r.forEach(S=>{const w=f.filter(k=>k.section===S),T={number:$,descr:S,section:$,width:200*Math.max(w.length,1)-50,padding:20,maxHeight:c};x.log$1.debug("sectionNode",T);const A=m.append("g"),z=H.drawNode(A,T,$,l);x.log$1.debug("sectionNode output",z),A.attr("transform",`translate(${I}, ${o})`),b+=c+50,w.length>0&&et(m,w,$,I,b,d,l,C,P,c,!1),I+=200*Math.max(w.length,1),b=o,$++}):(W=!1,et(m,f,$,I,b,d,l,C,P,c,!0));const B=m.node().getBBox();x.log$1.debug("bounds",B),i&&m.append("text").text(i).attr("x",B.width/2-p).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),u=W?c+d+150:d+100,m.append("g").attr("class","lineWrapper").append("line").attr("x1",p).attr("y1",u).attr("x2",B.width+3*p).attr("y2",u).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),x.setupGraphViewbox$1(void 0,m,((s=l.timeline)==null?void 0:s.padding)??50,((h=l.timeline)==null?void 0:h.useMaxWidth)??!1)},et=function(n,t,e,a,s,h,l,p,y,g,_){var m;for(const f of t){const i={descr:f.task,section:e,number:e,width:150,padding:20,maxHeight:h};x.log$1.debug("taskNode",i);const r=n.append("g").attr("class","taskWrapper"),d=H.drawNode(r,i,e,l).height;if(x.log$1.debug("taskHeight after draw",d),r.attr("transform",`translate(${a}, ${s})`),h=Math.max(h,d),f.events){const u=n.append("g").attr("class","lineWrapper");let o=h;s+=100,o=o+Mt(n,f.events,e,a,s,l),s-=100,u.append("line").attr("x1",a+190/2).attr("y1",s+h).attr("x2",a+190/2).attr("y2",s+h+(_?h:g)+y+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}a=a+200,_&&!((m=l.timeline)!=null&&m.disableMulticolor)&&e++}s=s-10},Mt=function(n,t,e,a,s,h){let l=0;const p=s;s=s+100;for(const y of t){const g={descr:y,section:e,number:e,width:150,padding:20,maxHeight:50};x.log$1.debug("eventNode",g);const _=n.append("g").attr("class","eventWrapper"),f=H.drawNode(_,g,e,h).height;l=l+f,_.attr("transform",`translate(${a}, ${s})`),s=s+10+f}return s=p,l},Lt={setConf:()=>{},draw:Nt},Pt=n=>{let t="";for(let e=0;e<n.THEME_COLOR_LIMIT;e++)n["lineColor"+e]=n["lineColor"+e]||n["cScaleInv"+e],x.isDark(n["lineColor"+e])?n["lineColor"+e]=x.lighten(n["lineColor"+e],20):n["lineColor"+e]=x.darken(n["lineColor"+e],20);for(let e=0;e<n.THEME_COLOR_LIMIT;e++){const a=""+(17-3*e);t+=`
|
|
7
|
-
.section-${e-1} rect, .section-${e-1} path, .section-${e-1} circle, .section-${e-1} path {
|
|
8
|
-
fill: ${n["cScale"+e]};
|
|
9
|
-
}
|
|
10
|
-
.section-${e-1} text {
|
|
11
|
-
fill: ${n["cScaleLabel"+e]};
|
|
12
|
-
}
|
|
13
|
-
.node-icon-${e-1} {
|
|
14
|
-
font-size: 40px;
|
|
15
|
-
color: ${n["cScaleLabel"+e]};
|
|
16
|
-
}
|
|
17
|
-
.section-edge-${e-1}{
|
|
18
|
-
stroke: ${n["cScale"+e]};
|
|
19
|
-
}
|
|
20
|
-
.edge-depth-${e-1}{
|
|
21
|
-
stroke-width: ${a};
|
|
22
|
-
}
|
|
23
|
-
.section-${e-1} line {
|
|
24
|
-
stroke: ${n["cScaleInv"+e]} ;
|
|
25
|
-
stroke-width: 3;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.lineWrapper line{
|
|
29
|
-
stroke: ${n["cScaleLabel"+e]} ;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.disabled, .disabled circle, .disabled text {
|
|
33
|
-
fill: lightgray;
|
|
34
|
-
}
|
|
35
|
-
.disabled text {
|
|
36
|
-
fill: #efefef;
|
|
37
|
-
}
|
|
38
|
-
`}return t},At=n=>`
|
|
39
|
-
.edge {
|
|
40
|
-
stroke-width: 3;
|
|
41
|
-
}
|
|
42
|
-
${Pt(n)}
|
|
43
|
-
.section-root rect, .section-root path, .section-root circle {
|
|
44
|
-
fill: ${n.git0};
|
|
45
|
-
}
|
|
46
|
-
.section-root text {
|
|
47
|
-
fill: ${n.gitBranchLabel0};
|
|
48
|
-
}
|
|
49
|
-
.icon-container {
|
|
50
|
-
height:100%;
|
|
51
|
-
display: flex;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
align-items: center;
|
|
54
|
-
}
|
|
55
|
-
.edge {
|
|
56
|
-
fill: none;
|
|
57
|
-
}
|
|
58
|
-
.eventWrapper {
|
|
59
|
-
filter: brightness(120%);
|
|
60
|
-
}
|
|
61
|
-
`,Ht=At,Ct={db:ft,renderer:Lt,parser:yt,styles:Ht};exports.diagram=Ct;
|
package/dist/layers.Bq8EFsFh.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.hYSHj9J1.js");var i={paste:"Įklijuoti",pasteAsPlaintext:"Įklijuoti kaip paprastą tekstą",pasteCharts:"Įklijuoti diagramas",selectAll:"Pažymėti viską",multiSelect:"Pridėkite elementą prie pasirinktų",moveCanvas:"Judinti drobę",cut:"Iškirpti",copy:"Kopijuoti",copyAsPng:"Kopijuoti į iškarpinę kaip PNG",copyAsSvg:"Kopijuoti į iškarpinę kaip SVG",copyText:"Kopijuoti į iškarpinę kaip tekstą",copySource:"",convertToCode:"",bringForward:"Kelti priekio link",sendToBack:"Nustumti į užnugarį",bringToFront:"Iškelti į priekį",sendBackward:"Nustumti link užnugario",delete:"Ištrinti",copyStyles:"Kopijuoti stilius",pasteStyles:"Įklijuoti stilius",stroke:"Linija",background:"Fonas",fill:"Užpildymas",strokeWidth:"Linijos storis",strokeStyle:"Linijos stilius",strokeStyle_solid:"Ištisinė",strokeStyle_dashed:"Brūkšniuota",strokeStyle_dotted:"Taškuota",sloppiness:"Netvarkingumas",opacity:"Nepermatomumas",textAlign:"Teksto lygiavimas",edges:"Kraštai",sharp:"Aštrus",round:"Užapvalintas",arrowheads:"Rodyklės viršūnės",arrowhead_none:"Jokios",arrowhead_arrow:"Rodyklė",arrowhead_bar:"Brukšnys",arrowhead_circle:"",arrowhead_circle_outline:"",arrowhead_triangle:"Trikampis",arrowhead_triangle_outline:"",arrowhead_diamond:"",arrowhead_diamond_outline:"",fontSize:"Šrifto dydis",fontFamily:"Šriftas",addWatermark:"Sukurta su Excalidraw",handDrawn:"Ranka rašytas",normal:"Normalus",code:"Kodas",small:"Mažas",medium:"Vidutinis",large:"Didelis",veryLarge:"Labai didelis",solid:"",hachure:"",zigzag:"",crossHatch:"",thin:"Plonas",bold:"Pastorintas",left:"Kairėje",center:"Centre",right:"Dešinėje",extraBold:"Labiau pastorintas",architect:"Architektas",artist:"Menininkas",cartoonist:"Karikatūristas",fileTitle:"Failo pavadinimas",colorPicker:"Spalvos parinkiklis",canvasColors:"",canvasBackground:"Drobės fonas",drawingCanvas:"",layers:"Sluoksniai",actions:"Veiksmai",language:"Kalba",liveCollaboration:"Bendradarbiavimas gyvai...",duplicateSelection:"",untitled:"",name:"",yourName:"Jūsų vardas",madeWithExcalidraw:"Sukurta su Excalidraw",group:"Grupuoti pasirinkimą",ungroup:"Išgrupuoti pasirinkimą",collaborators:"Bendradarbiautojai",showGrid:"Rodyti tinklelį",addToLibrary:"Pridėti į biblioteką",removeFromLibrary:"Pašalinti iš bibliotekos",libraryLoadingMessage:"",libraries:"Naršyti bibliotekas",loadingScene:"",align:"Lygiuoti",alignTop:"Lygiuoti viršuje",alignBottom:"Lygiuoti apačioje",alignLeft:"Lygiuoti kairėje",alignRight:"Lygiuoti dešinėje",centerVertically:"Centruoti vertikaliai",centerHorizontally:"Centruoti horizontaliai",distributeHorizontally:"",distributeVertically:"",flipHorizontal:"Apversti horizontaliai",flipVertical:"Apversti vertikaliai",viewMode:"",share:"Dalintis",showStroke:"",showBackground:"",toggleTheme:"",personalLib:"Asmeninė biblioteka",excalidrawLib:"Exaclidraw biblioteka",decreaseFontSize:"",increaseFontSize:"",unbindText:"",bindText:"",createContainerFromText:"",link:{edit:"Redeguoti nuorodą",editEmbed:"",create:"Sukurti nuorodą",createEmbed:"",label:"Nuoroda",labelEmbed:"",empty:""},lineEditor:{edit:"",exit:""},elementLock:{lock:"Užrakinti",unlock:"Atrakinti",lockAll:"",unlockAll:""},statusPublished:"",sidebarLock:"",selectAllElementsInFrame:"",removeAllElementsFromFrame:"",eyeDropper:"",textToDiagram:"",prompt:""},e={noItems:"",hint_emptyLibrary:"",hint_emptyPrivateLibrary:""},a={clearReset:"",exportJSON:"Eksportuoti į failą",exportImage:"",export:"",copyToClipboard:"Kopijuoti į iškarpinę",save:"",saveAs:"Išsaugoti kaip",load:"",getShareableLink:"Gauti nuorodą dalinimuisi",close:"Uždaryti",selectLanguage:"Pasirinkite kalbą",scrollBackToContent:"",zoomIn:"Priartinti",zoomOut:"Nutolinti",resetZoom:"",menu:"Meniu",done:"",edit:"Redaguoti",undo:"Anuliuoti",redo:"",resetLibrary:"Atstatyti biblioteką",createNewRoom:"Sukurti naują kambarį",fullScreen:"Visas ekranas",darkMode:"Tamsus režimas",lightMode:"Šviesus režimas",zenMode:"„Zen“ režimas",objectsSnapMode:"",exitZenMode:"Išeiti iš „Zen“ režimo",cancel:"Atšaukti",clear:"Išvalyti",remove:"Pašalinti",embed:"",publishLibrary:"Paskelbti",submit:"Pateikti",confirm:"Patvirtinti",embeddableInteractionButton:""},t={clearReset:"",couldNotCreateShareableLink:"",couldNotCreateShareableLinkTooBig:"",couldNotLoadInvalidFile:"",importBackendFailed:"",cannotExportEmptyCanvas:"",couldNotCopyToClipboard:"",decryptFailed:"",uploadedSecurly:"",loadSceneOverridePrompt:"",collabStopOverridePrompt:`Sesijos nutraukimas perrašys ankstesnį, lokaliai išsaugotą piešinį. Ar tikrai to nori?
|
|
2
|
-
|
|
3
|
-
(Jei nori išlaikyti lokalų piešinį, tiesiog uždaryk naršyklės skirtuką.)`,errorAddingToLibrary:"Nepavyko įtraukti elemento į biblioteką",errorRemovingFromLibrary:"Nepavyko pašalinti elemento iš bibliotekos",confirmAddLibrary:"Tai įtrauks {{numShapes}} figūrą/-as į tavo biblioteką. Ar tikrai to nori?",imageDoesNotContainScene:"Panašu, jog šis paveiksliukas neturi scenos duomenų. Ar yra įjuntas scenos įtraukimas ekportavimo metu?",cannotRestoreFromImage:"Nepavyko atstatyti scenos iš šio nuotraukos failo",invalidSceneUrl:"Nepavyko suimportuoti scenos iš pateiktos nuorodos (URL). Ji arba blogai suformatuota, arba savyje neturi teisingų Excalidraw JSON duomenų.",resetLibrary:"Tai išvalys tavo biblioteką. Ar tikrai to nori?",removeItemsFromsLibrary:"Ištrinti {{count}} elementą/-us iš bibliotekos?",invalidEncryptionKey:"Šifravimo raktas turi būti iš 22 simbolių. Redagavimas gyvai yra išjungtas.",collabOfflineWarning:""},o={unsupportedFileType:"Nepalaikomas failo tipas.",imageInsertError:"Nepyko įkelti paveiksliuko. Pabandyk vėliau...",fileTooBig:"Per didelis failas. Didžiausias leidžiamas dydis yra {{maxSize}}.",svgImageInsertError:"Nepavyko įtraukti SVG paveiksliuko. Panašu, jog SVG yra nevalidus.",failedToFetchImage:"",invalidSVGString:"Nevalidus SVG.",cannotResolveCollabServer:"Nepavyko prisijungti prie serverio bendradarbiavimui. Perkrauk puslapį ir pabandyk prisijungti dar kartą.",importLibraryError:"Nepavyko įkelti bibliotekos",collabSaveFailed:"",collabSaveFailed_sizeExceeded:"",imageToolNotSupported:"",brave_measure_text_error:{line1:"",line2:"",line3:"",line4:""},libraryElementTypeError:{embeddable:"",iframe:"",image:""},asyncPasteFailedOnRead:"",asyncPasteFailedOnParse:"",copyToSystemClipboardFailed:""},r={selection:"Žymėjimas",image:"Įkelti paveiksliuką",rectangle:"Stačiakampis",diamond:"Deimantas",ellipse:"Elipsė",arrow:"Rodyklė",line:"Linija",freedraw:"Piešti",text:"Tekstas",library:"Biblioteka",lock:"Baigus piešti, išlaikyti pasirinktą įrankį",penMode:"Rašyklio režimas - neleisti prisilietimų",link:"Pridėti / Atnaujinti pasirinktos figūros nuorodą",eraser:"Trintukas",frame:"",magicframe:"",embeddable:"",laser:"",hand:"",extraTools:"",mermaidToExcalidraw:"",magicSettings:""},u={canvasActions:"Veiksmai su drobe",selectedShapeActions:"Veiksmai su pasirinkta figūra",shapes:"Figūros"},s={canvasPanning:"",linearElement:"Paspaudimai sukurs papildomus taškus, nepertraukiamas tempimas sukurs liniją",freeDraw:"Spausk ir tempk, paleisk kai norėsi pabaigti",text:"Užuomina: tekstą taip pat galima pridėti bet kur su dvigubu pelės paspaudimu, kol parinkas žymėjimo įrankis",embeddable:"",text_selected:"",text_editing:"",linearElementMulti:"",lockAngle:"",resize:"",resizeImage:"",rotate:"",lineEditor_info:"",lineEditor_pointSelected:"",lineEditor_nothingSelected:"",placeImage:"",publishLibrary:"",bindTextToElement:"",deepBoxSelect:"",eraserRevert:"",firefox_clipboard_write:"",disableSnapping:""},l={cannotShowPreview:"",canvasTooBig:"",canvasTooBigTip:""},n={headingMain:"",clearCanvasMessage:"",clearCanvasCaveat:"",trackedToSentry:"",openIssueMessage:"",sceneContent:""},d={desc_intro:"",desc_privacy:"",button_startSession:"Pradėti seansą",button_stopSession:"Sustabdyti seansą",desc_inProgressIntro:"",desc_shareLink:"",desc_exitSession:"",shareTitle:""},k={title:"Klaida"},p={disk_title:"Įrašyti į diską",disk_details:"",disk_button:"Įrašyti į failą",link_title:"Nuoroda dalinimuisi",link_details:"",link_button:"",excalidrawplus_description:"",excalidrawplus_button:"Eksportuoti",excalidrawplus_exportError:""},m={blog:"",click:"paspaudimas",deepSelect:"",deepBoxSelect:"",curvedArrow:"Banguota rodyklė",curvedLine:"Banguota linija",documentation:"Dokumentacija",doubleClick:"dvigubas paspaudimas",drag:"vilkti",editor:"Redaktorius",editLineArrowPoints:"",editText:"",github:"Radai klaidą? Pateik",howto:"Vadovaukis mūsų gidu",or:"arba",preventBinding:"",tools:"Įrankiai",shortcuts:"Spartieji klavišai",textFinish:"Baigti redagavimą (teksto redaktoriuje)",textNewLine:"Pridėti naują eilutę (tekto redaktoriuje)",title:"Pagalba",view:"",zoomToFit:"",zoomToSelection:"Priartinti iki pažymėtos vietos",toggleElementLock:"",movePageUpDown:"Pajudinti puslapį aukštyn/žemyn",movePageLeftRight:"Pajudinti puslapį kairėn/dešinėn"},c={title:"Išvalyti drobę"},b={title:"Paviešinti biblioteką",itemName:"Elemento pavadinimas",authorName:"Autoriaus vardas",githubUsername:"Github spalyvardis",twitterUsername:"Twitter slapyvardis",libraryName:"Bibliotekos pavadinimas",libraryDesc:"Bibliotekos aprašas",website:"Tinklalapis",placeholder:{authorName:"Tavo vardas arba spalyvardis",libraryName:"Tavo bibliotekos pavadinimas",libraryDesc:"Tavo bibliotekos aprašas, padėti žmonėms geriau suprasti jos paskirtį",githubHandle:"",twitterHandle:"",website:""},errors:{required:"Privalomas",website:"Įveskite teisingą nuorodą (URL)"},noteDescription:"Pateik savo biblioteką, jog ji galėtų būti įtraukta į <link></link>jog kiti žmonės galėtų tai naudoti savo piešiniuose.",noteGuidelines:"Visų pirma, biblioteka turi būti rankiniu būdu patvirtinta. Prašome paskaityti <link>gairės</link>",noteLicense:"<link>MIT licencija, </link>",noteItems:"",atleastOneLibItem:"",republishWarning:""},g={title:"Biblioteka pateikta",content:"Ačiū {{authorName}}. Tavo biblioteka buvo pateikta peržiūrai. Gali sekti būseną<link>čia</link>"},y={resetLibrary:"Atstatyti biblioteką",removeItemsFromLib:"Pašalinti pasirinktus elementus iš bibliotekos"},v={header:"",label:{withBackground:"",onlySelected:"",darkMode:"",embedScene:"",scale:"",padding:""},tooltip:{embedScene:""},title:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""},button:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""}},h={tooltip:"",link:""},S={angle:"",element:"Elementas",elements:"Elementai",height:"Aukštis",scene:"Scena",selected:"Pasirinkta",storage:"Saugykla",title:"Informacija moksliukams",total:"",version:"",versionCopy:"",versionNotAvailable:"",width:"Plotis"},E={addedToLibrary:"Pridėta į biblioteką",copyStyles:"",copyToClipboard:"Nukopijuota į iškarpinę.",copyToClipboardAsPng:"",fileSaved:"Failas išsaugotas.",fileSavedToFilename:"Išsaugota į {filename}",canvas:"drobė",selection:"",pasteAsSingleElement:"",unableToEmbed:"",unrecognizedLinkFormat:""},F={transparent:"Permatoma",black:"",white:"",red:"",pink:"",grape:"",violet:"",gray:"",blue:"",cyan:"",teal:"",green:"",yellow:"",orange:"",bronze:""},T={app:{center_heading:"",center_heading_plus:"",menuHint:""},defaults:{menuHint:"",center_heading:"",toolbarHint:"",helpHint:""}},P={mostUsedCustomColors:"",colors:"",shades:"",hexCode:"",noShades:""},w={action:{exportToImage:{title:"",button:"",description:""},saveToDisk:{title:"",button:"",description:""},excalidrawPlus:{title:"",button:"",description:""}},modal:{loadFromFile:{title:"",button:"",description:""},shareableLink:{title:"",button:"",description:""}}},x={title:"",button:"",description:"",syntax:"",preview:""},j={labels:i,library:e,buttons:a,alerts:t,errors:o,toolBar:r,headings:u,hints:s,canvasError:l,errorSplash:n,roomDialog:d,errorDialog:k,exportDialog:p,helpDialog:m,clearCanvasDialog:c,publishDialog:b,publishSuccessDialog:g,confirmDialog:y,imageExportDialog:v,encrypted:h,stats:S,toast:E,colors:F,welcomeScreen:T,colorPicker:P,overwriteConfirm:w,mermaid:x};exports.alerts=t;exports.buttons=a;exports.canvasError=l;exports.clearCanvasDialog=c;exports.colorPicker=P;exports.colors=F;exports.confirmDialog=y;exports.default=j;exports.encrypted=h;exports.errorDialog=k;exports.errorSplash=n;exports.errors=o;exports.exportDialog=p;exports.headings=u;exports.helpDialog=m;exports.hints=s;exports.imageExportDialog=v;exports.labels=i;exports.library=e;exports.mermaid=x;exports.overwriteConfirm=w;exports.publishDialog=b;exports.publishSuccessDialog=g;exports.roomDialog=d;exports.stats=S;exports.toast=E;exports.toolBar=r;exports.welcomeScreen=T;
|
package/dist/layers.Brr7ESXx.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./layers.ETa5WiKT.js"),t=require("./layers.DxzveV49.js"),_=require("./layers.BLd2spTm.js"),N=require("./layers.sf1uvSch.js");require("./layers.hYSHj9J1.js");require("lodash-es");require("./layers.Cyzu9PKQ.js");const k=s=>t.common$1.sanitizeText(s,t.getConfig());let w={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const D=function(s,o,f,i){const e=Object.keys(s);t.log$1.info("keys:",e),t.log$1.info(s),e.forEach(function(r){var l,c;const n=s[r],d={shape:"rect",id:n.id,domId:n.domId,labelText:k(n.id),labelStyle:"",style:"fill: none; stroke: black",padding:((l=t.getConfig().flowchart)==null?void 0:l.padding)??((c=t.getConfig().class)==null?void 0:c.padding)};o.setNode(n.id,d),$(n.classes,o,f,i,n.id),t.log$1.info("setNode",d)})},$=function(s,o,f,i,e){const r=Object.keys(s);t.log$1.info("keys:",r),t.log$1.info(s),r.filter(l=>s[l].parent==e).forEach(function(l){var c,n;const a=s[l],d=a.cssClasses.join(" "),g=t.getStylesFromArray(a.styles),p=a.label??a.id,u=0,y={labelStyle:g.labelStyle,shape:"class_box",labelText:k(p),classData:a,rx:u,ry:u,class:d,style:g.style,id:a.id,domId:a.domId,tooltip:i.db.getTooltip(a.id,e)||"",haveCallback:a.haveCallback,link:a.link,width:a.type==="group"?500:void 0,type:a.type,padding:((c=t.getConfig().flowchart)==null?void 0:c.padding)??((n=t.getConfig().class)==null?void 0:n.padding)};o.setNode(a.id,y),e&&o.setParent(a.id,e),t.log$1.info("setNode",y)})},E=function(s,o,f,i){t.log$1.info(s),s.forEach(function(e,r){var l,c;const n=e,a="",d={labelStyle:"",style:""},g=n.text,p=0,b={labelStyle:d.labelStyle,shape:"note",labelText:k(g),noteData:n,rx:p,ry:p,class:a,style:d.style,id:n.id,domId:n.id,tooltip:"",type:"note",padding:((l=t.getConfig().flowchart)==null?void 0:l.padding)??((c=t.getConfig().class)==null?void 0:c.padding)};if(o.setNode(n.id,b),t.log$1.info("setNode",b),!n.class||!(n.class in i))return;const y=f+r,x={id:`edgeNote${y}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:t.interpolateToCurve(w.curve,t.curveLinear)};o.setEdge(n.id,n.class,x,y)})},A=function(s,o){const f=t.getConfig().flowchart;let i=0;s.forEach(function(e){var r;i++;const l={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:`id_${e.id1}_${e.id2}_${i}`,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:C(e.relation.type1),arrowTypeEnd:C(e.relation.type2),style:"fill:none",labelStyle:"",curve:t.interpolateToCurve(f==null?void 0:f.curve,t.curveLinear)};if(t.log$1.info(l,e),e.style!==void 0){const c=t.getStylesFromArray(e.style);l.style=c.style,l.labelStyle=c.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",((r=t.getConfig().flowchart)==null?void 0:r.htmlLabels)??t.getConfig().htmlLabels?(l.labelType="html",l.label='<span class="edgeLabel">'+e.text+"</span>"):(l.labelType="text",l.label=e.text.replace(t.common$1.lineBreakRegex,`
|
|
2
|
-
`),e.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),o.setEdge(e.id1,e.id2,l,i)})},q=function(s){w={...w,...s}},M=async function(s,o,f,i){t.log$1.info("Drawing class - ",o);const e=t.getConfig().flowchart??t.getConfig().class,r=t.getConfig().securityLevel;t.log$1.info("config:",e);const l=(e==null?void 0:e.nodeSpacing)??50,c=(e==null?void 0:e.rankSpacing)??50,n=new _.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:i.db.getDirection(),nodesep:l,ranksep:c,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),a=i.db.getNamespaces(),d=i.db.getClasses(),g=i.db.getRelations(),p=i.db.getNotes();t.log$1.info(g),D(a,n,o,i),$(d,n,o,i),A(g,n),E(p,n,g.length+1,d);let u;r==="sandbox"&&(u=t.select("#i"+o));const b=r==="sandbox"?t.select(u.nodes()[0].contentDocument.body):t.select("body"),y=b.select(`[id="${o}"]`),x=b.select("#"+o+" g");if(await N.render(x,n,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",o),t.utils.insertTitle(y,"classTitleText",(e==null?void 0:e.titleTopMargin)??5,i.db.getDiagramTitle()),t.setupGraphViewbox$1(n,y,e==null?void 0:e.diagramPadding,e==null?void 0:e.useMaxWidth),!(e!=null&&e.htmlLabels)){const S=r==="sandbox"?u.nodes()[0].contentDocument:document,L=S.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const m of L){const T=m.getBBox(),h=S.createElementNS("http://www.w3.org/2000/svg","rect");h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",T.width),h.setAttribute("height",T.height),m.insertBefore(h,m.firstChild)}}};function C(s){let o;switch(s){case 0:o="aggregation";break;case 1:o="extension";break;case 2:o="composition";break;case 3:o="dependency";break;case 4:o="lollipop";break;default:o="none"}return o}const I={setConf:q,draw:M},B={parser:v.parser$1,db:v.db,renderer:I,styles:v.styles,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,v.db.clear()}};exports.diagram=B;
|