@its/core 2.6.3-beta.6 → 2.6.3-beta.8

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 (2) hide show
  1. package/dist/core.es.js +15 -14
  2. package/package.json +1 -1
package/dist/core.es.js CHANGED
@@ -5391,40 +5391,41 @@ function jJ({
5391
5391
  title: i,
5392
5392
  fontSize: o = "1rem",
5393
5393
  notes: a,
5394
- defaultNotesValue: s
5394
+ defaultNotesValue: s,
5395
+ width: u = "sm"
5395
5396
  }) {
5396
- const { t: u } = jt(), [c, l] = Ye(s || ""), d = (y) => {
5397
- l(y);
5398
- }, h = () => {
5399
- t(), l("");
5397
+ const { t: c } = jt(), [l, d] = Ye(s || ""), h = (m) => {
5398
+ d(m);
5400
5399
  }, p = () => {
5401
- a && c ? (n(c), l("")) : n();
5400
+ t(), d("");
5401
+ }, y = () => {
5402
+ a && l ? (n(l), d("")) : n();
5402
5403
  };
5403
5404
  return Xe(() => {
5404
- a && l(s || "");
5405
+ a && d(s || "");
5405
5406
  }, [s]), /* @__PURE__ */ A(
5406
5407
  kc,
5407
5408
  {
5408
5409
  id: "confirm-dialog",
5409
5410
  title: i,
5410
5411
  open: e,
5411
- onClose: h,
5412
- onCancel: h,
5413
- onSubmit: p,
5414
- width: "sm",
5412
+ onClose: p,
5413
+ onCancel: p,
5414
+ onSubmit: y,
5415
+ width: u,
5415
5416
  minHeight: "100px",
5416
5417
  disableBackdropClick: !0,
5417
5418
  disableEscapeKeyDown: !0,
5418
5419
  disableScroll: !0,
5419
5420
  dividers: !0,
5420
5421
  children: /* @__PURE__ */ Ae(hf, { gap: "24px", children: [
5421
- /* @__PURE__ */ A(tr, { variant: "body1", fontSize: o, children: u(r) }),
5422
+ /* @__PURE__ */ A(tr, { variant: "body1", fontSize: o, children: c(r) }),
5422
5423
  a && /* @__PURE__ */ A(
5423
5424
  NJ,
5424
5425
  {
5425
5426
  id: "notes-txtField",
5426
- value: c,
5427
- onChange: d,
5427
+ value: l,
5428
+ onChange: h,
5428
5429
  placeholder: "INSERT_NOTES",
5429
5430
  multiline: !0,
5430
5431
  minRows: 4,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@its/core",
4
- "version": "2.6.3-beta.6",
4
+ "version": "2.6.3-beta.8",
5
5
  "main": "dist/core.cjs.js",
6
6
  "module": "dist/core.es.js",
7
7
  "types": "dist/types/index.d.ts",