{"version":3,"sources":["webpack:///./src/pages/offline/accionCorrectoraList/AccionCorrectoraList.vue?c619","webpack:///./src/pages/offline/accionCorrectoraList/AccionCorrectoraListData.js","webpack:///src/pages/offline/accionCorrectoraList/AccionCorrectoraList.vue","webpack:///./src/pages/offline/accionCorrectoraList/AccionCorrectoraList.vue?b6a8","webpack:///./src/pages/offline/accionCorrectoraList/AccionCorrectoraList.vue","webpack:///./src/mixins/basePageMixin.js","webpack:///./src/mixins/listPageMixin.js","webpack:///./src/mixins/common.js","webpack:///./src/pages/offline/components/VolverParteChecklistMenuItems.vue?2bbf","webpack:///src/pages/offline/components/VolverParteChecklistMenuItems.vue","webpack:///./src/pages/offline/components/VolverParteChecklistMenuItems.vue?9a36","webpack:///./src/pages/offline/components/VolverParteChecklistMenuItems.vue","webpack:///./src/pages/offline/accionCorrectoraList/components/AccionCorrectoraListItem.vue?76cd","webpack:///src/pages/offline/accionCorrectoraList/components/AccionCorrectoraListItem.vue","webpack:///./src/pages/offline/accionCorrectoraList/components/AccionCorrectoraListItem.vue?a36e","webpack:///./src/pages/offline/accionCorrectoraList/components/AccionCorrectoraListItem.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","title","pageStoreName","items","filter","search","sorter","sorterDesc","showLoadMore","scrollPosition","loadingData","showingDialogs","loadItems","reloadDirtyItems","pageLoaded","on","$event","$set","clickListItem","scopedSlots","_u","key","fn","slotProps","item","index","estadoChecklistPendiente","clickDelete","routeParams","idparte_trabajo","idchecklist_ot","idsParaVolerAtras","idorden_trabajo_matsist","idparte_trabajo_matsist","idgrupo_checklist_ot","idsubsis","slot","routeQuery","idpregunta_checklist_ot","idtanomalia_checklist_ot","clickAdd","_e","staticRenderFns","_selectAccionCorrectoraBase","Vue","tables","$offline","db","select","from","accion_correctora_ot","innerJoin","tanomalia_checklist_ot","eq","pregunta_checklist_ot","grupo_checklist_ot","selectAccionCorrectora","page","idchecklistOt","idgrupoChecklistOt","idpreguntaChecklistOt","idtanomaliaChecklistOt","idordenTrabajoMatsist","where","whereSearch","whereFilter","reQ","likeRegExp","push","op","or","descripcion","match","observaciones","whereQueryFilter","and","estado","gt","limit","ITEMS_PER_PAGE","skip","orderBy","idaccion_correctora_ot","exec","selectAccionCorrectoraRows","pks","in","selectMaterialSistemaDeTanomaliaChcklistOT","idTanomaliaChecklistOt","orden_trabajo_matsist","parte_trabajo_matsist","material_sistema","idmaterial_sistema","components","AccionCorrectoraListItem","VolverParteChecklistMenuItems","mixins","beforeRouteLeave","to","next","data","checklistOt","computed","currentPage","created","methods","loadPage","materialSistema","preguntaChecklistOt","Data","dataset","metadata","dirty","reloadItemsBase","name","params","res","component","basePageMixin","rememberState","rememberScroll","bottomNavBarButtons","dbReady","_","cloneDeep","$route","query","extra","decodeBase64","routeFromBrowserHistory","meta","fromBrowserHistory","userPermissions","get","permissions","initDB","$loading","showManual","connect","initSchema","init","hide","closeDB","close","copyRouteParamsToPageStore","routeParam","storeHasProperty","setStoreProperty","initStore","property","$store","value","set","getStoreProperty","dispatchStore","actionName","payload","dispatch","hasViewPerm","perm","hasInsertPerm","hasEditPerm","hasDeletePerm","hasPerm","beforeRouteLeaveBase","beforeRouteLeaveCommon","initNavigationBottom","addNavigationBottomButton","icon","visible","badge","badgeColor","order","length","listPageMixin","listItemOptions","currentListItem","selecting","selectedItems","filterEmpty","hasValue","_filter","field","options","show_filter","_show_filter","$nextTick","loadItemsBase","sorter_desc","$api","concat","modifiedDataset","fieldname","modified","itemIndex","findIndex","resolveProperty","modifiedIndex","commit","deleted","id","currentScrollPosition","clearSelection","resetList","that","showingDialog","dialog","_v","stopPropagation","clickIrAParte","apply","arguments","_s","$vuetify","icons","values","parte","clickIrAChecklist","checklist","clickIrAPreguntasChecklist","preguntaChecklist","clickIrAMaterialAfectado","materialAfectado","clickIrASubsis","subsistema","props","idparteTrabajo","type","default","idparteTrabajoMatsist","VDivider","VIcon","VListItem","VListItemAvatar","VListItemTitle","VList","VSubheader","formattedItem","domProps","subtitle","readonly","delete","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,EACA5H,EACAiD,GACA,EACA,KACA,KACA,MAIa,aAAA2E,EAAiB,QAUhC,IAAkBA,EAAW,CAAC8H,OAAA,KAAKZ,QAAA,KAAMa,kBAAA,KAAgBC,iBAAAV,EAAA,KAAiBW,kBAAAX,EAAA,KAAkBD,eAAAC,EAAA","file":"js/chunk-8d000446.a4d768b0.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b10-base',[_c('b10-list',{attrs:{\"title\":_vm.title,\"page-store-name\":_vm.pageStoreName,\"items\":_vm.items,\"filter\":_vm.filter,\"search\":_vm.search,\"sorter\":_vm.sorter,\"sorter-desc\":_vm.sorterDesc,\"show-load-more\":_vm.showLoadMore,\"scroll-position\":_vm.scrollPosition,\"empty-message\":\"No se encontraron acciones correctoras\",\"wrapper-component\":\"v-list\",\"wrapper-component-props\":{ 'two-line': true },\"loading\":_vm.loadingData,\"showing-filter\":_vm.showingDialogs.filter,\"showing-sorter\":_vm.showingDialogs.sorter,\"load\":_vm.loadItems,\"reload-dirty-items\":_vm.reloadDirtyItems,\"page-loaded\":_vm.pageLoaded,\"pk-name\":\"accion_correctora_ot.idaccion_correctora_ot\"},on:{\"update:showingFilter\":function($event){return _vm.$set(_vm.showingDialogs, \"filter\", $event)},\"update:showing-filter\":function($event){return _vm.$set(_vm.showingDialogs, \"filter\", $event)},\"update:showingSorter\":function($event){return _vm.$set(_vm.showingDialogs, \"sorter\", $event)},\"update:showing-sorter\":function($event){return _vm.$set(_vm.showingDialogs, \"sorter\", $event)},\"click-item\":_vm.clickListItem},scopedSlots:_vm._u([{key:\"listItem\",fn:function(slotProps){return [_c('accion-correctora-list-item',{attrs:{\"item\":slotProps.item,\"index\":slotProps.index,\"readonly\":!_vm.estadoChecklistPendiente},on:{\"click-delete\":_vm.clickDelete}})]}}])},[_c('volver-parte-checklist-menu-items',{attrs:{\"slot\":\"menuItemsLongPress\",\"idparte-trabajo\":_vm.routeParams.idparte_trabajo,\"idchecklist-ot\":_vm.routeParams.idchecklist_ot,\"idorden-trabajo-matsist\":_vm.idsParaVolerAtras.idorden_trabajo_matsist,\"idparte-trabajo-matsist\":_vm.idsParaVolerAtras.idparte_trabajo_matsist,\"idgrupo-checklist-ot\":_vm.idsParaVolerAtras.idgrupo_checklist_ot,\"idsubsis\":_vm.idsParaVolerAtras.idsubsis},slot:\"menuItemsLongPress\"})],1),(_vm.estadoChecklistPendiente && _vm.routeQuery.idgrupo_checklist_ot && _vm.routeQuery.idpregunta_checklist_ot && _vm.routeQuery.idtanomalia_checklist_ot)?_c('b10-fab-button',{on:{\"click\":_vm.clickAdd}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { likeRegExp } from '@/offline/database'\r\n\r\nexport default {\r\n _selectAccionCorrectoraBase (Vue) {\r\n const tables = Vue.$offline.db.tables\r\n return Vue.$offline.db\r\n .select()\r\n .from(tables.accion_correctora_ot)\r\n .innerJoin(\r\n tables.tanomalia_checklist_ot,\r\n tables.accion_correctora_ot.idtanomalia_checklist_ot.eq(tables.tanomalia_checklist_ot.idtanomalia_checklist_ot)\r\n )\r\n .innerJoin(\r\n tables.pregunta_checklist_ot,\r\n tables.tanomalia_checklist_ot.idpregunta_checklist_ot.eq(tables.pregunta_checklist_ot.idpregunta_checklist_ot)\r\n )\r\n .innerJoin(\r\n tables.grupo_checklist_ot,\r\n tables.pregunta_checklist_ot.idgrupo_checklist_ot.eq(tables.grupo_checklist_ot.idgrupo_checklist_ot)\r\n )\r\n },\r\n async selectAccionCorrectora (\r\n Vue, filter, search, sorter, page, idchecklistOt, idgrupoChecklistOt, idpreguntaChecklistOt, idtanomaliaChecklistOt, idordenTrabajoMatsist\r\n ) {\r\n const tables = Vue.$offline.db.tables\r\n let where = []\r\n let whereSearch = []\r\n let whereFilter = []\r\n if (search) {\r\n const reQ = likeRegExp(search)\r\n whereSearch.push(\r\n Vue.$offline.db.op.or(\r\n tables.accion_correctora_ot.descripcion.match(reQ),\r\n tables.accion_correctora_ot.observaciones.match(reQ),\r\n )\r\n )\r\n }\r\n let whereQueryFilter = []\r\n if (idgrupoChecklistOt) {\r\n whereQueryFilter.push(tables.grupo_checklist_ot.idgrupo_checklist_ot.eq(idgrupoChecklistOt))\r\n }\r\n if (idpreguntaChecklistOt) {\r\n whereQueryFilter.push(tables.pregunta_checklist_ot.idpregunta_checklist_ot.eq(idpreguntaChecklistOt))\r\n }\r\n if (idtanomaliaChecklistOt) {\r\n whereQueryFilter.push(tables.tanomalia_checklist_ot.idtanomalia_checklist_ot.eq(idtanomaliaChecklistOt))\r\n }\r\n if (idordenTrabajoMatsist) {\r\n whereQueryFilter.push(tables.pregunta_checklist_ot.idorden_trabajo_matsist.eq(idordenTrabajoMatsist))\r\n }\r\n where.push(\r\n Vue.$offline.db.op.and(\r\n tables.grupo_checklist_ot.idchecklist_ot.eq(idchecklistOt),\r\n tables.accion_correctora_ot.estado.gt(0),\r\n ...whereQueryFilter,\r\n ...whereSearch,\r\n ...whereFilter\r\n )\r\n )\r\n return [\r\n await this._selectAccionCorrectoraBase(Vue)\r\n .where(...where)\r\n .limit(Vue.$offline.db.ITEMS_PER_PAGE)\r\n .skip(page * Vue.$offline.db.ITEMS_PER_PAGE)\r\n .orderBy(tables.accion_correctora_ot.idaccion_correctora_ot)\r\n .exec(),\r\n []\r\n ]\r\n },\r\n selectAccionCorrectoraRows (Vue, pks) {\r\n const tables = Vue.$offline.db.tables\r\n return this._selectAccionCorrectoraBase(Vue)\r\n .where(tables.accion_correctora_ot.idaccion_correctora_ot.in(pks))\r\n .exec()\r\n },\r\n async selectMaterialSistemaDeTanomaliaChcklistOT (Vue, idTanomaliaChecklistOt) {\r\n const tables = Vue.$offline.db.tables\r\n return (await Vue.$offline.db\r\n .select()\r\n .from(tables.tanomalia_checklist_ot)\r\n .innerJoin(\r\n tables.pregunta_checklist_ot,\r\n tables.tanomalia_checklist_ot.idpregunta_checklist_ot.eq(tables.pregunta_checklist_ot.idpregunta_checklist_ot)\r\n )\r\n .innerJoin(\r\n tables.orden_trabajo_matsist,\r\n tables.pregunta_checklist_ot.idorden_trabajo_matsist.eq(tables.orden_trabajo_matsist.idorden_trabajo_matsist)\r\n )\r\n .innerJoin(\r\n tables.parte_trabajo_matsist,\r\n tables.orden_trabajo_matsist.idorden_trabajo_matsist.eq(tables.parte_trabajo_matsist.idorden_trabajo_matsist)\r\n )\r\n .innerJoin(\r\n tables.material_sistema,\r\n tables.orden_trabajo_matsist.idmaterial_sistema.eq(tables.material_sistema.idmaterial_sistema)\r\n )\r\n .where(\r\n tables.tanomalia_checklist_ot.idtanomalia_checklist_ot.eq(idTanomaliaChecklistOt)\r\n ).exec())[0]\r\n }\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\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!./AccionCorrectoraList.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!./AccionCorrectoraList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AccionCorrectoraList.vue?vue&type=template&id=044a9a40&\"\nimport script from \"./AccionCorrectoraList.vue?vue&type=script&lang=js&\"\nexport * from \"./AccionCorrectoraList.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 { decodeBase64 } from '@/utils/router'\r\nimport { get } from 'vuex-pathify'\r\nimport _ from '@/utils/lodash'\r\nimport { beforeRouteLeaveCommon } from './common'\r\nimport { hasViewPerm, hasInsertPerm, hasEditPerm, hasDeletePerm, hasPerm, permissions } from '@/utils/permissions'\r\nimport { initSchema, connect } from '@/offline/database'\r\n\r\nexport const basePageMixin = {\r\n data () {\r\n return {\r\n title: '',\r\n routeParams: null,\r\n routeQuery: null,\r\n loadingData: false,\r\n rememberState: false,\r\n rememberScroll: false,\r\n showingDialogs: {},\r\n pageLoaded: false,\r\n bottomNavBarButtons: [],\r\n dbReady: false,\r\n }\r\n },\r\n created () {\r\n this.routeParams = _.cloneDeep(this.$route.params)\r\n this.routeQuery = _.cloneDeep(this.$route.query)\r\n if (this.routeQuery.extra) {\r\n this.routeQuery.extra = decodeBase64(this.routeQuery.extra)\r\n }\r\n },\r\n computed: {\r\n routeFromBrowserHistory () {\r\n // no mostrar alerts en el \"back\" del navegador\r\n return this.$route.meta.fromBrowserHistory\r\n },\r\n userPermissions: get('usuario/permisos'),\r\n permissions () {\r\n return permissions\r\n },\r\n },\r\n methods: {\r\n async initDB () {\r\n if (!this.$offline.db) {\r\n this.$loading.showManual('Inicializando base de datos...')\r\n try {\r\n await this.$offline.init(await connect(initSchema()))\r\n } finally {\r\n this.dbReady = true\r\n this.$loading.hide()\r\n }\r\n } else {\r\n this.dbReady = true\r\n }\r\n },\r\n async closeDB () {\r\n if (this.$offline.db) {\r\n await this.$offline.db.close()\r\n this.$offline.db = null\r\n this.dbReady = false\r\n }\r\n },\r\n async copyRouteParamsToPageStore () {\r\n if (this.pageStoreName) {\r\n for (const routeParam in this.routeParams) {\r\n if (this.storeHasProperty(routeParam)) {\r\n await this.setStoreProperty(routeParam, this.routeParams[routeParam])\r\n }\r\n }\r\n }\r\n },\r\n async initStore () {\r\n // routeParams -> ¿existe en el store de la página? -> copiar valor\r\n // usado para: nextRoute, readonly\r\n await this.copyRouteParamsToPageStore()\r\n },\r\n storeHasProperty (property) {\r\n return property in this.$store.get(`${this.pageStoreName}`)\r\n },\r\n async setStoreProperty (property, value) {\r\n await this.$store.set(`${this.pageStoreName}/${property}`, value)\r\n },\r\n async getStoreProperty (property) {\r\n return await this.$store.get(`${this.pageStoreName}/${property}`)\r\n },\r\n async dispatchStore (actionName, payload) {\r\n return await this.$store.dispatch(`${this.pageStoreName}/${actionName}`, payload)\r\n },\r\n hasViewPerm (perm) {\r\n return hasViewPerm(this.userPermissions, perm)\r\n },\r\n hasInsertPerm (perm) {\r\n return hasInsertPerm(this.userPermissions, perm)\r\n },\r\n hasEditPerm (perm) {\r\n return hasEditPerm(this.userPermissions, perm)\r\n },\r\n hasDeletePerm (perm) {\r\n return hasDeletePerm(this.userPermissions, perm)\r\n },\r\n hasPerm (perm) {\r\n return hasPerm(this.userPermissions, perm)\r\n },\r\n beforeRouteLeaveBase (to, from, next) {\r\n if (!beforeRouteLeaveCommon(this, to, from, next)) {\r\n next()\r\n }\r\n },\r\n initNavigationBottom () {\r\n this.bottomNavBarButtons = []\r\n },\r\n addNavigationBottomButton (title, name, icon, visible = true, badge = null, badgeColor = 'green') {\r\n const index = this.bottomNavBarButtons.push({\r\n title,\r\n name,\r\n icon,\r\n order: this.bottomNavBarButtons.length + 1,\r\n visible,\r\n badge,\r\n badgeColor,\r\n })\r\n return this.bottomNavBarButtons[index - 1]\r\n },\r\n }\r\n}\r\n","import { basePageMixin } from '@/mixins/basePageMixin'\r\nimport _ from '@/utils/lodash'\r\nimport { currentScrollPosition } from '@/utils/ui'\r\nimport { beforeRouteLeaveCommon } from './common'\r\nimport { decodeBase64 } from '@/utils/router'\r\n\r\n\r\nexport const listPageMixin = {\r\n mixins: [basePageMixin],\r\n data () {\r\n return {\r\n showingDialogs: {\r\n listItemOptions: false,\r\n filter: false,\r\n sorter: false,\r\n },\r\n currentListItem: null,\r\n selecting: false,\r\n }\r\n },\r\n computed: {\r\n selectedItems () {\r\n return this.getStoreProperty('selectedListItems')\r\n },\r\n filterEmpty () {\r\n const hasValue = _.filter(this.filter, (item) => {\r\n return !!item.value\r\n })\r\n return hasValue.length === 0\r\n },\r\n },\r\n methods: {\r\n async initStore () {\r\n await this.copyRouteParamsToPageStore()\r\n // parámetros especiales:\r\n // * _filter: filtro inicial\r\n // * _show_filter: mostrar filtro al entrar\r\n if (this.pageStoreName) {\r\n // Filtro en el extraQuery en base64\r\n if ('_filter' in this.routeQuery) {\r\n const filter = decodeBase64(this.routeQuery._filter)\r\n for (const field in filter) {\r\n await this.setStoreProperty(`filter@${field}.value`, filter[field].value)\r\n if (filter[field].options) {\r\n await this.setStoreProperty(`filter@${field}.options`, filter[field].options)\r\n }\r\n }\r\n }\r\n if ('_show_filter' in this.routeQuery) {\r\n const show_filter = decodeBase64(this.routeQuery._show_filter)\r\n if (show_filter && this.filterEmpty) {\r\n this.$nextTick(() => { this.showingDialogs.filter = true })\r\n }\r\n }\r\n }\r\n },\r\n async loadItemsBase (dataset, metadata) {\r\n if (metadata && metadata.sorter_desc && metadata.sorter) {\r\n await this.setStoreProperty('sorterDesc', metadata.sorter_desc)\r\n await this.setStoreProperty('sorter', metadata.sorter)\r\n } else {\r\n await this.setStoreProperty('sorterDesc', [])\r\n await this.setStoreProperty('sorter', [])\r\n }\r\n await this.setStoreProperty('showLoadMore', dataset.length >= this.$api.ITEMS_PER_PAGE)\r\n await this.setStoreProperty('currentPage', this.currentPage + 1)\r\n await this.setStoreProperty('items', this.items.concat(dataset))\r\n },\r\n async reloadItemsBase (modifiedDataset, dirty, fieldname) {\r\n for (const modified of dirty.modified) {\r\n const itemIndex = _.findIndex(this.items, (item) => {\r\n return modified === _.resolveProperty(fieldname, item)\r\n })\r\n if (itemIndex > -1) {\r\n const modifiedIndex = _.findIndex(modifiedDataset, (item) => {\r\n return modified === _.resolveProperty(fieldname, item)\r\n })\r\n if (modifiedIndex > -1) {\r\n // recargar modificación\r\n await this.setStoreProperty(`items@[${itemIndex}]`, modifiedDataset[modifiedIndex])\r\n // Quitar item seleccionado\r\n this.$store.commit(`${this.pageStoreName}/REMOVE_SELECTED_ITEM`, this.items[itemIndex])\r\n } else {\r\n // el item en cache ya no existe\r\n await this.dispatchStore('deleteItem', itemIndex)\r\n }\r\n }\r\n }\r\n for (const id of dirty.deleted) {\r\n const itemIndex = _.findIndex(this.items, [fieldname, id])\r\n if (itemIndex > -1) {\r\n await this.dispatchStore('deleteItem', itemIndex)\r\n }\r\n }\r\n },\r\n async beforeRouteLeaveBase (to, from, next) {\r\n if (!beforeRouteLeaveCommon(this, to, from, next)) {\r\n if (this.rememberScroll) {\r\n await this.setStoreProperty('scrollPosition', currentScrollPosition())\r\n } else {\r\n await this.dispatchStore('resetScroll')\r\n }\r\n if (!this.rememberState) {\r\n await this.dispatchStore('resetStore')\r\n }\r\n next()\r\n }\r\n },\r\n async clearSelection () {\r\n this.selecting = false\r\n this.$store.commit(`${this.pageStoreName}/CLEAR_SELECTION`)\r\n },\r\n async resetList () {\r\n await this.dispatchStore('resetList')\r\n await this.dispatchStore('resetScroll')\r\n // loadItems de la lista donde se aplica el mixin\r\n this.loadItems()\r\n },\r\n }\r\n}\r\n","export const beforeRouteLeaveCommon = (that, to, from, next) => {\r\n if (that.loadingData) {\r\n next(false)\r\n return true\r\n } else {\r\n let showingDialog = false\r\n for (const dialog in that.showingDialogs) {\r\n if (that.showingDialogs[dialog]) {\r\n that.$set(that.showingDialogs, dialog, false)\r\n showingDialog = true\r\n next(false)\r\n break\r\n }\r\n }\r\n return showingDialog\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-divider'),_c('v-subheader',[_vm._v(\" Ir a ... \")]),_c('v-list-item',{on:{\"click\":function($event){$event.stopPropagation();return _vm.clickIrAParte.apply(null, arguments)}}},[_c('v-list-item-avatar',[_c('v-icon',[_vm._v(_vm._s(_vm.$vuetify.icons.values.parte))])],1),_c('v-list-item-title',[_vm._v(\"Parte de trabajo\")])],1),(_vm.idchecklistOt)?_c('v-list-item',{on:{\"click\":function($event){$event.stopPropagation();return _vm.clickIrAChecklist.apply(null, arguments)}}},[_c('v-list-item-avatar',[_c('v-icon',[_vm._v(_vm._s(_vm.$vuetify.icons.values.checklist))])],1),_c('v-list-item-title',[_vm._v(\"Checklist\")])],1):_vm._e(),(_vm.idchecklistOt && (_vm.idordenTrabajoMatsist || _vm.idgrupoChecklistOt))?_c('v-list-item',{on:{\"click\":function($event){$event.stopPropagation();return _vm.clickIrAPreguntasChecklist.apply(null, arguments)}}},[_c('v-list-item-avatar',[_c('v-icon',[_vm._v(_vm._s(_vm.$vuetify.icons.values.preguntaChecklist))])],1),_c('v-list-item-title',[_vm._v(\"Preguntas\")])],1):_vm._e(),(_vm.idparteTrabajoMatsist)?_c('v-list-item',{on:{\"click\":function($event){$event.stopPropagation();return _vm.clickIrAMaterialAfectado.apply(null, arguments)}}},[_c('v-list-item-avatar',[_c('v-icon',[_vm._v(_vm._s(_vm.$vuetify.icons.values.materialAfectado))])],1),_c('v-list-item-title',[_vm._v(\"Material\")])],1):_vm._e(),(_vm.idsubsis)?_c('v-list-item',{on:{\"click\":function($event){$event.stopPropagation();return _vm.clickIrASubsis.apply(null, arguments)}}},[_c('v-list-item-avatar',[_c('v-icon',[_vm._v(_vm._s(_vm.$vuetify.icons.values.subsistema))])],1),_c('v-list-item-title',[_vm._v(\"Lista de materiales\")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\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!./VolverParteChecklistMenuItems.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!./VolverParteChecklistMenuItems.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VolverParteChecklistMenuItems.vue?vue&type=template&id=7bb34c9e&\"\nimport script from \"./VolverParteChecklistMenuItems.vue?vue&type=script&lang=js&\"\nexport * from \"./VolverParteChecklistMenuItems.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VSubheader } from 'vuetify/lib/components/VSubheader';\ninstallComponents(component, {VDivider,VIcon,VListItem,VListItemAvatar,VListItemTitle,VSubheader})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b10-list-item',{attrs:{\"item\":_vm.formattedItem}},[_c('v-list-item-content',[_c('v-list-item-title',{domProps:{\"innerHTML\":_vm._s(_vm.formattedItem.title)}}),_c('v-list-item-subtitle',{domProps:{\"innerHTML\":_vm._s(_vm.formattedItem.subtitle)}})],1),(!_vm.readonly)?_c('v-list-item-action',[_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.clickDelete.apply(null, arguments)}}},[_c('v-icon',[_vm._v(_vm._s(_vm.$vuetify.icons.values.delete))])],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\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!./AccionCorrectoraListItem.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!./AccionCorrectoraListItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AccionCorrectoraListItem.vue?vue&type=template&id=3c1a24c2&\"\nimport script from \"./AccionCorrectoraListItem.vue?vue&type=script&lang=js&\"\nexport * from \"./AccionCorrectoraListItem.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\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 { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\ninstallComponents(component, {VBtn,VIcon,VListItemAction,VListItemContent,VListItemSubtitle,VListItemTitle})\n"],"sourceRoot":""}