@dataloop-ai/components 0.19.144 → 0.19.146
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/package.json
CHANGED
|
@@ -1105,7 +1105,7 @@ export default defineComponent({
|
|
|
1105
1105
|
methods: {
|
|
1106
1106
|
onKeydown(e: KeyboardEvent) {
|
|
1107
1107
|
if (e.key !== 'Backspace') {
|
|
1108
|
-
if (!/^[\d.]$/.test(e.key)) {
|
|
1108
|
+
if (this.type === 'number' && !/^[\d.]$/.test(e.key)) {
|
|
1109
1109
|
e.preventDefault()
|
|
1110
1110
|
return
|
|
1111
1111
|
}
|
|
@@ -99,6 +99,9 @@
|
|
|
99
99
|
:bordered="bordered"
|
|
100
100
|
:draggable="draggable"
|
|
101
101
|
:dense="dense"
|
|
102
|
+
:pagination="{
|
|
103
|
+
rowsPerPage: 10
|
|
104
|
+
}"
|
|
102
105
|
class="sticky-header"
|
|
103
106
|
:filter="filter"
|
|
104
107
|
:selection="selection"
|
|
@@ -698,7 +701,7 @@
|
|
|
698
701
|
virtual-scroll
|
|
699
702
|
expandable-rows
|
|
700
703
|
@virtual-scroll="onScrollGenerate"
|
|
701
|
-
@update:pagination="
|
|
704
|
+
@update:pagination="log('hi')"
|
|
702
705
|
@col-update="updateColumns"
|
|
703
706
|
>
|
|
704
707
|
<template #body-cell-expandable-content="{ row }">
|