@citizenplane/pimp 8.10.0 → 8.11.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/dist/pimp.es.js +2082 -2082
- package/dist/pimp.umd.js +3 -3
- package/package.json +1 -1
- package/src/components/lists-and-table/CpTable.vue +4 -0
package/package.json
CHANGED
|
@@ -389,6 +389,10 @@ const getTabindex = (rowData) => (isFullWidthRow(rowData) ? -1 : 0)
|
|
|
389
389
|
const isFullWidthRow = (rowData) => CpTableConfig.RESERVED_KEYS.FULL_WIDTH in rowData
|
|
390
390
|
const isRowSelected = (rowIndex) => rawVisibleRows.value[rowIndex][CpTableConfig.RESERVED_KEYS.IS_SELECTED]
|
|
391
391
|
const areRowOptionsEnabled = (rowData) => props.enableRowOptions && !isFullWidthRow(rowData)
|
|
392
|
+
|
|
393
|
+
const resetPagination = () => (pageNumber.value = 0)
|
|
394
|
+
|
|
395
|
+
defineExpose({ resetPagination })
|
|
392
396
|
</script>
|
|
393
397
|
|
|
394
398
|
<style lang="scss">
|