@8wave/ai-elements 0.126.0-beta.12 → 0.126.0-beta.14

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 (31) hide show
  1. package/dist/_chunks/{PkChart-DWb-SQth.js → PkChart-BiFofCDF.js} +7 -3
  2. package/dist/_chunks/{PkChart-DWb-SQth.js.map → PkChart-BiFofCDF.js.map} +1 -1
  3. package/dist/_chunks/{PkFilePreview-Qa0gqSB7.js → PkFilePreview-SBGa95Ca.js} +604 -600
  4. package/dist/_chunks/PkFilePreview-SBGa95Ca.js.map +1 -0
  5. package/dist/_chunks/{PkFilePreviewDialog-BAiyiAhZ.js → PkFilePreviewDialog-Cc7iZWCl.js} +2 -2
  6. package/dist/_chunks/{PkFilePreviewDialog-BAiyiAhZ.js.map → PkFilePreviewDialog-Cc7iZWCl.js.map} +1 -1
  7. package/dist/_chunks/{PkToolShowChart-CuLW9Kcy.js → PkToolShowChart-lLXuHRJu.js} +2 -2
  8. package/dist/_chunks/{PkToolShowChart-CuLW9Kcy.js.map → PkToolShowChart-lLXuHRJu.js.map} +1 -1
  9. package/dist/ai-elements.es.js +2 -2
  10. package/dist-vue/PkChatbot.js +1 -1
  11. package/dist-vue/PkChatbotMessages.js +1 -1
  12. package/dist-vue/PkChatbotViewChat.js +1 -1
  13. package/dist-vue/_chunks/{PkChart-DiMQHC6K.js → PkChart-CmrpyYAS.js} +7 -3
  14. package/dist-vue/_chunks/{PkChart-DiMQHC6K.js.map → PkChart-CmrpyYAS.js.map} +1 -1
  15. package/dist-vue/_chunks/{PkChatbot-DcL0-0oj.js → PkChatbot-ewxoWtEU.js} +2 -2
  16. package/dist-vue/_chunks/{PkChatbot-DcL0-0oj.js.map → PkChatbot-ewxoWtEU.js.map} +1 -1
  17. package/dist-vue/_chunks/{PkChatbotMessages-B4WVWbxH.js → PkChatbotMessages-DV0hYZgp.js} +2 -2
  18. package/dist-vue/_chunks/{PkChatbotMessages-B4WVWbxH.js.map → PkChatbotMessages-DV0hYZgp.js.map} +1 -1
  19. package/dist-vue/_chunks/{PkChatbotViewChat-BrBSEwg6.js → PkChatbotViewChat-CT5N0zvF.js} +3 -3
  20. package/dist-vue/_chunks/{PkChatbotViewChat-BrBSEwg6.js.map → PkChatbotViewChat-CT5N0zvF.js.map} +1 -1
  21. package/dist-vue/_chunks/{PkFilePreview-Bcvo21_8.js → PkFilePreview-O8iOSD7k.js} +690 -686
  22. package/dist-vue/_chunks/PkFilePreview-O8iOSD7k.js.map +1 -0
  23. package/dist-vue/_chunks/{PkFilePreviewDialog-C7bLPoeL.js → PkFilePreviewDialog-Chp8KLNP.js} +2 -2
  24. package/dist-vue/_chunks/{PkFilePreviewDialog-C7bLPoeL.js.map → PkFilePreviewDialog-Chp8KLNP.js.map} +1 -1
  25. package/dist-vue/_chunks/{PkToolShowChart-p5CZEPWQ.js → PkToolShowChart-B8xJi1yY.js} +2 -2
  26. package/dist-vue/_chunks/{PkToolShowChart-p5CZEPWQ.js.map → PkToolShowChart-B8xJi1yY.js.map} +1 -1
  27. package/dist-vue/index.js +5 -5
  28. package/dist-vue/packages/components/src/chat/spreadsheetNumbers.d.ts +25 -0
  29. package/package.json +1 -1
  30. package/dist/_chunks/PkFilePreview-Qa0gqSB7.js.map +0 -1
  31. package/dist-vue/_chunks/PkFilePreview-Bcvo21_8.js.map +0 -1
@@ -7399,7 +7399,8 @@ var qc = ["aria-label"], Jc = /*#__PURE__*/ p(/* @__PURE__ */ s({
7399
7399
  borderWidth: 2,
7400
7400
  pointRadius: 3,
7401
7401
  cubicInterpolationMode: o ? "default" : "monotone",
7402
- spanGaps: !1
7402
+ spanGaps: !1,
7403
+ clip: 5
7403
7404
  } : {
7404
7405
  label: i,
7405
7406
  data: n.values,
@@ -7414,6 +7415,7 @@ var qc = ["aria-label"], Jc = /*#__PURE__*/ p(/* @__PURE__ */ s({
7414
7415
  font: n
7415
7416
  }), u = {
7416
7417
  beginAtZero: !0,
7418
+ grace: "10%",
7417
7419
  stacked: !!e.stacked,
7418
7420
  ticks: {
7419
7421
  color: t.tick,
@@ -7427,6 +7429,7 @@ var qc = ["aria-label"], Jc = /*#__PURE__*/ p(/* @__PURE__ */ s({
7427
7429
  border: { display: !1 },
7428
7430
  title: l(e.valueLabel)
7429
7431
  }, h = {
7432
+ offset: !0,
7430
7433
  stacked: !!e.stacked,
7431
7434
  ticks: {
7432
7435
  color: t.tick,
@@ -7499,7 +7502,8 @@ var qc = ["aria-label"], Jc = /*#__PURE__*/ p(/* @__PURE__ */ s({
7499
7502
  await e(), v.value && _.value && (y?.destroy(), y = new Ko(v.value, k()));
7500
7503
  };
7501
7504
  return s({ toBlob: async () => {
7502
- if (!v.value || !_.value) return null;
7505
+ if (!y || !v.value || !_.value) return null;
7506
+ y.stop(), y.update("none"), y.draw();
7503
7507
  let e = document.createElement("canvas");
7504
7508
  e.width = v.value.width, e.height = v.value.height;
7505
7509
  let t = e.getContext("2d");
@@ -7526,4 +7530,4 @@ var qc = ["aria-label"], Jc = /*#__PURE__*/ p(/* @__PURE__ */ s({
7526
7530
  }), [["styles", [".pk-chart{width:100%;height:100%;min-height:0;position:relative}"]]]);
7527
7531
  export { Jc as default };
7528
7532
 
7529
- //# sourceMappingURL=PkChart-DWb-SQth.js.map
7533
+ //# sourceMappingURL=PkChart-BiFofCDF.js.map