prosperita-dumbo-react 1.0.16 → 1.0.18
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/prosperita-dumbo-react.es.js +92 -100
- package/dist/prosperita-dumbo-react.umd.js +16 -17
- package/dist/types/Components/InputSelect/style.d.ts.map +1 -1
- package/dist/types/Components/TableBatchActions/index.d.ts +1 -1
- package/dist/types/Components/TableBatchActions/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1057,7 +1057,7 @@ function Ou() {
|
|
|
1057
1057
|
// with.
|
|
1058
1058
|
h.$$typeof === z || h.getModuleId !== void 0));
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function q(h, B, M) {
|
|
1061
1061
|
var Q = h.displayName;
|
|
1062
1062
|
if (Q)
|
|
1063
1063
|
return Q;
|
|
@@ -1097,7 +1097,7 @@ function Ou() {
|
|
|
1097
1097
|
var M = h;
|
|
1098
1098
|
return _(M._context) + ".Provider";
|
|
1099
1099
|
case s:
|
|
1100
|
-
return
|
|
1100
|
+
return q(h, h.render, "ForwardRef");
|
|
1101
1101
|
case p:
|
|
1102
1102
|
var Q = h.displayName || null;
|
|
1103
1103
|
return Q !== null ? Q : J(h.type) || "Memo";
|
|
@@ -1139,7 +1139,7 @@ function Ou() {
|
|
|
1139
1139
|
G++;
|
|
1140
1140
|
}
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function K() {
|
|
1143
1143
|
{
|
|
1144
1144
|
if (G--, G === 0) {
|
|
1145
1145
|
var h = {
|
|
@@ -1259,7 +1259,7 @@ function Ou() {
|
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
1261
|
} finally {
|
|
1262
|
-
Pe = !1, de.current = xe,
|
|
1262
|
+
Pe = !1, de.current = xe, K(), Error.prepareStackTrace = fe;
|
|
1263
1263
|
}
|
|
1264
1264
|
var zt = h ? h.displayName || h.name : "", Et = zt ? ue(zt) : "";
|
|
1265
1265
|
return typeof h == "function" && We.set(h, Et), Et;
|
|
@@ -2664,11 +2664,11 @@ function H1(e, t, n) {
|
|
|
2664
2664
|
var C = new N1(n, g, i ? r.componentStyle : void 0);
|
|
2665
2665
|
function T(V, w) {
|
|
2666
2666
|
return function(S, A, k) {
|
|
2667
|
-
var z = S.attrs, Y = S.componentStyle,
|
|
2667
|
+
var z = S.attrs, Y = S.componentStyle, q = S.defaultProps, _ = S.foldedComponentIds, J = S.styledComponentId, $ = S.target, G = He.useContext(ks), H = Yo(), le = S.shouldForwardProp || H.shouldForwardProp;
|
|
2668
2668
|
process.env.NODE_ENV !== "production" && Ro(J);
|
|
2669
|
-
var he = l1(A, G,
|
|
2670
|
-
for (var ue, Pe = ze(ze({}, de), { className: void 0, theme: ye }), We = 0; We <
|
|
2671
|
-
var Ze = en(ue =
|
|
2669
|
+
var he = l1(A, G, q) || qt, ce = function(K, de, ye) {
|
|
2670
|
+
for (var ue, Pe = ze(ze({}, de), { className: void 0, theme: ye }), We = 0; We < K.length; We += 1) {
|
|
2671
|
+
var Ze = en(ue = K[We]) ? ue(Pe) : ue;
|
|
2672
2672
|
for (var L in Ze)
|
|
2673
2673
|
Pe[L] = L === "className" ? Ft(Pe[L], Ze[L]) : L === "style" ? ze(ze({}, Pe[L]), Ze[L]) : Ze[L];
|
|
2674
2674
|
}
|
|
@@ -2676,8 +2676,8 @@ function H1(e, t, n) {
|
|
|
2676
2676
|
}(z, A, he), Ae = ce.as || $, Ve = {};
|
|
2677
2677
|
for (var U in ce)
|
|
2678
2678
|
ce[U] === void 0 || U[0] === "$" || U === "as" || U === "theme" && ce.theme === he || (U === "forwardedAs" ? Ve.as = ce.forwardedAs : le && !le(U, Ae) || (Ve[U] = ce[U], le || process.env.NODE_ENV !== "development" || $u(U) || Uo.has(U) || !xi.has(Ae) || (Uo.add(U), console.warn('styled-components: it looks like an unknown prop "'.concat(U, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
2679
|
-
var R = function(
|
|
2680
|
-
var ye = Yo(), ue =
|
|
2679
|
+
var R = function(K, de) {
|
|
2680
|
+
var ye = Yo(), ue = K.generateAndInjectStyles(de, ye.styleSheet, ye.stylis);
|
|
2681
2681
|
return process.env.NODE_ENV !== "production" && Ro(ue), ue;
|
|
2682
2682
|
}(Y, ce);
|
|
2683
2683
|
process.env.NODE_ENV !== "production" && S.warnTooManyClasses && S.warnTooManyClasses(R);
|
|
@@ -3685,7 +3685,7 @@ const bd = ({
|
|
|
3685
3685
|
w(
|
|
3686
3686
|
(G) => G === "password" ? "text" : "password"
|
|
3687
3687
|
);
|
|
3688
|
-
},
|
|
3688
|
+
}, q = (G) => {
|
|
3689
3689
|
const H = G.target.value;
|
|
3690
3690
|
A(n === "number" ? Number(H) : H), C && C(G);
|
|
3691
3691
|
}, _ = (G) => {
|
|
@@ -3900,7 +3900,7 @@ const bd = ({
|
|
|
3900
3900
|
size: s,
|
|
3901
3901
|
placeholder: g,
|
|
3902
3902
|
disabled: c,
|
|
3903
|
-
onChange: (G) =>
|
|
3903
|
+
onChange: (G) => q(Object(G)),
|
|
3904
3904
|
value: b || S,
|
|
3905
3905
|
readOnly: f,
|
|
3906
3906
|
name: m,
|
|
@@ -3936,7 +3936,7 @@ const bd = ({
|
|
|
3936
3936
|
size: s,
|
|
3937
3937
|
placeholder: g,
|
|
3938
3938
|
disabled: c,
|
|
3939
|
-
onChange: (G) =>
|
|
3939
|
+
onChange: (G) => q(Object(G)),
|
|
3940
3940
|
value: b || S,
|
|
3941
3941
|
readOnly: f,
|
|
3942
3942
|
name: m,
|
|
@@ -4156,30 +4156,30 @@ const bd = ({
|
|
|
4156
4156
|
}, [o]);
|
|
4157
4157
|
const V = Ce(null), w = (Y) => {
|
|
4158
4158
|
if (Y.preventDefault(), V.current) {
|
|
4159
|
-
const
|
|
4160
|
-
P(
|
|
4159
|
+
const q = Number(V.current.value) + 1;
|
|
4160
|
+
P(q.toString());
|
|
4161
4161
|
const _ = {
|
|
4162
|
-
value:
|
|
4162
|
+
value: q.toString(),
|
|
4163
4163
|
name: b
|
|
4164
4164
|
};
|
|
4165
4165
|
v && v({ target: _ });
|
|
4166
4166
|
}
|
|
4167
4167
|
}, S = (Y) => {
|
|
4168
4168
|
if (Y.preventDefault(), V.current) {
|
|
4169
|
-
const
|
|
4170
|
-
P(
|
|
4169
|
+
const q = Number(V.current.value) - 1;
|
|
4170
|
+
P(q.toString());
|
|
4171
4171
|
const _ = {
|
|
4172
|
-
value:
|
|
4172
|
+
value: q.toString(),
|
|
4173
4173
|
name: b
|
|
4174
4174
|
};
|
|
4175
4175
|
v && v({ target: _ });
|
|
4176
4176
|
}
|
|
4177
4177
|
}, A = (Y) => {
|
|
4178
|
-
const { value:
|
|
4179
|
-
C(Y.target.maxLength -
|
|
4178
|
+
const { value: q } = Y.target;
|
|
4179
|
+
C(Y.target.maxLength - q.length), v && v(Y);
|
|
4180
4180
|
}, k = (Y) => {
|
|
4181
|
-
const
|
|
4182
|
-
P(n === "number" ? Number(
|
|
4181
|
+
const q = Y.target.value;
|
|
4182
|
+
P(n === "number" ? Number(q) : q), v && v(Y);
|
|
4183
4183
|
}, z = {
|
|
4184
4184
|
position: "absolute",
|
|
4185
4185
|
right: "0",
|
|
@@ -5454,7 +5454,7 @@ const ba = (e) => {
|
|
|
5454
5454
|
), i && i($);
|
|
5455
5455
|
}, Y = ($) => {
|
|
5456
5456
|
$.preventDefault(), y(!0);
|
|
5457
|
-
},
|
|
5457
|
+
}, q = () => {
|
|
5458
5458
|
y(!1);
|
|
5459
5459
|
}, _ = ($) => {
|
|
5460
5460
|
$.preventDefault(), y(!1);
|
|
@@ -5533,7 +5533,7 @@ const ba = (e) => {
|
|
|
5533
5533
|
{
|
|
5534
5534
|
...e,
|
|
5535
5535
|
onDragOver: Y,
|
|
5536
|
-
onDragLeave:
|
|
5536
|
+
onDragLeave: q,
|
|
5537
5537
|
onDrop: _,
|
|
5538
5538
|
on: v,
|
|
5539
5539
|
disabled: r,
|
|
@@ -6714,28 +6714,26 @@ letter-spacing: 0.16px;
|
|
|
6714
6714
|
fontfamily: "IBM Plex Sans",
|
|
6715
6715
|
padding: t.selectProps.size && t.selectProps.kind === "default" ? N0[t.selectProps.size || "medium"] : t.selectProps.kind === "little" ? "7px" : "0",
|
|
6716
6716
|
borderRadius: t.selectProps.kind === "fluid" && (t.selectProps.error || t.selectProps.warning) || t.selectProps.noRadius ? "0" : "8px",
|
|
6717
|
-
border: (t.selectProps.kind === "default" || t.selectProps.kind === "little") && t.selectProps.error ? `
|
|
6718
|
-
borderBottom: (t.selectProps.kind === "default" || t.selectProps.kind === "little") && t.selectProps.error ? `1px solid ${d.supportError}` :
|
|
6717
|
+
border: (t.selectProps.kind === "default" || t.selectProps.kind === "little") && t.selectProps.error ? `1px solid ${d.supportError}` : "1px solid transparent",
|
|
6718
|
+
borderBottom: (t.selectProps.kind === "default" || t.selectProps.kind === "little") && t.selectProps.error ? `1px solid ${d.supportError}` : "1px solid transparent",
|
|
6719
6719
|
minWidth: "30px",
|
|
6720
6720
|
width: t.selectProps.kind === "fluid" && (t.selectProps.error || t.selectProps.warning) ? "95%" : t.selectProps.kind === "little" ? "155px" : "100%",
|
|
6721
6721
|
margin: "0 auto",
|
|
6722
|
-
"&:active": {
|
|
6723
|
-
border: "1px solid transparent",
|
|
6724
|
-
borderBottom: `1px solid ${d.borderStrong01}`
|
|
6725
|
-
},
|
|
6722
|
+
"&:active": {},
|
|
6726
6723
|
"&:hover": {
|
|
6727
|
-
backgroundColor: t.selectProps.kind === "fluid" ? "transparent" : d.fieldHover01
|
|
6724
|
+
backgroundColor: t.selectProps.kind === "fluid" ? "transparent" : d.fieldHover01,
|
|
6725
|
+
border: "1px solid transparent"
|
|
6728
6726
|
},
|
|
6729
6727
|
"&:focus-within": {
|
|
6730
|
-
border: t.selectProps.kind === "fluid" ? "" : `1px solid ${d.focus}`,
|
|
6731
|
-
borderBottom: t.selectProps.kind === "fluid" && (t.selectProps.error || t.selectProps.warning) &&
|
|
6728
|
+
border: t.selectProps.kind === "fluid" ? "1px solid transparent" : `1px solid ${d.focus}`,
|
|
6729
|
+
borderBottom: t.selectProps.kind === "fluid" && (t.selectProps.error || t.selectProps.warning) && "1px solid transparent",
|
|
6732
6730
|
boxShadow: "none"
|
|
6733
6731
|
}
|
|
6734
6732
|
}),
|
|
6735
6733
|
option: (e) => ({
|
|
6736
6734
|
...e,
|
|
6737
6735
|
fontSize: "15px",
|
|
6738
|
-
fontWeight: "
|
|
6736
|
+
fontWeight: "bolder",
|
|
6739
6737
|
cursor: "pointer",
|
|
6740
6738
|
color: d.textPrimary,
|
|
6741
6739
|
display: "flex",
|
|
@@ -6743,11 +6741,8 @@ letter-spacing: 0.16px;
|
|
|
6743
6741
|
alignItems: "center",
|
|
6744
6742
|
background: d.field01,
|
|
6745
6743
|
fontfamily: "IBM Plex Sans",
|
|
6746
|
-
"&:active": {
|
|
6747
|
-
border: "none"
|
|
6748
|
-
},
|
|
6744
|
+
"&:active": {},
|
|
6749
6745
|
"&:hover": {
|
|
6750
|
-
border: "none",
|
|
6751
6746
|
width: "100%",
|
|
6752
6747
|
background: "#ADC3D7"
|
|
6753
6748
|
}
|
|
@@ -6757,11 +6752,9 @@ letter-spacing: 0.16px;
|
|
|
6757
6752
|
color: d.textPrimary,
|
|
6758
6753
|
backgroudColor: d.field01,
|
|
6759
6754
|
"&:active": {
|
|
6760
|
-
border: "none",
|
|
6761
6755
|
color: d.textPrimary
|
|
6762
6756
|
},
|
|
6763
6757
|
"&:hover": {
|
|
6764
|
-
border: "none",
|
|
6765
6758
|
color: d.textPrimary
|
|
6766
6759
|
}
|
|
6767
6760
|
}),
|
|
@@ -6778,10 +6771,10 @@ letter-spacing: 0.16px;
|
|
|
6778
6771
|
borderRadius: t.selectProps.noRadius ? "0px" : "8px",
|
|
6779
6772
|
width: "100%",
|
|
6780
6773
|
"&:active": {
|
|
6781
|
-
|
|
6774
|
+
// borderBottom: `1px solid ${Itheme.borderStrong01}`,
|
|
6782
6775
|
},
|
|
6783
6776
|
"&:hover": {
|
|
6784
|
-
|
|
6777
|
+
// borderBottom: `1px solid ${Itheme.borderStrong01}`,
|
|
6785
6778
|
}
|
|
6786
6779
|
}),
|
|
6787
6780
|
menu: (e) => ({
|
|
@@ -6792,15 +6785,15 @@ letter-spacing: 0.16px;
|
|
|
6792
6785
|
top: "0",
|
|
6793
6786
|
right: "0px",
|
|
6794
6787
|
left: "0px",
|
|
6795
|
-
|
|
6796
|
-
|
|
6788
|
+
fontfamily: "IBM Plex Sans",
|
|
6789
|
+
border: `2px solid ${d.borderStrong01}`
|
|
6797
6790
|
}),
|
|
6798
6791
|
input: (e) => ({
|
|
6799
6792
|
...e,
|
|
6800
6793
|
color: "theme.textPrimary",
|
|
6801
6794
|
"&:focus": {
|
|
6802
6795
|
boxShadow: "none",
|
|
6803
|
-
|
|
6796
|
+
borderBottom: `1px solid ${d.borderStrong01}`
|
|
6804
6797
|
}
|
|
6805
6798
|
}),
|
|
6806
6799
|
dropdownIndicator: (e) => ({
|
|
@@ -6833,12 +6826,11 @@ letter-spacing: 0.16px;
|
|
|
6833
6826
|
background: ${({ kind: e }) => e === "fluid" ? d.field01 : "transparent"};
|
|
6834
6827
|
height: auto;
|
|
6835
6828
|
border-radius:${({ noRadius: e }) => e ? "0px" : "8px"} ;
|
|
6836
|
-
border: ${({ error: e, kind: t, loading: n }) => e && t === "fluid" && !n ? `1px solid${d.supportError}` : "
|
|
6837
|
-
|
|
6838
|
-
border-bottom: ${({ kind: e, warning: t }) => e === "fluid" && t ? `1px solid ${d.borderStrong01}` : ""};
|
|
6829
|
+
border: ${({ error: e, kind: t, loading: n }) => e && t === "fluid" && !n ? `1px solid ${d.supportError}` : "none"};
|
|
6830
|
+
border-bottom: ${({ kind: e, warning: t, loading: n, error: i }) => e === "fluid" && t ? `1px solid ${d.borderStrong01}` : e === "fluid" && i ? `1px solid ${d.supportError}` : !n && `1px solid ${d.borderStrong01}`};
|
|
6839
6831
|
|
|
6840
6832
|
&:focus {
|
|
6841
|
-
border: ${({ kind: e }) => e === "fluid" ? `1px solid ${d.focus}` : ""};
|
|
6833
|
+
border: ${({ kind: e }) => e === "fluid" ? `1px solid ${d.focus}` : "1px solid transparent"};
|
|
6842
6834
|
}
|
|
6843
6835
|
position: ${({ loading: e }) => e && "relative"};
|
|
6844
6836
|
`, _a = x.span`
|
|
@@ -7020,7 +7012,7 @@ function vt(e, t) {
|
|
|
7020
7012
|
}
|
|
7021
7013
|
var Y0 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
7022
7014
|
function J0(e) {
|
|
7023
|
-
var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, a = o === void 0 ? null : o, c = e.inputValue, s = e.menuIsOpen, u = e.onChange, f = e.onInputChange, p = e.onMenuClose, g = e.onMenuOpen, b = e.value, m = vt(e, Y0), v = ie(c !== void 0 ? c : n), y = bt(v, 2), C = y[0], T = y[1], P = ie(s !== void 0 ? s : r), V = bt(P, 2), w = V[0], S = V[1], A = ie(b !== void 0 ? b : a), k = bt(A, 2), z = k[0], Y = k[1],
|
|
7015
|
+
var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, a = o === void 0 ? null : o, c = e.inputValue, s = e.menuIsOpen, u = e.onChange, f = e.onInputChange, p = e.onMenuClose, g = e.onMenuOpen, b = e.value, m = vt(e, Y0), v = ie(c !== void 0 ? c : n), y = bt(v, 2), C = y[0], T = y[1], P = ie(s !== void 0 ? s : r), V = bt(P, 2), w = V[0], S = V[1], A = ie(b !== void 0 ? b : a), k = bt(A, 2), z = k[0], Y = k[1], q = re(function(he, ce) {
|
|
7024
7016
|
typeof u == "function" && u(he, ce), Y(he);
|
|
7025
7017
|
}, [u]), _ = re(function(he, ce) {
|
|
7026
7018
|
var Ae;
|
|
@@ -7033,7 +7025,7 @@ function J0(e) {
|
|
|
7033
7025
|
return X(X({}, m), {}, {
|
|
7034
7026
|
inputValue: G,
|
|
7035
7027
|
menuIsOpen: H,
|
|
7036
|
-
onChange:
|
|
7028
|
+
onChange: q,
|
|
7037
7029
|
onInputChange: _,
|
|
7038
7030
|
onMenuClose: $,
|
|
7039
7031
|
onMenuOpen: J,
|
|
@@ -7821,7 +7813,7 @@ function Lf() {
|
|
|
7821
7813
|
}
|
|
7822
7814
|
}
|
|
7823
7815
|
}
|
|
7824
|
-
var w = s, S = u, A = c, k = a, z = t, Y = f,
|
|
7816
|
+
var w = s, S = u, A = c, k = a, z = t, Y = f, q = i, _ = m, J = b, $ = n, G = o, H = r, le = p, he = !1;
|
|
7825
7817
|
function ce(L) {
|
|
7826
7818
|
return he || (he = !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.")), Ae(L) || V(L) === s;
|
|
7827
7819
|
}
|
|
@@ -7840,7 +7832,7 @@ function Lf() {
|
|
|
7840
7832
|
function N(L) {
|
|
7841
7833
|
return V(L) === f;
|
|
7842
7834
|
}
|
|
7843
|
-
function
|
|
7835
|
+
function K(L) {
|
|
7844
7836
|
return V(L) === i;
|
|
7845
7837
|
}
|
|
7846
7838
|
function de(L) {
|
|
@@ -7861,7 +7853,7 @@ function Lf() {
|
|
|
7861
7853
|
function Ze(L) {
|
|
7862
7854
|
return V(L) === p;
|
|
7863
7855
|
}
|
|
7864
|
-
me.AsyncMode = w, me.ConcurrentMode = S, me.ContextConsumer = A, me.ContextProvider = k, me.Element = z, me.ForwardRef = Y, me.Fragment =
|
|
7856
|
+
me.AsyncMode = w, me.ConcurrentMode = S, me.ContextConsumer = A, me.ContextProvider = k, me.Element = z, me.ForwardRef = Y, me.Fragment = q, me.Lazy = _, me.Memo = J, me.Portal = $, me.Profiler = G, me.StrictMode = H, me.Suspense = le, me.isAsyncMode = ce, me.isConcurrentMode = Ae, me.isContextConsumer = Ve, me.isContextProvider = U, me.isElement = R, me.isForwardRef = N, me.isFragment = K, me.isLazy = de, me.isMemo = ye, me.isPortal = ue, me.isProfiler = Pe, me.isStrictMode = We, me.isSuspense = Ze, me.isValidElementType = P, me.typeOf = V;
|
|
7865
7857
|
}()), me;
|
|
7866
7858
|
}
|
|
7867
7859
|
process.env.NODE_ENV === "production" ? Ri.exports = Of() : Ri.exports = Lf();
|
|
@@ -8559,7 +8551,7 @@ function Lp(e) {
|
|
|
8559
8551
|
};
|
|
8560
8552
|
if (!n || !n.offsetParent)
|
|
8561
8553
|
return u;
|
|
8562
|
-
var f = s.getBoundingClientRect(), p = f.height, g = n.getBoundingClientRect(), b = g.bottom, m = g.height, v = g.top, y = n.offsetParent.getBoundingClientRect(), C = y.top, T = a ? window.innerHeight : Sp(s), P = pc(s), V = parseInt(getComputedStyle(n).marginBottom, 10), w = parseInt(getComputedStyle(n).marginTop, 10), S = C - w, A = T - v, k = S + P, z = p - P - v, Y = b - T + P + V,
|
|
8554
|
+
var f = s.getBoundingClientRect(), p = f.height, g = n.getBoundingClientRect(), b = g.bottom, m = g.height, v = g.top, y = n.offsetParent.getBoundingClientRect(), C = y.top, T = a ? window.innerHeight : Sp(s), P = pc(s), V = parseInt(getComputedStyle(n).marginBottom, 10), w = parseInt(getComputedStyle(n).marginTop, 10), S = C - w, A = T - v, k = S + P, z = p - P - v, Y = b - T + P + V, q = P + v - w, _ = 160;
|
|
8563
8555
|
switch (r) {
|
|
8564
8556
|
case "auto":
|
|
8565
8557
|
case "bottom":
|
|
@@ -8601,13 +8593,13 @@ function Lp(e) {
|
|
|
8601
8593
|
maxHeight: t
|
|
8602
8594
|
};
|
|
8603
8595
|
if (k >= m && !a)
|
|
8604
|
-
return o && Wn(s,
|
|
8596
|
+
return o && Wn(s, q, _), {
|
|
8605
8597
|
placement: "top",
|
|
8606
8598
|
maxHeight: t
|
|
8607
8599
|
};
|
|
8608
8600
|
if (!a && k >= i || a && S >= i) {
|
|
8609
8601
|
var H = t;
|
|
8610
|
-
return (!a && k >= i || a && S >= i) && (H = a ? S - w : k - w), o && Wn(s,
|
|
8602
|
+
return (!a && k >= i || a && S >= i) && (H = a ? S - w : k - w), o && Wn(s, q, _), {
|
|
8611
8603
|
placement: "top",
|
|
8612
8604
|
maxHeight: H
|
|
8613
8605
|
};
|
|
@@ -9341,12 +9333,12 @@ var e2 = process.env.NODE_ENV === "production" ? {
|
|
|
9341
9333
|
if (n && k.onChange) {
|
|
9342
9334
|
var H = n.option, le = n.options, he = n.removedValue, ce = n.removedValues, Ae = n.value, Ve = function(ue) {
|
|
9343
9335
|
return Array.isArray(ue) ? null : ue;
|
|
9344
|
-
}, U = he || H || Ve(Ae), R = U ? g(U) : "", N = le || ce || void 0,
|
|
9336
|
+
}, U = he || H || Ve(Ae), R = U ? g(U) : "", N = le || ce || void 0, K = N ? N.map(g) : [], de = X({
|
|
9345
9337
|
// multiSelected items are usually items that have already been selected
|
|
9346
9338
|
// or set by the user as a default value so we assume they are not disabled
|
|
9347
9339
|
isDisabled: U && v(U, c),
|
|
9348
9340
|
label: R,
|
|
9349
|
-
labels:
|
|
9341
|
+
labels: K
|
|
9350
9342
|
}, n);
|
|
9351
9343
|
G = k.onChange(de);
|
|
9352
9344
|
}
|
|
@@ -9367,7 +9359,7 @@ var e2 = process.env.NODE_ENV === "production" ? {
|
|
|
9367
9359
|
G = k.onFocus(he);
|
|
9368
9360
|
}
|
|
9369
9361
|
return G;
|
|
9370
|
-
}, [i, r, g, v, k, o, c, f]),
|
|
9362
|
+
}, [i, r, g, v, k, o, c, f]), q = ot(function() {
|
|
9371
9363
|
var G = "";
|
|
9372
9364
|
if (C && T.length && !w && k.onFilter) {
|
|
9373
9365
|
var H = P({
|
|
@@ -9400,7 +9392,7 @@ var e2 = process.env.NODE_ENV === "production" ? {
|
|
|
9400
9392
|
id: "aria-focused"
|
|
9401
9393
|
}, Y), Z("span", {
|
|
9402
9394
|
id: "aria-results"
|
|
9403
|
-
},
|
|
9395
|
+
}, q), Z("span", {
|
|
9404
9396
|
id: "aria-guidance"
|
|
9405
9397
|
}, J));
|
|
9406
9398
|
return Z(bi, null, Z(pl, {
|
|
@@ -10704,7 +10696,7 @@ var kc = function(t) {
|
|
|
10704
10696
|
}), T);
|
|
10705
10697
|
if (y)
|
|
10706
10698
|
return V.map(function(k, z) {
|
|
10707
|
-
var Y = k === w,
|
|
10699
|
+
var Y = k === w, q = "".concat(r.getOptionLabel(k), "-").concat(r.getOptionValue(k));
|
|
10708
10700
|
return /* @__PURE__ */ te.createElement(a, j({}, g, {
|
|
10709
10701
|
components: {
|
|
10710
10702
|
Container: c,
|
|
@@ -10713,7 +10705,7 @@ var kc = function(t) {
|
|
|
10713
10705
|
},
|
|
10714
10706
|
isFocused: Y,
|
|
10715
10707
|
isDisabled: v,
|
|
10716
|
-
key:
|
|
10708
|
+
key: q,
|
|
10717
10709
|
index: z,
|
|
10718
10710
|
removeProps: {
|
|
10719
10711
|
onClick: function() {
|
|
@@ -10800,11 +10792,11 @@ var kc = function(t) {
|
|
|
10800
10792
|
}, {
|
|
10801
10793
|
key: "renderMenu",
|
|
10802
10794
|
value: function() {
|
|
10803
|
-
var r = this, o = this.getComponents(), a = o.Group, c = o.GroupHeading, s = o.Menu, u = o.MenuList, f = o.MenuPortal, p = o.LoadingMessage, g = o.NoOptionsMessage, b = o.Option, m = this.commonProps, v = this.state.focusedOption, y = this.props, C = y.captureMenuScroll, T = y.inputValue, P = y.isLoading, V = y.loadingMessage, w = y.minMenuHeight, S = y.maxMenuHeight, A = y.menuIsOpen, k = y.menuPlacement, z = y.menuPosition, Y = y.menuPortalTarget,
|
|
10795
|
+
var r = this, o = this.getComponents(), a = o.Group, c = o.GroupHeading, s = o.Menu, u = o.MenuList, f = o.MenuPortal, p = o.LoadingMessage, g = o.NoOptionsMessage, b = o.Option, m = this.commonProps, v = this.state.focusedOption, y = this.props, C = y.captureMenuScroll, T = y.inputValue, P = y.isLoading, V = y.loadingMessage, w = y.minMenuHeight, S = y.maxMenuHeight, A = y.menuIsOpen, k = y.menuPlacement, z = y.menuPosition, Y = y.menuPortalTarget, q = y.menuShouldBlockScroll, _ = y.menuShouldScrollIntoView, J = y.noOptionsMessage, $ = y.onMenuScrollToTop, G = y.onMenuScrollToBottom;
|
|
10804
10796
|
if (!A)
|
|
10805
10797
|
return null;
|
|
10806
10798
|
var H = function(R, N) {
|
|
10807
|
-
var
|
|
10799
|
+
var K = R.type, de = R.data, ye = R.isDisabled, ue = R.isSelected, Pe = R.label, We = R.value, Ze = v === de, L = ye ? void 0 : function() {
|
|
10808
10800
|
return r.onOptionHover(de);
|
|
10809
10801
|
}, st = ye ? void 0 : function() {
|
|
10810
10802
|
return r.selectOption(de);
|
|
@@ -10825,7 +10817,7 @@ var kc = function(t) {
|
|
|
10825
10817
|
isSelected: ue,
|
|
10826
10818
|
key: nt,
|
|
10827
10819
|
label: Pe,
|
|
10828
|
-
type:
|
|
10820
|
+
type: K,
|
|
10829
10821
|
value: We,
|
|
10830
10822
|
isFocused: Ze,
|
|
10831
10823
|
innerRef: Ze ? r.getFocusedOptionRef : void 0
|
|
@@ -10834,7 +10826,7 @@ var kc = function(t) {
|
|
|
10834
10826
|
if (this.hasOptions())
|
|
10835
10827
|
le = this.getCategorizedOptions().map(function(U) {
|
|
10836
10828
|
if (U.type === "group") {
|
|
10837
|
-
var R = U.data, N = U.options,
|
|
10829
|
+
var R = U.data, N = U.options, K = U.index, de = "".concat(r.getElementId("group"), "-").concat(K), ye = "".concat(de, "-heading");
|
|
10838
10830
|
return /* @__PURE__ */ te.createElement(a, j({}, m, {
|
|
10839
10831
|
key: de,
|
|
10840
10832
|
data: R,
|
|
@@ -10846,7 +10838,7 @@ var kc = function(t) {
|
|
|
10846
10838
|
},
|
|
10847
10839
|
label: r.formatGroupLabel(U.data)
|
|
10848
10840
|
}), U.options.map(function(ue) {
|
|
10849
|
-
return H(ue, "".concat(
|
|
10841
|
+
return H(ue, "".concat(K, "-").concat(ue.index));
|
|
10850
10842
|
}));
|
|
10851
10843
|
} else if (U.type === "option")
|
|
10852
10844
|
return H(U, "".concat(U.index));
|
|
@@ -10873,7 +10865,7 @@ var kc = function(t) {
|
|
|
10873
10865
|
menuPosition: z,
|
|
10874
10866
|
menuShouldScrollIntoView: _
|
|
10875
10867
|
}, Ve = /* @__PURE__ */ te.createElement(Np, j({}, m, Ae), function(U) {
|
|
10876
|
-
var R = U.ref, N = U.placerProps,
|
|
10868
|
+
var R = U.ref, N = U.placerProps, K = N.placement, de = N.maxHeight;
|
|
10877
10869
|
return /* @__PURE__ */ te.createElement(s, j({}, m, Ae, {
|
|
10878
10870
|
innerRef: R,
|
|
10879
10871
|
innerProps: {
|
|
@@ -10881,12 +10873,12 @@ var kc = function(t) {
|
|
|
10881
10873
|
onMouseMove: r.onMenuMouseMove
|
|
10882
10874
|
},
|
|
10883
10875
|
isLoading: P,
|
|
10884
|
-
placement:
|
|
10876
|
+
placement: K
|
|
10885
10877
|
}), /* @__PURE__ */ te.createElement(m2, {
|
|
10886
10878
|
captureEnabled: C,
|
|
10887
10879
|
onTopArrive: $,
|
|
10888
10880
|
onBottomArrive: G,
|
|
10889
|
-
lockEnabled:
|
|
10881
|
+
lockEnabled: q
|
|
10890
10882
|
}, function(ye) {
|
|
10891
10883
|
return /* @__PURE__ */ te.createElement(u, j({}, m, {
|
|
10892
10884
|
innerRef: function(Pe) {
|
|
@@ -11014,15 +11006,15 @@ var kc = function(t) {
|
|
|
11014
11006
|
var z = s != null && r !== a ? {
|
|
11015
11007
|
inputIsHidden: s,
|
|
11016
11008
|
inputIsHiddenAfterUpdate: void 0
|
|
11017
|
-
} : {}, Y = u,
|
|
11018
|
-
return f && !
|
|
11009
|
+
} : {}, Y = u, q = f && p;
|
|
11010
|
+
return f && !q && (Y = {
|
|
11019
11011
|
value: Xn(C, T, T[0] || null),
|
|
11020
11012
|
options: T,
|
|
11021
11013
|
action: "initial-input-focus"
|
|
11022
|
-
},
|
|
11014
|
+
}, q = !p), (u == null ? void 0 : u.action) === "initial-input-focus" && (Y = null), X(X(X({}, P), z), {}, {
|
|
11023
11015
|
prevProps: r,
|
|
11024
11016
|
ariaSelection: Y,
|
|
11025
|
-
prevWasFocused:
|
|
11017
|
+
prevWasFocused: q
|
|
11026
11018
|
});
|
|
11027
11019
|
}
|
|
11028
11020
|
}]), n;
|
|
@@ -12090,21 +12082,21 @@ const w5 = /* @__PURE__ */ l(F, { children: /* @__PURE__ */ l(
|
|
|
12090
12082
|
}) => {
|
|
12091
12083
|
const [p, g] = ie(0), [b, m] = ie(t[0]), [v, y] = ie([]), [C, T] = ie(Array(e.length).fill(!1)), [P, V] = ie(Array(e.length).fill(!1)), [w, S] = ie(!1), [A, k] = ie(!1), z = (R) => {
|
|
12092
12084
|
V((N) => {
|
|
12093
|
-
const
|
|
12094
|
-
|
|
12095
|
-
const de =
|
|
12096
|
-
return S(ye), k(!ye && ue),
|
|
12085
|
+
const K = [...N];
|
|
12086
|
+
K[R] = !K[R];
|
|
12087
|
+
const de = K.filter(Boolean).length, ye = de === e.length, ue = de > 0;
|
|
12088
|
+
return S(ye), k(!ye && ue), K;
|
|
12097
12089
|
});
|
|
12098
12090
|
}, Y = () => {
|
|
12099
12091
|
const R = !w;
|
|
12100
12092
|
V(Array(e.length).fill(R)), S(R), k(!1);
|
|
12101
|
-
},
|
|
12102
|
-
const N = R.target.value.toLocaleLowerCase(),
|
|
12093
|
+
}, q = (R) => {
|
|
12094
|
+
const N = R.target.value.toLocaleLowerCase(), K = e.filter((de) => o.some((ye) => {
|
|
12103
12095
|
var Pe;
|
|
12104
12096
|
const ue = (Pe = String(de[ye])) == null ? void 0 : Pe.toLocaleLowerCase();
|
|
12105
12097
|
return ue == null ? void 0 : ue.includes(N);
|
|
12106
12098
|
}));
|
|
12107
|
-
y(
|
|
12099
|
+
y(K), g(0);
|
|
12108
12100
|
}, _ = v.length > 0 ? v : e, J = ot(
|
|
12109
12101
|
() => _.slice(p, p + b),
|
|
12110
12102
|
[_, p, b]
|
|
@@ -12138,8 +12130,8 @@ const w5 = /* @__PURE__ */ l(F, { children: /* @__PURE__ */ l(
|
|
|
12138
12130
|
[]
|
|
12139
12131
|
), Ae = (R) => {
|
|
12140
12132
|
T((N) => {
|
|
12141
|
-
const
|
|
12142
|
-
return
|
|
12133
|
+
const K = [...N];
|
|
12134
|
+
return K[R] = !K[R], K;
|
|
12143
12135
|
});
|
|
12144
12136
|
}, Ve = () => P.filter((R) => R).length, U = (R) => C[R] ? "up" : "down";
|
|
12145
12137
|
return Be(() => {
|
|
@@ -12168,7 +12160,7 @@ const w5 = /* @__PURE__ */ l(F, { children: /* @__PURE__ */ l(
|
|
|
12168
12160
|
size: "small",
|
|
12169
12161
|
ContainedListMenu: !0,
|
|
12170
12162
|
placeholder: "Digite Para Pesquisar",
|
|
12171
|
-
onChange:
|
|
12163
|
+
onChange: q
|
|
12172
12164
|
}
|
|
12173
12165
|
),
|
|
12174
12166
|
/* @__PURE__ */ l("div", { style: { display: "flex", alignItems: "center" }, children: n == null ? void 0 : n.filter((R) => R.position === "left").map((R, N) => /* @__PURE__ */ l("div", { style: { marginLeft: "1px" }, children: /* @__PURE__ */ l(
|
|
@@ -12266,12 +12258,12 @@ const w5 = /* @__PURE__ */ l(F, { children: /* @__PURE__ */ l(
|
|
|
12266
12258
|
ha,
|
|
12267
12259
|
{
|
|
12268
12260
|
checked: P[p + N] || !1,
|
|
12269
|
-
onClick: () => {
|
|
12270
|
-
z(p + N), R.onClick && R.onClick();
|
|
12261
|
+
onClick: (K) => {
|
|
12262
|
+
z(p + N), R.onClick && R.onClick(K);
|
|
12271
12263
|
}
|
|
12272
12264
|
}
|
|
12273
12265
|
) }),
|
|
12274
|
-
u == null ? void 0 : u.map((
|
|
12266
|
+
u == null ? void 0 : u.map((K) => /* @__PURE__ */ l(zn, { children: R[K] }, K))
|
|
12275
12267
|
]
|
|
12276
12268
|
},
|
|
12277
12269
|
N
|
|
@@ -12284,7 +12276,7 @@ const w5 = /* @__PURE__ */ l(F, { children: /* @__PURE__ */ l(
|
|
|
12284
12276
|
minHeight: "100px",
|
|
12285
12277
|
width: "95%",
|
|
12286
12278
|
borderTop: `1px solid ${d.borderSubtle01}`
|
|
12287
|
-
}, children: /* @__PURE__ */ l(F, { children: /* @__PURE__ */ l("div", { style: { width: "90%", margin: "20px auto" }, children: s == null ? void 0 : s.map((
|
|
12279
|
+
}, children: /* @__PURE__ */ l(F, { children: /* @__PURE__ */ l("div", { style: { width: "90%", margin: "20px auto" }, children: s == null ? void 0 : s.map((K) => /* @__PURE__ */ l("p", { style: { margin: "2px" }, children: K + "" + R[K] })) }) }) }) }) })
|
|
12288
12280
|
] }))
|
|
12289
12281
|
] }),
|
|
12290
12282
|
/* @__PURE__ */ I(x5, { children: [
|
|
@@ -13452,7 +13444,7 @@ function l3(e) {
|
|
|
13452
13444
|
return new Promise(function(D) {
|
|
13453
13445
|
return D(T.current[E].validate(O));
|
|
13454
13446
|
});
|
|
13455
|
-
}, []),
|
|
13447
|
+
}, []), q = re(function(E) {
|
|
13456
13448
|
var O = Object.keys(T.current).filter(function(W) {
|
|
13457
13449
|
return it(T.current[W].validate);
|
|
13458
13450
|
}), D = O.length > 0 ? O.map(function(W) {
|
|
@@ -13464,13 +13456,13 @@ function l3(e) {
|
|
|
13464
13456
|
}, {});
|
|
13465
13457
|
});
|
|
13466
13458
|
}, [Y]), _ = re(function(E) {
|
|
13467
|
-
return Promise.all([
|
|
13459
|
+
return Promise.all([q(E), g.validationSchema ? z(E) : {}, g.validate ? k(E) : {}]).then(function(O) {
|
|
13468
13460
|
var D = O[0], W = O[1], ee = O[2], oe = $i.all([D, W, ee], {
|
|
13469
13461
|
arrayMerge: u3
|
|
13470
13462
|
});
|
|
13471
13463
|
return oe;
|
|
13472
13464
|
});
|
|
13473
|
-
}, [g.validate, g.validationSchema,
|
|
13465
|
+
}, [g.validate, g.validationSchema, q, k, z]), J = qe(function(E) {
|
|
13474
13466
|
return E === void 0 && (E = S.values), A({
|
|
13475
13467
|
type: "SET_ISVALIDATING",
|
|
13476
13468
|
payload: !0
|
|
@@ -13636,7 +13628,7 @@ function l3(e) {
|
|
|
13636
13628
|
return R(O, E);
|
|
13637
13629
|
};
|
|
13638
13630
|
R(E);
|
|
13639
|
-
}),
|
|
13631
|
+
}), K = qe(function(E, O, D) {
|
|
13640
13632
|
O === void 0 && (O = !0), A({
|
|
13641
13633
|
type: "SET_FIELD_TOUCHED",
|
|
13642
13634
|
payload: {
|
|
@@ -13653,8 +13645,8 @@ function l3(e) {
|
|
|
13653
13645
|
htmlContent: oe,
|
|
13654
13646
|
documentationAnchorLink: "handleblur-e-any--void",
|
|
13655
13647
|
handlerName: "handleBlur"
|
|
13656
|
-
}),
|
|
13657
|
-
}, [
|
|
13648
|
+
}), K(Re, !0);
|
|
13649
|
+
}, [K]), ye = qe(function(E) {
|
|
13658
13650
|
if (gi(E))
|
|
13659
13651
|
return function(O) {
|
|
13660
13652
|
return de(O, E);
|
|
@@ -13722,7 +13714,7 @@ function l3(e) {
|
|
|
13722
13714
|
validateField: G,
|
|
13723
13715
|
setErrors: ce,
|
|
13724
13716
|
setFieldError: Ve,
|
|
13725
|
-
setFieldTouched:
|
|
13717
|
+
setFieldTouched: K,
|
|
13726
13718
|
setFieldValue: U,
|
|
13727
13719
|
setStatus: Pe,
|
|
13728
13720
|
setSubmitting: We,
|
|
@@ -13749,13 +13741,13 @@ function l3(e) {
|
|
|
13749
13741
|
return U(E, D, W);
|
|
13750
13742
|
},
|
|
13751
13743
|
setTouched: function(D, W) {
|
|
13752
|
-
return
|
|
13744
|
+
return K(E, D, W);
|
|
13753
13745
|
},
|
|
13754
13746
|
setError: function(D) {
|
|
13755
13747
|
return Ve(E, D);
|
|
13756
13748
|
}
|
|
13757
13749
|
};
|
|
13758
|
-
}, [U,
|
|
13750
|
+
}, [U, K, Ve]), kn = re(function(E) {
|
|
13759
13751
|
var O = Lr(E), D = O ? E.name : E, W = Je(S.values, D), ee = {
|
|
13760
13752
|
name: D,
|
|
13761
13753
|
value: W,
|
|
@@ -13783,7 +13775,7 @@ function l3(e) {
|
|
|
13783
13775
|
resetForm: $,
|
|
13784
13776
|
setErrors: ce,
|
|
13785
13777
|
setFormikState: ue,
|
|
13786
|
-
setFieldTouched:
|
|
13778
|
+
setFieldTouched: K,
|
|
13787
13779
|
setFieldValue: U,
|
|
13788
13780
|
setFieldError: Ve,
|
|
13789
13781
|
setStatus: Pe,
|