@assaabloy/amarr-wc-image-text 1.0.46 → 1.0.47

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/imageText.js +1 -1
  2. package/package.json +2 -2
package/imageText.js CHANGED
@@ -1 +1 @@
1
- !function(n){function t(t){for(var r,o,u=t[0],c=t[1],f=t[2],d=0,s=[];d<u.length;d++)o=u[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(n[r]=c[r]);for(l&&l(t);s.length;)s.shift()();return i.push.apply(i,f||[]),e()}function e(){for(var n,t=0;t<i.length;t++){for(var e=i[t],r=!0,u=1;u<e.length;u++){var c=e[u];0!==a[c]&&(r=!1)}r&&(i.splice(t--,1),n=o(o.s=e[0]))}return n}var r={},a={52:0},i=[];function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=n,o.c=r,o.d=function(n,t,e){o.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},o.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.t=function(n,t){if(1&t&&(n=o(n)),8&t)return n;if(4&t&&"object"===typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var r in n)o.d(e,r,function(t){return n[t]}.bind(null,r));return e},o.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(t,"a",t),t},o.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},o.p="/";var u=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=u.push.bind(u);u.push=t,u=u.slice();for(var f=0;f<u.length;f++)t(u[f]);var l=c;i.push([495,0]),e()}({0:function(n,t){n.exports=React},1:function(n,t,e){"use strict";e.d(t,"g",(function(){return a})),e.d(t,"E",(function(){return i})),e.d(t,"i",(function(){return o})),e.d(t,"u",(function(){return u})),e.d(t,"n",(function(){return c})),e.d(t,"w",(function(){return f})),e.d(t,"q",(function(){return l})),e.d(t,"t",(function(){return d})),e.d(t,"m",(function(){return s})),e.d(t,"o",(function(){return m})),e.d(t,"x",(function(){return p})),e.d(t,"B",(function(){return g})),e.d(t,"p",(function(){return x})),e.d(t,"h",(function(){return b})),e.d(t,"v",(function(){return v})),e.d(t,"C",(function(){return y})),e.d(t,"l",(function(){return O})),e.d(t,"j",(function(){return _})),e.d(t,"k",(function(){return E})),e.d(t,"z",(function(){return j})),e.d(t,"r",(function(){return A})),e.d(t,"D",(function(){return T})),e.d(t,"b",(function(){return S})),e.d(t,"A",(function(){return P})),e.d(t,"s",(function(){return z})),e.d(t,"a",(function(){return C})),e.d(t,"d",(function(){return M})),e.d(t,"f",(function(){return N})),e.d(t,"e",(function(){return $})),e.d(t,"c",(function(){return Z})),e.d(t,"F",(function(){return I})),e.d(t,"y",(function(){return k}));var r=e(3),a=function(n){return JSON.parse(decodeURIComponent(escape(atob(n))))},i=function(n){return btoa(unescape(encodeURIComponent(n)))},o=function(n){return n.toUpperCase()},u=function(n){return n.replaceAll(" ","-").toLowerCase()},c=new r.a(!1),f=new r.a(!1),l=new r.a(!1),d=new r.a(!1),s=new r.a(!1),m=new r.a(""),p=new r.a(!1),g=new r.a(!1),x=new r.a(!1),b=new r.a(!1),w=new r.a(!1),h=0,v=new r.a(!1),y=new r.a(""),O=new r.a(""),_=new r.a(""),E=new r.a(""),j=new r.a(""),A=new r.a(!1),T=new r.a(!1),S=function(){setTimeout((function(){h++,w.next(!0)}),0)},P=function(){setTimeout((function(){h>0&&h--,0==h&&w.next(!1)}),0)},z=function(){return w.asObservable()},C=function(n){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(n)},M=function(n){return n.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},N=function(n){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(n)},$=function(n){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(n)},Z=function(n){return/^[0-9]*$/.test(n)},I=function(n){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(n)},k=function(n){if(n&&""!==n){return"("+n.substring(0,3)+") "+n.substring(3,6)+"-"+n.substring(6,n.length)}return n}},111:function(n,t,e){"use strict";var r=e(0),a=e.n(r),i=e(4).default.section.withConfig({displayName:"styles__Content",componentId:"sc-6xcgrd-0"})([".image-text-container{display:flex;align-items:center;gap:30px;padding-bottom:17px;.text-container{max-width:73.5%;}p{margin-bottom:0px;}}@media(min-width:1024px) and (max-width:1440px){.img-container{max-width:14%;}}@media screen and (max-width:767px){.image-text-container{display:block;.text-container{padding-top:10px;max-width:100%;}}.image-text-container-mobile-inline{display:flex;.text-container{width:80%;}}}"]),o=e(1),u=function(n){var t=n.imageTextData,e=Object(o.g)(t);return a.a.createElement(i,null,"right"===e.textOrientation&&a.a.createElement("div",{className:"image-text-container ".concat("inline"===e.mobileAlignment&&"image-text-container-mobile-inline","\n ")},a.a.createElement("div",{className:"img-container"},a.a.createElement("img",{src:e.image.url,alt:e.image.altText})),a.a.createElement("div",{className:"text-container"},a.a.createElement("div",{dangerouslySetInnerHTML:{__html:e.body.text}}))),"left"===e.textOrientation&&a.a.createElement("div",{className:"image-text-container ".concat("inline"===e.mobileAlignment&&"image-text-container-mobile-inline","\n ")},a.a.createElement("div",{className:"text-container"},a.a.createElement("div",{dangerouslySetInnerHTML:{__html:e.body.text}})),a.a.createElement("div",null,a.a.createElement("img",{src:e.image.url,alt:e.image.altText}))))};u.defaultProps={theme:"",imageTextData:""};t.a=u},19:function(n,t){n.exports=ReactDOM},407:function(n,t,e){"use strict";e.r(t);var r=e(13),a=e(111);t.default=r.a.create({component:a.a,configuration:{tagname:"amarr-imagetext",useShadow:!1},plugins:[]})}});
1
+ !function(n){function t(t){for(var r,o,u=t[0],c=t[1],f=t[2],d=0,s=[];d<u.length;d++)o=u[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(n[r]=c[r]);for(l&&l(t);s.length;)s.shift()();return i.push.apply(i,f||[]),e()}function e(){for(var n,t=0;t<i.length;t++){for(var e=i[t],r=!0,u=1;u<e.length;u++){var c=e[u];0!==a[c]&&(r=!1)}r&&(i.splice(t--,1),n=o(o.s=e[0]))}return n}var r={},a={52:0},i=[];function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=n,o.c=r,o.d=function(n,t,e){o.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},o.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.t=function(n,t){if(1&t&&(n=o(n)),8&t)return n;if(4&t&&"object"===typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var r in n)o.d(e,r,function(t){return n[t]}.bind(null,r));return e},o.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(t,"a",t),t},o.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},o.p="/";var u=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=u.push.bind(u);u.push=t,u=u.slice();for(var f=0;f<u.length;f++)t(u[f]);var l=c;i.push([495,0]),e()}({0:function(n,t){n.exports=React},1:function(n,t,e){"use strict";e.d(t,"g",(function(){return a})),e.d(t,"D",(function(){return i})),e.d(t,"i",(function(){return o})),e.d(t,"t",(function(){return u})),e.d(t,"v",(function(){return c})),e.d(t,"p",(function(){return f})),e.d(t,"s",(function(){return l})),e.d(t,"m",(function(){return d})),e.d(t,"n",(function(){return s})),e.d(t,"w",(function(){return m})),e.d(t,"A",(function(){return p})),e.d(t,"o",(function(){return g})),e.d(t,"h",(function(){return x})),e.d(t,"u",(function(){return h})),e.d(t,"B",(function(){return v})),e.d(t,"l",(function(){return y})),e.d(t,"j",(function(){return O})),e.d(t,"k",(function(){return _})),e.d(t,"y",(function(){return E})),e.d(t,"q",(function(){return j})),e.d(t,"C",(function(){return A})),e.d(t,"b",(function(){return T})),e.d(t,"z",(function(){return S})),e.d(t,"r",(function(){return P})),e.d(t,"a",(function(){return z})),e.d(t,"d",(function(){return C})),e.d(t,"f",(function(){return M})),e.d(t,"e",(function(){return N})),e.d(t,"c",(function(){return $})),e.d(t,"E",(function(){return Z})),e.d(t,"x",(function(){return I}));var r=e(3),a=function(n){return JSON.parse(decodeURIComponent(escape(atob(n))))},i=function(n){return btoa(unescape(encodeURIComponent(n)))},o=function(n){return n.toUpperCase()},u=function(n){return n.replaceAll(" ","-").toLowerCase()},c=new r.a(!1),f=new r.a(!1),l=new r.a(!1),d=new r.a(!1),s=new r.a(""),m=new r.a(!1),p=new r.a(!1),g=new r.a(!1),x=new r.a(!1),b=new r.a(!1),w=0,h=new r.a(!1),v=new r.a(""),y=new r.a(""),O=new r.a(""),_=new r.a(""),E=new r.a(""),j=new r.a(!1),A=new r.a(!1),T=function(){setTimeout((function(){w++,b.next(!0)}),0)},S=function(){setTimeout((function(){w>0&&w--,0==w&&b.next(!1)}),0)},P=function(){return b.asObservable()},z=function(n){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(n)},C=function(n){return n.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},M=function(n){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(n)},N=function(n){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(n)},$=function(n){return/^[0-9]*$/.test(n)},Z=function(n){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(n)},I=function(n){if(n&&""!==n){return"("+n.substring(0,3)+") "+n.substring(3,6)+"-"+n.substring(6,n.length)}return n}},111:function(n,t,e){"use strict";var r=e(0),a=e.n(r),i=e(4).default.section.withConfig({displayName:"styles__Content",componentId:"sc-6xcgrd-0"})([".image-text-container{display:flex;align-items:center;gap:30px;padding-bottom:17px;.text-container{max-width:73.5%;}p{margin-bottom:0px;}}@media(min-width:1024px) and (max-width:1440px){.img-container{max-width:14%;}}@media screen and (max-width:767px){.image-text-container{display:block;.text-container{padding-top:10px;max-width:100%;}}.image-text-container-mobile-inline{display:flex;.text-container{width:80%;}}}"]),o=e(1),u=function(n){var t=n.imageTextData,e=Object(o.g)(t);return a.a.createElement(i,null,"right"===e.textOrientation&&a.a.createElement("div",{className:"image-text-container ".concat("inline"===e.mobileAlignment&&"image-text-container-mobile-inline","\n ")},a.a.createElement("div",{className:"img-container"},a.a.createElement("img",{src:e.image.url,alt:e.image.altText})),a.a.createElement("div",{className:"text-container"},a.a.createElement("div",{dangerouslySetInnerHTML:{__html:e.body.text}}))),"left"===e.textOrientation&&a.a.createElement("div",{className:"image-text-container ".concat("inline"===e.mobileAlignment&&"image-text-container-mobile-inline","\n ")},a.a.createElement("div",{className:"text-container"},a.a.createElement("div",{dangerouslySetInnerHTML:{__html:e.body.text}})),a.a.createElement("div",null,a.a.createElement("img",{src:e.image.url,alt:e.image.altText}))))};u.defaultProps={theme:"",imageTextData:""};t.a=u},19:function(n,t){n.exports=ReactDOM},407:function(n,t,e){"use strict";e.r(t);var r=e(13),a=e(111);t.default=r.a.create({component:a.a,configuration:{tagname:"amarr-imagetext",useShadow:!1},plugins:[]})}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assaabloy/amarr-wc-image-text",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "description": "Web component - Image Text",
5
5
  "type": "module",
6
6
  "main": "imageText.js",
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "author": "Nagarro",
13
13
  "license": "MIT",
14
- "gitHead": "ebce3e1e9343d908209654cb538c42472596e5ff"
14
+ "gitHead": "73335ddb2697c6866843ccd497fc8e32f98903f8"
15
15
  }