materio-d9/web/themes/custom/materiotheme/assets/dist/module-thematique.6999076d3b24cce0d4ea.bundle.js.map

1 line
41 KiB
Plaintext

{"version":3,"file":"module-thematique.6999076d3b24cce0d4ea.bundle.js","mappings":"ufAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAASF,EAAII,YAAcJ,EAAIK,QAASH,EAAG,MAAM,CAACI,YAAY,WAAW,CAACJ,EAAG,OAAO,CAACF,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,0BAA0BP,EAAG,UAAU,CAACI,YAAY,cAAc,CAACJ,EAAG,MAAM,CAACI,YAAY,QAAQ,CAACJ,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,UAAU,CAACI,YAAY,OAAOI,SAAS,CAAC,UAAYV,EAAIQ,GAAGR,EAAII,WAAWO,SAASX,EAAIO,GAAG,KAAKL,EAAG,UAAU,CAACI,YAAY,UAAU,CAACJ,EAAG,MAAM,CAACU,MAAM,CAAC,IAAMZ,EAAIa,eAAeC,mBAAmB,IAAM,UAAUd,EAAIO,GAAG,KAAKL,EAAG,MAAM,CAACI,YAAY,iBAAiB,CAACJ,EAAG,QAAQ,CAACI,YAAY,oBAAoB,CAACJ,EAAG,MAAM,CAACI,YAAY,aAAa,CAACJ,EAAG,KAAK,CAAC,EAAEF,EAAIe,GAAIf,EAAII,WAA2B,kBAAE,SAASY,GAAM,OAAOd,EAAG,KAAK,CAACe,IAAID,EAAKE,IAAI,CAAChB,EAAG,OAAO,CAACU,MAAM,CAAC,KAAOI,MAAS,EAAE,IAAG,YAChxB,EAEAjB,EAAOoB,eAAgB,E,wECuCvB,MC1C4I,ED0C5I,CACEC,KAAM,aAENC,MAAK,IACLC,KAAI,KACK,CACLC,IAAI,KACJC,KAAM,KACNpB,WAAW,CAAC,EACZS,eAAgB,KAChBR,SAAQ,IAGZ,QAAAoB,GACE,MAAO,CACLC,MAAOzB,KAAKG,WAAWsB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,EAAOrB,IAAMD,EAAIC,KAKnB,IAAIuB,EAASV,EAAeO,IAAkB,IAAIH,IAC9CO,EAAU,IAAIP,IACdQ,EAAU,IAAIR,IAOlB,IAJAM,EAAOf,SAAQ,SAASkB,GACtBD,EAAQpB,IAAIqB,EACd,IAEOD,EAAQE,KAAO,GAAG,CACvB,IAAIC,EAAWH,EACfA,EAAU,IAAIR,IAEdW,EAASpB,SAAQ,SAASkB,GACnBF,EAAQK,IAAIH,KACfF,EAAQnB,IAAIqB,IACIb,EAAea,IAAY,IAAIT,KACrCT,SAAQ,SAASsB,GACzBL,EAAQpB,IAAIyB,EACd,IAEJ,GACF,CASA,OAPAN,EAAQhB,SAAQ,SAASkB,GACvB,IAAIK,EAAKjB,EAAcf,EAAK2B,GACxBK,GACFV,EAAOT,YAAY/C,KAAKkE,EAE5B,IAEOV,CACT,CAIyCW,CAASjC,EAAK,mB","sources":["webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Thematique.vue?fc91","webpack://materio.com/web/themes/custom/materiotheme/vuejs/components/Pages/Thematique.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Thematique.vue?2b5a","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Thematique.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/Card.vue?263b","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/MemberWarning.vue?facd","webpack://materio.com/web/themes/custom/materiotheme/vuejs/components/Content/MemberWarning.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/MemberWarning.vue?e8e3","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/MemberWarning.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/Card.vue?8ec8","webpack://materio.com/web/themes/custom/materiotheme/vuejs/components/Content/Card.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/Card.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/api/gql/thematique.fragment.gql"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return (!_vm.thematique || _vm.loading)?_c('div',{staticClass:\"loading\"},[_c('span',[_vm._v(_vm._s(_vm.$t('default.Loading…')))])]):_c('article',{staticClass:\"thematique\"},[_c('div',{staticClass:\"cols\"},[_c('div',{staticClass:\"col col-left\"},[_c('section',{staticClass:\"body\",domProps:{\"innerHTML\":_vm._s(_vm.thematique.body)}}),_vm._v(\" \"),_c('section',{staticClass:\"visuel\"},[_c('img',{attrs:{\"src\":_vm.image_accroche.style_cardfull_url,\"alt\":\"\"}})])]),_vm._v(\" \"),_c('div',{staticClass:\"col col-right\"},[_c('aside',{staticClass:\"linked-materials\"},[_c('div',{staticClass:\"card-list\"},[_c('ul',{},_vm._l((_vm.thematique.linked_materials),function(node){return _c('li',{key:node.id},[_c('Card',{attrs:{\"item\":node}})],1)}),0)])])])])])\n}\nvar staticRenderFns = []\nrender._withStripped = true\nexport { render, staticRenderFns }","<template>\n <div class=\"loading\" v-if=\"!thematique || loading\">\n <span>{{ $t('default.Loading…') }}</span>\n </div>\n <article class=\"thematique\" v-else>\n <div class=\"cols\">\n <div class=\"col col-left\">\n <section class=\"body\" v-html=\"thematique.body\"></section>\n <section class=\"visuel\">\n <img :src=\"image_accroche.style_cardfull_url\" alt=\"\">\n </section>\n </div> <!-- //col-left -->\n <div class=\"col col-right\">\n <aside class=\"linked-materials\">\n <div class=\"card-list\">\n <ul class=\"\">\n <li v-for=\"node in thematique.linked_materials\" v-bind:key=\"node.id\">\n <Card :item=\"node\" />\n </li>\n </ul>\n </div>\n </aside>\n </div> <!-- // col-right -->\n </div> <!-- // cols -->\n </article>\n</template>\n\n<script>\n// import router from 'vuejs/route'\nimport store from 'vuejs/store'\n\nimport MGQ from 'vuejs/api/graphql-axios'\nimport { print } from 'graphql/language/printer'\nimport gql from 'graphql-tag'\n// import materiauFields from 'vuejs/api/gql/materiau.fragment.gql'\nimport thematiqueFields from 'vuejs/api/gql/thematique.fragment.gql'\n\n// import qs from 'querystring-es3'\nimport Card from 'vuejs/components/Content/Card'\n\n// import { mapState, mapActions } from 'vuex'\n\nexport default {\n name: \"Thematique\",\n // router,\n store,\n data(){\n return {\n nid:null,\n path: null,\n thematique:{},\n image_accroche: null,\n loading:true,\n }\n },\n metaInfo () {\n return {\n title: this.thematique.title\n }\n },\n // computed: {\n // ...mapState({\n // items: state => state.Blabla.items\n // })\n // },\n created(){\n this.getThematique()\n },\n methods: {\n // ...mapActions({\n // getItems: 'Blabla/getItems',\n // getItemIndex: 'Blabla/getItemIndex',\n // getPrevNextItems: 'Blabla/getPrevNextItems'\n // }),\n getThematique(){\n console.log('getThematique', this.$route)\n if (this.$route.params.id) {\n // we come from internal link with vuejs\n // using path to load from route is hasardous\n // this.path = this.$route.path\n this.id = this.$route.params.id\n } else if (drupalDecoupled.entity_type == 'node' && drupalDecoupled.entity_bundle == 'thematique') {\n // we landed in an internal page\n // get the id from drupalDeclouped, provided by materio_decoupled.module\n this.id = drupalDecoupled.entity_id\n }\n\n if (this.id) {\n this.loadThematique()\n } else {\n // if for any reason we dont have the id redirect to home\n this.$router.replace({name:'home'})\n }\n },\n loadThematique(){\n console.log('loadThematique')\n this.loading = true\n //\n const ast = gql`{\n thematique(id: ${this.id}, lang: \"${drupalDecoupled.lang_code}\") {\n ...ThematiqueFields\n }\n }\n ${thematiqueFields}\n `\n\n MGQ.post('', { query: print(ast)\n })\n .then(({ data:{data:{thematique}}}) => {\n console.log('loaded Thematique', thematique)\n this.parseDataGQL(thematique)\n })\n .catch(error => {\n console.warn('Issue with loadThematique', error)\n Promise.reject(error)\n })\n },\n parseDataGQL(thematique){\n console.log('parseDataGQL thematique', thematique)\n if (thematique) {\n this.thematique = thematique\n\n if (thematique.images) {\n this.image_accroche = thematique.images[0]\n }\n\n // update main page title\n this.$store.commit('Common/setPagetitle', thematique.title)\n\n } else {\n console.warn('Thematique not loaded');\n }\n this.loading = false;\n },\n },\n components: {\n Card\n },\n watch: {\n '$route' (to, from) {\n console.log('route change')\n this.getThematique()\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n</style>\n","import mod from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Thematique.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Thematique.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Thematique.vue?vue&type=template&id=743227f9&scoped=true\"\nimport script from \"./Thematique.vue?vue&type=script&lang=js\"\nexport * from \"./Thematique.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 \"743227f9\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('article',{staticClass:\"card search-card\"},[_c('header',{on:{\"click\":function($event){$event.preventDefault();return _vm.openModalCard.apply(null, arguments)}}},[(_vm.hasDBAccess)?_c('h1',[_vm._v(_vm._s(_vm.item.title))]):_vm._e(),_vm._v(\" \"),_c('h4',[_vm._v(_vm._s(_vm.item.short_description))]),_vm._v(\" \"),(_vm.hasDBAccess)?_c('span',{staticClass:\"ref\"},[_vm._v(_vm._s(_vm.item.reference))]):_vm._e()]),_vm._v(\" \"),(_vm.hasDBAccess)?_c('nav',{staticClass:\"tools\"},[_c('section',{staticClass:\"tool flags\"},[_c('span',{staticClass:\"btn mdi mdi-folder-outline\"}),_vm._v(\" \"),_c('div',{staticClass:\"tool-content\"},[_c('ul',[_vm._l((_vm.flagcolls),function(coll){return (_vm.flagcolls)?_c('li',{key:coll.id},[_c('span',{staticClass:\"flag mdi\",class:[\n _vm.flagIsLoading(coll.id) ? 'mdi-loading mdi-spin' : _vm.flagIsActive(coll.id) ? 'mdi-close-circle isActive' : 'mdi-plus'\n ],attrs:{\"collid\":coll.id},on:{\"click\":function($event){$event.preventDefault();return _vm.onFlagActionCard.apply(null, arguments)}}},[_vm._v(\"\\n \"+_vm._s(coll.name)+\"\\n \")])]):_vm._e()}),_vm._v(\" \"),(_vm.collsLength<15)?_c('li',{staticClass:\"create-flag\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.new_folder_name),expression:\"new_folder_name\"}],attrs:{\"placeholder\":\"new folder\"},domProps:{\"value\":(_vm.new_folder_name)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();$event.stopPropagation();return _vm.onCreateFlagColl.apply(null, arguments)},\"input\":function($event){if($event.target.composing)return;_vm.new_folder_name=$event.target.value}}}),_vm._v(\" \"),_c('span',{staticClass:\"add-btn mdi\",class:_vm.addFlagBtnClassObj,on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onCreateFlagColl.apply(null, arguments)}}})]):_vm._e()],2)])]),_vm._v(\" \"),(_vm.item.samples && _vm.item.samples.length)?_c('section',{staticClass:\"tool samples\"},[_c('span',{staticClass:\"btn mdi mdi-map-marker-star-outline\"}),_vm._v(\" \"),_c('div',{staticClass:\"tool-content\"},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t(\"materio.Samples\")))]),_vm._v(\" \"),_c('ul',_vm._l((_vm.item.samples),function(sample){return _c('li',{key:sample.showroom.id},[_c('span',{staticClass:\"showroom\"},[_vm._v(_vm._s(sample.showroom.name))]),_vm._v(\": \"+_vm._s(sample.location)+\"\\n \")])}),0)])]):_vm._e(),_vm._v(\" \"),(_vm.item.note)?_c('section',{staticClass:\"tool note\"},[_c('span',{staticClass:\"btn mdi mdi-note\"})]):_vm._e(),_vm._v(\" \"),_c('section',{staticClass:\"tool print\"},[_c('a',{attrs:{\"href\":_vm.item.path+'/printable/print',\"target\":\"_blank\"}},[_c('span',{staticClass:\"btn mdi mdi-printer\"})])])]):_vm._e(),_vm._v(\" \"),_c('section',{directives:[{name:\"switcher\",rawName:\"v-switcher\"}],staticClass:\"images\"},_vm._l((_vm.item.images),function(img,index){return _c('figure',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(index),expression:\"index\"}],key:img.url,staticClass:\"lazy\"},[_c('img',{attrs:{\"data-src\":img.style_cardmedium_url,\"title\":img.title}}),_vm._v(\" \"),_c('img',{staticClass:\"blank\",attrs:{\"src\":_vm.blanksrc},on:{\"click\":function($event){$event.preventDefault();return _vm.openModalCard.apply(null, arguments)}}})])}),0)])\n}\nvar staticRenderFns = []\nrender._withStripped = true\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"member-warning\"}},[_c('h2',[_vm._v(_vm._s(_vm.$t('materio.Oops')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('materio.To be able to access to our 8000+ materials you need become a member')))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"/pricing\"},on:{\"click\":function($event){$event.preventDefault();return _vm.onclick.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.$t('materio.Join us')))])])\n}\nvar staticRenderFns = []\nrender._withStripped = true\nexport { render, staticRenderFns }","<template>\n <div id=\"member-warning\">\n <h2>{{ $t('materio.Oops') }}</h2>\n <!-- <router-link :to=\"{ name: 'pricing'}\">Join us</router-link> -->\n <p>{{ $t('materio.To be able to access to our 8000+ materials you need become a member') }}</p>\n <a\n href=\"/pricing\"\n @click.prevent=\"onclick\"\n >{{ $t('materio.Join us') }}</a>\n </div>\n</template>\n\n<script>\n\nimport router from 'vuejs/route'\n\nexport default {\n name: \"MemberWarning\",\n router,\n data: () => ({\n\n }),\n methods:{\n onclick(){\n console.log('clicked', )\n this.$modal.hideAll()\n this.$router.push({\n name:`pricing`\n // params: { alias:this.alias, id: this.item.nid }\n // query: { nid: this.item.nid }\n // meta: { uuid:this.item.uuid },\n })\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n</style>\n","import mod from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MemberWarning.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MemberWarning.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./MemberWarning.vue?vue&type=template&id=54d9dd2c&scoped=true\"\nimport script from \"./MemberWarning.vue?vue&type=script&lang=js\"\nexport * from \"./MemberWarning.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 \"54d9dd2c\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card.vue?vue&type=script&lang=js\"","<template>\n <article class=\"card search-card\">\n <header\n @click.prevent=\"openModalCard\"\n >\n <h1 v-if=\"hasDBAccess\">{{ item.title }}</h1>\n <h4>{{ item.short_description }}</h4>\n <span v-if=\"hasDBAccess\" class=\"ref\">{{ item.reference }}</span>\n </header>\n <nav class=\"tools\" v-if=\"hasDBAccess\">\n <section class=\"tool flags\">\n <span class=\"btn mdi mdi-folder-outline\"/>\n <div class=\"tool-content\">\n <ul>\n <li v-if=\"flagcolls\" v-for=\"coll in flagcolls\" :key=\"coll.id\">\n <span\n class=\"flag mdi\"\n :class=\"[\n flagIsLoading(coll.id) ? 'mdi-loading mdi-spin' : flagIsActive(coll.id) ? 'mdi-close-circle isActive' : 'mdi-plus'\n ]\"\n :collid=\"coll.id\"\n @click.prevent=\"onFlagActionCard\"\n >\n {{ coll.name }}\n </span>\n </li>\n <li v-if=\"collsLength<15\" class=\"create-flag\">\n <input\n placeholder=\"new folder\"\n v-model=\"new_folder_name\"\n @keyup.enter.prevent.stop=\"onCreateFlagColl\"\n />\n <span\n class=\"add-btn mdi\"\n :class=\"addFlagBtnClassObj\"\n @click.prevent.stop=\"onCreateFlagColl\"\n />\n </li>\n </ul>\n </div>\n </section>\n <section class=\"tool samples\" v-if=\"item.samples && item.samples.length\">\n <span class=\"btn mdi mdi-map-marker-star-outline\"/>\n <div class=\"tool-content\">\n <span class=\"label\">{{ $t(\"materio.Samples\") }}</span>\n <ul>\n <li\n v-for=\"sample in item.samples\"\n :key=\"sample.showroom.id\"\n >\n <span class=\"showroom\">{{ sample.showroom.name }}</span>: {{ sample.location }}\n </li>\n </ul>\n </div>\n </section>\n <section v-if=\"item.note\" class=\"tool note\">\n <span class=\"btn mdi mdi-note\"/>\n </section>\n <section class=\"tool print\">\n <a :href=\"item.path+'/printable/print'\" target=\"_blank\">\n <span class=\"btn mdi mdi-printer\"/>\n </a>\n </section>\n </nav>\n <section class=\"images\" v-switcher>\n <figure\n v-for=\"(img, index) in item.images\"\n :key=\"img.url\"\n class=\"lazy\"\n v-lazy=\"index\"\n >\n <img\n :data-src=\"img.style_cardmedium_url\"\n :title=\"img.title\"\n />\n <img\n class=\"blank\"\n :src=\"blanksrc\"\n @click.prevent=\"openModalCard\"\n />\n </figure>\n </section>\n <!-- <CoolLightBox\n v-if=\"isloggedin\"\n :items=\"item.images\"\n :index=\"lightbox_index\"\n srcName=\"style_hd_url\"\n :loop=\"true\"\n @close=\"lightbox_index = null\">\n </CoolLightBox> -->\n </article>\n</template>\n\n<script>\nimport { mapState, mapActions } from 'vuex'\nimport cardMixins from 'vuejs/components/cardMixins'\nimport ModalCard from 'vuejs/components/Content/ModalCard'\nimport MemberWarning from 'vuejs/components/Content/MemberWarning'\n\nexport default {\n name: \"Card\",\n props: ['item'],\n mixins: [cardMixins],\n components: {\n ModalCard,\n MemberWarning\n },\n data() {\n return {\n blanksrc:`${drupalSettings.path.themePath}/assets/img/blank.gif`,\n loadingFlag: false,\n new_folder_name: \"\",\n is_creating_folder: false\n // lightbox_index: null\n }\n },\n computed: {\n ...mapState({\n flagcolls: state => state.User.flagcolls,\n isloggedin: state => state.User.isloggedin,\n hasDBAccess: state => state.User.hasDBAccess\n }),\n collsLength() {\n return Object.keys(this.flagcolls).length\n },\n addFlagBtnClassObj() {\n return {\n 'mdi-plus-circle-outline': !this.is_creating_folder,\n 'mdi-loading': this.is_creating_folder,\n active: this.new_folder_name.length > 4 && !this.is_creating_folder,\n loading: this.is_creating_folder\n }\n }\n },\n beforeMount () {\n // console.log(this.item.id, this.samples)\n },\n methods: {\n ...mapActions({\n // refreshItem: 'Search/refreshItem',\n createFlagColl: 'User/createFlagColl',\n flagUnflag: 'User/flagUnflag'\n }),\n onCreateFlagColl () {\n console.log(\"Card onCreateFlagColl\", this.new_folder_name)\n this.is_creating_folder = true;\n this.createFlagColl(this.new_folder_name)\n .then(data => {\n console.log(\"Card onCreateFlagColl then\", data)\n this.new_folder_name = \"\";\n this.is_creating_folder = false;\n let collid = data.id\n this.loadingFlag = collid;\n this.flagUnflag({ action: 'flag', id: this.item.id, collid: collid})\n .then(data => {\n console.log(\"onFlagActionCard then\", data)\n this.loadingFlag = false;\n })\n })\n },\n flagIsActive(collid) {\n // console.log(\"Card flagIsActive\",\n // this.item.id,\n // this.flagcolls[collid].items,\n // this.flagcolls[collid].items.indexOf(this.item.id)\n // );\n // console.log(this.flagcolls[collid].items_uuids)\n // return this.flagcolls[collid].items_uuids.indexOf(this.item.uuid) !== -1;\n return this.flagcolls[collid].items.indexOf(this.item.id) !== -1;\n },\n flagIsLoading(collid) {\n // console.log(this.item.uuid)\n // console.log(this.flagcolls[collid].items_uuids)\n return collid === this.loadingFlag;\n },\n onFlagActionCard (e) {\n console.log(\"Card onFlagActionCard\", e, this.item)\n if (!this.loadingFlag) {\n let collid = e.target.getAttribute('collid');\n let isActive = this.flagIsActive(collid);\n let action = isActive ? 'unflag' : 'flag';\n // console.log('collid', collid)\n // console.log(\"this.item\", this.item)\n this.loadingFlag = collid;\n this.flagUnflag({ action: action, id: this.item.id, collid: collid})\n .then(data => {\n console.log(\"onFlagActionCard then\", data)\n this.loadingFlag = false;\n })\n }\n },\n // onClickImg (e, index) {\n // this.lightbox_index = index\n // },\n openModalCard (e) {\n console.log('openModalCard', this.hasDBAccess)\n if (this.hasDBAccess) {\n this.$modal.show(\n ModalCard,\n {\n item: this.item,\n // not really an event\n // more a callback function passed as prop to the component\n addNoteId:(id) => {\n // no needs to refresh the entire item via searchresults\n // plus if we are in article, there is not searchresults\n // this.refreshItem({id: this.item.id})\n // instead create the note id directly\n this.item.note = {id: id}\n }\n },\n {\n name: `modal-${this.item.id}`,\n draggable: false,\n classes: \"vm--modale-card\",\n // this does not work\n // adaptative: true,\n // maxWidth: 850,\n // maxHeight: 610,\n width: '95%',\n height: '95%'\n }\n )\n } else {\n this.$modal.show(\n MemberWarning,\n {},\n {\n // name: `modal-${this.item.id}`,\n draggable: false,\n // classes: \"vm--modale-card\",\n // this does not work\n // adaptative: true,\n // maxWidth: 850,\n // maxHeight: 610,\n width: '400px',\n height: '250px'\n }\n )\n }\n }\n }\n}\n\n</script>\n\n<style lang=\"scss\" scoped>\n\n</style>\n","import { render, staticRenderFns } from \"./Card.vue?vue&type=template&id=1220dd05&scoped=true\"\nimport script from \"./Card.vue?vue&type=script&lang=js\"\nexport * from \"./Card.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 \"1220dd05\",\n null\n \n)\n\nexport default component.exports","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"FragmentDefinition\",\"name\":{\"kind\":\"Name\",\"value\":\"ThematiqueFields\"},\"typeCondition\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"Thematique\"}},\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"body\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"tags\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"linked_materials\"},\"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\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"short_description\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"path\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"images\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"url\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"style_cardmedium_url\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"style_hd_url\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"samples\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"showroom\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"location\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"images\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"url\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"alt\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"style_cardfull_url\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":383}};\n doc.loc.source = {\"body\":\"fragment ThematiqueFields on Thematique {\\n id\\n title\\n body\\n tags {\\n id\\n name\\n }\\n linked_materials {\\n id\\n title\\n short_description\\n path\\n images {\\n url\\n style_cardmedium_url\\n style_hd_url\\n }\\n \\tsamples{\\n showroom{\\n name\\n id\\n }\\n location\\n }\\n }\\n images {\\n id\\n url\\n alt\\n style_cardfull_url\\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[\"ThematiqueFields\"] = oneQuery(doc, \"ThematiqueFields\");\n \n"],"names":["render","_vm","this","_c","_self","thematique","loading","staticClass","_v","_s","$t","domProps","body","attrs","image_accroche","style_cardfull_url","_l","node","key","id","_withStripped","name","store","data","nid","path","metaInfo","title","created","getThematique","methods","$route","params","drupalDecoupled","entity_type","entity_bundle","entity_id","loadThematique","$router","replace","ast","lang_code","post","query","then","parseDataGQL","catch","error","console","warn","Promise","reject","images","$store","commit","components","Card","watch","to","from","on","$event","preventDefault","openModalCard","apply","arguments","item","_e","short_description","reference","coll","class","flagIsLoading","flagIsActive","onFlagActionCard","collsLength","directives","rawName","value","expression","type","indexOf","_k","keyCode","stopPropagation","onCreateFlagColl","target","composing","new_folder_name","addFlagBtnClassObj","samples","length","sample","showroom","location","img","index","url","style_cardmedium_url","blanksrc","onclick","router","$modal","hideAll","push","props","mixins","cardMixins","ModalCard","MemberWarning","drupalSettings","themePath","loadingFlag","is_creating_folder","computed","flagcolls","state","User","isloggedin","hasDBAccess","Object","keys","active","beforeMount","createFlagColl","flagUnflag","collid","action","items","e","getAttribute","show","addNoteId","note","draggable","classes","width","height","doc","loc","source","collectFragmentReferences","refs","kind","add","selectionSet","selections","forEach","selection","variableDefinitions","def","definitions","definitionRefs","findOperation","i","element","Set","module","exports","operationName","newDoc","hasOwnProperty","opRefs","allRefs","newRefs","refName","size","prevRefs","has","childRef","op","oneQuery"],"sourceRoot":""}