materio-d9/web/themes/custom/materiotheme/assets/dist/module-blabla.02d7d2034e7287bc9e40.bundle.js.map
2025-03-22 15:56:28 +01:00

1 line
8.5 KiB
Plaintext

{"version":3,"file":"module-blabla.02d7d2034e7287bc9e40.bundle.js","mappings":"gqBAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,WAAW,CAAGJ,EAAIK,MAAMC,OAAoGJ,EAAG,MAAM,CAACK,YAAY,cAAc,CAACL,EAAG,KAAKF,EAAIQ,GAAIR,EAAS,OAAE,SAASS,GAAM,OAAOP,EAAG,KAAK,CAACQ,IAAID,EAAKE,KAAK,CAACT,EAAG,cAAc,CAACE,MAAM,CAAC,KAAOK,MAAS,EAAE,IAAG,GAAGT,EAAIY,GAAG,KAAKV,EAAG,mBAAmB,CAACW,GAAG,CAAC,SAAWb,EAAIc,WAAW,CAACZ,EAAG,MAAM,CAACE,MAAM,CAAC,KAAO,WAAWW,KAAK,WAAW,CAACf,EAAIY,GAAG,yBAAyB,GAAjZV,EAAG,MAAM,CAACK,YAAY,WAAW,CAACL,EAAG,OAAO,CAACF,EAAIY,GAAGZ,EAAIgB,GAAGhB,EAAIiB,GAAG,2BAC3L,EAEAlB,EAAOmB,eAAgB,ECHvB,IAAI,EAAS,WAAkB,IAAIlB,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,UAAU,CAACK,YAAY,gBAAgB,CAACL,EAAG,SAAS,CAACA,EAAG,KAAK,CAACA,EAAG,IAAI,CAACE,MAAM,CAAC,KAAOJ,EAAIS,KAAKU,WAAWC,SAAS,CAAC,UAAYpB,EAAIgB,GAAGhB,EAAIS,KAAKY,QAAQR,GAAG,CAAC,MAAQ,SAASS,GAAgC,OAAxBA,EAAOC,iBAAwBvB,EAAIwB,QAAQC,MAAM,KAAMC,UAAU,OAAO1B,EAAIY,GAAG,KAAKV,EAAG,QAAQ,CAACkB,SAAS,CAAC,UAAYpB,EAAIgB,GAAGhB,EAAIS,KAAKkB,cAAc3B,EAAIY,GAAG,KAAKV,EAAG,UAAU,CAACK,YAAY,UAAU,CAACL,EAAG,IAAI,CAACE,MAAM,CAAC,KAAOJ,EAAIS,KAAKU,WAAWN,GAAG,CAAC,MAAQ,SAASS,GAAgC,OAAxBA,EAAOC,iBAAwBvB,EAAIwB,QAAQC,MAAM,KAAMC,UAAU,IAAI,CAACxB,EAAG,SAAS,CAACkB,SAAS,CAAC,UAAYpB,EAAIgB,GAAGhB,EAAIS,KAAKmB,sBAC9nB,EAEA,EAAOV,eAAgB,E,cCyBRW,eAAeC,KAAKC,QAAUF,eAAeC,KAAKE,WAEjE,MC9B6I,ED8B7I,CACEC,KAAM,cACNC,OAAM,IACNC,MAAO,CAAC,QACR,IAAAC,GACE,MAAO,CACLC,MAAOpC,KAAKQ,KAAKU,UAAUmB,QAAQ,iBAAkB,IAEzD,EACAC,QAAQ,CACN,OAAAf,GACoCvB,KAAKoC,MACvCpC,KAAKuC,QAAQC,KAAK,CAChBR,KAAK,UACLS,OAAQ,CAAEL,MAAMpC,KAAKoC,MAAOM,GAAI1C,KAAKQ,KAAKE,MAI9C,I,cE9BJ,SAXgB,OACd,EACA,EHPoB,IGSpB,EACA,KACA,WACA,MAI8B,Q,cCKhC,MCvBwI,EDuBxI,CACEsB,KAAM,SAONW,SAAU,KACL,QAAS,CACVvC,MAAOwC,GAASA,EAAMC,OAAOzC,SAGjC,OAAAsB,GACM1B,KAAKI,MAAMC,QACbL,KAAK8C,UACT,EACAR,QAAS,KACJ,QAAW,CACZQ,SAAU,kBACVjC,SAAU,qBAGdkC,WAAY,CACVC,YAAW,IE7Bf,SAXgB,OACd,EACAlD,EPPoB,IOSpB,EACA,KACA,WACA,MAI8B,O","sources":["webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Blabla.vue?727a","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/ArticleCard.vue?4b9b","webpack://materio.com/web/themes/custom/materiotheme/vuejs/components/Content/ArticleCard.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/ArticleCard.vue?4dea","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/ArticleCard.vue","webpack://materio.com/web/themes/custom/materiotheme/vuejs/components/Pages/Blabla.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Blabla.vue?75cf","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Blabla.vue"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"blabla\"}},[(!_vm.items.length)?_c('div',{staticClass:\"loading\"},[_c('span',[_vm._v(_vm._s(_vm.$t('default.Loading…')))])]):_c('div',{staticClass:\"cards-list\"},[_c('ul',_vm._l((_vm.items),function(item){return _c('li',{key:item.nid},[_c('ArticleCard',{attrs:{\"item\":item}})],1)}),0),_vm._v(\" \"),_c('infinite-loading',{on:{\"infinite\":_vm.nextPage}},[_c('div',{attrs:{\"slot\":\"no-more\"},slot:\"no-more\"},[_vm._v(\"No more articles\")])])],1)])\n}\nvar staticRenderFns = []\nrender._withStripped = true\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('article',{staticClass:\"card article\"},[_c('header',[_c('h1',[_c('a',{attrs:{\"href\":_vm.item.view_node},domProps:{\"innerHTML\":_vm._s(_vm.item.title)},on:{\"click\":function($event){$event.preventDefault();return _vm.onclick.apply(null, arguments)}}})]),_vm._v(\" \"),_c('aside',{domProps:{\"innerHTML\":_vm._s(_vm.item.created)}})]),_vm._v(\" \"),_c('section',{staticClass:\"images\"},[_c('a',{attrs:{\"href\":_vm.item.view_node},on:{\"click\":function($event){$event.preventDefault();return _vm.onclick.apply(null, arguments)}}},[_c('figure',{domProps:{\"innerHTML\":_vm._s(_vm.item.field_visuel)}})])])])\n}\nvar staticRenderFns = []\nrender._withStripped = true\nexport { render, staticRenderFns }","<template>\n <article class=\"card article\">\n <header>\n <h1>\n <a\n :href=\"item.view_node\"\n @click.prevent=\"onclick\"\n v-html=\"item.title\"\n ></a>\n </h1>\n <aside v-html=\"item.created\"></aside>\n <!-- <h4 class=\"body\" v-html=\"item.body\"></h4> -->\n </header>\n <section class=\"images\">\n <a\n :href=\"item.view_node\"\n @click.prevent=\"onclick\"\n >\n <figure v-html=\"item.field_visuel\"/>\n </a>\n </section>\n </article>\n</template>\n\n<script>\n// import JSONAPI from 'vuejs/api/json-axios'\nimport router from 'vuejs/route'\n\nlet basePath = drupalSettings.path.baseUrl + drupalSettings.path.pathPrefix;\n\nexport default {\n name: \"ArticleCard\",\n router,\n props: ['item'],\n data(){\n return {\n alias: this.item.view_node.replace(/^.*\\/blabla\\//g, '')\n }\n },\n methods:{\n onclick(){\n console.log('clicked on article', this.alias)\n this.$router.push({\n name:`article`,\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!./ArticleCard.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArticleCard.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ArticleCard.vue?vue&type=template&id=fe8f9ebc&scoped=true\"\nimport script from \"./ArticleCard.vue?vue&type=script&lang=js\"\nexport * from \"./ArticleCard.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 \"fe8f9ebc\",\n null\n \n)\n\nexport default component.exports","<template>\n <div id=\"blabla\">\n <div class=\"loading\" v-if=\"!items.length\">\n <span>{{ $t('default.Loading…') }}</span>\n </div>\n <div class=\"cards-list\" v-else>\n <ul>\n <li v-for=\"item in items\" v-bind:key=\"item.nid\">\n <ArticleCard :item=\"item\"/>\n </li>\n </ul>\n <infinite-loading @infinite=\"nextPage\">\n <div slot=\"no-more\">No more articles</div>\n </infinite-loading>\n </div>\n </div>\n</template>\n\n<script>\n\nimport ArticleCard from 'vuejs/components/Content/ArticleCard'\nimport { mapState, mapActions } from 'vuex'\n\nexport default {\n name: \"Blabla\",\n // data() {\n // return {\n // items:[],\n // page:0\n // }\n // },\n computed: {\n ...mapState({\n items: state => state.Blabla.items\n })\n },\n created(){\n if(!this.items.length)\n this.getItems()\n },\n methods: {\n ...mapActions({\n getItems: 'Blabla/getItems',\n nextPage: 'Blabla/nextPage'\n })\n },\n components: {\n ArticleCard\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n</style>\n","import mod from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Blabla.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Blabla.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Blabla.vue?vue&type=template&id=25cf586c&scoped=true\"\nimport script from \"./Blabla.vue?vue&type=script&lang=js\"\nexport * from \"./Blabla.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 \"25cf586c\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","attrs","items","length","staticClass","_l","item","key","nid","_v","on","nextPage","slot","_s","$t","_withStripped","view_node","domProps","title","$event","preventDefault","onclick","apply","arguments","created","field_visuel","drupalSettings","path","baseUrl","pathPrefix","name","router","props","data","alias","replace","methods","$router","push","params","id","computed","state","Blabla","getItems","components","ArticleCard"],"sourceRoot":""}