@jnrs/shared 1.1.2 → 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 +13 -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.map +1 -0
- package/dist/utils/validate.d.ts.map +1 -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/{validator.d.ts → utils/validator.d.ts} +2 -2
- 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 +20 -10
- 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/validate.cjs.map +0 -1
- package/dist/validate.d.ts.map +0 -1
- package/dist/validate.js.map +0 -1
- package/dist/validator.cjs +0 -173
- package/dist/validator.cjs.map +0 -1
- package/dist/validator.d.ts.map +0 -1
- package/dist/validator.js +0 -128
- package/dist/validator.js.map +0 -1
- /package/dist/{validate.cjs → utils/validate.cjs} +0 -0
- /package/dist/{validate.d.ts → utils/validate.d.ts} +0 -0
- /package/dist/{validate.js → utils/validate.js} +0 -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,E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;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,G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AAM,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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatRelative.js","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]}
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var buildLocalizeFn = require('../../_lib/buildLocalizeFn.cjs');
|
|
4
|
-
|
|
5
|
-
const eraValues = {
|
|
6
|
-
narrow: ["AC", "DC"],
|
|
7
|
-
abbreviated: ["AC", "DC"],
|
|
8
|
-
wide: ["antes de cristo", "después de cristo"],
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
const quarterValues = {
|
|
12
|
-
narrow: ["1", "2", "3", "4"],
|
|
13
|
-
abbreviated: ["T1", "T2", "T3", "T4"],
|
|
14
|
-
wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"],
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
const monthValues = {
|
|
18
|
-
narrow: ["e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
|
|
19
|
-
abbreviated: [
|
|
20
|
-
"ene",
|
|
21
|
-
"feb",
|
|
22
|
-
"mar",
|
|
23
|
-
"abr",
|
|
24
|
-
"may",
|
|
25
|
-
"jun",
|
|
26
|
-
"jul",
|
|
27
|
-
"ago",
|
|
28
|
-
"sep",
|
|
29
|
-
"oct",
|
|
30
|
-
"nov",
|
|
31
|
-
"dic",
|
|
32
|
-
],
|
|
33
|
-
|
|
34
|
-
wide: [
|
|
35
|
-
"enero",
|
|
36
|
-
"febrero",
|
|
37
|
-
"marzo",
|
|
38
|
-
"abril",
|
|
39
|
-
"mayo",
|
|
40
|
-
"junio",
|
|
41
|
-
"julio",
|
|
42
|
-
"agosto",
|
|
43
|
-
"septiembre",
|
|
44
|
-
"octubre",
|
|
45
|
-
"noviembre",
|
|
46
|
-
"diciembre",
|
|
47
|
-
],
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
const dayValues = {
|
|
51
|
-
narrow: ["d", "l", "m", "m", "j", "v", "s"],
|
|
52
|
-
short: ["do", "lu", "ma", "mi", "ju", "vi", "sá"],
|
|
53
|
-
abbreviated: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"],
|
|
54
|
-
wide: [
|
|
55
|
-
"domingo",
|
|
56
|
-
"lunes",
|
|
57
|
-
"martes",
|
|
58
|
-
"miércoles",
|
|
59
|
-
"jueves",
|
|
60
|
-
"viernes",
|
|
61
|
-
"sábado",
|
|
62
|
-
],
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
const dayPeriodValues = {
|
|
66
|
-
narrow: {
|
|
67
|
-
am: "a",
|
|
68
|
-
pm: "p",
|
|
69
|
-
midnight: "mn",
|
|
70
|
-
noon: "md",
|
|
71
|
-
morning: "mañana",
|
|
72
|
-
afternoon: "tarde",
|
|
73
|
-
evening: "tarde",
|
|
74
|
-
night: "noche",
|
|
75
|
-
},
|
|
76
|
-
abbreviated: {
|
|
77
|
-
am: "AM",
|
|
78
|
-
pm: "PM",
|
|
79
|
-
midnight: "medianoche",
|
|
80
|
-
noon: "mediodia",
|
|
81
|
-
morning: "mañana",
|
|
82
|
-
afternoon: "tarde",
|
|
83
|
-
evening: "tarde",
|
|
84
|
-
night: "noche",
|
|
85
|
-
},
|
|
86
|
-
wide: {
|
|
87
|
-
am: "a.m.",
|
|
88
|
-
pm: "p.m.",
|
|
89
|
-
midnight: "medianoche",
|
|
90
|
-
noon: "mediodia",
|
|
91
|
-
morning: "mañana",
|
|
92
|
-
afternoon: "tarde",
|
|
93
|
-
evening: "tarde",
|
|
94
|
-
night: "noche",
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
const formattingDayPeriodValues = {
|
|
99
|
-
narrow: {
|
|
100
|
-
am: "a",
|
|
101
|
-
pm: "p",
|
|
102
|
-
midnight: "mn",
|
|
103
|
-
noon: "md",
|
|
104
|
-
morning: "de la mañana",
|
|
105
|
-
afternoon: "de la tarde",
|
|
106
|
-
evening: "de la tarde",
|
|
107
|
-
night: "de la noche",
|
|
108
|
-
},
|
|
109
|
-
abbreviated: {
|
|
110
|
-
am: "AM",
|
|
111
|
-
pm: "PM",
|
|
112
|
-
midnight: "medianoche",
|
|
113
|
-
noon: "mediodia",
|
|
114
|
-
morning: "de la mañana",
|
|
115
|
-
afternoon: "de la tarde",
|
|
116
|
-
evening: "de la tarde",
|
|
117
|
-
night: "de la noche",
|
|
118
|
-
},
|
|
119
|
-
wide: {
|
|
120
|
-
am: "a.m.",
|
|
121
|
-
pm: "p.m.",
|
|
122
|
-
midnight: "medianoche",
|
|
123
|
-
noon: "mediodia",
|
|
124
|
-
morning: "de la mañana",
|
|
125
|
-
afternoon: "de la tarde",
|
|
126
|
-
evening: "de la tarde",
|
|
127
|
-
night: "de la noche",
|
|
128
|
-
},
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
const ordinalNumber = (dirtyNumber, _options) => {
|
|
132
|
-
const number = Number(dirtyNumber);
|
|
133
|
-
return number + "º";
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
const localize = {
|
|
137
|
-
ordinalNumber: ordinalNumber,
|
|
138
|
-
|
|
139
|
-
era: buildLocalizeFn.buildLocalizeFn({
|
|
140
|
-
values: eraValues,
|
|
141
|
-
defaultWidth: "wide",
|
|
142
|
-
}),
|
|
143
|
-
|
|
144
|
-
quarter: buildLocalizeFn.buildLocalizeFn({
|
|
145
|
-
values: quarterValues,
|
|
146
|
-
defaultWidth: "wide",
|
|
147
|
-
argumentCallback: (quarter) => Number(quarter) - 1,
|
|
148
|
-
}),
|
|
149
|
-
|
|
150
|
-
month: buildLocalizeFn.buildLocalizeFn({
|
|
151
|
-
values: monthValues,
|
|
152
|
-
defaultWidth: "wide",
|
|
153
|
-
}),
|
|
154
|
-
|
|
155
|
-
day: buildLocalizeFn.buildLocalizeFn({
|
|
156
|
-
values: dayValues,
|
|
157
|
-
defaultWidth: "wide",
|
|
158
|
-
}),
|
|
159
|
-
|
|
160
|
-
dayPeriod: buildLocalizeFn.buildLocalizeFn({
|
|
161
|
-
values: dayPeriodValues,
|
|
162
|
-
defaultWidth: "wide",
|
|
163
|
-
formattingValues: formattingDayPeriodValues,
|
|
164
|
-
defaultFormattingWidth: "wide",
|
|
165
|
-
}),
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
exports.localize = localize;
|
|
169
|
-
//# sourceMappingURL=localize.cjs.map
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"localize.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.js"],"sourcesContent":["import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\n\nconst eraValues = {\n narrow: [\"AC\", \"DC\"],\n abbreviated: [\"AC\", \"DC\"],\n wide: [\"antes de cristo\", \"después de cristo\"],\n};\n\nconst quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"T1\", \"T2\", \"T3\", \"T4\"],\n wide: [\"1º trimestre\", \"2º trimestre\", \"3º trimestre\", \"4º trimestre\"],\n};\n\nconst monthValues = {\n narrow: [\"e\", \"f\", \"m\", \"a\", \"m\", \"j\", \"j\", \"a\", \"s\", \"o\", \"n\", \"d\"],\n abbreviated: [\n \"ene\",\n \"feb\",\n \"mar\",\n \"abr\",\n \"may\",\n \"jun\",\n \"jul\",\n \"ago\",\n \"sep\",\n \"oct\",\n \"nov\",\n \"dic\",\n ],\n\n wide: [\n \"enero\",\n \"febrero\",\n \"marzo\",\n \"abril\",\n \"mayo\",\n \"junio\",\n \"julio\",\n \"agosto\",\n \"septiembre\",\n \"octubre\",\n \"noviembre\",\n \"diciembre\",\n ],\n};\n\nconst dayValues = {\n narrow: [\"d\", \"l\", \"m\", \"m\", \"j\", \"v\", \"s\"],\n short: [\"do\", \"lu\", \"ma\", \"mi\", \"ju\", \"vi\", \"sá\"],\n abbreviated: [\"dom\", \"lun\", \"mar\", \"mié\", \"jue\", \"vie\", \"sáb\"],\n wide: [\n \"domingo\",\n \"lunes\",\n \"martes\",\n \"miércoles\",\n \"jueves\",\n \"viernes\",\n \"sábado\",\n ],\n};\n\nconst dayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mn\",\n noon: \"md\",\n morning: \"mañana\",\n afternoon: \"tarde\",\n evening: \"tarde\",\n night: \"noche\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"medianoche\",\n noon: \"mediodia\",\n morning: \"mañana\",\n afternoon: \"tarde\",\n evening: \"tarde\",\n night: \"noche\",\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"medianoche\",\n noon: \"mediodia\",\n morning: \"mañana\",\n afternoon: \"tarde\",\n evening: \"tarde\",\n night: \"noche\",\n },\n};\n\nconst formattingDayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mn\",\n noon: \"md\",\n morning: \"de la mañana\",\n afternoon: \"de la tarde\",\n evening: \"de la tarde\",\n night: \"de la noche\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"medianoche\",\n noon: \"mediodia\",\n morning: \"de la mañana\",\n afternoon: \"de la tarde\",\n evening: \"de la tarde\",\n night: \"de la noche\",\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"medianoche\",\n noon: \"mediodia\",\n morning: \"de la mañana\",\n afternoon: \"de la tarde\",\n evening: \"de la tarde\",\n night: \"de la noche\",\n },\n};\n\nconst ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n return number + \"º\";\n};\n\nexport const localize = {\n ordinalNumber: 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) => Number(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 formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\",\n }),\n};\n"],"names":["buildLocalizeFn"],"mappings":";;;;AAEA,MAAM,SAAS,GAAG;AAClB,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;AACtB,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;AAC3B,EAAE,IAAI,EAAE,CAAC,iBAAiB,EAAE,mBAAmB,CAAC;AAChD,CAAC;;AAED,MAAM,aAAa,GAAG;AACtB,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;AAC9B,EAAE,WAAW,EAAE,CAA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