@epam/ai-dial-ui-kit 0.13.0-dev.47 → 0.13.0-dev.48

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.
@@ -62311,7 +62311,7 @@ const Ta = ({
62311
62311
  () => JSON.stringify(e, null, 2)
62312
62312
  );
62313
62313
  Se(() => {
62314
- typeof window < "u" && import("./JsonEditor-q69KAZgG.js").then((d) => {
62314
+ typeof window < "u" && import("./JsonEditor-GXdJq8qt.js").then((d) => {
62315
62315
  r(() => d.DialJsonEditor);
62316
62316
  });
62317
62317
  }, []);
@@ -64029,14 +64029,14 @@ const yC = {
64029
64029
  e.preventDefault();
64030
64030
  return;
64031
64031
  }
64032
- if (s !== void 0 || i !== void 0) {
64033
- const o = e.currentTarget.value, r = e.currentTarget.selectionStart || 0, a = o.slice(0, r) + e.key + o.slice(r), l = parseFloat(a);
64034
- if (!isNaN(l)) {
64035
- if (s !== void 0 && l < +s) {
64032
+ if ((s !== void 0 || i !== void 0) && e.currentTarget.selectionStart !== null) {
64033
+ const o = e.currentTarget.value, r = e.currentTarget.selectionStart, a = e.currentTarget.selectionEnd ?? r, l = o.slice(0, r) + e.key + o.slice(a), c = parseFloat(l);
64034
+ if (!isNaN(c)) {
64035
+ if (s !== void 0 && c < +s) {
64036
64036
  e.preventDefault();
64037
64037
  return;
64038
64038
  }
64039
- if (i !== void 0 && l > +i) {
64039
+ if (i !== void 0 && c > +i) {
64040
64040
  e.preventDefault();
64041
64041
  return;
64042
64042
  }
@@ -65003,7 +65003,7 @@ const yC = {
65003
65003
  ]
65004
65004
  }
65005
65005
  );
65006
- }, k_ = () => import("./JsonEditor-q69KAZgG.js"), M_ = () => import("./MarkdownEditor-BN9xSEkJ.js"), A_ = () => import("./MarkdownEditor-YmOUAznJ.js");
65006
+ }, k_ = () => import("./JsonEditor-GXdJq8qt.js"), M_ = () => import("./MarkdownEditor-YV_It4dO.js"), A_ = () => import("./MarkdownEditor-CTrcakmh.js");
65007
65007
  export {
65008
65008
  ta as $,
65009
65009
  I_ as A,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.13.0-dev.47",
3
+ "version": "0.13.0-dev.48",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",