@thibezer/ui-components-kit 2.34.0 → 2.35.0

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.
package/dist/canvas.js CHANGED
@@ -5623,7 +5623,7 @@ class qn {
5623
5623
  const c = ta(n.geometria, o, a);
5624
5624
  if (!c) return null;
5625
5625
  const r = i.camadaDestino ?? t, l = this.p.adicionarFeicao(r, Rt(n, i.id ?? this.p.idLivre(r, `${e}-offset`), c));
5626
- return l ? (this.p.emitir("cad-feicao-criada", { camadaId: r, feicao: l }), i.apagarOrigem && this.p.removerFeicao(t, e), l) : null;
5626
+ return l ? (this.p.emitir("cad-feicao-criada", { camadaId: r, feicao: l }), i.apagarOrigem && this.p.removerFeicao(t, e), this.p.emitir("cad-feicao-offset", { origem: n, criada: l, lado: a, metros: o, origemApagada: !!i.apagarOrigem }), l) : null;
5627
5627
  }
5628
5628
  /** Copia a feição deslocada (em metros para leste/norte). */
5629
5629
  duplicarFeicao(t, e, o = {}, a = {}) {