@commercelayer/app-elements 0.0.60 → 0.0.61
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/{Async-49064c8d.js → Async-193d5f35.js} +3 -3
- package/dist/{InputDateComponent-ea8e90eb.js → InputDateComponent-bc02005a.js} +2 -2
- package/dist/{Select-9c97e5af.js → Select-7a5c8a44.js} +3 -3
- package/dist/{main-b9194133.js → main-60c98089.js} +10 -9
- package/dist/main.js +1 -1
- package/dist/{overrides-be7a208f.js → overrides-9018e739.js} +2 -2
- package/dist/{unsupportedIterableToArray-c65c3f0a.js → unsupportedIterableToArray-173bdc70.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { L as de, H as le } from "./main-
|
|
1
|
+
import { L as de, H as le } from "./main-60c98089.js";
|
|
2
2
|
import * as ce from "react";
|
|
3
3
|
import { useRef as F, useState as a, useEffect as x, useCallback as E, forwardRef as ve } from "react";
|
|
4
|
-
import { _ as Oe, a as s, h as Se, b as g, u as me, S as _e, c as he, s as ge } from "./overrides-
|
|
5
|
-
import { d as ye } from "./unsupportedIterableToArray-
|
|
4
|
+
import { _ as Oe, a as s, h as Se, b as g, u as me, S as _e, c as he, s as ge } from "./overrides-9018e739.js";
|
|
5
|
+
import { d as ye } from "./unsupportedIterableToArray-173bdc70.js";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "@commercelayer/sdk";
|
|
8
8
|
var Ce = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading", "onInputChange", "filterOption"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as Ma, r as E, a as Rn, t as H, b as Mt, c as Ee, d as _, g as Cr, _ as Qt, s as je, e as cr, f as xa, h as ur, i as Ln, j as Sa, k as Oa, l as Ea, m as qr, n as _a, o as Kr, p as Pa, q as Ta, u as Na, v as An, w as ae, x as nt, y as pr, z as Hn, A as Ya, B as lr, C as Zr, D as Ia, E as Ra, F as La, G as At, H as Ke, I as Aa, J as Ha, K as Fa } from "./main-
|
|
1
|
+
import { P as Ma, r as E, a as Rn, t as H, b as Mt, c as Ee, d as _, g as Cr, _ as Qt, s as je, e as cr, f as xa, h as ur, i as Ln, j as Sa, k as Oa, l as Ea, m as qr, n as _a, o as Kr, p as Pa, q as Ta, u as Na, v as An, w as ae, x as nt, y as pr, z as Hn, A as Ya, B as lr, C as Zr, D as Ia, E as Ra, F as La, G as At, H as Ke, I as Aa, J as Ha, K as Fa } from "./main-60c98089.js";
|
|
2
2
|
import * as B from "react";
|
|
3
3
|
import h, { forwardRef as Fn, createElement as ja, Component as Ua, createRef as Ba } from "react";
|
|
4
|
-
import { _ as Wa, a as I, b as R, c as N, d as D, e as b, f as Y } from "./unsupportedIterableToArray-
|
|
4
|
+
import { _ as Wa, a as I, b as R, c as N, d as D, e as b, f as Y } from "./unsupportedIterableToArray-173bdc70.js";
|
|
5
5
|
import * as Va from "react-dom";
|
|
6
6
|
import Qa, { findDOMNode as $a } from "react-dom";
|
|
7
7
|
import "@commercelayer/sdk";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as n } from "./main-
|
|
2
|
-
import { u as s, S as m, c as p, s as i } from "./overrides-
|
|
1
|
+
import { H as n } from "./main-60c98089.js";
|
|
2
|
+
import { u as s, S as m, c as p, s as i } from "./overrides-9018e739.js";
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { forwardRef as S } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "@commercelayer/sdk";
|
|
7
|
-
import "./unsupportedIterableToArray-
|
|
7
|
+
import "./unsupportedIterableToArray-173bdc70.js";
|
|
8
8
|
var f = /* @__PURE__ */ S(function(e, t) {
|
|
9
9
|
var o = s(e);
|
|
10
10
|
return /* @__PURE__ */ c.createElement(m, p({
|
|
@@ -8726,13 +8726,14 @@ const u0 = (t) => {
|
|
|
8726
8726
|
}, jO = ({
|
|
8727
8727
|
accessToken: t
|
|
8728
8728
|
}) => {
|
|
8729
|
-
const e = "live";
|
|
8730
|
-
if (
|
|
8731
|
-
|
|
8732
|
-
|
|
8729
|
+
const e = "live", r = new URLSearchParams(window.location.search).get("mode");
|
|
8730
|
+
if (r === "test" || r === "live")
|
|
8731
|
+
return r;
|
|
8732
|
+
if (t != null) {
|
|
8733
|
+
const { mode: i } = u0(t);
|
|
8734
|
+
return i ?? e;
|
|
8733
8735
|
}
|
|
8734
|
-
|
|
8735
|
-
return r ?? e;
|
|
8736
|
+
return e;
|
|
8736
8737
|
}, BO = () => {
|
|
8737
8738
|
if (typeof window < "u") {
|
|
8738
8739
|
const t = new URL(window.location.href);
|
|
@@ -15784,11 +15785,11 @@ const Nf = (t) => ({
|
|
|
15784
15785
|
}
|
|
15785
15786
|
})
|
|
15786
15787
|
}), ML = Lu(
|
|
15787
|
-
async () => await import("./Async-
|
|
15788
|
+
async () => await import("./Async-193d5f35.js").then((t) => ({
|
|
15788
15789
|
default: t.AsyncSelectComponent
|
|
15789
15790
|
}))
|
|
15790
15791
|
), IL = Lu(
|
|
15791
|
-
async () => await import("./Select-
|
|
15792
|
+
async () => await import("./Select-7a5c8a44.js").then((t) => ({
|
|
15792
15793
|
default: t.SelectComponent
|
|
15793
15794
|
}))
|
|
15794
15795
|
);
|
|
@@ -15989,7 +15990,7 @@ function _L({
|
|
|
15989
15990
|
}
|
|
15990
15991
|
_L.displayName = "InputCurrencyRange";
|
|
15991
15992
|
const OL = Lu(
|
|
15992
|
-
async () => await import("./InputDateComponent-
|
|
15993
|
+
async () => await import("./InputDateComponent-bc02005a.js").then((t) => ({
|
|
15993
15994
|
default: t.InputDateComponent
|
|
15994
15995
|
}))
|
|
15995
15996
|
), Hu = ie(
|
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ag as o, aS as n, ah as i, ai as l, aj as u, ak as b, al as g, am as d, an as p, aT as m, ao as c, aU as S, ap as T, a9 as I, aM as D, aN as k, aO as y, aq as C, ac as P, ar as h, as as B, at as R, au as A, a$ as v, b0 as O, b1 as L, b2 as f, b4 as F, b5 as x, b6 as N, b7 as w, b8 as M, b9 as V, ba as E, bb as G, bc as H, bi as J, bj as j, bk as q, bl as z, bm as Q, av as U, bp as W, bq as X, br as Y, bs as Z, bt as $, bu as K, ad as _, bv as aa, bw as ea, aw as sa, aV as ta, ax as ra, aW as oa, aX as na, ay as ia, az as la, aA as ua, bn as ba, bx as ga, aY as da, by as pa, bz as ma, aZ as ca, bA as Sa, aB as Ta, aC as Ia, aD as Da, aF as ka, aG as ya, aH as Ca, aI as Pa, bB as ha, bC as Ba, aJ as Ra, aK as Aa, aP as va, aL as Oa, aQ as La, a_ as fa, bo as Fa, ae as xa, aR as Na, W as wa, V as Ma, bd as Va, b3 as Ea, R as Ga, X as Ha, Y as Ja, Z as ja, be as qa, S as za, T as Qa, bD as Ua, bE as Wa, bF as Xa, bG as Ya, bH as Za, bI as $a, $ as Ka, a0 as _a, a1 as ae, a2 as ee, M as se, a3 as te, a4 as re, O as oe, bf as ne, bg as ie, bh as le, N as ue, Q as be, U as ge, a5 as de, aa as pe, ab as me, a6 as ce, a7 as Se, a8 as Te, af as Ie, aE as De } from "./main-
|
|
1
|
+
import { ag as o, aS as n, ah as i, ai as l, aj as u, ak as b, al as g, am as d, an as p, aT as m, ao as c, aU as S, ap as T, a9 as I, aM as D, aN as k, aO as y, aq as C, ac as P, ar as h, as as B, at as R, au as A, a$ as v, b0 as O, b1 as L, b2 as f, b4 as F, b5 as x, b6 as N, b7 as w, b8 as M, b9 as V, ba as E, bb as G, bc as H, bi as J, bj as j, bk as q, bl as z, bm as Q, av as U, bp as W, bq as X, br as Y, bs as Z, bt as $, bu as K, ad as _, bv as aa, bw as ea, aw as sa, aV as ta, ax as ra, aW as oa, aX as na, ay as ia, az as la, aA as ua, bn as ba, bx as ga, aY as da, by as pa, bz as ma, aZ as ca, bA as Sa, aB as Ta, aC as Ia, aD as Da, aF as ka, aG as ya, aH as Ca, aI as Pa, bB as ha, bC as Ba, aJ as Ra, aK as Aa, aP as va, aL as Oa, aQ as La, a_ as fa, bo as Fa, ae as xa, aR as Na, W as wa, V as Ma, bd as Va, b3 as Ea, R as Ga, X as Ha, Y as Ja, Z as ja, be as qa, S as za, T as Qa, bD as Ua, bE as Wa, bF as Xa, bG as Ya, bH as Za, bI as $a, $ as Ka, a0 as _a, a1 as ae, a2 as ee, M as se, a3 as te, a4 as re, O as oe, bf as ne, bg as ie, bh as le, N as ue, Q as be, U as ge, a5 as de, aa as pe, ab as me, a6 as ce, a7 as Se, a8 as Te, af as Ie, aE as De } from "./main-60c98089.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
import "@commercelayer/sdk";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as Se, g as gr, _ as In, a as br, b as pr, c as fr, f as mr } from "./unsupportedIterableToArray-
|
|
1
|
+
import { d as Se, g as gr, _ as In, a as br, b as pr, c as fr, f as mr } from "./unsupportedIterableToArray-173bdc70.js";
|
|
2
2
|
import * as B from "react";
|
|
3
3
|
import { useLayoutEffect as vn, forwardRef as Ir, useContext as Te, createElement as me, Fragment as Be, createContext as Ct, useRef as oe, useState as Ie, useMemo as Ce, useCallback as Y, Component as vr, useEffect as hn } from "react";
|
|
4
|
-
import { _ as hr, H as se, K as Cn } from "./main-
|
|
4
|
+
import { _ as hr, H as se, K as Cn } from "./main-60c98089.js";
|
|
5
5
|
import { createPortal as Cr } from "react-dom";
|
|
6
6
|
function V() {
|
|
7
7
|
return V = Object.assign ? Object.assign.bind() : function(t) {
|