primevue 3.22.4 → 3.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/breadcrumb/Breadcrumb.vue +1 -1
- package/breadcrumb/breadcrumb.cjs.js +2 -1
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +2 -1
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +2 -1
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/calendar/Calendar.vue +4 -4
- package/calendar/calendar.cjs.js +4 -4
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +4 -4
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +4 -4
- package/calendar/calendar.min.js +1 -1
- package/config/PrimeVue.d.ts +1 -2
- package/config/config.cjs.js +0 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +0 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +0 -1
- package/config/config.min.js +1 -1
- package/core/core.js +29 -17
- package/core/core.min.js +4 -4
- package/datatable/DataTable.vue +6 -6
- package/datatable/datatable.cjs.js +10 -10
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +10 -10
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +10 -10
- package/datatable/datatable.min.js +1 -1
- package/dialog/Dialog.vue +1 -1
- package/dialog/dialog.cjs.js +1 -1
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +1 -1
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +1 -1
- package/dialog/dialog.min.js +1 -1
- package/menu/Menu.d.ts +8 -0
- package/menu/Menu.vue +6 -0
- package/menu/menu.cjs.js +26 -8
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +27 -9
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +26 -8
- package/menu/menu.min.js +1 -1
- package/package.json +1 -1
- package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/mira/theme.css +6066 -0
- package/resources/themes/nano/theme.css +5838 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/soho-dark/theme.css +5831 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/soho-light/theme.css +5885 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/viva-dark/theme.css +5993 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
- package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
- package/resources/themes/viva-light/theme.css +5993 -0
- package/tag/Tag.vue +1 -1
- package/tag/tag.cjs.js +4 -2
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +5 -3
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +4 -2
- package/tag/tag.min.js +1 -1
- package/utils/utils.cjs.js +2 -7
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +2 -7
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +2 -7
- package/utils/utils.min.js +1 -1
- package/web-types.json +11 -1
package/datatable/datatable.js
CHANGED
|
@@ -3978,7 +3978,7 @@ this.primevue.datatable = (function (api, Paginator, utils, VirtualScroller, Ove
|
|
|
3978
3978
|
|
|
3979
3979
|
if (firstSelectedRow) {
|
|
3980
3980
|
firstSelectedRow.tabIndex = '0';
|
|
3981
|
-
focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
|
|
3981
|
+
focusedItem && focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
|
|
3982
3982
|
} else {
|
|
3983
3983
|
rows[0].tabIndex = '0';
|
|
3984
3984
|
focusedItem !== rows[0] && (rows[rowIndex].tabIndex = '-1');
|
|
@@ -4229,7 +4229,7 @@ this.primevue.datatable = (function (api, Paginator, utils, VirtualScroller, Ove
|
|
|
4229
4229
|
|
|
4230
4230
|
if (i === 0) csv += '\n';
|
|
4231
4231
|
|
|
4232
|
-
if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, '
|
|
4232
|
+
if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'exportFooter')) {
|
|
4233
4233
|
if (footerInitiated) csv += this.csvSeparator;
|
|
4234
4234
|
else footerInitiated = true;
|
|
4235
4235
|
|
|
@@ -4546,7 +4546,7 @@ this.primevue.datatable = (function (api, Paginator, utils, VirtualScroller, Ove
|
|
|
4546
4546
|
let dropIndex = this.draggedRowIndex > this.droppedRowIndex ? this.droppedRowIndex : this.droppedRowIndex === 0 ? 0 : this.droppedRowIndex - 1;
|
|
4547
4547
|
let processedData = [...this.processedData];
|
|
4548
4548
|
|
|
4549
|
-
utils.ObjectUtils.reorderArray(processedData, this.draggedRowIndex, dropIndex);
|
|
4549
|
+
utils.ObjectUtils.reorderArray(processedData, this.draggedRowIndex + this.d_first, dropIndex + this.d_first);
|
|
4550
4550
|
|
|
4551
4551
|
this.$emit('row-reorder', {
|
|
4552
4552
|
originalEvent: event,
|
|
@@ -5130,7 +5130,7 @@ this.primevue.datatable = (function (api, Paginator, utils, VirtualScroller, Ove
|
|
|
5130
5130
|
class: "p-datatable-header"
|
|
5131
5131
|
};
|
|
5132
5132
|
const _hoisted_3 = {
|
|
5133
|
-
key:
|
|
5133
|
+
key: 3,
|
|
5134
5134
|
class: "p-datatable-footer"
|
|
5135
5135
|
};
|
|
5136
5136
|
const _hoisted_4 = {
|
|
@@ -5381,9 +5381,14 @@ this.primevue.datatable = (function (api, Paginator, utils, VirtualScroller, Ove
|
|
|
5381
5381
|
_: 1
|
|
5382
5382
|
}, 16, ["items", "columns", "style", "disabled"])
|
|
5383
5383
|
], 4),
|
|
5384
|
+
(_ctx.$slots.footer)
|
|
5385
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
|
5386
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
5387
|
+
]))
|
|
5388
|
+
: vue.createCommentVNode("", true),
|
|
5384
5389
|
($options.paginatorBottom)
|
|
5385
5390
|
? (vue.openBlock(), vue.createBlock(_component_DTPaginator, {
|
|
5386
|
-
key:
|
|
5391
|
+
key: 4,
|
|
5387
5392
|
rows: $data.d_rows,
|
|
5388
5393
|
first: $data.d_first,
|
|
5389
5394
|
totalRecords: $options.totalRecordsLength,
|
|
@@ -5415,11 +5420,6 @@ this.primevue.datatable = (function (api, Paginator, utils, VirtualScroller, Ove
|
|
|
5415
5420
|
: undefined
|
|
5416
5421
|
]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
|
|
5417
5422
|
: vue.createCommentVNode("", true),
|
|
5418
|
-
(_ctx.$slots.footer)
|
|
5419
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
|
5420
|
-
vue.renderSlot(_ctx.$slots, "footer")
|
|
5421
|
-
]))
|
|
5422
|
-
: vue.createCommentVNode("", true),
|
|
5423
5423
|
vue.createElementVNode("div", _hoisted_4, null, 512),
|
|
5424
5424
|
($props.reorderableColumns)
|
|
5425
5425
|
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, null, 512))
|