@ashwin_droid/notion-stream 1.0.0 → 1.0.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/{_baseUniq-DSwfPiGC.js → _baseUniq-D32sgNIc.js} +1 -1
- package/dist/{_baseUniq-CT-tc-CG.mjs → _baseUniq-DCnQIx8G.mjs} +51 -51
- package/dist/{arc-BBnIBs2j.js → arc-B0uBm0sN.js} +1 -1
- package/dist/{arc-DmoYXidQ.mjs → arc-OrNNmmBm.mjs} +1 -1
- package/dist/{architecture-U656AL7Q-C0ZB2O9M.js → architecture-U656AL7Q-CLYqYgyv.js} +1 -1
- package/dist/{architecture-U656AL7Q-CMPtJMZ-.mjs → architecture-U656AL7Q-seCMyeyz.mjs} +1 -1
- package/dist/architectureDiagram-VXUJARFQ-BGsDPmi_.js +36 -0
- package/dist/{architectureDiagram-VXUJARFQ-BYzpbF40.mjs → architectureDiagram-VXUJARFQ-BmPLNLcs.mjs} +1846 -1850
- package/dist/{blockDiagram-VD42YOAC-DPVTCHn5.mjs → blockDiagram-VD42YOAC-CXKvT-9-.mjs} +913 -922
- package/dist/blockDiagram-VD42YOAC-NQhzFvsO.js +122 -0
- package/dist/c4Diagram-YG6GDRKO-CMXx6pyB.js +10 -0
- package/dist/{c4Diagram-YG6GDRKO-C2Y4q08p.mjs → c4Diagram-YG6GDRKO-DAGMHESb.mjs} +169 -170
- package/dist/{channel-DVpqhnow.mjs → channel-BXGyzQA6.mjs} +1 -1
- package/dist/channel-Dw8BXC8D.js +1 -0
- package/dist/chunk-4BX2VUAB-MnK73C0-.js +1 -0
- package/dist/chunk-4BX2VUAB-ZaWvd3Xe.mjs +8 -0
- package/dist/{chunk-55IACEB6-P_FVKIbW.js → chunk-55IACEB6-B1EpdpVW.js} +1 -1
- package/dist/{chunk-55IACEB6-Du1Simcj.mjs → chunk-55IACEB6-iKbZBHA5.mjs} +1 -1
- package/dist/chunk-B4BG7PRW-Bo_sfBKL.js +165 -0
- package/dist/{chunk-B4BG7PRW-BUKsa2yH.mjs → chunk-B4BG7PRW-DgqSow4f.mjs} +251 -252
- package/dist/{chunk-DI55MBZ5-C9h0qLVI.mjs → chunk-DI55MBZ5-BAHL-2VJ.mjs} +444 -456
- package/dist/chunk-DI55MBZ5-BuuMLI1S.js +220 -0
- package/dist/{chunk-FMBD7UC4-C08-zA06.mjs → chunk-FMBD7UC4-BE8MbNLe.mjs} +1 -1
- package/dist/{chunk-FMBD7UC4-48-zdz-1.js → chunk-FMBD7UC4-Cs1BNv23.js} +1 -1
- package/dist/chunk-QN33PNHL-MX1ZMWu-.js +1 -0
- package/dist/chunk-QN33PNHL-ZaWv5vaA.mjs +19 -0
- package/dist/{chunk-QZHKN3VN-DbO6TJSK.mjs → chunk-QZHKN3VN-D2X7PBDi.mjs} +1 -1
- package/dist/{chunk-QZHKN3VN-Dy2264ui.js → chunk-QZHKN3VN-Db6mVb9M.js} +1 -1
- package/dist/{chunk-TZMSLE5B-BPmI9i6R.mjs → chunk-TZMSLE5B-AMFXF6mq.mjs} +20 -20
- package/dist/{chunk-TZMSLE5B-COENnLAZ.js → chunk-TZMSLE5B-CzjtACDr.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-mzvV1Ifg.mjs → classDiagram-2ON5EDUG-CPwvtUDj.mjs} +2 -2
- package/dist/{classDiagram-2ON5EDUG-CFFwYK87.js → classDiagram-2ON5EDUG-UNrH9bQo.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-mzvV1Ifg.mjs → classDiagram-v2-WZHVMYZB-CPwvtUDj.mjs} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-CFFwYK87.js → classDiagram-v2-WZHVMYZB-UNrH9bQo.js} +1 -1
- package/dist/{clone-KtLCwiKH.mjs → clone-CV4F8CSW.mjs} +1 -1
- package/dist/clone-HVsPHeK3.js +1 -0
- package/dist/{code-block-37QAKDTI-sxlq94xm.js → code-block-37QAKDTI-38K5Mxo2.js} +1 -1
- package/dist/{code-block-37QAKDTI-CmykMxjQ.mjs → code-block-37QAKDTI-Q-OOsw6q.mjs} +1 -1
- package/dist/cose-bilkent-S5V4N54A-1B77PywG.js +1 -0
- package/dist/{cose-bilkent-S5V4N54A-BXcldnso.mjs → cose-bilkent-S5V4N54A-greBbyuM.mjs} +592 -589
- package/dist/cytoscape.esm-CNUX3VTg.js +321 -0
- package/dist/{cytoscape.esm-ZmItrg9y.mjs → cytoscape.esm-Cvf3sx9F.mjs} +56 -83
- package/dist/dagre-6UL2VRFP-DEQXyXKh.js +4 -0
- package/dist/dagre-6UL2VRFP-DN5Inkgr.mjs +443 -0
- package/dist/diagram-PSM6KHXK-C7tjFZpr.js +24 -0
- package/dist/{diagram-PSM6KHXK-DIV3jw9d.mjs → diagram-PSM6KHXK-D-GS1fTc.mjs} +45 -48
- package/dist/{diagram-QEK2KX5R-Q0M2_YtR.mjs → diagram-QEK2KX5R-DJXBxeH4.mjs} +10 -14
- package/dist/diagram-QEK2KX5R-Doa8ooC_.js +43 -0
- package/dist/diagram-S2PKOQOG-BN04h93a.js +24 -0
- package/dist/{diagram-S2PKOQOG-_WGA6s2-.mjs → diagram-S2PKOQOG-BuPevKqw.mjs} +22 -23
- package/dist/erDiagram-Q2GNP2WA-AS2vnQKc.js +60 -0
- package/dist/{erDiagram-Q2GNP2WA-CW0D_QGb.mjs → erDiagram-Q2GNP2WA-DxOmvmqL.mjs} +77 -78
- package/dist/flowDiagram-NV44I4VS-BChiRwcp.js +162 -0
- package/dist/{flowDiagram-NV44I4VS-DVQ8Ntc4.mjs → flowDiagram-NV44I4VS-Cs_jC87H.mjs} +442 -449
- package/dist/{ganttDiagram-JELNMOA3-Bk-dX6qT.mjs → ganttDiagram-JELNMOA3-02b_-xyZ.mjs} +1049 -1041
- package/dist/ganttDiagram-JELNMOA3-BGy1b6TD.js +267 -0
- package/dist/{gitGraph-F6HP7TQM-CsdwxYUE.mjs → gitGraph-F6HP7TQM-BWm0SBV4.mjs} +1 -1
- package/dist/{gitGraph-F6HP7TQM-DvIgo2TM.js → gitGraph-F6HP7TQM-DVfckSNX.js} +1 -1
- package/dist/gitGraphDiagram-NY62KEGX-CfzoE07P.mjs +699 -0
- package/dist/gitGraphDiagram-NY62KEGX-Cm9ywQoW.js +65 -0
- package/dist/{graph-C_T4ZBuC.mjs → graph-DEu7-ZhH.mjs} +8 -8
- package/dist/{graph-BNpx6ebg.js → graph-Dw_87ii6.js} +1 -1
- package/dist/index-BwYOYPeK.js +670 -0
- package/dist/{index-oe4HpmeG.mjs → index-DH3CVXwD.mjs} +22541 -22646
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{info-NVLQJR56-BwFQRguW.js → info-NVLQJR56-BpKxONZx.js} +1 -1
- package/dist/info-NVLQJR56-MmJP3L6S.mjs +5 -0
- package/dist/{infoDiagram-WHAUD3N6-C-gzsm95.mjs → infoDiagram-WHAUD3N6-Bfsucvti.mjs} +2 -2
- package/dist/{infoDiagram-WHAUD3N6-CCb5k_S7.js → infoDiagram-WHAUD3N6-q-yX3_By.js} +1 -1
- package/dist/journeyDiagram-XKPGCS4Q-BqtyHvQF.js +139 -0
- package/dist/{journeyDiagram-XKPGCS4Q-DzkUL_YG.mjs → journeyDiagram-XKPGCS4Q-dFRLmnr-.mjs} +24 -26
- package/dist/kanban-definition-3W4ZIXB7-DeOl9Eme.mjs +719 -0
- package/dist/kanban-definition-3W4ZIXB7-DraMxv75.js +89 -0
- package/dist/{layout-CuWQnP5Y.js → layout-BKTUO8WZ.js} +1 -1
- package/dist/{layout-Cd98WJ7r.mjs → layout-CpL-hYTa.mjs} +22 -22
- package/dist/{linear-SU4e8MRt.mjs → linear-CLwIU3di.mjs} +20 -20
- package/dist/{linear-DFDw13y6.js → linear-DvM229Di.js} +1 -1
- package/dist/mermaid-4DMBBIKO-BpqXz0_U.mjs +4 -0
- package/dist/{mermaid-4DMBBIKO-BihEtyib.js → mermaid-4DMBBIKO-Cd15t2pT.js} +1 -1
- package/dist/mermaid-parser.core-BVlc9Lqd.js +128 -0
- package/dist/{mermaid-parser.core-C8Sxzqul.mjs → mermaid-parser.core-CLAapB2-.mjs} +3404 -3369
- package/dist/{min-C2k771MZ.mjs → min--ML-ONY_.mjs} +2 -2
- package/dist/{min-CppMRDFn.js → min-BQ4NUvNf.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-BUd354uH.mjs → mindmap-definition-VGOIOE7T-78K_EDCb.mjs} +170 -172
- package/dist/mindmap-definition-VGOIOE7T-ZHY70ZzV.js +68 -0
- package/dist/notion-stream.css +1 -0
- package/dist/{ordinal-C0oynhte.mjs → ordinal-B-KqvkJf.mjs} +1 -1
- package/dist/{packet-BFZMPI3H-Cz_A86d3.mjs → packet-BFZMPI3H-B34lFb6T.mjs} +1 -1
- package/dist/{packet-BFZMPI3H-CFx3kSkL.js → packet-BFZMPI3H-C9xcJQVN.js} +1 -1
- package/dist/{pie-7BOR55EZ-_1MqisBd.js → pie-7BOR55EZ-Bz_jfTd_.js} +1 -1
- package/dist/pie-7BOR55EZ-DW2Zgje5.mjs +5 -0
- package/dist/{pieDiagram-ADFJNKIX-Bg0_gu43.js → pieDiagram-ADFJNKIX-CKzchAXU.js} +2 -2
- package/dist/{pieDiagram-ADFJNKIX-lRs_rpwI.mjs → pieDiagram-ADFJNKIX-Ctp6QR7f.mjs} +21 -21
- package/dist/quadrantDiagram-AYHSOK5B-D2Rt32D2.js +7 -0
- package/dist/{quadrantDiagram-AYHSOK5B-D9kypJt6.mjs → quadrantDiagram-AYHSOK5B-D3U_Qicu.mjs} +230 -232
- package/dist/{radar-NHE76QYJ-B-PvZD0K.mjs → radar-NHE76QYJ-CO5ECFHq.mjs} +1 -1
- package/dist/{radar-NHE76QYJ-CdtC4C8F.js → radar-NHE76QYJ-DI4PJJjm.js} +1 -1
- package/dist/requirementDiagram-UZGBJVZJ-CSgb6U9N.js +64 -0
- package/dist/{requirementDiagram-UZGBJVZJ-B5ulaHjE.mjs → requirementDiagram-UZGBJVZJ-Da_yWSD1.mjs} +190 -192
- package/dist/sankeyDiagram-TZEHDZUN-C8jpBnM0.js +10 -0
- package/dist/{sankeyDiagram-TZEHDZUN-DprIPFbe.mjs → sankeyDiagram-TZEHDZUN-Dp3Eyl8Q.mjs} +189 -189
- package/dist/sequenceDiagram-WL72ISMW-BZJ7d_X4.js +145 -0
- package/dist/{sequenceDiagram-WL72ISMW-B4m4oag0.mjs → sequenceDiagram-WL72ISMW-yJKe02sV.mjs} +222 -229
- package/dist/{stateDiagram-FKZM4ZOC-BD4tnS-V.js → stateDiagram-FKZM4ZOC-Cfuygt_P.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-DjkdDbQ2.mjs → stateDiagram-FKZM4ZOC-z0IX85WL.mjs} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-AK86F3i6.mjs → stateDiagram-v2-4FDKWEC3-BDMFqSat.mjs} +2 -2
- package/dist/{stateDiagram-v2-4FDKWEC3-sybMoxOk.js → stateDiagram-v2-4FDKWEC3-BiriAQkj.js} +1 -1
- package/dist/{timeline-definition-IT6M3QCI-BFuQEeZP.mjs → timeline-definition-IT6M3QCI-BmEq-RM3.mjs} +217 -223
- package/dist/timeline-definition-IT6M3QCI-CBmpRgUM.js +61 -0
- package/dist/{treemap-KMMF4GRG-gtrnY16v.mjs → treemap-KMMF4GRG-IaHP18r_.mjs} +1 -1
- package/dist/{treemap-KMMF4GRG-DTnRa789.js → treemap-KMMF4GRG-qP0VzKwW.js} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-CjXiy6m0.mjs → xychartDiagram-PRI3JC2R-BSaI76KX.mjs} +7 -7
- package/dist/xychartDiagram-PRI3JC2R-CQgij0Fy.js +7 -0
- package/package.json +5 -5
- package/dist/architectureDiagram-VXUJARFQ-BPQoZmaM.js +0 -36
- package/dist/blockDiagram-VD42YOAC-Z3Fc3Bew.js +0 -122
- package/dist/c4Diagram-YG6GDRKO-LzDuCZ2V.js +0 -10
- package/dist/channel-6dUO0MQi.js +0 -1
- package/dist/chunk-4BX2VUAB-BwubFldI.js +0 -1
- package/dist/chunk-4BX2VUAB-DldMXCTt.mjs +0 -9
- package/dist/chunk-B4BG7PRW-CKX0VJ-S.js +0 -165
- package/dist/chunk-DI55MBZ5-CMq-O8k2.js +0 -220
- package/dist/chunk-QN33PNHL-B0sO38bZ.js +0 -1
- package/dist/chunk-QN33PNHL-B_PGnTkk.mjs +0 -20
- package/dist/clone-B0UaPT2Z.js +0 -1
- package/dist/cose-bilkent-S5V4N54A-BCaAPmuF.js +0 -1
- package/dist/cytoscape.esm-DkGgpG6d.js +0 -331
- package/dist/dagre-6UL2VRFP-By42zbLA.mjs +0 -446
- package/dist/dagre-6UL2VRFP-DCwfkcWi.js +0 -4
- package/dist/diagram-PSM6KHXK-hjXN9n1N.js +0 -24
- package/dist/diagram-QEK2KX5R-B04ODMim.js +0 -43
- package/dist/diagram-S2PKOQOG-BmCs4MZE.js +0 -24
- package/dist/erDiagram-Q2GNP2WA-4KtQUUuI.js +0 -60
- package/dist/flowDiagram-NV44I4VS-BwpfJE0U.js +0 -162
- package/dist/ganttDiagram-JELNMOA3-D7rI7u8B.js +0 -267
- package/dist/gitGraphDiagram-NY62KEGX-BDTsbSkO.mjs +0 -712
- package/dist/gitGraphDiagram-NY62KEGX-IQ8KriUw.js +0 -65
- package/dist/index-CkYZRBYn.js +0 -676
- package/dist/info-NVLQJR56-B5gDnSIT.mjs +0 -5
- package/dist/journeyDiagram-XKPGCS4Q-POnSekz9.js +0 -139
- package/dist/kanban-definition-3W4ZIXB7-BPr0_7wG.mjs +0 -720
- package/dist/kanban-definition-3W4ZIXB7-Bm064qrf.js +0 -89
- package/dist/mermaid-4DMBBIKO-DDxvQcE9.mjs +0 -4
- package/dist/mermaid-parser.core-BHAgLMGa.js +0 -128
- package/dist/mindmap-definition-VGOIOE7T-CV7bD4HY.js +0 -68
- package/dist/pie-7BOR55EZ-B0-atE_o.mjs +0 -5
- package/dist/quadrantDiagram-AYHSOK5B-B4gVakRV.js +0 -7
- package/dist/requirementDiagram-UZGBJVZJ-0zMPj-SD.js +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-Cl8-L83T.js +0 -10
- package/dist/sequenceDiagram-WL72ISMW-DRQn7Fe4.js +0 -145
- package/dist/timeline-definition-IT6M3QCI-2X4dfyLj.js +0 -61
- package/dist/xychartDiagram-PRI3JC2R-BaFd1In8.js +0 -7
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { g as et } from "./chunk-FMBD7UC4-
|
|
2
|
-
import { g as tt } from "./chunk-55IACEB6-
|
|
3
|
-
import { s as st } from "./chunk-QN33PNHL-
|
|
4
|
-
import { _ as
|
|
5
|
-
var Ve = function() {
|
|
6
|
-
var s = /* @__PURE__ */
|
|
7
|
-
for (
|
|
8
|
-
return
|
|
9
|
-
}, "o"), i = [1, 18], a = [1, 19], u = [1, 20], l = [1, 41],
|
|
10
|
-
trace: /* @__PURE__ */
|
|
1
|
+
import { g as et } from "./chunk-FMBD7UC4-BE8MbNLe.mjs";
|
|
2
|
+
import { g as tt } from "./chunk-55IACEB6-iKbZBHA5.mjs";
|
|
3
|
+
import { s as st } from "./chunk-QN33PNHL-ZaWv5vaA.mjs";
|
|
4
|
+
import { _ as A, l as Oe, f as D, u as it, v as at, x as we, h as ee, e as nt, d as rt, s as ut, g as lt, y as ot, z as ct, o as v, D as ht, C as dt, m as pt, ad as R } from "./index-DH3CVXwD.mjs";
|
|
5
|
+
var Ve = (function() {
|
|
6
|
+
var s = /* @__PURE__ */ A(function(I, o, c, d) {
|
|
7
|
+
for (c = c || {}, d = I.length; d--; c[I[d]] = o) ;
|
|
8
|
+
return c;
|
|
9
|
+
}, "o"), i = [1, 18], a = [1, 19], u = [1, 20], l = [1, 41], n = [1, 42], p = [1, 26], f = [1, 24], C = [1, 25], B = [1, 32], L = [1, 33], Ae = [1, 34], m = [1, 45], fe = [1, 35], ge = [1, 36], Ce = [1, 37], me = [1, 38], be = [1, 27], Ee = [1, 28], ye = [1, 29], Te = [1, 30], ke = [1, 31], b = [1, 44], E = [1, 46], y = [1, 43], T = [1, 47], De = [1, 9], h = [1, 8, 9], te = [1, 58], se = [1, 59], ie = [1, 60], ae = [1, 61], ne = [1, 62], Fe = [1, 63], Be = [1, 64], z = [1, 8, 9, 41], Pe = [1, 76], P = [1, 8, 9, 12, 13, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], re = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 50, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], ue = [13, 60, 86, 100, 102, 103], K = [13, 60, 73, 74, 86, 100, 102, 103], Me = [13, 60, 68, 69, 70, 71, 72, 86, 100, 102, 103], _e = [1, 100], Y = [1, 117], Q = [1, 113], W = [1, 109], j = [1, 115], X = [1, 110], H = [1, 111], q = [1, 112], J = [1, 114], Z = [1, 116], Re = [22, 48, 60, 61, 82, 86, 87, 88, 89, 90], Se = [1, 8, 9, 39, 41, 44], le = [1, 8, 9, 22], Ge = [1, 145], Ue = [1, 8, 9, 61], N = [1, 8, 9, 22, 48, 60, 61, 82, 86, 87, 88, 89, 90], Ne = {
|
|
10
|
+
trace: /* @__PURE__ */ A(function() {
|
|
11
11
|
}, "trace"),
|
|
12
12
|
yy: {},
|
|
13
13
|
symbols_: { error: 2, start: 3, mermaidDoc: 4, statements: 5, graphConfig: 6, CLASS_DIAGRAM: 7, NEWLINE: 8, EOF: 9, statement: 10, classLabel: 11, SQS: 12, STR: 13, SQE: 14, namespaceName: 15, alphaNumToken: 16, classLiteralName: 17, DOT: 18, className: 19, GENERICTYPE: 20, relationStatement: 21, LABEL: 22, namespaceStatement: 23, classStatement: 24, memberStatement: 25, annotationStatement: 26, clickStatement: 27, styleStatement: 28, cssClassStatement: 29, noteStatement: 30, classDefStatement: 31, direction: 32, acc_title: 33, acc_title_value: 34, acc_descr: 35, acc_descr_value: 36, acc_descr_multiline_value: 37, namespaceIdentifier: 38, STRUCT_START: 39, classStatements: 40, STRUCT_STOP: 41, NAMESPACE: 42, classIdentifier: 43, STYLE_SEPARATOR: 44, members: 45, CLASS: 46, emptyBody: 47, SPACE: 48, ANNOTATION_START: 49, ANNOTATION_END: 50, MEMBER: 51, SEPARATOR: 52, relation: 53, NOTE_FOR: 54, noteText: 55, NOTE: 56, CLASSDEF: 57, classList: 58, stylesOpt: 59, ALPHA: 60, COMMA: 61, direction_tb: 62, direction_bt: 63, direction_rl: 64, direction_lr: 65, relationType: 66, lineType: 67, AGGREGATION: 68, EXTENSION: 69, COMPOSITION: 70, DEPENDENCY: 71, LOLLIPOP: 72, LINE: 73, DOTTED_LINE: 74, CALLBACK: 75, LINK: 76, LINK_TARGET: 77, CLICK: 78, CALLBACK_NAME: 79, CALLBACK_ARGS: 80, HREF: 81, STYLE: 82, CSSCLASS: 83, style: 84, styleComponent: 85, NUM: 86, COLON: 87, UNIT: 88, BRKT: 89, PCT: 90, commentToken: 91, textToken: 92, graphCodeTokens: 93, textNoTagsToken: 94, TAGSTART: 95, TAGEND: 96, "==": 97, "--": 98, DEFAULT: 99, MINUS: 100, keywords: 101, UNICODE_TEXT: 102, BQUOTE_STR: 103, $accept: 0, $end: 1 },
|
|
14
14
|
terminals_: { 2: "error", 7: "CLASS_DIAGRAM", 8: "NEWLINE", 9: "EOF", 12: "SQS", 13: "STR", 14: "SQE", 18: "DOT", 20: "GENERICTYPE", 22: "LABEL", 33: "acc_title", 34: "acc_title_value", 35: "acc_descr", 36: "acc_descr_value", 37: "acc_descr_multiline_value", 39: "STRUCT_START", 41: "STRUCT_STOP", 42: "NAMESPACE", 44: "STYLE_SEPARATOR", 46: "CLASS", 48: "SPACE", 49: "ANNOTATION_START", 50: "ANNOTATION_END", 51: "MEMBER", 52: "SEPARATOR", 54: "NOTE_FOR", 56: "NOTE", 57: "CLASSDEF", 60: "ALPHA", 61: "COMMA", 62: "direction_tb", 63: "direction_bt", 64: "direction_rl", 65: "direction_lr", 68: "AGGREGATION", 69: "EXTENSION", 70: "COMPOSITION", 71: "DEPENDENCY", 72: "LOLLIPOP", 73: "LINE", 74: "DOTTED_LINE", 75: "CALLBACK", 76: "LINK", 77: "LINK_TARGET", 78: "CLICK", 79: "CALLBACK_NAME", 80: "CALLBACK_ARGS", 81: "HREF", 82: "STYLE", 83: "CSSCLASS", 86: "NUM", 87: "COLON", 88: "UNIT", 89: "BRKT", 90: "PCT", 93: "graphCodeTokens", 95: "TAGSTART", 96: "TAGEND", 97: "==", 98: "--", 99: "DEFAULT", 100: "MINUS", 101: "keywords", 102: "UNICODE_TEXT", 103: "BQUOTE_STR" },
|
|
15
15
|
productions_: [0, [3, 1], [3, 1], [4, 1], [6, 4], [5, 1], [5, 2], [5, 3], [11, 3], [15, 1], [15, 1], [15, 3], [15, 2], [19, 1], [19, 3], [19, 1], [19, 2], [19, 2], [19, 2], [10, 1], [10, 2], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [10, 1], [23, 4], [23, 5], [38, 2], [40, 1], [40, 2], [40, 3], [24, 1], [24, 3], [24, 4], [24, 3], [24, 6], [43, 2], [43, 3], [47, 0], [47, 2], [47, 2], [26, 4], [45, 1], [45, 2], [25, 1], [25, 2], [25, 1], [25, 1], [21, 3], [21, 4], [21, 4], [21, 5], [30, 3], [30, 2], [31, 3], [58, 1], [58, 3], [32, 1], [32, 1], [32, 1], [32, 1], [53, 3], [53, 2], [53, 2], [53, 1], [66, 1], [66, 1], [66, 1], [66, 1], [66, 1], [67, 1], [67, 1], [27, 3], [27, 4], [27, 3], [27, 4], [27, 4], [27, 5], [27, 3], [27, 4], [27, 4], [27, 5], [27, 4], [27, 5], [27, 5], [27, 6], [28, 3], [29, 3], [59, 1], [59, 3], [84, 1], [84, 2], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [91, 1], [91, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [94, 1], [94, 1], [94, 1], [94, 1], [16, 1], [16, 1], [16, 1], [16, 1], [17, 1], [55, 1]],
|
|
16
|
-
performAction: /* @__PURE__ */
|
|
16
|
+
performAction: /* @__PURE__ */ A(function(o, c, d, r, g, e, $) {
|
|
17
17
|
var t = e.length - 1;
|
|
18
|
-
switch (
|
|
18
|
+
switch (g) {
|
|
19
19
|
case 8:
|
|
20
20
|
this.$ = e[t - 1];
|
|
21
21
|
break;
|
|
@@ -38,26 +38,26 @@ var Ve = function() {
|
|
|
38
38
|
this.$ = e[t - 1] + "~" + e[t] + "~";
|
|
39
39
|
break;
|
|
40
40
|
case 19:
|
|
41
|
-
|
|
41
|
+
r.addRelation(e[t]);
|
|
42
42
|
break;
|
|
43
43
|
case 20:
|
|
44
|
-
e[t - 1].title =
|
|
44
|
+
e[t - 1].title = r.cleanupLabel(e[t]), r.addRelation(e[t - 1]);
|
|
45
45
|
break;
|
|
46
46
|
case 31:
|
|
47
|
-
this.$ = e[t].trim(),
|
|
47
|
+
this.$ = e[t].trim(), r.setAccTitle(this.$);
|
|
48
48
|
break;
|
|
49
49
|
case 32:
|
|
50
50
|
case 33:
|
|
51
|
-
this.$ = e[t].trim(),
|
|
51
|
+
this.$ = e[t].trim(), r.setAccDescription(this.$);
|
|
52
52
|
break;
|
|
53
53
|
case 34:
|
|
54
|
-
|
|
54
|
+
r.addClassesToNamespace(e[t - 3], e[t - 1]);
|
|
55
55
|
break;
|
|
56
56
|
case 35:
|
|
57
|
-
|
|
57
|
+
r.addClassesToNamespace(e[t - 4], e[t - 1]);
|
|
58
58
|
break;
|
|
59
59
|
case 36:
|
|
60
|
-
this.$ = e[t],
|
|
60
|
+
this.$ = e[t], r.addNamespace(e[t]);
|
|
61
61
|
break;
|
|
62
62
|
case 37:
|
|
63
63
|
this.$ = [e[t]];
|
|
@@ -69,22 +69,22 @@ var Ve = function() {
|
|
|
69
69
|
e[t].unshift(e[t - 2]), this.$ = e[t];
|
|
70
70
|
break;
|
|
71
71
|
case 41:
|
|
72
|
-
|
|
72
|
+
r.setCssClass(e[t - 2], e[t]);
|
|
73
73
|
break;
|
|
74
74
|
case 42:
|
|
75
|
-
|
|
75
|
+
r.addMembers(e[t - 3], e[t - 1]);
|
|
76
76
|
break;
|
|
77
77
|
case 44:
|
|
78
|
-
|
|
78
|
+
r.setCssClass(e[t - 5], e[t - 3]), r.addMembers(e[t - 5], e[t - 1]);
|
|
79
79
|
break;
|
|
80
80
|
case 45:
|
|
81
|
-
this.$ = e[t],
|
|
81
|
+
this.$ = e[t], r.addClass(e[t]);
|
|
82
82
|
break;
|
|
83
83
|
case 46:
|
|
84
|
-
this.$ = e[t - 1],
|
|
84
|
+
this.$ = e[t - 1], r.addClass(e[t - 1]), r.setClassLabel(e[t - 1], e[t]);
|
|
85
85
|
break;
|
|
86
86
|
case 50:
|
|
87
|
-
|
|
87
|
+
r.addAnnotation(e[t], e[t - 2]);
|
|
88
88
|
break;
|
|
89
89
|
case 51:
|
|
90
90
|
case 64:
|
|
@@ -96,7 +96,7 @@ var Ve = function() {
|
|
|
96
96
|
case 53:
|
|
97
97
|
break;
|
|
98
98
|
case 54:
|
|
99
|
-
|
|
99
|
+
r.addMember(e[t - 1], r.cleanupLabel(e[t]));
|
|
100
100
|
break;
|
|
101
101
|
case 55:
|
|
102
102
|
break;
|
|
@@ -115,28 +115,28 @@ var Ve = function() {
|
|
|
115
115
|
this.$ = { id1: e[t - 4], id2: e[t], relation: e[t - 2], relationTitle1: e[t - 3], relationTitle2: e[t - 1] };
|
|
116
116
|
break;
|
|
117
117
|
case 61:
|
|
118
|
-
|
|
118
|
+
r.addNote(e[t], e[t - 1]);
|
|
119
119
|
break;
|
|
120
120
|
case 62:
|
|
121
|
-
|
|
121
|
+
r.addNote(e[t]);
|
|
122
122
|
break;
|
|
123
123
|
case 63:
|
|
124
|
-
this.$ = e[t - 2],
|
|
124
|
+
this.$ = e[t - 2], r.defineClass(e[t - 1], e[t]);
|
|
125
125
|
break;
|
|
126
126
|
case 65:
|
|
127
127
|
this.$ = e[t - 2].concat([e[t]]);
|
|
128
128
|
break;
|
|
129
129
|
case 66:
|
|
130
|
-
|
|
130
|
+
r.setDirection("TB");
|
|
131
131
|
break;
|
|
132
132
|
case 67:
|
|
133
|
-
|
|
133
|
+
r.setDirection("BT");
|
|
134
134
|
break;
|
|
135
135
|
case 68:
|
|
136
|
-
|
|
136
|
+
r.setDirection("RL");
|
|
137
137
|
break;
|
|
138
138
|
case 69:
|
|
139
|
-
|
|
139
|
+
r.setDirection("LR");
|
|
140
140
|
break;
|
|
141
141
|
case 70:
|
|
142
142
|
this.$ = { type1: e[t - 2], type2: e[t], lineType: e[t - 1] };
|
|
@@ -151,69 +151,69 @@ var Ve = function() {
|
|
|
151
151
|
this.$ = { type1: "none", type2: "none", lineType: e[t] };
|
|
152
152
|
break;
|
|
153
153
|
case 74:
|
|
154
|
-
this.$ =
|
|
154
|
+
this.$ = r.relationType.AGGREGATION;
|
|
155
155
|
break;
|
|
156
156
|
case 75:
|
|
157
|
-
this.$ =
|
|
157
|
+
this.$ = r.relationType.EXTENSION;
|
|
158
158
|
break;
|
|
159
159
|
case 76:
|
|
160
|
-
this.$ =
|
|
160
|
+
this.$ = r.relationType.COMPOSITION;
|
|
161
161
|
break;
|
|
162
162
|
case 77:
|
|
163
|
-
this.$ =
|
|
163
|
+
this.$ = r.relationType.DEPENDENCY;
|
|
164
164
|
break;
|
|
165
165
|
case 78:
|
|
166
|
-
this.$ =
|
|
166
|
+
this.$ = r.relationType.LOLLIPOP;
|
|
167
167
|
break;
|
|
168
168
|
case 79:
|
|
169
|
-
this.$ =
|
|
169
|
+
this.$ = r.lineType.LINE;
|
|
170
170
|
break;
|
|
171
171
|
case 80:
|
|
172
|
-
this.$ =
|
|
172
|
+
this.$ = r.lineType.DOTTED_LINE;
|
|
173
173
|
break;
|
|
174
174
|
case 81:
|
|
175
175
|
case 87:
|
|
176
|
-
this.$ = e[t - 2],
|
|
176
|
+
this.$ = e[t - 2], r.setClickEvent(e[t - 1], e[t]);
|
|
177
177
|
break;
|
|
178
178
|
case 82:
|
|
179
179
|
case 88:
|
|
180
|
-
this.$ = e[t - 3],
|
|
180
|
+
this.$ = e[t - 3], r.setClickEvent(e[t - 2], e[t - 1]), r.setTooltip(e[t - 2], e[t]);
|
|
181
181
|
break;
|
|
182
182
|
case 83:
|
|
183
|
-
this.$ = e[t - 2],
|
|
183
|
+
this.$ = e[t - 2], r.setLink(e[t - 1], e[t]);
|
|
184
184
|
break;
|
|
185
185
|
case 84:
|
|
186
|
-
this.$ = e[t - 3],
|
|
186
|
+
this.$ = e[t - 3], r.setLink(e[t - 2], e[t - 1], e[t]);
|
|
187
187
|
break;
|
|
188
188
|
case 85:
|
|
189
|
-
this.$ = e[t - 3],
|
|
189
|
+
this.$ = e[t - 3], r.setLink(e[t - 2], e[t - 1]), r.setTooltip(e[t - 2], e[t]);
|
|
190
190
|
break;
|
|
191
191
|
case 86:
|
|
192
|
-
this.$ = e[t - 4],
|
|
192
|
+
this.$ = e[t - 4], r.setLink(e[t - 3], e[t - 2], e[t]), r.setTooltip(e[t - 3], e[t - 1]);
|
|
193
193
|
break;
|
|
194
194
|
case 89:
|
|
195
|
-
this.$ = e[t - 3],
|
|
195
|
+
this.$ = e[t - 3], r.setClickEvent(e[t - 2], e[t - 1], e[t]);
|
|
196
196
|
break;
|
|
197
197
|
case 90:
|
|
198
|
-
this.$ = e[t - 4],
|
|
198
|
+
this.$ = e[t - 4], r.setClickEvent(e[t - 3], e[t - 2], e[t - 1]), r.setTooltip(e[t - 3], e[t]);
|
|
199
199
|
break;
|
|
200
200
|
case 91:
|
|
201
|
-
this.$ = e[t - 3],
|
|
201
|
+
this.$ = e[t - 3], r.setLink(e[t - 2], e[t]);
|
|
202
202
|
break;
|
|
203
203
|
case 92:
|
|
204
|
-
this.$ = e[t - 4],
|
|
204
|
+
this.$ = e[t - 4], r.setLink(e[t - 3], e[t - 1], e[t]);
|
|
205
205
|
break;
|
|
206
206
|
case 93:
|
|
207
|
-
this.$ = e[t - 4],
|
|
207
|
+
this.$ = e[t - 4], r.setLink(e[t - 3], e[t - 1]), r.setTooltip(e[t - 3], e[t]);
|
|
208
208
|
break;
|
|
209
209
|
case 94:
|
|
210
|
-
this.$ = e[t - 5],
|
|
210
|
+
this.$ = e[t - 5], r.setLink(e[t - 4], e[t - 2], e[t]), r.setTooltip(e[t - 4], e[t - 1]);
|
|
211
211
|
break;
|
|
212
212
|
case 95:
|
|
213
|
-
this.$ = e[t - 2],
|
|
213
|
+
this.$ = e[t - 2], r.setCssStyle(e[t - 1], e[t]);
|
|
214
214
|
break;
|
|
215
215
|
case 96:
|
|
216
|
-
|
|
216
|
+
r.setCssClass(e[t - 1], e[t]);
|
|
217
217
|
break;
|
|
218
218
|
case 97:
|
|
219
219
|
this.$ = [e[t]];
|
|
@@ -226,18 +226,18 @@ var Ve = function() {
|
|
|
226
226
|
break;
|
|
227
227
|
}
|
|
228
228
|
}, "anonymous"),
|
|
229
|
-
table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: u, 38: 22, 42: l, 43: 23, 46:
|
|
229
|
+
table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: u, 38: 22, 42: l, 43: 23, 46: n, 49: p, 51: f, 52: C, 54: B, 56: L, 57: Ae, 60: m, 62: fe, 63: ge, 64: Ce, 65: me, 75: be, 76: Ee, 78: ye, 82: Te, 83: ke, 86: b, 100: E, 102: y, 103: T }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, s(De, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, s(h, [2, 19], { 22: [1, 50] }), s(h, [2, 21]), s(h, [2, 22]), s(h, [2, 23]), s(h, [2, 24]), s(h, [2, 25]), s(h, [2, 26]), s(h, [2, 27]), s(h, [2, 28]), s(h, [2, 29]), s(h, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, s(h, [2, 33]), s(h, [2, 53], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: te, 69: se, 70: ie, 71: ae, 72: ne, 73: Fe, 74: Be }), { 39: [1, 65] }, s(z, [2, 40], { 39: [1, 67], 44: [1, 66] }), s(h, [2, 55]), s(h, [2, 56]), { 16: 68, 60: m, 86: b, 100: E, 102: y }, { 16: 39, 17: 40, 19: 69, 60: m, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 70, 60: m, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 71, 60: m, 86: b, 100: E, 102: y, 103: T }, { 60: [1, 72] }, { 13: [1, 73] }, { 16: 39, 17: 40, 19: 74, 60: m, 86: b, 100: E, 102: y, 103: T }, { 13: Pe, 55: 75 }, { 58: 77, 60: [1, 78] }, s(h, [2, 66]), s(h, [2, 67]), s(h, [2, 68]), s(h, [2, 69]), s(P, [2, 13], { 16: 39, 17: 40, 19: 80, 18: [1, 79], 20: [1, 81], 60: m, 86: b, 100: E, 102: y, 103: T }), s(P, [2, 15], { 20: [1, 82] }), { 15: 83, 16: 84, 17: 85, 60: m, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 86, 60: m, 86: b, 100: E, 102: y, 103: T }, s(re, [2, 123]), s(re, [2, 124]), s(re, [2, 125]), s(re, [2, 126]), s([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 127]), s(De, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 87, 33: i, 35: a, 37: u, 42: l, 46: n, 49: p, 51: f, 52: C, 54: B, 56: L, 57: Ae, 60: m, 62: fe, 63: ge, 64: Ce, 65: me, 75: be, 76: Ee, 78: ye, 82: Te, 83: ke, 86: b, 100: E, 102: y, 103: T }), { 5: 88, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: u, 38: 22, 42: l, 43: 23, 46: n, 49: p, 51: f, 52: C, 54: B, 56: L, 57: Ae, 60: m, 62: fe, 63: ge, 64: Ce, 65: me, 75: be, 76: Ee, 78: ye, 82: Te, 83: ke, 86: b, 100: E, 102: y, 103: T }, s(h, [2, 20]), s(h, [2, 31]), s(h, [2, 32]), { 13: [1, 90], 16: 39, 17: 40, 19: 89, 60: m, 86: b, 100: E, 102: y, 103: T }, { 53: 91, 66: 56, 67: 57, 68: te, 69: se, 70: ie, 71: ae, 72: ne, 73: Fe, 74: Be }, s(h, [2, 54]), { 67: 92, 73: Fe, 74: Be }, s(ue, [2, 73], { 66: 93, 68: te, 69: se, 70: ie, 71: ae, 72: ne }), s(K, [2, 74]), s(K, [2, 75]), s(K, [2, 76]), s(K, [2, 77]), s(K, [2, 78]), s(Me, [2, 79]), s(Me, [2, 80]), { 8: [1, 95], 24: 96, 40: 94, 43: 23, 46: n }, { 16: 97, 60: m, 86: b, 100: E, 102: y }, { 41: [1, 99], 45: 98, 51: _e }, { 50: [1, 101] }, { 13: [1, 102] }, { 13: [1, 103] }, { 79: [1, 104], 81: [1, 105] }, { 22: Y, 48: Q, 59: 106, 60: W, 82: j, 84: 107, 85: 108, 86: X, 87: H, 88: q, 89: J, 90: Z }, { 60: [1, 118] }, { 13: Pe, 55: 119 }, s(h, [2, 62]), s(h, [2, 128]), { 22: Y, 48: Q, 59: 120, 60: W, 61: [1, 121], 82: j, 84: 107, 85: 108, 86: X, 87: H, 88: q, 89: J, 90: Z }, s(Re, [2, 64]), { 16: 39, 17: 40, 19: 122, 60: m, 86: b, 100: E, 102: y, 103: T }, s(P, [2, 16]), s(P, [2, 17]), s(P, [2, 18]), { 39: [2, 36] }, { 15: 124, 16: 84, 17: 85, 18: [1, 123], 39: [2, 9], 60: m, 86: b, 100: E, 102: y, 103: T }, { 39: [2, 10] }, s(Se, [2, 45], { 11: 125, 12: [1, 126] }), s(De, [2, 7]), { 9: [1, 127] }, s(le, [2, 57]), { 16: 39, 17: 40, 19: 128, 60: m, 86: b, 100: E, 102: y, 103: T }, { 13: [1, 130], 16: 39, 17: 40, 19: 129, 60: m, 86: b, 100: E, 102: y, 103: T }, s(ue, [2, 72], { 66: 131, 68: te, 69: se, 70: ie, 71: ae, 72: ne }), s(ue, [2, 71]), { 41: [1, 132] }, { 24: 96, 40: 133, 43: 23, 46: n }, { 8: [1, 134], 41: [2, 37] }, s(z, [2, 41], { 39: [1, 135] }), { 41: [1, 136] }, s(z, [2, 43]), { 41: [2, 51], 45: 137, 51: _e }, { 16: 39, 17: 40, 19: 138, 60: m, 86: b, 100: E, 102: y, 103: T }, s(h, [2, 81], { 13: [1, 139] }), s(h, [2, 83], { 13: [1, 141], 77: [1, 140] }), s(h, [2, 87], { 13: [1, 142], 80: [1, 143] }), { 13: [1, 144] }, s(h, [2, 95], { 61: Ge }), s(Ue, [2, 97], { 85: 146, 22: Y, 48: Q, 60: W, 82: j, 86: X, 87: H, 88: q, 89: J, 90: Z }), s(N, [2, 99]), s(N, [2, 101]), s(N, [2, 102]), s(N, [2, 103]), s(N, [2, 104]), s(N, [2, 105]), s(N, [2, 106]), s(N, [2, 107]), s(N, [2, 108]), s(N, [2, 109]), s(h, [2, 96]), s(h, [2, 61]), s(h, [2, 63], { 61: Ge }), { 60: [1, 147] }, s(P, [2, 14]), { 15: 148, 16: 84, 17: 85, 60: m, 86: b, 100: E, 102: y, 103: T }, { 39: [2, 12] }, s(Se, [2, 46]), { 13: [1, 149] }, { 1: [2, 4] }, s(le, [2, 59]), s(le, [2, 58]), { 16: 39, 17: 40, 19: 150, 60: m, 86: b, 100: E, 102: y, 103: T }, s(ue, [2, 70]), s(h, [2, 34]), { 41: [1, 151] }, { 24: 96, 40: 152, 41: [2, 38], 43: 23, 46: n }, { 45: 153, 51: _e }, s(z, [2, 42]), { 41: [2, 52] }, s(h, [2, 50]), s(h, [2, 82]), s(h, [2, 84]), s(h, [2, 85], { 77: [1, 154] }), s(h, [2, 88]), s(h, [2, 89], { 13: [1, 155] }), s(h, [2, 91], { 13: [1, 157], 77: [1, 156] }), { 22: Y, 48: Q, 60: W, 82: j, 84: 158, 85: 108, 86: X, 87: H, 88: q, 89: J, 90: Z }, s(N, [2, 100]), s(Re, [2, 65]), { 39: [2, 11] }, { 14: [1, 159] }, s(le, [2, 60]), s(h, [2, 35]), { 41: [2, 39] }, { 41: [1, 160] }, s(h, [2, 86]), s(h, [2, 90]), s(h, [2, 92]), s(h, [2, 93], { 77: [1, 161] }), s(Ue, [2, 98], { 85: 146, 22: Y, 48: Q, 60: W, 82: j, 86: X, 87: H, 88: q, 89: J, 90: Z }), s(Se, [2, 8]), s(z, [2, 44]), s(h, [2, 94])],
|
|
230
230
|
defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 83: [2, 36], 85: [2, 10], 124: [2, 12], 127: [2, 4], 137: [2, 52], 148: [2, 11], 152: [2, 39] },
|
|
231
|
-
parseError: /* @__PURE__ */
|
|
232
|
-
if (
|
|
231
|
+
parseError: /* @__PURE__ */ A(function(o, c) {
|
|
232
|
+
if (c.recoverable)
|
|
233
233
|
this.trace(o);
|
|
234
234
|
else {
|
|
235
|
-
var
|
|
236
|
-
throw
|
|
235
|
+
var d = new Error(o);
|
|
236
|
+
throw d.hash = c, d;
|
|
237
237
|
}
|
|
238
238
|
}, "parseError"),
|
|
239
|
-
parse: /* @__PURE__ */
|
|
240
|
-
var
|
|
239
|
+
parse: /* @__PURE__ */ A(function(o) {
|
|
240
|
+
var c = this, d = [0], r = [], g = [null], e = [], $ = this.table, t = "", ce = 0, ze = 0, qe = 2, Ke = 1, Je = e.slice.call(arguments, 1), k = Object.create(this.lexer), O = { yy: {} };
|
|
241
241
|
for (var Le in this.yy)
|
|
242
242
|
Object.prototype.hasOwnProperty.call(this.yy, Le) && (O.yy[Le] = this.yy[Le]);
|
|
243
243
|
k.setInput(o, O.yy), O.yy.lexer = k, O.yy.parser = this, typeof k.yylloc > "u" && (k.yylloc = {});
|
|
@@ -246,38 +246,38 @@ var Ve = function() {
|
|
|
246
246
|
var Ze = k.options && k.options.ranges;
|
|
247
247
|
typeof O.yy.parseError == "function" ? this.parseError = O.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
248
248
|
function $e(_) {
|
|
249
|
-
|
|
249
|
+
d.length = d.length - 2 * _, g.length = g.length - _, e.length = e.length - _;
|
|
250
250
|
}
|
|
251
|
-
|
|
251
|
+
A($e, "popStack");
|
|
252
252
|
function Ye() {
|
|
253
253
|
var _;
|
|
254
|
-
return _ =
|
|
254
|
+
return _ = r.pop() || k.lex() || Ke, typeof _ != "number" && (_ instanceof Array && (r = _, _ = r.pop()), _ = c.symbols_[_] || _), _;
|
|
255
255
|
}
|
|
256
|
-
|
|
257
|
-
for (var
|
|
258
|
-
if (w =
|
|
256
|
+
A(Ye, "lex");
|
|
257
|
+
for (var F, w, S, ve, M = {}, he, x, Qe, de; ; ) {
|
|
258
|
+
if (w = d[d.length - 1], this.defaultActions[w] ? S = this.defaultActions[w] : ((F === null || typeof F > "u") && (F = Ye()), S = $[w] && $[w][F]), typeof S > "u" || !S.length || !S[0]) {
|
|
259
259
|
var Ie = "";
|
|
260
260
|
de = [];
|
|
261
261
|
for (he in $[w])
|
|
262
262
|
this.terminals_[he] && he > qe && de.push("'" + this.terminals_[he] + "'");
|
|
263
263
|
k.showPosition ? Ie = "Parse error on line " + (ce + 1) + `:
|
|
264
264
|
` + k.showPosition() + `
|
|
265
|
-
Expecting ` + de.join(", ") + ", got '" + (this.terminals_[
|
|
265
|
+
Expecting ` + de.join(", ") + ", got '" + (this.terminals_[F] || F) + "'" : Ie = "Parse error on line " + (ce + 1) + ": Unexpected " + (F == Ke ? "end of input" : "'" + (this.terminals_[F] || F) + "'"), this.parseError(Ie, {
|
|
266
266
|
text: k.match,
|
|
267
|
-
token: this.terminals_[
|
|
267
|
+
token: this.terminals_[F] || F,
|
|
268
268
|
line: k.yylineno,
|
|
269
269
|
loc: xe,
|
|
270
270
|
expected: de
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
273
|
if (S[0] instanceof Array && S.length > 1)
|
|
274
|
-
throw new Error("Parse Error: multiple actions possible at state: " + w + ", token: " +
|
|
274
|
+
throw new Error("Parse Error: multiple actions possible at state: " + w + ", token: " + F);
|
|
275
275
|
switch (S[0]) {
|
|
276
276
|
case 1:
|
|
277
|
-
|
|
277
|
+
d.push(F), g.push(k.yytext), e.push(k.yylloc), d.push(S[1]), F = null, ze = k.yyleng, t = k.yytext, ce = k.yylineno, xe = k.yylloc;
|
|
278
278
|
break;
|
|
279
279
|
case 2:
|
|
280
|
-
if (x = this.productions_[S[1]][1], M.$ =
|
|
280
|
+
if (x = this.productions_[S[1]][1], M.$ = g[g.length - x], M._$ = {
|
|
281
281
|
first_line: e[e.length - (x || 1)].first_line,
|
|
282
282
|
last_line: e[e.length - 1].last_line,
|
|
283
283
|
first_column: e[e.length - (x || 1)].first_column,
|
|
@@ -291,11 +291,11 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
291
291
|
ce,
|
|
292
292
|
O.yy,
|
|
293
293
|
S[1],
|
|
294
|
-
|
|
294
|
+
g,
|
|
295
295
|
e
|
|
296
296
|
].concat(Je)), typeof ve < "u")
|
|
297
297
|
return ve;
|
|
298
|
-
x && (
|
|
298
|
+
x && (d = d.slice(0, -1 * x * 2), g = g.slice(0, -1 * x), e = e.slice(0, -1 * x)), d.push(this.productions_[S[1]][0]), g.push(M.$), e.push(M._$), Qe = $[d[d.length - 2]][d[d.length - 1]], d.push(Qe);
|
|
299
299
|
break;
|
|
300
300
|
case 3:
|
|
301
301
|
return !0;
|
|
@@ -303,18 +303,18 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
303
303
|
}
|
|
304
304
|
return !0;
|
|
305
305
|
}, "parse")
|
|
306
|
-
}, He = /* @__PURE__ */ function() {
|
|
306
|
+
}, He = /* @__PURE__ */ (function() {
|
|
307
307
|
var I = {
|
|
308
308
|
EOF: 1,
|
|
309
|
-
parseError: /* @__PURE__ */
|
|
309
|
+
parseError: /* @__PURE__ */ A(function(c, d) {
|
|
310
310
|
if (this.yy.parser)
|
|
311
|
-
this.yy.parser.parseError(
|
|
311
|
+
this.yy.parser.parseError(c, d);
|
|
312
312
|
else
|
|
313
|
-
throw new Error(
|
|
313
|
+
throw new Error(c);
|
|
314
314
|
}, "parseError"),
|
|
315
315
|
// resets the lexer, sets new input
|
|
316
|
-
setInput: /* @__PURE__ */
|
|
317
|
-
return this.yy =
|
|
316
|
+
setInput: /* @__PURE__ */ A(function(o, c) {
|
|
317
|
+
return this.yy = c || this.yy || {}, this._input = o, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
318
318
|
first_line: 1,
|
|
319
319
|
first_column: 0,
|
|
320
320
|
last_line: 1,
|
|
@@ -322,32 +322,32 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
322
322
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
323
323
|
}, "setInput"),
|
|
324
324
|
// consumes and returns one char from the input
|
|
325
|
-
input: /* @__PURE__ */
|
|
325
|
+
input: /* @__PURE__ */ A(function() {
|
|
326
326
|
var o = this._input[0];
|
|
327
327
|
this.yytext += o, this.yyleng++, this.offset++, this.match += o, this.matched += o;
|
|
328
|
-
var
|
|
329
|
-
return
|
|
328
|
+
var c = o.match(/(?:\r\n?|\n).*/g);
|
|
329
|
+
return c ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
|
|
330
330
|
}, "input"),
|
|
331
331
|
// unshifts one char (or a string) into the input
|
|
332
|
-
unput: /* @__PURE__ */
|
|
333
|
-
var
|
|
334
|
-
this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
335
|
-
var
|
|
336
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
337
|
-
var
|
|
332
|
+
unput: /* @__PURE__ */ A(function(o) {
|
|
333
|
+
var c = o.length, d = o.split(/(?:\r\n?|\n)/g);
|
|
334
|
+
this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - c), this.offset -= c;
|
|
335
|
+
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
336
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), d.length - 1 && (this.yylineno -= d.length - 1);
|
|
337
|
+
var g = this.yylloc.range;
|
|
338
338
|
return this.yylloc = {
|
|
339
339
|
first_line: this.yylloc.first_line,
|
|
340
340
|
last_line: this.yylineno + 1,
|
|
341
341
|
first_column: this.yylloc.first_column,
|
|
342
|
-
last_column:
|
|
343
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
342
|
+
last_column: d ? (d.length === r.length ? this.yylloc.first_column : 0) + r[r.length - d.length].length - d[0].length : this.yylloc.first_column - c
|
|
343
|
+
}, this.options.ranges && (this.yylloc.range = [g[0], g[0] + this.yyleng - c]), this.yyleng = this.yytext.length, this;
|
|
344
344
|
}, "unput"),
|
|
345
345
|
// When called from action, caches matched text and appends it on next action
|
|
346
|
-
more: /* @__PURE__ */
|
|
346
|
+
more: /* @__PURE__ */ A(function() {
|
|
347
347
|
return this._more = !0, this;
|
|
348
348
|
}, "more"),
|
|
349
349
|
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
350
|
-
reject: /* @__PURE__ */
|
|
350
|
+
reject: /* @__PURE__ */ A(function() {
|
|
351
351
|
if (this.options.backtrack_lexer)
|
|
352
352
|
this._backtrack = !0;
|
|
353
353
|
else
|
|
@@ -360,29 +360,29 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
360
360
|
return this;
|
|
361
361
|
}, "reject"),
|
|
362
362
|
// retain first n characters of the match
|
|
363
|
-
less: /* @__PURE__ */
|
|
363
|
+
less: /* @__PURE__ */ A(function(o) {
|
|
364
364
|
this.unput(this.match.slice(o));
|
|
365
365
|
}, "less"),
|
|
366
366
|
// displays already matched input, i.e. for error messages
|
|
367
|
-
pastInput: /* @__PURE__ */
|
|
367
|
+
pastInput: /* @__PURE__ */ A(function() {
|
|
368
368
|
var o = this.matched.substr(0, this.matched.length - this.match.length);
|
|
369
369
|
return (o.length > 20 ? "..." : "") + o.substr(-20).replace(/\n/g, "");
|
|
370
370
|
}, "pastInput"),
|
|
371
371
|
// displays upcoming input, i.e. for error messages
|
|
372
|
-
upcomingInput: /* @__PURE__ */
|
|
372
|
+
upcomingInput: /* @__PURE__ */ A(function() {
|
|
373
373
|
var o = this.match;
|
|
374
374
|
return o.length < 20 && (o += this._input.substr(0, 20 - o.length)), (o.substr(0, 20) + (o.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
375
375
|
}, "upcomingInput"),
|
|
376
376
|
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
377
|
-
showPosition: /* @__PURE__ */
|
|
378
|
-
var o = this.pastInput(),
|
|
377
|
+
showPosition: /* @__PURE__ */ A(function() {
|
|
378
|
+
var o = this.pastInput(), c = new Array(o.length + 1).join("-");
|
|
379
379
|
return o + this.upcomingInput() + `
|
|
380
|
-
` +
|
|
380
|
+
` + c + "^";
|
|
381
381
|
}, "showPosition"),
|
|
382
382
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
383
|
-
test_match: /* @__PURE__ */
|
|
384
|
-
var
|
|
385
|
-
if (this.options.backtrack_lexer && (
|
|
383
|
+
test_match: /* @__PURE__ */ A(function(o, c) {
|
|
384
|
+
var d, r, g;
|
|
385
|
+
if (this.options.backtrack_lexer && (g = {
|
|
386
386
|
yylineno: this.yylineno,
|
|
387
387
|
yylloc: {
|
|
388
388
|
first_line: this.yylloc.first_line,
|
|
@@ -401,41 +401,41 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
401
401
|
yy: this.yy,
|
|
402
402
|
conditionStack: this.conditionStack.slice(0),
|
|
403
403
|
done: this.done
|
|
404
|
-
}, this.options.ranges && (
|
|
404
|
+
}, this.options.ranges && (g.yylloc.range = this.yylloc.range.slice(0))), r = o[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
|
|
405
405
|
first_line: this.yylloc.last_line,
|
|
406
406
|
last_line: this.yylineno + 1,
|
|
407
407
|
first_column: this.yylloc.last_column,
|
|
408
|
-
last_column:
|
|
409
|
-
}, this.yytext += o[0], this.match += o[0], this.matches = o, 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(o[0].length), this.matched += o[0],
|
|
410
|
-
return
|
|
408
|
+
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + o[0].length
|
|
409
|
+
}, this.yytext += o[0], this.match += o[0], this.matches = o, 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(o[0].length), this.matched += o[0], d = this.performAction.call(this, this.yy, this, c, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), d)
|
|
410
|
+
return d;
|
|
411
411
|
if (this._backtrack) {
|
|
412
|
-
for (var e in
|
|
413
|
-
this[e] =
|
|
412
|
+
for (var e in g)
|
|
413
|
+
this[e] = g[e];
|
|
414
414
|
return !1;
|
|
415
415
|
}
|
|
416
416
|
return !1;
|
|
417
417
|
}, "test_match"),
|
|
418
418
|
// return next match in input
|
|
419
|
-
next: /* @__PURE__ */
|
|
419
|
+
next: /* @__PURE__ */ A(function() {
|
|
420
420
|
if (this.done)
|
|
421
421
|
return this.EOF;
|
|
422
422
|
this._input || (this.done = !0);
|
|
423
|
-
var o,
|
|
423
|
+
var o, c, d, r;
|
|
424
424
|
this._more || (this.yytext = "", this.match = "");
|
|
425
|
-
for (var
|
|
426
|
-
if (
|
|
427
|
-
if (
|
|
428
|
-
if (o = this.test_match(
|
|
425
|
+
for (var g = this._currentRules(), e = 0; e < g.length; e++)
|
|
426
|
+
if (d = this._input.match(this.rules[g[e]]), d && (!c || d[0].length > c[0].length)) {
|
|
427
|
+
if (c = d, r = e, this.options.backtrack_lexer) {
|
|
428
|
+
if (o = this.test_match(d, g[e]), o !== !1)
|
|
429
429
|
return o;
|
|
430
430
|
if (this._backtrack) {
|
|
431
|
-
|
|
431
|
+
c = !1;
|
|
432
432
|
continue;
|
|
433
433
|
} else
|
|
434
434
|
return !1;
|
|
435
435
|
} else if (!this.options.flex)
|
|
436
436
|
break;
|
|
437
437
|
}
|
|
438
|
-
return
|
|
438
|
+
return c ? (o = this.test_match(c, g[r]), o !== !1 ? o : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
439
439
|
` + this.showPosition(), {
|
|
440
440
|
text: "",
|
|
441
441
|
token: null,
|
|
@@ -443,38 +443,38 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
443
443
|
});
|
|
444
444
|
}, "next"),
|
|
445
445
|
// return next match that has a token
|
|
446
|
-
lex: /* @__PURE__ */
|
|
447
|
-
var
|
|
448
|
-
return
|
|
446
|
+
lex: /* @__PURE__ */ A(function() {
|
|
447
|
+
var c = this.next();
|
|
448
|
+
return c || this.lex();
|
|
449
449
|
}, "lex"),
|
|
450
450
|
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
451
|
-
begin: /* @__PURE__ */
|
|
452
|
-
this.conditionStack.push(
|
|
451
|
+
begin: /* @__PURE__ */ A(function(c) {
|
|
452
|
+
this.conditionStack.push(c);
|
|
453
453
|
}, "begin"),
|
|
454
454
|
// pop the previously active lexer condition state off the condition stack
|
|
455
|
-
popState: /* @__PURE__ */
|
|
456
|
-
var
|
|
457
|
-
return
|
|
455
|
+
popState: /* @__PURE__ */ A(function() {
|
|
456
|
+
var c = this.conditionStack.length - 1;
|
|
457
|
+
return c > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
458
458
|
}, "popState"),
|
|
459
459
|
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
460
|
-
_currentRules: /* @__PURE__ */
|
|
460
|
+
_currentRules: /* @__PURE__ */ A(function() {
|
|
461
461
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
462
462
|
}, "_currentRules"),
|
|
463
463
|
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
464
|
-
topState: /* @__PURE__ */
|
|
465
|
-
return
|
|
464
|
+
topState: /* @__PURE__ */ A(function(c) {
|
|
465
|
+
return c = this.conditionStack.length - 1 - Math.abs(c || 0), c >= 0 ? this.conditionStack[c] : "INITIAL";
|
|
466
466
|
}, "topState"),
|
|
467
467
|
// alias for begin(condition)
|
|
468
|
-
pushState: /* @__PURE__ */
|
|
469
|
-
this.begin(
|
|
468
|
+
pushState: /* @__PURE__ */ A(function(c) {
|
|
469
|
+
this.begin(c);
|
|
470
470
|
}, "pushState"),
|
|
471
471
|
// return the number of states currently on the stack
|
|
472
|
-
stateStackSize: /* @__PURE__ */
|
|
472
|
+
stateStackSize: /* @__PURE__ */ A(function() {
|
|
473
473
|
return this.conditionStack.length;
|
|
474
474
|
}, "stateStackSize"),
|
|
475
475
|
options: {},
|
|
476
|
-
performAction: /* @__PURE__ */
|
|
477
|
-
switch (
|
|
476
|
+
performAction: /* @__PURE__ */ A(function(c, d, r, g) {
|
|
477
|
+
switch (r) {
|
|
478
478
|
case 0:
|
|
479
479
|
return 62;
|
|
480
480
|
case 1:
|
|
@@ -689,18 +689,18 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
689
689
|
conditions: { "namespace-body": { rules: [26, 33, 34, 35, 36, 37, 38, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, namespace: { rules: [26, 29, 30, 31, 32, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, "class-body": { rules: [26, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, class: { rules: [26, 39, 40, 41, 42, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, acc_descr_multiline: { rules: [11, 12, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, acc_descr: { rules: [9, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, acc_title: { rules: [7, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, callback_args: { rules: [22, 23, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, callback_name: { rules: [19, 20, 21, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, href: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, struct: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, generic: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, bqstring: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, string: { rules: [24, 25, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 26, 27, 28, 29, 38, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97], inclusive: !0 } }
|
|
690
690
|
};
|
|
691
691
|
return I;
|
|
692
|
-
}();
|
|
692
|
+
})();
|
|
693
693
|
Ne.lexer = He;
|
|
694
694
|
function oe() {
|
|
695
695
|
this.yy = {};
|
|
696
696
|
}
|
|
697
|
-
return
|
|
698
|
-
}();
|
|
697
|
+
return A(oe, "Parser"), oe.prototype = Ne, Ne.Parser = oe, new oe();
|
|
698
|
+
})();
|
|
699
699
|
Ve.parser = Ve;
|
|
700
700
|
var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
701
701
|
constructor(i, a) {
|
|
702
702
|
this.memberType = a, this.visibility = "", this.classifier = "", this.text = "";
|
|
703
|
-
const u = pt(i,
|
|
703
|
+
const u = pt(i, D());
|
|
704
704
|
this.parseMember(u);
|
|
705
705
|
}
|
|
706
706
|
getDisplayDetails() {
|
|
@@ -715,17 +715,17 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
715
715
|
parseMember(i) {
|
|
716
716
|
let a = "";
|
|
717
717
|
if (this.memberType === "method") {
|
|
718
|
-
const
|
|
719
|
-
if (
|
|
720
|
-
const
|
|
721
|
-
if (We.includes(
|
|
722
|
-
const
|
|
723
|
-
/[$*]/.exec(
|
|
718
|
+
const n = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(i);
|
|
719
|
+
if (n) {
|
|
720
|
+
const p = n[1] ? n[1].trim() : "";
|
|
721
|
+
if (We.includes(p) && (this.visibility = p), this.id = n[2], this.parameters = n[3] ? n[3].trim() : "", a = n[4] ? n[4].trim() : "", this.returnType = n[5] ? n[5].trim() : "", a === "") {
|
|
722
|
+
const f = this.returnType.substring(this.returnType.length - 1);
|
|
723
|
+
/[$*]/.exec(f) && (a = f, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
726
|
} else {
|
|
727
|
-
const l = i.length,
|
|
728
|
-
We.includes(
|
|
727
|
+
const l = i.length, n = i.substring(0, 1), p = i.substring(l - 1);
|
|
728
|
+
We.includes(n) && (this.visibility = n), /[$*]/.exec(p) && (a = p), this.id = i.substring(
|
|
729
729
|
this.visibility === "" ? 0 : 1,
|
|
730
730
|
a === "" ? l : l - 1
|
|
731
731
|
);
|
|
@@ -744,7 +744,7 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
744
744
|
return "";
|
|
745
745
|
}
|
|
746
746
|
}
|
|
747
|
-
},
|
|
747
|
+
}, A(G, "ClassMember"), G), pe = "classId-", Xe = 0, V = /* @__PURE__ */ A((s) => v.sanitizeText(s, D()), "sanitizeText"), U, kt = (U = class {
|
|
748
748
|
constructor() {
|
|
749
749
|
this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.functions = [], this.lineType = {
|
|
750
750
|
LINE: 0,
|
|
@@ -755,30 +755,30 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
755
755
|
COMPOSITION: 2,
|
|
756
756
|
DEPENDENCY: 3,
|
|
757
757
|
LOLLIPOP: 4
|
|
758
|
-
}, this.setupToolTips = /* @__PURE__ */
|
|
758
|
+
}, this.setupToolTips = /* @__PURE__ */ A((i) => {
|
|
759
759
|
let a = ee(".mermaidTooltip");
|
|
760
|
-
(a._groups || a)[0][0] === null && (a = ee("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), ee(i).select("svg").selectAll("g.node").on("mouseover", (
|
|
761
|
-
const
|
|
762
|
-
if (
|
|
760
|
+
(a._groups || a)[0][0] === null && (a = ee("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), ee(i).select("svg").selectAll("g.node").on("mouseover", (n) => {
|
|
761
|
+
const p = ee(n.currentTarget);
|
|
762
|
+
if (p.attr("title") === null)
|
|
763
763
|
return;
|
|
764
|
-
const
|
|
765
|
-
a.transition().duration(200).style("opacity", ".9"), a.text(
|
|
766
|
-
}).on("mouseout", (
|
|
767
|
-
a.transition().duration(500).style("opacity", 0), ee(
|
|
764
|
+
const C = this.getBoundingClientRect();
|
|
765
|
+
a.transition().duration(200).style("opacity", ".9"), a.text(p.attr("title")).style("left", window.scrollX + C.left + (C.right - C.left) / 2 + "px").style("top", window.scrollY + C.top - 14 + document.body.scrollTop + "px"), a.html(a.html().replace(/<br\/>/g, "<br/>")), p.classed("hover", !0);
|
|
766
|
+
}).on("mouseout", (n) => {
|
|
767
|
+
a.transition().duration(500).style("opacity", 0), ee(n.currentTarget).classed("hover", !1);
|
|
768
768
|
});
|
|
769
|
-
}, "setupToolTips"), this.direction = "TB", this.setAccTitle = nt, this.getAccTitle = rt, this.setAccDescription = ut, this.getAccDescription = lt, this.setDiagramTitle = ot, this.getDiagramTitle = ct, this.getConfig = /* @__PURE__ */
|
|
769
|
+
}, "setupToolTips"), this.direction = "TB", this.setAccTitle = nt, this.getAccTitle = rt, this.setAccDescription = ut, this.getAccDescription = lt, this.setDiagramTitle = ot, this.getDiagramTitle = ct, this.getConfig = /* @__PURE__ */ A(() => D().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
|
|
770
770
|
}
|
|
771
771
|
splitClassNameAndType(i) {
|
|
772
|
-
const a = v.sanitizeText(i,
|
|
772
|
+
const a = v.sanitizeText(i, D());
|
|
773
773
|
let u = "", l = a;
|
|
774
774
|
if (a.indexOf("~") > 0) {
|
|
775
|
-
const
|
|
776
|
-
l = V(
|
|
775
|
+
const n = a.split("~");
|
|
776
|
+
l = V(n[0]), u = V(n[1]);
|
|
777
777
|
}
|
|
778
778
|
return { className: l, type: u };
|
|
779
779
|
}
|
|
780
780
|
setClassLabel(i, a) {
|
|
781
|
-
const u = v.sanitizeText(i,
|
|
781
|
+
const u = v.sanitizeText(i, D());
|
|
782
782
|
a && (a = V(a));
|
|
783
783
|
const { className: l } = this.splitClassNameAndType(u);
|
|
784
784
|
this.classes.get(l).label = a, this.classes.get(l).text = `${a}${this.classes.get(l).type ? `<${this.classes.get(l).type}>` : ""}`;
|
|
@@ -790,22 +790,22 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
790
790
|
* @public
|
|
791
791
|
*/
|
|
792
792
|
addClass(i) {
|
|
793
|
-
const a = v.sanitizeText(i,
|
|
793
|
+
const a = v.sanitizeText(i, D()), { className: u, type: l } = this.splitClassNameAndType(a);
|
|
794
794
|
if (this.classes.has(u))
|
|
795
795
|
return;
|
|
796
|
-
const
|
|
797
|
-
this.classes.set(
|
|
798
|
-
id:
|
|
796
|
+
const n = v.sanitizeText(u, D());
|
|
797
|
+
this.classes.set(n, {
|
|
798
|
+
id: n,
|
|
799
799
|
type: l,
|
|
800
|
-
label:
|
|
801
|
-
text: `${
|
|
800
|
+
label: n,
|
|
801
|
+
text: `${n}${l ? `<${l}>` : ""}`,
|
|
802
802
|
shape: "classBox",
|
|
803
803
|
cssClasses: "default",
|
|
804
804
|
methods: [],
|
|
805
805
|
members: [],
|
|
806
806
|
annotations: [],
|
|
807
807
|
styles: [],
|
|
808
|
-
domId: pe +
|
|
808
|
+
domId: pe + n + "-" + Xe
|
|
809
809
|
}), Xe++;
|
|
810
810
|
}
|
|
811
811
|
addInterface(i, a) {
|
|
@@ -823,7 +823,7 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
823
823
|
* @public
|
|
824
824
|
*/
|
|
825
825
|
lookUpDomId(i) {
|
|
826
|
-
const a = v.sanitizeText(i,
|
|
826
|
+
const a = v.sanitizeText(i, D());
|
|
827
827
|
if (this.classes.has(a))
|
|
828
828
|
return this.classes.get(a).domId;
|
|
829
829
|
throw new Error("Class not found: " + a);
|
|
@@ -854,10 +854,10 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
854
854
|
];
|
|
855
855
|
i.relation.type1 === this.relationType.LOLLIPOP && !a.includes(i.relation.type2) ? (this.addClass(i.id2), this.addInterface(i.id1, i.id2), i.id1 = `interface${this.interfaces.length - 1}`) : i.relation.type2 === this.relationType.LOLLIPOP && !a.includes(i.relation.type1) ? (this.addClass(i.id1), this.addInterface(i.id2, i.id1), i.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(i.id1), this.addClass(i.id2)), i.id1 = this.splitClassNameAndType(i.id1).className, i.id2 = this.splitClassNameAndType(i.id2).className, i.relationTitle1 = v.sanitizeText(
|
|
856
856
|
i.relationTitle1.trim(),
|
|
857
|
-
|
|
857
|
+
D()
|
|
858
858
|
), i.relationTitle2 = v.sanitizeText(
|
|
859
859
|
i.relationTitle2.trim(),
|
|
860
|
-
|
|
860
|
+
D()
|
|
861
861
|
), this.relations.push(i);
|
|
862
862
|
}
|
|
863
863
|
/**
|
|
@@ -885,8 +885,8 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
885
885
|
this.addClass(i);
|
|
886
886
|
const u = this.splitClassNameAndType(i).className, l = this.classes.get(u);
|
|
887
887
|
if (typeof a == "string") {
|
|
888
|
-
const
|
|
889
|
-
|
|
888
|
+
const n = a.trim();
|
|
889
|
+
n.startsWith("<<") && n.endsWith(">>") ? l.annotations.push(V(n.substring(2, n.length - 2))) : n.indexOf(")") > 0 ? l.methods.push(new je(n, "method")) : n && l.members.push(new je(n, "attribute"));
|
|
890
890
|
}
|
|
891
891
|
}
|
|
892
892
|
addMembers(i, a) {
|
|
@@ -913,21 +913,21 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
913
913
|
i.split(",").forEach((u) => {
|
|
914
914
|
let l = u;
|
|
915
915
|
/\d/.exec(u[0]) && (l = pe + l);
|
|
916
|
-
const
|
|
917
|
-
|
|
916
|
+
const n = this.classes.get(l);
|
|
917
|
+
n && (n.cssClasses += " " + a);
|
|
918
918
|
});
|
|
919
919
|
}
|
|
920
920
|
defineClass(i, a) {
|
|
921
921
|
for (const u of i) {
|
|
922
922
|
let l = this.styleClasses.get(u);
|
|
923
|
-
l === void 0 && (l = { id: u, styles: [], textStyles: [] }, this.styleClasses.set(u, l)), a && a.forEach((
|
|
924
|
-
if (/color/.exec(
|
|
925
|
-
const
|
|
926
|
-
l.textStyles.push(
|
|
923
|
+
l === void 0 && (l = { id: u, styles: [], textStyles: [] }, this.styleClasses.set(u, l)), a && a.forEach((n) => {
|
|
924
|
+
if (/color/.exec(n)) {
|
|
925
|
+
const p = n.replace("fill", "bgFill");
|
|
926
|
+
l.textStyles.push(p);
|
|
927
927
|
}
|
|
928
|
-
l.styles.push(
|
|
929
|
-
}), this.classes.forEach((
|
|
930
|
-
|
|
928
|
+
l.styles.push(n);
|
|
929
|
+
}), this.classes.forEach((n) => {
|
|
930
|
+
n.cssClasses.includes(u) && n.styles.push(...a.flatMap((p) => p.split(",")));
|
|
931
931
|
});
|
|
932
932
|
}
|
|
933
933
|
}
|
|
@@ -953,12 +953,12 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
953
953
|
* @param target - Target of the link, _blank by default as originally defined in the svgDraw.js file
|
|
954
954
|
*/
|
|
955
955
|
setLink(i, a, u) {
|
|
956
|
-
const l =
|
|
957
|
-
i.split(",").forEach((
|
|
958
|
-
let
|
|
959
|
-
/\d/.exec(
|
|
960
|
-
const
|
|
961
|
-
|
|
956
|
+
const l = D();
|
|
957
|
+
i.split(",").forEach((n) => {
|
|
958
|
+
let p = n;
|
|
959
|
+
/\d/.exec(n[0]) && (p = pe + p);
|
|
960
|
+
const f = this.classes.get(p);
|
|
961
|
+
f && (f.link = we.formatUrl(a, l), l.securityLevel === "sandbox" ? f.linkTarget = "_top" : typeof u == "string" ? f.linkTarget = V(u) : f.linkTarget = "_blank");
|
|
962
962
|
}), this.setCssClass(i, "clickable");
|
|
963
963
|
}
|
|
964
964
|
/**
|
|
@@ -974,26 +974,26 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
974
974
|
}), this.setCssClass(i, "clickable");
|
|
975
975
|
}
|
|
976
976
|
setClickFunc(i, a, u) {
|
|
977
|
-
const l = v.sanitizeText(i,
|
|
978
|
-
if (
|
|
977
|
+
const l = v.sanitizeText(i, D());
|
|
978
|
+
if (D().securityLevel !== "loose" || a === void 0)
|
|
979
979
|
return;
|
|
980
|
-
const
|
|
981
|
-
if (this.classes.has(
|
|
982
|
-
const
|
|
983
|
-
let
|
|
980
|
+
const p = l;
|
|
981
|
+
if (this.classes.has(p)) {
|
|
982
|
+
const f = this.lookUpDomId(p);
|
|
983
|
+
let C = [];
|
|
984
984
|
if (typeof u == "string") {
|
|
985
|
-
|
|
986
|
-
for (let
|
|
987
|
-
let L =
|
|
988
|
-
L.startsWith('"') && L.endsWith('"') && (L = L.substr(1, L.length - 2)),
|
|
985
|
+
C = u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
|
|
986
|
+
for (let B = 0; B < C.length; B++) {
|
|
987
|
+
let L = C[B].trim();
|
|
988
|
+
L.startsWith('"') && L.endsWith('"') && (L = L.substr(1, L.length - 2)), C[B] = L;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
|
-
|
|
992
|
-
const
|
|
993
|
-
|
|
991
|
+
C.length === 0 && C.push(f), this.functions.push(() => {
|
|
992
|
+
const B = document.querySelector(`[id="${f}"]`);
|
|
993
|
+
B !== null && B.addEventListener(
|
|
994
994
|
"click",
|
|
995
995
|
() => {
|
|
996
|
-
we.runFunc(a, ...
|
|
996
|
+
we.runFunc(a, ...C);
|
|
997
997
|
},
|
|
998
998
|
!1
|
|
999
999
|
);
|
|
@@ -1081,14 +1081,13 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
1081
1081
|
return a;
|
|
1082
1082
|
}
|
|
1083
1083
|
getData() {
|
|
1084
|
-
|
|
1085
|
-
const
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
label: A.id,
|
|
1084
|
+
const i = [], a = [], u = D();
|
|
1085
|
+
for (const n of this.namespaces.keys()) {
|
|
1086
|
+
const p = this.namespaces.get(n);
|
|
1087
|
+
if (p) {
|
|
1088
|
+
const f = {
|
|
1089
|
+
id: p.id,
|
|
1090
|
+
label: p.id,
|
|
1092
1091
|
isGroup: !0,
|
|
1093
1092
|
padding: u.class.padding ?? 16,
|
|
1094
1093
|
// parent node must be one of [rect, roundedWithTitle, noteGroup, divider]
|
|
@@ -1096,22 +1095,22 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
1096
1095
|
cssStyles: ["fill: none", "stroke: black"],
|
|
1097
1096
|
look: u.look
|
|
1098
1097
|
};
|
|
1099
|
-
i.push(
|
|
1098
|
+
i.push(f);
|
|
1100
1099
|
}
|
|
1101
1100
|
}
|
|
1102
|
-
for (const
|
|
1103
|
-
const
|
|
1104
|
-
if (
|
|
1105
|
-
const
|
|
1106
|
-
|
|
1101
|
+
for (const n of this.classes.keys()) {
|
|
1102
|
+
const p = this.classes.get(n);
|
|
1103
|
+
if (p) {
|
|
1104
|
+
const f = p;
|
|
1105
|
+
f.parentId = p.parent, f.look = u.look, i.push(f);
|
|
1107
1106
|
}
|
|
1108
1107
|
}
|
|
1109
1108
|
let l = 0;
|
|
1110
|
-
for (const
|
|
1109
|
+
for (const n of this.notes) {
|
|
1111
1110
|
l++;
|
|
1112
|
-
const
|
|
1113
|
-
id:
|
|
1114
|
-
label:
|
|
1111
|
+
const p = {
|
|
1112
|
+
id: n.id,
|
|
1113
|
+
label: n.text,
|
|
1115
1114
|
isGroup: !1,
|
|
1116
1115
|
shape: "note",
|
|
1117
1116
|
padding: u.class.padding ?? 6,
|
|
@@ -1123,13 +1122,13 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
1123
1122
|
],
|
|
1124
1123
|
look: u.look
|
|
1125
1124
|
};
|
|
1126
|
-
i.push(
|
|
1127
|
-
const
|
|
1128
|
-
if (
|
|
1129
|
-
const
|
|
1125
|
+
i.push(p);
|
|
1126
|
+
const f = this.classes.get(n.class)?.id ?? "";
|
|
1127
|
+
if (f) {
|
|
1128
|
+
const C = {
|
|
1130
1129
|
id: `edgeNote${l}`,
|
|
1131
|
-
start:
|
|
1132
|
-
end:
|
|
1130
|
+
start: n.id,
|
|
1131
|
+
end: f,
|
|
1133
1132
|
type: "normal",
|
|
1134
1133
|
thickness: "normal",
|
|
1135
1134
|
classes: "relation",
|
|
@@ -1141,50 +1140,50 @@ var Tt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
|
1141
1140
|
pattern: "dotted",
|
|
1142
1141
|
look: u.look
|
|
1143
1142
|
};
|
|
1144
|
-
a.push(
|
|
1143
|
+
a.push(C);
|
|
1145
1144
|
}
|
|
1146
1145
|
}
|
|
1147
|
-
for (const
|
|
1148
|
-
const
|
|
1149
|
-
id:
|
|
1150
|
-
label:
|
|
1146
|
+
for (const n of this.interfaces) {
|
|
1147
|
+
const p = {
|
|
1148
|
+
id: n.id,
|
|
1149
|
+
label: n.label,
|
|
1151
1150
|
isGroup: !1,
|
|
1152
1151
|
shape: "rect",
|
|
1153
1152
|
cssStyles: ["opacity: 0;"],
|
|
1154
1153
|
look: u.look
|
|
1155
1154
|
};
|
|
1156
|
-
i.push(
|
|
1155
|
+
i.push(p);
|
|
1157
1156
|
}
|
|
1158
1157
|
l = 0;
|
|
1159
|
-
for (const
|
|
1158
|
+
for (const n of this.relations) {
|
|
1160
1159
|
l++;
|
|
1161
|
-
const
|
|
1162
|
-
id: dt(
|
|
1160
|
+
const p = {
|
|
1161
|
+
id: dt(n.id1, n.id2, {
|
|
1163
1162
|
prefix: "id",
|
|
1164
1163
|
counter: l
|
|
1165
1164
|
}),
|
|
1166
|
-
start:
|
|
1167
|
-
end:
|
|
1165
|
+
start: n.id1,
|
|
1166
|
+
end: n.id2,
|
|
1168
1167
|
type: "normal",
|
|
1169
|
-
label:
|
|
1168
|
+
label: n.title,
|
|
1170
1169
|
labelpos: "c",
|
|
1171
1170
|
thickness: "normal",
|
|
1172
1171
|
classes: "relation",
|
|
1173
|
-
arrowTypeStart: this.getArrowMarker(
|
|
1174
|
-
arrowTypeEnd: this.getArrowMarker(
|
|
1175
|
-
startLabelRight:
|
|
1176
|
-
endLabelLeft:
|
|
1172
|
+
arrowTypeStart: this.getArrowMarker(n.relation.type1),
|
|
1173
|
+
arrowTypeEnd: this.getArrowMarker(n.relation.type2),
|
|
1174
|
+
startLabelRight: n.relationTitle1 === "none" ? "" : n.relationTitle1,
|
|
1175
|
+
endLabelLeft: n.relationTitle2 === "none" ? "" : n.relationTitle2,
|
|
1177
1176
|
arrowheadStyle: "",
|
|
1178
1177
|
labelStyle: ["display: inline-block"],
|
|
1179
|
-
style:
|
|
1180
|
-
pattern:
|
|
1178
|
+
style: n.style || "",
|
|
1179
|
+
pattern: n.relation.lineType == 1 ? "dashed" : "solid",
|
|
1181
1180
|
look: u.look
|
|
1182
1181
|
};
|
|
1183
|
-
a.push(
|
|
1182
|
+
a.push(p);
|
|
1184
1183
|
}
|
|
1185
1184
|
return { nodes: i, edges: a, other: {}, config: u, direction: this.getDirection() };
|
|
1186
1185
|
}
|
|
1187
|
-
},
|
|
1186
|
+
}, A(U, "ClassDB"), U), At = /* @__PURE__ */ A((s) => `g.classGroup text {
|
|
1188
1187
|
fill: ${s.nodeBorder || s.classText};
|
|
1189
1188
|
stroke: none;
|
|
1190
1189
|
font-family: ${s.fontFamily};
|
|
@@ -1343,26 +1342,26 @@ g.classGroup line {
|
|
|
1343
1342
|
fill: ${s.textColor};
|
|
1344
1343
|
}
|
|
1345
1344
|
${et()}
|
|
1346
|
-
`, "getStyles"), Dt = At, ft = /* @__PURE__ */
|
|
1345
|
+
`, "getStyles"), Dt = At, ft = /* @__PURE__ */ A((s, i = "TB") => {
|
|
1347
1346
|
if (!s.doc)
|
|
1348
1347
|
return i;
|
|
1349
1348
|
let a = i;
|
|
1350
1349
|
for (const u of s.doc)
|
|
1351
1350
|
u.stmt === "dir" && (a = u.value);
|
|
1352
1351
|
return a;
|
|
1353
|
-
}, "getDir"), gt = /* @__PURE__ */
|
|
1352
|
+
}, "getDir"), gt = /* @__PURE__ */ A(function(s, i) {
|
|
1354
1353
|
return i.db.getClasses();
|
|
1355
|
-
}, "getClasses"), Ct = /* @__PURE__ */
|
|
1354
|
+
}, "getClasses"), Ct = /* @__PURE__ */ A(async function(s, i, a, u) {
|
|
1356
1355
|
Oe.info("REF0:"), Oe.info("Drawing class diagram (v3)", i);
|
|
1357
|
-
const { securityLevel: l, state:
|
|
1358
|
-
|
|
1359
|
-
const
|
|
1356
|
+
const { securityLevel: l, state: n, layout: p } = D(), f = u.db.getData(), C = tt(i, l);
|
|
1357
|
+
f.type = u.type, f.layoutAlgorithm = it(p), f.nodeSpacing = n?.nodeSpacing || 50, f.rankSpacing = n?.rankSpacing || 50, f.markers = ["aggregation", "extension", "composition", "dependency", "lollipop"], f.diagramId = i, await at(f, C);
|
|
1358
|
+
const B = 8;
|
|
1360
1359
|
we.insertTitle(
|
|
1361
|
-
|
|
1360
|
+
C,
|
|
1362
1361
|
"classDiagramTitleText",
|
|
1363
|
-
|
|
1362
|
+
n?.titleTopMargin ?? 25,
|
|
1364
1363
|
u.db.getDiagramTitle()
|
|
1365
|
-
), st(
|
|
1364
|
+
), st(C, B, "classDiagram", n?.useMaxWidth ?? !0);
|
|
1366
1365
|
}, "draw"), Ft = {
|
|
1367
1366
|
getClasses: gt,
|
|
1368
1367
|
draw: Ct,
|