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.
Files changed (103) hide show
  1. package/README.md +2 -2
  2. package/breadcrumb/Breadcrumb.vue +1 -1
  3. package/breadcrumb/breadcrumb.cjs.js +2 -1
  4. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  5. package/breadcrumb/breadcrumb.esm.js +2 -1
  6. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  7. package/breadcrumb/breadcrumb.js +2 -1
  8. package/breadcrumb/breadcrumb.min.js +1 -1
  9. package/calendar/Calendar.vue +4 -4
  10. package/calendar/calendar.cjs.js +4 -4
  11. package/calendar/calendar.cjs.min.js +1 -1
  12. package/calendar/calendar.esm.js +4 -4
  13. package/calendar/calendar.esm.min.js +1 -1
  14. package/calendar/calendar.js +4 -4
  15. package/calendar/calendar.min.js +1 -1
  16. package/config/PrimeVue.d.ts +1 -2
  17. package/config/config.cjs.js +0 -1
  18. package/config/config.cjs.min.js +1 -1
  19. package/config/config.esm.js +0 -1
  20. package/config/config.esm.min.js +1 -1
  21. package/config/config.js +0 -1
  22. package/config/config.min.js +1 -1
  23. package/core/core.js +29 -17
  24. package/core/core.min.js +4 -4
  25. package/datatable/DataTable.vue +6 -6
  26. package/datatable/datatable.cjs.js +10 -10
  27. package/datatable/datatable.cjs.min.js +1 -1
  28. package/datatable/datatable.esm.js +10 -10
  29. package/datatable/datatable.esm.min.js +1 -1
  30. package/datatable/datatable.js +10 -10
  31. package/datatable/datatable.min.js +1 -1
  32. package/dialog/Dialog.vue +1 -1
  33. package/dialog/dialog.cjs.js +1 -1
  34. package/dialog/dialog.cjs.min.js +1 -1
  35. package/dialog/dialog.esm.js +1 -1
  36. package/dialog/dialog.esm.min.js +1 -1
  37. package/dialog/dialog.js +1 -1
  38. package/dialog/dialog.min.js +1 -1
  39. package/menu/Menu.d.ts +8 -0
  40. package/menu/Menu.vue +6 -0
  41. package/menu/menu.cjs.js +26 -8
  42. package/menu/menu.cjs.min.js +1 -1
  43. package/menu/menu.esm.js +27 -9
  44. package/menu/menu.esm.min.js +1 -1
  45. package/menu/menu.js +26 -8
  46. package/menu/menu.min.js +1 -1
  47. package/package.json +1 -1
  48. package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
  49. package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
  50. package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
  51. package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
  52. package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
  53. package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
  54. package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
  55. package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
  56. package/resources/themes/mira/theme.css +6066 -0
  57. package/resources/themes/nano/theme.css +5838 -0
  58. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  59. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  60. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  61. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  62. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  63. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  64. package/resources/themes/soho-dark/theme.css +5831 -0
  65. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  66. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  67. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  68. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  69. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  70. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  71. package/resources/themes/soho-light/theme.css +5885 -0
  72. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  73. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  74. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  75. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  76. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  77. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  78. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  79. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  80. package/resources/themes/viva-dark/theme.css +5993 -0
  81. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  82. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  83. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  84. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  85. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  86. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  87. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  88. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  89. package/resources/themes/viva-light/theme.css +5993 -0
  90. package/tag/Tag.vue +1 -1
  91. package/tag/tag.cjs.js +4 -2
  92. package/tag/tag.cjs.min.js +1 -1
  93. package/tag/tag.esm.js +5 -3
  94. package/tag/tag.esm.min.js +1 -1
  95. package/tag/tag.js +4 -2
  96. package/tag/tag.min.js +1 -1
  97. package/utils/utils.cjs.js +2 -7
  98. package/utils/utils.cjs.min.js +1 -1
  99. package/utils/utils.esm.js +2 -7
  100. package/utils/utils.esm.min.js +1 -1
  101. package/utils/utils.js +2 -7
  102. package/utils/utils.min.js +1 -1
  103. package/web-types.json +11 -1
@@ -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, 'field')) {
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: 4,
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: 3,
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))