@assaabloy/amarr-wc-counter-tile 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/counterTile.js +1 -1
  2. package/package.json +2 -2
package/counterTile.js CHANGED
@@ -1 +1 @@
1
- !function(e){function n(n){for(var r,a,i=n[0],c=n[1],d=n[2],s=0,f=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a][0]),o[a]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);for(l&&l(n);f.length;)f.shift()();return u.push.apply(u,d||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],r=!0,i=1;i<t.length;i++){var c=t[i];0!==o[c]&&(r=!1)}r&&(u.splice(n--,1),e=a(a.s=t[0]))}return e}var r={},o={15:0},u=[];function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=r,a.d=function(e,n,t){a.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,n){if(1&n&&(e=a(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)a.d(t,r,function(n){return e[n]}.bind(null,r));return t},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="/";var i=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=i.push.bind(i);i.push=n,i=i.slice();for(var d=0;d<i.length;d++)n(i[d]);var l=c;u.push([476,0]),t()}({0:function(e,n){e.exports=React},1:function(e,n,t){"use strict";t.d(n,"g",(function(){return o})),t.d(n,"T",(function(){return u})),t.d(n,"i",(function(){return a})),t.d(n,"C",(function(){return i})),t.d(n,"F",(function(){return c})),t.d(n,"u",(function(){return d})),t.d(n,"A",(function(){return l})),t.d(n,"n",(function(){return s})),t.d(n,"q",(function(){return f})),t.d(n,"H",(function(){return p})),t.d(n,"G",(function(){return w})),t.d(n,"O",(function(){return m})),t.d(n,"D",(function(){return x})),t.d(n,"t",(function(){return g})),t.d(n,"h",(function(){return b})),t.d(n,"s",(function(){return h})),t.d(n,"x",(function(){return y})),t.d(n,"v",(function(){return v})),t.d(n,"B",(function(){return O})),t.d(n,"r",(function(){return C})),t.d(n,"P",(function(){return D})),t.d(n,"p",(function(){return z})),t.d(n,"I",(function(){return A})),t.d(n,"E",(function(){return Z})),t.d(n,"Q",(function(){return P})),t.d(n,"l",(function(){return _})),t.d(n,"j",(function(){return E})),t.d(n,"m",(function(){return T})),t.d(n,"k",(function(){return $})),t.d(n,"y",(function(){return B})),t.d(n,"K",(function(){return M})),t.d(n,"w",(function(){return S})),t.d(n,"R",(function(){return H})),t.d(n,"S",(function(){return k})),t.d(n,"b",(function(){return F})),t.d(n,"N",(function(){return U})),t.d(n,"z",(function(){return R})),t.d(n,"a",(function(){return I})),t.d(n,"d",(function(){return J})),t.d(n,"f",(function(){return W})),t.d(n,"e",(function(){return G})),t.d(n,"V",(function(){return q})),t.d(n,"c",(function(){return L})),t.d(n,"U",(function(){return V})),t.d(n,"J",(function(){return K})),t.d(n,"L",(function(){return Q})),t.d(n,"M",(function(){return X})),t.d(n,"o",(function(){return Y}));var r=t(3),o=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},u=function(e){return btoa(unescape(encodeURIComponent(e)))},a=function(e){return e.toUpperCase()},i=function(e){return e.replaceAll(" ","-").toLowerCase()},c=new r.a(!1),d=new r.a(!1),l=new r.a(!1),s=new r.a(!1),f=new r.a(""),p=new r.a(!1),w=new r.a(!1),m=new r.a(!1),x=new r.a(!1),g=new r.a(!1),b=new r.a(!1),h=new r.a(""),y=new r.a(!0),v=new r.a(!0),O=new r.a(!0),C=new r.a(!0),D=new r.a(!0),z=new r.a(!0),A=new r.a({}),j=new r.a(!1),N=0,Z=new r.a(!1),P=new r.a(""),_=new r.a(""),E=new r.a(""),T=new r.a(""),$=new r.a(""),B=new r.a(""),M=new r.a(""),S=new r.a(!1),H=new r.a(!1),k=new r.a(!1),F=function(){setTimeout((function(){N++,j.next(!0)}),0)},U=function(){setTimeout((function(){N>0&&N--,0==N&&j.next(!1)}),0)},R=function(){return j.asObservable()},I=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)},J=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},W=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)},q=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},L=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,n){return e=e?Number(e):0,(0===(n=n?Number(n):0)||"0"===n?0:(e-n)/n*100).toFixed(2)},Y=function(e){var n={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&&(n.color=e.selectedColor),e.colorHex&&(n.colorHex=e.colorHex),e.colorZone&&(n.colorZone=e.colorZone),e.selectedConstruction&&(n.model=e.selectedConstruction),e.selectedWindowDesign&&(n.top=e.selectedWindowDesign),e.glazepattern&&(n.glazepattern=e.glazepattern),e.selectedHardware&&(n.hardware=e.selectedHardware),n}},17:function(e,n){e.exports=ReactDOM},385:function(e,n,t){"use strict";t.r(n);var r=t(13),o=t(97);n.default=r.a.create({component:o.a,configuration:{tagname:"amarr-countertile",useShadow:!1},plugins:[]})},97:function(e,n,t){"use strict";var r=t(0),o=t.n(r),u=t(4).default.section.withConfig({displayName:"styles__Content",componentId:"sc-3zgpet-0"})(["section{width:calc(100% -30px);}.counter-container{display:flex;gap:20px;margin-top:10px;@media screen and (max-width:767px){flex-wrap:wrap;justify-content:center;gap:25px;row-gap:15px;margin:6px 0px 10px;}}.counter-item{border:solid 1px #B6B9BB;padding:20px;width:40%;border-bottom-left-radius:4px;border-bottom-right-radius:4px;&.green{border-top:solid 10px #006166;}&.light-green{border-top:solid 10px #B2CFD1;}&.medium-green{border-top:solid 10px #478C91;}&.dark-grey{border-top:solid 10px #333333;}@media screen and (max-width:767px){width:45%;padding:10px 60px 0px 18px;&.green{border-top:solid 6px #006166;}&.light-green{border-top:solid 6px #B2CFD1;}&.medium-green{border-top:solid 6px #478C91;}&.dark-grey{border-top:solid 6px #333333;}}@media screen and (max-width:300px){width:100%;padding:20px;}}"]),a=t(1),i=t(154),c=t.n(i),d=function(e){var n=e.counterTileData,t=Object(a.g)(n);return o.a.createElement(u,null,o.a.createElement("section",{className:"container"},o.a.createElement("div",{className:"counter-container"},t.counterTileData&&t.counterTileData.length>0&&t.counterTileData.map((function(e,n){return o.a.createElement("div",{key:n,className:"counter-item ".concat(e.topBorderColor)},o.a.createElement("h1",null,o.a.createElement("span",{className:"counter"},o.a.createElement(c.a,{end:Number(e.counterValue),duration:5,delay:0})),o.a.createElement("span",null,e.suffix.text)),o.a.createElement("p",{className:"body-text2"},e.counter.text))})))))};d.defaultProps={theme:"",counterTileData:""};n.a=d}});
1
+ !function(t){function n(n){for(var a,i,d=n[0],p=n[1],c=n[2],u=0,s=[];u<d.length;u++)i=d[u],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&s.push(r[i][0]),r[i]=0;for(a in p)Object.prototype.hasOwnProperty.call(p,a)&&(t[a]=p[a]);for(l&&l(n);s.length;)s.shift()();return o.push.apply(o,c||[]),e()}function e(){for(var t,n=0;n<o.length;n++){for(var e=o[n],a=!0,d=1;d<e.length;d++){var p=e[d];0!==r[p]&&(a=!1)}a&&(o.splice(n--,1),t=i(i.s=e[0]))}return t}var a={},r={15:0},o=[];function i(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,i),e.l=!0,e.exports}i.m=t,i.c=a,i.d=function(t,n,e){i.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,n){if(1&n&&(t=i(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(i.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var a in t)i.d(e,a,function(n){return t[n]}.bind(null,a));return e},i.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(n,"a",n),n},i.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},i.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],p=d.push.bind(d);d.push=n,d=d.slice();for(var c=0;c<d.length;c++)n(d[c]);var l=p;o.push([809,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)")}},101:function(t,n,e){"use strict";var a=e(0),r=e.n(a),o=e(2),i=e(162),d=e.n(i),p=e(12),c=e.n(p),l={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},u=e(11),s=e(5),m=e(1);function x(){var t=Object(u.a)(["\n section{\n width: calc(100% -30px);\n }\n .counter-container{\n display: flex;\n gap: 20px;\n margin-top: 10px;\n @media screen and ","{\n flex-wrap: wrap;\n justify-content: center;\n gap: 25px;\n row-gap: 15px;\n margin: 6px 0px 10px;\n }\n }\n .counter-item {\n border: solid 1px var(--border-color-soft);\n padding: 20px;\n width: 40%;\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n \n &.green {\n border-top: solid 10px var(--accent);\n }\n \n &.light-green {\n border-top: solid 10px var(--accent-inverse);\n }\n \n &.medium-green {\n border-top: solid 10px var(--accent-medium-green);\n }\n \n &.dark-grey {\n border-top: solid 10px var(--text-color);\n }\n \n /* h1 {\n color: var(--accent);\n } */\n @media screen and ","{\n width: 45%;\n padding: 10px 60px 0px 18px;\n &.green {\n border-top: solid 6px var(--accent);\n }\n \n &.light-green {\n border-top: solid 6px var(--accent-inverse);\n }\n \n &.medium-green {\n border-top: solid 6px var(--accent-medium-green);\n }\n \n &.dark-grey {\n border-top: solid 6px var(--text-color);\n }\n }\n @media screen and "," {\n width: 100%;\n padding: 20px;\n }\n }\n "]);return x=function(){return t},t}var f=s.default.div.withConfig({displayName:"styles__Content",componentId:"sc-2e9w0g-0"})(["",""],(function(t){var n;(null===(n=t.gradients)||void 0===n?void 0:n.visible)?t.theme.gradient:t.theme;return Object(s.css)(x(),m.b.mobileMax,m.b.mobileMax,m.b.mobile1AndUp)})),h=e(7),w=e(8),A=e(9),U={counterTileData:[{counterValue:"",suffix:{text:""},counter:{text:""},topBorderColor:""}]},b=function(t){var n=c()({},U,Object(o.g)(t.content));return r.a.createElement(h.a,{setter:{componentThemes:l,selectedTheme:t.theme}},r.a.createElement(w.a,null,r.a.createElement(A.a,{padding:!1},r.a.createElement(f,{isReversed:!1},r.a.createElement("section",{className:"container inner-container"},r.a.createElement("div",{className:"counter-container"},n.counterTileData&&n.counterTileData.length>0&&n.counterTileData.map((function(t,n){return r.a.createElement("div",{key:n,className:"counter-item ".concat(t.topBorderColor)},r.a.createElement("h1",null,r.a.createElement("span",{className:"counter"},r.a.createElement(d.a,{end:Number(t.counterValue),duration:5,delay:0})),r.a.createElement("span",null,t.suffix.text)),r.a.createElement("p",{className:"body-text2"},t.counter.text))}))))))))};b.defaultProps={theme:"",content:""};n.a=b},2:function(t,n,e){"use strict";e.d(n,"g",(function(){return r})),e.d(n,"T",(function(){return o})),e.d(n,"i",(function(){return i})),e.d(n,"C",(function(){return d})),e.d(n,"F",(function(){return p})),e.d(n,"u",(function(){return c})),e.d(n,"A",(function(){return l})),e.d(n,"n",(function(){return u})),e.d(n,"q",(function(){return s})),e.d(n,"H",(function(){return m})),e.d(n,"G",(function(){return x})),e.d(n,"O",(function(){return f})),e.d(n,"D",(function(){return h})),e.d(n,"t",(function(){return w})),e.d(n,"h",(function(){return A})),e.d(n,"s",(function(){return U})),e.d(n,"x",(function(){return b})),e.d(n,"v",(function(){return g})),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 P})),e.d(n,"E",(function(){return W})),e.d(n,"Q",(function(){return C})),e.d(n,"l",(function(){return E})),e.d(n,"j",(function(){return j})),e.d(n,"m",(function(){return N})),e.d(n,"k",(function(){return z})),e.d(n,"y",(function(){return T})),e.d(n,"K",(function(){return _})),e.d(n,"w",(function(){return Z})),e.d(n,"R",(function(){return L})),e.d(n,"S",(function(){return S})),e.d(n,"b",(function(){return $})),e.d(n,"N",(function(){return H})),e.d(n,"z",(function(){return R})),e.d(n,"a",(function(){return I})),e.d(n,"d",(function(){return F})),e.d(n,"f",(function(){return J})),e.d(n,"e",(function(){return B})),e.d(n,"V",(function(){return G})),e.d(n,"c",(function(){return V})),e.d(n,"U",(function(){return q})),e.d(n,"J",(function(){return K})),e.d(n,"L",(function(){return Q})),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))))},o=function(t){return btoa(unescape(encodeURIComponent(t)))},i=function(t){return t.toUpperCase()},d=function(t){return t.replaceAll(" ","-").toLowerCase()},p=new a.a(!1),c=new a.a(!1),l=new a.a(!1),u=new a.a(!1),s=new a.a(""),m=new a.a(!1),x=new a.a(!1),f=new a.a(!1),h=new a.a(!1),w=new a.a(!1),A=new a.a(!1),U=new a.a(""),b=new a.a(!0),g=new a.a(!0),k=new a.a(!0),M=new a.a(!0),D=new a.a(!0),v=new a.a(!0),P=new a.a({}),y=new a.a(!1),O=0,W=new a.a(!1),C=new a.a(""),E=new a.a(""),j=new a.a(""),N=new a.a(""),z=new a.a(""),T=new a.a(""),_=new a.a(""),Z=new a.a(!1),L=new a.a(!1),S=new a.a(!1),$=function(){setTimeout((function(){O++,y.next(!0)}),0)},H=function(){setTimeout((function(){O>0&&O--,0==O&&y.next(!1)}),0)},R=function(){return y.asObservable()},I=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)},B=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)},V=function(t){return/^[0-9]*$/.test(t)},q=function(t){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(t)},K=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},Q=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 i}));var a=e(5),r=e(0),o=e.n(r),i=function(t){var n=t.setter,e=n.componentThemes,r=n.selectedTheme;return o.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)}},717:function(t,n,e){"use strict";e.r(n);var a=e(21),r=e(101);n.default=a.a.create({component:r.a,configuration:{tagname:"amarr-countertile",useShadow:!1},plugins:[]})},8:function(t,n,e){"use strict";var a=e(0),r=e.n(a),o=e(5),i=e(20),d=e.n(i),p=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(i){console.log(i)}var a=n?[d.a]:[];return r.a.createElement(o.StyleSheetManager,{stylisPlugins:a},r.a.createElement(p.Provider,{value:{rtl:n}},t.children))}},9:function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var a=e(0),r=e.n(a),o=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));"})),i=function(t){var n=t.className,e=t.children,a=t.maxWidth,i=void 0===a?1520:a,d=t.padding,p=void 0===d||d;return r.a.createElement(o,{className:n,maxWidth:i,padding:p},e)}}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assaabloy/amarr-wc-counter-tile",
3
- "version": "2.0.13",
3
+ "version": "2.0.16",
4
4
  "description": "Web component - Counter Tile",
5
5
  "type": "module",
6
6
  "main": "counterTile.js",
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "author": "Nagarro",
13
13
  "license": "MIT",
14
- "gitHead": "7dd3c4369442b387351da7807a9979172dd760dc"
14
+ "gitHead": "e829daa3d97869783646ea176c9351551346192c"
15
15
  }