@ashwin_droid/notion-stream 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_baseUniq-DSwfPiGC.js → _baseUniq-CWfjzMhC.js} +1 -1
- package/dist/{_baseUniq-CT-tc-CG.mjs → _baseUniq-Db9ouzA-.mjs} +51 -51
- package/dist/{arc-DmoYXidQ.mjs → arc-CHlsWOEE.mjs} +1 -1
- package/dist/{arc-BBnIBs2j.js → arc-DxDH4CNq.js} +1 -1
- package/dist/{architecture-U656AL7Q-CMPtJMZ-.mjs → architecture-U656AL7Q-DpmenltQ.mjs} +1 -1
- package/dist/{architecture-U656AL7Q-C0ZB2O9M.js → architecture-U656AL7Q-DqUhwOXk.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-BYzpbF40.mjs → architectureDiagram-VXUJARFQ-C2hauZCK.mjs} +1846 -1850
- package/dist/architectureDiagram-VXUJARFQ-LwDhoqXa.js +36 -0
- package/dist/blockDiagram-VD42YOAC-Cws7af6P.js +122 -0
- package/dist/{blockDiagram-VD42YOAC-DPVTCHn5.mjs → blockDiagram-VD42YOAC-yWS4_TxE.mjs} +913 -922
- package/dist/c4Diagram-YG6GDRKO-DLoBqiir.js +10 -0
- package/dist/{c4Diagram-YG6GDRKO-C2Y4q08p.mjs → c4Diagram-YG6GDRKO-K4ShvkML.mjs} +169 -170
- package/dist/channel-BqjR_aPb.js +1 -0
- package/dist/{channel-DVpqhnow.mjs → channel-_5jzmP-I.mjs} +1 -1
- package/dist/chunk-4BX2VUAB-6hr5PCkV.js +1 -0
- package/dist/chunk-4BX2VUAB-DBTu5W6L.mjs +8 -0
- package/dist/{chunk-55IACEB6-P_FVKIbW.js → chunk-55IACEB6-BLs0Xswy.js} +1 -1
- package/dist/{chunk-55IACEB6-Du1Simcj.mjs → chunk-55IACEB6-_brNODlK.mjs} +1 -1
- package/dist/chunk-B4BG7PRW-6HdbiUFA.js +165 -0
- package/dist/{chunk-B4BG7PRW-BUKsa2yH.mjs → chunk-B4BG7PRW-CWohxZt0.mjs} +251 -252
- package/dist/chunk-DI55MBZ5-DehdsbpI.js +220 -0
- package/dist/{chunk-DI55MBZ5-C9h0qLVI.mjs → chunk-DI55MBZ5-db62NlMD.mjs} +444 -456
- package/dist/{chunk-FMBD7UC4-48-zdz-1.js → chunk-FMBD7UC4-B2j81cAo.js} +1 -1
- package/dist/{chunk-FMBD7UC4-C08-zA06.mjs → chunk-FMBD7UC4-BegOwXuP.mjs} +1 -1
- package/dist/chunk-QN33PNHL-CJ1oa0p-.js +1 -0
- package/dist/chunk-QN33PNHL-CpBQYWWf.mjs +19 -0
- package/dist/{chunk-QZHKN3VN-DbO6TJSK.mjs → chunk-QZHKN3VN-BG9vC9tQ.mjs} +1 -1
- package/dist/{chunk-QZHKN3VN-Dy2264ui.js → chunk-QZHKN3VN-DV3-w0rK.js} +1 -1
- package/dist/{chunk-TZMSLE5B-BPmI9i6R.mjs → chunk-TZMSLE5B-D3cmOS_D.mjs} +20 -20
- package/dist/{chunk-TZMSLE5B-COENnLAZ.js → chunk-TZMSLE5B-DtKjE4RE.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-mzvV1Ifg.mjs → classDiagram-2ON5EDUG-DAL3V7Dx.mjs} +2 -2
- package/dist/{classDiagram-2ON5EDUG-CFFwYK87.js → classDiagram-2ON5EDUG-uOMmrtgR.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-mzvV1Ifg.mjs → classDiagram-v2-WZHVMYZB-DAL3V7Dx.mjs} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-CFFwYK87.js → classDiagram-v2-WZHVMYZB-uOMmrtgR.js} +1 -1
- package/dist/{clone-KtLCwiKH.mjs → clone-BiSDKkgs.mjs} +1 -1
- package/dist/clone-Bl9s3LR9.js +1 -0
- package/dist/{code-block-37QAKDTI-sxlq94xm.js → code-block-37QAKDTI-BILtfzQC.js} +1 -1
- package/dist/{code-block-37QAKDTI-CmykMxjQ.mjs → code-block-37QAKDTI-MauA-22z.mjs} +1 -1
- package/dist/cose-bilkent-S5V4N54A-CPJoKUiO.js +1 -0
- package/dist/{cose-bilkent-S5V4N54A-BXcldnso.mjs → cose-bilkent-S5V4N54A-rUEUYQdF.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-b0VfOp5y.mjs +443 -0
- package/dist/dagre-6UL2VRFP-r_ADTb0O.js +4 -0
- package/dist/diagram-PSM6KHXK-CuHqLGUt.js +24 -0
- package/dist/{diagram-PSM6KHXK-DIV3jw9d.mjs → diagram-PSM6KHXK-ax3IfFcX.mjs} +45 -48
- package/dist/diagram-QEK2KX5R-B5Lo9E-s.js +43 -0
- package/dist/{diagram-QEK2KX5R-Q0M2_YtR.mjs → diagram-QEK2KX5R-Dn47K2He.mjs} +10 -14
- package/dist/diagram-S2PKOQOG-B0W-tWPV.js +24 -0
- package/dist/{diagram-S2PKOQOG-_WGA6s2-.mjs → diagram-S2PKOQOG-C5jPENyu.mjs} +22 -23
- package/dist/{erDiagram-Q2GNP2WA-CW0D_QGb.mjs → erDiagram-Q2GNP2WA-XP6-Fsuy.mjs} +77 -78
- package/dist/erDiagram-Q2GNP2WA-k7niLq9H.js +60 -0
- package/dist/flowDiagram-NV44I4VS-BAdaW0zG.js +162 -0
- package/dist/{flowDiagram-NV44I4VS-DVQ8Ntc4.mjs → flowDiagram-NV44I4VS-DzHvKZ3e.mjs} +442 -449
- package/dist/{ganttDiagram-JELNMOA3-Bk-dX6qT.mjs → ganttDiagram-JELNMOA3-BRenKPXr.mjs} +1049 -1041
- package/dist/ganttDiagram-JELNMOA3-CddDOxeO.js +267 -0
- package/dist/{gitGraph-F6HP7TQM-DvIgo2TM.js → gitGraph-F6HP7TQM-BLshE7A8.js} +1 -1
- package/dist/{gitGraph-F6HP7TQM-CsdwxYUE.mjs → gitGraph-F6HP7TQM-Dq8gDI5R.mjs} +1 -1
- package/dist/gitGraphDiagram-NY62KEGX-B-rSecLz.mjs +699 -0
- package/dist/gitGraphDiagram-NY62KEGX-C980oVrU.js +65 -0
- package/dist/{graph-BNpx6ebg.js → graph-BlL96kLy.js} +1 -1
- package/dist/{graph-C_T4ZBuC.mjs → graph-DxtCPktv.mjs} +8 -8
- package/dist/index-DIQbvlIr.js +670 -0
- package/dist/{index-oe4HpmeG.mjs → index-yf1-93v5.mjs} +22534 -22642
- package/dist/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/dist/info-NVLQJR56-BQNoY6_p.mjs +5 -0
- package/dist/{info-NVLQJR56-BwFQRguW.js → info-NVLQJR56-Bls_Dqxs.js} +1 -1
- package/dist/{infoDiagram-WHAUD3N6-CCb5k_S7.js → infoDiagram-WHAUD3N6-DwsUlSxN.js} +1 -1
- package/dist/{infoDiagram-WHAUD3N6-C-gzsm95.mjs → infoDiagram-WHAUD3N6-FnUO4LNo.mjs} +2 -2
- package/dist/journeyDiagram-XKPGCS4Q-7k1g8rPF.js +139 -0
- package/dist/{journeyDiagram-XKPGCS4Q-DzkUL_YG.mjs → journeyDiagram-XKPGCS4Q-Bvn5lhxn.mjs} +24 -26
- package/dist/kanban-definition-3W4ZIXB7-Cqf7XpzW.js +89 -0
- package/dist/kanban-definition-3W4ZIXB7-D29d9Rl2.mjs +719 -0
- package/dist/{layout-CuWQnP5Y.js → layout-B_kkbzwQ.js} +1 -1
- package/dist/{layout-Cd98WJ7r.mjs → layout-BlUfzTib.mjs} +22 -22
- package/dist/{linear-SU4e8MRt.mjs → linear-CC_oUBkf.mjs} +20 -20
- package/dist/{linear-DFDw13y6.js → linear-DF2d9TVq.js} +1 -1
- package/dist/{mermaid-4DMBBIKO-BihEtyib.js → mermaid-4DMBBIKO-2ufyMRt4.js} +1 -1
- package/dist/mermaid-4DMBBIKO-BizANXE3.mjs +4 -0
- package/dist/{mermaid-parser.core-C8Sxzqul.mjs → mermaid-parser.core-CkXMNpV7.mjs} +3404 -3369
- package/dist/mermaid-parser.core-DQkQZAvG.js +128 -0
- package/dist/{min-CppMRDFn.js → min-I7eFb2cg.js} +1 -1
- package/dist/{min-C2k771MZ.mjs → min-VPOHWCTf.mjs} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-BUd354uH.mjs → mindmap-definition-VGOIOE7T-CawQ5XYo.mjs} +170 -172
- package/dist/mindmap-definition-VGOIOE7T-d8uGKtHO.js +68 -0
- package/dist/{ordinal-C0oynhte.mjs → ordinal-B-KqvkJf.mjs} +1 -1
- package/dist/{packet-BFZMPI3H-Cz_A86d3.mjs → packet-BFZMPI3H-BbdhMsyD.mjs} +1 -1
- package/dist/{packet-BFZMPI3H-CFx3kSkL.js → packet-BFZMPI3H-CiqPNXx_.js} +1 -1
- package/dist/{pie-7BOR55EZ-_1MqisBd.js → pie-7BOR55EZ-BfYvvrxF.js} +1 -1
- package/dist/pie-7BOR55EZ-CkKpjIfF.mjs +5 -0
- package/dist/{pieDiagram-ADFJNKIX-Bg0_gu43.js → pieDiagram-ADFJNKIX-BlNrJLdh.js} +2 -2
- package/dist/{pieDiagram-ADFJNKIX-lRs_rpwI.mjs → pieDiagram-ADFJNKIX-TQppVIgS.mjs} +21 -21
- package/dist/{quadrantDiagram-AYHSOK5B-D9kypJt6.mjs → quadrantDiagram-AYHSOK5B-CysN5Kyu.mjs} +230 -232
- package/dist/quadrantDiagram-AYHSOK5B-fy7-bMNk.js +7 -0
- package/dist/{radar-NHE76QYJ-CdtC4C8F.js → radar-NHE76QYJ-BjbmLxde.js} +1 -1
- package/dist/{radar-NHE76QYJ-B-PvZD0K.mjs → radar-NHE76QYJ-BlbyKqWL.mjs} +1 -1
- package/dist/requirementDiagram-UZGBJVZJ-CGgt75Rl.js +64 -0
- package/dist/{requirementDiagram-UZGBJVZJ-B5ulaHjE.mjs → requirementDiagram-UZGBJVZJ-CfMcIbMc.mjs} +190 -192
- package/dist/{sankeyDiagram-TZEHDZUN-DprIPFbe.mjs → sankeyDiagram-TZEHDZUN-aFz48-W2.mjs} +189 -189
- package/dist/sankeyDiagram-TZEHDZUN-q-r70ybp.js +10 -0
- package/dist/{sequenceDiagram-WL72ISMW-B4m4oag0.mjs → sequenceDiagram-WL72ISMW-B9w1iL31.mjs} +222 -229
- package/dist/sequenceDiagram-WL72ISMW-nlFlEmNQ.js +145 -0
- package/dist/{stateDiagram-FKZM4ZOC-BD4tnS-V.js → stateDiagram-FKZM4ZOC-C9DXFs3P.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-DjkdDbQ2.mjs → stateDiagram-FKZM4ZOC-e4SGJ8oh.mjs} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-sybMoxOk.js → stateDiagram-v2-4FDKWEC3-FoEBCoPy.js} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-AK86F3i6.mjs → stateDiagram-v2-4FDKWEC3-QUPk_c9P.mjs} +2 -2
- package/dist/timeline-definition-IT6M3QCI-BqUt3ka4.js +61 -0
- package/dist/{timeline-definition-IT6M3QCI-BFuQEeZP.mjs → timeline-definition-IT6M3QCI-Br9KrJcU.mjs} +217 -223
- package/dist/{treemap-KMMF4GRG-DTnRa789.js → treemap-KMMF4GRG-DTii969M.js} +1 -1
- package/dist/{treemap-KMMF4GRG-gtrnY16v.mjs → treemap-KMMF4GRG-DVxjgEhu.mjs} +1 -1
- package/dist/xychartDiagram-PRI3JC2R-Bi02nVw4.js +7 -0
- package/dist/{xychartDiagram-PRI3JC2R-CjXiy6m0.mjs → xychartDiagram-PRI3JC2R-BygtBGgX.mjs} +7 -7
- package/package.json +4 -4
- 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
package/dist/{requirementDiagram-UZGBJVZJ-B5ulaHjE.mjs → requirementDiagram-UZGBJVZJ-CfMcIbMc.mjs}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { g as ze } from "./chunk-55IACEB6-
|
|
2
|
-
import { s as Ge } from "./chunk-QN33PNHL-
|
|
3
|
-
import { _ as f, e as Xe, d as Je, s as Ze, g as et, y as tt, z as st, f as Ne, l as qe, D as it, H as rt, u as nt, v as at, x as lt } from "./index-
|
|
4
|
-
var Ae = function() {
|
|
5
|
-
var e = /* @__PURE__ */ f(function(P, i,
|
|
6
|
-
for (
|
|
7
|
-
return
|
|
8
|
-
}, "o"),
|
|
1
|
+
import { g as ze } from "./chunk-55IACEB6-_brNODlK.mjs";
|
|
2
|
+
import { s as Ge } from "./chunk-QN33PNHL-CpBQYWWf.mjs";
|
|
3
|
+
import { _ as f, e as Xe, d as Je, s as Ze, g as et, y as tt, z as st, f as Ne, l as qe, D as it, H as rt, u as nt, v as at, x as lt } from "./index-yf1-93v5.mjs";
|
|
4
|
+
var Ae = (function() {
|
|
5
|
+
var e = /* @__PURE__ */ f(function(P, i, n, c) {
|
|
6
|
+
for (n = n || {}, c = P.length; c--; n[P[c]] = i) ;
|
|
7
|
+
return n;
|
|
8
|
+
}, "o"), l = [1, 3], u = [1, 4], h = [1, 5], r = [1, 6], o = [5, 6, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], m = [1, 22], y = [2, 7], _ = [1, 26], b = [1, 27], N = [1, 28], q = [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], p = [1, 39], R = [1, 40], E = [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], Ee = [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], T = [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 = {
|
|
9
9
|
trace: /* @__PURE__ */ f(function() {
|
|
10
10
|
}, "trace"),
|
|
11
11
|
yy: {},
|
|
12
12
|
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 },
|
|
13
13
|
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" },
|
|
14
14
|
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]],
|
|
15
|
-
performAction: /* @__PURE__ */ f(function(i,
|
|
16
|
-
var
|
|
17
|
-
switch (
|
|
15
|
+
performAction: /* @__PURE__ */ f(function(i, n, c, s, d, t, de) {
|
|
16
|
+
var a = t.length - 1;
|
|
17
|
+
switch (d) {
|
|
18
18
|
case 4:
|
|
19
|
-
this.$ = t[
|
|
19
|
+
this.$ = t[a].trim(), s.setAccTitle(this.$);
|
|
20
20
|
break;
|
|
21
21
|
case 5:
|
|
22
22
|
case 6:
|
|
23
|
-
this.$ = t[
|
|
23
|
+
this.$ = t[a].trim(), s.setAccDescription(this.$);
|
|
24
24
|
break;
|
|
25
25
|
case 7:
|
|
26
26
|
this.$ = [];
|
|
@@ -38,22 +38,22 @@ var Ae = function() {
|
|
|
38
38
|
s.setDirection("LR");
|
|
39
39
|
break;
|
|
40
40
|
case 21:
|
|
41
|
-
s.addRequirement(t[
|
|
41
|
+
s.addRequirement(t[a - 3], t[a - 4]);
|
|
42
42
|
break;
|
|
43
43
|
case 22:
|
|
44
|
-
s.addRequirement(t[
|
|
44
|
+
s.addRequirement(t[a - 5], t[a - 6]), s.setClass([t[a - 5]], t[a - 3]);
|
|
45
45
|
break;
|
|
46
46
|
case 23:
|
|
47
|
-
s.setNewReqId(t[
|
|
47
|
+
s.setNewReqId(t[a - 2]);
|
|
48
48
|
break;
|
|
49
49
|
case 24:
|
|
50
|
-
s.setNewReqText(t[
|
|
50
|
+
s.setNewReqText(t[a - 2]);
|
|
51
51
|
break;
|
|
52
52
|
case 25:
|
|
53
|
-
s.setNewReqRisk(t[
|
|
53
|
+
s.setNewReqRisk(t[a - 2]);
|
|
54
54
|
break;
|
|
55
55
|
case 26:
|
|
56
|
-
s.setNewReqVerifyMethod(t[
|
|
56
|
+
s.setNewReqVerifyMethod(t[a - 2]);
|
|
57
57
|
break;
|
|
58
58
|
case 29:
|
|
59
59
|
this.$ = s.RequirementType.REQUIREMENT;
|
|
@@ -95,22 +95,22 @@ var Ae = function() {
|
|
|
95
95
|
this.$ = s.VerifyType.VERIFY_TEST;
|
|
96
96
|
break;
|
|
97
97
|
case 42:
|
|
98
|
-
s.addElement(t[
|
|
98
|
+
s.addElement(t[a - 3]);
|
|
99
99
|
break;
|
|
100
100
|
case 43:
|
|
101
|
-
s.addElement(t[
|
|
101
|
+
s.addElement(t[a - 5]), s.setClass([t[a - 5]], t[a - 3]);
|
|
102
102
|
break;
|
|
103
103
|
case 44:
|
|
104
|
-
s.setNewElementType(t[
|
|
104
|
+
s.setNewElementType(t[a - 2]);
|
|
105
105
|
break;
|
|
106
106
|
case 45:
|
|
107
|
-
s.setNewElementDocRef(t[
|
|
107
|
+
s.setNewElementDocRef(t[a - 2]);
|
|
108
108
|
break;
|
|
109
109
|
case 48:
|
|
110
|
-
s.addRelationship(t[
|
|
110
|
+
s.addRelationship(t[a - 2], t[a], t[a - 4]);
|
|
111
111
|
break;
|
|
112
112
|
case 49:
|
|
113
|
-
s.addRelationship(t[
|
|
113
|
+
s.addRelationship(t[a - 2], t[a - 4], t[a]);
|
|
114
114
|
break;
|
|
115
115
|
case 50:
|
|
116
116
|
this.$ = s.Relationships.CONTAINS;
|
|
@@ -134,88 +134,88 @@ var Ae = function() {
|
|
|
134
134
|
this.$ = s.Relationships.TRACES;
|
|
135
135
|
break;
|
|
136
136
|
case 57:
|
|
137
|
-
this.$ = t[
|
|
137
|
+
this.$ = t[a - 2], s.defineClass(t[a - 1], t[a]);
|
|
138
138
|
break;
|
|
139
139
|
case 58:
|
|
140
|
-
s.setClass(t[
|
|
140
|
+
s.setClass(t[a - 1], t[a]);
|
|
141
141
|
break;
|
|
142
142
|
case 59:
|
|
143
|
-
s.setClass([t[
|
|
143
|
+
s.setClass([t[a - 2]], t[a]);
|
|
144
144
|
break;
|
|
145
145
|
case 60:
|
|
146
146
|
case 62:
|
|
147
|
-
this.$ = [t[
|
|
147
|
+
this.$ = [t[a]];
|
|
148
148
|
break;
|
|
149
149
|
case 61:
|
|
150
150
|
case 63:
|
|
151
|
-
this.$ = t[
|
|
151
|
+
this.$ = t[a - 2].concat([t[a]]);
|
|
152
152
|
break;
|
|
153
153
|
case 64:
|
|
154
|
-
this.$ = t[
|
|
154
|
+
this.$ = t[a - 2], s.setCssStyle(t[a - 1], t[a]);
|
|
155
155
|
break;
|
|
156
156
|
case 65:
|
|
157
|
-
this.$ = [t[
|
|
157
|
+
this.$ = [t[a]];
|
|
158
158
|
break;
|
|
159
159
|
case 66:
|
|
160
|
-
t[
|
|
160
|
+
t[a - 2].push(t[a]), this.$ = t[a - 2];
|
|
161
161
|
break;
|
|
162
162
|
case 68:
|
|
163
|
-
this.$ = t[
|
|
163
|
+
this.$ = t[a - 1] + t[a];
|
|
164
164
|
break;
|
|
165
165
|
}
|
|
166
166
|
}, "anonymous"),
|
|
167
|
-
table: [{ 3: 1, 4: 2, 6:
|
|
167
|
+
table: [{ 3: 1, 4: 2, 6: l, 9: u, 11: h, 13: r }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: l, 9: u, 11: h, 13: r }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, e(o, [2, 6]), { 3: 12, 4: 2, 6: l, 9: u, 11: h, 13: r }, { 1: [2, 2] }, { 4: 17, 5: m, 7: 13, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, e(o, [2, 4]), e(o, [2, 5]), { 1: [2, 1] }, { 8: [1, 41] }, { 4: 17, 5: m, 7: 42, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, { 4: 17, 5: m, 7: 43, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, { 4: 17, 5: m, 7: 44, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, { 4: 17, 5: m, 7: 45, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, { 4: 17, 5: m, 7: 46, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, { 4: 17, 5: m, 7: 47, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, { 4: 17, 5: m, 7: 48, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, { 4: 17, 5: m, 7: 49, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, { 4: 17, 5: m, 7: 50, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 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: p, 90: R }, { 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(E, [2, 17]), e(E, [2, 18]), e(E, [2, 19]), e(E, [2, 20]), { 30: 60, 33: 62, 75: $, 89: p, 90: R }, { 30: 63, 33: 62, 75: $, 89: p, 90: R }, { 30: 64, 33: 62, 75: $, 89: p, 90: R }, 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(Ee, [2, 79]), e(Ee, [2, 80]), { 27: [1, 67], 29: [1, 68] }, e(Ee, [2, 85]), e(Ee, [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: p, 90: R }, { 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: p, 90: R }, { 5: [1, 95] }, { 30: 96, 33: 62, 75: $, 89: p, 90: R }, { 5: [1, 97] }, { 30: 98, 33: 62, 75: $, 89: p, 90: R }, { 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(E, [2, 59], { 76: U }), e(E, [2, 64], { 76: Me }), { 33: 103, 75: [1, 102], 89: p, 90: R }, 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(T, [2, 67]), e(T, [2, 69]), e(T, [2, 70]), e(T, [2, 71]), e(T, [2, 72]), e(T, [2, 73]), e(T, [2, 74]), e(T, [2, 75]), e(T, [2, 76]), e(T, [2, 77]), e(T, [2, 78]), e(E, [2, 57], { 76: Me }), e(E, [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: p, 90: R }, { 33: 120, 89: p, 90: R }, { 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(T, [2, 68]), e(E, [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(E, [2, 28]), { 5: [1, 127] }, e(E, [2, 42]), { 32: [1, 128] }, { 32: [1, 129] }, { 5: he, 40: ue, 56: 130, 57: fe, 59: me }, e(E, [2, 47]), { 5: [1, 131] }, e(E, [2, 48]), e(E, [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: p, 90: R }, { 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(E, [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(E, [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(E, [2, 22]), { 5: [1, 157] }, { 5: [2, 87] }, { 5: [2, 88] }, { 5: [1, 158] }, { 5: [2, 89] }, { 5: [2, 90] }, e(E, [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(E, [2, 23]), e(E, [2, 24]), e(E, [2, 25]), e(E, [2, 26]), e(E, [2, 44]), e(E, [2, 45])],
|
|
168
168
|
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] },
|
|
169
|
-
parseError: /* @__PURE__ */ f(function(i,
|
|
170
|
-
if (
|
|
169
|
+
parseError: /* @__PURE__ */ f(function(i, n) {
|
|
170
|
+
if (n.recoverable)
|
|
171
171
|
this.trace(i);
|
|
172
172
|
else {
|
|
173
|
-
var
|
|
174
|
-
throw
|
|
173
|
+
var c = new Error(i);
|
|
174
|
+
throw c.hash = n, c;
|
|
175
175
|
}
|
|
176
176
|
}, "parseError"),
|
|
177
177
|
parse: /* @__PURE__ */ f(function(i) {
|
|
178
|
-
var
|
|
178
|
+
var n = this, c = [0], s = [], d = [null], t = [], de = this.table, a = "", ye = 0, Pe = 0, He = 2, $e = 1, Ke = t.slice.call(arguments, 1), g = Object.create(this.lexer), z = { yy: {} };
|
|
179
179
|
for (var Ie in this.yy)
|
|
180
180
|
Object.prototype.hasOwnProperty.call(this.yy, Ie) && (z.yy[Ie] = this.yy[Ie]);
|
|
181
|
-
|
|
182
|
-
var be =
|
|
181
|
+
g.setInput(i, z.yy), z.yy.lexer = g, z.yy.parser = this, typeof g.yylloc > "u" && (g.yylloc = {});
|
|
182
|
+
var be = g.yylloc;
|
|
183
183
|
t.push(be);
|
|
184
|
-
var We =
|
|
184
|
+
var We = g.options && g.options.ranges;
|
|
185
185
|
typeof z.yy.parseError == "function" ? this.parseError = z.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
186
|
-
function je(
|
|
187
|
-
|
|
186
|
+
function je(I) {
|
|
187
|
+
c.length = c.length - 2 * I, d.length = d.length - I, t.length = t.length - I;
|
|
188
188
|
}
|
|
189
189
|
f(je, "popStack");
|
|
190
190
|
function Ue() {
|
|
191
|
-
var
|
|
192
|
-
return
|
|
191
|
+
var I;
|
|
192
|
+
return I = s.pop() || g.lex() || $e, typeof I != "number" && (I instanceof Array && (s = I, I = s.pop()), I = n.symbols_[I] || I), I;
|
|
193
193
|
}
|
|
194
194
|
f(Ue, "lex");
|
|
195
|
-
for (var
|
|
196
|
-
if (G =
|
|
195
|
+
for (var S, G, k, Te, J = {}, ge, F, Ye, _e; ; ) {
|
|
196
|
+
if (G = c[c.length - 1], this.defaultActions[G] ? k = this.defaultActions[G] : ((S === null || typeof S > "u") && (S = Ue()), k = de[G] && de[G][S]), typeof k > "u" || !k.length || !k[0]) {
|
|
197
197
|
var ke = "";
|
|
198
198
|
_e = [];
|
|
199
199
|
for (ge in de[G])
|
|
200
200
|
this.terminals_[ge] && ge > He && _e.push("'" + this.terminals_[ge] + "'");
|
|
201
|
-
|
|
202
|
-
` +
|
|
203
|
-
Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[
|
|
204
|
-
text:
|
|
205
|
-
token: this.terminals_[
|
|
206
|
-
line:
|
|
201
|
+
g.showPosition ? ke = "Parse error on line " + (ye + 1) + `:
|
|
202
|
+
` + g.showPosition() + `
|
|
203
|
+
Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke = "Parse error on line " + (ye + 1) + ": Unexpected " + (S == $e ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(ke, {
|
|
204
|
+
text: g.match,
|
|
205
|
+
token: this.terminals_[S] || S,
|
|
206
|
+
line: g.yylineno,
|
|
207
207
|
loc: be,
|
|
208
208
|
expected: _e
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
|
-
if (
|
|
212
|
-
throw new Error("Parse Error: multiple actions possible at state: " + G + ", token: " +
|
|
213
|
-
switch (
|
|
211
|
+
if (k[0] instanceof Array && k.length > 1)
|
|
212
|
+
throw new Error("Parse Error: multiple actions possible at state: " + G + ", token: " + S);
|
|
213
|
+
switch (k[0]) {
|
|
214
214
|
case 1:
|
|
215
|
-
|
|
215
|
+
c.push(S), d.push(g.yytext), t.push(g.yylloc), c.push(k[1]), S = null, Pe = g.yyleng, a = g.yytext, ye = g.yylineno, be = g.yylloc;
|
|
216
216
|
break;
|
|
217
217
|
case 2:
|
|
218
|
-
if (F = this.productions_[
|
|
218
|
+
if (F = this.productions_[k[1]][1], J.$ = d[d.length - F], J._$ = {
|
|
219
219
|
first_line: t[t.length - (F || 1)].first_line,
|
|
220
220
|
last_line: t[t.length - 1].last_line,
|
|
221
221
|
first_column: t[t.length - (F || 1)].first_column,
|
|
@@ -224,16 +224,16 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
224
224
|
t[t.length - (F || 1)].range[0],
|
|
225
225
|
t[t.length - 1].range[1]
|
|
226
226
|
]), Te = this.performAction.apply(J, [
|
|
227
|
-
|
|
227
|
+
a,
|
|
228
228
|
Pe,
|
|
229
229
|
ye,
|
|
230
230
|
z.yy,
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
k[1],
|
|
232
|
+
d,
|
|
233
233
|
t
|
|
234
234
|
].concat(Ke)), typeof Te < "u")
|
|
235
235
|
return Te;
|
|
236
|
-
F && (
|
|
236
|
+
F && (c = c.slice(0, -1 * F * 2), d = d.slice(0, -1 * F), t = t.slice(0, -1 * F)), c.push(this.productions_[k[1]][0]), d.push(J.$), t.push(J._$), Ye = de[c[c.length - 2]][c[c.length - 1]], c.push(Ye);
|
|
237
237
|
break;
|
|
238
238
|
case 3:
|
|
239
239
|
return !0;
|
|
@@ -241,18 +241,18 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
241
241
|
}
|
|
242
242
|
return !0;
|
|
243
243
|
}, "parse")
|
|
244
|
-
}, Qe = /* @__PURE__ */ function() {
|
|
244
|
+
}, Qe = /* @__PURE__ */ (function() {
|
|
245
245
|
var P = {
|
|
246
246
|
EOF: 1,
|
|
247
|
-
parseError: /* @__PURE__ */ f(function(
|
|
247
|
+
parseError: /* @__PURE__ */ f(function(n, c) {
|
|
248
248
|
if (this.yy.parser)
|
|
249
|
-
this.yy.parser.parseError(
|
|
249
|
+
this.yy.parser.parseError(n, c);
|
|
250
250
|
else
|
|
251
|
-
throw new Error(
|
|
251
|
+
throw new Error(n);
|
|
252
252
|
}, "parseError"),
|
|
253
253
|
// resets the lexer, sets new input
|
|
254
|
-
setInput: /* @__PURE__ */ f(function(i,
|
|
255
|
-
return this.yy =
|
|
254
|
+
setInput: /* @__PURE__ */ f(function(i, n) {
|
|
255
|
+
return this.yy = n || 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 = {
|
|
256
256
|
first_line: 1,
|
|
257
257
|
first_column: 0,
|
|
258
258
|
last_line: 1,
|
|
@@ -263,22 +263,22 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
263
263
|
input: /* @__PURE__ */ f(function() {
|
|
264
264
|
var i = this._input[0];
|
|
265
265
|
this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
|
|
266
|
-
var
|
|
267
|
-
return
|
|
266
|
+
var n = i.match(/(?:\r\n?|\n).*/g);
|
|
267
|
+
return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
|
|
268
268
|
}, "input"),
|
|
269
269
|
// unshifts one char (or a string) into the input
|
|
270
270
|
unput: /* @__PURE__ */ f(function(i) {
|
|
271
|
-
var
|
|
272
|
-
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
271
|
+
var n = i.length, c = i.split(/(?:\r\n?|\n)/g);
|
|
272
|
+
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
|
|
273
273
|
var s = this.match.split(/(?:\r\n?|\n)/g);
|
|
274
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
275
|
-
var
|
|
274
|
+
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);
|
|
275
|
+
var d = this.yylloc.range;
|
|
276
276
|
return this.yylloc = {
|
|
277
277
|
first_line: this.yylloc.first_line,
|
|
278
278
|
last_line: this.yylineno + 1,
|
|
279
279
|
first_column: this.yylloc.first_column,
|
|
280
|
-
last_column:
|
|
281
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
280
|
+
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 - n
|
|
281
|
+
}, this.options.ranges && (this.yylloc.range = [d[0], d[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
|
|
282
282
|
}, "unput"),
|
|
283
283
|
// When called from action, caches matched text and appends it on next action
|
|
284
284
|
more: /* @__PURE__ */ f(function() {
|
|
@@ -313,14 +313,14 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
313
313
|
}, "upcomingInput"),
|
|
314
314
|
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
315
315
|
showPosition: /* @__PURE__ */ f(function() {
|
|
316
|
-
var i = this.pastInput(),
|
|
316
|
+
var i = this.pastInput(), n = new Array(i.length + 1).join("-");
|
|
317
317
|
return i + this.upcomingInput() + `
|
|
318
|
-
` +
|
|
318
|
+
` + n + "^";
|
|
319
319
|
}, "showPosition"),
|
|
320
320
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
321
|
-
test_match: /* @__PURE__ */ f(function(i,
|
|
322
|
-
var
|
|
323
|
-
if (this.options.backtrack_lexer && (
|
|
321
|
+
test_match: /* @__PURE__ */ f(function(i, n) {
|
|
322
|
+
var c, s, d;
|
|
323
|
+
if (this.options.backtrack_lexer && (d = {
|
|
324
324
|
yylineno: this.yylineno,
|
|
325
325
|
yylloc: {
|
|
326
326
|
first_line: this.yylloc.first_line,
|
|
@@ -339,16 +339,16 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
339
339
|
yy: this.yy,
|
|
340
340
|
conditionStack: this.conditionStack.slice(0),
|
|
341
341
|
done: this.done
|
|
342
|
-
}, this.options.ranges && (
|
|
342
|
+
}, 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 = {
|
|
343
343
|
first_line: this.yylloc.last_line,
|
|
344
344
|
last_line: this.yylineno + 1,
|
|
345
345
|
first_column: this.yylloc.last_column,
|
|
346
346
|
last_column: s ? s[s.length - 1].length - s[s.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
|
|
347
|
-
}, 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],
|
|
348
|
-
return
|
|
347
|
+
}, 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, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c)
|
|
348
|
+
return c;
|
|
349
349
|
if (this._backtrack) {
|
|
350
|
-
for (var t in
|
|
351
|
-
this[t] =
|
|
350
|
+
for (var t in d)
|
|
351
|
+
this[t] = d[t];
|
|
352
352
|
return !1;
|
|
353
353
|
}
|
|
354
354
|
return !1;
|
|
@@ -358,22 +358,22 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
358
358
|
if (this.done)
|
|
359
359
|
return this.EOF;
|
|
360
360
|
this._input || (this.done = !0);
|
|
361
|
-
var i,
|
|
361
|
+
var i, n, c, s;
|
|
362
362
|
this._more || (this.yytext = "", this.match = "");
|
|
363
|
-
for (var
|
|
364
|
-
if (
|
|
365
|
-
if (
|
|
366
|
-
if (i = this.test_match(
|
|
363
|
+
for (var d = this._currentRules(), t = 0; t < d.length; t++)
|
|
364
|
+
if (c = this._input.match(this.rules[d[t]]), c && (!n || c[0].length > n[0].length)) {
|
|
365
|
+
if (n = c, s = t, this.options.backtrack_lexer) {
|
|
366
|
+
if (i = this.test_match(c, d[t]), i !== !1)
|
|
367
367
|
return i;
|
|
368
368
|
if (this._backtrack) {
|
|
369
|
-
|
|
369
|
+
n = !1;
|
|
370
370
|
continue;
|
|
371
371
|
} else
|
|
372
372
|
return !1;
|
|
373
373
|
} else if (!this.options.flex)
|
|
374
374
|
break;
|
|
375
375
|
}
|
|
376
|
-
return
|
|
376
|
+
return n ? (i = this.test_match(n, d[s]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
377
377
|
` + this.showPosition(), {
|
|
378
378
|
text: "",
|
|
379
379
|
token: null,
|
|
@@ -382,36 +382,36 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
382
382
|
}, "next"),
|
|
383
383
|
// return next match that has a token
|
|
384
384
|
lex: /* @__PURE__ */ f(function() {
|
|
385
|
-
var
|
|
386
|
-
return
|
|
385
|
+
var n = this.next();
|
|
386
|
+
return n || this.lex();
|
|
387
387
|
}, "lex"),
|
|
388
388
|
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
389
|
-
begin: /* @__PURE__ */ f(function(
|
|
390
|
-
this.conditionStack.push(
|
|
389
|
+
begin: /* @__PURE__ */ f(function(n) {
|
|
390
|
+
this.conditionStack.push(n);
|
|
391
391
|
}, "begin"),
|
|
392
392
|
// pop the previously active lexer condition state off the condition stack
|
|
393
393
|
popState: /* @__PURE__ */ f(function() {
|
|
394
|
-
var
|
|
395
|
-
return
|
|
394
|
+
var n = this.conditionStack.length - 1;
|
|
395
|
+
return n > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
396
396
|
}, "popState"),
|
|
397
397
|
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
398
398
|
_currentRules: /* @__PURE__ */ f(function() {
|
|
399
399
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
400
400
|
}, "_currentRules"),
|
|
401
401
|
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
402
|
-
topState: /* @__PURE__ */ f(function(
|
|
403
|
-
return
|
|
402
|
+
topState: /* @__PURE__ */ f(function(n) {
|
|
403
|
+
return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
|
|
404
404
|
}, "topState"),
|
|
405
405
|
// alias for begin(condition)
|
|
406
|
-
pushState: /* @__PURE__ */ f(function(
|
|
407
|
-
this.begin(
|
|
406
|
+
pushState: /* @__PURE__ */ f(function(n) {
|
|
407
|
+
this.begin(n);
|
|
408
408
|
}, "pushState"),
|
|
409
409
|
// return the number of states currently on the stack
|
|
410
410
|
stateStackSize: /* @__PURE__ */ f(function() {
|
|
411
411
|
return this.conditionStack.length;
|
|
412
412
|
}, "stateStackSize"),
|
|
413
413
|
options: { "case-insensitive": !0 },
|
|
414
|
-
performAction: /* @__PURE__ */ f(function(
|
|
414
|
+
performAction: /* @__PURE__ */ f(function(n, c, s, d) {
|
|
415
415
|
switch (s) {
|
|
416
416
|
case 0:
|
|
417
417
|
return "title";
|
|
@@ -554,7 +554,7 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
554
554
|
case 66:
|
|
555
555
|
return "qString";
|
|
556
556
|
case 67:
|
|
557
|
-
return
|
|
557
|
+
return c.yytext = c.yytext.trim(), 89;
|
|
558
558
|
case 68:
|
|
559
559
|
return 75;
|
|
560
560
|
case 69:
|
|
@@ -567,13 +567,13 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : ke =
|
|
|
567
567
|
conditions: { acc_descr_multiline: { rules: [6, 7, 68, 69, 70], inclusive: !1 }, acc_descr: { rules: [4, 68, 69, 70], inclusive: !1 }, acc_title: { rules: [2, 68, 69, 70], inclusive: !1 }, style: { rules: [50, 51, 52, 53, 54, 55, 56, 57, 58, 68, 69, 70], inclusive: !1 }, unqString: { rules: [68, 69, 70], inclusive: !1 }, token: { rules: [68, 69, 70], inclusive: !1 }, string: { rules: [65, 66, 68, 69, 70], inclusive: !1 }, INITIAL: { rules: [0, 1, 3, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 59, 60, 61, 62, 63, 64, 67, 68, 69, 70], inclusive: !0 } }
|
|
568
568
|
};
|
|
569
569
|
return P;
|
|
570
|
-
}();
|
|
570
|
+
})();
|
|
571
571
|
Se.lexer = Qe;
|
|
572
572
|
function Re() {
|
|
573
573
|
this.yy = {};
|
|
574
574
|
}
|
|
575
575
|
return f(Re, "Parser"), Re.prototype = Se, Se.Parser = Re, new Re();
|
|
576
|
-
}();
|
|
576
|
+
})();
|
|
577
577
|
Ae.parser = Ae;
|
|
578
578
|
var ct = Ae, Z, ot = (Z = class {
|
|
579
579
|
constructor() {
|
|
@@ -606,8 +606,8 @@ var ct = Ae, Z, ot = (Z = class {
|
|
|
606
606
|
getDirection() {
|
|
607
607
|
return this.direction;
|
|
608
608
|
}
|
|
609
|
-
setDirection(
|
|
610
|
-
this.direction =
|
|
609
|
+
setDirection(l) {
|
|
610
|
+
this.direction = l;
|
|
611
611
|
}
|
|
612
612
|
resetLatestRequirement() {
|
|
613
613
|
this.latestRequirement = this.getInitialRequirement();
|
|
@@ -636,9 +636,9 @@ var ct = Ae, Z, ot = (Z = class {
|
|
|
636
636
|
classes: ["default"]
|
|
637
637
|
};
|
|
638
638
|
}
|
|
639
|
-
addRequirement(
|
|
640
|
-
return this.requirements.has(
|
|
641
|
-
name:
|
|
639
|
+
addRequirement(l, u) {
|
|
640
|
+
return this.requirements.has(l) || this.requirements.set(l, {
|
|
641
|
+
name: l,
|
|
642
642
|
type: u,
|
|
643
643
|
requirementId: this.latestRequirement.requirementId,
|
|
644
644
|
text: this.latestRequirement.text,
|
|
@@ -646,46 +646,46 @@ var ct = Ae, Z, ot = (Z = class {
|
|
|
646
646
|
verifyMethod: this.latestRequirement.verifyMethod,
|
|
647
647
|
cssStyles: [],
|
|
648
648
|
classes: ["default"]
|
|
649
|
-
}), this.resetLatestRequirement(), this.requirements.get(
|
|
649
|
+
}), this.resetLatestRequirement(), this.requirements.get(l);
|
|
650
650
|
}
|
|
651
651
|
getRequirements() {
|
|
652
652
|
return this.requirements;
|
|
653
653
|
}
|
|
654
|
-
setNewReqId(
|
|
655
|
-
this.latestRequirement !== void 0 && (this.latestRequirement.requirementId =
|
|
654
|
+
setNewReqId(l) {
|
|
655
|
+
this.latestRequirement !== void 0 && (this.latestRequirement.requirementId = l);
|
|
656
656
|
}
|
|
657
|
-
setNewReqText(
|
|
658
|
-
this.latestRequirement !== void 0 && (this.latestRequirement.text =
|
|
657
|
+
setNewReqText(l) {
|
|
658
|
+
this.latestRequirement !== void 0 && (this.latestRequirement.text = l);
|
|
659
659
|
}
|
|
660
|
-
setNewReqRisk(
|
|
661
|
-
this.latestRequirement !== void 0 && (this.latestRequirement.risk =
|
|
660
|
+
setNewReqRisk(l) {
|
|
661
|
+
this.latestRequirement !== void 0 && (this.latestRequirement.risk = l);
|
|
662
662
|
}
|
|
663
|
-
setNewReqVerifyMethod(
|
|
664
|
-
this.latestRequirement !== void 0 && (this.latestRequirement.verifyMethod =
|
|
663
|
+
setNewReqVerifyMethod(l) {
|
|
664
|
+
this.latestRequirement !== void 0 && (this.latestRequirement.verifyMethod = l);
|
|
665
665
|
}
|
|
666
|
-
addElement(
|
|
667
|
-
return this.elements.has(
|
|
668
|
-
name:
|
|
666
|
+
addElement(l) {
|
|
667
|
+
return this.elements.has(l) || (this.elements.set(l, {
|
|
668
|
+
name: l,
|
|
669
669
|
type: this.latestElement.type,
|
|
670
670
|
docRef: this.latestElement.docRef,
|
|
671
671
|
cssStyles: [],
|
|
672
672
|
classes: ["default"]
|
|
673
|
-
}), qe.info("Added new element: ",
|
|
673
|
+
}), qe.info("Added new element: ", l)), this.resetLatestElement(), this.elements.get(l);
|
|
674
674
|
}
|
|
675
675
|
getElements() {
|
|
676
676
|
return this.elements;
|
|
677
677
|
}
|
|
678
|
-
setNewElementType(
|
|
679
|
-
this.latestElement !== void 0 && (this.latestElement.type =
|
|
678
|
+
setNewElementType(l) {
|
|
679
|
+
this.latestElement !== void 0 && (this.latestElement.type = l);
|
|
680
680
|
}
|
|
681
|
-
setNewElementDocRef(
|
|
682
|
-
this.latestElement !== void 0 && (this.latestElement.docRef =
|
|
681
|
+
setNewElementDocRef(l) {
|
|
682
|
+
this.latestElement !== void 0 && (this.latestElement.docRef = l);
|
|
683
683
|
}
|
|
684
|
-
addRelationship(
|
|
684
|
+
addRelationship(l, u, h) {
|
|
685
685
|
this.relations.push({
|
|
686
|
-
type:
|
|
686
|
+
type: l,
|
|
687
687
|
src: u,
|
|
688
|
-
dst:
|
|
688
|
+
dst: h
|
|
689
689
|
});
|
|
690
690
|
}
|
|
691
691
|
getRelationships() {
|
|
@@ -694,40 +694,39 @@ var ct = Ae, Z, ot = (Z = class {
|
|
|
694
694
|
clear() {
|
|
695
695
|
this.relations = [], this.resetLatestRequirement(), this.requirements = /* @__PURE__ */ new Map(), this.resetLatestElement(), this.elements = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), it();
|
|
696
696
|
}
|
|
697
|
-
setCssStyle(
|
|
698
|
-
for (const
|
|
699
|
-
const
|
|
700
|
-
if (!u || !
|
|
697
|
+
setCssStyle(l, u) {
|
|
698
|
+
for (const h of l) {
|
|
699
|
+
const r = this.requirements.get(h) ?? this.elements.get(h);
|
|
700
|
+
if (!u || !r)
|
|
701
701
|
return;
|
|
702
|
-
for (const
|
|
703
|
-
|
|
702
|
+
for (const o of u)
|
|
703
|
+
o.includes(",") ? r.cssStyles.push(...o.split(",")) : r.cssStyles.push(o);
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
|
-
setClass(
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
R && c.cssStyles.push(...R);
|
|
706
|
+
setClass(l, u) {
|
|
707
|
+
for (const h of l) {
|
|
708
|
+
const r = this.requirements.get(h) ?? this.elements.get(h);
|
|
709
|
+
if (r)
|
|
710
|
+
for (const o of u) {
|
|
711
|
+
r.classes.push(o);
|
|
712
|
+
const m = this.classes.get(o)?.styles;
|
|
713
|
+
m && r.cssStyles.push(...m);
|
|
715
714
|
}
|
|
716
715
|
}
|
|
717
716
|
}
|
|
718
|
-
defineClass(
|
|
719
|
-
for (const
|
|
720
|
-
let
|
|
721
|
-
|
|
722
|
-
if (/color/.exec(
|
|
723
|
-
const
|
|
724
|
-
|
|
717
|
+
defineClass(l, u) {
|
|
718
|
+
for (const h of l) {
|
|
719
|
+
let r = this.classes.get(h);
|
|
720
|
+
r === void 0 && (r = { id: h, styles: [], textStyles: [] }, this.classes.set(h, r)), u && u.forEach(function(o) {
|
|
721
|
+
if (/color/.exec(o)) {
|
|
722
|
+
const m = o.replace("fill", "bgFill");
|
|
723
|
+
r.textStyles.push(m);
|
|
725
724
|
}
|
|
726
|
-
|
|
727
|
-
}), this.requirements.forEach((
|
|
728
|
-
|
|
729
|
-
}), this.elements.forEach((
|
|
730
|
-
|
|
725
|
+
r.styles.push(o);
|
|
726
|
+
}), this.requirements.forEach((o) => {
|
|
727
|
+
o.classes.includes(h) && o.cssStyles.push(...u.flatMap((m) => m.split(",")));
|
|
728
|
+
}), this.elements.forEach((o) => {
|
|
729
|
+
o.classes.includes(h) && o.cssStyles.push(...u.flatMap((m) => m.split(",")));
|
|
731
730
|
});
|
|
732
731
|
}
|
|
733
732
|
}
|
|
@@ -735,36 +734,35 @@ var ct = Ae, Z, ot = (Z = class {
|
|
|
735
734
|
return this.classes;
|
|
736
735
|
}
|
|
737
736
|
getData() {
|
|
738
|
-
|
|
739
|
-
const
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
d.id = h.name, d.cssStyles = h.cssStyles, d.cssClasses = h.classes.join(" "), d.shape = "requirementBox", d.look = a.look, u.push(d);
|
|
737
|
+
const l = Ne(), u = [], h = [];
|
|
738
|
+
for (const r of this.requirements.values()) {
|
|
739
|
+
const o = r;
|
|
740
|
+
o.id = r.name, o.cssStyles = r.cssStyles, o.cssClasses = r.classes.join(" "), o.shape = "requirementBox", o.look = l.look, u.push(o);
|
|
743
741
|
}
|
|
744
|
-
for (const
|
|
745
|
-
const
|
|
746
|
-
|
|
742
|
+
for (const r of this.elements.values()) {
|
|
743
|
+
const o = r;
|
|
744
|
+
o.shape = "requirementBox", o.look = l.look, o.id = r.name, o.cssStyles = r.cssStyles, o.cssClasses = r.classes.join(" "), u.push(o);
|
|
747
745
|
}
|
|
748
|
-
for (const
|
|
749
|
-
let
|
|
750
|
-
const
|
|
751
|
-
id: `${
|
|
752
|
-
start:
|
|
753
|
-
end:
|
|
754
|
-
label: `<<${
|
|
746
|
+
for (const r of this.relations) {
|
|
747
|
+
let o = 0;
|
|
748
|
+
const m = r.type === this.Relationships.CONTAINS, y = {
|
|
749
|
+
id: `${r.src}-${r.dst}-${o}`,
|
|
750
|
+
start: this.requirements.get(r.src)?.name ?? this.elements.get(r.src)?.name,
|
|
751
|
+
end: this.requirements.get(r.dst)?.name ?? this.elements.get(r.dst)?.name,
|
|
752
|
+
label: `<<${r.type}>>`,
|
|
755
753
|
classes: "relationshipLine",
|
|
756
|
-
style: ["fill:none",
|
|
754
|
+
style: ["fill:none", m ? "" : "stroke-dasharray: 10,7"],
|
|
757
755
|
labelpos: "c",
|
|
758
756
|
thickness: "normal",
|
|
759
757
|
type: "normal",
|
|
760
|
-
pattern:
|
|
761
|
-
arrowTypeStart:
|
|
762
|
-
arrowTypeEnd:
|
|
763
|
-
look:
|
|
758
|
+
pattern: m ? "normal" : "dashed",
|
|
759
|
+
arrowTypeStart: m ? "requirement_contains" : "",
|
|
760
|
+
arrowTypeEnd: m ? "" : "requirement_arrow",
|
|
761
|
+
look: l.look
|
|
764
762
|
};
|
|
765
|
-
|
|
763
|
+
h.push(y), o++;
|
|
766
764
|
}
|
|
767
|
-
return { nodes: u, edges:
|
|
765
|
+
return { nodes: u, edges: h, other: {}, config: l, direction: this.getDirection() };
|
|
768
766
|
}
|
|
769
767
|
}, f(Z, "RequirementDB"), Z), ht = /* @__PURE__ */ f((e) => `
|
|
770
768
|
|
|
@@ -828,17 +826,17 @@ var ct = Ae, Z, ot = (Z = class {
|
|
|
828
826
|
rt(Be, {
|
|
829
827
|
draw: () => ft
|
|
830
828
|
});
|
|
831
|
-
var ft = /* @__PURE__ */ f(async function(e,
|
|
832
|
-
qe.info("REF0:"), qe.info("Drawing requirement diagram (unified)",
|
|
833
|
-
const { securityLevel:
|
|
834
|
-
|
|
835
|
-
const
|
|
829
|
+
var ft = /* @__PURE__ */ f(async function(e, l, u, h) {
|
|
830
|
+
qe.info("REF0:"), qe.info("Drawing requirement diagram (unified)", l);
|
|
831
|
+
const { securityLevel: r, state: o, layout: m } = Ne(), y = h.db.getData(), _ = ze(l, r);
|
|
832
|
+
y.type = h.type, y.layoutAlgorithm = nt(m), y.nodeSpacing = o?.nodeSpacing ?? 50, y.rankSpacing = o?.rankSpacing ?? 50, y.markers = ["requirement_contains", "requirement_arrow"], y.diagramId = l, await at(y, _);
|
|
833
|
+
const b = 8;
|
|
836
834
|
lt.insertTitle(
|
|
837
|
-
|
|
835
|
+
_,
|
|
838
836
|
"requirementDiagramTitleText",
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
), Ge(
|
|
837
|
+
o?.titleTopMargin ?? 25,
|
|
838
|
+
h.db.getDiagramTitle()
|
|
839
|
+
), Ge(_, b, "requirementDiagram", o?.useMaxWidth ?? !0);
|
|
842
840
|
}, "draw"), pt = {
|
|
843
841
|
parser: ct,
|
|
844
842
|
get db() {
|