@digipair/skill-web-chatbot 0.113.1 → 0.114.2

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
@@ -1,4 +1,4 @@
1
- import { a$ as up, b0 as $t, aM as nl, aL as yp, F as F_, A as A_, M as M_, h as O_, E as E_, L as L_, j as B_, c as L, aK as z_, O as Ol, a as ai$1 } from './index.esm2.js';
1
+ import { L as L_, E as E_, l as O_, M as M_, A as A_, F as F_, a as L, K as z_, O as Ol, m as B_, X as $t, N as nl, T as yp, W as up, c as ai$1 } from './index.esm2.js';
2
2
  import { Q as Qr } from './createText-03b82060.esm.js';
3
3
  import { t } from './init-f9637058.esm.js';
4
4
  import { h } from './ordinal-5695958c.esm.js';
@@ -186,7 +186,7 @@ function Jt(e, t, i) {
186
186
  return o;
187
187
  }
188
188
  function st() {
189
- var e = h().unknown(void 0), t$1 = e.domain, i = e.range, s = 0, n = 1, o, c, f = !1, d = 0, R = 0, _ = 0.5;
189
+ var e = h().unknown(void 0), t$1 = e.domain, i = e.range, s = 0, n = 1, o, c, f = false, d = 0, R = 0, _ = 0.5;
190
190
  delete e.unknown;
191
191
  function A() {
192
192
  var m = t$1().length, T = n < s, S = T ? n : s, P = T ? s : n;
@@ -206,7 +206,7 @@ function st() {
206
206
  ];
207
207
  }, e.rangeRound = function(m) {
208
208
  var ref;
209
- return ref = _sliced_to_array(m, 2), s = ref[0], n = ref[1], s = +s, n = +n, f = !0, A();
209
+ return ref = _sliced_to_array(m, 2), s = ref[0], n = ref[1], s = +s, n = +n, f = true, A();
210
210
  }, e.bandwidth = function() {
211
211
  return c;
212
212
  }, e.step = function() {
@@ -1409,10 +1409,10 @@ var nt = function() {
1409
1409
  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);
1410
1410
  break;
1411
1411
  case 3:
1412
- return !0;
1412
+ return true;
1413
1413
  }
1414
1414
  }
1415
- return !0;
1415
+ return true;
1416
1416
  }
1417
1417
  }, It = function() {
1418
1418
  var V = {
@@ -1423,7 +1423,7 @@ var nt = function() {
1423
1423
  },
1424
1424
  // resets the lexer, sets new input
1425
1425
  setInput: function setInput(r, l) {
1426
- return this.yy = l || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
1426
+ 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 = [
1427
1427
  "INITIAL"
1428
1428
  ], this.yylloc = {
1429
1429
  first_line: 1,
@@ -1461,11 +1461,11 @@ var nt = function() {
1461
1461
  },
1462
1462
  // When called from action, caches matched text and appends it on next action
1463
1463
  more: function more() {
1464
- return this._more = !0, this;
1464
+ return this._more = true, this;
1465
1465
  },
1466
1466
  // 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.
1467
1467
  reject: function reject() {
1468
- if (this.options.backtrack_lexer) this._backtrack = !0;
1468
+ if (this.options.backtrack_lexer) this._backtrack = true;
1469
1469
  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(), {
1470
1470
  text: "",
1471
1471
  token: null,
@@ -1522,29 +1522,29 @@ var nt = function() {
1522
1522
  }, this.yytext += r[0], this.match += r[0], this.matches = r, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
1523
1523
  this.offset,
1524
1524
  this.offset += this.yyleng
1525
- ]), this._more = !1, this._backtrack = !1, 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 = !1), u) return u;
1525
+ ]), 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;
1526
1526
  if (this._backtrack) {
1527
1527
  for(var a in b)this[a] = b[a];
1528
- return !1;
1528
+ return false;
1529
1529
  }
1530
- return !1;
1530
+ return false;
1531
1531
  },
1532
1532
  // return next match in input
1533
1533
  next: function next() {
1534
1534
  if (this.done) return this.EOF;
1535
- this._input || (this.done = !0);
1535
+ this._input || (this.done = true);
1536
1536
  var r, l, u, g;
1537
1537
  this._more || (this.yytext = "", this.match = "");
1538
1538
  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)) {
1539
1539
  if (l = u, g = a, this.options.backtrack_lexer) {
1540
- if (r = this.test_match(u, b[a]), r !== !1) return r;
1540
+ if (r = this.test_match(u, b[a]), r !== false) return r;
1541
1541
  if (this._backtrack) {
1542
- l = !1;
1542
+ l = false;
1543
1543
  continue;
1544
- } else return !1;
1544
+ } else return false;
1545
1545
  } else if (!this.options.flex) break;
1546
1546
  }
1547
- return l ? (r = this.test_match(l, b[g]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1547
+ 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(), {
1548
1548
  text: "",
1549
1549
  token: null,
1550
1550
  line: this.yylineno
@@ -1581,7 +1581,7 @@ var nt = function() {
1581
1581
  return this.conditionStack.length;
1582
1582
  },
1583
1583
  options: {
1584
- "case-insensitive": !0
1584
+ "case-insensitive": true
1585
1585
  },
1586
1586
  performAction: function performAction(l, u, g, b) {
1587
1587
  switch(g){
@@ -1771,7 +1771,7 @@ var nt = function() {
1771
1771
  44,
1772
1772
  45
1773
1773
  ],
1774
- inclusive: !0
1774
+ inclusive: true
1775
1775
  },
1776
1776
  data: {
1777
1777
  rules: [
@@ -1811,7 +1811,7 @@ var nt = function() {
1811
1811
  44,
1812
1812
  45
1813
1813
  ],
1814
- inclusive: !0
1814
+ inclusive: true
1815
1815
  },
1816
1816
  axis_band_data: {
1817
1817
  rules: [
@@ -1850,7 +1850,7 @@ var nt = function() {
1850
1850
  44,
1851
1851
  45
1852
1852
  ],
1853
- inclusive: !0
1853
+ inclusive: true
1854
1854
  },
1855
1855
  axis_data: {
1856
1856
  rules: [
@@ -1892,41 +1892,41 @@ var nt = function() {
1892
1892
  44,
1893
1893
  45
1894
1894
  ],
1895
- inclusive: !0
1895
+ inclusive: true
1896
1896
  },
1897
1897
  acc_descr_multiline: {
1898
1898
  rules: [
1899
1899
  12,
1900
1900
  13
1901
1901
  ],
1902
- inclusive: !1
1902
+ inclusive: false
1903
1903
  },
1904
1904
  acc_descr: {
1905
1905
  rules: [
1906
1906
  10
1907
1907
  ],
1908
- inclusive: !1
1908
+ inclusive: false
1909
1909
  },
1910
1910
  acc_title: {
1911
1911
  rules: [
1912
1912
  8
1913
1913
  ],
1914
- inclusive: !1
1914
+ inclusive: false
1915
1915
  },
1916
1916
  title: {
1917
1917
  rules: [],
1918
- inclusive: !1
1918
+ inclusive: false
1919
1919
  },
1920
1920
  md_string: {
1921
1921
  rules: [],
1922
- inclusive: !1
1922
+ inclusive: false
1923
1923
  },
1924
1924
  string: {
1925
1925
  rules: [
1926
1926
  27,
1927
1927
  28
1928
1928
  ],
1929
- inclusive: !1
1929
+ inclusive: false
1930
1930
  },
1931
1931
  INITIAL: {
1932
1932
  rules: [
@@ -1964,7 +1964,7 @@ var nt = function() {
1964
1964
  44,
1965
1965
  45
1966
1966
  ],
1967
- inclusive: !0
1967
+ inclusive: true
1968
1968
  }
1969
1969
  }
1970
1970
  };
@@ -2042,7 +2042,7 @@ var Rt = /*#__PURE__*/ function() {
2042
2042
  y: 0,
2043
2043
  width: 0,
2044
2044
  height: 0
2045
- }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [
2045
+ }, 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 = [
2046
2046
  0,
2047
2047
  10
2048
2048
  ], this.boundingRect = {
@@ -2105,17 +2105,17 @@ var Rt = /*#__PURE__*/ function() {
2105
2105
  key: "calculateSpaceIfDrawnHorizontally",
2106
2106
  value: function calculateSpaceIfDrawnHorizontally(t) {
2107
2107
  var i = t.height;
2108
- if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
2108
+ if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = true), this.axisConfig.showLabel) {
2109
2109
  var s = this.getLabelDimension(), n = bt * t.width;
2110
2110
  this.outerPadding = Math.min(s.width / 2, n);
2111
2111
  var o = s.height + this.axisConfig.labelPadding * 2;
2112
- this.labelTextHeight = s.height, o <= i && (i -= o, this.showLabel = !0);
2112
+ this.labelTextHeight = s.height, o <= i && (i -= o, this.showLabel = true);
2113
2113
  }
2114
- if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = !0, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
2114
+ if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = true, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
2115
2115
  var s1 = this.textDimensionCalculator.getMaxDimension([
2116
2116
  this.title
2117
2117
  ], this.axisConfig.titleFontSize), n1 = s1.height + this.axisConfig.titlePadding * 2;
2118
- this.titleTextHeight = s1.height, n1 <= i && (i -= n1, this.showTitle = !0);
2118
+ this.titleTextHeight = s1.height, n1 <= i && (i -= n1, this.showTitle = true);
2119
2119
  }
2120
2120
  this.boundingRect.width = t.width, this.boundingRect.height = t.height - i;
2121
2121
  }
@@ -2124,17 +2124,17 @@ var Rt = /*#__PURE__*/ function() {
2124
2124
  key: "calculateSpaceIfDrawnVertical",
2125
2125
  value: function calculateSpaceIfDrawnVertical(t) {
2126
2126
  var i = t.width;
2127
- if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
2127
+ if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = true), this.axisConfig.showLabel) {
2128
2128
  var s = this.getLabelDimension(), n = bt * t.height;
2129
2129
  this.outerPadding = Math.min(s.height / 2, n);
2130
2130
  var o = s.width + this.axisConfig.labelPadding * 2;
2131
- o <= i && (i -= o, this.showLabel = !0);
2131
+ o <= i && (i -= o, this.showLabel = true);
2132
2132
  }
2133
- if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = !0, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
2133
+ if (this.axisConfig.showTick && i >= this.axisConfig.tickLength && (this.showTick = true, i -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
2134
2134
  var s1 = this.textDimensionCalculator.getMaxDimension([
2135
2135
  this.title
2136
2136
  ], this.axisConfig.titleFontSize), n1 = s1.height + this.axisConfig.titlePadding * 2;
2137
- this.titleTextHeight = s1.height, n1 <= i && (i -= n1, this.showTitle = !0);
2137
+ this.titleTextHeight = s1.height, n1 <= i && (i -= n1, this.showTitle = true);
2138
2138
  }
2139
2139
  this.boundingRect.width = t.width - i, this.boundingRect.height = t.height;
2140
2140
  }
@@ -2483,7 +2483,7 @@ var si = /*#__PURE__*/ function() {
2483
2483
  y: 0,
2484
2484
  width: 0,
2485
2485
  height: 0
2486
- }, this.showChartTitle = !1;
2486
+ }, this.showChartTitle = false;
2487
2487
  }
2488
2488
  _create_class(si, [
2489
2489
  {
@@ -2498,7 +2498,7 @@ var si = /*#__PURE__*/ function() {
2498
2498
  var i = this.textDimensionCalculator.getMaxDimension([
2499
2499
  this.chartData.title
2500
2500
  ], this.chartConfig.titleFontSize), s = Math.max(i.width, t.width), n = i.height + 2 * this.chartConfig.titlePadding;
2501
- return i.width <= s && i.height <= n && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = s, this.boundingRect.height = n, this.showChartTitle = !0), {
2501
+ return i.width <= s && i.height <= n && this.chartConfig.showTitle && this.chartData.title && (this.boundingRect.width = s, this.boundingRect.height = n, this.showChartTitle = true), {
2502
2502
  width: this.boundingRect.width,
2503
2503
  height: this.boundingRect.height
2504
2504
  };
@@ -2876,7 +2876,7 @@ var ci = /*#__PURE__*/ function() {
2876
2876
  }();
2877
2877
  var X = 0, Tt, Y = Pt(), H = Dt(), y = Lt(), at = H.plotColorPalette.split(",").map(function(e) {
2878
2878
  return e.trim();
2879
- }), G = !1, rt = !1;
2879
+ }), G = false, rt = false;
2880
2880
  function Dt() {
2881
2881
  var e = up(), t = $t();
2882
2882
  return nl(e.xyChart, t.themeVariables.xyChart);
@@ -2921,7 +2921,7 @@ function Et(e, t) {
2921
2921
  title: y.xAxis.title,
2922
2922
  min: e,
2923
2923
  max: t
2924
- }, G = !0;
2924
+ }, G = true;
2925
2925
  }
2926
2926
  function di(e) {
2927
2927
  y.xAxis = {
@@ -2930,7 +2930,7 @@ function di(e) {
2930
2930
  categories: e.map(function(t) {
2931
2931
  return ht(t.text);
2932
2932
  })
2933
- }, G = !0;
2933
+ }, G = true;
2934
2934
  }
2935
2935
  function fi(e) {
2936
2936
  y.yAxis.title = ht(e.text);
@@ -2941,7 +2941,7 @@ function pi(e, t) {
2941
2941
  title: y.yAxis.title,
2942
2942
  min: e,
2943
2943
  max: t
2944
- }, rt = !0;
2944
+ }, rt = true;
2945
2945
  }
2946
2946
  function mi(e) {
2947
2947
  var _Math, _Math1;
@@ -3010,7 +3010,7 @@ function Si() {
3010
3010
  var Ci = function Ci() {
3011
3011
  B_(), X = 0, Y = Pt(), y = Lt(), H = Dt(), at = H.plotColorPalette.split(",").map(function(e) {
3012
3012
  return e.trim();
3013
- }), G = !1, rt = !1;
3013
+ }), G = false, rt = false;
3014
3014
  }, _i = {
3015
3015
  getDrawableElem: Ai,
3016
3016
  clear: Ci,
@@ -3069,7 +3069,7 @@ var Ci = function Ci() {
3069
3069
  var n = s.db, o = n.getChartThemeConfig(), c = n.getChartConfig();
3070
3070
  L.debug("Rendering xychart chart\n" + e);
3071
3071
  var _ = z_(t), A = _.append("g").attr("class", "main"), m = A.append("rect").attr("width", c.width).attr("height", c.height).attr("class", "background");
3072
- Ol(_, c.height, c.width, !0), _.attr("viewBox", "0 0 ".concat(c.width, " ").concat(c.height)), m.attr("fill", o.backgroundColor), n.setTmpSVGG(_.append("g").attr("class", "mermaid-tmp-group"));
3072
+ 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"));
3073
3073
  var T = n.getDrawableElem(), S = {};
3074
3074
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
3075
3075
  try {
package/package.json CHANGED
@@ -1,13 +1,40 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-chatbot",
3
- "version": "0.113.1",
3
+ "version": "0.114.2",
4
+ "main": "./dist/index.cjs.js",
5
+ "module": "./dist/index.esm.js",
6
+ "types": "./dist/index.d.ts",
4
7
  "keywords": [
5
8
  "digipair",
6
9
  "web",
7
10
  "util"
8
11
  ],
9
- "dependencies": {},
10
- "typings": "./index.d.ts",
11
- "main": "./index.cjs.js",
12
- "module": "./index.esm.js"
13
- }
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.esm.js",
16
+ "default": "./dist/index.cjs.js"
17
+ },
18
+ "./index.esm.js": "./dist/index.esm.js",
19
+ "./index.esm2.js": "./dist/index.esm2.js",
20
+ "./index.cjs.js": "./dist/index.cjs.js",
21
+ "./index.cjs2.js": "./dist/index.cjs2.js",
22
+ "./SAP-icons.esm.js": "./dist/SAP-icons.esm.js",
23
+ "./SAP-icons.esm2.js": "./dist/SAP-icons.esm2.js",
24
+ "./package.json": "./package.json",
25
+ "./schema.json": "./dist/schema.json",
26
+ "./schema.fr.json": "./dist/schema.fr.json"
27
+ },
28
+ "files": [
29
+ "dist",
30
+ "README.md",
31
+ "package.json"
32
+ ],
33
+ "nx": {
34
+ "name": "skill-web-chatbot"
35
+ },
36
+ "dependencies": {
37
+ "@ui5/webcomponents": "^1.24.4",
38
+ "@ui5/webcomponents-icons": "^1.24.4"
39
+ }
40
+ }
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- function t(r) {
4
- return typeof r == "object" && "length" in r ? r : Array.from(r);
5
- }
6
-
7
- exports.t = t;
@@ -1,5 +0,0 @@
1
- function t(r) {
2
- return typeof r == "object" && "length" in r ? r : Array.from(r);
3
- }
4
-
5
- export { t };
package/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from 'libs/skill-web-chatbot/src/index';
package/index.esm.js DELETED
@@ -1 +0,0 @@
1
- export { ba as ChatbotElement, bb as DigipairFullElement, b9 as config } from './index.esm2.js';
@@ -1,2 +0,0 @@
1
- export * from './lib/engine';
2
- export * from './lib/pins-settings.interface';
@@ -1,9 +0,0 @@
1
- export interface Alias {
2
- name: string;
3
- library: string;
4
- element: string;
5
- properties: {
6
- library: string;
7
- element: string;
8
- };
9
- }
@@ -1,13 +0,0 @@
1
- import { PinsSettings } from './pins-settings.interface';
2
- type CONFIG_KEY = 'BASE_URL' | 'LIBRARIES' | 'ALIAS' | 'LOGGER';
3
- export declare const config: {
4
- set: (key: CONFIG_KEY, value: any) => void;
5
- log: (level: string, path: string, message: string, context: any, data?: any) => any;
6
- };
7
- export declare const applyTemplate: (value: any, context: any) => any;
8
- export declare const executePinsList: (pinsSettingsList: PinsSettings[], context: any, path?: string) => Promise<any>;
9
- export declare const generateElementFromPins: (pinsSettings: PinsSettings, parent: Element, context: any, document?: Document, options?: {
10
- import: boolean;
11
- }) => Promise<Element | void>;
12
- export declare const preparePinsSettings: (settings: PinsSettings, context: any) => PinsSettings;
13
- export {};
@@ -1,15 +0,0 @@
1
- export interface PinsSettings {
2
- library: string;
3
- element: string;
4
- properties?: {
5
- [key: string]: any;
6
- };
7
- conditions?: {
8
- if?: boolean;
9
- each?: any[];
10
- };
11
- pins?: PinsSettings[];
12
- events?: {
13
- [key: string]: PinsSettings[];
14
- };
15
- }
File without changes
File without changes
File without changes
File without changes
File without changes