react-crud-mui 0.0.1-beta.10 → 0.0.1-beta.11
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.
|
@@ -19,7 +19,7 @@ export interface EditingListCommandsProps<TModel extends FieldValues = FieldValu
|
|
|
19
19
|
onCancel?: () => void;
|
|
20
20
|
model?: TModel;
|
|
21
21
|
}
|
|
22
|
-
export interface EditableListProps<TModel extends FieldValues, TArrayModel extends FieldArray<TModel, TFieldArrayName> & FieldValues, TFieldArrayName extends FieldArrayPath<TModel> = FieldArrayPath<TModel>> extends TableProps<TArrayModel>, Pick<ActionCommandsProps, 'canCopy' | 'canDelete' | 'canEdit'>, PropsWithChildren {
|
|
22
|
+
export interface EditableListProps<TModel extends FieldValues, TArrayModel extends FieldArray<TModel, TFieldArrayName> & FieldValues, TFieldArrayName extends FieldArrayPath<TModel> = FieldArrayPath<TModel>> extends Omit<TableProps<TArrayModel>, 'data'>, Pick<ActionCommandsProps, 'canCopy' | 'canDelete' | 'canEdit'>, PropsWithChildren {
|
|
23
23
|
/**
|
|
24
24
|
* Array model name of form
|
|
25
25
|
*/
|
|
@@ -73,7 +73,7 @@ export interface EditableListProps<TModel extends FieldValues, TArrayModel exten
|
|
|
73
73
|
/**
|
|
74
74
|
* Custom Commands on header
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
onCommands?: (props: EditableListCommandsProps<TModel, TFieldArrayName>) => React.ReactNode;
|
|
77
77
|
/**
|
|
78
78
|
* Custom commands when needed to override the default buttons
|
|
79
79
|
*/
|
|
@@ -83,7 +83,7 @@ export interface EditableListProps<TModel extends FieldValues, TArrayModel exten
|
|
|
83
83
|
*/
|
|
84
84
|
commandColProps?: TableColumn<TArrayModel>;
|
|
85
85
|
}
|
|
86
|
-
declare function EditableList<TModel extends FieldValues, TArrayModel extends FieldArray<TModel, TFieldArrayName> & FieldValues, TFieldArrayName extends FieldArrayPath<TModel> = FieldArrayPath<TModel>>({ canCopy, canDelete, canEdit, children, columns, commandColProps,
|
|
86
|
+
declare function EditableList<TModel extends FieldValues, TArrayModel extends FieldArray<TModel, TFieldArrayName> & FieldValues, TFieldArrayName extends FieldArrayPath<TModel> = FieldArrayPath<TModel>>({ canCopy, canDelete, canEdit, children, columns, commandColProps, onCommands, onLayout, detailPageProps, detailType, disabled, enableDeleteAllButton, headerProps, name, newItemTitle, onDelete, onSave, rowCommands, uniqueFields, ...tableProps }: EditableListProps<TModel, TArrayModel, TFieldArrayName>): import("react/jsx-runtime").JSX.Element;
|
|
87
87
|
declare namespace EditableList {
|
|
88
88
|
var Commands: typeof EditableListCommands;
|
|
89
89
|
var RowCommands: typeof ActionCommands;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { PropsWithChildren, ReactNode } from 'react';
|
|
1
|
+
import { default as React, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { ControllerFieldState } from 'react-hook-form';
|
|
3
|
+
import { BoxProps } from '@mui/material';
|
|
4
|
+
import { FlexBox } from '../../flexbox';
|
|
3
5
|
export interface FormControlProps {
|
|
4
6
|
label?: ReactNode;
|
|
5
7
|
helperText?: ReactNode;
|
|
6
8
|
placement?: 'left' | 'right' | 'top' | 'bottom';
|
|
9
|
+
labelProps?: BoxProps;
|
|
10
|
+
wrapperProps?: React.ComponentProps<typeof FlexBox>;
|
|
7
11
|
}
|
|
8
|
-
declare function FormControl({ placement, children, label, helperText, error, invalid, }: PropsWithChildren<FormControlProps> & ControllerFieldState): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function FormControl({ placement, children, label, helperText, error, invalid, labelProps, wrapperProps, }: PropsWithChildren<FormControlProps> & Partial<ControllerFieldState>): import("react/jsx-runtime").JSX.Element;
|
|
9
13
|
export default FormControl;
|
package/dist/coreui.js
CHANGED
|
@@ -3,7 +3,7 @@ var jS = (e, n, r) => n in e ? VS(e, n, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Oi = (e, n, r) => jS(e, typeof n != "symbol" ? n + "" : n, r);
|
|
4
4
|
import * as B from "react";
|
|
5
5
|
import kt, { forwardRef as wn, useContext as Pr, Children as HS, isValidElement as Ui, cloneElement as ha, useState as qt, Fragment as i0, useRef as pn, useCallback as Ze, useEffect as cn, useReducer as s0, useMemo as nn } from "react";
|
|
6
|
-
import { ListItemIcon as YS, Box as
|
|
6
|
+
import { ListItemIcon as YS, Box as hn, Stack as mu, Divider as a0, Card as l0, createFilterOptions as GS, Autocomplete as KS, InputAdornment as qS, TextField as Da, SvgIcon as XS, Drawer as ZS, Alert as JS, styled as Qi, Tabs as QS, Tab as eC, LinearProgress as tC, Button as Kr, FormHelperText as c0, Checkbox as jc, FormControlLabel as nC, RadioGroup as rC, Radio as u0, IconButton as yu, Select as oC, InputLabel as iC, FormControl as sC, ListSubheader as aC, Avatar as lC, MenuItem as cC, Switch as uC, Stepper as fC, Step as dC, StepLabel as pC, Popover as hC, alpha as Li, ButtonBase as gC, useTheme as mC, Table as yC, TableRow as $o, TableHead as vC, TableBody as bC, TablePagination as xC, CircularProgress as SC, Backdrop as CC, TableCell as _c, TableFooter as wC, Skeleton as TC, TableSortLabel as EC, Badge as _C, CssBaseline as RC, ThemeProvider as OC } from "@mui/material";
|
|
7
7
|
import Ne from "clsx";
|
|
8
8
|
import MC from "@emotion/styled";
|
|
9
9
|
import { Global as IC, ThemeContext as f0, keyframes as es, withEmotionCache as kC, css as d0, createElement as p0 } from "@emotion/react";
|
|
@@ -33,7 +33,7 @@ import Ow from "numeral";
|
|
|
33
33
|
import Cu from "lodash.merge";
|
|
34
34
|
import Mw from "lodash.debounce";
|
|
35
35
|
import Lp from "qs";
|
|
36
|
-
var
|
|
36
|
+
var Sn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
37
37
|
function Zr(e) {
|
|
38
38
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
39
39
|
}
|
|
@@ -4054,7 +4054,7 @@ function Vo(e) {
|
|
|
4054
4054
|
(0, n.current)(...r)
|
|
4055
4055
|
)).current;
|
|
4056
4056
|
}
|
|
4057
|
-
function
|
|
4057
|
+
function gn(...e) {
|
|
4058
4058
|
return B.useMemo(() => e.every((n) => n == null) ? null : (n) => {
|
|
4059
4059
|
e.forEach((r) => {
|
|
4060
4060
|
eu(r, n);
|
|
@@ -4235,7 +4235,7 @@ function yh(e) {
|
|
|
4235
4235
|
} = rg({
|
|
4236
4236
|
...a,
|
|
4237
4237
|
externalSlotProps: c
|
|
4238
|
-
}), h =
|
|
4238
|
+
}), h = gn(d, c == null ? void 0 : c.ref, (y = e.additionalProps) == null ? void 0 : y.ref);
|
|
4239
4239
|
return tg(n, {
|
|
4240
4240
|
...f,
|
|
4241
4241
|
ref: h
|
|
@@ -6377,7 +6377,7 @@ const __ = {
|
|
|
6377
6377
|
// eslint-disable-next-line react/prop-types
|
|
6378
6378
|
TransitionComponent: A = pr,
|
|
6379
6379
|
...R
|
|
6380
|
-
} = n, I = B.useRef(null), _ =
|
|
6380
|
+
} = n, I = B.useRef(null), _ = gn(I, Qa(f), r), L = (J) => (oe) => {
|
|
6381
6381
|
if (J) {
|
|
6382
6382
|
const Q = I.current;
|
|
6383
6383
|
oe === void 0 ? J(Q) : J(Q, oe);
|
|
@@ -6890,7 +6890,7 @@ const gg = /* @__PURE__ */ B.forwardRef(function(n, r) {
|
|
|
6890
6890
|
Y.previousKeyMatched && (H || Pi(I, D, !1, d, zc, Y)) ? R.preventDefault() : Y.previousKeyMatched = !1;
|
|
6891
6891
|
}
|
|
6892
6892
|
g && g(R);
|
|
6893
|
-
}, m =
|
|
6893
|
+
}, m = gn(w, r);
|
|
6894
6894
|
let M = -1;
|
|
6895
6895
|
B.Children.forEach(c, (R, I) => {
|
|
6896
6896
|
if (!/* @__PURE__ */ B.isValidElement(R)) {
|
|
@@ -6995,7 +6995,7 @@ const A_ = {
|
|
|
6995
6995
|
// eslint-disable-next-line react/prop-types
|
|
6996
6996
|
TransitionComponent: m = pr,
|
|
6997
6997
|
...M
|
|
6998
|
-
} = n, A = X0(), R = B.useRef(), I = Nu(), _ = B.useRef(null), L =
|
|
6998
|
+
} = n, A = X0(), R = B.useRef(), I = Nu(), _ = B.useRef(null), L = gn(_, Qa(a), r), D = (oe) => (Q) => {
|
|
6999
6999
|
if (oe) {
|
|
7000
7000
|
const ie = _.current;
|
|
7001
7001
|
Q === void 0 ? oe(ie) : oe(ie, Q);
|
|
@@ -7307,7 +7307,7 @@ function Oa(e) {
|
|
|
7307
7307
|
getTabbable: a = U_,
|
|
7308
7308
|
isEnabled: c = V_,
|
|
7309
7309
|
open: f
|
|
7310
|
-
} = e, d = B.useRef(!1), h = B.useRef(null), g = B.useRef(null), y = B.useRef(null), x = B.useRef(null), w = B.useRef(!1), S = B.useRef(null), b =
|
|
7310
|
+
} = e, d = B.useRef(!1), h = B.useRef(null), g = B.useRef(null), y = B.useRef(null), x = B.useRef(null), w = B.useRef(!1), S = B.useRef(null), b = gn(Qa(n), S), m = B.useRef(null);
|
|
7311
7311
|
B.useEffect(() => {
|
|
7312
7312
|
!f || !S.current || (w.current = !r);
|
|
7313
7313
|
}, [r, f]), B.useEffect(() => {
|
|
@@ -7442,7 +7442,7 @@ const Ma = /* @__PURE__ */ B.forwardRef(function(n, r) {
|
|
|
7442
7442
|
children: i,
|
|
7443
7443
|
container: s,
|
|
7444
7444
|
disablePortal: a = !1
|
|
7445
|
-
} = n, [c, f] = B.useState(null), d =
|
|
7445
|
+
} = n, [c, f] = B.useState(null), d = gn(Qa(i), r);
|
|
7446
7446
|
if (qr(() => {
|
|
7447
7447
|
a || f(j_(s) || document.body);
|
|
7448
7448
|
}, [s, a]), qr(() => {
|
|
@@ -7521,7 +7521,7 @@ function Jo(e, n) {
|
|
|
7521
7521
|
...d,
|
|
7522
7522
|
externalForwardedProps: e === "root" ? x : void 0,
|
|
7523
7523
|
externalSlotProps: S
|
|
7524
|
-
}), A =
|
|
7524
|
+
}), A = gn(M, S == null ? void 0 : S.ref, n.ref), R = c ? c(m) : {}, I = {
|
|
7525
7525
|
...s,
|
|
7526
7526
|
...R
|
|
7527
7527
|
}, _ = e === "root" ? b || h : b, L = tg(w, {
|
|
@@ -7748,7 +7748,7 @@ function J_(e) {
|
|
|
7748
7748
|
onClose: h,
|
|
7749
7749
|
open: g,
|
|
7750
7750
|
rootRef: y
|
|
7751
|
-
} = e, x = B.useRef({}), w = B.useRef(null), S = B.useRef(null), b =
|
|
7751
|
+
} = e, x = B.useRef({}), w = B.useRef(null), S = B.useRef(null), b = gn(S, y), [m, M] = B.useState(!g), A = X_(d);
|
|
7752
7752
|
let R = !0;
|
|
7753
7753
|
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (R = !1);
|
|
7754
7754
|
const I = () => Gn(w.current), _ = () => (x.current.modalRef = S.current, x.current.mount = w.current, x.current), L = () => {
|
|
@@ -7963,7 +7963,7 @@ const e5 = (e) => {
|
|
|
7963
7963
|
}),
|
|
7964
7964
|
className: Ne(a == null ? void 0 : a.className, ee == null ? void 0 : ee.backdrop),
|
|
7965
7965
|
ownerState: ue
|
|
7966
|
-
}), _e =
|
|
7966
|
+
}), _e = gn(a == null ? void 0 : a.ref, pe.ref);
|
|
7967
7967
|
return !_ && !N && (!ce || j) ? null : /* @__PURE__ */ ge.jsx(Ma, {
|
|
7968
7968
|
ref: he,
|
|
7969
7969
|
container: g,
|
|
@@ -8515,7 +8515,7 @@ const a5 = (e) => {
|
|
|
8515
8515
|
},
|
|
8516
8516
|
ownerState: H,
|
|
8517
8517
|
className: Ne(K.root, g)
|
|
8518
|
-
}), Te =
|
|
8518
|
+
}), Te = gn(N, ye.ref);
|
|
8519
8519
|
return /* @__PURE__ */ ge.jsx(me, {
|
|
8520
8520
|
...we,
|
|
8521
8521
|
...!au(me) && {
|
|
@@ -9411,7 +9411,7 @@ const E5 = Lt("MuiButtonBase", ["root", "disabled", "focusVisible"]), _5 = (e) =
|
|
|
9411
9411
|
touchRippleRef: oe,
|
|
9412
9412
|
type: Q,
|
|
9413
9413
|
...ie
|
|
9414
|
-
} = i, ae = B.useRef(null), he = m5(), V =
|
|
9414
|
+
} = i, ae = B.useRef(null), he = m5(), V = gn(he.ref, oe), [j, ce] = B.useState(!1);
|
|
9415
9415
|
h && j && ce(!1), B.useImperativeHandle(s, () => ({
|
|
9416
9416
|
focusVisible: () => {
|
|
9417
9417
|
ce(!0), ae.current.focus();
|
|
@@ -9446,7 +9446,7 @@ const E5 = Lt("MuiButtonBase", ["root", "disabled", "focusVisible"]), _5 = (e) =
|
|
|
9446
9446
|
Le === "button" && (ie.href || ie.to) && (Le = S);
|
|
9447
9447
|
const He = {};
|
|
9448
9448
|
Le === "button" ? (He.type = Q === void 0 ? "button" : Q, He.disabled = h) : (!ie.href && !ie.to && (He.role = "button"), h && (He["aria-disabled"] = h));
|
|
9449
|
-
const X =
|
|
9449
|
+
const X = gn(r, ae), fe = {
|
|
9450
9450
|
...i,
|
|
9451
9451
|
centerRipple: a,
|
|
9452
9452
|
component: d,
|
|
@@ -10291,7 +10291,7 @@ const $i = Lt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
10291
10291
|
dense: b.dense,
|
|
10292
10292
|
divider: f,
|
|
10293
10293
|
disableGutters: d
|
|
10294
|
-
}, A = V5(i), R =
|
|
10294
|
+
}, A = V5(i), R = gn(m, r);
|
|
10295
10295
|
let I;
|
|
10296
10296
|
return i.disabled || (I = y !== void 0 ? y : -1), /* @__PURE__ */ ge.jsx(Zo.Provider, {
|
|
10297
10297
|
value: b,
|
|
@@ -10788,10 +10788,10 @@ function ni({
|
|
|
10788
10788
|
...f
|
|
10789
10789
|
}) {
|
|
10790
10790
|
return /* @__PURE__ */ Ie(ag, { flexWrap: "wrap", p: 3, gap: 1, ...f, children: [
|
|
10791
|
-
/* @__PURE__ */ E(
|
|
10791
|
+
/* @__PURE__ */ E(hn, { children: /* @__PURE__ */ Ie(Kn, { alignItems: "center", children: [
|
|
10792
10792
|
i ? /* @__PURE__ */ E(d_, { children: i }) : null,
|
|
10793
10793
|
/* @__PURE__ */ Ie(Kn, { flexDirection: "column", children: [
|
|
10794
|
-
/* @__PURE__ */ E(
|
|
10794
|
+
/* @__PURE__ */ E(hn, { fontSize: 14, component: X5, ...r, children: n }),
|
|
10795
10795
|
/* @__PURE__ */ E(Mr, { color: "text.secondary", children: a })
|
|
10796
10796
|
] })
|
|
10797
10797
|
] }) }),
|
|
@@ -11043,7 +11043,7 @@ var l4 = { exports: {} };
|
|
|
11043
11043
|
(function(e, n) {
|
|
11044
11044
|
(function(r, i) {
|
|
11045
11045
|
e.exports = i(tt);
|
|
11046
|
-
})(
|
|
11046
|
+
})(Sn, function(r) {
|
|
11047
11047
|
function i(c) {
|
|
11048
11048
|
return c && typeof c == "object" && "default" in c ? c : { default: c };
|
|
11049
11049
|
}
|
|
@@ -11057,7 +11057,7 @@ var c4 = { exports: {} };
|
|
|
11057
11057
|
(function(e, n) {
|
|
11058
11058
|
(function(r, i) {
|
|
11059
11059
|
e.exports = i();
|
|
11060
|
-
})(
|
|
11060
|
+
})(Sn, function() {
|
|
11061
11061
|
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(r) {
|
|
11062
11062
|
var i = ["th", "st", "nd", "rd"], s = r % 100;
|
|
11063
11063
|
return "[" + r + (i[(s - 20) % 10] || i[s] || i[0]) + "]";
|
|
@@ -11572,7 +11572,7 @@ function mO({
|
|
|
11572
11572
|
if (S)
|
|
11573
11573
|
return S(H, K, re, J);
|
|
11574
11574
|
const oe = _ == null ? void 0 : _(K), Q = L == null ? void 0 : L(K);
|
|
11575
|
-
return /* @__PURE__ */ Ie(
|
|
11575
|
+
return /* @__PURE__ */ Ie(hn, { ...H, component: "li", sx: {
|
|
11576
11576
|
"&.MuiAutocomplete-option": {
|
|
11577
11577
|
gap: 0.3,
|
|
11578
11578
|
flexDirection: s,
|
|
@@ -11782,7 +11782,7 @@ function kg({
|
|
|
11782
11782
|
flex: 1,
|
|
11783
11783
|
display: "flex",
|
|
11784
11784
|
flexDirection: "column"
|
|
11785
|
-
}, defaultSaveMode: "save-close", onCommands: (f) => /* @__PURE__ */ E(Mg, { ...f }), onContentLayout: (f) => /* @__PURE__ */ E(
|
|
11785
|
+
}, defaultSaveMode: "save-close", onCommands: (f) => /* @__PURE__ */ E(Mg, { ...f }), onContentLayout: (f) => /* @__PURE__ */ E(hn, { sx: {
|
|
11786
11786
|
flex: 1,
|
|
11787
11787
|
position: "relative"
|
|
11788
11788
|
}, children: /* @__PURE__ */ Ie(qu, { style: {
|
|
@@ -12408,7 +12408,7 @@ function jO({
|
|
|
12408
12408
|
const {
|
|
12409
12409
|
size: r
|
|
12410
12410
|
} = ef();
|
|
12411
|
-
return /* @__PURE__ */ E(
|
|
12411
|
+
return /* @__PURE__ */ E(hn, { p: Ca[r], ...n, children: e });
|
|
12412
12412
|
}
|
|
12413
12413
|
function HO(e) {
|
|
12414
12414
|
return /* @__PURE__ */ E(a0, { sx: {
|
|
@@ -12499,8 +12499,8 @@ function nr({
|
|
|
12499
12499
|
}, D = () => {
|
|
12500
12500
|
const N = A === "bottom" ? _() : null;
|
|
12501
12501
|
return /* @__PURE__ */ Ie(Ot, { children: [
|
|
12502
|
-
N ? /* @__PURE__ */ E(
|
|
12503
|
-
c ? /* @__PURE__ */ E(
|
|
12502
|
+
N ? /* @__PURE__ */ E(hn, { p: Ca[y], children: N }) : null,
|
|
12503
|
+
c ? /* @__PURE__ */ E(hn, { p: Ca[y], children: c }) : null
|
|
12504
12504
|
] });
|
|
12505
12505
|
}, Y = () => /* @__PURE__ */ E(YO, { style: {
|
|
12506
12506
|
visibility: f ? "visible" : "hidden"
|
|
@@ -13552,7 +13552,7 @@ const Zg = () => ({
|
|
|
13552
13552
|
debounceTime: 400,
|
|
13553
13553
|
rowKey: "id",
|
|
13554
13554
|
pageSizes: [25, 50, 75, 150]
|
|
13555
|
-
}), dM = Zg(), Jg = kt.createContext(dM),
|
|
13555
|
+
}), dM = Zg(), Jg = kt.createContext(dM), mn = () => Pr(Jg), Qg = kt.createContext(null), pM = () => Pr(Qg);
|
|
13556
13556
|
function em() {
|
|
13557
13557
|
const {
|
|
13558
13558
|
loading: e,
|
|
@@ -13620,7 +13620,7 @@ function hM(e) {
|
|
|
13620
13620
|
delete: R,
|
|
13621
13621
|
newItem: I
|
|
13622
13622
|
}
|
|
13623
|
-
} =
|
|
13623
|
+
} = mn(), {
|
|
13624
13624
|
visible: _,
|
|
13625
13625
|
disabled: L,
|
|
13626
13626
|
loading: D,
|
|
@@ -13784,7 +13784,7 @@ function gM({
|
|
|
13784
13784
|
delete: S,
|
|
13785
13785
|
newItem: b
|
|
13786
13786
|
}
|
|
13787
|
-
} =
|
|
13787
|
+
} = mn();
|
|
13788
13788
|
Or(y, e, {
|
|
13789
13789
|
enabled: !f.save && h.save && !d,
|
|
13790
13790
|
description: g("savetitle"),
|
|
@@ -13853,15 +13853,15 @@ function yM({
|
|
|
13853
13853
|
nextStep: A,
|
|
13854
13854
|
prevStep: R
|
|
13855
13855
|
}
|
|
13856
|
-
} =
|
|
13856
|
+
} = mn(), I = EO({
|
|
13857
13857
|
groupName: w
|
|
13858
13858
|
}), _ = () => d ? /* @__PURE__ */ E(Kr, { variant: "outlined", onClick: a, startIcon: /* @__PURE__ */ E(UC, {}), color: "secondary", disabled: g, title: `${M("prevstep")}
|
|
13859
13859
|
(${R.toUpperCase()})`, children: i }, "prev") : null, L = () => f ? /* @__PURE__ */ E(Qo, { onClick: s, color: "primary", loading: x, disabled: I || h, endIcon: /* @__PURE__ */ E(VC, {}), title: `${M("nextstep")}
|
|
13860
13860
|
(${A.toUpperCase()})`, children: r }, "next") : null, D = () => m && b.length === S + 1 ? /* @__PURE__ */ E(Qo, { onClick: c, color: "success", loading: x, disabled: I || y, startIcon: /* @__PURE__ */ E(ga, {}), children: M("finish") }, "finish") : null;
|
|
13861
13861
|
return /* @__PURE__ */ E(Ot, { children: (() => {
|
|
13862
13862
|
const C = _(), N = L(), H = D(), K = /* @__PURE__ */ Ie(ag, { width: "100%", children: [
|
|
13863
|
-
/* @__PURE__ */ E(
|
|
13864
|
-
/* @__PURE__ */ Ie(
|
|
13863
|
+
/* @__PURE__ */ E(hn, { children: C }),
|
|
13864
|
+
/* @__PURE__ */ Ie(hn, { children: [
|
|
13865
13865
|
H,
|
|
13866
13866
|
N
|
|
13867
13867
|
] })
|
|
@@ -13916,18 +13916,20 @@ function xM({
|
|
|
13916
13916
|
label: r,
|
|
13917
13917
|
helperText: i,
|
|
13918
13918
|
error: s,
|
|
13919
|
-
invalid: a
|
|
13919
|
+
invalid: a,
|
|
13920
|
+
labelProps: c,
|
|
13921
|
+
wrapperProps: f
|
|
13920
13922
|
}) {
|
|
13921
|
-
const
|
|
13922
|
-
return /* @__PURE__ */ Ie(
|
|
13923
|
+
const d = () => s ? /* @__PURE__ */ E(eo, { message: /* @__PURE__ */ E(c0, { error: !0, children: s.message }) }) : null;
|
|
13924
|
+
return /* @__PURE__ */ Ie(hn, { children: [
|
|
13923
13925
|
(() => {
|
|
13924
|
-
const
|
|
13926
|
+
const g = /* @__PURE__ */ Ie(hn, { ...c, children: [
|
|
13925
13927
|
/* @__PURE__ */ E(Z5, { fontWeight: 500, lineHeight: 1, color: a ? "error.main" : "text.primary", children: r }),
|
|
13926
13928
|
i ? /* @__PURE__ */ E(Mr, { color: "text.secondary", children: i }) : null
|
|
13927
13929
|
] }, "label");
|
|
13928
|
-
return /* @__PURE__ */ E(Kn, { alignItems: e === "left" || e === "right" ? "center" : "flex-start", justifyContent: e === "right" ? "space-between" : "flex-start", flexDirection: e === "left" || e === "right" ? "row" : "column", gap: 1, children: e === "left" || e === "top" ? [n,
|
|
13930
|
+
return /* @__PURE__ */ E(Kn, { alignItems: e === "left" || e === "right" ? "center" : "flex-start", justifyContent: e === "right" ? "space-between" : "flex-start", flexDirection: e === "left" || e === "right" ? "row" : "column", gap: 1, ...f, children: e === "left" || e === "top" ? [n, g] : [g, n] });
|
|
13929
13931
|
})(),
|
|
13930
|
-
|
|
13932
|
+
d()
|
|
13931
13933
|
] });
|
|
13932
13934
|
}
|
|
13933
13935
|
function SM({
|
|
@@ -14044,7 +14046,7 @@ function OM({
|
|
|
14044
14046
|
const {
|
|
14045
14047
|
decimalSeparator: s,
|
|
14046
14048
|
thousandSeparator: a
|
|
14047
|
-
} =
|
|
14049
|
+
} = mn();
|
|
14048
14050
|
return /* @__PURE__ */ E(Sw, { customInput: Da, allowNegative: !1, decimalScale: 0, thousandSeparator: a, decimalSeparator: s, allowedDecimalSeparators: [","], fixedDecimalScale: !0, getInputRef: r, sx: {
|
|
14049
14051
|
"& .MuiInputBase-input": {
|
|
14050
14052
|
textAlign: "right",
|
|
@@ -14188,7 +14190,7 @@ const am = /* @__PURE__ */ B.forwardRef(function(n, r) {
|
|
|
14188
14190
|
...d
|
|
14189
14191
|
} = n, {
|
|
14190
14192
|
current: h
|
|
14191
|
-
} = B.useRef(f != null), g = B.useRef(null), y =
|
|
14193
|
+
} = B.useRef(f != null), g = B.useRef(null), y = gn(r, g), x = B.useRef(null), w = B.useRef(null), S = B.useCallback(() => {
|
|
14192
14194
|
const M = g.current, R = go(M).getComputedStyle(M);
|
|
14193
14195
|
if (R.width === "0px")
|
|
14194
14196
|
return {
|
|
@@ -14567,7 +14569,7 @@ const HM = (e, n) => {
|
|
|
14567
14569
|
} = B.useRef(xe != null), Te = B.useRef(), pe = B.useCallback((rt) => {
|
|
14568
14570
|
process.env.NODE_ENV !== "production" && rt && rt.nodeName !== "INPUT" && !rt.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
14569
14571
|
`));
|
|
14570
|
-
}, []), _e =
|
|
14572
|
+
}, []), _e = gn(Te, I, R.ref, pe), [U, Me] = B.useState(!1), F = UM();
|
|
14571
14573
|
process.env.NODE_ENV !== "production" && B.useEffect(() => {
|
|
14572
14574
|
if (F)
|
|
14573
14575
|
return F.registerEffect();
|
|
@@ -15256,7 +15258,7 @@ Pa.exports;
|
|
|
15256
15258
|
"\r": "r",
|
|
15257
15259
|
"\u2028": "u2028",
|
|
15258
15260
|
"\u2029": "u2029"
|
|
15259
|
-
}, c1 = parseFloat, u1 = parseInt, Rf = typeof
|
|
15261
|
+
}, c1 = parseFloat, u1 = parseInt, Rf = typeof Sn == "object" && Sn && Sn.Object === Object && Sn, f1 = typeof self == "object" && self && self.Object === Object && self, Qt = Rf || f1 || Function("return this")(), Sl = n && !n.nodeType && n, to = Sl && !0 && e && !e.nodeType && e, Of = to && to.exports === Sl, Cl = Of && Rf.process, Ln = function() {
|
|
15260
15262
|
try {
|
|
15261
15263
|
var z = to && to.require && to.require("util").types;
|
|
15262
15264
|
return z || Cl && Cl.binding && Cl.binding("util");
|
|
@@ -15623,7 +15625,7 @@ Pa.exports;
|
|
|
15623
15625
|
}
|
|
15624
15626
|
function ny() {
|
|
15625
15627
|
var t = new Qe(this.__wrapped__);
|
|
15626
|
-
return t.__actions__ =
|
|
15628
|
+
return t.__actions__ = yn(this.__actions__), t.__dir__ = this.__dir__, t.__filtered__ = this.__filtered__, t.__iteratees__ = yn(this.__iteratees__), t.__takeCount__ = this.__takeCount__, t.__views__ = yn(this.__views__), t;
|
|
15627
15629
|
}
|
|
15628
15630
|
function ry() {
|
|
15629
15631
|
if (this.__filtered__) {
|
|
@@ -15800,10 +15802,10 @@ Pa.exports;
|
|
|
15800
15802
|
return o ? t[Yl(0, o - 1)] : r;
|
|
15801
15803
|
}
|
|
15802
15804
|
function Ry(t, o) {
|
|
15803
|
-
return Gs(
|
|
15805
|
+
return Gs(yn(t), io(o, 0, t.length));
|
|
15804
15806
|
}
|
|
15805
15807
|
function Oy(t) {
|
|
15806
|
-
return Gs(
|
|
15808
|
+
return Gs(yn(t));
|
|
15807
15809
|
}
|
|
15808
15810
|
function Ll(t, o, l) {
|
|
15809
15811
|
(l !== r && !Qn(t[o], l) || l === r && !(o in t)) && br(t, o, l);
|
|
@@ -15827,7 +15829,7 @@ Pa.exports;
|
|
|
15827
15829
|
return t && ir(o, Kt(o), t);
|
|
15828
15830
|
}
|
|
15829
15831
|
function Iy(t, o) {
|
|
15830
|
-
return t && ir(o,
|
|
15832
|
+
return t && ir(o, bn(o), t);
|
|
15831
15833
|
}
|
|
15832
15834
|
function br(t, o, l) {
|
|
15833
15835
|
o == "__proto__" && Os ? Os(t, o, {
|
|
@@ -15854,7 +15856,7 @@ Pa.exports;
|
|
|
15854
15856
|
var ne = Be(t);
|
|
15855
15857
|
if (ne) {
|
|
15856
15858
|
if (k = vv(t), !$)
|
|
15857
|
-
return
|
|
15859
|
+
return yn(t, k);
|
|
15858
15860
|
} else {
|
|
15859
15861
|
var se = an(t), ve = se == U || se == Me;
|
|
15860
15862
|
if (Yr(t))
|
|
@@ -15877,7 +15879,7 @@ Pa.exports;
|
|
|
15877
15879
|
}) : yp(t) && t.forEach(function($e, Xe) {
|
|
15878
15880
|
k.set(Xe, Bn($e, o, l, Xe, t, O));
|
|
15879
15881
|
});
|
|
15880
|
-
var Pe = te ? W ? rc : nc : W ?
|
|
15882
|
+
var Pe = te ? W ? rc : nc : W ? bn : Kt, Ve = ne ? r : Pe(t);
|
|
15881
15883
|
return Nn(Ve || t, function($e, Xe) {
|
|
15882
15884
|
Ve && (Xe = $e, $e = t[Xe]), bi(k, Xe, Bn($e, o, l, Xe, t, O));
|
|
15883
15885
|
}), k;
|
|
@@ -16102,7 +16104,7 @@ Pa.exports;
|
|
|
16102
16104
|
return Pt(t) && Qs(t.length) && !!Tt[un(t)];
|
|
16103
16105
|
}
|
|
16104
16106
|
function ud(t) {
|
|
16105
|
-
return typeof t == "function" ? t : t == null ?
|
|
16107
|
+
return typeof t == "function" ? t : t == null ? xn : typeof t == "object" ? Be(t) ? pd(t[0], t[1]) : dd(t) : Ap(t);
|
|
16106
16108
|
}
|
|
16107
16109
|
function Vl(t) {
|
|
16108
16110
|
if (!Ei(t))
|
|
@@ -16124,7 +16126,7 @@ Pa.exports;
|
|
|
16124
16126
|
return t < o;
|
|
16125
16127
|
}
|
|
16126
16128
|
function fd(t, o) {
|
|
16127
|
-
var l = -1, p =
|
|
16129
|
+
var l = -1, p = vn(t) ? G(t.length) : [];
|
|
16128
16130
|
return Ur(t, function(v, O, k) {
|
|
16129
16131
|
p[++l] = o(v, O, k);
|
|
16130
16132
|
}), p;
|
|
@@ -16149,7 +16151,7 @@ Pa.exports;
|
|
|
16149
16151
|
var $ = p ? p(cc(t, k), O, k + "", t, o, v) : r;
|
|
16150
16152
|
$ === r && ($ = O), Ll(t, k, $);
|
|
16151
16153
|
}
|
|
16152
|
-
},
|
|
16154
|
+
}, bn);
|
|
16153
16155
|
}
|
|
16154
16156
|
function Yy(t, o, l, p, v, O, k) {
|
|
16155
16157
|
var $ = cc(t, l), W = cc(o, l), te = k.get(W);
|
|
@@ -16160,7 +16162,7 @@ Pa.exports;
|
|
|
16160
16162
|
var ne = O ? O($, W, l + "", t, o, k) : r, se = ne === r;
|
|
16161
16163
|
if (se) {
|
|
16162
16164
|
var ve = Be(W), Oe = !ve && Yr(W), Pe = !ve && !Oe && Ao(W);
|
|
16163
|
-
ne = W, ve || Oe || Pe ? Be($) ? ne = $ : Ft($) ? ne =
|
|
16165
|
+
ne = W, ve || Oe || Pe ? Be($) ? ne = $ : Ft($) ? ne = yn($) : Oe ? (se = !1, ne = Ed(W, !0)) : Pe ? (se = !1, ne = _d(W, !0)) : ne = [] : Ri(W) || co(W) ? (ne = $, co($) ? ne = Cp($) : (!It($) || wr($)) && (ne = jd(W))) : se = !1;
|
|
16164
16166
|
}
|
|
16165
16167
|
se && (k.set(W, ne), v(ne, W, p, O, k), k.delete(W)), Ll(t, l, ne);
|
|
16166
16168
|
}
|
|
@@ -16174,7 +16176,7 @@ Pa.exports;
|
|
|
16174
16176
|
return Be(O) ? function(k) {
|
|
16175
16177
|
return so(k, O.length === 1 ? O[0] : O);
|
|
16176
16178
|
} : O;
|
|
16177
|
-
}) : o = [
|
|
16179
|
+
}) : o = [xn];
|
|
16178
16180
|
var p = -1;
|
|
16179
16181
|
o = Et(o, _n(Ae()));
|
|
16180
16182
|
var v = fd(t, function(O, k, $) {
|
|
@@ -16206,7 +16208,7 @@ Pa.exports;
|
|
|
16206
16208
|
}
|
|
16207
16209
|
function Hl(t, o, l, p) {
|
|
16208
16210
|
var v = p ? v1 : So, O = -1, k = o.length, $ = t;
|
|
16209
|
-
for (t === o && (o =
|
|
16211
|
+
for (t === o && (o = yn(o)), l && ($ = Et(t, _n(l))); ++O < k; )
|
|
16210
16212
|
for (var W = 0, te = o[O], ne = l ? l(te) : te; (W = v($, ne, W, p)) > -1; )
|
|
16211
16213
|
$ !== t && Rs.call($, W, 1), Rs.call(t, W, 1);
|
|
16212
16214
|
return t;
|
|
@@ -16239,7 +16241,7 @@ Pa.exports;
|
|
|
16239
16241
|
return l;
|
|
16240
16242
|
}
|
|
16241
16243
|
function Ge(t, o) {
|
|
16242
|
-
return uc(Gd(t, o,
|
|
16244
|
+
return uc(Gd(t, o, xn), t + "");
|
|
16243
16245
|
}
|
|
16244
16246
|
function Xy(t) {
|
|
16245
16247
|
return ed(Po(t));
|
|
@@ -16266,14 +16268,14 @@ Pa.exports;
|
|
|
16266
16268
|
}
|
|
16267
16269
|
var vd = ks ? function(t, o) {
|
|
16268
16270
|
return ks.set(t, o), t;
|
|
16269
|
-
} :
|
|
16271
|
+
} : xn, Jy = Os ? function(t, o) {
|
|
16270
16272
|
return Os(t, "toString", {
|
|
16271
16273
|
configurable: !0,
|
|
16272
16274
|
enumerable: !1,
|
|
16273
16275
|
value: xc(o),
|
|
16274
16276
|
writable: !0
|
|
16275
16277
|
});
|
|
16276
|
-
} :
|
|
16278
|
+
} : xn;
|
|
16277
16279
|
function Qy(t) {
|
|
16278
16280
|
return Gs(Po(t));
|
|
16279
16281
|
}
|
|
@@ -16299,7 +16301,7 @@ Pa.exports;
|
|
|
16299
16301
|
}
|
|
16300
16302
|
return v;
|
|
16301
16303
|
}
|
|
16302
|
-
return Kl(t, o,
|
|
16304
|
+
return Kl(t, o, xn, l);
|
|
16303
16305
|
}
|
|
16304
16306
|
function Kl(t, o, l, p) {
|
|
16305
16307
|
var v = 0, O = t == null ? 0 : t.length;
|
|
@@ -16398,7 +16400,7 @@ Pa.exports;
|
|
|
16398
16400
|
return Ft(t) ? t : [];
|
|
16399
16401
|
}
|
|
16400
16402
|
function Jl(t) {
|
|
16401
|
-
return typeof t == "function" ? t :
|
|
16403
|
+
return typeof t == "function" ? t : xn;
|
|
16402
16404
|
}
|
|
16403
16405
|
function jr(t, o) {
|
|
16404
16406
|
return Be(t) ? t : ac(t, o) ? [t] : Jd(at(t));
|
|
@@ -16476,7 +16478,7 @@ Pa.exports;
|
|
|
16476
16478
|
(ve || v < O) && (se[Oe + l[k]] = t[v++]);
|
|
16477
16479
|
return se;
|
|
16478
16480
|
}
|
|
16479
|
-
function
|
|
16481
|
+
function yn(t, o) {
|
|
16480
16482
|
var l = -1, p = t.length;
|
|
16481
16483
|
for (o || (o = G(p)); ++l < p; )
|
|
16482
16484
|
o[l] = t[l];
|
|
@@ -16517,7 +16519,7 @@ Pa.exports;
|
|
|
16517
16519
|
return function(l, p) {
|
|
16518
16520
|
if (l == null)
|
|
16519
16521
|
return l;
|
|
16520
|
-
if (!
|
|
16522
|
+
if (!vn(l))
|
|
16521
16523
|
return t(l, p);
|
|
16522
16524
|
for (var v = l.length, O = o ? v : -1, k = vt(l); (o ? O-- : ++O < v) && p(k[O], O, k) !== !1; )
|
|
16523
16525
|
;
|
|
@@ -16606,7 +16608,7 @@ Pa.exports;
|
|
|
16606
16608
|
function Pd(t) {
|
|
16607
16609
|
return function(o, l, p) {
|
|
16608
16610
|
var v = vt(o);
|
|
16609
|
-
if (!
|
|
16611
|
+
if (!vn(o)) {
|
|
16610
16612
|
var O = Ae(l, 3);
|
|
16611
16613
|
o = Kt(o), l = function($) {
|
|
16612
16614
|
return O(v[$], $, v);
|
|
@@ -16903,7 +16905,7 @@ Pa.exports;
|
|
|
16903
16905
|
return ad(t, Kt, sc);
|
|
16904
16906
|
}
|
|
16905
16907
|
function rc(t) {
|
|
16906
|
-
return ad(t,
|
|
16908
|
+
return ad(t, bn, Ud);
|
|
16907
16909
|
}
|
|
16908
16910
|
var oc = ks ? function(t) {
|
|
16909
16911
|
return ks.get(t);
|
|
@@ -17069,7 +17071,7 @@ Pa.exports;
|
|
|
17069
17071
|
if (!It(l))
|
|
17070
17072
|
return !1;
|
|
17071
17073
|
var p = typeof o;
|
|
17072
|
-
return (p == "number" ?
|
|
17074
|
+
return (p == "number" ? vn(l) && Cr(o, l.length) : p == "string" && o in l) ? Qn(l[o], t) : !1;
|
|
17073
17075
|
}
|
|
17074
17076
|
function ac(t, o) {
|
|
17075
17077
|
if (Be(t))
|
|
@@ -17148,7 +17150,7 @@ Pa.exports;
|
|
|
17148
17150
|
return o.length < 2 ? t : so(t, Wn(o, 0, -1));
|
|
17149
17151
|
}
|
|
17150
17152
|
function Mv(t, o) {
|
|
17151
|
-
for (var l = t.length, p = sn(o.length, l), v =
|
|
17153
|
+
for (var l = t.length, p = sn(o.length, l), v = yn(t); p--; ) {
|
|
17152
17154
|
var O = o[p];
|
|
17153
17155
|
t[p] = Cr(O, l) ? v[O] : r;
|
|
17154
17156
|
}
|
|
@@ -17220,7 +17222,7 @@ Pa.exports;
|
|
|
17220
17222
|
if (t instanceof Qe)
|
|
17221
17223
|
return t.clone();
|
|
17222
17224
|
var o = new zn(t.__wrapped__, t.__chain__);
|
|
17223
|
-
return o.__actions__ =
|
|
17225
|
+
return o.__actions__ = yn(t.__actions__), o.__index__ = t.__index__, o.__values__ = t.__values__, o;
|
|
17224
17226
|
}
|
|
17225
17227
|
function kv(t, o, l) {
|
|
17226
17228
|
(l ? fn(t, o, l) : o === r) ? o = 1 : o = Yt(Ue(o), 0);
|
|
@@ -17244,7 +17246,7 @@ Pa.exports;
|
|
|
17244
17246
|
return [];
|
|
17245
17247
|
for (var o = G(t - 1), l = arguments[0], p = t; p--; )
|
|
17246
17248
|
o[p - 1] = arguments[p];
|
|
17247
|
-
return zr(Be(l) ?
|
|
17249
|
+
return zr(Be(l) ? yn(l) : [l], en(o, 1));
|
|
17248
17250
|
}
|
|
17249
17251
|
var $v = Ge(function(t, o) {
|
|
17250
17252
|
return Ft(t) ? xi(t, en(o, 1, Ft, !0)) : [];
|
|
@@ -17585,12 +17587,12 @@ Pa.exports;
|
|
|
17585
17587
|
yt.call(t, l) ? t[l].push(o) : br(t, l, [o]);
|
|
17586
17588
|
});
|
|
17587
17589
|
function Xb(t, o, l, p) {
|
|
17588
|
-
t =
|
|
17590
|
+
t = vn(t) ? t : Po(t), l = l && !p ? Ue(l) : 0;
|
|
17589
17591
|
var v = t.length;
|
|
17590
17592
|
return l < 0 && (l = Yt(v + l, 0)), ea(t) ? l <= v && t.indexOf(o, l) > -1 : !!v && So(t, o, l) > -1;
|
|
17591
17593
|
}
|
|
17592
17594
|
var Zb = Ge(function(t, o, l) {
|
|
17593
|
-
var p = -1, v = typeof o == "function", O =
|
|
17595
|
+
var p = -1, v = typeof o == "function", O = vn(t) ? G(t.length) : [];
|
|
17594
17596
|
return Ur(t, function(k) {
|
|
17595
17597
|
O[++p] = v ? En(o, k, l) : Si(k, o, l);
|
|
17596
17598
|
}), O;
|
|
@@ -17637,7 +17639,7 @@ Pa.exports;
|
|
|
17637
17639
|
function a2(t) {
|
|
17638
17640
|
if (t == null)
|
|
17639
17641
|
return 0;
|
|
17640
|
-
if (
|
|
17642
|
+
if (vn(t))
|
|
17641
17643
|
return ea(t) ? wo(t) : t.length;
|
|
17642
17644
|
var o = an(t);
|
|
17643
17645
|
return o == F || o == fe ? t.size : Vl(t).length;
|
|
@@ -17864,11 +17866,11 @@ Pa.exports;
|
|
|
17864
17866
|
}()) ? ld : function(t) {
|
|
17865
17867
|
return Pt(t) && yt.call(t, "callee") && !Kf.call(t, "callee");
|
|
17866
17868
|
}, Be = G.isArray, I2 = Mf ? _n(Mf) : Fy;
|
|
17867
|
-
function
|
|
17869
|
+
function vn(t) {
|
|
17868
17870
|
return t != null && Qs(t.length) && !wr(t);
|
|
17869
17871
|
}
|
|
17870
17872
|
function Ft(t) {
|
|
17871
|
-
return Pt(t) &&
|
|
17873
|
+
return Pt(t) && vn(t);
|
|
17872
17874
|
}
|
|
17873
17875
|
function k2(t) {
|
|
17874
17876
|
return t === !0 || t === !1 || Pt(t) && un(t) == we;
|
|
@@ -17880,7 +17882,7 @@ Pa.exports;
|
|
|
17880
17882
|
function $2(t) {
|
|
17881
17883
|
if (t == null)
|
|
17882
17884
|
return !0;
|
|
17883
|
-
if (
|
|
17885
|
+
if (vn(t) && (Be(t) || typeof t == "string" || typeof t.splice == "function" || Yr(t) || Ao(t) || co(t)))
|
|
17884
17886
|
return !t.length;
|
|
17885
17887
|
var o = an(t);
|
|
17886
17888
|
if (o == F || o == fe)
|
|
@@ -17988,8 +17990,8 @@ Pa.exports;
|
|
|
17988
17990
|
function xp(t) {
|
|
17989
17991
|
if (!t)
|
|
17990
17992
|
return [];
|
|
17991
|
-
if (
|
|
17992
|
-
return ea(t) ? Zn(t) :
|
|
17993
|
+
if (vn(t))
|
|
17994
|
+
return ea(t) ? Zn(t) : yn(t);
|
|
17993
17995
|
if (hi && t[hi])
|
|
17994
17996
|
return R1(t[hi]());
|
|
17995
17997
|
var o = an(t), l = o == F ? kl : o == fe ? bs : Po;
|
|
@@ -18027,7 +18029,7 @@ Pa.exports;
|
|
|
18027
18029
|
return l || Zt.test(t) ? u1(t.slice(2), l ? 2 : 8) : mt.test(t) ? V : +t;
|
|
18028
18030
|
}
|
|
18029
18031
|
function Cp(t) {
|
|
18030
|
-
return ir(t,
|
|
18032
|
+
return ir(t, bn(t));
|
|
18031
18033
|
}
|
|
18032
18034
|
function X2(t) {
|
|
18033
18035
|
return t ? io(Ue(t), -ae, ae) : t === 0 ? t : 0;
|
|
@@ -18036,16 +18038,16 @@ Pa.exports;
|
|
|
18036
18038
|
return t == null ? "" : Rn(t);
|
|
18037
18039
|
}
|
|
18038
18040
|
var Z2 = Mo(function(t, o) {
|
|
18039
|
-
if (Ei(o) ||
|
|
18041
|
+
if (Ei(o) || vn(o)) {
|
|
18040
18042
|
ir(o, Kt(o), t);
|
|
18041
18043
|
return;
|
|
18042
18044
|
}
|
|
18043
18045
|
for (var l in o)
|
|
18044
18046
|
yt.call(o, l) && bi(t, l, o[l]);
|
|
18045
18047
|
}), wp = Mo(function(t, o) {
|
|
18046
|
-
ir(o,
|
|
18048
|
+
ir(o, bn(o), t);
|
|
18047
18049
|
}), ta = Mo(function(t, o, l, p) {
|
|
18048
|
-
ir(o,
|
|
18050
|
+
ir(o, bn(o), t, p);
|
|
18049
18051
|
}), J2 = Mo(function(t, o, l, p) {
|
|
18050
18052
|
ir(o, Kt(o), t, p);
|
|
18051
18053
|
}), Q2 = Sr(Nl);
|
|
@@ -18057,7 +18059,7 @@ Pa.exports;
|
|
|
18057
18059
|
t = vt(t);
|
|
18058
18060
|
var l = -1, p = o.length, v = p > 2 ? o[2] : r;
|
|
18059
18061
|
for (v && fn(o[0], o[1], v) && (p = 1); ++l < p; )
|
|
18060
|
-
for (var O = o[l], k =
|
|
18062
|
+
for (var O = o[l], k = bn(O), $ = -1, W = k.length; ++$ < W; ) {
|
|
18061
18063
|
var te = k[$], ne = t[te];
|
|
18062
18064
|
(ne === r || Qn(ne, Eo[te]) && !yt.call(t, te)) && (t[te] = O[te]);
|
|
18063
18065
|
}
|
|
@@ -18072,10 +18074,10 @@ Pa.exports;
|
|
|
18072
18074
|
return Lf(t, Ae(o, 3), zl);
|
|
18073
18075
|
}
|
|
18074
18076
|
function ix(t, o) {
|
|
18075
|
-
return t == null ? t : Fl(t, Ae(o, 3),
|
|
18077
|
+
return t == null ? t : Fl(t, Ae(o, 3), bn);
|
|
18076
18078
|
}
|
|
18077
18079
|
function sx(t, o) {
|
|
18078
|
-
return t == null ? t : sd(t, Ae(o, 3),
|
|
18080
|
+
return t == null ? t : sd(t, Ae(o, 3), bn);
|
|
18079
18081
|
}
|
|
18080
18082
|
function ax(t, o) {
|
|
18081
18083
|
return t && or(t, Ae(o, 3));
|
|
@@ -18087,7 +18089,7 @@ Pa.exports;
|
|
|
18087
18089
|
return t == null ? [] : Ls(t, Kt(t));
|
|
18088
18090
|
}
|
|
18089
18091
|
function ux(t) {
|
|
18090
|
-
return t == null ? [] : Ls(t,
|
|
18092
|
+
return t == null ? [] : Ls(t, bn(t));
|
|
18091
18093
|
}
|
|
18092
18094
|
function yc(t, o, l) {
|
|
18093
18095
|
var p = t == null ? r : so(t, o);
|
|
@@ -18101,14 +18103,14 @@ Pa.exports;
|
|
|
18101
18103
|
}
|
|
18102
18104
|
var dx = Dd(function(t, o, l) {
|
|
18103
18105
|
o != null && typeof o.toString != "function" && (o = ws.call(o)), t[o] = l;
|
|
18104
|
-
}, xc(
|
|
18106
|
+
}, xc(xn)), px = Dd(function(t, o, l) {
|
|
18105
18107
|
o != null && typeof o.toString != "function" && (o = ws.call(o)), yt.call(t, o) ? t[o].push(l) : t[o] = [l];
|
|
18106
18108
|
}, Ae), hx = Ge(Si);
|
|
18107
18109
|
function Kt(t) {
|
|
18108
|
-
return
|
|
18110
|
+
return vn(t) ? Qf(t) : Vl(t);
|
|
18109
18111
|
}
|
|
18110
|
-
function
|
|
18111
|
-
return
|
|
18112
|
+
function bn(t) {
|
|
18113
|
+
return vn(t) ? Qf(t, !0) : Hy(t);
|
|
18112
18114
|
}
|
|
18113
18115
|
function gx(t, o) {
|
|
18114
18116
|
var l = {};
|
|
@@ -18169,7 +18171,7 @@ Pa.exports;
|
|
|
18169
18171
|
function wx(t, o, l, p) {
|
|
18170
18172
|
return p = typeof p == "function" ? p : r, t == null ? t : wi(t, o, l, p);
|
|
18171
18173
|
}
|
|
18172
|
-
var _p = Fd(Kt), Rp = Fd(
|
|
18174
|
+
var _p = Fd(Kt), Rp = Fd(bn);
|
|
18173
18175
|
function Tx(t, o, l) {
|
|
18174
18176
|
var p = Be(t), v = p || Yr(t) || Ao(t);
|
|
18175
18177
|
if (o = Ae(o, 4), l == null) {
|
|
@@ -18193,7 +18195,7 @@ Pa.exports;
|
|
|
18193
18195
|
return t == null ? [] : Il(t, Kt(t));
|
|
18194
18196
|
}
|
|
18195
18197
|
function Ox(t) {
|
|
18196
|
-
return t == null ? [] : Il(t,
|
|
18198
|
+
return t == null ? [] : Il(t, bn(t));
|
|
18197
18199
|
}
|
|
18198
18200
|
function Mx(t, o, l) {
|
|
18199
18201
|
return l === r && (l = o, o = r), l !== r && (l = Vn(l), l = l === l ? l : 0), o !== r && (o = Vn(o), o = o === o ? o : 0), io(Vn(t), o, l);
|
|
@@ -18428,7 +18430,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18428
18430
|
return t == null || t !== t ? o : t;
|
|
18429
18431
|
}
|
|
18430
18432
|
var lS = $d(), cS = $d(!0);
|
|
18431
|
-
function
|
|
18433
|
+
function xn(t) {
|
|
18432
18434
|
return t;
|
|
18433
18435
|
}
|
|
18434
18436
|
function Sc(t) {
|
|
@@ -18458,7 +18460,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18458
18460
|
t[$] = W, k && (t.prototype[$] = function() {
|
|
18459
18461
|
var te = this.__chain__;
|
|
18460
18462
|
if (O || te) {
|
|
18461
|
-
var ne = t(this.__wrapped__), se = ne.__actions__ =
|
|
18463
|
+
var ne = t(this.__wrapped__), se = ne.__actions__ = yn(this.__actions__);
|
|
18462
18464
|
return se.push({ func: W, args: arguments, thisArg: t }), ne.__chain__ = te, ne;
|
|
18463
18465
|
}
|
|
18464
18466
|
return W.apply(t, zr([this.value()], arguments));
|
|
@@ -18510,7 +18512,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18510
18512
|
return v;
|
|
18511
18513
|
}
|
|
18512
18514
|
function _S(t) {
|
|
18513
|
-
return Be(t) ? Et(t, sr) : On(t) ? [t] :
|
|
18515
|
+
return Be(t) ? Et(t, sr) : On(t) ? [t] : yn(Jd(at(t)));
|
|
18514
18516
|
}
|
|
18515
18517
|
function RS(t) {
|
|
18516
18518
|
var o = ++F1;
|
|
@@ -18522,19 +18524,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18522
18524
|
return t / o;
|
|
18523
18525
|
}, 1), kS = tc("floor");
|
|
18524
18526
|
function AS(t) {
|
|
18525
|
-
return t && t.length ? Ds(t,
|
|
18527
|
+
return t && t.length ? Ds(t, xn, Bl) : r;
|
|
18526
18528
|
}
|
|
18527
18529
|
function PS(t, o) {
|
|
18528
18530
|
return t && t.length ? Ds(t, Ae(o, 2), Bl) : r;
|
|
18529
18531
|
}
|
|
18530
18532
|
function $S(t) {
|
|
18531
|
-
return Ff(t,
|
|
18533
|
+
return Ff(t, xn);
|
|
18532
18534
|
}
|
|
18533
18535
|
function DS(t, o) {
|
|
18534
18536
|
return Ff(t, Ae(o, 2));
|
|
18535
18537
|
}
|
|
18536
18538
|
function LS(t) {
|
|
18537
|
-
return t && t.length ? Ds(t,
|
|
18539
|
+
return t && t.length ? Ds(t, xn, jl) : r;
|
|
18538
18540
|
}
|
|
18539
18541
|
function NS(t, o) {
|
|
18540
18542
|
return t && t.length ? Ds(t, Ae(o, 2), jl) : r;
|
|
@@ -18545,12 +18547,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18545
18547
|
return t - o;
|
|
18546
18548
|
}, 0);
|
|
18547
18549
|
function WS(t) {
|
|
18548
|
-
return t && t.length ? Ol(t,
|
|
18550
|
+
return t && t.length ? Ol(t, xn) : 0;
|
|
18549
18551
|
}
|
|
18550
18552
|
function US(t, o) {
|
|
18551
18553
|
return t && t.length ? Ol(t, Ae(o, 2)) : 0;
|
|
18552
18554
|
}
|
|
18553
|
-
return T.after = u2, T.ary = cp, T.assign = Z2, T.assignIn = wp, T.assignInWith = ta, T.assignWith = J2, T.at = Q2, T.before = up, T.bind = pc, T.bindAll = oS, T.bindKey = fp, T.castArray = C2, T.chain = sp, T.chunk = kv, T.compact = Av, T.concat = Pv, T.cond = iS, T.conforms = sS, T.constant = xc, T.countBy = Wb, T.create = ex, T.curry = dp, T.curryRight = pp, T.debounce = hp, T.defaults = tx, T.defaultsDeep = nx, T.defer = f2, T.delay = d2, T.difference = $v, T.differenceBy = Dv, T.differenceWith = Lv, T.drop = Nv, T.dropRight = Fv, T.dropRightWhile = zv, T.dropWhile = Bv, T.fill = Wv, T.filter = Vb, T.flatMap = Yb, T.flatMapDeep = Gb, T.flatMapDepth = Kb, T.flatten = np, T.flattenDeep = Uv, T.flattenDepth = Vv, T.flip = p2, T.flow = lS, T.flowRight = cS, T.fromPairs = jv, T.functions = cx, T.functionsIn = ux, T.groupBy = qb, T.initial = Yv, T.intersection = Gv, T.intersectionBy = Kv, T.intersectionWith = qv, T.invert = dx, T.invertBy = px, T.invokeMap = Zb, T.iteratee = Sc, T.keyBy = Jb, T.keys = Kt, T.keysIn =
|
|
18555
|
+
return T.after = u2, T.ary = cp, T.assign = Z2, T.assignIn = wp, T.assignInWith = ta, T.assignWith = J2, T.at = Q2, T.before = up, T.bind = pc, T.bindAll = oS, T.bindKey = fp, T.castArray = C2, T.chain = sp, T.chunk = kv, T.compact = Av, T.concat = Pv, T.cond = iS, T.conforms = sS, T.constant = xc, T.countBy = Wb, T.create = ex, T.curry = dp, T.curryRight = pp, T.debounce = hp, T.defaults = tx, T.defaultsDeep = nx, T.defer = f2, T.delay = d2, T.difference = $v, T.differenceBy = Dv, T.differenceWith = Lv, T.drop = Nv, T.dropRight = Fv, T.dropRightWhile = zv, T.dropWhile = Bv, T.fill = Wv, T.filter = Vb, T.flatMap = Yb, T.flatMapDeep = Gb, T.flatMapDepth = Kb, T.flatten = np, T.flattenDeep = Uv, T.flattenDepth = Vv, T.flip = p2, T.flow = lS, T.flowRight = cS, T.fromPairs = jv, T.functions = cx, T.functionsIn = ux, T.groupBy = qb, T.initial = Yv, T.intersection = Gv, T.intersectionBy = Kv, T.intersectionWith = qv, T.invert = dx, T.invertBy = px, T.invokeMap = Zb, T.iteratee = Sc, T.keyBy = Jb, T.keys = Kt, T.keysIn = bn, T.map = qs, T.mapKeys = gx, T.mapValues = mx, T.matches = uS, T.matchesProperty = fS, T.memoize = Zs, T.merge = yx, T.mergeWith = Tp, T.method = dS, T.methodOf = pS, T.mixin = Cc, T.negate = Js, T.nthArg = gS, T.omit = vx, T.omitBy = bx, T.once = h2, T.orderBy = Qb, T.over = mS, T.overArgs = g2, T.overEvery = yS, T.overSome = vS, T.partial = hc, T.partialRight = gp, T.partition = e2, T.pick = xx, T.pickBy = Ep, T.property = Ap, T.propertyOf = bS, T.pull = Qv, T.pullAll = op, T.pullAllBy = eb, T.pullAllWith = tb, T.pullAt = nb, T.range = xS, T.rangeRight = SS, T.rearg = m2, T.reject = r2, T.remove = rb, T.rest = y2, T.reverse = fc, T.sampleSize = i2, T.set = Cx, T.setWith = wx, T.shuffle = s2, T.slice = ob, T.sortBy = c2, T.sortedUniq = fb, T.sortedUniqBy = db, T.split = Yx, T.spread = v2, T.tail = pb, T.take = hb, T.takeRight = gb, T.takeRightWhile = mb, T.takeWhile = yb, T.tap = Ab, T.throttle = b2, T.thru = Ks, T.toArray = xp, T.toPairs = _p, T.toPairsIn = Rp, T.toPath = _S, T.toPlainObject = Cp, T.transform = Tx, T.unary = x2, T.union = vb, T.unionBy = bb, T.unionWith = xb, T.uniq = Sb, T.uniqBy = Cb, T.uniqWith = wb, T.unset = Ex, T.unzip = dc, T.unzipWith = ip, T.update = _x, T.updateWith = Rx, T.values = Po, T.valuesIn = Ox, T.without = Tb, T.words = Ip, T.wrap = S2, T.xor = Eb, T.xorBy = _b, T.xorWith = Rb, T.zip = Ob, T.zipObject = Mb, T.zipObjectDeep = Ib, T.zipWith = kb, T.entries = _p, T.entriesIn = Rp, T.extend = wp, T.extendWith = ta, Cc(T, T), T.add = OS, T.attempt = kp, T.camelCase = Ax, T.capitalize = Op, T.ceil = MS, T.clamp = Mx, T.clone = w2, T.cloneDeep = E2, T.cloneDeepWith = _2, T.cloneWith = T2, T.conformsTo = R2, T.deburr = Mp, T.defaultTo = aS, T.divide = IS, T.endsWith = Px, T.eq = Qn, T.escape = $x, T.escapeRegExp = Dx, T.every = Ub, T.find = jb, T.findIndex = ep, T.findKey = rx, T.findLast = Hb, T.findLastIndex = tp, T.findLastKey = ox, T.floor = kS, T.forEach = ap, T.forEachRight = lp, T.forIn = ix, T.forInRight = sx, T.forOwn = ax, T.forOwnRight = lx, T.get = yc, T.gt = O2, T.gte = M2, T.has = fx, T.hasIn = vc, T.head = rp, T.identity = xn, T.includes = Xb, T.indexOf = Hv, T.inRange = Ix, T.invoke = hx, T.isArguments = co, T.isArray = Be, T.isArrayBuffer = I2, T.isArrayLike = vn, T.isArrayLikeObject = Ft, T.isBoolean = k2, T.isBuffer = Yr, T.isDate = A2, T.isElement = P2, T.isEmpty = $2, T.isEqual = D2, T.isEqualWith = L2, T.isError = gc, T.isFinite = N2, T.isFunction = wr, T.isInteger = mp, T.isLength = Qs, T.isMap = yp, T.isMatch = F2, T.isMatchWith = z2, T.isNaN = B2, T.isNative = W2, T.isNil = V2, T.isNull = U2, T.isNumber = vp, T.isObject = It, T.isObjectLike = Pt, T.isPlainObject = Ri, T.isRegExp = mc, T.isSafeInteger = j2, T.isSet = bp, T.isString = ea, T.isSymbol = On, T.isTypedArray = Ao, T.isUndefined = H2, T.isWeakMap = Y2, T.isWeakSet = G2, T.join = Xv, T.kebabCase = Lx, T.last = Un, T.lastIndexOf = Zv, T.lowerCase = Nx, T.lowerFirst = Fx, T.lt = K2, T.lte = q2, T.max = AS, T.maxBy = PS, T.mean = $S, T.meanBy = DS, T.min = LS, T.minBy = NS, T.stubArray = Tc, T.stubFalse = Ec, T.stubObject = CS, T.stubString = wS, T.stubTrue = TS, T.multiply = FS, T.nth = Jv, T.noConflict = hS, T.noop = wc, T.now = Xs, T.pad = zx, T.padEnd = Bx, T.padStart = Wx, T.parseInt = Ux, T.random = kx, T.reduce = t2, T.reduceRight = n2, T.repeat = Vx, T.replace = jx, T.result = Sx, T.round = zS, T.runInContext = z, T.sample = o2, T.size = a2, T.snakeCase = Hx, T.some = l2, T.sortedIndex = ib, T.sortedIndexBy = sb, T.sortedIndexOf = ab, T.sortedLastIndex = lb, T.sortedLastIndexBy = cb, T.sortedLastIndexOf = ub, T.startCase = Gx, T.startsWith = Kx, T.subtract = BS, T.sum = WS, T.sumBy = US, T.template = qx, T.times = ES, T.toFinite = Tr, T.toInteger = Ue, T.toLength = Sp, T.toLower = Xx, T.toNumber = Vn, T.toSafeInteger = X2, T.toString = at, T.toUpper = Zx, T.trim = Jx, T.trimEnd = Qx, T.trimStart = eS, T.truncate = tS, T.unescape = nS, T.uniqueId = RS, T.upperCase = rS, T.upperFirst = bc, T.each = ap, T.eachRight = lp, T.first = rp, Cc(T, function() {
|
|
18554
18556
|
var t = {};
|
|
18555
18557
|
return or(T, function(o, l) {
|
|
18556
18558
|
yt.call(T.prototype, l) || (t[l] = o);
|
|
@@ -18588,7 +18590,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18588
18590
|
return this.__filtered__ ? new Qe(this) : this[l](1);
|
|
18589
18591
|
};
|
|
18590
18592
|
}), Qe.prototype.compact = function() {
|
|
18591
|
-
return this.filter(
|
|
18593
|
+
return this.filter(xn);
|
|
18592
18594
|
}, Qe.prototype.find = function(t) {
|
|
18593
18595
|
return this.filter(t).head();
|
|
18594
18596
|
}, Qe.prototype.findLast = function(t) {
|
|
@@ -18647,7 +18649,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18647
18649
|
}], Qe.prototype.clone = ny, Qe.prototype.reverse = ry, Qe.prototype.value = oy, T.prototype.at = Pb, T.prototype.chain = $b, T.prototype.commit = Db, T.prototype.next = Lb, T.prototype.plant = Fb, T.prototype.reverse = zb, T.prototype.toJSON = T.prototype.valueOf = T.prototype.value = Bb, T.prototype.first = T.prototype.head, hi && (T.prototype[hi] = Nb), T;
|
|
18648
18650
|
}, To = D1();
|
|
18649
18651
|
to ? ((to.exports = To)._ = To, Sl._ = To) : Qt._ = To;
|
|
18650
|
-
}).call(
|
|
18652
|
+
}).call(Sn);
|
|
18651
18653
|
})(Pa, Pa.exports);
|
|
18652
18654
|
var ua = Pa.exports;
|
|
18653
18655
|
function QM({
|
|
@@ -18690,7 +18692,7 @@ function QM({
|
|
|
18690
18692
|
}, []);
|
|
18691
18693
|
}, C = (ae, he) => ae == null ? void 0 : ae.map((V, j) => {
|
|
18692
18694
|
const ce = ua.get(V, R), ue = L(V), ee = D == null ? void 0 : D(V), ye = w ? ua.get(V, w) : null;
|
|
18693
|
-
let me = /* @__PURE__ */ Ie(
|
|
18695
|
+
let me = /* @__PURE__ */ Ie(hn, { width: "100%", height: "100%", children: [
|
|
18694
18696
|
ue,
|
|
18695
18697
|
typeof ee == "string" ? /* @__PURE__ */ E(Aa, { color: "text.secondary", children: ee }) : ee
|
|
18696
18698
|
] });
|
|
@@ -19217,7 +19219,7 @@ function um({
|
|
|
19217
19219
|
} = {}) {
|
|
19218
19220
|
const {
|
|
19219
19221
|
segmentParamName: a
|
|
19220
|
-
} =
|
|
19222
|
+
} = mn(), c = xu(), f = gI(), [d, h] = Su(), [g, y] = qt();
|
|
19221
19223
|
let x = g;
|
|
19222
19224
|
const w = Array.isArray(n) ? n : s == null ? void 0 : s.map(({
|
|
19223
19225
|
key: b
|
|
@@ -19245,7 +19247,7 @@ function fm({
|
|
|
19245
19247
|
const {
|
|
19246
19248
|
uniqueIdParamName: r,
|
|
19247
19249
|
newItemParamValue: i
|
|
19248
|
-
} =
|
|
19250
|
+
} = mn(), s = pw(), [a] = Su(), [c, f] = um(n), {
|
|
19249
19251
|
state: d
|
|
19250
19252
|
} = bu(), h = s[e ?? r], g = (S) => (
|
|
19251
19253
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
@@ -19274,7 +19276,7 @@ function of({
|
|
|
19274
19276
|
}) {
|
|
19275
19277
|
const h = xu(), {
|
|
19276
19278
|
newItemParamValue: g
|
|
19277
|
-
} =
|
|
19279
|
+
} = mn(), {
|
|
19278
19280
|
tabs: y,
|
|
19279
19281
|
steps: x
|
|
19280
19282
|
} = d, {
|
|
@@ -20382,7 +20384,7 @@ function af({
|
|
|
20382
20384
|
children: i,
|
|
20383
20385
|
columns: s,
|
|
20384
20386
|
commandColProps: a,
|
|
20385
|
-
|
|
20387
|
+
onCommands: c,
|
|
20386
20388
|
onLayout: f,
|
|
20387
20389
|
detailPageProps: d,
|
|
20388
20390
|
detailType: h = "drawer",
|
|
@@ -20401,7 +20403,7 @@ function af({
|
|
|
20401
20403
|
t: I
|
|
20402
20404
|
} = Gt(), {
|
|
20403
20405
|
keyFieldName: _
|
|
20404
|
-
} =
|
|
20406
|
+
} = mn(), [L, D] = qt([]);
|
|
20405
20407
|
zg({
|
|
20406
20408
|
name: w
|
|
20407
20409
|
});
|
|
@@ -20503,7 +20505,7 @@ function af({
|
|
|
20503
20505
|
}, [A == null ? void 0 : A.length, m, Y, ae, ye, J, K, N, _]), Te = Ze((de) => {
|
|
20504
20506
|
const Se = J(ye), Re = (b == null ? void 0 : b(de, Se)) ?? Se;
|
|
20505
20507
|
H(Re), ee();
|
|
20506
|
-
}, [J, ee, b, H, ye]), pe = () => /* @__PURE__ */ E(xm, { size: "small", ...R, rowIdField: fu, data: C, enableSorting: !0, state: {
|
|
20508
|
+
}, [J, ee, b, H, ye]), pe = () => /* @__PURE__ */ E(xm, { size: "small", showEmptyImage: !1, ...R, rowIdField: fu, data: C, enableSorting: !0, state: {
|
|
20507
20509
|
sorting: L
|
|
20508
20510
|
}, onSortingChange: D, getSortedRowModel: Rw(), columns: xe, rowSx: {
|
|
20509
20511
|
".MuiTableCell-root": {
|
|
@@ -20578,7 +20580,7 @@ function jI({
|
|
|
20578
20580
|
const {
|
|
20579
20581
|
thousandSeparator: f,
|
|
20580
20582
|
decimalSeparator: d
|
|
20581
|
-
} =
|
|
20583
|
+
} = mn(), h = nn(() => {
|
|
20582
20584
|
const y = Array.from({
|
|
20583
20585
|
length: i
|
|
20584
20586
|
}).reduce((w) => w += "0", "");
|
|
@@ -20587,7 +20589,7 @@ function jI({
|
|
|
20587
20589
|
const y = Ow(e).format(s ?? h);
|
|
20588
20590
|
return [r, y, n].filter(Boolean).join("");
|
|
20589
20591
|
}, [r, n, h, e, s]);
|
|
20590
|
-
return /* @__PURE__ */ E(
|
|
20592
|
+
return /* @__PURE__ */ E(hn, { title: g, ...a, ref: c, children: g });
|
|
20591
20593
|
}
|
|
20592
20594
|
const Tm = wn(jI);
|
|
20593
20595
|
function HI({
|
|
@@ -20619,7 +20621,7 @@ function KI({
|
|
|
20619
20621
|
dateTimeLongFormat: g,
|
|
20620
20622
|
monthFormat: y,
|
|
20621
20623
|
convertToLocaleDateTime: x
|
|
20622
|
-
} =
|
|
20624
|
+
} = mn();
|
|
20623
20625
|
if (!e)
|
|
20624
20626
|
return null;
|
|
20625
20627
|
const w = r ? y : n ? d : f;
|
|
@@ -20640,7 +20642,7 @@ function XI({
|
|
|
20640
20642
|
showIcon: n = !0,
|
|
20641
20643
|
...r
|
|
20642
20644
|
}) {
|
|
20643
|
-
return /* @__PURE__ */ E(
|
|
20645
|
+
return /* @__PURE__ */ E(hn, { ...r, children: /* @__PURE__ */ Ie(Kn, { gap: 0.8, alignItems: "center", children: [
|
|
20644
20646
|
n ? /* @__PURE__ */ E(XC, { sx: {
|
|
20645
20647
|
fontSize: "1.2em",
|
|
20646
20648
|
color: "text.disabled"
|
|
@@ -20660,7 +20662,7 @@ function JI({
|
|
|
20660
20662
|
...r
|
|
20661
20663
|
}) {
|
|
20662
20664
|
const i = nn(() => e ? ZI(e) : "", [e]);
|
|
20663
|
-
return i ? /* @__PURE__ */ E(
|
|
20665
|
+
return i ? /* @__PURE__ */ E(hn, { ...r, onClick: (a) => {
|
|
20664
20666
|
a.stopPropagation();
|
|
20665
20667
|
}, children: /* @__PURE__ */ Ie(Kn, { gap: 0.5, alignItems: "center", children: [
|
|
20666
20668
|
n && /* @__PURE__ */ E(ZC, { sx: {
|
|
@@ -20758,7 +20760,7 @@ function o9(e) {
|
|
|
20758
20760
|
clear: b,
|
|
20759
20761
|
export: m
|
|
20760
20762
|
}
|
|
20761
|
-
} =
|
|
20763
|
+
} = mn(), M = () => g.search ? /* @__PURE__ */ E(
|
|
20762
20764
|
Qo,
|
|
20763
20765
|
{
|
|
20764
20766
|
startIcon: /* @__PURE__ */ E(JC, {}),
|
|
@@ -20868,7 +20870,7 @@ function a9({
|
|
|
20868
20870
|
clear: x,
|
|
20869
20871
|
export: w
|
|
20870
20872
|
}
|
|
20871
|
-
} =
|
|
20873
|
+
} = mn();
|
|
20872
20874
|
Or(g, e, {
|
|
20873
20875
|
enabled: !c.search && !!d.search && !f,
|
|
20874
20876
|
description: h("listpage.listbuttons.searchtitle"),
|
|
@@ -20946,7 +20948,7 @@ function c9({
|
|
|
20946
20948
|
t: he
|
|
20947
20949
|
} = Gt(), {
|
|
20948
20950
|
uniqueIdParamName: V
|
|
20949
|
-
} =
|
|
20951
|
+
} = mn(), [j, ce] = dm({
|
|
20950
20952
|
models: c,
|
|
20951
20953
|
uniqueIdParamName: V
|
|
20952
20954
|
}), ue = () => {
|
|
@@ -21175,7 +21177,7 @@ function p9({
|
|
|
21175
21177
|
}) {
|
|
21176
21178
|
const {
|
|
21177
21179
|
segmentParamName: n
|
|
21178
|
-
} =
|
|
21180
|
+
} = mn(), [, r] = Su(), {
|
|
21179
21181
|
search: i
|
|
21180
21182
|
} = bu();
|
|
21181
21183
|
return {
|
|
@@ -21247,7 +21249,7 @@ function h9({
|
|
|
21247
21249
|
}) {
|
|
21248
21250
|
const {
|
|
21249
21251
|
newItemParamValue: g
|
|
21250
|
-
} =
|
|
21252
|
+
} = mn(), y = xu(), [x, w, {
|
|
21251
21253
|
segmentParamName: S
|
|
21252
21254
|
}] = um({
|
|
21253
21255
|
enableNestedSegments: r,
|
|
@@ -21515,7 +21517,7 @@ var Om = { exports: {} };
|
|
|
21515
21517
|
(function(e, n) {
|
|
21516
21518
|
(function(r, i) {
|
|
21517
21519
|
e.exports = i();
|
|
21518
|
-
})(
|
|
21520
|
+
})(Sn, function() {
|
|
21519
21521
|
return function(r, i) {
|
|
21520
21522
|
var s = i.prototype, a = s.format;
|
|
21521
21523
|
s.format = function(c) {
|
|
@@ -21565,7 +21567,7 @@ var Im = { exports: {} };
|
|
|
21565
21567
|
(function(e, n) {
|
|
21566
21568
|
(function(r, i) {
|
|
21567
21569
|
e.exports = i();
|
|
21568
|
-
})(
|
|
21570
|
+
})(Sn, function() {
|
|
21569
21571
|
var r = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d/, a = /\d\d/, c = /\d\d?/, f = /\d*[^-_:/,()\s\d]+/, d = {}, h = function(m) {
|
|
21570
21572
|
return (m = +m) + (m > 68 ? 1900 : 2e3);
|
|
21571
21573
|
}, g = function(m) {
|
|
@@ -21688,7 +21690,7 @@ var Am = { exports: {} };
|
|
|
21688
21690
|
(function(e, n) {
|
|
21689
21691
|
(function(r, i) {
|
|
21690
21692
|
e.exports = i();
|
|
21691
|
-
})(
|
|
21693
|
+
})(Sn, function() {
|
|
21692
21694
|
var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, i = {};
|
|
21693
21695
|
return function(s, a, c) {
|
|
21694
21696
|
var f, d = function(x, w, S) {
|
|
@@ -21751,7 +21753,7 @@ var Pm = { exports: {} };
|
|
|
21751
21753
|
(function(e, n) {
|
|
21752
21754
|
(function(r, i) {
|
|
21753
21755
|
e.exports = i();
|
|
21754
|
-
})(
|
|
21756
|
+
})(Sn, function() {
|
|
21755
21757
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, s = /([+-]|\d\d)/g;
|
|
21756
21758
|
return function(a, c, f) {
|
|
21757
21759
|
var d = c.prototype;
|
|
@@ -21840,7 +21842,7 @@ var $m = { exports: {} };
|
|
|
21840
21842
|
(function(e, n) {
|
|
21841
21843
|
(function(r, i) {
|
|
21842
21844
|
e.exports = i();
|
|
21843
|
-
})(
|
|
21845
|
+
})(Sn, function() {
|
|
21844
21846
|
var r = "week", i = "year";
|
|
21845
21847
|
return function(s, a, c) {
|
|
21846
21848
|
var f = a.prototype;
|
|
@@ -21865,7 +21867,7 @@ var Dm = { exports: {} };
|
|
|
21865
21867
|
(function(e, n) {
|
|
21866
21868
|
(function(r, i) {
|
|
21867
21869
|
e.exports = i();
|
|
21868
|
-
})(
|
|
21870
|
+
})(Sn, function() {
|
|
21869
21871
|
var r = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
|
|
21870
21872
|
return function(i, s, a) {
|
|
21871
21873
|
var c = s.prototype, f = c.format;
|
|
@@ -21890,7 +21892,7 @@ var Lm = { exports: {} };
|
|
|
21890
21892
|
(function(e, n) {
|
|
21891
21893
|
(function(r, i) {
|
|
21892
21894
|
e.exports = i();
|
|
21893
|
-
})(
|
|
21895
|
+
})(Sn, function() {
|
|
21894
21896
|
return function(r, i, s) {
|
|
21895
21897
|
i.prototype.isBetween = function(a, c, f, d) {
|
|
21896
21898
|
var h = s(a), g = s(c), y = (d = d || "()")[0] === "(", x = d[1] === ")";
|
|
@@ -23967,6 +23969,7 @@ export {
|
|
|
23967
23969
|
ag as FlexBetween,
|
|
23968
23970
|
Kn as FlexBox,
|
|
23969
23971
|
_h as FlexRowAlign,
|
|
23972
|
+
xM as FormControl,
|
|
23970
23973
|
R7 as H1,
|
|
23971
23974
|
O7 as H2,
|
|
23972
23975
|
M7 as H3,
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export { default as Header, type HeaderProps } from './components/header/Header'
|
|
|
26
26
|
export * from './components/hooks';
|
|
27
27
|
export { default as IconWrapper } from './components/icon-wrapper/IconWrapper';
|
|
28
28
|
export { default as Labels } from './components/labels';
|
|
29
|
+
export { default as FormControl } from './components/form/components/FormControl';
|
|
29
30
|
export { type CurrencyFormatProps } from './components/labels/CurrencyFormat';
|
|
30
31
|
export { type DateFormatProps } from './components/labels/DateFormat';
|
|
31
32
|
export { type NumberFormatProps } from './components/labels/NumberFormat';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-crud-mui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/coreui.js",
|
|
7
7
|
"module": "./dist/coreui.js",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"build-storybook": "storybook build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@emotion/react": "
|
|
28
|
-
"@emotion/styled": "
|
|
27
|
+
"@emotion/react": "11.13.3",
|
|
28
|
+
"@emotion/styled": "11.13.0",
|
|
29
29
|
"@hookform/resolvers": "3.3.2",
|
|
30
|
-
"@mui/icons-material": "
|
|
31
|
-
"@mui/lab": "
|
|
32
|
-
"@mui/material": "
|
|
33
|
-
"@mui/x-data-grid": "
|
|
34
|
-
"@mui/x-date-pickers": "
|
|
35
|
-
"@tanstack/react-table": "
|
|
30
|
+
"@mui/icons-material": "6.1.1",
|
|
31
|
+
"@mui/lab": "6.0.0-beta.10",
|
|
32
|
+
"@mui/material": "6.1.1",
|
|
33
|
+
"@mui/x-data-grid": "7.18.0",
|
|
34
|
+
"@mui/x-date-pickers": "7.18.0",
|
|
35
|
+
"@tanstack/react-table": "8.20.5",
|
|
36
36
|
"clsx": "^2.1.1",
|
|
37
37
|
"dayjs": "^1.11.13",
|
|
38
38
|
"i18next": "^23.15.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"react-number-format": "^5.4.2",
|
|
55
55
|
"react-router-dom": "^6.26.2",
|
|
56
56
|
"react-scroll": "^1.9.0",
|
|
57
|
-
"simplebar-react": "
|
|
57
|
+
"simplebar-react": "3.2.6",
|
|
58
58
|
"xlsx-js-style": "^1.2.0",
|
|
59
59
|
"zod": "^3.23.8",
|
|
60
60
|
"zod-i18n-map": "^2.27.0"
|