-
-
+
+
+
+
+
+
+
+
{{ yearPickerValues[0].value }} - {{ yearPickerValues[yearPickerValues.length - 1].value }}
diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts
index b851eac433b..f2ed27f296f 100755
--- a/components/lib/column/Column.d.ts
+++ b/components/lib/column/Column.d.ts
@@ -892,6 +892,10 @@ export interface ColumnSlots {
* @param {Object} scope - row toggler icon slot's params.
*/
rowtogglericon(scope: {
+ /**
+ * Style class of the row toggler icon.
+ */
+ class: string;
/**
* Current row expanded state.
*/
diff --git a/components/lib/config/PrimeVue.d.ts b/components/lib/config/PrimeVue.d.ts
index 9d53ae5f5a4..59dafff04f0 100644
--- a/components/lib/config/PrimeVue.d.ts
+++ b/components/lib/config/PrimeVue.d.ts
@@ -326,6 +326,7 @@ export interface PrimeVueLocaleOptions {
today?: string;
weekHeader?: string;
firstDayOfWeek?: number;
+ showMonthAfterYear?: boolean;
dateFormat?: string;
weak?: string;
medium?: string;
diff --git a/components/lib/config/PrimeVue.js b/components/lib/config/PrimeVue.js
index 48cba06953c..04c8ba57645 100644
--- a/components/lib/config/PrimeVue.js
+++ b/components/lib/config/PrimeVue.js
@@ -59,6 +59,7 @@ export const defaultOptions = {
today: 'Today',
weekHeader: 'Wk',
firstDayOfWeek: 0,
+ showMonthAfterYear: false,
dateFormat: 'mm/dd/yy',
weak: 'Weak',
medium: 'Medium',
diff --git a/components/lib/datatable/BodyCell.vue b/components/lib/datatable/BodyCell.vue
index ba1a924e803..362da1760e9 100755
--- a/components/lib/datatable/BodyCell.vue
+++ b/components/lib/datatable/BodyCell.vue
@@ -63,7 +63,7 @@
v-bind="getColumnPT('rowToggler')"
data-pc-group-section="rowactionbutton"
>
-
+
diff --git a/components/lib/datatable/ColumnFilter.vue b/components/lib/datatable/ColumnFilter.vue
index bca39893839..9f94d6a648c 100644
--- a/components/lib/datatable/ColumnFilter.vue
+++ b/components/lib/datatable/ColumnFilter.vue
@@ -87,7 +87,7 @@
:pt="getColumnPT('filterMatchModeDropdown')"
data-pc-section="filtermatchmodedropdown"
>
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
+
+
+
@@ -245,17 +251,23 @@
-
-
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
@@ -710,7 +722,6 @@ export default {
},
onRowClick(e) {
const event = e.originalEvent;
- const index = e.index;
const body = this.$refs.bodyRef && this.$refs.bodyRef.$el;
const focusedItem = DomHandler.findSingle(body, 'tr[data-p-selectable-row="true"][tabindex="0"]');
@@ -791,8 +802,10 @@ export default {
this.rowTouched = false;
if (focusedItem) {
+ const targetRow = e.originalEvent.target.closest('tr[data-p-selectable-row="true"]');
+
focusedItem.tabIndex = '-1';
- DomHandler.find(body, 'tr[data-p-selectable-row="true"]')[index].tabIndex = '0';
+ targetRow.tabIndex = '0';
}
},
onRowDblClick(e) {
diff --git a/components/lib/datatable/TableBody.vue b/components/lib/datatable/TableBody.vue
index 89a0316e5e5..764dc7daa73 100755
--- a/components/lib/datatable/TableBody.vue
+++ b/components/lib/datatable/TableBody.vue
@@ -190,7 +190,7 @@ export default {
default: 0
},
dataKey: {
- type: String,
+ type: [String, Function],
default: null
},
expandedRowIcon: {
diff --git a/components/lib/image/Image.vue b/components/lib/image/Image.vue
index 038f261c56d..50816b8a9bd 100644
--- a/components/lib/image/Image.vue
+++ b/components/lib/image/Image.vue
@@ -163,6 +163,7 @@ export default {
!this.isUnstyled && DomHandler.addClass(this.mask, 'p-component-overlay-leave');
},
onLeave() {
+ DomHandler.removeClass(document.body, 'p-overflow-hidden');
this.$emit('hide');
},
onAfterLeave(el) {
diff --git a/components/lib/inplace/Inplace.vue b/components/lib/inplace/Inplace.vue
index 0284fef53ac..52d21ce8cdf 100755
--- a/components/lib/inplace/Inplace.vue
+++ b/components/lib/inplace/Inplace.vue
@@ -8,7 +8,7 @@
-
+
diff --git a/components/lib/inputnumber/InputNumber.vue b/components/lib/inputnumber/InputNumber.vue
index 29af7e3ae66..0b3682953ca 100755
--- a/components/lib/inputnumber/InputNumber.vue
+++ b/components/lib/inputnumber/InputNumber.vue
@@ -39,7 +39,7 @@
>
-
+
@@ -55,7 +55,7 @@
>
-
+
@@ -73,7 +73,7 @@
>
-
+
@@ -90,7 +90,7 @@
>
-
+
diff --git a/components/lib/orderlist/OrderList.vue b/components/lib/orderlist/OrderList.vue
index a3681b7030b..ffc153a1525 100755
--- a/components/lib/orderlist/OrderList.vue
+++ b/components/lib/orderlist/OrderList.vue
@@ -5,28 +5,28 @@
-
+
-
+
-
+
-
+
diff --git a/components/lib/paginator/JumpToPageDropdown.vue b/components/lib/paginator/JumpToPageDropdown.vue
index cdaf0f6e54c..9fa40a0e0fd 100644
--- a/components/lib/paginator/JumpToPageDropdown.vue
+++ b/components/lib/paginator/JumpToPageDropdown.vue
@@ -11,7 +11,11 @@
:pt="ptm('jumpToPageDropdown')"
data-pc-section="jumptopagedropdown"
data-pc-group-section="pagedropdown"
- >
+ >
+
+
+
+