@jnrs/shared 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/date-fns.cjs +11 -0
- package/dist/date-fns.cjs.map +1 -0
- package/dist/date-fns.d.ts +2 -0
- package/dist/date-fns.d.ts.map +1 -0
- package/dist/date-fns.js +2 -0
- package/dist/date-fns.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lodash.d.ts +5 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.cjs +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.js +8 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.cjs +14 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.js +12 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.cjs +35 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.js +33 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.cjs +55 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.js +50 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameWeek.cjs +57 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameWeek.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameWeek.js +52 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameWeek.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +13 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +11 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +67 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +65 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +62 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +60 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +25 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +23 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.cjs +201 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.js +199 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.cjs +45 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.js +43 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.cjs +16 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.js +14 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.cjs +196 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.js +194 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.cjs +139 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js +137 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.cjs +37 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js +32 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +106 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +104 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +44 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +42 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +16 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +14 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +192 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.js +190 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +137 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.js +135 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.cjs +34 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.js +29 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.cjs +106 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js +104 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.cjs +44 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js +42 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.cjs +30 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.js +28 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs +169 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.js +167 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.cjs +143 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.js +141 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.cjs +37 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.js +32 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.cjs +105 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js +103 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.cjs +44 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js +42 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.cjs +16 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js +14 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs +170 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js +168 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.cjs +138 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js +136 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.cjs +34 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js +29 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.cjs +120 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js +118 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.cjs +44 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js +42 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.cjs +17 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js +15 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs +182 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.js +180 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.cjs +123 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.js +121 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.cjs +37 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.js +32 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.cjs +106 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.js +104 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.cjs +44 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.js +42 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.cjs +16 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.js +14 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.cjs +172 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.js +170 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.cjs +120 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.js +118 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.cjs +35 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.js +30 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.cjs +251 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.js +249 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.cjs +41 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.js +39 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.cjs +93 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.js +91 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.cjs +215 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.js +213 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.cjs +143 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.js +141 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.cjs +34 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.js +29 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.cjs +106 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.js +104 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatLong.cjs +44 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatLong.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatLong.js +42 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.cjs +36 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.js +34 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/localize.cjs +188 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/localize.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/localize.js +186 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/localize.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/match.cjs +135 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/match.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/match.js +133 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/match.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN.cjs +37 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN.js +32 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.cjs +59 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.js +54 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.cjs +52 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.cjs.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.js +47 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.js.map +1 -0
- package/dist/utils/date.cjs +16 -9
- package/dist/utils/date.cjs.map +1 -1
- package/dist/utils/date.d.ts +10 -12
- package/dist/utils/date.js +8 -1
- package/dist/utils/date.js.map +1 -1
- package/dist/utils/fullscreen.d.ts +2 -3
- package/dist/uuid.d.ts +3 -1
- package/package.json +7 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const formatDistanceLocale = {
|
|
4
|
+
lessThanXSeconds: {
|
|
5
|
+
one: "moins d’une seconde",
|
|
6
|
+
other: "moins de {{count}} secondes",
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
xSeconds: {
|
|
10
|
+
one: "1 seconde",
|
|
11
|
+
other: "{{count}} secondes",
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
halfAMinute: "30 secondes",
|
|
15
|
+
|
|
16
|
+
lessThanXMinutes: {
|
|
17
|
+
one: "moins d’une minute",
|
|
18
|
+
other: "moins de {{count}} minutes",
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
xMinutes: {
|
|
22
|
+
one: "1 minute",
|
|
23
|
+
other: "{{count}} minutes",
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
aboutXHours: {
|
|
27
|
+
one: "environ 1 heure",
|
|
28
|
+
other: "environ {{count}} heures",
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
xHours: {
|
|
32
|
+
one: "1 heure",
|
|
33
|
+
other: "{{count}} heures",
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
xDays: {
|
|
37
|
+
one: "1 jour",
|
|
38
|
+
other: "{{count}} jours",
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
aboutXWeeks: {
|
|
42
|
+
one: "environ 1 semaine",
|
|
43
|
+
other: "environ {{count}} semaines",
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
xWeeks: {
|
|
47
|
+
one: "1 semaine",
|
|
48
|
+
other: "{{count}} semaines",
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
aboutXMonths: {
|
|
52
|
+
one: "environ 1 mois",
|
|
53
|
+
other: "environ {{count}} mois",
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
xMonths: {
|
|
57
|
+
one: "1 mois",
|
|
58
|
+
other: "{{count}} mois",
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
aboutXYears: {
|
|
62
|
+
one: "environ 1 an",
|
|
63
|
+
other: "environ {{count}} ans",
|
|
64
|
+
},
|
|
65
|
+
|
|
66
|
+
xYears: {
|
|
67
|
+
one: "1 an",
|
|
68
|
+
other: "{{count}} ans",
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
overXYears: {
|
|
72
|
+
one: "plus d’un an",
|
|
73
|
+
other: "plus de {{count}} ans",
|
|
74
|
+
},
|
|
75
|
+
|
|
76
|
+
almostXYears: {
|
|
77
|
+
one: "presqu’un an",
|
|
78
|
+
other: "presque {{count}} ans",
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const formatDistance = (token, count, options) => {
|
|
83
|
+
let result;
|
|
84
|
+
const form = formatDistanceLocale[token];
|
|
85
|
+
if (typeof form === "string") {
|
|
86
|
+
result = form;
|
|
87
|
+
} else if (count === 1) {
|
|
88
|
+
result = form.one;
|
|
89
|
+
} else {
|
|
90
|
+
result = form.other.replace("{{count}}", String(count));
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if (options?.addSuffix) {
|
|
94
|
+
if (options.comparison && options.comparison > 0) {
|
|
95
|
+
return "dans " + result;
|
|
96
|
+
} else {
|
|
97
|
+
return "il y a " + result;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return result;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
exports.formatDistance = formatDistance;
|
|
105
|
+
//# sourceMappingURL=formatDistance.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatDistance.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"moins d’une seconde\",\n other: \"moins de {{count}} secondes\",\n },\n\n xSeconds: {\n one: \"1 seconde\",\n other: \"{{count}} secondes\",\n },\n\n halfAMinute: \"30 secondes\",\n\n lessThanXMinutes: {\n one: \"moins d’une minute\",\n other: \"moins de {{count}} minutes\",\n },\n\n xMinutes: {\n one: \"1 minute\",\n other: \"{{count}} minutes\",\n },\n\n aboutXHours: {\n one: \"environ 1 heure\",\n other: \"environ {{count}} heures\",\n },\n\n xHours: {\n one: \"1 heure\",\n other: \"{{count}} heures\",\n },\n\n xDays: {\n one: \"1 jour\",\n other: \"{{count}} jours\",\n },\n\n aboutXWeeks: {\n one: \"environ 1 semaine\",\n other: \"environ {{count}} semaines\",\n },\n\n xWeeks: {\n one: \"1 semaine\",\n other: \"{{count}} semaines\",\n },\n\n aboutXMonths: {\n one: \"environ 1 mois\",\n other: \"environ {{count}} mois\",\n },\n\n xMonths: {\n one: \"1 mois\",\n other: \"{{count}} mois\",\n },\n\n aboutXYears: {\n one: \"environ 1 an\",\n other: \"environ {{count}} ans\",\n },\n\n xYears: {\n one: \"1 an\",\n other: \"{{count}} ans\",\n },\n\n overXYears: {\n one: \"plus d’un an\",\n other: \"plus de {{count}} ans\",\n },\n\n almostXYears: {\n one: \"presqu’un an\",\n other: \"presque {{count}} ans\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n const form = formatDistanceLocale[token];\n if (typeof form === \"string\") {\n result = form;\n } else if (count === 1) {\n result = form.one;\n } else {\n result = form.other.replace(\"{{count}}\", String(count));\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"dans \" + result;\n } else {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
|
+
lessThanXSeconds: {
|
|
3
|
+
one: "moins d’une seconde",
|
|
4
|
+
other: "moins de {{count}} secondes",
|
|
5
|
+
},
|
|
6
|
+
|
|
7
|
+
xSeconds: {
|
|
8
|
+
one: "1 seconde",
|
|
9
|
+
other: "{{count}} secondes",
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
halfAMinute: "30 secondes",
|
|
13
|
+
|
|
14
|
+
lessThanXMinutes: {
|
|
15
|
+
one: "moins d’une minute",
|
|
16
|
+
other: "moins de {{count}} minutes",
|
|
17
|
+
},
|
|
18
|
+
|
|
19
|
+
xMinutes: {
|
|
20
|
+
one: "1 minute",
|
|
21
|
+
other: "{{count}} minutes",
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
aboutXHours: {
|
|
25
|
+
one: "environ 1 heure",
|
|
26
|
+
other: "environ {{count}} heures",
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
xHours: {
|
|
30
|
+
one: "1 heure",
|
|
31
|
+
other: "{{count}} heures",
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
xDays: {
|
|
35
|
+
one: "1 jour",
|
|
36
|
+
other: "{{count}} jours",
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
aboutXWeeks: {
|
|
40
|
+
one: "environ 1 semaine",
|
|
41
|
+
other: "environ {{count}} semaines",
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
xWeeks: {
|
|
45
|
+
one: "1 semaine",
|
|
46
|
+
other: "{{count}} semaines",
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
aboutXMonths: {
|
|
50
|
+
one: "environ 1 mois",
|
|
51
|
+
other: "environ {{count}} mois",
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
xMonths: {
|
|
55
|
+
one: "1 mois",
|
|
56
|
+
other: "{{count}} mois",
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
aboutXYears: {
|
|
60
|
+
one: "environ 1 an",
|
|
61
|
+
other: "environ {{count}} ans",
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
xYears: {
|
|
65
|
+
one: "1 an",
|
|
66
|
+
other: "{{count}} ans",
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
overXYears: {
|
|
70
|
+
one: "plus d’un an",
|
|
71
|
+
other: "plus de {{count}} ans",
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
almostXYears: {
|
|
75
|
+
one: "presqu’un an",
|
|
76
|
+
other: "presque {{count}} ans",
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
const formatDistance = (token, count, options) => {
|
|
81
|
+
let result;
|
|
82
|
+
const form = formatDistanceLocale[token];
|
|
83
|
+
if (typeof form === "string") {
|
|
84
|
+
result = form;
|
|
85
|
+
} else if (count === 1) {
|
|
86
|
+
result = form.one;
|
|
87
|
+
} else {
|
|
88
|
+
result = form.other.replace("{{count}}", String(count));
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (options?.addSuffix) {
|
|
92
|
+
if (options.comparison && options.comparison > 0) {
|
|
93
|
+
return "dans " + result;
|
|
94
|
+
} else {
|
|
95
|
+
return "il y a " + result;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return result;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export { formatDistance };
|
|
103
|
+
//# sourceMappingURL=formatDistance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatDistance.js","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"moins d’une seconde\",\n other: \"moins de {{count}} secondes\",\n },\n\n xSeconds: {\n one: \"1 seconde\",\n other: \"{{count}} secondes\",\n },\n\n halfAMinute: \"30 secondes\",\n\n lessThanXMinutes: {\n one: \"moins d’une minute\",\n other: \"moins de {{count}} minutes\",\n },\n\n xMinutes: {\n one: \"1 minute\",\n other: \"{{count}} minutes\",\n },\n\n aboutXHours: {\n one: \"environ 1 heure\",\n other: \"environ {{count}} heures\",\n },\n\n xHours: {\n one: \"1 heure\",\n other: \"{{count}} heures\",\n },\n\n xDays: {\n one: \"1 jour\",\n other: \"{{count}} jours\",\n },\n\n aboutXWeeks: {\n one: \"environ 1 semaine\",\n other: \"environ {{count}} semaines\",\n },\n\n xWeeks: {\n one: \"1 semaine\",\n other: \"{{count}} semaines\",\n },\n\n aboutXMonths: {\n one: \"environ 1 mois\",\n other: \"environ {{count}} mois\",\n },\n\n xMonths: {\n one: \"1 mois\",\n other: \"{{count}} mois\",\n },\n\n aboutXYears: {\n one: \"environ 1 an\",\n other: \"environ {{count}} ans\",\n },\n\n xYears: {\n one: \"1 an\",\n other: \"{{count}} ans\",\n },\n\n overXYears: {\n one: \"plus d’un an\",\n other: \"plus de {{count}} ans\",\n },\n\n almostXYears: {\n one: \"presqu’un an\",\n other: \"presque {{count}} ans\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n const form = formatDistanceLocale[token];\n if (typeof form === \"string\") {\n result = form;\n } else if (count === 1) {\n result = form.one;\n } else {\n result = form.other.replace(\"{{count}}\", String(count));\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"dans \" + result;\n } else {\n return \"il y a \" + result;\n }\n }\n\n return result;\n};\n"],"names":[],"mappings":"AAAA,MAAM,oBAAoB,GAAG;AAC7B,EAAE,gBAAgB,EAAE;AACpB,IAAI,GAAG,EAAE,qBAAqB;AAC9B,IAAI,KAAK,EAAE,6BAA6B;AACxC,GAAG;;AAEH,EAAE,QAAQ,EAAE;AACZ,IAAI,GAAG,EAAE,WAAW;AACpB,IAAI,KAAK,EAAE,oBAAoB;AAC/B,GAAG;;AAEH,EAAE,WAAW,EAAE,aAAa;;AAE5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,GAAG,EAAE,oBAAoB;AAC7B,IAAI,KA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G;AACH,CAAC;;AAEW,MAAC,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,KAAK;AACzD,EAAE,IAAI,MAAM;AACZ,EAAE,MAAM,IAAI,GAAG,oBAAoB,CAAC,KAAK,CAAC;AAC1C,EAAE,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;AAChC,IAAI,MAAM,GAAG,IAAI;AACjB,EAAE,CAAC,MAAM,IAAI,KAAK,KAAK,CAAC,EAAE;AAC1B,IAAI,MAAM,GAAG,IAAI,CAAC,GAAG;AACrB,EAAE,CAAC,MAAM;AACT,IAAI,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;AAC3D,EAAE;;AAEF,EAAE,IAAI,OAAO,EAAE,SAAS,EAAE;AAC1B,IAAI,IAAI,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,UAAU,GAAG,CAAC,EAAE;AACtD,MAAM,OAAO,OAAO,GAAG,MAAM;AAC7B,IAAI,CAAC,MAAM;AACX,MAAM,OAAO,SAAS,GAAG,MAAM;AAC/B,IAAI;AACJ,EAAE;;AAEF,EAAE,OAAO,MAAM;AACf;;;;","x_google_ignoreList":[0]}
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.cjs
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var buildFormatLongFn = require('../../_lib/buildFormatLongFn.cjs');
|
|
4
|
+
|
|
5
|
+
const dateFormats = {
|
|
6
|
+
full: "EEEE d MMMM y",
|
|
7
|
+
long: "d MMMM y",
|
|
8
|
+
medium: "d MMM y",
|
|
9
|
+
short: "dd/MM/y",
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const timeFormats = {
|
|
13
|
+
full: "HH:mm:ss zzzz",
|
|
14
|
+
long: "HH:mm:ss z",
|
|
15
|
+
medium: "HH:mm:ss",
|
|
16
|
+
short: "HH:mm",
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const dateTimeFormats = {
|
|
20
|
+
full: "{{date}} 'à' {{time}}",
|
|
21
|
+
long: "{{date}} 'à' {{time}}",
|
|
22
|
+
medium: "{{date}}, {{time}}",
|
|
23
|
+
short: "{{date}}, {{time}}",
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const formatLong = {
|
|
27
|
+
date: buildFormatLongFn.buildFormatLongFn({
|
|
28
|
+
formats: dateFormats,
|
|
29
|
+
defaultWidth: "full",
|
|
30
|
+
}),
|
|
31
|
+
|
|
32
|
+
time: buildFormatLongFn.buildFormatLongFn({
|
|
33
|
+
formats: timeFormats,
|
|
34
|
+
defaultWidth: "full",
|
|
35
|
+
}),
|
|
36
|
+
|
|
37
|
+
dateTime: buildFormatLongFn.buildFormatLongFn({
|
|
38
|
+
formats: dateTimeFormats,
|
|
39
|
+
defaultWidth: "full",
|
|
40
|
+
}),
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
exports.formatLong = formatLong;
|
|
44
|
+
//# sourceMappingURL=formatLong.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatLong.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js"],"sourcesContent":["import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE d MMMM y\",\n long: \"d MMMM y\",\n medium: \"d MMM y\",\n short: \"dd/MM/y\",\n};\n\nconst timeFormats = {\n full: \"HH:mm:ss zzzz\",\n long: \"HH:mm:ss z\",\n medium: \"HH:mm:ss\",\n short: \"HH:mm\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} 'à' {{time}}\",\n long: \"{{date}} 'à' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n"],"names":["buildFormatLongFn"],"mappings":";;;;AAEA,MAAM,WAAW,GAAG;AACpB,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE,UAAU;AAClB,EAAE,MAAM,EAAE,SAAS;AACnB,EAAE,KAAK,EAAE,SAAS;AAClB,CAAC;;AAED,MAAM,WAAW,GAAG;AACpB,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE,YAAY;AACpB,EAAE,MAAM,EAAE,UAAU;AACpB,EAAE,KAAK,EAAE,OAAO;AAChB,CAAC;;AAED,MAAM,eAAe,GAAG;AACxB,EAAE,IAAI,EAAE,uBAAuB;AAC/B,EAAE,IAAI,EAAE,uBAAuB;AAC/B,EAAE,MAAM,EAAE,oBAAoB;AAC9B,EAAE,KAAK,EAAE,oBAAoB;AAC7B,CAAC;;AAEW,MAAC,UAAU,GAAG;AAC1B,EAAE,IAAI,EAAEA,mCAAiB,CAAC;AAC1B,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;;AAEJ,EAAE,IAAI,EAAEA,mCAAiB,CAAC;AAC1B,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;;AAEJ,EAAE,QAAQ,EAAEA,mCAAiB,CAAC;AAC9B,IAAI,OAAO,EAAE,eAAe;AAC5B,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { buildFormatLongFn } from '../../_lib/buildFormatLongFn.js';
|
|
2
|
+
|
|
3
|
+
const dateFormats = {
|
|
4
|
+
full: "EEEE d MMMM y",
|
|
5
|
+
long: "d MMMM y",
|
|
6
|
+
medium: "d MMM y",
|
|
7
|
+
short: "dd/MM/y",
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const timeFormats = {
|
|
11
|
+
full: "HH:mm:ss zzzz",
|
|
12
|
+
long: "HH:mm:ss z",
|
|
13
|
+
medium: "HH:mm:ss",
|
|
14
|
+
short: "HH:mm",
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const dateTimeFormats = {
|
|
18
|
+
full: "{{date}} 'à' {{time}}",
|
|
19
|
+
long: "{{date}} 'à' {{time}}",
|
|
20
|
+
medium: "{{date}}, {{time}}",
|
|
21
|
+
short: "{{date}}, {{time}}",
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const formatLong = {
|
|
25
|
+
date: buildFormatLongFn({
|
|
26
|
+
formats: dateFormats,
|
|
27
|
+
defaultWidth: "full",
|
|
28
|
+
}),
|
|
29
|
+
|
|
30
|
+
time: buildFormatLongFn({
|
|
31
|
+
formats: timeFormats,
|
|
32
|
+
defaultWidth: "full",
|
|
33
|
+
}),
|
|
34
|
+
|
|
35
|
+
dateTime: buildFormatLongFn({
|
|
36
|
+
formats: dateTimeFormats,
|
|
37
|
+
defaultWidth: "full",
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export { formatLong };
|
|
42
|
+
//# sourceMappingURL=formatLong.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatLong.js","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js"],"sourcesContent":["import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE d MMMM y\",\n long: \"d MMMM y\",\n medium: \"d MMM y\",\n short: \"dd/MM/y\",\n};\n\nconst timeFormats = {\n full: \"HH:mm:ss zzzz\",\n long: \"HH:mm:ss z\",\n medium: \"HH:mm:ss\",\n short: \"HH:mm\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} 'à' {{time}}\",\n long: \"{{date}} 'à' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n"],"names":[],"mappings":";;AAEA,MAAM,WAAW,GAAG;AACpB,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE,UAAU;AAClB,EAAE,MAAM,EAAE,SAAS;AACnB,EAAE,KAAK,EAAE,SAAS;AAClB,CAAC;;AAED,MAAM,WAAW,GAAG;AACpB,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE,YAAY;AACpB,EAAE,MAAM,EAAE,UAAU;AACpB,EAAE,KAAK,EAAE,OAAO;AAChB,CAAC;;AAED,MAAM,eAAe,GAAG;AACxB,EAAE,IAAI,EAAE,uBAAuB;AAC/B,EAAE,IAAI,EAAE,uBAAuB;AAC/B,EAAE,MAAM,EAAE,oBAAoB;AAC9B,EAAE,KAAK,EAAE,oBAAoB;AAC7B,CAAC;;AAEW,MAAC,UAAU,GAAG;AAC1B,EAAE,IAAI,EAAE,iBAAiB,CAAC;AAC1B,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;;AAEJ,EAAE,IAAI,EAAE,iBAAiB,CAAC;AAC1B,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;;AAEJ,EAAE,QAAQ,EAAE,iBAAiB,CAAC;AAC9B,IAAI,OAAO,EAAE,eAAe;AAC5B,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const formatRelativeLocale = {
|
|
4
|
+
lastWeek: "eeee 'dernier à' p",
|
|
5
|
+
yesterday: "'hier à' p",
|
|
6
|
+
today: "'aujourd’hui à' p",
|
|
7
|
+
tomorrow: "'demain à' p'",
|
|
8
|
+
nextWeek: "eeee 'prochain à' p",
|
|
9
|
+
other: "P",
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const formatRelative = (token, _date, _baseDate, _options) =>
|
|
13
|
+
formatRelativeLocale[token];
|
|
14
|
+
|
|
15
|
+
exports.formatRelative = formatRelative;
|
|
16
|
+
//# sourceMappingURL=formatRelative.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatRelative.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js"],"sourcesContent":["const formatRelativeLocale = {\n lastWeek: \"eeee 'dernier à' p\",\n yesterday: \"'hier à' p\",\n today: \"'aujourd’hui à' p\",\n tomorrow: \"'demain à' p'\",\n nextWeek: \"eeee 'prochain à' p\",\n other: \"P\",\n};\n\nexport const formatRelative = (token, _date, _baseDate, _options) =>\n formatRelativeLocale[token];\n"],"names":[],"mappings":";;AAAA,MAAM,oBAAoB,GAAG;AAC7B,EAAE,QAAQ,EAAE,oBAAoB;AAChC,EAAE,SAAS,EAAE,YAAY;AACzB,EAAE,KAAK,EAAE,mBAAmB;AAC5B,EAAE,QAAQ,EAAE,eAAe;AAC3B,EAAE,QAAQ,EAAE,qBAAqB;AACjC,EAAE,KAAK,EAAE,GAAG;AACZ,CAAC;;AAEW,MAAC,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ;AAChE,EAAE,oBAAoB,CAAC,KAAK;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const formatRelativeLocale = {
|
|
2
|
+
lastWeek: "eeee 'dernier à' p",
|
|
3
|
+
yesterday: "'hier à' p",
|
|
4
|
+
today: "'aujourd’hui à' p",
|
|
5
|
+
tomorrow: "'demain à' p'",
|
|
6
|
+
nextWeek: "eeee 'prochain à' p",
|
|
7
|
+
other: "P",
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const formatRelative = (token, _date, _baseDate, _options) =>
|
|
11
|
+
formatRelativeLocale[token];
|
|
12
|
+
|
|
13
|
+
export { formatRelative };
|
|
14
|
+
//# sourceMappingURL=formatRelative.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatRelative.js","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js"],"sourcesContent":["const formatRelativeLocale = {\n lastWeek: \"eeee 'dernier à' p\",\n yesterday: \"'hier à' p\",\n today: \"'aujourd’hui à' p\",\n tomorrow: \"'demain à' p'\",\n nextWeek: \"eeee 'prochain à' p\",\n other: \"P\",\n};\n\nexport const formatRelative = (token, _date, _baseDate, _options) =>\n formatRelativeLocale[token];\n"],"names":[],"mappings":"AAAA,MAAM,oBAAoB,GAAG;AAC7B,EAAE,QAAQ,EAAE,oBAAoB;AAChC,EAAE,SAAS,EAAE,YAAY;AACzB,EAAE,KAAK,EAAE,mBAAmB;AAC5B,EAAE,QAAQ,EAAE,eAAe;AAC3B,EAAE,QAAQ,EAAE,qBAAqB;AACjC,EAAE,KAAK,EAAE,GAAG;AACZ,CAAC;;AAEW,MAAC,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ;AAChE,EAAE,oBAAoB,CAAC,KAAK;;;;","x_google_ignoreList":[0]}
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var buildLocalizeFn = require('../../_lib/buildLocalizeFn.cjs');
|
|
4
|
+
|
|
5
|
+
const eraValues = {
|
|
6
|
+
narrow: ["av. J.-C", "ap. J.-C"],
|
|
7
|
+
abbreviated: ["av. J.-C", "ap. J.-C"],
|
|
8
|
+
wide: ["avant Jésus-Christ", "après Jésus-Christ"],
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const quarterValues = {
|
|
12
|
+
narrow: ["T1", "T2", "T3", "T4"],
|
|
13
|
+
abbreviated: ["1er trim.", "2ème trim.", "3ème trim.", "4ème trim."],
|
|
14
|
+
wide: ["1er trimestre", "2ème trimestre", "3ème trimestre", "4ème trimestre"],
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const monthValues = {
|
|
18
|
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
19
|
+
abbreviated: [
|
|
20
|
+
"janv.",
|
|
21
|
+
"févr.",
|
|
22
|
+
"mars",
|
|
23
|
+
"avr.",
|
|
24
|
+
"mai",
|
|
25
|
+
"juin",
|
|
26
|
+
"juil.",
|
|
27
|
+
"août",
|
|
28
|
+
"sept.",
|
|
29
|
+
"oct.",
|
|
30
|
+
"nov.",
|
|
31
|
+
"déc.",
|
|
32
|
+
],
|
|
33
|
+
|
|
34
|
+
wide: [
|
|
35
|
+
"janvier",
|
|
36
|
+
"février",
|
|
37
|
+
"mars",
|
|
38
|
+
"avril",
|
|
39
|
+
"mai",
|
|
40
|
+
"juin",
|
|
41
|
+
"juillet",
|
|
42
|
+
"août",
|
|
43
|
+
"septembre",
|
|
44
|
+
"octobre",
|
|
45
|
+
"novembre",
|
|
46
|
+
"décembre",
|
|
47
|
+
],
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
const dayValues = {
|
|
51
|
+
narrow: ["D", "L", "M", "M", "J", "V", "S"],
|
|
52
|
+
short: ["di", "lu", "ma", "me", "je", "ve", "sa"],
|
|
53
|
+
abbreviated: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
|
|
54
|
+
|
|
55
|
+
wide: [
|
|
56
|
+
"dimanche",
|
|
57
|
+
"lundi",
|
|
58
|
+
"mardi",
|
|
59
|
+
"mercredi",
|
|
60
|
+
"jeudi",
|
|
61
|
+
"vendredi",
|
|
62
|
+
"samedi",
|
|
63
|
+
],
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const dayPeriodValues = {
|
|
67
|
+
narrow: {
|
|
68
|
+
am: "AM",
|
|
69
|
+
pm: "PM",
|
|
70
|
+
midnight: "minuit",
|
|
71
|
+
noon: "midi",
|
|
72
|
+
morning: "mat.",
|
|
73
|
+
afternoon: "ap.m.",
|
|
74
|
+
evening: "soir",
|
|
75
|
+
night: "mat.",
|
|
76
|
+
},
|
|
77
|
+
abbreviated: {
|
|
78
|
+
am: "AM",
|
|
79
|
+
pm: "PM",
|
|
80
|
+
midnight: "minuit",
|
|
81
|
+
noon: "midi",
|
|
82
|
+
morning: "matin",
|
|
83
|
+
afternoon: "après-midi",
|
|
84
|
+
evening: "soir",
|
|
85
|
+
night: "matin",
|
|
86
|
+
},
|
|
87
|
+
wide: {
|
|
88
|
+
am: "AM",
|
|
89
|
+
pm: "PM",
|
|
90
|
+
midnight: "minuit",
|
|
91
|
+
noon: "midi",
|
|
92
|
+
morning: "du matin",
|
|
93
|
+
afternoon: "de l’après-midi",
|
|
94
|
+
evening: "du soir",
|
|
95
|
+
night: "du matin",
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
const ordinalNumber = (dirtyNumber, options) => {
|
|
100
|
+
const number = Number(dirtyNumber);
|
|
101
|
+
const unit = options?.unit;
|
|
102
|
+
|
|
103
|
+
if (number === 0) return "0";
|
|
104
|
+
|
|
105
|
+
const feminineUnits = ["year", "week", "hour", "minute", "second"];
|
|
106
|
+
let suffix;
|
|
107
|
+
|
|
108
|
+
if (number === 1) {
|
|
109
|
+
suffix = unit && feminineUnits.includes(unit) ? "ère" : "er";
|
|
110
|
+
} else {
|
|
111
|
+
suffix = "ème";
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return number + suffix;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
const LONG_MONTHS_TOKENS = ["MMM", "MMMM"];
|
|
118
|
+
|
|
119
|
+
const localize = {
|
|
120
|
+
preprocessor: (date, parts) => {
|
|
121
|
+
// Replaces the `do` tokens with `d` when used with long month tokens and the day of the month is greater than one.
|
|
122
|
+
// Use case "do MMMM" => 1er août, 29 août
|
|
123
|
+
// see https://github.com/date-fns/date-fns/issues/1391
|
|
124
|
+
|
|
125
|
+
if (date.getDate() === 1) return parts;
|
|
126
|
+
|
|
127
|
+
const hasLongMonthToken = parts.some(
|
|
128
|
+
(part) => part.isToken && LONG_MONTHS_TOKENS.includes(part.value),
|
|
129
|
+
);
|
|
130
|
+
|
|
131
|
+
if (!hasLongMonthToken) return parts;
|
|
132
|
+
|
|
133
|
+
return parts.map((part) =>
|
|
134
|
+
part.isToken && part.value === "do"
|
|
135
|
+
? { isToken: true, value: "d" }
|
|
136
|
+
: part,
|
|
137
|
+
);
|
|
138
|
+
},
|
|
139
|
+
|
|
140
|
+
ordinalNumber,
|
|
141
|
+
|
|
142
|
+
era: buildLocalizeFn.buildLocalizeFn({
|
|
143
|
+
values: eraValues,
|
|
144
|
+
defaultWidth: "wide",
|
|
145
|
+
}),
|
|
146
|
+
|
|
147
|
+
quarter: buildLocalizeFn.buildLocalizeFn({
|
|
148
|
+
values: quarterValues,
|
|
149
|
+
defaultWidth: "wide",
|
|
150
|
+
argumentCallback: (quarter) => quarter - 1,
|
|
151
|
+
}),
|
|
152
|
+
|
|
153
|
+
month: buildLocalizeFn.buildLocalizeFn({
|
|
154
|
+
values: monthValues,
|
|
155
|
+
defaultWidth: "wide",
|
|
156
|
+
}),
|
|
157
|
+
|
|
158
|
+
day: buildLocalizeFn.buildLocalizeFn({
|
|
159
|
+
values: dayValues,
|
|
160
|
+
defaultWidth: "wide",
|
|
161
|
+
}),
|
|
162
|
+
|
|
163
|
+
dayPeriod: buildLocalizeFn.buildLocalizeFn({
|
|
164
|
+
values: dayPeriodValues,
|
|
165
|
+
defaultWidth: "wide",
|
|
166
|
+
}),
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
exports.localize = localize;
|
|
170
|
+
//# sourceMappingURL=localize.cjs.map
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localize.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js"],"sourcesContent":["import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\n\nconst eraValues = {\n narrow: [\"av. J.-C\", \"ap. J.-C\"],\n abbreviated: [\"av. J.-C\", \"ap. J.-C\"],\n wide: [\"avant Jésus-Christ\", \"après Jésus-Christ\"],\n};\n\nconst quarterValues = {\n narrow: [\"T1\", \"T2\", \"T3\", \"T4\"],\n abbreviated: [\"1er trim.\", \"2ème trim.\", \"3ème trim.\", \"4ème trim.\"],\n wide: [\"1er trimestre\", \"2ème trimestre\", \"3ème trimestre\", \"4ème trimestre\"],\n};\n\nconst monthValues = {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n abbreviated: [\n \"janv.\",\n \"févr.\",\n \"mars\",\n \"avr.\",\n \"mai\",\n \"juin\",\n \"juil.\",\n \"août\",\n \"sept.\",\n \"oct.\",\n \"nov.\",\n \"déc.\",\n ],\n\n wide: [\n \"janvier\",\n \"février\",\n \"mars\",\n \"avril\",\n \"mai\",\n \"juin\",\n \"juillet\",\n \"août\",\n \"septembre\",\n \"octobre\",\n \"novembre\",\n \"décembre\",\n ],\n};\n\nconst dayValues = {\n narrow: [\"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\"],\n short: [\"di\", \"lu\", \"ma\", \"me\", \"je\", \"ve\", \"sa\"],\n abbreviated: [\"dim.\", \"lun.\", \"mar.\", \"mer.\", \"jeu.\", \"ven.\", \"sam.\"],\n\n wide: [\n \"dimanche\",\n \"lundi\",\n \"mardi\",\n \"mercredi\",\n \"jeudi\",\n \"vendredi\",\n \"samedi\",\n ],\n};\n\nconst dayPeriodValues = {\n narrow: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"minuit\",\n noon: \"midi\",\n morning: \"mat.\",\n afternoon: \"ap.m.\",\n evening: \"soir\",\n night: \"mat.\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"minuit\",\n noon: \"midi\",\n morning: \"matin\",\n afternoon: \"après-midi\",\n evening: \"soir\",\n night: \"matin\",\n },\n wide: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"minuit\",\n noon: \"midi\",\n morning: \"du matin\",\n afternoon: \"de l’après-midi\",\n evening: \"du soir\",\n night: \"du matin\",\n },\n};\n\nconst ordinalNumber = (dirtyNumber, options) => {\n const number = Number(dirtyNumber);\n const unit = options?.unit;\n\n if (number === 0) return \"0\";\n\n const feminineUnits = [\"year\", \"week\", \"hour\", \"minute\", \"second\"];\n let suffix;\n\n if (number === 1) {\n suffix = unit && feminineUnits.includes(unit) ? \"ère\" : \"er\";\n } else {\n suffix = \"ème\";\n }\n\n return number + suffix;\n};\n\nconst LONG_MONTHS_TOKENS = [\"MMM\", \"MMMM\"];\n\nexport const localize = {\n preprocessor: (date, parts) => {\n // Replaces the `do` tokens with `d` when used with long month tokens and the day of the month is greater than one.\n // Use case \"do MMMM\" => 1er août, 29 août\n // see https://github.com/date-fns/date-fns/issues/1391\n\n if (date.getDate() === 1) return parts;\n\n const hasLongMonthToken = parts.some(\n (part) => part.isToken && LONG_MONTHS_TOKENS.includes(part.value),\n );\n\n if (!hasLongMonthToken) return parts;\n\n return parts.map((part) =>\n part.isToken && part.value === \"do\"\n ? { isToken: true, value: \"d\" }\n : part,\n );\n },\n\n ordinalNumber,\n\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\",\n }),\n\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1,\n }),\n\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n }),\n\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n }),\n\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n }),\n};\n"],"names":["buildLocalizeFn"],"mappings":";;;;AAEA,MAAM,SAAS,GAAG;AAClB,EAAE,MAAM,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;AAClC,EAAE,WAAW,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;AACvC,EAAE,IAAI,EAAE,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;AACpD,CAAC;;AAED,MAAM,aAAa,GAAG;AACtB,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AAClC,EAAE,WAAW,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC;AACtE,EAAE,IAAI,EAAE,CAAC,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,CAAC;AAC/E,CAAC;;AAED,MAAM,WAAW,GAAG;AACpB,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;AACtE,EAAE,WAAW,EAAE;AACf,IAAI,OAAO;AACX,IAAI,OAAO;AACX,IAAI,MAAM;AACV,IA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