{"_id":"@bradmartin/nativescript-input-mask","_rev":"4-f8b576e7b7e773a0e6122344a118bcc0","name":"@bradmartin/nativescript-input-mask","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.1":{"name":"@bradmartin/nativescript-input-mask","version":"0.0.1","description":"A Nativescript plugin to mask (format) text such as phone numbers or credit card numbers.","repository":{"type":"git","url":"git+https://github.com/vcooley/nativescript-input-mask.git"},"main":"index.js","typings":"index.d.ts","nativescript":{"platforms":{"android":"3.4.1","ios":"3.4.1"}},"scripts":{"tsc":"tsc -skipLibCheck","build":"npm i && ts-patch install && tsc","postclone":"npm i && node scripts/postclone.js && cd ../demo-ng && npm i && cd ../src && npm run plugin.link","test.android":"npm i && npm run tsc && npm run tslint && cd ../demo-ng && tns build android && tns test android --justlaunch","test.ios":"npm i && npm run tsc && npm run tslint && cd ../demo-ng && tns build ios && tns test ios --justlaunch","tslint":"cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"","plugin.link":"npm link && cd ../demo-ng && npm link nativescript-input-mask && cd ../src","plugin.tscwatch":"npm run tsc -- -w","demo.ios":"npm i && npm run tsc && cd ../demo-ng && tns run ios --syncAllFiles","demo.android":"npm i && npm run tsc && cd ../demo-ng && tns run android --syncAllFiles","demo.reset":"cd ../demo-ng && rimraf platforms","plugin.prepare":"npm run tsc && cd ../demo-ng && tns plugin remove nativescript-input-mask && tns plugin add ../src","clean":"cd ../demo-ng && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link","ci.tslint":"npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'","ngc":"ngc --p tsconfig.ngc.json"},"keywords":["NativeScript","mask","input","form","text","format"],"author":{"name":"Vince Cooley","email":"vince.r.cooley@gmail.com"},"bugs":{"url":"https://github.com/vcooley/nativescript-input-mask/issues"},"license":"Apache-2.0","homepage":"https://github.com/vcooley/nativescript-input-mask","devDependencies":{"@angular/animations":"~10.1.0","@angular/common":"~10.1.0","@angular/compiler":"~10.1.0","@angular/compiler-cli":"~10.1.0","@angular/core":"~10.1.0","@angular/forms":"~10.1.0","@angular/http":"~7.2.16","@angular/platform-browser":"~10.1.0","@angular/platform-browser-dynamic":"~10.1.0","@angular/router":"~10.1.0","@nativescript/angular":"~10.1.7","@nativescript/core":"~7.0.13","@nativescript/types":"~7.0.4","@nativescript/webpack":"~3.0.8","prompt":"^1.0.0","rimraf":"~3.0.2","rxjs":"~6.6.3","ts-node":"~9.0.0","ts-patch":"~1.3.0","tslint":"~6.1.3","typescript":"~3.9.7","zone.js":"~0.11.3"},"dependencies":{},"bootstrapper":"nativescript-plugin-seed","_id":"@bradmartin/nativescript-input-mask@0.0.1","_nodeVersion":"12.14.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-3sc3sotyL9ROwIdE727wWkmCrOLKuz36Pqs2LW5WR9qw1xSo7pYWLx45px+G3+gEjGPMZrIpn3fJwN7e8T+xQA==","shasum":"bd85c97088b402b8481322013ce9debba0cfa1a2","tarball":"https://registry.npmjs.org/@bradmartin/nativescript-input-mask/-/nativescript-input-mask-0.0.1.tgz","fileCount":28,"unpackedSize":103181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpaWDCRA9TVsSAnZWagAALjwP/iQG/CG84w9rwCQrxqx0\n3YajixW53S/GqHZOfW1Y7btlIqqHwbzw9lGGE3PD9zhdqcuLpVP7oQSeAh1U\n83O+YMnULMYETZn1CXy3pf5h+/nTzEsrSFRzCQt3lyDTcdEK1uWC0dgYDXM8\nMddxzMi/aNvzACLxkK5DkXoLvFNttW6BEZpP7HYe8yvNgDWBYGG1iNfmFa21\nGAmchwYdPV6tdnQ2rx/pdulifsrnEeIuXSBW63ActwGvptAte2da93Go727B\n/fxUfnXZ9wUzXt7e3RbBPC2Xr8j1LqSt14OLyTW0n5oQhwgd64T2tfvvfiVV\nu5J515f5bLe6lhH01WzbaEITRTtDGjB4T3AkYo0/xTY/DWydgwXOu3Gc+jjI\nsp2OwcnCv8rRDoE8Zi+RN0BGrq+KrMrRqu2O/8ySX8kOI9//wedrfRqwxMtW\nUigNz3ZzKvKwFtiI4geq0Nm3If61zF4WejNfPMBl0c9BUseIZa8t8W22BDww\n3DwpLbYgWLNKfdizr38tyMfmu1Usmp+64Q3LlzLyIV5HzXm1gjF66nLR3fdW\n6CQF2kzgvM/04iK2XmdOh65MBIYSWoiBvpOPysK1d9sl6EX7H0h0TFrUlmXm\ndKkkHIYcrjkYOT4AhuXCOIpP+7WKGlmltkt4UO6r59uDly151OEwL3N5JLvS\nnwB9\r\n=Xl8K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB9icNZAHUVBMpPmGIMSy38fRgjUoS4CLpDv2B4+ehWTAiBy9/gPqxHu549E0xtJ2rF6uwVS5kSuoZ7ZIGZ5JLwwsA=="}]},"_npmUser":{"name":"bradmartin","email":"bradwaynemartin@gmail.com"},"directories":{},"maintainers":[{"name":"bradmartin","email":"bradwaynemartin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nativescript-input-mask_0.0.1_1604691331289_0.4722467705683713"},"_hasShrinkwrap":false},"0.1.0":{"name":"@bradmartin/nativescript-input-mask","version":"0.1.0","description":"A Nativescript plugin to mask (format) text such as phone numbers or credit card numbers.","repository":{"type":"git","url":"git+https://github.com/vcooley/nativescript-input-mask.git"},"main":"index.js","typings":"index.d.ts","nativescript":{"platforms":{"android":"3.4.1","ios":"3.4.1"}},"scripts":{"tsc":"tsc -skipLibCheck","build":"npm i && ts-patch install && tsc","postclone":"npm i && node scripts/postclone.js && cd ../demo-ng && npm i && cd ../src && npm run plugin.link","test.android":"npm i && npm run tsc && npm run tslint && cd ../demo-ng && tns build android && tns test android --justlaunch","test.ios":"npm i && npm run tsc && npm run tslint && cd ../demo-ng && tns build ios && tns test ios --justlaunch","tslint":"cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"","plugin.link":"npm link && cd ../demo-ng && npm link nativescript-input-mask && cd ../src","plugin.tscwatch":"npm run tsc -- -w","demo.ios":"npm i && npm run tsc && cd ../demo-ng && tns run ios --syncAllFiles","demo.android":"npm i && npm run tsc && cd ../demo-ng && tns run android --syncAllFiles","demo.reset":"cd ../demo-ng && rimraf platforms","plugin.prepare":"npm run tsc && cd ../demo-ng && tns plugin remove nativescript-input-mask && tns plugin add ../src","clean":"cd ../demo-ng && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link","ci.tslint":"npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'","ngc":"ngc --p tsconfig.ngc.json"},"keywords":["NativeScript","mask","input","form","text","format"],"author":{"name":"Vince Cooley","email":"vince.r.cooley@gmail.com"},"bugs":{"url":"https://github.com/vcooley/nativescript-input-mask/issues"},"license":"Apache-2.0","homepage":"https://github.com/vcooley/nativescript-input-mask","devDependencies":{"@angular/animations":"~10.1.0","@angular/common":"~10.1.0","@angular/compiler":"~10.1.0","@angular/compiler-cli":"~10.1.0","@angular/core":"~10.1.0","@angular/forms":"~10.1.0","@angular/http":"~7.2.16","@angular/platform-browser":"~10.1.0","@angular/platform-browser-dynamic":"~10.1.0","@angular/router":"~10.1.0","@nativescript/angular":"~10.1.7","@nativescript/core":"~7.0.13","@nativescript/types":"~7.0.4","@nativescript/webpack":"~3.0.8","prompt":"^1.0.0","rimraf":"~3.0.2","rxjs":"~6.6.3","ts-node":"~9.0.0","ts-patch":"~1.3.0","tslint":"~6.1.3","typescript":"~3.9.7","zone.js":"~0.11.3"},"dependencies":{},"bootstrapper":"nativescript-plugin-seed","_id":"@bradmartin/nativescript-input-mask@0.1.0","_nodeVersion":"12.14.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-QJW2fD8K+v2lMWtl5WpkH2W4yvaYfBmo4+9psDujGdwKoWFnqQL1ufOM+2gAfQhPg28yIyz/nxMOZvnxa8KQyA==","shasum":"be02882e684fefbe6ebb407625460065cac21e5c","tarball":"https://registry.npmjs.org/@bradmartin/nativescript-input-mask/-/nativescript-input-mask-0.1.0.tgz","fileCount":28,"unpackedSize":103181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpbSxCRA9TVsSAnZWagAArsYP/AuVv8WpHYlkc3wLafqR\nPNmsVQgjXxfXax8ygskXUwK0iatm0Kz7AE2pBWgZbing0BPPdE4SOhT/c76Q\nsFphbr/uQNQE658ZL9bojhwhA6bBIwaD1aBaZ2cMCtYoFodcPZCsSBmO69rY\nkRpgQFS4F4DmezfmvuKJd2KQlwKacxOeVtDSRgQGldpjtbdGAQVHUBbYYBlz\nmBF3KP0Mhz16cRlXsolYWHGMIkWOwMQzCUecKMGYGWNMj4xmLeMUUTAXrNi4\nn3I/oeSXDtKJ4bFoQ1FEVqAnCG5eaNyHfJJE+USY9x8EuQJRTM2cnCYn2xac\n923gYhdSxiSZTr8Ki9KmMWYSXhajHnFsBomOyTLinSL+JH37d139fPH7lm1X\nrkflN2q8ZtsSSBrTVBo1O2Ti47scG2I/b4Z/r5vur+qezV+mUr7zufkiSQeC\nOMNlyUU6+sZXrbjALee1Zm9qLMQhrZ3zoge1g5ToxWkp1cVgF/IyDddaPLP7\nMvl1LocHu7cw8+XU0NC+7bOyu04H6FmAfZBm1PSCPBOiIIXLT8/ad+fbTsL/\nsoiQwR4bTp7VHNQzamiUrAl1B56rYF9BTYmaLXdvraWXb5R7X1NS9RGTrOCE\nj1GD4y05Ag5jLrvesEEHovSriXb7YMLoGPeMTTquoDPQAfu9ylV9u+TeCPFA\nBL6R\r\n=cQOU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW8En7+XIJlDXaa9o7FJnCY6tSN44umLxJjMkJQ9bmpgIgVL7oQSGmiC7Z+kw9BCK5MtyMrfhJemrsTHcS9CD6++Y="}]},"_npmUser":{"name":"bradmartin","email":"bradwaynemartin@gmail.com"},"directories":{},"maintainers":[{"name":"bradmartin","email":"bradwaynemartin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nativescript-input-mask_0.1.0_1604695217151_0.11168189594372935"},"_hasShrinkwrap":false},"0.1.1":{"name":"@bradmartin/nativescript-input-mask","version":"0.1.1","description":"A Nativescript plugin to mask (format) text such as phone numbers or credit card numbers.","repository":{"type":"git","url":"git+https://github.com/bradmartin/nativescript-input-mask.git"},"main":"input-mask","typings":"index.d.ts","nativescript":{"platforms":{"android":"3.4.1","ios":"3.4.1"}},"scripts":{"tsc":"tsc -skipLibCheck","build":"npm i && ts-patch install && tsc","postclone":"npm i && node scripts/postclone.js && cd ../demo-ng && npm i && cd ../src && npm run plugin.link","test.android":"npm i && npm run tsc && npm run tslint && cd ../demo-ng && tns build android && tns test android --justlaunch","test.ios":"npm i && npm run tsc && npm run tslint && cd ../demo-ng && tns build ios && tns test ios --justlaunch","tslint":"cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"","plugin.link":"npm link && cd ../demo-ng && npm link nativescript-input-mask && cd ../src","plugin.tscwatch":"npm run tsc -- -w","demo.ios":"npm i && npm run tsc && cd ../demo-ng && tns run ios --syncAllFiles","demo.android":"npm i && npm run tsc && cd ../demo-ng && tns run android --syncAllFiles","demo.reset":"cd ../demo-ng && rimraf platforms","plugin.prepare":"npm run tsc && cd ../demo-ng && tns plugin remove nativescript-input-mask && tns plugin add ../src","clean":"cd ../demo-ng && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link","ci.tslint":"npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'","ngc":"ngc --p tsconfig.ngc.json"},"keywords":["NativeScript","mask","input","form","text","format"],"author":{"name":"Vince Cooley","email":"vince.r.cooley@gmail.com"},"bugs":{"url":"https://github.com/bradmartin/nativescript-input-mask/issues"},"license":"Apache-2.0","homepage":"https://github.com/bradmartin/nativescript-input-mask","devDependencies":{"@angular/animations":"~10.1.0","@angular/common":"~10.1.0","@angular/compiler":"~10.1.0","@angular/compiler-cli":"~10.1.0","@angular/core":"~10.1.0","@angular/forms":"~10.1.0","@angular/http":"~7.2.16","@angular/platform-browser":"~10.1.0","@angular/platform-browser-dynamic":"~10.1.0","@angular/router":"~10.1.0","@nativescript/angular":"~10.1.7","@nativescript/core":"~7.0.13","@nativescript/types":"~7.0.4","@nativescript/webpack":"~3.0.8","prompt":"^1.0.0","rimraf":"~3.0.2","rxjs":"~6.6.3","ts-node":"~9.0.0","ts-patch":"~1.3.0","tslint":"~6.1.3","typescript":"~3.9.7","zone.js":"~0.11.3"},"dependencies":{},"bootstrapper":"nativescript-plugin-seed","_resolved":"","_integrity":"","_from":"file:bradmartin-nativescript-input-mask-0.1.1.tgz","_id":"@bradmartin/nativescript-input-mask@0.1.1","_nodeVersion":"12.14.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-YPgW45T8CyCOqIM0/zplOPJeqyMlPSUaoNQST6XOEfmUYmky1DKWzKPULXePrAmw0zPEXODaDDOwR0ZCZRrXfg==","shasum":"06ed5cf72de6462985d43b368afdc5079b42e68c","tarball":"https://registry.npmjs.org/@bradmartin/nativescript-input-mask/-/nativescript-input-mask-0.1.1.tgz","fileCount":33,"unpackedSize":64936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsqRYCRA9TVsSAnZWagAAs74P/jZd5FqQnqX8KzubtrYT\nIovGRfKrjAkJluBRZCy0BldKKrQh43I6zBXeWjGMrvTJTE1zEw1DvJs5UjUB\nt+z8RiriGYtOKjns0IK3MXMG7zvzTtC95x8mFozjMDEguth3ozMMVesyzlLh\nk87ZAP7MI7WhGiZjZ1KDgZ68eJiubmkii+KaH5xl+bQJ7/8iNf84kWubxIO3\n7JVIfV9Kw1uXr1akdXvQAjzRdhiKbODqhjBx8sYsQielk+0QAitq3iBJ9lnz\nlQ2Fm5Np+9DQCfN10RaIcSmI9G04RBgtFFncm8htptCtVj2NLWxKF5QhXXxa\noYe16MW/G/3Mki76qvVfFEEul1+9LCWNVPYMXvaCC4cl+IVwbpfuRh8hcDS0\nFV6GAWN4SCFFO0zuRP2CZYQH/y4sRP/dGZevB7Ne6cs8TBZL1uN45EUB5WTT\nryGr0hRaD60dckCR7u6Pb71JUhBLzGqcHSdaaEjLvho8ZorWWJ2jr/SEVYOj\n1M67p6Xs3Mtl+WajUJ/rEvbCVVN4z4Q3OoTwnnxR9OSRle4bPxHLEBrTeMQG\n8l63PccWeFrskrBY8wI/hYKAg1TNnrC/nHcyBYNIOeDhW7AiPDv2qsTQ8cNz\nJgkeE+kPAbiqYI9PiH1371WPcKdfv/0A9tvZv7byCMRSosBWA4z/CZoLjo3s\nSL/k\r\n=wjMj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC866APUJ6UWocuQc4178BWonGR+sTB7Rsfr/M8PmO23gIhAINbte9teUFKcG45YJDAsr0JVzJ4ozGvf9/NggOXcB55"}]},"_npmUser":{"name":"bradmartin","email":"bradwaynemartin@gmail.com"},"directories":{},"maintainers":[{"name":"bradmartin","email":"bradwaynemartin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nativescript-input-mask_0.1.1_1605542999460_0.8215950929578055"},"_hasShrinkwrap":false},"0.1.2":{"name":"@bradmartin/nativescript-input-mask","version":"0.1.2","description":"A Nativescript plugin to mask (format) text such as phone numbers or credit card numbers.","repository":{"type":"git","url":"git+https://github.com/bradmartin/nativescript-input-mask.git"},"main":"input-mask","typings":"index.d.ts","nativescript":{"platforms":{"android":"3.4.1","ios":"3.4.1"}},"scripts":{"tsc":"tsc -skipLibCheck","build":"npm i && ts-patch install && tsc","postclone":"npm i && node scripts/postclone.js && cd ../demo-ng && npm i && cd ../src && npm run plugin.link","test.android":"npm i && npm run tsc && npm run tslint && cd ../demo-ng && ns build android && ns test android --justlaunch","test.ios":"npm i && npm run tsc && npm run tslint && cd ../demo-ng && ns build ios && ns test ios --justlaunch","tslint":"cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"","plugin.link":"npm link && cd ../demo-ng && npm link nativescript-input-mask && cd ../src","plugin.tscwatch":"npm run tsc -- -w","demo.ios":"npm i && npm run tsc && cd ../demo-ng && ns run ios","demo.android":"npm i && npm run tsc && cd ../demo-ng && ns run android","demo.reset":"cd ../demo-ng && rimraf platforms","plugin.prepare":"npm run tsc && cd ../demo-ng && ns plugin remove nativescript-input-mask && ns plugin add ../src","clean":"cd ../demo-ng && rimraf hooks node_modules platforms && cd ../src && rimraf node_modules && npm run plugin.link","ci.tslint":"npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**'","ngc":"ngc --p tsconfig.ngc.json"},"keywords":["NativeScript","mask","input","form","text","format"],"author":{"name":"Vince Cooley","email":"vince.r.cooley@gmail.com"},"bugs":{"url":"https://github.com/bradmartin/nativescript-input-mask/issues"},"license":"Apache-2.0","homepage":"https://github.com/bradmartin/nativescript-input-mask","devDependencies":{"@angular/animations":"~10.1.0","@angular/common":"~10.1.0","@angular/compiler":"~10.1.0","@angular/compiler-cli":"~10.1.0","@angular/core":"~10.1.0","@angular/forms":"~10.1.0","@angular/http":"~7.2.16","@angular/platform-browser":"~10.1.0","@angular/platform-browser-dynamic":"~10.1.0","@angular/router":"~10.1.0","@nativescript/angular":"~10.1.7","@nativescript/core":"~7.0.13","@nativescript/types":"~7.0.4","@nativescript/webpack":"~3.0.8","prompt":"^1.0.0","rimraf":"~3.0.2","rxjs":"~6.6.3","ts-node":"~9.0.0","ts-patch":"~1.3.0","tslint":"~6.1.3","typescript":"~3.9.7","zone.js":"~0.11.3"},"dependencies":{},"bootstrapper":"nativescript-plugin-seed","_resolved":"","_integrity":"","_from":"file:bradmartin-nativescript-input-mask-0.1.2.tgz","_id":"@bradmartin/nativescript-input-mask@0.1.2","_nodeVersion":"12.14.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-SNIy8bDPANIzf8y25UdqHdDRHoIHYKDZ9JzxyxZmT4Y3A7HaxC1UxSrSvqT1rk1lVjf1d2aw85FwXfrqw+UPZw==","shasum":"d49235bd757869caf12e785330fd5a2e5b218109","tarball":"https://registry.npmjs.org/@bradmartin/nativescript-input-mask/-/nativescript-input-mask-0.1.2.tgz","fileCount":33,"unpackedSize":65096,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxEBTCRA9TVsSAnZWagAAXYwQAJj1NyirIfFtWRBG70/M\ntoHIMUmS1bf3Um26mAAWMtqg0YG/SuZl1mDQIo25DYwyfzZ4GFfRad1dVzQj\ngZjSq1dglrvk7qsqX51fXewbcnsXHazjzAC3ljSufgpDRZStWITyrS9iG9yC\nE4Nzls9Ziq5qMJftRoMoxxMc8vYvswrRtulRVIWbDXd5Z0ZFlcfBMsi26IJF\nJvIkjWuLHXrnmk+zcIxusXGmovVvhN06ozXWq8Oe4cj4M33TyIJdwD7C4i3K\nXmcWtT1d0ZrGf9c48K4JUPURT5IL9F+3WjLMHasLYOln8DwBMudaou/tBvFM\n7YDdTPNPQpW4FQOkwAtZDv9NNEYUadV7rSrDanrwLp0kz4Bxk8wL9dzR85v6\nKFn7HCOky2PbHe9+iKHVDrpXbUxsu0jqoifs85rQXIZH+7+pPQY0OFyKiorh\nRRyJ767TN4U8h3u+Z63NVnOwCt8wEcFLurdBgcdWEUNcz/WHynb8c31iR/b/\n8Tsm6IQ81z1mcebbNII7lDJxnSMv7y7Iz9fKHRHuVchzPnng0IvOaVX8WQaE\n6snB2coKdfwuVKyXgFn9Y3c3e+BKnHWrux96o3voNYwLlra1rSZC9wELN4ZA\nX8WMQQQO0Hk5izzcbU8gzrv9+xi/LtBKAnq4yxx+WG/0tuxSCyKaQ9La0ZTo\n7TPc\r\n=S/8P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGBiJKveIBm0zJ5gqrIoNePYtlja65IHWlQYtd0M9JuQIgI3UVFFshyma4O6G7O0WA+jkBswNlobfOb40OWVY4KY8="}]},"_npmUser":{"name":"bradmartin","email":"bradwaynemartin@gmail.com"},"directories":{},"maintainers":[{"name":"bradmartin","email":"bradwaynemartin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nativescript-input-mask_0.1.2_1606697043256_0.8220384470301445"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-06T19:35:31.237Z","0.0.1":"2020-11-06T19:35:31.495Z","modified":"2022-04-04T20:20:11.250Z","0.1.0":"2020-11-06T20:40:17.298Z","0.1.1":"2020-11-16T16:09:59.598Z","0.1.2":"2020-11-30T00:44:03.414Z"},"maintainers":[{"name":"bradmartin","email":"bradwaynemartin@gmail.com"}],"description":"A Nativescript plugin to mask (format) text such as phone numbers or credit card numbers.","homepage":"https://github.com/bradmartin/nativescript-input-mask","keywords":["NativeScript","mask","input","form","text","format"],"repository":{"type":"git","url":"git+https://github.com/bradmartin/nativescript-input-mask.git"},"author":{"name":"Vince Cooley","email":"vince.r.cooley@gmail.com"},"bugs":{"url":"https://github.com/bradmartin/nativescript-input-mask/issues"},"license":"Apache-2.0","readme":"# Nativescript Input Mask\n\nFormat user input and process only the characters valueable to your application. Use this plugin to format phone numbers, credit card numbers, and more in a way that is more friendly for your data handling processes.\n\nThis plugin makes the native libraries [InputMask(Android)](https://github.com/RedMadRobot/input-mask-android) and [InputMask(iOS)](https://github.com/RedMadRobot/input-mask-ios) compatible with Nativescript.\n\n## Installation\n\n```javascript\ntns plugin add nativescript-input-mask\n```\n\n## Usage\nUse by adding a `mask` property to an `InputMask` field. Masks can be changed on the fly, which causes the current extracted value to be re-applied to the new mask. Any characters that do not meet the mask criteria will be dropped.\n\nDocumentation for masks is below (from [here](https://github.com/RedMadRobot/input-mask-ios#description)).\n\n_________________________________________________________\nMasks consist of blocks of symbols, which may include:\n\n* `[]` — a block for valueable symbols written by user.\n\nSquare brackets block may contain any number of special symbols:\n\n1. `0` — mandatory digit. For instance, `[000]` mask will allow user to enter three numbers: `123`.\n2. `9` — optional digit . For instance, `[00099]` mask will allow user to enter from three to five numbers.\n3. `А` — mandatory letter. `[AAA]` mask will allow user to enter three letters: `abc`.\n4. `а` — optional letter. `[АААааа]` mask will allow to enter from three to six letters.\n5. `_` — mandatory symbol (digit or letter).\n6. `-` — optional symbol (digit or letter).\n\nOther symbols inside square brackets will cause a mask initialization error.\n\nBlocks may contain mixed types of symbols; such that, `[000AA]` will end up being divided in two groups: `[000][AA]` (this happens automatically).\n\nBlocks must not contain nested brackets. `[[00]000]` format will cause a mask initialization error.\n\nSymbols outside the square brackets will take a place in the output.\nFor instance, `+7 ([000]) [000]-[0000]` mask will format the input field to the form of `+7 (123) 456-7890`.\n\n* `{}` — a block for valueable yet fixed symbols, which could not be altered by the user.\n\nSymbols within the square and curly brackets form an extracted value (valueable characters).\nIn other words, `[00]-[00]` and `[00]{-}[00]` will format the input to the same form of `12-34`,\nbut in the first case the value, extracted by the library, will be equal to `1234`, and in the second case it will result in `12-34`.\n\nMask format examples:\n\n1. [00000000000]\n2. {401}-[000]-[00]-[00]\n3. [000999999]\n4. {818}-[000]-[00]-[00]\n5. [A][-----------------------------------------------------]\n6. [A][_______________________________________________________________]\n7. 8 [0000000000]\n8. 8([000])[000]-[00]-[00]\n9. [0000]{-}[00]\n10. +1 ([000]) [000] [00] [00]\n_________________________________________________________\n\n### Angular\nAdd the following lines to `app/app.module.ts`:\n```javascript\nimport { InputMaskModule } from 'nativescript-input-mask/angular';\n\n@NgModule({\n    // ...\n    imports: [\n        // ...\n        InputMaskModule,\n        // ...\n    ],\n    // ...\n})\n```\n\nUse like a `TextField` with a mask property and other event properties:\n```javascript\nimport { Component, NgZone, OnInit } from \"@angular/core\";\n\n@Component({\n  selector: \"ns-app\",\n  template: `\n    <StackLayout>\n        <InputMask\n            mask=\"([000]) [000]-[0000]\"\n            (extractedValueChange)=onExtractedValueChange($event)\n            (completedChange)=\"onCompletedChage($event)\">\n        </InputMask>\n    </StackLayout>\n  `,\n})\nexport class AppComponent {\n    onExtractedValueChange(args) {\n        // `args.value` includes only extracted characters, for instance\n        // `1235551111` would be logged while the UI would display `(123) 555-1111`.\n        console.log('Extracted value:', args.value);\n    }\n\n    onCompletedChange(args) {\n        // `args.value` indicates whether the field contains all mandatory characters.\n        console.log('Completed:', args.value)\n    }\n}\n```\n\nNote that masks can be bound and changed on the fly. See demo app for a working implementation.\n\n## API\n\nThe `InputMask` class extends `TextField` and implements the following additional properties:\n\n| Property | Default | Description |\n| --- | --- | --- |\n| mask | \"\" | The mask property to apply to text entered into the field.\n| extractedValue | \"\" | The value extracted from the field.\n| completed | false | Indicates whether all mandatory characters have been filled.\n\n## License\n\nApache License Version 2.0, January 2004\n","readmeFilename":"README.md"}