@cgi-learning-hub/ui 0.0.1-dev.1709719281 → 0.0.1-dev.1709719972

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 (77) hide show
  1. package/dist/{Box-CXP-5h9P.js → Box-DbTiG4H5.js} +3 -3
  2. package/dist/{ButtonBase-DpD6huF3.js → ButtonBase-Cj0VAGSo.js} +3 -3
  3. package/dist/{CircularProgress-C07SUcYf.js → CircularProgress-BqQQW0l9.js} +3 -3
  4. package/dist/{DefaultButton-_mrCx6TQ.js → DefaultButton-DdQUbrXq.js} +6 -6
  5. package/dist/{IconButton-BUJX1Kz7.js → IconButton-BO0e0bGH.js} +4 -4
  6. package/dist/{InputBase-U35goXkW.js → InputBase-D-C0U1Q3.js} +3 -3
  7. package/dist/LocalizationProvider-BqhYrFIl.js +573 -0
  8. package/dist/LocalizationProvider-CAosaaEW.cjs +5 -0
  9. package/dist/{SearchInput-lqqR8CpF.js → SearchInput-Ef9mtSE4.js} +5 -5
  10. package/dist/{Tabs-D8c80LIh.js → Tabs-DlViPyxj.js} +7 -7
  11. package/dist/{TextInput-Cg3iPUXm.js → TextInput-DNVF9vEj.js} +158 -158
  12. package/dist/{TimePicker-C2DgLcWo.js → TimePicker-C7tUydgb.js} +15 -15
  13. package/dist/{TimePicker-w1u-gt1V.cjs → TimePicker-DfciOeXl.cjs} +1 -1
  14. package/dist/{Typography-CMZpK-6k.js → Typography-gyI1N9sP.js} +2 -2
  15. package/dist/components/Dropzone/Dropzone.es.js +5 -5
  16. package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
  17. package/dist/components/LocalizationProvider/LocalizationProvider.es.js +3 -2
  18. package/dist/components/LocalizationProvider/index.cjs.js +1 -1
  19. package/dist/components/LocalizationProvider/index.es.js +1 -1
  20. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +3 -3
  21. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +2 -2
  22. package/dist/components/buttons/DefaultButton/index.es.js +1 -1
  23. package/dist/components/buttons/IconButton.stories.es.js +2 -2
  24. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +2 -2
  25. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  26. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +2 -2
  27. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  28. package/dist/components/buttons/index.es.js +1 -1
  29. package/dist/components/index.cjs.js +1 -1
  30. package/dist/components/index.d.ts +0 -1
  31. package/dist/components/index.es.js +22 -22
  32. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -0
  33. package/dist/components/inputs/PasswordInput/PasswordInput.d.ts +5 -0
  34. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +43 -0
  35. package/dist/components/inputs/PasswordInput/PasswordInput.stories.cjs.js +1 -0
  36. package/dist/components/inputs/PasswordInput/PasswordInput.stories.es.js +16 -0
  37. package/dist/components/inputs/PasswordInput/index.cjs.js +1 -0
  38. package/dist/components/inputs/PasswordInput/index.d.ts +2 -0
  39. package/dist/components/inputs/PasswordInput/index.es.js +4 -0
  40. package/dist/components/inputs/SearchInput/SearchInput.es.js +3 -3
  41. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +1 -1
  42. package/dist/components/inputs/SearchInput/index.es.js +1 -1
  43. package/dist/components/inputs/TextInput/TextInput.es.js +2 -2
  44. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  45. package/dist/components/inputs/TextInput/index.es.js +1 -1
  46. package/dist/components/inputs/index.cjs.js +1 -1
  47. package/dist/components/inputs/index.d.ts +1 -0
  48. package/dist/components/inputs/index.es.js +6 -4
  49. package/dist/components/lists/FileList/FileList.es.js +1 -1
  50. package/dist/components/lists/FileList/FileListItem.es.js +5 -5
  51. package/dist/components/lists/TabList.stories.es.js +3 -3
  52. package/dist/{createSvgIcon-C2SxpGh8.js → createSvgIcon-D51qQ1iy.js} +2 -2
  53. package/dist/{createSvgIcon-CQqNddEV.js → createSvgIcon-RcVfBE0a.js} +6 -6
  54. package/dist/fr-BmGEYD_b.js +335 -0
  55. package/dist/fr-D4QyQkl7.cjs +1 -0
  56. package/dist/index.cjs.js +1 -1
  57. package/dist/index.es.js +20 -20
  58. package/dist/{refType-ONErEPrN.js → refType-CRZJc9ll.js} +1 -1
  59. package/dist/{styled-CennO0rX.js → styled-Cu97anhh.js} +1 -1
  60. package/dist/{useSlotProps-BojAgRB1.js → useSlotProps-BE7y-efU.js} +2 -2
  61. package/dist/{useTheme-Dnkg8lL1.js → useTheme-zz1qDqSf.js} +1 -1
  62. package/dist/{useThemeProps-HgPikzOW.js → useThemeProps-HPaoKsTZ.js} +5 -5
  63. package/package.json +1 -1
  64. package/dist/LocalizationProvider-CEOwVRxT.js +0 -903
  65. package/dist/LocalizationProvider-DqwEOZOd.cjs +0 -5
  66. package/dist/components/feedback/Alert/Alert.cjs.js +0 -1
  67. package/dist/components/feedback/Alert/Alert.d.ts +0 -7
  68. package/dist/components/feedback/Alert/Alert.es.js +0 -32
  69. package/dist/components/feedback/Alert/Alert.stories.cjs.js +0 -1
  70. package/dist/components/feedback/Alert/Alert.stories.es.js +0 -17
  71. package/dist/components/feedback/Alert/index.cjs.js +0 -1
  72. package/dist/components/feedback/Alert/index.d.ts +0 -2
  73. package/dist/components/feedback/Alert/index.es.js +0 -4
  74. package/dist/components/feedback/index.cjs.js +0 -1
  75. package/dist/components/feedback/index.d.ts +0 -1
  76. package/dist/components/feedback/index.es.js +0 -4
  77. /package/dist/components/{feedback/Alert/Alert.stories.d.ts → inputs/PasswordInput/PasswordInput.stories.d.ts} +0 -0
@@ -0,0 +1,5 @@
1
+ "use strict";const tt=require("react/jsx-runtime"),ct=require("./fr-D4QyQkl7.cjs"),n=require("./useThemeProps-BRWSvuZw.cjs"),lt=require("react");function ft(l){const p=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(l){for(const u in l)if(u!=="default"){const d=Object.getOwnPropertyDescriptor(l,u);Object.defineProperty(p,u,d.get?d:{enumerable:!0,get:()=>l[u]})}}return p.default=l,Object.freeze(p)}const F=ft(lt);var mt=ct.requireDayjs_min();const T=n.getDefaultExportFromCjs(mt);var et={exports:{}};(function(l,p){(function(u,d){l.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)}}})})(et);var pt=et.exports;const yt=n.getDefaultExportFromCjs(pt);var rt={exports:{}};(function(l,p){(function(u,d){l.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 f=a.match(/([+-]|\d\d)/g),c=60*f[1]+(+f[2]||0);return c===0?0:f[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 f,c=r.meridiem;if(c){for(var g=1;g<=24;g+=1)if(s.indexOf(c(g,0,a))>-1){f=g>12;break}}else f=s===(a?"pm":"PM");return f},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,f=s.match(/\d+/);if(this.day=f[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"),f=(m("monthsShort")||a.map(function(c){return c.slice(0,3)})).indexOf(s)+1;if(f<1)throw new Error;this.month=f%12||f}],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 v(s){var a,f;a=s,f=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||f[x]||u[x]||f[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),U=b.exec(H)[0];C.call(j,U),S=S.replace(U,"")}}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,f){f.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=f.Ls[D]),this.$d=function(H,U,z){try{if(["x","X"].indexOf(U)>-1)return new Date((U==="X"?1e3:1)*H);var Y=v(U)(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,G=ht||0,q=ut||0,J=dt||0;return K?new Date(Date.UTC(Z,$,_,V,G,q,J+60*K.offset*1e3)):z?new Date(Date.UTC(Z,$,_,V,G,q,J)):new Date(Z,$,_,V,G,q,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=f.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)}}})})(rt);var Tt=rt.exports;const Mt=n.getDefaultExportFromCjs(Tt);var st={exports:{}};(function(l,p){(function(u,d){l.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,v,s){var a=s&&s.toUpperCase();return v||y[s]||u[s]||y[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(f,c,g){return c||g.slice(1)})})}(o,i===void 0?{}:i);return r.call(this,h)}}})})(st);var gt=st.exports;const Dt=n.getDefaultExportFromCjs(gt);var nt={exports:{}};(function(l,p){(function(u,d){l.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))}}})})(nt);var Yt=nt.exports;const xt=n.getDefaultExportFromCjs(Yt),it=(l,p="warning")=>{let u=!1;const d=Array.isArray(l)?l.join(`
2
+ `):l;return()=>{u||(u=!0,p==="error"?console.error(d):console.warn(d))}};T.extend(Mt);T.extend(Dt);T.extend(xt);const Lt=it(["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"]),Pt={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"},Ot={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(`
3
+ `),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(`
4
+ `),wt=(l,p)=>p?(...u)=>l(...u).locale(p):l;class jt{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=Pt,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&&(Lt(),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);return((r=i.$offset)!=null?r:0)===((o=t.$offset)!=null?o:0)?t:i}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=wt((M=this.rawDayJsInstance)!=null?M:T,p),this.locale=p,this.formats=n._extends({},Ot,u),T.extend(yt)}}const kt=["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,kt),{utils:t,localeText:e}=(u=F.useContext(B))!=null?u:{utils:void 0,localeText:void 0},r=n.useThemeProps({props:M,name:"MuiLocalizationProvider"}),{children:o,dateAdapter:i,dateFormats:h,dateLibInstance:m,adapterLocale:y,localeText:w}=r,v=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(`
5
+ `));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]),f=F.useMemo(()=>({utils:s,defaultDates:a,localeText:v}),[a,s,v]);return tt.jsx(B.Provider,{value:f,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 bt=({adapterLocale:l="fr",...p})=>tt.jsx(X,{dateAdapter:jt,adapterLocale:l,...p});exports.LocalizationProvider=bt;exports.LocalizationProvider$1=X;exports.MuiPickersAdapterContext=B;exports.buildWarning=it;
@@ -1,10 +1,10 @@
1
1
  import { jsx as o, jsxs as A } from "react/jsx-runtime";
2
2
  import * as b from "react";
3
- import { g as T, s as I, c as S, a as L } from "./styled-CennO0rX.js";
4
- import { u as N, F as R, I as z } from "./InputBase-U35goXkW.js";
5
- import { g as M, _ as m, b as O, e as _, P as e, c as v } from "./useThemeProps-HgPikzOW.js";
6
- import { T as $ } from "./Typography-CMZpK-6k.js";
7
- import { c as j } from "./createSvgIcon-C2SxpGh8.js";
3
+ import { g as T, s as I, c as S, a as L } from "./styled-Cu97anhh.js";
4
+ import { u as N, F as R, I as z } from "./InputBase-D-C0U1Q3.js";
5
+ import { g as M, _ as m, b as O, e as _, P as e, c as v } from "./useThemeProps-HPaoKsTZ.js";
6
+ import { T as $ } from "./Typography-gyI1N9sP.js";
7
+ import { c as j } from "./createSvgIcon-D51qQ1iy.js";
8
8
  const F = j(/* @__PURE__ */ o("path", {
9
9
  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"
10
10
  }), "Search");
@@ -1,16 +1,16 @@
1
- import { g as me, c as Le, _ as b, b as ve, e as ae, P as t } from "./useThemeProps-HgPikzOW.js";
1
+ import { g as me, c as Le, _ as b, b as ve, e as ae, P as t } from "./useThemeProps-HPaoKsTZ.js";
2
2
  import * as d from "react";
3
- import { g as Se, s as D, c as L, a as ye, d as st } from "./styled-CennO0rX.js";
3
+ import { g as Se, s as D, c as L, a as ye, d as st } from "./styled-Cu97anhh.js";
4
4
  import { jsxs as Q, jsx as w } from "react/jsx-runtime";
5
- import { B as $e } from "./ButtonBase-DpD6huF3.js";
5
+ import { B as $e } from "./ButtonBase-Cj0VAGSo.js";
6
6
  import { u as at } from "./unsupportedProp-BuVD30Gh.js";
7
- import { u as ke } from "./useTheme-Dnkg8lL1.js";
7
+ import { u as ke } from "./useTheme-zz1qDqSf.js";
8
8
  import { u as it } from "./useForkRef-CQ5u1_mH.js";
9
9
  import { a as Fe, d as Ae, o as ct } from "./ownerWindow-C7EH1lr6.js";
10
10
  import { a as be } from "./useTimeout-CT5mhldn.js";
11
- import { r as dt } from "./refType-ONErEPrN.js";
12
- import { c as je } from "./createSvgIcon-C2SxpGh8.js";
13
- import { u as se } from "./useSlotProps-BojAgRB1.js";
11
+ import { r as dt } from "./refType-CRZJc9ll.js";
12
+ import { c as je } from "./createSvgIcon-D51qQ1iy.js";
13
+ import { u as se } from "./useSlotProps-BE7y-efU.js";
14
14
  let X;
15
15
  function De() {
16
16
  if (X)