@marimo-team/islands 0.14.11-dev2 → 0.14.11-dev21
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/{ConnectedDataExplorerComponent-Dl7Gx8nj.js → ConnectedDataExplorerComponent-B98UAJGl.js} +4 -4
- package/dist/{ImageComparisonComponent-IsA0pccG.js → ImageComparisonComponent-3rx-X1eA.js} +1 -1
- package/dist/{VegaLite-C3jfIIJl.js → VegaLite-bssctYsi.js} +6961 -7180
- package/dist/{_baseUniq-DXGCzwrs.js → _baseUniq-n5nuGCm-.js} +36 -36
- package/dist/{any-language-editor-BbtP_crK.js → any-language-editor-CTuUQiXP.js} +1 -1
- package/dist/{architectureDiagram-IEHRJDOE-B5UTatfK.js → architectureDiagram-NQ2NVSRB-Ghs-gTjF.js} +897 -894
- package/dist/assets/{worker-BcyuOSTi.js → save-worker-fI5ofStJ.js} +1076 -1649
- package/dist/assets/{save-worker-BIDtxCd1.js → worker-Bfk1FrzG.js} +1627 -1747
- package/dist/assets/worker-BldghCZh.js +3752 -0
- package/dist/{blockDiagram-JOT3LUYC-BsdaPVqe.js → blockDiagram-PHRCVELO-BJrdpvE8.js} +534 -522
- package/dist/{c4Diagram-VJAJSXHY-mAt84R4z.js → c4Diagram-6F6E4RAY-C3mvzJPu.js} +4 -4
- package/dist/{channel-BQIWHLpc.js → channel-Dv_KwBSx.js} +1 -1
- package/dist/{chunk-4BMEZGHF-CKIxJWxP.js → chunk-353BL4L5-DE1uUKLI.js} +1 -1
- package/dist/{chunk-D6G4REZN-CgGV16Ao.js → chunk-67H74DCK-BSe-uUSS.js} +1 -1
- package/dist/chunk-6OLS64BW-lmSfyWue.js +1383 -0
- package/dist/{chunk-XZIHB7SX-Bwue5JjE.js → chunk-AACKK3MU-DAmuROVD.js} +1 -1
- package/dist/chunk-BFAMUDN2-D9C6R9UM.js +8 -0
- package/dist/chunk-E2GYISFI-BzFDmP6o.js +19 -0
- package/dist/{chunk-A2AXSNBT-wMvlVMnZ.js → chunk-QEP2MXWD-BILXx23p.js} +30 -27
- package/dist/chunk-SKB7J2MH-CxMkQppY.js +20 -0
- package/dist/{classDiagram-GIVACNV2-DOmcKRwM.js → classDiagram-BGRH5UQR-BbYr5aD9.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-DOmcKRwM.js → classDiagram-v2-O24JOBDK-BbYr5aD9.js} +2 -2
- package/dist/{clone-PHSHUhb-.js → clone-DuBujAk0.js} +1 -1
- package/dist/{dagre-OKDRZEBW-D5HNBllU.js → dagre-FFZHY6LT-DO5nLpLx.js} +8 -8
- package/dist/{data-editor-Coz_zrsX.js → data-editor-C8yM5wyh.js} +213 -201
- package/dist/diagram-3EMPZRKU-B1rYMJMS.js +313 -0
- package/dist/diagram-5UYTHUR4-BUu8PsmE.js +137 -0
- package/dist/{diagram-SSKATNLV-BsO89QJN.js → diagram-ZTM2IBQH-lz_uZrYh.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-DWIMKTfS.js → erDiagram-R3QVA2FD-D_A2jrJV.js} +6 -5
- package/dist/{flowDiagram-4HSFHLVR-CnO0wmaL.js → flowDiagram-PKI6S5ZS-Bv6D_bIf.js} +283 -278
- package/dist/{ganttDiagram-APWFNJXF-otclLFL4.js → ganttDiagram-EK5VF46D-CbkaARm4.js} +453 -439
- package/dist/{gitGraphDiagram-7IBYFJ6S-C7F3RAja.js → gitGraphDiagram-GW3U2K7C-B8ZGoOT-.js} +35 -35
- package/dist/{graph-Btsdly6D.js → graph-txVVq_De.js} +3 -3
- package/dist/{index-BreCkhLm.js → index-BI6tloBb.js} +3 -3
- package/dist/{index-CcRF-HlA.js → index-CFJazcU-.js} +4 -4
- package/dist/{index-BGmzdYRo.js → index-OiR0LgXX.js} +6 -3
- package/dist/{index-z8OyYHEh.js → index-fJDj-gSp.js} +1 -1
- package/dist/index-pBmAzQJl.js +235 -0
- package/dist/{infoDiagram-PH2N3AL5-BwcXDzwE.js → infoDiagram-RLU2ROGC-DJw6nWp0.js} +5 -3
- package/dist/journeyDiagram-EWQZEKCU-1oCDdLcB.js +836 -0
- package/dist/{kanban-definition-NDS4AKOZ-3NJYjnpz.js → kanban-definition-ILFWEQ3N-nKJ02Ox0.js} +41 -39
- package/dist/{layout-qfivsCI_.js → layout-CbUwX9d6.js} +49 -49
- package/dist/{linear-D_Kojy5s.js → linear-sn9_bxtB.js} +22 -22
- package/dist/{main-DLuap1gp.js → main-D9-48wlP.js} +45053 -45130
- package/dist/main.js +1 -1
- package/dist/{mermaid-DCIbF0Rd.js → mermaid-CRRCnedu.js} +4925 -4853
- package/dist/min-CYaGuxZ4.js +80 -0
- package/dist/{mindmap-definition-ALO5MXBD-BtSBR7-c.js → mindmap-definition-CZNETY7S-CV62GMPJ.js} +3 -3
- package/dist/{pieDiagram-IB7DONF6-TiB_3g9z.js → pieDiagram-NIOCPIFQ-Bcs4p6kX.js} +3 -3
- package/dist/{quadrantDiagram-7GDLP6J5-B0DPjp7Z.js → quadrantDiagram-2OG54O6I-BlY5yea6.js} +2 -2
- package/dist/{react-plotly-BXWB3UQ5.js → react-plotly-B1SKP2B-.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-D_IlbRr_.js → requirementDiagram-SO3GGRV7-rmiJc5mh.js} +5 -4
- package/dist/{sankeyDiagram-QLVOVGJD-BHm9uvp_.js → sankeyDiagram-4UZDY2LN-TVzOLFCA.js} +11 -11
- package/dist/{sequenceDiagram-X6HHIX6F-3wcWWNtl.js → sequenceDiagram-ZIKVLSP4-POBNIgPB.js} +151 -149
- package/dist/{slides-component-JEGZbKgL.js → slides-component-5Y9DQzeV.js} +969 -962
- package/dist/stateDiagram-XX37X6EN-lR-7TG5f.js +264 -0
- package/dist/{stateDiagram-v2-YXO3MK2T-DTdt4vFc.js → stateDiagram-v2-GD6S3NHB-CYV2YCSY.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-DyZM4tB4.js → time-BytuUgXk.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-Of4cvbYH.js → timeline-definition-RI47OAVP-DOrNrVHk.js} +99 -102
- package/dist/{radar-MK3ICKWK-BMSp8zaN.js → treemap-FKARHQ26-BOli4yXg.js} +2469 -2330
- package/dist/{vega-component-Dwc_9OTG.js → vega-component-KZ-3GH6H.js} +21 -21
- package/dist/{xychartDiagram-VJFVF3MP-5Jc993Va.js → xychartDiagram-H2YORKM3-CUOFDcIy.js} +409 -375
- package/package.json +37 -37
- package/dist/assets/worker-Dz6PPEGc.js +0 -4115
- package/dist/chunk-AEK57VVT-BAi7QtEw.js +0 -1416
- package/dist/chunk-RZ5BOZE2-D7Ag0UF8.js +0 -24
- package/dist/diagram-VNBRO52H-CA8VTm7L.js +0 -126
- package/dist/journeyDiagram-U35MCT3I-Co4hTdu9.js +0 -809
- package/dist/min-CQBZldos.js +0 -80
- package/dist/stateDiagram-DGXRK772-DbH3Rdz4.js +0 -271
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as P, r as ln, o as W, q as j, C as A, u as D, v as fn } from "./timer-BYwnU4DF.js";
|
|
2
|
-
import { c as on, a as hn } from "./linear-
|
|
2
|
+
import { c as on, a as hn } from "./linear-sn9_bxtB.js";
|
|
3
3
|
import { i as bn } from "./init-DxzjmxYy.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a7 as gn, a8 as d, a9 as v, aa as k, ab as x, ac as F, ad as yn, ae as L, af as S, ag as R, ah as pn, ai as B, aj as K, ak as X, al as Z, am as $, an as E, ao as mn, ap as wn, aq as Mn, ar as dn, as as vn, at as kn, au as xn } from "./main-D9-48wlP.js";
|
|
5
5
|
function Wn(n, t) {
|
|
6
6
|
let i;
|
|
7
7
|
if (t === void 0)
|
package/dist/{timeline-definition-BDJGKUSR-Of4cvbYH.js → timeline-definition-RI47OAVP-DOrNrVHk.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as s, c as xt, l as E, d as j,
|
|
1
|
+
import { _ as s, c as xt, l as E, d as j, V as kt, W as vt, X as _t, Y as bt, D as wt, $ as St, z as Et } from "./mermaid-CRRCnedu.js";
|
|
2
2
|
import { d as nt } from "./arc-BXrety1g.js";
|
|
3
3
|
var Q = function() {
|
|
4
4
|
var n = /* @__PURE__ */ s(function(x, i, a, c) {
|
|
5
5
|
for (a = a || {}, c = x.length; c--; a[x[c]] = i) ;
|
|
6
6
|
return a;
|
|
7
|
-
}, "o"), t = [6, 8, 10, 11, 12, 14, 16, 17, 20, 21], e = [1, 9], l = [1, 10], r = [1, 11], d = [1, 12], h = [1, 13], f = [1, 16], m = [1, 17],
|
|
7
|
+
}, "o"), t = [6, 8, 10, 11, 12, 14, 16, 17, 20, 21], e = [1, 9], l = [1, 10], r = [1, 11], d = [1, 12], h = [1, 13], f = [1, 16], m = [1, 17], p = {
|
|
8
8
|
trace: /* @__PURE__ */ s(function() {
|
|
9
9
|
}, "trace"),
|
|
10
10
|
yy: {},
|
|
11
11
|
symbols_: { error: 2, start: 3, timeline: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, title: 11, acc_title: 12, acc_title_value: 13, acc_descr: 14, acc_descr_value: 15, acc_descr_multiline_value: 16, section: 17, period_statement: 18, event_statement: 19, period: 20, event: 21, $accept: 0, $end: 1 },
|
|
12
12
|
terminals_: { 2: "error", 4: "timeline", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 20: "period", 21: "event" },
|
|
13
13
|
productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [18, 1], [19, 1]],
|
|
14
|
-
performAction: /* @__PURE__ */ s(function(i, a, c,
|
|
14
|
+
performAction: /* @__PURE__ */ s(function(i, a, c, u, y, o, w) {
|
|
15
15
|
var v = o.length - 1;
|
|
16
16
|
switch (y) {
|
|
17
17
|
case 1:
|
|
@@ -31,23 +31,23 @@ var Q = function() {
|
|
|
31
31
|
this.$ = [];
|
|
32
32
|
break;
|
|
33
33
|
case 8:
|
|
34
|
-
|
|
34
|
+
u.getCommonDb().setDiagramTitle(o[v].substr(6)), this.$ = o[v].substr(6);
|
|
35
35
|
break;
|
|
36
36
|
case 9:
|
|
37
|
-
this.$ = o[v].trim(),
|
|
37
|
+
this.$ = o[v].trim(), u.getCommonDb().setAccTitle(this.$);
|
|
38
38
|
break;
|
|
39
39
|
case 10:
|
|
40
40
|
case 11:
|
|
41
|
-
this.$ = o[v].trim(),
|
|
41
|
+
this.$ = o[v].trim(), u.getCommonDb().setAccDescription(this.$);
|
|
42
42
|
break;
|
|
43
43
|
case 12:
|
|
44
|
-
|
|
44
|
+
u.addSection(o[v].substr(8)), this.$ = o[v].substr(8);
|
|
45
45
|
break;
|
|
46
46
|
case 15:
|
|
47
|
-
|
|
47
|
+
u.addTask(o[v], 0, ""), this.$ = o[v];
|
|
48
48
|
break;
|
|
49
49
|
case 16:
|
|
50
|
-
|
|
50
|
+
u.addEvent(o[v].substr(2)), this.$ = o[v];
|
|
51
51
|
break;
|
|
52
52
|
}
|
|
53
53
|
}, "anonymous"),
|
|
@@ -62,12 +62,12 @@ var Q = function() {
|
|
|
62
62
|
}
|
|
63
63
|
}, "parseError"),
|
|
64
64
|
parse: /* @__PURE__ */ s(function(i) {
|
|
65
|
-
var a = this, c = [0],
|
|
65
|
+
var a = this, c = [0], u = [], y = [null], o = [], w = this.table, v = "", N = 0, P = 0, V = 2, U = 1, H = o.slice.call(arguments, 1), g = Object.create(this.lexer), b = { yy: {} };
|
|
66
66
|
for (var L in this.yy)
|
|
67
67
|
Object.prototype.hasOwnProperty.call(this.yy, L) && (b.yy[L] = this.yy[L]);
|
|
68
68
|
g.setInput(i, b.yy), b.yy.lexer = g, b.yy.parser = this, typeof g.yylloc > "u" && (g.yylloc = {});
|
|
69
|
-
var
|
|
70
|
-
o.push(
|
|
69
|
+
var $ = g.yylloc;
|
|
70
|
+
o.push($);
|
|
71
71
|
var W = g.options && g.options.ranges;
|
|
72
72
|
typeof b.yy.parseError == "function" ? this.parseError = b.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
73
73
|
function Z(T) {
|
|
@@ -76,14 +76,14 @@ var Q = function() {
|
|
|
76
76
|
s(Z, "popStack");
|
|
77
77
|
function tt() {
|
|
78
78
|
var T;
|
|
79
|
-
return T =
|
|
79
|
+
return T = u.pop() || g.lex() || U, typeof T != "number" && (T instanceof Array && (u = T, T = u.pop()), T = a.symbols_[T] || T), T;
|
|
80
80
|
}
|
|
81
81
|
s(tt, "lex");
|
|
82
|
-
for (var S,
|
|
83
|
-
if (
|
|
82
|
+
for (var S, A, I, J, R = {}, B, M, et, O; ; ) {
|
|
83
|
+
if (A = c[c.length - 1], this.defaultActions[A] ? I = this.defaultActions[A] : ((S === null || typeof S > "u") && (S = tt()), I = w[A] && w[A][S]), typeof I > "u" || !I.length || !I[0]) {
|
|
84
84
|
var K = "";
|
|
85
85
|
O = [];
|
|
86
|
-
for (B in w[
|
|
86
|
+
for (B in w[A])
|
|
87
87
|
this.terminals_[B] && B > V && O.push("'" + this.terminals_[B] + "'");
|
|
88
88
|
g.showPosition ? K = "Parse error on line " + (N + 1) + `:
|
|
89
89
|
` + g.showPosition() + `
|
|
@@ -91,15 +91,15 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
|
|
|
91
91
|
text: g.match,
|
|
92
92
|
token: this.terminals_[S] || S,
|
|
93
93
|
line: g.yylineno,
|
|
94
|
-
loc:
|
|
94
|
+
loc: $,
|
|
95
95
|
expected: O
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
98
|
if (I[0] instanceof Array && I.length > 1)
|
|
99
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
99
|
+
throw new Error("Parse Error: multiple actions possible at state: " + A + ", token: " + S);
|
|
100
100
|
switch (I[0]) {
|
|
101
101
|
case 1:
|
|
102
|
-
c.push(S), y.push(g.yytext), o.push(g.yylloc), c.push(I[1]), S = null,
|
|
102
|
+
c.push(S), y.push(g.yytext), o.push(g.yylloc), c.push(I[1]), S = null, P = g.yyleng, v = g.yytext, N = g.yylineno, $ = g.yylloc;
|
|
103
103
|
break;
|
|
104
104
|
case 2:
|
|
105
105
|
if (M = this.productions_[I[1]][1], R.$ = y[y.length - M], R._$ = {
|
|
@@ -112,13 +112,13 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
|
|
|
112
112
|
o[o.length - 1].range[1]
|
|
113
113
|
]), J = this.performAction.apply(R, [
|
|
114
114
|
v,
|
|
115
|
-
|
|
115
|
+
P,
|
|
116
116
|
N,
|
|
117
117
|
b.yy,
|
|
118
118
|
I[1],
|
|
119
119
|
y,
|
|
120
120
|
o
|
|
121
|
-
].concat(
|
|
121
|
+
].concat(H)), typeof J < "u")
|
|
122
122
|
return J;
|
|
123
123
|
M && (c = c.slice(0, -1 * M * 2), y = y.slice(0, -1 * M), o = o.slice(0, -1 * M)), c.push(this.productions_[I[1]][0]), y.push(R.$), o.push(R._$), et = w[c[c.length - 2]][c[c.length - 1]], c.push(et);
|
|
124
124
|
break;
|
|
@@ -157,14 +157,14 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
|
|
|
157
157
|
unput: /* @__PURE__ */ s(function(i) {
|
|
158
158
|
var a = i.length, c = i.split(/(?:\r\n?|\n)/g);
|
|
159
159
|
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
|
|
160
|
-
var
|
|
160
|
+
var u = this.match.split(/(?:\r\n?|\n)/g);
|
|
161
161
|
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);
|
|
162
162
|
var y = this.yylloc.range;
|
|
163
163
|
return this.yylloc = {
|
|
164
164
|
first_line: this.yylloc.first_line,
|
|
165
165
|
last_line: this.yylineno + 1,
|
|
166
166
|
first_column: this.yylloc.first_column,
|
|
167
|
-
last_column: c ? (c.length ===
|
|
167
|
+
last_column: c ? (c.length === u.length ? this.yylloc.first_column : 0) + u[u.length - c.length].length - c[0].length : this.yylloc.first_column - a
|
|
168
168
|
}, this.options.ranges && (this.yylloc.range = [y[0], y[0] + this.yyleng - a]), this.yyleng = this.yytext.length, this;
|
|
169
169
|
}, "unput"),
|
|
170
170
|
// When called from action, caches matched text and appends it on next action
|
|
@@ -206,7 +206,7 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
|
|
|
206
206
|
}, "showPosition"),
|
|
207
207
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
208
208
|
test_match: /* @__PURE__ */ s(function(i, a) {
|
|
209
|
-
var c,
|
|
209
|
+
var c, u, y;
|
|
210
210
|
if (this.options.backtrack_lexer && (y = {
|
|
211
211
|
yylineno: this.yylineno,
|
|
212
212
|
yylloc: {
|
|
@@ -226,11 +226,11 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
|
|
|
226
226
|
yy: this.yy,
|
|
227
227
|
conditionStack: this.conditionStack.slice(0),
|
|
228
228
|
done: this.done
|
|
229
|
-
}, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))),
|
|
229
|
+
}, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))), u = i[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
|
|
230
230
|
first_line: this.yylloc.last_line,
|
|
231
231
|
last_line: this.yylineno + 1,
|
|
232
232
|
first_column: this.yylloc.last_column,
|
|
233
|
-
last_column:
|
|
233
|
+
last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
|
|
234
234
|
}, 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 = false, this._backtrack = false, this._input = this._input.slice(i[0].length), this.matched += i[0], c = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), c)
|
|
235
235
|
return c;
|
|
236
236
|
if (this._backtrack) {
|
|
@@ -245,11 +245,11 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
|
|
|
245
245
|
if (this.done)
|
|
246
246
|
return this.EOF;
|
|
247
247
|
this._input || (this.done = true);
|
|
248
|
-
var i, a, c,
|
|
248
|
+
var i, a, c, u;
|
|
249
249
|
this._more || (this.yytext = "", this.match = "");
|
|
250
250
|
for (var y = this._currentRules(), o = 0; o < y.length; o++)
|
|
251
251
|
if (c = this._input.match(this.rules[y[o]]), c && (!a || c[0].length > a[0].length)) {
|
|
252
|
-
if (a = c,
|
|
252
|
+
if (a = c, u = o, this.options.backtrack_lexer) {
|
|
253
253
|
if (i = this.test_match(c, y[o]), i !== false)
|
|
254
254
|
return i;
|
|
255
255
|
if (this._backtrack) {
|
|
@@ -260,7 +260,7 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
|
|
|
260
260
|
} else if (!this.options.flex)
|
|
261
261
|
break;
|
|
262
262
|
}
|
|
263
|
-
return a ? (i = this.test_match(a, y[
|
|
263
|
+
return a ? (i = this.test_match(a, y[u]), i !== false ? i : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
264
264
|
` + this.showPosition(), {
|
|
265
265
|
text: "",
|
|
266
266
|
token: null,
|
|
@@ -298,8 +298,8 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
|
|
|
298
298
|
return this.conditionStack.length;
|
|
299
299
|
}, "stateStackSize"),
|
|
300
300
|
options: { "case-insensitive": true },
|
|
301
|
-
performAction: /* @__PURE__ */ s(function(a, c,
|
|
302
|
-
switch (
|
|
301
|
+
performAction: /* @__PURE__ */ s(function(a, c, u, y) {
|
|
302
|
+
switch (u) {
|
|
303
303
|
case 0:
|
|
304
304
|
break;
|
|
305
305
|
case 1:
|
|
@@ -342,16 +342,16 @@ Expecting ` + O.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : K = "
|
|
|
342
342
|
return "INVALID";
|
|
343
343
|
}
|
|
344
344
|
}, "anonymous"),
|
|
345
|
-
rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:timeline\b)/i, /^(?:title\s[^\n]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^:\n]+)/i, /^(?::\s[^:\n]+)/i, /^(?:[^#:\n]+)/i, /^(?:$)/i, /^(?:.)/i],
|
|
345
|
+
rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:timeline\b)/i, /^(?:title\s[^\n]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^:\n]+)/i, /^(?::\s(?:[^:\n]|:(?!\s))+)/i, /^(?:[^#:\n]+)/i, /^(?:$)/i, /^(?:.)/i],
|
|
346
346
|
conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: false }, acc_descr: { rules: [10], inclusive: false }, acc_title: { rules: [8], inclusive: false }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18], inclusive: true } }
|
|
347
347
|
};
|
|
348
348
|
return x;
|
|
349
349
|
}();
|
|
350
|
-
|
|
350
|
+
p.lexer = k;
|
|
351
351
|
function _() {
|
|
352
352
|
this.yy = {};
|
|
353
353
|
}
|
|
354
|
-
return s(_, "Parser"), _.prototype =
|
|
354
|
+
return s(_, "Parser"), _.prototype = p, p.Parser = _, new _();
|
|
355
355
|
}();
|
|
356
356
|
Q.parser = Q;
|
|
357
357
|
var Tt = Q, at = {};
|
|
@@ -425,20 +425,20 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
|
|
|
425
425
|
const l = n.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), r = n.append("g");
|
|
426
426
|
r.append("circle").attr("cx", t.cx - 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), r.append("circle").attr("cx", t.cx + 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
|
|
427
427
|
function d(m) {
|
|
428
|
-
const
|
|
429
|
-
m.append("path").attr("class", "mouth").attr("d",
|
|
428
|
+
const p = nt().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
|
|
429
|
+
m.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
|
|
430
430
|
}
|
|
431
431
|
s(d, "smile");
|
|
432
432
|
function h(m) {
|
|
433
|
-
const
|
|
434
|
-
m.append("path").attr("class", "mouth").attr("d",
|
|
433
|
+
const p = nt().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
|
|
434
|
+
m.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
|
|
435
435
|
}
|
|
436
436
|
s(h, "sad");
|
|
437
437
|
function f(m) {
|
|
438
438
|
m.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
|
|
439
439
|
}
|
|
440
440
|
return s(f, "ambivalent"), t.score > 3 ? d(r) : t.score < 3 ? h(r) : f(r), l;
|
|
441
|
-
}, "drawFace"),
|
|
441
|
+
}, "drawFace"), $t = /* @__PURE__ */ s(function(n, t) {
|
|
442
442
|
const e = n.append("circle");
|
|
443
443
|
return e.attr("cx", t.cx), e.attr("cy", t.cy), e.attr("class", "actor-" + t.pos), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("r", t.r), e.class !== void 0 && e.attr("class", e.class), t.title !== void 0 && e.append("title").text(t.title), e;
|
|
444
444
|
}, "drawCircle"), ft = /* @__PURE__ */ s(function(n, t) {
|
|
@@ -446,14 +446,14 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
|
|
|
446
446
|
l.attr("x", t.x), l.attr("y", t.y), l.attr("class", "legend"), l.style("text-anchor", t.anchor), t.class !== void 0 && l.attr("class", t.class);
|
|
447
447
|
const r = l.append("tspan");
|
|
448
448
|
return r.attr("x", t.x + t.textMargin * 2), r.text(e), l;
|
|
449
|
-
}, "drawText"),
|
|
449
|
+
}, "drawText"), Mt = /* @__PURE__ */ s(function(n, t) {
|
|
450
450
|
function e(r, d, h, f, m) {
|
|
451
451
|
return r + "," + d + " " + (r + h) + "," + d + " " + (r + h) + "," + (d + f - m) + " " + (r + h - m * 1.2) + "," + (d + f) + " " + r + "," + (d + f);
|
|
452
452
|
}
|
|
453
453
|
s(e, "genPoints");
|
|
454
454
|
const l = n.append("polygon");
|
|
455
455
|
l.attr("points", e(t.x, t.y, 50, 20, 7)), l.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, ft(n, t);
|
|
456
|
-
}, "drawLabel"),
|
|
456
|
+
}, "drawLabel"), Ht = /* @__PURE__ */ s(function(n, t, e) {
|
|
457
457
|
const l = n.append("g"), r = Y();
|
|
458
458
|
r.x = t.x, r.y = t.y, r.fill = t.fill, r.width = e.width, r.height = e.height, r.class = "journey-section section-type-" + t.num, r.rx = 3, r.ry = 3, q(l, r), mt(e)(
|
|
459
459
|
t.text,
|
|
@@ -466,7 +466,7 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
|
|
|
466
466
|
e,
|
|
467
467
|
t.colour
|
|
468
468
|
);
|
|
469
|
-
}, "drawSection"), it = -1,
|
|
469
|
+
}, "drawSection"), it = -1, Pt = /* @__PURE__ */ s(function(n, t, e) {
|
|
470
470
|
const l = t.x + e.width / 2, r = n.append("g");
|
|
471
471
|
it++;
|
|
472
472
|
const d = 300 + 5 * 30;
|
|
@@ -487,7 +487,7 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
|
|
|
487
487
|
e,
|
|
488
488
|
t.colour
|
|
489
489
|
);
|
|
490
|
-
}, "drawTask"),
|
|
490
|
+
}, "drawTask"), At = /* @__PURE__ */ s(function(n, t) {
|
|
491
491
|
q(n, {
|
|
492
492
|
x: t.startx,
|
|
493
493
|
y: t.starty,
|
|
@@ -496,7 +496,7 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
|
|
|
496
496
|
fill: t.fill,
|
|
497
497
|
class: "rect"
|
|
498
498
|
}).lower();
|
|
499
|
-
}, "drawBackgroundRect"),
|
|
499
|
+
}, "drawBackgroundRect"), Ct = /* @__PURE__ */ s(function() {
|
|
500
500
|
return {
|
|
501
501
|
x: 0,
|
|
502
502
|
y: 0,
|
|
@@ -519,22 +519,22 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
|
|
|
519
519
|
ry: 0
|
|
520
520
|
};
|
|
521
521
|
}, "getNoteRect"), mt = /* @__PURE__ */ function() {
|
|
522
|
-
function n(r, d, h, f, m,
|
|
523
|
-
const x = d.append("text").attr("x", h + m / 2).attr("y", f +
|
|
522
|
+
function n(r, d, h, f, m, p, k, _) {
|
|
523
|
+
const x = d.append("text").attr("x", h + m / 2).attr("y", f + p / 2 + 5).style("font-color", _).style("text-anchor", "middle").text(r);
|
|
524
524
|
l(x, k);
|
|
525
525
|
}
|
|
526
526
|
s(n, "byText");
|
|
527
|
-
function t(r, d, h, f, m,
|
|
527
|
+
function t(r, d, h, f, m, p, k, _, x) {
|
|
528
528
|
const { taskFontSize: i, taskFontFamily: a } = _, c = r.split(/<br\s*\/?>/gi);
|
|
529
|
-
for (let
|
|
530
|
-
const y =
|
|
531
|
-
o.append("tspan").attr("x", h + m / 2).attr("dy", y).text(c[
|
|
529
|
+
for (let u = 0; u < c.length; u++) {
|
|
530
|
+
const y = u * i - i * (c.length - 1) / 2, o = d.append("text").attr("x", h + m / 2).attr("y", f).attr("fill", x).style("text-anchor", "middle").style("font-size", i).style("font-family", a);
|
|
531
|
+
o.append("tspan").attr("x", h + m / 2).attr("dy", y).text(c[u]), o.attr("y", f + p / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), l(o, k);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
s(t, "byTspan");
|
|
535
|
-
function e(r, d, h, f, m,
|
|
536
|
-
const x = d.append("switch"), a = x.append("foreignObject").attr("x", h).attr("y", f).attr("width", m).attr("height",
|
|
537
|
-
a.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(r), t(r, x, h, f, m,
|
|
535
|
+
function e(r, d, h, f, m, p, k, _) {
|
|
536
|
+
const x = d.append("switch"), a = x.append("foreignObject").attr("x", h).attr("y", f).attr("width", m).attr("height", p).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
|
|
537
|
+
a.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(r), t(r, x, h, f, m, p, k, _), l(a, k);
|
|
538
538
|
}
|
|
539
539
|
s(e, "byFo");
|
|
540
540
|
function l(r, d) {
|
|
@@ -549,9 +549,9 @@ var z = "", lt = 0, X = [], G = [], F = [], ot = /* @__PURE__ */ s(() => St, "ge
|
|
|
549
549
|
}, "initGraphics");
|
|
550
550
|
function D(n, t) {
|
|
551
551
|
n.each(function() {
|
|
552
|
-
var e = j(this), l = e.text().split(/(\s+|<br>)/).reverse(), r, d = [], h = 1.1, f = e.attr("y"), m = parseFloat(e.attr("dy")),
|
|
552
|
+
var e = j(this), l = e.text().split(/(\s+|<br>)/).reverse(), r, d = [], h = 1.1, f = e.attr("y"), m = parseFloat(e.attr("dy")), p = e.text(null).append("tspan").attr("x", 0).attr("y", f).attr("dy", m + "em");
|
|
553
553
|
for (let k = 0; k < l.length; k++)
|
|
554
|
-
r = l[l.length - 1 - k], d.push(r),
|
|
554
|
+
r = l[l.length - 1 - k], d.push(r), p.text(d.join(" ").trim()), (p.node().getComputedTextLength() > t || r === "<br>") && (d.pop(), p.text(d.join(" ").trim()), r === "<br>" ? d = [""] : d = [r], p = e.append("tspan").attr("x", 0).attr("y", f).attr("dy", h + "em").text(r));
|
|
555
555
|
});
|
|
556
556
|
}
|
|
557
557
|
s(D, "wrap");
|
|
@@ -562,8 +562,8 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
562
562
|
"class",
|
|
563
563
|
(t.class ? t.class + " " : "") + "timeline-node " + ("section-" + r)
|
|
564
564
|
);
|
|
565
|
-
const h = d.append("g"), f = d.append("g"),
|
|
566
|
-
return t.height =
|
|
565
|
+
const h = d.append("g"), f = d.append("g"), p = f.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(D, t.width).node().getBBox(), k = ((_a = l.fontSize) == null ? void 0 : _a.replace) ? l.fontSize.replace("px", "") : l.fontSize;
|
|
566
|
+
return t.height = p.height + k * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, f.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), Vt(h, t, r, l), t;
|
|
567
567
|
}, "drawNode"), Ft = /* @__PURE__ */ s(function(n, t, e) {
|
|
568
568
|
var _a;
|
|
569
569
|
const l = n.append("g"), d = l.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(D, t.width).node().getBBox(), h = ((_a = e.fontSize) == null ? void 0 : _a.replace) ? e.fontSize.replace("px", "") : e.fontSize;
|
|
@@ -573,15 +573,15 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
573
573
|
"d",
|
|
574
574
|
`M0 ${t.height - 5} v${-t.height + 2 * 5} q0,-5 5,-5 h${t.width - 2 * 5} q5,0 5,5 v${t.height - 5} H0 Z`
|
|
575
575
|
), n.append("line").attr("class", "node-line-" + e).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
|
|
576
|
-
}, "defaultBkg"),
|
|
576
|
+
}, "defaultBkg"), C = {
|
|
577
577
|
drawRect: q,
|
|
578
|
-
drawCircle:
|
|
579
|
-
drawSection:
|
|
578
|
+
drawCircle: $t,
|
|
579
|
+
drawSection: Ht,
|
|
580
580
|
drawText: ft,
|
|
581
|
-
drawLabel:
|
|
582
|
-
drawTask:
|
|
583
|
-
drawBackgroundRect:
|
|
584
|
-
getTextObj:
|
|
581
|
+
drawLabel: Mt,
|
|
582
|
+
drawTask: Pt,
|
|
583
|
+
drawBackgroundRect: At,
|
|
584
|
+
getTextObj: Ct,
|
|
585
585
|
getNoteRect: Y,
|
|
586
586
|
initGraphics: Rt,
|
|
587
587
|
drawNode: zt,
|
|
@@ -593,39 +593,39 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
593
593
|
const h = r.securityLevel;
|
|
594
594
|
let f;
|
|
595
595
|
h === "sandbox" && (f = j("#i" + t));
|
|
596
|
-
const
|
|
597
|
-
|
|
596
|
+
const p = (h === "sandbox" ? j(f.nodes()[0].contentDocument.body) : j("body")).select("#" + t);
|
|
597
|
+
p.append("g");
|
|
598
598
|
const k = l.db.getTasks(), _ = l.db.getCommonDb().getDiagramTitle();
|
|
599
|
-
E.debug("task", k),
|
|
599
|
+
E.debug("task", k), C.initGraphics(p);
|
|
600
600
|
const x = l.db.getSections();
|
|
601
601
|
E.debug("sections", x);
|
|
602
|
-
let i = 0, a = 0, c = 0,
|
|
603
|
-
|
|
602
|
+
let i = 0, a = 0, c = 0, u = 0, y = 50 + d, o = 50;
|
|
603
|
+
u = 50;
|
|
604
604
|
let w = 0, v = true;
|
|
605
|
-
x.forEach(function(
|
|
605
|
+
x.forEach(function(H) {
|
|
606
606
|
const g = {
|
|
607
607
|
number: w,
|
|
608
|
-
descr:
|
|
608
|
+
descr: H,
|
|
609
609
|
section: w,
|
|
610
610
|
width: 150,
|
|
611
611
|
padding: 20,
|
|
612
612
|
maxHeight: i
|
|
613
|
-
}, b =
|
|
613
|
+
}, b = C.getVirtualNodeHeight(p, g, r);
|
|
614
614
|
E.debug("sectionHeight before draw", b), i = Math.max(i, b + 20);
|
|
615
615
|
});
|
|
616
|
-
let N = 0,
|
|
616
|
+
let N = 0, P = 0;
|
|
617
617
|
E.debug("tasks.length", k.length);
|
|
618
|
-
for (const [
|
|
618
|
+
for (const [H, g] of k.entries()) {
|
|
619
619
|
const b = {
|
|
620
|
-
number:
|
|
620
|
+
number: H,
|
|
621
621
|
descr: g,
|
|
622
622
|
section: g.section,
|
|
623
623
|
width: 150,
|
|
624
624
|
padding: 20,
|
|
625
625
|
maxHeight: a
|
|
626
|
-
}, L =
|
|
626
|
+
}, L = C.getVirtualNodeHeight(p, b, r);
|
|
627
627
|
E.debug("taskHeight before draw", L), a = Math.max(a, L + 20), N = Math.max(N, g.events.length);
|
|
628
|
-
let
|
|
628
|
+
let $ = 0;
|
|
629
629
|
for (const W of g.events) {
|
|
630
630
|
const Z = {
|
|
631
631
|
descr: W,
|
|
@@ -635,23 +635,23 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
635
635
|
padding: 20,
|
|
636
636
|
maxHeight: 50
|
|
637
637
|
};
|
|
638
|
-
|
|
638
|
+
$ += C.getVirtualNodeHeight(p, Z, r);
|
|
639
639
|
}
|
|
640
|
-
|
|
640
|
+
g.events.length > 0 && ($ += (g.events.length - 1) * 10), P = Math.max(P, $);
|
|
641
641
|
}
|
|
642
|
-
E.debug("maxSectionHeight before draw", i), E.debug("maxTaskHeight before draw", a), x && x.length > 0 ? x.forEach((
|
|
643
|
-
const g = k.filter((W) => W.section ===
|
|
642
|
+
E.debug("maxSectionHeight before draw", i), E.debug("maxTaskHeight before draw", a), x && x.length > 0 ? x.forEach((H) => {
|
|
643
|
+
const g = k.filter((W) => W.section === H), b = {
|
|
644
644
|
number: w,
|
|
645
|
-
descr:
|
|
645
|
+
descr: H,
|
|
646
646
|
section: w,
|
|
647
647
|
width: 200 * Math.max(g.length, 1) - 50,
|
|
648
648
|
padding: 20,
|
|
649
649
|
maxHeight: i
|
|
650
650
|
};
|
|
651
651
|
E.debug("sectionNode", b);
|
|
652
|
-
const L =
|
|
653
|
-
E.debug("sectionNode output",
|
|
654
|
-
|
|
652
|
+
const L = p.append("g"), $ = C.drawNode(L, b, w, r);
|
|
653
|
+
E.debug("sectionNode output", $), L.attr("transform", `translate(${y}, ${u})`), o += i + 50, g.length > 0 && st(
|
|
654
|
+
p,
|
|
655
655
|
g,
|
|
656
656
|
w,
|
|
657
657
|
y,
|
|
@@ -659,12 +659,12 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
659
659
|
a,
|
|
660
660
|
r,
|
|
661
661
|
N,
|
|
662
|
-
|
|
662
|
+
P,
|
|
663
663
|
i,
|
|
664
664
|
false
|
|
665
|
-
), y += 200 * Math.max(g.length, 1), o =
|
|
665
|
+
), y += 200 * Math.max(g.length, 1), o = u, w++;
|
|
666
666
|
}) : (v = false, st(
|
|
667
|
-
|
|
667
|
+
p,
|
|
668
668
|
k,
|
|
669
669
|
w,
|
|
670
670
|
y,
|
|
@@ -672,18 +672,18 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
672
672
|
a,
|
|
673
673
|
r,
|
|
674
674
|
N,
|
|
675
|
-
|
|
675
|
+
P,
|
|
676
676
|
i,
|
|
677
677
|
true
|
|
678
678
|
));
|
|
679
|
-
const V =
|
|
680
|
-
E.debug("bounds", V), _ &&
|
|
679
|
+
const V = p.node().getBBox();
|
|
680
|
+
E.debug("bounds", V), _ && p.append("text").text(_).attr("x", V.width / 2 - d).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), c = v ? i + a + 150 : a + 100, p.append("g").attr("class", "lineWrapper").append("line").attr("x1", d).attr("y1", c).attr("x2", V.width + 3 * d).attr("y2", c).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), kt(
|
|
681
681
|
void 0,
|
|
682
|
-
|
|
682
|
+
p,
|
|
683
683
|
((_a = r.timeline) == null ? void 0 : _a.padding) ?? 50,
|
|
684
684
|
((_b = r.timeline) == null ? void 0 : _b.useMaxWidth) ?? false
|
|
685
685
|
);
|
|
686
|
-
}, "draw"), st = /* @__PURE__ */ s(function(n, t, e, l, r, d, h, f, m,
|
|
686
|
+
}, "draw"), st = /* @__PURE__ */ s(function(n, t, e, l, r, d, h, f, m, p, k) {
|
|
687
687
|
var _a;
|
|
688
688
|
for (const _ of t) {
|
|
689
689
|
const x = {
|
|
@@ -695,14 +695,11 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
695
695
|
maxHeight: d
|
|
696
696
|
};
|
|
697
697
|
E.debug("taskNode", x);
|
|
698
|
-
const i = n.append("g").attr("class", "taskWrapper"), c =
|
|
698
|
+
const i = n.append("g").attr("class", "taskWrapper"), c = C.drawNode(i, x, e, h).height;
|
|
699
699
|
if (E.debug("taskHeight after draw", c), i.attr("transform", `translate(${l}, ${r})`), d = Math.max(d, c), _.events) {
|
|
700
|
-
const
|
|
700
|
+
const u = n.append("g").attr("class", "lineWrapper");
|
|
701
701
|
let y = d;
|
|
702
|
-
r += 100, y = y + Bt(n, _.events, e, l, r, h), r -= 100,
|
|
703
|
-
"y2",
|
|
704
|
-
r + d + (k ? d : u) + m + 120
|
|
705
|
-
).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5");
|
|
702
|
+
r += 100, y = y + Bt(n, _.events, e, l, r, h), r -= 100, u.append("line").attr("x1", l + 190 / 2).attr("y1", r + d).attr("x2", l + 190 / 2).attr("y2", r + d + 100 + m + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5");
|
|
706
703
|
}
|
|
707
704
|
l = l + 200, k && !((_a = h.timeline) == null ? void 0 : _a.disableMulticolor) && e++;
|
|
708
705
|
}
|
|
@@ -712,7 +709,7 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
712
709
|
const f = r;
|
|
713
710
|
r = r + 100;
|
|
714
711
|
for (const m of t) {
|
|
715
|
-
const
|
|
712
|
+
const p = {
|
|
716
713
|
descr: m,
|
|
717
714
|
section: e,
|
|
718
715
|
number: e,
|
|
@@ -720,8 +717,8 @@ var zt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
720
717
|
padding: 20,
|
|
721
718
|
maxHeight: 50
|
|
722
719
|
};
|
|
723
|
-
E.debug("eventNode",
|
|
724
|
-
const k = n.append("g").attr("class", "eventWrapper"), x =
|
|
720
|
+
E.debug("eventNode", p);
|
|
721
|
+
const k = n.append("g").attr("class", "eventWrapper"), x = C.drawNode(k, p, e, d).height;
|
|
725
722
|
h = h + x, k.attr("transform", `translate(${l}, ${r})`), r = r + 10 + x;
|
|
726
723
|
}
|
|
727
724
|
return r = f, h;
|