@jnrs/shared 1.1.1 → 1.1.3
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/README.md +15 -1
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/locales/en.cjs +62 -0
- package/dist/locales/en.cjs.map +1 -0
- package/dist/locales/en.d.ts +57 -0
- package/dist/locales/en.d.ts.map +1 -0
- package/dist/locales/en.js +58 -0
- package/dist/locales/en.js.map +1 -0
- package/dist/locales/index.cjs +26 -0
- package/dist/locales/index.cjs.map +1 -0
- package/dist/locales/index.d.ts +6 -0
- package/dist/locales/index.d.ts.map +1 -0
- package/dist/locales/index.js +21 -0
- package/dist/locales/index.js.map +1 -0
- package/dist/locales/zhCn.cjs +62 -0
- package/dist/locales/zhCn.cjs.map +1 -0
- package/dist/locales/zhCn.d.ts +57 -0
- package/dist/locales/zhCn.d.ts.map +1 -0
- package/dist/locales/zhCn.js +58 -0
- package/dist/locales/zhCn.js.map +1 -0
- package/dist/mitt.cjs +10 -0
- package/dist/mitt.cjs.map +1 -0
- package/dist/mitt.d.ts +3 -0
- package/dist/mitt.d.ts.map +1 -0
- package/dist/mitt.js +6 -0
- package/dist/mitt.js.map +1 -0
- package/dist/styles/theme.scss +52 -0
- package/dist/types/base.d.ts +39 -0
- package/dist/types/base.d.ts.map +1 -0
- package/dist/utils/date.cjs +6 -17
- package/dist/utils/date.cjs.map +1 -1
- package/dist/utils/date.d.ts +3 -9
- package/dist/utils/date.d.ts.map +1 -1
- package/dist/utils/date.js +6 -17
- package/dist/utils/date.js.map +1 -1
- package/dist/utils/dict.cjs +66 -0
- package/dist/utils/dict.cjs.map +1 -0
- package/dist/utils/dict.d.ts +40 -0
- package/dist/utils/dict.d.ts.map +1 -0
- package/dist/utils/dict.js +61 -0
- package/dist/utils/dict.js.map +1 -0
- package/dist/utils/fullscreen.cjs +4 -2
- package/dist/utils/fullscreen.cjs.map +1 -1
- package/dist/utils/fullscreen.d.ts.map +1 -1
- package/dist/utils/fullscreen.js +4 -2
- package/dist/utils/fullscreen.js.map +1 -1
- package/dist/utils/validate.cjs +326 -0
- package/dist/utils/validate.cjs.map +1 -0
- package/dist/utils/validate.d.ts +110 -0
- package/dist/utils/validate.d.ts.map +1 -0
- package/dist/utils/validate.js +281 -0
- package/dist/utils/validate.js.map +1 -0
- package/dist/utils/validator.cjs +174 -0
- package/dist/utils/validator.cjs.map +1 -0
- package/dist/utils/validator.d.ts +99 -0
- package/dist/utils/validator.d.ts.map +1 -0
- package/dist/utils/validator.js +129 -0
- package/dist/utils/validator.js.map +1 -0
- package/package.json +25 -4
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.cjs +0 -201
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.js +0 -199
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.js +0 -43
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.cjs +0 -16
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.js +0 -14
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.cjs +0 -196
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.js +0 -194
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.cjs +0 -139
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js +0 -137
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.cjs +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js +0 -32
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.cjs +0 -106
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js +0 -104
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.cjs +0 -30
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.js +0 -28
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs +0 -169
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.js +0 -167
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.cjs +0 -143
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.js +0 -141
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.cjs +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.js +0 -32
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.cjs +0 -105
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js +0 -103
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.cjs +0 -16
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js +0 -14
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs +0 -170
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js +0 -168
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.cjs +0 -138
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js +0 -136
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.cjs +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js +0 -29
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.cjs +0 -120
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js +0 -118
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.cjs +0 -17
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js +0 -15
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs +0 -182
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.js +0 -180
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.cjs +0 -123
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.js +0 -121
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.cjs +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.js +0 -32
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.cjs +0 -106
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.js +0 -104
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.cjs +0 -16
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.js +0 -14
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.cjs +0 -172
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.js +0 -170
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.cjs +0 -120
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.js +0 -118
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.cjs +0 -35
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.js +0 -30
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.cjs +0 -251
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.js +0 -249
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.cjs +0 -41
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.js +0 -39
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.cjs +0 -93
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.js +0 -91
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.cjs +0 -215
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.js +0 -213
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.cjs +0 -143
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.js +0 -141
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.cjs +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.js +0 -29
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.js.map +0 -1
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"match.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js"],"sourcesContent":["import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\n\nconst matchOrdinalNumberPattern = /^(\\d+)(\\.)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\n\nconst matchEraPatterns = {\n narrow: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n abbreviated: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i,\n};\nconst parseEraPatterns = {\n any: [/^v/i, /^n/i],\n};\n\nconst matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](\\.)? Quartal/i,\n};\nconst parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i],\n};\n\nconst matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated:\n /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\\.?/i,\n wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i,\n};\nconst parseMonthPatterns = {\n narrow: [\n /^j/i,\n /^f/i,\n /^m/i,\n /^a/i,\n /^m/i,\n /^j/i,\n /^j/i,\n /^a/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n\n any: [\n /^j[aä]/i,\n /^f/i,\n /^mär/i,\n /^ap/i,\n /^mai/i,\n /^jun/i,\n /^jul/i,\n /^au/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n};\n\nconst matchDayPatterns = {\n narrow: /^[smdmf]/i,\n short: /^(so|mo|di|mi|do|fr|sa)/i,\n abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\\.?/i,\n wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i,\n};\nconst parseDayPatterns = {\n any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i],\n};\n\nconst matchDayPeriodPatterns = {\n narrow: /^(vm\\.?|nm\\.?|Mitternacht|Mittag|morgens|nachm\\.?|abends|nachts)/i,\n abbreviated:\n /^(vorm\\.?|nachm\\.?|Mitternacht|Mittag|morgens|nachm\\.?|abends|nachts)/i,\n wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i,\n};\nconst parseDayPeriodPatterns = {\n any: {\n am: /^v/i,\n pm: /^n/i,\n midnight: /^Mitte/i,\n noon: /^Mitta/i,\n morning: /morgens/i,\n afternoon: /nachmittags/i, // will never be matched. Afternoon is matched by `pm`\n evening: /abends/i,\n night: /nachts/i, // will never be matched. Night is matched by `pm`\n },\n};\n\nexport const match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value),\n }),\n\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\",\n }),\n\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1,\n }),\n\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\",\n }),\n\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\",\n }),\n\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\",\n }),\n};\n"],"names":["buildMatchPatternFn","buildMatchFn"],"mappings":";;;;;AAGA,MAAM,yBAAyB,GAAG,cAAc;AAChD,MAAM,yBAAyB,GAAG,MAAM;;AAExC,MA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,iBAAiB,EAAE,KAAK;AAC5B,IAAI,aAAa,EAAE,CAAC,KAAK,KAAK,KAAK,GAAG,CAAC;AACvC,GAAG,CAAC;;AAEJ,EAAE,KAAK,EAAEA,yBAAY,CAAC;AACtB,IAAI,aAAa,EAAE,kBAAkB;AACrC,IAAI,iBAAiB,EAAE,MAAM;AAC7B,IAAI,aAAa,EAAE,kBAAkB;AACrC,IAAI,iBAAiB,EAAE,KAAK;AAC5B,GAAG,CAAC;;AAEJ,EAAE,GAAG,EAAEA,yBAAY,CAAC;AACpB,IAAI,aAAa,EAAE,gBAAgB;AACnC,IAAI,iBAAiB,EAAE,MAAM;AAC7B,IAAI,aAAa,EAAE,gBAAgB;AACnC,IAAI,iBAAiB,EAAE,KAAK;AAC5B,GAAG,CAAC;;AAEJ,EAAE,SAAS,EAAEA,yBAAY,CAAC;AAC1B,IAAI,aAAa,EAAE,sBAAsB;AACzC,IAAI,iBAAiB,EAAE,MAAM;AAC7B,IAAI,aAAa,EAAE,sBAAsB;AACzC,IAAI,iBAAiB,EAAE,KAAK;AAC5B,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { buildMatchFn } from '../../_lib/buildMatchFn.js';
|
|
2
|
-
import { buildMatchPatternFn } from '../../_lib/buildMatchPatternFn.js';
|
|
3
|
-
|
|
4
|
-
const matchOrdinalNumberPattern = /^(\d+)(\.)?/i;
|
|
5
|
-
const parseOrdinalNumberPattern = /\d+/i;
|
|
6
|
-
|
|
7
|
-
const matchEraPatterns = {
|
|
8
|
-
narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
9
|
-
abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
10
|
-
wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i,
|
|
11
|
-
};
|
|
12
|
-
const parseEraPatterns = {
|
|
13
|
-
any: [/^v/i, /^n/i],
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const matchQuarterPatterns = {
|
|
17
|
-
narrow: /^[1234]/i,
|
|
18
|
-
abbreviated: /^q[1234]/i,
|
|
19
|
-
wide: /^[1234](\.)? Quartal/i,
|
|
20
|
-
};
|
|
21
|
-
const parseQuarterPatterns = {
|
|
22
|
-
any: [/1/i, /2/i, /3/i, /4/i],
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const matchMonthPatterns = {
|
|
26
|
-
narrow: /^[jfmasond]/i,
|
|
27
|
-
abbreviated:
|
|
28
|
-
/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,
|
|
29
|
-
wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i,
|
|
30
|
-
};
|
|
31
|
-
const parseMonthPatterns = {
|
|
32
|
-
narrow: [
|
|
33
|
-
/^j/i,
|
|
34
|
-
/^f/i,
|
|
35
|
-
/^m/i,
|
|
36
|
-
/^a/i,
|
|
37
|
-
/^m/i,
|
|
38
|
-
/^j/i,
|
|
39
|
-
/^j/i,
|
|
40
|
-
/^a/i,
|
|
41
|
-
/^s/i,
|
|
42
|
-
/^o/i,
|
|
43
|
-
/^n/i,
|
|
44
|
-
/^d/i,
|
|
45
|
-
],
|
|
46
|
-
|
|
47
|
-
any: [
|
|
48
|
-
/^j[aä]/i,
|
|
49
|
-
/^f/i,
|
|
50
|
-
/^mär/i,
|
|
51
|
-
/^ap/i,
|
|
52
|
-
/^mai/i,
|
|
53
|
-
/^jun/i,
|
|
54
|
-
/^jul/i,
|
|
55
|
-
/^au/i,
|
|
56
|
-
/^s/i,
|
|
57
|
-
/^o/i,
|
|
58
|
-
/^n/i,
|
|
59
|
-
/^d/i,
|
|
60
|
-
],
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
const matchDayPatterns = {
|
|
64
|
-
narrow: /^[smdmf]/i,
|
|
65
|
-
short: /^(so|mo|di|mi|do|fr|sa)/i,
|
|
66
|
-
abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,
|
|
67
|
-
wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i,
|
|
68
|
-
};
|
|
69
|
-
const parseDayPatterns = {
|
|
70
|
-
any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i],
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const matchDayPeriodPatterns = {
|
|
74
|
-
narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
75
|
-
abbreviated:
|
|
76
|
-
/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
77
|
-
wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i,
|
|
78
|
-
};
|
|
79
|
-
const parseDayPeriodPatterns = {
|
|
80
|
-
any: {
|
|
81
|
-
am: /^v/i,
|
|
82
|
-
pm: /^n/i,
|
|
83
|
-
midnight: /^Mitte/i,
|
|
84
|
-
noon: /^Mitta/i,
|
|
85
|
-
morning: /morgens/i,
|
|
86
|
-
afternoon: /nachmittags/i, // will never be matched. Afternoon is matched by `pm`
|
|
87
|
-
evening: /abends/i,
|
|
88
|
-
night: /nachts/i, // will never be matched. Night is matched by `pm`
|
|
89
|
-
},
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
const match = {
|
|
93
|
-
ordinalNumber: buildMatchPatternFn({
|
|
94
|
-
matchPattern: matchOrdinalNumberPattern,
|
|
95
|
-
parsePattern: parseOrdinalNumberPattern,
|
|
96
|
-
valueCallback: (value) => parseInt(value),
|
|
97
|
-
}),
|
|
98
|
-
|
|
99
|
-
era: buildMatchFn({
|
|
100
|
-
matchPatterns: matchEraPatterns,
|
|
101
|
-
defaultMatchWidth: "wide",
|
|
102
|
-
parsePatterns: parseEraPatterns,
|
|
103
|
-
defaultParseWidth: "any",
|
|
104
|
-
}),
|
|
105
|
-
|
|
106
|
-
quarter: buildMatchFn({
|
|
107
|
-
matchPatterns: matchQuarterPatterns,
|
|
108
|
-
defaultMatchWidth: "wide",
|
|
109
|
-
parsePatterns: parseQuarterPatterns,
|
|
110
|
-
defaultParseWidth: "any",
|
|
111
|
-
valueCallback: (index) => index + 1,
|
|
112
|
-
}),
|
|
113
|
-
|
|
114
|
-
month: buildMatchFn({
|
|
115
|
-
matchPatterns: matchMonthPatterns,
|
|
116
|
-
defaultMatchWidth: "wide",
|
|
117
|
-
parsePatterns: parseMonthPatterns,
|
|
118
|
-
defaultParseWidth: "any",
|
|
119
|
-
}),
|
|
120
|
-
|
|
121
|
-
day: buildMatchFn({
|
|
122
|
-
matchPatterns: matchDayPatterns,
|
|
123
|
-
defaultMatchWidth: "wide",
|
|
124
|
-
parsePatterns: parseDayPatterns,
|
|
125
|
-
defaultParseWidth: "any",
|
|
126
|
-
}),
|
|
127
|
-
|
|
128
|
-
dayPeriod: buildMatchFn({
|
|
129
|
-
matchPatterns: matchDayPeriodPatterns,
|
|
130
|
-
defaultMatchWidth: "wide",
|
|
131
|
-
parsePatterns: parseDayPeriodPatterns,
|
|
132
|
-
defaultParseWidth: "any",
|
|
133
|
-
}),
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
export { match };
|
|
137
|
-
//# sourceMappingURL=match.js.map
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"match.js","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js"],"sourcesContent":["import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\n\nconst matchOrdinalNumberPattern = /^(\\d+)(\\.)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\n\nconst matchEraPatterns = {\n narrow: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n abbreviated: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i,\n};\nconst parseEraPatterns = {\n any: [/^v/i, /^n/i],\n};\n\nconst matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](\\.)? Quartal/i,\n};\nconst parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i],\n};\n\nconst matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated:\n /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\\.?/i,\n wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i,\n};\nconst parseMonthPatterns = {\n narrow: [\n /^j/i,\n /^f/i,\n /^m/i,\n /^a/i,\n /^m/i,\n /^j/i,\n /^j/i,\n /^a/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n\n any: [\n /^j[aä]/i,\n /^f/i,\n /^mär/i,\n /^ap/i,\n /^mai/i,\n /^jun/i,\n /^jul/i,\n /^au/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n};\n\nconst matchDayPatterns = {\n narrow: /^[smdmf]/i,\n short: /^(so|mo|di|mi|do|fr|sa)/i,\n abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\\.?/i,\n wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i,\n};\nconst parseDayPatterns = {\n any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i],\n};\n\nconst matchDayPeriodPatterns = {\n narrow: /^(vm\\.?|nm\\.?|Mitternacht|Mittag|morgens|nachm\\.?|abends|nachts)/i,\n abbreviated:\n /^(vorm\\.?|nachm\\.?|Mitternacht|Mittag|morgens|nachm\\.?|abends|nachts)/i,\n wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i,\n};\nconst parseDayPeriodPatterns = {\n any: {\n am: /^v/i,\n pm: /^n/i,\n midnight: /^Mitte/i,\n noon: /^Mitta/i,\n morning: /morgens/i,\n afternoon: /nachmittags/i, // will never be matched. Afternoon is matched by `pm`\n evening: /abends/i,\n night: /nachts/i, // will never be matched. Night is matched by `pm`\n },\n};\n\nexport const match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value),\n }),\n\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\",\n }),\n\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1,\n }),\n\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\",\n }),\n\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\",\n }),\n\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\",\n }),\n};\n"],"names":[],"mappings":";;;AAGA,MAAM,yBAAyB,GAAG,cAAc;AAChD,MAAM,yBAAyB,GAAG,MAAM;;AAExC,MAAM,gBAAgB,GAAG;AACzB,EAAE,MAAM,EAAE,+BAA+B;AACzC,EAAE,WAAW,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G,CAAC;AACvC,GAAG,CAAC;;AAEJ,EAAE,KAAK,EAAE,YAAY,CAAC;AACtB,IAAI,aAAa,EAAE,kBAAkB;AACrC,IAAI,iBAAiB,EAAE,MAAM;AAC7B,IAAI,aAAa,EAAE,kBAAkB;AACrC,IAAI,iBAAiB,EAAE,KAAK;AAC5B,GAAG,CAAC;;AAEJ,EAAE,GAAG,EAAE,YAAY,CAAC;AACpB,IAAI,aAAa,EAAE,gBAAgB;AACnC,IAAI,iBAAiB,EAAE,MAAM;AAC7B,IAAI,aAAa,EAAE,gBAAgB;AACnC,IAAI,iBAAiB,EAAE,KAAK;AAC5B,GAAG,CAAC;;AAEJ,EAAE,SAAS,EAAE,YAAY,CAAC;AAC1B,IAAI,aAAa,EAAE,sBAAsB;AACzC,IAAI,iBAAiB,EAAE,MAAM;AAC7B,IAAI,aAAa,EAAE,sBAAsB;AACzC,IAAI,iBAAiB,EAAE,KAAK;AAC5B,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var formatDistance = require('./de/_lib/formatDistance.cjs');
|
|
6
|
-
var formatLong = require('./de/_lib/formatLong.cjs');
|
|
7
|
-
var formatRelative = require('./de/_lib/formatRelative.cjs');
|
|
8
|
-
var localize = require('./de/_lib/localize.cjs');
|
|
9
|
-
var match = require('./de/_lib/match.cjs');
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @category Locales
|
|
13
|
-
* @summary German locale.
|
|
14
|
-
* @language German
|
|
15
|
-
* @iso-639-2 deu
|
|
16
|
-
* @author Thomas Eilmsteiner [@DeMuu](https://github.com/DeMuu)
|
|
17
|
-
* @author Asia [@asia-t](https://github.com/asia-t)
|
|
18
|
-
* @author Van Vuong Ngo [@vanvuongngo](https://github.com/vanvuongngo)
|
|
19
|
-
* @author RomanErnst [@pex](https://github.com/pex)
|
|
20
|
-
* @author Philipp Keck [@Philipp91](https://github.com/Philipp91)
|
|
21
|
-
*/
|
|
22
|
-
const de = {
|
|
23
|
-
code: "de",
|
|
24
|
-
formatDistance: formatDistance.formatDistance,
|
|
25
|
-
formatLong: formatLong.formatLong,
|
|
26
|
-
formatRelative: formatRelative.formatRelative,
|
|
27
|
-
localize: localize.localize,
|
|
28
|
-
match: match.match,
|
|
29
|
-
options: {
|
|
30
|
-
weekStartsOn: 1 /* Monday */,
|
|
31
|
-
firstWeekContainsDate: 4,
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
exports.de = de;
|
|
36
|
-
exports.default = de;
|
|
37
|
-
//# sourceMappingURL=de.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"de.cjs","sources":["../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js"],"sourcesContent":["import { formatDistance } from \"./de/_lib/formatDistance.js\";\nimport { formatLong } from \"./de/_lib/formatLong.js\";\nimport { formatRelative } from \"./de/_lib/formatRelative.js\";\nimport { localize } from \"./de/_lib/localize.js\";\nimport { match } from \"./de/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary German locale.\n * @language German\n * @iso-639-2 deu\n * @author Thomas Eilmsteiner [@DeMuu](https://github.com/DeMuu)\n * @author Asia [@asia-t](https://github.com/asia-t)\n * @author Van Vuong Ngo [@vanvuongngo](https://github.com/vanvuongngo)\n * @author RomanErnst [@pex](https://github.com/pex)\n * @author Philipp Keck [@Philipp91](https://github.com/Philipp91)\n */\nexport const de = {\n code: \"de\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1 /* Monday */,\n firstWeekContainsDate: 4,\n },\n};\n\n// Fallback for modularized imports:\nexport default de;\n"],"names":["formatDistance","formatLong","formatRelative","localize","match"],"mappings":";;;;;;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,EAAE,GAAG;AAClB,EAAE,IAAI,EAAE,IAAI;AACZ,EAAE,cAAc,EAAEA,6BAAc;AAChC,EAAE,UAAU,EAAEC,qBAAU;AACxB,EAAE,cAAc,EAAEC,6BAAc;AAChC,EAAE,QAAQ,EAAEC,iBAAQ;AACpB,EAAE,KAAK,EAAEC,WAAK;AACd,EAAE,OAAO,EAAE;AACX,IAAI,YAAY,EAAE,CAAC;AACnB,IAAI,qBAAqB,EAAE,CAAC;AAC5B,GAAG;AACH;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { formatDistance } from './de/_lib/formatDistance.js';
|
|
2
|
-
import { formatLong } from './de/_lib/formatLong.js';
|
|
3
|
-
import { formatRelative } from './de/_lib/formatRelative.js';
|
|
4
|
-
import { localize } from './de/_lib/localize.js';
|
|
5
|
-
import { match } from './de/_lib/match.js';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @category Locales
|
|
9
|
-
* @summary German locale.
|
|
10
|
-
* @language German
|
|
11
|
-
* @iso-639-2 deu
|
|
12
|
-
* @author Thomas Eilmsteiner [@DeMuu](https://github.com/DeMuu)
|
|
13
|
-
* @author Asia [@asia-t](https://github.com/asia-t)
|
|
14
|
-
* @author Van Vuong Ngo [@vanvuongngo](https://github.com/vanvuongngo)
|
|
15
|
-
* @author RomanErnst [@pex](https://github.com/pex)
|
|
16
|
-
* @author Philipp Keck [@Philipp91](https://github.com/Philipp91)
|
|
17
|
-
*/
|
|
18
|
-
const de = {
|
|
19
|
-
code: "de",
|
|
20
|
-
formatDistance: formatDistance,
|
|
21
|
-
formatLong: formatLong,
|
|
22
|
-
formatRelative: formatRelative,
|
|
23
|
-
localize: localize,
|
|
24
|
-
match: match,
|
|
25
|
-
options: {
|
|
26
|
-
weekStartsOn: 1 /* Monday */,
|
|
27
|
-
firstWeekContainsDate: 4,
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export { de, de as default };
|
|
32
|
-
//# sourceMappingURL=de.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"de.js","sources":["../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js"],"sourcesContent":["import { formatDistance } from \"./de/_lib/formatDistance.js\";\nimport { formatLong } from \"./de/_lib/formatLong.js\";\nimport { formatRelative } from \"./de/_lib/formatRelative.js\";\nimport { localize } from \"./de/_lib/localize.js\";\nimport { match } from \"./de/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary German locale.\n * @language German\n * @iso-639-2 deu\n * @author Thomas Eilmsteiner [@DeMuu](https://github.com/DeMuu)\n * @author Asia [@asia-t](https://github.com/asia-t)\n * @author Van Vuong Ngo [@vanvuongngo](https://github.com/vanvuongngo)\n * @author RomanErnst [@pex](https://github.com/pex)\n * @author Philipp Keck [@Philipp91](https://github.com/Philipp91)\n */\nexport const de = {\n code: \"de\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1 /* Monday */,\n firstWeekContainsDate: 4,\n },\n};\n\n// Fallback for modularized imports:\nexport default de;\n"],"names":[],"mappings":";;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,EAAE,GAAG;AAClB,EAAE,IAAI,EAAE,IAAI;AACZ,EAAE,cAAc,EAAE,cAAc;AAChC,EAAE,UAAU,EAAE,UAAU;AACxB,EAAE,cAAc,EAAE,cAAc;AAChC,EAAE,QAAQ,EAAE,QAAQ;AACpB,EAAE,KAAK,EAAE,KAAK;AACd,EAAE,OAAO,EAAE;AACX,IAAI,YAAY,EAAE,CAAC;AACnB,IAAI,qBAAqB,EAAE,CAAC;AAC5B,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const formatDistanceLocale = {
|
|
4
|
-
lessThanXSeconds: {
|
|
5
|
-
one: "menos de un segundo",
|
|
6
|
-
other: "menos de {{count}} segundos",
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
xSeconds: {
|
|
10
|
-
one: "1 segundo",
|
|
11
|
-
other: "{{count}} segundos",
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
halfAMinute: "medio minuto",
|
|
15
|
-
|
|
16
|
-
lessThanXMinutes: {
|
|
17
|
-
one: "menos de un minuto",
|
|
18
|
-
other: "menos de {{count}} minutos",
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
xMinutes: {
|
|
22
|
-
one: "1 minuto",
|
|
23
|
-
other: "{{count}} minutos",
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
aboutXHours: {
|
|
27
|
-
one: "alrededor de 1 hora",
|
|
28
|
-
other: "alrededor de {{count}} horas",
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
xHours: {
|
|
32
|
-
one: "1 hora",
|
|
33
|
-
other: "{{count}} horas",
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
xDays: {
|
|
37
|
-
one: "1 día",
|
|
38
|
-
other: "{{count}} días",
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
aboutXWeeks: {
|
|
42
|
-
one: "alrededor de 1 semana",
|
|
43
|
-
other: "alrededor de {{count}} semanas",
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
xWeeks: {
|
|
47
|
-
one: "1 semana",
|
|
48
|
-
other: "{{count}} semanas",
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
aboutXMonths: {
|
|
52
|
-
one: "alrededor de 1 mes",
|
|
53
|
-
other: "alrededor de {{count}} meses",
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
xMonths: {
|
|
57
|
-
one: "1 mes",
|
|
58
|
-
other: "{{count}} meses",
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
aboutXYears: {
|
|
62
|
-
one: "alrededor de 1 año",
|
|
63
|
-
other: "alrededor de {{count}} años",
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
xYears: {
|
|
67
|
-
one: "1 año",
|
|
68
|
-
other: "{{count}} años",
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
overXYears: {
|
|
72
|
-
one: "más de 1 año",
|
|
73
|
-
other: "más de {{count}} años",
|
|
74
|
-
},
|
|
75
|
-
|
|
76
|
-
almostXYears: {
|
|
77
|
-
one: "casi 1 año",
|
|
78
|
-
other: "casi {{count}} años",
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
const formatDistance = (token, count, options) => {
|
|
83
|
-
let result;
|
|
84
|
-
|
|
85
|
-
const tokenValue = formatDistanceLocale[token];
|
|
86
|
-
if (typeof tokenValue === "string") {
|
|
87
|
-
result = tokenValue;
|
|
88
|
-
} else if (count === 1) {
|
|
89
|
-
result = tokenValue.one;
|
|
90
|
-
} else {
|
|
91
|
-
result = tokenValue.other.replace("{{count}}", count.toString());
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
if (options?.addSuffix) {
|
|
95
|
-
if (options.comparison && options.comparison > 0) {
|
|
96
|
-
return "en " + result;
|
|
97
|
-
} else {
|
|
98
|
-
return "hace " + result;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
return result;
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
exports.formatDistance = formatDistance;
|
|
106
|
-
//# sourceMappingURL=formatDistance.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatDistance.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"menos de un segundo\",\n other: \"menos de {{count}} segundos\",\n },\n\n xSeconds: {\n one: \"1 segundo\",\n other: \"{{count}} segundos\",\n },\n\n halfAMinute: \"medio minuto\",\n\n lessThanXMinutes: {\n one: \"menos de un minuto\",\n other: \"menos de {{count}} minutos\",\n },\n\n xMinutes: {\n one: \"1 minuto\",\n other: \"{{count}} minutos\",\n },\n\n aboutXHours: {\n one: \"alrededor de 1 hora\",\n other: \"alrededor de {{count}} horas\",\n },\n\n xHours: {\n one: \"1 hora\",\n other: \"{{count}} horas\",\n },\n\n xDays: {\n one: \"1 día\",\n other: \"{{count}} días\",\n },\n\n aboutXWeeks: {\n one: \"alrededor de 1 semana\",\n other: \"alrededor de {{count}} semanas\",\n },\n\n xWeeks: {\n one: \"1 semana\",\n other: \"{{count}} semanas\",\n },\n\n aboutXMonths: {\n one: \"alrededor de 1 mes\",\n other: \"alrededor de {{count}} meses\",\n },\n\n xMonths: {\n one: \"1 mes\",\n other: \"{{count}} meses\",\n },\n\n aboutXYears: {\n one: \"alrededor de 1 año\",\n other: \"alrededor de {{count}} años\",\n },\n\n xYears: {\n one: \"1 año\",\n other: \"{{count}} años\",\n },\n\n overXYears: {\n one: \"más de 1 año\",\n other: \"más de {{count}} años\",\n },\n\n almostXYears: {\n one: \"casi 1 año\",\n other: \"casi {{count}} años\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"en \" + result;\n } else {\n return \"hace \" + 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,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E;AACd,IAAI,GAAG,EAAE,cAAc;AACvB,IAAI,KAAK,EAAE,uBAAuB;AAClC,GAAG;;AAEH,EAAE,YAAY,EAAE;AAChB,IAAI,GAAG,EAAE,YAAY;AACrB,IAAI,KAAK,EAAE,qBAAqB;AAChC,GAAG;AACH,CAAC;;AAEW,MAAC,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,KAAK;AACzD,EAAE,IAAI,MAAM;;AAEZ,EAAE,MAAM,UAAU,GAAG,oBAAoB,CAAC,KAAK,CAAC;AAChD,EAAE,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;AACtC,IAAI,MAAM,GAAG,UAAU;AACvB,EAAE,CAAC,MAAM,IAAI,KAAK,KAAK,CAAC,EAAE;AAC1B,IAAI,MAAM,GAAG,UAAU,CAAC,GAAG;AAC3B,EAAE,CAAC,MAAM;AACT,IAAI,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;AACpE,EAAE;;AAEF,EAAE,IAAI,OAAO,EAAE,SAAS,EAAE;AAC1B,IAAI,IAAI,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,UAAU,GAAG,CAAC,EAAE;AACtD,MAAM,OAAO,KAAK,GAAG,MAAM;AAC3B,IAAI,CAAC,MAAM;AACX,MAAM,OAAO,OAAO,GAAG,MAAM;AAC7B,IAAI;AACJ,EAAE;;AAEF,EAAE,OAAO,MAAM;AACf;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
const formatDistanceLocale = {
|
|
2
|
-
lessThanXSeconds: {
|
|
3
|
-
one: "menos de un segundo",
|
|
4
|
-
other: "menos de {{count}} segundos",
|
|
5
|
-
},
|
|
6
|
-
|
|
7
|
-
xSeconds: {
|
|
8
|
-
one: "1 segundo",
|
|
9
|
-
other: "{{count}} segundos",
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
halfAMinute: "medio minuto",
|
|
13
|
-
|
|
14
|
-
lessThanXMinutes: {
|
|
15
|
-
one: "menos de un minuto",
|
|
16
|
-
other: "menos de {{count}} minutos",
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
xMinutes: {
|
|
20
|
-
one: "1 minuto",
|
|
21
|
-
other: "{{count}} minutos",
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
aboutXHours: {
|
|
25
|
-
one: "alrededor de 1 hora",
|
|
26
|
-
other: "alrededor de {{count}} horas",
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
xHours: {
|
|
30
|
-
one: "1 hora",
|
|
31
|
-
other: "{{count}} horas",
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
xDays: {
|
|
35
|
-
one: "1 día",
|
|
36
|
-
other: "{{count}} días",
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
aboutXWeeks: {
|
|
40
|
-
one: "alrededor de 1 semana",
|
|
41
|
-
other: "alrededor de {{count}} semanas",
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
xWeeks: {
|
|
45
|
-
one: "1 semana",
|
|
46
|
-
other: "{{count}} semanas",
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
aboutXMonths: {
|
|
50
|
-
one: "alrededor de 1 mes",
|
|
51
|
-
other: "alrededor de {{count}} meses",
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
xMonths: {
|
|
55
|
-
one: "1 mes",
|
|
56
|
-
other: "{{count}} meses",
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
aboutXYears: {
|
|
60
|
-
one: "alrededor de 1 año",
|
|
61
|
-
other: "alrededor de {{count}} años",
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
xYears: {
|
|
65
|
-
one: "1 año",
|
|
66
|
-
other: "{{count}} años",
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
overXYears: {
|
|
70
|
-
one: "más de 1 año",
|
|
71
|
-
other: "más de {{count}} años",
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
almostXYears: {
|
|
75
|
-
one: "casi 1 año",
|
|
76
|
-
other: "casi {{count}} años",
|
|
77
|
-
},
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
const formatDistance = (token, count, options) => {
|
|
81
|
-
let result;
|
|
82
|
-
|
|
83
|
-
const tokenValue = formatDistanceLocale[token];
|
|
84
|
-
if (typeof tokenValue === "string") {
|
|
85
|
-
result = tokenValue;
|
|
86
|
-
} else if (count === 1) {
|
|
87
|
-
result = tokenValue.one;
|
|
88
|
-
} else {
|
|
89
|
-
result = tokenValue.other.replace("{{count}}", count.toString());
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
if (options?.addSuffix) {
|
|
93
|
-
if (options.comparison && options.comparison > 0) {
|
|
94
|
-
return "en " + result;
|
|
95
|
-
} else {
|
|
96
|
-
return "hace " + result;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
return result;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
export { formatDistance };
|
|
104
|
-
//# sourceMappingURL=formatDistance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatDistance.js","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"menos de un segundo\",\n other: \"menos de {{count}} segundos\",\n },\n\n xSeconds: {\n one: \"1 segundo\",\n other: \"{{count}} segundos\",\n },\n\n halfAMinute: \"medio minuto\",\n\n lessThanXMinutes: {\n one: \"menos de un minuto\",\n other: \"menos de {{count}} minutos\",\n },\n\n xMinutes: {\n one: \"1 minuto\",\n other: \"{{count}} minutos\",\n },\n\n aboutXHours: {\n one: \"alrededor de 1 hora\",\n other: \"alrededor de {{count}} horas\",\n },\n\n xHours: {\n one: \"1 hora\",\n other: \"{{count}} horas\",\n },\n\n xDays: {\n one: \"1 día\",\n other: \"{{count}} días\",\n },\n\n aboutXWeeks: {\n one: \"alrededor de 1 semana\",\n other: \"alrededor de {{count}} semanas\",\n },\n\n xWeeks: {\n one: \"1 semana\",\n other: \"{{count}} semanas\",\n },\n\n aboutXMonths: {\n one: \"alrededor de 1 mes\",\n other: \"alrededor de {{count}} meses\",\n },\n\n xMonths: {\n one: \"1 mes\",\n other: \"{{count}} meses\",\n },\n\n aboutXYears: {\n one: \"alrededor de 1 año\",\n other: \"alrededor de {{count}} años\",\n },\n\n xYears: {\n one: \"1 año\",\n other: \"{{count}} años\",\n },\n\n overXYears: {\n one: \"más de 1 año\",\n other: \"más de {{count}} años\",\n },\n\n almostXYears: {\n one: \"casi 1 año\",\n other: \"casi {{count}} años\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"en \" + result;\n } else {\n return \"hace \" + 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,cAAc;;AAE7B,EAAE,gBAAgB,EAAE;AACpB,IAAI,GAAG,EAAE,oBAAoB;AAC7B,IAAI,KAAK,EAAE,4BAA4B;AACvC,GAAG;;AAEH,EAAE,QAAQ,EAAE;AACZ,IAAI,GAAG,EAAE,UAAU;AACnB,IAAI,KAAK,EAAE,mBAAmB;AAC9B,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MAAM,UAAU,GAAG,oBAAoB,CAAC,KAAK,CAAC;AAChD,EAAE,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;AACtC,IAAI,MAAM,GAAG,UAAU;AACvB,EAAE,CAAC,MAAM,IAAI,KAAK,KAAK,CAAC,EAAE;AAC1B,IAAI,MAAM,GAAG,UAAU,CAAC,GAAG;AAC3B,EAAE,CAAC,MAAM;AACT,IAAI,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;AACpE,EAAE;;AAEF,EAAE,IAAI,OAAO,EAAE,SAAS,EAAE;AAC1B,IAAI,IAAI,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,UAAU,GAAG,CAAC,EAAE;AACtD,MAAM,OAAO,KAAK,GAAG,MAAM;AAC3B,IAAI,CAAC,MAAM;AACX,MAAM,OAAO,OAAO,GAAG,MAAM;AAC7B,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/es/_lib/formatLong.cjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var buildFormatLongFn = require('../../_lib/buildFormatLongFn.cjs');
|
|
4
|
-
|
|
5
|
-
const dateFormats = {
|
|
6
|
-
full: "EEEE, d 'de' MMMM 'de' y",
|
|
7
|
-
long: "d 'de' MMMM 'de' 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}} 'a las' {{time}}",
|
|
21
|
-
long: "{{date}} 'a las' {{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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatLong.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js"],"sourcesContent":["import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE, d 'de' MMMM 'de' y\",\n long: \"d 'de' MMMM 'de' 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}} 'a las' {{time}}\",\n long: \"{{date}} 'a las' {{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,0BAA0B;AAClC,EAAE,IAAI,EAAE,oBAAoB;AAC5B,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,2BAA2B;AACnC,EAAE,IAAI,EAAE,2BAA2B;AACnC,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/es/_lib/formatLong.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { buildFormatLongFn } from '../../_lib/buildFormatLongFn.js';
|
|
2
|
-
|
|
3
|
-
const dateFormats = {
|
|
4
|
-
full: "EEEE, d 'de' MMMM 'de' y",
|
|
5
|
-
long: "d 'de' MMMM 'de' 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}} 'a las' {{time}}",
|
|
19
|
-
long: "{{date}} 'a las' {{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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatLong.js","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js"],"sourcesContent":["import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE, d 'de' MMMM 'de' y\",\n long: \"d 'de' MMMM 'de' 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}} 'a las' {{time}}\",\n long: \"{{date}} 'a las' {{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,0BAA0B;AAClC,EAAE,IAAI,EAAE,oBAAoB;AAC5B,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,2BAA2B;AACnC,EAAE,IAAI,EAAE,2BAA2B;AACnC,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]}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const formatRelativeLocale = {
|
|
4
|
-
lastWeek: "'el' eeee 'pasado a la' p",
|
|
5
|
-
yesterday: "'ayer a la' p",
|
|
6
|
-
today: "'hoy a la' p",
|
|
7
|
-
tomorrow: "'mañana a la' p",
|
|
8
|
-
nextWeek: "eeee 'a la' p",
|
|
9
|
-
other: "P",
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
const formatRelativeLocalePlural = {
|
|
13
|
-
lastWeek: "'el' eeee 'pasado a las' p",
|
|
14
|
-
yesterday: "'ayer a las' p",
|
|
15
|
-
today: "'hoy a las' p",
|
|
16
|
-
tomorrow: "'mañana a las' p",
|
|
17
|
-
nextWeek: "eeee 'a las' p",
|
|
18
|
-
other: "P",
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const formatRelative = (token, date, _baseDate, _options) => {
|
|
22
|
-
if (date.getHours() !== 1) {
|
|
23
|
-
return formatRelativeLocalePlural[token];
|
|
24
|
-
} else {
|
|
25
|
-
return formatRelativeLocale[token];
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
exports.formatRelative = formatRelative;
|
|
30
|
-
//# sourceMappingURL=formatRelative.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatRelative.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.js"],"sourcesContent":["const formatRelativeLocale = {\n lastWeek: \"'el' eeee 'pasado a la' p\",\n yesterday: \"'ayer a la' p\",\n today: \"'hoy a la' p\",\n tomorrow: \"'mañana a la' p\",\n nextWeek: \"eeee 'a la' p\",\n other: \"P\",\n};\n\nconst formatRelativeLocalePlural = {\n lastWeek: \"'el' eeee 'pasado a las' p\",\n yesterday: \"'ayer a las' p\",\n today: \"'hoy a las' p\",\n tomorrow: \"'mañana a las' p\",\n nextWeek: \"eeee 'a las' p\",\n other: \"P\",\n};\n\nexport const formatRelative = (token, date, _baseDate, _options) => {\n if (date.getHours() !== 1) {\n return formatRelativeLocalePlural[token];\n } else {\n return formatRelativeLocale[token];\n }\n};\n"],"names":[],"mappings":";;AAAA,MAAM,oBAAoB,GAAG;AAC7B,EAAE,QAAQ,EAAE,2BAA2B;AACvC,EAAE,SAAS,EAAE,eAAe;AAC5B,EAAE,KAAK,EAAE,cAAc;AACvB,EAAE,QAAQ,EAAE,iBAAiB;AAC7B,EAAE,QAAQ,EAAE,eAAe;AAC3B,EAAE,KAAK,EAAE,GAAG;AACZ,CAAC;;AAED,MAAM,0BAA0B,GAAG;AACnC,EAAE,QAAQ,EAAE,4BAA4B;AACxC,EAAE,SAAS,EAAE,gBAAgB;AAC7B,EAAE,KAAK,EAAE,eAAe;AACxB,EAAE,QAAQ,EAAE,kBAAkB;AAC9B,EAAE,QAAQ,EAAE,gBAAgB;AAC5B,EAAE,KAAK,EAAE,GAAG;AACZ,CAAC;;AAEW,MAAC,cAAc,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,KAAK;AACpE,EAAE,IAAI,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE;AAC7B,IAAI,OAAO,0BAA0B,CAAC,KAAK,CAAC;AAC5C,EAAE,CAAC,MAAM;AACT,IAAI,OAAO,oBAAoB,CAAC,KAAK,CAAC;AACtC,EAAE;AACF;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
const formatRelativeLocale = {
|
|
2
|
-
lastWeek: "'el' eeee 'pasado a la' p",
|
|
3
|
-
yesterday: "'ayer a la' p",
|
|
4
|
-
today: "'hoy a la' p",
|
|
5
|
-
tomorrow: "'mañana a la' p",
|
|
6
|
-
nextWeek: "eeee 'a la' p",
|
|
7
|
-
other: "P",
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const formatRelativeLocalePlural = {
|
|
11
|
-
lastWeek: "'el' eeee 'pasado a las' p",
|
|
12
|
-
yesterday: "'ayer a las' p",
|
|
13
|
-
today: "'hoy a las' p",
|
|
14
|
-
tomorrow: "'mañana a las' p",
|
|
15
|
-
nextWeek: "eeee 'a las' p",
|
|
16
|
-
other: "P",
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
const formatRelative = (token, date, _baseDate, _options) => {
|
|
20
|
-
if (date.getHours() !== 1) {
|
|
21
|
-
return formatRelativeLocalePlural[token];
|
|
22
|
-
} else {
|
|
23
|
-
return formatRelativeLocale[token];
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export { formatRelative };
|
|
28
|
-
//# sourceMappingURL=formatRelative.js.map
|