primevue
Version:
PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc
1 lines • 28.8 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../src/dataview/BaseDataView.vue","../../src/dataview/DataView.vue","../../src/dataview/DataView.vue?vue&type=template&id=5e298d9d&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport DataViewStyle from 'primevue/dataview/style';\n\nexport default {\n name: 'BaseDataView',\n extends: BaseComponent,\n props: {\n value: {\n type: Array,\n default: null\n },\n layout: {\n type: String,\n default: 'list'\n },\n rows: {\n type: Number,\n default: 0\n },\n first: {\n type: Number,\n default: 0\n },\n totalRecords: {\n type: Number,\n default: 0\n },\n paginator: {\n type: Boolean,\n default: false\n },\n paginatorPosition: {\n type: String,\n default: 'bottom'\n },\n alwaysShowPaginator: {\n type: Boolean,\n default: true\n },\n paginatorTemplate: {\n type: String,\n default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown'\n },\n pageLinkSize: {\n type: Number,\n default: 5\n },\n rowsPerPageOptions: {\n type: Array,\n default: null\n },\n currentPageReportTemplate: {\n type: String,\n default: '({currentPage} of {totalPages})'\n },\n sortField: {\n type: [String, Function],\n default: null\n },\n sortOrder: {\n type: Number,\n default: null\n },\n lazy: {\n type: Boolean,\n default: false\n },\n dataKey: {\n type: String,\n default: null\n }\n },\n style: DataViewStyle,\n provide() {\n return {\n $pcDataView: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" v-bind=\"ptmi('root')\">\n <div v-if=\"$slots.header\" :class=\"cx('header')\" v-bind=\"ptm('header')\">\n <slot name=\"header\"></slot>\n </div>\n <DVPaginator\n v-if=\"paginatorTop\"\n :rows=\"d_rows\"\n :first=\"d_first\"\n :totalRecords=\"getTotalRecords\"\n :pageLinkSize=\"pageLinkSize\"\n :template=\"paginatorTemplate\"\n :rowsPerPageOptions=\"rowsPerPageOptions\"\n :currentPageReportTemplate=\"currentPageReportTemplate\"\n :class=\"cx('pcPaginator', { position: 'top' })\"\n :alwaysShow=\"alwaysShowPaginator\"\n @page=\"onPage($event)\"\n :unstyled=\"unstyled\"\n :pt=\"ptm('pcPaginator')\"\n >\n <template v-if=\"$slots.paginatorcontainer\" #container=\"slotProps\">\n <slot\n name=\"paginatorcontainer\"\n :first=\"slotProps.first\"\n :last=\"slotProps.last\"\n :rows=\"slotProps.rows\"\n :page=\"slotProps.page\"\n :pageCount=\"slotProps.pageCount\"\n :pageLinks=\"slotProps.pageLinks\"\n :totalRecords=\"slotProps.totalRecords\"\n :firstPageCallback=\"slotProps.firstPageCallback\"\n :lastPageCallback=\"slotProps.lastPageCallback\"\n :prevPageCallback=\"slotProps.prevPageCallback\"\n :nextPageCallback=\"slotProps.nextPageCallback\"\n :rowChangeCallback=\"slotProps.rowChangeCallback\"\n :changePageCallback=\"slotProps.changePageCallback\"\n ></slot>\n </template>\n <template v-if=\"$slots.paginatorstart\" #start>\n <slot name=\"paginatorstart\"></slot>\n </template>\n <template v-if=\"$slots.paginatorend\" #end>\n <slot name=\"paginatorend\"></slot>\n </template>\n </DVPaginator>\n <div :class=\"cx('content')\" v-bind=\"ptm('content')\">\n <template v-if=\"!empty\">\n <slot v-if=\"$slots.list && layout === 'list'\" name=\"list\" :items=\"items\"></slot>\n <slot v-if=\"$slots.grid && layout === 'grid'\" name=\"grid\" :items=\"items\"></slot>\n </template>\n <div v-else :class=\"cx('emptyMessage')\" v-bind=\"ptm('emptyMessage')\">\n <slot name=\"empty\" :layout=\"layout\">\n {{ emptyMessageText }}\n </slot>\n </div>\n </div>\n <DVPaginator\n v-if=\"paginatorBottom\"\n :rows=\"d_rows\"\n :first=\"d_first\"\n :totalRecords=\"getTotalRecords\"\n :pageLinkSize=\"pageLinkSize\"\n :template=\"paginatorTemplate\"\n :rowsPerPageOptions=\"rowsPerPageOptions\"\n :currentPageReportTemplate=\"currentPageReportTemplate\"\n :class=\"cx('pcPaginator', { position: 'bottom' })\"\n :alwaysShow=\"alwaysShowPaginator\"\n @page=\"onPage($event)\"\n :unstyled=\"unstyled\"\n :pt=\"ptm('pcPaginator')\"\n >\n <template v-if=\"$slots.paginatorcontainer\" #container=\"slotProps\">\n <slot\n name=\"paginatorcontainer\"\n :first=\"slotProps.first\"\n :last=\"slotProps.last\"\n :rows=\"slotProps.rows\"\n :page=\"slotProps.page\"\n :pageCount=\"slotProps.pageCount\"\n :pageLinks=\"slotProps.pageLinks\"\n :totalRecords=\"slotProps.totalRecords\"\n :firstPageCallback=\"slotProps.firstPageCallback\"\n :lastPageCallback=\"slotProps.lastPageCallback\"\n :prevPageCallback=\"slotProps.prevPageCallback\"\n :nextPageCallback=\"slotProps.nextPageCallback\"\n :rowChangeCallback=\"slotProps.rowChangeCallback\"\n :changePageCallback=\"slotProps.changePageCallback\"\n ></slot>\n </template>\n <template v-if=\"$slots.paginatorstart\" #start>\n <slot name=\"paginatorstart\"></slot>\n </template>\n <template v-if=\"$slots.paginatorend\" #end>\n <slot name=\"paginatorend\"></slot>\n </template>\n </DVPaginator>\n <div v-if=\"$slots.footer\" :class=\"cx('footer')\" v-bind=\"ptm('footer')\">\n <slot name=\"footer\"></slot>\n </div>\n </div>\n</template>\n\n<script>\nimport { localeComparator, resolveFieldData, sort } from '@primeuix/utils/object';\nimport Paginator from 'primevue/paginator';\nimport BaseDataView from './BaseDataView.vue';\n\nexport default {\n name: 'DataView',\n extends: BaseDataView,\n inheritAttrs: false,\n emits: ['update:first', 'update:rows', 'page'],\n data() {\n return {\n d_first: this.first,\n d_rows: this.rows\n };\n },\n watch: {\n first(newValue) {\n this.d_first = newValue;\n },\n rows(newValue) {\n this.d_rows = newValue;\n },\n sortField() {\n this.resetPage();\n },\n sortOrder() {\n this.resetPage();\n }\n },\n methods: {\n getKey(item, index) {\n return this.dataKey ? resolveFieldData(item, this.dataKey) : index;\n },\n onPage(event) {\n this.d_first = event.first;\n this.d_rows = event.rows;\n\n this.$emit('update:first', this.d_first);\n this.$emit('update:rows', this.d_rows);\n this.$emit('page', event);\n },\n sort() {\n if (this.value) {\n const value = [...this.value];\n const comparer = localeComparator();\n\n value.sort((data1, data2) => {\n let value1 = resolveFieldData(data1, this.sortField);\n let value2 = resolveFieldData(data2, this.sortField);\n\n return sort(value1, value2, this.sortOrder, comparer);\n });\n\n return value;\n } else {\n return null;\n }\n },\n resetPage() {\n this.d_first = 0;\n this.$emit('update:first', this.d_first);\n }\n },\n computed: {\n getTotalRecords() {\n if (this.totalRecords) return this.totalRecords;\n else return this.value ? this.value.length : 0;\n },\n empty() {\n return !this.value || this.value.length === 0;\n },\n emptyMessageText() {\n return this.$primevue.config?.locale?.emptyMessage || '';\n },\n paginatorTop() {\n return this.paginator && (this.paginatorPosition !== 'bottom' || this.paginatorPosition === 'both');\n },\n paginatorBottom() {\n return this.paginator && (this.paginatorPosition !== 'top' || this.paginatorPosition === 'both');\n },\n items() {\n if (this.value && this.value.length) {\n let data = this.value;\n\n if (data && data.length && this.sortField) {\n data = this.sort();\n }\n\n if (this.paginator) {\n const first = this.lazy ? 0 : this.d_first;\n\n return data.slice(first, first + this.d_rows);\n } else {\n return data;\n }\n } else {\n return null;\n }\n }\n },\n components: {\n DVPaginator: Paginator\n }\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" v-bind=\"ptmi('root')\">\n <div v-if=\"$slots.header\" :class=\"cx('header')\" v-bind=\"ptm('header')\">\n <slot name=\"header\"></slot>\n </div>\n <DVPaginator\n v-if=\"paginatorTop\"\n :rows=\"d_rows\"\n :first=\"d_first\"\n :totalRecords=\"getTotalRecords\"\n :pageLinkSize=\"pageLinkSize\"\n :template=\"paginatorTemplate\"\n :rowsPerPageOptions=\"rowsPerPageOptions\"\n :currentPageReportTemplate=\"currentPageReportTemplate\"\n :class=\"cx('pcPaginator', { position: 'top' })\"\n :alwaysShow=\"alwaysShowPaginator\"\n @page=\"onPage($event)\"\n :unstyled=\"unstyled\"\n :pt=\"ptm('pcPaginator')\"\n >\n <template v-if=\"$slots.paginatorcontainer\" #container=\"slotProps\">\n <slot\n name=\"paginatorcontainer\"\n :first=\"slotProps.first\"\n :last=\"slotProps.last\"\n :rows=\"slotProps.rows\"\n :page=\"slotProps.page\"\n :pageCount=\"slotProps.pageCount\"\n :pageLinks=\"slotProps.pageLinks\"\n :totalRecords=\"slotProps.totalRecords\"\n :firstPageCallback=\"slotProps.firstPageCallback\"\n :lastPageCallback=\"slotProps.lastPageCallback\"\n :prevPageCallback=\"slotProps.prevPageCallback\"\n :nextPageCallback=\"slotProps.nextPageCallback\"\n :rowChangeCallback=\"slotProps.rowChangeCallback\"\n :changePageCallback=\"slotProps.changePageCallback\"\n ></slot>\n </template>\n <template v-if=\"$slots.paginatorstart\" #start>\n <slot name=\"paginatorstart\"></slot>\n </template>\n <template v-if=\"$slots.paginatorend\" #end>\n <slot name=\"paginatorend\"></slot>\n </template>\n </DVPaginator>\n <div :class=\"cx('content')\" v-bind=\"ptm('content')\">\n <template v-if=\"!empty\">\n <slot v-if=\"$slots.list && layout === 'list'\" name=\"list\" :items=\"items\"></slot>\n <slot v-if=\"$slots.grid && layout === 'grid'\" name=\"grid\" :items=\"items\"></slot>\n </template>\n <div v-else :class=\"cx('emptyMessage')\" v-bind=\"ptm('emptyMessage')\">\n <slot name=\"empty\" :layout=\"layout\">\n {{ emptyMessageText }}\n </slot>\n </div>\n </div>\n <DVPaginator\n v-if=\"paginatorBottom\"\n :rows=\"d_rows\"\n :first=\"d_first\"\n :totalRecords=\"getTotalRecords\"\n :pageLinkSize=\"pageLinkSize\"\n :template=\"paginatorTemplate\"\n :rowsPerPageOptions=\"rowsPerPageOptions\"\n :currentPageReportTemplate=\"currentPageReportTemplate\"\n :class=\"cx('pcPaginator', { position: 'bottom' })\"\n :alwaysShow=\"alwaysShowPaginator\"\n @page=\"onPage($event)\"\n :unstyled=\"unstyled\"\n :pt=\"ptm('pcPaginator')\"\n >\n <template v-if=\"$slots.paginatorcontainer\" #container=\"slotProps\">\n <slot\n name=\"paginatorcontainer\"\n :first=\"slotProps.first\"\n :last=\"slotProps.last\"\n :rows=\"slotProps.rows\"\n :page=\"slotProps.page\"\n :pageCount=\"slotProps.pageCount\"\n :pageLinks=\"slotProps.pageLinks\"\n :totalRecords=\"slotProps.totalRecords\"\n :firstPageCallback=\"slotProps.firstPageCallback\"\n :lastPageCallback=\"slotProps.lastPageCallback\"\n :prevPageCallback=\"slotProps.prevPageCallback\"\n :nextPageCallback=\"slotProps.nextPageCallback\"\n :rowChangeCallback=\"slotProps.rowChangeCallback\"\n :changePageCallback=\"slotProps.changePageCallback\"\n ></slot>\n </template>\n <template v-if=\"$slots.paginatorstart\" #start>\n <slot name=\"paginatorstart\"></slot>\n </template>\n <template v-if=\"$slots.paginatorend\" #end>\n <slot name=\"paginatorend\"></slot>\n </template>\n </DVPaginator>\n <div v-if=\"$slots.footer\" :class=\"cx('footer')\" v-bind=\"ptm('footer')\">\n <slot name=\"footer\"></slot>\n </div>\n </div>\n</template>\n\n<script>\nimport { localeComparator, resolveFieldData, sort } from '@primeuix/utils/object';\nimport Paginator from 'primevue/paginator';\nimport BaseDataView from './BaseDataView.vue';\n\nexport default {\n name: 'DataView',\n extends: BaseDataView,\n inheritAttrs: false,\n emits: ['update:first', 'update:rows', 'page'],\n data() {\n return {\n d_first: this.first,\n d_rows: this.rows\n };\n },\n watch: {\n first(newValue) {\n this.d_first = newValue;\n },\n rows(newValue) {\n this.d_rows = newValue;\n },\n sortField() {\n this.resetPage();\n },\n sortOrder() {\n this.resetPage();\n }\n },\n methods: {\n getKey(item, index) {\n return this.dataKey ? resolveFieldData(item, this.dataKey) : index;\n },\n onPage(event) {\n this.d_first = event.first;\n this.d_rows = event.rows;\n\n this.$emit('update:first', this.d_first);\n this.$emit('update:rows', this.d_rows);\n this.$emit('page', event);\n },\n sort() {\n if (this.value) {\n const value = [...this.value];\n const comparer = localeComparator();\n\n value.sort((data1, data2) => {\n let value1 = resolveFieldData(data1, this.sortField);\n let value2 = resolveFieldData(data2, this.sortField);\n\n return sort(value1, value2, this.sortOrder, comparer);\n });\n\n return value;\n } else {\n return null;\n }\n },\n resetPage() {\n this.d_first = 0;\n this.$emit('update:first', this.d_first);\n }\n },\n computed: {\n getTotalRecords() {\n if (this.totalRecords) return this.totalRecords;\n else return this.value ? this.value.length : 0;\n },\n empty() {\n return !this.value || this.value.length === 0;\n },\n emptyMessageText() {\n return this.$primevue.config?.locale?.emptyMessage || '';\n },\n paginatorTop() {\n return this.paginator && (this.paginatorPosition !== 'bottom' || this.paginatorPosition === 'both');\n },\n paginatorBottom() {\n return this.paginator && (this.paginatorPosition !== 'top' || this.paginatorPosition === 'both');\n },\n items() {\n if (this.value && this.value.length) {\n let data = this.value;\n\n if (data && data.length && this.sortField) {\n data = this.sort();\n }\n\n if (this.paginator) {\n const first = this.lazy ? 0 : this.d_first;\n\n return data.slice(first, first + this.d_rows);\n } else {\n return data;\n }\n } else {\n return null;\n }\n }\n },\n components: {\n DVPaginator: Paginator\n }\n};\n</script>\n"],"names":["name","BaseComponent","props","value","type","Array","layout","String","rows","Number","first","totalRecords","paginator","Boolean","paginatorPosition","alwaysShowPaginator","paginatorTemplate","pageLinkSize","rowsPerPageOptions","currentPageReportTemplate","sortField","Function","sortOrder","lazy","dataKey","style","DataViewStyle","provide","$pcDataView","$parentInstance","BaseDataView","inheritAttrs","emits","data","d_first","d_rows","watch","newValue","resetPage","methods","getKey","item","index","resolveFieldData","onPage","event","$emit","sort","_this","_toConsumableArray","comparer","localeComparator","data1","data2","value1","value2","computed","getTotalRecords","length","empty","emptyMessageText","_this$$primevue$confi","$primevue","config","locale","emptyMessage","paginatorTop","paginatorBottom","items","slice","components","DVPaginator","Paginator","_openBlock","_createElementBlock","_mergeProps","_ctx","cx","ptmi","$slots","header","ptm","_renderSlot","$options","_createBlock","_component_DVPaginator","$data","template","position","alwaysShow","_cache","$event","unstyled","pt","paginatorcontainer","fn","_withCtx","slotProps","last","page","pageCount","pageLinks","firstPageCallback","lastPageCallback","prevPageCallback","nextPageCallback","rowChangeCallback","changePageCallback","paginatorstart","paginatorend","_createElementVNode","_Fragment","key","list","grid","footer"],"mappings":";;;;;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,cAAc;AACpB,EAAA,SAAA,EAASC,aAAa;AACtBC,EAAAA,KAAK,EAAE;AACHC,IAAAA,KAAK,EAAE;AACHC,MAAAA,IAAI,EAAEC,KAAK;MACX,SAAS,EAAA;KACZ;AACDC,IAAAA,MAAM,EAAE;AACJF,MAAAA,IAAI,EAAEG,MAAM;MACZ,SAAS,EAAA;KACZ;AACDC,IAAAA,IAAI,EAAE;AACFJ,MAAAA,IAAI,EAAEK,MAAM;MACZ,SAAS,EAAA;KACZ;AACDC,IAAAA,KAAK,EAAE;AACHN,MAAAA,IAAI,EAAEK,MAAM;MACZ,SAAS,EAAA;KACZ;AACDE,IAAAA,YAAY,EAAE;AACVP,MAAAA,IAAI,EAAEK,MAAM;MACZ,SAAS,EAAA;KACZ;AACDG,IAAAA,SAAS,EAAE;AACPR,MAAAA,IAAI,EAAES,OAAO;MACb,SAAS,EAAA;KACZ;AACDC,IAAAA,iBAAiB,EAAE;AACfV,MAAAA,IAAI,EAAEG,MAAM;MACZ,SAAS,EAAA;KACZ;AACDQ,IAAAA,mBAAmB,EAAE;AACjBX,MAAAA,IAAI,EAAES,OAAO;MACb,SAAS,EAAA;KACZ;AACDG,IAAAA,iBAAiB,EAAE;AACfZ,MAAAA,IAAI,EAAEG,MAAM;MACZ,SAAS,EAAA;KACZ;AACDU,IAAAA,YAAY,EAAE;AACVb,MAAAA,IAAI,EAAEK,MAAM;MACZ,SAAS,EAAA;KACZ;AACDS,IAAAA,kBAAkB,EAAE;AAChBd,MAAAA,IAAI,EAAEC,KAAK;MACX,SAAS,EAAA;KACZ;AACDc,IAAAA,yBAAyB,EAAE;AACvBf,MAAAA,IAAI,EAAEG,MAAM;MACZ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