{"id":18645082,"url":"https://github.com/glauberf/bower-angular-input-mask","last_synced_at":"2026-05-02T03:02:54.375Z","repository":{"id":58236666,"uuid":"139571721","full_name":"GlauberF/bower-angular-input-mask","owner":"GlauberF","description":"Angular Input Mask","archived":false,"fork":false,"pushed_at":"2018-07-03T12:09:15.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-18T16:09:14.512Z","etag":null,"topics":["angular","input","mask"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GlauberF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-03T11:11:00.000Z","updated_at":"2018-07-03T12:09:17.000Z","dependencies_parsed_at":"2022-08-31T09:41:48.297Z","dependency_job_id":null,"html_url":"https://github.com/GlauberF/bower-angular-input-mask","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/GlauberF/bower-angular-input-mask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlauberF%2Fbower-angular-input-mask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlauberF%2Fbower-angular-input-mask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlauberF%2Fbower-angular-input-mask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlauberF%2Fbower-angular-input-mask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GlauberF","download_url":"https://codeload.github.com/GlauberF/bower-angular-input-mask/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GlauberF%2Fbower-angular-input-mask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32521113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","input","mask"],"created_at":"2024-11-07T06:14:31.269Z","updated_at":"2026-05-02T03:02:54.353Z","avatar_url":"https://github.com/GlauberF.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bower-angular-input-mask\n\n**How to use**\u003cbr\u003e\n\n**ui-number-mask**\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"number\" ui-number-mask\u003e\n```\n\nDefine the number of decimals (default is 2):\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"number\" ui-number-mask=\"3\"\u003e\n```\n\nAllow negative numbers using the ui-negative-number attribute:\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"number\" ui-number-mask=\"4\" ui-negative-number\u003e\n```\n\nSupport to the min, max and ui-hide-group-sep attributes.\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"number\" ui-number-mask min=\"10.1\" max=\"100.9\"\u003e\n\u003c!-- Use 'ui-hide-group-sep' attribute if you don't want show the thousands separators--\u003e\n\u003cinput type=\"text\" name=\"field\" ng-model=\"number\" ui-number-mask ui-hide-group-sep\u003e\n```\n\nInternationalized: Used the decimal separator and the thousands separator defined in the client browser configuration.\n\u003cbr\u003e **ui-percentage-mask**\u003cbr\u003e\u003cbr\u003e\n\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"percentage\" ui-percentage-mask\u003e\n```\n\nYou can set the number of decimals (default is 2):\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"percentage\" ui-percentage-mask=\"4\"\u003e\nThe $modelValue is the $viewValue / 100, so $viewValue - 100% = $modelValue - 1\n```\n\nYou can use the same value in $modelValue and $viewValue using ui-percentage-value:\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"percentage\" ui-percentage-mask ui-percentage-value\u003e\n```\n\nSupport to the min, max and ui-hide-group-sep attributes.\n\nInternationalized: Used the decimal separator and thousands separator defined in the client browser configuration.\n\nThe $modelValue is the $viewValue / 100, so $viewValue - 100% = $modelValue - 1\n\nYou can add ui-hide-space attribute to hide space between [NUMBER] and %\n\n**ui-money-mask**\u003cbr\u003e\n\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"money\" ui-money-mask\u003e\n```\n\nDefine the number of decimals (default is 2):\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"money\" ui-money-mask=\"3\"\u003e\n```\n\nSupport to the min, max and ui-hide-group-sep attributes.\n\nInternationalized: Used the currency symbol, decimal separator and thousands separator defined in the client browser configuration.\n\nYou can add ui-hide-space attribute to hide space between [Currency symbol] and [NUMBER]\n\n**ui-br-phone-number**\u003cbr\u003e\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"phoneNumber\" ui-br-phone-number-mask\u003e\n```\n\nSuports only simple phone number format: 1234-5678 || 12345-6789\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"phoneNumber\" ui-br-phone-number-mask=\"simple\"\u003e\n```\n\nSuports only area code phone number format: (12) 3456-7890 || (12) 34567-8901\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"phoneNumber\" ui-br-phone-number-mask=\"areaCode\"\u003e\n```\n\nSuports only country code phone number format: +12 (34) 5678-9012 || +12 (34) 56789-0123\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"phoneNumber\" ui-br-phone-number-mask=\"countryCode\"\u003e\n```\n\n**ui-us-phone-number**\u003cbr\u003e\n\n\n```html\n  \u003cinput type=\"tel\" name=\"field\" ng-model=\"phoneNumber\" ui-us-phone-number-mask\u003e\n```\n\nOutputs phone number in the following format: (123) 456-7890\n\n**ui-br-cep-mask**\u003cbr\u003e\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"cep\" ui-br-cep-mask\u003e\n```\n\n**ui-br-cpf-mask**\u003cbr\u003e\n\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"initializedCpf\" ui-br-cpf-mask\u003e\n```\n\n**ui-br-cnpj-mask** \u003cbr\u003e\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"initializedCnpj\" ui-br-cnpj-mask\u003e\n```\n\n**ui-br-cpfcnpj-mask**\u003cbr\u003e\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"initializedCpfCnpj1\" ui-br-cpfcnpj-mask\u003e\n```\n\n**ui-br-ie-mask** \u003cbr\u003e\n```html\n\u003cselect ng-init=\"ufs=['AC','AL','AM','TO']\" ng-model=\"selectedUF\" ng-options=\"uf for uf in ufs\"\u003e\u003c/select\u003e\n\u003cinput type=\"text\" name=\"field19\" ng-model=\"ieField\" ui-br-ie-mask='selectedUF'\u003e\n```\n\nSupport masks for all the 27 brazillian states.\n\nValidations according to the Sintegra especification.\n\n**ui-time-mask** \u003cbr\u003e\n\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"initializeTime\" ui-time-mask\u003e\n```\n\nSupport to the short attributes.\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"initializeTime\" ui-time-mask=\"short\"\u003e\n```\n\n**ui-date-mask** \u003cbr\u003e\n\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"birthDate\" ui-date-mask\u003e\n```\n\nSupport to the custom date masks (See moment.js date formats).\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"birthDate\" ui-date-mask=\"DD-MM-YYYY\"\u003e\n```\n\nSupport to parse attribute. When the attribute is set to false, the inputed value will be passed to the model as a string. Default value of the attribute is true.\n\n```html\n\u003cinput type=\"text\" name=\"field\" ng-model=\"birthDate\" ui-date-mask parse=\"false\"\u003e\n```\n\n**time-mask** \u003cbr\u003e\n\n\n```html\n\u003cinput type=\"text\" name=\"time\" ng-model=\"time\" ui-time-mask\u003e\n\u003cinput type=\"text\" name=\"initializedShortTimeMask\" ng-model=\"initializedShortTimeMask\" ui-time-mask=\"short\"\u003e\n```\n\n**Masks to be documentated (help wanted!)**\n* ui-nfe-access-key-mask\n* ui-time-mask\n* ui-date-mask\n* ui-br-boleto-bancario-mask\n* ui-br-car-plate-mask\n* ui-scientific-notation-mask\n* ui-fr-phone-number\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglauberf%2Fbower-angular-input-mask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglauberf%2Fbower-angular-input-mask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglauberf%2Fbower-angular-input-mask/lists"}