{"version":3,"sources":["webpack:///./node_modules/vuetify/lib/components/VDataTable/VSimpleTable.js","webpack:///./node_modules/vuetify/lib/components/VData/VData.js","webpack:///./node_modules/vuetify/lib/components/VDataIterator/VDataFooter.js","webpack:///./node_modules/vuetify/lib/components/VDataIterator/VDataIterator.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/mixins/header.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/VDataTableHeaderMobile.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/VDataTableHeaderDesktop.js","webpack:///./node_modules/vuetify/lib/util/dedupeModelListeners.js","webpack:///./node_modules/vuetify/lib/util/rebuildFunctionalSlots.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/VDataTableHeader.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/Row.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/RowGroup.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/MobileRow.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/VDataTable.js"],"names":["extend","name","props","dense","Boolean","fixedHeader","height","Number","String","computed","this","$slots","top","bottom","themeClasses","methods","wrapper","$createElement","staticClass","style","default","h","class","classes","genWrapper","inheritAttrs","items","type","Array","options","Object","sortBy","sortDesc","customSort","Function","mustSort","multiSort","page","itemsPerPage","groupBy","groupDesc","customGroup","locale","disableSort","disablePagination","disableFiltering","search","customFilter","serverItemsLength","internalOptions","assign","sortDiff","length","groupDiff","push","filteredItems","Math","ceil","itemsLength","min","pageStart","pageStop","pageCount","slice","sortItems","paginateItems","isGrouped","groupItems","computedItems","sort","sortArray","group","updateOptions","pagination","groupedItems","originalItemsLength","watch","computedOptions","old","deep","immediate","$emit","isArray","key","oldBy","oldDesc","by","desc","byIndex","findIndex","k","splice","toggle","map","s","i","max","$scopedSlots","scopedProps","required","itemsPerPageOptions","prevIcon","nextIcon","firstIcon","lastIcon","itemsPerPageText","itemsPerPageAllText","showFirstLastPage","showCurrentPage","disableItemsPerPage","pageText","option","genDataItemsPerPageOption","obj","text","$vuetify","lang","t","value","computedIPPO","computedDataItemsPerPageOptions","find","ippo","VSelect","attrs","disabled","hideDetails","auto","minWidth","on","input","onChangeItemsPerPage","children","click","label","icon","VBtn","VIcon","before","after","genIcon","onPreviousPage","rtl","onNextPage","disableNextPageIcon","unshift","onFirstPage","onLastPage","toString","genItemsPerPageSelect","genPaginationInfo","genIcons","mixins","VData","itemKey","singleSelect","expanded","mobileBreakpoint","singleExpand","loading","noResultsText","noDataText","loadingText","hideDefaultFooter","footerProps","selectableKey","data","selection","expansion","internalCurrentItems","shiftKeyDown","lastEntry","selectableItems","every","isSelected","some","filter","item","isSelectable","reduce","keys","values","includes","breakingProps","forEach","original","replacement","$attrs","hasOwnProperty","removedProps","prop","window","addEventListener","onKeyDown","onKeyUp","removeEventListener","e","keyCode","shift","emit","index","x","lastEntryKey","lastEntryKeySelected","multipleSelect","start","end","currentItem","select","v","expand","isExpanded","isMobile","content","filteredItemsLength","genEmptyWrapper","noData","noResults","empty","genEmpty","createItemProps","sanitizedFooterProps","scopedSlots","outerProps","someItems","everyItem","toggleSelectAll","genItems","genFooter","$props","genDefaultScopedSlot","directives","ripple","headers","checkboxColor","sortIcon","showGroupBy","_this$checkboxColor","indeterminate","color","VSimpleCheckbox","size","sortByText","sortIndex","beingSorted","isDesc","sortable","active","asc","genSortIcon","VChip","stopPropagation","multiple","menuProps","closeOnContentClick","change","genSortChip","header","width","genSelectAll","sortHeaders","genSortSelect","th","tr","$t","ariaSort","ariaLabel","join","role","scope","align","divider","getAria","groupable","genGroupByToggle","genHeader","dedupeModelListeners","model","indexOf","callback","rebuildFunctionalSlots","slots","slot","functional","mobile","mergeData","VDataTableHeaderMobile","VDataTableHeaderDesktop","computedSlots","columns","slotName","scopedSlot","regularSlot","textAlign","cellClass","headerClass","contentClass","summaryClass","hideDefaultHeader","mobileRowChildren","filterFn","searchTableItems","headersWithCustomFilters","headersWithoutCustomFilters","trim","matchesColumnFilters","matchesSearchTerm","VDataIterator","showSelect","showExpand","caption","headerProps","calculateWidths","headersLength","expandIcon","itemClass","loaderHeight","internalGroupBy","openCache","widths","undefined","defaultHeader","colspan","computedHeaders","acc","filterable","firstOption","calcWidths","from","$el","querySelectorAll","clientWidth","columnSorters","call","colspanAttrs","genProgress","sanitizedHeaderProps","genLoading","genGroupedRows","genRows","$set","genDefaultGroupedRow","isOpen","toggleFn","removeFn","remove","small","column","RowGroup","genScopedRows","genDefaultRows","rows","genDefaultExpandedRow","genDefaultSimpleRow","headerRow","expandedRow","val","MobileRow","Row","contextmenu","event","dblclick","body","_this$$scopedSlots$fo","_this$$scopedSlots","foot","simpleProps","VSimpleTable","proxySlot","genCaption","genColgroup","genHeaders","genBody","genFoot","genFooters","customFilterWithColumns","customSortWithHeaders","computedItemsPerPage"],"mappings":"kHAAA,kDAIe,sBAAO,QAAWA,OAAO,CACtCC,KAAM,iBACNC,MAAO,CACLC,MAAOC,QACPC,YAAaD,QACbE,OAAQ,CAACC,OAAQC,SAEnBC,SAAU,CACR,UACE,MAAO,CACL,sBAAuBC,KAAKP,MAC5B,+BAAgCO,KAAKJ,SAAWI,KAAKL,YACrD,6BAA8BK,KAAKL,YACnC,0BAA2BK,KAAKC,OAAOC,IACvC,6BAA8BF,KAAKC,OAAOE,UACvCH,KAAKI,gBAKdC,QAAS,CACP,aACE,OAAOL,KAAKC,OAAOK,SAAWN,KAAKO,eAAe,MAAO,CACvDC,YAAa,wBACbC,MAAO,CACLb,OAAQ,eAAcI,KAAKJ,UAE5B,CAACI,KAAKO,eAAe,QAASP,KAAKC,OAAOS,aAKjD,OAAOC,GACL,OAAOA,EAAE,MAAO,CACdH,YAAa,eACbI,MAAOZ,KAAKa,SACX,CAACb,KAAKC,OAAOC,IAAKF,KAAKc,aAAcd,KAAKC,OAAOE,a,4HCrCzC,SAAIb,OAAO,CACxBC,KAAM,SACNwB,cAAc,EACdvB,MAAO,CACLwB,MAAO,CACLC,KAAMC,MACNR,QAAS,IAAM,IAEjBS,QAAS,CACPF,K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lV,aAAc5B,KAAK+W,sBAErBxP,GAAI,CACF,iBAAkB,CAACgF,EAAGnI,KACpBpE,KAAKmT,gBAAkB5G,EAAE1K,SAAW,IACnC,eAAU0K,EAAGnI,IAAQpE,KAAKuE,MAAM,iBAAkBgI,IAErD,cAAeA,GAAKvM,KAAKuE,MAAM,cAAegI,GAC9C,wBAAyBA,GAAKvM,KAAKuE,MAAM,wBAAyBgI,GAClE,iBAAkBA,GAAKvM,KAAKuE,MAAM,iBAAkBgI,GACpD,mBAAoBA,GAAKvM,KAAKuE,MAAM,mBAAoBgI,GACxD,kBAAmBA,GAAKvM,KAAKuE,MAAM,kBAAmBgI,GACtD,oBAAqBA,GAAKvM,KAAKuE,MAAM,oBAAqBgI,GAC1DxI,WAAY,CAACwI,EAAGnI,KAAS,eAAUmI,EAAGnI,IAAQpE,KAAKuE,MAAM,aAAcgI,GACvE,gBAAiBA,IACfvM,KAAK+J,qBAAuBwC,EAC5BvM,KAAKuE,MAAM,gBAAiBgI,IAE9B,aAAcA,GAAKvM,KAAKuE,MAAM,aAAcgI,IAE9Ca,YAAa,CACX1M,QAASV,KAAK4N,4B","file":"js/chunk-0e0ed1d3.77d5dad7.js","sourcesContent":["import \"../../../src/components/VDataTable/VSimpleTable.sass\";\nimport { convertToUnit } from '../../util/helpers';\nimport Themeable from '../../mixins/themeable';\nimport mixins from '../../util/mixins';\nexport default mixins(Themeable).extend({\n name: 'v-simple-table',\n props: {\n dense: Boolean,\n fixedHeader: Boolean,\n height: [Number, String]\n },\n computed: {\n classes() {\n return {\n 'v-data-table--dense': this.dense,\n 'v-data-table--fixed-height': !!this.height && !this.fixedHeader,\n 'v-data-table--fixed-header': this.fixedHeader,\n 'v-data-table--has-top': !!this.$slots.top,\n 'v-data-table--has-bottom': !!this.$slots.bottom,\n ...this.themeClasses\n };\n }\n\n },\n methods: {\n genWrapper() {\n return this.$slots.wrapper || this.$createElement('div', {\n staticClass: 'v-data-table__wrapper',\n style: {\n height: convertToUnit(this.height)\n }\n }, [this.$createElement('table', this.$slots.default)]);\n }\n\n },\n\n render(h) {\n return h('div', {\n staticClass: 'v-data-table',\n class: this.classes\n }, [this.$slots.top, this.genWrapper(), this.$slots.bottom]);\n }\n\n});\n//# sourceMappingURL=VSimpleTable.js.map","// Helpers\nimport { wrapInArray, sortItems, deepEqual, groupItems, searchItems, fillArray } from '../../util/helpers';\nimport Vue from 'vue';\nexport default Vue.extend({\n name: 'v-data',\n inheritAttrs: false,\n props: {\n items: {\n type: Array,\n default: () => []\n },\n options: {\n type: Object,\n default: () => ({})\n },\n sortBy: {\n type: [String, Array],\n default: () => []\n },\n sortDesc: {\n type: [Boolean, Array],\n default: () => []\n },\n customSort: {\n type: Function,\n default: sortItems\n },\n mustSort: Boolean,\n multiSort: Boolean,\n page: {\n type: Number,\n default: 1\n },\n itemsPerPage: {\n type: Number,\n default: 10\n },\n groupBy: {\n type: [String, Array],\n default: () => []\n },\n groupDesc: {\n type: [Boolean, Array],\n default: () => []\n },\n customGroup: {\n type: Function,\n default: groupItems\n },\n locale: {\n type: String,\n default: 'en-US'\n },\n disableSort: Boolean,\n disablePagination: Boolean,\n disableFiltering: Boolean,\n search: String,\n customFilter: {\n type: Function,\n default: searchItems\n },\n serverItemsLength: {\n type: Number,\n default: -1\n }\n },\n\n data() {\n let internalOptions = {\n page: this.page,\n itemsPerPage: this.itemsPerPage,\n sortBy: wrapInArray(this.sortBy),\n sortDesc: wrapInArray(this.sortDesc),\n groupBy: wrapInArray(this.groupBy),\n groupDesc: wrapInArray(this.groupDesc),\n mustSort: this.mustSort,\n multiSort: this.multiSort\n };\n\n if (this.options) {\n internalOptions = Object.assign(internalOptions, this.options);\n }\n\n const {\n sortBy,\n sortDesc,\n groupBy,\n groupDesc\n } = internalOptions;\n const sortDiff = sortBy.length - sortDesc.length;\n const groupDiff = groupBy.length - groupDesc.length;\n\n if (sortDiff > 0) {\n internalOptions.sortDesc.push(...fillArray(sortDiff, false));\n }\n\n if (groupDiff > 0) {\n internalOptions.groupDesc.push(...fillArray(groupDiff, false));\n }\n\n return {\n internalOptions\n };\n },\n\n computed: {\n itemsLength() {\n return this.serverItemsLength >= 0 ? this.serverItemsLength : this.filteredItems.length;\n },\n\n pageCount() {\n return this.internalOptions.itemsPerPage <= 0 ? 1 : Math.ceil(this.itemsLength / this.internalOptions.itemsPerPage);\n },\n\n pageStart() {\n if (this.internalOptions.itemsPerPage === -1 || !this.items.length) return 0;\n return (this.internalOptions.page - 1) * this.internalOptions.itemsPerPage;\n },\n\n pageStop() {\n if (this.internalOptions.itemsPerPage === -1) return this.itemsLength;\n if (!this.items.length) return 0;\n return Math.min(this.itemsLength, this.internalOptions.page * this.internalOptions.itemsPerPage);\n },\n\n isGrouped() {\n return !!this.internalOptions.groupBy.length;\n },\n\n pagination() {\n return {\n page: this.internalOptions.page,\n itemsPerPage: this.internalOptions.itemsPerPage,\n pageStart: this.pageStart,\n pageStop: this.pageStop,\n pageCount: this.pageCount,\n itemsLength: this.itemsLength\n };\n },\n\n filteredItems() {\n let items = this.items.slice();\n\n if (!this.disableFiltering && this.serverItemsLength <= 0) {\n items = this.customFilter(items, this.search);\n }\n\n return items;\n },\n\n computedItems() {\n let items = this.filteredItems.slice();\n\n if ((!this.disableSort || this.internalOptions.groupBy.length) && this.serverItemsLength <= 0) {\n items = this.sortItems(items);\n }\n\n if (!this.disablePagination && this.serverItemsLength <= 0) {\n items = this.paginateItems(items);\n }\n\n return items;\n },\n\n groupedItems() {\n return this.isGrouped ? this.groupItems(this.computedItems) : null;\n },\n\n scopedProps() {\n return {\n sort: this.sort,\n sortArray: this.sortArray,\n group: this.group,\n items: this.computedItems,\n options: this.internalOptions,\n updateOptions: this.updateOptions,\n pagination: this.pagination,\n groupedItems: this.groupedItems,\n originalItemsLength: this.items.length\n };\n },\n\n computedOptions() {\n return { ...this.options\n };\n }\n\n },\n watch: {\n computedOptions: {\n handler(options, old) {\n if (deepEqual(options, old)) return;\n this.updateOptions(options);\n },\n\n deep: true,\n immediate: true\n },\n internalOptions: {\n handler(options, old) {\n if (deepEqual(options, old)) return;\n this.$emit('update:options', options);\n },\n\n deep: true,\n immediate: true\n },\n\n page(page) {\n this.updateOptions({\n page\n });\n },\n\n 'internalOptions.page'(page) {\n this.$emit('update:page', page);\n },\n\n itemsPerPage(itemsPerPage) {\n this.updateOptions({\n itemsPerPage\n });\n },\n\n 'internalOptions.itemsPerPage'(itemsPerPage) {\n this.$emit('update:items-per-page', itemsPerPage);\n },\n\n sortBy(sortBy) {\n this.updateOptions({\n sortBy: wrapInArray(sortBy)\n });\n },\n\n 'internalOptions.sortBy'(sortBy, old) {\n !deepEqual(sortBy, old) && this.$emit('update:sort-by', Array.isArray(this.sortBy) ? sortBy : sortBy[0]);\n },\n\n sortDesc(sortDesc) {\n this.updateOptions({\n sortDesc: wrapInArray(sortDesc)\n });\n },\n\n 'internalOptions.sortDesc'(sortDesc, old) {\n !deepEqual(sortDesc, old) && this.$emit('update:sort-desc', Array.isArray(this.sortDesc) ? sortDesc : sortDesc[0]);\n },\n\n groupBy(groupBy) {\n this.updateOptions({\n groupBy: wrapInArray(groupBy)\n });\n },\n\n 'internalOptions.groupBy'(groupBy, old) {\n !deepEqual(groupBy, old) && this.$emit('update:group-by', Array.isArray(this.groupBy) ? groupBy : groupBy[0]);\n },\n\n groupDesc(groupDesc) {\n this.updateOptions({\n groupDesc: wrapInArray(groupDesc)\n });\n },\n\n 'internalOptions.groupDesc'(groupDesc, old) {\n !deepEqual(groupDesc, old) && this.$emit('update:group-desc', Array.isArray(this.groupDesc) ? groupDesc : groupDesc[0]);\n },\n\n multiSort(multiSort) {\n this.updateOptions({\n multiSort\n });\n },\n\n 'internalOptions.multiSort'(multiSort) {\n this.$emit('update:multi-sort', multiSort);\n },\n\n mustSort(mustSort) {\n this.updateOptions({\n mustSort\n });\n },\n\n 'internalOptions.mustSort'(mustSort) {\n this.$emit('update:must-sort', mustSort);\n },\n\n pageCount: {\n handler(pageCount) {\n this.$emit('page-count', pageCount);\n },\n\n immediate: true\n },\n computedItems: {\n handler(computedItems) {\n this.$emit('current-items', computedItems);\n },\n\n immediate: true\n },\n pagination: {\n handler(pagination, old) {\n if (deepEqual(pagination, old)) return;\n this.$emit('pagination', this.pagination);\n },\n\n immediate: true\n }\n },\n methods: {\n toggle(key, oldBy, oldDesc, page, mustSort, multiSort) {\n let by = oldBy.slice();\n let desc = oldDesc.slice();\n const byIndex = by.findIndex(k => k === key);\n\n if (byIndex < 0) {\n if (!multiSort) {\n by = [];\n desc = [];\n }\n\n by.push(key);\n desc.push(false);\n } else if (byIndex >= 0 && !desc[byIndex]) {\n desc[byIndex] = true;\n } else if (!mustSort) {\n by.splice(byIndex, 1);\n desc.splice(byIndex, 1);\n } else {\n desc[byIndex] = false;\n } // Reset page to 1 if sortBy or sortDesc have changed\n\n\n if (!deepEqual(by, oldBy) || !deepEqual(desc, oldDesc)) {\n page = 1;\n }\n\n return {\n by,\n desc,\n page\n };\n },\n\n group(key) {\n const {\n by: groupBy,\n desc: groupDesc,\n page\n } = this.toggle(key, this.internalOptions.groupBy, this.internalOptions.groupDesc, this.internalOptions.page, true, false);\n this.updateOptions({\n groupBy,\n groupDesc,\n page\n });\n },\n\n sort(key) {\n if (Array.isArray(key)) return this.sortArray(key);\n const {\n by: sortBy,\n desc: sortDesc,\n page\n } = this.toggle(key, this.internalOptions.sortBy, this.internalOptions.sortDesc, this.internalOptions.page, this.internalOptions.mustSort, this.internalOptions.multiSort);\n this.updateOptions({\n sortBy,\n sortDesc,\n page\n });\n },\n\n sortArray(sortBy) {\n const sortDesc = sortBy.map(s => {\n const i = this.internalOptions.sortBy.findIndex(k => k === s);\n return i > -1 ? this.internalOptions.sortDesc[i] : false;\n });\n this.updateOptions({\n sortBy,\n sortDesc\n });\n },\n\n updateOptions(options) {\n this.internalOptions = { ...this.internalOptions,\n ...options,\n page: this.serverItemsLength < 0 ? Math.max(1, Math.min(options.page || this.internalOptions.page, this.pageCount)) : options.page || this.internalOptions.page\n };\n },\n\n sortItems(items) {\n let sortBy = [];\n let sortDesc = [];\n\n if (!this.disableSort) {\n sortBy = this.internalOptions.sortBy;\n sortDesc = this.internalOptions.sortDesc;\n }\n\n if (this.internalOptions.groupBy.length) {\n sortBy = [...this.internalOptions.groupBy, ...sortBy];\n sortDesc = [...this.internalOptions.groupDesc, ...sortDesc];\n }\n\n return this.customSort(items, sortBy, sortDesc, this.locale);\n },\n\n groupItems(items) {\n return this.customGroup(items, this.internalOptions.groupBy, this.internalOptions.groupDesc);\n },\n\n paginateItems(items) {\n // Make sure we don't try to display non-existant page if items suddenly change\n // TODO: Could possibly move this to pageStart/pageStop?\n if (this.serverItemsLength === -1 && items.length <= this.pageStart) {\n this.internalOptions.page = Math.max(1, Math.ceil(items.length / this.internalOptions.itemsPerPage)) || 1; // Prevent NaN\n }\n\n return items.slice(this.pageStart, this.pageStop);\n }\n\n },\n\n render() {\n return this.$scopedSlots.default && this.$scopedSlots.default(this.scopedProps);\n }\n\n});\n//# sourceMappingURL=VData.js.map","import \"../../../src/components/VDataIterator/VDataFooter.sass\"; // Components\n\nimport VSelect from '../VSelect/VSelect';\nimport VIcon from '../VIcon';\nimport VBtn from '../VBtn'; // Types\n\nimport Vue from 'vue';\nimport { getSlot } from '../../util/helpers';\nexport default Vue.extend({\n name: 'v-data-footer',\n props: {\n options: {\n type: Object,\n required: true\n },\n pagination: {\n type: Object,\n required: true\n },\n itemsPerPageOptions: {\n type: Array,\n default: () => [5, 10, 15, -1]\n },\n prevIcon: {\n type: String,\n default: '$prev'\n },\n nextIcon: {\n type: String,\n default: '$next'\n },\n firstIcon: {\n type: String,\n default: '$first'\n },\n lastIcon: {\n type: String,\n default: '$last'\n },\n itemsPerPageText: {\n type: String,\n default: '$vuetify.dataFooter.itemsPerPageText'\n },\n itemsPerPageAllText: {\n type: String,\n default: '$vuetify.dataFooter.itemsPerPageAll'\n },\n showFirstLastPage: Boolean,\n showCurrentPage: Boolean,\n disablePagination: Boolean,\n disableItemsPerPage: Boolean,\n pageText: {\n type: String,\n default: '$vuetify.dataFooter.pageText'\n }\n },\n computed: {\n disableNextPageIcon() {\n return this.options.itemsPerPage <= 0 || this.options.page * this.options.itemsPerPage >= this.pagination.itemsLength || this.pagination.pageStop < 0;\n },\n\n computedDataItemsPerPageOptions() {\n return this.itemsPerPageOptions.map(option => {\n if (typeof option === 'object') return option;else return this.genDataItemsPerPageOption(option);\n });\n }\n\n },\n methods: {\n updateOptions(obj) {\n this.$emit('update:options', Object.assign({}, this.options, obj));\n },\n\n onFirstPage() {\n this.updateOptions({\n page: 1\n });\n },\n\n onPreviousPage() {\n this.updateOptions({\n page: this.options.page - 1\n });\n },\n\n onNextPage() {\n this.updateOptions({\n page: this.options.page + 1\n });\n },\n\n onLastPage() {\n this.updateOptions({\n page: this.pagination.pageCount\n });\n },\n\n onChangeItemsPerPage(itemsPerPage) {\n this.updateOptions({\n itemsPerPage,\n page: 1\n });\n },\n\n genDataItemsPerPageOption(option) {\n return {\n text: option === -1 ? this.$vuetify.lang.t(this.itemsPerPageAllText) : String(option),\n value: option\n };\n },\n\n genItemsPerPageSelect() {\n let value = this.options.itemsPerPage;\n const computedIPPO = this.computedDataItemsPerPageOptions;\n if (computedIPPO.length <= 1) return null;\n if (!computedIPPO.find(ippo => ippo.value === value)) value = computedIPPO[0];\n return this.$createElement('div', {\n staticClass: 'v-data-footer__select'\n }, [this.$vuetify.lang.t(this.itemsPerPageText), this.$createElement(VSelect, {\n attrs: {\n 'aria-label': this.$vuetify.lang.t(this.itemsPerPageText)\n },\n props: {\n disabled: this.disableItemsPerPage,\n items: computedIPPO,\n value,\n hideDetails: true,\n auto: true,\n minWidth: '75px'\n },\n on: {\n input: this.onChangeItemsPerPage\n }\n })]);\n },\n\n genPaginationInfo() {\n let children = ['–'];\n const itemsLength = this.pagination.itemsLength;\n let pageStart = this.pagination.pageStart;\n let pageStop = this.pagination.pageStop;\n\n if (this.pagination.itemsLength && this.pagination.itemsPerPage) {\n pageStart = this.pagination.pageStart + 1;\n pageStop = itemsLength < this.pagination.pageStop || this.pagination.pageStop < 0 ? itemsLength : this.pagination.pageStop;\n children = this.$scopedSlots['page-text'] ? [this.$scopedSlots['page-text']({\n pageStart,\n pageStop,\n itemsLength\n })] : [this.$vuetify.lang.t(this.pageText, pageStart, pageStop, itemsLength)];\n } else if (this.$scopedSlots['page-text']) {\n children = [this.$scopedSlots['page-text']({\n pageStart,\n pageStop,\n itemsLength\n })];\n }\n\n return this.$createElement('div', {\n class: 'v-data-footer__pagination'\n }, children);\n },\n\n genIcon(click, disabled, label, icon) {\n return this.$createElement(VBtn, {\n props: {\n disabled: disabled || this.disablePagination,\n icon: true,\n text: true\n },\n on: {\n click\n },\n attrs: {\n 'aria-label': label\n }\n }, [this.$createElement(VIcon, icon)]);\n },\n\n genIcons() {\n const before = [];\n const after = [];\n before.push(this.genIcon(this.onPreviousPage, this.options.page === 1, this.$vuetify.lang.t('$vuetify.dataFooter.prevPage'), this.$vuetify.rtl ? this.nextIcon : this.prevIcon));\n after.push(this.genIcon(this.onNextPage, this.disableNextPageIcon, this.$vuetify.lang.t('$vuetify.dataFooter.nextPage'), this.$vuetify.rtl ? this.prevIcon : this.nextIcon));\n\n if (this.showFirstLastPage) {\n before.unshift(this.genIcon(this.onFirstPage, this.options.page === 1, this.$vuetify.lang.t('$vuetify.dataFooter.firstPage'), this.$vuetify.rtl ? this.lastIcon : this.firstIcon));\n after.push(this.genIcon(this.onLastPage, this.options.page >= this.pagination.pageCount || this.options.itemsPerPage === -1, this.$vuetify.lang.t('$vuetify.dataFooter.lastPage'), this.$vuetify.rtl ? this.firstIcon : this.lastIcon));\n }\n\n return [this.$createElement('div', {\n staticClass: 'v-data-footer__icons-before'\n }, before), this.showCurrentPage && this.$createElement('span', [this.options.page.toString()]), this.$createElement('div', {\n staticClass: 'v-data-footer__icons-after'\n }, after)];\n }\n\n },\n\n render() {\n return this.$createElement('div', {\n staticClass: 'v-data-footer'\n }, [getSlot(this, 'prepend'), this.genItemsPerPageSelect(), this.genPaginationInfo(), this.genIcons()]);\n }\n\n});\n//# sourceMappingURL=VDataFooter.js.map","// Components\nimport { VData } from '../VData';\nimport VDataFooter from './VDataFooter'; // Mixins\n\nimport Mobile from '../../mixins/mobile';\nimport Themeable from '../../mixins/themeable'; // Helpers\n\nimport mixins from '../../util/mixins';\nimport { deepEqual, getObjectValueByPath, getPrefixedScopedSlots, getSlot, camelizeObjectKeys, keyCodes } from '../../util/helpers';\nimport { breaking, removed } from '../../util/console';\n/* @vue/component */\n\nexport default mixins(Mobile, Themeable).extend({\n name: 'v-data-iterator',\n props: { ...VData.options.props,\n itemKey: {\n type: String,\n default: 'id'\n },\n value: {\n type: Array,\n default: () => []\n },\n singleSelect: Boolean,\n expanded: {\n type: Array,\n default: () => []\n },\n mobileBreakpoint: { ...Mobile.options.props.mobileBreakpoint,\n default: 600\n },\n singleExpand: Boolean,\n loading: [Boolean, String],\n noResultsText: {\n type: String,\n default: '$vuetify.dataIterator.noResultsText'\n },\n noDataText: {\n type: String,\n default: '$vuetify.noDataText'\n },\n loadingText: {\n type: String,\n default: '$vuetify.dataIterator.loadingText'\n },\n hideDefaultFooter: Boolean,\n footerProps: Object,\n selectableKey: {\n type: String,\n default: 'isSelectable'\n }\n },\n data: () => ({\n selection: {},\n expansion: {},\n internalCurrentItems: [],\n shiftKeyDown: false,\n lastEntry: -1\n }),\n computed: {\n everyItem() {\n return !!this.selectableItems.length && this.selectableItems.every(i => this.isSelected(i));\n },\n\n someItems() {\n return this.selectableItems.some(i => this.isSelected(i));\n },\n\n sanitizedFooterProps() {\n return camelizeObjectKeys(this.footerProps);\n },\n\n selectableItems() {\n return this.internalCurrentItems.filter(item => this.isSelectable(item));\n }\n\n },\n watch: {\n value: {\n handler(value) {\n this.selection = value.reduce((selection, item) => {\n selection[getObjectValueByPath(item, this.itemKey)] = item;\n return selection;\n }, {});\n },\n\n immediate: true\n },\n\n selection(value, old) {\n if (deepEqual(Object.keys(value), Object.keys(old))) return;\n this.$emit('input', Object.values(value));\n },\n\n expanded: {\n handler(value) {\n this.expansion = value.reduce((expansion, item) => {\n expansion[getObjectValueByPath(item, this.itemKey)] = true;\n return expansion;\n }, {});\n },\n\n immediate: true\n },\n\n expansion(value, old) {\n if (deepEqual(value, old)) return;\n const keys = Object.keys(value).filter(k => value[k]);\n const expanded = !keys.length ? [] : this.items.filter(i => keys.includes(String(getObjectValueByPath(i, this.itemKey))));\n this.$emit('update:expanded', expanded);\n }\n\n },\n\n created() {\n const breakingProps = [['disable-initial-sort', 'sort-by'], ['filter', 'custom-filter'], ['pagination', 'options'], ['total-items', 'server-items-length'], ['hide-actions', 'hide-default-footer'], ['rows-per-page-items', 'footer-props.items-per-page-options'], ['rows-per-page-text', 'footer-props.items-per-page-text'], ['prev-icon', 'footer-props.prev-icon'], ['next-icon', 'footer-props.next-icon']];\n /* istanbul ignore next */\n\n breakingProps.forEach(([original, replacement]) => {\n if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this);\n });\n const removedProps = ['expand', 'content-class', 'content-props', 'content-tag'];\n /* istanbul ignore next */\n\n removedProps.forEach(prop => {\n if (this.$attrs.hasOwnProperty(prop)) removed(prop);\n });\n },\n\n mounted() {\n window.addEventListener('keydown', this.onKeyDown);\n window.addEventListener('keyup', this.onKeyUp);\n },\n\n beforeDestroy() {\n window.removeEventListener('keydown', this.onKeyDown);\n window.removeEventListener('keyup', this.onKeyUp);\n },\n\n methods: {\n onKeyDown(e) {\n if (e.keyCode !== keyCodes.shift) return;\n this.shiftKeyDown = true;\n },\n\n onKeyUp(e) {\n if (e.keyCode !== keyCodes.shift) return;\n this.shiftKeyDown = false;\n },\n\n toggleSelectAll(value) {\n const selection = Object.assign({}, this.selection);\n\n for (let i = 0; i < this.selectableItems.length; i++) {\n const item = this.selectableItems[i];\n if (!this.isSelectable(item)) continue;\n const key = getObjectValueByPath(item, this.itemKey);\n if (value) selection[key] = item;else delete selection[key];\n }\n\n this.selection = selection;\n this.$emit('toggle-select-all', {\n items: this.internalCurrentItems,\n value\n });\n },\n\n isSelectable(item) {\n return getObjectValueByPath(item, this.selectableKey) !== false;\n },\n\n isSelected(item) {\n return !!this.selection[getObjectValueByPath(item, this.itemKey)] || false;\n },\n\n select(item, value = true, emit = true) {\n if (!this.isSelectable(item)) return;\n const selection = this.singleSelect ? {} : Object.assign({}, this.selection);\n const key = getObjectValueByPath(item, this.itemKey);\n if (value) selection[key] = item;else delete selection[key];\n const index = this.selectableItems.findIndex(x => getObjectValueByPath(x, this.itemKey) === key);\n if (this.lastEntry === -1) this.lastEntry = index;else if (this.shiftKeyDown && !this.singleSelect && emit) {\n const lastEntryKey = getObjectValueByPath(this.selectableItems[this.lastEntry], this.itemKey);\n const lastEntryKeySelected = Object.keys(this.selection).includes(String(lastEntryKey));\n this.multipleSelect(lastEntryKeySelected, emit, selection, index);\n }\n this.lastEntry = index;\n\n if (this.singleSelect && emit) {\n const keys = Object.keys(this.selection);\n const old = keys.length && getObjectValueByPath(this.selection[keys[0]], this.itemKey);\n old && old !== key && this.$emit('item-selected', {\n item: this.selection[old],\n value: false\n });\n }\n\n this.selection = selection;\n emit && this.$emit('item-selected', {\n item,\n value\n });\n },\n\n multipleSelect(value = true, emit = true, selection, index) {\n const start = index < this.lastEntry ? index : this.lastEntry;\n const end = index < this.lastEntry ? this.lastEntry : index;\n\n for (let i = start; i <= end; i++) {\n const currentItem = this.selectableItems[i];\n const key = getObjectValueByPath(currentItem, this.itemKey);\n if (value) selection[key] = currentItem;else delete selection[key];\n emit && this.$emit('item-selected', {\n currentItem,\n value\n });\n }\n },\n\n isExpanded(item) {\n return this.expansion[getObjectValueByPath(item, this.itemKey)] || false;\n },\n\n expand(item, value = true) {\n const expansion = this.singleExpand ? {} : Object.assign({}, this.expansion);\n const key = getObjectValueByPath(item, this.itemKey);\n if (value) expansion[key] = true;else delete expansion[key];\n this.expansion = expansion;\n this.$emit('item-expanded', {\n item,\n value\n });\n },\n\n createItemProps(item, index) {\n return {\n item,\n index,\n select: v => this.select(item, v),\n isSelected: this.isSelected(item),\n expand: v => this.expand(item, v),\n isExpanded: this.isExpanded(item),\n isMobile: this.isMobile\n };\n },\n\n genEmptyWrapper(content) {\n return this.$createElement('div', content);\n },\n\n genEmpty(originalItemsLength, filteredItemsLength) {\n if (originalItemsLength === 0 && this.loading) {\n const loading = this.$slots.loading || this.$vuetify.lang.t(this.loadingText);\n return this.genEmptyWrapper(loading);\n } else if (originalItemsLength === 0) {\n const noData = this.$slots['no-data'] || this.$vuetify.lang.t(this.noDataText);\n return this.genEmptyWrapper(noData);\n } else if (filteredItemsLength === 0) {\n const noResults = this.$slots['no-results'] || this.$vuetify.lang.t(this.noResultsText);\n return this.genEmptyWrapper(noResults);\n }\n\n return null;\n },\n\n genItems(props) {\n const empty = this.genEmpty(props.originalItemsLength, props.pagination.itemsLength);\n if (empty) return [empty];\n\n if (this.$scopedSlots.default) {\n return this.$scopedSlots.default({ ...props,\n isSelected: this.isSelected,\n select: this.select,\n isExpanded: this.isExpanded,\n isMobile: this.isMobile,\n expand: this.expand\n });\n }\n\n if (this.$scopedSlots.item) {\n return props.items.map((item, index) => this.$scopedSlots.item(this.createItemProps(item, index)));\n }\n\n return [];\n },\n\n genFooter(props) {\n if (this.hideDefaultFooter) return null;\n const data = {\n props: { ...this.sanitizedFooterProps,\n options: props.options,\n pagination: props.pagination\n },\n on: {\n 'update:options': value => props.updateOptions(value)\n }\n };\n const scopedSlots = getPrefixedScopedSlots('footer.', this.$scopedSlots);\n return this.$createElement(VDataFooter, {\n scopedSlots,\n ...data\n });\n },\n\n genDefaultScopedSlot(props) {\n const outerProps = { ...props,\n someItems: this.someItems,\n everyItem: this.everyItem,\n toggleSelectAll: this.toggleSelectAll\n };\n return this.$createElement('div', {\n staticClass: 'v-data-iterator'\n }, [getSlot(this, 'header', outerProps, true), this.genItems(props), this.genFooter(props), getSlot(this, 'footer', outerProps, true)]);\n }\n\n },\n\n render() {\n return this.$createElement(VData, {\n props: this.$props,\n on: {\n 'update:options': (v, old) => !deepEqual(v, old) && this.$emit('update:options', v),\n 'update:page': v => this.$emit('update:page', v),\n 'update:items-per-page': v => this.$emit('update:items-per-page', v),\n 'update:sort-by': v => this.$emit('update:sort-by', v),\n 'update:sort-desc': v => this.$emit('update:sort-desc', v),\n 'update:group-by': v => this.$emit('update:group-by', v),\n 'update:group-desc': v => this.$emit('update:group-desc', v),\n pagination: (v, old) => !deepEqual(v, old) && this.$emit('pagination', v),\n 'current-items': v => {\n this.internalCurrentItems = v;\n this.$emit('current-items', v);\n },\n 'page-count': v => this.$emit('page-count', v)\n },\n scopedSlots: {\n default: this.genDefaultScopedSlot\n }\n });\n }\n\n});\n//# sourceMappingURL=VDataIterator.js.map","import VIcon from '../../VIcon';\nimport VSimpleCheckbox from '../../VCheckbox/VSimpleCheckbox';\nimport ripple from '../../../directives/ripple';\nimport mixins from '../../../util/mixins';\nexport default mixins().extend({\n // https://github.com/vuejs/vue/issues/6872\n directives: {\n ripple\n },\n props: {\n headers: {\n type: Array,\n default: () => []\n },\n options: {\n type: Object,\n default: () => ({\n page: 1,\n itemsPerPage: 10,\n sortBy: [],\n sortDesc: [],\n groupBy: [],\n groupDesc: [],\n multiSort: false,\n mustSort: false\n })\n },\n checkboxColor: String,\n sortIcon: {\n type: String,\n default: '$sort'\n },\n everyItem: Boolean,\n someItems: Boolean,\n showGroupBy: Boolean,\n singleSelect: Boolean,\n disableSort: Boolean\n },\n methods: {\n genSelectAll() {\n var _this$checkboxColor;\n\n const data = {\n props: {\n value: this.everyItem,\n indeterminate: !this.everyItem && this.someItems,\n color: (_this$checkboxColor = this.checkboxColor) != null ? _this$checkboxColor : ''\n },\n on: {\n input: v => this.$emit('toggle-select-all', v)\n }\n };\n\n if (this.$scopedSlots['data-table-select']) {\n return this.$scopedSlots['data-table-select'](data);\n }\n\n return this.$createElement(VSimpleCheckbox, {\n staticClass: 'v-data-table__checkbox',\n ...data\n });\n },\n\n genSortIcon() {\n return this.$createElement(VIcon, {\n staticClass: 'v-data-table-header__icon',\n props: {\n size: 18\n }\n }, [this.sortIcon]);\n }\n\n }\n});\n//# sourceMappingURL=header.js.map","import mixins from '../../util/mixins';\nimport VSelect from '../VSelect/VSelect';\nimport VChip from '../VChip';\nimport header from './mixins/header';\nimport { wrapInArray } from '../../util/helpers';\nexport default mixins(header).extend({\n name: 'v-data-table-header-mobile',\n props: {\n sortByText: {\n type: String,\n default: '$vuetify.dataTable.sortBy'\n }\n },\n methods: {\n genSortChip(props) {\n const children = [props.item.text];\n const sortIndex = this.options.sortBy.findIndex(k => k === props.item.value);\n const beingSorted = sortIndex >= 0;\n const isDesc = this.options.sortDesc[sortIndex];\n children.push(this.$createElement('div', {\n staticClass: 'v-chip__close',\n class: {\n sortable: true,\n active: beingSorted,\n asc: beingSorted && !isDesc,\n desc: beingSorted && isDesc\n }\n }, [this.genSortIcon()]));\n return this.$createElement(VChip, {\n staticClass: 'sortable',\n on: {\n click: e => {\n e.stopPropagation();\n this.$emit('sort', props.item.value);\n }\n }\n }, children);\n },\n\n genSortSelect(items) {\n return this.$createElement(VSelect, {\n props: {\n label: this.$vuetify.lang.t(this.sortByText),\n items,\n hideDetails: true,\n multiple: this.options.multiSort,\n value: this.options.multiSort ? this.options.sortBy : this.options.sortBy[0],\n menuProps: {\n closeOnContentClick: true\n }\n },\n on: {\n change: v => this.$emit('sort', v)\n },\n scopedSlots: {\n selection: props => this.genSortChip(props)\n }\n });\n }\n\n },\n\n render(h) {\n const children = [];\n const header = this.headers.find(h => h.value === 'data-table-select');\n\n if (header && !this.singleSelect) {\n children.push(this.$createElement('div', {\n class: ['v-data-table-header-mobile__select', ...wrapInArray(header.class)],\n attrs: {\n width: header.width\n }\n }, [this.genSelectAll()]));\n }\n\n const sortHeaders = this.headers.filter(h => h.sortable !== false && h.value !== 'data-table-select').map(h => ({\n text: h.text,\n value: h.value\n }));\n\n if (!this.disableSort && sortHeaders.length) {\n children.push(this.genSortSelect(sortHeaders));\n }\n\n const th = h('th', [h('div', {\n staticClass: 'v-data-table-header-mobile__wrapper'\n }, children)]);\n const tr = h('tr', [th]);\n return h('thead', {\n staticClass: 'v-data-table-header v-data-table-header-mobile'\n }, [tr]);\n }\n\n});\n//# sourceMappingURL=VDataTableHeaderMobile.js.map","import mixins from '../../util/mixins';\nimport header from './mixins/header';\nimport { wrapInArray, convertToUnit } from '../../util/helpers';\nexport default mixins(header).extend({\n name: 'v-data-table-header-desktop',\n methods: {\n genGroupByToggle(header) {\n return this.$createElement('span', {\n on: {\n click: e => {\n e.stopPropagation();\n this.$emit('group', header.value);\n }\n }\n }, ['group']);\n },\n\n getAria(beingSorted, isDesc) {\n const $t = key => this.$vuetify.lang.t(`$vuetify.dataTable.ariaLabel.${key}`);\n\n let ariaSort = 'none';\n let ariaLabel = [$t('sortNone'), $t('activateAscending')];\n\n if (!beingSorted) {\n return {\n ariaSort,\n ariaLabel: ariaLabel.join(' ')\n };\n }\n\n if (isDesc) {\n ariaSort = 'descending';\n ariaLabel = [$t('sortDescending'), $t(this.options.mustSort ? 'activateAscending' : 'activateNone')];\n } else {\n ariaSort = 'ascending';\n ariaLabel = [$t('sortAscending'), $t('activateDescending')];\n }\n\n return {\n ariaSort,\n ariaLabel: ariaLabel.join(' ')\n };\n },\n\n genHeader(header) {\n const data = {\n attrs: {\n role: 'columnheader',\n scope: 'col',\n 'aria-label': header.text || ''\n },\n style: {\n width: convertToUnit(header.width),\n minWidth: convertToUnit(header.width)\n },\n class: [`text-${header.align || 'start'}`, ...wrapInArray(header.class), header.divider && 'v-data-table__divider'],\n on: {}\n };\n const children = [];\n\n if (header.value === 'data-table-select' && !this.singleSelect) {\n return this.$createElement('th', data, [this.genSelectAll()]);\n }\n\n children.push(this.$scopedSlots[header.value] ? this.$scopedSlots[header.value]({\n header\n }) : this.$createElement('span', [header.text]));\n\n if (!this.disableSort && (header.sortable || !header.hasOwnProperty('sortable'))) {\n data.on.click = () => this.$emit('sort', header.value);\n\n const sortIndex = this.options.sortBy.findIndex(k => k === header.value);\n const beingSorted = sortIndex >= 0;\n const isDesc = this.options.sortDesc[sortIndex];\n data.class.push('sortable');\n const {\n ariaLabel,\n ariaSort\n } = this.getAria(beingSorted, isDesc);\n data.attrs['aria-label'] += `${header.text ? ': ' : ''}${ariaLabel}`;\n data.attrs['aria-sort'] = ariaSort;\n\n if (beingSorted) {\n data.class.push('active');\n data.class.push(isDesc ? 'desc' : 'asc');\n }\n\n if (header.align === 'end') children.unshift(this.genSortIcon());else children.push(this.genSortIcon());\n\n if (this.options.multiSort && beingSorted) {\n children.push(this.$createElement('span', {\n class: 'v-data-table-header__sort-badge'\n }, [String(sortIndex + 1)]));\n }\n }\n\n if (this.showGroupBy && header.groupable !== false) children.push(this.genGroupByToggle(header));\n return this.$createElement('th', data, children);\n }\n\n },\n\n render() {\n return this.$createElement('thead', {\n staticClass: 'v-data-table-header'\n }, [this.$createElement('tr', this.headers.map(header => this.genHeader(header)))]);\n }\n\n});\n//# sourceMappingURL=VDataTableHeaderDesktop.js.map","/**\n * Removes duplicate `@input` listeners when\n * using v-model with functional components\n *\n * @see https://github.com/vuetifyjs/vuetify/issues/4460\n */\nexport default function dedupeModelListeners(data) {\n if (data.model && data.on && data.on.input) {\n if (Array.isArray(data.on.input)) {\n const i = data.on.input.indexOf(data.model.callback);\n if (i > -1) data.on.input.splice(i, 1);\n } else {\n delete data.on.input;\n }\n }\n}\n//# sourceMappingURL=dedupeModelListeners.js.map","export default function rebuildFunctionalSlots(slots, h) {\n const children = [];\n\n for (const slot in slots) {\n if (slots.hasOwnProperty(slot)) {\n children.push(h('template', {\n slot\n }, slots[slot]));\n }\n }\n\n return children;\n}\n//# sourceMappingURL=rebuildFunctionalSlots.js.map","// Styles\nimport \"../../../src/components/VDataTable/VDataTableHeader.sass\"; // Components\n\nimport VDataTableHeaderMobile from './VDataTableHeaderMobile';\nimport VDataTableHeaderDesktop from './VDataTableHeaderDesktop'; // Mixins\n\nimport header from './mixins/header'; // Utilities\n\nimport dedupeModelListeners from '../../util/dedupeModelListeners';\nimport mergeData from '../../util/mergeData';\nimport rebuildSlots from '../../util/rebuildFunctionalSlots'; // Types\n\nimport Vue from 'vue';\n/* @vue/component */\n\nexport default Vue.extend({\n name: 'v-data-table-header',\n functional: true,\n props: { ...header.options.props,\n mobile: Boolean\n },\n\n render(h, {\n props,\n data,\n slots\n }) {\n dedupeModelListeners(data);\n const children = rebuildSlots(slots(), h);\n data = mergeData(data, {\n props\n });\n\n if (props.mobile) {\n return h(VDataTableHeaderMobile, data, children);\n } else {\n return h(VDataTableHeaderDesktop, data, children);\n }\n }\n\n});\n//# sourceMappingURL=VDataTableHeader.js.map","// Types\nimport Vue from 'vue'; // Utils\n\nimport { getObjectValueByPath } from '../../util/helpers';\nexport default Vue.extend({\n name: 'row',\n functional: true,\n props: {\n headers: Array,\n index: Number,\n item: Object,\n rtl: Boolean\n },\n\n render(h, {\n props,\n slots,\n data\n }) {\n const computedSlots = slots();\n const columns = props.headers.map(header => {\n const children = [];\n const value = getObjectValueByPath(props.item, header.value);\n const slotName = header.value;\n const scopedSlot = data.scopedSlots && data.scopedSlots[slotName];\n const regularSlot = computedSlots[slotName];\n\n if (scopedSlot) {\n children.push(scopedSlot({\n item: props.item,\n isMobile: false,\n header,\n index: props.index,\n value\n }));\n } else if (regularSlot) {\n children.push(regularSlot);\n } else {\n children.push(value == null ? value : String(value));\n }\n\n const textAlign = `text-${header.align || 'start'}`;\n return h('td', {\n class: [textAlign, header.cellClass, {\n 'v-data-table__divider': header.divider\n }]\n }, children);\n });\n return h('tr', data, columns);\n }\n\n});\n//# sourceMappingURL=Row.js.map","import Vue from 'vue';\nexport default Vue.extend({\n name: 'row-group',\n functional: true,\n props: {\n value: {\n type: Boolean,\n default: true\n },\n headerClass: {\n type: String,\n default: 'v-row-group__header'\n },\n contentClass: String,\n summaryClass: {\n type: String,\n default: 'v-row-group__summary'\n }\n },\n\n render(h, {\n slots,\n props\n }) {\n const computedSlots = slots();\n const children = [];\n\n if (computedSlots['column.header']) {\n children.push(h('tr', {\n staticClass: props.headerClass\n }, computedSlots['column.header']));\n } else if (computedSlots['row.header']) {\n children.push(...computedSlots['row.header']);\n }\n\n if (computedSlots['row.content'] && props.value) children.push(...computedSlots['row.content']);\n\n if (computedSlots['column.summary']) {\n children.push(h('tr', {\n staticClass: props.summaryClass\n }, computedSlots['column.summary']));\n } else if (computedSlots['row.summary']) {\n children.push(...computedSlots['row.summary']);\n }\n\n return children;\n }\n\n});\n//# sourceMappingURL=RowGroup.js.map","import Vue from 'vue';\nimport { getObjectValueByPath } from '../../util/helpers';\nexport default Vue.extend({\n name: 'row',\n functional: true,\n props: {\n headers: Array,\n hideDefaultHeader: Boolean,\n index: Number,\n item: Object,\n rtl: Boolean\n },\n\n render(h, {\n props,\n slots,\n data\n }) {\n const computedSlots = slots();\n const columns = props.headers.map(header => {\n const classes = {\n 'v-data-table__mobile-row': true\n };\n const children = [];\n const value = getObjectValueByPath(props.item, header.value);\n const slotName = header.value;\n const scopedSlot = data.scopedSlots && data.scopedSlots[slotName];\n const regularSlot = computedSlots[slotName];\n\n if (scopedSlot) {\n children.push(scopedSlot({\n item: props.item,\n isMobile: true,\n header,\n index: props.index,\n value\n }));\n } else if (regularSlot) {\n children.push(regularSlot);\n } else {\n children.push(value == null ? value : String(value));\n }\n\n const mobileRowChildren = [h('div', {\n staticClass: 'v-data-table__mobile-row__cell'\n }, children)];\n\n if (header.value !== 'dataTableSelect' && !props.hideDefaultHeader) {\n mobileRowChildren.unshift(h('div', {\n staticClass: 'v-data-table__mobile-row__header'\n }, [header.text]));\n }\n\n return h('td', {\n class: classes\n }, mobileRowChildren);\n });\n return h('tr', { ...data,\n staticClass: 'v-data-table__mobile-table-row'\n }, columns);\n }\n\n});\n//# sourceMappingURL=MobileRow.js.map","import \"../../../src/components/VDataTable/VDataTable.sass\"; // Components\n\nimport { VData } from '../VData';\nimport { VDataFooter, VDataIterator } from '../VDataIterator';\nimport VBtn from '../VBtn';\nimport VDataTableHeader from './VDataTableHeader'; // import VVirtualTable from './VVirtualTable'\n\nimport VIcon from '../VIcon';\nimport Row from './Row';\nimport RowGroup from './RowGroup';\nimport VSimpleCheckbox from '../VCheckbox/VSimpleCheckbox';\nimport VSimpleTable from './VSimpleTable';\nimport MobileRow from './MobileRow'; // Mixins\n\nimport Loadable from '../../mixins/loadable'; // Directives\n\nimport ripple from '../../directives/ripple'; // Helpers\n\nimport mixins from '../../util/mixins';\nimport { deepEqual, getObjectValueByPath, getPrefixedScopedSlots, getSlot, defaultFilter, camelizeObjectKeys, getPropertyFromItem } from '../../util/helpers';\nimport { breaking } from '../../util/console';\nimport { mergeClasses } from '../../util/mergeData';\n\nfunction filterFn(item, search, filter) {\n return header => {\n const value = getObjectValueByPath(item, header.value);\n return header.filter ? header.filter(value, search, item) : filter(value, search, item);\n };\n}\n\nfunction searchTableItems(items, search, headersWithCustomFilters, headersWithoutCustomFilters, customFilter) {\n search = typeof search === 'string' ? search.trim() : null;\n return items.filter(item => {\n // Headers with custom filters are evaluated whether or not a search term has been provided.\n // We need to match every filter to be included in the results.\n const matchesColumnFilters = headersWithCustomFilters.every(filterFn(item, search, defaultFilter)); // Headers without custom filters are only filtered by the `search` property if it is defined.\n // We only need a single column to match the search term to be included in the results.\n\n const matchesSearchTerm = !search || headersWithoutCustomFilters.some(filterFn(item, search, customFilter));\n return matchesColumnFilters && matchesSearchTerm;\n });\n}\n/* @vue/component */\n\n\nexport default mixins(VDataIterator, Loadable).extend({\n name: 'v-data-table',\n // https://github.com/vuejs/vue/issues/6872\n directives: {\n ripple\n },\n props: {\n headers: {\n type: Array,\n default: () => []\n },\n showSelect: Boolean,\n checkboxColor: String,\n showExpand: Boolean,\n showGroupBy: Boolean,\n // TODO: Fix\n // virtualRows: Boolean,\n height: [Number, String],\n hideDefaultHeader: Boolean,\n caption: String,\n dense: Boolean,\n headerProps: Object,\n calculateWidths: Boolean,\n fixedHeader: Boolean,\n headersLength: Number,\n expandIcon: {\n type: String,\n default: '$expand'\n },\n customFilter: {\n type: Function,\n default: defaultFilter\n },\n itemClass: {\n type: [String, Function],\n default: () => ''\n },\n loaderHeight: {\n type: [Number, String],\n default: 4\n }\n },\n\n data() {\n return {\n internalGroupBy: [],\n openCache: {},\n widths: []\n };\n },\n\n computed: {\n computedHeaders() {\n if (!this.headers) return [];\n const headers = this.headers.filter(h => h.value === undefined || !this.internalGroupBy.find(v => v === h.value));\n const defaultHeader = {\n text: '',\n sortable: false,\n width: '1px'\n };\n\n if (this.showSelect) {\n const index = headers.findIndex(h => h.value === 'data-table-select');\n if (index < 0) headers.unshift({ ...defaultHeader,\n value: 'data-table-select'\n });else headers.splice(index, 1, { ...defaultHeader,\n ...headers[index]\n });\n }\n\n if (this.showExpand) {\n const index = headers.findIndex(h => h.value === 'data-table-expand');\n if (index < 0) headers.unshift({ ...defaultHeader,\n value: 'data-table-expand'\n });else headers.splice(index, 1, { ...defaultHeader,\n ...headers[index]\n });\n }\n\n return headers;\n },\n\n colspanAttrs() {\n return this.isMobile ? undefined : {\n colspan: this.headersLength || this.computedHeaders.length\n };\n },\n\n columnSorters() {\n return this.computedHeaders.reduce((acc, header) => {\n if (header.sort) acc[header.value] = header.sort;\n return acc;\n }, {});\n },\n\n headersWithCustomFilters() {\n return this.headers.filter(header => header.filter && (!header.hasOwnProperty('filterable') || header.filterable === true));\n },\n\n headersWithoutCustomFilters() {\n return this.headers.filter(header => !header.filter && (!header.hasOwnProperty('filterable') || header.filterable === true));\n },\n\n sanitizedHeaderProps() {\n return camelizeObjectKeys(this.headerProps);\n },\n\n computedItemsPerPage() {\n const itemsPerPage = this.options && this.options.itemsPerPage ? this.options.itemsPerPage : this.itemsPerPage;\n const itemsPerPageOptions = this.sanitizedFooterProps.itemsPerPageOptions;\n\n if (itemsPerPageOptions && !itemsPerPageOptions.find(item => typeof item === 'number' ? item === itemsPerPage : item.value === itemsPerPage)) {\n const firstOption = itemsPerPageOptions[0];\n return typeof firstOption === 'object' ? firstOption.value : firstOption;\n }\n\n return itemsPerPage;\n }\n\n },\n\n created() {\n const breakingProps = [['sort-icon', 'header-props.sort-icon'], ['hide-headers', 'hide-default-header'], ['select-all', 'show-select']];\n /* istanbul ignore next */\n\n breakingProps.forEach(([original, replacement]) => {\n if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this);\n });\n },\n\n mounted() {\n // if ((!this.sortBy || !this.sortBy.length) && (!this.options.sortBy || !this.options.sortBy.length)) {\n // const firstSortable = this.headers.find(h => !('sortable' in h) || !!h.sortable)\n // if (firstSortable) this.updateOptions({ sortBy: [firstSortable.value], sortDesc: [false] })\n // }\n if (this.calculateWidths) {\n window.addEventListener('resize', this.calcWidths);\n this.calcWidths();\n }\n },\n\n beforeDestroy() {\n if (this.calculateWidths) {\n window.removeEventListener('resize', this.calcWidths);\n }\n },\n\n methods: {\n calcWidths() {\n this.widths = Array.from(this.$el.querySelectorAll('th')).map(e => e.clientWidth);\n },\n\n customFilterWithColumns(items, search) {\n return searchTableItems(items, search, this.headersWithCustomFilters, this.headersWithoutCustomFilters, this.customFilter);\n },\n\n customSortWithHeaders(items, sortBy, sortDesc, locale) {\n return this.customSort(items, sortBy, sortDesc, locale, this.columnSorters);\n },\n\n createItemProps(item, index) {\n const props = VDataIterator.options.methods.createItemProps.call(this, item, index);\n return Object.assign(props, {\n headers: this.computedHeaders\n });\n },\n\n genCaption(props) {\n if (this.caption) return [this.$createElement('caption', [this.caption])];\n return getSlot(this, 'caption', props, true);\n },\n\n genColgroup(props) {\n return this.$createElement('colgroup', this.computedHeaders.map(header => {\n return this.$createElement('col', {\n class: {\n divider: header.divider\n }\n });\n }));\n },\n\n genLoading() {\n const th = this.$createElement('th', {\n staticClass: 'column',\n attrs: this.colspanAttrs\n }, [this.genProgress()]);\n const tr = this.$createElement('tr', {\n staticClass: 'v-data-table__progress'\n }, [th]);\n return this.$createElement('thead', [tr]);\n },\n\n genHeaders(props) {\n const data = {\n props: { ...this.sanitizedHeaderProps,\n headers: this.computedHeaders,\n options: props.options,\n mobile: this.isMobile,\n showGroupBy: this.showGroupBy,\n checkboxColor: this.checkboxColor,\n someItems: this.someItems,\n everyItem: this.everyItem,\n singleSelect: this.singleSelect,\n disableSort: this.disableSort\n },\n on: {\n sort: props.sort,\n group: props.group,\n 'toggle-select-all': this.toggleSelectAll\n }\n }; // TODO: rename to 'head'? (thead, tbody, tfoot)\n\n const children = [getSlot(this, 'header', { ...data,\n isMobile: this.isMobile\n })];\n\n if (!this.hideDefaultHeader) {\n const scopedSlots = getPrefixedScopedSlots('header.', this.$scopedSlots);\n children.push(this.$createElement(VDataTableHeader, { ...data,\n scopedSlots\n }));\n }\n\n if (this.loading) children.push(this.genLoading());\n return children;\n },\n\n genEmptyWrapper(content) {\n return this.$createElement('tr', {\n staticClass: 'v-data-table__empty-wrapper'\n }, [this.$createElement('td', {\n attrs: this.colspanAttrs\n }, content)]);\n },\n\n genItems(items, props) {\n const empty = this.genEmpty(props.originalItemsLength, props.pagination.itemsLength);\n if (empty) return [empty];\n return props.groupedItems ? this.genGroupedRows(props.groupedItems, props) : this.genRows(items, props);\n },\n\n genGroupedRows(groupedItems, props) {\n return groupedItems.map(group => {\n if (!this.openCache.hasOwnProperty(group.name)) this.$set(this.openCache, group.name, true);\n\n if (this.$scopedSlots.group) {\n return this.$scopedSlots.group({\n group: group.name,\n options: props.options,\n isMobile: this.isMobile,\n items: group.items,\n headers: this.computedHeaders\n });\n } else {\n return this.genDefaultGroupedRow(group.name, group.items, props);\n }\n });\n },\n\n genDefaultGroupedRow(group, items, props) {\n const isOpen = !!this.openCache[group];\n const children = [this.$createElement('template', {\n slot: 'row.content'\n }, this.genRows(items, props))];\n\n const toggleFn = () => this.$set(this.openCache, group, !this.openCache[group]);\n\n const removeFn = () => props.updateOptions({\n groupBy: [],\n groupDesc: []\n });\n\n if (this.$scopedSlots['group.header']) {\n children.unshift(this.$createElement('template', {\n slot: 'column.header'\n }, [this.$scopedSlots['group.header']({\n group,\n groupBy: props.options.groupBy,\n isMobile: this.isMobile,\n items,\n headers: this.computedHeaders,\n isOpen,\n toggle: toggleFn,\n remove: removeFn\n })]));\n } else {\n const toggle = this.$createElement(VBtn, {\n staticClass: 'ma-0',\n props: {\n icon: true,\n small: true\n },\n on: {\n click: toggleFn\n }\n }, [this.$createElement(VIcon, [isOpen ? '$minus' : '$plus'])]);\n const remove = this.$createElement(VBtn, {\n staticClass: 'ma-0',\n props: {\n icon: true,\n small: true\n },\n on: {\n click: removeFn\n }\n }, [this.$createElement(VIcon, ['$close'])]);\n const column = this.$createElement('td', {\n staticClass: 'text-start',\n attrs: this.colspanAttrs\n }, [toggle, `${props.options.groupBy[0]}: ${group}`, remove]);\n children.unshift(this.$createElement('template', {\n slot: 'column.header'\n }, [column]));\n }\n\n if (this.$scopedSlots['group.summary']) {\n children.push(this.$createElement('template', {\n slot: 'column.summary'\n }, [this.$scopedSlots['group.summary']({\n group,\n groupBy: props.options.groupBy,\n isMobile: this.isMobile,\n items,\n headers: this.computedHeaders,\n isOpen,\n toggle: toggleFn\n })]));\n }\n\n return this.$createElement(RowGroup, {\n key: group,\n props: {\n value: isOpen\n }\n }, children);\n },\n\n genRows(items, props) {\n return this.$scopedSlots.item ? this.genScopedRows(items, props) : this.genDefaultRows(items, props);\n },\n\n genScopedRows(items, props) {\n const rows = [];\n\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n rows.push(this.$scopedSlots.item({ ...this.createItemProps(item, i),\n isMobile: this.isMobile\n }));\n\n if (this.isExpanded(item)) {\n rows.push(this.$scopedSlots['expanded-item']({\n headers: this.computedHeaders,\n isMobile: this.isMobile,\n index: i,\n item\n }));\n }\n }\n\n return rows;\n },\n\n genDefaultRows(items, props) {\n return this.$scopedSlots['expanded-item'] ? items.map((item, index) => this.genDefaultExpandedRow(item, index)) : items.map((item, index) => this.genDefaultSimpleRow(item, index));\n },\n\n genDefaultExpandedRow(item, index) {\n const isExpanded = this.isExpanded(item);\n const classes = {\n 'v-data-table__expanded v-data-table__expanded__row': isExpanded\n };\n const headerRow = this.genDefaultSimpleRow(item, index, classes);\n const expandedRow = this.$createElement('tr', {\n staticClass: 'v-data-table__expanded v-data-table__expanded__content'\n }, [this.$scopedSlots['expanded-item']({\n headers: this.computedHeaders,\n isMobile: this.isMobile,\n item\n })]);\n return this.$createElement(RowGroup, {\n props: {\n value: isExpanded\n }\n }, [this.$createElement('template', {\n slot: 'row.header'\n }, [headerRow]), this.$createElement('template', {\n slot: 'row.content'\n }, [expandedRow])]);\n },\n\n genDefaultSimpleRow(item, index, classes = {}) {\n const scopedSlots = getPrefixedScopedSlots('item.', this.$scopedSlots);\n const data = this.createItemProps(item, index);\n\n if (this.showSelect) {\n const slot = scopedSlots['data-table-select'];\n scopedSlots['data-table-select'] = slot ? () => slot({ ...data,\n isMobile: this.isMobile\n }) : () => {\n var _this$checkboxColor;\n\n return this.$createElement(VSimpleCheckbox, {\n staticClass: 'v-data-table__checkbox',\n props: {\n value: data.isSelected,\n disabled: !this.isSelectable(item),\n color: (_this$checkboxColor = this.checkboxColor) != null ? _this$checkboxColor : ''\n },\n on: {\n input: val => data.select(val)\n }\n });\n };\n }\n\n if (this.showExpand) {\n const slot = scopedSlots['data-table-expand'];\n scopedSlots['data-table-expand'] = slot ? () => slot(data) : () => this.$createElement(VIcon, {\n staticClass: 'v-data-table__expand-icon',\n class: {\n 'v-data-table__expand-icon--active': data.isExpanded\n },\n on: {\n click: e => {\n e.stopPropagation();\n data.expand(!data.isExpanded);\n }\n }\n }, [this.expandIcon]);\n }\n\n return this.$createElement(this.isMobile ? MobileRow : Row, {\n key: getObjectValueByPath(item, this.itemKey),\n class: mergeClasses({ ...classes,\n 'v-data-table__selected': data.isSelected\n }, getPropertyFromItem(item, this.itemClass)),\n props: {\n headers: this.computedHeaders,\n hideDefaultHeader: this.hideDefaultHeader,\n index,\n item,\n rtl: this.$vuetify.rtl\n },\n scopedSlots,\n on: {\n // TODO: for click, the first argument should be the event, and the second argument should be data,\n // but this is a breaking change so it's for v3\n click: () => this.$emit('click:row', item, data),\n contextmenu: event => this.$emit('contextmenu:row', event, data),\n dblclick: event => this.$emit('dblclick:row', event, data)\n }\n });\n },\n\n genBody(props) {\n const data = { ...props,\n expand: this.expand,\n headers: this.computedHeaders,\n isExpanded: this.isExpanded,\n isMobile: this.isMobile,\n isSelected: this.isSelected,\n select: this.select\n };\n\n if (this.$scopedSlots.body) {\n return this.$scopedSlots.body(data);\n }\n\n return this.$createElement('tbody', [getSlot(this, 'body.prepend', data, true), this.genItems(props.items, props), getSlot(this, 'body.append', data, true)]);\n },\n\n genFoot(props) {\n var _this$$scopedSlots$fo, _this$$scopedSlots;\n\n return (_this$$scopedSlots$fo = (_this$$scopedSlots = this.$scopedSlots).foot) == null ? void 0 : _this$$scopedSlots$fo.call(_this$$scopedSlots, props);\n },\n\n genFooters(props) {\n const data = {\n props: {\n options: props.options,\n pagination: props.pagination,\n itemsPerPageText: '$vuetify.dataTable.itemsPerPageText',\n ...this.sanitizedFooterProps\n },\n on: {\n 'update:options': value => props.updateOptions(value)\n },\n widths: this.widths,\n headers: this.computedHeaders\n };\n const children = [getSlot(this, 'footer', data, true)];\n\n if (!this.hideDefaultFooter) {\n children.push(this.$createElement(VDataFooter, { ...data,\n scopedSlots: getPrefixedScopedSlots('footer.', this.$scopedSlots)\n }));\n }\n\n return children;\n },\n\n genDefaultScopedSlot(props) {\n const simpleProps = {\n height: this.height,\n fixedHeader: this.fixedHeader,\n dense: this.dense\n }; // if (this.virtualRows) {\n // return this.$createElement(VVirtualTable, {\n // props: Object.assign(simpleProps, {\n // items: props.items,\n // height: this.height,\n // rowHeight: this.dense ? 24 : 48,\n // headerHeight: this.dense ? 32 : 48,\n // // TODO: expose rest of props from virtual table?\n // }),\n // scopedSlots: {\n // items: ({ items }) => this.genItems(items, props) as any,\n // },\n // }, [\n // this.proxySlot('body.before', [this.genCaption(props), this.genHeaders(props)]),\n // this.proxySlot('bottom', this.genFooters(props)),\n // ])\n // }\n\n return this.$createElement(VSimpleTable, {\n props: simpleProps,\n class: {\n 'v-data-table--mobile': this.isMobile\n }\n }, [this.proxySlot('top', getSlot(this, 'top', { ...props,\n isMobile: this.isMobile\n }, true)), this.genCaption(props), this.genColgroup(props), this.genHeaders(props), this.genBody(props), this.genFoot(props), this.proxySlot('bottom', this.genFooters(props))]);\n },\n\n proxySlot(slot, content) {\n return this.$createElement('template', {\n slot\n }, content);\n }\n\n },\n\n render() {\n return this.$createElement(VData, {\n props: { ...this.$props,\n customFilter: this.customFilterWithColumns,\n customSort: this.customSortWithHeaders,\n itemsPerPage: this.computedItemsPerPage\n },\n on: {\n 'update:options': (v, old) => {\n this.internalGroupBy = v.groupBy || [];\n !deepEqual(v, old) && this.$emit('update:options', v);\n },\n 'update:page': v => this.$emit('update:page', v),\n 'update:items-per-page': v => this.$emit('update:items-per-page', v),\n 'update:sort-by': v => this.$emit('update:sort-by', v),\n 'update:sort-desc': v => this.$emit('update:sort-desc', v),\n 'update:group-by': v => this.$emit('update:group-by', v),\n 'update:group-desc': v => this.$emit('update:group-desc', v),\n pagination: (v, old) => !deepEqual(v, old) && this.$emit('pagination', v),\n 'current-items': v => {\n this.internalCurrentItems = v;\n this.$emit('current-items', v);\n },\n 'page-count': v => this.$emit('page-count', v)\n },\n scopedSlots: {\n default: this.genDefaultScopedSlot\n }\n });\n }\n\n});\n//# sourceMappingURL=VDataTable.js.map"],"sourceRoot":""}