@commercelayer/app-elements 4.5.0 → 4.6.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.
- package/dist/{CodeEditorComponent-CJtIYpxE.js → CodeEditorComponent-Bg3Htipe.js} +1 -1
- package/dist/{InputDateComponent-Bzz4K2tS.js → InputDateComponent-souiM-gD.js} +1 -1
- package/dist/{it-CcVOP-FB.js → it-DPZh6Y9V.js} +1 -1
- package/dist/{main-FRCq_zSn.js → main-D7ZsQLEh.js} +15 -15
- package/dist/main.js +1 -1
- package/dist/tailwind.config.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-D7ZsQLEh.js";
|
|
3
3
|
import V, { memo as ce, useState as U, useRef as w, useCallback as ue, useEffect as I, 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 un = Object.defineProperty;
|
|
3
3
|
var dn = (a, n, t) => n in a ? un(a, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[n] = t;
|
|
4
4
|
var y = (a, n, t) => dn(a, typeof n != "symbol" ? n + "" : n, t);
|
|
5
|
-
import { o as pn, f as fn, c as hn, a as er, g as mn, i as $e, b as vn, j as Ee, I as gn, d as Dn, e as wn, w as yn, R as bn } from "./main-
|
|
5
|
+
import { o as pn, f as fn, c as hn, a as er, g as mn, i as $e, b as vn, j as Ee, I as gn, d as Dn, e as wn, w as yn, R as bn } from "./main-D7ZsQLEh.js";
|
|
6
6
|
import * as x from "react";
|
|
7
7
|
import h, { useLayoutEffect as Or, useEffect as Vt, createElement as _n, cloneElement as Yr, Component as Z, createRef as Se, useRef as At, useCallback as kn, forwardRef as Mn } from "react";
|
|
8
8
|
import * as Cn from "react-dom";
|
|
@@ -21278,7 +21278,7 @@ const tC = ["en-US", "it-IT"], U3e = ({
|
|
|
21278
21278
|
}, [e]), a == null || a != null && !a.isInitialized ? /* @__PURE__ */ m.jsx(KM, {}) : /* @__PURE__ */ m.jsx(lle, { i18n: a, children: t });
|
|
21279
21279
|
}, kle = async (t) => (await Pn.use(
|
|
21280
21280
|
Tle(
|
|
21281
|
-
async (e) => await yle(/* @__PURE__ */ Object.assign({ "../locales/en.ts": () => import("./en--hqV_y40.js"), "../locales/it.ts": () => import("./it-
|
|
21281
|
+
async (e) => await yle(/* @__PURE__ */ Object.assign({ "../locales/en.ts": () => import("./en--hqV_y40.js"), "../locales/it.ts": () => import("./it-DPZh6Y9V.js") }), `../locales/${Nle(e)}.ts`, 3)
|
|
21282
21282
|
)
|
|
21283
21283
|
).use(ale).init({
|
|
21284
21284
|
load: "languageOnly",
|
|
@@ -22249,7 +22249,7 @@ const es = ({
|
|
|
22249
22249
|
"form",
|
|
22250
22250
|
{
|
|
22251
22251
|
onSubmit: (s) => {
|
|
22252
|
-
a(s);
|
|
22252
|
+
s.preventDefault(), s.stopPropagation(), a(s);
|
|
22253
22253
|
},
|
|
22254
22254
|
children: e
|
|
22255
22255
|
}
|
|
@@ -35046,7 +35046,7 @@ function kde(t) {
|
|
|
35046
35046
|
);
|
|
35047
35047
|
}
|
|
35048
35048
|
const Nde = jd(
|
|
35049
|
-
async () => await import("./CodeEditorComponent-
|
|
35049
|
+
async () => await import("./CodeEditorComponent-Bg3Htipe.js").then((t) => ({
|
|
35050
35050
|
default: t.CodeEditor
|
|
35051
35051
|
}))
|
|
35052
35052
|
), $H = B(
|
|
@@ -35940,7 +35940,7 @@ function TH({
|
|
|
35940
35940
|
}
|
|
35941
35941
|
TH.displayName = "InputCurrencyRange";
|
|
35942
35942
|
const ome = jd(
|
|
35943
|
-
async () => await import("./InputDateComponent-
|
|
35943
|
+
async () => await import("./InputDateComponent-souiM-gD.js").then((t) => ({
|
|
35944
35944
|
default: t.InputDateComponent
|
|
35945
35945
|
}))
|
|
35946
35946
|
), tl = B(
|
|
@@ -38898,28 +38898,28 @@ const ls = Ue(
|
|
|
38898
38898
|
" · ",
|
|
38899
38899
|
t.task != null ? /* @__PURE__ */ m.jsx(K, { weight: "semibold", size: "small", variant: "warning", children: t.task }) : t.label
|
|
38900
38900
|
] })
|
|
38901
|
-
), us = Ue(({ icon: t, color: e }) => /* @__PURE__ */ m.jsx(Kn, { name: t, background: e, gap: "large" })), gfe = ({ resource: t, user: e }) => {
|
|
38902
|
-
var
|
|
38903
|
-
const
|
|
38904
|
-
(
|
|
38905
|
-
(
|
|
38906
|
-
) : (
|
|
38901
|
+
), us = Ue(({ icon: t, color: e }) => /* @__PURE__ */ m.jsx(Kn, { name: t, background: e, gap: "large" })), gfe = ({ resource: t, user: e, t: n }) => {
|
|
38902
|
+
var l;
|
|
38903
|
+
const r = ffe(t), a = t.billing_address, s = pe(a == null ? void 0 : a.company) ? Dw(
|
|
38904
|
+
(a == null ? void 0 : a.first_name) ?? "",
|
|
38905
|
+
(a == null ? void 0 : a.last_name) ?? ""
|
|
38906
|
+
) : (a == null ? void 0 : a.company) ?? "";
|
|
38907
38907
|
return {
|
|
38908
|
-
name: `${((
|
|
38908
|
+
name: `${((l = t.market) == null ? void 0 : l.name) ?? n("resources.orders.name")} #${t.number ?? ""}`.trim(),
|
|
38909
38909
|
description: /* @__PURE__ */ m.jsx(
|
|
38910
38910
|
ls,
|
|
38911
38911
|
{
|
|
38912
|
-
displayStatus:
|
|
38912
|
+
displayStatus: r,
|
|
38913
38913
|
date: lr({
|
|
38914
38914
|
format: "full",
|
|
38915
38915
|
isoDate: t.placed_at ?? t.updated_at,
|
|
38916
38916
|
timezone: e == null ? void 0 : e.timezone,
|
|
38917
38917
|
locale: e == null ? void 0 : e.locale
|
|
38918
38918
|
}),
|
|
38919
|
-
additionalInfos:
|
|
38919
|
+
additionalInfos: s
|
|
38920
38920
|
}
|
|
38921
38921
|
),
|
|
38922
|
-
icon: t.status === "pending" ? /* @__PURE__ */ m.jsx(Rl, { icon:
|
|
38922
|
+
icon: t.status === "pending" ? /* @__PURE__ */ m.jsx(Rl, { icon: r.icon }) : /* @__PURE__ */ m.jsx(us, { icon: r.icon, color: r.color }),
|
|
38923
38923
|
showRightContent: !0,
|
|
38924
38924
|
rightContent: /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
38925
38925
|
/* @__PURE__ */ m.jsx(
|
|
@@ -39139,7 +39139,7 @@ const _fe = ({
|
|
|
39139
39139
|
)) ?? []).length > 0, s = yfe(
|
|
39140
39140
|
t,
|
|
39141
39141
|
a
|
|
39142
|
-
), l = ((f = t.
|
|
39142
|
+
), l = ((f = t.stock_location) == null ? void 0 : f.name) != null ? `${n("common.from")} ${t.stock_location.name} ` : "", c = t.number != null ? `#${t.number}` : "";
|
|
39143
39143
|
return {
|
|
39144
39144
|
name: `${n("resources.shipments.name")} ${c}`,
|
|
39145
39145
|
description: /* @__PURE__ */ m.jsx(
|
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { ad as s, aT as t, aU as o, ae as r, af as n, ag as u, ah as c, ai as i, aj as d, ak as l, al as p, aV as b, am as g, bg as m, an as S, ao as I, _ as k, aW as T, aX as D, aY as R, aZ as y, ap as h, a2 as C, a3 as P, b9 as A, aq as H, ar as F, a_ as v, bh as f, bi as B, bj as L, bl as O, bn as E, bq as N, bt as G, bv as M, bA as w, bC as x, bH as V, bM as W, bO as J, bQ as U, bS as q, bU as Y, bY as j, bZ as z, b_ as K, as as Q, a6 as X, at as Z, bk as _, bm as $, bo as aa, br as ea, bs as sa, bu as ta, bw as oa, bx as ra, by as na, bz as ua, bB as ca, bD as ia, bI as da, bN as la, bP as pa, bR as ba, bT as ga, bV as ma, bW as Sa, bX as Ia, a$ as ka, b0 as Ta, b1 as Da, b2 as Ra, ba as ya, ab as ha, b3 as Ca, au as Pa, b4 as Aa, b5 as Ha, av as Fa, aw as va, ax as fa, ay as Ba, b6 as La, c2 as Oa, c3 as Ea, c5 as Na, c6 as Ga, c7 as Ma, c8 as wa, c9 as xa, cb as Va, cc as Wa, cd as Ja, bb as Ua, az as qa, bc as Ya, aA as ja, aB as za, aC as Ka, aD as Qa, aF as Xa, aG as Za, aH as _a, aI as $a, aJ as ae, aO as ee, aK as se, bd as te, aP as oe, aQ as re, aL as ne, aR as ue, aM as ce, be as ie, ac as de, bf as le, aS as pe, aN as be, a8 as ge, D as me, a1 as Se, b7 as Ie, b8 as ke, l as Te, m as De, C as Re, aa as ye, bF as he, bp as Ce, p as Pe, q as Ae, s as He, E as Fe, F as ve, H as fe, cg as Be, ch as Le, bG as Oe, t as Ee, v as Ne, x as Ge, ci as Me, cj as we, ck as xe, cl as Ve, cm as We, J as Je, K as Ue, ca as qe, cn as Ye, c1 as je, G as ze, co as Ke, cp as Qe, cq as Xe, L as Ze, M as _e, cr as $e, cs as as, ct as es, P as ss, Q as ts, h as os, N as rs, O as ns, a5 as us, k as cs, bJ as is, bK as ds, bL as ls, y as ps, n as bs, r as gs, z as ms, b$ as Ss, A as Is, a7 as ks, B as Ts, S as Ds, T as Rs, $ as ys, a0 as hs, U as Cs, V as Ps, W as As, bE as Hs, X as Fs, Y as vs, Z as fs, c4 as Bs, ce as Ls, cf as Os, a4 as Es, u as Ns, a9 as Gs, c0 as Ms, aE as ws } from "./main-
|
|
2
|
+
import { ad as s, aT as t, aU as o, ae as r, af as n, ag as u, ah as c, ai as i, aj as d, ak as l, al as p, aV as b, am as g, bg as m, an as S, ao as I, _ as k, aW as T, aX as D, aY as R, aZ as y, ap as h, a2 as C, a3 as P, b9 as A, aq as H, ar as F, a_ as v, bh as f, bi as B, bj as L, bl as O, bn as E, bq as N, bt as G, bv as M, bA as w, bC as x, bH as V, bM as W, bO as J, bQ as U, bS as q, bU as Y, bY as j, bZ as z, b_ as K, as as Q, a6 as X, at as Z, bk as _, bm as $, bo as aa, br as ea, bs as sa, bu as ta, bw as oa, bx as ra, by as na, bz as ua, bB as ca, bD as ia, bI as da, bN as la, bP as pa, bR as ba, bT as ga, bV as ma, bW as Sa, bX as Ia, a$ as ka, b0 as Ta, b1 as Da, b2 as Ra, ba as ya, ab as ha, b3 as Ca, au as Pa, b4 as Aa, b5 as Ha, av as Fa, aw as va, ax as fa, ay as Ba, b6 as La, c2 as Oa, c3 as Ea, c5 as Na, c6 as Ga, c7 as Ma, c8 as wa, c9 as xa, cb as Va, cc as Wa, cd as Ja, bb as Ua, az as qa, bc as Ya, aA as ja, aB as za, aC as Ka, aD as Qa, aF as Xa, aG as Za, aH as _a, aI as $a, aJ as ae, aO as ee, aK as se, bd as te, aP as oe, aQ as re, aL as ne, aR as ue, aM as ce, be as ie, ac as de, bf as le, aS as pe, aN as be, a8 as ge, D as me, a1 as Se, b7 as Ie, b8 as ke, l as Te, m as De, C as Re, aa as ye, bF as he, bp as Ce, p as Pe, q as Ae, s as He, E as Fe, F as ve, H as fe, cg as Be, ch as Le, bG as Oe, t as Ee, v as Ne, x as Ge, ci as Me, cj as we, ck as xe, cl as Ve, cm as We, J as Je, K as Ue, ca as qe, cn as Ye, c1 as je, G as ze, co as Ke, cp as Qe, cq as Xe, L as Ze, M as _e, cr as $e, cs as as, ct as es, P as ss, Q as ts, h as os, N as rs, O as ns, a5 as us, k as cs, bJ as is, bK as ds, bL as ls, y as ps, n as bs, r as gs, z as ms, b$ as Ss, A as Is, a7 as ks, B as Ts, S as Ds, T as Rs, $ as ys, a0 as hs, U as Cs, V as Ps, W as As, bE as Hs, X as Fs, Y as vs, Z as fs, c4 as Bs, ce as Ls, cf as Os, a4 as Es, u as Ns, a9 as Gs, c0 as Ms, aE as ws } from "./main-D7ZsQLEh.js";
|
|
3
3
|
export {
|
|
4
4
|
s as A,
|
|
5
5
|
t as ActionButtons,
|
package/dist/tailwind.config.js
CHANGED