@layers-app/editor 0.5.1 → 0.5.2
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 -0
- package/dist/index.d.ts +315 -0
- package/dist/index.js +13 -0
- package/dist/layers.-TbWEgSf.js +425 -0
- package/dist/layers.0aivjg14.js +202 -0
- package/dist/layers.1kchl9Fg.js +33 -0
- package/dist/layers.2RmTpOSe.js +65 -0
- package/dist/layers.37cL7YbN.js +40 -0
- package/dist/layers.4q_x5roN.js +5 -0
- package/dist/layers.52famHy6.js +1 -0
- package/dist/layers.68ma6K6f.js +1 -0
- package/dist/layers.6HZckrJk.js +1 -0
- package/dist/layers.7JqFgE4-.js +15 -0
- package/dist/layers.8xliMm_4.js +14 -0
- package/dist/layers.9pNaFvaX.js +1 -0
- package/dist/layers.A7FX8Cpf.js +220 -0
- package/dist/layers.B-MfAaIy.js +1 -0
- package/dist/layers.B17DijoR.js +6 -0
- package/dist/layers.B1970UjZ.js +282 -0
- package/dist/layers.B19hGmey.js +1 -0
- package/dist/layers.B1IP0xF5.js +122 -0
- package/dist/layers.B1TVCKFc.js +423 -0
- package/dist/layers.B2wb1BnV.js +1 -0
- package/dist/layers.B3D4g2HH.js +1 -0
- package/dist/layers.B3QZKSP7.js +4 -0
- package/dist/layers.B4cctrKy.js +2235 -0
- package/dist/layers.B5eIpqUm.js +5 -0
- package/dist/layers.B5fhqRqQ.js +32 -0
- package/dist/layers.B5o5YNLY.js +41 -0
- package/dist/layers.B7QKbjTP.js +1 -0
- package/dist/layers.B7R5e9nb.js +39 -0
- package/dist/layers.B9H_VqGH.js +38 -0
- package/dist/layers.B9gDt0mt.js +2 -0
- package/dist/layers.BAtv1CM7.js +1 -0
- package/dist/layers.BAx1rxXM.js +1 -0
- package/dist/layers.BBu8KTxD.js +40 -0
- package/dist/layers.BC0UHUHZ.js +6 -0
- package/dist/layers.BEsDNARG.js +2966 -0
- package/dist/layers.BIFfWqjp.js +6 -0
- package/dist/layers.BIRO82v2.js +1 -0
- package/dist/layers.BIXkxpJg.js +7 -0
- package/dist/layers.BIeVwYKL.js +1 -0
- package/dist/layers.BJDrjORS.js +244 -0
- package/dist/layers.BJWQnQ1b.js +931 -0
- package/dist/layers.BKA3G4tE.js +8 -0
- package/dist/layers.BKcOrB7G.js +8 -0
- package/dist/layers.BLd2spTm.js +1 -0
- package/dist/layers.BLomL8Y1.js +40 -0
- package/dist/layers.BOGcxS4S.js +11 -0
- package/dist/layers.BPpqQ2zl.js +10 -0
- package/dist/layers.BQGV7_aP.js +7 -0
- package/dist/layers.BQvMgKOV.js +257 -0
- package/dist/layers.BRVeeDcH.js +802 -0
- package/dist/layers.BSB9eX8_.js +96 -0
- package/dist/layers.BSDp4pjf.js +160 -0
- package/dist/layers.BSTBZrFn.js +1 -0
- package/dist/layers.BWwCeuKP.js +39 -0
- package/dist/layers.BXYVnzZo.js +10 -0
- package/dist/layers.BYxlPasW.js +9 -0
- package/dist/layers.B_C8Ox8-.js +320 -0
- package/dist/layers.B_rZy9ZE.js +10 -0
- package/dist/layers.BbCfEXyj.js +55 -0
- package/dist/layers.Becl7PvM.js +1 -0
- package/dist/layers.BekArbNQ.js +501 -0
- package/dist/layers.BgOa2ZQq.js +7 -0
- package/dist/layers.BhZmc2PE.js +1 -0
- package/dist/layers.BhaSD27u.js +8 -0
- package/dist/layers.BiJ8hfRt.js +1510 -0
- package/dist/layers.Bm7EN78W.js +5 -0
- package/dist/layers.BocrFl_z.js +1265 -0
- package/dist/layers.BpilXLfW.js +6 -0
- package/dist/layers.BrBnUsI5.js +41 -0
- package/dist/layers.BrhJtZkc.js +84 -0
- package/dist/layers.Bsxy-Zmv.js +7 -0
- package/dist/layers.Bu9go6nF.js +10 -0
- package/dist/layers.BuJFmhxG.js +1 -0
- package/dist/layers.BuNBio9d.js +10 -0
- package/dist/layers.BufbpNF2.js +35 -0
- package/dist/layers.Bv6t74Ng.js +37 -0
- package/dist/layers.Bw7AFM_C.js +39 -0
- package/dist/layers.ByEhw12k.js +40 -0
- package/dist/layers.Bz8CGnnD.js +32 -0
- package/dist/layers.BzfTuld3.js +304 -0
- package/dist/layers.C-f2Ts9u.js +32 -0
- package/dist/layers.C0Lgw_Sx.js +11688 -0
- package/dist/layers.C0xLKPSB.js +7 -0
- package/dist/layers.C8_lu5UH.js +23 -0
- package/dist/layers.C8d9V9GQ.js +1619 -0
- package/dist/layers.C9KUAI3S.js +9 -0
- package/dist/layers.C9Qm4iyY.js +51 -0
- package/dist/layers.CAAtHbGC.js +1034 -0
- package/dist/layers.CBTk7340.js +41 -0
- package/dist/layers.CCGTXI7t.js +37 -0
- package/dist/layers.CDnEPiFS.js +13 -0
- package/dist/layers.CF0jHwg8.js +36 -0
- package/dist/layers.CFEmW02q.js +189 -0
- package/dist/layers.CFpY72SE.js +1 -0
- package/dist/layers.CG-pQKxy.js +32 -0
- package/dist/layers.CHZsXQcr.js +1 -0
- package/dist/layers.CIBiA4cp.js +9 -0
- package/dist/layers.CJ5oFhK5.js +9 -0
- package/dist/layers.CLG-12Ft.js +803 -0
- package/dist/layers.CLQVPEWO.js +70 -0
- package/dist/layers.CNAZOY0z.js +42 -0
- package/dist/layers.CNAp0agL.js +11 -0
- package/dist/layers.CNNAjKqx.js +42 -0
- package/dist/layers.CO0NalVl.js +1283 -0
- package/dist/layers.COTtcXWr.js +38 -0
- package/dist/layers.COsJBDU8.js +11 -0
- package/dist/layers.CPdjh9hT.js +373 -0
- package/dist/layers.CSFyrYzY.js +118 -0
- package/dist/layers.CX_ayh7E.js +42 -0
- package/dist/layers.CeNyh2LV.js +41 -0
- package/dist/layers.Ce_CBSin.js +9 -0
- package/dist/layers.CfjCZzg8.js +33 -0
- package/dist/layers.CfsQNfbN.js +35 -0
- package/dist/layers.CgqehJlq.js +268 -0
- package/dist/layers.CildyhOW.js +1 -0
- package/dist/layers.CjBfNqWg.js +207 -0
- package/dist/layers.CjZ_56YO.js +39 -0
- package/dist/layers.CqVTtuYm.js +6 -0
- package/dist/layers.Ct7y2KbU.js +1 -0
- package/dist/layers.CtASemAs.js +1 -0
- package/dist/layers.CvCe_XZO.js +44 -0
- package/dist/layers.CvF4WyAB.js +8 -0
- package/dist/layers.CvgnifSj.js +10 -0
- package/dist/layers.CyGuH0wW.js +84 -0
- package/dist/layers.Cyzu9PKQ.js +1 -0
- package/dist/layers.CzZCiNn3.js +1 -0
- package/dist/layers.Cz_HcKZR.js +9 -0
- package/dist/layers.CzqAzeMM.js +295 -0
- package/dist/layers.D-0DKizI.js +36 -0
- package/dist/layers.D-4uOpUj.js +2479 -0
- package/dist/layers.D-P1auk3.js +40 -0
- package/dist/layers.D-z4IZwp.js +139 -0
- package/dist/layers.D0zn4_Mx.js +1 -0
- package/dist/layers.D176Y7Vo.js +437 -0
- package/dist/layers.D1TLKJdE.js +2 -0
- package/dist/layers.D4SM8Ihn.js +10 -0
- package/dist/layers.D4T8fTcj.js +1223 -0
- package/dist/layers.D7jGxypv.js +8 -0
- package/dist/layers.D819V-1U.js +5 -0
- package/dist/layers.D92dwfZm.js +9 -0
- package/dist/layers.D9oxm2Q3.js +36 -0
- package/dist/layers.DAUiVpfA.js +41 -0
- package/dist/layers.DAgjLyi0.js +21938 -0
- package/dist/layers.DG5DkMsX.js +4 -0
- package/dist/layers.DG5nJvev.js +41 -0
- package/dist/layers.DGIvTJgm.js +1 -0
- package/dist/layers.DGKHsEgL.js +37 -0
- package/dist/layers.DJINSxsc.js +1 -0
- package/dist/layers.DJJF7QHv.js +39 -0
- package/dist/layers.DLK9DV2V.js +40 -0
- package/dist/layers.DLNMmOF6.js +10 -0
- package/dist/layers.DLwuMfdd.js +84 -0
- package/dist/layers.DMkBISW1.js +1 -0
- package/dist/layers.DN9HoVxI.js +18 -0
- package/dist/layers.DO3jf13r.js +139 -0
- package/dist/layers.DOrgOHBr.js +1 -0
- package/dist/layers.DRi0nv8t.js +769 -0
- package/dist/layers.DTEtUQ-N.js +11 -0
- package/dist/layers.DXM-M_t4.js +904 -0
- package/dist/layers.DZ4rueAA.js +1126 -0
- package/dist/layers.DZAc2rlA.js +19 -0
- package/dist/layers.DZAwluRX.js +7 -0
- package/dist/layers.D__Ge0jR.js +1580 -0
- package/dist/layers.D_qBxnuW.js +6 -0
- package/dist/layers.Da7N3t0o.js +59 -0
- package/dist/layers.DbCde96z.js +61 -0
- package/dist/layers.DbaKVP5e.js +1 -0
- package/dist/layers.Deuxf8WS.js +37 -0
- package/dist/layers.DgQ6wjQ6.js +1089 -0
- package/dist/layers.Dhs3Sikn.js +230 -0
- package/dist/layers.DizdRJDv.js +10 -0
- package/dist/layers.DjUOC4st.js +16 -0
- package/dist/layers.DkRaFpYI.js +39 -0
- package/dist/layers.Dn0j_OK5.js +8 -0
- package/dist/layers.DneF9QFl.js +39 -0
- package/dist/layers.DnohNr8z.js +2 -0
- package/dist/layers.DtjaV33P.js +4 -0
- package/dist/layers.DtwPvqvM.js +1359 -0
- package/dist/layers.DuQS64hQ.js +35 -0
- package/dist/layers.DvcL-c1J.js +10 -0
- package/dist/layers.DwGEUGi4.js +1 -0
- package/dist/layers.Dwf-cmfl.js +1 -0
- package/dist/layers.DxA6ocdw.js +70 -0
- package/dist/layers.DxuaZtRi.js +116 -0
- package/dist/layers.Dy1naDTQ.js +14 -0
- package/dist/layers.DyVeJ5nq.js +41 -0
- package/dist/layers.Dz5Fekdu.js +8 -0
- package/dist/layers.DzTjTsrg.js +52 -0
- package/dist/layers.DzWSztoe.js +8 -0
- package/dist/layers.DzWUGmmi.js +21763 -0
- package/dist/layers.Fv2UzX_J.js +40 -0
- package/dist/layers.GGg0Uela.js +48146 -0
- package/dist/layers.HISmbvvZ.js +41 -0
- package/dist/layers.J-SBicA2.js +39 -0
- package/dist/layers.JWCLFILJ.js +1 -0
- package/dist/layers.Jy2BJnrD.js +7 -0
- package/dist/layers.KNG61fVD.js +32 -0
- package/dist/layers.KZKDnGbd.js +9166 -0
- package/dist/layers.Kcxw1ZN5.js +8 -0
- package/dist/layers.LG7pZboq.js +42 -0
- package/dist/layers.N7uLiJJF.js +791 -0
- package/dist/layers.P0mMn9V6.js +4 -0
- package/dist/layers.RY1Pc_vI.js +39 -0
- package/dist/layers.T5F5IY6f.js +38 -0
- package/dist/layers.UBsT16id.js +9 -0
- package/dist/layers.Ww9bBIaA.js +32 -0
- package/dist/layers.YUbPYUxB.js +1088 -0
- package/dist/layers.YejPlmok.js +34 -0
- package/dist/layers.YsjMDe1Z.js +8 -0
- package/dist/layers._IMfh4Om.js +1 -0
- package/dist/layers.b0h5ZBmD.js +61 -0
- package/dist/layers.cXShihLV.js +793 -0
- package/dist/layers.dBCFbDUQ.js +5 -0
- package/dist/layers.dsZSDggl.js +1 -0
- package/dist/layers.dzPD2Tq6.js +8 -0
- package/dist/layers.fdHV7i_n.js +47540 -0
- package/dist/layers.g0MJEmgM.js +36 -0
- package/dist/layers.g6KGAlYG.js +7 -0
- package/dist/layers.gAwY5NlW.js +6 -0
- package/dist/layers.hJXmn9h9.js +3 -0
- package/dist/layers.hMr_bHrn.js +1 -0
- package/dist/layers.hweLqW3I.js +261 -0
- package/dist/layers.ifrGR0tH.js +1 -0
- package/dist/layers.jS5D2j9k.js +186 -0
- package/dist/layers.k5zSy7kx.js +40 -0
- package/dist/layers.ku7sc5w7.js +40 -0
- package/dist/layers.l0OsrJxT.js +9 -0
- package/dist/layers.lCpg7dOn.js +21 -0
- package/dist/layers.mcrEJ5IL.js +1 -0
- package/dist/layers.mkPf05Ff.js +960 -0
- package/dist/layers.n8BNeBDu.js +40 -0
- package/dist/layers.nesKhKqv.js +9 -0
- package/dist/layers.o8uxn2z6.js +6 -0
- package/dist/layers.qKFGZSrv.js +42 -0
- package/dist/layers.tehvhFRL.js +11 -0
- package/dist/layers.yaVCGcoo.js +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "./layers.DzWUGmmi.js";
|
|
2
|
+
var A = { paste: "ਪੇਸਟ ਕਰੋ", pasteAsPlaintext: "ਸਾਦੇ ਪਾਠ ਵਜੋਂ ਪੇਸਟ ਕਰੋ", pasteCharts: "ਚਾਰਟ ਪੇਸਟ ਕਰੋ", selectAll: "ਸਾਰੇ ਚੁਣੋ", multiSelect: "ਐਲੀਮੈਂਟ ਨੂੰ ਚੋਣ ਵਿੱਚ ਜੋੜੋ", moveCanvas: "ਕੈਨਵਸ ਹਿਲਾਓ", cut: "ਕੱਟੋ", copy: "ਕਾਪੀ ਕਰੋ", copyAsPng: "ਕਲਿੱਪਬੋਰਡ 'ਤੇ PNG ਵਜੋਂ ਕਾਪੀ ਕਰੋ", copyAsSvg: "ਕਲਿੱਪਬੋਰਡ 'ਤੇ SVG ਵਜੋਂ ਕਾਪੀ ਕਰੋ", copyText: "ਕਲਿੱਪਬੋਰਡ 'ਤੇ ਪਾਠ ਵਜੋਂ ਕਾਪੀ ਕਰੋ", copySource: "", convertToCode: "", bringForward: "ਅੱਗੇ ਲਿਆਓ", sendToBack: "ਸਭ ਤੋਂ ਪਿੱਛੇ ਭੇਜੋ", bringToFront: "ਸਭ ਤੋਂ ਅੱਗੇ ਲਿਆਓ", sendBackward: "ਪਿੱਛੇ ਭੇਜੋ", delete: "ਮਿਟਾਓ", copyStyles: "ਸਟਾਇਲ ਕਾਪੀ ਕਰੋ", pasteStyles: "ਸਟਾਇਲ ਪੇਸਟ ਕਰੋ", stroke: "ਰੇਖਾ", background: "ਬੈਕਗਰਾਉਂਡ", fill: "ਭਰਨਾ", strokeWidth: "ਰੇਖਾ ਦੀ ਚੌੜਾਈ", strokeStyle: "ਰੇਖਾ ਦਾ ਸਟਾਇਲ", strokeStyle_solid: "ਠੋਸ", strokeStyle_dashed: "ਡੈਸ਼ ਵਾਲੀ", strokeStyle_dotted: "ਬਿੰਦੀਆਂ ਵਾਲੀ", sloppiness: "ਬੇਤਰਤੀਬੀ", opacity: "ਅਪਾਰਦਰਸ਼ਤਾ", textAlign: "ਲਿਖਤ ਇਕਸਾਰਤਾ", edges: "ਕਿਨਾਰੇ", sharp: "ਤਿੱਖੇ", round: "ਗੋਲ", arrowheads: "ਤੀਰ ਦੇ ਸਿਰੇ", arrowhead_none: "ਕੋਈ ਨਹੀਂ", arrowhead_arrow: "ਤੀਰ", arrowhead_bar: "ਡੰਡੀ", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "ਤਿਕੋਣ", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "ਫੌਂਟ ਅਕਾਰ", fontFamily: "ਫੌਂਟ ਪਰਿਵਾਰ", addWatermark: '"Excalidraw ਨਾਲ ਬਣਾਇਆ" ਜੋੜੋ', handDrawn: "ਹੱਥਲਿਖਤ", normal: "ਆਮ", code: "ਕੋਡ", small: "ਛੋਟਾ", medium: "ਮੱਧਮ", large: "ਵੱਡਾ", veryLarge: "ਬਹੁਤ ਵੱਡਾ", solid: "ਠੋਸ", hachure: "ਤਿਰਛੀਆਂ ਗਰਿੱਲਾਂ", zigzag: "ਵਿੰਗ-ਤੜਿੰਗ", crossHatch: "ਜਾਲੀ", thin: "ਪਤਲੀ", bold: "ਮੋਟੀ", left: "ਖੱਬੇ", center: "ਵਿਚਕਾਰ", right: "ਸੱਜੇ", extraBold: "ਬਹੁਤ ਮੋਟੀ", architect: "ਭਵਨ ਨਿਰਮਾਣਕਾਰੀ", artist: "ਕਲਾਕਾਰ", cartoonist: "ਕਾਰਟੂਨਿਸਟ", fileTitle: "ਫਾਈਲ ਦਾ ਨਾਂ", colorPicker: "ਰੰਗ ਚੋਣਕਾਰ", canvasColors: "ਕੈਨਵਸ 'ਤੇ ਵਰਤਿਆ", canvasBackground: "ਕੈਨਵਸ ਦਾ ਬੈਕਗਰਾਉਂਡ", drawingCanvas: "ਡਰਾਇੰਗ ਕੈਨਵਸ", layers: "ਪਰਤਾਂ", actions: "ਕਾਰਵਾਈਆਂ", language: "ਭਾਸ਼ਾ", liveCollaboration: "ਲਾਇਵ ਸਹਿਯੋਗ...", duplicateSelection: "ਡੁਪਲੀਕੇਟ ਬਣਾਓ", untitled: "ਬੇ-ਸਿਰਨਾਵਾਂ", name: "ਨਾਂ", yourName: "ਤੁਹਾਡਾ ਨਾਂ", madeWithExcalidraw: "Excalidraw ਨਾਲ ਬਣਾਇਆ", group: "ਚੋਣ ਦਾ ਗਰੁੱਪ ਬਣਾਓ", ungroup: "ਚੋਣ ਦਾ ਗਰੁੱਪ ਤੋੜੋ", collaborators: "ਸਹਿਯੋਗੀ", showGrid: "ਜਾਲੀ ਦਿਖਾਓ", addToLibrary: "ਲਾਇਬ੍ਰੇਰੀ ਵਿੱਚ ਜੋੜੋ", removeFromLibrary: "ਲਾਇਬ੍ਰੇਰੀ 'ਚੋਂ ਹਟਾਓ", libraryLoadingMessage: "ਲਾਇਬ੍ਰੇਰੀ ਲੋਡ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ…", libraries: "ਲਾਇਬ੍ਰੇਰੀਆਂ ਬਰਾਉਜ਼ ਕਰੋ", loadingScene: "ਦ੍ਰਿਸ਼ ਲੋਡ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ…", align: "ਇਕਸਾਰ", alignTop: "ਉੱਪਰ ਇਕਸਾਰ ਕਰੋ", alignBottom: "ਹੇਠਾਂ ਇਕਸਾਰ ਕਰੋ", alignLeft: "ਖੱਬੇ ਇਕਸਾਰ ਕਰੋ", alignRight: "ਸੱਜੇ ਇਕਸਾਰ ਕਰੋ", centerVertically: "ਲੇਟਵੇਂ ਵਿਚਕਾਰ ਕਰੋ", centerHorizontally: "ਖੜ੍ਹਵੇਂ ਵਿਚਕਾਰ ਕਰੋ", distributeHorizontally: "ਖੜ੍ਹਵੇਂ ਇਕਸਾਰ ਵੰਡੋ", distributeVertically: "ਲੇਟਵੇਂ ਇਕਸਾਰ ਵੰਡੋ", flipHorizontal: "ਲੇਟਵੇਂ ਪਾਸੇ ਪਲਟੋ", flipVertical: "ਖੜ੍ਹਵੇਂ ਪਾਸੇ ਪਲਟੋ", viewMode: "ਦੇਖਣ ਵਾਲਾ ਮੋਡ", share: "ਸਾਂਝਾ ਕਰੋ", showStroke: "ਰੇਖਾ ਦਾ ਰੰਗ ਚੋਣਕਾਰ ਦਿਖਾਓ", showBackground: "ਬੈਕਗਰਾਉਂਡ ਦਾ ਰੰਗ ਚੋਣਕਾਰ ਦਿਖਾਓ", toggleTheme: "ਥੀਮ ਬਦਲੋ", personalLib: "ਨਿੱਜੀ ਲਾਇਬ੍ਰੇਰੀ", excalidrawLib: "ਐਕਸਕਲੀਡਰਾਅ ਲਾਇਬ੍ਰੇਰੀ", decreaseFontSize: "ਫੌਂਟ ਦਾ ਅਕਾਰ ਘਟਾਓ", increaseFontSize: "ਫੌਂਟ ਦਾ ਅਕਾਰ ਵਧਾਓ", unbindText: "ਪਾਠ ਨੂੰ ਵੱਖ ਕਰੋ", bindText: "ਪਾਠ ਨੂੰ ਕੰਟੇਨਰ ਨਾਲ ਬੰਨ੍ਹੋ", createContainerFromText: "ਪਾਠ ਨੂੰ ਕੰਟੇਨਰ ਵਿੱਚ ਇਕੱਠਾ ਕਰੋ", link: { edit: "ਕੜੀ ਸੋਧੋ", editEmbed: "", create: "ਕੜੀ ਬਣਾਓ", createEmbed: "", label: "ਕੜੀ", labelEmbed: "", empty: "" }, lineEditor: { edit: "ਪੰਕਤੀ ਸੋਧੋ", exit: "ਪੰਕਤੀ ਸੋਧਕ 'ਤੋਂ ਬਾਹਰ ਨਿਕਲੋ" }, elementLock: { lock: "ਲਾਕ ਕਰੋ", unlock: "ਅਨਲਾਕ ਕਰੋ", lockAll: "ਸਭ ਲਾਕ ਕਰੋ", unlockAll: "ਸਭ ਅਨਲਾਕ ਕਰੋ" }, statusPublished: "ਪ੍ਰਕਾਸ਼ਤ ਹੈ", sidebarLock: "ਸਾਈਡਬਾਰ ਨੂੰ ਖੁੱਲ੍ਹਾ ਰੱਖੋ", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, u = { noItems: "ਹਾਲੇ ਤੱਕ ਕੋਈ ਚੀਜ ਜੋੜੀ ਨਹੀਂ ਗਈ...", hint_emptyLibrary: "ਇੱਥੇ ਆਈਟਮ ਜੋੜਨ ਲਈ ਉਸਨੂੰ ਕੈਨਵਸ ‘ਤੇ ਚੁਣੋ, ਜਾਂ ਹੇਠਾਂ ਪਬਲਿਕ ਰਿਪਾਜ਼ੀਟਰੀ ‘ਚੋਂ ਲਾਇਬ੍ਰੇਰੀ ਸਥਾਪਤ ਕਰੋ।", hint_emptyPrivateLibrary: "ਇੱਥੇ ਆਈਟਮ ਜੋੜਨ ਲਈ ਉਸਨੂੰ ਕੈਨਵਸ ‘ਤੇ ਚੁਣੋ।" }, E = { clearReset: "ਕੈਨਵਸ ਰੀਸੈੱਟ ਕਰੋ", exportJSON: "ਫਾਈਲ ਵਿੱਚ ਨਿਰਯਾਤ ਕਰੋ", exportImage: "ਤਸਵੀਰ ਨਿਰਯਾਤ ਕਰੋ...", export: "ਇਸ ਵਿੱਚ ਸਾਂਭੋ...", copyToClipboard: "ਕਲਿੱਪਬੋਰਡ 'ਤੇ ਕਾਪੀ ਕਰੋ", save: "ਮੌਜੂਦਾ ਫਾਈਲ ਵਿੱਚ ਸਾਂਭੋ", saveAs: "ਇਸ ਵਜੋਂ ਸਾਂਭੋ", load: "ਖੋਲ੍ਹੋ", getShareableLink: "ਸਾਂਝੀ ਕਰਨ ਵਾਲੀ ਲਿੰਕ ਲਵੋ", close: "ਬੰਦ ਕਰੋ", selectLanguage: "ਭਾਸ਼ਾ ਚੁਣੋ", scrollBackToContent: "ਸਮੱਗਰੀ 'ਤੇ ਵਾਪਸ ਸਕਰੋਲ ਕਰੋ", zoomIn: "ਜ਼ੂਮ ਵਧਾਓ", zoomOut: "ਜ਼ੂਮ ਘਟਾਓ", resetZoom: "ਜ਼ੂਮ ਰੀਸੈੱਟ ਕਰੋ", menu: "ਮੇਨੂ", done: "ਹੋ ਗਿਆ", edit: "ਸੋਧੋ", undo: "ਅਣਕੀਤਾ ਕਰੋ", redo: "ਮੁੜ-ਕਰੋ", resetLibrary: "ਲਾਇਬ੍ਰੇਰੀ ਰੀਸੈੱਟ ਕਰੋ", createNewRoom: "ਨਵਾਂ ਕਮਰਾ ਬਣਾਓ", fullScreen: "ਪੂਰੀ ਸਕਰੀਨ", darkMode: "ਡਾਰਕ ਮੋਡ", lightMode: "ਲਾਇਟ ਮੋਡ", zenMode: "ਜ਼ੈੱਨ ਮੋਡ", objectsSnapMode: "", exitZenMode: "ਜ਼ੈੱਨ ਮੋਡ 'ਚੋਂ ਬਾਹਰ ਨਿਕਲੋ", cancel: "ਰੱਦ ਕਰੋ", clear: "ਸਾਫ਼ ਕਰੋ", remove: "ਹਟਾਓ", embed: "", publishLibrary: "ਪ੍ਰਕਾਸ਼ਤ ਕਰੋ", submit: "ਜਮ੍ਹਾ ਕਰਵਾਓ", confirm: "ਪੁਸ਼ਟੀ ਕਰੋ", embeddableInteractionButton: "" }, e = { clearReset: "ਇਹ ਸਾਰਾ ਕੈਨਵਸ ਸਾਫ ਕਰ ਦੇਵੇਗਾ। ਕੀ ਤੁਸੀਂ ਪੱਕਾ ਇੰਝ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹੋ?", couldNotCreateShareableLink: "ਸਾਂਝੀ ਕਰਨ ਵਾਲੀ ਲਿੰਕ ਨਹੀਂ ਬਣਾ ਸਕੇ।", couldNotCreateShareableLinkTooBig: "ਸਾਂਝੀ ਕਰਨ ਵਾਲੀ ਲਿੰਕ ਨਹੀਂ ਬਣਾ ਸਕੇ: ਦ੍ਰਿਸ਼ ਬਹੁਤ ਵੱਡਾ ਹੈ", couldNotLoadInvalidFile: "ਨਜਾਇਜ਼ ਫਾਈਲ ਲੋਡ ਨਹੀਂ ਕਰ ਸਕੇ", importBackendFailed: "ਬੈਕਐੱਨਡ ਤੋਂ ਆਯਾਤ ਕਰਨ ਵਿੱਚ ਅਸਫਲ ਰਹੇ।", cannotExportEmptyCanvas: "ਖਾਲੀ ਕੈਨਵਸ ਨੂੰ ਨਿਰਯਾਤ ਨਹੀਂ ਕਰ ਸਕਦੇ।", couldNotCopyToClipboard: "ਕਲਿੱਪਬੋਰਡ 'ਤੇ ਕਾਪੀ ਨਹੀਂ ਕੀਤਾ ਜਾ ਸਕਿਆ।", decryptFailed: "ਡਾਟਾ ਡੀਕਰਿਪਟ ਨਹੀਂ ਕਰ ਸਕੇ।", uploadedSecurly: "ਅੱਪਲੋਡ ਸਿਰੇ-ਤੋਂ-ਸਿਰੇ ਤੱਕ ਇਨਕਰਿਪਸ਼ਨ ਨਾਲ ਸੁਰੱਖਿਅਤ ਕੀਤੀ ਹੋਈ ਹੈ, ਜਿਸਦਾ ਮਤਲਬ ਇਹ ਹੈ ਕਿ Excalidraw ਸਰਵਰ ਅਤੇ ਤੀਜੀ ਧਿਰ ਦੇ ਬੰਦੇ ਸਮੱਗਰੀ ਨੂੰ ਪੜ੍ਹ ਨਹੀਂ ਸਕਦੇ।", loadSceneOverridePrompt: "ਬਾਹਰੀ ਡਰਾਇੰਗ ਨੂੰ ਲੋਡ ਕਰਨਾ ਤੁਹਾਡੀ ਮੌਜੂਦਾ ਸਮੱਗਰੀ ਦੀ ਥਾਂ ਲੈ ਲਵੇਗਾ। ਕੀ ਤੁਸੀਂ ਜਾਰੀ ਰੱਖਣਾ ਚਾਹੁੰਦੇ ਹੋ?", collabStopOverridePrompt: `ਇਜਲਾਸ ਨੂੰ ਰੋਕਣਾ ਪਿਛਲੀ ਲੋਕਲ ਸਾਂਭੀ ਡਰਾਇੰਗ ਦੀ ਥਾਂ ਲੈ ਲਵੇਗਾ। ਪੱਕਾ ਇੰਝ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹੋ?
|
|
3
|
+
|
|
4
|
+
(ਜੇ ਤੁਸੀਂ ਆਪਣੀ ਲੋਕਲ ਡਰਾਇੰਗ ਨੂੰ ਬਰਕਰਾਰ ਰੱਖਣਾ ਚਾਹੁੰਦੇ ਹੋ ਤਾਂ ਇਹ ਕਰਨ ਦੀ ਬਜਾਏ ਬੱਸ ਆਪਣਾ ਟੈਬ ਬੰਦ ਕਰ ਦਿਉ।)`, errorAddingToLibrary: "ਲਾਇਬ੍ਰੇਰੀ ਵਿੱਚ ਸਮੱਗਰੀ ਨਹੀਂ ਜੋੜ ਸਕੇ", errorRemovingFromLibrary: "ਲਾਇਬ੍ਰੇਰੀ ਵਿੱਚੋਂ ਸਮੱਗਰੀ ਨਹੀਂ ਹਟਾ ਸਕੇ", confirmAddLibrary: "ਇਹ ਤੁਹਾਡੀ ਲਾਇਬ੍ਰੇਰੀ ਵਿੱਚ {{numShapes}} ਆਕ੍ਰਿਤੀ(ਆਂ) ਨੂੰ ਜੋੜ ਦੇਵੇਗਾ। ਕੀ ਤੁਸੀਂ ਪੱਕਾ ਇੰਝ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹੋ?", imageDoesNotContainScene: "ਇਸ ਤਸਵੀਰ ਵਿੱਚ ਦ੍ਰਿਸ਼ ਦਾ ਕੋਈ ਵੀ ਡਾਟਾ ਨਜ਼ਰ ਨਹੀਂ ਆ ਰਿਹਾ। ਕੀ ਤੁਸੀਂ ਨਿਰਯਾਤ ਕਰਦੇ ਸਮੇਂ ਦ੍ਰਿਸ਼ ਨੂੰ ਮੜ੍ਹਣਾ ਸਮਰੱਥ ਕੀਤਾ ਸੀ?", cannotRestoreFromImage: "ਇਸ ਤਸਵੀਰ ਫਾਈਲ ਤੋਂ ਦ੍ਰਿਸ਼ ਬਹਾਲ ਨਹੀਂ ਕੀਤਾ ਜਾ ਸਕਿਆ", invalidSceneUrl: "ਦਿੱਤੀ ਗਈ URL 'ਚੋਂ ਦ੍ਰਿਸ਼ ਨੂੰ ਆਯਾਤ ਨਹੀਂ ਕਰ ਸਕੇ। ਇਹ ਜਾਂ ਤਾਂ ਖਰਾਬ ਹੈ, ਜਾਂ ਇਸ ਵਿੱਚ ਜਾਇਜ਼ Excalidraw JSON ਡਾਟਾ ਸ਼ਾਮਲ ਨਹੀਂ ਹੈ।", resetLibrary: "ਇਹ ਤੁਹਾਡੀ ਲਾਇਬ੍ਰੇਰੀ ਨੂੰ ਸਾਫ ਕਰ ਦੇਵੇਗਾ। ਕੀ ਤੁਸੀਂ ਪੱਕਾ ਇੰਝ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹੋ?", removeItemsFromsLibrary: "ਲਾਇਬ੍ਰੇਰੀ ਵਿੱਚੋਂ {{count}} ਚੀਜ਼(-ਜ਼ਾਂ) ਮਿਟਾਉਣੀਆਂ ਹਨ?", invalidEncryptionKey: "ਇਨਕਰਿਪਸ਼ਨ ਕੁੰਜੀ 22 ਅੱਖਰਾਂ ਦੀ ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ। ਲਾਇਵ ਸਹਿਯੋਗ ਬੰਦ ਹੈ।", collabOfflineWarning: `ਕੋਈ ਇੰਟਰਨੈੱਟ ਕਨੈਕਸ਼ਨ ਨਹੀਂ ਹੈ
|
|
5
|
+
ਤੁਹਾਡੀਆਂ ਤਬਦੀਲੀਆਂ ਸਾਂਭੀਆਂ ਨਹੀਂ ਜਾਣਗੀਆਂ।` }, a = { unsupportedFileType: "ਫਾਈਲ ਦੀ ਕਿਸਮ ਦਾ ਸਮਰਥਨ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ।", imageInsertError: "ਚਿੱਤਰ ਸ਼ਾਮਲ ਨਹੀਂ ਜਾ ਸਕਿਆ, ਬਾਅਦ ਵਿੱਚ ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰੋ...", fileTooBig: "ਫਾਈਲ ਬਹੁਤ ਜ਼ਿਆਦਾ ਵੱਡੀ ਹੈ। ਵੱਧ-ਤੋਂ-ਵੱਧ ਪ੍ਰਵਾਨਤ ਅਕਾਰ {{maxSize}} ਹੈ।", svgImageInsertError: "SVG ਤਸਵੀਰ ਸ਼ਾਮਲ ਨਹੀਂ ਕਰ ਸਕੇ। SVG ਮਾਰਕ-ਅੱਪ ਨਜਾਇਜ਼ ਲੱਗ ਰਿਹਾ ਹੈ।", failedToFetchImage: "", invalidSVGString: "SVG ਨਜਾਇਜ਼ ਹੈ।", cannotResolveCollabServer: "", importLibraryError: "ਲਾਇਬ੍ਰੇਰੀ ਲੋਡ ਨਹੀਂ ਕੀਤੀ ਜਾ ਸਕੀ", collabSaveFailed: "", collabSaveFailed_sizeExceeded: "", imageToolNotSupported: "", brave_measure_text_error: { line1: "", line2: "", line3: "", line4: "" }, libraryElementTypeError: { embeddable: "", iframe: "", image: "" }, asyncPasteFailedOnRead: "", asyncPasteFailedOnParse: "", copyToSystemClipboardFailed: "" }, o = { selection: "ਚੋਣਕਾਰ", image: "ਤਸਵੀਰ ਸ਼ਾਮਲ ਕਰੋ", rectangle: "ਆਇਤ", diamond: "ਹੀਰਾ", ellipse: "ਅੰਡਾਕਾਰ", arrow: "ਤੀਰ", line: "ਲਕੀਰ", freedraw: "ਵਾਹੋ", text: "ਪਾਠ", library: "ਲਾਇਬ੍ਰੇਰੀ", lock: "ਡਰਾਇੰਗ ਤੋਂ ਬਾਅਦ ਵੀ ਚੁਣੇ ਹੋਏ ਸੰਦ ਨੂੰ ਸਰਗਰਮ ਰੱਖੋ ", penMode: "ਪੈੱਨ ਮੋਡ - ਟੱਚ ਤੋਂ ਬਚਾਉਂਦਾ ਹੈ", link: "", eraser: "ਰਬੜ", frame: "", magicframe: "", embeddable: "", laser: "", hand: "", extraTools: "", mermaidToExcalidraw: "", magicSettings: "" }, r = { canvasActions: "ਕੈਨਵਸ ਦੀਆਂ ਕਾਰਵਾਈਆਂ", selectedShapeActions: "ਚੁਣੀ ਆਕ੍ਰਿਤੀ ਦੀਆਂ ਕਾਰਵਾਈਆਂ", shapes: "ਆਕ੍ਰਿਤੀਆਂ" }, t = { canvasPanning: "", linearElement: "ਇੱਕ ਤੋਂ ਜ਼ਿਆਦਾ ਬਿੰਦੂਆਂ ਲਈ ਕਲਿੱਕ ਕਰਕੇ ਸ਼ੁਰੂਆਤ ਕਰੋ, ਇਕਹਿਰੀ ਲਕੀਰ ਲਈ ਘਸੀਟੋ", freeDraw: "ਕਲਿੱਕ ਕਰਕੇ ਘਸੀਟੋ, ਪੂਰਾ ਹੋਣ 'ਤੇ ਛੱਡ ਦਿਉ", text: "ਨੁਸਖਾ: ਤੁਸੀਂ ਚੋਣਕਾਰ ਸੰਦ ਰਾਹੀਂ ਕਿਤੇ ਵੀ ਡਬਲ-ਕਲਿੱਕ ਕਰਕੇ ਵੀ ਪਾਠ ਜੋੜ ਸਕਦੇ ਹੋ", embeddable: "", text_selected: "ਪਾਠ ਨੂੰ ਸੋਧਣ ਲਈ ਡਬਲ-ਕਲਿੱਕ ਕਰੋ ਜਾਂ ਐਂਟਰ ਦਬਾਓ", text_editing: "ਸੋਧ ਮੁਕੰਮਲ ਕਰਨ ਲਈ ਐਸਕੇਪ (Esc) ਜਾਂ Ctrl-ਜਾਂ-Cmd+ਐਂਟਰ (enter) ਦਬਾਓ", linearElementMulti: "ਮੁਕੰਮਲ ਕਰਨ ਲਈ ਆਖਰੀ ਬਿੰਦੂ 'ਤੇ ਕਲਿੱਕ ਕਰੋ ਜਾਂ ਇਸਕੇਪ ਜਾਂ ਐਂਟਰ ਦਬਾਓ", lockAngle: "ਤੁਸੀਂ SHIFT ਦਬਾਈ ਰੱਖ ਕੇ ਕੋਣਾਂ ਨੂੰ ਕਾਬੂ ਕਰ ਸਕਦੇ ਹੋ", resize: "ਤੁਸੀਂ ਅਕਾਰ ਬਦਲਦੇ ਸਮੇਂ SHIFT ਦਬਾਈ ਰੱਖ ਕੇ ਅਨੁਪਾਤ ਨੂੰ ਕਾਬੂ ਕਰ ਸਕਦੇ ਹੋ, ਵਿਚਕਾਰ ਤੋਂ ਅਕਾਰ ਬਦਲਣ ਲਈ ALT ਦਬਾਓ", resizeImage: "", rotate: "ਤੁਸੀਂ ਘੁਮਾਉਂਦੇ ਹੋਏ SHIFT ਦਬਾਈ ਰੱਖ ਕੇ ਕੋਣਾਂ ਨੂੰ ਕਾਬੂ ਕਰ ਸਕਦੇ ਹੋ", lineEditor_info: "", lineEditor_pointSelected: "", lineEditor_nothingSelected: "", placeImage: "", publishLibrary: "ਆਪਣੀ ਲਾਇਬ੍ਰੇਰੀ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ", bindTextToElement: "ਪਾਠ ਜੋੜਨ ਲਈ ਐੰਟਰ ਦਬਾਓ", deepBoxSelect: "", eraserRevert: "", firefox_clipboard_write: "", disableSnapping: "" }, i = { cannotShowPreview: "ਝਲਕ ਨਹੀਂ ਦਿਖਾ ਸਕਦੇ", canvasTooBig: "ਸ਼ਾਇਦ ਕੈਨਵਸ ਬਹੁਤ ਜ਼ਿਆਦਾ ਵੱਡਾ ਹੈ।", canvasTooBigTip: "ਨੁਸਖਾ: ਸਭ ਤੋਂ ਦੂਰ ਸਥਿੱਤ ਐਲੀਮੈਂਟਾਂ ਨੂੰ ਥੋੜ੍ਹਾ ਜਿਹਾ ਨੇੜੇ ਲਿਆ ਕੇ ਦੇਖੋ।" }, F = { headingMain: "ਕੋਈ ਸਮੱਸਿਆ ਖੜ੍ਹੀ ਹੋਈ। <button>ਪੰਨਾ ਮੁੜ-ਲੋਡ</button> ਕਰਕੇ ਦੇਖੋ।", clearCanvasMessage: "ਜੇ ਮੁੜ-ਲੋਡ ਕਰਨਾ ਕੰਮ ਨਾ ਕਰੇ, ਤਾਂ ਇਹ ਕਰਕੇ ਦੇਖੋ <button>ਕੈਨਵਸ ਸਾਫ ਕਰੋ।</button>", clearCanvasCaveat: " ਇਹ ਸਾਰਾ ਕੰਮ ਗਵਾ ਦੇਵੇਗਾ ", trackedToSentry: "ਸੂਚਕ {{eventId}} ਵਾਲੀ ਸਮੱਸਿਆ ਸਾਡੇ ਸਿਸਟਮ 'ਤੇ ਟਰੈਕ ਕੀਤੀ ਗਈ ਸੀ।", openIssueMessage: "ਅਸੀਂ ਬੜੇ ਸਾਵਧਾਨ ਸੀ ਕਿ ਗਲਤੀ ਵਿੱਚ ਤੁਹਾਡੇ ਦ੍ਰਿਸ਼ ਦੀ ਜਾਣਕਾਰੀ ਸ਼ਾਮਲ ਨਾ ਕਰੀਏ। ਜੇ ਤੁਹਾਡਾ ਦ੍ਰਿਸ਼ ਨਿੱਜੀ ਨਹੀਂ ਹੈ ਤਾਂ ਇਸ 'ਤੇ ਸਾਡੇ ਨਾਲ ਸੰਪਰਕ ਕਰੋ ਜੀ <button>ਬੱਗ ਟਰੈਕਰ।</button>ਹੇਠਾਂ ਦਿੱਤੀ ਜਾਣਕਾਰੀ ਨੂੰ ਕਾਪੀ ਕਰਕੇ ਗਿੱਟਹੱਬ ਮੁੱਦੇ ਵਿੱਚ ਪੇਸਟ ਕਰਕੇ ਸ਼ਾਮਲ ਕਰੋ ਜੀ।", sceneContent: "ਦ੍ਰਿਸ਼ ਦੀ ਸਮੱਗਰੀ:" }, B = { desc_intro: "ਤੁਸੀਂ ਲੋਕਾਂ ਨੂੰ ਆਪਣੇ ਨਾਲ ਮੌਜੂਦਾ ਦ੍ਰਿਸ਼ 'ਤੇ ਸਹਿਯੋਗ ਕਰਨ ਲਈ ਸੱਦਾ ਭੇਜ ਸਕਦੇ ਹੋ।", desc_privacy: "ਫਿਕਰ ਨਾ ਕਰੋ, ਇਜਲਾਸ ਸਿਰੇ-ਤੋਂ-ਸਿਰੇ ਤੱਕ ਇਨਕਰਿਪਸ਼ਨ ਵਰਤਦਾ ਹੈ, ਸੋ ਜੋ ਕੁਝ ਵੀ ਤੁਸੀਂ ਵਾਹੁੰਦੇ ਹੋ ਉਹ ਨਿੱਜੀ ਹੀ ਰਹਿੰਦਾ ਹੈ। ਇੱਥੋਂ ਤੱਕ ਕਿ ਸਾਡੇ ਸਰਵਰ ਵੀ ਨਹੀਂ ਜਾਣ ਸਕਣਗੇ ਕਿ ਤੁਸੀਂ ਕੀ ਬਣਾਇਆ ਹੈ।", button_startSession: "ਇਜਲਾਸ ਸ਼ੁਰੂ ਕਰੋ", button_stopSession: "ਇਜਲਾਸ ਰੋਕੋ", desc_inProgressIntro: "ਲਾਇਵ ਸਹਿਯੋਗ ਇਜਲਾਸ ਹੁਣ ਚੱਲ ਰਿਹਾ ਹੈ।", desc_shareLink: "ਇਸ ਲਿੰਕ ਨੂੰ ਉਹਨਾਂ ਨਾਲ ਸਾਂਝਾ ਕਰੋ ਜਿਹਨਾਂ ਨਾਲ ਤੁਸੀਂ ਸਹਿਯੋਗ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹੋ:", desc_exitSession: "ਇਜਲਾਸ ਨੂੰ ਰੋਕਣਾ ਤੁਹਾਡਾ ਕਮਰੇ ਨਾਲੋਂ ਨਾਤਾ ਤੋੜ ਦੇਵੇਗਾ, ਪਰ ਤੁਸੀਂ ਸਥਾਨਕ ਪੱਧਰ 'ਤੇ ਦ੍ਰਿਸ਼ ਨਾਲ ਕੰਮ ਕਰਨਾ ਜਾਰੀ ਰੱਖ ਸਕੋਗੇ। ਇਹ ਧਿਆਨ 'ਚ ਰੱਖੋ ਕਿ ਇਹ ਬਾਕੀ ਲੋਕਾਂ ਨੂੰ ਪ੍ਰਭਾਵਿਤ ਨਹੀਂ ਕਰੇਗਾ , ਅਤੇ ਉਹ ਹਾਲੇ ਵੀ ਆਪਣੇ ਸੰਸਕਰਨ 'ਤੇ ਸਹਿਯੋਗ ਕਰਨ ਦੇ ਕਾਬਲ ਹੋਣਗੇ।", shareTitle: "Excalidraw 'ਤੇ ਲਾਈਵ ਇਜਲਾਸ ਦਾ ਹਿੱਸਾ ਬਣੋ" }, l = { title: "ਗਲਤੀ" }, n = { disk_title: "ਡਿਸਕ ਵਿੱਚ ਸਾਂਭੋ", disk_details: "ਦ੍ਰਿਸ਼ ਦਾ ਡਾਟਾ ਫਾਈਲ ਵਿੱਚ ਨਿਰਯਾਤ ਕਰੋ ਜਿੱਥੋਂ ਤੁਸੀਂ ਇਸਨੂੰ ਬਾਅਦ ਵਿੱਚ ਆਯਾਤ ਕਰ ਸਕਦੇ ਹੋ।", disk_button: "ਫਾਈਲ ਵਿੱਚ ਸਾਂਭੋ", link_title: "ਸਾਂਝੀ ਕਰਨ ਵਾਲੀ ਲਿੰਕ", link_details: "ਸਿਰਫ ਦੇਖੇ-ਜਾਣ ਵਾਲੀ ਲਿੰਕ ਵਜੋਂ ਨਿਰਯਾਤ ਕਰੋ।", link_button: "ਲਿੰਕ ਵਿੱਚ ਨਿਰਯਾਤ ਕਰੋ", excalidrawplus_description: "ਆਪਣੇ ਦ੍ਰਿਸ਼ ਦੇ ਡਾਟੇ ਨੂੰ Excalidraw+ ਵਰਕਸਪੇਸ ਵਿੱਚ ਸਾਂਭੋ।", excalidrawplus_button: "ਨਿਰਯਾਤ ਕਰੋ", excalidrawplus_exportError: "ਇਸ ਸਮੇਂ Excalidraw+ ਵਿੱਚ ਨਿਰਯਾਤ ਨਹੀਂ ਕਰ ਸਕੇ..." }, C = { blog: "ਸਾਡਾ ਬਲੌਗ ਪੜ੍ਹੋ", click: "ਕਲਿੱਕ", deepSelect: "", deepBoxSelect: "", curvedArrow: "ਵਿੰਗਾ ਤੀਰ", curvedLine: "ਵਿੰਗੀ ਲਕੀਰ", documentation: "ਕਾਗਜ਼ਾਤ", doubleClick: "ਡਬਲ-ਕਲਿੱਕ", drag: "ਘਸੀਟੋ", editor: "ਸੋਧਕ", editLineArrowPoints: "", editText: "", github: "ਕੋਈ ਸਮੱਸਿਆ ਲੱਭੀ? ਜਮ੍ਹਾਂ ਕਰਵਾਓ", howto: "ਸਾਡੀਆਂ ਗਾਈਡਾਂ ਦੀ ਪਾਲਣਾ ਕਰੋ", or: "ਜਾਂ", preventBinding: "ਤੀਰ ਬੱਝਣਾ ਰੋਕੋ", tools: "ਟੂਲ", shortcuts: "ਕੀਬੋਰਡ ਸ਼ਾਰਟਕੱਟ", textFinish: "ਸੋਧਣਾ ਮੁਕੰਮਲ ਕਰੋ (ਪਾਠ ਸੋਧਕ)", textNewLine: "ਨਵੀਂ ਪੰਕਤੀ ਜੋੜੋ (ਪਾਠ ਸੋਧਕ)", title: "ਮਦਦ", view: "ਦਿੱਖ", zoomToFit: "ਸਾਰੇ ਐਲੀਮੈਂਟਾਂ ਨੂੰ ਫਿੱਟ ਕਰਨ ਲਈ ਜ਼ੂਮ ਕਰੋ", zoomToSelection: "ਚੋਣ ਤੱਕ ਜ਼ੂਮ ਕਰੋ", toggleElementLock: "", movePageUpDown: "", movePageLeftRight: "" }, s = { title: "ਕੈਨਵਸ ਨੂੰ ਸਾਫ਼ ਕਰੋ" }, d = { title: "ਲਾਇਬ੍ਰੇਰੀ ਨੂੰ ਪ੍ਰਕਾਸ਼ਤ ਕਰੋ", itemName: "ਚੀਜ਼ ਦਾ ਨਾਂ", authorName: "ਲੇਖਕ ਦਾ ਨਾਂ", githubUsername: "ਗਿੱਟਹੱਬ ਵਰਤੋਂਕਾਰ ਨਾਂ", twitterUsername: "ਟਵਿੱਟਰ ਦਾ ਵਰਤੋਂਕਾਰ-ਨਾਂ", libraryName: "ਲਾਇਬ੍ਰੇਰੀ ਦਾ ਨਾਂ", libraryDesc: "ਲਾਇਬ੍ਰੇਰੀ ਦਾ ਵੇਰਵਾ", website: "ਵੈੱਬਸਾਇਟ", placeholder: { authorName: "ਤੁਹਾਡਾ ਨਾਂ ਜਾਂ ਵਰਤੋਂਕਾਰ-ਨਾਂ", libraryName: "ਤੁਹਾਡੀ ਲਾਇਬਰ੍ਰੀ ਦਾ ਨਾਂ", libraryDesc: "ਤੁਹਾਡੀ ਲਾਇਬ੍ਰੇਰੀ ਦਾ ਵੇਰਵਾ ਤਾਂ ਜੋ ਲੋਕਾਂ ਨੂੰ ਇਸ ਤੋੰਂ ਇਸਦੀ ਵਰਤੋਂ ਕਰਨ ਸਬੰਧੀ ਮਦਦ ਮਿਲ ਸਕੇ", githubHandle: "", twitterHandle: "", website: "" }, errors: { required: "ਲੋੜੀਂਦਾ", website: "ਜਾਇਜ਼ URL ਭਰੋ" }, noteDescription: "ਹੋਰ ਲੋਕਾਂ ਵੱਲੋਂ ਤੁਹਾਡੀ ਲਾਇਬ੍ਰੇਰੀ ਨੂੰ ਵਰਤਣ ਲਈ ਸਕਣ ਇਸ ਲਈ<link>ਜਨਤਕ ਲਾਇਬ੍ਰੇਰੀ ਦੀ ਰਿਪਾਜ਼ੀਟਰੀ</link> ਵਿੱਚ ਆਪਣੀ ਲਾਇਬ੍ਰੇਰੀ ਸ਼ਾਮਲ ਕਰਵਾਉਣ ਲਈ ਜਮ੍ਹਾ ਕਰਵਾਓ", noteGuidelines: "<link>ਦਿਸ਼ਾ ਨਿਰਦੇਸ਼</link>", noteLicense: "<link>MIT ਲਾਇਸੈਂਸ, </link>", noteItems: "", atleastOneLibItem: "", republishWarning: "" }, c = { title: "ਲਾਇਬ੍ਰੇਰੀ ਜਮ੍ਹਾਂ ਕਰਵਾਈ", content: "ਧੰਨਵਾਦ {{authorName}} ਜੀਉ। ਤੁਹਾਡੀ ਲਾਇਬ੍ਰੇਰੀ ਨੂੰ ਸਮੀਖਿਆ ਲਈ ਭੇਜ ਦਿੱਤਾ ਗਿਆ ਹੈ। ਤੁਸੀਂ ਉਸਦੀ ਸਥਿਤੀ <link>ਇੱਥੇ</link> ਦੇਖ ਸਕਦੇ ਹੋ।" }, D = { resetLibrary: "ਲਾਇਬ੍ਰੇਰੀ ਰੀਸੈੱਟ ਕਰੋ", removeItemsFromLib: "ਲਾਇਬ੍ਰੇਰੀ ਵਿੱਚੋਂ ਚੁਣੀਆਂ ਹੋਈਆਂ ਆਈਟਮਾਂ ਹਟਾਓ" }, m = { header: "ਤਸਵੀਰ ਨਿਰਯਾਤ ਕਰੋ", label: { withBackground: "ਪਿਛੋਕੜ", onlySelected: "ਸਿਰਫ ਚੁਣੇ ਹੋਏ", darkMode: "ਡਾਰਕ ਮੋਡ", embedScene: "ਦ੍ਰਿਸ਼ ਮੜ੍ਹੋ", scale: "ਸਕੇਲ", padding: "ਪੈਡਿੰਗ" }, tooltip: { embedScene: "" }, title: { exportToPng: "PNG ਵਿੱਚ ਨਿਰਯਾਤ ਕਰੋ", exportToSvg: "SVG ਵਿੱਚ ਨਿਰਯਾਤ ਕਰੋ", copyPngToClipboard: "PNG ਨੂੰ ਕਲਿੱਪੋਬਰਡ ‘ਤੇ ਕਾਪੀ ਕਰੋ" }, button: { exportToPng: "PNG", exportToSvg: "SVG", copyPngToClipboard: "ਗੱਤੇ 'ਤੇ ਕਾਪੀ ਕਰੋ" } }, p = { tooltip: "ਤੁਹਾਡੀ ਡਰਾਇੰਗਾਂ ਸਿਰੇ-ਤੋਂ-ਸਿਰੇ ਤੱਕ ਇਨਕਰਿਪਟ ਕੀਤੀਆਂ ਹੋਈਆਂ ਹਨ, ਇਸ ਲਈ Excalidraw ਦੇ ਸਰਵਰ ਉਹਨਾਂ ਨੂੰ ਕਦੇ ਵੀ ਨਹੀਂ ਦੇਖਣਗੇ।", link: "Excalidraw ਵਿੱਚ ਸਿਰੇ-ਤੋਂ-ਸਿਰੇ ਤੱਕ ਇਨਕ੍ਰਿਪਸ਼ਨ 'ਤੇ ਬਲੌਗ ਸੰਪਾਦਨਾ" }, g = { angle: "ਕੋਣ", element: "ਐਲੀਮੈਂਟ", elements: "ਐਲੀਮੈਂਟ", height: "ਉਚਾਈ", scene: "ਦ੍ਰਿਸ਼", selected: "ਚੁਣੇ", storage: "ਸਟੋਰੇਜ", title: "ਪੜਾਕੂਆਂ ਲਈ ਅੰਕੜੇ", total: "ਕੁੱਲ", version: "ਸੰਸਕਰਨ", versionCopy: "ਕਾਪੀ ਕਰਨ ਲਈ ਕਲਿੱਕ ਕਰੋ", versionNotAvailable: "ਸੰਸਕਰਨ ਉਪਲਬਧ ਨਹੀਂ ਹੈ", width: "ਚੌੜਾਈ" }, b = { addedToLibrary: "ਲਾਇਬ੍ਰੇਰੀ ਵਿੱਚ ਜੋੜਿਆ", copyStyles: "ਕਾਪੀ ਕੀਤੇ ਸਟਾਇਲ।", copyToClipboard: "ਕਲਿੱਪਬੋਰਡ 'ਤੇ ਕਾਪੀ ਕੀਤਾ।", copyToClipboardAsPng: "{{exportSelection}} ਨੂੰ ਕਲਿੱਪਬੋਰਡ 'ਤੇ PNG ਵਜੋਂ ਕਾਪੀ ਕੀਤਾ ({{exportColorScheme}})", fileSaved: "ਫਾਈਲ ਸਾਂਭੀ ਗਈ।", fileSavedToFilename: "{filename} ਵਿੱਚ ਸਾਂਭੀ", canvas: "ਕੈਨਵਸ", selection: "ਚੋਣ", pasteAsSingleElement: "", unableToEmbed: "", unrecognizedLinkFormat: "" }, h = { transparent: "ਪਾਰਦਰਸ਼ੀ", black: "ਕਾਲੀ", white: "ਸਫ਼ੈਦ", red: "ਲਾਲ", pink: "ਗੁਲਾਬੀ", grape: "ਅੰਗੂਰੀ", violet: "ਜਾਮਣੀ", gray: "ਸੁਰਮਈ", blue: "ਨੀਲਾ", cyan: "ਫਿਰੋਜੀ", teal: "ਟੀਲ", green: "ਹਰਾ", yellow: "ਪੀਲਾ", orange: "ਸੰਤਰੀ", bronze: "ਕਾਂਸੇਰੰਗਾ" }, y = { app: { center_heading: "ਤੁਹਾਡਾ ਸਾਰਾ ਡਾਟਾ ਤੁਹਾਡੇ ਲੋਕਲ ਬਰਾਉਜ਼ਰ ਵਿੱਚ ਸਾਂਭਿਆ ਹੋਇਆ ਹੈ।", center_heading_plus: "", menuHint: "ਨਿਰਯਾਤ, ਤਰਜੀਹਾਂ, ਭਾਸ਼ਾਵਾਂ, …" }, defaults: { menuHint: "ਨਿਰਯਾਤ, ਤਰਜੀਹਾਂ, ਅਤੇ ਹੋਰ ਵੀ ਬਹੁਤ ਕੁਝ…", center_heading: "ਡਾਇਆਗ੍ਰਾਮਾਂ। ਕੀਤੀਆਂ। ਸੁਖਾਲੀਆਂ।", toolbarHint: "", helpHint: "ਸ਼ਾਰਟਕੱਟ ਤੇ ਮਦਦ" } }, S = { mostUsedCustomColors: "ਸਭ ਤੋਂ ਵੱਧ ਵਰਤੇ ਜਾਣ ਵਾਲੇ ਕਸਟਮ ਰੰਗ", colors: "ਰੰਗ", shades: "ਸ਼ੇਡਾਂ", hexCode: "ਹੈਕਸ ਕੋਡ", noShades: "ਇਸ ਰੰਗ ਦੀ ਕੋਈ ਸ਼ੇਡ ਉਪਲਬਧ ਨਹੀਂ ਹੈ" }, v = { action: { exportToImage: { title: "", button: "", description: "" }, saveToDisk: { title: "", button: "", description: "" }, excalidrawPlus: { title: "", button: "", description: "" } }, modal: { loadFromFile: { title: "", button: "", description: "" }, shareableLink: { title: "", button: "", description: "" } } }, w = { title: "", button: "", description: "", syntax: "", preview: "" }, k = { labels: A, library: u, buttons: E, alerts: e, errors: a, toolBar: o, headings: r, hints: t, canvasError: i, errorSplash: F, roomDialog: B, errorDialog: l, exportDialog: n, helpDialog: C, clearCanvasDialog: s, publishDialog: d, publishSuccessDialog: c, confirmDialog: D, imageExportDialog: m, encrypted: p, stats: g, toast: b, colors: h, welcomeScreen: y, colorPicker: S, overwriteConfirm: v, mermaid: w };
|
|
6
|
+
export {
|
|
7
|
+
e as alerts,
|
|
8
|
+
E as buttons,
|
|
9
|
+
i as canvasError,
|
|
10
|
+
s as clearCanvasDialog,
|
|
11
|
+
S as colorPicker,
|
|
12
|
+
h as colors,
|
|
13
|
+
D as confirmDialog,
|
|
14
|
+
k as default,
|
|
15
|
+
p as encrypted,
|
|
16
|
+
l as errorDialog,
|
|
17
|
+
F as errorSplash,
|
|
18
|
+
a as errors,
|
|
19
|
+
n as exportDialog,
|
|
20
|
+
r as headings,
|
|
21
|
+
C as helpDialog,
|
|
22
|
+
t as hints,
|
|
23
|
+
m as imageExportDialog,
|
|
24
|
+
A as labels,
|
|
25
|
+
u as library,
|
|
26
|
+
w as mermaid,
|
|
27
|
+
v as overwriteConfirm,
|
|
28
|
+
d as publishDialog,
|
|
29
|
+
c as publishSuccessDialog,
|
|
30
|
+
B as roomDialog,
|
|
31
|
+
g as stats,
|
|
32
|
+
b as toast,
|
|
33
|
+
o as toolBar,
|
|
34
|
+
y as welcomeScreen
|
|
35
|
+
};
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { s as P, d as N, p as W } from "./layers.mkPf05Ff.js";
|
|
2
|
+
import { g as t, d as H, l as b, e as R, j as T, r as v, u as U } from "./layers.KZKDnGbd.js";
|
|
3
|
+
import "lodash-es";
|
|
4
|
+
import { l as C } from "./layers.D4T8fTcj.js";
|
|
5
|
+
import { G as F } from "./layers.BJDrjORS.js";
|
|
6
|
+
import "./layers.DzWUGmmi.js";
|
|
7
|
+
import { l as $ } from "./layers.1kchl9Fg.js";
|
|
8
|
+
const O = (e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), X = (e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), J = (e, i) => {
|
|
9
|
+
const o = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = o.node().getBBox();
|
|
10
|
+
return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), o;
|
|
11
|
+
}, Y = (e, i) => {
|
|
12
|
+
const o = function(l, m, w) {
|
|
13
|
+
const E = l.append("tspan").attr("x", 2 * t().state.padding).text(m);
|
|
14
|
+
w || E.attr("dy", t().state.textHeight);
|
|
15
|
+
}, s = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 1.3 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.descriptions[0]).node().getBBox(), g = s.height, p = e.append("text").attr("x", t().state.padding).attr(
|
|
16
|
+
"y",
|
|
17
|
+
g + t().state.padding * 0.4 + t().state.dividerMargin + t().state.textHeight
|
|
18
|
+
).attr("class", "state-description");
|
|
19
|
+
let a = !0, r = !0;
|
|
20
|
+
i.descriptions.forEach(function(l) {
|
|
21
|
+
a || (o(p, l, r), r = !1), a = !1;
|
|
22
|
+
});
|
|
23
|
+
const y = e.append("line").attr("x1", t().state.padding).attr("y1", t().state.padding + g + t().state.dividerMargin / 2).attr("y2", t().state.padding + g + t().state.dividerMargin / 2).attr("class", "descr-divider"), x = p.node().getBBox(), d = Math.max(x.width, s.width);
|
|
24
|
+
return y.attr("x2", d + 3 * t().state.padding), e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", d + 2 * t().state.padding).attr("height", x.height + g + 2 * t().state.padding).attr("rx", t().state.radius), e;
|
|
25
|
+
}, I = (e, i, o) => {
|
|
26
|
+
const c = t().state.padding, s = 2 * t().state.padding, g = e.node().getBBox(), p = g.width, a = g.x, r = e.append("text").attr("x", 0).attr("y", t().state.titleShift).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), x = r.node().getBBox().width + s;
|
|
27
|
+
let d = Math.max(x, p);
|
|
28
|
+
d === p && (d = d + s);
|
|
29
|
+
let l;
|
|
30
|
+
const m = e.node().getBBox();
|
|
31
|
+
i.doc, l = a - c, x > p && (l = (p - d) / 2 + c), Math.abs(a - m.x) < c && x > p && (l = a - (x - p) / 2);
|
|
32
|
+
const w = 1 - t().state.textHeight;
|
|
33
|
+
return e.insert("rect", ":first-child").attr("x", l).attr("y", w).attr("class", o ? "alt-composit" : "composit").attr("width", d).attr(
|
|
34
|
+
"height",
|
|
35
|
+
m.height + t().state.textHeight + t().state.titleShift + 1
|
|
36
|
+
).attr("rx", "0"), r.attr("x", l + c), x <= p && r.attr("x", a + (d - s) / 2 - x / 2 + c), e.insert("rect", ":first-child").attr("x", l).attr(
|
|
37
|
+
"y",
|
|
38
|
+
t().state.titleShift - t().state.textHeight - t().state.padding
|
|
39
|
+
).attr("width", d).attr("height", t().state.textHeight * 3).attr("rx", t().state.radius), e.insert("rect", ":first-child").attr("x", l).attr(
|
|
40
|
+
"y",
|
|
41
|
+
t().state.titleShift - t().state.textHeight - t().state.padding
|
|
42
|
+
).attr("width", d).attr("height", m.height + 3 + 2 * t().state.textHeight).attr("rx", t().state.radius), e;
|
|
43
|
+
}, _ = (e) => (e.append("circle").attr("class", "end-state-outer").attr("r", t().state.sizeUnit + t().state.miniPadding).attr(
|
|
44
|
+
"cx",
|
|
45
|
+
t().state.padding + t().state.sizeUnit + t().state.miniPadding
|
|
46
|
+
).attr(
|
|
47
|
+
"cy",
|
|
48
|
+
t().state.padding + t().state.sizeUnit + t().state.miniPadding
|
|
49
|
+
), e.append("circle").attr("class", "end-state-inner").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit + 2).attr("cy", t().state.padding + t().state.sizeUnit + 2)), q = (e, i) => {
|
|
50
|
+
let o = t().state.forkWidth, c = t().state.forkHeight;
|
|
51
|
+
if (i.parentId) {
|
|
52
|
+
let s = o;
|
|
53
|
+
o = c, c = s;
|
|
54
|
+
}
|
|
55
|
+
return e.append("rect").style("stroke", "black").style("fill", "black").attr("width", o).attr("height", c).attr("x", t().state.padding).attr("y", t().state.padding);
|
|
56
|
+
}, Z = (e, i, o, c) => {
|
|
57
|
+
let s = 0;
|
|
58
|
+
const g = c.append("text");
|
|
59
|
+
g.style("text-anchor", "start"), g.attr("class", "noteText");
|
|
60
|
+
let p = e.replace(/\r\n/g, "<br/>");
|
|
61
|
+
p = p.replace(/\n/g, "<br/>");
|
|
62
|
+
const a = p.split(T.lineBreakRegex);
|
|
63
|
+
let r = 1.25 * t().state.noteMargin;
|
|
64
|
+
for (const y of a) {
|
|
65
|
+
const x = y.trim();
|
|
66
|
+
if (x.length > 0) {
|
|
67
|
+
const d = g.append("tspan");
|
|
68
|
+
if (d.text(x), r === 0) {
|
|
69
|
+
const l = d.node().getBBox();
|
|
70
|
+
r += l.height;
|
|
71
|
+
}
|
|
72
|
+
s += r, d.attr("x", i + t().state.noteMargin), d.attr("y", o + s + 1.25 * t().state.noteMargin);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return { textWidth: g.node().getBBox().width, textHeight: s };
|
|
76
|
+
}, j = (e, i) => {
|
|
77
|
+
i.attr("class", "state-note");
|
|
78
|
+
const o = i.append("rect").attr("x", 0).attr("y", t().state.padding), c = i.append("g"), { textWidth: s, textHeight: g } = Z(e, 0, 0, c);
|
|
79
|
+
return o.attr("height", g + 2 * t().state.noteMargin), o.attr("width", s + t().state.noteMargin * 2), o;
|
|
80
|
+
}, L = function(e, i) {
|
|
81
|
+
const o = i.id, c = {
|
|
82
|
+
id: o,
|
|
83
|
+
label: i.id,
|
|
84
|
+
width: 0,
|
|
85
|
+
height: 0
|
|
86
|
+
}, s = e.append("g").attr("id", o).attr("class", "stateGroup");
|
|
87
|
+
i.type === "start" && O(s), i.type === "end" && _(s), (i.type === "fork" || i.type === "join") && q(s, i), i.type === "note" && j(i.note.text, s), i.type === "divider" && X(s), i.type === "default" && i.descriptions.length === 0 && J(s, i), i.type === "default" && i.descriptions.length > 0 && Y(s, i);
|
|
88
|
+
const g = s.node().getBBox();
|
|
89
|
+
return c.width = g.width + 2 * t().state.padding, c.height = g.height + 2 * t().state.padding, c;
|
|
90
|
+
};
|
|
91
|
+
let G = 0;
|
|
92
|
+
const K = function(e, i, o) {
|
|
93
|
+
const c = function(r) {
|
|
94
|
+
switch (r) {
|
|
95
|
+
case N.relationType.AGGREGATION:
|
|
96
|
+
return "aggregation";
|
|
97
|
+
case N.relationType.EXTENSION:
|
|
98
|
+
return "extension";
|
|
99
|
+
case N.relationType.COMPOSITION:
|
|
100
|
+
return "composition";
|
|
101
|
+
case N.relationType.DEPENDENCY:
|
|
102
|
+
return "dependency";
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
i.points = i.points.filter((r) => !Number.isNaN(r.y));
|
|
106
|
+
const s = i.points, g = $().x(function(r) {
|
|
107
|
+
return r.x;
|
|
108
|
+
}).y(function(r) {
|
|
109
|
+
return r.y;
|
|
110
|
+
}).curve(v), p = e.append("path").attr("d", g(s)).attr("id", "edge" + G).attr("class", "transition");
|
|
111
|
+
let a = "";
|
|
112
|
+
if (t().state.arrowMarkerAbsolute && (a = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, a = a.replace(/\(/g, "\\("), a = a.replace(/\)/g, "\\)")), p.attr(
|
|
113
|
+
"marker-end",
|
|
114
|
+
"url(" + a + "#" + c(N.relationType.DEPENDENCY) + "End)"
|
|
115
|
+
), o.title !== void 0) {
|
|
116
|
+
const r = e.append("g").attr("class", "stateLabel"), { x: y, y: x } = U.calcLabelPosition(i.points), d = T.getRows(o.title);
|
|
117
|
+
let l = 0;
|
|
118
|
+
const m = [];
|
|
119
|
+
let w = 0, E = 0;
|
|
120
|
+
for (let u = 0; u <= d.length; u++) {
|
|
121
|
+
const h = r.append("text").attr("text-anchor", "middle").text(d[u]).attr("x", y).attr("y", x + l), f = h.node().getBBox();
|
|
122
|
+
w = Math.max(w, f.width), E = Math.min(E, f.x), b.info(f.x, y, x + l), l === 0 && (l = h.node().getBBox().height, b.info("Title height", l, x)), m.push(h);
|
|
123
|
+
}
|
|
124
|
+
let k = l * d.length;
|
|
125
|
+
if (d.length > 1) {
|
|
126
|
+
const u = (d.length - 1) * l * 0.5;
|
|
127
|
+
m.forEach((h, f) => h.attr("y", x + f * l - u)), k = l * d.length;
|
|
128
|
+
}
|
|
129
|
+
const n = r.node().getBBox();
|
|
130
|
+
r.insert("rect", ":first-child").attr("class", "box").attr("x", y - w / 2 - t().state.padding / 2).attr("y", x - k / 2 - t().state.padding / 2 - 3.5).attr("width", w + t().state.padding).attr("height", k + t().state.padding), b.info(n);
|
|
131
|
+
}
|
|
132
|
+
G++;
|
|
133
|
+
};
|
|
134
|
+
let B;
|
|
135
|
+
const z = {}, Q = function() {
|
|
136
|
+
}, V = function(e) {
|
|
137
|
+
e.append("defs").append("marker").attr("id", "dependencyEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
|
|
138
|
+
}, D = function(e, i, o, c) {
|
|
139
|
+
B = t().state;
|
|
140
|
+
const s = t().securityLevel;
|
|
141
|
+
let g;
|
|
142
|
+
s === "sandbox" && (g = H("#i" + i));
|
|
143
|
+
const p = s === "sandbox" ? H(g.nodes()[0].contentDocument.body) : H("body"), a = s === "sandbox" ? g.nodes()[0].contentDocument : document;
|
|
144
|
+
b.debug("Rendering diagram " + e);
|
|
145
|
+
const r = p.select(`[id='${i}']`);
|
|
146
|
+
V(r);
|
|
147
|
+
const y = c.db.getRootDoc();
|
|
148
|
+
A(y, r, void 0, !1, p, a, c);
|
|
149
|
+
const x = B.padding, d = r.node().getBBox(), l = d.width + x * 2, m = d.height + x * 2, w = l * 1.75;
|
|
150
|
+
R(r, m, w, B.useMaxWidth), r.attr(
|
|
151
|
+
"viewBox",
|
|
152
|
+
`${d.x - B.padding} ${d.y - B.padding} ` + l + " " + m
|
|
153
|
+
);
|
|
154
|
+
}, tt = (e) => e ? e.length * B.fontSizeFactor : 1, A = (e, i, o, c, s, g, p) => {
|
|
155
|
+
const a = new F({
|
|
156
|
+
compound: !0,
|
|
157
|
+
multigraph: !0
|
|
158
|
+
});
|
|
159
|
+
let r, y = !0;
|
|
160
|
+
for (r = 0; r < e.length; r++)
|
|
161
|
+
if (e[r].stmt === "relation") {
|
|
162
|
+
y = !1;
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
o ? a.setGraph({
|
|
166
|
+
rankdir: "LR",
|
|
167
|
+
multigraph: !0,
|
|
168
|
+
compound: !0,
|
|
169
|
+
// acyclicer: 'greedy',
|
|
170
|
+
ranker: "tight-tree",
|
|
171
|
+
ranksep: y ? 1 : B.edgeLengthFactor,
|
|
172
|
+
nodeSep: y ? 1 : 50,
|
|
173
|
+
isMultiGraph: !0
|
|
174
|
+
// ranksep: 5,
|
|
175
|
+
// nodesep: 1
|
|
176
|
+
}) : a.setGraph({
|
|
177
|
+
rankdir: "TB",
|
|
178
|
+
multigraph: !0,
|
|
179
|
+
compound: !0,
|
|
180
|
+
// isCompound: true,
|
|
181
|
+
// acyclicer: 'greedy',
|
|
182
|
+
// ranker: 'longest-path'
|
|
183
|
+
ranksep: y ? 1 : B.edgeLengthFactor,
|
|
184
|
+
nodeSep: y ? 1 : 50,
|
|
185
|
+
ranker: "tight-tree",
|
|
186
|
+
// ranker: 'network-simplex'
|
|
187
|
+
isMultiGraph: !0
|
|
188
|
+
}), a.setDefaultEdgeLabel(function() {
|
|
189
|
+
return {};
|
|
190
|
+
}), p.db.extract(e);
|
|
191
|
+
const x = p.db.getStates(), d = p.db.getRelations(), l = Object.keys(x);
|
|
192
|
+
for (const n of l) {
|
|
193
|
+
const u = x[n];
|
|
194
|
+
o && (u.parentId = o);
|
|
195
|
+
let h;
|
|
196
|
+
if (u.doc) {
|
|
197
|
+
let f = i.append("g").attr("id", u.id).attr("class", "stateGroup");
|
|
198
|
+
h = A(u.doc, f, u.id, !c, s, g, p);
|
|
199
|
+
{
|
|
200
|
+
f = I(f, u, c);
|
|
201
|
+
let S = f.node().getBBox();
|
|
202
|
+
h.width = S.width, h.height = S.height + B.padding / 2, z[u.id] = { y: B.compositTitleSize };
|
|
203
|
+
}
|
|
204
|
+
} else
|
|
205
|
+
h = L(i, u);
|
|
206
|
+
if (u.note) {
|
|
207
|
+
const f = {
|
|
208
|
+
descriptions: [],
|
|
209
|
+
id: u.id + "-note",
|
|
210
|
+
note: u.note,
|
|
211
|
+
type: "note"
|
|
212
|
+
}, S = L(i, f);
|
|
213
|
+
u.note.position === "left of" ? (a.setNode(h.id + "-note", S), a.setNode(h.id, h)) : (a.setNode(h.id, h), a.setNode(h.id + "-note", S)), a.setParent(h.id, h.id + "-group"), a.setParent(h.id + "-note", h.id + "-group");
|
|
214
|
+
} else
|
|
215
|
+
a.setNode(h.id, h);
|
|
216
|
+
}
|
|
217
|
+
b.debug("Count=", a.nodeCount(), a);
|
|
218
|
+
let m = 0;
|
|
219
|
+
d.forEach(function(n) {
|
|
220
|
+
m++, b.debug("Setting edge", n), a.setEdge(
|
|
221
|
+
n.id1,
|
|
222
|
+
n.id2,
|
|
223
|
+
{
|
|
224
|
+
relation: n,
|
|
225
|
+
width: tt(n.title),
|
|
226
|
+
height: B.labelHeight * T.getRows(n.title).length,
|
|
227
|
+
labelpos: "c"
|
|
228
|
+
},
|
|
229
|
+
"id" + m
|
|
230
|
+
);
|
|
231
|
+
}), C(a), b.debug("Graph after layout", a.nodes());
|
|
232
|
+
const w = i.node();
|
|
233
|
+
a.nodes().forEach(function(n) {
|
|
234
|
+
n !== void 0 && a.node(n) !== void 0 ? (b.warn("Node " + n + ": " + JSON.stringify(a.node(n))), s.select("#" + w.id + " #" + n).attr(
|
|
235
|
+
"transform",
|
|
236
|
+
"translate(" + (a.node(n).x - a.node(n).width / 2) + "," + (a.node(n).y + (z[n] ? z[n].y : 0) - a.node(n).height / 2) + " )"
|
|
237
|
+
), s.select("#" + w.id + " #" + n).attr("data-x-shift", a.node(n).x - a.node(n).width / 2), g.querySelectorAll("#" + w.id + " #" + n + " .divider").forEach((h) => {
|
|
238
|
+
const f = h.parentElement;
|
|
239
|
+
let S = 0, M = 0;
|
|
240
|
+
f && (f.parentElement && (S = f.parentElement.getBBox().width), M = parseInt(f.getAttribute("data-x-shift"), 10), Number.isNaN(M) && (M = 0)), h.setAttribute("x1", 0 - M + 8), h.setAttribute("x2", S - M - 8);
|
|
241
|
+
})) : b.debug("No Node " + n + ": " + JSON.stringify(a.node(n)));
|
|
242
|
+
});
|
|
243
|
+
let E = w.getBBox();
|
|
244
|
+
a.edges().forEach(function(n) {
|
|
245
|
+
n !== void 0 && a.edge(n) !== void 0 && (b.debug("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(a.edge(n))), K(i, a.edge(n), a.edge(n).relation));
|
|
246
|
+
}), E = w.getBBox();
|
|
247
|
+
const k = {
|
|
248
|
+
id: o || "root",
|
|
249
|
+
label: o || "root",
|
|
250
|
+
width: 0,
|
|
251
|
+
height: 0
|
|
252
|
+
};
|
|
253
|
+
return k.width = E.width + 2 * B.padding, k.height = E.height + 2 * B.padding, b.debug("Doc rendered", k, a), k;
|
|
254
|
+
}, et = {
|
|
255
|
+
setConf: Q,
|
|
256
|
+
draw: D
|
|
257
|
+
}, ct = {
|
|
258
|
+
parser: W,
|
|
259
|
+
db: N,
|
|
260
|
+
renderer: et,
|
|
261
|
+
styles: P,
|
|
262
|
+
init: (e) => {
|
|
263
|
+
e.state || (e.state = {}), e.state.arrowMarkerAbsolute = e.arrowMarkerAbsolute, N.clear();
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
export {
|
|
267
|
+
ct as diagram
|
|
268
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime"),i=require("react"),e=require("./layers.CFEmW02q.js"),S=require("./layers.Dhs3Sikn.js"),l=e.re("INSERT_EXCALIDRAW_COMMAND");function w(){const[n]=e.o(),[c,r]=i.useState(!1),[t,d]=i.useState(null),a=i.useRef(null);i.useEffect(()=>{if(!n.hasNodes([e.ExcalidrawNode]))throw new Error("ExcalidrawPlugin: ExcalidrawNode not registered on editor");return n.registerCommand(l,()=>{r(!0);const s=e.getCurrentElement();return d(s),!0},e.Ki)},[n]);const u=()=>{r(!1),a.current=!1},E=()=>{r(!1)},f=(s,N,x)=>{n.update(()=>{const o=e.$createExcalidrawNode();o.setData(JSON.stringify({appState:N,elements:s,files:x})),t&&t.getParent()&&(t==null||t.replace(o))}),r(!1)};return C.jsx(S.ExcalidrawModal,{initialElements:[],initialAppState:{},initialFiles:{},isShown:c,onDelete:E,onClose:u,onSave:f,closeOnClickOutside:!1,isEdited:a})}exports.INSERT_EXCALIDRAW_COMMAND=l;exports.default=w;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
"use strict";const u=require("./layers.BSB9eX8_.js");var gt=(function(){var t=function(A,r,n,i){for(n=n||{},i=A.length;i--;n[A[i]]=r);return n},s=[1,2],a=[1,3],h=[1,4],d=[2,4],y=[1,9],p=[1,11],k=[1,15],f=[1,16],b=[1,17],E=[1,18],R=[1,30],Y=[1,19],G=[1,20],U=[1,21],j=[1,22],M=[1,23],z=[1,25],H=[1,26],X=[1,27],K=[1,28],W=[1,29],J=[1,32],q=[1,33],Q=[1,34],Z=[1,35],$=[1,31],c=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],tt=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],xt=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"-->":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"-->",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(r,n,i,o,S,e,w){var l=e.length-1;switch(S){case 3:return o.setRootDoc(e[l]),e[l];case 4:this.$=[];break;case 5:e[l]!="nl"&&(e[l-1].push(e[l]),this.$=e[l-1]);break;case 6:case 7:this.$=e[l];break;case 8:this.$="nl";break;case 11:this.$=e[l];break;case 12:const B=e[l-1];B.description=o.trimColon(e[l]),this.$=B;break;case 13:this.$={stmt:"relation",state1:e[l-2],state2:e[l]};break;case 14:const ft=o.trimColon(e[l]);this.$={stmt:"relation",state1:e[l-3],state2:e[l-1],description:ft};break;case 18:this.$={stmt:"state",id:e[l-3],type:"default",description:"",doc:e[l-1]};break;case 19:var C=e[l],O=e[l-2].trim();if(e[l].match(":")){var et=e[l].split(":");C=et[0],O=[O,et[1]]}this.$={stmt:"state",id:C,type:"default",description:O};break;case 20:this.$={stmt:"state",id:e[l-3],type:"default",description:e[l-5],doc:e[l-1]};break;case 21:this.$={stmt:"state",id:e[l],type:"fork"};break;case 22:this.$={stmt:"state",id:e[l],type:"join"};break;case 23:this.$={stmt:"state",id:e[l],type:"choice"};break;case 24:this.$={stmt:"state",id:o.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:e[l-1].trim(),note:{position:e[l-2].trim(),text:e[l].trim()}};break;case 28:this.$=e[l].trim(),o.setAccTitle(this.$);break;case 29:case 30:this.$=e[l].trim(),o.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:e[l-1].trim(),classes:e[l].trim()};break;case 33:this.$={stmt:"applyClass",id:e[l-1].trim(),styleClass:e[l].trim()};break;case 34:o.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:o.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:o.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:o.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:e[l].trim(),type:"default",description:""};break;case 42:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break;case 43:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break}},table:[{3:1,4:s,5:a,6:h},{1:[3]},{3:5,4:s,5:a,6:h},{3:6,4:s,5:a,6:h},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:y,5:p,8:8,9:10,10:12,11:13,12:14,15:k,16:f,18:b,21:E,23:R,24:Y,25:G,26:U,27:j,28:M,31:24,32:z,34:H,36:X,37:K,41:W,44:J,45:q,46:Q,47:Z,50:$},t(c,[2,5]),{9:36,10:12,11:13,12:14,15:k,16:f,18:b,21:E,23:R,24:Y,25:G,26:U,27:j,28:M,31:24,32:z,34:H,36:X,37:K,41:W,44:J,45:q,46:Q,47:Z,50:$},t(c,[2,7]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11],{13:[1,37],14:[1,38]}),t(c,[2,15]),{17:[1,39]},t(c,[2,17],{19:[1,40]}),{22:[1,41]},t(c,[2,21]),t(c,[2,22]),t(c,[2,23]),t(c,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(c,[2,27]),{33:[1,46]},{35:[1,47]},t(c,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(tt,[2,40],{51:[1,51]}),t(tt,[2,41],{51:[1,52]}),t(c,[2,34]),t(c,[2,35]),t(c,[2,36]),t(c,[2,37]),t(c,[2,6]),t(c,[2,12]),{12:53,23:R,50:$},t(c,[2,16]),t(xt,d,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(c,[2,28]),t(c,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(c,[2,13],{13:[1,63]}),{4:y,5:p,8:8,9:10,10:12,11:13,12:14,15:k,16:f,18:b,20:[1,64],21:E,23:R,24:Y,25:G,26:U,27:j,28:M,31:24,32:z,34:H,36:X,37:K,41:W,44:J,45:q,46:Q,47:Z,50:$},t(c,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(c,[2,31]),t(c,[2,32]),t(c,[2,33]),t(tt,[2,42]),t(tt,[2,43]),t(c,[2,14]),t(c,[2,18]),t(xt,d,{7:68}),t(c,[2,25]),t(c,[2,26]),{4:y,5:p,8:8,9:10,10:12,11:13,12:14,15:k,16:f,18:b,20:[1,69],21:E,23:R,24:Y,25:G,26:U,27:j,28:M,31:24,32:z,34:H,36:X,37:K,41:W,44:J,45:q,46:Q,47:Z,50:$},t(c,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(r,n){if(n.recoverable)this.trace(r);else{var i=new Error(r);throw i.hash=n,i}},parse:function(r){var n=this,i=[0],o=[],S=[null],e=[],w=this.table,l="",C=0,O=0,et=2,B=1,ft=e.slice.call(arguments,1),g=Object.create(this.lexer),L={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(L.yy[dt]=this.yy[dt]);g.setInput(r,L.yy),L.yy.lexer=g,L.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var yt=g.yylloc;e.push(yt);var Yt=g.options&&g.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Gt(){var D;return D=o.pop()||g.lex()||B,typeof D!="number"&&(D instanceof Array&&(o=D,D=o.pop()),D=n.symbols_[D]||D),D}for(var _,v,m,pt,N={},st,x,Dt,it;;){if(v=i[i.length-1],this.defaultActions[v]?m=this.defaultActions[v]:((_===null||typeof _>"u")&&(_=Gt()),m=w[v]&&w[v][_]),typeof m>"u"||!m.length||!m[0]){var St="";it=[];for(st in w[v])this.terminals_[st]&&st>et&&it.push("'"+this.terminals_[st]+"'");g.showPosition?St="Parse error on line "+(C+1)+`:
|
|
2
|
+
`+g.showPosition()+`
|
|
3
|
+
Expecting `+it.join(", ")+", got '"+(this.terminals_[_]||_)+"'":St="Parse error on line "+(C+1)+": Unexpected "+(_==B?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(St,{text:g.match,token:this.terminals_[_]||_,line:g.yylineno,loc:yt,expected:it})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(m[0]){case 1:i.push(_),S.push(g.yytext),e.push(g.yylloc),i.push(m[1]),_=null,O=g.yyleng,l=g.yytext,C=g.yylineno,yt=g.yylloc;break;case 2:if(x=this.productions_[m[1]][1],N.$=S[S.length-x],N._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},Yt&&(N._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),pt=this.performAction.apply(N,[l,O,C,L.yy,m[1],S,e].concat(ft)),typeof pt<"u")return pt;x&&(i=i.slice(0,-1*x*2),S=S.slice(0,-1*x),e=e.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),S.push(N.$),e.push(N._$),Dt=w[i[i.length-2]][i[i.length-1]],i.push(Dt);break;case 3:return!0}}return!0}},Vt=(function(){var A={EOF:1,parseError:function(n,i){if(this.yy.parser)this.yy.parser.parseError(n,i);else throw new Error(n)},setInput:function(r,n){return this.yy=n||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var n=r.length,i=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===o.length?this.yylloc.first_column:0)+o[o.length-i.length].length-i[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
5
|
+
`+n+"^"},test_match:function(r,n){var i,o,S;if(this.options.backtrack_lexer&&(S={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(S.yylloc.range=this.yylloc.range.slice(0))),o=r[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],i=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var e in S)this[e]=S[e];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,n,i,o;this._more||(this.yytext="",this.match="");for(var S=this._currentRules(),e=0;e<S.length;e++)if(i=this._input.match(this.rules[S[e]]),i&&(!n||i[0].length>n[0].length)){if(n=i,o=e,this.options.backtrack_lexer){if(r=this.test_match(i,S[e]),r!==!1)return r;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(r=this.test_match(n,S[o]),r!==!1?r:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var n=this.next();return n||this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){var n=this.conditionStack.length-1;return n>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},pushState:function(n){this.begin(n)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(n,i,o,S){switch(o){case 0:return 40;case 1:return 44;case 2:return 45;case 3:return 46;case 4:return 47;case 5:break;case 6:break;case 7:return 5;case 8:break;case 9:break;case 10:break;case 11:break;case 12:return this.pushState("SCALE"),16;case 13:return 17;case 14:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 20:this.popState();break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 29:return this.pushState("SCALE"),16;case 30:return 17;case 31:this.popState();break;case 32:this.pushState("STATE");break;case 33:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),24;case 34:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 35:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),26;case 36:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),24;case 37:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 38:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),26;case 39:return 44;case 40:return 45;case 41:return 46;case 42:return 47;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:return this.popState(),"ID";case 46:this.popState();break;case 47:return"STATE_DESCR";case 48:return 18;case 49:this.popState();break;case 50:return this.popState(),this.pushState("struct"),19;case 51:break;case 52:return this.popState(),20;case 53:break;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 59:break;case 60:return"NOTE_TEXT";case 61:return this.popState(),"ID";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),i.yytext=i.yytext.substr(2).trim(),30;case 64:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),30;case 65:return 6;case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return i.yytext=i.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 74:return 5;case 75:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,32,39,40,41,42,51,52,53,54,68,69,70,71,72],inclusive:!1},FLOATING_NOTE_ID:{rules:[61],inclusive:!1},FLOATING_NOTE:{rules:[58,59,60],inclusive:!1},NOTE_TEXT:{rules:[63,64],inclusive:!1},NOTE_ID:{rules:[62],inclusive:!1},NOTE:{rules:[55,56,57],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,30,31],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[45],inclusive:!1},STATE_STRING:{rules:[46,47],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,33,34,35,36,37,38,43,44,48,49,50],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,50,54,65,66,67,68,69,70,71,73,74,75],inclusive:!0}}};return A})();ht.lexer=Vt;function ut(){this.yy={}}return ut.prototype=ht,ht.Parser=ut,new ut})();gt.parser=gt;const Ut=gt,jt="LR",Mt="TB",at="state",Et="relation",zt="classDef",Ht="applyClass",ot="default",vt="divider",kt="[*]",It="start",Ot=kt,Nt="end",At="color",Ct="fill",Xt="bgFill",Kt=",";function Rt(){return{}}let $t=jt,lt=[],P=Rt();const wt=()=>({relations:[],states:{},documents:{}});let ct={root:wt()},T=ct.root,F=0,Lt=0;const Wt={LINE:0,DOTTED_LINE:1},Jt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},rt=t=>JSON.parse(JSON.stringify(t)),qt=t=>{u.log$1.info("Setting root doc",t),lt=t},Qt=()=>lt,nt=(t,s,a)=>{if(s.stmt===Et)nt(t,s.state1,!0),nt(t,s.state2,!1);else if(s.stmt===at&&(s.id==="[*]"?(s.id=a?t.id+"_start":t.id+"_end",s.start=a):s.id=s.id.trim()),s.doc){const h=[];let d=[],y;for(y=0;y<s.doc.length;y++)if(s.doc[y].type===vt){const p=rt(s.doc[y]);p.doc=rt(d),h.push(p),d=[]}else d.push(s.doc[y]);if(h.length>0&&d.length>0){const p={stmt:at,id:u.generateId(),type:"divider",doc:rt(d)};h.push(rt(p)),s.doc=h}s.doc.forEach(p=>nt(s,p,!0))}},Zt=()=>(nt({id:"root"},{id:"root",doc:lt},!0),{id:"root",doc:lt}),te=t=>{let s;t.doc?s=t.doc:s=t,u.log$1.info(s),Bt(!0),u.log$1.info("Extract",s),s.forEach(a=>{switch(a.stmt){case at:I(a.id.trim(),a.type,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles);break;case Et:Pt(a.state1,a.state2,a.description);break;case zt:Ft(a.id.trim(),a.classes);break;case Ht:bt(a.id.trim(),a.styleClass);break}})},I=function(t,s=ot,a=null,h=null,d=null,y=null,p=null,k=null){const f=t==null?void 0:t.trim();T.states[f]===void 0?(u.log$1.info("Adding state ",f,h),T.states[f]={id:f,descriptions:[],type:s,doc:a,note:d,classes:[],styles:[],textStyles:[]}):(T.states[f].doc||(T.states[f].doc=a),T.states[f].type||(T.states[f].type=s)),h&&(u.log$1.info("Setting state description",f,h),typeof h=="string"&&mt(f,h.trim()),typeof h=="object"&&h.forEach(b=>mt(f,b.trim()))),d&&(T.states[f].note=d,T.states[f].note.text=u.common$1.sanitizeText(T.states[f].note.text,u.getConfig())),y&&(u.log$1.info("Setting state classes",f,y),(typeof y=="string"?[y]:y).forEach(E=>bt(f,E.trim()))),p&&(u.log$1.info("Setting state styles",f,p),(typeof p=="string"?[p]:p).forEach(E=>he(f,E.trim()))),k&&(u.log$1.info("Setting state styles",f,p),(typeof k=="string"?[k]:k).forEach(E=>ue(f,E.trim())))},Bt=function(t){ct={root:wt()},T=ct.root,F=0,P=Rt(),t||u.clear()},V=function(t){return T.states[t]},ee=function(){return T.states},se=function(){u.log$1.info("Documents = ",ct)},ie=function(){return T.relations};function Tt(t=""){let s=t;return t===kt&&(F++,s=`${It}${F}`),s}function _t(t="",s=ot){return t===kt?It:s}function re(t=""){let s=t;return t===Ot&&(F++,s=`${Nt}${F}`),s}function ne(t="",s=ot){return t===Ot?Nt:s}function ae(t,s,a){let h=Tt(t.id.trim()),d=_t(t.id.trim(),t.type),y=Tt(s.id.trim()),p=_t(s.id.trim(),s.type);I(h,d,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),I(y,p,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),T.relations.push({id1:h,id2:y,relationTitle:u.common$1.sanitizeText(a,u.getConfig())})}const Pt=function(t,s,a){if(typeof t=="object")ae(t,s,a);else{const h=Tt(t.trim()),d=_t(t),y=re(s.trim()),p=ne(s);I(h,d),I(y,p),T.relations.push({id1:h,id2:y,title:u.common$1.sanitizeText(a,u.getConfig())})}},mt=function(t,s){const a=T.states[t],h=s.startsWith(":")?s.replace(":","").trim():s;a.descriptions.push(u.common$1.sanitizeText(h,u.getConfig()))},le=function(t){return t.substring(0,1)===":"?t.substr(2).trim():t.trim()},ce=()=>(Lt++,"divider-id-"+Lt),Ft=function(t,s=""){P[t]===void 0&&(P[t]={id:t,styles:[],textStyles:[]});const a=P[t];s!=null&&s.split(Kt).forEach(h=>{const d=h.replace(/([^;]*);/,"$1").trim();if(h.match(At)){const p=d.replace(Ct,Xt).replace(At,Ct);a.textStyles.push(p)}a.styles.push(d)})},oe=function(){return P},bt=function(t,s){t.split(",").forEach(function(a){let h=V(a);if(h===void 0){const d=a.trim();I(d),h=V(d)}h.classes.push(s)})},he=function(t,s){const a=V(t);a!==void 0&&a.textStyles.push(s)},ue=function(t,s){const a=V(t);a!==void 0&&a.textStyles.push(s)},fe=()=>$t,de=t=>{$t=t},ye=t=>t&&t[0]===":"?t.substr(1).trim():t.trim(),pe={getConfig:()=>u.getConfig().state,addState:I,clear:Bt,getState:V,getStates:ee,getRelations:ie,getClasses:oe,getDirection:fe,addRelation:Pt,getDividerId:ce,setDirection:de,cleanupLabel:le,lineType:Wt,relationType:Jt,logDocuments:se,getRootDoc:Qt,setRootDoc:qt,getRootDocV2:Zt,extract:te,trimColon:ye,getAccTitle:u.getAccTitle,setAccTitle:u.setAccTitle,getAccDescription:u.getAccDescription,setAccDescription:u.setAccDescription,addStyleClass:Ft,setCssClass:bt,addDescription:mt,setDiagramTitle:u.setDiagramTitle,getDiagramTitle:u.getDiagramTitle},Se=t=>`
|
|
7
|
+
defs #statediagram-barbEnd {
|
|
8
|
+
fill: ${t.transitionColor};
|
|
9
|
+
stroke: ${t.transitionColor};
|
|
10
|
+
}
|
|
11
|
+
g.stateGroup text {
|
|
12
|
+
fill: ${t.nodeBorder};
|
|
13
|
+
stroke: none;
|
|
14
|
+
font-size: 10px;
|
|
15
|
+
}
|
|
16
|
+
g.stateGroup text {
|
|
17
|
+
fill: ${t.textColor};
|
|
18
|
+
stroke: none;
|
|
19
|
+
font-size: 10px;
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
g.stateGroup .state-title {
|
|
23
|
+
font-weight: bolder;
|
|
24
|
+
fill: ${t.stateLabelColor};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
g.stateGroup rect {
|
|
28
|
+
fill: ${t.mainBkg};
|
|
29
|
+
stroke: ${t.nodeBorder};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
g.stateGroup line {
|
|
33
|
+
stroke: ${t.lineColor};
|
|
34
|
+
stroke-width: 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.transition {
|
|
38
|
+
stroke: ${t.transitionColor};
|
|
39
|
+
stroke-width: 1;
|
|
40
|
+
fill: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.stateGroup .composit {
|
|
44
|
+
fill: ${t.background};
|
|
45
|
+
border-bottom: 1px
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.stateGroup .alt-composit {
|
|
49
|
+
fill: #e0e0e0;
|
|
50
|
+
border-bottom: 1px
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.state-note {
|
|
54
|
+
stroke: ${t.noteBorderColor};
|
|
55
|
+
fill: ${t.noteBkgColor};
|
|
56
|
+
|
|
57
|
+
text {
|
|
58
|
+
fill: ${t.noteTextColor};
|
|
59
|
+
stroke: none;
|
|
60
|
+
font-size: 10px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.stateLabel .box {
|
|
65
|
+
stroke: none;
|
|
66
|
+
stroke-width: 0;
|
|
67
|
+
fill: ${t.mainBkg};
|
|
68
|
+
opacity: 0.5;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.edgeLabel .label rect {
|
|
72
|
+
fill: ${t.labelBackgroundColor};
|
|
73
|
+
opacity: 0.5;
|
|
74
|
+
}
|
|
75
|
+
.edgeLabel .label text {
|
|
76
|
+
fill: ${t.transitionLabelColor||t.tertiaryTextColor};
|
|
77
|
+
}
|
|
78
|
+
.label div .edgeLabel {
|
|
79
|
+
color: ${t.transitionLabelColor||t.tertiaryTextColor};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.stateLabel text {
|
|
83
|
+
fill: ${t.stateLabelColor};
|
|
84
|
+
font-size: 10px;
|
|
85
|
+
font-weight: bold;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.node circle.state-start {
|
|
89
|
+
fill: ${t.specialStateColor};
|
|
90
|
+
stroke: ${t.specialStateColor};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.node .fork-join {
|
|
94
|
+
fill: ${t.specialStateColor};
|
|
95
|
+
stroke: ${t.specialStateColor};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.node circle.state-end {
|
|
99
|
+
fill: ${t.innerEndBackground};
|
|
100
|
+
stroke: ${t.background};
|
|
101
|
+
stroke-width: 1.5
|
|
102
|
+
}
|
|
103
|
+
.end-state-inner {
|
|
104
|
+
fill: ${t.compositeBackground||t.background};
|
|
105
|
+
// stroke: ${t.background};
|
|
106
|
+
stroke-width: 1.5
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.node rect {
|
|
110
|
+
fill: ${t.stateBkg||t.mainBkg};
|
|
111
|
+
stroke: ${t.stateBorder||t.nodeBorder};
|
|
112
|
+
stroke-width: 1px;
|
|
113
|
+
}
|
|
114
|
+
.node polygon {
|
|
115
|
+
fill: ${t.mainBkg};
|
|
116
|
+
stroke: ${t.stateBorder||t.nodeBorder};;
|
|
117
|
+
stroke-width: 1px;
|
|
118
|
+
}
|
|
119
|
+
#statediagram-barbEnd {
|
|
120
|
+
fill: ${t.lineColor};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.statediagram-cluster rect {
|
|
124
|
+
fill: ${t.compositeTitleBackground};
|
|
125
|
+
stroke: ${t.stateBorder||t.nodeBorder};
|
|
126
|
+
stroke-width: 1px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.cluster-label, .nodeLabel {
|
|
130
|
+
color: ${t.stateLabelColor};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.statediagram-cluster rect.outer {
|
|
134
|
+
rx: 5px;
|
|
135
|
+
ry: 5px;
|
|
136
|
+
}
|
|
137
|
+
.statediagram-state .divider {
|
|
138
|
+
stroke: ${t.stateBorder||t.nodeBorder};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.statediagram-state .title-state {
|
|
142
|
+
rx: 5px;
|
|
143
|
+
ry: 5px;
|
|
144
|
+
}
|
|
145
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
146
|
+
fill: ${t.compositeBackground||t.background};
|
|
147
|
+
}
|
|
148
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
149
|
+
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.statediagram-cluster .inner {
|
|
153
|
+
rx:0;
|
|
154
|
+
ry:0;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.statediagram-state rect.basic {
|
|
158
|
+
rx: 5px;
|
|
159
|
+
ry: 5px;
|
|
160
|
+
}
|
|
161
|
+
.statediagram-state rect.divider {
|
|
162
|
+
stroke-dasharray: 10,10;
|
|
163
|
+
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.note-edge {
|
|
167
|
+
stroke-dasharray: 5;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.statediagram-note rect {
|
|
171
|
+
fill: ${t.noteBkgColor};
|
|
172
|
+
stroke: ${t.noteBorderColor};
|
|
173
|
+
stroke-width: 1px;
|
|
174
|
+
rx: 0;
|
|
175
|
+
ry: 0;
|
|
176
|
+
}
|
|
177
|
+
.statediagram-note rect {
|
|
178
|
+
fill: ${t.noteBkgColor};
|
|
179
|
+
stroke: ${t.noteBorderColor};
|
|
180
|
+
stroke-width: 1px;
|
|
181
|
+
rx: 0;
|
|
182
|
+
ry: 0;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.statediagram-note text {
|
|
186
|
+
fill: ${t.noteTextColor};
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.statediagram-note .nodeLabel {
|
|
190
|
+
color: ${t.noteTextColor};
|
|
191
|
+
}
|
|
192
|
+
.statediagram .edgeLabel {
|
|
193
|
+
color: red; // ${t.noteTextColor};
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
#dependencyStart, #dependencyEnd {
|
|
197
|
+
fill: ${t.lineColor};
|
|
198
|
+
stroke: ${t.lineColor};
|
|
199
|
+
stroke-width: 1;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.statediagramTitleText {
|
|
203
|
+
text-anchor: middle;
|
|
204
|
+
font-size: 18px;
|
|
205
|
+
fill: ${t.textColor};
|
|
206
|
+
}
|
|
207
|
+
`,ge=Se;exports.DEFAULT_NESTED_DOC_DIR=Mt;exports.DEFAULT_STATE_TYPE=ot;exports.DIVIDER_TYPE=vt;exports.STMT_RELATION=Et;exports.STMT_STATE=at;exports.db=pe;exports.parser$1=Ut;exports.styles=ge;
|