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
@@ -3975,7 +3975,7 @@ var script = {
3975
3975
 
3976
3976
  if (firstSelectedRow) {
3977
3977
  firstSelectedRow.tabIndex = '0';
3978
- focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
3978
+ focusedItem && focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
3979
3979
  } else {
3980
3980
  rows[0].tabIndex = '0';
3981
3981
  focusedItem !== rows[0] && (rows[rowIndex].tabIndex = '-1');
@@ -4226,7 +4226,7 @@ var script = {
4226
4226
 
4227
4227
  if (i === 0) csv += '\n';
4228
4228
 
4229
- if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'field')) {
4229
+ if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'exportFooter')) {
4230
4230
  if (footerInitiated) csv += this.csvSeparator;
4231
4231
  else footerInitiated = true;
4232
4232
 
@@ -4543,7 +4543,7 @@ var script = {
4543
4543
  let dropIndex = this.draggedRowIndex > this.droppedRowIndex ? this.droppedRowIndex : this.droppedRowIndex === 0 ? 0 : this.droppedRowIndex - 1;
4544
4544
  let processedData = [...this.processedData];
4545
4545
 
4546
- ObjectUtils.reorderArray(processedData, this.draggedRowIndex, dropIndex);
4546
+ ObjectUtils.reorderArray(processedData, this.draggedRowIndex + this.d_first, dropIndex + this.d_first);
4547
4547
 
4548
4548
  this.$emit('row-reorder', {
4549
4549
  originalEvent: event,
@@ -5127,7 +5127,7 @@ const _hoisted_2 = {
5127
5127
  class: "p-datatable-header"
5128
5128
  };
5129
5129
  const _hoisted_3 = {
5130
- key: 4,
5130
+ key: 3,
5131
5131
  class: "p-datatable-footer"
5132
5132
  };
5133
5133
  const _hoisted_4 = {
@@ -5378,9 +5378,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
5378
5378
  _: 1
5379
5379
  }, 16, ["items", "columns", "style", "disabled"])
5380
5380
  ], 4),
5381
+ (_ctx.$slots.footer)
5382
+ ? (openBlock(), createElementBlock("div", _hoisted_3, [
5383
+ renderSlot(_ctx.$slots, "footer")
5384
+ ]))
5385
+ : createCommentVNode("", true),
5381
5386
  ($options.paginatorBottom)
5382
5387
  ? (openBlock(), createBlock(_component_DTPaginator, {
5383
- key: 3,
5388
+ key: 4,
5384
5389
  rows: $data.d_rows,
5385
5390
  first: $data.d_first,
5386
5391
  totalRecords: $options.totalRecordsLength,
@@ -5412,11 +5417,6 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
5412
5417
  : undefined
5413
5418
  ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
5414
5419
  : createCommentVNode("", true),
5415
- (_ctx.$slots.footer)
5416
- ? (openBlock(), createElementBlock("div", _hoisted_3, [
5417
- renderSlot(_ctx.$slots, "footer")
5418
- ]))
5419
- : createCommentVNode("", true),
5420
5420
  createElementVNode("div", _hoisted_4, null, 512),
5421
5421
  ($props.reorderableColumns)
5422
5422
  ? (openBlock(), createElementBlock("span", _hoisted_5, null, 512))