@fastspace/schema-form 0.0.14 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  import * as A from "valibot";
2
- import { jsx as E, jsxs as de, Fragment as Dr } from "react/jsx-runtime";
2
+ import { jsx as E, jsxs as me, Fragment as Dr } from "react/jsx-runtime";
3
3
  import * as V from "react";
4
- import dt, { memo as mi, forwardRef as mo, useRef as we, useState as Be, useEffect as Ve, useCallback as ho, createElement as hi, isValidElement as _t, cloneElement as Nt, Children as gi, useMemo as Ge, useImperativeHandle as yi } from "react";
4
+ import pt, { memo as mi, forwardRef as mo, useRef as we, useState as Be, useEffect as Ve, useCallback as ho, createElement as hi, isValidElement as _t, cloneElement as Nt, Children as gi, useMemo as Ge, useImperativeHandle as yi } from "react";
5
5
  import { Controller as Vr, useFieldArray as bi, useForm as vi, useWatch as Si, FormProvider as xi } from "react-hook-form";
6
6
  import { ThemeContext as Ci, keyframes as St, css as go } from "@emotion/react";
7
7
  import Ti from "@emotion/styled";
8
- import { styled as yo, Box as pt, Typography as Ot, CircularProgress as bo, FormControl as at, Autocomplete as wi, TextField as lt, FormControlLabel as jr, Checkbox as Ei, FormHelperText as zr, Grid as $t, RadioGroup as Oi, Radio as $i, Stack as nn, FormLabel as Vt, Rating as Ri, Slider as ki, Switch as Ai } from "@mui/material";
8
+ import { Box as nt, styled as yo, Typography as Ot, CircularProgress as bo, FormControl as lt, Autocomplete as wi, TextField as ct, FormControlLabel as jr, Checkbox as Ei, FormHelperText as zr, Grid as $t, RadioGroup as Oi, Radio as $i, Stack as nn, FormLabel as Vt, Rating as Ri, Slider as ki, Switch as Ai } from "@mui/material";
9
9
  import { LocalizationProvider as Wr } from "@mui/x-date-pickers";
10
10
  import { AdapterDayjs as Lr } from "@mui/x-date-pickers/AdapterDayjs";
11
11
  import { DateTimePicker as Pi } from "@mui/x-date-pickers/DateTimePicker";
@@ -41,17 +41,17 @@ function Di(e, t) {
41
41
  function je(e, t) {
42
42
  return e ? typeof e == "function" ? e(t) : So(e) ? Bi(e, t) : Ni(e) ? Di(e, t) : !0 : !0;
43
43
  }
44
- function nt(e) {
44
+ function ot(e) {
45
45
  const t = [];
46
46
  if (So(e))
47
47
  t.push(e.field);
48
48
  else if ("and" in e)
49
49
  for (const r of e.and)
50
- t.push(...nt(r));
50
+ t.push(...ot(r));
51
51
  else if ("or" in e)
52
52
  for (const r of e.or)
53
- t.push(...nt(r));
54
- else "not" in e && t.push(...nt(e.not));
53
+ t.push(...ot(r));
54
+ else "not" in e && t.push(...ot(e.not));
55
55
  return [...new Set(t)];
56
56
  }
57
57
  function Ht(e, t, r = !1, n = !1) {
@@ -77,13 +77,13 @@ function Iu(e, t, r = !1, n = !1) {
77
77
  }
78
78
  return o;
79
79
  }
80
- function ot(e, t) {
80
+ function it(e, t) {
81
81
  if (e && typeof e != "function") {
82
82
  if ("field" in e) {
83
83
  t.add(e.field);
84
84
  return;
85
85
  }
86
- "and" in e && Array.isArray(e.and) && e.and.forEach((r) => ot(r, t)), "or" in e && Array.isArray(e.or) && e.or.forEach((r) => ot(r, t)), "not" in e && ot(e.not, t);
86
+ "and" in e && Array.isArray(e.and) && e.and.forEach((r) => it(r, t)), "or" in e && Array.isArray(e.or) && e.or.forEach((r) => it(r, t)), "not" in e && it(e.not, t);
87
87
  }
88
88
  }
89
89
  function Vi(e) {
@@ -92,7 +92,7 @@ function Vi(e) {
92
92
  if (r.dependencies)
93
93
  for (const n of r.dependencies)
94
94
  t.add(n);
95
- if (ot(r.visibleWhen, t), ot(r.disabledWhen, t), ot(r.requiredWhen, t), r.compute?.dependencies)
95
+ if (it(r.visibleWhen, t), it(r.disabledWhen, t), it(r.requiredWhen, t), r.compute?.dependencies)
96
96
  for (const n of r.compute.dependencies)
97
97
  t.add(n);
98
98
  }
@@ -133,13 +133,13 @@ function zi(e) {
133
133
  for (const d of a.dependencies)
134
134
  u.add(d);
135
135
  if (a.visibleWhen)
136
- for (const d of nt(a.visibleWhen))
136
+ for (const d of ot(a.visibleWhen))
137
137
  u.add(d);
138
138
  if (a.disabledWhen)
139
- for (const d of nt(a.disabledWhen))
139
+ for (const d of ot(a.disabledWhen))
140
140
  u.add(d);
141
141
  if (a.requiredWhen)
142
- for (const d of nt(a.requiredWhen))
142
+ for (const d of ot(a.requiredWhen))
143
143
  u.add(d);
144
144
  if (a.compute)
145
145
  if (a.compute.dependencies)
@@ -513,8 +513,8 @@ function Yi() {
513
513
  }
514
514
  function O(M) {
515
515
  if (typeof M == "object" && M !== null) {
516
- var ye = M.$$typeof;
517
- switch (ye) {
516
+ var be = M.$$typeof;
517
+ switch (be) {
518
518
  case t:
519
519
  var Ne = M.type;
520
520
  switch (Ne) {
@@ -535,11 +535,11 @@ function Yi() {
535
535
  case a:
536
536
  return wt;
537
537
  default:
538
- return ye;
538
+ return be;
539
539
  }
540
540
  }
541
541
  case r:
542
- return ye;
542
+ return be;
543
543
  }
544
544
  }
545
545
  }
@@ -757,11 +757,11 @@ function Xi() {
757
757
  );
758
758
  throw M.name = "Invariant Violation", M;
759
759
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
760
- var ye = L + ":" + W;
761
- !R[ye] && // Avoid spamming the console because they are often not actionable except for lib authors
760
+ var be = L + ":" + W;
761
+ !R[be] && // Avoid spamming the console because they are often not actionable except for lib authors
762
762
  G < 3 && (i(
763
763
  "You are manually calling a React.PropTypes validation function for the `" + K + "` prop on `" + L + "`. 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."
764
- ), R[ye] = !0, G++);
764
+ ), R[be] = !0, G++);
765
765
  }
766
766
  }
767
767
  return j[W] == null ? D ? j[W] === null ? new f("The " + H + " `" + K + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new f("The " + H + " `" + K + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : $(j, W, L, H, K);
@@ -846,8 +846,8 @@ function Xi() {
846
846
  if (h(W, $[L]))
847
847
  return null;
848
848
  var H = JSON.stringify($, function(ae, M) {
849
- var ye = Y(M);
850
- return ye === "symbol" ? String(M) : M;
849
+ var be = Y(M);
850
+ return be === "symbol" ? String(M) : M;
851
851
  });
852
852
  return new f("Invalid " + D + " `" + j + "` of value `" + String(W) + "` " + ("supplied to `" + P + "`, expected one of " + H + "."));
853
853
  }
@@ -887,8 +887,8 @@ function Xi() {
887
887
  return null;
888
888
  M.data && n(M.data, "expectedType") && H.push(M.data.expectedType);
889
889
  }
890
- var ye = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
891
- return new f("Invalid " + W + " `" + L + "` supplied to " + ("`" + j + "`" + ye + "."));
890
+ var be = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
891
+ return new f("Invalid " + W + " `" + L + "` supplied to " + ("`" + j + "`" + be + "."));
892
892
  }
893
893
  return g(U);
894
894
  }
@@ -1745,7 +1745,7 @@ function Wt(e, t, r, n = r) {
1745
1745
  let o;
1746
1746
  return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = Xt(e, r) || n, t && (o = t(o, n, e)), o;
1747
1747
  }
1748
- function pe(e) {
1748
+ function de(e) {
1749
1749
  const {
1750
1750
  prop: t,
1751
1751
  cssProperty: r = e.prop,
@@ -1853,17 +1853,17 @@ function er(...e) {
1853
1853
  }), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? gt(o, t[i](n)) : o, {});
1854
1854
  return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
1855
1855
  }
1856
- function ve(e) {
1856
+ function Se(e) {
1857
1857
  return typeof e != "number" ? e : `${e}px solid`;
1858
1858
  }
1859
1859
  function Ce(e, t) {
1860
- return pe({
1860
+ return de({
1861
1861
  prop: e,
1862
1862
  themeKey: "borders",
1863
1863
  transform: t
1864
1864
  });
1865
1865
  }
1866
- const Ps = Ce("border", ve), Is = Ce("borderTop", ve), Ms = Ce("borderRight", ve), _s = Ce("borderBottom", ve), Ns = Ce("borderLeft", ve), Bs = Ce("borderColor"), Ds = Ce("borderTopColor"), Vs = Ce("borderRightColor"), js = Ce("borderBottomColor"), zs = Ce("borderLeftColor"), Ws = Ce("outline", ve), Ls = Ce("outlineColor"), tr = (e) => {
1866
+ const Ps = Ce("border", Se), Is = Ce("borderTop", Se), Ms = Ce("borderRight", Se), _s = Ce("borderBottom", Se), Ns = Ce("borderLeft", Se), Bs = Ce("borderColor"), Ds = Ce("borderTopColor"), Vs = Ce("borderRightColor"), js = Ce("borderBottomColor"), zs = Ce("borderLeftColor"), Ws = Ce("outline", Se), Ls = Ce("outlineColor"), tr = (e) => {
1867
1867
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1868
1868
  const t = xt(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
1869
1869
  borderRadius: Xe(t, n)
@@ -1916,48 +1916,48 @@ or.propTypes = process.env.NODE_ENV !== "production" ? {
1916
1916
  rowGap: Le
1917
1917
  } : {};
1918
1918
  or.filterProps = ["rowGap"];
1919
- const Fs = pe({
1919
+ const Fs = de({
1920
1920
  prop: "gridColumn"
1921
- }), qs = pe({
1921
+ }), qs = de({
1922
1922
  prop: "gridRow"
1923
- }), Gs = pe({
1923
+ }), Gs = de({
1924
1924
  prop: "gridAutoFlow"
1925
- }), Us = pe({
1925
+ }), Us = de({
1926
1926
  prop: "gridAutoColumns"
1927
- }), Ys = pe({
1927
+ }), Ys = de({
1928
1928
  prop: "gridAutoRows"
1929
- }), Hs = pe({
1929
+ }), Hs = de({
1930
1930
  prop: "gridTemplateColumns"
1931
- }), Ks = pe({
1931
+ }), Ks = de({
1932
1932
  prop: "gridTemplateRows"
1933
- }), Xs = pe({
1933
+ }), Xs = de({
1934
1934
  prop: "gridTemplateAreas"
1935
- }), Qs = pe({
1935
+ }), Qs = de({
1936
1936
  prop: "gridArea"
1937
1937
  });
1938
1938
  er(rr, nr, or, Fs, qs, Gs, Us, Ys, Hs, Ks, Xs, Qs);
1939
- function it(e, t) {
1939
+ function st(e, t) {
1940
1940
  return t === "grey" ? t : e;
1941
1941
  }
1942
- const Js = pe({
1942
+ const Js = de({
1943
1943
  prop: "color",
1944
1944
  themeKey: "palette",
1945
- transform: it
1946
- }), Zs = pe({
1945
+ transform: st
1946
+ }), Zs = de({
1947
1947
  prop: "bgcolor",
1948
1948
  cssProperty: "backgroundColor",
1949
1949
  themeKey: "palette",
1950
- transform: it
1951
- }), ea = pe({
1950
+ transform: st
1951
+ }), ea = de({
1952
1952
  prop: "backgroundColor",
1953
1953
  themeKey: "palette",
1954
- transform: it
1954
+ transform: st
1955
1955
  });
1956
1956
  er(Js, Zs, ea);
1957
1957
  function ge(e) {
1958
1958
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1959
1959
  }
1960
- const ta = pe({
1960
+ const ta = de({
1961
1961
  prop: "width",
1962
1962
  transform: ge
1963
1963
  }), Gr = (e) => {
@@ -1977,30 +1977,30 @@ const ta = pe({
1977
1977
  return null;
1978
1978
  };
1979
1979
  Gr.filterProps = ["maxWidth"];
1980
- const ra = pe({
1980
+ const ra = de({
1981
1981
  prop: "minWidth",
1982
1982
  transform: ge
1983
- }), na = pe({
1983
+ }), na = de({
1984
1984
  prop: "height",
1985
1985
  transform: ge
1986
- }), oa = pe({
1986
+ }), oa = de({
1987
1987
  prop: "maxHeight",
1988
1988
  transform: ge
1989
- }), ia = pe({
1989
+ }), ia = de({
1990
1990
  prop: "minHeight",
1991
1991
  transform: ge
1992
1992
  });
1993
- pe({
1993
+ de({
1994
1994
  prop: "size",
1995
1995
  cssProperty: "width",
1996
1996
  transform: ge
1997
1997
  });
1998
- pe({
1998
+ de({
1999
1999
  prop: "size",
2000
2000
  cssProperty: "height",
2001
2001
  transform: ge
2002
2002
  });
2003
- const sa = pe({
2003
+ const sa = de({
2004
2004
  prop: "boxSizing"
2005
2005
  });
2006
2006
  er(ta, Gr, ra, na, oa, ia, sa);
@@ -2008,23 +2008,23 @@ const Ct = {
2008
2008
  // borders
2009
2009
  border: {
2010
2010
  themeKey: "borders",
2011
- transform: ve
2011
+ transform: Se
2012
2012
  },
2013
2013
  borderTop: {
2014
2014
  themeKey: "borders",
2015
- transform: ve
2015
+ transform: Se
2016
2016
  },
2017
2017
  borderRight: {
2018
2018
  themeKey: "borders",
2019
- transform: ve
2019
+ transform: Se
2020
2020
  },
2021
2021
  borderBottom: {
2022
2022
  themeKey: "borders",
2023
- transform: ve
2023
+ transform: Se
2024
2024
  },
2025
2025
  borderLeft: {
2026
2026
  themeKey: "borders",
2027
- transform: ve
2027
+ transform: Se
2028
2028
  },
2029
2029
  borderColor: {
2030
2030
  themeKey: "palette"
@@ -2043,7 +2043,7 @@ const Ct = {
2043
2043
  },
2044
2044
  outline: {
2045
2045
  themeKey: "borders",
2046
- transform: ve
2046
+ transform: Se
2047
2047
  },
2048
2048
  outlineColor: {
2049
2049
  themeKey: "palette"
@@ -2055,16 +2055,16 @@ const Ct = {
2055
2055
  // palette
2056
2056
  color: {
2057
2057
  themeKey: "palette",
2058
- transform: it
2058
+ transform: st
2059
2059
  },
2060
2060
  bgcolor: {
2061
2061
  themeKey: "palette",
2062
2062
  cssProperty: "backgroundColor",
2063
- transform: it
2063
+ transform: st
2064
2064
  },
2065
2065
  backgroundColor: {
2066
2066
  themeKey: "palette",
2067
- transform: it
2067
+ transform: st
2068
2068
  },
2069
2069
  // spacing
2070
2070
  p: {
@@ -2682,7 +2682,7 @@ function jo({
2682
2682
  props: e
2683
2683
  });
2684
2684
  }
2685
- const Ta = (e, t) => e.filter((r) => t.includes(r)), ct = (e, t, r) => {
2685
+ const Ta = (e, t) => e.filter((r) => t.includes(r)), ut = (e, t, r) => {
2686
2686
  const n = e.keys[0];
2687
2687
  Array.isArray(t) ? t.forEach((o, i) => {
2688
2688
  r((a, l) => {
@@ -2705,12 +2705,12 @@ function Lt(e) {
2705
2705
  function ar(e) {
2706
2706
  return `--Grid-parent-${e}Spacing`;
2707
2707
  }
2708
- const $n = "--Grid-columns", st = "--Grid-parent-columns", wa = ({
2708
+ const $n = "--Grid-columns", at = "--Grid-parent-columns", wa = ({
2709
2709
  theme: e,
2710
2710
  ownerState: t
2711
2711
  }) => {
2712
2712
  const r = {};
2713
- return ct(e.breakpoints, t.size, (n, o) => {
2713
+ return ut(e.breakpoints, t.size, (n, o) => {
2714
2714
  let i = {};
2715
2715
  o === "grow" && (i = {
2716
2716
  flexBasis: 0,
@@ -2725,7 +2725,7 @@ const $n = "--Grid-columns", st = "--Grid-parent-columns", wa = ({
2725
2725
  }), typeof o == "number" && (i = {
2726
2726
  flexGrow: 0,
2727
2727
  flexBasis: "auto",
2728
- width: `calc(100% * ${o} / var(${st}) - (var(${st}) - ${o}) * (var(${ar("column")}) / var(${st})))`
2728
+ width: `calc(100% * ${o} / var(${at}) - (var(${at}) - ${o}) * (var(${ar("column")}) / var(${at})))`
2729
2729
  }), n(r, i);
2730
2730
  }), r;
2731
2731
  }, Ea = ({
@@ -2733,12 +2733,12 @@ const $n = "--Grid-columns", st = "--Grid-parent-columns", wa = ({
2733
2733
  ownerState: t
2734
2734
  }) => {
2735
2735
  const r = {};
2736
- return ct(e.breakpoints, t.offset, (n, o) => {
2736
+ return ut(e.breakpoints, t.offset, (n, o) => {
2737
2737
  let i = {};
2738
2738
  o === "auto" && (i = {
2739
2739
  marginLeft: "auto"
2740
2740
  }), typeof o == "number" && (i = {
2741
- marginLeft: o === 0 ? "0px" : `calc(100% * ${o} / var(${st}) + var(${ar("column")}) * ${o} / var(${st}))`
2741
+ marginLeft: o === 0 ? "0px" : `calc(100% * ${o} / var(${at}) + var(${ar("column")}) * ${o} / var(${at}))`
2742
2742
  }), n(r, i);
2743
2743
  }), r;
2744
2744
  }, Oa = ({
@@ -2750,12 +2750,12 @@ const $n = "--Grid-columns", st = "--Grid-parent-columns", wa = ({
2750
2750
  const r = {
2751
2751
  [$n]: 12
2752
2752
  };
2753
- return ct(e.breakpoints, t.columns, (n, o) => {
2753
+ return ut(e.breakpoints, t.columns, (n, o) => {
2754
2754
  const i = o ?? 12;
2755
2755
  n(r, {
2756
2756
  [$n]: i,
2757
2757
  "> *": {
2758
- [st]: i
2758
+ [at]: i
2759
2759
  }
2760
2760
  });
2761
2761
  }), r;
@@ -2766,7 +2766,7 @@ const $n = "--Grid-columns", st = "--Grid-parent-columns", wa = ({
2766
2766
  if (!t.container)
2767
2767
  return {};
2768
2768
  const r = {};
2769
- return ct(e.breakpoints, t.rowSpacing, (n, o) => {
2769
+ return ut(e.breakpoints, t.rowSpacing, (n, o) => {
2770
2770
  const i = typeof o == "string" ? o : e.spacing?.(o);
2771
2771
  n(r, {
2772
2772
  [Lt("row")]: i,
@@ -2782,7 +2782,7 @@ const $n = "--Grid-columns", st = "--Grid-parent-columns", wa = ({
2782
2782
  if (!t.container)
2783
2783
  return {};
2784
2784
  const r = {};
2785
- return ct(e.breakpoints, t.columnSpacing, (n, o) => {
2785
+ return ut(e.breakpoints, t.columnSpacing, (n, o) => {
2786
2786
  const i = typeof o == "string" ? o : e.spacing?.(o);
2787
2787
  n(r, {
2788
2788
  [Lt("column")]: i,
@@ -2798,7 +2798,7 @@ const $n = "--Grid-columns", st = "--Grid-parent-columns", wa = ({
2798
2798
  if (!t.container)
2799
2799
  return {};
2800
2800
  const r = {};
2801
- return ct(e.breakpoints, t.direction, (n, o) => {
2801
+ return ut(e.breakpoints, t.direction, (n, o) => {
2802
2802
  n(r, {
2803
2803
  flexDirection: o
2804
2804
  });
@@ -3480,7 +3480,7 @@ const bt = {
3480
3480
  500: "#f44336",
3481
3481
  700: "#d32f2f",
3482
3482
  800: "#c62828"
3483
- }, ft = {
3483
+ }, dt = {
3484
3484
  300: "#ffb74d",
3485
3485
  400: "#ffa726",
3486
3486
  500: "#ff9800",
@@ -3641,14 +3641,14 @@ function hl(e = "light") {
3641
3641
  }
3642
3642
  function gl(e = "light") {
3643
3643
  return e === "dark" ? {
3644
- main: ft[400],
3645
- light: ft[300],
3646
- dark: ft[700]
3644
+ main: dt[400],
3645
+ light: dt[300],
3646
+ dark: dt[700]
3647
3647
  } : {
3648
3648
  main: "#ed6c02",
3649
3649
  // closest to orange[800] that pass 3:1.
3650
- light: ft[500],
3651
- dark: ft[900]
3650
+ light: dt[500],
3651
+ dark: dt[900]
3652
3652
  };
3653
3653
  }
3654
3654
  function yl(e) {
@@ -4347,7 +4347,7 @@ function Xo() {
4347
4347
  function Fl(e) {
4348
4348
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
4349
4349
  }
4350
- const Qo = (e) => Fl(e) && e !== "classes", me = Bo({
4350
+ const Qo = (e) => Fl(e) && e !== "classes", pe = Bo({
4351
4351
  themeId: Ur,
4352
4352
  defaultTheme: Ko,
4353
4353
  rootShouldForwardProp: Qo
@@ -4357,7 +4357,7 @@ function $e(e) {
4357
4357
  return Ha(e);
4358
4358
  }
4359
4359
  const Ke = Va({
4360
- createStyledComponent: me("div", {
4360
+ createStyledComponent: pe("div", {
4361
4361
  name: "MuiGrid",
4362
4362
  slot: "Root",
4363
4363
  overridesResolver: (e, t) => {
@@ -4583,7 +4583,7 @@ const Yl = mi(Ul, (e, t) => {
4583
4583
  return !1;
4584
4584
  return !0;
4585
4585
  }), Hl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Ke, { container: !0, spacing: e, children: t }), Jo = cl({
4586
- createStyledComponent: me("div", {
4586
+ createStyledComponent: pe("div", {
4587
4587
  name: "MuiStack",
4588
4588
  slot: "Root"
4589
4589
  }),
@@ -4658,7 +4658,27 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
4658
4658
  "& .MuiInputLabel-asterisk": {
4659
4659
  display: "none"
4660
4660
  }
4661
- }, Wn = "YYYY-MM-DD", Ln = "YYYY-MM-DD HH:mm", Xl = yo("ul")(({ theme: e }) => ({
4661
+ }, Wn = "YYYY-MM-DD", Ln = "YYYY-MM-DD HH:mm", ye = (e, t) => t ? /* @__PURE__ */ E(
4662
+ nt,
4663
+ {
4664
+ component: "span",
4665
+ sx: {
4666
+ display: "inline-flex",
4667
+ alignItems: "center",
4668
+ "&::before": {
4669
+ content: '"✱"',
4670
+ color: "error.main",
4671
+ mr: "4px",
4672
+ fontSize: "0.5em",
4673
+ alignSelf: "center",
4674
+ display: "inline-flex",
4675
+ alignItems: "center",
4676
+ justifyContent: "center"
4677
+ }
4678
+ },
4679
+ children: e
4680
+ }
4681
+ ) : e, Xl = yo("ul")(({ theme: e }) => ({
4662
4682
  padding: e.spacing(0.5),
4663
4683
  margin: 0,
4664
4684
  listStyle: "none",
@@ -4701,10 +4721,10 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
4701
4721
  error: l,
4702
4722
  ...u
4703
4723
  } = e;
4704
- return /* @__PURE__ */ de(Xl, { ...u, ref: t, children: [
4724
+ return /* @__PURE__ */ me(Xl, { ...u, ref: t, children: [
4705
4725
  r,
4706
4726
  a && !n && /* @__PURE__ */ E(
4707
- pt,
4727
+ nt,
4708
4728
  {
4709
4729
  component: "li",
4710
4730
  className: "MuiAutocomplete-option MuiAutocomplete-listboxStatus",
@@ -4718,7 +4738,7 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
4718
4738
  }
4719
4739
  ),
4720
4740
  l && /* @__PURE__ */ E(
4721
- pt,
4741
+ nt,
4722
4742
  {
4723
4743
  component: "li",
4724
4744
  className: "MuiAutocomplete-option MuiAutocomplete-listboxStatus",
@@ -4732,8 +4752,8 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
4732
4752
  children: /* @__PURE__ */ E(Ot, { variant: "body2", children: "加载失败,请重试" })
4733
4753
  }
4734
4754
  ),
4735
- n && /* @__PURE__ */ de(
4736
- pt,
4755
+ n && /* @__PURE__ */ me(
4756
+ nt,
4737
4757
  {
4738
4758
  component: "li",
4739
4759
  className: "MuiAutocomplete-option MuiAutocomplete-listboxStatus",
@@ -4754,7 +4774,7 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
4754
4774
  }
4755
4775
  ),
4756
4776
  !o && i && !n && !a && /* @__PURE__ */ E(
4757
- pt,
4777
+ nt,
4758
4778
  {
4759
4779
  component: "li",
4760
4780
  className: "MuiAutocomplete-option MuiAutocomplete-listboxStatus",
@@ -4885,7 +4905,7 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
4885
4905
  (P) => (e.value ?? []).includes(P.value)
4886
4906
  ) : x.find((P) => P.value === e.value) ?? null;
4887
4907
  return /* @__PURE__ */ E(
4888
- at,
4908
+ lt,
4889
4909
  {
4890
4910
  fullWidth: !0,
4891
4911
  error: r,
@@ -4955,13 +4975,13 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
4955
4975
  disabled: y?.disabled,
4956
4976
  renderOption: (P, D) => /* @__PURE__ */ hi("li", { ...P, key: D.key ?? D.value }, D.listLabel ?? D.label),
4957
4977
  renderInput: (P) => /* @__PURE__ */ E(
4958
- lt,
4978
+ ct,
4959
4979
  {
4960
4980
  ...P,
4961
4981
  error: r,
4962
4982
  fullWidth: !0,
4963
4983
  helperText: n,
4964
- label: t,
4984
+ label: ye(t, y?.required),
4965
4985
  onBlur: () => {
4966
4986
  e.onBlur?.(), a?.trigger(e.name);
4967
4987
  },
@@ -4971,7 +4991,7 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
4971
4991
  slotProps: {
4972
4992
  input: {
4973
4993
  ...P.InputProps,
4974
- endAdornment: /* @__PURE__ */ de(Dr, { children: [
4994
+ endAdornment: /* @__PURE__ */ me(Dr, { children: [
4975
4995
  g || m ? /* @__PURE__ */ E(bo, { color: "inherit", size: 20 }) : null,
4976
4996
  P.InputProps.endAdornment
4977
4997
  ] })
@@ -4983,23 +5003,7 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
4983
5003
  )
4984
5004
  }
4985
5005
  );
4986
- }, Se = (e, t) => t ? /* @__PURE__ */ de("span", { style: { display: "flex", alignItems: "center" }, children: [
4987
- /* @__PURE__ */ E(
4988
- "span",
4989
- {
4990
- style: {
4991
- color: "#d32f2f",
4992
- marginRight: "4px",
4993
- fontSize: "20px",
4994
- fontWeight: "bold",
4995
- lineHeight: "1",
4996
- paddingTop: "4px"
4997
- },
4998
- children: "*"
4999
- }
5000
- ),
5001
- e
5002
- ] }) : e, Fn = ({ field: e, label: t, error: r, helperText: n, fieldProps: o }) => /* @__PURE__ */ de(at, { error: r, required: o?.required, component: "fieldset", children: [
5006
+ }, Fn = ({ field: e, label: t, error: r, helperText: n, fieldProps: o }) => /* @__PURE__ */ me(lt, { error: r, required: o?.required, component: "fieldset", children: [
5003
5007
  /* @__PURE__ */ E(
5004
5008
  jr,
5005
5009
  {
@@ -5012,7 +5016,7 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
5012
5016
  inputRef: e.ref
5013
5017
  }
5014
5018
  ),
5015
- label: Se(t, o?.required)
5019
+ label: ye(t, o?.required)
5016
5020
  }
5017
5021
  ),
5018
5022
  n && /* @__PURE__ */ E(zr, { children: n })
@@ -5046,10 +5050,10 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
5046
5050
  ...d
5047
5051
  }
5048
5052
  ) : /* @__PURE__ */ E(
5049
- lt,
5053
+ ct,
5050
5054
  {
5051
5055
  ...e,
5052
- label: Se(t, d?.required),
5056
+ label: ye(t, d?.required),
5053
5057
  error: r,
5054
5058
  helperText: n,
5055
5059
  fullWidth: !0,
@@ -5074,7 +5078,7 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
5074
5078
  slotProps: {
5075
5079
  textField: {
5076
5080
  fullWidth: !0,
5077
- label: Se(t, o?.required),
5081
+ label: ye(t, o?.required),
5078
5082
  error: r,
5079
5083
  helperText: n,
5080
5084
  required: o?.required,
@@ -5102,7 +5106,7 @@ const Kl = ({ spacing: e = 2, children: t }) => /* @__PURE__ */ E(Jo, { spacing:
5102
5106
  slotProps: {
5103
5107
  textField: {
5104
5108
  fullWidth: !0,
5105
- label: Se(t, o?.required),
5109
+ label: ye(t, o?.required),
5106
5110
  error: r,
5107
5111
  helperText: n,
5108
5112
  required: o?.required,
@@ -5131,7 +5135,7 @@ const ec = (e) => {
5131
5135
  root: ["root", t !== "inherit" && `color${Z(t)}`, `fontSize${Z(r)}`]
5132
5136
  };
5133
5137
  return Pe(o, Zl, n);
5134
- }, tc = me("svg", {
5138
+ }, tc = pe("svg", {
5135
5139
  name: "MuiSvgIcon",
5136
5140
  slot: "Root",
5137
5141
  overridesResolver: (e, t) => {
@@ -5253,7 +5257,7 @@ const ec = (e) => {
5253
5257
  }, g = {};
5254
5258
  m || (g.viewBox = p);
5255
5259
  const C = ec(f);
5256
- return /* @__PURE__ */ de(tc, {
5260
+ return /* @__PURE__ */ me(tc, {
5257
5261
  as: l,
5258
5262
  className: fe(C.root, i),
5259
5263
  focusable: "false",
@@ -5525,7 +5529,7 @@ function Pr(e, t) {
5525
5529
  function mc(e, t) {
5526
5530
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Pr(e, t);
5527
5531
  }
5528
- const Xn = dt.createContext(null);
5532
+ const Xn = pt.createContext(null);
5529
5533
  function hc(e) {
5530
5534
  if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5531
5535
  return e;
@@ -5645,13 +5649,13 @@ var vc = Object.values || function(e) {
5645
5649
  }));
5646
5650
  }, r.render = function() {
5647
5651
  var o = this.props, i = o.component, a = o.childFactory, l = pc(o, ["component", "childFactory"]), u = this.state.contextValue, d = vc(this.state.children).map(a);
5648
- return delete l.appear, delete l.enter, delete l.exit, i === null ? /* @__PURE__ */ dt.createElement(Xn.Provider, {
5652
+ return delete l.appear, delete l.enter, delete l.exit, i === null ? /* @__PURE__ */ pt.createElement(Xn.Provider, {
5649
5653
  value: u
5650
- }, d) : /* @__PURE__ */ dt.createElement(Xn.Provider, {
5654
+ }, d) : /* @__PURE__ */ pt.createElement(Xn.Provider, {
5651
5655
  value: u
5652
- }, /* @__PURE__ */ dt.createElement(i, l, d));
5656
+ }, /* @__PURE__ */ pt.createElement(i, l, d));
5653
5657
  }, t;
5654
- })(dt.Component);
5658
+ })(pt.Component);
5655
5659
  Qr.propTypes = process.env.NODE_ENV !== "production" ? {
5656
5660
  /**
5657
5661
  * `<TransitionGroup>` renders a `<div>` by default. You can change this
@@ -5799,7 +5803,7 @@ process.env.NODE_ENV !== "production" && (ei.propTypes = {
5799
5803
  */
5800
5804
  timeout: s.number.isRequired
5801
5805
  });
5802
- const be = Ie("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), Ir = 550, wc = 80, Ec = St`
5806
+ const ve = Ie("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), Ir = 550, wc = 80, Ec = St`
5803
5807
  0% {
5804
5808
  transform: scale(0);
5805
5809
  opacity: 0.1;
@@ -5829,7 +5833,7 @@ const be = Ie("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
5829
5833
  100% {
5830
5834
  transform: scale(1);
5831
5835
  }
5832
- `, Rc = me("span", {
5836
+ `, Rc = pe("span", {
5833
5837
  name: "MuiTouchRipple",
5834
5838
  slot: "Root"
5835
5839
  })({
@@ -5842,14 +5846,14 @@ const be = Ie("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
5842
5846
  bottom: 0,
5843
5847
  left: 0,
5844
5848
  borderRadius: "inherit"
5845
- }), kc = me(ei, {
5849
+ }), kc = pe(ei, {
5846
5850
  name: "MuiTouchRipple",
5847
5851
  slot: "Ripple"
5848
5852
  })`
5849
5853
  opacity: 0;
5850
5854
  position: absolute;
5851
5855
 
5852
- &.${be.rippleVisible} {
5856
+ &.${ve.rippleVisible} {
5853
5857
  opacity: 0.3;
5854
5858
  transform: scale(1);
5855
5859
  animation-name: ${Ec};
@@ -5859,13 +5863,13 @@ const be = Ie("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
5859
5863
  }) => e.transitions.easing.easeInOut};
5860
5864
  }
5861
5865
 
5862
- &.${be.ripplePulsate} {
5866
+ &.${ve.ripplePulsate} {
5863
5867
  animation-duration: ${({
5864
5868
  theme: e
5865
5869
  }) => e.transitions.duration.shorter}ms;
5866
5870
  }
5867
5871
 
5868
- & .${be.child} {
5872
+ & .${ve.child} {
5869
5873
  opacity: 1;
5870
5874
  display: block;
5871
5875
  width: 100%;
@@ -5874,7 +5878,7 @@ const be = Ie("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
5874
5878
  background-color: currentColor;
5875
5879
  }
5876
5880
 
5877
- & .${be.childLeaving} {
5881
+ & .${ve.childLeaving} {
5878
5882
  opacity: 0;
5879
5883
  animation-name: ${Oc};
5880
5884
  animation-duration: ${Ir}ms;
@@ -5883,7 +5887,7 @@ const be = Ie("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
5883
5887
  }) => e.transitions.easing.easeInOut};
5884
5888
  }
5885
5889
 
5886
- & .${be.childPulsate} {
5890
+ & .${ve.childPulsate} {
5887
5891
  position: absolute;
5888
5892
  /* @noflip */
5889
5893
  left: 0px;
@@ -5919,12 +5923,12 @@ const be = Ie("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
5919
5923
  } = O;
5920
5924
  d((q) => [...q, /* @__PURE__ */ E(kc, {
5921
5925
  classes: {
5922
- ripple: fe(i.ripple, be.ripple),
5923
- rippleVisible: fe(i.rippleVisible, be.rippleVisible),
5924
- ripplePulsate: fe(i.ripplePulsate, be.ripplePulsate),
5925
- child: fe(i.child, be.child),
5926
- childLeaving: fe(i.childLeaving, be.childLeaving),
5927
- childPulsate: fe(i.childPulsate, be.childPulsate)
5926
+ ripple: fe(i.ripple, ve.ripple),
5927
+ rippleVisible: fe(i.rippleVisible, ve.rippleVisible),
5928
+ ripplePulsate: fe(i.ripplePulsate, ve.ripplePulsate),
5929
+ child: fe(i.child, ve.child),
5930
+ childLeaving: fe(i.childLeaving, ve.childLeaving),
5931
+ childPulsate: fe(i.childPulsate, ve.childPulsate)
5928
5932
  },
5929
5933
  timeout: Ir,
5930
5934
  pulsate: v,
@@ -6002,7 +6006,7 @@ const be = Ie("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
6002
6006
  start: C,
6003
6007
  stop: N
6004
6008
  }), [k, C, N]), /* @__PURE__ */ E(Rc, {
6005
- className: fe(be.root, i.root, a),
6009
+ className: fe(ve.root, i.root, a),
6006
6010
  ref: f,
6007
6011
  ...l,
6008
6012
  children: /* @__PURE__ */ E(Qr, {
@@ -6040,7 +6044,7 @@ const Pc = Ie("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ic = (e) =
6040
6044
  root: ["root", t && "disabled", r && "focusVisible"]
6041
6045
  }, Ac, o);
6042
6046
  return r && n && (a.root += ` ${n}`), a;
6043
- }, Mc = me("button", {
6047
+ }, Mc = pe("button", {
6044
6048
  name: "MuiButtonBase",
6045
6049
  slot: "Root"
6046
6050
  })({
@@ -6131,7 +6135,7 @@ const Pc = Ie("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ic = (e) =
6131
6135
  R && Q.preventDefault(), X && X(Q);
6132
6136
  }, y), H = _e(oe, "start", c, y), K = _e(oe, "stop", q, y), ae = _e(oe, "stop", _, y), M = _e(oe, "stop", (Q) => {
6133
6137
  Hn(Q.target) || G(!1), f && f(Q);
6134
- }, !1), ye = Dt((Q) => {
6138
+ }, !1), be = Dt((Q) => {
6135
6139
  J.current || (J.current = Q.currentTarget), Hn(Q.target) && (G(!0), O && O(Q)), N && N(Q);
6136
6140
  }), Ne = () => {
6137
6141
  const Q = J.current;
@@ -6147,12 +6151,12 @@ const Pc = Ie("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ic = (e) =
6147
6151
  });
6148
6152
  let Et = u;
6149
6153
  Et === "button" && (Y.href || Y.to) && (Et = h);
6150
- const ut = {};
6154
+ const ft = {};
6151
6155
  if (Et === "button") {
6152
6156
  const Q = !!Y.formAction;
6153
- ut.type = I === void 0 && !Q ? "button" : I, ut.disabled = d;
6157
+ ft.type = I === void 0 && !Q ? "button" : I, ft.disabled = d;
6154
6158
  } else
6155
- !Y.href && !Y.to && (ut.role = "button"), d && (ut["aria-disabled"] = d);
6159
+ !Y.href && !Y.to && (ft.role = "button"), d && (ft["aria-disabled"] = d);
6156
6160
  const di = Yn(r, J), rn = {
6157
6161
  ...n,
6158
6162
  centerRipple: i,
@@ -6164,14 +6168,14 @@ const Pc = Ie("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ic = (e) =
6164
6168
  tabIndex: T,
6165
6169
  focusVisible: R
6166
6170
  }, pi = Ic(rn);
6167
- return /* @__PURE__ */ de(Mc, {
6171
+ return /* @__PURE__ */ me(Mc, {
6168
6172
  as: Et,
6169
6173
  className: fe(pi.root, l),
6170
6174
  ownerState: rn,
6171
6175
  onBlur: M,
6172
6176
  onClick: g,
6173
6177
  onContextMenu: D,
6174
- onFocus: ye,
6178
+ onFocus: be,
6175
6179
  onKeyDown: wt,
6176
6180
  onKeyUp: fi,
6177
6181
  onMouseDown: P,
@@ -6184,7 +6188,7 @@ const Pc = Ie("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ic = (e) =
6184
6188
  ref: di,
6185
6189
  tabIndex: d ? -1 : T,
6186
6190
  type: I,
6187
- ...ut,
6191
+ ...ft,
6188
6192
  ...Y,
6189
6193
  children: [a, U ? /* @__PURE__ */ E(ti, {
6190
6194
  ref: $,
@@ -6416,7 +6420,7 @@ const Te = 44, Mr = St`
6416
6420
  circle: ["circle", `circle${Z(r)}`, o && "circleDisableShrink"]
6417
6421
  };
6418
6422
  return Pe(i, Bc, t);
6419
- }, zc = me("span", {
6423
+ }, zc = pe("span", {
6420
6424
  name: "MuiCircularProgress",
6421
6425
  slot: "Root",
6422
6426
  overridesResolver: (e, t) => {
@@ -6451,13 +6455,13 @@ const Te = 44, Mr = St`
6451
6455
  color: (e.vars || e).palette[t].main
6452
6456
  }
6453
6457
  }))]
6454
- }))), Wc = me("svg", {
6458
+ }))), Wc = pe("svg", {
6455
6459
  name: "MuiCircularProgress",
6456
6460
  slot: "Svg"
6457
6461
  })({
6458
6462
  display: "block"
6459
6463
  // Keeps the progress centered
6460
- }), Lc = me("circle", {
6464
+ }), Lc = pe("circle", {
6461
6465
  name: "MuiCircularProgress",
6462
6466
  slot: "Circle",
6463
6467
  overridesResolver: (e, t) => {
@@ -6496,7 +6500,7 @@ const Te = 44, Mr = St`
6496
6500
  animation: `${_r} 1.4s ease-in-out infinite`
6497
6501
  }
6498
6502
  }]
6499
- }))), Fc = me("circle", {
6503
+ }))), Fc = pe("circle", {
6500
6504
  name: "MuiCircularProgress",
6501
6505
  slot: "Track"
6502
6506
  })(Oe(({
@@ -6546,7 +6550,7 @@ const Te = 44, Mr = St`
6546
6550
  role: "progressbar",
6547
6551
  ...k,
6548
6552
  ...b,
6549
- children: /* @__PURE__ */ de(Wc, {
6553
+ children: /* @__PURE__ */ me(Wc, {
6550
6554
  className: f.svg,
6551
6555
  ownerState: h,
6552
6556
  viewBox: `${Te / 2} ${Te / 2} ${Te} ${Te}`,
@@ -6693,7 +6697,7 @@ const Gc = (e) => {
6693
6697
  fontSize: 22
6694
6698
  }
6695
6699
  }
6696
- }], Uc = me(Zr, {
6700
+ }], Uc = pe(Zr, {
6697
6701
  shouldForwardProp: (e) => Qo(e) || e === "classes",
6698
6702
  name: "MuiButton",
6699
6703
  slot: "Root",
@@ -6901,7 +6905,7 @@ const Gc = (e) => {
6901
6905
  }
6902
6906
  }]
6903
6907
  };
6904
- })), Yc = me("span", {
6908
+ })), Yc = pe("span", {
6905
6909
  name: "MuiButton",
6906
6910
  slot: "StartIcon",
6907
6911
  overridesResolver: (e, t) => {
@@ -6944,7 +6948,7 @@ const Gc = (e) => {
6944
6948
  marginRight: -8
6945
6949
  }
6946
6950
  }, ...oi]
6947
- })), Hc = me("span", {
6951
+ })), Hc = pe("span", {
6948
6952
  name: "MuiButton",
6949
6953
  slot: "EndIcon",
6950
6954
  overridesResolver: (e, t) => {
@@ -6987,7 +6991,7 @@ const Gc = (e) => {
6987
6991
  marginLeft: -8
6988
6992
  }
6989
6993
  }, ...oi]
6990
- })), Kc = me("span", {
6994
+ })), Kc = pe("span", {
6991
6995
  name: "MuiButton",
6992
6996
  slot: "LoadingIndicator"
6993
6997
  })(({
@@ -7077,7 +7081,7 @@ const Gc = (e) => {
7077
7081
  right: -10
7078
7082
  }
7079
7083
  }]
7080
- })), Qn = me("span", {
7084
+ })), Qn = pe("span", {
7081
7085
  name: "MuiButton",
7082
7086
  slot: "LoadingIconPlaceholder"
7083
7087
  })({
@@ -7154,7 +7158,7 @@ const Gc = (e) => {
7154
7158
  })
7155
7159
  })
7156
7160
  ) : null;
7157
- return /* @__PURE__ */ de(Uc, {
7161
+ return /* @__PURE__ */ me(Uc, {
7158
7162
  ownerState: c,
7159
7163
  className: fe(n.className, T.root, m, I),
7160
7164
  component: d,
@@ -7304,7 +7308,7 @@ const Qc = (e) => {
7304
7308
  root: ["root", t && "absolute", u, i && "light", a === "vertical" && "vertical", o && "flexItem", r && "withChildren", r && a === "vertical" && "withChildrenVertical", l === "right" && a !== "vertical" && "textAlignRight", l === "left" && a !== "vertical" && "textAlignLeft"],
7305
7309
  wrapper: ["wrapper", a === "vertical" && "wrapperVertical"]
7306
7310
  }, Xc, n);
7307
- }, Jc = me("div", {
7311
+ }, Jc = pe("div", {
7308
7312
  name: "MuiDivider",
7309
7313
  slot: "Root",
7310
7314
  overridesResolver: (e, t) => {
@@ -7445,7 +7449,7 @@ const Qc = (e) => {
7445
7449
  }
7446
7450
  }
7447
7451
  }]
7448
- }))), Zc = me("span", {
7452
+ }))), Zc = pe("span", {
7449
7453
  name: "MuiDivider",
7450
7454
  slot: "Wrapper",
7451
7455
  overridesResolver: (e, t) => {
@@ -7593,7 +7597,7 @@ const Jn = Ie("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
7593
7597
  loadingWrapper: ["loadingWrapper"]
7594
7598
  };
7595
7599
  return Pe(l, eu, t);
7596
- }, ru = me(Zr, {
7600
+ }, ru = pe(Zr, {
7597
7601
  name: "MuiIconButton",
7598
7602
  slot: "Root",
7599
7603
  overridesResolver: (e, t) => {
@@ -7705,7 +7709,7 @@ const Jn = Ie("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
7705
7709
  [`&.${Jn.loading}`]: {
7706
7710
  color: "transparent"
7707
7711
  }
7708
- }))), nu = me("span", {
7712
+ }))), nu = pe("span", {
7709
7713
  name: "MuiIconButton",
7710
7714
  slot: "LoadingIndicator"
7711
7715
  })(({
@@ -7756,7 +7760,7 @@ const Jn = Ie("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
7756
7760
  loadingIndicator: g,
7757
7761
  size: m
7758
7762
  }, k = tu(C);
7759
- return /* @__PURE__ */ de(ru, {
7763
+ return /* @__PURE__ */ me(ru, {
7760
7764
  id: p ? f : y,
7761
7765
  className: fe(k.root, a),
7762
7766
  centerRipple: !0,
@@ -7900,7 +7904,7 @@ const au = (e) => {
7900
7904
  root: ["root", n, !t && "rounded", n === "elevation" && `elevation${r}`]
7901
7905
  };
7902
7906
  return Pe(i, su, o);
7903
- }, lu = me("div", {
7907
+ }, lu = pe("div", {
7904
7908
  name: "MuiPaper",
7905
7909
  slot: "Root",
7906
7910
  overridesResolver: (e, t) => {
@@ -8055,7 +8059,7 @@ const uu = {
8055
8059
  root: ["root", i, e.align !== "inherit" && `align${Z(t)}`, r && "gutterBottom", n && "noWrap", o && "paragraph"]
8056
8060
  };
8057
8061
  return Pe(l, cu, a);
8058
- }, pu = me("span", {
8062
+ }, pu = pe("span", {
8059
8063
  name: "MuiTypography",
8060
8064
  slot: "Root",
8061
8065
  overridesResolver: (e, t) => {
@@ -8399,15 +8403,15 @@ const Tr = ({
8399
8403
  }
8400
8404
  ) }, `${F}-${X}`);
8401
8405
  };
8402
- return /* @__PURE__ */ de(Gt, { children: [
8406
+ return /* @__PURE__ */ me(Gt, { children: [
8403
8407
  a && /* @__PURE__ */ E(tn, { variant: "subtitle2", sx: { mb: 1, fontWeight: 600 }, children: a }),
8404
- l.map((w, z) => /* @__PURE__ */ de(
8408
+ l.map((w, z) => /* @__PURE__ */ me(
8405
8409
  li,
8406
8410
  {
8407
8411
  variant: "outlined",
8408
8412
  sx: { p: 2, mb: 2, position: "relative" },
8409
8413
  children: [
8410
- /* @__PURE__ */ de(
8414
+ /* @__PURE__ */ me(
8411
8415
  Gt,
8412
8416
  {
8413
8417
  sx: {
@@ -8472,7 +8476,7 @@ const to = ({
8472
8476
  if (!e?.columns || !t || !r)
8473
8477
  return null;
8474
8478
  const l = a || t.watch();
8475
- return /* @__PURE__ */ de(Gt, { sx: { width: "100%" }, children: [
8479
+ return /* @__PURE__ */ me(Gt, { sx: { width: "100%" }, children: [
8476
8480
  e.ui?.label && /* @__PURE__ */ E(tn, { variant: "subtitle1", gutterBottom: !0, sx: { fontWeight: "bold", mb: 2 }, children: e.ui.label }),
8477
8481
  /* @__PURE__ */ E(Ke, { container: !0, spacing: 2, children: e.columns.map((u, d) => {
8478
8482
  const m = Ht(
@@ -8531,7 +8535,7 @@ const to = ({
8531
8535
  }) })
8532
8536
  ] });
8533
8537
  }, ro = ({ field: e }) => /* @__PURE__ */ E("input", { type: "hidden", ...e, value: e.value ?? "" }), no = ({ field: e, label: t, error: r, helperText: n, fieldProps: o }) => /* @__PURE__ */ E(
8534
- lt,
8538
+ ct,
8535
8539
  {
8536
8540
  name: e.name,
8537
8541
  ref: e.ref,
@@ -8542,7 +8546,7 @@ const to = ({
8542
8546
  },
8543
8547
  onBlur: e.onBlur,
8544
8548
  type: "number",
8545
- label: Se(t, o?.required),
8549
+ label: ye(t, o?.required),
8546
8550
  error: r,
8547
8551
  helperText: n,
8548
8552
  fullWidth: !0,
@@ -8559,12 +8563,12 @@ const to = ({
8559
8563
  helperText: n,
8560
8564
  fieldProps: o
8561
8565
  }) => /* @__PURE__ */ E(
8562
- lt,
8566
+ ct,
8563
8567
  {
8564
8568
  ...e,
8565
8569
  value: e.value ?? "",
8566
8570
  type: "password",
8567
- label: Se(t, o?.required),
8571
+ label: ye(t, o?.required),
8568
8572
  error: r,
8569
8573
  helperText: n,
8570
8574
  fullWidth: !0,
@@ -8574,7 +8578,7 @@ const to = ({
8574
8578
  required: o?.required,
8575
8579
  ...o
8576
8580
  }
8577
- ), io = yo(pt)(({ theme: e }) => ({
8581
+ ), io = yo(nt)(({ theme: e }) => ({
8578
8582
  backgroundColor: "#fff",
8579
8583
  ...e.typography.body2,
8580
8584
  // padding: theme.spacing(1),
@@ -8606,8 +8610,8 @@ const to = ({
8606
8610
  ))
8607
8611
  }
8608
8612
  );
8609
- return /* @__PURE__ */ de(
8610
- at,
8613
+ return /* @__PURE__ */ me(
8614
+ lt,
8611
8615
  {
8612
8616
  component: "fieldset",
8613
8617
  disabled: i?.disabled,
@@ -8630,14 +8634,14 @@ const to = ({
8630
8634
  children: [
8631
8635
  u ? (
8632
8636
  // 行内布局:label 和 radio 在同一行
8633
- /* @__PURE__ */ de(nn, { direction: "row", spacing: 2, alignItems: "center", children: [
8634
- /* @__PURE__ */ E(io, { children: t && /* @__PURE__ */ E(Vt, { component: "legend", required: !1, sx: { mb: 0, flexShrink: 0 }, children: Se(t, i?.required) }) }),
8637
+ /* @__PURE__ */ me(nn, { direction: "row", spacing: 2, alignItems: "center", children: [
8638
+ /* @__PURE__ */ E(io, { children: t && /* @__PURE__ */ E(Vt, { component: "legend", required: !1, sx: { mb: 0, flexShrink: 0 }, children: ye(t, i?.required) }) }),
8635
8639
  /* @__PURE__ */ E(io, { children: d })
8636
8640
  ] })
8637
8641
  ) : (
8638
8642
  // 默认布局:label 在上,radio 在下
8639
- /* @__PURE__ */ de(nn, { spacing: 0, children: [
8640
- t && /* @__PURE__ */ E(Vt, { component: "legend", required: !1, children: Se(t, i?.required) }),
8643
+ /* @__PURE__ */ me(nn, { spacing: 0, children: [
8644
+ t && /* @__PURE__ */ E(Vt, { component: "legend", required: !1, children: ye(t, i?.required) }),
8641
8645
  d
8642
8646
  ] })
8643
8647
  ),
@@ -8645,7 +8649,7 @@ const to = ({
8645
8649
  ]
8646
8650
  }
8647
8651
  );
8648
- }, ao = ({ field: e, label: t, fieldProps: r }) => /* @__PURE__ */ de(at, { children: [
8652
+ }, ao = ({ field: e, label: t, fieldProps: r }) => /* @__PURE__ */ me(lt, { children: [
8649
8653
  t && /* @__PURE__ */ E(Vt, { children: t }),
8650
8654
  /* @__PURE__ */ E(
8651
8655
  Ri,
@@ -8657,7 +8661,7 @@ const to = ({
8657
8661
  ...r
8658
8662
  }
8659
8663
  )
8660
- ] }), lo = ({ field: e, label: t, fieldProps: r }) => /* @__PURE__ */ de(at, { fullWidth: !0, children: [
8664
+ ] }), lo = ({ field: e, label: t, fieldProps: r }) => /* @__PURE__ */ me(lt, { fullWidth: !0, children: [
8661
8665
  t && /* @__PURE__ */ E(Vt, { children: t }),
8662
8666
  /* @__PURE__ */ E(
8663
8667
  ki,
@@ -8668,7 +8672,7 @@ const to = ({
8668
8672
  ...r
8669
8673
  }
8670
8674
  )
8671
- ] }), co = ({ field: e, label: t, error: r, helperText: n, fieldProps: o }) => /* @__PURE__ */ de(at, { error: r, required: o?.required, component: "fieldset", children: [
8675
+ ] }), co = ({ field: e, label: t, error: r, helperText: n, fieldProps: o }) => /* @__PURE__ */ me(lt, { error: r, required: o?.required, component: "fieldset", children: [
8672
8676
  /* @__PURE__ */ E(
8673
8677
  jr,
8674
8678
  {
@@ -8681,7 +8685,7 @@ const to = ({
8681
8685
  inputRef: e.ref
8682
8686
  }
8683
8687
  ),
8684
- label: Se(t, o?.required)
8688
+ label: ye(t, o?.required)
8685
8689
  }
8686
8690
  ),
8687
8691
  n && /* @__PURE__ */ E(zr, { children: n })
@@ -8692,11 +8696,11 @@ const to = ({
8692
8696
  helperText: n,
8693
8697
  fieldProps: o
8694
8698
  }) => /* @__PURE__ */ E(
8695
- lt,
8699
+ ct,
8696
8700
  {
8697
8701
  ...e,
8698
8702
  value: e.value ?? "",
8699
- label: Se(t, o?.required),
8703
+ label: ye(t, o?.required),
8700
8704
  multiline: !0,
8701
8705
  rows: 4,
8702
8706
  error: r,
@@ -8715,11 +8719,11 @@ const to = ({
8715
8719
  helperText: n,
8716
8720
  fieldProps: o
8717
8721
  }) => /* @__PURE__ */ E(
8718
- lt,
8722
+ ct,
8719
8723
  {
8720
8724
  ...e,
8721
8725
  value: e.value ?? "",
8722
- label: Se(t, o?.required),
8726
+ label: ye(t, o?.required),
8723
8727
  error: r,
8724
8728
  helperText: n,
8725
8729
  fullWidth: !0,
@@ -8743,7 +8747,7 @@ const to = ({
8743
8747
  slotProps: {
8744
8748
  textField: {
8745
8749
  fullWidth: !0,
8746
- label: Se(t, o?.required),
8750
+ label: ye(t, o?.required),
8747
8751
  error: r,
8748
8752
  helperText: n,
8749
8753
  required: o?.required,
@@ -9006,7 +9010,7 @@ function bu(e, t) {
9006
9010
  )
9007
9011
  ), x;
9008
9012
  }), q = y ?? r.layout?.spacing ?? 2;
9009
- return /* @__PURE__ */ E(xi, { ...g, children: /* @__PURE__ */ de("form", { noValidate: !0, style: { marginTop: "16px" }, children: [
9013
+ return /* @__PURE__ */ E(xi, { ...g, children: /* @__PURE__ */ me("form", { noValidate: !0, style: { marginTop: "16px" }, children: [
9010
9014
  a ? /* @__PURE__ */ E(Hl, { spacing: q, children: F() }) : /* @__PURE__ */ E(Kl, { spacing: q, children: F() }),
9011
9015
  m
9012
9016
  ] }) });
@@ -9044,7 +9048,7 @@ export {
9044
9048
  qi as createDynamicResolver,
9045
9049
  hu as defaultWidgets,
9046
9050
  je as evaluateCondition,
9047
- nt as extractDependencies,
9051
+ ot as extractDependencies,
9048
9052
  Mu as getDownstreamFields,
9049
9053
  Vi as getWatchFields,
9050
9054
  _u as mergeDefaultValues,