@digipair/skill-web-chatbot 0.113.1 → 0.114.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/README.md +7 -0
- package/{SAP-icons.cjs.js → dist/SAP-icons.cjs.js} +1 -1
- package/{SAP-icons.cjs2.js → dist/SAP-icons.cjs2.js} +1 -1
- package/{arc-d1f6357e.esm.js → dist/arc-d1f6357e.esm.js} +1 -1
- package/dist/array-2ff2c7a6.cjs.js +11 -0
- package/dist/array-2ff2c7a6.esm.js +9 -0
- package/{blockDiagram-5dc23a45.cjs.js → dist/blockDiagram-5dc23a45.cjs.js} +35 -40
- package/{blockDiagram-5dc23a45.esm.js → dist/blockDiagram-5dc23a45.esm.js} +36 -41
- package/{c4Diagram-1e775db3.cjs.js → dist/c4Diagram-1e775db3.cjs.js} +109 -110
- package/{c4Diagram-1e775db3.esm.js → dist/c4Diagram-1e775db3.esm.js} +110 -111
- package/{channel-ebbc4130.esm.js → dist/channel-ebbc4130.esm.js} +1 -1
- package/{classDiagram-f52caa06.cjs.js → dist/classDiagram-f52caa06.cjs.js} +9 -9
- package/{classDiagram-f52caa06.esm.js → dist/classDiagram-f52caa06.esm.js} +11 -11
- package/{classDiagram-v2-640c694e.cjs.js → dist/classDiagram-v2-640c694e.cjs.js} +2 -2
- package/{classDiagram-v2-640c694e.esm.js → dist/classDiagram-v2-640c694e.esm.js} +4 -4
- package/{createText-03b82060.cjs.js → dist/createText-03b82060.cjs.js} +62 -58
- package/{createText-03b82060.esm.js → dist/createText-03b82060.esm.js} +63 -59
- package/{edges-16357fde.cjs.js → dist/edges-16357fde.cjs.js} +39 -35
- package/{edges-16357fde.esm.js → dist/edges-16357fde.esm.js} +40 -36
- package/{erDiagram-c7ff1bec.cjs.js → dist/erDiagram-c7ff1bec.cjs.js} +34 -34
- package/{erDiagram-c7ff1bec.esm.js → dist/erDiagram-c7ff1bec.esm.js} +35 -35
- package/{flowDb-9a89ea33.cjs.js → dist/flowDb-9a89ea33.cjs.js} +44 -44
- package/{flowDb-9a89ea33.esm.js → dist/flowDb-9a89ea33.esm.js} +45 -45
- package/{flowDiagram-aadb13b0.cjs.js → dist/flowDiagram-aadb13b0.cjs.js} +11 -11
- package/{flowDiagram-aadb13b0.esm.js → dist/flowDiagram-aadb13b0.esm.js} +15 -15
- package/{flowDiagram-v2-f2119625.esm.js → dist/flowDiagram-v2-f2119625.esm.js} +3 -3
- package/{flowchart-elk-definition-cf813a97.cjs.js → dist/flowchart-elk-definition-cf813a97.cjs.js} +1469 -1478
- package/{flowchart-elk-definition-cf813a97.esm.js → dist/flowchart-elk-definition-cf813a97.esm.js} +1472 -1481
- package/{ganttDiagram-3c2fde2b.cjs.js → dist/ganttDiagram-3c2fde2b.cjs.js} +50 -50
- package/{ganttDiagram-3c2fde2b.esm.js → dist/ganttDiagram-3c2fde2b.esm.js} +52 -52
- package/{gitGraphDiagram-c3a0619c.cjs.js → dist/gitGraphDiagram-c3a0619c.cjs.js} +23 -28
- package/{gitGraphDiagram-c3a0619c.esm.js → dist/gitGraphDiagram-c3a0619c.esm.js} +24 -29
- package/{graph-0ee63739.cjs.js → dist/graph-0ee63739.cjs.js} +57 -64
- package/{graph-0ee63739.esm.js → dist/graph-0ee63739.esm.js} +59 -66
- package/{index-bb6d8841.cjs.js → dist/index-bb6d8841.cjs.js} +7 -7
- package/{index-bb6d8841.esm.js → dist/index-bb6d8841.esm.js} +10 -10
- package/{index.cjs.js → dist/index.cjs.js} +2 -4
- package/{index.cjs2.js → dist/index.cjs2.js} +60390 -62222
- package/dist/index.esm.js +1 -0
- package/{index.esm2.js → dist/index.esm2.js} +60390 -62203
- package/{infoDiagram-2f5c50c0.cjs.js → dist/infoDiagram-2f5c50c0.cjs.js} +18 -18
- package/{infoDiagram-2f5c50c0.esm.js → dist/infoDiagram-2f5c50c0.esm.js} +19 -19
- package/{journeyDiagram-14fe341a.cjs.js → dist/journeyDiagram-14fe341a.cjs.js} +20 -20
- package/{journeyDiagram-14fe341a.esm.js → dist/journeyDiagram-14fe341a.esm.js} +22 -22
- package/{katex-d90b6d29.cjs.js → dist/katex-d90b6d29.cjs.js} +640 -640
- package/{katex-d90b6d29.esm.js → dist/katex-d90b6d29.esm.js} +639 -639
- package/{layout-fd473db2.cjs.js → dist/layout-fd473db2.cjs.js} +30 -43
- package/{layout-fd473db2.esm.js → dist/layout-fd473db2.esm.js} +35 -48
- package/{line-24d93f1b.cjs.js → dist/line-24d93f1b.cjs.js} +2 -2
- package/{line-24d93f1b.esm.js → dist/line-24d93f1b.esm.js} +2 -2
- package/{linear-9bcf74c4.cjs.js → dist/linear-9bcf74c4.cjs.js} +5 -5
- package/{linear-9bcf74c4.esm.js → dist/linear-9bcf74c4.esm.js} +6 -6
- package/{mindmap-definition-9399c7e6.cjs.js → dist/mindmap-definition-9399c7e6.cjs.js} +942 -943
- package/{mindmap-definition-9399c7e6.esm.js → dist/mindmap-definition-9399c7e6.esm.js} +943 -944
- package/{ordinal-5695958c.cjs.js → dist/ordinal-5695958c.cjs.js} +1 -2
- package/{ordinal-5695958c.esm.js → dist/ordinal-5695958c.esm.js} +1 -2
- package/{path-428ebac9.cjs.js → dist/path-428ebac9.cjs.js} +0 -1
- package/{path-428ebac9.esm.js → dist/path-428ebac9.esm.js} +0 -1
- package/{pieDiagram-828dae43.cjs.js → dist/pieDiagram-828dae43.cjs.js} +23 -25
- package/{pieDiagram-828dae43.esm.js → dist/pieDiagram-828dae43.esm.js} +24 -26
- package/{quadrantDiagram-5fa00455.cjs.js → dist/quadrantDiagram-5fa00455.cjs.js} +28 -29
- package/{quadrantDiagram-5fa00455.esm.js → dist/quadrantDiagram-5fa00455.esm.js} +29 -30
- package/{requirementDiagram-03163dc4.cjs.js → dist/requirementDiagram-03163dc4.cjs.js} +24 -24
- package/{requirementDiagram-03163dc4.esm.js → dist/requirementDiagram-03163dc4.esm.js} +25 -25
- package/{sankeyDiagram-52ec8976.cjs.js → dist/sankeyDiagram-52ec8976.cjs.js} +18 -18
- package/{sankeyDiagram-52ec8976.esm.js → dist/sankeyDiagram-52ec8976.esm.js} +19 -19
- package/{sequenceDiagram-b517d154.cjs.js → dist/sequenceDiagram-b517d154.cjs.js} +50 -51
- package/{sequenceDiagram-b517d154.esm.js → dist/sequenceDiagram-b517d154.esm.js} +52 -53
- package/{libs/skill-web-chatbot → dist}/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/chat.element.d.ts +1 -0
- package/dist/src/lib/chat.element.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/common.data.d.ts +1 -0
- package/dist/src/lib/common.data.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/config.d.ts +1 -0
- package/dist/src/lib/config.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/digipair-full.data.d.ts +1 -0
- package/dist/src/lib/digipair-full.data.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/digipair-full.element.d.ts +4 -3
- package/dist/src/lib/digipair-full.element.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/digipair.data.d.ts +1 -0
- package/dist/src/lib/digipair.data.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/digipair.element.d.ts +4 -3
- package/dist/src/lib/digipair.element.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/inputs.element.d.ts +1 -0
- package/dist/src/lib/inputs.element.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/message.interface.d.ts +1 -0
- package/dist/src/lib/message.interface.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/pins/chatbot.actions.d.ts +1 -0
- package/dist/src/lib/pins/chatbot.actions.d.ts.map +1 -0
- package/{libs/skill-web-chatbot → dist}/src/lib/tools/css-selector.d.ts +1 -0
- package/dist/src/lib/tools/css-selector.d.ts.map +1 -0
- package/{stateDiagram-fca82b5b.cjs.js → dist/stateDiagram-fca82b5b.cjs.js} +13 -13
- package/{stateDiagram-fca82b5b.esm.js → dist/stateDiagram-fca82b5b.esm.js} +15 -15
- package/{stateDiagram-v2-ed04200a.cjs.js → dist/stateDiagram-v2-ed04200a.cjs.js} +5 -5
- package/{stateDiagram-v2-ed04200a.esm.js → dist/stateDiagram-v2-ed04200a.esm.js} +7 -7
- package/{styles-11e81fdd.cjs.js → dist/styles-11e81fdd.cjs.js} +32 -33
- package/{styles-11e81fdd.esm.js → dist/styles-11e81fdd.esm.js} +33 -34
- package/{styles-cacbff60.cjs.js → dist/styles-cacbff60.cjs.js} +42 -42
- package/{styles-cacbff60.esm.js → dist/styles-cacbff60.esm.js} +43 -43
- package/{styles-e75131e4.cjs.js → dist/styles-e75131e4.cjs.js} +2 -2
- package/{styles-e75131e4.esm.js → dist/styles-e75131e4.esm.js} +8 -8
- package/{svgDrawCommon-ecc5f780.cjs.js → dist/svgDrawCommon-ecc5f780.cjs.js} +1 -1
- package/{svgDrawCommon-ecc5f780.esm.js → dist/svgDrawCommon-ecc5f780.esm.js} +2 -2
- package/{timeline-definition-4ee9bff4.cjs.js → dist/timeline-definition-4ee9bff4.cjs.js} +23 -23
- package/{timeline-definition-4ee9bff4.esm.js → dist/timeline-definition-4ee9bff4.esm.js} +24 -24
- package/{xychartDiagram-e5e6b652.cjs.js → dist/xychartDiagram-e5e6b652.cjs.js} +44 -44
- package/{xychartDiagram-e5e6b652.esm.js → dist/xychartDiagram-e5e6b652.esm.js} +45 -45
- package/package.json +33 -6
- package/array-2ff2c7a6.cjs.js +0 -7
- package/array-2ff2c7a6.esm.js +0 -5
- package/index.d.ts +0 -1
- package/index.esm.js +0 -1
- package/libs/engine/src/index.d.ts +0 -2
- package/libs/engine/src/lib/alias.interface.d.ts +0 -9
- package/libs/engine/src/lib/engine.d.ts +0 -13
- package/libs/engine/src/lib/pins-settings.interface.d.ts +0 -15
- /package/{SAP-icons.esm.js → dist/SAP-icons.esm.js} +0 -0
- /package/{SAP-icons.esm2.js → dist/SAP-icons.esm2.js} +0 -0
- /package/{Tableau10-558cc280.cjs.js → dist/Tableau10-558cc280.cjs.js} +0 -0
- /package/{Tableau10-558cc280.esm.js → dist/Tableau10-558cc280.esm.js} +0 -0
- /package/{arc-d1f6357e.cjs.js → dist/arc-d1f6357e.cjs.js} +0 -0
- /package/{channel-ebbc4130.cjs.js → dist/channel-ebbc4130.cjs.js} +0 -0
- /package/{clone-afc2f047.cjs.js → dist/clone-afc2f047.cjs.js} +0 -0
- /package/{clone-afc2f047.esm.js → dist/clone-afc2f047.esm.js} +0 -0
- /package/{flowDiagram-v2-f2119625.cjs.js → dist/flowDiagram-v2-f2119625.cjs.js} +0 -0
- /package/{index.cjs.d.ts → dist/index.d.ts} +0 -0
- /package/{init-f9637058.cjs.js → dist/init-f9637058.cjs.js} +0 -0
- /package/{init-f9637058.esm.js → dist/init-f9637058.esm.js} +0 -0
- /package/{schema.fr.json → dist/schema.fr.json} +0 -0
- /package/{schema.json → dist/schema.json} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ap as gi, R as Rs } from './index.esm2.js';
|
|
2
2
|
|
|
3
3
|
var l = function(s, t) {
|
|
4
4
|
var e = s.append("rect");
|
|
@@ -53,7 +53,7 @@ var l = function(s, t) {
|
|
|
53
53
|
textMargin: 0,
|
|
54
54
|
rx: 0,
|
|
55
55
|
ry: 0,
|
|
56
|
-
tspan:
|
|
56
|
+
tspan: true
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
|
|
@@ -454,10 +454,10 @@ var K = function() {
|
|
|
454
454
|
$ && (h = h.slice(0, -1 * $ * 2), p = p.slice(0, -1 * $), l = l.slice(0, -1 * $)), h.push(this.productions_[E[1]][0]), p.push(z.$), l.push(z._$), Y = w[h[h.length - 2]][h[h.length - 1]], h.push(Y);
|
|
455
455
|
break;
|
|
456
456
|
case 3:
|
|
457
|
-
return
|
|
457
|
+
return true;
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
return
|
|
460
|
+
return true;
|
|
461
461
|
}
|
|
462
462
|
}, m = function() {
|
|
463
463
|
var f = {
|
|
@@ -468,7 +468,7 @@ var K = function() {
|
|
|
468
468
|
},
|
|
469
469
|
// resets the lexer, sets new input
|
|
470
470
|
setInput: function setInput(i, r) {
|
|
471
|
-
return this.yy = r || this.yy || {}, this._input = i, this._more = this._backtrack = this.done =
|
|
471
|
+
return this.yy = r || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
|
|
472
472
|
"INITIAL"
|
|
473
473
|
], this.yylloc = {
|
|
474
474
|
first_line: 1,
|
|
@@ -506,11 +506,11 @@ var K = function() {
|
|
|
506
506
|
},
|
|
507
507
|
// When called from action, caches matched text and appends it on next action
|
|
508
508
|
more: function more() {
|
|
509
|
-
return this._more =
|
|
509
|
+
return this._more = true, this;
|
|
510
510
|
},
|
|
511
511
|
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
512
512
|
reject: function reject() {
|
|
513
|
-
if (this.options.backtrack_lexer) this._backtrack =
|
|
513
|
+
if (this.options.backtrack_lexer) this._backtrack = true;
|
|
514
514
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
515
515
|
text: "",
|
|
516
516
|
token: null,
|
|
@@ -567,29 +567,29 @@ var K = function() {
|
|
|
567
567
|
}, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
|
|
568
568
|
this.offset,
|
|
569
569
|
this.offset += this.yyleng
|
|
570
|
-
]), this._more =
|
|
570
|
+
]), this._more = false, this._backtrack = false, this._input = this._input.slice(i[0].length), this.matched += i[0], h = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), h) return h;
|
|
571
571
|
if (this._backtrack) {
|
|
572
572
|
for(var l in p)this[l] = p[l];
|
|
573
|
-
return
|
|
573
|
+
return false;
|
|
574
574
|
}
|
|
575
|
-
return
|
|
575
|
+
return false;
|
|
576
576
|
},
|
|
577
577
|
// return next match in input
|
|
578
578
|
next: function next() {
|
|
579
579
|
if (this.done) return this.EOF;
|
|
580
|
-
this._input || (this.done =
|
|
580
|
+
this._input || (this.done = true);
|
|
581
581
|
var i, r, h, d;
|
|
582
582
|
this._more || (this.yytext = "", this.match = "");
|
|
583
583
|
for(var p = this._currentRules(), l = 0; l < p.length; l++)if (h = this._input.match(this.rules[p[l]]), h && (!r || h[0].length > r[0].length)) {
|
|
584
584
|
if (r = h, d = l, this.options.backtrack_lexer) {
|
|
585
|
-
if (i = this.test_match(h, p[l]), i !==
|
|
585
|
+
if (i = this.test_match(h, p[l]), i !== false) return i;
|
|
586
586
|
if (this._backtrack) {
|
|
587
|
-
r =
|
|
587
|
+
r = false;
|
|
588
588
|
continue;
|
|
589
|
-
} else return
|
|
589
|
+
} else return false;
|
|
590
590
|
} else if (!this.options.flex) break;
|
|
591
591
|
}
|
|
592
|
-
return r ? (i = this.test_match(r, p[d]), i !==
|
|
592
|
+
return r ? (i = this.test_match(r, p[d]), i !== false ? i : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
593
593
|
text: "",
|
|
594
594
|
token: null,
|
|
595
595
|
line: this.yylineno
|
|
@@ -626,7 +626,7 @@ var K = function() {
|
|
|
626
626
|
return this.conditionStack.length;
|
|
627
627
|
},
|
|
628
628
|
options: {
|
|
629
|
-
"case-insensitive":
|
|
629
|
+
"case-insensitive": true
|
|
630
630
|
},
|
|
631
631
|
performAction: function performAction(r, h, d, p) {
|
|
632
632
|
switch(d){
|
|
@@ -699,19 +699,19 @@ var K = function() {
|
|
|
699
699
|
12,
|
|
700
700
|
13
|
|
701
701
|
],
|
|
702
|
-
inclusive:
|
|
702
|
+
inclusive: false
|
|
703
703
|
},
|
|
704
704
|
acc_descr: {
|
|
705
705
|
rules: [
|
|
706
706
|
10
|
|
707
707
|
],
|
|
708
|
-
inclusive:
|
|
708
|
+
inclusive: false
|
|
709
709
|
},
|
|
710
710
|
acc_title: {
|
|
711
711
|
rules: [
|
|
712
712
|
8
|
|
713
713
|
],
|
|
714
|
-
inclusive:
|
|
714
|
+
inclusive: false
|
|
715
715
|
},
|
|
716
716
|
INITIAL: {
|
|
717
717
|
rules: [
|
|
@@ -731,7 +731,7 @@ var K = function() {
|
|
|
731
731
|
17,
|
|
732
732
|
18
|
|
733
733
|
],
|
|
734
|
-
inclusive:
|
|
734
|
+
inclusive: true
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
};
|
|
@@ -791,7 +791,7 @@ var Q = [], G = [], F = [], it = function() {
|
|
|
791
791
|
var n = function n(e) {
|
|
792
792
|
return F[e].processed;
|
|
793
793
|
};
|
|
794
|
-
var t =
|
|
794
|
+
var t = true;
|
|
795
795
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
796
796
|
try {
|
|
797
797
|
for(var _iterator = F.entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -992,7 +992,7 @@ var Ht = function Ht(n, t, e, a) {
|
|
|
992
992
|
index.L.debug("sections", f);
|
|
993
993
|
var i = 0, r = 0, h = 0, d = 0, p = 50 + c, l = 50;
|
|
994
994
|
d = 50;
|
|
995
|
-
var w = 0, x =
|
|
995
|
+
var w = 0, x = true;
|
|
996
996
|
f.forEach(function(S) {
|
|
997
997
|
var _ = {
|
|
998
998
|
number: w,
|
|
@@ -1060,11 +1060,11 @@ var Ht = function Ht(n, t, e, a) {
|
|
|
1060
1060
|
};
|
|
1061
1061
|
index.L.debug("sectionNode", I);
|
|
1062
1062
|
var P = u.append("g"), C = H.drawNode(P, I, w, s);
|
|
1063
|
-
index.L.debug("sectionNode output", C), P.attr("transform", "translate(".concat(p, ", ").concat(d, ")")), l += i + 50, _.length > 0 && nt(u, _, w, p, l, r, s, N, A, i,
|
|
1064
|
-
}) : (x =
|
|
1063
|
+
index.L.debug("sectionNode output", C), P.attr("transform", "translate(".concat(p, ", ").concat(d, ")")), l += i + 50, _.length > 0 && nt(u, _, w, p, l, r, s, N, A, i, false), p += 200 * Math.max(_.length, 1), l = d, w++;
|
|
1064
|
+
}) : (x = false, nt(u, m, w, p, l, r, s, N, A, i, true));
|
|
1065
1065
|
var V = u.node().getBBox();
|
|
1066
1066
|
var _ref, _ref1;
|
|
1067
|
-
index.L.debug("bounds", V), v && u.append("text").text(v).attr("x", V.width / 2 - c).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), h = x ? i + r + 150 : r + 100, u.append("g").attr("class", "lineWrapper").append("line").attr("x1", c).attr("y1", h).attr("x2", V.width + 3 * c).attr("y2", h).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), index.k_(void 0, u, (_ref = (W = s.timeline) == null ? void 0 : W.padding) !== null && _ref !== void 0 ? _ref : 50, (_ref1 = (b = s.timeline) == null ? void 0 : b.useMaxWidth) !== null && _ref1 !== void 0 ? _ref1 :
|
|
1067
|
+
index.L.debug("bounds", V), v && u.append("text").text(v).attr("x", V.width / 2 - c).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), h = x ? i + r + 150 : r + 100, u.append("g").attr("class", "lineWrapper").append("line").attr("x1", c).attr("y1", h).attr("x2", V.width + 3 * c).attr("y2", h).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), index.k_(void 0, u, (_ref = (W = s.timeline) == null ? void 0 : W.padding) !== null && _ref !== void 0 ? _ref : 50, (_ref1 = (b = s.timeline) == null ? void 0 : b.useMaxWidth) !== null && _ref1 !== void 0 ? _ref1 : false);
|
|
1068
1068
|
}, nt = function nt(n, t, e, a, s, c, o, y, g, u, m) {
|
|
1069
1069
|
var v;
|
|
1070
1070
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { V as Vn, a as L, b as bt, k as k_, ar as mi, as as F$1, at as E, au as $_, m as B_ } from './index.esm2.js';
|
|
2
2
|
import { v as vn } from './arc-d1f6357e.esm.js';
|
|
3
3
|
import './path-428ebac9.esm.js';
|
|
4
4
|
|
|
@@ -452,10 +452,10 @@ var K = function() {
|
|
|
452
452
|
$ && (h = h.slice(0, -1 * $ * 2), p = p.slice(0, -1 * $), l = l.slice(0, -1 * $)), h.push(this.productions_[E[1]][0]), p.push(z.$), l.push(z._$), Y = w[h[h.length - 2]][h[h.length - 1]], h.push(Y);
|
|
453
453
|
break;
|
|
454
454
|
case 3:
|
|
455
|
-
return
|
|
455
|
+
return true;
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
|
-
return
|
|
458
|
+
return true;
|
|
459
459
|
}
|
|
460
460
|
}, m = function() {
|
|
461
461
|
var f = {
|
|
@@ -466,7 +466,7 @@ var K = function() {
|
|
|
466
466
|
},
|
|
467
467
|
// resets the lexer, sets new input
|
|
468
468
|
setInput: function setInput(i, r) {
|
|
469
|
-
return this.yy = r || this.yy || {}, this._input = i, this._more = this._backtrack = this.done =
|
|
469
|
+
return this.yy = r || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
|
|
470
470
|
"INITIAL"
|
|
471
471
|
], this.yylloc = {
|
|
472
472
|
first_line: 1,
|
|
@@ -504,11 +504,11 @@ var K = function() {
|
|
|
504
504
|
},
|
|
505
505
|
// When called from action, caches matched text and appends it on next action
|
|
506
506
|
more: function more() {
|
|
507
|
-
return this._more =
|
|
507
|
+
return this._more = true, this;
|
|
508
508
|
},
|
|
509
509
|
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
510
510
|
reject: function reject() {
|
|
511
|
-
if (this.options.backtrack_lexer) this._backtrack =
|
|
511
|
+
if (this.options.backtrack_lexer) this._backtrack = true;
|
|
512
512
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
513
513
|
text: "",
|
|
514
514
|
token: null,
|
|
@@ -565,29 +565,29 @@ var K = function() {
|
|
|
565
565
|
}, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
|
|
566
566
|
this.offset,
|
|
567
567
|
this.offset += this.yyleng
|
|
568
|
-
]), this._more =
|
|
568
|
+
]), this._more = false, this._backtrack = false, this._input = this._input.slice(i[0].length), this.matched += i[0], h = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), h) return h;
|
|
569
569
|
if (this._backtrack) {
|
|
570
570
|
for(var l in p)this[l] = p[l];
|
|
571
|
-
return
|
|
571
|
+
return false;
|
|
572
572
|
}
|
|
573
|
-
return
|
|
573
|
+
return false;
|
|
574
574
|
},
|
|
575
575
|
// return next match in input
|
|
576
576
|
next: function next() {
|
|
577
577
|
if (this.done) return this.EOF;
|
|
578
|
-
this._input || (this.done =
|
|
578
|
+
this._input || (this.done = true);
|
|
579
579
|
var i, r, h, d;
|
|
580
580
|
this._more || (this.yytext = "", this.match = "");
|
|
581
581
|
for(var p = this._currentRules(), l = 0; l < p.length; l++)if (h = this._input.match(this.rules[p[l]]), h && (!r || h[0].length > r[0].length)) {
|
|
582
582
|
if (r = h, d = l, this.options.backtrack_lexer) {
|
|
583
|
-
if (i = this.test_match(h, p[l]), i !==
|
|
583
|
+
if (i = this.test_match(h, p[l]), i !== false) return i;
|
|
584
584
|
if (this._backtrack) {
|
|
585
|
-
r =
|
|
585
|
+
r = false;
|
|
586
586
|
continue;
|
|
587
|
-
} else return
|
|
587
|
+
} else return false;
|
|
588
588
|
} else if (!this.options.flex) break;
|
|
589
589
|
}
|
|
590
|
-
return r ? (i = this.test_match(r, p[d]), i !==
|
|
590
|
+
return r ? (i = this.test_match(r, p[d]), i !== false ? i : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
591
591
|
text: "",
|
|
592
592
|
token: null,
|
|
593
593
|
line: this.yylineno
|
|
@@ -624,7 +624,7 @@ var K = function() {
|
|
|
624
624
|
return this.conditionStack.length;
|
|
625
625
|
},
|
|
626
626
|
options: {
|
|
627
|
-
"case-insensitive":
|
|
627
|
+
"case-insensitive": true
|
|
628
628
|
},
|
|
629
629
|
performAction: function performAction(r, h, d, p) {
|
|
630
630
|
switch(d){
|
|
@@ -697,19 +697,19 @@ var K = function() {
|
|
|
697
697
|
12,
|
|
698
698
|
13
|
|
699
699
|
],
|
|
700
|
-
inclusive:
|
|
700
|
+
inclusive: false
|
|
701
701
|
},
|
|
702
702
|
acc_descr: {
|
|
703
703
|
rules: [
|
|
704
704
|
10
|
|
705
705
|
],
|
|
706
|
-
inclusive:
|
|
706
|
+
inclusive: false
|
|
707
707
|
},
|
|
708
708
|
acc_title: {
|
|
709
709
|
rules: [
|
|
710
710
|
8
|
|
711
711
|
],
|
|
712
|
-
inclusive:
|
|
712
|
+
inclusive: false
|
|
713
713
|
},
|
|
714
714
|
INITIAL: {
|
|
715
715
|
rules: [
|
|
@@ -729,7 +729,7 @@ var K = function() {
|
|
|
729
729
|
17,
|
|
730
730
|
18
|
|
731
731
|
],
|
|
732
|
-
inclusive:
|
|
732
|
+
inclusive: true
|
|
733
733
|
}
|
|
734
734
|
}
|
|
735
735
|
};
|
|
@@ -789,7 +789,7 @@ var Q = [], G = [], F = [], it = function() {
|
|
|
789
789
|
var n = function n(e) {
|
|
790
790
|
return F[e].processed;
|
|
791
791
|
};
|
|
792
|
-
var t =
|
|
792
|
+
var t = true;
|
|
793
793
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
794
794
|
try {
|
|
795
795
|
for(var _iterator = F.entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -990,7 +990,7 @@ var Ht = function Ht(n, t, e, a) {
|
|
|
990
990
|
L.debug("sections", f);
|
|
991
991
|
var i = 0, r = 0, h = 0, d = 0, p = 50 + c, l = 50;
|
|
992
992
|
d = 50;
|
|
993
|
-
var w = 0, x =
|
|
993
|
+
var w = 0, x = true;
|
|
994
994
|
f.forEach(function(S) {
|
|
995
995
|
var _ = {
|
|
996
996
|
number: w,
|
|
@@ -1058,11 +1058,11 @@ var Ht = function Ht(n, t, e, a) {
|
|
|
1058
1058
|
};
|
|
1059
1059
|
L.debug("sectionNode", I);
|
|
1060
1060
|
var P = u.append("g"), C = H.drawNode(P, I, w, s);
|
|
1061
|
-
L.debug("sectionNode output", C), P.attr("transform", "translate(".concat(p, ", ").concat(d, ")")), l += i + 50, _.length > 0 && nt(u, _, w, p, l, r, s, N, A, i,
|
|
1062
|
-
}) : (x =
|
|
1061
|
+
L.debug("sectionNode output", C), P.attr("transform", "translate(".concat(p, ", ").concat(d, ")")), l += i + 50, _.length > 0 && nt(u, _, w, p, l, r, s, N, A, i, false), p += 200 * Math.max(_.length, 1), l = d, w++;
|
|
1062
|
+
}) : (x = false, nt(u, m, w, p, l, r, s, N, A, i, true));
|
|
1063
1063
|
var V = u.node().getBBox();
|
|
1064
1064
|
var _ref, _ref1;
|
|
1065
|
-
L.debug("bounds", V), v && u.append("text").text(v).attr("x", V.width / 2 - c).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), h = x ? i + r + 150 : r + 100, u.append("g").attr("class", "lineWrapper").append("line").attr("x1", c).attr("y1", h).attr("x2", V.width + 3 * c).attr("y2", h).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), k_(void 0, u, (_ref = (W = s.timeline) == null ? void 0 : W.padding) !== null && _ref !== void 0 ? _ref : 50, (_ref1 = (b = s.timeline) == null ? void 0 : b.useMaxWidth) !== null && _ref1 !== void 0 ? _ref1 :
|
|
1065
|
+
L.debug("bounds", V), v && u.append("text").text(v).attr("x", V.width / 2 - c).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), h = x ? i + r + 150 : r + 100, u.append("g").attr("class", "lineWrapper").append("line").attr("x1", c).attr("y1", h).attr("x2", V.width + 3 * c).attr("y2", h).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), k_(void 0, u, (_ref = (W = s.timeline) == null ? void 0 : W.padding) !== null && _ref !== void 0 ? _ref : 50, (_ref1 = (b = s.timeline) == null ? void 0 : b.useMaxWidth) !== null && _ref1 !== void 0 ? _ref1 : false);
|
|
1066
1066
|
}, nt = function nt(n, t, e, a, s, c, o, y, g, u, m) {
|
|
1067
1067
|
var v;
|
|
1068
1068
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
@@ -188,7 +188,7 @@ function Jt(e, t, i) {
|
|
|
188
188
|
return o;
|
|
189
189
|
}
|
|
190
190
|
function st() {
|
|
191
|
-
var e = ordinal5695958c.h().unknown(void 0), t = e.domain, i = e.range, s = 0, n = 1, o, c, f =
|
|
191
|
+
var e = ordinal5695958c.h().unknown(void 0), t = e.domain, i = e.range, s = 0, n = 1, o, c, f = false, d = 0, R = 0, _ = 0.5;
|
|
192
192
|
delete e.unknown;
|
|
193
193
|
function A() {
|
|
194
194
|
var m = t().length, T = n < s, S = T ? n : s, P = T ? s : n;
|
|
@@ -208,7 +208,7 @@ function st() {
|
|
|
208
208
|
];
|
|
209
209
|
}, e.rangeRound = function(m) {
|
|
210
210
|
var ref;
|
|
211
|
-
return ref = _sliced_to_array(m, 2), s = ref[0], n = ref[1], s = +s, n = +n, f =
|
|
211
|
+
return ref = _sliced_to_array(m, 2), s = ref[0], n = ref[1], s = +s, n = +n, f = true, A();
|
|
212
212
|
}, e.bandwidth = function() {
|
|
213
213
|
return c;
|
|
214
214
|
}, e.step = function() {
|
|
@@ -1411,10 +1411,10 @@ var nt = function() {
|
|
|
1411
1411
|
M && (u = u.slice(0, -1 * M * 2), b = b.slice(0, -1 * M), a = a.slice(0, -1 * M)), u.push(this.productions_[v[1]][0]), b.push(O.$), a.push(O._$), dt = F[u[u.length - 2]][u[u.length - 1]], u.push(dt);
|
|
1412
1412
|
break;
|
|
1413
1413
|
case 3:
|
|
1414
|
-
return
|
|
1414
|
+
return true;
|
|
1415
1415
|
}
|
|
1416
1416
|
}
|
|
1417
|
-
return
|
|
1417
|
+
return true;
|
|
1418
1418
|
}
|
|
1419
1419
|
}, It = function() {
|
|
1420
1420
|
var V = {
|
|
@@ -1425,7 +1425,7 @@ var nt = function() {
|
|
|
1425
1425
|
},
|
|
1426
1426
|
// resets the lexer, sets new input
|
|
1427
1427
|
setInput: function setInput(r, l) {
|
|
1428
|
-
return this.yy = l || this.yy || {}, this._input = r, this._more = this._backtrack = this.done =
|
|
1428
|
+
return this.yy = l || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
|
|
1429
1429
|
"INITIAL"
|
|
1430
1430
|
], this.yylloc = {
|
|
1431
1431
|
first_line: 1,
|
|
@@ -1463,11 +1463,11 @@ var nt = function() {
|
|
|
1463
1463
|
},
|
|
1464
1464
|
// When called from action, caches matched text and appends it on next action
|
|
1465
1465
|
more: function more() {
|
|
1466
|
-
return this._more =
|
|
1466
|
+
return this._more = true, this;
|
|
1467
1467
|
},
|
|
1468
1468
|
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
1469
1469
|
reject: function reject() {
|
|
1470
|
-
if (this.options.backtrack_lexer) this._backtrack =
|
|
1470
|
+
if (this.options.backtrack_lexer) this._backtrack = true;
|
|
1471
1471
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
1472
1472
|
text: "",
|
|
1473
1473
|
token: null,
|
|
@@ -1524,29 +1524,29 @@ var nt = function() {
|
|
|
1524
1524
|
}, this.yytext += r[0], this.match += r[0], this.matches = r, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
|
|
1525
1525
|
this.offset,
|
|
1526
1526
|
this.offset += this.yyleng
|
|
1527
|
-
]), this._more =
|
|
1527
|
+
]), this._more = false, this._backtrack = false, this._input = this._input.slice(r[0].length), this.matched += r[0], u = this.performAction.call(this, this.yy, this, l, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), u) return u;
|
|
1528
1528
|
if (this._backtrack) {
|
|
1529
1529
|
for(var a in b)this[a] = b[a];
|
|
1530
|
-
return
|
|
1530
|
+
return false;
|
|
1531
1531
|
}
|
|
1532
|
-
return
|
|
1532
|
+
return false;
|
|
1533
1533
|
},
|
|
1534
1534
|
// return next match in input
|
|
1535
1535
|
next: function next() {
|
|
1536
1536
|
if (this.done) return this.EOF;
|
|
1537
|
-
this._input || (this.done =
|
|
1537
|
+
this._input || (this.done = true);
|
|
1538
1538
|
var r, l, u, g;
|
|
1539
1539
|
this._more || (this.yytext = "", this.match = "");
|
|
1540
1540
|
for(var b = this._currentRules(), a = 0; a < b.length; a++)if (u = this._input.match(this.rules[b[a]]), u && (!l || u[0].length > l[0].length)) {
|
|
1541
1541
|
if (l = u, g = a, this.options.backtrack_lexer) {
|
|
1542
|
-
if (r = this.test_match(u, b[a]), r !==
|
|
1542
|
+
if (r = this.test_match(u, b[a]), r !== false) return r;
|
|
1543
1543
|
if (this._backtrack) {
|
|
1544
|
-
l =
|
|
1544
|
+
l = false;
|
|
1545
1545
|
continue;
|
|
1546
|
-
} else return
|
|
1546
|
+
} else return false;
|
|
1547
1547
|
} else if (!this.options.flex) break;
|
|
1548
1548
|
}
|
|
1549
|
-
return l ? (r = this.test_match(l, b[g]), r !==
|
|
1549
|
+
return l ? (r = this.test_match(l, b[g]), r !== false ? r : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1550
1550
|
text: "",
|
|
1551
1551
|
token: null,
|
|
1552
1552
|
line: this.yylineno
|
|
@@ -1583,7 +1583,7 @@ var nt = function() {
|
|
|
1583
1583
|
return this.conditionStack.length;
|
|
1584
1584
|
},
|
|
1585
1585
|
options: {
|
|
1586
|
-
"case-insensitive":
|
|
1586
|
+
"case-insensitive": true
|
|
1587
1587
|
},
|
|
1588
1588
|
performAction: function performAction(l, u, g, b) {
|
|
1589
1589
|
switch(g){
|
|
@@ -1773,7 +1773,7 @@ var nt = function() {
|
|
|
1773
1773
|
44,
|
|
1774
1774
|
45
|
|
1775
1775
|
],
|
|
1776
|
-
inclusive:
|
|
1776
|
+
inclusive: true
|
|
1777
1777
|
},
|
|
1778
1778
|
data: {
|
|
1779
1779
|
rules: [
|
|
@@ -1813,7 +1813,7 @@ var nt = function() {
|
|
|
1813
1813
|
44,
|
|
1814
1814
|
45
|
|
1815
1815
|
],
|
|
1816
|
-
inclusive:
|
|
1816
|
+
inclusive: true
|
|
1817
1817
|
},
|
|
1818
1818
|
axis_band_data: {
|
|
1819
1819
|
rules: [
|
|
@@ -1852,7 +1852,7 @@ var nt = function() {
|
|
|
1852
1852
|
44,
|
|
1853
1853
|
45
|
|
1854
1854
|
],
|
|
1855
|
-
inclusive:
|
|
1855
|
+
inclusive: true
|
|
1856
1856
|
},
|
|
1857
1857
|
axis_data: {
|
|
1858
1858
|
rules: [
|
|
@@ -1894,41 +1894,41 @@ var nt = function() {
|
|
|
1894
1894
|
44,
|
|
1895
1895
|
45
|
|
1896
1896
|
],
|
|
1897
|
-
inclusive:
|
|
1897
|
+
inclusive: true
|
|
1898
1898
|
},
|
|
1899
1899
|
acc_descr_multiline: {
|
|
1900
1900
|
rules: [
|
|
1901
1901
|
12,
|
|
1902
1902
|
13
|
|
1903
1903
|
],
|
|
1904
|
-
inclusive:
|
|
1904
|
+
inclusive: false
|
|
1905
1905
|
},
|
|
1906
1906
|
acc_descr: {
|
|
1907
1907
|
rules: [
|
|
1908
1908
|
10
|
|
1909
1909
|
],
|
|
1910
|
-
inclusive:
|
|
1910
|
+
inclusive: false
|
|
1911
1911
|
},
|
|
1912
1912
|
acc_title: {
|
|
1913
1913
|
rules: [
|
|
1914
1914
|
8
|
|
1915
1915
|
],
|
|
1916
|
-
inclusive:
|
|
1916
|
+
inclusive: false
|
|
1917
1917
|
},
|
|
1918
1918
|
title: {
|
|
1919
1919
|
rules: [],
|
|
1920
|
-
inclusive:
|
|
1920
|
+
inclusive: false
|
|
1921
1921
|
},
|
|
1922
1922
|
md_string: {
|
|
1923
1923
|
rules: [],
|
|
1924
|
-
inclusive:
|
|
1924
|
+
inclusive: false
|
|
1925
1925
|
},
|
|
1926
1926
|
string: {
|
|
1927
1927
|
rules: [
|
|
1928
1928
|
27,
|
|
1929
1929
|
28
|
|
1930
1930
|
],
|
|
1931
|
-
inclusive:
|
|
1931
|
+
inclusive: false
|
|
1932
1932
|
},
|
|
1933
1933
|
INITIAL: {
|
|
1934
1934
|
rules: [
|
|
@@ -1966,7 +1966,7 @@ var nt = function() {
|
|
|
1966
1966
|
44,
|
|
1967
1967
|
45
|
|
1968
1968
|
],
|
|
1969
|
-
inclusive:
|
|
1969
|
+
inclusive: true
|
|
1970
1970
|
}
|
|
1971
1971
|
}
|
|
1972
1972
|
};
|
|
@@ -2044,7 +2044,7 @@ var Rt = /*#__PURE__*/ function() {
|
|
|
2044
2044
|
y: 0,
|
|
2045
2045
|
width: 0,
|
|
2046
2046
|
height: 0
|
|
2047
|
-
}, this.axisPosition = "left", this.showTitle =
|
|
2047
|
+
}, this.axisPosition = "left", this.showTitle = false, this.showLabel = false, this.showTick = false, this.showAxisLine = false, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [
|
|
2048
2048
|
0,
|
|
2049
2049
|
10
|
|
2050
2050
|
], this.boundingRect = {
|
|
@@ -2107,17 +2107,17 @@ var Rt = /*#__PURE__*/ function() {
|
|
|
2107
2107
|
key: "calculateSpaceIfDrawnHorizontally",
|
|
2108
2108
|
value: function calculateSpaceIfDrawnHorizontally(t) {
|
|
2109
2109
|
var i = t.height;
|
|
2110
|
-
if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine =
|
|
2110
|
+
if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = true), this.axisConfig.showLabel) {
|
|
2111
2111
|
var s = this.getLabelDimension(), n = bt * t.width;
|
|
2112
2112
|
this.outerPadding = Math.min(s.width / 2, n);
|
|
2113
2113
|
var o = s.height + this.axisConfig.labelPadding * 2;
|
|
2114
|
-
this.labelTextHeight = s.height, o <= i && (i -= o, this.showLabel =
|
|
2114
|
+
this.labelTextHeight = s.height, o <= i && (i -= o, this.showLabel = true);
|
|
2115
2115
|
}
|
|
2116
|
-
if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick =
|
|
2116
|
+
if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = true, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
|
|
2117
2117
|
var s1 = this.textDimensionCalculator.getMaxDimension([
|
|
2118
2118
|
this.title
|
|
2119
2119
|
], this.axisConfig.titleFontSize), n1 = s1.height + this.axisConfig.titlePadding * 2;
|
|
2120
|
-
this.titleTextHeight = s1.height, n1 <= i && (i -= n1, this.showTitle =
|
|
2120
|
+
this.titleTextHeight = s1.height, n1 <= i && (i -= n1, this.showTitle = true);
|
|
2121
2121
|
}
|
|
2122
2122
|
this.boundingRect.width = t.width, this.boundingRect.height = t.height - i;
|
|
2123
2123
|
}
|
|
@@ -2126,17 +2126,17 @@ var Rt = /*#__PURE__*/ function() {
|
|
|
2126
2126
|
key: "calculateSpaceIfDrawnVertical",
|
|
2127
2127
|
value: function calculateSpaceIfDrawnVertical(t) {
|
|
2128
2128
|
var i = t.width;
|
|
2129
|
-
if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine =
|
|
2129
|
+
if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = true), this.axisConfig.showLabel) {
|
|
2130
2130
|
var s = this.getLabelDimension(), n = bt * t.height;
|
|
2131
2131
|
this.outerPadding = Math.min(s.height / 2, n);
|
|
2132
2132
|
var o = s.width + this.axisConfig.labelPadding * 2;
|
|
2133
|
-
o <= i && (i -= o, this.showLabel =
|
|
2133
|
+
o <= i && (i -= o, this.showLabel = true);
|
|
2134
2134
|
}
|
|
2135
|
-
if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick =
|
|
2135
|
+
if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = true, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
|
|
2136
2136
|
var s1 = this.textDimensionCalculator.getMaxDimension([
|
|
2137
2137
|
this.title
|
|
2138
2138
|
], this.axisConfig.titleFontSize), n1 = s1.height + this.axisConfig.titlePadding * 2;
|
|
2139
|
-
this.titleTextHeight = s1.height, n1 <= i && (i -= n1, this.showTitle =
|
|
2139
|
+
this.titleTextHeight = s1.height, n1 <= i && (i -= n1, this.showTitle = true);
|
|
2140
2140
|
}
|
|
2141
2141
|
this.boundingRect.width = t.width - i, this.boundingRect.height = t.height;
|
|
2142
2142
|
}
|
|
@@ -2485,7 +2485,7 @@ var si = /*#__PURE__*/ function() {
|
|
|
2485
2485
|
y: 0,
|
|
2486
2486
|
width: 0,
|
|
2487
2487
|
height: 0
|
|
2488
|
-
}, this.showChartTitle =
|
|
2488
|
+
}, this.showChartTitle = false;
|
|
2489
2489
|
}
|
|
2490
2490
|
_create_class(si, [
|
|
2491
2491
|
{
|
|
@@ -2500,7 +2500,7 @@ var si = /*#__PURE__*/ function() {
|
|
|
2500
2500
|
var i = this.textDimensionCalculator.getMaxDimension([
|
|
2501
2501
|
this.chartData.title
|
|
2502
2502
|
], this.chartConfig.titleFontSize), s = Math.max(i.width, t.width), n = i.height + 2 * this.chartConfig.titlePadding;
|
|
2503
|
-
return i.width <= s && i.height <= n && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = s, this.boundingRect.height = n, this.showChartTitle =
|
|
2503
|
+
return i.width <= s && i.height <= n && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = s, this.boundingRect.height = n, this.showChartTitle = true), {
|
|
2504
2504
|
width: this.boundingRect.width,
|
|
2505
2505
|
height: this.boundingRect.height
|
|
2506
2506
|
};
|
|
@@ -2878,7 +2878,7 @@ var ci = /*#__PURE__*/ function() {
|
|
|
2878
2878
|
}();
|
|
2879
2879
|
var X = 0, Tt, Y = Pt(), H = Dt(), y = Lt(), at = H.plotColorPalette.split(",").map(function(e) {
|
|
2880
2880
|
return e.trim();
|
|
2881
|
-
}), G =
|
|
2881
|
+
}), G = false, rt = false;
|
|
2882
2882
|
function Dt() {
|
|
2883
2883
|
var e = index.up(), t = index.$t();
|
|
2884
2884
|
return index.nl(e.xyChart, t.themeVariables.xyChart);
|
|
@@ -2923,7 +2923,7 @@ function Et(e, t) {
|
|
|
2923
2923
|
title: y.xAxis.title,
|
|
2924
2924
|
min: e,
|
|
2925
2925
|
max: t
|
|
2926
|
-
}, G =
|
|
2926
|
+
}, G = true;
|
|
2927
2927
|
}
|
|
2928
2928
|
function di(e) {
|
|
2929
2929
|
y.xAxis = {
|
|
@@ -2932,7 +2932,7 @@ function di(e) {
|
|
|
2932
2932
|
categories: e.map(function(t) {
|
|
2933
2933
|
return ht(t.text);
|
|
2934
2934
|
})
|
|
2935
|
-
}, G =
|
|
2935
|
+
}, G = true;
|
|
2936
2936
|
}
|
|
2937
2937
|
function fi(e) {
|
|
2938
2938
|
y.yAxis.title = ht(e.text);
|
|
@@ -2943,7 +2943,7 @@ function pi(e, t) {
|
|
|
2943
2943
|
title: y.yAxis.title,
|
|
2944
2944
|
min: e,
|
|
2945
2945
|
max: t
|
|
2946
|
-
}, rt =
|
|
2946
|
+
}, rt = true;
|
|
2947
2947
|
}
|
|
2948
2948
|
function mi(e) {
|
|
2949
2949
|
var _Math, _Math1;
|
|
@@ -3012,7 +3012,7 @@ function Si() {
|
|
|
3012
3012
|
var Ci = function Ci() {
|
|
3013
3013
|
index.B_(), X = 0, Y = Pt(), y = Lt(), H = Dt(), at = H.plotColorPalette.split(",").map(function(e) {
|
|
3014
3014
|
return e.trim();
|
|
3015
|
-
}), G =
|
|
3015
|
+
}), G = false, rt = false;
|
|
3016
3016
|
}, _i = {
|
|
3017
3017
|
getDrawableElem: Ai,
|
|
3018
3018
|
clear: Ci,
|
|
@@ -3071,7 +3071,7 @@ var Ci = function Ci() {
|
|
|
3071
3071
|
var n = s.db, o = n.getChartThemeConfig(), c = n.getChartConfig();
|
|
3072
3072
|
index.L.debug("Rendering xychart chart\n" + e);
|
|
3073
3073
|
var _ = index.z_(t), A = _.append("g").attr("class", "main"), m = A.append("rect").attr("width", c.width).attr("height", c.height).attr("class", "background");
|
|
3074
|
-
index.Ol(_, c.height, c.width,
|
|
3074
|
+
index.Ol(_, c.height, c.width, true), _.attr("viewBox", "0 0 ".concat(c.width, " ").concat(c.height)), m.attr("fill", o.backgroundColor), n.setTmpSVGG(_.append("g").attr("class", "mermaid-tmp-group"));
|
|
3075
3075
|
var T = n.getDrawableElem(), S = {};
|
|
3076
3076
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
3077
3077
|
try {
|