@molin.ai/shop-ai 0.8.31 → 0.8.33
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.
|
@@ -424,10 +424,10 @@ var au=Object.defineProperty;var Ks=t=>{throw TypeError(t)};var lu=(t,e,r)=>e in
|
|
|
424
424
|
<img
|
|
425
425
|
@error="${()=>{m(this,st,!0),this.requestUpdate()}}"
|
|
426
426
|
@load="${()=>{m(this,ot,!0),this.requestUpdate()}}"
|
|
427
|
-
src="https://molin.
|
|
427
|
+
src="https://molin.ai/cdn-cgi/image/w=70,fit=crop,format=auto,quality=75,dpr=1/${this.src}"
|
|
428
428
|
srcset="
|
|
429
|
-
https://molin.
|
|
430
|
-
https://molin.
|
|
429
|
+
https://molin.ai/cdn-cgi/image/w=70,fit=crop,format=auto,quality=75,dpr=1/${this.src} 1x,
|
|
430
|
+
https://molin.ai/cdn-cgi/image/w=70,fit=crop,format=auto,quality=75,dpr=2/${this.src} 2x
|
|
431
431
|
"
|
|
432
432
|
class="${l(this,ot)?"bg-white":""} h-full w-full object-contain"
|
|
433
433
|
loading="lazy" />
|
|
@@ -500,10 +500,10 @@ var au=Object.defineProperty;var Ks=t=>{throw TypeError(t)};var lu=(t,e,r)=>e in
|
|
|
500
500
|
${this.images.length>0?ve(this.images,o=>o,(o,u)=>h`
|
|
501
501
|
<!-- Cloudflare Images: resize the source image -->
|
|
502
502
|
<img
|
|
503
|
-
src="https://molin.
|
|
503
|
+
src="https://molin.ai/cdn-cgi/image/w=100,fit=scale-down,format=auto,quality=75,dpr=1/${o}"
|
|
504
504
|
srcset="
|
|
505
|
-
https://molin.
|
|
506
|
-
https://molin.
|
|
505
|
+
https://molin.ai/cdn-cgi/image/w=100,fit=scale-down,format=auto,quality=75,dpr=1/${o} 1x,
|
|
506
|
+
https://molin.ai/cdn-cgi/image/w=100,fit=scale-down,format=auto,quality=75,dpr=2/${o} 2x
|
|
507
507
|
"
|
|
508
508
|
alt="image ${u+1}: ${r}"
|
|
509
509
|
class="h-auto w-full flex-shrink-0 object-scale-down"
|
|
@@ -1021,7 +1021,7 @@ var au=Object.defineProperty;var Ks=t=>{throw TypeError(t)};var lu=(t,e,r)=>e in
|
|
|
1021
1021
|
<mw-popup
|
|
1022
1022
|
position="${s}"
|
|
1023
1023
|
delay="${this.config.popup?.delayMs||Yl({minMs:2e3,maxMs:5e3})}"
|
|
1024
|
-
sound="https://assets.molinai.io/2024/widget-v20241209/popup.aac"
|
|
1024
|
+
sound="${this.config.popup?.muteSounds?"":"https://assets.molinai.io/2024/widget-v20241209/popup.aac"}"
|
|
1025
1025
|
.content="${{desktop:{text:this.config.popup?.text||"Hello there. How can we help?",color:this.config?.bubble?.color||this.config.color},mobile:{title:this.config.popup?.mobileTitleText||`Chat with ${this.config.title}`,text:this.config.popup?.text||"Hello there. How can we help?",button:this.config.popup?.mobileButtonText||`Chat with ${this.config.title}`,color:this.config.color,poweredBy:!this.config.removePoweredBy}}}"
|
|
1026
1026
|
@mw:click="${y(this,N,nu)}"></mw-popup>
|
|
1027
1027
|
`:E}
|