@layers-app/editor 0.2.3 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +21 -9
- package/dist/index.js +7 -6
- package/dist/layers.-OFHX18B.js +1 -0
- package/dist/{layers.BhTUGrAR.js → layers.0SH7L8mO.js} +1 -1
- package/dist/{layers.DUiRTlTp.js → layers.3GwrPaZO.js} +18 -19
- package/dist/{layers.CH6Iuzyi.js → layers.3a-Q5eGZ.js} +1 -1
- package/dist/{layers.rygqu4WL.js → layers.48I9suCn.js} +21889 -18323
- package/dist/{layers.D9fixQOA.js → layers.7VVd4tP6.js} +1 -1
- package/dist/{layers.9EqUDU4k.js → layers.9Yn7opmg.js} +8 -9
- package/dist/{layers.3ejTW6XX.js → layers.9Yq4SYpr.js} +1 -1
- package/dist/{layers.BnAorh16.js → layers.9qBnCDzZ.js} +1 -1
- package/dist/{layers.hDLaHwH5.js → layers.B-6ntVZv.js} +33 -33
- package/dist/{layers.VRtyD-xd.js → layers.B-_EI2NU.js} +1 -1
- package/dist/{layers.CDC4ClXB.js → layers.B0CIcvyl.js} +1 -1
- package/dist/{layers.9tX9hjoM.js → layers.B2AGu32C.js} +61 -61
- package/dist/{layers.2AQ7xQA1.js → layers.B2iZKl7a.js} +9 -10
- package/dist/{layers.BiP-hPkZ.js → layers.B3mWbsYz.js} +10 -11
- package/dist/{layers.Cq3szZwz.js → layers.B3oab57P.js} +1 -1
- package/dist/{layers.DYqYeKOI.js → layers.B4edIPhh.js} +1 -1
- package/dist/{layers.Daqbg2O4.js → layers.B5HfO3V6.js} +1 -1
- package/dist/layers.B5JSV7em.js +161 -0
- package/dist/{layers.CJHC8qIJ.js → layers.B6NJ6ccg.js} +1 -1
- package/dist/layers.B7SdSCSK.js +1 -0
- package/dist/{layers.Dppr6-3c.js → layers.BAzHt1-K.js} +3 -3
- package/dist/{layers.C_XAP94a.js → layers.BDSdHwxq.js} +1 -1
- package/dist/{layers.B2c_Ovu-.js → layers.BEjPybmC.js} +1 -1
- package/dist/{layers.Bt3W9dAi.js → layers.BH5Zo2E5.js} +1 -1
- package/dist/{layers.Bnl2Jv5i.js → layers.BHQ_DVN2.js} +1 -1
- package/dist/{layers.DNNCMxtE.js → layers.BJ55htmW.js} +1 -1
- package/dist/{layers.BTcei-93.js → layers.BKbwal2S.js} +1 -1
- package/dist/{layers.VYXA1bG3.js → layers.BKzpK190.js} +1 -1
- package/dist/{layers.BVaotZhy.js → layers.BLA49Uxv.js} +1 -1
- package/dist/layers.BLmU0KXd.js +10 -0
- package/dist/{layers.s8V6wywz.js → layers.BOhRJ2O7.js} +1 -1
- package/dist/{layers.CkyZK2IS.js → layers.BPS0vWZM.js} +1 -1
- package/dist/{layers.CuJWz3E_.js → layers.BQQthCA6.js} +1 -1
- package/dist/{layers.BJYLAxSs.js → layers.BRKlq7jj.js} +2 -2
- package/dist/layers.BRhQ1w-K.js +96 -0
- package/dist/{layers.DlBYLelc.js → layers.BS2w4lr6.js} +1 -1
- package/dist/{layers.BG7A7ffE.js → layers.BS9nCPMs.js} +1 -1
- package/dist/{layers.CMGkFmjc.js → layers.BXmhh7b0.js} +1 -1
- package/dist/{layers.BSdDRhSO.js → layers.BXz0HxFb.js} +1 -1
- package/dist/{layers.HuzTr4zC.js → layers.B_fwh454.js} +1 -1
- package/dist/{layers.BiIeLy7A.js → layers.BaICHlB8.js} +1 -1
- package/dist/{layers.DEPSNolf.js → layers.BaLCIMM8.js} +1 -1
- package/dist/layers.BcE-rdq0.js +1 -0
- package/dist/{layers.CCBm8C8U.js → layers.BcLslZVY.js} +1 -1
- package/dist/{layers.BBYwwmLd.js → layers.Be1IMgFf.js} +1 -1
- package/dist/{layers.D_9bY_t-.js → layers.BeSH60au.js} +1 -1
- package/dist/{layers.1plCI4Lt.js → layers.Bel31pZo.js} +1 -1
- package/dist/{layers.DQ5mCf0I.js → layers.Bgh_aa4B.js} +1 -1
- package/dist/{layers.W0BIeiJ5.js → layers.BhFwDmEi.js} +1 -1
- package/dist/{layers.BCelTQXf.js → layers.BhyRsUUP.js} +1 -1
- package/dist/{layers.BHWS89o-.js → layers.BiQxhxnG.js} +38 -38
- package/dist/{layers.C8GfRths.js → layers.BkpoZP5j.js} +1 -1
- package/dist/{layers.AzzPvkqP.js → layers.BkzTxi7n.js} +54 -55
- package/dist/{layers.DQXet-1J.js → layers.Blb1SJbF.js} +1 -1
- package/dist/{layers.Do4iB9wU.js → layers.BlpEVEZQ.js} +307 -312
- package/dist/{layers.CW_zOmtM.js → layers.BmKXu2hq.js} +37 -38
- package/dist/{layers.Dv_0UBNR.js → layers.Buk0Fw_r.js} +1 -1
- package/dist/{layers.CicK7hYN.js → layers.Bygo74zU.js} +8221 -8487
- package/dist/layers.Bzjuw56r.js +4 -0
- package/dist/{layers.DKd2Mr1q.js → layers.C-dzC33p.js} +1 -1
- package/dist/layers.C-gj1rq0.js +64 -0
- package/dist/{layers.B-G7h4H7.js → layers.C0-A7eRM.js} +1 -1
- package/dist/{layers.D_MpwfMw.js → layers.C2J-9t4F.js} +1 -1
- package/dist/{layers.qTVVdPLE.js → layers.C2lCyyCZ.js} +1 -1
- package/dist/{layers.C5aYTP7O.js → layers.C3WQ9FB9.js} +1 -1
- package/dist/{layers.By291l7s.js → layers.C5JGtTwP.js} +1 -1
- package/dist/{layers.Grpf2RWK.js → layers.C6rX4i15.js} +1 -1
- package/dist/{layers.IGp62Qj_.js → layers.C7xf3nZE.js} +1 -1
- package/dist/{layers.BTk3Z_vD.js → layers.C9Wj3En2.js} +1 -1
- package/dist/{layers.C4-aHur9.js → layers.C9n_72fo.js} +1 -1
- package/dist/{layers.MpsQteFs.js → layers.CA4DyArn.js} +1 -1
- package/dist/{layers.uBahYDq3.js → layers.CAqeoIhq.js} +240 -243
- package/dist/{layers.pHwEvnZJ.js → layers.CBwJFvR2.js} +1 -1
- package/dist/{layers.B-qYK70l.js → layers.CCKbbpP_.js} +1 -1
- package/dist/{layers.B0pggtRF.js → layers.CEhLVWVr.js} +1 -1
- package/dist/layers.CHCM_M7u.js +1 -0
- package/dist/{layers.483xn-Bl.js → layers.CJ2wXM1J.js} +1 -1
- package/dist/{layers.ne_cEX5v.js → layers.CKwrGZha.js} +1 -1
- package/dist/{layers.mmz915yR.js → layers.CLq_gjkT.js} +1 -1
- package/dist/{layers.iD6zaLCZ.js → layers.CLrT_kEd.js} +1 -1
- package/dist/{layers.CNbhhytH.js → layers.CM09dSjO.js} +1 -1
- package/dist/{layers.Bg27OaM9.js → layers.CNSM6wNt.js} +1 -1
- package/dist/{layers.BHYCL4o5.js → layers.CNi2XH-e.js} +1 -1
- package/dist/{layers.B8slhyYG.js → layers.CQ9mG0cW.js} +1 -1
- package/dist/{layers.DcfmkMJl.js → layers.CSdBXHWj.js} +1 -1
- package/dist/{layers.Ck31Q7i2.js → layers.CVpWQln7.js} +2 -2
- package/dist/{layers.DBSdPRxF.js → layers.CWSgM_kw.js} +1 -1
- package/dist/{layers.DeeGpggZ.js → layers.CWkN7sKt.js} +1 -1
- package/dist/{layers.Df6X09xh.js → layers.CXTZloQF.js} +1 -1
- package/dist/{layers.kLCQuljH.js → layers.CYDe1VkW.js} +1 -1
- package/dist/{layers.CbiF6U33.js → layers.CZ4FZo4I.js} +2 -2
- package/dist/{layers.DFwceJbS.js → layers.C_AfKjTB.js} +1 -1
- package/dist/{layers.BeWduWrI.js → layers.CaTJnQ9u.js} +1 -1
- package/dist/{layers.ffBevV8P.js → layers.CakuyGCQ.js} +1 -1
- package/dist/{layers.gFj-vgdV.js → layers.CbmxJEUV.js} +130 -130
- package/dist/{layers.8DUh39fX.js → layers.CcsWrdTv.js} +1 -1
- package/dist/{layers.xNE_QUGz.js → layers.CczDjU9N.js} +56 -56
- package/dist/layers.CdbF8xYj.js +8 -0
- package/dist/layers.ChFAeZ6n.js +2 -0
- package/dist/{layers.aP3mLqj6.js → layers.ChyiO7W2.js} +89 -90
- package/dist/{layers.CXK0XQdB.js → layers.Ci0fy6mm.js} +1 -1
- package/dist/{layers.Bh4GVxAr.js → layers.CinKDuBS.js} +1 -1
- package/dist/{layers.B7OA4M8a.js → layers.CjfXghGO.js} +1 -1
- package/dist/{layers.Cv567KOi.js → layers.CkHkzjP7.js} +1 -1
- package/dist/{layers.CLH6j9NS.js → layers.ClovUFct.js} +14 -15
- package/dist/{layers.eC-5rnhg.js → layers.Cmzu43i4.js} +34 -34
- package/dist/{layers.DUt_7Rf9.js → layers.Cs24L6er.js} +6 -6
- package/dist/{layers.CzHaZXrI.js → layers.CtE1xXZh.js} +1 -1
- package/dist/{layers.CHfDk1nE.js → layers.CtUY0ri3.js} +590 -591
- package/dist/{layers.QmHB-nW4.js → layers.CuC5nLW8.js} +1 -1
- package/dist/{layers.DIGzPqsR.js → layers.CuDNx9A1.js} +1 -1
- package/dist/{layers.D2fAFu-u.js → layers.CugRvVGY.js} +1 -1
- package/dist/{layers.CL4zD2V-.js → layers.CwFOQcrb.js} +4 -5
- package/dist/{layers.DxQ9-H1m.js → layers.CyH2JHOr.js} +1 -1
- package/dist/{layers.-OL3bq3o.js → layers.CzEbMWGx.js} +1 -1
- package/dist/{layers.Bn9AAQbP.js → layers.D0W9WciE.js} +40 -41
- package/dist/{layers.Bst2nqgi.js → layers.D1j5HCgS.js} +7 -8
- package/dist/{layers.BjmIZ493.js → layers.D29gtt0H.js} +1 -1
- package/dist/{layers.DPJVBor5.js → layers.D2Kx1511.js} +1 -1
- package/dist/{layers.Cn-Mx0hd.js → layers.D3U9SdgE.js} +1 -1
- package/dist/{layers.b-cmdFhC.js → layers.D3aDob9Z.js} +1 -1
- package/dist/{layers.DquRnMEp.js → layers.D4A3yxw0.js} +1 -1
- package/dist/{layers.D3abdwgu.js → layers.D4XVPZpA.js} +1 -1
- package/dist/{layers.CnriqUff.js → layers.D7APxkZ4.js} +1 -1
- package/dist/{layers.BgPBFVEC.js → layers.D7yG1HEx.js} +1 -1
- package/dist/{layers.o2G_NKDD.js → layers.D9vlbJdq.js} +80 -81
- package/dist/{layers.4PhrLFZx.js → layers.DBbMzX3L.js} +1 -1
- package/dist/{layers.B0Yqjw4Y.js → layers.DBd1ZxHp.js} +1 -1
- package/dist/{layers.00O89nVD.js → layers.DDbaPvpM.js} +1 -1
- package/dist/{layers.C0NvJvCr.js → layers.DDwqLeSC.js} +1 -1
- package/dist/{layers.Chr07Ef9.js → layers.DEJLw5pD.js} +1 -1
- package/dist/{layers.SOP5HKZO.js → layers.DFUTFOcc.js} +1 -1
- package/dist/{layers.DNst5nFS.js → layers.DGNpEhCF.js} +1 -1
- package/dist/layers.DGt5eZsp.js +2 -0
- package/dist/{layers.Bc3cqOoz.js → layers.DI85re_s.js} +1 -1
- package/dist/{layers.C419BINz.js → layers.DJUAT4C2.js} +6 -6
- package/dist/{layers.BRcsVLeu.js → layers.DK9jGMtC.js} +1 -1
- package/dist/{layers.DmIHK9eJ.js → layers.DLCTcxL1.js} +1 -1
- package/dist/{layers.DT_eGJgS.js → layers.DNpJjBUJ.js} +1 -1
- package/dist/{layers.BZyD05j5.js → layers.DOWkTN19.js} +4 -4
- package/dist/{layers.CcssChT6.js → layers.DOsKyasI.js} +1 -1
- package/dist/{layers.CG5rHKYv.js → layers.DP03vw0i.js} +1 -1
- package/dist/{layers.Bp2i-5Mm.js → layers.DP62iSBu.js} +1 -1
- package/dist/{layers.y8FvF9v6.js → layers.DQtWLaX5.js} +1 -1
- package/dist/{layers.X-fED_on.js → layers.DRx6fpU-.js} +1 -1
- package/dist/{layers.D2TcECio.js → layers.DVASDwnU.js} +1 -1
- package/dist/{layers.C8B6TssE.js → layers.DW88x7MD.js} +1 -1
- package/dist/{layers.CueTKzkm.js → layers.DY33k0DK.js} +1 -1
- package/dist/{layers.apgKIu4l.js → layers.DYEd0u9z.js} +31 -32
- package/dist/{layers.Y3c5kPcm.js → layers.DZ3T1MOr.js} +1 -1
- package/dist/{layers.C4mBYQwW.js → layers.D_ERA5Eg.js} +1 -1
- package/dist/{layers.DwEuL_6C.js → layers.DazxntKQ.js} +6 -7
- package/dist/layers.DcLjb1VI.js +6 -0
- package/dist/{layers.CUU1B2UZ.js → layers.DdZQdfst.js} +1 -1
- package/dist/{layers.BThMruoU.js → layers.Df9wCGO4.js} +1 -1
- package/dist/{layers.DPt2RfiY.js → layers.DgHnZEoL.js} +1 -1
- package/dist/layers.Dl7BTVgv.js +1 -0
- package/dist/{layers.DDf6xrjU.js → layers.DpVMkxT_.js} +1 -1
- package/dist/{layers.-pPft3OI.js → layers.DqJ4YLRH.js} +1 -1
- package/dist/layers.DrdNodqe.js +282 -0
- package/dist/{layers.CafG7ZuY.js → layers.DunslCYq.js} +1 -1
- package/dist/{layers.BqWaaXPX.js → layers.DuqCxozN.js} +1 -1
- package/dist/{layers.B_T5O5Er.js → layers.DvFoHZK-.js} +1 -1
- package/dist/{layers.DgzXJ4DH.js → layers.Dvrki03a.js} +56 -57
- package/dist/{layers.BJ-I0vJN.js → layers.DwGsA97C.js} +1 -1
- package/dist/{layers.DWJs0PZR.js → layers.Dz9flu9L.js} +1 -1
- package/dist/{layers.C6o6RQtm.js → layers.EEZOfKqy.js} +11 -12
- package/dist/layers.F7xHDD6v.js +285 -0
- package/dist/{layers.dQZNkBrA.js → layers.IF5vNpDk.js} +1 -1
- package/dist/{layers.DGhKGmKD.js → layers.KlMi93Ei.js} +1 -1
- package/dist/layers.Km1Ud22C.js +257 -0
- package/dist/{layers.87tOLX-P.js → layers.MTRKGDa2.js} +1 -1
- package/dist/{layers.C9ySrItP.js → layers.MV17d6Mx.js} +1 -1
- package/dist/{layers.DWKo97ry.js → layers.MoTyg_20.js} +16 -16
- package/dist/{layers.X5-0T9Oe.js → layers.Otjc68EQ.js} +1 -1
- package/dist/layers.P3AQhXRL.js +8 -0
- package/dist/{layers.-3hmGtOj.js → layers.PGw1DVB5.js} +1 -1
- package/dist/{layers.2FLa7Fhp.js → layers.TnYc2d7k.js} +1 -1
- package/dist/{layers.qe142_cK.js → layers.UAUOxFCw.js} +1 -1
- package/dist/{layers.BeM2XGEa.js → layers.UFaXcVX-.js} +1 -1
- package/dist/{layers.DE2vsT19.js → layers.UFuuJbTe.js} +2521 -2501
- package/dist/{layers.BoSVQ_Oj.js → layers.VYHrW5HF.js} +1 -1
- package/dist/layers.XuOcZ2YD.js +1 -0
- package/dist/{layers.BXwqALz_.js → layers.XzjaNKF4.js} +1 -1
- package/dist/{layers.0QQGBrpP.js → layers.YIcMqcyp.js} +1 -1
- package/dist/layers._Qb0PjpM.js +1 -0
- package/dist/layers._d3cgXev.js +1 -0
- package/dist/{layers.DRatY5Iy.js → layers._rLtEprV.js} +1 -1
- package/dist/layers.b-LTJte2.js +59 -0
- package/dist/layers.binJQZ6L.js +122 -0
- package/dist/{layers.B0FWzRdR.js → layers.gEwF8vUu.js} +20 -23
- package/dist/{layers.h7S6SsRM.js → layers.iCxIdCf4.js} +13 -14
- package/dist/{layers.CdZl3ntQ.js → layers.j2m1V3h_.js} +1 -1
- package/dist/{layers.CUNYaj1D.js → layers.o15MC5m1.js} +5 -5
- package/dist/layers.oPCvx-2P.js +1 -0
- package/dist/{layers.CVE4jce0.js → layers.pWLA6ZDi.js} +20 -21
- package/dist/{layers.CyQoDdKy.js → layers.sd-cXx8M.js} +18 -19
- package/dist/{layers.N1cdgleb.js → layers.w-DSpxnL.js} +7 -8
- package/dist/{layers.bzJoSIV6.js → layers.wMGES0RI.js} +7 -8
- package/dist/{layers.Cim1zPzA.js → layers.wfJtLKCx.js} +1 -1
- package/dist/{layers.DAnRsXc7.js → layers.xVBO5Ikf.js} +1 -1
- package/dist/{layers.CKkE9H7N.js → layers.z4rFqQ1E.js} +1 -1
- package/dist/{layers.CdZyEgZj.js → layers.zR0cTXnd.js} +1 -1
- package/package.json +5 -6
- package/dist/layers.BLF-afRo.js +0 -233
- package/dist/layers.BWiLrWK6.js +0 -8
- package/dist/layers.BZKzrU05.js +0 -65
- package/dist/layers.BbfeESiy.js +0 -1
- package/dist/layers.BcBIrNcM.js +0 -10
- package/dist/layers.BjeQHwOo.js +0 -2
- package/dist/layers.BqDzm6gC.js +0 -1
- package/dist/layers.BwZorl6w.js +0 -1
- package/dist/layers.BzaWsdbf.js +0 -58
- package/dist/layers.CBLQF0No.js +0 -6
- package/dist/layers.CTi0QugL.js +0 -257
- package/dist/layers.CePskGei.js +0 -1
- package/dist/layers.CrS_Ajc2.js +0 -96
- package/dist/layers.DAWgTwIZ.js +0 -1
- package/dist/layers.DBVjkijS.js +0 -2
- package/dist/layers.DFvYVOeh.js +0 -1
- package/dist/layers.DO5JGPxH.js +0 -4
- package/dist/layers.DaiDnWGv.js +0 -133
- package/dist/layers.DdS7rf8b.js +0 -1
- package/dist/layers.DtPGvHqK.js +0 -1
- package/dist/layers.XrJmqetC.js +0 -1
- package/dist/layers.f9pcCHB8.js +0 -122
- package/dist/layers.kOWaOacB.js +0 -8
- package/dist/layers.w_wuxMUu.js +0 -285
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("./layers.C-dzC33p.js"),d=require("./layers.BRhQ1w-K.js");require("lodash-es");const $=require("./layers.COAF7f8g.js"),H=require("./layers.9QK1wiQj.js"),_=require("./layers.DP62iSBu.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
|
+
`);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]},G=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")},I=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}']`);G(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)},O={draw:I},P={parser:T.parser$1,db:T.db,renderer:O,styles:T.styles,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,T.db.clear()}};exports.diagram=P;
|
|
@@ -1,57 +1,56 @@
|
|
|
1
|
-
import { a as yt, s as ft, b as dt, c as pt,
|
|
2
|
-
import { a as _t, g as it, f as bt, d as vt } from "./layers.
|
|
3
|
-
import "./layers.
|
|
4
|
-
import { a as Q } from "./layers.hDLaHwH5.js";
|
|
1
|
+
import { a as yt, s as ft, b as dt, c as pt, o as gt, p as mt, g as I, d as H, e as xt, r as kt } from "./layers.UFuuJbTe.js";
|
|
2
|
+
import { a as _t, g as it, f as bt, d as vt } from "./layers.C-gj1rq0.js";
|
|
3
|
+
import { a as Q } from "./layers.B-6ntVZv.js";
|
|
5
4
|
var X = (function() {
|
|
6
5
|
var t = function(p, s, r, a) {
|
|
7
6
|
for (r = r || {}, a = p.length; a--; r[p[a]] = s)
|
|
8
7
|
;
|
|
9
8
|
return r;
|
|
10
|
-
}, e = [6, 8, 10, 11, 12, 14, 16, 17, 18], i = [1, 9],
|
|
9
|
+
}, e = [6, 8, 10, 11, 12, 14, 16, 17, 18], i = [1, 9], o = [1, 10], n = [1, 11], h = [1, 12], c = [1, 13], f = [1, 14], y = {
|
|
11
10
|
trace: function() {
|
|
12
11
|
},
|
|
13
12
|
yy: {},
|
|
14
13
|
symbols_: { error: 2, start: 3, journey: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, title: 11, acc_title: 12, acc_title_value: 13, acc_descr: 14, acc_descr_value: 15, acc_descr_multiline_value: 16, section: 17, taskName: 18, taskData: 19, $accept: 0, $end: 1 },
|
|
15
14
|
terminals_: { 2: "error", 4: "journey", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 18: "taskName", 19: "taskData" },
|
|
16
15
|
productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2]],
|
|
17
|
-
performAction: function(s, r, a, u, d,
|
|
18
|
-
var k =
|
|
16
|
+
performAction: function(s, r, a, u, d, l, w) {
|
|
17
|
+
var k = l.length - 1;
|
|
19
18
|
switch (d) {
|
|
20
19
|
case 1:
|
|
21
|
-
return
|
|
20
|
+
return l[k - 1];
|
|
22
21
|
case 2:
|
|
23
22
|
this.$ = [];
|
|
24
23
|
break;
|
|
25
24
|
case 3:
|
|
26
|
-
|
|
25
|
+
l[k - 1].push(l[k]), this.$ = l[k - 1];
|
|
27
26
|
break;
|
|
28
27
|
case 4:
|
|
29
28
|
case 5:
|
|
30
|
-
this.$ =
|
|
29
|
+
this.$ = l[k];
|
|
31
30
|
break;
|
|
32
31
|
case 6:
|
|
33
32
|
case 7:
|
|
34
33
|
this.$ = [];
|
|
35
34
|
break;
|
|
36
35
|
case 8:
|
|
37
|
-
u.setDiagramTitle(
|
|
36
|
+
u.setDiagramTitle(l[k].substr(6)), this.$ = l[k].substr(6);
|
|
38
37
|
break;
|
|
39
38
|
case 9:
|
|
40
|
-
this.$ =
|
|
39
|
+
this.$ = l[k].trim(), u.setAccTitle(this.$);
|
|
41
40
|
break;
|
|
42
41
|
case 10:
|
|
43
42
|
case 11:
|
|
44
|
-
this.$ =
|
|
43
|
+
this.$ = l[k].trim(), u.setAccDescription(this.$);
|
|
45
44
|
break;
|
|
46
45
|
case 12:
|
|
47
|
-
u.addSection(
|
|
46
|
+
u.addSection(l[k].substr(8)), this.$ = l[k].substr(8);
|
|
48
47
|
break;
|
|
49
48
|
case 13:
|
|
50
|
-
u.addTask(
|
|
49
|
+
u.addTask(l[k - 1], l[k]), this.$ = "task";
|
|
51
50
|
break;
|
|
52
51
|
}
|
|
53
52
|
},
|
|
54
|
-
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: i, 12:
|
|
53
|
+
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: i, 12: o, 14: n, 16: h, 17: c, 18: f }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 15, 11: i, 12: o, 14: n, 16: h, 17: c, 18: f }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, t(e, [2, 11]), t(e, [2, 12]), { 19: [1, 18] }, t(e, [2, 4]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 13])],
|
|
55
54
|
defaultActions: {},
|
|
56
55
|
parseError: function(s, r) {
|
|
57
56
|
if (r.recoverable)
|
|
@@ -62,27 +61,27 @@ var X = (function() {
|
|
|
62
61
|
}
|
|
63
62
|
},
|
|
64
63
|
parse: function(s) {
|
|
65
|
-
var r = this, a = [0], u = [], d = [null],
|
|
64
|
+
var r = this, a = [0], u = [], d = [null], l = [], w = this.table, k = "", R = 0, Z = 0, ot = 2, J = 1, ct = l.slice.call(arguments, 1), x = Object.create(this.lexer), S = { yy: {} };
|
|
66
65
|
for (var z in this.yy)
|
|
67
66
|
Object.prototype.hasOwnProperty.call(this.yy, z) && (S.yy[z] = this.yy[z]);
|
|
68
67
|
x.setInput(s, S.yy), S.yy.lexer = x, S.yy.parser = this, typeof x.yylloc > "u" && (x.yylloc = {});
|
|
69
68
|
var Y = x.yylloc;
|
|
70
|
-
|
|
69
|
+
l.push(Y);
|
|
71
70
|
var ht = x.options && x.options.ranges;
|
|
72
71
|
typeof S.yy.parseError == "function" ? this.parseError = S.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
73
72
|
function ut() {
|
|
74
73
|
var T;
|
|
75
74
|
return T = u.pop() || x.lex() || J, typeof T != "number" && (T instanceof Array && (u = T, T = u.pop()), T = r.symbols_[T] || T), T;
|
|
76
75
|
}
|
|
77
|
-
for (var _, E, b,
|
|
76
|
+
for (var _, E, b, O, A = {}, N, $, K, B; ; ) {
|
|
78
77
|
if (E = a[a.length - 1], this.defaultActions[E] ? b = this.defaultActions[E] : ((_ === null || typeof _ > "u") && (_ = ut()), b = w[E] && w[E][_]), typeof b > "u" || !b.length || !b[0]) {
|
|
79
|
-
var
|
|
78
|
+
var q = "";
|
|
80
79
|
B = [];
|
|
81
80
|
for (N in w[E])
|
|
82
|
-
this.terminals_[N] && N >
|
|
83
|
-
x.showPosition ?
|
|
81
|
+
this.terminals_[N] && N > ot && B.push("'" + this.terminals_[N] + "'");
|
|
82
|
+
x.showPosition ? q = "Parse error on line " + (R + 1) + `:
|
|
84
83
|
` + x.showPosition() + `
|
|
85
|
-
Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" :
|
|
84
|
+
Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : q = "Parse error on line " + (R + 1) + ": Unexpected " + (_ == J ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(q, {
|
|
86
85
|
text: x.match,
|
|
87
86
|
token: this.terminals_[_] || _,
|
|
88
87
|
line: x.yylineno,
|
|
@@ -94,28 +93,28 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
|
|
|
94
93
|
throw new Error("Parse Error: multiple actions possible at state: " + E + ", token: " + _);
|
|
95
94
|
switch (b[0]) {
|
|
96
95
|
case 1:
|
|
97
|
-
a.push(_), d.push(x.yytext),
|
|
96
|
+
a.push(_), d.push(x.yytext), l.push(x.yylloc), a.push(b[1]), _ = null, Z = x.yyleng, k = x.yytext, R = x.yylineno, Y = x.yylloc;
|
|
98
97
|
break;
|
|
99
98
|
case 2:
|
|
100
99
|
if ($ = this.productions_[b[1]][1], A.$ = d[d.length - $], A._$ = {
|
|
101
|
-
first_line:
|
|
102
|
-
last_line:
|
|
103
|
-
first_column:
|
|
104
|
-
last_column:
|
|
100
|
+
first_line: l[l.length - ($ || 1)].first_line,
|
|
101
|
+
last_line: l[l.length - 1].last_line,
|
|
102
|
+
first_column: l[l.length - ($ || 1)].first_column,
|
|
103
|
+
last_column: l[l.length - 1].last_column
|
|
105
104
|
}, ht && (A._$.range = [
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
]),
|
|
105
|
+
l[l.length - ($ || 1)].range[0],
|
|
106
|
+
l[l.length - 1].range[1]
|
|
107
|
+
]), O = this.performAction.apply(A, [
|
|
109
108
|
k,
|
|
110
109
|
Z,
|
|
111
110
|
R,
|
|
112
111
|
S.yy,
|
|
113
112
|
b[1],
|
|
114
113
|
d,
|
|
115
|
-
|
|
116
|
-
].concat(ct)), typeof
|
|
117
|
-
return
|
|
118
|
-
$ && (a = a.slice(0, -1 * $ * 2), d = d.slice(0, -1 * $),
|
|
114
|
+
l
|
|
115
|
+
].concat(ct)), typeof O < "u")
|
|
116
|
+
return O;
|
|
117
|
+
$ && (a = a.slice(0, -1 * $ * 2), d = d.slice(0, -1 * $), l = l.slice(0, -1 * $)), a.push(this.productions_[b[1]][0]), d.push(A.$), l.push(A._$), K = w[a[a.length - 2]][a[a.length - 1]], a.push(K);
|
|
119
118
|
break;
|
|
120
119
|
case 3:
|
|
121
120
|
return !0;
|
|
@@ -229,8 +228,8 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
|
|
|
229
228
|
}, this.yytext += s[0], this.match += s[0], this.matches = s, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(s[0].length), this.matched += s[0], a = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), a)
|
|
230
229
|
return a;
|
|
231
230
|
if (this._backtrack) {
|
|
232
|
-
for (var
|
|
233
|
-
this[
|
|
231
|
+
for (var l in d)
|
|
232
|
+
this[l] = d[l];
|
|
234
233
|
return !1;
|
|
235
234
|
}
|
|
236
235
|
return !1;
|
|
@@ -242,10 +241,10 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
|
|
|
242
241
|
this._input || (this.done = !0);
|
|
243
242
|
var s, r, a, u;
|
|
244
243
|
this._more || (this.yytext = "", this.match = "");
|
|
245
|
-
for (var d = this._currentRules(),
|
|
246
|
-
if (a = this._input.match(this.rules[d[
|
|
247
|
-
if (r = a, u =
|
|
248
|
-
if (s = this.test_match(a, d[
|
|
244
|
+
for (var d = this._currentRules(), l = 0; l < d.length; l++)
|
|
245
|
+
if (a = this._input.match(this.rules[d[l]]), a && (!r || a[0].length > r[0].length)) {
|
|
246
|
+
if (r = a, u = l, this.options.backtrack_lexer) {
|
|
247
|
+
if (s = this.test_match(a, d[l]), s !== !1)
|
|
249
248
|
return s;
|
|
250
249
|
if (this._backtrack) {
|
|
251
250
|
r = !1;
|
|
@@ -373,14 +372,14 @@ const G = [], V = [], F = [], $t = function() {
|
|
|
373
372
|
}), [...new Set(t)].sort();
|
|
374
373
|
}, Pt = function(t, e) {
|
|
375
374
|
const i = e.substr(1).split(":");
|
|
376
|
-
let
|
|
377
|
-
i.length === 1 ? (
|
|
375
|
+
let o = 0, n = [];
|
|
376
|
+
i.length === 1 ? (o = Number(i[0]), n = []) : (o = Number(i[0]), n = i[1].split(","));
|
|
378
377
|
const h = n.map((f) => f.trim()), c = {
|
|
379
378
|
section: C,
|
|
380
379
|
type: C,
|
|
381
380
|
people: h,
|
|
382
381
|
task: t,
|
|
383
|
-
score:
|
|
382
|
+
score: o
|
|
384
383
|
};
|
|
385
384
|
F.push(c);
|
|
386
385
|
}, It = function(t) {
|
|
@@ -397,8 +396,8 @@ const G = [], V = [], F = [], $t = function() {
|
|
|
397
396
|
return F[i].processed;
|
|
398
397
|
};
|
|
399
398
|
let e = !0;
|
|
400
|
-
for (const [i,
|
|
401
|
-
t(i), e = e &&
|
|
399
|
+
for (const [i, o] of F.entries())
|
|
400
|
+
t(i), e = e && o.processed;
|
|
402
401
|
return e;
|
|
403
402
|
}, At = function() {
|
|
404
403
|
return Et();
|
|
@@ -553,7 +552,7 @@ const G = [], V = [], F = [], $t = function() {
|
|
|
553
552
|
`, Vt = Ct, U = function(t, e) {
|
|
554
553
|
return vt(t, e);
|
|
555
554
|
}, Ft = function(t, e) {
|
|
556
|
-
const
|
|
555
|
+
const o = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), n = t.append("g");
|
|
557
556
|
n.append("circle").attr("cx", e.cx - 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), n.append("circle").attr("cx", e.cx + 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
|
|
558
557
|
function h(y) {
|
|
559
558
|
const m = Q().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
|
|
@@ -566,7 +565,7 @@ const G = [], V = [], F = [], $t = function() {
|
|
|
566
565
|
function f(y) {
|
|
567
566
|
y.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", e.cx - 5).attr("y1", e.cy + 7).attr("x2", e.cx + 5).attr("y2", e.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
|
|
568
567
|
}
|
|
569
|
-
return e.score > 3 ? h(n) : e.score < 3 ? c(n) : f(n),
|
|
568
|
+
return e.score > 3 ? h(n) : e.score < 3 ? c(n) : f(n), o;
|
|
570
569
|
}, rt = function(t, e) {
|
|
571
570
|
const i = t.append("circle");
|
|
572
571
|
return i.attr("cx", e.cx), i.attr("cy", e.cy), i.attr("class", "actor-" + e.pos), i.attr("fill", e.fill), i.attr("stroke", e.stroke), i.attr("r", e.r), i.class !== void 0 && i.attr("class", i.class), e.title !== void 0 && i.append("title").text(e.title), i;
|
|
@@ -576,14 +575,14 @@ const G = [], V = [], F = [], $t = function() {
|
|
|
576
575
|
function i(n, h, c, f, y) {
|
|
577
576
|
return n + "," + h + " " + (n + c) + "," + h + " " + (n + c) + "," + (h + f - y) + " " + (n + c - y * 1.2) + "," + (h + f) + " " + n + "," + (h + f);
|
|
578
577
|
}
|
|
579
|
-
const
|
|
580
|
-
|
|
578
|
+
const o = t.append("polygon");
|
|
579
|
+
o.attr("points", i(e.x, e.y, 50, 20, 7)), o.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, at(t, e);
|
|
581
580
|
}, Rt = function(t, e, i) {
|
|
582
|
-
const
|
|
581
|
+
const o = t.append("g"), n = it();
|
|
583
582
|
n.x = e.x, n.y = e.y, n.fill = e.fill, n.width = i.width * e.taskCount + // width of the tasks
|
|
584
|
-
i.diagramMarginX * (e.taskCount - 1), n.height = i.height, n.class = "journey-section section-type-" + e.num, n.rx = 3, n.ry = 3, U(
|
|
583
|
+
i.diagramMarginX * (e.taskCount - 1), n.height = i.height, n.class = "journey-section section-type-" + e.num, n.rx = 3, n.ry = 3, U(o, n), lt(i)(
|
|
585
584
|
e.text,
|
|
586
|
-
|
|
585
|
+
o,
|
|
587
586
|
n.x,
|
|
588
587
|
n.y,
|
|
589
588
|
n.width,
|
|
@@ -595,9 +594,9 @@ const G = [], V = [], F = [], $t = function() {
|
|
|
595
594
|
};
|
|
596
595
|
let et = -1;
|
|
597
596
|
const Nt = function(t, e, i) {
|
|
598
|
-
const
|
|
599
|
-
et++, n.append("line").attr("id", "task" + et).attr("x1",
|
|
600
|
-
cx:
|
|
597
|
+
const o = e.x + i.width / 2, n = t.append("g");
|
|
598
|
+
et++, n.append("line").attr("id", "task" + et).attr("x1", o).attr("y1", e.y).attr("x2", o).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Ft(n, {
|
|
599
|
+
cx: o,
|
|
601
600
|
cy: 300 + (5 - e.score) * 30,
|
|
602
601
|
score: e.score
|
|
603
602
|
});
|
|
@@ -615,7 +614,7 @@ const Nt = function(t, e, i) {
|
|
|
615
614
|
pos: e.actors[y].position
|
|
616
615
|
};
|
|
617
616
|
rt(n, g), f += 10;
|
|
618
|
-
}),
|
|
617
|
+
}), lt(i)(
|
|
619
618
|
e.task,
|
|
620
619
|
n,
|
|
621
620
|
c.x,
|
|
@@ -628,23 +627,23 @@ const Nt = function(t, e, i) {
|
|
|
628
627
|
);
|
|
629
628
|
}, Bt = function(t, e) {
|
|
630
629
|
_t(t, e);
|
|
631
|
-
},
|
|
630
|
+
}, lt = /* @__PURE__ */ (function() {
|
|
632
631
|
function t(n, h, c, f, y, m, g, p) {
|
|
633
632
|
const s = h.append("text").attr("x", c + y / 2).attr("y", f + m / 2 + 5).style("font-color", p).style("text-anchor", "middle").text(n);
|
|
634
|
-
|
|
633
|
+
o(s, g);
|
|
635
634
|
}
|
|
636
635
|
function e(n, h, c, f, y, m, g, p, s) {
|
|
637
636
|
const { taskFontSize: r, taskFontFamily: a } = p, u = n.split(/<br\s*\/?>/gi);
|
|
638
637
|
for (let d = 0; d < u.length; d++) {
|
|
639
|
-
const
|
|
640
|
-
w.append("tspan").attr("x", c + y / 2).attr("dy",
|
|
638
|
+
const l = d * r - r * (u.length - 1) / 2, w = h.append("text").attr("x", c + y / 2).attr("y", f).attr("fill", s).style("text-anchor", "middle").style("font-size", r).style("font-family", a);
|
|
639
|
+
w.append("tspan").attr("x", c + y / 2).attr("dy", l).text(u[d]), w.attr("y", f + m / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), o(w, g);
|
|
641
640
|
}
|
|
642
641
|
}
|
|
643
642
|
function i(n, h, c, f, y, m, g, p) {
|
|
644
643
|
const s = h.append("switch"), a = s.append("foreignObject").attr("x", c).attr("y", f).attr("width", y).attr("height", m).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
|
|
645
|
-
a.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(n), e(n, s, c, f, y, m, g, p),
|
|
644
|
+
a.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(n), e(n, s, c, f, y, m, g, p), o(a, g);
|
|
646
645
|
}
|
|
647
|
-
function
|
|
646
|
+
function o(n, h) {
|
|
648
647
|
for (const c in h)
|
|
649
648
|
c in h && n.attr(c, h[c]);
|
|
650
649
|
}
|
|
@@ -670,27 +669,27 @@ const Nt = function(t, e, i) {
|
|
|
670
669
|
function Yt(t) {
|
|
671
670
|
const e = I().journey;
|
|
672
671
|
let i = 60;
|
|
673
|
-
Object.keys(M).forEach((
|
|
674
|
-
const n = M[
|
|
672
|
+
Object.keys(M).forEach((o) => {
|
|
673
|
+
const n = M[o].color, h = {
|
|
675
674
|
cx: 20,
|
|
676
675
|
cy: i,
|
|
677
676
|
r: 7,
|
|
678
677
|
fill: n,
|
|
679
678
|
stroke: "#000",
|
|
680
|
-
pos: M[
|
|
679
|
+
pos: M[o].position
|
|
681
680
|
};
|
|
682
681
|
L.drawCircle(t, h);
|
|
683
682
|
const c = {
|
|
684
683
|
x: 40,
|
|
685
684
|
y: i + 7,
|
|
686
685
|
fill: "#666",
|
|
687
|
-
text:
|
|
686
|
+
text: o,
|
|
688
687
|
textMargin: e.boxTextMargin | 5
|
|
689
688
|
};
|
|
690
689
|
L.drawText(t, c), i += 20;
|
|
691
690
|
});
|
|
692
691
|
}
|
|
693
|
-
const j = I().journey, P = j.leftMargin,
|
|
692
|
+
const j = I().journey, P = j.leftMargin, Ot = function(t, e, i, o) {
|
|
694
693
|
const n = I().journey, h = I().securityLevel;
|
|
695
694
|
let c;
|
|
696
695
|
h === "sandbox" && (c = H("#i" + e));
|
|
@@ -698,16 +697,16 @@ const j = I().journey, P = j.leftMargin, qt = function(t, e, i, l) {
|
|
|
698
697
|
v.init();
|
|
699
698
|
const y = f.select("#" + e);
|
|
700
699
|
L.initGraphics(y);
|
|
701
|
-
const m =
|
|
702
|
-
for (const
|
|
703
|
-
delete M[
|
|
700
|
+
const m = o.db.getTasks(), g = o.db.getDiagramTitle(), p = o.db.getActors();
|
|
701
|
+
for (const l in M)
|
|
702
|
+
delete M[l];
|
|
704
703
|
let s = 0;
|
|
705
|
-
p.forEach((
|
|
706
|
-
M[
|
|
704
|
+
p.forEach((l) => {
|
|
705
|
+
M[l] = {
|
|
707
706
|
color: n.actorColours[s % n.actorColours.length],
|
|
708
707
|
position: s
|
|
709
708
|
}, s++;
|
|
710
|
-
}), Yt(y), v.insert(0, 0, P, Object.keys(M).length * 50),
|
|
709
|
+
}), Yt(y), v.insert(0, 0, P, Object.keys(M).length * 50), qt(y, m, 0);
|
|
711
710
|
const r = v.getBounds();
|
|
712
711
|
g && y.append("text").text(g).attr("x", P).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
|
|
713
712
|
const a = r.stopy - r.starty + 2 * n.diagramMarginY, u = P + r.stopx + 2 * n.diagramMarginX;
|
|
@@ -731,23 +730,23 @@ const j = I().journey, P = j.leftMargin, qt = function(t, e, i, l) {
|
|
|
731
730
|
stopy: void 0
|
|
732
731
|
}, this.verticalPos = 0;
|
|
733
732
|
},
|
|
734
|
-
updateVal: function(t, e, i,
|
|
735
|
-
t[e] === void 0 ? t[e] = i : t[e] =
|
|
733
|
+
updateVal: function(t, e, i, o) {
|
|
734
|
+
t[e] === void 0 ? t[e] = i : t[e] = o(i, t[e]);
|
|
736
735
|
},
|
|
737
|
-
updateBounds: function(t, e, i,
|
|
736
|
+
updateBounds: function(t, e, i, o) {
|
|
738
737
|
const n = I().journey, h = this;
|
|
739
738
|
let c = 0;
|
|
740
739
|
function f(y) {
|
|
741
740
|
return function(g) {
|
|
742
741
|
c++;
|
|
743
742
|
const p = h.sequenceItems.length - c + 1;
|
|
744
|
-
h.updateVal(g, "starty", e - p * n.boxMargin, Math.min), h.updateVal(g, "stopy",
|
|
743
|
+
h.updateVal(g, "starty", e - p * n.boxMargin, Math.min), h.updateVal(g, "stopy", o + p * n.boxMargin, Math.max), h.updateVal(v.data, "startx", t - p * n.boxMargin, Math.min), h.updateVal(v.data, "stopx", i + p * n.boxMargin, Math.max), h.updateVal(g, "startx", t - p * n.boxMargin, Math.min), h.updateVal(g, "stopx", i + p * n.boxMargin, Math.max), h.updateVal(v.data, "starty", e - p * n.boxMargin, Math.min), h.updateVal(v.data, "stopy", o + p * n.boxMargin, Math.max);
|
|
745
744
|
};
|
|
746
745
|
}
|
|
747
746
|
this.sequenceItems.forEach(f());
|
|
748
747
|
},
|
|
749
|
-
insert: function(t, e, i,
|
|
750
|
-
const n = Math.min(t, i), h = Math.max(t, i), c = Math.min(e,
|
|
748
|
+
insert: function(t, e, i, o) {
|
|
749
|
+
const n = Math.min(t, i), h = Math.max(t, i), c = Math.min(e, o), f = Math.max(e, o);
|
|
751
750
|
this.updateVal(v.data, "startx", n, Math.min), this.updateVal(v.data, "starty", c, Math.min), this.updateVal(v.data, "stopx", h, Math.max), this.updateVal(v.data, "stopy", f, Math.max), this.updateBounds(n, c, h, f);
|
|
752
751
|
},
|
|
753
752
|
bumpVerticalPos: function(t) {
|
|
@@ -759,20 +758,20 @@ const j = I().journey, P = j.leftMargin, qt = function(t, e, i, l) {
|
|
|
759
758
|
getBounds: function() {
|
|
760
759
|
return this.data;
|
|
761
760
|
}
|
|
762
|
-
}, W = j.sectionFills, st = j.sectionColours,
|
|
763
|
-
const
|
|
761
|
+
}, W = j.sectionFills, st = j.sectionColours, qt = function(t, e, i) {
|
|
762
|
+
const o = I().journey;
|
|
764
763
|
let n = "";
|
|
765
|
-
const h =
|
|
764
|
+
const h = o.height * 2 + o.diagramMarginY, c = i + h;
|
|
766
765
|
let f = 0, y = "#CCC", m = "black", g = 0;
|
|
767
766
|
for (const [p, s] of e.entries()) {
|
|
768
767
|
if (n !== s.section) {
|
|
769
768
|
y = W[f % W.length], g = f % W.length, m = st[f % st.length];
|
|
770
769
|
let a = 0;
|
|
771
770
|
const u = s.section;
|
|
772
|
-
for (let
|
|
771
|
+
for (let l = p; l < e.length && e[l].section == u; l++)
|
|
773
772
|
a = a + 1;
|
|
774
773
|
const d = {
|
|
775
|
-
x: p *
|
|
774
|
+
x: p * o.taskMargin + p * o.width + P,
|
|
776
775
|
y: 50,
|
|
777
776
|
text: s.section,
|
|
778
777
|
fill: y,
|
|
@@ -780,15 +779,15 @@ const j = I().journey, P = j.leftMargin, qt = function(t, e, i, l) {
|
|
|
780
779
|
colour: m,
|
|
781
780
|
taskCount: a
|
|
782
781
|
};
|
|
783
|
-
L.drawSection(t, d,
|
|
782
|
+
L.drawSection(t, d, o), n = s.section, f++;
|
|
784
783
|
}
|
|
785
784
|
const r = s.people.reduce((a, u) => (M[u] && (a[u] = M[u]), a), {});
|
|
786
|
-
s.x = p *
|
|
785
|
+
s.x = p * o.taskMargin + p * o.width + P, s.y = c, s.width = o.diagramMarginX, s.height = o.diagramMarginY, s.colour = m, s.fill = y, s.num = g, s.actors = r, L.drawTask(t, s, o), v.insert(s.x, s.y, s.x + s.width + o.taskMargin, 450);
|
|
787
786
|
}
|
|
788
787
|
}, nt = {
|
|
789
788
|
setConf: zt,
|
|
790
|
-
draw:
|
|
791
|
-
},
|
|
789
|
+
draw: Ot
|
|
790
|
+
}, Gt = {
|
|
792
791
|
parser: wt,
|
|
793
792
|
db: tt,
|
|
794
793
|
renderer: nt,
|
|
@@ -798,5 +797,5 @@ const j = I().journey, P = j.leftMargin, qt = function(t, e, i, l) {
|
|
|
798
797
|
}
|
|
799
798
|
};
|
|
800
799
|
export {
|
|
801
|
-
|
|
800
|
+
Gt as diagram
|
|
802
801
|
};
|
|
@@ -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.CczDjU9N.js");var u={paste:"चिपकाएँ",pasteAsPlaintext:"सादे पाठ के रूप में चिपकाएं",pasteCharts:"चार्ट चिपकाएँ",selectAll:"सभी चुनें",multiSelect:"आकार को चयन में जोड़ें",moveCanvas:"कैनवास को स्थानांतरित करें",cut:"काटें",copy:"प्रतिलिपि",copyAsPng:"क्लिपबोर्ड पर कॉपी करें ,पीएनजी के रूप में",copyAsSvg:"क्लिपबोर्ड पर कॉपी करें,एसवीजी के रूप में",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:'ऐड "मेड विथ एक्सकैलिडराव"',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:"मेड विथ एक्सकैलिडराव",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:"एक्सकेलीड्रॉ समूहकोष",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:""},E={noItems:"अभी तक कोई आइटम जोडा नहीं गया.",hint_emptyLibrary:"यहाँ जोड़ने के लिए पटल से एक वस्तु चुने, अथवा जन कोष से एक संग्रह नीचे स्थापित करें.",hint_emptyPrivateLibrary:"यहाँ जोड़ने के लिए पटल से एक वस्तु चुने."},F={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:""},e={clearReset:"इससे पूरा कैनवास साफ हो जाएगा। क्या आपको यकीन है?",couldNotCreateShareableLink:"साझा करने योग्य लिंक नहीं बनाया जा सका।",couldNotCreateShareableLinkTooBig:"लिंक शेयर नहीं कर सकता: दृश्य बहुत बड़ा",couldNotLoadInvalidFile:"अमान्य फ़ाइल लोड नहीं की जा सकी",importBackendFailed:"बैकएंड से आयात करना विफल रहा।",cannotExportEmptyCanvas:"खाली कैनवास निर्यात नहीं कर सकता।",couldNotCopyToClipboard:"क्लिपबोर्ड पर कॉपी नहीं किया जा सका",decryptFailed:"डेटा को डिक्रिप्ट नहीं किया जा सका।",uploadedSecurly:"अपलोड को एंड-टू-एंड एन्क्रिप्शन के साथ सुरक्षित किया गया है, जिसका मतलब है कि एक्सक्लूसिव सर्वर और थर्ड पार्टी कंटेंट नहीं पढ़ सकते हैं।",loadSceneOverridePrompt:"लोड हो रहा है बाहरी ड्राइंग आपके मौजूदा सामग्री को बदल देगा। क्या आप जारी रखना चाहते हैं?",collabStopOverridePrompt:"चालू सत्र समाप्ति से आपका संग्रहित पूर्व स्थानीय अधिलेखन नष्ट होकर पुनः अधिलेखित होगा, क्या आपको यक़ीन हैं? ( यदी आपको पूर्व स्थापित अधिलेखन सुरक्षित चाहिये तो बस ब्राउज़र टैब बंद करे)",errorAddingToLibrary:"संग्रह में जोडा न जा सका",errorRemovingFromLibrary:"संग्रह से हटाया नहीं जा सका",confirmAddLibrary:"लाइब्रेरी जोड़ें पुष्टि करें आकार संख्या",imageDoesNotContainScene:"ऐसा लगता है कि इस छवि में कोई दृश्य डेटा नहीं है। क्या आपने निर्यात के दौरान दृश्य एम्बेडिंग अनुमतित की है?",cannotRestoreFromImage:"छवि फ़ाइल बहाल दृश्य नहीं है",invalidSceneUrl:"दिये गये युआरेल से दृश्य आयात नहीं किया जा सका. यह या तो अनुचित है, या इसमें उचित Excalidraw JSON डेटा नहीं है।",resetLibrary:"यह पूरा संग्रह रिक्त करेगा. क्या आपको यक़ीन हैं?",removeItemsFromsLibrary:"{{count}} वस्तु(यें) संग्रह से हटायें?",invalidEncryptionKey:"कूटलेखन कुंजी 22 अक्षरों की होनी चाहिये, इसलिये जीवंत सहयोग अक्षम हैं",collabOfflineWarning:`कोई इंटरनेट कनेक्शन उपलब्ध नहीं है।
|
|
2
2
|
आपके बदलाव सहेजे नहीं जाएंगे!`},D={unsupportedFileType:"असमर्थित फाइल प्रकार",imageInsertError:"छवि सम्मिलित नहीं की जा सकी. पुनः प्रयत्न करे...",fileTooBig:"फ़ाइल ज़रूरत से ज़्यादा बड़ी हैं. अधिकतम अनुमित परिमाण {{maxSize}} हैं",svgImageInsertError:"एसवीजी छवि सम्मिलित नहीं कर सके, एसवीजी रचना अनुचित हैं",failedToFetchImage:"",invalidSVGString:"अनुचित SVG",cannotResolveCollabServer:"कॉलेब सर्वर से कनेक्शन नहीं हो पा रहा. कृपया पृष्ठ को पुनः लाने का प्रयास करे.",importLibraryError:"संग्रह प्रतिष्ठापित नहीं किया जा सका",collabSaveFailed:"किसी कारण वश अंदरूनी डेटाबेस में सहेजा नहीं जा सका। यदि समस्या बनी रहती है, तो किये काम को खोने न देने के लिये अपनी फ़ाइल को स्थानीय रूप से सहेजे।",collabSaveFailed_sizeExceeded:"लगता है कि पृष्ठ तल काफ़ी बड़ा है, इस्कारण अंदरूनी डेटाबेस में सहेजा नहीं जा सका। किये काम को खोने न देने के लिये अपनी फ़ाइल को स्थानीय रूप से सहेजे।",imageToolNotSupported:"प्रतिमायें अक्षम की गयी हैं",brave_measure_text_error:{line1:"लगता है कि आप Brave ब्राउज़र का उपयोग कर रहे और साथ में <bold>आक्रामक उँगलियो के छाप </bold> का चयन किया हुवा है",line2:"यह आपके चित्रों के <bold>पाठ तत्वों</bold>को खंडित कर सकता हैं",line3:"हमें आपसे ठोस आग्रह है की आप सेट्टिंग में इस विकल्प का चयन ना करे.<link> इस अनुक्रम </link> का पालन करके इसका पता लगा सकते हैं",line4:"यदि इस सेटिंग्स को अक्षम करने पर भी पृष्ठ ठीक नहीं दिखता हो तो, हमारे GitHub पर एक <issueLink>मुद्दा प्रस्तुत</issueLink> करे, या हमें <discordLink>डिस्कोर्ड</discordLink> पर लिखित सम्पर्क करें"},libraryElementTypeError:{embeddable:"",iframe:"आयफ़्रेम तत्व समूहकोष में जोडा नहीं जा सका.",image:""},asyncPasteFailedOnRead:"चिपकाया नहीं जा सका (सिस्टम क्लिपबोर्ड से पढ़ा नहीं जा सका).",asyncPasteFailedOnParse:"चिपकाया नहीं जा सका.",copyToSystemClipboardFailed:"क्लिपबोर्ड पर प्रतिलिपि नहीं बनाई जा सकी."},o={selection:"चयन",image:"छवि सम्मिलित करें",rectangle:"आयात",diamond:"तिर्यग्वर्ग",ellipse:"दीर्घवृत्त",arrow:"तीर",line:"रेखा",freedraw:"चित्रांतित करे",text:"पाठ",library:"लाइब्रेरी",lock:"ड्राइंग के बाद चयनित टूल को सक्रिय रखें",penMode:"पेन का मोड - स्पर्श टाले",link:"",eraser:"रबड़",frame:"",magicframe:"तारिक ढाँचें को सांकेतिक लिपि में",embeddable:"",laser:"लेसर टॉर्च",hand:"हाथ ( खिसकाने का औज़ार)",extraTools:"",mermaidToExcalidraw:"मर्मेड से एक्सकाली में",magicSettings:"कृतिम बुद्धिमत्ता सेटिंग्स"},r={canvasActions:"कैनवास क्रिया",selectedShapeActions:"चयनित आकृति क्रियाएं",shapes:"आकृतियाँ"},t={canvasPanning:"कैनवास को सरकाने के लिए, ड्रैग करते समय माउस व्हील को पकड़े रखे या स्पेसबार को दबाए रखे, अथवा हाथ वाले औज़ार का उपयोग करें",linearElement:"कई बिंदुओं को शुरू करने के लिए क्लिक करें, सिंगल लाइन के लिए खींचें",freeDraw:"क्लिक करें और खींचें। समाप्त करने के लिए, छोड़ो",text:"आप चयन टूल से कहीं भी डबल-क्लिक करके टेक्स्ट जोड़ सकते हैं",embeddable:"",text_selected:"",text_editing:"",linearElementMulti:"अंतिम बिंदु पर क्लिक करें या समाप्त होने के लिए एस्केप या एंटर दबाएं",lockAngle:"आप घूर्णन करते समय SHIFT पकड़कर कोणों को मोड़ सकते हैं",resize:`आकार बदलते समय आप SHIFT को पकड़ कर अनुपात में कमी कर सकते हैं,
|
|
3
3
|
केंद्र से आकार बदलने के लिए ALT दबाए रखें`,resizeImage:"",rotate:"आप घूर्णन करते समय SHIFT पकड़कर कोणों को विवश कर सकते हैं",lineEditor_info:"बिंदुओं को सम्पादित करने के लिए CtrlOrCmd को दबायें रखते हुये डबल क्लिक करे, अथवा CtrlOrCmd + Enter साथ दबाये",lineEditor_pointSelected:"",lineEditor_nothingSelected:"",placeImage:"",publishLibrary:"",bindTextToElement:"",deepBoxSelect:"",eraserRevert:"मिटाने के लिए चुने हुए चीजों को ना चुनने के लिए Alt साथ में दबाए",firefox_clipboard_write:'"dom.events.asyncClipboard.clipboardItem" फ़्लैग को "true" पर सेट करके इस सुविधा को संभवतः सक्षम किया जा सकता है। Firefox में ब्राउज़र फ़्लैग बदलने के लिए, "about:config" पृष्ठ पर जाएँ।',disableSnapping:"स्नैपिंग को निष्क्रिय करने के लिए CtrlOrCmd दबाए रखें"},a={cannotShowPreview:"पूर्वावलोकन नहीं दिखा सकते हैं",canvasTooBig:"कैनवास बहुत बड़ा",canvasTooBigTip:"कैनवास बहुत बड़ा टिप"},i={headingMain:"एक त्रुटि का सामना करना पड़ा। प्रयत्न <button>इस पृष्ठ को पुनः लोड करें</button>",clearCanvasMessage:"यदि पुनः लोड करना काम नहीं करता है, तो प्रयास करें <button>कैनवास साफ करना।</button>",clearCanvasCaveat:" इससे काम का नुकसान होगा ",trackedToSentry:"पहचानकर्ता के साथ त्रुटि {{eventId}} हमारे सिस्टम पर नज़र रखी गई थी।",openIssueMessage:"हम बहुत सतर्क थे कि त्रुटि पर आपकी दृश्य जानकारी शामिल न करें। यदि आपका दृश्य निजी नहीं है, तो कृपया हमारे बारे में विचार करें <button>बग ट्रैकर</button> कृपया GitHub मुद्दे को कॉपी और पेस्ट करके नीचे दी गई जानकारी शामिल करें।",sceneContent:"दृश्य सामग्री:"},A={desc_intro:"आप अपने वर्तमान दृश्य के लोगों को अपने साथ सहयोग करने के लिए आमंत्रित कर सकते हैं।",desc_privacy:"चिंता न करें, सत्र अंत-से-अंत एन्क्रिप्शन का उपयोग करता है, इसलिए आप जो भी ड्रा करेंगे वह निजी रहेगा। यहां तक कि हमारा सर्वर भी नहीं देख पाएगा कि आप क्या कर रहे हैं।",button_startSession:"सत्र प्रारंभ करें",button_stopSession:"सत्र रुकें",desc_inProgressIntro:"लाइव सहयोग सत्र अब जारी है।",desc_shareLink:"इस लिंक को आप जिस किसी के साथ भी सहयोग करना चाहते हैं, उसके साथ साझा करें",desc_exitSession:"सत्र रोकना आपको रूम से बाहर कर देगा, लेकिन आप स्थानीय स्तर पर दृश्य के साथ काम करना जारी रख पाएंगे। ध्यान दें कि यह अन्य लोगों को प्रभावित नहीं करेगा, और वे अभी भी अपने संस्करण पर सहयोग करने में सक्षम होंगे।",shareTitle:""},l={title:"गलती"},n={disk_title:"",disk_details:"",disk_button:"",link_title:"",link_details:"",link_button:"",excalidrawplus_description:"",excalidrawplus_button:"",excalidrawplus_exportError:""},C={blog:"हमारा ब्लॉग पढे",click:"क्लिक करें",deepSelect:"",deepBoxSelect:"",curvedArrow:"वक्र तीर",curvedLine:"वक्र रेखा",documentation:"",doubleClick:"",drag:"खींचें",editor:"संपादक",editLineArrowPoints:"रेखा/तीर बिंदु सम्पादित करे",editText:"पाठ्य सम्पादित करे/ लेबल जोड़े",github:"मुद्दा मिला? प्रस्तुत करें",howto:"हमारे गाइड का पालन करें",or:"या",preventBinding:"तीर बंधन रोकें",tools:"औज़ार",shortcuts:"कीबोर्ड के शॉर्टकट्स",textFinish:"",textNewLine:"",title:"मदद",view:"दृश्य",zoomToFit:"सभी तत्वों को फिट करने के लिए ज़ूम करें",zoomToSelection:"चयन तक ज़ूम करे",toggleElementLock:"ताले के अंदर/बाहर चुनाव",movePageUpDown:"पृष्ठ ऊपर/नीचे करे",movePageLeftRight:"पृष्ठ बायी/दायी तरफ करे"},s={title:""},d={title:"",itemName:"",authorName:"",githubUsername:"",twitterUsername:"",libraryName:"",libraryDesc:"",website:"",placeholder:{authorName:"",libraryName:"",libraryDesc:"",githubHandle:"",twitterHandle:"",website:""},errors:{required:"",website:"मान्य URL प्रविष्ट करें"},noteDescription:"संग्रह सम्मिलित करने हेतु प्रस्तुत करें <link>सार्वजनिक संग्रहालय</link>अन्य वक्तियों को उनके चित्रकारी में उपयोग के लिये",noteGuidelines:"संग्रह को पहले स्वीकृति आवश्यक कृपया यह पढ़ें <link>दिशा-निर्देश</link>",noteLicense:"जमा करके, आप सहमत हैं कि संग्रहण को <link>MIT लाइसेंस</link> के तहत प्रकाशित किया जाएगा, जिसका संक्षिप्त अर्थ है कि कोई भी बिना किसी प्रतिबंध के उनका उपयोग कर सकता है।",noteItems:"",atleastOneLibItem:"",republishWarning:"टिप्पणी: कुछ चुने हुवे आइटम पहले ही प्रकाशित/प्रस्तुत किए जा चुके हैं। किसी प्रकाशित संग्रह को अद्यतन करते समय या पहले से प्रस्तुत आइटम को पुन्हा प्रस्तुत करते समय, आप बस उसे केवल अद्यतन करें ।"},B={title:"",content:"{{authorName}} धन्यवाद. आपका संग्रहण समीक्षा के लिए दर्ज हो चुका है. समीक्षा स्थिति <link>यहाँ</link>जान सकते हैं."},c={resetLibrary:"",removeItemsFromLib:""},b={header:"",label:{withBackground:"",onlySelected:"",darkMode:"",embedScene:"",scale:"",padding:""},tooltip:{embedScene:""},title:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""},button:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""}},m={tooltip:"आपके चित्र अंत-से-अंत एन्क्रिप्टेड हैं, इसलिए एक्सक्लूसिव्रॉव के सर्वर उन्हें कभी नहीं देखेंगे।",link:""},p={angle:"कोण",element:"एलिमेंट",elements:"एलिमेंट",height:"ऊंचाई",scene:"दृश्य",selected:"चयनित",storage:"संग्रह",title:"बेवकूफ के लिए आँकड़े",total:"कुल",version:"संस्करण",versionCopy:"काॅपी करने के लिए क्लिक करें",versionNotAvailable:"संस्करण उपलब्ध नहीं है",width:"चौड़ाई"},g={addedToLibrary:"",copyStyles:"काॅपी कीए स्टाइल",copyToClipboard:"क्लिपबोर्ड में कॉपी कीए",copyToClipboardAsPng:"",fileSaved:"",fileSavedToFilename:"",canvas:"",selection:"",pasteAsSingleElement:`एक अवयव के रूप में चिपकाने के लिए {{shortcut}} का उपयोग करें,
|
|
4
4
|
या किसी मौजूदा पाठ संपादक में चिपकायें`,unableToEmbed:"",unrecognizedLinkFormat:""},h={transparent:"",black:"काला",white:"सफ़ेद",red:"लाल",pink:"गुलाबी",grape:"अंगूरी",violet:"जामुनी",gray:"गहरा",blue:"नीला",cyan:"आसमानी",teal:"हरा-नीला",green:"हरा",yellow:"पीला",orange:"नारंगी",bronze:"कांस्य"},y={app:{center_heading:"आपका सर्व डेटा ब्राउज़र के भीतर स्थानिक जगह पे सुरक्षित किया गया.",center_heading_plus:"बजाय आपको Excalidraw+ पर जाना है?",menuHint:"निर्यात, पसंद, भाषायें, ..."},defaults:{menuHint:"निर्यात, पसंद, और भी...",center_heading:"चित्रांकन। बनाया गया। सरल।",toolbarHint:"एक औजार चुने और चित्रकारी प्रारंभ करे!",helpHint:"शॉर्ट्कट और सहाय्य"}},v={mostUsedCustomColors:"अधिकांश उपयोगित रंग",colors:"रंग",shades:"छाया",hexCode:"हेक्स कोड",noShades:"इस रंग की कोई छाया उपलब्ध नहीं हैं"},S={action:{exportToImage:{title:"छवि स्वरूप में निर्यात करे",button:"छवि स्वरूप निर्यात करे",description:"दृष्य डेटा छवि स्वरूप में निर्यात करे, उस स्वरूप से आप उसे पुनः आयात कर सकते हो"},saveToDisk:{title:"डिस्क में सम्हाले",button:"डिस्क में सम्हाले",description:"दृष्य डेटा बाहरी फ़ाइल में निर्यात करे, जहाँसे आप उसे पुनः आयात कर सकते हो"},excalidrawPlus:{title:"एक्षकालीड्रॉ+",button:"एक्षकालीड्रॉ+ में निर्यात करे",description:"दृष्य को आपके एक्षकालीड्रॉ+ के कर्यस्थल में सम्हाले"}},modal:{loadFromFile:{title:"फ़ाइल से लोड करें:",button:"फ़ाइल से लोड करें:",description:"फ़ाइल से लोड करने पर <bold>यह आपके कार्य की जगह लेलेगा </bold><br></br>आपकी ड्रॉइंग निम्न दर्शित विकल्पो में से एक चुनके और उपयोग करके सम्हाल सकते हैं"},shareableLink:{title:"लिंक से लोड करें:",button:"इस जगह प्रतिस्थापित करे",description:"बाहर का चित्र लोड करने पर <bold>यह आपके कार्य की जगह लेलेगा </bold><br></br>आप आपकी ड्रॉइंग पहले निम्न दर्शित विकल्पो में से एक चुनके और उपयोग करके सम्हाल सकते हों."}}},k={title:"मर्मेड से एक्सकाली में",button:"अंदर डाले",description:"",syntax:"मर्मेड संरचना नियम",preview:"पूर्वावलोकन"},w={labels:u,library:E,buttons:F,alerts:e,errors:D,toolBar:o,headings:r,hints:t,canvasError:a,errorSplash:i,roomDialog:A,errorDialog:l,exportDialog:n,helpDialog:C,clearCanvasDialog:s,publishDialog:d,publishSuccessDialog:B,confirmDialog:c,imageExportDialog:b,encrypted:m,stats:p,toast:g,colors:h,welcomeScreen:y,colorPicker:v,overwriteConfirm:S,mermaid:k};exports.alerts=e;exports.buttons=F;exports.canvasError=a;exports.clearCanvasDialog=s;exports.colorPicker=v;exports.colors=h;exports.confirmDialog=c;exports.default=w;exports.encrypted=m;exports.errorDialog=l;exports.errorSplash=i;exports.errors=D;exports.exportDialog=n;exports.headings=r;exports.helpDialog=C;exports.hints=t;exports.imageExportDialog=b;exports.labels=u;exports.library=E;exports.mermaid=k;exports.overwriteConfirm=S;exports.publishDialog=d;exports.publishSuccessDialog=B;exports.roomDialog=A;exports.stats=p;exports.toast=g;exports.toolBar=o;exports.welcomeScreen=y;
|