{"version":3,"file":"VDataTable-FF1m3Pze.js","sources":["../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/mixins/mouse/index.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VData/VData.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataIterator/VDataFooter.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataIterator/VDataIterator.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataTable/mixins/header.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataTable/VDataTableHeaderMobile.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataTable/VDataTableHeaderDesktop.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/util/dedupeModelListeners.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/util/rebuildFunctionalSlots.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataTable/VDataTableHeader.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataTable/Row.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataTable/RowGroup.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataTable/MobileRow.js","../../../node_modules/.pnpm/vuetify@2.7.2_vue@2.7.16/node_modules/vuetify/lib/components/VDataTable/VDataTable.js"],"sourcesContent":["import Vue from 'vue';\nexport default Vue.extend({\n name: 'mouse',\n methods: {\n getDefaultMouseEventHandlers(suffix, getData, eventFirst = false) {\n const listeners = Object.keys(this.$listeners).filter(key => key.endsWith(suffix)).reduce((acc, key) => {\n acc[key] = {\n event: key.slice(0, -suffix.length)\n };\n return acc;\n }, {});\n return this.getMouseEventHandlers({ ...listeners,\n ['contextmenu' + suffix]: {\n event: 'contextmenu',\n prevent: true,\n result: false\n }\n }, getData, eventFirst);\n },\n\n getMouseEventHandlers(events, getData, eventFirst = false) {\n const on = {};\n\n for (const event in events) {\n const eventOptions = events[event];\n if (!this.$listeners[event]) continue; // TODO somehow pull in modifiers\n\n const prefix = eventOptions.passive ? '&' : (eventOptions.once ? '~' : '') + (eventOptions.capture ? '!' : '');\n const key = prefix + eventOptions.event;\n\n const handler = e => {\n var _a, _b;\n\n const mouseEvent = e;\n\n if (eventOptions.button === undefined || mouseEvent.buttons > 0 && mouseEvent.button === eventOptions.button) {\n if (eventOptions.prevent) {\n e.preventDefault();\n }\n\n if (eventOptions.stop) {\n e.stopPropagation();\n } // Due to TouchEvent target always returns the element that is first placed\n // Even if touch point has since moved outside the interactive area of that element\n // Ref: https://developer.mozilla.org/en-US/docs/Web/API/Touch/target\n // This block of code aims to make sure touchEvent is always dispatched from the element that is being pointed at\n\n\n if (e && 'touches' in e) {\n const classSeparator = ' ';\n const eventTargetClasses = (_a = e.currentTarget) === null || _a === void 0 ? void 0 : _a.className.split(classSeparator);\n const currentTargets = document.elementsFromPoint(e.changedTouches[0].clientX, e.changedTouches[0].clientY); // Get \"the same kind\" current hovering target by checking\n // If element has the same class of initial touch start element (which has touch event listener registered)\n\n const currentTarget = currentTargets.find(t => t.className.split(classSeparator).some(c => eventTargetClasses.includes(c)));\n\n if (currentTarget && !((_b = e.target) === null || _b === void 0 ? void 0 : _b.isSameNode(currentTarget))) {\n currentTarget.dispatchEvent(new TouchEvent(e.type, {\n changedTouches: e.changedTouches,\n targetTouches: e.targetTouches,\n touches: e.touches\n }));\n return;\n }\n } // TODO: VCalendar emits the calendar event as the first argument,\n // but it really should be the native event instead so modifiers can be used\n\n\n if (eventFirst) {\n this.$emit(event, e, getData(e));\n } else {\n this.$emit(event, getData(e), e);\n }\n }\n\n return eventOptions.result;\n };\n\n if (key in on) {\n /* istanbul ignore next */\n if (Array.isArray(on[key])) {\n on[key].push(handler);\n } else {\n on[key] = [on[key], handler];\n }\n } else {\n on[key] = handler;\n }\n }\n\n return on;\n }\n\n }\n});\n//# sourceMappingURL=index.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 },\n sortDesc: {\n type: [Boolean, Array]\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 // dark: this.dark, // TODO: add mixin\n // light: this.light // TODO: add mixin\n\n },\n on: {\n click\n },\n attrs: {\n 'aria-label': label // TODO: Localization\n\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 this.shiftKeyDown = e.keyCode === keyCodes.shift || e.shiftKey;\n },\n\n onKeyUp(e) {\n if (e.keyCode === keyCodes.shift || !e.shiftKey) {\n this.shiftKeyDown = false;\n }\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 = getSlot(this, 'loading') || this.$vuetify.lang.t(this.loadingText);\n return this.genEmptyWrapper(loading);\n } else if (originalItemsLength === 0) {\n const noData = getSlot(this, 'noData') || this.$vuetify.lang.t(this.noDataText);\n return this.genEmptyWrapper(noData);\n } else if (filteredItemsLength === 0) {\n const noResults = getSlot(this, 'noResults') || 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 _a;\n\n const data = {\n props: {\n value: this.everyItem,\n indeterminate: !this.everyItem && this.someItems,\n color: (_a = this.checkboxColor) !== null && _a !== void 0 ? _a : ''\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 = children.length ? h('th', [h('div', {\n staticClass: 'v-data-table-header-mobile__wrapper'\n }, children)]) : undefined;\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.hasOwnProperty(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, wrapInArray } from '../../util/helpers';\n\nfunction needsTd(slot) {\n var _a;\n\n return slot.length !== 1 || !['td', 'th'].includes((_a = slot[0]) === null || _a === void 0 ? void 0 : _a.tag);\n}\n\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.hasOwnProperty(slotName) && data.scopedSlots[slotName];\n const regularSlot = computedSlots.hasOwnProperty(slotName) && computedSlots[slotName];\n\n if (scopedSlot) {\n children.push(...wrapInArray(scopedSlot({\n item: props.item,\n isMobile: false,\n header,\n index: props.index,\n value\n })));\n } else if (regularSlot) {\n children.push(...wrapInArray(regularSlot));\n } else {\n children.push(value == null ? value : String(value));\n }\n\n const textAlign = `text-${header.align || 'start'}`;\n return needsTd(children) ? h('td', {\n class: [textAlign, header.cellClass, {\n 'v-data-table__divider': header.divider\n }]\n }, children) : 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.hasOwnProperty(slotName) && data.scopedSlots[slotName];\n const regularSlot = computedSlots.hasOwnProperty(slotName) && 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';\nimport Mouse from '../../mixins/mouse'; // 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, mergeStyles } 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, filterMode) {\n search = typeof search === 'string' ? search.trim() : null;\n\n if (filterMode === 'union') {\n // If the `search` property is empty and there are no custom filters in use, there is nothing to do.\n if (!(search && headersWithoutCustomFilters.length) && !headersWithCustomFilters.length) return items;\n return items.filter(item => {\n // Headers with custom filters are evaluated whether or not a search term has been provided.\n if (headersWithCustomFilters.length && headersWithCustomFilters.every(filterFn(item, search, defaultFilter))) {\n return true;\n } // Otherwise, the `search` property is used to filter columns without a custom filter.\n\n\n return search && headersWithoutCustomFilters.some(filterFn(item, search, customFilter));\n });\n } else if (filterMode === 'intersection') {\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 } else {\n return items;\n }\n}\n/* @vue/component */\n\n\nexport default mixins(VDataIterator, Loadable, Mouse).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 filterMode: {\n type: String,\n default: 'intersection'\n },\n itemClass: {\n type: [String, Function],\n default: () => ''\n },\n itemStyle: {\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 groupByText() {\n var _a, _b, _c;\n\n return (_c = (_b = (_a = this.headers) === null || _a === void 0 ? void 0 : _a.find(header => {\n var _a;\n\n return header.value === ((_a = this.internalGroupBy) === null || _a === void 0 ? void 0 : _a[0]);\n })) === null || _b === void 0 ? void 0 : _b.text) !== null && _c !== void 0 ? _c : '';\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, this.filterMode);\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 data = { ...VDataIterator.options.methods.createItemProps.call(this, item, index),\n headers: this.computedHeaders\n };\n return { ...data,\n attrs: {\n class: {\n 'v-data-table__selected': data.isSelected\n }\n },\n on: { ...this.getDefaultMouseEventHandlers(':row', () => data, true),\n // TODO: 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: event => this.$emit('click:row', item, data, event)\n }\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, `${this.groupByText}: ${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 _a;\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: (_a = this.checkboxColor) !== null && _a !== void 0 ? _a : ''\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 style: mergeStyles({}, getPropertyFromItem(item, this.itemStyle)),\n props: {\n headers: this.computedHeaders,\n hideDefaultHeader: this.hideDefaultHeader,\n index,\n item,\n rtl: this.$vuetify.rtl\n },\n scopedSlots,\n on: data.on\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 _a, _b;\n\n return (_b = (_a = this.$scopedSlots).foot) === null || _b === void 0 ? void 0 : _b.call(_a, 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 'v-data-table--selectable': this.showSelect\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"],"names":["Mouse","Vue","suffix","getData","eventFirst","listeners","key","acc","__spreadProps","__spreadValues","events","on","event","eventOptions","handler","e","_a","_b","mouseEvent","classSeparator","eventTargetClasses","currentTarget","t","c","VData","sortItems","groupItems","searchItems","internalOptions","wrapInArray","sortBy","sortDesc","groupBy","groupDesc","sortDiff","groupDiff","fillArray","items","options","old","deepEqual","page","itemsPerPage","multiSort","mustSort","pageCount","computedItems","pagination","oldBy","oldDesc","by","desc","byIndex","k","VDataFooter","option","obj","value","computedIPPO","ippo","VSelect","children","itemsLength","pageStart","pageStop","click","disabled","label","icon","VBtn","VIcon","before","after","getSlot","VDataIterator","mixins","Mobile","Themeable","i","camelizeObjectKeys","item","selection","getObjectValueByPath","expansion","keys","expanded","original","replacement","breaking","prop","removed","keyCodes","emit","index","x","lastEntryKey","lastEntryKeySelected","start","end","currentItem","v","content","originalItemsLength","filteredItemsLength","loading","noData","noResults","props","empty","data","scopedSlots","getPrefixedScopedSlots","outerProps","header","ripple","VSimpleCheckbox","VDataTableHeaderMobile","sortIndex","beingSorted","isDesc","VChip","h","sortHeaders","th","tr","VDataTableHeaderDesktop","$t","ariaSort","ariaLabel","convertToUnit","dedupeModelListeners","rebuildFunctionalSlots","slots","slot","VDataTableHeader","rebuildSlots","mergeData","needsTd","Row","computedSlots","columns","slotName","scopedSlot","regularSlot","textAlign","RowGroup","MobileRow","classes","mobileRowChildren","filterFn","search","filter","searchTableItems","headersWithCustomFilters","headersWithoutCustomFilters","customFilter","filterMode","defaultFilter","matchesColumnFilters","matchesSearchTerm","__unplugin_components_14","Loadable","headers","defaultHeader","itemsPerPageOptions","firstOption","_c","locale","groupedItems","group","isOpen","toggleFn","removeFn","toggle","remove","column","rows","isExpanded","headerRow","expandedRow","val","mergeClasses","getPropertyFromItem","mergeStyles","simpleProps","VSimpleTable"],"mappings":"mxCACA,MAAeA,GAAAC,EAAI,OAAO,CACxB,KAAM,QACN,QAAS,CACP,6BAA6BC,EAAQC,EAASC,EAAa,GAAO,CAChE,MAAMC,EAAY,OAAO,KAAK,KAAK,UAAU,EAAE,OAAOC,GAAOA,EAAI,SAASJ,CAAM,CAAC,EAAE,OAAO,CAACK,EAAKD,KAC9FC,EAAID,CAAG,EAAI,CACT,MAAOA,EAAI,MAAM,EAAG,CAACJ,EAAO,MAAM,CACnC,EACMK,GACN,EAAE,EACL,OAAO,KAAK,sBAAsBC,EAAAC,EAAA,GAAKJ,GAAL,CAChC,CAAC,cAAgBH,CAAM,EAAG,CACxB,MAAO,cACP,QAAS,GACT,OAAQ,EAClB,CACA,GAASC,EAASC,CAAU,CACvB,EAED,sBAAsBM,EAAQP,EAASC,EAAa,GAAO,CACzD,MAAMO,EAAK,CAAE,EAEb,UAAWC,KAASF,EAAQ,CAC1B,MAAMG,EAAeH,EAAOE,CAAK,EACjC,GAAI,CAAC,KAAK,WAAWA,CAAK,EAAG,SAG7B,MAAMN,GADSO,EAAa,QAAU,KAAOA,EAAa,KAAO,IAAM,KAAOA,EAAa,QAAU,IAAM,K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