@commercelayer/app-elements 5.1.5 → 5.1.7
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/{CodeEditorComponent-CgmV7mxi.js → CodeEditorComponent-7z-H3aDG.js} +1 -1
- package/dist/{InputDateComponent-DEwjT9sG.js → InputDateComponent-dyq5Qnln.js} +1 -1
- package/dist/{en-DWJ3uXEY.js → en-vqJxCbTh.js} +12 -3
- package/dist/{it-DgQb6BE7.js → it-FJl9M3rv.js} +12 -3
- package/dist/locales/en.d.ts +11 -2
- package/dist/{main-DZbCeaQM.js → main-CJaq1k9U.js} +4 -4
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { u as Ee, j as se, I as $e } from "./main-
|
|
2
|
+
import { u as Ee, j as se, I as $e } from "./main-CJaq1k9U.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 Br = Object.defineProperty;
|
|
3
3
|
var Kr = (o, a, t) => a in o ? Br(o, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[a] = t;
|
|
4
4
|
var w = (o, a, t) => Kr(o, typeof a != "symbol" ? a + "" : a, t);
|
|
5
|
-
import { c as G, t as k, m as dt, a as pt, b as he, d as fe, n as ft, e as He, g as fr, f as Ur, h as Vr, s as rt, i as hr, k as qr, l as mr, o as vr, p as jr, q as $r, r as At, v as Gr, w as Xr, x as Ht, y as zr, z as Le, A as Zr, j as ne, B as Pe, C as be, D as kt, E as Pt, F as Dr, G as Tt, H as gr, J as Jr, K as Se, L as Wt, M as en, N as tn, O as rn, P as nn, Q as nt, I as an, R as on, S as sn, T as ln, U as cn } from "./main-
|
|
5
|
+
import { c as G, t as k, m as dt, a as pt, b as he, d as fe, n as ft, e as He, g as fr, f as Ur, h as Vr, s as rt, i as hr, k as qr, l as mr, o as vr, p as jr, q as $r, r as At, v as Gr, w as Xr, x as Ht, y as zr, z as Le, A as Zr, j as ne, B as Pe, C as be, D as kt, E as Pt, F as Dr, G as Tt, H as gr, J as Jr, K as Se, L as Wt, M as en, N as tn, O as rn, P as nn, Q as nt, I as an, R as on, S as sn, T as ln, U as cn } from "./main-CJaq1k9U.js";
|
|
6
6
|
import * as M from "react";
|
|
7
7
|
import f, { useLayoutEffect as wr, useEffect as Nt, cloneElement as yr, createRef as Me, Component as X, useRef as Mt, useCallback as un, createElement as dn, forwardRef as pn } from "react";
|
|
8
8
|
import * as fn from "react-dom";
|
|
@@ -402,9 +402,18 @@ The {{organization}} team`,
|
|
|
402
402
|
type: "Type",
|
|
403
403
|
wallet: "Wallet",
|
|
404
404
|
groups: "Groups",
|
|
405
|
-
confirm_customer_delete: "Confirm that you want to delete {{email}}"
|
|
406
|
-
|
|
407
|
-
|
|
405
|
+
confirm_customer_delete: "Confirm that you want to delete {{email}}"
|
|
406
|
+
},
|
|
407
|
+
anonymize: {
|
|
408
|
+
title: "Customer cannot be deleted",
|
|
409
|
+
description: "The customer cannot be deleted. Instead, you can request the anonymization. Their personal data will be replaced in all the related resources, including orders. You can cancel the anonymization request until it is not in progress.",
|
|
410
|
+
request_button: "Request anonymization"
|
|
411
|
+
},
|
|
412
|
+
anonymization_info: {
|
|
413
|
+
alert_requested: "Customer anonymization requested by {{requestedby}} on {{requestedat}}. You can cancel this request until it is processed.",
|
|
414
|
+
alert_in_progress: "Customer anonymization in progress. Requested by {{requestedby}} on {{requestedat}}.",
|
|
415
|
+
alert_completed: "Customer anonymization completed on {{completedat}}. Requested by {{requestedby}} on {{requestedat}}.",
|
|
416
|
+
cancel_button: "Cancel request"
|
|
408
417
|
},
|
|
409
418
|
form: {
|
|
410
419
|
customer_group_label: "Group",
|
|
@@ -409,9 +409,18 @@ Il team di {{organization}}`,
|
|
|
409
409
|
type: "Tipo",
|
|
410
410
|
wallet: "Portafoglio",
|
|
411
411
|
groups: "Gruppi",
|
|
412
|
-
confirm_customer_delete: "Sei sicuro di voler eliminare {{email}}?"
|
|
413
|
-
|
|
414
|
-
|
|
412
|
+
confirm_customer_delete: "Sei sicuro di voler eliminare {{email}}?"
|
|
413
|
+
},
|
|
414
|
+
anonymize: {
|
|
415
|
+
title: "Il cliente non può essere eliminato",
|
|
416
|
+
description: "Il cliente non può essere eliminato. Invece, puoi richiederne l'anonimizzazione. I suoi dati personali saranno sostituiti in tutte le risorse correlate, compresi gli ordini. Puoi annullare la richiesta di anonimizzazione finché non viene elaborata.",
|
|
417
|
+
request_button: "Richiedi anonimizzazione"
|
|
418
|
+
},
|
|
419
|
+
anonymization_info: {
|
|
420
|
+
alert_requested: "Anonimizzazione del cliente richiesta da {{requestedby}} il {{requestedat}}. È possibile annullare questa richiesta finché non è processata.",
|
|
421
|
+
alert_in_progress: "Anonimizzazione del cliente in corso. Richiesta da {{requestedby}} il {{requestedat}}.",
|
|
422
|
+
alert_completed: "Anonimizzazione del cliente completata il {{completedat}}. Richiesta da {{requestedby}} il {{requestedat}}.",
|
|
423
|
+
cancel_button: "Annulla richiesta"
|
|
415
424
|
},
|
|
416
425
|
form: {
|
|
417
426
|
customer_group_label: "Gruppo",
|
package/dist/locales/en.d.ts
CHANGED
|
@@ -398,8 +398,17 @@ declare const en: {
|
|
|
398
398
|
wallet: string;
|
|
399
399
|
groups: string;
|
|
400
400
|
confirm_customer_delete: string;
|
|
401
|
-
|
|
402
|
-
|
|
401
|
+
};
|
|
402
|
+
anonymize: {
|
|
403
|
+
title: string;
|
|
404
|
+
description: string;
|
|
405
|
+
request_button: string;
|
|
406
|
+
};
|
|
407
|
+
anonymization_info: {
|
|
408
|
+
alert_requested: string;
|
|
409
|
+
alert_in_progress: string;
|
|
410
|
+
alert_completed: string;
|
|
411
|
+
cancel_button: string;
|
|
403
412
|
};
|
|
404
413
|
form: {
|
|
405
414
|
customer_group_label: string;
|
|
@@ -18000,7 +18000,7 @@ const XW = ve(({ items: t }) => {
|
|
|
18000
18000
|
] }),
|
|
18001
18001
|
e != null && /* @__PURE__ */ u.jsx("div", { className: "flex mb-4 md:!mt-0", "data-testid": "page-heading-badge", children: /* @__PURE__ */ u.jsx(X0, { variant: e.variant ?? "warning-solid", children: e.label }) }),
|
|
18002
18002
|
/* @__PURE__ */ u.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
18003
|
-
/* @__PURE__ */ u.jsx("h1", { className: "font-semibold text-2xl md:text-title leading-title break-
|
|
18003
|
+
/* @__PURE__ */ u.jsx("h1", { className: "font-semibold text-2xl md:text-title leading-title break-all", children: n }),
|
|
18004
18004
|
a == null && i != null ? /* @__PURE__ */ u.jsx(U6, { ...i }) : null
|
|
18005
18005
|
] }),
|
|
18006
18006
|
s !== null && /* @__PURE__ */ u.jsx("div", { className: "text-gray-500 leading-6 mt-2", children: s })
|
|
@@ -20137,7 +20137,7 @@ const E5 = ["en-US", "it-IT"], Bte = ({
|
|
|
20137
20137
|
}, [a]), i == null || i != null && !i.isInitialized ? /* @__PURE__ */ u.jsx(A5, {}) : /* @__PURE__ */ u.jsx(WW, { i18n: i, children: t });
|
|
20138
20138
|
}, Ez = async (t, e) => (await Mt.use(
|
|
20139
20139
|
xz(
|
|
20140
|
-
async (a) => await az(/* @__PURE__ */ Object.assign({ "../locales/en.ts": () => import("./en-
|
|
20140
|
+
async (a) => await az(/* @__PURE__ */ Object.assign({ "../locales/en.ts": () => import("./en-vqJxCbTh.js"), "../locales/i18n.d.ts": () => import("./i18n.d-DjhkQkb1.js"), "../locales/it.ts": () => import("./it-FJl9M3rv.js") }), `../locales/${wz(a)}.ts`, 3)
|
|
20141
20141
|
)
|
|
20142
20142
|
).use(RW).init({
|
|
20143
20143
|
load: "languageOnly",
|
|
@@ -29892,7 +29892,7 @@ function pK(t) {
|
|
|
29892
29892
|
);
|
|
29893
29893
|
}
|
|
29894
29894
|
const fK = t2(
|
|
29895
|
-
async () => await import("./CodeEditorComponent-
|
|
29895
|
+
async () => await import("./CodeEditorComponent-7z-H3aDG.js").then((t) => ({
|
|
29896
29896
|
default: t.CodeEditor
|
|
29897
29897
|
}))
|
|
29898
29898
|
), a7 = O(
|
|
@@ -30783,7 +30783,7 @@ function o7({
|
|
|
30783
30783
|
}
|
|
30784
30784
|
o7.displayName = "InputCurrencyRange";
|
|
30785
30785
|
const IK = t2(
|
|
30786
|
-
async () => await import("./InputDateComponent-
|
|
30786
|
+
async () => await import("./InputDateComponent-dyq5Qnln.js").then((t) => ({
|
|
30787
30787
|
default: t.InputDateComponent
|
|
30788
30788
|
}))
|
|
30789
30789
|
), Rr = O(
|
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { aK as s, bo as t, bp as o, aL as r, aM as c, aN as n, aO as u, aP as i, aQ as d, aR as l, aS as p, bq as b, aT as g, bN as m, aU as S, aV as I, av as k, br as T, bs as R, bt as D, bu as y, aW as h, az as C, aA as A, bG as P, aX as H, aY as F, bv as v, bO as f, bP as B, bQ as L, bS as O, bU as E, bX as N, b_ as G, c0 as w, c5 as M, c7 as V, cc as x, ch as W, cj as J, cl as U, cn as Y, cp as X, ct as Z, cu as _, cv as $, aZ as j, aD as q, a_ as z, bR as K, bT as Q, bV as aa, bY as ea, bZ as sa, b$ as ta, c1 as oa, c2 as ra, c3 as ca, c4 as na, c6 as ua, c8 as ia, cd as da, ci as la, ck as pa, cm as ba, co as ga, cq as ma, cr as Sa, cs as Ia, bw as ka, bx as Ta, by as Ra, bz as Da, bH as ya, aI as ha, bA as Ca, a$ as Aa, bB as Pa, bC as Ha, b0 as Fa, b1 as va, b2 as fa, b3 as Ba, bD as La, cz as Oa, cA as Ea, cC as Na, cD as Ga, cE as wa, cF as Ma, cG as Va, cH as xa, cJ as Wa, cK as Ja, cL as Ua, bI as Ya, b4 as Xa, bJ as Za, b5 as _a, b6 as $a, b7 as ja, b8 as qa, ba as za, bb as Ka, bc as Qa, bd as ae, be as ee, bj as se, bf as te, bK as oe, bk as re, bl as ce, bg as ne, bm as ue, bh as ie, bL as de, aJ as le, bM as pe, bn as be, bi as ge, aF as me, aa as Se, ay as Ie, bE as ke, bF as Te, Z as Re, _ as De, a9 as ye, aH as he, ca as Ce, bW as Ae, $ as Pe, a0 as He, a1 as Fe, ab as ve, ac as fe, ae as Be, cO as Le, cP as Oe, cb as Ee, a2 as Ne, a3 as Ge, a4 as we, cQ as Me, cR as Ve, cS as xe, cT as We, cU as Je, af as Ue, ag as Ye, cI as Xe, cV as Ze, cy as _e, ad as $e, cW as je, cX as qe, cY as ze, ah as Ke, ai as Qe, cZ as as, c_ as es, c$ as ss, al as ts, am as os, V as rs, aj as cs, ak as ns, aC as us, X as is, ce as ds, cf as ls, cg as ps, a5 as bs, W as gs, Y as ms, a6 as Ss, cw as Is, a7 as ks, aE as Ts, a8 as Rs, an as Ds, ao as ys, aw as hs, ax as Cs, ap as As, aq as Ps, ar as Hs, c9 as Fs, as as vs, at as fs, au as Bs, cB as Ls, cM as Os, cN as Es, aB as Ns, u as Gs, aG as ws, cx as Ms, b9 as Vs } from "./main-
|
|
2
|
+
import { aK as s, bo as t, bp as o, aL as r, aM as c, aN as n, aO as u, aP as i, aQ as d, aR as l, aS as p, bq as b, aT as g, bN as m, aU as S, aV as I, av as k, br as T, bs as R, bt as D, bu as y, aW as h, az as C, aA as A, bG as P, aX as H, aY as F, bv as v, bO as f, bP as B, bQ as L, bS as O, bU as E, bX as N, b_ as G, c0 as w, c5 as M, c7 as V, cc as x, ch as W, cj as J, cl as U, cn as Y, cp as X, ct as Z, cu as _, cv as $, aZ as j, aD as q, a_ as z, bR as K, bT as Q, bV as aa, bY as ea, bZ as sa, b$ as ta, c1 as oa, c2 as ra, c3 as ca, c4 as na, c6 as ua, c8 as ia, cd as da, ci as la, ck as pa, cm as ba, co as ga, cq as ma, cr as Sa, cs as Ia, bw as ka, bx as Ta, by as Ra, bz as Da, bH as ya, aI as ha, bA as Ca, a$ as Aa, bB as Pa, bC as Ha, b0 as Fa, b1 as va, b2 as fa, b3 as Ba, bD as La, cz as Oa, cA as Ea, cC as Na, cD as Ga, cE as wa, cF as Ma, cG as Va, cH as xa, cJ as Wa, cK as Ja, cL as Ua, bI as Ya, b4 as Xa, bJ as Za, b5 as _a, b6 as $a, b7 as ja, b8 as qa, ba as za, bb as Ka, bc as Qa, bd as ae, be as ee, bj as se, bf as te, bK as oe, bk as re, bl as ce, bg as ne, bm as ue, bh as ie, bL as de, aJ as le, bM as pe, bn as be, bi as ge, aF as me, aa as Se, ay as Ie, bE as ke, bF as Te, Z as Re, _ as De, a9 as ye, aH as he, ca as Ce, bW as Ae, $ as Pe, a0 as He, a1 as Fe, ab as ve, ac as fe, ae as Be, cO as Le, cP as Oe, cb as Ee, a2 as Ne, a3 as Ge, a4 as we, cQ as Me, cR as Ve, cS as xe, cT as We, cU as Je, af as Ue, ag as Ye, cI as Xe, cV as Ze, cy as _e, ad as $e, cW as je, cX as qe, cY as ze, ah as Ke, ai as Qe, cZ as as, c_ as es, c$ as ss, al as ts, am as os, V as rs, aj as cs, ak as ns, aC as us, X as is, ce as ds, cf as ls, cg as ps, a5 as bs, W as gs, Y as ms, a6 as Ss, cw as Is, a7 as ks, aE as Ts, a8 as Rs, an as Ds, ao as ys, aw as hs, ax as Cs, ap as As, aq as Ps, ar as Hs, c9 as Fs, as as vs, at as fs, au as Bs, cB as Ls, cM as Os, cN as Es, aB as Ns, u as Gs, aG as ws, cx as Ms, b9 as Vs } from "./main-CJaq1k9U.js";
|
|
3
3
|
export {
|
|
4
4
|
s as A,
|
|
5
5
|
t as ActionButtons,
|