@statistikzh/leu 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/{Button-da11d064.d.ts → Button-5326c982.d.ts} +1 -1
- package/dist/{Button-da11d064.d.ts.map → Button-5326c982.d.ts.map} +1 -1
- package/dist/{Button-da11d064.js → Button-5326c982.js} +14 -1
- package/dist/Button.d.ts +1 -1
- package/dist/Button.js +1 -1
- package/dist/Dropdown.d.ts.map +1 -1
- package/dist/Dropdown.js +6 -1
- package/dist/Pagination.js +1 -1
- package/dist/ScrollTop.js +1 -1
- package/dist/Select.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/{index.js.d.ts → index.d.ts} +2 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/{index.js.js → index.js} +1 -1
- package/dist/leu-button.d.ts +1 -1
- package/dist/leu-button.js +1 -1
- package/dist/leu-dropdown.js +1 -1
- package/dist/leu-pagination.js +1 -1
- package/dist/leu-scroll-top.js +1 -1
- package/dist/leu-select.js +1 -1
- package/dist/leu-table.js +1 -1
- package/dist/vscode.html-custom-data.json +579 -0
- package/dist/vue/index.d.ts +678 -0
- package/dist/web-types.json +1076 -0
- package/package.json +2 -2
- package/rollup.config.js +1 -1
- package/src/components/button/Button.js +1 -1
- package/src/components/button/button.css +13 -0
- package/src/components/dropdown/Dropdown.js +1 -0
- package/src/components/dropdown/dropdown.css +4 -0
- package/dist/index.js.d.ts.map +0 -1
|
@@ -0,0 +1,1076 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
|
+
"name": "@statistikzh/leu",
|
|
4
|
+
"version": "0.5.1",
|
|
5
|
+
"description-markup": "markdown",
|
|
6
|
+
"contributions": {
|
|
7
|
+
"html": {
|
|
8
|
+
"elements": [
|
|
9
|
+
{
|
|
10
|
+
"name": "leu-accordion",
|
|
11
|
+
"description": "\n---\n\n\n### **Slots:**\n - **content** - The content of the accordion. No styles will be applied to the content.",
|
|
12
|
+
"doc-url": "",
|
|
13
|
+
"attributes": [
|
|
14
|
+
{
|
|
15
|
+
"name": "heading-level",
|
|
16
|
+
"description": "The heading level of the accordion title. Must be between 1 and 6.",
|
|
17
|
+
"value": { "type": "Number", "default": "2" }
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "label-prefix",
|
|
21
|
+
"description": "The prefix of the accordion label. e.g. \"01\"",
|
|
22
|
+
"value": { "type": "String" }
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "open",
|
|
26
|
+
"description": "The expanded state of the accordion.",
|
|
27
|
+
"value": { "type": "Boolean", "default": "false" }
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "label",
|
|
31
|
+
"description": "The label (title) of the accordion.",
|
|
32
|
+
"value": { "type": "String", "default": "\"\"" }
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"slots": [
|
|
36
|
+
{
|
|
37
|
+
"name": "content",
|
|
38
|
+
"description": "The content of the accordion. No styles will be applied to the content."
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"events": [],
|
|
42
|
+
"js": {
|
|
43
|
+
"properties": [
|
|
44
|
+
{
|
|
45
|
+
"name": "heading-level",
|
|
46
|
+
"description": "The heading level of the accordion title. Must be between 1 and 6.",
|
|
47
|
+
"value": { "type": "Number" }
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "label-prefix",
|
|
51
|
+
"description": "The prefix of the accordion label. e.g. \"01\"",
|
|
52
|
+
"value": { "type": "String" }
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "open",
|
|
56
|
+
"description": "The expanded state of the accordion.",
|
|
57
|
+
"value": { "type": "Boolean" }
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "label",
|
|
61
|
+
"description": "The label (title) of the accordion.",
|
|
62
|
+
"value": { "type": "String" }
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"events": []
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "leu-breadcrumb",
|
|
70
|
+
"description": "A Breadcrumb Navigation.\n\nThe breadcrumbs can be displayed in two different layouts.\nOnly the back link (the last item / parent of the current page)\nis displayed when…\n- … the width of the container is smaller\n than the BACK_ONLY_BREAKPOINT.\n- … less then two breadcrumb items could be displayed\n without overflowing the container.\n\nOtherwise as many items as possible are displayed in an inline list\nwithout overflowing the container. The remaining items are displayed\nin a dropdown menu.\n\nIn order to determine the exact numbers of items that have to be\nhidden inside the dropdown, all of them have to be rendered first.\n1. Render all items\n2. Calculate (measure) the number of items that can be displayed\n without overflowing the container.\n3. Updating the state (_hiddeItems) which will trigger a rerender\n4. Render the items again with the new state.\n\nThis results in multiple updates scheduled one after another. Lit\nwill also print a waring in the console beacause of that.\nIt's no a nice behaviour but the only one that works without\nhaving duplicate and hidden markup to derive the sizes from that.\n---\n\n\n### **Methods:**\n - **renderDropdown(): __** - Render the dropdown menu",
|
|
71
|
+
"doc-url": "",
|
|
72
|
+
"attributes": [
|
|
73
|
+
{
|
|
74
|
+
"name": "items",
|
|
75
|
+
"description": "Object array with { label, href }",
|
|
76
|
+
"value": { "type": "Array", "default": "[]" }
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "inverted",
|
|
80
|
+
"description": "invert color on dark background",
|
|
81
|
+
"value": { "type": "Boolean", "default": "false" }
|
|
82
|
+
},
|
|
83
|
+
{ "name": "_hiddenItems", "value": { "type": "string" } },
|
|
84
|
+
{ "name": "_showBackOnly", "value": { "type": "string" } },
|
|
85
|
+
{ "name": "_isRecalculating", "value": { "type": "string" } },
|
|
86
|
+
{ "name": "_isDropdownOpen", "value": { "type": "string" } }
|
|
87
|
+
],
|
|
88
|
+
"events": [],
|
|
89
|
+
"js": {
|
|
90
|
+
"properties": [
|
|
91
|
+
{
|
|
92
|
+
"name": "items",
|
|
93
|
+
"description": "Object array with { label, href }",
|
|
94
|
+
"value": { "type": "Array" }
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "inverted",
|
|
98
|
+
"description": "invert color on dark background",
|
|
99
|
+
"value": { "type": "Boolean" }
|
|
100
|
+
},
|
|
101
|
+
{ "name": "_hiddenItems", "value": {} },
|
|
102
|
+
{ "name": "_showBackOnly", "value": {} },
|
|
103
|
+
{ "name": "_isRecalculating", "value": {} },
|
|
104
|
+
{ "name": "_isDropdownOpen", "value": {} }
|
|
105
|
+
],
|
|
106
|
+
"events": []
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "leu-button",
|
|
111
|
+
"description": "\n---\n",
|
|
112
|
+
"doc-url": "",
|
|
113
|
+
"attributes": [
|
|
114
|
+
{
|
|
115
|
+
"name": "label",
|
|
116
|
+
"value": { "type": "string", "default": "null" }
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "icon",
|
|
120
|
+
"value": { "type": "string", "default": "null" }
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "iconPosition",
|
|
124
|
+
"description": "Only taken into account if Label and no Icon is set",
|
|
125
|
+
"value": {
|
|
126
|
+
"type": "(\"before\" | \"after\")",
|
|
127
|
+
"default": "\"before\""
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "size",
|
|
132
|
+
"value": { "type": "string", "default": "\"regular\"" }
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "variant",
|
|
136
|
+
"value": { "type": "string", "default": "\"primary\"" }
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "type",
|
|
140
|
+
"value": {
|
|
141
|
+
"type": "\"button\" | \"submit\" | \"reset\"",
|
|
142
|
+
"default": "\"button\""
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{ "name": "componentRole", "value": { "type": "string" } },
|
|
146
|
+
{
|
|
147
|
+
"name": "disabled",
|
|
148
|
+
"value": { "type": "boolean", "default": "false" }
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "round",
|
|
152
|
+
"description": "Only taken into account if no Label and an Icon is set",
|
|
153
|
+
"value": { "type": "boolean", "default": "false" }
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "active",
|
|
157
|
+
"value": { "type": "boolean", "default": "false" }
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "inverted",
|
|
161
|
+
"description": "will be used on dark Background",
|
|
162
|
+
"value": { "type": "boolean", "default": "false" }
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "expanded",
|
|
166
|
+
"description": "Only taken into account if variant is \"ghost\"",
|
|
167
|
+
"value": {
|
|
168
|
+
"type": "(\"true\" | \"false\" | undefined)",
|
|
169
|
+
"default": "undefined"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "fluid",
|
|
174
|
+
"description": "Alters the shape of the button to be full width of its parent container",
|
|
175
|
+
"value": { "type": "boolean", "default": "false" }
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"events": [],
|
|
179
|
+
"js": {
|
|
180
|
+
"properties": [
|
|
181
|
+
{ "name": "label", "value": { "type": "string" } },
|
|
182
|
+
{ "name": "icon", "value": { "type": "string" } },
|
|
183
|
+
{
|
|
184
|
+
"name": "iconPosition",
|
|
185
|
+
"description": "Only taken into account if Label and no Icon is set",
|
|
186
|
+
"value": { "type": "(\"before\" | \"after\")" }
|
|
187
|
+
},
|
|
188
|
+
{ "name": "size", "value": { "type": "string" } },
|
|
189
|
+
{ "name": "variant", "value": { "type": "string" } },
|
|
190
|
+
{
|
|
191
|
+
"name": "type",
|
|
192
|
+
"value": { "type": "\"button\" | \"submit\" | \"reset\"" }
|
|
193
|
+
},
|
|
194
|
+
{ "name": "componentRole", "value": { "type": "string" } },
|
|
195
|
+
{ "name": "disabled", "value": { "type": "boolean" } },
|
|
196
|
+
{
|
|
197
|
+
"name": "round",
|
|
198
|
+
"description": "Only taken into account if no Label and an Icon is set",
|
|
199
|
+
"value": { "type": "boolean" }
|
|
200
|
+
},
|
|
201
|
+
{ "name": "active", "value": { "type": "boolean" } },
|
|
202
|
+
{
|
|
203
|
+
"name": "inverted",
|
|
204
|
+
"description": "will be used on dark Background",
|
|
205
|
+
"value": { "type": "boolean" }
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "expanded",
|
|
209
|
+
"description": "Only taken into account if variant is \"ghost\"",
|
|
210
|
+
"value": { "type": "(\"true\" | \"false\" | undefined)" }
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "fluid",
|
|
214
|
+
"description": "Alters the shape of the button to be full width of its parent container",
|
|
215
|
+
"value": { "type": "boolean" }
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"events": []
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "leu-button-group",
|
|
223
|
+
"description": "\n---\n\n\n### **Events:**\n - **input** - When the value of the group changes by clicking a button\n\n### **Slots:**\n - _default_ - Slot for the buttons",
|
|
224
|
+
"doc-url": "",
|
|
225
|
+
"attributes": [],
|
|
226
|
+
"slots": [{ "name": "", "description": "Slot for the buttons" }],
|
|
227
|
+
"events": [
|
|
228
|
+
{
|
|
229
|
+
"name": "input",
|
|
230
|
+
"description": "When the value of the group changes by clicking a button"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"js": {
|
|
234
|
+
"properties": [
|
|
235
|
+
{ "name": "getButtonValue", "value": {} },
|
|
236
|
+
{
|
|
237
|
+
"name": "value",
|
|
238
|
+
"description": "The value of the currenty selected (active) button",
|
|
239
|
+
"value": { "type": "string" }
|
|
240
|
+
},
|
|
241
|
+
{ "name": "_handleSlotChange", "value": {} },
|
|
242
|
+
{ "name": "_handleButtonClick", "value": {} },
|
|
243
|
+
{ "name": "_items", "value": { "type": "array" } }
|
|
244
|
+
],
|
|
245
|
+
"events": [
|
|
246
|
+
{
|
|
247
|
+
"name": "input",
|
|
248
|
+
"description": "When the value of the group changes by clicking a button"
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "leu-checkbox",
|
|
255
|
+
"description": "\n---\n",
|
|
256
|
+
"doc-url": "",
|
|
257
|
+
"attributes": [
|
|
258
|
+
{
|
|
259
|
+
"name": "checked",
|
|
260
|
+
"value": { "type": "boolean", "default": "false" }
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "disabled",
|
|
264
|
+
"value": { "type": "boolean", "default": "false" }
|
|
265
|
+
},
|
|
266
|
+
{ "name": "identifier", "value": { "type": "string" } },
|
|
267
|
+
{ "name": "value", "value": { "type": "string" } },
|
|
268
|
+
{ "name": "name", "value": { "type": "string" } },
|
|
269
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
270
|
+
],
|
|
271
|
+
"events": [],
|
|
272
|
+
"js": {
|
|
273
|
+
"properties": [
|
|
274
|
+
{ "name": "checked", "value": { "type": "boolean" } },
|
|
275
|
+
{ "name": "disabled", "value": { "type": "boolean" } },
|
|
276
|
+
{ "name": "identifier", "value": { "type": "string" } },
|
|
277
|
+
{ "name": "value", "value": { "type": "string" } },
|
|
278
|
+
{ "name": "name", "value": { "type": "string" } },
|
|
279
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
280
|
+
],
|
|
281
|
+
"events": []
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "leu-checkbox-group",
|
|
286
|
+
"description": "\n---\n",
|
|
287
|
+
"doc-url": "",
|
|
288
|
+
"attributes": [
|
|
289
|
+
{
|
|
290
|
+
"name": "orientation",
|
|
291
|
+
"value": { "type": "string", "default": "\"HORIZONTAL\"" }
|
|
292
|
+
},
|
|
293
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
294
|
+
],
|
|
295
|
+
"events": [],
|
|
296
|
+
"js": {
|
|
297
|
+
"properties": [
|
|
298
|
+
{ "name": "orientation", "value": { "type": "string" } },
|
|
299
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
300
|
+
],
|
|
301
|
+
"events": []
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "leu-chip-group",
|
|
306
|
+
"description": "\n---\n\n\n### **Slots:**\n - _default_ - Place leu-chip-* elements inside this slot\n\n### **CSS Properties:**\n - **--leu-chip-group-gap** - The gap between the chips _(default: undefined)_",
|
|
307
|
+
"doc-url": "",
|
|
308
|
+
"attributes": [
|
|
309
|
+
{
|
|
310
|
+
"name": "inverted",
|
|
311
|
+
"value": { "type": "boolean", "default": "false" }
|
|
312
|
+
},
|
|
313
|
+
{ "name": "selection-mode", "value": { "type": "string" } },
|
|
314
|
+
{
|
|
315
|
+
"name": "heading-level",
|
|
316
|
+
"value": { "type": "number", "default": "2" }
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "label",
|
|
320
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"slots": [
|
|
324
|
+
{
|
|
325
|
+
"name": "",
|
|
326
|
+
"description": "Place leu-chip-* elements inside this slot"
|
|
327
|
+
}
|
|
328
|
+
],
|
|
329
|
+
"events": [],
|
|
330
|
+
"js": {
|
|
331
|
+
"properties": [
|
|
332
|
+
{ "name": "inverted", "value": { "type": "boolean" } },
|
|
333
|
+
{ "name": "selection-mode", "value": { "type": "string" } },
|
|
334
|
+
{ "name": "heading-level", "value": { "type": "number" } },
|
|
335
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
336
|
+
],
|
|
337
|
+
"events": []
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"name": "leu-chip-link",
|
|
342
|
+
"description": "\n---\n\n\n### **Slots:**\n - _default_ - The content of the chip",
|
|
343
|
+
"doc-url": "",
|
|
344
|
+
"attributes": [
|
|
345
|
+
{ "name": "", "value": { "type": "string" } },
|
|
346
|
+
{
|
|
347
|
+
"name": "size",
|
|
348
|
+
"description": "The size of the chip",
|
|
349
|
+
"value": { "type": "keyof typeof SIZES" }
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "href",
|
|
353
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "inverted",
|
|
357
|
+
"value": { "type": "boolean", "default": "false" }
|
|
358
|
+
},
|
|
359
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
360
|
+
],
|
|
361
|
+
"slots": [{ "name": "", "description": "The content of the chip" }],
|
|
362
|
+
"events": [],
|
|
363
|
+
"js": {
|
|
364
|
+
"properties": [
|
|
365
|
+
{ "name": "", "value": {} },
|
|
366
|
+
{
|
|
367
|
+
"name": "size",
|
|
368
|
+
"description": "The size of the chip",
|
|
369
|
+
"value": { "type": "keyof typeof SIZES" }
|
|
370
|
+
},
|
|
371
|
+
{ "name": "href", "value": { "type": "string" } },
|
|
372
|
+
{ "name": "inverted", "value": { "type": "boolean" } },
|
|
373
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
374
|
+
],
|
|
375
|
+
"events": []
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "leu-chip-removable",
|
|
380
|
+
"description": "\n---\n\n\n### **Events:**\n - **remove** - Dispatched when the user clicks on the chip\n\n### **Slots:**\n - _default_ - The content of the chip",
|
|
381
|
+
"doc-url": "",
|
|
382
|
+
"attributes": [
|
|
383
|
+
{ "name": "", "value": { "type": "string" } },
|
|
384
|
+
{
|
|
385
|
+
"name": "inverted",
|
|
386
|
+
"value": { "type": "boolean", "default": "false" }
|
|
387
|
+
},
|
|
388
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
389
|
+
],
|
|
390
|
+
"slots": [{ "name": "", "description": "The content of the chip" }],
|
|
391
|
+
"events": [
|
|
392
|
+
{
|
|
393
|
+
"name": "remove",
|
|
394
|
+
"description": "Dispatched when the user clicks on the chip"
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"js": {
|
|
398
|
+
"properties": [
|
|
399
|
+
{ "name": "", "value": {} },
|
|
400
|
+
{ "name": "inverted", "value": { "type": "boolean" } },
|
|
401
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
402
|
+
],
|
|
403
|
+
"events": [
|
|
404
|
+
{
|
|
405
|
+
"name": "remove",
|
|
406
|
+
"description": "Dispatched when the user clicks on the chip"
|
|
407
|
+
}
|
|
408
|
+
]
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "leu-chip-selectable",
|
|
413
|
+
"description": "A chip component that can be selected.\n---\n\n\n### **Events:**\n - **input** - undefined\n\n### **Slots:**\n - _default_ - The content of the chip",
|
|
414
|
+
"doc-url": "",
|
|
415
|
+
"attributes": [
|
|
416
|
+
{ "name": "", "value": { "type": "string" } },
|
|
417
|
+
{
|
|
418
|
+
"name": "size",
|
|
419
|
+
"description": "The size of the chip. Not supported for radio variant.",
|
|
420
|
+
"value": {
|
|
421
|
+
"type": "keyof typeof SIZES",
|
|
422
|
+
"default": "\"regular\""
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "variant",
|
|
427
|
+
"description": "The variant of the chip. Has an effect not only on the visual appearance but also on the behavior.\n- `toggle`: The chip behaves like a toggle button.\n- `radio`: The chip behaves like a radio button.",
|
|
428
|
+
"value": {
|
|
429
|
+
"type": "keyof typeof VARIANTS",
|
|
430
|
+
"default": "\"toggle\""
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "selected",
|
|
435
|
+
"value": { "type": "boolean", "default": "false" }
|
|
436
|
+
},
|
|
437
|
+
{ "name": "value", "value": { "type": "string" } },
|
|
438
|
+
{
|
|
439
|
+
"name": "inverted",
|
|
440
|
+
"value": { "type": "boolean", "default": "false" }
|
|
441
|
+
},
|
|
442
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
443
|
+
],
|
|
444
|
+
"slots": [{ "name": "", "description": "The content of the chip" }],
|
|
445
|
+
"events": [{ "name": "input" }],
|
|
446
|
+
"js": {
|
|
447
|
+
"properties": [
|
|
448
|
+
{ "name": "", "value": {} },
|
|
449
|
+
{
|
|
450
|
+
"name": "size",
|
|
451
|
+
"description": "The size of the chip. Not supported for radio variant.",
|
|
452
|
+
"value": { "type": "keyof typeof SIZES" }
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"name": "variant",
|
|
456
|
+
"description": "The variant of the chip. Has an effect not only on the visual appearance but also on the behavior.\n- `toggle`: The chip behaves like a toggle button.\n- `radio`: The chip behaves like a radio button.",
|
|
457
|
+
"value": { "type": "keyof typeof VARIANTS" }
|
|
458
|
+
},
|
|
459
|
+
{ "name": "selected", "value": { "type": "boolean" } },
|
|
460
|
+
{ "name": "value", "value": { "type": "string" } },
|
|
461
|
+
{ "name": "inverted", "value": { "type": "boolean" } },
|
|
462
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
463
|
+
],
|
|
464
|
+
"events": [{ "name": "input" }]
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "leu-dropdown",
|
|
469
|
+
"description": "\n---\n",
|
|
470
|
+
"doc-url": "",
|
|
471
|
+
"attributes": [
|
|
472
|
+
{
|
|
473
|
+
"name": "label",
|
|
474
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "expanded",
|
|
478
|
+
"value": { "type": "boolean", "default": "false" }
|
|
479
|
+
}
|
|
480
|
+
],
|
|
481
|
+
"events": [],
|
|
482
|
+
"js": {
|
|
483
|
+
"properties": [
|
|
484
|
+
{ "name": "label", "value": { "type": "string" } },
|
|
485
|
+
{ "name": "expanded", "value": { "type": "boolean" } }
|
|
486
|
+
],
|
|
487
|
+
"events": []
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"name": "leu-input",
|
|
492
|
+
"description": "A text input element.\n---\n\n\n### **Events:**\n - **input** - Dispatched when the value of the input element changes.\n- **change** - Dispatched when the value of the input element changes and the input element loses focus.\n\n### **Methods:**\n - **getValidationMessages(): _Object_** - Merge custom and default validation messages.\nA validation message can be a function or a string.\nIf it s a function, the function is called with the corresponding\nattribute value as argument.\ne.g.\n`tooLong(this.maxlength)`\nThis way the framework user can create reasonable validation messages\n- **renderErrorMessages(validityState: _ValidityState_, validationMessages: _Object_, idRef: _String_): __** - Creates an error list with an item for the given validity state.",
|
|
493
|
+
"doc-url": "",
|
|
494
|
+
"attributes": [
|
|
495
|
+
{
|
|
496
|
+
"name": "disabled",
|
|
497
|
+
"description": "Disables the input element.",
|
|
498
|
+
"value": { "type": "boolean", "default": "false" }
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "required",
|
|
502
|
+
"description": "Marks the input element as required.",
|
|
503
|
+
"value": { "type": "boolean", "default": "false" }
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "clearable",
|
|
507
|
+
"description": "Adds a button to clear the input element.",
|
|
508
|
+
"value": { "type": "boolean", "default": "false" }
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "value",
|
|
512
|
+
"description": "The value of the input element.",
|
|
513
|
+
"value": { "type": "string" }
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "name",
|
|
517
|
+
"description": "The name of the input element.",
|
|
518
|
+
"value": { "type": "string" }
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "error",
|
|
522
|
+
"description": "A custom error that is completely independent of the validity state. Useful for displaying server side errors.",
|
|
523
|
+
"value": { "type": "string" }
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "label",
|
|
527
|
+
"description": "The label of the input element.",
|
|
528
|
+
"value": { "type": "string" }
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "prefix",
|
|
532
|
+
"description": "A prefix that relates to the value of the input (e.g. CHF).",
|
|
533
|
+
"value": { "type": "string" }
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "suffix",
|
|
537
|
+
"description": "A suffix that relates to the value of the input (e.g. mm).",
|
|
538
|
+
"value": { "type": "string" }
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "size",
|
|
542
|
+
"description": "The size of the input element.",
|
|
543
|
+
"value": { "type": "string" }
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "icon",
|
|
547
|
+
"description": "The icon that is displayed at the end of the input element.",
|
|
548
|
+
"value": { "type": "string" }
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"name": "pattern",
|
|
552
|
+
"description": "A regular expression that the value is checked against.",
|
|
553
|
+
"value": { "type": "string" }
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "type",
|
|
557
|
+
"description": "The type of the input element.",
|
|
558
|
+
"value": { "type": "string", "default": "\"text\"" }
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "min",
|
|
562
|
+
"description": "The minimum value of the input element.",
|
|
563
|
+
"value": { "type": "string" }
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"name": "max",
|
|
567
|
+
"description": "The maximum value of the input element.",
|
|
568
|
+
"value": { "type": "string" }
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "maxlength",
|
|
572
|
+
"description": "The maximum length of the input element.",
|
|
573
|
+
"value": { "type": "string" }
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "minlength",
|
|
577
|
+
"description": "The minimum length of the input element.",
|
|
578
|
+
"value": { "type": "string" }
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "validationMessages",
|
|
582
|
+
"description": "Custom validation messages. The key is the name of the validity state and the value is the message.",
|
|
583
|
+
"value": { "type": "object", "default": "{}" }
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "novalidate",
|
|
587
|
+
"description": "Disables the browser's validation.",
|
|
588
|
+
"value": { "type": "boolean", "default": "false" }
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "step",
|
|
592
|
+
"description": "The step value of the input element.",
|
|
593
|
+
"value": { "type": "string" }
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "_validity",
|
|
597
|
+
"value": { "type": "null", "default": "null" }
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"events": [
|
|
601
|
+
{
|
|
602
|
+
"name": "input",
|
|
603
|
+
"description": "Dispatched when the value of the input element changes."
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"name": "change",
|
|
607
|
+
"description": "Dispatched when the value of the input element changes and the input element loses focus."
|
|
608
|
+
}
|
|
609
|
+
],
|
|
610
|
+
"js": {
|
|
611
|
+
"properties": [
|
|
612
|
+
{
|
|
613
|
+
"name": "disabled",
|
|
614
|
+
"description": "Disables the input element.",
|
|
615
|
+
"value": { "type": "boolean" }
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "required",
|
|
619
|
+
"description": "Marks the input element as required.",
|
|
620
|
+
"value": { "type": "boolean" }
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "clearable",
|
|
624
|
+
"description": "Adds a button to clear the input element.",
|
|
625
|
+
"value": { "type": "boolean" }
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "value",
|
|
629
|
+
"description": "The value of the input element.",
|
|
630
|
+
"value": { "type": "string" }
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"name": "name",
|
|
634
|
+
"description": "The name of the input element.",
|
|
635
|
+
"value": { "type": "string" }
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"name": "error",
|
|
639
|
+
"description": "A custom error that is completely independent of the validity state. Useful for displaying server side errors.",
|
|
640
|
+
"value": { "type": "string" }
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "label",
|
|
644
|
+
"description": "The label of the input element.",
|
|
645
|
+
"value": { "type": "string" }
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "prefix",
|
|
649
|
+
"description": "A prefix that relates to the value of the input (e.g. CHF).",
|
|
650
|
+
"value": { "type": "string" }
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"name": "suffix",
|
|
654
|
+
"description": "A suffix that relates to the value of the input (e.g. mm).",
|
|
655
|
+
"value": { "type": "string" }
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"name": "size",
|
|
659
|
+
"description": "The size of the input element.",
|
|
660
|
+
"value": { "type": "string" }
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "icon",
|
|
664
|
+
"description": "The icon that is displayed at the end of the input element.",
|
|
665
|
+
"value": { "type": "string" }
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "pattern",
|
|
669
|
+
"description": "A regular expression that the value is checked against.",
|
|
670
|
+
"value": { "type": "string" }
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "type",
|
|
674
|
+
"description": "The type of the input element.",
|
|
675
|
+
"value": { "type": "string" }
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "min",
|
|
679
|
+
"description": "The minimum value of the input element.",
|
|
680
|
+
"value": { "type": "string" }
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "max",
|
|
684
|
+
"description": "The maximum value of the input element.",
|
|
685
|
+
"value": { "type": "string" }
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "maxlength",
|
|
689
|
+
"description": "The maximum length of the input element.",
|
|
690
|
+
"value": { "type": "string" }
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "minlength",
|
|
694
|
+
"description": "The minimum length of the input element.",
|
|
695
|
+
"value": { "type": "string" }
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "validationMessages",
|
|
699
|
+
"description": "Custom validation messages. The key is the name of the validity state and the value is the message.",
|
|
700
|
+
"value": { "type": "object" }
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"name": "novalidate",
|
|
704
|
+
"description": "Disables the browser's validation.",
|
|
705
|
+
"value": { "type": "boolean" }
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"name": "step",
|
|
709
|
+
"description": "The step value of the input element.",
|
|
710
|
+
"value": { "type": "string" }
|
|
711
|
+
},
|
|
712
|
+
{ "name": "_validity", "value": { "type": "null" } }
|
|
713
|
+
],
|
|
714
|
+
"events": [
|
|
715
|
+
{
|
|
716
|
+
"name": "input",
|
|
717
|
+
"description": "Dispatched when the value of the input element changes."
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "change",
|
|
721
|
+
"description": "Dispatched when the value of the input element changes and the input element loses focus."
|
|
722
|
+
}
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"name": "leu-menu",
|
|
728
|
+
"description": "\n---\n",
|
|
729
|
+
"doc-url": "",
|
|
730
|
+
"attributes": [],
|
|
731
|
+
"events": [],
|
|
732
|
+
"js": { "properties": [], "events": [] }
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "leu-menu-item",
|
|
736
|
+
"description": "\n---\n\n\n### **Slots:**\n - _default_ - The label of the menu item",
|
|
737
|
+
"doc-url": "",
|
|
738
|
+
"attributes": [
|
|
739
|
+
{
|
|
740
|
+
"name": "before",
|
|
741
|
+
"description": "Can be either an icon name or a text\nIf no icon with this value is found, it will be displayed as text.\nIf the value is \"EMPTY\", an empty placeholder with the size of an icon will be displayed.",
|
|
742
|
+
"value": { "type": "string" }
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "after",
|
|
746
|
+
"description": "Can be either an icon name or a text\nIf no icon with this value is found, it will be displayed as text\nIf the value is \"EMPTY\", an empty placeholder with the size of an icon will be displayed.",
|
|
747
|
+
"value": { "type": "string" }
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "active",
|
|
751
|
+
"value": { "type": "boolean", "default": "false" }
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"name": "highlighted",
|
|
755
|
+
"description": "A programmatic way to highlight the menu item like it is hovered.\nThis is just a visual effect and does not change the active state.",
|
|
756
|
+
"value": { "type": "boolean", "default": "false" }
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "disabled",
|
|
760
|
+
"value": { "type": "boolean", "default": "false" }
|
|
761
|
+
},
|
|
762
|
+
{ "name": "label", "value": { "type": "string" } },
|
|
763
|
+
{ "name": "href", "value": { "type": "string" } }
|
|
764
|
+
],
|
|
765
|
+
"slots": [
|
|
766
|
+
{ "name": "", "description": "The label of the menu item" }
|
|
767
|
+
],
|
|
768
|
+
"events": [],
|
|
769
|
+
"js": {
|
|
770
|
+
"properties": [
|
|
771
|
+
{
|
|
772
|
+
"name": "before",
|
|
773
|
+
"description": "Can be either an icon name or a text\nIf no icon with this value is found, it will be displayed as text.\nIf the value is \"EMPTY\", an empty placeholder with the size of an icon will be displayed.",
|
|
774
|
+
"value": { "type": "string" }
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "after",
|
|
778
|
+
"description": "Can be either an icon name or a text\nIf no icon with this value is found, it will be displayed as text\nIf the value is \"EMPTY\", an empty placeholder with the size of an icon will be displayed.",
|
|
779
|
+
"value": { "type": "string" }
|
|
780
|
+
},
|
|
781
|
+
{ "name": "active", "value": { "type": "boolean" } },
|
|
782
|
+
{
|
|
783
|
+
"name": "highlighted",
|
|
784
|
+
"description": "A programmatic way to highlight the menu item like it is hovered.\nThis is just a visual effect and does not change the active state.",
|
|
785
|
+
"value": { "type": "boolean" }
|
|
786
|
+
},
|
|
787
|
+
{ "name": "disabled", "value": { "type": "boolean" } },
|
|
788
|
+
{ "name": "label", "value": { "type": "string" } },
|
|
789
|
+
{ "name": "href", "value": { "type": "string" } }
|
|
790
|
+
],
|
|
791
|
+
"events": []
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "leu-pagination",
|
|
796
|
+
"description": "\n---\n\n\n### **Events:**\n - **leu:pagechange** - undefined",
|
|
797
|
+
"doc-url": "",
|
|
798
|
+
"attributes": [
|
|
799
|
+
{ "name": "defaultPage", "value": { "type": "number" } },
|
|
800
|
+
{
|
|
801
|
+
"name": "itemsPerPage",
|
|
802
|
+
"value": { "type": "Number", "default": "1" }
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"name": "numOfItems",
|
|
806
|
+
"value": { "type": "Number", "default": "1" }
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"name": "_page",
|
|
810
|
+
"description": "Internal page state that contains an\nalready clamped page number. Should only\nbe accessed through the `page` getter and\nsetter.",
|
|
811
|
+
"value": { "type": "Number", "default": "1" }
|
|
812
|
+
}
|
|
813
|
+
],
|
|
814
|
+
"events": [{ "name": "leu:pagechange" }],
|
|
815
|
+
"js": {
|
|
816
|
+
"properties": [
|
|
817
|
+
{ "name": "defaultPage", "value": { "type": "number" } },
|
|
818
|
+
{ "name": "itemsPerPage", "value": { "type": "Number" } },
|
|
819
|
+
{ "name": "numOfItems", "value": { "type": "Number" } },
|
|
820
|
+
{
|
|
821
|
+
"name": "_page",
|
|
822
|
+
"description": "Internal page state that contains an\nalready clamped page number. Should only\nbe accessed through the `page` getter and\nsetter.",
|
|
823
|
+
"value": { "type": "Number" }
|
|
824
|
+
}
|
|
825
|
+
],
|
|
826
|
+
"events": [{ "name": "leu:pagechange" }]
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "leu-popup",
|
|
831
|
+
"description": "\n---\n",
|
|
832
|
+
"doc-url": "",
|
|
833
|
+
"attributes": [
|
|
834
|
+
{ "name": "anchor", "value": { "type": "string" } },
|
|
835
|
+
{ "name": "active", "value": { "type": "boolean" } },
|
|
836
|
+
{
|
|
837
|
+
"name": "placement",
|
|
838
|
+
"value": {
|
|
839
|
+
"type": "\"top\"|\"top-start\"|\"top-end\"|\"bottom\"|\"bottom-start\"|\"bottom-end\"|\"left\"|\"left-start\"|\"left-end\"|\"right\"|\"right-start\"|\"right-end\""
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "flip",
|
|
844
|
+
"value": { "type": "boolean", "default": "false" }
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"name": "shift",
|
|
848
|
+
"value": { "type": "boolean", "default": "false" }
|
|
849
|
+
},
|
|
850
|
+
{ "name": "shiftPadding", "value": { "type": "number" } },
|
|
851
|
+
{
|
|
852
|
+
"name": "matchSize",
|
|
853
|
+
"value": { "type": "\"width\" | \"height\" | \"both\"" }
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"name": "autoSize",
|
|
857
|
+
"value": { "type": "\"width\" | \"height\" | \"both\"" }
|
|
858
|
+
},
|
|
859
|
+
{ "name": "autoSizePadding", "value": { "type": "number" } }
|
|
860
|
+
],
|
|
861
|
+
"events": [],
|
|
862
|
+
"js": {
|
|
863
|
+
"properties": [
|
|
864
|
+
{ "name": "anchor", "value": {} },
|
|
865
|
+
{ "name": "active", "value": { "type": "boolean" } },
|
|
866
|
+
{
|
|
867
|
+
"name": "placement",
|
|
868
|
+
"value": {
|
|
869
|
+
"type": "\"top\"|\"top-start\"|\"top-end\"|\"bottom\"|\"bottom-start\"|\"bottom-end\"|\"left\"|\"left-start\"|\"left-end\"|\"right\"|\"right-start\"|\"right-end\""
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
{ "name": "flip", "value": { "type": "boolean" } },
|
|
873
|
+
{ "name": "shift", "value": { "type": "boolean" } },
|
|
874
|
+
{ "name": "shiftPadding", "value": { "type": "number" } },
|
|
875
|
+
{
|
|
876
|
+
"name": "matchSize",
|
|
877
|
+
"value": { "type": "\"width\" | \"height\" | \"both\"" }
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "autoSize",
|
|
881
|
+
"value": { "type": "\"width\" | \"height\" | \"both\"" }
|
|
882
|
+
},
|
|
883
|
+
{ "name": "autoSizePadding", "value": { "type": "number" } }
|
|
884
|
+
],
|
|
885
|
+
"events": []
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"name": "leu-radio",
|
|
890
|
+
"description": "\n---\n",
|
|
891
|
+
"doc-url": "",
|
|
892
|
+
"attributes": [
|
|
893
|
+
{
|
|
894
|
+
"name": "checked",
|
|
895
|
+
"value": { "type": "boolean", "default": "false" }
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "disabled",
|
|
899
|
+
"value": { "type": "boolean", "default": "false" }
|
|
900
|
+
},
|
|
901
|
+
{ "name": "identifier", "value": { "type": "string" } },
|
|
902
|
+
{ "name": "value", "value": { "type": "string" } },
|
|
903
|
+
{ "name": "name", "value": { "type": "string" } },
|
|
904
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
905
|
+
],
|
|
906
|
+
"events": [],
|
|
907
|
+
"js": {
|
|
908
|
+
"properties": [
|
|
909
|
+
{ "name": "checked", "value": { "type": "boolean" } },
|
|
910
|
+
{ "name": "disabled", "value": { "type": "boolean" } },
|
|
911
|
+
{ "name": "identifier", "value": { "type": "string" } },
|
|
912
|
+
{ "name": "value", "value": { "type": "string" } },
|
|
913
|
+
{ "name": "name", "value": { "type": "string" } },
|
|
914
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
915
|
+
],
|
|
916
|
+
"events": []
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"name": "leu-radio-group",
|
|
921
|
+
"description": "\n---\n",
|
|
922
|
+
"doc-url": "",
|
|
923
|
+
"attributes": [
|
|
924
|
+
{
|
|
925
|
+
"name": "orientation",
|
|
926
|
+
"value": { "type": "string", "default": "\"HORIZONTAL\"" }
|
|
927
|
+
},
|
|
928
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
929
|
+
],
|
|
930
|
+
"events": [],
|
|
931
|
+
"js": {
|
|
932
|
+
"properties": [
|
|
933
|
+
{ "name": "orientation", "value": { "type": "string" } },
|
|
934
|
+
{ "name": "label", "value": { "type": "string" } }
|
|
935
|
+
],
|
|
936
|
+
"events": []
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"name": "leu-scroll-top",
|
|
941
|
+
"description": "\n---\n",
|
|
942
|
+
"doc-url": "",
|
|
943
|
+
"attributes": [
|
|
944
|
+
{ "name": "_showButton", "value": { "type": "string" } }
|
|
945
|
+
],
|
|
946
|
+
"events": [],
|
|
947
|
+
"js": {
|
|
948
|
+
"properties": [{ "name": "_showButton", "value": {} }],
|
|
949
|
+
"events": []
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"name": "leu-select",
|
|
954
|
+
"description": "\n---\n\n\n### **Methods:**\n - **selectOption(option: _*_)** - Adds or replaces the given option in the options array.\n\n### **Slots:**\n - **before** - Optional content the appears before the option list\n- **after** - Optional content the appears after the option list",
|
|
955
|
+
"doc-url": "",
|
|
956
|
+
"attributes": [
|
|
957
|
+
{
|
|
958
|
+
"name": "open",
|
|
959
|
+
"value": { "type": "boolean", "default": "false" }
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "label",
|
|
963
|
+
"value": { "type": "string", "default": "\"\"" }
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "options",
|
|
967
|
+
"value": { "type": "array", "default": "[]" }
|
|
968
|
+
},
|
|
969
|
+
{ "name": "value", "value": { "type": "array", "default": "[]" } },
|
|
970
|
+
{
|
|
971
|
+
"name": "clearable",
|
|
972
|
+
"value": { "type": "boolean", "default": "false" }
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"name": "disabled",
|
|
976
|
+
"value": { "type": "boolean", "default": "false" }
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "filterable",
|
|
980
|
+
"value": { "type": "boolean", "default": "false" }
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"name": "multiple",
|
|
984
|
+
"value": { "type": "boolean", "default": "false" }
|
|
985
|
+
},
|
|
986
|
+
{ "name": "optionFilter", "value": { "type": "string" } }
|
|
987
|
+
],
|
|
988
|
+
"slots": [
|
|
989
|
+
{
|
|
990
|
+
"name": "before",
|
|
991
|
+
"description": "Optional content the appears before the option list"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"name": "after",
|
|
995
|
+
"description": "Optional content the appears after the option list"
|
|
996
|
+
}
|
|
997
|
+
],
|
|
998
|
+
"events": [],
|
|
999
|
+
"js": {
|
|
1000
|
+
"properties": [
|
|
1001
|
+
{ "name": "open", "value": { "type": "boolean" } },
|
|
1002
|
+
{ "name": "label", "value": { "type": "string" } },
|
|
1003
|
+
{ "name": "options", "value": { "type": "array" } },
|
|
1004
|
+
{ "name": "value", "value": { "type": "array" } },
|
|
1005
|
+
{ "name": "clearable", "value": { "type": "boolean" } },
|
|
1006
|
+
{ "name": "disabled", "value": { "type": "boolean" } },
|
|
1007
|
+
{ "name": "filterable", "value": { "type": "boolean" } },
|
|
1008
|
+
{ "name": "multiple", "value": { "type": "boolean" } },
|
|
1009
|
+
{ "name": "optionFilter", "value": {} }
|
|
1010
|
+
],
|
|
1011
|
+
"events": []
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"name": "leu-table",
|
|
1016
|
+
"description": "\n---\n",
|
|
1017
|
+
"doc-url": "",
|
|
1018
|
+
"attributes": [
|
|
1019
|
+
{
|
|
1020
|
+
"name": "columns",
|
|
1021
|
+
"value": { "type": "array", "default": "[]" }
|
|
1022
|
+
},
|
|
1023
|
+
{ "name": "data", "value": { "type": "array", "default": "[]" } },
|
|
1024
|
+
{
|
|
1025
|
+
"name": "firstColumnSticky",
|
|
1026
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"name": "itemsPerPage",
|
|
1030
|
+
"value": { "type": "number", "default": "null" }
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "sortIndex",
|
|
1034
|
+
"value": { "type": "number", "default": "null" }
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"name": "sortOrderAsc",
|
|
1038
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"name": "width",
|
|
1042
|
+
"value": { "type": "number", "default": "null" }
|
|
1043
|
+
},
|
|
1044
|
+
{ "name": "_shadowLeft", "value": { "type": "string" } },
|
|
1045
|
+
{ "name": "_shadowRight", "value": { "type": "string" } },
|
|
1046
|
+
{ "name": "_page", "value": { "type": "string" } }
|
|
1047
|
+
],
|
|
1048
|
+
"events": [],
|
|
1049
|
+
"js": {
|
|
1050
|
+
"properties": [
|
|
1051
|
+
{ "name": "columns", "value": { "type": "array" } },
|
|
1052
|
+
{ "name": "data", "value": { "type": "array" } },
|
|
1053
|
+
{ "name": "firstColumnSticky", "value": { "type": "boolean" } },
|
|
1054
|
+
{ "name": "itemsPerPage", "value": { "type": "number" } },
|
|
1055
|
+
{ "name": "sortIndex", "value": { "type": "number" } },
|
|
1056
|
+
{ "name": "sortOrderAsc", "value": { "type": "boolean" } },
|
|
1057
|
+
{ "name": "width", "value": { "type": "number" } },
|
|
1058
|
+
{ "name": "_shadowLeft", "value": {} },
|
|
1059
|
+
{ "name": "_shadowRight", "value": {} },
|
|
1060
|
+
{ "name": "_page", "value": {} }
|
|
1061
|
+
],
|
|
1062
|
+
"events": []
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"name": "leu-visually-hidden",
|
|
1067
|
+
"description": "\n---\n",
|
|
1068
|
+
"doc-url": "",
|
|
1069
|
+
"attributes": [],
|
|
1070
|
+
"events": [],
|
|
1071
|
+
"js": { "properties": [], "events": [] }
|
|
1072
|
+
}
|
|
1073
|
+
]
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
}
|