autoforma 1.0.68 → 1.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -196,7 +196,7 @@ function Op() {
196
196
  var A = T.children;
197
197
  if (A !== void 0)
198
198
  if (j)
199
- if ($(A)) {
199
+ if (F(A)) {
200
200
  for (j = 0; j < A.length; j++)
201
201
  d(A[j]);
202
202
  Object.freeze && Object.freeze(A);
@@ -246,7 +246,7 @@ React keys must be passed directly to JSX without using spread:
246
246
  function f(v) {
247
247
  return typeof v == "object" && v !== null && v.$$typeof === p;
248
248
  }
249
- var h = dt, p = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), w = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), B = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), z = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, $ = Array.isArray, K = console.createTask ? console.createTask : function() {
249
+ var h = dt, p = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), w = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), B = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), z = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, F = Array.isArray, K = console.createTask ? console.createTask : function() {
250
250
  return null;
251
251
  };
252
252
  h = {
@@ -813,7 +813,7 @@ function Up({
813
813
  b.initialize(A, () => e === "uncontrolled" && S((se) => se + 1)), z(G);
814
814
  },
815
815
  [z]
816
- ), $ = ee(
816
+ ), F = ee(
817
817
  (A, G, se) => {
818
818
  const Z = ac(A, l), he = G instanceof Function ? G(Re(A, b.refValues.current)) : G;
819
819
  x.setCalculatedFieldDirty(A, he), p === "change" && x.setFieldTouched(A, !0), !Z && i && y.clearFieldError(A), b.setFieldValue({
@@ -851,7 +851,7 @@ function Up({
851
851
  [f]
852
852
  ), W = (A, { type: G = "input", withError: se = !0, withFocus: Z = !0, ...he } = {}) => {
853
853
  const le = { onChange: Rp(
854
- (re) => $(A, re, { forceUpdate: !1 })
854
+ (re) => F(A, re, { forceUpdate: !1 })
855
855
  ), "data-path": ic(n, A) };
856
856
  return se && (le.error = y.errorsState[A]), G === "checkbox" ? le[e === "controlled" ? "checked" : "defaultChecked"] = Re(
857
857
  A,
@@ -913,7 +913,7 @@ function Up({
913
913
  resetField: U,
914
914
  initialize: P,
915
915
  setValues: K,
916
- setFieldValue: $,
916
+ setFieldValue: F,
917
917
  submitting: N,
918
918
  setSubmitting: B,
919
919
  errors: y.errorsState,
@@ -1924,7 +1924,7 @@ function wm({
1924
1924
  h.current = !1;
1925
1925
  const T = kr({ time: v, amPmLabels: s, format: r });
1926
1926
  g(T.hours), b(T.minutes), C(T.seconds), k(T.amPm), t == null || t(v);
1927
- }, $ = (v) => {
1927
+ }, F = (v) => {
1928
1928
  let T = v;
1929
1929
  r === "12h" && typeof v == "number" && v > 12 && (T = (v - 1) % 12 + 1), g(T), z("hours", T), I("hours");
1930
1930
  }, K = (v) => {
@@ -1965,7 +1965,7 @@ function wm({
1965
1965
  }, [n]), {
1966
1966
  refs: { hours: M, minutes: E, seconds: N, amPm: B },
1967
1967
  values: { hours: p, minutes: y, seconds: x, amPm: w },
1968
- setHours: $,
1968
+ setHours: F,
1969
1969
  setMinutes: K,
1970
1970
  setSeconds: q,
1971
1971
  setAmPm: J,
@@ -2022,7 +2022,7 @@ const Tm = {
2022
2022
  min: I,
2023
2023
  max: z,
2024
2024
  popoverProps: P,
2025
- withDropdown: $,
2025
+ withDropdown: F,
2026
2026
  rightSection: K,
2027
2027
  onFocus: q,
2028
2028
  onBlur: J,
@@ -2068,7 +2068,7 @@ const Tm = {
2068
2068
  attributes: ae,
2069
2069
  vars: a,
2070
2070
  varsResolver: Em
2071
- }), F = wm({
2071
+ }), $ = wm({
2072
2072
  value: d,
2073
2073
  defaultValue: f,
2074
2074
  onChange: h,
@@ -2081,11 +2081,11 @@ const Tm = {
2081
2081
  disabled: j,
2082
2082
  readOnly: O,
2083
2083
  pasteSplit: Z
2084
- }), ot = xr(F.refs.hours, he), it = xr(F.refs.minutes, fe), vn = xr(F.refs.seconds, le), qn = xr(F.refs.amPm, re), Qr = dm(), fr = ye(!1), [ri, Yt] = be(!1), vt = (te) => {
2084
+ }), ot = xr($.refs.hours, he), it = xr($.refs.minutes, fe), vn = xr($.refs.seconds, le), qn = xr($.refs.amPm, re), Qr = dm(), fr = ye(!1), [ri, Yt] = be(!1), vt = (te) => {
2085
2085
  fr.current || (fr.current = !0, q == null || q(te));
2086
2086
  }, si = (te) => {
2087
2087
  if (!te.currentTarget.contains(te.relatedTarget)) {
2088
- const Ce = F.values, ht = Ss({
2088
+ const Ce = $.values, ht = Ss({
2089
2089
  ...Ce,
2090
2090
  format: u,
2091
2091
  amPmLabels: S,
@@ -2093,7 +2093,7 @@ const Tm = {
2093
2093
  });
2094
2094
  if (ht.valid && (I || z)) {
2095
2095
  const qt = dd(ht.value, I, z);
2096
- qt.timeString !== ht.value && F.setTimeString(qt.timeString);
2096
+ qt.timeString !== ht.value && $.setTimeString(qt.timeString);
2097
2097
  }
2098
2098
  fr.current = !1, J == null || J(te);
2099
2099
  }
@@ -2105,7 +2105,7 @@ const Tm = {
2105
2105
  transitionProps: { duration: 0 },
2106
2106
  position: "bottom-start",
2107
2107
  withRoles: !1,
2108
- disabled: j || O || !$,
2108
+ disabled: j || O || !F,
2109
2109
  ...P,
2110
2110
  children: [
2111
2111
  /* @__PURE__ */ m.jsx(et.Target, { children: /* @__PURE__ */ m.jsxs(
@@ -2116,7 +2116,7 @@ const Tm = {
2116
2116
  disabled: j,
2117
2117
  ref: e,
2118
2118
  onClick: (te) => {
2119
- c == null || c(te), F.focus("hours");
2119
+ c == null || c(te), $.focus("hours");
2120
2120
  },
2121
2121
  onMouseDown: (te) => {
2122
2122
  te.preventDefault(), E == null || E(te);
@@ -2127,14 +2127,14 @@ const Tm = {
2127
2127
  onBlurCapture: (te) => {
2128
2128
  Yt(!1), B == null || B(te);
2129
2129
  },
2130
- rightSection: K || F.isClearable && /* @__PURE__ */ m.jsx(
2130
+ rightSection: K || $.isClearable && /* @__PURE__ */ m.jsx(
2131
2131
  xp,
2132
2132
  {
2133
2133
  ...W,
2134
2134
  size: U,
2135
2135
  onClick: (te) => {
2136
2136
  var Ce;
2137
- F.clear(), (Ce = W == null ? void 0 : W.onClick) == null || Ce.call(W, te);
2137
+ $.clear(), (Ce = W == null ? void 0 : W.onClick) == null || Ce.call(W, te);
2138
2138
  },
2139
2139
  onMouseDown: (te) => {
2140
2140
  var Ce;
@@ -2160,9 +2160,9 @@ const Tm = {
2160
2160
  className: Y == null ? void 0 : Y.className,
2161
2161
  style: Y == null ? void 0 : Y.style
2162
2162
  }),
2163
- value: F.values.hours,
2164
- onChange: F.setHours,
2165
- onNextInput: () => F.focus("minutes"),
2163
+ value: $.values.hours,
2164
+ onChange: $.setHours,
2165
+ onNextInput: () => $.focus("minutes"),
2166
2166
  min: u === "12h" ? 1 : 0,
2167
2167
  max: u === "12h" ? 12 : 23,
2168
2168
  allowTemporaryZero: u === "12h",
@@ -2172,7 +2172,7 @@ const Tm = {
2172
2172
  "aria-label": x,
2173
2173
  readOnly: O,
2174
2174
  disabled: j,
2175
- onPaste: F.onPaste,
2175
+ onPaste: $.onPaste,
2176
2176
  onFocus: (te) => {
2177
2177
  var Ce;
2178
2178
  vt(te), (Ce = Y == null ? void 0 : Y.onFocus) == null || Ce.call(Y, te);
@@ -2180,7 +2180,7 @@ const Tm = {
2180
2180
  onBlur: (te) => {
2181
2181
  var qt;
2182
2182
  const Ce = te.currentTarget.value, ht = Ce ? parseInt(Ce, 10) : null;
2183
- u === "12h" && ht === 0 && F.setHours(12), (qt = Y == null ? void 0 : Y.onBlur) == null || qt.call(Y, te);
2183
+ u === "12h" && ht === 0 && $.setHours(12), (qt = Y == null ? void 0 : Y.onBlur) == null || qt.call(Y, te);
2184
2184
  },
2185
2185
  placeholder: Yn
2186
2186
  }
@@ -2194,20 +2194,20 @@ const Tm = {
2194
2194
  className: R == null ? void 0 : R.className,
2195
2195
  style: R == null ? void 0 : R.style
2196
2196
  }),
2197
- value: F.values.minutes,
2198
- onChange: F.setMinutes,
2197
+ value: $.values.minutes,
2198
+ onChange: $.setMinutes,
2199
2199
  min: 0,
2200
2200
  max: 59,
2201
2201
  focusable: !0,
2202
2202
  step: g,
2203
2203
  ref: it,
2204
- onPreviousInput: () => F.focus("hours"),
2205
- onNextInput: () => b ? F.focus("seconds") : F.focus("amPm"),
2204
+ onPreviousInput: () => $.focus("hours"),
2205
+ onNextInput: () => b ? $.focus("seconds") : $.focus("amPm"),
2206
2206
  "aria-label": C,
2207
2207
  tabIndex: -1,
2208
2208
  readOnly: O,
2209
2209
  disabled: j,
2210
- onPaste: F.onPaste,
2210
+ onPaste: $.onPaste,
2211
2211
  onFocus: (te) => {
2212
2212
  var Ce;
2213
2213
  vt(te), (Ce = R == null ? void 0 : R.onFocus) == null || Ce.call(R, te);
@@ -2225,20 +2225,20 @@ const Tm = {
2225
2225
  className: v == null ? void 0 : v.className,
2226
2226
  style: v == null ? void 0 : v.style
2227
2227
  }),
2228
- value: F.values.seconds,
2229
- onChange: F.setSeconds,
2228
+ value: $.values.seconds,
2229
+ onChange: $.setSeconds,
2230
2230
  min: 0,
2231
2231
  max: 59,
2232
2232
  focusable: !0,
2233
2233
  step: y,
2234
2234
  ref: vn,
2235
- onPreviousInput: () => F.focus("minutes"),
2236
- onNextInput: () => F.focus("amPm"),
2235
+ onPreviousInput: () => $.focus("minutes"),
2236
+ onNextInput: () => $.focus("amPm"),
2237
2237
  "aria-label": w,
2238
2238
  tabIndex: -1,
2239
2239
  readOnly: O,
2240
2240
  disabled: j,
2241
- onPaste: F.onPaste,
2241
+ onPaste: $.onPaste,
2242
2242
  onFocus: (te) => {
2243
2243
  var Ce;
2244
2244
  vt(te), (Ce = v == null ? void 0 : v.onFocus) == null || Ce.call(v, te);
@@ -2251,17 +2251,17 @@ const Tm = {
2251
2251
  od,
2252
2252
  {
2253
2253
  ...T,
2254
- inputType: $ ? "input" : "select",
2254
+ inputType: F ? "input" : "select",
2255
2255
  labels: S,
2256
- value: F.values.amPm,
2257
- onChange: F.setAmPm,
2256
+ value: $.values.amPm,
2257
+ onChange: $.setAmPm,
2258
2258
  ref: qn,
2259
2259
  "aria-label": k,
2260
- onPreviousInput: () => b ? F.focus("seconds") : F.focus("minutes"),
2260
+ onPreviousInput: () => b ? $.focus("seconds") : $.focus("minutes"),
2261
2261
  readOnly: O,
2262
2262
  disabled: j,
2263
2263
  tabIndex: -1,
2264
- onPaste: F.onPaste,
2264
+ onPaste: $.onPaste,
2265
2265
  onFocus: (te) => {
2266
2266
  var Ce;
2267
2267
  vt(te), (Ce = T == null ? void 0 : T.onFocus) == null || Ce.call(T, te);
@@ -2275,7 +2275,7 @@ const Tm = {
2275
2275
  type: "hidden",
2276
2276
  name: ue,
2277
2277
  form: A,
2278
- value: F.hiddenInputValue,
2278
+ value: $.hiddenInputValue,
2279
2279
  ...G
2280
2280
  }
2281
2281
  )
@@ -2290,8 +2290,8 @@ const Tm = {
2290
2290
  children: Le ? /* @__PURE__ */ m.jsx(
2291
2291
  ud,
2292
2292
  {
2293
- value: F.hiddenInputValue,
2294
- onChange: F.setTimeString,
2293
+ value: $.hiddenInputValue,
2294
+ onChange: $.setTimeString,
2295
2295
  format: u,
2296
2296
  presets: Le,
2297
2297
  amPmLabels: S,
@@ -2304,8 +2304,8 @@ const Tm = {
2304
2304
  min: u === "12h" ? 1 : 0,
2305
2305
  max: u === "12h" ? 12 : 23,
2306
2306
  step: p,
2307
- value: F.values.hours,
2308
- onSelect: F.setHours,
2307
+ value: $.values.hours,
2308
+ onSelect: $.setHours,
2309
2309
  reversed: De
2310
2310
  }
2311
2311
  ),
@@ -2315,8 +2315,8 @@ const Tm = {
2315
2315
  min: 0,
2316
2316
  max: 59,
2317
2317
  step: g,
2318
- value: F.values.minutes,
2319
- onSelect: F.setMinutes,
2318
+ value: $.values.minutes,
2319
+ onSelect: $.setMinutes,
2320
2320
  reversed: De
2321
2321
  }
2322
2322
  ),
@@ -2326,8 +2326,8 @@ const Tm = {
2326
2326
  min: 0,
2327
2327
  max: 59,
2328
2328
  step: y,
2329
- value: F.values.seconds,
2330
- onSelect: F.setSeconds,
2329
+ value: $.values.seconds,
2330
+ onSelect: $.setSeconds,
2331
2331
  reversed: De
2332
2332
  }
2333
2333
  ),
@@ -2335,8 +2335,8 @@ const Tm = {
2335
2335
  id,
2336
2336
  {
2337
2337
  labels: S,
2338
- value: F.values.amPm,
2339
- onSelect: F.setAmPm
2338
+ value: $.values.amPm,
2339
+ onSelect: $.setAmPm
2340
2340
  }
2341
2341
  )
2342
2342
  ] })
@@ -2618,7 +2618,7 @@ const Fm = {
2618
2618
  __onDayMouseEnter: I,
2619
2619
  __preventFocus: z,
2620
2620
  __stopPropagation: P,
2621
- withCellSpacing: $,
2621
+ withCellSpacing: F,
2622
2622
  size: K,
2623
2623
  highlightToday: q,
2624
2624
  withWeekNumbers: J,
@@ -2660,7 +2660,7 @@ const Fm = {
2660
2660
  "td",
2661
2661
  {
2662
2662
  ...R("monthCell"),
2663
- "data-with-spacing": $ || void 0,
2663
+ "data-with-spacing": F || void 0,
2664
2664
  children: /* @__PURE__ */ m.jsx(
2665
2665
  ql,
2666
2666
  {
@@ -2866,7 +2866,7 @@ const Wm = {
2866
2866
  minDate: f,
2867
2867
  maxDate: h,
2868
2868
  getYearControlProps: p
2869
- }), $ = z.map((K, q) => {
2869
+ }), F = z.map((K, q) => {
2870
2870
  const J = K.map((W, Y) => {
2871
2871
  const R = p == null ? void 0 : p(W), v = D(W).isSame(P, "year");
2872
2872
  return /* @__PURE__ */ m.jsx(
@@ -2912,7 +2912,7 @@ const Wm = {
2912
2912
  });
2913
2913
  return /* @__PURE__ */ m.jsx("tr", { ...B("yearsListRow"), children: J }, q);
2914
2914
  });
2915
- return /* @__PURE__ */ m.jsx(ze, { component: "table", ref: e, size: M, ...B("yearsList"), ...N, children: /* @__PURE__ */ m.jsx("tbody", { children: $ }) });
2915
+ return /* @__PURE__ */ m.jsx(ze, { component: "table", ref: e, size: M, ...B("yearsList"), ...N, children: /* @__PURE__ */ m.jsx("tbody", { children: F }) });
2916
2916
  });
2917
2917
  No.classes = vd;
2918
2918
  No.displayName = "@mantine/dates/YearsList";
@@ -2993,7 +2993,7 @@ const Um = {
2993
2993
  minDate: Ue(h),
2994
2994
  maxDate: Ue(p),
2995
2995
  getMonthControlProps: g
2996
- }), $ = z.map((K, q) => {
2996
+ }), F = z.map((K, q) => {
2997
2997
  const J = K.map((W, Y) => {
2998
2998
  const R = g == null ? void 0 : g(W), v = D(W).isSame(P, "month");
2999
2999
  return /* @__PURE__ */ m.jsx(
@@ -3044,7 +3044,7 @@ const Um = {
3044
3044
  });
3045
3045
  return /* @__PURE__ */ m.jsx("tr", { ...B("monthsListRow"), children: J }, q);
3046
3046
  });
3047
- return /* @__PURE__ */ m.jsx(ze, { component: "table", ref: e, size: M, ...B("monthsList"), ...N, children: /* @__PURE__ */ m.jsx("tbody", { children: $ }) });
3047
+ return /* @__PURE__ */ m.jsx(ze, { component: "table", ref: e, size: M, ...B("monthsList"), ...N, children: /* @__PURE__ */ m.jsx("tbody", { children: F }) });
3048
3048
  });
3049
3049
  Lo.classes = Cd;
3050
3050
  Lo.displayName = "@mantine/dates/MonthsList";
@@ -3100,7 +3100,7 @@ const Km = {
3100
3100
  vars: a,
3101
3101
  varsResolver: Jm,
3102
3102
  rootSelector: "calendarHeader"
3103
- }), $ = N ? (Y) => Y.preventDefault() : void 0, K = S && /* @__PURE__ */ ci(
3103
+ }), F = N ? (Y) => Y.preventDefault() : void 0, K = S && /* @__PURE__ */ ci(
3104
3104
  Ot,
3105
3105
  {
3106
3106
  ...P("calendarHeaderControl"),
@@ -3109,7 +3109,7 @@ const Km = {
3109
3109
  "aria-label": f,
3110
3110
  onClick: p,
3111
3111
  unstyled: l,
3112
- onMouseDown: $,
3112
+ onMouseDown: F,
3113
3113
  disabled: x,
3114
3114
  "data-disabled": x || void 0,
3115
3115
  tabIndex: N || x ? -1 : 0,
@@ -3131,7 +3131,7 @@ const Km = {
3131
3131
  key: "level",
3132
3132
  onClick: C ? g : void 0,
3133
3133
  unstyled: l,
3134
- onMouseDown: C ? $ : void 0,
3134
+ onMouseDown: C ? F : void 0,
3135
3135
  disabled: !C,
3136
3136
  "data-static": !C || void 0,
3137
3137
  "aria-label": w,
@@ -3148,7 +3148,7 @@ const Km = {
3148
3148
  "aria-label": d,
3149
3149
  onClick: h,
3150
3150
  unstyled: l,
3151
- onMouseDown: $,
3151
+ onMouseDown: F,
3152
3152
  disabled: b,
3153
3153
  "data-disabled": b || void 0,
3154
3154
  tabIndex: N || b ? -1 : 0,
@@ -3205,7 +3205,7 @@ const Xm = {
3205
3205
  decadeLabelFormat: I,
3206
3206
  classNames: z,
3207
3207
  styles: P,
3208
- unstyled: $,
3208
+ unstyled: F,
3209
3209
  __staticSelector: K,
3210
3210
  __stopPropagation: q,
3211
3211
  size: J,
@@ -3215,7 +3215,7 @@ const Xm = {
3215
3215
  __staticSelector: K || "DecadeLevel",
3216
3216
  classNames: z,
3217
3217
  styles: P,
3218
- unstyled: $,
3218
+ unstyled: F,
3219
3219
  size: J,
3220
3220
  attributes: W
3221
3221
  }, j = typeof k == "boolean" ? k : i ? !D(T).endOf("year").isBefore(i) : !1, U = typeof S == "boolean" ? S : o ? !D(v).startOf("year").isAfter(o) : !1, ue = (A, G) => D(A).locale(s || R.locale).format(G);
@@ -3302,7 +3302,7 @@ const Qm = {
3302
3302
  headerControlsOrder: z,
3303
3303
  // Other props
3304
3304
  yearLabelFormat: P,
3305
- __staticSelector: $,
3305
+ __staticSelector: F,
3306
3306
  __stopPropagation: K,
3307
3307
  size: q,
3308
3308
  classNames: J,
@@ -3311,7 +3311,7 @@ const Qm = {
3311
3311
  attributes: R,
3312
3312
  ...v
3313
3313
  } = t, T = Ht(), O = {
3314
- __staticSelector: $ || "YearLevel",
3314
+ __staticSelector: F || "YearLevel",
3315
3315
  classNames: J,
3316
3316
  styles: W,
3317
3317
  unstyled: Y,
@@ -3398,7 +3398,7 @@ const Zm = {
3398
3398
  nextLabel: I,
3399
3399
  previousLabel: z,
3400
3400
  onNext: P,
3401
- onPrevious: $,
3401
+ onPrevious: F,
3402
3402
  onLevelClick: K,
3403
3403
  nextDisabled: q,
3404
3404
  previousDisabled: J,
@@ -3437,7 +3437,7 @@ const Zm = {
3437
3437
  nextLabel: I,
3438
3438
  previousLabel: z,
3439
3439
  onNext: P,
3440
- onPrevious: $,
3440
+ onPrevious: F,
3441
3441
  onLevelClick: K,
3442
3442
  nextDisabled: re,
3443
3443
  previousDisabled: Le,
@@ -3545,7 +3545,7 @@ const eg = {
3545
3545
  numberOfColumns: I,
3546
3546
  levelControlAriaLabel: z,
3547
3547
  decadeLabelFormat: P,
3548
- size: $,
3548
+ size: F,
3549
3549
  vars: K,
3550
3550
  attributes: q,
3551
3551
  ...J
@@ -3554,7 +3554,7 @@ const eg = {
3554
3554
  return /* @__PURE__ */ m.jsx(
3555
3555
  Ro,
3556
3556
  {
3557
- size: $,
3557
+ size: F,
3558
3558
  yearsListFormat: l,
3559
3559
  decade: T,
3560
3560
  withNext: v === I - 1,
@@ -3605,7 +3605,7 @@ const eg = {
3605
3605
  styles: M,
3606
3606
  __staticSelector: N || "DecadeLevelGroup",
3607
3607
  ref: e,
3608
- size: $,
3608
+ size: F,
3609
3609
  unstyled: E,
3610
3610
  attributes: q,
3611
3611
  ...J,
@@ -3649,7 +3649,7 @@ const tg = {
3649
3649
  __staticSelector: I,
3650
3650
  __stopPropagation: z,
3651
3651
  numberOfColumns: P,
3652
- levelControlAriaLabel: $,
3652
+ levelControlAriaLabel: F,
3653
3653
  yearLabelFormat: K,
3654
3654
  size: q,
3655
3655
  vars: J,
@@ -3679,7 +3679,7 @@ const tg = {
3679
3679
  __getControlRef: (U, ue, A) => {
3680
3680
  Array.isArray(R.current[O]) || (R.current[O] = []), Array.isArray(R.current[O][U]) || (R.current[O][U] = []), R.current[O][U][ue] = A;
3681
3681
  },
3682
- levelControlAriaLabel: typeof $ == "function" ? $(j) : $,
3682
+ levelControlAriaLabel: typeof F == "function" ? F(j) : F,
3683
3683
  locale: s,
3684
3684
  minDate: o,
3685
3685
  maxDate: i,
@@ -3756,7 +3756,7 @@ const ng = {
3756
3756
  onPrevious: I,
3757
3757
  onLevelClick: z,
3758
3758
  nextDisabled: P,
3759
- previousDisabled: $,
3759
+ previousDisabled: F,
3760
3760
  hasNextLevel: K,
3761
3761
  headerControlsOrder: q,
3762
3762
  // Other settings
@@ -3817,7 +3817,7 @@ const ng = {
3817
3817
  onPrevious: I,
3818
3818
  onLevelClick: z,
3819
3819
  nextDisabled: P,
3820
- previousDisabled: $,
3820
+ previousDisabled: F,
3821
3821
  hasNextLevel: K,
3822
3822
  classNames: J,
3823
3823
  styles: W,
@@ -3881,7 +3881,7 @@ const zo = ve((n, e) => {
3881
3881
  onDropdownClose: I,
3882
3882
  withTime: z,
3883
3883
  ...P
3884
- } = Gu("PickerInputBase", { size: "sm" }, n), $ = /* @__PURE__ */ m.jsx(en.ClearButton, { onClick: b, unstyled: l, ...x }), K = () => {
3884
+ } = Gu("PickerInputBase", { size: "sm" }, n), F = /* @__PURE__ */ m.jsx(en.ClearButton, { onClick: b, unstyled: l, ...x }), K = () => {
3885
3885
  B === "range" && Array.isArray(M) && M[0] && !M[1] && b(), h.close();
3886
3886
  };
3887
3887
  return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
@@ -3926,7 +3926,7 @@ const zo = ve((n, e) => {
3926
3926
  onClick: (q) => {
3927
3927
  g == null || g(q), h.toggle();
3928
3928
  },
3929
- __clearSection: $,
3929
+ __clearSection: F,
3930
3930
  __clearable: y && w && !k && !S,
3931
3931
  rightSection: C,
3932
3932
  ...t,
@@ -4026,7 +4026,7 @@ const sg = {
4026
4026
  weekdayFormat: I,
4027
4027
  weekendDays: z,
4028
4028
  getDayProps: P,
4029
- excludeDate: $,
4029
+ excludeDate: F,
4030
4030
  renderDay: K,
4031
4031
  hideOutsideDates: q,
4032
4032
  hideWeekdays: J,
@@ -4062,7 +4062,7 @@ const sg = {
4062
4062
  onPreviousDecade: xn,
4063
4063
  onNextYear: kn,
4064
4064
  onPreviousYear: st,
4065
- onNextMonth: F,
4065
+ onNextMonth: $,
4066
4066
  onPreviousMonth: ot,
4067
4067
  static: it,
4068
4068
  enableKeyboardNavigation: vn,
@@ -4097,7 +4097,7 @@ const sg = {
4097
4097
  attributes: qn
4098
4098
  }, ht = h || f || 1, qt = /* @__PURE__ */ new Date(), dp = ce && D(qt).isAfter(ce) ? ce : D(qt).format("YYYY-MM-DD"), Rt = si || dp, fp = () => {
4099
4099
  const me = D(Rt).add(ht, "month").format("YYYY-MM-DD");
4100
- F == null || F(me), te(me);
4100
+ $ == null || $(me), te(me);
4101
4101
  }, hp = () => {
4102
4102
  const me = D(Rt).subtract(ht, "month").format("YYYY-MM-DD");
4103
4103
  ot == null || ot(me), te(me);
@@ -4161,7 +4161,7 @@ const sg = {
4161
4161
  weekdayFormat: I,
4162
4162
  weekendDays: z,
4163
4163
  getDayProps: P,
4164
- excludeDate: $,
4164
+ excludeDate: F,
4165
4165
  renderDay: K,
4166
4166
  hideOutsideDates: q,
4167
4167
  hideWeekdays: J,
@@ -4288,7 +4288,7 @@ function Kl(n) {
4288
4288
  highlightToday: I,
4289
4289
  __updateDateOnYearSelect: z,
4290
4290
  __updateDateOnMonthSelect: P,
4291
- __setDateRef: $,
4291
+ __setDateRef: F,
4292
4292
  __setLevelRef: K,
4293
4293
  withWeekNumbers: q,
4294
4294
  headerControlsOrder: J,
@@ -4351,7 +4351,7 @@ function Kl(n) {
4351
4351
  highlightToday: I,
4352
4352
  __updateDateOnYearSelect: z,
4353
4353
  __updateDateOnMonthSelect: P,
4354
- __setDateRef: $,
4354
+ __setDateRef: F,
4355
4355
  withWeekNumbers: q,
4356
4356
  headerControlsOrder: J,
4357
4357
  // MonthLevelGroup props
@@ -4515,7 +4515,7 @@ const lg = Fn((n, { size: e }) => ({
4515
4515
  rootSelector: y ? "datePickerRoot" : void 0,
4516
4516
  varsResolver: lg,
4517
4517
  vars: k
4518
- }), { onDateChange: P, onRootMouseLeave: $, onHoveredDateChange: K, getControlProps: q, _value: J, setValue: W } = og({
4518
+ }), { onDateChange: P, onRootMouseLeave: F, onHoveredDateChange: K, getControlProps: q, _value: J, setValue: W } = og({
4519
4519
  type: N.type,
4520
4520
  level: "day",
4521
4521
  allowDeselect: r,
@@ -4535,7 +4535,7 @@ const lg = Fn((n, { size: e }) => ({
4535
4535
  classNames: Y,
4536
4536
  styles: R,
4537
4537
  __staticSelector: d || "DatePicker",
4538
- onMouseLeave: $,
4538
+ onMouseLeave: F,
4539
4539
  size: w,
4540
4540
  ...E,
4541
4541
  ...y ? {} : N,
@@ -4640,24 +4640,24 @@ const dg = {
4640
4640
  classNames: I,
4641
4641
  styles: z,
4642
4642
  allowDeselect: P,
4643
- date: $,
4643
+ date: F,
4644
4644
  defaultDate: K,
4645
4645
  onDateChange: q,
4646
4646
  getMonthControlProps: J,
4647
4647
  getYearControlProps: W,
4648
4648
  disabled: Y,
4649
4649
  ...R
4650
- } = t, v = ye(null), T = ye(null), [O, j] = be(!1), { calendarProps: U, others: ue } = Kl(R), A = Ht(), se = p || ((F) => {
4651
- const ot = D(F, h, A.getLocale(f)).toDate();
4652
- return Number.isNaN(ot.getTime()) ? cg(F) : D(ot).format("YYYY-MM-DD");
4653
- }), Z = P !== void 0 ? P : a, he = (F) => F ? D(F).locale(A.getLocale(f)).format(h) : "", [fe, le, re] = jr({
4650
+ } = t, v = ye(null), T = ye(null), [O, j] = be(!1), { calendarProps: U, others: ue } = Kl(R), A = Ht(), se = p || (($) => {
4651
+ const ot = D($, h, A.getLocale(f)).toDate();
4652
+ return Number.isNaN(ot.getTime()) ? cg($) : D(ot).format("YYYY-MM-DD");
4653
+ }), Z = P !== void 0 ? P : a, he = ($) => $ ? D($).locale(A.getLocale(f)).format(h) : "", [fe, le, re] = jr({
4654
4654
  type: "default",
4655
4655
  value: o,
4656
4656
  defaultValue: i,
4657
4657
  onChange: l
4658
4658
  }), [Le, ce] = jr({
4659
4659
  type: "default",
4660
- value: $,
4660
+ value: F,
4661
4661
  defaultValue: i || K,
4662
4662
  onChange: q
4663
4663
  });
@@ -4668,29 +4668,29 @@ const dg = {
4668
4668
  Je(() => {
4669
4669
  ae(he(fe));
4670
4670
  }, [A.getLocale(f)]);
4671
- const De = (F) => {
4672
- const ot = F.currentTarget.value;
4671
+ const De = ($) => {
4672
+ const ot = $.currentTarget.value;
4673
4673
  if (ae(ot), j(!0), ot.trim() === "" && (P || a))
4674
4674
  le(null);
4675
4675
  else {
4676
4676
  const it = se(ot);
4677
4677
  it && ug({ date: it, minDate: g, maxDate: y }) && (le(it), ce(it));
4678
4678
  }
4679
- }, Yn = (F) => {
4680
- C == null || C(F), j(!1), b && ae(he(fe));
4681
- }, gn = (F) => {
4682
- x == null || x(F), j(!0);
4683
- }, yn = (F) => {
4684
- w == null || w(F), j(!0);
4685
- }, bn = (F) => {
4686
- F.key === "Escape" && j(!1), k == null || k(F);
4687
- }, xn = (F) => ({
4688
- ...d == null ? void 0 : d(F),
4689
- selected: D(fe).isSame(F, "day"),
4679
+ }, Yn = ($) => {
4680
+ C == null || C($), j(!1), b && ae(he(fe));
4681
+ }, gn = ($) => {
4682
+ x == null || x($), j(!0);
4683
+ }, yn = ($) => {
4684
+ w == null || w($), j(!0);
4685
+ }, bn = ($) => {
4686
+ $.key === "Escape" && j(!1), k == null || k($);
4687
+ }, xn = ($) => ({
4688
+ ...d == null ? void 0 : d($),
4689
+ selected: D(fe).isSame($, "day"),
4690
4690
  onClick: (ot) => {
4691
4691
  var vn, qn;
4692
- (qn = d == null ? void 0 : (vn = d(F)).onClick) == null || qn.call(vn, ot);
4693
- const it = Z && D(fe).isSame(F, "day") ? null : F;
4692
+ (qn = d == null ? void 0 : (vn = d($)).onClick) == null || qn.call(vn, ot);
4693
+ const it = Z && D(fe).isSame($, "day") ? null : $;
4694
4694
  le(it), !re && it && ae(he(it)), j(!1);
4695
4695
  }
4696
4696
  }), kn = /* @__PURE__ */ m.jsx(
@@ -4746,7 +4746,7 @@ const dg = {
4746
4746
  /* @__PURE__ */ m.jsx(
4747
4747
  et.Dropdown,
4748
4748
  {
4749
- onMouseDown: (F) => F.preventDefault(),
4749
+ onMouseDown: ($) => $.preventDefault(),
4750
4750
  "data-dates-dropdown": !0,
4751
4751
  ref: T,
4752
4752
  children: /* @__PURE__ */ m.jsx(
@@ -4765,13 +4765,13 @@ const dg = {
4765
4765
  size: r.size,
4766
4766
  date: Le,
4767
4767
  onDateChange: ce,
4768
- getMonthControlProps: (F) => ({
4769
- selected: typeof fe == "string" ? Oo(F, fe) : !1,
4770
- ...J == null ? void 0 : J(F)
4768
+ getMonthControlProps: ($) => ({
4769
+ selected: typeof fe == "string" ? Oo($, fe) : !1,
4770
+ ...J == null ? void 0 : J($)
4771
4771
  }),
4772
- getYearControlProps: (F) => ({
4773
- selected: typeof fe == "string" ? D(F).isSame(fe, "year") : !1,
4774
- ...W == null ? void 0 : W(F)
4772
+ getYearControlProps: ($) => ({
4773
+ selected: typeof fe == "string" ? D($).isSame(fe, "year") : !1,
4774
+ ...W == null ? void 0 : W($)
4775
4775
  }),
4776
4776
  attributes: s.attributes
4777
4777
  }
@@ -4834,7 +4834,7 @@ const pg = {
4834
4834
  unstyled: u,
4835
4835
  attributes: N,
4836
4836
  vars: C
4837
- }), { resolvedClassNames: P, resolvedStyles: $ } = zn({
4837
+ }), { resolvedClassNames: P, resolvedStyles: F } = zn({
4838
4838
  classNames: a,
4839
4839
  styles: c,
4840
4840
  props: t
@@ -4872,7 +4872,7 @@ const pg = {
4872
4872
  dropdownOpened: I.disabled ? !1 : Z,
4873
4873
  dropdownHandlers: he,
4874
4874
  classNames: P,
4875
- styles: $,
4875
+ styles: F,
4876
4876
  unstyled: u,
4877
4877
  ref: e,
4878
4878
  onClear: () => O(null),
@@ -4902,7 +4902,7 @@ const pg = {
4902
4902
  onChange: re,
4903
4903
  locale: l,
4904
4904
  classNames: P,
4905
- styles: $,
4905
+ styles: F,
4906
4906
  unstyled: u,
4907
4907
  __staticSelector: "DateTimePicker",
4908
4908
  __stopPropagation: ce,
@@ -17784,26 +17784,26 @@ function m1(n) {
17784
17784
  const z = E.slice(0, B);
17785
17785
  S = z.trim();
17786
17786
  const P = d.slice(0, k + B + N[0].length);
17787
- let $ = [];
17787
+ let F = [];
17788
17788
  if (S)
17789
17789
  if (l === "block")
17790
- for ($ = h.blockTokens(z), $.forEach((K) => {
17790
+ for (F = h.blockTokens(z), F.forEach((K) => {
17791
17791
  K.text && (!K.tokens || K.tokens.length === 0) && (K.tokens = h.inlineTokens(K.text));
17792
- }); $.length > 0; ) {
17793
- const K = $[$.length - 1];
17792
+ }); F.length > 0; ) {
17793
+ const K = F[F.length - 1];
17794
17794
  if (K.type === "paragraph" && (!K.text || K.text.trim() === ""))
17795
- $.pop();
17795
+ F.pop();
17796
17796
  else
17797
17797
  break;
17798
17798
  }
17799
17799
  else
17800
- $ = h.inlineTokens(S);
17800
+ F = h.inlineTokens(S);
17801
17801
  return {
17802
17802
  type: e,
17803
17803
  raw: P,
17804
17804
  attributes: C,
17805
17805
  content: S,
17806
- tokens: $
17806
+ tokens: F
17807
17807
  };
17808
17808
  }
17809
17809
  }
@@ -19809,12 +19809,12 @@ function kk({
19809
19809
  // <>
19810
19810
  ];
19811
19811
  for (let z = 0; z < I.length; z++) {
19812
- const [P, $] = I[z], K = _(k, P);
19813
- _(S, P, K), _(K, $, k);
19812
+ const [P, F] = I[z], K = _(k, P);
19813
+ _(S, P, K), _(K, F, k);
19814
19814
  const q = pt(ys);
19815
19815
  oe(K, e, q);
19816
19816
  const J = pt();
19817
- oe(K, t), oe(q, e, q), oe(q, t, J), oe(J, e, q), oe(J, t, J), _(q, $, k), _(J, $, k);
19817
+ oe(K, t), oe(q, e, q), oe(q, t, J), oe(J, e, q), oe(J, t, J), _(q, F, k), _(J, F, k);
19818
19818
  }
19819
19819
  return _(s, Yr, x), _(s, Ea, xk), {
19820
19820
  start: s,
@@ -22806,15 +22806,15 @@ const gS = pe({
22806
22806
  initialExternal: d,
22807
22807
  ...f
22808
22808
  } = t, h = Lt(), p = { classNames: r, styles: i }, [g, y] = mm(""), [b, x] = be(d), [C, { open: w, close: k }] = Vl(!1), S = () => {
22809
- var $;
22809
+ var F;
22810
22810
  w();
22811
- const P = ($ = h.editor) == null ? void 0 : $.getAttributes("link");
22811
+ const P = (F = h.editor) == null ? void 0 : F.getAttributes("link");
22812
22812
  y((P == null ? void 0 : P.href) || ""), x(P != null && P.href ? (P == null ? void 0 : P.target) === "_blank" : d);
22813
22813
  }, M = () => {
22814
22814
  k(), y(""), x(d);
22815
22815
  }, E = () => {
22816
- var P, $;
22817
- M(), g === "" ? (P = h.editor) == null || P.chain().focus().extendMarkRange("link").unsetLink().run() : ($ = h.editor) == null || $.chain().focus().extendMarkRange("link").setLink({ href: g, target: b ? "_blank" : null }).run();
22816
+ var P, F;
22817
+ M(), g === "" ? (P = h.editor) == null || P.chain().focus().extendMarkRange("link").unsetLink().run() : (F = h.editor) == null || F.chain().focus().extendMarkRange("link").setLink({ href: g, target: b ? "_blank" : null }).run();
22818
22818
  }, N = (P) => {
22819
22819
  P.key === "Enter" && (P.preventDefault(), E());
22820
22820
  };
@@ -23564,16 +23564,16 @@ const Va = (n) => {
23564
23564
  }
23565
23565
  };
23566
23566
  }
23567
- }), S = Bl[s], M = (I, z, P) => I.map(($) => {
23568
- if ($.type === "object" || $.type === "array") {
23569
- const q = P == null ? void 0 : P[$.name];
23567
+ }), S = Bl[s], M = (I, z, P) => I.map((F) => {
23568
+ if (F.type === "object" || F.type === "array") {
23569
+ const q = P == null ? void 0 : P[F.name];
23570
23570
  return {
23571
- ...$,
23572
- fields: M($.fields, z || {}, q)
23571
+ ...F,
23572
+ fields: M(F.fields, z || {}, q)
23573
23573
  };
23574
23574
  }
23575
- const K = P == null ? void 0 : P[$.name];
23576
- return K ? K($, z) : $;
23575
+ const K = P == null ? void 0 : P[F.name];
23576
+ return K ? K(F, z) : F;
23577
23577
  }), E = Uu(() => {
23578
23578
  if (!c) return e;
23579
23579
  const I = k.getValues();
@@ -23606,8 +23606,8 @@ const Va = (n) => {
23606
23606
  if (I) {
23607
23607
  w(!0);
23608
23608
  try {
23609
- const z = typeof I == "function" ? await I() : I, P = await u(zl(e, z));
23610
- k.setValues(P), k.setDirty(P);
23609
+ const z = typeof I == "function" ? await I() : I, P = await u(z), F = zl(e, P);
23610
+ k.setValues(F), k.setDirty(F);
23611
23611
  } finally {
23612
23612
  w(!1);
23613
23613
  }