diff --git a/components/lib/accordion/Accordion.d.ts b/components/lib/accordion/Accordion.d.ts
index 33ce023da..47f47dc20 100755
--- a/components/lib/accordion/Accordion.d.ts
+++ b/components/lib/accordion/Accordion.d.ts
@@ -8,7 +8,6 @@
*
*/
import { VNode } from 'vue';
-import { AccordionTabPassThroughOptionType } from '../accordiontab';
import { ComponentHooks } from '../basecomponent';
import { PassThroughOptions } from '../passthrough';
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
@@ -83,16 +82,6 @@ export interface AccordionPassThroughOptions {
* Used to pass attributes to the root's DOM element.
*/
root?: AccordionPassThroughOptionType;
- /**
- * Used to pass attributes to AccordionTab helper components.
- * @deprecated since v3.30.1. Use 'accordiontab' property instead.
- */
- tab?: AccordionTabPassThroughOptionType;
- /**
- * Used to pass attributes to AccordionTab helper components.
- * @deprecated since v4. Use new structure instead.
- */
- accordiontab?: AccordionTabPassThroughOptionType;
/**
* Used to manage all lifecycle hooks.
* @see {@link BaseComponent.ComponentHooks}
diff --git a/components/lib/accordion/Accordion.vue b/components/lib/accordion/Accordion.vue
index 9b66452fb..c1821be68 100755
--- a/components/lib/accordion/Accordion.vue
+++ b/components/lib/accordion/Accordion.vue
@@ -132,7 +132,7 @@ export default {
}
};
- return mergeProps(this.ptm(`tab.${key}`, { tab: tabMetaData }), this.ptm(`accordiontab.${key}`, { accordiontab: tabMetaData }), this.ptm(`accordiontab.${key}`, tabMetaData), this.ptmo(this.getTabProp(tab, 'pt'), key, tabMetaData));
+ return mergeProps(this.ptm(`accordiontab.${key}`, tabMetaData), this.ptmo(this.getTabProp(tab, 'pt'), key, tabMetaData));
},
onTabClick(event, index) {
this.$emit('tab-click', { originalEvent: event, index });
diff --git a/components/lib/autocomplete/AutoComplete.d.ts b/components/lib/autocomplete/AutoComplete.d.ts
index aa223629d..1d546c7e7 100755
--- a/components/lib/autocomplete/AutoComplete.d.ts
+++ b/components/lib/autocomplete/AutoComplete.d.ts
@@ -305,11 +305,6 @@ export interface AutoCompleteProps {
* An array of suggestions to display.
*/
suggestions?: any[];
- /**
- * @deprecated since v3.16.0. Use 'optionLabel' property instead.
- * Property name or getter function of a suggested object to resolve and display.
- */
- field?: string | ((data: any) => string) | undefined;
/**
* Property name or getter function to use as the label of an option.
*/
@@ -346,12 +341,6 @@ export interface AutoCompleteProps {
* @defaultValue blank
*/
dropdownMode?: 'blank' | 'current' | undefined;
- /**
- * @deprecated since v3.16.0
- * Highlights automatically the first item of the dropdown to be selected.
- * @defaultValue false
- */
- autoHighlight?: boolean | undefined;
/**
* Specifies if multiple values can be selected.
* @defaultValue false
@@ -586,21 +575,6 @@ export interface AutoCompleteSlots {
*/
suggestions: any[];
}): VNode[];
- /**
- * @deprecated since v3.16.0
- * Custom content for each item.
- * @param {Object} scope - item slot's params.
- */
- item(scope: {
- /**
- * Option instance
- */
- item: any;
- /**
- * Index of the option
- */
- index: number;
- }): VNode[];
/**
* Custom option template.
* @param {Object} scope - option slot's params.
@@ -620,11 +594,6 @@ export interface AutoCompleteSlots {
* @param {Object} scope - option group slot's params.
*/
optiongroup(scope: {
- /**
- * @deprecated since v3.16.0. Use the 'option' instead.
- * Option instance
- */
- item: any;
/**
* Option instance
*/
@@ -696,12 +665,6 @@ export interface AutoCompleteSlots {
* Index of the token.
*/
index: number;
- /**
- * Remove token icon function.
- * @param {Event} event - Browser event
- * @deprecated since v3.39.0. Use 'removeCallback' property instead.
- */
- onClick: (event: Event, index: number) => void;
/**
* Remove token icon function.
* @param {Event} event - Browser event
@@ -721,12 +684,6 @@ export interface AutoCompleteSlots {
* Index of the token.
*/
index: number;
- /**
- * Remove token icon function.
- * @param {Event} event - Browser event
- * @deprecated since v3.39.0. Use 'removeCallback' property instead.
- */
- onClick: (event: Event, index: number) => void;
/**
* Remove token icon function.
* @param {Event} event - Browser event
diff --git a/components/lib/autocomplete/AutoComplete.vue b/components/lib/autocomplete/AutoComplete.vue
index 3bf9b37a1..0658dee97 100755
--- a/components/lib/autocomplete/AutoComplete.vue
+++ b/components/lib/autocomplete/AutoComplete.vue
@@ -136,7 +136,7 @@
-
- {{ getOptionGroupLabel(option.optionGroup) }}
+ {{ getOptionGroupLabel(option.optionGroup) }}
-
{{ getOptionLabel(option) }}
- {{ getOptionLabel(option) }}
-
-
@@ -258,7 +256,7 @@ export default {
return this.virtualScrollerDisabled ? index : fn && fn(index)['index'];
},
getOptionLabel(option) {
- return this.field || this.optionLabel ? ObjectUtils.resolveFieldData(option, this.field || this.optionLabel) : option;
+ return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
},
getOptionValue(option) {
return option; // TODO: The 'optionValue' properties can be added.
@@ -863,7 +861,7 @@ export default {
this.focusedOptionIndex = index;
this.scrollInView();
- if (this.selectOnFocus || this.autoHighlight) {
+ if (this.selectOnFocus) {
this.onOptionSelect(event, this.visibleOptions[index], false);
}
}
@@ -881,7 +879,7 @@ export default {
});
},
autoUpdateModel() {
- if ((this.selectOnFocus || this.autoHighlight) && this.autoOptionFocus && !this.hasSelectedOption) {
+ if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption) {
this.focusedOptionIndex = this.findFirstFocusedOptionIndex();
this.onOptionSelect(null, this.visibleOptions[this.focusedOptionIndex], false);
}
diff --git a/components/lib/autocomplete/BaseAutoComplete.vue b/components/lib/autocomplete/BaseAutoComplete.vue
index c5c9c128e..289c5da5a 100644
--- a/components/lib/autocomplete/BaseAutoComplete.vue
+++ b/components/lib/autocomplete/BaseAutoComplete.vue
@@ -11,11 +11,6 @@ export default {
type: Array,
default: null
},
- field: {
- // TODO: Deprecated since v3.16.0
- type: [String, Function],
- default: null
- },
optionLabel: null,
optionDisabled: null,
optionGroupLabel: null,
@@ -32,11 +27,6 @@ export default {
type: String,
default: 'blank'
},
- autoHighlight: {
- // TODO: Deprecated since v3.16.0. Use selectOnFocus property instead.
- type: Boolean,
- default: false
- },
multiple: {
type: Boolean,
default: false
diff --git a/components/lib/breadcrumb/Breadcrumb.d.ts b/components/lib/breadcrumb/Breadcrumb.d.ts
index c7fce244c..a84c25620 100755
--- a/components/lib/breadcrumb/Breadcrumb.d.ts
+++ b/components/lib/breadcrumb/Breadcrumb.d.ts
@@ -140,12 +140,6 @@ export interface BreadcrumbProps {
* Configuration for the home icon.
*/
home?: MenuItem | undefined;
- /**
- * Whether to apply 'router-link-active-exact' class if route exactly matches the item path.
- * @deprecated since v3.40.0.
- * @defaultValue true
- */
- exact?: boolean | undefined;
/**
* Defines a string value that labels an interactive element.
*/
diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts
index 14a8c8463..f94017cdb 100755
--- a/components/lib/calendar/Calendar.d.ts
+++ b/components/lib/calendar/Calendar.d.ts
@@ -103,7 +103,7 @@ export interface CalendarEmitsOptions {}
export declare type CalendarEmits = EmitFn & DatePicker.DatePickerEmits;
/**
- * @deprecated Deprecated since v4. Use DatePicker component instead.
+ * @deprecated since v4. Use DatePicker component instead.
*
* **PrimeVue - Calendar**
*
diff --git a/components/lib/cascadeselect/CascadeSelect.d.ts b/components/lib/cascadeselect/CascadeSelect.d.ts
index 2b92676b0..66a022f43 100644
--- a/components/lib/cascadeselect/CascadeSelect.d.ts
+++ b/components/lib/cascadeselect/CascadeSelect.d.ts
@@ -479,11 +479,6 @@ export interface CascadeSelectSlots {
*/
placeholder: string;
}): VNode[];
- /**
- * Custom indicator template.
- * @deprecated since v3.27.0. Use 'dropdownicon or loadingicon' slots.
- */
- indicator(): VNode[];
/**
* Custom dropdown icon template.
*/
diff --git a/components/lib/chip/Chip.d.ts b/components/lib/chip/Chip.d.ts
index 54e7728bb..66600d36d 100644
--- a/components/lib/chip/Chip.d.ts
+++ b/components/lib/chip/Chip.d.ts
@@ -159,18 +159,6 @@ export interface ChipSlots {
* @param {Object} scope - remove icon slot's params.
*/
removeicon(scope: {
- /**
- * Remove icon click event
- * @param {Event} event - Browser event
- * @deprecated since v3.39.0. Use 'removeCallback' property instead.
- */
- onClick: (event: Event) => void;
- /**
- * Remove icon keydown event
- * @param {Event} event - Browser event
- * @deprecated since v3.39.0. Use 'keydownCallback' property instead.
- */
- onKeydown: (event: Event) => void;
/**
* Remove icon click event
* @param {Event} event - Browser event
diff --git a/components/lib/chip/Chip.vue b/components/lib/chip/Chip.vue
index 39af757be..fceaa4951 100644
--- a/components/lib/chip/Chip.vue
+++ b/components/lib/chip/Chip.vue
@@ -6,7 +6,7 @@
{{ label }}
-
+
diff --git a/components/lib/chips/Chips.d.ts b/components/lib/chips/Chips.d.ts
index 5c94da13d..ead6d486e 100755
--- a/components/lib/chips/Chips.d.ts
+++ b/components/lib/chips/Chips.d.ts
@@ -66,7 +66,7 @@ export interface ChipsEmitsOptions {}
export declare type ChipsEmits = EmitFn & InputChips.InputChipsEmits;
/**
- * @deprecated Deprecated since v4. Use InputChips component instead.
+ * @deprecated since v4. Use InputChips component instead.
*
* **PrimeVue - Chips**
*
diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts
index 64f9422b6..8dbbd5377 100644
--- a/components/lib/confirmdialog/ConfirmDialog.d.ts
+++ b/components/lib/confirmdialog/ConfirmDialog.d.ts
@@ -246,21 +246,6 @@ export interface ConfirmDialogSlots {
* Message of the component
*/
message: any;
- /**
- * Close dialog function.
- * @deprecated since v3.39.0. Use 'closeCallback' property instead.
- */
- onClose: () => void;
- /**
- * Accept function of the component
- * @deprecated since v3.39.0. Use 'acceptCallback' property instead.
- */
- onAccept: () => void;
- /**
- * Reject function of the component
- * @deprecated since v3.39.0. Use 'rejectCallback' property instead.
- */
- onReject: () => void;
/**
* Close dialog function.
*/
diff --git a/components/lib/confirmdialog/ConfirmDialog.vue b/components/lib/confirmdialog/ConfirmDialog.vue
index 8b7eb8009..6e55258b6 100644
--- a/components/lib/confirmdialog/ConfirmDialog.vue
+++ b/components/lib/confirmdialog/ConfirmDialog.vue
@@ -15,7 +15,7 @@
:unstyled="unstyled"
>
-
+
diff --git a/components/lib/confirmpopup/ConfirmPopup.d.ts b/components/lib/confirmpopup/ConfirmPopup.d.ts
index f8776de8b..94bbd740a 100644
--- a/components/lib/confirmpopup/ConfirmPopup.d.ts
+++ b/components/lib/confirmpopup/ConfirmPopup.d.ts
@@ -200,16 +200,6 @@ export interface ConfirmPopupSlots {
* Message of the component
*/
message: any;
- /**
- * Accept function of the component
- * @deprecated since v3.39.0. Use 'acceptCallback' property instead.
- */
- onAccept: () => void;
- /**
- * Reject function of the component
- * @deprecated since v3.39.0. Use 'rejectCallback' property instead.
- */
- onReject: () => void;
/**
* Accept function of the component
*/
diff --git a/components/lib/confirmpopup/ConfirmPopup.vue b/components/lib/confirmpopup/ConfirmPopup.vue
index f48816400..39bc71002 100644
--- a/components/lib/confirmpopup/ConfirmPopup.vue
+++ b/components/lib/confirmpopup/ConfirmPopup.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/components/lib/contextmenu/ContextMenu.d.ts b/components/lib/contextmenu/ContextMenu.d.ts
index c62967e4a..471275caf 100755
--- a/components/lib/contextmenu/ContextMenu.d.ts
+++ b/components/lib/contextmenu/ContextMenu.d.ts
@@ -247,12 +247,6 @@ export interface ContextMenuProps {
* @defaultValue false
*/
global?: boolean | undefined;
- /**
- * Whether to apply 'router-link-active-exact' class if route exactly matches the item path.
- * @deprecated since v3.40.0.
- * @defaultValue true
- */
- exact?: boolean | undefined;
/**
* Index of the element in tabbing order.
*/
diff --git a/components/lib/datepicker/BaseDatePicker.vue b/components/lib/datepicker/BaseDatePicker.vue
index 7229a4fe9..debb7beb7 100644
--- a/components/lib/datepicker/BaseDatePicker.vue
+++ b/components/lib/datepicker/BaseDatePicker.vue
@@ -68,18 +68,6 @@ export default {
type: String,
default: 'date'
},
- monthNavigator: {
- type: Boolean,
- default: false
- },
- yearNavigator: {
- type: Boolean,
- default: false
- },
- yearRange: {
- type: String,
- default: null
- },
minDate: {
type: Date,
value: null
diff --git a/components/lib/datepicker/DatePicker.d.ts b/components/lib/datepicker/DatePicker.d.ts
index 38e363fcb..571eb165e 100755
--- a/components/lib/datepicker/DatePicker.d.ts
+++ b/components/lib/datepicker/DatePicker.d.ts
@@ -607,27 +607,6 @@ export interface DatePickerProps {
* @defaultValue date
*/
view?: 'date' | 'month' | 'year' | undefined;
- /**
- * Whether the month should be rendered as a dropdown instead of text.
- *
- * @deprecated since version 3.9.0, Navigator is always on.
- * @defaultValue false
- */
- monthNavigator?: boolean | undefined;
- /**
- * Whether the year should be rendered as a dropdown instead of text.
- *
- * @deprecated since version 3.9.0, Navigator is always on.
- * @defaultValue false
- */
- yearNavigator?: boolean | undefined;
- /**
- * The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020).
- *
- * @deprecated since version 3.9.0, Years are based on decades by default.
- * @defaultValue false
- */
- yearRange?: string | undefined;
/**
* The minimum selectable date.
*/
diff --git a/components/lib/datepicker/DatePicker.vue b/components/lib/datepicker/DatePicker.vue
index 67bfdf1a7..4c802847d 100755
--- a/components/lib/datepicker/DatePicker.vue
+++ b/components/lib/datepicker/DatePicker.vue
@@ -2850,29 +2850,6 @@ export default {
datePattern() {
return this.dateFormat || this.$primevue.config.locale.dateFormat;
},
- yearOptions() {
- if (this.yearRange) {
- let $vm = this;
- const years = this.yearRange.split(':');
- let yearStart = parseInt(years[0]);
- let yearEnd = parseInt(years[1]);
- let yearOptions = [];
-
- if (this.currentYear < yearStart) {
- $vm.currentYear = yearEnd;
- } else if (this.currentYear > yearEnd) {
- $vm.currentYear = yearStart;
- }
-
- for (let i = yearStart; i <= yearEnd; i++) {
- yearOptions.push(i);
- }
-
- return yearOptions;
- } else {
- return null;
- }
- },
monthPickerValues() {
let monthPickerValues = [];
diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts
index 69733c822..76102c0d9 100755
--- a/components/lib/dialog/Dialog.d.ts
+++ b/components/lib/dialog/Dialog.d.ts
@@ -361,17 +361,6 @@ export interface DialogSlots {
* @param {Object} scope - container slot's params.
*/
container(scope: {
- /**
- * Close dialog function.
- * @deprecated since v3.39.0. Use 'closeCallback' property instead.
- */
- onClose: () => void;
- /**
- * Maximize/minimize dialog function.
- * @param {Event} event - Browser event
- * @deprecated since v3.39.0. Use 'maximizeCallback' property instead.
- */
- onMaximize: (event: Event) => void;
/**
* Close dialog function.
*/
diff --git a/components/lib/dialog/Dialog.vue b/components/lib/dialog/Dialog.vue
index 5bc773a4e..1d96eb02b 100755
--- a/components/lib/dialog/Dialog.vue
+++ b/components/lib/dialog/Dialog.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/components/lib/dock/Dock.d.ts b/components/lib/dock/Dock.d.ts
index 4bd0aadba..306cb6c57 100644
--- a/components/lib/dock/Dock.d.ts
+++ b/components/lib/dock/Dock.d.ts
@@ -199,12 +199,6 @@ export interface DockProps {
* @defaultValue 960px
*/
breakpoint?: string | undefined;
- /**
- * Whether to apply 'router-link-active-exact' class if route exactly matches the item path.
- * @deprecated since v3.40.0.
- * @defaultValue true
- */
- exact?: boolean | undefined;
/**
* Whether to display the tooltip on items. The modifiers of Tooltip can be used like an object in it. Valid keys are 'event' and 'position'.
* @type {DockTooltipOptions}
diff --git a/components/lib/drawer/Drawer.d.ts b/components/lib/drawer/Drawer.d.ts
index af8dd03c7..292830391 100755
--- a/components/lib/drawer/Drawer.d.ts
+++ b/components/lib/drawer/Drawer.d.ts
@@ -232,11 +232,6 @@ export interface DrawerSlots {
* @param {Object} scope - container slot's params.
*/
container(scope: {
- /**
- * Close drawer function.
- * @deprecated since v3.39.0. Use 'closeCallback' property instead.
- */
- onClose: () => void;
/**
* Close drawer function.
*/
diff --git a/components/lib/drawer/Drawer.vue b/components/lib/drawer/Drawer.vue
index b69053033..4b81147b5 100755
--- a/components/lib/drawer/Drawer.vue
+++ b/components/lib/drawer/Drawer.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts
index 9e51bc696..dfe4a5ad9 100755
--- a/components/lib/dropdown/Dropdown.d.ts
+++ b/components/lib/dropdown/Dropdown.d.ts
@@ -84,7 +84,7 @@ export interface DropdownMethods {
}
/**
- * @deprecated Deprecated since v4. Use Select component instead.
+ * @deprecated since v4. Use Select component instead.
*
* **PrimeVue - Dropdown**
*
diff --git a/components/lib/image/Image.d.ts b/components/lib/image/Image.d.ts
index c751cf45a..245aab93b 100644
--- a/components/lib/image/Image.d.ts
+++ b/components/lib/image/Image.d.ts
@@ -270,11 +270,6 @@ export interface ImageSlots {
* Style of the image element.
*/
style: any;
- /**
- * Image error function.
- * @deprecated since v3.39.0. Use 'errorCallback' property instead.
- */
- onError: () => void;
/**
* Preview click function.
*/
@@ -294,11 +289,6 @@ export interface ImageSlots {
* Style of the preview image element.
*/
style: any;
- /**
- * Preview click function.
- * @deprecated since v3.39.0. Use 'previewCallback' property instead.
- */
- onClick: () => void;
/**
* Preview click function.
*/
@@ -317,11 +307,6 @@ export interface ImageSlots {
* Style of the original image element.
*/
style: any;
- /**
- * Original click function.
- * @deprecated since v3.39.0. Use 'previewCallback' property instead.
- */
- onClick: () => void;
/**
* Preview click function.
*/
diff --git a/components/lib/image/Image.vue b/components/lib/image/Image.vue
index b84c7d3d3..522c993fe 100644
--- a/components/lib/image/Image.vue
+++ b/components/lib/image/Image.vue
@@ -1,6 +1,6 @@
-
+