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
@@ -3988,7 +3988,7 @@ var script = {
3988
3988
 
3989
3989
  if (firstSelectedRow) {
3990
3990
  firstSelectedRow.tabIndex = '0';
3991
- focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
3991
+ focusedItem && focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
3992
3992
  } else {
3993
3993
  rows[0].tabIndex = '0';
3994
3994
  focusedItem !== rows[0] && (rows[rowIndex].tabIndex = '-1');
@@ -4239,7 +4239,7 @@ var script = {
4239
4239
 
4240
4240
  if (i === 0) csv += '\n';
4241
4241
 
4242
- if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'field')) {
4242
+ if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'exportFooter')) {
4243
4243
  if (footerInitiated) csv += this.csvSeparator;
4244
4244
  else footerInitiated = true;
4245
4245
 
@@ -4556,7 +4556,7 @@ var script = {
4556
4556
  let dropIndex = this.draggedRowIndex > this.droppedRowIndex ? this.droppedRowIndex : this.droppedRowIndex === 0 ? 0 : this.droppedRowIndex - 1;
4557
4557
  let processedData = [...this.processedData];
4558
4558
 
4559
- utils.ObjectUtils.reorderArray(processedData, this.draggedRowIndex, dropIndex);
4559
+ utils.ObjectUtils.reorderArray(processedData, this.draggedRowIndex + this.d_first, dropIndex + this.d_first);
4560
4560
 
4561
4561
  this.$emit('row-reorder', {
4562
4562
  originalEvent: event,
@@ -5140,7 +5140,7 @@ const _hoisted_2 = {
5140
5140
  class: "p-datatable-header"
5141
5141
  };
5142
5142
  const _hoisted_3 = {
5143
- key: 4,
5143
+ key: 3,
5144
5144
  class: "p-datatable-footer"
5145
5145
  };
5146
5146
  const _hoisted_4 = {
@@ -5391,9 +5391,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
5391
5391
  _: 1
5392
5392
  }, 16, ["items", "columns", "style", "disabled"])
5393
5393
  ], 4),
5394
+ (_ctx.$slots.footer)
5395
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
5396
+ vue.renderSlot(_ctx.$slots, "footer")
5397
+ ]))
5398
+ : vue.createCommentVNode("", true),
5394
5399
  ($options.paginatorBottom)
5395
5400
  ? (vue.openBlock(), vue.createBlock(_component_DTPaginator, {
5396
- key: 3,
5401
+ key: 4,
5397
5402
  rows: $data.d_rows,
5398
5403
  first: $data.d_first,
5399
5404
  totalRecords: $options.totalRecordsLength,
@@ -5425,11 +5430,6 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
5425
5430
  : undefined
5426
5431
  ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
5427
5432
  : vue.createCommentVNode("", true),
5428
- (_ctx.$slots.footer)
5429
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
5430
- vue.renderSlot(_ctx.$slots, "footer")
5431
- ]))
5432
- : vue.createCommentVNode("", true),
5433
5433
  vue.createElementVNode("div", _hoisted_4, null, 512),
5434
5434
  ($props.reorderableColumns)
5435
5435
  ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, null, 512))