primevue 3.52.0 → 3.53.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.
- package/README.md +1 -1
- package/api/Api.d.ts +58 -6
- package/api/api.cjs.js +58 -6
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +58 -6
- package/api/api.esm.min.js +1 -1
- package/api/api.js +58 -6
- package/api/api.min.js +1 -1
- package/autocomplete/AutoComplete.vue +1 -1
- package/autocomplete/autocomplete.cjs.js +2 -2
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +2 -2
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +2 -2
- package/autocomplete/autocomplete.min.js +1 -1
- package/basecomponent/BaseComponent.vue +11 -11
- package/basecomponent/basecomponent.cjs.js +20 -20
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +20 -20
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +20 -20
- package/basecomponent/basecomponent.min.js +1 -1
- package/basedirective/basedirective.cjs.js +5 -5
- package/basedirective/basedirective.cjs.min.js +1 -1
- package/basedirective/basedirective.esm.js +5 -5
- package/basedirective/basedirective.esm.min.js +1 -1
- package/basedirective/basedirective.js +5 -5
- package/basedirective/basedirective.min.js +1 -1
- package/calendar/BaseCalendar.vue +4 -0
- package/calendar/Calendar.d.ts +4 -0
- package/calendar/Calendar.vue +3 -2
- package/calendar/calendar.cjs.js +8 -8
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +8 -8
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +8 -8
- package/calendar/calendar.min.js +1 -1
- package/colorpicker/ColorPicker.vue +0 -23
- package/colorpicker/colorpicker.cjs.js +0 -19
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +0 -19
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +0 -19
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +1 -1
- package/confirmpopup/ConfirmPopup.vue +6 -1
- package/confirmpopup/confirmpopup.cjs.js +5 -1
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +5 -1
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +5 -1
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.vue +3 -1
- package/contextmenu/contextmenu.cjs.js +3 -1
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +3 -1
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +3 -1
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +137 -55
- package/core/core.min.js +11 -9
- package/datatable/BodyCell.vue +8 -16
- package/datatable/DataTable.d.ts +1 -1
- package/datatable/DataTable.vue +3 -1
- package/datatable/datatable.cjs.js +10 -15
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +10 -15
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +10 -15
- package/datatable/datatable.min.js +1 -1
- package/dialog/Dialog.vue +5 -1
- package/dialog/dialog.cjs.js +5 -1
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +5 -1
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +5 -1
- package/dialog/dialog.min.js +1 -1
- package/dropdown/Dropdown.d.ts +1 -1
- package/dropdown/Dropdown.vue +17 -15
- package/dropdown/dropdown.cjs.js +15 -15
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +15 -15
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +15 -15
- package/dropdown/dropdown.min.js +1 -1
- package/floatlabel/floatlabel.js +1 -1
- package/floatlabel/floatlabel.min.js +1 -1
- package/inplace/Inplace.vue +2 -2
- package/inplace/inplace.cjs.js +3 -3
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +4 -4
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +3 -3
- package/inplace/inplace.min.js +1 -1
- package/inputnumber/InputNumber.vue +7 -2
- package/inputnumber/inputnumber.cjs.js +6 -2
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +6 -2
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +6 -2
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/InputOtp.vue +8 -0
- package/inputotp/inputotp.cjs.js +6 -0
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.esm.js +6 -0
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +6 -0
- package/inputotp/inputotp.min.js +1 -1
- package/listbox/Listbox.d.ts +1 -1
- package/listbox/Listbox.vue +16 -5
- package/listbox/listbox.cjs.js +14 -5
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +14 -5
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +14 -5
- package/listbox/listbox.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +1 -1
- package/multiselect/MultiSelect.vue +16 -10
- package/multiselect/multiselect.cjs.js +15 -8
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +15 -8
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +15 -8
- package/multiselect/multiselect.min.js +1 -1
- package/package.json +1 -1
- package/password/BasePassword.vue +2 -2
- package/password/Password.d.ts +2 -2
- package/password/password.cjs.js +2 -2
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +2 -2
- package/password/password.esm.min.js +1 -1
- package/password/password.js +2 -2
- package/password/password.min.js +1 -1
- package/ripple/ripple.cjs.js +1 -1
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +1 -1
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +1 -1
- package/ripple/ripple.min.js +1 -1
- package/splitbutton/SplitButton.vue +1 -0
- package/splitbutton/splitbutton.cjs.js +2 -1
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +2 -1
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +2 -1
- package/splitbutton/splitbutton.min.js +1 -1
- package/tieredmenu/TieredMenu.vue +3 -2
- package/tieredmenu/tieredmenu.cjs.js +4 -3
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +4 -3
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +4 -3
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/treenode/TreeNode.d.ts +1 -1
- package/treeselect/TreeSelect.d.ts +1 -1
- package/virtualscroller/BaseVirtualScroller.vue +1 -1
- package/virtualscroller/virtualscroller.cjs.js +2 -2
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +2 -2
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +2 -2
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +1 -1
package/datatable/BodyCell.vue
CHANGED
|
@@ -390,39 +390,31 @@ export default {
|
|
|
390
390
|
}
|
|
391
391
|
},
|
|
392
392
|
findPreviousEditableColumn(cell) {
|
|
393
|
-
let prevCell = cell
|
|
393
|
+
let prevCell = cell?.previousElementSibling;
|
|
394
394
|
|
|
395
395
|
if (!prevCell) {
|
|
396
|
-
let previousRow = cell
|
|
396
|
+
let previousRow = cell?.parentElement.previousElementSibling;
|
|
397
397
|
|
|
398
398
|
if (previousRow) {
|
|
399
399
|
prevCell = previousRow.lastElementChild;
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
if (prevCell) {
|
|
400
|
+
} else return null;
|
|
401
|
+
} else {
|
|
404
402
|
if (DomHandler.getAttribute(prevCell, 'data-p-editable-column')) return prevCell;
|
|
405
403
|
else return this.findPreviousEditableColumn(prevCell);
|
|
406
|
-
} else {
|
|
407
|
-
return null;
|
|
408
404
|
}
|
|
409
405
|
},
|
|
410
406
|
findNextEditableColumn(cell) {
|
|
411
|
-
let nextCell = cell
|
|
407
|
+
let nextCell = cell?.nextElementSibling;
|
|
412
408
|
|
|
413
409
|
if (!nextCell) {
|
|
414
|
-
let nextRow = cell
|
|
410
|
+
let nextRow = cell?.parentElement.nextElementSibling;
|
|
415
411
|
|
|
416
412
|
if (nextRow) {
|
|
417
413
|
nextCell = nextRow.firstElementChild;
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
if (nextCell) {
|
|
414
|
+
} else return null;
|
|
415
|
+
} else {
|
|
422
416
|
if (DomHandler.getAttribute(nextCell, 'data-p-editable-column')) return nextCell;
|
|
423
417
|
else return this.findNextEditableColumn(nextCell);
|
|
424
|
-
} else {
|
|
425
|
-
return null;
|
|
426
418
|
}
|
|
427
419
|
},
|
|
428
420
|
onRowEditInit(event) {
|
package/datatable/DataTable.d.ts
CHANGED
package/datatable/DataTable.vue
CHANGED
|
@@ -784,31 +784,25 @@ var script$9 = {
|
|
|
784
784
|
}
|
|
785
785
|
},
|
|
786
786
|
findPreviousEditableColumn: function findPreviousEditableColumn(cell) {
|
|
787
|
-
var prevCell = cell.previousElementSibling;
|
|
787
|
+
var prevCell = cell === null || cell === void 0 ? void 0 : cell.previousElementSibling;
|
|
788
788
|
if (!prevCell) {
|
|
789
|
-
var previousRow = cell.parentElement.previousElementSibling;
|
|
789
|
+
var previousRow = cell === null || cell === void 0 ? void 0 : cell.parentElement.previousElementSibling;
|
|
790
790
|
if (previousRow) {
|
|
791
791
|
prevCell = previousRow.lastElementChild;
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
if (prevCell) {
|
|
795
|
-
if (utils.DomHandler.getAttribute(prevCell, 'data-p-editable-column')) return prevCell;else return this.findPreviousEditableColumn(prevCell);
|
|
792
|
+
} else return null;
|
|
796
793
|
} else {
|
|
797
|
-
return
|
|
794
|
+
if (utils.DomHandler.getAttribute(prevCell, 'data-p-editable-column')) return prevCell;else return this.findPreviousEditableColumn(prevCell);
|
|
798
795
|
}
|
|
799
796
|
},
|
|
800
797
|
findNextEditableColumn: function findNextEditableColumn(cell) {
|
|
801
|
-
var nextCell = cell.nextElementSibling;
|
|
798
|
+
var nextCell = cell === null || cell === void 0 ? void 0 : cell.nextElementSibling;
|
|
802
799
|
if (!nextCell) {
|
|
803
|
-
var nextRow = cell.parentElement.nextElementSibling;
|
|
800
|
+
var nextRow = cell === null || cell === void 0 ? void 0 : cell.parentElement.nextElementSibling;
|
|
804
801
|
if (nextRow) {
|
|
805
802
|
nextCell = nextRow.firstElementChild;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
if (nextCell) {
|
|
809
|
-
if (utils.DomHandler.getAttribute(nextCell, 'data-p-editable-column')) return nextCell;else return this.findNextEditableColumn(nextCell);
|
|
803
|
+
} else return null;
|
|
810
804
|
} else {
|
|
811
|
-
return
|
|
805
|
+
if (utils.DomHandler.getAttribute(nextCell, 'data-p-editable-column')) return nextCell;else return this.findNextEditableColumn(nextCell);
|
|
812
806
|
}
|
|
813
807
|
},
|
|
814
808
|
onRowEditInit: function onRowEditInit(event) {
|
|
@@ -4665,7 +4659,8 @@ var script = {
|
|
|
4665
4659
|
var data = this.dataToRender(slotProps.rows);
|
|
4666
4660
|
this.$emit('update:selection', data);
|
|
4667
4661
|
}
|
|
4668
|
-
event.
|
|
4662
|
+
var isCopyShortcut = event.code === 'KeyC' && metaKey;
|
|
4663
|
+
if (!isCopyShortcut) event.preventDefault();
|
|
4669
4664
|
break;
|
|
4670
4665
|
}
|
|
4671
4666
|
}
|