@commercelayer/app-elements 6.13.0 → 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-C0zWE596.js → CodeEditorComponent-C7Kbv687.js} +2 -2
- package/dist/{InputDateComponent-EVLNpuLJ.js → InputDateComponent-B1WjYtNB.js} +24 -12
- package/dist/{RuleEngineComponent-DaWdtyvW.js → RuleEngineComponent-D4oySlHj.js} +3 -3
- package/dist/{en-BbX2gWkK.js → en-CcBUYKzR.js} +4 -1
- package/dist/{fetchCoreResourcesSuggestions-B5f9Xxce.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-P4oHwKfI.js → it-y1Q1-MMT.js} +4 -1
- package/dist/locales/en.d.ts +3 -0
- package/dist/{main-DvAINdw0.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-Cas2hmx2.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})?)?/
|
|
@@ -243,6 +243,7 @@ const e = {
|
|
|
243
243
|
last_30_days: "Last 30 days",
|
|
244
244
|
custom: "Custom",
|
|
245
245
|
info: "Info",
|
|
246
|
+
language: "Language",
|
|
246
247
|
limit_reached: "Limit reached",
|
|
247
248
|
loading: "Loading...",
|
|
248
249
|
manage_resource: "Manage {{resource}}",
|
|
@@ -630,7 +631,9 @@ The {{organization}} team`,
|
|
|
630
631
|
origin: "Origin",
|
|
631
632
|
weight: "Weight",
|
|
632
633
|
parcel_item: "{{count}} item",
|
|
633
|
-
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"
|
|
634
637
|
},
|
|
635
638
|
tasks: {
|
|
636
639
|
pending: "Pending",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -42,6 +42,7 @@ const e = {
|
|
|
42
42
|
last_30_days: "Ultimi 30 giorni",
|
|
43
43
|
custom: "Personalizza",
|
|
44
44
|
info: "Info",
|
|
45
|
+
language: "Lingua",
|
|
45
46
|
limit_reached: "Limite raggiunto",
|
|
46
47
|
loading: "Caricamento...",
|
|
47
48
|
manage_resource: "Gestisci {{resource}}",
|
|
@@ -637,7 +638,9 @@ Il team di {{organization}}`,
|
|
|
637
638
|
ship_to: "Destinazione",
|
|
638
639
|
weight: "Peso",
|
|
639
640
|
parcel_item: "{{count}} prodotto",
|
|
640
|
-
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"
|
|
641
644
|
},
|
|
642
645
|
tasks: {
|
|
643
646
|
pending: "Aperte",
|
package/dist/locales/en.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ declare const en: {
|
|
|
41
41
|
last_30_days: string;
|
|
42
42
|
custom: string;
|
|
43
43
|
info: string;
|
|
44
|
+
language: string;
|
|
44
45
|
limit_reached: string;
|
|
45
46
|
loading: string;
|
|
46
47
|
manage_resource: string;
|
|
@@ -626,6 +627,8 @@ declare const en: {
|
|
|
626
627
|
weight: string;
|
|
627
628
|
parcel_item: string;
|
|
628
629
|
parcel_item_other: string;
|
|
630
|
+
stock_transfer_cancelled: string;
|
|
631
|
+
stock_transfer_cancelled_other: string;
|
|
629
632
|
};
|
|
630
633
|
tasks: {
|
|
631
634
|
pending: string;
|