{"version":3,"sources":["webpack:///./src/components/ReportingItems.vue?10ee","webpack:///./src/components/ReportingItems.vue?9c12","webpack:///./src/components/ReportingItems.vue","webpack:///./src/components/ReportingItems.vue?ee37","webpack:///./src/components/ReportingItems.vue?cc4c","webpack:///./src/components/MessageEditForm.vue?dd00","webpack:///./src/components/DataTableFooter.vue?4bd7","webpack:///./src/components/MessageEditForm.vue?78a6","webpack:///./src/components/MessageEditForm.vue","webpack:///./src/components/MessageEditForm.vue?b2ba","webpack:///./src/components/MessageEditForm.vue?751b","webpack:///./src/views/MessagesFeed.vue?5024","webpack:///./src/components/MessagesTable.vue?b9c8","webpack:///./src/components/DataTableFooter.vue?3eb9","webpack:///./src/components/DataTableFooter.vue","webpack:///./src/components/DataTableFooter.vue?d8cc","webpack:///./src/components/DataTableFooter.vue?d371","webpack:///./src/components/DataTableHeader.vue?d6d4","webpack:///./src/components/MenuSelector.vue?8519","webpack:///./src/components/MenuSelector.vue","webpack:///./src/components/MenuSelector.vue?f42c","webpack:///./src/components/MenuSelector.vue?767b","webpack:///./src/components/StartAndEndDateSelection.vue?3781","webpack:///./src/components/StartAndEndDateSelection.vue","webpack:///./src/components/StartAndEndDateSelection.vue?7d87","webpack:///./src/components/StartAndEndDateSelection.vue?4b20","webpack:///./src/components/TooltipActions.vue?2a53","webpack:///./src/components/TooltipActions.vue","webpack:///./src/components/TooltipActions.vue?db71","webpack:///./src/components/TooltipActions.vue?77a6","webpack:///./src/components/DataTableHeader.vue","webpack:///./src/components/DataTableHeader.vue?6695","webpack:///./src/components/DataTableHeader.vue?d1dd","webpack:///./src/components/MessagesTable.vue","webpack:///./src/components/MessagesTable.vue?5165","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/util/dedupeModelListeners.js","webpack:///./node_modules/vuetify/lib/util/rebuildFunctionalSlots.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/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/VSimpleTable.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/MobileRow.js","webpack:///./node_modules/vuetify/lib/components/VDataTable/VDataTable.js","webpack:///./src/components/MessagesTable.vue?8dbb","webpack:///./src/views/MessagesFeed.vue","webpack:///./src/views/MessagesFeed.vue?e192","webpack:///./src/views/MessagesFeed.vue?ce3a","webpack:///./src/components/MessagesTable.vue?d321","webpack:///./src/components/DataTableHeader.vue?4e6d"],"names":["render","_vm","this","_h","$createElement","_c","_self","isHomePage","_e","staticClass","class","attrs","$vuetify","breakpoint","smAndDown","_l","report","i","key","staticStyle","_v","_s","image","value","title","staticRenderFns","Vue","extend","name","props","type","Boolean","default","created","$store","dispatch","computed","mapGetters","messagesTableMessagesDelivered","messagesTableBroadcastsSent","messagesTableMessagesRecieved","messagesTableContactsReached","getReportValues","reportValues","methods","popSendToHelpDialog","icon","color","text","component","VCol","VIcon","VRow","VSpacer","operator","error","flag","smsMessage","media","on","saveMessage","$event","Object","required","data","role","getters","userRole","user","window","getProps","msg","isEdited","resp","id","VFadeTransition","toolbar","loading","ref","menuSelectors","search","messageSearch","clearSearch","paginateMessages","columnsTypeFilter","formattedMessages","setAttributes","itemsPerPage","messagesCurrentPage","height","scopedSlots","_u","fn","proxy","deliveryFilters","deliveryDateFilter","inOutFilters","inboundOutboundFilter","typeFilters","messageTypeFilter","statusFilters","statusTypeFilter","item","tooltipActions","mdOnly","smOnly","isMessageScheduled","isMessagedFailed","isMessageDelivered","status","getNumOfCredits","messagesLastPage","messagesLoading","showRefresh","pageBefore","pageNext","setItemsPerPage","itemsPerPageOptions","$emit","disabledNavigation","currentPage","lastPage","Number","String","Array","mounted","setNavigatorWidth","width","$refs","pageInfo","style","watch","VBtn","VDivider","VSelect","indexOf","_k","keyCode","model","callback","$$v","expression","items","timeSelector","setDateTime","initialDate","_g","_b","exportOption","index","onExportCSV","active","preventDefault","$set","VCheckbox","VList","VListItem","VListItemIcon","VListItemTitle","VMenu","expansionPanelsOpened","disableStartDateChoice","dateChoiceStart","minDateStartCalender","maxDateBothCalenders","selectedDateStart","previousStartDateForCalender","disableEndDateChoice","dateChoiceEnd","minDateEndCalender","selectedDateEnd","previousEndDateForCalender","resetChoices","submit","payload","startDate","substr","endDate","tenant","created_at","Date","toISOString","messagesTableParams","usersSelectedDate","page","commit","VDatePicker","VExpansionPanel","VExpansionPanelContent","VExpansionPanelHeader","VExpansionPanels","vertical","action","hasOwnProperty","onclick","disabledPopup","small","xSmall","tooltip","mixins","inputsMixin","actions","filteredActions","filtered","filter","x","isVisible","length","closeable","disabled","VTooltip","components","DateTimeSelector","MenuSelector","TooltipActions","searchValue","exportOptions","tooltipAction","messagesTableStartDate","messagesTableEndDate","messageFeedCSVExport","paginateChanges","dateTime","setDate","getDate","startDateSelection","includes","StartAndEndDateSelection","VListItemAction","VTextField","DataTableFooter","DataTableHeader","ReportingItems","availableAttributes","contentHeight","innerHeight","transforms","outbound","val","$options","filters","inboundOutbound","from","phone","author","personFullNameOrEmail","to","recipient","delivered","formattedDatetime","document","addEventListener","keyPressEvent","beforeDestroy","removeEventListener","calculateContentHeight","assign","payloadDefault","setTableHeight","$nextTick","messages","msgs","forEach","curr","_","cloneDeep","keys","push","messagesTableParamsExportDefault","attr","divider","perPage","onPage","currPage","nextPage","samePage","body","clientHeight","toolbars","padding","navbar","changeScheduledMessageTime","message","ScheduleBuilder","closeOnSubmit","dialogOpen","edit","messageFeed","schedules","schedule","single","isDirty","selection","paginateFilters","deleteMessageConfirm","result","deleteMessage","previousFilters","deliveredMessages","deliveryMultiselectPrevention","deliveryMultiselectPreventionHelper","current","previous","oppositeFilter","previousChoiceindex","splice","deselect","find","previousChoice","editMessage","description","failedMessageHandler","resendMessageHandler","filterObject","obj","pick","media_id","message_count","outboundMessages","inbound","event","Analytics","track","search_type","search_query","filterType","concat","limit","deleted","resendMessage","resend","num","headerHeight","tableHeader","$el","labelsHeight","getElementsByClassName","footerHeight","tableFooter","scheduled","failed","hidden","inheritAttrs","options","sortBy","sortDesc","customSort","Function","mustSort","multiSort","groupBy","groupDesc","customGroup","locale","disableSort","disablePagination","disableFiltering","customFilter","serverItemsLength","internalOptions","filteredItems","Math","ceil","itemsLength","min","pageStart","pageStop","pageCount","slice","sortItems","paginateItems","isGrouped","groupItems","computedItems","sort","sortArray","group","updateOptions","pagination","groupedItems","originalItemsLength","computedOptions","old","deep","immediate","isArray","oldBy","oldDesc","by","desc","byIndex","findIndex","k","toggle","map","s","max","$scopedSlots","scopedProps","prevIcon","nextIcon","firstIcon","lastIcon","itemsPerPageText","itemsPerPageAllText","showFirstLastPage","showCurrentPage","disableItemsPerPage","pageText","option","genDataItemsPerPageOption","lang","t","computedIPPO","computedDataItemsPerPageOptions","ippo","hideDetails","auto","minWidth","input","onChangeItemsPerPage","children","click","label","before","after","genIcon","onPreviousPage","rtl","onNextPage","disableNextPageIcon","unshift","onFirstPage","onLastPage","toString","genItemsPerPageSelect","genPaginationInfo","genIcons","VData","itemKey","singleSelect","expanded","singleExpand","noResultsText","noDataText","loadingText","hideDefaultFooter","footerProps","selectableKey","expansion","internalCurrentItems","selectableItems","every","isSelected","some","isSelectable","reduce","values","breakingProps","original","replacement","$attrs","removedProps","prop","emit","select","v","expand","isExpanded","content","filteredItemsLength","$slots","genEmptyWrapper","noData","noResults","empty","genEmpty","createItemProps","sanitizedFooterProps","outerProps","someItems","everyItem","toggleSelectAll","genItems","genFooter","$props","genDefaultScopedSlot","dedupeModelListeners","rebuildFunctionalSlots","slots","h","slot","directives","ripple","headers","sortIcon","showGroupBy","indeterminate","VSimpleCheckbox","size","sortByText","sortIndex","beingSorted","isDesc","sortable","asc","genSortIcon","VChip","nativeOn","e","stopPropagation","multiple","change","genSortChip","header","genSelectAll","sortHeaders","genSortSelect","th","tr","listeners","scope","styles","classes","align","genGroupByToggle","genHeader","functional","mobile","VDataTableHeaderMobile","VDataTableHeaderDesktop","computedSlots","columns","slotName","scopedSlot","regularSlot","textAlign","headerClass","contentClass","summaryClass","dense","fixedHeader","themeClasses","wrapper","top","genWrapper","bottom","mobileRowChildren","filterFn","searchTableItems","headersWithCustomFilters","headersWithoutCustomFilters","trim","VDataIterator","showSelect","showExpand","mobileBreakpoint","hideDefaultHeader","caption","headerProps","calculateWidths","headersLength","expandIcon","internalGroupBy","openCache","widths","undefined","defaultHeader","isMobile","colspan","computedHeaders","acc","filterable","firstOption","calcWidths","querySelectorAll","clientWidth","columnSorters","call","progress","VProgressLinear","colspanAttrs","sanitizedHeaderProps","genLoading","genGroupedRows","genRows","groups","genDefaultGroupedRow","isOpen","genDefaultRows","toggleFn","removeFn","remove","column","RowGroup","genScopedRows","rows","genDefaultExpandedRow","genDefaultSimpleRow","headerRow","expandedRow","MobileRow","Row","simpleProps","proxySlot","genCaption","genColgroup","genHeaders","genBody","genFooters","customFilterWithColumns","customSortWithHeaders","computedItemsPerPage","VDataTable","MessagesTable","feedFilters","left","permission","feature","messagesTableMessagesLoading"],"mappings":"iHAAA,W,oCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAAGJ,EAAIM,WAAqDN,EAAIO,KAA7CH,EAAG,MAAM,CAACI,YAAY,mBAA4BJ,EAAG,QAAQ,CAACK,MAAOT,EAAIM,WAA4C,QAA/B,6BAAuCI,MAAM,CAAC,KAAOV,EAAIW,SAASC,WAAWC,UAAY,cAAgB,KAAK,CAAGb,EAAIM,WAA2BN,EAA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9B,aAAcA,GAAKhd,KAAKoH,MAAM,aAAc4V,IAE9CxX,YAAa,CACX1D,QAAS9B,KAAKoe,2BCvkBlB,GAAY,eACd,GACA,EACA,GACA,EACA,KACA,WACA,MAIa,MAAiB,QAKhC,IAAkB,GAAW,CAAC+H,WAAA,KCff3kB,cAAIC,OAAO,CACtBC,KAAM,eACNuL,WAAY,CAAEmZ,kBACdtiB,KAAM,iBAAO,CACTuiB,YAAa,GACb3hB,QAAS,CACLpD,MAAO,kBACPglB,KAAM,CACF,CACIhlB,MAAO,OACPsB,KAAM,mBACNwJ,QAAS,OACTma,WAAY,EACZC,QAAS,UAKzBtkB,SAAU,CACNyC,QADM,WAEF,OAAO3E,KAAKgC,OAAOgC,QAAQyiB,iCC7BgW,MCOnY,GAAY,eACd,GACA3mB,EACAyB,GACA,EACA,KACA,KACA,MAIa,gB,kEClBf,W,kCCAA,W","file":"js/messages-feed.552c5264.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportingItems.vue?vue&type=style&index=0&id=43e0307a&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.isHomePage)?_c('div',{staticClass:\"header-filters\"}):_vm._e(),_c('v-row',{class:!_vm.isHomePage ? 'd-flex justify-center pa-4' : 'pa-4 ',attrs:{\"rows\":_vm.$vuetify.breakpoint.smAndDown ? 'flex-column' : ''}},[(!_vm.isHomePage)?_c('v-spacer'):_vm._e(),_vm._l((_vm.getReportValues),function(report,i){return _c('v-col',{key:i},[_c('div',{staticStyle:{\"font-size\":\"32px\",\"font-weight\":\"bold\",\"color\":\"#4d4d4d\"}},[_c('v-icon',{staticStyle:{\"color\":\"#4d4d4d\"},attrs:{\"large\":\"\"}},[_vm._v(\" \"+_vm._s(report.image)+\" \")]),_vm._v(\" \"+_vm._s(report.value)+\" \")],1),_c('div',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"bold\",\"color\":\"#4d4d4d\"}},[_vm._v(\" \"+_vm._s(report.title)+\" \")]),_c('v-spacer')],1)}),(!_vm.isHomePage)?_c('v-spacer'):_vm._e()],2),(!_vm.isHomePage)?_c('div',{staticClass:\"header-filters\"}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nimport { mapGetters } from 'vuex'\ninterface Reports {\n title: string\n image: string\n value: number\n}\nexport default Vue.extend({\n name: 'ReportingItems',\n props: {\n isHomePage: {\n type: Boolean,\n default: false\n }\n },\n created() {\n // Fetches our data from the api for our report fields whenever a change occurs\n this.$store.dispatch('messagesTableGetTopRowData')\n },\n computed: {\n ...mapGetters({\n messagesTableMessagesDelivered: 'messagesTableMessagesDelivered',\n messagesTableBroadcastsSent: 'messagesTableBroadcastsSent',\n messagesTableMessagesRecieved: 'messagesTableMessagesRecieved',\n messagesTableContactsReached: 'messagesTableContactsReached'\n }),\n // Function that we loop through to show our analytics in Message Feed\n getReportValues(): Reports[] {\n const reportValues = [\n {\n title: 'Messages Delivered',\n image: 'bi-chat-square-dots-fill',\n value: this.messagesTableMessagesDelivered\n },\n {\n title: 'Broadcasts Sent',\n image: 'bi-megaphone-fill',\n value: this.messagesTableBroadcastsSent\n },\n {\n title: 'Messages Received',\n image: 'bi-inbox-fill',\n value: this.messagesTableMessagesRecieved\n },\n {\n title: 'Contacts Reached',\n image: 'mdi-account-multiple',\n value: this.messagesTableContactsReached\n }\n ]\n return reportValues\n }\n },\n methods: {\n popSendToHelpDialog(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n icon: 'mdi-help-circle',\n color: 'primary',\n title: 'Help',\n text: `Data is for activity in the last 30 days.`\n })\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportingItems.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportingItems.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ReportingItems.vue?vue&type=template&id=43e0307a&scoped=true&\"\nimport script from \"./ReportingItems.vue?vue&type=script&lang=ts&\"\nexport * from \"./ReportingItems.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ReportingItems.vue?vue&type=style&index=0&id=43e0307a&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"43e0307a\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VIcon,VRow,VSpacer})\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessageEditForm.vue?vue&type=style&index=0&id=2ffd9e66&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=style&index=0&id=79ee2ccc&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex flex-column msg-container pl-2 pr-2 pb-2\"},[_c('v-fade-transition',{attrs:{\"origin\":\"bottom center 0\"}},[(!_vm.operator && _vm.error.flag)?_c('div',{staticClass:\"font-italic red--text text--darken-1 caption error-msg\"},[_vm._v(\" \"+_vm._s(_vm.error.text)+\" \")]):_vm._e()]),_c('message-text-form',{attrs:{\"autofocus\":\"\",\"defaultMedia\":_vm.smsMessage.media,\"save\":true,\"send\":\"\",\"insert\":_vm.smsMessage.text,\"padding\":6},on:{\"submit\":_vm.saveMessage,\"input\":function($event){_vm.text = $event}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Message from '@/types/Message.interface'\nimport Vue from 'vue'\nexport default Vue.extend({\n props: {\n smsMessage: {\n type: Object,\n required: true\n }\n },\n data() {\n return {\n error: {\n flag: false,\n text: 'edit this message to save'\n }\n }\n },\n computed: {\n operator(): boolean {\n // Grab our current role\n const role = this.$store.getters.userRole(this.$store.getters.user)\n\n // Check if this role is an operator\n return window.getProps(role, ['name']) === 'Operator'\n }\n },\n methods: {\n async saveMessage(msg: Message): Promise {\n // If the message was not edited, emit an error and return\n if (!this.isEdited(msg)) {\n return (this.error.flag = true)\n }\n\n // Disable the error flag\n this.error.flag = false\n\n // Update the message\n this.smsMessage.text = msg.text\n this.smsMessage.media = msg.media\n\n // Send the request\n const resp = await this.$store.dispatch('messagesPut', this.smsMessage)\n\n // If response was successful, close the dialog\n if (resp) return this.$store.dispatch('dialogClose', 'APP')\n },\n isEdited(msg: Message): boolean {\n return (\n msg.text != this.smsMessage.text ||\n msg.media?.id != this.smsMessage.media?.id\n )\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessageEditForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessageEditForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MessageEditForm.vue?vue&type=template&id=2ffd9e66&scoped=true&\"\nimport script from \"./MessageEditForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./MessageEditForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MessageEditForm.vue?vue&type=style&index=0&id=2ffd9e66&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ffd9e66\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VFadeTransition } from 'vuetify/lib/components/transitions';\ninstallComponents(component, {VFadeTransition})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('page-template',{attrs:{\"toolbar\":_vm.toolbar,\"loader\":_vm.loading,\"divider\":true}},[_c('messages-table')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[[_c('data-table-header',{ref:\"tableHeader\",attrs:{\"menu-selectors\":_vm.menuSelectors,\"search-value\":_vm.search},on:{\"search\":_vm.messageSearch,\"search:clear\":_vm.clearSearch,\"refresh\":function($event){return _vm.paginateMessages()},\"settings:change\":function($event){return _vm.columnsTypeFilter($event)}}})],_c('reporting-items'),(_vm.formattedMessages)?_c('v-data-table',{ref:\"messageTable\",staticClass:\"messageTable\",attrs:{\"items\":_vm.formattedMessages,\"headers\":_vm.setAttributes,\"items-per-page\":_vm.itemsPerPage,\"page\":_vm.messagesCurrentPage,\"hide-default-footer\":\"\",\"height\":_vm.height,\"disable-sort\":\"\"},scopedSlots:_vm._u([{key:\"top\",fn:function(){return undefined},proxy:true},{key:\"header.delivered\",fn:function(){return [_c('div',{staticClass:\"d-flex flex-row justify-start align-center\"},[_c('span',{staticClass:\"text-start\"},[_vm._v(\" Delivery Date \")]),_c('menu-selector',{staticClass:\"mx-2\",attrs:{\"icon\":\"bi-sort-up\",\"items\":_vm.deliveryFilters},on:{\"change:checkbox\":function($event){return _vm.deliveryDateFilter($event)}}})],1)]},proxy:true},{key:\"header.outbound\",fn:function(){return [_c('div',{staticClass:\"d-flex flex-row justify-start align-center\"},[_c('span',{staticClass:\"text-start\"},[_vm._v(\" Inbound/Outbound \")]),_c('menu-selector',{staticClass:\"mx-2\",attrs:{\"icon\":\"bi-filter-circle-fill\",\"listStyle\":false,\"items\":_vm.inOutFilters},on:{\"change:checkbox\":function($event){return _vm.inboundOutboundFilter($event)}}})],1)]},proxy:true},{key:\"header.type\",fn:function(){return [_c('div',{staticClass:\"d-flex flex-row justify-start align-center\"},[_c('span',{staticClass:\"text-start\"},[_vm._v(\" Message Type \")]),_c('menu-selector',{staticClass:\"mx-2\",attrs:{\"icon\":\"bi-filter-circle-fill\",\"items\":_vm.typeFilters},on:{\"change:checkbox\":function($event){return _vm.messageTypeFilter($event)}}})],1)]},proxy:true},{key:\"header.status\",fn:function(){return [_c('div',{staticClass:\" d-flex flex-row justify-start align-center\"},[_c('span',{staticClass:\"text-start\"},[_vm._v(\" Status \")]),_c('menu-selector',{staticClass:\"mx-2\",attrs:{\"icon\":\"bi-filter-circle-fill\",\"items\":_vm.statusFilters},on:{\"change:checkbox\":function($event){return _vm.statusTypeFilter($event)}}})],1)]},proxy:true},{key:\"item.text\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{staticClass:\"d-flex flex-row justify-space-between align-center\"},[_c('span',{staticClass:\"text-start\",staticStyle:{\"word-break\":\"break-word\"}},[_vm._v(\" \"+_vm._s(item.text)+\" \")]),_c('tooltip-actions',{attrs:{\"small\":\"\",\"actions\":_vm.tooltipActions(item),\"vertical\":_vm.$vuetify.breakpoint.mdOnly || _vm.$vuetify.breakpoint.smOnly}})],1)]}},{key:\"item.status\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-start\",class:{'yellow--text text--darken-3' : _vm.isMessageScheduled(item), 'red--text text--darken-1' : _vm.isMessagedFailed(item), 'primary--text' : _vm.isMessageDelivered(item)}},[_vm._v(\" \"+_vm._s(item.status)+\" \")])]}},{key:\"item.message_count\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{staticClass:\"text-start\"},[_vm._v(\" \"+_vm._s(_vm.getNumOfCredits(item))+\" \")])]}},{key:\"footer\",fn:function(){return [(_vm.messagesCurrentPage && _vm.messagesLastPage)?_c('data-table-footer',{ref:\"tableFooter\",attrs:{\"items-per-page\":_vm.itemsPerPage,\"current-page\":_vm.messagesCurrentPage,\"last-page\":_vm.messagesLastPage,\"disabledNavigation\":_vm.messagesLoading,\"showRefresh\":_vm.showRefresh},on:{\"back\":_vm.pageBefore,\"next\":_vm.pageNext,\"paginate\":function($event){return _vm.paginateMessages(1)},\"page:input\":_vm.setItemsPerPage}}):_vm._e()]},proxy:true}],null,true)}):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"table-footer\"},[_c('div',{staticClass:\"footer-content\"},[_c('div',{staticClass:\"itemsPerPage\"},[_c('v-select',{attrs:{\"value\":_vm.itemsPerPage,\"items\":_vm.itemsPerPageOptions,\"hint\":\"Messages per page\",\"persistent-hint\":\"\"},on:{\"change\":function($event){return _vm.$emit('page:input', $event)}}})],1),_c('v-divider',{staticClass:\"mx-2\",attrs:{\"vertical\":\"\"}}),_c('div',{staticClass:\"navigator\"},[_c('v-btn',{attrs:{\"icon\":\"\",\"x-small\":\"\",\"disabled\":_vm.disabledNavigation},on:{\"click\":function($event){return _vm.$emit('back', $event)}}},[_c('v-icon',[_vm._v(\" mdi-arrow-left \")])],1),_c('div',{ref:\"pageInfo\",staticClass:\"page-info\"},[_c('div',{staticClass:\"info-content\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.currentPage)+\" - \"+_vm._s(_vm.lastPage)+\" \")])])]),_c('v-btn',{attrs:{\"icon\":\"\",\"x-small\":\"\",\"disabled\":_vm.disabledNavigation},on:{\"click\":function($event){return _vm.$emit('next', $event)}}},[_c('v-icon',[_vm._v(\" mdi-arrow-right \")])],1)],1)],1),(_vm.showRefresh)?_c('v-row',{staticClass:\"justify-center align-center\",attrs:{\"no-gutters\":\"\"}},[_c('div',{staticClass:\"px-6 py-2\",staticStyle:{\"background-color\":\"#F3EEEA\",\"border-radius\":\"4px\",\"box-shadow\":\"0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)\"}},[_vm._v(\" Changes have occurred. \"),_c('v-btn',{staticClass:\"ml-3\",attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.$emit('paginate', $event)}}},[_vm._v(\" Load changes \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nexport default Vue.extend({\n name: 'DataTableFooter',\n props: {\n itemsPerPage: {\n type: [Number, String],\n required: true\n },\n itemsPerPageOptions: {\n type: Array,\n required: false,\n default: () => [5, 10, 15, 30, 50, 100]\n },\n disabledNavigation: {\n type: Boolean,\n required: false,\n default: false\n },\n currentPage: {\n type: [Number, String],\n required: true\n },\n lastPage: {\n type: [Number, String],\n required: true\n },\n showRefresh: {\n type: Boolean,\n default: false\n }\n },\n mounted() {\n this.setNavigatorWidth()\n },\n methods: {\n setNavigatorWidth(): void {\n // Our width depends on how many pages we have\n let width = 124\n if (this.lastPage < 999) {\n width = 72\n } else if (this.lastPage < 9999) {\n width = 86\n } else if (this.lastPage < 99999) {\n width = 106\n }\n\n // Set our page width\n this.$refs.pageInfo.style.width = `${width}px`\n }\n },\n watch: {\n lastPage(): void {\n // Recalculate the page width every time that our last page changes\n this.setNavigatorWidth()\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableFooter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DataTableFooter.vue?vue&type=template&id=79ee2ccc&scoped=true&\"\nimport script from \"./DataTableFooter.vue?vue&type=script&lang=ts&\"\nexport * from \"./DataTableFooter.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DataTableFooter.vue?vue&type=style&index=0&id=79ee2ccc&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"79ee2ccc\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VBtn,VDivider,VIcon,VRow,VSelect})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{staticStyle:{\"margin\":\"0px\",\"padding\":\"0px\"}},[_c('v-col',{staticClass:\"search-container d-flex justify-left ml-4\",staticStyle:{\"padding\":\"0px margin:0px\"}},[_c('v-text-field',{staticClass:\"search-clear\",staticStyle:{\"max-width\":\"400px\"},attrs:{\"label\":\"Search For Message Content...\",\"maxlength\":\"150\",\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"prepend-inner-icon\":\"mdi-magnify\",\"clear-icon\":\"mdi-close\"},on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.$emit('search', _vm.search)},\"click:append-outer\":function($event){return _vm.$emit('search', _vm.search)},\"click:clear\":function($event){return _vm.$emit('search:clear', _vm.search)}},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-col',{staticClass:\"d-flex justify-end mr-4\",staticStyle:{\"padding\":\"0px margin:0px\"}},[_vm._l((_vm.menuSelectors),function(item,i){return _c('menu-selector',{key:i,staticClass:\"mx-2\",attrs:{\"icon\":\"mdi-cog\",\"title\":item.title,\"items\":item.items},on:{\"change:checkbox\":function($event){return _vm.$emit('settings:change', $event, item)}}})}),_c('v-select',{staticClass:\"mr-5\",staticStyle:{\"max-width\":\"200px\",\"max-height\":\"40px\",\"background-color\":\"#F1E2F6\"},attrs:{\"dense\":\"\",\"outlined\":\"\",\"items\":_vm.timeSelector},on:{\"input\":_vm.setDateTime},scopedSlots:_vm._u([{key:\"append\",fn:function(){return [_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-chevron-down\")])]},proxy:true}]),model:{value:(_vm.initialDate),callback:function ($$v) {_vm.initialDate=$$v},expression:\"initialDate\"}}),_c('v-menu',{attrs:{\"offset-y\":\"\",\"transition\":\"slide-y-transition\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticStyle:{\"font-size\":\"14px\",\"height\":\"40px\"},attrs:{\"color\":\"primary\"}},'v-btn',attrs,false),on),[_c('v-icon',{staticClass:\"mr-5\"},[_vm._v(\"bi-download\")]),_vm._v(\" Export Messages \")],1)]}}])},[_c('v-list',[_vm._l((_vm.exportOptions),function(exportOption,index){return [_c('v-list-item',{key:index,attrs:{\"link\":\"\"}},[_c('v-list-item-action',{on:{\"click\":function($event){return _vm.onExportCSV(index)}}},[_c('v-icon',[_vm._v(\" \"+_vm._s(exportOption.icon)+\" \")])],1),_c('v-list-item-title',{on:{\"click\":function($event){return _vm.onExportCSV(index)}}},[_vm._v(\" \"+_vm._s(exportOption.title)+\" \")])],1)]})],2)],1)],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-menu',{attrs:{\"offset-y\":true,\"offset-overflow\":true,\"close-on-content-click\":false},on:{\"input\":function($event){return _vm.$emit('input', $event)}},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"color\":\"primary\",\"icon\":_vm.icon !== null}},'v-btn',attrs,false),on),[(!_vm.icon)?_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]):_c('v-icon',{attrs:{\"medium\":\"\",\"color\":\"primary\"}},[_vm._v(\" \"+_vm._s(_vm.icon)+\" \")])],1)]}}])},[_c('v-list',_vm._l((_vm.items),function(item,index){return _c('v-list-item',{key:index,attrs:{\"dense\":\"\",\"inactive\":!item.active}},[_c('v-list-item-title',{on:{\"click\":function($event){item.active = !item.active}}},[_vm._v(\" \"+_vm._s(item.text || item.value)+\" \")]),_c('v-list-item-icon',{on:{\"click\":function($event){$event.preventDefault();}}},[_c('v-checkbox',{staticClass:\"ma-0 pa-0\",attrs:{\"dense\":\"\",\"hide-details\":true},on:{\"change\":function($event){return _vm.$emit('change:checkbox', item, $event)}},model:{value:(item.active),callback:function ($$v) {_vm.$set(item, \"active\", $$v)},expression:\"item.active\"}})],1)],1)}),1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nexport default Vue.extend({\n name: 'MenuSelector',\n props: {\n /* \n The items displayed in the v-list\n @param Bool active\n @param String value \n */\n items: {\n type: Array,\n required: true\n },\n // The text on the button\n title: {\n type: String,\n required: false,\n default: 'Button'\n },\n // Icon mode\n icon: {\n type: String,\n required: false,\n default: null\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MenuSelector.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MenuSelector.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MenuSelector.vue?vue&type=template&id=4c402ebe&\"\nimport script from \"./MenuSelector.vue?vue&type=script&lang=ts&\"\nexport * from \"./MenuSelector.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemIcon } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\ninstallComponents(component, {VBtn,VCheckbox,VIcon,VList,VListItem,VListItemIcon,VListItemTitle,VMenu})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-col',{attrs:{\"justify\":\"center\",\"align\":\"center\"}},[_c('v-row',[_c('v-expansion-panels',{attrs:{\"accordion\":\"\",\"multiple\":\"\"},model:{value:(_vm.expansionPanelsOpened),callback:function ($$v) {_vm.expansionPanelsOpened=$$v},expression:\"expansionPanelsOpened\"}},[_c('v-expansion-panel',{attrs:{\"disabled\":_vm.disableStartDateChoice}},[_c('v-expansion-panel-header',{staticStyle:{\"font-size\":\"20px\",\"color\":\"#4d4d4d\",\"font-weight\":\"600\"}},[_vm._v(\" Start Date \"+_vm._s(_vm.dateChoiceStart)+\" \")]),_c('v-expansion-panel-content',[_c('v-date-picker',{attrs:{\"color\":\"primary\",\"year-icon\":\"mdi-calendar\",\"min\":_vm.minDateStartCalender,\"max\":_vm.maxDateBothCalenders,\"show-current\":false},on:{\"click:date\":function($event){return _vm.selectedDateStart($event)}},model:{value:(_vm.previousStartDateForCalender),callback:function ($$v) {_vm.previousStartDateForCalender=$$v},expression:\"previousStartDateForCalender\"}})],1)],1),_c('v-expansion-panel',{attrs:{\"disabled\":_vm.disableEndDateChoice}},[_c('v-expansion-panel-header',{staticStyle:{\"font-size\":\"20px\",\"color\":\"#4d4d4d\",\"font-weight\":\"600\"}},[_vm._v(\" End Date \"+_vm._s(_vm.dateChoiceEnd)+\" \")]),_c('v-expansion-panel-content',[_c('v-date-picker',{attrs:{\"color\":\"primary\",\"year-icon\":\"mdi-calendar\",\"min\":_vm.minDateEndCalender,\"max\":_vm.maxDateBothCalenders,\"show-current\":_vm.dateChoiceStart},on:{\"click:date\":function($event){return _vm.selectedDateEnd($event)}},model:{value:(_vm.previousEndDateForCalender),callback:function ($$v) {_vm.previousEndDateForCalender=$$v},expression:\"previousEndDateForCalender\"}})],1)],1)],1)],1),_c('v-row',{staticClass:\"pa-2\",attrs:{\"align\":\"center\",\"justify\":\"center\"}},[_c('v-btn',{staticClass:\"text-capitalize\",staticStyle:{\"border-radius\":\"5px\"},attrs:{\"rounded\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.resetChoices()}}},[_vm._v(\" Reset Date Choice \"),_c('v-icon',{staticClass:\"ml-2\"},[_vm._v(\"mdi-reload\")])],1),_c('v-spacer'),_c('v-btn',{staticClass:\"text-capitalize\",staticStyle:{\"border-radius\":\"5px\"},attrs:{\"rounded\":\"\",\"color\":\"primary\",\"disabled\":!(_vm.disableEndDateChoice && _vm.disableStartDateChoice)},on:{\"click\":function($event){return _vm.submit()}}},[_vm._v(\" Confirm Date Filter \"),_c('v-icon',{staticClass:\"ml-2\"},[_vm._v(\"mdi-check\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nexport default Vue.extend({\n data() {\n return {\n // These two variables are used to show the user the date they selected in the v-expansion-panel header\n dateChoiceStart: '',\n dateChoiceEnd: '',\n\n // These two variables are used to disable or enable their respective expansion panels preventing the user from\n // changing the dates in a way that could cause errors\n disableEndDateChoice: true,\n disableStartDateChoice: false,\n\n // In order to programmatically close/open a expansion panel you need a v-model (what this var is) which is essentially\n // an array of our expansion panels which you can then toggle open/closed by adding or removing them from this array\n expansionPanelsOpened: [0],\n\n // These start out blank as the user hasn't chosen a date but when they do the string is filled with the date/time they choose\n previousStartDateForCalender: '',\n previousEndDateForCalender: ''\n }\n },\n mounted() {\n // This is used for our expansion panel to show the user what date they picked\n // We need to use substr here as datepicker needs a less precise datetime object\n this.previousStartDateForCalender = this.payload.startDate.substr(0, 10)\n this.previousEndDateForCalender = this.payload.endDate.substr(0, 10)\n },\n computed: {\n // Minimum date user can select in the start date calender (when tenant was created)\n minDateStartCalender(): string {\n return this.$store.getters.tenant.created_at\n },\n // Max date user can select which is current day\n maxDateBothCalenders(): string {\n return new Date().toISOString()\n },\n // This is used so when the start date is chosen and the end date calender opens the earliest date you can choose is what was choosen in the\n // start date calender\n minDateEndCalender(): string {\n return this.dateChoiceStart\n },\n // Returns our messagestable.ts payload object which we use to paginate our filters\n payload(): object {\n return this.$store.getters.messagesTableParams\n }\n },\n methods: {\n // Resets all the data properties to give us a clean slate so user can rechoose dates\n resetChoices(): void {\n // Reset the start/end date selction text that is shown to the user\n this.dateChoiceStart = ''\n this.dateChoiceEnd = ''\n\n // We disable the user from editing the end date\n this.disableEndDateChoice = true\n\n // We enable the user to edit the start date again\n this.disableStartDateChoice = false\n\n // We close the end date panel and open the start date panel to direct user to make their choices again\n this.expansionPanelsOpened = [0]\n },\n // Sets the selected date and then closes the panel and opens the end date panel\n selectedDateStart(usersSelectedDate: string): void {\n // Set the start date text to what the user choose date wise\n this.dateChoiceStart = usersSelectedDate\n\n // We enable the user to now choose an end date\n this.disableEndDateChoice = false\n\n // We disable the startdate choice selection since the user already choose a date\n this.disableStartDateChoice = true\n\n // We open the end date panel automatically and close the start date panel\n this.expansionPanelsOpened = [1]\n },\n // Sets the selected date and then closes the end date panel\n selectedDateEnd(usersSelectedDate: string): void {\n // We set the end date choice text to date user choose\n this.dateChoiceEnd = usersSelectedDate\n\n // We disable the end date selection as they have choosen a date\n this.disableEndDateChoice = true\n\n // We close the end date panel so now both panels are closed (user can choose to reset selction or submit)\n this.expansionPanelsOpened = []\n },\n // Updates the store with the user's date choices which are used to paginate the data and closes the pop-up this component was called from\n // (DataTableHeader.vue)\n submit(): void {\n // We update our store payload so we can filter based off the user's choices\n this.payload.startDate = this.dateChoiceStart\n this.payload.endDate = this.dateChoiceEnd\n\n // Always return user to page 1 if they have applied a date filter to prevent 2-1 page error\n this.payload.messagesCurrentPage = 1\n this.payload.page = 1\n\n // We update our store with the date changes\n this.$store.commit('messagesTableParamsSet', this.payload)\n\n // We then filter and paginate our table based off the dates given\n this.$store.dispatch('messagesTableMessagesPaginate')\n\n // We close the dialog app from where this component was called\n this.$store.dispatch('dialogClose', 'APP')\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartAndEndDateSelection.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartAndEndDateSelection.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StartAndEndDateSelection.vue?vue&type=template&id=65fd0330&\"\nimport script from \"./StartAndEndDateSelection.vue?vue&type=script&lang=ts&\"\nexport * from \"./StartAndEndDateSelection.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VDatePicker,VExpansionPanel,VExpansionPanelContent,VExpansionPanelHeader,VExpansionPanels,VIcon,VRow,VSpacer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex align-center\",class:_vm.vertical ? 'flex-column' : 'flex-row'},_vm._l((_vm.filteredActions),function(action,i){return _c('v-tooltip',{key:i,attrs:{\"left\":_vm.vertical,\"bottom\":!_vm.vertical},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"icon\":action.hasOwnProperty('icon')},on:{\"click\":function($event){return _vm.onclick(action)}}},on),[_c('v-icon',{attrs:{\"dense\":\"\",\"color\":action.disabledPopup ? 'rgba(0,0,0,0.26)' : '',\"small\":_vm.small,\"x-small\":_vm.xSmall}},[_vm._v(\" \"+_vm._s(action.icon)+\" \")])],1)]}}],null,true)},[_c('span',[_vm._v(\" \"+_vm._s(action.tooltip)+\" \")])])}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue, { PropType } from 'vue'\nimport inputsMixin from '@/mixins/inputs-mixin'\nimport Button from '@/types/components/Button.interface'\nexport default Vue.extend({\n name: 'TooltipActions',\n mixins: [inputsMixin],\n props: {\n // The actions to display\n actions: {\n type: Array as PropType,\n required: true\n },\n // Determines if column layout is active\n vertical: {\n type: Boolean,\n required: false,\n default: false\n },\n // Determines small icon size\n small: {\n type: Boolean,\n required: false,\n default: false\n },\n // Determines x-small icon size\n xSmall: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n computed: {\n filteredActions(): Button[] {\n // Grab our actions\n const actions = this.actions\n\n // If we have no actions, return null\n if (!actions) return null\n\n // @ts-ignore Else, filter out any hidden items\n const filtered = actions.filter((x: Button) => this.isVisible(x))\n\n // If our filtered is empty, return null\n if (!filtered.length) return null\n\n // Else, return the filtered\n return filtered\n }\n },\n methods: {\n disabledPopup(): void {\n // Open a dialog informing user they cannot\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Button Disabled',\n text: \"You don't have permission to access this feature. Please contact your account's admin to perform this task or have them update your account permission\",\n icon: 'mdi-alert',\n color: 'primary',\n closeable: true\n })\n },\n onclick(action: Button): void {\n // Check if we are disabled\n const disabled = action.disabledPopup\n\n // If we are, pop our dialog\n if (disabled) return this.disabledPopup()\n\n // Else, just use our callback\n action.callback()\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TooltipActions.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TooltipActions.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TooltipActions.vue?vue&type=template&id=358b070f&\"\nimport script from \"./TooltipActions.vue?vue&type=script&lang=ts&\"\nexport * from \"./TooltipActions.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VIcon,VTooltip})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nimport { messageFeedCSVExport } from '@/utility/helpers'\nimport DateTimeSelector from '@/components/DateTimeSelector.vue'\nimport MenuSelector from '@/components/MenuSelector.vue'\nimport StartAndEndDateSelection from '@/components/StartAndEndDateSelection.vue'\nimport TooltipActions from '@/components/TooltipActions.vue'\nexport default Vue.extend({\n name: 'DataTableHeader',\n components: { DateTimeSelector, MenuSelector, TooltipActions },\n props: {\n menuSelectors: {\n type: Array,\n required: false\n },\n searchValue: {\n type: String,\n required: false\n }\n },\n data() {\n return {\n // Export options which we use for our export messages button\n exportOptions: [\n {\n title: 'Export Entire Message History',\n icon: 'mdi-all-inclusive'\n },\n {\n title: 'Export Just Messages In Filter',\n icon: 'mdi-filter'\n }\n ],\n\n // Default filter option that is automatically chosen\n initialDate: 'All Time',\n\n // The v-model for the text field\n search: null,\n\n // Start and end dates used to filter messages, start date is modified later on\n startDate: null,\n endDate: null,\n\n // The refresh tooltip action\n tooltipAction: [\n {\n callback: () => this.$emit('refresh'),\n icon: 'mdi-refresh',\n tooltip: 'Refresh'\n }\n ],\n\n // Choices user is allowed to make in the v-select\n timeSelector: [\n 'All Time',\n 'Last 30 Days',\n 'Last 14 Days',\n 'Last 7 Days',\n 'Last 24 Hours',\n 'Custom Time Length'\n ]\n }\n },\n mounted() {\n // If we have a search value, then set search to searchValue\n this.searchValue && (this.search = this.searchValue)\n\n // We set our start and end dates to whatever is currently in our store when the messages feed page is loaded (30 days as of right now)\n this.startDate = this.$store.getters.messagesTableStartDate\n this.endDate = this.$store.getters.messagesTableEndDate\n },\n computed: {\n // Returns our messagestable.ts payload object which we use to paginate our filters\n payload(): object {\n return this.$store.getters.messagesTableParams\n }\n },\n methods: {\n // Calls messageFeedCSVExport from helpers.ts and enables user to export the sms_messages table\n onExportCSV(index: number): void {\n if (index === 0) {\n // Export messages with no filters\n messageFeedCSVExport(true)\n } else {\n // Export messages with filters\n messageFeedCSVExport(false)\n }\n },\n paginateChanges() {\n // Assemble payload to send to our store\n this.payload.endDate = this.endDate\n this.payload.startDate = this.startDate\n\n // We always set the page back to 1 when date filter is applied to prevent 2-1 page error\n this.payload.messagesCurrentPage = 1\n this.payload.page = 1\n\n // Update the params in the store\n this.$store.commit('messagesTableParamsSet', this.payload)\n\n // The filter has changed, so paginate the new filter\n this.$store.dispatch('messagesTableMessagesPaginate')\n },\n setDateTime(dateTime: string): void {\n switch (dateTime) {\n case 'All Time':\n // Get the earliest time a computer fetches as it covers any message a tenant could've ever sent or recieved\n this.startDate = new Date(null).toISOString()\n\n // Get the current date and set that as the end date\n this.endDate = new Date().toISOString()\n\n break\n case 'Last 30 Days':\n // Dock 30 days to get our start date\n this.startDate = new Date().setDate(new Date().getDate() - 30)\n\n // Needed to convert miliseconds of time given into an actual date we recognize\n this.startDate = new Date(this.startDate).toISOString()\n this.endDate = new Date().toISOString()\n\n break\n case 'Last 14 Days':\n // Dock 14 days to get our start date\n this.startDate = new Date().setDate(new Date().getDate() - 14)\n\n // Needed to convert miliseconds of time given into an actual date we recognize\n this.startDate = new Date(this.startDate).toISOString()\n this.endDate = new Date().toISOString()\n\n break\n case 'Last 7 Days':\n // Dock 7 days to get our start date\n this.startDate = new Date().setDate(new Date().getDate() - 7)\n\n // Needed to convert miliseconds of time given into an actual date we recognize\n this.startDate = new Date(this.startDate).toISOString()\n this.endDate = new Date().toISOString()\n\n break\n case 'Last 24 Hours':\n // Dock 24 hours to get our start date\n this.startDate = new Date().setDate(new Date().getDate() - 1)\n\n // Needed to convert miliseconds of time given into an actual date we recognize\n this.startDate = new Date(this.startDate).toISOString()\n this.endDate = new Date().toISOString()\n\n break\n case 'Custom Time Length':\n this.startDateSelection()\n\n // We return instead of break here becuase we must paginate the changes in the StartEndDateSelection component\n return\n default:\n return\n }\n\n // Take anyone of the date filter changes the user applied and send it to our api to paginate (Besides custom time length)\n this.paginateChanges()\n },\n // Enables the user to make a custom start date selection that cannot go any earlier than when the tenant was made\n startDateSelection(): void {\n // Becuase we pass our start date to the calender it sets the initial selction at that date now that we have an all time\n // option it means the calender gets set to 1970 which we don't want so we change it if the user came from the all time option\n if (this.startDate.includes('1970')) {\n // Get the date the tenant was made to prevent confusion from seeing the calender say 1970\n this.payload.startDate = this.$store.getters.tenant.created_at\n\n // Update the params in the store\n this.$store.commit('messagesTableParamsSet', this.payload)\n }\n\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n title: 'Choose a Start and End Date',\n component: StartAndEndDateSelection,\n closeable: true\n })\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableHeader.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableHeader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DataTableHeader.vue?vue&type=template&id=3aacc8e3&scoped=true&\"\nimport script from \"./DataTableHeader.vue?vue&type=script&lang=ts&\"\nexport * from \"./DataTableHeader.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DataTableHeader.vue?vue&type=style&index=0&id=3aacc8e3&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3aacc8e3\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VIcon,VList,VListItem,VListItemAction,VListItemTitle,VMenu,VRow,VSelect,VTextField})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nimport DataTableFooter from '@/components/DataTableFooter.vue'\nimport DataTableHeader from '@/components/DataTableHeader.vue'\nimport { mapGetters } from 'vuex'\nimport Message, { MessageStatus } from '@/types/Message.interface'\nimport Button from '@/types/components/Button.interface'\nimport MenuSelector from '@/components/MenuSelector.vue'\nimport ScheduleBuilder from '@/components/ScheduleBuilder.vue'\nimport TooltipActions from '@/components/TooltipActions.vue'\nimport ReportingItems from '@/components/ReportingItems.vue'\nimport Analytics from '@/services/Analytics'\ninterface FilterChoice {\n text: string\n active: boolean\n value: string\n}\nexport default Vue.extend({\n name: 'MessagesTable',\n components: {\n DataTableFooter,\n DataTableHeader,\n MenuSelector,\n TooltipActions,\n ReportingItems\n },\n data() {\n return {\n // The message attributes appearing on the table\n availableAttributes: [\n {\n text: 'Delivery Date',\n value: 'delivered',\n active: true\n },\n {\n text: 'Inbound/Outbound',\n value: 'outbound',\n active: true\n },\n {\n text: 'Sent From Name',\n value: 'author',\n active: true\n },\n {\n text: 'Sent From Phone #',\n value: 'from',\n active: true\n },\n {\n text: 'Reciever Name',\n value: 'recipient',\n active: true\n },\n {\n text: 'Reciever Phone #',\n value: 'to',\n active: true\n },\n {\n text: 'Message Type',\n value: 'type',\n active: true\n },\n {\n text: 'Message Content',\n value: 'text',\n active: true\n },\n {\n text: 'Status',\n value: 'status',\n active: false\n },\n {\n text: 'Credits',\n value: 'message_count',\n active: false\n }\n ],\n // The height of the primary content\n contentHeight: window.innerHeight,\n // The set height of the table\n height: '100%',\n // The number of messages that appear on screen\n itemsPerPage: 15,\n // The avaible status filters\n statusFilters: [\n {\n text: 'delivered',\n value: 'delivered',\n active: false\n },\n {\n text: 'failed',\n value: 'failed',\n active: false\n },\n {\n text: 'comment',\n value: 'comment',\n active: false\n },\n {\n text: 'sent',\n value: 'sent',\n active: false\n },\n {\n text: 'scheduled',\n value: 'scheduled',\n active: false\n }\n ],\n // Filters allowed for delivery\n deliveryFilters: [\n {\n text: 'ascending',\n value: 'ascending',\n active: false\n },\n {\n text: 'descending',\n value: 'descending',\n active: true\n },\n {\n text: 'delivered',\n value: 'delivered',\n active: false\n },\n {\n text: 'not delivered',\n value: 'not delivered',\n active: false\n }\n ],\n // Filters allowed for inbound/outbound\n inOutFilters: [\n {\n text: 'inbound',\n value: false,\n active: false\n },\n {\n text: 'outbound',\n value: true,\n active: false\n }\n ],\n // The v-model for the text field\n search: null,\n // Message type filters available for pagination\n typeFilters: [\n {\n text: 'auto responder',\n value: 'autoresponder',\n active: false\n },\n {\n text: 'broadcast',\n value: 'broadcast',\n active: false\n },\n {\n text: 'chatbot',\n value: 'chatbot',\n active: false\n },\n {\n text: 'comment',\n value: 'comment',\n active: false\n },\n {\n text: 'form',\n value: 'form',\n active: false\n },\n {\n text: 'invoice',\n value: 'invoice',\n active: false\n },\n {\n text: 'office hours',\n value: 'office hours',\n active: false\n },\n {\n text: 'send',\n value: 'send',\n active: false\n },\n {\n text: 'scheduled',\n value: 'scheduled',\n active: false\n }\n ],\n // The transformation functions, the variable must be the name of the column title within our database\n transforms: {\n outbound: (val) => this.$options.filters.inboundOutbound(val),\n from: (val) => this.$options.filters.phone(val),\n author: (val) => this.$options.filters.personFullNameOrEmail(val),\n to: (val) => this.$options.filters.phone(val),\n recipient: (val) => this.$options.filters.personFullNameOrEmail(val),\n status: (val) => val,\n delivered: (val) => this.$options.filters.formattedDatetime(val),\n type: (val) => (!val ? 'inbound' : val),\n created_at: (val) => this.$options.filters.formattedDatetime(val)\n }\n }\n },\n created() {\n // Add keydown event listener\n document.addEventListener('keydown', this.keyPressEvent)\n\n // Paginate messages\n this.paginateMessages()\n },\n beforeDestroy() {\n // Remove the event listener\n document.removeEventListener('keydown', this.keyPressEvent)\n window.removeEventListener('resize', this.calculateContentHeight)\n\n // Assign the default payload to our normal payload to reset the filters when user leaves the page (We must do Object.assign here to do a deep copy)\n Object.assign(this.payload, this.payloadDefault)\n\n // Paginate the changes so they are applied when user returns to the page\n this.paginateMessages(1)\n },\n mounted() {\n // Calculate and set table height\n this.setTableHeight()\n\n // Calculate the height only on next tick\n this.$nextTick(() => {\n // Calculate the current content height for initial state\n this.calculateContentHeight()\n\n // Add this event listener so we recalculate the height whenever window is resized\n window.addEventListener('resize', this.calculateContentHeight)\n })\n },\n computed: {\n ...mapGetters({\n messages: 'messagesTableMessages',\n messagesCurrentPage: 'messagesTableMessagesCurrentPage',\n messagesLastPage: 'messagesTableMessagesLastPage',\n messagesLoading: 'messagesTableMessagesLoading'\n }),\n formattedMessages(): Message[] {\n // If we have no messages, return empty array\n if (!this.messages) return []\n\n // Else, create a container for our messages\n const msgs = []\n\n // Iterate through our messages, transform, and insert into our array\n this.messages.forEach((msg: Message) => {\n // Our current entry (must use cloneDeep here otherwise our changes affect the actual messages table)\n const curr = window._.cloneDeep(msg)\n\n // Iterate through each of our transform functions\n Object.keys(this.transforms).forEach((key) => {\n // When we are on our delivered transform we want to make sure we add the delivery date for inbound messages, this doesn't happen\n // naturally as the delivered column is null for inbound messages in our DB, so for these messages we use the created_at date\n if (key == 'delivered' && !msg.outbound) {\n curr[key] = this.transforms['created_at'](msg['created_at'])\n } else {\n // Apply the function and insert into the array\n curr[key] = this.transforms[key](msg[key])\n }\n })\n\n // Push curr into our array\n msgs.push(curr)\n })\n\n // Return our messages\n return msgs\n },\n menuSelectors(): object[] {\n return [\n {\n title: 'Columns',\n items: this.availableAttributes\n }\n ]\n },\n operator(): boolean {\n // Grab our current role\n const role = this.$store.getters.userRole(this.$store.getters.user)\n\n // Check if this role is an operator\n return window.getProps(role, ['name']) === 'Operator'\n },\n // Returns our messagestable.ts payload object which we use to paginate our filters\n payload(): object {\n return this.$store.getters.messagesTableParams\n },\n // Returns our messagestable.ts defualt payload used to reset all filters\n payloadDefault(): object {\n return this.$store.getters.messagesTableParamsExportDefault\n },\n setAttributes(): object[] {\n // Container for our attributes\n const attr = []\n\n // Iterate and add our attributes\n this.availableAttributes.forEach((x) => {\n // If the attribute is inactive, do nothing\n if (!x.active) return\n\n // Else, push it to the array\n attr.push({\n text: x.text,\n value: x.value,\n divider: true\n })\n })\n\n // Return our attributes\n return attr\n },\n showRefresh(): boolean {\n // Get our total number of items per page\n const perPage = this.itemsPerPage\n\n // Get our total number of messages\n const onPage = this.messages.length\n\n // If we have the same amount, we are good\n if (perPage === onPage) return false\n\n // Else, check our current page\n const currPage = this.messagesCurrentPage\n\n // Get our last page\n const nextPage = this.messagesLastPage\n\n // Check if these pages match\n const samePage = currPage === nextPage\n\n // If we are on the same page, we are good\n if (samePage) return false\n\n // Else, the data needs to be updated, display our button\n return true\n }\n },\n methods: {\n // The height of the primary content\n calculateContentHeight(): number {\n // Get the height of the view\n let body = document.body.clientHeight\n\n // Define the toolbars offset\n let toolbars = 70\n\n // define the padding offset (accounts for padding on smAndUp)\n let padding = 25\n\n // Define the app bottom navbar offset\n let navbar = 15\n\n // Subtract the height of our app bar, toolbars, navbar, and padding\n let height = body - (toolbars + padding + navbar)\n\n // Return height in pixels\n this.contentHeight = height\n\n return height\n },\n changeScheduledMessageTime(message: Message): void {\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n title: 'Schedule Time Edit',\n component: ScheduleBuilder,\n closeable: true,\n closeOnSubmit: true,\n props: {\n dialogOpen: true,\n // Disables the ability to delete schedules in this pop-up which we want as we have a cancel button for scheduled messages\n edit: true,\n messageFeed: true,\n message: message,\n schedules: [message.schedule],\n // Since message feed seperates scheuled messages as individuals, even if they are the same message scheduled over multiple\n // time periods, we enable single option\n single: true\n }\n })\n },\n clearSearch(): void {\n // Keep track if search had a value\n const isDirty = this.payload.search !== null\n\n // Only paginate if search is NOT null\n if (isDirty) {\n this.payload.search = ''\n this.paginateMessages(1)\n }\n },\n columnsTypeFilter(selection: FilterChoice): void {\n // Our SMS table doesn't actually contain these columns thus we cannot send them to the API\n if (selection.value === 'author' || selection.value === 'recipient') {\n return\n }\n\n // Call the paginateFilters function so we can apply our columnTypes that have been selected by the user\n this.paginateFilters('columnsType', selection)\n },\n deleteMessageConfirm(message: Message): void {\n this.$store.dispatch('dialogOpen', {\n type: 'CONFIRM',\n title: 'Delete Message',\n text: `Are you sure you'd like to delete this message? If yes, it will be removed from the conversation history`,\n icon: 'mdi-alert',\n color: 'primary',\n callback: (result: boolean) => this.deleteMessage(result, message)\n })\n },\n async deleteMessage(result: boolean, message: Message): Promise {\n // If no result, return\n if (!result) return\n\n // Else, delete the message\n const resp = await this.$store.dispatch('messagesDelete', message)\n\n // If there was a response, notify the user\n if (!resp) return\n\n // Notify the user that we made a change\n this.$store.commit('appNotificationBarSet', {\n message: 'Message deleted successfully',\n type: 'success'\n })\n\n // Re-paginate\n this.paginateMessages()\n },\n deliveryDateFilter(selection: FilterChoice): void {\n // Grab the previous filters so we know what the user already has applied to the message table\n const previousFilters = this.payload.deliveredMessages\n\n // We compare the users selection to their previous filters and prevent multi select based off what they choose\n this.deliveryMultiselectPrevention(selection, previousFilters)\n\n // We pass what filter we are changing as well as the user's selection to apply changes to our filters\n this.paginateFilters('deliveredMessages', selection)\n },\n // Only allows user to check a sort order option, (either descenidng or ascending), and check delivered or not delivered messages\n deliveryMultiselectPrevention(selection: FilterChoice, previousFilters): void {\n // We check the users selection and see if any of the currently applied filters are inverses to the users selection, if so we uncheck and remove\n // the inverse filter\n this.deliveryMultiselectPreventionHelper(\n 'not delivered',\n 'delivered',\n selection,\n previousFilters\n )\n\n this.deliveryMultiselectPreventionHelper(\n 'delivered',\n 'not delivered',\n selection,\n previousFilters\n )\n\n this.deliveryMultiselectPreventionHelper(\n 'descending',\n 'ascending',\n selection,\n previousFilters\n )\n\n this.deliveryMultiselectPreventionHelper(\n 'ascending',\n 'descending',\n selection,\n previousFilters\n )\n },\n // Used to help our deliveryMultiselectPrevention function by seperating logic and enabling us to resuse it for the four cases we can have\n deliveryMultiselectPreventionHelper(\n current: string,\n previous: string,\n selection: FilterChoice,\n previousFilters: Array\n ): void {\n // We check if the user's filter choice is the inverse of what's currently selected (delivered/not delivered) and (descending/ascending)\n const oppositeFilter =\n previousFilters.includes(current) && selection.text === previous\n\n // You can only select one of the filters thus we need to remove the previous choice if it's the inverse of user's current choice\n if (oppositeFilter) {\n // Find the index of our previous choice so that we can remove it\n const previousChoiceindex = previousFilters.indexOf(current)\n\n // Only splice array when item is found\n if (previousChoiceindex > -1) {\n // Remove previous choice filter from array\n previousFilters.splice(previousChoiceindex, 1)\n }\n\n // We take the previous filters which now no longer contains the previousChoice and reassign it to delivered messages\n this.payload.deliveredMessages = previousFilters\n\n // We find the previously selected item in the array (clientside) and set it's active to false so it is no longer checked\n const deselect = this.deliveryFilters.find(\n (previousChoice) => previousChoice.text === current\n )\n\n // Set the now deselected item's active value to false (removes checkmark)\n deselect.active = false\n }\n },\n editMessage(message: Message): void {\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n title: 'Edit message',\n icon: 'mdi-pencil',\n description: 'Change the message before it gets sent to your contact',\n component: 'message-edit-form',\n props: {\n smsMessage: message\n }\n })\n },\n // Pop a failed message (re-send) dialog\n failedMessageHandler(message: Message): void {\n this.$store.dispatch('dialogOpen', {\n type: 'CONFIRM',\n title: 'Failed To Send',\n text: `Sending messages to contacts with invalid or unreachable phone numbers will result in the message being marked as \"Not Delivered\". Before resending, confirm that this number can receive text messages! Would you like to try resending this message?`,\n icon: 'mdi-alert-circle',\n callback: (result: boolean): void => {\n // If result was false do nothing\n if (!result) return\n\n // Else, resend\n this.resendMessageHandler(message)\n }\n })\n },\n // Used to format our message so our api can recieve it\n filterObject(obj: object): object {\n // Our filter that we apply to our message object\n const filter = [\n 'channel_id',\n 'text',\n 'media_id',\n 'template_id',\n 'author_id',\n 'outbound',\n 'type'\n ]\n\n // Filter our object based on the filter above\n let message = window._.pick(obj, filter)\n\n // Since our outbound filter here returns text and not true or false we need to change that or we'll get a 422 from our api\n if (message.outbound === 'outbound') {\n message.outbound = true\n } else {\n message.outbound = false\n }\n\n // Return our message\n return message\n },\n getNumOfCredits(msg: Message): number {\n // If this is NOT outbound, return 0\n if (!msg.outbound) return 0\n\n // If has media, automatic 3 credits\n if (msg.media_id !== null) return 3\n\n // Return our message count\n return msg.message_count || 0\n },\n inboundOutboundFilter(selection: FilterChoice): void {\n // If the filter selected is inbound and it's checked then we apply this filter\n if (selection.text === 'inbound' && selection.active) {\n // If the user choose inbound then we change our payload to let the api know to not filter based off outbound\n this.payload.outboundMessages = false\n\n // We find outbound in the array of inbound outbound filters we have so we can set it's checkbox mark to false (no longer checked)\n const outbound = this.inOutFilters.find(\n (previousChoice) => previousChoice.text === 'outbound'\n )\n\n // We set outbound checkbox to false that way the user cannot choose both inbound and outbound options\n outbound.active = false\n }\n\n // If the filter selected is outbound and it's checked then we apply this filter\n else if (selection.text === 'outbound' && selection.active) {\n // We set the payload outbound messages to true so the api knows to include outbound messages\n this.payload.outboundMessages = true\n\n // We find inbound in the array of inbound outbound filters we have so we can set it's checkbox mark to false (no longer checked)\n const inbound = this.inOutFilters.find(\n (previousChoice) => previousChoice.text === 'inbound'\n )\n\n // We set inbox checkbox to false that way the user cannot choose both inbound and outbound options\n inbound.active = false\n }\n\n // Else the user hasn't had any filter options checked and thus we set it to null to show both outbound and inbound messages\n else {\n this.payload.outboundMessages = null\n }\n\n // Apply the user's choice if any was made and paginate our messages based off that choice\n this.paginateMessages(1)\n },\n // Used to determine styling for status text\n isMessageDelivered(msg: Message): boolean {\n return msg.status === 'delivered'\n },\n // Used to determine styling for status text\n isMessagedFailed(msg: Message): boolean {\n return msg.status === 'failed'\n },\n // Used to determine styling for status text\n isMessageScheduled(msg: Message): boolean {\n return msg.status === 'scheduled'\n },\n keyPressEvent(event: Event): void {\n // @ts-ignore TODO\n if (event.key === 'ArrowRight') this.pageNext()\n // @ts-ignore TODO\n else if (event.key === 'ArrowLeft') this.pageBefore()\n },\n messageSearch(text: string): void {\n // If text is not provided, return\n if (!text) return\n\n // Set the search\n this.payload.search = text\n\n // Paginate with search\n this.paginateMessages(1)\n\n Analytics.track('LocalSearchUsed', {\n search_type: 'Messages',\n search_query: text\n })\n },\n messageTypeFilter(selection: FilterChoice): void {\n // We call the paginate filters function and pass what filter the user has changed and paginate based off those changes\n this.paginateFilters('messagesType', selection)\n },\n pageBefore(): void {\n // If the current page is NOT greater than 1, do nothing\n if (this.messagesCurrentPage <= 1) return\n\n // Else if the current page is greater than the first page, then go to the previous page\n this.paginateMessages(this.messagesCurrentPage - 1)\n },\n pageNext(): void {\n // If the current page is greater than/equal to last page, do nothing\n if (this.messagesCurrentPage >= this.messagesLastPage) return\n\n // Else if the current page is less than the last page, then go to the next page\n this.paginateMessages(this.messagesCurrentPage + 1)\n },\n paginateFilters(filterType: string, selection: FilterChoice) {\n // We assign our current selction choices\n const previousFilters = this.payload[filterType]\n\n // If user has choice marked and we have previous filters, we add the new selected filter to the other filters they have\n if (selection.active && previousFilters) {\n // We use the list of items in the previous filter and add the user's selection to this then assign it to our payload\n this.payload[filterType] = previousFilters.concat(selection.value)\n }\n\n // Else if the selection they choose is now active but they don't have any other filters set, we just add the choice to the array\n else if (selection.active && !previousFilters) {\n // Assign the users selection to our payload\n this.payload[filterType] = [selection.value]\n }\n\n // If the filter option they chose is now unchecked and we have other filters then we find the unchecked filter and remove it\n else if (!selection.active && previousFilters) {\n // Grab the index of the item we are removing from the filter list (what the user unchecked)\n const index = previousFilters.indexOf(selection.value)\n\n // Only splice array when item is found\n if (index > -1) {\n // Remove unchecked filter from array\n previousFilters.splice(index, 1)\n }\n\n // We now assign the previous filters back to our payload w/o the filter the user removed\n this.payload[filterType] = previousFilters\n }\n\n // If this is the users first time on the page and no filters have been applied then their first filter goes through this statement\n else {\n // Assign users first filter choice here\n this.payload[filterType] = [selection.value]\n }\n\n // We call our paginateMessages function to send the filters to the api\n this.paginateMessages(1)\n },\n paginateMessages(page: number): void {\n // We set our current page in the store to either be the first page if any filter is applied to prevent a 2-1 page error\n // if no filter is applied we just set it to be the next or prev page\n this.payload.messagesCurrentPage = page || this.messagesCurrentPage\n\n // Assemble payload for page pagination and page limit\n this.payload.page = page || this.messagesCurrentPage\n this.payload.limit = this.itemsPerPage\n\n // Update the params in the store\n this.$store.commit('messagesTableParamsSet', this.payload)\n\n // The filter has changed, so paginate the new filter\n this.$store.dispatch('messagesTableMessagesPaginate')\n },\n // Delete the scheduled message, send the message, and re-paginate\n async resendMessageHandler(message: Message): Promise {\n // Delete the current message\n const deleted = await this.$store.dispatch('messagesDelete', message)\n\n // If no response, return\n if (!deleted) return\n\n // Resend the message\n this.resendMessage(message)\n },\n async resendMessage(message: Message): Promise {\n // Get a filtered payload\n const payload = this.filterObject(message)\n\n // Else, dispatch with our filtered payload\n const resend = await this.$store.dispatch('messagesPost', payload)\n\n // If no response, return\n if (!resend) return\n\n // Else, set our notification bar\n this.$store.commit('appNotificationBarSet', {\n type: 'success',\n message: 'Message(s) Sent'\n })\n\n // Paginate our messages\n this.paginateMessages()\n },\n setItemsPerPage(num: number = 15): void {\n // Set our items per page to the parameter passed in\n this.itemsPerPage = num\n\n // We have to repaginate starting from page 1, or else subsequent paginations brick\n this.paginateMessages(1)\n },\n setTableHeight(): void {\n // Get the height of the table header\n const headerHeight = this.$refs.tableHeader?.$el.clientHeight\n\n // Get the height of the labels row\n const labelsHeight =\n document.getElementsByClassName('v-data-table-header')[0]?.clientHeight\n\n // Get the height of the table footer\n const footerHeight = this.$refs.tableFooter?.$el.clientHeight\n\n // Get our total height\n const height =\n this.contentHeight - headerHeight - labelsHeight - footerHeight - 8\n\n // Set the table height\n this.height = `${height}px`\n },\n statusTypeFilter(selection: FilterChoice): void {\n // Apply the filter choice the user made and paginate our messages based off that filer\n this.paginateFilters('status', selection)\n },\n tooltipActions(msg: Message): Button[] {\n // Check if the message is scheduled\n const scheduled = msg.status === 'scheduled'\n\n // Check if the message failed\n const failed = msg.status === 'failed'\n\n // The tooltip actions available for scheduled and failed messages\n return [\n {\n hidden: !scheduled && !failed,\n callback: () => this.editMessage(msg),\n icon: 'mdi-pencil',\n tooltip: 'edit message'\n },\n // This is for resending scheduled messages\n {\n disabledPopup: this.operator,\n hidden: !scheduled,\n callback: () => this.resendMessageHandler(msg),\n icon: 'mdi-send',\n tooltip: 'send message'\n },\n // This is for resending failed messages\n {\n disabledPopup: this.operator,\n hidden: !failed,\n callback: () => this.failedMessageHandler(msg),\n icon: 'mdi-send',\n tooltip: 'send message'\n },\n {\n disabledPopup: this.operator,\n callback: () => this.deleteMessageConfirm(msg),\n icon: 'mdi-delete',\n tooltip: 'delete message'\n },\n {\n hidden: !scheduled,\n callback: () => this.changeScheduledMessageTime(msg),\n icon: 'mdi-calendar',\n tooltip: 'Change Scheduled Time'\n }\n ]\n }\n },\n watch: {\n contentHeight(): void {\n this.setTableHeight()\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagesTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagesTable.vue?vue&type=script&lang=ts&\"","// Helpers\nimport { wrapInArray, sortItems, deepEqual, groupItems, searchItems } 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 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 === -1 ? 1 : Math.ceil(this.itemsLength / this.internalOptions.itemsPerPage); // TODO: can't use items.length here\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.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 const props = {\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 return props;\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 this.$emit('pagination', this.pagination);\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 },\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.mustSort, this.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 const sortBy = this.internalOptions.groupBy.concat(this.internalOptions.sortBy);\n const sortDesc = this.internalOptions.groupDesc.concat(this.internalOptions.sortDesc);\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, this.internalOptions.page - 1);\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';\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.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\n if (this.pagination.itemsLength) {\n const itemsLength = this.pagination.itemsLength;\n const pageStart = this.pagination.pageStart + 1;\n const 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 }\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 }, [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 Themeable from '../../mixins/themeable'; // Helpers\n\nimport { deepEqual, getObjectValueByPath, getPrefixedScopedSlots, getSlot, camelizeObjectKeys } from '../../util/helpers';\nimport { breaking, removed } from '../../util/console';\n/* @vue/component */\n\nexport default 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 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 }),\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 methods: {\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\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 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) {\n const props = {\n item,\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 };\n return props;\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 expand: this.expand\n });\n }\n\n if (this.$scopedSlots.item) {\n return props.items.map(item => this.$scopedSlots.item(this.createItemProps(item)));\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 },\n scopedSlots: {\n default: this.genDefaultScopedSlot\n }\n });\n }\n\n});\n//# sourceMappingURL=VDataIterator.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","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 required: true\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 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 const data = {\n props: {\n value: this.everyItem,\n indeterminate: !this.everyItem && this.someItems\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 nativeOn: {\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 },\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');\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: () => this.$emit('group', header.value)\n }\n }, ['group']);\n },\n\n // eslint-disable-next-line max-statements\n genHeader(header) {\n const listeners = {};\n const children = [];\n const attrs = {\n role: 'columnheader',\n scope: 'col',\n 'aria-label': header.text || '',\n 'aria-sort': 'none'\n };\n const styles = {\n width: convertToUnit(header.width),\n minWidth: convertToUnit(header.width)\n };\n const classes = [`text-${header.align || 'start'}`, ...wrapInArray(header.class), header.divider && 'v-data-table__divider'];\n\n if (header.value === 'data-table-select' && !this.singleSelect) {\n children.push(this.genSelectAll());\n } else {\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 listeners['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 classes.push('sortable');\n\n if (beingSorted) {\n classes.push('active');\n classes.push(isDesc ? 'desc' : 'asc');\n attrs['aria-sort'] = isDesc ? 'descending' : 'ascending';\n attrs['aria-label'] += isDesc ? this.$vuetify.lang.t('$vuetify.dataTable.ariaLabel.sortDescending') : this.$vuetify.lang.t('$vuetify.dataTable.ariaLabel.sortAscending');\n } else {\n attrs['aria-label'] += this.$vuetify.lang.t('$vuetify.dataTable.ariaLabel.sortNone');\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) {\n children.push(this.genGroupByToggle(header));\n }\n }\n\n return this.$createElement('th', {\n attrs,\n class: classes,\n style: styles,\n on: listeners\n }, 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","import \"../../../src/components/VDataTable/VDataTableHeader.sass\";\nimport Vue from 'vue';\nimport dedupeModelListeners from '../../util/dedupeModelListeners';\nimport rebuildSlots from '../../util/rebuildFunctionalSlots';\nimport VDataTableHeaderMobile from './VDataTableHeaderMobile';\nimport VDataTableHeaderDesktop from './VDataTableHeaderDesktop';\nexport default Vue.extend({\n name: 'v-data-table-header',\n functional: true,\n 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\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 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 header,\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: {\n [textAlign]: true,\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 \"../../../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 ...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","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 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 header,\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') {\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 VProgressLinear from '../VProgressLinear';\nimport Row from './Row';\nimport RowGroup from './RowGroup';\nimport VSimpleCheckbox from '../VCheckbox/VSimpleCheckbox';\nimport VSimpleTable from './VSimpleTable';\nimport MobileRow from './MobileRow'; // Directives\n\nimport ripple from '../../directives/ripple'; // Helpers\n\nimport { deepEqual, getObjectValueByPath, getPrefixedScopedSlots, getSlot, defaultFilter, camelizeObjectKeys } from '../../util/helpers';\nimport { breaking } from '../../util/console';\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 let filtered = items;\n search = typeof search === 'string' ? search.trim() : null;\n\n if (search && headersWithoutCustomFilters.length) {\n filtered = items.filter(item => headersWithoutCustomFilters.some(filterFn(item, search, customFilter)));\n }\n\n if (headersWithCustomFilters.length) {\n filtered = filtered.filter(item => headersWithCustomFilters.every(filterFn(item, search, defaultFilter)));\n }\n\n return filtered;\n}\n/* @vue/component */\n\n\nexport default VDataIterator.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 showExpand: Boolean,\n showGroupBy: Boolean,\n // TODO: Fix\n // virtualRows: Boolean,\n mobileBreakpoint: {\n type: Number,\n default: 600\n },\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 },\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 isMobile() {\n // Guard against SSR render\n // https://github.com/vuetifyjs/vuetify/issues/7410\n if (this.$vuetify.breakpoint.width === 0) return false;\n return this.$vuetify.breakpoint.width < this.mobileBreakpoint;\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.computedHeaders.filter(header => header.filter && (!header.hasOwnProperty('filterable') || header.filterable === true));\n },\n\n headersWithoutCustomFilters() {\n return this.computedHeaders.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) {\n const props = VDataIterator.options.methods.createItemProps.call(this, item);\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 progress = this.$slots['progress'] ? this.$slots.progress : this.$createElement(VProgressLinear, {\n props: {\n color: this.loading === true ? 'primary' : this.loading,\n height: 2,\n indeterminate: true\n }\n });\n const th = this.$createElement('th', {\n staticClass: 'column',\n attrs: this.colspanAttrs\n }, [progress]);\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 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 };\n const children = [getSlot(this, 'header', data)];\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 const groups = Object.keys(groupedItems || {});\n return groups.map(group => {\n if (!this.openCache.hasOwnProperty(group)) this.$set(this.openCache, group, true);\n\n if (this.$scopedSlots.group) {\n return this.$scopedSlots.group({\n group,\n options: props.options,\n items: groupedItems[group],\n headers: this.computedHeaders\n });\n } else {\n return this.genDefaultGroupedRow(group, groupedItems[group], 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.genDefaultRows(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 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 items,\n headers: this.computedHeaders\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),\n index: i\n }));\n\n if (this.isExpanded(item)) {\n rows.push(this.$scopedSlots['expanded-item']({\n item,\n headers: this.computedHeaders\n }));\n }\n }\n\n return rows;\n },\n\n genDefaultRows(items, props) {\n return this.$scopedSlots['expanded-item'] ? items.map(item => this.genDefaultExpandedRow(item)) : items.map(item => this.genDefaultSimpleRow(item));\n },\n\n genDefaultExpandedRow(item) {\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, classes);\n const expandedRow = this.$createElement('tr', {\n staticClass: 'v-data-table__expanded v-data-table__expanded__content'\n }, [this.$scopedSlots['expanded-item']({\n item,\n headers: this.computedHeaders\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, classes = {}) {\n const scopedSlots = getPrefixedScopedSlots('item.', this.$scopedSlots);\n const data = this.createItemProps(item);\n\n if (this.showSelect) {\n const slot = scopedSlots['data-table-select'];\n scopedSlots['data-table-select'] = slot ? () => slot(data) : () => this.$createElement(VSimpleCheckbox, {\n staticClass: 'v-data-table__checkbox',\n props: {\n value: data.isSelected,\n disabled: !this.isSelectable(item)\n },\n on: {\n input: val => data.select(val)\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: { ...classes,\n 'v-data-table__selected': data.isSelected\n },\n props: {\n headers: this.computedHeaders,\n item,\n rtl: this.$vuetify.rtl\n },\n scopedSlots,\n on: {\n // TODO: first argument should be the data object\n // but this is a breaking change so it's for v3\n click: () => this.$emit('click:row', item, 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 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 }, [this.proxySlot('top', getSlot(this, 'top', props, true)), this.genCaption(props), this.genColgroup(props), this.genHeaders(props), this.genBody(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","import { render, staticRenderFns } from \"./MessagesTable.vue?vue&type=template&id=1ed776af&scoped=true&\"\nimport script from \"./MessagesTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./MessagesTable.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MessagesTable.vue?vue&type=style&index=0&id=1ed776af&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1ed776af\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\ninstallComponents(component, {VDataTable})\n","\n\n\n\n\n\n\nimport Vue from 'vue'\nimport MessagesTable from '@/components/MessagesTable.vue'\nexport default Vue.extend({\n name: 'MessagesFeed',\n components: { MessagesTable },\n data: () => ({\n feedFilters: [],\n toolbar: {\n title: 'Message History',\n left: [\n {\n title: 'Back',\n icon: 'mdi-chevron-left',\n tooltip: 'Back',\n permission: 0,\n feature: null\n }\n ]\n }\n }),\n computed: {\n loading(): boolean {\n return this.$store.getters.messagesTableMessagesLoading\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagesFeed.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagesFeed.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MessagesFeed.vue?vue&type=template&id=09466ab1&\"\nimport script from \"./MessagesFeed.vue?vue&type=script&lang=ts&\"\nexport * from \"./MessagesFeed.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessagesTable.vue?vue&type=style&index=0&id=1ed776af&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableHeader.vue?vue&type=style&index=0&id=3aacc8e3&scoped=true&lang=css&\""],"sourceRoot":""}