-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
web-types.json
156 lines (156 loc) · 5.83 KB
/
web-types.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"$schema": "https://json.schemastore.org/web-types.json",
"name": "velours",
"version": "0.4.1",
"framework": "vue",
"js-types-syntax": "typescript",
"description-markup": "markdown",
"contributions": {
"html": {
"vue-components": [
{
"name": "vl-promise-presenter",
"priority": "highest",
"source": {
"module": "velours",
"symbol": "VlPromisePresenter"
},
"description": "Selects the right template to render an `AsyncValue` based on its status.",
"props": [
{
"name": "value",
"description": "A `PromiseAdapter<P, V>` or a `PromiseStore<P, V>`",
"type": ["PromiseAdapter<P, V>", "PromiseStore<P, V>"],
"required": true
}
],
"slots": [
{
"name": "initial",
"description": "Content to render while in the `initial` state. If left unspecified, fallbacks to the `loading` slot."
},
{
"name": "loading",
"description": "Content to render while in the `loading` state."
},
{
"name": "empty",
"description": "Content to render while in the `success` state and the `emptyPredicate` is matched. If left unspecified, fallbacks to the `content` or `default` slot."
},
{
"name": "content",
"description": "Content to render while in the `success` state and the `emptyPredicate` is not matched. If left unspecified, fallbacks to the `default` slot."
},
{
"name": "error",
"description": "Content to render while in the `error` state."
},
{
"name": "refreshing",
"description": "Content to render while in the `refreshing` state. If left unspecified, fallbacks to the `empty` slot if the `emptyPredicate` is matched, then fallbacks to the `content` or `default` slot."
},
{
"name": "retrying",
"description": "Content to render while in the `retrying` state. If left unspecified, fallbacks to the `error` slot."
},
{
"name": "default",
"description": "Alias for the `content` slot."
}
]
},
{
"name": "vl-binder-presenter",
"priority": "highest",
"source": {
"module": "velours",
"symbol": "VlBinderPresenter"
},
"description": "Selects the right template to render a `Binder` based on its status.",
"props": [
{
"name": "value",
"description": "A `BinderAdapter<P, V, Meta>` or a `BinderStore<P, V, Meta>`",
"type": [
"EnumerableBinderAdapter<P, V[], Meta>",
"EnumerableBinderStore<P, V[], Meta>",
"IndexableBinderAdapter<P, V[], Meta>",
"IndexableBinderStore<P, V[], Meta>"
],
"required": true
}
],
"slots": [
{
"name": "initial",
"description": "Content to render while in the `initial` state."
},
{
"name": "nested",
"description": "Content to render while in the `nested` state. If left unspecified, fallbacks to the `default` slot."
},
{
"name": "error",
"description": "Content to render while in the `error` state."
},
{
"name": "retrying",
"description": "Content to render while in the `retrying` state. If left unspecified, fallbacks to the `error` slot."
},
{
"name": "default",
"description": "Alias for the `content` slot."
}
]
},
{
"name": "vl-binder-page-presenter",
"priority": "highest",
"source": {
"module": "velours",
"symbol": "VlBinderPagePresenter"
},
"description": "Selects the right template to render an `AsyncPage` based on its status.",
"props": [
{
"name": "value",
"description": "An `AsyncPage` ref",
"type": ["AsyncPage<V>"],
"required": true
}
],
"slots": [
{
"name": "loading",
"description": "Content to render while in the `loading` state."
},
{
"name": "empty",
"description": "Content to render while in the `success` state and the `emptyPredicate` is matched. If left unspecified, fallbacks to the `content` or `default` slot."
},
{
"name": "content",
"description": "Content to render while in the `success` state and the `emptyPredicate` is not matched. If left unspecified, fallbacks to the `default` slot."
},
{
"name": "error",
"description": "Content to render while in the `error` state."
},
{
"name": "refreshing",
"description": "Content to render while in the `refreshing` state. If left unspecified, fallbacks to the `empty` slot if the `emptyPredicate` is matched, then fallbacks to the `content` or `default` slot."
},
{
"name": "retrying",
"description": "Content to render while in the `retrying` state. If left unspecified, fallbacks to the `error` slot."
},
{
"name": "default",
"description": "Alias for the `content` slot."
}
]
}
]
}
}
}