@layers-app/editor 2.2.15 → 2.2.16
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/{layers.DahXv94g.js → layers.0N5qGaoH.js} +1 -1
- package/dist/{layers.C_SFHMhT.js → layers.157-JPzA.js} +1 -1
- package/dist/{layers.L4WvtETF.js → layers.2gy896lT.js} +1 -1
- package/dist/{layers.DRgdytYB.js → layers.3Fgb3Vo2.js} +1 -1
- package/dist/{layers.CeECeaph.js → layers.3QgcC3PV.js} +1 -1
- package/dist/{layers.Dd0lsrdV.js → layers.4tKX8-5p.js} +1 -1
- package/dist/{layers.BAnVQdk1.js → layers.4znFVpfo.js} +1 -1
- package/dist/{layers.kWxuwjOK.js → layers.6-vqJIFs.js} +1 -1
- package/dist/{layers.DojVzqkZ.js → layers.6FcTody4.js} +1 -1
- package/dist/{layers.vb_gQYIH.js → layers.6MasW-Sw.js} +1 -1
- package/dist/{layers.COxPGTLD.js → layers.7cx0C4_N.js} +1 -1
- package/dist/{layers.DXvg_s1v.js → layers.B-bKwbp6.js} +2 -2
- package/dist/{layers.DzoQaN17.js → layers.B0DjV7nH.js} +1 -1
- package/dist/{layers.CKAyIKKo.js → layers.B0HQZQGZ.js} +4 -4
- package/dist/{layers.DSRIeWLB.js → layers.B1Ag0xIn.js} +2 -2
- package/dist/{layers.CfKMVgM-.js → layers.B3aocsTs.js} +1 -1
- package/dist/{layers.DvpS1jTV.js → layers.B6IiLtWG.js} +1 -1
- package/dist/{layers.CDn9MY7X.js → layers.B7KRIPib.js} +1 -1
- package/dist/{layers.CsU4fOrm.js → layers.BAEzDt4D.js} +1 -1
- package/dist/{layers.DPPblCob.js → layers.BBiT-nPD.js} +1 -1
- package/dist/{layers.BIj91s8M.js → layers.BC9K2qyP.js} +1 -1
- package/dist/{layers.Bnv-DwU7.js → layers.BCLK3J5J.js} +1 -1
- package/dist/{layers.BcvdQvm3.js → layers.BF7QG9n2.js} +1 -1
- package/dist/{layers.Djlfabv1.js → layers.BIUx6lq8.js} +1 -1
- package/dist/{layers.BJWwtj05.js → layers.BJqDTWLp.js} +1 -1
- package/dist/{layers.Bb_M2Nbv.js → layers.BOHXD8o_.js} +1 -1
- package/dist/{layers.t7ujVwoH.js → layers.BP0I09Gc.js} +1 -1
- package/dist/{layers.DCzDkApU.js → layers.BPUrT9s3.js} +1 -1
- package/dist/{layers.C3qcp6Wn.js → layers.BPfnB1ss.js} +1 -1
- package/dist/{layers.DJ-N7-bn.js → layers.BQ2-_FCB.js} +1 -1
- package/dist/{layers.Dx5ZkjwQ.js → layers.BQM8yb9G.js} +7 -7
- package/dist/{layers.BCNyGz0l.js → layers.BSK0MpfG.js} +1 -1
- package/dist/{layers.D8vYNGoN.js → layers.BT8wtfEv.js} +1 -1
- package/dist/{layers.EVh_QlEr.js → layers.BTI1eVA_.js} +1 -1
- package/dist/{layers.C3rq_vys.js → layers.BVJ22omw.js} +3 -3
- package/dist/{layers.C_jT8dXa.js → layers.BW6xs31v.js} +2 -2
- package/dist/{layers.DuoVv8Hb.js → layers.BX17Je2C.js} +1 -1
- package/dist/{layers.tW6VrAWA.js → layers.BY1b9Vv1.js} +1 -1
- package/dist/{layers.BkU4AN7i.js → layers.BYSrU1VM.js} +3 -3
- package/dist/{layers.vWwZFH4t.js → layers.BYiCbLGC.js} +1 -1
- package/dist/{layers.BG8piiP6.js → layers.BZVkaHHv.js} +1 -1
- package/dist/{layers.Bl2V5RPb.js → layers.BbGK2VtD.js} +1 -1
- package/dist/{layers.B84tjXVU.js → layers.BbSJiTro.js} +2 -2
- package/dist/{layers.BMJo3GSy.js → layers.BcAbvl4Y.js} +1 -1
- package/dist/{layers.DogbT2sQ.js → layers.BffudDfr.js} +25 -25
- package/dist/{layers.Dqt3rDkE.js → layers.BfqEf9yA.js} +1 -1
- package/dist/{layers.Bwj0Wit4.js → layers.BiTKO2d1.js} +1 -1
- package/dist/layers.BmfpcToL.js +8 -0
- package/dist/{layers.uOU_7yMT.js → layers.BoBUJBs_.js} +1 -1
- package/dist/{layers.D0wALH_j.js → layers.BoO5XktP.js} +6 -6
- package/dist/{layers.Cx98JrJO.js → layers.Bp0oiaF9.js} +3 -3
- package/dist/{layers.BY3IsWRw.js → layers.BpgUZ384.js} +1 -1
- package/dist/{layers.BzWIxNJr.js → layers.Br7OuCZy.js} +1 -1
- package/dist/{layers.CCBzixpF.js → layers.BtIwGTwi.js} +1 -1
- package/dist/{layers.DtY8IMm6.js → layers.Bv3Rq0WZ.js} +4 -4
- package/dist/{layers.YwwtbZte.js → layers.Bwwfm1KF.js} +1 -1
- package/dist/{layers.99mMYy9h.js → layers.Bx3sPS6k.js} +1 -1
- package/dist/{layers.D-eTHfbm.js → layers.BxSW29st.js} +1 -1
- package/dist/{layers.DxebjRcD.js → layers.BxZQolv_.js} +1 -1
- package/dist/{layers.B-ZHB-Bf.js → layers.Bx_LjX61.js} +1 -1
- package/dist/{layers.DmDnRpAI.js → layers.Byvqt2xK.js} +5 -5
- package/dist/{layers.tXvGbLLo.js → layers.C-uq4DLo.js} +1 -1
- package/dist/{layers.D2KeSCbY.js → layers.C0De9pu1.js} +3 -3
- package/dist/{layers.C6VrKY5E.js → layers.C2oxJ2l5.js} +1 -1
- package/dist/{layers.CgQFiexq.js → layers.C3coH_jO.js} +1 -1
- package/dist/{layers.CpUDnDrR.js → layers.C5iO--QV.js} +1 -1
- package/dist/{layers.CNn4A7Qc.js → layers.C5ogoWmE.js} +1 -1
- package/dist/{layers.Ce5eSQF4.js → layers.C6xKuq9T.js} +1 -1
- package/dist/{layers.B_dzMPUL.js → layers.C8Z8jAfP.js} +1 -1
- package/dist/{layers.csfFUyHr.js → layers.C8h_nbEZ.js} +1 -1
- package/dist/{layers.8ejk3zko.js → layers.C9_IMtV6.js} +1 -1
- package/dist/{layers.DwxPC1iD.js → layers.CBDxdqfE.js} +1 -1
- package/dist/{layers.Ar7Q0cYd.js → layers.CCd-d7W-.js} +1 -1
- package/dist/{layers.CD4AbnH-.js → layers.CDDACW3s.js} +1 -1
- package/dist/{layers.mRJBkk-f.js → layers.CE3tW3CX.js} +1 -1
- package/dist/{layers.DyqCj3dP.js → layers.CEogz7kf.js} +1 -1
- package/dist/{layers.BX6tu0oo.js → layers.CFZQ6zXU.js} +1 -1
- package/dist/{layers.E9Ext2HT.js → layers.CGs3cHTA.js} +1 -1
- package/dist/{layers.DzzMhx-l.js → layers.CHsHpfQp.js} +1 -1
- package/dist/{layers.CictkUCB.js → layers.CKfgP-eK.js} +1 -1
- package/dist/{layers.CHoAc92V.js → layers.CLFZYZiY.js} +1 -1
- package/dist/{layers.DG4jbcpC.js → layers.CNun5aSU.js} +3 -3
- package/dist/{layers.BshZZhOJ.js → layers.COV2QRuC.js} +1 -1
- package/dist/{layers.Dem8CmFn.js → layers.CVl5ux-q.js} +1 -1
- package/dist/{layers.DxfoL-9U.js → layers.CX92CuCA.js} +1 -1
- package/dist/{layers.DX2AoDzH.js → layers.CXnfykPn.js} +1 -1
- package/dist/{layers.BvrO7BNd.js → layers.CY1NKTP7.js} +1 -1
- package/dist/{layers.D4OJAduR.js → layers.C_f_VDOp.js} +1 -1
- package/dist/{layers.DD5IFB9e.js → layers.Ca4YZ7KB.js} +1 -1
- package/dist/{layers.n48qAHkM.js → layers.CbgMrQA6.js} +1 -1
- package/dist/{layers.okxozVhc.js → layers.CeKfGYOp.js} +251 -288
- package/dist/{layers.B1ttfAmQ.js → layers.Ciec59mw.js} +1 -1
- package/dist/{layers.C_Z_okpN.js → layers.CjNyxbAx.js} +1 -1
- package/dist/{layers.BA4MRIZH.js → layers.CkR5O-KD.js} +1 -1
- package/dist/{layers.UEwHT_by.js → layers.Clca7TT2.js} +1 -1
- package/dist/{layers.B7nCMFj7.js → layers.CnMipjrw.js} +1 -1
- package/dist/{layers.B201Heem.js → layers.Cnqs5YEy.js} +8 -8
- package/dist/{layers.CNC59Jpm.js → layers.CocbGMUt.js} +3 -3
- package/dist/{layers.Bya3AhdH.js → layers.Cu1zsGM8.js} +1 -1
- package/dist/{layers.Dq4Gy1Jy.js → layers.CvN7Xatf.js} +4 -4
- package/dist/{layers.BuwM8ZGL.js → layers.CvlDnpDS.js} +1 -1
- package/dist/{layers.keZq9JiN.js → layers.CyEGb50c.js} +1 -1
- package/dist/{layers.zcYhb5k2.js → layers.CyHo_WGk.js} +1 -1
- package/dist/{layers.Dup2XYYb.js → layers.CyVzNKI5.js} +1 -1
- package/dist/{layers.CS130O1F.js → layers.CyYm-tOB.js} +1 -1
- package/dist/{layers.YTHG2Apb.js → layers.CzXzQGz1.js} +1 -1
- package/dist/{layers.7uu_dFK8.js → layers.D-966Vme.js} +1 -1
- package/dist/{layers.BFbf-x8T.js → layers.D-SWGQCS.js} +1 -1
- package/dist/{layers.CvLYOfw_.js → layers.D-_R_FCZ.js} +4 -4
- package/dist/{layers.C-PXroz8.js → layers.D08WBCM_.js} +1 -1
- package/dist/{layers.BbpclPxe.js → layers.D37dN0Ig.js} +1 -1
- package/dist/{layers.Cdmrn8XG.js → layers.D4Li_yGu.js} +1 -1
- package/dist/{layers.D6I-6B30.js → layers.D5Oj_Khr.js} +1 -1
- package/dist/{layers.ooRrvrxo.js → layers.D7PVy01c.js} +1 -1
- package/dist/{layers.B1u_VVGI.js → layers.D8O3PmFS.js} +1 -1
- package/dist/{layers.Ceehh2Xx.js → layers.D8uiYOUw.js} +1 -1
- package/dist/layers.D9rEn5oi.js +1 -0
- package/dist/{layers.B8yR20Ny.js → layers.DAba6Obf.js} +1 -1
- package/dist/{layers.D5BE_Leu.js → layers.DBtZyNqB.js} +1 -1
- package/dist/{layers.BkZXbAoU.js → layers.DCogHsuz.js} +1 -1
- package/dist/{layers.BW6AHSw2.js → layers.DJNXjTjV.js} +1 -1
- package/dist/{layers.DLGtdjDD.js → layers.DJPp_sHd.js} +5 -5
- package/dist/{layers.Bgwp65S3.js → layers.DKU-4aBv.js} +1 -1
- package/dist/{layers.Cmr8HLVr.js → layers.DLwynwDg.js} +1 -1
- package/dist/{layers.CDqsvGnF.js → layers.DMr4edyg.js} +1 -1
- package/dist/{layers.CIsgSUWR.js → layers.DPErPSW-.js} +1 -1
- package/dist/{layers.CobjMun3.js → layers.DQ70OuBt.js} +1 -1
- package/dist/{layers.BFhLzOn_.js → layers.DQCUivU9.js} +1 -1
- package/dist/{layers.pGd6B9C1.js → layers.DQJeUNfP.js} +1 -1
- package/dist/{layers.DDHLiCry.js → layers.DQVgxz93.js} +1 -1
- package/dist/{layers.qM1P_DCD.js → layers.DQZrFk4F.js} +1 -1
- package/dist/{layers.DhnzUunp.js → layers.DR8BfgCA.js} +3 -3
- package/dist/{layers.D1ePyfGa.js → layers.DRG5vcL5.js} +3 -3
- package/dist/{layers.DREQfPKh.js → layers.DSZH8L6A.js} +3 -3
- package/dist/{layers.DN7tC8ON.js → layers.DUHXzf5G.js} +1 -1
- package/dist/{layers.Bjw19aIq.js → layers.DV91xp83.js} +1 -1
- package/dist/{layers.CA42dtGg.js → layers.DVr_xmt0.js} +1 -1
- package/dist/{layers.COiVJ7CK.js → layers.DWmPrYDS.js} +1 -1
- package/dist/{layers.D1O76qtk.js → layers.DYphOpq9.js} +1 -1
- package/dist/{layers.uj5aO3Td.js → layers.DabtD55G.js} +1 -1
- package/dist/{layers.BOihU4M6.js → layers.DbAe942p.js} +1 -1
- package/dist/{layers.DNw00Zzf.js → layers.DbdtrrbD.js} +1 -1
- package/dist/{layers.CfB7Kr3T.js → layers.DergqL1A.js} +1 -1
- package/dist/{layers.BH3EDz8J.js → layers.DgAJ8tsL.js} +3 -3
- package/dist/{layers.BmyIaJ5e.js → layers.DieI42DN.js} +1 -1
- package/dist/{layers.BX3ZJedn.js → layers.Dj9MUfoO.js} +1 -1
- package/dist/{layers.D20j9Tr7.js → layers.DlcEylrX.js} +1 -1
- package/dist/{layers.BibJBLE-.js → layers.DlnqeLUt.js} +1 -1
- package/dist/{layers.B68H9kJg.js → layers.Dlq0811t.js} +4 -4
- package/dist/{layers.CstcQOU_.js → layers.DshhUaqV.js} +1 -1
- package/dist/{layers.CUjdx5fM.js → layers.DuihHmzT.js} +1 -1
- package/dist/{layers.CsCWLgyS.js → layers.Duxl6j8i.js} +1 -1
- package/dist/{layers.BFbhYv5x.js → layers.DwdSmj_F.js} +4 -4
- package/dist/{layers.BWV-E96S.js → layers.DzP63nJ0.js} +1 -1
- package/dist/{layers.CR021P7R.js → layers.Dzfhpdlj.js} +1 -1
- package/dist/{layers.C13ay-Pf.js → layers.EFboDGp7.js} +1 -1
- package/dist/{layers.BiU1U41q.js → layers.EIxRP1Ry.js} +4 -4
- package/dist/{layers.B1-tmGD1.js → layers.Esmnh4ux.js} +2 -2
- package/dist/{layers.C0Wp9yqj.js → layers.F6v2L0le.js} +1 -1
- package/dist/{layers.DSq8O3u2.js → layers.IKZRqve8.js} +1 -1
- package/dist/{layers.BNCnk6zD.js → layers.JLK5PNyz.js} +1 -1
- package/dist/{layers.qpCEVrfr.js → layers.LNkI3Kp2.js} +1 -1
- package/dist/{layers.CHOzGR1D.js → layers.Lwkn3Snz.js} +1 -1
- package/dist/{layers.OsyM3TFW.js → layers.LzSsHXqa.js} +1 -1
- package/dist/layers.O4jqny_H.js +1 -0
- package/dist/{layers.DXHAdC9s.js → layers.O6ECywWl.js} +1 -1
- package/dist/{layers.DOwKRBS2.js → layers.QT7-BEOU.js} +1 -1
- package/dist/{layers.CzxrVQZJ.js → layers.RaYLtXBw.js} +1 -1
- package/dist/{layers.DqN5SjrO.js → layers.TJgYZKRG.js} +1 -1
- package/dist/{layers.CT7e3_cA.js → layers.U0mfOOe6.js} +4 -4
- package/dist/{layers.DgqdIjwz.js → layers.WTlC6kbs.js} +4 -4
- package/dist/layers.WaA78wIl.js +6 -0
- package/dist/{layers.BJGAXglq.js → layers.Xgjin0i6.js} +1 -1
- package/dist/{layers.C9f6j1GG.js → layers.XhR4GoN5.js} +4 -4
- package/dist/{layers.CO77WNOM.js → layers.XiEq3JZE.js} +1 -1
- package/dist/{layers.CyS50vo4.js → layers.XxRoBn3w.js} +1 -1
- package/dist/{layers.CCoKYQm7.js → layers.YTNd4CLC.js} +1 -1
- package/dist/{layers.D4k2d_PJ.js → layers.ax_5jBLF.js} +1 -1
- package/dist/{layers.CTjQ04Jm.js → layers.b08Fjb8j.js} +1 -1
- package/dist/{layers.CTdGoti9.js → layers.ffFZ4SbI.js} +4 -4
- package/dist/{layers.kf-8G-tf.js → layers.fx8wlLpG.js} +1 -1
- package/dist/{layers.BK9BVRVU.js → layers.g4uTT6hb.js} +1 -1
- package/dist/{layers.BtzLvQvV.js → layers.hNOezmhf.js} +1 -1
- package/dist/{layers.BxjT9u_f.js → layers.hRgjTbpL.js} +1 -1
- package/dist/{layers.B3KTakx3.js → layers.i6sC9UOr.js} +1 -1
- package/dist/{layers.C5urIO9L.js → layers.kDi-laZd.js} +1 -1
- package/dist/{layers.D0XSoxIh.js → layers.kqa61TFJ.js} +1 -1
- package/dist/{layers.BTcECCp9.js → layers.nTTjo1mD.js} +1 -1
- package/dist/{layers.CNe39u8B.js → layers.ovafEwZ5.js} +1 -1
- package/dist/{layers.DY4aTRUl.js → layers.p_RouZdT.js} +1 -1
- package/dist/{layers.ER4cNuf6.js → layers.q9Bp7jUz.js} +1 -1
- package/dist/{layers.vVoBYMgB.js → layers.qDPqrl9F.js} +1 -1
- package/dist/{layers.Dv-uQR89.js → layers.qIxgoAiM.js} +1 -1
- package/dist/{layers.CtV3MNt1.js → layers.qR95D5PG.js} +1 -1
- package/dist/{layers.DWKxQNZq.js → layers.s0mmoI53.js} +1 -1
- package/dist/{layers.Sq01ui8C.js → layers.tdMS433D.js} +1 -1
- package/dist/{layers.CGfHVR_8.js → layers.tqYW32Gm.js} +1 -1
- package/dist/{layers.DyQhad7c.js → layers.uACb6b2u.js} +3 -3
- package/dist/{layers.1HBRKOCr.js → layers.unr0_LZl.js} +2 -2
- package/dist/{layers.BgxuL32K.js → layers.vl9jKNi7.js} +1 -1
- package/package.json +1 -1
- package/dist/layers.B6KeIG9u.js +0 -1
- package/dist/layers.D3qu_MDj.js +0 -6
- package/dist/layers.DPlUixeN.js +0 -1
- package/dist/layers.uOxzTLi8.js +0 -8
|
@@ -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.C_f_VDOp.js"),d=require("./layers.DwdSmj_F.js");require("lodash-es");const $=require("./layers.Cyzu9PKQ.js"),H=require("./layers.BLd2spTm.js");require("./layers.BQM8yb9G.js");require("lodash-es/memoize.js");require("lodash-es/merge.js");require("lodash-es/isEmpty.js");const _=require("./layers.BZVkaHHv.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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.BQM8yb9G.js");var e={paste:"Pegar",pasteAsPlaintext:"Pegar como texto sin formato",pasteCharts:"Pegar gráficos",selectAll:"Seleccionar todo",multiSelect:"Añadir elemento a la selección",moveCanvas:"Mover el lienzo",cut:"Cortar",copy:"Copiar",copyAsPng:"Copiar al portapapeles como PNG",copyAsSvg:"Copiar al portapapeles como SVG",copyText:"Copiar al portapapeles como texto",copySource:"Copiar fuente al portapapeles",convertToCode:"Convertir a código",bringForward:"Traer hacia delante",sendToBack:"Enviar al fondo",bringToFront:"Traer al frente",sendBackward:"Enviar atrás",delete:"Borrar",copyStyles:"Copiar estilos",pasteStyles:"Pegar estilos",stroke:"Trazo",background:"Fondo",fill:"Rellenar",strokeWidth:"Grosor del trazo",strokeStyle:"Estilo del trazo",strokeStyle_solid:"Sólido",strokeStyle_dashed:"Discontinua",strokeStyle_dotted:"Punteado",sloppiness:"Estilo de trazo",opacity:"Opacidad",textAlign:"Alineado de texto",edges:"Bordes",sharp:"Afilado",round:"Redondo",arrowheads:"Puntas de flecha",arrowhead_none:"Ninguna",arrowhead_arrow:"Flecha",arrowhead_bar:"Barra",arrowhead_circle:"Círculo",arrowhead_circle_outline:"Círculo (contorno)",arrowhead_triangle:"Triángulo",arrowhead_triangle_outline:"Triángulo (contorno)",arrowhead_diamond:"Diamante",arrowhead_diamond_outline:"Diamante (contorno)",fontSize:"Tamaño de la fuente",fontFamily:"Tipo de fuente",addWatermark:'Agregar "Hecho con Excalidraw"',handDrawn:"Dibujado a mano",normal:"Normal",code:"Código",small:"Pequeña",medium:"Mediana",large:"Grande",veryLarge:"Muy grande",solid:"Sólido",hachure:"Folleto",zigzag:"Zigzag",crossHatch:"Rayado transversal",thin:"Fino",bold:"Grueso",left:"Izquierda",center:"Centrado",right:"Derecha",extraBold:"Extra negrita",architect:"Arquitecto",artist:"Artista",cartoonist:"Caricatura",fileTitle:"Nombre del archivo",colorPicker:"Selector de color",canvasColors:"Usado en lienzo",canvasBackground:"Fondo del lienzo",drawingCanvas:"Lienzo de dibujo",layers:"Capas",actions:"Acciones",language:"Idioma",liveCollaboration:"Colaboración en directo...",duplicateSelection:"Duplicar",untitled:"Sin título",name:"Nombre",yourName:"Tu nombre",madeWithExcalidraw:"Hecho con Excalidraw",group:"Agrupar selección",ungroup:"Desagrupar selección",collaborators:"Colaboradores",showGrid:"Mostrar cuadrícula",addToLibrary:"Añadir a la biblioteca",removeFromLibrary:"Eliminar de la biblioteca",libraryLoadingMessage:"Cargando biblioteca…",libraries:"Explorar bibliotecas",loadingScene:"Cargando escena…",align:"Alinear",alignTop:"Alineación superior",alignBottom:"Alineación inferior",alignLeft:"Alinear a la izquierda",alignRight:"Alinear a la derecha",centerVertically:"Centrar verticalmente",centerHorizontally:"Centrar horizontalmente",distributeHorizontally:"Distribuir horizontalmente",distributeVertically:"Distribuir verticalmente",flipHorizontal:"Girar horizontalmente",flipVertical:"Girar verticalmente",viewMode:"Modo presentación",share:"Compartir",showStroke:"Mostrar selector de color de trazo",showBackground:"Mostrar el selector de color de fondo",toggleTheme:"Cambiar tema",personalLib:"Biblioteca personal",excalidrawLib:"Biblioteca Excalidraw",decreaseFontSize:"Disminuir tamaño de letra",increaseFontSize:"Aumentar el tamaño de letra",unbindText:"Desvincular texto",bindText:"Vincular texto al contenedor",createContainerFromText:"Envolver el texto en un contenedor",link:{edit:"Editar enlace",editEmbed:"Editar enlace e incrustar",create:"Crear enlace",createEmbed:"Crear enlace e incrustar",label:"Enlace",labelEmbed:"Enlazar e incrustar",empty:"No se ha establecido un enlace"},lineEditor:{edit:"Editar línea",exit:"Salir del editor en línea"},elementLock:{lock:"Bloquear",unlock:"Desbloquear",lockAll:"Bloquear todo",unlockAll:"Desbloquear todo"},statusPublished:"Publicado",sidebarLock:"Mantener barra lateral abierta",selectAllElementsInFrame:"Seleccionar todos los elementos en el marco",removeAllElementsFromFrame:"Eliminar todos los elementos del marco",eyeDropper:"Seleccionar un color del lienzo",textToDiagram:"Texto a diagrama",prompt:"Sugerencia"},a={noItems:"No hay elementos añadidos todavía...",hint_emptyLibrary:"Seleccione un elemento en el lienzo para añadirlo aquí, o instale una biblioteca del repositorio público, a continuación.",hint_emptyPrivateLibrary:"Seleccione un elemento del lienzo para añadirlo aquí."},o={clearReset:"Limpiar lienzo y reiniciar el color de fondo",exportJSON:"Exportar a archivo",exportImage:"Exportar imagen...",export:"Guardar en...",copyToClipboard:"Copiar al portapapeles",save:"Guardar en archivo actual",saveAs:"Guardar como",load:"Abrir",getShareableLink:"Obtener enlace para compartir",close:"Cerrar",selectLanguage:"Elegir idioma",scrollBackToContent:"Volver al contenido",zoomIn:"Acercarse",zoomOut:"Alejarse",resetZoom:"Restablecer zoom",menu:"Menú",done:"Hecho",edit:"Editar",undo:"Deshacer",redo:"Rehacer",resetLibrary:"Reiniciar biblioteca",createNewRoom:"Crear nueva sala",fullScreen:"Pantalla completa",darkMode:"Modo oscuro",lightMode:"Modo claro",zenMode:"Modo Zen",objectsSnapMode:"Ajustar a los objetos",exitZenMode:"Salir del modo Zen",cancel:"Cancelar",clear:"Borrar",remove:"Eliminar",embed:"",publishLibrary:"Publicar",submit:"Enviar",confirm:"Confirmar",embeddableInteractionButton:"Pulsa para interactuar"},r={clearReset:"Esto limpiará todo el lienzo. Estás seguro?",couldNotCreateShareableLink:"No se pudo crear un enlace para compartir.",couldNotCreateShareableLinkTooBig:"No se pudo crear el enlace para compartir: la escena es demasiado grande",couldNotLoadInvalidFile:"No se pudo cargar el archivo no válido",importBackendFailed:"La importación falló.",cannotExportEmptyCanvas:"No se puede exportar un lienzo vació",couldNotCopyToClipboard:"No se pudo copiar al portapapeles.",decryptFailed:"No se pudieron descifrar los datos.",uploadedSecurly:"La carga ha sido asegurada con cifrado de principio a fin, lo que significa que el servidor de Excalidraw y terceros no pueden leer el contenido.",loadSceneOverridePrompt:"Si carga este dibujo externo, reemplazará el que tiene. ¿Desea continuar?",collabStopOverridePrompt:`Detener la sesión sobrescribirá su dibujo anterior almacenado localmente. ¿Está seguro?
|
|
2
2
|
|
|
3
3
|
(Si desea mantener su dibujo local, simplemente cierre la pestaña del navegador.)`,errorAddingToLibrary:"No se pudo agregar el elemento a la biblioteca",errorRemovingFromLibrary:"No se pudo quitar el elemento de la biblioteca",confirmAddLibrary:"Esto añadirá {{numShapes}} forma(s) a tu biblioteca. ¿Estás seguro?",imageDoesNotContainScene:"Esta imagen no parece contener datos de escena. ¿Ha habilitado la inserción de la escena durante la exportación?",cannotRestoreFromImage:"No se pudo restaurar la escena desde este archivo de imagen",invalidSceneUrl:"No se ha podido importar la escena desde la URL proporcionada. Está mal formada, o no contiene datos de Excalidraw JSON válidos.",resetLibrary:"Esto borrará tu biblioteca. ¿Estás seguro?",removeItemsFromsLibrary:"¿Eliminar {{count}} elemento(s) de la biblioteca?",invalidEncryptionKey:"La clave de cifrado debe tener 22 caracteres. La colaboración en vivo está deshabilitada.",collabOfflineWarning:`No hay conexión a internet disponible.
|
|
4
4
|
¡No se guardarán los cambios!`},i={unsupportedFileType:"Tipo de archivo no admitido.",imageInsertError:"No se pudo insertar la imagen. Inténtelo de nuevo más tarde...",fileTooBig:"Archivo demasiado grande. El tamaño máximo permitido es {{maxSize}}.",svgImageInsertError:"No se pudo insertar la imagen SVG. El código SVG parece inválido.",failedToFetchImage:"Error al obtener la imagen.",invalidSVGString:"SVG no válido.",cannotResolveCollabServer:"No se pudo conectar al servidor colaborador. Por favor, vuelva a cargar la página y vuelva a intentarlo.",importLibraryError:"No se pudo cargar la librería",collabSaveFailed:"No se pudo guardar en la base de datos del backend. Si los problemas persisten, debería guardar su archivo localmente para asegurarse de que no pierde su trabajo.",collabSaveFailed_sizeExceeded:"No se pudo guardar en la base de datos del backend, el lienzo parece ser demasiado grande. Debería guardar el archivo localmente para asegurarse de que no pierde su trabajo.",imageToolNotSupported:"",brave_measure_text_error:{line1:"Parece que estás usando el navegador Brave con el ajuste <bold>Forzar el bloqueo de huellas digitales</bold> habilitado.",line2:"Esto podría resultar en errores en los <bold>Elementos de Texto</bold> en tus dibujos.",line3:"Recomendamos fuertemente deshabilitar esta configuración. Puedes seguir <link>estos pasos</link> sobre cómo hacerlo.",line4:""},libraryElementTypeError:{embeddable:"",iframe:"Los elementos IFrame no se pueden agregar a la biblioteca.",image:""},asyncPasteFailedOnRead:"No se pudo pegar (no se pudo leer desde el portapapeles del sistema).",asyncPasteFailedOnParse:"No se pudo pegar.",copyToSystemClipboardFailed:"No se pudo copiar al portapapeles."},n={selection:"Selección",image:"Insertar imagen",rectangle:"Rectángulo",diamond:"Diamante",ellipse:"Elipse",arrow:"Flecha",line:"Línea",freedraw:"Dibujar",text:"Texto",library:"Biblioteca",lock:"Mantener la herramienta seleccionada activa después de dibujar",penMode:"Modo Lápiz - previene toque",link:"Añadir/Actualizar enlace para una forma seleccionada",eraser:"Borrar",frame:"",magicframe:"Esquema a código",embeddable:"Incrustar Web",laser:"Puntero láser",hand:"Mano (herramienta de panoramización)",extraTools:"Más herramientas",mermaidToExcalidraw:"Mermaid a Excalidraw",magicSettings:"Ajustes AI"},t={canvasActions:"Acciones del lienzo",selectedShapeActions:"Acciones de la forma seleccionada",shapes:"Formas"},l={canvasPanning:"Para mover el lienzo, mantenga la rueda del ratón o la barra espaciadora mientras arrastra o utilice la herramienta de mano",linearElement:"Haz clic para dibujar múltiples puntos, arrastrar para solo una línea",freeDraw:"Haz clic y arrastra, suelta al terminar",text:"Consejo: también puedes añadir texto haciendo doble clic en cualquier lugar con la herramienta de selección",embeddable:"Haga clic y arrastre para crear un sitio web incrustado",text_selected:"Doble clic o pulse ENTER para editar el texto",text_editing:"Pulse Escape o Ctrl/Cmd + ENTER para terminar de editar",linearElementMulti:"Haz clic en el último punto o presiona Escape o Enter para finalizar",lockAngle:"Puedes restringir el ángulo manteniendo presionado el botón SHIFT",resize:`Para mantener las proporciones mantén SHIFT presionado mientras modificas el tamaño,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as r, n as e, u as o, v as l, A as i, F as t, R as c, C as n, B as g, c as m, r as D, E as h, y as p, h as u, s as b, w as d, N as f, p as S, k, m as v, x, t as L, a as w, D as y, _ as C, f as E, S as P, I as B, g as q, i as z, b as A, T as F, L as I, d as N, z as R, P as T } from "./layers.
|
|
1
|
+
import { l as r, n as e, u as o, v as l, A as i, F as t, R as c, C as n, B as g, c as m, r as D, E as h, y as p, h as u, s as b, w as d, N as f, p as S, k, m as v, x, t as L, a as w, D as y, _ as C, f as E, S as P, I as B, g as q, i as z, b as A, T as F, L as I, d as N, z as R, P as T } from "./layers.Cnqs5YEy.js";
|
|
2
2
|
export {
|
|
3
3
|
r as alerts,
|
|
4
4
|
e as buttons,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.Cnqs5YEy.js";
|
|
2
2
|
var u = { paste: "دانانەوە", pasteAsPlaintext: "دایبنێ وەک دەقی سادە", pasteCharts: "دانانەوەی خشتەکان", selectAll: "دیاریکردنی هەموو", multiSelect: "زیادکردنی بۆ دیاریکراوەکان", moveCanvas: "تابلۆ بجوڵێنە", cut: "بڕین", copy: "لەبەرگرتنەوە", copyAsPng: "PNGلەبەرگرتنەوە بۆ تەختەنووس وەک", copyAsSvg: "SVGلەبەرگرتنەوە بۆ تەختەنووس وەک", copyText: "لەبەرگرتنەوە بۆ تەختەنووس وەک نوسین", copySource: "", convertToCode: "", bringForward: "بهێنە پێشتر", sendToBack: "بنێرە دواوە", bringToFront: "بهێنە پێشەوە", sendBackward: "بنێرە دواتر", delete: "سڕینەوە", copyStyles: "لەبەرگرتنەوەی ستایل", pasteStyles: "دانانەوەی ستایل", stroke: "هێڵکار", background: "پاشبنەما", fill: "پڕکردنەوە", strokeWidth: "پانی هێڵکاری", strokeStyle: "ستایلی هێڵکاری", strokeStyle_solid: "سادە", strokeStyle_dashed: "پچڕ پچڕ", strokeStyle_dotted: "خاڵدار", sloppiness: "لێژی", opacity: "ڕوونی", textAlign: "ڕێکخستنی دەق", edges: "لێوارەکان", sharp: "تیژ", round: "چەماوە", arrowheads: "سەرەتیر", arrowhead_none: "هیچیان", arrowhead_arrow: "تیر", arrowhead_bar: "هێڵ", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "سێگۆشە", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "قەبارەی فۆنت", fontFamily: "خێزانی فۆنت", addWatermark: 'زیادبکە "Made with Excalidraw"', handDrawn: "دەست کێشراو", normal: "ئاسایی", code: "کۆد", small: "بچووک", medium: "ناوەند", large: "گهوره", veryLarge: "زۆر گهوره", solid: "سادە", hachure: "هاچور", zigzag: "زیگزاگ", crossHatch: "کرۆس هاتچ", thin: "تەنک", bold: "تۆخ", left: "چەپ", center: "ناوهند", right: "ڕاست", extraBold: "زۆر تۆخ", architect: "تەلارساز", artist: "هونەرمەند", cartoonist: "کارتۆنی", fileTitle: "ناوی فایل", colorPicker: "ڕەنگ هەڵگر", canvasColors: "بەکارهاتووە لەسەر تابلۆ", canvasBackground: "پاشبنەمای تابلۆ", drawingCanvas: "کێشانی تابلۆ", layers: "چینەکان", actions: "کردارەکان", language: "زمان", liveCollaboration: "هاوکاریکردنی زیندو...", duplicateSelection: "لەبەرگرتنەوە", untitled: "بێ ناونیشان", name: "ناو", yourName: "ناوەکەت", madeWithExcalidraw: "دروستکراوە بە Excalidraw", group: "دیاریکردنی گروپ", ungroup: "گروپی دیاریکراوەکان لابەرە", collaborators: "هاوکارەکان", showGrid: "گرید نیشانبدە", addToLibrary: "زیادکردن بۆ کتێبخانە", removeFromLibrary: "لابردن لە کتێبخانە", libraryLoadingMessage: "...بارکردنی کتێبخانە", libraries: "گەڕانی کتێبخانە", loadingScene: "...بارکردنی دیمەنەکە", align: "لاچەنکردن", alignTop: "لاچەنکردن بۆ سەرەوە", alignBottom: "لاچەنکردن بۆ خوارەوە", alignLeft: "لاچەنکردن بۆ چەپ", alignRight: "لاچەنکردن بۆ ڕاست", centerVertically: "بە ستونی ناوەند بکە", centerHorizontally: "بە ئاسۆی ناوەند بکە", distributeHorizontally: "بە ئاسۆی دابەشی بکە", distributeVertically: "بە ستونی دابەشی بکە", flipHorizontal: "هەڵگەڕانەوەی ئاسۆیی", flipVertical: "هەڵگەڕانەوەی ستونی", viewMode: "دۆخی بینین", share: "هاوبەشی پێکردن", showStroke: "ڕەنگهەڵگری هێڵکار نیشانبدە", showBackground: "ڕەنگهەڵگری باکگراوند نیشانبدە", toggleTheme: "دۆخی ڕوکار بگۆڕە", personalLib: "کتێبخانەی کەسی", excalidrawLib: "کتێبخانەی Excalidraw", decreaseFontSize: "کەمکردنەوەی قەبارەی فۆنت", increaseFontSize: "زایدکردنی قەبارەی فۆنت", unbindText: "دەقەکە جیابکەرەوە", bindText: "دەقەکە ببەستەوە بە کۆنتەینەرەکەوە", createContainerFromText: "دەق لە چوارچێوەیەکدا بپێچە", link: { edit: "دەستکاریکردنی بەستەر", editEmbed: "", create: "دروستکردنی بەستەر", createEmbed: "", label: "بەستەر", labelEmbed: "", empty: "" }, lineEditor: { edit: "دەستکاری کردنی دێڕ", exit: "دەرچوون لە دەستکاریکەری دێڕ" }, elementLock: { lock: "قفڵکردن", unlock: "کردنەوە", lockAll: "قفڵکردنی هەموو", unlockAll: "کردنەوەی قفلی هەمووی" }, statusPublished: "بڵاوکراوەتەوە", sidebarLock: "هێشتنەوەی شریتی لا بە کراوەیی", selectAllElementsInFrame: "هەموو توخمەکانی ناو چوارچێوەکە دیاری بکە", removeAllElementsFromFrame: "هەموو توخمەکانی ناو چوارچێوەکە لابەرە", eyeDropper: "ڕەنگێک لەسەر تابلۆکە هەڵبژێرە", textToDiagram: "", prompt: "" }, C = { noItems: "هێشتا هیچ بڕگەیەک زیاد نەکراوە...", hint_emptyLibrary: "شتێک لەسەر تابلۆ هەڵبژێرە بۆ ئەوەی لێرە زیادی بکەیت، یان کتێبخانەیەک لە کۆگا گشتیەکەوە دابمەزرێنە، لە خوارەوە.", hint_emptyPrivateLibrary: "شتێک لەسەر تابلۆ هەڵبژێرە بۆ ئەوەی لێرە زیادی بکەیت." }, D = { clearReset: "تابلۆکە وەک سەرەتا لێبکەوە", exportJSON: "هەناردەکردن بۆ فایل", exportImage: "وێنە هەناردە بکە...", export: "پاشەکەوت بکە بۆ...", copyToClipboard: "لهبهری بگرهوه بۆ تهختهنووس", save: "پاشەکەوت بکە بۆ فایلی بەردەست", saveAs: "پاشەکەوتکردن وەک", load: "بکەرەوە", getShareableLink: "بەستەری هاوبەشیپێکردن بەدەستبهێنە", close: "داخستن", selectLanguage: "دیاریکردنی زمان", scrollBackToContent: "گەڕاندنەوە بۆ ناوەڕۆک", zoomIn: "نزیک خستنەوە", zoomOut: "دوورخستنەوە", resetZoom: "ڕێستکردنی زووم", menu: "پێڕست", done: "تەواو", edit: "دەستکاری کردن", undo: "گهڕانهوه بۆ پێشوو", redo: "گهڕانهوه بۆ داهاتوو", resetLibrary: "ڕێکخستنەوەی کتێبخانە", createNewRoom: "ژوورێکی نوێ دروست بکە", fullScreen: "پڕ بە شاشە", darkMode: "دۆخی تاریک", lightMode: "دۆخی ڕووناک", zenMode: "دۆخی زێن", objectsSnapMode: "", exitZenMode: "بەجێهێشتنی دۆخی زێن", cancel: "هەڵوەشاندنەوە", clear: "خاوێنکردنەوە", remove: "لابردن", embed: "", publishLibrary: "بڵاوکردنەوە", submit: "پێشکەشکردن", confirm: "دوپاتکردنەوە", embeddableInteractionButton: "" }, A = { clearReset: "ئەمە هەموو تابلۆکە خاوێن دەکاتەوە، دڵنیایت؟", couldNotCreateShareableLink: "نەتوانرا بەستەری هاوبەشیپێکردن دروستبکرێت", couldNotCreateShareableLinkTooBig: "نەتوانرا بەستەری هاوبەشیپێکردن دروستبکرێت: دیمەنەکە زۆر گەورەیە", couldNotLoadInvalidFile: "ناتوانرا باربکرێت، فایلەکە دروستنییە", importBackendFailed: "هاوردەکردن لە پاشکۆکە سەرکەوتوو نەبوو.", cannotExportEmptyCanvas: "ناتوانرێت تابلۆی بەتاڵ هەناردەبکرێت.", couldNotCopyToClipboard: "ناتوانرا لەبەربگیرێتەوە بۆ تەختەنوس", decryptFailed: "ناتوانرا داتاکان شیبکرێتەوە", uploadedSecurly: "بارکردنەکە بە کۆدکردنی کۆتایی بۆ کۆتایی پارێزراوە، ئەمەش واتە سێرڤەری Excalidraw و لایەنی سێیەم ناتوانن ناوەڕۆکەکە بخوێننەوە.", loadSceneOverridePrompt: "بارکردنی وێنەکێشانی دەرەکی جێگەی ناوەڕۆکی بەردەستت دەگرێتەوە. دەتەوێت بەردەوام بیت؟", collabStopOverridePrompt: `وەستاندنی دانیشتنەکە وێنەکێشانی پێشووت دەنووسێتەوە کە لە ناوخۆدا هەڵگیراوە. ئایا دڵنیایت?
|
|
3
3
|
|
|
4
4
|
(ئەگەر دەتەوێت وێنەکێشانی ناوخۆیی خۆت بهێڵیتەوە، لەبری ئەوە تەنها تابی وێبگەڕەکە دابخە).`, errorAddingToLibrary: "نەیتوانی بڕگە زیاد بکات بۆ کتێبخانە", errorRemovingFromLibrary: "نەیتوانی بڕگە لە کتێبخانە بسڕێتەوە", confirmAddLibrary: "ئەمە {{numShapes}} شێوە(ەکان) زیاد دەکات بۆ کتێبخانەکەت. ئایا دڵنیایت?", imageDoesNotContainScene: "وادیارە ئەم وێنەیە هیچ داتایەکی دیمەنی تێدا نییە. ئایا دیمەنی چەسپاندنت لە کاتی هەناردەدا چالاک کردووە؟", cannotRestoreFromImage: "ناتوانرێت دیمەنەکە بگەڕێندرێتەوە لەم فایلە وێنەیە", invalidSceneUrl: 'ناتوانێت دیمەنەکە هاوردە بکات لە URL ی دابینکراو. یان نادروستە، یان داتای "ئێکسکالیدراو" JSON ی دروستی تێدا نییە.', resetLibrary: "ئەمە کتێبخانەکەت خاوێن دەکاتەوە. ئایا دڵنیایت?", removeItemsFromsLibrary: "سڕینەوەی {{count}} ئایتم(ەکان) لە کتێبخانە؟", invalidEncryptionKey: "کلیلی رەمزاندن دەبێت لە 22 پیت بێت. هاوکاری ڕاستەوخۆ لە کارخراوە.", collabOfflineWarning: `هێڵی ئینتەرنێت بەردەست نییە.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.Cnqs5YEy.js";
|
|
2
2
|
var e = { paste: "Pegar", pasteAsPlaintext: "Pegar como texto sin formato", pasteCharts: "Pegar gráficos", selectAll: "Seleccionar todo", multiSelect: "Añadir elemento a la selección", moveCanvas: "Mover el lienzo", cut: "Cortar", copy: "Copiar", copyAsPng: "Copiar al portapapeles como PNG", copyAsSvg: "Copiar al portapapeles como SVG", copyText: "Copiar al portapapeles como texto", copySource: "Copiar fuente al portapapeles", convertToCode: "Convertir a código", bringForward: "Traer hacia delante", sendToBack: "Enviar al fondo", bringToFront: "Traer al frente", sendBackward: "Enviar atrás", delete: "Borrar", copyStyles: "Copiar estilos", pasteStyles: "Pegar estilos", stroke: "Trazo", background: "Fondo", fill: "Rellenar", strokeWidth: "Grosor del trazo", strokeStyle: "Estilo del trazo", strokeStyle_solid: "Sólido", strokeStyle_dashed: "Discontinua", strokeStyle_dotted: "Punteado", sloppiness: "Estilo de trazo", opacity: "Opacidad", textAlign: "Alineado de texto", edges: "Bordes", sharp: "Afilado", round: "Redondo", arrowheads: "Puntas de flecha", arrowhead_none: "Ninguna", arrowhead_arrow: "Flecha", arrowhead_bar: "Barra", arrowhead_circle: "Círculo", arrowhead_circle_outline: "Círculo (contorno)", arrowhead_triangle: "Triángulo", arrowhead_triangle_outline: "Triángulo (contorno)", arrowhead_diamond: "Diamante", arrowhead_diamond_outline: "Diamante (contorno)", fontSize: "Tamaño de la fuente", fontFamily: "Tipo de fuente", addWatermark: 'Agregar "Hecho con Excalidraw"', handDrawn: "Dibujado a mano", normal: "Normal", code: "Código", small: "Pequeña", medium: "Mediana", large: "Grande", veryLarge: "Muy grande", solid: "Sólido", hachure: "Folleto", zigzag: "Zigzag", crossHatch: "Rayado transversal", thin: "Fino", bold: "Grueso", left: "Izquierda", center: "Centrado", right: "Derecha", extraBold: "Extra negrita", architect: "Arquitecto", artist: "Artista", cartoonist: "Caricatura", fileTitle: "Nombre del archivo", colorPicker: "Selector de color", canvasColors: "Usado en lienzo", canvasBackground: "Fondo del lienzo", drawingCanvas: "Lienzo de dibujo", layers: "Capas", actions: "Acciones", language: "Idioma", liveCollaboration: "Colaboración en directo...", duplicateSelection: "Duplicar", untitled: "Sin título", name: "Nombre", yourName: "Tu nombre", madeWithExcalidraw: "Hecho con Excalidraw", group: "Agrupar selección", ungroup: "Desagrupar selección", collaborators: "Colaboradores", showGrid: "Mostrar cuadrícula", addToLibrary: "Añadir a la biblioteca", removeFromLibrary: "Eliminar de la biblioteca", libraryLoadingMessage: "Cargando biblioteca…", libraries: "Explorar bibliotecas", loadingScene: "Cargando escena…", align: "Alinear", alignTop: "Alineación superior", alignBottom: "Alineación inferior", alignLeft: "Alinear a la izquierda", alignRight: "Alinear a la derecha", centerVertically: "Centrar verticalmente", centerHorizontally: "Centrar horizontalmente", distributeHorizontally: "Distribuir horizontalmente", distributeVertically: "Distribuir verticalmente", flipHorizontal: "Girar horizontalmente", flipVertical: "Girar verticalmente", viewMode: "Modo presentación", share: "Compartir", showStroke: "Mostrar selector de color de trazo", showBackground: "Mostrar el selector de color de fondo", toggleTheme: "Cambiar tema", personalLib: "Biblioteca personal", excalidrawLib: "Biblioteca Excalidraw", decreaseFontSize: "Disminuir tamaño de letra", increaseFontSize: "Aumentar el tamaño de letra", unbindText: "Desvincular texto", bindText: "Vincular texto al contenedor", createContainerFromText: "Envolver el texto en un contenedor", link: { edit: "Editar enlace", editEmbed: "Editar enlace e incrustar", create: "Crear enlace", createEmbed: "Crear enlace e incrustar", label: "Enlace", labelEmbed: "Enlazar e incrustar", empty: "No se ha establecido un enlace" }, lineEditor: { edit: "Editar línea", exit: "Salir del editor en línea" }, elementLock: { lock: "Bloquear", unlock: "Desbloquear", lockAll: "Bloquear todo", unlockAll: "Desbloquear todo" }, statusPublished: "Publicado", sidebarLock: "Mantener barra lateral abierta", selectAllElementsInFrame: "Seleccionar todos los elementos en el marco", removeAllElementsFromFrame: "Eliminar todos los elementos del marco", eyeDropper: "Seleccionar un color del lienzo", textToDiagram: "Texto a diagrama", prompt: "Sugerencia" }, a = { noItems: "No hay elementos añadidos todavía...", hint_emptyLibrary: "Seleccione un elemento en el lienzo para añadirlo aquí, o instale una biblioteca del repositorio público, a continuación.", hint_emptyPrivateLibrary: "Seleccione un elemento del lienzo para añadirlo aquí." }, o = { clearReset: "Limpiar lienzo y reiniciar el color de fondo", exportJSON: "Exportar a archivo", exportImage: "Exportar imagen...", export: "Guardar en...", copyToClipboard: "Copiar al portapapeles", save: "Guardar en archivo actual", saveAs: "Guardar como", load: "Abrir", getShareableLink: "Obtener enlace para compartir", close: "Cerrar", selectLanguage: "Elegir idioma", scrollBackToContent: "Volver al contenido", zoomIn: "Acercarse", zoomOut: "Alejarse", resetZoom: "Restablecer zoom", menu: "Menú", done: "Hecho", edit: "Editar", undo: "Deshacer", redo: "Rehacer", resetLibrary: "Reiniciar biblioteca", createNewRoom: "Crear nueva sala", fullScreen: "Pantalla completa", darkMode: "Modo oscuro", lightMode: "Modo claro", zenMode: "Modo Zen", objectsSnapMode: "Ajustar a los objetos", exitZenMode: "Salir del modo Zen", cancel: "Cancelar", clear: "Borrar", remove: "Eliminar", embed: "", publishLibrary: "Publicar", submit: "Enviar", confirm: "Confirmar", embeddableInteractionButton: "Pulsa para interactuar" }, r = { clearReset: "Esto limpiará todo el lienzo. Estás seguro?", couldNotCreateShareableLink: "No se pudo crear un enlace para compartir.", couldNotCreateShareableLinkTooBig: "No se pudo crear el enlace para compartir: la escena es demasiado grande", couldNotLoadInvalidFile: "No se pudo cargar el archivo no válido", importBackendFailed: "La importación falló.", cannotExportEmptyCanvas: "No se puede exportar un lienzo vació", couldNotCopyToClipboard: "No se pudo copiar al portapapeles.", decryptFailed: "No se pudieron descifrar los datos.", uploadedSecurly: "La carga ha sido asegurada con cifrado de principio a fin, lo que significa que el servidor de Excalidraw y terceros no pueden leer el contenido.", loadSceneOverridePrompt: "Si carga este dibujo externo, reemplazará el que tiene. ¿Desea continuar?", collabStopOverridePrompt: `Detener la sesión sobrescribirá su dibujo anterior almacenado localmente. ¿Está seguro?
|
|
3
3
|
|
|
4
4
|
(Si desea mantener su dibujo local, simplemente cierre la pestaña del navegador.)`, errorAddingToLibrary: "No se pudo agregar el elemento a la biblioteca", errorRemovingFromLibrary: "No se pudo quitar el elemento de la biblioteca", confirmAddLibrary: "Esto añadirá {{numShapes}} forma(s) a tu biblioteca. ¿Estás seguro?", imageDoesNotContainScene: "Esta imagen no parece contener datos de escena. ¿Ha habilitado la inserción de la escena durante la exportación?", cannotRestoreFromImage: "No se pudo restaurar la escena desde este archivo de imagen", invalidSceneUrl: "No se ha podido importar la escena desde la URL proporcionada. Está mal formada, o no contiene datos de Excalidraw JSON válidos.", resetLibrary: "Esto borrará tu biblioteca. ¿Estás seguro?", removeItemsFromsLibrary: "¿Eliminar {{count}} elemento(s) de la biblioteca?", invalidEncryptionKey: "La clave de cifrado debe tener 22 caracteres. La colaboración en vivo está deshabilitada.", collabOfflineWarning: `No hay conexión a internet disponible.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.Cnqs5YEy.js";
|
|
2
2
|
var e = { paste: "Pegar", pasteAsPlaintext: "Pegar coma texto sen formato", pasteCharts: "Pegar gráficos", selectAll: "Seleccionar todo", multiSelect: "Engadir elemento á selección", moveCanvas: "Mover o lenzo", cut: "Cortar", copy: "Copiar", copyAsPng: "Copiar no portapapeis como PNG", copyAsSvg: "Copiar no portapapeis como SVG", copyText: "Copia no portapapeis como texto", copySource: "", convertToCode: "", bringForward: "Traer cara adiante", sendToBack: "Enviar cara atrás", bringToFront: "Traer á fronte", sendBackward: "Enviar ao fondo", delete: "Borrar", copyStyles: "Copiar estilo", pasteStyles: "Pegar estilo", stroke: "Trazo", background: "Fondo", fill: "Recheo", strokeWidth: "Largo do trazo", strokeStyle: "Estilo do trazo", strokeStyle_solid: "Sólido", strokeStyle_dashed: "Liña de trazos", strokeStyle_dotted: "Liña de puntos", sloppiness: "Estilo de trazo", opacity: "Opacidade", textAlign: "Aliñar texto", edges: "Bordos", sharp: "Agudo", round: "Redondo", arrowheads: "Puntas de frecha", arrowhead_none: "Ningunha", arrowhead_arrow: "Frecha", arrowhead_bar: "Barra", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "Triángulo", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Tamaño da fonte", fontFamily: "Tipo de fonte", addWatermark: 'Engadir "Feito con Excalidraw"', handDrawn: "Debuxado a man", normal: "Normal", code: "Código", small: "Pequeno", medium: "Mediano", large: "Grande", veryLarge: "Moi grande", solid: "Sólido", hachure: "Folleto", zigzag: "Zigzag", crossHatch: "Raiado transversal", thin: "Estreito", bold: "Groso", left: "Esquerda", center: "Centrado", right: "Dereita", extraBold: "Moi groso", architect: "Arquitecto", artist: "Artista", cartoonist: "Caricatura", fileTitle: "Nome do arquivo", colorPicker: "Selector de cor", canvasColors: "Usado en lenzo", canvasBackground: "Fondo do lenzo", drawingCanvas: "Lenzo de debuxo", layers: "Capas", actions: "Accións", language: "Idioma", liveCollaboration: "Colaboración en directo...", duplicateSelection: "Duplicar", untitled: "Sen título", name: "Nome", yourName: "O teu nome", madeWithExcalidraw: "Feito con Excalidraw", group: "Agrupar selección", ungroup: "Desagrupar selección", collaborators: "Colaboradores", showGrid: "Mostrar cuadrícula", addToLibrary: "Engadir á biblioteca", removeFromLibrary: "Eliminar da biblioteca", libraryLoadingMessage: "Cargando biblioteca…", libraries: "Explorar bibliotecas", loadingScene: "Cargando escena…", align: "Aliñamento", alignTop: "Aliñamento superior", alignBottom: "Aliñamento inferior", alignLeft: "Aliñar a esquerda", alignRight: "Aliñar a dereita", centerVertically: "Centrar verticalmente", centerHorizontally: "Centrar horizontalmente", distributeHorizontally: "Distribuír horizontalmente", distributeVertically: "Distribuír verticalmente", flipHorizontal: "Virar horizontalmente", flipVertical: "Virar verticalmente", viewMode: "Modo de visualización", share: "Compartir", showStroke: "Mostrar selector de cores do trazo", showBackground: "Mostrar selector de cores do fondo", toggleTheme: "Alternar tema", personalLib: "Biblioteca Persoal", excalidrawLib: "Biblioteca Excalidraw", decreaseFontSize: "Diminuír tamaño da fonte", increaseFontSize: "Aumentar o tamaño da fonte", unbindText: "Desvincular texto", bindText: "Ligar o texto ao contedor", createContainerFromText: "Envolver o texto nun contedor", link: { edit: "Editar ligazón", editEmbed: "", create: "Crear ligazón", createEmbed: "", label: "Ligazón", labelEmbed: "", empty: "" }, lineEditor: { edit: "Editar liña", exit: "Saír do editor de liñas" }, elementLock: { lock: "Bloquear", unlock: "Desbloquear", lockAll: "Bloquear todo", unlockAll: "Desbloquear todo" }, statusPublished: "Publicado", sidebarLock: "Manter a barra lateral aberta", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, a = { noItems: "Aínda non hai elementos engadidos...", hint_emptyLibrary: "Seleccione un elemento no lenzo para engadilo aquí, ou instale unha biblioteca dende o repositorio público, como se detalla a continuación.", hint_emptyPrivateLibrary: "Seleccione un elemento do lenzo para engadilo aquí." }, o = { clearReset: "Limpar o lenzo", exportJSON: "Exportar a arquivo", exportImage: "Exportar imaxe...", export: "Gardar en...", copyToClipboard: "Copiar ao portapapeis", save: "Gardar no ficheiro actual", saveAs: "Gardar como", load: "Abrir", getShareableLink: "Obter unha ligazón que se poida compartir", close: "Pechar", selectLanguage: "Seleccionar idioma", scrollBackToContent: "Volver ao contido", zoomIn: "Ampliar", zoomOut: "Reducir", resetZoom: "Reiniciar zoom", menu: "Menú", done: "Feito", edit: "Editar", undo: "Desfacer", redo: "Refacer", resetLibrary: "Reiniciar biblioteca", createNewRoom: "Crear nova sala", fullScreen: "Pantalla completa", darkMode: "Modo escuro", lightMode: "Modo claro", zenMode: "Modo zen", objectsSnapMode: "", exitZenMode: "Saír do modo zen", cancel: "Cancelar", clear: "Limpar", remove: "Eliminar", embed: "", publishLibrary: "Publicar", submit: "Enviar", confirm: "Confirmar", embeddableInteractionButton: "Faga clic para interactuar" }, r = { clearReset: "Isto limpará todo o lenzo. Estás seguro?", couldNotCreateShareableLink: "Non se puido crear unha ligazón para compartir.", couldNotCreateShareableLinkTooBig: "Non se puido crear a ligazón para compartir: a escena é demasiado grande", couldNotLoadInvalidFile: "Non se puido cargar o ficheiro non válido", importBackendFailed: "A importación dende o backend fallou.", cannotExportEmptyCanvas: "Non se pode exportar un lenzo baleiro.", couldNotCopyToClipboard: "Non se puido copiar ao portapapeis.", decryptFailed: "Non se poideron descifrar os datos.", uploadedSecurly: "A carga foi asegurada con cifrado de extremo a extremo, o que significa que o servidor de Excalidraw e terceiros non poden ler o contido.", loadSceneOverridePrompt: "A carga dun debuxo externo substituirá o contido existente. Desexa continuar?", collabStopOverridePrompt: `Deter a sesión, sobrescribirá o seu debuxo local previamente almacenado. Está seguro?
|
|
3
3
|
|
|
4
4
|
(Se quere manter o seu debuxo local, simplemente peche a lapela do navegador.)`, errorAddingToLibrary: "Non se puido engadir o elemento á biblioteca", errorRemovingFromLibrary: "Non se puido eliminar o elemento da biblioteca", confirmAddLibrary: "Isto engadirá {{numShapes}} forma(s) a túa biblioteca. Estás seguro?", imageDoesNotContainScene: "Esta imaxe non parece conter ningún dato da escena. Activou a inserción de escenas durante a exportación?", cannotRestoreFromImage: "Non se puido restaurar a escena dende este arquivo de imaxe", invalidSceneUrl: "Non se puido importar a escena dende a URL proporcionada. Ou ben está malformada ou non contén un JSON con información válida para Excalidraw.", resetLibrary: "Isto limpará a súa biblioteca. Está seguro?", removeItemsFromsLibrary: "Eliminar {{count}} elemento(s) da biblioteca?", invalidEncryptionKey: "A clave de cifrado debe ter 22 caracteres. A colaboración en directo está desactivada.", collabOfflineWarning: `Non hai conexión a Internet dispoñible.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./layers.DwdSmj_F.js");require("lodash-es");const Ve=require("./layers.Cyzu9PKQ.js"),Oe=require("./layers.BLd2spTm.js");require("./layers.BQM8yb9G.js");require("lodash-es/memoize.js");require("lodash-es/merge.js");require("lodash-es/isEmpty.js");const Le=require("./layers.BZVkaHHv.js");var ce=(function(){var e=function(V,i,n,a){for(n=n||{},a=V.length;a--;n[V[a]]=i);return n},t=[1,3],l=[1,4],c=[1,5],u=[1,6],d=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],p=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],v=[1,25],N=[1,26],x=[1,27],$=[1,20],S=[1,28],A=[1,29],M=[62,63],de=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],pe=[1,47],ye=[1,48],fe=[1,49],_e=[1,50],ge=[1,51],Ee=[1,52],Re=[1,53],L=[53,54],D=[1,64],P=[1,60],Y=[1,61],U=[1,62],B=[1,63],Q=[1,65],z=[1,69],X=[1,70],J=[1,67],Z=[1,68],I=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],re={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(i,n,a,r,y,s,K){var _=s.length-1;switch(y){case 4:this.$=s[_].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[_].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[_-3],s[_-4]);break;case 14:r.setNewReqId(s[_-2]);break;case 15:r.setNewReqText(s[_-2]);break;case 16:r.setNewReqRisk(s[_-2]);break;case 17:r.setNewReqVerifyMethod(s[_-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[_-3]);break;case 34:r.setNewElementType(s[_-2]);break;case 35:r.setNewElementDocRef(s[_-2]);break;case 38:r.addRelationship(s[_-2],s[_],s[_-4]);break;case 39:r.addRelationship(s[_-2],s[_-4],s[_]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES;break}},table:[{3:1,4:2,6:t,9:l,11:c,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:l,11:c,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(d,[2,6]),{3:12,4:2,6:t,9:l,11:c,13:u},{1:[2,2]},{4:17,5:p,7:13,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:v,35:N,36:x,44:$,62:S,63:A},e(d,[2,4]),e(d,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:p,7:31,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:v,35:N,36:x,44:$,62:S,63:A},{4:17,5:p,7:32,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:v,35:N,36:x,44:$,62:S,63:A},{4:17,5:p,7:33,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:v,35:N,36:x,44:$,62:S,63:A},{4:17,5:p,7:34,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:v,35:N,36:x,44:$,62:S,63:A},{4:17,5:p,7:35,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:v,35:N,36:x,44:$,62:S,63:A},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(M,[2,20]),e(M,[2,21]),e(M,[2,22]),e(M,[2,23]),e(M,[2,24]),e(M,[2,25]),e(de,[2,49]),e(de,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:pe,56:ye,57:fe,58:_e,59:ge,60:Ee,61:Re},{52:54,55:pe,56:ye,57:fe,58:_e,59:ge,60:Ee,61:Re},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(L,[2,43]),e(L,[2,44]),e(L,[2,45]),e(L,[2,46]),{54:[1,58]},{5:D,20:59,21:P,24:Y,26:U,28:B,30:Q},{5:z,30:X,46:66,47:J,49:Z},{23:71,62:S,63:A},{23:72,62:S,63:A},e(I,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:D,20:77,21:P,24:Y,26:U,28:B,30:Q},e(I,[2,19]),e(I,[2,33]),{22:[1,78]},{22:[1,79]},{5:z,30:X,46:80,47:J,49:Z},e(I,[2,37]),e(I,[2,38]),e(I,[2,39]),{23:81,62:S,63:A},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(I,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(I,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:D,20:106,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:107,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:108,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:109,21:P,24:Y,26:U,28:B,30:Q},{5:z,30:X,46:110,47:J,49:Z},{5:z,30:X,46:111,47:J,49:Z},e(I,[2,14]),e(I,[2,15]),e(I,[2,16]),e(I,[2,17]),e(I,[2,34]),e(I,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(i,n){if(n.recoverable)this.trace(i);else{var a=new Error(i);throw a.hash=n,a}},parse:function(i){var n=this,a=[0],r=[],y=[null],s=[],K=this.table,_="",ee=0,me=0,ve=2,Ie=1,$e=s.slice.call(arguments,1),E=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);E.setInput(i,C.yy),C.yy.lexer=E,C.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var ae=E.yylloc;s.push(ae);var we=E.options&&E.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qe(){var q;return q=r.pop()||E.lex()||Ie,typeof q!="number"&&(q instanceof Array&&(r=q,q=r.pop()),q=n.symbols_[q]||q),q}for(var b,F,T,le,H={},te,w,be,ie;;){if(F=a[a.length-1],this.defaultActions[F]?T=this.defaultActions[F]:((b===null||typeof b>"u")&&(b=qe()),T=K[F]&&K[F][b]),typeof T>"u"||!T.length||!T[0]){var oe="";ie=[];for(te in K[F])this.terminals_[te]&&te>ve&&ie.push("'"+this.terminals_[te]+"'");E.showPosition?oe="Parse error on line "+(ee+1)+`:
|
|
2
2
|
`+E.showPosition()+`
|
|
3
3
|
Expecting `+ie.join(", ")+", got '"+(this.terminals_[b]||b)+"'":oe="Parse error on line "+(ee+1)+": Unexpected "+(b==Ie?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(oe,{text:E.match,token:this.terminals_[b]||b,line:E.yylineno,loc:ae,expected:ie})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+b);switch(T[0]){case 1:a.push(b),y.push(E.yytext),s.push(E.yylloc),a.push(T[1]),b=null,me=E.yyleng,_=E.yytext,ee=E.yylineno,ae=E.yylloc;break;case 2:if(w=this.productions_[T[1]][1],H.$=y[y.length-w],H._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},we&&(H._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),le=this.performAction.apply(H,[_,me,ee,C.yy,T[1],y,s].concat($e)),typeof le<"u")return le;w&&(a=a.slice(0,-1*w*2),y=y.slice(0,-1*w),s=s.slice(0,-1*w)),a.push(this.productions_[T[1]][0]),y.push(H.$),s.push(H._$),be=K[a[a.length-2]][a[a.length-1]],a.push(be);break;case 3:return!0}}return!0}},Ae=(function(){var V={EOF:1,parseError:function(n,a){if(this.yy.parser)this.yy.parser.parseError(n,a);else throw new Error(n)},setInput:function(i,n){return this.yy=n||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 n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var n=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var r=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),a.length-1&&(this.yylineno-=a.length-1);var y=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:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-n]),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(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(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.Cnqs5YEy.js";
|
|
2
2
|
var e = { paste: "Vložit", pasteAsPlaintext: "Vložit jako prostý text", pasteCharts: "Vložit grafy", selectAll: "Vybrat vše", multiSelect: "Přidat prvek do výběru", moveCanvas: "Posunout plátno", cut: "Vyjmout", copy: "Kopírovat", copyAsPng: "Zkopírovat do schránky jako PNG", copyAsSvg: "Zkopírovat do schránky jako SVG", copyText: "Zkopírovat do schránky jako text", copySource: "", convertToCode: "", bringForward: "Přenést blíž", sendToBack: "Přenést do pozadí", bringToFront: "Přenést do popředí", sendBackward: "Přenést dál", delete: "Smazat", copyStyles: "Kopírovat styly", pasteStyles: "Vložit styly", stroke: "Obrys", background: "Pozadí", fill: "Výplň", strokeWidth: "Tloušťka tahu", strokeStyle: "Styl tahu", strokeStyle_solid: "Plný", strokeStyle_dashed: "Čárkovaný", strokeStyle_dotted: "Tečkovaný", sloppiness: "Stylizace", opacity: "Průhlednost", textAlign: "Zarovnání textu", edges: "Hrany", sharp: "Ostré", round: "Zaoblené", arrowheads: "Styl šipky", arrowhead_none: "Žádný", arrowhead_arrow: "Šipka", arrowhead_bar: "Kóta", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "Trojúhelník", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Velikost písma", fontFamily: "Písmo", addWatermark: 'Přidat "Vyrobeno s Excalidraw"', handDrawn: "Od ruky", normal: "Normální", code: "Kód", small: "Malé", medium: "Střední", large: "Velké", veryLarge: "Velmi velké", solid: "Plný", hachure: "Hachure", zigzag: "Klikatě", crossHatch: "Křížový šrafování", thin: "Tenký", bold: "Tlustý", left: "Vlevo", center: "Na střed", right: "Vpravo", extraBold: "Extra tlustý", architect: "Architekt", artist: "Umělec", cartoonist: "Kartoonista", fileTitle: "Název souboru", colorPicker: "Výběr barvy", canvasColors: "Použito na plátně", canvasBackground: "Pozadí plátna", drawingCanvas: "Kreslicí plátno", layers: "Vrstvy", actions: "Akce", language: "Jazyk", liveCollaboration: "Živá spolupráce...", duplicateSelection: "Duplikovat", untitled: "Bez názvu", name: "Název", yourName: "Vaše jméno", madeWithExcalidraw: "Vytvořeno v Excalidraw", group: "Sloučit výběr do skupiny", ungroup: "Zrušit sloučení skupiny", collaborators: "Spolupracovníci", showGrid: "Zobrazit mřížku", addToLibrary: "Přidat do knihovny", removeFromLibrary: "Odebrat z knihovny", libraryLoadingMessage: "Načítání knihovny…", libraries: "Procházet knihovny", loadingScene: "Načítání scény…", align: "Zarovnání", alignTop: "Zarovnat nahoru", alignBottom: "Zarovnat dolů", alignLeft: "Zarovnat vlevo", alignRight: "Zarovnejte vpravo", centerVertically: "Vycentrovat svisle", centerHorizontally: "Vycentrovat vodorovně", distributeHorizontally: "Rozložit horizontálně", distributeVertically: "Rozložit svisle", flipHorizontal: "Převrátit vodorovně", flipVertical: "Převrátit svisle", viewMode: "Náhled", share: "Sdílet", showStroke: "Zobrazit výběr barvy", showBackground: "Zobrazit výběr barev pozadí", toggleTheme: "Přepnout tmavý řežim", personalLib: "Osobní knihovna", excalidrawLib: "Exkalidraw knihovna", decreaseFontSize: "Zmenšit písmo", increaseFontSize: "Zvětšit písmo", unbindText: "Zrušit vazbu textu", bindText: "Vázat text s kontejnerem", createContainerFromText: "Zabalit text do kontejneru", link: { edit: "Upravit odkaz", editEmbed: "", create: "Vytvořit odkaz", createEmbed: "", label: "Odkaz", labelEmbed: "", empty: "" }, lineEditor: { edit: "Upravit čáru", exit: "Ukončit editor řádků" }, elementLock: { lock: "Uzamknout", unlock: "Odemknout", lockAll: "Uzamknout vše", unlockAll: "Odemknout vše" }, statusPublished: "Zveřejněno", sidebarLock: "Ponechat postranní panel otevřený", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "Vyberte barvu z plátna", textToDiagram: "", prompt: "" }, o = { noItems: "Dosud neexistují žádné položky...", hint_emptyLibrary: "Vyberte položku na plátně a přidejte ji sem nebo nainstalujte knihovnu z veřejného úložiště níže.", hint_emptyPrivateLibrary: "Vyberte položku na plátně a přidejte ji sem." }, t = { clearReset: "Resetovat plátno", exportJSON: "Exportovat do souboru", exportImage: "Exportovat obrázek...", export: "Uložit jako...", copyToClipboard: "Kopírovat do schránky", save: "Uložit do aktuálního souboru", saveAs: "Uložit jako", load: "Otevřít", getShareableLink: "Získat odkaz pro sdílení", close: "Zavřít", selectLanguage: "Zvolit jazyk", scrollBackToContent: "Přejít zpět na obsah", zoomIn: "Přiblížit", zoomOut: "Oddálit", resetZoom: "Resetovat přiblížení", menu: "Menu", done: "Hotovo", edit: "Upravit", undo: "Zpět", redo: "Znovu", resetLibrary: "Obnovit knihovnu", createNewRoom: "Vytvořit novou místnost", fullScreen: "Celá obrazovka", darkMode: "Tmavý režim", lightMode: "Světlý režim", zenMode: "Zen mód", objectsSnapMode: "", exitZenMode: "Opustit zen mód", cancel: "Zrušit", clear: "Vyčistit", remove: "Odstranit", embed: "", publishLibrary: "Zveřejnit", submit: "Odeslat", confirm: "Potvrdit", embeddableInteractionButton: "" }, a = { clearReset: "Toto vymaže celé plátno. Jste si jisti?", couldNotCreateShareableLink: "Nepodařilo se vytvořit sdílitelný odkaz.", couldNotCreateShareableLinkTooBig: "Nepodařilo se vytvořit sdílený odkaz: scéna je příliš velká", couldNotLoadInvalidFile: "Nepodařilo se načíst neplatný soubor", importBackendFailed: "Import z backendu se nezdařil.", cannotExportEmptyCanvas: "Nelze exportovat prázdné plátno.", couldNotCopyToClipboard: "Nelze zkopírovat do schránky.", decryptFailed: "Nelze dešifrovat data.", uploadedSecurly: "Nahrávání je zabezpečeno koncovým šifrováním, což znamená, že server Excalidraw ani třetí strany nemohou obsah přečíst.", loadSceneOverridePrompt: "Načítání externího výkresu nahradí váš existující obsah. Přejete si pokračovat?", collabStopOverridePrompt: `Zastavení relace přepíše vaše předchozí, lokálně uložené kresby. Jste si jisti?
|
|
3
3
|
|
|
4
4
|
(Pokud chcete zachovat místní kresbu, jednoduše zavřete kartu prohlížeče)`, errorAddingToLibrary: "Položku nelze přidat do knihovny", errorRemovingFromLibrary: "Položku nelze odstranit z knihovny", confirmAddLibrary: "Tímto přidáte {{numShapes}} tvarů do tvé knihovny. Jste si jisti?", imageDoesNotContainScene: "Zdá se, že tento obrázek neobsahuje žádná data o scéně. Zapnuli jste při exportu vkládání scény?", cannotRestoreFromImage: "Scénu nelze obnovit z tohoto souboru obrázku", invalidSceneUrl: "Nelze importovat scénu z zadané URL. Je buď poškozená, nebo neobsahuje platná JSON data Excalidraw.", resetLibrary: "Tímto vymažete vaši knihovnu. Jste si jisti?", removeItemsFromsLibrary: "Smazat {{count}} položek z knihovny?", invalidEncryptionKey: "Šifrovací klíč musí mít 22 znaků. Live spolupráce je zakázána.", collabOfflineWarning: `Není k dispozici žádné internetové připojení.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.BQM8yb9G.js");var e={paste:"Vložit",pasteAsPlaintext:"Vložit jako prostý text",pasteCharts:"Vložit grafy",selectAll:"Vybrat vše",multiSelect:"Přidat prvek do výběru",moveCanvas:"Posunout plátno",cut:"Vyjmout",copy:"Kopírovat",copyAsPng:"Zkopírovat do schránky jako PNG",copyAsSvg:"Zkopírovat do schránky jako SVG",copyText:"Zkopírovat do schránky jako text",copySource:"",convertToCode:"",bringForward:"Přenést blíž",sendToBack:"Přenést do pozadí",bringToFront:"Přenést do popředí",sendBackward:"Přenést dál",delete:"Smazat",copyStyles:"Kopírovat styly",pasteStyles:"Vložit styly",stroke:"Obrys",background:"Pozadí",fill:"Výplň",strokeWidth:"Tloušťka tahu",strokeStyle:"Styl tahu",strokeStyle_solid:"Plný",strokeStyle_dashed:"Čárkovaný",strokeStyle_dotted:"Tečkovaný",sloppiness:"Stylizace",opacity:"Průhlednost",textAlign:"Zarovnání textu",edges:"Hrany",sharp:"Ostré",round:"Zaoblené",arrowheads:"Styl šipky",arrowhead_none:"Žádný",arrowhead_arrow:"Šipka",arrowhead_bar:"Kóta",arrowhead_circle:"",arrowhead_circle_outline:"",arrowhead_triangle:"Trojúhelník",arrowhead_triangle_outline:"",arrowhead_diamond:"",arrowhead_diamond_outline:"",fontSize:"Velikost písma",fontFamily:"Písmo",addWatermark:'Přidat "Vyrobeno s Excalidraw"',handDrawn:"Od ruky",normal:"Normální",code:"Kód",small:"Malé",medium:"Střední",large:"Velké",veryLarge:"Velmi velké",solid:"Plný",hachure:"Hachure",zigzag:"Klikatě",crossHatch:"Křížový šrafování",thin:"Tenký",bold:"Tlustý",left:"Vlevo",center:"Na střed",right:"Vpravo",extraBold:"Extra tlustý",architect:"Architekt",artist:"Umělec",cartoonist:"Kartoonista",fileTitle:"Název souboru",colorPicker:"Výběr barvy",canvasColors:"Použito na plátně",canvasBackground:"Pozadí plátna",drawingCanvas:"Kreslicí plátno",layers:"Vrstvy",actions:"Akce",language:"Jazyk",liveCollaboration:"Živá spolupráce...",duplicateSelection:"Duplikovat",untitled:"Bez názvu",name:"Název",yourName:"Vaše jméno",madeWithExcalidraw:"Vytvořeno v Excalidraw",group:"Sloučit výběr do skupiny",ungroup:"Zrušit sloučení skupiny",collaborators:"Spolupracovníci",showGrid:"Zobrazit mřížku",addToLibrary:"Přidat do knihovny",removeFromLibrary:"Odebrat z knihovny",libraryLoadingMessage:"Načítání knihovny…",libraries:"Procházet knihovny",loadingScene:"Načítání scény…",align:"Zarovnání",alignTop:"Zarovnat nahoru",alignBottom:"Zarovnat dolů",alignLeft:"Zarovnat vlevo",alignRight:"Zarovnejte vpravo",centerVertically:"Vycentrovat svisle",centerHorizontally:"Vycentrovat vodorovně",distributeHorizontally:"Rozložit horizontálně",distributeVertically:"Rozložit svisle",flipHorizontal:"Převrátit vodorovně",flipVertical:"Převrátit svisle",viewMode:"Náhled",share:"Sdílet",showStroke:"Zobrazit výběr barvy",showBackground:"Zobrazit výběr barev pozadí",toggleTheme:"Přepnout tmavý řežim",personalLib:"Osobní knihovna",excalidrawLib:"Exkalidraw knihovna",decreaseFontSize:"Zmenšit písmo",increaseFontSize:"Zvětšit písmo",unbindText:"Zrušit vazbu textu",bindText:"Vázat text s kontejnerem",createContainerFromText:"Zabalit text do kontejneru",link:{edit:"Upravit odkaz",editEmbed:"",create:"Vytvořit odkaz",createEmbed:"",label:"Odkaz",labelEmbed:"",empty:""},lineEditor:{edit:"Upravit čáru",exit:"Ukončit editor řádků"},elementLock:{lock:"Uzamknout",unlock:"Odemknout",lockAll:"Uzamknout vše",unlockAll:"Odemknout vše"},statusPublished:"Zveřejněno",sidebarLock:"Ponechat postranní panel otevřený",selectAllElementsInFrame:"",removeAllElementsFromFrame:"",eyeDropper:"Vyberte barvu z plátna",textToDiagram:"",prompt:""},o={noItems:"Dosud neexistují žádné položky...",hint_emptyLibrary:"Vyberte položku na plátně a přidejte ji sem nebo nainstalujte knihovnu z veřejného úložiště níže.",hint_emptyPrivateLibrary:"Vyberte položku na plátně a přidejte ji sem."},t={clearReset:"Resetovat plátno",exportJSON:"Exportovat do souboru",exportImage:"Exportovat obrázek...",export:"Uložit jako...",copyToClipboard:"Kopírovat do schránky",save:"Uložit do aktuálního souboru",saveAs:"Uložit jako",load:"Otevřít",getShareableLink:"Získat odkaz pro sdílení",close:"Zavřít",selectLanguage:"Zvolit jazyk",scrollBackToContent:"Přejít zpět na obsah",zoomIn:"Přiblížit",zoomOut:"Oddálit",resetZoom:"Resetovat přiblížení",menu:"Menu",done:"Hotovo",edit:"Upravit",undo:"Zpět",redo:"Znovu",resetLibrary:"Obnovit knihovnu",createNewRoom:"Vytvořit novou místnost",fullScreen:"Celá obrazovka",darkMode:"Tmavý režim",lightMode:"Světlý režim",zenMode:"Zen mód",objectsSnapMode:"",exitZenMode:"Opustit zen mód",cancel:"Zrušit",clear:"Vyčistit",remove:"Odstranit",embed:"",publishLibrary:"Zveřejnit",submit:"Odeslat",confirm:"Potvrdit",embeddableInteractionButton:""},a={clearReset:"Toto vymaže celé plátno. Jste si jisti?",couldNotCreateShareableLink:"Nepodařilo se vytvořit sdílitelný odkaz.",couldNotCreateShareableLinkTooBig:"Nepodařilo se vytvořit sdílený odkaz: scéna je příliš velká",couldNotLoadInvalidFile:"Nepodařilo se načíst neplatný soubor",importBackendFailed:"Import z backendu se nezdařil.",cannotExportEmptyCanvas:"Nelze exportovat prázdné plátno.",couldNotCopyToClipboard:"Nelze zkopírovat do schránky.",decryptFailed:"Nelze dešifrovat data.",uploadedSecurly:"Nahrávání je zabezpečeno koncovým šifrováním, což znamená, že server Excalidraw ani třetí strany nemohou obsah přečíst.",loadSceneOverridePrompt:"Načítání externího výkresu nahradí váš existující obsah. Přejete si pokračovat?",collabStopOverridePrompt:`Zastavení relace přepíše vaše předchozí, lokálně uložené kresby. Jste si jisti?
|
|
2
2
|
|
|
3
3
|
(Pokud chcete zachovat místní kresbu, jednoduše zavřete kartu prohlížeče)`,errorAddingToLibrary:"Položku nelze přidat do knihovny",errorRemovingFromLibrary:"Položku nelze odstranit z knihovny",confirmAddLibrary:"Tímto přidáte {{numShapes}} tvarů do tvé knihovny. Jste si jisti?",imageDoesNotContainScene:"Zdá se, že tento obrázek neobsahuje žádná data o scéně. Zapnuli jste při exportu vkládání scény?",cannotRestoreFromImage:"Scénu nelze obnovit z tohoto souboru obrázku",invalidSceneUrl:"Nelze importovat scénu z zadané URL. Je buď poškozená, nebo neobsahuje platná JSON data Excalidraw.",resetLibrary:"Tímto vymažete vaši knihovnu. Jste si jisti?",removeItemsFromsLibrary:"Smazat {{count}} položek z knihovny?",invalidEncryptionKey:"Šifrovací klíč musí mít 22 znaků. Live spolupráce je zakázána.",collabOfflineWarning:`Není k dispozici žádné internetové připojení.
|
|
4
4
|
Vaše změny nebudou uloženy!`},n={unsupportedFileType:"Nepodporovaný typ souboru.",imageInsertError:"Nelze vložit obrázek. Zkuste to později...",fileTooBig:"Soubor je příliš velký. Maximální povolená velikost je {{maxSize}}.",svgImageInsertError:"Nelze vložit SVG obrázek. Značení SVG je neplatné.",failedToFetchImage:"",invalidSVGString:"Neplatný SVG.",cannotResolveCollabServer:"Nelze se připojit ke sdílenému serveru. Prosím obnovte stránku a zkuste to znovu.",importLibraryError:"Nelze načíst knihovnu",collabSaveFailed:"Nelze uložit do databáze na serveru. Pokud problémy přetrvávají, měli byste uložit soubor lokálně, abyste se ujistili, že neztratíte svou práci.",collabSaveFailed_sizeExceeded:"Nelze uložit do databáze na serveru, plátno se zdá být příliš velké. Měli byste uložit soubor lokálně, abyste se ujistili, že neztratíte svou práci.",imageToolNotSupported:"",brave_measure_text_error:{line1:"Vypadá to, že používáte Brave prohlížeč s povoleným nastavením <bold>Aggressively Block Fingerprinting</bold>.",line2:"To by mohlo vést k narušení <bold>Textových elementů</bold> ve vašich výkresech.",line3:"Důrazně doporučujeme zakázat toto nastavení. Můžete sledovat <link>tyto kroky</link> jak to udělat.",line4:"Pokud vypnutí tohoto nastavení neopravuje zobrazení textových prvků, prosím, otevřete <issueLink>problém</issueLink> na našem GitHubu, nebo nám napište na <discordLink>Discord</discordLink>"},libraryElementTypeError:{embeddable:"",iframe:"",image:""},asyncPasteFailedOnRead:"",asyncPasteFailedOnParse:"",copyToSystemClipboardFailed:""},u={selection:"Výběr",image:"Vložit obrázek",rectangle:"Obdélník",diamond:"Diamant",ellipse:"Elipsa",arrow:"Šipka",line:"Čára",freedraw:"Kreslení",text:"Text",library:"Knihovna",lock:"Po kreslení ponechat vybraný nástroj aktivní",penMode:"Režim Pera - zabránit dotyku",link:"Přidat/aktualizovat odkaz pro vybraný tvar",eraser:"Guma",frame:"",magicframe:"",embeddable:"",laser:"",hand:"Ruka (nástroj pro posouvání)",extraTools:"",mermaidToExcalidraw:"",magicSettings:""},r={canvasActions:"Akce plátna",selectedShapeActions:"Akce vybraného tvaru",shapes:"Tvary"},i={canvasPanning:"Chcete-li přesunout plátno, podržte kolečko nebo mezerník při tažení nebo použijte nástroj Ruka",linearElement:"Kliknutím pro více bodů, táhnutím pro jednu čáru",freeDraw:"Klikněte a táhněte, pro ukončení pusťte",text:"Tip: Text můžete také přidat dvojitým kliknutím kdekoli pomocí nástroje pro výběr",embeddable:"",text_selected:"Dvojklikem nebo stisknutím klávesy ENTER upravíte text",text_editing:"Stiskněte Escape nebo Ctrl/Cmd+ENTER pro dokončení úprav",linearElementMulti:"Klikněte na poslední bod nebo stiskněte Escape anebo Enter pro dokončení",lockAngle:"Úhel můžete omezit podržením SHIFT",resize:`Můžete omezit proporce podržením SHIFT při změně velikosti,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./layers.C5iO--QV.js"),d=require("./layers.DwdSmj_F.js"),A=require("lodash-es"),dt=require("./layers.Cyzu9PKQ.js"),ut=require("./layers.BLd2spTm.js"),y=require("./layers.ax_5jBLF.js"),ht=require("./layers.BZVkaHHv.js");require("./layers.BQM8yb9G.js");require("lodash-es/memoize.js");require("lodash-es/merge.js");require("lodash-es/isEmpty.js");function pt(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,a.get?a:{enumerable:!0,get:()=>r[t]})}}return e.default=r,Object.freeze(e)}const Y=pt(A);function ft(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.text()}function yt(r,e){return fetch(r,e).then(ft)}function gt(r){return(e,t)=>yt(e,t).then(a=>new DOMParser().parseFromString(a,r))}var vt=gt("image/svg+xml"),R={normal:xt,vee:mt,undirected:bt};function wt(r){R=r}function xt(r,e,t,a){var n=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=n.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");y.applyStyle(s,t[a+"Style"]),t[a+"Class"]&&s.attr("class",t[a+"Class"])}function mt(r,e,t,a){var n=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=n.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");y.applyStyle(s,t[a+"Style"]),t[a+"Class"]&&s.attr("class",t[a+"Class"])}function bt(r,e,t,a){var n=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=n.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");y.applyStyle(s,t[a+"Style"]),t[a+"Class"]&&s.attr("class",t[a+"Class"])}function kt(r,e){var t=r;return t.node().appendChild(e.label),y.applyStyle(t,e.labelStyle),t}function St(r,e){for(var t=r.append("text"),a=Tt(e.label).split(`
|
|
2
2
|
`),n=0;n<a.length;n++)t.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(a[n]);return y.applyStyle(t,e.labelStyle),t}function Tt(r){for(var e="",t=!1,a,n=0;n<r.length;++n)if(a=r[n],t){switch(a){case"n":e+=`
|
|
3
3
|
`;break;default:e+=a}t=!1}else a==="\\"?t=!0:e+=a;return e}function W(r,e,t){var a=e.label,n=r.append("g");e.labelType==="svg"?kt(n,e):typeof a!="string"||e.labelType==="html"?y.addHtmlLabel(n,e):St(n,e);var s=n.node().getBBox(),i;switch(t){case"top":i=-e.height/2;break;case"bottom":i=e.height/2-s.height;break;default:i=-s.height/2}return n.attr("transform","translate("+-s.width/2+","+i+")"),n}var $=function(r,e){var t=e.nodes().filter(function(s){return y.isSubgraph(e,s)}),a=r.selectAll("g.cluster").data(t,function(s){return s});y.applyTransition(a.exit(),e).style("opacity",0).remove();var n=a.enter().append("g").attr("class","cluster").attr("id",function(s){var i=e.node(s);return i.id}).style("opacity",0).each(function(s){var i=e.node(s),o=d.select(this);d.select(this).append("rect");var c=o.append("g").attr("class","label");W(c,i,i.clusterLabelPos)});return a=a.merge(n),a=y.applyTransition(a,e).style("opacity",1),a.selectAll("rect").each(function(s){var i=e.node(s),o=d.select(this);y.applyStyle(o,i.style)}),a};function Lt(r){$=r}let G=function(r,e){var t=r.selectAll("g.edgeLabel").data(e.edges(),function(n){return y.edgeToId(n)}).classed("update",!0);t.exit().remove(),t.enter().append("g").classed("edgeLabel",!0).style("opacity",0),t=r.selectAll("g.edgeLabel"),t.each(function(n){var s=d.select(this);s.select(".label").remove();var i=e.edge(n),o=W(s,e.edge(n),0).classed("label",!0),c=o.node().getBBox();i.labelId&&o.attr("id",i.labelId),Object.prototype.hasOwnProperty.call(i,"width")||(i.width=c.width),Object.prototype.hasOwnProperty.call(i,"height")||(i.height=c.height)});var a;return t.exit?a=t.exit():a=t.selectAll(null),y.applyTransition(a,e).style("opacity",0).remove(),t};function _t(r){G=r}function j(r,e){return r.intersect(e)}var U=function(r,e,t){var a=r.selectAll("g.edgePath").data(e.edges(),function(i){return y.edgeToId(i)}).classed("update",!0),n=Pt(a,e);It(a,e);var s=a.merge!==void 0?a.merge(n):a;return y.applyTransition(s,e).style("opacity",1),s.each(function(i){var o=d.select(this),c=e.edge(i);c.elem=this,c.id&&o.attr("id",c.id),y.applyClass(o,c.class,(o.classed("update")?"update ":"")+"edgePath")}),s.selectAll("path.path").each(function(i){var o=e.edge(i);o.arrowheadId=Y.uniqueId("arrowhead");var c=d.select(this).attr("marker-end",function(){return"url("+Ct(location.href,o.arrowheadId)+")"}).style("fill","none");y.applyTransition(c,e).attr("d",function(u){return At(e,u)}),y.applyStyle(c,o.style)}),s.selectAll("defs *").remove(),s.selectAll("defs").each(function(i){var o=e.edge(i),c=t[o.arrowhead];c(d.select(this),o.arrowheadId,o,"arrowhead")}),s};function Et(r){U=r}function Ct(r,e){var t=r.split("#")[0];return t+"#"+e}function At(r,e){var t=r.edge(e),a=r.node(e.v),n=r.node(e.w),s=t.points.slice(1,t.points.length-1);return s.unshift(j(a,s[0])),s.push(j(n,s[s.length-1])),F(t,s)}function F(r,e){var t=(ht.line||vt.line)().x(function(a){return a.x}).y(function(a){return a.y});return(t.curve||t.interpolate)(r.curve),t(e)}function Nt(r){var e=r.getBBox(),t=r.ownerSVGElement.getScreenCTM().inverse().multiply(r.getScreenCTM()).translate(e.width/2,e.height/2);return{x:t.e,y:t.f}}function Pt(r,e){var t=r.enter().append("g").attr("class","edgePath").style("opacity",0);return t.append("path").attr("class","path").attr("d",function(a){var n=e.edge(a),s=e.node(a.v).elem,i=Y.range(n.points.length).map(function(){return Nt(s)});return F(n,i)}),t.append("defs"),t}function It(r,e){var t=r.exit();y.applyTransition(t,e).style("opacity",0).remove()}var q=function(r,e,t){var a=e.nodes().filter(function(i){return!y.isSubgraph(e,i)}),n=r.selectAll("g.node").data(a,function(i){return i}).classed("update",!0);n.exit().remove(),n.enter().append("g").attr("class","node").style("opacity",0),n=r.selectAll("g.node"),n.each(function(i){var o=e.node(i),c=d.select(this);y.applyClass(c,o.class,(c.classed("update")?"update ":"")+"node"),c.select("g.label").remove();var u=c.append("g").attr("class","label"),l=W(u,o),v=t[o.shape],h=A.pick(l.node().getBBox(),"width","height");o.elem=this,o.id&&c.attr("id",o.id),o.labelId&&u.attr("id",o.labelId),Object.prototype.hasOwnProperty.call(o,"width")&&(h.width=o.width),Object.prototype.hasOwnProperty.call(o,"height")&&(h.height=o.height),h.width+=o.paddingLeft+o.paddingRight,h.height+=o.paddingTop+o.paddingBottom,u.attr("transform","translate("+(o.paddingLeft-o.paddingRight)/2+","+(o.paddingTop-o.paddingBottom)/2+")");var p=d.select(this);p.select(".label-container").remove();var g=v(p,h,o).classed("label-container",!0);y.applyStyle(g,o.style);var x=g.node().getBBox();o.width=x.width,o.height=x.height});var s;return n.exit?s=n.exit():s=n.selectAll(null),y.applyTransition(s,e).style("opacity",0).remove(),n};function Dt(r){q=r}function Mt(r,e){var t=r.filter(function(){return!d.select(this).classed("update")});function a(n){var s=e.node(n);return"translate("+s.x+","+s.y+")"}t.attr("transform",a),y.applyTransition(r,e).style("opacity",1).attr("transform",a),y.applyTransition(t.selectAll("rect"),e).attr("width",function(n){return e.node(n).width}).attr("height",function(n){return e.node(n).height}).attr("x",function(n){var s=e.node(n);return-s.width/2}).attr("y",function(n){var s=e.node(n);return-s.height/2})}function Bt(r,e){var t=r.filter(function(){return!d.select(this).classed("update")});function a(n){var s=e.edge(n);return Object.prototype.hasOwnProperty.call(s,"x")?"translate("+s.x+","+s.y+")":""}t.attr("transform",a),y.applyTransition(r,e).style("opacity",1).attr("transform",a)}function Ot(r,e){var t=r.filter(function(){return!d.select(this).classed("update")});function a(n){var s=e.node(n);return"translate("+s.x+","+s.y+")"}t.attr("transform",a),y.applyTransition(r,e).style("opacity",1).attr("transform",a)}function X(r,e,t,a){var n=r.x,s=r.y,i=n-a.x,o=s-a.y,c=Math.sqrt(e*e*o*o+t*t*i*i),u=Math.abs(e*t*i/c);a.x<n&&(u=-u);var l=Math.abs(e*t*o/c);return a.y<s&&(l=-l),{x:n+u,y:s+l}}function Rt(r,e,t){return X(r,e,e,t)}function $t(r,e,t,a){var n,s,i,o,c,u,l,v,h,p,g,x,f,w,S;if(n=e.y-r.y,i=r.x-e.x,c=e.x*r.y-r.x*e.y,h=n*t.x+i*t.y+c,p=n*a.x+i*a.y+c,!(h!==0&&p!==0&&H(h,p))&&(s=a.y-t.y,o=t.x-a.x,u=a.x*t.y-t.x*a.y,l=s*r.x+o*r.y+u,v=s*e.x+o*e.y+u,!(l!==0&&v!==0&&H(l,v))&&(g=n*o-s*i,g!==0)))return x=Math.abs(g/2),f=i*u-o*c,w=f<0?(f-x)/g:(f+x)/g,f=s*c-n*u,S=f<0?(f-x)/g:(f+x)/g,{x:w,y:S}}function H(r,e){return r*e>0}function _(r,e,t){var a=r.x,n=r.y,s=[],i=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;e.forEach(function(g){i=Math.min(i,g.x),o=Math.min(o,g.y)});for(var c=a-r.width/2-i,u=n-r.height/2-o,l=0;l<e.length;l++){var v=e[l],h=e[l<e.length-1?l+1:0],p=$t(r,t,{x:c+v.x,y:u+v.y},{x:c+h.x,y:u+h.y});p&&s.push(p)}return s.length?(s.length>1&&s.sort(function(g,x){var f=g.x-t.x,w=g.y-t.y,S=Math.sqrt(f*f+w*w),N=x.x-t.x,L=x.y-t.y,B=Math.sqrt(N*N+L*L);return S<B?-1:S===B?0:1}),s[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",r),r)}function V(r,e){var t=r.x,a=r.y,n=e.x-t,s=e.y-a,i=r.width/2,o=r.height/2,c,u;return Math.abs(s)*i>Math.abs(n)*o?(s<0&&(o=-o),c=s===0?0:o*n/s,u=o):(n<0&&(i=-i),c=i,u=n===0?0:i*s/n),{x:t+c,y:a+u}}var z={rect:Ut,ellipse:qt,circle:zt,diamond:Wt};function Gt(r){z=r}function Ut(r,e,t){var a=r.insert("rect",":first-child").attr("rx",t.rx).attr("ry",t.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return t.intersect=function(n){return V(t,n)},a}function qt(r,e,t){var a=e.width/2,n=e.height/2,s=r.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",a).attr("ry",n);return t.intersect=function(i){return X(t,a,n,i)},s}function zt(r,e,t){var a=Math.max(e.width,e.height)/2,n=r.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",a);return t.intersect=function(s){return Rt(t,a,s)},n}function Wt(r,e,t){var a=e.width*Math.SQRT2/2,n=e.height*Math.SQRT2/2,s=[{x:0,y:-n},{x:-a,y:0},{x:0,y:n},{x:a,y:0}],i=r.insert("polygon",":first-child").attr("points",s.map(function(o){return o.x+","+o.y}).join(" "));return t.intersect=function(o){return _(t,s,o)},i}function Vt(){var r=function(e,t){Yt(t);var a=I(e,"output"),n=I(a,"clusters"),s=I(a,"edgePaths"),i=G(I(a,"edgeLabels"),t),o=q(I(a,"nodes"),t,z);dt.layout(t),Ot(o,t),Bt(i,t),U(s,t,R);var c=$(n,t);Mt(c,t),Ft(t)};return r.createNodes=function(e){return arguments.length?(Dt(e),r):q},r.createClusters=function(e){return arguments.length?(Lt(e),r):$},r.createEdgeLabels=function(e){return arguments.length?(_t(e),r):G},r.createEdgePaths=function(e){return arguments.length?(Et(e),r):U},r.shapes=function(e){return arguments.length?(Gt(e),r):z},r.arrows=function(e){return arguments.length?(wt(e),r):R},r}var jt={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},Ht={arrowhead:"normal",curve:d.curveLinear};function Yt(r){r.nodes().forEach(e=>{const t=r.node(e);!Object.prototype.hasOwnProperty.call(t,"label")&&!r.children(e).length&&(t.label=e),Object.prototype.hasOwnProperty.call(t,"paddingX")&&A.defaults(t,{paddingLeft:t.paddingX,paddingRight:t.paddingX}),Object.prototype.hasOwnProperty.call(t,"paddingY")&&A.defaults(t,{paddingTop:t.paddingY,paddingBottom:t.paddingY}),Object.prototype.hasOwnProperty.call(t,"padding")&&A.defaults(t,{paddingLeft:t.padding,paddingRight:t.padding,paddingTop:t.padding,paddingBottom:t.padding}),A.defaults(t,jt),["paddingLeft","paddingRight","paddingTop","paddingBottom"].forEach(a=>{t[a]=Number(t[a])}),Object.prototype.hasOwnProperty.call(t,"width")&&(t._prevWidth=t.width),Object.prototype.hasOwnProperty.call(t,"height")&&(t._prevHeight=t.height)}),r.edges().forEach(function(e){var t=r.edge(e);Object.prototype.hasOwnProperty.call(t,"label")||(t.label=""),A.defaults(t,Ht)})}function Ft(r){r.nodes().forEach(e=>{var t=r.node(e);Object.prototype.hasOwnProperty.call(t,"_prevWidth")?t.width=t._prevWidth:delete t.width,Object.prototype.hasOwnProperty.call(t,"_prevHeight")?t.height=t._prevHeight:delete t.height,delete t._prevWidth,delete t._prevHeight})}function I(r,e){var t=r.select("g."+e);return t.empty()&&(t=r.append("g").attr("class",e)),t}function K(r,e,t){const a=e.width,n=e.height,s=(a+n)*.9,i=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}],o=E(r,s,s,i);return t.intersect=function(c){return _(t,i,c)},o}function Q(r,e,t){const n=e.height,s=n/4,i=e.width+2*s,o=[{x:s,y:0},{x:i-s,y:0},{x:i,y:-n/2},{x:i-s,y:-n},{x:s,y:-n},{x:0,y:-n/2}],c=E(r,i,n,o);return t.intersect=function(u){return _(t,o,u)},c}function J(r,e,t){const a=e.width,n=e.height,s=[{x:-n/2,y:0},{x:a,y:0},{x:a,y:-n},{x:-n/2,y:-n},{x:0,y:-n/2}],i=E(r,a,n,s);return t.intersect=function(o){return _(t,s,o)},i}function Z(r,e,t){const a=e.width,n=e.height,s=[{x:-2*n/6,y:0},{x:a-n/6,y:0},{x:a+2*n/6,y:-n},{x:n/6,y:-n}],i=E(r,a,n,s);return t.intersect=function(o){return _(t,s,o)},i}function tt(r,e,t){const a=e.width,n=e.height,s=[{x:2*n/6,y:0},{x:a+n/6,y:0},{x:a-2*n/6,y:-n},{x:-n/6,y:-n}],i=E(r,a,n,s);return t.intersect=function(o){return _(t,s,o)},i}function et(r,e,t){const a=e.width,n=e.height,s=[{x:-2*n/6,y:0},{x:a+2*n/6,y:0},{x:a-n/6,y:-n},{x:n/6,y:-n}],i=E(r,a,n,s);return t.intersect=function(o){return _(t,s,o)},i}function rt(r,e,t){const a=e.width,n=e.height,s=[{x:n/6,y:0},{x:a-n/6,y:0},{x:a+2*n/6,y:-n},{x:-2*n/6,y:-n}],i=E(r,a,n,s);return t.intersect=function(o){return _(t,s,o)},i}function at(r,e,t){const a=e.width,n=e.height,s=[{x:0,y:0},{x:a+n/2,y:0},{x:a,y:-n/2},{x:a+n/2,y:-n},{x:0,y:-n}],i=E(r,a,n,s);return t.intersect=function(o){return _(t,s,o)},i}function nt(r,e,t){const a=e.height,n=e.width+a/4,s=r.insert("rect",":first-child").attr("rx",a/2).attr("ry",a/2).attr("x",-n/2).attr("y",-a/2).attr("width",n).attr("height",a);return t.intersect=function(i){return V(t,i)},s}function st(r,e,t){const a=e.width,n=e.height,s=[{x:0,y:0},{x:a,y:0},{x:a,y:-n},{x:0,y:-n},{x:0,y:0},{x:-8,y:0},{x:a+8,y:0},{x:a+8,y:-n},{x:-8,y:-n},{x:-8,y:0}],i=E(r,a,n,s);return t.intersect=function(o){return _(t,s,o)},i}function it(r,e,t){const a=e.width,n=a/2,s=n/(2.5+a/50),i=e.height+s,o="M 0,"+s+" a "+n+","+s+" 0,0,0 "+a+" 0 a "+n+","+s+" 0,0,0 "+-a+" 0 l 0,"+i+" a "+n+","+s+" 0,0,0 "+a+" 0 l 0,"+-i,c=r.attr("label-offset-y",s).insert("path",":first-child").attr("d",o).attr("transform","translate("+-a/2+","+-(i/2+s)+")");return t.intersect=function(u){const l=V(t,u),v=l.x-t.x;if(n!=0&&(Math.abs(v)<t.width/2||Math.abs(v)==t.width/2&&Math.abs(l.y-t.y)>t.height/2-s)){let h=s*s*(1-v*v/(n*n));h!=0&&(h=Math.sqrt(h)),h=s-h,u.y-t.y>0&&(h=-h),l.y+=h}return l},c}function Xt(r){r.shapes().question=K,r.shapes().hexagon=Q,r.shapes().stadium=nt,r.shapes().subroutine=st,r.shapes().cylinder=it,r.shapes().rect_left_inv_arrow=J,r.shapes().lean_right=Z,r.shapes().lean_left=tt,r.shapes().trapezoid=et,r.shapes().inv_trapezoid=rt,r.shapes().rect_right_inv_arrow=at}function Kt(r){r({question:K}),r({hexagon:Q}),r({stadium:nt}),r({subroutine:st}),r({cylinder:it}),r({rect_left_inv_arrow:J}),r({lean_right:Z}),r({lean_left:tt}),r({trapezoid:et}),r({inv_trapezoid:rt}),r({rect_right_inv_arrow:at})}function E(r,e,t,a){return r.insert("polygon",":first-child").attr("points",a.map(function(n){return n.x+","+n.y}).join(" ")).attr("transform","translate("+-e/2+","+t/2+")")}const Qt={addToRender:Xt,addToRenderV2:Kt},ot={},Jt=function(r){const e=Object.keys(r);for(const t of e)ot[t]=r[t]},lt=async function(r,e,t,a,n,s){const i=a?a.select(`[id="${t}"]`):d.select(`[id="${t}"]`),o=n||document,c=Object.keys(r);for(const u of c){const l=r[u];let v="default";l.classes.length>0&&(v=l.classes.join(" "));const h=d.getStylesFromArray(l.styles);let p=l.text!==void 0?l.text:l.id,g;if(d.evaluate(d.getConfig().flowchart.htmlLabels)){const w={label:await d.renderKatexSanitized(p.replace(/fa[blrs]?:fa-[\w-]+/g,S=>`<i class='${S.replace(":"," ")}'></i>`),d.getConfig())};g=y.addHtmlLabel(i,w).node(),g.parentNode.removeChild(g)}else{const w=o.createElementNS("http://www.w3.org/2000/svg","text");w.setAttribute("style",h.labelStyle.replace("color:","fill:"));const S=p.split(d.common$1.lineBreakRegex);for(const N of S){const L=o.createElementNS("http://www.w3.org/2000/svg","tspan");L.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),L.setAttribute("dy","1em"),L.setAttribute("x","1"),L.textContent=N,w.appendChild(L)}g=w}let x=0,f="";switch(l.type){case"round":x=5,f="rect";break;case"square":f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"odd_right":f="rect_left_inv_arrow";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"group":f="rect";break;default:f="rect"}d.log$1.warn("Adding node",l.id,l.domId),e.setNode(s.db.lookUpDomId(l.id),{labelType:"svg",labelStyle:h.labelStyle,shape:f,label:g,rx:x,ry:x,class:v,style:h.style,id:s.db.lookUpDomId(l.id)})}},ct=async function(r,e,t){let a=0,n,s;if(r.defaultStyle!==void 0){const i=d.getStylesFromArray(r.defaultStyle);n=i.style,s=i.labelStyle}for(const i of r){a++;const o="L-"+i.start+"-"+i.end,c="LS-"+i.start,u="LE-"+i.end,l={};i.type==="arrow_open"?l.arrowhead="none":l.arrowhead="normal";let v="",h="";if(i.style!==void 0){const p=d.getStylesFromArray(i.style);v=p.style,h=p.labelStyle}else switch(i.stroke){case"normal":v="fill:none",n!==void 0&&(v=n),s!==void 0&&(h=s);break;case"dotted":v="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v=" stroke-width: 3.5px;fill:none";break}l.style=v,l.labelStyle=h,i.interpolate!==void 0?l.curve=d.interpolateToCurve(i.interpolate,d.curveLinear):r.defaultInterpolate!==void 0?l.curve=d.interpolateToCurve(r.defaultInterpolate,d.curveLinear):l.curve=d.interpolateToCurve(ot.curve,d.curveLinear),i.text===void 0?i.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",d.evaluate(d.getConfig().flowchart.htmlLabels)?(l.labelType="html",l.label=`<span id="L-${o}" class="edgeLabel L-${c}' L-${u}" style="${l.labelStyle}">${await d.renderKatexSanitized(i.text.replace(/fa[blrs]?:fa-[\w-]+/g,p=>`<i class='${p.replace(":"," ")}'></i>`),d.getConfig())}</span>`):(l.labelType="text",l.label=i.text.replace(d.common$1.lineBreakRegex,`
|
|
4
4
|
`),i.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),l.id=o,l.class=c+" "+u,l.minlen=i.length||1,e.setEdge(t.db.lookUpDomId(i.start),t.db.lookUpDomId(i.end),l,a)}},Zt=function(r,e){return d.log$1.info("Extracting classes"),e.db.getClasses()},te=async function(r,e,t,a){d.log$1.info("Drawing flowchart");const{securityLevel:n,flowchart:s}=d.getConfig();let i;n==="sandbox"&&(i=d.select("#i"+e));const o=n==="sandbox"?d.select(i.nodes()[0].contentDocument.body):d.select("body"),c=n==="sandbox"?i.nodes()[0].contentDocument:document;let u=a.db.getDirection();u===void 0&&(u="TD");const l=s.nodeSpacing||50,v=s.rankSpacing||50,h=new ut.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:u,nodesep:l,ranksep:v,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let p;const g=a.db.getSubGraphs();for(let m=g.length-1;m>=0;m--)p=g[m],a.db.addVertex(p.id,p.title,"group",void 0,p.classes);const x=a.db.getVertices();d.log$1.warn("Get vertices",x);const f=a.db.getEdges();let w=0;for(w=g.length-1;w>=0;w--){p=g[w],y.selectAll("cluster").append("text");for(let m=0;m<p.nodes.length;m++)d.log$1.warn("Setting subgraph",p.nodes[m],a.db.lookUpDomId(p.nodes[m]),a.db.lookUpDomId(p.id)),h.setParent(a.db.lookUpDomId(p.nodes[m]),a.db.lookUpDomId(p.id))}await lt(x,h,e,o,c,a),await ct(f,h,a);const S=new Vt;Qt.addToRender(S),S.arrows().none=function(k,T,b,P){const C=k.append("marker").attr("id",T).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z");y.applyStyle(C,b[P+"Style"])},S.arrows().normal=function(k,T){k.append("marker").attr("id",T).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};const N=o.select(`[id="${e}"]`),L=o.select("#"+e+" g");for(S(L,h),L.selectAll("g.node").attr("title",function(){return a.db.getTooltip(this.id)}),a.db.indexNodes("subGraph"+w),w=0;w<g.length;w++)if(p=g[w],p.title!=="undefined"){const m=c.querySelectorAll("#"+e+' [id="'+a.db.lookUpDomId(p.id)+'"] rect'),k=c.querySelectorAll("#"+e+' [id="'+a.db.lookUpDomId(p.id)+'"]'),T=m[0].x.baseVal.value,b=m[0].y.baseVal.value,P=m[0].width.baseVal.value,C=d.select(k[0]).select(".label");C.attr("transform",`translate(${T+P/2}, ${b+14})`),C.attr("id",e+"Text");for(let O=0;O<p.classes.length;O++)k[0].classList.add(p.classes[O])}if(!s.htmlLabels){const m=c.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const k of m){const T=k.getBBox(),b=c.createElementNS("http://www.w3.org/2000/svg","rect");b.setAttribute("rx",0),b.setAttribute("ry",0),b.setAttribute("width",T.width),b.setAttribute("height",T.height),k.insertBefore(b,k.firstChild)}}d.setupGraphViewbox$1(h,N,s.diagramPadding,s.useMaxWidth),Object.keys(x).forEach(function(m){const k=x[m];if(k.link){const T=o.select("#"+e+' [id="'+a.db.lookUpDomId(m)+'"]');if(T){const b=c.createElementNS("http://www.w3.org/2000/svg","a");b.setAttributeNS("http://www.w3.org/2000/svg","class",k.classes.join(" ")),b.setAttributeNS("http://www.w3.org/2000/svg","href",k.link),b.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),n==="sandbox"?b.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):k.linkTarget&&b.setAttributeNS("http://www.w3.org/2000/svg","target",k.linkTarget);const P=T.insert(function(){return b},":first-child"),D=T.select(".label-container");D&&P.append(function(){return D.node()});const C=T.select(".label");C&&P.append(function(){return C.node()})}}})},ee={setConf:Jt,addVertices:lt,addEdges:ct,getClasses:Zt,draw:te},re={parser:M.parser$1,db:M.flowDb,renderer:y.flowRendererV2,styles:y.flowStyles,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,ee.setConf(r.flowchart),M.flowDb.clear(),M.flowDb.setGen("gen-1")}};exports.diagram=re;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.Cnqs5YEy.js";
|
|
2
2
|
var u = { paste: "貼上", pasteAsPlaintext: "以純文字貼上", pasteCharts: "貼上圖表", selectAll: "全選", multiSelect: "將物件加入選取範圍", moveCanvas: "移動畫布", cut: "剪下", copy: "複製", copyAsPng: "以PNG格式儲存到剪貼板", copyAsSvg: "以SVG格式複製到剪貼板", copyText: "以文字格式複製至剪貼簿", copySource: "複製來源至剪貼簿", convertToCode: "轉換為程式碼", bringForward: "上移一層", sendToBack: "移到最底層", bringToFront: "置於最頂層", sendBackward: "往後移一層", delete: "刪除", copyStyles: "複製樣式", pasteStyles: "貼上樣式", stroke: "筆畫", background: "背景", fill: "填滿", strokeWidth: "筆跡寬度", strokeStyle: "筆畫樣式", strokeStyle_solid: "實線", strokeStyle_dashed: "虛線", strokeStyle_dotted: "點線", sloppiness: "線條風格", opacity: "透明度", textAlign: "文字對齊", edges: "邊緣", sharp: "尖銳", round: "平滑", arrowheads: "箭頭", arrowhead_none: "無", arrowhead_arrow: "箭頭", arrowhead_bar: "條狀箭頭", arrowhead_circle: "圓形", arrowhead_circle_outline: "圓形(外框)", arrowhead_triangle: "三角形", arrowhead_triangle_outline: "三角形(外框)", arrowhead_diamond: "菱形", arrowhead_diamond_outline: "菱形(外框)", fontSize: "字型大小", fontFamily: "字體集", addWatermark: '加上 "Made with Excalidraw" 浮水印', handDrawn: "手寫", normal: "一般", code: "代碼", small: "小", medium: "中", large: "大", veryLarge: "特大", solid: "實心", hachure: "斜線筆觸", zigzag: "Z字形", crossHatch: "交叉筆觸", thin: "細", bold: "粗", left: "左側", center: "置中", right: "右側", extraBold: "極粗", architect: "精確", artist: "藝術", cartoonist: "卡通", fileTitle: "檔案名稱", colorPicker: "色彩選擇工具", canvasColors: "使用於畫布", canvasBackground: "Canvas 背景", drawingCanvas: "繪圖 canvas", layers: "圖層", actions: "動作", language: "語言", liveCollaboration: "即時協作...", duplicateSelection: "複製", untitled: "無標題", name: "名稱", yourName: "你的名稱", madeWithExcalidraw: "以 Excalidraw 製作", group: "建立群組", ungroup: "取消群組", collaborators: "協作者", showGrid: "顯示格線", addToLibrary: "加入資料庫", removeFromLibrary: "從資料庫中移除", libraryLoadingMessage: "資料庫讀取中…", libraries: "瀏覽資料庫", loadingScene: "場景讀取中…", align: "對齊", alignTop: "對齊頂部", alignBottom: "對齊底部", alignLeft: "對齊左側", alignRight: "對齊右側", centerVertically: "垂直置中", centerHorizontally: "水平置中", distributeHorizontally: "水平分布", distributeVertically: "垂直分布", flipHorizontal: "水平翻轉", flipVertical: "垂直翻轉", viewMode: "檢視模式", share: "共享", showStroke: "顯示線條檢色器", showBackground: "顯示背景檢色器", toggleTheme: "切換主題", personalLib: "個人資料庫", excalidrawLib: "Excalidraw 資料庫", decreaseFontSize: "縮小文字", increaseFontSize: "放大文字", unbindText: "取消綁定文字", bindText: "結合文字至容器", createContainerFromText: "將文字包於容器中", link: { edit: "編輯連結", editEmbed: "編輯連結&嵌入", create: "建立連結", createEmbed: "建立連結&嵌入", label: "連結", labelEmbed: "連結&嵌入", empty: "未設定連結" }, lineEditor: { edit: "編輯線條", exit: "結束線條編輯" }, elementLock: { lock: "鎖定", unlock: "解鎖", lockAll: "全部鎖定", unlockAll: "全部解鎖" }, statusPublished: "已發布", sidebarLock: "側欄維持開啟", selectAllElementsInFrame: "選取框架內的所有元素", removeAllElementsFromFrame: "從框架內移除所有元素", eyeDropper: "從畫布中選取顏色", textToDiagram: "文字轉圖表", prompt: "提示詞" }, F = { noItems: "尚未加入任何物件...", hint_emptyLibrary: "選取畫布上的物件以加入,或從下方的公開 repository 中安裝資料庫", hint_emptyPrivateLibrary: "選擇畫布上的物件以在此加入" }, e = { clearReset: "重置 canvas", exportJSON: "匯出至檔案", exportImage: "匯出圖片", export: "儲存至...", copyToClipboard: "複製至剪貼簿", save: "儲存目前檔案", saveAs: "儲存為", load: "開啟", getShareableLink: "取得共享連結", close: "關閉", selectLanguage: "選擇語言", scrollBackToContent: "捲動回到內容", zoomIn: "放大", zoomOut: "縮小", resetZoom: "重設縮放", menu: "選單", done: "完成", edit: "編輯", undo: "復原", redo: "重做", resetLibrary: "重設資料庫", createNewRoom: "建立新協作會議室", fullScreen: "全螢幕", darkMode: "深色模式", lightMode: "淺色模式", zenMode: "專注模式", objectsSnapMode: "吸附至物件", exitZenMode: "離開專注模式", cancel: "取消", clear: "清除", remove: "刪除", embed: "切換嵌入", publishLibrary: "發布", submit: "送出", confirm: "確認", embeddableInteractionButton: "點擊以互動" }, E = { clearReset: "這將會清除整個 canvas。你確定嗎?", couldNotCreateShareableLink: "無法建立共享連結。", couldNotCreateShareableLinkTooBig: "無法建立共享連結:場景太大", couldNotLoadInvalidFile: "無法讀取失效的檔案。", importBackendFailed: "後端讀取失敗。", cannotExportEmptyCanvas: "無法輸出空白的 canvas。", couldNotCopyToClipboard: "無法複製到剪貼簿", decryptFailed: "無法解密資料。", uploadedSecurly: "上傳已通過 end-to-end 加密,Excalidraw 伺服器和第三方無法皆讀取其內容。", loadSceneOverridePrompt: "讀取外部圖樣將取代目前的內容。是否要繼續?", collabStopOverridePrompt: `停止連線將覆蓋您先前於本機儲存的繪圖進度,是否確認?
|
|
3
3
|
|
|
4
4
|
(如要保留原有的本機繪圖進度,直接關閉瀏覽器分頁即可。)`, errorAddingToLibrary: "無法於此資料庫加入項目", errorRemovingFromLibrary: "無法由此資料庫移除項目", confirmAddLibrary: "這將會將 {{numShapes}} 個圖形加入你的資料庫,你確定嗎?", imageDoesNotContainScene: "此圖檔中未包含場景資料。輸出檔案時是否有包含場景資料?", cannotRestoreFromImage: "無法由此檔案回復場景。", invalidSceneUrl: "無法由提供的 URL 匯入場景。可能是發生異常,或未包含有效的 Excalidraw JSON 資料。", resetLibrary: "這會清除您的資料庫,是否確定?", removeItemsFromsLibrary: "從資料庫刪除 {{count}} 項?", invalidEncryptionKey: "加密鍵必須為22字元。即時協作已停用。", collabOfflineWarning: `沒有可用的網路連線。
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.BQM8yb9G.js");var e={paste:"Coller",pasteAsPlaintext:"Coller comme texte brut",pasteCharts:"Coller les graphiques",selectAll:"Tout sélectionner",multiSelect:"Ajouter l'élément à la sélection",moveCanvas:"Déplacer le canevas",cut:"Couper",copy:"Copier",copyAsPng:"Copier dans le presse-papier en PNG",copyAsSvg:"Copier dans le presse-papier en SVG",copyText:"Copier dans le presse-papier en tant que texte",copySource:"Copier la source dans le presse-papiers",convertToCode:"Convertir en code",bringForward:"Envoyer vers l'avant",sendToBack:"Déplacer à l'arrière-plan",bringToFront:"Mettre au premier plan",sendBackward:"Reculer d'un plan",delete:"Supprimer",copyStyles:"Copier les styles",pasteStyles:"Coller les styles",stroke:"Trait",background:"Arrière-plan",fill:"Remplissage",strokeWidth:"Largeur du contour",strokeStyle:"Style du trait",strokeStyle_solid:"Continu",strokeStyle_dashed:"Tirets",strokeStyle_dotted:"Pointillés",sloppiness:"Style de tracé",opacity:"Transparence",textAlign:"Alignement du texte",edges:"Angles",sharp:"Pointus",round:"Arrondis",arrowheads:"Extrémités",arrowhead_none:"Sans",arrowhead_arrow:"Flèche",arrowhead_bar:"Barre",arrowhead_circle:"Cercle",arrowhead_circle_outline:"Contour du cercle",arrowhead_triangle:"Triangle",arrowhead_triangle_outline:"Triangle (contour)",arrowhead_diamond:"Losange",arrowhead_diamond_outline:"",fontSize:"Taille de la police",fontFamily:"Police",addWatermark:'Ajouter "Réalisé avec Excalidraw"',handDrawn:"À main levée",normal:"Normale",code:"Code",small:"Petite",medium:"Moyenne",large:"Grande",veryLarge:"Très grande",solid:"Solide",hachure:"Hachures",zigzag:"Zigzag",crossHatch:"Hachures croisées",thin:"Fine",bold:"Épaisse",left:"À gauche",center:"Au centre",right:"À droite",extraBold:"Très épaisse",architect:"Architecte",artist:"Artiste",cartoonist:"Caricaturiste",fileTitle:"Nom du fichier",colorPicker:"Sélecteur de couleur",canvasColors:"Utilisé sur la zone de dessin",canvasBackground:"Arrière-plan du canevas",drawingCanvas:"Zone de dessin",layers:"Disposition",actions:"Actions",language:"Langue",liveCollaboration:"Collaboration en direct...",duplicateSelection:"Dupliquer",untitled:"Sans-titre",name:"Nom",yourName:"Votre nom",madeWithExcalidraw:"Fait avec Excalidraw",group:"Grouper la sélection",ungroup:"Dégrouper la sélection",collaborators:"Collaborateurs",showGrid:"Afficher la grille",addToLibrary:"Ajouter à la bibliothèque",removeFromLibrary:"Supprimer de la bibliothèque",libraryLoadingMessage:"Chargement de la bibliothèque…",libraries:"Parcourir les bibliothèques",loadingScene:"Chargement de la scène…",align:"Alignement",alignTop:"Aligner en haut",alignBottom:"Aligner en bas",alignLeft:"Aligner à gauche",alignRight:"Aligner à droite",centerVertically:"Centrer verticalement",centerHorizontally:"Centrer horizontalement",distributeHorizontally:"Répartir horizontalement",distributeVertically:"Répartir verticalement",flipHorizontal:"Retourner horizontalement",flipVertical:"Retourner verticalement",viewMode:"Mode présentation",share:"Partager",showStroke:"Afficher le sélecteur de couleur de trait",showBackground:"Afficher le sélecteur de couleur de fond",toggleTheme:"Changer le thème",personalLib:"Bibliothèque personnelle",excalidrawLib:"Bibliothèque Excalidraw",decreaseFontSize:"Diminuer la taille de police",increaseFontSize:"Augmenter la taille de la police",unbindText:"Dissocier le texte",bindText:"Associer le texte au conteneur",createContainerFromText:"Encadrer le texte dans un conteneur",link:{edit:"Modifier le lien",editEmbed:"Éditer le lien & intégrer",create:"Ajouter un lien",createEmbed:"Créer un lien & intégrer",label:"Lien",labelEmbed:"Lier & intégrer",empty:"Aucun lien défini"},lineEditor:{edit:"Modifier la ligne",exit:"Quitter l'éditeur de ligne"},elementLock:{lock:"Verrouiller",unlock:"Déverrouiller",lockAll:"Tout verrouiller",unlockAll:"Tout déverrouiller"},statusPublished:"Publié",sidebarLock:"Maintenir la barre latérale ouverte",selectAllElementsInFrame:"Sélectionner tous les éléments du cadre",removeAllElementsFromFrame:"Supprimer tous les éléments du cadre",eyeDropper:"Choisir la couleur depuis la toile",textToDiagram:"Texte vers Diagramme",prompt:"Consignes"},r={noItems:"Aucun élément n'a encore été ajouté ...",hint_emptyLibrary:"Sélectionnez un élément sur le canevas pour l'ajouter ici ou installez une bibliothèque depuis le dépôt public, ci-dessous.",hint_emptyPrivateLibrary:"Sélectionnez un élément sur le canevas pour l'ajouter ici."},i={clearReset:"Réinitialiser le canevas",exportJSON:"Exporter comme fichier",exportImage:"Exporter l'image...",export:"Enregistrer sous...",copyToClipboard:"Copier dans le presse-papier",save:"Enregistrer dans le fichier actuel",saveAs:"Enregistrer sous",load:"Ouvrir",getShareableLink:"Obtenir un lien de partage",close:"Fermer",selectLanguage:"Choisir une langue",scrollBackToContent:"Revenir au contenu",zoomIn:"Zoomer",zoomOut:"Dézoomer",resetZoom:"Réinitialiser le zoom",menu:"Menu",done:"Terminé",edit:"Modifier",undo:"Annuler",redo:"Rétablir",resetLibrary:"Réinitialiser la bibliothèque",createNewRoom:"Créer une nouvelle salle",fullScreen:"Plein écran",darkMode:"Mode sombre",lightMode:"Mode clair",zenMode:"Mode zen",objectsSnapMode:"Aimanter aux objets",exitZenMode:"Quitter le mode zen",cancel:"Annuler",clear:"Effacer",remove:"Supprimer",embed:"Activer/Désactiver l'intégration",publishLibrary:"Publier",submit:"Envoyer",confirm:"Confirmer",embeddableInteractionButton:"Cliquez pour interagir"},o={clearReset:"L'intégralité du canevas va être effacée. Êtes-vous sûr ?",couldNotCreateShareableLink:"Impossible de créer un lien de partage.",couldNotCreateShareableLinkTooBig:"Impossible de créer un lien de partage : la scène est trop volumineuse",couldNotLoadInvalidFile:"Impossible de charger un fichier invalide",importBackendFailed:"L'importation depuis le serveur a échoué.",cannotExportEmptyCanvas:"Impossible d'exporter un canevas vide.",couldNotCopyToClipboard:"Impossible de copier dans le presse-papiers.",decryptFailed:"Les données n'ont pas pu être déchiffrées.",uploadedSecurly:"Le téléchargement a été sécurisé avec un chiffrement de bout en bout, ce qui signifie que ni Excalidraw ni personne d'autre ne peut en lire le contenu.",loadSceneOverridePrompt:"Le chargement d'un dessin externe remplacera votre contenu actuel. Souhaitez-vous continuer ?",collabStopOverridePrompt:`Arrêter la session écrasera votre précédent dessin stocké localement. Êtes-vous sûr·e ?
|
|
2
2
|
|
|
3
3
|
(Si vous voulez garder votre dessin local, fermez simplement l'onglet du navigateur à la place.)`,errorAddingToLibrary:"Impossible d'ajouter l'élément à la bibliothèque",errorRemovingFromLibrary:"Impossible de retirer l'élément de la bibliothèque",confirmAddLibrary:"Cela va ajouter {{numShapes}} forme(s) à votre bibliothèque. Êtes-vous sûr·e ?",imageDoesNotContainScene:"Cette image ne semble pas contenir de données de scène. Avez-vous activé l'intégration de scène lors de l'exportation ?",cannotRestoreFromImage:"Impossible de restaurer la scène depuis ce fichier image",invalidSceneUrl:"Impossible d'importer la scène depuis l'URL fournie. Elle est soit incorrecte, soit ne contient pas de données JSON Excalidraw valides.",resetLibrary:"Cela va effacer votre bibliothèque. Êtes-vous sûr·e ?",removeItemsFromsLibrary:"Supprimer {{count}} élément(s) de la bibliothèque ?",invalidEncryptionKey:"La clé de chiffrement doit comporter 22 caractères. La collaboration en direct est désactivée.",collabOfflineWarning:`Aucune connexion internet disponible.
|
|
4
4
|
Vos modifications ne seront pas enregistrées !`},t={unsupportedFileType:"Type de fichier non supporté.",imageInsertError:"Impossible d'insérer l'image. Réessayez plus tard...",fileTooBig:"Le fichier est trop volumineux. La taille maximale autorisée est de {{maxSize}}.",svgImageInsertError:"Impossible d'insérer l'image SVG. Le balisage SVG semble invalide.",failedToFetchImage:"Échec de récupération de l'image.",invalidSVGString:"SVG invalide.",cannotResolveCollabServer:"Impossible de se connecter au serveur collaboratif. Veuillez recharger la page et réessayer.",importLibraryError:"Impossible de charger la bibliothèque",collabSaveFailed:"Impossible d'enregistrer dans la base de données en arrière-plan. Si des problèmes persistent, vous devriez enregistrer votre fichier localement pour vous assurer de ne pas perdre votre travail.",collabSaveFailed_sizeExceeded:"Impossible d'enregistrer dans la base de données en arrière-plan, le tableau semble trop grand. Vous devriez enregistrer le fichier localement pour vous assurer de ne pas perdre votre travail.",imageToolNotSupported:"Les images sont désactivées.",brave_measure_text_error:{line1:"On dirait que vous utilisez le navigateur Brave avec l'option <bold>Bloquer agressivement le fichage</bold> activée.",line2:"Cela pourrait entraîner des problèmes avec les <bold>Éléments Textuels</bold> dans vos dessins.",line3:"Nous recommandons fortement de désactiver cette option. Vous pouvez suivre <link>ces instructions</link> pour savoir comment faire.",line4:"Si désactiver cette option de résout pas le problème d'affichage des éléments textuels, veuillez ouvrir un <issueLink>ticket</issueLink> sur notre GitHub, ou écrivez-nous sur notre <discordLink>Discord</discordLink>"},libraryElementTypeError:{embeddable:"Les éléments intégrés ne peuvent pas être ajoutés à la librairie.",iframe:"",image:"Le support pour l'ajout d'images à la librairie arrive bientôt !"},asyncPasteFailedOnRead:"Impossible de coller (impossible de lire le presse-papiers système).",asyncPasteFailedOnParse:"Impossible de coller.",copyToSystemClipboardFailed:"Échec de la copie dans le presse-papiers."},n={selection:"Sélection",image:"Insérer une image",rectangle:"Rectangle",diamond:"Losange",ellipse:"Ellipse",arrow:"Flèche",line:"Ligne",freedraw:"Dessiner",text:"Texte",library:"Bibliothèque",lock:"Garder l'outil sélectionné actif après le dessin",penMode:"Mode stylo - évite le toucher",link:"Ajouter/mettre à jour le lien pour une forme sélectionnée",eraser:"Gomme",frame:"Outil de cadre",magicframe:"",embeddable:"Intégration Web",laser:"Pointeur laser",hand:"Mains (outil de déplacement de la vue)",extraTools:"Plus d'outils",mermaidToExcalidraw:"De Mermaid à Excalidraw",magicSettings:"Paramètres IA"},a={canvasActions:"Actions du canevas",selectedShapeActions:"Actions pour la forme sélectionnée",shapes:"Formes"},l={canvasPanning:"Pour déplacer la zone de dessin, maintenez la molette de la souris enfoncée ou la barre d'espace tout en faisant glisser, ou utiliser l'outil main.",linearElement:"Cliquez pour démarrer plusieurs points, faites glisser pour une seule ligne",freeDraw:"Cliquez et faites glissez, relâchez quand vous avez terminé",text:"Astuce : vous pouvez aussi ajouter du texte en double-cliquant n'importe où avec l'outil de sélection",embeddable:"Cliquez et glissez pour créer une intégration de site web",text_selected:"Double-cliquez ou appuyez sur ENTRÉE pour modifier le texte",text_editing:"Appuyez sur ÉCHAP ou Ctrl/Cmd+ENTRÉE pour terminer l'édition",linearElementMulti:"Cliquez sur le dernier point ou appuyez sur Échap ou Entrée pour terminer",lockAngle:"Vous pouvez restreindre l'angle en maintenant MAJ",resize:"Vous pouvez conserver les proportions en maintenant la touche MAJ pendant le redimensionnement, maintenez la touche ALT pour redimensionner par rapport au centre",resizeImage:`Vous pouvez redimensionner librement en maintenant SHIFT,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./layers.DwdSmj_F.js"),Le=require("lodash-es/clone.js"),Y=require("./layers.BbGK2VtD.js"),_e=require("./layers.BLd2spTm.js");require("./layers.BQM8yb9G.js");require("lodash-es/memoize.js");require("lodash-es/merge.js");require("lodash-es/isEmpty.js");const me=require("./layers.D9rEn5oi.js"),ye=require("./layers.B19hGmey.js"),Ee=require("./layers.BIeVwYKL.js");var ae,le,ee=(function(){var e=function(D,o,s,i){for(s=s||{},i=D.length;i--;s[D[i]]=o);return s},a=[1,7],d=[1,13],c=[1,14],n=[1,15],g=[1,19],l=[1,16],b=[1,17],x=[1,18],p=[8,30],S=[8,21,28,29,30,31,32,40,44,47],y=[1,23],O=[1,24],v=[8,15,16,21,28,29,30,31,32,40,44,47],N=[8,15,16,21,27,28,29,30,31,32,40,44,47],E=[1,49],L={trace:function(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function(o,s,i,u,h,t,_){var r=t.length-1;switch(h){case 4:u.getLogger().debug("Rule: separator (NL) ");break;case 5:u.getLogger().debug("Rule: separator (Space) ");break;case 6:u.getLogger().debug("Rule: separator (EOF) ");break;case 7:u.getLogger().debug("Rule: hierarchy: ",t[r-1]),u.setHierarchy(t[r-1]);break;case 8:u.getLogger().debug("Stop NL ");break;case 9:u.getLogger().debug("Stop EOF ");break;case 10:u.getLogger().debug("Stop NL2 ");break;case 11:u.getLogger().debug("Stop EOF2 ");break;case 12:u.getLogger().debug("Rule: statement: ",t[r]),typeof t[r].length=="number"?this.$=t[r]:this.$=[t[r]];break;case 13:u.getLogger().debug("Rule: statement #2: ",t[r-1]),this.$=[t[r-1]].concat(t[r]);break;case 14:u.getLogger().debug("Rule: link: ",t[r],o),this.$={edgeTypeStr:t[r],label:""};break;case 15:u.getLogger().debug("Rule: LABEL link: ",t[r-3],t[r-1],t[r]),this.$={edgeTypeStr:t[r],label:t[r-1]};break;case 18:const R=parseInt(t[r]),W=u.generateId();this.$={id:W,type:"space",label:"",width:R,children:[]};break;case 23:u.getLogger().debug("Rule: (nodeStatement link node) ",t[r-2],t[r-1],t[r]," typestr: ",t[r-1].edgeTypeStr);const F=u.edgeStrToEdgeData(t[r-1].edgeTypeStr);this.$=[{id:t[r-2].id,label:t[r-2].label,type:t[r-2].type,directions:t[r-2].directions},{id:t[r-2].id+"-"+t[r].id,start:t[r-2].id,end:t[r].id,label:t[r-1].label,type:"edge",directions:t[r].directions,arrowTypeEnd:F,arrowTypeStart:"arrow_open"},{id:t[r].id,label:t[r].label,type:u.typeStr2Type(t[r].typeStr),directions:t[r].directions}];break;case 24:u.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[r-1],t[r]),this.$={id:t[r-1].id,label:t[r-1].label,type:u.typeStr2Type(t[r-1].typeStr),directions:t[r-1].directions,widthInColumns:parseInt(t[r],10)};break;case 25:u.getLogger().debug("Rule: nodeStatement (node) ",t[r]),this.$={id:t[r].id,label:t[r].label,type:u.typeStr2Type(t[r].typeStr),directions:t[r].directions,widthInColumns:1};break;case 26:u.getLogger().debug("APA123",this?this:"na"),u.getLogger().debug("COLUMNS: ",t[r]),this.$={type:"column-setting",columns:t[r]==="auto"?-1:parseInt(t[r])};break;case 27:u.getLogger().debug("Rule: id-block statement : ",t[r-2],t[r-1]),u.generateId(),this.$={...t[r-2],type:"composite",children:t[r-1]};break;case 28:u.getLogger().debug("Rule: blockStatement : ",t[r-2],t[r-1],t[r]);const C=u.generateId();this.$={id:C,type:"composite",label:"",children:t[r-1]};break;case 29:u.getLogger().debug("Rule: node (NODE_ID separator): ",t[r]),this.$={id:t[r]};break;case 30:u.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[r-1],t[r]),this.$={id:t[r-1],label:t[r].label,typeStr:t[r].typeStr,directions:t[r].directions};break;case 31:u.getLogger().debug("Rule: dirList: ",t[r]),this.$=[t[r]];break;case 32:u.getLogger().debug("Rule: dirList: ",t[r-1],t[r]),this.$=[t[r-1]].concat(t[r]);break;case 33:u.getLogger().debug("Rule: nodeShapeNLabel: ",t[r-2],t[r-1],t[r]),this.$={typeStr:t[r-2]+t[r],label:t[r-1]};break;case 34:u.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[r-3],t[r-2]," #3:",t[r-1],t[r]),this.$={typeStr:t[r-3]+t[r],label:t[r-2],directions:t[r-1]};break;case 35:case 36:this.$={type:"classDef",id:t[r-1].trim(),css:t[r].trim()};break;case 37:this.$={type:"applyClass",id:t[r-1].trim(),styleClass:t[r].trim()};break;case 38:this.$={type:"applyStyles",id:t[r-1].trim(),stylesStr:t[r].trim()};break}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:d,29:c,31:n,32:g,40:l,44:b,47:x},{8:[1,20]},e(p,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:a,28:d,29:c,31:n,32:g,40:l,44:b,47:x}),e(S,[2,16],{14:22,15:y,16:O}),e(S,[2,17]),e(S,[2,18]),e(S,[2,19]),e(S,[2,20]),e(S,[2,21]),e(S,[2,22]),e(v,[2,25],{27:[1,25]}),e(S,[2,26]),{19:26,26:12,32:g},{11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:d,29:c,31:n,32:g,40:l,44:b,47:x},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(N,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(p,[2,13]),{26:35,32:g},{32:[2,14]},{17:[1,36]},e(v,[2,24]),{11:37,13:4,14:22,15:y,16:O,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:d,29:c,31:n,32:g,40:l,44:b,47:x},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(N,[2,30]),{18:[1,43]},{18:[1,44]},e(v,[2,23]),{18:[1,45]},{30:[1,46]},e(S,[2,28]),e(S,[2,35]),e(S,[2,36]),e(S,[2,37]),e(S,[2,38]),{37:[1,47]},{34:48,35:E},{15:[1,50]},e(S,[2,27]),e(N,[2,33]),{39:[1,51]},{34:52,35:E,39:[2,31]},{32:[2,15]},e(N,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function(o,s){if(s.recoverable)this.trace(o);else{var i=new Error(o);throw i.hash=s,i}},parse:function(o){var s=this,i=[0],u=[],h=[null],t=[],_=this.table,r="",R=0,W=0,F=2,C=1,be=t.slice.call(arguments,1),w=Object.create(this.lexer),K={yy:{}};for(var Z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Z)&&(K.yy[Z]=this.yy[Z]);w.setInput(o,K.yy),K.yy.lexer=w,K.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var J=w.yylloc;t.push(J);var xe=w.options&&w.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(){var P;return P=u.pop()||w.lex()||C,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=s.symbols_[P]||P),P}for(var T,M,z,Q,j={},X,B,ne,G;;){if(M=i[i.length-1],this.defaultActions[M]?z=this.defaultActions[M]:((T===null||typeof T>"u")&&(T=Se()),z=_[M]&&_[M][T]),typeof z>"u"||!z.length||!z[0]){var $="";G=[];for(X in _[M])this.terminals_[X]&&X>F&&G.push("'"+this.terminals_[X]+"'");w.showPosition?$="Parse error on line "+(R+1)+`:
|
|
2
2
|
`+w.showPosition()+`
|
|
3
3
|
Expecting `+G.join(", ")+", got '"+(this.terminals_[T]||T)+"'":$="Parse error on line "+(R+1)+": Unexpected "+(T==C?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError($,{text:w.match,token:this.terminals_[T]||T,line:w.yylineno,loc:J,expected:G})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+T);switch(z[0]){case 1:i.push(T),h.push(w.yytext),t.push(w.yylloc),i.push(z[1]),T=null,W=w.yyleng,r=w.yytext,R=w.yylineno,J=w.yylloc;break;case 2:if(B=this.productions_[z[1]][1],j.$=h[h.length-B],j._$={first_line:t[t.length-(B||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(B||1)].first_column,last_column:t[t.length-1].last_column},xe&&(j._$.range=[t[t.length-(B||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[r,W,R,K.yy,z[1],h,t].concat(be)),typeof Q<"u")return Q;B&&(i=i.slice(0,-1*B*2),h=h.slice(0,-1*B),t=t.slice(0,-1*B)),i.push(this.productions_[z[1]][0]),h.push(j.$),t.push(j._$),ne=_[i[i.length-2]][i[i.length-1]],i.push(ne);break;case 3:return!0}}return!0}},A=(function(){var D={EOF:1,parseError:function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},setInput:function(o,s){return this.yy=s||this.yy||{},this._input=o,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 o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var s=o.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),o},unput:function(o){var s=o.length,i=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var u=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),i.length-1&&(this.yylineno-=i.length-1);var h=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:i?(i.length===u.length?this.yylloc.first_column:0)+u[u.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[h[0],h[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(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),s=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|