{"id":18705928,"url":"https://github.com/evseevdev/vue-suggestions","last_synced_at":"2025-04-12T10:21:01.697Z","repository":{"id":72021946,"uuid":"93067398","full_name":"evseevdev/vue-suggestions","owner":"evseevdev","description":"Vue компонент для плагина DaData.ru","archived":false,"fork":false,"pushed_at":"2019-08-26T13:09:15.000Z","size":550,"stargazers_count":26,"open_issues_count":8,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T23:19:12.610Z","etag":null,"topics":["dadata","vue"],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/evseevdev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-01T14:42:05.000Z","updated_at":"2024-05-21T08:13:14.000Z","dependencies_parsed_at":"2023-03-22T23:31:10.433Z","dependency_job_id":null,"html_url":"https://github.com/evseevdev/vue-suggestions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evseevdev%2Fvue-suggestions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evseevdev%2Fvue-suggestions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evseevdev%2Fvue-suggestions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evseevdev%2Fvue-suggestions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evseevdev","download_url":"https://codeload.github.com/evseevdev/vue-suggestions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550623,"owners_count":21122934,"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":["dadata","vue"],"created_at":"2024-11-07T12:12:22.917Z","updated_at":"2025-04-12T10:21:01.690Z","avatar_url":"https://github.com/evseevdev.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue-suggestions\nVue компонент для плагина сервиса Подсказок DaData.ru\n\n# Требования\n- Vue.js `^2.3.0`\n\n# Установка\n\n## npm\n\n```shell\n$ npm install --save vue-suggestions\n```\n\n## yarn\n\n```shell\n$ yarn add vue-suggestions\n```\n\n# Использование\n```html\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003cVueSuggestions\n        :model.sync=\"city\"\n        :coordinates.sync=\"coordinates\"\n        :placeholder=\"'Начните вводить'\"\n        :class=\"form-control\"\n        :options=\"suggestionOptions\"\u003e\n    \u003c/VueSuggestions\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n  import VueSuggestions from 'vue-suggestions';\n\n  export default {\n    data() {\n      return {\n        city: '',\n        coordinates: {\n          latitude: '',\n          longitude: ''\n        },\n        suggestionOptions: {\n          // @see https://confluence.hflabs.ru/pages/viewpage.action?pageId=207454318\n          token: 'abcd123',\n          type: \"ADDRESS\",\n          scrollOnFocus: false,\n          triggerSelectOnBlur: false,\n          triggerSelectOnEnter: false,\n          addon: 'none',\n          // @see https://confluence.hflabs.ru/pages/viewpage.action?pageId=207454320\n          onSelect (suggestion) {\n            \n          }\n        },\n      }\n    },\n    components: { VueSuggestions }\n  }\n\u003c/script\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevseevdev%2Fvue-suggestions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevseevdev%2Fvue-suggestions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevseevdev%2Fvue-suggestions/lists"}