@biznext-ui/react 0.2.0 → 0.2.2
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/index.es.js +233 -231
- package/dist/index.umd.js +7 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as Ve, jsx as w, Fragment as en } from "react/jsx-runtime";
|
|
2
2
|
import * as Z from "react";
|
|
3
|
-
import Ke, { createContext as Ue, useContext as se, useLayoutEffect as pa, useEffect as
|
|
3
|
+
import Ke, { createContext as Ue, useContext as se, useLayoutEffect as pa, useEffect as He, useRef as de, useInsertionEffect as ma, useCallback as pe, useMemo as Ne, forwardRef as Kn, Fragment as tn, createElement as tl, useId as gr, Component as ga, useState as Re, cloneElement as nl, Children as wn, isValidElement as il, useReducer as rl } from "react";
|
|
4
4
|
import br, { createPortal as St } from "react-dom";
|
|
5
5
|
const ba = Ue({}), ol = (e, t) => {
|
|
6
6
|
switch (t.type) {
|
|
@@ -17,7 +17,7 @@ const ba = Ue({}), ol = (e, t) => {
|
|
|
17
17
|
default:
|
|
18
18
|
console.error(`Biznext-UI-Toast: Unhandled action type: ${t.type}`);
|
|
19
19
|
}
|
|
20
|
-
}, sl = () => se(ba), al = sl, ul = "biznext-ui-HNUcjKVTeyM-1", cl = "biznext-ui-HDMPjvBSEyg-1", ll = "biznext-ui-gWJh5oSUaH4-8", dl = "biznext-ui-KprtriQR6do-2", fl = "biznext-ui-u0IYuYPu1og-b", hl = "biznext-ui-DMi33WPhK2I-0",
|
|
20
|
+
}, sl = () => se(ba), al = sl, ul = "biznext-ui-HNUcjKVTeyM-1", cl = "biznext-ui-HDMPjvBSEyg-1", ll = "biznext-ui-gWJh5oSUaH4-8", dl = "biznext-ui-KprtriQR6do-2", fl = "biznext-ui-u0IYuYPu1og-b", hl = "biznext-ui-DMi33WPhK2I-0", ke = {
|
|
21
21
|
"toasts-container": "biznext-ui-Voj91bwiOQ0-5",
|
|
22
22
|
"top-left": "biznext-ui-r8K3Yfg1a0k-a",
|
|
23
23
|
"top-center": "biznext-ui-hLBI-yY3XZg-8",
|
|
@@ -97,7 +97,7 @@ var ya = { exports: {} };
|
|
|
97
97
|
})();
|
|
98
98
|
})(ya);
|
|
99
99
|
var ml = ya.exports;
|
|
100
|
-
const
|
|
100
|
+
const Lt = /* @__PURE__ */ va(ml);
|
|
101
101
|
var Ca = {
|
|
102
102
|
color: void 0,
|
|
103
103
|
size: void 0,
|
|
@@ -225,7 +225,7 @@ const vr = Ue({
|
|
|
225
225
|
transformPagePoint: (e) => e,
|
|
226
226
|
isStatic: !1,
|
|
227
227
|
reducedMotion: "never"
|
|
228
|
-
}), qn = Ue({}), ei = Ue(null), yr = typeof document < "u", Cr = yr ? pa :
|
|
228
|
+
}), qn = Ue({}), ei = Ue(null), yr = typeof document < "u", Cr = yr ? pa : He, xa = Ue({ strict: !1 }), ti = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), wl = "framerAppearId", Aa = "data-" + ti(wl), Vl = {
|
|
229
229
|
skipAnimations: !1,
|
|
230
230
|
useManualTiming: !1
|
|
231
231
|
};
|
|
@@ -324,7 +324,7 @@ function Fl(e, t, n, i, r) {
|
|
|
324
324
|
const f = de(!!(n[Aa] && !window.HandoffComplete));
|
|
325
325
|
return Cr(() => {
|
|
326
326
|
l && (l.updateFeatures(), Ir.render(l.render), f.current && l.animationState && l.animationState.animateChanges());
|
|
327
|
-
}),
|
|
327
|
+
}), He(() => {
|
|
328
328
|
l && (!f.current && l.animationState && l.animationState.animateChanges(), f.current && (f.current = !1, fo || (fo = !0, queueMicrotask(Ml))));
|
|
329
329
|
}), l;
|
|
330
330
|
}
|
|
@@ -431,23 +431,23 @@ for (const e in po)
|
|
|
431
431
|
Gt[e] = {
|
|
432
432
|
isEnabled: (t) => po[e].some((n) => !!t[n])
|
|
433
433
|
};
|
|
434
|
-
function
|
|
434
|
+
function Ll(e) {
|
|
435
435
|
for (const t in e)
|
|
436
436
|
Gt[t] = {
|
|
437
437
|
...Gt[t],
|
|
438
438
|
...e[t]
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
const Sr = Ue({}),
|
|
442
|
-
let
|
|
443
|
-
process.env.NODE_ENV !== "production" && (
|
|
441
|
+
const Sr = Ue({}), Wl = Symbol.for("motionComponentSymbol"), ye = (e) => e;
|
|
442
|
+
let Wt = ye, rt = ye;
|
|
443
|
+
process.env.NODE_ENV !== "production" && (Wt = (e, t) => {
|
|
444
444
|
!e && typeof console < "u" && console.warn(t);
|
|
445
445
|
}, rt = (e, t) => {
|
|
446
446
|
if (!e)
|
|
447
447
|
throw new Error(t);
|
|
448
448
|
});
|
|
449
449
|
function Xl({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVisualState: i, Component: r }) {
|
|
450
|
-
e &&
|
|
450
|
+
e && Ll(e);
|
|
451
451
|
function o(u, a) {
|
|
452
452
|
let c;
|
|
453
453
|
const l = {
|
|
@@ -463,7 +463,7 @@ function Xl({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
463
463
|
return Ve(qn.Provider, { value: f, children: [c && f.visualElement ? w(c, { visualElement: f.visualElement, ...l }) : null, n(r, u, Gl(p, f.visualElement, a), p, d, f.visualElement)] });
|
|
464
464
|
}
|
|
465
465
|
const s = Kn(o);
|
|
466
|
-
return s[
|
|
466
|
+
return s[Wl] = r, s;
|
|
467
467
|
}
|
|
468
468
|
function Zl({ layoutId: e }) {
|
|
469
469
|
const t = se(Sr).id;
|
|
@@ -473,7 +473,7 @@ function Hl(e, t) {
|
|
|
473
473
|
const n = se(xa).strict;
|
|
474
474
|
if (process.env.NODE_ENV !== "production" && t && n) {
|
|
475
475
|
const i = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
476
|
-
e.ignoreStrict ?
|
|
476
|
+
e.ignoreStrict ? Wt(!1, i) : rt(!1, i);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
function kl(e) {
|
|
@@ -549,9 +549,9 @@ function Tr(e) {
|
|
|
549
549
|
)
|
|
550
550
|
);
|
|
551
551
|
}
|
|
552
|
-
const
|
|
552
|
+
const Ln = {};
|
|
553
553
|
function Yl(e) {
|
|
554
|
-
Object.assign(
|
|
554
|
+
Object.assign(Ln, e);
|
|
555
555
|
}
|
|
556
556
|
const fn = [
|
|
557
557
|
"transformPerspective",
|
|
@@ -573,7 +573,7 @@ const fn = [
|
|
|
573
573
|
"skewY"
|
|
574
574
|
], mt = new Set(fn);
|
|
575
575
|
function wa(e, { layout: t, layoutId: n }) {
|
|
576
|
-
return mt.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!
|
|
576
|
+
return mt.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Ln[e] || e === "opacity");
|
|
577
577
|
}
|
|
578
578
|
const Se = (e) => !!(e && e.getVelocity), Jl = {
|
|
579
579
|
x: "translateX",
|
|
@@ -765,12 +765,12 @@ const ad = /* @__PURE__ */ new Set([
|
|
|
765
765
|
"ignoreStrict",
|
|
766
766
|
"viewport"
|
|
767
767
|
]);
|
|
768
|
-
function
|
|
768
|
+
function Wn(e) {
|
|
769
769
|
return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || ad.has(e);
|
|
770
770
|
}
|
|
771
|
-
let Ma = (e) => !
|
|
771
|
+
let Ma = (e) => !Wn(e);
|
|
772
772
|
function ud(e) {
|
|
773
|
-
e && (Ma = (t) => t.startsWith("on") ? !
|
|
773
|
+
e && (Ma = (t) => t.startsWith("on") ? !Wn(t) : e(t));
|
|
774
774
|
}
|
|
775
775
|
try {
|
|
776
776
|
ud(require("@emotion/is-prop-valid").default);
|
|
@@ -779,7 +779,7 @@ try {
|
|
|
779
779
|
function cd(e, t, n) {
|
|
780
780
|
const i = {};
|
|
781
781
|
for (const r in e)
|
|
782
|
-
r === "values" && typeof e.values == "object" || (Ma(r) || n === !0 &&
|
|
782
|
+
r === "values" && typeof e.values == "object" || (Ma(r) || n === !0 && Wn(r) || !t && !Wn(r) || // If trying to use native HTML drag events, forward drag listeners
|
|
783
783
|
e.draggable && r.startsWith("onDrag")) && (i[r] = e[r]);
|
|
784
784
|
return i;
|
|
785
785
|
}
|
|
@@ -893,7 +893,7 @@ function Fr(e, t, n) {
|
|
|
893
893
|
(Se(r[s]) || t.style && Se(t.style[s]) || wa(s, e) || ((i = n == null ? void 0 : n.getValue(s)) === null || i === void 0 ? void 0 : i.liveStyle) !== void 0) && (o[s] = r[s]);
|
|
894
894
|
return n && r && typeof r.willChange == "string" && (n.applyWillChange = !1), o;
|
|
895
895
|
}
|
|
896
|
-
function
|
|
896
|
+
function La(e, t, n) {
|
|
897
897
|
const i = Fr(e, t, n);
|
|
898
898
|
for (const r in e)
|
|
899
899
|
if (Se(e[r]) || Se(t[r])) {
|
|
@@ -919,7 +919,7 @@ function Mr(e, t, n, i) {
|
|
|
919
919
|
}
|
|
920
920
|
return t;
|
|
921
921
|
}
|
|
922
|
-
function
|
|
922
|
+
function Wa(e) {
|
|
923
923
|
const t = de(null);
|
|
924
924
|
return t.current === null && (t.current = e()), t.current;
|
|
925
925
|
}
|
|
@@ -959,7 +959,7 @@ function vd({ applyWillChange: e = !1, scrapeMotionValuesFromProps: t, createRen
|
|
|
959
959
|
}
|
|
960
960
|
const Ha = (e) => (t, n) => {
|
|
961
961
|
const i = se(qn), r = se(ei), o = () => vd(e, t, i, r, n);
|
|
962
|
-
return n ? o() :
|
|
962
|
+
return n ? o() : Wa(o);
|
|
963
963
|
};
|
|
964
964
|
function yd(e, t) {
|
|
965
965
|
const n = Za(t);
|
|
@@ -1004,7 +1004,7 @@ function Cd(e, t, n, i, r) {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
const { schedule: ee, cancel: ot, state: be, steps: gi } = Sa(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ye, !0), Id = {
|
|
1006
1006
|
useVisualState: Ha({
|
|
1007
|
-
scrapeMotionValuesFromProps:
|
|
1007
|
+
scrapeMotionValuesFromProps: La,
|
|
1008
1008
|
createRenderState: Ba,
|
|
1009
1009
|
onMount: (e, t, { renderState: n, latestValues: i }) => {
|
|
1010
1010
|
ee.read(() => {
|
|
@@ -1291,19 +1291,19 @@ const tt = (e) => e * 1e3, nt = (e) => e / 1e3, Nd = {
|
|
|
1291
1291
|
stiffness: 500,
|
|
1292
1292
|
damping: 25,
|
|
1293
1293
|
restSpeed: 10
|
|
1294
|
-
},
|
|
1294
|
+
}, Ld = (e) => ({
|
|
1295
1295
|
type: "spring",
|
|
1296
1296
|
stiffness: 550,
|
|
1297
1297
|
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
|
|
1298
1298
|
restSpeed: 10
|
|
1299
|
-
}),
|
|
1299
|
+
}), Wd = {
|
|
1300
1300
|
type: "keyframes",
|
|
1301
1301
|
duration: 0.8
|
|
1302
1302
|
}, Xd = {
|
|
1303
1303
|
type: "keyframes",
|
|
1304
1304
|
ease: [0.25, 0.1, 0.35, 1],
|
|
1305
1305
|
duration: 0.3
|
|
1306
|
-
}, Zd = (e, { keyframes: t }) => t.length > 2 ?
|
|
1306
|
+
}, Zd = (e, { keyframes: t }) => t.length > 2 ? Wd : mt.has(e) ? e.startsWith("scale") ? Ld(t[1]) : Nd : Xd;
|
|
1307
1307
|
function Hd({ when: e, delay: t, delayChildren: n, staggerChildren: i, staggerDirection: r, repeat: o, repeatType: s, repeatDelay: u, from: a, elapsed: c, ...l }) {
|
|
1308
1308
|
return !!Object.keys(l).length;
|
|
1309
1309
|
}
|
|
@@ -1675,7 +1675,7 @@ function bf(e, t, n, i) {
|
|
|
1675
1675
|
if (t === "display" || t === "visibility")
|
|
1676
1676
|
return !0;
|
|
1677
1677
|
const o = e[e.length - 1], s = wo(r, t), u = wo(o, t);
|
|
1678
|
-
return
|
|
1678
|
+
return Wt(s === u, `You are trying to animate ${t} from "${r}" to "${o}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${o} via the \`style\` property.`), !s || !u ? !1 : gf(e) || n === "spring" && i;
|
|
1679
1679
|
}
|
|
1680
1680
|
class lu {
|
|
1681
1681
|
constructor({ autoplay: t = !0, delay: n = 0, type: i = "keyframes", repeat: r = 0, repeatDelay: o = 0, repeatType: s = "loop", ...u }) {
|
|
@@ -1746,7 +1746,7 @@ function fu(e, t, n) {
|
|
|
1746
1746
|
const Ci = 1e-3, yf = 0.01, Vo = 10, Cf = 0.05, If = 1;
|
|
1747
1747
|
function xf({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: i = 1 }) {
|
|
1748
1748
|
let r, o;
|
|
1749
|
-
|
|
1749
|
+
Wt(e <= tt(Vo), "Spring duration must be 10 seconds or less");
|
|
1750
1750
|
let s = 1 - t;
|
|
1751
1751
|
s = ht(Cf, If, s), e = ht(yf, Vo, nt(e)), s < 1 ? (r = (c) => {
|
|
1752
1752
|
const l = c * s, d = l * e, f = l - n, p = qi(c, s), b = Math.exp(-d);
|
|
@@ -1857,8 +1857,8 @@ function Do({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: i = 3
|
|
|
1857
1857
|
const v = d + g, C = s === void 0 ? v : s(v);
|
|
1858
1858
|
C !== v && (g = C - d);
|
|
1859
1859
|
const y = (E) => -g * Math.exp(-E / i), m = (E) => C + y(E), I = (E) => {
|
|
1860
|
-
const R = y(E),
|
|
1861
|
-
f.done = Math.abs(R) <= c, f.value = f.done ? C :
|
|
1860
|
+
const R = y(E), W = m(E);
|
|
1861
|
+
f.done = Math.abs(R) <= c, f.value = f.done ? C : W;
|
|
1862
1862
|
};
|
|
1863
1863
|
let h, A;
|
|
1864
1864
|
const S = (E) => {
|
|
@@ -1894,15 +1894,15 @@ function mn(e, t, n, i) {
|
|
|
1894
1894
|
const r = (o) => Rf(o, 0, 1, e, n);
|
|
1895
1895
|
return (o) => o === 0 || o === 1 ? o : pu(r(o), t, i);
|
|
1896
1896
|
}
|
|
1897
|
-
const Df = mn(0.42, 0, 1, 1), Ff = mn(0, 0, 0.58, 1), mu = mn(0.42, 0, 0.58, 1), Mf = (e) => Array.isArray(e) && typeof e[0] != "number", gu = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, bu = (e) => (t) => 1 - e(1 - t),
|
|
1897
|
+
const Df = mn(0.42, 0, 1, 1), Ff = mn(0, 0, 0.58, 1), mu = mn(0.42, 0, 0.58, 1), Mf = (e) => Array.isArray(e) && typeof e[0] != "number", gu = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, bu = (e) => (t) => 1 - e(1 - t), Lr = (e) => 1 - Math.sin(Math.acos(e)), vu = bu(Lr), Bf = gu(Lr), yu = mn(0.33, 1.53, 0.69, 0.99), Wr = bu(yu), Gf = gu(Wr), Of = (e) => (e *= 2) < 1 ? 0.5 * Wr(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), Fo = {
|
|
1898
1898
|
linear: ye,
|
|
1899
1899
|
easeIn: Df,
|
|
1900
1900
|
easeInOut: mu,
|
|
1901
1901
|
easeOut: Ff,
|
|
1902
|
-
circIn:
|
|
1902
|
+
circIn: Lr,
|
|
1903
1903
|
circInOut: Bf,
|
|
1904
1904
|
circOut: vu,
|
|
1905
|
-
backIn:
|
|
1905
|
+
backIn: Wr,
|
|
1906
1906
|
backInOut: Gf,
|
|
1907
1907
|
backOut: yu,
|
|
1908
1908
|
anticipate: Of
|
|
@@ -1943,10 +1943,10 @@ function Xn(e, t) {
|
|
|
1943
1943
|
const xi = (e, t, n) => {
|
|
1944
1944
|
const i = e * e, r = n * (t * t - i) + i;
|
|
1945
1945
|
return r < 0 ? 0 : Math.sqrt(r);
|
|
1946
|
-
},
|
|
1946
|
+
}, Lf = [Qi, xt, Rt], Wf = (e) => Lf.find((t) => t.test(e));
|
|
1947
1947
|
function Bo(e) {
|
|
1948
|
-
const t =
|
|
1949
|
-
if (
|
|
1948
|
+
const t = Wf(e);
|
|
1949
|
+
if (Wt(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`), !t)
|
|
1950
1950
|
return !1;
|
|
1951
1951
|
let n = t.parse(e);
|
|
1952
1952
|
return t === Rt && (n = Nf(n)), n;
|
|
@@ -1996,7 +1996,7 @@ function kf(e, t) {
|
|
|
1996
1996
|
}
|
|
1997
1997
|
const zf = (e, t) => {
|
|
1998
1998
|
const n = pt.createTransformer(t), i = on(e), r = on(t);
|
|
1999
|
-
return i.indexes.var.length === r.indexes.var.length && i.indexes.color.length === r.indexes.color.length && i.indexes.number.length >= r.indexes.number.length ? er.has(e) && !r.values.length || er.has(t) && !i.values.length ? Xf(e, t) : et(Cu(kf(i, r), r.values), n) : (
|
|
1999
|
+
return i.indexes.var.length === r.indexes.var.length && i.indexes.color.length === r.indexes.color.length && i.indexes.number.length >= r.indexes.number.length ? er.has(e) && !r.values.length || er.has(t) && !i.values.length ? Xf(e, t) : et(Cu(kf(i, r), r.values), n) : (Wt(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), Xn(e, t));
|
|
2000
2000
|
};
|
|
2001
2001
|
function Iu(e, t, n) {
|
|
2002
2002
|
return typeof e == "number" && typeof t == "number" && typeof n == "number" ? oe(e, t, n) : Xr(e)(e, t);
|
|
@@ -2143,8 +2143,8 @@ class Zr extends lu {
|
|
|
2143
2143
|
let m = this.currentTime, I = o;
|
|
2144
2144
|
if (p) {
|
|
2145
2145
|
const E = Math.min(this.currentTime, l) / d;
|
|
2146
|
-
let R = Math.floor(E),
|
|
2147
|
-
!
|
|
2146
|
+
let R = Math.floor(E), W = E % 1;
|
|
2147
|
+
!W && E >= 1 && (W = 1), W === 1 && R--, R = Math.min(R, p + 1), !!(R % 2) && (b === "reverse" ? (W = 1 - W, g && (W -= g / d)) : b === "mirror" && (I = s)), m = ht(0, 1, W) * d;
|
|
2148
2148
|
}
|
|
2149
2149
|
const h = y ? { done: !1, value: a[0] } : I.next(m);
|
|
2150
2150
|
u && (h.value = u(h.value));
|
|
@@ -2548,11 +2548,11 @@ class zr {
|
|
|
2548
2548
|
this.subscriptions.length = 0;
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
|
-
const
|
|
2551
|
+
const Lo = /* @__PURE__ */ new Set();
|
|
2552
2552
|
function jr(e, t, n) {
|
|
2553
|
-
e ||
|
|
2553
|
+
e || Lo.has(t) || (console.warn(t), Lo.add(t));
|
|
2554
2554
|
}
|
|
2555
|
-
const
|
|
2555
|
+
const Wo = 30, lh = (e) => !isNaN(parseFloat(e));
|
|
2556
2556
|
class Tu {
|
|
2557
2557
|
/**
|
|
2558
2558
|
* @param init - The initiating value
|
|
@@ -2691,9 +2691,9 @@ class Tu {
|
|
|
2691
2691
|
*/
|
|
2692
2692
|
getVelocity() {
|
|
2693
2693
|
const t = ft.now();
|
|
2694
|
-
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt >
|
|
2694
|
+
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > Wo)
|
|
2695
2695
|
return 0;
|
|
2696
|
-
const n = Math.min(this.updatedAt - this.prevUpdatedAt,
|
|
2696
|
+
const n = Math.min(this.updatedAt - this.prevUpdatedAt, Wo);
|
|
2697
2697
|
return du(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
|
|
2698
2698
|
}
|
|
2699
2699
|
/**
|
|
@@ -2913,8 +2913,8 @@ function xh(e) {
|
|
|
2913
2913
|
let E = Ah(y.prevProp, m) || // If we're making this variant active, we want to always make it active
|
|
2914
2914
|
C === a && y.isActive && !A && I || // If we removed a higher-priority variant (i is in reverse order)
|
|
2915
2915
|
v > b && I, R = !1;
|
|
2916
|
-
const
|
|
2917
|
-
let J =
|
|
2916
|
+
const W = Array.isArray(m) ? m : [m];
|
|
2917
|
+
let J = W.reduce(r(C), {});
|
|
2918
2918
|
h === !1 && (J = {});
|
|
2919
2919
|
const { prevResolvedValues: te = {} } = y, fe = {
|
|
2920
2920
|
...te,
|
|
@@ -2931,7 +2931,7 @@ function xh(e) {
|
|
|
2931
2931
|
let ie = !1;
|
|
2932
2932
|
Ji(k) && Ji(ne) ? ie = !Ua(k, ne) : ie = k !== ne, ie ? k != null ? re(H) : f.add(H) : k !== void 0 && f.has(H) ? re(H) : y.protectedKeys[H] = !0;
|
|
2933
2933
|
}
|
|
2934
|
-
y.prevProp = m, y.prevResolvedValues = J, y.isActive && (p = { ...p, ...J }), i && e.blockInitialAnimation && (E = !1), E && (!A || R) && d.push(...
|
|
2934
|
+
y.prevProp = m, y.prevResolvedValues = J, y.isActive && (p = { ...p, ...J }), i && e.blockInitialAnimation && (E = !1), E && (!A || R) && d.push(...W.map((H) => ({
|
|
2935
2935
|
animation: H,
|
|
2936
2936
|
options: { type: C }
|
|
2937
2937
|
})));
|
|
@@ -3160,7 +3160,7 @@ function Yo(e, t, n) {
|
|
|
3160
3160
|
max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
|
|
3161
3161
|
};
|
|
3162
3162
|
}
|
|
3163
|
-
function
|
|
3163
|
+
function Lh(e, { top: t, left: n, bottom: i, right: r }) {
|
|
3164
3164
|
return {
|
|
3165
3165
|
x: Yo(e.x, n, r),
|
|
3166
3166
|
y: Yo(e.y, t, i)
|
|
@@ -3170,7 +3170,7 @@ function Jo(e, t) {
|
|
|
3170
3170
|
let n = t.min - e.min, i = t.max - e.max;
|
|
3171
3171
|
return t.max - t.min < e.max - e.min && ([n, i] = [i, n]), { min: n, max: i };
|
|
3172
3172
|
}
|
|
3173
|
-
function
|
|
3173
|
+
function Wh(e, t) {
|
|
3174
3174
|
return {
|
|
3175
3175
|
x: Jo(e.x, t.x),
|
|
3176
3176
|
y: Jo(e.y, t.y)
|
|
@@ -3383,7 +3383,7 @@ class Uh {
|
|
|
3383
3383
|
resolveConstraints() {
|
|
3384
3384
|
var t;
|
|
3385
3385
|
const { dragConstraints: n, dragElastic: i } = this.getProps(), r = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, o = this.constraints;
|
|
3386
|
-
n && Vt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && r ? this.constraints =
|
|
3386
|
+
n && Vt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && r ? this.constraints = Lh(r.layoutBox, n) : this.constraints = !1, this.elastic = Hh(i), o !== this.constraints && r && this.constraints && !this.hasMutatedConstraints && Oe((s) => {
|
|
3387
3387
|
this.constraints !== !1 && this.getAxisMotionValue(s) && (this.constraints[s] = Zh(r.layoutBox[s], this.constraints[s]));
|
|
3388
3388
|
});
|
|
3389
3389
|
}
|
|
@@ -3397,7 +3397,7 @@ class Uh {
|
|
|
3397
3397
|
if (!r || !r.layout)
|
|
3398
3398
|
return !1;
|
|
3399
3399
|
const o = Yh(i, r.root, this.visualElement.getTransformPagePoint());
|
|
3400
|
-
let s =
|
|
3400
|
+
let s = Wh(r.layout.layoutBox, o);
|
|
3401
3401
|
if (n) {
|
|
3402
3402
|
const u = n(kh(s));
|
|
3403
3403
|
this.hasMutatedConstraints = !!u, u && (s = Fu(u));
|
|
@@ -3585,7 +3585,7 @@ function Kh() {
|
|
|
3585
3585
|
if (e === null)
|
|
3586
3586
|
return [!0, null];
|
|
3587
3587
|
const { isPresent: t, onExitComplete: n, register: i } = e, r = gr();
|
|
3588
|
-
return
|
|
3588
|
+
return He(() => i(r), []), !t && n ? [!1, () => n && n(r)] : [!0];
|
|
3589
3589
|
}
|
|
3590
3590
|
const Dn = {
|
|
3591
3591
|
/**
|
|
@@ -3684,7 +3684,7 @@ const tp = {
|
|
|
3684
3684
|
borderBottomLeftRadius: zt,
|
|
3685
3685
|
borderBottomRightRadius: zt,
|
|
3686
3686
|
boxShadow: qh
|
|
3687
|
-
},
|
|
3687
|
+
}, Lu = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], np = Lu.length, os = (e) => typeof e == "string" ? parseFloat(e) : e, ss = (e) => typeof e == "number" || O.test(e);
|
|
3688
3688
|
function ip(e, t, n, i, r, o) {
|
|
3689
3689
|
r ? (e.opacity = oe(
|
|
3690
3690
|
0,
|
|
@@ -3693,7 +3693,7 @@ function ip(e, t, n, i, r, o) {
|
|
|
3693
3693
|
rp(i)
|
|
3694
3694
|
), e.opacityExit = oe(t.opacity !== void 0 ? t.opacity : 1, 0, op(i))) : o && (e.opacity = oe(t.opacity !== void 0 ? t.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, i));
|
|
3695
3695
|
for (let s = 0; s < np; s++) {
|
|
3696
|
-
const u = `border${
|
|
3696
|
+
const u = `border${Lu[s]}Radius`;
|
|
3697
3697
|
let a = as(t, u), c = as(n, u);
|
|
3698
3698
|
if (a === void 0 && c === void 0)
|
|
3699
3699
|
continue;
|
|
@@ -3704,8 +3704,8 @@ function ip(e, t, n, i, r, o) {
|
|
|
3704
3704
|
function as(e, t) {
|
|
3705
3705
|
return e[t] !== void 0 ? e[t] : e.borderRadius;
|
|
3706
3706
|
}
|
|
3707
|
-
const rp =
|
|
3708
|
-
function
|
|
3707
|
+
const rp = Wu(0, 0.5, vu), op = Wu(0.5, 0.95, ye);
|
|
3708
|
+
function Wu(e, t, n) {
|
|
3709
3709
|
return (i) => i < e ? 0 : i > t ? 1 : n(sn(e, t, i));
|
|
3710
3710
|
}
|
|
3711
3711
|
function us(e, t) {
|
|
@@ -4274,10 +4274,10 @@ function ku({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4274
4274
|
this.applyTransformsToTarget(), c.transform = dp(this.projectionDeltaWithTransform, this.treeScale, f), l && (c.transform = l(f, c.transform));
|
|
4275
4275
|
const { x: p, y: b } = this.projectionDelta;
|
|
4276
4276
|
c.transformOrigin = `${p.origin * 100}% ${b.origin * 100}% 0`, d.animationValues ? c.opacity = d === this ? (a = (u = f.opacity) !== null && u !== void 0 ? u : this.latestValues.opacity) !== null && a !== void 0 ? a : 1 : this.preserveOpacity ? this.latestValues.opacity : f.opacityExit : c.opacity = d === this ? f.opacity !== void 0 ? f.opacity : "" : f.opacityExit !== void 0 ? f.opacityExit : 0;
|
|
4277
|
-
for (const g in
|
|
4277
|
+
for (const g in Ln) {
|
|
4278
4278
|
if (f[g] === void 0)
|
|
4279
4279
|
continue;
|
|
4280
|
-
const { correct: v, applyTo: C } =
|
|
4280
|
+
const { correct: v, applyTo: C } = Ln[g], y = c.transform === "none" ? f[g] : v(f[g], d);
|
|
4281
4281
|
if (C) {
|
|
4282
4282
|
const m = C.length;
|
|
4283
4283
|
for (let I = 0; I < m; I++)
|
|
@@ -4468,7 +4468,7 @@ function Np(e, t, n) {
|
|
|
4468
4468
|
t[i] === void 0 && e.removeValue(i);
|
|
4469
4469
|
return t;
|
|
4470
4470
|
}
|
|
4471
|
-
const Ss = /* @__PURE__ */ new WeakMap(),
|
|
4471
|
+
const Ss = /* @__PURE__ */ new WeakMap(), Lp = [...qa, Ae, pt], Wp = (e) => Lp.find(Ka(e)), Ts = [
|
|
4472
4472
|
"AnimationStart",
|
|
4473
4473
|
"AnimationComplete",
|
|
4474
4474
|
"Update",
|
|
@@ -4648,7 +4648,7 @@ class Zp {
|
|
|
4648
4648
|
readValue(t, n) {
|
|
4649
4649
|
var i;
|
|
4650
4650
|
let r = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : (i = this.getBaseTargetFromProps(this.props, t)) !== null && i !== void 0 ? i : this.readValueFromInstance(this.current, t, this.options);
|
|
4651
|
-
return r != null && (typeof r == "string" && ($a(r) || _a(r)) ? r = parseFloat(r) : !
|
|
4651
|
+
return r != null && (typeof r == "string" && ($a(r) || _a(r)) ? r = parseFloat(r) : !Wp(r) && pt.test(n) && (r = au(t, n)), this.setBaseTarget(t, Se(r) ? r.get() : r)), Se(r) ? r.get() : r;
|
|
4652
4652
|
}
|
|
4653
4653
|
/**
|
|
4654
4654
|
* Set the base target to later animate back to. This is currently
|
|
@@ -4743,7 +4743,7 @@ class zp extends Ju {
|
|
|
4743
4743
|
return n = Oa.has(n) ? n : ti(n), t.getAttribute(n);
|
|
4744
4744
|
}
|
|
4745
4745
|
scrapeMotionValuesFromProps(t, n, i) {
|
|
4746
|
-
return
|
|
4746
|
+
return La(t, n, i);
|
|
4747
4747
|
}
|
|
4748
4748
|
build(t, n, i) {
|
|
4749
4749
|
Rr(t, n, this.isSVGTag, i.transformTemplate);
|
|
@@ -4825,7 +4825,7 @@ function $p({ children: e, isPresent: t }) {
|
|
|
4825
4825
|
}, [t]), w(_p, { isPresent: t, childRef: i, sizeRef: r, children: Z.cloneElement(e, { ref: i }) });
|
|
4826
4826
|
}
|
|
4827
4827
|
const Vi = ({ children: e, initial: t, isPresent: n, onExitComplete: i, custom: r, presenceAffectsLayout: o, mode: s }) => {
|
|
4828
|
-
const u =
|
|
4828
|
+
const u = Wa(Qp), a = gr(), c = Ne(
|
|
4829
4829
|
() => ({
|
|
4830
4830
|
id: a,
|
|
4831
4831
|
initial: t,
|
|
@@ -4857,7 +4857,7 @@ function Qp() {
|
|
|
4857
4857
|
return /* @__PURE__ */ new Map();
|
|
4858
4858
|
}
|
|
4859
4859
|
function Kp(e) {
|
|
4860
|
-
return
|
|
4860
|
+
return He(() => () => e(), []);
|
|
4861
4861
|
}
|
|
4862
4862
|
const It = (e) => e.key || "";
|
|
4863
4863
|
function qp(e, t) {
|
|
@@ -4901,11 +4901,11 @@ const Yr = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, exitBe
|
|
|
4901
4901
|
d.delete(m);
|
|
4902
4902
|
const E = Array.from(p.keys()).filter((R) => !v.includes(R));
|
|
4903
4903
|
if (E.forEach((R) => p.delete(R)), f.current = c.filter((R) => {
|
|
4904
|
-
const
|
|
4904
|
+
const W = It(R);
|
|
4905
4905
|
return (
|
|
4906
4906
|
// filter out the node exiting
|
|
4907
|
-
|
|
4908
|
-
E.includes(
|
|
4907
|
+
W === m || // filter out the leftover children
|
|
4908
|
+
E.includes(W)
|
|
4909
4909
|
);
|
|
4910
4910
|
}), !d.size) {
|
|
4911
4911
|
if (a.current === !1)
|
|
@@ -4938,7 +4938,7 @@ const Yr = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, exitBe
|
|
|
4938
4938
|
const { id: t, type: n, title: i } = e, { icon: r } = tm(n), o = 4e3, s = al(), u = pe(() => {
|
|
4939
4939
|
s.removeToast(t);
|
|
4940
4940
|
}, [t, s]);
|
|
4941
|
-
return
|
|
4941
|
+
return He(() => {
|
|
4942
4942
|
const a = setTimeout(() => {
|
|
4943
4943
|
setTimeout(() => {
|
|
4944
4944
|
u();
|
|
@@ -4947,15 +4947,15 @@ const Yr = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, exitBe
|
|
|
4947
4947
|
return () => {
|
|
4948
4948
|
clearTimeout(a);
|
|
4949
4949
|
};
|
|
4950
|
-
}, []), /* @__PURE__ */ w(un.div, { layout: !0, initial: { opacity: 0, y: 50, scale: 0.3 }, animate: { opacity: 1, y: 0, scale: 1 }, exit: { opacity: 0, y: 0, scale: 0.8 }, children: /* @__PURE__ */ Ve("div", { className:
|
|
4951
|
-
/* @__PURE__ */ w("div", { className:
|
|
4952
|
-
/* @__PURE__ */ w("div", { className:
|
|
4953
|
-
/* @__PURE__ */ w("div", { className:
|
|
4950
|
+
}, []), /* @__PURE__ */ w(un.div, { layout: !0, initial: { opacity: 0, y: 50, scale: 0.3 }, animate: { opacity: 1, y: 0, scale: 1 }, exit: { opacity: 0, y: 0, scale: 0.8 }, children: /* @__PURE__ */ Ve("div", { className: Lt(ke.toast, ke[n]), children: [
|
|
4951
|
+
/* @__PURE__ */ w("div", { className: ke["toast-icon"], children: r }),
|
|
4952
|
+
/* @__PURE__ */ w("div", { className: ke["toast-content"], children: /* @__PURE__ */ w("p", { className: ke["toast-title"], children: i }) }),
|
|
4953
|
+
/* @__PURE__ */ w("div", { className: ke["toast-close"], children: /* @__PURE__ */ w("button", { type: "button", className: ke["toast-close-btn"], onClick: u, children: /* @__PURE__ */ w("span", { className: ke["toast-close-btn-icon"], children: /* @__PURE__ */ w(Pl, {}) }) }) })
|
|
4954
4954
|
] }) }, t);
|
|
4955
4955
|
};
|
|
4956
4956
|
function im(e) {
|
|
4957
4957
|
const { children: t } = e, [n, i] = Re(!1);
|
|
4958
|
-
|
|
4958
|
+
He(() => {
|
|
4959
4959
|
i(!0);
|
|
4960
4960
|
}, []);
|
|
4961
4961
|
const r = document.getElementById("biznext-ui-toast-portal");
|
|
@@ -4963,7 +4963,7 @@ function im(e) {
|
|
|
4963
4963
|
}
|
|
4964
4964
|
const rm = (e) => {
|
|
4965
4965
|
const { toasts: t, toastPosition: n = "top-center" } = e;
|
|
4966
|
-
return /* @__PURE__ */ w(im, { children: /* @__PURE__ */ w("div", { className:
|
|
4966
|
+
return /* @__PURE__ */ w(im, { children: /* @__PURE__ */ w("div", { className: Lt(ke["toasts-container"], ke[n]), children: /* @__PURE__ */ w(Yr, { children: t.map((i) => /* @__PURE__ */ w(nm, { id: i.id, type: i.type, title: i.title }, i.id)) }) }) });
|
|
4967
4967
|
};
|
|
4968
4968
|
var ge = [];
|
|
4969
4969
|
for (var Ri = 0; Ri < 256; ++Ri)
|
|
@@ -5001,7 +5001,7 @@ function lm() {
|
|
|
5001
5001
|
function dm(e) {
|
|
5002
5002
|
return Et({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M7 4V2H17V4H22V6H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V6H2V4H7ZM6 6V20H18V6H6ZM9 9H11V17H9V9ZM13 9H15V17H13V9Z" }, child: [] }] })(e);
|
|
5003
5003
|
}
|
|
5004
|
-
const fm = "biznext-ui-wec4qWkj9NU-c", hm = "biznext-ui-mcehjNn9Nl0-9", pm = "biznext-ui-pYq-UQoFMHM-a", mm = "biznext-ui-bgVORylkzc0-6",
|
|
5004
|
+
const fm = "biznext-ui-wec4qWkj9NU-c", hm = "biznext-ui-mcehjNn9Nl0-9", pm = "biznext-ui-pYq-UQoFMHM-a", mm = "biznext-ui-bgVORylkzc0-6", Le = {
|
|
5005
5005
|
"confirm-dialog": "biznext-ui-4yyscqDACxw-e",
|
|
5006
5006
|
"confirm-dialog-overlay": "biznext-ui-ylpaWxEFaTU-c",
|
|
5007
5007
|
"confirm-dialog-content": "biznext-ui-xwshXokj5ZA-c",
|
|
@@ -5018,7 +5018,7 @@ const fm = "biznext-ui-wec4qWkj9NU-c", hm = "biznext-ui-mcehjNn9Nl0-9", pm = "bi
|
|
|
5018
5018
|
};
|
|
5019
5019
|
function gm(e) {
|
|
5020
5020
|
const { children: t } = e, [n, i] = Re(!1);
|
|
5021
|
-
|
|
5021
|
+
He(() => {
|
|
5022
5022
|
i(!0);
|
|
5023
5023
|
}, []);
|
|
5024
5024
|
const r = document.getElementById("biznext-ui-confirm-dialog-portal");
|
|
@@ -5030,24 +5030,24 @@ const bm = (e) => {
|
|
|
5030
5030
|
}, d = () => {
|
|
5031
5031
|
a(), n();
|
|
5032
5032
|
};
|
|
5033
|
-
return /* @__PURE__ */ w(gm, { children: /* @__PURE__ */ w("div", { className:
|
|
5033
|
+
return /* @__PURE__ */ w(gm, { children: /* @__PURE__ */ w("div", { className: Le["confirm-dialog-wrapper"], children: /* @__PURE__ */ w(Yr, { children: t && /* @__PURE__ */ w(un.div, { className: Le["confirm-dialog-overlay"], initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, children: /* @__PURE__ */ w(
|
|
5034
5034
|
un.div,
|
|
5035
5035
|
{
|
|
5036
|
-
className:
|
|
5036
|
+
className: Lt(Le["confirm-dialog"], Le[r]),
|
|
5037
5037
|
initial: { opacity: 0, scale: 0.95 },
|
|
5038
5038
|
animate: { opacity: 1, scale: 1 },
|
|
5039
5039
|
exit: { opacity: 0, scale: 0.95 },
|
|
5040
|
-
children: /* @__PURE__ */ Ve("div", { className:
|
|
5041
|
-
/* @__PURE__ */ Ve("div", { className:
|
|
5042
|
-
/* @__PURE__ */ w("div", { className:
|
|
5040
|
+
children: /* @__PURE__ */ Ve("div", { className: Le["confirm-dialog-content"], children: [
|
|
5041
|
+
/* @__PURE__ */ Ve("div", { className: Le["confirm-dialog-body"], children: [
|
|
5042
|
+
/* @__PURE__ */ w("div", { className: Le["confirm-dialog-icon-container"], children: /* @__PURE__ */ w("div", { className: Le["confirm-dialog-icon"], children: u || /* @__PURE__ */ w(dm, {}) }) }),
|
|
5043
5043
|
/* @__PURE__ */ Ve("div", { children: [
|
|
5044
5044
|
/* @__PURE__ */ w("h2", { children: o }),
|
|
5045
5045
|
/* @__PURE__ */ w("p", { children: s })
|
|
5046
5046
|
] })
|
|
5047
5047
|
] }),
|
|
5048
|
-
/* @__PURE__ */ Ve("div", { className:
|
|
5049
|
-
/* @__PURE__ */ w("button", { type: "button", className:
|
|
5050
|
-
/* @__PURE__ */ w("button", { type: "button", className:
|
|
5048
|
+
/* @__PURE__ */ Ve("div", { className: Le["confirm-dialog-footer"], children: [
|
|
5049
|
+
/* @__PURE__ */ w("button", { type: "button", className: Le["confirm-dialog-footer-close-btn"], onClick: l, children: c && c.onCloseTitle ? c.onCloseTitle : "Cancel" }),
|
|
5050
|
+
/* @__PURE__ */ w("button", { type: "button", className: Le["confirm-dialog-footer-confirm-btn"], onClick: d, children: c && c.onConfirmTitle ? c.onConfirmTitle : "Confirm" })
|
|
5051
5051
|
] })
|
|
5052
5052
|
] })
|
|
5053
5053
|
}
|
|
@@ -5230,7 +5230,7 @@ function Em() {
|
|
|
5230
5230
|
}
|
|
5231
5231
|
}
|
|
5232
5232
|
}
|
|
5233
|
-
var h = a, A = c, S = u, E = s, R = t,
|
|
5233
|
+
var h = a, A = c, S = u, E = s, R = t, W = l, J = i, te = b, fe = p, re = n, H = o, k = r, ne = d, ie = !1;
|
|
5234
5234
|
function me(x) {
|
|
5235
5235
|
return ie || (ie = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), T(x) || I(x) === a;
|
|
5236
5236
|
}
|
|
@@ -5255,7 +5255,7 @@ function Em() {
|
|
|
5255
5255
|
function G(x) {
|
|
5256
5256
|
return I(x) === b;
|
|
5257
5257
|
}
|
|
5258
|
-
function
|
|
5258
|
+
function L(x) {
|
|
5259
5259
|
return I(x) === p;
|
|
5260
5260
|
}
|
|
5261
5261
|
function X(x) {
|
|
@@ -5270,7 +5270,7 @@ function Em() {
|
|
|
5270
5270
|
function he(x) {
|
|
5271
5271
|
return I(x) === d;
|
|
5272
5272
|
}
|
|
5273
|
-
Q.AsyncMode = h, Q.ConcurrentMode = A, Q.ContextConsumer = S, Q.ContextProvider = E, Q.Element = R, Q.ForwardRef =
|
|
5273
|
+
Q.AsyncMode = h, Q.ConcurrentMode = A, Q.ContextConsumer = S, Q.ContextProvider = E, Q.Element = R, Q.ForwardRef = W, Q.Fragment = J, Q.Lazy = te, Q.Memo = fe, Q.Portal = re, Q.Profiler = H, Q.StrictMode = k, Q.Suspense = ne, Q.isAsyncMode = me, Q.isConcurrentMode = T, Q.isContextConsumer = P, Q.isContextProvider = V, Q.isElement = F, Q.isForwardRef = M, Q.isFragment = z, Q.isLazy = G, Q.isMemo = L, Q.isPortal = X, Q.isProfiler = j, Q.isStrictMode = Y, Q.isSuspense = he, Q.isValidElementType = m, Q.typeOf = I;
|
|
5274
5274
|
}()), Q;
|
|
5275
5275
|
}
|
|
5276
5276
|
var Vs;
|
|
@@ -5426,7 +5426,7 @@ function Vm() {
|
|
|
5426
5426
|
element: I(),
|
|
5427
5427
|
elementType: h(),
|
|
5428
5428
|
instanceOf: A,
|
|
5429
|
-
node:
|
|
5429
|
+
node: W(),
|
|
5430
5430
|
objectOf: E,
|
|
5431
5431
|
oneOf: S,
|
|
5432
5432
|
oneOfType: R,
|
|
@@ -5443,28 +5443,28 @@ function Vm() {
|
|
|
5443
5443
|
function v(T) {
|
|
5444
5444
|
if (process.env.NODE_ENV !== "production")
|
|
5445
5445
|
var P = {}, V = 0;
|
|
5446
|
-
function F(z, G,
|
|
5447
|
-
if (X = X || f, Y = Y ||
|
|
5446
|
+
function F(z, G, L, X, j, Y, he) {
|
|
5447
|
+
if (X = X || f, Y = Y || L, he !== n) {
|
|
5448
5448
|
if (a) {
|
|
5449
5449
|
var x = new Error(
|
|
5450
5450
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
5451
5451
|
);
|
|
5452
5452
|
throw x.name = "Invariant Violation", x;
|
|
5453
5453
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
5454
|
-
var Ce = X + ":" +
|
|
5454
|
+
var Ce = X + ":" + L;
|
|
5455
5455
|
!P[Ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
5456
5456
|
V < 3 && (o(
|
|
5457
5457
|
"You are manually calling a React.PropTypes validation function for the `" + Y + "` prop on `" + X + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
5458
5458
|
), P[Ce] = !0, V++);
|
|
5459
5459
|
}
|
|
5460
5460
|
}
|
|
5461
|
-
return G[
|
|
5461
|
+
return G[L] == null ? z ? G[L] === null ? new g("The " + j + " `" + Y + "` is marked as required " + ("in `" + X + "`, but its value is `null`.")) : new g("The " + j + " `" + Y + "` is marked as required in " + ("`" + X + "`, but its value is `undefined`.")) : null : T(G, L, X, j, Y);
|
|
5462
5462
|
}
|
|
5463
5463
|
var M = F.bind(null, !1);
|
|
5464
5464
|
return M.isRequired = F.bind(null, !0), M;
|
|
5465
5465
|
}
|
|
5466
5466
|
function C(T) {
|
|
5467
|
-
function P(V, F, M, z, G,
|
|
5467
|
+
function P(V, F, M, z, G, L) {
|
|
5468
5468
|
var X = V[F], j = k(X);
|
|
5469
5469
|
if (j !== T) {
|
|
5470
5470
|
var Y = ne(X);
|
|
@@ -5484,13 +5484,13 @@ function Vm() {
|
|
|
5484
5484
|
function P(V, F, M, z, G) {
|
|
5485
5485
|
if (typeof T != "function")
|
|
5486
5486
|
return new g("Property `" + G + "` of component `" + M + "` has invalid PropType notation inside arrayOf.");
|
|
5487
|
-
var
|
|
5488
|
-
if (!Array.isArray(
|
|
5489
|
-
var X = k(
|
|
5487
|
+
var L = V[F];
|
|
5488
|
+
if (!Array.isArray(L)) {
|
|
5489
|
+
var X = k(L);
|
|
5490
5490
|
return new g("Invalid " + z + " `" + G + "` of type " + ("`" + X + "` supplied to `" + M + "`, expected an array."));
|
|
5491
5491
|
}
|
|
5492
|
-
for (var j = 0; j <
|
|
5493
|
-
var Y = T(
|
|
5492
|
+
for (var j = 0; j < L.length; j++) {
|
|
5493
|
+
var Y = T(L, j, M, z, G + "[" + j + "]", n);
|
|
5494
5494
|
if (Y instanceof Error)
|
|
5495
5495
|
return Y;
|
|
5496
5496
|
}
|
|
@@ -5502,8 +5502,8 @@ function Vm() {
|
|
|
5502
5502
|
function T(P, V, F, M, z) {
|
|
5503
5503
|
var G = P[V];
|
|
5504
5504
|
if (!u(G)) {
|
|
5505
|
-
var
|
|
5506
|
-
return new g("Invalid " + M + " `" + z + "` of type " + ("`" +
|
|
5505
|
+
var L = k(G);
|
|
5506
|
+
return new g("Invalid " + M + " `" + z + "` of type " + ("`" + L + "` supplied to `" + F + "`, expected a single ReactElement."));
|
|
5507
5507
|
}
|
|
5508
5508
|
return null;
|
|
5509
5509
|
}
|
|
@@ -5513,8 +5513,8 @@ function Vm() {
|
|
|
5513
5513
|
function T(P, V, F, M, z) {
|
|
5514
5514
|
var G = P[V];
|
|
5515
5515
|
if (!e.isValidElementType(G)) {
|
|
5516
|
-
var
|
|
5517
|
-
return new g("Invalid " + M + " `" + z + "` of type " + ("`" +
|
|
5516
|
+
var L = k(G);
|
|
5517
|
+
return new g("Invalid " + M + " `" + z + "` of type " + ("`" + L + "` supplied to `" + F + "`, expected a single ReactElement type."));
|
|
5518
5518
|
}
|
|
5519
5519
|
return null;
|
|
5520
5520
|
}
|
|
@@ -5523,8 +5523,8 @@ function Vm() {
|
|
|
5523
5523
|
function A(T) {
|
|
5524
5524
|
function P(V, F, M, z, G) {
|
|
5525
5525
|
if (!(V[F] instanceof T)) {
|
|
5526
|
-
var
|
|
5527
|
-
return new g("Invalid " + z + " `" + G + "` of type " + ("`" + X + "` supplied to `" + M + "`, expected ") + ("instance of `" +
|
|
5526
|
+
var L = T.name || f, X = me(V[F]);
|
|
5527
|
+
return new g("Invalid " + z + " `" + G + "` of type " + ("`" + X + "` supplied to `" + M + "`, expected ") + ("instance of `" + L + "`."));
|
|
5528
5528
|
}
|
|
5529
5529
|
return null;
|
|
5530
5530
|
}
|
|
@@ -5536,14 +5536,14 @@ function Vm() {
|
|
|
5536
5536
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
5537
5537
|
) : o("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
5538
5538
|
function P(V, F, M, z, G) {
|
|
5539
|
-
for (var
|
|
5540
|
-
if (b(
|
|
5539
|
+
for (var L = V[F], X = 0; X < T.length; X++)
|
|
5540
|
+
if (b(L, T[X]))
|
|
5541
5541
|
return null;
|
|
5542
5542
|
var j = JSON.stringify(T, function(he, x) {
|
|
5543
5543
|
var Ce = ne(x);
|
|
5544
5544
|
return Ce === "symbol" ? String(x) : x;
|
|
5545
5545
|
});
|
|
5546
|
-
return new g("Invalid " + z + " `" + G + "` of value `" + String(
|
|
5546
|
+
return new g("Invalid " + z + " `" + G + "` of value `" + String(L) + "` " + ("supplied to `" + M + "`, expected one of " + j + "."));
|
|
5547
5547
|
}
|
|
5548
5548
|
return v(P);
|
|
5549
5549
|
}
|
|
@@ -5551,12 +5551,12 @@ function Vm() {
|
|
|
5551
5551
|
function P(V, F, M, z, G) {
|
|
5552
5552
|
if (typeof T != "function")
|
|
5553
5553
|
return new g("Property `" + G + "` of component `" + M + "` has invalid PropType notation inside objectOf.");
|
|
5554
|
-
var
|
|
5554
|
+
var L = V[F], X = k(L);
|
|
5555
5555
|
if (X !== "object")
|
|
5556
5556
|
return new g("Invalid " + z + " `" + G + "` of type " + ("`" + X + "` supplied to `" + M + "`, expected an object."));
|
|
5557
|
-
for (var j in
|
|
5558
|
-
if (i(
|
|
5559
|
-
var Y = T(
|
|
5557
|
+
for (var j in L)
|
|
5558
|
+
if (i(L, j)) {
|
|
5559
|
+
var Y = T(L, j, M, z, G + "." + j, n);
|
|
5560
5560
|
if (Y instanceof Error)
|
|
5561
5561
|
return Y;
|
|
5562
5562
|
}
|
|
@@ -5574,19 +5574,19 @@ function Vm() {
|
|
|
5574
5574
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ie(V) + " at index " + P + "."
|
|
5575
5575
|
), s;
|
|
5576
5576
|
}
|
|
5577
|
-
function F(M, z, G,
|
|
5577
|
+
function F(M, z, G, L, X) {
|
|
5578
5578
|
for (var j = [], Y = 0; Y < T.length; Y++) {
|
|
5579
|
-
var he = T[Y], x = he(M, z, G,
|
|
5579
|
+
var he = T[Y], x = he(M, z, G, L, X, n);
|
|
5580
5580
|
if (x == null)
|
|
5581
5581
|
return null;
|
|
5582
5582
|
x.data && i(x.data, "expectedType") && j.push(x.data.expectedType);
|
|
5583
5583
|
}
|
|
5584
5584
|
var Ce = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
|
|
5585
|
-
return new g("Invalid " +
|
|
5585
|
+
return new g("Invalid " + L + " `" + X + "` supplied to " + ("`" + G + "`" + Ce + "."));
|
|
5586
5586
|
}
|
|
5587
5587
|
return v(F);
|
|
5588
5588
|
}
|
|
5589
|
-
function
|
|
5589
|
+
function W() {
|
|
5590
5590
|
function T(P, V, F, M, z) {
|
|
5591
5591
|
return re(P[V]) ? null : new g("Invalid " + M + " `" + z + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
|
|
5592
5592
|
}
|
|
@@ -5599,14 +5599,14 @@ function Vm() {
|
|
|
5599
5599
|
}
|
|
5600
5600
|
function te(T) {
|
|
5601
5601
|
function P(V, F, M, z, G) {
|
|
5602
|
-
var
|
|
5602
|
+
var L = V[F], X = k(L);
|
|
5603
5603
|
if (X !== "object")
|
|
5604
5604
|
return new g("Invalid " + z + " `" + G + "` of type `" + X + "` " + ("supplied to `" + M + "`, expected `object`."));
|
|
5605
5605
|
for (var j in T) {
|
|
5606
5606
|
var Y = T[j];
|
|
5607
5607
|
if (typeof Y != "function")
|
|
5608
5608
|
return J(M, z, G, j, ne(Y));
|
|
5609
|
-
var he = Y(
|
|
5609
|
+
var he = Y(L, j, M, z, G + "." + j, n);
|
|
5610
5610
|
if (he)
|
|
5611
5611
|
return he;
|
|
5612
5612
|
}
|
|
@@ -5616,7 +5616,7 @@ function Vm() {
|
|
|
5616
5616
|
}
|
|
5617
5617
|
function fe(T) {
|
|
5618
5618
|
function P(V, F, M, z, G) {
|
|
5619
|
-
var
|
|
5619
|
+
var L = V[F], X = k(L);
|
|
5620
5620
|
if (X !== "object")
|
|
5621
5621
|
return new g("Invalid " + z + " `" + G + "` of type `" + X + "` " + ("supplied to `" + M + "`, expected `object`."));
|
|
5622
5622
|
var j = t({}, V[F], T);
|
|
@@ -5629,7 +5629,7 @@ function Vm() {
|
|
|
5629
5629
|
"Invalid " + z + " `" + G + "` key `" + Y + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(V[F], null, " ") + `
|
|
5630
5630
|
Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
|
|
5631
5631
|
);
|
|
5632
|
-
var x = he(
|
|
5632
|
+
var x = he(L, Y, M, z, G + "." + Y, n);
|
|
5633
5633
|
if (x)
|
|
5634
5634
|
return x;
|
|
5635
5635
|
}
|
|
@@ -5783,9 +5783,9 @@ var ue = {}, _e = {};
|
|
|
5783
5783
|
Object.defineProperty(_e, "__esModule", {
|
|
5784
5784
|
value: !0
|
|
5785
5785
|
});
|
|
5786
|
-
_e.dontSetMe =
|
|
5786
|
+
_e.dontSetMe = Wm;
|
|
5787
5787
|
_e.findInArray = Gm;
|
|
5788
|
-
_e.int =
|
|
5788
|
+
_e.int = Lm;
|
|
5789
5789
|
_e.isFunction = Om;
|
|
5790
5790
|
_e.isNum = Nm;
|
|
5791
5791
|
function Gm(e, t) {
|
|
@@ -5798,10 +5798,10 @@ function Om(e) {
|
|
|
5798
5798
|
function Nm(e) {
|
|
5799
5799
|
return typeof e == "number" && !isNaN(e);
|
|
5800
5800
|
}
|
|
5801
|
-
function
|
|
5801
|
+
function Lm(e) {
|
|
5802
5802
|
return parseInt(e, 10);
|
|
5803
5803
|
}
|
|
5804
|
-
function
|
|
5804
|
+
function Wm(e, t, n) {
|
|
5805
5805
|
if (e[t])
|
|
5806
5806
|
return new Error("Invalid prop ".concat(t, " passed to ").concat(n, " - do not set this, set it on the child."));
|
|
5807
5807
|
}
|
|
@@ -6104,7 +6104,7 @@ Object.defineProperty(ci, "__esModule", {
|
|
|
6104
6104
|
value: !0
|
|
6105
6105
|
});
|
|
6106
6106
|
ci.default = void 0;
|
|
6107
|
-
var
|
|
6107
|
+
var Li = hg(Ke), Ee = $r(qu), fg = $r(br), Ie = ue, ut = $e, Wi = _e, jt = $r(li);
|
|
6108
6108
|
function $r(e) {
|
|
6109
6109
|
return e && e.__esModule ? e : { default: e };
|
|
6110
6110
|
}
|
|
@@ -6148,7 +6148,7 @@ function mg(e, t) {
|
|
|
6148
6148
|
}
|
|
6149
6149
|
return (t === "string" ? String : Number)(e);
|
|
6150
6150
|
}
|
|
6151
|
-
const
|
|
6151
|
+
const We = {
|
|
6152
6152
|
touch: {
|
|
6153
6153
|
start: "touchstart",
|
|
6154
6154
|
move: "touchmove",
|
|
@@ -6160,7 +6160,7 @@ const Le = {
|
|
|
6160
6160
|
stop: "mouseup"
|
|
6161
6161
|
}
|
|
6162
6162
|
};
|
|
6163
|
-
let ct =
|
|
6163
|
+
let ct = We.mouse, di = class extends Li.Component {
|
|
6164
6164
|
constructor() {
|
|
6165
6165
|
super(...arguments), Te(this, "dragging", !1), Te(this, "lastX", NaN), Te(this, "lastY", NaN), Te(this, "touchIdentifier", null), Te(this, "mounted", !1), Te(this, "handleDragStart", (t) => {
|
|
6166
6166
|
if (this.props.onMouseDown(t), !this.props.allowAnyClick && typeof t.button == "number" && t.button !== 0) return !1;
|
|
@@ -6221,12 +6221,12 @@ let ct = Le.mouse, di = class extends Wi.Component {
|
|
|
6221
6221
|
if (this.props.onStop(t, o) === !1 || this.mounted === !1) return !1;
|
|
6222
6222
|
const u = this.findDOMNode();
|
|
6223
6223
|
u && this.props.enableUserSelectHack && (0, Ie.removeUserSelectStyles)(u.ownerDocument), (0, jt.default)("DraggableCore: handleDragStop: %j", o), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, u && ((0, jt.default)("DraggableCore: Removing handlers"), (0, Ie.removeEvent)(u.ownerDocument, ct.move, this.handleDrag), (0, Ie.removeEvent)(u.ownerDocument, ct.stop, this.handleDragStop));
|
|
6224
|
-
}), Te(this, "onMouseDown", (t) => (ct =
|
|
6224
|
+
}), Te(this, "onMouseDown", (t) => (ct = We.mouse, this.handleDragStart(t))), Te(this, "onMouseUp", (t) => (ct = We.mouse, this.handleDragStop(t))), Te(this, "onTouchStart", (t) => (ct = We.touch, this.handleDragStart(t))), Te(this, "onTouchEnd", (t) => (ct = We.touch, this.handleDragStop(t)));
|
|
6225
6225
|
}
|
|
6226
6226
|
componentDidMount() {
|
|
6227
6227
|
this.mounted = !0;
|
|
6228
6228
|
const t = this.findDOMNode();
|
|
6229
|
-
t && (0, Ie.addEvent)(t,
|
|
6229
|
+
t && (0, Ie.addEvent)(t, We.touch.start, this.onTouchStart, {
|
|
6230
6230
|
passive: !1
|
|
6231
6231
|
});
|
|
6232
6232
|
}
|
|
@@ -6237,7 +6237,7 @@ let ct = Le.mouse, di = class extends Wi.Component {
|
|
|
6237
6237
|
const {
|
|
6238
6238
|
ownerDocument: n
|
|
6239
6239
|
} = t;
|
|
6240
|
-
(0, Ie.removeEvent)(n,
|
|
6240
|
+
(0, Ie.removeEvent)(n, We.mouse.move, this.handleDrag), (0, Ie.removeEvent)(n, We.touch.move, this.handleDrag), (0, Ie.removeEvent)(n, We.mouse.stop, this.handleDragStop), (0, Ie.removeEvent)(n, We.touch.stop, this.handleDragStop), (0, Ie.removeEvent)(t, We.touch.start, this.onTouchStart, {
|
|
6241
6241
|
passive: !1
|
|
6242
6242
|
}), this.props.enableUserSelectHack && (0, Ie.removeUserSelectStyles)(n);
|
|
6243
6243
|
}
|
|
@@ -6249,7 +6249,7 @@ let ct = Le.mouse, di = class extends Wi.Component {
|
|
|
6249
6249
|
return (t = this.props) !== null && t !== void 0 && t.nodeRef ? (n = this.props) === null || n === void 0 || (n = n.nodeRef) === null || n === void 0 ? void 0 : n.current : fg.default.findDOMNode(this);
|
|
6250
6250
|
}
|
|
6251
6251
|
render() {
|
|
6252
|
-
return /* @__PURE__ */
|
|
6252
|
+
return /* @__PURE__ */ Li.cloneElement(Li.Children.only(this.props.children), {
|
|
6253
6253
|
// Note: mouseMove handler is attached to document so it will still function
|
|
6254
6254
|
// when the user drags quickly and leaves the bounds of the element.
|
|
6255
6255
|
onMouseDown: this.onMouseDown,
|
|
@@ -6382,9 +6382,9 @@ Te(di, "propTypes", {
|
|
|
6382
6382
|
/**
|
|
6383
6383
|
* These properties should be defined on the child, not here.
|
|
6384
6384
|
*/
|
|
6385
|
-
className:
|
|
6386
|
-
style:
|
|
6387
|
-
transform:
|
|
6385
|
+
className: Wi.dontSetMe,
|
|
6386
|
+
style: Wi.dontSetMe,
|
|
6387
|
+
transform: Wi.dontSetMe
|
|
6388
6388
|
});
|
|
6389
6389
|
Te(di, "defaultProps", {
|
|
6390
6390
|
allowAnyClick: !1,
|
|
@@ -6503,11 +6503,11 @@ Te(di, "defaultProps", {
|
|
|
6503
6503
|
if (this.props.bounds) {
|
|
6504
6504
|
const {
|
|
6505
6505
|
x: R,
|
|
6506
|
-
y:
|
|
6506
|
+
y: W
|
|
6507
6507
|
} = S;
|
|
6508
6508
|
S.x += this.state.slackX, S.y += this.state.slackY;
|
|
6509
6509
|
const [J, te] = (0, s.getBoundPosition)(this, S.x, S.y);
|
|
6510
|
-
S.x = J, S.y = te, S.slackX = this.state.slackX + (R - S.x), S.slackY = this.state.slackY + (
|
|
6510
|
+
S.x = J, S.y = te, S.slackX = this.state.slackX + (R - S.x), S.slackY = this.state.slackY + (W - S.y), A.x = S.x, A.y = S.y, A.deltaX = S.x - this.state.x, A.deltaY = S.y - this.state.y;
|
|
6511
6511
|
}
|
|
6512
6512
|
if (this.props.onDrag(I, A) === !1) return !1;
|
|
6513
6513
|
this.setState(S);
|
|
@@ -6522,9 +6522,9 @@ Te(di, "defaultProps", {
|
|
|
6522
6522
|
if (!!this.props.position) {
|
|
6523
6523
|
const {
|
|
6524
6524
|
x: R,
|
|
6525
|
-
y:
|
|
6525
|
+
y: W
|
|
6526
6526
|
} = this.props.position;
|
|
6527
|
-
S.x = R, S.y =
|
|
6527
|
+
S.x = R, S.y = W;
|
|
6528
6528
|
}
|
|
6529
6529
|
this.setState(S);
|
|
6530
6530
|
}), this.state = {
|
|
@@ -6570,13 +6570,13 @@ Te(di, "defaultProps", {
|
|
|
6570
6570
|
defaultClassName: S,
|
|
6571
6571
|
defaultClassNameDragging: E,
|
|
6572
6572
|
defaultClassNameDragged: R,
|
|
6573
|
-
position:
|
|
6573
|
+
position: W,
|
|
6574
6574
|
positionOffset: J,
|
|
6575
6575
|
scale: te,
|
|
6576
6576
|
...fe
|
|
6577
6577
|
} = this.props;
|
|
6578
6578
|
let re = {}, H = null;
|
|
6579
|
-
const ne = !!!
|
|
6579
|
+
const ne = !!!W || this.state.dragging, ie = W || A, me = {
|
|
6580
6580
|
// Set left if horizontal drag is enabled
|
|
6581
6581
|
x: (0, s.canDragX)(this) && ne ? this.state.x : ie.x,
|
|
6582
6582
|
// Set top if vertical drag is enabled
|
|
@@ -6733,7 +6733,7 @@ var bg = ui.exports;
|
|
|
6733
6733
|
const vg = /* @__PURE__ */ va(bg);
|
|
6734
6734
|
function yg(e) {
|
|
6735
6735
|
const { children: t } = e, [n, i] = Re(!1);
|
|
6736
|
-
|
|
6736
|
+
He(() => {
|
|
6737
6737
|
i(!0);
|
|
6738
6738
|
}, []);
|
|
6739
6739
|
const r = document.getElementById("biznext-ui-modal-portal");
|
|
@@ -6757,7 +6757,7 @@ const Qr = Ue({ onClose: () => console.warn("Biznext-UI-Modal: Close Function no
|
|
|
6757
6757
|
un.div,
|
|
6758
6758
|
{
|
|
6759
6759
|
initial: { opacity: 0, scale: 0.95 },
|
|
6760
|
-
className:
|
|
6760
|
+
className: Lt(Xe.modal, Xe[t]),
|
|
6761
6761
|
style: { height: i, width: r, zIndex: 99999 + (n || 0), ...s },
|
|
6762
6762
|
animate: { opacity: 1, scale: 1 },
|
|
6763
6763
|
exit: { opacity: 0, scale: 0.95 },
|
|
@@ -6765,7 +6765,7 @@ const Qr = Ue({ onClose: () => console.warn("Biznext-UI-Modal: Close Function no
|
|
|
6765
6765
|
}
|
|
6766
6766
|
) })
|
|
6767
6767
|
] }) }) }) });
|
|
6768
|
-
},
|
|
6768
|
+
}, Ly = Zt, Cg = ({ children: e }) => /* @__PURE__ */ w("div", { className: Xe["modal-content"], children: e }), Ig = ({ children: e }) => {
|
|
6769
6769
|
const { onClose: t } = se(Qr);
|
|
6770
6770
|
return /* @__PURE__ */ Ve("header", { id: "handle", className: Xe["modal-header"], children: [
|
|
6771
6771
|
e,
|
|
@@ -6783,7 +6783,7 @@ Zt.Header = Ig;
|
|
|
6783
6783
|
Zt.Title = xg;
|
|
6784
6784
|
Zt.Body = Ag;
|
|
6785
6785
|
Zt.Footer = Sg;
|
|
6786
|
-
const Tg = () => se(_u),
|
|
6786
|
+
const Tg = () => se(_u), Wy = Tg, Eg = "biznext-ui-WgISRe1bJDU-5", Pg = "biznext-ui-S1AWtF9fE-s-4", Ze = {
|
|
6787
6787
|
form: Eg,
|
|
6788
6788
|
"form-group": "biznext-ui-PDYbgOuoFL0-3",
|
|
6789
6789
|
"form-input-group": "biznext-ui-7dIDGqcfwy4-e",
|
|
@@ -6792,6 +6792,7 @@ const Tg = () => se(_u), Ly = Tg, Eg = "biznext-ui-WgISRe1bJDU-5", Pg = "biznext
|
|
|
6792
6792
|
"form-input-control-group": "biznext-ui-GQweSyKURD4-1",
|
|
6793
6793
|
"form-input-control": "biznext-ui-Pxa8kMsnvaQ-3",
|
|
6794
6794
|
"validation-error": "biznext-ui-B7sgFlayyBI-0",
|
|
6795
|
+
"form-select-control": "biznext-ui-TyZSBF2HLh0-4",
|
|
6795
6796
|
"form-input-group-error-text": "biznext-ui-npOI3UC2M38-9"
|
|
6796
6797
|
};
|
|
6797
6798
|
function Tt(e) {
|
|
@@ -6824,7 +6825,7 @@ function _t(e, t, n) {
|
|
|
6824
6825
|
writable: !0
|
|
6825
6826
|
}) : e[t] = n, e;
|
|
6826
6827
|
}
|
|
6827
|
-
function
|
|
6828
|
+
function Ls(e, t) {
|
|
6828
6829
|
var n = Object.keys(e);
|
|
6829
6830
|
if (Object.getOwnPropertySymbols) {
|
|
6830
6831
|
var i = Object.getOwnPropertySymbols(e);
|
|
@@ -6837,9 +6838,9 @@ function Ws(e, t) {
|
|
|
6837
6838
|
function B(e) {
|
|
6838
6839
|
for (var t = 1; t < arguments.length; t++) {
|
|
6839
6840
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
6840
|
-
t % 2 ?
|
|
6841
|
+
t % 2 ? Ls(Object(n), !0).forEach(function(i) {
|
|
6841
6842
|
_t(e, i, n[i]);
|
|
6842
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
6843
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ls(Object(n)).forEach(function(i) {
|
|
6843
6844
|
Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(n, i));
|
|
6844
6845
|
});
|
|
6845
6846
|
}
|
|
@@ -6908,8 +6909,8 @@ function at(e, t) {
|
|
|
6908
6909
|
}
|
|
6909
6910
|
var Mg = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
6910
6911
|
function Bg(e) {
|
|
6911
|
-
var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, s = o === void 0 ? null : o, u = e.inputValue, a = e.menuIsOpen, c = e.onChange, l = e.onInputChange, d = e.onMenuClose, f = e.onMenuOpen, p = e.value, b = at(e, Mg), g = Re(u !== void 0 ? u : n), v = it(g, 2), C = v[0], y = v[1], m = Re(a !== void 0 ? a : r), I = it(m, 2), h = I[0], A = I[1], S = Re(p !== void 0 ? p : s), E = it(S, 2), R = E[0],
|
|
6912
|
-
typeof c == "function" && c(ie, me),
|
|
6912
|
+
var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, s = o === void 0 ? null : o, u = e.inputValue, a = e.menuIsOpen, c = e.onChange, l = e.onInputChange, d = e.onMenuClose, f = e.onMenuOpen, p = e.value, b = at(e, Mg), g = Re(u !== void 0 ? u : n), v = it(g, 2), C = v[0], y = v[1], m = Re(a !== void 0 ? a : r), I = it(m, 2), h = I[0], A = I[1], S = Re(p !== void 0 ? p : s), E = it(S, 2), R = E[0], W = E[1], J = pe(function(ie, me) {
|
|
6913
|
+
typeof c == "function" && c(ie, me), W(ie);
|
|
6913
6914
|
}, [c]), te = pe(function(ie, me) {
|
|
6914
6915
|
var T;
|
|
6915
6916
|
typeof l == "function" && (T = l(ie, me)), y(T !== void 0 ? T : ie);
|
|
@@ -6940,14 +6941,14 @@ function N() {
|
|
|
6940
6941
|
function Gg(e, t) {
|
|
6941
6942
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
6942
6943
|
}
|
|
6943
|
-
function
|
|
6944
|
+
function Ws(e, t) {
|
|
6944
6945
|
for (var n = 0; n < t.length; n++) {
|
|
6945
6946
|
var i = t[n];
|
|
6946
6947
|
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, cc(i.key), i);
|
|
6947
6948
|
}
|
|
6948
6949
|
}
|
|
6949
6950
|
function Og(e, t, n) {
|
|
6950
|
-
return t &&
|
|
6951
|
+
return t && Ws(e.prototype, t), n && Ws(e, n), Object.defineProperty(e, "prototype", {
|
|
6951
6952
|
writable: !1
|
|
6952
6953
|
}), e;
|
|
6953
6954
|
}
|
|
@@ -6983,14 +6984,14 @@ function dc() {
|
|
|
6983
6984
|
return !!e;
|
|
6984
6985
|
})();
|
|
6985
6986
|
}
|
|
6986
|
-
function
|
|
6987
|
+
function Lg(e) {
|
|
6987
6988
|
if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6988
6989
|
return e;
|
|
6989
6990
|
}
|
|
6990
|
-
function
|
|
6991
|
+
function Wg(e, t) {
|
|
6991
6992
|
if (t && (Tt(t) == "object" || typeof t == "function")) return t;
|
|
6992
6993
|
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
6993
|
-
return
|
|
6994
|
+
return Lg(e);
|
|
6994
6995
|
}
|
|
6995
6996
|
function Xg(e) {
|
|
6996
6997
|
var t = dc();
|
|
@@ -7000,7 +7001,7 @@ function Xg(e) {
|
|
|
7000
7001
|
var r = zn(this).constructor;
|
|
7001
7002
|
n = Reflect.construct(i, arguments, r);
|
|
7002
7003
|
} else n = i.apply(this, arguments);
|
|
7003
|
-
return
|
|
7004
|
+
return Wg(this, n);
|
|
7004
7005
|
};
|
|
7005
7006
|
}
|
|
7006
7007
|
function Zg(e) {
|
|
@@ -7079,7 +7080,7 @@ function ve(e, t) {
|
|
|
7079
7080
|
function cn(e, t, n) {
|
|
7080
7081
|
return e.slice(t, n);
|
|
7081
7082
|
}
|
|
7082
|
-
function
|
|
7083
|
+
function ze(e) {
|
|
7083
7084
|
return e.length;
|
|
7084
7085
|
}
|
|
7085
7086
|
function to(e) {
|
|
@@ -7149,7 +7150,7 @@ function ln(e) {
|
|
|
7149
7150
|
return 0;
|
|
7150
7151
|
}
|
|
7151
7152
|
function gc(e) {
|
|
7152
|
-
return hi = Nt = 1, mc =
|
|
7153
|
+
return hi = Nt = 1, mc = ze(Ht = e), Pe = 0, [];
|
|
7153
7154
|
}
|
|
7154
7155
|
function bc(e) {
|
|
7155
7156
|
return Ht = "", e;
|
|
@@ -7232,7 +7233,7 @@ function Bn(e, t, n, i, r, o, s, u, a) {
|
|
|
7232
7233
|
}
|
|
7233
7234
|
break;
|
|
7234
7235
|
case 123 * g:
|
|
7235
|
-
u[c++] =
|
|
7236
|
+
u[c++] = ze(S) * C;
|
|
7236
7237
|
case 125 * g:
|
|
7237
7238
|
case 59:
|
|
7238
7239
|
case 0:
|
|
@@ -7241,7 +7242,7 @@ function Bn(e, t, n, i, r, o, s, u, a) {
|
|
|
7241
7242
|
case 125:
|
|
7242
7243
|
v = 0;
|
|
7243
7244
|
case 59 + l:
|
|
7244
|
-
C == -1 && (S = _(S, /\f/g, "")), p > 0 &&
|
|
7245
|
+
C == -1 && (S = _(S, /\f/g, "")), p > 0 && ze(S) - d && An(p > 32 ? Zs(S + ";", i, n, d - 1) : Zs(_(S, " ", "") + ";", i, n, d - 2), a);
|
|
7245
7246
|
break;
|
|
7246
7247
|
case 59:
|
|
7247
7248
|
S += ";";
|
|
@@ -7264,7 +7265,7 @@ function Bn(e, t, n, i, r, o, s, u, a) {
|
|
|
7264
7265
|
c = l = p = 0, g = C = 1, m = S = "", d = s;
|
|
7265
7266
|
break;
|
|
7266
7267
|
case 58:
|
|
7267
|
-
d = 1 +
|
|
7268
|
+
d = 1 + ze(S), p = b;
|
|
7268
7269
|
default:
|
|
7269
7270
|
if (g < 1) {
|
|
7270
7271
|
if (y == 123)
|
|
@@ -7277,13 +7278,13 @@ function Bn(e, t, n, i, r, o, s, u, a) {
|
|
|
7277
7278
|
C = l > 0 ? 1 : (S += "\f", -1);
|
|
7278
7279
|
break;
|
|
7279
7280
|
case 44:
|
|
7280
|
-
u[c++] = (
|
|
7281
|
+
u[c++] = (ze(S) - 1) * C, C = 1;
|
|
7281
7282
|
break;
|
|
7282
7283
|
case 64:
|
|
7283
|
-
Je() === 45 && (S += Mn(Fe())), f = Je(), l = d =
|
|
7284
|
+
Je() === 45 && (S += Mn(Fe())), f = Je(), l = d = ze(m = S += sb(Fn())), y++;
|
|
7284
7285
|
break;
|
|
7285
7286
|
case 45:
|
|
7286
|
-
b === 45 &&
|
|
7287
|
+
b === 45 && ze(S) == 2 && (g = 0);
|
|
7287
7288
|
}
|
|
7288
7289
|
}
|
|
7289
7290
|
return o;
|
|
@@ -7319,7 +7320,7 @@ function cb(e, t, n, i) {
|
|
|
7319
7320
|
case qr:
|
|
7320
7321
|
e.value = e.props.join(",");
|
|
7321
7322
|
}
|
|
7322
|
-
return
|
|
7323
|
+
return ze(n = Bt(e.children, i)) ? e.return = e.value + "{" + n + "}" : "";
|
|
7323
7324
|
}
|
|
7324
7325
|
function lb(e) {
|
|
7325
7326
|
var t = to(e);
|
|
@@ -7466,7 +7467,7 @@ function vc(e, t) {
|
|
|
7466
7467
|
case 5789:
|
|
7467
7468
|
case 5021:
|
|
7468
7469
|
case 4765:
|
|
7469
|
-
if (
|
|
7470
|
+
if (ze(e) - 1 - t > 6) switch (ve(e, t + 1)) {
|
|
7470
7471
|
case 109:
|
|
7471
7472
|
if (ve(e, t + 4) !== 45) break;
|
|
7472
7473
|
case 102:
|
|
@@ -7478,7 +7479,7 @@ function vc(e, t) {
|
|
|
7478
7479
|
case 4949:
|
|
7479
7480
|
if (ve(e, t + 1) !== 115) break;
|
|
7480
7481
|
case 6444:
|
|
7481
|
-
switch (ve(e,
|
|
7482
|
+
switch (ve(e, ze(e) - 3 - (~lr(e, "!important") && 10))) {
|
|
7482
7483
|
case 107:
|
|
7483
7484
|
return _(e, ":", ":" + U) + e;
|
|
7484
7485
|
case 101:
|
|
@@ -7698,7 +7699,7 @@ function xb() {
|
|
|
7698
7699
|
}
|
|
7699
7700
|
}
|
|
7700
7701
|
}
|
|
7701
|
-
var h = a, A = c, S = u, E = s, R = t,
|
|
7702
|
+
var h = a, A = c, S = u, E = s, R = t, W = l, J = i, te = b, fe = p, re = n, H = o, k = r, ne = d, ie = !1;
|
|
7702
7703
|
function me(x) {
|
|
7703
7704
|
return ie || (ie = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), T(x) || I(x) === a;
|
|
7704
7705
|
}
|
|
@@ -7723,7 +7724,7 @@ function xb() {
|
|
|
7723
7724
|
function G(x) {
|
|
7724
7725
|
return I(x) === b;
|
|
7725
7726
|
}
|
|
7726
|
-
function
|
|
7727
|
+
function L(x) {
|
|
7727
7728
|
return I(x) === p;
|
|
7728
7729
|
}
|
|
7729
7730
|
function X(x) {
|
|
@@ -7738,7 +7739,7 @@ function xb() {
|
|
|
7738
7739
|
function he(x) {
|
|
7739
7740
|
return I(x) === d;
|
|
7740
7741
|
}
|
|
7741
|
-
q.AsyncMode = h, q.ConcurrentMode = A, q.ContextConsumer = S, q.ContextProvider = E, q.Element = R, q.ForwardRef =
|
|
7742
|
+
q.AsyncMode = h, q.ConcurrentMode = A, q.ContextConsumer = S, q.ContextProvider = E, q.Element = R, q.ForwardRef = W, q.Fragment = J, q.Lazy = te, q.Memo = fe, q.Portal = re, q.Profiler = H, q.StrictMode = k, q.Suspense = ne, q.isAsyncMode = me, q.isConcurrentMode = T, q.isContextConsumer = P, q.isContextProvider = V, q.isElement = F, q.isForwardRef = M, q.isFragment = z, q.isLazy = G, q.isMemo = L, q.isPortal = X, q.isProfiler = j, q.isStrictMode = Y, q.isSuspense = he, q.isValidElementType = m, q.typeOf = I;
|
|
7742
7743
|
}()), q;
|
|
7743
7744
|
}
|
|
7744
7745
|
process.env.NODE_ENV === "production" ? fr.exports = Ib() : fr.exports = xb();
|
|
@@ -7866,10 +7867,10 @@ var Rb = {
|
|
|
7866
7867
|
case "animationName":
|
|
7867
7868
|
if (typeof n == "string")
|
|
7868
7869
|
return n.replace(Mb, function(i, r, o) {
|
|
7869
|
-
return
|
|
7870
|
+
return je = {
|
|
7870
7871
|
name: r,
|
|
7871
7872
|
styles: o,
|
|
7872
|
-
next:
|
|
7873
|
+
next: je
|
|
7873
7874
|
}, r;
|
|
7874
7875
|
});
|
|
7875
7876
|
}
|
|
@@ -7887,20 +7888,20 @@ function dn(e, t, n) {
|
|
|
7887
7888
|
case "object": {
|
|
7888
7889
|
var r = n;
|
|
7889
7890
|
if (r.anim === 1)
|
|
7890
|
-
return
|
|
7891
|
+
return je = {
|
|
7891
7892
|
name: r.name,
|
|
7892
7893
|
styles: r.styles,
|
|
7893
|
-
next:
|
|
7894
|
+
next: je
|
|
7894
7895
|
}, r.name;
|
|
7895
7896
|
var o = n;
|
|
7896
7897
|
if (o.styles !== void 0) {
|
|
7897
7898
|
var s = o.next;
|
|
7898
7899
|
if (s !== void 0)
|
|
7899
7900
|
for (; s !== void 0; )
|
|
7900
|
-
|
|
7901
|
+
je = {
|
|
7901
7902
|
name: s.name,
|
|
7902
7903
|
styles: s.styles,
|
|
7903
|
-
next:
|
|
7904
|
+
next: je
|
|
7904
7905
|
}, s = s.next;
|
|
7905
7906
|
var u = o.styles + ";";
|
|
7906
7907
|
return u;
|
|
@@ -7909,8 +7910,8 @@ function dn(e, t, n) {
|
|
|
7909
7910
|
}
|
|
7910
7911
|
case "function": {
|
|
7911
7912
|
if (e !== void 0) {
|
|
7912
|
-
var a =
|
|
7913
|
-
return
|
|
7913
|
+
var a = je, c = n(e);
|
|
7914
|
+
return je = a, dn(e, t, c);
|
|
7914
7915
|
}
|
|
7915
7916
|
break;
|
|
7916
7917
|
}
|
|
@@ -7951,12 +7952,12 @@ function Gb(e, t, n) {
|
|
|
7951
7952
|
}
|
|
7952
7953
|
return i;
|
|
7953
7954
|
}
|
|
7954
|
-
var Js = /label:\s*([^\s;\n{]+)\s*(;|$)/g,
|
|
7955
|
+
var Js = /label:\s*([^\s;\n{]+)\s*(;|$)/g, je;
|
|
7955
7956
|
function Ac(e, t, n) {
|
|
7956
7957
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
7957
7958
|
return e[0];
|
|
7958
7959
|
var i = !0, r = "";
|
|
7959
|
-
|
|
7960
|
+
je = void 0;
|
|
7960
7961
|
var o = e[0];
|
|
7961
7962
|
if (o == null || o.raw === void 0)
|
|
7962
7963
|
i = !1, r += dn(n, t, o);
|
|
@@ -7976,12 +7977,12 @@ function Ac(e, t, n) {
|
|
|
7976
7977
|
return {
|
|
7977
7978
|
name: d,
|
|
7978
7979
|
styles: r,
|
|
7979
|
-
next:
|
|
7980
|
+
next: je
|
|
7980
7981
|
};
|
|
7981
7982
|
}
|
|
7982
7983
|
var Ob = function(t) {
|
|
7983
7984
|
return t();
|
|
7984
|
-
}, Nb = Z.useInsertionEffect ? Z.useInsertionEffect : !1,
|
|
7985
|
+
}, Nb = Z.useInsertionEffect ? Z.useInsertionEffect : !1, Lb = Nb || Ob, Wb = !1, Sc = /* @__PURE__ */ Z.createContext(
|
|
7985
7986
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
7986
7987
|
// because this module is primarily intended for the browser and node
|
|
7987
7988
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -8005,7 +8006,7 @@ var Xb = function(t) {
|
|
|
8005
8006
|
return i[hr] = t, i;
|
|
8006
8007
|
}, kb = function(t) {
|
|
8007
8008
|
var n = t.cache, i = t.serialized, r = t.isStringTag;
|
|
8008
|
-
return Ic(n, i, r),
|
|
8009
|
+
return Ic(n, i, r), Lb(function() {
|
|
8009
8010
|
return wb(n, i, r);
|
|
8010
8011
|
}), null;
|
|
8011
8012
|
}, zb = /* @__PURE__ */ Xb(
|
|
@@ -8019,7 +8020,7 @@ var Xb = function(t) {
|
|
|
8019
8020
|
s += t.key + "-" + u.name;
|
|
8020
8021
|
var a = {};
|
|
8021
8022
|
for (var c in e)
|
|
8022
|
-
no.call(e, c) && c !== "css" && c !== hr && !
|
|
8023
|
+
no.call(e, c) && c !== "css" && c !== hr && !Wb && (a[c] = e[c]);
|
|
8023
8024
|
return a.className = s, n && (a.ref = n), /* @__PURE__ */ Z.createElement(Z.Fragment, null, /* @__PURE__ */ Z.createElement(kb, {
|
|
8024
8025
|
cache: t,
|
|
8025
8026
|
serialized: u,
|
|
@@ -8417,7 +8418,7 @@ function x0(e) {
|
|
|
8417
8418
|
maxHeight: t
|
|
8418
8419
|
};
|
|
8419
8420
|
if (!n || !n.offsetParent) return c;
|
|
8420
|
-
var l = a.getBoundingClientRect(), d = l.height, f = n.getBoundingClientRect(), p = f.bottom, b = f.height, g = f.top, v = n.offsetParent.getBoundingClientRect(), C = v.top, y = s ? window.innerHeight : l0(a), m = Dc(a), I = parseInt(getComputedStyle(n).marginBottom, 10), h = parseInt(getComputedStyle(n).marginTop, 10), A = C - h, S = y - g, E = A + m, R = d - m - g,
|
|
8421
|
+
var l = a.getBoundingClientRect(), d = l.height, f = n.getBoundingClientRect(), p = f.bottom, b = f.height, g = f.top, v = n.offsetParent.getBoundingClientRect(), C = v.top, y = s ? window.innerHeight : l0(a), m = Dc(a), I = parseInt(getComputedStyle(n).marginBottom, 10), h = parseInt(getComputedStyle(n).marginTop, 10), A = C - h, S = y - g, E = A + m, R = d - m - g, W = p - y + m + I, J = m + g - h, te = 160;
|
|
8421
8422
|
switch (r) {
|
|
8422
8423
|
case "auto":
|
|
8423
8424
|
case "bottom":
|
|
@@ -8427,12 +8428,12 @@ function x0(e) {
|
|
|
8427
8428
|
maxHeight: t
|
|
8428
8429
|
};
|
|
8429
8430
|
if (R >= b && !s)
|
|
8430
|
-
return o && Tn(a,
|
|
8431
|
+
return o && Tn(a, W, te), {
|
|
8431
8432
|
placement: "bottom",
|
|
8432
8433
|
maxHeight: t
|
|
8433
8434
|
};
|
|
8434
8435
|
if (!s && R >= i || s && S >= i) {
|
|
8435
|
-
o && Tn(a,
|
|
8436
|
+
o && Tn(a, W, te);
|
|
8436
8437
|
var fe = s ? S - I : R - I;
|
|
8437
8438
|
return {
|
|
8438
8439
|
placement: "bottom",
|
|
@@ -8447,7 +8448,7 @@ function x0(e) {
|
|
|
8447
8448
|
};
|
|
8448
8449
|
}
|
|
8449
8450
|
if (r === "bottom")
|
|
8450
|
-
return o && $n(a,
|
|
8451
|
+
return o && $n(a, W), {
|
|
8451
8452
|
placement: "bottom",
|
|
8452
8453
|
maxHeight: t
|
|
8453
8454
|
};
|
|
@@ -8640,7 +8641,7 @@ var Mc = function(t) {
|
|
|
8640
8641
|
"--is-disabled": r,
|
|
8641
8642
|
"--is-rtl": o
|
|
8642
8643
|
}), i), n);
|
|
8643
|
-
},
|
|
8644
|
+
}, L0 = function(t, n) {
|
|
8644
8645
|
var i = t.theme.spacing, r = t.isMulti, o = t.hasValue, s = t.selectProps.controlShouldRenderValue;
|
|
8645
8646
|
return B({
|
|
8646
8647
|
alignItems: "center",
|
|
@@ -8653,7 +8654,7 @@ var Mc = function(t) {
|
|
|
8653
8654
|
}, n ? {} : {
|
|
8654
8655
|
padding: "".concat(i.baseUnit / 2, "px ").concat(i.baseUnit * 2, "px")
|
|
8655
8656
|
});
|
|
8656
|
-
},
|
|
8657
|
+
}, W0 = function(t) {
|
|
8657
8658
|
var n = t.children, i = t.innerProps, r = t.isMulti, o = t.hasValue;
|
|
8658
8659
|
return D("div", N({}, ae(t, "valueContainer", {
|
|
8659
8660
|
"value-container": !0,
|
|
@@ -8706,7 +8707,7 @@ var j0 = process.env.NODE_ENV === "production" ? {
|
|
|
8706
8707
|
}, t), D("path", {
|
|
8707
8708
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
8708
8709
|
}));
|
|
8709
|
-
},
|
|
8710
|
+
}, Lc = function(t, n) {
|
|
8710
8711
|
var i = t.isFocused, r = t.theme, o = r.spacing.baseUnit, s = r.colors;
|
|
8711
8712
|
return B({
|
|
8712
8713
|
label: "indicatorContainer",
|
|
@@ -8719,13 +8720,13 @@ var j0 = process.env.NODE_ENV === "production" ? {
|
|
|
8719
8720
|
color: i ? s.neutral80 : s.neutral40
|
|
8720
8721
|
}
|
|
8721
8722
|
});
|
|
8722
|
-
}, Y0 =
|
|
8723
|
+
}, Y0 = Lc, J0 = function(t) {
|
|
8723
8724
|
var n = t.children, i = t.innerProps;
|
|
8724
8725
|
return D("div", N({}, ae(t, "dropdownIndicator", {
|
|
8725
8726
|
indicator: !0,
|
|
8726
8727
|
"dropdown-indicator": !0
|
|
8727
8728
|
}), i), n || D(Nc, null));
|
|
8728
|
-
}, U0 =
|
|
8729
|
+
}, U0 = Lc, _0 = function(t) {
|
|
8729
8730
|
var n = t.children, i = t.innerProps;
|
|
8730
8731
|
return D("div", N({}, ae(t, "clearIndicator", {
|
|
8731
8732
|
indicator: !0,
|
|
@@ -8887,7 +8888,7 @@ var j0 = process.env.NODE_ENV === "production" ? {
|
|
|
8887
8888
|
paddingTop: s.baseUnit / 2,
|
|
8888
8889
|
color: u.neutral80
|
|
8889
8890
|
});
|
|
8890
|
-
},
|
|
8891
|
+
}, Wc = {
|
|
8891
8892
|
gridArea: "1 / 2",
|
|
8892
8893
|
font: "inherit",
|
|
8893
8894
|
minWidth: "2px",
|
|
@@ -8904,7 +8905,7 @@ var j0 = process.env.NODE_ENV === "production" ? {
|
|
|
8904
8905
|
content: 'attr(data-value) " "',
|
|
8905
8906
|
visibility: "hidden",
|
|
8906
8907
|
whiteSpace: "pre"
|
|
8907
|
-
},
|
|
8908
|
+
}, Wc)
|
|
8908
8909
|
}, hv = function(t) {
|
|
8909
8910
|
return B({
|
|
8910
8911
|
label: "input",
|
|
@@ -8912,7 +8913,7 @@ var j0 = process.env.NODE_ENV === "production" ? {
|
|
|
8912
8913
|
background: 0,
|
|
8913
8914
|
opacity: t ? 0 : 1,
|
|
8914
8915
|
width: "100%"
|
|
8915
|
-
},
|
|
8916
|
+
}, Wc);
|
|
8916
8917
|
}, pv = function(t) {
|
|
8917
8918
|
var n = t.cx, i = t.value, r = Rc(t), o = r.innerRef, s = r.isDisabled, u = r.isHidden, a = r.inputClassName, c = at(r, lv);
|
|
8918
8919
|
return D("div", N({}, ae(t, "input", {
|
|
@@ -9092,7 +9093,7 @@ var xv = function(t) {
|
|
|
9092
9093
|
Placeholder: Vv,
|
|
9093
9094
|
SelectContainer: N0,
|
|
9094
9095
|
SingleValue: Fv,
|
|
9095
|
-
ValueContainer:
|
|
9096
|
+
ValueContainer: W0
|
|
9096
9097
|
}, Bv = function(t) {
|
|
9097
9098
|
return B(B({}, Mv), t.components);
|
|
9098
9099
|
}, ta = Number.isNaN || function(t) {
|
|
@@ -9128,20 +9129,20 @@ function Nv(e, t) {
|
|
|
9128
9129
|
n = null;
|
|
9129
9130
|
}, i;
|
|
9130
9131
|
}
|
|
9131
|
-
function
|
|
9132
|
+
function Lv() {
|
|
9132
9133
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
9133
9134
|
}
|
|
9134
|
-
var
|
|
9135
|
+
var Wv = process.env.NODE_ENV === "production" ? {
|
|
9135
9136
|
name: "7pg0cj-a11yText",
|
|
9136
9137
|
styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"
|
|
9137
9138
|
} : {
|
|
9138
9139
|
name: "1f43avz-a11yText-A11yText",
|
|
9139
9140
|
styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",
|
|
9140
9141
|
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
|
|
9141
|
-
toString:
|
|
9142
|
+
toString: Lv
|
|
9142
9143
|
}, Xv = function(t) {
|
|
9143
9144
|
return D("span", N({
|
|
9144
|
-
css:
|
|
9145
|
+
css: Wv
|
|
9145
9146
|
}, t));
|
|
9146
9147
|
}, na = Xv, Zv = {
|
|
9147
9148
|
guidance: function(t) {
|
|
@@ -9208,7 +9209,7 @@ var Lv = process.env.NODE_ENV === "production" ? {
|
|
|
9208
9209
|
H = E.onChange(G);
|
|
9209
9210
|
}
|
|
9210
9211
|
return H;
|
|
9211
|
-
}, [n, E, g, u, f]),
|
|
9212
|
+
}, [n, E, g, u, f]), W = Ne(function() {
|
|
9212
9213
|
var H = "", k = i || r, ne = !!(i && u && u.includes(i));
|
|
9213
9214
|
if (k && E.onFocus) {
|
|
9214
9215
|
var ie = {
|
|
@@ -9255,7 +9256,7 @@ var Lv = process.env.NODE_ENV === "production" ? {
|
|
|
9255
9256
|
id: "aria-selection"
|
|
9256
9257
|
}, R), D("span", {
|
|
9257
9258
|
id: "aria-focused"
|
|
9258
|
-
},
|
|
9259
|
+
}, W), D("span", {
|
|
9259
9260
|
id: "aria-results"
|
|
9260
9261
|
}, J), D("span", {
|
|
9261
9262
|
id: "aria-guidance"
|
|
@@ -9601,7 +9602,7 @@ function Qv(e) {
|
|
|
9601
9602
|
}, [p, f, d]), g = pe(function(v) {
|
|
9602
9603
|
v && (v.removeEventListener("wheel", d, !1), v.removeEventListener("touchstart", f, !1), v.removeEventListener("touchmove", p, !1));
|
|
9603
9604
|
}, [p, f, d]);
|
|
9604
|
-
return
|
|
9605
|
+
return He(function() {
|
|
9605
9606
|
if (t) {
|
|
9606
9607
|
var v = c.current;
|
|
9607
9608
|
return b(v), function() {
|
|
@@ -9661,7 +9662,7 @@ function Kv(e) {
|
|
|
9661
9662
|
}), c && ca() && (c.removeEventListener("touchmove", sa, wt), a && (a.removeEventListener("touchstart", ua, wt), a.removeEventListener("touchmove", aa, wt)));
|
|
9662
9663
|
}
|
|
9663
9664
|
}, [i]);
|
|
9664
|
-
return
|
|
9665
|
+
return He(function() {
|
|
9665
9666
|
if (t) {
|
|
9666
9667
|
var a = o.current;
|
|
9667
9668
|
return s(a), function() {
|
|
@@ -9779,7 +9780,7 @@ var dy = function(t) {
|
|
|
9779
9780
|
option: Sv,
|
|
9780
9781
|
placeholder: Pv,
|
|
9781
9782
|
singleValue: Rv,
|
|
9782
|
-
valueContainer:
|
|
9783
|
+
valueContainer: L0
|
|
9783
9784
|
}, gy = {
|
|
9784
9785
|
primary: "#2684FF",
|
|
9785
9786
|
primary75: "#4C9AFF",
|
|
@@ -10549,14 +10550,14 @@ var $c = function(t) {
|
|
|
10549
10550
|
}), y);
|
|
10550
10551
|
if (v)
|
|
10551
10552
|
return I.map(function(E, R) {
|
|
10552
|
-
var
|
|
10553
|
+
var W = E === h, J = "".concat(r.getOptionLabel(E), "-").concat(r.getOptionValue(E));
|
|
10553
10554
|
return /* @__PURE__ */ Z.createElement(s, N({}, f, {
|
|
10554
10555
|
components: {
|
|
10555
10556
|
Container: u,
|
|
10556
10557
|
Label: a,
|
|
10557
10558
|
Remove: c
|
|
10558
10559
|
},
|
|
10559
|
-
isFocused:
|
|
10560
|
+
isFocused: W,
|
|
10560
10561
|
isDisabled: g,
|
|
10561
10562
|
key: J,
|
|
10562
10563
|
index: R,
|
|
@@ -10642,12 +10643,12 @@ var $c = function(t) {
|
|
|
10642
10643
|
}, {
|
|
10643
10644
|
key: "renderMenu",
|
|
10644
10645
|
value: function() {
|
|
10645
|
-
var r = this, o = this.getComponents(), s = o.Group, u = o.GroupHeading, a = o.Menu, c = o.MenuList, l = o.MenuPortal, d = o.LoadingMessage, f = o.NoOptionsMessage, p = o.Option, b = this.commonProps, g = this.state.focusedOption, v = this.props, C = v.captureMenuScroll, y = v.inputValue, m = v.isLoading, I = v.loadingMessage, h = v.minMenuHeight, A = v.maxMenuHeight, S = v.menuIsOpen, E = v.menuPlacement, R = v.menuPosition,
|
|
10646
|
+
var r = this, o = this.getComponents(), s = o.Group, u = o.GroupHeading, a = o.Menu, c = o.MenuList, l = o.MenuPortal, d = o.LoadingMessage, f = o.NoOptionsMessage, p = o.Option, b = this.commonProps, g = this.state.focusedOption, v = this.props, C = v.captureMenuScroll, y = v.inputValue, m = v.isLoading, I = v.loadingMessage, h = v.minMenuHeight, A = v.maxMenuHeight, S = v.menuIsOpen, E = v.menuPlacement, R = v.menuPosition, W = v.menuPortalTarget, J = v.menuShouldBlockScroll, te = v.menuShouldScrollIntoView, fe = v.noOptionsMessage, re = v.onMenuScrollToTop, H = v.onMenuScrollToBottom;
|
|
10646
10647
|
if (!S) return null;
|
|
10647
10648
|
var k = function(F, M) {
|
|
10648
|
-
var z = F.type, G = F.data,
|
|
10649
|
+
var z = F.type, G = F.data, L = F.isDisabled, X = F.isSelected, j = F.label, Y = F.value, he = g === G, x = L ? void 0 : function() {
|
|
10649
10650
|
return r.onOptionHover(G);
|
|
10650
|
-
}, Ce =
|
|
10651
|
+
}, Ce = L ? void 0 : function() {
|
|
10651
10652
|
return r.selectOption(G);
|
|
10652
10653
|
}, Be = "".concat(r.getElementId("option"), "-").concat(M), bt = {
|
|
10653
10654
|
id: Be,
|
|
@@ -10662,7 +10663,7 @@ var $c = function(t) {
|
|
|
10662
10663
|
return /* @__PURE__ */ Z.createElement(p, N({}, b, {
|
|
10663
10664
|
innerProps: bt,
|
|
10664
10665
|
data: G,
|
|
10665
|
-
isDisabled:
|
|
10666
|
+
isDisabled: L,
|
|
10666
10667
|
isSelected: X,
|
|
10667
10668
|
key: Be,
|
|
10668
10669
|
label: j,
|
|
@@ -10675,14 +10676,14 @@ var $c = function(t) {
|
|
|
10675
10676
|
if (this.hasOptions())
|
|
10676
10677
|
ne = this.getCategorizedOptions().map(function(V) {
|
|
10677
10678
|
if (V.type === "group") {
|
|
10678
|
-
var F = V.data, M = V.options, z = V.index, G = "".concat(r.getElementId("group"), "-").concat(z),
|
|
10679
|
+
var F = V.data, M = V.options, z = V.index, G = "".concat(r.getElementId("group"), "-").concat(z), L = "".concat(G, "-heading");
|
|
10679
10680
|
return /* @__PURE__ */ Z.createElement(s, N({}, b, {
|
|
10680
10681
|
key: G,
|
|
10681
10682
|
data: F,
|
|
10682
10683
|
options: M,
|
|
10683
10684
|
Heading: u,
|
|
10684
10685
|
headingProps: {
|
|
10685
|
-
id:
|
|
10686
|
+
id: L,
|
|
10686
10687
|
data: V.data
|
|
10687
10688
|
},
|
|
10688
10689
|
label: r.formatGroupLabel(V.data)
|
|
@@ -10726,10 +10727,10 @@ var $c = function(t) {
|
|
|
10726
10727
|
onTopArrive: re,
|
|
10727
10728
|
onBottomArrive: H,
|
|
10728
10729
|
lockEnabled: J
|
|
10729
|
-
}, function(
|
|
10730
|
+
}, function(L) {
|
|
10730
10731
|
return /* @__PURE__ */ Z.createElement(c, N({}, b, {
|
|
10731
10732
|
innerRef: function(j) {
|
|
10732
|
-
r.getMenuListRef(j),
|
|
10733
|
+
r.getMenuListRef(j), L(j);
|
|
10733
10734
|
},
|
|
10734
10735
|
innerProps: {
|
|
10735
10736
|
role: "listbox",
|
|
@@ -10742,8 +10743,8 @@ var $c = function(t) {
|
|
|
10742
10743
|
}), ne);
|
|
10743
10744
|
}));
|
|
10744
10745
|
});
|
|
10745
|
-
return
|
|
10746
|
-
appendTo:
|
|
10746
|
+
return W || R === "fixed" ? /* @__PURE__ */ Z.createElement(l, N({}, b, {
|
|
10747
|
+
appendTo: W,
|
|
10747
10748
|
controlElement: this.controlRef,
|
|
10748
10749
|
menuPlacement: E,
|
|
10749
10750
|
menuPosition: R
|
|
@@ -10853,14 +10854,14 @@ var $c = function(t) {
|
|
|
10853
10854
|
var R = a != null && r !== s ? {
|
|
10854
10855
|
inputIsHidden: a,
|
|
10855
10856
|
inputIsHiddenAfterUpdate: void 0
|
|
10856
|
-
} : {},
|
|
10857
|
-
return l && !J && (
|
|
10857
|
+
} : {}, W = c, J = l && d;
|
|
10858
|
+
return l && !J && (W = {
|
|
10858
10859
|
value: Pn(C, y, y[0] || null),
|
|
10859
10860
|
options: y,
|
|
10860
10861
|
action: "initial-input-focus"
|
|
10861
|
-
}, J = !d), (c == null ? void 0 : c.action) === "initial-input-focus" && (
|
|
10862
|
+
}, J = !d), (c == null ? void 0 : c.action) === "initial-input-focus" && (W = null), B(B(B({}, m), R), {}, {
|
|
10862
10863
|
prevProps: r,
|
|
10863
|
-
ariaSelection:
|
|
10864
|
+
ariaSelection: W,
|
|
10864
10865
|
prevWasFocused: J
|
|
10865
10866
|
});
|
|
10866
10867
|
}
|
|
@@ -10875,7 +10876,7 @@ var Ey = /* @__PURE__ */ Kn(function(e, t) {
|
|
|
10875
10876
|
}), Py = Ey;
|
|
10876
10877
|
const kt = (e) => {
|
|
10877
10878
|
const { children: t, sx: n, ...i } = e;
|
|
10878
|
-
return /* @__PURE__ */ w("div", { className:
|
|
10879
|
+
return /* @__PURE__ */ w("div", { className: Ze.form, style: n, ...i, children: t });
|
|
10879
10880
|
}, Xy = kt, wy = {
|
|
10880
10881
|
menuPortal: (e) => ({ ...e, zIndex: "9999999999 !important" }),
|
|
10881
10882
|
control: (e, t) => ({
|
|
@@ -10935,35 +10936,36 @@ const kt = (e) => {
|
|
|
10935
10936
|
})
|
|
10936
10937
|
}, Vy = (e) => {
|
|
10937
10938
|
const { children: t, sx: n, ...i } = e;
|
|
10938
|
-
return /* @__PURE__ */ w("div", { className:
|
|
10939
|
+
return /* @__PURE__ */ w("div", { className: Ze["form-group"], style: n, ...i, children: t });
|
|
10939
10940
|
}, Ry = (e) => {
|
|
10940
|
-
const { children: t, sx: n, ...i } = e, r = wn.toArray(t).filter((a) => a.type.displayName === "biznext-ui-input-label"), o = wn.toArray(t).filter((a) => a.type.displayName === "biznext-ui-input-control"), s = wn.toArray(t).filter((a) => a.type.displayName === "biznext-ui-input-error-message"), u = s[0] && s[0].props &&
|
|
10941
|
-
return /* @__PURE__ */ Ve("div", { className:
|
|
10941
|
+
const { children: t, sx: n, ...i } = e, r = wn.toArray(t).filter((a) => a.type.displayName === "biznext-ui-input-label"), o = wn.toArray(t).filter((a) => a.type.displayName === "biznext-ui-input-control"), s = wn.toArray(t).filter((a) => a.type.displayName === "biznext-ui-input-error-message"), u = s[0] && s[0].props.children && s[0].props.children.length > 0;
|
|
10942
|
+
return /* @__PURE__ */ Ve("div", { className: Lt(Ze["form-input-group"], u && Ze["validation-error"]), style: n, ...i, children: [
|
|
10942
10943
|
r,
|
|
10943
|
-
/* @__PURE__ */ Ve("div", { className:
|
|
10944
|
+
/* @__PURE__ */ Ve("div", { className: Ze["form-input-control-group"], children: [
|
|
10944
10945
|
o,
|
|
10945
|
-
/* @__PURE__ */ w("span", { className:
|
|
10946
|
+
/* @__PURE__ */ w("span", { className: Ze["form-input-group-error-text"], children: s })
|
|
10946
10947
|
] })
|
|
10947
10948
|
] });
|
|
10948
10949
|
}, Kc = (e) => {
|
|
10949
10950
|
const { required: t = !1, children: n, sx: i, ...r } = e;
|
|
10950
|
-
return /* @__PURE__ */ w("label", { className:
|
|
10951
|
+
return /* @__PURE__ */ w("label", { className: Lt(Ze["form-input-group-label"], t && Ze.required), style: i, ...r, children: n });
|
|
10951
10952
|
}, qc = Kn(
|
|
10952
10953
|
(e, t) => {
|
|
10953
10954
|
const { controlType: n, focus: i, sx: r, placeholder: o = "", isSearchable: s = !0, isClearable: u = !0, ...a } = e;
|
|
10954
10955
|
let c = /* @__PURE__ */ w(en, {});
|
|
10955
10956
|
const l = de(null);
|
|
10956
|
-
switch (
|
|
10957
|
+
switch (He(() => {
|
|
10957
10958
|
l.current && l.current.focus();
|
|
10958
10959
|
}, [i]), n) {
|
|
10959
10960
|
case "input":
|
|
10960
|
-
c = /* @__PURE__ */ w("input", { className:
|
|
10961
|
+
c = /* @__PURE__ */ w("input", { className: Ze["form-input-control"], placeholder: o, ref: i ? l : t, style: r, ...a });
|
|
10961
10962
|
break;
|
|
10962
10963
|
case "select":
|
|
10963
10964
|
c = /* @__PURE__ */ w(
|
|
10964
10965
|
Py,
|
|
10965
10966
|
{
|
|
10966
10967
|
styles: wy,
|
|
10968
|
+
className: Ze["form-select-control"],
|
|
10967
10969
|
classNamePrefix: "biznext-ui-",
|
|
10968
10970
|
menuPortalTarget: document.body,
|
|
10969
10971
|
menuPosition: "absolute",
|
|
@@ -10977,7 +10979,7 @@ const kt = (e) => {
|
|
|
10977
10979
|
);
|
|
10978
10980
|
break;
|
|
10979
10981
|
case "textarea":
|
|
10980
|
-
c = /* @__PURE__ */ w("textarea", { className:
|
|
10982
|
+
c = /* @__PURE__ */ w("textarea", { className: Ze["form-input-control"], placeholder: o, style: r, ...a });
|
|
10981
10983
|
break;
|
|
10982
10984
|
default:
|
|
10983
10985
|
c = /* @__PURE__ */ w(en, {});
|
|
@@ -11000,7 +11002,7 @@ kt.ErrorMessage = el;
|
|
|
11000
11002
|
export {
|
|
11001
11003
|
Oy as BiznextUIProvider,
|
|
11002
11004
|
Xy as Form,
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
+
Ly as Modal,
|
|
11006
|
+
Wy as useConfirmDialog,
|
|
11005
11007
|
al as useToast
|
|
11006
11008
|
};
|