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