cloudcommerce 0.8.3 → 0.8.5
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.
- package/CHANGELOG.md +27 -0
- package/ecomplus-stores/monocard/functions/core/package.json +1 -1
- package/ecomplus-stores/monocard/functions/events/package.json +2 -2
- package/ecomplus-stores/monocard/functions/modules/package.json +2 -2
- package/ecomplus-stores/monocard/functions/passport/package.json +2 -2
- package/ecomplus-stores/monocard/functions/ssr/package.json +7 -7
- package/ecomplus-stores/monocard/functions/ssr/scripts/build.sh +12 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/CasesGrid.astro +1 -1
- package/ecomplus-stores/monocard/functions/ssr/src/components/FeatureTabs.astro +2 -4
- package/ecomplus-stores/monocard/package.json +1 -1
- package/package.json +9 -9
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/lib-mjs/calculate-correios.mjs +3 -3
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +2 -2
- package/packages/apps/fb-conversions/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/galaxpay/package.json +1 -1
- package/packages/apps/google-analytics/package.json +1 -1
- package/packages/apps/infinitepay/package.json +1 -1
- package/packages/apps/jadlog/package.json +1 -1
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/melhor-envio/package.json +1 -1
- package/packages/apps/mercadopago/package.json +1 -1
- package/packages/apps/pagarme/package.json +1 -1
- package/packages/apps/paghiper/package.json +1 -1
- package/packages/apps/pix/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/apps/webhooks/package.json +1 -1
- package/packages/cli/package.json +2 -2
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +1 -1
- package/packages/storefront/astro.config.mjs +1 -1
- package/packages/storefront/dist/client/_astro/{PitchBar.db7cd775.js → PitchBar.5d55c359.js} +1 -1
- package/packages/storefront/dist/client/_astro/{ShopHeader.e93c8274.js → ShopHeader.6bbe1a17.js} +1 -1
- package/packages/storefront/dist/client/_astro/_...slug_.3beb11c8.css +1 -0
- package/packages/storefront/dist/client/_astro/{firebase-app.72e91a3e.js → firebase-app.d090c84e.js} +5 -5
- package/packages/storefront/dist/client/_astro/{hoisted.721ad75d.js → hoisted.541b5c05.js} +1 -1
- package/packages/storefront/dist/client/_astro/index.ff4f0b30.js +1 -0
- package/packages/storefront/dist/client/_astro/{workbox-window.prod.es5.295a6886.js → workbox-window.prod.es5.dc90f814.js} +1 -1
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/server/chunks/pages/{all.27c6aee2.mjs → all.857ce59d.mjs} +128 -43
- package/packages/storefront/dist/server/entry.mjs +2 -2
- package/packages/storefront/package.json +6 -6
- package/packages/storefront/scripts/build-prod.sh +18 -6
- package/packages/storefront/src/images/Picture.runtime.astro +52 -0
- package/packages/storefront/src/{serverless/get-image.ts → images/get-built-image.ts} +3 -3
- package/packages/storefront/src/{serverless/get-picture.ts → images/get-built-picture.ts} +3 -3
- package/packages/storefront/src/images/use-ssr-picture.ts +138 -0
- package/packages/storefront/src/lib/assets/base.css +0 -5
- package/packages/storefront/src/lib/components/Picture.astro +23 -63
- package/packages/storefront/src/lib/layouts/BaseBody.astro +5 -3
- package/packages/storefront/src/lib/layouts/BaseHead.astro +15 -7
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/_astro/_...slug_.0607a6ef.css +0 -1
- package/packages/storefront/dist/client/_astro/index.16f33784.js +0 -1
- package/packages/storefront/src/serverless/Picture.runtime.astro +0 -92
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.8.5](https://github.com/ecomplus/cloud-commerce/compare/v0.8.4...v0.8.5) (2023-03-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **storefront:** Make <Picture> `sizes` optional and parse it from `.max-w-[]` classes or `widths` ([cf1eb58](https://github.com/ecomplus/cloud-commerce/commit/cf1eb5825e8074f0099eb8725cb507f9ac90d934))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **deps:** Update non-major dependencies ([#133](https://github.com/ecomplus/cloud-commerce/issues/133)) ([97d058b](https://github.com/ecomplus/cloud-commerce/commit/97d058b57c017a980ecc8599bd11fc7d8d6d938c))
|
|
16
|
+
* **emails:** Bump `@ecomplus/transactional-mails` to v2 ([ad920af](https://github.com/ecomplus/cloud-commerce/commit/ad920afe5ff76310f6ecd7365ca60ad4dcf10809))
|
|
17
|
+
* **storefront:** Prefer setting <Picture> sources sizes by max-width media queries ([8e377bb](https://github.com/ecomplus/cloud-commerce/commit/8e377bb6ac438397930a17f8e88e60198c1c03cd))
|
|
18
|
+
* **storefront:** Remove `width: auto;` on <Picture> images to fix CLS errors ([4df40be](https://github.com/ecomplus/cloud-commerce/commit/4df40be5e47b897b21988346a07086ca457dec16))
|
|
19
|
+
|
|
20
|
+
### [0.8.4](https://github.com/ecomplus/cloud-commerce/compare/v0.8.3...v0.8.4) (2023-03-18)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* **storefront:** Update custom `<Picture>` to support lazy load libs with `hasImg={false}` prop ([be9bbdc](https://github.com/ecomplus/cloud-commerce/commit/be9bbdc46635717b52dd23ab0f5daec11c3a37a8))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **storefront:** Fix built (fav)icon format to png only ([e02b3cc](https://github.com/ecomplus/cloud-commerce/commit/e02b3cc0e35d7330c4c317e1a7d70e0032844afc))
|
|
31
|
+
|
|
5
32
|
### [0.8.3](https://github.com/ecomplus/cloud-commerce/compare/v0.8.2...v0.8.3) (2023-03-18)
|
|
6
33
|
|
|
7
34
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "astro dev --host",
|
|
7
|
-
"build": "
|
|
7
|
+
"build": "sh scripts/build.sh",
|
|
8
8
|
"build:static": "BUILD_OUTPUT=static astro build",
|
|
9
9
|
"serve": "firebase emulators:start --only functions",
|
|
10
10
|
"shell": "firebase functions:shell",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@astrojs/node": "5.1.0",
|
|
21
|
-
"@cloudcommerce/api": "^0.8.
|
|
22
|
-
"@cloudcommerce/firebase": "^0.8.
|
|
23
|
-
"@cloudcommerce/ssr": "^0.8.
|
|
21
|
+
"@cloudcommerce/api": "^0.8.4",
|
|
22
|
+
"@cloudcommerce/firebase": "^0.8.4",
|
|
23
|
+
"@cloudcommerce/ssr": "^0.8.4",
|
|
24
24
|
"@vueuse/motion": "2.0.0-beta.22"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@cloudcommerce/i18n": "^0.8.
|
|
28
|
-
"@cloudcommerce/storefront": "^0.8.
|
|
29
|
-
"@cloudcommerce/types": "^0.8.
|
|
27
|
+
"@cloudcommerce/i18n": "^0.8.4",
|
|
28
|
+
"@cloudcommerce/storefront": "^0.8.4",
|
|
29
|
+
"@cloudcommerce/types": "^0.8.4",
|
|
30
30
|
"@fontsource/inter": "^4.5.15",
|
|
31
31
|
"@iconify-json/ri": "^1.1.5",
|
|
32
32
|
"@iconify-json/wpf": "^1.1.4",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# workaround for cloudcommerce pnpm monorepo
|
|
4
|
+
filename="../../../packages/storefront/scripts/build-prod.sh"
|
|
5
|
+
if [[ -f $filename ]]; then
|
|
6
|
+
sh $filename
|
|
7
|
+
elif [[ -f "../$filename" ]]; then
|
|
8
|
+
sh "../$filename"
|
|
9
|
+
else
|
|
10
|
+
echo '> npx storefront build'
|
|
11
|
+
npx storefront build
|
|
12
|
+
fi
|
|
@@ -9,15 +9,13 @@ import FeatureTabs from '~/components/FeatureTabs.vue';
|
|
|
9
9
|
src={'/img/uploads/card-phone.png'}
|
|
10
10
|
alt="Monocard com tecnologia NFC: aproxime o smartphone para compartilhar"
|
|
11
11
|
widths={[494, 588]}
|
|
12
|
-
|
|
13
|
-
class="sm:h-72 mx-auto"
|
|
12
|
+
class="sm:h-72 mx-auto max-w-[247px] sm:max-w-[294px]"
|
|
14
13
|
/>
|
|
15
14
|
<Picture
|
|
16
15
|
slot="picture-qrcode"
|
|
17
16
|
src={'/img/uploads/qrcode-camera.png'}
|
|
18
17
|
alt="Monocard com QR Code: basta escanear o código QR para conectar"
|
|
19
18
|
widths={[220, 262]}
|
|
20
|
-
|
|
21
|
-
class="sm:h-72 pb-3 sm:pt-3 mx-auto"
|
|
19
|
+
class="sm:h-72 pb-3 sm:pt-3 mx-auto max-w-[110px] sm:max-w-[131px]"
|
|
22
20
|
/>
|
|
23
21
|
</FeatureTabs>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcommerce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.5",
|
|
5
5
|
"description": "Open fair-code headless commerce platform: API-first, microservices based, event driven and cloud native",
|
|
6
6
|
"main": "packages/api/lib/index.js",
|
|
7
7
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@commitlint/cli": "^17.
|
|
19
|
+
"@commitlint/cli": "^17.5.0",
|
|
20
20
|
"@commitlint/config-conventional": "^17.4.4",
|
|
21
21
|
"@commitlint/rules": "^17.4.4",
|
|
22
|
-
"@types/node": "^18.15.
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
24
|
-
"@typescript-eslint/parser": "^5.
|
|
25
|
-
"esbuild": "^0.17.
|
|
22
|
+
"@types/node": "^18.15.5",
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
24
|
+
"@typescript-eslint/parser": "^5.56.0",
|
|
25
|
+
"esbuild": "^0.17.12",
|
|
26
26
|
"eslint": "^8.36.0",
|
|
27
27
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
28
28
|
"eslint-plugin-import": "^2.27.5",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"turbo": "1.6.3",
|
|
34
34
|
"typescript": "^4.9.5",
|
|
35
35
|
"uglify-js": "^3.17.4",
|
|
36
|
-
"vite": "^4.1
|
|
37
|
-
"vitest": "^0.29.
|
|
38
|
-
"zx": "^7.2.
|
|
36
|
+
"vite": "^4.2.1",
|
|
37
|
+
"vitest": "^0.29.7",
|
|
38
|
+
"zx": "^7.2.1"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"fix-install": "bash scripts/pre-install.sh && pnpm i",
|
|
@@ -303,9 +303,9 @@ export default async ({ params, application }) => {
|
|
|
303
303
|
let label = serviceName || `Correios ${Codigo}`;
|
|
304
304
|
if (Array.isArray(config.services)) {
|
|
305
305
|
for (let i = 0; i < config.services.length; i++) {
|
|
306
|
-
const
|
|
307
|
-
if (
|
|
308
|
-
label =
|
|
306
|
+
const _service = config.services[i];
|
|
307
|
+
if (_service && _service.service_code === Codigo && _service.label) {
|
|
308
|
+
label = _service.label;
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-emails",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.5",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce default transactional email app",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@cloudcommerce/api": "workspace:*",
|
|
23
23
|
"@cloudcommerce/emails": "workspace:*",
|
|
24
24
|
"@cloudcommerce/firebase": "workspace:*",
|
|
25
|
-
"@ecomplus/transactional-mails": "^
|
|
25
|
+
"@ecomplus/transactional-mails": "^2.0.0",
|
|
26
26
|
"firebase-admin": "^11.5.0",
|
|
27
27
|
"firebase-functions": "^3.24.1"
|
|
28
28
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.5",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce CLI tools",
|
|
6
6
|
"bin": {
|
|
7
7
|
"cloudcommerce": "./bin/run.mjs"
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
"@cloudcommerce/api": "workspace:*",
|
|
30
30
|
"libsodium-wrappers": "^0.7.11",
|
|
31
31
|
"md5": "^2.3.0",
|
|
32
|
-
"zx": "^7.2.
|
|
32
|
+
"zx": "^7.2.1"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -140,7 +140,7 @@ const viteAlias = [];
|
|
|
140
140
|
if (isToServerless) {
|
|
141
141
|
viteAlias.push({
|
|
142
142
|
find: '@@sf/components/Picture.astro',
|
|
143
|
-
replacement: joinPath(__dirname, 'src/
|
|
143
|
+
replacement: joinPath(__dirname, 'src/images/Picture.runtime.astro'),
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
viteAlias.push(
|
package/packages/storefront/dist/client/_astro/{PitchBar.db7cd775.js → PitchBar.5d55c359.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{v as G}from"./runtime-dom.esm-bundler.d2f39f33.js";import{p as J}from"./modules-info.06ac0727.js";import{f as C,d as R,_ as A,k as Q,o as u,g as p,l as x,i as I,n as z,r as d,m as g,p as D,q as X,s as Y,u as Z,v as ee,c as $,w as v,a as q,b,x as te,y as ae,z as oe,F as re,A as se,h as ne}from"./_plugin-vue_export-helper.77ed7c18.js";import{u as le,a as ie,b as ue}from"./index.
|
|
1
|
+
import{v as G}from"./runtime-dom.esm-bundler.d2f39f33.js";import{p as J}from"./modules-info.06ac0727.js";import{f as C,d as R,_ as A,k as Q,o as u,g as p,l as x,i as I,n as z,r as d,m as g,p as D,q as X,s as Y,u as Z,v as ee,c as $,w as v,a as q,b,x as te,y as ae,z as oe,F as re,A as se,h as ne}from"./_plugin-vue_export-helper.77ed7c18.js";import{u as le,a as ie,b as ue}from"./index.ff4f0b30.js";/* empty css */import"./session-utm.72684b84.js";import"./idle-callback.889bf0ea.js";import"./format-money.ab6b71eb.js";const ce=r=>{const s=C(()=>r.slides.map(({html:e})=>J(e).value)),a=C(()=>s.value.filter(e=>e).length);return{parsedContents:s,countValidSlides:a}},K=Symbol("carousel"),de=R({__name:"CarouselControl",props:{direction:{default:1}},setup(r,{expose:s}){s();const{changeSlide:a}=Q(K),e={changeSlide:a};return Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!0}),e}}),fe=["aria-label","data-carousel-control"];function pe(r,s,a,e,n,o){return u(),p("button",{type:"button","aria-label":a.direction>0?"Próximo":"Anterior",onClick:s[0]||(s[0]=i=>e.changeSlide(a.direction)),class:z(["group absolute top-0",a.direction>0?"right-0":"left-0"]),"data-carousel-control":a.direction>0?"next":"previous"},[x(r.$slots,"default",{},()=>[I("i",{class:z(["m-0",a.direction>0?"i-chevron-right group-active:translate-x-1":"i-chevron-left group-active:-translate-x-1"])},null,2)])],10,fe)}const U=A(de,[["render",pe]]),ve=R({__name:"Carousel",props:{as:{default:"ul"},modelValue:{default:1},autoplay:null},emits:["update:modelValue"],setup(r,{expose:s,emit:a}){s();const e=r,n=d(e.modelValue-1);g(D(e,"modelValue"),t=>{n.value=t-1}),g(n,(t,l)=>{t!==l&&a("update:modelValue",t+1)});const o=d(null),{x:i,isScrolling:f,arrivedState:S}=le(o),y=C(()=>S.left),w=C(()=>S.right),h=d([]),B=d(0),L=d(0),P=d(0),E=()=>{B.value=o.value.scrollWidth,L.value=o.value.offsetWidth},N=()=>{const t=[...o.value.children];h.value=t.map(l=>({offsetLeft:l.offsetLeft,width:l.offsetWidth}))},j=t=>{const l=t>0?n.value:n.value+t,O=h.value[l]?.width||0;return O?O*t:0},V=()=>{const t=h.value.findIndex(l=>Math.abs(l.offsetLeft-i.value)<=5);t>-1&&(n.value=t||0)},k=()=>{const t=B.value-L.value;P.value=h.value.findIndex(({offsetLeft:l})=>l>=t-5)};let c=null;const m=()=>{e.autoplay&&(clearTimeout(c),c=setTimeout(()=>{_(1)},e.autoplay))},_=t=>{if(t<0){if(y.value){k(),n.value=P.value-1,_(1);return}}else if(w.value){n.value=1,_(-1);return}const l=j(t);l&&(o.value.scrollBy({left:l,behavior:"smooth"}),m())};g(f,t=>{t?clearTimeout(c):(V(),m())});const F=d(null),H=ie(F);g(H,t=>{t?clearTimeout(c):m()});const T=()=>{o.value&&(E(),N(),V(),k())},W=ue(()=>{o.value.scrollLeft=0,T()},400);X(()=>{T(),Y(()=>{[...o.value.children].forEach(t=>{t.setAttribute("tabindex","0")})}),m(),window.addEventListener("resize",W)}),Z(()=>{window.removeEventListener("resize",W),clearTimeout(c)}),ee(K,{autoplay:D(e,"autoplay"),changeSlide:_,isBoundLeft:y,isBoundRight:w});const M={props:e,emit:a,currentIndex:n,wrapper:o,currentPos:i,isScrolling:f,arrivedState:S,isBoundLeft:y,isBoundRight:w,slidesWidth:h,wrapperScrollWidth:B,wrapperVisibleWidth:L,indexCount:P,calcWrapperWidth:E,calcSlidesWidth:N,calcNextWidth:j,calcCurrentIndex:V,calcIndexCount:k,get autoplayTimer(){return c},set autoplayTimer(t){c=t},restartAutoplay:m,changeSlide:_,carousel:F,isHovered:H,calcOnInit:T,onResize:W,CarouselControl:U};return Object.defineProperty(M,"__isScriptSetup",{enumerable:!1,value:!0}),M}}),he={ref:"carousel",class:"relative","data-carousel":""};function me(r,s,a,e,n,o){return u(),p("div",he,[(u(),$(q(a.as),{ref:"wrapper",class:"flex overflow-x-scroll overflow-y-hidden list-none m-0 p-0","data-carousel-wrapper":""},{default:v(()=>[x(r.$slots,"default")]),_:3},512)),x(r.$slots,"controls",te(ae({changeSlide:e.changeSlide,isBoundLeft:e.isBoundLeft,isBoundRight:e.isBoundRight,currentPage:e.currentIndex+1,pageCount:e.indexCount+1})),()=>[b(e.CarouselControl,{direction:-1},{default:v(()=>[x(r.$slots,"previous")]),_:3}),b(e.CarouselControl,null,{default:v(()=>[x(r.$slots,"next")]),_:3})])],512)}const _e=A(ve,[["render",me]]),xe=R({__name:"PitchBar",props:{slides:null},setup(r,{expose:s}){s();const a=r,{parsedContents:e,countValidSlides:n}=ce(a),o={props:a,parsedContents:e,countValidSlides:n,Carousel:_e,CarouselControl:U};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),be={class:"bg-base-100 relative z-1"},ge={class:"container md:w-2/3 mx-auto px-3 py-1"},Ce=["innerHTML"],Se={class:"text-xl leading-none text-base-400"};function ye(r,s,a,e,n,o){return u(),p("div",be,[I("div",ge,[b(e.Carousel,{autoplay:e.countValidSlides>1?7e3:null},{controls:v(()=>[oe(I("div",Se,[b(e.CarouselControl,{direction:-1,class:"pr-2 bg-base-100 hover:text-base-700"}),b(e.CarouselControl,{class:"pl-2 bg-base-100 hover:text-base-700"})],512),[[G,e.countValidSlides>1]])]),default:v(()=>[(u(!0),p(re,null,se(a.slides,(i,f)=>(u(),p("li",{key:f,class:"shrink-0 basis-full h-full text-center"},[(u(),$(q(i.href?"ALink":"span"),{href:i.href,target:i.target,class:z(["inline-block px-8",i.href?"hover:underline":null])},{default:v(()=>[e.parsedContents[f]?(u(),p("span",{key:0,innerHTML:e.parsedContents[f],class:"prose text-sm text-base-800"},null,8,Ce)):ne("",!0)]),_:2},1032,["href","target","class"]))]))),128))]),_:1},8,["autoplay"])])])}const Ie=A(xe,[["render",ye]]);export{Ie as default};
|