@commercelayer/app-elements 6.13.1 → 7.0.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/{CodeEditorComponent-dh8gCgLH.js → CodeEditorComponent-C7Kbv687.js} +2 -2
- package/dist/{InputDateComponent-DKZfFbZs.js → InputDateComponent-B1WjYtNB.js} +24 -12
- package/dist/{RuleEngineComponent-DJ3cPJZh.js → RuleEngineComponent-D4oySlHj.js} +3 -3
- package/dist/{en-DrOYjy8Q.js → en-CcBUYKzR.js} +3 -1
- package/dist/{fetchCoreResourcesSuggestions-BYwYUQay.js → fetchCoreResourcesSuggestions-Cn5ddteq.js} +1 -1
- package/dist/helpers/shipments.d.ts +2 -0
- package/dist/helpers/shipments.test.d.ts +1 -0
- package/dist/{it-DVHv1P4z.js → it-y1Q1-MMT.js} +3 -1
- package/dist/locales/en.d.ts +2 -0
- package/dist/{main-CySjRZSV.js → main-B8q4zWB1.js} +7069 -6995
- package/dist/main.d.ts +2 -0
- package/dist/main.js +61 -59
- package/dist/mocks/server.d.ts +1 -1
- package/dist/{parseISO-B9C_LyRX.js → parseISO-Cchp4I6z.js} +1 -1
- package/dist/providers/TokenProvider/reducer.d.ts +2 -2
- package/dist/providers/TokenProvider/types.d.ts +1 -1
- package/dist/providers/TokenProvider/validateToken.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/tailwind.global.css +3 -3
- package/dist/ui/atoms/Icon/icons.d.ts +2 -0
- package/dist/ui/composite/Dropdown/DropdownMenu.d.ts +4 -1
- package/dist/ui/internals/InteractiveElement.className.d.ts +2 -1
- package/dist/ui/resources/ResourceLineItems/ResourceLineItems.mocks.d.ts +2 -0
- package/dist/ui/resources/ResourceListItem/ResourceListItem.d.ts +11 -1
- package/dist/ui/resources/ResourceListItem/ResourceListItem.mocks.d.ts +43 -0
- package/dist/ui/resources/useResourceList/useResourceList.d.ts +8 -1
- package/dist/ui/resources/useTrackingDetails.d.ts +6 -0
- package/package.json +24 -22
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { u as Pe, j as le, I as Se } from "./main-
|
|
2
|
+
import { u as Pe, j as le, I as Se } from "./main-B8q4zWB1.js";
|
|
3
3
|
import $, { memo as ie, useState as N, useRef as h, useCallback as ne, useEffect as S, forwardRef as Ce } from "react";
|
|
4
|
-
import { f as Ee, a as Ie } from "./fetchCoreResourcesSuggestions-
|
|
4
|
+
import { f as Ee, a as Ie } from "./fetchCoreResourcesSuggestions-Cn5ddteq.js";
|
|
5
5
|
function se(e, t) {
|
|
6
6
|
(t == null || t > e.length) && (t = e.length);
|
|
7
7
|
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as z, t as M, m as dr, a as pr, b as me, d as ve, n as ht, e as Be, g as fr, f as Kr, h as Ur, s as ot, i as hr, k as Vr, l as vr, o as mr, p as qr, q as jr, r as Yt, v as $r, w as Gr, x as zr, y as Lt, z as Ae, A as Xr, j as ae, B as G, C as pe, D as be, E as bt, F as xt, G as Dr, H as Et, J as gr, K as Zr, L as Ft, M as Te, N as Jr, O as en, P as tn, Q as st, R as rn, S as nn, I as an, T as on, U as sn, V as ln, W as cn } from "./main-
|
|
2
|
+
import { c as z, t as M, m as dr, a as pr, b as me, d as ve, n as ht, e as Be, g as fr, f as Kr, h as Ur, s as ot, i as hr, k as Vr, l as vr, o as mr, p as qr, q as jr, r as Yt, v as $r, w as Gr, x as zr, y as Lt, z as Ae, A as Xr, j as ae, B as G, C as pe, D as be, E as bt, F as xt, G as Dr, H as Et, J as gr, K as Zr, L as Ft, M as Te, N as Jr, O as en, P as tn, Q as st, R as rn, S as nn, I as an, T as on, U as sn, V as ln, W as cn } from "./main-B8q4zWB1.js";
|
|
3
3
|
import * as k from "react";
|
|
4
4
|
import v, { useLayoutEffect as yr, cloneElement as wr, createRef as Me, Component as X, useRef as _t, useEffect as At, useCallback as un, createElement as dn, forwardRef as pn, useMemo as fn } from "react";
|
|
5
5
|
import * as hn from "react-dom";
|
|
6
6
|
import vn from "react-dom";
|
|
7
|
-
import { p as mn } from "./parseISO-
|
|
7
|
+
import { p as mn } from "./parseISO-Cchp4I6z.js";
|
|
8
8
|
function br(o, n, t) {
|
|
9
9
|
return z(o, +M(o) + n);
|
|
10
10
|
}
|
|
@@ -1912,16 +1912,28 @@ const Ia = (o) => {
|
|
|
1912
1912
|
}).fn(t) : {};
|
|
1913
1913
|
}
|
|
1914
1914
|
};
|
|
1915
|
-
}, Ya = (o, n) =>
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1915
|
+
}, Ya = (o, n) => {
|
|
1916
|
+
const t = Gr(o);
|
|
1917
|
+
return {
|
|
1918
|
+
name: t.name,
|
|
1919
|
+
fn: t.fn,
|
|
1920
|
+
options: [o, n]
|
|
1921
|
+
};
|
|
1922
|
+
}, La = (o, n) => {
|
|
1923
|
+
const t = $r(o);
|
|
1924
|
+
return {
|
|
1925
|
+
name: t.name,
|
|
1926
|
+
fn: t.fn,
|
|
1927
|
+
options: [o, n]
|
|
1928
|
+
};
|
|
1929
|
+
}, Fa = (o, n) => {
|
|
1930
|
+
const t = Ia(o);
|
|
1931
|
+
return {
|
|
1932
|
+
name: t.name,
|
|
1933
|
+
fn: t.fn,
|
|
1934
|
+
options: [o, n]
|
|
1935
|
+
};
|
|
1936
|
+
}, Aa = {
|
|
1925
1937
|
...k
|
|
1926
1938
|
};
|
|
1927
1939
|
let jt = !1, Ha = 0;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as B, X as Oe, Y as Re, Z as Ve, j as t, _ as R, $ as U, a0 as j, a1 as S, E as L, a2 as Ae, a3 as Me, a4 as Ee, a5 as Y, a6 as ae, a7 as x, T as k, a8 as C, a9 as $, aa as _, ab as y, ac as re, ad as E, ae as z, af as O, ag as X, ah as Ie, u as oe, ai as qe, aj as De, ak as H, I as Le, al as Fe } from "./main-
|
|
2
|
+
import { t as B, X as Oe, Y as Re, Z as Ve, j as t, _ as R, $ as U, a0 as j, a1 as S, E as L, a2 as Ae, a3 as Me, a4 as Ee, a5 as Y, a6 as ae, a7 as x, T as k, a8 as C, a9 as $, aa as _, ab as y, ac as re, ad as E, ae as z, af as O, ag as X, ah as Ie, u as oe, ai as qe, aj as De, ak as H, I as Le, al as Fe } from "./main-B8q4zWB1.js";
|
|
3
3
|
import K, { useReducer as ze, useCallback as A, useMemo as ie, createContext as Ge, useContext as Ue, useState as v, useEffect as T, useRef as ue } from "react";
|
|
4
4
|
import "react-hook-form";
|
|
5
|
-
import { b as Je, e as ce, a as We, c as de, f as Be } from "./fetchCoreResourcesSuggestions-
|
|
5
|
+
import { b as Je, e as ce, a as We, c as de, f as Be } from "./fetchCoreResourcesSuggestions-Cn5ddteq.js";
|
|
6
6
|
import "wouter";
|
|
7
|
-
import { p as Q } from "./parseISO-
|
|
7
|
+
import { p as Q } from "./parseISO-Cchp4I6z.js";
|
|
8
8
|
function Z(e, s) {
|
|
9
9
|
const n = e.match(
|
|
10
10
|
/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/
|
|
@@ -631,7 +631,9 @@ The {{organization}} team`,
|
|
|
631
631
|
origin: "Origin",
|
|
632
632
|
weight: "Weight",
|
|
633
633
|
parcel_item: "{{count}} item",
|
|
634
|
-
parcel_item_other: "{{count}} items"
|
|
634
|
+
parcel_item_other: "{{count}} items",
|
|
635
|
+
stock_transfer_cancelled: "Stock transfer cancelled",
|
|
636
|
+
stock_transfer_cancelled_other: "Stock transfers cancelled"
|
|
635
637
|
},
|
|
636
638
|
tasks: {
|
|
637
639
|
pending: "Pending",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -638,7 +638,9 @@ Il team di {{organization}}`,
|
|
|
638
638
|
ship_to: "Destinazione",
|
|
639
639
|
weight: "Peso",
|
|
640
640
|
parcel_item: "{{count}} prodotto",
|
|
641
|
-
parcel_item_other: "{{count}} prodotti"
|
|
641
|
+
parcel_item_other: "{{count}} prodotti",
|
|
642
|
+
stock_transfer_cancelled: "Stock transfer cancellato",
|
|
643
|
+
stock_transfer_cancelled_other: "Stock transfer cancellati"
|
|
642
644
|
},
|
|
643
645
|
tasks: {
|
|
644
646
|
pending: "Aperte",
|
package/dist/locales/en.d.ts
CHANGED