@layers-app/editor 0.7.91 → 0.7.92
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/README.md +831 -831
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +65 -5
- package/dist/index.js +14 -12
- package/dist/{layers.BxJNNCy-.js → layers.-cNYa8FH.js} +1 -1
- package/dist/layers.-go0yqrB.js +346 -0
- package/dist/{layers.CzZEhYA6.js → layers.-mDZECmb.js} +1 -1
- package/dist/{layers.L1TtWkmC.js → layers.2HPpqSIH.js} +1 -1
- package/dist/{layers.DmU5Anc4.js → layers.8fnCtugI.js} +1 -1
- package/dist/{layers.CGShHrLT.js → layers.8jZXu6Rm.js} +1 -1
- package/dist/{layers.CBdEFdre.js → layers.9mcMwZEW.js} +4 -4
- package/dist/{layers.Bmn-T0aX.js → layers.9mdVpQdh.js} +1 -1
- package/dist/{layers.C31JBznY.js → layers.B1ARxIqB.js} +1 -1
- package/dist/{layers.CY8jpw3v.js → layers.B1oYEFZP.js} +1 -1
- package/dist/{layers.DvGS-SSz.js → layers.B3UEoC3V.js} +1 -1
- package/dist/{layers.BNymP4r3.js → layers.B3mTVCFZ.js} +1 -1
- package/dist/{layers.Dzk6fJM5.js → layers.B5DNqRLR.js} +1 -1
- package/dist/{layers.DQTLb9d2.js → layers.B67YEwi2.js} +1 -1
- package/dist/{layers.DNhCU6s5.js → layers.B6iDa8RT.js} +1 -1
- package/dist/{layers.9m-q7HMz.js → layers.B8MrCT1B.js} +1 -1
- package/dist/{layers.yxXv8-qx.js → layers.B8Y8jR5X.js} +1 -1
- package/dist/{layers.DfTfRyZ2.js → layers.B9Jm8gWZ.js} +8 -8
- package/dist/{layers.DvIGamVW.js → layers.BA-Hn-8i.js} +1 -1
- package/dist/{layers.D6LPAQ3H.js → layers.BAJ2-bXH.js} +1 -1
- package/dist/{layers.CSBT0zCi.js → layers.BBvJZ2gd.js} +2 -2
- package/dist/{layers.a9shJm0-.js → layers.BFBYRXUj.js} +1 -1
- package/dist/layers.BFiBXBMU.js +1 -0
- package/dist/{layers.Cx9vuthZ.js → layers.BHIb7oOU.js} +1 -1
- package/dist/{layers.jj3JxHzF.js → layers.BJ9hFtJT.js} +1 -1
- package/dist/{layers.CnipcMUo.js → layers.BNQ1MOkD.js} +1 -1
- package/dist/{layers.BBPVs8ke.js → layers.BNi48siA.js} +1 -1
- package/dist/{layers.C_BuSOXV.js → layers.BOh-DK5k.js} +1 -1
- package/dist/{layers.xYDGOBJ7.js → layers.BQ-H3YLY.js} +4 -4
- package/dist/{layers.DVxOlwho.js → layers.BR01ua_4.js} +1 -1
- package/dist/{layers.cbsF3ABe.js → layers.BUGORd_C.js} +4 -4
- package/dist/{layers.CbOy6iuh.js → layers.BV5O3Yjr.js} +1 -1
- package/dist/{layers.DpPj0eFu.js → layers.BX4qFBHZ.js} +2 -2
- package/dist/layers.BYU-0xYT.js +6 -0
- package/dist/{layers.Dq14e8um.js → layers.BYtl3t4o.js} +1 -1
- package/dist/{layers.DjtdjeMN.js → layers.Ba0lsCQC.js} +1 -1
- package/dist/{layers.C82DUOIJ.js → layers.BcpQT2YY.js} +1 -1
- package/dist/{layers.C1-KIcV0.js → layers.BcsRLUTx.js} +1 -1
- package/dist/{layers.DXhEw3Uf.js → layers.BeWDYex5.js} +1 -1
- package/dist/{layers.BRXB2ojy.js → layers.BexTNd-c.js} +1 -1
- package/dist/{layers.BQ9IFWJb.js → layers.BfpJiswu.js} +65 -65
- package/dist/{layers.BhkVL0ec.js → layers.BgVF9Tny.js} +1 -1
- package/dist/{layers.EsSJyH4p.js → layers.BhE4ByBZ.js} +1 -1
- package/dist/{layers.B99-M2Pq.js → layers.BhIZgvhm.js} +1 -1
- package/dist/{layers.QFXdXzNC.js → layers.BhjR9hmy.js} +1 -1
- package/dist/{layers.ptSKSnsM.js → layers.BjSFrA4f.js} +2 -2
- package/dist/{layers.DZffch6Z.js → layers.BltC4xgl.js} +1 -1
- package/dist/{layers.CF0Pm8JW.js → layers.Bmk77Nl5.js} +1 -1
- package/dist/{layers.DwW9jbSa.js → layers.Bn8tW8p5.js} +1 -1
- package/dist/{layers.iq2p8hfe.js → layers.BoPR0wQt.js} +3 -3
- package/dist/{layers.VNpx-j2F.js → layers.BoX_Wqae.js} +1 -1
- package/dist/{layers.DKl4VJpC.js → layers.BqCSz12w.js} +1 -1
- package/dist/{layers.A_9hYuUz.js → layers.Bqqt2WZE.js} +1 -1
- package/dist/{layers.D9t5OjhB.js → layers.BrsKNoq-.js} +1 -1
- package/dist/{layers.DKEvxn4N.js → layers.BvhzLRzG.js} +1 -1
- package/dist/{layers.BsqLCh4g.js → layers.Bvv96FkK.js} +7 -7
- package/dist/layers.Bvxpmu-2.js +1 -0
- package/dist/{layers.B4bx8nL1.js → layers.BvzEdEXm.js} +1 -1
- package/dist/{layers.DE6n2lbB.js → layers.Bx8how39.js} +1 -1
- package/dist/{layers.GHHvJWs7.js → layers.BxFztpj5.js} +1 -1
- package/dist/{layers.CvjBGGpq.js → layers.BxH_KvZM.js} +1 -1
- package/dist/{layers.D8oafJyy.js → layers.BxY27rS7.js} +1 -1
- package/dist/{layers.BuXkQfJs.js → layers.By_kFoy7.js} +1 -1
- package/dist/{layers.lyzv8Tdh.js → layers.BzC8fzb9.js} +1 -1
- package/dist/{layers.CDLqv7ym.js → layers.BzRIellV.js} +1 -1
- package/dist/{layers.CBNU_L8B.js → layers.BzZqZM22.js} +1 -1
- package/dist/layers.C-hhGDUy.js +8 -0
- package/dist/{layers.DnF_P606.js → layers.C3l4W4QY.js} +1 -1
- package/dist/{layers.CrxxaDR8.js → layers.C4ZTYVln.js} +3 -3
- package/dist/{layers.BPq549HI.js → layers.C5LXz2Dt.js} +1 -1
- package/dist/{layers.Bok_R4HJ.js → layers.C5Oq8KLD.js} +1 -1
- package/dist/{layers.K82Ix00Q.js → layers.C68ajHa1.js} +1 -1
- package/dist/{layers.BqGhYWCx.js → layers.C6i05MYQ.js} +1 -1
- package/dist/{layers.DelKapFT.js → layers.C9OSt3-B.js} +1 -1
- package/dist/{layers.Di_ebgPq.js → layers.CA75s71W.js} +1 -1
- package/dist/{layers.C-Lpwe6Y.js → layers.CARdVtYx.js} +1 -1
- package/dist/{layers.Bjl1_R6Z.js → layers.CAoP3DTW.js} +1 -1
- package/dist/{layers.BAvL9Vgi.js → layers.CCCrplmS.js} +1 -1
- package/dist/{layers.BF7lqemv.js → layers.CCeryKPD.js} +1 -1
- package/dist/{layers.Bq29Ll-w.js → layers.CCyI84zh.js} +1 -1
- package/dist/{layers.Cwv-pH3r.js → layers.CD8wS95C.js} +1 -1
- package/dist/{layers.Btx_w26T.js → layers.CE94zD9l.js} +1 -1
- package/dist/{layers.C0yjCiag.js → layers.CEResW_R.js} +1 -1
- package/dist/{layers.B51O0bab.js → layers.CEoeaJQD.js} +1 -1
- package/dist/{layers.D_cWd6Ci.js → layers.CFzM74P5.js} +1 -1
- package/dist/{layers.DmrZirR9.js → layers.CHC4RiFK.js} +1 -1
- package/dist/{layers.B7QYOT88.js → layers.CI16GYp5.js} +1 -1
- package/dist/layers.CIg6bGPB.js +1 -0
- package/dist/{layers.COnQtCRG.js → layers.CJ6TVAfM.js} +1 -1
- package/dist/{layers.DWTB01CF.js → layers.CJfAmCMO.js} +1 -1
- package/dist/{layers.C9Uu962e.js → layers.CKZ6gFse.js} +1 -1
- package/dist/{layers.BkOUTv0-.js → layers.CMnu34_U.js} +1 -1
- package/dist/{layers.BG_57mAh.js → layers.CNUeObBK.js} +1 -1
- package/dist/{layers.BXY3dau8.js → layers.CPaiSNny.js} +1 -1
- package/dist/{layers.BMyYO1L4.js → layers.CRW9Fwvq.js} +1 -1
- package/dist/{layers.B8ydiUV_.js → layers.CTpPpYwM.js} +1 -1
- package/dist/{layers.B2E3vOjo.js → layers.CTsI8G5d.js} +1 -1
- package/dist/layers.CVCmClj2.js +1 -0
- package/dist/{layers.BesXTWr4.js → layers.CVFxZSWW.js} +1 -1
- package/dist/{layers.asoCYFXt.js → layers.CVH7bHbB.js} +1 -1
- package/dist/{layers.DruYzHRH.js → layers.CcvQrhZG.js} +4 -4
- package/dist/{layers.C7bBkyxI.js → layers.CdTCz5Y3.js} +1 -1
- package/dist/{layers.CDWdO4TY.js → layers.CeayngSI.js} +1 -1
- package/dist/{layers.VASPkGuF.js → layers.Cfdr-h4O.js} +1 -1
- package/dist/{layers.0MCDA6GD.js → layers.CgkVp4lC.js} +1 -1
- package/dist/{layers.DU_eOKX_.js → layers.ChzgxWon.js} +1 -1
- package/dist/{layers.BbTVs0hb.js → layers.Cj01jo54.js} +1 -1
- package/dist/{layers.BhKW4lnv.js → layers.ClQJRYXj.js} +1 -1
- package/dist/layers.CmmYt3Ou.js +1 -0
- package/dist/{layers.CCbAhdPE.js → layers.CmyRYGoE.js} +3 -3
- package/dist/{layers.CS6GZ0E2.js → layers.CpZ9aPMO.js} +3 -3
- package/dist/{layers.xoXACb1H.js → layers.Cpw6B803.js} +1 -1
- package/dist/{layers.te3QRbJL.js → layers.CqyzxURh.js} +1 -1
- package/dist/{layers.CfKCx5re.js → layers.Cs7GlunF.js} +1 -1
- package/dist/{layers.B7VSWicC.js → layers.CsEfNhVM.js} +1 -1
- package/dist/{layers.Cp-q47r3.js → layers.CsMhgQ1t.js} +1 -1
- package/dist/{layers.DbHjUv0g.js → layers.CsWdKhEu.js} +1 -1
- package/dist/{layers.DL_w_37d.js → layers.CsvDJIZ7.js} +1 -1
- package/dist/{layers.BoqksHF8.js → layers.CuPX21JA.js} +1 -1
- package/dist/{layers.DGhDlf0S.js → layers.CwB1NQbd.js} +1 -1
- package/dist/{layers.C-5u25tX.js → layers.Cx-9Emh6.js} +1 -1
- package/dist/{layers.Ci-ifSxX.js → layers.D1bCzAYq.js} +1 -1
- package/dist/{layers.D4-FlYEh.js → layers.D1dsXFS0.js} +1 -1
- package/dist/{layers.1FQfuwxk.js → layers.D24Anxjv.js} +1 -1
- package/dist/layers.D3uB-jsE.js +1 -0
- package/dist/{layers.BpAsaaWJ.js → layers.D4MDjmxL.js} +1 -1
- package/dist/{layers.BZ1tehAT.js → layers.D5hpoy9h.js} +2 -2
- package/dist/{layers.B9i3jaXy.js → layers.D6oKUbDE.js} +1 -1
- package/dist/{layers.jtSThhXP.js → layers.D8An70uL.js} +1 -1
- package/dist/{layers.D5Bmkzi7.js → layers.D8yufb88.js} +1 -1
- package/dist/{layers.Dwx_G-uM.js → layers.D9FgdobB.js} +1 -1
- package/dist/{layers.B7EDfju3.js → layers.D9OpTLfE.js} +1 -1
- package/dist/{layers.BfLRCTr_.js → layers.D9VTCVI3.js} +1 -1
- package/dist/{layers.DIpIP-Vy.js → layers.DCMj-1Uf.js} +1 -1
- package/dist/{layers.Bi62ky0O.js → layers.DCv5ETXp.js} +1 -1
- package/dist/{layers.oIWwbEC6.js → layers.DEKzHuSi.js} +1 -1
- package/dist/layers.DF05j1M2.js +17 -0
- package/dist/{layers.CB0yKett.js → layers.DFYEVVfs.js} +1 -1
- package/dist/{layers.Ci06Jg5Q.js → layers.DFfOmmco.js} +1 -1
- package/dist/{layers.DpEgNhvJ.js → layers.DFjAixjy.js} +6 -6
- package/dist/{layers.BfatF7Hh.js → layers.DHa8WGDC.js} +1 -1
- package/dist/{layers.CyzIJ83u.js → layers.DN0u5Yg6.js} +1 -1
- package/dist/{layers.DJEz0fJY.js → layers.DOrY9DYv.js} +24 -24
- package/dist/{layers.Dk4MxNnO.js → layers.DPgn17B0.js} +1 -1
- package/dist/{layers.DrEFOohr.js → layers.DVpWFLjR.js} +1 -1
- package/dist/{layers.7M4dPalp.js → layers.DZT2dQyG.js} +1 -1
- package/dist/{layers.DIHJym5q.js → layers.D_H6PF0v.js} +1 -1
- package/dist/{layers.CqUy9knK.js → layers.D_YdTiFW.js} +1 -1
- package/dist/{layers.BJW0cUVW.js → layers.DbF4xVBE.js} +3 -3
- package/dist/{layers.DkBfU7g-.js → layers.Ddribg71.js} +1 -1
- package/dist/{layers.znb6JaWQ.js → layers.Dfq7GSQ2.js} +3 -3
- package/dist/{layers.DhS8fXO1.js → layers.DhHQZIJN.js} +1 -1
- package/dist/layers.DilA0qnM.js +54 -0
- package/dist/layers.DjVLYoWg.js +1 -0
- package/dist/{layers.CsZAMBb_.js → layers.DkaXOqLh.js} +1 -1
- package/dist/{layers.PnPB2nn8.js → layers.DnVwZ2Cw.js} +1 -1
- package/dist/{layers.CneI2StO.js → layers.Do_EHOq8.js} +1 -1
- package/dist/{layers.CIBowC3x.js → layers.DowbTgQm.js} +1 -1
- package/dist/{layers.Dh4wDGq5.js → layers.DpBgVacc.js} +1 -1
- package/dist/{layers.BvXPsusn.js → layers.DpQ_bWul.js} +1 -1
- package/dist/{layers.hF5ho8rn.js → layers.DqC47xCC.js} +3 -3
- package/dist/layers.Drh9XlcG.js +309 -0
- package/dist/{layers.BvtO_PCS.js → layers.Du1TNcZd.js} +1 -1
- package/dist/{layers.21eP602X.js → layers.DuAvgcNM.js} +1 -1
- package/dist/{layers.BiQGJYlX.js → layers.DuE9Eexi.js} +3 -3
- package/dist/{layers.BY2JPIgs.js → layers.DvHXCGpY.js} +1 -1
- package/dist/{layers.4lM2vICA.js → layers.DvSpirXT.js} +1 -1
- package/dist/{layers.CIZONehB.js → layers.Dvto57We.js} +1 -1
- package/dist/layers.DxydmUP3.js +533 -0
- package/dist/{layers.BJdjhfwW.js → layers.DyTr0iC-.js} +3 -3
- package/dist/{layers.B3-3ASbV.js → layers.EDqAD98V.js} +1 -1
- package/dist/{layers.DZVHqfks.js → layers.Fdk6MvMH.js} +1 -1
- package/dist/{layers.CeWOvOd5.js → layers.Kal-YH7y.js} +1 -1
- package/dist/{layers.Dga6kbUR.js → layers.L5G2E32S.js} +5 -5
- package/dist/{layers.D0lUHuZS.js → layers.PxPuzt12.js} +1 -1
- package/dist/{layers.4nL2QJu6.js → layers.QABnXFIR.js} +1 -1
- package/dist/{layers.rQCzuZCk.js → layers.QXq1glLQ.js} +3 -3
- package/dist/{layers.sKwo4Pse.js → layers.Rd4Aez_o.js} +1 -1
- package/dist/layers.UCGv1oR7.js +46553 -0
- package/dist/{layers.FYZb1Qxa.js → layers.UNs4NPL2.js} +1 -1
- package/dist/{layers.DSu3h3GW.js → layers.VteHR-nD.js} +2 -2
- package/dist/{layers.C7KfPjce.js → layers.WS0tOiF9.js} +1 -1
- package/dist/layers.Wc4s15q8.js +500 -0
- package/dist/{layers.Drht2cx0.js → layers.YmVu7Jyc.js} +1 -1
- package/dist/{layers.BH8Of-0h.js → layers.c1g3UUys.js} +4 -4
- package/dist/{layers.CmPS8wik.js → layers.cHiyhRv0.js} +1 -1
- package/dist/{layers.BNuDloNS.js → layers.e4WMAP8p.js} +4 -4
- package/dist/{layers.NUGtVi9X.js → layers.gkJkfBXX.js} +1 -1
- package/dist/{layers.B9zBXz3c.js → layers.iUn6qHX-.js} +1 -1
- package/dist/{layers.CoWmapX6.js → layers.jJYSd22J.js} +1 -1
- package/dist/{layers.CT9Hxk6p.js → layers.jNpPtSYq.js} +1 -1
- package/dist/{layers.CviNHuzh.js → layers.nh-jugfR.js} +1 -1
- package/dist/{layers.BcRyWi7P.js → layers.noEAcBug.js} +1 -1
- package/dist/{layers.BWCOE2r1.js → layers.o8IUzzuA.js} +4 -4
- package/dist/{layers.DH4ld0eM.js → layers.poSPbB9X.js} +4 -4
- package/dist/{layers.4c98ipgw.js → layers.qH1Kvygt.js} +3 -3
- package/dist/{layers.DWKg8Tij.js → layers.qfL_NxUA.js} +1 -1
- package/dist/{layers.BmcaRPr9.js → layers.sxqdU83h.js} +1 -1
- package/dist/{layers.BRy_5-TU.js → layers.t-FrNIBD.js} +1 -1
- package/dist/{layers.dCqlJwEm.js → layers.uLbLjX8b.js} +1 -1
- package/dist/{layers.BYen0VP_.js → layers.wZ8wbCG9.js} +1 -1
- package/dist/{layers.CMBnoQyb.js → layers.xI63-j2d.js} +1 -1
- package/dist/{layers.Ca70aMup.js → layers.yAPrlce6.js} +1 -1
- package/dist/{layers.BwN7ktiY.js → layers.zbHQRaAA.js} +5 -5
- package/package.json +192 -166
- package/dist/layers.3wlp4P9d.js +0 -215
- package/dist/layers.B7J5CFj0.js +0 -1
- package/dist/layers.BOHsW04t.js +0 -304
- package/dist/layers.Bb4irhn2.js +0 -1
- package/dist/layers.BdLFy1LQ.js +0 -32095
- package/dist/layers.BwrHLbyv.js +0 -1
- package/dist/layers.C6_k8TfY.js +0 -1
- package/dist/layers.CnXsot8z.js +0 -1
- package/dist/layers.CuAZuCaF.js +0 -6
- package/dist/layers.D8ExizU5.js +0 -1
- package/dist/layers.DNXYPucT.js +0 -8
- package/dist/layers.DR5BxOug.js +0 -295
- package/dist/layers.DXn4_Q99.js +0 -276
- package/dist/layers.DZEfCyxo.js +0 -76
- package/dist/layers.DlSzD9N_.js +0 -271
- package/dist/layers.EQZJkcCG.js +0 -1
- package/dist/layers.gHJCNsHM.js +0 -300
- package/dist/layers.jrsVz6PC.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.B9Jm8gWZ.js";
|
|
2
2
|
var e = { paste: "Qoyıw", pasteAsPlaintext: "Ápiwayı tekst retinde qoyıw", pasteCharts: "Diagrammalardı qoyıw", selectAll: "Barlıǵın tańlaw", multiSelect: "", moveCanvas: "", cut: "Qıyıw", copy: "Kóshirip alıw", copyAsPng: "Almasıw buferine PNG retinde kóshirip alıw", copyAsSvg: "Almasıw buferine SVG retinde kóshirip alıw", copyText: "Almasıw buferine tekst retinde kóshirip alıw", copySource: "", convertToCode: "", bringForward: "", sendToBack: "", bringToFront: "", sendBackward: "", delete: "Óshiriw", copyStyles: "", pasteStyles: "", stroke: "Jiyek", background: "Fon", fill: "", strokeWidth: "", strokeStyle: "", strokeStyle_solid: "", strokeStyle_dashed: "", strokeStyle_dotted: "", sloppiness: "", opacity: "", textAlign: "", edges: "Qırlar", sharp: "", round: "", arrowheads: "", arrowhead_none: "Joq", arrowhead_arrow: "Jebe", arrowhead_bar: "", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Shrift ólshemi", fontFamily: "Shrift toplamı", addWatermark: "", handDrawn: "", normal: "", code: "Kod", small: "", medium: "Ortasha", large: "Úlken", veryLarge: "Júdá úlken", solid: "", hachure: "", zigzag: "Zigzag", crossHatch: "", thin: "Jińishke", bold: "Qalıń", left: "", center: "", right: "", extraBold: "", architect: "", artist: "Súwretshi", cartoonist: "", fileTitle: "Fayl ataması", colorPicker: "Reńdi tańlaw", canvasColors: "", canvasBackground: "", drawingCanvas: "", layers: "Qatlamlar", actions: "Háreketler", language: "Til", liveCollaboration: "", duplicateSelection: "Nusqa", untitled: "Atamasız", name: "Ataması", yourName: "Atıńız", madeWithExcalidraw: "Excalidraw járdeminde islengen", group: "", ungroup: "", collaborators: "Qatnasıwshılar", showGrid: "", addToLibrary: "Kitapxanaǵa qosıw", removeFromLibrary: "Kitapxanadan alıp taslaw", libraryLoadingMessage: "Kitapxana júklenbekte…", libraries: "Kitapxanalardı kóriw", loadingScene: "Saxna júklenbekte…", align: "", alignTop: "", alignBottom: "", alignLeft: "", alignRight: "", centerVertically: "", centerHorizontally: "", distributeHorizontally: "", distributeVertically: "", flipHorizontal: "", flipVertical: "", viewMode: "Kóriw rejimi", share: "Bólisiw", showStroke: "", showBackground: "", toggleTheme: "Temanı ózgertiw", personalLib: "Jeke kitapxana", excalidrawLib: "Excalidraw kitapxanası", decreaseFontSize: "Shrift ólshemin kishireytiw", increaseFontSize: "Shrift ólshemin úlkeytiw", unbindText: "", bindText: "", createContainerFromText: "", link: { edit: "Siltemeni ózgertiw", editEmbed: "", create: "Siltemeni jaratıw", createEmbed: "", label: "Silteme", labelEmbed: "", empty: "" }, lineEditor: { edit: "Qatardı ózgertiw", exit: "Qatardı ózgertiw redaktorınan shıǵıw" }, elementLock: { lock: "Qulıplaw", unlock: "Qulıptan shıǵarıw", lockAll: "Barlıǵın qulıplaw", unlockAll: "Barlıǵın qulıptan shıǵarıw" }, statusPublished: "", sidebarLock: "", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, a = { noItems: "", hint_emptyLibrary: "", hint_emptyPrivateLibrary: "" }, r = { clearReset: "", exportJSON: "", exportImage: "Súwretti eksportlaw...", export: "Retinde saqlaw...", copyToClipboard: "Almasıw buferine kóshirip alındı", save: "Ámeldegi faylǵa saqlaw", saveAs: "Retinde saqlaw", load: "Ashıw", getShareableLink: "", close: "Jabıw", selectLanguage: "Tildi tańlaw", scrollBackToContent: "", zoomIn: "", zoomOut: "", resetZoom: "", menu: "Menyu", done: "Tayın", edit: "Ózgertiw", undo: "", redo: "", resetLibrary: "", createNewRoom: "", fullScreen: "Tolıq ekran", darkMode: "Qarańǵı tema", lightMode: "Jaqtı tema", zenMode: "", objectsSnapMode: "", exitZenMode: "", cancel: "Biykarlaw", clear: "Tazalaw", remove: "Óshiriw", embed: "", publishLibrary: "Jariyalaw", submit: "Jiberiw", confirm: "Tastıyıqlaw", embeddableInteractionButton: "" }, t = { clearReset: "", couldNotCreateShareableLink: "", couldNotCreateShareableLinkTooBig: "", couldNotLoadInvalidFile: "", importBackendFailed: "", cannotExportEmptyCanvas: "", couldNotCopyToClipboard: "Almasıw buferine kóshirip alıw ámelge aspadı.", decryptFailed: "", uploadedSecurly: "", loadSceneOverridePrompt: "", collabStopOverridePrompt: "", errorAddingToLibrary: "", errorRemovingFromLibrary: "", confirmAddLibrary: "", imageDoesNotContainScene: "", cannotRestoreFromImage: "", invalidSceneUrl: "", resetLibrary: "", removeItemsFromsLibrary: "", invalidEncryptionKey: "", collabOfflineWarning: "" }, i = { unsupportedFileType: "", imageInsertError: "", fileTooBig: "", svgImageInsertError: "", failedToFetchImage: "", invalidSVGString: "Jaramsız SVG.", cannotResolveCollabServer: "", importLibraryError: "Kitapxananı júklew ámelge aspadı", collabSaveFailed: "", collabSaveFailed_sizeExceeded: "", imageToolNotSupported: "", brave_measure_text_error: { line1: "", line2: "", line3: "", line4: "" }, libraryElementTypeError: { embeddable: "", iframe: "", image: "" }, asyncPasteFailedOnRead: "", asyncPasteFailedOnParse: "", copyToSystemClipboardFailed: "" }, l = { selection: "", image: "Súwret qoyıw", rectangle: "Tórt múyeshlik", diamond: "", ellipse: "", arrow: "", line: "Sızıq", freedraw: "Sızıw", text: "Tekst", library: "Kitapxana", lock: "", penMode: "", link: "", eraser: "Óshirgish", frame: "", magicframe: "", embeddable: "", laser: "", hand: "", extraTools: "", mermaidToExcalidraw: "", magicSettings: "" }, o = { canvasActions: "", selectedShapeActions: "", shapes: "Figuralar" }, n = { canvasPanning: "", linearElement: "", freeDraw: "", text: "", embeddable: "", text_selected: "", text_editing: "", linearElementMulti: "", lockAngle: "", resize: "", resizeImage: "", rotate: "", lineEditor_info: "", lineEditor_pointSelected: "", lineEditor_nothingSelected: "", placeImage: "", publishLibrary: "", bindTextToElement: "Tekst qosıw ushın Enter túymesin basıń", deepBoxSelect: "", eraserRevert: "", firefox_clipboard_write: "", disableSnapping: "" }, s = { cannotShowPreview: "Aldınnan kóriwdi kórsetiw múmkin emes", canvasTooBig: "", canvasTooBigTip: "" }, u = { headingMain: "", clearCanvasMessage: "", clearCanvasCaveat: "", trackedToSentry: "", openIssueMessage: "", sceneContent: "" }, d = { desc_intro: "", desc_privacy: "", button_startSession: "", button_stopSession: "", desc_inProgressIntro: "", desc_shareLink: "", desc_exitSession: "", shareTitle: "" }, c = { title: "Qátelik" }, m = { disk_title: "Diskke saqlaw", disk_details: "", disk_button: "Faylǵa saqlaw", link_title: "", link_details: "", link_button: "Siltemege eksportlaw", excalidrawplus_description: "", excalidrawplus_button: "Eksportlaw", excalidrawplus_exportError: "" }, p = { blog: "Biziń blogtı oqıń", click: "basıw", deepSelect: "", deepBoxSelect: "", curvedArrow: "", curvedLine: "", documentation: "Hújjetshilik", doubleClick: "", drag: "", editor: "Redaktor", editLineArrowPoints: "", editText: "", github: "", howto: "", or: "yamasa", preventBinding: "", tools: "Ásbaplar", shortcuts: "", textFinish: "", textNewLine: "", title: "Járdem", view: "Kóriw", zoomToFit: "", zoomToSelection: "", toggleElementLock: "", movePageUpDown: "", movePageLeftRight: "" }, w = { title: "" }, b = { title: "", itemName: "", authorName: "Avtor atı", githubUsername: "GitHub paydalanıwshı atı", twitterUsername: "Twitter paydalanıwshı atı", libraryName: "Kitapxana ataması", libraryDesc: "", website: "Veb-sayt", placeholder: { authorName: "Atıńız yamasa paydalanıwshı atı", libraryName: "Kitapxanańız ataması", libraryDesc: "", githubHandle: "", twitterHandle: "", website: "Jeke veb-saytıńız yamasa basqa saytqa silteme (májbúriy emes)" }, errors: { required: "Májbúriy", website: "Jaramlı URL mánzil kirgiziń" }, noteDescription: "", noteGuidelines: "", noteLicense: "", noteItems: "", atleastOneLibItem: "", republishWarning: "" }, g = { title: "Kitapxana jiberildi", content: "" }, x = { resetLibrary: "Kitapxananı qayta ornatıw", removeItemsFromLib: "" }, h = { header: "Súwretti eksportlaw", label: { withBackground: "Fon", onlySelected: "", darkMode: "Qarańǵı tema", embedScene: "", scale: "Kólem", padding: "" }, tooltip: { embedScene: "" }, title: { exportToPng: "", exportToSvg: "", copyPngToClipboard: "" }, button: { exportToPng: "PNG", exportToSvg: "SVG", copyPngToClipboard: "Almasıw buferine kóshirip alıw" } }, y = { tooltip: "", link: "" }, k = { angle: "", element: "Element", elements: "Elementler", height: "", scene: "Saxna", selected: "Tańlandı", storage: "", title: "", total: "", version: "Versiya", versionCopy: "Kóshirip alıw ushın basıń", versionNotAvailable: "", width: "Eni" }, F = { addedToLibrary: "Kitapxanaǵa qosıldı", copyStyles: "", copyToClipboard: "Almasıw buferine kóshirip alındı.", copyToClipboardAsPng: "", fileSaved: "Fayl saqlandı.", fileSavedToFilename: "{filename} saqlandı", canvas: "", selection: "", pasteAsSingleElement: "", unableToEmbed: "", unrecognizedLinkFormat: "" }, S = { transparent: "", black: "Qara", white: "Aq", red: "Qızıl", pink: "Qızǵılt", grape: "", violet: "Qızǵılt kók", gray: "", blue: "Kók", cyan: "Kók aspan", teal: "Piruza", green: "Jasıl", yellow: "Sarı", orange: "Qızǵılt sarı", bronze: "" }, v = { app: { center_heading: "", center_heading_plus: "Excalidraw+ ge ótiwdi qáleysiz be?", menuHint: "Eksportlaw, sazlawlar, tiller, ..." }, defaults: { menuHint: "Eksportlaw, sazlawlar hám basqa...", center_heading: "Diagrammalar. Ápiwayı.", toolbarHint: "", helpHint: "" } }, T = { mostUsedCustomColors: "Kóp qollanılatuǵın arnawlı reńler", colors: "Reńler", shades: "", hexCode: "", noShades: "" }, A = { action: { exportToImage: { title: "Súwret retinde eksportlaw", button: "Súwret retinde eksportlaw", description: "" }, saveToDisk: { title: "Diskke saqlaw", button: "Diskke saqlaw", description: "" }, excalidrawPlus: { title: "Excalidraw+", button: "", description: "" } }, modal: { loadFromFile: { title: "Fayldan júklew", button: "Fayldan júklew", description: "" }, shareableLink: { title: "Siltemeden júklew", button: "", description: "" } } }, E = { title: "", button: "", description: "", syntax: "", preview: "" }, f = { labels: e, library: a, buttons: r, alerts: t, errors: i, toolBar: l, headings: o, hints: n, canvasError: s, errorSplash: u, roomDialog: d, errorDialog: c, exportDialog: m, helpDialog: p, clearCanvasDialog: w, publishDialog: b, publishSuccessDialog: g, confirmDialog: x, imageExportDialog: h, encrypted: y, stats: k, toast: F, colors: S, welcomeScreen: v, colorPicker: T, overwriteConfirm: A, mermaid: E };
|
|
3
3
|
export {
|
|
4
4
|
t as alerts,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as mt, n as kt, s as _t, a as xt, c as vt, b as bt, g as rt, p as wt, d as Y, Y as St, q as Lt, j as Et } from "./layers.
|
|
2
|
-
import "./layers.
|
|
1
|
+
import { o as mt, n as kt, s as _t, a as xt, c as vt, b as bt, g as rt, p as wt, d as Y, Y as St, q as Lt, j as Et } from "./layers.DOrY9DYv.js";
|
|
2
|
+
import "./layers.B9Jm8gWZ.js";
|
|
3
3
|
import "lodash-es/memoize.js";
|
|
4
4
|
import "lodash-es/merge.js";
|
|
5
5
|
import "lodash-es/isEmpty.js";
|
|
@@ -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.Bvv96FkK.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;
|
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
import { jsxs as k, jsx as o, Fragment as re } from "react/jsx-runtime";
|
|
2
|
+
import { useState as w, useCallback as b, useMemo as le, useContext as J, useRef as se, useEffect as T } from "react";
|
|
3
|
+
import { useTranslation as F } from "react-i18next";
|
|
4
|
+
import { useLexicalComposerContext as H } from "@lexical/react/LexicalComposerContext";
|
|
5
|
+
import { Stack as de, Button as _, Box as ce, LoadingOverlay as ge } from "@mantine/core";
|
|
6
|
+
import { $getNodeByKey as C, COMMAND_PRIORITY_LOW as ue, $setSelection as me } from "lexical";
|
|
7
|
+
import { AttachmentsGalleryModal as he, showErrorNotification as fe } from "@layers-app/shared";
|
|
8
|
+
import { i as x, j as Q, k as K, P as pe, A as ve, l as we, m as Ie, n as be, M as ye, H as L, o as Ce, T as xe, p as Ne, C as ee, q as Te, r as Ae, s as R, t as De, v as Se, w as Oe, U as Pe, x as ke, g as Ee, R as Me, y as X, b as ze, z as We } from "./layers.UCGv1oR7.js";
|
|
9
|
+
import { useDisclosure as Y } from "@mantine/hooks";
|
|
10
|
+
const Ue = () => {
|
|
11
|
+
};
|
|
12
|
+
function _e({ nodeKey: e, src: n, id: i }) {
|
|
13
|
+
const { t: r } = F(), [g] = H(), [u, m] = w(!1), [s, h] = w(!1), f = b(() => {
|
|
14
|
+
g.update(() => {
|
|
15
|
+
const v = C(e);
|
|
16
|
+
x(v) && v.remove();
|
|
17
|
+
});
|
|
18
|
+
}, [g, e]), N = b(async () => {
|
|
19
|
+
if (n)
|
|
20
|
+
try {
|
|
21
|
+
await Q(n, K(n));
|
|
22
|
+
} catch {
|
|
23
|
+
}
|
|
24
|
+
}, [n]);
|
|
25
|
+
return /* @__PURE__ */ k(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: "media-actions visible",
|
|
29
|
+
style: {
|
|
30
|
+
position: "absolute",
|
|
31
|
+
top: 10,
|
|
32
|
+
right: 10,
|
|
33
|
+
zIndex: 10,
|
|
34
|
+
pointerEvents: "auto",
|
|
35
|
+
display: "flex",
|
|
36
|
+
gap: 4
|
|
37
|
+
},
|
|
38
|
+
onClick: (v) => v.stopPropagation(),
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ o(pe, { t: r, src: n, setShown: Ue, id: i }),
|
|
41
|
+
/* @__PURE__ */ o(
|
|
42
|
+
ve,
|
|
43
|
+
{
|
|
44
|
+
opened: u,
|
|
45
|
+
setOpened: m,
|
|
46
|
+
t: r,
|
|
47
|
+
editor: g,
|
|
48
|
+
nodeKey: e
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
/* @__PURE__ */ o(
|
|
52
|
+
we,
|
|
53
|
+
{
|
|
54
|
+
opened: s,
|
|
55
|
+
onOpenChange: h,
|
|
56
|
+
t: r,
|
|
57
|
+
onDownload: () => void N(),
|
|
58
|
+
onDelete: f
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
function Le({ nodeKey: e, src: n, id: i }) {
|
|
66
|
+
const { t: r } = F(), [g] = H(), [u, { open: m, close: s }] = Y(!1), [h, { open: f, close: N }] = Y(!1), v = le(
|
|
67
|
+
() => [
|
|
68
|
+
{
|
|
69
|
+
id: !i || i === "0" ? "" : i,
|
|
70
|
+
Url: n ?? "",
|
|
71
|
+
contentType: "",
|
|
72
|
+
originalFileName: "",
|
|
73
|
+
fileSize: 0,
|
|
74
|
+
storageType: "",
|
|
75
|
+
storagePath: "",
|
|
76
|
+
fileName: "",
|
|
77
|
+
parentType: "",
|
|
78
|
+
parentId: "",
|
|
79
|
+
ownerId: "",
|
|
80
|
+
createdAt: /* @__PURE__ */ new Date(),
|
|
81
|
+
updatedAt: /* @__PURE__ */ new Date(),
|
|
82
|
+
version: 0,
|
|
83
|
+
deleted: !1,
|
|
84
|
+
deletedAt: /* @__PURE__ */ new Date()
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
[n, i]
|
|
88
|
+
), A = () => {
|
|
89
|
+
s(), f();
|
|
90
|
+
}, D = b(async () => {
|
|
91
|
+
if (s(), !!n)
|
|
92
|
+
try {
|
|
93
|
+
await Q(n, K(n));
|
|
94
|
+
} catch {
|
|
95
|
+
}
|
|
96
|
+
}, [n, s]), I = b(() => {
|
|
97
|
+
s(), g.update(() => {
|
|
98
|
+
const a = C(e);
|
|
99
|
+
x(a) && a.remove();
|
|
100
|
+
});
|
|
101
|
+
}, [g, e, s]);
|
|
102
|
+
return /* @__PURE__ */ k(re, { children: [
|
|
103
|
+
/* @__PURE__ */ o(
|
|
104
|
+
"div",
|
|
105
|
+
{
|
|
106
|
+
className: "image-touch-actions",
|
|
107
|
+
style: {
|
|
108
|
+
position: "absolute",
|
|
109
|
+
top: 8,
|
|
110
|
+
right: 8,
|
|
111
|
+
zIndex: 10,
|
|
112
|
+
pointerEvents: "auto"
|
|
113
|
+
},
|
|
114
|
+
onClick: (a) => a.stopPropagation(),
|
|
115
|
+
children: /* @__PURE__ */ o(
|
|
116
|
+
Ie,
|
|
117
|
+
{
|
|
118
|
+
label: r("editor.toolbar.more"),
|
|
119
|
+
icon: be,
|
|
120
|
+
iconColor: "var(--mantine-color-gray-text)",
|
|
121
|
+
"aria-label": r("editor.toolbar.more"),
|
|
122
|
+
onClick: m
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
}
|
|
126
|
+
),
|
|
127
|
+
/* @__PURE__ */ o(
|
|
128
|
+
he,
|
|
129
|
+
{
|
|
130
|
+
opened: h,
|
|
131
|
+
onOpenChange: (a) => a ? f() : N(),
|
|
132
|
+
attachments: v
|
|
133
|
+
}
|
|
134
|
+
),
|
|
135
|
+
/* @__PURE__ */ o(
|
|
136
|
+
ye,
|
|
137
|
+
{
|
|
138
|
+
opened: u,
|
|
139
|
+
onClose: s,
|
|
140
|
+
title: r("editor.image.mobileActions"),
|
|
141
|
+
children: /* @__PURE__ */ k(de, { gap: 4, p: 0, children: [
|
|
142
|
+
/* @__PURE__ */ o(
|
|
143
|
+
_,
|
|
144
|
+
{
|
|
145
|
+
type: "button",
|
|
146
|
+
variant: "subtle",
|
|
147
|
+
color: "gray",
|
|
148
|
+
fullWidth: !0,
|
|
149
|
+
justify: "flex-start",
|
|
150
|
+
bg: "light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",
|
|
151
|
+
onClick: A,
|
|
152
|
+
leftSection: /* @__PURE__ */ o(
|
|
153
|
+
L,
|
|
154
|
+
{
|
|
155
|
+
icon: Ce,
|
|
156
|
+
size: 16,
|
|
157
|
+
color: "var(--mantine-color-dimmed)"
|
|
158
|
+
}
|
|
159
|
+
),
|
|
160
|
+
children: r("editor.image.previewFullScreen")
|
|
161
|
+
}
|
|
162
|
+
),
|
|
163
|
+
/* @__PURE__ */ o(
|
|
164
|
+
_,
|
|
165
|
+
{
|
|
166
|
+
type: "button",
|
|
167
|
+
variant: "subtle",
|
|
168
|
+
color: "gray",
|
|
169
|
+
fullWidth: !0,
|
|
170
|
+
justify: "flex-start",
|
|
171
|
+
bg: "light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",
|
|
172
|
+
onClick: () => void D(),
|
|
173
|
+
leftSection: /* @__PURE__ */ o(
|
|
174
|
+
L,
|
|
175
|
+
{
|
|
176
|
+
icon: xe,
|
|
177
|
+
size: 16,
|
|
178
|
+
color: "var(--mantine-color-dimmed)"
|
|
179
|
+
}
|
|
180
|
+
),
|
|
181
|
+
children: r("editor.gallery.download")
|
|
182
|
+
}
|
|
183
|
+
),
|
|
184
|
+
/* @__PURE__ */ o(
|
|
185
|
+
_,
|
|
186
|
+
{
|
|
187
|
+
type: "button",
|
|
188
|
+
variant: "subtle",
|
|
189
|
+
color: "red",
|
|
190
|
+
fullWidth: !0,
|
|
191
|
+
justify: "flex-start",
|
|
192
|
+
bg: "light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",
|
|
193
|
+
onClick: I,
|
|
194
|
+
leftSection: /* @__PURE__ */ o(
|
|
195
|
+
L,
|
|
196
|
+
{
|
|
197
|
+
icon: Ne,
|
|
198
|
+
size: 16,
|
|
199
|
+
color: "var(--mantine-color-red-6)"
|
|
200
|
+
}
|
|
201
|
+
),
|
|
202
|
+
children: r("editor.actions.delete")
|
|
203
|
+
}
|
|
204
|
+
)
|
|
205
|
+
] })
|
|
206
|
+
}
|
|
207
|
+
)
|
|
208
|
+
] });
|
|
209
|
+
}
|
|
210
|
+
const Z = (e) => {
|
|
211
|
+
const {
|
|
212
|
+
width: n,
|
|
213
|
+
height: i,
|
|
214
|
+
isLoading: r,
|
|
215
|
+
isError: g,
|
|
216
|
+
src: u,
|
|
217
|
+
id: m,
|
|
218
|
+
altText: s,
|
|
219
|
+
imageRef: h,
|
|
220
|
+
maxWidth: f
|
|
221
|
+
} = e;
|
|
222
|
+
return /* @__PURE__ */ k(
|
|
223
|
+
"div",
|
|
224
|
+
{
|
|
225
|
+
className: "media-wrapper",
|
|
226
|
+
style: {
|
|
227
|
+
width: n,
|
|
228
|
+
height: i,
|
|
229
|
+
display: "inline-flex",
|
|
230
|
+
position: "relative"
|
|
231
|
+
},
|
|
232
|
+
children: [
|
|
233
|
+
/* @__PURE__ */ o(
|
|
234
|
+
ge,
|
|
235
|
+
{
|
|
236
|
+
visible: r,
|
|
237
|
+
zIndex: 1e3,
|
|
238
|
+
overlayProps: { backgroundOpacity: 0.5 },
|
|
239
|
+
loaderProps: { size: 24, color: "black" }
|
|
240
|
+
}
|
|
241
|
+
),
|
|
242
|
+
/* @__PURE__ */ o(
|
|
243
|
+
Re,
|
|
244
|
+
{
|
|
245
|
+
className: null,
|
|
246
|
+
src: u,
|
|
247
|
+
altText: s,
|
|
248
|
+
imageRef: h,
|
|
249
|
+
width: "inherit",
|
|
250
|
+
height: "inherit",
|
|
251
|
+
maxWidth: f || "auto",
|
|
252
|
+
id: m
|
|
253
|
+
}
|
|
254
|
+
),
|
|
255
|
+
ze && /* @__PURE__ */ o(Le, { nodeKey: e.nodeKey, src: u, id: m }),
|
|
256
|
+
We && /* @__PURE__ */ o(_e, { nodeKey: e.nodeKey, src: u, id: m })
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
);
|
|
260
|
+
};
|
|
261
|
+
function Re({
|
|
262
|
+
altText: e,
|
|
263
|
+
className: n,
|
|
264
|
+
imageRef: i,
|
|
265
|
+
src: r,
|
|
266
|
+
width: g,
|
|
267
|
+
height: u,
|
|
268
|
+
maxWidth: m,
|
|
269
|
+
id: s
|
|
270
|
+
}) {
|
|
271
|
+
const [h, f] = w(!1);
|
|
272
|
+
return /* @__PURE__ */ o(
|
|
273
|
+
"img",
|
|
274
|
+
{
|
|
275
|
+
className: `${n || void 0} ${h ? "" : "loading"}`,
|
|
276
|
+
src: r,
|
|
277
|
+
alt: e,
|
|
278
|
+
ref: i,
|
|
279
|
+
style: {
|
|
280
|
+
height: u,
|
|
281
|
+
maxWidth: m,
|
|
282
|
+
width: g
|
|
283
|
+
},
|
|
284
|
+
onLoad: () => {
|
|
285
|
+
r.includes("splash") ? setTimeout(() => {
|
|
286
|
+
f(!0);
|
|
287
|
+
}, 100) : f(!0);
|
|
288
|
+
},
|
|
289
|
+
draggable: "false",
|
|
290
|
+
"data-id": s
|
|
291
|
+
}
|
|
292
|
+
);
|
|
293
|
+
}
|
|
294
|
+
function Ke(e) {
|
|
295
|
+
const { disable: n } = J(ee);
|
|
296
|
+
return n && Te.isPlaceholderSrc(e.src) ? null : /* @__PURE__ */ o(Fe, { ...e });
|
|
297
|
+
}
|
|
298
|
+
function Fe({
|
|
299
|
+
src: e,
|
|
300
|
+
altText: n,
|
|
301
|
+
nodeKey: i,
|
|
302
|
+
width: r,
|
|
303
|
+
height: g,
|
|
304
|
+
maxWidth: u,
|
|
305
|
+
showCaption: m,
|
|
306
|
+
caption: s,
|
|
307
|
+
id: h,
|
|
308
|
+
create: f,
|
|
309
|
+
alignment: N,
|
|
310
|
+
imagePickerTab: v
|
|
311
|
+
}) {
|
|
312
|
+
var G, q;
|
|
313
|
+
const A = se(null), [D, I] = w(!0), [a] = H(), [y, E] = w(!0), [p, M] = w({
|
|
314
|
+
width: 0,
|
|
315
|
+
height: 0
|
|
316
|
+
}), { start: j } = Ae(), [He, z] = w(0), { fetchUploadMedia: S, fetchDeleteMedia: $, maxFileSize: je } = J(ee), O = R.has(e) && (((G = R.get(e)) == null ? void 0 : G.mediaNodeKeys.length) === 0 || ((q = R.get(e)) == null ? void 0 : q.mediaNodeKeys.length) === void 0 || e.trim() === ""), { t: P } = F(), [$e, te] = w(0);
|
|
317
|
+
T(() => a.registerDecoratorListener(() => {
|
|
318
|
+
te((t) => t + 1);
|
|
319
|
+
}), [O]), T(() => {
|
|
320
|
+
if (!e || e.startsWith("data:image/") || !e.trim()) {
|
|
321
|
+
I(!1);
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
const t = new Image();
|
|
325
|
+
t.src = e, t.onload = () => I(!1), t.onerror = () => {
|
|
326
|
+
I(!1);
|
|
327
|
+
};
|
|
328
|
+
}, [e, O]);
|
|
329
|
+
const oe = (t, d) => {
|
|
330
|
+
a.update(() => {
|
|
331
|
+
me(null);
|
|
332
|
+
const l = C(i);
|
|
333
|
+
x(l) && l.setWidthAndHeight(t, d);
|
|
334
|
+
});
|
|
335
|
+
}, { historyState: B } = De(), {
|
|
336
|
+
settings: { showNestedEditorTreeView: V }
|
|
337
|
+
} = Se();
|
|
338
|
+
function ie(t) {
|
|
339
|
+
return t.endsWith(".svg") || t.includes("image/svg+xml");
|
|
340
|
+
}
|
|
341
|
+
function ne(t) {
|
|
342
|
+
return new Promise((d, l) => {
|
|
343
|
+
if (ie(t)) {
|
|
344
|
+
d(0);
|
|
345
|
+
return;
|
|
346
|
+
}
|
|
347
|
+
const c = new Image();
|
|
348
|
+
c.src = t, c.onload = () => {
|
|
349
|
+
d(c.width);
|
|
350
|
+
}, c.onerror = () => {
|
|
351
|
+
l(new Error("Failed to load image"));
|
|
352
|
+
};
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
T(() => {
|
|
356
|
+
let t = r, d = g, l = 100;
|
|
357
|
+
(e.includes("unsplash") ? e.trim() : !O && e.trim() || e.includes("upload-src-editor")) && e !== "upload" && ne(e).then((c) => {
|
|
358
|
+
typeof t == "number" && t < l && c < l ? (E(!0), M({
|
|
359
|
+
width: t,
|
|
360
|
+
height: d
|
|
361
|
+
})) : c < l ? (E(!0), M({
|
|
362
|
+
width: "auto",
|
|
363
|
+
height: "auto"
|
|
364
|
+
})) : (M({
|
|
365
|
+
width: c,
|
|
366
|
+
height: c
|
|
367
|
+
}), E(!1));
|
|
368
|
+
}).catch((c) => {
|
|
369
|
+
console.warn("Ошибка при загрузке изображения:", c.message);
|
|
370
|
+
});
|
|
371
|
+
}, [e, O]), T(() => {
|
|
372
|
+
p.width && p.height && y && a.update(() => {
|
|
373
|
+
const t = C(i);
|
|
374
|
+
x(t) && t.setWidthAndHeight(p.width, p.height);
|
|
375
|
+
});
|
|
376
|
+
}, [p.width, p.height, y]);
|
|
377
|
+
const ae = b(
|
|
378
|
+
(t) => Oe(a, i, t),
|
|
379
|
+
[a, i]
|
|
380
|
+
), W = b(
|
|
381
|
+
(t, d) => {
|
|
382
|
+
I(!1), a.update(() => {
|
|
383
|
+
const l = C(i);
|
|
384
|
+
x(l) && (l.setSrc(t), l.setId(d));
|
|
385
|
+
});
|
|
386
|
+
},
|
|
387
|
+
[a, i]
|
|
388
|
+
), U = b(
|
|
389
|
+
(t) => {
|
|
390
|
+
I(!0);
|
|
391
|
+
const d = j();
|
|
392
|
+
S && S(
|
|
393
|
+
t[0],
|
|
394
|
+
(l, c) => {
|
|
395
|
+
W(l, c), z(0);
|
|
396
|
+
},
|
|
397
|
+
(l) => {
|
|
398
|
+
l && fe({
|
|
399
|
+
message: P("editor.gallery.errorFile")
|
|
400
|
+
}), z(0), W("", "");
|
|
401
|
+
},
|
|
402
|
+
d,
|
|
403
|
+
(l) => {
|
|
404
|
+
z(l);
|
|
405
|
+
}
|
|
406
|
+
);
|
|
407
|
+
},
|
|
408
|
+
[S, j, P, W]
|
|
409
|
+
);
|
|
410
|
+
return T(() => a.registerCommand(
|
|
411
|
+
Pe,
|
|
412
|
+
(t) => e !== "upload" || t.targetNodeKey !== i ? !1 : (U(t.files), !0),
|
|
413
|
+
ue
|
|
414
|
+
), [a, U, i, e]), !e || e === "upload" ? /* @__PURE__ */ o(ce, { "data-editor-image-picker-drop-root": !0, w: "100%", children: /* @__PURE__ */ o(
|
|
415
|
+
ke,
|
|
416
|
+
{
|
|
417
|
+
inline: !0,
|
|
418
|
+
nodeKey: i,
|
|
419
|
+
defaultTabValue: v,
|
|
420
|
+
onWriteTabToNode: ae,
|
|
421
|
+
uploading: !1,
|
|
422
|
+
onUpload: (t) => {
|
|
423
|
+
!S || !t.length || U(t);
|
|
424
|
+
},
|
|
425
|
+
popoverProps: {
|
|
426
|
+
opened: !0,
|
|
427
|
+
position: "bottom",
|
|
428
|
+
zIndex: Ee
|
|
429
|
+
},
|
|
430
|
+
onChange: (t) => {
|
|
431
|
+
a.update(() => {
|
|
432
|
+
const d = C(i);
|
|
433
|
+
x(d) && d.setSrc(t);
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
) }) : y ? /* @__PURE__ */ o(
|
|
438
|
+
Z,
|
|
439
|
+
{
|
|
440
|
+
width: p.width,
|
|
441
|
+
height: p.height,
|
|
442
|
+
isLoading: D,
|
|
443
|
+
isError: !1,
|
|
444
|
+
isIcon: y,
|
|
445
|
+
src: e,
|
|
446
|
+
id: h,
|
|
447
|
+
editor: a,
|
|
448
|
+
nodeKey: i,
|
|
449
|
+
fetchDeleteMedia: $,
|
|
450
|
+
altText: n,
|
|
451
|
+
imageRef: A,
|
|
452
|
+
maxWidth: u,
|
|
453
|
+
showCaption: m,
|
|
454
|
+
caption: s,
|
|
455
|
+
isCollabActive: !1,
|
|
456
|
+
historyState: B,
|
|
457
|
+
showNestedEditorTreeView: V,
|
|
458
|
+
t: P
|
|
459
|
+
}
|
|
460
|
+
) : /* @__PURE__ */ o(
|
|
461
|
+
Me,
|
|
462
|
+
{
|
|
463
|
+
editor: a,
|
|
464
|
+
isIcon: y,
|
|
465
|
+
width: X(r),
|
|
466
|
+
height: X(g),
|
|
467
|
+
initialWidth: p.width || "",
|
|
468
|
+
initialHeight: p.height || "",
|
|
469
|
+
onResizeEnd: oe,
|
|
470
|
+
alignment: N,
|
|
471
|
+
children: /* @__PURE__ */ o(
|
|
472
|
+
Z,
|
|
473
|
+
{
|
|
474
|
+
width: "inherit",
|
|
475
|
+
height: "inherit",
|
|
476
|
+
isLoading: D,
|
|
477
|
+
isError: !1,
|
|
478
|
+
isIcon: y,
|
|
479
|
+
src: e,
|
|
480
|
+
id: h,
|
|
481
|
+
editor: a,
|
|
482
|
+
nodeKey: i,
|
|
483
|
+
fetchDeleteMedia: $,
|
|
484
|
+
altText: n,
|
|
485
|
+
imageRef: A,
|
|
486
|
+
maxWidth: u,
|
|
487
|
+
showCaption: m,
|
|
488
|
+
caption: s,
|
|
489
|
+
isCollabActive: !1,
|
|
490
|
+
historyState: B,
|
|
491
|
+
showNestedEditorTreeView: V,
|
|
492
|
+
t: P
|
|
493
|
+
}
|
|
494
|
+
)
|
|
495
|
+
}
|
|
496
|
+
);
|
|
497
|
+
}
|
|
498
|
+
export {
|
|
499
|
+
Ke as default
|
|
500
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.B9Jm8gWZ.js";
|
|
2
2
|
var e = { paste: "Wklej", pasteAsPlaintext: "Wklej jako zwykły tekst", pasteCharts: "Wklej wykresy", selectAll: "Zaznacz wszystko", multiSelect: "Dodaj element do zaznaczenia", moveCanvas: "Przesuń obszar roboczy", cut: "Wytnij", copy: "Kopiuj", copyAsPng: "Skopiuj do schowka jako plik PNG", copyAsSvg: "Skopiuj do schowka jako plik SVG", copyText: "Skopiuj do schowka jako tekst", copySource: "Skopiuj źródło do schowka", convertToCode: "Skonwertuj do kodu", bringForward: "Przenieś wyżej", sendToBack: "Przenieś na spód", bringToFront: "Przenieś na wierzch", sendBackward: "Przenieś niżej", delete: "Usuń", copyStyles: "Kopiuj style", pasteStyles: "Wklej style", stroke: "Kolor obramowania", background: "Kolor wypełnienia", fill: "Wypełnienie", strokeWidth: "Grubość obramowania", strokeStyle: "Styl obrysu", strokeStyle_solid: "Pełny", strokeStyle_dashed: "Kreskowany", strokeStyle_dotted: "Kropkowany", sloppiness: "Styl kreski", opacity: "Przeźroczystość", textAlign: "Wyrównanie tekstu", edges: "Krawędzie", sharp: "Ostry", round: "Zaokrąglij", arrowheads: "Groty", arrowhead_none: "Brak", arrowhead_arrow: "Strzałka", arrowhead_bar: "Kreska", arrowhead_circle: "Okrąg", arrowhead_circle_outline: "Okrąg (obrys)", arrowhead_triangle: "Trójkąt", arrowhead_triangle_outline: "Trójkąt (obrys)", arrowhead_diamond: "Romb", arrowhead_diamond_outline: "Romb (obrys)", fontSize: "Rozmiar tekstu", fontFamily: "Krój pisma", addWatermark: 'Dodaj "Zrobione w Excalidraw"', handDrawn: "Odręczny", normal: "Normalny", code: "Kod", small: "Mały", medium: "Średni", large: "Duży", veryLarge: "Bardzo duży", solid: "Pełne", hachure: "Linie", zigzag: "Zygzak", crossHatch: "Zakreślone", thin: "Cienkie", bold: "Pogrubione", left: "Do lewej", center: "Do środka", right: "Do prawej", extraBold: "Ekstra pogrubione", architect: "Dokładny", artist: "Artystyczny", cartoonist: "Rysunkowy", fileTitle: "Nazwa pliku", colorPicker: "Paleta kolorów", canvasColors: "Używane na płótnie", canvasBackground: "Kolor dokumentu", drawingCanvas: "Obszar roboczy", layers: "Warstwy", actions: "Akcje", language: "Język", liveCollaboration: "Współpraca w czasie rzeczywistym...", duplicateSelection: "Powiel", untitled: "Bez tytułu", name: "Nazwa", yourName: "Twoje imię", madeWithExcalidraw: "Zrobione w Excalidraw", group: "Zgrupuj wybrane", ungroup: "Rozgrupuj wybrane", collaborators: "Współtwórcy", showGrid: "Pokaż siatkę", addToLibrary: "Dodaj do biblioteki", removeFromLibrary: "Usuń z biblioteki", libraryLoadingMessage: "Wczytywanie biblioteki…", libraries: "Przeglądaj biblioteki", loadingScene: "Wczytywanie sceny…", align: "Wyrównaj", alignTop: "Wyrównaj do góry", alignBottom: "Wyrównaj do dołu", alignLeft: "Wyrównaj do lewej", alignRight: "Wyrównaj do prawej", centerVertically: "Wyśrodkuj w pionie", centerHorizontally: "Wyśrodkuj w poziomie", distributeHorizontally: "Rozłóż poziomo", distributeVertically: "Rozłóż pionowo", flipHorizontal: "Odwróć w poziomie", flipVertical: "Odwróć w pionie", viewMode: "Tryb widoku", share: "Udostępnij", showStroke: "Pokaż próbnik kolorów obrysu", showBackground: "Pokaż próbnik koloru tła", toggleTheme: "Przełącz motyw", personalLib: "Biblioteka prywatna", excalidrawLib: "Biblioteka Excalidraw", decreaseFontSize: "Zmniejsz rozmiar czcionki", increaseFontSize: "Zwiększ rozmiar czcionki", unbindText: "Odłącz tekst od kontenera", bindText: "Połącz tekst z kontenerem", createContainerFromText: "Zawijaj tekst w kontenerze", link: { edit: "Edytuj łącze", editEmbed: "Edytuj i osadź link", create: "Utwórz łącze", createEmbed: "Stwórz i osadź link", label: "Łącze", labelEmbed: "Podlinkuj i osadź", empty: "Nie ustawiono linku" }, lineEditor: { edit: "Edytuj linię", exit: "Wyjdź z edytora linii" }, elementLock: { lock: "Zablokuj", unlock: "Odblokuj", lockAll: "Zablokuj wszystko", unlockAll: "Odblokuj wszystko" }, statusPublished: "Opublikowano", sidebarLock: "Panel boczny zawsze otwarty", selectAllElementsInFrame: "Zaznacz wszystkie elementy w ramce", removeAllElementsFromFrame: "Usuń wszystkie elementy z ramki", eyeDropper: "Wybierz kolor z płótna", textToDiagram: "Tekst do diagramu", prompt: "" }, a = { noItems: "Nie dodano jeszcze żadnych elementów...", hint_emptyLibrary: "Wybierz element na płótnie, aby go tutaj dodać, lub zainstaluj bibliotekę z poniższego publicznego repozytorium.", hint_emptyPrivateLibrary: "Wybierz element, aby dodać go tutaj." }, o = { clearReset: "Wyczyść dokument i zresetuj kolor dokumentu", exportJSON: "Eksportuj do pliku", exportImage: "Eksportuj obraz...", export: "Zapisz jako...", copyToClipboard: "Skopiuj do schowka", save: "Zapisz do bieżącego pliku", saveAs: "Zapisz jako", load: "Otwórz", getShareableLink: "Udostępnij", close: "Zamknij", selectLanguage: "Wybierz język", scrollBackToContent: "Wróć do obszaru roboczego", zoomIn: "Powiększ", zoomOut: "Pomniejsz", resetZoom: "Zresetuj powiększenie", menu: "Menu", done: "Gotowe", edit: "Edytuj", undo: "Cofnij", redo: "Przywróć", resetLibrary: "Resetuj bibliotekę", createNewRoom: "Utwórz nowy pokój", fullScreen: "Pełny ekran", darkMode: "Ciemny motyw", lightMode: "Jasny motyw", zenMode: "Tryb Zen", objectsSnapMode: "Przyciąganie do obiektów", exitZenMode: "Wyjdź z trybu Zen", cancel: "Anuluj", clear: "Wyczyść", remove: "Usuń", embed: "Przełącz osadzenie", publishLibrary: "Opublikuj", submit: "Prześlij", confirm: "Zatwierdź", embeddableInteractionButton: "Kliknij, aby wejść w interakcję" }, i = { clearReset: "To spowoduje usunięcie wszystkiego z dokumentu. Czy chcesz kontynuować?", couldNotCreateShareableLink: "Wystąpił błąd przy generowaniu linka do udostępniania.", couldNotCreateShareableLinkTooBig: "Nie można utworzyć linku do udostępnienia: scena jest za duża", couldNotLoadInvalidFile: "Nie udało się otworzyć pliku. Wybrany plik jest nieprawidłowy.", importBackendFailed: "Wystąpił błąd podczas importowania pliku.", cannotExportEmptyCanvas: "Najpierw musisz coś narysować, aby zapisać dokument.", couldNotCopyToClipboard: "Nie udało się skopiować do schowka.", decryptFailed: "Nie udało się odszyfrować danych.", uploadedSecurly: "By zapewnić Ci prywatność, udostępnianie projektu jest zabezpieczone szyfrowaniem end-to-end, co oznacza, że poza tobą i osobą z którą podzielisz się linkiem, nikt nie ma dostępu do tego co udostępniasz.", loadSceneOverridePrompt: "Wczytanie zewnętrznego rysunku zastąpi istniejącą zawartość. Czy chcesz kontynuować?", collabStopOverridePrompt: `Zatrzymanie sesji nadpisze poprzedni, zapisany lokalnie rysunek. Czy jesteś pewien?
|
|
3
3
|
|
|
4
4
|
(Jeśli chcesz zachować swój lokalny rysunek, po prostu zamknij zakładkę przeglądarki.)`, errorAddingToLibrary: "Nie udało się dodać elementu do biblioteki", errorRemovingFromLibrary: "Nie udało się usunąć elementu z biblioteki", confirmAddLibrary: "To doda {{numShapes}} kształtów do twojej biblioteki. Jesteś pewien?", imageDoesNotContainScene: "Ten obraz nie zawiera żadnych informacji o scenie. Czy włączyłeś osadzanie sceny podczas eksportu?", cannotRestoreFromImage: "Scena nie mogła zostać przywrócona z pliku obrazu", invalidSceneUrl: "Nie udało się zaimportować sceny z podanego adresu URL. Jest ona wadliwa lub nie zawiera poprawnych danych Excalidraw w formacie JSON.", resetLibrary: "To wyczyści twoją bibliotekę. Jesteś pewien?", removeItemsFromsLibrary: "Usunąć {{count}} element(ów) z biblioteki?", invalidEncryptionKey: "Klucz szyfrowania musi składać się z 22 znaków. Współpraca na żywo jest wyłączona.", collabOfflineWarning: `Brak połączenia z Internetem.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { s as A, d as S, p as G } from "./layers.
|
|
2
|
-
import { g as v, l as y, d as B, e as W, r as $, u as M, X as I } from "./layers.
|
|
1
|
+
import { s as A, d as S, p as G } from "./layers.DN0u5Yg6.js";
|
|
2
|
+
import { g as v, l as y, d as B, e as W, r as $, u as M, X as I } from "./layers.DOrY9DYv.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import { l as X } from "./layers.D4T8fTcj.js";
|
|
5
5
|
import { G as O } from "./layers.BJDrjORS.js";
|
|
6
|
-
import "./layers.
|
|
6
|
+
import "./layers.B9Jm8gWZ.js";
|
|
7
7
|
import "lodash-es/memoize.js";
|
|
8
8
|
import "lodash-es/merge.js";
|
|
9
9
|
import "lodash-es/isEmpty.js";
|
|
10
|
-
import { l as P } from "./layers.
|
|
10
|
+
import { l as P } from "./layers.BxFztpj5.js";
|
|
11
11
|
let H = 0;
|
|
12
12
|
const Y = function(i, a, t, o, p) {
|
|
13
13
|
const g = function(e) {
|