sprintify-ui 0.0.180 → 0.0.182
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/sprintify-ui.es.js +5400 -5380
- package/dist/style.css +1 -1
- package/dist/types/src/components/BaseDataIterator.vue.d.ts +17 -1
- package/dist/types/src/components/BaseDataIteratorSectionColumns.vue.d.ts +4 -0
- package/dist/types/src/components/BaseDataTable.vue.d.ts +15 -0
- package/dist/types/src/components/BaseTable.vue.d.ts +1 -0
- package/package.json +1 -1
- package/src/assets/main.css +2 -2
- package/src/components/BaseDataIterator.vue +42 -26
- package/src/components/BaseDataTable.vue +32 -0
- package/src/components/BaseTable.vue +7 -0
|
@@ -844,6 +844,12 @@ function firstColStyles(th: boolean): any {
|
|
|
844
844
|
};
|
|
845
845
|
}
|
|
846
846
|
|
|
847
|
+
function scrollTop() {
|
|
848
|
+
if (scrollable.value) {
|
|
849
|
+
scrollable.value.scrollTo({ top: 0, behavior: 'smooth' });
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
|
|
847
853
|
provide('addColumn', addColumn);
|
|
848
854
|
provide('removeColumn', removeColumn);
|
|
849
855
|
provide('nextSequence', nextSequence);
|
|
@@ -851,6 +857,7 @@ provide('nextSequence', nextSequence);
|
|
|
851
857
|
defineExpose({
|
|
852
858
|
newColumns,
|
|
853
859
|
uncheckAll,
|
|
860
|
+
scrollTop,
|
|
854
861
|
});
|
|
855
862
|
</script>
|
|
856
863
|
|