@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.
Files changed (131) hide show
  1. package/README.md +7 -0
  2. package/{SAP-icons.cjs.js → dist/SAP-icons.cjs.js} +1 -1
  3. package/{SAP-icons.cjs2.js → dist/SAP-icons.cjs2.js} +1 -1
  4. package/{arc-d1f6357e.esm.js → dist/arc-d1f6357e.esm.js} +1 -1
  5. package/dist/array-2ff2c7a6.cjs.js +11 -0
  6. package/dist/array-2ff2c7a6.esm.js +9 -0
  7. package/{blockDiagram-5dc23a45.cjs.js → dist/blockDiagram-5dc23a45.cjs.js} +35 -40
  8. package/{blockDiagram-5dc23a45.esm.js → dist/blockDiagram-5dc23a45.esm.js} +36 -41
  9. package/{c4Diagram-1e775db3.cjs.js → dist/c4Diagram-1e775db3.cjs.js} +109 -110
  10. package/{c4Diagram-1e775db3.esm.js → dist/c4Diagram-1e775db3.esm.js} +110 -111
  11. package/{channel-ebbc4130.esm.js → dist/channel-ebbc4130.esm.js} +1 -1
  12. package/{classDiagram-f52caa06.cjs.js → dist/classDiagram-f52caa06.cjs.js} +9 -9
  13. package/{classDiagram-f52caa06.esm.js → dist/classDiagram-f52caa06.esm.js} +11 -11
  14. package/{classDiagram-v2-640c694e.cjs.js → dist/classDiagram-v2-640c694e.cjs.js} +2 -2
  15. package/{classDiagram-v2-640c694e.esm.js → dist/classDiagram-v2-640c694e.esm.js} +4 -4
  16. package/{createText-03b82060.cjs.js → dist/createText-03b82060.cjs.js} +62 -58
  17. package/{createText-03b82060.esm.js → dist/createText-03b82060.esm.js} +63 -59
  18. package/{edges-16357fde.cjs.js → dist/edges-16357fde.cjs.js} +39 -35
  19. package/{edges-16357fde.esm.js → dist/edges-16357fde.esm.js} +40 -36
  20. package/{erDiagram-c7ff1bec.cjs.js → dist/erDiagram-c7ff1bec.cjs.js} +34 -34
  21. package/{erDiagram-c7ff1bec.esm.js → dist/erDiagram-c7ff1bec.esm.js} +35 -35
  22. package/{flowDb-9a89ea33.cjs.js → dist/flowDb-9a89ea33.cjs.js} +44 -44
  23. package/{flowDb-9a89ea33.esm.js → dist/flowDb-9a89ea33.esm.js} +45 -45
  24. package/{flowDiagram-aadb13b0.cjs.js → dist/flowDiagram-aadb13b0.cjs.js} +11 -11
  25. package/{flowDiagram-aadb13b0.esm.js → dist/flowDiagram-aadb13b0.esm.js} +15 -15
  26. package/{flowDiagram-v2-f2119625.esm.js → dist/flowDiagram-v2-f2119625.esm.js} +3 -3
  27. package/{flowchart-elk-definition-cf813a97.cjs.js → dist/flowchart-elk-definition-cf813a97.cjs.js} +1469 -1478
  28. package/{flowchart-elk-definition-cf813a97.esm.js → dist/flowchart-elk-definition-cf813a97.esm.js} +1472 -1481
  29. package/{ganttDiagram-3c2fde2b.cjs.js → dist/ganttDiagram-3c2fde2b.cjs.js} +50 -50
  30. package/{ganttDiagram-3c2fde2b.esm.js → dist/ganttDiagram-3c2fde2b.esm.js} +52 -52
  31. package/{gitGraphDiagram-c3a0619c.cjs.js → dist/gitGraphDiagram-c3a0619c.cjs.js} +23 -28
  32. package/{gitGraphDiagram-c3a0619c.esm.js → dist/gitGraphDiagram-c3a0619c.esm.js} +24 -29
  33. package/{graph-0ee63739.cjs.js → dist/graph-0ee63739.cjs.js} +57 -64
  34. package/{graph-0ee63739.esm.js → dist/graph-0ee63739.esm.js} +59 -66
  35. package/{index-bb6d8841.cjs.js → dist/index-bb6d8841.cjs.js} +7 -7
  36. package/{index-bb6d8841.esm.js → dist/index-bb6d8841.esm.js} +10 -10
  37. package/{index.cjs.js → dist/index.cjs.js} +2 -4
  38. package/{index.cjs2.js → dist/index.cjs2.js} +60390 -62222
  39. package/dist/index.esm.js +1 -0
  40. package/{index.esm2.js → dist/index.esm2.js} +60390 -62203
  41. package/{infoDiagram-2f5c50c0.cjs.js → dist/infoDiagram-2f5c50c0.cjs.js} +18 -18
  42. package/{infoDiagram-2f5c50c0.esm.js → dist/infoDiagram-2f5c50c0.esm.js} +19 -19
  43. package/{journeyDiagram-14fe341a.cjs.js → dist/journeyDiagram-14fe341a.cjs.js} +20 -20
  44. package/{journeyDiagram-14fe341a.esm.js → dist/journeyDiagram-14fe341a.esm.js} +22 -22
  45. package/{katex-d90b6d29.cjs.js → dist/katex-d90b6d29.cjs.js} +640 -640
  46. package/{katex-d90b6d29.esm.js → dist/katex-d90b6d29.esm.js} +639 -639
  47. package/{layout-fd473db2.cjs.js → dist/layout-fd473db2.cjs.js} +30 -43
  48. package/{layout-fd473db2.esm.js → dist/layout-fd473db2.esm.js} +35 -48
  49. package/{line-24d93f1b.cjs.js → dist/line-24d93f1b.cjs.js} +2 -2
  50. package/{line-24d93f1b.esm.js → dist/line-24d93f1b.esm.js} +2 -2
  51. package/{linear-9bcf74c4.cjs.js → dist/linear-9bcf74c4.cjs.js} +5 -5
  52. package/{linear-9bcf74c4.esm.js → dist/linear-9bcf74c4.esm.js} +6 -6
  53. package/{mindmap-definition-9399c7e6.cjs.js → dist/mindmap-definition-9399c7e6.cjs.js} +942 -943
  54. package/{mindmap-definition-9399c7e6.esm.js → dist/mindmap-definition-9399c7e6.esm.js} +943 -944
  55. package/{ordinal-5695958c.cjs.js → dist/ordinal-5695958c.cjs.js} +1 -2
  56. package/{ordinal-5695958c.esm.js → dist/ordinal-5695958c.esm.js} +1 -2
  57. package/{path-428ebac9.cjs.js → dist/path-428ebac9.cjs.js} +0 -1
  58. package/{path-428ebac9.esm.js → dist/path-428ebac9.esm.js} +0 -1
  59. package/{pieDiagram-828dae43.cjs.js → dist/pieDiagram-828dae43.cjs.js} +23 -25
  60. package/{pieDiagram-828dae43.esm.js → dist/pieDiagram-828dae43.esm.js} +24 -26
  61. package/{quadrantDiagram-5fa00455.cjs.js → dist/quadrantDiagram-5fa00455.cjs.js} +28 -29
  62. package/{quadrantDiagram-5fa00455.esm.js → dist/quadrantDiagram-5fa00455.esm.js} +29 -30
  63. package/{requirementDiagram-03163dc4.cjs.js → dist/requirementDiagram-03163dc4.cjs.js} +24 -24
  64. package/{requirementDiagram-03163dc4.esm.js → dist/requirementDiagram-03163dc4.esm.js} +25 -25
  65. package/{sankeyDiagram-52ec8976.cjs.js → dist/sankeyDiagram-52ec8976.cjs.js} +18 -18
  66. package/{sankeyDiagram-52ec8976.esm.js → dist/sankeyDiagram-52ec8976.esm.js} +19 -19
  67. package/{sequenceDiagram-b517d154.cjs.js → dist/sequenceDiagram-b517d154.cjs.js} +50 -51
  68. package/{sequenceDiagram-b517d154.esm.js → dist/sequenceDiagram-b517d154.esm.js} +52 -53
  69. package/{libs/skill-web-chatbot → dist}/src/index.d.ts +1 -0
  70. package/dist/src/index.d.ts.map +1 -0
  71. package/{libs/skill-web-chatbot → dist}/src/lib/chat.element.d.ts +1 -0
  72. package/dist/src/lib/chat.element.d.ts.map +1 -0
  73. package/{libs/skill-web-chatbot → dist}/src/lib/common.data.d.ts +1 -0
  74. package/dist/src/lib/common.data.d.ts.map +1 -0
  75. package/{libs/skill-web-chatbot → dist}/src/lib/config.d.ts +1 -0
  76. package/dist/src/lib/config.d.ts.map +1 -0
  77. package/{libs/skill-web-chatbot → dist}/src/lib/digipair-full.data.d.ts +1 -0
  78. package/dist/src/lib/digipair-full.data.d.ts.map +1 -0
  79. package/{libs/skill-web-chatbot → dist}/src/lib/digipair-full.element.d.ts +4 -3
  80. package/dist/src/lib/digipair-full.element.d.ts.map +1 -0
  81. package/{libs/skill-web-chatbot → dist}/src/lib/digipair.data.d.ts +1 -0
  82. package/dist/src/lib/digipair.data.d.ts.map +1 -0
  83. package/{libs/skill-web-chatbot → dist}/src/lib/digipair.element.d.ts +4 -3
  84. package/dist/src/lib/digipair.element.d.ts.map +1 -0
  85. package/{libs/skill-web-chatbot → dist}/src/lib/inputs.element.d.ts +1 -0
  86. package/dist/src/lib/inputs.element.d.ts.map +1 -0
  87. package/{libs/skill-web-chatbot → dist}/src/lib/message.interface.d.ts +1 -0
  88. package/dist/src/lib/message.interface.d.ts.map +1 -0
  89. package/{libs/skill-web-chatbot → dist}/src/lib/pins/chatbot.actions.d.ts +1 -0
  90. package/dist/src/lib/pins/chatbot.actions.d.ts.map +1 -0
  91. package/{libs/skill-web-chatbot → dist}/src/lib/tools/css-selector.d.ts +1 -0
  92. package/dist/src/lib/tools/css-selector.d.ts.map +1 -0
  93. package/{stateDiagram-fca82b5b.cjs.js → dist/stateDiagram-fca82b5b.cjs.js} +13 -13
  94. package/{stateDiagram-fca82b5b.esm.js → dist/stateDiagram-fca82b5b.esm.js} +15 -15
  95. package/{stateDiagram-v2-ed04200a.cjs.js → dist/stateDiagram-v2-ed04200a.cjs.js} +5 -5
  96. package/{stateDiagram-v2-ed04200a.esm.js → dist/stateDiagram-v2-ed04200a.esm.js} +7 -7
  97. package/{styles-11e81fdd.cjs.js → dist/styles-11e81fdd.cjs.js} +32 -33
  98. package/{styles-11e81fdd.esm.js → dist/styles-11e81fdd.esm.js} +33 -34
  99. package/{styles-cacbff60.cjs.js → dist/styles-cacbff60.cjs.js} +42 -42
  100. package/{styles-cacbff60.esm.js → dist/styles-cacbff60.esm.js} +43 -43
  101. package/{styles-e75131e4.cjs.js → dist/styles-e75131e4.cjs.js} +2 -2
  102. package/{styles-e75131e4.esm.js → dist/styles-e75131e4.esm.js} +8 -8
  103. package/{svgDrawCommon-ecc5f780.cjs.js → dist/svgDrawCommon-ecc5f780.cjs.js} +1 -1
  104. package/{svgDrawCommon-ecc5f780.esm.js → dist/svgDrawCommon-ecc5f780.esm.js} +2 -2
  105. package/{timeline-definition-4ee9bff4.cjs.js → dist/timeline-definition-4ee9bff4.cjs.js} +23 -23
  106. package/{timeline-definition-4ee9bff4.esm.js → dist/timeline-definition-4ee9bff4.esm.js} +24 -24
  107. package/{xychartDiagram-e5e6b652.cjs.js → dist/xychartDiagram-e5e6b652.cjs.js} +44 -44
  108. package/{xychartDiagram-e5e6b652.esm.js → dist/xychartDiagram-e5e6b652.esm.js} +45 -45
  109. package/package.json +33 -6
  110. package/array-2ff2c7a6.cjs.js +0 -7
  111. package/array-2ff2c7a6.esm.js +0 -5
  112. package/index.d.ts +0 -1
  113. package/index.esm.js +0 -1
  114. package/libs/engine/src/index.d.ts +0 -2
  115. package/libs/engine/src/lib/alias.interface.d.ts +0 -9
  116. package/libs/engine/src/lib/engine.d.ts +0 -13
  117. package/libs/engine/src/lib/pins-settings.interface.d.ts +0 -15
  118. /package/{SAP-icons.esm.js → dist/SAP-icons.esm.js} +0 -0
  119. /package/{SAP-icons.esm2.js → dist/SAP-icons.esm2.js} +0 -0
  120. /package/{Tableau10-558cc280.cjs.js → dist/Tableau10-558cc280.cjs.js} +0 -0
  121. /package/{Tableau10-558cc280.esm.js → dist/Tableau10-558cc280.esm.js} +0 -0
  122. /package/{arc-d1f6357e.cjs.js → dist/arc-d1f6357e.cjs.js} +0 -0
  123. /package/{channel-ebbc4130.cjs.js → dist/channel-ebbc4130.cjs.js} +0 -0
  124. /package/{clone-afc2f047.cjs.js → dist/clone-afc2f047.cjs.js} +0 -0
  125. /package/{clone-afc2f047.esm.js → dist/clone-afc2f047.esm.js} +0 -0
  126. /package/{flowDiagram-v2-f2119625.cjs.js → dist/flowDiagram-v2-f2119625.cjs.js} +0 -0
  127. /package/{index.cjs.d.ts → dist/index.d.ts} +0 -0
  128. /package/{init-f9637058.cjs.js → dist/init-f9637058.cjs.js} +0 -0
  129. /package/{init-f9637058.esm.js → dist/init-f9637058.esm.js} +0 -0
  130. /package/{schema.fr.json → dist/schema.fr.json} +0 -0
  131. /package/{schema.json → dist/schema.json} +0 -0
@@ -49,7 +49,6 @@ function _defineProperties(target, props) {
49
49
  }
50
50
  function _create_class(Constructor, protoProps, staticProps) {
51
51
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
52
- if (staticProps) _defineProperties(Constructor, staticProps);
53
52
  return Constructor;
54
53
  }
55
54
  function _get(target, property, receiver) {
@@ -282,7 +281,7 @@ function p(param, t) {
282
281
  return e.has(r) && (t = e.get(r), e.delete(r)), t;
283
282
  }
284
283
  function g(e) {
285
- return e !== null && typeof e == "object" ? e.valueOf() : e;
284
+ return e !== null && (typeof e === "undefined" ? "undefined" : _type_of(e)) == "object" ? e.valueOf() : e;
286
285
  }
287
286
  var f = Symbol("implicit");
288
287
  function h() {
@@ -47,7 +47,6 @@ function _defineProperties(target, props) {
47
47
  }
48
48
  function _create_class(Constructor, protoProps, staticProps) {
49
49
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
50
- if (staticProps) _defineProperties(Constructor, staticProps);
51
50
  return Constructor;
52
51
  }
53
52
  function _get(target, property, receiver) {
@@ -280,7 +279,7 @@ function p(param, t) {
280
279
  return e.has(r) && (t = e.get(r), e.delete(r)), t;
281
280
  }
282
281
  function g(e) {
283
- return e !== null && typeof e == "object" ? e.valueOf() : e;
282
+ return e !== null && (typeof e === "undefined" ? "undefined" : _type_of(e)) == "object" ? e.valueOf() : e;
284
283
  }
285
284
  var f = Symbol("implicit");
286
285
  function h() {
@@ -16,7 +16,6 @@ function _defineProperties(target, props) {
16
16
  }
17
17
  function _create_class(Constructor, protoProps, staticProps) {
18
18
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
19
- if (staticProps) _defineProperties(Constructor, staticProps);
20
19
  return Constructor;
21
20
  }
22
21
  function _tagged_template_literal(strings, raw) {
@@ -14,7 +14,6 @@ function _defineProperties(target, props) {
14
14
  }
15
15
  function _create_class(Constructor, protoProps, staticProps) {
16
16
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17
- if (staticProps) _defineProperties(Constructor, staticProps);
18
17
  return Constructor;
19
18
  }
20
19
  function _tagged_template_literal(strings, raw) {
@@ -299,7 +299,7 @@ var J = function() {
299
299
  var x = s.length - 1;
300
300
  switch(c){
301
301
  case 3:
302
- r.setShowData(!0);
302
+ r.setShowData(true);
303
303
  break;
304
304
  case 6:
305
305
  this.$ = s[x - 1];
@@ -533,10 +533,10 @@ var J = function() {
533
533
  D && (n = n.slice(0, -1 * D * 2), c = c.slice(0, -1 * D), s = s.slice(0, -1 * D)), n.push(this.productions_[S[1]][0]), c.push(z.$), s.push(z._$), Q = V[n[n.length - 2]][n[n.length - 1]], n.push(Q);
534
534
  break;
535
535
  case 3:
536
- return !0;
536
+ return true;
537
537
  }
538
538
  }
539
- return !0;
539
+ return true;
540
540
  }
541
541
  }, O = function() {
542
542
  var b = {
@@ -547,7 +547,7 @@ var J = function() {
547
547
  },
548
548
  // resets the lexer, sets new input
549
549
  setInput: function setInput(t, i) {
550
- return this.yy = i || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
550
+ return this.yy = i || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
551
551
  "INITIAL"
552
552
  ], this.yylloc = {
553
553
  first_line: 1,
@@ -585,11 +585,11 @@ var J = function() {
585
585
  },
586
586
  // When called from action, caches matched text and appends it on next action
587
587
  more: function more() {
588
- return this._more = !0, this;
588
+ return this._more = true, this;
589
589
  },
590
590
  // 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.
591
591
  reject: function reject() {
592
- if (this.options.backtrack_lexer) this._backtrack = !0;
592
+ if (this.options.backtrack_lexer) this._backtrack = true;
593
593
  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(), {
594
594
  text: "",
595
595
  token: null,
@@ -646,29 +646,29 @@ var J = function() {
646
646
  }, this.yytext += t[0], this.match += t[0], this.matches = t, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
647
647
  this.offset,
648
648
  this.offset += this.yyleng
649
- ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(t[0].length), this.matched += t[0], n = this.performAction.call(this, this.yy, this, i, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
649
+ ]), this._more = false, this._backtrack = false, this._input = this._input.slice(t[0].length), this.matched += t[0], n = this.performAction.call(this, this.yy, this, i, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), n) return n;
650
650
  if (this._backtrack) {
651
651
  for(var s in c)this[s] = c[s];
652
- return !1;
652
+ return false;
653
653
  }
654
- return !1;
654
+ return false;
655
655
  },
656
656
  // return next match in input
657
657
  next: function next() {
658
658
  if (this.done) return this.EOF;
659
- this._input || (this.done = !0);
659
+ this._input || (this.done = true);
660
660
  var t, i, n, r;
661
661
  this._more || (this.yytext = "", this.match = "");
662
662
  for(var c = this._currentRules(), s = 0; s < c.length; s++)if (n = this._input.match(this.rules[c[s]]), n && (!i || n[0].length > i[0].length)) {
663
663
  if (i = n, r = s, this.options.backtrack_lexer) {
664
- if (t = this.test_match(n, c[s]), t !== !1) return t;
664
+ if (t = this.test_match(n, c[s]), t !== false) return t;
665
665
  if (this._backtrack) {
666
- i = !1;
666
+ i = false;
667
667
  continue;
668
- } else return !1;
668
+ } else return false;
669
669
  } else if (!this.options.flex) break;
670
670
  }
671
- return i ? (t = this.test_match(i, c[r]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
671
+ return i ? (t = this.test_match(i, c[r]), t !== false ? t : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
672
672
  text: "",
673
673
  token: null,
674
674
  line: this.yylineno
@@ -705,7 +705,7 @@ var J = function() {
705
705
  return this.conditionStack.length;
706
706
  },
707
707
  options: {
708
- "case-insensitive": !0
708
+ "case-insensitive": true
709
709
  },
710
710
  performAction: function performAction(i, n, r, c) {
711
711
  switch(r){
@@ -786,32 +786,32 @@ var J = function() {
786
786
  12,
787
787
  13
788
788
  ],
789
- inclusive: !1
789
+ inclusive: false
790
790
  },
791
791
  acc_descr: {
792
792
  rules: [
793
793
  10
794
794
  ],
795
- inclusive: !1
795
+ inclusive: false
796
796
  },
797
797
  acc_title: {
798
798
  rules: [
799
799
  8
800
800
  ],
801
- inclusive: !1
801
+ inclusive: false
802
802
  },
803
803
  title: {
804
804
  rules: [
805
805
  6
806
806
  ],
807
- inclusive: !1
807
+ inclusive: false
808
808
  },
809
809
  string: {
810
810
  rules: [
811
811
  15,
812
812
  16
813
813
  ],
814
- inclusive: !1
814
+ inclusive: false
815
815
  },
816
816
  INITIAL: {
817
817
  rules: [
@@ -830,7 +830,7 @@ var J = function() {
830
830
  19,
831
831
  20
832
832
  ],
833
- inclusive: !0
833
+ inclusive: true
834
834
  }
835
835
  }
836
836
  };
@@ -845,9 +845,7 @@ var J = function() {
845
845
  J.parser = J;
846
846
  var Et = J, nt = index.yp.pie, G = {
847
847
  sections: {},
848
- showData: !1,
849
- config: nt
850
- };
848
+ showData: false};
851
849
  var U = G.sections, K = G.showData;
852
850
  var At = structuredClone(nt), wt = function() {
853
851
  return structuredClone(At);
@@ -925,7 +923,7 @@ var At = structuredClone(nt), wt = function() {
925
923
  return (f.data.value / c * 100).toFixed(0) + "%";
926
924
  }).attr("transform", function(f) {
927
925
  return "translate(" + t.centroid(f) + ")";
928
- }).style("text-anchor", "middle").attr("class", "slice"), _.append("text").text(g.getDiagramTitle()).attr("x", 0).attr("y", -(m - 50) / 2).attr("class", "pieTitleText");
926
+ }).style("text-anchor", "middle").attr("class", "slice"), _.append("text").text(g.getDiagramTitle()).attr("x", 0).attr("y", -400 / 2).attr("class", "pieTitleText");
929
927
  var s = _.selectAll(".legend").data(r.domain()).enter().append("g").attr("class", "legend").attr("transform", function(f, P) {
930
928
  var R = l + d, M = R * r.domain().length / 2, Y = 12 * l, h = P * R - M;
931
929
  return "translate(" + Y + "," + h + ")";
@@ -1,4 +1,4 @@
1
- import { aL as yp, M as M_, h as O_, F as F_, A as A_, L as L_, E as E_, j as B_, a as ai, V as Vn, c as L, aM as nl, aK as z_, aN as zn, O as Ol, aO as m1 } from './index.esm2.js';
1
+ import { E as E_, L as L_, A as A_, F as F_, l as O_, M as M_, a as L, V as Vn, N as nl, K as z_, Q as zn, O as Ol, c as ai, m as B_, T as yp, U as m1 } from './index.esm2.js';
2
2
  import { v as vn } from './arc-d1f6357e.esm.js';
3
3
  import { h } from './ordinal-5695958c.esm.js';
4
4
  import { t } from './array-2ff2c7a6.esm.js';
@@ -297,7 +297,7 @@ var J = function() {
297
297
  var x = s.length - 1;
298
298
  switch(c){
299
299
  case 3:
300
- r.setShowData(!0);
300
+ r.setShowData(true);
301
301
  break;
302
302
  case 6:
303
303
  this.$ = s[x - 1];
@@ -531,10 +531,10 @@ var J = function() {
531
531
  D && (n = n.slice(0, -1 * D * 2), c = c.slice(0, -1 * D), s = s.slice(0, -1 * D)), n.push(this.productions_[S[1]][0]), c.push(z.$), s.push(z._$), Q = V[n[n.length - 2]][n[n.length - 1]], n.push(Q);
532
532
  break;
533
533
  case 3:
534
- return !0;
534
+ return true;
535
535
  }
536
536
  }
537
- return !0;
537
+ return true;
538
538
  }
539
539
  }, O = function() {
540
540
  var b = {
@@ -545,7 +545,7 @@ var J = function() {
545
545
  },
546
546
  // resets the lexer, sets new input
547
547
  setInput: function setInput(t, i) {
548
- return this.yy = i || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
548
+ return this.yy = i || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
549
549
  "INITIAL"
550
550
  ], this.yylloc = {
551
551
  first_line: 1,
@@ -583,11 +583,11 @@ var J = function() {
583
583
  },
584
584
  // When called from action, caches matched text and appends it on next action
585
585
  more: function more() {
586
- return this._more = !0, this;
586
+ return this._more = true, this;
587
587
  },
588
588
  // 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.
589
589
  reject: function reject() {
590
- if (this.options.backtrack_lexer) this._backtrack = !0;
590
+ if (this.options.backtrack_lexer) this._backtrack = true;
591
591
  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(), {
592
592
  text: "",
593
593
  token: null,
@@ -644,29 +644,29 @@ var J = function() {
644
644
  }, this.yytext += t[0], this.match += t[0], this.matches = t, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
645
645
  this.offset,
646
646
  this.offset += this.yyleng
647
- ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(t[0].length), this.matched += t[0], n = this.performAction.call(this, this.yy, this, i, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
647
+ ]), this._more = false, this._backtrack = false, this._input = this._input.slice(t[0].length), this.matched += t[0], n = this.performAction.call(this, this.yy, this, i, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), n) return n;
648
648
  if (this._backtrack) {
649
649
  for(var s in c)this[s] = c[s];
650
- return !1;
650
+ return false;
651
651
  }
652
- return !1;
652
+ return false;
653
653
  },
654
654
  // return next match in input
655
655
  next: function next() {
656
656
  if (this.done) return this.EOF;
657
- this._input || (this.done = !0);
657
+ this._input || (this.done = true);
658
658
  var t, i, n, r;
659
659
  this._more || (this.yytext = "", this.match = "");
660
660
  for(var c = this._currentRules(), s = 0; s < c.length; s++)if (n = this._input.match(this.rules[c[s]]), n && (!i || n[0].length > i[0].length)) {
661
661
  if (i = n, r = s, this.options.backtrack_lexer) {
662
- if (t = this.test_match(n, c[s]), t !== !1) return t;
662
+ if (t = this.test_match(n, c[s]), t !== false) return t;
663
663
  if (this._backtrack) {
664
- i = !1;
664
+ i = false;
665
665
  continue;
666
- } else return !1;
666
+ } else return false;
667
667
  } else if (!this.options.flex) break;
668
668
  }
669
- return i ? (t = this.test_match(i, c[r]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
669
+ return i ? (t = this.test_match(i, c[r]), t !== false ? t : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
670
670
  text: "",
671
671
  token: null,
672
672
  line: this.yylineno
@@ -703,7 +703,7 @@ var J = function() {
703
703
  return this.conditionStack.length;
704
704
  },
705
705
  options: {
706
- "case-insensitive": !0
706
+ "case-insensitive": true
707
707
  },
708
708
  performAction: function performAction(i, n, r, c) {
709
709
  switch(r){
@@ -784,32 +784,32 @@ var J = function() {
784
784
  12,
785
785
  13
786
786
  ],
787
- inclusive: !1
787
+ inclusive: false
788
788
  },
789
789
  acc_descr: {
790
790
  rules: [
791
791
  10
792
792
  ],
793
- inclusive: !1
793
+ inclusive: false
794
794
  },
795
795
  acc_title: {
796
796
  rules: [
797
797
  8
798
798
  ],
799
- inclusive: !1
799
+ inclusive: false
800
800
  },
801
801
  title: {
802
802
  rules: [
803
803
  6
804
804
  ],
805
- inclusive: !1
805
+ inclusive: false
806
806
  },
807
807
  string: {
808
808
  rules: [
809
809
  15,
810
810
  16
811
811
  ],
812
- inclusive: !1
812
+ inclusive: false
813
813
  },
814
814
  INITIAL: {
815
815
  rules: [
@@ -828,7 +828,7 @@ var J = function() {
828
828
  19,
829
829
  20
830
830
  ],
831
- inclusive: !0
831
+ inclusive: true
832
832
  }
833
833
  }
834
834
  };
@@ -843,9 +843,7 @@ var J = function() {
843
843
  J.parser = J;
844
844
  var Et = J, nt = yp.pie, G = {
845
845
  sections: {},
846
- showData: !1,
847
- config: nt
848
- };
846
+ showData: false};
849
847
  var U = G.sections, K = G.showData;
850
848
  var At = structuredClone(nt), wt = function() {
851
849
  return structuredClone(At);
@@ -923,7 +921,7 @@ var At = structuredClone(nt), wt = function() {
923
921
  return (f.data.value / c * 100).toFixed(0) + "%";
924
922
  }).attr("transform", function(f) {
925
923
  return "translate(" + t.centroid(f) + ")";
926
- }).style("text-anchor", "middle").attr("class", "slice"), _.append("text").text(g.getDiagramTitle()).attr("x", 0).attr("y", -(m - 50) / 2).attr("class", "pieTitleText");
924
+ }).style("text-anchor", "middle").attr("class", "slice"), _.append("text").text(g.getDiagramTitle()).attr("x", 0).attr("y", -400 / 2).attr("class", "pieTitleText");
927
925
  var s = _.selectAll(".legend").data(r.domain()).enter().append("g").attr("class", "legend").attr("transform", function(f, P) {
928
926
  var R = l + d, M = R * r.domain().length / 2, Y = 12 * l, h = P * R - M;
929
927
  return "translate(" + Y + "," + h + ")";
@@ -28,7 +28,6 @@ function _defineProperties(target, props) {
28
28
  }
29
29
  function _create_class(Constructor, protoProps, staticProps) {
30
30
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
31
- if (staticProps) _defineProperties(Constructor, staticProps);
32
31
  return Constructor;
33
32
  }
34
33
  function _define_property(obj, key, value) {
@@ -1351,10 +1350,10 @@ var pt = function() {
1351
1350
  O && (o = o.slice(0, -1 * O * 2), y = y.slice(0, -1 * O), a = a.slice(0, -1 * O)), o.push(this.productions_[U[1]][0]), y.push(tt.$), a.push(tt._$), mt = it[o[o.length - 2]][o[o.length - 1]], o.push(mt);
1352
1351
  break;
1353
1352
  case 3:
1354
- return !0;
1353
+ return true;
1355
1354
  }
1356
1355
  }
1357
- return !0;
1356
+ return true;
1358
1357
  }
1359
1358
  }, _t = function() {
1360
1359
  var $ = {
@@ -1365,7 +1364,7 @@ var pt = function() {
1365
1364
  },
1366
1365
  // resets the lexer, sets new input
1367
1366
  setInput: function setInput(n, r) {
1368
- return this.yy = r || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
1367
+ return this.yy = r || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
1369
1368
  "INITIAL"
1370
1369
  ], this.yylloc = {
1371
1370
  first_line: 1,
@@ -1403,11 +1402,11 @@ var pt = function() {
1403
1402
  },
1404
1403
  // When called from action, caches matched text and appends it on next action
1405
1404
  more: function more() {
1406
- return this._more = !0, this;
1405
+ return this._more = true, this;
1407
1406
  },
1408
1407
  // 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.
1409
1408
  reject: function reject() {
1410
- if (this.options.backtrack_lexer) this._backtrack = !0;
1409
+ if (this.options.backtrack_lexer) this._backtrack = true;
1411
1410
  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(), {
1412
1411
  text: "",
1413
1412
  token: null,
@@ -1464,29 +1463,29 @@ var pt = function() {
1464
1463
  }, this.yytext += n[0], this.match += n[0], this.matches = n, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
1465
1464
  this.offset,
1466
1465
  this.offset += this.yyleng
1467
- ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], o = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o) return o;
1466
+ ]), this._more = false, this._backtrack = false, this._input = this._input.slice(n[0].length), this.matched += n[0], o = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), o) return o;
1468
1467
  if (this._backtrack) {
1469
1468
  for(var a in y)this[a] = y[a];
1470
- return !1;
1469
+ return false;
1471
1470
  }
1472
- return !1;
1471
+ return false;
1473
1472
  },
1474
1473
  // return next match in input
1475
1474
  next: function next() {
1476
1475
  if (this.done) return this.EOF;
1477
- this._input || (this.done = !0);
1476
+ this._input || (this.done = true);
1478
1477
  var n, r, o, h;
1479
1478
  this._more || (this.yytext = "", this.match = "");
1480
1479
  for(var y = this._currentRules(), a = 0; a < y.length; a++)if (o = this._input.match(this.rules[y[a]]), o && (!r || o[0].length > r[0].length)) {
1481
1480
  if (r = o, h = a, this.options.backtrack_lexer) {
1482
- if (n = this.test_match(o, y[a]), n !== !1) return n;
1481
+ if (n = this.test_match(o, y[a]), n !== false) return n;
1483
1482
  if (this._backtrack) {
1484
- r = !1;
1483
+ r = false;
1485
1484
  continue;
1486
- } else return !1;
1485
+ } else return false;
1487
1486
  } else if (!this.options.flex) break;
1488
1487
  }
1489
- return r ? (n = this.test_match(r, y[h]), n !== !1 ? n : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1488
+ return r ? (n = this.test_match(r, y[h]), n !== false ? n : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1490
1489
  text: "",
1491
1490
  token: null,
1492
1491
  line: this.yylineno
@@ -1523,7 +1522,7 @@ var pt = function() {
1523
1522
  return this.conditionStack.length;
1524
1523
  },
1525
1524
  options: {
1526
- "case-insensitive": !0
1525
+ "case-insensitive": true
1527
1526
  },
1528
1527
  performAction: function performAction(r, o, h, y) {
1529
1528
  switch(h){
@@ -1691,59 +1690,59 @@ var pt = function() {
1691
1690
  rules: [
1692
1691
  30
1693
1692
  ],
1694
- inclusive: !1
1693
+ inclusive: false
1695
1694
  },
1696
1695
  point_x: {
1697
1696
  rules: [
1698
1697
  29
1699
1698
  ],
1700
- inclusive: !1
1699
+ inclusive: false
1701
1700
  },
1702
1701
  point_start: {
1703
1702
  rules: [
1704
1703
  27,
1705
1704
  28
1706
1705
  ],
1707
- inclusive: !1
1706
+ inclusive: false
1708
1707
  },
1709
1708
  acc_descr_multiline: {
1710
1709
  rules: [
1711
1710
  11,
1712
1711
  12
1713
1712
  ],
1714
- inclusive: !1
1713
+ inclusive: false
1715
1714
  },
1716
1715
  acc_descr: {
1717
1716
  rules: [
1718
1717
  9
1719
1718
  ],
1720
- inclusive: !1
1719
+ inclusive: false
1721
1720
  },
1722
1721
  acc_title: {
1723
1722
  rules: [
1724
1723
  7
1725
1724
  ],
1726
- inclusive: !1
1725
+ inclusive: false
1727
1726
  },
1728
1727
  title: {
1729
1728
  rules: [
1730
1729
  5
1731
1730
  ],
1732
- inclusive: !1
1731
+ inclusive: false
1733
1732
  },
1734
1733
  md_string: {
1735
1734
  rules: [
1736
1735
  21,
1737
1736
  22
1738
1737
  ],
1739
- inclusive: !1
1738
+ inclusive: false
1740
1739
  },
1741
1740
  string: {
1742
1741
  rules: [
1743
1742
  24,
1744
1743
  25
1745
1744
  ],
1746
- inclusive: !1
1745
+ inclusive: false
1747
1746
  },
1748
1747
  INITIAL: {
1749
1748
  rules: [
@@ -1784,7 +1783,7 @@ var pt = function() {
1784
1783
  47,
1785
1784
  48
1786
1785
  ],
1787
- inclusive: !0
1786
+ inclusive: true
1788
1787
  }
1789
1788
  }
1790
1789
  };
@@ -1826,9 +1825,9 @@ var Vt = /*#__PURE__*/ function() {
1826
1825
  value: function getDefaultConfig() {
1827
1826
  var s, c, x, f, d, l, g, i, q, b, D, w, I, B, p, H, G, K;
1828
1827
  return {
1829
- showXAxis: !0,
1830
- showYAxis: !0,
1831
- showTitle: !0,
1828
+ showXAxis: true,
1829
+ showYAxis: true,
1830
+ showTitle: true,
1832
1831
  chartHeight: ((s = index.yp.quadrantChart) == null ? void 0 : s.chartWidth) || 500,
1833
1832
  chartWidth: ((c = index.yp.quadrantChart) == null ? void 0 : c.chartHeight) || 500,
1834
1833
  titlePadding: ((x = index.yp.quadrantChart) == null ? void 0 : x.titlePadding) || 10,
@@ -2323,7 +2322,7 @@ var Zt = function Zt() {
2323
2322
  var q;
2324
2323
  i === "sandbox" && (q = index.bt("#i" + s));
2325
2324
  var D = (i === "sandbox" ? index.bt(q.nodes()[0].contentDocument.body) : index.bt("body")).select('[id="'.concat(s, '"]')), w = D.append("g").attr("class", "main"), I = ((T = g.quadrantChart) == null ? void 0 : T.chartWidth) || 500, B = ((m = g.quadrantChart) == null ? void 0 : m.chartHeight) || 500;
2326
- index.Ol(D, B, I, ((A = g.quadrantChart) == null ? void 0 : A.useMaxWidth) || !0), D.attr("viewBox", "0 0 " + I + " " + B), x.db.setHeight(B), x.db.setWidth(I);
2325
+ index.Ol(D, B, I, ((A = g.quadrantChart) == null ? void 0 : A.useMaxWidth) || true), D.attr("viewBox", "0 0 " + I + " " + B), x.db.setHeight(B), x.db.setWidth(I);
2327
2326
  var p = x.db.getQuadrantData(), H = w.append("g").attr("class", "quadrants"), G = w.append("g").attr("class", "border"), K = w.append("g").attr("class", "data-points"), at = w.append("g").attr("class", "labels"), nt = w.append("g").attr("class", "title");
2328
2327
  p.title && nt.append("text").attr("x", 0).attr("y", 0).attr("fill", p.title.fill).attr("font-size", p.title.fontSize).attr("dominant-baseline", f(p.title.horizontalPos)).attr("text-anchor", d(p.title.verticalPos)).attr("transform", l(p.title)).text(p.title.text), p.borderLines && G.selectAll("line").data(p.borderLines).enter().append("line").attr("x1", function(t) {
2329
2328
  return t.x1;