{"version":3,"sources":["webpack:///./src/graphql/library/queries.gql","webpack:///./src/components/common/PaginationControls.vue?a850","webpack:///src/components/common/PaginationControls.vue","webpack:///./src/components/common/PaginationControls.vue?193b","webpack:///./src/components/common/PaginationControls.vue","webpack:///./src/components/library/LibraryModuleCard.vue?1fe7","webpack:///src/components/library/LibraryModuleCard.vue","webpack:///./src/components/library/LibraryModuleCard.vue?8cec","webpack:///./src/components/library/LibraryModuleCard.vue","webpack:///./src/components/library/LibraryModuleTable.vue?dcec","webpack:///src/components/library/LibraryModuleTable.vue","webpack:///./src/components/library/LibraryModuleTable.vue?316e","webpack:///./src/components/library/LibraryModuleTable.vue","webpack:///./src/utils/objectUtils.js"],"names":["doc","loc","source","collectFragmentReferences","node","refs","kind","add","name","value","type","selectionSet","selections","forEach","selection","variableDefinitions","def","definitions","definitionRefs","findOperation","i","length","element","oneQuery","operationName","newDoc","hasOwnProperty","opRefs","Set","allRefs","newRefs","refName","size","prevRefs","has","childRefs","childRef","op","push","module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","offset","Math","min","pageLength","count","attrs","computedPerPageOptions","model","callback","$$v","expression","itemTitle","totalItems","scopedSlots","_u","key","fn","proxy","currentPage","staticRenderFns","components","BFormSelect","BPagination","props","limit","Number","required","String","default","perPageOptions","Array","data","computed","_this","options","filter","option","parseInt","includes","sort","a","b","watch","pageNumber","$emit","component","directives","rawName","isPrivate","modifiers","link","title","incubatorTitle","_e","description","on","$event","BCardSubTitle","BBadge","BCardFooter","BCardText","BCard","BCardBody","BButton","BCardTitle","vueShowMoreText","canDelete","Boolean","canEdit","Object","emits","columns","items","column","field","row","is_default","is_private","staticStyle","viewRouteName","params","libraryId","id","formattedRow","VueGoodTable","showIncubatorCol","label","hidden","searchInObject","search","obj","keys","arguments","undefined","lowerSearch","toLower","validKeys","valuesToSearch","at","values","some","val","isString","isNumber","toString","toLowerCase","isArray","v","compareObjectLists","newList","oldList","idKey","added","item","find","deleted","updated","oldItem","changes","object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OAAIA,EAAE8I,KAAWE,EAAKF,MACpD,GAAKM,EAAL,CAIA,IAAMC,EAAUjD,OAAOsB,KAAKsB,GAAM9E,QAAO,SAAApB,GAAG,OAAIkG,EAAKlG,KAASsG,EAAQtG,MAClEuG,EAAQpJ,OAAS,GACnBkJ,EAAQjI,KAAK8H,OAIV,CAAEG,UAASJ,QAAOG,WAM3B,IAAMI,EAAc,CAClB9B,OAAQD,EACRoB,sBAGaW","file":"js/chunk-2ecb65f3.cd64cb22.js","sourcesContent":["\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"FragmentDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"LibraryModuleFields\"},\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"knowledge_resource_module\"}},\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"incubator_id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"is_private\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"is_default\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"FragmentDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"LibraryModuleResourceFields\"},\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"programs_knowledgeresourcetable\"}},\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"__typename\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"document_name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"file\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"recommendation\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"is_internal\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"ListLibraryModulesByOneIncubator\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"orgId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"limit\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"offset\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"knowledge_resource_module_aggregate\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"where\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_or\"},\"value\":{\"kind\":\"ListValue\",\"values\":[{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"incubator_id\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_eq\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"orgId\"}}}]}}]},{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"is_default\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_eq\"},\"value\":{\"kind\":\"BooleanValue\",\"value\":true}}]}}]}]}}]}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"limit\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"limit\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"offset\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"offset\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"aggregate\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"count\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"nodes\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"FragmentSpread\",\"name\":{\"kind\":\"Name\",\"value\":\"LibraryModuleFields\"},\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"ListLibraryModulesByManyIncubator\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"orgIds\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"ListType\",\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"limit\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"offset\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Int\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"knowledge_resource_module_aggregate\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"where\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_or\"},\"value\":{\"kind\":\"ListValue\",\"values\":[{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"incubator_id\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_in\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"orgIds\"}}}]}}]},{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"is_default\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_eq\"},\"value\":{\"kind\":\"BooleanValue\",\"value\":true}}]}}]}]}}]}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"limit\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"limit\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"offset\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"offset\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"aggregate\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"count\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"nodes\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"FragmentSpread\",\"name\":{\"kind\":\"Name\",\"value\":\"LibraryModuleFields\"},\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"users_organizationtable\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"GetLibraryModuleWithResources\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"libraryId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"knowledge_resource_module_by_pk\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"libraryId\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"is_private\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"programs_knowledgeresourcetables\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"FragmentSpread\",\"name\":{\"kind\":\"Name\",\"value\":\"LibraryModuleResourceFields\"},\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"GetLibraryModuleResource\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"resourceId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"programs_knowledgeresourcetable_by_pk\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"resourceId\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"FragmentSpread\",\"name\":{\"kind\":\"Name\",\"value\":\"LibraryModuleResourceFields\"},\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":1676}};\n doc.loc.source = {\"body\":\"# Type: GraphQL\\nfragment LibraryModuleFields on knowledge_resource_module {\\n __typename\\n id\\n incubator_id\\n title\\n is_private\\n is_default\\n description\\n}\\n\\nfragment LibraryModuleResourceFields on programs_knowledgeresourcetable {\\n __typename\\n id\\n description\\n document_name\\n file\\n recommendation\\n is_internal\\n}\\n\\n# Queries\\nquery ListLibraryModulesByOneIncubator($orgId: bigint!, $limit: Int!, $offset: Int!) {\\n knowledge_resource_module_aggregate(\\n where: { _or: [{ incubator_id: { _eq: $orgId } }, { is_default: { _eq: true } }] }\\n limit: $limit\\n offset: $offset\\n ) {\\n aggregate {\\n count\\n }\\n nodes {\\n ...LibraryModuleFields\\n }\\n }\\n}\\n\\nquery ListLibraryModulesByManyIncubator($orgIds: [bigint!]!, $limit: Int!, $offset: Int!) {\\n knowledge_resource_module_aggregate(\\n where: { _or: [{ incubator_id: { _in: $orgIds } }, { is_default: { _eq: true } }] }\\n limit: $limit\\n offset: $offset\\n ) {\\n aggregate {\\n count\\n }\\n nodes {\\n ...LibraryModuleFields\\n users_organizationtable {\\n id\\n title\\n }\\n }\\n }\\n}\\n\\nquery GetLibraryModuleWithResources($libraryId: bigint!) {\\n knowledge_resource_module_by_pk(id: $libraryId) {\\n title\\n description\\n is_private\\n programs_knowledgeresourcetables {\\n ...LibraryModuleResourceFields\\n }\\n }\\n}\\n\\nquery GetLibraryModuleResource($resourceId: bigint!) {\\n programs_knowledgeresourcetable_by_pk(id: $resourceId) {\\n ...LibraryModuleResourceFields\\n }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"LibraryModuleFields\"] = oneQuery(doc, \"LibraryModuleFields\");\n \n module.exports[\"LibraryModuleResourceFields\"] = oneQuery(doc, \"LibraryModuleResourceFields\");\n \n module.exports[\"ListLibraryModulesByOneIncubator\"] = oneQuery(doc, \"ListLibraryModulesByOneIncubator\");\n \n module.exports[\"ListLibraryModulesByManyIncubator\"] = oneQuery(doc, \"ListLibraryModulesByManyIncubator\");\n \n module.exports[\"GetLibraryModuleWithResources\"] = oneQuery(doc, \"GetLibraryModuleWithResources\");\n \n module.exports[\"GetLibraryModuleResource\"] = oneQuery(doc, \"GetLibraryModuleResource\");\n \n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex justify-content-between flex-wrap\"},[_c('div',{staticClass:\"d-flex align-items-center mb-0 mt-1\"},[_c('span',{staticClass:\"text-nowrap \"},[_vm._v(\" Showing \"+_vm._s(_vm.offset + 1)+\" to \"+_vm._s(Math.min(_vm.offset + _vm.pageLength, _vm.count))+\" of \")]),_c('b-form-select',{staticClass:\"mx-1\",attrs:{\"options\":_vm.computedPerPageOptions},model:{value:(_vm.pageLength),callback:function ($$v) {_vm.pageLength=$$v},expression:\"pageLength\"}}),_c('span',{staticClass:\"text-nowrap\"},[_vm._v(\" of \"+_vm._s(_vm.count)+\" \"+_vm._s(_vm.itemTitle)+\" \")])],1),_c('div',[_c('b-pagination',{staticClass:\"mt-1 mb-0\",attrs:{\"per-page\":_vm.pageLength,\"total-rows\":_vm.totalItems,\"first-number\":\"\",\"last-number\":\"\",\"next-class\":\"next-item\",\"prev-class\":\"prev-item\"},scopedSlots:_vm._u([{key:\"prev-text\",fn:function(){return [_c('feather-icon',{attrs:{\"icon\":\"ChevronLeftIcon\",\"size\":\"18\"}})]},proxy:true},{key:\"next-text\",fn:function(){return [_c('feather-icon',{attrs:{\"icon\":\"ChevronRightIcon\",\"size\":\"18\"}})]},proxy:true}]),model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./PaginationControls.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!./PaginationControls.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PaginationControls.vue?vue&type=template&id=31213019\"\nimport script from \"./PaginationControls.vue?vue&type=script&lang=js\"\nexport * from \"./PaginationControls.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"border\",attrs:{\"no-body\":\"\"}},[_c('b-badge',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",value:(_vm.isPrivate ? 'Private: Available only for in-house users and orgs.' : 'Public: Available for everyone in network '),expression:\"isPrivate ? 'Private: Available only for in-house users and orgs.' : 'Public: Available for everyone in network '\",modifiers:{\"hover\":true}}],staticClass:\"rounded-0\",attrs:{\"variant\":_vm.isPrivate ? 'light-primary' : 'light-success'}},[_c('feather-icon',{attrs:{\"icon\":_vm.isPrivate ? 'LockIcon' : 'GlobeIcon'}}),_vm._v(\" \"+_vm._s(_vm.isPrivate ? 'Private' : 'Public')+\" \")],1),_c('b-card-header',{staticClass:\"pb-1 d-flex flex-column align-items-start\"},[_c('b-card-title',[_c('b-link',{attrs:{\"to\":_vm.link}},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")])],1),(_vm.incubatorTitle)?_c('b-card-sub-title',{staticClass:\"mt-25\"},[_vm._v(\" by \"+_vm._s(_vm.incubatorTitle)+\" \")]):_vm._e()],1),_c('b-card-body',{staticClass:\"pb-1\"},[_c('b-card-text',[_c('vue-show-more-text',{staticClass:\"text-secondary font-small-3\",attrs:{\"lines\":3,\"text\":_vm.description,\"additional-container-css\":\"padding: 0\",\"more-text\":\"Read more\"}})],1)],1),_c('b-card-footer',{staticClass:\"py-1 border-0\"},[_c('div',{staticClass:\"d-flex justify-content-start\"},[_c('b-button',{staticClass:\"mr-auto\",attrs:{\"to\":_vm.link,\"size\":\"sm\",\"variant\":\"primary\"}},[_c('feather-icon',{attrs:{\"icon\":\"FolderIcon\"}}),_vm._v(\" Open \")],1),(_vm.canEdit)?_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"flat-primary\"},on:{\"click\":function($event){return _vm.$emit('edit')}}},[_c('feather-icon',{attrs:{\"icon\":\"EditIcon\"}})],1):_vm._e(),(_vm.canDelete)?_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"flat-danger\"},on:{\"click\":function($event){return _vm.$emit('delete')}}},[_c('feather-icon',{attrs:{\"icon\":\"TrashIcon\"}})],1):_vm._e()],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./LibraryModuleCard.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!./LibraryModuleCard.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LibraryModuleCard.vue?vue&type=template&id=4505d738\"\nimport script from \"./LibraryModuleCard.vue?vue&type=script&lang=js\"\nexport * from \"./LibraryModuleCard.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vue-good-table',{attrs:{\"columns\":_vm.columns,\"rows\":_vm.items},scopedSlots:_vm._u([{key:\"table-row\",fn:function(props){return [(props.column.field === 'visibility')?_c('span',{staticClass:\"d-flex flex-nowrap\"},[(!props.row.is_default)?_c('b-badge',{attrs:{\"variant\":(\"\" + (props.row.is_private ? 'primary' : 'success'))}},[_c('feather-icon',{attrs:{\"icon\":((props.row.is_private ? 'Lock' : 'Users') + \"Icon\")}}),_c('span',{staticStyle:{\"margin-left\":\"4px\"}},[_vm._v(_vm._s(props.row.is_private ? 'Private' : 'Public'))])],1):_c('b-badge',{attrs:{\"variant\":\"outline-primary\"}},[_vm._v(\" Default \")])],1):_vm._e(),(props.column.field === 'action')?_c('span',{staticClass:\"d-flex flex-nowrap\"},[_c('b-button',{staticClass:\"mr-auto\",attrs:{\"to\":{ name: _vm.viewRouteName, params: { libraryId: props.row.id } },\"size\":\"sm\",\"variant\":\"primary\"}},[_c('feather-icon',{attrs:{\"icon\":\"FolderIcon\"}}),_vm._v(\" Open \")],1),(!props.row.is_default && _vm.canEdit)?_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"flat-primary\"},on:{\"click\":function($event){return _vm.$emit('edit', props.row.id)}}},[_c('feather-icon',{attrs:{\"icon\":\"EditIcon\"}})],1):_vm._e(),(!props.row.is_default && _vm.canDelete)?_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"flat-danger\"},on:{\"click\":function($event){return _vm.$emit('delete', props.row.id)}}},[_c('feather-icon',{attrs:{\"icon\":\"TrashIcon\"}})],1):_vm._e()],1):_c('span',[_vm._v(\" \"+_vm._s(props.formattedRow[props.column.field])+\" \")])]}}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./LibraryModuleTable.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!./LibraryModuleTable.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LibraryModuleTable.vue?vue&type=template&id=1a68e8ee\"\nimport script from \"./LibraryModuleTable.vue?vue&type=script&lang=js\"\nexport * from \"./LibraryModuleTable.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 {\n at, filter, has, includes, isArray, isNumber, isString, some, toLower, values,\n} from 'lodash'\n\n/**\n * Searches for a string within the values of an object.\n *\n * @param {string} search - The string to search for.\n * @param {Object} obj - The object to search within.\n * @param {Array} [keys=[]] - Specific keys to search within the object.\n * @returns {boolean} - Returns true if the search string is found, otherwise false.\n */\nfunction searchInObject(search, obj, keys = []) {\n if (!search) return false\n const lowerSearch = toLower(search)\n\n const validKeys = filter(keys, key => has(obj, key))\n\n const valuesToSearch = keys.length ? at(obj, validKeys) : values(obj)\n\n return some(valuesToSearch, val => {\n if (isString(val) || isNumber(val)) {\n return includes(val.toString().toLowerCase(), lowerSearch)\n }\n if (isArray(val)) {\n return some(val, v => {\n if (isString(v) || isNumber(v)) {\n return includes(v.toString().toLowerCase(), lowerSearch)\n }\n return false\n })\n }\n return false\n })\n}\n\nfunction compareObjectLists(newList, oldList, idKey = 'id') {\n const added = newList.filter(item => !item[idKey] || !oldList.find(i => i[idKey] === item[idKey]))\n const deleted = oldList.filter(item => !newList.find(i => i[idKey] === item[idKey]))\n const updated = []\n\n newList.forEach(item => {\n const oldItem = oldList.find(i => i[idKey] === item[idKey])\n if (!oldItem) {\n return\n }\n\n const changes = Object.keys(item).filter(key => item[key] !== oldItem[key])\n if (changes.length > 0) {\n updated.push(item)\n }\n })\n\n return { updated, added, deleted }\n}\n\n/**\n * Utility functions for object operations.\n */\nconst objectUtils = {\n search: searchInObject,\n compareObjectLists,\n}\n\nexport default objectUtils\n"],"sourceRoot":""}