autoforma 1.0.56 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +6 -6
- package/dist/index.es.js +178 -178
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -87,7 +87,7 @@ function bp() {
|
|
|
87
87
|
return k = k.displayName, k || (k = E.displayName || E.name || "", k = k !== "" ? "ForwardRef(" + k + ")" : "ForwardRef"), k;
|
|
88
88
|
case T:
|
|
89
89
|
return E = k.displayName || null, E !== null ? E : n(k.type) || "Memo";
|
|
90
|
-
case
|
|
90
|
+
case O:
|
|
91
91
|
E = k._payload, k = k._init;
|
|
92
92
|
try {
|
|
93
93
|
return n(k(E));
|
|
@@ -108,8 +108,8 @@ function bp() {
|
|
|
108
108
|
}
|
|
109
109
|
if (E) {
|
|
110
110
|
E = console;
|
|
111
|
-
var
|
|
112
|
-
return
|
|
111
|
+
var D = E.error, j = typeof Symbol == "function" && Symbol.toStringTag && k[Symbol.toStringTag] || k.constructor.name || "Object";
|
|
112
|
+
return D.call(
|
|
113
113
|
E,
|
|
114
114
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
115
115
|
j
|
|
@@ -118,7 +118,7 @@ function bp() {
|
|
|
118
118
|
}
|
|
119
119
|
function r(k) {
|
|
120
120
|
if (k === g) return "<>";
|
|
121
|
-
if (typeof k == "object" && k !== null && k.$$typeof ===
|
|
121
|
+
if (typeof k == "object" && k !== null && k.$$typeof === O)
|
|
122
122
|
return "<...>";
|
|
123
123
|
try {
|
|
124
124
|
var E = n(k);
|
|
@@ -142,14 +142,14 @@ function bp() {
|
|
|
142
142
|
return k.key !== void 0;
|
|
143
143
|
}
|
|
144
144
|
function l(k, E) {
|
|
145
|
-
function
|
|
145
|
+
function D() {
|
|
146
146
|
Y || (Y = !0, console.error(
|
|
147
147
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
148
148
|
E
|
|
149
149
|
));
|
|
150
150
|
}
|
|
151
|
-
|
|
152
|
-
get:
|
|
151
|
+
D.isReactWarning = !0, Object.defineProperty(k, "key", {
|
|
152
|
+
get: D,
|
|
153
153
|
configurable: !0
|
|
154
154
|
});
|
|
155
155
|
}
|
|
@@ -159,13 +159,13 @@ function bp() {
|
|
|
159
159
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
160
160
|
)), k = this.props.ref, k !== void 0 ? k : null;
|
|
161
161
|
}
|
|
162
|
-
function c(k, E,
|
|
163
|
-
var A =
|
|
162
|
+
function c(k, E, D, j, W, ue) {
|
|
163
|
+
var A = D.ref;
|
|
164
164
|
return k = {
|
|
165
165
|
$$typeof: m,
|
|
166
166
|
type: k,
|
|
167
167
|
key: E,
|
|
168
|
-
props:
|
|
168
|
+
props: D,
|
|
169
169
|
_owner: j
|
|
170
170
|
}, (A !== void 0 ? A : null) !== null ? Object.defineProperty(k, "ref", {
|
|
171
171
|
enumerable: !1,
|
|
@@ -192,7 +192,7 @@ function bp() {
|
|
|
192
192
|
value: ue
|
|
193
193
|
}), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
|
|
194
194
|
}
|
|
195
|
-
function u(k, E,
|
|
195
|
+
function u(k, E, D, j, W, ue) {
|
|
196
196
|
var A = E.children;
|
|
197
197
|
if (A !== void 0)
|
|
198
198
|
if (j)
|
|
@@ -223,30 +223,30 @@ React keys must be passed directly to JSX without using spread:
|
|
|
223
223
|
A
|
|
224
224
|
), L[A + j] = !0);
|
|
225
225
|
}
|
|
226
|
-
if (A = null,
|
|
227
|
-
|
|
226
|
+
if (A = null, D !== void 0 && (t(D), A = "" + D), i(E) && (t(E.key), A = "" + E.key), "key" in E) {
|
|
227
|
+
D = {};
|
|
228
228
|
for (var se in E)
|
|
229
|
-
se !== "key" && (
|
|
230
|
-
} else
|
|
229
|
+
se !== "key" && (D[se] = E[se]);
|
|
230
|
+
} else D = E;
|
|
231
231
|
return A && l(
|
|
232
|
-
|
|
232
|
+
D,
|
|
233
233
|
typeof k == "function" ? k.displayName || k.name || "Unknown" : k
|
|
234
234
|
), c(
|
|
235
235
|
k,
|
|
236
236
|
A,
|
|
237
|
-
|
|
237
|
+
D,
|
|
238
238
|
s(),
|
|
239
239
|
W,
|
|
240
240
|
ue
|
|
241
241
|
);
|
|
242
242
|
}
|
|
243
243
|
function d(k) {
|
|
244
|
-
f(k) ? k._store && (k._store.validated = 1) : typeof k == "object" && k !== null && k.$$typeof ===
|
|
244
|
+
f(k) ? k._store && (k._store.validated = 1) : typeof k == "object" && k !== null && k.$$typeof === O && (k._payload.status === "fulfilled" ? f(k._payload.value) && k._payload.value._store && (k._payload.value._store.validated = 1) : k._store && (k._store.validated = 1));
|
|
245
245
|
}
|
|
246
246
|
function f(k) {
|
|
247
247
|
return typeof k == "object" && k !== null && k.$$typeof === m;
|
|
248
248
|
}
|
|
249
|
-
var h = ht, m = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), S = Symbol.for("react.consumer"), w = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"),
|
|
249
|
+
var h = ht, m = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), S = Symbol.for("react.consumer"), w = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), P = Symbol.for("react.activity"), $ = Symbol.for("react.client.reference"), V = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, _ = Object.prototype.hasOwnProperty, q = Array.isArray, Z = console.createTask ? console.createTask : function() {
|
|
250
250
|
return null;
|
|
251
251
|
};
|
|
252
252
|
h = {
|
|
@@ -258,22 +258,22 @@ React keys must be passed directly to JSX without using spread:
|
|
|
258
258
|
h,
|
|
259
259
|
o
|
|
260
260
|
)(), H = Z(r(o)), L = {};
|
|
261
|
-
hr.Fragment = g, hr.jsx = function(k, E,
|
|
261
|
+
hr.Fragment = g, hr.jsx = function(k, E, D) {
|
|
262
262
|
var j = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
263
263
|
return u(
|
|
264
264
|
k,
|
|
265
265
|
E,
|
|
266
|
-
|
|
266
|
+
D,
|
|
267
267
|
!1,
|
|
268
268
|
j ? Error("react-stack-top-frame") : z,
|
|
269
269
|
j ? Z(r(k)) : H
|
|
270
270
|
);
|
|
271
|
-
}, hr.jsxs = function(k, E,
|
|
271
|
+
}, hr.jsxs = function(k, E, D) {
|
|
272
272
|
var j = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
273
273
|
return u(
|
|
274
274
|
k,
|
|
275
275
|
E,
|
|
276
|
-
|
|
276
|
+
D,
|
|
277
277
|
!0,
|
|
278
278
|
j ? Error("react-stack-top-frame") : z,
|
|
279
279
|
j ? Z(r(k)) : H
|
|
@@ -593,10 +593,10 @@ function Lp({
|
|
|
593
593
|
}, []), m = Q((v, M) => {
|
|
594
594
|
u((T) => pr(T, v) === M ? T : { ...T, [v]: M });
|
|
595
595
|
}, []), y = Q((v, M, T) => {
|
|
596
|
-
d((
|
|
596
|
+
d((O) => pr(O, v) === M ? O : { ...O, [v]: M }, T);
|
|
597
597
|
}, []), g = Q((v, M) => {
|
|
598
|
-
const T = pr(c.current, v),
|
|
599
|
-
P[v] =
|
|
598
|
+
const T = pr(c.current, v), O = !ts(je(v, r.getValuesSnapshot()), M), P = Gi(v, c.current);
|
|
599
|
+
P[v] = O, d(P, T !== O);
|
|
600
600
|
}, []), b = Q(
|
|
601
601
|
(v) => pr(a.current, v),
|
|
602
602
|
[]
|
|
@@ -613,8 +613,8 @@ function Lp({
|
|
|
613
613
|
const T = je(v, c.current);
|
|
614
614
|
if (typeof T == "boolean")
|
|
615
615
|
return T;
|
|
616
|
-
const
|
|
617
|
-
return !ts(
|
|
616
|
+
const O = je(v, r.refValues.current), P = je(v, r.valuesSnapshot.current);
|
|
617
|
+
return !ts(O, P);
|
|
618
618
|
}
|
|
619
619
|
return Object.keys(c.current).length > 0 ? pr(c.current) : !ts(r.refValues.current, r.valuesSnapshot.current);
|
|
620
620
|
}, []), w = Q(() => c.current, []), C = Q(() => a.current, []);
|
|
@@ -797,7 +797,7 @@ function _p({
|
|
|
797
797
|
touchTrigger: m = "change",
|
|
798
798
|
cascadeUpdates: y = !1
|
|
799
799
|
} = {}) {
|
|
800
|
-
const g = Mp(r), b = jp({ initialValues: t, onValuesChange: c, mode: e }), x = Lp({ initialDirty: s, initialTouched: o, $values: b, mode: e }), S = Ap({ $values: b, $errors: g, $status: x }), w = Ip({ $status: x, cascadeUpdates: y }), [C, v] = ke(0), [M, T] = ke({}), [
|
|
800
|
+
const g = Mp(r), b = jp({ initialValues: t, onValuesChange: c, mode: e }), x = Lp({ initialDirty: s, initialTouched: o, $values: b, mode: e }), S = Ap({ $values: b, $errors: g, $status: x }), w = Ip({ $status: x, cascadeUpdates: y }), [C, v] = ke(0), [M, T] = ke({}), [O, P] = ke(!1), $ = Q(() => {
|
|
801
801
|
b.resetValues(), g.clearErrors(), x.resetDirty(), x.resetTouched(), e === "uncontrolled" && v((A) => A + 1);
|
|
802
802
|
}, []), V = Q(
|
|
803
803
|
(A) => {
|
|
@@ -890,7 +890,7 @@ function _p({
|
|
|
890
890
|
}, []), E = Q(
|
|
891
891
|
(A) => A ? !rs(A, f, b.refValues.current).hasError : !Qi(f, b.refValues.current).hasErrors,
|
|
892
892
|
[f]
|
|
893
|
-
),
|
|
893
|
+
), D = (A) => `${C}-${String(A)}-${M[String(A)] || 0}`, j = Q(
|
|
894
894
|
(A) => document.querySelector(`[data-path="${Za(n, A)}"]`),
|
|
895
895
|
[]
|
|
896
896
|
), W = Q(
|
|
@@ -914,7 +914,7 @@ function _p({
|
|
|
914
914
|
initialize: _,
|
|
915
915
|
setValues: Z,
|
|
916
916
|
setFieldValue: q,
|
|
917
|
-
submitting:
|
|
917
|
+
submitting: O,
|
|
918
918
|
setSubmitting: P,
|
|
919
919
|
errors: g.errorsState,
|
|
920
920
|
setErrors: g.setErrors,
|
|
@@ -941,7 +941,7 @@ function _p({
|
|
|
941
941
|
onReset: k,
|
|
942
942
|
isValid: E,
|
|
943
943
|
getTransformedValues: L,
|
|
944
|
-
key:
|
|
944
|
+
key: D,
|
|
945
945
|
getInputNode: j
|
|
946
946
|
};
|
|
947
947
|
return Sp(n, ue), ue;
|
|
@@ -1903,11 +1903,11 @@ function pm({
|
|
|
1903
1903
|
time: n || e || "",
|
|
1904
1904
|
amPmLabels: s,
|
|
1905
1905
|
format: r
|
|
1906
|
-
}), h = xe(!0), [m, y] = ke(f.hours), [g, b] = ke(f.minutes), [x, S] = ke(f.seconds), [w, C] = ke(f.amPm), v = a && !c && !u && (m !== null || g !== null || x !== null || w !== null), M = xe(null), T = xe(null),
|
|
1907
|
-
var E,
|
|
1908
|
-
k === "hours" && ((E = M.current) == null || E.focus()), k === "minutes" && ((
|
|
1906
|
+
}), h = xe(!0), [m, y] = ke(f.hours), [g, b] = ke(f.minutes), [x, S] = ke(f.seconds), [w, C] = ke(f.amPm), v = a && !c && !u && (m !== null || g !== null || x !== null || w !== null), M = xe(null), T = xe(null), O = xe(null), P = xe(null), $ = (k) => {
|
|
1907
|
+
var E, D, j, W;
|
|
1908
|
+
k === "hours" && ((E = M.current) == null || E.focus()), k === "minutes" && ((D = T.current) == null || D.focus()), k === "seconds" && ((j = O.current) == null || j.focus()), k === "amPm" && ((W = P.current) == null || W.focus());
|
|
1909
1909
|
}, V = (k, E) => {
|
|
1910
|
-
const
|
|
1910
|
+
const D = { hours: m, minutes: g, seconds: x, amPm: w, [k]: E }, j = ks({ ...D, format: r, withSeconds: o, amPmLabels: s });
|
|
1911
1911
|
j.valid ? (h.current = !1, k === "hours" && y(E), k === "minutes" && b(E), k === "seconds" && S(E), k === "amPm" && C(E), t == null || t(j.value)) : (h.current = !1, typeof n == "string" && n !== "" && (t == null || t("")));
|
|
1912
1912
|
}, _ = (k) => {
|
|
1913
1913
|
h.current = !1;
|
|
@@ -1926,11 +1926,11 @@ function pm({
|
|
|
1926
1926
|
h.current = !1, y(null), b(null), S(null), C(null), t == null || t(""), $("hours");
|
|
1927
1927
|
}, H = (k) => {
|
|
1928
1928
|
k.preventDefault();
|
|
1929
|
-
const E = k.clipboardData.getData("text"),
|
|
1929
|
+
const E = k.clipboardData.getData("text"), D = (d || xr)({ time: E, format: r, amPmLabels: s }), j = ks({ ...D, format: r, withSeconds: o, amPmLabels: s });
|
|
1930
1930
|
if (j.valid) {
|
|
1931
1931
|
h.current = !1;
|
|
1932
1932
|
const W = nd(j.value, i || "00:00:00", l || "23:59:59");
|
|
1933
|
-
t == null || t(W.timeString), y(
|
|
1933
|
+
t == null || t(W.timeString), y(D.hours), b(D.minutes), S(D.seconds), C(D.amPm);
|
|
1934
1934
|
}
|
|
1935
1935
|
}, L = ks({
|
|
1936
1936
|
hours: m,
|
|
@@ -1952,7 +1952,7 @@ function pm({
|
|
|
1952
1952
|
}
|
|
1953
1953
|
h.current = !0;
|
|
1954
1954
|
}, [n]), {
|
|
1955
|
-
refs: { hours: M, minutes: T, seconds:
|
|
1955
|
+
refs: { hours: M, minutes: T, seconds: O, amPm: P },
|
|
1956
1956
|
values: { hours: m, minutes: g, seconds: x, amPm: w },
|
|
1957
1957
|
setHours: q,
|
|
1958
1958
|
setMinutes: Z,
|
|
@@ -2003,7 +2003,7 @@ const mm = {
|
|
|
2003
2003
|
amPmLabels: v,
|
|
2004
2004
|
clearable: M,
|
|
2005
2005
|
onMouseDown: T,
|
|
2006
|
-
onFocusCapture:
|
|
2006
|
+
onFocusCapture: O,
|
|
2007
2007
|
onBlurCapture: P,
|
|
2008
2008
|
min: $,
|
|
2009
2009
|
max: V,
|
|
@@ -2017,7 +2017,7 @@ const mm = {
|
|
|
2017
2017
|
minutesInputProps: L,
|
|
2018
2018
|
secondsInputProps: k,
|
|
2019
2019
|
amPmSelectProps: E,
|
|
2020
|
-
readOnly:
|
|
2020
|
+
readOnly: D,
|
|
2021
2021
|
disabled: j,
|
|
2022
2022
|
size: W,
|
|
2023
2023
|
name: ue,
|
|
@@ -2062,7 +2062,7 @@ const mm = {
|
|
|
2062
2062
|
max: V,
|
|
2063
2063
|
clearable: M,
|
|
2064
2064
|
disabled: j,
|
|
2065
|
-
readOnly:
|
|
2065
|
+
readOnly: D,
|
|
2066
2066
|
pasteSplit: X
|
|
2067
2067
|
}), yn = br(ee.refs.hours, pe), bn = br(ee.refs.minutes, he), de = br(ee.refs.seconds, le), at = br(ee.refs.amPm, ne), Qe = em(), Lt = xe(!1), [Wn, Xr] = ke(!1), Yn = (re) => {
|
|
2068
2068
|
Lt.current || (Lt.current = !0, Y == null || Y(re));
|
|
@@ -2088,7 +2088,7 @@ const mm = {
|
|
|
2088
2088
|
transitionProps: { duration: 0 },
|
|
2089
2089
|
position: "bottom-start",
|
|
2090
2090
|
withRoles: !1,
|
|
2091
|
-
disabled: j ||
|
|
2091
|
+
disabled: j || D || !q,
|
|
2092
2092
|
..._,
|
|
2093
2093
|
children: [
|
|
2094
2094
|
/* @__PURE__ */ p.jsx(rt.Target, { children: /* @__PURE__ */ p.jsxs(
|
|
@@ -2105,7 +2105,7 @@ const mm = {
|
|
|
2105
2105
|
re.preventDefault(), T == null || T(re);
|
|
2106
2106
|
},
|
|
2107
2107
|
onFocusCapture: (re) => {
|
|
2108
|
-
Xr(!0),
|
|
2108
|
+
Xr(!0), O == null || O(re);
|
|
2109
2109
|
},
|
|
2110
2110
|
onBlurCapture: (re) => {
|
|
2111
2111
|
Xr(!1), P == null || P(re);
|
|
@@ -2153,7 +2153,7 @@ const mm = {
|
|
|
2153
2153
|
step: m,
|
|
2154
2154
|
ref: yn,
|
|
2155
2155
|
"aria-label": x,
|
|
2156
|
-
readOnly:
|
|
2156
|
+
readOnly: D,
|
|
2157
2157
|
disabled: j,
|
|
2158
2158
|
onPaste: ee.onPaste,
|
|
2159
2159
|
onFocus: (re) => {
|
|
@@ -2187,7 +2187,7 @@ const mm = {
|
|
|
2187
2187
|
onNextInput: () => b ? ee.focus("seconds") : ee.focus("amPm"),
|
|
2188
2188
|
"aria-label": S,
|
|
2189
2189
|
tabIndex: -1,
|
|
2190
|
-
readOnly:
|
|
2190
|
+
readOnly: D,
|
|
2191
2191
|
disabled: j,
|
|
2192
2192
|
onPaste: ee.onPaste,
|
|
2193
2193
|
onFocus: (re) => {
|
|
@@ -2217,7 +2217,7 @@ const mm = {
|
|
|
2217
2217
|
onNextInput: () => ee.focus("amPm"),
|
|
2218
2218
|
"aria-label": w,
|
|
2219
2219
|
tabIndex: -1,
|
|
2220
|
-
readOnly:
|
|
2220
|
+
readOnly: D,
|
|
2221
2221
|
disabled: j,
|
|
2222
2222
|
onPaste: ee.onPaste,
|
|
2223
2223
|
onFocus: (re) => {
|
|
@@ -2238,7 +2238,7 @@ const mm = {
|
|
|
2238
2238
|
ref: at,
|
|
2239
2239
|
"aria-label": C,
|
|
2240
2240
|
onPreviousInput: () => b ? ee.focus("seconds") : ee.focus("minutes"),
|
|
2241
|
-
readOnly:
|
|
2241
|
+
readOnly: D,
|
|
2242
2242
|
disabled: j,
|
|
2243
2243
|
tabIndex: -1,
|
|
2244
2244
|
onPaste: ee.onPaste,
|
|
@@ -2593,7 +2593,7 @@ const Dm = {
|
|
|
2593
2593
|
getDayAriaLabel: v,
|
|
2594
2594
|
static: M,
|
|
2595
2595
|
__getDayRef: T,
|
|
2596
|
-
__onDayKeyDown:
|
|
2596
|
+
__onDayKeyDown: O,
|
|
2597
2597
|
__onDayClick: P,
|
|
2598
2598
|
__onDayMouseEnter: $,
|
|
2599
2599
|
__preventFocus: V,
|
|
@@ -2621,7 +2621,7 @@ const Dm = {
|
|
|
2621
2621
|
month: h,
|
|
2622
2622
|
firstDayOfWeek: k.getFirstDayOfWeek(d),
|
|
2623
2623
|
consistentWeeks: k.consistentWeeks
|
|
2624
|
-
}),
|
|
2624
|
+
}), D = Cm({
|
|
2625
2625
|
dates: E,
|
|
2626
2626
|
minDate: Ue(b),
|
|
2627
2627
|
maxDate: Ue(x),
|
|
@@ -2635,7 +2635,7 @@ const Dm = {
|
|
|
2635
2635
|
props: t
|
|
2636
2636
|
}), ue = E.map((A, U) => {
|
|
2637
2637
|
const se = A.map((X, pe) => {
|
|
2638
|
-
const he = !Eo(X, h), le = (v == null ? void 0 : v(X)) || N(X).locale(u || k.locale).format("D MMMM YYYY"), ne = y == null ? void 0 : y(X), Le = N(X).isSame(
|
|
2638
|
+
const he = !Eo(X, h), le = (v == null ? void 0 : v(X)) || N(X).locale(u || k.locale).format("D MMMM YYYY"), ne = y == null ? void 0 : y(X), Le = N(X).isSame(D, "date");
|
|
2639
2639
|
return /* @__PURE__ */ p.jsx(
|
|
2640
2640
|
"td",
|
|
2641
2641
|
{
|
|
@@ -2665,7 +2665,7 @@ const Dm = {
|
|
|
2665
2665
|
...ne,
|
|
2666
2666
|
onKeyDown: (ce) => {
|
|
2667
2667
|
var Me;
|
|
2668
|
-
(Me = ne == null ? void 0 : ne.onKeyDown) == null || Me.call(ne, ce),
|
|
2668
|
+
(Me = ne == null ? void 0 : ne.onKeyDown) == null || Me.call(ne, ce), O == null || O(ce, { rowIndex: U, cellIndex: pe, date: X });
|
|
2669
2669
|
},
|
|
2670
2670
|
onMouseEnter: (ce) => {
|
|
2671
2671
|
var Me;
|
|
@@ -2828,7 +2828,7 @@ const Lm = {
|
|
|
2828
2828
|
withCellSpacing: v,
|
|
2829
2829
|
size: M,
|
|
2830
2830
|
attributes: T,
|
|
2831
|
-
...
|
|
2831
|
+
...O
|
|
2832
2832
|
} = t, P = vt({
|
|
2833
2833
|
name: y || "YearsList",
|
|
2834
2834
|
classes: fd,
|
|
@@ -2867,20 +2867,20 @@ const Lm = {
|
|
|
2867
2867
|
},
|
|
2868
2868
|
...L,
|
|
2869
2869
|
onKeyDown: (E) => {
|
|
2870
|
-
var
|
|
2871
|
-
(
|
|
2870
|
+
var D;
|
|
2871
|
+
(D = L == null ? void 0 : L.onKeyDown) == null || D.call(L, E), b == null || b(E, { rowIndex: Y, cellIndex: H, date: z });
|
|
2872
2872
|
},
|
|
2873
2873
|
onClick: (E) => {
|
|
2874
|
-
var
|
|
2875
|
-
(
|
|
2874
|
+
var D;
|
|
2875
|
+
(D = L == null ? void 0 : L.onClick) == null || D.call(L, E), x == null || x(E, z);
|
|
2876
2876
|
},
|
|
2877
2877
|
onMouseEnter: (E) => {
|
|
2878
|
-
var
|
|
2879
|
-
(
|
|
2878
|
+
var D;
|
|
2879
|
+
(D = L == null ? void 0 : L.onMouseEnter) == null || D.call(L, E), S == null || S(E, z);
|
|
2880
2880
|
},
|
|
2881
2881
|
onMouseDown: (E) => {
|
|
2882
|
-
var
|
|
2883
|
-
(
|
|
2882
|
+
var D;
|
|
2883
|
+
(D = L == null ? void 0 : L.onMouseDown) == null || D.call(L, E), w && E.preventDefault();
|
|
2884
2884
|
},
|
|
2885
2885
|
tabIndex: w || !k ? -1 : 0,
|
|
2886
2886
|
children: N(z).locale($.getLocale(d)).format(u)
|
|
@@ -2892,7 +2892,7 @@ const Lm = {
|
|
|
2892
2892
|
});
|
|
2893
2893
|
return /* @__PURE__ */ p.jsx("tr", { ...P("yearsListRow"), children: K }, Y);
|
|
2894
2894
|
});
|
|
2895
|
-
return /* @__PURE__ */ p.jsx(ze, { component: "table", ref: e, size: M, ...P("yearsList"), ...
|
|
2895
|
+
return /* @__PURE__ */ p.jsx(ze, { component: "table", ref: e, size: M, ...P("yearsList"), ...O, children: /* @__PURE__ */ p.jsx("tbody", { children: q }) });
|
|
2896
2896
|
});
|
|
2897
2897
|
Ao.classes = fd;
|
|
2898
2898
|
Ao.displayName = "@mantine/dates/YearsList";
|
|
@@ -2955,7 +2955,7 @@ const Pm = {
|
|
|
2955
2955
|
withCellSpacing: v,
|
|
2956
2956
|
size: M,
|
|
2957
2957
|
attributes: T,
|
|
2958
|
-
...
|
|
2958
|
+
...O
|
|
2959
2959
|
} = t, P = vt({
|
|
2960
2960
|
name: c || "MonthsList",
|
|
2961
2961
|
classes: pd,
|
|
@@ -2999,20 +2999,20 @@ const Pm = {
|
|
|
2999
2999
|
},
|
|
3000
3000
|
...L,
|
|
3001
3001
|
onKeyDown: (E) => {
|
|
3002
|
-
var
|
|
3003
|
-
(
|
|
3002
|
+
var D;
|
|
3003
|
+
(D = L == null ? void 0 : L.onKeyDown) == null || D.call(L, E), b == null || b(E, { rowIndex: Y, cellIndex: H, date: z });
|
|
3004
3004
|
},
|
|
3005
3005
|
onClick: (E) => {
|
|
3006
|
-
var
|
|
3007
|
-
(
|
|
3006
|
+
var D;
|
|
3007
|
+
(D = L == null ? void 0 : L.onClick) == null || D.call(L, E), x == null || x(E, z);
|
|
3008
3008
|
},
|
|
3009
3009
|
onMouseEnter: (E) => {
|
|
3010
|
-
var
|
|
3011
|
-
(
|
|
3010
|
+
var D;
|
|
3011
|
+
(D = L == null ? void 0 : L.onMouseEnter) == null || D.call(L, E), S == null || S(E, z);
|
|
3012
3012
|
},
|
|
3013
3013
|
onMouseDown: (E) => {
|
|
3014
|
-
var
|
|
3015
|
-
(
|
|
3014
|
+
var D;
|
|
3015
|
+
(D = L == null ? void 0 : L.onMouseDown) == null || D.call(L, E), w && E.preventDefault();
|
|
3016
3016
|
},
|
|
3017
3017
|
tabIndex: w || !k ? -1 : 0,
|
|
3018
3018
|
children: N(z).locale($.getLocale(f)).format(d)
|
|
@@ -3024,7 +3024,7 @@ const Pm = {
|
|
|
3024
3024
|
});
|
|
3025
3025
|
return /* @__PURE__ */ p.jsx("tr", { ...P("monthsListRow"), children: K }, Y);
|
|
3026
3026
|
});
|
|
3027
|
-
return /* @__PURE__ */ p.jsx(ze, { component: "table", ref: e, size: M, ...P("monthsList"), ...
|
|
3027
|
+
return /* @__PURE__ */ p.jsx(ze, { component: "table", ref: e, size: M, ...P("monthsList"), ...O, children: /* @__PURE__ */ p.jsx("tbody", { children: q }) });
|
|
3028
3028
|
});
|
|
3029
3029
|
No.classes = pd;
|
|
3030
3030
|
No.displayName = "@mantine/dates/MonthsList";
|
|
@@ -3063,7 +3063,7 @@ const _m = {
|
|
|
3063
3063
|
withPrevious: v,
|
|
3064
3064
|
headerControlsOrder: M,
|
|
3065
3065
|
__staticSelector: T,
|
|
3066
|
-
__preventFocus:
|
|
3066
|
+
__preventFocus: O,
|
|
3067
3067
|
__stopPropagation: P,
|
|
3068
3068
|
attributes: $,
|
|
3069
3069
|
...V
|
|
@@ -3080,7 +3080,7 @@ const _m = {
|
|
|
3080
3080
|
vars: a,
|
|
3081
3081
|
varsResolver: Fm,
|
|
3082
3082
|
rootSelector: "calendarHeader"
|
|
3083
|
-
}), q =
|
|
3083
|
+
}), q = O ? (H) => H.preventDefault() : void 0, Z = v && /* @__PURE__ */ ai(
|
|
3084
3084
|
Ot,
|
|
3085
3085
|
{
|
|
3086
3086
|
..._("calendarHeaderControl"),
|
|
@@ -3092,7 +3092,7 @@ const _m = {
|
|
|
3092
3092
|
onMouseDown: q,
|
|
3093
3093
|
disabled: x,
|
|
3094
3094
|
"data-disabled": x || void 0,
|
|
3095
|
-
tabIndex:
|
|
3095
|
+
tabIndex: O || x ? -1 : 0,
|
|
3096
3096
|
"data-mantine-stop-propagation": P || void 0
|
|
3097
3097
|
},
|
|
3098
3098
|
u || /* @__PURE__ */ p.jsx(
|
|
@@ -3115,7 +3115,7 @@ const _m = {
|
|
|
3115
3115
|
disabled: !S,
|
|
3116
3116
|
"data-static": !S || void 0,
|
|
3117
3117
|
"aria-label": w,
|
|
3118
|
-
tabIndex:
|
|
3118
|
+
tabIndex: O || !S ? -1 : 0,
|
|
3119
3119
|
"data-mantine-stop-propagation": P || void 0
|
|
3120
3120
|
},
|
|
3121
3121
|
g
|
|
@@ -3131,7 +3131,7 @@ const _m = {
|
|
|
3131
3131
|
onMouseDown: q,
|
|
3132
3132
|
disabled: b,
|
|
3133
3133
|
"data-disabled": b || void 0,
|
|
3134
|
-
tabIndex:
|
|
3134
|
+
tabIndex: O || b ? -1 : 0,
|
|
3135
3135
|
"data-mantine-stop-propagation": P || void 0
|
|
3136
3136
|
},
|
|
3137
3137
|
c || /* @__PURE__ */ p.jsx(
|
|
@@ -3179,7 +3179,7 @@ const zm = {
|
|
|
3179
3179
|
previousDisabled: v,
|
|
3180
3180
|
levelControlAriaLabel: M,
|
|
3181
3181
|
withNext: T,
|
|
3182
|
-
withPrevious:
|
|
3182
|
+
withPrevious: O,
|
|
3183
3183
|
headerControlsOrder: P,
|
|
3184
3184
|
// Other props
|
|
3185
3185
|
decadeLabelFormat: $,
|
|
@@ -3191,7 +3191,7 @@ const zm = {
|
|
|
3191
3191
|
size: K,
|
|
3192
3192
|
attributes: z,
|
|
3193
3193
|
...H
|
|
3194
|
-
} = t, L = Wt(), [k, E] = Bm(r),
|
|
3194
|
+
} = t, L = Wt(), [k, E] = Bm(r), D = {
|
|
3195
3195
|
__staticSelector: Z || "DecadeLevel",
|
|
3196
3196
|
classNames: V,
|
|
3197
3197
|
styles: _,
|
|
@@ -3220,9 +3220,9 @@ const zm = {
|
|
|
3220
3220
|
hasNextLevel: !1,
|
|
3221
3221
|
levelControlAriaLabel: M,
|
|
3222
3222
|
withNext: T,
|
|
3223
|
-
withPrevious:
|
|
3223
|
+
withPrevious: O,
|
|
3224
3224
|
headerControlsOrder: P,
|
|
3225
|
-
...
|
|
3225
|
+
...D
|
|
3226
3226
|
}
|
|
3227
3227
|
),
|
|
3228
3228
|
/* @__PURE__ */ p.jsx(
|
|
@@ -3241,7 +3241,7 @@ const zm = {
|
|
|
3241
3241
|
__preventFocus: m,
|
|
3242
3242
|
__stopPropagation: Y,
|
|
3243
3243
|
withCellSpacing: h,
|
|
3244
|
-
...
|
|
3244
|
+
...D
|
|
3245
3245
|
}
|
|
3246
3246
|
)
|
|
3247
3247
|
] });
|
|
@@ -3276,7 +3276,7 @@ const Vm = {
|
|
|
3276
3276
|
nextDisabled: v,
|
|
3277
3277
|
previousDisabled: M,
|
|
3278
3278
|
hasNextLevel: T,
|
|
3279
|
-
levelControlAriaLabel:
|
|
3279
|
+
levelControlAriaLabel: O,
|
|
3280
3280
|
withNext: P,
|
|
3281
3281
|
withPrevious: $,
|
|
3282
3282
|
headerControlsOrder: V,
|
|
@@ -3290,7 +3290,7 @@ const Vm = {
|
|
|
3290
3290
|
unstyled: H,
|
|
3291
3291
|
attributes: L,
|
|
3292
3292
|
...k
|
|
3293
|
-
} = t, E = Wt(),
|
|
3293
|
+
} = t, E = Wt(), D = {
|
|
3294
3294
|
__staticSelector: q || "YearLevel",
|
|
3295
3295
|
classNames: K,
|
|
3296
3296
|
styles: z,
|
|
@@ -3315,11 +3315,11 @@ const Vm = {
|
|
|
3315
3315
|
nextDisabled: j,
|
|
3316
3316
|
previousDisabled: W,
|
|
3317
3317
|
hasNextLevel: T,
|
|
3318
|
-
levelControlAriaLabel:
|
|
3318
|
+
levelControlAriaLabel: O,
|
|
3319
3319
|
withNext: P,
|
|
3320
3320
|
withPrevious: $,
|
|
3321
3321
|
headerControlsOrder: V,
|
|
3322
|
-
...
|
|
3322
|
+
...D
|
|
3323
3323
|
}
|
|
3324
3324
|
),
|
|
3325
3325
|
/* @__PURE__ */ p.jsx(
|
|
@@ -3338,7 +3338,7 @@ const Vm = {
|
|
|
3338
3338
|
__preventFocus: m,
|
|
3339
3339
|
__stopPropagation: Z,
|
|
3340
3340
|
withCellSpacing: h,
|
|
3341
|
-
...
|
|
3341
|
+
...D
|
|
3342
3342
|
}
|
|
3343
3343
|
)
|
|
3344
3344
|
] });
|
|
@@ -3373,7 +3373,7 @@ const Hm = {
|
|
|
3373
3373
|
// CalendarHeader settings
|
|
3374
3374
|
__preventFocus: M,
|
|
3375
3375
|
__stopPropagation: T,
|
|
3376
|
-
nextIcon:
|
|
3376
|
+
nextIcon: O,
|
|
3377
3377
|
previousIcon: P,
|
|
3378
3378
|
nextLabel: $,
|
|
3379
3379
|
previousLabel: V,
|
|
@@ -3388,7 +3388,7 @@ const Hm = {
|
|
|
3388
3388
|
withPrevious: k,
|
|
3389
3389
|
headerControlsOrder: E,
|
|
3390
3390
|
// Other props
|
|
3391
|
-
monthLabelFormat:
|
|
3391
|
+
monthLabelFormat: D,
|
|
3392
3392
|
classNames: j,
|
|
3393
3393
|
styles: W,
|
|
3394
3394
|
unstyled: ue,
|
|
@@ -3409,10 +3409,10 @@ const Hm = {
|
|
|
3409
3409
|
/* @__PURE__ */ p.jsx(
|
|
3410
3410
|
dn,
|
|
3411
3411
|
{
|
|
3412
|
-
label: typeof
|
|
3412
|
+
label: typeof D == "function" ? D(r) : N(r).locale(s || he.locale).format(D),
|
|
3413
3413
|
__preventFocus: M,
|
|
3414
3414
|
__stopPropagation: T,
|
|
3415
|
-
nextIcon:
|
|
3415
|
+
nextIcon: O,
|
|
3416
3416
|
previousIcon: P,
|
|
3417
3417
|
nextLabel: $,
|
|
3418
3418
|
previousLabel: V,
|
|
@@ -3520,7 +3520,7 @@ const $m = {
|
|
|
3520
3520
|
classNames: v,
|
|
3521
3521
|
styles: M,
|
|
3522
3522
|
unstyled: T,
|
|
3523
|
-
__staticSelector:
|
|
3523
|
+
__staticSelector: O,
|
|
3524
3524
|
__stopPropagation: P,
|
|
3525
3525
|
numberOfColumns: $,
|
|
3526
3526
|
levelControlAriaLabel: V,
|
|
@@ -3542,15 +3542,15 @@ const $m = {
|
|
|
3542
3542
|
decadeLabelFormat: _,
|
|
3543
3543
|
__onControlClick: c,
|
|
3544
3544
|
__onControlMouseEnter: u,
|
|
3545
|
-
__onControlKeyDown: (
|
|
3545
|
+
__onControlKeyDown: (D, j) => Pl({
|
|
3546
3546
|
levelIndex: k,
|
|
3547
3547
|
rowIndex: j.rowIndex,
|
|
3548
3548
|
cellIndex: j.cellIndex,
|
|
3549
|
-
event:
|
|
3549
|
+
event: D,
|
|
3550
3550
|
controlsRef: z
|
|
3551
3551
|
}),
|
|
3552
|
-
__getControlRef: (
|
|
3553
|
-
Array.isArray(z.current[k]) || (z.current[k] = []), Array.isArray(z.current[k][
|
|
3552
|
+
__getControlRef: (D, j, W) => {
|
|
3553
|
+
Array.isArray(z.current[k]) || (z.current[k] = []), Array.isArray(z.current[k][D]) || (z.current[k][D] = []), z.current[k][D][j] = W;
|
|
3554
3554
|
},
|
|
3555
3555
|
levelControlAriaLabel: typeof V == "function" ? V(E) : V,
|
|
3556
3556
|
locale: s,
|
|
@@ -3567,7 +3567,7 @@ const $m = {
|
|
|
3567
3567
|
nextDisabled: S,
|
|
3568
3568
|
previousDisabled: w,
|
|
3569
3569
|
getYearControlProps: a,
|
|
3570
|
-
__staticSelector:
|
|
3570
|
+
__staticSelector: O || "DecadeLevelGroup",
|
|
3571
3571
|
classNames: v,
|
|
3572
3572
|
styles: M,
|
|
3573
3573
|
unstyled: T,
|
|
@@ -3583,7 +3583,7 @@ const $m = {
|
|
|
3583
3583
|
{
|
|
3584
3584
|
classNames: v,
|
|
3585
3585
|
styles: M,
|
|
3586
|
-
__staticSelector:
|
|
3586
|
+
__staticSelector: O || "DecadeLevelGroup",
|
|
3587
3587
|
ref: e,
|
|
3588
3588
|
size: q,
|
|
3589
3589
|
unstyled: T,
|
|
@@ -3624,7 +3624,7 @@ const Wm = {
|
|
|
3624
3624
|
headerControlsOrder: M,
|
|
3625
3625
|
// Other settings
|
|
3626
3626
|
classNames: T,
|
|
3627
|
-
styles:
|
|
3627
|
+
styles: O,
|
|
3628
3628
|
unstyled: P,
|
|
3629
3629
|
__staticSelector: $,
|
|
3630
3630
|
__stopPropagation: V,
|
|
@@ -3635,29 +3635,29 @@ const Wm = {
|
|
|
3635
3635
|
vars: K,
|
|
3636
3636
|
attributes: z,
|
|
3637
3637
|
...H
|
|
3638
|
-
} = t, L = xe([]), k = Array(_).fill(0).map((E,
|
|
3639
|
-
const j = N(r).add(
|
|
3638
|
+
} = t, L = xe([]), k = Array(_).fill(0).map((E, D) => {
|
|
3639
|
+
const j = N(r).add(D, "years").format("YYYY-MM-DD");
|
|
3640
3640
|
return /* @__PURE__ */ p.jsx(
|
|
3641
3641
|
Lo,
|
|
3642
3642
|
{
|
|
3643
3643
|
size: Y,
|
|
3644
3644
|
monthsListFormat: l,
|
|
3645
3645
|
year: j,
|
|
3646
|
-
withNext:
|
|
3647
|
-
withPrevious:
|
|
3646
|
+
withNext: D === _ - 1,
|
|
3647
|
+
withPrevious: D === 0,
|
|
3648
3648
|
yearLabelFormat: Z,
|
|
3649
3649
|
__stopPropagation: V,
|
|
3650
3650
|
__onControlClick: c,
|
|
3651
3651
|
__onControlMouseEnter: u,
|
|
3652
3652
|
__onControlKeyDown: (W, ue) => Pl({
|
|
3653
|
-
levelIndex:
|
|
3653
|
+
levelIndex: D,
|
|
3654
3654
|
rowIndex: ue.rowIndex,
|
|
3655
3655
|
cellIndex: ue.cellIndex,
|
|
3656
3656
|
event: W,
|
|
3657
3657
|
controlsRef: L
|
|
3658
3658
|
}),
|
|
3659
3659
|
__getControlRef: (W, ue, A) => {
|
|
3660
|
-
Array.isArray(L.current[
|
|
3660
|
+
Array.isArray(L.current[D]) || (L.current[D] = []), Array.isArray(L.current[D][W]) || (L.current[D][W] = []), L.current[D][W][ue] = A;
|
|
3661
3661
|
},
|
|
3662
3662
|
levelControlAriaLabel: typeof q == "function" ? q(j) : q,
|
|
3663
3663
|
locale: s,
|
|
@@ -3676,21 +3676,21 @@ const Wm = {
|
|
|
3676
3676
|
hasNextLevel: v,
|
|
3677
3677
|
getMonthControlProps: a,
|
|
3678
3678
|
classNames: T,
|
|
3679
|
-
styles:
|
|
3679
|
+
styles: O,
|
|
3680
3680
|
unstyled: P,
|
|
3681
3681
|
__staticSelector: $ || "YearLevelGroup",
|
|
3682
3682
|
withCellSpacing: d,
|
|
3683
3683
|
headerControlsOrder: M,
|
|
3684
3684
|
attributes: z
|
|
3685
3685
|
},
|
|
3686
|
-
|
|
3686
|
+
D
|
|
3687
3687
|
);
|
|
3688
3688
|
});
|
|
3689
3689
|
return /* @__PURE__ */ p.jsx(
|
|
3690
3690
|
fn,
|
|
3691
3691
|
{
|
|
3692
3692
|
classNames: T,
|
|
3693
|
-
styles:
|
|
3693
|
+
styles: O,
|
|
3694
3694
|
__staticSelector: $ || "YearLevelGroup",
|
|
3695
3695
|
ref: e,
|
|
3696
3696
|
size: Y,
|
|
@@ -3731,7 +3731,7 @@ const Ym = {
|
|
|
3731
3731
|
nextIcon: v,
|
|
3732
3732
|
previousIcon: M,
|
|
3733
3733
|
nextLabel: T,
|
|
3734
|
-
previousLabel:
|
|
3734
|
+
previousLabel: O,
|
|
3735
3735
|
onNext: P,
|
|
3736
3736
|
onPrevious: $,
|
|
3737
3737
|
onLevelClick: V,
|
|
@@ -3746,7 +3746,7 @@ const Ym = {
|
|
|
3746
3746
|
numberOfColumns: L,
|
|
3747
3747
|
levelControlAriaLabel: k,
|
|
3748
3748
|
monthLabelFormat: E,
|
|
3749
|
-
__staticSelector:
|
|
3749
|
+
__staticSelector: D,
|
|
3750
3750
|
__stopPropagation: j,
|
|
3751
3751
|
size: W,
|
|
3752
3752
|
static: ue,
|
|
@@ -3792,7 +3792,7 @@ const Ym = {
|
|
|
3792
3792
|
nextIcon: v,
|
|
3793
3793
|
previousIcon: M,
|
|
3794
3794
|
nextLabel: T,
|
|
3795
|
-
previousLabel:
|
|
3795
|
+
previousLabel: O,
|
|
3796
3796
|
onNext: P,
|
|
3797
3797
|
onPrevious: $,
|
|
3798
3798
|
onLevelClick: V,
|
|
@@ -3802,7 +3802,7 @@ const Ym = {
|
|
|
3802
3802
|
classNames: K,
|
|
3803
3803
|
styles: z,
|
|
3804
3804
|
unstyled: H,
|
|
3805
|
-
__staticSelector:
|
|
3805
|
+
__staticSelector: D || "MonthLevelGroup",
|
|
3806
3806
|
size: W,
|
|
3807
3807
|
static: ue,
|
|
3808
3808
|
withCellSpacing: x,
|
|
@@ -3819,7 +3819,7 @@ const Ym = {
|
|
|
3819
3819
|
{
|
|
3820
3820
|
classNames: K,
|
|
3821
3821
|
styles: z,
|
|
3822
|
-
__staticSelector:
|
|
3822
|
+
__staticSelector: D || "MonthLevelGroup",
|
|
3823
3823
|
ref: e,
|
|
3824
3824
|
size: W,
|
|
3825
3825
|
attributes: U,
|
|
@@ -3856,7 +3856,7 @@ const Fo = Ce((n, e) => {
|
|
|
3856
3856
|
disabled: v,
|
|
3857
3857
|
value: M,
|
|
3858
3858
|
name: T,
|
|
3859
|
-
form:
|
|
3859
|
+
form: O,
|
|
3860
3860
|
type: P,
|
|
3861
3861
|
onDropdownClose: $,
|
|
3862
3862
|
withTime: V,
|
|
@@ -3929,7 +3929,7 @@ const Fo = Ce((n, e) => {
|
|
|
3929
3929
|
]
|
|
3930
3930
|
}
|
|
3931
3931
|
) }),
|
|
3932
|
-
/* @__PURE__ */ p.jsx(_l, { value: M, name: T, form:
|
|
3932
|
+
/* @__PURE__ */ p.jsx(_l, { value: M, name: T, form: O, type: P, withTime: V })
|
|
3933
3933
|
] });
|
|
3934
3934
|
});
|
|
3935
3935
|
Fo.classes = yd;
|
|
@@ -4000,7 +4000,7 @@ const Km = {
|
|
|
4000
4000
|
__updateDateOnYearSelect: v,
|
|
4001
4001
|
__updateDateOnMonthSelect: M,
|
|
4002
4002
|
__setDateRef: T,
|
|
4003
|
-
__setLevelRef:
|
|
4003
|
+
__setLevelRef: O,
|
|
4004
4004
|
// MonthLevelGroup props
|
|
4005
4005
|
firstDayOfWeek: P,
|
|
4006
4006
|
weekdayFormat: $,
|
|
@@ -4015,7 +4015,7 @@ const Km = {
|
|
|
4015
4015
|
nextIcon: L,
|
|
4016
4016
|
previousIcon: k,
|
|
4017
4017
|
__onDayClick: E,
|
|
4018
|
-
__onDayMouseEnter:
|
|
4018
|
+
__onDayMouseEnter: D,
|
|
4019
4019
|
withCellSpacing: j,
|
|
4020
4020
|
highlightToday: W,
|
|
4021
4021
|
withWeekNumbers: ue,
|
|
@@ -4065,7 +4065,7 @@ const Km = {
|
|
|
4065
4065
|
});
|
|
4066
4066
|
Yi(T, () => (ge) => {
|
|
4067
4067
|
Ze(ge);
|
|
4068
|
-
}), Yi(
|
|
4068
|
+
}), Yi(O, () => (ge) => {
|
|
4069
4069
|
ye(ge);
|
|
4070
4070
|
});
|
|
4071
4071
|
const ri = {
|
|
@@ -4159,7 +4159,7 @@ const Km = {
|
|
|
4159
4159
|
previousIcon: k,
|
|
4160
4160
|
monthLabelFormat: H,
|
|
4161
4161
|
__onDayClick: E,
|
|
4162
|
-
__onDayMouseEnter:
|
|
4162
|
+
__onDayMouseEnter: D,
|
|
4163
4163
|
__preventFocus: mn,
|
|
4164
4164
|
__stopPropagation: gn,
|
|
4165
4165
|
static: Qe,
|
|
@@ -4263,7 +4263,7 @@ function Wl(n) {
|
|
|
4263
4263
|
onNextYear: v,
|
|
4264
4264
|
onPreviousYear: M,
|
|
4265
4265
|
onNextDecade: T,
|
|
4266
|
-
onPreviousDecade:
|
|
4266
|
+
onPreviousDecade: O,
|
|
4267
4267
|
withCellSpacing: P,
|
|
4268
4268
|
highlightToday: $,
|
|
4269
4269
|
__updateDateOnYearSelect: V,
|
|
@@ -4278,7 +4278,7 @@ function Wl(n) {
|
|
|
4278
4278
|
weekendDays: L,
|
|
4279
4279
|
getDayProps: k,
|
|
4280
4280
|
excludeDate: E,
|
|
4281
|
-
renderDay:
|
|
4281
|
+
renderDay: D,
|
|
4282
4282
|
hideOutsideDates: j,
|
|
4283
4283
|
hideWeekdays: W,
|
|
4284
4284
|
getDayAriaLabel: ue,
|
|
@@ -4326,7 +4326,7 @@ function Wl(n) {
|
|
|
4326
4326
|
onNextYear: v,
|
|
4327
4327
|
onPreviousYear: M,
|
|
4328
4328
|
onNextDecade: T,
|
|
4329
|
-
onPreviousDecade:
|
|
4329
|
+
onPreviousDecade: O,
|
|
4330
4330
|
withCellSpacing: P,
|
|
4331
4331
|
highlightToday: $,
|
|
4332
4332
|
__updateDateOnYearSelect: V,
|
|
@@ -4340,7 +4340,7 @@ function Wl(n) {
|
|
|
4340
4340
|
weekendDays: L,
|
|
4341
4341
|
getDayProps: k,
|
|
4342
4342
|
excludeDate: E,
|
|
4343
|
-
renderDay:
|
|
4343
|
+
renderDay: D,
|
|
4344
4344
|
hideOutsideDates: j,
|
|
4345
4345
|
hideWeekdays: W,
|
|
4346
4346
|
getDayAriaLabel: ue,
|
|
@@ -4482,7 +4482,7 @@ const Gm = Fn((n, { size: e }) => ({
|
|
|
4482
4482
|
vars: C,
|
|
4483
4483
|
attributes: v,
|
|
4484
4484
|
...M
|
|
4485
|
-
} = t, { calendarProps: T, others:
|
|
4485
|
+
} = t, { calendarProps: T, others: O } = Wl(M), P = xe(null), $ = xe(null), V = vt({
|
|
4486
4486
|
name: d || "DatePicker",
|
|
4487
4487
|
classes: Jm,
|
|
4488
4488
|
props: t,
|
|
@@ -4496,7 +4496,7 @@ const Gm = Fn((n, { size: e }) => ({
|
|
|
4496
4496
|
varsResolver: Gm,
|
|
4497
4497
|
vars: C
|
|
4498
4498
|
}), { onDateChange: _, onRootMouseLeave: q, onHoveredDateChange: Z, getControlProps: Y, _value: K, setValue: z } = Um({
|
|
4499
|
-
type:
|
|
4499
|
+
type: O.type,
|
|
4500
4500
|
level: "day",
|
|
4501
4501
|
allowDeselect: r,
|
|
4502
4502
|
allowSingleDateInRange: s,
|
|
@@ -4518,7 +4518,7 @@ const Gm = Fn((n, { size: e }) => ({
|
|
|
4518
4518
|
onMouseLeave: q,
|
|
4519
4519
|
size: w,
|
|
4520
4520
|
...T,
|
|
4521
|
-
...g ? {} :
|
|
4521
|
+
...g ? {} : O,
|
|
4522
4522
|
__stopPropagation: y,
|
|
4523
4523
|
__setDateRef: P,
|
|
4524
4524
|
__setLevelRef: $,
|
|
@@ -4560,7 +4560,7 @@ const Gm = Fn((n, { size: e }) => ({
|
|
|
4560
4560
|
var ue, A;
|
|
4561
4561
|
const W = Array.isArray(j) ? j[0] : j;
|
|
4562
4562
|
W !== void 0 && ((ue = P.current) == null || ue.call(P, W), (A = $.current) == null || A.call($, "month"), m ? m(W) : z(j));
|
|
4563
|
-
},
|
|
4563
|
+
}, D = g.map((j, W) => /* @__PURE__ */ p.jsx(
|
|
4564
4564
|
Ot,
|
|
4565
4565
|
{
|
|
4566
4566
|
...V("presetButton"),
|
|
@@ -4571,8 +4571,8 @@ const Gm = Fn((n, { size: e }) => ({
|
|
|
4571
4571
|
},
|
|
4572
4572
|
W
|
|
4573
4573
|
));
|
|
4574
|
-
return /* @__PURE__ */ p.jsxs(ze, { ...V("datePickerRoot"), size: w, ...
|
|
4575
|
-
/* @__PURE__ */ p.jsx("div", { ...V("presetsList"), children:
|
|
4574
|
+
return /* @__PURE__ */ p.jsxs(ze, { ...V("datePickerRoot"), size: w, ...O, children: [
|
|
4575
|
+
/* @__PURE__ */ p.jsx("div", { ...V("presetsList"), children: D }),
|
|
4576
4576
|
k
|
|
4577
4577
|
] });
|
|
4578
4578
|
});
|
|
@@ -4615,7 +4615,7 @@ const eg = {
|
|
|
4615
4615
|
readOnly: v,
|
|
4616
4616
|
name: M,
|
|
4617
4617
|
form: T,
|
|
4618
|
-
rightSection:
|
|
4618
|
+
rightSection: O,
|
|
4619
4619
|
unstyled: P,
|
|
4620
4620
|
classNames: $,
|
|
4621
4621
|
styles: V,
|
|
@@ -4627,7 +4627,7 @@ const eg = {
|
|
|
4627
4627
|
getYearControlProps: z,
|
|
4628
4628
|
disabled: H,
|
|
4629
4629
|
...L
|
|
4630
|
-
} = t, k = xe(null), E = xe(null), [
|
|
4630
|
+
} = t, k = xe(null), E = xe(null), [D, j] = ke(!1), { calendarProps: W, others: ue } = Wl(L), A = Wt(), se = m || ((de) => {
|
|
4631
4631
|
const at = N(de, h, A.getLocale(f)).toDate();
|
|
4632
4632
|
return Number.isNaN(at.getTime()) ? Qm(de) : N(at).format("YYYY-MM-DD");
|
|
4633
4633
|
}), X = _ !== void 0 ? _ : a, pe = (de) => de ? N(de).locale(A.getLocale(f)).format(h) : "", [he, le, ne] = jr({
|
|
@@ -4684,7 +4684,7 @@ const eg = {
|
|
|
4684
4684
|
}
|
|
4685
4685
|
), bn = a && !!he && !v && !H;
|
|
4686
4686
|
return As(() => {
|
|
4687
|
-
he !== void 0 && !
|
|
4687
|
+
he !== void 0 && !D && ae(pe(he));
|
|
4688
4688
|
}, [he]), Gp(() => j(!1), void 0, [
|
|
4689
4689
|
k.current,
|
|
4690
4690
|
E.current
|
|
@@ -4692,7 +4692,7 @@ const eg = {
|
|
|
4692
4692
|
/* @__PURE__ */ p.jsx(Zt.Wrapper, { ...s, __staticSelector: "DateInput", ref: k, children: /* @__PURE__ */ p.jsxs(
|
|
4693
4693
|
rt,
|
|
4694
4694
|
{
|
|
4695
|
-
opened:
|
|
4695
|
+
opened: D,
|
|
4696
4696
|
trapFocus: !1,
|
|
4697
4697
|
position: "bottom-start",
|
|
4698
4698
|
disabled: v || H,
|
|
@@ -4714,7 +4714,7 @@ const eg = {
|
|
|
4714
4714
|
onClick: gn,
|
|
4715
4715
|
onKeyDown: lt,
|
|
4716
4716
|
readOnly: v,
|
|
4717
|
-
rightSection:
|
|
4717
|
+
rightSection: O,
|
|
4718
4718
|
__clearSection: yn,
|
|
4719
4719
|
__clearable: bn,
|
|
4720
4720
|
...r,
|
|
@@ -4802,7 +4802,7 @@ const rg = {
|
|
|
4802
4802
|
defaultDate: v,
|
|
4803
4803
|
defaultTimeValue: M,
|
|
4804
4804
|
presets: T,
|
|
4805
|
-
attributes:
|
|
4805
|
+
attributes: O,
|
|
4806
4806
|
onDropdownClose: P,
|
|
4807
4807
|
...$
|
|
4808
4808
|
} = t, V = vt({
|
|
@@ -4812,7 +4812,7 @@ const rg = {
|
|
|
4812
4812
|
classNames: a,
|
|
4813
4813
|
styles: c,
|
|
4814
4814
|
unstyled: u,
|
|
4815
|
-
attributes:
|
|
4815
|
+
attributes: O,
|
|
4816
4816
|
vars: S
|
|
4817
4817
|
}), { resolvedClassNames: _, resolvedStyles: q } = _n({
|
|
4818
4818
|
classNames: a,
|
|
@@ -4821,7 +4821,7 @@ const rg = {
|
|
|
4821
4821
|
}), Z = i || (h ? "DD/MM/YYYY HH:mm:ss" : "DD/MM/YYYY HH:mm"), Y = xe(null), K = br(Y, d == null ? void 0 : d.hoursRef), {
|
|
4822
4822
|
calendarProps: { allowSingleDateInRange: z, ...H },
|
|
4823
4823
|
others: L
|
|
4824
|
-
} = Wl($), k = Wt(), [E,
|
|
4824
|
+
} = Wl($), k = Wt(), [E, D] = jr({
|
|
4825
4825
|
type: "default",
|
|
4826
4826
|
value: r,
|
|
4827
4827
|
defaultValue: s,
|
|
@@ -4829,10 +4829,10 @@ const rg = {
|
|
|
4829
4829
|
withTime: !0
|
|
4830
4830
|
}), j = v || E, W = (ae) => ae ? N(ae).format(h ? "HH:mm:ss" : "HH:mm") : "", [ue, A] = ke(M || W(E)), [U, se] = ke(m || y || "month"), [X, pe] = Fl(!1), he = E ? N(E).locale(k.getLocale(l)).format(Z) : "", le = (ae) => {
|
|
4831
4831
|
var Ne;
|
|
4832
|
-
(Ne = d == null ? void 0 : d.onChange) == null || Ne.call(d, ae), A(ae), ae &&
|
|
4832
|
+
(Ne = d == null ? void 0 : d.onChange) == null || Ne.call(d, ae), A(ae), ae && D(nc(E, ae));
|
|
4833
4833
|
}, ne = (ae) => {
|
|
4834
4834
|
var Ne;
|
|
4835
|
-
ae &&
|
|
4835
|
+
ae && D(nc(ui(w, C, ae), ue || M || "")), (Ne = Y.current) == null || Ne.focus();
|
|
4836
4836
|
}, Le = (ae) => {
|
|
4837
4837
|
ae.key === "Enter" && (ae.preventDefault(), pe.close());
|
|
4838
4838
|
};
|
|
@@ -4843,7 +4843,7 @@ const rg = {
|
|
|
4843
4843
|
}, [X]);
|
|
4844
4844
|
const ce = x === "popover", Me = () => {
|
|
4845
4845
|
const ae = ui(w, C, E);
|
|
4846
|
-
E && E !== ae &&
|
|
4846
|
+
E && E !== ae && D(ui(w, C, E)), P == null || P();
|
|
4847
4847
|
};
|
|
4848
4848
|
return /* @__PURE__ */ p.jsxs(
|
|
4849
4849
|
Fo,
|
|
@@ -4855,7 +4855,7 @@ const rg = {
|
|
|
4855
4855
|
styles: q,
|
|
4856
4856
|
unstyled: u,
|
|
4857
4857
|
ref: e,
|
|
4858
|
-
onClear: () =>
|
|
4858
|
+
onClear: () => D(null),
|
|
4859
4859
|
shouldClear: !!E,
|
|
4860
4860
|
value: E,
|
|
4861
4861
|
size: g,
|
|
@@ -4866,7 +4866,7 @@ const rg = {
|
|
|
4866
4866
|
__staticSelector: "DateTimePicker",
|
|
4867
4867
|
onDropdownClose: Me,
|
|
4868
4868
|
withTime: !0,
|
|
4869
|
-
attributes:
|
|
4869
|
+
attributes: O,
|
|
4870
4870
|
children: [
|
|
4871
4871
|
/* @__PURE__ */ p.jsx(
|
|
4872
4872
|
Bo,
|
|
@@ -4894,9 +4894,9 @@ const rg = {
|
|
|
4894
4894
|
},
|
|
4895
4895
|
presets: T,
|
|
4896
4896
|
__onPresetSelect: (ae) => {
|
|
4897
|
-
|
|
4897
|
+
D(ae), ae && A(W(ae));
|
|
4898
4898
|
},
|
|
4899
|
-
attributes:
|
|
4899
|
+
attributes: O
|
|
4900
4900
|
}
|
|
4901
4901
|
),
|
|
4902
4902
|
U === "month" && /* @__PURE__ */ p.jsxs("div", { ...V("timeWrapper"), children: [
|
|
@@ -4918,7 +4918,7 @@ const rg = {
|
|
|
4918
4918
|
size: g,
|
|
4919
4919
|
"data-mantine-stop-propagation": ce || void 0,
|
|
4920
4920
|
hoursRef: K,
|
|
4921
|
-
attributes:
|
|
4921
|
+
attributes: O
|
|
4922
4922
|
}
|
|
4923
4923
|
),
|
|
4924
4924
|
/* @__PURE__ */ p.jsx(
|
|
@@ -13508,8 +13508,8 @@ function L0(n, e, t, r, s) {
|
|
|
13508
13508
|
if (T && !n.state.selection.eq(T)) {
|
|
13509
13509
|
if (Je && zt && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (P) => P(n, Sn(13, "Enter"))))
|
|
13510
13510
|
return;
|
|
13511
|
-
let
|
|
13512
|
-
M == "pointer" ?
|
|
13511
|
+
let O = n.state.tr.setSelection(T);
|
|
13512
|
+
M == "pointer" ? O.setMeta("pointer", !0) : M == "key" && O.scrollIntoView(), o && O.setMeta("composition", o), n.dispatch(O);
|
|
13513
13513
|
}
|
|
13514
13514
|
return;
|
|
13515
13515
|
}
|
|
@@ -13553,8 +13553,8 @@ function L0(n, e, t, r, s) {
|
|
|
13553
13553
|
let S = m.start, w = m.endA, C = (M) => {
|
|
13554
13554
|
let T = M || n.state.tr.replace(S, w, c.doc.slice(m.start - c.from, m.endB - c.from));
|
|
13555
13555
|
if (c.sel) {
|
|
13556
|
-
let
|
|
13557
|
-
|
|
13556
|
+
let O = ru(n, T.doc, c.sel);
|
|
13557
|
+
O && !(Je && n.composing && O.empty && (m.start != m.endB || n.input.lastChromeDelete < Date.now() - 100) && (O.head == S || O.head == T.mapping.map(w) - 1) || ut && O.empty && O.head == S) && T.setSelection(O);
|
|
13558
13558
|
}
|
|
13559
13559
|
return o && T.setMeta("composition", o), T.scrollIntoView();
|
|
13560
13560
|
}, v;
|
|
@@ -13571,7 +13571,7 @@ function L0(n, e, t, r, s) {
|
|
|
13571
13571
|
v.type == "add" ? M.addMark(S, w, v.mark) : M.removeMark(S, w, v.mark), n.dispatch(M);
|
|
13572
13572
|
} else if (y.parent.child(y.index()).isText && y.index() == g.index() - (g.textOffset ? 0 : 1)) {
|
|
13573
13573
|
let M = y.parent.textBetween(y.parentOffset, g.parentOffset), T = () => C(n.state.tr.insertText(M, S, w));
|
|
13574
|
-
n.someProp("handleTextInput", (
|
|
13574
|
+
n.someProp("handleTextInput", (O) => O(n, S, w, M, T)) || n.dispatch(T());
|
|
13575
13575
|
} else
|
|
13576
13576
|
n.dispatch(C());
|
|
13577
13577
|
else
|
|
@@ -15693,16 +15693,16 @@ function Fb(n) {
|
|
|
15693
15693
|
if (C >= v)
|
|
15694
15694
|
return;
|
|
15695
15695
|
const M = h.isText ? h.text || "" : h.textBetween(C - m, v - m, void 0, "");
|
|
15696
|
-
_b(M, o.find, i).forEach((
|
|
15697
|
-
if (
|
|
15696
|
+
_b(M, o.find, i).forEach((O) => {
|
|
15697
|
+
if (O.index === void 0)
|
|
15698
15698
|
return;
|
|
15699
|
-
const P = C +
|
|
15699
|
+
const P = C + O.index + 1, $ = P + O[0].length, V = {
|
|
15700
15700
|
from: t.tr.mapping.map(P),
|
|
15701
15701
|
to: t.tr.mapping.map($)
|
|
15702
15702
|
}, _ = o.handler({
|
|
15703
15703
|
state: t,
|
|
15704
15704
|
range: V,
|
|
15705
|
-
match:
|
|
15705
|
+
match: O,
|
|
15706
15706
|
commands: a,
|
|
15707
15707
|
chain: c,
|
|
15708
15708
|
can: u,
|
|
@@ -16511,10 +16511,10 @@ var F1 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, editor
|
|
|
16511
16511
|
const v = a.before(a.depth - (x - 1));
|
|
16512
16512
|
t.replace(v, a.after(-S), new B(b, 4 - x, 0));
|
|
16513
16513
|
let M = -1;
|
|
16514
|
-
t.doc.nodesBetween(v, t.doc.content.size, (T,
|
|
16514
|
+
t.doc.nodesBetween(v, t.doc.content.size, (T, O) => {
|
|
16515
16515
|
if (M > -1)
|
|
16516
16516
|
return !1;
|
|
16517
|
-
T.isTextblock && T.content.size === 0 && (M =
|
|
16517
|
+
T.isTextblock && T.content.size === 0 && (M = O + 1);
|
|
16518
16518
|
}), M > -1 && t.setSelection(te.near(t.doc.resolve(M))), t.scrollIntoView();
|
|
16519
16519
|
}
|
|
16520
16520
|
return !0;
|
|
@@ -19373,7 +19373,7 @@ function rk({
|
|
|
19373
19373
|
oe(S, n.numeric, w);
|
|
19374
19374
|
const C = mt(ms), v = mt();
|
|
19375
19375
|
oe(C, e, C), oe(C, t, v), oe(v, e, C), oe(v, t, v), I(x, Tt, C), I(w, Tt, C);
|
|
19376
|
-
const M = I(l, Qt), T = I(a, Qt),
|
|
19376
|
+
const M = I(l, Qt), T = I(a, Qt), O = I(T, Tt), P = I(O, Tt);
|
|
19377
19377
|
oe(l, n.domain, i), I(l, wt, b), I(l, gt, g), oe(a, n.domain, i), I(a, wt, b), I(a, gt, g), oe(M, n.domain, C), I(M, Tt, C), I(M, Rr, C), oe(P, n.domain, C), oe(P, e, C), I(P, Tt, C);
|
|
19378
19378
|
const $ = [
|
|
19379
19379
|
[Dr, Ar],
|
|
@@ -22036,7 +22036,7 @@ const Gv = me({
|
|
|
22036
22036
|
}, T = () => {
|
|
22037
22037
|
var _, q;
|
|
22038
22038
|
M(), y === "" ? (_ = h.editor) == null || _.chain().focus().extendMarkRange("link").unsetLink().run() : (q = h.editor) == null || q.chain().focus().extendMarkRange("link").setLink({ href: y, target: b ? "_blank" : null }).run();
|
|
22039
|
-
},
|
|
22039
|
+
}, O = (_) => {
|
|
22040
22040
|
_.key === "Enter" && (_.preventDefault(), T());
|
|
22041
22041
|
};
|
|
22042
22042
|
tm("edit-link", v, !1);
|
|
@@ -22080,7 +22080,7 @@ const Gv = me({
|
|
|
22080
22080
|
value: y,
|
|
22081
22081
|
onChange: g,
|
|
22082
22082
|
classNames: { input: h.getStyles("linkEditorInput", m).className },
|
|
22083
|
-
onKeyDown:
|
|
22083
|
+
onKeyDown: O,
|
|
22084
22084
|
rightSection: /* @__PURE__ */ p.jsx(
|
|
22085
22085
|
Wu,
|
|
22086
22086
|
{
|
|
@@ -22776,23 +22776,23 @@ const ja = (n) => {
|
|
|
22776
22776
|
validate: i,
|
|
22777
22777
|
enhanceGetInputProps(T) {
|
|
22778
22778
|
return {
|
|
22779
|
-
onFieldChange: async (
|
|
22779
|
+
onFieldChange: async (O) => {
|
|
22780
22780
|
var P;
|
|
22781
|
-
T.inputProps.onChange(
|
|
22781
|
+
T.inputProps.onChange(O), await ((P = a == null ? void 0 : a[T.field]) == null ? void 0 : P.call(a, O, w));
|
|
22782
22782
|
}
|
|
22783
22783
|
};
|
|
22784
22784
|
}
|
|
22785
22785
|
}), C = jl[s], v = zu(() => {
|
|
22786
22786
|
if (!c) return e;
|
|
22787
22787
|
const T = w.getValues();
|
|
22788
|
-
return e.map((
|
|
22789
|
-
const P = c[
|
|
22790
|
-
return P ? P(
|
|
22788
|
+
return e.map((O) => {
|
|
22789
|
+
const P = c[O.name];
|
|
22790
|
+
return P ? P(O, T) : O;
|
|
22791
22791
|
});
|
|
22792
22792
|
}, [e, w.values, c]), M = w.onSubmit(async (T) => {
|
|
22793
|
-
const
|
|
22794
|
-
if (Object.keys(
|
|
22795
|
-
w.setErrors(
|
|
22793
|
+
const O = el(e, T);
|
|
22794
|
+
if (Object.keys(O).length) {
|
|
22795
|
+
w.setErrors(O);
|
|
22796
22796
|
return;
|
|
22797
22797
|
}
|
|
22798
22798
|
const P = await u(T);
|
|
@@ -22801,8 +22801,8 @@ const ja = (n) => {
|
|
|
22801
22801
|
return Yi(b, () => ({
|
|
22802
22802
|
submit: () => M(),
|
|
22803
22803
|
reset: (T) => {
|
|
22804
|
-
const
|
|
22805
|
-
w.setValues(
|
|
22804
|
+
const O = Mr(e, T);
|
|
22805
|
+
w.setValues(O), w.setDirty(O);
|
|
22806
22806
|
},
|
|
22807
22807
|
validate: () => {
|
|
22808
22808
|
const T = w.validate();
|
|
@@ -22811,7 +22811,7 @@ const ja = (n) => {
|
|
|
22811
22811
|
getValues: () => w.getValues(),
|
|
22812
22812
|
setValues: (T) => w.setValues(T),
|
|
22813
22813
|
getFieldValue: (T) => w.getInputProps(T).value,
|
|
22814
|
-
setFieldValue: (T,
|
|
22814
|
+
setFieldValue: (T, O) => w.setFieldValue(T, O),
|
|
22815
22815
|
isValid: () => Object.keys(w.validate().errors).length === 0,
|
|
22816
22816
|
isDirty: () => w.isDirty()
|
|
22817
22817
|
})), Ge(() => {
|
|
@@ -22821,8 +22821,8 @@ const ja = (n) => {
|
|
|
22821
22821
|
}
|
|
22822
22822
|
}, [t, e]), Ge(() => {
|
|
22823
22823
|
async function T() {
|
|
22824
|
-
const
|
|
22825
|
-
w.initialize(Mr(e,
|
|
22824
|
+
const O = r ? await r() : {};
|
|
22825
|
+
w.initialize(Mr(e, O)), S(!1);
|
|
22826
22826
|
}
|
|
22827
22827
|
T();
|
|
22828
22828
|
}, [e]), /* @__PURE__ */ p.jsx(
|
|
@@ -22833,19 +22833,19 @@ const ja = (n) => {
|
|
|
22833
22833
|
/* @__PURE__ */ p.jsx(mp, { visible: x || g }),
|
|
22834
22834
|
C(
|
|
22835
22835
|
/* @__PURE__ */ p.jsx(p.Fragment, { children: v.map((T) => {
|
|
22836
|
-
const
|
|
22836
|
+
const O = {
|
|
22837
22837
|
...T,
|
|
22838
22838
|
readOnly: T.readOnly || o
|
|
22839
22839
|
};
|
|
22840
|
-
return /* @__PURE__ */ p.jsx(
|
|
22840
|
+
return O.visible ? /* @__PURE__ */ p.jsx(
|
|
22841
22841
|
Il,
|
|
22842
22842
|
{
|
|
22843
|
-
field:
|
|
22843
|
+
field: O,
|
|
22844
22844
|
layout: s,
|
|
22845
22845
|
children: /* @__PURE__ */ p.jsx(
|
|
22846
22846
|
ja,
|
|
22847
22847
|
{
|
|
22848
|
-
field:
|
|
22848
|
+
field: O,
|
|
22849
22849
|
form: w,
|
|
22850
22850
|
customFieldRenderers: h,
|
|
22851
22851
|
customTypeRenderers: y,
|
|
@@ -22854,8 +22854,8 @@ const ja = (n) => {
|
|
|
22854
22854
|
}
|
|
22855
22855
|
)
|
|
22856
22856
|
},
|
|
22857
|
-
|
|
22858
|
-
);
|
|
22857
|
+
O.name
|
|
22858
|
+
) : null;
|
|
22859
22859
|
}) })
|
|
22860
22860
|
),
|
|
22861
22861
|
typeof f == "boolean" ? f ? /* @__PURE__ */ p.jsx(Mo, { justify: "flex-end", mt: "md", children: /* @__PURE__ */ p.jsx(Os, { type: "submit", loading: g, children: "Submit" }) }) : null : f
|