Merge remote-tracking branch 'upstream/master'

This commit is contained in:
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 `; type += ` \t <b>${childSinature.name}(${parameters})</b>: ${childSinature.type?.name}, // ${childSinature.comment?.summary[0]?.text}\n `;
} else { } 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; gap: .75rem;
padding: .75rem 0 0; padding: .75rem 0 0;
border-top-left-radius: 10px; border-top-left-radius: 10px;
border-top-right-radius: 10px; border-top-right-radius: 10px;
.p-button-label {
font-weight: normal;
font-size: 0.875rem;
}
} }
.doc-section-code-tooltip .p-tooltip-text { .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 { pre {
margin: 0; margin: 0;
} }

View file

@ -1,14 +1,14 @@
<template> <template>
<div v-if="!embedded" class="surface-card" style="border-radius: 10px"> <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"> <template v-if="codeMode !== 'basic' && !hideToggleCode">
<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 === '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" label="Composition API"
@click="codeLang = 'composition'" @click="codeLang = 'composition'"
></Button> ></Button>
<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" label="Options API"
@click="codeLang = 'options'" @click="codeLang = 'options'"
></Button> ></Button>

View file

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

View file

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

View file

@ -2589,7 +2589,7 @@ export default {
let innerHTML = ''; let innerHTML = '';
if (this.responsiveOptions) { 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++) { for (let i = 0; i < responsiveOptions.length; i++) {
let { breakpoint, numMonths } = responsiveOptions[i]; let { breakpoint, numMonths } = responsiveOptions[i];

View file

@ -537,7 +537,7 @@ export default {
if (value1 == null && value2 != null) result = -1; if (value1 == null && value2 != null) result = -1;
else 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 (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; else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return -1 * result; return -1 * result;

View file

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

View file

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

View file

@ -30,45 +30,6 @@ export default {
name: 'ColorPicker', name: 'ColorPicker',
extends: BaseColorPicker, extends: BaseColorPicker,
emits: ['update:modelValue', 'change', 'show', 'hide'], 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() { data() {
return { return {
overlayVisible: false overlayVisible: false
@ -384,7 +345,7 @@ export default {
this.bindResizeListener(); this.bindResizeListener();
if (this.autoZIndex) { 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'); this.$emit('show');

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -526,7 +526,7 @@ export default {
if (value1 == null && value2 != null) result = -1; if (value1 == null && value2 != null) result = -1;
else 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 (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; else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return this.d_sortOrder * result; return this.d_sortOrder * result;
@ -562,7 +562,7 @@ export default {
if (typeof value1 === 'string' || value1 instanceof String) { if (typeof value1 === 'string' || value1 instanceof String) {
if (value1.localeCompare && value1 !== value2) { 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 { } else {
result = value1 < value2 ? -1 : 1; result = value1 < value2 ? -1 : 1;

View file

@ -119,7 +119,7 @@ export default {
if (value1 == null && value2 != null) result = -1; if (value1 == null && value2 != null) result = -1;
else 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 (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; else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return this.sortOrder * result; return this.sortOrder * result;

View file

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

View file

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

View file

@ -446,7 +446,7 @@ export default {
if (value1 == null && value2 != null) result = -1; if (value1 == null && value2 != null) result = -1;
else 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 (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; else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return -1 * result; return -1 * result;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -426,7 +426,7 @@ export default {
if (value1 == null && value2 != null) result = -1; if (value1 == null && value2 != null) result = -1;
else 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 (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; else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
return this.d_sortOrder * result; return this.d_sortOrder * result;
@ -458,7 +458,8 @@ export default {
if (value1 === value2) { if (value1 === value2) {
return this.d_multiSortMeta.length - 1 > index ? this.multisortField(node1, node2, index + 1) : 0; return this.d_multiSortMeta.length - 1 > index ? this.multisortField(node1, node2, index + 1) : 0;
} else { } 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; else result = value1 < value2 ? -1 : 1;
} }
} }

View file

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

View file

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

View file

@ -650,7 +650,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "header slot's params."
} }
], ],
@ -3562,7 +3562,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "content slot's params."
} }
], ],
@ -3606,7 +3606,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -9482,7 +9482,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "remove icon slot's params."
} }
], ],
@ -9899,7 +9899,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "remove token icon slot's params."
} }
], ],
@ -11559,7 +11559,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "body slot's params."
} }
], ],
@ -11598,7 +11598,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "editor slot's params."
} }
], ],
@ -11611,7 +11611,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "filter slot's params."
} }
], ],
@ -11624,7 +11624,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "filter header slot's params."
} }
], ],
@ -11637,7 +11637,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "filter footer slot's params."
} }
], ],
@ -11650,7 +11650,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "filter clear slot's params."
} }
], ],
@ -11663,7 +11663,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "filter apply slot's params."
} }
], ],
@ -14020,7 +14020,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -14272,7 +14273,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -14768,7 +14770,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -17063,7 +17066,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -20569,7 +20573,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "content slot's params."
} }
], ],
@ -20595,7 +20599,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "clear icon slot's params."
} }
], ],
@ -22479,7 +22483,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -22491,7 +22496,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -22527,7 +22533,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -24111,7 +24118,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -24123,7 +24131,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -26925,7 +26934,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "content slot's params."
} }
], ],
@ -27468,7 +27477,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -28432,7 +28442,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -28885,7 +28896,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -28897,7 +28909,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30000,7 +30013,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "content slot's params."
} }
], ],
@ -30026,7 +30039,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30051,7 +30065,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30063,7 +30078,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30076,7 +30092,7 @@
"name": "scope", "name": "scope",
"optional": false, "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 }", "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -30101,7 +30117,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -32427,7 +32444,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -32941,7 +32959,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -34274,7 +34293,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -34286,7 +34306,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -36340,7 +36361,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -38663,7 +38685,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "item slot's params."
} }
], ],
@ -38676,7 +38698,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "button slot's params."
} }
], ],
@ -39081,7 +39103,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -39093,7 +39116,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -42077,7 +42101,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -43288,7 +43313,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44410,7 +44436,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44422,7 +44449,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44434,7 +44462,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44446,7 +44475,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -44995,7 +45025,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -46277,7 +46308,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -46802,7 +46834,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -46814,7 +46847,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -46826,7 +46860,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",
@ -47743,7 +47778,7 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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." "description": "content slot's params."
} }
], ],
@ -47782,7 +47817,8 @@
{ {
"name": "scope", "name": "scope",
"optional": false, "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>[]", "returnType": "VNode<RendererNode, RendererElement, Object>[]",