cloudcommerce 0.33.4 → 0.34.0
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/barra-doce/functions/many/package.json +3 -3
- package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
- package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
- package/ecomplus-stores/barra-doce/package.json +2 -2
- package/ecomplus-stores/monocard/functions/many/package.json +3 -3
- package/ecomplus-stores/monocard/functions/ssr/package.json +6 -6
- package/ecomplus-stores/monocard/functions/with-apps/package.json +3 -3
- package/ecomplus-stores/monocard/package.json +2 -2
- package/package.json +2 -2
- package/packages/api/lib/api.js +5 -2
- package/packages/api/lib/api.js.map +1 -1
- package/packages/api/package.json +1 -1
- package/packages/api/src/api.ts +5 -2
- package/packages/apps/affilate-program/package.json +1 -1
- 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 +1 -1
- package/packages/apps/fb-conversions/package.json +1 -1
- package/packages/apps/flash-courier/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/jadlog/lib-mjs/deadlines/range-6.mjs +633 -633
- package/packages/apps/jadlog/package.json +1 -1
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/mandae/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/pagarme-v5/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/config/firebase.json +5 -0
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +1 -1
- package/packages/eslint/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/feeds/package.json +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/modules/lib/firebase/checkout.js +4 -6
- package/packages/modules/lib/firebase/checkout.js.map +1 -1
- package/packages/modules/lib/firebase/functions-checkout/handle-order-transaction.js +3 -0
- package/packages/modules/lib/firebase/functions-checkout/handle-order-transaction.js.map +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/modules/src/firebase/checkout.ts +4 -6
- package/packages/modules/src/firebase/functions-checkout/handle-order-transaction.ts +3 -0
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +3 -3
- package/packages/storefront/.auto-imports.d.ts +1 -1
- package/packages/storefront/astro.config.mjs +5 -10
- package/packages/storefront/config/astro/mock-pwa-info.mjs +2 -0
- package/packages/storefront/dist/client/_astro/AccountPage.6ead88b1.js +1 -0
- package/packages/storefront/dist/client/_astro/CartSidebar.8151e4ee.js +1 -0
- package/packages/storefront/dist/client/_astro/HeroSlider.46474cda.js +1 -0
- package/packages/storefront/dist/client/_astro/PitchBar.fbca6881.js +1 -0
- package/packages/storefront/dist/client/_astro/Prices.311303d8.js +1 -0
- package/packages/storefront/dist/client/_astro/ProductDetails.d66f9f7e.js +1 -0
- package/packages/storefront/dist/client/_astro/ProductShelf.9536b4c1.js +1 -0
- package/packages/storefront/dist/client/_astro/QuantitySelector.e74e368a.js +1 -0
- package/packages/storefront/dist/client/_astro/SearchModal.83b73e0b.js +1 -0
- package/packages/storefront/dist/client/_astro/ShopHeader.06f4d486.js +4 -0
- package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper.dd1a60ce.js +1 -0
- package/packages/storefront/dist/client/_astro/_slug_.52cde7a0.css +1 -0
- package/packages/storefront/dist/client/_astro/afetch.f4507208.js +1 -0
- package/packages/storefront/dist/client/_astro/client.7c1b0374.js +1 -0
- package/packages/storefront/dist/client/_astro/customer-session.2d173cc1.js +1 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_12falx.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_15pqnO.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_t3guw.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-utils.c385a436.js +1 -0
- package/packages/storefront/dist/client/_astro/firebase-app.992a296f.js +16 -0
- package/packages/storefront/dist/client/_astro/format-money.8962a5ab.js +1 -0
- package/packages/storefront/dist/client/_astro/hoisted.57d8d9d0.js +1 -0
- package/packages/storefront/dist/client/_astro/hoisted.f16496bc.js +1 -0
- package/packages/storefront/dist/client/_astro/i18n.78f362d9.js +1 -0
- package/packages/storefront/dist/client/_astro/img-sizes.41e0efe4.js +1 -0
- package/packages/storefront/dist/client/_astro/img.bfbd75a8.js +1 -0
- package/packages/storefront/dist/client/_astro/{firebase-app.3f59f3c7.js → index-61e5ac61.bdc8d0cd.js} +129 -99
- package/packages/storefront/dist/client/_astro/index.e02b88b7.js +1 -0
- package/packages/storefront/dist/client/_astro/index.e20e07e3.js +1 -0
- package/packages/storefront/dist/client/_astro/logo_1UBsBq.webp +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1K5PE9.png +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1KIIl1.avif +0 -0
- package/packages/storefront/dist/client/_astro/modules-info.3c447a07.js +1 -0
- package/packages/storefront/dist/client/_astro/name.3cd31c8b.js +1 -0
- package/packages/storefront/dist/client/_astro/photoswipe-lightbox.esm.c157838f.js +4 -0
- package/packages/storefront/dist/client/_astro/photoswipe.01431ec7.js +2 -0
- package/packages/storefront/dist/client/_astro/photoswipe.esm.92c2d901.js +4 -0
- package/packages/storefront/dist/client/_astro/price.04ceb6c4.js +1 -0
- package/packages/storefront/dist/client/_astro/rect8589_1TtOHY.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Uxfdf.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z15uApA.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z1JT1HB.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_tMFW0.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_DIqwR.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z1IKDb2.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z2kFHGk.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_jXzBi.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_x1l16.webp +0 -0
- package/packages/storefront/dist/client/_astro/sf-utils.b04e1813.js +1 -0
- package/packages/storefront/dist/client/_astro/shopping-cart.6b03b120.js +1 -0
- package/packages/storefront/dist/client/_astro/use-analytics.d0c184ef.js +1 -0
- package/packages/storefront/dist/client/_astro/use-product-card.e0990572.js +1 -0
- package/packages/storefront/dist/client/robots.txt +1 -1
- package/packages/storefront/dist/client/~fallback.html +21 -14
- package/packages/storefront/dist/client/~index.html +43 -36
- package/packages/storefront/dist/server/chunks/CartSidebar_03b51b57.mjs +203 -0
- package/packages/storefront/dist/server/chunks/SearchModal_2afca4fe.mjs +18 -0
- package/packages/storefront/dist/server/chunks/_.._4def02ff.mjs +6 -0
- package/packages/storefront/dist/server/chunks/account_2ee873cf.mjs +6 -0
- package/packages/storefront/dist/server/chunks/astro/assets-service_66a9c838.mjs +496 -0
- package/packages/storefront/dist/server/chunks/{astro.708269c6.mjs → astro_8447f017.mjs} +208 -1878
- package/packages/storefront/dist/server/chunks/index_37bacd45.mjs +6 -0
- package/packages/storefront/dist/server/chunks/index_5dcbbe32.mjs +6 -0
- package/packages/storefront/dist/server/chunks/node_b3ae36f1.mjs +6 -0
- package/packages/storefront/dist/server/chunks/pages/{_...slug_.astro.0808946e.mjs → __80fd1c60.mjs} +1781 -950
- package/packages/storefront/dist/server/chunks/pages/account_bfd9a66a.mjs +21 -0
- package/packages/storefront/dist/server/chunks/pages/index_8e1d063c.mjs +295 -0
- package/packages/storefront/dist/server/chunks/pages/node_530334cf.mjs +160 -0
- package/packages/storefront/dist/server/chunks/pages/~fallback_6ff698cd.mjs +30 -0
- package/packages/storefront/dist/server/chunks/photoswipe_9528923e.mjs +3 -0
- package/packages/storefront/dist/server/chunks/~fallback_7c4b84d5.mjs +6 -0
- package/packages/storefront/dist/server/entry.mjs +1012 -2526
- package/packages/storefront/dist/server/images.dist.csv +30 -30
- package/packages/storefront/dist/server/manifest_2019b8a9.mjs +1069 -0
- package/packages/storefront/dist/server/renderers.mjs +335 -51
- package/packages/storefront/dist/server/static-builds.csv +66 -51
- package/packages/storefront/package.json +4 -5
- package/packages/storefront/src/env.d.ts +1 -1
- package/packages/storefront/src/images/get-built-image.ts +36 -8
- package/packages/storefront/src/images/get-built-picture.ts +3 -130
- package/packages/storefront/src/images/picture-base.ts +135 -0
- package/packages/storefront/src/images/use-ssr-picture.ts +18 -10
- package/packages/storefront/src/lib/components/Picture.astro +47 -4
- package/packages/storefront/src/lib/scripts/vbeta-app.ts +4 -1
- package/packages/storefront/src/lib/state/modules-info.ts +5 -1
- package/packages/test-base/package.json +1 -1
- package/packages/types/package.json +1 -1
- package/pnpm-workspace.yaml +0 -2
- package/packages/storefront/dist/client/_astro/Carousel.4bf71bce.js +0 -1
- package/packages/storefront/dist/client/_astro/CartSidebar.05b12b39.js +0 -1
- package/packages/storefront/dist/client/_astro/HeroSlider.fe108a14.js +0 -1
- package/packages/storefront/dist/client/_astro/PitchBar.2c821b77.js +0 -1
- package/packages/storefront/dist/client/_astro/Prices.78eb0a61.js +0 -1
- package/packages/storefront/dist/client/_astro/ProductShelf.46d8a51c.js +0 -1
- package/packages/storefront/dist/client/_astro/SearchModal.cffd4c2d.js +0 -1
- package/packages/storefront/dist/client/_astro/ShopHeader.3694a82b.js +0 -4
- package/packages/storefront/dist/client/_astro/_...slug_.a4a7a874.css +0 -1
- package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper.ee681fa8.js +0 -1
- package/packages/storefront/dist/client/_astro/api.a2eda23e.js +0 -1
- package/packages/storefront/dist/client/_astro/client.e6d9439a.js +0 -1
- package/packages/storefront/dist/client/_astro/ecom-icon_CDmhA.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_Z27EX9f.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_Zo1CLq.png +0 -0
- package/packages/storefront/dist/client/_astro/format-money.923559cc.js +0 -1
- package/packages/storefront/dist/client/_astro/hoisted.648beb9d.js +0 -1
- package/packages/storefront/dist/client/_astro/img.ec6ba316.js +0 -1
- package/packages/storefront/dist/client/_astro/index.fadf28bd.js +0 -1
- package/packages/storefront/dist/client/_astro/logo_144owC.webp +0 -0
- package/packages/storefront/dist/client/_astro/logo_1ug3XF.png +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1EIN1I.avif +0 -0
- package/packages/storefront/dist/client/_astro/modules-info.df822732.js +0 -1
- package/packages/storefront/dist/client/_astro/preload-helper.cf010ec4.js +0 -1
- package/packages/storefront/dist/client/_astro/rect8589_1ND0he.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1mIaKd.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z2a06Gx.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z2nulUU.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_ZH7hsH.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_1IVKep.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_1zkdb4.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_CnIof.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z1OtQaE.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_flB3g.png +0 -0
- package/packages/storefront/dist/client/_astro/session-utm.744b0db3.js +0 -1
- package/packages/storefront/dist/client/_astro/workbox-window.prod.es5.a7b12eab.js +0 -2
- package/packages/storefront/dist/client/manifest.webmanifest +0 -1
- package/packages/storefront/dist/client/sw.js +0 -1
- package/packages/storefront/dist/client/workbox-1b331600.js +0 -1
- package/packages/storefront/dist/server/chunks/CartSidebar.4179ad81.mjs +0 -386
- package/packages/storefront/dist/server/chunks/SearchModal.146ce2f7.mjs +0 -37
- package/packages/storefront/dist/server/chunks/_...05c626ea.mjs +0 -28
- package/packages/storefront/dist/server/chunks/account@_@astro.5eaddaf8.mjs +0 -28
- package/packages/storefront/dist/server/chunks/index@_@astro.25a343cc.mjs +0 -28
- package/packages/storefront/dist/server/chunks/index@_@astro.2d2f2e33.mjs +0 -28
- package/packages/storefront/dist/server/chunks/pages/account.astro.32e7e6ef.mjs +0 -23
- package/packages/storefront/dist/server/chunks/pages/index.astro.d4145872.mjs +0 -186
- package/packages/storefront/dist/server/chunks/pages/~fallback.astro.84d4765b.mjs +0 -49
- package/packages/storefront/dist/server/chunks/~fallback@_@astro.86d710c3.mjs +0 -28
- package/packages/storefront/dist/server/manifest.webmanifest +0 -1
- package/packages/storefront/dist/server/registerSW.js +0 -1
- /package/packages/storefront/dist/client/_astro/{headphone_1Ekzdh.avif → headphone_T2Jjc.avif} +0 -0
- /package/packages/storefront/dist/client/_astro/{headphone_Z1GbHcH.webp → headphone_Z1CG18r.webp} +0 -0
- /package/packages/storefront/dist/client/_astro/{passion_1LvKlp.webp → passion_LHbe9.webp} +0 -0
- /package/packages/storefront/dist/client/_astro/{passion_2PSWs.avif → passion_Z23MeUb.avif} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect8589_1A8K2Q.webp → rect8589_1f5opX.webp} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect8589_ZorpIx.webp → rect8589_IUskt.webp} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect8589_Z1NFjiR.avif → rect8589_Z1Ap1Im.avif} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect8589_LhopI.avif → rect8589_ZY9mtN.avif} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect859_1CcLjM.avif → rect859_1TgQXS.avif} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect859_299fN7.avif → rect859_2Nm1z.avif} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect859_sLbkT.webp → rect859_Z29FI4V.webp} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect859_rsWaw.webp → rect859_ZkpPFI.webp} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect89_1yf5jS.avif → rect89_1TSfW7.avif} +0 -0
- /package/packages/storefront/dist/client/_astro/{rect89_GQBli.webp → rect89_Z1re32x.webp} +0 -0
|
@@ -1,27 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ssrRenderSlotInner, ssrRenderVNode, ssrRenderSlot, ssrRenderAttrs, ssrRenderClass, renderToString } from 'vue/server-renderer';
|
|
1
|
+
import { useSSRContext, defineComponent, computed, createVNode, resolveDynamicComponent, mergeProps, withCtx, renderSlot, inject, ref, watch, toRef, onMounted, onBeforeUnmount, provide, h, createSSRApp } from 'vue';
|
|
2
|
+
import { ssrRenderSlotInner, ssrRenderVNode, ssrRenderSlot, ssrRenderAttrs, ssrRenderClass, ssrRenderComponent, renderToString } from 'vue/server-renderer';
|
|
4
3
|
import { img, imgSizes, i18n, formatMoney } from '@ecomplus/utils';
|
|
5
|
-
import { _ as _export_sfc } from './chunks/pages/
|
|
6
|
-
import '
|
|
7
|
-
import 'cookie';
|
|
8
|
-
import '@astrojs/internal-helpers/path';
|
|
9
|
-
import 'kleur/colors';
|
|
10
|
-
import 'node:fs';
|
|
11
|
-
import 'node:http';
|
|
12
|
-
import 'node:tls';
|
|
13
|
-
import 'mime';
|
|
14
|
-
import 'string-width';
|
|
15
|
-
import 'html-escaper';
|
|
16
|
-
import '@cloudcommerce/api';
|
|
17
|
-
import 'node:events';
|
|
18
|
-
import 'node:path';
|
|
19
|
-
import '@cloudcommerce/config';
|
|
20
|
-
import 'ultrahtml';
|
|
21
|
-
/* empty css */import '@vueuse/core';
|
|
22
|
-
import '@headlessui/vue';
|
|
4
|
+
import { _ as _export_sfc } from './chunks/pages/__80fd1c60.mjs';
|
|
5
|
+
import { useScroll, useElementHover, useDebounceFn } from '@vueuse/core';
|
|
23
6
|
|
|
24
|
-
const _sfc_main$
|
|
7
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
25
8
|
__name: "Fade",
|
|
26
9
|
props: {
|
|
27
10
|
speed: { default: "default" },
|
|
@@ -156,18 +139,18 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
156
139
|
return __returned__;
|
|
157
140
|
}
|
|
158
141
|
});
|
|
159
|
-
function _sfc_ssrRender$
|
|
142
|
+
function _sfc_ssrRender$5(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
160
143
|
ssrRenderSlotInner(_ctx.$slots, "default", {}, null, _push, _parent, null, true);
|
|
161
144
|
}
|
|
162
|
-
const _sfc_setup$
|
|
163
|
-
_sfc_main$
|
|
145
|
+
const _sfc_setup$5 = _sfc_main$5.setup;
|
|
146
|
+
_sfc_main$5.setup = (props, ctx) => {
|
|
164
147
|
const ssrContext = useSSRContext();
|
|
165
148
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/globals/Fade.vue");
|
|
166
|
-
return _sfc_setup$
|
|
149
|
+
return _sfc_setup$5 ? _sfc_setup$5(props, ctx) : void 0;
|
|
167
150
|
};
|
|
168
|
-
const Fade = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
151
|
+
const Fade = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["ssrRender", _sfc_ssrRender$5]]);
|
|
169
152
|
|
|
170
|
-
const _sfc_main$
|
|
153
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
171
154
|
__name: "ALink",
|
|
172
155
|
props: {
|
|
173
156
|
href: {},
|
|
@@ -193,7 +176,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
193
176
|
return __returned__;
|
|
194
177
|
}
|
|
195
178
|
});
|
|
196
|
-
function _sfc_ssrRender$
|
|
179
|
+
function _sfc_ssrRender$4(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
197
180
|
ssrRenderVNode(_push, createVNode(resolveDynamicComponent($props.href ? "a" : "span"), mergeProps({
|
|
198
181
|
href: $props.href,
|
|
199
182
|
target: $setup.linkTarget,
|
|
@@ -211,21 +194,22 @@ function _sfc_ssrRender$2(_ctx, _push, _parent, _attrs, $props, $setup, $data, $
|
|
|
211
194
|
_: 3
|
|
212
195
|
}), _parent);
|
|
213
196
|
}
|
|
214
|
-
const _sfc_setup$
|
|
215
|
-
_sfc_main$
|
|
197
|
+
const _sfc_setup$4 = _sfc_main$4.setup;
|
|
198
|
+
_sfc_main$4.setup = (props, ctx) => {
|
|
216
199
|
const ssrContext = useSSRContext();
|
|
217
200
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/globals/ALink.vue");
|
|
218
|
-
return _sfc_setup$
|
|
201
|
+
return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
|
|
219
202
|
};
|
|
220
|
-
const ALink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
203
|
+
const ALink = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["ssrRender", _sfc_ssrRender$4]]);
|
|
221
204
|
|
|
222
|
-
const _sfc_main$
|
|
205
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
223
206
|
__name: "AImg",
|
|
224
207
|
props: {
|
|
225
208
|
picture: {},
|
|
226
209
|
loading: { default: "lazy" },
|
|
227
210
|
decoding: {},
|
|
228
|
-
alt: {}
|
|
211
|
+
alt: {},
|
|
212
|
+
preferredSize: {}
|
|
229
213
|
},
|
|
230
214
|
setup(__props, { expose: __expose }) {
|
|
231
215
|
__expose();
|
|
@@ -234,7 +218,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
234
218
|
if (props.picture.url) {
|
|
235
219
|
return props.picture;
|
|
236
220
|
}
|
|
237
|
-
return img(props.picture) || {};
|
|
221
|
+
return img(props.picture, void 0, props.preferredSize) || {};
|
|
238
222
|
});
|
|
239
223
|
const dimensions = computed(() => {
|
|
240
224
|
return imgSizes(image.value);
|
|
@@ -252,19 +236,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
252
236
|
return __returned__;
|
|
253
237
|
}
|
|
254
238
|
});
|
|
255
|
-
function _sfc_ssrRender$
|
|
239
|
+
function _sfc_ssrRender$3(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
256
240
|
_push(`<img${ssrRenderAttrs(mergeProps($setup.attrs, _attrs))}>`);
|
|
257
241
|
}
|
|
258
|
-
const _sfc_setup$
|
|
259
|
-
_sfc_main$
|
|
242
|
+
const _sfc_setup$3 = _sfc_main$3.setup;
|
|
243
|
+
_sfc_main$3.setup = (props, ctx) => {
|
|
260
244
|
const ssrContext = useSSRContext();
|
|
261
245
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/globals/AImg.vue");
|
|
262
|
-
return _sfc_setup$
|
|
246
|
+
return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
|
|
263
247
|
};
|
|
264
|
-
const AImg = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
248
|
+
const AImg = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["ssrRender", _sfc_ssrRender$3]]);
|
|
265
249
|
|
|
266
250
|
const rowClassName = "bg-gray-200 rounded-md dark:bg-gray-700";
|
|
267
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
251
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
268
252
|
__name: "Skeleton",
|
|
269
253
|
props: {
|
|
270
254
|
isBold: { type: Boolean },
|
|
@@ -284,24 +268,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
284
268
|
return __returned__;
|
|
285
269
|
}
|
|
286
270
|
});
|
|
287
|
-
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
271
|
+
function _sfc_ssrRender$2(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
288
272
|
_push(`<div${ssrRenderAttrs(mergeProps({
|
|
289
273
|
role: "status",
|
|
290
274
|
class: ["animate-pulse", $props.isLarge ? "max-w-4xl" : "max-w-sm"]
|
|
291
275
|
}, _attrs))}><div class="${ssrRenderClass([$setup.firstRowClassName, $props.isLarge ? "w-96" : "w-48"])}"></div><div class="${ssrRenderClass([$setup.nextRowsClassName, $props.isLarge ? "max-w-[680px]" : "max-w-[340px]"])}"></div><div class="${ssrRenderClass($setup.nextRowsClassName)}"></div><div class="${ssrRenderClass([$setup.nextRowsClassName, $props.isLarge ? "max-w-[660px]" : "max-w-[330px]"])}"></div><div class="${ssrRenderClass([$setup.nextRowsClassName, $props.isLarge ? "max-w-[600px]" : "max-w-[300px]"])}"></div><div class="${ssrRenderClass([$setup.nextRowsClassName, $props.isLarge ? "max-w-[720px]" : "max-w-[360px]"])}"></div><span class="sr-only">Loading...</span></div>`);
|
|
292
276
|
}
|
|
293
|
-
const _sfc_setup = _sfc_main.setup;
|
|
294
|
-
_sfc_main.setup = (props, ctx) => {
|
|
277
|
+
const _sfc_setup$2 = _sfc_main$2.setup;
|
|
278
|
+
_sfc_main$2.setup = (props, ctx) => {
|
|
295
279
|
const ssrContext = useSSRContext();
|
|
296
280
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/globals/Skeleton.vue");
|
|
297
|
-
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
281
|
+
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
298
282
|
};
|
|
299
|
-
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
283
|
+
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["ssrRender", _sfc_ssrRender$2]]);
|
|
300
284
|
|
|
301
285
|
const formatPercentage = (value, digits = 1) => {
|
|
302
286
|
return Number.isInteger(value) ? `${value}%` : `${value.toFixed(digits)}%`;
|
|
303
287
|
};
|
|
304
|
-
const createApp = (app) => {
|
|
288
|
+
const createApp$1 = (app) => {
|
|
305
289
|
app.use({
|
|
306
290
|
// eslint-disable-next-line no-shadow
|
|
307
291
|
install: (app2, options) => {
|
|
@@ -320,6 +304,304 @@ const createApp = (app) => {
|
|
|
320
304
|
app.component("Skeleton", Skeleton);
|
|
321
305
|
};
|
|
322
306
|
|
|
307
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
308
|
+
__name: "CarouselControl",
|
|
309
|
+
props: {
|
|
310
|
+
isPrev: { type: Boolean, default: false }
|
|
311
|
+
},
|
|
312
|
+
setup(__props, { expose: __expose }) {
|
|
313
|
+
__expose();
|
|
314
|
+
const { axis, changeSlide } = inject(carouselKey);
|
|
315
|
+
const isX = axis === "x";
|
|
316
|
+
const __returned__ = { axis, changeSlide, isX };
|
|
317
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
318
|
+
return __returned__;
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
function _sfc_ssrRender$1(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
322
|
+
_push(`<button${ssrRenderAttrs(mergeProps({
|
|
323
|
+
type: "button",
|
|
324
|
+
"aria-label": !$props.isPrev ? "Pr\xF3ximo" : "Anterior",
|
|
325
|
+
class: ["z-1 group absolute", $setup.isX ? `${!$props.isPrev ? "right-0" : "left-0"} top-0` : `${!$props.isPrev ? "bottom-0" : "top-0"} left-0`],
|
|
326
|
+
"data-carousel-control": !$props.isPrev ? "next" : "previous"
|
|
327
|
+
}, _attrs))}>`);
|
|
328
|
+
ssrRenderSlot(_ctx.$slots, "default", {}, () => {
|
|
329
|
+
_push(`<i class="${ssrRenderClass([{
|
|
330
|
+
"group-active:translate-x-1": $setup.isX && !$props.isPrev,
|
|
331
|
+
"rotate-180 group-active:-translate-x-1": $setup.isX && $props.isPrev,
|
|
332
|
+
"rotate-90 group-active:translate-y-1": !$setup.isX && !$props.isPrev,
|
|
333
|
+
"-rotate-90 group-active:-translate-y-1": !$setup.isX && $props.isPrev
|
|
334
|
+
}, "i-chevron-right m-0"])}"></i>`);
|
|
335
|
+
}, _push, _parent);
|
|
336
|
+
_push(`</button>`);
|
|
337
|
+
}
|
|
338
|
+
const _sfc_setup$1 = _sfc_main$1.setup;
|
|
339
|
+
_sfc_main$1.setup = (props, ctx) => {
|
|
340
|
+
const ssrContext = useSSRContext();
|
|
341
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/CarouselControl.vue");
|
|
342
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
343
|
+
};
|
|
344
|
+
const CarouselControl = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["ssrRender", _sfc_ssrRender$1]]);
|
|
345
|
+
|
|
346
|
+
const carouselKey = Symbol("carousel");
|
|
347
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
348
|
+
__name: "Carousel",
|
|
349
|
+
props: {
|
|
350
|
+
as: { default: "ul" },
|
|
351
|
+
index: { default: 0 },
|
|
352
|
+
autoplay: {},
|
|
353
|
+
axis: { default: "x" },
|
|
354
|
+
hasControls: { type: Boolean }
|
|
355
|
+
},
|
|
356
|
+
emits: ["update:index"],
|
|
357
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
358
|
+
__expose();
|
|
359
|
+
const props = __props;
|
|
360
|
+
const emit = __emit;
|
|
361
|
+
const activeIndex = ref(0);
|
|
362
|
+
watch(toRef(props, "index"), (index) => {
|
|
363
|
+
if (index !== activeIndex.value) {
|
|
364
|
+
const step = index - activeIndex.value;
|
|
365
|
+
changeSlide(step, false);
|
|
366
|
+
}
|
|
367
|
+
}, {
|
|
368
|
+
immediate: true
|
|
369
|
+
});
|
|
370
|
+
watch(activeIndex, (current, previous) => {
|
|
371
|
+
if (current !== previous) {
|
|
372
|
+
emit("update:index", current);
|
|
373
|
+
}
|
|
374
|
+
});
|
|
375
|
+
const wrapper = ref(null);
|
|
376
|
+
const { [props.axis]: currentPos, isScrolling, arrivedState } = useScroll(wrapper);
|
|
377
|
+
const isX = props.axis === "x";
|
|
378
|
+
const isBoundStart = computed(() => isX ? arrivedState.left : arrivedState.top);
|
|
379
|
+
const isBoundEnd = computed(() => isX ? arrivedState.right : arrivedState.bottom);
|
|
380
|
+
const slideSizes = ref([]);
|
|
381
|
+
const wrapperScrollSize = ref(0);
|
|
382
|
+
const wrapperVisibleSize = ref(0);
|
|
383
|
+
const calcWrapperSize = () => {
|
|
384
|
+
if (!wrapper.value)
|
|
385
|
+
return;
|
|
386
|
+
if (isX) {
|
|
387
|
+
wrapperScrollSize.value = wrapper.value.scrollWidth;
|
|
388
|
+
wrapperVisibleSize.value = wrapper.value.offsetWidth;
|
|
389
|
+
} else {
|
|
390
|
+
wrapperScrollSize.value = wrapper.value.scrollHeight;
|
|
391
|
+
wrapperVisibleSize.value = wrapper.value.offsetHeight;
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
const calcSlidesSize = () => {
|
|
395
|
+
if (!wrapper.value)
|
|
396
|
+
return;
|
|
397
|
+
let childNodes = [...wrapper.value.children];
|
|
398
|
+
if (childNodes.length === 1 && childNodes[0].tagName.endsWith("SLOT")) {
|
|
399
|
+
childNodes = [...childNodes[0].children];
|
|
400
|
+
}
|
|
401
|
+
slideSizes.value = childNodes.map((node) => ({
|
|
402
|
+
offset: isX ? node.offsetLeft : node.offsetTop,
|
|
403
|
+
size: isX ? node.offsetWidth : node.offsetHeight
|
|
404
|
+
}));
|
|
405
|
+
};
|
|
406
|
+
const calcNextOffset = (step) => {
|
|
407
|
+
let nextSlideIndex = activeIndex.value + step;
|
|
408
|
+
if (nextSlideIndex >= slideSizes.value.length) {
|
|
409
|
+
return 0;
|
|
410
|
+
}
|
|
411
|
+
if (nextSlideIndex < 0) {
|
|
412
|
+
nextSlideIndex = slideSizes.value.length + nextSlideIndex;
|
|
413
|
+
}
|
|
414
|
+
const { offset, size } = slideSizes.value[nextSlideIndex] || {};
|
|
415
|
+
if (!size) {
|
|
416
|
+
return 0;
|
|
417
|
+
}
|
|
418
|
+
return offset;
|
|
419
|
+
};
|
|
420
|
+
const calcCurrentIndex = () => {
|
|
421
|
+
const index = slideSizes.value.findIndex((slide) => {
|
|
422
|
+
return Math.abs(slide.offset - currentPos.value) <= 5;
|
|
423
|
+
});
|
|
424
|
+
if (index > -1) {
|
|
425
|
+
activeIndex.value = index || 0;
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
let autoplayTimer;
|
|
429
|
+
const restartAutoplay = () => {
|
|
430
|
+
if (props.autoplay) {
|
|
431
|
+
clearTimeout(autoplayTimer);
|
|
432
|
+
autoplayTimer = setTimeout(() => {
|
|
433
|
+
changeSlide(1);
|
|
434
|
+
}, props.autoplay);
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
const changeSlide = (step, isPageScroll = true) => {
|
|
438
|
+
if (slideSizes.value.length < 2) {
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
441
|
+
let nextOffset = -1;
|
|
442
|
+
if (currentPos.value + wrapperVisibleSize.value >= wrapperScrollSize.value) {
|
|
443
|
+
nextOffset = 0;
|
|
444
|
+
} else {
|
|
445
|
+
if (isPageScroll && (step === 1 || step === -1)) {
|
|
446
|
+
let pageStep = 0;
|
|
447
|
+
let pageStepSize = 0;
|
|
448
|
+
for (let i = activeIndex.value; i < slideSizes.value.length; i++) {
|
|
449
|
+
const { size } = slideSizes.value[i] || {};
|
|
450
|
+
if (size) {
|
|
451
|
+
pageStep += 1;
|
|
452
|
+
pageStepSize += size;
|
|
453
|
+
if (pageStepSize + size * 0.75 >= wrapperVisibleSize.value) {
|
|
454
|
+
break;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
if (pageStep) {
|
|
459
|
+
step = step > 0 ? pageStep : -pageStep;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
nextOffset = calcNextOffset(step);
|
|
463
|
+
}
|
|
464
|
+
wrapper.value?.scrollTo({
|
|
465
|
+
[isX ? "left" : "top"]: nextOffset,
|
|
466
|
+
behavior: "smooth"
|
|
467
|
+
});
|
|
468
|
+
restartAutoplay();
|
|
469
|
+
};
|
|
470
|
+
watch(isScrolling, (_isScrolling) => {
|
|
471
|
+
if (_isScrolling) {
|
|
472
|
+
clearTimeout(autoplayTimer);
|
|
473
|
+
} else {
|
|
474
|
+
calcCurrentIndex();
|
|
475
|
+
restartAutoplay();
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
const carousel = ref(null);
|
|
479
|
+
const isHovered = useElementHover(carousel);
|
|
480
|
+
watch(isHovered, (_isHovered) => {
|
|
481
|
+
if (_isHovered) {
|
|
482
|
+
clearTimeout(autoplayTimer);
|
|
483
|
+
} else {
|
|
484
|
+
restartAutoplay();
|
|
485
|
+
}
|
|
486
|
+
});
|
|
487
|
+
const calcOnInit = () => {
|
|
488
|
+
if (!wrapper.value) {
|
|
489
|
+
return;
|
|
490
|
+
}
|
|
491
|
+
calcWrapperSize();
|
|
492
|
+
calcSlidesSize();
|
|
493
|
+
calcCurrentIndex();
|
|
494
|
+
};
|
|
495
|
+
const onResize = useDebounceFn(() => {
|
|
496
|
+
if (!wrapper.value)
|
|
497
|
+
return;
|
|
498
|
+
if (isX) {
|
|
499
|
+
wrapper.value.scrollLeft = 0;
|
|
500
|
+
} else {
|
|
501
|
+
wrapper.value.scrollTop = 0;
|
|
502
|
+
}
|
|
503
|
+
calcOnInit();
|
|
504
|
+
}, 400);
|
|
505
|
+
onMounted(() => {
|
|
506
|
+
calcOnInit();
|
|
507
|
+
});
|
|
508
|
+
onBeforeUnmount(() => {
|
|
509
|
+
clearTimeout(autoplayTimer);
|
|
510
|
+
});
|
|
511
|
+
provide(carouselKey, {
|
|
512
|
+
autoplay: toRef(props, "autoplay"),
|
|
513
|
+
axis: props.axis,
|
|
514
|
+
changeSlide,
|
|
515
|
+
isBoundStart,
|
|
516
|
+
isBoundEnd
|
|
517
|
+
});
|
|
518
|
+
const __returned__ = { carouselKey, props, emit, activeIndex, wrapper, currentPos, isScrolling, arrivedState, isX, isBoundStart, isBoundEnd, slideSizes, wrapperScrollSize, wrapperVisibleSize, calcWrapperSize, calcSlidesSize, calcNextOffset, calcCurrentIndex, get autoplayTimer() {
|
|
519
|
+
return autoplayTimer;
|
|
520
|
+
}, set autoplayTimer(v) {
|
|
521
|
+
autoplayTimer = v;
|
|
522
|
+
}, restartAutoplay, changeSlide, carousel, isHovered, calcOnInit, onResize, CarouselControl };
|
|
523
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
524
|
+
return __returned__;
|
|
525
|
+
}
|
|
526
|
+
});
|
|
527
|
+
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
528
|
+
_push(`<div${ssrRenderAttrs(mergeProps({
|
|
529
|
+
ref: "carousel",
|
|
530
|
+
class: `relative ${!$setup.isX ? "overflow-hidden" : ""}`,
|
|
531
|
+
"data-carousel": ""
|
|
532
|
+
}, _attrs))}>`);
|
|
533
|
+
ssrRenderVNode(_push, createVNode(resolveDynamicComponent($props.as), {
|
|
534
|
+
ref: "wrapper",
|
|
535
|
+
class: ["m-0 flex snap-mandatory list-none scroll-smooth p-0 [&>*]:snap-start [&>*]:outline-none", $setup.isX ? "snap-x overflow-y-hidden overflow-x-scroll" : "h-full flex-col snap-y overflow-x-hidden overflow-y-scroll"],
|
|
536
|
+
style: { "scrollbar-width": "none", "-webkit-overflow-scrolling": "touch", "-ms-overflow-style": "none" },
|
|
537
|
+
"data-carousel-wrapper": ""
|
|
538
|
+
}, {
|
|
539
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
540
|
+
if (_push2) {
|
|
541
|
+
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
|
|
542
|
+
} else {
|
|
543
|
+
return [
|
|
544
|
+
renderSlot(_ctx.$slots, "default")
|
|
545
|
+
];
|
|
546
|
+
}
|
|
547
|
+
}),
|
|
548
|
+
_: 3
|
|
549
|
+
}), _parent);
|
|
550
|
+
ssrRenderSlot(_ctx.$slots, "controls", {
|
|
551
|
+
changeSlide: $setup.changeSlide,
|
|
552
|
+
isBoundStart: $setup.isBoundStart,
|
|
553
|
+
isBoundEnd: $setup.isBoundEnd,
|
|
554
|
+
activeIndex: $setup.activeIndex
|
|
555
|
+
}, () => {
|
|
556
|
+
if ($setup.slideSizes.length > 1 || $props.hasControls) {
|
|
557
|
+
_push(ssrRenderComponent($setup["CarouselControl"], { "is-prev": "" }, {
|
|
558
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
559
|
+
if (_push2) {
|
|
560
|
+
ssrRenderSlot(_ctx.$slots, "previous", {}, null, _push2, _parent2, _scopeId);
|
|
561
|
+
} else {
|
|
562
|
+
return [
|
|
563
|
+
renderSlot(_ctx.$slots, "previous")
|
|
564
|
+
];
|
|
565
|
+
}
|
|
566
|
+
}),
|
|
567
|
+
_: 3
|
|
568
|
+
}, _parent));
|
|
569
|
+
} else {
|
|
570
|
+
_push(`<!---->`);
|
|
571
|
+
}
|
|
572
|
+
if ($setup.slideSizes.length > 1 || $props.hasControls) {
|
|
573
|
+
_push(ssrRenderComponent($setup["CarouselControl"], null, {
|
|
574
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
575
|
+
if (_push2) {
|
|
576
|
+
ssrRenderSlot(_ctx.$slots, "next", {}, null, _push2, _parent2, _scopeId);
|
|
577
|
+
} else {
|
|
578
|
+
return [
|
|
579
|
+
renderSlot(_ctx.$slots, "next")
|
|
580
|
+
];
|
|
581
|
+
}
|
|
582
|
+
}),
|
|
583
|
+
_: 3
|
|
584
|
+
}, _parent));
|
|
585
|
+
} else {
|
|
586
|
+
_push(`<!---->`);
|
|
587
|
+
}
|
|
588
|
+
}, _push, _parent);
|
|
589
|
+
_push(`</div>`);
|
|
590
|
+
}
|
|
591
|
+
const _sfc_setup = _sfc_main.setup;
|
|
592
|
+
_sfc_main.setup = (props, ctx) => {
|
|
593
|
+
const ssrContext = useSSRContext();
|
|
594
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/Carousel.vue");
|
|
595
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
596
|
+
};
|
|
597
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
598
|
+
|
|
599
|
+
const createApp = (app) => {
|
|
600
|
+
createApp$1(app);
|
|
601
|
+
app.component("Carousel", Carousel);
|
|
602
|
+
app.component("CarouselControl", CarouselControl);
|
|
603
|
+
};
|
|
604
|
+
|
|
323
605
|
/**
|
|
324
606
|
* Astro passes `children` as a string of HTML, so we need
|
|
325
607
|
* a wrapper `div` to render that content as VNodes.
|
|
@@ -346,8 +628,10 @@ function check(Component) {
|
|
|
346
628
|
return !!Component['ssrRender'] || !!Component['__ssrInlineRender'];
|
|
347
629
|
}
|
|
348
630
|
|
|
349
|
-
async function renderToStaticMarkup(Component,
|
|
631
|
+
async function renderToStaticMarkup(Component, inputProps, slotted, metadata) {
|
|
350
632
|
const slots = {};
|
|
633
|
+
const props = { ...inputProps };
|
|
634
|
+
delete props.slot;
|
|
351
635
|
for (const [key, value] of Object.entries(slotted)) {
|
|
352
636
|
slots[key] = () =>
|
|
353
637
|
h(StaticHtml, {
|
|
@@ -363,12 +647,12 @@ async function renderToStaticMarkup(Component, props, slotted, metadata) {
|
|
|
363
647
|
return { html };
|
|
364
648
|
}
|
|
365
649
|
|
|
366
|
-
const
|
|
650
|
+
const _renderer0 = {
|
|
367
651
|
check,
|
|
368
652
|
renderToStaticMarkup,
|
|
369
653
|
supportsAstroStaticSlot: true,
|
|
370
654
|
};
|
|
371
655
|
|
|
372
|
-
const renderers = [Object.assign({"name":"
|
|
656
|
+
const renderers = [Object.assign({"name":"@astrojs/vue","clientEntrypoint":"@astrojs/vue/client.js","serverEntrypoint":"@astrojs/vue/server.js"}, { ssr: _renderer0 }),];
|
|
373
657
|
|
|
374
658
|
export { renderers };
|
|
@@ -1,51 +1,66 @@
|
|
|
1
|
-
/_astro/
|
|
2
|
-
/_astro/
|
|
3
|
-
/_astro/CartSidebar.
|
|
4
|
-
/_astro/client.
|
|
5
|
-
/_astro/
|
|
6
|
-
/_astro/ecom-
|
|
7
|
-
/_astro/ecom-
|
|
8
|
-
/_astro/
|
|
9
|
-
/_astro/
|
|
10
|
-
/_astro/
|
|
11
|
-
/_astro/
|
|
12
|
-
/_astro/
|
|
13
|
-
/_astro/
|
|
14
|
-
/_astro/
|
|
15
|
-
/_astro/
|
|
16
|
-
/_astro/
|
|
17
|
-
/_astro/
|
|
18
|
-
/_astro/
|
|
19
|
-
/_astro/
|
|
20
|
-
/_astro/
|
|
21
|
-
/_astro/
|
|
22
|
-
/_astro/
|
|
23
|
-
/_astro/
|
|
24
|
-
/_astro/
|
|
25
|
-
/_astro/
|
|
26
|
-
/_astro/
|
|
27
|
-
/_astro/
|
|
28
|
-
/_astro/
|
|
29
|
-
/_astro/
|
|
30
|
-
/_astro/
|
|
31
|
-
/_astro/
|
|
32
|
-
/_astro/
|
|
33
|
-
/_astro/
|
|
34
|
-
/_astro/
|
|
35
|
-
/_astro/
|
|
36
|
-
/_astro/
|
|
37
|
-
/_astro/
|
|
38
|
-
/_astro/
|
|
39
|
-
/_astro/
|
|
40
|
-
/_astro/
|
|
41
|
-
/_astro/
|
|
42
|
-
/_astro/
|
|
43
|
-
/_astro/
|
|
44
|
-
/_astro/
|
|
45
|
-
/_astro/
|
|
46
|
-
/_astro/
|
|
47
|
-
/_astro/
|
|
48
|
-
/_astro/
|
|
49
|
-
/_astro/
|
|
50
|
-
/_astro/
|
|
51
|
-
/_astro/
|
|
1
|
+
/_astro/AccountPage.6ead88b1.js
|
|
2
|
+
/_astro/afetch.f4507208.js
|
|
3
|
+
/_astro/CartSidebar.8151e4ee.js
|
|
4
|
+
/_astro/client.7c1b0374.js
|
|
5
|
+
/_astro/customer-session.2d173cc1.js
|
|
6
|
+
/_astro/ecom-icon_12falx.png
|
|
7
|
+
/_astro/ecom-icon_15pqnO.png
|
|
8
|
+
/_astro/ecom-icon_t3guw.png
|
|
9
|
+
/_astro/ecom-utils.c385a436.js
|
|
10
|
+
/_astro/firebase-app.992a296f.js
|
|
11
|
+
/_astro/format-money.8962a5ab.js
|
|
12
|
+
/_astro/headphone_T2Jjc.avif
|
|
13
|
+
/_astro/headphone_Z1CG18r.webp
|
|
14
|
+
/_astro/HeroSlider.46474cda.js
|
|
15
|
+
/_astro/hoisted.57d8d9d0.js
|
|
16
|
+
/_astro/hoisted.f16496bc.js
|
|
17
|
+
/_astro/i18n.78f362d9.js
|
|
18
|
+
/_astro/img.bfbd75a8.js
|
|
19
|
+
/_astro/img-sizes.41e0efe4.js
|
|
20
|
+
/_astro/index-61e5ac61.bdc8d0cd.js
|
|
21
|
+
/_astro/index.e02b88b7.js
|
|
22
|
+
/_astro/index.e20e07e3.js
|
|
23
|
+
/_astro/logo_1UBsBq.webp
|
|
24
|
+
/_astro/logo_Z1K5PE9.png
|
|
25
|
+
/_astro/logo_Z1KIIl1.avif
|
|
26
|
+
/_astro/modules-info.3c447a07.js
|
|
27
|
+
/_astro/name.3cd31c8b.js
|
|
28
|
+
/_astro/passion_LHbe9.webp
|
|
29
|
+
/_astro/passion_Z23MeUb.avif
|
|
30
|
+
/_astro/photoswipe.01431ec7.js
|
|
31
|
+
/_astro/photoswipe.esm.92c2d901.js
|
|
32
|
+
/_astro/photoswipe-lightbox.esm.c157838f.js
|
|
33
|
+
/_astro/PitchBar.fbca6881.js
|
|
34
|
+
/_astro/_plugin-vue_export-helper.dd1a60ce.js
|
|
35
|
+
/_astro/price.04ceb6c4.js
|
|
36
|
+
/_astro/Prices.311303d8.js
|
|
37
|
+
/_astro/ProductDetails.d66f9f7e.js
|
|
38
|
+
/_astro/ProductShelf.9536b4c1.js
|
|
39
|
+
/_astro/QuantitySelector.e74e368a.js
|
|
40
|
+
/_astro/rect8589_1f5opX.webp
|
|
41
|
+
/_astro/rect8589_1TtOHY.png
|
|
42
|
+
/_astro/rect8589_IUskt.webp
|
|
43
|
+
/_astro/rect8589_tMFW0.avif
|
|
44
|
+
/_astro/rect8589_Uxfdf.png
|
|
45
|
+
/_astro/rect8589_Z15uApA.png
|
|
46
|
+
/_astro/rect8589_Z1Ap1Im.avif
|
|
47
|
+
/_astro/rect8589_Z1JT1HB.webp
|
|
48
|
+
/_astro/rect8589_ZY9mtN.avif
|
|
49
|
+
/_astro/rect859_1TgQXS.avif
|
|
50
|
+
/_astro/rect859_2Nm1z.avif
|
|
51
|
+
/_astro/rect859_DIqwR.png
|
|
52
|
+
/_astro/rect859_jXzBi.png
|
|
53
|
+
/_astro/rect859_x1l16.webp
|
|
54
|
+
/_astro/rect859_Z1IKDb2.png
|
|
55
|
+
/_astro/rect859_Z29FI4V.webp
|
|
56
|
+
/_astro/rect859_Z2kFHGk.avif
|
|
57
|
+
/_astro/rect859_ZkpPFI.webp
|
|
58
|
+
/_astro/rect89_1TSfW7.avif
|
|
59
|
+
/_astro/rect89_Z1re32x.webp
|
|
60
|
+
/_astro/SearchModal.83b73e0b.js
|
|
61
|
+
/_astro/sf-utils.b04e1813.js
|
|
62
|
+
/_astro/ShopHeader.06f4d486.js
|
|
63
|
+
/_astro/shopping-cart.6b03b120.js
|
|
64
|
+
/_astro/_slug_.52cde7a0.css
|
|
65
|
+
/_astro/use-analytics.d0c184ef.js
|
|
66
|
+
/_astro/use-product-card.e0990572.js
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/storefront",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.34.0",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce storefront with Astro",
|
|
6
6
|
"bin": {
|
|
7
7
|
"storefront": "./scripts/build-prod.sh"
|
|
@@ -29,9 +29,8 @@
|
|
|
29
29
|
"prepare-monorepo": "bash scripts/prepare-monorepo.sh"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@astrojs/
|
|
33
|
-
"@astrojs/
|
|
34
|
-
"@astrojs/vue": "2.2.1",
|
|
32
|
+
"@astrojs/node": "6.0.4",
|
|
33
|
+
"@astrojs/vue": "3.0.4",
|
|
35
34
|
"@cloudcommerce/api": "workspace:*",
|
|
36
35
|
"@cloudcommerce/config": "workspace:*",
|
|
37
36
|
"@cloudcommerce/i18n": "workspace:*",
|
|
@@ -43,7 +42,7 @@
|
|
|
43
42
|
"@types/gtag.js": "^0.0.18",
|
|
44
43
|
"@vite-pwa/astro": "^0.1.5",
|
|
45
44
|
"@vueuse/core": "10.6.1",
|
|
46
|
-
"astro": "
|
|
45
|
+
"astro": "3.6.0",
|
|
47
46
|
"astro-capo": "^0.0.1",
|
|
48
47
|
"chroma-js": "^2.4.2",
|
|
49
48
|
"dotenv": "^16.3.1",
|