{"_id":"@cesarv/v-currency-field","_rev":"7-5528aec42020858b43581adaca5ca624","name":"@cesarv/v-currency-field","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"@cesarv/v-currency-field","version":"0.0.1","keywords":["vue","vue3","vuetify","vuetify3","currency","currency-field","typescript","component","vue-component"],"author":{"name":"Cesar Vieira","email":"cesarvieira.dev@gmail.com"},"license":"ISC","_id":"@cesarv/v-currency-field@0.0.1","maintainers":[{"name":"cesarv","email":"cesarvieira.dev@gmail.com"}],"homepage":"https://github.com/cesarvieira/v-currency-field#readme","bugs":{"url":"https://github.com/cesarvieira/v-currency-field/issues"},"dist":{"shasum":"59c00c58141d64a6a542c5db2b32886bf6e41181","tarball":"https://registry.npmjs.org/@cesarv/v-currency-field/-/v-currency-field-0.0.1.tgz","fileCount":9,"integrity":"sha512-ppS/+acMxdN+AbDhNFlYcnsIevyWCNerhAqF/K4eLd352uJTDZ7Ose6tohyNMjHQxjqXP65nZ1RjkvxMT0ih4w==","signatures":[{"sig":"MEQCIHNip1MUa93rVfqeTY4r+Kld5kxIXMqn5pkxZxi4jw6gAiABBalKQOFXf04ow5pgY+mLTCVxZWPduKs+EzCnAv9Igw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":388604},"main":"dist/v-currency-field.umd.js","types":"dist/index.d.ts","module":"dist/v-currency-field.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/v-currency-field.mjs","require":"./dist/v-currency-field.umd.js"},"./dist/v-currency-field.css":"./dist/v-currency-field.css"},"gitHead":"0e8cae51adcca8f7ff8f045f39d5114a5bb176a2","scripts":{"lint":"eslint .","build":"vite build","preversion":"npm run lint && npm run type-check","type-check":"vue-tsc --noEmit"},"_npmUser":{"name":"cesarv","email":"cesarvieira.dev@gmail.com"},"repository":{"url":"git+https://github.com/cesarvieira/v-currency-field.git","type":"git"},"_npmVersion":"11.5.1","description":"A Vue 3 currency input component for Vuetify 3 with TypeScript support","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.5.0","dependencies":{"vue-currency-input":"^3.2.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.0","eslint":"^9.39.2","vue-tsc":"^3.2.1","typescript":"^5.9.3","@eslint/compat":"^2.0.0","vite-plugin-dts":"^4.5.4","eslint-plugin-vue":"^10.6.2","typescript-eslint":"^8.51.0","@vitejs/plugin-vue":"^6.0.3","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@stylistic/eslint-plugin":"^5.6.1","@vue/eslint-config-typescript":"^14.6.0"},"peerDependencies":{"vue":"^3.5.26","vuetify":"^3.11.5"},"_npmOperationalInternal":{"tmp":"tmp/v-currency-field_0.0.1_1767466924530_0.5533882964903516","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@cesarv/v-currency-field","version":"1.0.0","keywords":["vue","vue3","vuetify","vuetify3","currency","currency-field","typescript","component","vue-component"],"author":{"name":"Cesar Vieira","email":"cesarvieira.dev@gmail.com"},"license":"ISC","_id":"@cesarv/v-currency-field@1.0.0","maintainers":[{"name":"cesarv","email":"cesarvieira.dev@gmail.com"}],"homepage":"https://github.com/cesarvieira/v-currency-field#readme","bugs":{"url":"https://github.com/cesarvieira/v-currency-field/issues"},"dist":{"shasum":"3e2cf2871f6a50c4fba6fac5f06707dd4b08a427","tarball":"https://registry.npmjs.org/@cesarv/v-currency-field/-/v-currency-field-1.0.0.tgz","fileCount":9,"integrity":"sha512-0Ha6eEyGrP/Ory17wSvcWA6OvjqWid2Qdm9Pva2iic3HRPjUTkjK8OOnpTX5c43tFjodIeZgvJM+V43ClddCFQ==","signatures":[{"sig":"MEUCIFbke1Gy0mOynaldFRDtpEKcMyGhVu8hwY5lsBaR9pmUAiEAo4yuEnLT/eFbNjEm+8goL6+vtRS+KmNvFBXz9ljUHUU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cesarv%2fv-currency-field@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":388604},"main":"dist/v-currency-field.umd.js","types":"dist/index.d.ts","module":"dist/v-currency-field.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/v-currency-field.mjs","require":"./dist/v-currency-field.umd.js"},"./dist/v-currency-field.css":"./dist/v-currency-field.css"},"gitHead":"05682fd1f54f506bc8c846ecfc8133afaac2e2a7","scripts":{"lint":"eslint .","build":"vite build","preversion":"npm run lint && npm run type-check","type-check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:605524a1-d6ca-47aa-939f-84db8a0c6a41"}},"repository":{"url":"git+https://github.com/cesarvieira/v-currency-field.git","type":"git"},"_npmVersion":"11.6.2","description":"A Vue 3 currency input component for Vuetify 3 with TypeScript support","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.12.0","dependencies":{"vue-currency-input":"^3.2.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.0","eslint":"^9.39.2","vue-tsc":"^3.2.1","typescript":"^5.9.3","@eslint/compat":"^2.0.0","vite-plugin-dts":"^4.5.4","eslint-plugin-vue":"^10.6.2","typescript-eslint":"^8.51.0","@vitejs/plugin-vue":"^6.0.3","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@stylistic/eslint-plugin":"^5.6.1","@vue/eslint-config-typescript":"^14.6.0"},"peerDependencies":{"vue":"^3.5.26","vuetify":"^3.11.5"},"_npmOperationalInternal":{"tmp":"tmp/v-currency-field_1.0.0_1767467187511_0.060090902205590435","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@cesarv/v-currency-field","version":"1.0.1","keywords":["vue","vue3","vuetify","vuetify3","currency","currency-field","typescript","component","vue-component"],"author":{"name":"Cesar Vieira","email":"cesarvieira.dev@gmail.com"},"license":"ISC","_id":"@cesarv/v-currency-field@1.0.1","maintainers":[{"name":"cesarv","email":"cesarvieira.dev@gmail.com"}],"homepage":"https://github.com/cesarvieira/v-currency-field#readme","bugs":{"url":"https://github.com/cesarvieira/v-currency-field/issues"},"dist":{"shasum":"71e783af66b27d556ae2f2d629633ff9d5624300","tarball":"https://registry.npmjs.org/@cesarv/v-currency-field/-/v-currency-field-1.0.1.tgz","fileCount":9,"integrity":"sha512-5K1yJLh3kMd8kxZ7VmvJV5+QuGDrIqiSyHrUHYOC0dMePH/XigwzUvHdi2Jqb1YT4q9rYh9KBy1Of+qjbeO2MA==","signatures":[{"sig":"MEQCIFnIMbv5GYEuUv92VjWIdgKAzvh2W74+vXOxRqK94wZAAiAeeQ2IhQFE91XgbBm4t0GNbXbis8kcvq66/A8GoIdizg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cesarv%2fv-currency-field@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":358414},"main":"dist/v-currency-field.umd.js","types":"dist/index.d.ts","module":"dist/v-currency-field.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/v-currency-field.mjs","require":"./dist/v-currency-field.umd.js"},"./dist/v-currency-field.css":"./dist/v-currency-field.css"},"gitHead":"033905907c05be7f079a74d9d3983485607800fa","scripts":{"lint":"eslint .","build":"vite build","preversion":"npm run lint && npm run type-check","type-check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:605524a1-d6ca-47aa-939f-84db8a0c6a41"}},"repository":{"url":"git+https://github.com/cesarvieira/v-currency-field.git","type":"git"},"_npmVersion":"11.6.2","description":"A Vue 3 currency input component for Vuetify 3 with TypeScript support","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.12.0","dependencies":{"vue-currency-input":"^3.2.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.0","eslint":"^9.39.2","vue-tsc":"^3.2.1","typescript":"^5.9.3","@eslint/compat":"^2.0.0","vite-plugin-dts":"^4.5.4","eslint-plugin-vue":"^10.6.2","typescript-eslint":"^8.51.0","@vitejs/plugin-vue":"^6.0.3","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@stylistic/eslint-plugin":"^5.6.1","@vue/eslint-config-typescript":"^14.6.0"},"peerDependencies":{"vue":"^3.5.26","vuetify":"^3.11.5"},"_npmOperationalInternal":{"tmp":"tmp/v-currency-field_1.0.1_1767467792445_0.923133308421362","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@cesarv/v-currency-field","version":"1.0.2","keywords":["vue","vue3","vuetify","vuetify3","currency","currency-field","typescript","component","vue-component"],"author":{"name":"Cesar Vieira","email":"cesarvieira.dev@gmail.com"},"license":"ISC","_id":"@cesarv/v-currency-field@1.0.2","maintainers":[{"name":"cesarv","email":"cesarvieira.dev@gmail.com"}],"homepage":"https://github.com/cesarvieira/v-currency-field#readme","bugs":{"url":"https://github.com/cesarvieira/v-currency-field/issues"},"dist":{"shasum":"a9917708bddc371c2f5efd127d19390183cfe211","tarball":"https://registry.npmjs.org/@cesarv/v-currency-field/-/v-currency-field-1.0.2.tgz","fileCount":9,"integrity":"sha512-RGK/hS0WDksSYlXde3BFNlVRWQaPutY2a6xsCpQ9xC2gHHL1Kaz5r8bF20ZX9xB6HbQTdVp2l29fYWAgarT1Fw==","signatures":[{"sig":"MEQCIB4c16wdM09fWqJwX6q0FF6gtzs5ecfED4/UmpyD+w4xAiA29kuVlYl21GyqI3VI1tl7eftJsCvZfFJ4y2XM9ajIfw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cesarv%2fv-currency-field@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":358388},"main":"dist/v-currency-field.umd.js","types":"dist/index.d.ts","module":"dist/v-currency-field.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/v-currency-field.mjs","require":"./dist/v-currency-field.umd.js"},"./dist/v-currency-field.css":"./dist/v-currency-field.css"},"gitHead":"558aaf14f09c034f39bba7324c291ab3ce21556d","scripts":{"lint":"eslint .","build":"vite build","preversion":"npm run lint && npm run type-check","type-check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:605524a1-d6ca-47aa-939f-84db8a0c6a41"}},"repository":{"url":"git+https://github.com/cesarvieira/v-currency-field.git","type":"git"},"_npmVersion":"11.6.2","description":"A Vue 3 currency input component for Vuetify 3 with TypeScript support","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.12.0","dependencies":{"vue-currency-input":"^3.2.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.0","eslint":"^9.39.2","vue-tsc":"^3.2.1","typescript":"^5.9.3","@eslint/compat":"^2.0.0","vite-plugin-dts":"^4.5.4","eslint-plugin-vue":"^10.6.2","typescript-eslint":"^8.51.0","@vitejs/plugin-vue":"^6.0.3","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@stylistic/eslint-plugin":"^5.6.1","@vue/eslint-config-typescript":"^14.6.0"},"peerDependencies":{"vue":"^3.5.26","vuetify":"^3.11.5"},"_npmOperationalInternal":{"tmp":"tmp/v-currency-field_1.0.2_1767468467446_0.3025733576615417","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@cesarv/v-currency-field","version":"1.0.3","keywords":["vue","vue3","vuetify","vuetify3","currency","currency-field","typescript","component","vue-component"],"author":{"name":"Cesar Vieira","email":"cesarvieira.dev@gmail.com"},"license":"ISC","_id":"@cesarv/v-currency-field@1.0.3","maintainers":[{"name":"cesarv","email":"cesarvieira.dev@gmail.com"}],"homepage":"https://github.com/cesarvieira/v-currency-field#readme","bugs":{"url":"https://github.com/cesarvieira/v-currency-field/issues"},"dist":{"shasum":"a97340a9b209484b52bf30deee7fd76ef4406dda","tarball":"https://registry.npmjs.org/@cesarv/v-currency-field/-/v-currency-field-1.0.3.tgz","fileCount":9,"integrity":"sha512-nR0D0Kbb2Y8k3/UwUOGVHlHtrCJTsnciH43Eoqld4r93PGnBIXrU9k+Z4Wz9jsidxQ68s2LldFQAvKwqEUMseA==","signatures":[{"sig":"MEYCIQChX/8Y/9PHtHVhjLQLuBLMQaQ0nI4+n7uoI8YUK9gtugIhAPRkKAZsv+weEtvD23HaF53QyIxSOeiC8zDbfny1Vd9B","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cesarv%2fv-currency-field@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":359678},"main":"dist/v-currency-field.umd.js","types":"dist/index.d.ts","module":"dist/v-currency-field.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/v-currency-field.mjs","require":"./dist/v-currency-field.umd.js"},"./dist/v-currency-field.css":"./dist/v-currency-field.css"},"gitHead":"6750895ce685866336c98ab8c18a5e35bc3d7e81","scripts":{"lint":"eslint .","build":"vite build","prepack":"npm run build","preversion":"npm run lint && npm run type-check","type-check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:605524a1-d6ca-47aa-939f-84db8a0c6a41"}},"repository":{"url":"git+https://github.com/cesarvieira/v-currency-field.git","type":"git"},"_npmVersion":"11.6.2","description":"A Vue 3 currency input component for Vuetify 3 with TypeScript support","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.12.0","dependencies":{"vue-currency-input":"^3.2.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.0","eslint":"^9.39.2","vue-tsc":"^3.2.1","typescript":"^5.9.3","@eslint/compat":"^2.0.0","vite-plugin-dts":"^4.5.4","eslint-plugin-vue":"^10.6.2","typescript-eslint":"^8.51.0","@vitejs/plugin-vue":"^6.0.3","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@stylistic/eslint-plugin":"^5.6.1","@vue/eslint-config-typescript":"^14.6.0"},"peerDependencies":{"vue":"^3.5.26","vuetify":"^3.11.5"},"_npmOperationalInternal":{"tmp":"tmp/v-currency-field_1.0.3_1768591753013_0.41193767474541554","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@cesarv/v-currency-field","version":"1.0.4","keywords":["vue","vue3","vuetify","vuetify3","currency","currency-field","typescript","component","vue-component"],"author":{"name":"Cesar Vieira","email":"cesarvieira.dev@gmail.com"},"license":"ISC","_id":"@cesarv/v-currency-field@1.0.4","maintainers":[{"name":"cesarv","email":"cesarvieira.dev@gmail.com"}],"homepage":"https://github.com/cesarvieira/v-currency-field#readme","bugs":{"url":"https://github.com/cesarvieira/v-currency-field/issues"},"dist":{"shasum":"59687b07d21adf96f3ee8e1b50122c8ca43576fb","tarball":"https://registry.npmjs.org/@cesarv/v-currency-field/-/v-currency-field-1.0.4.tgz","fileCount":9,"integrity":"sha512-LFwXoYRg3QHNMBYkKtsK8vQL+6JAShrxXdMTsJmtX/tQtl0ghA+sNVyTH79aM6s+AAlQMdBJDztXl7pvoEEfVg==","signatures":[{"sig":"MEUCIHWFJNSBNV/KgUuRLrAcaJIG/Ul1oS2LvEtBW5rX3oGmAiEAmWhKjracV9aBUwJeRZES1a9oIPYgZO3W0sCUwNxgGKw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cesarv%2fv-currency-field@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":359695},"main":"dist/v-currency-field.umd.js","types":"dist/index.d.ts","module":"dist/v-currency-field.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/v-currency-field.mjs","require":"./dist/v-currency-field.umd.js"},"./dist/v-currency-field.css":"./dist/v-currency-field.css"},"gitHead":"62d691ce0dc28564ebb3c830115b3ff6fa7c73dc","scripts":{"lint":"eslint .","build":"vite build","prepack":"npm run build","preversion":"npm run lint && npm run type-check","type-check":"vue-tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:605524a1-d6ca-47aa-939f-84db8a0c6a41"}},"repository":{"url":"git+https://github.com/cesarvieira/v-currency-field.git","type":"git"},"_npmVersion":"11.6.2","description":"A Vue 3 currency input component for Vuetify 3 with TypeScript support","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.12.0","dependencies":{"vue-currency-input":"^3.2.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.0","eslint":"^9.39.2","vue-tsc":"^3.2.1","typescript":"^5.9.3","@eslint/compat":"^2.0.0","vite-plugin-dts":"^4.5.4","eslint-plugin-vue":"^10.6.2","typescript-eslint":"^8.51.0","@vitejs/plugin-vue":"^6.0.3","eslint-plugin-import":"^2.32.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@stylistic/eslint-plugin":"^5.6.1","@vue/eslint-config-typescript":"^14.6.0"},"peerDependencies":{"vue":"^3.5.26","vuetify":"^3.11.5"},"_npmOperationalInternal":{"tmp":"tmp/v-currency-field_1.0.4_1768603572173_0.8834647373075892","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@cesarv/v-currency-field","version":"2.0.0","description":"A Vue 3 currency input component for Vuetify 4 with TypeScript support","main":"dist/v-currency-field.umd.js","module":"dist/v-currency-field.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/v-currency-field.mjs","require":"./dist/v-currency-field.umd.js","types":"./dist/index.d.ts"},"./dist/v-currency-field.css":"./dist/v-currency-field.css"},"sideEffects":["**/*.css"],"scripts":{"dev":"vite --config playground/vite.config.ts","type-check":"vue-tsc --noEmit","lint":"eslint .","build":"vite build","prepack":"npm run build","preversion":"npm run lint && npm run type-check"},"keywords":["vue","vue3","vuetify","vuetify4","currency","currency-field","typescript","component","vue-component"],"author":{"name":"Cesar Vieira","email":"cesarvieira.dev@gmail.com"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/cesarvieira/v-currency-field.git"},"bugs":{"url":"https://github.com/cesarvieira/v-currency-field/issues"},"homepage":"https://github.com/cesarvieira/v-currency-field#readme","devDependencies":{"@eslint/compat":"^2.0.0","@stylistic/eslint-plugin":"^5.6.1","@vitejs/plugin-vue":"^6.0.3","@vue/eslint-config-typescript":"^14.6.0","eslint":"^9.39.2","eslint-config-prettier":"^10.1.8","eslint-plugin-import":"^2.32.0","eslint-plugin-prettier":"^5.5.4","eslint-plugin-vue":"^10.6.2","typescript":"^5.9.3","typescript-eslint":"^8.51.0","vite":"^7.3.0","vite-plugin-dts":"^4.5.4","vue-tsc":"^3.2.1","vue":"^3.5.26","vuetify":"^4.0.0","@mdi/font":"^7.4.47"},"peerDependencies":{"vue":"^3.5.26","vuetify":"^4.0.0"},"dependencies":{"vue-currency-input":"^3.2.2"},"gitHead":"3762e3457b985d5f6e6ad89d5c29ddf4f00c60a8","_id":"@cesarv/v-currency-field@2.0.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-5M/ohv37ywIU371WRgfyCocuWksJ1dxJvjQdbUkvFWTCKqVhn5JMqTJv5MzuSWFHpJ2fLvITK2/cvCKNSaRUOA==","shasum":"94b666fa32d481db7998b35d8c2cf5bbfaf2202e","tarball":"https://registry.npmjs.org/@cesarv/v-currency-field/-/v-currency-field-2.0.0.tgz","fileCount":9,"unpackedSize":358859,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cesarv%2fv-currency-field@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHGS2dE1bKweTaZcMqqjdKP7CAYfEcHWPTZEcTLQmLe5AiBuVvF8yU2PCumIWkYjCishDo5eVIlmIvSXh7NlSIbgvQ=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:605524a1-d6ca-47aa-939f-84db8a0c6a41"}},"directories":{},"maintainers":[{"name":"cesarv","email":"cesarvieira.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/v-currency-field_2.0.0_1774560934488_0.9554242184862802"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-03T19:02:04.402Z","modified":"2026-03-26T21:35:34.992Z","0.0.1":"2026-01-03T19:02:04.731Z","1.0.0":"2026-01-03T19:06:27.658Z","1.0.1":"2026-01-03T19:16:32.629Z","1.0.2":"2026-01-03T19:27:47.611Z","1.0.3":"2026-01-16T19:29:13.158Z","1.0.4":"2026-01-16T22:46:12.338Z","2.0.0":"2026-03-26T21:35:34.692Z"},"bugs":{"url":"https://github.com/cesarvieira/v-currency-field/issues"},"author":{"name":"Cesar Vieira","email":"cesarvieira.dev@gmail.com"},"license":"ISC","homepage":"https://github.com/cesarvieira/v-currency-field#readme","keywords":["vue","vue3","vuetify","vuetify4","currency","currency-field","typescript","component","vue-component"],"repository":{"type":"git","url":"git+https://github.com/cesarvieira/v-currency-field.git"},"description":"A Vue 3 currency input component for Vuetify 4 with TypeScript support","maintainers":[{"name":"cesarv","email":"cesarvieira.dev@gmail.com"}],"readme":"# V-Currency-Field\n\nA Vue 3 currency input component for Vuetify 3, built with TypeScript. Provides a powerful and intuitive way to handle currency input with automatic formatting, validation, and localization support.\n\n## Features\n\n- 🎨 Full integration with **Vuetify 3**\n- 💰 Automatic currency formatting\n- 🌍 Multi-currency and locale support\n- 🔢 Returns raw numeric values (not formatted strings)\n- 📱 Fully responsive\n- 🎭 TypeScript support\n- ✅ Inherits all VTextField props and features\n- 🧹 Clearable field support\n- 🎯 Hide currency symbol/separator on focus (configurable)\n\n## Requirements\n\n- Vue 3.5+\n- Vuetify 3.11+\n\n## Installation\n\n```bash\nnpm install @cesarv/v-currency-field\n```\n\n## Usage\n\n### Setup\n\nIf you're using the component as a plugin:\n\n```typescript\nimport { createApp } from 'vue';\nimport VCurrencyField from '@cesarv/v-currency-field';\n\nconst app = createApp(App);\napp.use(VCurrencyField);\n```\n\nOr import the component directly:\n\n```html\n<script setup lang=\"ts\">\nimport { VCurrencyField } from '@cesarv/v-currency-field';\n</script>\n```\n\n### Basic Example\n\n```html\n<template>\n  <VCurrencyField\n    v-model=\"amount\"\n    label=\"Amount\"\n  />\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\nimport { VCurrencyField } from '@cesarv/v-currency-field';\n\nconst amount = ref(1000); // Raw numeric value\n</script>\n```\n\n## Examples\n\n### Default USD\n\n```html\n<template>\n  <VCurrencyField\n    v-model=\"currency\"\n    label=\"USD Amount\"\n    placeholder=\"Enter a value\"\n  />\n  <p>Raw value: {{ currency }}</p>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\n\nconst currency = ref(1000);\n</script>\n```\n\n### Custom Currency and Locale\n\n```html\n<template>\n  <VCurrencyField\n    v-model=\"currency\"\n    label=\"BRL Amount\"\n    currency=\"BRL\"\n    locale=\"pt-BR\"\n  />\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\n\nconst currency = ref(50000);\n</script>\n```\n\n### Clearable Field\n\n```html\n<template>\n  <VCurrencyField\n    v-model=\"currency\"\n    label=\"Optional Amount\"\n    clearable\n    hint=\"This field can be cleared\"\n    persistent-hint\n  />\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\n\nconst currency = ref<number | null>(null);\n</script>\n```\n\n### All VTextField Props\n\nSince `VCurrencyField` extends `VTextField`, you can use all VTextField props:\n\n```html\n<template>\n  <VCurrencyField\n    v-model=\"currency\"\n    label=\"Amount\"\n    variant=\"outlined\"\n    density=\"comfortable\"\n    prepend-inner-icon=\"mdi-currency-usd\"\n    hint=\"Enter the amount\"\n    persistent-hint\n    :rules=\"[rules.required, rules.min]\"\n  />\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\n\nconst currency = ref(0);\n\nconst rules = {\n  required: (v: number | null) => (v !== null && v !== undefined) || 'Amount is required',\n  min: (v: number | null) => (v !== null && v >= 0) || 'Amount must be positive',\n};\n</script>\n```\n\n### Hide Currency Symbol on Focus\n\n```html\n<template>\n  <VCurrencyField\n    v-model=\"currency\"\n    label=\"Amount\"\n    hide-currency-symbol-on-focus\n    hide-grouping-separator-on-focus\n  />\n</template>\n```\n\n## API\n\n### Props\n\nThe component accepts all props from `VTextField` (see [Vuetify VTextField documentation](https://vuetifyjs.com/en/components/text-fields/)) plus the following currency-specific props:\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `modelValue` | `number \\| null` | `undefined` | The raw numeric value (not formatted) |\n| `currency` | `string` | `'USD'` | ISO 4217 currency code (e.g., 'USD', 'BRL', 'EUR') |\n| `locale` | `string` | `'en-US'` | BCP 47 language tag (e.g., 'en-US', 'pt-BR', 'de-DE') |\n| `currencyDisplay` | `'symbol' \\| 'narrowSymbol' \\| 'code' \\| 'name'` | `'symbol'` | How to display the currency |\n| `hideCurrencySymbolOnFocus` | `boolean` | `false` | Hide currency symbol when field is focused |\n| `hideGroupingSeparatorOnFocus` | `boolean` | `false` | Hide grouping separator when field is focused |\n| `valueAsInteger` | `boolean` | `false` | Return value as integer (multiplied by 100) |\n| `precision` | `number` | `undefined` | Decimal precision (defaults to currency's minor unit) |\n| `distractionFree` | `boolean \\| object` | `false` | Combined option for hiding symbol and separator on focus |\n\n### Events\n\n| Event | Payload | Description |\n|-------|---------|-------------|\n| `update:modelValue` | `number \\| null` | Emitted when the value changes, returns raw numeric value |\n\n### Slots\n\nAll slots from `VTextField` are supported (see [Vuetify VTextField slots](https://vuetifyjs.com/en/components/text-fields/#slots)):\n\n- `prepend-inner`\n- `append-inner`\n- `append`\n- `prepend`\n- `label`\n- `default` (messages)\n\n## Value Handling\n\n**Important**: The `v-model` binding returns a **raw numeric value**, not a formatted string.\n\n```typescript\nconst amount = ref(1000); // number\n\n// When user types \"$1,234.56\"\n// amount.value = 1234.56 (number, not string)\n```\n\n## Currency and Locale\n\nThe component uses the `Intl.NumberFormat` API for formatting, which means:\n\n- **Currency**: Uses ISO 4217 currency codes (USD, BRL, EUR, etc.)\n- **Locale**: Uses BCP 47 language tags (en-US, pt-BR, de-DE, etc.)\n\nCommon combinations:\n\n- USD with en-US: `$1,234.56`\n- BRL with pt-BR: `R$ 1.234,56`\n- EUR with de-DE: `1.234,56 €`\n- EUR with en-US: `€1,234.56`\n\n## Vuetify Defaults\n\nYou can configure default props for `VCurrencyField` using Vuetify's defaults system. This allows you to set defaults once and use them across your entire application without repeating props in every component instance.\n\n### Example: Setting Currency and Locale Defaults\n\n```typescript\nimport { createVuetify } from 'vuetify';\n\nconst vuetify = createVuetify({\n  defaults: {\n    VCurrencyField: {\n      currency: 'BRL',\n      locale: 'pt-BR',\n      variant: 'outlined',\n      density: 'comfortable',\n    },\n  },\n});\n```\n\nNow you can use the component without specifying these props every time:\n\n```html\n<template>\n  <!-- Uses defaults: BRL currency, pt-BR locale, outlined variant -->\n  <VCurrencyField v-model=\"amount\" label=\"Amount\" />\n  \n  <!-- You can still override defaults when needed -->\n  <VCurrencyField \n    v-model=\"amount\" \n    label=\"USD Amount\" \n    currency=\"USD\" \n    locale=\"en-US\"\n  />\n</template>\n```\n\n### Supported Default Props\n\nAll props of `VCurrencyField` can be set as defaults, including:\n\n- **Currency-specific props**: `currency`, `locale`, `currencyDisplay`, `hideCurrencySymbolOnFocus`, `hideGroupingSeparatorOnFocus`\n- **All VTextField props**: `variant`, `density`, `color`, `label`, `hint`, `persistent-hint`, `clearable`, etc.\n\n**Note**: Props passed directly to the component instance will always override the defaults.\n\n## Notes\n\n- The component wraps `VTextField` and extends its functionality\n- All validation rules from Vuetify work with the numeric values\n- The `clearable` prop works correctly, setting the value to `null`\n- The component automatically formats the displayed value while keeping the model value as a number\n- Make sure Vuetify is properly configured in your project\n\n## License\n\nISC\n\n## Author\n\n[Cesar Vieira](https://github.com/cesarvieira)\n","readmeFilename":"README.md"}