@molin.ai/shop-ai 0.6.42 → 0.6.43
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.
|
@@ -139,7 +139,7 @@ var ep=Object.defineProperty;var ha=n=>{throw TypeError(n)};var tp=(n,e,t)=>e in
|
|
|
139
139
|
<!-- render status (if any) -->
|
|
140
140
|
${this.status==="sent"?D`
|
|
141
141
|
<!-- tick mark -->
|
|
142
|
-
<svg class="ml-auto h-3 w-3 text-gray-
|
|
142
|
+
<svg class="ml-auto h-3 w-3 text-gray-400" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">
|
|
143
143
|
<path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5" />
|
|
144
144
|
</svg>
|
|
145
145
|
`:N}
|
|
@@ -203,7 +203,7 @@ var ep=Object.defineProperty;var ha=n=>{throw TypeError(n)};var tp=(n,e,t)=>e in
|
|
|
203
203
|
`}
|
|
204
204
|
|
|
205
205
|
<!-- this is the 2nd (inner) div that will natively stick/scroll to bottom -->
|
|
206
|
-
<div>
|
|
206
|
+
<div class="pt-20">
|
|
207
207
|
${ti(Array.from(t),([i])=>i,([i,r])=>D`
|
|
208
208
|
<div class="my-2 text-center text-xs text-gray-500">${Nl(new Date(Number(i)),window.navigator.language)}</div>
|
|
209
209
|
${ti(r??[],s=>s.id,(s,o)=>{let l=r[o+1]?.role===s.role,c=(o>0?r[o-1]:void 0)?.role===s.role,f=(r.length>0?r[r.length-1]:void 0)?.id===s.id;switch(!0){case(f&&!c&&!l):S(this,ot,"single-current");break;case(!c&&!l):S(this,ot,"single");break;case(!c&&l):S(this,ot,"first");break;case(f&&c&&!l):S(this,ot,"last-current");break;case(c&&!l):S(this,ot,"last");break;case(c&&l):S(this,ot,"middle");break;default:S(this,ot,"single")}let d=h(this,ae).isLiveMode&&s.role==="user"&&s.id===h(this,ae).lastMsg?.id?"sent":"";return D`
|