@ucap-llm/ai-ui 1.1.13 → 1.1.15

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.
Files changed (111) hide show
  1. package/_basePickBy-DMehTBs0-8955b30b.mjs +151 -0
  2. package/_basePickBy-e7598e72.mjs +153 -0
  3. package/{_baseUniq-2bcae05e.mjs → _baseUniq-8cd7fbc4.mjs} +150 -150
  4. package/_baseUniq-DPnX6tpB-5eb6efbd.mjs +615 -0
  5. package/ai-ui.es.js +9 -8
  6. package/ai-ui.umd.js +3425 -923
  7. package/arc-8909f880.mjs +85 -0
  8. package/arc-qimaJRLH-591a6072.mjs +85 -0
  9. package/architecture-4AB2E3PP-DFmEpUnA-62fe65dd.mjs +10 -0
  10. package/architecture-4AB2E3PP-b04ae9dd.mjs +10 -0
  11. package/{architectureDiagram-IEHRJDOE-e4684ef3.mjs → architectureDiagram-IEHRJDOE-1ccc2c64.mjs} +123 -123
  12. package/architectureDiagram-IEHRJDOE-BRVAVUEE-c068faae.mjs +4641 -0
  13. package/{blockDiagram-JOT3LUYC-504ee31e.mjs → blockDiagram-JOT3LUYC-63569de5.mjs} +5 -5
  14. package/blockDiagram-JOT3LUYC-Cs4tSRey-54d8e29b.mjs +2251 -0
  15. package/{c4Diagram-VJAJSXHY-c5ba6af4.mjs → c4Diagram-VJAJSXHY-355a4170.mjs} +23 -23
  16. package/c4Diagram-VJAJSXHY-C3F9fO0L-0df97cd8.mjs +1583 -0
  17. package/channel-CuHzivgY-bb3d765a.mjs +5 -0
  18. package/channel-a1f4f18c.mjs +5 -0
  19. package/{chunk-4BMEZGHF-8d9a2e4f.mjs → chunk-4BMEZGHF-705995af.mjs} +1 -1
  20. package/chunk-4BMEZGHF-btTOjzEX-c9c5432c.mjs +9 -0
  21. package/{chunk-A2AXSNBT-41ae29f2.mjs → chunk-A2AXSNBT-3a857566.mjs} +10 -10
  22. package/chunk-A2AXSNBT-CPBZRsS7-a80df701.mjs +1373 -0
  23. package/{chunk-AEK57VVT-69e121d6.mjs → chunk-AEK57VVT-6c60e1ee.mjs} +45 -45
  24. package/chunk-AEK57VVT-D62Iwyam-238a3d85.mjs +1361 -0
  25. package/{chunk-D6G4REZN-472adc5b.mjs → chunk-D6G4REZN-11c52918.mjs} +5 -5
  26. package/chunk-D6G4REZN-HlFmQTJy-20704636.mjs +64 -0
  27. package/chunk-RZ5BOZE2-DIFgOqDt-495bec03.mjs +24 -0
  28. package/{chunk-RZ5BOZE2-b7d5d4f5.mjs → chunk-RZ5BOZE2-d6db8103.mjs} +9 -9
  29. package/chunk-XZIHB7SX-CCrbsG0u-f30e4124.mjs +15 -0
  30. package/{chunk-XZIHB7SX-56c08d07.mjs → chunk-XZIHB7SX-fafd3ca2.mjs} +1 -1
  31. package/classDiagram-GIVACNV2-Bv5U0XPL-622b22ed.mjs +18 -0
  32. package/{classDiagram-v2-COTLJTTW-1deea5cc.mjs → classDiagram-GIVACNV2-eca9aeb6.mjs} +5 -5
  33. package/classDiagram-v2-COTLJTTW-Bv5U0XPL-622b22ed.mjs +18 -0
  34. package/{classDiagram-GIVACNV2-1deea5cc.mjs → classDiagram-v2-COTLJTTW-eca9aeb6.mjs} +5 -5
  35. package/{clone-1f18a17f.mjs → clone-327a1426.mjs} +1 -1
  36. package/clone-Csc9uFbU-6c4f28bd.mjs +8 -0
  37. package/cytoscape.esm-Swd9B-1A-3101f241.mjs +18730 -0
  38. package/{dagre-OKDRZEBW-74e73dcf.mjs → dagre-OKDRZEBW-9059bb36.mjs} +81 -81
  39. package/dagre-OKDRZEBW-CoMQYlxF-96274fb0.mjs +448 -0
  40. package/{diagram-SSKATNLV-1a562cb0.mjs → diagram-SSKATNLV-70f68e72.mjs} +34 -34
  41. package/diagram-SSKATNLV-CPuZUaGP-50edcaa0.mjs +225 -0
  42. package/{diagram-VNBRO52H-b765e46f.mjs → diagram-VNBRO52H-39273710.mjs} +35 -35
  43. package/diagram-VNBRO52H-DIIZ-Sll-969266e6.mjs +130 -0
  44. package/{erDiagram-Q7BY3M3F-022c4343.mjs → erDiagram-Q7BY3M3F-96ba3906.mjs} +3 -3
  45. package/erDiagram-Q7BY3M3F-ZKWAM_uE-41c0350d.mjs +843 -0
  46. package/{flowDiagram-4HSFHLVR-6036e284.mjs → flowDiagram-4HSFHLVR-795e3830.mjs} +29 -29
  47. package/flowDiagram-4HSFHLVR-CUJXGEG3-801dde13.mjs +1624 -0
  48. package/{ganttDiagram-APWFNJXF-be871387.mjs → ganttDiagram-APWFNJXF-736e67b6.mjs} +398 -398
  49. package/ganttDiagram-APWFNJXF-C1pgubbs-20beffc3.mjs +2527 -0
  50. package/gitGraph-O2Q2CXLX-00465db9.mjs +10 -0
  51. package/gitGraph-O2Q2CXLX-BYavwGzs-e5f1990e.mjs +10 -0
  52. package/{gitGraphDiagram-7IBYFJ6S-da63c888.mjs → gitGraphDiagram-7IBYFJ6S-115329ab.mjs} +88 -88
  53. package/gitGraphDiagram-7IBYFJ6S-CndxirR4-b39d4089.mjs +716 -0
  54. package/{graph-e71f0e3e.mjs → graph-9e073c5f.mjs} +8 -8
  55. package/graph-DOmtxVvg-727f4e14.mjs +247 -0
  56. package/index-433e2395.mjs +168385 -0
  57. package/info-4N47QTOZ-688db415.mjs +10 -0
  58. package/info-4N47QTOZ-DPyDFN1Z-821cf2f7.mjs +10 -0
  59. package/{infoDiagram-PH2N3AL5-3e1c1c1f.mjs → infoDiagram-PH2N3AL5-29e9585a.mjs} +9 -9
  60. package/infoDiagram-PH2N3AL5-BkSS3vpU-ef4bf66d.mjs +26 -0
  61. package/init-DjUOC4st-87c930f1.mjs +16 -0
  62. package/{journeyDiagram-U35MCT3I-6d29748d.mjs → journeyDiagram-U35MCT3I-7c5644d1.mjs} +41 -41
  63. package/journeyDiagram-U35MCT3I-BN-kCDeJ-ac350902.mjs +811 -0
  64. package/{kanban-definition-NDS4AKOZ-c231ae4c.mjs → kanban-definition-NDS4AKOZ-eff441f9.mjs} +47 -47
  65. package/kanban-definition-NDS4AKOZ-gaDUOiKt-efdba942.mjs +720 -0
  66. package/{layout-b9b9e407.mjs → layout-501d22f0.mjs} +19 -19
  67. package/layout-8X5HiOVA-b6e13cf9.mjs +1323 -0
  68. package/linear-BgV5F0PU-8137edad.mjs +447 -0
  69. package/{linear-99040ddc.mjs → linear-fd3cd932.mjs} +56 -56
  70. package/{mermaid-parser.core-55f134dc.mjs → mermaid-parser.core-6eb44241.mjs} +160 -160
  71. package/mermaid-parser.core-BTS3sfcL-8c80284a.mjs +12810 -0
  72. package/{mindmap-definition-ALO5MXBD-938e2e65.mjs → mindmap-definition-ALO5MXBD-2fe3c748.mjs} +1 -1
  73. package/mindmap-definition-ALO5MXBD-B8q_1sIj-c3599d3c.mjs +3225 -0
  74. package/ordinal-DfAQgscy-1c8e46a9.mjs +65 -0
  75. package/package.json +2 -2
  76. package/packet-KVYON367-DcfdOX-U-afac932a.mjs +10 -0
  77. package/packet-KVYON367-c82af3fe.mjs +10 -0
  78. package/pie-R6RNRRYF-DKruFncB-d07f60c2.mjs +10 -0
  79. package/pie-R6RNRRYF-eb27797b.mjs +10 -0
  80. package/pieDiagram-IB7DONF6-Bijui6_Q-db9fdf3a.mjs +166 -0
  81. package/{pieDiagram-IB7DONF6-6a11673b.mjs → pieDiagram-IB7DONF6-e6863984.mjs} +36 -36
  82. package/{quadrantDiagram-7GDLP6J5-a4a4d9ac.mjs → quadrantDiagram-7GDLP6J5-88df12c2.mjs} +15 -15
  83. package/quadrantDiagram-7GDLP6J5-DzIzViUj-b13add98.mjs +1027 -0
  84. package/radar-MK3ICKWK-723229d0.mjs +10 -0
  85. package/radar-MK3ICKWK-D8wbkmr5-3165faf6.mjs +10 -0
  86. package/{requirementDiagram-KVF5MWMF-a7093c74.mjs → requirementDiagram-KVF5MWMF-7228051c.mjs} +50 -50
  87. package/requirementDiagram-KVF5MWMF-Hqsbdpfq-23374f24.mjs +853 -0
  88. package/{sankeyDiagram-QLVOVGJD-f4bcbb2d.mjs → sankeyDiagram-QLVOVGJD-00a31a99.mjs} +87 -87
  89. package/sankeyDiagram-QLVOVGJD-DGCeusqJ-8ca7e64d.mjs +826 -0
  90. package/{sequenceDiagram-X6HHIX6F-9071cfff.mjs → sequenceDiagram-X6HHIX6F-de203309.mjs} +3 -3
  91. package/sequenceDiagram-X6HHIX6F-kuEE9wSd-5f0ec5cd.mjs +2283 -0
  92. package/{stateDiagram-DGXRK772-fb22a7a5.mjs → stateDiagram-DGXRK772-2341237a.mjs} +48 -48
  93. package/stateDiagram-DGXRK772-Cq-Ce3WP-266efa7f.mjs +274 -0
  94. package/{stateDiagram-v2-YXO3MK2T-67326b76.mjs → stateDiagram-v2-YXO3MK2T-8c81deed.mjs} +5 -5
  95. package/stateDiagram-v2-YXO3MK2T-CplwFWn1-c0024e4e.mjs +18 -0
  96. package/style.css +10 -1
  97. package/timeline-definition-BDJGKUSR-USv5sZzx-22548912.mjs +806 -0
  98. package/{timeline-definition-BDJGKUSR-44f50d45.mjs → timeline-definition-BDJGKUSR-e615901b.mjs} +79 -79
  99. package/{xychartDiagram-VJFVF3MP-2df503f6.mjs → xychartDiagram-VJFVF3MP-9ad66a6b.mjs} +28 -28
  100. package/xychartDiagram-VJFVF3MP-CXCfFZBM-e5ca151e.mjs +1306 -0
  101. package/_basePickBy-12958109.mjs +0 -153
  102. package/arc-14f9a207.mjs +0 -85
  103. package/architecture-4AB2E3PP-bb512ddb.mjs +0 -10
  104. package/channel-7bd711b4.mjs +0 -5
  105. package/gitGraph-O2Q2CXLX-83cfcbef.mjs +0 -10
  106. package/index-f83d4b07.mjs +0 -97448
  107. package/info-4N47QTOZ-20cf90f5.mjs +0 -10
  108. package/katex-2e45926a.mjs +0 -11700
  109. package/packet-KVYON367-453a49e8.mjs +0 -10
  110. package/pie-R6RNRRYF-4d95c8dc.mjs +0 -10
  111. package/radar-MK3ICKWK-100e8fa4.mjs +0 -10
@@ -0,0 +1,10 @@
1
+ import { I as a, c } from "./mermaid-parser.core-6eb44241.mjs";
2
+ import "./index-433e2395.mjs";
3
+ import "vue";
4
+ import "./_baseUniq-8cd7fbc4.mjs";
5
+ import "./_basePickBy-e7598e72.mjs";
6
+ import "./clone-327a1426.mjs";
7
+ export {
8
+ a as InfoModule,
9
+ c as createInfoServices
10
+ };
@@ -0,0 +1,10 @@
1
+ import { z as a, q as f } from "./mermaid-parser.core-BTS3sfcL-8c80284a.mjs";
2
+ import "./index-433e2395.mjs";
3
+ import "vue";
4
+ import "./_baseUniq-DPnX6tpB-5eb6efbd.mjs";
5
+ import "./_basePickBy-DMehTBs0-8955b30b.mjs";
6
+ import "./clone-Csc9uFbU-6c4f28bd.mjs";
7
+ export {
8
+ a as InfoModule,
9
+ f as createInfoServices
10
+ };
@@ -1,9 +1,9 @@
1
- import { _ as e, l as s, H as n, k as i, I as p } from "./index-f83d4b07.mjs";
2
- import { p as g } from "./mermaid-parser.core-55f134dc.mjs";
1
+ import { bz as e, bM as s, c6 as n, bN as i, c7 as p } from "./index-433e2395.mjs";
2
+ import { p as g } from "./mermaid-parser.core-6eb44241.mjs";
3
3
  import "vue";
4
- import "./_baseUniq-2bcae05e.mjs";
5
- import "./_basePickBy-12958109.mjs";
6
- import "./clone-1f18a17f.mjs";
4
+ import "./_baseUniq-8cd7fbc4.mjs";
5
+ import "./_basePickBy-e7598e72.mjs";
6
+ import "./clone-327a1426.mjs";
7
7
  var v = {
8
8
  parse: /* @__PURE__ */ e(async (r) => {
9
9
  const a = await g("info", r);
@@ -11,16 +11,16 @@ var v = {
11
11
  }, "parse")
12
12
  }, d = { version: p.version }, m = /* @__PURE__ */ e(() => d.version, "getVersion"), c = {
13
13
  getVersion: m
14
- }, l = /* @__PURE__ */ e((r, a, o) => {
14
+ }, f = /* @__PURE__ */ e((r, a, o) => {
15
15
  s.debug(`rendering info diagram
16
16
  ` + r);
17
17
  const t = n(a);
18
18
  i(t, 100, 400, !0), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${o}`);
19
- }, "draw"), f = { draw: l }, k = {
19
+ }, "draw"), l = { draw: f }, S = {
20
20
  parser: v,
21
21
  db: c,
22
- renderer: f
22
+ renderer: l
23
23
  };
24
24
  export {
25
- k as diagram
25
+ S as diagram
26
26
  };
@@ -0,0 +1,26 @@
1
+ import { v as t, J as s, a3 as i, X as n, a4 as d } from "./index-433e2395.mjs";
2
+ import { u as p } from "./mermaid-parser.core-BTS3sfcL-8c80284a.mjs";
3
+ import "vue";
4
+ import "./_baseUniq-DPnX6tpB-5eb6efbd.mjs";
5
+ import "./_basePickBy-DMehTBs0-8955b30b.mjs";
6
+ import "./clone-Csc9uFbU-6c4f28bd.mjs";
7
+ var m = {
8
+ parse: /* @__PURE__ */ t(async (r) => {
9
+ const a = await p("info", r);
10
+ s.debug(a);
11
+ }, "parse")
12
+ }, v = { version: d.version }, g = /* @__PURE__ */ t(() => v.version, "getVersion"), c = {
13
+ getVersion: g
14
+ }, f = /* @__PURE__ */ t((r, a, o) => {
15
+ s.debug(`rendering info diagram
16
+ ` + r);
17
+ const e = i(a);
18
+ n(e, 100, 400, !0), e.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${o}`);
19
+ }, "draw"), b = { draw: f }, X = {
20
+ parser: m,
21
+ db: c,
22
+ renderer: b
23
+ };
24
+ export {
25
+ X as diagram
26
+ };
@@ -0,0 +1,16 @@
1
+ function a(e, t) {
2
+ switch (arguments.length) {
3
+ case 0:
4
+ break;
5
+ case 1:
6
+ this.range(e);
7
+ break;
8
+ default:
9
+ this.range(t).domain(e);
10
+ break;
11
+ }
12
+ return this;
13
+ }
14
+ export {
15
+ a as t
16
+ };
@@ -1,6 +1,6 @@
1
- import { d as ft, f as gt, g as at, b as mt } from "./chunk-D6G4REZN-472adc5b.mjs";
2
- import { _ as i, d as A, n as xt, o as kt, s as _t, g as vt, c as bt, b as wt, t as Tt, j as W, k as St } from "./index-f83d4b07.mjs";
3
- import { d as tt } from "./arc-14f9a207.mjs";
1
+ import { d as ft, f as gt, g as at, b as mt } from "./chunk-D6G4REZN-11c52918.mjs";
2
+ import { bz as i, bF as A, bP as xt, bQ as kt, bB as _t, bC as bt, bE as vt, bD as wt, bW as Tt, bL as G, bN as St } from "./index-433e2395.mjs";
3
+ import { d as tt } from "./arc-8909f880.mjs";
4
4
  import "vue";
5
5
  var H = function() {
6
6
  var t = /* @__PURE__ */ i(function(g, r, a, l) {
@@ -62,7 +62,7 @@ var H = function() {
62
62
  }
63
63
  }, "parseError"),
64
64
  parse: /* @__PURE__ */ i(function(r) {
65
- var a = this, l = [0], y = [], f = [null], o = [], S = this.table, _ = "", B = 0, J = 0, ut = 2, K = 1, yt = o.slice.call(arguments, 1), k = Object.create(this.lexer), E = { yy: {} };
65
+ var a = this, l = [0], y = [], f = [null], o = [], S = this.table, _ = "", B = 0, Z = 0, ut = 2, J = 1, yt = o.slice.call(arguments, 1), k = Object.create(this.lexer), E = { yy: {} };
66
66
  for (var O in this.yy)
67
67
  Object.prototype.hasOwnProperty.call(this.yy, O) && (E.yy[O] = this.yy[O]);
68
68
  k.setInput(r, E.yy), E.yy.lexer = k, E.yy.parser = this, typeof k.yylloc > "u" && (k.yylloc = {});
@@ -70,36 +70,36 @@ var H = function() {
70
70
  o.push(Y);
71
71
  var dt = k.options && k.options.ranges;
72
72
  typeof E.yy.parseError == "function" ? this.parseError = E.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
73
- function pt(b) {
74
- l.length = l.length - 2 * b, f.length = f.length - b, o.length = o.length - b;
73
+ function pt(v) {
74
+ l.length = l.length - 2 * v, f.length = f.length - v, o.length = o.length - v;
75
75
  }
76
76
  i(pt, "popStack");
77
- function Q() {
78
- var b;
79
- return b = y.pop() || k.lex() || K, typeof b != "number" && (b instanceof Array && (y = b, b = y.pop()), b = a.symbols_[b] || b), b;
77
+ function K() {
78
+ var v;
79
+ return v = y.pop() || k.lex() || J, typeof v != "number" && (v instanceof Array && (y = v, v = y.pop()), v = a.symbols_[v] || v), v;
80
80
  }
81
- i(Q, "lex");
82
- for (var v, P, w, q, C = {}, j, $, D, N; ; ) {
83
- if (P = l[l.length - 1], this.defaultActions[P] ? w = this.defaultActions[P] : ((v === null || typeof v > "u") && (v = Q()), w = S[P] && S[P][v]), typeof w > "u" || !w.length || !w[0]) {
84
- var G = "";
85
- N = [];
86
- for (j in S[P])
87
- this.terminals_[j] && j > ut && N.push("'" + this.terminals_[j] + "'");
88
- k.showPosition ? G = "Parse error on line " + (B + 1) + `:
81
+ i(K, "lex");
82
+ for (var b, P, w, q, C = {}, N, $, D, j; ; ) {
83
+ if (P = l[l.length - 1], this.defaultActions[P] ? w = this.defaultActions[P] : ((b === null || typeof b > "u") && (b = K()), w = S[P] && S[P][b]), typeof w > "u" || !w.length || !w[0]) {
84
+ var W = "";
85
+ j = [];
86
+ for (N in S[P])
87
+ this.terminals_[N] && N > ut && j.push("'" + this.terminals_[N] + "'");
88
+ k.showPosition ? W = "Parse error on line " + (B + 1) + `:
89
89
  ` + k.showPosition() + `
90
- Expecting ` + N.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "Parse error on line " + (B + 1) + ": Unexpected " + (v == K ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(G, {
90
+ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : W = "Parse error on line " + (B + 1) + ": Unexpected " + (b == J ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(W, {
91
91
  text: k.match,
92
- token: this.terminals_[v] || v,
92
+ token: this.terminals_[b] || b,
93
93
  line: k.yylineno,
94
94
  loc: Y,
95
- expected: N
95
+ expected: j
96
96
  });
97
97
  }
98
98
  if (w[0] instanceof Array && w.length > 1)
99
- throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + v);
99
+ throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + b);
100
100
  switch (w[0]) {
101
101
  case 1:
102
- l.push(v), f.push(k.yytext), o.push(k.yylloc), l.push(w[1]), v = null, J = k.yyleng, _ = k.yytext, B = k.yylineno, Y = k.yylloc;
102
+ l.push(b), f.push(k.yytext), o.push(k.yylloc), l.push(w[1]), b = null, Z = k.yyleng, _ = k.yytext, B = k.yylineno, Y = k.yylloc;
103
103
  break;
104
104
  case 2:
105
105
  if ($ = this.productions_[w[1]][1], C.$ = f[f.length - $], C._$ = {
@@ -112,7 +112,7 @@ Expecting ` + N.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
112
112
  o[o.length - 1].range[1]
113
113
  ]), q = this.performAction.apply(C, [
114
114
  _,
115
- J,
115
+ Z,
116
116
  B,
117
117
  E.yy,
118
118
  w[1],
@@ -411,8 +411,8 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
411
411
  setDiagramTitle: xt,
412
412
  getDiagramTitle: kt,
413
413
  setAccTitle: _t,
414
- getAccTitle: vt,
415
- setAccDescription: bt,
414
+ getAccTitle: bt,
415
+ setAccDescription: vt,
416
416
  getAccDescription: wt,
417
417
  addSection: Et,
418
418
  getSections: Pt,
@@ -552,7 +552,7 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
552
552
  .actor-5 {
553
553
  ${t.actor5 ? `fill: ${t.actor5}` : ""};
554
554
  }
555
- `, "getStyles"), Lt = Rt, Z = /* @__PURE__ */ i(function(t, e) {
555
+ `, "getStyles"), Lt = Rt, Q = /* @__PURE__ */ i(function(t, e) {
556
556
  return ft(t, e);
557
557
  }, "drawRect"), Bt = /* @__PURE__ */ i(function(t, e) {
558
558
  const c = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), s = t.append("g");
@@ -576,17 +576,17 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
576
576
  return n.attr("cx", e.cx), n.attr("cy", e.cy), n.attr("class", "actor-" + e.pos), n.attr("fill", e.fill), n.attr("stroke", e.stroke), n.attr("r", e.r), n.class !== void 0 && n.attr("class", n.class), e.title !== void 0 && n.append("title").text(e.title), n;
577
577
  }, "drawCircle"), ot = /* @__PURE__ */ i(function(t, e) {
578
578
  return gt(t, e);
579
- }, "drawText"), jt = /* @__PURE__ */ i(function(t, e) {
579
+ }, "drawText"), Nt = /* @__PURE__ */ i(function(t, e) {
580
580
  function n(s, u, h, p, d) {
581
581
  return s + "," + u + " " + (s + h) + "," + u + " " + (s + h) + "," + (u + p - d) + " " + (s + h - d * 1.2) + "," + (u + p) + " " + s + "," + (u + p);
582
582
  }
583
583
  i(n, "genPoints");
584
584
  const c = t.append("polygon");
585
585
  c.attr("points", n(e.x, e.y, 50, 20, 7)), c.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, ot(t, e);
586
- }, "drawLabel"), Nt = /* @__PURE__ */ i(function(t, e, n) {
586
+ }, "drawLabel"), jt = /* @__PURE__ */ i(function(t, e, n) {
587
587
  const c = t.append("g"), s = at();
588
588
  s.x = e.x, s.y = e.y, s.fill = e.fill, s.width = n.width * e.taskCount + // width of the tasks
589
- n.diagramMarginX * (e.taskCount - 1), s.height = n.height, s.class = "journey-section section-type-" + e.num, s.rx = 3, s.ry = 3, Z(c, s), ct(n)(
589
+ n.diagramMarginX * (e.taskCount - 1), s.height = n.height, s.class = "journey-section section-type-" + e.num, s.rx = 3, s.ry = 3, Q(c, s), ct(n)(
590
590
  e.text,
591
591
  c,
592
592
  s.x,
@@ -607,7 +607,7 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
607
607
  score: e.score
608
608
  });
609
609
  const h = at();
610
- h.x = e.x, h.y = e.y, h.fill = e.fill, h.width = n.width, h.height = n.height, h.class = "task task-type-" + e.num, h.rx = 3, h.ry = 3, Z(s, h);
610
+ h.x = e.x, h.y = e.y, h.fill = e.fill, h.width = n.width, h.height = n.height, h.class = "task task-type-" + e.num, h.rx = 3, h.ry = 3, Q(s, h);
611
611
  let p = e.x + 14;
612
612
  e.people.forEach((d) => {
613
613
  const x = e.actors[d].color, m = {
@@ -662,11 +662,11 @@ var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
662
662
  }(), Yt = /* @__PURE__ */ i(function(t) {
663
663
  t.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
664
664
  }, "initGraphics"), L = {
665
- drawRect: Z,
665
+ drawRect: Q,
666
666
  drawCircle: lt,
667
- drawSection: Nt,
667
+ drawSection: jt,
668
668
  drawText: ot,
669
- drawLabel: jt,
669
+ drawLabel: Nt,
670
670
  drawTask: zt,
671
671
  drawBackgroundRect: Ot,
672
672
  initGraphics: Yt
@@ -699,11 +699,11 @@ function ht(t) {
699
699
  });
700
700
  }
701
701
  i(ht, "drawActorLegend");
702
- var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n, c) {
702
+ var z = A().journey, I = z.leftMargin, Wt = /* @__PURE__ */ i(function(t, e, n, c) {
703
703
  const s = A().journey, u = A().securityLevel;
704
704
  let h;
705
- u === "sandbox" && (h = W("#i" + e));
706
- const p = u === "sandbox" ? W(h.nodes()[0].contentDocument.body) : W("body");
705
+ u === "sandbox" && (h = G("#i" + e));
706
+ const p = u === "sandbox" ? G(h.nodes()[0].contentDocument.body) : G("body");
707
707
  T.init();
708
708
  const d = p.select("#" + e);
709
709
  L.initGraphics(d);
@@ -716,7 +716,7 @@ var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n,
716
716
  color: s.actorColours[r % s.actorColours.length],
717
717
  position: r
718
718
  }, r++;
719
- }), ht(d), T.insert(0, 0, I, Object.keys(M).length * 50), Wt(d, x, 0);
719
+ }), ht(d), T.insert(0, 0, I, Object.keys(M).length * 50), Gt(d, x, 0);
720
720
  const a = T.getBounds();
721
721
  m && d.append("text").text(m).attr("x", I).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
722
722
  const l = a.stopy - a.starty + 2 * s.diagramMarginY, y = I + a.stopx + 2 * s.diagramMarginX;
@@ -768,7 +768,7 @@ var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n,
768
768
  getBounds: /* @__PURE__ */ i(function() {
769
769
  return this.data;
770
770
  }, "getBounds")
771
- }, X = z.sectionFills, it = z.sectionColours, Wt = /* @__PURE__ */ i(function(t, e, n) {
771
+ }, X = z.sectionFills, it = z.sectionColours, Gt = /* @__PURE__ */ i(function(t, e, n) {
772
772
  const c = A().journey;
773
773
  let s = "";
774
774
  const u = c.height * 2 + c.diagramMarginY, h = n + u;
@@ -796,8 +796,8 @@ var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n,
796
796
  }
797
797
  }, "drawTasks"), nt = {
798
798
  setConf: qt,
799
- draw: Gt
800
- }, Jt = {
799
+ draw: Wt
800
+ }, Zt = {
801
801
  parser: $t,
802
802
  db: rt,
803
803
  renderer: nt,
@@ -807,5 +807,5 @@ var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n,
807
807
  }, "init")
808
808
  };
809
809
  export {
810
- Jt as diagram
810
+ Zt as diagram
811
811
  };