├── .gitignore
├── yarn.lock
├── package.json
├── README.md
├── LICENSE
└── src
└── Cleave.vue
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2 | # yarn lockfile v1
3 |
4 |
5 | cleave.js@^0.7.15:
6 | version "0.7.15"
7 | resolved "https://registry.yarnpkg.com/cleave.js/-/cleave.js-0.7.15.tgz#f8e33a2b4d48c48c410e4978f983c85a8be32a5a"
8 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vue-cleave",
3 | "version": "1.2.2",
4 | "description": "Cleave component is based on cleave.js for Vue",
5 | "repository": "vue-bulma/cleave",
6 | "license": "MIT",
7 | "author": {
8 | "name": "Fangdun Cai",
9 | "email": "cfddream@gmail.com",
10 | "url": "fundon.me"
11 | },
12 | "keywords": [
13 | "vue",
14 | "vue-cleave",
15 | "cleave",
16 | "javascript",
17 | "html",
18 | "format",
19 | "form",
20 | "input"
21 | ],
22 | "main": "src/Cleave.vue",
23 | "peerDependencies": {
24 | "vue": ">=2"
25 | },
26 | "dependencies": {
27 | "cleave.js": "^0.7.15"
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Cleave
2 |
3 | Cleave component is based on [cleave.js](https://github.com/nosir/cleave.js) for Vue Bulma.
4 |
5 |
6 | ## Installation
7 |
8 | ```
9 | $ npm install vue-cleave --save
10 | ```
11 |
12 |
13 | ## Examples
14 |
15 | ```vue
16 |
17 |
18 |
19 |
20 |
29 | ```
30 |
31 |
32 | ## Badges
33 |
34 | 
35 | 
36 |
37 | ---
38 |
39 | > [fundon.me](https://fundon.me) ·
40 | > GitHub [@fundon](https://github.com/fundon) ·
41 | > Twitter [@_fundon](https://twitter.com/_fundon)
42 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Fangdun Cai (fundon.me)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/src/Cleave.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
71 |
--------------------------------------------------------------------------------