@commercelayer/app-elements 5.3.0 → 5.3.1

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,5 +1,5 @@
1
1
  "use client";
2
- import { u as Ee, j as se, I as $e } from "./main-Du-FJA5W.js";
2
+ import { u as Ee, j as se, I as $e } from "./main-tnQun6Mf.js";
3
3
  import V, { memo as ce, useState as U, useEffect as I, useRef as w, useCallback as ue, forwardRef as Ce } from "react";
4
4
  function Ie(e, t, r) {
5
5
  return t in e ? Object.defineProperty(e, t, {
@@ -2,7 +2,7 @@
2
2
  var Gr = Object.defineProperty;
3
3
  var Xr = (o, a, t) => a in o ? Gr(o, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[a] = t;
4
4
  var y = (o, a, t) => Xr(o, typeof a != "symbol" ? a + "" : a, t);
5
- import { c as z, t as k, m as ht, a as mt, b as me, d as he, n as vt, e as Be, g as wr, f as Zr, h as Jr, s as ot, i as br, k as en, l as _r, o as kr, p as tn, q as rn, r as Ut, v as nn, w as an, x as Kt, y as on, z as Fe, A as sn, j as ne, B as Te, C as _e, D as xt, E as Yt, F as Mr, G as Rt, H as Cr, J as ln, K as Ee, L as Vt, M as cn, N as un, O as dn, P as pn, Q as st, R as fn, I as hn, S as mn, T as vn, U as Dn, V as gn } from "./main-Du-FJA5W.js";
5
+ import { c as z, t as k, m as ht, a as mt, b as me, d as he, n as vt, e as Be, g as wr, f as Zr, h as Jr, s as ot, i as br, k as en, l as _r, o as kr, p as tn, q as rn, r as Ut, v as nn, w as an, x as Kt, y as on, z as Fe, A as sn, j as ne, B as Te, C as _e, D as xt, E as Yt, F as Mr, G as Rt, H as Cr, J as ln, K as Ee, L as Vt, M as cn, N as un, O as dn, P as pn, Q as st, R as fn, I as hn, S as mn, T as vn, U as Dn, V as gn } from "./main-tnQun6Mf.js";
6
6
  import * as M from "react";
7
7
  import f, { useLayoutEffect as Sr, useEffect as Lt, cloneElement as xr, createRef as Ce, Component as G, useRef as Et, useCallback as yn, createElement as wn, forwardRef as bn, useMemo as _n } from "react";
8
8
  import * as kn from "react-dom";
@@ -469,7 +469,8 @@ The {{organization}} team`,
469
469
  payment_authorization: "Payment authorization",
470
470
  payment_capture: "Payment capture",
471
471
  payment_refund: "Refund",
472
- payment_void: "Void"
472
+ payment_void: "Void",
473
+ waiting_for_successful_capture: "Waiting for successful capture"
473
474
  },
474
475
  form: {
475
476
  language: "Language",
@@ -0,0 +1,7 @@
1
+ import { Authorization, Capture, Refund, Void } from '@commercelayer/sdk';
2
+ /**
3
+ * Check if the transaction is an async capture
4
+ * We assume that async pending captures are those
5
+ * that are not succeeded and have no message or error code.
6
+ */
7
+ export declare function orderTransactionIsAnAsyncCapture(transaction: Authorization | Void | Capture | Refund): boolean;
@@ -0,0 +1 @@
1
+ export {};
@@ -476,7 +476,8 @@ Il team di {{organization}}`,
476
476
  payment_authorization: "Autorizzazione pagamento",
477
477
  payment_capture: "Cattura pagamento",
478
478
  payment_refund: "Rimborso",
479
- payment_void: "Annulla"
479
+ payment_void: "Annulla",
480
+ waiting_for_successful_capture: "In attesa di catturare il pagamento"
480
481
  },
481
482
  form: {
482
483
  language: "Lingua",
@@ -465,6 +465,7 @@ declare const en: {
465
465
  payment_capture: string;
466
466
  payment_refund: string;
467
467
  payment_void: string;
468
+ waiting_for_successful_capture: string;
468
469
  };
469
470
  form: {
470
471
  language: string;