@v1nt1248/3nclient-lib 0.1.91 → 0.1.93

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.
@@ -13,7 +13,7 @@ export interface Ui3nDialogProps {
13
13
  contentCssStyle?: Record<string, string>;
14
14
  confirmButton?: boolean;
15
15
  cancelButton?: boolean;
16
- onClose?: () => void;
16
+ onClose?: (data?: unknown) => void;
17
17
  onConfirm?: (data: unknown) => void;
18
18
  onCancel?: (data: unknown) => void;
19
19
  confirmButtonText?: string;
@@ -16392,7 +16392,7 @@ const Wk = ["id"], Zk = /* @__PURE__ */ Eg({
16392
16392
  function F(S) {
16393
16393
  var Y;
16394
16394
  const { ev: p, withAction: x = !0 } = S || {};
16395
- p && (p.stopImmediatePropagation(), p.preventDefault()), E.value = !1, (Y = I.dialogProps) != null && Y.onClose && I.dialogProps.onClose(), x && B("close");
16395
+ p && (p.stopImmediatePropagation(), p.preventDefault()), E.value = !1, (Y = I.dialogProps) != null && Y.onClose && I.dialogProps.onClose(), x && B("close", o.value);
16396
16396
  }
16397
16397
  function y(S) {
16398
16398
  var x;