@layers-app/editor 2.1.1 → 2.1.3
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 +1 -1
- package/dist/index.js +2 -2
- package/dist/{layers.D-GjVT45.js → layers.-SHGCzPp.js} +1 -1
- package/dist/{layers.CEEi9vNU.js → layers.0H31be7Z.js} +1 -1
- package/dist/{layers.BeD6wCI_.js → layers.39HkzoqA.js} +1 -1
- package/dist/{layers.DL6YcdT-.js → layers.8PuRDqXn.js} +1 -1
- package/dist/{layers.CHsA2PkS.js → layers.8uM7Y9ah.js} +1 -1
- package/dist/{layers.BbqkhuPY.js → layers.B-mKB0m2.js} +1 -1
- package/dist/{layers.BZfYoUK4.js → layers.B0jPbl9x.js} +2 -2
- package/dist/{layers.BjAQPP1h.js → layers.B1ADXzhH.js} +1 -1
- package/dist/{layers.XcAOCw_1.js → layers.B38rBl_s.js} +1 -1
- package/dist/{layers.CYA_8fAL.js → layers.B3MLCCBO.js} +1 -1
- package/dist/{layers.BsnutohQ.js → layers.B3i_eLBh.js} +1 -1
- package/dist/{layers.DdQWC0Xi.js → layers.B4Zz3nF-.js} +1 -1
- package/dist/{layers.DsYz1gRz.js → layers.B4bXPWTJ.js} +1 -1
- package/dist/{layers.-QXAEriY.js → layers.B4lKB7Sv.js} +1 -1
- package/dist/{layers.Coa78bpu.js → layers.B5wt10W4.js} +7 -7
- package/dist/{layers.BRN2LbFC.js → layers.B6Y7HNq_.js} +1 -1
- package/dist/{layers.ik9ID6FB.js → layers.B8j24PJy.js} +1 -1
- package/dist/{layers.Pa94bs0z.js → layers.B9Vrfx-R.js} +1 -1
- package/dist/{layers.IFaA4vku.js → layers.B9ikDxXH.js} +1 -1
- package/dist/{layers.yy04BNR6.js → layers.B9zCJgSo.js} +1 -1
- package/dist/{layers.DpCLFXX7.js → layers.BAZ1DUN1.js} +3 -3
- package/dist/{layers.Dfy1u61N.js → layers.BAlXkjeR.js} +1 -1
- package/dist/{layers.CuuyhoWK.js → layers.BCuRJDW5.js} +1 -1
- package/dist/{layers.Dfxr2wRP.js → layers.BDH0DZrJ.js} +1 -1
- package/dist/{layers.BAAeEi2A.js → layers.BFkL1V3s.js} +1 -1
- package/dist/{layers.DnuPLyBM.js → layers.BG1OUlr4.js} +1 -1
- package/dist/{layers.BLInrOI5.js → layers.BGX87mbU.js} +1 -1
- package/dist/{layers.BAQBDkM2.js → layers.BIqMbEwm.js} +1 -1
- package/dist/{layers.CeQQX5EQ.js → layers.BJ3RiwpG.js} +1 -1
- package/dist/{layers.C_dbPWej.js → layers.BJTo52lj.js} +1 -1
- package/dist/{layers.-suCL_JV.js → layers.BMkjWhgS.js} +1 -1
- package/dist/{layers.DuTOqJEa.js → layers.BNHGep2P.js} +1 -1
- package/dist/{layers.E_zncQAX.js → layers.BNVRX3OW.js} +3 -3
- package/dist/{layers.LZcrVpUQ.js → layers.BOI5vWv3.js} +1 -1
- package/dist/{layers.BingJITi.js → layers.BOy49arY.js} +3 -3
- package/dist/{layers.DYNKwQbS.js → layers.BQFohWAn.js} +1 -1
- package/dist/{layers.BHpnVVi8.js → layers.BQMyaIEA.js} +1 -1
- package/dist/{layers.CNpi2zuS.js → layers.BQYg3K4C.js} +1 -1
- package/dist/{layers.CEHbI1V3.js → layers.BUtsOTZt.js} +1 -1
- package/dist/{layers.ijsh696S.js → layers.BYWknS6A.js} +1 -1
- package/dist/{layers.B6eH0dTu.js → layers.BZd_TgyY.js} +1 -1
- package/dist/layers.BZmwJLv4.js +1 -0
- package/dist/{layers.DSTuQdHa.js → layers.B_2SJBOJ.js} +1 -1
- package/dist/{layers.DU3pEJ8B.js → layers.BbdIXklW.js} +1 -1
- package/dist/{layers.BE6midSb.js → layers.BexCT5yz.js} +1 -1
- package/dist/{layers.BslQwkAQ.js → layers.BfdaSVSD.js} +1 -1
- package/dist/{layers.U9kJQ2H-.js → layers.BgeBrYsf.js} +1 -1
- package/dist/{layers.DqRnHfNf.js → layers.BigEQUZC.js} +4 -4
- package/dist/{layers.BKvsTcgx.js → layers.Bir0mrHH.js} +1 -1
- package/dist/{layers.uv7ZdBfc.js → layers.Bk7fHXBF.js} +25 -25
- package/dist/{layers.D6Y_mnTU.js → layers.BlGJJ8wn.js} +1 -1
- package/dist/{layers.RsXWpzwY.js → layers.BmcekZoW.js} +1 -1
- package/dist/{layers.iUf7mBF3.js → layers.BqFP-iF0.js} +1 -1
- package/dist/{layers.CHEDijFo.js → layers.BqWOx62b.js} +4 -4
- package/dist/layers.BrUcySmW.js +567 -0
- package/dist/{layers.CImayEk9.js → layers.Bs8vo5u4.js} +1 -1
- package/dist/{layers.CzsTghhR.js → layers.BsTZb675.js} +1 -1
- package/dist/{layers.BOsXbPpD.js → layers.Bu4rqJ0u.js} +1 -1
- package/dist/{layers.BDDLv234.js → layers.BvHY5cSa.js} +1 -1
- package/dist/{layers.BL2qkTK_.js → layers.BvUXffrC.js} +1 -1
- package/dist/{layers.huDQcCjP.js → layers.ByNtZ8_k.js} +1 -1
- package/dist/{layers.453Ivlnk.js → layers.ByfKFC3Z.js} +1 -1
- package/dist/{layers.-om9qG1y.js → layers.BzhfSX7U.js} +1 -1
- package/dist/{layers.Dv5zrazi.js → layers.C-6BQ0ed.js} +1 -1
- package/dist/{layers.CjpgU61y.js → layers.C07EaGvY.js} +1 -1
- package/dist/{layers.WPy2YSM5.js → layers.C09PqTjf.js} +1 -1
- package/dist/{layers.CsrlmVRD.js → layers.C0GkbOj_.js} +1 -1
- package/dist/{layers.B-4zBS3s.js → layers.C0iocMI4.js} +1 -1
- package/dist/{layers.BplUZsio.js → layers.C1IKX49f.js} +1 -1
- package/dist/{layers.DlkD0ItS.js → layers.C1M8YTuB.js} +5 -6
- package/dist/{layers.DrRwQwBi.js → layers.C3rv5vzA.js} +1 -1
- package/dist/{layers.zlULOvTd.js → layers.C4GWEIGW.js} +1 -1
- package/dist/{layers.C048yeaA.js → layers.C9JUHKbR.js} +1 -1
- package/dist/layers.CByVI5gD.js +1 -0
- package/dist/{layers.DnBW4oSg.js → layers.CC9kTgrU.js} +1 -1
- package/dist/{layers.D3mcx6_C.js → layers.CCY4ZK_S.js} +1 -1
- package/dist/{layers.BXTCAlQ1.js → layers.CE5HZB82.js} +1 -1
- package/dist/{layers.B5zNnrXR.js → layers.CEGYRyJy.js} +1 -1
- package/dist/{layers.Do9Aw_0T.js → layers.CEafpqZr.js} +1 -1
- package/dist/{layers.DIjiclhe.js → layers.CHOpUlDI.js} +4 -4
- package/dist/{layers.oflrOEq3.js → layers.CHpwZYWl.js} +1 -1
- package/dist/{layers.Cb4n08aU.js → layers.CLx3cm8b.js} +1 -1
- package/dist/{layers.CtzfAfIV.js → layers.CMzwbIKN.js} +1 -1
- package/dist/{layers.BBiu_lfR.js → layers.CO8o93N3.js} +4 -4
- package/dist/{layers.D-UO42sM.js → layers.CP5z29hi.js} +4 -4
- package/dist/{layers.DK0C80a1.js → layers.CQdpxGHV.js} +1 -1
- package/dist/{layers.B1_0lvQO.js → layers.CWxZ9ZNK.js} +1 -1
- package/dist/{layers.CjwqLrNd.js → layers.CXltHKhe.js} +1 -1
- package/dist/{layers.DlmcG2xZ.js → layers.CZhaqvvz.js} +1 -1
- package/dist/{layers.CaI8it-D.js → layers.CZjmldFP.js} +1 -1
- package/dist/{layers.BaK4MyRu.js → layers.CcpsPvcD.js} +1 -1
- package/dist/{layers.CUFdq7wb.js → layers.CdAwudMB.js} +1 -1
- package/dist/{layers.B3OOozLQ.js → layers.CdVdZpZW.js} +3 -3
- package/dist/{layers.DyMuX3L1.js → layers.Cdz7glSp.js} +1 -1
- package/dist/{layers.B69fEREL.js → layers.Cg1Bmo8X.js} +1 -1
- package/dist/{layers.BafLNNvR.js → layers.ChLuj-rc.js} +1 -1
- package/dist/{layers.DzKpwa2K.js → layers.Cjza4_aa.js} +1 -1
- package/dist/{layers.gWuPSxAj.js → layers.CmEUPhTK.js} +1 -1
- package/dist/layers.CmXKfYby.js +1 -0
- package/dist/{layers.B0ZS6eqD.js → layers.CmcgmbI6.js} +1 -1
- package/dist/{layers.B7F1Ra6I.js → layers.Cn1PUZc8.js} +1 -1
- package/dist/{layers.D9o_pvN-.js → layers.CnV12zWd.js} +3 -3
- package/dist/{layers.B4DFVx9Y.js → layers.CndTZ31m.js} +1 -1
- package/dist/{layers.DIYBKnIM.js → layers.Co38nQAK.js} +3 -3
- package/dist/{layers.BvhpRdfJ.js → layers.CpBxhH-Y.js} +1 -1
- package/dist/{layers.HgBAwZ89.js → layers.CpRBywkv.js} +63 -63
- package/dist/{layers.C7Ga_bTL.js → layers.Cr1uunhl.js} +1 -1
- package/dist/{layers.DDQYjyve.js → layers.CrAgQyZG.js} +1 -1
- package/dist/{layers.C2JYV25i.js → layers.Cs4SYdW6.js} +1 -1
- package/dist/{layers.Co5-IoO1.js → layers.CtoullEV.js} +1 -1
- package/dist/{layers.jTgRcmoM.js → layers.Ctsic0Sj.js} +1 -1
- package/dist/{layers.DMy22qhQ.js → layers.CunjJ3Ls.js} +1 -1
- package/dist/{layers.D9BQw5An.js → layers.Cw3AOXly.js} +1 -1
- package/dist/{layers.CfR0ns20.js → layers.CwqcpqGe.js} +1 -1
- package/dist/{layers.DTHhmh1H.js → layers.Cx8Gg-Tr.js} +1 -1
- package/dist/{layers.CTM6uglT.js → layers.CxGUE3xh.js} +1 -1
- package/dist/{layers.BaMd2ifd.js → layers.CyKPMpjA.js} +1 -1
- package/dist/{layers.DkdZ222Y.js → layers.D0NmOwXy.js} +2 -2
- package/dist/{layers.Bq5JdP6p.js → layers.D1aDf1Yb.js} +7010 -6788
- package/dist/{layers.CVJPjHAQ.js → layers.D5wxkRZg.js} +1 -1
- package/dist/{layers.BZAgxYJH.js → layers.D8M84_MA.js} +8 -8
- package/dist/{layers.Bf0Pzy4-.js → layers.D8lMBZIP.js} +1 -1
- package/dist/{layers.DusBEoyd.js → layers.DA4D7KGs.js} +1 -1
- package/dist/{layers.BmwKlDt5.js → layers.DBPkwAPI.js} +1 -1
- package/dist/{layers.0u-9Rm0M.js → layers.DBV0J_HI.js} +1 -1
- package/dist/{layers.ChlR9Dh-.js → layers.DBc_UPGb.js} +2 -2
- package/dist/{layers.Crkzg0z5.js → layers.DDjsU6PA.js} +1 -1
- package/dist/{layers.DyC1F_cz.js → layers.DEJicTxy.js} +4 -4
- package/dist/{layers.Dj0drWph.js → layers.DFDWnDfo.js} +1 -1
- package/dist/{layers.xEvF5NFa.js → layers.DFEHAT5_.js} +1 -1
- package/dist/{layers.MPUu5P-M.js → layers.DGUyOV8w.js} +3 -3
- package/dist/{layers.BsJWvxSo.js → layers.DGrPEBsm.js} +1 -1
- package/dist/{layers.qB6UCsnD.js → layers.DHKg3z7U.js} +1 -1
- package/dist/{layers.Bx6EtnMg.js → layers.DJCo0IEz.js} +1 -1
- package/dist/{layers.ChNzzo7K.js → layers.DJKXtJ1z.js} +1 -1
- package/dist/{layers.Dy_jtmbF.js → layers.DJztvzRz.js} +1 -1
- package/dist/{layers.ZNG7YqJ5.js → layers.DLTRux2c.js} +1 -1
- package/dist/{layers.CBdyRIEc.js → layers.DLXMCC05.js} +1 -1
- package/dist/{layers.BSN847PJ.js → layers.DOhVvlX1.js} +5 -5
- package/dist/{layers.Dv4wS6AO.js → layers.DS1ihg-b.js} +1 -1
- package/dist/{layers.D1SKIuq2.js → layers.DTe1_eZ_.js} +1 -1
- package/dist/{layers.B5f8PwiW.js → layers.DTkJIWfY.js} +1 -1
- package/dist/{layers.C0c2fG4r.js → layers.DUPMP2d6.js} +1 -1
- package/dist/{layers.DxXqgVcD.js → layers.DUTnaonw.js} +3 -3
- package/dist/{layers.DWCGw9rm.js → layers.DUjzahzs.js} +1 -1
- package/dist/{layers.y4INFYuw.js → layers.DUk4LtkB.js} +1 -1
- package/dist/{layers.D7tvyVJx.js → layers.DVyNZViM.js} +1 -1
- package/dist/{layers.DPypXGXV.js → layers.DX-_rZZm.js} +1 -1
- package/dist/{layers.zeQg5XyS.js → layers.DZSIKNGr.js} +4 -4
- package/dist/{layers.BV8XszYg.js → layers.Da9pKTtE.js} +1 -1
- package/dist/{layers.DPotS97R.js → layers.Dc3Z7JRe.js} +1 -1
- package/dist/{layers.Bc6jCmcL.js → layers.DeYnYW8x.js} +1 -1
- package/dist/{layers.BJNDuv8A.js → layers.DgLw6auX.js} +6 -6
- package/dist/{layers.pDOOMU8o.js → layers.Dgytap9-.js} +1 -1
- package/dist/{layers.CsmSjm5X.js → layers.DhsShj7e.js} +1 -1
- package/dist/{layers.t-B47bBL.js → layers.DhyRu56O.js} +4 -4
- package/dist/{layers.D7t8emDv.js → layers.Di3QwSwF.js} +1 -1
- package/dist/{layers.BLgJM_NG.js → layers.DieyF7Mb.js} +1 -1
- package/dist/{layers.DBmzF1GK.js → layers.Dim_7gFL.js} +1 -1
- package/dist/{layers.YRkSAk7Y.js → layers.DjEJT7he.js} +2 -2
- package/dist/{layers.5h11u2FE.js → layers.Do8FTjWl.js} +1 -1
- package/dist/{layers.ulQlWEMu.js → layers.Dobt6mRr.js} +1 -1
- package/dist/{layers.CpyTyH1l.js → layers.DreE0CD1.js} +1 -1
- package/dist/{layers.mpmaCt8r.js → layers.DvQ2dh6I.js} +1 -1
- package/dist/{layers.VVQTXlLM.js → layers.DvdnuVJv.js} +1 -1
- package/dist/{layers.Bb0XL3dJ.js → layers.DwY8-5Ho.js} +1 -1
- package/dist/{layers.BBodgt1z.js → layers.DyYTK0So.js} +1 -1
- package/dist/{layers.CnTbWCei.js → layers.EN7PEmQX.js} +1 -1
- package/dist/{layers.CCDSYwY-.js → layers.EvdeRXLR.js} +1 -1
- package/dist/{layers.DxQinbaP.js → layers.HnMwvcl0.js} +4 -4
- package/dist/{layers.jrKsw1US.js → layers.HuJ3UCd4.js} +1 -1
- package/dist/{layers.CZZb77-M.js → layers.IQQ5OQKd.js} +1 -1
- package/dist/layers.P_aOF19W.js +8 -0
- package/dist/{layers.CnoCYawj.js → layers.SqDtpNGf.js} +1 -1
- package/dist/{layers.BAT71ZPy.js → layers.U3pyk9E4.js} +3 -3
- package/dist/{layers.BfG3HB3-.js → layers.Uumr6LwD.js} +1 -1
- package/dist/{layers.DVQxyQyU.js → layers.V4TTwzir.js} +1 -1
- package/dist/{layers.Dd2YHcCZ.js → layers.VYVXLvN_.js} +1 -1
- package/dist/{layers.DnwDJ8fu.js → layers.XK2sddFl.js} +3 -3
- package/dist/{layers.BtbBlAID.js → layers.XWIlJ9bP.js} +5 -5
- package/dist/{layers.BS2n72dP.js → layers.YBMSKMjf.js} +1 -1
- package/dist/{layers.Dr8pWw4N.js → layers._la4D_iD.js} +1 -1
- package/dist/{layers.DEXMQhHE.js → layers.alvTM0TL.js} +1 -1
- package/dist/{layers.DgJrS-da.js → layers.fRxn-M0Z.js} +1 -1
- package/dist/layers.fe6ZrL2s.js +6 -0
- package/dist/{layers.jWamXKUm.js → layers.hUSjkj2F.js} +1 -1
- package/dist/{layers.DErv9BMu.js → layers.i6wYk0yO.js} +1 -1
- package/dist/{layers.DcA3kTPq.js → layers.jvvStAM5.js} +1 -1
- package/dist/{layers._w1BnwY0.js → layers.ledjdm_3.js} +4 -4
- package/dist/{layers.DN3qDPL9.js → layers.lsxcliue.js} +1 -1
- package/dist/{layers.B9maygAw.js → layers.poa6s6JS.js} +1 -1
- package/dist/{layers.D6OoTeN4.js → layers.qgLxrPvn.js} +1 -1
- package/dist/layers.reRErKmI.js +1 -0
- package/dist/{layers.B1DpbdQ8.js → layers.tPe3TnkZ.js} +1 -1
- package/dist/{layers.CBfxIUIt.js → layers.uN-NSHnL.js} +2 -2
- package/dist/{layers.CR8mLt5Q.js → layers.uiQlFJkj.js} +1 -1
- package/dist/{layers.Cv41Wh5x.js → layers.vUzfU7Qx.js} +1 -1
- package/dist/{layers.Bm1r1il8.js → layers.wWToVlI_.js} +1 -1
- package/dist/{layers.qwc0qX_n.js → layers.x1UA-FR6.js} +1 -1
- package/dist/{layers.Cl6167fK.js → layers.yL1_Ryr2.js} +1 -1
- package/package.json +80 -80
- package/dist/layers.4qd3yMN3.js +0 -6
- package/dist/layers.B4Yy5Up8.js +0 -1
- package/dist/layers.C8ViA0iZ.js +0 -1
- package/dist/layers.CDIceqhL.js +0 -8
- package/dist/layers.CEd0an3c.js +0 -1
- package/dist/layers.CFCOrqea.js +0 -1
- package/dist/layers.C_NvDdhE.js +0 -540
- package/dist/layers.CmmYt3Ou.js +0 -1
- package/dist/layers.DilA0qnM.js +0 -54
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { w as ln, c as H } from "./layers.DLwuMfdd.js";
|
|
2
|
-
import { B as rn, D as M, E as D, F as an, G as y, H as on, I as j, J as _, K as un, L as t, M as sn, N as tn, O as fn } from "./layers.
|
|
2
|
+
import { B as rn, D as M, E as D, F as an, G as y, H as on, I as j, J as _, K as un, L as t, M as sn, N as tn, O as fn } from "./layers.Bk7fHXBF.js";
|
|
3
3
|
function cn(l) {
|
|
4
4
|
return l.innerRadius;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.D8M84_MA.js";
|
|
2
2
|
var e = { paste: "Senṭeḍ", pasteAsPlaintext: "", pasteCharts: "Senṭeḍ udlifen", selectAll: "Fren akk", multiSelect: "Rnu aferdis ɣer tefrayt", moveCanvas: "Smutti taɣzut n usuneɣ", cut: "Gzem", copy: "Nɣel", copyAsPng: "Nɣel ɣer tecfawit am PNG", copyAsSvg: "Nɣel ɣer tecfawit am SVG", copyText: "Nɣel ɣer tecfawit am uḍris", copySource: "", convertToCode: "", bringForward: "Awi ɣer sdat", sendToBack: "Awi s agilal", bringToFront: "Err ɣer deffir", sendBackward: "Awi ɣer deffir", delete: "Kkes", copyStyles: "Nɣel iɣunab", pasteStyles: "Senṭeḍ iɣunab", stroke: "Azizdew", background: "Agilal", fill: "Taččart", strokeWidth: "Tehri n yizirig", strokeStyle: "Aɣanib n tizirig", strokeStyle_solid: "Aččuran", strokeStyle_dashed: "S tjerriḍin", strokeStyle_dotted: "S tenqiḍin", sloppiness: "Astehzi", opacity: "Tiḍullest", textAlign: "Areyyec n uḍris", edges: "Leryuf", sharp: "Yemsed", round: "Imdewer", arrowheads: "Ixfawen n tenccabt", arrowhead_none: "Ulac", arrowhead_arrow: "Taneccabt", arrowhead_bar: "Afeggag", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "Akerdis", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Tiddi n tsefsit", fontFamily: "Tawacult n tsefsiyin", addWatermark: 'Seddu "Yettwaxdem s Excalidraw"', handDrawn: "Asuneɣ s ufus", normal: "Amagnu", code: "Tangalt", small: "Meẓẓi", medium: "Alemmas", large: "Ameqran", veryLarge: "Meqqer aṭas", solid: "Aččuran", hachure: "Azerreg", zigzag: "", crossHatch: "Azerreg anmidag", thin: "Arqaq", bold: "Azuran", left: "Azelmaḍ", center: "Talemmast", right: "Ayfus", extraBold: "Azuran aṭas", architect: "Amasdag", artist: "Anaẓur", cartoonist: "Amefɣul", fileTitle: "Isem n ufaylu", colorPicker: "Amafran n yini", canvasColors: "Yettwaseqdec di teɣzut n usuneɣ", canvasBackground: "Agilal n teɣzut n usuneɣ", drawingCanvas: "Taɣzut n usuneɣ", layers: "Tissiyin", actions: "Tigawin", language: "Tutlayt", liveCollaboration: "Amɛiwen s srid...", duplicateSelection: "Sisleg", untitled: "War azwel", name: "Isem", yourName: "Isem-ik (im)", madeWithExcalidraw: "Yettwaxdem s Excalidraw", group: "Segrew tafrayt", ungroup: "Kkess asegrew i tefrayt", collaborators: "Imɛiwnen", showGrid: "Beqqeḍ aferrug", addToLibrary: "Rnu ɣer temkarḍit", removeFromLibrary: "Kkes si temkarḍit", libraryLoadingMessage: "Asali n temkarḍit…", libraries: "Snirem timkarḍiyin", loadingScene: "Asali n usayes…", align: "Reyyec", alignTop: "Areyyec uksawen", alignBottom: "Areyyec ukessar", alignLeft: "Reyyec s azelmaḍ", alignRight: "Areyyec s ayfus", centerVertically: "Di tlemmast s ibeddi", centerHorizontally: "Di tlemmast s uglawi", distributeHorizontally: "Freq s uglawi", distributeVertically: "Freq s yibeddi", flipHorizontal: "Tuttya taglawant", flipVertical: "Tuttya tubdidt", viewMode: "Askar n tmuɣli", share: "Bḍu", showStroke: "Beqqeḍ amelqaḍ n yini n yizirig", showBackground: "Beqqeḍ amelqaḍ n yini n ugilal", toggleTheme: "Snifel asentel", personalLib: "Tamkarḍit tudmawant", excalidrawLib: "Tamkarḍit n Excalidraw", decreaseFontSize: "Senqes tiddi n tsefsit", increaseFontSize: "Sali tiddi n tsefsit", unbindText: "Serreḥ iweḍris", bindText: "Arez aḍris s anagbar", createContainerFromText: "", link: { edit: "Ẓreg aseɣwen", editEmbed: "", create: "Snulfu-d aseɣwen", createEmbed: "", label: "Aseɣwen", labelEmbed: "", empty: "" }, lineEditor: { edit: "Ẓreg izirig", exit: "Ffeɣ seg umaẓrag n yizirig" }, elementLock: { lock: "Sekkeṛ", unlock: "Serreḥ", lockAll: "Sekkeṛ akk", unlockAll: "Serreḥ akk" }, statusPublished: "Yeffeɣ-d", sidebarLock: "Eǧǧ afeggag n yidis yeldi", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, a = { noItems: "Ulac iferdisen yettwarnan yakan...", hint_emptyLibrary: "Fren aferdis di teɣzut nusuneɣ akken at-ternuḍ dagi, neɣ sbedd tamkarḍit seg usarsay azayez, ukessar-agi.", hint_emptyPrivateLibrary: "Fren aferdis di teɣzut nusuneɣ akken at-ternuḍ dagi." }, u = { clearReset: "Ales awennez n teɣzut n usuneɣ", exportJSON: "Sifeḍ afaylu", exportImage: "Sifeḍ tugna...", export: "Sekles di...", copyToClipboard: "Nɣel ɣer tecfawit", save: "Sekles deg ufaylu amiran", saveAs: "Sekles am", load: "Ldi", getShareableLink: "Awi-d aseɣwen n beṭṭu", close: "Mdel", selectLanguage: "Fren tutlayt", scrollBackToContent: "Uɣal s agbur", zoomIn: "Simɣur", zoomOut: "Simẓi", resetZoom: "Ales awennez n usemɣer", menu: "Umuɣ", done: "Ifukk", edit: "Ẓreg", undo: "Sefsex", redo: "Err-d", resetLibrary: "Ales awennez n temkarḍit", createNewRoom: "Snulfu-d taxxamt tamaynutt", fullScreen: "Agdil aččuran", darkMode: "Askar imsulles", lightMode: "Askar afaw", zenMode: "Askar Zen", objectsSnapMode: "", exitZenMode: "Ffeɣ seg uskar Zen", cancel: "Sefsex", clear: "Sfeḍ", remove: "Kkes", embed: "", publishLibrary: "Ẓreg", submit: "Azen", confirm: "Sentem", embeddableInteractionButton: "" }, t = { clearReset: "Ayagi ad isfeḍ akk taɣzut n usuneɣ. Tetḥeqqeḍ?", couldNotCreateShareableLink: "D awezɣi asnulfu n useɣwen n beṭṭu.", couldNotCreateShareableLinkTooBig: "D awezɣi asnulfu n useɣwen n beṭṭu. Asayes ɣezzif aṭas", couldNotLoadInvalidFile: "D awezɣi asali n ufaylu armeɣtu", importBackendFailed: "Takterḍ seg uɣawas n deffir ur teddi ara.", cannotExportEmptyCanvas: "D awezɣi asifeḍ n teɣzut n usuneɣ tilemt.", couldNotCopyToClipboard: "Ulamek anɣal ɣer tecfawit.", decryptFailed: "D awezɣi tukksa n uwgelhen i yisefka.", uploadedSecurly: "Asili yettwasɣelles s uwgelhen ixef s ixef, ayagi yebɣa ad d-yini belli aqeddac n Excalidraw akked medden ur zmiren ara ad ɣren agbur.", loadSceneOverridePrompt: "Asali n wunuɣ uffiɣ ad isemselsi agbur-inek (m) yellan. Tebɣiḍ ad tkemmeleḍ?", collabStopOverridePrompt: `Aḥbas n tɣimit ad yesefsex unuɣ-inek (m) yettwaḥerzen yakan s wudem adigan. Tetḥeqqeḍ?
|
|
3
3
|
(Ma tebɣiḍ ad teǧǧeḍ unuɣ-inek (m) adigan, mdel iccer n yiminig, deg umḍiq.)`, errorAddingToLibrary: "Ulamek ara yettwarnu uferdis ɣer temkarḍit", errorRemovingFromLibrary: "Ulamek ara yettwakkes uferdis si temkarḍit", confirmAddLibrary: "Ayagi adirnu talɣa (win) {{numShapes}} ɣer temkarḍit-inek (m). Tetḥeqqeḍ?", imageDoesNotContainScene: "Tugna-agi tettban-d ur tesɛi ara isefka n usayes. Tesremdeḍ aseddu n usayes deg usifeḍ?", cannotRestoreFromImage: "Asayes ulamek ara d-yettwarr seg ufaylu-agi n tugna", invalidSceneUrl: "Ulamek taktert n usayes seg URL i d-ittunefken. Ahat mačči d tameɣtut neɣ ur tegbir ara isefka JSON n Excalidraw.", resetLibrary: "Ayagi ad isfeḍ tamkarḍit-inek•m. Tetḥeqqeḍ?", removeItemsFromsLibrary: "Ad tekkseḍ {{count}} n uferdis (en) si temkarḍit?", invalidEncryptionKey: "Tasarut n uwgelhen isefk ad tesɛu 22 n yiekkilen. Amɛiwen srid yensa.", collabOfflineWarning: `Ulac tuqqna n internet.
|
|
4
4
|
Ibedilen-ik ur ttwaklasen ara!` }, i = { unsupportedFileType: "Anaw n ufaylu ur yettwasefrak ara.", imageInsertError: "D awezɣi tugra n tugna. Eɛreḍ tikkelt-nniḍen ardeqqal...", fileTooBig: "Afaylu meqqer aṭas. Tiddi tafellayt yurgen d {{maxSize}}.", svgImageInsertError: "D awezɣi tugra n tugna SVG. Acraḍ SVG yettban-d d armeɣtu.", failedToFetchImage: "", invalidSVGString: "SVG armeɣtu.", cannotResolveCollabServer: "Ulamek tuqqna s aqeddac n umyalel. Ma ulac uɣilif ales asali n usebter sakin eɛreḍ tikkelt-nniḍen.", importLibraryError: "Ur d-ssalay ara tamkarḍit", collabSaveFailed: "Ulamek asekles deg uzadur n yisefka deg ugilal. Ma ikemmel wugur, isefk ad teskelseḍ afaylu s wudem adigan akken ad tetḥeqqeḍ ur tesruḥuyeḍ ara amahil-inek•inem.", collabSaveFailed_sizeExceeded: "Ulamek asekles deg uzadur n yisefka deg ugilal, taɣzut n usuneɣ tettban-d temqer aṭas. Isefk ad teskelseḍ afaylu s wudem adigan akken ad tetḥeqqeḍ ur tesruḥuyeḍ ara amahil-inek•inem.", imageToolNotSupported: "", brave_measure_text_error: { line1: "", line2: "Ayagi yezmer ad d-iglu s truẓi n<bold>Iferdisen n uḍris</bold>deg wunuɣen-inek.", line3: "Ad k-nsemter ad tsexsiḍ aɣewwar-agi. Tzemreḍ ad tḍefreḍ<link>isurifen-agi</link> ɣef wamek ara txedmeḍ.", line4: "" }, libraryElementTypeError: { embeddable: "", iframe: "", image: "" }, asyncPasteFailedOnRead: "", asyncPasteFailedOnParse: "", copyToSystemClipboardFailed: "" }, n = { selection: "Tafrayt", image: "Ger tugna", rectangle: "Asrem", diamond: "Ameɣṛun", ellipse: "Taglayt", arrow: "Taneccabt", line: "Izirig", freedraw: "Suneɣ", text: "Aḍris", library: "Tamkarḍit", lock: "Eǧǧ afecku n tefrayt yermed mbaɛd asuneɣ", penMode: "Askar n yimru - gdel tanalit", link: "Rnu/leqqem aseɣwen i talɣa yettwafernen", eraser: "Sfeḍ", frame: "", magicframe: "", embeddable: "", laser: "", hand: "Afus (afecku n usmutti n tmuɣli)", extraTools: "", mermaidToExcalidraw: "", magicSettings: "" }, r = { canvasActions: "Tigawin n teɣzut n usuneɣ", selectedShapeActions: "Tigawin n talɣa yettwafernen", shapes: "Talɣiwin" }, s = { canvasPanning: "Akken ad tesmuttiḍ taɣzut n usuneɣ, ṭṭef ṛṛuda n umumed, neɣ seqdec afecku Afus", linearElement: "Ssit akken ad tebduḍ aṭas n tenqiḍin, zuɣer i yiwen n yizirig", freeDraw: "Ssit yerna zuɣer, serreḥ ticki tfukeḍ", text: "Tixidest: tzemreḍ daɣen ad ternuḍ aḍris s usiti snat n tikkal anida tebɣiḍ s ufecku n tefrayt", embeddable: "", text_selected: "Ssit snat n tikkal neɣ ssed taqeffalt Kcem akken ad tẓergeḍ aḍris", text_editing: "Ssit Escape neɣ CtrlOrCmd+ENTER akken ad tfakkeḍ asiẓreg", linearElementMulti: "Ssit ɣef tenqiḍt taneggarut neɣ ssed taqeffalt Escape neɣ taqeffalt Kcem akken ad tfakkeḍ", lockAngle: "Tzemreḍ ad tḥettmeḍ tiɣmert s tuṭṭfa n tqeffalt SHIFT", resize: `Tzemreḍ ad tḥettemeḍ assaɣ s tuṭṭfa n tqeffalt SHIFT mi ara tettbeddileḍ tiddi,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const d=require("./layers.9pNaFvaX.js"),f=require("./layers.DOrgOHBr.js"),m=require("./layers.
|
|
1
|
+
"use strict";const d=require("./layers.9pNaFvaX.js"),f=require("./layers.DOrgOHBr.js"),m=require("./layers.DZSIKNGr.js");function v(t){return t[0]}function q(t){return t[1]}function y(t,u){var s=f.constant(!0),o=null,c=m.curveLinear,r=null,p=f.withPath(e);t=typeof t=="function"?t:t===void 0?v:f.constant(t),u=typeof u=="function"?u:u===void 0?q:f.constant(u);function e(n){var i,h=(n=d.array(n)).length,a,l=!1,g;for(o==null&&(r=c(g=p())),i=0;i<=h;++i)!(i<h&&s(a=n[i],i,n))===l&&((l=!l)?r.lineStart():r.lineEnd()),l&&r.point(+t(a,i,n),+u(a,i,n));if(g)return r=null,g+""||null}return e.x=function(n){return arguments.length?(t=typeof n=="function"?n:f.constant(+n),e):t},e.y=function(n){return arguments.length?(u=typeof n=="function"?n:f.constant(+n),e):u},e.defined=function(n){return arguments.length?(s=typeof n=="function"?n:f.constant(!!n),e):s},e.curve=function(n){return arguments.length?(c=n,o!=null&&(r=c(o)),e):c},e.context=function(n){return arguments.length?(n==null?o=r=null:r=c(o=n),e):o},e}exports.line=y;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.B5wt10W4.js");var i={paste:"Įklijuoti",pasteAsPlaintext:"Įklijuoti kaip paprastą tekstą",pasteCharts:"Įklijuoti diagramas",selectAll:"Pažymėti viską",multiSelect:"Pridėkite elementą prie pasirinktų",moveCanvas:"Judinti drobę",cut:"Iškirpti",copy:"Kopijuoti",copyAsPng:"Kopijuoti į iškarpinę kaip PNG",copyAsSvg:"Kopijuoti į iškarpinę kaip SVG",copyText:"Kopijuoti į iškarpinę kaip tekstą",copySource:"",convertToCode:"",bringForward:"Kelti priekio link",sendToBack:"Nustumti į užnugarį",bringToFront:"Iškelti į priekį",sendBackward:"Nustumti link užnugario",delete:"Ištrinti",copyStyles:"Kopijuoti stilius",pasteStyles:"Įklijuoti stilius",stroke:"Linija",background:"Fonas",fill:"Užpildymas",strokeWidth:"Linijos storis",strokeStyle:"Linijos stilius",strokeStyle_solid:"Ištisinė",strokeStyle_dashed:"Brūkšniuota",strokeStyle_dotted:"Taškuota",sloppiness:"Netvarkingumas",opacity:"Nepermatomumas",textAlign:"Teksto lygiavimas",edges:"Kraštai",sharp:"Aštrus",round:"Užapvalintas",arrowheads:"Rodyklės viršūnės",arrowhead_none:"Jokios",arrowhead_arrow:"Rodyklė",arrowhead_bar:"Brukšnys",arrowhead_circle:"",arrowhead_circle_outline:"",arrowhead_triangle:"Trikampis",arrowhead_triangle_outline:"",arrowhead_diamond:"",arrowhead_diamond_outline:"",fontSize:"Šrifto dydis",fontFamily:"Šriftas",addWatermark:"Sukurta su Excalidraw",handDrawn:"Ranka rašytas",normal:"Normalus",code:"Kodas",small:"Mažas",medium:"Vidutinis",large:"Didelis",veryLarge:"Labai didelis",solid:"",hachure:"",zigzag:"",crossHatch:"",thin:"Plonas",bold:"Pastorintas",left:"Kairėje",center:"Centre",right:"Dešinėje",extraBold:"Labiau pastorintas",architect:"Architektas",artist:"Menininkas",cartoonist:"Karikatūristas",fileTitle:"Failo pavadinimas",colorPicker:"Spalvos parinkiklis",canvasColors:"",canvasBackground:"Drobės fonas",drawingCanvas:"",layers:"Sluoksniai",actions:"Veiksmai",language:"Kalba",liveCollaboration:"Bendradarbiavimas gyvai...",duplicateSelection:"",untitled:"",name:"",yourName:"Jūsų vardas",madeWithExcalidraw:"Sukurta su Excalidraw",group:"Grupuoti pasirinkimą",ungroup:"Išgrupuoti pasirinkimą",collaborators:"Bendradarbiautojai",showGrid:"Rodyti tinklelį",addToLibrary:"Pridėti į biblioteką",removeFromLibrary:"Pašalinti iš bibliotekos",libraryLoadingMessage:"",libraries:"Naršyti bibliotekas",loadingScene:"",align:"Lygiuoti",alignTop:"Lygiuoti viršuje",alignBottom:"Lygiuoti apačioje",alignLeft:"Lygiuoti kairėje",alignRight:"Lygiuoti dešinėje",centerVertically:"Centruoti vertikaliai",centerHorizontally:"Centruoti horizontaliai",distributeHorizontally:"",distributeVertically:"",flipHorizontal:"Apversti horizontaliai",flipVertical:"Apversti vertikaliai",viewMode:"",share:"Dalintis",showStroke:"",showBackground:"",toggleTheme:"",personalLib:"Asmeninė biblioteka",excalidrawLib:"Exaclidraw biblioteka",decreaseFontSize:"",increaseFontSize:"",unbindText:"",bindText:"",createContainerFromText:"",link:{edit:"Redeguoti nuorodą",editEmbed:"",create:"Sukurti nuorodą",createEmbed:"",label:"Nuoroda",labelEmbed:"",empty:""},lineEditor:{edit:"",exit:""},elementLock:{lock:"Užrakinti",unlock:"Atrakinti",lockAll:"",unlockAll:""},statusPublished:"",sidebarLock:"",selectAllElementsInFrame:"",removeAllElementsFromFrame:"",eyeDropper:"",textToDiagram:"",prompt:""},e={noItems:"",hint_emptyLibrary:"",hint_emptyPrivateLibrary:""},a={clearReset:"",exportJSON:"Eksportuoti į failą",exportImage:"",export:"",copyToClipboard:"Kopijuoti į iškarpinę",save:"",saveAs:"Išsaugoti kaip",load:"",getShareableLink:"Gauti nuorodą dalinimuisi",close:"Uždaryti",selectLanguage:"Pasirinkite kalbą",scrollBackToContent:"",zoomIn:"Priartinti",zoomOut:"Nutolinti",resetZoom:"",menu:"Meniu",done:"",edit:"Redaguoti",undo:"Anuliuoti",redo:"",resetLibrary:"Atstatyti biblioteką",createNewRoom:"Sukurti naują kambarį",fullScreen:"Visas ekranas",darkMode:"Tamsus režimas",lightMode:"Šviesus režimas",zenMode:"„Zen“ režimas",objectsSnapMode:"",exitZenMode:"Išeiti iš „Zen“ režimo",cancel:"Atšaukti",clear:"Išvalyti",remove:"Pašalinti",embed:"",publishLibrary:"Paskelbti",submit:"Pateikti",confirm:"Patvirtinti",embeddableInteractionButton:""},t={clearReset:"",couldNotCreateShareableLink:"",couldNotCreateShareableLinkTooBig:"",couldNotLoadInvalidFile:"",importBackendFailed:"",cannotExportEmptyCanvas:"",couldNotCopyToClipboard:"",decryptFailed:"",uploadedSecurly:"",loadSceneOverridePrompt:"",collabStopOverridePrompt:`Sesijos nutraukimas perrašys ankstesnį, lokaliai išsaugotą piešinį. Ar tikrai to nori?
|
|
2
2
|
|
|
3
3
|
(Jei nori išlaikyti lokalų piešinį, tiesiog uždaryk naršyklės skirtuką.)`,errorAddingToLibrary:"Nepavyko įtraukti elemento į biblioteką",errorRemovingFromLibrary:"Nepavyko pašalinti elemento iš bibliotekos",confirmAddLibrary:"Tai įtrauks {{numShapes}} figūrą/-as į tavo biblioteką. Ar tikrai to nori?",imageDoesNotContainScene:"Panašu, jog šis paveiksliukas neturi scenos duomenų. Ar yra įjuntas scenos įtraukimas ekportavimo metu?",cannotRestoreFromImage:"Nepavyko atstatyti scenos iš šio nuotraukos failo",invalidSceneUrl:"Nepavyko suimportuoti scenos iš pateiktos nuorodos (URL). Ji arba blogai suformatuota, arba savyje neturi teisingų Excalidraw JSON duomenų.",resetLibrary:"Tai išvalys tavo biblioteką. Ar tikrai to nori?",removeItemsFromsLibrary:"Ištrinti {{count}} elementą/-us iš bibliotekos?",invalidEncryptionKey:"Šifravimo raktas turi būti iš 22 simbolių. Redagavimas gyvai yra išjungtas.",collabOfflineWarning:""},o={unsupportedFileType:"Nepalaikomas failo tipas.",imageInsertError:"Nepyko įkelti paveiksliuko. Pabandyk vėliau...",fileTooBig:"Per didelis failas. Didžiausias leidžiamas dydis yra {{maxSize}}.",svgImageInsertError:"Nepavyko įtraukti SVG paveiksliuko. Panašu, jog SVG yra nevalidus.",failedToFetchImage:"",invalidSVGString:"Nevalidus SVG.",cannotResolveCollabServer:"Nepavyko prisijungti prie serverio bendradarbiavimui. Perkrauk puslapį ir pabandyk prisijungti dar kartą.",importLibraryError:"Nepavyko įkelti bibliotekos",collabSaveFailed:"",collabSaveFailed_sizeExceeded:"",imageToolNotSupported:"",brave_measure_text_error:{line1:"",line2:"",line3:"",line4:""},libraryElementTypeError:{embeddable:"",iframe:"",image:""},asyncPasteFailedOnRead:"",asyncPasteFailedOnParse:"",copyToSystemClipboardFailed:""},r={selection:"Žymėjimas",image:"Įkelti paveiksliuką",rectangle:"Stačiakampis",diamond:"Deimantas",ellipse:"Elipsė",arrow:"Rodyklė",line:"Linija",freedraw:"Piešti",text:"Tekstas",library:"Biblioteka",lock:"Baigus piešti, išlaikyti pasirinktą įrankį",penMode:"Rašyklio režimas - neleisti prisilietimų",link:"Pridėti / Atnaujinti pasirinktos figūros nuorodą",eraser:"Trintukas",frame:"",magicframe:"",embeddable:"",laser:"",hand:"",extraTools:"",mermaidToExcalidraw:"",magicSettings:""},u={canvasActions:"Veiksmai su drobe",selectedShapeActions:"Veiksmai su pasirinkta figūra",shapes:"Figūros"},s={canvasPanning:"",linearElement:"Paspaudimai sukurs papildomus taškus, nepertraukiamas tempimas sukurs liniją",freeDraw:"Spausk ir tempk, paleisk kai norėsi pabaigti",text:"Užuomina: tekstą taip pat galima pridėti bet kur su dvigubu pelės paspaudimu, kol parinkas žymėjimo įrankis",embeddable:"",text_selected:"",text_editing:"",linearElementMulti:"",lockAngle:"",resize:"",resizeImage:"",rotate:"",lineEditor_info:"",lineEditor_pointSelected:"",lineEditor_nothingSelected:"",placeImage:"",publishLibrary:"",bindTextToElement:"",deepBoxSelect:"",eraserRevert:"",firefox_clipboard_write:"",disableSnapping:""},l={cannotShowPreview:"",canvasTooBig:"",canvasTooBigTip:""},n={headingMain:"",clearCanvasMessage:"",clearCanvasCaveat:"",trackedToSentry:"",openIssueMessage:"",sceneContent:""},d={desc_intro:"",desc_privacy:"",button_startSession:"Pradėti seansą",button_stopSession:"Sustabdyti seansą",desc_inProgressIntro:"",desc_shareLink:"",desc_exitSession:"",shareTitle:""},k={title:"Klaida"},p={disk_title:"Įrašyti į diską",disk_details:"",disk_button:"Įrašyti į failą",link_title:"Nuoroda dalinimuisi",link_details:"",link_button:"",excalidrawplus_description:"",excalidrawplus_button:"Eksportuoti",excalidrawplus_exportError:""},m={blog:"",click:"paspaudimas",deepSelect:"",deepBoxSelect:"",curvedArrow:"Banguota rodyklė",curvedLine:"Banguota linija",documentation:"Dokumentacija",doubleClick:"dvigubas paspaudimas",drag:"vilkti",editor:"Redaktorius",editLineArrowPoints:"",editText:"",github:"Radai klaidą? Pateik",howto:"Vadovaukis mūsų gidu",or:"arba",preventBinding:"",tools:"Įrankiai",shortcuts:"Spartieji klavišai",textFinish:"Baigti redagavimą (teksto redaktoriuje)",textNewLine:"Pridėti naują eilutę (tekto redaktoriuje)",title:"Pagalba",view:"",zoomToFit:"",zoomToSelection:"Priartinti iki pažymėtos vietos",toggleElementLock:"",movePageUpDown:"Pajudinti puslapį aukštyn/žemyn",movePageLeftRight:"Pajudinti puslapį kairėn/dešinėn"},c={title:"Išvalyti drobę"},b={title:"Paviešinti biblioteką",itemName:"Elemento pavadinimas",authorName:"Autoriaus vardas",githubUsername:"Github spalyvardis",twitterUsername:"Twitter slapyvardis",libraryName:"Bibliotekos pavadinimas",libraryDesc:"Bibliotekos aprašas",website:"Tinklalapis",placeholder:{authorName:"Tavo vardas arba spalyvardis",libraryName:"Tavo bibliotekos pavadinimas",libraryDesc:"Tavo bibliotekos aprašas, padėti žmonėms geriau suprasti jos paskirtį",githubHandle:"",twitterHandle:"",website:""},errors:{required:"Privalomas",website:"Įveskite teisingą nuorodą (URL)"},noteDescription:"Pateik savo biblioteką, jog ji galėtų būti įtraukta į <link></link>jog kiti žmonės galėtų tai naudoti savo piešiniuose.",noteGuidelines:"Visų pirma, biblioteka turi būti rankiniu būdu patvirtinta. Prašome paskaityti <link>gairės</link>",noteLicense:"<link>MIT licencija, </link>",noteItems:"",atleastOneLibItem:"",republishWarning:""},g={title:"Biblioteka pateikta",content:"Ačiū {{authorName}}. Tavo biblioteka buvo pateikta peržiūrai. Gali sekti būseną<link>čia</link>"},y={resetLibrary:"Atstatyti biblioteką",removeItemsFromLib:"Pašalinti pasirinktus elementus iš bibliotekos"},v={header:"",label:{withBackground:"",onlySelected:"",darkMode:"",embedScene:"",scale:"",padding:""},tooltip:{embedScene:""},title:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""},button:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""}},h={tooltip:"",link:""},S={angle:"",element:"Elementas",elements:"Elementai",height:"Aukštis",scene:"Scena",selected:"Pasirinkta",storage:"Saugykla",title:"Informacija moksliukams",total:"",version:"",versionCopy:"",versionNotAvailable:"",width:"Plotis"},E={addedToLibrary:"Pridėta į biblioteką",copyStyles:"",copyToClipboard:"Nukopijuota į iškarpinę.",copyToClipboardAsPng:"",fileSaved:"Failas išsaugotas.",fileSavedToFilename:"Išsaugota į {filename}",canvas:"drobė",selection:"",pasteAsSingleElement:"",unableToEmbed:"",unrecognizedLinkFormat:""},F={transparent:"Permatoma",black:"",white:"",red:"",pink:"",grape:"",violet:"",gray:"",blue:"",cyan:"",teal:"",green:"",yellow:"",orange:"",bronze:""},T={app:{center_heading:"",center_heading_plus:"",menuHint:""},defaults:{menuHint:"",center_heading:"",toolbarHint:"",helpHint:""}},P={mostUsedCustomColors:"",colors:"",shades:"",hexCode:"",noShades:""},w={action:{exportToImage:{title:"",button:"",description:""},saveToDisk:{title:"",button:"",description:""},excalidrawPlus:{title:"",button:"",description:""}},modal:{loadFromFile:{title:"",button:"",description:""},shareableLink:{title:"",button:"",description:""}}},x={title:"",button:"",description:"",syntax:"",preview:""},j={labels:i,library:e,buttons:a,alerts:t,errors:o,toolBar:r,headings:u,hints:s,canvasError:l,errorSplash:n,roomDialog:d,errorDialog:k,exportDialog:p,helpDialog:m,clearCanvasDialog:c,publishDialog:b,publishSuccessDialog:g,confirmDialog:y,imageExportDialog:v,encrypted:h,stats:S,toast:E,colors:F,welcomeScreen:T,colorPicker:P,overwriteConfirm:w,mermaid:x};exports.alerts=t;exports.buttons=a;exports.canvasError=l;exports.clearCanvasDialog=c;exports.colorPicker=P;exports.colors=F;exports.confirmDialog=y;exports.default=j;exports.encrypted=h;exports.errorDialog=k;exports.errorSplash=n;exports.errors=o;exports.exportDialog=p;exports.headings=u;exports.helpDialog=m;exports.hints=s;exports.imageExportDialog=v;exports.labels=i;exports.library=e;exports.mermaid=x;exports.overwriteConfirm=w;exports.publishDialog=b;exports.publishSuccessDialog=g;exports.roomDialog=d;exports.stats=S;exports.toast=E;exports.toolBar=r;exports.welcomeScreen=T;
|
package/package.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@layers-app/editor",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "2.1.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"publishConfig": {
|
|
12
|
-
"access": "public"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"start": "cross-env VITE_LAYERS=true vite --mode full ",
|
|
16
|
-
"start:specific": "VITE_LAYERS=false vite --mode full ",
|
|
17
|
-
"build": "cross-env VITE_LAYERS=true vite build",
|
|
18
|
-
"build:specific": "VITE_LAYERS=false vite build",
|
|
19
|
-
"preview": "vite preview",
|
|
20
|
-
"generate-dts": "tsc --project tsconfig.lib.json",
|
|
21
|
-
"type-check": "tsc --noEmit --project tsconfig.check.json",
|
|
22
|
-
"test": "vitest run",
|
|
23
|
-
"test:watch": "vitest",
|
|
24
|
-
"test:coverage": "vitest run --coverage",
|
|
25
|
-
"start-test-server": "VITE_LAYERS=true vite --mode full --port 3001 --strictPort --host 0.0.0.0"
|
|
26
|
-
},
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"@excalidraw/excalidraw": "^0.18.0",
|
|
29
|
-
"@floating-ui/react": "^0.27.16",
|
|
30
|
-
"@layers-app/editor-core": "*",
|
|
31
|
-
"@lexical/file": "^0.38.2",
|
|
32
|
-
"@lexical/headless": "^0.38.2",
|
|
33
|
-
"@lexical/markdown": "^0.38.2",
|
|
34
|
-
"@lexical/react": "^0.38.2",
|
|
35
|
-
"@tanstack/react-query": "^5.52.2",
|
|
36
|
-
"lexical": "^0.38.2",
|
|
37
|
-
"react-selecto": "^1.26.3",
|
|
38
|
-
"y-websocket": "^1.5.3",
|
|
39
|
-
"yjs": "^13.6.20"
|
|
40
|
-
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"@layers-app/editor-video": "*"
|
|
43
|
-
},
|
|
44
|
-
"peerDependencies": {
|
|
45
|
-
"@dnd-kit/modifiers": ">=6",
|
|
46
|
-
"@emotion/react": ">=11",
|
|
47
|
-
"@emotion/styled": ">=11",
|
|
48
|
-
"@hugeicons/core-free-icons": "^4.0.0",
|
|
49
|
-
"@hugeicons/react": ">=1",
|
|
50
|
-
"@layers-app/editor-video": ">=0.3.0",
|
|
51
|
-
"@tabler/icons-react": ">=3.7.0",
|
|
52
|
-
"@mantine/carousel": "9.1.1",
|
|
53
|
-
"@mantine/colors-generator": "9.1.1",
|
|
54
|
-
"@mantine/core": "9.1.1",
|
|
55
|
-
"@mantine/dropzone": "9.1.1",
|
|
56
|
-
"@mantine/form": "9.1.1",
|
|
57
|
-
"@mantine/hooks": "9.1.1",
|
|
58
|
-
"@mantine/modals": "9.1.1",
|
|
59
|
-
"@mantine/notifications": "9.1.1",
|
|
60
|
-
"@mantine/tiptap": "9.1.1",
|
|
61
|
-
"@tanstack/react-query": "^5.52.2",
|
|
62
|
-
"@tanstack/react-virtual": ">=3",
|
|
63
|
-
"date-fns-tz": ">=3",
|
|
64
|
-
"i18next": "^25.5.2",
|
|
65
|
-
"js-confetti": ">=0.12",
|
|
66
|
-
"lodash-es": "^4.17.21",
|
|
67
|
-
"react": "^19.2.0",
|
|
68
|
-
"react-dom": "^19.2.0",
|
|
69
|
-
"react-i18next": "^15.7.3",
|
|
70
|
-
"swagger-ui-react": "^5.27.1"
|
|
71
|
-
},
|
|
72
|
-
"peerDependenciesMeta": {
|
|
73
|
-
"@layers-app/editor-video": {
|
|
74
|
-
"optional": true
|
|
75
|
-
},
|
|
76
|
-
"swagger-ui-react": {
|
|
77
|
-
"optional": true
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@layers-app/editor",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "2.1.3",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"start": "cross-env VITE_LAYERS=true vite --mode full ",
|
|
16
|
+
"start:specific": "VITE_LAYERS=false vite --mode full ",
|
|
17
|
+
"build": "cross-env VITE_LAYERS=true vite build",
|
|
18
|
+
"build:specific": "VITE_LAYERS=false vite build",
|
|
19
|
+
"preview": "vite preview",
|
|
20
|
+
"generate-dts": "tsc --project tsconfig.lib.json",
|
|
21
|
+
"type-check": "tsc --noEmit --project tsconfig.check.json",
|
|
22
|
+
"test": "vitest run",
|
|
23
|
+
"test:watch": "vitest",
|
|
24
|
+
"test:coverage": "vitest run --coverage",
|
|
25
|
+
"start-test-server": "VITE_LAYERS=true vite --mode full --port 3001 --strictPort --host 0.0.0.0"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@excalidraw/excalidraw": "^0.18.0",
|
|
29
|
+
"@floating-ui/react": "^0.27.16",
|
|
30
|
+
"@layers-app/editor-core": "*",
|
|
31
|
+
"@lexical/file": "^0.38.2",
|
|
32
|
+
"@lexical/headless": "^0.38.2",
|
|
33
|
+
"@lexical/markdown": "^0.38.2",
|
|
34
|
+
"@lexical/react": "^0.38.2",
|
|
35
|
+
"@tanstack/react-query": "^5.52.2",
|
|
36
|
+
"lexical": "^0.38.2",
|
|
37
|
+
"react-selecto": "^1.26.3",
|
|
38
|
+
"y-websocket": "^1.5.3",
|
|
39
|
+
"yjs": "^13.6.20"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@layers-app/editor-video": "*"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"@dnd-kit/modifiers": ">=6",
|
|
46
|
+
"@emotion/react": ">=11",
|
|
47
|
+
"@emotion/styled": ">=11",
|
|
48
|
+
"@hugeicons/core-free-icons": "^4.0.0",
|
|
49
|
+
"@hugeicons/react": ">=1",
|
|
50
|
+
"@layers-app/editor-video": ">=0.3.0",
|
|
51
|
+
"@tabler/icons-react": ">=3.7.0",
|
|
52
|
+
"@mantine/carousel": "9.1.1",
|
|
53
|
+
"@mantine/colors-generator": "9.1.1",
|
|
54
|
+
"@mantine/core": "9.1.1",
|
|
55
|
+
"@mantine/dropzone": "9.1.1",
|
|
56
|
+
"@mantine/form": "9.1.1",
|
|
57
|
+
"@mantine/hooks": "9.1.1",
|
|
58
|
+
"@mantine/modals": "9.1.1",
|
|
59
|
+
"@mantine/notifications": "9.1.1",
|
|
60
|
+
"@mantine/tiptap": "9.1.1",
|
|
61
|
+
"@tanstack/react-query": "^5.52.2",
|
|
62
|
+
"@tanstack/react-virtual": ">=3",
|
|
63
|
+
"date-fns-tz": ">=3",
|
|
64
|
+
"i18next": "^25.5.2",
|
|
65
|
+
"js-confetti": ">=0.12",
|
|
66
|
+
"lodash-es": "^4.17.21",
|
|
67
|
+
"react": "^19.2.0",
|
|
68
|
+
"react-dom": "^19.2.0",
|
|
69
|
+
"react-i18next": "^15.7.3",
|
|
70
|
+
"swagger-ui-react": "^5.27.1"
|
|
71
|
+
},
|
|
72
|
+
"peerDependenciesMeta": {
|
|
73
|
+
"@layers-app/editor-video": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"swagger-ui-react": {
|
|
77
|
+
"optional": true
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
package/dist/layers.4qd3yMN3.js
DELETED
package/dist/layers.B4Yy5Up8.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./layers.BvhpRdfJ.js");require("./layers.Coa78bpu.js");exports.Commands=e.CB;exports.subsetToBase64=e.QB;exports.subsetToBinary=e.NQ;exports.toBase64=e.AI;
|
package/dist/layers.C8ViA0iZ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("react"),G=require("@lexical/react/LexicalComposerContext"),Y=require("@lexical/react/useLexicalEditable"),U=require("@lexical/react/useLexicalNodeSelection"),X=require("@lexical/utils"),y=require("lexical"),s=require("./layers.HgBAwZ89.js"),F=require("./layers.CmmYt3Ou.js"),H=require("react-i18next"),p=require("@mantine/core"),J=require("@mantine/hooks");require("@lexical/mark");require("@lexical/code");const K=require("@layers-app/shared"),P=({isCloseModal:l,setCloseModalOpen:i,confirmClose:b})=>{const{t:v}=H.useTranslation();return o.jsx(p.Modal,{opened:l,onClose:()=>{i(!1)},centered:!0,title:v("editor.unsavedChanges.title"),closeOnClickOutside:!0,closeOnEscape:!0,size:"500",zIndex:999,children:o.jsxs("div",{children:[o.jsx(p.Text,{mb:"md",children:v("editor.unsavedChanges.message")}),o.jsxs(p.Flex,{justify:"flex-end",gap:"sm",children:[o.jsx(p.Button,{variant:"default",onClick:()=>{i(!1)},fullWidth:!0,children:v("editor.unsavedChanges.cancel")}),o.jsx(p.Button,{color:"red",onClick:b,fullWidth:!0,children:v("editor.unsavedChanges.closeWithoutSaving")})]})]})})};function Q({imageContainerRef:l,editor:i,rootClassName:b=null,width:v="inherit",height:g="inherit",nodeKey:u,alignment:q,setModalOpen:w,previewSVG:r,isModalOpen:O}){const{disable:f,imperativeHandleRef:j}=n.useContext(s.Context),S=n.useMemo(()=>r??"",[r]),[A,k]=n.useState(!1),[N,{open:T,close:D}]=J.useDisclosure(!1),{t:x}=H.useTranslation();n.useEffect(()=>{O&&k(!1)},[O]);const _=(e,E)=>{i.update(()=>{y.$setSelection(null);const a=y.$getNodeByKey(u);return s.$isExcalidrawNode(a)&&a.setWidthAndHeight(e,E),!0})},R=()=>{s.deleteNode(i,u)},I=()=>{D(),w(!0)},h=()=>{D(),s.deleteNode(i,u)};return o.jsxs(s.ResizableContainer,{editor:i,isIcon:!1,isEmbed:!0,width:s.parseContainerSize(v),height:s.parseContainerSize(g),onResizeEnd:_,alignment:q,disable:f,onRegisterDecoratorEnter:e=>{j!=null&&j.current&&(j.current.decoratorEnterAction=e)},onActivate:()=>i.dispatchCommand(s.ON_CHANGE_COMMAND,"show_menu"),children:[o.jsxs(p.Box,{className:"media-wrapper excaildraw",children:[o.jsx("div",{className:`media-actions${s.IS_TOUCH_DEVICE||!s.IS_HOVER_CAPABLE?" visible":""}`,children:s.IS_TOUCH_DEVICE?o.jsx(s.ActionIcon,{"aria-label":x("editor.toolbar.more"),label:x("editor.toolbar.more"),flexBorder:!0,onClick:T,icon:s.K1,iconColor:"var(--mantine-color-gray-text)"}):o.jsxs(o.Fragment,{children:[o.jsx(s.ActionIcon,{"aria-label":"Settings",label:x("editor.link.edit"),flexBorder:!0,onClick:()=>{w(!0)},icon:s.tf,iconColor:"var(--mantine-color-gray-text)"}),o.jsx(s.NodeAlignmentMenu,{opened:A,setOpened:k,t:x,editor:i,nodeKey:u,flexBorder:!0}),o.jsx(s.ActionIcon,{"aria-label":"Delete",label:x("editor.actions.delete"),flexBorder:!0,onClick:R,icon:s.lg,iconColor:"var(--mantine-color-red-outline)"})]})}),o.jsx(p.Box,{w:"100%",ref:e=>{e&&l&&(l.current=e)},className:b??"",dangerouslySetInnerHTML:{__html:S}})]}),s.IS_TOUCH_DEVICE&&o.jsx(s.MobileDrawer,{opened:N,onClose:D,title:x("editor.image.mobileActions"),children:o.jsxs(p.Stack,{gap:4,p:0,children:[o.jsx(p.Button,{type:"button",variant:"subtle",color:"gray",fullWidth:!0,justify:"flex-start",bg:"light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",onClick:I,leftSection:o.jsx(s.HugeiconsIcon,{icon:s.tf,size:16,color:"var(--mantine-color-dimmed)"}),children:x("editor.link.edit")}),o.jsx(p.Button,{type:"button",variant:"subtle",color:"red",fullWidth:!0,justify:"flex-start",bg:"light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",onClick:h,leftSection:o.jsx(s.HugeiconsIcon,{icon:s.lg,size:16,color:"var(--mantine-color-red-6)"}),children:x("editor.actions.delete")})]})})]})}let W=null;const Z=n.lazy(async()=>{var i;const l=await Promise.resolve().then(()=>require("./layers.Coa78bpu.js")).then(b=>b.index);return!W&&l&&(W=l.exportToSvg||((i=l.default)==null?void 0:i.exportToSvg)||l.default),{default:l.Excalidraw}}),ee=()=>{const[l,i]=n.useState(null),b=n.useCallback(v=>i(v),[]);return[l,b]};function te({onSave:l,initialElements:i,initialAppState:b,initialFiles:v,isShown:g=!1,onDelete:u,onClose:q,isEdited:w}){const[r,O]=ee(),{i18n:f,t:j}=H.useTranslation(),{colorScheme:S}=p.useMantineColorScheme(),A=n.useRef(!1),[k,N]=n.useState(i),[T,D]=n.useState(v),[x,_]=n.useState(g);n.useEffect(()=>{g&&_(!0)},[g]),n.useEffect(()=>{!g||A.current||(A.current=!0,Promise.resolve().then(()=>require("./layers.Dyvby5gX.js")))},[g]),n.useEffect(()=>{g&&setTimeout(()=>{var e,E;(e=r==null?void 0:r.refresh)==null||e.call(r),(E=r==null?void 0:r.scrollToContent)==null||E.call(r)},500)},[g,r]),n.useEffect(()=>{if(!g)return;const e=(t,d)=>{const m=j(t);return m.startsWith("editor.menu")?d:m},E=e("editor.menu.excalidraw.tools.frameTool",f.language==="ru"?"Инструмент рамки":f.language==="es"?"Herramienta de marco":"Frame tool"),a=e("editor.menu.excalidraw.tools.webEmbed",f.language==="ru"?"Веб-встраивание":f.language==="es"?"Incrustación web":"Web Embed"),M=e("editor.menu.excalidraw.tools.generate",f.language==="ru"?"Генерировать":f.language==="es"?"Generar":"Generate"),L={"Frame tool":E,"Web Embed":a,"Web embeded":a,Generate:M},B=()=>{const t=document.querySelector(".App-toolbar__extra-tools-dropdown");if(!t)return;const d=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null);let m;for(;m=d.nextNode();)if(m.nodeType===Node.TEXT_NODE&&m.textContent){const $=m.textContent.trim();for(const[V,z]of Object.entries(L))if($===V&&z&&!$.includes(z)){m.textContent=m.textContent.replace(V,z);break}}},c=()=>{setTimeout(()=>{B()},0)},C=setTimeout(()=>{const t=document.querySelector(".excalidraw-container");if(t){const d=t.querySelector(".App-toolbar__extra-tools-trigger");d&&d.addEventListener("click",c)}},300);return()=>{clearTimeout(C);const t=document.querySelector(".excalidraw-container");if(t){const d=t.querySelector(".App-toolbar__extra-tools-trigger");d&&d.removeEventListener("click",c)}}},[g,f.language,j]);const R=n.useCallback(async()=>{var B,c,C;let e=W;if(!e||typeof e!="function"){const t=await Promise.resolve().then(()=>require("./layers.Coa78bpu.js")).then(d=>d.index);e=t.exportToSvg||((B=t.default)==null?void 0:B.exportToSvg)||t.default,e&&typeof e=="function"&&(W=e)}if(!e||typeof e!="function"){const t=await Promise.resolve().then(()=>require("./layers.Coa78bpu.js")).then(m=>m.index),d=t?Object.keys(t):[];throw console.error("Excalidraw module structure:",{keys:d,hasExportToSvg:t&&"exportToSvg"in t,hasDefault:t&&"default"in t,moduleType:typeof t,module:t}),new Error(`exportToSvg is not available from @excalidraw/excalidraw. Module keys: ${d.join(", ")}. Please ensure @excalidraw/excalidraw is properly installed.`)}const E=((c=r==null?void 0:r.getAppState)==null?void 0:c.call(r))??b,a=await e({appState:E,elements:k,files:T}),M=(C=a==null?void 0:a.firstElementChild)==null?void 0:C.firstElementChild,L=a.getAttribute("viewBox");if(L!=null){const t=L.split(" ");a.setAttribute("width",t[2]),a.setAttribute("height",t[3])}return M&&M.tagName==="style"&&M.remove(),a.setAttribute("width","100%"),a.setAttribute("height","100%"),a.setAttribute("display","block"),a.classList.add("excalidraw-svg"),a.outerHTML},[k,T,r,b]),I=()=>{if(k&&k.filter(e=>!e.isDeleted).length>0){const e=r==null?void 0:r.getAppState(),E={exportBackground:e==null?void 0:e.exportBackground,exportScale:e==null?void 0:e.exportScale,exportWithDarkMode:(e==null?void 0:e.theme)==="dark",isBindingEnabled:e==null?void 0:e.isBindingEnabled,isLoading:e==null?void 0:e.isLoading,name:e==null?void 0:e.name,theme:e==null?void 0:e.theme,viewBackgroundColor:e==null?void 0:e.viewBackgroundColor,viewModeEnabled:e==null?void 0:e.viewModeEnabled,zenModeEnabled:e==null?void 0:e.zenModeEnabled,zoom:e==null?void 0:e.zoom};(async()=>{const a=await R();l(k,E,T,a)})()}else u()},h=(e,E,a)=>{(e==null?void 0:e.length)!==(i==null?void 0:i.length)&&(w.current=!0),N(e),D(a)};return o.jsx(K.BottomDrawerWithoutHeader,{opened:g,onClose:q,onSave:I,className:"excaildraw-modal",closeOnEscape:!1,children:x&&o.jsx(n.Suspense,{fallback:o.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",minHeight:"400px"},children:o.jsx(p.Loader,{size:"sm"})}),children:o.jsx(Z,{langCode:F.languageToLocaleMap[f.language],theme:S,onChange:h,excalidrawAPI:O,initialData:{appState:{...b||{isLoading:!1}},elements:i,files:v,scrollToContent:!0}})})})}function oe({nodeKey:l,data:i,width:b,height:v,alignment:g}){var B;const[u]=G.useLexicalComposerContext(),q=Y.useLexicalEditable(),w=n.useMemo(()=>F.parseExcalidrawData(i),[i]),r=((B=w==null?void 0:w.elements)==null?void 0:B.length)===0&&!w.previewSVG,[O,f]=n.useState(r&&u.isEditable()),[j,S]=n.useState(!1),A=n.useRef(null),k=n.useRef(null),N=n.useRef(null),[T,D,x]=U.useLexicalNodeSelection(l),_=n.useCallback(c=>(T&&(c.preventDefault(),u.update(()=>{const C=y.$getNodeByKey(l);C&&C.remove()})),!1),[u,T,l]);n.useEffect(()=>{if(!q){T&&x();return}return X.mergeRegister(u.registerCommand(y.CLICK_COMMAND,c=>{const C=k.current,t=c.target;return C!==null&&C.contains(t)?(c.shiftKey||x(),D(!T),c.detail>1&&f(!0),!0):!1},y.COMMAND_PRIORITY_LOW),u.registerCommand(y.KEY_DELETE_COMMAND,_,y.COMMAND_PRIORITY_LOW),u.registerCommand(y.KEY_BACKSPACE_COMMAND,_,y.COMMAND_PRIORITY_LOW))},[x,u,T,_,D,q]);const R=n.useCallback(()=>(f(!1),u.update(()=>{const c=y.$getNodeByKey(l);c&&c.remove()})),[u,l]),I=(c,C,t,d)=>u.update(()=>{const m=y.$getNodeByKey(l);s.$isExcalidrawNode(m)&&(c&&c.length>0||Object.keys(t).length>0?m.setData(JSON.stringify({appState:C,elements:c,files:t,previewSVG:d})):m.remove())}),{elements:h=[],files:e={},appState:E={},previewSVG:a}=w,M=n.useCallback(()=>{f(!1),S(!1),N.current=!1,(h==null?void 0:h.length)===0&&u.update(()=>{const c=y.$getNodeByKey(l);c&&c.remove()})},[u,l,h==null?void 0:h.length]),L=n.useCallback(()=>{N.current?S(!0):M()},[M]);return o.jsxs(o.Fragment,{children:[o.jsx(P,{isCloseModal:j,confirmClose:M,setCloseModalOpen:S}),o.jsx(te,{initialElements:h,isEdited:N,initialFiles:e,initialAppState:E,isShown:O,onDelete:R,onClose:L,onSave:(c,C,t,d)=>{I(c,C,t,d),f(!1)},closeOnClickOutside:!1}),(h==null?void 0:h.length)&&o.jsx("div",{style:{display:"flex",justifyContent:g},children:o.jsx(Q,{imageContainerRef:A,className:"image",width:b,height:v,editor:u,nodeKey:l,alignment:g,setModalOpen:f,previewSVG:a,isModalOpen:O})})]})}exports.default=oe;
|
package/dist/layers.CDIceqhL.js
DELETED
package/dist/layers.CEd0an3c.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@lexical/react/LexicalComposerContext"),a=require("./layers.HgBAwZ89.js"),e=require("./layers.CmmYt3Ou.js");function o(){const[r]=i.useLexicalComposerContext();return a.useExcalidrawBehaviour(r),null}exports.$createExcalidrawNode=a.$createExcalidrawNode;exports.$isExcalidrawNode=a.$isExcalidrawNode;exports.ExcalidrawNode=a.ExcalidrawNode;exports.INSERT_EXCALIDRAW_COMMAND=a.INSERT_EXCALIDRAW_COMMAND;exports.languageToLocaleMap=e.languageToLocaleMap;exports.parseExcalidrawData=e.parseExcalidrawData;exports.ExcalidrawPlugin=o;
|
package/dist/layers.CFCOrqea.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./layers.zeQg5XyS.js"),s=(e,r)=>n.Utils.lang.round(n.Color.parse(e)[r]);exports.channel=s;
|