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

1 line
11 KiB
Plaintext

{"version":3,"file":"module-showrooms.fb77eff450cf89bb2f43.bundle.js","mappings":"gqBAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,cAAc,CAAGJ,EAAIK,MAAMC,OAAoGN,EAAIO,GAAIP,EAAS,OAAE,SAASQ,GAAM,OAAON,EAAG,WAAW,CAACO,IAAID,EAAKE,KAAKN,MAAM,CAAC,KAAOI,IAAO,IAAvLN,EAAG,MAAM,CAACS,YAAY,WAAW,CAACT,EAAG,OAAO,CAACF,EAAIY,GAAGZ,EAAIa,GAAGb,EAAIc,GAAG,2BAAyH,EACvT,EAEAf,EAAOgB,eAAgB,ECHvB,IAAI,EAAS,WAAkB,IAAIf,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,UAAU,CAACS,YAAY,YAAY,CAACT,EAAG,UAAU,CAACc,WAAW,CAAC,CAACC,KAAK,WAAWC,QAAQ,eAAeP,YAAY,UAAUX,EAAIO,GAAIP,EAAIQ,KAAW,QAAE,SAASW,EAAIC,GAAO,OAAOlB,EAAG,SAAS,CAACc,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASG,MAAM,EAAQC,WAAW,UAAUb,IAAIU,EAAII,IAAIZ,YAAY,QAAQ,CAACT,EAAG,MAAM,CAACE,MAAM,CAAC,WAAWe,EAAIK,mBAAmBD,KAAKE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAO1B,EAAI2B,YAAYP,EAAM,MAAM,IAAG,GAAGpB,EAAIY,GAAG,KAAKV,EAAG,UAAU,CAACS,YAAY,WAAW,CAACT,EAAG,SAAS,CAACA,EAAG,KAAK,CAACF,EAAIY,GAAGZ,EAAIa,GAAGb,EAAI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AAGZ,EAAIa,GAAGb,EAAIQ,KAAK+B,QAAQC,eAChhD,EAEA,EAAOzB,eAAgB,E,kCC0CR0B,eAAeC,KAAKC,QAAUF,eAAeC,KAAKE,WAEjE,MC/C0I,ED+C1I,CACE3B,KAAM,WACN4B,OAAM,IACNC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAAC,QAMRC,SAAU,KACL,QAAS,CACVC,kBAAmBC,GAASA,EAAMC,OAAOF,kBACzCG,kBAAmBF,GAASA,EAAMC,OAAOC,qBAG7CC,QAAQ,KACH,QAAW,CACZC,qBAAsB,8BACtBC,qBAAsB,gCAExB,WAAA7B,CAAaP,GACXnB,KAAKsD,qBAAqBtD,KAAKO,KAAKiD,QACpCxD,KAAKuD,qBAAqBpC,EAC5B,I,cErDJ,SAXgB,OACd,EACA,EHPoB,IGSpB,EACA,KACA,WACA,MAI8B,QClB2G,ECmB3I,CACEH,KAAM,YAONgC,SAAU,KACL,QAAS,CACV5C,MAAO8C,GAASA,EAAMO,UAAUrD,SAGpC,OAAAsD,GACM1D,KAAKI,MAAMC,QACbL,KAAK2D,cACT,EACAN,QAAS,KACJ,QAAW,CACZM,aAAc,4BAGlBC,WAAY,CACVC,SAAQ,ICxBZ,SAXgB,OACd,EACA/D,EPPoB,IOSpB,EACA,KACA,WACA,MAI8B,O","sources":["webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Showrooms.vue?465a","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue?f9ae","webpack://materio.com/web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue?9189","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Showrooms.vue?af6e","webpack://materio.com/web/themes/custom/materiotheme/vuejs/components/Pages/Showrooms.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Showrooms.vue"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"showrooms\"}},[(!_vm.items.length)?_c('div',{staticClass:\"loading\"},[_c('span',[_vm._v(_vm._s(_vm.$t('default.Loading…')))])]):_vm._l((_vm.items),function(item){return _c('Showroom',{key:item.uuid,attrs:{\"item\":item}})})],2)\n}\nvar staticRenderFns = []\nrender._withStripped = true\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('article',{staticClass:\"showroom\"},[_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_showroomhome.url},on:{\"click\":function($event){return _vm.setLightBox(index)}}})])}),0),_vm._v(\" \"),_c('section',{staticClass:\"content\"},[_c('header',[_c('h1',[_vm._v(_vm._s(_vm.item.name))])]),_vm._v(\" \"),_c('section',{staticClass:\"description\",domProps:{\"innerHTML\":_vm._s(_vm.item.description)}}),_vm._v(\" \"),_c('address',[(_vm.item.address.organization)?_c('span',[_vm._v(_vm._s(_vm.item.address.organization)),_c('br')]):_vm._e(),_vm._v(\" \"),(_vm.item.address.address_line1)?_c('span',[_vm._v(_vm._s(_vm.item.address.address_line1)),_c('br')]):_vm._e(),_vm._v(\" \"),(_vm.item.address.locality)?_c('span',[_vm._v(_vm._s(_vm.item.address.locality)),_c('br')]):_vm._e(),_vm._v(\" \"),(_vm.item.country.country_name)?_c('span',[_vm._v(_vm._s(_vm.item.country.country_name))]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"phone\",domProps:{\"innerHTML\":_vm._s(_vm.item.phone)}}),_vm._v(\" \"),_c('a',{staticClass:\"email\",attrs:{\"href\":'mailto:'+_vm.item.email},domProps:{\"innerHTML\":_vm._s(_vm.item.email)}}),_vm._v(\" \"),_c('div',{staticClass:\"website\"},[_c('a',{attrs:{\"_target\":\"_blank\",\"href\":_vm.item.website.url}},[_vm._v(_vm._s(_vm.item.website.title))])])])])\n}\nvar staticRenderFns = []\nrender._withStripped = true\nexport { render, staticRenderFns }","<template>\n <article class=\"showroom\">\n <section class=\"images\" v-switcher>\n \n <!-- <figure v-html=\"item.field_visuels\"></figure> -->\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_showroomhome.url\"\n @click=\"setLightBox(index)\"\n />\n </figure>\n </section>\n <section class=\"content\">\n <header>\n <h1>{{item.name}}</h1>\n </header>\n <section class=\"description\" v-html=\"item.description\" />\n <address>\n <span v-if=\"item.address.organization\">{{ item.address.organization }}</br></span> \n <span v-if=\"item.address.address_line1\">{{ item.address.address_line1 }}</br></span> \n <span v-if=\"item.address.locality\">{{ item.address.locality }}</br></span> \n <span v-if=\"item.country.country_name\">{{ item.country.country_name }}</span>\n </address>\n <div class=\"phone\" v-html=\"item.phone\" />\n <a class=\"email\" :href=\"'mailto:'+item.email\" v-html=\"item.email\" />\n <div class=\"website\">\n <a _target=\"_blank\" :href=\"item.website.url\">{{ item.website.title }}</a>\n </div>\n </section>\n </article>\n</template>\n\n<script>\nimport { mapState, mapActions } from 'vuex'\n\n// import JSONAPI from 'vuejs/api/json-axios'\nimport router from 'vuejs/route'\n\nimport cardMixins from 'vuejs/components/cardMixins'\n\nlet basePath = drupalSettings.path.baseUrl + drupalSettings.path.pathPrefix;\n\nexport default {\n name: \"Showroom\",\n router,\n mixins: [cardMixins],\n props: ['item'],\n // data(){\n // return {\n // alias: this.item.view_node.replace(/^.?\\/showroom\\//g, '')\n // }\n // },\n computed: {\n ...mapState({\n coolLightBoxItems: state => state.Common.coolLightBoxItems,\n coolLightBoxIndex: state => state.Common.coolLightBoxIndex\n }),\n },\n methods:{\n ...mapActions({\n setcoolLightBoxItems: 'Common/setcoolLightBoxItems',\n setcoolLightBoxIndex: 'Common/setcoolLightBoxIndex'\n }),\n setLightBox (index) {\n this.setcoolLightBoxItems(this.item.images)\n this.setcoolLightBoxIndex(index)\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!./Showroom.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Showroom.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Showroom.vue?vue&type=template&id=582a0cbe&scoped=true\"\nimport script from \"./Showroom.vue?vue&type=script&lang=js\"\nexport * from \"./Showroom.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 \"582a0cbe\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Showrooms.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Showrooms.vue?vue&type=script&lang=js\"","<template>\n <div id=\"showrooms\">\n <div class=\"loading\" v-if=\"!items.length\">\n <span>{{ $t('default.Loading…') }}</span>\n </div>\n <Showroom\n v-else\n v-for=\"item in items\"\n v-bind:key=\"item.uuid\"\n :item=\"item\"\n />\n </div>\n</template>\n\n<script>\n\nimport Showroom from 'vuejs/components/Content/Showroom'\nimport { mapState, mapActions } from 'vuex'\n\nexport default {\n name: 'Showrooms',\n // data() {\n // return {\n // items:[],\n // page:0\n // }\n // },\n computed: {\n ...mapState({\n items: state => state.Showrooms.items\n })\n },\n created(){\n if(!this.items.length)\n this.getShowrooms()\n },\n methods: {\n ...mapActions({\n getShowrooms: 'Showrooms/getShowrooms'\n })\n },\n components: {\n Showroom\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n</style>\n","import { render, staticRenderFns } from \"./Showrooms.vue?vue&type=template&id=5891e183&scoped=true\"\nimport script from \"./Showrooms.vue?vue&type=script&lang=js\"\nexport * from \"./Showrooms.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 \"5891e183\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","attrs","items","length","_l","item","key","uuid","staticClass","_v","_s","$t","_withStripped","directives","name","rawName","img","index","value","expression","url","style_showroomhome","on","$event","setLightBox","domProps","description","address","organization","_e","address_line1","locality","country","country_name","phone","email","website","title","drupalSettings","path","baseUrl","pathPrefix","router","mixins","cardMixins","props","computed","coolLightBoxItems","state","Common","coolLightBoxIndex","methods","setcoolLightBoxItems","setcoolLightBoxIndex","images","Showrooms","created","getShowrooms","components","Showroom"],"sourceRoot":""}