@ucap-llm/ai-ui 1.1.20 → 1.1.22
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/_basePickBy-49aBLVXj.mjs +151 -0
- package/_baseUniq-Duw-LCxN.mjs +418 -0
- package/ai-ui.es.js +5 -5
- package/ai-ui.umd.js +441 -398
- package/{arc-e33cf4bd.mjs → arc-CxnBoKcf.mjs} +3 -5
- package/architecture-4AB2E3PP-DpATI33S.mjs +5 -0
- package/{architectureDiagram-IEHRJDOE-8c0644d3.mjs → architectureDiagram-IEHRJDOE-CaoKd3s2.mjs} +774 -781
- package/{blockDiagram-JOT3LUYC-2e03b1f8.mjs → blockDiagram-JOT3LUYC-Dno4VG8f.mjs} +17 -21
- package/{c4Diagram-VJAJSXHY-0d7e02b1.mjs → c4Diagram-VJAJSXHY-D5HK6aXG.mjs} +45 -47
- package/channel-CjgQSUhn.mjs +5 -0
- package/{chunk-4BMEZGHF-c55a79e8.mjs → chunk-4BMEZGHF-B5q96F5j.mjs} +1 -1
- package/{chunk-A2AXSNBT-72cb8e03.mjs → chunk-A2AXSNBT-CwIw1dro.mjs} +31 -32
- package/{chunk-AEK57VVT-103a8016.mjs → chunk-AEK57VVT-CgqpfRdv.mjs} +29 -30
- package/{chunk-D6G4REZN-eb0c0a03.mjs → chunk-D6G4REZN-BuQQgKKf.mjs} +24 -24
- package/chunk-RZ5BOZE2-nBulgjak.mjs +24 -0
- package/{chunk-XZIHB7SX-697eddab.mjs → chunk-XZIHB7SX-ChfFX5tX.mjs} +1 -1
- package/classDiagram-GIVACNV2-DW4s6Pgr.mjs +16 -0
- package/classDiagram-v2-COTLJTTW-DW4s6Pgr.mjs +16 -0
- package/{clone-e06e1908.mjs → clone-BWxZJOIB.mjs} +1 -1
- package/{cytoscape.esm-9ffb4bbe.mjs → cytoscape.esm-D1A2YP3J.mjs} +133 -240
- package/{dagre-OKDRZEBW-1380cf0d.mjs → dagre-OKDRZEBW-BF7VSsgY.mjs} +25 -26
- package/{diagram-SSKATNLV-1e22cab7.mjs → diagram-SSKATNLV-BHV-tmQz.mjs} +48 -52
- package/{diagram-VNBRO52H-63b9b854.mjs → diagram-VNBRO52H-DhnmXzVl.mjs} +31 -35
- package/{erDiagram-Q7BY3M3F-6f4f40c6.mjs → erDiagram-Q7BY3M3F-yoOr4S3e.mjs} +32 -34
- package/{flowDiagram-4HSFHLVR-217f422a.mjs → flowDiagram-4HSFHLVR-Dypn-7OY.mjs} +21 -23
- package/{ganttDiagram-APWFNJXF-b1c138fc.mjs → ganttDiagram-APWFNJXF-Bpg6PwzQ.mjs} +933 -961
- package/gitGraph-O2Q2CXLX-B57Ivesv.mjs +5 -0
- package/{gitGraphDiagram-7IBYFJ6S-a40cd00c.mjs → gitGraphDiagram-7IBYFJ6S-C2SKSevj.mjs} +27 -31
- package/{graph-c2e1b9d5.mjs → graph-BqoU6xY2.mjs} +7 -9
- package/{index-4283477e.mjs → index-LXAHF7dZ.mjs} +56792 -32545
- package/info-4N47QTOZ-rUYWBWKH.mjs +5 -0
- package/infoDiagram-PH2N3AL5-Dwh9BN3B.mjs +22 -0
- package/{journeyDiagram-U35MCT3I-ea34e89d.mjs → journeyDiagram-U35MCT3I-BuJo6oNZ.mjs} +26 -28
- package/{kanban-definition-NDS4AKOZ-3dc1bdfc.mjs → kanban-definition-NDS4AKOZ-3bBL0X_A.mjs} +22 -23
- package/{layout-b7402112.mjs → layout-UCl5QdSx.mjs} +288 -308
- package/{linear-6028b26a.mjs → linear-5kjmVbWx.mjs} +136 -160
- package/{mermaid-parser.core-89f41f6f.mjs → mermaid-parser.core-BTQeWTCL.mjs} +2510 -2520
- package/{mindmap-definition-ALO5MXBD-cf0036bd.mjs → mindmap-definition-ALO5MXBD-pyGAc115.mjs} +309 -311
- package/{ordinal-980380c7.mjs → ordinal-C0oynhte.mjs} +4 -8
- package/package.json +2 -2
- package/packet-KVYON367-B0aEJOd2.mjs +5 -0
- package/pie-R6RNRRYF-mat_xgAT.mjs +5 -0
- package/pieDiagram-IB7DONF6-Dfr5jCmu.mjs +161 -0
- package/{quadrantDiagram-7GDLP6J5-4e41575d.mjs → quadrantDiagram-7GDLP6J5-CUP0tYJI.mjs} +28 -31
- package/radar-MK3ICKWK-ae8hsHN1.mjs +5 -0
- package/{requirementDiagram-KVF5MWMF-edfb0543.mjs → requirementDiagram-KVF5MWMF-O1db62rc.mjs} +47 -49
- package/{sankeyDiagram-QLVOVGJD-c0853822.mjs → sankeyDiagram-QLVOVGJD-CCf-MSR0.mjs} +113 -131
- package/{sequenceDiagram-X6HHIX6F-96ff1e7c.mjs → sequenceDiagram-X6HHIX6F-CrB4QPFZ.mjs} +40 -42
- package/{stateDiagram-DGXRK772-7c6ceb1c.mjs → stateDiagram-DGXRK772-DWFrvHEL.mjs} +8 -12
- package/stateDiagram-v2-YXO3MK2T-BuEm2W4g.mjs +16 -0
- package/style.css +10 -1
- package/{timeline-definition-BDJGKUSR-23f3d39c.mjs → timeline-definition-BDJGKUSR-ThsfvZPa.mjs} +11 -13
- package/{xychartDiagram-VJFVF3MP-9b2268b5.mjs → xychartDiagram-VJFVF3MP-D7Ns77UK.mjs} +161 -163
- package/_basePickBy-576eaf6e.mjs +0 -153
- package/_baseUniq-83e8b0cb.mjs +0 -440
- package/architecture-4AB2E3PP-1faad353.mjs +0 -10
- package/channel-283b31f1.mjs +0 -5
- package/chunk-RZ5BOZE2-97e0c31b.mjs +0 -24
- package/classDiagram-GIVACNV2-306a98b6.mjs +0 -18
- package/classDiagram-v2-COTLJTTW-306a98b6.mjs +0 -18
- package/gitGraph-O2Q2CXLX-804a8ebe.mjs +0 -10
- package/info-4N47QTOZ-6f3c3677.mjs +0 -10
- package/infoDiagram-PH2N3AL5-4c0f80b6.mjs +0 -26
- package/packet-KVYON367-3ead67ef.mjs +0 -10
- package/pie-R6RNRRYF-41122910.mjs +0 -10
- package/pieDiagram-IB7DONF6-9b4a5b06.mjs +0 -167
- package/radar-MK3ICKWK-0d996d37.mjs +0 -10
- package/stateDiagram-v2-YXO3MK2T-012aec41.mjs +0 -18
- /package/{init-f9637058.mjs → init-DjUOC4st.mjs} +0 -0
package/{requirementDiagram-KVF5MWMF-edfb0543.mjs → requirementDiagram-KVF5MWMF-O1db62rc.mjs}
RENAMED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import { _ as f,
|
|
3
|
-
import "vue";
|
|
1
|
+
import { g as Ge, s as ze } from "./chunk-RZ5BOZE2-nBulgjak.mjs";
|
|
2
|
+
import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./index-LXAHF7dZ.mjs";
|
|
4
3
|
var Ae = function() {
|
|
5
4
|
var e = /* @__PURE__ */ f(function(P, i, r, l) {
|
|
6
|
-
for (r = r || {}, l = P.length; l--; r[P[l]] = i)
|
|
7
|
-
;
|
|
5
|
+
for (r = r || {}, l = P.length; l--; r[P[l]] = i) ;
|
|
8
6
|
return r;
|
|
9
|
-
}, "o"), a = [1, 3], u = [1, 4], o = [1, 5], m = [1, 6], c = [5, 6, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], p = [1, 22], R = [2, 7], h = [1, 26],
|
|
7
|
+
}, "o"), a = [1, 3], u = [1, 4], o = [1, 5], m = [1, 6], c = [5, 6, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], p = [1, 22], R = [2, 7], h = [1, 26], E = [1, 27], I = [1, 28], k = [1, 29], A = [1, 33], C = [1, 34], V = [1, 35], v = [1, 36], x = [1, 37], L = [1, 38], D = [1, 24], O = [1, 31], w = [1, 32], M = [1, 30], g = [1, 39], _ = [1, 40], y = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], $ = [1, 61], X = [89, 90], Ce = [5, 8, 9, 11, 13, 21, 22, 23, 24, 27, 29, 41, 42, 43, 44, 45, 46, 54, 61, 63, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], de = [27, 29], Ve = [1, 70], ve = [1, 71], xe = [1, 72], Le = [1, 73], De = [1, 74], Oe = [1, 75], we = [1, 76], ee = [1, 83], U = [1, 80], te = [1, 84], se = [1, 85], ie = [1, 86], re = [1, 87], ne = [1, 88], ae = [1, 89], le = [1, 90], ce = [1, 91], oe = [1, 92], pe = [5, 8, 9, 11, 13, 21, 22, 23, 24, 27, 41, 42, 43, 44, 45, 46, 54, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], Y = [63, 64], Me = [1, 101], Fe = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 76, 77, 89, 90], N = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], B = [1, 110], Q = [1, 106], H = [1, 107], K = [1, 108], W = [1, 109], j = [1, 111], he = [1, 116], ue = [1, 117], fe = [1, 114], me = [1, 115], Se = {
|
|
10
8
|
trace: /* @__PURE__ */ f(function() {
|
|
11
9
|
}, "trace"),
|
|
12
10
|
yy: {},
|
|
13
11
|
symbols_: { error: 2, start: 3, directive: 4, NEWLINE: 5, RD: 6, diagram: 7, EOF: 8, acc_title: 9, acc_title_value: 10, acc_descr: 11, acc_descr_value: 12, acc_descr_multiline_value: 13, requirementDef: 14, elementDef: 15, relationshipDef: 16, direction: 17, styleStatement: 18, classDefStatement: 19, classStatement: 20, direction_tb: 21, direction_bt: 22, direction_rl: 23, direction_lr: 24, requirementType: 25, requirementName: 26, STRUCT_START: 27, requirementBody: 28, STYLE_SEPARATOR: 29, idList: 30, ID: 31, COLONSEP: 32, id: 33, TEXT: 34, text: 35, RISK: 36, riskLevel: 37, VERIFYMTHD: 38, verifyType: 39, STRUCT_STOP: 40, REQUIREMENT: 41, FUNCTIONAL_REQUIREMENT: 42, INTERFACE_REQUIREMENT: 43, PERFORMANCE_REQUIREMENT: 44, PHYSICAL_REQUIREMENT: 45, DESIGN_CONSTRAINT: 46, LOW_RISK: 47, MED_RISK: 48, HIGH_RISK: 49, VERIFY_ANALYSIS: 50, VERIFY_DEMONSTRATION: 51, VERIFY_INSPECTION: 52, VERIFY_TEST: 53, ELEMENT: 54, elementName: 55, elementBody: 56, TYPE: 57, type: 58, DOCREF: 59, ref: 60, END_ARROW_L: 61, relationship: 62, LINE: 63, END_ARROW_R: 64, CONTAINS: 65, COPIES: 66, DERIVES: 67, SATISFIES: 68, VERIFIES: 69, REFINES: 70, TRACES: 71, CLASSDEF: 72, stylesOpt: 73, CLASS: 74, ALPHA: 75, COMMA: 76, STYLE: 77, style: 78, styleComponent: 79, NUM: 80, COLON: 81, UNIT: 82, SPACE: 83, BRKT: 84, PCT: 85, MINUS: 86, LABEL: 87, SEMICOLON: 88, unqString: 89, qString: 90, $accept: 0, $end: 1 },
|
|
14
12
|
terminals_: { 2: "error", 5: "NEWLINE", 6: "RD", 8: "EOF", 9: "acc_title", 10: "acc_title_value", 11: "acc_descr", 12: "acc_descr_value", 13: "acc_descr_multiline_value", 21: "direction_tb", 22: "direction_bt", 23: "direction_rl", 24: "direction_lr", 27: "STRUCT_START", 29: "STYLE_SEPARATOR", 31: "ID", 32: "COLONSEP", 34: "TEXT", 36: "RISK", 38: "VERIFYMTHD", 40: "STRUCT_STOP", 41: "REQUIREMENT", 42: "FUNCTIONAL_REQUIREMENT", 43: "INTERFACE_REQUIREMENT", 44: "PERFORMANCE_REQUIREMENT", 45: "PHYSICAL_REQUIREMENT", 46: "DESIGN_CONSTRAINT", 47: "LOW_RISK", 48: "MED_RISK", 49: "HIGH_RISK", 50: "VERIFY_ANALYSIS", 51: "VERIFY_DEMONSTRATION", 52: "VERIFY_INSPECTION", 53: "VERIFY_TEST", 54: "ELEMENT", 57: "TYPE", 59: "DOCREF", 61: "END_ARROW_L", 63: "LINE", 64: "END_ARROW_R", 65: "CONTAINS", 66: "COPIES", 67: "DERIVES", 68: "SATISFIES", 69: "VERIFIES", 70: "REFINES", 71: "TRACES", 72: "CLASSDEF", 74: "CLASS", 75: "ALPHA", 76: "COMMA", 77: "STYLE", 80: "NUM", 81: "COLON", 82: "UNIT", 83: "SPACE", 84: "BRKT", 85: "PCT", 86: "MINUS", 87: "LABEL", 88: "SEMICOLON", 89: "unqString", 90: "qString" },
|
|
15
13
|
productions_: [0, [3, 3], [3, 2], [3, 4], [4, 2], [4, 2], [4, 1], [7, 0], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [17, 1], [17, 1], [17, 1], [17, 1], [14, 5], [14, 7], [28, 5], [28, 5], [28, 5], [28, 5], [28, 2], [28, 1], [25, 1], [25, 1], [25, 1], [25, 1], [25, 1], [25, 1], [37, 1], [37, 1], [37, 1], [39, 1], [39, 1], [39, 1], [39, 1], [15, 5], [15, 7], [56, 5], [56, 5], [56, 2], [56, 1], [16, 5], [16, 5], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [19, 3], [20, 3], [20, 3], [30, 1], [30, 3], [30, 1], [30, 3], [18, 3], [73, 1], [73, 3], [78, 1], [78, 2], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [26, 1], [26, 1], [33, 1], [33, 1], [35, 1], [35, 1], [55, 1], [55, 1], [58, 1], [58, 1], [60, 1], [60, 1]],
|
|
16
|
-
performAction: /* @__PURE__ */ f(function(i, r, l, s,
|
|
14
|
+
performAction: /* @__PURE__ */ f(function(i, r, l, s, d, t, Ee) {
|
|
17
15
|
var n = t.length - 1;
|
|
18
|
-
switch (
|
|
16
|
+
switch (d) {
|
|
19
17
|
case 4:
|
|
20
18
|
this.$ = t[n].trim(), s.setAccTitle(this.$);
|
|
21
19
|
break;
|
|
@@ -165,7 +163,7 @@ var Ae = function() {
|
|
|
165
163
|
break;
|
|
166
164
|
}
|
|
167
165
|
}, "anonymous"),
|
|
168
|
-
table: [{ 3: 1, 4: 2, 6: a, 9: u, 11: o, 13: m }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: a, 9: u, 11: o, 13: m }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, e(c, [2, 6]), { 3: 12, 4: 2, 6: a, 9: u, 11: o, 13: m }, { 1: [2, 2] }, { 4: 17, 5: p, 7: 13, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22:
|
|
166
|
+
table: [{ 3: 1, 4: 2, 6: a, 9: u, 11: o, 13: m }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: a, 9: u, 11: o, 13: m }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, e(c, [2, 6]), { 3: 12, 4: 2, 6: a, 9: u, 11: o, 13: m }, { 1: [2, 2] }, { 4: 17, 5: p, 7: 13, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, e(c, [2, 4]), e(c, [2, 5]), { 1: [2, 1] }, { 8: [1, 41] }, { 4: 17, 5: p, 7: 42, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, { 4: 17, 5: p, 7: 43, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, { 4: 17, 5: p, 7: 44, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, { 4: 17, 5: p, 7: 45, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, { 4: 17, 5: p, 7: 46, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, { 4: 17, 5: p, 7: 47, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, { 4: 17, 5: p, 7: 48, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, { 4: 17, 5: p, 7: 49, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, { 4: 17, 5: p, 7: 50, 8: R, 9: u, 11: o, 13: m, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: h, 22: E, 23: I, 24: k, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: g, 90: _ }, { 26: 51, 89: [1, 52], 90: [1, 53] }, { 55: 54, 89: [1, 55], 90: [1, 56] }, { 29: [1, 59], 61: [1, 57], 63: [1, 58] }, e(y, [2, 17]), e(y, [2, 18]), e(y, [2, 19]), e(y, [2, 20]), { 30: 60, 33: 62, 75: $, 89: g, 90: _ }, { 30: 63, 33: 62, 75: $, 89: g, 90: _ }, { 30: 64, 33: 62, 75: $, 89: g, 90: _ }, e(X, [2, 29]), e(X, [2, 30]), e(X, [2, 31]), e(X, [2, 32]), e(X, [2, 33]), e(X, [2, 34]), e(Ce, [2, 81]), e(Ce, [2, 82]), { 1: [2, 3] }, { 8: [2, 8] }, { 8: [2, 9] }, { 8: [2, 10] }, { 8: [2, 11] }, { 8: [2, 12] }, { 8: [2, 13] }, { 8: [2, 14] }, { 8: [2, 15] }, { 8: [2, 16] }, { 27: [1, 65], 29: [1, 66] }, e(de, [2, 79]), e(de, [2, 80]), { 27: [1, 67], 29: [1, 68] }, e(de, [2, 85]), e(de, [2, 86]), { 62: 69, 65: Ve, 66: ve, 67: xe, 68: Le, 69: De, 70: Oe, 71: we }, { 62: 77, 65: Ve, 66: ve, 67: xe, 68: Le, 69: De, 70: Oe, 71: we }, { 30: 78, 33: 62, 75: $, 89: g, 90: _ }, { 73: 79, 75: ee, 76: U, 78: 81, 79: 82, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }, e(pe, [2, 60]), e(pe, [2, 62]), { 73: 93, 75: ee, 76: U, 78: 81, 79: 82, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }, { 30: 94, 33: 62, 75: $, 76: U, 89: g, 90: _ }, { 5: [1, 95] }, { 30: 96, 33: 62, 75: $, 89: g, 90: _ }, { 5: [1, 97] }, { 30: 98, 33: 62, 75: $, 89: g, 90: _ }, { 63: [1, 99] }, e(Y, [2, 50]), e(Y, [2, 51]), e(Y, [2, 52]), e(Y, [2, 53]), e(Y, [2, 54]), e(Y, [2, 55]), e(Y, [2, 56]), { 64: [1, 100] }, e(y, [2, 59], { 76: U }), e(y, [2, 64], { 76: Me }), { 33: 103, 75: [1, 102], 89: g, 90: _ }, e(Fe, [2, 65], { 79: 104, 75: ee, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }), e(N, [2, 67]), e(N, [2, 69]), e(N, [2, 70]), e(N, [2, 71]), e(N, [2, 72]), e(N, [2, 73]), e(N, [2, 74]), e(N, [2, 75]), e(N, [2, 76]), e(N, [2, 77]), e(N, [2, 78]), e(y, [2, 57], { 76: Me }), e(y, [2, 58], { 76: U }), { 5: B, 28: 105, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 27: [1, 112], 76: U }, { 5: he, 40: ue, 56: 113, 57: fe, 59: me }, { 27: [1, 118], 76: U }, { 33: 119, 89: g, 90: _ }, { 33: 120, 89: g, 90: _ }, { 75: ee, 78: 121, 79: 82, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }, e(pe, [2, 61]), e(pe, [2, 63]), e(N, [2, 68]), e(y, [2, 21]), { 32: [1, 122] }, { 32: [1, 123] }, { 32: [1, 124] }, { 32: [1, 125] }, { 5: B, 28: 126, 31: Q, 34: H, 36: K, 38: W, 40: j }, e(y, [2, 28]), { 5: [1, 127] }, e(y, [2, 42]), { 32: [1, 128] }, { 32: [1, 129] }, { 5: he, 40: ue, 56: 130, 57: fe, 59: me }, e(y, [2, 47]), { 5: [1, 131] }, e(y, [2, 48]), e(y, [2, 49]), e(Fe, [2, 66], { 79: 104, 75: ee, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }), { 33: 132, 89: g, 90: _ }, { 35: 133, 89: [1, 134], 90: [1, 135] }, { 37: 136, 47: [1, 137], 48: [1, 138], 49: [1, 139] }, { 39: 140, 50: [1, 141], 51: [1, 142], 52: [1, 143], 53: [1, 144] }, e(y, [2, 27]), { 5: B, 28: 145, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 58: 146, 89: [1, 147], 90: [1, 148] }, { 60: 149, 89: [1, 150], 90: [1, 151] }, e(y, [2, 46]), { 5: he, 40: ue, 56: 152, 57: fe, 59: me }, { 5: [1, 153] }, { 5: [1, 154] }, { 5: [2, 83] }, { 5: [2, 84] }, { 5: [1, 155] }, { 5: [2, 35] }, { 5: [2, 36] }, { 5: [2, 37] }, { 5: [1, 156] }, { 5: [2, 38] }, { 5: [2, 39] }, { 5: [2, 40] }, { 5: [2, 41] }, e(y, [2, 22]), { 5: [1, 157] }, { 5: [2, 87] }, { 5: [2, 88] }, { 5: [1, 158] }, { 5: [2, 89] }, { 5: [2, 90] }, e(y, [2, 43]), { 5: B, 28: 159, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 5: B, 28: 160, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 5: B, 28: 161, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 5: B, 28: 162, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 5: he, 40: ue, 56: 163, 57: fe, 59: me }, { 5: he, 40: ue, 56: 164, 57: fe, 59: me }, e(y, [2, 23]), e(y, [2, 24]), e(y, [2, 25]), e(y, [2, 26]), e(y, [2, 44]), e(y, [2, 45])],
|
|
169
167
|
defaultActions: { 8: [2, 2], 12: [2, 1], 41: [2, 3], 42: [2, 8], 43: [2, 9], 44: [2, 10], 45: [2, 11], 46: [2, 12], 47: [2, 13], 48: [2, 14], 49: [2, 15], 50: [2, 16], 134: [2, 83], 135: [2, 84], 137: [2, 35], 138: [2, 36], 139: [2, 37], 141: [2, 38], 142: [2, 39], 143: [2, 40], 144: [2, 41], 147: [2, 87], 148: [2, 88], 150: [2, 89], 151: [2, 90] },
|
|
170
168
|
parseError: /* @__PURE__ */ f(function(i, r) {
|
|
171
169
|
if (r.recoverable)
|
|
@@ -176,16 +174,16 @@ var Ae = function() {
|
|
|
176
174
|
}
|
|
177
175
|
}, "parseError"),
|
|
178
176
|
parse: /* @__PURE__ */ f(function(i) {
|
|
179
|
-
var r = this, l = [0], s = [],
|
|
177
|
+
var r = this, l = [0], s = [], d = [null], t = [], Ee = this.table, n = "", ye = 0, Pe = 0, He = 2, $e = 1, Ke = t.slice.call(arguments, 1), S = Object.create(this.lexer), G = { yy: {} };
|
|
180
178
|
for (var Ie in this.yy)
|
|
181
|
-
Object.prototype.hasOwnProperty.call(this.yy, Ie) && (
|
|
182
|
-
S.setInput(i,
|
|
179
|
+
Object.prototype.hasOwnProperty.call(this.yy, Ie) && (G.yy[Ie] = this.yy[Ie]);
|
|
180
|
+
S.setInput(i, G.yy), G.yy.lexer = S, G.yy.parser = this, typeof S.yylloc > "u" && (S.yylloc = {});
|
|
183
181
|
var be = S.yylloc;
|
|
184
182
|
t.push(be);
|
|
185
183
|
var We = S.options && S.options.ranges;
|
|
186
|
-
typeof
|
|
184
|
+
typeof G.yy.parseError == "function" ? this.parseError = G.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
187
185
|
function je(T) {
|
|
188
|
-
l.length = l.length - 2 * T,
|
|
186
|
+
l.length = l.length - 2 * T, d.length = d.length - T, t.length = t.length - T;
|
|
189
187
|
}
|
|
190
188
|
f(je, "popStack");
|
|
191
189
|
function Ue() {
|
|
@@ -193,11 +191,11 @@ var Ae = function() {
|
|
|
193
191
|
return T = s.pop() || S.lex() || $e, typeof T != "number" && (T instanceof Array && (s = T, T = s.pop()), T = r.symbols_[T] || T), T;
|
|
194
192
|
}
|
|
195
193
|
f(Ue, "lex");
|
|
196
|
-
for (var b,
|
|
197
|
-
if (
|
|
194
|
+
for (var b, z, q, Te, J = {}, ge, F, Ye, _e; ; ) {
|
|
195
|
+
if (z = l[l.length - 1], this.defaultActions[z] ? q = this.defaultActions[z] : ((b === null || typeof b > "u") && (b = Ue()), q = Ee[z] && Ee[z][b]), typeof q > "u" || !q.length || !q[0]) {
|
|
198
196
|
var ke = "";
|
|
199
197
|
_e = [];
|
|
200
|
-
for (ge in
|
|
198
|
+
for (ge in Ee[z])
|
|
201
199
|
this.terminals_[ge] && ge > He && _e.push("'" + this.terminals_[ge] + "'");
|
|
202
200
|
S.showPosition ? ke = "Parse error on line " + (ye + 1) + `:
|
|
203
201
|
` + S.showPosition() + `
|
|
@@ -210,13 +208,13 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
210
208
|
});
|
|
211
209
|
}
|
|
212
210
|
if (q[0] instanceof Array && q.length > 1)
|
|
213
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
211
|
+
throw new Error("Parse Error: multiple actions possible at state: " + z + ", token: " + b);
|
|
214
212
|
switch (q[0]) {
|
|
215
213
|
case 1:
|
|
216
|
-
l.push(b),
|
|
214
|
+
l.push(b), d.push(S.yytext), t.push(S.yylloc), l.push(q[1]), b = null, Pe = S.yyleng, n = S.yytext, ye = S.yylineno, be = S.yylloc;
|
|
217
215
|
break;
|
|
218
216
|
case 2:
|
|
219
|
-
if (F = this.productions_[q[1]][1], J.$ =
|
|
217
|
+
if (F = this.productions_[q[1]][1], J.$ = d[d.length - F], J._$ = {
|
|
220
218
|
first_line: t[t.length - (F || 1)].first_line,
|
|
221
219
|
last_line: t[t.length - 1].last_line,
|
|
222
220
|
first_column: t[t.length - (F || 1)].first_column,
|
|
@@ -228,13 +226,13 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
228
226
|
n,
|
|
229
227
|
Pe,
|
|
230
228
|
ye,
|
|
231
|
-
|
|
229
|
+
G.yy,
|
|
232
230
|
q[1],
|
|
233
|
-
|
|
231
|
+
d,
|
|
234
232
|
t
|
|
235
233
|
].concat(Ke)), typeof Te < "u")
|
|
236
234
|
return Te;
|
|
237
|
-
F && (l = l.slice(0, -1 * F * 2),
|
|
235
|
+
F && (l = l.slice(0, -1 * F * 2), d = d.slice(0, -1 * F), t = t.slice(0, -1 * F)), l.push(this.productions_[q[1]][0]), d.push(J.$), t.push(J._$), Ye = Ee[l[l.length - 2]][l[l.length - 1]], l.push(Ye);
|
|
238
236
|
break;
|
|
239
237
|
case 3:
|
|
240
238
|
return !0;
|
|
@@ -273,13 +271,13 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
273
271
|
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - r), this.offset -= r;
|
|
274
272
|
var s = this.match.split(/(?:\r\n?|\n)/g);
|
|
275
273
|
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l.length - 1 && (this.yylineno -= l.length - 1);
|
|
276
|
-
var
|
|
274
|
+
var d = this.yylloc.range;
|
|
277
275
|
return this.yylloc = {
|
|
278
276
|
first_line: this.yylloc.first_line,
|
|
279
277
|
last_line: this.yylineno + 1,
|
|
280
278
|
first_column: this.yylloc.first_column,
|
|
281
279
|
last_column: l ? (l.length === s.length ? this.yylloc.first_column : 0) + s[s.length - l.length].length - l[0].length : this.yylloc.first_column - r
|
|
282
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
280
|
+
}, this.options.ranges && (this.yylloc.range = [d[0], d[0] + this.yyleng - r]), this.yyleng = this.yytext.length, this;
|
|
283
281
|
}, "unput"),
|
|
284
282
|
// When called from action, caches matched text and appends it on next action
|
|
285
283
|
more: /* @__PURE__ */ f(function() {
|
|
@@ -320,8 +318,8 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
320
318
|
}, "showPosition"),
|
|
321
319
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
322
320
|
test_match: /* @__PURE__ */ f(function(i, r) {
|
|
323
|
-
var l, s,
|
|
324
|
-
if (this.options.backtrack_lexer && (
|
|
321
|
+
var l, s, d;
|
|
322
|
+
if (this.options.backtrack_lexer && (d = {
|
|
325
323
|
yylineno: this.yylineno,
|
|
326
324
|
yylloc: {
|
|
327
325
|
first_line: this.yylloc.first_line,
|
|
@@ -340,7 +338,7 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
340
338
|
yy: this.yy,
|
|
341
339
|
conditionStack: this.conditionStack.slice(0),
|
|
342
340
|
done: this.done
|
|
343
|
-
}, this.options.ranges && (
|
|
341
|
+
}, this.options.ranges && (d.yylloc.range = this.yylloc.range.slice(0))), s = i[0].match(/(?:\r\n?|\n).*/g), s && (this.yylineno += s.length), this.yylloc = {
|
|
344
342
|
first_line: this.yylloc.last_line,
|
|
345
343
|
last_line: this.yylineno + 1,
|
|
346
344
|
first_column: this.yylloc.last_column,
|
|
@@ -348,8 +346,8 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
348
346
|
}, 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], l = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), l)
|
|
349
347
|
return l;
|
|
350
348
|
if (this._backtrack) {
|
|
351
|
-
for (var t in
|
|
352
|
-
this[t] =
|
|
349
|
+
for (var t in d)
|
|
350
|
+
this[t] = d[t];
|
|
353
351
|
return !1;
|
|
354
352
|
}
|
|
355
353
|
return !1;
|
|
@@ -361,10 +359,10 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
361
359
|
this._input || (this.done = !0);
|
|
362
360
|
var i, r, l, s;
|
|
363
361
|
this._more || (this.yytext = "", this.match = "");
|
|
364
|
-
for (var
|
|
365
|
-
if (l = this._input.match(this.rules[
|
|
362
|
+
for (var d = this._currentRules(), t = 0; t < d.length; t++)
|
|
363
|
+
if (l = this._input.match(this.rules[d[t]]), l && (!r || l[0].length > r[0].length)) {
|
|
366
364
|
if (r = l, s = t, this.options.backtrack_lexer) {
|
|
367
|
-
if (i = this.test_match(l,
|
|
365
|
+
if (i = this.test_match(l, d[t]), i !== !1)
|
|
368
366
|
return i;
|
|
369
367
|
if (this._backtrack) {
|
|
370
368
|
r = !1;
|
|
@@ -374,7 +372,7 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
374
372
|
} else if (!this.options.flex)
|
|
375
373
|
break;
|
|
376
374
|
}
|
|
377
|
-
return r ? (i = this.test_match(r,
|
|
375
|
+
return r ? (i = this.test_match(r, d[s]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
378
376
|
` + this.showPosition(), {
|
|
379
377
|
text: "",
|
|
380
378
|
token: null,
|
|
@@ -412,7 +410,7 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
412
410
|
return this.conditionStack.length;
|
|
413
411
|
}, "stateStackSize"),
|
|
414
412
|
options: { "case-insensitive": !0 },
|
|
415
|
-
performAction: /* @__PURE__ */ f(function(r, l, s,
|
|
413
|
+
performAction: /* @__PURE__ */ f(function(r, l, s, d) {
|
|
416
414
|
switch (s) {
|
|
417
415
|
case 0:
|
|
418
416
|
return "title";
|
|
@@ -576,7 +574,7 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
576
574
|
return f(Re, "Parser"), Re.prototype = Se, Se.Parser = Re, new Re();
|
|
577
575
|
}();
|
|
578
576
|
Ae.parser = Ae;
|
|
579
|
-
var ct = Ae,
|
|
577
|
+
var ct = Ae, Z, ot = (Z = class {
|
|
580
578
|
constructor() {
|
|
581
579
|
this.relations = [], this.latestRequirement = this.getInitialRequirement(), this.requirements = /* @__PURE__ */ new Map(), this.latestElement = this.getInitialElement(), this.elements = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.RequirementType = {
|
|
582
580
|
REQUIREMENT: "Requirement",
|
|
@@ -739,17 +737,17 @@ var ct = Ae, de, ot = (de = class {
|
|
|
739
737
|
var m, c, p, R;
|
|
740
738
|
const a = Ne(), u = [], o = [];
|
|
741
739
|
for (const h of this.requirements.values()) {
|
|
742
|
-
const
|
|
743
|
-
|
|
740
|
+
const E = h;
|
|
741
|
+
E.id = h.name, E.cssStyles = h.cssStyles, E.cssClasses = h.classes.join(" "), E.shape = "requirementBox", E.look = a.look, u.push(E);
|
|
744
742
|
}
|
|
745
743
|
for (const h of this.elements.values()) {
|
|
746
|
-
const
|
|
747
|
-
|
|
744
|
+
const E = h;
|
|
745
|
+
E.shape = "requirementBox", E.look = a.look, E.id = h.name, E.cssStyles = h.cssStyles, E.cssClasses = h.classes.join(" "), u.push(E);
|
|
748
746
|
}
|
|
749
747
|
for (const h of this.relations) {
|
|
750
|
-
let
|
|
748
|
+
let E = 0;
|
|
751
749
|
const I = h.type === this.Relationships.CONTAINS, k = {
|
|
752
|
-
id: `${h.src}-${h.dst}-${
|
|
750
|
+
id: `${h.src}-${h.dst}-${E}`,
|
|
753
751
|
start: ((m = this.requirements.get(h.src)) == null ? void 0 : m.name) ?? ((c = this.elements.get(h.src)) == null ? void 0 : c.name),
|
|
754
752
|
end: ((p = this.requirements.get(h.dst)) == null ? void 0 : p.name) ?? ((R = this.elements.get(h.dst)) == null ? void 0 : R.name),
|
|
755
753
|
label: `<<${h.type}>>`,
|
|
@@ -763,11 +761,11 @@ var ct = Ae, de, ot = (de = class {
|
|
|
763
761
|
arrowTypeEnd: I ? "" : "requirement_arrow",
|
|
764
762
|
look: a.look
|
|
765
763
|
};
|
|
766
|
-
o.push(k),
|
|
764
|
+
o.push(k), E++;
|
|
767
765
|
}
|
|
768
766
|
return { nodes: u, edges: o, other: {}, config: a, direction: this.getDirection() };
|
|
769
767
|
}
|
|
770
|
-
}, f(
|
|
768
|
+
}, f(Z, "RequirementDB"), Z), ht = /* @__PURE__ */ f((e) => `
|
|
771
769
|
|
|
772
770
|
marker {
|
|
773
771
|
fill: ${e.relationColor};
|
|
@@ -831,16 +829,16 @@ rt(Be, {
|
|
|
831
829
|
});
|
|
832
830
|
var ft = /* @__PURE__ */ f(async function(e, a, u, o) {
|
|
833
831
|
qe.info("REF0:"), qe.info("Drawing requirement diagram (unified)", a);
|
|
834
|
-
const { securityLevel: m, state: c, layout: p } = Ne(), R = o.db.getData(), h =
|
|
832
|
+
const { securityLevel: m, state: c, layout: p } = Ne(), R = o.db.getData(), h = Ge(a, m);
|
|
835
833
|
R.type = o.type, R.layoutAlgorithm = nt(p), R.nodeSpacing = (c == null ? void 0 : c.nodeSpacing) ?? 50, R.rankSpacing = (c == null ? void 0 : c.rankSpacing) ?? 50, R.markers = ["requirement_contains", "requirement_arrow"], R.diagramId = a, await at(R, h);
|
|
836
|
-
const
|
|
834
|
+
const E = 8;
|
|
837
835
|
lt.insertTitle(
|
|
838
836
|
h,
|
|
839
837
|
"requirementDiagramTitleText",
|
|
840
838
|
(c == null ? void 0 : c.titleTopMargin) ?? 25,
|
|
841
839
|
o.db.getDiagramTitle()
|
|
842
|
-
),
|
|
843
|
-
}, "draw"),
|
|
840
|
+
), ze(h, E, "requirementDiagram", (c == null ? void 0 : c.useMaxWidth) ?? !0);
|
|
841
|
+
}, "draw"), dt = {
|
|
844
842
|
parser: ct,
|
|
845
843
|
get db() {
|
|
846
844
|
return new ot();
|
|
@@ -849,5 +847,5 @@ var ft = /* @__PURE__ */ f(async function(e, a, u, o) {
|
|
|
849
847
|
styles: ut
|
|
850
848
|
};
|
|
851
849
|
export {
|
|
852
|
-
|
|
850
|
+
dt as diagram
|
|
853
851
|
};
|