quasar-factory-lib 0.1.19 → 0.1.20
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/dist/components/Table/Table.vue.d.ts +1 -0
- package/dist/layouts/PdaLayout.vue.d.ts +21 -269
- package/dist/pages/TablePage.vue.d.ts +1 -0
- package/dist/quasar-factory-lib.js +372 -367
- package/dist/quasar-factory-lib.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/Table/Table.vue +9 -2
- package/src/layouts/PdaLayout.vue +123 -752
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template lang="">
|
|
2
2
|
<div>
|
|
3
3
|
<q-table
|
|
4
|
-
v-
|
|
4
|
+
v-if="!showSkeleton && rowsData.length"
|
|
5
5
|
ref="myTable"
|
|
6
6
|
v-model:selected="selected"
|
|
7
7
|
v-model:pagination="pagination"
|
|
@@ -25,9 +25,13 @@
|
|
|
25
25
|
:selected-rows-label="getSelectedString"
|
|
26
26
|
:loading="loading"
|
|
27
27
|
virtual-scroll
|
|
28
|
+
@virtual-scroll="onVirtualScroll"
|
|
29
|
+
:virtual-scroll-item-size="48"
|
|
30
|
+
:virtual-scroll-slice-ratio-before="0"
|
|
28
31
|
@update:selected="(details) => {
|
|
29
32
|
$emit('onUpdateSelected', details)
|
|
30
33
|
}"
|
|
34
|
+
|
|
31
35
|
>
|
|
32
36
|
<template #top-right="props">
|
|
33
37
|
<q-separator />
|
|
@@ -558,7 +562,10 @@ export default defineComponent({
|
|
|
558
562
|
elementToScroll.removeEventListener('scroll', fnAddScroll)
|
|
559
563
|
elementToScroll.addEventListener('scroll', fnAddScroll)
|
|
560
564
|
})
|
|
561
|
-
}
|
|
565
|
+
},
|
|
566
|
+
onVirtualScroll (args) {
|
|
567
|
+
console.log('args', args)
|
|
568
|
+
},
|
|
562
569
|
}
|
|
563
570
|
})
|
|
564
571
|
</script>
|