@cgi-learning-hub/ui 1.0.0-dev.1721229430 → 1.0.0-dev.1721824898

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 (131) hide show
  1. package/dist/Box-CsYXR6Le.cjs +1 -0
  2. package/dist/{Box-DQXO6hAm.js → Box-vGRO-On_.js} +11 -12
  3. package/dist/ButtonBase-VIKeNyAr.cjs +75 -0
  4. package/dist/{ButtonBase-B5HiNV6L.js → ButtonBase-vONl_zxO.js} +16 -17
  5. package/dist/{CircularProgress-BlfBX_I2.js → CircularProgress-BDwTzcEn.js} +29 -30
  6. package/dist/CircularProgress-C0MOR9P7.cjs +28 -0
  7. package/dist/{DefaultButton-CQL8OQ0m.js → DefaultButton-BD1TIeNP.js} +23 -25
  8. package/dist/DefaultButton-DV0j1bMY.cjs +1 -0
  9. package/dist/IconButton-4zP9d1M9.cjs +2 -0
  10. package/dist/{IconButton-BjD7an5E.js → IconButton-Ctm1Peef.js} +6 -7
  11. package/dist/InputBase-DMbFw6s1.cjs +3 -0
  12. package/dist/{InputBase-Bu4aLC8s.js → InputBase-Dqfior4W.js} +41 -43
  13. package/dist/{SearchInput-BdNp9ibO.js → SearchInput-Clr0qHPm.js} +29 -30
  14. package/dist/SearchInput-CruiB2CO.cjs +1 -0
  15. package/dist/{Stack-Bm3R862G.js → Stack-CwklSaeG.js} +28 -29
  16. package/dist/Stack-v4g12Xre.cjs +1 -0
  17. package/dist/Tabs-CLr003cV.cjs +4 -0
  18. package/dist/{Tabs-rGjgGQoc.js → Tabs-D-RPVuW4.js} +131 -119
  19. package/dist/TextInput-Ba5ly1H9.cjs +12 -0
  20. package/dist/{TextInput-CAot24Xe.js → TextInput-BxI4zwrY.js} +22 -23
  21. package/dist/{TimePicker-Dr_nF3ms.js → TimePicker-DK-Q99ep.js} +8214 -7365
  22. package/dist/TimePicker-DYEkxpHp.cjs +113 -0
  23. package/dist/Typography-C5AoCX91.cjs +1 -0
  24. package/dist/{Typography-2SgDaT8h.js → Typography-Cl3kH-A8.js} +15 -16
  25. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  26. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  27. package/dist/components/Loader/Loader.cjs.js +1 -1
  28. package/dist/components/Loader/Loader.es.js +1 -1
  29. package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
  30. package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
  31. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
  32. package/dist/components/PaperHeader/PaperHeader.stories.es.js +6 -6
  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 +14 -15
  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 +2 -1
  55. package/dist/components/index.es.js +278 -279
  56. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
  57. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +14 -15
  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 +34 -36
  78. package/dist/{createSvgIcon-BoU2zJm2.cjs → createSvgIcon-B70pkSwO.cjs} +1 -1
  79. package/dist/{createSvgIcon-DKalT1IU.js → createSvgIcon-Blbo0WDd.js} +14 -14
  80. package/dist/{createSvgIcon-BqV9kys6.js → createSvgIcon-BwGNMrhW.js} +9 -10
  81. package/dist/createSvgIcon-n-HUhGNK.cjs +1 -0
  82. package/dist/identifier-J0ZxxQLU.cjs +50 -0
  83. package/dist/identifier-wKuu0zOr.js +3047 -0
  84. package/dist/index.cjs.js +1 -1
  85. package/dist/index.es.js +279 -280
  86. package/dist/{refType-BtebdsEm.js → refType-Bqz8QGtc.js} +1 -1
  87. package/dist/{refType-DzZFRJXI.cjs → refType-DNJbSwsx.cjs} +1 -1
  88. package/dist/styled-C04Dz9vm.cjs +17 -0
  89. package/dist/styled-CFCmdTd8.js +533 -0
  90. package/dist/{useTheme-DDHh2q-k.cjs → useTheme-B4p2k0PU.cjs} +1 -1
  91. package/dist/useTheme-C65ChbGW.cjs +1 -0
  92. package/dist/{useTheme-C_ghcfxd.js → useTheme-D5vjhuQC.js} +1 -1
  93. package/dist/{useTheme-CwCUkvkZ.js → useTheme-DWyCcDbs.js} +29 -30
  94. package/dist/useThemeProps-CEfrd8SJ.cjs +1 -0
  95. package/dist/{useThemeProps-BybmzYVD.js → useThemeProps-CZSYSmRG.js} +2 -2
  96. package/package.json +1 -1
  97. package/dist/Box-VE8zzQxN.cjs +0 -1
  98. package/dist/ButtonBase-BINHTm-n.cjs +0 -75
  99. package/dist/CircularProgress-yfmTQCpL.cjs +0 -28
  100. package/dist/DefaultButton-8ns1LvfF.cjs +0 -1
  101. package/dist/IconButton-RFeuYm2K.cjs +0 -2
  102. package/dist/InputBase-zXQ1Gs_-.cjs +0 -3
  103. package/dist/LocalizationProvider-Bd8iEFyF.cjs +0 -5
  104. package/dist/LocalizationProvider-Bw5VDmOD.js +0 -592
  105. package/dist/SearchInput-DeBVN_CY.cjs +0 -1
  106. package/dist/Stack-CHo9cbcP.cjs +0 -1
  107. package/dist/Tabs-CgnNgSGQ.cjs +0 -4
  108. package/dist/TextInput-Dy0Qi2N7.cjs +0 -12
  109. package/dist/TimePicker-wzgmz3DE.cjs +0 -109
  110. package/dist/Typography-B_CzXKnG.cjs +0 -1
  111. package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +0 -1
  112. package/dist/components/LocalizationProvider/LocalizationProvider.d.ts +0 -7
  113. package/dist/components/LocalizationProvider/LocalizationProvider.es.js +0 -6
  114. package/dist/components/LocalizationProvider/index.cjs.js +0 -1
  115. package/dist/components/LocalizationProvider/index.d.ts +0 -2
  116. package/dist/components/LocalizationProvider/index.es.js +0 -4
  117. package/dist/createSvgIcon-Dm2nQR21.cjs +0 -1
  118. package/dist/defaultTheme-BlqVFqOY.cjs +0 -1
  119. package/dist/defaultTheme-C4edRge6.js +0 -19
  120. package/dist/extendSxProp-BaQsf_eX.js +0 -739
  121. package/dist/extendSxProp-DYKVP-ko.cjs +0 -10
  122. package/dist/fr-DNOCWhp_.js +0 -321
  123. package/dist/fr-DSv4ULwD.cjs +0 -1
  124. package/dist/identifier-CItx51dm.js +0 -2369
  125. package/dist/identifier-DPVk4rwk.cjs +0 -43
  126. package/dist/styled-BCP6gOZj.js +0 -519
  127. package/dist/styled-RtRlBNlZ.cjs +0 -17
  128. package/dist/useTheme-CqMZT0T0.cjs +0 -1
  129. package/dist/useThemeProps-CEiKfXBZ.cjs +0 -1
  130. package/dist/useThemeProps-DmEDeofb.cjs +0 -1
  131. package/dist/useThemeProps-JKgv0pkv.js +0 -17
@@ -1,39 +1,38 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useState as l } from "react";
3
- import { T as c } from "../../../TextInput-CAot24Xe.js";
4
- import "../../../DefaultButton-CQL8OQ0m.js";
3
+ import { T as c } from "../../../TextInput-BxI4zwrY.js";
4
+ import "../../../DefaultButton-BD1TIeNP.js";
5
5
  import "../../feedback/Alert/Alert.es.js";
6
- import { I as p } from "../../../SearchInput-BdNp9ibO.js";
6
+ import { I as p } from "../../../SearchInput-Clr0qHPm.js";
7
7
  import "../../lists/FileList/FileListItem.es.js";
8
8
  import '../../../assets/styles2.css';import '../../../assets/styles.css';/* empty css */
9
9
  /* empty css */
10
- import "../../../fr-DNOCWhp_.js";
11
- import { I as m } from "../../../IconButton-BjD7an5E.js";
12
- import { c as r } from "../../../createSvgIcon-BqV9kys6.js";
13
- const d = r(/* @__PURE__ */ o("path", {
10
+ import { I as d } from "../../../IconButton-Ctm1Peef.js";
11
+ import { c as r } from "../../../createSvgIcon-BwGNMrhW.js";
12
+ const m = r(/* @__PURE__ */ o("path", {
14
13
  d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
15
14
  }), "Visibility"), f = r(/* @__PURE__ */ o("path", {
16
15
  d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"
17
- }), "VisibilityOff"), S = (i) => {
18
- const [s, e] = l(!1), n = () => e((t) => !t), a = (t) => {
16
+ }), "VisibilityOff"), x = (s) => {
17
+ const [i, e] = l(!1), n = () => e((t) => !t), a = (t) => {
19
18
  t.preventDefault();
20
19
  };
21
20
  return /* @__PURE__ */ o(
22
21
  c,
23
22
  {
24
- ...i,
23
+ ...s,
25
24
  variant: "outlined",
26
- label: i.label,
27
- type: s ? "text" : "password",
25
+ label: s.label,
26
+ type: i ? "text" : "password",
28
27
  InputProps: {
29
28
  endAdornment: /* @__PURE__ */ o(p, { position: "end", children: /* @__PURE__ */ o(
30
- m,
29
+ d,
31
30
  {
32
31
  "aria-label": "toggle password visibility",
33
32
  onClick: n,
34
33
  onMouseDown: a,
35
34
  edge: "end",
36
- children: s ? /* @__PURE__ */ o(f, {}) : /* @__PURE__ */ o(d, {})
35
+ children: i ? /* @__PURE__ */ o(f, {}) : /* @__PURE__ */ o(m, {})
37
36
  }
38
37
  ) })
39
38
  }
@@ -41,5 +40,5 @@ const d = r(/* @__PURE__ */ o("path", {
41
40
  );
42
41
  };
43
42
  export {
44
- S as default
43
+ x as default
45
44
  };
@@ -1 +1 @@
1
- "use strict";require("react/jsx-runtime");require("../../../styled-RtRlBNlZ.cjs");require("../../../InputBase-zXQ1Gs_-.cjs");const e=require("../../../SearchInput-DeBVN_CY.cjs");module.exports=e.SearchInput;
1
+ "use strict";require("react/jsx-runtime");require("../../../styled-C04Dz9vm.cjs");require("../../../InputBase-DMbFw6s1.cjs");const e=require("../../../SearchInput-CruiB2CO.cjs");module.exports=e.SearchInput;
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
- import "../../../styled-BCP6gOZj.js";
3
- import "../../../InputBase-Bu4aLC8s.js";
4
- import { S as i } from "../../../SearchInput-BdNp9ibO.js";
2
+ import "../../../styled-CFCmdTd8.js";
3
+ import "../../../InputBase-Dqfior4W.js";
4
+ import { S as i } from "../../../SearchInput-Clr0qHPm.js";
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react/jsx-runtime"),e=require("../../../SearchInput-DeBVN_CY.cjs"),u={title:"Components/Inputs/SearchInput",component:e.SearchInput,argTypes:{}},o=r=>n.jsx(e.SearchInput,{...r}),t=o.bind({});t.args={placeholder:"Rechercher"};exports.Default=t;exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react/jsx-runtime"),e=require("../../../SearchInput-CruiB2CO.cjs"),u={title:"Components/Inputs/SearchInput",component:e.SearchInput,argTypes:{}},o=r=>n.jsx(e.SearchInput,{...r}),t=o.bind({});t.args={placeholder:"Rechercher"};exports.Default=t;exports.default=u;
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { S as e } from "../../../SearchInput-BdNp9ibO.js";
2
+ import { S as e } from "../../../SearchInput-Clr0qHPm.js";
3
3
  const a = {
4
4
  title: "Components/Inputs/SearchInput",
5
5
  component: e,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../SearchInput-DeBVN_CY.cjs");exports.SearchInput=e.SearchInput;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../SearchInput-CruiB2CO.cjs");exports.SearchInput=e.SearchInput;
@@ -1,4 +1,4 @@
1
- import { S as e } from "../../../SearchInput-BdNp9ibO.js";
1
+ import { S as e } from "../../../SearchInput-Clr0qHPm.js";
2
2
  export {
3
3
  e as SearchInput
4
4
  };
@@ -1 +1 @@
1
- "use strict";require("react/jsx-runtime");const t=require("../../../TextInput-Dy0Qi2N7.cjs");module.exports=t.TextInput;
1
+ "use strict";require("react/jsx-runtime");const t=require("../../../TextInput-Ba5ly1H9.cjs");module.exports=t.TextInput;
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { T as a } from "../../../TextInput-CAot24Xe.js";
2
+ import { T as a } from "../../../TextInput-BxI4zwrY.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("react/jsx-runtime"),e=require("../../../TextInput-Dy0Qi2N7.cjs"),r={title:"Components/Inputs/TextInput",component:e.TextInput,argTypes:{variant:{control:"select",description:"input rendering style",options:["standard","outlined","filled"],table:{defaultValue:{summary:"standard"},type:{summary:"string"}}}}},t=s=>d.jsx(e.TextInput,{...s}),n=t.bind({});n.args={label:"Default input"};const a=t.bind({});a.args={label:"Standard input",variant:"standard"};const l=t.bind({});l.args={label:"Outlined input",variant:"outlined"};const i=t.bind({});i.args={label:"Filled input",disabled:!1,variant:"filled"};exports.Default=n;exports.Filled=i;exports.Outlined=l;exports.Standard=a;exports.default=r;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("react/jsx-runtime"),e=require("../../../TextInput-Ba5ly1H9.cjs"),r={title:"Components/Inputs/TextInput",component:e.TextInput,argTypes:{variant:{control:"select",description:"input rendering style",options:["standard","outlined","filled"],table:{defaultValue:{summary:"standard"},type:{summary:"string"}}}}},t=s=>d.jsx(e.TextInput,{...s}),n=t.bind({});n.args={label:"Default input"};const a=t.bind({});a.args={label:"Standard input",variant:"standard"};const l=t.bind({});l.args={label:"Outlined input",variant:"outlined"};const i=t.bind({});i.args={label:"Filled input",disabled:!1,variant:"filled"};exports.Default=n;exports.Filled=i;exports.Outlined=l;exports.Standard=a;exports.default=r;
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { T as n } from "../../../TextInput-CAot24Xe.js";
2
+ import { T as n } from "../../../TextInput-BxI4zwrY.js";
3
3
  const u = {
4
4
  title: "Components/Inputs/TextInput",
5
5
  component: n,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../TextInput-Dy0Qi2N7.cjs");exports.TextInput=t.TextInput;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../TextInput-Ba5ly1H9.cjs");exports.TextInput=t.TextInput;
@@ -1,4 +1,4 @@
1
- import { T as o } from "../../../TextInput-CAot24Xe.js";
1
+ import { T as o } from "../../../TextInput-BxI4zwrY.js";
2
2
  export {
3
3
  o as TextInput
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../SearchInput-DeBVN_CY.cjs"),n=require("../../TextInput-Dy0Qi2N7.cjs"),e=require("./PasswordInput/PasswordInput.cjs.js");exports.SearchInput=t.SearchInput;exports.TextInput=n.TextInput;exports.PasswordInput=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../SearchInput-CruiB2CO.cjs"),n=require("../../TextInput-Ba5ly1H9.cjs"),e=require("./PasswordInput/PasswordInput.cjs.js");exports.SearchInput=t.SearchInput;exports.TextInput=n.TextInput;exports.PasswordInput=e;
@@ -1,5 +1,5 @@
1
- import { S as o } from "../../SearchInput-BdNp9ibO.js";
2
- import { T as e } from "../../TextInput-CAot24Xe.js";
1
+ import { S as o } from "../../SearchInput-Clr0qHPm.js";
2
+ import { T as e } from "../../TextInput-BxI4zwrY.js";
3
3
  import { default as s } from "./PasswordInput/PasswordInput.es.js";
4
4
  export {
5
5
  s as PasswordInput,
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime");require("react");const t=require("./FileListItem.cjs.js"),o=require("../../../Box-VE8zzQxN.cjs"),l=({files:i=[]})=>r.jsx(o.Box,{sx:{display:"flex",flexDirection:"column",rowGap:"0.5rem"},children:i.map((s,e)=>r.jsx(t,{file:s,uploading:e%2===0},e))});module.exports=l;
1
+ "use strict";const r=require("react/jsx-runtime");require("react");const t=require("./FileListItem.cjs.js"),o=require("../../../Box-CsYXR6Le.cjs"),l=({files:i=[]})=>r.jsx(o.Box,{sx:{display:"flex",flexDirection:"column",rowGap:"0.5rem"},children:i.map((s,e)=>r.jsx(t,{file:s,uploading:e%2===0},e))});module.exports=l;
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import m from "./FileListItem.es.js";
4
- import { B as e } from "../../../Box-DQXO6hAm.js";
4
+ import { B as e } from "../../../Box-vGRO-On_.js";
5
5
  const f = ({
6
6
  files: i = []
7
7
  }) => /* @__PURE__ */ r(e, { sx: { display: "flex", flexDirection: "column", rowGap: "0.5rem" }, children: i.map((t, o) => /* @__PURE__ */ r(
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),a=require("../../../identifier-DPVk4rwk.cjs"),u=require("../../../createSvgIcon-BoU2zJm2.cjs"),x=require("react"),p=require("../../../Box-VE8zzQxN.cjs"),o=require("../../../Typography-B_CzXKnG.cjs"),f=require("../../../IconButton-RFeuYm2K.cjs"),q=require("../../../CircularProgress-yfmTQCpL.cjs");var i={},h=a.interopRequireDefaultExports;Object.defineProperty(i,"__esModule",{value:!0});var n=i.default=void 0,j=h(u.requireCreateSvgIcon()),m=e;n=i.default=(0,j.default)((0,m.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete");var s={},I=a.interopRequireDefaultExports;Object.defineProperty(s,"__esModule",{value:!0});var l=s.default=void 0,_=I(u.requireCreateSvgIcon()),g=e;l=s.default=(0,_.default)((0,g.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile");const y=({file:r,uploading:c,onDelete:t})=>{const d=`${r.size} octets`,v=()=>t==null?void 0:t(r);return e.jsxs(p.Box,{sx:{display:"flex",alignItems:"center",columnGap:"1rem"},children:[e.jsx(l,{color:"primary"}),e.jsxs("div",{className:"text-start w-full",children:[e.jsx(o.Typography,{children:r.name}),e.jsx(o.Typography,{fontSize:"0.875rem",color:"grey",children:d})]}),e.jsx(f.IconButton,{onClick:v,disabled:c,children:c?e.jsx(q.CircularProgress,{size:24}):e.jsx(n,{})})]})},z=x.memo(y);module.exports=z;
1
+ "use strict";const e=require("react/jsx-runtime"),a=require("../../../identifier-J0ZxxQLU.cjs"),u=require("../../../createSvgIcon-B70pkSwO.cjs"),x=require("react"),p=require("../../../Box-CsYXR6Le.cjs"),o=require("../../../Typography-C5AoCX91.cjs"),f=require("../../../IconButton-4zP9d1M9.cjs"),q=require("../../../CircularProgress-C0MOR9P7.cjs");var i={},h=a.interopRequireDefaultExports;Object.defineProperty(i,"__esModule",{value:!0});var n=i.default=void 0,j=h(u.requireCreateSvgIcon()),m=e;n=i.default=(0,j.default)((0,m.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete");var s={},I=a.interopRequireDefaultExports;Object.defineProperty(s,"__esModule",{value:!0});var l=s.default=void 0,_=I(u.requireCreateSvgIcon()),g=e;l=s.default=(0,_.default)((0,g.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile");const y=({file:r,uploading:c,onDelete:t})=>{const d=`${r.size} octets`,v=()=>t==null?void 0:t(r);return e.jsxs(p.Box,{sx:{display:"flex",alignItems:"center",columnGap:"1rem"},children:[e.jsx(l,{color:"primary"}),e.jsxs("div",{className:"text-start w-full",children:[e.jsx(o.Typography,{children:r.name}),e.jsx(o.Typography,{fontSize:"0.875rem",color:"grey",children:d})]}),e.jsx(f.IconButton,{onClick:v,disabled:c,children:c?e.jsx(q.CircularProgress,{size:24}):e.jsx(n,{})})]})},z=x.memo(y);module.exports=z;
@@ -1,11 +1,11 @@
1
1
  import c, { jsxs as s, jsx as e } from "react/jsx-runtime";
2
- import { t as m } from "../../../identifier-CItx51dm.js";
3
- import { r as u } from "../../../createSvgIcon-DKalT1IU.js";
2
+ import { w as m } from "../../../identifier-wKuu0zOr.js";
3
+ import { r as u } from "../../../createSvgIcon-Blbo0WDd.js";
4
4
  import v from "react";
5
- import { B as _ } from "../../../Box-DQXO6hAm.js";
6
- import { T as l } from "../../../Typography-2SgDaT8h.js";
7
- import { I as h } from "../../../IconButton-BjD7an5E.js";
8
- import { C as x } from "../../../CircularProgress-BlfBX_I2.js";
5
+ import { B as _ } from "../../../Box-vGRO-On_.js";
6
+ import { T as l } from "../../../Typography-Cl3kH-A8.js";
7
+ import { I as h } from "../../../IconButton-Ctm1Peef.js";
8
+ import { C as x } from "../../../CircularProgress-BDwTzcEn.js";
9
9
  var a = {}, I = m;
10
10
  Object.defineProperty(a, "__esModule", {
11
11
  value: !0
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),t=require("../../identifier-DPVk4rwk.cjs"),O=require("react"),d=require("../../Tabs-CgnNgSGQ.cjs"),y=require("../../extendSxProp-DYKVP-ko.cjs"),v=require("../../styled-RtRlBNlZ.cjs"),E=require("../../useThemeProps-DmEDeofb.cjs");function D(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const a=D(O),b=a.createContext(null);process.env.NODE_ENV!=="production"&&(b.displayName="TabContext");function q(){const[e,n]=a.useState(null);return a.useEffect(()=>{n(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),e}function x(e){const{children:n,value:o}=e,r=q(),c=a.useMemo(()=>({idPrefix:r,value:o}),[r,o]);return s.jsx(b.Provider,{value:c,children:n})}process.env.NODE_ENV!=="production"&&(x.propTypes={children:t.PropTypes.node,value:t.PropTypes.oneOfType([t.PropTypes.number,t.PropTypes.string]).isRequired});function h(){return a.useContext(b)}function m(e,n){const{idPrefix:o}=e;return o===null?null:`${e.idPrefix}-P-${n}`}function g(e,n){const{idPrefix:o}=e;return o===null?null:`${e.idPrefix}-T-${n}`}const M=["children"],f=a.forwardRef(function(n,o){const{children:r}=n,c=t._objectWithoutPropertiesLoose(n,M),l=h();if(l===null)throw new TypeError("No TabContext provided");const i=a.Children.map(r,u=>a.isValidElement(u)?a.cloneElement(u,{"aria-controls":m(l,u.props.value),id:g(l,u.props.value)}):null);return s.jsx(d.Tabs,t._extends({},c,{ref:o,value:l.value,children:i}))});process.env.NODE_ENV!=="production"&&(f.propTypes={children:t.PropTypes.node});function w(e){return t.generateUtilityClass("MuiTabPanel",e)}y.generateUtilityClasses("MuiTabPanel",["root"]);const R=["children","className","value"],S=e=>{const{classes:n}=e,o={root:["root"]};return v.composeClasses(o,w,n)},$=v.styled("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,n)=>n.root})(({theme:e})=>({padding:e.spacing(3)})),T=a.forwardRef(function(n,o){const r=E.useThemeProps({props:n,name:"MuiTabPanel"}),{children:c,className:l,value:i}=r,u=t._objectWithoutPropertiesLoose(r,R),P=t._extends({},r),C=S(P),p=h();if(p===null)throw new TypeError("No TabContext provided");const N=m(p,i),_=g(p,i);return s.jsx($,t._extends({"aria-labelledby":_,className:y.clsx(C.root,l),hidden:i!==p.value,id:N,ref:o,role:"tabpanel",ownerState:P},u,{children:i===p.value&&c}))});process.env.NODE_ENV!=="production"&&(T.propTypes={children:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),value:t.PropTypes.string.isRequired});const U={title:"Components/Data Display/TabList",component:f,argTypes:{value:{options:["1","2","3"],control:{type:"select"}}}},I=e=>s.jsxs(x,{value:e.value,children:[s.jsxs(f,{onChange:e.handleChange,"aria-label":"lab API tabs example",children:[s.jsx(d.Tab,{label:"Utilisateurs",value:"1"}),s.jsx(d.Tab,{label:"Groupes",value:"2"}),s.jsx(d.Tab,{label:"Demandes d'inscription",value:"3"})]}),s.jsx(T,{value:"1",children:"Utilisateurs"}),s.jsx(T,{value:"2",children:"Groupes"}),s.jsx(T,{value:"3",children:"Demandes d'inscription"})]}),j=I.bind({});j.args={value:"1",handleChange:(e,n)=>!0};exports.Default=j;exports.default=U;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),t=require("../../identifier-J0ZxxQLU.cjs"),_=require("react"),d=require("../../Tabs-CLr003cV.cjs"),y=require("../../styled-C04Dz9vm.cjs");function O(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const a=O(_),b=a.createContext(null);process.env.NODE_ENV!=="production"&&(b.displayName="TabContext");function E(){const[e,n]=a.useState(null);return a.useEffect(()=>{n(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),e}function v(e){const{children:n,value:o}=e,r=E(),c=a.useMemo(()=>({idPrefix:r,value:o}),[r,o]);return s.jsx(b.Provider,{value:c,children:n})}process.env.NODE_ENV!=="production"&&(v.propTypes={children:t.PropTypes.node,value:t.PropTypes.oneOfType([t.PropTypes.number,t.PropTypes.string]).isRequired});function x(){return a.useContext(b)}function h(e,n){const{idPrefix:o}=e;return o===null?null:`${e.idPrefix}-P-${n}`}function m(e,n){const{idPrefix:o}=e;return o===null?null:`${e.idPrefix}-T-${n}`}const D=["children"],f=a.forwardRef(function(n,o){const{children:r}=n,c=t._objectWithoutPropertiesLoose(n,D),l=x();if(l===null)throw new TypeError("No TabContext provided");const i=a.Children.map(r,u=>a.isValidElement(u)?a.cloneElement(u,{"aria-controls":h(l,u.props.value),id:m(l,u.props.value)}):null);return s.jsx(d.Tabs,t._extends({},c,{ref:o,value:l.value,children:i}))});process.env.NODE_ENV!=="production"&&(f.propTypes={children:t.PropTypes.node});function M(e){return t.generateUtilityClass("MuiTabPanel",e)}t.generateUtilityClasses("MuiTabPanel",["root"]);const q=["children","className","value"],w=e=>{const{classes:n}=e,o={root:["root"]};return y.composeClasses(o,M,n)},R=y.styled("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,n)=>n.root})(({theme:e})=>({padding:e.spacing(3)})),T=a.forwardRef(function(n,o){const r=d.useThemeProps({props:n,name:"MuiTabPanel"}),{children:c,className:l,value:i}=r,u=t._objectWithoutPropertiesLoose(r,q),P=t._extends({},r),j=w(P),p=x();if(p===null)throw new TypeError("No TabContext provided");const C=h(p,i),N=m(p,i);return s.jsx(R,t._extends({"aria-labelledby":N,className:t.clsx(j.root,l),hidden:i!==p.value,id:C,ref:o,role:"tabpanel",ownerState:P},u,{children:i===p.value&&c}))});process.env.NODE_ENV!=="production"&&(T.propTypes={children:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),value:t.PropTypes.string.isRequired});const $={title:"Components/Data Display/TabList",component:f,argTypes:{value:{options:["1","2","3"],control:{type:"select"}}}},S=e=>s.jsxs(v,{value:e.value,children:[s.jsxs(f,{onChange:e.handleChange,"aria-label":"lab API tabs example",children:[s.jsx(d.Tab,{label:"Utilisateurs",value:"1"}),s.jsx(d.Tab,{label:"Groupes",value:"2"}),s.jsx(d.Tab,{label:"Demandes d'inscription",value:"3"})]}),s.jsx(T,{value:"1",children:"Utilisateurs"}),s.jsx(T,{value:"2",children:"Groupes"}),s.jsx(T,{value:"3",children:"Demandes d'inscription"})]}),g=S.bind({});g.args={value:"1",handleChange:(e,n)=>!0};exports.Default=g;exports.default=$;
@@ -1,15 +1,13 @@
1
- import { jsx as s, jsxs as h } from "react/jsx-runtime";
2
- import { P as t, q as x, _ as v, k as _ } from "../../identifier-CItx51dm.js";
3
- import * as r from "react";
4
- import { a as w, T as f } from "../../Tabs-rGjgGQoc.js";
5
- import { g as O, c as R } from "../../extendSxProp-BaQsf_eX.js";
6
- import { s as M, c as U } from "../../styled-BCP6gOZj.js";
7
- import { u as j } from "../../useThemeProps-JKgv0pkv.js";
8
- const b = /* @__PURE__ */ r.createContext(null);
1
+ import { jsx as r, jsxs as h } from "react/jsx-runtime";
2
+ import { P as t, s as x, _ as v, k as _, m as w, t as O } from "../../identifier-wKuu0zOr.js";
3
+ import * as s from "react";
4
+ import { a as R, u as M, T as f } from "../../Tabs-D-RPVuW4.js";
5
+ import { s as U, c as j } from "../../styled-CFCmdTd8.js";
6
+ const b = /* @__PURE__ */ s.createContext(null);
9
7
  process.env.NODE_ENV !== "production" && (b.displayName = "TabContext");
10
8
  function $() {
11
- const [e, n] = r.useState(null);
12
- return r.useEffect(() => {
9
+ const [e, n] = s.useState(null);
10
+ return s.useEffect(() => {
13
11
  n(`mui-p-${Math.round(Math.random() * 1e5)}`);
14
12
  }, []), e;
15
13
  }
@@ -17,11 +15,11 @@ function P(e) {
17
15
  const {
18
16
  children: n,
19
17
  value: o
20
- } = e, a = $(), u = r.useMemo(() => ({
18
+ } = e, a = $(), u = s.useMemo(() => ({
21
19
  idPrefix: a,
22
20
  value: o
23
21
  }), [a, o]);
24
- return /* @__PURE__ */ s(b.Provider, {
22
+ return /* @__PURE__ */ r(b.Provider, {
25
23
  value: u,
26
24
  children: n
27
25
  });
@@ -41,7 +39,7 @@ process.env.NODE_ENV !== "production" && (P.propTypes = {
41
39
  value: t.oneOfType([t.number, t.string]).isRequired
42
40
  });
43
41
  function y() {
44
- return r.useContext(b);
42
+ return s.useContext(b);
45
43
  }
46
44
  function C(e, n) {
47
45
  const {
@@ -49,24 +47,24 @@ function C(e, n) {
49
47
  } = e;
50
48
  return o === null ? null : `${e.idPrefix}-P-${n}`;
51
49
  }
52
- function g(e, n) {
50
+ function N(e, n) {
53
51
  const {
54
52
  idPrefix: o
55
53
  } = e;
56
54
  return o === null ? null : `${e.idPrefix}-T-${n}`;
57
55
  }
58
- const I = ["children"], m = /* @__PURE__ */ r.forwardRef(function(n, o) {
56
+ const I = ["children"], m = /* @__PURE__ */ s.forwardRef(function(n, o) {
59
57
  const {
60
58
  children: a
61
59
  } = n, u = x(n, I), l = y();
62
60
  if (l === null)
63
61
  throw new TypeError("No TabContext provided");
64
- const i = r.Children.map(a, (c) => /* @__PURE__ */ r.isValidElement(c) ? /* @__PURE__ */ r.cloneElement(c, {
62
+ const i = s.Children.map(a, (c) => /* @__PURE__ */ s.isValidElement(c) ? /* @__PURE__ */ s.cloneElement(c, {
65
63
  // SOMEDAY: `Tabs` will set those themselves
66
64
  "aria-controls": C(l, c.props.value),
67
- id: g(l, c.props.value)
65
+ id: N(l, c.props.value)
68
66
  }) : null);
69
- return /* @__PURE__ */ s(w, v({}, u, {
67
+ return /* @__PURE__ */ r(R, v({}, u, {
70
68
  ref: o,
71
69
  value: l.value,
72
70
  children: i
@@ -85,15 +83,15 @@ process.env.NODE_ENV !== "production" && (m.propTypes = {
85
83
  function V(e) {
86
84
  return _("MuiTabPanel", e);
87
85
  }
88
- O("MuiTabPanel", ["root"]);
89
- const q = ["children", "className", "value"], L = (e) => {
86
+ w("MuiTabPanel", ["root"]);
87
+ const L = ["children", "className", "value"], q = (e) => {
90
88
  const {
91
89
  classes: n
92
90
  } = e;
93
- return U({
91
+ return j({
94
92
  root: ["root"]
95
93
  }, V, n);
96
- }, S = M("div", {
94
+ }, S = U("div", {
97
95
  name: "MuiTabPanel",
98
96
  slot: "Root",
99
97
  overridesResolver: (e, n) => n.root
@@ -101,21 +99,21 @@ const q = ["children", "className", "value"], L = (e) => {
101
99
  theme: e
102
100
  }) => ({
103
101
  padding: e.spacing(3)
104
- })), p = /* @__PURE__ */ r.forwardRef(function(n, o) {
105
- const a = j({
102
+ })), p = /* @__PURE__ */ s.forwardRef(function(n, o) {
103
+ const a = M({
106
104
  props: n,
107
105
  name: "MuiTabPanel"
108
106
  }), {
109
107
  children: u,
110
108
  className: l,
111
109
  value: i
112
- } = a, c = x(a, q), T = v({}, a), N = L(T), d = y();
110
+ } = a, c = x(a, L), T = v({}, a), g = q(T), d = y();
113
111
  if (d === null)
114
112
  throw new TypeError("No TabContext provided");
115
- const E = C(d, i), D = g(d, i);
116
- return /* @__PURE__ */ s(S, v({
113
+ const E = C(d, i), D = N(d, i);
114
+ return /* @__PURE__ */ r(S, v({
117
115
  "aria-labelledby": D,
118
- className: R(N.root, l),
116
+ className: O(g.root, l),
119
117
  hidden: i !== d.value,
120
118
  id: E,
121
119
  ref: o,
@@ -152,7 +150,7 @@ process.env.NODE_ENV !== "production" && (p.propTypes = {
152
150
  */
153
151
  value: t.string.isRequired
154
152
  });
155
- const J = {
153
+ const F = {
156
154
  title: "Components/Data Display/TabList",
157
155
  component: m,
158
156
  argTypes: {
@@ -164,13 +162,13 @@ const J = {
164
162
  }
165
163
  }, G = (e) => /* @__PURE__ */ h(P, { value: e.value, children: [
166
164
  /* @__PURE__ */ h(m, { onChange: e.handleChange, "aria-label": "lab API tabs example", children: [
167
- /* @__PURE__ */ s(f, { label: "Utilisateurs", value: "1" }),
168
- /* @__PURE__ */ s(f, { label: "Groupes", value: "2" }),
169
- /* @__PURE__ */ s(f, { label: "Demandes d'inscription", value: "3" })
165
+ /* @__PURE__ */ r(f, { label: "Utilisateurs", value: "1" }),
166
+ /* @__PURE__ */ r(f, { label: "Groupes", value: "2" }),
167
+ /* @__PURE__ */ r(f, { label: "Demandes d'inscription", value: "3" })
170
168
  ] }),
171
- /* @__PURE__ */ s(p, { value: "1", children: "Utilisateurs" }),
172
- /* @__PURE__ */ s(p, { value: "2", children: "Groupes" }),
173
- /* @__PURE__ */ s(p, { value: "3", children: "Demandes d'inscription" })
169
+ /* @__PURE__ */ r(p, { value: "1", children: "Utilisateurs" }),
170
+ /* @__PURE__ */ r(p, { value: "2", children: "Groupes" }),
171
+ /* @__PURE__ */ r(p, { value: "3", children: "Demandes d'inscription" })
174
172
  ] }), k = G.bind({});
175
173
  k.args = {
176
174
  value: "1",
@@ -178,5 +176,5 @@ k.args = {
178
176
  };
179
177
  export {
180
178
  k as Default,
181
- J as default
179
+ F as default
182
180
  };
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./identifier-DPVk4rwk.cjs"),y=require("./createSvgIcon-Dm2nQR21.cjs"),l=require("./useControlled-DKpcyPsg.cjs"),d=require("./ownerWindow-Dk_4aaak.cjs"),f=require("./useForkRef-CGd3Nhyb.cjs"),C=require("./useId-Cw0TtD-8.cjs"),I=require("./unsupportedProp-Bn6XWqwH.cjs"),_=require("./useTimeout-XUWYBnl6.cjs"),S=require("./useIsFocusVisible-Bv_7uvif.cjs");var p={};function w(e,r){return process.env.NODE_ENV==="production"?()=>null:(u,i,o,t,n)=>{const c=o||"<<anonymous>>",a=n||i;return typeof u[i]<"u"?new Error(`The ${t} \`${a}\` of \`${c}\` is deprecated. ${r}`):null}}function q(e,r){if(process.env.NODE_ENV==="production")return()=>null;const u=r?s._extends({},r.propTypes):null;return o=>(t,n,c,a,m,...E)=>{const v=m||n,g=u==null?void 0:u[v];if(g){const h=g(t,n,c,a,m,...E);if(h)return h}return typeof t[n]<"u"&&!t[o]?new Error(`The prop \`${v}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}const F={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
1
+ "use strict";const s=require("./identifier-J0ZxxQLU.cjs"),y=require("./createSvgIcon-n-HUhGNK.cjs"),l=require("./useControlled-DKpcyPsg.cjs"),d=require("./ownerWindow-Dk_4aaak.cjs"),f=require("./useForkRef-CGd3Nhyb.cjs"),C=require("./useId-Cw0TtD-8.cjs"),I=require("./unsupportedProp-Bn6XWqwH.cjs"),_=require("./useTimeout-XUWYBnl6.cjs"),S=require("./useIsFocusVisible-Bv_7uvif.cjs");var p={};function w(e,r){return process.env.NODE_ENV==="production"?()=>null:(u,i,o,t,n)=>{const c=o||"<<anonymous>>",a=n||i;return typeof u[i]<"u"?new Error(`The ${t} \`${a}\` of \`${c}\` is deprecated. ${r}`):null}}function q(e,r){if(process.env.NODE_ENV==="production")return()=>null;const u=r?s._extends({},r.propTypes):null;return o=>(t,n,c,a,m,...E)=>{const v=m||n,g=u==null?void 0:u[v];if(g){const h=g(t,n,c,a,m,...E);if(h)return h}return typeof t[n]<"u"&&!t[o]?new Error(`The prop \`${v}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}const F={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
2
2
  `)),s.ClassNameGenerator.configure(e)}},N=Object.freeze(Object.defineProperty({__proto__:null,capitalize:s.capitalize,createChainedFunction:l.createChainedFunction,createSvgIcon:y.createSvgIcon,debounce:d.debounce,deprecatedPropType:w,isMuiElement:l.isMuiElement,ownerDocument:d.ownerDocument,ownerWindow:d.ownerWindow,requirePropFactory:q,setRef:f.setRef,unstable_ClassNameGenerator:F,unstable_useEnhancedEffect:f.useEnhancedEffect,unstable_useId:C.useId,unsupportedProp:I.unsupportedProp,useControlled:l.useControlled,useEventCallback:_.useEventCallback,useForkRef:f.useForkRef,useIsFocusVisible:S.useIsFocusVisible},Symbol.toStringTag,{value:"Module"})),P=s.getAugmentedNamespace(N);var b;function T(){return b||(b=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=P}(p)),p}exports.requireCreateSvgIcon=T;exports.requirePropFactory=q;
@@ -1,20 +1,20 @@
1
- import { _ as g, C as v, m as _, D as b } from "./identifier-CItx51dm.js";
2
- import { c as y } from "./createSvgIcon-BqV9kys6.js";
3
- import { c as E, i as C, u as N } from "./useControlled-DoRrpN8o.js";
4
- import { d as S, o as I, a as $ } from "./ownerWindow-C7EH1lr6.js";
1
+ import { _ as g, C as v, n as _, I as b } from "./identifier-wKuu0zOr.js";
2
+ import { c as y } from "./createSvgIcon-BwGNMrhW.js";
3
+ import { c as E, i as C, u as I } from "./useControlled-DoRrpN8o.js";
4
+ import { d as N, o as S, a as $ } from "./ownerWindow-C7EH1lr6.js";
5
5
  import { s as T, u as P, a as w } from "./useForkRef-DwN_Iz9R.js";
6
6
  import { u as O } from "./useId-BW-oWmul.js";
7
7
  import { u as j } from "./unsupportedProp-BuVD30Gh.js";
8
8
  import { u as q } from "./useTimeout-BdvDipeg.js";
9
- import { u as D } from "./useIsFocusVisible-DhASXQ4o.js";
9
+ import { u as F } from "./useIsFocusVisible-DhASXQ4o.js";
10
10
  var c = {};
11
- function F(e, r) {
11
+ function k(e, r) {
12
12
  return process.env.NODE_ENV === "production" ? () => null : (n, s, u, t, o) => {
13
13
  const a = u || "<<anonymous>>", i = o || s;
14
14
  return typeof n[s] < "u" ? new Error(`The ${t} \`${i}\` of \`${a}\` is deprecated. ${r}`) : null;
15
15
  };
16
16
  }
17
- function k(e, r) {
17
+ function D(e, r) {
18
18
  if (process.env.NODE_ENV === "production")
19
19
  return () => null;
20
20
  const n = r ? g({}, r.propTypes) : null;
@@ -38,21 +38,21 @@ const G = {
38
38
  capitalize: _,
39
39
  createChainedFunction: E,
40
40
  createSvgIcon: y,
41
- debounce: S,
42
- deprecatedPropType: F,
41
+ debounce: N,
42
+ deprecatedPropType: k,
43
43
  isMuiElement: C,
44
- ownerDocument: I,
44
+ ownerDocument: S,
45
45
  ownerWindow: $,
46
- requirePropFactory: k,
46
+ requirePropFactory: D,
47
47
  setRef: T,
48
48
  unstable_ClassNameGenerator: G,
49
49
  unstable_useEnhancedEffect: P,
50
50
  unstable_useId: O,
51
51
  unsupportedProp: j,
52
- useControlled: N,
52
+ useControlled: I,
53
53
  useEventCallback: q,
54
54
  useForkRef: w,
55
- useIsFocusVisible: D
55
+ useIsFocusVisible: F
56
56
  }, Symbol.toStringTag, { value: "Module" })), R = /* @__PURE__ */ b(M);
57
57
  var p;
58
58
  function J() {
@@ -70,6 +70,6 @@ function J() {
70
70
  }(c)), c;
71
71
  }
72
72
  export {
73
- k as a,
73
+ D as a,
74
74
  J as r
75
75
  };
@@ -1,12 +1,11 @@
1
- import { k as I, m as g, q as b, _ as S, P as o } from "./identifier-CItx51dm.js";
1
+ import { k as I, m as b, n as g, s as w, _ as S, t as C, P as o } from "./identifier-wKuu0zOr.js";
2
2
  import * as v from "react";
3
- import { jsxs as w, jsx as _ } from "react/jsx-runtime";
4
- import { g as C, c as N } from "./extendSxProp-BaQsf_eX.js";
5
- import { s as T, u as R, c as O } from "./styled-BCP6gOZj.js";
3
+ import { jsxs as N, jsx as _ } from "react/jsx-runtime";
4
+ import { s as T, u as R, c as O } from "./styled-CFCmdTd8.js";
6
5
  function B(e) {
7
6
  return I("MuiSvgIcon", e);
8
7
  }
9
- C("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
8
+ b("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
10
9
  const j = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], A = (e) => {
11
10
  const {
12
11
  color: n,
@@ -69,7 +68,7 @@ const j = ["children", "className", "color", "component", "fontSize", "htmlColor
69
68
  inheritViewBox: m = !1,
70
69
  titleAccess: s,
71
70
  viewBox: a = "0 0 24 24"
72
- } = r, p = b(r, j), l = /* @__PURE__ */ v.isValidElement(i) && i.type === "svg", x = S({}, r, {
71
+ } = r, p = w(r, j), l = /* @__PURE__ */ v.isValidElement(i) && i.type === "svg", x = S({}, r, {
73
72
  color: f,
74
73
  component: c,
75
74
  fontSize: h,
@@ -80,9 +79,9 @@ const j = ["children", "className", "color", "component", "fontSize", "htmlColor
80
79
  }), $ = {};
81
80
  m || ($.viewBox = a);
82
81
  const z = A(x);
83
- return /* @__PURE__ */ w(E, S({
82
+ return /* @__PURE__ */ N(E, S({
84
83
  as: c,
85
- className: N(z.root, u),
84
+ className: C(z.root, u),
86
85
  focusable: "false",
87
86
  color: d,
88
87
  "aria-hidden": s ? void 0 : !0,
@@ -168,7 +167,7 @@ process.env.NODE_ENV !== "production" && (y.propTypes = {
168
167
  viewBox: o.string
169
168
  });
170
169
  y.muiName = "SvgIcon";
171
- function U(e, n) {
170
+ function P(e, n) {
172
171
  function t(r, i) {
173
172
  return /* @__PURE__ */ _(y, S({
174
173
  "data-testid": `${n}Icon`,
@@ -180,5 +179,5 @@ function U(e, n) {
180
179
  return process.env.NODE_ENV !== "production" && (t.displayName = `${n}Icon`), t.muiName = y.muiName, /* @__PURE__ */ v.memo(/* @__PURE__ */ v.forwardRef(t));
181
180
  }
182
181
  export {
183
- U as c
182
+ P as c
184
183
  };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("./identifier-J0ZxxQLU.cjs"),_=require("react"),v=require("react/jsx-runtime"),S=require("./styled-C04Dz9vm.cjs");function $(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const g=$(_);function z(o){return e.generateUtilityClass("MuiSvgIcon",o)}e.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const b=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],I=o=>{const{color:t,fontSize:r,classes:i}=o,n={root:["root",t!=="inherit"&&`color${e.capitalize(t)}`,`fontSize${e.capitalize(r)}`]};return S.composeClasses(n,z,i)},O=S.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.color!=="inherit"&&t[`color${e.capitalize(r.color)}`],t[`fontSize${e.capitalize(r.fontSize)}`]]}})(({theme:o,ownerState:t})=>{var r,i,n,u,f,a,m,d,y,l,c,p,s;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=o.transitions)==null||(i=r.create)==null?void 0:i.call(r,"fill",{duration:(n=o.transitions)==null||(n=n.duration)==null?void 0:n.shorter}),fontSize:{inherit:"inherit",small:((u=o.typography)==null||(f=u.pxToRem)==null?void 0:f.call(u,20))||"1.25rem",medium:((a=o.typography)==null||(m=a.pxToRem)==null?void 0:m.call(a,24))||"1.5rem",large:((d=o.typography)==null||(y=d.pxToRem)==null?void 0:y.call(d,35))||"2.1875rem"}[t.fontSize],color:(l=(c=(o.vars||o).palette)==null||(c=c[t.color])==null?void 0:c.main)!=null?l:{action:(p=(o.vars||o).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(s=(o.vars||o).palette)==null||(s=s.action)==null?void 0:s.disabled,inherit:void 0}[t.color]}}),h=g.forwardRef(function(t,r){const i=S.useDefaultProps({props:t,name:"MuiSvgIcon"}),{children:n,className:u,color:f="inherit",component:a="svg",fontSize:m="medium",htmlColor:d,inheritViewBox:y=!1,titleAccess:l,viewBox:c="0 0 24 24"}=i,p=e._objectWithoutPropertiesLoose(i,b),s=g.isValidElement(n)&&n.type==="svg",T=e._extends({},i,{color:f,component:a,fontSize:m,instanceFontSize:t.fontSize,inheritViewBox:y,viewBox:c,hasSvgAsChild:s}),P={};y||(P.viewBox=c);const x=I(T);return v.jsxs(O,e._extends({as:a,className:e.clsx(x.root,u),focusable:"false",color:d,"aria-hidden":l?void 0:!0,role:l?"img":void 0,ref:r},P,p,s&&n.props,{ownerState:T,children:[s?n.props.children:n,l?v.jsx("title",{children:l}):null]}))});process.env.NODE_ENV!=="production"&&(h.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),component:e.PropTypes.elementType,fontSize:e.PropTypes.oneOfType([e.PropTypes.oneOf(["inherit","large","medium","small"]),e.PropTypes.string]),htmlColor:e.PropTypes.string,inheritViewBox:e.PropTypes.bool,shapeRendering:e.PropTypes.string,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]),titleAccess:e.PropTypes.string,viewBox:e.PropTypes.string});h.muiName="SvgIcon";function w(o,t){function r(i,n){return v.jsx(h,e._extends({"data-testid":`${t}Icon`,ref:n},i,{children:o}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=h.muiName,g.memo(g.forwardRef(r))}exports.createSvgIcon=w;