{"version":3,"file":"register-defaults.mjs","names":[],"sources":["../../../../../../../react-form/src/locales/register-defaults.ts"],"sourcesContent":["import { extend } from \"@mongez/localization\";\nimport { enValidationTranslation } from \"./index\";\n\n/**\n * Register sensible default **English** validation messages on import, so a\n * brand-new user sees readable errors (\"This input is required\") with **zero\n * setup** instead of raw keys like `validation.required`.\n *\n * This runs at package-import time, which is *before* a consumer's own\n * `extend(\"en\", { validation: ... })` call at app entry — and `extend` merges —\n * so a consumer's custom messages still override these, and registering other\n * locales works exactly as before. To opt out of the English defaults, simply\n * `extend(\"en\", { validation: yourMessages })` at app entry as usual.\n */\nextend(\"en\", { validation: enValidationTranslation });\n"],"mappings":";;;;;;;;;;;;;;;AAcA,OAAO,MAAM,EAAE,YAAY,wBAAwB,CAAC"}