+
diff --git a/components/lib/accordiontab/AccordionTab.d.ts b/components/lib/accordiontab/AccordionTab.d.ts
index 83174bcc1..8ec6c06df 100755
--- a/components/lib/accordiontab/AccordionTab.d.ts
+++ b/components/lib/accordiontab/AccordionTab.d.ts
@@ -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[];
}
diff --git a/components/lib/autocomplete/AutoComplete.d.ts b/components/lib/autocomplete/AutoComplete.d.ts
index 7c6a27c91..b710b3d39 100755
--- a/components/lib/autocomplete/AutoComplete.d.ts
+++ b/components/lib/autocomplete/AutoComplete.d.ts
@@ -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.
diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue
index 4d2fabc99..65b014abd 100755
--- a/components/lib/calendar/Calendar.vue
+++ b/components/lib/calendar/Calendar.vue
@@ -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];
diff --git a/components/lib/carousel/Carousel.vue b/components/lib/carousel/Carousel.vue
index b326d5d6b..7393856cd 100755
--- a/components/lib/carousel/Carousel.vue
+++ b/components/lib/carousel/Carousel.vue
@@ -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;
diff --git a/components/lib/chip/Chip.d.ts b/components/lib/chip/Chip.d.ts
index 521cc6b41..582bd6988 100644
--- a/components/lib/chip/Chip.d.ts
+++ b/components/lib/chip/Chip.d.ts
@@ -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[];
}
diff --git a/components/lib/chips/Chips.d.ts b/components/lib/chips/Chips.d.ts
index bffd3a7d6..74e47f1c2 100755
--- a/components/lib/chips/Chips.d.ts
+++ b/components/lib/chips/Chips.d.ts
@@ -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[];
}
/**
diff --git a/components/lib/colorpicker/ColorPicker.vue b/components/lib/colorpicker/ColorPicker.vue
index d9ab5795d..5fffba530 100755
--- a/components/lib/colorpicker/ColorPicker.vue
+++ b/components/lib/colorpicker/ColorPicker.vue
@@ -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');
diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts
index 481aa99d6..2a741b8d2 100755
--- a/components/lib/column/Column.d.ts
+++ b/components/lib/column/Column.d.ts
@@ -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.
diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts
index 747c551a8..523e5c72b 100644
--- a/components/lib/confirmdialog/ConfirmDialog.d.ts
+++ b/components/lib/confirmdialog/ConfirmDialog.d.ts
@@ -176,6 +176,7 @@ export interface ConfirmDialogSlots {
}): VNode[];
/**
* Custom icon template.
+ * @param {Object} scope - icon slot's params.
*/
icon(scope: {
/**
diff --git a/components/lib/confirmpopup/ConfirmPopup.d.ts b/components/lib/confirmpopup/ConfirmPopup.d.ts
index d96fba9e8..0ba1c2121 100644
--- a/components/lib/confirmpopup/ConfirmPopup.d.ts
+++ b/components/lib/confirmpopup/ConfirmPopup.d.ts
@@ -130,6 +130,7 @@ export interface ConfirmPopupSlots {
}): VNode[];
/**
* Custom icon template.
+ * @param {Object} scope - icon slot's params.
*/
icon(scope: {
/**
diff --git a/components/lib/contextmenu/ContextMenu.d.ts b/components/lib/contextmenu/ContextMenu.d.ts
index 5171b9f17..fed03e31f 100755
--- a/components/lib/contextmenu/ContextMenu.d.ts
+++ b/components/lib/contextmenu/ContextMenu.d.ts
@@ -254,6 +254,7 @@ export interface ContextMenuSlots {
}): VNode[];
/**
* Custom submenu icon template.
+ * @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**
diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts
index af214296e..20d54ecde 100755
--- a/components/lib/datatable/DataTable.d.ts
+++ b/components/lib/datatable/DataTable.d.ts
@@ -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[];
/**
diff --git a/components/lib/datatable/DataTable.vue b/components/lib/datatable/DataTable.vue
index c8641bfc1..f10e0c5f6 100755
--- a/components/lib/datatable/DataTable.vue
+++ b/components/lib/datatable/DataTable.vue
@@ -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;
diff --git a/components/lib/dataview/DataView.vue b/components/lib/dataview/DataView.vue
index 5061cf48a..b6988883b 100755
--- a/components/lib/dataview/DataView.vue
+++ b/components/lib/dataview/DataView.vue
@@ -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;
diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts
index 70d58a122..8618d9096 100755
--- a/components/lib/dropdown/Dropdown.d.ts
+++ b/components/lib/dropdown/Dropdown.d.ts
@@ -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.
diff --git a/components/lib/fileupload/FileUpload.d.ts b/components/lib/fileupload/FileUpload.d.ts
index 3106dfaa0..b8040d75a 100755
--- a/components/lib/fileupload/FileUpload.d.ts
+++ b/components/lib/fileupload/FileUpload.d.ts
@@ -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: {
/**
diff --git a/components/lib/galleria/GalleriaThumbnails.vue b/components/lib/galleria/GalleriaThumbnails.vue
index 9b30c537f..e58009501 100755
--- a/components/lib/galleria/GalleriaThumbnails.vue
+++ b/components/lib/galleria/GalleriaThumbnails.vue
@@ -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;
diff --git a/components/lib/image/Image.d.ts b/components/lib/image/Image.d.ts
index af8c29ffc..06014aa54 100644
--- a/components/lib/image/Image.d.ts
+++ b/components/lib/image/Image.d.ts
@@ -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[];
}
diff --git a/components/lib/listbox/Listbox.d.ts b/components/lib/listbox/Listbox.d.ts
index 017167f01..ad4ee2a60 100755
--- a/components/lib/listbox/Listbox.d.ts
+++ b/components/lib/listbox/Listbox.d.ts
@@ -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.
diff --git a/components/lib/megamenu/MegaMenu.d.ts b/components/lib/megamenu/MegaMenu.d.ts
index 27956a03e..d491638ab 100755
--- a/components/lib/megamenu/MegaMenu.d.ts
+++ b/components/lib/megamenu/MegaMenu.d.ts
@@ -245,6 +245,7 @@ export interface MegaMenuSlots {
}): VNode[];
/**
* Custom submenu icon template.
+ * @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**
diff --git a/components/lib/menubar/Menubar.d.ts b/components/lib/menubar/Menubar.d.ts
index 8e15cb1dc..26cf9d710 100755
--- a/components/lib/menubar/Menubar.d.ts
+++ b/components/lib/menubar/Menubar.d.ts
@@ -240,6 +240,7 @@ export interface MenubarSlots {
popupicon(): VNode[];
/**
* Custom submenu icon template.
+ * @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**
diff --git a/components/lib/message/Message.d.ts b/components/lib/message/Message.d.ts
index e81c81c93..7ceac9f6b 100755
--- a/components/lib/message/Message.d.ts
+++ b/components/lib/message/Message.d.ts
@@ -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: {
/**
diff --git a/components/lib/multiselect/MultiSelect.d.ts b/components/lib/multiselect/MultiSelect.d.ts
index a75975832..53a341e8d 100755
--- a/components/lib/multiselect/MultiSelect.d.ts
+++ b/components/lib/multiselect/MultiSelect.d.ts
@@ -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: {
/**
diff --git a/components/lib/panel/Panel.d.ts b/components/lib/panel/Panel.d.ts
index 8cd1dac0b..d19e902fa 100755
--- a/components/lib/panel/Panel.d.ts
+++ b/components/lib/panel/Panel.d.ts
@@ -154,6 +154,7 @@ export interface PanelSlots {
default(): VNode[];
/**
* Custom header template.
+ * @param {Object} scope - header slot's params.
*/
header(scope: {
/**
diff --git a/components/lib/panelmenu/PanelMenu.d.ts b/components/lib/panelmenu/PanelMenu.d.ts
index 2504688fb..2f3c667c9 100755
--- a/components/lib/panelmenu/PanelMenu.d.ts
+++ b/components/lib/panelmenu/PanelMenu.d.ts
@@ -241,6 +241,7 @@ export interface PanelMenuSlots {
}): VNode[];
/**
* Custom submenu icon template.
+ * @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**
diff --git a/components/lib/password/Password.d.ts b/components/lib/password/Password.d.ts
index 61f83b109..b762aa971 100755
--- a/components/lib/password/Password.d.ts
+++ b/components/lib/password/Password.d.ts
@@ -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[];
}
diff --git a/components/lib/rating/Rating.d.ts b/components/lib/rating/Rating.d.ts
index ecb3dedd7..431efc17f 100755
--- a/components/lib/rating/Rating.d.ts
+++ b/components/lib/rating/Rating.d.ts
@@ -192,6 +192,7 @@ export interface RatingProps {
export interface RatingSlots {
/**
* Custom cancel icon template.
+ * @param {Object} scope - cancelicon slot's params.
*/
cancelicon(scope: {
/**
diff --git a/components/lib/speeddial/SpeedDial.d.ts b/components/lib/speeddial/SpeedDial.d.ts
index 5492a94d6..3fb70b99f 100644
--- a/components/lib/speeddial/SpeedDial.d.ts
+++ b/components/lib/speeddial/SpeedDial.d.ts
@@ -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.
diff --git a/components/lib/splitbutton/SplitButton.d.ts b/components/lib/splitbutton/SplitButton.d.ts
index 1f53437a7..30af7dde5 100755
--- a/components/lib/splitbutton/SplitButton.d.ts
+++ b/components/lib/splitbutton/SplitButton.d.ts
@@ -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: {
/**
diff --git a/components/lib/tieredmenu/TieredMenu.d.ts b/components/lib/tieredmenu/TieredMenu.d.ts
index 6d03551a7..a4506c8b4 100755
--- a/components/lib/tieredmenu/TieredMenu.d.ts
+++ b/components/lib/tieredmenu/TieredMenu.d.ts
@@ -239,6 +239,7 @@ export interface TieredMenuSlots {
}): VNode[];
/**
* Custom submenu icon template.
+ * @param {Object} scope - submenuicon slot's params.
*/
submenuicon(scope: {
/**
diff --git a/components/lib/togglebutton/ToggleButton.d.ts b/components/lib/togglebutton/ToggleButton.d.ts
index 325035212..c7b7517b4 100755
--- a/components/lib/togglebutton/ToggleButton.d.ts
+++ b/components/lib/togglebutton/ToggleButton.d.ts
@@ -178,6 +178,7 @@ export interface ToggleButtonProps {
export interface ToggleButtonSlots {
/**
* Custom icon template.
+ * @param {Object} scope - icon slot's params.
*/
icon(scope: {
/**
diff --git a/components/lib/tree/Tree.d.ts b/components/lib/tree/Tree.d.ts
index 1d05f8864..89b2cb319 100755
--- a/components/lib/tree/Tree.d.ts
+++ b/components/lib/tree/Tree.d.ts
@@ -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: {
/**
diff --git a/components/lib/treeselect/TreeSelect.d.ts b/components/lib/treeselect/TreeSelect.d.ts
index 950103521..f1dcfd090 100644
--- a/components/lib/treeselect/TreeSelect.d.ts
+++ b/components/lib/treeselect/TreeSelect.d.ts
@@ -273,6 +273,7 @@ export interface TreeSelectSlots {
indicator(): VNode[];
/**
* Custom indicator template.
+ * @param {Object} scope - triggericon slot's params.
*/
triggericon(scope: {
/**
diff --git a/components/lib/treetable/TreeTable.d.ts b/components/lib/treetable/TreeTable.d.ts
index c77248637..05d462605 100755
--- a/components/lib/treetable/TreeTable.d.ts
+++ b/components/lib/treetable/TreeTable.d.ts
@@ -605,6 +605,7 @@ export interface TreeTableSlots {
checkboxicon(): VNode[];
/**
* Custom sort icon template.
+ * @param {Object} scope - sorticon slot's params.
*/
sorticon(scope: {
/**
diff --git a/components/lib/treetable/TreeTable.vue b/components/lib/treetable/TreeTable.vue
index 81d199578..e6c79001c 100755
--- a/components/lib/treetable/TreeTable.vue
+++ b/components/lib/treetable/TreeTable.vue
@@ -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;
}
}
diff --git a/components/lib/tristatecheckbox/TriStateCheckbox.d.ts b/components/lib/tristatecheckbox/TriStateCheckbox.d.ts
index 3d571e41e..348996d65 100755
--- a/components/lib/tristatecheckbox/TriStateCheckbox.d.ts
+++ b/components/lib/tristatecheckbox/TriStateCheckbox.d.ts
@@ -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: {
/**
diff --git a/components/lib/virtualscroller/VirtualScroller.d.ts b/components/lib/virtualscroller/VirtualScroller.d.ts
index d1ede7b1a..f1edcf7a5 100644
--- a/components/lib/virtualscroller/VirtualScroller.d.ts
+++ b/components/lib/virtualscroller/VirtualScroller.d.ts
@@ -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: {
/**
diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json
index dc0816729..464d4acb2 100644
--- a/doc/common/apidoc/index.json
+++ b/doc/common/apidoc/index.json
@@ -650,7 +650,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t index: number, // Index of the tab\n \t isTabActive(i: number): void, // Whether the tab is active\n }",
+ "type": "{\n \t index: number, // Index of the tab\n \t isTabActive: (index: number) ⇒ void, // Whether the tab is active\n }",
"description": "header slot's params."
}
],
@@ -3562,7 +3562,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the component\n \t contentRef(el: any): void, // Referance of the content\n \t getItemOptions(index: number): VirtualScrollerItemOptions, // Options of the items\n }",
+ "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the component\n \t contentRef: (el: any) ⇒ void, // Referance of the content\n\t getItemOptions: (index: number) ⇒ VirtualScrollerItemOptions, // Options of the items\n }",
"description": "content slot's params."
}
],
@@ -3606,7 +3606,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n \t index: number, // Index of the token.\n \t onClick(event: Event, index: number): void, // Remove token icon function.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n \t index: number, // Index of the token.\n \t onClick: (event: Event, index: number) ⇒ void, // Remove token icon function.\n }"
}
],
"returnType": "VNode[]",
@@ -9482,7 +9482,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t onClick(event: Event): void, // Remove icon click event\n \t onKeydown(event: Event): void, // Remove icon keydown event\n }",
+ "type": "{\n \t onClick: (event: Event) ⇒ void, // Remove icon click event\n\t onKeydown: (event: Event) ⇒ void, // Remove icon keydown event\n }",
"description": "remove icon slot's params."
}
],
@@ -9899,7 +9899,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n \t index: number, // Index of the token.\n \t onClick(event: Event, index: number): void, // Remove token icon function.\n }",
+ "type": "{\n \t class: string, // Style class of the icon.\n \t index: number, // Index of the token.\n \t onClick: (event: Event, index: number) ⇒ void, // Remove token icon function.\n }",
"description": "remove token icon slot's params."
}
],
@@ -11559,7 +11559,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t data: any, // Row data.\n \t node: any, // Row node data.\n \t column: Column, // Column node.\n \t field: string, // Column field.\n \t index: number, // Row index.\n \t frozenRow: boolean, // Whether the row is frozen.\n \t editorInitCallback(): void, // Callback function\n }",
+ "type": "{\n \t data: any, // Row data.\n \t node: any, // Row node data.\n \t column: Column, // Column node.\n \t field: string, // Column field.\n \t index: number, // Row index.\n \t frozenRow: boolean, // Whether the row is frozen.\n \t editorInitCallback: (event: Event) ⇒ void, // Callback function\n }",
"description": "body slot's params."
}
],
@@ -11598,7 +11598,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t data: any, // Row data.\n \t column: Column, // Column node.\n \t field: string, // Column field.\n \t index: number, // Row index.\n \t frozenRow: boolean, // Whether the row is frozen.\n \t editorSaveCallback(): void, // Callback function\n \t editorCancelCallback(): void, // Callback function\n }",
+ "type": "{\n \t data: any, // Row data.\n \t column: Column, // Column node.\n \t field: string, // Column field.\n \t index: number, // Row index.\n \t frozenRow: boolean, // Whether the row is frozen.\n \t editorSaveCallback: (event: Event) ⇒ void, // Callback function\n\t editorCancelCallback: (event: Event) ⇒ void, // Callback function\n }",
"description": "editor slot's params."
}
],
@@ -11611,7 +11611,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback(): void, // Callback function\n }",
+ "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback: () ⇒ void, // Callback function\n }",
"description": "filter slot's params."
}
],
@@ -11624,7 +11624,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback(): void, // Callback function\n }",
+ "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback: () ⇒ void, // Callback function\n }",
"description": "filter header slot's params."
}
],
@@ -11637,7 +11637,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback(): void, // Callback function\n }",
+ "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback: () ⇒ void, // Callback function\n }",
"description": "filter footer slot's params."
}
],
@@ -11650,7 +11650,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback(): void, // Callback function\n }",
+ "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback: () ⇒ void, // Callback function\n }",
"description": "filter clear slot's params."
}
],
@@ -11663,7 +11663,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback(): void, // Callback function\n }",
+ "type": "{\n \t field: string, // Column field.\n \t filterModel: ColumnFilterModelType, // Filter metadata\n \t filterCallback: () ⇒ void, // Callback function\n }",
"description": "filter apply slot's params."
}
],
@@ -14020,7 +14020,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: any, // Style class of the icon template\n }"
+ "type": "{\n \t class: any, // Style class of the icon template\n }",
+ "description": "icon slot's params."
}
],
"returnType": "VNode[]",
@@ -14272,7 +14273,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: any, // Style class of the icon template\n }"
+ "type": "{\n \t class: any, // Style class of the icon template\n }",
+ "description": "icon slot's params."
}
],
"returnType": "VNode[]",
@@ -14768,7 +14770,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t active: boolean, // Whether item is active\n }"
+ "type": "{\n \t active: boolean, // Whether item is active\n }",
+ "description": "submenuicon slot's params."
}
],
"returnType": "VNode[]",
@@ -17063,7 +17066,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t data: any, // Row data\n \t index: number, // Row index\n }"
+ "type": "{\n \t data: any, // Row data\n \t index: number, // Row index\n }",
+ "description": "group header slot's params."
}
],
"returnType": "VNode[]",
@@ -20569,7 +20573,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the component\n \t contentRef(el: any): void, // Referance of the content\n \t getItemOptions(index: number): VirtualScrollerItemOptions, // Options of the items\n }",
+ "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the component\n \t contentRef: (el: any) ⇒ void, // Referance of the content\n\t getItemOptions: (index: number) ⇒ VirtualScrollerItemOptions, // Options of the items\n }",
"description": "content slot's params."
}
],
@@ -20595,7 +20599,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: any, // Style class of the clear icon\n \t onClick(event: Event): void, // Clear icon click function.\n }",
+ "type": "{\n \t class: any, // Style class of the clear icon\n \t onClick: (event: Event) ⇒ void, // Clear icon click function.\n }",
"description": "clear icon slot's params."
}
],
@@ -22479,7 +22483,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t files: File, // Files to upload.\n \t uploadedFiles: File, // Uploaded files.\n \t chooseCallback(): void, // Choose function\n \t uploadCallback(): void, // Upload function\n \t clearCallback(): void, // Clear function\n }"
+ "type": "{\n \t files: File, // Files to upload.\n \t uploadedFiles: File, // Uploaded files.\n \t chooseCallback: () ⇒ void, // Choose function\n\t uploadCallback: () ⇒ void, // Upload function\n\t clearCallback: () ⇒ void, // Clear function\n }",
+ "description": "header slot's params."
}
],
"returnType": "VNode[]",
@@ -22491,7 +22496,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t files: File, // Files to upload.\n \t uploadedFiles: File, // Uploaded files.\n \t removeUploadedFileCallback(index: number): void, // Function to remove an uploaded file.\n \t removeFileCallback(index: number): void, // Function to remove a file.\n \t progress: number, // Uploaded progress as number.\n \t messages: undefined, // Status messages about upload process.\n }"
+ "type": "{\n \t files: File, // Files to upload.\n \t uploadedFiles: File, // Uploaded files.\n \t removeUploadedFileCallback: (index: number) ⇒ void, // Function to remove an uploaded file.\n\t removeFileCallback: (index: number) ⇒ void, // Function to remove a file.\n \t progress: number, // Uploaded progress as number.\n \t messages: undefined, // Status messages about upload process.\n }",
+ "description": "content slot's params."
}
],
"returnType": "VNode[]",
@@ -22527,7 +22533,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t file: File, // File to upload.\n \t index: number, // The index of file\n }"
+ "type": "{\n \t file: File, // File to upload.\n \t index: number, // The index of file\n }",
+ "description": "fileremoveicon slot's params."
}
],
"returnType": "VNode[]",
@@ -24111,7 +24118,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: any, // Style class of the image element.\n \t style: any, // Style of the image element.\n \t onError(): void, // Image error function.\n }"
+ "type": "{\n \t class: any, // Style class of the image element.\n \t style: any, // Style of the image element.\n \t onError: () ⇒ void, // Image error function.\n }",
+ "description": "image slot's params."
}
],
"returnType": "VNode[]",
@@ -24123,7 +24131,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: any, // Style class of the preview image element.\n \t style: any, // Style of the preview image element.\n \t onClick(): void, // Preview click function.\n }"
+ "type": "{\n \t class: any, // Style class of the preview image element.\n \t style: any, // Style of the preview image element.\n \t onClick: () ⇒ void, // Preview click function.\n }",
+ "description": "preview slot's params."
}
],
"returnType": "VNode[]",
@@ -26925,7 +26934,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the component\n \t contentRef(el: any): void, // Referance of the content\n \t getItemOptions(index: number): VirtualScrollerItemOptions, // Options of the items\n }",
+ "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the component\n \t contentRef: (el: any) ⇒ void, // Referance of the content\n\t getItemOptions: (index: number) ⇒ VirtualScrollerItemOptions, // Options of the items\n }",
"description": "content slot's params."
}
],
@@ -27468,7 +27477,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t active: boolean, // Whether item is active\n }"
+ "type": "{\n \t active: boolean, // Whether item is active\n }",
+ "description": "submenuicon slot's params."
}
],
"returnType": "VNode[]",
@@ -28432,7 +28442,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t root: boolean, // Whether item is root\n \t active: boolean, // Whether item is active\n }"
+ "type": "{\n \t root: boolean, // Whether item is root\n \t active: boolean, // Whether item is active\n }",
+ "description": "submenuicon slot's params."
}
],
"returnType": "VNode[]",
@@ -28885,7 +28896,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: any, // Style class of the item icon element.\n }"
+ "type": "{\n \t class: any, // Style class of the item icon element.\n }",
+ "description": "messageicon slot's params."
}
],
"returnType": "VNode[]",
@@ -28897,7 +28909,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: any, // Style class of the item icon element.\n }"
+ "type": "{\n \t class: any, // Style class of the item icon element.\n }",
+ "description": "closeicon slot's params."
}
],
"returnType": "VNode[]",
@@ -30000,7 +30013,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the component\n \t contentRef(el: any): void, // Referance of the content\n \t getItemOptions(index: number): VirtualScrollerItemOptions, // Options of the items\n }",
+ "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the component\n \t contentRef: (el: any) ⇒ void, // Referance of the content\n\t getItemOptions: (index: number) ⇒ VirtualScrollerItemOptions, // Options of the items\n }",
"description": "content slot's params."
}
],
@@ -30026,7 +30039,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the loading icon.\n \t item: any, // Item of the token.\n \t onClick(event: Event, item: any): void, // Remove token icon function.\n }"
+ "type": "{\n \t class: string, // Style class of the loading icon.\n \t item: any, // Item of the token.\n \t onClick: (event: Event, item: any) ⇒ void, // Remove token icon function.\n }",
+ "description": "removetokenicon slot's params."
}
],
"returnType": "VNode[]",
@@ -30051,7 +30065,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the loading icon.\n }"
+ "type": "{\n \t class: string, // Style class of the loading icon.\n }",
+ "description": "filtericon slot's params."
}
],
"returnType": "VNode[]",
@@ -30063,7 +30078,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the loading icon.\n }"
+ "type": "{\n \t class: string, // Style class of the loading icon.\n }",
+ "description": "closeicon slot's params."
}
],
"returnType": "VNode[]",
@@ -30076,7 +30092,7 @@
"name": "scope",
"optional": false,
"type": "{\n \t selected: boolean, // Options of the loader items for virtualscroller\n \t class: string, // Style class of the loading icon.\n }",
- "description": "header checkbox icon slot's params."
+ "description": "itemcheckboxicon slot's params."
}
],
"returnType": "VNode[]",
@@ -30101,7 +30117,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the loading icon.\n }"
+ "type": "{\n \t class: string, // Style class of the loading icon.\n }",
+ "description": "dropdownicon slot's params."
}
],
"returnType": "VNode[]",
@@ -32427,7 +32444,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t id: string, // Current id state as a string\n \t class: string, // Style class of the icon\n }"
+ "type": "{\n \t id: string, // Current id state as a string\n \t class: string, // Style class of the icon\n }",
+ "description": "header slot's params."
}
],
"returnType": "VNode[]",
@@ -32941,7 +32959,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t active: boolean, // Whether item is active\n }"
+ "type": "{\n \t active: boolean, // Whether item is active\n }",
+ "description": "submenuicon slot's params."
}
],
"returnType": "VNode[]",
@@ -34274,7 +34293,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t onClick(): void, // Hide icon click event\n }"
+ "type": "{\n \t onClick: () ⇒ void, // Hide icon click event\n }",
+ "description": "hideicon slot's params."
}
],
"returnType": "VNode[]",
@@ -34286,7 +34306,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t onClick(): void, // Show icon click event\n }"
+ "type": "{\n \t onClick: () ⇒ void, // Show icon click event\n }",
+ "description": "showicon slot's params."
}
],
"returnType": "VNode[]",
@@ -36340,7 +36361,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "cancelicon slot's params."
}
],
"returnType": "VNode[]",
@@ -38663,7 +38685,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t item: MenuItem, // Menuitem instance\n \t onClick(): void, // Item click function\n }",
+ "type": "{\n \t item: MenuItem, // Menuitem instance\n \t onClick: (event: Event) ⇒ void, // Item click function\n }",
"description": "item slot's params."
}
],
@@ -38676,7 +38698,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t onClick(): void, // Button click function\n }",
+ "type": "{\n \t onClick: (event: Event) ⇒ void, // Button click function\n }",
"description": "button slot's params."
}
],
@@ -39081,7 +39103,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "icon slot's params."
}
],
"returnType": "VNode[]",
@@ -39093,7 +39116,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "menubuttonicon slot's params."
}
],
"returnType": "VNode[]",
@@ -42077,7 +42101,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t active: boolean, // Whether item is active\n }"
+ "type": "{\n \t active: boolean, // Whether item is active\n }",
+ "description": "submenuicon slot's params."
}
],
"returnType": "VNode[]",
@@ -43288,7 +43313,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t value: any, // Current value\n \t class: any, // Icon style class\n }"
+ "type": "{\n \t value: any, // Current value\n \t class: any, // Icon style class\n }",
+ "description": "icon slot's params."
}
],
"returnType": "VNode[]",
@@ -44410,7 +44436,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "loadingicon slot's params."
}
],
"returnType": "VNode[]",
@@ -44422,7 +44449,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "searchicon slot's params."
}
],
"returnType": "VNode[]",
@@ -44434,7 +44462,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t node: TreeNode, // Tree node instance\n \t expanded: boolean, // Expanded state of the node\n }"
+ "type": "{\n \t node: TreeNode, // Tree node instance\n \t expanded: boolean, // Expanded state of the node\n }",
+ "description": "togglericon slot's params."
}
],
"returnType": "VNode[]",
@@ -44446,7 +44475,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t checked: boolean, // Check state of the node\n \t partialChecked: boolean, // Partial check state of the node\n }"
+ "type": "{\n \t checked: boolean, // Check state of the node\n \t partialChecked: boolean, // Partial check state of the node\n }",
+ "description": "checkboxicon slot's params."
}
],
"returnType": "VNode[]",
@@ -44995,7 +45025,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "triggericon slot's params."
}
],
"returnType": "VNode[]",
@@ -46277,7 +46308,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t sorted: TreeNode, // Whether or not column is sorted\n \t sortOrder: boolean, // Current sort order\n }"
+ "type": "{\n \t sorted: TreeNode, // Whether or not column is sorted\n \t sortOrder: boolean, // Current sort order\n }",
+ "description": "sorticon slot's params."
}
],
"returnType": "VNode[]",
@@ -46802,7 +46834,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "checkicon slot's params."
}
],
"returnType": "VNode[]",
@@ -46814,7 +46847,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "uncheckicon slot's params."
}
],
"returnType": "VNode[]",
@@ -46826,7 +46860,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "nullableicon slot's params."
}
],
"returnType": "VNode[]",
@@ -47743,7 +47778,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the content\n \t contentRef(el: any): void, // Referance of the content\n \t getItemOptions(index: number): VirtualScrollerItemOptions, // Options of the items\n \t loading: boolean, // Whether the data is loaded.\n \t getLoaderOptions(index: number, ext: any): VirtualScrollerLoaderOptions, // Loader options of the items while the data is loading.\n \t itemSize: undefined, // The height/width of item according to orientation.\n \t rows: undefined, // The number of the rendered rows.\n \t columns: undefined, // The number of the rendered columns.\n \t spacerStyle: any, // The style of spacer element.\n \t contentStyle: any, // The style of content element.\n \t vertical: boolean, // Whether the orientation is vertical.\n \t horizontal: boolean, // Whether the orientation is horizontal.\n \t both: boolean, // Whether the orientation is both.\n }",
+ "type": "{\n \t items: any, // An array of objects to display for virtualscroller\n \t styleClass: string, // Style class of the content\n \t contentRef: (el: any) ⇒ void, // Referance of the content\n\t getItemOptions: (index: number) ⇒ VirtualScrollerItemOptions, // Options of the items\n \t loading: boolean, // Whether the data is loaded.\n \t getLoaderOptions: (index: number, ext: any) ⇒ VirtualScrollerLoaderOptions, // Loader options of the items while the data is loading.\n \t itemSize: undefined, // The height/width of item according to orientation.\n \t rows: undefined, // The number of the rendered rows.\n \t columns: undefined, // The number of the rendered columns.\n \t spacerStyle: any, // The style of spacer element.\n \t contentStyle: any, // The style of content element.\n \t vertical: boolean, // Whether the orientation is vertical.\n \t horizontal: boolean, // Whether the orientation is horizontal.\n \t both: boolean, // Whether the orientation is both.\n }",
"description": "content slot's params."
}
],
@@ -47782,7 +47817,8 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t class: string, // Style class of the icon.\n }"
+ "type": "{\n \t class: string, // Style class of the icon.\n }",
+ "description": "loadingicon slot's params."
}
],
"returnType": "VNode[]",