changed release
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
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]="72f3c587-ad9c-4b1a-9607-db9a194a9c9a",e._sentryDebugIdIdentifier="sentry-dbid-72f3c587-ad9c-4b1a-9607-db9a194a9c9a")}catch(e){}(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[574],{844:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var n=function(){var e=this,t=e._self._c;return!e.article||e.loading?t("div",{staticClass:"loading"},[t("span",[e._v(e._s(e.$t("default.Loading…")))])]):t("article",{staticClass:"article"},[t("nav",{staticClass:"prevnext top"},[t("ul",[t("li",[e.prevnext.prev?t("a",{attrs:{href:e.prevnext.prev.view_node},domProps:{innerHTML:e._s(e.prevnext.prev.title)},on:{click:function(t){return t.preventDefault(),e.onPrevNext(e.prevnext.prev)}}}):e._e()]),e._v(" "),t("li",[e.prevnext.next?t("a",{attrs:{href:e.prevnext.next.view_node},domProps:{innerHTML:e._s(e.prevnext.next.title)},on:{click:function(t){return t.preventDefault(),e.onPrevNext(e.prevnext.next)}}}):e._e()])])]),e._v(" "),t("div",{staticClass:"cols"},[t("div",{staticClass:"col col-left"},[e.image_accroche?t("section",{staticClass:"accroche"},[t("figure",[t("img",{attrs:{src:e.image_accroche.url,alt:e.image_accroche.alt,title:e.image_accroche.title},on:{click:function(t){return e.setLightBox(0)}}})])]):e._e(),e._v(" "),e.article.showroom?t("section",{staticClass:"showroom"},[t("h2",[e._v(e._s(e.article.showroom.name))]),e._v(" "),t("a",{staticClass:"mail",attrs:{href:"mail:"+e.article.showroom.field_public_email}},[e._v("\n "+e._s(e.article.showroom.field_public_email))]),e._v(" "),t("br"),e._v(" "),t("a",{staticClass:"phone",attrs:{href:"tel:"+e.article.showroom.field_public_phone}},[e._v("\n "+e._s(e.article.showroom.field_public_phone))])]):e._e()]),e._v(" "),t("div",{staticClass:"col col-right"},[t("section",{staticClass:"body",domProps:{innerHTML:e._s(e.article.body)}}),e._v(" "),t("div",{staticClass:"gallery-wrapper"},e._l(e.lightbox_items,(function(i,n){return n>0?t("div",{key:n,staticClass:"image",style:{backgroundImage:"url("+i.thumb+")"},on:{click:function(t){return e.setLightBox(n)}}}):e._e()})),0),e._v(" "),t("aside",{staticClass:"linked-materials"},[t("h3",{staticClass:"field__label"},[e._v(e._s(e.$t("materio.Linked Materials")))]),e._v(" "),t("div",{staticClass:"cards-list"},[t("ul",{},e._l(e.article.linked_materials,(function(e){return t("li",{key:e.id},[t("Card",{attrs:{item:e}})],1)})),0)])])])]),e._v(" "),t("nav",{staticClass:"prevnext bottom"},[t("ul",[t("li",[e.prevnext.prev?t("a",{attrs:{href:e.prevnext.prev.view_node},domProps:{innerHTML:e._s(e.prevnext.prev.title)},on:{click:function(t){return t.preventDefault(),e.onPrevNext(e.prevnext.prev)}}}):e._e()]),e._v(" "),t("li",[e.prevnext.next?t("a",{attrs:{href:e.prevnext.next.view_node},domProps:{innerHTML:e._s(e.prevnext.next.title)},on:{click:function(t){return t.preventDefault(),e.onPrevNext(e.prevnext.next)}}}):e._e()])])])])};n._withStripped=!0;var a=i(3611),s=i(6875),l=i(6691),r=i(585),d=i(2087),o=i(3581),c=i.n(o),m=i(4951),u=i(5353);const v={name:"Article",router:a.A,store:s.A,props:["item"],data:()=>({index:-1,prevnext:{},nid:null,path:null,article:{},image_accroche:null,lightbox_items:null,loading:!0,lightbox_index:null}),metaInfo(){return{title:this.article.title}},computed:{...(0,u.aH)({items:e=>e.Blabla.items,coolLightBoxItems:e=>e.Common.coolLightBoxItems,coolLightBoxIndex:e=>e.Common.coolLightBoxIndex})},created(){this.getArticle()},methods:{...(0,u.i0)({getItems:"Blabla/getItems",getItemIndex:"Blabla/getItemIndex",getPrevNextItems:"Blabla/getPrevNextItems",setcoolLightBoxItems:"Common/setcoolLightBoxItems",setcoolLightBoxIndex:"Common/setcoolLightBoxIndex"}),getArticle(){this.$route,this.$route.params.id?this.id=this.$route.params.id:"node"==drupalDecoupled.entity_type&&"article"==drupalDecoupled.entity_bundle&&(this.id=drupalDecoupled.entity_id),this.id?this.loadArticle():this.$router.replace({name:"home"})},getIndex(){this.article.id,this.getItemIndex(this.article.id).then((e=>{this.index=e,this.getPrevNextItems(e).then((e=>{this.prevnext=e}))}))},loadArticle(){this.loading=!0;const e=d.Ay`{
|
||||
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]="72f3c587-ad9c-4b1a-9607-db9a194a9c9a",e._sentryDebugIdIdentifier="sentry-dbid-72f3c587-ad9c-4b1a-9607-db9a194a9c9a")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"materio-10.3.6"};(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[574],{844:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>g});var n=function(){var e=this,t=e._self._c;return!e.article||e.loading?t("div",{staticClass:"loading"},[t("span",[e._v(e._s(e.$t("default.Loading…")))])]):t("article",{staticClass:"article"},[t("nav",{staticClass:"prevnext top"},[t("ul",[t("li",[e.prevnext.prev?t("a",{attrs:{href:e.prevnext.prev.view_node},domProps:{innerHTML:e._s(e.prevnext.prev.title)},on:{click:function(t){return t.preventDefault(),e.onPrevNext(e.prevnext.prev)}}}):e._e()]),e._v(" "),t("li",[e.prevnext.next?t("a",{attrs:{href:e.prevnext.next.view_node},domProps:{innerHTML:e._s(e.prevnext.next.title)},on:{click:function(t){return t.preventDefault(),e.onPrevNext(e.prevnext.next)}}}):e._e()])])]),e._v(" "),t("div",{staticClass:"cols"},[t("div",{staticClass:"col col-left"},[e.image_accroche?t("section",{staticClass:"accroche"},[t("figure",[t("img",{attrs:{src:e.image_accroche.url,alt:e.image_accroche.alt,title:e.image_accroche.title},on:{click:function(t){return e.setLightBox(0)}}})])]):e._e(),e._v(" "),e.article.showroom?t("section",{staticClass:"showroom"},[t("h2",[e._v(e._s(e.article.showroom.name))]),e._v(" "),t("a",{staticClass:"mail",attrs:{href:"mail:"+e.article.showroom.field_public_email}},[e._v("\n "+e._s(e.article.showroom.field_public_email))]),e._v(" "),t("br"),e._v(" "),t("a",{staticClass:"phone",attrs:{href:"tel:"+e.article.showroom.field_public_phone}},[e._v("\n "+e._s(e.article.showroom.field_public_phone))])]):e._e()]),e._v(" "),t("div",{staticClass:"col col-right"},[t("section",{staticClass:"body",domProps:{innerHTML:e._s(e.article.body)}}),e._v(" "),t("div",{staticClass:"gallery-wrapper"},e._l(e.lightbox_items,(function(i,n){return n>0?t("div",{key:n,staticClass:"image",style:{backgroundImage:"url("+i.thumb+")"},on:{click:function(t){return e.setLightBox(n)}}}):e._e()})),0),e._v(" "),t("aside",{staticClass:"linked-materials"},[t("h3",{staticClass:"field__label"},[e._v(e._s(e.$t("materio.Linked Materials")))]),e._v(" "),t("div",{staticClass:"cards-list"},[t("ul",{},e._l(e.article.linked_materials,(function(e){return t("li",{key:e.id},[t("Card",{attrs:{item:e}})],1)})),0)])])])]),e._v(" "),t("nav",{staticClass:"prevnext bottom"},[t("ul",[t("li",[e.prevnext.prev?t("a",{attrs:{href:e.prevnext.prev.view_node},domProps:{innerHTML:e._s(e.prevnext.prev.title)},on:{click:function(t){return t.preventDefault(),e.onPrevNext(e.prevnext.prev)}}}):e._e()]),e._v(" "),t("li",[e.prevnext.next?t("a",{attrs:{href:e.prevnext.next.view_node},domProps:{innerHTML:e._s(e.prevnext.next.title)},on:{click:function(t){return t.preventDefault(),e.onPrevNext(e.prevnext.next)}}}):e._e()])])])])};n._withStripped=!0;var a=i(3611),s=i(6875),l=i(6691),r=i(585),d=i(2087),o=i(3581),c=i.n(o),m=i(4951),u=i(5353);const v={name:"Article",router:a.A,store:s.A,props:["item"],data:()=>({index:-1,prevnext:{},nid:null,path:null,article:{},image_accroche:null,lightbox_items:null,loading:!0,lightbox_index:null}),metaInfo(){return{title:this.article.title}},computed:{...(0,u.aH)({items:e=>e.Blabla.items,coolLightBoxItems:e=>e.Common.coolLightBoxItems,coolLightBoxIndex:e=>e.Common.coolLightBoxIndex})},created(){this.getArticle()},methods:{...(0,u.i0)({getItems:"Blabla/getItems",getItemIndex:"Blabla/getItemIndex",getPrevNextItems:"Blabla/getPrevNextItems",setcoolLightBoxItems:"Common/setcoolLightBoxItems",setcoolLightBoxIndex:"Common/setcoolLightBoxIndex"}),getArticle(){this.$route,this.$route.params.id?this.id=this.$route.params.id:"node"==drupalDecoupled.entity_type&&"article"==drupalDecoupled.entity_bundle&&(this.id=drupalDecoupled.entity_id),this.id?this.loadArticle():this.$router.replace({name:"home"})},getIndex(){this.article.id,this.getItemIndex(this.article.id).then((e=>{this.index=e,this.getPrevNextItems(e).then((e=>{this.prevnext=e}))}))},loadArticle(){this.loading=!0;const e=d.Ay`{
|
||||
article(id: ${this.id}, lang: "${drupalDecoupled.lang_code}") {
|
||||
...ArticleFields
|
||||
}
|
||||
|
Reference in New Issue
Block a user