1 line
2.6 KiB
JavaScript
1 line
2.6 KiB
JavaScript
"use strict";(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[413],{7556:(t,e,s)=>{s.r(e),s.d(e,{default:()=>h});var o=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"showrooms"}},[t.items.length?t._l(t.items,(function(t){return e("Showroom",{key:t.uuid,attrs:{item:t}})})):e("div",{staticClass:"loading"},[e("span",[t._v(t._s(t.$t("default.Loading…")))])])],2)};o._withStripped=!0;var i=function(){var t=this,e=t._self._c;return e("article",{staticClass:"showroom"},[e("section",{directives:[{name:"switcher",rawName:"v-switcher"}],staticClass:"images"},t._l(t.item.images,(function(s,o){return e("figure",{directives:[{name:"lazy",rawName:"v-lazy",value:o,expression:"index"}],key:s.url,staticClass:"lazy"},[e("img",{attrs:{"data-src":s.style_showroomhome.url},on:{click:function(e){return t.setLightBox(o)}}})])})),0),t._v(" "),e("section",{staticClass:"content"},[e("header",[e("h1",[t._v(t._s(t.item.name))])]),t._v(" "),e("section",{staticClass:"description",domProps:{innerHTML:t._s(t.item.description)}}),t._v(" "),e("address",[t.item.address.organization?e("span",[t._v(t._s(t.item.address.organization)),e("br")]):t._e(),t._v(" "),t.item.address.address_line1?e("span",[t._v(t._s(t.item.address.address_line1)),e("br")]):t._e(),t._v(" "),t.item.address.locality?e("span",[t._v(t._s(t.item.address.locality)),e("br")]):t._e(),t._v(" "),t.item.country.country_name?e("span",[t._v(t._s(t.item.country.country_name))]):t._e()]),t._v(" "),e("div",{staticClass:"phone",domProps:{innerHTML:t._s(t.item.phone)}}),t._v(" "),e("a",{staticClass:"email",attrs:{href:"mailto:"+t.item.email},domProps:{innerHTML:t._s(t.item.email)}}),t._v(" "),e("div",{staticClass:"website"},[e("a",{attrs:{_target:"_blank",href:t.item.website.url}},[t._v(t._s(t.item.website.title))])])])])};i._withStripped=!0;var a=s(5353),r=s(3611),n=s(9811);drupalSettings.path.baseUrl,drupalSettings.path.pathPrefix;const m={name:"Showroom",router:r.A,mixins:[n.A],props:["item"],computed:{...(0,a.aH)({coolLightBoxItems:t=>t.Common.coolLightBoxItems,coolLightBoxIndex:t=>t.Common.coolLightBoxIndex})},methods:{...(0,a.i0)({setcoolLightBoxItems:"Common/setcoolLightBoxItems",setcoolLightBoxIndex:"Common/setcoolLightBoxIndex"}),setLightBox(t){this.setcoolLightBoxItems(this.item.images),this.setcoolLightBoxIndex(t)}}};var l=s(4486);const c=(0,l.A)(m,i,[],!1,null,"582a0cbe",null).exports,d={name:"Showrooms",computed:{...(0,a.aH)({items:t=>t.Showrooms.items})},created(){this.items.length||this.getShowrooms()},methods:{...(0,a.i0)({getShowrooms:"Showrooms/getShowrooms"})},components:{Showroom:c}};const h=(0,l.A)(d,o,[],!1,null,"5891e183",null).exports}}]); |