@diagrammo/dgmo 0.57.0 → 0.58.0
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/advanced.d.ts +57 -7
- package/dist/advanced.js +127 -117
- package/dist/auto.css +38 -2
- package/dist/auto.js +161 -124
- package/dist/auto.mjs +1827 -1431
- package/dist/block.css +38 -2
- package/dist/block.js +94 -52
- package/dist/{chart-meta-CPNVUZ5J.d.ts → chart-meta-C6UaqhTP.d.ts} +1 -1
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +44 -42
- package/dist/{charts-d3-Z6FOKUAL.js → charts-d3-K5M5J5ZM.js} +5 -5
- package/dist/{chunk-VYCV5WKH.js → chunk-2JPEBOUQ.js} +60 -44
- package/dist/{chunk-FERE46TP.js → chunk-2UBTPFIF.js} +3 -3
- package/dist/{chunk-CXI6X54X.js → chunk-3DY7TNZ7.js} +2 -2
- package/dist/{chunk-D5FANMSG.js → chunk-3LMUMAUS.js} +2 -2
- package/dist/{chunk-5J2RQGFG.js → chunk-4CE2GOC2.js} +3 -3
- package/dist/{chunk-T2VMOWAM.js → chunk-4ESLORPX.js} +3 -3
- package/dist/chunk-4UNGFVVY.js +181 -0
- package/dist/{chunk-ADKDIWCW.js → chunk-52KLHCXQ.js} +3 -3
- package/dist/{chunk-VSFAJUEF.js → chunk-5RPSN32F.js} +3 -3
- package/dist/{chunk-PKFW6GJD.js → chunk-5RY4W7J6.js} +3 -3
- package/dist/{chunk-FMPYKUKI.js → chunk-6F3MVYUW.js} +3 -3
- package/dist/{chunk-ST3ZNEUQ.js → chunk-6JYE3SDK.js} +2 -2
- package/dist/{chunk-FZECLCCU.js → chunk-6KTRV3O5.js} +3 -3
- package/dist/{chunk-57RE4N22.js → chunk-7Q6HX7ON.js} +2 -2
- package/dist/{chunk-ULR3BVNH.js → chunk-7SGR7A5K.js} +4 -4
- package/dist/{chunk-J6V3SMR3.js → chunk-7UZFAIKI.js} +7 -7
- package/dist/{chunk-XBTJJLAU.js → chunk-ATKB7VEN.js} +4 -4
- package/dist/{chunk-5VLUAAAE.js → chunk-AU4AQYOA.js} +3 -3
- package/dist/{chunk-4MB4UOT5.js → chunk-B4U7RRQ4.js} +2 -2
- package/dist/{chunk-QWUYFUNO.js → chunk-BFYPHZ5M.js} +2 -2
- package/dist/{chunk-7YPSFQFA.js → chunk-C7IKQOEQ.js} +6 -6
- package/dist/{chunk-X3ON4M5S.js → chunk-CBPFVH3N.js} +4 -4
- package/dist/{chunk-3M6MKHIQ.js → chunk-CC6XIQDE.js} +2 -2
- package/dist/{chunk-G3L4GWLA.js → chunk-CZIFUXI2.js} +3 -3
- package/dist/chunk-D3K4U3ZM.js +232 -0
- package/dist/{chunk-RQGNELB3.js → chunk-DWAQXY6T.js} +3 -3
- package/dist/{chunk-KRKU6WRS.js → chunk-DWMJLEBT.js} +4 -4
- package/dist/{chunk-VS7DGDT3.js → chunk-DZUDSGGQ.js} +5 -5
- package/dist/chunk-E55OZDFH.js +65 -0
- package/dist/{chunk-SQWWYGPT.js → chunk-E6CCWMTT.js} +5 -5
- package/dist/{chunk-3KOPPSUQ.js → chunk-E7HANW62.js} +12 -3
- package/dist/{chunk-7Q35X3AL.js → chunk-EDJYIQZM.js} +9 -233
- package/dist/{chunk-HBRGNLF5.js → chunk-EEF7BUX7.js} +6 -6
- package/dist/{chunk-3ZONSZOX.js → chunk-FWNJ45NW.js} +2 -2
- package/dist/{chunk-RB4HOOKP.js → chunk-FXIG472W.js} +2 -2
- package/dist/{chunk-ORZQVUGW.js → chunk-GAFNYUNJ.js} +4 -4
- package/dist/{chunk-PRKPFRC2.js → chunk-GGKWKNOL.js} +4 -4
- package/dist/{chunk-OFEUXZPI.js → chunk-HBIGEWRC.js} +3 -3
- package/dist/{chunk-D64FRGKU.js → chunk-HUYAMTCD.js} +2 -2
- package/dist/{chunk-NIUE5VWY.js → chunk-HXTS54OV.js} +3 -3
- package/dist/{chunk-PUGUOFM6.js → chunk-ILZHMKYQ.js} +3 -3
- package/dist/{chunk-LZX3RLRP.js → chunk-IRN5GBBO.js} +6 -6
- package/dist/{chunk-OYCIVSL3.js → chunk-JM65HLBZ.js} +6 -6
- package/dist/{chunk-DIKIHU52.js → chunk-KAG5JCZV.js} +3 -3
- package/dist/{chunk-4MJOBVY7.js → chunk-KNCY7YHC.js} +2 -2
- package/dist/{chunk-M3IYDSI7.js → chunk-L5DQB4C7.js} +5 -5
- package/dist/{chunk-EEKGMS63.js → chunk-LLDNNANC.js} +3 -3
- package/dist/{chunk-7SXTD7L6.js → chunk-LYQMN35H.js} +2 -2
- package/dist/{chunk-ES3MUYRX.js → chunk-MF4FDLFG.js} +3 -3
- package/dist/{chunk-YNAHUNMA.js → chunk-MPPOQOCF.js} +2 -2
- package/dist/{chunk-44GBBTMU.js → chunk-N7PF5IRF.js} +2 -2
- package/dist/{chunk-QMOX5I3G.js → chunk-NGGVVTP2.js} +5 -5
- package/dist/{chunk-UG4MWUXE.js → chunk-NPBAV3QU.js} +5 -5
- package/dist/{chunk-6PRLPGJB.js → chunk-NQGE76NC.js} +3 -3
- package/dist/{chunk-5XMDSXZT.js → chunk-NSUAU6JQ.js} +2 -2
- package/dist/{chunk-OHBIN74X.js → chunk-NW2K6UU2.js} +3 -3
- package/dist/{chunk-WOMXS5R7.js → chunk-NYCBN7YE.js} +3 -3
- package/dist/{chunk-MXDT446P.js → chunk-OMOU2V3W.js} +3 -3
- package/dist/chunk-ON4MEUC4.js +50 -0
- package/dist/{chunk-3D6LDLIH.js → chunk-OXANJRNK.js} +2 -2
- package/dist/{chunk-X32RDWT5.js → chunk-PH5WK6G5.js} +3 -3
- package/dist/{chunk-U3DGAE7L.js → chunk-PIIORN3Q.js} +3 -3
- package/dist/{chunk-Q772PVKH.js → chunk-QDOSCTL5.js} +2 -2
- package/dist/{chunk-CY5KE2P5.js → chunk-QS37VUFZ.js} +2 -2
- package/dist/{chunk-NFAHDPCG.js → chunk-RB3AFVPT.js} +3 -3
- package/dist/{chunk-LV5BFA24.js → chunk-RDHZRHDG.js} +3 -3
- package/dist/{chunk-SADYIA5Q.js → chunk-S3AZMBK7.js} +3 -3
- package/dist/{chunk-6HSRT6WI.js → chunk-SBQXLX6Y.js} +3 -3
- package/dist/{chunk-SFVG4AIG.js → chunk-SQK4EKOW.js} +3 -3
- package/dist/{chunk-6DR2GMDM.js → chunk-STYJ6EOV.js} +157 -134
- package/dist/{chunk-BQLJAYVB.js → chunk-TQC2SUMJ.js} +2 -2
- package/dist/{chunk-TZ72UBOA.js → chunk-TXQXPJTG.js} +2 -2
- package/dist/{chunk-RV2N7COG.js → chunk-UFDLQKCR.js} +2 -2
- package/dist/{chunk-INU6ANOH.js → chunk-UPTAWSCG.js} +2 -2
- package/dist/{chunk-K2GDF2ZR.js → chunk-VBSKNQUO.js} +4 -4
- package/dist/{chunk-KH74OWHU.js → chunk-VJYERZ2Q.js} +3 -3
- package/dist/{chunk-USFZQPJ2.js → chunk-W22JRLNA.js} +3 -3
- package/dist/{chunk-CQJ5SE5T.js → chunk-W2RU24DD.js} +4 -4
- package/dist/{chunk-NHZAYL2X.js → chunk-W6T5QRIR.js} +4 -4
- package/dist/{chunk-APD52YJV.js → chunk-WQWVLAA5.js} +4 -4
- package/dist/{chunk-D76B4DMV.js → chunk-WYG5VJY2.js} +2 -2
- package/dist/{chunk-VYEQPPS6.js → chunk-WYGLKR4I.js} +3 -3
- package/dist/{chunk-MGLJA5TK.js → chunk-X3YNX4DR.js} +2 -2
- package/dist/{chunk-3G7BCZ4J.js → chunk-X4JEAY73.js} +5 -5
- package/dist/{chunk-M65UOFJA.js → chunk-XHTRLRZ5.js} +3 -3
- package/dist/{chunk-3NSOKT7C.js → chunk-XXAHWYQU.js} +2 -2
- package/dist/{chunk-A6XELFU6.js → chunk-YAG7WAQE.js} +8 -8
- package/dist/{chunk-KF575IXC.js → chunk-YILSSUEL.js} +3 -3
- package/dist/{chunk-U4FSWAOJ.js → chunk-YKMOI6ZG.js} +4 -4
- package/dist/{chunk-TGOMHUOV.js → chunk-ZEIYC7XO.js} +12 -1
- package/dist/{chunk-PFG3EVRD.js → chunk-ZKNSLC35.js} +3 -3
- package/dist/{chunk-5LBCOFA5.js → chunk-ZW7LTYW2.js} +2 -2
- package/dist/cli.cjs +143 -142
- package/dist/cloud-reference.d.ts +15 -8
- package/dist/cloud-reference.js +8 -39
- package/dist/completion-registry.js +24 -5
- package/dist/dgmo-router-2637N4DY.js +90 -0
- package/dist/{dimensions-XRWIPAFO.js → dimensions-HSIQYP5Z.js} +5 -5
- package/dist/editor.js +11 -2
- package/dist/element.js +164 -127
- package/dist/element.mjs +1827 -1431
- package/dist/{flowchart-parser-DA3V2SLH.js → flowchart-parser-I2TEUWAP.js} +4 -4
- package/dist/{flowchart-renderer-JGLZB5P5.js → flowchart-renderer-ER66DNCI.js} +5 -5
- package/dist/highlight.js +11 -2
- package/dist/index.d.ts +13 -4
- package/dist/index.js +55 -49
- package/dist/{layout-5CX27X7I.js → layout-3QMCSW6B.js} +3 -3
- package/dist/{layout-NU5LQ4UP.js → layout-DH6GSKAH.js} +2 -2
- package/dist/{layout-AO3TPZUS.js → layout-HTDK3DMG.js} +4 -4
- package/dist/{layout-EQTOVNEE.js → layout-K4S54TX7.js} +4 -4
- package/dist/{layout-WHOOLGPO.js → layout-V5X3U3WB.js} +4 -4
- package/dist/{layout-TZKPVXKJ.js → layout-VFUHKLTS.js} +3 -3
- package/dist/{layout-AQXLQVAJ.js → layout-VNEBCYPX.js} +4 -4
- package/dist/{layout-search-6CVR2MTZ.js → layout-search-N6NQI5OQ.js} +5 -5
- package/dist/{parser-5UZWYSIV.js → parser-2RTQF2LA.js} +4 -4
- package/dist/{parser-4ZIJDGPG.js → parser-2VTOUMJY.js} +4 -4
- package/dist/{parser-HMQZPPOK.js → parser-3M3QQRCZ.js} +4 -4
- package/dist/{parser-RBNOWHGM.js → parser-4WSJVVG6.js} +4 -4
- package/dist/{parser-Q3KNFXQR.js → parser-67JHR6I6.js} +4 -4
- package/dist/{parser-MH62NYKM.js → parser-6GXEHNZD.js} +4 -4
- package/dist/{parser-O5XCVGZG.js → parser-6I3NOLKL.js} +3 -3
- package/dist/{parser-6CM27UPA.js → parser-7VNCLF77.js} +4 -4
- package/dist/{parser-QL2LBPFE.js → parser-AE7RC4IJ.js} +4 -4
- package/dist/{parser-DQ2DGDYO.js → parser-BDGMJSZB.js} +3 -3
- package/dist/{parser-WT3DSNPQ.js → parser-BVHECXAJ.js} +4 -4
- package/dist/{parser-QEWSTNEJ.js → parser-FLCLHHOM.js} +4 -4
- package/dist/{parser-LMNFVTIV.js → parser-FSSAJO2M.js} +4 -4
- package/dist/{parser-73YUU35J.js → parser-GH2Y6CR4.js} +3 -3
- package/dist/{parser-AYZTKZC3.js → parser-GUUNA7WE.js} +3 -3
- package/dist/{parser-DTXM5ROT.js → parser-ISJJO7TJ.js} +5 -5
- package/dist/parser-J3FUTZAQ.js +12 -0
- package/dist/{parser-Q62VR2UJ.js → parser-JY7ZU5PP.js} +5 -5
- package/dist/{parser-4TX6U4ZU.js → parser-KKBW25LM.js} +3 -3
- package/dist/{parser-XWNSCDY6.js → parser-M74SVSPT.js} +4 -4
- package/dist/{parser-CCAUZLYI.js → parser-MKJ52TD7.js} +4 -4
- package/dist/{parser-A6M25MLK.js → parser-MPQTXCBQ.js} +3 -3
- package/dist/{parser-IQLLBMBQ.js → parser-N3AAAGTA.js} +3 -3
- package/dist/{parser-OPOGIKFR.js → parser-N7SSE4SK.js} +4 -4
- package/dist/{parser-D7YZX3CH.js → parser-NH6IAVZJ.js} +3 -3
- package/dist/{parser-IPBEW2DG.js → parser-NKHBUGAX.js} +4 -4
- package/dist/{parser-PQXN6SBB.js → parser-QVX4FR3J.js} +5 -5
- package/dist/{parser-XQNM7BGD.js → parser-S6QH3QIK.js} +4 -4
- package/dist/{parser-PEBXIOPX.js → parser-UODHU3EP.js} +4 -4
- package/dist/{parser-5WMH55UA.js → parser-UVS6OHCO.js} +4 -4
- package/dist/{parser-SJ7ECFAP.js → parser-X3TCE7P5.js} +4 -4
- package/dist/{parser-QN3GJJ3J.js → parser-XQKSQBOT.js} +3 -3
- package/dist/{parser-KTVDCWHG.js → parser-XXYB4TRG.js} +4 -4
- package/dist/{registry-CaSw0PSH.d.ts → registry-C0HvobTb.d.ts} +17 -0
- package/dist/renderer-2G7Q3L5W.js +77 -0
- package/dist/{renderer-2TEGR3RX.js → renderer-2IO3H53I.js} +5 -5
- package/dist/{renderer-Q6TJ52B4.js → renderer-2KDW3TWO.js} +5 -5
- package/dist/{renderer-W5GF5USI.js → renderer-2SK7UM4O.js} +5 -5
- package/dist/{renderer-BNEO5W3E.js → renderer-34GG6RHO.js} +6 -6
- package/dist/{renderer-LRQ3OPNJ.js → renderer-44EXXXRC.js} +7 -7
- package/dist/{renderer-XKMG3SYD.js → renderer-4SH6U6WF.js} +6 -6
- package/dist/{renderer-TIIHLRMM.js → renderer-4WQRF2SK.js} +5 -5
- package/dist/{renderer-KXMKAXPQ.js → renderer-7AVFPE3Q.js} +4 -4
- package/dist/{renderer-EJ3FETD2.js → renderer-BA6WTWVL.js} +5 -5
- package/dist/{renderer-5BFS4NBL.js → renderer-BLPXBLUP.js} +5 -5
- package/dist/{renderer-I2P5FTZ2.js → renderer-C7LFE5CB.js} +7 -7
- package/dist/{renderer-3WYLLPQL.js → renderer-CUXXNHFU.js} +6 -6
- package/dist/{renderer-B6XOO6EE.js → renderer-DRNJJNAE.js} +3 -3
- package/dist/{renderer-N4V7XVC3.js → renderer-DVUKHOFB.js} +7 -7
- package/dist/{renderer-6OFPEBHG.js → renderer-I7Q5U2TU.js} +5 -5
- package/dist/{renderer-ND7YIUHD.js → renderer-JIUVU3PF.js} +3 -3
- package/dist/{renderer-HDLM6OY6.js → renderer-LXIIZ3BH.js} +7 -7
- package/dist/{renderer-VWBNIZV3.js → renderer-MTX6PLPA.js} +6 -6
- package/dist/{renderer-LU4R3BP2.js → renderer-QGZ2BOJG.js} +4 -4
- package/dist/{renderer-AK2X3VRY.js → renderer-SL5IQJKB.js} +7 -7
- package/dist/{renderer-IAJMS5U5.js → renderer-SL5LE7MU.js} +7 -7
- package/dist/{renderer-JHYUK5TN.js → renderer-SXZBGMEH.js} +3 -3
- package/dist/{renderer-LNOBG226.js → renderer-UPANX7XK.js} +7 -7
- package/dist/{renderer-FQLFE3TQ.js → renderer-VDCGDJ6L.js} +5 -5
- package/dist/{renderer-BZZKS7KQ.js → renderer-XJFRVCF6.js} +7 -7
- package/dist/{renderer-LMLSA457.js → renderer-XRC5R3OP.js} +5 -5
- package/dist/{renderer-PLRNQ6T3.js → renderer-Y64MT4JM.js} +7 -7
- package/dist/{renderer-XSZ5MUIF.js → renderer-ZLJ5CCSO.js} +5 -5
- package/dist/{renderer-W3JK5YVD.js → renderer-ZY5TXTS5.js} +5 -5
- package/dist/{renderer-radial-LZAPQVM5.js → renderer-radial-4YKK4JNW.js} +6 -6
- package/dist/{state-parser-NQGVYSM3.js → state-parser-3PFFJO5M.js} +5 -5
- package/dist/{state-renderer-KSAKMFQ2.js → state-renderer-2HDVRUNG.js} +7 -7
- package/dist/{themes-tbBkIVsn.d.ts → themes-l406Vj2z.d.ts} +1 -1
- package/docs/language-reference.md +29 -0
- package/package.json +1 -1
- package/dist/dgmo-router-PMEKTIJ7.js +0 -88
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-NZ5QVASG.js";
|
|
24
24
|
import {
|
|
25
25
|
renderIntegratedLegend
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-N7PF5IRF.js";
|
|
27
27
|
import {
|
|
28
28
|
getLegendExtent
|
|
29
29
|
} from "./chunk-ES66QH6J.js";
|
|
@@ -37,16 +37,16 @@ import {
|
|
|
37
37
|
} from "./chunk-6KFWC4CO.js";
|
|
38
38
|
import {
|
|
39
39
|
parseERDiagram
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7SGR7A5K.js";
|
|
41
41
|
import {
|
|
42
42
|
resolveTagColor,
|
|
43
43
|
tagAttrKey
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-3LMUMAUS.js";
|
|
45
45
|
import {
|
|
46
46
|
fillModeFromOptions,
|
|
47
47
|
legendInlineRequested,
|
|
48
48
|
legendSuppressed
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-E7HANW62.js";
|
|
50
50
|
import {
|
|
51
51
|
LEGEND_HEIGHT
|
|
52
52
|
} from "./chunk-SCJ7CAJF.js";
|
|
@@ -603,4 +603,4 @@ export {
|
|
|
603
603
|
renderERDiagram,
|
|
604
604
|
renderERDiagramForExport
|
|
605
605
|
};
|
|
606
|
-
//# sourceMappingURL=chunk-
|
|
606
|
+
//# sourceMappingURL=chunk-L5DQB4C7.js.map
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
matchTagBlockHeading,
|
|
10
10
|
stripDefaultModifier,
|
|
11
11
|
tagAttrKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3LMUMAUS.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
fillModeFromToken,
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E7HANW62.js";
|
|
19
19
|
import {
|
|
20
20
|
emit
|
|
21
21
|
} from "./chunk-OLMWTJVU.js";
|
|
@@ -264,4 +264,4 @@ export {
|
|
|
264
264
|
parseBody,
|
|
265
265
|
extractSymbols
|
|
266
266
|
};
|
|
267
|
-
//# sourceMappingURL=chunk-
|
|
267
|
+
//# sourceMappingURL=chunk-LLDNNANC.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
isTagBlockHeading,
|
|
6
6
|
matchTagBlockHeading
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3LMUMAUS.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDgmoError
|
|
10
10
|
} from "./chunk-OLMWTJVU.js";
|
|
@@ -401,4 +401,4 @@ export {
|
|
|
401
401
|
normalizePertSourceForShare,
|
|
402
402
|
resolveOrgImports
|
|
403
403
|
};
|
|
404
|
-
//# sourceMappingURL=chunk-
|
|
404
|
+
//# sourceMappingURL=chunk-LYQMN35H.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
matchTagBlockHeading,
|
|
12
12
|
stripDefaultModifier,
|
|
13
13
|
tagAttrKey
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3LMUMAUS.js";
|
|
15
15
|
import {
|
|
16
16
|
FAMILY_PERSON_REGISTRY,
|
|
17
17
|
FAMILY_UNION_REGISTRY,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
tokenizeQuoteAware,
|
|
27
27
|
tryParseSharedOption,
|
|
28
28
|
withTagAliases
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-E7HANW62.js";
|
|
30
30
|
import {
|
|
31
31
|
nord,
|
|
32
32
|
resolveColor
|
|
@@ -571,4 +571,4 @@ export {
|
|
|
571
571
|
FAMILY_DIAGNOSTICS,
|
|
572
572
|
parseFamily
|
|
573
573
|
};
|
|
574
|
-
//# sourceMappingURL=chunk-
|
|
574
|
+
//# sourceMappingURL=chunk-MF4FDLFG.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
extractColor,
|
|
8
8
|
fillModeFromToken,
|
|
9
9
|
parseFirstLine
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E7HANW62.js";
|
|
11
11
|
import {
|
|
12
12
|
makeDgmoError,
|
|
13
13
|
makeFail
|
|
@@ -675,4 +675,4 @@ export {
|
|
|
675
675
|
searchZones,
|
|
676
676
|
parseClock
|
|
677
677
|
};
|
|
678
|
-
//# sourceMappingURL=chunk-
|
|
678
|
+
//# sourceMappingURL=chunk-MPPOQOCF.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-6KFWC4CO.js";
|
|
7
7
|
import {
|
|
8
8
|
tagAttrKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3LMUMAUS.js";
|
|
10
10
|
import {
|
|
11
11
|
CONTROLS_ICON_PATH,
|
|
12
12
|
LEGEND_DOT_R,
|
|
@@ -292,4 +292,4 @@ export {
|
|
|
292
292
|
renderLegendD3,
|
|
293
293
|
renderIntegratedLegend
|
|
294
294
|
};
|
|
295
|
-
//# sourceMappingURL=chunk-
|
|
295
|
+
//# sourceMappingURL=chunk-N7PF5IRF.js.map
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-NZ5QVASG.js";
|
|
31
31
|
import {
|
|
32
32
|
renderIntegratedLegend
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-N7PF5IRF.js";
|
|
34
34
|
import {
|
|
35
35
|
getLegendExtent,
|
|
36
36
|
getMaxLegendReservedHeight
|
|
@@ -45,17 +45,17 @@ import {
|
|
|
45
45
|
} from "./chunk-6KFWC4CO.js";
|
|
46
46
|
import {
|
|
47
47
|
parseState
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-WQWVLAA5.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveActiveTagGroup,
|
|
51
51
|
resolveTagColor,
|
|
52
52
|
tagAttrKey
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-3LMUMAUS.js";
|
|
54
54
|
import {
|
|
55
55
|
fillModeFromOptions,
|
|
56
56
|
legendInlineRequested,
|
|
57
57
|
legendSuppressed
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-E7HANW62.js";
|
|
59
59
|
import {
|
|
60
60
|
measureText
|
|
61
61
|
} from "./chunk-4ASYQ347.js";
|
|
@@ -481,4 +481,4 @@ export {
|
|
|
481
481
|
renderState,
|
|
482
482
|
renderStateForExport
|
|
483
483
|
};
|
|
484
|
-
//# sourceMappingURL=chunk-
|
|
484
|
+
//# sourceMappingURL=chunk-NGGVVTP2.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-6VJCURWU.js";
|
|
22
22
|
import {
|
|
23
23
|
renderIntegratedLegend
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N7PF5IRF.js";
|
|
25
25
|
import {
|
|
26
26
|
getLegendExtent,
|
|
27
27
|
getMaxLegendReservedHeight
|
|
@@ -37,17 +37,17 @@ import {
|
|
|
37
37
|
} from "./chunk-6KFWC4CO.js";
|
|
38
38
|
import {
|
|
39
39
|
parseInfra
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OMOU2V3W.js";
|
|
41
41
|
import {
|
|
42
42
|
preprocessDescriptionLine
|
|
43
43
|
} from "./chunk-IYULMRBE.js";
|
|
44
44
|
import {
|
|
45
45
|
tagAttrKey
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-3LMUMAUS.js";
|
|
47
47
|
import {
|
|
48
48
|
legendInlineRequested,
|
|
49
49
|
legendSuppressed
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-E7HANW62.js";
|
|
51
51
|
import {
|
|
52
52
|
LEGEND_CAPSULE_PAD,
|
|
53
53
|
LEGEND_DOT_R,
|
|
@@ -1608,4 +1608,4 @@ export {
|
|
|
1608
1608
|
renderInfra,
|
|
1609
1609
|
parseAndLayoutInfra
|
|
1610
1610
|
};
|
|
1611
|
-
//# sourceMappingURL=chunk-
|
|
1611
|
+
//# sourceMappingURL=chunk-NPBAV3QU.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-6VJCURWU.js";
|
|
12
12
|
import {
|
|
13
13
|
renderIntegratedLegend
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-N7PF5IRF.js";
|
|
15
15
|
import {
|
|
16
16
|
controlsGroupCapsuleWidth,
|
|
17
17
|
getLegendExtent,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveActiveTagGroup,
|
|
33
33
|
resolveTagColor,
|
|
34
34
|
tagAttrKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-3LMUMAUS.js";
|
|
36
36
|
import {
|
|
37
37
|
LEGEND_CAPSULE_PAD,
|
|
38
38
|
LEGEND_DOT_R,
|
|
@@ -2143,4 +2143,4 @@ export {
|
|
|
2143
2143
|
renderGantt,
|
|
2144
2144
|
buildTagLaneRowList
|
|
2145
2145
|
};
|
|
2146
|
-
//# sourceMappingURL=chunk-
|
|
2146
|
+
//# sourceMappingURL=chunk-NQGE76NC.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
normalizeNumericToken,
|
|
6
6
|
parseFirstLine,
|
|
7
7
|
tryParseSharedOption
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-E7HANW62.js";
|
|
9
9
|
import {
|
|
10
10
|
makeDgmoError,
|
|
11
11
|
makeFail
|
|
@@ -158,4 +158,4 @@ function parseGoal(content, palette) {
|
|
|
158
158
|
export {
|
|
159
159
|
parseGoal
|
|
160
160
|
};
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-NSUAU6JQ.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
tagAttrKey,
|
|
14
14
|
validateTagGroupNames,
|
|
15
15
|
validateTagValues
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3LMUMAUS.js";
|
|
17
17
|
import {
|
|
18
18
|
ALL_CHART_TYPES,
|
|
19
19
|
OPTION_NOCOLON_RE,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
tryParseSharedOption,
|
|
26
26
|
warnUnknownMetaKeys,
|
|
27
27
|
withTagAliases
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-E7HANW62.js";
|
|
29
29
|
import {
|
|
30
30
|
formatDgmoError,
|
|
31
31
|
makeDgmoError,
|
|
@@ -520,4 +520,4 @@ export {
|
|
|
520
520
|
looksLikeSitemap,
|
|
521
521
|
parseSitemap
|
|
522
522
|
};
|
|
523
|
-
//# sourceMappingURL=chunk-
|
|
523
|
+
//# sourceMappingURL=chunk-NW2K6UU2.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
stripDefaultModifier,
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3LMUMAUS.js";
|
|
12
12
|
import {
|
|
13
13
|
MAP_DIRECTIVE_KEY_SET,
|
|
14
14
|
MAP_REGISTRY,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
peelRampColors,
|
|
18
18
|
splitNameAndMeta,
|
|
19
19
|
withTagAliases
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E7HANW62.js";
|
|
21
21
|
import {
|
|
22
22
|
NEGATIVE_VALUE_DX,
|
|
23
23
|
emit,
|
|
@@ -652,4 +652,4 @@ export {
|
|
|
652
652
|
looksLikeMap,
|
|
653
653
|
parseMap
|
|
654
654
|
};
|
|
655
|
-
//# sourceMappingURL=chunk-
|
|
655
|
+
//# sourceMappingURL=chunk-NYCBN7YE.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
stripDefaultModifier,
|
|
17
17
|
tagAttrKey,
|
|
18
18
|
validateTagGroupNames
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3LMUMAUS.js";
|
|
20
20
|
import {
|
|
21
21
|
INFRA_BEHAVIOR_KEY_SET,
|
|
22
22
|
INFRA_EDGE_ONLY_KEY_SET,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
tryParseSharedOption,
|
|
29
29
|
warnUnknownMetaKeys,
|
|
30
30
|
withTagAliases
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-E7HANW62.js";
|
|
32
32
|
import {
|
|
33
33
|
isRecognizedColorName
|
|
34
34
|
} from "./chunk-EXNKNJ65.js";
|
|
@@ -945,4 +945,4 @@ export {
|
|
|
945
945
|
parseInfra,
|
|
946
946
|
extractSymbols
|
|
947
947
|
};
|
|
948
|
-
//# sourceMappingURL=chunk-
|
|
948
|
+
//# sourceMappingURL=chunk-OMOU2V3W.js.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// src/cloud-reference.ts
|
|
2
|
+
var CLOUD_API_BASE = "https://api.diagrammo.app";
|
|
3
|
+
var CLOUD_APP_BASE = "https://online.diagrammo.app";
|
|
4
|
+
var ID = String.raw`[A-Za-z0-9_-]{3,64}`;
|
|
5
|
+
var FENCE_RE = new RegExp(`^\\s*live-link\\s+(${ID})\\s*$`);
|
|
6
|
+
var EMBED_RE = new RegExp(
|
|
7
|
+
`^\\s*!\\[\\[\\s*live-link:\\s*(${ID})\\s*\\]\\]\\s*$`
|
|
8
|
+
);
|
|
9
|
+
var URL_PATH_RE = new RegExp(
|
|
10
|
+
`^/(?:public/diagrams/(${ID})/source|d/(${ID})|view/(${ID}))/?$`
|
|
11
|
+
);
|
|
12
|
+
function parseCloudReference(text) {
|
|
13
|
+
const fence = FENCE_RE.exec(text) ?? EMBED_RE.exec(text);
|
|
14
|
+
if (fence) return reference(fence[1]);
|
|
15
|
+
return parseCloudReferenceUrl(text);
|
|
16
|
+
}
|
|
17
|
+
function parseCloudReferenceUrl(text) {
|
|
18
|
+
let url;
|
|
19
|
+
try {
|
|
20
|
+
url = new URL(text.trim());
|
|
21
|
+
} catch {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
if (url.protocol !== "https:" && url.protocol !== "http:") return null;
|
|
25
|
+
const match = URL_PATH_RE.exec(url.pathname);
|
|
26
|
+
if (!match) return null;
|
|
27
|
+
if (url.searchParams.has("at")) return null;
|
|
28
|
+
return reference(match[1] ?? match[2] ?? match[3]);
|
|
29
|
+
}
|
|
30
|
+
function reference(id) {
|
|
31
|
+
return id ? { id } : null;
|
|
32
|
+
}
|
|
33
|
+
function referenceSourceUrl(ref, options = {}) {
|
|
34
|
+
const base = (options.base ?? CLOUD_API_BASE).replace(/\/+$/, "");
|
|
35
|
+
return `${base}/public/diagrams/${ref.id}/source`;
|
|
36
|
+
}
|
|
37
|
+
function referenceShareUrl(ref, options = {}) {
|
|
38
|
+
const base = (options.base ?? CLOUD_APP_BASE).replace(/\/+$/, "");
|
|
39
|
+
return `${base}/d/${ref.id}`;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export {
|
|
43
|
+
CLOUD_API_BASE,
|
|
44
|
+
CLOUD_APP_BASE,
|
|
45
|
+
parseCloudReference,
|
|
46
|
+
parseCloudReferenceUrl,
|
|
47
|
+
referenceSourceUrl,
|
|
48
|
+
referenceShareUrl
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=chunk-ON4MEUC4.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-6KFWC4CO.js";
|
|
18
18
|
import {
|
|
19
19
|
fillModeFromOptions
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E7HANW62.js";
|
|
21
21
|
import {
|
|
22
22
|
CHAR_WIDTH_RATIO,
|
|
23
23
|
measureText
|
|
@@ -296,4 +296,4 @@ export {
|
|
|
296
296
|
renderRing,
|
|
297
297
|
renderRingForExport
|
|
298
298
|
};
|
|
299
|
-
//# sourceMappingURL=chunk-
|
|
299
|
+
//# sourceMappingURL=chunk-OXANJRNK.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
stripDefaultModifier,
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3LMUMAUS.js";
|
|
12
12
|
import {
|
|
13
13
|
KANBAN_REGISTRY,
|
|
14
14
|
OPTION_NOCOLON_RE,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitNameAndMeta,
|
|
20
20
|
warnUnknownMetaKeys,
|
|
21
21
|
withTagAliases
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-E7HANW62.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveColorWithDiagnostic
|
|
25
25
|
} from "./chunk-EXNKNJ65.js";
|
|
@@ -384,4 +384,4 @@ function parseCardLine(trimmed, lineNumber, counter, metaAliasMap, _palette, dia
|
|
|
384
384
|
export {
|
|
385
385
|
parseKanban
|
|
386
386
|
};
|
|
387
|
-
//# sourceMappingURL=chunk-
|
|
387
|
+
//# sourceMappingURL=chunk-PH5WK6G5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderIntegratedLegend
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N7PF5IRF.js";
|
|
4
4
|
import {
|
|
5
5
|
FONT_FAMILY
|
|
6
6
|
} from "./chunk-6KFWC4CO.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveActiveTagGroup,
|
|
14
14
|
resolveTagColor,
|
|
15
15
|
tagAttrKey
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3LMUMAUS.js";
|
|
17
17
|
import {
|
|
18
18
|
getSeriesColors,
|
|
19
19
|
mix,
|
|
@@ -334,4 +334,4 @@ export {
|
|
|
334
334
|
renderBody,
|
|
335
335
|
renderBodyForExport
|
|
336
336
|
};
|
|
337
|
-
//# sourceMappingURL=chunk-
|
|
337
|
+
//# sourceMappingURL=chunk-PIIORN3Q.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-6KFWC4CO.js";
|
|
18
18
|
import {
|
|
19
19
|
fillModeFromOptions
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E7HANW62.js";
|
|
21
21
|
import {
|
|
22
22
|
CHAR_WIDTH_RATIO,
|
|
23
23
|
measureText
|
|
@@ -428,4 +428,4 @@ export {
|
|
|
428
428
|
renderPyramid,
|
|
429
429
|
renderPyramidForExport
|
|
430
430
|
};
|
|
431
|
-
//# sourceMappingURL=chunk-
|
|
431
|
+
//# sourceMappingURL=chunk-QDOSCTL5.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
normalizeNumericToken,
|
|
13
13
|
parseFirstLine,
|
|
14
14
|
parseSeriesNames
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-E7HANW62.js";
|
|
16
16
|
import {
|
|
17
17
|
RECOGNIZED_COLOR_NAMES,
|
|
18
18
|
resolveColorWithDiagnostic
|
|
@@ -1204,4 +1204,4 @@ export {
|
|
|
1204
1204
|
getSimpleChartLegendGroups,
|
|
1205
1205
|
getExtendedChartLegendGroups
|
|
1206
1206
|
};
|
|
1207
|
-
//# sourceMappingURL=chunk-
|
|
1207
|
+
//# sourceMappingURL=chunk-QS37VUFZ.js.map
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
resolveActiveTagGroup,
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3LMUMAUS.js";
|
|
12
12
|
import {
|
|
13
13
|
extractColor,
|
|
14
14
|
fillModeFromToken,
|
|
15
15
|
measureIndent,
|
|
16
16
|
parseFirstLine,
|
|
17
17
|
splitNameAndMeta
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E7HANW62.js";
|
|
19
19
|
import {
|
|
20
20
|
makeDgmoError,
|
|
21
21
|
makeFail
|
|
@@ -392,4 +392,4 @@ function parseBracket(content, palette) {
|
|
|
392
392
|
export {
|
|
393
393
|
parseBracket
|
|
394
394
|
};
|
|
395
|
-
//# sourceMappingURL=chunk-
|
|
395
|
+
//# sourceMappingURL=chunk-RB3AFVPT.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7TF3QOOD.js";
|
|
4
4
|
import {
|
|
5
5
|
tryCollectNote
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6JYE3SDK.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveNotes
|
|
9
9
|
} from "./chunk-7NK42OIB.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
measureIndent,
|
|
22
22
|
parseFirstLine,
|
|
23
23
|
tryParseSharedOption
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-E7HANW62.js";
|
|
25
25
|
import {
|
|
26
26
|
NAME_DIAGNOSTIC_CODES,
|
|
27
27
|
emit,
|
|
@@ -470,4 +470,4 @@ export {
|
|
|
470
470
|
looksLikeFlowchart,
|
|
471
471
|
extractSymbols
|
|
472
472
|
};
|
|
473
|
-
//# sourceMappingURL=chunk-
|
|
473
|
+
//# sourceMappingURL=chunk-RDHZRHDG.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-YYVTBZZC.js";
|
|
8
8
|
import {
|
|
9
9
|
renderIntegratedLegend
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N7PF5IRF.js";
|
|
11
11
|
import {
|
|
12
12
|
getMaxLegendReservedHeight
|
|
13
13
|
} from "./chunk-ES66QH6J.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
fillModeFromOptions,
|
|
19
19
|
legendSuppressed
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E7HANW62.js";
|
|
21
21
|
import {
|
|
22
22
|
measureText,
|
|
23
23
|
truncateText,
|
|
@@ -1603,4 +1603,4 @@ export {
|
|
|
1603
1603
|
renderTechRadar,
|
|
1604
1604
|
renderTechRadarForExport
|
|
1605
1605
|
};
|
|
1606
|
-
//# sourceMappingURL=chunk-
|
|
1606
|
+
//# sourceMappingURL=chunk-S3AZMBK7.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-6VJCURWU.js";
|
|
4
4
|
import {
|
|
5
5
|
renderIntegratedLegend
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N7PF5IRF.js";
|
|
7
7
|
import {
|
|
8
8
|
getLegendExtent,
|
|
9
9
|
getMaxLegendReservedHeight
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
resolveTagColor,
|
|
24
24
|
tagAttrKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3LMUMAUS.js";
|
|
26
26
|
import {
|
|
27
27
|
LEGEND_GROUP_GAP
|
|
28
28
|
} from "./chunk-SCJ7CAJF.js";
|
|
@@ -396,4 +396,4 @@ export {
|
|
|
396
396
|
renderBlock,
|
|
397
397
|
authoredCollapsedIds
|
|
398
398
|
};
|
|
399
|
-
//# sourceMappingURL=chunk-
|
|
399
|
+
//# sourceMappingURL=chunk-SBQXLX6Y.js.map
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
resolveTagColor,
|
|
14
14
|
tagAttrKey
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3LMUMAUS.js";
|
|
16
16
|
import {
|
|
17
17
|
fillModeFromOptions
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E7HANW62.js";
|
|
19
19
|
import {
|
|
20
20
|
contrastText,
|
|
21
21
|
mix,
|
|
@@ -401,4 +401,4 @@ function drawCenteredLabel(g, label, cx, cy, fill, fontSize, tight = false, halo
|
|
|
401
401
|
export {
|
|
402
402
|
renderSwimlaneForExport
|
|
403
403
|
};
|
|
404
|
-
//# sourceMappingURL=chunk-
|
|
404
|
+
//# sourceMappingURL=chunk-SQK4EKOW.js.map
|