{"version":3,"sources":["webpack:///./src/views/common/library/LibraryModuleResourceList.vue?d8d8","webpack:///src/views/common/library/LibraryModuleResourceList.vue","webpack:///./src/views/common/library/LibraryModuleResourceList.vue?6ffb","webpack:///./src/views/common/library/LibraryModuleResourceList.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","$apollo","loading","mutationLoading","view","libraryModule","title","on","$event","searchTerm","filteredResources","length","_e","_l","resource","key","id","staticClass","description","is_internal","file","recommendation","document_name","staticRenderFns","name","components","LibraryModuleResourceTable","NoDataAlert","PageHeader","BRow","BCol","BCard","LibraryModuleResourceCard","data","pageLength","columns","label","field","width","filterOptions","enabled","placeholder","filterDropdownItems","Object","keys","recommendationLevels","sortable","resources","currentModalComponent","dynamicProps","computed","_this","filter","objectUtils","search","apollo","query","GetLibraryModuleWithResources","variables","libraryId","$route","params","optimisticResponse","__typename","knowledge_resource_module_by_pk","programs_knowledgeresourcetables","update","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,YAAY,CAACE,MAAM,CAAC,KAAON,EAAIO,QAAQC,SAAWR,EAAIS,kBAAkB,CAACL,EAAG,SAAS,CAACE,MAAM,CAAC,UAAU,KAAK,CAACF,EAAG,aAAa,CAACE,MAAM,CAAC,eAAeN,EAAIU,KAAK,aAAaV,EAAIW,cAAcC,MAAM,aAAa,WAAW,mBAAmB,GAAG,qBAAqB,IAAIC,GAAG,CAAC,sBAAsB,SAASC,GAAQd,EAAIe,WAAaD,GAAQ,mBAAmB,SAASA,GAAQd,EAAIU,KAAOI,MAAWV,EAAG,cAAc,CAAGJ,EAAIgB,kBAAkBC,OAAqEjB,EAAIkB,KAAjEd,EAAG,gBAAgB,CAACE,MAAM,CAAC,QAAU,wBAA+C,SAAbN,EAAIU,KAAiBN,EAAG,UAAU,CAACA,EAAG,QAAQJ,EAAImB,GAAInB,EA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GACA2D,iCAAA,CACA,CACAF,WAAA,kCACA/C,GAAA,EACAE,YAAA,GACAI,cAAA,GACAF,KAAA,GACAC,eAAA,GACAF,aAAA,MAKA+C,OAAA,SAAAjC,GAAA,OACA3B,MAAA2B,EAAA+B,gCAAA1D,MACAyC,UAAAd,EAAA+B,gCAAAC,sCCvJgY,I,YCO5XE,EAAY,eACd,EACA1E,EACA8B,GACA,EACA,KACA,KACA,MAIa,aAAA4C,E","file":"js/chunk-2d0b614d.23a0d95a.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-overlay',{attrs:{\"show\":_vm.$apollo.loading || _vm.mutationLoading}},[_c('b-card',{attrs:{\"no-body\":\"\"}},[_c('PageHeader',{attrs:{\"current-view\":_vm.view,\"page-title\":_vm.libraryModule.title,\"item-title\":\"Resource\",\"show-back-button\":\"\",\"show-view-switcher\":\"\"},on:{\"update:search-query\":function($event){_vm.searchTerm = $event},\"update:page-view\":function($event){_vm.view = $event}}}),_c('b-card-body',[(!_vm.filteredResources.length)?_c('no-data-alert',{attrs:{\"message\":\"No resources found\"}}):_vm._e(),(_vm.view === 'grid')?_c('section',[_c('b-row',_vm._l((_vm.filteredResources),function(resource){return _c('b-col',{key:resource.id,staticClass:\"d-flex\",attrs:{\"md\":\"4\"}},[_c('LibraryModuleResourceCard',{staticClass:\"flex-grow-1\",attrs:{\"description\":resource.description,\"is-internal\":resource.is_internal,\"link\":resource.is_internal ? '' : resource.file,\"recommendation\":resource.recommendation,\"s3-key\":resource.is_internal ? resource.file : '',\"title\":resource.document_name}})],1)}),1)],1):_c('library-module-resource-table',{attrs:{\"items\":_vm.filteredResources}})],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","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!./LibraryModuleResourceList.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!./LibraryModuleResourceList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LibraryModuleResourceList.vue?vue&type=template&id=c644cd0c\"\nimport script from \"./LibraryModuleResourceList.vue?vue&type=script&lang=js\"\nexport * from \"./LibraryModuleResourceList.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"],"sourceRoot":""}