@incodetech/web 0.0.0-dev-20260421-1845b47 → 0.0.0-dev-20260422-96fafd7

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.
@@ -1,18 +1,18 @@
1
1
  import { n as e } from "../i18n-ntrVdqVv.js";
2
- import { _ as t, a as n, d as r, h as i, l as a, p as o, u as s, v as c } from "../vendor-preact-D6SntenC.js";
3
- import { o as l, t as u } from "../incodeComponent-pGWsrcca.js";
4
- import { t as d } from "../spacer-DCljE53A.js";
5
- import { t as f } from "../page-D5Mt-0zn.js";
6
- import { r as p } from "../typography-B7nxauEL.js";
7
- import { t as m } from "../button-4-ToV5B_.js";
8
- import { t as h } from "../successIcon-C4GI_9SU.js";
9
- import { t as g } from "../incodeModule-BH9gV7jI.js";
10
- import { t as _ } from "../defineProperty-DB5OmvER.js";
11
- import { createSignatureManager as v } from "@incodetech/core/signature";
2
+ import { _ as t, a as n, h as r, l as i, p as a, u as o, v as s } from "../vendor-preact-D6SntenC.js";
3
+ import { o as c, t as l } from "../incodeComponent-pGWsrcca.js";
4
+ import { t as u } from "../spacer-DCljE53A.js";
5
+ import { t as d } from "../page-D5Mt-0zn.js";
6
+ import { r as f } from "../typography-B7nxauEL.js";
7
+ import { t as p } from "../button-4-ToV5B_.js";
8
+ import { t as m } from "../successIcon-C4GI_9SU.js";
9
+ import { t as h } from "../incodeModule-BH9gV7jI.js";
10
+ import { t as g } from "../defineProperty-DB5OmvER.js";
11
+ import { createSignatureManager as _ } from "@incodetech/core/signature";
12
12
  //#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
13
- var y = class {
13
+ var v = class {
14
14
  constructor(e, t, n, r) {
15
- if (_(this, "x", void 0), _(this, "y", void 0), _(this, "pressure", void 0), _(this, "time", void 0), isNaN(e) || isNaN(t)) throw Error(`Point is invalid: (${e}, ${t})`);
15
+ if (g(this, "x", void 0), g(this, "y", void 0), g(this, "pressure", void 0), g(this, "time", void 0), isNaN(e) || isNaN(t)) throw Error(`Point is invalid: (${e}, ${t})`);
16
16
  this.x = +e, this.y = +t, this.pressure = n || 0, this.time = r || Date.now();
17
17
  }
18
18
  distanceTo(e) {
@@ -24,7 +24,7 @@ var y = class {
24
24
  velocityFrom(e) {
25
25
  return this.time === e.time ? 0 : this.distanceTo(e) / (this.time - e.time);
26
26
  }
27
- }, b = class e {
27
+ }, y = class e {
28
28
  constructor(e, t, n, r, i, a) {
29
29
  this.startPoint = e, this.control2 = t, this.control1 = n, this.endPoint = r, this.startWidth = i, this.endWidth = a;
30
30
  }
@@ -44,8 +44,8 @@ var y = class {
44
44
  y: c.y + f * p
45
45
  }, h = t.x - m.x, g = t.y - m.y;
46
46
  return {
47
- c1: new y(s.x + h, s.y + g),
48
- c2: new y(c.x + h, c.y + g)
47
+ c1: new v(s.x + h, s.y + g),
48
+ c2: new v(c.x + h, c.y + g)
49
49
  };
50
50
  }
51
51
  length() {
@@ -63,9 +63,9 @@ var y = class {
63
63
  point(e, t, n, r, i) {
64
64
  return t * (1 - e) * (1 - e) * (1 - e) + 3 * n * (1 - e) * (1 - e) * e + 3 * r * (1 - e) * e * e + i * e * e * e;
65
65
  }
66
- }, x = class {
66
+ }, b = class {
67
67
  constructor() {
68
- _(this, "_et", void 0);
68
+ g(this, "_et", void 0);
69
69
  try {
70
70
  this._et = new EventTarget();
71
71
  } catch {
@@ -82,7 +82,7 @@ var y = class {
82
82
  this._et.removeEventListener(e, t, n);
83
83
  }
84
84
  };
85
- function S(e, t = 250) {
85
+ function x(e, t = 250) {
86
86
  let n = 0, r = null, i, a, o, s = () => {
87
87
  n = Date.now(), r = null, i = e.apply(a, o), r || (a = null, o = []);
88
88
  };
@@ -91,9 +91,9 @@ function S(e, t = 250) {
91
91
  return a = this, o = c, u <= 0 || u > t ? (r &&= (clearTimeout(r), null), n = l, i = e.apply(a, o), r || (a = null, o = [])) : r ||= window.setTimeout(s, u), i;
92
92
  };
93
93
  }
94
- var C = class e extends x {
94
+ var S = class e extends b {
95
95
  constructor(t, n = {}) {
96
- super(), _(this, "dotSize", void 0), _(this, "minWidth", void 0), _(this, "maxWidth", void 0), _(this, "penColor", void 0), _(this, "minDistance", void 0), _(this, "velocityFilterWeight", void 0), _(this, "compositeOperation", void 0), _(this, "backgroundColor", void 0), _(this, "throttle", void 0), _(this, "canvasContextOptions", void 0), _(this, "_ctx", void 0), _(this, "_drawingStroke", !1), _(this, "_isEmpty", !0), _(this, "_dataUrl", void 0), _(this, "_dataUrlOptions", void 0), _(this, "_lastPoints", []), _(this, "_data", []), _(this, "_lastVelocity", 0), _(this, "_lastWidth", 0), _(this, "_strokeMoveUpdate", void 0), _(this, "_strokePointerId", void 0), this.canvas = t, this.velocityFilterWeight = n.velocityFilterWeight || .7, this.minWidth = n.minWidth || .5, this.maxWidth = n.maxWidth || 2.5, this.throttle = n.throttle ?? 16, this.minDistance = n.minDistance ?? 5, this.dotSize = n.dotSize || 0, this.penColor = n.penColor || "black", this.backgroundColor = n.backgroundColor || "rgba(0,0,0,0)", this.compositeOperation = n.compositeOperation || "source-over", this.canvasContextOptions = n.canvasContextOptions ?? {}, this._strokeMoveUpdate = this.throttle ? S(e.prototype._strokeUpdate, this.throttle) : e.prototype._strokeUpdate, this._handleMouseDown = this._handleMouseDown.bind(this), this._handleMouseMove = this._handleMouseMove.bind(this), this._handleMouseUp = this._handleMouseUp.bind(this), this._handleTouchStart = this._handleTouchStart.bind(this), this._handleTouchMove = this._handleTouchMove.bind(this), this._handleTouchEnd = this._handleTouchEnd.bind(this), this._handlePointerDown = this._handlePointerDown.bind(this), this._handlePointerMove = this._handlePointerMove.bind(this), this._handlePointerUp = this._handlePointerUp.bind(this), this._handlePointerCancel = this._handlePointerCancel.bind(this), this._handleTouchCancel = this._handleTouchCancel.bind(this), this._ctx = t.getContext("2d", this.canvasContextOptions), this.clear(), this.on();
96
+ super(), g(this, "dotSize", void 0), g(this, "minWidth", void 0), g(this, "maxWidth", void 0), g(this, "penColor", void 0), g(this, "minDistance", void 0), g(this, "velocityFilterWeight", void 0), g(this, "compositeOperation", void 0), g(this, "backgroundColor", void 0), g(this, "throttle", void 0), g(this, "canvasContextOptions", void 0), g(this, "_ctx", void 0), g(this, "_drawingStroke", !1), g(this, "_isEmpty", !0), g(this, "_dataUrl", void 0), g(this, "_dataUrlOptions", void 0), g(this, "_lastPoints", []), g(this, "_data", []), g(this, "_lastVelocity", 0), g(this, "_lastWidth", 0), g(this, "_strokeMoveUpdate", void 0), g(this, "_strokePointerId", void 0), this.canvas = t, this.velocityFilterWeight = n.velocityFilterWeight || .7, this.minWidth = n.minWidth || .5, this.maxWidth = n.maxWidth || 2.5, this.throttle = n.throttle ?? 16, this.minDistance = n.minDistance ?? 5, this.dotSize = n.dotSize || 0, this.penColor = n.penColor || "black", this.backgroundColor = n.backgroundColor || "rgba(0,0,0,0)", this.compositeOperation = n.compositeOperation || "source-over", this.canvasContextOptions = n.canvasContextOptions ?? {}, this._strokeMoveUpdate = this.throttle ? x(e.prototype._strokeUpdate, this.throttle) : e.prototype._strokeUpdate, this._handleMouseDown = this._handleMouseDown.bind(this), this._handleMouseMove = this._handleMouseMove.bind(this), this._handleMouseUp = this._handleMouseUp.bind(this), this._handleTouchStart = this._handleTouchStart.bind(this), this._handleTouchMove = this._handleTouchMove.bind(this), this._handleTouchEnd = this._handleTouchEnd.bind(this), this._handlePointerDown = this._handlePointerDown.bind(this), this._handlePointerMove = this._handlePointerMove.bind(this), this._handlePointerUp = this._handlePointerUp.bind(this), this._handlePointerCancel = this._handlePointerCancel.bind(this), this._handleTouchCancel = this._handleTouchCancel.bind(this), this._ctx = t.getContext("2d", this.canvasContextOptions), this.clear(), this.on();
97
97
  }
98
98
  clear() {
99
99
  let { _ctx: e, canvas: t } = this;
@@ -295,13 +295,13 @@ var C = class e extends x {
295
295
  }
296
296
  _createPoint(e, t, n) {
297
297
  let r = this.canvas.getBoundingClientRect();
298
- return new y(e - r.left, t - r.top, n, (/* @__PURE__ */ new Date()).getTime());
298
+ return new v(e - r.left, t - r.top, n, (/* @__PURE__ */ new Date()).getTime());
299
299
  }
300
300
  _addPoint(e, t) {
301
301
  let { _lastPoints: n } = this;
302
302
  if (n.push(e), n.length > 2) {
303
303
  n.length === 3 && n.unshift(n[0]);
304
- let e = this._calculateCurveWidths(n[1], n[2], t), r = b.fromPoints(n, e);
304
+ let e = this._calculateCurveWidths(n[1], n[2], t), r = y.fromPoints(n, e);
305
305
  return n.shift(), r;
306
306
  }
307
307
  return null;
@@ -341,7 +341,7 @@ var C = class e extends x {
341
341
  for (let r of e) {
342
342
  let { points: e } = r, i = this._getPointGroupOptions(r);
343
343
  if (e.length > 1) for (let n = 0; n < e.length; n += 1) {
344
- let r = e[n], a = new y(r.x, r.y, r.pressure, r.time);
344
+ let r = e[n], a = new v(r.x, r.y, r.pressure, r.time);
345
345
  n === 0 && this._reset(i);
346
346
  let o = this._addPoint(a, i);
347
347
  o && t(o, i);
@@ -370,7 +370,7 @@ var C = class e extends x {
370
370
  a.setAttribute("r", s.toString()), a.setAttribute("cx", e.x.toString()), a.setAttribute("cy", e.y.toString()), a.setAttribute("fill", t), o.appendChild(a);
371
371
  }), o.outerHTML;
372
372
  }
373
- }, w = (e) => {
373
+ }, C = (e) => {
374
374
  if (typeof document > "u") return null;
375
375
  let t = document.createElement("div");
376
376
  t.style.color = e, t.style.position = "absolute", t.style.visibility = "hidden", document.body.appendChild(t);
@@ -385,174 +385,169 @@ var C = class e extends x {
385
385
  return `#${i(e)}${i(t)}${i(n)}`;
386
386
  }
387
387
  return null;
388
- }, T = "var(--icon-neutral-800)", E = "#ffffff", D = (e) => {
388
+ }, w = "var(--icon-neutral-800)", T = "#ffffff", E = (e) => {
389
389
  let t = document.createElement("canvas");
390
390
  t.width = e.width, t.height = e.height;
391
391
  let n = t.getContext("2d");
392
392
  if (!n) throw Error("Canvas 2D context is not available");
393
- return n.fillStyle = E, n.fillRect(0, 0, t.width, t.height), n.drawImage(e, 0, 0), t;
394
- }, O = (e, t, n) => new Promise((r, i) => {
393
+ return n.fillStyle = T, n.fillRect(0, 0, t.width, t.height), n.drawImage(e, 0, 0), t;
394
+ }, D = (e, t, n) => new Promise((r, i) => {
395
395
  e.toBlob((e) => {
396
396
  e ? r(e) : i(/* @__PURE__ */ Error("Canvas toBlob() returned null"));
397
397
  }, t, t === "image/jpeg" || t === "image/webp" ? n : void 0);
398
- }), k = n(({ onBeginStroke: e, hasDrawing: n, placeholder: r, customPenColor: o, customPenStrokeWidth: l, customBackgroundColor: u }, d) => {
399
- let f = a(null), p = a(null), m = a(null), h = a(e);
400
- h.current = e;
401
- let g = i(() => {
402
- let e = f.current, t = p.current, n = m.current;
398
+ }), O = n(({ onBeginStroke: e, hasDrawing: n, placeholder: a, customPenColor: c, customPenStrokeWidth: l, customBackgroundColor: u, customBorderColor: d }, f) => {
399
+ let p = i(null), m = i(null), h = i(null), g = i(e);
400
+ g.current = e;
401
+ let _ = r(() => {
402
+ let e = p.current, t = m.current, n = h.current;
403
403
  if (!e || !t || !n) return;
404
404
  let r = Math.max(window.devicePixelRatio || 1, 1), i = t.getContext("2d"), { width: a, height: o } = e.getBoundingClientRect();
405
405
  if (a === 0 || o === 0 || !i) return;
406
406
  let s = n.isEmpty() ? null : n.toData();
407
407
  t.width = Math.floor(a * r), t.height = Math.floor(o * r), i.setTransform(r, 0, 0, r, 0, 0), s ? n.fromData(s, { clear: !0 }) : n.clear();
408
408
  }, []);
409
- return s(d, () => ({
409
+ return o(f, () => ({
410
410
  clear: () => {
411
- m.current?.clear();
411
+ h.current?.clear();
412
412
  },
413
- isEmpty: () => m.current?.isEmpty() ?? !0,
414
- toDataURL: (e = "image/png", t) => m.current?.toDataURL(e, t) ?? "",
415
- getCanvas: () => p.current,
416
- getSignaturePad: () => m.current,
417
- on: () => m.current?.on(),
418
- off: () => m.current?.off(),
413
+ isEmpty: () => h.current?.isEmpty() ?? !0,
414
+ toDataURL: (e = "image/png", t) => h.current?.toDataURL(e, t) ?? "",
415
+ getCanvas: () => m.current,
416
+ getSignaturePad: () => h.current,
417
+ on: () => h.current?.on(),
418
+ off: () => h.current?.off(),
419
419
  getSignatureWithWhiteBackground: () => {
420
- let e = p.current;
421
- return e ? D(e) : null;
420
+ let e = m.current;
421
+ return e ? E(e) : null;
422
422
  },
423
- getBlob: (e = p.current ?? void 0, t = "image/jpeg", n = .92) => e ? O(e, t, n) : Promise.reject(/* @__PURE__ */ Error("No canvas available for getBlob"))
423
+ getBlob: (e = m.current ?? void 0, t = "image/jpeg", n = .92) => e ? D(e, t, n) : Promise.reject(/* @__PURE__ */ Error("No canvas available for getBlob"))
424
424
  }), []), t(() => {
425
- let e = f.current, t = p.current;
425
+ let e = p.current, t = m.current;
426
426
  if (!e || !t) return;
427
427
  let n = null, r = () => {
428
428
  n === null && (n = requestAnimationFrame(() => {
429
- n = null, g();
429
+ n = null, _();
430
430
  }));
431
- }, i = o ?? w(T), a = new C(t, {
431
+ }, i = c ?? C(w), a = new S(t, {
432
432
  ...i ? { penColor: i } : {},
433
433
  ...l ? { maxWidth: l } : {}
434
434
  });
435
- m.current = a;
436
- let s = () => h.current?.();
437
- a.addEventListener("beginStroke", s), g();
438
- let c = new ResizeObserver(() => {
435
+ h.current = a;
436
+ let o = () => g.current?.();
437
+ a.addEventListener("beginStroke", o), _();
438
+ let s = new ResizeObserver(() => {
439
439
  r();
440
440
  });
441
- return c.observe(e), () => {
442
- n !== null && cancelAnimationFrame(n), c.disconnect(), a.removeEventListener("beginStroke", s), a.off(), m.current = null;
441
+ return s.observe(e), () => {
442
+ n !== null && cancelAnimationFrame(n), s.disconnect(), a.removeEventListener("beginStroke", o), a.off(), h.current = null;
443
443
  };
444
444
  }, [
445
- g,
446
- o,
445
+ _,
446
+ c,
447
447
  l
448
- ]), /* @__PURE__ */ c("div", {
448
+ ]), /* @__PURE__ */ s("div", {
449
449
  class: "SignatureCanvasContainer",
450
- style: u ? { backgroundColor: u } : void 0,
451
- ref: f,
452
- children: [/* @__PURE__ */ c("canvas", {
450
+ style: u || d ? {
451
+ ...u ? { backgroundColor: u } : {},
452
+ ...d ? { borderColor: d } : {}
453
+ } : void 0,
454
+ ref: p,
455
+ children: [/* @__PURE__ */ s("canvas", {
453
456
  class: "SignatureCanvas",
454
- ref: p,
455
- "aria-label": r
456
- }), !n && /* @__PURE__ */ c("p", {
457
+ ref: m,
458
+ "aria-label": a
459
+ }), !n && /* @__PURE__ */ s("p", {
457
460
  class: "SignatureCanvasPlaceholder",
458
- children: r
461
+ children: a
459
462
  })]
460
463
  });
461
464
  });
462
- k.displayName = "SignatureCanvas";
465
+ O.displayName = "SignatureCanvas";
463
466
  //#endregion
464
467
  //#region src/modules/signature/signature.tsx
465
- var A = ({ config: n, onFinish: s, onError: u }) => {
466
- let { t: g } = e(), [_, y] = l(() => v({ config: n }), { autoLoad: !0 }), [b, x] = o(!1), S = a(null), C = a(void 0), w = r(() => {
467
- if (_.status === "capture" || _.status === "submitting") return _.phase;
468
- }, [_]), T = _.status === "error" ? _.error : void 0, E = _.status === "submitting", D = _.status === "capture" && _.canContinue && !E, O = i(() => {
469
- S.current && (S.current.on(), S.current.clear(), x(!1), y.setSignatureValid(!1));
470
- }, [y]);
468
+ var k = ({ config: n, onFinish: o, onError: l }) => {
469
+ let { t: h } = e(), [g, v] = c(() => _({ config: n }), { autoLoad: !0 }), [y, b] = a(!1), x = i(null), S = g.status === "error" ? g.error : void 0, C = g.status === "submitting", w = g.status === "capture" && g.canContinue && !C, T = r(() => {
470
+ x.current && (x.current.on(), x.current.clear(), b(!1), v.setSignatureValid(!1));
471
+ }, [v]);
471
472
  t(() => {
472
- _.status === "finished" && s?.();
473
- }, [_.status, s]), t(() => {
474
- T && (u?.(T), S.current?.on());
475
- }, [T, u]), t(() => {
476
- let e = C.current;
477
- w && e && e !== w && (x(!1), y.setSignatureValid(!1), O()), C.current = w;
478
- }, [
479
- w,
480
- y,
481
- O
482
- ]);
483
- let A = (e) => n.title?.trim() || g(e === "initials" ? "signature.initialsTitle" : "signature.fullSignatureTitle"), j = () => n.subTitle?.trim() || g("signature.subtitle"), M = async () => {
484
- let e = S.current;
473
+ g.status === "finished" && o?.();
474
+ }, [g.status, o]), t(() => {
475
+ S && (l?.(S), x.current?.on());
476
+ }, [S, l]);
477
+ let E = () => n.title?.trim() || h("signature.fullSignatureTitle"), D = () => n.subTitle?.trim() || h("signature.subtitle"), k = async () => {
478
+ let e = x.current;
485
479
  if (!e) return;
486
480
  let t = e.getSignatureWithWhiteBackground();
487
481
  if (t) return n.sendBase64 ?? !1 ? t.toDataURL("image/png").replace(/^data:image\/png;base64,/, "") : e.getBlob(t);
488
482
  };
489
- return _.status === "idle" || _.status === "finished" || _.status === "error" ? null : _.status === "success" ? /* @__PURE__ */ c(f, {
483
+ return g.status === "idle" || g.status === "finished" || g.status === "error" ? null : g.status === "success" ? /* @__PURE__ */ s(d, {
490
484
  className: "IncodeSignature IncodeSignatureFadeIn",
491
- children: /* @__PURE__ */ c("div", {
485
+ children: /* @__PURE__ */ s("div", {
492
486
  class: "IncodeSignatureContent IncodeSignatureSuccess",
493
487
  role: "status",
494
488
  children: [
495
- /* @__PURE__ */ c(h, { size: 48 }),
496
- /* @__PURE__ */ c(d, { size: 16 }),
497
- /* @__PURE__ */ c(p, { children: g("signature.successTitle") })
489
+ /* @__PURE__ */ s(m, { size: 48 }),
490
+ /* @__PURE__ */ s(u, { size: 16 }),
491
+ /* @__PURE__ */ s(f, { children: h("signature.successTitle") })
498
492
  ]
499
493
  })
500
- }) : /* @__PURE__ */ c(f, {
494
+ }) : /* @__PURE__ */ s(d, {
501
495
  className: "IncodeSignature IncodeSignatureFadeIn",
502
- title: A(w),
503
- subtitle: j(),
504
- children: [/* @__PURE__ */ c("div", {
496
+ title: E(),
497
+ subtitle: D(),
498
+ children: [/* @__PURE__ */ s("div", {
505
499
  class: "IncodeSignatureContent",
506
500
  children: [
507
- /* @__PURE__ */ c(k, {
508
- ref: S,
509
- hasDrawing: b,
501
+ /* @__PURE__ */ s(O, {
502
+ ref: x,
503
+ hasDrawing: y,
510
504
  onBeginStroke: () => {
511
- x(!0), y.setSignatureValid(!0);
505
+ b(!0), v.setSignatureValid(!0);
512
506
  },
513
- placeholder: g(w === "initials" ? "signature.initialsPlaceholder" : "signature.fullSignaturePlaceholder"),
507
+ placeholder: h("signature.fullSignaturePlaceholder"),
514
508
  customBackgroundColor: n.canvasBackgroundColor,
509
+ customBorderColor: n.canvasBorderColor,
515
510
  customPenColor: n.penColor,
516
511
  customPenStrokeWidth: n.penStrokeWidth
517
512
  }),
518
- /* @__PURE__ */ c(d, { size: 8 }),
519
- /* @__PURE__ */ c(m, {
513
+ /* @__PURE__ */ s(u, { size: 8 }),
514
+ /* @__PURE__ */ s(p, {
520
515
  variant: "link",
521
- disabled: !b || E,
522
- onClick: O,
523
- children: g("signature.clear")
516
+ disabled: !y || C,
517
+ onClick: T,
518
+ children: h("signature.clear")
524
519
  })
525
520
  ]
526
- }), /* @__PURE__ */ c("div", {
521
+ }), /* @__PURE__ */ s("div", {
527
522
  class: "IncodeSignatureButtonContainer",
528
- children: /* @__PURE__ */ c(m, {
529
- disabled: !D,
530
- isLoading: E,
523
+ children: /* @__PURE__ */ s(p, {
524
+ disabled: !w,
525
+ isLoading: C,
531
526
  onClick: async () => {
532
- let e = S.current;
533
- if (!(!e || _.status !== "capture" || e.isEmpty())) {
527
+ let e = x.current;
528
+ if (!(!e || g.status !== "capture" || e.isEmpty())) {
534
529
  e.off();
535
530
  try {
536
- let t = await M();
531
+ let t = await k();
537
532
  if (!t) {
538
533
  e.on();
539
534
  return;
540
535
  }
541
- y.submit(t);
536
+ v.submit(t);
542
537
  } catch {
543
538
  e.on();
544
539
  }
545
540
  }
546
541
  },
547
- children: g(w === "initials" ? "common.continue" : "signature.done")
542
+ children: h("signature.done")
548
543
  })
549
544
  })]
550
545
  });
551
- }, j = ({ config: e, onFinish: t, onError: n }) => /* @__PURE__ */ c(u, { children: e ? /* @__PURE__ */ c(A, {
546
+ }, A = ({ config: e, onFinish: t, onError: n }) => /* @__PURE__ */ s(l, { children: e ? /* @__PURE__ */ s(k, {
552
547
  config: e,
553
548
  onFinish: t,
554
549
  onError: n
555
550
  }) : null });
556
- g(j, "incode-signature");
551
+ h(A, "incode-signature");
557
552
  //#endregion
558
- export { j as Signature };
553
+ export { A as Signature };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260421-1845b47",
3
+ "version": "0.0.0-dev-20260422-96fafd7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -183,7 +183,7 @@
183
183
  "qrcode": "^1.5.4",
184
184
  "signature_pad": "^5.1.3",
185
185
  "tailwindcss": "^4.1.17",
186
- "@incodetech/core": "0.0.0-dev-20260421-1845b47"
186
+ "@incodetech/core": "0.0.0-dev-20260422-96fafd7"
187
187
  },
188
188
  "devDependencies": {
189
189
  "@microsoft/api-extractor": "^7.53.3",