Refactor #1451 - update d.ts, docs, api-generator

pull/1994/head
Tuğçe Küçükoğlu 2021-08-17 17:09:43 +03:00
parent 9e6e8633a2
commit 03d111f215
14 changed files with 85 additions and 0 deletions

View File

@ -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"
}
];

View File

@ -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"
}
];

View File

@ -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"
}
];

View File

@ -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"
}
];

View File

@ -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"

View File

@ -38,6 +38,8 @@ declare class AutoComplete {
header: VNode[];
footer: VNode[];
chip: VNode[];
content: VNode[];
loader: VNode[];
};
}

View File

@ -51,6 +51,8 @@ declare class Dropdown {
optiongroup: VNode[];
emptyfilter: VNode[];
empty: VNode[];
content: VNode[];
loader: VNode[];
}
}

View File

@ -36,6 +36,8 @@ declare class Listbox {
optiongroup: VNode[];
emptyfilter: VNode[];
empty: VNode[];
content: VNode[];
loader: VNode[];
}
}

View File

@ -55,6 +55,8 @@ declare class MultiSelect {
option: VNode[];
optiongroup: VNode[];
chip: VNode[];
content: VNode[];
loader: VNode[];
}
}

View File

@ -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[];
}

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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 />