-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.json
97 lines (96 loc) · 2.04 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"type": "component",
"metadata": {},
"schema": {
"name": "powertable",
"friendlyName": "Powertable",
"description": "A datatable credit to original creator here",
"icon": "Table",
"hasChildren": true,
"settings": [
{
"type": "dataProvider",
"label": "Data provider",
"key": "dataProvider",
"required": true
},
{
"type": "columns",
"label": "Columns",
"key": "columns",
"dependsOn": "dataProvider",
"nested": true
},
{
"type": "text",
"label": "No Data Text",
"key": "noDataText",
"defaultValue":"There is no data available."
},
{
"type": "boolean",
"key": "rowSelection",
"label": "Row Selection",
"defaultValue": false
},
{
"type": "select",
"label": "Rows Per Page",
"key": "rowsPerPage",
"options": [
10,20,30,40,50,60,70,80,90,100
],
"defaultValue": 10
},
{
"type": "boolean",
"key": "headerText",
"label": "Show Header Text",
"defaultValue": true
},
{
"type": "boolean",
"key": "footerText",
"label": "Show Footer text",
"defaultValue": false
},
{
"type": "boolean",
"key": "headerFilters",
"label": "Show Headers Filters",
"defaultValue": true
},
{
"type": "boolean",
"key": "footerFilters",
"label": "Show Footer Filters",
"defaultValue": false
},
{
"type": "event",
"key": "onRowClick",
"label": "On Row Click"
},
{
"type": "event",
"key": "onRowDblClick",
"label": "On Row Double Click"
}
],
"context": [
{
"type": "static",
"values": [
{
"label": "Active State",
"key": "isActive",
"type": "boolean",
"defaultValue": false
}
]
}
]
},
"hash": "2fa6a7a40edf2efe5743750b41e29a0abae3e032",
"version": "1.0.0"
}