@assaabloy/amarr-wc-carousel 2.0.13 → 2.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/carousel.js +1 -1
- package/package.json +2 -2
package/carousel.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){function t(t){for(var a,o,d=t[0],c=t[1],l=t[2],p=0,m=[];p<d.length;p++)o=d[p],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&m.push(i[o][0]),i[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(s&&s(t);m.length;)m.shift()();return r.push.apply(r,l||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,d=1;d<n.length;d++){var c=n[d];0!==i[c]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},i={6:0},r=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=t,d=d.slice();for(var l=0;l<d.length;l++)t(d[l]);var s=c;r.push([467,0]),n()}({0:function(e,t){e.exports=React},1:function(e,t,n){"use strict";n.d(t,"g",(function(){return i})),n.d(t,"T",(function(){return r})),n.d(t,"i",(function(){return o})),n.d(t,"C",(function(){return d})),n.d(t,"F",(function(){return c})),n.d(t,"u",(function(){return l})),n.d(t,"A",(function(){return s})),n.d(t,"n",(function(){return p})),n.d(t,"q",(function(){return m})),n.d(t,"H",(function(){return u})),n.d(t,"G",(function(){return x})),n.d(t,"O",(function(){return h})),n.d(t,"D",(function(){return f})),n.d(t,"t",(function(){return g})),n.d(t,"h",(function(){return w})),n.d(t,"s",(function(){return b})),n.d(t,"x",(function(){return v})),n.d(t,"v",(function(){return y})),n.d(t,"B",(function(){return E})),n.d(t,"r",(function(){return k})),n.d(t,"P",(function(){return N})),n.d(t,"p",(function(){return S})),n.d(t,"I",(function(){return z})),n.d(t,"E",(function(){return A})),n.d(t,"Q",(function(){return j})),n.d(t,"l",(function(){return _})),n.d(t,"j",(function(){return T})),n.d(t,"m",(function(){return C})),n.d(t,"k",(function(){return D})),n.d(t,"y",(function(){return H})),n.d(t,"K",(function(){return M})),n.d(t,"w",(function(){return Z})),n.d(t,"R",(function(){return P})),n.d(t,"S",(function(){return $})),n.d(t,"b",(function(){return L})),n.d(t,"N",(function(){return U})),n.d(t,"z",(function(){return B})),n.d(t,"a",(function(){return R})),n.d(t,"d",(function(){return F})),n.d(t,"f",(function(){return J})),n.d(t,"e",(function(){return W})),n.d(t,"V",(function(){return G})),n.d(t,"c",(function(){return q})),n.d(t,"U",(function(){return V})),n.d(t,"J",(function(){return K})),n.d(t,"L",(function(){return Q})),n.d(t,"M",(function(){return X})),n.d(t,"o",(function(){return Y}));var a=n(3),i=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},r=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return e.toUpperCase()},d=function(e){return e.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),l=new a.a(!1),s=new a.a(!1),p=new a.a(!1),m=new a.a(""),u=new a.a(!1),x=new a.a(!1),h=new a.a(!1),f=new a.a(!1),g=new a.a(!1),w=new a.a(!1),b=new a.a(""),v=new a.a(!0),y=new a.a(!0),E=new a.a(!0),k=new a.a(!0),N=new a.a(!0),S=new a.a(!0),z=new a.a({}),O=new a.a(!1),I=0,A=new a.a(!1),j=new a.a(""),_=new a.a(""),T=new a.a(""),C=new a.a(""),D=new a.a(""),H=new a.a(""),M=new a.a(""),Z=new a.a(!1),P=new a.a(!1),$=new a.a(!1),L=function(){setTimeout((function(){I++,O.next(!0)}),0)},U=function(){setTimeout((function(){I>0&&I--,0==I&&O.next(!1)}),0)},B=function(){return O.asObservable()},R=function(e){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},F=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},J=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},W=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},G=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},q=function(e){return/^[0-9]*$/.test(e)},V=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},K=function(e){if(e&&""!==e&&-1===e.indexOf("(")&&-1===e.indexOf(") ")&&-1===e.indexOf("-")){return"("+e.substring(0,3)+") "+e.substring(3,6)+"-"+e.substring(6,e.length)}return e},Q=function(e){return e&&(e=e.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==e&&"0"!==e||(e=e.toFixed(2)),e},X=function(e,t){return e=e?Number(e):0,(0===(t=t?Number(t):0)||"0"===t?0:(e-t)/t*100).toFixed(2)},Y=function(e){var t={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:e.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:e.selectedHeight,glass:e.selectedGlass,collection:e.selectedCollection,print:!0,baseUrl:"",gplacement:e.selectedWindowPlacement,width:e.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return e.selectedColor&&(t.color=e.selectedColor),e.colorHex&&(t.colorHex=e.colorHex),e.colorZone&&(t.colorZone=e.colorZone),e.selectedConstruction&&(t.model=e.selectedConstruction),e.selectedWindowDesign&&(t.top=e.selectedWindowDesign),e.glazepattern&&(t.glazepattern=e.glazepattern),e.selectedHardware&&(t.hardware=e.selectedHardware),t}},17:function(e,t){e.exports=ReactDOM},376:function(e,t,n){"use strict";n.r(t);var a=n(13),i=n(74);t.default=a.a.create({component:i.a,configuration:{tagname:"amarr-carousel",useShadow:!1},plugins:[]})},5:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var a=n(22),i=n(0),r=n.n(i),o=n(4),d=o.default.div.withConfig({displayName:"styles__View",componentId:"sc-1jt3i0i-0"})([""]),c=o.default.button.withConfig({displayName:"styles__Button",componentId:"sc-1jt3i0i-1"})(['font-size:12px;font-family:"Open Sans";font-weight:600;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:center;color:#fff;padding:12px 19px 12px 20px;border-radius:4px;background-color:#006166;box-shadow:none;border:none;transition:all ease 300ms;&:hover{transform:scale(1.1);background-color:#338084;color:#fff;}&:focus{transform:scale(1);box-shadow:none !important;background-color:#004347;}&:active{background-color:#006166 !important;box-shadow:none !important;transform:scale(1);border:none !important;}&.btn-inverse{color:#333333;background:#b2cfd1;&:hover{background:#8EB8BB;}&:focus{background:#8EA5A7;border:none;transform:scale(1);box-shadow:none !important;}&:active{background-color:#8EA5A7 !important;border:none !important;transform:scale(1.1);box-shadow:none !important;}}@media(min-width:1201px){font-size:16px;}.button-icon{vertical-align:top;padding-right:8px;}']),l=n(19),s=n(18),p=function(e){var t=e.label,n=void 0===t?"label":t,i=e.classStyle,o=void 0===i?"default":i,p=e.link,m=void 0!==p&&p,u=e.disabled,x=void 0!==u&&u,h=e.datatoggle,f=void 0===h?"":h,g=e.datatarget,w=void 0===g?"":g,b=e.linkHref,v=e.target,y=void 0===v?"_self":v,E=e.downloadLink,k=void 0!==E&&E,N=e.inverse,S=void 0!==N&&N,z=e.icon,O=void 0===z?"":z,I=e.iconAlt,A=void 0===I?"":I,j=e.dataItemName,_=void 0===j?"":j,T=e.id,C=void 0===T?"":T,D=e.type,H=void 0===D?"button":D,M=e.showDisabledMessage,Z=void 0===M?"":M,P=Object(a.a)(e,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage"]);return r.a.createElement(d,null,r.a.createElement("div",{className:"".concat(x&&Z&&"disabled-button-parent")},m?r.a.createElement("a",{href:b,download:k,target:y,"data-item-name":_,id:C},r.a.createElement(c,Object.assign({disabled:x,classStyle:"".concat(o)},P,{type:H,className:S?"btn-inverse btn btn-success":"btn btn-success"}),""!=O?r.a.createElement("div",{"data-toggle":f,"data-target":w},r.a.createElement("img",{className:"button-icon",src:O,alt:A}),r.a.createElement("span",null,n)):r.a.createElement("span",null,n))):r.a.createElement(c,Object.assign({disabled:x,classStyle:o,className:S?"btn-inverse btn btn-success":"btn btn-success",id:C,"data-item-name":_,type:H},P),r.a.createElement("span",null,n)),x&&Z&&r.a.createElement(l.a,{placement:"top",delay:{show:250,hide:250},overlay:r.a.createElement(s.a,{id:"button-tooltip"},r.a.createElement("div",{className:"p-1 amarr-h6"},Z))},r.a.createElement("div",{className:"disabled-button-overlay"}))))}},74:function(e,t,n){"use strict";var a=n(0),i=n.n(a),r=n(4),o=(n(51),n(52),r.default.section.withConfig({displayName:"styles__Content",componentId:"sc-1k0270s-0"})(['.right-structure{.carousel-text{position:absolute;left:auto;right:10%;bottom:20%;}}.carousel{background:#f0f0f0;position:relative;}.slider-dots-center{display:flex;width:100%;justify-content:center;.carousel-indicators-center{display:flex;padding-left:0px !important;}}.slider-dots-wrapper{position:absolute;left:0;bottom:60px;z-index:15;.carousel-indicators{margin:0;position:static;list-style:none;padding-left:22px;li{width:10px;height:10px;border:1px solid #8d8d8d;background-color:#fff;border-radius:50%;box-sizing:border-box;&.active{background-color:#006166;}&:first-child{margin-left:0;}@media screen and (min-width:1200px){width:12px;height:12px;}}}.carousel-inner{@media screen and (min-width:576px and max-width:991px){margin-top:70px;}}}.bxslider-parent{position:relative;margin:0 auto;.bx-pager-item{display:none;}#proprev{position:absolute;left:120px;top:42%;width:72px;cursor:pointer;}#pronext{position:absolute;right:120px;top:42%;width:72px;cursor:pointer;}.bx-wrapper{border:none;box-shadow:none;margin:0 auto 20px;}}@media screen and (max-width:767px){.bxslider-parent{width:100%;#proprev,#pronext{display:none;}.bx-wrapper{margin-bottom:0;li{height:270px;}img{object-fit:cover;min-height:100%;}}}h2.carousel-heading.heading-style-1{font-size:24px;line-height:36px;}.slider-dots-wrapper{bottom:20px;}.carousel-text{button{padding:7px 14px;font-size:14px;}}}@media screen and (min-width:768px){.slider-dots-wrapper{bottom:30px;.carousel-indicators{padding-left:30px;}}.carousel-text{button{padding:9px 15px;font-size:12px;}}.bxslider-parent{#proprev,#pronext{width:42px;}#proprev{left:4%;}#pronext{right:4%;}.bx-wrapper{max-width:calc(100% - 124px)!important;li{width:calc((100vw - 60px - 164px) / 3)!important;height:250px;overflow:hidden;}img{object-fit:cover;min-height:100%;}}}}@media screen and (min-width:992px){.slider-dots-wrapper{bottom:40px;.carousel-indicators{padding-left:60px;}}h2.carousel-heading.heading-style-1{font-size:36px;line-height:54px;}.bxslider-parent{.bx-wrapper{li{height:300px;}}}}@media screen and (min-width:992px) and (max-width:1024px){.slider-dots-wrapper{.carousel-indicators{padding-left:40px;}}}@media screen and (min-width:1281px){.slider-dots-wrapper{.carousel-indicators{padding-left:80px;}}h2.carousel-heading.heading-style-1{font-size:48px;line-height:72px;}.carousel-text{button{padding:9px 18px;font-size:14px;}}.bxslider-parent{#proprev,#pronext{width:60px;}#proprev{left:4%;}#pronext{right:4%;}.bx-wrapper{max-width:calc(100% - 180px)!important;li{width:calc((100vw - 160px - 210px) / 3)!important;height:400px;}}}}@media screen and (min-width:1681px){.slider-dots-wrapper{bottom:60px;.carousel-indicators{padding-left:120px;}}.carousel-text{button{padding:10px 24px;font-size:18px;}}h2.carousel-heading.heading-style-1{font-size:60px;line-height:90px;}.bxslider-parent{.bx-wrapper{max-width:calc(100% - 204px)!important;li{width:calc((100vw - 240px - 204px) / 3)!important;height:540px;}}}}@media screen and (min-width:1921px){.bxslider-parent{.bx-wrapper{li{width:calc(1476px / 3)!important;}}}}.custom-slick-carousel{@media screen and (max-width:767px){margin-bottom:0px;}@media screen and (min-width:768px) and (max-width:991px){margin-bottom:18px;}@media screen and (min-width:992px) and (max-width:1024px){margin-bottom:16px;}@media screen and (min-width:1025px) and (max-width:1280px){margin-bottom:14px;}@media screen and (min-width:1281px) and (max-width:1680px){margin-bottom:8px;}@media screen and (min-width:1681px){margin-bottom:4px;}.slick-track{display:flex !important;gap:1px;@media screen and (min-width:768px){gap:16px;}}.slick-slider{max-width:calc(100% - 120px);@media screen and (min-width:1281px) and (max-width:1680px){max-width:calc(100% - 80px);}@media screen and (min-width:768px) and (max-width:1280px){max-width:calc(100% - 60px);}@media screen and (min-width:992px) and (max-width:1024px){max-width:calc(100% - 40px);}@media screen and (max-width:991px){max-width:calc(100% - 30px);}@media screen and (max-width:767px){max-width:calc(100% - 40px);}}.slick{&-prev{left:-40px;@media screen and (min-width:1681px){left:-60px}@media screen and (min-width:768px) and (max-width:1280px){left:-30px;}@media screen and (min-width:992px) and (max-width:1024px){left:-22px;}@media screen and (max-width:991px){left:-16px;}@media screen and (max-width:767px){left:-20px;}&:before{background-image:url(/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/arrow-left-carousel.svg);}}&-next{right:-40px;@media screen and (min-width:1681px){right:-60px}@media screen and (min-width:768px) and (max-width:1280px){right:-30px;}@media screen and (min-width:992px) and (max-width:1024px){right:-22px;}@media screen and (max-width:991px){right:-16px;}@media screen and (max-width:767px){right:-20px;}&:before{background-image:url(/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/arrow-right-carousel.svg);}}&-prev,&-next{background:#fff;border-radius:50%;z-index:99;&:before{background-size:contain;display:inline-block;width:40px;height:40px;content:"";background-repeat:no-repeat;@media (max-width:990px){width:30px;height:30px;}@media (min-width:1920px){width:60px;height:60px;}}}}}@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0){@media{@media screen and (min-width:1281px){.home-carousel{max-height:68vh;.carousel-inner{max-height:68vh;}}}}}@media screen and (min-width:768px) and (max-width:1280px){.carousel-text{width:40%;}}'])),d=n(5),c=r.default.section.withConfig({displayName:"styles__Content",componentId:"sc-18r9b02-0"})(['.top-img{width:100%;@media screen and (min-width:1921px){span{display:block !important;width:100%;}}@media screen and (max-width:768px){span{display:block !important;}}max-height:400px;@media screen and (min-width:1681px){max-height:650px;}}position:relative;.carousel-text{position:absolute;bottom:26%;width:70%;@media screen and (min-width:768px) and (max-width:991px){width:70%;}@media screen and (min-width:992px){width:40%;}@media screen and (max-width:767px){bottom:48px;}}.heading-style-1{font-family:"Open Sans";font-weight:bold;color:#fff;margin-bottom:0px;}.text-style-1{color:#fff;@media screen and (min-width:1200px){}p,span{color:#ffff !important;}}@media screen and (min-width:769px){.img-responsive{height:100%;}}.text-padding{padding-top:18px;margin-bottom:36px;@media screen and (max-width:1680px){padding-top:14px;margin-bottom:32px;}@media screen and (max-width:1280px){padding-top:14px;margin-bottom:26px;}@media screen and (min-width:768px) and (max-width:991px){padding-top:9px;margin-bottom:18px;}}.gradient-overlay{content:"";position:absolute;top:0;background-image:linear-gradient(to right,#000000,rgba(0,0,0,0));width:100%;opacity:0.43;height:100%;z-index:1;}.text-section{z-index:3;}']),l=n(1),s=n(41),p=function(e){var t,n=e.item;return i.a.createElement(c,null,i.a.createElement("div",{className:"row m-0"},i.a.createElement("div",{className:"top-img p-0"},(null===n||void 0===n||null===(t=n.mobileImage)||void 0===t?void 0:t.url)?i.a.createElement(s.a,{className:"img-responsive",src:n.mobileImage.url,fallback:"",alt:n.image.altText,sources:[{source:n.mobileImage.url,media:"(min-width: 320px)"},{source:n.image.url,media:"(min-width: 768px)"}]}):i.a.createElement(s.a,{className:"img-responsive",src:n.image.url,fallback:"",alt:n.image.altText,sources:[{source:n.image.url,media:"(min-width: 320px)"},{source:n.image.url,media:"(min-width: 768px)"}]})),i.a.createElement("div",{className:"gradient-overlay"}),i.a.createElement("div",{className:"text-section"},i.a.createElement("div",{className:"container"},i.a.createElement("div",{className:"d-flex align-items-center p-0"},i.a.createElement("div",{className:"carousel-text"},"h1"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h1",{className:"heading-style-1"},n.header.text),"h2"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h2",{className:"heading-style-1 carousel-heading mb-0"},n.header.text),"h3"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h3",{className:"heading-style-1"},n.header.text),"h4"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h4",{className:"heading-style-1"},n.header.text),"h5"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h5",{className:"heading-style-1"},n.header.text),"h6"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h6",{className:"heading-style-1"},n.header.text),"capitalize"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("div",{className:"heading-style-1 text-style-uppercase"},n.header.text),i.a.createElement("div",{className:"text-padding text-style-1",dangerouslySetInnerHTML:{__html:n.body.text}}),n.cta&&n.cta.label&&n.cta.linkAction&&i.a.createElement(d.a,{label:Object(l.i)(n.cta.label),link:!0,linkHref:n.cta.url,target:n.cta.linkAction})))))))},m=n(38),u=n.n(m),x=function(e){var t=e.carouselData,n=Object(l.g)(t),r={infinite:!0,slidesToShow:3,slidesToScroll:3,initialSlide:0,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,initialSlide:0,infinite:!0}}]};return Object(a.useEffect)((function(){if("image-only"!=n.variation){var e=document.createElement("script");e.innerHTML='$(".home-carousel").carousel({ interval: 6000 })',document.body.appendChild(e)}}),[]),i.a.createElement(o,null,i.a.createElement("div",{className:"large-screen-container ".concat("image-only"===n.variation?"container":"container-fluid p-0")},i.a.createElement("div",{className:"".concat("image-only"!==n.variation&&"row mr-0 ml-0 align-items-center")},"image-only"===n.variation?i.a.createElement("section",{className:"custom-slick-carousel"},i.a.createElement(u.a,r,n.carouselImageItems&&n.carouselImageItems.length>0&&n.carouselImageItems.map((function(e,t){var n,a;return i.a.createElement("div",{key:t,className:"slick-slider-container","aria-label":(null===e||void 0===e||null===(n=e.image)||void 0===n?void 0:n.altText)?e.image.altText:""},i.a.createElement("img",{src:e.image.url,key:t,alt:(null===e||void 0===e||null===(a=e.image)||void 0===a?void 0:a.altText)?e.image.altText:""}))})))):i.a.createElement("div",{id:"home-carousel",className:"home-carousel carousel slide w-100","data-ride":"carousel"},i.a.createElement("div",{className:"".concat("center"===n.alignment&&"slider-dots-center"," slider-dots-wrapper")},i.a.createElement("ol",{className:"".concat("center"===n.alignment&&"carousel-indicators-center"," carousel-indicators"),role:"list","aria-roledescription":"carousel","aria-label":"Slides"},n.carouselItems&&n.carouselItems.length>1&&n.carouselItems.map((function(e,t){return i.a.createElement("li",{key:t,"data-target":"#home-carousel","data-slide-to":t,className:0===t?"active":"","aria-label":"Slide".concat(t),"aria-roledescription":"slide"})})))),i.a.createElement("div",{className:"right"===n.textAlignment?"right-structure carousel-inner":"carousel-inner"},n.carouselItems&&n.carouselItems.length>0&&n.carouselItems.map((function(e,t){return i.a.createElement("div",{key:t,className:0===t?"carousel-item active":"carousel-item"},i.a.createElement(p,{key:t,item:e}))})))))))};x.defaultProps={config:"",theme:"",carouselData:""};t.a=x}});
|
|
1
|
+
!function(e){function t(t){for(var a,o,d=t[0],c=t[1],l=t[2],p=0,m=[];p<d.length;p++)o=d[p],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&m.push(i[o][0]),i[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(s&&s(t);m.length;)m.shift()();return r.push.apply(r,l||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,d=1;d<n.length;d++){var c=n[d];0!==i[c]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},i={6:0},r=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=t,d=d.slice();for(var l=0;l<d.length;l++)t(d[l]);var s=c;r.push([795,0]),n()}({0:function(e,t){e.exports=React},1:function(e,t,n){"use strict";n.d(t,"g",(function(){return i})),n.d(t,"T",(function(){return r})),n.d(t,"i",(function(){return o})),n.d(t,"C",(function(){return d})),n.d(t,"F",(function(){return c})),n.d(t,"u",(function(){return l})),n.d(t,"A",(function(){return s})),n.d(t,"n",(function(){return p})),n.d(t,"q",(function(){return m})),n.d(t,"H",(function(){return u})),n.d(t,"G",(function(){return x})),n.d(t,"O",(function(){return h})),n.d(t,"D",(function(){return g})),n.d(t,"t",(function(){return f})),n.d(t,"h",(function(){return w})),n.d(t,"s",(function(){return b})),n.d(t,"x",(function(){return v})),n.d(t,"v",(function(){return y})),n.d(t,"B",(function(){return E})),n.d(t,"r",(function(){return k})),n.d(t,"P",(function(){return N})),n.d(t,"p",(function(){return z})),n.d(t,"I",(function(){return S})),n.d(t,"E",(function(){return A})),n.d(t,"Q",(function(){return j})),n.d(t,"l",(function(){return _})),n.d(t,"j",(function(){return T})),n.d(t,"m",(function(){return C})),n.d(t,"k",(function(){return D})),n.d(t,"y",(function(){return H})),n.d(t,"K",(function(){return M})),n.d(t,"w",(function(){return Z})),n.d(t,"R",(function(){return P})),n.d(t,"S",(function(){return $})),n.d(t,"b",(function(){return L})),n.d(t,"N",(function(){return U})),n.d(t,"z",(function(){return B})),n.d(t,"a",(function(){return R})),n.d(t,"d",(function(){return F})),n.d(t,"f",(function(){return J})),n.d(t,"e",(function(){return W})),n.d(t,"V",(function(){return G})),n.d(t,"c",(function(){return q})),n.d(t,"U",(function(){return V})),n.d(t,"J",(function(){return K})),n.d(t,"L",(function(){return Q})),n.d(t,"M",(function(){return X})),n.d(t,"o",(function(){return Y}));var a=n(3),i=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},r=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return e.toUpperCase()},d=function(e){return e.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),l=new a.a(!1),s=new a.a(!1),p=new a.a(!1),m=new a.a(""),u=new a.a(!1),x=new a.a(!1),h=new a.a(!1),g=new a.a(!1),f=new a.a(!1),w=new a.a(!1),b=new a.a(""),v=new a.a(!0),y=new a.a(!0),E=new a.a(!0),k=new a.a(!0),N=new a.a(!0),z=new a.a(!0),S=new a.a({}),O=new a.a(!1),I=0,A=new a.a(!1),j=new a.a(""),_=new a.a(""),T=new a.a(""),C=new a.a(""),D=new a.a(""),H=new a.a(""),M=new a.a(""),Z=new a.a(!1),P=new a.a(!1),$=new a.a(!1),L=function(){setTimeout((function(){I++,O.next(!0)}),0)},U=function(){setTimeout((function(){I>0&&I--,0==I&&O.next(!1)}),0)},B=function(){return O.asObservable()},R=function(e){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},F=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},J=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},W=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},G=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},q=function(e){return/^[0-9]*$/.test(e)},V=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},K=function(e){if(e&&""!==e&&-1===e.indexOf("(")&&-1===e.indexOf(") ")&&-1===e.indexOf("-")){return"("+e.substring(0,3)+") "+e.substring(3,6)+"-"+e.substring(6,e.length)}return e},Q=function(e){return e&&(e=e.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==e&&"0"!==e||(e=e.toFixed(2)),e},X=function(e,t){return e=e?Number(e):0,(0===(t=t?Number(t):0)||"0"===t?0:(e-t)/t*100).toFixed(2)},Y=function(e){var t={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:e.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:e.selectedHeight,glass:e.selectedGlass,collection:e.selectedCollection,print:!0,baseUrl:"",gplacement:e.selectedWindowPlacement,width:e.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return e.selectedColor&&(t.color=e.selectedColor),e.colorHex&&(t.colorHex=e.colorHex),e.colorZone&&(t.colorZone=e.colorZone),e.selectedConstruction&&(t.model=e.selectedConstruction),e.selectedWindowDesign&&(t.top=e.selectedWindowDesign),e.glazepattern&&(t.glazepattern=e.glazepattern),e.selectedHardware&&(t.hardware=e.selectedHardware),t}},17:function(e,t){e.exports=ReactDOM},5:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var a=n(22),i=n(0),r=n.n(i),o=n(4),d=o.default.div.withConfig({displayName:"styles__View",componentId:"sc-1jt3i0i-0"})([""]),c=o.default.button.withConfig({displayName:"styles__Button",componentId:"sc-1jt3i0i-1"})(['font-size:12px;font-family:"Open Sans";font-weight:600;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:center;color:#fff;padding:12px 19px 12px 20px;border-radius:4px;background-color:#006166;box-shadow:none;border:none;transition:all ease 300ms;&:hover{transform:scale(1.1);background-color:#338084;color:#fff;}&:focus{transform:scale(1);box-shadow:none !important;background-color:#004347;}&:active{background-color:#006166 !important;box-shadow:none !important;transform:scale(1);border:none !important;}&.btn-inverse{color:#333333;background:#b2cfd1;&:hover{background:#8EB8BB;}&:focus{background:#8EA5A7;border:none;transform:scale(1);box-shadow:none !important;}&:active{background-color:#8EA5A7 !important;border:none !important;transform:scale(1.1);box-shadow:none !important;}}@media(min-width:1201px){font-size:16px;}.button-icon{vertical-align:top;padding-right:8px;}']),l=n(19),s=n(18),p=function(e){var t=e.label,n=void 0===t?"label":t,i=e.classStyle,o=void 0===i?"default":i,p=e.link,m=void 0!==p&&p,u=e.disabled,x=void 0!==u&&u,h=e.datatoggle,g=void 0===h?"":h,f=e.datatarget,w=void 0===f?"":f,b=e.linkHref,v=e.target,y=void 0===v?"_self":v,E=e.downloadLink,k=void 0!==E&&E,N=e.inverse,z=void 0!==N&&N,S=e.icon,O=void 0===S?"":S,I=e.iconAlt,A=void 0===I?"":I,j=e.dataItemName,_=void 0===j?"":j,T=e.id,C=void 0===T?"":T,D=e.type,H=void 0===D?"button":D,M=e.showDisabledMessage,Z=void 0===M?"":M,P=Object(a.a)(e,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage"]);return r.a.createElement(d,null,r.a.createElement("div",{className:"".concat(x&&Z&&"disabled-button-parent")},m?r.a.createElement("a",{href:b,download:k,target:y,"data-item-name":_,id:C},r.a.createElement(c,Object.assign({disabled:x,classStyle:"".concat(o)},P,{type:H,className:z?"btn-inverse btn btn-success":"btn btn-success"}),""!=O?r.a.createElement("div",{"data-toggle":g,"data-target":w},r.a.createElement("img",{loading:"lazy",className:"button-icon",src:O,alt:A}),r.a.createElement("span",null,n)):r.a.createElement("span",null,n))):r.a.createElement(c,Object.assign({disabled:x,classStyle:o,className:z?"btn-inverse btn btn-success":"btn btn-success",id:C,"data-item-name":_,type:H},P),r.a.createElement("span",null,n)),x&&Z&&r.a.createElement(l.a,{placement:"top",delay:{show:250,hide:250},overlay:r.a.createElement(s.a,{id:"button-tooltip"},r.a.createElement("div",{className:"p-1 amarr-h6"},Z))},r.a.createElement("div",{className:"disabled-button-overlay"}))))}},702:function(e,t,n){"use strict";n.r(t);var a=n(14),i=n(75);t.default=a.a.create({component:i.a,configuration:{tagname:"amarr-carousel",useShadow:!1},plugins:[]})},75:function(e,t,n){"use strict";var a=n(0),i=n.n(a),r=n(4),o=(n(52),n(53),r.default.section.withConfig({displayName:"styles__Content",componentId:"sc-1k0270s-0"})(['.right-structure{.carousel-text{position:absolute;left:auto;right:10%;bottom:20%;}}.carousel{background:#f0f0f0;position:relative;}.slider-dots-center{display:flex;width:100%;justify-content:center;.carousel-indicators-center{display:flex;padding-left:0px !important;}}.slider-dots-wrapper{position:absolute;left:0;bottom:60px;z-index:15;.carousel-indicators{margin:0;position:static;list-style:none;padding-left:22px;li{width:10px;height:10px;border:1px solid #8d8d8d;background-color:#fff;border-radius:50%;box-sizing:border-box;&.active{background-color:#006166;}&:first-child{margin-left:0;}@media screen and (min-width:1200px){width:12px;height:12px;}}}.carousel-inner{@media screen and (min-width:576px and max-width:991px){margin-top:70px;}}}.bxslider-parent{position:relative;margin:0 auto;.bx-pager-item{display:none;}#proprev{position:absolute;left:120px;top:42%;width:72px;cursor:pointer;}#pronext{position:absolute;right:120px;top:42%;width:72px;cursor:pointer;}.bx-wrapper{border:none;box-shadow:none;margin:0 auto 20px;}}@media screen and (max-width:767px){.bxslider-parent{width:100%;#proprev,#pronext{display:none;}.bx-wrapper{margin-bottom:0;li{height:270px;}img{object-fit:cover;min-height:100%;}}}h2.carousel-heading.heading-style-1{font-size:24px;line-height:36px;}.slider-dots-wrapper{bottom:20px;}.carousel-text{button{padding:7px 14px;font-size:14px;}}}@media screen and (min-width:768px){.slider-dots-wrapper{bottom:30px;.carousel-indicators{padding-left:30px;}}.carousel-text{button{padding:9px 15px;font-size:12px;}}.bxslider-parent{#proprev,#pronext{width:42px;}#proprev{left:4%;}#pronext{right:4%;}.bx-wrapper{max-width:calc(100% - 124px)!important;li{width:calc((100vw - 60px - 164px) / 3)!important;height:250px;overflow:hidden;}img{object-fit:cover;min-height:100%;}}}}@media screen and (min-width:992px){.slider-dots-wrapper{bottom:40px;.carousel-indicators{padding-left:60px;}}h2.carousel-heading.heading-style-1{font-size:36px;line-height:54px;}.bxslider-parent{.bx-wrapper{li{height:300px;}}}}@media screen and (min-width:992px) and (max-width:1024px){.slider-dots-wrapper{.carousel-indicators{padding-left:40px;}}}@media screen and (min-width:1281px){.slider-dots-wrapper{.carousel-indicators{padding-left:80px;}}h2.carousel-heading.heading-style-1{font-size:48px;line-height:72px;}.carousel-text{button{padding:9px 18px;font-size:14px;}}.bxslider-parent{#proprev,#pronext{width:60px;}#proprev{left:4%;}#pronext{right:4%;}.bx-wrapper{max-width:calc(100% - 180px)!important;li{width:calc((100vw - 160px - 210px) / 3)!important;height:400px;}}}}@media screen and (min-width:1681px){.slider-dots-wrapper{bottom:60px;.carousel-indicators{padding-left:120px;}}.carousel-text{button{padding:10px 24px;font-size:18px;}}h2.carousel-heading.heading-style-1{font-size:60px;line-height:90px;}.bxslider-parent{.bx-wrapper{max-width:calc(100% - 204px)!important;li{width:calc((100vw - 240px - 204px) / 3)!important;height:540px;}}}}@media screen and (min-width:1921px){.bxslider-parent{.bx-wrapper{li{width:calc(1476px / 3)!important;}}}}.custom-slick-carousel{@media screen and (max-width:767px){margin-bottom:0px;}@media screen and (min-width:768px) and (max-width:991px){margin-bottom:18px;}@media screen and (min-width:992px) and (max-width:1024px){margin-bottom:16px;}@media screen and (min-width:1025px) and (max-width:1280px){margin-bottom:14px;}@media screen and (min-width:1281px) and (max-width:1680px){margin-bottom:8px;}@media screen and (min-width:1681px){margin-bottom:4px;}.slick-track{display:flex !important;gap:1px;@media screen and (min-width:768px){gap:16px;}}.slick-slider{max-width:calc(100% - 120px);@media screen and (min-width:1281px) and (max-width:1680px){max-width:calc(100% - 80px);}@media screen and (min-width:768px) and (max-width:1280px){max-width:calc(100% - 60px);}@media screen and (min-width:992px) and (max-width:1024px){max-width:calc(100% - 40px);}@media screen and (max-width:991px){max-width:calc(100% - 30px);}@media screen and (max-width:767px){max-width:calc(100% - 40px);}}.slick{&-prev{left:-40px;@media screen and (min-width:1681px){left:-60px}@media screen and (min-width:768px) and (max-width:1280px){left:-30px;}@media screen and (min-width:992px) and (max-width:1024px){left:-22px;}@media screen and (max-width:991px){left:-16px;}@media screen and (max-width:767px){left:-20px;}&:before{background-image:url(/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/arrow-left-carousel.svg);}}&-next{right:-40px;@media screen and (min-width:1681px){right:-60px}@media screen and (min-width:768px) and (max-width:1280px){right:-30px;}@media screen and (min-width:992px) and (max-width:1024px){right:-22px;}@media screen and (max-width:991px){right:-16px;}@media screen and (max-width:767px){right:-20px;}&:before{background-image:url(/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/arrow-right-carousel.svg);}}&-prev,&-next{background:#fff;border-radius:50%;z-index:99;&:before{background-size:contain;display:inline-block;width:40px;height:40px;content:"";background-repeat:no-repeat;@media (max-width:990px){width:30px;height:30px;}@media (min-width:1920px){width:60px;height:60px;}}}}}@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0){@media{@media screen and (min-width:1281px){.home-carousel{max-height:68vh;.carousel-inner{max-height:68vh;}}}}}@media screen and (min-width:768px) and (max-width:1280px){.carousel-text{width:40%;}}'])),d=n(5),c=r.default.section.withConfig({displayName:"styles__Content",componentId:"sc-18r9b02-0"})(['.top-img{width:100%;@media screen and (min-width:1921px){span{display:block !important;width:100%;}}@media screen and (max-width:768px){span{display:block !important;}}max-height:400px;@media screen and (min-width:1681px){max-height:650px;}}position:relative;.carousel-text{position:absolute;bottom:26%;width:70%;@media screen and (min-width:768px) and (max-width:991px){width:70%;}@media screen and (min-width:992px){width:40%;}@media screen and (max-width:767px){bottom:48px;}}.heading-style-1{font-family:"Open Sans";font-weight:bold;color:#fff;margin-bottom:0px;}.text-style-1{color:#fff;@media screen and (min-width:1200px){}p,span{color:#ffff !important;}}@media screen and (min-width:769px){.img-responsive{height:100%;}}.text-padding{padding-top:18px;margin-bottom:36px;@media screen and (max-width:1680px){padding-top:14px;margin-bottom:32px;}@media screen and (max-width:1280px){padding-top:14px;margin-bottom:26px;}@media screen and (min-width:768px) and (max-width:991px){padding-top:9px;margin-bottom:18px;}}.gradient-overlay{content:"";position:absolute;top:0;background-image:linear-gradient(to right,#000000,rgba(0,0,0,0));width:100%;opacity:0.43;height:100%;z-index:1;}.text-section{z-index:3;}']),l=n(1),s=n(41),p=function(e){var t,n=e.item;return i.a.createElement(c,null,i.a.createElement("div",{className:"row m-0"},i.a.createElement("div",{className:"top-img p-0"},(null===n||void 0===n||null===(t=n.mobileImage)||void 0===t?void 0:t.url)?i.a.createElement(s.a,{className:"img-responsive",src:n.mobileImage.url,fallback:"",alt:n.image.altText,sources:[{source:n.mobileImage.url,media:"(min-width: 320px)"},{source:n.image.url,media:"(min-width: 768px)"}]}):i.a.createElement(s.a,{className:"img-responsive",src:n.image.url,fallback:"",alt:n.image.altText,sources:[{source:n.image.url,media:"(min-width: 320px)"},{source:n.image.url,media:"(min-width: 768px)"}]})),i.a.createElement("div",{className:"gradient-overlay"}),i.a.createElement("div",{className:"text-section"},i.a.createElement("div",{className:"container"},i.a.createElement("div",{className:"d-flex align-items-center p-0"},i.a.createElement("div",{className:"carousel-text"},"h1"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h1",{className:"heading-style-1"},n.header.text),"h2"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h2",{className:"heading-style-1 carousel-heading mb-0"},n.header.text),"h3"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h3",{className:"heading-style-1"},n.header.text),"h4"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h4",{className:"heading-style-1"},n.header.text),"h5"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h5",{className:"heading-style-1"},n.header.text),"h6"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("h6",{className:"heading-style-1"},n.header.text),"capitalize"===n.headingStyle&&n.header.text&&""!==n.header.text&&i.a.createElement("div",{className:"heading-style-1 text-style-uppercase"},n.header.text),i.a.createElement("div",{className:"text-padding text-style-1",dangerouslySetInnerHTML:{__html:n.body.text}}),n.cta&&n.cta.label&&n.cta.linkAction&&i.a.createElement(d.a,{label:Object(l.i)(n.cta.label),link:!0,linkHref:n.cta.url,target:n.cta.linkAction})))))))},m=n(36),u=n.n(m),x=function(e){var t=e.carouselData,n=Object(l.g)(t),r={infinite:!0,slidesToShow:3,slidesToScroll:3,initialSlide:0,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,initialSlide:0,infinite:!0}}]};return Object(a.useEffect)((function(){if("image-only"!=n.variation){var e=document.createElement("script");e.innerHTML='$(".home-carousel").carousel({ interval: 6000 })',document.body.appendChild(e)}}),[]),i.a.createElement(o,null,i.a.createElement("div",{className:"large-screen-container ".concat("image-only"===n.variation?"container":"container-fluid p-0")},i.a.createElement("div",{className:"".concat("image-only"!==n.variation&&"row mr-0 ml-0 align-items-center")},"image-only"===n.variation?i.a.createElement("section",{className:"custom-slick-carousel"},i.a.createElement(u.a,r,n.carouselImageItems&&n.carouselImageItems.length>0&&n.carouselImageItems.map((function(e,t){var n,a;return i.a.createElement("div",{key:t,className:"slick-slider-container","aria-label":(null===e||void 0===e||null===(n=e.image)||void 0===n?void 0:n.altText)?e.image.altText:""},i.a.createElement("img",{loading:"lazy",src:e.image.url,key:t,alt:(null===e||void 0===e||null===(a=e.image)||void 0===a?void 0:a.altText)?e.image.altText:""}))})))):i.a.createElement("div",{id:"home-carousel",className:"home-carousel carousel slide w-100","data-ride":"carousel"},i.a.createElement("div",{className:"".concat("center"===n.alignment&&"slider-dots-center"," slider-dots-wrapper")},i.a.createElement("ol",{className:"".concat("center"===n.alignment&&"carousel-indicators-center"," carousel-indicators"),role:"list","aria-roledescription":"carousel","aria-label":"Slides"},n.carouselItems&&n.carouselItems.length>1&&n.carouselItems.map((function(e,t){return i.a.createElement("li",{key:t,"data-target":"#home-carousel","data-slide-to":t,className:0===t?"active":"","aria-label":"Slide".concat(t),"aria-roledescription":"slide"})})))),i.a.createElement("div",{className:"right"===n.textAlignment?"right-structure carousel-inner":"carousel-inner"},n.carouselItems&&n.carouselItems.length>0&&n.carouselItems.map((function(e,t){return i.a.createElement("div",{key:t,className:0===t?"carousel-item active":"carousel-item"},i.a.createElement(p,{key:t,item:e}))})))))))};x.defaultProps={config:"",theme:"",carouselData:""};t.a=x}});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assaabloy/amarr-wc-carousel",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.16",
|
|
4
4
|
"description": "Web component - Carousel",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "carousel.js",
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Nagarro",
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "b4bf3d0c5c11d1d7a1167b5fa7d8ad7bf2a505ef"
|
|
15
15
|
}
|