primevue 3.11.0 → 3.11.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.
- package/autocomplete/AutoComplete.vue +2 -2
- package/autocomplete/autocomplete.cjs.js +3 -2
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +3 -2
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +3 -2
- package/autocomplete/autocomplete.min.js +1 -1
- package/core/core.js +4 -3
- package/core/core.min.js +1 -1
- package/datatable/TableFooter.vue +18 -1
- package/datatable/TableHeader.vue +18 -1
- package/datatable/datatable.cjs.js +36 -2
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +36 -2
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +36 -2
- package/datatable/datatable.min.js +1 -1
- package/dropdown/Dropdown.vue +2 -2
- package/dropdown/dropdown.cjs.js +3 -2
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +3 -2
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +3 -2
- package/dropdown/dropdown.min.js +1 -1
- package/listbox/Listbox.vue +2 -2
- package/listbox/listbox.cjs.js +3 -2
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +3 -2
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +3 -2
- package/listbox/listbox.min.js +1 -1
- package/multiselect/MultiSelect.vue +4 -4
- package/multiselect/multiselect.cjs.js +3 -2
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +3 -2
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +3 -2
- package/multiselect/multiselect.min.js +1 -1
- package/package.json +1 -1
- package/resources/themes/arya-blue/theme.css +2 -2
- package/resources/themes/arya-green/theme.css +2 -2
- package/resources/themes/arya-orange/theme.css +2 -2
- package/resources/themes/arya-purple/theme.css +2 -2
- package/resources/themes/bootstrap4-dark-blue/theme.css +2 -2
- package/resources/themes/bootstrap4-dark-purple/theme.css +2 -2
- package/resources/themes/bootstrap4-light-blue/theme.css +2 -2
- package/resources/themes/bootstrap4-light-purple/theme.css +2 -2
- package/resources/themes/fluent-light/theme.css +2 -2
- package/resources/themes/lara-dark-blue/theme.css +2 -2
- package/resources/themes/lara-dark-indigo/theme.css +2 -2
- package/resources/themes/lara-dark-purple/theme.css +2 -2
- package/resources/themes/lara-dark-teal/theme.css +2 -2
- package/resources/themes/lara-light-blue/theme.css +2 -2
- package/resources/themes/lara-light-indigo/theme.css +2 -2
- package/resources/themes/lara-light-purple/theme.css +2 -2
- package/resources/themes/lara-light-teal/theme.css +2 -2
- package/resources/themes/luna-amber/theme.css +2 -2
- package/resources/themes/luna-blue/theme.css +2 -2
- package/resources/themes/luna-green/theme.css +2 -2
- package/resources/themes/luna-pink/theme.css +2 -2
- package/resources/themes/md-dark-deeppurple/theme.css +2 -2
- package/resources/themes/md-dark-indigo/theme.css +2 -2
- package/resources/themes/md-light-deeppurple/theme.css +2 -2
- package/resources/themes/md-light-indigo/theme.css +2 -2
- package/resources/themes/mdc-dark-deeppurple/theme.css +2 -2
- package/resources/themes/mdc-dark-indigo/theme.css +2 -2
- package/resources/themes/mdc-light-deeppurple/theme.css +2 -2
- package/resources/themes/mdc-light-indigo/theme.css +2 -2
- package/resources/themes/nova/theme.css +2 -2
- package/resources/themes/nova-accent/theme.css +2 -2
- package/resources/themes/nova-alt/theme.css +2 -2
- package/resources/themes/nova-vue/theme.css +2 -2
- package/resources/themes/rhea/theme.css +2 -2
- package/resources/themes/saga-blue/theme.css +2 -2
- package/resources/themes/saga-green/theme.css +2 -2
- package/resources/themes/saga-orange/theme.css +2 -2
- package/resources/themes/saga-purple/theme.css +2 -2
- package/resources/themes/tailwind-light/theme.css +5 -5
- package/resources/themes/vela-blue/theme.css +2 -2
- package/resources/themes/vela-green/theme.css +2 -2
- package/resources/themes/vela-orange/theme.css +2 -2
- package/resources/themes/vela-purple/theme.css +2 -2
- package/sidebar/Sidebar.vue +2 -0
- package/sidebar/sidebar.cjs.js +1 -1
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +1 -1
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +1 -1
- package/sidebar/sidebar.min.js +1 -1
- package/treetable/BodyCell.vue +2 -2
- package/treetable/FooterCell.vue +2 -2
- package/treetable/HeaderCell.vue +2 -2
- package/treetable/TreeTable.vue +5 -1
- package/treetable/treetable.cjs.js +7 -7
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +7 -7
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +7 -7
- package/treetable/treetable.min.js +1 -1
- package/virtualscroller/VirtualScroller.vue +1 -1
- package/virtualscroller/virtualscroller.cjs.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +1 -1
- package/virtualscroller/virtualscroller.js +1 -1
- package/web-types.json +1 -1
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
</tr>
|
|
33
33
|
</template>
|
|
34
34
|
<template v-else>
|
|
35
|
-
<tr v-for="(row,i) of
|
|
35
|
+
<tr v-for="(row,i) of getHeaderRows()" :key="i" role="row">
|
|
36
36
|
<template v-for="(col,j) of getHeaderColumns(row)" :key="columnProp(col, 'columnKey')||columnProp(col, 'field')||j">
|
|
37
37
|
<DTHeaderCell v-if="!columnProp(col, 'hidden') && (rowGroupMode !== 'subheader' || (groupRowsBy !== columnProp(col, 'field'))) && (typeof col.children !== 'string')" :column="col"
|
|
38
38
|
@column-click="$emit('column-click', $event)" @column-mousedown="$emit('column-mousedown', $event)"
|
|
@@ -132,6 +132,23 @@ export default {
|
|
|
132
132
|
getFilterColumnHeaderStyle(column) {
|
|
133
133
|
return [this.columnProp(column, 'filterHeaderStyle'), this.columnProp(column, 'style')];
|
|
134
134
|
},
|
|
135
|
+
getHeaderRows() {
|
|
136
|
+
let rows = [];
|
|
137
|
+
|
|
138
|
+
let columnGroup = this.columnGroup;
|
|
139
|
+
if (columnGroup.children && columnGroup.children.default) {
|
|
140
|
+
for (let child of columnGroup.children.default()) {
|
|
141
|
+
if (child.type.name === 'Row') {
|
|
142
|
+
rows.push(child);
|
|
143
|
+
}
|
|
144
|
+
else if (child.children && child.children instanceof Array) {
|
|
145
|
+
rows = child.children;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return rows;
|
|
150
|
+
}
|
|
151
|
+
},
|
|
135
152
|
getHeaderColumns(row){
|
|
136
153
|
let cols = [];
|
|
137
154
|
|
|
@@ -1149,6 +1149,23 @@ var script$7 = {
|
|
|
1149
1149
|
getFilterColumnHeaderStyle(column) {
|
|
1150
1150
|
return [this.columnProp(column, 'filterHeaderStyle'), this.columnProp(column, 'style')];
|
|
1151
1151
|
},
|
|
1152
|
+
getHeaderRows() {
|
|
1153
|
+
let rows = [];
|
|
1154
|
+
|
|
1155
|
+
let columnGroup = this.columnGroup;
|
|
1156
|
+
if (columnGroup.children && columnGroup.children.default) {
|
|
1157
|
+
for (let child of columnGroup.children.default()) {
|
|
1158
|
+
if (child.type.name === 'Row') {
|
|
1159
|
+
rows.push(child);
|
|
1160
|
+
}
|
|
1161
|
+
else if (child.children && child.children instanceof Array) {
|
|
1162
|
+
rows = child.children;
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
return rows;
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1152
1169
|
getHeaderColumns(row){
|
|
1153
1170
|
let cols = [];
|
|
1154
1171
|
|
|
@@ -1289,7 +1306,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1289
1306
|
]))
|
|
1290
1307
|
: vue.createCommentVNode("", true)
|
|
1291
1308
|
], 64))
|
|
1292
|
-
: (vue.openBlock(true), vue.createBlock(vue.Fragment, { key: 1 }, vue.renderList($
|
|
1309
|
+
: (vue.openBlock(true), vue.createBlock(vue.Fragment, { key: 1 }, vue.renderList($options.getHeaderRows(), (row, i) => {
|
|
1293
1310
|
return (vue.openBlock(), vue.createBlock("tr", {
|
|
1294
1311
|
key: i,
|
|
1295
1312
|
role: "row"
|
|
@@ -2672,6 +2689,23 @@ var script$1 = {
|
|
|
2672
2689
|
columnProp(col, prop) {
|
|
2673
2690
|
return utils.ObjectUtils.getVNodeProp(col, prop);
|
|
2674
2691
|
},
|
|
2692
|
+
getFooterRows() {
|
|
2693
|
+
let rows = [];
|
|
2694
|
+
|
|
2695
|
+
let columnGroup = this.columnGroup;
|
|
2696
|
+
if (columnGroup.children && columnGroup.children.default) {
|
|
2697
|
+
for (let child of columnGroup.children.default()) {
|
|
2698
|
+
if (child.type.name === 'Row') {
|
|
2699
|
+
rows.push(child);
|
|
2700
|
+
}
|
|
2701
|
+
else if (child.children && child.children instanceof Array) {
|
|
2702
|
+
rows = child.children;
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
return rows;
|
|
2707
|
+
}
|
|
2708
|
+
},
|
|
2675
2709
|
getFooterColumns(row){
|
|
2676
2710
|
let cols = [];
|
|
2677
2711
|
|
|
@@ -2741,7 +2775,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2741
2775
|
], 64))
|
|
2742
2776
|
}), 128))
|
|
2743
2777
|
]))
|
|
2744
|
-
: (vue.openBlock(true), vue.createBlock(vue.Fragment, { key: 1 }, vue.renderList($
|
|
2778
|
+
: (vue.openBlock(true), vue.createBlock(vue.Fragment, { key: 1 }, vue.renderList($options.getFooterRows(), (row, i) => {
|
|
2745
2779
|
return (vue.openBlock(), vue.createBlock("tr", {
|
|
2746
2780
|
key: i,
|
|
2747
2781
|
role: "row"
|