2 lines
2.3 KiB
JavaScript
2 lines
2.3 KiB
JavaScript
try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e4c6e1ee-2f75-4ffc-a56b-5e573fa774bc",e._sentryDebugIdIdentifier="sentry-dbid-e4c6e1ee-2f75-4ffc-a56b-5e573fa774bc")}catch(e){}(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[562],{4829:(e,t,i)=>{i.r(t),i.d(t,{default:()=>f});var a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"blabla"}},[e.items.length?t("div",{staticClass:"cards-list"},[t("ul",e._l(e.items,(function(e){return t("li",{key:e.nid},[t("ArticleCard",{attrs:{item:e}})],1)})),0),e._v(" "),t("infinite-loading",{on:{infinite:e.nextPage}},[t("div",{attrs:{slot:"no-more"},slot:"no-more"},[e._v("No more articles")])])],1):t("div",{staticClass:"loading"},[t("span",[e._v(e._s(e.$t("default.Loading…")))])])])};a._withStripped=!0;var s=function(){var e=this,t=e._self._c;return t("article",{staticClass:"card article"},[t("header",[t("h1",[t("a",{attrs:{href:e.item.view_node},domProps:{innerHTML:e._s(e.item.title)},on:{click:function(t){return t.preventDefault(),e.onclick.apply(null,arguments)}}})]),e._v(" "),t("aside",{domProps:{innerHTML:e._s(e.item.created)}})]),e._v(" "),t("section",{staticClass:"images"},[t("a",{attrs:{href:e.item.view_node},on:{click:function(t){return t.preventDefault(),e.onclick.apply(null,arguments)}}},[t("figure",{domProps:{innerHTML:e._s(e.item.field_visuel)}})])])])};s._withStripped=!0;var n=i(3611);drupalSettings.path.baseUrl,drupalSettings.path.pathPrefix;const l={name:"ArticleCard",router:n.A,props:["item"],data(){return{alias:this.item.view_node.replace(/^.*\/blabla\//g,"")}},methods:{onclick(){this.alias,this.$router.push({name:"article",params:{alias:this.alias,id:this.item.nid}})}}};var r=i(4486);const o=(0,r.A)(l,s,[],!1,null,"fe8f9ebc",null).exports;var c=i(5353);const d={name:"Blabla",computed:{...(0,c.aH)({items:e=>e.Blabla.items})},created(){this.items.length||this.getItems()},methods:{...(0,c.i0)({getItems:"Blabla/getItems",nextPage:"Blabla/nextPage"})},components:{ArticleCard:o}};const f=(0,r.A)(d,a,[],!1,null,"25cf586c",null).exports}}]);
|
|
//# sourceMappingURL=module-blabla.02d7d2034e7287bc9e40.bundle.js.map
|