@layers-app/editor 0.5.5-optimization → 0.5.6-comment.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +38 -157
- package/dist/index.js +10 -12
- package/dist/layers.0K7nH1On.js +904 -0
- package/dist/layers.1gm16E7h.js +37 -0
- package/dist/layers.1hvUGbY-.js +1283 -0
- package/dist/layers.4IbajZJw.js +8 -0
- package/dist/layers.52famHy6.js +1 -0
- package/dist/layers.55ZV6uDK.js +9 -0
- package/dist/layers.5tOkPx7s.js +36 -0
- package/dist/layers.7JqFgE4-.js +15 -0
- package/dist/layers.82WQNqep.js +10 -0
- package/dist/layers.8bT9YhoW.js +40 -0
- package/dist/layers.9pNaFvaX.js +1 -0
- package/dist/layers.A9tLMZ8-.js +40 -0
- package/dist/layers.B0ZshcMy.js +1 -0
- package/dist/layers.B0nQD_wz.js +7 -0
- package/dist/layers.B19hGmey.js +1 -0
- package/dist/layers.B1FmrtMP.js +39 -0
- package/dist/layers.B1HzFISh.js +1088 -0
- package/dist/layers.B1PoF4L1.js +70 -0
- package/dist/layers.B3D4g2HH.js +1 -0
- package/dist/layers.B5liBCLx.js +39 -0
- package/dist/layers.B6IBrXtu.js +5 -0
- package/dist/layers.B7K7JjK6.js +1510 -0
- package/dist/layers.B7Yn0OVk.js +96 -0
- package/dist/layers.B7lNLCab.js +39 -0
- package/dist/layers.B8PRHxCR.js +320 -0
- package/dist/layers.B91u9JPQ.js +40 -0
- package/dist/layers.BABSzoq-.js +42 -0
- package/dist/layers.BAo6PQrP.js +1 -0
- package/dist/layers.BAtv1CM7.js +1 -0
- package/dist/layers.BBD_K_ab.js +1 -0
- package/dist/layers.BC2IC9re.js +14 -0
- package/dist/layers.BChuXthZ.js +39 -0
- package/dist/layers.BG3lYrA2.js +803 -0
- package/dist/layers.BGu96O_x.js +116 -0
- package/dist/layers.BHqeqsf3.js +1265 -0
- package/dist/layers.BIeVwYKL.js +1 -0
- package/dist/layers.BJDrjORS.js +244 -0
- package/dist/layers.BL4sjw8S.js +38 -0
- package/dist/layers.BLEaVcCS.js +9 -0
- package/dist/layers.BLICHEgt.js +38 -0
- package/dist/layers.BLd2spTm.js +1 -0
- package/dist/layers.BLz21b5-.js +10 -0
- package/dist/layers.BODsfVZd.js +11 -0
- package/dist/layers.BPSqP4Y-.js +791 -0
- package/dist/layers.BSFjYVJ-.js +425 -0
- package/dist/layers.BSTBZrFn.js +1 -0
- package/dist/layers.BUwedZAG.js +40 -0
- package/dist/layers.BWxww11_.js +11 -0
- package/dist/layers.BXbWKt4k.js +6 -0
- package/dist/layers.BYx79WgM.js +7 -0
- package/dist/layers.BYxiLVKM.js +8 -0
- package/dist/layers.BaFLCLv5.js +1126 -0
- package/dist/layers.BbCfEXyj.js +55 -0
- package/dist/layers.BckXM8uh.js +41 -0
- package/dist/layers.Bdk5wm_r.js +5 -0
- package/dist/layers.Bf-y1I96.js +41 -0
- package/dist/layers.BhPd38Q_.js +7 -0
- package/dist/layers.Bihyr17C.js +769 -0
- package/dist/layers.Bj2_tuLO.js +65 -0
- package/dist/layers.BjgjTO8U.js +257 -0
- package/dist/layers.Bl7UAGKH.js +196 -0
- package/dist/layers.BlRrLmIh.js +1 -0
- package/dist/layers.BlmZbkh-.js +11 -0
- package/dist/layers.BpilXLfW.js +6 -0
- package/dist/layers.Bs1T_aIc.js +1 -0
- package/dist/layers.BsG1LFwT.js +40 -0
- package/dist/layers.Bv3xQjwp.js +84 -0
- package/dist/layers.Bvv7vdux.js +9 -0
- package/dist/layers.BzYjlGyp.js +8 -0
- package/dist/layers.C01ZNdhS.js +41 -0
- package/dist/layers.C0Lgw_Sx.js +11688 -0
- package/dist/layers.C3CZhlGl.js +8 -0
- package/dist/layers.C3tRluQ4.js +5 -0
- package/dist/layers.C4n5AHBC.js +11 -0
- package/dist/layers.C6I-Rtda.js +1580 -0
- package/dist/layers.C7hR0KBX.js +39 -0
- package/dist/layers.C8TCYhyA.js +6 -0
- package/dist/layers.C8_lu5UH.js +23 -0
- package/dist/layers.CANR02Nl.js +160 -0
- package/dist/layers.CApJqtTy.js +6 -0
- package/dist/layers.CDo0xU9O.js +2235 -0
- package/dist/layers.CE5aKrYe.js +40 -0
- package/dist/layers.CEbqhrCP.js +32 -0
- package/dist/layers.CGyLNMmf.js +39 -0
- package/dist/layers.CHZsXQcr.js +1 -0
- package/dist/layers.CHpeyQBr.js +7 -0
- package/dist/layers.CJp4lFvS.js +1 -0
- package/dist/layers.CKbii_Fm.js +52 -0
- package/dist/layers.CL2c0de9.js +4 -0
- package/dist/layers.CMumGCgO.js +1089 -0
- package/dist/layers.CQBi5l87.js +2 -0
- package/dist/layers.CRwctr1A.js +39 -0
- package/dist/layers.CSsKJLBG.js +9 -0
- package/dist/layers.CTBkLJZK.js +44 -0
- package/dist/layers.CVZE9_ua.js +41 -0
- package/dist/layers.CZ4DsPko.js +2 -0
- package/dist/layers.CZL9fnL3.js +2 -0
- package/dist/layers.C_Hdlxhz.js +423 -0
- package/dist/layers.C_IvrzZ3.js +7 -0
- package/dist/layers.C_TXB-Fm.js +6 -0
- package/dist/layers.C_n5zuE8.js +19 -0
- package/dist/layers.C_yEZmO3.js +1 -0
- package/dist/layers.Ca26eURR.js +8 -0
- package/dist/layers.CaBWPEUi.js +8 -0
- package/dist/layers.Cbip3kA9.js +61 -0
- package/dist/layers.CeUJQ0zl.js +6 -0
- package/dist/layers.CedEPfAP.js +1 -0
- package/dist/layers.CfLOzJzF.js +42 -0
- package/dist/layers.ChhuzqF0.js +230 -0
- package/dist/layers.CiXhWjbj.js +7 -0
- package/dist/layers.Cin_kImi.js +10 -0
- package/dist/layers.ClntPIOA.js +1 -0
- package/dist/layers.CmsJlpTQ.js +32 -0
- package/dist/layers.CnE-E-JL.js +1 -0
- package/dist/layers.CovEFG6q.js +7 -0
- package/dist/layers.CpP3DoN0.js +1359 -0
- package/dist/layers.Cq-aeNdr.js +268 -0
- package/dist/layers.CqVTtuYm.js +6 -0
- package/dist/layers.Ctfcx5MV.js +9 -0
- package/dist/layers.Cvu1R8i3.js +7 -0
- package/dist/layers.CvzgfrSj.js +1 -0
- package/dist/layers.Cy1JjAkL.js +10 -0
- package/dist/layers.Cym0ST1w.js +40 -0
- package/dist/layers.Cyzu9PKQ.js +1 -0
- package/dist/layers.CzFNEdQU.js +40 -0
- package/dist/layers.D05Sekr8.js +202 -0
- package/dist/layers.D0zn4_Mx.js +1 -0
- package/dist/layers.D13onkyK.js +1 -0
- package/dist/layers.D1NayJCn.js +931 -0
- package/dist/layers.D3DljblW.js +10 -0
- package/dist/layers.D4T8fTcj.js +1223 -0
- package/dist/layers.D6B4leTb.js +39 -0
- package/dist/layers.D6c0MkVX.js +35 -0
- package/dist/layers.D7jGxypv.js +8 -0
- package/dist/layers.D7vdNfrC.js +13 -0
- package/dist/layers.D8vmJCHk.js +11 -0
- package/dist/layers.DBXEiJMV.js +118 -0
- package/dist/layers.DCQPx7AD.js +42 -0
- package/dist/layers.DCdKAtNZ.js +40 -0
- package/dist/layers.DCsYvkeP.js +1 -0
- package/dist/layers.DE_Isi6B.js +8 -0
- package/dist/layers.DEcb22xR.js +304 -0
- package/dist/layers.DEjUqhpX.js +295 -0
- package/dist/layers.DFzPxfun.js +2966 -0
- package/dist/layers.DG2P8Gj3.js +10 -0
- package/dist/layers.DGYwM8PH.js +960 -0
- package/dist/layers.DGhfVanc.js +5 -0
- package/dist/layers.DHOiG985.js +42 -0
- package/dist/layers.DIlegck4.js +42 -0
- package/dist/layers.DIszQQxV.js +35 -0
- package/dist/layers.DKWQfzy-.js +8 -0
- package/dist/layers.DKZfnO7U.js +40 -0
- package/dist/layers.DL4oFlMV.js +802 -0
- package/dist/layers.DLWsJzru.js +84 -0
- package/dist/layers.DLs01ULg.js +39 -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.DOrgOHBr.js +1 -0
- package/dist/layers.DU65xSYF.js +1619 -0
- package/dist/layers.DWnxgRuk.js +36 -0
- package/dist/layers.DXgo1Drt.js +35 -0
- package/dist/layers.DY1I07VU.js +4 -0
- package/dist/layers.DZHl6axY.js +10 -0
- package/dist/layers.Da-ciHQm.js +793 -0
- package/dist/layers.DbaKVP5e.js +1 -0
- package/dist/layers.DcTMCznr.js +10 -0
- package/dist/layers.De1n0W8r.js +1034 -0
- package/dist/layers.DgMWKPPz.js +33 -0
- package/dist/layers.DhAFGerI.js +6 -0
- package/dist/layers.Dj7Sb4gM.js +33 -0
- package/dist/layers.DjTeOgMd.js +207 -0
- package/dist/layers.DjUOC4st.js +16 -0
- package/dist/layers.DmkPWSQY.js +1 -0
- package/dist/layers.Dt8URlt7.js +46051 -0
- package/dist/layers.DthXXXVJ.js +7 -0
- package/dist/layers.DuM1ysX6.js +36 -0
- package/dist/layers.DwG2v97l.js +139 -0
- package/dist/layers.Dwk2gG9L.js +9166 -0
- package/dist/layers.DxA6ocdw.js +70 -0
- package/dist/layers.Dxon_SpH.js +437 -0
- package/dist/layers.Dxv8e90o.js +34 -0
- package/dist/layers.Dy1naDTQ.js +14 -0
- package/dist/layers.Dy9Ae6ye.js +32 -0
- package/dist/layers.DyBo3wCO.js +9 -0
- package/dist/layers.Er0Yxkpp.js +10 -0
- package/dist/layers.Fv-Yf9nu.js +139 -0
- package/dist/layers.H8_UdVel.js +186 -0
- package/dist/layers.IeyYHv3-.js +1 -0
- package/dist/layers.JWCLFILJ.js +1 -0
- package/dist/layers.Kk33fmYB.js +1 -0
- package/dist/layers.NMvDHXOi.js +3 -0
- package/dist/layers.NisZX3oz.js +9 -0
- package/dist/layers.OJRwPbTb.js +51 -0
- package/dist/layers.PxLIa0D9.js +9 -0
- package/dist/layers.SDGJaT4i.js +8 -0
- package/dist/layers.TB0kcmT1.js +9 -0
- package/dist/layers.TRk5qM88.js +4 -0
- package/dist/layers.VHr4X3Bl.js +36 -0
- package/dist/layers.W2b5CJ53.js +41 -0
- package/dist/layers.YmJMGuL6.js +501 -0
- package/dist/layers.YuQYdfgw.js +1 -0
- package/dist/layers._aTgLW5P.js +1 -0
- package/dist/layers._w72bWjP.js +1 -0
- package/dist/layers._z96be1r.js +373 -0
- package/dist/layers.aNq3Aoz_.js +1 -0
- package/dist/layers.b0h5ZBmD.js +61 -0
- package/dist/layers.bxln61RT.js +1 -0
- package/dist/layers.cFjqiC8n.js +4 -0
- package/dist/layers.cfvpgx5k.js +220 -0
- package/dist/layers.csejPfBA.js +1 -0
- package/dist/layers.dQr3-Z-a.js +32 -0
- package/dist/layers.fCvSPAGO.js +282 -0
- package/dist/layers.fresRNdv.js +37 -0
- package/dist/layers.hweLqW3I.js +261 -0
- package/dist/layers.il5QgiwT.js +41 -0
- package/dist/layers.jAiLqRNH.js +38 -0
- package/dist/layers.jOg9HQjO.js +32 -0
- package/dist/layers.kldsO2Gk.js +41 -0
- package/dist/layers.lCpg7dOn.js +21 -0
- package/dist/layers.ng4ZQgam.js +10 -0
- package/dist/layers.oUgqEjka.js +21938 -0
- package/dist/layers.od048jSt.js +21763 -0
- package/dist/layers.qfBgI37V.js +48146 -0
- package/dist/layers.qpJTJjGB.js +5 -0
- package/dist/layers.r5_AAPug.js +1 -0
- package/dist/layers.rbM030Pg.js +37 -0
- package/dist/layers.rqs7i__i.js +59 -0
- package/dist/layers.sVUulQAX.js +41 -0
- package/dist/layers.tvXlPGuZ.js +32 -0
- package/dist/layers.ujoBmjI9.js +9 -0
- package/dist/layers.vNkQnMGw.js +1 -0
- package/dist/layers.vai0zC-y.js +2479 -0
- package/dist/layers.xAfqQ9El.js +122 -0
- package/dist/layers.xpxtBlob.js +37 -0
- package/dist/layers.zWXxVCvZ.js +8 -0
- package/package.json +18 -76
- package/dist/layers.B10sB-Vy.js +0 -1
- package/dist/layers.BDsvvINb.js +0 -6774
- package/dist/layers.BFJ7oQiY.js +0 -7723
- package/dist/layers.BwyONivc.js +0 -864
- package/dist/layers.C2lacXcg.js +0 -2511
- package/dist/layers.C69TrYD7.js +0 -7
- package/dist/layers.CEMW9z_P.js +0 -4
- package/dist/layers.Cwao1pOZ.js +0 -6
- package/dist/layers.CzNz0Zya.js +0 -1
- package/dist/layers.D0Z-zLAV.js +0 -530
- package/dist/layers.DNCgFYS7.js +0 -27
- package/dist/layers.EKDSoJm1.js +0 -2227
- package/dist/layers.QjAkD17S.js +0 -3677
- package/dist/layers.ahDFHQXD.js +0 -341
- package/dist/layers.eLiGm-eZ.js +0 -3
- package/dist/layers.hgliNTDV.js +0 -2
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
var R, m, C;
|
|
3
|
+
(R = Path2D.prototype).roundRect ?? (R.roundRect = P), globalThis.CanvasRenderingContext2D && ((m = globalThis.CanvasRenderingContext2D.prototype).roundRect ?? (m.roundRect = P)), globalThis.OffscreenCanvasRenderingContext2D && ((C = globalThis.OffscreenCanvasRenderingContext2D.prototype).roundRect ?? (C.roundRect = P));
|
|
4
|
+
function P(t, s, u, a, o) {
|
|
5
|
+
if (![t, s, u, a].every((n) => Number.isFinite(n)))
|
|
6
|
+
return;
|
|
7
|
+
o = O(o);
|
|
8
|
+
let e, r, i, h;
|
|
9
|
+
if (o.length === 4)
|
|
10
|
+
e = l(o[0]), r = l(o[1]), i = l(o[2]), h = l(o[3]);
|
|
11
|
+
else if (o.length === 3)
|
|
12
|
+
e = l(o[0]), r = l(o[1]), h = l(o[1]), i = l(o[2]);
|
|
13
|
+
else if (o.length === 2)
|
|
14
|
+
e = l(o[0]), i = l(o[0]), r = l(o[1]), h = l(o[1]);
|
|
15
|
+
else if (o.length === 1)
|
|
16
|
+
e = l(o[0]), r = l(o[0]), i = l(o[0]), h = l(o[0]);
|
|
17
|
+
else
|
|
18
|
+
throw new RangeError(`${b(this)} ${o.length} is not a valid size for radii sequence.`);
|
|
19
|
+
const g = [e, r, i, h], p = g.find(({ x: n, y: f }) => n < 0 || f < 0);
|
|
20
|
+
if ((p == null ? void 0 : p.x) < 0 ? p.x : p == null || p.y, g.some(({ x: n, y: f }) => !Number.isFinite(n) || !Number.isFinite(f)))
|
|
21
|
+
return;
|
|
22
|
+
if (p)
|
|
23
|
+
throw new RangeError(`${b(this)} Radius value ${p} is negative.`);
|
|
24
|
+
v(g), u < 0 && a < 0 ? (this.moveTo(t - e.x, s), this.ellipse(t + u + r.x, s - r.y, r.x, r.y, 0, -Math.PI * 1.5, -Math.PI), this.ellipse(t + u + i.x, s + a + i.y, i.x, i.y, 0, -Math.PI, -Math.PI / 2), this.ellipse(t - h.x, s + a + h.y, h.x, h.y, 0, -Math.PI / 2, 0), this.ellipse(t - e.x, s - e.y, e.x, e.y, 0, 0, -Math.PI / 2)) : u < 0 ? (this.moveTo(t - e.x, s), this.ellipse(t + u + r.x, s + r.y, r.x, r.y, 0, -Math.PI / 2, -Math.PI, 1), this.ellipse(t + u + i.x, s + a - i.y, i.x, i.y, 0, -Math.PI, -Math.PI * 1.5, 1), this.ellipse(t - h.x, s + a - h.y, h.x, h.y, 0, Math.PI / 2, 0, 1), this.ellipse(t - e.x, s + e.y, e.x, e.y, 0, 0, -Math.PI / 2, 1)) : a < 0 ? (this.moveTo(t + e.x, s), this.ellipse(t + u - r.x, s - r.y, r.x, r.y, 0, Math.PI / 2, 0, 1), this.ellipse(t + u - i.x, s + a + i.y, i.x, i.y, 0, 0, -Math.PI / 2, 1), this.ellipse(t + h.x, s + a + h.y, h.x, h.y, 0, -Math.PI / 2, -Math.PI, 1), this.ellipse(t + e.x, s - e.y, e.x, e.y, 0, -Math.PI, -Math.PI * 1.5, 1)) : (this.moveTo(t + e.x, s), this.ellipse(t + u - r.x, s + r.y, r.x, r.y, 0, -Math.PI / 2, 0), this.ellipse(t + u - i.x, s + a - i.y, i.x, i.y, 0, 0, Math.PI / 2), this.ellipse(t + h.x, s + a - h.y, h.x, h.y, 0, Math.PI / 2, Math.PI), this.ellipse(t + e.x, s + e.y, e.x, e.y, 0, Math.PI, Math.PI * 1.5)), this.closePath(), this.moveTo(t, s);
|
|
25
|
+
function N(n) {
|
|
26
|
+
const { x: f, y: x, z: c, w: M } = n;
|
|
27
|
+
return { x: f, y: x, z: c, w: M };
|
|
28
|
+
}
|
|
29
|
+
function O(n) {
|
|
30
|
+
const f = typeof n;
|
|
31
|
+
return f === "undefined" || n === null ? [0] : f === "function" ? [NaN] : f === "object" ? typeof n[Symbol.iterator] == "function" ? [...n].map((x) => {
|
|
32
|
+
const c = typeof x;
|
|
33
|
+
return c === "undefined" || x === null ? 0 : c === "function" ? NaN : c === "object" ? N(x) : y(x);
|
|
34
|
+
}) : [N(n)] : [y(n)];
|
|
35
|
+
}
|
|
36
|
+
function y(n) {
|
|
37
|
+
return +n;
|
|
38
|
+
}
|
|
39
|
+
function l(n) {
|
|
40
|
+
const f = y(n);
|
|
41
|
+
return Number.isFinite(f) ? {
|
|
42
|
+
x: f,
|
|
43
|
+
y: f
|
|
44
|
+
} : Object(n) === n ? {
|
|
45
|
+
x: y(n.x ?? 0),
|
|
46
|
+
y: y(n.y ?? 0)
|
|
47
|
+
} : {
|
|
48
|
+
x: NaN,
|
|
49
|
+
y: NaN
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function v(n) {
|
|
53
|
+
const [f, x, c, M] = n, F = [
|
|
54
|
+
Math.abs(u) / (f.x + x.x),
|
|
55
|
+
Math.abs(a) / (x.y + c.y),
|
|
56
|
+
Math.abs(u) / (c.x + M.x),
|
|
57
|
+
Math.abs(a) / (f.y + M.y)
|
|
58
|
+
], I = Math.min(...F);
|
|
59
|
+
if (I <= 1)
|
|
60
|
+
for (const D of n)
|
|
61
|
+
D.x *= I, D.y *= I;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function b(t) {
|
|
65
|
+
return `Failed to execute 'roundRect' on '${T(t)}':`;
|
|
66
|
+
}
|
|
67
|
+
function T(t) {
|
|
68
|
+
return Object(t) === t && t instanceof Path2D ? "Path2D" : t instanceof (globalThis == null ? void 0 : globalThis.CanvasRenderingContext2D) ? "CanvasRenderingContext2D" : t instanceof (globalThis == null ? void 0 : globalThis.OffscreenCanvasRenderingContext2D) ? "OffscreenCanvasRenderingContext2D" : (t == null ? void 0 : t.constructor.name) || t;
|
|
69
|
+
}
|
|
70
|
+
})();
|
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
import { a7 as z, a8 as F, a9 as j, aa as U, l as g, g as S, d as $, u as H, Y as K, _ as A, $ as E, a0 as L, V, j as P, t as W } from "./layers.Dwk2gG9L.js";
|
|
2
|
+
import * as G from "lodash-es";
|
|
3
|
+
import { G as X } from "./layers.BJDrjORS.js";
|
|
4
|
+
import { r as Y } from "./layers._z96be1r.js";
|
|
5
|
+
import { c as J } from "./layers.Bdk5wm_r.js";
|
|
6
|
+
function Q(e) {
|
|
7
|
+
return typeof e == "string" ? new z([document.querySelectorAll(e)], [document.documentElement]) : new z([j(e)], F);
|
|
8
|
+
}
|
|
9
|
+
function de(e, l) {
|
|
10
|
+
return !!e.children(l).length;
|
|
11
|
+
}
|
|
12
|
+
function pe(e) {
|
|
13
|
+
return N(e.v) + ":" + N(e.w) + ":" + N(e.name);
|
|
14
|
+
}
|
|
15
|
+
var Z = /:/g;
|
|
16
|
+
function N(e) {
|
|
17
|
+
return e ? String(e).replace(Z, "\\:") : "";
|
|
18
|
+
}
|
|
19
|
+
function O(e, l) {
|
|
20
|
+
l && e.attr("style", l);
|
|
21
|
+
}
|
|
22
|
+
function be(e, l, c) {
|
|
23
|
+
l && e.attr("class", l).attr("class", c + " " + e.attr("class"));
|
|
24
|
+
}
|
|
25
|
+
function fe(e, l) {
|
|
26
|
+
var c = l.graph();
|
|
27
|
+
if (G.isPlainObject(c)) {
|
|
28
|
+
var a = c.transition;
|
|
29
|
+
if (G.isFunction(a))
|
|
30
|
+
return a(e);
|
|
31
|
+
}
|
|
32
|
+
return e;
|
|
33
|
+
}
|
|
34
|
+
function ee(e, l) {
|
|
35
|
+
var c = e.append("foreignObject").attr("width", "100000"), a = c.append("xhtml:div");
|
|
36
|
+
a.attr("xmlns", "http://www.w3.org/1999/xhtml");
|
|
37
|
+
var i = l.label;
|
|
38
|
+
switch (typeof i) {
|
|
39
|
+
case "function":
|
|
40
|
+
a.insert(i);
|
|
41
|
+
break;
|
|
42
|
+
case "object":
|
|
43
|
+
a.insert(function() {
|
|
44
|
+
return i;
|
|
45
|
+
});
|
|
46
|
+
break;
|
|
47
|
+
default:
|
|
48
|
+
a.html(i);
|
|
49
|
+
}
|
|
50
|
+
O(a, l.labelStyle), a.style("display", "inline-block"), a.style("white-space", "nowrap");
|
|
51
|
+
var d = a.node().getBoundingClientRect();
|
|
52
|
+
return c.attr("width", d.width).attr("height", d.height), c;
|
|
53
|
+
}
|
|
54
|
+
const q = {}, te = function(e) {
|
|
55
|
+
const l = Object.keys(e);
|
|
56
|
+
for (const c of l)
|
|
57
|
+
q[c] = e[c];
|
|
58
|
+
}, M = async function(e, l, c, a, i, d) {
|
|
59
|
+
const u = a.select(`[id="${c}"]`), n = Object.keys(e);
|
|
60
|
+
for (const p of n) {
|
|
61
|
+
const r = e[p];
|
|
62
|
+
let y = "default";
|
|
63
|
+
r.classes.length > 0 && (y = r.classes.join(" ")), y = y + " flowchart-label";
|
|
64
|
+
const w = A(r.styles);
|
|
65
|
+
let t = r.text !== void 0 ? r.text : r.id, s;
|
|
66
|
+
if (g.info("vertex", r, r.labelType), r.labelType === "markdown")
|
|
67
|
+
g.info("vertex", r, r.labelType);
|
|
68
|
+
else if (W(S().flowchart.htmlLabels))
|
|
69
|
+
s = ee(u, {
|
|
70
|
+
label: t
|
|
71
|
+
}).node(), s.parentNode.removeChild(s);
|
|
72
|
+
else {
|
|
73
|
+
const k = i.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
74
|
+
k.setAttribute("style", w.labelStyle.replace("color:", "fill:"));
|
|
75
|
+
const _ = t.split(P.lineBreakRegex);
|
|
76
|
+
for (const C of _) {
|
|
77
|
+
const v = i.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
78
|
+
v.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), v.setAttribute("dy", "1em"), v.setAttribute("x", "1"), v.textContent = C, k.appendChild(v);
|
|
79
|
+
}
|
|
80
|
+
s = k;
|
|
81
|
+
}
|
|
82
|
+
let b = 0, o = "";
|
|
83
|
+
switch (r.type) {
|
|
84
|
+
case "round":
|
|
85
|
+
b = 5, o = "rect";
|
|
86
|
+
break;
|
|
87
|
+
case "square":
|
|
88
|
+
o = "rect";
|
|
89
|
+
break;
|
|
90
|
+
case "diamond":
|
|
91
|
+
o = "question";
|
|
92
|
+
break;
|
|
93
|
+
case "hexagon":
|
|
94
|
+
o = "hexagon";
|
|
95
|
+
break;
|
|
96
|
+
case "odd":
|
|
97
|
+
o = "rect_left_inv_arrow";
|
|
98
|
+
break;
|
|
99
|
+
case "lean_right":
|
|
100
|
+
o = "lean_right";
|
|
101
|
+
break;
|
|
102
|
+
case "lean_left":
|
|
103
|
+
o = "lean_left";
|
|
104
|
+
break;
|
|
105
|
+
case "trapezoid":
|
|
106
|
+
o = "trapezoid";
|
|
107
|
+
break;
|
|
108
|
+
case "inv_trapezoid":
|
|
109
|
+
o = "inv_trapezoid";
|
|
110
|
+
break;
|
|
111
|
+
case "odd_right":
|
|
112
|
+
o = "rect_left_inv_arrow";
|
|
113
|
+
break;
|
|
114
|
+
case "circle":
|
|
115
|
+
o = "circle";
|
|
116
|
+
break;
|
|
117
|
+
case "ellipse":
|
|
118
|
+
o = "ellipse";
|
|
119
|
+
break;
|
|
120
|
+
case "stadium":
|
|
121
|
+
o = "stadium";
|
|
122
|
+
break;
|
|
123
|
+
case "subroutine":
|
|
124
|
+
o = "subroutine";
|
|
125
|
+
break;
|
|
126
|
+
case "cylinder":
|
|
127
|
+
o = "cylinder";
|
|
128
|
+
break;
|
|
129
|
+
case "group":
|
|
130
|
+
o = "rect";
|
|
131
|
+
break;
|
|
132
|
+
case "doublecircle":
|
|
133
|
+
o = "doublecircle";
|
|
134
|
+
break;
|
|
135
|
+
default:
|
|
136
|
+
o = "rect";
|
|
137
|
+
}
|
|
138
|
+
const T = await V(t, S());
|
|
139
|
+
l.setNode(r.id, {
|
|
140
|
+
labelStyle: w.labelStyle,
|
|
141
|
+
shape: o,
|
|
142
|
+
labelText: T,
|
|
143
|
+
labelType: r.labelType,
|
|
144
|
+
rx: b,
|
|
145
|
+
ry: b,
|
|
146
|
+
class: y,
|
|
147
|
+
style: w.style,
|
|
148
|
+
id: r.id,
|
|
149
|
+
link: r.link,
|
|
150
|
+
linkTarget: r.linkTarget,
|
|
151
|
+
tooltip: d.db.getTooltip(r.id) || "",
|
|
152
|
+
domId: d.db.lookUpDomId(r.id),
|
|
153
|
+
haveCallback: r.haveCallback,
|
|
154
|
+
width: r.type === "group" ? 500 : void 0,
|
|
155
|
+
dir: r.dir,
|
|
156
|
+
type: r.type,
|
|
157
|
+
props: r.props,
|
|
158
|
+
padding: S().flowchart.padding
|
|
159
|
+
}), g.info("setNode", {
|
|
160
|
+
labelStyle: w.labelStyle,
|
|
161
|
+
labelType: r.labelType,
|
|
162
|
+
shape: o,
|
|
163
|
+
labelText: T,
|
|
164
|
+
rx: b,
|
|
165
|
+
ry: b,
|
|
166
|
+
class: y,
|
|
167
|
+
style: w.style,
|
|
168
|
+
id: r.id,
|
|
169
|
+
domId: d.db.lookUpDomId(r.id),
|
|
170
|
+
width: r.type === "group" ? 500 : void 0,
|
|
171
|
+
type: r.type,
|
|
172
|
+
dir: r.dir,
|
|
173
|
+
props: r.props,
|
|
174
|
+
padding: S().flowchart.padding
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
}, R = async function(e, l, c) {
|
|
178
|
+
g.info("abc78 edges = ", e);
|
|
179
|
+
let a = 0, i = {}, d, u;
|
|
180
|
+
if (e.defaultStyle !== void 0) {
|
|
181
|
+
const n = A(e.defaultStyle);
|
|
182
|
+
d = n.style, u = n.labelStyle;
|
|
183
|
+
}
|
|
184
|
+
for (const n of e) {
|
|
185
|
+
a++;
|
|
186
|
+
const p = "L-" + n.start + "-" + n.end;
|
|
187
|
+
i[p] === void 0 ? (i[p] = 0, g.info("abc78 new entry", p, i[p])) : (i[p]++, g.info("abc78 new entry", p, i[p]));
|
|
188
|
+
let r = p + "-" + i[p];
|
|
189
|
+
g.info("abc78 new link id to be used is", p, r, i[p]);
|
|
190
|
+
const y = "LS-" + n.start, w = "LE-" + n.end, t = { style: "", labelStyle: "" };
|
|
191
|
+
switch (t.minlen = n.length || 1, n.type === "arrow_open" ? t.arrowhead = "none" : t.arrowhead = "normal", t.arrowTypeStart = "arrow_open", t.arrowTypeEnd = "arrow_open", n.type) {
|
|
192
|
+
case "double_arrow_cross":
|
|
193
|
+
t.arrowTypeStart = "arrow_cross";
|
|
194
|
+
case "arrow_cross":
|
|
195
|
+
t.arrowTypeEnd = "arrow_cross";
|
|
196
|
+
break;
|
|
197
|
+
case "double_arrow_point":
|
|
198
|
+
t.arrowTypeStart = "arrow_point";
|
|
199
|
+
case "arrow_point":
|
|
200
|
+
t.arrowTypeEnd = "arrow_point";
|
|
201
|
+
break;
|
|
202
|
+
case "double_arrow_circle":
|
|
203
|
+
t.arrowTypeStart = "arrow_circle";
|
|
204
|
+
case "arrow_circle":
|
|
205
|
+
t.arrowTypeEnd = "arrow_circle";
|
|
206
|
+
break;
|
|
207
|
+
}
|
|
208
|
+
let s = "", b = "";
|
|
209
|
+
switch (n.stroke) {
|
|
210
|
+
case "normal":
|
|
211
|
+
s = "fill:none;", d !== void 0 && (s = d), u !== void 0 && (b = u), t.thickness = "normal", t.pattern = "solid";
|
|
212
|
+
break;
|
|
213
|
+
case "dotted":
|
|
214
|
+
t.thickness = "normal", t.pattern = "dotted", t.style = "fill:none;stroke-width:2px;stroke-dasharray:3;";
|
|
215
|
+
break;
|
|
216
|
+
case "thick":
|
|
217
|
+
t.thickness = "thick", t.pattern = "solid", t.style = "stroke-width: 3.5px;fill:none;";
|
|
218
|
+
break;
|
|
219
|
+
case "invisible":
|
|
220
|
+
t.thickness = "invisible", t.pattern = "solid", t.style = "stroke-width: 0;fill:none;";
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
if (n.style !== void 0) {
|
|
224
|
+
const o = A(n.style);
|
|
225
|
+
s = o.style, b = o.labelStyle;
|
|
226
|
+
}
|
|
227
|
+
t.style = t.style += s, t.labelStyle = t.labelStyle += b, n.interpolate !== void 0 ? t.curve = E(n.interpolate, L) : e.defaultInterpolate !== void 0 ? t.curve = E(e.defaultInterpolate, L) : t.curve = E(q.curve, L), n.text === void 0 ? n.style !== void 0 && (t.arrowheadStyle = "fill: #333") : (t.arrowheadStyle = "fill: #333", t.labelpos = "c"), t.labelType = n.labelType, t.label = await V(
|
|
228
|
+
n.text.replace(P.lineBreakRegex, `
|
|
229
|
+
`),
|
|
230
|
+
S()
|
|
231
|
+
), n.style === void 0 && (t.style = t.style || "stroke: #333; stroke-width: 1.5px;fill:none;"), t.labelStyle = t.labelStyle.replace("color:", "fill:"), t.id = r, t.classes = "flowchart-link " + y + " " + w, l.setEdge(n.start, n.end, t, a);
|
|
232
|
+
}
|
|
233
|
+
}, re = function(e, l) {
|
|
234
|
+
return l.db.getClasses();
|
|
235
|
+
}, le = async function(e, l, c, a) {
|
|
236
|
+
g.info("Drawing flowchart");
|
|
237
|
+
let i = a.db.getDirection();
|
|
238
|
+
i === void 0 && (i = "TD");
|
|
239
|
+
const { securityLevel: d, flowchart: u } = S(), n = u.nodeSpacing || 50, p = u.rankSpacing || 50;
|
|
240
|
+
let r;
|
|
241
|
+
d === "sandbox" && (r = $("#i" + l));
|
|
242
|
+
const y = d === "sandbox" ? $(r.nodes()[0].contentDocument.body) : $("body"), w = d === "sandbox" ? r.nodes()[0].contentDocument : document, t = new X({
|
|
243
|
+
multigraph: !0,
|
|
244
|
+
compound: !0
|
|
245
|
+
}).setGraph({
|
|
246
|
+
rankdir: i,
|
|
247
|
+
nodesep: n,
|
|
248
|
+
ranksep: p,
|
|
249
|
+
marginx: 0,
|
|
250
|
+
marginy: 0
|
|
251
|
+
}).setDefaultEdgeLabel(function() {
|
|
252
|
+
return {};
|
|
253
|
+
});
|
|
254
|
+
let s;
|
|
255
|
+
const b = a.db.getSubGraphs();
|
|
256
|
+
g.info("Subgraphs - ", b);
|
|
257
|
+
for (let f = b.length - 1; f >= 0; f--)
|
|
258
|
+
s = b[f], g.info("Subgraph - ", s), a.db.addVertex(
|
|
259
|
+
s.id,
|
|
260
|
+
{ text: s.title, type: s.labelType },
|
|
261
|
+
"group",
|
|
262
|
+
void 0,
|
|
263
|
+
s.classes,
|
|
264
|
+
s.dir
|
|
265
|
+
);
|
|
266
|
+
const o = a.db.getVertices(), T = a.db.getEdges();
|
|
267
|
+
g.info("Edges", T);
|
|
268
|
+
let k = 0;
|
|
269
|
+
for (k = b.length - 1; k >= 0; k--) {
|
|
270
|
+
s = b[k], Q("cluster").append("text");
|
|
271
|
+
for (let f = 0; f < s.nodes.length; f++)
|
|
272
|
+
g.info("Setting up subgraphs", s.nodes[f], s.id), t.setParent(s.nodes[f], s.id);
|
|
273
|
+
}
|
|
274
|
+
await M(o, t, l, y, w, a), await R(T, t);
|
|
275
|
+
const _ = y.select(`[id="${l}"]`), C = y.select("#" + l + " g");
|
|
276
|
+
if (await Y(C, t, ["point", "circle", "cross"], "flowchart", l), H.insertTitle(_, "flowchartTitleText", u.titleTopMargin, a.db.getDiagramTitle()), K(t, _, u.diagramPadding, u.useMaxWidth), a.db.indexNodes("subGraph" + k), !u.htmlLabels) {
|
|
277
|
+
const f = w.querySelectorAll('[id="' + l + '"] .edgeLabel .label');
|
|
278
|
+
for (const x of f) {
|
|
279
|
+
const m = x.getBBox(), h = w.createElementNS("http://www.w3.org/2000/svg", "rect");
|
|
280
|
+
h.setAttribute("rx", 0), h.setAttribute("ry", 0), h.setAttribute("width", m.width), h.setAttribute("height", m.height), x.insertBefore(h, x.firstChild);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
Object.keys(o).forEach(function(f) {
|
|
284
|
+
const x = o[f];
|
|
285
|
+
if (x.link) {
|
|
286
|
+
const m = $("#" + l + ' [id="' + f + '"]');
|
|
287
|
+
if (m) {
|
|
288
|
+
const h = w.createElementNS("http://www.w3.org/2000/svg", "a");
|
|
289
|
+
h.setAttributeNS("http://www.w3.org/2000/svg", "class", x.classes.join(" ")), h.setAttributeNS("http://www.w3.org/2000/svg", "href", x.link), h.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), d === "sandbox" ? h.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : x.linkTarget && h.setAttributeNS("http://www.w3.org/2000/svg", "target", x.linkTarget);
|
|
290
|
+
const B = m.insert(function() {
|
|
291
|
+
return h;
|
|
292
|
+
}, ":first-child"), I = m.select(".label-container");
|
|
293
|
+
I && B.append(function() {
|
|
294
|
+
return I.node();
|
|
295
|
+
});
|
|
296
|
+
const D = m.select(".label");
|
|
297
|
+
D && B.append(function() {
|
|
298
|
+
return D.node();
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
}, ue = {
|
|
304
|
+
setConf: te,
|
|
305
|
+
addVertices: M,
|
|
306
|
+
addEdges: R,
|
|
307
|
+
getClasses: re,
|
|
308
|
+
draw: le
|
|
309
|
+
}, ae = (e, l) => {
|
|
310
|
+
const c = J, a = c(e, "r"), i = c(e, "g"), d = c(e, "b");
|
|
311
|
+
return U(a, i, d, l);
|
|
312
|
+
}, oe = (e) => `.label {
|
|
313
|
+
font-family: ${e.fontFamily};
|
|
314
|
+
color: ${e.nodeTextColor || e.textColor};
|
|
315
|
+
}
|
|
316
|
+
.cluster-label text {
|
|
317
|
+
fill: ${e.titleColor};
|
|
318
|
+
}
|
|
319
|
+
.cluster-label span,p {
|
|
320
|
+
color: ${e.titleColor};
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.label text,span,p {
|
|
324
|
+
fill: ${e.nodeTextColor || e.textColor};
|
|
325
|
+
color: ${e.nodeTextColor || e.textColor};
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.node rect,
|
|
329
|
+
.node circle,
|
|
330
|
+
.node ellipse,
|
|
331
|
+
.node polygon,
|
|
332
|
+
.node path {
|
|
333
|
+
fill: ${e.mainBkg};
|
|
334
|
+
stroke: ${e.nodeBorder};
|
|
335
|
+
stroke-width: 1px;
|
|
336
|
+
}
|
|
337
|
+
.flowchart-label text {
|
|
338
|
+
text-anchor: middle;
|
|
339
|
+
}
|
|
340
|
+
// .flowchart-label .text-outer-tspan {
|
|
341
|
+
// text-anchor: middle;
|
|
342
|
+
// }
|
|
343
|
+
// .flowchart-label .text-inner-tspan {
|
|
344
|
+
// text-anchor: start;
|
|
345
|
+
// }
|
|
346
|
+
|
|
347
|
+
.node .katex path {
|
|
348
|
+
fill: #000;
|
|
349
|
+
stroke: #000;
|
|
350
|
+
stroke-width: 1px;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.node .label {
|
|
354
|
+
text-align: center;
|
|
355
|
+
}
|
|
356
|
+
.node.clickable {
|
|
357
|
+
cursor: pointer;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.arrowheadPath {
|
|
361
|
+
fill: ${e.arrowheadColor};
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.edgePath .path {
|
|
365
|
+
stroke: ${e.lineColor};
|
|
366
|
+
stroke-width: 2.0px;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.flowchart-link {
|
|
370
|
+
stroke: ${e.lineColor};
|
|
371
|
+
fill: none;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.edgeLabel {
|
|
375
|
+
background-color: ${e.edgeLabelBackground};
|
|
376
|
+
rect {
|
|
377
|
+
opacity: 0.5;
|
|
378
|
+
background-color: ${e.edgeLabelBackground};
|
|
379
|
+
fill: ${e.edgeLabelBackground};
|
|
380
|
+
}
|
|
381
|
+
text-align: center;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/* For html labels only */
|
|
385
|
+
.labelBkg {
|
|
386
|
+
background-color: ${ae(e.edgeLabelBackground, 0.5)};
|
|
387
|
+
// background-color:
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.cluster rect {
|
|
391
|
+
fill: ${e.clusterBkg};
|
|
392
|
+
stroke: ${e.clusterBorder};
|
|
393
|
+
stroke-width: 1px;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.cluster text {
|
|
397
|
+
fill: ${e.titleColor};
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.cluster span,p {
|
|
401
|
+
color: ${e.titleColor};
|
|
402
|
+
}
|
|
403
|
+
/* .cluster div {
|
|
404
|
+
color: ${e.titleColor};
|
|
405
|
+
} */
|
|
406
|
+
|
|
407
|
+
div.mermaidTooltip {
|
|
408
|
+
position: absolute;
|
|
409
|
+
text-align: center;
|
|
410
|
+
max-width: 200px;
|
|
411
|
+
padding: 2px;
|
|
412
|
+
font-family: ${e.fontFamily};
|
|
413
|
+
font-size: 12px;
|
|
414
|
+
background: ${e.tertiaryColor};
|
|
415
|
+
border: 1px solid ${e.border2};
|
|
416
|
+
border-radius: 2px;
|
|
417
|
+
pointer-events: none;
|
|
418
|
+
z-index: 100;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.flowchartTitleText {
|
|
422
|
+
text-anchor: middle;
|
|
423
|
+
font-size: 18px;
|
|
424
|
+
fill: ${e.textColor};
|
|
425
|
+
}
|
|
426
|
+
`, we = oe;
|
|
427
|
+
export {
|
|
428
|
+
ue as a,
|
|
429
|
+
O as b,
|
|
430
|
+
ee as c,
|
|
431
|
+
fe as d,
|
|
432
|
+
pe as e,
|
|
433
|
+
we as f,
|
|
434
|
+
be as g,
|
|
435
|
+
de as i,
|
|
436
|
+
Q as s
|
|
437
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import "./layers.od048jSt.js";
|
|
2
|
+
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: "" }, a = { noItems: "", hint_emptyLibrary: "", hint_emptyPrivateLibrary: "" }, e = { 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?
|
|
3
|
+
|
|
4
|
+
(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: "" }, p = { title: "Klaida" }, k = { 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: a, buttons: e, alerts: t, errors: o, toolBar: r, headings: u, hints: s, canvasError: l, errorSplash: n, roomDialog: d, errorDialog: p, exportDialog: k, 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 };
|
|
5
|
+
export {
|
|
6
|
+
t as alerts,
|
|
7
|
+
e as buttons,
|
|
8
|
+
l as canvasError,
|
|
9
|
+
c as clearCanvasDialog,
|
|
10
|
+
P as colorPicker,
|
|
11
|
+
F as colors,
|
|
12
|
+
y as confirmDialog,
|
|
13
|
+
j as default,
|
|
14
|
+
h as encrypted,
|
|
15
|
+
p as errorDialog,
|
|
16
|
+
n as errorSplash,
|
|
17
|
+
o as errors,
|
|
18
|
+
k as exportDialog,
|
|
19
|
+
u as headings,
|
|
20
|
+
m as helpDialog,
|
|
21
|
+
s as hints,
|
|
22
|
+
v as imageExportDialog,
|
|
23
|
+
i as labels,
|
|
24
|
+
a as library,
|
|
25
|
+
x as mermaid,
|
|
26
|
+
w as overwriteConfirm,
|
|
27
|
+
b as publishDialog,
|
|
28
|
+
g as publishSuccessDialog,
|
|
29
|
+
d as roomDialog,
|
|
30
|
+
S as stats,
|
|
31
|
+
E as toast,
|
|
32
|
+
r as toolBar,
|
|
33
|
+
T as welcomeScreen
|
|
34
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var y = async (e = [{}]) => (Array.isArray(e) || (e = [e]), e[0].recursive = e[0].recursive || !1, new Promise((s, l) => {
|
|
2
|
+
const r = document.createElement("input");
|
|
3
|
+
r.type = "file", r.webkitdirectory = !0;
|
|
4
|
+
const a = (t) => {
|
|
5
|
+
typeof i == "function" && i(), s(t);
|
|
6
|
+
}, i = e[0].legacySetup && e[0].legacySetup(a, () => i(l), r);
|
|
7
|
+
r.addEventListener("change", () => {
|
|
8
|
+
let t = Array.from(r.files);
|
|
9
|
+
e[0].recursive ? e[0].recursive && e[0].skipDirectory && (t = t.filter((c) => c.webkitRelativePath.split("/").every((n) => !e[0].skipDirectory({ name: n, kind: "directory" })))) : t = t.filter((c) => c.webkitRelativePath.split("/").length === 2), a(t);
|
|
10
|
+
}), r.click();
|
|
11
|
+
}));
|
|
12
|
+
export {
|
|
13
|
+
y as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "./layers.od048jSt.js";
|
|
2
|
+
var u = { paste: "Қою", pasteAsPlaintext: "", pasteCharts: "Диаграммаларды қою", selectAll: "Бәрін таңдау", multiSelect: "", moveCanvas: "", cut: "Қию", copy: "Көшіру", copyAsPng: "", copyAsSvg: "", copyText: "", copySource: "", convertToCode: "", bringForward: "", sendToBack: "", bringToFront: "", sendBackward: "", delete: "Жою", copyStyles: "Стильдерді көшіру", pasteStyles: "Стильдерді қою", stroke: "", background: "", fill: "", strokeWidth: "", strokeStyle: "", strokeStyle_solid: "", strokeStyle_dashed: "", strokeStyle_dotted: "", sloppiness: "", opacity: "", textAlign: "", edges: "", sharp: "", round: "", arrowheads: "Нұсқар ұштары", arrowhead_none: "Жоқ", arrowhead_arrow: "Нұсқар", arrowhead_bar: "Тосқауыл", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Қаріп өлшемі", fontFamily: "Қаріп тобы", addWatermark: "", handDrawn: "", normal: "Қалыпты", code: "", small: "Кіші", medium: "Орта", large: "Үлкен", veryLarge: "Өте үлкен", solid: "", hachure: "", zigzag: "", crossHatch: "", thin: "", bold: "", left: "Солға", center: "Ортаға", right: "Оңға", extraBold: "", architect: "", artist: "", cartoonist: "", fileTitle: "Файл атауы", colorPicker: "", canvasColors: "", canvasBackground: "", drawingCanvas: "", layers: "", actions: "", language: "Тіл", liveCollaboration: "", duplicateSelection: "Көшірме", untitled: "Атауысыз", name: "", yourName: "", madeWithExcalidraw: "", group: "", ungroup: "", collaborators: "", showGrid: "", addToLibrary: "", removeFromLibrary: "", libraryLoadingMessage: "", libraries: "", loadingScene: "", align: "", alignTop: "", alignBottom: "", alignLeft: "", alignRight: "", centerVertically: "", centerHorizontally: "", distributeHorizontally: "", distributeVertically: "", flipHorizontal: "", flipVertical: "", viewMode: "", share: "", showStroke: "", showBackground: "", toggleTheme: "", personalLib: "", excalidrawLib: "", decreaseFontSize: "", increaseFontSize: "", unbindText: "", bindText: "", createContainerFromText: "", link: { edit: "", editEmbed: "", create: "", createEmbed: "", label: "", labelEmbed: "", empty: "" }, lineEditor: { edit: "", exit: "" }, elementLock: { lock: "", unlock: "", lockAll: "", unlockAll: "" }, statusPublished: "", sidebarLock: "", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, e = { noItems: "", hint_emptyLibrary: "", hint_emptyPrivateLibrary: "" }, a = { clearReset: "", exportJSON: "", exportImage: "", export: "", copyToClipboard: "", save: "", saveAs: "", load: "", getShareableLink: "", close: "Жабу", selectLanguage: "Тілді таңдау", scrollBackToContent: "", zoomIn: "", zoomOut: "", resetZoom: "", menu: "Mәзір", done: "Дайын", edit: "", undo: "", redo: "", resetLibrary: "", createNewRoom: "", fullScreen: "", darkMode: "", lightMode: "", zenMode: "", objectsSnapMode: "", exitZenMode: "", cancel: "", clear: "", remove: "", embed: "", publishLibrary: "", submit: "", confirm: "", embeddableInteractionButton: "" }, o = { clearReset: "", couldNotCreateShareableLink: "", couldNotCreateShareableLinkTooBig: "", couldNotLoadInvalidFile: "", importBackendFailed: "", cannotExportEmptyCanvas: "", couldNotCopyToClipboard: "", decryptFailed: "", uploadedSecurly: "", loadSceneOverridePrompt: "", collabStopOverridePrompt: "", errorAddingToLibrary: "", errorRemovingFromLibrary: "", confirmAddLibrary: "", imageDoesNotContainScene: "", cannotRestoreFromImage: "", invalidSceneUrl: "", resetLibrary: "", removeItemsFromsLibrary: "", invalidEncryptionKey: "", collabOfflineWarning: "" }, r = { unsupportedFileType: "", imageInsertError: "Суретті жүктеу мүмкін болмады. Кейінірек қайталап көріңіз...", fileTooBig: "Файл өте үлкен. Максималды рұқсат етілген көлем {{maxSize}}.", svgImageInsertError: "", failedToFetchImage: "", invalidSVGString: "", cannotResolveCollabServer: "", importLibraryError: "", collabSaveFailed: "", collabSaveFailed_sizeExceeded: "", imageToolNotSupported: "", brave_measure_text_error: { line1: "", line2: "", line3: "", line4: "" }, libraryElementTypeError: { embeddable: "", iframe: "", image: "" }, asyncPasteFailedOnRead: "", asyncPasteFailedOnParse: "", copyToSystemClipboardFailed: "" }, t = { selection: "", image: "Суретті қою", rectangle: "", diamond: "", ellipse: "", arrow: "Нұсқар", line: "", freedraw: "", text: "Мәтін", library: "", lock: "", penMode: "", link: "", eraser: "", frame: "", magicframe: "", embeddable: "", laser: "", hand: "", extraTools: "", mermaidToExcalidraw: "", magicSettings: "" }, i = { canvasActions: "", selectedShapeActions: "", shapes: "" }, l = { canvasPanning: "", linearElement: "", freeDraw: "", text: "", 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: "" }, n = { cannotShowPreview: "", canvasTooBig: "", canvasTooBigTip: "" }, s = { headingMain: "", clearCanvasMessage: "", clearCanvasCaveat: "", trackedToSentry: "", openIssueMessage: "", sceneContent: "" }, d = { desc_intro: "", desc_privacy: "", button_startSession: "", button_stopSession: "", desc_inProgressIntro: "", desc_shareLink: "", desc_exitSession: "", shareTitle: "" }, c = { title: "Қате" }, B = { disk_title: "", disk_details: "Сахна деректерін кейін қайта импорттауға болатын файлға экспорттаңыз.", disk_button: "Файлға сақтау", link_title: "Ортақ сілтеме", link_details: "Тек оқуға арналған сілтеме ретінде экспорттау.", link_button: "Сілтемеге экспорттау", excalidrawplus_description: "Сахнаны өзіңіздің Excalidraw+ жұмыс кеңістігінде сақтаңыз.", excalidrawplus_button: "Экспорт", excalidrawplus_exportError: "Қазіргі уақытта Excalidraw+ үшін экспорттау мүмкін емес..." }, m = { 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: "" }, p = { title: "" }, g = { title: "", itemName: "", authorName: "", githubUsername: "", twitterUsername: "", libraryName: "", libraryDesc: "", website: "", placeholder: { authorName: "", libraryName: "", libraryDesc: "", githubHandle: "", twitterHandle: "", website: "" }, errors: { required: "", website: "" }, noteDescription: "", noteGuidelines: "", noteLicense: "", noteItems: "", atleastOneLibItem: "", republishWarning: "" }, b = { title: "", content: "" }, A = { resetLibrary: "", removeItemsFromLib: "" }, E = { header: "", label: { withBackground: "", onlySelected: "", darkMode: "", embedScene: "", scale: "", padding: "" }, tooltip: { embedScene: "" }, title: { exportToPng: "", exportToSvg: "", copyPngToClipboard: "" }, button: { exportToPng: "", exportToSvg: "", copyPngToClipboard: "" } }, D = { tooltip: "Сіздің сызбаларыңыз өтпелі шифрлеу арқылы шифрланған, сондықтан Excalidraw серверлері оларды ешқашан көрмейді.", link: "Excalidraw қолданатын өтпелі шифрлеу туралы блог жазбасы" }, h = { angle: "Бұрыш", element: "Элемент", elements: "Элементтер", height: "Биіктігі", scene: "Сахна", selected: "Таңдалды", storage: "Сақтау көлемі", title: "", total: "Барлығы", version: "Нұсқа", versionCopy: "Көшіру үшін басыңыз", versionNotAvailable: "Бұл нұсқа қолжетімсіз", width: "Ені" }, y = { addedToLibrary: "", copyStyles: "Стильдер көшірілді.", copyToClipboard: "", copyToClipboardAsPng: "", fileSaved: "Файл сақталды.", fileSavedToFilename: "{filename} сақталды", canvas: "", selection: "таңдау", pasteAsSingleElement: "", unableToEmbed: "", unrecognizedLinkFormat: "" }, C = { transparent: "", black: "", white: "", red: "", pink: "", grape: "", violet: "", gray: "", blue: "", cyan: "", teal: "", green: "", yellow: "", orange: "", bronze: "" }, v = { app: { center_heading: "", center_heading_plus: "", menuHint: "" }, defaults: { menuHint: "", center_heading: "", toolbarHint: "", helpHint: "" } }, S = { 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: "" } } }, F = { title: "", button: "", description: "", syntax: "", preview: "" }, k = { labels: u, library: e, buttons: a, alerts: o, errors: r, toolBar: t, headings: i, hints: l, canvasError: n, errorSplash: s, roomDialog: d, errorDialog: c, exportDialog: B, helpDialog: m, clearCanvasDialog: p, publishDialog: g, publishSuccessDialog: b, confirmDialog: A, imageExportDialog: E, encrypted: D, stats: h, toast: y, colors: C, welcomeScreen: v, colorPicker: S, overwriteConfirm: w, mermaid: F };
|
|
3
|
+
export {
|
|
4
|
+
o as alerts,
|
|
5
|
+
a as buttons,
|
|
6
|
+
n as canvasError,
|
|
7
|
+
p as clearCanvasDialog,
|
|
8
|
+
S as colorPicker,
|
|
9
|
+
C as colors,
|
|
10
|
+
A as confirmDialog,
|
|
11
|
+
k as default,
|
|
12
|
+
D as encrypted,
|
|
13
|
+
c as errorDialog,
|
|
14
|
+
s as errorSplash,
|
|
15
|
+
r as errors,
|
|
16
|
+
B as exportDialog,
|
|
17
|
+
i as headings,
|
|
18
|
+
m as helpDialog,
|
|
19
|
+
l as hints,
|
|
20
|
+
E as imageExportDialog,
|
|
21
|
+
u as labels,
|
|
22
|
+
e as library,
|
|
23
|
+
F as mermaid,
|
|
24
|
+
w as overwriteConfirm,
|
|
25
|
+
g as publishDialog,
|
|
26
|
+
b as publishSuccessDialog,
|
|
27
|
+
d as roomDialog,
|
|
28
|
+
h as stats,
|
|
29
|
+
y as toast,
|
|
30
|
+
t as toolBar,
|
|
31
|
+
v as welcomeScreen
|
|
32
|
+
};
|