{"id":13535966,"url":"https://github.com/savokiss/vue-cascading-address","last_synced_at":"2025-07-05T19:33:50.491Z","repository":{"id":57394906,"uuid":"70777511","full_name":"savokiss/vue-cascading-address","owner":"savokiss","description":"vue address select component","archived":false,"fork":false,"pushed_at":"2018-01-24T03:29:54.000Z","size":1088,"stargazers_count":30,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-22T07:34:23.283Z","etag":null,"topics":["address-input","select","vuejs"],"latest_commit_sha":null,"homepage":"http://savokiss.me/vue-cascading-address","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/savokiss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-13T06:50:04.000Z","updated_at":"2024-09-16T09:20:23.000Z","dependencies_parsed_at":"2022-09-06T02:52:13.656Z","dependency_job_id":null,"html_url":"https://github.com/savokiss/vue-cascading-address","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savokiss%2Fvue-cascading-address","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savokiss%2Fvue-cascading-address/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savokiss%2Fvue-cascading-address/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savokiss%2Fvue-cascading-address/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savokiss","download_url":"https://codeload.github.com/savokiss/vue-cascading-address/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246743722,"owners_count":20826593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["address-input","select","vuejs"],"created_at":"2024-08-01T09:00:32.788Z","updated_at":"2025-04-02T02:31:43.178Z","avatar_url":"https://github.com/savokiss.png","language":"JavaScript","funding_links":[],"categories":["UI组件"],"sub_categories":[],"readme":"# VueJS cascading address component\n\n[![CircleCI](https://img.shields.io/circleci/project/savokiss/vue-cascading-address/master.svg)](https://circleci.com/gh/savokiss/vue-cascading-address)\n[![npm version](https://img.shields.io/npm/v/vue-cascading-address.svg)](https://www.npmjs.com/package/vue-cascading-address)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://opensource.org/licenses/MIT \"Feel free to contribute.\")\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fsavokiss%2Fvue-cascading-address.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fsavokiss%2Fvue-cascading-address?ref=badge_shield)\n\n## How it looks:\n![](./static/demo.gif)\n\n## Dependencies\n- VueJS 2.0+\n\n## Usage\n\n### INSTALLATION\n```\nnpm install vue-cascading-address --save\n```\n\n### ES6\n```\nimport cascadingAdress from 'vue-cascading-address'\nexport {\n  components: {\n    cascadingAddress\n  },\n  methods: {\n    confirmCity(data){\n      console.log(data);// { province: 'xxx' , city: 'xxx' , area: 'xxx' }\n    }\n  }\n}\n```\n\n### HTML\n```\n  \u003ccascading-address @confirm=\"confirmCity\"\u003e\u003c/cascading-address\u003e\n```\n\n## API\n\n### Props\n| name        | type    | required | description |\n| ---------- | --------| -------- | ---------------- |\n| inputClass | String  | false    | custom classes added to input like 'input-sm'|\n| readonly | Boolean  | false    | set the input to be readonly |\n\n\n### Events\n| name       | attributes    | listen to | description |\n| ---------- | --------| -------- | ---------------- |\n| confirm    | (data)  | @confirm    | Emitted after `confirm` button, data structure: { province: String, city: String, area: String} |\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fsavokiss%2Fvue-cascading-address.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fsavokiss%2Fvue-cascading-address?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavokiss%2Fvue-cascading-address","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavokiss%2Fvue-cascading-address","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavokiss%2Fvue-cascading-address/lists"}