@kong-ui-public/documentation 1.5.77 → 1.6.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/{arc-DZdQjcG8-C_2Dx6GQ.js → arc-DZdQjcG8-CduayE88.js} +2 -2
- package/dist/{architectureDiagram-3BPJPVTR-By_DXDyu-DTj86bUZ.js → architectureDiagram-3BPJPVTR-By_DXDyu-U3MSLbOU.js} +1506 -1513
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CKP-SiVG.js +3268 -0
- package/dist/{c4Diagram-AAUBKEIU-ftdwlfdB-CYiERTWJ.js → c4Diagram-AAUBKEIU-ftdwlfdB-D3A61SdV.js} +11 -12
- package/dist/{channel-DM9j7IFL-CjNPz4Hd.js → channel-DM9j7IFL-DxqBUxfY.js} +1 -1
- package/dist/{chunk-2J33WTMH-CBbjVzWb-BAAd-TK5.js → chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js} +7 -8
- package/dist/chunk-4BX2VUAB-C_NnimAy--QQ0Db2V.js +8 -0
- package/dist/{chunk-55IACEB6-DZn1aNO0-_bs5ibIB.js → chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js} +1 -1
- package/dist/{chunk-727SXJPM-B2_6_WLv-CzbzsbtK.js → chunk-727SXJPM-B2_6_WLv-Bs3CxHaX.js} +548 -549
- package/dist/{chunk-AQP2D5EJ-DEAEiJjW-BPr5JvkB.js → chunk-AQP2D5EJ-DEAEiJjW-DTbwZT8N.js} +446 -458
- package/dist/{chunk-FMBD7UC4-D_tZ4Dxg-BUygZnCT.js → chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js} +1 -1
- package/dist/{chunk-ND2GUHAM-Duw3k8MU-Dr8SD23L.js → chunk-ND2GUHAM-Duw3k8MU-HmrdHLJ9.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DN6nBdn0-DxWE5zsM.js → chunk-QZHKN3VN-DN6nBdn0-BvQOETVz.js} +1 -1
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-BqXc0etQ.js +17 -0
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-BqXc0etQ.js +17 -0
- package/dist/{cose-bilkent-S5V4N54A-0ZumbVgj-BKcFQWbE.js → cose-bilkent-S5V4N54A-0ZumbVgj-0z7CQbIH.js} +465 -465
- package/dist/{cytoscape.esm-BDIiOYYO-BbddfVIJ.js → cytoscape.esm-BDIiOYYO-C1jMBhD8.js} +356 -371
- package/dist/dagre-BM42HDAG-qMWMsyLb-DGMrq3i3.js +288 -0
- package/dist/{dagre-DJxg_nfI-BzVw7cNP.js → dagre-DJxg_nfI-hVOVexz-.js} +9 -9
- package/dist/{diagram-2AECGRRQ-B2gF_dHe-DCRSlKG-.js → diagram-2AECGRRQ-B2gF_dHe-Bv_EpxRz.js} +10 -14
- package/dist/{diagram-5GNKFQAL-DJ9WwRrD-DtSWJY6-.js → diagram-5GNKFQAL-DJ9WwRrD-WVvm0Icu.js} +4 -4
- package/dist/{diagram-KO2AKTUF-RfkqD-VW-ZR9mxccc.js → diagram-KO2AKTUF-RfkqD-VW-yyAds1Qq.js} +153 -156
- package/dist/{diagram-LMA3HP47-Ct7s9hIt-DXtPBRn4.js → diagram-LMA3HP47-Ct7s9hIt-Dy6f9BAO.js} +21 -22
- package/dist/{diagram-OG6HWLK6-BSYJ2CoI-DX1BfXw6.js → diagram-OG6HWLK6-BSYJ2CoI-ckmfat-L.js} +79 -81
- package/dist/documentation.es.js +1 -1
- package/dist/documentation.umd.js +374 -374
- package/dist/{erDiagram-TEJ5UH35-BudwiSYX-BPA5-1u6.js → erDiagram-TEJ5UH35-BudwiSYX-bVzp1Kjr.js} +134 -135
- package/dist/{flowDiagram-I6XJVG4X-B23Smlxp-Cb24VZnb.js → flowDiagram-I6XJVG4X-B23Smlxp-ClHvdCdJ.js} +842 -849
- package/dist/{ganttDiagram-6RSMTGT7-C-i89z_P-DEdTFlTH.js → ganttDiagram-6RSMTGT7-C-i89z_P-t5UAyRM5.js} +46 -46
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-Cg3smOdz.js +734 -0
- package/dist/{graphlib-D2YdGpuK-CM8PX5pf.js → graphlib-D2YdGpuK-CnQPmzkS.js} +17 -17
- package/dist/{index-Dpyqhws4.js → index-DfVKdDwj.js} +16258 -16515
- package/dist/{infoDiagram-5YYISTIA-CDUwzFql-BsbTK2Me.js → infoDiagram-5YYISTIA-CDUwzFql-Bmthmcp4.js} +2 -2
- package/dist/{ishikawaDiagram-YF4QCWOH-MfYdx0rK-DsWP0O6d.js → ishikawaDiagram-YF4QCWOH-MfYdx0rK-cbltssua.js} +137 -138
- package/dist/{journeyDiagram-JHISSGLW-C_udOPtJ-BkIf9B4Q.js → journeyDiagram-JHISSGLW-C_udOPtJ-BjAvgSAR.js} +13 -13
- package/dist/{kanban-definition-UN3LZRKU-C1Su-UOY-6sw-wDwK.js → kanban-definition-UN3LZRKU-C1Su-UOY-DZ93dsWZ.js} +334 -336
- package/dist/{katex-D7tFlpqA-B7yKriH4.js → katex-D7tFlpqA-BOSQxXe1.js} +254 -256
- package/dist/{linear-1MXhYum8-CfR5ywK4.js → linear-1MXhYum8-9C1jno9G.js} +5 -5
- package/dist/{mindmap-definition-RKZ34NQL-MuSV765K-Cv2rDIFS.js → mindmap-definition-RKZ34NQL-MuSV765K-Kub1iXFv.js} +94 -97
- package/dist/{ordinal-D9ksOc8y-CrGveXkB.js → ordinal-D9ksOc8y-2hZwLyEk.js} +1 -1
- package/dist/{pieDiagram-4H26LBE5-TgFp7J6_-C8m2xJbj.js → pieDiagram-4H26LBE5-TgFp7J6_-i6NxP3Xz.js} +43 -44
- package/dist/{quadrantDiagram-W4KKPZXB-DKPne3o_-D0Tfl8NQ.js → quadrantDiagram-W4KKPZXB-DKPne3o_-DXLHqRuR.js} +351 -353
- package/dist/{requirementDiagram-4Y6WPE33-vh8uUAp_-C5zLx-_o.js → requirementDiagram-4Y6WPE33-vh8uUAp_-CHtsISxP.js} +384 -386
- package/dist/{sankeyDiagram-5OEKKPKP-Cgs6W_El-DBrv4QL_.js → sankeyDiagram-5OEKKPKP-Cgs6W_El-D7GZyd8n.js} +178 -178
- package/dist/{sequenceDiagram-3UESZ5HK-C5F57Dkt-D6DqZiJP.js → sequenceDiagram-3UESZ5HK-C5F57Dkt-BW1Hb7UW.js} +643 -653
- package/dist/{stateDiagram-AJRCARHV-09dUKG6Y-9QhAIhCk.js → stateDiagram-AJRCARHV-09dUKG6Y-Dm2a1vNu.js} +5 -5
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-DbWzZ-j-.js +16 -0
- package/dist/style.css +1 -1
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-B5CT96H-.js +1095 -0
- package/dist/{vennDiagram-CIIHVFJN-DQfKxM3L-086u82L3.js → vennDiagram-CIIHVFJN-DQfKxM3L-qUaKEl7l.js} +596 -603
- package/dist/{wardley-L42UT6IY-BjAkE_cs-li1xYed9.js → wardley-L42UT6IY-BjAkE_cs-C-giFqos.js} +5760 -5809
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-DXPF2Ee9.js +639 -0
- package/dist/{xychartDiagram-2RQKCTM6-ChNH3q1U--vbcTXH5.js → xychartDiagram-2RQKCTM6-ChNH3q1U-a59DsJDA.js} +10 -10
- package/package.json +4 -4
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CSQRWfog.js +0 -3278
- package/dist/chunk-4BX2VUAB-C_NnimAy-B-8x_g6K.js +0 -9
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-DLmqgbj1.js +0 -17
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-DLmqgbj1.js +0 -17
- package/dist/dagre-BM42HDAG-qMWMsyLb-BzK2-5zM.js +0 -291
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-BtfdBLxW.js +0 -747
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-Br5eF-5b.js +0 -16
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-CkhwKYjQ.js +0 -1106
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-CCMCDU5F.js +0 -647
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { n as lt } from "./chunk-55IACEB6-DZn1aNO0-
|
|
3
|
-
import { r as ot } from "./chunk-2J33WTMH-CBbjVzWb-
|
|
4
|
-
var qe = function() {
|
|
5
|
-
var e = /* @__PURE__ */
|
|
6
|
-
for (
|
|
7
|
-
return
|
|
8
|
-
}, "o"),
|
|
1
|
+
import { p as y, o as Be, U as ze, W as Xe, G as Ze, K as Je, f as et, i as tt, Z as Te, g as Ne, H as st, n as it, d as nt, e as rt, N as at } from "./index-DfVKdDwj.js";
|
|
2
|
+
import { n as lt } from "./chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js";
|
|
3
|
+
import { r as ot } from "./chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js";
|
|
4
|
+
var qe = (function() {
|
|
5
|
+
var e = /* @__PURE__ */ y(function(i, m, c, s) {
|
|
6
|
+
for (c ||= {}, s = i.length; s--; c[i[s]] = m) ;
|
|
7
|
+
return c;
|
|
8
|
+
}, "o"), r = [1, 3], h = [1, 4], o = [1, 5], n = [1, 6], a = [
|
|
9
9
|
5,
|
|
10
10
|
6,
|
|
11
11
|
8,
|
|
@@ -28,7 +28,7 @@ var qe = function() {
|
|
|
28
28
|
77,
|
|
29
29
|
89,
|
|
30
30
|
90
|
|
31
|
-
],
|
|
31
|
+
], u = [1, 22], _ = [2, 7], f = [1, 26], b = [1, 27], N = [1, 28], q = [1, 29], C = [1, 33], A = [1, 34], L = [1, 35], $ = [1, 36], v = [1, 37], x = [1, 38], O = [1, 24], M = [1, 31], D = [1, 32], w = [1, 30], E = [1, 39], R = [1, 40], d = [
|
|
32
32
|
5,
|
|
33
33
|
8,
|
|
34
34
|
9,
|
|
@@ -144,7 +144,7 @@ var qe = function() {
|
|
|
144
144
|
77,
|
|
145
145
|
89,
|
|
146
146
|
90
|
|
147
|
-
],
|
|
147
|
+
], S = [
|
|
148
148
|
5,
|
|
149
149
|
8,
|
|
150
150
|
9,
|
|
@@ -178,7 +178,7 @@ var qe = function() {
|
|
|
178
178
|
89,
|
|
179
179
|
90
|
|
180
180
|
], Y = [1, 110], B = [1, 106], H = [1, 107], Q = [1, 108], K = [1, 109], W = [1, 111], ce = [1, 116], he = [1, 117], ue = [1, 114], ye = [1, 115], _e = {
|
|
181
|
-
trace: /* @__PURE__ */
|
|
181
|
+
trace: /* @__PURE__ */ y(function() {
|
|
182
182
|
}, "trace"),
|
|
183
183
|
yy: {},
|
|
184
184
|
symbols_: {
|
|
@@ -432,15 +432,15 @@ var qe = function() {
|
|
|
432
432
|
[60, 1],
|
|
433
433
|
[60, 1]
|
|
434
434
|
],
|
|
435
|
-
performAction: /* @__PURE__ */
|
|
436
|
-
var
|
|
437
|
-
switch (
|
|
435
|
+
performAction: /* @__PURE__ */ y(function(i, m, c, s, p, t, me) {
|
|
436
|
+
var l = t.length - 1;
|
|
437
|
+
switch (p) {
|
|
438
438
|
case 4:
|
|
439
|
-
this.$ = t[
|
|
439
|
+
this.$ = t[l].trim(), s.setAccTitle(this.$);
|
|
440
440
|
break;
|
|
441
441
|
case 5:
|
|
442
442
|
case 6:
|
|
443
|
-
this.$ = t[
|
|
443
|
+
this.$ = t[l].trim(), s.setAccDescription(this.$);
|
|
444
444
|
break;
|
|
445
445
|
case 7:
|
|
446
446
|
this.$ = [];
|
|
@@ -458,22 +458,22 @@ var qe = function() {
|
|
|
458
458
|
s.setDirection("LR");
|
|
459
459
|
break;
|
|
460
460
|
case 21:
|
|
461
|
-
s.addRequirement(t[
|
|
461
|
+
s.addRequirement(t[l - 3], t[l - 4]);
|
|
462
462
|
break;
|
|
463
463
|
case 22:
|
|
464
|
-
s.addRequirement(t[
|
|
464
|
+
s.addRequirement(t[l - 5], t[l - 6]), s.setClass([t[l - 5]], t[l - 3]);
|
|
465
465
|
break;
|
|
466
466
|
case 23:
|
|
467
|
-
s.setNewReqId(t[
|
|
467
|
+
s.setNewReqId(t[l - 2]);
|
|
468
468
|
break;
|
|
469
469
|
case 24:
|
|
470
|
-
s.setNewReqText(t[
|
|
470
|
+
s.setNewReqText(t[l - 2]);
|
|
471
471
|
break;
|
|
472
472
|
case 25:
|
|
473
|
-
s.setNewReqRisk(t[
|
|
473
|
+
s.setNewReqRisk(t[l - 2]);
|
|
474
474
|
break;
|
|
475
475
|
case 26:
|
|
476
|
-
s.setNewReqVerifyMethod(t[
|
|
476
|
+
s.setNewReqVerifyMethod(t[l - 2]);
|
|
477
477
|
break;
|
|
478
478
|
case 29:
|
|
479
479
|
this.$ = s.RequirementType.REQUIREMENT;
|
|
@@ -515,22 +515,22 @@ var qe = function() {
|
|
|
515
515
|
this.$ = s.VerifyType.VERIFY_TEST;
|
|
516
516
|
break;
|
|
517
517
|
case 42:
|
|
518
|
-
s.addElement(t[
|
|
518
|
+
s.addElement(t[l - 3]);
|
|
519
519
|
break;
|
|
520
520
|
case 43:
|
|
521
|
-
s.addElement(t[
|
|
521
|
+
s.addElement(t[l - 5]), s.setClass([t[l - 5]], t[l - 3]);
|
|
522
522
|
break;
|
|
523
523
|
case 44:
|
|
524
|
-
s.setNewElementType(t[
|
|
524
|
+
s.setNewElementType(t[l - 2]);
|
|
525
525
|
break;
|
|
526
526
|
case 45:
|
|
527
|
-
s.setNewElementDocRef(t[
|
|
527
|
+
s.setNewElementDocRef(t[l - 2]);
|
|
528
528
|
break;
|
|
529
529
|
case 48:
|
|
530
|
-
s.addRelationship(t[
|
|
530
|
+
s.addRelationship(t[l - 2], t[l], t[l - 4]);
|
|
531
531
|
break;
|
|
532
532
|
case 49:
|
|
533
|
-
s.addRelationship(t[
|
|
533
|
+
s.addRelationship(t[l - 2], t[l - 4], t[l]);
|
|
534
534
|
break;
|
|
535
535
|
case 50:
|
|
536
536
|
this.$ = s.Relationships.CONTAINS;
|
|
@@ -554,33 +554,33 @@ var qe = function() {
|
|
|
554
554
|
this.$ = s.Relationships.TRACES;
|
|
555
555
|
break;
|
|
556
556
|
case 57:
|
|
557
|
-
this.$ = t[
|
|
557
|
+
this.$ = t[l - 2], s.defineClass(t[l - 1], t[l]);
|
|
558
558
|
break;
|
|
559
559
|
case 58:
|
|
560
|
-
s.setClass(t[
|
|
560
|
+
s.setClass(t[l - 1], t[l]);
|
|
561
561
|
break;
|
|
562
562
|
case 59:
|
|
563
|
-
s.setClass([t[
|
|
563
|
+
s.setClass([t[l - 2]], t[l]);
|
|
564
564
|
break;
|
|
565
565
|
case 60:
|
|
566
566
|
case 62:
|
|
567
|
-
this.$ = [t[
|
|
567
|
+
this.$ = [t[l]];
|
|
568
568
|
break;
|
|
569
569
|
case 61:
|
|
570
570
|
case 63:
|
|
571
|
-
this.$ = t[
|
|
571
|
+
this.$ = t[l - 2].concat([t[l]]);
|
|
572
572
|
break;
|
|
573
573
|
case 64:
|
|
574
|
-
this.$ = t[
|
|
574
|
+
this.$ = t[l - 2], s.setCssStyle(t[l - 1], t[l]);
|
|
575
575
|
break;
|
|
576
576
|
case 65:
|
|
577
|
-
this.$ = [t[
|
|
577
|
+
this.$ = [t[l]];
|
|
578
578
|
break;
|
|
579
579
|
case 66:
|
|
580
|
-
t[
|
|
580
|
+
t[l - 2].push(t[l]), this.$ = t[l - 2];
|
|
581
581
|
break;
|
|
582
582
|
case 68:
|
|
583
|
-
this.$ = t[
|
|
583
|
+
this.$ = t[l - 1] + t[l];
|
|
584
584
|
break;
|
|
585
585
|
}
|
|
586
586
|
}, "anonymous"),
|
|
@@ -588,42 +588,42 @@ var qe = function() {
|
|
|
588
588
|
{
|
|
589
589
|
3: 1,
|
|
590
590
|
4: 2,
|
|
591
|
-
6:
|
|
592
|
-
9:
|
|
593
|
-
11:
|
|
594
|
-
13:
|
|
591
|
+
6: r,
|
|
592
|
+
9: h,
|
|
593
|
+
11: o,
|
|
594
|
+
13: n
|
|
595
595
|
},
|
|
596
596
|
{ 1: [3] },
|
|
597
597
|
{
|
|
598
598
|
3: 8,
|
|
599
599
|
4: 2,
|
|
600
600
|
5: [1, 7],
|
|
601
|
-
6:
|
|
602
|
-
9:
|
|
603
|
-
11:
|
|
604
|
-
13:
|
|
601
|
+
6: r,
|
|
602
|
+
9: h,
|
|
603
|
+
11: o,
|
|
604
|
+
13: n
|
|
605
605
|
},
|
|
606
606
|
{ 5: [1, 9] },
|
|
607
607
|
{ 10: [1, 10] },
|
|
608
608
|
{ 12: [1, 11] },
|
|
609
|
-
e(
|
|
609
|
+
e(a, [2, 6]),
|
|
610
610
|
{
|
|
611
611
|
3: 12,
|
|
612
612
|
4: 2,
|
|
613
|
-
6:
|
|
614
|
-
9:
|
|
615
|
-
11:
|
|
616
|
-
13:
|
|
613
|
+
6: r,
|
|
614
|
+
9: h,
|
|
615
|
+
11: o,
|
|
616
|
+
13: n
|
|
617
617
|
},
|
|
618
618
|
{ 1: [2, 2] },
|
|
619
619
|
{
|
|
620
620
|
4: 17,
|
|
621
|
-
5:
|
|
621
|
+
5: u,
|
|
622
622
|
7: 13,
|
|
623
623
|
8: _,
|
|
624
|
-
9:
|
|
625
|
-
11:
|
|
626
|
-
13:
|
|
624
|
+
9: h,
|
|
625
|
+
11: o,
|
|
626
|
+
13: n,
|
|
627
627
|
14: 14,
|
|
628
628
|
15: 15,
|
|
629
629
|
16: 16,
|
|
@@ -631,10 +631,10 @@ var qe = function() {
|
|
|
631
631
|
18: 19,
|
|
632
632
|
19: 20,
|
|
633
633
|
20: 21,
|
|
634
|
-
21:
|
|
635
|
-
22:
|
|
636
|
-
23:
|
|
637
|
-
24:
|
|
634
|
+
21: f,
|
|
635
|
+
22: b,
|
|
636
|
+
23: N,
|
|
637
|
+
24: q,
|
|
638
638
|
25: 23,
|
|
639
639
|
33: 25,
|
|
640
640
|
41: C,
|
|
@@ -647,21 +647,21 @@ var qe = function() {
|
|
|
647
647
|
72: M,
|
|
648
648
|
74: D,
|
|
649
649
|
77: w,
|
|
650
|
-
89:
|
|
651
|
-
90:
|
|
650
|
+
89: E,
|
|
651
|
+
90: R
|
|
652
652
|
},
|
|
653
|
-
e(
|
|
654
|
-
e(
|
|
653
|
+
e(a, [2, 4]),
|
|
654
|
+
e(a, [2, 5]),
|
|
655
655
|
{ 1: [2, 1] },
|
|
656
656
|
{ 8: [1, 41] },
|
|
657
657
|
{
|
|
658
658
|
4: 17,
|
|
659
|
-
5:
|
|
659
|
+
5: u,
|
|
660
660
|
7: 42,
|
|
661
661
|
8: _,
|
|
662
|
-
9:
|
|
663
|
-
11:
|
|
664
|
-
13:
|
|
662
|
+
9: h,
|
|
663
|
+
11: o,
|
|
664
|
+
13: n,
|
|
665
665
|
14: 14,
|
|
666
666
|
15: 15,
|
|
667
667
|
16: 16,
|
|
@@ -669,10 +669,10 @@ var qe = function() {
|
|
|
669
669
|
18: 19,
|
|
670
670
|
19: 20,
|
|
671
671
|
20: 21,
|
|
672
|
-
21:
|
|
673
|
-
22:
|
|
674
|
-
23:
|
|
675
|
-
24:
|
|
672
|
+
21: f,
|
|
673
|
+
22: b,
|
|
674
|
+
23: N,
|
|
675
|
+
24: q,
|
|
676
676
|
25: 23,
|
|
677
677
|
33: 25,
|
|
678
678
|
41: C,
|
|
@@ -685,17 +685,17 @@ var qe = function() {
|
|
|
685
685
|
72: M,
|
|
686
686
|
74: D,
|
|
687
687
|
77: w,
|
|
688
|
-
89:
|
|
689
|
-
90:
|
|
688
|
+
89: E,
|
|
689
|
+
90: R
|
|
690
690
|
},
|
|
691
691
|
{
|
|
692
692
|
4: 17,
|
|
693
|
-
5:
|
|
693
|
+
5: u,
|
|
694
694
|
7: 43,
|
|
695
695
|
8: _,
|
|
696
|
-
9:
|
|
697
|
-
11:
|
|
698
|
-
13:
|
|
696
|
+
9: h,
|
|
697
|
+
11: o,
|
|
698
|
+
13: n,
|
|
699
699
|
14: 14,
|
|
700
700
|
15: 15,
|
|
701
701
|
16: 16,
|
|
@@ -703,10 +703,10 @@ var qe = function() {
|
|
|
703
703
|
18: 19,
|
|
704
704
|
19: 20,
|
|
705
705
|
20: 21,
|
|
706
|
-
21:
|
|
707
|
-
22:
|
|
708
|
-
23:
|
|
709
|
-
24:
|
|
706
|
+
21: f,
|
|
707
|
+
22: b,
|
|
708
|
+
23: N,
|
|
709
|
+
24: q,
|
|
710
710
|
25: 23,
|
|
711
711
|
33: 25,
|
|
712
712
|
41: C,
|
|
@@ -719,17 +719,17 @@ var qe = function() {
|
|
|
719
719
|
72: M,
|
|
720
720
|
74: D,
|
|
721
721
|
77: w,
|
|
722
|
-
89:
|
|
723
|
-
90:
|
|
722
|
+
89: E,
|
|
723
|
+
90: R
|
|
724
724
|
},
|
|
725
725
|
{
|
|
726
726
|
4: 17,
|
|
727
|
-
5:
|
|
727
|
+
5: u,
|
|
728
728
|
7: 44,
|
|
729
729
|
8: _,
|
|
730
|
-
9:
|
|
731
|
-
11:
|
|
732
|
-
13:
|
|
730
|
+
9: h,
|
|
731
|
+
11: o,
|
|
732
|
+
13: n,
|
|
733
733
|
14: 14,
|
|
734
734
|
15: 15,
|
|
735
735
|
16: 16,
|
|
@@ -737,10 +737,10 @@ var qe = function() {
|
|
|
737
737
|
18: 19,
|
|
738
738
|
19: 20,
|
|
739
739
|
20: 21,
|
|
740
|
-
21:
|
|
741
|
-
22:
|
|
742
|
-
23:
|
|
743
|
-
24:
|
|
740
|
+
21: f,
|
|
741
|
+
22: b,
|
|
742
|
+
23: N,
|
|
743
|
+
24: q,
|
|
744
744
|
25: 23,
|
|
745
745
|
33: 25,
|
|
746
746
|
41: C,
|
|
@@ -753,17 +753,17 @@ var qe = function() {
|
|
|
753
753
|
72: M,
|
|
754
754
|
74: D,
|
|
755
755
|
77: w,
|
|
756
|
-
89:
|
|
757
|
-
90:
|
|
756
|
+
89: E,
|
|
757
|
+
90: R
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
760
|
4: 17,
|
|
761
|
-
5:
|
|
761
|
+
5: u,
|
|
762
762
|
7: 45,
|
|
763
763
|
8: _,
|
|
764
|
-
9:
|
|
765
|
-
11:
|
|
766
|
-
13:
|
|
764
|
+
9: h,
|
|
765
|
+
11: o,
|
|
766
|
+
13: n,
|
|
767
767
|
14: 14,
|
|
768
768
|
15: 15,
|
|
769
769
|
16: 16,
|
|
@@ -771,10 +771,10 @@ var qe = function() {
|
|
|
771
771
|
18: 19,
|
|
772
772
|
19: 20,
|
|
773
773
|
20: 21,
|
|
774
|
-
21:
|
|
775
|
-
22:
|
|
776
|
-
23:
|
|
777
|
-
24:
|
|
774
|
+
21: f,
|
|
775
|
+
22: b,
|
|
776
|
+
23: N,
|
|
777
|
+
24: q,
|
|
778
778
|
25: 23,
|
|
779
779
|
33: 25,
|
|
780
780
|
41: C,
|
|
@@ -787,17 +787,17 @@ var qe = function() {
|
|
|
787
787
|
72: M,
|
|
788
788
|
74: D,
|
|
789
789
|
77: w,
|
|
790
|
-
89:
|
|
791
|
-
90:
|
|
790
|
+
89: E,
|
|
791
|
+
90: R
|
|
792
792
|
},
|
|
793
793
|
{
|
|
794
794
|
4: 17,
|
|
795
|
-
5:
|
|
795
|
+
5: u,
|
|
796
796
|
7: 46,
|
|
797
797
|
8: _,
|
|
798
|
-
9:
|
|
799
|
-
11:
|
|
800
|
-
13:
|
|
798
|
+
9: h,
|
|
799
|
+
11: o,
|
|
800
|
+
13: n,
|
|
801
801
|
14: 14,
|
|
802
802
|
15: 15,
|
|
803
803
|
16: 16,
|
|
@@ -805,10 +805,10 @@ var qe = function() {
|
|
|
805
805
|
18: 19,
|
|
806
806
|
19: 20,
|
|
807
807
|
20: 21,
|
|
808
|
-
21:
|
|
809
|
-
22:
|
|
810
|
-
23:
|
|
811
|
-
24:
|
|
808
|
+
21: f,
|
|
809
|
+
22: b,
|
|
810
|
+
23: N,
|
|
811
|
+
24: q,
|
|
812
812
|
25: 23,
|
|
813
813
|
33: 25,
|
|
814
814
|
41: C,
|
|
@@ -821,17 +821,17 @@ var qe = function() {
|
|
|
821
821
|
72: M,
|
|
822
822
|
74: D,
|
|
823
823
|
77: w,
|
|
824
|
-
89:
|
|
825
|
-
90:
|
|
824
|
+
89: E,
|
|
825
|
+
90: R
|
|
826
826
|
},
|
|
827
827
|
{
|
|
828
828
|
4: 17,
|
|
829
|
-
5:
|
|
829
|
+
5: u,
|
|
830
830
|
7: 47,
|
|
831
831
|
8: _,
|
|
832
|
-
9:
|
|
833
|
-
11:
|
|
834
|
-
13:
|
|
832
|
+
9: h,
|
|
833
|
+
11: o,
|
|
834
|
+
13: n,
|
|
835
835
|
14: 14,
|
|
836
836
|
15: 15,
|
|
837
837
|
16: 16,
|
|
@@ -839,10 +839,10 @@ var qe = function() {
|
|
|
839
839
|
18: 19,
|
|
840
840
|
19: 20,
|
|
841
841
|
20: 21,
|
|
842
|
-
21:
|
|
843
|
-
22:
|
|
844
|
-
23:
|
|
845
|
-
24:
|
|
842
|
+
21: f,
|
|
843
|
+
22: b,
|
|
844
|
+
23: N,
|
|
845
|
+
24: q,
|
|
846
846
|
25: 23,
|
|
847
847
|
33: 25,
|
|
848
848
|
41: C,
|
|
@@ -855,17 +855,17 @@ var qe = function() {
|
|
|
855
855
|
72: M,
|
|
856
856
|
74: D,
|
|
857
857
|
77: w,
|
|
858
|
-
89:
|
|
859
|
-
90:
|
|
858
|
+
89: E,
|
|
859
|
+
90: R
|
|
860
860
|
},
|
|
861
861
|
{
|
|
862
862
|
4: 17,
|
|
863
|
-
5:
|
|
863
|
+
5: u,
|
|
864
864
|
7: 48,
|
|
865
865
|
8: _,
|
|
866
|
-
9:
|
|
867
|
-
11:
|
|
868
|
-
13:
|
|
866
|
+
9: h,
|
|
867
|
+
11: o,
|
|
868
|
+
13: n,
|
|
869
869
|
14: 14,
|
|
870
870
|
15: 15,
|
|
871
871
|
16: 16,
|
|
@@ -873,10 +873,10 @@ var qe = function() {
|
|
|
873
873
|
18: 19,
|
|
874
874
|
19: 20,
|
|
875
875
|
20: 21,
|
|
876
|
-
21:
|
|
877
|
-
22:
|
|
878
|
-
23:
|
|
879
|
-
24:
|
|
876
|
+
21: f,
|
|
877
|
+
22: b,
|
|
878
|
+
23: N,
|
|
879
|
+
24: q,
|
|
880
880
|
25: 23,
|
|
881
881
|
33: 25,
|
|
882
882
|
41: C,
|
|
@@ -889,17 +889,17 @@ var qe = function() {
|
|
|
889
889
|
72: M,
|
|
890
890
|
74: D,
|
|
891
891
|
77: w,
|
|
892
|
-
89:
|
|
893
|
-
90:
|
|
892
|
+
89: E,
|
|
893
|
+
90: R
|
|
894
894
|
},
|
|
895
895
|
{
|
|
896
896
|
4: 17,
|
|
897
|
-
5:
|
|
897
|
+
5: u,
|
|
898
898
|
7: 49,
|
|
899
899
|
8: _,
|
|
900
|
-
9:
|
|
901
|
-
11:
|
|
902
|
-
13:
|
|
900
|
+
9: h,
|
|
901
|
+
11: o,
|
|
902
|
+
13: n,
|
|
903
903
|
14: 14,
|
|
904
904
|
15: 15,
|
|
905
905
|
16: 16,
|
|
@@ -907,10 +907,10 @@ var qe = function() {
|
|
|
907
907
|
18: 19,
|
|
908
908
|
19: 20,
|
|
909
909
|
20: 21,
|
|
910
|
-
21:
|
|
911
|
-
22:
|
|
912
|
-
23:
|
|
913
|
-
24:
|
|
910
|
+
21: f,
|
|
911
|
+
22: b,
|
|
912
|
+
23: N,
|
|
913
|
+
24: q,
|
|
914
914
|
25: 23,
|
|
915
915
|
33: 25,
|
|
916
916
|
41: C,
|
|
@@ -923,17 +923,17 @@ var qe = function() {
|
|
|
923
923
|
72: M,
|
|
924
924
|
74: D,
|
|
925
925
|
77: w,
|
|
926
|
-
89:
|
|
927
|
-
90:
|
|
926
|
+
89: E,
|
|
927
|
+
90: R
|
|
928
928
|
},
|
|
929
929
|
{
|
|
930
930
|
4: 17,
|
|
931
|
-
5:
|
|
931
|
+
5: u,
|
|
932
932
|
7: 50,
|
|
933
933
|
8: _,
|
|
934
|
-
9:
|
|
935
|
-
11:
|
|
936
|
-
13:
|
|
934
|
+
9: h,
|
|
935
|
+
11: o,
|
|
936
|
+
13: n,
|
|
937
937
|
14: 14,
|
|
938
938
|
15: 15,
|
|
939
939
|
16: 16,
|
|
@@ -941,10 +941,10 @@ var qe = function() {
|
|
|
941
941
|
18: 19,
|
|
942
942
|
19: 20,
|
|
943
943
|
20: 21,
|
|
944
|
-
21:
|
|
945
|
-
22:
|
|
946
|
-
23:
|
|
947
|
-
24:
|
|
944
|
+
21: f,
|
|
945
|
+
22: b,
|
|
946
|
+
23: N,
|
|
947
|
+
24: q,
|
|
948
948
|
25: 23,
|
|
949
949
|
33: 25,
|
|
950
950
|
41: C,
|
|
@@ -957,8 +957,8 @@ var qe = function() {
|
|
|
957
957
|
72: M,
|
|
958
958
|
74: D,
|
|
959
959
|
77: w,
|
|
960
|
-
89:
|
|
961
|
-
90:
|
|
960
|
+
89: E,
|
|
961
|
+
90: R
|
|
962
962
|
},
|
|
963
963
|
{
|
|
964
964
|
26: 51,
|
|
@@ -975,30 +975,30 @@ var qe = function() {
|
|
|
975
975
|
61: [1, 57],
|
|
976
976
|
63: [1, 58]
|
|
977
977
|
},
|
|
978
|
-
e(
|
|
979
|
-
e(
|
|
980
|
-
e(
|
|
981
|
-
e(
|
|
978
|
+
e(d, [2, 17]),
|
|
979
|
+
e(d, [2, 18]),
|
|
980
|
+
e(d, [2, 19]),
|
|
981
|
+
e(d, [2, 20]),
|
|
982
982
|
{
|
|
983
983
|
30: 60,
|
|
984
984
|
33: 62,
|
|
985
985
|
75: P,
|
|
986
|
-
89:
|
|
987
|
-
90:
|
|
986
|
+
89: E,
|
|
987
|
+
90: R
|
|
988
988
|
},
|
|
989
989
|
{
|
|
990
990
|
30: 63,
|
|
991
991
|
33: 62,
|
|
992
992
|
75: P,
|
|
993
|
-
89:
|
|
994
|
-
90:
|
|
993
|
+
89: E,
|
|
994
|
+
90: R
|
|
995
995
|
},
|
|
996
996
|
{
|
|
997
997
|
30: 64,
|
|
998
998
|
33: 62,
|
|
999
999
|
75: P,
|
|
1000
|
-
89:
|
|
1001
|
-
90:
|
|
1000
|
+
89: E,
|
|
1001
|
+
90: R
|
|
1002
1002
|
},
|
|
1003
1003
|
e(z, [2, 29]),
|
|
1004
1004
|
e(z, [2, 30]),
|
|
@@ -1054,8 +1054,8 @@ var qe = function() {
|
|
|
1054
1054
|
30: 78,
|
|
1055
1055
|
33: 62,
|
|
1056
1056
|
75: P,
|
|
1057
|
-
89:
|
|
1058
|
-
90:
|
|
1057
|
+
89: E,
|
|
1058
|
+
90: R
|
|
1059
1059
|
},
|
|
1060
1060
|
{
|
|
1061
1061
|
73: 79,
|
|
@@ -1096,24 +1096,24 @@ var qe = function() {
|
|
|
1096
1096
|
33: 62,
|
|
1097
1097
|
75: P,
|
|
1098
1098
|
76: U,
|
|
1099
|
-
89:
|
|
1100
|
-
90:
|
|
1099
|
+
89: E,
|
|
1100
|
+
90: R
|
|
1101
1101
|
},
|
|
1102
1102
|
{ 5: [1, 95] },
|
|
1103
1103
|
{
|
|
1104
1104
|
30: 96,
|
|
1105
1105
|
33: 62,
|
|
1106
1106
|
75: P,
|
|
1107
|
-
89:
|
|
1108
|
-
90:
|
|
1107
|
+
89: E,
|
|
1108
|
+
90: R
|
|
1109
1109
|
},
|
|
1110
1110
|
{ 5: [1, 97] },
|
|
1111
1111
|
{
|
|
1112
1112
|
30: 98,
|
|
1113
1113
|
33: 62,
|
|
1114
1114
|
75: P,
|
|
1115
|
-
89:
|
|
1116
|
-
90:
|
|
1115
|
+
89: E,
|
|
1116
|
+
90: R
|
|
1117
1117
|
},
|
|
1118
1118
|
{ 63: [1, 99] },
|
|
1119
1119
|
e(V, [2, 50]),
|
|
@@ -1124,13 +1124,13 @@ var qe = function() {
|
|
|
1124
1124
|
e(V, [2, 55]),
|
|
1125
1125
|
e(V, [2, 56]),
|
|
1126
1126
|
{ 64: [1, 100] },
|
|
1127
|
-
e(
|
|
1128
|
-
e(
|
|
1127
|
+
e(d, [2, 59], { 76: U }),
|
|
1128
|
+
e(d, [2, 64], { 76: De }),
|
|
1129
1129
|
{
|
|
1130
1130
|
33: 103,
|
|
1131
1131
|
75: [1, 102],
|
|
1132
|
-
89:
|
|
1133
|
-
90:
|
|
1132
|
+
89: E,
|
|
1133
|
+
90: R
|
|
1134
1134
|
},
|
|
1135
1135
|
e(we, [2, 65], {
|
|
1136
1136
|
79: 104,
|
|
@@ -1145,19 +1145,19 @@ var qe = function() {
|
|
|
1145
1145
|
87: le,
|
|
1146
1146
|
88: oe
|
|
1147
1147
|
}),
|
|
1148
|
-
e(
|
|
1149
|
-
e(
|
|
1150
|
-
e(
|
|
1151
|
-
e(
|
|
1152
|
-
e(
|
|
1153
|
-
e(
|
|
1154
|
-
e(
|
|
1155
|
-
e(
|
|
1156
|
-
e(
|
|
1157
|
-
e(
|
|
1158
|
-
e(
|
|
1159
|
-
e(
|
|
1160
|
-
e(
|
|
1148
|
+
e(S, [2, 67]),
|
|
1149
|
+
e(S, [2, 69]),
|
|
1150
|
+
e(S, [2, 70]),
|
|
1151
|
+
e(S, [2, 71]),
|
|
1152
|
+
e(S, [2, 72]),
|
|
1153
|
+
e(S, [2, 73]),
|
|
1154
|
+
e(S, [2, 74]),
|
|
1155
|
+
e(S, [2, 75]),
|
|
1156
|
+
e(S, [2, 76]),
|
|
1157
|
+
e(S, [2, 77]),
|
|
1158
|
+
e(S, [2, 78]),
|
|
1159
|
+
e(d, [2, 57], { 76: De }),
|
|
1160
|
+
e(d, [2, 58], { 76: U }),
|
|
1161
1161
|
{
|
|
1162
1162
|
5: Y,
|
|
1163
1163
|
28: 105,
|
|
@@ -1184,13 +1184,13 @@ var qe = function() {
|
|
|
1184
1184
|
},
|
|
1185
1185
|
{
|
|
1186
1186
|
33: 119,
|
|
1187
|
-
89:
|
|
1188
|
-
90:
|
|
1187
|
+
89: E,
|
|
1188
|
+
90: R
|
|
1189
1189
|
},
|
|
1190
1190
|
{
|
|
1191
1191
|
33: 120,
|
|
1192
|
-
89:
|
|
1193
|
-
90:
|
|
1192
|
+
89: E,
|
|
1193
|
+
90: R
|
|
1194
1194
|
},
|
|
1195
1195
|
{
|
|
1196
1196
|
75: J,
|
|
@@ -1208,8 +1208,8 @@ var qe = function() {
|
|
|
1208
1208
|
},
|
|
1209
1209
|
e(pe, [2, 61]),
|
|
1210
1210
|
e(pe, [2, 63]),
|
|
1211
|
-
e(
|
|
1212
|
-
e(
|
|
1211
|
+
e(S, [2, 68]),
|
|
1212
|
+
e(d, [2, 21]),
|
|
1213
1213
|
{ 32: [1, 122] },
|
|
1214
1214
|
{ 32: [1, 123] },
|
|
1215
1215
|
{ 32: [1, 124] },
|
|
@@ -1223,9 +1223,9 @@ var qe = function() {
|
|
|
1223
1223
|
38: K,
|
|
1224
1224
|
40: W
|
|
1225
1225
|
},
|
|
1226
|
-
e(
|
|
1226
|
+
e(d, [2, 28]),
|
|
1227
1227
|
{ 5: [1, 127] },
|
|
1228
|
-
e(
|
|
1228
|
+
e(d, [2, 42]),
|
|
1229
1229
|
{ 32: [1, 128] },
|
|
1230
1230
|
{ 32: [1, 129] },
|
|
1231
1231
|
{
|
|
@@ -1235,10 +1235,10 @@ var qe = function() {
|
|
|
1235
1235
|
57: ue,
|
|
1236
1236
|
59: ye
|
|
1237
1237
|
},
|
|
1238
|
-
e(
|
|
1238
|
+
e(d, [2, 47]),
|
|
1239
1239
|
{ 5: [1, 131] },
|
|
1240
|
-
e(
|
|
1241
|
-
e(
|
|
1240
|
+
e(d, [2, 48]),
|
|
1241
|
+
e(d, [2, 49]),
|
|
1242
1242
|
e(we, [2, 66], {
|
|
1243
1243
|
79: 104,
|
|
1244
1244
|
75: J,
|
|
@@ -1254,8 +1254,8 @@ var qe = function() {
|
|
|
1254
1254
|
}),
|
|
1255
1255
|
{
|
|
1256
1256
|
33: 132,
|
|
1257
|
-
89:
|
|
1258
|
-
90:
|
|
1257
|
+
89: E,
|
|
1258
|
+
90: R
|
|
1259
1259
|
},
|
|
1260
1260
|
{
|
|
1261
1261
|
35: 133,
|
|
@@ -1275,7 +1275,7 @@ var qe = function() {
|
|
|
1275
1275
|
52: [1, 143],
|
|
1276
1276
|
53: [1, 144]
|
|
1277
1277
|
},
|
|
1278
|
-
e(
|
|
1278
|
+
e(d, [2, 27]),
|
|
1279
1279
|
{
|
|
1280
1280
|
5: Y,
|
|
1281
1281
|
28: 145,
|
|
@@ -1295,7 +1295,7 @@ var qe = function() {
|
|
|
1295
1295
|
89: [1, 150],
|
|
1296
1296
|
90: [1, 151]
|
|
1297
1297
|
},
|
|
1298
|
-
e(
|
|
1298
|
+
e(d, [2, 46]),
|
|
1299
1299
|
{
|
|
1300
1300
|
5: ce,
|
|
1301
1301
|
40: he,
|
|
@@ -1316,14 +1316,14 @@ var qe = function() {
|
|
|
1316
1316
|
{ 5: [2, 39] },
|
|
1317
1317
|
{ 5: [2, 40] },
|
|
1318
1318
|
{ 5: [2, 41] },
|
|
1319
|
-
e(
|
|
1319
|
+
e(d, [2, 22]),
|
|
1320
1320
|
{ 5: [1, 157] },
|
|
1321
1321
|
{ 5: [2, 87] },
|
|
1322
1322
|
{ 5: [2, 88] },
|
|
1323
1323
|
{ 5: [1, 158] },
|
|
1324
1324
|
{ 5: [2, 89] },
|
|
1325
1325
|
{ 5: [2, 90] },
|
|
1326
|
-
e(
|
|
1326
|
+
e(d, [2, 43]),
|
|
1327
1327
|
{
|
|
1328
1328
|
5: Y,
|
|
1329
1329
|
28: 159,
|
|
@@ -1374,12 +1374,12 @@ var qe = function() {
|
|
|
1374
1374
|
57: ue,
|
|
1375
1375
|
59: ye
|
|
1376
1376
|
},
|
|
1377
|
-
e(
|
|
1378
|
-
e(
|
|
1379
|
-
e(
|
|
1380
|
-
e(
|
|
1381
|
-
e(
|
|
1382
|
-
e(
|
|
1377
|
+
e(d, [2, 23]),
|
|
1378
|
+
e(d, [2, 24]),
|
|
1379
|
+
e(d, [2, 25]),
|
|
1380
|
+
e(d, [2, 26]),
|
|
1381
|
+
e(d, [2, 44]),
|
|
1382
|
+
e(d, [2, 45])
|
|
1383
1383
|
],
|
|
1384
1384
|
defaultActions: {
|
|
1385
1385
|
8: [2, 2],
|
|
@@ -1408,65 +1408,65 @@ var qe = function() {
|
|
|
1408
1408
|
150: [2, 89],
|
|
1409
1409
|
151: [2, 90]
|
|
1410
1410
|
},
|
|
1411
|
-
parseError: /* @__PURE__ */
|
|
1412
|
-
if (
|
|
1411
|
+
parseError: /* @__PURE__ */ y(function(i, m) {
|
|
1412
|
+
if (m.recoverable) this.trace(i);
|
|
1413
1413
|
else {
|
|
1414
|
-
var
|
|
1415
|
-
throw
|
|
1414
|
+
var c = Error(i);
|
|
1415
|
+
throw c.hash = m, c;
|
|
1416
1416
|
}
|
|
1417
1417
|
}, "parseError"),
|
|
1418
|
-
parse: /* @__PURE__ */
|
|
1419
|
-
var
|
|
1418
|
+
parse: /* @__PURE__ */ y(function(i) {
|
|
1419
|
+
var m = this, c = [0], s = [], p = [null], t = [], me = this.table, l = "", Re = 0, Fe = 0, Qe = 0, Ke = 2, Pe = 1, We = t.slice.call(arguments, 1), g = Object.create(this.lexer), G = { yy: {} };
|
|
1420
1420
|
for (var be in this.yy) Object.prototype.hasOwnProperty.call(this.yy, be) && (G.yy[be] = this.yy[be]);
|
|
1421
|
-
|
|
1422
|
-
var Ie =
|
|
1421
|
+
g.setInput(i, G.yy), G.yy.lexer = g, G.yy.parser = this, g.yylloc === void 0 && (g.yylloc = {});
|
|
1422
|
+
var Ie = g.yylloc;
|
|
1423
1423
|
t.push(Ie);
|
|
1424
|
-
var Ge =
|
|
1424
|
+
var Ge = g.options && g.options.ranges;
|
|
1425
1425
|
typeof G.yy.parseError == "function" ? this.parseError = G.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
1426
|
-
function je(
|
|
1427
|
-
|
|
1426
|
+
function je(T) {
|
|
1427
|
+
c.length -= 2 * T, p.length -= T, t.length -= T;
|
|
1428
1428
|
}
|
|
1429
|
-
|
|
1429
|
+
y(je, "popStack");
|
|
1430
1430
|
function Ue() {
|
|
1431
|
-
var
|
|
1432
|
-
return typeof
|
|
1431
|
+
var T = s.pop() || g.lex() || Pe;
|
|
1432
|
+
return typeof T != "number" && (T instanceof Array && (s = T, T = s.pop()), T = m.symbols_[T] || T), T;
|
|
1433
1433
|
}
|
|
1434
|
-
|
|
1435
|
-
for (var
|
|
1436
|
-
if (j =
|
|
1434
|
+
y(Ue, "lex");
|
|
1435
|
+
for (var I, Se, j, k, ke, X = {}, fe, F, Ve, ge; ; ) {
|
|
1436
|
+
if (j = c[c.length - 1], this.defaultActions[j] ? k = this.defaultActions[j] : (I ??= Ue(), k = me[j] && me[j][I]), k === void 0 || !k.length || !k[0]) {
|
|
1437
1437
|
var Ye = "";
|
|
1438
1438
|
for (fe in ge = [], me[j]) this.terminals_[fe] && fe > Ke && ge.push("'" + this.terminals_[fe] + "'");
|
|
1439
|
-
Ye =
|
|
1440
|
-
` +
|
|
1441
|
-
Expecting ` + ge.join(", ") + ", got '" + (this.terminals_[
|
|
1442
|
-
text:
|
|
1443
|
-
token: this.terminals_[
|
|
1444
|
-
line:
|
|
1439
|
+
Ye = g.showPosition ? "Parse error on line " + (Re + 1) + `:
|
|
1440
|
+
` + g.showPosition() + `
|
|
1441
|
+
Expecting ` + ge.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : "Parse error on line " + (Re + 1) + ": Unexpected " + (I == Pe ? "end of input" : "'" + (this.terminals_[I] || I) + "'"), this.parseError(Ye, {
|
|
1442
|
+
text: g.match,
|
|
1443
|
+
token: this.terminals_[I] || I,
|
|
1444
|
+
line: g.yylineno,
|
|
1445
1445
|
loc: Ie,
|
|
1446
1446
|
expected: ge
|
|
1447
1447
|
});
|
|
1448
1448
|
}
|
|
1449
|
-
if (
|
|
1450
|
-
switch (
|
|
1449
|
+
if (k[0] instanceof Array && k.length > 1) throw Error("Parse Error: multiple actions possible at state: " + j + ", token: " + I);
|
|
1450
|
+
switch (k[0]) {
|
|
1451
1451
|
case 1:
|
|
1452
|
-
|
|
1452
|
+
c.push(I), p.push(g.yytext), t.push(g.yylloc), c.push(k[1]), I = null, Se ? (I = Se, Se = null) : (Fe = g.yyleng, l = g.yytext, Re = g.yylineno, Ie = g.yylloc, Qe > 0);
|
|
1453
1453
|
break;
|
|
1454
1454
|
case 2:
|
|
1455
|
-
if (F = this.productions_[
|
|
1455
|
+
if (F = this.productions_[k[1]][1], X.$ = p[p.length - F], X._$ = {
|
|
1456
1456
|
first_line: t[t.length - (F || 1)].first_line,
|
|
1457
1457
|
last_line: t[t.length - 1].last_line,
|
|
1458
1458
|
first_column: t[t.length - (F || 1)].first_column,
|
|
1459
1459
|
last_column: t[t.length - 1].last_column
|
|
1460
1460
|
}, Ge && (X._$.range = [t[t.length - (F || 1)].range[0], t[t.length - 1].range[1]]), ke = this.performAction.apply(X, [
|
|
1461
|
-
|
|
1461
|
+
l,
|
|
1462
1462
|
Fe,
|
|
1463
1463
|
Re,
|
|
1464
1464
|
G.yy,
|
|
1465
|
-
|
|
1466
|
-
|
|
1465
|
+
k[1],
|
|
1466
|
+
p,
|
|
1467
1467
|
t
|
|
1468
1468
|
].concat(We)), ke !== void 0) return ke;
|
|
1469
|
-
F && (
|
|
1469
|
+
F && (c = c.slice(0, -1 * F * 2), p = p.slice(0, -1 * F), t = t.slice(0, -1 * F)), c.push(this.productions_[k[1]][0]), p.push(X.$), t.push(X._$), Ve = me[c[c.length - 2]][c[c.length - 1]], c.push(Ve);
|
|
1470
1470
|
break;
|
|
1471
1471
|
case 3:
|
|
1472
1472
|
return !0;
|
|
@@ -1475,42 +1475,42 @@ Expecting ` + ge.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Par
|
|
|
1475
1475
|
return !0;
|
|
1476
1476
|
}, "parse")
|
|
1477
1477
|
};
|
|
1478
|
-
_e.lexer = /* @__PURE__ */ function() {
|
|
1478
|
+
_e.lexer = /* @__PURE__ */ (function() {
|
|
1479
1479
|
return {
|
|
1480
1480
|
EOF: 1,
|
|
1481
|
-
parseError: /* @__PURE__ */
|
|
1482
|
-
if (this.yy.parser) this.yy.parser.parseError(i,
|
|
1481
|
+
parseError: /* @__PURE__ */ y(function(i, m) {
|
|
1482
|
+
if (this.yy.parser) this.yy.parser.parseError(i, m);
|
|
1483
1483
|
else throw Error(i);
|
|
1484
1484
|
}, "parseError"),
|
|
1485
|
-
setInput: /* @__PURE__ */
|
|
1486
|
-
return this.yy =
|
|
1485
|
+
setInput: /* @__PURE__ */ y(function(i, m) {
|
|
1486
|
+
return this.yy = m || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
1487
1487
|
first_line: 1,
|
|
1488
1488
|
first_column: 0,
|
|
1489
1489
|
last_line: 1,
|
|
1490
1490
|
last_column: 0
|
|
1491
1491
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
1492
1492
|
}, "setInput"),
|
|
1493
|
-
input: /* @__PURE__ */
|
|
1493
|
+
input: /* @__PURE__ */ y(function() {
|
|
1494
1494
|
var i = this._input[0];
|
|
1495
1495
|
return this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i, i.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
|
|
1496
1496
|
}, "input"),
|
|
1497
|
-
unput: /* @__PURE__ */
|
|
1498
|
-
var
|
|
1499
|
-
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
1497
|
+
unput: /* @__PURE__ */ y(function(i) {
|
|
1498
|
+
var m = i.length, c = i.split(/(?:\r\n?|\n)/g);
|
|
1499
|
+
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - m), this.offset -= m;
|
|
1500
1500
|
var s = this.match.split(/(?:\r\n?|\n)/g);
|
|
1501
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
1502
|
-
var
|
|
1501
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), c.length - 1 && (this.yylineno -= c.length - 1);
|
|
1502
|
+
var p = this.yylloc.range;
|
|
1503
1503
|
return this.yylloc = {
|
|
1504
1504
|
first_line: this.yylloc.first_line,
|
|
1505
1505
|
last_line: this.yylineno + 1,
|
|
1506
1506
|
first_column: this.yylloc.first_column,
|
|
1507
|
-
last_column:
|
|
1508
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
1507
|
+
last_column: c ? (c.length === s.length ? this.yylloc.first_column : 0) + s[s.length - c.length].length - c[0].length : this.yylloc.first_column - m
|
|
1508
|
+
}, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - m]), this.yyleng = this.yytext.length, this;
|
|
1509
1509
|
}, "unput"),
|
|
1510
|
-
more: /* @__PURE__ */
|
|
1510
|
+
more: /* @__PURE__ */ y(function() {
|
|
1511
1511
|
return this._more = !0, this;
|
|
1512
1512
|
}, "more"),
|
|
1513
|
-
reject: /* @__PURE__ */
|
|
1513
|
+
reject: /* @__PURE__ */ y(function() {
|
|
1514
1514
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
1515
1515
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
1516
1516
|
` + this.showPosition(), {
|
|
@@ -1520,25 +1520,25 @@ Expecting ` + ge.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Par
|
|
|
1520
1520
|
});
|
|
1521
1521
|
return this;
|
|
1522
1522
|
}, "reject"),
|
|
1523
|
-
less: /* @__PURE__ */
|
|
1523
|
+
less: /* @__PURE__ */ y(function(i) {
|
|
1524
1524
|
this.unput(this.match.slice(i));
|
|
1525
1525
|
}, "less"),
|
|
1526
|
-
pastInput: /* @__PURE__ */
|
|
1526
|
+
pastInput: /* @__PURE__ */ y(function() {
|
|
1527
1527
|
var i = this.matched.substr(0, this.matched.length - this.match.length);
|
|
1528
1528
|
return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
|
|
1529
1529
|
}, "pastInput"),
|
|
1530
|
-
upcomingInput: /* @__PURE__ */
|
|
1530
|
+
upcomingInput: /* @__PURE__ */ y(function() {
|
|
1531
1531
|
var i = this.match;
|
|
1532
1532
|
return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
1533
1533
|
}, "upcomingInput"),
|
|
1534
|
-
showPosition: /* @__PURE__ */
|
|
1535
|
-
var i = this.pastInput(),
|
|
1534
|
+
showPosition: /* @__PURE__ */ y(function() {
|
|
1535
|
+
var i = this.pastInput(), m = Array(i.length + 1).join("-");
|
|
1536
1536
|
return i + this.upcomingInput() + `
|
|
1537
|
-
` +
|
|
1537
|
+
` + m + "^";
|
|
1538
1538
|
}, "showPosition"),
|
|
1539
|
-
test_match: /* @__PURE__ */
|
|
1540
|
-
var
|
|
1541
|
-
if (this.options.backtrack_lexer && (
|
|
1539
|
+
test_match: /* @__PURE__ */ y(function(i, m) {
|
|
1540
|
+
var c, s, p;
|
|
1541
|
+
if (this.options.backtrack_lexer && (p = {
|
|
1542
1542
|
yylineno: this.yylineno,
|
|
1543
1543
|
yylloc: {
|
|
1544
1544
|
first_line: this.yylloc.first_line,
|
|
@@ -1557,63 +1557,63 @@ Expecting ` + ge.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Par
|
|
|
1557
1557
|
yy: this.yy,
|
|
1558
1558
|
conditionStack: this.conditionStack.slice(0),
|
|
1559
1559
|
done: this.done
|
|
1560
|
-
}, this.options.ranges && (
|
|
1560
|
+
}, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), s = i[0].match(/(?:\r\n?|\n).*/g), s && (this.yylineno += s.length), this.yylloc = {
|
|
1561
1561
|
first_line: this.yylloc.last_line,
|
|
1562
1562
|
last_line: this.yylineno + 1,
|
|
1563
1563
|
first_column: this.yylloc.last_column,
|
|
1564
1564
|
last_column: s ? s[s.length - 1].length - s[s.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
|
|
1565
|
-
}, this.yytext += i[0], this.match += i[0], this.matches = i, 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(i[0].length), this.matched += i[0],
|
|
1565
|
+
}, this.yytext += i[0], this.match += i[0], this.matches = i, 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(i[0].length), this.matched += i[0], c = this.performAction.call(this, this.yy, this, m, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c) return c;
|
|
1566
1566
|
if (this._backtrack) {
|
|
1567
|
-
for (var t in
|
|
1567
|
+
for (var t in p) this[t] = p[t];
|
|
1568
1568
|
return !1;
|
|
1569
1569
|
}
|
|
1570
1570
|
return !1;
|
|
1571
1571
|
}, "test_match"),
|
|
1572
|
-
next: /* @__PURE__ */
|
|
1572
|
+
next: /* @__PURE__ */ y(function() {
|
|
1573
1573
|
if (this.done) return this.EOF;
|
|
1574
1574
|
this._input || (this.done = !0);
|
|
1575
|
-
var i,
|
|
1575
|
+
var i, m, c, s;
|
|
1576
1576
|
this._more || (this.yytext = "", this.match = "");
|
|
1577
|
-
for (var
|
|
1578
|
-
if (
|
|
1579
|
-
if (i = this.test_match(
|
|
1577
|
+
for (var p = this._currentRules(), t = 0; t < p.length; t++) if (c = this._input.match(this.rules[p[t]]), c && (!m || c[0].length > m[0].length)) {
|
|
1578
|
+
if (m = c, s = t, this.options.backtrack_lexer) {
|
|
1579
|
+
if (i = this.test_match(c, p[t]), i !== !1) return i;
|
|
1580
1580
|
if (this._backtrack) {
|
|
1581
|
-
|
|
1581
|
+
m = !1;
|
|
1582
1582
|
continue;
|
|
1583
1583
|
} else return !1;
|
|
1584
1584
|
} else if (!this.options.flex) break;
|
|
1585
1585
|
}
|
|
1586
|
-
return
|
|
1586
|
+
return m ? (i = this.test_match(m, p[s]), i === !1 ? !1 : i) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
1587
1587
|
` + this.showPosition(), {
|
|
1588
1588
|
text: "",
|
|
1589
1589
|
token: null,
|
|
1590
1590
|
line: this.yylineno
|
|
1591
1591
|
});
|
|
1592
1592
|
}, "next"),
|
|
1593
|
-
lex: /* @__PURE__ */
|
|
1593
|
+
lex: /* @__PURE__ */ y(function() {
|
|
1594
1594
|
return this.next() || this.lex();
|
|
1595
1595
|
}, "lex"),
|
|
1596
|
-
begin: /* @__PURE__ */
|
|
1596
|
+
begin: /* @__PURE__ */ y(function(i) {
|
|
1597
1597
|
this.conditionStack.push(i);
|
|
1598
1598
|
}, "begin"),
|
|
1599
|
-
popState: /* @__PURE__ */
|
|
1599
|
+
popState: /* @__PURE__ */ y(function() {
|
|
1600
1600
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
1601
1601
|
}, "popState"),
|
|
1602
|
-
_currentRules: /* @__PURE__ */
|
|
1602
|
+
_currentRules: /* @__PURE__ */ y(function() {
|
|
1603
1603
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
1604
1604
|
}, "_currentRules"),
|
|
1605
|
-
topState: /* @__PURE__ */
|
|
1605
|
+
topState: /* @__PURE__ */ y(function(i) {
|
|
1606
1606
|
return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
|
|
1607
1607
|
}, "topState"),
|
|
1608
|
-
pushState: /* @__PURE__ */
|
|
1608
|
+
pushState: /* @__PURE__ */ y(function(i) {
|
|
1609
1609
|
this.begin(i);
|
|
1610
1610
|
}, "pushState"),
|
|
1611
|
-
stateStackSize: /* @__PURE__ */
|
|
1611
|
+
stateStackSize: /* @__PURE__ */ y(function() {
|
|
1612
1612
|
return this.conditionStack.length;
|
|
1613
1613
|
}, "stateStackSize"),
|
|
1614
1614
|
options: { "case-insensitive": !0 },
|
|
1615
|
-
performAction: /* @__PURE__ */
|
|
1616
|
-
switch (
|
|
1615
|
+
performAction: /* @__PURE__ */ y(function(i, m, c, s) {
|
|
1616
|
+
switch (c) {
|
|
1617
1617
|
case 0:
|
|
1618
1618
|
return "title";
|
|
1619
1619
|
case 1:
|
|
@@ -1755,7 +1755,7 @@ Expecting ` + ge.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Par
|
|
|
1755
1755
|
case 66:
|
|
1756
1756
|
return "qString";
|
|
1757
1757
|
case 67:
|
|
1758
|
-
return
|
|
1758
|
+
return m.yytext = m.yytext.trim(), 89;
|
|
1759
1759
|
case 68:
|
|
1760
1760
|
return 75;
|
|
1761
1761
|
case 69:
|
|
@@ -1972,12 +1972,12 @@ Expecting ` + ge.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Par
|
|
|
1972
1972
|
}
|
|
1973
1973
|
}
|
|
1974
1974
|
};
|
|
1975
|
-
}();
|
|
1975
|
+
})();
|
|
1976
1976
|
function Ee() {
|
|
1977
1977
|
this.yy = {};
|
|
1978
1978
|
}
|
|
1979
|
-
return
|
|
1980
|
-
}();
|
|
1979
|
+
return y(Ee, "Parser"), Ee.prototype = _e, _e.Parser = Ee, new Ee();
|
|
1980
|
+
})();
|
|
1981
1981
|
qe.parser = qe;
|
|
1982
1982
|
var ct = qe, Z, ht = (Z = class {
|
|
1983
1983
|
constructor() {
|
|
@@ -2005,13 +2005,13 @@ var ct = qe, Z, ht = (Z = class {
|
|
|
2005
2005
|
VERIFIES: "verifies",
|
|
2006
2006
|
REFINES: "refines",
|
|
2007
2007
|
TRACES: "traces"
|
|
2008
|
-
}, this.setAccTitle = ze, this.getAccTitle = Xe, this.setAccDescription = Ze, this.getAccDescription = Je, this.setDiagramTitle = et, this.getDiagramTitle = tt, this.getConfig = /* @__PURE__ */
|
|
2008
|
+
}, this.setAccTitle = ze, this.getAccTitle = Xe, this.setAccDescription = Ze, this.getAccDescription = Je, this.setDiagramTitle = et, this.getDiagramTitle = tt, this.getConfig = /* @__PURE__ */ y(() => Te().requirement, "getConfig"), this.clear(), this.setDirection = this.setDirection.bind(this), this.addRequirement = this.addRequirement.bind(this), this.setNewReqId = this.setNewReqId.bind(this), this.setNewReqRisk = this.setNewReqRisk.bind(this), this.setNewReqText = this.setNewReqText.bind(this), this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this), this.addElement = this.addElement.bind(this), this.setNewElementType = this.setNewElementType.bind(this), this.setNewElementDocRef = this.setNewElementDocRef.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setCssStyle = this.setCssStyle.bind(this), this.setClass = this.setClass.bind(this), this.defineClass = this.defineClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
|
|
2009
2009
|
}
|
|
2010
2010
|
getDirection() {
|
|
2011
2011
|
return this.direction;
|
|
2012
2012
|
}
|
|
2013
|
-
setDirection(
|
|
2014
|
-
this.direction =
|
|
2013
|
+
setDirection(r) {
|
|
2014
|
+
this.direction = r;
|
|
2015
2015
|
}
|
|
2016
2016
|
resetLatestRequirement() {
|
|
2017
2017
|
this.latestRequirement = this.getInitialRequirement();
|
|
@@ -2040,56 +2040,56 @@ var ct = qe, Z, ht = (Z = class {
|
|
|
2040
2040
|
classes: ["default"]
|
|
2041
2041
|
};
|
|
2042
2042
|
}
|
|
2043
|
-
addRequirement(
|
|
2044
|
-
return this.requirements.has(
|
|
2045
|
-
name:
|
|
2046
|
-
type:
|
|
2043
|
+
addRequirement(r, h) {
|
|
2044
|
+
return this.requirements.has(r) || this.requirements.set(r, {
|
|
2045
|
+
name: r,
|
|
2046
|
+
type: h,
|
|
2047
2047
|
requirementId: this.latestRequirement.requirementId,
|
|
2048
2048
|
text: this.latestRequirement.text,
|
|
2049
2049
|
risk: this.latestRequirement.risk,
|
|
2050
2050
|
verifyMethod: this.latestRequirement.verifyMethod,
|
|
2051
2051
|
cssStyles: [],
|
|
2052
2052
|
classes: ["default"]
|
|
2053
|
-
}), this.resetLatestRequirement(), this.requirements.get(
|
|
2053
|
+
}), this.resetLatestRequirement(), this.requirements.get(r);
|
|
2054
2054
|
}
|
|
2055
2055
|
getRequirements() {
|
|
2056
2056
|
return this.requirements;
|
|
2057
2057
|
}
|
|
2058
|
-
setNewReqId(
|
|
2059
|
-
this.latestRequirement !== void 0 && (this.latestRequirement.requirementId =
|
|
2058
|
+
setNewReqId(r) {
|
|
2059
|
+
this.latestRequirement !== void 0 && (this.latestRequirement.requirementId = r);
|
|
2060
2060
|
}
|
|
2061
|
-
setNewReqText(
|
|
2062
|
-
this.latestRequirement !== void 0 && (this.latestRequirement.text =
|
|
2061
|
+
setNewReqText(r) {
|
|
2062
|
+
this.latestRequirement !== void 0 && (this.latestRequirement.text = r);
|
|
2063
2063
|
}
|
|
2064
|
-
setNewReqRisk(
|
|
2065
|
-
this.latestRequirement !== void 0 && (this.latestRequirement.risk =
|
|
2064
|
+
setNewReqRisk(r) {
|
|
2065
|
+
this.latestRequirement !== void 0 && (this.latestRequirement.risk = r);
|
|
2066
2066
|
}
|
|
2067
|
-
setNewReqVerifyMethod(
|
|
2068
|
-
this.latestRequirement !== void 0 && (this.latestRequirement.verifyMethod =
|
|
2067
|
+
setNewReqVerifyMethod(r) {
|
|
2068
|
+
this.latestRequirement !== void 0 && (this.latestRequirement.verifyMethod = r);
|
|
2069
2069
|
}
|
|
2070
|
-
addElement(
|
|
2071
|
-
return this.elements.has(
|
|
2072
|
-
name:
|
|
2070
|
+
addElement(r) {
|
|
2071
|
+
return this.elements.has(r) || (this.elements.set(r, {
|
|
2072
|
+
name: r,
|
|
2073
2073
|
type: this.latestElement.type,
|
|
2074
2074
|
docRef: this.latestElement.docRef,
|
|
2075
2075
|
cssStyles: [],
|
|
2076
2076
|
classes: ["default"]
|
|
2077
|
-
}), Ne.info("Added new element: ",
|
|
2077
|
+
}), Ne.info("Added new element: ", r)), this.resetLatestElement(), this.elements.get(r);
|
|
2078
2078
|
}
|
|
2079
2079
|
getElements() {
|
|
2080
2080
|
return this.elements;
|
|
2081
2081
|
}
|
|
2082
|
-
setNewElementType(
|
|
2083
|
-
this.latestElement !== void 0 && (this.latestElement.type =
|
|
2082
|
+
setNewElementType(r) {
|
|
2083
|
+
this.latestElement !== void 0 && (this.latestElement.type = r);
|
|
2084
2084
|
}
|
|
2085
|
-
setNewElementDocRef(
|
|
2086
|
-
this.latestElement !== void 0 && (this.latestElement.docRef =
|
|
2085
|
+
setNewElementDocRef(r) {
|
|
2086
|
+
this.latestElement !== void 0 && (this.latestElement.docRef = r);
|
|
2087
2087
|
}
|
|
2088
|
-
addRelationship(
|
|
2088
|
+
addRelationship(r, h, o) {
|
|
2089
2089
|
this.relations.push({
|
|
2090
|
-
type:
|
|
2091
|
-
src:
|
|
2092
|
-
dst:
|
|
2090
|
+
type: r,
|
|
2091
|
+
src: h,
|
|
2092
|
+
dst: o
|
|
2093
2093
|
});
|
|
2094
2094
|
}
|
|
2095
2095
|
getRelationships() {
|
|
@@ -2098,41 +2098,40 @@ var ct = qe, Z, ht = (Z = class {
|
|
|
2098
2098
|
clear() {
|
|
2099
2099
|
this.relations = [], this.resetLatestRequirement(), this.requirements = /* @__PURE__ */ new Map(), this.resetLatestElement(), this.elements = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), st();
|
|
2100
2100
|
}
|
|
2101
|
-
setCssStyle(
|
|
2102
|
-
for (let
|
|
2103
|
-
let
|
|
2104
|
-
if (!
|
|
2105
|
-
for (let
|
|
2101
|
+
setCssStyle(r, h) {
|
|
2102
|
+
for (let o of r) {
|
|
2103
|
+
let n = this.requirements.get(o) ?? this.elements.get(o);
|
|
2104
|
+
if (!h || !n) return;
|
|
2105
|
+
for (let a of h) a.includes(",") ? n.cssStyles.push(...a.split(",")) : n.cssStyles.push(a);
|
|
2106
2106
|
}
|
|
2107
2107
|
}
|
|
2108
|
-
setClass(
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
_ && l.cssStyles.push(..._);
|
|
2108
|
+
setClass(r, h) {
|
|
2109
|
+
for (let o of r) {
|
|
2110
|
+
let n = this.requirements.get(o) ?? this.elements.get(o);
|
|
2111
|
+
if (n) for (let a of h) {
|
|
2112
|
+
n.classes.push(a);
|
|
2113
|
+
let u = this.classes.get(a)?.styles;
|
|
2114
|
+
u && n.cssStyles.push(...u);
|
|
2116
2115
|
}
|
|
2117
2116
|
}
|
|
2118
2117
|
}
|
|
2119
|
-
defineClass(
|
|
2120
|
-
for (let
|
|
2121
|
-
let
|
|
2122
|
-
|
|
2123
|
-
id:
|
|
2118
|
+
defineClass(r, h) {
|
|
2119
|
+
for (let o of r) {
|
|
2120
|
+
let n = this.classes.get(o);
|
|
2121
|
+
n === void 0 && (n = {
|
|
2122
|
+
id: o,
|
|
2124
2123
|
styles: [],
|
|
2125
2124
|
textStyles: []
|
|
2126
|
-
}, this.classes.set(
|
|
2127
|
-
if (/color/.exec(
|
|
2128
|
-
let
|
|
2129
|
-
|
|
2125
|
+
}, this.classes.set(o, n)), h && h.forEach(function(a) {
|
|
2126
|
+
if (/color/.exec(a)) {
|
|
2127
|
+
let u = a.replace("fill", "bgFill");
|
|
2128
|
+
n.textStyles.push(u);
|
|
2130
2129
|
}
|
|
2131
|
-
|
|
2132
|
-
}), this.requirements.forEach((
|
|
2133
|
-
|
|
2134
|
-
}), this.elements.forEach((
|
|
2135
|
-
|
|
2130
|
+
n.styles.push(a);
|
|
2131
|
+
}), this.requirements.forEach((a) => {
|
|
2132
|
+
a.classes.includes(o) && a.cssStyles.push(...h.flatMap((u) => u.split(",")));
|
|
2133
|
+
}), this.elements.forEach((a) => {
|
|
2134
|
+
a.classes.includes(o) && a.cssStyles.push(...h.flatMap((u) => u.split(",")));
|
|
2136
2135
|
});
|
|
2137
2136
|
}
|
|
2138
2137
|
}
|
|
@@ -2140,62 +2139,61 @@ var ct = qe, Z, ht = (Z = class {
|
|
|
2140
2139
|
return this.classes;
|
|
2141
2140
|
}
|
|
2142
2141
|
getData() {
|
|
2143
|
-
|
|
2144
|
-
let n
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
m.id = u.name, m.cssStyles = u.cssStyles, m.cssClasses = u.classes.join(" "), m.shape = "requirementBox", m.look = n.look, m.colorIndex = c.length, c.push(m);
|
|
2142
|
+
let r = Te(), h = [], o = [];
|
|
2143
|
+
for (let n of this.requirements.values()) {
|
|
2144
|
+
let a = n;
|
|
2145
|
+
a.id = n.name, a.cssStyles = n.cssStyles, a.cssClasses = n.classes.join(" "), a.shape = "requirementBox", a.look = r.look, a.colorIndex = h.length, h.push(a);
|
|
2148
2146
|
}
|
|
2149
|
-
for (let
|
|
2150
|
-
let
|
|
2151
|
-
|
|
2147
|
+
for (let n of this.elements.values()) {
|
|
2148
|
+
let a = n;
|
|
2149
|
+
a.shape = "requirementBox", a.look = r.look, a.id = n.name, a.cssStyles = n.cssStyles, a.cssClasses = n.classes.join(" "), a.colorIndex = h.length, h.push(a);
|
|
2152
2150
|
}
|
|
2153
|
-
for (let
|
|
2154
|
-
let
|
|
2155
|
-
id: `${
|
|
2156
|
-
start:
|
|
2157
|
-
end:
|
|
2158
|
-
label: `<<${
|
|
2151
|
+
for (let n of this.relations) {
|
|
2152
|
+
let a = 0, u = n.type === this.Relationships.CONTAINS, _ = {
|
|
2153
|
+
id: `${n.src}-${n.dst}-${a}`,
|
|
2154
|
+
start: this.requirements.get(n.src)?.name ?? this.elements.get(n.src)?.name,
|
|
2155
|
+
end: this.requirements.get(n.dst)?.name ?? this.elements.get(n.dst)?.name,
|
|
2156
|
+
label: `<<${n.type}>>`,
|
|
2159
2157
|
classes: "relationshipLine",
|
|
2160
|
-
style: ["fill:none",
|
|
2158
|
+
style: ["fill:none", u ? "" : "stroke-dasharray: 10,7"],
|
|
2161
2159
|
labelpos: "c",
|
|
2162
2160
|
thickness: "normal",
|
|
2163
2161
|
type: "normal",
|
|
2164
|
-
pattern:
|
|
2165
|
-
arrowTypeStart:
|
|
2166
|
-
arrowTypeEnd:
|
|
2167
|
-
look:
|
|
2162
|
+
pattern: u ? "normal" : "dashed",
|
|
2163
|
+
arrowTypeStart: u ? "requirement_contains" : "",
|
|
2164
|
+
arrowTypeEnd: u ? "" : "requirement_arrow",
|
|
2165
|
+
look: r.look,
|
|
2168
2166
|
labelType: "markdown"
|
|
2169
2167
|
};
|
|
2170
|
-
|
|
2168
|
+
o.push(_), a++;
|
|
2171
2169
|
}
|
|
2172
2170
|
return {
|
|
2173
|
-
nodes:
|
|
2174
|
-
edges:
|
|
2171
|
+
nodes: h,
|
|
2172
|
+
edges: o,
|
|
2175
2173
|
other: {},
|
|
2176
|
-
config:
|
|
2174
|
+
config: r,
|
|
2177
2175
|
direction: this.getDirection()
|
|
2178
2176
|
};
|
|
2179
2177
|
}
|
|
2180
|
-
},
|
|
2181
|
-
let { themeVariables:
|
|
2182
|
-
if (!
|
|
2183
|
-
let
|
|
2184
|
-
for (let
|
|
2178
|
+
}, y(Z, "RequirementDB"), Z), ut = /* @__PURE__ */ y((e) => {
|
|
2179
|
+
let { themeVariables: r, look: h } = Be(), { bkgColorArray: o, borderColorArray: n } = r;
|
|
2180
|
+
if (!n?.length) return "";
|
|
2181
|
+
let a = "";
|
|
2182
|
+
for (let u = 0; u < e.THEME_COLOR_LIMIT; u++) a += `
|
|
2185
2183
|
|
|
2186
|
-
[data-look="${
|
|
2187
|
-
stroke: ${
|
|
2188
|
-
fill: ${
|
|
2184
|
+
[data-look="${h}"][data-color-id="color-${u}"].node path {
|
|
2185
|
+
stroke: ${n[u]};
|
|
2186
|
+
fill: ${o?.length ? o[u] : ""};
|
|
2189
2187
|
}
|
|
2190
2188
|
|
|
2191
|
-
[data-look="${
|
|
2192
|
-
stroke: ${
|
|
2193
|
-
fill: ${
|
|
2189
|
+
[data-look="${h}"][data-color-id="color-${u}"].node rect {
|
|
2190
|
+
stroke: ${n[u]};
|
|
2191
|
+
fill: ${o?.length ? o[u] : ""};
|
|
2194
2192
|
}
|
|
2195
2193
|
`;
|
|
2196
|
-
return
|
|
2197
|
-
}, "genColor"), yt = /* @__PURE__ */
|
|
2198
|
-
let { look:
|
|
2194
|
+
return a;
|
|
2195
|
+
}, "genColor"), yt = /* @__PURE__ */ y((e) => {
|
|
2196
|
+
let { look: r, themeVariables: h } = Be(), { requirementEdgeLabelBackground: o } = h;
|
|
2199
2197
|
return `
|
|
2200
2198
|
${ut(e)}
|
|
2201
2199
|
marker {
|
|
@@ -2233,7 +2231,7 @@ var ct = qe, Z, ht = (Z = class {
|
|
|
2233
2231
|
}
|
|
2234
2232
|
.relationshipLine {
|
|
2235
2233
|
stroke: ${e.relationColor};
|
|
2236
|
-
stroke-width: ${
|
|
2234
|
+
stroke-width: ${r === "neo" ? e.strokeWidth : "1px"};
|
|
2237
2235
|
}
|
|
2238
2236
|
.relationshipLabel {
|
|
2239
2237
|
fill: ${e.relationLabelColor};
|
|
@@ -2260,16 +2258,16 @@ var ct = qe, Z, ht = (Z = class {
|
|
|
2260
2258
|
color: ${e.nodeTextColor || e.textColor};
|
|
2261
2259
|
}
|
|
2262
2260
|
.labelBkg {
|
|
2263
|
-
background-color: ${
|
|
2261
|
+
background-color: ${o ?? e.edgeLabelBackground};
|
|
2264
2262
|
}
|
|
2265
2263
|
|
|
2266
2264
|
`;
|
|
2267
2265
|
}, "getStyles"), He = {};
|
|
2268
2266
|
it(He, { draw: () => mt });
|
|
2269
|
-
var mt = /* @__PURE__ */
|
|
2270
|
-
Ne.info("REF0:"), Ne.info("Drawing requirement diagram (unified)",
|
|
2271
|
-
let { securityLevel:
|
|
2272
|
-
|
|
2267
|
+
var mt = /* @__PURE__ */ y(async function(e, r, h, o) {
|
|
2268
|
+
Ne.info("REF0:"), Ne.info("Drawing requirement diagram (unified)", r);
|
|
2269
|
+
let { securityLevel: n, state: a, layout: u, look: _ } = Te(), f = o.db.getData(), b = lt(r, n);
|
|
2270
|
+
f.type = o.type, f.layoutAlgorithm = nt(u), f.nodeSpacing = a?.nodeSpacing ?? 50, f.rankSpacing = a?.rankSpacing ?? 50, f.markers = _ === "neo" ? ["requirement_contains_neo", "requirement_arrow_neo"] : ["requirement_contains", "requirement_arrow"], f.diagramId = r, await rt(f, b), at.insertTitle(b, "requirementDiagramTitleText", a?.titleTopMargin ?? 25, o.db.getDiagramTitle()), ot(b, 8, "requirementDiagram", a?.useMaxWidth ?? !0);
|
|
2273
2271
|
}, "draw"), Rt = {
|
|
2274
2272
|
parser: ct,
|
|
2275
2273
|
get db() {
|