primevue 3.34.0 → 3.34.1

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 (156) hide show
  1. package/autocomplete/AutoComplete.vue +1 -1
  2. package/autocomplete/autocomplete.cjs.js +3 -1
  3. package/autocomplete/autocomplete.cjs.min.js +1 -1
  4. package/autocomplete/autocomplete.esm.js +3 -1
  5. package/autocomplete/autocomplete.esm.min.js +1 -1
  6. package/autocomplete/autocomplete.js +3 -1
  7. package/autocomplete/autocomplete.min.js +1 -1
  8. package/basecomponent/BaseComponent.vue +4 -1
  9. package/basecomponent/basecomponent.cjs.js +5 -1
  10. package/basecomponent/basecomponent.cjs.min.js +1 -1
  11. package/basecomponent/basecomponent.esm.js +5 -1
  12. package/basecomponent/basecomponent.esm.min.js +1 -1
  13. package/basecomponent/basecomponent.js +5 -1
  14. package/basecomponent/basecomponent.min.js +1 -1
  15. package/breadcrumb/Breadcrumb.vue +1 -1
  16. package/breadcrumb/breadcrumb.cjs.js +1 -1
  17. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  18. package/breadcrumb/breadcrumb.esm.js +1 -1
  19. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  20. package/breadcrumb/breadcrumb.js +1 -1
  21. package/breadcrumb/breadcrumb.min.js +1 -1
  22. package/calendar/Calendar.d.ts +11 -5
  23. package/calendar/Calendar.vue +58 -28
  24. package/calendar/calendar.cjs.js +130 -94
  25. package/calendar/calendar.cjs.min.js +1 -1
  26. package/calendar/calendar.esm.js +130 -94
  27. package/calendar/calendar.esm.min.js +1 -1
  28. package/calendar/calendar.js +130 -94
  29. package/calendar/calendar.min.js +1 -1
  30. package/column/Column.d.ts +4 -0
  31. package/config/PrimeVue.d.ts +1 -0
  32. package/config/config.cjs.js +1 -0
  33. package/config/config.cjs.min.js +1 -1
  34. package/config/config.esm.js +1 -0
  35. package/config/config.esm.min.js +1 -1
  36. package/config/config.js +1 -0
  37. package/config/config.min.js +1 -1
  38. package/confirmdialog/BaseConfirmDialog.vue +2 -2
  39. package/confirmdialog/ConfirmDialog.vue +2 -2
  40. package/confirmdialog/confirmdialog.cjs.js +4 -7
  41. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  42. package/confirmdialog/confirmdialog.esm.js +4 -7
  43. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  44. package/confirmdialog/confirmdialog.js +4 -7
  45. package/confirmdialog/confirmdialog.min.js +1 -1
  46. package/core/core.js +66 -22
  47. package/core/core.min.js +6 -6
  48. package/datatable/BodyCell.vue +1 -1
  49. package/datatable/ColumnFilter.vue +1 -1
  50. package/datatable/DataTable.d.ts +48 -4
  51. package/datatable/DataTable.vue +31 -18
  52. package/datatable/TableBody.vue +1 -1
  53. package/datatable/datatable.cjs.js +72 -22
  54. package/datatable/datatable.cjs.min.js +1 -1
  55. package/datatable/datatable.esm.js +72 -22
  56. package/datatable/datatable.esm.min.js +1 -1
  57. package/datatable/datatable.js +72 -22
  58. package/datatable/datatable.min.js +1 -1
  59. package/image/Image.vue +1 -0
  60. package/image/image.cjs.js +1 -0
  61. package/image/image.cjs.min.js +1 -1
  62. package/image/image.esm.js +1 -0
  63. package/image/image.esm.min.js +1 -1
  64. package/image/image.js +1 -0
  65. package/image/image.min.js +1 -1
  66. package/inplace/Inplace.vue +1 -1
  67. package/inplace/inplace.cjs.js +3 -1
  68. package/inplace/inplace.cjs.min.js +1 -1
  69. package/inplace/inplace.esm.js +3 -1
  70. package/inplace/inplace.esm.min.js +1 -1
  71. package/inplace/inplace.js +3 -1
  72. package/inplace/inplace.min.js +1 -1
  73. package/inputnumber/InputNumber.vue +4 -4
  74. package/inputnumber/inputnumber.cjs.js +12 -4
  75. package/inputnumber/inputnumber.cjs.min.js +1 -1
  76. package/inputnumber/inputnumber.esm.js +12 -4
  77. package/inputnumber/inputnumber.esm.min.js +1 -1
  78. package/inputnumber/inputnumber.js +12 -4
  79. package/inputnumber/inputnumber.min.js +1 -1
  80. package/menubar/Menubar.vue +2 -2
  81. package/menubar/menubar.cjs.js +2 -2
  82. package/menubar/menubar.cjs.min.js +1 -1
  83. package/menubar/menubar.esm.js +2 -2
  84. package/menubar/menubar.esm.min.js +1 -1
  85. package/menubar/menubar.js +2 -2
  86. package/menubar/menubar.min.js +1 -1
  87. package/orderlist/OrderList.vue +4 -4
  88. package/orderlist/orderlist.cjs.js +12 -4
  89. package/orderlist/orderlist.cjs.min.js +1 -1
  90. package/orderlist/orderlist.esm.js +13 -5
  91. package/orderlist/orderlist.esm.min.js +1 -1
  92. package/orderlist/orderlist.js +12 -4
  93. package/orderlist/orderlist.min.js +1 -1
  94. package/package.json +1 -1
  95. package/paginator/JumpToPageDropdown.vue +7 -2
  96. package/paginator/Paginator.d.ts +20 -0
  97. package/paginator/Paginator.vue +7 -4
  98. package/paginator/RowsPerPageDropdown.vue +7 -2
  99. package/paginator/paginator.cjs.js +40 -11
  100. package/paginator/paginator.cjs.min.js +1 -1
  101. package/paginator/paginator.esm.js +41 -12
  102. package/paginator/paginator.esm.min.js +1 -1
  103. package/paginator/paginator.js +40 -11
  104. package/paginator/paginator.min.js +1 -1
  105. package/passthrough/tailwind/index.cjs.js +1 -1
  106. package/passthrough/tailwind/index.cjs.min.js +1 -1
  107. package/passthrough/tailwind/index.esm.js +1 -1
  108. package/passthrough/tailwind/index.esm.min.js +1 -1
  109. package/passthrough/tailwind/index.js +1 -1
  110. package/passthrough/tailwind/index.min.js +1 -1
  111. package/picklist/PickList.vue +12 -12
  112. package/picklist/picklist.cjs.js +36 -12
  113. package/picklist/picklist.cjs.min.js +1 -1
  114. package/picklist/picklist.esm.js +37 -13
  115. package/picklist/picklist.esm.min.js +1 -1
  116. package/picklist/picklist.js +36 -12
  117. package/picklist/picklist.min.js +1 -1
  118. package/speeddial/SpeedDial.vue +2 -2
  119. package/speeddial/speeddial.cjs.js +6 -2
  120. package/speeddial/speeddial.cjs.min.js +1 -1
  121. package/speeddial/speeddial.esm.js +6 -2
  122. package/speeddial/speeddial.esm.min.js +1 -1
  123. package/speeddial/speeddial.js +6 -2
  124. package/speeddial/speeddial.min.js +1 -1
  125. package/splitbutton/SplitButton.vue +2 -1
  126. package/splitbutton/splitbutton.cjs.js +2 -1
  127. package/splitbutton/splitbutton.cjs.min.js +1 -1
  128. package/splitbutton/splitbutton.esm.js +2 -1
  129. package/splitbutton/splitbutton.esm.min.js +1 -1
  130. package/splitbutton/splitbutton.js +2 -1
  131. package/splitbutton/splitbutton.min.js +1 -1
  132. package/tabmenu/TabMenu.vue +5 -0
  133. package/tabmenu/tabmenu.cjs.js +5 -0
  134. package/tabmenu/tabmenu.cjs.min.js +1 -1
  135. package/tabmenu/tabmenu.esm.js +5 -0
  136. package/tabmenu/tabmenu.esm.min.js +1 -1
  137. package/tabmenu/tabmenu.js +5 -0
  138. package/tabmenu/tabmenu.min.js +1 -1
  139. package/tree/Tree.vue +1 -1
  140. package/tree/TreeNode.vue +1 -1
  141. package/tree/tree.cjs.js +7 -5
  142. package/tree/tree.cjs.min.js +1 -1
  143. package/tree/tree.esm.js +8 -6
  144. package/tree/tree.esm.min.js +1 -1
  145. package/tree/tree.js +7 -5
  146. package/tree/tree.min.js +1 -1
  147. package/treetable/BodyCell.vue +1 -1
  148. package/treetable/TreeTable.d.ts +48 -4
  149. package/treetable/TreeTable.vue +28 -16
  150. package/treetable/treetable.cjs.js +65 -17
  151. package/treetable/treetable.cjs.min.js +1 -1
  152. package/treetable/treetable.esm.js +65 -17
  153. package/treetable/treetable.esm.min.js +1 -1
  154. package/treetable/treetable.js +65 -17
  155. package/treetable/treetable.min.js +1 -1
  156. package/web-types.json +1 -1
@@ -42,8 +42,8 @@
42
42
  data-pc-section="dropdownbutton"
43
43
  >
44
44
  <template #icon>
45
- <slot name="dropdownicon">
46
- <component :is="icon ? 'span' : 'CalendarIcon'" :class="icon" v-bind="ptm('dropdownButton')['icon']" data-pc-section="icon" />
45
+ <slot name="dropdownicon" :class="icon">
46
+ <component :is="icon ? 'span' : 'CalendarIcon'" :class="icon" v-bind="ptm('dropdownButton')['icon']" data-pc-section="dropdownicon" />
47
47
  </slot>
48
48
  </template>
49
49
  </CalendarButton>
@@ -86,32 +86,62 @@
86
86
  </slot>
87
87
  </button>
88
88
  <div :class="cx('title')" v-bind="ptm('title')">
89
- <button
90
- v-if="currentView === 'date'"
91
- type="button"
92
- @click="switchToMonthView"
93
- @keydown="onContainerButtonKeydown"
94
- :class="cx('monthTitle')"
95
- :disabled="switchViewButtonDisabled"
96
- :aria-label="$primevue.config.locale.chooseMonth"
97
- v-bind="ptm('monthTitle')"
98
- data-pc-group-section="view"
99
- >
100
- {{ getMonthName(month.month) }}
101
- </button>
102
- <button
103
- v-if="currentView !== 'year'"
104
- type="button"
105
- @click="switchToYearView"
106
- @keydown="onContainerButtonKeydown"
107
- :class="cx('yearTitle')"
108
- :disabled="switchViewButtonDisabled"
109
- :aria-label="$primevue.config.locale.chooseYear"
110
- v-bind="ptm('yearTitle')"
111
- data-pc-group-section="view"
112
- >
113
- {{ getYear(month) }}
114
- </button>
89
+ <template v-if="$primevue.config.locale.showMonthAfterYear">
90
+ <button
91
+ v-if="currentView !== 'year'"
92
+ type="button"
93
+ @click="switchToYearView"
94
+ @keydown="onContainerButtonKeydown"
95
+ :class="cx('yearTitle')"
96
+ :disabled="switchViewButtonDisabled"
97
+ :aria-label="$primevue.config.locale.chooseYear"
98
+ v-bind="ptm('yearTitle')"
99
+ data-pc-group-section="view"
100
+ >
101
+ {{ getYear(month) }}
102
+ </button>
103
+ <button
104
+ v-if="currentView === 'date'"
105
+ type="button"
106
+ @click="switchToMonthView"
107
+ @keydown="onContainerButtonKeydown"
108
+ :class="cx('monthTitle')"
109
+ :disabled="switchViewButtonDisabled"
110
+ :aria-label="$primevue.config.locale.chooseMonth"
111
+ v-bind="ptm('monthTitle')"
112
+ data-pc-group-section="view"
113
+ >
114
+ {{ getMonthName(month.month) }}
115
+ </button>
116
+ </template>
117
+ <template v-else>
118
+ <button
119
+ v-if="currentView === 'date'"
120
+ type="button"
121
+ @click="switchToMonthView"
122
+ @keydown="onContainerButtonKeydown"
123
+ :class="cx('monthTitle')"
124
+ :disabled="switchViewButtonDisabled"
125
+ :aria-label="$primevue.config.locale.chooseMonth"
126
+ v-bind="ptm('monthTitle')"
127
+ data-pc-group-section="view"
128
+ >
129
+ {{ getMonthName(month.month) }}
130
+ </button>
131
+ <button
132
+ v-if="currentView !== 'year'"
133
+ type="button"
134
+ @click="switchToYearView"
135
+ @keydown="onContainerButtonKeydown"
136
+ :class="cx('yearTitle')"
137
+ :disabled="switchViewButtonDisabled"
138
+ :aria-label="$primevue.config.locale.chooseYear"
139
+ v-bind="ptm('yearTitle')"
140
+ data-pc-group-section="view"
141
+ >
142
+ {{ getYear(month) }}
143
+ </button>
144
+ </template>
115
145
  <span v-if="currentView === 'year'" :class="cx('decadeTitle')" v-bind="ptm('decadeTitle')">
116
146
  <slot name="decade" :years="yearPickerValues"> {{ yearPickerValues[0].value }} - {{ yearPickerValues[yearPickerValues.length - 1].value }} </slot>
117
147
  </span>