@cgi-learning-hub/ui 1.0.0-dev.1719570721 → 1.0.0-dev.1719998094

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.
Files changed (121) hide show
  1. package/dist/Box-BSLk1Unt.cjs +1 -0
  2. package/dist/{Box-BiPuaXeW.js → Box-CLsytagD.js} +2 -2
  3. package/dist/{ButtonBase-BBM2veIm.js → ButtonBase-BO02W7NS.js} +8 -8
  4. package/dist/{ButtonBase-B5suz6lO.cjs → ButtonBase-C4sUXsGF.cjs} +5 -5
  5. package/dist/{CircularProgress-C2oXLTWC.cjs → CircularProgress-C6ewePKX.cjs} +4 -4
  6. package/dist/{CircularProgress-10EF1bHf.js → CircularProgress-DkhLw-s3.js} +5 -5
  7. package/dist/DefaultButton-CuOtbehX.cjs +1 -0
  8. package/dist/{DefaultButton-CV1nEtId.js → DefaultButton-DxbkMyYc.js} +34 -31
  9. package/dist/{IconButton-BZJZ6EqA.js → IconButton-DbLINExV.js} +6 -6
  10. package/dist/IconButton-GgxmhJcY.cjs +2 -0
  11. package/dist/InputBase-DkV2qhoC.cjs +3 -0
  12. package/dist/{InputBase-M1EED0mW.js → InputBase-nWvhwwLu.js} +37 -37
  13. package/dist/{LocalizationProvider-BRVVNwi-.js → LocalizationProvider-DjDk9nI4.js} +150 -149
  14. package/dist/LocalizationProvider-y2tl1S9s.cjs +5 -0
  15. package/dist/SearchInput-BT5dpXG_.cjs +1 -0
  16. package/dist/{SearchInput-CwsflFjR.js → SearchInput-Bk9Zu1kC.js} +20 -21
  17. package/dist/Tabs-CnT4mM11.cjs +4 -0
  18. package/dist/{Tabs-B_NrpC4Q.js → Tabs-Y1r3CoAM.js} +10 -10
  19. package/dist/{TextInput-BKp0syBG.js → TextInput-4gvoxU7c.js} +3574 -3567
  20. package/dist/TextInput-D8kzyUso.cjs +12 -0
  21. package/dist/TimePicker-DeV6ulTA.cjs +73 -0
  22. package/dist/{TimePicker-B5mvXW-Z.js → TimePicker-T2Qh2o0X.js} +6302 -5601
  23. package/dist/{Typography-_o0GXIZA.js → Typography-CBpejXb-.js} +4 -4
  24. package/dist/Typography-D_PVDKBz.cjs +1 -0
  25. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  26. package/dist/components/Dropzone/Dropzone.es.js +5 -5
  27. package/dist/components/Loader/Loader.cjs.js +1 -1
  28. package/dist/components/Loader/Loader.es.js +1 -1
  29. package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
  30. package/dist/components/LocalizationProvider/LocalizationProvider.es.js +2 -2
  31. package/dist/components/LocalizationProvider/index.cjs.js +1 -1
  32. package/dist/components/LocalizationProvider/index.es.js +1 -1
  33. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  34. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
  35. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  36. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +4 -4
  37. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  38. package/dist/components/buttons/DefaultButton/index.es.js +1 -1
  39. package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
  40. package/dist/components/buttons/IconButton.stories.es.js +3 -3
  41. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  42. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
  43. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  44. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  45. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  46. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
  47. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  48. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  49. package/dist/components/buttons/index.cjs.js +1 -1
  50. package/dist/components/buttons/index.es.js +1 -1
  51. package/dist/components/feedback/QueryError/QueryError.cjs.js +1 -1
  52. package/dist/components/feedback/QueryError/QueryError.es.js +1 -1
  53. package/dist/components/index.cjs.js +1 -1
  54. package/dist/components/index.d.ts +34 -18
  55. package/dist/components/index.es.js +210 -187
  56. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
  57. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +7 -7
  58. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  59. package/dist/components/inputs/SearchInput/SearchInput.es.js +3 -3
  60. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
  61. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +1 -1
  62. package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
  63. package/dist/components/inputs/SearchInput/index.es.js +1 -1
  64. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
  65. package/dist/components/inputs/TextInput/TextInput.es.js +1 -1
  66. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  67. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  68. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  69. package/dist/components/inputs/TextInput/index.es.js +1 -1
  70. package/dist/components/inputs/index.cjs.js +1 -1
  71. package/dist/components/inputs/index.es.js +2 -2
  72. package/dist/components/lists/FileList/FileList.cjs.js +1 -1
  73. package/dist/components/lists/FileList/FileList.es.js +1 -1
  74. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  75. package/dist/components/lists/FileList/FileListItem.es.js +6 -6
  76. package/dist/components/lists/TabList.stories.cjs.js +1 -1
  77. package/dist/components/lists/TabList.stories.es.js +5 -5
  78. package/dist/createSvgIcon-CFtjsmfB.cjs +2 -0
  79. package/dist/{createSvgIcon-_G2UO7ga.js → createSvgIcon-DGF1Ce2q.js} +4 -4
  80. package/dist/createSvgIcon-DagJgkOf.cjs +1 -0
  81. package/dist/{createSvgIcon-D_7kuTTf.js → createSvgIcon-_kIwNGd_.js} +7 -6
  82. package/dist/{generateUtilityClasses-C17NTtuY.cjs → extendSxProp-CBvX0FR-.cjs} +5 -5
  83. package/dist/{generateUtilityClasses-X1rhcgtG.js → extendSxProp-DoXf2jHS.js} +69 -69
  84. package/dist/{fr-DYijwmMU.js → fr-BmCZ8dwR.js} +1 -1
  85. package/dist/fr-DpgYlaEE.cjs +1 -0
  86. package/dist/{createTheme-1ojblN3u.js → identifier-B-c66ZKq.js} +208 -206
  87. package/dist/{createTheme-CknVNw7S.cjs → identifier-BuYfMLUf.cjs} +10 -10
  88. package/dist/index.cjs.js +1 -1
  89. package/dist/index.es.js +210 -187
  90. package/dist/refType-BnOr50U1.cjs +1 -0
  91. package/dist/{refType-CHmcTSDr.js → refType-Bsoh8hr5.js} +1 -1
  92. package/dist/{styled-OyviKmVy.cjs → styled-BRb9u4c_.cjs} +3 -3
  93. package/dist/{styled-s69k_8pa.js → styled-DCcUmoxz.js} +28 -27
  94. package/dist/useForkRef-CGd3Nhyb.cjs +1 -0
  95. package/dist/{useIsFocusVisible-B2ErvDHn.cjs → useIsFocusVisible-Bv_7uvif.cjs} +1 -1
  96. package/dist/{useIsFocusVisible-BsjI7Zxf.js → useIsFocusVisible-DhASXQ4o.js} +1 -1
  97. package/dist/useSlotProps-7lEOEiQl.cjs +1 -0
  98. package/dist/{useSlotProps-Bkw8Hym-.js → useSlotProps-DH1BqbLi.js} +4 -4
  99. package/dist/useThemeProps--fNQJ5H3.cjs +1 -0
  100. package/dist/{useThemeProps-CjT55mlq.js → useThemeProps-CjiYkdhO.js} +1 -1
  101. package/dist/{useTimeout-Dokw0W_A.js → useTimeout-BdvDipeg.js} +1 -1
  102. package/dist/{useTimeout-D8rbe5ty.cjs → useTimeout-XUWYBnl6.cjs} +1 -1
  103. package/package.json +1 -1
  104. package/dist/Box-CKtwAfuD.cjs +0 -1
  105. package/dist/DefaultButton-mp_9BYRN.cjs +0 -1
  106. package/dist/IconButton-mr3bF3zo.cjs +0 -2
  107. package/dist/InputBase-BR9xRQIk.cjs +0 -3
  108. package/dist/LocalizationProvider-CFOq5lnY.cjs +0 -5
  109. package/dist/SearchInput-CMaJIb02.cjs +0 -1
  110. package/dist/Tabs-TyQToO40.cjs +0 -4
  111. package/dist/TextInput-D46n8joW.cjs +0 -12
  112. package/dist/TimePicker-Br2Mpmkg.cjs +0 -73
  113. package/dist/Typography-BjPSnASW.cjs +0 -1
  114. package/dist/createSvgIcon-BCT6mmot.cjs +0 -2
  115. package/dist/createSvgIcon-DgyR9LGT.cjs +0 -1
  116. package/dist/fr-Dm5AYBWh.cjs +0 -1
  117. package/dist/refType-CHTm-ixS.cjs +0 -1
  118. package/dist/useForkRef-DfdM2MN5.cjs +0 -1
  119. package/dist/useSlotProps-DY72w76L.cjs +0 -1
  120. package/dist/useThemeProps-CYyGLT0O.cjs +0 -1
  121. package/dist/{useForkRef-CQ5u1_mH.js → useForkRef-DwN_Iz9R.js} +1 -1
@@ -1,13 +1,13 @@
1
- import { u as ke, P as e, b as he, _ as d, T as Be, g as Pe, c as J, h as Me } from "./createTheme-1ojblN3u.js";
1
+ import { u as ke, P as e, b as he, _ as d, T as Be, g as Pe, c as J, h as Me } from "./identifier-B-c66ZKq.js";
2
2
  import * as u from "react";
3
- import { G as He, g as We, c as ce } from "./generateUtilityClasses-X1rhcgtG.js";
4
- import { s as be, c as De } from "./styled-s69k_8pa.js";
5
- import { d as Ve, u as _e } from "./useThemeProps-CjT55mlq.js";
3
+ import { G as He, g as We, c as ce } from "./extendSxProp-DoXf2jHS.js";
4
+ import { s as be, c as De } from "./styled-DCcUmoxz.js";
5
+ import { d as Ve, u as _e } from "./useThemeProps-CjiYkdhO.js";
6
6
  import { jsx as O, jsxs as Q } from "react/jsx-runtime";
7
- import { a as ye, u as X } from "./useForkRef-CQ5u1_mH.js";
7
+ import { a as ye, u as X } from "./useForkRef-DwN_Iz9R.js";
8
8
  import { a as pe, d as Le } from "./ownerWindow-C7EH1lr6.js";
9
9
  import { i as fe } from "./isHostComponent-kiaBvYVo.js";
10
- import { e as je, r as Ue } from "./refType-CHmcTSDr.js";
10
+ import { e as je, r as Ue } from "./refType-Bsoh8hr5.js";
11
11
  function ge({
12
12
  styles: o,
13
13
  themeId: n,
@@ -41,11 +41,27 @@ process.env.NODE_ENV !== "production" && (oe.displayName = "FormControlContext")
41
41
  function $e() {
42
42
  return u.useContext(oe);
43
43
  }
44
- const Ge = ["onChange", "maxRows", "minRows", "style", "value"];
44
+ function me(o) {
45
+ return o != null && !(Array.isArray(o) && o.length === 0);
46
+ }
47
+ function Ge(o, n = !1) {
48
+ return o && (me(o.value) && o.value !== "" || n && me(o.defaultValue) && o.defaultValue !== "");
49
+ }
50
+ function bo(o) {
51
+ return o.startAdornment;
52
+ }
53
+ function Ke({
54
+ props: o,
55
+ states: n,
56
+ muiFormControl: t
57
+ }) {
58
+ return n.reduce((s, i) => (s[i] = o[i], t && typeof o[i] > "u" && (s[i] = t[i]), s), {});
59
+ }
60
+ const qe = ["onChange", "maxRows", "minRows", "style", "value"];
45
61
  function L(o) {
46
62
  return parseInt(o, 10) || 0;
47
63
  }
48
- const Ke = {
64
+ const Ye = {
49
65
  shadow: {
50
66
  // Visibility needed to hide the extra text area on iPads
51
67
  visibility: "hidden",
@@ -60,7 +76,7 @@ const Ke = {
60
76
  transform: "translateZ(0)"
61
77
  }
62
78
  };
63
- function qe(o) {
79
+ function Ze(o) {
64
80
  return o == null || Object.keys(o).length === 0 || o.outerHeightStyle === 0 && !o.overflowing;
65
81
  }
66
82
  const we = /* @__PURE__ */ u.forwardRef(function(n, t) {
@@ -70,7 +86,7 @@ const we = /* @__PURE__ */ u.forwardRef(function(n, t) {
70
86
  minRows: p = 1,
71
87
  style: N,
72
88
  value: z
73
- } = n, F = he(n, Ge), {
89
+ } = n, F = he(n, qe), {
74
90
  current: R
75
91
  } = u.useRef(z != null), b = u.useRef(null), A = ye(t, b), y = u.useRef(null), S = u.useCallback(() => {
76
92
  const c = b.current, l = pe(c).getComputedStyle(c);
@@ -94,7 +110,7 @@ const we = /* @__PURE__ */ u.forwardRef(function(n, t) {
94
110
  };
95
111
  }, [i, p, n.placeholder]), g = u.useCallback(() => {
96
112
  const c = S();
97
- if (qe(c))
113
+ if (Ze(c))
98
114
  return;
99
115
  const w = b.current;
100
116
  w.style.height = `${c.outerHeightStyle}px`, w.style.overflow = c.overflowing ? "hidden" : "";
@@ -133,7 +149,7 @@ const we = /* @__PURE__ */ u.forwardRef(function(n, t) {
133
149
  readOnly: !0,
134
150
  ref: y,
135
151
  tabIndex: -1,
136
- style: d({}, Ke.shadow, N, {
152
+ style: d({}, Ye.shadow, N, {
137
153
  paddingTop: 0,
138
154
  paddingBottom: 0
139
155
  })
@@ -175,13 +191,6 @@ process.env.NODE_ENV !== "production" && (we.propTypes = {
175
191
  */
176
192
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
177
193
  });
178
- function Ye({
179
- props: o,
180
- states: n,
181
- muiFormControl: t
182
- }) {
183
- return n.reduce((s, i) => (s[i] = o[i], t && typeof o[i] > "u" && (s[i] = t[i]), s), {});
184
- }
185
194
  function ve(o) {
186
195
  return /* @__PURE__ */ O(ge, d({}, o, {
187
196
  defaultTheme: Ve,
@@ -198,15 +207,6 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
198
207
  */
199
208
  styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool])
200
209
  });
201
- function me(o) {
202
- return o != null && !(Array.isArray(o) && o.length === 0);
203
- }
204
- function Ze(o, n = !1) {
205
- return o && (me(o.value) && o.value !== "" || n && me(o.defaultValue) && o.defaultValue !== "");
206
- }
207
- function bo(o) {
208
- return o.startAdornment;
209
- }
210
210
  function Je(o) {
211
211
  return Pe("MuiInputBase", o);
212
212
  }
@@ -432,7 +432,7 @@ const ee = We("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
432
432
  if (a)
433
433
  return a.registerEffect();
434
434
  }, [a]);
435
- const m = Ye({
435
+ const m = Ke({
436
436
  props: i,
437
437
  muiFormControl: a,
438
438
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
@@ -441,7 +441,7 @@ const ee = We("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
441
441
  !a && y && $ && (G(!1), C && C());
442
442
  }, [a, y, $, C]);
443
443
  const K = a && a.onFilled, q = a && a.onEmpty, P = u.useCallback((r) => {
444
- Ze(r) ? K && K() : q && q();
444
+ Ge(r) ? K && K() : q && q();
445
445
  }, [K, q]);
446
446
  X(() => {
447
447
  U && P({
@@ -783,13 +783,13 @@ process.env.NODE_ENV !== "production" && (io.propTypes = {
783
783
  export {
784
784
  oe as F,
785
785
  io as I,
786
- no as a,
787
- to as b,
788
- eo as c,
789
- bo as d,
790
- Ze as e,
791
- Ye as f,
792
- ee as i,
786
+ Ge as a,
787
+ ee as b,
788
+ no as c,
789
+ to as d,
790
+ eo as e,
791
+ Ke as f,
792
+ bo as i,
793
793
  Xe as r,
794
794
  $e as u
795
795
  };
@@ -1,11 +1,128 @@
1
1
  import { jsx as et } from "react/jsx-runtime";
2
- import { r as lt } from "./fr-DYijwmMU.js";
3
- import { j as F, f as N, _ as st, b as mt, P as a } from "./createTheme-1ojblN3u.js";
2
+ import { r as lt } from "./fr-BmCZ8dwR.js";
3
+ import { b as mt, _ as st, P as a, j as F, f as N } from "./identifier-B-c66ZKq.js";
4
4
  import * as H from "react";
5
- import { u as yt } from "./useThemeProps-CjT55mlq.js";
6
- var pt = lt();
7
- const M = /* @__PURE__ */ F(pt);
8
- var rt = { exports: {} };
5
+ import { u as yt } from "./useThemeProps-CjiYkdhO.js";
6
+ const pt = ["localeText"], K = /* @__PURE__ */ H.createContext(null);
7
+ process.env.NODE_ENV !== "production" && (K.displayName = "MuiPickersAdapterContext");
8
+ const rt = function(p) {
9
+ var f;
10
+ const {
11
+ localeText: u
12
+ } = p, g = mt(p, pt), {
13
+ utils: t,
14
+ localeText: e
15
+ } = (f = H.useContext(K)) != null ? f : {
16
+ utils: void 0,
17
+ localeText: void 0
18
+ }, s = yt({
19
+ // We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
20
+ // We will then merge this theme value with our value manually
21
+ props: g,
22
+ name: "MuiLocalizationProvider"
23
+ }), {
24
+ children: i,
25
+ dateAdapter: n,
26
+ dateFormats: h,
27
+ dateLibInstance: l,
28
+ adapterLocale: y,
29
+ localeText: k
30
+ } = s, U = H.useMemo(() => st({}, k, e, u), [k, e, u]), r = H.useMemo(() => {
31
+ if (!n)
32
+ return t || null;
33
+ const d = new n({
34
+ locale: y,
35
+ formats: h,
36
+ instance: l
37
+ });
38
+ if (!d.isMUIAdapter)
39
+ throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`", "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", "More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(`
40
+ `));
41
+ return d;
42
+ }, [n, y, h, l, t]), o = H.useMemo(() => r ? {
43
+ minDate: r.date("1900-01-01T00:00:00.000"),
44
+ maxDate: r.date("2099-12-31T00:00:00.000")
45
+ } : null, [r]), c = H.useMemo(() => ({
46
+ utils: r,
47
+ defaultDates: o,
48
+ localeText: U
49
+ }), [o, r, U]);
50
+ return /* @__PURE__ */ et(K.Provider, {
51
+ value: c,
52
+ children: i
53
+ });
54
+ };
55
+ process.env.NODE_ENV !== "production" && (rt.propTypes = {
56
+ // ----------------------------- Warning --------------------------------
57
+ // | These PropTypes are generated from the TypeScript type definitions |
58
+ // | To update them edit the TypeScript types and run "yarn proptypes" |
59
+ // ----------------------------------------------------------------------
60
+ /**
61
+ * Locale for the date library you are using
62
+ */
63
+ adapterLocale: a.any,
64
+ children: a.node,
65
+ /**
66
+ * Date library adapter class function.
67
+ * @see See the localization provider {@link https://mui.com/x/react-date-pickers/getting-started/#setup-your-date-library-adapter date adapter setup section} for more details.
68
+ */
69
+ dateAdapter: a.func,
70
+ /**
71
+ * Formats that are used for any child pickers
72
+ */
73
+ dateFormats: a.shape({
74
+ dayOfMonth: a.string,
75
+ fullDate: a.string,
76
+ fullDateTime: a.string,
77
+ fullDateTime12h: a.string,
78
+ fullDateTime24h: a.string,
79
+ fullDateWithWeekday: a.string,
80
+ fullTime: a.string,
81
+ fullTime12h: a.string,
82
+ fullTime24h: a.string,
83
+ hours12h: a.string,
84
+ hours24h: a.string,
85
+ keyboardDate: a.string,
86
+ keyboardDateTime: a.string,
87
+ keyboardDateTime12h: a.string,
88
+ keyboardDateTime24h: a.string,
89
+ meridiem: a.string,
90
+ minutes: a.string,
91
+ month: a.string,
92
+ monthAndDate: a.string,
93
+ monthAndYear: a.string,
94
+ monthShort: a.string,
95
+ normalDate: a.string,
96
+ normalDateWithWeekday: a.string,
97
+ seconds: a.string,
98
+ shortDate: a.string,
99
+ weekday: a.string,
100
+ weekdayShort: a.string,
101
+ year: a.string
102
+ }),
103
+ /**
104
+ * Date library instance you are using, if it has some global overrides
105
+ * ```jsx
106
+ * dateLibInstance={momentTimeZone}
107
+ * ```
108
+ */
109
+ dateLibInstance: a.any,
110
+ /**
111
+ * Locale for components texts
112
+ */
113
+ localeText: a.object
114
+ });
115
+ const Mt = (m, p = "warning") => {
116
+ let f = !1;
117
+ const u = Array.isArray(m) ? m.join(`
118
+ `) : m;
119
+ return () => {
120
+ f || (f = !0, p === "error" ? console.error(u) : console.warn(u));
121
+ };
122
+ };
123
+ var gt = lt();
124
+ const M = /* @__PURE__ */ F(gt);
125
+ var nt = { exports: {} };
9
126
  (function(m, p) {
10
127
  (function(f, u) {
11
128
  m.exports = u();
@@ -29,10 +146,10 @@ var rt = { exports: {} };
29
146
  };
30
147
  };
31
148
  });
32
- })(rt);
33
- var Mt = rt.exports;
34
- const gt = /* @__PURE__ */ F(Mt);
35
- var nt = { exports: {} };
149
+ })(nt);
150
+ var Tt = nt.exports;
151
+ const Dt = /* @__PURE__ */ F(Tt);
152
+ var it = { exports: {} };
36
153
  (function(m, p) {
37
154
  (function(f, u) {
38
155
  m.exports = u();
@@ -161,10 +278,10 @@ var nt = { exports: {} };
161
278
  };
162
279
  };
163
280
  });
164
- })(nt);
165
- var Tt = nt.exports;
166
- const Dt = /* @__PURE__ */ F(Tt);
167
- var it = { exports: {} };
281
+ })(it);
282
+ var Yt = it.exports;
283
+ const Lt = /* @__PURE__ */ F(Yt);
284
+ var at = { exports: {} };
168
285
  (function(m, p) {
169
286
  (function(f, u) {
170
287
  m.exports = u();
@@ -186,10 +303,10 @@ var it = { exports: {} };
186
303
  };
187
304
  };
188
305
  });
189
- })(it);
190
- var Yt = it.exports;
191
- const Lt = /* @__PURE__ */ F(Yt);
192
- var at = { exports: {} };
306
+ })(at);
307
+ var xt = at.exports;
308
+ const wt = /* @__PURE__ */ F(xt);
309
+ var ot = { exports: {} };
193
310
  (function(m, p) {
194
311
  (function(f, u) {
195
312
  m.exports = u();
@@ -201,20 +318,13 @@ var at = { exports: {} };
201
318
  };
202
319
  };
203
320
  });
204
- })(at);
205
- var xt = at.exports;
206
- const wt = /* @__PURE__ */ F(xt), Ot = (m, p = "warning") => {
207
- let f = !1;
208
- const u = Array.isArray(m) ? m.join(`
209
- `) : m;
210
- return () => {
211
- f || (f = !0, p === "error" ? console.error(u) : console.warn(u));
212
- };
213
- };
214
- M.extend(Dt);
321
+ })(ot);
322
+ var Ot = ot.exports;
323
+ const kt = /* @__PURE__ */ F(Ot);
215
324
  M.extend(Lt);
216
325
  M.extend(wt);
217
- const kt = Ot(["Your locale has not been found.", "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale", "Or you forget to import the locale from 'dayjs/locale/{localeUsed}'", "fallback on English locale"]), jt = {
326
+ M.extend(kt);
327
+ const jt = Mt(["Your locale has not been found.", "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale", "Or you forget to import the locale from 'dayjs/locale/{localeUsed}'", "fallback on English locale"]), bt = {
218
328
  // Year
219
329
  YY: "year",
220
330
  YYYY: {
@@ -296,7 +406,7 @@ const kt = Ot(["Your locale has not been found.", "Either the locale key is not
296
406
  maxLength: 2
297
407
  },
298
408
  ss: "seconds"
299
- }, bt = {
409
+ }, At = {
300
410
  year: "YYYY",
301
411
  month: "MMMM",
302
412
  monthShort: "MMM",
@@ -327,8 +437,8 @@ const kt = Ot(["Your locale has not been found.", "Either the locale key is not
327
437
  keyboardDateTime24h: "L HH:mm"
328
438
  }, X = ["Missing UTC plugin", "To be able to use UTC or timezones, you have to enable the `utc` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join(`
329
439
  `), tt = ["Missing timezone plugin", "To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join(`
330
- `), At = (m, p) => p ? (...f) => m(...f).locale(p) : m;
331
- class St {
440
+ `), St = (m, p) => p ? (...f) => m(...f).locale(p) : m;
441
+ class zt {
332
442
  constructor({
333
443
  locale: p,
334
444
  formats: f,
@@ -338,7 +448,7 @@ class St {
338
448
  this.isMUIAdapter = !0, this.isTimezoneCompatible = !0, this.lib = "dayjs", this.rawDayJsInstance = void 0, this.dayjs = void 0, this.locale = void 0, this.formats = void 0, this.escapedCharacters = {
339
449
  start: "[",
340
450
  end: "]"
341
- }, this.formatTokenMap = jt, this.setLocaleToValue = (t) => {
451
+ }, this.formatTokenMap = bt, this.setLocaleToValue = (t) => {
342
452
  const e = this.getCurrentLocaleCode();
343
453
  return e === t.locale() ? t : t.locale(e);
344
454
  }, this.hasUTCPlugin = () => typeof M.utc < "u", this.hasTimezonePlugin = () => typeof M.tz < "u", this.isSame = (t, e, s) => {
@@ -375,7 +485,7 @@ class St {
375
485
  }, this.getLocaleFormats = () => {
376
486
  const t = M.Ls, e = this.locale || "en";
377
487
  let s = t[e];
378
- return s === void 0 && (kt(), s = t.en), s.formats;
488
+ return s === void 0 && (jt(), s = t.en), s.formats;
379
489
  }, this.adjustOffset = (t) => {
380
490
  if (!this.hasTimezonePlugin())
381
491
  return t;
@@ -448,122 +558,13 @@ class St {
448
558
  for (; h < i; )
449
559
  n.push(h), h = this.addYears(h, 1);
450
560
  return n;
451
- }, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = u, this.dayjs = At((g = this.rawDayJsInstance) != null ? g : M, p), this.locale = p, this.formats = st({}, bt, f), M.extend(gt);
561
+ }, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = u, this.dayjs = St((g = this.rawDayJsInstance) != null ? g : M, p), this.locale = p, this.formats = st({}, At, f), M.extend(Dt);
452
562
  }
453
563
  }
454
- const zt = ["localeText"], K = /* @__PURE__ */ H.createContext(null);
455
- process.env.NODE_ENV !== "production" && (K.displayName = "MuiPickersAdapterContext");
456
- const ot = function(p) {
457
- var f;
458
- const {
459
- localeText: u
460
- } = p, g = mt(p, zt), {
461
- utils: t,
462
- localeText: e
463
- } = (f = H.useContext(K)) != null ? f : {
464
- utils: void 0,
465
- localeText: void 0
466
- }, s = yt({
467
- // We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
468
- // We will then merge this theme value with our value manually
469
- props: g,
470
- name: "MuiLocalizationProvider"
471
- }), {
472
- children: i,
473
- dateAdapter: n,
474
- dateFormats: h,
475
- dateLibInstance: l,
476
- adapterLocale: y,
477
- localeText: k
478
- } = s, U = H.useMemo(() => st({}, k, e, u), [k, e, u]), r = H.useMemo(() => {
479
- if (!n)
480
- return t || null;
481
- const d = new n({
482
- locale: y,
483
- formats: h,
484
- instance: l
485
- });
486
- if (!d.isMUIAdapter)
487
- throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`", "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", "More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(`
488
- `));
489
- return d;
490
- }, [n, y, h, l, t]), o = H.useMemo(() => r ? {
491
- minDate: r.date("1900-01-01T00:00:00.000"),
492
- maxDate: r.date("2099-12-31T00:00:00.000")
493
- } : null, [r]), c = H.useMemo(() => ({
494
- utils: r,
495
- defaultDates: o,
496
- localeText: U
497
- }), [o, r, U]);
498
- return /* @__PURE__ */ et(K.Provider, {
499
- value: c,
500
- children: i
501
- });
502
- };
503
- process.env.NODE_ENV !== "production" && (ot.propTypes = {
504
- // ----------------------------- Warning --------------------------------
505
- // | These PropTypes are generated from the TypeScript type definitions |
506
- // | To update them edit the TypeScript types and run "yarn proptypes" |
507
- // ----------------------------------------------------------------------
508
- /**
509
- * Locale for the date library you are using
510
- */
511
- adapterLocale: a.any,
512
- children: a.node,
513
- /**
514
- * Date library adapter class function.
515
- * @see See the localization provider {@link https://mui.com/x/react-date-pickers/getting-started/#setup-your-date-library-adapter date adapter setup section} for more details.
516
- */
517
- dateAdapter: a.func,
518
- /**
519
- * Formats that are used for any child pickers
520
- */
521
- dateFormats: a.shape({
522
- dayOfMonth: a.string,
523
- fullDate: a.string,
524
- fullDateTime: a.string,
525
- fullDateTime12h: a.string,
526
- fullDateTime24h: a.string,
527
- fullDateWithWeekday: a.string,
528
- fullTime: a.string,
529
- fullTime12h: a.string,
530
- fullTime24h: a.string,
531
- hours12h: a.string,
532
- hours24h: a.string,
533
- keyboardDate: a.string,
534
- keyboardDateTime: a.string,
535
- keyboardDateTime12h: a.string,
536
- keyboardDateTime24h: a.string,
537
- meridiem: a.string,
538
- minutes: a.string,
539
- month: a.string,
540
- monthAndDate: a.string,
541
- monthAndYear: a.string,
542
- monthShort: a.string,
543
- normalDate: a.string,
544
- normalDateWithWeekday: a.string,
545
- seconds: a.string,
546
- shortDate: a.string,
547
- weekday: a.string,
548
- weekdayShort: a.string,
549
- year: a.string
550
- }),
551
- /**
552
- * Date library instance you are using, if it has some global overrides
553
- * ```jsx
554
- * dateLibInstance={momentTimeZone}
555
- * ```
556
- */
557
- dateLibInstance: a.any,
558
- /**
559
- * Locale for components texts
560
- */
561
- localeText: a.object
562
- });
563
564
  const Ht = ({ adapterLocale: m = "fr", ...p }) => /* @__PURE__ */ et(
564
- ot,
565
+ rt,
565
566
  {
566
- dateAdapter: St,
567
+ dateAdapter: zt,
567
568
  adapterLocale: m,
568
569
  ...p
569
570
  }
@@ -571,6 +572,6 @@ const Ht = ({ adapterLocale: m = "fr", ...p }) => /* @__PURE__ */ et(
571
572
  export {
572
573
  Ht as L,
573
574
  K as M,
574
- ot as a,
575
- Ot as b
575
+ rt as a,
576
+ Mt as b
576
577
  };
@@ -0,0 +1,5 @@
1
+ "use strict";const tt=require("react/jsx-runtime"),ct=require("./fr-DpgYlaEE.cjs"),n=require("./identifier-BuYfMLUf.cjs"),ft=require("react"),lt=require("./useThemeProps--fNQJ5H3.cjs");function mt(f){const p=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(f){for(const u in f)if(u!=="default"){const d=Object.getOwnPropertyDescriptor(f,u);Object.defineProperty(p,u,d.get?d:{enumerable:!0,get:()=>f[u]})}}return p.default=f,Object.freeze(p)}const F=mt(ft),pt=["localeText"],B=F.createContext(null);process.env.NODE_ENV!=="production"&&(B.displayName="MuiPickersAdapterContext");const X=function(p){var u;const{localeText:d}=p,M=n._objectWithoutPropertiesLoose(p,pt),{utils:t,localeText:e}=(u=F.useContext(B))!=null?u:{utils:void 0,localeText:void 0},r=lt.useThemeProps({props:M,name:"MuiLocalizationProvider"}),{children:o,dateAdapter:i,dateFormats:h,dateLibInstance:m,adapterLocale:y,localeText:w}=r,U=F.useMemo(()=>n._extends({},w,e,d),[w,e,d]),s=F.useMemo(()=>{if(!i)return t||null;const c=new i({locale:y,formats:h,instance:m});if(!c.isMUIAdapter)throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(`
2
+ `));return c},[i,y,h,m,t]),a=F.useMemo(()=>s?{minDate:s.date("1900-01-01T00:00:00.000"),maxDate:s.date("2099-12-31T00:00:00.000")}:null,[s]),l=F.useMemo(()=>({utils:s,defaultDates:a,localeText:U}),[a,s,U]);return tt.jsx(B.Provider,{value:l,children:o})};process.env.NODE_ENV!=="production"&&(X.propTypes={adapterLocale:n.PropTypes.any,children:n.PropTypes.node,dateAdapter:n.PropTypes.func,dateFormats:n.PropTypes.shape({dayOfMonth:n.PropTypes.string,fullDate:n.PropTypes.string,fullDateTime:n.PropTypes.string,fullDateTime12h:n.PropTypes.string,fullDateTime24h:n.PropTypes.string,fullDateWithWeekday:n.PropTypes.string,fullTime:n.PropTypes.string,fullTime12h:n.PropTypes.string,fullTime24h:n.PropTypes.string,hours12h:n.PropTypes.string,hours24h:n.PropTypes.string,keyboardDate:n.PropTypes.string,keyboardDateTime:n.PropTypes.string,keyboardDateTime12h:n.PropTypes.string,keyboardDateTime24h:n.PropTypes.string,meridiem:n.PropTypes.string,minutes:n.PropTypes.string,month:n.PropTypes.string,monthAndDate:n.PropTypes.string,monthAndYear:n.PropTypes.string,monthShort:n.PropTypes.string,normalDate:n.PropTypes.string,normalDateWithWeekday:n.PropTypes.string,seconds:n.PropTypes.string,shortDate:n.PropTypes.string,weekday:n.PropTypes.string,weekdayShort:n.PropTypes.string,year:n.PropTypes.string}),dateLibInstance:n.PropTypes.any,localeText:n.PropTypes.object});const et=(f,p="warning")=>{let u=!1;const d=Array.isArray(f)?f.join(`
3
+ `):f;return()=>{u||(u=!0,p==="error"?console.error(d):console.warn(d))}};var yt=ct.requireDayjs_min();const T=n.getDefaultExportFromCjs(yt);var rt={exports:{}};(function(f,p){(function(u,d){f.exports=d()})(n.commonjsGlobal,function(){var u="week",d="year";return function(M,t,e){var r=t.prototype;r.week=function(o){if(o===void 0&&(o=null),o!==null)return this.add(7*(o-this.week()),"day");var i=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=e(this).startOf(d).add(1,d).date(i),m=e(this).endOf(u);if(h.isBefore(m))return 1}var y=e(this).startOf(d).date(i).startOf(u).subtract(1,"millisecond"),w=this.diff(y,u,!0);return w<0?e(this).startOf("week").week():Math.ceil(w)},r.weeks=function(o){return o===void 0&&(o=null),this.week(o)}}})})(rt);var Tt=rt.exports;const Mt=n.getDefaultExportFromCjs(Tt);var st={exports:{}};(function(f,p){(function(u,d){f.exports=d()})(n.commonjsGlobal,function(){var u={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},d=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,M=/\d\d/,t=/\d\d?/,e=/\d*[^-_:/,()\s\d]+/,r={},o=function(s){return(s=+s)+(s>68?1900:2e3)},i=function(s){return function(a){this[s]=+a}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(s){(this.zone||(this.zone={})).offset=function(a){if(!a||a==="Z")return 0;var l=a.match(/([+-]|\d\d)/g),c=60*l[1]+(+l[2]||0);return c===0?0:l[0]==="+"?-c:c}(s)}],m=function(s){var a=r[s];return a&&(a.indexOf?a:a.s.concat(a.f))},y=function(s,a){var l,c=r.meridiem;if(c){for(var g=1;g<=24;g+=1)if(s.indexOf(c(g,0,a))>-1){l=g>12;break}}else l=s===(a?"pm":"PM");return l},w={A:[e,function(s){this.afternoon=y(s,!1)}],a:[e,function(s){this.afternoon=y(s,!0)}],S:[/\d/,function(s){this.milliseconds=100*+s}],SS:[M,function(s){this.milliseconds=10*+s}],SSS:[/\d{3}/,function(s){this.milliseconds=+s}],s:[t,i("seconds")],ss:[t,i("seconds")],m:[t,i("minutes")],mm:[t,i("minutes")],H:[t,i("hours")],h:[t,i("hours")],HH:[t,i("hours")],hh:[t,i("hours")],D:[t,i("day")],DD:[M,i("day")],Do:[e,function(s){var a=r.ordinal,l=s.match(/\d+/);if(this.day=l[0],a)for(var c=1;c<=31;c+=1)a(c).replace(/\[|\]/g,"")===s&&(this.day=c)}],M:[t,i("month")],MM:[M,i("month")],MMM:[e,function(s){var a=m("months"),l=(m("monthsShort")||a.map(function(c){return c.slice(0,3)})).indexOf(s)+1;if(l<1)throw new Error;this.month=l%12||l}],MMMM:[e,function(s){var a=m("months").indexOf(s)+1;if(a<1)throw new Error;this.month=a%12||a}],Y:[/[+-]?\d+/,i("year")],YY:[M,function(s){this.year=o(s)}],YYYY:[/\d{4}/,i("year")],Z:h,ZZ:h};function U(s){var a,l;a=s,l=r&&r.formats;for(var c=(s=a.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(S,j,x){var D=x&&x.toUpperCase();return j||l[x]||u[x]||l[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(k,b,C){return b||C.slice(1)})})).match(d),g=c.length,L=0;L<g;L+=1){var I=c[L],A=w[I],P=A&&A[0],O=A&&A[1];c[L]=O?{regex:P,parser:O}:I.replace(/^\[|\]$/g,"")}return function(S){for(var j={},x=0,D=0;x<g;x+=1){var k=c[x];if(typeof k=="string")D+=k.length;else{var b=k.regex,C=k.parser,H=S.slice(D),v=b.exec(H)[0];C.call(j,v),S=S.replace(v,"")}}return function(z){var Y=z.afternoon;if(Y!==void 0){var E=z.hours;Y?E<12&&(z.hours+=12):E===12&&(z.hours=0),delete z.afternoon}}(j),j}}return function(s,a,l){l.p.customParseFormat=!0,s&&s.parseTwoDigitYear&&(o=s.parseTwoDigitYear);var c=a.prototype,g=c.parse;c.parse=function(L){var I=L.date,A=L.utc,P=L.args;this.$u=A;var O=P[1];if(typeof O=="string"){var S=P[2]===!0,j=P[3]===!0,x=S||j,D=P[2];j&&(D=P[2]),r=this.$locale(),!S&&D&&(r=l.Ls[D]),this.$d=function(H,v,z){try{if(["x","X"].indexOf(v)>-1)return new Date((v==="X"?1e3:1)*H);var Y=U(v)(H),E=Y.year,W=Y.month,ot=Y.day,at=Y.hours,ht=Y.minutes,ut=Y.seconds,dt=Y.milliseconds,K=Y.zone,N=new Date,_=ot||(E||W?1:N.getDate()),Z=E||N.getFullYear(),$=0;E&&!W||($=W>0?W-1:N.getMonth());var V=at||0,q=ht||0,G=ut||0,J=dt||0;return K?new Date(Date.UTC(Z,$,_,V,q,G,J+60*K.offset*1e3)):z?new Date(Date.UTC(Z,$,_,V,q,G,J)):new Date(Z,$,_,V,q,G,J)}catch{return new Date("")}}(I,O,A),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),x&&I!=this.format(O)&&(this.$d=new Date("")),r={}}else if(O instanceof Array)for(var k=O.length,b=1;b<=k;b+=1){P[1]=O[b-1];var C=l.apply(this,P);if(C.isValid()){this.$d=C.$d,this.$L=C.$L,this.init();break}b===k&&(this.$d=new Date(""))}else g.call(this,L)}}})})(st);var gt=st.exports;const Dt=n.getDefaultExportFromCjs(gt);var nt={exports:{}};(function(f,p){(function(u,d){f.exports=d()})(n.commonjsGlobal,function(){var u={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(d,M,t){var e=M.prototype,r=e.format;t.en.formats=u,e.format=function(o){o===void 0&&(o="YYYY-MM-DDTHH:mm:ssZ");var i=this.$locale().formats,h=function(m,y){return m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(w,U,s){var a=s&&s.toUpperCase();return U||y[s]||u[s]||y[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,c,g){return c||g.slice(1)})})}(o,i===void 0?{}:i);return r.call(this,h)}}})})(nt);var Yt=nt.exports;const xt=n.getDefaultExportFromCjs(Yt);var it={exports:{}};(function(f,p){(function(u,d){f.exports=d()})(n.commonjsGlobal,function(){return function(u,d,M){d.prototype.isBetween=function(t,e,r,o){var i=M(t),h=M(e),m=(o=o||"()")[0]==="(",y=o[1]===")";return(m?this.isAfter(i,r):!this.isBefore(i,r))&&(y?this.isBefore(h,r):!this.isAfter(h,r))||(m?this.isBefore(i,r):!this.isAfter(i,r))&&(y?this.isAfter(h,r):!this.isBefore(h,r))}}})})(it);var Lt=it.exports;const Pt=n.getDefaultExportFromCjs(Lt);T.extend(Dt);T.extend(xt);T.extend(Pt);const Ot=et(["Your locale has not been found.","Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale","Or you forget to import the locale from 'dayjs/locale/{localeUsed}'","fallback on English locale"]),wt={YY:"year",YYYY:{sectionType:"year",contentType:"digit",maxLength:4},M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},d:{sectionType:"weekDay",contentType:"digit",maxLength:2},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},jt={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",weekday:"dddd",weekdayShort:"dd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",fullDateWithWeekday:"dddd, LL",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",monthAndYear:"MMMM YYYY",monthAndDate:"MMMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},R=["Missing UTC plugin","To be able to use UTC or timezones, you have to enable the `utc` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join(`
4
+ `),Q=["Missing timezone plugin","To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join(`
5
+ `),kt=(f,p)=>p?(...u)=>f(...u).locale(p):f;class bt{constructor({locale:p,formats:u,instance:d}={}){var M;this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="dayjs",this.rawDayJsInstance=void 0,this.dayjs=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=wt,this.setLocaleToValue=t=>{const e=this.getCurrentLocaleCode();return e===t.locale()?t:t.locale(e)},this.hasUTCPlugin=()=>typeof T.utc<"u",this.hasTimezonePlugin=()=>typeof T.tz<"u",this.isSame=(t,e,r)=>{const o=this.setTimezone(e,this.getTimezone(t));return t.format(r)===o.format(r)},this.cleanTimezone=t=>{switch(t){case"default":return;case"system":return T.tz.guess();default:return t}},this.createSystemDate=t=>{if(this.rawDayJsInstance)return this.rawDayJsInstance(t);if(this.hasUTCPlugin()&&this.hasTimezonePlugin()){const e=T.tz.guess();return e!=="UTC"?T.tz(t,e):T(t)}return T(t)},this.createUTCDate=t=>{if(!this.hasUTCPlugin())throw new Error(R);return T.utc(t)},this.createTZDate=(t,e)=>{if(!this.hasUTCPlugin())throw new Error(R);if(!this.hasTimezonePlugin())throw new Error(Q);const r=t!==void 0&&!t.endsWith("Z");return T(t).tz(this.cleanTimezone(e),r)},this.getLocaleFormats=()=>{const t=T.Ls,e=this.locale||"en";let r=t[e];return r===void 0&&(Ot(),r=t.en),r.formats},this.adjustOffset=t=>{if(!this.hasTimezonePlugin())return t;const e=this.getTimezone(t);if(e!=="UTC"){var r,o;const i=t.tz(this.cleanTimezone(e),!0);if(((r=i.$offset)!=null?r:0)===((o=t.$offset)!=null?o:0))return t;t.$offset=i.$offset}return t},this.date=t=>t===null?null:this.dayjs(t),this.dateWithTimezone=(t,e)=>{if(t===null)return null;let r;return e==="UTC"?r=this.createUTCDate(t):e==="system"||e==="default"&&!this.hasTimezonePlugin()?r=this.createSystemDate(t):r=this.createTZDate(t,e),this.locale===void 0?r:r.locale(this.locale)},this.getTimezone=t=>{if(this.hasTimezonePlugin()){var e;const r=(e=t.$x)==null?void 0:e.$timezone;if(r)return r}return this.hasUTCPlugin()&&t.isUTC()?"UTC":"system"},this.setTimezone=(t,e)=>{if(this.getTimezone(t)===e)return t;if(e==="UTC"){if(!this.hasUTCPlugin())throw new Error(R);return t.utc()}if(e==="system")return t.local();if(!this.hasTimezonePlugin()){if(e==="default")return t;throw new Error(Q)}return T.tz(t,this.cleanTimezone(e))},this.toJsDate=t=>t.toDate(),this.parseISO=t=>this.dayjs(t),this.toISO=t=>t.toISOString(),this.parse=(t,e)=>t===""?null:this.dayjs(t,e,this.locale,!0),this.getCurrentLocaleCode=()=>this.locale||"en",this.is12HourCycleInCurrentLocale=()=>/A|a/.test(this.getLocaleFormats().LT||""),this.expandFormat=t=>{const e=this.getLocaleFormats(),r=o=>o.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(i,h,m)=>h||m.slice(1));return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(o,i,h)=>{const m=h&&h.toUpperCase();return i||e[h]||r(e[m])})},this.getFormatHelperText=t=>this.expandFormat(t).replace(/a/gi,"(a|p)m").toLocaleLowerCase(),this.isNull=t=>t===null,this.isValid=t=>this.dayjs(t).isValid(),this.format=(t,e)=>this.formatByString(t,this.formats[e]),this.formatByString=(t,e)=>this.dayjs(t).format(e),this.formatNumber=t=>t,this.getDiff=(t,e,r)=>t.diff(e,r),this.isEqual=(t,e)=>t===null&&e===null?!0:this.dayjs(t).toDate().getTime()===this.dayjs(e).toDate().getTime(),this.isSameYear=(t,e)=>this.isSame(t,e,"YYYY"),this.isSameMonth=(t,e)=>this.isSame(t,e,"YYYY-MM"),this.isSameDay=(t,e)=>this.isSame(t,e,"YYYY-MM-DD"),this.isSameHour=(t,e)=>t.isSame(e,"hour"),this.isAfter=(t,e)=>t>e,this.isAfterYear=(t,e)=>this.hasUTCPlugin()?!this.isSameYear(t,e)&&t.utc()>e.utc():t.isAfter(e,"year"),this.isAfterDay=(t,e)=>this.hasUTCPlugin()?!this.isSameDay(t,e)&&t.utc()>e.utc():t.isAfter(e,"day"),this.isBefore=(t,e)=>t<e,this.isBeforeYear=(t,e)=>this.hasUTCPlugin()?!this.isSameYear(t,e)&&t.utc()<e.utc():t.isBefore(e,"year"),this.isBeforeDay=(t,e)=>this.hasUTCPlugin()?!this.isSameDay(t,e)&&t.utc()<e.utc():t.isBefore(e,"day"),this.isWithinRange=(t,[e,r])=>t>=e&&t<=r,this.startOfYear=t=>this.adjustOffset(t.startOf("year")),this.startOfMonth=t=>this.adjustOffset(t.startOf("month")),this.startOfWeek=t=>this.adjustOffset(t.startOf("week")),this.startOfDay=t=>this.adjustOffset(t.startOf("day")),this.endOfYear=t=>this.adjustOffset(t.endOf("year")),this.endOfMonth=t=>this.adjustOffset(t.endOf("month")),this.endOfWeek=t=>this.adjustOffset(t.endOf("week")),this.endOfDay=t=>this.adjustOffset(t.endOf("day")),this.addYears=(t,e)=>this.adjustOffset(e<0?t.subtract(Math.abs(e),"year"):t.add(e,"year")),this.addMonths=(t,e)=>this.adjustOffset(e<0?t.subtract(Math.abs(e),"month"):t.add(e,"month")),this.addWeeks=(t,e)=>this.adjustOffset(e<0?t.subtract(Math.abs(e),"week"):t.add(e,"week")),this.addDays=(t,e)=>this.adjustOffset(e<0?t.subtract(Math.abs(e),"day"):t.add(e,"day")),this.addHours=(t,e)=>this.adjustOffset(e<0?t.subtract(Math.abs(e),"hour"):t.add(e,"hour")),this.addMinutes=(t,e)=>this.adjustOffset(e<0?t.subtract(Math.abs(e),"minute"):t.add(e,"minute")),this.addSeconds=(t,e)=>this.adjustOffset(e<0?t.subtract(Math.abs(e),"second"):t.add(e,"second")),this.getYear=t=>t.year(),this.getMonth=t=>t.month(),this.getDate=t=>t.date(),this.getHours=t=>t.hour(),this.getMinutes=t=>t.minute(),this.getSeconds=t=>t.second(),this.getMilliseconds=t=>t.millisecond(),this.setYear=(t,e)=>this.adjustOffset(t.set("year",e)),this.setMonth=(t,e)=>this.adjustOffset(t.set("month",e)),this.setDate=(t,e)=>this.adjustOffset(t.set("date",e)),this.setHours=(t,e)=>this.adjustOffset(t.set("hour",e)),this.setMinutes=(t,e)=>this.adjustOffset(t.set("minute",e)),this.setSeconds=(t,e)=>this.adjustOffset(t.set("second",e)),this.setMilliseconds=(t,e)=>this.adjustOffset(t.set("millisecond",e)),this.getDaysInMonth=t=>t.daysInMonth(),this.getNextMonth=t=>this.addMonths(t,1),this.getPreviousMonth=t=>this.addMonths(t,-1),this.getMonthArray=t=>{const r=[t.startOf("year")];for(;r.length<12;){const o=r[r.length-1];r.push(this.addMonths(o,1))}return r},this.mergeDateAndTime=(t,e)=>t.hour(e.hour()).minute(e.minute()).second(e.second()),this.getWeekdays=()=>{const t=this.dayjs().startOf("week");return[0,1,2,3,4,5,6].map(e=>this.formatByString(this.addDays(t,e),"dd"))},this.getWeekArray=t=>{const e=this.setLocaleToValue(t),r=e.startOf("month").startOf("week"),o=e.endOf("month").endOf("week");let i=0,h=r;const m=[];for(;h<o;){const y=Math.floor(i/7);m[y]=m[y]||[],m[y].push(h),h=this.addDays(h,1),i+=1}return m},this.getWeekNumber=t=>t.week(),this.getYearRange=(t,e)=>{const r=t.startOf("year"),o=e.endOf("year"),i=[];let h=r;for(;h<o;)i.push(h),h=this.addYears(h,1);return i},this.getMeridiemText=t=>t==="am"?"AM":"PM",this.rawDayJsInstance=d,this.dayjs=kt((M=this.rawDayJsInstance)!=null?M:T,p),this.locale=p,this.formats=n._extends({},jt,u),T.extend(Mt)}}const At=({adapterLocale:f="fr",...p})=>tt.jsx(X,{dateAdapter:bt,adapterLocale:f,...p});exports.LocalizationProvider=At;exports.LocalizationProvider$1=X;exports.MuiPickersAdapterContext=B;exports.buildWarning=et;
@@ -0,0 +1 @@
1
+ "use strict";const r=require("react/jsx-runtime"),y=require("./styled-BRb9u4c_.cjs"),m=require("./InputBase-DkV2qhoC.cjs"),e=require("./identifier-BuYfMLUf.cjs"),C=require("react"),g=require("./extendSxProp-CBvX0FR-.cjs"),E=require("./useThemeProps--fNQJ5H3.cjs"),S=require("./Typography-D_PVDKBz.cjs"),A=require("./createSvgIcon-DagJgkOf.cjs");function O(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const b=O(C);function q(t){return e.generateUtilityClass("MuiInputAdornment",t)}const P=g.generateUtilityClasses("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var T;const _=["children","className","component","disablePointerEvents","disableTypography","position","variant"],z=(t,n)=>{const{ownerState:o}=t;return[n.root,n[`position${e.capitalize(o.position)}`],o.disablePointerEvents===!0&&n.disablePointerEvents,n[o.variant]]},M=t=>{const{classes:n,disablePointerEvents:o,hiddenLabel:s,position:i,size:p,variant:l}=t,c={root:["root",o&&"disablePointerEvents",i&&`position${e.capitalize(i)}`,l,s&&"hiddenLabel",p&&`size${e.capitalize(p)}`]};return y.composeClasses(c,q,n)},N=y.styled("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:z})(({theme:t,ownerState:n})=>e._extends({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},n.variant==="filled"&&{[`&.${P.positionStart}&:not(.${P.hiddenLabel})`]:{marginTop:16}},n.position==="start"&&{marginRight:8},n.position==="end"&&{marginLeft:8},n.disablePointerEvents===!0&&{pointerEvents:"none"})),v=b.forwardRef(function(n,o){const s=E.useThemeProps({props:n,name:"MuiInputAdornment"}),{children:i,className:p,component:l="div",disablePointerEvents:c=!1,disableTypography:x=!1,position:h,variant:d}=s,I=e._objectWithoutPropertiesLoose(s,_),a=m.useFormControl()||{};let u=d;d&&a.variant&&process.env.NODE_ENV!=="production"&&d===a.variant&&console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."),a&&!u&&(u=a.variant);const f=e._extends({},s,{hiddenLabel:a.hiddenLabel,size:a.size,disablePointerEvents:c,position:h,variant:u}),j=M(f);return r.jsx(m.FormControlContext.Provider,{value:null,children:r.jsx(N,e._extends({as:l,ownerState:f,className:g.clsx(j.root,p),ref:o},I,{children:typeof i=="string"&&!x?r.jsx(S.Typography,{color:"text.secondary",children:i}):r.jsxs(b.Fragment,{children:[h==="start"?T||(T=r.jsx("span",{className:"notranslate",children:"​"})):null,i]})}))})});process.env.NODE_ENV!=="production"&&(v.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,disablePointerEvents:e.PropTypes.bool,disableTypography:e.PropTypes.bool,position:e.PropTypes.oneOf(["end","start"]).isRequired,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),variant:e.PropTypes.oneOf(["filled","outlined","standard"])});const R=A.createSvgIcon(r.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search"),L=y.styled(m.InputBase)(({theme:t})=>({width:"auto",padding:"0px 12px",backgroundColor:t.palette.grey[50],borderRadius:30,"& .MuiInputBase-input":{padding:"8px 0px"},"&:hover, &.Mui-focused":{"& .MuiInputAdornment-root":{color:t.palette.primary.main}}})),$=({placeholder:t="Rechercher",...n})=>r.jsx(L,{...n,placeholder:t,startAdornment:r.jsx(v,{position:"start",disablePointerEvents:!0,children:r.jsx(R,{})}),type:"search",autoComplete:"off",autoCorrect:"off",spellCheck:!1});exports.InputAdornment=v;exports.SearchInput=$;