@v1nt1248/3nclient-lib 0.1.95 → 0.1.96

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.
@@ -16394,7 +16394,7 @@ const Wk = ["id"], Zk = /* @__PURE__ */ Eg({
16394
16394
  function F(S) {
16395
16395
  var Y;
16396
16396
  const { ev: p, withAction: x = !0 } = S || {};
16397
- p && (p.stopImmediatePropagation(), p.preventDefault()), E.value = !1, (Y = I.dialogProps) != null && Y.onClose && I.dialogProps.onClose(), x && B("close", o.value);
16397
+ p && (p.stopImmediatePropagation(), p.preventDefault()), E.value = !1, (Y = I.dialogProps) != null && Y.onClose && I.dialogProps.onClose(o.value), x && B("close", o.value);
16398
16398
  }
16399
16399
  function y(S) {
16400
16400
  var x;
@@ -4314,7 +4314,7 @@ const bF = ["id"], pF = /* @__PURE__ */ mI({
4314
4314
  function v(Y) {
4315
4315
  var k;
4316
4316
  const { ev: c, withAction: q = !0 } = Y || {};
4317
- c && (c.stopImmediatePropagation(), c.preventDefault()), Q.value = !1, (k = g.dialogProps) != null && k.onClose && g.dialogProps.onClose(), q && D("close", w.value);
4317
+ c && (c.stopImmediatePropagation(), c.preventDefault()), Q.value = !1, (k = g.dialogProps) != null && k.onClose && g.dialogProps.onClose(w.value), q && D("close", w.value);
4318
4318
  }
4319
4319
  function gA(Y) {
4320
4320
  var q;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@v1nt1248/3nclient-lib",
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "v1nt1248",
5
- "version": "0.1.95",
5
+ "version": "0.1.96",
6
6
  "description": "Library for 3NWeb clients",
7
7
  "type": "module",
8
8
  "files": [
@@ -99,7 +99,7 @@
99
99
  ev.preventDefault();
100
100
  }
101
101
  show.value = false;
102
- props.dialogProps?.onClose && props.dialogProps.onClose();
102
+ props.dialogProps?.onClose && props.dialogProps.onClose(data.value);
103
103
  if (withAction) {
104
104
  emits('close', data.value);
105
105
  }