@assaabloy/amarr-wc-container 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.
Files changed (2) hide show
  1. package/container.js +1 -1
  2. package/package.json +2 -2
package/container.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var r,o,c=t[0],d=t[1],l=t[2],s=0,p=[];s<c.length;s++)o=c[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&p.push(a[o][0]),a[o]=0;for(r in d)Object.prototype.hasOwnProperty.call(d,r)&&(e[r]=d[r]);for(u&&u(t);p.length;)p.shift()();return i.push.apply(i,l||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,c=1;c<n.length;c++){var d=n[c];0!==a[d]&&(r=!1)}r&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},a={14:0},i=[];function o(t){if(r[t])return r[t].exports;var n=r[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=r,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 r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));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 c=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],d=c.push.bind(c);c.push=t,c=c.slice();for(var l=0;l<c.length;l++)t(c[l]);var u=d;i.push([475,0]),n()}({0:function(e,t){e.exports=React},1:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"T",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"C",(function(){return c})),n.d(t,"F",(function(){return d})),n.d(t,"u",(function(){return l})),n.d(t,"A",(function(){return u})),n.d(t,"n",(function(){return s})),n.d(t,"q",(function(){return p})),n.d(t,"H",(function(){return f})),n.d(t,"G",(function(){return g})),n.d(t,"O",(function(){return h})),n.d(t,"D",(function(){return m})),n.d(t,"t",(function(){return x})),n.d(t,"h",(function(){return w})),n.d(t,"s",(function(){return b})),n.d(t,"x",(function(){return y})),n.d(t,"v",(function(){return A})),n.d(t,"B",(function(){return v})),n.d(t,"r",(function(){return N})),n.d(t,"P",(function(){return O})),n.d(t,"p",(function(){return S})),n.d(t,"I",(function(){return C})),n.d(t,"E",(function(){return j})),n.d(t,"Q",(function(){return M})),n.d(t,"l",(function(){return $})),n.d(t,"j",(function(){return _})),n.d(t,"m",(function(){return Z})),n.d(t,"k",(function(){return D})),n.d(t,"y",(function(){return P})),n.d(t,"K",(function(){return H})),n.d(t,"w",(function(){return k})),n.d(t,"R",(function(){return T})),n.d(t,"S",(function(){return U})),n.d(t,"b",(function(){return I})),n.d(t,"N",(function(){return R})),n.d(t,"z",(function(){return F})),n.d(t,"a",(function(){return J})),n.d(t,"d",(function(){return W})),n.d(t,"f",(function(){return q})),n.d(t,"e",(function(){return G})),n.d(t,"V",(function(){return L})),n.d(t,"c",(function(){return B})),n.d(t,"U",(function(){return K})),n.d(t,"J",(function(){return Q})),n.d(t,"L",(function(){return V})),n.d(t,"M",(function(){return X})),n.d(t,"o",(function(){return Y}));var r=n(3),a=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},i=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return e.toUpperCase()},c=function(e){return e.replaceAll(" ","-").toLowerCase()},d=new r.a(!1),l=new r.a(!1),u=new r.a(!1),s=new r.a(!1),p=new r.a(""),f=new r.a(!1),g=new r.a(!1),h=new r.a(!1),m=new r.a(!1),x=new r.a(!1),w=new r.a(!1),b=new r.a(""),y=new r.a(!0),A=new r.a(!0),v=new r.a(!0),N=new r.a(!0),O=new r.a(!0),S=new r.a(!0),C=new r.a({}),E=new r.a(!1),z=0,j=new r.a(!1),M=new r.a(""),$=new r.a(""),_=new r.a(""),Z=new r.a(""),D=new r.a(""),P=new r.a(""),H=new r.a(""),k=new r.a(!1),T=new r.a(!1),U=new r.a(!1),I=function(){setTimeout((function(){z++,E.next(!0)}),0)},R=function(){setTimeout((function(){z>0&&z--,0==z&&E.next(!1)}),0)},F=function(){return E.asObservable()},J=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)},W=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},q=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},G=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},L=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},B=function(e){return/^[0-9]*$/.test(e)},K=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},Q=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},V=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},384:function(e,t,n){"use strict";n.r(t);var r=n(13),a=n(88);t.default=r.a.create({component:a.a,configuration:{tagname:"amarr-headtext",useShadow:!1},plugins:[]})},88:function(e,t,n){"use strict";var r=n(0),a=n.n(r),i=n(4).default.section.withConfig({displayName:"styles__Content",componentId:"fpesvy-0"})(['.section-title{font-stretch:normal;font-style:normal;text-align:center;padding-top:18px;margin-bottom:10px;@media screen and (min-width:768px){}@media screen and (min-width:992px){padding-top:10px;}@media screen and (min-width:1281px){padding-top:18px;margin-bottom:18px;}@media screen and (min-width:1681px){padding-top:26px;}}.spl-gap{padding-top:20px;@media screen and (min-width:1200px){padding-top:60px;}}.spl-gap-less{}.text-space-left{padding-left:20px;}.text-space-bottom{padding-bottom:20px}.text-space-right{padding-right:20px}.bg-green{background:#006166;}.bg-grey{background:#f0f0f0;}.text-style-uppercase{text-transform:uppercase;letter-spacing:2.5px;}.container-component-style > p{text-align:justify;}.container .container{padding:0;}.container-fluid .spl-gap-less{padding-left:0;padding-right:0;}.container-component-style[class*="bg-"] .text-style-description{padding-top:1rem;}.amarrHighlight{color:#006166 !important;> a:link,a:visited{color:#006166;}}.text-style-description{@media screen and (min-width:1200px){}&.text-style-underline{padding-top:20px;@media screen and (min-width:1200px){padding-top:30px;}}}.border-heading{border-bottom:2px solid rgba(0,0,0,0.1);width:100%;}ul li::marker{color:#595c60;}.cmp-container.container .head-text-cmp .container{padding-left:20px;padding-right:20px;}li.rte-green::marker{color:#006166;}.ul-indent-left{margin-left:48px;}']),o=n(1),c=function(e){var t=e.containerData,n=Object(o.g)(t);return Object(r.useEffect)((function(){$(".circle-ol, .square-ol, .number-ol").parent().css("list-style","none"),$(".rte-bullet-green").closest("li").addClass("rte-green"),$(".ul-indent").parent().parent().addClass("ul-indent-left")})),a.a.createElement(i,null,a.a.createElement("div",{className:"head-text-cmp hide-print-media ".concat(n.bgColor?"container-fluid":"container")},a.a.createElement("div",{className:"row"},a.a.createElement("div",{className:"col-12 ".concat(n.topMargin?"spl-gap":"spl-gap-less","\n ").concat(n.leftMargin?"text-space-left":"","\n ").concat(n.bottomMargin?"text-space-bottom":"","\n ").concat(n.rightMargin?"text-space-right":"","\n ").concat("green"===n.bgColor?"bg-green":"","\n\n ").concat("grey"===n.bgColor?"bg-grey":""," container-component-style")},a.a.createElement("div",{className:"".concat(n.titleSeparator&&"border-heading")},a.a.createElement("div",{className:"container dealer-col"},"h1"===n.headingStyle&&n.header&&n.header.text&&a.a.createElement("h1",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":"")},n.header.text),"h2"===n.headingStyle&&n.header&&n.header.text&&a.a.createElement("h2",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"h3"===n.headingStyle&&n.header&&n.header.text&&a.a.createElement("h3",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"h4"===n.headingStyle&&n.header&&n.header.text&&a.a.createElement("h4",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"h5"===n.headingStyle&&n.header&&n.header.text&&a.a.createElement("h5",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"h6"===n.headingStyle&&n.header&&n.header.text&&a.a.createElement("h6",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"capitalize"===n.headingStyle&&n.header&&n.header.text&&a.a.createElement("div",{className:"section-title text-style-uppercase ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text))),a.a.createElement("div",{className:"container dealer-col text-left"},n.body&&n.body.text&&a.a.createElement("p",{className:"text-style-description body-text1 ".concat(n.titleSeparator&&"text-style-underline"),dangerouslySetInnerHTML:{__html:n.body.text}}))))))};c.defaultProps={config:"",theme:"",containerData:""};t.a=c}});
1
+ !function(t){function n(n){for(var a,o,d=n[0],c=n[1],p=n[2],s=0,m=[];s<d.length;s++)o=d[s],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&m.push(r[o][0]),r[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(t[a]=c[a]);for(l&&l(n);m.length;)m.shift()();return i.push.apply(i,p||[]),e()}function e(){for(var t,n=0;n<i.length;n++){for(var e=i[n],a=!0,d=1;d<e.length;d++){var c=e[d];0!==r[c]&&(a=!1)}a&&(i.splice(n--,1),t=o(o.s=e[0]))}return t}var a={},r={14:0},i=[];function o(n){if(a[n])return a[n].exports;var e=a[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=t,o.c=a,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var a in t)o.d(e,a,function(n){return t[n]}.bind(null,a));return e},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=n,d=d.slice();for(var p=0;p<d.length;p++)n(d[p]);var l=c;i.push([808,0]),e()}({0:function(t,n){t.exports=React},1:function(t,n,e){"use strict";e.d(n,"a",(function(){return a})),e.d(n,"b",(function(){return r}));var a={mobileAndUpMin:128,mobileAndUp:320,smallMobileAndUp:375,largeMobileAndUp:426,tabletPortraitUp:606,largeMobileAndUp2:576,tabletPortraitAndUp:768,tabletPortraitAndUp2:835,tabletLandscapeAndUp:992,desktopAndUp:1024,smallDesktopAndUp1:1100,smallDesktopAndUp:1200,smallDesktopAndUp2:1280,smallDesktopAndUp3:1300,smallDesktopAndUp4:1150,mediumDesktopAndUp:1400,mediumDesktopAndUp2:1600,mediumDesktopAndUp3:1680,mediumDesktopAndUp4:1440,mediumDesktopAndUp5:1520,largeDesktop:1800,maxWidthAndUp:1900,wrapperMaxWidth:1920},r={mobileAndUpMin:"(min-width: ".concat(a.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(a.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(a.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(a.largeMobileAndUp-2,"px)"),largeMobileAndUp2:"(min-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(a.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(a.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(a.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(a.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(a.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(a.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(a.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(a.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(a.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(a.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(a.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(a.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(a.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(a.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(a.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(a.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(a.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(a.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(a.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(a.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(a.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(a.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(a.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(a.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(a.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(a.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(a.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(a.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(a.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(a.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(a.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(a.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(a.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(a.maxWidthAndUp+1,"px)")}},2:function(t,n,e){"use strict";e.d(n,"g",(function(){return r})),e.d(n,"T",(function(){return i})),e.d(n,"i",(function(){return o})),e.d(n,"C",(function(){return d})),e.d(n,"F",(function(){return c})),e.d(n,"u",(function(){return p})),e.d(n,"A",(function(){return l})),e.d(n,"n",(function(){return s})),e.d(n,"q",(function(){return m})),e.d(n,"H",(function(){return u})),e.d(n,"G",(function(){return x})),e.d(n,"O",(function(){return h})),e.d(n,"D",(function(){return g})),e.d(n,"t",(function(){return f})),e.d(n,"h",(function(){return A})),e.d(n,"s",(function(){return b})),e.d(n,"x",(function(){return U})),e.d(n,"v",(function(){return w})),e.d(n,"B",(function(){return k})),e.d(n,"r",(function(){return M})),e.d(n,"P",(function(){return D})),e.d(n,"p",(function(){return v})),e.d(n,"I",(function(){return y})),e.d(n,"E",(function(){return N})),e.d(n,"Q",(function(){return O})),e.d(n,"l",(function(){return S})),e.d(n,"j",(function(){return W})),e.d(n,"m",(function(){return C})),e.d(n,"k",(function(){return j})),e.d(n,"y",(function(){return z})),e.d(n,"K",(function(){return _})),e.d(n,"w",(function(){return L})),e.d(n,"R",(function(){return $})),e.d(n,"S",(function(){return Z})),e.d(n,"b",(function(){return T})),e.d(n,"N",(function(){return H})),e.d(n,"z",(function(){return I})),e.d(n,"a",(function(){return R})),e.d(n,"d",(function(){return F})),e.d(n,"f",(function(){return J})),e.d(n,"e",(function(){return q})),e.d(n,"V",(function(){return G})),e.d(n,"c",(function(){return B})),e.d(n,"U",(function(){return K})),e.d(n,"J",(function(){return Q})),e.d(n,"L",(function(){return V})),e.d(n,"M",(function(){return X})),e.d(n,"o",(function(){return Y}));var a=e(4),r=function(t){return JSON.parse(decodeURIComponent(escape(atob(t))))},i=function(t){return btoa(unescape(encodeURIComponent(t)))},o=function(t){return t.toUpperCase()},d=function(t){return t.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),p=new a.a(!1),l=new a.a(!1),s=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),A=new a.a(!1),b=new a.a(""),U=new a.a(!0),w=new a.a(!0),k=new a.a(!0),M=new a.a(!0),D=new a.a(!0),v=new a.a(!0),y=new a.a({}),P=new a.a(!1),E=0,N=new a.a(!1),O=new a.a(""),S=new a.a(""),W=new a.a(""),C=new a.a(""),j=new a.a(""),z=new a.a(""),_=new a.a(""),L=new a.a(!1),$=new a.a(!1),Z=new a.a(!1),T=function(){setTimeout((function(){E++,P.next(!0)}),0)},H=function(){setTimeout((function(){E>0&&E--,0==E&&P.next(!1)}),0)},I=function(){return P.asObservable()},R=function(t){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(t)},F=function(t){return t.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},J=function(t){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(t)},q=function(t){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(t)},G=function(t){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(t)},B=function(t){return/^[0-9]*$/.test(t)},K=function(t){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(t)},Q=function(t){if(t&&""!==t&&-1===t.indexOf("(")&&-1===t.indexOf(") ")&&-1===t.indexOf("-")){return"("+t.substring(0,3)+") "+t.substring(3,6)+"-"+t.substring(6,t.length)}return t},V=function(t){return t&&(t=t.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==t&&"0"!==t||(t=t.toFixed(2)),t},X=function(t,n){return t=t?Number(t):0,(0===(n=n?Number(n):0)||"0"===n?0:(t-n)/n*100).toFixed(2)},Y=function(t){var n={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:t.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:t.selectedHeight,glass:t.selectedGlass,collection:t.selectedCollection,print:!0,baseUrl:"",gplacement:t.selectedWindowPlacement,width:t.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return t.selectedColor&&(n.color=t.selectedColor),t.colorHex&&(n.colorHex=t.colorHex),t.colorZone&&(n.colorZone=t.colorZone),t.selectedConstruction&&(n.model=t.selectedConstruction),t.selectedWindowDesign&&(n.top=t.selectedWindowDesign),t.glazepattern&&(n.glazepattern=t.glazepattern),t.selectedHardware&&(n.hardware=t.selectedHardware),n}},26:function(t,n){t.exports=ReactDOM},7:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var a=e(5),r=e(0),i=e.n(r),o=function(t){var n=t.setter,e=n.componentThemes,r=n.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return e.theme1;var t=r.match(/\d+/g).map(Number),n=Object.keys(e).find((function(n){return!(!Array.isArray(t)||1!==t.length)&&(n.includes(t[0])&&e[n])}));return n?e["".concat(n)]:e.theme1}},t.children)}},716:function(t,n,e){"use strict";e.r(n);var a=e(21),r=e(93);n.default=a.a.create({component:r.a,configuration:{tagname:"amarr-headtext",useShadow:!1},plugins:[]})},8:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(5),o=e(20),d=e.n(o),c=Object(a.createContext)({});n.a=function(t){var n=!1;try{var e;n=(null===(e=document)||void 0===e?void 0:e.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(o){console.log(o)}var a=n?[d.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(c.Provider,{value:{rtl:n}},t.children))}},9:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var a=e(0),r=e.n(a),i=e(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(t){return t.padding?"0 var(--grid-margin);":0}),(function(t){t.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),o=function(t){var n=t.className,e=t.children,a=t.maxWidth,o=void 0===a?1520:a,d=t.padding,c=void 0===d||d;return r.a.createElement(i,{className:n,maxWidth:o,padding:c},e)}},93:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(2),o=e(12),d=e.n(o),c={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},p=e(11),l=e(5),s=e(1);function m(){var t=Object(p.a)(["\n .section-title{\n font-stretch: var(--font-normal);\n font-style: var(--font-normal);\n text-align: var(--text-center);\n padding-top:18px;\n margin-bottom: 10px;\n @media screen and ","{\n }\n @media screen and ","{\n padding-top:10px;\n }\n @media screen and ","{\n padding-top:18px;\n margin-bottom: 18px;\n }\n @media screen and ","{\n padding-top:26px;\n }\n }\n .spl-gap {\n padding-top:20px;\n @media screen and ",'{\n padding-top:60px;\n }\n }\n .spl-gap-less {\n // padding-top:30px;\n }\n .text-space-left{\n padding-left:20px;\n }\n .text-space-bottom{\n padding-bottom:20px\n }\n .text-space-right{\n padding-right:20px\n }\n \n .bg-green{\n background: var(--accent);\n }\n .bg-grey{\n background: var(--grey);\n }\n .text-style-uppercase{\n text-transform:uppercase;\n letter-spacing: 2.5px;\n }\n .container-component-style > p{\n text-align: justify;\n }\n \n /* .text-style-description{\n margin-bottom: 1.25rem;\n } */\n \n .container .container{\n padding: 0;\n }\n \n .container-fluid .spl-gap-less{\n padding-left: 0;\n padding-right: 0;\n }\n \n .container-component-style[class*="bg-"] .text-style-description{\n padding-top: 1rem;\n }\n .amarrHighlight {\n color: var(--accent) !important;\n > a:link, a:visited{\n color: var(--accent);\n }\n }\n \n .text-style-description{\n @media screen and ',"{\n // font-size: 24px;\n }\n &.text-style-underline{\n padding-top: 20px;\n @media screen and ","{\n padding-top: 30px;\n }\n }\n }\n \n .border-heading{\n border-bottom: 2px solid var(--black-t-1);\n width:100%;\n }\n \n ul li::marker {\n color: var(--mid-gray);\n }\n \n .cmp-container.container .head-text-cmp .container {\n padding-left: 20px;\n padding-right: 20px;\n }\n li.rte-green::marker{\n color: var(--accent);\n }\n \n .ul-indent-left {\n margin-left: 48px;\n }\n "]);return m=function(){return t},t}var u=l.default.div.withConfig({displayName:"styles__Content",componentId:"mdhm29-0"})(["",""],(function(t){var n;(null===(n=t.gradients)||void 0===n?void 0:n.visible)?t.theme.gradient:t.theme;return Object(l.css)(m(),s.b.tabletPortraitUp,s.b.tabletLandscapeAndUp,s.b.mediumDesktopMin,s.b.largeDesktopMin,s.b.smallDesktopAndUp,s.b.smallDesktopAndUp,s.b.smallDesktopAndUp)})),x=e(7),h=e(8),g=e(9),f={headingStyle:"",topMargin:!0,bottomMargin:!0,leftMargin:!0,rightMargin:!0,headingAlignment:"",titleSeparator:!0,bgColor:"",header:{text:""},body:{text:""}},A=function(t){var n=d()({},f,Object(i.g)(t.content));return Object(a.useEffect)((function(){$(".circle-ol, .square-ol, .number-ol").parent().css("list-style","none"),$(".rte-bullet-green").closest("li").addClass("rte-green"),$(".ul-indent").parent().parent().addClass("ul-indent-left")})),r.a.createElement(x.a,{setter:{componentThemes:c,selectedTheme:t.theme}},r.a.createElement(h.a,null,r.a.createElement(g.a,{padding:!1},r.a.createElement(u,{isReversed:!1},r.a.createElement("div",{className:"head-text-cmp hide-print-media ".concat(n.bgColor?"container-fluid":"container inner-container")},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-12 ".concat(n.topMargin?"spl-gap":"spl-gap-less","\n ").concat(n.leftMargin?"text-space-left":"","\n ").concat(n.bottomMargin?"text-space-bottom":"","\n ").concat(n.rightMargin?"text-space-right":"","\n ").concat("green"===n.bgColor?"bg-green":"","\n\n ").concat("grey"===n.bgColor?"bg-grey":""," container-component-style")},r.a.createElement("div",{className:"".concat(n.titleSeparator&&"border-heading")},r.a.createElement("div",{className:"container inner-container dealer-col"},"h1"===n.headingStyle&&n.header&&n.header.text&&r.a.createElement("h1",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":"")},n.header.text),"h2"===n.headingStyle&&n.header&&n.header.text&&r.a.createElement("h2",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"h3"===n.headingStyle&&n.header&&n.header.text&&r.a.createElement("h3",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"h4"===n.headingStyle&&n.header&&n.header.text&&r.a.createElement("h4",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"h5"===n.headingStyle&&n.header&&n.header.text&&r.a.createElement("h5",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"h6"===n.headingStyle&&n.header&&n.header.text&&r.a.createElement("h6",{className:"section-title ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text),"capitalize"===n.headingStyle&&n.header&&n.header.text&&r.a.createElement("div",{className:"section-title text-style-uppercase ".concat("left"===n.headingAlignment?"text-left":""," ").concat("right"===n.headingAlignment?"text-right":""," ").concat("center"===n.headingAlignment?"text-center":"")},n.header.text))),r.a.createElement("div",{className:"container inner-container dealer-col text-left"},n.body&&n.body.text&&r.a.createElement("p",{className:"text-style-description body-text1 ".concat(n.titleSeparator&&"text-style-underline"),dangerouslySetInnerHTML:{__html:n.body.text}})))))))))};A.defaultProps={theme:"",content:""};n.a=A}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assaabloy/amarr-wc-container",
3
- "version": "2.0.13",
3
+ "version": "2.0.16",
4
4
  "description": "Web component - Container",
5
5
  "type": "module",
6
6
  "main": "container.js",
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "author": "Nagarro",
13
13
  "license": "MIT",
14
- "gitHead": "7dd3c4369442b387351da7807a9979172dd760dc"
14
+ "gitHead": "e829daa3d97869783646ea176c9351551346192c"
15
15
  }