This repository has been archived by the owner on May 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwidget.json
141 lines (135 loc) · 5.37 KB
/
widget.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "laxar-accordion-widget",
"description": "Displays multiple areas in the form of an accordion.",
"integration": {
"technology": "angular",
"type": "widget"
},
"controls": [
"laxar-accordion-control"
],
"features": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"areas": {
"type": "array",
"description": "A list of widget areas with individual properties.",
"items": {
"type": "object",
"required": [ "name", "i18nHtmlLabel" ],
"properties": {
"name": {
"type": "string",
"description": "Name of the widget-area to create."
},
"i18nHtmlLabel": {
"type": [
"string",
"object"
],
"description": "Label of the area's tab.",
"format": "localization",
"additionalProperties": {
"type": "string"
}
},
"anonymize": {
"type": "boolean",
"default": false,
"description": "If true the class 'ax-anonymize-me' is set on the label to support anonymization."
},
"flag": {
"type": "string",
"format": "topic",
"axRole": "outlet",
"description": "Name of the flag indicating the area's visibility."
},
"validOn": {
"type": "string",
"format": "flag-topic",
"axRole": "inlet",
"axPattern": "flag",
"description": "Name of the flag toggling the area's visualisation of validity."
},
"disabledOn": {
"type": "string",
"format": "flag-topic",
"axRole": "inlet",
"axPattern": "flag",
"description": "Name of the flag toggling the area's disabled state."
},
"taggedOn": {
"type": "string",
"format": "flag-topic",
"axRole": "inlet",
"axPattern": "flag",
"description": "Name of the flag toggling the 'is-tagged' class on the according area."
},
"selection": {
"type": "object",
"description": "Action that is emitted after the (possibly confirmed) selection of an area.",
"properties": {
"action": {
"type": "string",
"format": "topic",
"axRole": "outlet",
"description": "The selection action topic."
}
}
},
"selectionRequest": {
"type": "object",
"description": "Actions under which the widget requests selection of this area and then waits for confirmation.",
"properties": {
"action": {
"type": "string",
"format": "topic",
"axRole": "outlet",
"description": "Action topic to request a selection of this area."
},
"confirmationAction": {
"type": "string",
"format": "topic",
"axRole": "inlet",
"axPattern": "action",
"description": "Confirmation action topic."
}
}
},
"selectionRequestTrigger": {
"type": "object",
"description": "Action upon which the widget requests selection of the given area.",
"properties": {
"onActions": {
"type": "array",
"items": {
"type": "string",
"format": "topic",
"axRole": "inlet",
"axPattern": "action",
"description": "The action topic to trigger a selection request for this area."
},
"description": "Trigger action topics."
}
}
}
}
}
},
"i18n": {
"description": "Which locale to use for displaying this widget.",
"type": "object",
"properties": {
"locale": {
"type": "string",
"format": "topic",
"axRole": "inlet",
"description": "The topic under which to expect the locale for this widget.",
"default": "default"
}
}
}
}
}
}