@layers-app/editor 2.1.4 → 2.1.6
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.cjs +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{layers.BTyLb_e_.js → layers.-3TgXlPl.js} +1 -1
- package/dist/layers.-y_UZ59Z.js +1 -0
- package/dist/{layers.DzUUP9Du.js → layers.0Z-avhNl.js} +1 -1
- package/dist/{layers.Byu2aohV.js → layers.1Z49Tkee.js} +1 -1
- package/dist/{layers.Da-2dyEi.js → layers.2bIZBONK.js} +1 -1
- package/dist/{layers.GLyR-OWz.js → layers.3sAB09G7.js} +151 -142
- package/dist/{layers.D3UeFDcM.js → layers.4dFnOP_Q.js} +1 -1
- package/dist/{layers.CYx3WWdM.js → layers.5MAh1_gS.js} +1 -1
- package/dist/layers.6uJ-DOHJ.js +567 -0
- package/dist/{layers.BKoYtTI-.js → layers.6zcrl6Ag.js} +1 -1
- package/dist/{layers.7xEtaMzU.js → layers.8G8Av-tH.js} +1 -1
- package/dist/{layers.piLdW3O-.js → layers.8JqVfT2m.js} +1 -1
- package/dist/{layers.YVE78Hde.js → layers.B19EH92g.js} +1 -1
- package/dist/{layers.BqwIK88k.js → layers.B2JHXdAE.js} +1 -1
- package/dist/{layers.BMBTFPwh.js → layers.B6Z2psFi.js} +1 -1
- package/dist/{layers.Bz56YIfK.js → layers.B6aMdFQc.js} +1 -1
- package/dist/{layers.AW6ZJg83.js → layers.B6c13aD6.js} +1 -1
- package/dist/{layers.DPBt8Ar9.js → layers.B6iFRkR5.js} +1 -1
- package/dist/{layers.DZp57Oqh.js → layers.B6lhQbU-.js} +1 -1
- package/dist/{layers.DLiB9OEd.js → layers.B8BNzzVG.js} +1 -1
- package/dist/{layers.DFf3K_BU.js → layers.BDetUzwq.js} +1 -1
- package/dist/{layers.DpPFzOm0.js → layers.BDosuCNb.js} +1 -1
- package/dist/{layers.Ci_-CaC7.js → layers.BGnv6nVK.js} +1 -1
- package/dist/{layers.CEbI900B.js → layers.BHflHQ2e.js} +1 -1
- package/dist/{layers.C2aWyQ_z.js → layers.BKRa6lfR.js} +1 -1
- package/dist/{layers.CC7k-uCF.js → layers.BNSJnTk_.js} +1 -1
- package/dist/{layers.DndmHTyu.js → layers.BNxU4V--.js} +1 -1
- package/dist/{layers.DyOMyr1U.js → layers.BPkSZe2P.js} +1 -1
- package/dist/{layers.CS7NMRN_.js → layers.BQkCHqN6.js} +25 -25
- package/dist/{layers.B5OXOXmy.js → layers.BRpi6qQ4.js} +1 -1
- package/dist/{layers.BGFBC-Gr.js → layers.BS96CeFS.js} +1 -1
- package/dist/{layers.BQaOGAZ0.js → layers.BSY9Mv6c.js} +1 -1
- package/dist/layers.BTCgzes8.js +8 -0
- package/dist/{layers.DRMN4wK5.js → layers.BVYqruEo.js} +1 -1
- package/dist/{layers.BsGxddFV.js → layers.BVcp5-RY.js} +1 -1
- package/dist/{layers.KLaNL4bG.js → layers.BVmpOSlQ.js} +1 -1
- package/dist/{layers.Ck3pOq18.js → layers.BXahqVhg.js} +1 -1
- package/dist/{layers.BocO2HWt.js → layers.BYETtX9w.js} +1 -1
- package/dist/{layers.BJFKH68r.js → layers.B_xT7x5V.js} +1 -1
- package/dist/{layers.DTaNTG_B.js → layers.Ba4WXIFU.js} +5981 -6248
- package/dist/{layers.CKKHzx-Z.js → layers.BatMJqVT.js} +4 -4
- package/dist/{layers.CLQWeDwS.js → layers.BawFQe91.js} +4 -4
- package/dist/{layers.hN_6Bz4k.js → layers.BbcYhaon.js} +1 -1
- package/dist/{layers.C_DV_R5p.js → layers.BbdRnRp2.js} +1 -1
- package/dist/layers.BeadO2MV.js +1 -0
- package/dist/{layers.HNZIi4HM.js → layers.BfGNgQy_.js} +3 -3
- package/dist/{layers.BVpXkDdv.js → layers.Bj7b3tO1.js} +1 -1
- package/dist/{layers.DNJkc-Mo.js → layers.BjTAXqV7.js} +16818 -17723
- package/dist/{layers.DQwmvElW.js → layers.BjtVaoUo.js} +1 -1
- package/dist/{layers.BG--ipsx.js → layers.Bju18dWi.js} +3 -3
- package/dist/{layers.Dgp1gaU6.js → layers.Bl9MmPG1.js} +4 -4
- package/dist/{layers.Cswoe0IX.js → layers.BmMFB1RK.js} +1 -1
- package/dist/{layers.DJ-3Xpuz.js → layers.BmSz90V2.js} +1 -1
- package/dist/{layers.BLgjmb5i.js → layers.BoHcZ0sA.js} +1 -1
- package/dist/{layers.CrxxpXzR.js → layers.BoT2MuaR.js} +1 -1
- package/dist/{layers.Hc8Pmmic.js → layers.BoX7jDz7.js} +44 -44
- package/dist/{layers.wB2fo65H.js → layers.BrLnWaTy.js} +1 -1
- package/dist/{layers.Df22ww72.js → layers.BrSi5oAU.js} +3 -3
- package/dist/{layers.BOlJGPxF.js → layers.Bto4lZqE.js} +1 -1
- package/dist/{layers.CLXOAVPz.js → layers.BxZqQF-c.js} +1 -1
- package/dist/{layers.CiuG5bFW.js → layers.Bxc-3eQq.js} +1 -1
- package/dist/{layers.Cgc8JRjh.js → layers.By754xsJ.js} +1 -1
- package/dist/{layers.oPXgxcx0.js → layers.C0ictMKk.js} +1 -1
- package/dist/{layers.CvnlEd9b.js → layers.C1Kbzg0l.js} +1 -1
- package/dist/{layers.C27S2Xar.js → layers.C21XnGgj.js} +1 -1
- package/dist/{layers.D9SNCBUi.js → layers.C6w7QYNY.js} +1 -1
- package/dist/{layers.D4_rAe6g.js → layers.CAm3BC8Q.js} +1 -1
- package/dist/{layers.DpMixDb4.js → layers.CC3oMC39.js} +1 -1
- package/dist/{layers.BMICBPj8.js → layers.CC9JBLCA.js} +4 -4
- package/dist/{layers.CX8BXozR.js → layers.CCL8yD4w.js} +1 -1
- package/dist/{layers.B3Puj5he.js → layers.CCYhncq7.js} +1 -1
- package/dist/{layers.BGls9yuY.js → layers.CD715ntl.js} +1 -1
- package/dist/{layers.B2hwWcA2.js → layers.CDeHOe3V.js} +1 -1
- package/dist/{layers.DDVdzu5M.js → layers.CFIFmSA9.js} +1 -1
- package/dist/{layers.DeM__u1_.js → layers.CFsfo8sk.js} +1 -1
- package/dist/{layers.Cli1o2i6.js → layers.CInzTZeQ.js} +1 -1
- package/dist/{layers.Aa4aSsWk.js → layers.CIoyw-2B.js} +1 -1
- package/dist/{layers.CNpkcp3V.js → layers.CIsYLv6w.js} +4 -4
- package/dist/{layers.U56kgtto.js → layers.CItsDxfy.js} +4 -4
- package/dist/{layers.0h0xCCvu.js → layers.CKc8sSfB.js} +3 -3
- package/dist/{layers.B8zC9lOU.js → layers.CL0LZTm_.js} +1 -1
- package/dist/{layers.gu8VQIr-.js → layers.CLQ-WBiE.js} +1 -1
- package/dist/{layers.Cp00BqUB.js → layers.CLZ-clnB.js} +1 -1
- package/dist/{layers.BppwELpk.js → layers.CMLo27jB.js} +1 -1
- package/dist/{layers.CmpAOvSy.js → layers.CMbvmj-v.js} +1 -1
- package/dist/layers.CNDfPUnP.js +1 -0
- package/dist/{layers.rq_uH5pA.js → layers.CPHB2tQf.js} +1 -1
- package/dist/{layers.BxzEqaLL.js → layers.CQA0ZtL_.js} +1 -1
- package/dist/{layers.B8h3aTAI.js → layers.CSLnEoq2.js} +1 -1
- package/dist/{layers.BKHDRNqX.js → layers.CUZK-d0d.js} +1 -1
- package/dist/{layers.BGOtFCsx.js → layers.CYCc7HrB.js} +1 -1
- package/dist/{layers.GornH8rL.js → layers.C_CAkOlt.js} +1 -1
- package/dist/{layers.DcFGX6Rw.js → layers.Ca-S1hBE.js} +1 -1
- package/dist/{layers.C3LY8tx7.js → layers.CagWt2Eo.js} +2 -2
- package/dist/{layers.4n1gtRVe.js → layers.CcO4GazF.js} +1 -1
- package/dist/{layers.DIF45FFn.js → layers.CcluVD0Y.js} +1 -1
- package/dist/{layers.Dld7xCuy.js → layers.CeG6bPSC.js} +1 -1
- package/dist/{layers.D4x86ACf.js → layers.CfgQ13RL.js} +1 -1
- package/dist/{layers.C9pSe8Gq.js → layers.CfoDCAkj.js} +1 -1
- package/dist/{layers.CU4oDgOc.js → layers.CfrcIq9F.js} +1 -1
- package/dist/{layers.Ba8sUBgc.js → layers.CgDKN3q5.js} +1 -1
- package/dist/{layers.Dy3JpZkl.js → layers.CgOvXIyv.js} +1 -1
- package/dist/{layers.FICd1tQW.js → layers.Chbc8QWA.js} +3 -3
- package/dist/{layers.D3OjD3_Z.js → layers.CiA8q6tp.js} +1 -1
- package/dist/{layers.MHceKg9n.js → layers.CnNWEk4w.js} +1 -1
- package/dist/{layers.DRmnp_VT.js → layers.CsDzqWvW.js} +5 -6
- package/dist/{layers.CKOPZMk4.js → layers.CtPYPMlp.js} +1 -1
- package/dist/{layers.Dvn_9A0a.js → layers.CuWIUgEV.js} +1 -1
- package/dist/{layers.D2nNrhbx.js → layers.Cuso1aRZ.js} +1035 -1028
- package/dist/{layers.BDSOX2CD.js → layers.CyBQDKdl.js} +4 -4
- package/dist/{layers.BBgpAhwA.js → layers.CyLbNYcF.js} +1 -1
- package/dist/{layers.B_fccDFH.js → layers.Cz2NS5a_.js} +1 -1
- package/dist/{layers.DF3IwTvD.js → layers.Cz7Le3Ru.js} +1 -1
- package/dist/{layers.Bo67iVkw.js → layers.D28CChdQ.js} +1 -1
- package/dist/{layers.D6Rcr62n.js → layers.D5fMOEiz.js} +1 -1
- package/dist/{layers.Bq9RC4C4.js → layers.D5k-YiOT.js} +1 -1
- package/dist/{layers.CIV5LuL0.js → layers.D7t9A_uM.js} +1 -1
- package/dist/{layers.bK_voO90.js → layers.DAZuMiIj.js} +1 -1
- package/dist/{layers.D3xEVf11.js → layers.DAy3XJcV.js} +1 -1
- package/dist/{layers.BnZeGjMO.js → layers.DB9LziaF.js} +1 -1
- package/dist/{layers.BS8vE0dV.js → layers.DC5zyJ6O.js} +1 -1
- package/dist/{layers.CbB7a2CQ.js → layers.DCYhbLtA.js} +1 -1
- package/dist/{layers.CS330bin.js → layers.DCnGbf9n.js} +1 -1
- package/dist/{layers.7TsK-Kpe.js → layers.DDvAprfe.js} +4 -4
- package/dist/{layers.CpmoXIAt.js → layers.DDzBsP2q.js} +1 -1
- package/dist/{layers.sr1vtGu6.js → layers.DFKTExxa.js} +1 -1
- package/dist/{layers.Ce1CohBK.js → layers.DG_1__o7.js} +5 -5
- package/dist/{layers.CsxVLmvQ.js → layers.DGkkcTAA.js} +1 -1
- package/dist/{layers.BDZyk-_d.js → layers.DHQ1DpRF.js} +1 -1
- package/dist/{layers.zwanR9F3.js → layers.DHmHMxEk.js} +3 -3
- package/dist/{layers.CEng0uhp.js → layers.DIu4npTa.js} +2 -2
- package/dist/{layers.CgwU5cxh.js → layers.DJoIlneg.js} +1 -1
- package/dist/{layers.Dod6Nf_j.js → layers.DKxhMSBd.js} +1 -1
- package/dist/{layers.D03Ua4xq.js → layers.DLrapbTu.js} +1 -1
- package/dist/{layers.CgD7ay5J.js → layers.DMwcLUwV.js} +2 -2
- package/dist/{layers.BT7Zo_Ih.js → layers.DRXfldPX.js} +1 -1
- package/dist/{layers.Co_xJxKs.js → layers.DS0BQ9RR.js} +1 -1
- package/dist/{layers.Bj4PSUye.js → layers.DUN-x_KK.js} +1 -1
- package/dist/{layers.i_mYGumA.js → layers.DUeteju0.js} +1 -1
- package/dist/{layers.CUAcceRX.js → layers.DWitnGTQ.js} +1 -1
- package/dist/{layers.BDybYMm_.js → layers.DZZOUOdZ.js} +1 -1
- package/dist/{layers.CLxWcsfl.js → layers.D_TWGk7f.js} +6 -6
- package/dist/{layers.C28APEyB.js → layers.DaWjJFPe.js} +3 -3
- package/dist/{layers.DTgmIl0j.js → layers.DalS0AyT.js} +3 -3
- package/dist/{layers.ktfZPCbd.js → layers.DbyX02pi.js} +1 -1
- package/dist/{layers.W-AFrwh2.js → layers.DcY34rCh.js} +1 -1
- package/dist/{layers.DqtTeUFK.js → layers.DelEiYgx.js} +1 -1
- package/dist/{layers.DdafmrR3.js → layers.Dfr3zGq4.js} +2 -2
- package/dist/{layers.C7_sEZsw.js → layers.DjP0L5aa.js} +1 -1
- package/dist/{layers.RQU5nEtM.js → layers.DjgQExnw.js} +1 -1
- package/dist/{layers.DPbQjNkl.js → layers.Dl37Ui5U.js} +1 -1
- package/dist/{layers.DnMJFLGr.js → layers.DmSN1caD.js} +4 -4
- package/dist/{layers.CqTnCIrx.js → layers.Dpt3wYWI.js} +1 -1
- package/dist/{layers.C4VSQwqA.js → layers.DqdiqYXg.js} +1 -1
- package/dist/{layers.CRGuNhS-.js → layers.DrQH863o.js} +1 -1
- package/dist/{layers.BeMgdWFI.js → layers.DtJwUBRY.js} +1 -1
- package/dist/{layers.BN3ygs4g.js → layers.Dtj4OBzs.js} +1 -1
- package/dist/layers.DusMR33V.js +6 -0
- package/dist/{layers.rbpTi3-T.js → layers.DytFDqA2.js} +1 -1
- package/dist/{layers.C28M0pbG.js → layers.DzPR1dM9.js} +5 -5
- package/dist/{layers.Ccq59tb8.js → layers.FijKdNBd.js} +1 -1
- package/dist/{layers.CJ7b2VoP.js → layers.GzrGLfgB.js} +3 -3
- package/dist/{layers.Cdo2oTor.js → layers.Hg7rEajm.js} +1 -1
- package/dist/{layers.MubFSdwe.js → layers.I2XZcizT.js} +1 -1
- package/dist/{layers.DxbeR8gn.js → layers.IEQqXn5n.js} +1 -1
- package/dist/{layers.CvysdL-r.js → layers.KfF8ak4B.js} +1 -1
- package/dist/{layers.EW49Ned6.js → layers.KkhcEh3T.js} +1 -1
- package/dist/{layers.BRx5nPJB.js → layers.MmcIrkNV.js} +1 -1
- package/dist/{layers.Dzl9Kzo9.js → layers.OI_Bhwwf.js} +1 -1
- package/dist/{layers.CS2Q0MP6.js → layers.R7ydOy9f.js} +1 -1
- package/dist/{layers.CiVpjulR.js → layers.T4P6Dy6O.js} +1 -1
- package/dist/{layers.JQ45PKXx.js → layers.UxxqKXFR.js} +1 -1
- package/dist/{layers.DQ15N9DZ.js → layers.VIYQvTTK.js} +1 -1
- package/dist/layers.W9fmQz5y.js +1 -0
- package/dist/{layers.C9egzq2p.js → layers.WzauS0JH.js} +1 -1
- package/dist/{layers.K43S7aP0.js → layers.X5GX-2If.js} +1 -1
- package/dist/{layers.B54prYGZ.js → layers.XBLltQjI.js} +1 -1
- package/dist/{layers.CSSbl973.js → layers.Ybzdv-R1.js} +1 -1
- package/dist/{layers.F3RaMrM-.js → layers.ZwHHYsTX.js} +1 -1
- package/dist/{layers.DkgAwtpC.js → layers._6uyUep7.js} +1 -1
- package/dist/{layers.Cm_sw-AY.js → layers.abQyPVbZ.js} +1 -1
- package/dist/{layers.DvzDTiKM.js → layers.asimq_FR.js} +1 -1
- package/dist/{layers.SfPz0Yvc.js → layers.bXnZZRfF.js} +1 -1
- package/dist/layers.bsGHg1a3.js +1 -0
- package/dist/{layers.DItbZWrP.js → layers.cslk7h-Q.js} +1 -1
- package/dist/{layers.fAOYEH60.js → layers.eyWpGtOv.js} +1 -1
- package/dist/{layers.DC1iLoXw.js → layers.fdpgqNBc.js} +1 -1
- package/dist/{layers.CVWgLN9d.js → layers.hirOr7cJ.js} +2 -2
- package/dist/{layers.C6jxKkTv.js → layers.i78Mroc0.js} +1 -1
- package/dist/{layers.1iRWn23E.js → layers.iI4az_mW.js} +1 -1
- package/dist/{layers.Bhcz8svQ.js → layers.jlC4YpwN.js} +1 -1
- package/dist/{layers.CqMMm2pL.js → layers.kDEUgRsF.js} +3 -3
- package/dist/{layers.CAMZZkZG.js → layers.l-Biu9SC.js} +1 -1
- package/dist/{layers.DlEA3-cX.js → layers.lOyV0ydo.js} +1 -1
- package/dist/{layers.CFZVIlvH.js → layers.mocNc5B-.js} +1 -1
- package/dist/{layers.BcTsQfaC.js → layers.pTXUfVbB.js} +1 -1
- package/dist/{layers.47swObhK.js → layers.pXCOyYrZ.js} +1 -1
- package/dist/{layers.EW6UiJMi.js → layers.qdc4V4yC.js} +1 -1
- package/dist/{layers.DF1wIyJl.js → layers.sZJv3_GX.js} +1 -1
- package/dist/layers.yrEz0VCz.js +845 -0
- package/package.json +13 -13
- package/dist/layers.BQNASuUa.js +0 -6
- package/dist/layers.BSSHVyJ4.js +0 -1
- package/dist/layers.BfoCDFZ9.js +0 -1
- package/dist/layers.CL3mtH76.js +0 -539
- package/dist/layers.CPmFoLSN.js +0 -1125
- package/dist/layers.CmmYt3Ou.js +0 -1
- package/dist/layers.D0jPJbv8.js +0 -8
- package/dist/layers.DilA0qnM.js +0 -54
- package/dist/layers.DojFOI4Z.js +0 -1
- package/dist/layers.Dy-sMwk8.js +0 -1
- package/dist/layers.lXfukYV5.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./layers.BQkCHqN6.js");require("./layers.BoX7jDz7.js");require("lodash-es/memoize.js");require("lodash-es/merge.js");require("lodash-es/isEmpty.js");const qt=require("./layers.-3TgXlPl.js");var xt=(function(){var e=function(K,n,s,l){for(s=s||{},l=K.length;l--;s[K[l]]=n);return s},r=[1,3],h=[1,4],x=[1,5],g=[1,6],d=[1,7],u=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],p=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],i=[32,33,34],q=[2,7],y=[1,13],B=[1,17],N=[1,18],V=[1,19],I=[1,20],b=[1,21],H=[1,22],M=[1,23],z=[1,24],it=[1,25],at=[1,26],nt=[1,27],U=[1,30],$=[1,31],_=[1,32],A=[1,33],m=[1,34],t=[1,35],S=[1,36],k=[1,37],F=[1,38],P=[1,39],v=[1,40],C=[1,41],L=[1,42],X=[1,57],O=[1,58],E=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],ot={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(n,s,l,o,T,a,et){var f=a.length-1;switch(T){case 12:this.$=a[f].trim(),o.setDiagramTitle(this.$);break;case 13:this.$=a[f].trim(),o.setAccTitle(this.$);break;case 14:case 15:this.$=a[f].trim(),o.setAccDescription(this.$);break;case 16:o.addSection(a[f].substr(8)),this.$=a[f].substr(8);break;case 17:o.addPoint(a[f-3],a[f-1],a[f]);break;case 18:o.setXAxisLeftText(a[f-2]),o.setXAxisRightText(a[f]);break;case 19:a[f-1].text+=" ⟶ ",o.setXAxisLeftText(a[f-1]);break;case 20:o.setXAxisLeftText(a[f]);break;case 21:o.setYAxisBottomText(a[f-2]),o.setYAxisTopText(a[f]);break;case 22:a[f-1].text+=" ⟶ ",o.setYAxisBottomText(a[f-1]);break;case 23:o.setYAxisBottomText(a[f]);break;case 24:o.setQuadrant1Text(a[f]);break;case 25:o.setQuadrant2Text(a[f]);break;case 26:o.setQuadrant3Text(a[f]);break;case 27:o.setQuadrant4Text(a[f]);break;case 31:this.$={text:a[f],type:"text"};break;case 32:this.$={text:a[f-1].text+""+a[f],type:a[f-1].type};break;case 33:this.$={text:a[f],type:"text"};break;case 34:this.$={text:a[f],type:"markdown"};break;case 35:this.$=a[f];break;case 36:this.$=a[f-1]+""+a[f];break}},table:[{3:1,4:2,5:r,6:h,32:x,33:g,34:d},{1:[3]},{3:8,4:2,5:r,6:h,32:x,33:g,34:d},{3:9,4:2,5:r,6:h,32:x,33:g,34:d},e(u,[2,4],{7:10}),e(p,[2,28]),e(p,[2,29]),e(p,[2,30]),{1:[2,1]},{1:[2,2]},e(i,q,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:y,13:B,15:N,17:V,19:I,20:b,25:H,27:M,28:z,29:it,30:at,31:nt,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L}),e(u,[2,5]),{4:43,32:x,33:g,34:d},e(i,q,{10:14,11:15,12:16,21:28,35:29,9:44,5:y,13:B,15:N,17:V,19:I,20:b,25:H,27:M,28:z,29:it,30:at,31:nt,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L}),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},e(i,[2,15]),e(i,[2,16]),{21:48,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:49,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:50,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:51,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:52,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:53,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{5:X,22:[1,54],35:56,36:55,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O},e(E,[2,31]),e(E,[2,33]),e(E,[2,34]),e(E,[2,37]),e(E,[2,38]),e(E,[2,39]),e(E,[2,40]),e(E,[2,41]),e(E,[2,42]),e(E,[2,43]),e(E,[2,44]),e(E,[2,45]),e(E,[2,46]),e(E,[2,47]),e(u,[2,6]),e(i,[2,8]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,20],{36:55,35:56,5:X,26:[1,59],40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,23],{36:55,35:56,5:X,26:[1,60],40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,24],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,25],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,26],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,27],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),{23:[1,61]},e(E,[2,32]),e(E,[2,48]),e(E,[2,49]),e(E,[2,50]),e(i,[2,19],{35:29,21:62,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L}),e(i,[2,22],{35:29,21:63,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L}),{24:[1,64]},e(i,[2,18],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,21],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(n,s){if(s.recoverable)this.trace(n);else{var l=new Error(n);throw l.hash=s,l}},parse:function(n){var s=this,l=[0],o=[],T=[null],a=[],et=this.table,f="",rt=0,gt=0,_t=2,pt=1,mt=a.slice.call(arguments,1),D=Object.create(this.lexer),Z={yy:{}};for(var ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ht)&&(Z.yy[ht]=this.yy[ht]);D.setInput(n,Z.yy),Z.yy.lexer=D,Z.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ut=D.yylloc;a.push(ut);var At=D.options&&D.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function bt(){var j;return j=o.pop()||D.lex()||pt,typeof j!="number"&&(j instanceof Array&&(o=j,j=o.pop()),j=s.symbols_[j]||j),j}for(var W,J,Q,dt,tt={},st,Y,yt,lt;;){if(J=l[l.length-1],this.defaultActions[J]?Q=this.defaultActions[J]:((W===null||typeof W>"u")&&(W=bt()),Q=et[J]&&et[J][W]),typeof Q>"u"||!Q.length||!Q[0]){var ft="";lt=[];for(st in et[J])this.terminals_[st]&&st>_t&<.push("'"+this.terminals_[st]+"'");D.showPosition?ft="Parse error on line "+(rt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+lt.join(", ")+", got '"+(this.terminals_[W]||W)+"'":ft="Parse error on line "+(rt+1)+": Unexpected "+(W==pt?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(ft,{text:D.match,token:this.terminals_[W]||W,line:D.yylineno,loc:ut,expected:lt})}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+J+", token: "+W);switch(Q[0]){case 1:l.push(W),T.push(D.yytext),a.push(D.yylloc),l.push(Q[1]),W=null,gt=D.yyleng,f=D.yytext,rt=D.yylineno,ut=D.yylloc;break;case 2:if(Y=this.productions_[Q[1]][1],tt.$=T[T.length-Y],tt._$={first_line:a[a.length-(Y||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(Y||1)].first_column,last_column:a[a.length-1].last_column},At&&(tt._$.range=[a[a.length-(Y||1)].range[0],a[a.length-1].range[1]]),dt=this.performAction.apply(tt,[f,gt,rt,Z.yy,Q[1],T,a].concat(mt)),typeof dt<"u")return dt;Y&&(l=l.slice(0,-1*Y*2),T=T.slice(0,-1*Y),a=a.slice(0,-1*Y)),l.push(this.productions_[Q[1]][0]),T.push(tt.$),a.push(tt._$),yt=et[l[l.length-2]][l[l.length-1]],l.push(yt);break;case 3:return!0}}return!0}},Tt=(function(){var K={EOF:1,parseError:function(s,l){if(this.yy.parser)this.yy.parser.parseError(s,l);else throw new Error(s)},setInput:function(n,s){return this.yy=s||this.yy||{},this._input=n,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 n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var s=n.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var s=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var o=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),l.length-1&&(this.yylineno-=l.length-1);var T=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:l?(l.length===o.length?this.yylloc.first_column:0)+o[o.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-s]),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
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),s=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("./layers.Bto4lZqE.js"),d=require("./layers.BQkCHqN6.js");require("lodash-es");const $=require("./layers.Cyzu9PKQ.js"),H=require("./layers.BLd2spTm.js");require("./layers.BoX7jDz7.js");require("lodash-es/memoize.js");require("lodash-es/merge.js");require("lodash-es/isEmpty.js");const _=require("./layers.CcO4GazF.js");let S=0;const C=function(i,r,t,l,p){const c=function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}};r.points=r.points.filter(e=>!Number.isNaN(e.y));const o=r.points,h=_.line().x(function(e){return e.x}).y(function(e){return e.y}).curve(d.curveBasis),n=i.append("path").attr("d",h(o)).attr("id","edge"+S).attr("class","relation");let a="";l.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),t.relation.lineType==1&&n.attr("class","relation dashed-line"),t.relation.lineType==10&&n.attr("class","relation dotted-line"),t.relation.type1!=="none"&&n.attr("marker-start","url("+a+"#"+c(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&n.attr("marker-end","url("+a+"#"+c(t.relation.type2)+"End)");let f,u;const x=r.points.length;let w=d.utils.calcLabelPosition(r.points);f=w.x,u=w.y;let y,b,m,k;if(x%2!==0&&x>1){let e=d.utils.calcCardinalityPosition(t.relation.type1!=="none",r.points,r.points[0]),s=d.utils.calcCardinalityPosition(t.relation.type2!=="none",r.points,r.points[x-1]);d.log$1.debug("cardinality_1_point "+JSON.stringify(e)),d.log$1.debug("cardinality_2_point "+JSON.stringify(s)),y=e.x,b=e.y,m=s.x,k=s.y}if(t.title!==void 0){const e=i.append("g").attr("class","classLabel"),s=e.append("text").attr("class","label").attr("x",f).attr("y",u).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=s;const g=s.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",g.x-l.padding/2).attr("y",g.y-l.padding/2).attr("width",g.width+l.padding).attr("height",g.height+l.padding)}d.log$1.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",y).attr("y",b).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",m).attr("y",k).attr("fill","black").attr("font-size","6").text(t.relationTitle2),S++},A=function(i,r,t,l){d.log$1.debug("Rendering class ",r,t);const p=r.id,c={id:p,label:r.id,width:0,height:0},o=i.append("g").attr("id",l.db.lookUpDomId(p)).attr("class","classGroup");let h;r.link?h=o.append("svg:a").attr("xlink:href",r.link).attr("target",r.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):h=o.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;r.annotations.forEach(function(s){const g=h.append("tspan").text("«"+s+"»");n||g.attr("dy",t.textHeight),n=!1});let a=v(r);const f=h.append("tspan").text(a).attr("class","title");n||f.attr("dy",t.textHeight);const u=h.node().getBBox().height;let x,w,y;if(r.members.length>0){x=o.append("line").attr("x1",0).attr("y1",t.padding+u+t.dividerMargin/2).attr("y2",t.padding+u+t.dividerMargin/2);const s=o.append("text").attr("x",t.padding).attr("y",u+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,r.members.forEach(function(g){N(s,g,n,t),n=!1}),w=s.node().getBBox()}if(r.methods.length>0){y=o.append("line").attr("x1",0).attr("y1",t.padding+u+t.dividerMargin+w.height).attr("y2",t.padding+u+t.dividerMargin+w.height);const s=o.append("text").attr("x",t.padding).attr("y",u+2*t.dividerMargin+w.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,r.methods.forEach(function(g){N(s,g,n,t),n=!1})}const b=o.node().getBBox();var m=" ";r.cssClasses.length>0&&(m=m+r.cssClasses.join(" "));const e=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",b.width+2*t.padding).attr("height",b.height+t.padding+.5*t.dividerMargin).attr("class",m).node().getBBox().width;return h.node().childNodes.forEach(function(s){s.setAttribute("x",(e-s.getBBox().width)/2)}),r.tooltip&&h.insert("title").text(r.tooltip),x&&x.attr("x2",e),y&&y.attr("x2",e),c.width=e,c.height=b.height+t.padding+.5*t.dividerMargin,c},v=function(i){let r=i.id;return i.type&&(r+="<"+d.parseGenericTypes(i.type)+">"),r},W=function(i,r,t,l){d.log$1.debug("Rendering note ",r,t);const p=r.id,c={id:p,text:r.text,width:0,height:0},o=i.append("g").attr("id",p).attr("class","classGroup");let h=o.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${r.text}"`).split(`
|
|
2
2
|
`);n.forEach(function(x){d.log$1.debug(`Adding line: ${x}`),h.append("tspan").text(x).attr("class","title").attr("dy",t.textHeight)});const a=o.node().getBBox(),u=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",a.width+2*t.padding).attr("height",a.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return h.node().childNodes.forEach(function(x){x.setAttribute("x",(u-x.getBBox().width)/2)}),c.width=u,c.height=a.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin,c},N=function(i,r,t,l){const{displayText:p,cssStyle:c}=r.getDisplayDetails(),o=i.append("tspan").attr("x",l.padding).text(p);c!==""&&o.attr("style",r.cssStyle),t||o.attr("dy",l.textHeight)},M={getClassTitleString:v,drawClass:A,drawEdge:C,drawNote:W};let B={};const E=20,L=function(i){const r=Object.entries(B).find(t=>t[1].label===i);if(r)return r[0]},q=function(i){i.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),i.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),i.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},G=function(i,r,t,l){const p=d.getConfig().class;B={},d.log$1.info("Rendering diagram "+i);const c=d.getConfig().securityLevel;let o;c==="sandbox"&&(o=d.select("#i"+r));const h=c==="sandbox"?d.select(o.nodes()[0].contentDocument.body):d.select("body"),n=h.select(`[id='${r}']`);q(n);const a=new H.Graph({multigraph:!0});a.setGraph({isMultiGraph:!0}),a.setDefaultEdgeLabel(function(){return{}});const f=l.db.getClasses(),u=Object.keys(f);for(const e of u){const s=f[e],g=M.drawClass(n,s,p,l);B[g.id]=g,a.setNode(g.id,g),d.log$1.info("Org height: "+g.height)}l.db.getRelations().forEach(function(e){d.log$1.info("tjoho"+L(e.id1)+L(e.id2)+JSON.stringify(e)),a.setEdge(L(e.id1),L(e.id2),{relation:e},e.title||"DEFAULT")}),l.db.getNotes().forEach(function(e){d.log$1.debug(`Adding note: ${JSON.stringify(e)}`);const s=M.drawNote(n,e,p,l);B[s.id]=s,a.setNode(s.id,s),e.class&&e.class in f&&a.setEdge(e.id,L(e.class),{relation:{id1:e.id,id2:e.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),$.layout(a),a.nodes().forEach(function(e){e!==void 0&&a.node(e)!==void 0&&(d.log$1.debug("Node "+e+": "+JSON.stringify(a.node(e))),h.select("#"+(l.db.lookUpDomId(e)||e)).attr("transform","translate("+(a.node(e).x-a.node(e).width/2)+","+(a.node(e).y-a.node(e).height/2)+" )"))}),a.edges().forEach(function(e){e!==void 0&&a.edge(e)!==void 0&&(d.log$1.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(a.edge(e))),M.drawEdge(n,a.edge(e),a.edge(e).relation,p,l))});const y=n.node().getBBox(),b=y.width+E*2,m=y.height+E*2;d.configureSvgSize(n,m,b,p.useMaxWidth);const k=`${y.x-E} ${y.y-E} ${b} ${m}`;d.log$1.debug(`viewBox ${k}`),n.attr("viewBox",k)},I={draw:G},O={parser:T.parser$1,db:T.db,renderer:I,styles:T.styles,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,T.db.clear()}};exports.diagram=O;
|