@cgi-learning-hub/ui 1.3.3 → 1.3.4-dev.1733150814

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 (244) hide show
  1. package/dist/Backdrop-BlKt7y1x.js +360 -0
  2. package/dist/Backdrop-vSE8W9jq.cjs +1 -0
  3. package/dist/{Box-UE-zctbJ.js → Box-DErdbtsw.js} +9 -9
  4. package/dist/{Box-H49yQEt_.cjs → Box-DMYs7NTb.cjs} +1 -1
  5. package/dist/{Button-Bjy0iPNm.js → Button-CiqVGfRs.js} +14 -14
  6. package/dist/{Button-qc45QbX6.cjs → Button-D3dbHQM1.cjs} +1 -1
  7. package/dist/ButtonBase-BoWeLMzR.cjs +74 -0
  8. package/dist/{ButtonBase-CFD7NVUc.js → ButtonBase-DUPJVOlc.js} +232 -240
  9. package/dist/Card-Cnh4u4kb.cjs +1 -0
  10. package/dist/Card-mGRk1RuE.js +74 -0
  11. package/dist/{Checkbox-Ct5E_6h7.js → Checkbox-aJ1r7ufI.js} +12 -12
  12. package/dist/{Checkbox-CuYTY0gd.cjs → Checkbox-s_RdgUlw.cjs} +1 -1
  13. package/dist/{CircularProgress-By02Sdoh.js → CircularProgress-CfODO7vI.js} +17 -17
  14. package/dist/{CircularProgress-BPHINMQw.cjs → CircularProgress-DHgcUb1c.cjs} +7 -7
  15. package/dist/DatePicker-Dyf9Vhld.js +10845 -0
  16. package/dist/DatePicker-juzW4bLC.cjs +14 -0
  17. package/dist/DefaultPropsProvider-Biv7NHew.cjs +17 -0
  18. package/dist/{DefaultPropsProvider-CaRoy5OV.js → DefaultPropsProvider-xJkZOrdv.js} +146 -143
  19. package/dist/Delete-BOQTx9ze.js +8 -0
  20. package/dist/Delete-DyzDL8-Y.cjs +1 -0
  21. package/dist/DialogContent-D1KFPXhr.js +602 -0
  22. package/dist/DialogContent-Dphl2SKX.cjs +1 -0
  23. package/dist/DialogTitle-AQ-YU9PH.js +134 -0
  24. package/dist/DialogTitle-C8AdXsDz.cjs +1 -0
  25. package/dist/Divider-Bdp8beK-.cjs +1 -0
  26. package/dist/Divider-C0R1SUa4.js +296 -0
  27. package/dist/FormControlLabel-BlO93LTi.cjs +1 -0
  28. package/dist/FormControlLabel-w-X91z27.js +261 -0
  29. package/dist/FormGroup-6NoANcYk.js +95 -0
  30. package/dist/FormGroup-D0zSGn42.cjs +1 -0
  31. package/dist/FormLabel-BkiH7wl7.cjs +2 -0
  32. package/dist/{FormLabel-B4QlkhhB.js → FormLabel-CoLJ9tA8.js} +36 -42
  33. package/dist/Grow-DfACa72Q.cjs +1 -0
  34. package/dist/Grow-SW33sONG.js +193 -0
  35. package/dist/IconButton-DRs0xB4z.cjs +2 -0
  36. package/dist/{IconButton-Av8eJ5IG.js → IconButton-DjeMTpI5.js} +5 -5
  37. package/dist/{InputAdornment-BJfpEQAa.cjs → InputAdornment-B1pggfEX.cjs} +1 -1
  38. package/dist/{InputAdornment-COPtZlSD.js → InputAdornment-ByiVSgFT.js} +4 -4
  39. package/dist/{InputBase-Bbgoz8GV.js → InputBase-CvU0-Zg6.js} +59 -59
  40. package/dist/InputBase-Xfjv-RYp.cjs +3 -0
  41. package/dist/Link-Dmwt9wxb.js +266 -0
  42. package/dist/Link-Z_UCBvgV.cjs +1 -0
  43. package/dist/Menu-4U27Dst1.js +965 -0
  44. package/dist/Menu-DREdNbqu.cjs +7 -0
  45. package/dist/MenuItem-CN75Du-9.cjs +1 -0
  46. package/dist/{MenuItem-D7HWYhF3.js → MenuItem-CqPsuuC1.js} +69 -74
  47. package/dist/Modal-DWqBsogu.cjs +2 -0
  48. package/dist/Modal-D_mqYIr2.js +750 -0
  49. package/dist/Paper-CjMuucS5.cjs +2 -0
  50. package/dist/Paper-D973Ow-i.js +185 -0
  51. package/dist/Popper-B8oNZqtn.js +1407 -0
  52. package/dist/Popper-hzM0y1hA.cjs +4 -0
  53. package/dist/Portal-BKbBRbWN.js +86 -0
  54. package/dist/Portal-Bv2VRYHH.cjs +1 -0
  55. package/dist/Radio-BrzQH9pY.js +312 -0
  56. package/dist/Radio-DxbXYNhR.cjs +1 -0
  57. package/dist/Select-CL4E8NNL.cjs +3 -0
  58. package/dist/Select-CgAPAUTr.js +2602 -0
  59. package/dist/{Stack-y1PjTHKX.js → Stack-CYXQpKS2.js} +18 -18
  60. package/dist/{Stack-CEjx3KHM.cjs → Stack-WrITLr1B.cjs} +1 -1
  61. package/dist/{SwitchBase-yCuH0Tqk.js → SwitchBase-CGa9A6SL.js} +10 -10
  62. package/dist/{SwitchBase-URM3X3YZ.cjs → SwitchBase-Cqh9rxOh.cjs} +1 -1
  63. package/dist/{Tooltip-DO9GIhWC.js → TableSortLabel-hvz89Dvu.js} +2185 -3518
  64. package/dist/TableSortLabel-mAzX4tAl.cjs +98 -0
  65. package/dist/Tabs-BNqwYd2G.cjs +4 -0
  66. package/dist/{Tabs-DK4Bc5xo.js → Tabs-BPI2IyPx.js} +284 -282
  67. package/dist/{TextField-C-B529_r.js → TextField-C4nIxR_t.js} +24 -24
  68. package/dist/{TextField-BVAkADOb.cjs → TextField-Dy0Iblqt.cjs} +1 -1
  69. package/dist/Tooltip-Bdrv-e2a.js +720 -0
  70. package/dist/Tooltip-vg27N3PU.cjs +4 -0
  71. package/dist/{Typography-5OodZ94T.cjs → Typography-BF9bdWxl.cjs} +1 -1
  72. package/dist/{Typography-C_ESP41L.js → Typography-CUdlQxLM.js} +4 -4
  73. package/dist/assets/styles.css +1 -1
  74. package/dist/assets/styles2.css +1 -1
  75. package/dist/chainPropTypes-CEUi6Jb4.cjs +1 -0
  76. package/dist/chainPropTypes-D9lkm76m.js +8 -0
  77. package/dist/components/Button/Button.cjs.js +1 -1
  78. package/dist/components/Button/Button.es.js +12 -12
  79. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  80. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  81. package/dist/components/DatePicker/index.cjs.js +1 -1
  82. package/dist/components/DatePicker/index.es.js +1 -1
  83. package/dist/components/Dropzone/Dropzone.cjs.js +1 -5
  84. package/dist/components/Dropzone/Dropzone.es.js +24 -2162
  85. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  86. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  87. package/dist/components/FileList/FileList.cjs.js +1 -1
  88. package/dist/components/FileList/FileList.es.js +1 -1
  89. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  90. package/dist/components/FileList/FileListItem.es.js +21 -22
  91. package/dist/components/Heading/Heading.cjs.js +1 -1
  92. package/dist/components/Heading/Heading.es.js +2 -2
  93. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -0
  94. package/dist/components/ImagePicker/ImagePicker.d.ts +12 -0
  95. package/dist/components/ImagePicker/ImagePicker.es.js +174 -0
  96. package/dist/components/ImagePicker/index.cjs.js +1 -0
  97. package/dist/components/ImagePicker/index.d.ts +2 -0
  98. package/dist/components/ImagePicker/index.es.js +4 -0
  99. package/dist/components/Loader/Loader.cjs.js +1 -1
  100. package/dist/components/Loader/Loader.es.js +2 -2
  101. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  102. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +3 -3
  103. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  104. package/dist/components/PasswordInput/PasswordInput.es.js +8 -7
  105. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  106. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  107. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  108. package/dist/components/TextInput/TextInput.es.js +1 -1
  109. package/dist/components/index.cjs.js +1 -1
  110. package/dist/components/index.d.ts +1 -0
  111. package/dist/components/index.es.js +277 -265
  112. package/dist/components/stories/Button.stories.cjs.js +1 -1
  113. package/dist/components/stories/Button.stories.es.js +1 -1
  114. package/dist/components/stories/Card.stories.cjs.js +1 -0
  115. package/dist/components/stories/Card.stories.d.ts +7 -0
  116. package/dist/components/stories/Card.stories.es.js +193 -0
  117. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  118. package/dist/components/stories/Checkbox.stories.es.js +41 -12
  119. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  120. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  121. package/dist/components/stories/Dialog.stories.cjs.js +1 -0
  122. package/dist/components/stories/Dialog.stories.d.ts +7 -0
  123. package/dist/components/stories/Dialog.stories.es.js +53 -0
  124. package/dist/components/stories/Divider.stories.cjs.js +1 -0
  125. package/dist/components/stories/Divider.stories.d.ts +6 -0
  126. package/dist/components/stories/Divider.stories.es.js +41 -0
  127. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -0
  128. package/dist/components/stories/FormControlLabel.stories.d.ts +9 -0
  129. package/dist/components/stories/FormControlLabel.stories.es.js +378 -0
  130. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  131. package/dist/components/stories/Heading.stories.es.js +2 -2
  132. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  133. package/dist/components/stories/IconButton.stories.es.js +47 -11
  134. package/dist/components/stories/ImagePicker.stories.cjs.js +1 -0
  135. package/dist/components/stories/ImagePicker.stories.d.ts +6 -0
  136. package/dist/components/stories/ImagePicker.stories.es.js +50 -0
  137. package/dist/components/stories/Link.stories.cjs.js +1 -0
  138. package/dist/components/stories/Link.stories.d.ts +7 -0
  139. package/dist/components/stories/Link.stories.es.js +43 -0
  140. package/dist/components/stories/Menu.stories.cjs.js +1 -0
  141. package/dist/components/stories/Menu.stories.d.ts +7 -0
  142. package/dist/components/stories/Menu.stories.es.js +51 -0
  143. package/dist/components/stories/Paper.stories.cjs.js +1 -0
  144. package/dist/components/stories/Paper.stories.d.ts +7 -0
  145. package/dist/components/stories/Paper.stories.es.js +28 -0
  146. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  147. package/dist/components/stories/RadioGroup.stories.es.js +70 -371
  148. package/dist/components/stories/Select.stories.cjs.js +1 -1
  149. package/dist/components/stories/Select.stories.es.js +3 -3
  150. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  151. package/dist/components/stories/TabList.stories.es.js +140 -90
  152. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  153. package/dist/components/stories/TextField.stories.es.js +1 -1
  154. package/dist/components/stories/Tooltip.stories.cjs.js +1 -0
  155. package/dist/components/stories/Tooltip.stories.d.ts +7 -0
  156. package/dist/components/stories/Tooltip.stories.es.js +46 -0
  157. package/dist/components/stories/Typography.stories.cjs.js +1 -0
  158. package/dist/components/stories/Typography.stories.d.ts +6 -0
  159. package/dist/components/stories/Typography.stories.es.js +65 -0
  160. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  161. package/dist/createChainedFunction-CJmlQuW8.cjs +1 -0
  162. package/dist/{createSvgIcon-GU7fqNnI.cjs → createSvgIcon-BMmqQ2z0.cjs} +1 -1
  163. package/dist/{createSvgIcon-DxbvMQd7.js → createSvgIcon-CVd3Lo1D.js} +3 -3
  164. package/dist/debounce-46wSf_lW.js +15 -0
  165. package/dist/debounce-DpCj7ugL.cjs +1 -0
  166. package/dist/dividerClasses-CyDs_RPD.cjs +1 -0
  167. package/dist/dividerClasses-kN_Ky2Bl.js +9 -0
  168. package/dist/elementTypeAcceptingRef-5w32V5hP.cjs +1 -0
  169. package/dist/elementTypeAcceptingRef-modXfN2G.js +23 -0
  170. package/dist/{extendSxProp-D11-pC6h.cjs → extendSxProp-6YOo46ig.cjs} +1 -1
  171. package/dist/{extendSxProp-XQwkK0m7.js → extendSxProp-CHv0k-C6.js} +1 -1
  172. package/dist/formControlState-CuX6WjAX.cjs +1 -0
  173. package/dist/formControlState-vgaj2ksH.js +10 -0
  174. package/dist/fr-ChrHtTbj.cjs +1 -0
  175. package/dist/fr-rmVQsNbI.js +312 -0
  176. package/dist/{identifier-BqadgaK7.js → identifier-Bn0tF6ls.js} +612 -608
  177. package/dist/{identifier-BQH88SE0.cjs → identifier-Dax8VlUh.cjs} +19 -19
  178. package/dist/index-BNojWn2E.js +2152 -0
  179. package/dist/index-C5dNuV-2.cjs +5 -0
  180. package/dist/{index-BUxqDIr9.js → index-CVpJYeY2.js} +4 -4
  181. package/dist/{index-D7nFYLYq.cjs → index-D3PBNx_m.cjs} +1 -1
  182. package/dist/{index-CNv8ppur.cjs → index-OLlWw08I.cjs} +1 -1
  183. package/dist/{index-CRT92bm7.js → index-waINWr3i.js} +3 -3
  184. package/dist/index.cjs.js +1 -1
  185. package/dist/index.es.js +277 -265
  186. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  187. package/dist/isFocusVisible-DlSijby6.cjs +2 -0
  188. package/dist/isHostComponent-PydJW4A4.cjs +1 -0
  189. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  190. package/dist/{memoTheme-B6o2KVgJ.cjs → memoTheme-BPA1FjB4.cjs} +1 -1
  191. package/dist/{memoTheme-DfGVDRrB.js → memoTheme-CMJVTZEg.js} +1 -1
  192. package/dist/ownerDocument-4MViGo3k.cjs +1 -0
  193. package/dist/ownerDocument-CUrv0DIK.js +6 -0
  194. package/dist/ownerWindow-DDHucZi0.cjs +1 -0
  195. package/dist/ownerWindow-niciwP7I.js +7 -0
  196. package/dist/refType-BmrOFNz6.js +7 -0
  197. package/dist/refType-Dm84STBj.cjs +1 -0
  198. package/dist/{resolveComponentProps-DTv6xPbb.cjs → resolveComponentProps-4nhUsl3a.cjs} +1 -1
  199. package/dist/{resolveComponentProps-CxJ2yAJn.js → resolveComponentProps-DHoZOPOi.js} +1 -1
  200. package/dist/useForkRef-CTI33h-3.cjs +1 -0
  201. package/dist/useForkRef-C_4o__cU.js +15 -0
  202. package/dist/{useSlot-42jgZftI.cjs → useSlot-CJAXUvYJ.cjs} +1 -1
  203. package/dist/{useSlot-Co14PUn6.js → useSlot-t9oGnIgq.js} +2 -2
  204. package/dist/{useTheme-tZYpFplW.cjs → useTheme-BIogn5Me.cjs} +1 -1
  205. package/dist/{useTheme-cVN-YQNB.cjs → useTheme-Bz4LKMiC.cjs} +1 -1
  206. package/dist/{useTheme-oM_SFWy4.js → useTheme-CBsFvF7I.js} +1 -1
  207. package/dist/{useTheme-CtT7O-Wk.js → useTheme-L3EQmvnN.js} +3 -3
  208. package/dist/{useThemeProps-BlQ3SLfB.js → useThemeProps-5Bku71LW.js} +2 -2
  209. package/dist/{useThemeProps-HLq2mDKk.cjs → useThemeProps-C692LOYf.cjs} +1 -1
  210. package/dist/{useThemeProps-r0DnR8FJ.cjs → useThemeProps-DNFKz8wS.cjs} +1 -1
  211. package/dist/{useThemeProps-FiA8ivG-.js → useThemeProps-I9EHeqzU.js} +3 -3
  212. package/dist/{useTimeout-D16vpBhn.js → useTimeout-3Y5y4gWq.js} +4 -4
  213. package/dist/{useTimeout-DWEGwfTA.cjs → useTimeout-CxOQget6.cjs} +1 -1
  214. package/dist/utils-BWx1W_q1.cjs +1 -0
  215. package/dist/utils-CE_a8glN.js +391 -0
  216. package/dist/utils-CusX8Edy.cjs +1 -0
  217. package/dist/utils-DWqc1kRF.js +13 -0
  218. package/package.json +5 -5
  219. package/dist/Backdrop-KAJqifAq.cjs +0 -1
  220. package/dist/Backdrop-RBPtVAPX.js +0 -744
  221. package/dist/ButtonBase-UEHzzfUL.cjs +0 -75
  222. package/dist/DatePicker-rhgpaD-r.cjs +0 -17
  223. package/dist/DatePicker-u4rtXGeo.js +0 -12791
  224. package/dist/DefaultPropsProvider-BrX6iuA3.cjs +0 -17
  225. package/dist/FormGroup-BBYEQB4C.cjs +0 -1
  226. package/dist/FormGroup-BVtE8Mrv.js +0 -348
  227. package/dist/FormLabel-D8jYibc1.cjs +0 -2
  228. package/dist/IconButton-CVyLtjcH.cjs +0 -2
  229. package/dist/InputBase-Ctmib7Br.cjs +0 -3
  230. package/dist/MenuItem-Els-vJZW.cjs +0 -1
  231. package/dist/Select-BlPQngVF.js +0 -4720
  232. package/dist/Select-ipcMZ4iK.cjs +0 -11
  233. package/dist/Tabs-Nvk94RTW.cjs +0 -4
  234. package/dist/Tooltip-DvPL2M0E.cjs +0 -100
  235. package/dist/formControlState-DCkDUdfO.cjs +0 -1
  236. package/dist/formControlState-DdQP43Uo.js +0 -21
  237. package/dist/fr-B8_MxRl5.js +0 -307
  238. package/dist/fr-Nvp7C-vS.cjs +0 -1
  239. package/dist/ownerWindow-BoRkeomM.js +0 -23
  240. package/dist/ownerWindow-Dk_4aaak.cjs +0 -1
  241. package/dist/refType-DlHf9HvO.js +0 -27
  242. package/dist/refType-Do7KaOvv.cjs +0 -1
  243. package/dist/useForkRef-D-DyzOXj.js +0 -21
  244. package/dist/useForkRef-D81w5oMb.cjs +0 -1
@@ -1,307 +0,0 @@
1
- import { Z as U } from "./identifier-BqadgaK7.js";
2
- var q = { exports: {} }, G;
3
- function X() {
4
- return G || (G = 1, function(x, Z) {
5
- (function(y, l) {
6
- x.exports = l();
7
- })(U, function() {
8
- var y = 1e3, l = 6e4, S = 36e5, Y = "millisecond", m = "second", O = "minute", j = "hour", v = "day", A = "week", M = "month", z = "quarter", p = "year", L = "date", V = "Invalid Date", P = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Q = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(i) {
9
- var n = ["th", "st", "nd", "rd"], t = i % 100;
10
- return "[" + i + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
11
- } }, I = function(i, n, t) {
12
- var r = String(i);
13
- return !r || r.length >= n ? i : "" + Array(n + 1 - r.length).join(t) + i;
14
- }, K = { s: I, z: function(i) {
15
- var n = -i.utcOffset(), t = Math.abs(n), r = Math.floor(t / 60), e = t % 60;
16
- return (n <= 0 ? "+" : "-") + I(r, 2, "0") + ":" + I(e, 2, "0");
17
- }, m: function i(n, t) {
18
- if (n.date() < t.date()) return -i(t, n);
19
- var r = 12 * (t.year() - n.year()) + (t.month() - n.month()), e = n.clone().add(r, M), s = t - e < 0, u = n.clone().add(r + (s ? -1 : 1), M);
20
- return +(-(r + (t - e) / (s ? e - u : u - e)) || 0);
21
- }, a: function(i) {
22
- return i < 0 ? Math.ceil(i) || 0 : Math.floor(i);
23
- }, p: function(i) {
24
- return { M, y: p, w: A, d: v, D: L, h: j, m: O, s: m, ms: Y, Q: z }[i] || String(i || "").toLowerCase().replace(/s$/, "");
25
- }, u: function(i) {
26
- return i === void 0;
27
- } }, H = "en", g = {};
28
- g[H] = R;
29
- var B = "$isDayjsObject", N = function(i) {
30
- return i instanceof J || !(!i || !i[B]);
31
- }, C = function i(n, t, r) {
32
- var e;
33
- if (!n) return H;
34
- if (typeof n == "string") {
35
- var s = n.toLowerCase();
36
- g[s] && (e = s), t && (g[s] = t, e = s);
37
- var u = n.split("-");
38
- if (!e && u.length > 1) return i(u[0]);
39
- } else {
40
- var o = n.name;
41
- g[o] = n, e = o;
42
- }
43
- return !r && e && (H = e), e || !r && H;
44
- }, f = function(i, n) {
45
- if (N(i)) return i.clone();
46
- var t = typeof n == "object" ? n : {};
47
- return t.date = i, t.args = arguments, new J(t);
48
- }, a = K;
49
- a.l = C, a.i = N, a.w = function(i, n) {
50
- return f(i, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
51
- };
52
- var J = function() {
53
- function i(t) {
54
- this.$L = C(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[B] = !0;
55
- }
56
- var n = i.prototype;
57
- return n.parse = function(t) {
58
- this.$d = function(r) {
59
- var e = r.date, s = r.utc;
60
- if (e === null) return /* @__PURE__ */ new Date(NaN);
61
- if (a.u(e)) return /* @__PURE__ */ new Date();
62
- if (e instanceof Date) return new Date(e);
63
- if (typeof e == "string" && !/Z$/i.test(e)) {
64
- var u = e.match(P);
65
- if (u) {
66
- var o = u[2] - 1 || 0, c = (u[7] || "0").substring(0, 3);
67
- return s ? new Date(Date.UTC(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c)) : new Date(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c);
68
- }
69
- }
70
- return new Date(e);
71
- }(t), this.init();
72
- }, n.init = function() {
73
- var t = this.$d;
74
- this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
75
- }, n.$utils = function() {
76
- return a;
77
- }, n.isValid = function() {
78
- return this.$d.toString() !== V;
79
- }, n.isSame = function(t, r) {
80
- var e = f(t);
81
- return this.startOf(r) <= e && e <= this.endOf(r);
82
- }, n.isAfter = function(t, r) {
83
- return f(t) < this.startOf(r);
84
- }, n.isBefore = function(t, r) {
85
- return this.endOf(r) < f(t);
86
- }, n.$g = function(t, r, e) {
87
- return a.u(t) ? this[r] : this.set(e, t);
88
- }, n.unix = function() {
89
- return Math.floor(this.valueOf() / 1e3);
90
- }, n.valueOf = function() {
91
- return this.$d.getTime();
92
- }, n.startOf = function(t, r) {
93
- var e = this, s = !!a.u(r) || r, u = a.p(t), o = function(b, $) {
94
- var D = a.w(e.$u ? Date.UTC(e.$y, $, b) : new Date(e.$y, $, b), e);
95
- return s ? D : D.endOf(v);
96
- }, c = function(b, $) {
97
- return a.w(e.toDate()[b].apply(e.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), e);
98
- }, d = this.$W, h = this.$M, _ = this.$D, k = "set" + (this.$u ? "UTC" : "");
99
- switch (u) {
100
- case p:
101
- return s ? o(1, 0) : o(31, 11);
102
- case M:
103
- return s ? o(1, h) : o(0, h + 1);
104
- case A:
105
- var w = this.$locale().weekStart || 0, T = (d < w ? d + 7 : d) - w;
106
- return o(s ? _ - T : _ + (6 - T), h);
107
- case v:
108
- case L:
109
- return c(k + "Hours", 0);
110
- case j:
111
- return c(k + "Minutes", 1);
112
- case O:
113
- return c(k + "Seconds", 2);
114
- case m:
115
- return c(k + "Milliseconds", 3);
116
- default:
117
- return this.clone();
118
- }
119
- }, n.endOf = function(t) {
120
- return this.startOf(t, !1);
121
- }, n.$set = function(t, r) {
122
- var e, s = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[v] = u + "Date", e[L] = u + "Date", e[M] = u + "Month", e[p] = u + "FullYear", e[j] = u + "Hours", e[O] = u + "Minutes", e[m] = u + "Seconds", e[Y] = u + "Milliseconds", e)[s], c = s === v ? this.$D + (r - this.$W) : r;
123
- if (s === M || s === p) {
124
- var d = this.clone().set(L, 1);
125
- d.$d[o](c), d.init(), this.$d = d.set(L, Math.min(this.$D, d.daysInMonth())).$d;
126
- } else o && this.$d[o](c);
127
- return this.init(), this;
128
- }, n.set = function(t, r) {
129
- return this.clone().$set(t, r);
130
- }, n.get = function(t) {
131
- return this[a.p(t)]();
132
- }, n.add = function(t, r) {
133
- var e, s = this;
134
- t = Number(t);
135
- var u = a.p(r), o = function(h) {
136
- var _ = f(s);
137
- return a.w(_.date(_.date() + Math.round(h * t)), s);
138
- };
139
- if (u === M) return this.set(M, this.$M + t);
140
- if (u === p) return this.set(p, this.$y + t);
141
- if (u === v) return o(1);
142
- if (u === A) return o(7);
143
- var c = (e = {}, e[O] = l, e[j] = S, e[m] = y, e)[u] || 1, d = this.$d.getTime() + t * c;
144
- return a.w(d, this);
145
- }, n.subtract = function(t, r) {
146
- return this.add(-1 * t, r);
147
- }, n.format = function(t) {
148
- var r = this, e = this.$locale();
149
- if (!this.isValid()) return e.invalidDate || V;
150
- var s = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, d = this.$M, h = e.weekdays, _ = e.months, k = e.meridiem, w = function($, D, W, F) {
151
- return $ && ($[D] || $(r, s)) || W[D].slice(0, F);
152
- }, T = function($) {
153
- return a.s(o % 12 || 12, $, "0");
154
- }, b = k || function($, D, W) {
155
- var F = $ < 12 ? "AM" : "PM";
156
- return W ? F.toLowerCase() : F;
157
- };
158
- return s.replace(Q, function($, D) {
159
- return D || function(W) {
160
- switch (W) {
161
- case "YY":
162
- return String(r.$y).slice(-2);
163
- case "YYYY":
164
- return a.s(r.$y, 4, "0");
165
- case "M":
166
- return d + 1;
167
- case "MM":
168
- return a.s(d + 1, 2, "0");
169
- case "MMM":
170
- return w(e.monthsShort, d, _, 3);
171
- case "MMMM":
172
- return w(_, d);
173
- case "D":
174
- return r.$D;
175
- case "DD":
176
- return a.s(r.$D, 2, "0");
177
- case "d":
178
- return String(r.$W);
179
- case "dd":
180
- return w(e.weekdaysMin, r.$W, h, 2);
181
- case "ddd":
182
- return w(e.weekdaysShort, r.$W, h, 3);
183
- case "dddd":
184
- return h[r.$W];
185
- case "H":
186
- return String(o);
187
- case "HH":
188
- return a.s(o, 2, "0");
189
- case "h":
190
- return T(1);
191
- case "hh":
192
- return T(2);
193
- case "a":
194
- return b(o, c, !0);
195
- case "A":
196
- return b(o, c, !1);
197
- case "m":
198
- return String(c);
199
- case "mm":
200
- return a.s(c, 2, "0");
201
- case "s":
202
- return String(r.$s);
203
- case "ss":
204
- return a.s(r.$s, 2, "0");
205
- case "SSS":
206
- return a.s(r.$ms, 3, "0");
207
- case "Z":
208
- return u;
209
- }
210
- return null;
211
- }($) || u.replace(":", "");
212
- });
213
- }, n.utcOffset = function() {
214
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
215
- }, n.diff = function(t, r, e) {
216
- var s, u = this, o = a.p(r), c = f(t), d = (c.utcOffset() - this.utcOffset()) * l, h = this - c, _ = function() {
217
- return a.m(u, c);
218
- };
219
- switch (o) {
220
- case p:
221
- s = _() / 12;
222
- break;
223
- case M:
224
- s = _();
225
- break;
226
- case z:
227
- s = _() / 3;
228
- break;
229
- case A:
230
- s = (h - d) / 6048e5;
231
- break;
232
- case v:
233
- s = (h - d) / 864e5;
234
- break;
235
- case j:
236
- s = h / S;
237
- break;
238
- case O:
239
- s = h / l;
240
- break;
241
- case m:
242
- s = h / y;
243
- break;
244
- default:
245
- s = h;
246
- }
247
- return e ? s : a.a(s);
248
- }, n.daysInMonth = function() {
249
- return this.endOf(M).$D;
250
- }, n.$locale = function() {
251
- return g[this.$L];
252
- }, n.locale = function(t, r) {
253
- if (!t) return this.$L;
254
- var e = this.clone(), s = C(t, r, !0);
255
- return s && (e.$L = s), e;
256
- }, n.clone = function() {
257
- return a.w(this.$d, this);
258
- }, n.toDate = function() {
259
- return new Date(this.valueOf());
260
- }, n.toJSON = function() {
261
- return this.isValid() ? this.toISOString() : null;
262
- }, n.toISOString = function() {
263
- return this.$d.toISOString();
264
- }, n.toString = function() {
265
- return this.$d.toUTCString();
266
- }, i;
267
- }(), E = J.prototype;
268
- return f.prototype = E, [["$ms", Y], ["$s", m], ["$m", O], ["$H", j], ["$W", v], ["$M", M], ["$y", p], ["$D", L]].forEach(function(i) {
269
- E[i[1]] = function(n) {
270
- return this.$g(n, i[0], i[1]);
271
- };
272
- }), f.extend = function(i, n) {
273
- return i.$i || (i(n, J, f), i.$i = !0), f;
274
- }, f.locale = C, f.isDayjs = N, f.unix = function(i) {
275
- return f(1e3 * i);
276
- }, f.en = g[H], f.Ls = g, f.p = {}, f;
277
- });
278
- }(q)), q.exports;
279
- }
280
- var tt = { exports: {} };
281
- (function(x, Z) {
282
- (function(y, l) {
283
- x.exports = l();
284
- })(U, function() {
285
- return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(y) {
286
- var l = ["th", "st", "nd", "rd"], S = y % 100;
287
- return "[" + y + (l[(S - 20) % 10] || l[S] || l[0]) + "]";
288
- } };
289
- });
290
- })(tt);
291
- var et = { exports: {} };
292
- (function(x, Z) {
293
- (function(y, l) {
294
- x.exports = l(X());
295
- })(U, function(y) {
296
- function l(m) {
297
- return m && typeof m == "object" && "default" in m ? m : { default: m };
298
- }
299
- var S = l(y), Y = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(m) {
300
- return "" + m + (m === 1 ? "er" : "");
301
- } };
302
- return S.default.locale(Y, null, !0), Y;
303
- });
304
- })(et);
305
- export {
306
- X as r
307
- };
@@ -1 +0,0 @@
1
- "use strict";const U=require("./identifier-BQH88SE0.cjs");var N={exports:{}},E;function P(){return E||(E=1,function(H,Z){(function(y,l){H.exports=l()})(U.commonjsGlobal,function(){var y=1e3,l=6e4,S=36e5,Y="millisecond",m="second",O="minute",j="hour",v="day",A="week",M="month",z="quarter",p="year",L="date",G="Invalid Date",Q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,K={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var n=["th","st","nd","rd"],t=i%100;return"["+i+(n[(t-20)%10]||n[t]||n[0])+"]"}},F=function(i,n,t){var r=String(i);return!r||r.length>=n?i:""+Array(n+1-r.length).join(t)+i},X={s:F,z:function(i){var n=-i.utcOffset(),t=Math.abs(n),r=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+F(r,2,"0")+":"+F(e,2,"0")},m:function i(n,t){if(n.date()<t.date())return-i(t,n);var r=12*(t.year()-n.year())+(t.month()-n.month()),e=n.clone().add(r,M),s=t-e<0,u=n.clone().add(r+(s?-1:1),M);return+(-(r+(t-e)/(s?e-u:u-e))||0)},a:function(i){return i<0?Math.ceil(i)||0:Math.floor(i)},p:function(i){return{M,y:p,w:A,d:v,D:L,h:j,m:O,s:m,ms:Y,Q:z}[i]||String(i||"").toLowerCase().replace(/s$/,"")},u:function(i){return i===void 0}},x="en",g={};g[x]=K;var V="$isDayjsObject",I=function(i){return i instanceof q||!(!i||!i[V])},C=function i(n,t,r){var e;if(!n)return x;if(typeof n=="string"){var s=n.toLowerCase();g[s]&&(e=s),t&&(g[s]=t,e=s);var u=n.split("-");if(!e&&u.length>1)return i(u[0])}else{var o=n.name;g[o]=n,e=o}return!r&&e&&(x=e),e||!r&&x},f=function(i,n){if(I(i))return i.clone();var t=typeof n=="object"?n:{};return t.date=i,t.args=arguments,new q(t)},a=X;a.l=C,a.i=I,a.w=function(i,n){return f(i,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var q=function(){function i(t){this.$L=C(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[V]=!0}var n=i.prototype;return n.parse=function(t){this.$d=function(r){var e=r.date,s=r.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(Q);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return s?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return a},n.isValid=function(){return this.$d.toString()!==G},n.isSame=function(t,r){var e=f(t);return this.startOf(r)<=e&&e<=this.endOf(r)},n.isAfter=function(t,r){return f(t)<this.startOf(r)},n.isBefore=function(t,r){return this.endOf(r)<f(t)},n.$g=function(t,r,e){return a.u(t)?this[r]:this.set(e,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,r){var e=this,s=!!a.u(r)||r,u=a.p(t),o=function(b,_){var D=a.w(e.$u?Date.UTC(e.$y,_,b):new Date(e.$y,_,b),e);return s?D:D.endOf(v)},c=function(b,_){return a.w(e.toDate()[b].apply(e.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(_)),e)},d=this.$W,h=this.$M,$=this.$D,k="set"+(this.$u?"UTC":"");switch(u){case p:return s?o(1,0):o(31,11);case M:return s?o(1,h):o(0,h+1);case A:var w=this.$locale().weekStart||0,T=(d<w?d+7:d)-w;return o(s?$-T:$+(6-T),h);case v:case L:return c(k+"Hours",0);case j:return c(k+"Minutes",1);case O:return c(k+"Seconds",2);case m:return c(k+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,r){var e,s=a.p(t),u="set"+(this.$u?"UTC":""),o=(e={},e[v]=u+"Date",e[L]=u+"Date",e[M]=u+"Month",e[p]=u+"FullYear",e[j]=u+"Hours",e[O]=u+"Minutes",e[m]=u+"Seconds",e[Y]=u+"Milliseconds",e)[s],c=s===v?this.$D+(r-this.$W):r;if(s===M||s===p){var d=this.clone().set(L,1);d.$d[o](c),d.init(),this.$d=d.set(L,Math.min(this.$D,d.daysInMonth())).$d}else o&&this.$d[o](c);return this.init(),this},n.set=function(t,r){return this.clone().$set(t,r)},n.get=function(t){return this[a.p(t)]()},n.add=function(t,r){var e,s=this;t=Number(t);var u=a.p(r),o=function(h){var $=f(s);return a.w($.date($.date()+Math.round(h*t)),s)};if(u===M)return this.set(M,this.$M+t);if(u===p)return this.set(p,this.$y+t);if(u===v)return o(1);if(u===A)return o(7);var c=(e={},e[O]=l,e[j]=S,e[m]=y,e)[u]||1,d=this.$d.getTime()+t*c;return a.w(d,this)},n.subtract=function(t,r){return this.add(-1*t,r)},n.format=function(t){var r=this,e=this.$locale();if(!this.isValid())return e.invalidDate||G;var s=t||"YYYY-MM-DDTHH:mm:ssZ",u=a.z(this),o=this.$H,c=this.$m,d=this.$M,h=e.weekdays,$=e.months,k=e.meridiem,w=function(_,D,W,J){return _&&(_[D]||_(r,s))||W[D].slice(0,J)},T=function(_){return a.s(o%12||12,_,"0")},b=k||function(_,D,W){var J=_<12?"AM":"PM";return W?J.toLowerCase():J};return s.replace(R,function(_,D){return D||function(W){switch(W){case"YY":return String(r.$y).slice(-2);case"YYYY":return a.s(r.$y,4,"0");case"M":return d+1;case"MM":return a.s(d+1,2,"0");case"MMM":return w(e.monthsShort,d,$,3);case"MMMM":return w($,d);case"D":return r.$D;case"DD":return a.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return w(e.weekdaysMin,r.$W,h,2);case"ddd":return w(e.weekdaysShort,r.$W,h,3);case"dddd":return h[r.$W];case"H":return String(o);case"HH":return a.s(o,2,"0");case"h":return T(1);case"hh":return T(2);case"a":return b(o,c,!0);case"A":return b(o,c,!1);case"m":return String(c);case"mm":return a.s(c,2,"0");case"s":return String(r.$s);case"ss":return a.s(r.$s,2,"0");case"SSS":return a.s(r.$ms,3,"0");case"Z":return u}return null}(_)||u.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,r,e){var s,u=this,o=a.p(r),c=f(t),d=(c.utcOffset()-this.utcOffset())*l,h=this-c,$=function(){return a.m(u,c)};switch(o){case p:s=$()/12;break;case M:s=$();break;case z:s=$()/3;break;case A:s=(h-d)/6048e5;break;case v:s=(h-d)/864e5;break;case j:s=h/S;break;case O:s=h/l;break;case m:s=h/y;break;default:s=h}return e?s:a.a(s)},n.daysInMonth=function(){return this.endOf(M).$D},n.$locale=function(){return g[this.$L]},n.locale=function(t,r){if(!t)return this.$L;var e=this.clone(),s=C(t,r,!0);return s&&(e.$L=s),e},n.clone=function(){return a.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},i}(),B=q.prototype;return f.prototype=B,[["$ms",Y],["$s",m],["$m",O],["$H",j],["$W",v],["$M",M],["$y",p],["$D",L]].forEach(function(i){B[i[1]]=function(n){return this.$g(n,i[0],i[1])}}),f.extend=function(i,n){return i.$i||(i(n,q,f),i.$i=!0),f},f.locale=C,f.isDayjs=I,f.unix=function(i){return f(1e3*i)},f.en=g[x],f.Ls=g,f.p={},f})}(N)),N.exports}var tt={exports:{}};(function(H,Z){(function(y,l){H.exports=l()})(U.commonjsGlobal,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(y){var l=["th","st","nd","rd"],S=y%100;return"["+y+(l[(S-20)%10]||l[S]||l[0])+"]"}}})})(tt);var et={exports:{}};(function(H,Z){(function(y,l){H.exports=l(P())})(U.commonjsGlobal,function(y){function l(m){return m&&typeof m=="object"&&"default"in m?m:{default:m}}var S=l(y),Y={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(m){return""+m+(m===1?"er":"")}};return S.default.locale(Y,null,!0),Y})})(et);exports.requireDayjs_min=P;
@@ -1,23 +0,0 @@
1
- function i(e, t = 166) {
2
- let o;
3
- function n(...u) {
4
- const c = () => {
5
- e.apply(this, u);
6
- };
7
- clearTimeout(o), o = setTimeout(c, t);
8
- }
9
- return n.clear = () => {
10
- clearTimeout(o);
11
- }, n;
12
- }
13
- function r(e) {
14
- return e && e.ownerDocument || document;
15
- }
16
- function a(e) {
17
- return r(e).defaultView || window;
18
- }
19
- export {
20
- r as a,
21
- i as d,
22
- a as o
23
- };
@@ -1 +0,0 @@
1
- "use strict";function i(e,o=166){let n;function t(...c){const r=()=>{e.apply(this,c)};clearTimeout(n),n=setTimeout(r,o)}return t.clear=()=>{clearTimeout(n)},t}function u(e){return e&&e.ownerDocument||document}function d(e){return u(e).defaultView||window}exports.debounce=i;exports.ownerDocument=u;exports.ownerWindow=d;
@@ -1,27 +0,0 @@
1
- import * as r from "react";
2
- import { P as n } from "./identifier-BqadgaK7.js";
3
- import { c as s } from "./useForkRef-D-DyzOXj.js";
4
- const y = typeof window < "u" ? r.useLayoutEffect : r.useEffect;
5
- function u(t) {
6
- const {
7
- prototype: e = {}
8
- } = t;
9
- return !!e.isReactComponent;
10
- }
11
- function l(t, e, c, f, p) {
12
- const o = t[e], a = p || e;
13
- if (o == null || // When server-side rendering React doesn't warn either.
14
- // This is not an accurate check for SSR.
15
- // This is only in place for emotion compat.
16
- // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
17
- typeof window > "u")
18
- return null;
19
- let i;
20
- return typeof o == "function" && !u(o) && (i = "Did you accidentally provide a plain function component instead?"), i !== void 0 ? new Error(`Invalid ${f} \`${a}\` supplied to \`${c}\`. Expected an element type that can hold a ref. ${i} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
21
- }
22
- const w = s(n.elementType, l), T = n.oneOfType([n.func, n.object]);
23
- export {
24
- w as e,
25
- T as r,
26
- y as u
27
- };
@@ -1 +0,0 @@
1
- "use strict";const s=require("react"),c=require("./identifier-BQH88SE0.cjs"),a=require("./useForkRef-D81w5oMb.cjs");function l(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const f=l(s),d=typeof window<"u"?f.useLayoutEffect:f.useEffect;function y(e){const{prototype:n={}}=e;return!!n.isReactComponent}function m(e,n,t,o,p){const r=e[n],u=p||n;if(r==null||typeof window>"u")return null;let i;return typeof r=="function"&&!y(r)&&(i="Did you accidentally provide a plain function component instead?"),i!==void 0?new Error(`Invalid ${o} \`${u}\` supplied to \`${t}\`. Expected an element type that can hold a ref. ${i} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const T=a.chainPropTypes(c.PropTypes.elementType,m),g=c.PropTypes.oneOfType([c.PropTypes.func,c.PropTypes.object]);exports.elementTypeAcceptingRef=T;exports.refType=g;exports.useEnhancedEffect=d;
@@ -1,21 +0,0 @@
1
- import * as r from "react";
2
- function i(n, t) {
3
- return process.env.NODE_ENV === "production" ? () => null : function(...u) {
4
- return n(...u) || t(...u);
5
- };
6
- }
7
- function o(n, t) {
8
- typeof n == "function" ? n(t) : n && (n.current = t);
9
- }
10
- function c(...n) {
11
- return r.useMemo(() => n.every((t) => t == null) ? null : (t) => {
12
- n.forEach((e) => {
13
- o(e, t);
14
- });
15
- }, n);
16
- }
17
- export {
18
- i as c,
19
- o as s,
20
- c as u
21
- };
@@ -1 +0,0 @@
1
- "use strict";const o=require("react");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=c(o);function f(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function u(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function s(...e){return i.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{u(n,t)})},e)}exports.chainPropTypes=f;exports.setRef=u;exports.useForkRef=s;