├── .editorconfig
├── .gitattributes
├── .gitignore
├── LICENSE.md
├── README.md
├── bili.config.js
├── demo
├── App.vue
├── Screenshot.png
├── index.js
└── users.json
├── package-lock.json
├── package.json
└── src
├── DataTable.vue
├── helpers
├── get.js
├── is.js
└── validators.js
└── mixins
├── Alignable.js
├── Selectable.js
└── Sortable.js
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | # Default editor's settings.
4 | [*]
5 | charset = utf-8
6 | indent_size = 2
7 | indent_style = space
8 | end_of_line = lf
9 | insert_final_newline = true
10 | trim_trailing_whitespace = true
11 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Handle sources as text and force Unix line endings
2 | * text=auto eol=lf
3 |
4 | # Disable diff for lock file
5 | package-lock.json -diff
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Node.js modules
2 | node_modules/
3 |
4 | # Log files
5 | *.log
6 | *.log.*
7 |
8 | # OS stuff
9 | .DS_Store
10 |
11 | # Yarn ~srry
12 | yarn.lock
13 |
14 | # Generated CSS & JavaScript sources.
15 | dist/
16 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Vitor Luiz Cavalcanti
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 all
13 | 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 THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Vue Data Tablee
2 |
3 | ![[JavaScript Style Guide][2]][3]
4 | [](https://app.fossa.io/projects/git%2Bgithub.com%2FVitorLuizC%2Fvue-data-tablee?ref=badge_shield)
5 |
6 | Yeap, another Vue table component. This one is based on [vue-good-table][0], a
7 | simple and pretty table component.
8 |
9 |
15 |
16 | ## Install
17 |
18 | Install from npm.
19 |
20 | ```sh
21 | npm install vue-data-tablee
22 | ```
23 |
24 | With `Vue.use` function declare vue-data-tablee components.
25 |
26 | ```js
27 | import 'vue-data-tablee/dist/vue-data-tablee.css'
28 | import Vue from 'vue'
29 | import DataTablee from 'vue-data-tablee'
30 |
31 | Vue.use(DataTablee)
32 | ```
33 |
34 | You can also import just components you need, without installing globally.
35 |
36 | ```vue
37 |
38 |
39 |
40 |
41 |
49 | ```
50 |
51 | ## Component Props
52 |
53 | Name | Type | Default | About
54 | ---- | ---- | ------- | -----
55 | cols | `Array.
` | `[]` | [Cols][4] list.
56 | rows | `Array.