{"version":3,"sources":["webpack:///./src/views/pages/editionRecorder/RecordEditRegister.vue?1a45","webpack:///./src/views/pages/editionRecorder/ViewChangesModal.vue?0a3f","webpack:///src/views/pages/editionRecorder/ViewChangesModal.vue","webpack:///./src/views/pages/editionRecorder/ViewChangesModal.vue?d2ae","webpack:///./src/views/pages/editionRecorder/ViewChangesModal.vue","webpack:///src/views/pages/editionRecorder/RecordEditRegister.vue","webpack:///./src/views/pages/editionRecorder/RecordEditRegister.vue?599b","webpack:///./src/views/pages/editionRecorder/RecordEditRegister.vue","webpack:///../../../src/components/VDataTable/VSimpleTable.ts","webpack:///../../../src/components/VForm/VForm.ts","webpack:///../../../src/components/VPagination/VPagination.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","VContainer","key","counter","attrs","staticClass","scopedSlots","_u","fn","VIcon","_v","proxy","_s","$t","VForm","ref","on","$event","stopPropagation","preventDefault","apply_filters","VRow","VTextField","model","value","callback","$$v","edited_filter","expression","edit_filter","VBtn","clean_filters","loading","VProgressCircular","staticStyle","VSimpleTable","_l","item","index","nameOfWhoWasEdited","nameOfWhomEdited","_f","editDate","openDialog","VDialog","dialog","item_prop","close","VPagination","total_pages","change_page","page","staticRenderFns","VCard","$tc","pluss","VCol","name","afterEdit","_","isEqual","_e","data","gs","beforeEdit","interception","computed","props","recorder","plus","created","methods","jsonRevert","component","components","ViewChangesModal","filters","format","date","apiService","records","valid","lazy","get_records_by_page","params","Page","EditName","EditedName","getRequest","then","path","query","mixins","Themeable","extend","dense","Boolean","fixedHeader","height","Number","String","classes","$slots","top","bottom","themeClasses","genWrapper","wrapper","style","convertToUnit","default","h","class","BindsAttrs","RegistrableProvide","provide","form","inheritAttrs","disabled","lazyValidation","readonly","inputs","watchers","errorBag","watch","handler","val","errors","Object","values","includes","$emit","deep","immediate","watchInput","input","watcher","$watch","$set","_uid","shouldValidate","hasOwnProperty","validate","filter","length","reset","forEach","resetErrorBag","setTimeout","resetValidation","register","push","unregister","found","find","i","unwatch","$delete","novalidate","attrs$","submit","e","Colorable","Intersectable","onVisible","directives","Resize","circle","type","validator","nextIcon","prevIcon","totalVisible","pageAriaLabel","currentPageAriaLabel","previousAriaLabel","nextAriaLabel","wrapperAriaLabel","maxButtons","selected","items","parseInt","maxLength","Math","min","max","range","even","left","floor","right","firstItem","lastItem","start","end","secondItem","beforeLastItem","init","beforeMount","onResize","$nextTick","width","$el","parentElement","clientWidth","window","innerWidth","next","previous","from","to","genIcon","icon","label","click","genItem","color","isCurrentPage","ariaLabel","setBackgroundColor","$vuetify","lang","t","toString","genItems","map","isNaN","genList","children","modifiers","quiet","rtl","role"],"mappings":"qPAWIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAGE,EAAA,KAAW,CAACC,IAAIP,EAAIQ,QAAQC,MAAM,CAAC,GAAK,iBAAiB,MAAQ,GAAG,IAAM,YAAY,CAACL,EAAG,qBAAqB,CAACM,YAAY,iBAAiBD,MAAM,CAAC,OAAS,GAAG,MAAQ,aAAaE,YAAYX,EAAIY,GAAG,CAAC,CAACL,IAAI,UAAUM,GAAG,WAAW,MAAO,CAACT,EAAGU,EAAA,KAAM,CAACd,EAAIe,GAAG,yBAAyBC,OAAM,GAAM,CAACT,IAAI,gBAAgBM,GAAG,WAAW,MAAO,CAACT,EAAG,KAAK,CAACM,YAAY,MAAM,CAACN,EAAG,IAAI,CAACJ,EAAIe,GAAGf,EAAIiB,GAAGjB,EAAIkB,GAAG,uBAAuBF,OAAM,MAAS,CAACZ,EAAGe,EAAA,KAAM,CAACC,IAAI,OAAOX,MAAM,CAAC,kBAAkB,IAAIY,GAAG,CAAC,OAAS,SAASC,GAAyD,OAAjDA,EAAOC,kBAAkBD,EAAOE,iBAAwBxB,EAAIyB,mBAAmB,CAACrB,EAAGsB,EAAA,KAAK,CAAChB,YAAY,OAAOD,MAAM,CAAC,MAAQ,SAAS,a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ACd5B,KAAKoN,SACLpN,KAAKgO,SAASC,KAAKC,EAAElO,KAAKmL,oBAC5BnL,KAAKoO,SAASjH,GACdnH,KAAKuN,QAAQpG,EACXnH,KAAKgO,SAASW,IAAM3O,KAAK+K,SAAW/K,KAAK8K,SACzC9K,KAAK4B,OAAS5B,KAAKoJ,OACnBpJ,KAAKmN,KACLnN,KAAKgO,SAASC,KAAKC,EAAElO,KAAKoL,iBAG9B,OAAOjE,EAAE,MAAO,CACd3G,MAAO,CACLoO,KAAM,aACN,aAAc5O,KAAKgO,SAASC,KAAKC,EAAElO,KAAKqL,oBAEzC,CAACrL,KAAKuO,QAAQpH,EAAGqH,S","file":"js/chunk-dfa2760c.2adcb58a.js","sourcesContent":["import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VPagination } from 'vuetify/lib/components/VPagination';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c(VContainer,{key:_vm.counter,attrs:{\"id\":\"interest-table\",\"fluid\":\"\",\"tag\":\"section\"}},[_c('base-material-card',{staticClass:\"px-5 py-3 mb-5\",attrs:{\"inline\":\"\",\"color\":\"secondary\"},scopedSlots:_vm._u([{key:\"heading\",fn:function(){return [_c(VIcon,[_vm._v(\"mdi-database-edit\")])]},proxy:true},{key:\"after-heading\",fn:function(){return [_c('h1',{staticClass:\"h5\"},[_c('b',[_vm._v(_vm._s(_vm.$t(\"record-edit\")))])])]},proxy:true}])},[_c(VForm,{ref:\"form\",attrs:{\"lazy-validation\":\"\"},on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.apply_filters()}}},[_c(VRow,{staticClass:\"my-4\",attrs:{\"align\":\"center\",\"no-gutters\":\"\"}},[_c(VTextField,{staticClass:\"mr-2\",attrs:{\"hide-details\":\"\",\"outlined\":\"\",\"dense\":\"\",\"label\":_vm.$t('who-was-edited')},model:{value:(_vm.edited_filter),callback:function ($$v) {_vm.edited_filter=$$v},expression:\"edited_filter\"}}),_c(VTextField,{staticClass:\"mx-2\",attrs:{\"hide-details\":\"\",\"outlined\":\"\",\"dense\":\"\",\"label\":_vm.$t('who-edited')},model:{value:(_vm.edit_filter),callback:function ($$v) {_vm.edit_filter=$$v},expression:\"edit_filter\"}}),_c(VBtn,{staticClass:\"dxa-btn-secondary mx-2\",on:{\"click\":_vm.clean_filters}},[_vm._v(\" \"+_vm._s(_vm.$t(\"clean_filters\"))+\" \")]),_c(VBtn,{staticClass:\"dxa-btn-primary ml-2\",attrs:{\"type\":\"submit\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"apply\"))+\" \")])],1)],1),(!_vm.loading)?_c('div',[_c(VSimpleTable,[_c('thead',[_c('tr',[_c('th',[_vm._v(_vm._s(_vm.$t(\"who-was-edited\")))]),_c('th',[_vm._v(_vm._s(_vm.$t(\"who-edited\")))]),_c('th',[_vm._v(_vm._s(_vm.$t(\"date-hour\")))]),_c('th',[_vm._v(_vm._s(_vm.$t(\"details\")))])])]),_c('tbody',_vm._l((_vm.records),function(item,index){return _c('tr',{key:index},[_c('td',[_vm._v(_vm._s(item.nameOfWhoWasEdited))]),_c('td',[_vm._v(_vm._s(item.nameOfWhomEdited))]),_c('td',[_vm._v(_vm._s(_vm._f(\"format\")(item.editDate)))]),_c('td',[_c(VBtn,{attrs:{\"color\":\"secondary\",\"small\":\"\"},on:{\"click\":function($event){return _vm.openDialog(item)}}},[_c(VIcon,[_vm._v(\"mdi-eye\")])],1)],1),_vm._v(\" - \")])}),0)]),_c(VDialog,{model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('ViewChangesModal',{key:_vm.key,attrs:{\"recorder\":_vm.item_prop},on:{\"closeModal\":_vm.close}})],1),_c(VPagination,{attrs:{\"length\":_vm.total_pages,\"color\":\"secondary\"},on:{\"input\":_vm.change_page},model:{value:(_vm.page),callback:function ($$v) {_vm.page=$$v},expression:\"page\"}})],1):_c(VContainer,[_c(VProgressCircular,{staticStyle:{\"margin-left\":\"50%\"},attrs:{\"indeterminate\":\"\",\"size\":\"70\",\"color\":\"primary\"}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"flex-direction\":\"column\"}},[_c(VCard,{staticStyle:{\"background-color\":\"var(--dark)\",\"border-bottom-left-radius\":\"0\",\"border-bottom-right-radius\":\"0\",\"border-top-left-radius\":\"10px\",\"border-top-right-radius\":\"10px\"},attrs:{\"width\":\"850px\",\"max-width\":\"95%\"}},[_c('h1',{staticClass:\"h5 pa-5\",staticStyle:{\"color\":\"var(--white)\",\"display\":\"flex\",\"justify-content\":\"center\"}},[_c('b',[_vm._v(_vm._s(_vm.$tc(\"edited_field\", 2)))])])]),_c(VCard,{key:_vm.pluss,staticStyle:{\"overflow-y\":\"scroll\",\"border-top-left-radius\":\"0\",\"border-top-right-radius\":\"0\"},attrs:{\"width\":\"850px\",\"max-width\":\"95%\",\"max-height\":\"500px\"}},[_c(VRow,{staticClass:\"ma-0\"},[_c(VCol,{staticStyle:{\"display\":\"flex\",\"justify-content\":\"center\"},attrs:{\"cols\":\"6\"}},[_c('span',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"bold\"}},[_vm._v(_vm._s(_vm.$t(\"before-edit\")))])]),_c(VCol,{staticStyle:{\"display\":\"flex\",\"justify-content\":\"center\"},attrs:{\"cols\":\"6\"}},[_c('span',{staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"bold\"}},[_vm._v(_vm._s(_vm.$t(\"after-edit\")))])])],1),_vm._l((this.beforeEdit),function(item,name){return _c(VRow,{key:name,staticClass:\"ma-0\"},[(item != _vm.afterEdit[name] && !_vm._.isEqual(item, _vm.afterEdit[name]))?_c(VCol,{attrs:{\"cols\":\"6\"}},[_c('ul',[_c('li',[_c('b',[_vm._v(_vm._s(name))]),_vm._v(\": \"+_vm._s(item == null || item == \"\" ? _vm.$t(\"no-register\") : item)+\" \")])])]):_vm._e(),(item != _vm.afterEdit[name] && !_vm._.isEqual(item, _vm.afterEdit[name]))?_c(VCol,{attrs:{\"cols\":\"6\"}},[_c('ul',[_c('li',[_c('b',[_vm._v(_vm._s(name))]),_vm._v(\": \"+_vm._s(_vm.afterEdit[name] == null || _vm.afterEdit[name] == \"\" ? _vm.$t(\"no-register\") : _vm.afterEdit[name])+\" \")])])]):_vm._e()],1)})],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n {{ $tc(\"edited_field\", 2) }}\n \n \n\n \n \n \n {{\n $t(\"before-edit\")\n }}\n \n \n {{\n $t(\"after-edit\")\n }}\n \n \n \n \n \n \n {{ name }}: {{ item == null || item == \"\" ? $t(\"no-register\") : item }}\n \n \n \n \n \n \n {{ name }}:\n {{\n afterEdit[name] == null || afterEdit[name] == \"\"\n ? $t(\"no-register\")\n : afterEdit[name]\n }}\n \n \n \n \n \n \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/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewChangesModal.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewChangesModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ViewChangesModal.vue?vue&type=template&id=59681b66&scoped=true&\"\nimport script from \"./ViewChangesModal.vue?vue&type=script&lang=js&\"\nexport * from \"./ViewChangesModal.vue?vue&type=script&lang=js&\"\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 \"59681b66\",\n null\n \n)\n\nexport default component.exports","\n \n \n \n mdi-database-edit\n \n {{ $t(\"record-edit\") }}\n \n \n \n \n \n \n {{ $t(\"clean_filters\") }}\n \n \n {{ $t(\"apply\") }}\n \n \n \n \n \n \n \n {{ $t(\"who-was-edited\") }}\n {{ $t(\"who-edited\") }}\n {{ $t(\"date-hour\") }}\n {{ $t(\"details\") }}\n \n \n\n \n \n \n {{ item.nameOfWhoWasEdited }}\n {{ item.nameOfWhomEdited }}\n {{ item.editDate | format }}\n \n mdi-eye\n \n -\n \n \n \n \n \n \n \n \n \n \n \n \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/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecordEditRegister.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecordEditRegister.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RecordEditRegister.vue?vue&type=template&id=0adf32ed&\"\nimport script from \"./RecordEditRegister.vue?vue&type=script&lang=js&\"\nexport * from \"./RecordEditRegister.vue?vue&type=script&lang=js&\"\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","import './VSimpleTable.sass'\n\nimport { convertToUnit } from '../../util/helpers'\nimport Themeable from '../../mixins/themeable'\nimport mixins from '../../util/mixins'\nimport { VNode } from 'vue'\n\nexport default mixins(Themeable).extend({\n name: 'v-simple-table',\n\n props: {\n dense: Boolean,\n fixedHeader: Boolean,\n height: [Number, String],\n },\n\n computed: {\n classes (): Record {\n return {\n 'v-data-table--dense': this.dense,\n 'v-data-table--fixed-height': !!this.height && !this.fixedHeader,\n 'v-data-table--fixed-header': this.fixedHeader,\n 'v-data-table--has-top': !!this.$slots.top,\n 'v-data-table--has-bottom': !!this.$slots.bottom,\n ...this.themeClasses,\n }\n },\n },\n\n methods: {\n genWrapper () {\n return this.$slots.wrapper || this.$createElement('div', {\n staticClass: 'v-data-table__wrapper',\n style: {\n height: convertToUnit(this.height),\n },\n }, [\n this.$createElement('table', this.$slots.default),\n ])\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-data-table',\n class: this.classes,\n }, [\n this.$slots.top,\n this.genWrapper(),\n this.$slots.bottom,\n ])\n },\n})\n","// Components\nimport VInput from '../VInput/VInput'\n\n// Mixins\nimport mixins from '../../util/mixins'\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\n\n// Helpers\nimport { VNode } from 'vue'\n\ntype ErrorBag = Record\ntype VInputInstance = InstanceType\ntype Watchers = {\n _uid: number\n valid: () => void\n shouldValidate: () => void\n}\n\n/* @vue/component */\nexport default mixins(\n BindsAttrs,\n RegistrableProvide('form')\n /* @vue/component */\n).extend({\n name: 'v-form',\n\n provide (): object {\n return { form: this }\n },\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n lazyValidation: Boolean,\n readonly: Boolean,\n value: Boolean,\n },\n\n data: () => ({\n inputs: [] as VInputInstance[],\n watchers: [] as Watchers[],\n errorBag: {} as ErrorBag,\n }),\n\n watch: {\n errorBag: {\n handler (val) {\n const errors = Object.values(val).includes(true)\n\n this.$emit('input', !errors)\n },\n deep: true,\n immediate: true,\n },\n },\n\n methods: {\n watchInput (input: any): Watchers {\n const watcher = (input: any): (() => void) => {\n return input.$watch('hasError', (val: boolean) => {\n this.$set(this.errorBag, input._uid, val)\n }, { immediate: true })\n }\n\n const watchers: Watchers = {\n _uid: input._uid,\n valid: () => {},\n shouldValidate: () => {},\n }\n\n if (this.lazyValidation) {\n // Only start watching inputs if we need to\n watchers.shouldValidate = input.$watch('shouldValidate', (val: boolean) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(input._uid)) return\n\n watchers.valid = watcher(input)\n })\n } else {\n watchers.valid = watcher(input)\n }\n\n return watchers\n },\n /** @public */\n validate (): boolean {\n return this.inputs.filter(input => !input.validate(true)).length === 0\n },\n /** @public */\n reset (): void {\n this.inputs.forEach(input => input.reset())\n this.resetErrorBag()\n },\n resetErrorBag () {\n if (this.lazyValidation) {\n // Account for timeout in validatable\n setTimeout(() => {\n this.errorBag = {}\n }, 0)\n }\n },\n /** @public */\n resetValidation () {\n this.inputs.forEach(input => input.resetValidation())\n this.resetErrorBag()\n },\n register (input: VInputInstance) {\n this.inputs.push(input)\n this.watchers.push(this.watchInput(input))\n },\n unregister (input: VInputInstance) {\n const found = this.inputs.find(i => i._uid === input._uid)\n\n if (!found) return\n\n const unwatch = this.watchers.find(i => i._uid === found._uid)\n if (unwatch) {\n unwatch.valid()\n unwatch.shouldValidate()\n }\n\n this.watchers = this.watchers.filter(i => i._uid !== found._uid)\n this.inputs = this.inputs.filter(i => i._uid !== found._uid)\n this.$delete(this.errorBag, found._uid)\n },\n },\n\n render (h): VNode {\n return h('form', {\n staticClass: 'v-form',\n attrs: {\n novalidate: true,\n ...this.attrs$,\n },\n on: {\n submit: (e: Event) => this.$emit('submit', e),\n },\n }, this.$slots.default)\n },\n})\n","import './VPagination.sass'\n\nimport VIcon from '../VIcon'\n\n// Directives\nimport Resize from '../../directives/resize'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Intersectable from '../../mixins/intersectable'\nimport Themeable from '../../mixins/themeable'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode, CreateElement, VNodeChildrenArrayContents } from 'vue'\n\n/* @vue/component */\nexport default mixins(\n Colorable,\n Intersectable({ onVisible: ['init'] }),\n Themeable\n).extend({\n name: 'v-pagination',\n\n directives: { Resize },\n\n props: {\n circle: Boolean,\n disabled: Boolean,\n length: {\n type: Number,\n default: 0,\n validator: (val: number) => val % 1 === 0,\n },\n nextIcon: {\n type: String,\n default: '$next',\n },\n prevIcon: {\n type: String,\n default: '$prev',\n },\n totalVisible: [Number, String],\n value: {\n type: Number,\n default: 0,\n },\n pageAriaLabel: {\n type: String,\n default: '$vuetify.pagination.ariaLabel.page',\n },\n currentPageAriaLabel: {\n type: String,\n default: '$vuetify.pagination.ariaLabel.currentPage',\n },\n previousAriaLabel: {\n type: String,\n default: '$vuetify.pagination.ariaLabel.previous',\n },\n nextAriaLabel: {\n type: String,\n default: '$vuetify.pagination.ariaLabel.next',\n },\n wrapperAriaLabel: {\n type: String,\n default: '$vuetify.pagination.ariaLabel.wrapper',\n },\n },\n\n data () {\n return {\n maxButtons: 0,\n selected: null as number | null,\n }\n },\n\n computed: {\n classes (): object {\n return {\n 'v-pagination': true,\n 'v-pagination--circle': this.circle,\n 'v-pagination--disabled': this.disabled,\n ...this.themeClasses,\n }\n },\n\n items (): (string | number)[] {\n const totalVisible = parseInt(this.totalVisible, 10)\n\n if (totalVisible === 0) {\n return []\n }\n\n const maxLength = Math.min(\n Math.max(0, totalVisible) || this.length,\n Math.max(0, this.maxButtons) || this.length,\n this.length\n )\n\n if (this.length <= maxLength) {\n return this.range(1, this.length)\n }\n\n const even = maxLength % 2 === 0 ? 1 : 0\n const left = Math.floor(maxLength / 2)\n const right = this.length - left + 1 + even\n\n if (this.value > left && this.value < right) {\n const firstItem = 1\n const lastItem = this.length\n const start = this.value - left + 2\n const end = this.value + left - 2 - even\n const secondItem = start - 1 === firstItem + 1 ? 2 : '...'\n const beforeLastItem = end + 1 === lastItem - 1 ? end + 1 : '...'\n\n return [1, secondItem, ...this.range(start, end), beforeLastItem, this.length]\n } else if (this.value === left) {\n const end = this.value + left - 1 - even\n return [...this.range(1, end), '...', this.length]\n } else if (this.value === right) {\n const start = this.value - left + 1\n return [1, '...', ...this.range(start, this.length)]\n } else {\n return [\n ...this.range(1, left),\n '...',\n ...this.range(right, this.length),\n ]\n }\n },\n },\n\n watch: {\n value () {\n this.init()\n },\n },\n\n beforeMount () {\n this.init()\n },\n\n methods: {\n init () {\n this.selected = null\n\n this.onResize()\n this.$nextTick(this.onResize)\n // TODO: Change this (f75dee3a, cbdf7caa)\n setTimeout(() => (this.selected = this.value), 100)\n },\n onResize () {\n const width = this.$el && this.$el.parentElement\n ? this.$el.parentElement.clientWidth\n : window.innerWidth\n\n this.maxButtons = Math.floor((width - 96) / 42)\n },\n next (e: Event) {\n e.preventDefault()\n this.$emit('input', this.value + 1)\n this.$emit('next')\n },\n previous (e: Event) {\n e.preventDefault()\n this.$emit('input', this.value - 1)\n this.$emit('previous')\n },\n range (from: number, to: number) {\n const range = []\n\n from = from > 0 ? from : 1\n\n for (let i = from; i <= to; i++) {\n range.push(i)\n }\n\n return range\n },\n genIcon (h: CreateElement, icon: string, disabled: boolean, fn: EventListener, label: String): VNode {\n return h('li', [\n h('button', {\n staticClass: 'v-pagination__navigation',\n class: {\n 'v-pagination__navigation--disabled': disabled,\n },\n attrs: {\n disabled,\n type: 'button',\n 'aria-label': label,\n },\n on: disabled ? {} : { click: fn },\n }, [h(VIcon, [icon])]),\n ])\n },\n genItem (h: CreateElement, i: string | number): VNode {\n const color: string | false = (i === this.value) && (this.color || 'primary')\n const isCurrentPage = i === this.value\n const ariaLabel = isCurrentPage ? this.currentPageAriaLabel : this.pageAriaLabel\n\n return h('button', this.setBackgroundColor(color, {\n staticClass: 'v-pagination__item',\n class: {\n 'v-pagination__item--active': i === this.value,\n },\n attrs: {\n type: 'button',\n 'aria-current': isCurrentPage,\n 'aria-label': this.$vuetify.lang.t(ariaLabel, i),\n },\n on: {\n click: () => this.$emit('input', i),\n },\n }), [i.toString()])\n },\n genItems (h: CreateElement): VNode[] {\n return this.items.map((i, index) => {\n return h('li', { key: index }, [\n isNaN(Number(i)) ? h('span', { class: 'v-pagination__more' }, [i.toString()]) : this.genItem(h, i),\n ])\n })\n },\n genList (h: CreateElement, children: VNodeChildrenArrayContents): VNode {\n return h('ul', {\n directives: [{\n modifiers: { quiet: true },\n name: 'resize',\n value: this.onResize,\n }],\n class: this.classes,\n }, children)\n },\n },\n\n render (h): VNode {\n const children = [\n this.genIcon(h,\n this.$vuetify.rtl ? this.nextIcon : this.prevIcon,\n this.value <= 1,\n this.previous,\n this.$vuetify.lang.t(this.previousAriaLabel)),\n this.genItems(h),\n this.genIcon(h,\n this.$vuetify.rtl ? this.prevIcon : this.nextIcon,\n this.value >= this.length,\n this.next,\n this.$vuetify.lang.t(this.nextAriaLabel)),\n ]\n\n return h('nav', {\n attrs: {\n role: 'navigation',\n 'aria-label': this.$vuetify.lang.t(this.wrapperAriaLabel),\n },\n }, [this.genList(h, children)])\n },\n})\n"],"sourceRoot":""}