@dataloop-ai/components 0.19.145 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.19.145",
3
+ "version": "0.19.146",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -125,7 +125,7 @@ export function useTablePaginationState(
125
125
  return
126
126
  }
127
127
 
128
- if (!props.pagination) {
128
+ if (!props.pagination || !props['update:pagination']) {
129
129
  innerPagination.value = newPagination
130
130
  }
131
131
 
@@ -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="() => console.log('@@@@ hey')"
704
+ @update:pagination="log('hi')"
702
705
  @col-update="updateColumns"
703
706
  >
704
707
  <template #body-cell-expandable-content="{ row }">