Skip to content

Commit 6e851f9

Browse files
committed
🏷️ update vetur defs
1 parent e680158 commit 6e851f9

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

attributes.json

+19-11
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
"type": "boolean",
44
"description": "Boolean to automatically set table width. Default: true"
55
},
6+
"gridjs-vue/classNames": {
7+
"type": "object",
8+
"description": "Object containing CSS class names. Default: undefined"
9+
},
610
"gridjs-vue/cols": {
711
"type": "array",
812
"description": "Array containing strings of column headers. Default: undefined"
913
},
1014
"gridjs-vue/from": {
11-
"type": "string",
12-
"description": "String of HTML table selector. Default: undefined"
15+
"type": ["string", "function"],
16+
"description": "String of HTML table selector or function returning HTML table string. Default: undefined"
1317
},
1418
"gridjs-vue/language": {
1519
"type": "object",
@@ -20,23 +24,27 @@
2024
"description": "Boolean or pagination settings object. Default: true"
2125
},
2226
"gridjs-vue/rows": {
23-
"type": "array",
24-
"description": "Array containing row data. Default: undefined"
27+
"type": ["array", "function"],
28+
"description": "Array containing or function returning row data. Default: undefined"
2529
},
2630
"gridjs-vue/search": {
27-
"type": ["boolean", "object"],
28-
"description": "Boolean or search settings object. Default: false"
31+
"type": "boolean",
32+
"description": "Boolean activating search. Default: false"
2933
},
3034
"gridjs-vue/server": {
31-
"type": "object",
32-
"description": "Server settings object. Default: undefined"
35+
"type": ["object", "function"],
36+
"description": "Server settings object or function returning object. Default: undefined"
3337
},
3438
"gridjs-vue/sort": {
35-
"type": ["boolean", "object"],
36-
"description": "Boolean or sort settings object. Default: false"
39+
"type": "boolean",
40+
"description": "Boolean activating sort on all columns. Default: false"
41+
},
42+
"gridjs-vue/styles": {
43+
"type": "object",
44+
"description": "Object containing CSS style definitions. Default: undefined"
3745
},
3846
"gridjs-vue/theme": {
39-
"type": ["string"],
47+
"type": "string",
4048
"description": "String with name of theme or 'none' to disable. Default: 'mermaid'"
4149
},
4250
"gridjs-vue/width": {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dev": "rollup -c --watch",
1616
"build": "bili src/index.js; yarn todo",
1717
"todo": "leasot -x --reporter markdown 'src/**/*' > TODO.md",
18-
"release": "eval $(envkey-source) && release-it"
18+
"release": "eval $(envkey-source); release-it"
1919
},
2020
"files": [
2121
"dist/*",

tags.json

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"gridjs-vue": {
33
"attributes": [
44
"autoWidth",
5+
"classNames",
56
"cols",
67
"from",
78
"language",
@@ -10,6 +11,7 @@
1011
"search",
1112
"server",
1213
"sort",
14+
"styles",
1315
"theme",
1416
"width"
1517
],

0 commit comments

Comments
 (0)