1 line
82 KiB
Plaintext
1 line
82 KiB
Plaintext
|
|
{"version":3,"file":"index.mjs","sources":["../../src/paginator/BasePaginator.vue","../../src/paginator/CurrentPageReport.vue","../../src/paginator/CurrentPageReport.vue?vue&type=template&id=14d060d8&lang.js","../../src/paginator/FirstPageLink.vue","../../src/paginator/FirstPageLink.vue?vue&type=template&id=63055d92&lang.js","../../src/paginator/JumpToPageDropdown.vue","../../src/paginator/JumpToPageDropdown.vue?vue&type=template&id=433e514a&lang.js","../../src/paginator/JumpToPageInput.vue","../../src/paginator/JumpToPageInput.vue?vue&type=template&id=1d967b02&lang.js","../../src/paginator/LastPageLink.vue","../../src/paginator/LastPageLink.vue?vue&type=template&id=58ee5aa1&lang.js","../../src/paginator/NextPageLink.vue","../../src/paginator/NextPageLink.vue?vue&type=template&id=4788b7e8&lang.js","../../src/paginator/PageLinks.vue","../../src/paginator/PageLinks.vue?vue&type=template&id=38b12249&lang.js","../../src/paginator/PrevPageLink.vue","../../src/paginator/PrevPageLink.vue?vue&type=template&id=e10e43e2&lang.js","../../src/paginator/RowsPerPageDropdown.vue","../../src/paginator/RowsPerPageDropdown.vue?vue&type=template&id=189d9ace&lang.js","../../src/paginator/Paginator.vue","../../src/paginator/Paginator.vue?vue&type=template&id=3a1c0f64&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport PaginatorStyle from 'primevue/paginator/style';\n\nexport default {\n name: 'BasePaginator',\n extends: BaseComponent,\n props: {\n totalRecords: {\n type: Number,\n default: 0\n },\n rows: {\n type: Number,\n default: 0\n },\n first: {\n type: Number,\n default: 0\n },\n pageLinkSize: {\n type: Number,\n default: 5\n },\n rowsPerPageOptions: {\n type: Array,\n default: null\n },\n template: {\n type: [Object, String],\n default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown'\n },\n currentPageReportTemplate: {\n type: null,\n default: '({currentPage} of {totalPages})'\n },\n alwaysShow: {\n type: Boolean,\n default: true\n }\n },\n style: PaginatorStyle,\n provide() {\n return {\n $pcPaginator: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <span :class=\"cx('current')\" v-bind=\"ptm('current')\">{{ text }}</span>\n</template>\n\n<script>\nimport BaseComponent from '@primevue/core/basecomponent';\n\nexport default {\n name: 'CurrentPageReport',\n hostName: 'Paginator',\n extends: BaseComponent,\n props: {\n pageCount: {\n type: Number,\n default: 0\n },\n currentPage: {\n type: Number,\n default: 0\n },\n page: {\n type: Number,\n default: 0\n },\n first: {\n type: Number,\n default: 0\n },\n rows: {\n type: Number,\n default: 0\n },\n totalRecords: {\n type: Number,\n default: 0\n },\n template: {\n type: String,\n default: '({currentPage} of {totalPages})'\n }\n },\n computed: {\n text() {\n let text = this.template\n .replace('{currentPage}', this.currentPage)\n .replace('{totalPages}', this.pageCount)\n .replace('{first}', this.pageCount > 0 ? this.first + 1 : 0)\n .replace('{last}', Math.min(this.first + this.rows, this.totalRecords))\n .replace('{rows}', this.rows)\n .replace('{totalRecords}', this.totalRecords);\n\n return text;\n }\n }\n};\n</script>\n","<template>\n <span :class=\"cx('current')\" v-bind=\"ptm('current')\">{{ text }}</span>\n</template>\n\n<script>\nimpo
|