Refactor #1451 - update d.ts, docs, api-generator
parent
9e6e8633a2
commit
03d111f215
|
@ -212,6 +212,14 @@ const AutoCompleteSlots = [
|
|||
{
|
||||
name: "chip",
|
||||
description: "Custom content for the chip display."
|
||||
},
|
||||
{
|
||||
name: "content",
|
||||
description: "Custom content for the virtual scroller"
|
||||
},
|
||||
{
|
||||
name: "loader",
|
||||
description: "Custom content for the virtual scroller loader items"
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -275,6 +275,14 @@ const DividerSlots = [
|
|||
{
|
||||
name: "empty",
|
||||
description: "Custom content when there is no data to display"
|
||||
},
|
||||
{
|
||||
name: "content",
|
||||
description: "Custom content for the virtual scroller"
|
||||
},
|
||||
{
|
||||
name: "loader",
|
||||
description: "Custom content for the virtual scroller loader items"
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -180,6 +180,14 @@ const ListboxSlots = [
|
|||
{
|
||||
name: "empty",
|
||||
description: "Custom content when there is no data to display"
|
||||
},
|
||||
{
|
||||
name: "content",
|
||||
description: "Custom content for the virtual scroller"
|
||||
},
|
||||
{
|
||||
name: "loader",
|
||||
description: "Custom content for the virtual scroller loader items"
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -286,6 +286,14 @@ const MultiSelectSlots = [
|
|||
{
|
||||
name: "chip",
|
||||
description: "Custom content for the chip display."
|
||||
},
|
||||
{
|
||||
name: "content",
|
||||
description: "Custom content for the virtual scroller"
|
||||
},
|
||||
{
|
||||
name: "loader",
|
||||
description: "Custom content for the virtual scroller loader items"
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -107,6 +107,10 @@ const VirtualScrollerSlots = [
|
|||
name: "item",
|
||||
description: "Content for the item"
|
||||
},
|
||||
{
|
||||
name: "content",
|
||||
description: "Custom content for the component"
|
||||
}
|
||||
{
|
||||
name: "loader",
|
||||
description: "Custom content for the loader items"
|
||||
|
|
|
@ -38,6 +38,8 @@ declare class AutoComplete {
|
|||
header: VNode[];
|
||||
footer: VNode[];
|
||||
chip: VNode[];
|
||||
content: VNode[];
|
||||
loader: VNode[];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -51,6 +51,8 @@ declare class Dropdown {
|
|||
optiongroup: VNode[];
|
||||
emptyfilter: VNode[];
|
||||
empty: VNode[];
|
||||
content: VNode[];
|
||||
loader: VNode[];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -36,6 +36,8 @@ declare class Listbox {
|
|||
optiongroup: VNode[];
|
||||
emptyfilter: VNode[];
|
||||
empty: VNode[];
|
||||
content: VNode[];
|
||||
loader: VNode[];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -55,6 +55,8 @@ declare class MultiSelect {
|
|||
option: VNode[];
|
||||
optiongroup: VNode[];
|
||||
chip: VNode[];
|
||||
content: VNode[];
|
||||
loader: VNode[];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ declare class VirtualScroller {
|
|||
$emit(eventName: 'scroll-index-change', value: { first: number, last: number }): this;
|
||||
$emit(eventName: 'lazy-load', value: { first: number, last: number }): this;
|
||||
$slots: {
|
||||
content: VNode[];
|
||||
items: VNode[];
|
||||
loader: VNode[];
|
||||
}
|
||||
|
|
|
@ -347,6 +347,17 @@ export default {
|
|||
<tr>
|
||||
<td>chip</td>
|
||||
<td>value: A value in the selection</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>content</td>
|
||||
<td>items: An array of objects to display for virtualscroller<br />
|
||||
styleClass: Style class of the component<br />
|
||||
contentRef: Referance of the content<br />
|
||||
getItemOptions: Options of the items</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>loader</td>
|
||||
<td>options: Options of the loader items for virtualscroller</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -427,6 +427,17 @@ export default {
|
|||
<tr>
|
||||
<td>empty</td>
|
||||
<td>-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>content</td>
|
||||
<td>items: An array of objects to display for virtualscroller<br />
|
||||
styleClass: Style class of the component<br />
|
||||
contentRef: Referance of the content<br />
|
||||
getItemOptions: Options of the items</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>loader</td>
|
||||
<td>options: Options of the loader items for virtualscroller</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -310,6 +310,17 @@ export default {
|
|||
<tr>
|
||||
<td>empty</td>
|
||||
<td>-</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>content</td>
|
||||
<td>items: An array of objects to display for virtualscroller<br />
|
||||
styleClass: Style class of the component<br />
|
||||
contentRef: Referance of the content<br />
|
||||
getItemOptions: Options of the items</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>loader</td>
|
||||
<td>options: Options of the loader items for virtualscroller</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -278,6 +278,13 @@ export default {
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>content</td>
|
||||
<td>items: An array of objects to display.<br />
|
||||
styleClass: Style class of the component<br />
|
||||
contentRef: Referance of the content<br />
|
||||
getItemOptions: Options of the items</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>item</td>
|
||||
<td>item: Item instance<br />
|
||||
|
|
Loading…
Reference in New Issue