Merge remote-tracking branch 'upstream/master'

pull/4276/head
1Map 2023-08-17 15:20:19 +02:00
commit 956c8b4330
41 changed files with 208 additions and 161 deletions

View File

@ -380,9 +380,20 @@ if (project) {
type += ` \t <b>${childSinature.name}(${parameters})</b>: ${childSinature.type?.name}, // ${childSinature.comment?.summary[0]?.text}\n `;
} else {
const childType = child.type.elementType ? child.type.elementType.name : child.type.name;
if (child.type?.declaration?.signatures) {
let functionParameters = '';
type += ` \t <b>${child.name}</b>: ${childType}, // ${child.comment?.summary[0]?.text}\n `;
child.type?.declaration?.signatures[0]?.parameters.map((param, index) => {
if (index !== 0) functionParameters += `, `;
functionParameters += `${param.name}: ${param.type?.name}`;
});
type += `\t <b>${child.name}</b>: (${functionParameters}) &rArr; ${child.type?.declaration?.signatures[0]?.type?.name}, // ${child.type?.declaration?.signatures[0]?.comment.summary[0]?.text}\n`;
} else {
const childType = child.type.elementType ? child.type.elementType.name : child.type.name;
type += ` \t <b>${child.name}</b>: ${childType}, // ${child.comment?.summary[0]?.text}\n `;
}
}
});
}

View File

@ -205,11 +205,16 @@
}
}
.doc-section-buttons {
.doc-section-code-buttons {
gap: .75rem;
padding: .75rem 0 0;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
.p-button-label {
font-weight: normal;
font-size: 0.875rem;
}
}
.doc-section-code-tooltip .p-tooltip-text {
@ -224,17 +229,6 @@
}
}
.p-button-label {
font-weight: normal;
font-size: 0.875rem;
}
.doc-section-code-active {
.p-button-label {
font-weight: bold;
}
}
pre {
margin: 0;
}

View File

@ -1,14 +1,14 @@
<template>
<div v-if="!embedded" class="surface-card" style="border-radius: 10px">
<div class="flex doc-section-buttons surface-card align-items-center justify-content-end sticky z-1 top-0">
<div class="flex doc-section-code-buttons surface-card align-items-center justify-content-end sticky z-1 top-0 mr-3">
<template v-if="codeMode !== 'basic' && !hideToggleCode">
<Button
:class="['p-button-rounded p-button-text p-button-plain p-0 inline-flex align-items-center justify-content-center', { 'doc-section-code-active text-primary': codeLang === 'typescript' }]"
:class="['p-button-rounded p-button-text p-button-plain p-0 inline-flex align-items-center justify-content-center', { 'doc-section-code-buttons-active text-primary': codeLang === 'composition' }]"
label="Composition API"
@click="codeLang = 'composition'"
></Button>
<Button
:class="['p-button-rounded p-button-text p-button-plain p-0 inline-flex align-items-center justify-content-center', { 'doc-section-code-active text-primary': codeLang === 'javascript' }]"
:class="['p-button-rounded p-button-text p-button-plain p-0 inline-flex align-items-center justify-content-center', { 'doc-section-code-buttons-active text-primary': codeLang === 'options' }]"
label="Options API"
@click="codeLang = 'options'"
></Button>

View File

@ -171,8 +171,9 @@ export interface AccordionTabSlots {
index: number;
/**
* Whether the tab is active
* @param {number} index - Index of the tab
*/
isTabActive(i: number): void;
isTabActive: (index: number) => void;
}): VNode[];
}

View File

@ -563,13 +563,13 @@ export interface AutoCompleteSlots {
* Referance of the content
* @param {HTMLElement} el - Element of 'ref' property
*/
contentRef(el: any): void;
contentRef: (el: any) => void;
/**
* Options of the items
* @param {number} index - Rendered index
* @return {VirtualScrollerItemOptions}
*/
getItemOptions(index: number): VirtualScrollerItemOptions;
getItemOptions: (index: number) => VirtualScrollerItemOptions;
}): VNode[];
/**
* Custom loader template.
@ -610,7 +610,7 @@ export interface AutoCompleteSlots {
* Remove token icon function.
* @param {Event} event - Browser event
*/
onClick(event: Event, index: number): void;
onClick: (event: Event, index: number) => void;
}): VNode[];
/**
* Custom loading icon template.

View File

@ -2589,7 +2589,7 @@ export default {
let innerHTML = '';
if (this.responsiveOptions) {
let responsiveOptions = [...this.responsiveOptions].filter((o) => !!(o.breakpoint && o.numMonths)).sort((o1, o2) => -1 * o1.breakpoint.localeCompare(o2.breakpoint, undefined, { numeric: true }));
let responsiveOptions = [...this.responsiveOptions].filter((o) => !!(o.breakpoint && o.numMonths)).sort((o1, o2) => -1 * new Intl.Collator(undefined, { numeric: true }).compare(o1.breakpoint, o2.breakpoint));
for (let i = 0; i < responsiveOptions.length; i++) {
let { breakpoint, numMonths } = responsiveOptions[i];

View File

@ -537,7 +537,7 @@ export default {
if (value1 == null && value2 != null) result = -1;
else if (value1 != null && value2 == null) result = 1;
else if (value1 == null && value2 == null) result = 0;
else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, undefined, { numeric: true });
else if (typeof value1 === 'string' && typeof value2 === 'string') result = new Intl.Collator(undefined, { numeric: true }).compare(value1, value2);
else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return -1 * result;

View File

@ -132,12 +132,12 @@ export interface ChipSlots {
* Remove icon click event
* @param {Event} event - Browser event
*/
onClick(event: Event): void;
onClick: (event: Event) => void;
/**
* Remove icon keydown event
* @param {Event} event - Browser event
*/
onKeydown(event: Event): void;
onKeydown: (event: Event) => void;
}): VNode[];
}

View File

@ -220,7 +220,7 @@ export interface ChipsSlots {
* Remove token icon function.
* @param {Event} event - Browser event
*/
onClick(event: Event, index: number): void;
onClick: (event: Event, index: number) => void;
}): VNode[];
}
/**

View File

@ -30,45 +30,6 @@ export default {
name: 'ColorPicker',
extends: BaseColorPicker,
emits: ['update:modelValue', 'change', 'show', 'hide'],
props: {
modelValue: {
type: null,
default: null
},
defaultColor: {
type: null,
default: 'ff0000'
},
inline: {
type: Boolean,
default: false
},
format: {
type: String,
default: 'hex'
},
disabled: {
type: Boolean,
default: false
},
tabindex: {
type: String,
default: null
},
autoZIndex: {
type: Boolean,
default: true
},
baseZIndex: {
type: Number,
default: 0
},
appendTo: {
type: String,
default: 'body'
},
panelClass: null
},
data() {
return {
overlayVisible: false
@ -384,7 +345,7 @@ export default {
this.bindResizeListener();
if (this.autoZIndex) {
ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
ZIndexUtils.set('overlay', el, this.baseZIndex, this.$primevue.config.zIndex.overlay);
}
this.$emit('show');

View File

@ -679,8 +679,9 @@ export interface ColumnSlots {
frozenRow: boolean;
/**
* Callback function
* @param {Event} event - Browser event
*/
editorInitCallback(): void;
editorInitCallback: (event: Event) => void;
}): VNode[];
/**
* Custom header template.
@ -729,12 +730,14 @@ export interface ColumnSlots {
frozenRow: boolean;
/**
* Callback function
* @param {Event} event - Browser event
*/
editorSaveCallback(): void;
editorSaveCallback: (event: Event) => void;
/**
* Callback function
* @param {Event} event - Browser event
*/
editorCancelCallback(): void;
editorCancelCallback: (event: Event) => void;
}): VNode[];
/**
* Custom filter template.
@ -753,7 +756,7 @@ export interface ColumnSlots {
/**
* Callback function
*/
filterCallback(): void;
filterCallback: () => void;
}): VNode[];
/**
* Custom filter header template.
@ -772,7 +775,7 @@ export interface ColumnSlots {
/**
* Callback function
*/
filterCallback(): void;
filterCallback: () => void;
}): VNode[];
/**
* Custom filter footer template.
@ -791,7 +794,7 @@ export interface ColumnSlots {
/**
* Callback function
*/
filterCallback(): void;
filterCallback: () => void;
}): VNode[];
/**
* Custom filter clear template.
@ -810,7 +813,7 @@ export interface ColumnSlots {
/**
* Callback function
*/
filterCallback(): void;
filterCallback: () => void;
}): VNode[];
/**
* Custom filter apply template.
@ -829,7 +832,7 @@ export interface ColumnSlots {
/**
* Callback function
*/
filterCallback(): void;
filterCallback: () => void;
}): VNode[];
/**
* Custom loading template.

View File

@ -176,6 +176,7 @@ export interface ConfirmDialogSlots {
}): VNode[];
/**
* Custom icon template.
* @param {Object} scope - icon slot's params.
*/
icon(scope: {
/**

View File

@ -130,6 +130,7 @@ export interface ConfirmPopupSlots {
}): VNode[];
/**
* Custom icon template.
* @param {Object} scope - icon slot's params.
*/
icon(scope: {
/**

View File

@ -254,6 +254,7 @@ export interface ContextMenuSlots {
}): VNode[];
/**
* Custom submenu icon template.
* @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**

View File

@ -1103,6 +1103,7 @@ export interface DataTableSlots {
empty(): VNode[];
/**
* Custom group header template.
* @param {Object} scope - group header slot's params.
*/
groupheader(scope: {
/**
@ -1130,6 +1131,7 @@ export interface DataTableSlots {
}): VNode[];
/**
* Custom loading template.
* @param {Object} scope - loading slot's params.
*/
loading(): VNode[];
/**

View File

@ -526,7 +526,7 @@ export default {
if (value1 == null && value2 != null) result = -1;
else if (value1 != null && value2 == null) result = 1;
else if (value1 == null && value2 == null) result = 0;
else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, undefined, { numeric: true });
else if (typeof value1 === 'string' && typeof value2 === 'string') result = new Intl.Collator(undefined, { numeric: true }).compare(value1, value2);
else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return this.d_sortOrder * result;
@ -562,7 +562,7 @@ export default {
if (typeof value1 === 'string' || value1 instanceof String) {
if (value1.localeCompare && value1 !== value2) {
return this.d_multiSortMeta[index].order * value1.localeCompare(value2, undefined, { numeric: true });
return this.d_multiSortMeta[index].order * new Intl.Collator(undefined, { numeric: true }).compare(value1, value2);
}
} else {
result = value1 < value2 ? -1 : 1;

View File

@ -119,7 +119,7 @@ export default {
if (value1 == null && value2 != null) result = -1;
else if (value1 != null && value2 == null) result = 1;
else if (value1 == null && value2 == null) result = 0;
else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, undefined, { numeric: true });
else if (typeof value1 === 'string' && typeof value2 === 'string') result = new Intl.Collator(undefined, { numeric: true }).compare(value1, value2);
else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return this.sortOrder * result;

View File

@ -540,13 +540,13 @@ export interface DropdownSlots {
* Referance of the content
* @param {HTMLElement} el - Element of 'ref' property
*/
contentRef(el: any): void;
contentRef: (el: any) => void;
/**
* Options of the items
* @param {number} index - Rendered index
* @return {@link VirtualScroller.VirtualScrollerItemOptions}
* @return {@link VirtualScrollerItemOptions}
*/
getItemOptions(index: number): VirtualScrollerItemOptions;
getItemOptions: (index: number) => VirtualScrollerItemOptions;
}): VNode[];
/**
* Custom loader template.
@ -571,7 +571,7 @@ export interface DropdownSlots {
* Clear icon click function.
* @param {Event} event - Browser event
*/
onClick(event: Event): void;
onClick: (event: Event) => void;
}): VNode[];
/**
* Custom dropdown icon template.

View File

@ -427,6 +427,7 @@ export interface FileUploadProps {
export interface FileUploadSlots {
/**
* Custom header content template.
* @param {Object} scope - header slot's params.
*/
header(scope: {
/**
@ -440,18 +441,19 @@ export interface FileUploadSlots {
/**
* Choose function
*/
chooseCallback(): void;
chooseCallback: () => void;
/**
* Upload function
*/
uploadCallback(): void;
uploadCallback: () => void;
/**
* Clear function
*/
clearCallback(): void;
clearCallback: () => void;
}): VNode[];
/**
* Custom uploaded content template.
* @param {Object} scope - content slot's params.
*/
content(scope: {
/**
@ -464,12 +466,14 @@ export interface FileUploadSlots {
uploadedFiles: File[];
/**
* Function to remove an uploaded file.
* @param {number} index - Index of the uploaded file
*/
removeUploadedFileCallback(index: number): void;
removeUploadedFileCallback: (index: number) => void;
/**
* Function to remove a file.
* @param {number} index - Index of the removed file
*/
removeFileCallback(index: number): void;
removeFileCallback: (index: number) => void;
/**
* Uploaded progress as number.
*/
@ -497,6 +501,7 @@ export interface FileUploadSlots {
cancelicon(): VNode[];
/**
* Custom remove icon template for each file.
* @param {Object} scope - fileremoveicon slot's params.
*/
fileremoveicon(scope: {
/**

View File

@ -446,7 +446,7 @@ export default {
if (value1 == null && value2 != null) result = -1;
else if (value1 != null && value2 == null) result = 1;
else if (value1 == null && value2 == null) result = 0;
else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, undefined, { numeric: true });
else if (typeof value1 === 'string' && typeof value2 === 'string') result = new Intl.Collator(undefined, { numeric: true }).compare(value1, value2);
else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return -1 * result;

View File

@ -219,6 +219,7 @@ export interface ImageSlots {
close(): VNode[];
/**
* Custom image template.
* @param {Object} scope - image slot's params.
*/
image(scope: {
/**
@ -232,10 +233,11 @@ export interface ImageSlots {
/**
* Image error function.
*/
onError(): void;
onError: () => void;
}): VNode[];
/**
* Custom preview template.
* @param {Object} scope - preview slot's params.
*/
preview(scope: {
/**
@ -249,7 +251,7 @@ export interface ImageSlots {
/**
* Preview click function.
*/
onClick(): void;
onClick: () => void;
}): VNode[];
}

View File

@ -415,13 +415,13 @@ export interface ListboxSlots {
* Referance of the content
* @param {HTMLElement} el - Element of 'ref' property
*/
contentRef(el: any): void;
contentRef: (el: any) => void;
/**
* Options of the items
* @param {number} index - Rendered index
* @return {VirtualScrollerItemOptions}
*/
getItemOptions(index: number): VirtualScrollerItemOptions;
getItemOptions: (index: number) => VirtualScrollerItemOptions;
}): VNode[];
/**
* Custom loader template.

View File

@ -245,6 +245,7 @@ export interface MegaMenuSlots {
}): VNode[];
/**
* Custom submenu icon template.
* @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**

View File

@ -240,6 +240,7 @@ export interface MenubarSlots {
popupicon(): VNode[];
/**
* Custom submenu icon template.
* @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**

View File

@ -151,6 +151,7 @@ export interface MessageSlots {
default(): VNode[];
/**
* Custom message icon template.
* @param {Object} scope - messageicon slot's params.
*/
messageicon(scope: {
/**
@ -160,6 +161,7 @@ export interface MessageSlots {
}): VNode[];
/**
* Custom close icon template.
* @param {Object} scope - closeicon slot's params.
*/
closeicon(scope: {
/**

View File

@ -632,13 +632,13 @@ export interface MultiSelectSlots {
* Referance of the content
* @param {HTMLElement} el - Element of 'ref' property
*/
contentRef(el: any): void;
contentRef: (el: any) => void;
/**
* Options of the items
* @param {number} index - Rendered index
* @return {VirtualScrollerItemOptions}
*/
getItemOptions(index: number): VirtualScrollerItemOptions;
getItemOptions: (index: number) => VirtualScrollerItemOptions;
}): VNode[];
/**
* Custom loader template.
@ -652,6 +652,7 @@ export interface MultiSelectSlots {
}): VNode[];
/**
* Custom remove token icon template.
* @param {Object} scope - removetokenicon slot's params.
*/
removetokenicon(scope: {
/**
@ -667,7 +668,7 @@ export interface MultiSelectSlots {
* @param {Event} event - Browser event
* @param {any} item - Item
*/
onClick(event: Event, item: any): void;
onClick: (event: Event, item: any) => void;
}): VNode[];
/**
* Custom header checkbox icon template.
@ -685,6 +686,7 @@ export interface MultiSelectSlots {
}): VNode[];
/**
* Custom filter icon template.
* @param {Object} scope - filtericon slot's params.
*/
filtericon(scope: {
/**
@ -694,6 +696,7 @@ export interface MultiSelectSlots {
}): VNode[];
/**
* Custom close icon template.
* @param {Object} scope - closeicon slot's params.
*/
closeicon(scope: {
/**
@ -703,7 +706,7 @@ export interface MultiSelectSlots {
}): VNode[];
/**
* Custom item checkbox icon template.
* @param {Object} scope - header checkbox icon slot's params.
* @param {Object} scope - itemcheckboxicon slot's params.
*/
itemcheckboxicon(scope: {
/**
@ -727,6 +730,7 @@ export interface MultiSelectSlots {
}): VNode[];
/**
* Custom dropdown icon template.
* @param {Object} scope - dropdownicon slot's params.
*/
dropdownicon(scope: {
/**

View File

@ -154,6 +154,7 @@ export interface PanelSlots {
default(): VNode[];
/**
* Custom header template.
* @param {Object} scope - header slot's params.
*/
header(scope: {
/**

View File

@ -241,6 +241,7 @@ export interface PanelMenuSlots {
}): VNode[];
/**
* Custom submenu icon template.
* @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**

View File

@ -269,21 +269,23 @@ export interface PasswordSlots {
content(): VNode[];
/**
* Custom hide icon template.
* @param {Object} scope - hideicon slot's params.
*/
hideicon(scope: {
/**
* Hide icon click event
*/
onClick(): void;
onClick: () => void;
}): VNode[];
/**
* Custom show icon template.
* @param {Object} scope - showicon slot's params.
*/
showicon(scope: {
/**
* Show icon click event
*/
onClick(): void;
onClick: () => void;
}): VNode[];
}

View File

@ -192,6 +192,7 @@ export interface RatingProps {
export interface RatingSlots {
/**
* Custom cancel icon template.
* @param {Object} scope - cancelicon slot's params.
*/
cancelicon(scope: {
/**

View File

@ -265,7 +265,7 @@ export interface SpeedDialSlots {
* Item click function
* @param {Event} event - Browser event.
*/
onClick(): void;
onClick: (event: Event) => void;
}): VNode[];
/**
* Custom button template.
@ -276,7 +276,7 @@ export interface SpeedDialSlots {
* Button click function
* @param {Event} event - Browser event.
*/
onClick(): void;
onClick: (event: Event) => void;
}): VNode[];
/**
* Custom icon template.

View File

@ -187,6 +187,7 @@ export interface SplitButtonSlots {
default(): VNode[];
/**
* Custom menu button icon template.
* @param {Object} scope - icon slot's params.
*/
icon(scope: {
/**
@ -196,6 +197,7 @@ export interface SplitButtonSlots {
}): VNode[];
/**
* Custom menu button icon template.
* @param {Object} scope - menubuttonicon slot's params.
*/
menubuttonicon(scope: {
/**

View File

@ -239,6 +239,7 @@ export interface TieredMenuSlots {
}): VNode[];
/**
* Custom submenu icon template.
* @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**

View File

@ -178,6 +178,7 @@ export interface ToggleButtonProps {
export interface ToggleButtonSlots {
/**
* Custom icon template.
* @param {Object} scope - icon slot's params.
*/
icon(scope: {
/**

View File

@ -327,6 +327,7 @@ export interface TreeProps {
export interface TreeSlots {
/**
* Custom loading icon template.
* @param {Object} scope - loadingicon slot's params.
*/
loadingicon(scope: {
/**
@ -336,6 +337,7 @@ export interface TreeSlots {
}): VNode[];
/**
* Custom search icon template.
* @param {Object} scope - searchicon slot's params.
*/
searchicon(scope: {
/**
@ -345,6 +347,7 @@ export interface TreeSlots {
}): VNode[];
/**
* Custom toggler icon template.
* @param {Object} scope - togglericon slot's params.
*/
togglericon(scope: {
/**
@ -358,6 +361,7 @@ export interface TreeSlots {
}): VNode[];
/**
* Custom checkbox icon
* @param {Object} scope - checkboxicon slot's params.
*/
checkboxicon(scope: {
/**

View File

@ -273,6 +273,7 @@ export interface TreeSelectSlots {
indicator(): VNode[];
/**
* Custom indicator template.
* @param {Object} scope - triggericon slot's params.
*/
triggericon(scope: {
/**

View File

@ -605,6 +605,7 @@ export interface TreeTableSlots {
checkboxicon(): VNode[];
/**
* Custom sort icon template.
* @param {Object} scope - sorticon slot's params.
*/
sorticon(scope: {
/**

View File

@ -426,7 +426,7 @@ export default {
if (value1 == null && value2 != null) result = -1;
else if (value1 != null && value2 == null) result = 1;
else if (value1 == null && value2 == null) result = 0;
else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, undefined, { numeric: true });
else if (typeof value1 === 'string' && typeof value2 === 'string') result = new Intl.Collator(undefined, { numeric: true }).compare(value1, value2);
else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return this.d_sortOrder * result;
@ -458,7 +458,8 @@ export default {
if (value1 === value2) {
return this.d_multiSortMeta.length - 1 > index ? this.multisortField(node1, node2, index + 1) : 0;
} else {
if ((typeof value1 === 'string' || value1 instanceof String) && (typeof value2 === 'string' || value2 instanceof String)) return this.d_multiSortMeta[index].order * value1.localeCompare(value2, undefined, { numeric: true });
if ((typeof value1 === 'string' || value1 instanceof String) && (typeof value2 === 'string' || value2 instanceof String))
return this.d_multiSortMeta[index].order * new Intl.Collator(undefined, { numeric: true }).compare(value1, value2);
else result = value1 < value2 ? -1 : 1;
}
}

View File

@ -158,6 +158,7 @@ export interface TriStateCheckboxProps {
export interface TriStateCheckboxSlots {
/**
* Custom check icon template.
* @param {Object} scope - checkicon slot's params.
*/
checkicon(scope: {
/**
@ -167,6 +168,7 @@ export interface TriStateCheckboxSlots {
}): VNode[];
/**
* Custom uncheck icon template.
* @param {Object} scope - uncheckicon slot's params.
*/
uncheckicon(scope: {
/**
@ -176,6 +178,7 @@ export interface TriStateCheckboxSlots {
}): VNode[];
/**
* Custom nullable icon template.
* @param {Object} scope - nullableicon slot's params.
*/
nullableicon(scope: {
/**

View File

@ -343,13 +343,13 @@ export interface VirtualScrollerSlots {
* Referance of the content
* @param {HTMLElement} el - Element of 'ref' property
*/
contentRef(el: any): void;
contentRef: (el: any) => void;
/**
* Options of the items
* @param {number} index - Rendered index
* @return {@link VirtualScroller.VirtualScrollerItemOptions}
* @return {@link VirtualScrollerItemOptions}
*/
getItemOptions(index: number): VirtualScrollerItemOptions;
getItemOptions: (index: number) => VirtualScrollerItemOptions;
/**
* Whether the data is loaded.
*/
@ -358,8 +358,9 @@ export interface VirtualScrollerSlots {
* Loader options of the items while the data is loading.
* @param {number} index - Rendered index
* @param {*} [ext] - Extra options
* @return {@link VirtualScrollerItemOptions}
*/
getLoaderOptions(index: number, ext?: any): VirtualScrollerLoaderOptions;
getLoaderOptions: (index: number, ext?: any) => VirtualScrollerLoaderOptions;
/**
* The height/width of item according to orientation.
*/
@ -419,6 +420,7 @@ export interface VirtualScrollerSlots {
}): VNode[];
/**
* Custom loading icon template.
* @param {Object} scope - loadingicon slot's params.
*/
loadingicon(scope: {
/**

View File

@ -650,7 +650,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>index</b>: number, // Index of the tab\n \t <b>isTabActive(i: number)</b>: void, // Whether the tab is active\n }",
"type": "{\n \t <b>index</b>: number, // Index of the tab\n \t <b>isTabActive</b>: (index: number) &rArr; void, // Whether the tab is active\n }",
"description": "header slot's params."
}
],
@ -3562,7 +3562,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n }",
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef</b>: (el: any) &rArr; void, // Referance of the content\n\t <b>getItemOptions</b>: (index: number) &rArr; VirtualScrollerItemOptions, // Options of the items\n }",
"description": "content slot's params."
}
],
@ -3606,7 +3606,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n \t <b>index</b>: number, // Index of the token.\n \t <b>onClick(event: Event, index: number)</b>: void, // Remove token icon function.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n \t <b>index</b>: number, // Index of the token.\n \t <b>onClick</b>: (event: Event, index: number) &rArr; void, // Remove token icon function.\n }"
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -9482,7 +9482,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>onClick(event: Event)</b>: void, // Remove icon click event\n \t <b>onKeydown(event: Event)</b>: void, // Remove icon keydown event\n }",
"type": "{\n \t <b>onClick</b>: (event: Event) &rArr; void, // Remove icon click event\n\t <b>onKeydown</b>: (event: Event) &rArr; void, // Remove icon keydown event\n }",
"description": "remove icon slot's params."
}
],
@ -9899,7 +9899,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n \t <b>index</b>: number, // Index of the token.\n \t <b>onClick(event: Event, index: number)</b>: void, // Remove token icon function.\n }",
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n \t <b>index</b>: number, // Index of the token.\n \t <b>onClick</b>: (event: Event, index: number) &rArr; void, // Remove token icon function.\n }",
"description": "remove token icon slot's params."
}
],
@ -11559,7 +11559,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>data</b>: any, // Row data.\n \t <b>node</b>: any, // Row node data.\n \t <b>column</b>: Column, // Column node.\n \t <b>field</b>: string, // Column field.\n \t <b>index</b>: number, // Row index.\n \t <b>frozenRow</b>: boolean, // Whether the row is frozen.\n \t <b>editorInitCallback()</b>: void, // Callback function\n }",
"type": "{\n \t <b>data</b>: any, // Row data.\n \t <b>node</b>: any, // Row node data.\n \t <b>column</b>: Column, // Column node.\n \t <b>field</b>: string, // Column field.\n \t <b>index</b>: number, // Row index.\n \t <b>frozenRow</b>: boolean, // Whether the row is frozen.\n \t <b>editorInitCallback</b>: (event: Event) &rArr; void, // Callback function\n }",
"description": "body slot's params."
}
],
@ -11598,7 +11598,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>data</b>: any, // Row data.\n \t <b>column</b>: Column, // Column node.\n \t <b>field</b>: string, // Column field.\n \t <b>index</b>: number, // Row index.\n \t <b>frozenRow</b>: boolean, // Whether the row is frozen.\n \t <b>editorSaveCallback()</b>: void, // Callback function\n \t <b>editorCancelCallback()</b>: void, // Callback function\n }",
"type": "{\n \t <b>data</b>: any, // Row data.\n \t <b>column</b>: Column, // Column node.\n \t <b>field</b>: string, // Column field.\n \t <b>index</b>: number, // Row index.\n \t <b>frozenRow</b>: boolean, // Whether the row is frozen.\n \t <b>editorSaveCallback</b>: (event: Event) &rArr; void, // Callback function\n\t <b>editorCancelCallback</b>: (event: Event) &rArr; void, // Callback function\n }",
"description": "editor slot's params."
}
],
@ -11611,7 +11611,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback</b>: () &rArr; void, // Callback function\n }",
"description": "filter slot's params."
}
],
@ -11624,7 +11624,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback</b>: () &rArr; void, // Callback function\n }",
"description": "filter header slot's params."
}
],
@ -11637,7 +11637,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback</b>: () &rArr; void, // Callback function\n }",
"description": "filter footer slot's params."
}
],
@ -11650,7 +11650,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback</b>: () &rArr; void, // Callback function\n }",
"description": "filter clear slot's params."
}
],
@ -11663,7 +11663,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback()</b>: void, // Callback function\n }",
"type": "{\n \t <b>field</b>: string, // Column field.\n \t <b>filterModel</b>: ColumnFilterModelType, // Filter metadata\n \t <b>filterCallback</b>: () &rArr; void, // Callback function\n }",
"description": "filter apply slot's params."
}
],
@ -14020,7 +14020,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: any, // Style class of the icon template\n }"
"type": "{\n \t <b>class</b>: any, // Style class of the icon template\n }",
"description": "icon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -14272,7 +14273,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: any, // Style class of the icon template\n }"
"type": "{\n \t <b>class</b>: any, // Style class of the icon template\n }",
"description": "icon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -14768,7 +14770,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>active</b>: boolean, // Whether item is active\n }"
"type": "{\n \t <b>active</b>: boolean, // Whether item is active\n }",
"description": "submenuicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -17063,7 +17066,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>data</b>: any, // Row data\n \t <b>index</b>: number, // Row index\n }"
"type": "{\n \t <b>data</b>: any, // Row data\n \t <b>index</b>: number, // Row index\n }",
"description": "group header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -20569,7 +20573,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n }",
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef</b>: (el: any) &rArr; void, // Referance of the content\n\t <b>getItemOptions</b>: (index: number) &rArr; VirtualScrollerItemOptions, // Options of the items\n }",
"description": "content slot's params."
}
],
@ -20595,7 +20599,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: any, // Style class of the clear icon\n \t <b>onClick(event: Event)</b>: void, // Clear icon click function.\n }",
"type": "{\n \t <b>class</b>: any, // Style class of the clear icon\n \t <b>onClick</b>: (event: Event) &rArr; void, // Clear icon click function.\n }",
"description": "clear icon slot's params."
}
],
@ -22479,7 +22483,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>files</b>: File, // Files to upload.\n \t <b>uploadedFiles</b>: File, // Uploaded files.\n \t <b>chooseCallback()</b>: void, // Choose function\n \t <b>uploadCallback()</b>: void, // Upload function\n \t <b>clearCallback()</b>: void, // Clear function\n }"
"type": "{\n \t <b>files</b>: File, // Files to upload.\n \t <b>uploadedFiles</b>: File, // Uploaded files.\n \t <b>chooseCallback</b>: () &rArr; void, // Choose function\n\t <b>uploadCallback</b>: () &rArr; void, // Upload function\n\t <b>clearCallback</b>: () &rArr; void, // Clear function\n }",
"description": "header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -22491,7 +22496,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>files</b>: File, // Files to upload.\n \t <b>uploadedFiles</b>: File, // Uploaded files.\n \t <b>removeUploadedFileCallback(index: number)</b>: void, // Function to remove an uploaded file.\n \t <b>removeFileCallback(index: number)</b>: void, // Function to remove a file.\n \t <b>progress</b>: number, // Uploaded progress as number.\n \t <b>messages</b>: undefined, // Status messages about upload process.\n }"
"type": "{\n \t <b>files</b>: File, // Files to upload.\n \t <b>uploadedFiles</b>: File, // Uploaded files.\n \t <b>removeUploadedFileCallback</b>: (index: number) &rArr; void, // Function to remove an uploaded file.\n\t <b>removeFileCallback</b>: (index: number) &rArr; void, // Function to remove a file.\n \t <b>progress</b>: number, // Uploaded progress as number.\n \t <b>messages</b>: undefined, // Status messages about upload process.\n }",
"description": "content slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -22527,7 +22533,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>file</b>: File, // File to upload.\n \t <b>index</b>: number, // The index of file\n }"
"type": "{\n \t <b>file</b>: File, // File to upload.\n \t <b>index</b>: number, // The index of file\n }",
"description": "fileremoveicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -24111,7 +24118,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: any, // Style class of the image element.\n \t <b>style</b>: any, // Style of the image element.\n \t <b>onError()</b>: void, // Image error function.\n }"
"type": "{\n \t <b>class</b>: any, // Style class of the image element.\n \t <b>style</b>: any, // Style of the image element.\n \t <b>onError</b>: () &rArr; void, // Image error function.\n }",
"description": "image slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -24123,7 +24131,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: any, // Style class of the preview image element.\n \t <b>style</b>: any, // Style of the preview image element.\n \t <b>onClick()</b>: void, // Preview click function.\n }"
"type": "{\n \t <b>class</b>: any, // Style class of the preview image element.\n \t <b>style</b>: any, // Style of the preview image element.\n \t <b>onClick</b>: () &rArr; void, // Preview click function.\n }",
"description": "preview slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -26925,7 +26934,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n }",
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef</b>: (el: any) &rArr; void, // Referance of the content\n\t <b>getItemOptions</b>: (index: number) &rArr; VirtualScrollerItemOptions, // Options of the items\n }",
"description": "content slot's params."
}
],
@ -27468,7 +27477,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>active</b>: boolean, // Whether item is active\n }"
"type": "{\n \t <b>active</b>: boolean, // Whether item is active\n }",
"description": "submenuicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -28432,7 +28442,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>root</b>: boolean, // Whether item is root\n \t <b>active</b>: boolean, // Whether item is active\n }"
"type": "{\n \t <b>root</b>: boolean, // Whether item is root\n \t <b>active</b>: boolean, // Whether item is active\n }",
"description": "submenuicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -28885,7 +28896,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: any, // Style class of the item icon element.\n }"
"type": "{\n \t <b>class</b>: any, // Style class of the item icon element.\n }",
"description": "messageicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -28897,7 +28909,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: any, // Style class of the item icon element.\n }"
"type": "{\n \t <b>class</b>: any, // Style class of the item icon element.\n }",
"description": "closeicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30000,7 +30013,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n }",
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the component\n \t <b>contentRef</b>: (el: any) &rArr; void, // Referance of the content\n\t <b>getItemOptions</b>: (index: number) &rArr; VirtualScrollerItemOptions, // Options of the items\n }",
"description": "content slot's params."
}
],
@ -30026,7 +30039,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the loading icon.\n \t <b>item</b>: any, // Item of the token.\n \t <b>onClick(event: Event, item: any)</b>: void, // Remove token icon function.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the loading icon.\n \t <b>item</b>: any, // Item of the token.\n \t <b>onClick</b>: (event: Event, item: any) &rArr; void, // Remove token icon function.\n }",
"description": "removetokenicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30051,7 +30065,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the loading icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the loading icon.\n }",
"description": "filtericon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30063,7 +30078,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the loading icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the loading icon.\n }",
"description": "closeicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30076,7 +30092,7 @@
"name": "scope",
"optional": false,
"type": "{\n \t <b>selected</b>: boolean, // Options of the loader items for virtualscroller\n \t <b>class</b>: string, // Style class of the loading icon.\n }",
"description": "header checkbox icon slot's params."
"description": "itemcheckboxicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30101,7 +30117,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the loading icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the loading icon.\n }",
"description": "dropdownicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -32427,7 +32444,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>id</b>: string, // Current id state as a string\n \t <b>class</b>: string, // Style class of the icon\n }"
"type": "{\n \t <b>id</b>: string, // Current id state as a string\n \t <b>class</b>: string, // Style class of the icon\n }",
"description": "header slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -32941,7 +32959,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>active</b>: boolean, // Whether item is active\n }"
"type": "{\n \t <b>active</b>: boolean, // Whether item is active\n }",
"description": "submenuicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -34274,7 +34293,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>onClick()</b>: void, // Hide icon click event\n }"
"type": "{\n \t <b>onClick</b>: () &rArr; void, // Hide icon click event\n }",
"description": "hideicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -34286,7 +34306,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>onClick()</b>: void, // Show icon click event\n }"
"type": "{\n \t <b>onClick</b>: () &rArr; void, // Show icon click event\n }",
"description": "showicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -36340,7 +36361,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "cancelicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -38663,7 +38685,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n \t <b>onClick()</b>: void, // Item click function\n }",
"type": "{\n \t <b>item</b>: MenuItem, // Menuitem instance\n \t <b>onClick</b>: (event: Event) &rArr; void, // Item click function\n }",
"description": "item slot's params."
}
],
@ -38676,7 +38698,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>onClick()</b>: void, // Button click function\n }",
"type": "{\n \t <b>onClick</b>: (event: Event) &rArr; void, // Button click function\n }",
"description": "button slot's params."
}
],
@ -39081,7 +39103,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "icon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -39093,7 +39116,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "menubuttonicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -42077,7 +42101,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>active</b>: boolean, // Whether item is active\n }"
"type": "{\n \t <b>active</b>: boolean, // Whether item is active\n }",
"description": "submenuicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -43288,7 +43313,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>value</b>: any, // Current value\n \t <b>class</b>: any, // Icon style class\n }"
"type": "{\n \t <b>value</b>: any, // Current value\n \t <b>class</b>: any, // Icon style class\n }",
"description": "icon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44410,7 +44436,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "loadingicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44422,7 +44449,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "searchicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44434,7 +44462,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>node</b>: TreeNode, // Tree node instance\n \t <b>expanded</b>: boolean, // Expanded state of the node\n }"
"type": "{\n \t <b>node</b>: TreeNode, // Tree node instance\n \t <b>expanded</b>: boolean, // Expanded state of the node\n }",
"description": "togglericon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44446,7 +44475,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>checked</b>: boolean, // Check state of the node\n \t <b>partialChecked</b>: boolean, // Partial check state of the node\n }"
"type": "{\n \t <b>checked</b>: boolean, // Check state of the node\n \t <b>partialChecked</b>: boolean, // Partial check state of the node\n }",
"description": "checkboxicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44995,7 +45025,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "triggericon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -46277,7 +46308,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>sorted</b>: TreeNode, // Whether or not column is sorted\n \t <b>sortOrder</b>: boolean, // Current sort order\n }"
"type": "{\n \t <b>sorted</b>: TreeNode, // Whether or not column is sorted\n \t <b>sortOrder</b>: boolean, // Current sort order\n }",
"description": "sorticon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -46802,7 +46834,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "checkicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -46814,7 +46847,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "uncheckicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -46826,7 +46860,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "nullableicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -47743,7 +47778,7 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the content\n \t <b>contentRef(el: any)</b>: void, // Referance of the content\n \t <b>getItemOptions(index: number)</b>: VirtualScrollerItemOptions, // Options of the items\n \t <b>loading</b>: boolean, // Whether the data is loaded.\n \t <b>getLoaderOptions(index: number, ext: any)</b>: VirtualScrollerLoaderOptions, // Loader options of the items while the data is loading.\n \t <b>itemSize</b>: undefined, // The height/width of item according to orientation.\n \t <b>rows</b>: undefined, // The number of the rendered rows.\n \t <b>columns</b>: undefined, // The number of the rendered columns.\n \t <b>spacerStyle</b>: any, // The style of spacer element.\n \t <b>contentStyle</b>: any, // The style of content element.\n \t <b>vertical</b>: boolean, // Whether the orientation is vertical.\n \t <b>horizontal</b>: boolean, // Whether the orientation is horizontal.\n \t <b>both</b>: boolean, // Whether the orientation is both.\n }",
"type": "{\n \t <b>items</b>: any, // An array of objects to display for virtualscroller\n \t <b>styleClass</b>: string, // Style class of the content\n \t <b>contentRef</b>: (el: any) &rArr; void, // Referance of the content\n\t <b>getItemOptions</b>: (index: number) &rArr; VirtualScrollerItemOptions, // Options of the items\n \t <b>loading</b>: boolean, // Whether the data is loaded.\n \t <b>getLoaderOptions</b>: (index: number, ext: any) &rArr; VirtualScrollerLoaderOptions, // Loader options of the items while the data is loading.\n \t <b>itemSize</b>: undefined, // The height/width of item according to orientation.\n \t <b>rows</b>: undefined, // The number of the rendered rows.\n \t <b>columns</b>: undefined, // The number of the rendered columns.\n \t <b>spacerStyle</b>: any, // The style of spacer element.\n \t <b>contentStyle</b>: any, // The style of content element.\n \t <b>vertical</b>: boolean, // Whether the orientation is vertical.\n \t <b>horizontal</b>: boolean, // Whether the orientation is horizontal.\n \t <b>both</b>: boolean, // Whether the orientation is both.\n }",
"description": "content slot's params."
}
],
@ -47782,7 +47817,8 @@
{
"name": "scope",
"optional": false,
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }"
"type": "{\n \t <b>class</b>: string, // Style class of the icon.\n }",
"description": "loadingicon slot's params."
}
],
"returnType": "VNode<RendererNode, RendererElement, Object>[]",