@commercelayer/app-elements 4.0.2 → 4.1.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.
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { u as Ee, j as se, I as $e } from "./main-DbAw9XRd.js";
2
+ import { u as Ee, j as se, I as $e } from "./main-BoUfw8u2.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-DbAw9XRd.js";
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-BoUfw8u2.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";
@@ -34714,7 +34714,7 @@ function q6e(t) {
34714
34714
  );
34715
34715
  }
34716
34716
  const X6e = Vd(
34717
- async () => await import("./CodeEditorComponent-DiTgd7_c.js").then((t) => ({
34717
+ async () => await import("./CodeEditorComponent-DmLeYTtP.js").then((t) => ({
34718
34718
  default: t.CodeEditor
34719
34719
  }))
34720
34720
  ), yH = B(
@@ -35608,7 +35608,7 @@ function EH({
35608
35608
  }
35609
35609
  EH.displayName = "InputCurrencyRange";
35610
35610
  const pde = Vd(
35611
- async () => await import("./InputDateComponent-BwIhham4.js").then((t) => ({
35611
+ async () => await import("./InputDateComponent-Dny2Ien4.js").then((t) => ({
35612
35612
  default: t.InputDateComponent
35613
35613
  }))
35614
35614
  ), Qo = B(
@@ -38881,7 +38881,7 @@ const Mme = ({
38881
38881
  )) ?? []).length > 0, s = Cme(
38882
38882
  t,
38883
38883
  a
38884
- ), l = ((f = t.stock_location) == null ? void 0 : f.name) != null ? `${n("common.from")} ${t.stock_location.name} ` : "", c = t.number != null ? `#${t.number}` : "";
38884
+ ), l = ((f = t.shipping_method) == null ? void 0 : f.name) != null ? `${t.shipping_method.name} ` : "", c = t.number != null ? `#${t.number}` : "";
38885
38885
  return {
38886
38886
  name: `${n("resources.shipments.name")} ${c}`,
38887
38887
  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, ae as o, af as r, ag as n, ah as u, ai as i, aj as c, ak as d, al as l, aU as p, am as b, bf as g, an as m, ao as S, _ as I, aV as k, aW as T, aX as D, aY as R, ap as y, a2 as h, a3 as C, b8 as P, aq as A, ar as H, aZ as F, bg as v, bh as f, bi as B, bk as L, bm as O, bp as E, bs as N, bu as G, bz as M, bB as w, bG as x, bL as V, bN as W, bP as J, bR as U, bT as q, bX as Y, bY as j, bZ as z, as as K, a6 as Q, at as X, bj as Z, bl as _, bn as $, bq as aa, br as ea, bt as sa, bv as ta, bw as oa, bx as ra, by as na, bA as ua, bC as ia, bH as ca, bM as da, bO as la, bQ as pa, bS as ba, bU as ga, bV as ma, bW as Sa, a_ as Ia, a$ as ka, b0 as Ta, b1 as Da, b9 as Ra, ab as ya, b2 as ha, au as Ca, b3 as Pa, b4 as Aa, av as Ha, aw as Fa, ax as va, ay as fa, b5 as Ba, c1 as La, c2 as Oa, c4 as Ea, c5 as Na, c6 as Ga, c7 as Ma, c8 as wa, ca as xa, cb as Va, cc as Wa, ba as Ja, az as Ua, bb as qa, aA as Ya, aB as ja, aC as za, aD as Ka, aF as Qa, aG as Xa, aH as Za, aI as _a, aJ as $a, aO as ae, aK as ee, bc as se, aP as te, aQ as oe, aL as re, aR as ne, aM as ue, bd as ie, ac as ce, be as de, aS as le, aN as pe, a8 as be, D as ge, a1 as me, b6 as Se, b7 as Ie, l as ke, m as Te, C as De, aa as Re, bE as ye, bo as he, p as Ce, q as Pe, s as Ae, E as He, F as Fe, H as ve, cf as fe, cg as Be, bF as Le, t as Oe, v as Ee, x as Ne, ch as Ge, ci as Me, cj as we, ck as xe, cl as Ve, J as We, K as Je, c9 as Ue, cm as qe, c0 as Ye, G as je, cn as ze, co as Ke, cp as Qe, L as Xe, M as Ze, cq as _e, cr as $e, cs as as, P as es, Q as ss, h as ts, N as os, O as rs, a5 as ns, k as us, bI as is, bJ as cs, bK as ds, y as ls, n as ps, r as bs, z as gs, b_ as ms, A as Ss, a7 as Is, B as ks, S as Ts, T as Ds, $ as Rs, a0 as ys, U as hs, V as Cs, W as Ps, bD as As, X as Hs, Y as Fs, Z as vs, c3 as fs, cd as Bs, ce as Ls, a4 as Os, u as Es, a9 as Ns, b$ as Gs, aE as Ms } from "./main-DbAw9XRd.js";
2
+ import { ad as s, aT as t, ae as o, af as r, ag as n, ah as u, ai as i, aj as c, ak as d, al as l, aU as p, am as b, bf as g, an as m, ao as S, _ as I, aV as k, aW as T, aX as D, aY as R, ap as y, a2 as h, a3 as C, b8 as P, aq as A, ar as H, aZ as F, bg as v, bh as f, bi as B, bk as L, bm as O, bp as E, bs as N, bu as G, bz as M, bB as w, bG as x, bL as V, bN as W, bP as J, bR as U, bT as q, bX as Y, bY as j, bZ as z, as as K, a6 as Q, at as X, bj as Z, bl as _, bn as $, bq as aa, br as ea, bt as sa, bv as ta, bw as oa, bx as ra, by as na, bA as ua, bC as ia, bH as ca, bM as da, bO as la, bQ as pa, bS as ba, bU as ga, bV as ma, bW as Sa, a_ as Ia, a$ as ka, b0 as Ta, b1 as Da, b9 as Ra, ab as ya, b2 as ha, au as Ca, b3 as Pa, b4 as Aa, av as Ha, aw as Fa, ax as va, ay as fa, b5 as Ba, c1 as La, c2 as Oa, c4 as Ea, c5 as Na, c6 as Ga, c7 as Ma, c8 as wa, ca as xa, cb as Va, cc as Wa, ba as Ja, az as Ua, bb as qa, aA as Ya, aB as ja, aC as za, aD as Ka, aF as Qa, aG as Xa, aH as Za, aI as _a, aJ as $a, aO as ae, aK as ee, bc as se, aP as te, aQ as oe, aL as re, aR as ne, aM as ue, bd as ie, ac as ce, be as de, aS as le, aN as pe, a8 as be, D as ge, a1 as me, b6 as Se, b7 as Ie, l as ke, m as Te, C as De, aa as Re, bE as ye, bo as he, p as Ce, q as Pe, s as Ae, E as He, F as Fe, H as ve, cf as fe, cg as Be, bF as Le, t as Oe, v as Ee, x as Ne, ch as Ge, ci as Me, cj as we, ck as xe, cl as Ve, J as We, K as Je, c9 as Ue, cm as qe, c0 as Ye, G as je, cn as ze, co as Ke, cp as Qe, L as Xe, M as Ze, cq as _e, cr as $e, cs as as, P as es, Q as ss, h as ts, N as os, O as rs, a5 as ns, k as us, bI as is, bJ as cs, bK as ds, y as ls, n as ps, r as bs, z as gs, b_ as ms, A as Ss, a7 as Is, B as ks, S as Ts, T as Ds, $ as Rs, a0 as ys, U as hs, V as Cs, W as Ps, bD as As, X as Hs, Y as Fs, Z as vs, c3 as fs, cd as Bs, ce as Ls, a4 as Os, u as Es, a9 as Ns, b$ as Gs, aE as Ms } from "./main-BoUfw8u2.js";
3
3
  export {
4
4
  s as A,
5
5
  t as ActionButtons,
@@ -537,6 +537,14 @@ export declare const presetResourceListItem: {
537
537
  readonly created_at: "";
538
538
  readonly updated_at: "";
539
539
  };
540
+ shipping_method: {
541
+ readonly type: "shipping_methods";
542
+ readonly id: "";
543
+ readonly name: "Standard Shipping";
544
+ readonly price_amount_cents: 0;
545
+ readonly created_at: "";
546
+ readonly updated_at: "";
547
+ };
540
548
  };
541
549
  shipmentPicking: {
542
550
  type: "shipments";
@@ -552,6 +560,14 @@ export declare const presetResourceListItem: {
552
560
  readonly created_at: "";
553
561
  readonly updated_at: "";
554
562
  };
563
+ shipping_method: {
564
+ readonly type: "shipping_methods";
565
+ readonly id: "";
566
+ readonly name: "Standard Shipping";
567
+ readonly price_amount_cents: 0;
568
+ readonly created_at: "";
569
+ readonly updated_at: "";
570
+ };
555
571
  };
556
572
  shipmentPacking: {
557
573
  type: "shipments";
@@ -567,6 +583,14 @@ export declare const presetResourceListItem: {
567
583
  readonly created_at: "";
568
584
  readonly updated_at: "";
569
585
  };
586
+ shipping_method: {
587
+ readonly type: "shipping_methods";
588
+ readonly id: "";
589
+ readonly name: "Standard Shipping";
590
+ readonly price_amount_cents: 0;
591
+ readonly created_at: "";
592
+ readonly updated_at: "";
593
+ };
570
594
  };
571
595
  shipmentReadyToShip: {
572
596
  type: "shipments";
@@ -582,6 +606,14 @@ export declare const presetResourceListItem: {
582
606
  readonly created_at: "";
583
607
  readonly updated_at: "";
584
608
  };
609
+ shipping_method: {
610
+ readonly type: "shipping_methods";
611
+ readonly id: "";
612
+ readonly name: "Standard Shipping";
613
+ readonly price_amount_cents: 0;
614
+ readonly created_at: "";
615
+ readonly updated_at: "";
616
+ };
585
617
  };
586
618
  shipmentOnHold: {
587
619
  type: "shipments";
@@ -597,6 +629,14 @@ export declare const presetResourceListItem: {
597
629
  readonly created_at: "";
598
630
  readonly updated_at: "";
599
631
  };
632
+ shipping_method: {
633
+ readonly type: "shipping_methods";
634
+ readonly id: "";
635
+ readonly name: "Standard Shipping";
636
+ readonly price_amount_cents: 0;
637
+ readonly created_at: "";
638
+ readonly updated_at: "";
639
+ };
600
640
  };
601
641
  shipmentShipped: {
602
642
  type: "shipments";
@@ -612,6 +652,14 @@ export declare const presetResourceListItem: {
612
652
  readonly created_at: "";
613
653
  readonly updated_at: "";
614
654
  };
655
+ shipping_method: {
656
+ readonly type: "shipping_methods";
657
+ readonly id: "";
658
+ readonly name: "Standard Shipping";
659
+ readonly price_amount_cents: 0;
660
+ readonly created_at: "";
661
+ readonly updated_at: "";
662
+ };
615
663
  };
616
664
  shipmentDelivered: {
617
665
  type: "shipments";
@@ -627,6 +675,14 @@ export declare const presetResourceListItem: {
627
675
  readonly created_at: "";
628
676
  readonly updated_at: "";
629
677
  };
678
+ shipping_method: {
679
+ readonly type: "shipping_methods";
680
+ readonly id: "";
681
+ readonly name: "Standard Shipping";
682
+ readonly price_amount_cents: 0;
683
+ readonly created_at: "";
684
+ readonly updated_at: "";
685
+ };
630
686
  };
631
687
  shipmentWithStockTransfer: {
632
688
  type: "shipments";
@@ -642,6 +698,14 @@ export declare const presetResourceListItem: {
642
698
  readonly created_at: "";
643
699
  readonly updated_at: "";
644
700
  };
701
+ shipping_method: {
702
+ readonly type: "shipping_methods";
703
+ readonly id: "";
704
+ readonly name: "Standard Shipping";
705
+ readonly price_amount_cents: 0;
706
+ readonly created_at: "";
707
+ readonly updated_at: "";
708
+ };
645
709
  stock_transfers: {
646
710
  readonly type: "stock_transfers";
647
711
  readonly id: "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercelayer/app-elements",
3
- "version": "4.0.2",
3
+ "version": "4.1.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [