cloudcommerce 0.33.5 → 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 +16 -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/package.json +2 -2
- package/packages/api/package.json +1 -1
- 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/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/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/package.json +1 -1
- 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/test-base/package.json +1 -1
- package/packages/types/package.json +1 -1
- 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,386 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, useSSRContext, mergeProps, inject, ref, provide, withCtx, renderSlot, resolveComponent, openBlock, createBlock, createCommentVNode, createVNode, toDisplayString, createTextVNode } from 'vue';
|
|
2
|
-
import { _ as _export_sfc, p as parseProduct, g as useId, r as removeCartItem, P as Prices, h as freeShippingFromValue, s as shoppingCart, t as totalItems } from './pages/_...slug_.astro.0808946e.mjs';
|
|
3
|
-
import { ssrRenderAttrs, ssrRenderSlot, ssrRenderAttr, ssrInterpolate, ssrIncludeBooleanAttr, ssrRenderComponent, ssrRenderList } from 'vue/server-renderer';
|
|
4
|
-
import { name, img } from '@ecomplus/utils';
|
|
5
|
-
import './astro.708269c6.mjs';
|
|
6
|
-
import 'path-to-regexp';
|
|
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';
|
|
23
|
-
|
|
24
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
25
|
-
__name: "CheckoutLink",
|
|
26
|
-
props: {
|
|
27
|
-
to: { default: "cart" },
|
|
28
|
-
cartUrl: { default: globalThis.$storefront.settings.cart_url || "/app/#/cart" },
|
|
29
|
-
checkoutUrl: { default: globalThis.$storefront.settings.checkout_url || "/app/#/checkout" }
|
|
30
|
-
},
|
|
31
|
-
setup(__props, { expose: __expose }) {
|
|
32
|
-
__expose();
|
|
33
|
-
const props = __props;
|
|
34
|
-
const href = computed(() => {
|
|
35
|
-
if (props.to === "cart")
|
|
36
|
-
return props.cartUrl;
|
|
37
|
-
return props.checkoutUrl;
|
|
38
|
-
});
|
|
39
|
-
const __returned__ = { props, href };
|
|
40
|
-
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
41
|
-
return __returned__;
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
function _sfc_ssrRender$4(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
45
|
-
_push(`<a${ssrRenderAttrs(mergeProps({ href: $setup.href }, _attrs))}>`);
|
|
46
|
-
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
|
|
47
|
-
_push(`</a>`);
|
|
48
|
-
}
|
|
49
|
-
const _sfc_setup$4 = _sfc_main$4.setup;
|
|
50
|
-
_sfc_main$4.setup = (props, ctx) => {
|
|
51
|
-
const ssrContext = useSSRContext();
|
|
52
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/CheckoutLink.vue");
|
|
53
|
-
return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
|
|
54
|
-
};
|
|
55
|
-
const CheckoutLink = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["ssrRender", _sfc_ssrRender$4]]);
|
|
56
|
-
|
|
57
|
-
const useCartItem = (props) => {
|
|
58
|
-
const parsedItem = computed(() => {
|
|
59
|
-
return !props.item && props.product ? parseProduct(props.product) : null;
|
|
60
|
-
});
|
|
61
|
-
const cartItem = computed(() => {
|
|
62
|
-
return props.item || parsedItem.value;
|
|
63
|
-
});
|
|
64
|
-
const title = computed(() => {
|
|
65
|
-
return name(cartItem.value);
|
|
66
|
-
});
|
|
67
|
-
const link = computed(() => {
|
|
68
|
-
const { slug } = cartItem.value;
|
|
69
|
-
if (typeof slug === "string") {
|
|
70
|
-
return `/${slug}`;
|
|
71
|
-
}
|
|
72
|
-
return null;
|
|
73
|
-
});
|
|
74
|
-
const image = computed(() => {
|
|
75
|
-
if (cartItem.value.picture) {
|
|
76
|
-
return img(cartItem.value.picture, void 0, props.pictureSize || "small");
|
|
77
|
-
}
|
|
78
|
-
return void 0;
|
|
79
|
-
});
|
|
80
|
-
const finalPrice = computed(() => {
|
|
81
|
-
return cartItem.value.final_price || cartItem.value.price;
|
|
82
|
-
});
|
|
83
|
-
return {
|
|
84
|
-
cartItem,
|
|
85
|
-
title,
|
|
86
|
-
link,
|
|
87
|
-
image,
|
|
88
|
-
finalPrice
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
93
|
-
__name: "QuantitySelectorControl",
|
|
94
|
-
props: {
|
|
95
|
-
isMinus: { type: Boolean }
|
|
96
|
-
},
|
|
97
|
-
setup(__props, { expose: __expose }) {
|
|
98
|
-
__expose();
|
|
99
|
-
const {
|
|
100
|
-
value,
|
|
101
|
-
isBoundMin,
|
|
102
|
-
isBoundMax
|
|
103
|
-
} = inject(quantitySelectorKey);
|
|
104
|
-
const __returned__ = { value, isBoundMin, isBoundMax };
|
|
105
|
-
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
106
|
-
return __returned__;
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
function _sfc_ssrRender$3(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
110
|
-
_push(`<button${ssrRenderAttrs(mergeProps({
|
|
111
|
-
type: "button",
|
|
112
|
-
class: "w-10 h-12 text-xl leading-12 enabled:text-primary enabled:hover:bg-primary-100/70 disabled:opacity-40",
|
|
113
|
-
"data-quantity-selector-control": $props.isMinus ? "minus" : "plus",
|
|
114
|
-
"aria-label": $props.isMinus ? "Menos" : "Mais",
|
|
115
|
-
disabled: $props.isMinus ? $setup.isBoundMin : $setup.isBoundMax
|
|
116
|
-
}, _attrs))}>`);
|
|
117
|
-
ssrRenderSlot(_ctx.$slots, "default", {}, () => {
|
|
118
|
-
if ($props.isMinus) {
|
|
119
|
-
_push(`<!--[-->\u2212<!--]-->`);
|
|
120
|
-
} else {
|
|
121
|
-
_push(`<!--[-->+<!--]-->`);
|
|
122
|
-
}
|
|
123
|
-
}, _push, _parent);
|
|
124
|
-
_push(`</button>`);
|
|
125
|
-
}
|
|
126
|
-
const _sfc_setup$3 = _sfc_main$3.setup;
|
|
127
|
-
_sfc_main$3.setup = (props, ctx) => {
|
|
128
|
-
const ssrContext = useSSRContext();
|
|
129
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/QuantitySelectorControl.vue");
|
|
130
|
-
return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
|
|
131
|
-
};
|
|
132
|
-
const QuantitySelectorControl = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["ssrRender", _sfc_ssrRender$3]]);
|
|
133
|
-
|
|
134
|
-
const quantitySelectorKey = Symbol("quantitySelector");
|
|
135
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
136
|
-
__name: "QuantitySelector",
|
|
137
|
-
props: {
|
|
138
|
-
modelValue: { default: 1 },
|
|
139
|
-
min: { default: 1 },
|
|
140
|
-
max: {},
|
|
141
|
-
step: {},
|
|
142
|
-
disabled: { type: Boolean },
|
|
143
|
-
readonly: { type: Boolean }
|
|
144
|
-
},
|
|
145
|
-
emits: ["update:modelValue"],
|
|
146
|
-
setup(__props, { expose: __expose, emit }) {
|
|
147
|
-
__expose();
|
|
148
|
-
const props = __props;
|
|
149
|
-
const input = ref(null);
|
|
150
|
-
const inputId = `NInput${useId()}`;
|
|
151
|
-
const value = computed({
|
|
152
|
-
get() {
|
|
153
|
-
return props.modelValue;
|
|
154
|
-
},
|
|
155
|
-
set(_value) {
|
|
156
|
-
if (_value < props.min) {
|
|
157
|
-
_value = props.min;
|
|
158
|
-
input.value.value = `${_value}`;
|
|
159
|
-
}
|
|
160
|
-
if (props.max && _value > props.max) {
|
|
161
|
-
_value = props.max;
|
|
162
|
-
input.value.value = `${_value}`;
|
|
163
|
-
}
|
|
164
|
-
emit("update:modelValue", _value);
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
const isBoundMin = computed(() => {
|
|
168
|
-
return props.min >= value.value;
|
|
169
|
-
});
|
|
170
|
-
const isBoundMax = computed(() => {
|
|
171
|
-
return props.max <= value.value;
|
|
172
|
-
});
|
|
173
|
-
provide(quantitySelectorKey, {
|
|
174
|
-
value,
|
|
175
|
-
isBoundMin,
|
|
176
|
-
isBoundMax
|
|
177
|
-
});
|
|
178
|
-
const __returned__ = { quantitySelectorKey, props, emit, input, inputId, value, isBoundMin, isBoundMax, QuantitySelectorControl };
|
|
179
|
-
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
180
|
-
return __returned__;
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
function _sfc_ssrRender$2(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
184
|
-
_push(`<div${ssrRenderAttrs(mergeProps({ "data-quantity-selector": "" }, _attrs))}>`);
|
|
185
|
-
ssrRenderSlot(_ctx.$slots, "label", { inputId: $setup.inputId, value: $setup.value }, () => {
|
|
186
|
-
_push(`<label${ssrRenderAttr("for", $setup.inputId)} class="sr-only">${ssrInterpolate("Quantidade")}</label>`);
|
|
187
|
-
}, _push, _parent);
|
|
188
|
-
_push(`<div class="flex items-center"><input type="number"${ssrRenderAttr("id", $setup.inputId)}${ssrRenderAttr("value", $setup.value)}${ssrRenderAttr("min", $props.min)}${ssrRenderAttr("max", $props.max)}${ssrRenderAttr("step", $props.step)}${ssrIncludeBooleanAttr($props.disabled) ? " disabled" : ""}${ssrIncludeBooleanAttr($props.readonly) ? " readonly" : ""} class="h-12 w-14 px-2 text-lg border-transparent text-center [-moz-appearance:_textfield] [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none">`);
|
|
189
|
-
ssrRenderSlot(_ctx.$slots, "controls", { value: $setup.value, isBoundMin: $setup.isBoundMin, isBoundMax: $setup.isBoundMax }, () => {
|
|
190
|
-
_push(ssrRenderComponent($setup["QuantitySelectorControl"], {
|
|
191
|
-
"is-minus": "",
|
|
192
|
-
class: "order-first"
|
|
193
|
-
}, {
|
|
194
|
-
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
195
|
-
if (_push2) {
|
|
196
|
-
ssrRenderSlot(_ctx.$slots, "minus", {}, null, _push2, _parent2, _scopeId);
|
|
197
|
-
} else {
|
|
198
|
-
return [
|
|
199
|
-
renderSlot(_ctx.$slots, "minus")
|
|
200
|
-
];
|
|
201
|
-
}
|
|
202
|
-
}),
|
|
203
|
-
_: 3
|
|
204
|
-
}, _parent));
|
|
205
|
-
_push(ssrRenderComponent($setup["QuantitySelectorControl"], { class: "order-last" }, {
|
|
206
|
-
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
207
|
-
if (_push2) {
|
|
208
|
-
ssrRenderSlot(_ctx.$slots, "plus", {}, null, _push2, _parent2, _scopeId);
|
|
209
|
-
} else {
|
|
210
|
-
return [
|
|
211
|
-
renderSlot(_ctx.$slots, "plus")
|
|
212
|
-
];
|
|
213
|
-
}
|
|
214
|
-
}),
|
|
215
|
-
_: 3
|
|
216
|
-
}, _parent));
|
|
217
|
-
}, _push, _parent);
|
|
218
|
-
_push(`</div></div>`);
|
|
219
|
-
}
|
|
220
|
-
const _sfc_setup$2 = _sfc_main$2.setup;
|
|
221
|
-
_sfc_main$2.setup = (props, ctx) => {
|
|
222
|
-
const ssrContext = useSSRContext();
|
|
223
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/lib/components/QuantitySelector.vue");
|
|
224
|
-
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
225
|
-
};
|
|
226
|
-
const QuantitySelector = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["ssrRender", _sfc_ssrRender$2]]);
|
|
227
|
-
|
|
228
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
229
|
-
__name: "CartItem",
|
|
230
|
-
props: {
|
|
231
|
-
item: {},
|
|
232
|
-
product: {},
|
|
233
|
-
pictureSize: {}
|
|
234
|
-
},
|
|
235
|
-
setup(__props, { expose: __expose }) {
|
|
236
|
-
__expose();
|
|
237
|
-
const props = __props;
|
|
238
|
-
const {
|
|
239
|
-
cartItem,
|
|
240
|
-
title,
|
|
241
|
-
link,
|
|
242
|
-
image,
|
|
243
|
-
finalPrice
|
|
244
|
-
} = useCartItem(props);
|
|
245
|
-
const __returned__ = { props, cartItem, title, link, image, finalPrice, get removeCartItem() {
|
|
246
|
-
return removeCartItem;
|
|
247
|
-
}, QuantitySelector, Prices };
|
|
248
|
-
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
249
|
-
return __returned__;
|
|
250
|
-
}
|
|
251
|
-
});
|
|
252
|
-
function _sfc_ssrRender$1(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
253
|
-
const _component_ALink = resolveComponent("ALink");
|
|
254
|
-
const _component_AImg = resolveComponent("AImg");
|
|
255
|
-
_push(`<article${ssrRenderAttrs(mergeProps({ class: "relative bg-white shadow-sm" }, _attrs))}>`);
|
|
256
|
-
_push(ssrRenderComponent(_component_ALink, {
|
|
257
|
-
href: $setup.link,
|
|
258
|
-
class: "flex items-center gap-5 p-4 group"
|
|
259
|
-
}, {
|
|
260
|
-
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
261
|
-
if (_push2) {
|
|
262
|
-
if ($setup.image) {
|
|
263
|
-
_push2(ssrRenderComponent(_component_AImg, {
|
|
264
|
-
picture: $setup.image,
|
|
265
|
-
alt: $setup.title,
|
|
266
|
-
class: "w-20 h-20 object-cover"
|
|
267
|
-
}, null, _parent2, _scopeId));
|
|
268
|
-
} else {
|
|
269
|
-
_push2(`<!---->`);
|
|
270
|
-
}
|
|
271
|
-
_push2(`<p class="py-2 flex-auto text-sm text-base-700 group-hover:text-base-900 group-hover:underline"${_scopeId}>${ssrInterpolate($setup.title)}</p>`);
|
|
272
|
-
} else {
|
|
273
|
-
return [
|
|
274
|
-
$setup.image ? (openBlock(), createBlock(_component_AImg, {
|
|
275
|
-
key: 0,
|
|
276
|
-
picture: $setup.image,
|
|
277
|
-
alt: $setup.title,
|
|
278
|
-
class: "w-20 h-20 object-cover"
|
|
279
|
-
}, null, 8, ["picture", "alt"])) : createCommentVNode("", true),
|
|
280
|
-
createVNode("p", { class: "py-2 flex-auto text-sm text-base-700 group-hover:text-base-900 group-hover:underline" }, toDisplayString($setup.title), 1)
|
|
281
|
-
];
|
|
282
|
-
}
|
|
283
|
-
}),
|
|
284
|
-
_: 1
|
|
285
|
-
}, _parent));
|
|
286
|
-
if ($setup.cartItem._id) {
|
|
287
|
-
_push(`<button class="absolute top-0 right-0 p-2 opacity-70 hover:opacity-100"${ssrRenderAttr("aria-label", "Remover")}><span class="w-5 h-5 text-sm leading-none flex flex-col justify-center rounded-full border-3 text-danger-800 border-danger-700/30"><i class="i-close my-0 mx-auto"></i></span></button>`);
|
|
288
|
-
} else {
|
|
289
|
-
_push(`<!---->`);
|
|
290
|
-
}
|
|
291
|
-
_push(`<div class="flex justify-between items-center border-t-2 border-base-100"><div class="border-r-2 border-base-100">`);
|
|
292
|
-
_push(ssrRenderComponent($setup["QuantitySelector"], {
|
|
293
|
-
modelValue: $setup.cartItem.quantity,
|
|
294
|
-
"onUpdate:modelValue": ($event) => $setup.cartItem.quantity = $event,
|
|
295
|
-
min: $setup.cartItem.min_quantity,
|
|
296
|
-
max: $setup.cartItem.max_quantity
|
|
297
|
-
}, null, _parent));
|
|
298
|
-
_push(`</div>`);
|
|
299
|
-
_push(ssrRenderComponent($setup["Prices"], {
|
|
300
|
-
"base-price": $setup.cartItem.base_price,
|
|
301
|
-
price: $setup.finalPrice,
|
|
302
|
-
"has-cashback": false,
|
|
303
|
-
"has-price-options": false,
|
|
304
|
-
class: "px-4 py-2.5 text-[95%] text-right"
|
|
305
|
-
}, null, _parent));
|
|
306
|
-
_push(`</div></article>`);
|
|
307
|
-
}
|
|
308
|
-
const _sfc_setup$1 = _sfc_main$1.setup;
|
|
309
|
-
_sfc_main$1.setup = (props, ctx) => {
|
|
310
|
-
const ssrContext = useSSRContext();
|
|
311
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/CartItem.vue");
|
|
312
|
-
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
313
|
-
};
|
|
314
|
-
const CartItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["ssrRender", _sfc_ssrRender$1]]);
|
|
315
|
-
|
|
316
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
317
|
-
__name: "CartSidebar",
|
|
318
|
-
emits: ["close"],
|
|
319
|
-
setup(__props, { expose: __expose, emit }) {
|
|
320
|
-
__expose();
|
|
321
|
-
const __returned__ = { emit, get freeShippingFromValue() {
|
|
322
|
-
return freeShippingFromValue;
|
|
323
|
-
}, get shoppingCart() {
|
|
324
|
-
return shoppingCart;
|
|
325
|
-
}, get totalItems() {
|
|
326
|
-
return totalItems;
|
|
327
|
-
}, CheckoutLink, Prices, CartItem };
|
|
328
|
-
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
329
|
-
return __returned__;
|
|
330
|
-
}
|
|
331
|
-
});
|
|
332
|
-
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
333
|
-
_push(`<aside${ssrRenderAttrs(mergeProps({ class: "flex flex-col h-screen bg-white" }, _attrs))}><header class="px-6 py-4 flex justify-end items-center gap-3 shadow ring-1 ring-black/5 z-10"><span class="text-right text-base text-base-600 font-medium">${ssrInterpolate("Meu carrinho de compras")}</span><span class="min-w-[3rem] text-right"><span class="ui-badge-pill-lg">${ssrInterpolate($setup.totalItems)}</span></span></header><article class="grow overflow-y-auto bg-base-50">`);
|
|
334
|
-
if ($setup.freeShippingFromValue) {
|
|
335
|
-
_push(`<div class="text-sm text-center">`);
|
|
336
|
-
if ($setup.freeShippingFromValue > $setup.shoppingCart.subtotal) {
|
|
337
|
-
_push(`<div class="p-3 secondary-subtle">${ssrInterpolate("Adicione $1 para ganhar".replace(
|
|
338
|
-
"$1",
|
|
339
|
-
_ctx.$money($setup.freeShippingFromValue - $setup.shoppingCart.subtotal)
|
|
340
|
-
))} <strong class="lowercase">${ssrInterpolate("Frete gr\xE1tis")}</strong></div>`);
|
|
341
|
-
} else {
|
|
342
|
-
_push(`<div class="p-3 bg-success-50 text-success-800"><i class="text-success-900 i-check mr-1"></i> ${ssrInterpolate("Frete gr\xE1tis a partir de")} ${ssrInterpolate(_ctx.$money($setup.freeShippingFromValue))}</div>`);
|
|
343
|
-
}
|
|
344
|
-
_push(`</div>`);
|
|
345
|
-
} else {
|
|
346
|
-
_push(`<!---->`);
|
|
347
|
-
}
|
|
348
|
-
_push(`<ul class="px-4 pt-4 pb-2"><!--[-->`);
|
|
349
|
-
ssrRenderList($setup.shoppingCart.items, (item, i) => {
|
|
350
|
-
_push(`<li>`);
|
|
351
|
-
_push(ssrRenderComponent($setup["CartItem"], {
|
|
352
|
-
item,
|
|
353
|
-
class: "mb-3"
|
|
354
|
-
}, null, _parent));
|
|
355
|
-
_push(`</li>`);
|
|
356
|
-
});
|
|
357
|
-
_push(`<!--]--></ul></article><footer class="px-5 pt-4 pb-3 ring-2 ring-black/5 z-10"><div class="grid grid-cols-5 gap-3 items-center text-right"><div class="col-span-2">${ssrInterpolate("Subtotal")}</div>`);
|
|
358
|
-
_push(ssrRenderComponent($setup["Prices"], {
|
|
359
|
-
price: $setup.shoppingCart.subtotal,
|
|
360
|
-
class: "col-span-3 text-lg"
|
|
361
|
-
}, null, _parent));
|
|
362
|
-
_push(`</div>`);
|
|
363
|
-
_push(ssrRenderComponent($setup["CheckoutLink"], { class: "ui-btn-lg ui-btn-primary w-full text-right my-2.5" }, {
|
|
364
|
-
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
365
|
-
if (_push2) {
|
|
366
|
-
_push2(`<i class="i-check mr-2"${_scopeId}></i> ${ssrInterpolate("Finalizar compra")}`);
|
|
367
|
-
} else {
|
|
368
|
-
return [
|
|
369
|
-
createVNode("i", { class: "i-check mr-2" }),
|
|
370
|
-
createTextVNode(" " + toDisplayString("Finalizar compra"))
|
|
371
|
-
];
|
|
372
|
-
}
|
|
373
|
-
}),
|
|
374
|
-
_: 1
|
|
375
|
-
}, _parent));
|
|
376
|
-
_push(`<a href="#" class="ui-link text-base-500 hover:text-base-700 text-sm"><i class="i-arrow-left mr-1"></i> ${ssrInterpolate("Continuar comprando")}</a></footer></aside>`);
|
|
377
|
-
}
|
|
378
|
-
const _sfc_setup = _sfc_main.setup;
|
|
379
|
-
_sfc_main.setup = (props, ctx) => {
|
|
380
|
-
const ssrContext = useSSRContext();
|
|
381
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/CartSidebar.vue");
|
|
382
|
-
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
383
|
-
};
|
|
384
|
-
const CartSidebar = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
385
|
-
|
|
386
|
-
export { CartSidebar as default };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { mergeProps, useSSRContext } from 'vue';
|
|
2
|
-
import { ssrRenderAttrs } from 'vue/server-renderer';
|
|
3
|
-
import { _ as _export_sfc } from './pages/_...slug_.astro.0808946e.mjs';
|
|
4
|
-
import './astro.708269c6.mjs';
|
|
5
|
-
import 'path-to-regexp';
|
|
6
|
-
import 'cookie';
|
|
7
|
-
import '@astrojs/internal-helpers/path';
|
|
8
|
-
import 'kleur/colors';
|
|
9
|
-
import 'node:fs';
|
|
10
|
-
import 'node:http';
|
|
11
|
-
import 'node:tls';
|
|
12
|
-
import 'mime';
|
|
13
|
-
import 'string-width';
|
|
14
|
-
import 'html-escaper';
|
|
15
|
-
import '@cloudcommerce/api';
|
|
16
|
-
import 'node:events';
|
|
17
|
-
import 'node:path';
|
|
18
|
-
import '@cloudcommerce/config';
|
|
19
|
-
import '@ecomplus/utils';
|
|
20
|
-
import 'ultrahtml';
|
|
21
|
-
/* empty css */import '@vueuse/core';
|
|
22
|
-
import '@headlessui/vue';
|
|
23
|
-
|
|
24
|
-
const _sfc_main = {};
|
|
25
|
-
|
|
26
|
-
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
|
27
|
-
_push(`<div${ssrRenderAttrs(mergeProps({ class: "w-full h-40 bg-base-300" }, _attrs))}></div>`);
|
|
28
|
-
}
|
|
29
|
-
const _sfc_setup = _sfc_main.setup;
|
|
30
|
-
_sfc_main.setup = (props, ctx) => {
|
|
31
|
-
const ssrContext = useSSRContext()
|
|
32
|
-
;(ssrContext.modules || (ssrContext.modules = new Set())).add("src/components/SearchModal.vue");
|
|
33
|
-
return _sfc_setup ? _sfc_setup(props, ctx) : undefined
|
|
34
|
-
};
|
|
35
|
-
const SearchModal = /*#__PURE__*/_export_sfc(_sfc_main, [['ssrRender',_sfc_ssrRender]]);
|
|
36
|
-
|
|
37
|
-
export { SearchModal as default };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export { renderers } from '../renderers.mjs';
|
|
2
|
-
export { onRequest } from '../_empty-middleware.mjs';
|
|
3
|
-
import './astro.708269c6.mjs';
|
|
4
|
-
import 'path-to-regexp';
|
|
5
|
-
import 'cookie';
|
|
6
|
-
import '@astrojs/internal-helpers/path';
|
|
7
|
-
import 'kleur/colors';
|
|
8
|
-
import 'node:fs';
|
|
9
|
-
import 'node:http';
|
|
10
|
-
import 'node:tls';
|
|
11
|
-
import 'mime';
|
|
12
|
-
import 'string-width';
|
|
13
|
-
import 'html-escaper';
|
|
14
|
-
import 'vue';
|
|
15
|
-
import 'vue/server-renderer';
|
|
16
|
-
import '@ecomplus/utils';
|
|
17
|
-
import './pages/_...slug_.astro.0808946e.mjs';
|
|
18
|
-
import '@cloudcommerce/api';
|
|
19
|
-
import 'node:events';
|
|
20
|
-
import 'node:path';
|
|
21
|
-
import '@cloudcommerce/config';
|
|
22
|
-
import 'ultrahtml';
|
|
23
|
-
/* empty css */import '@vueuse/core';
|
|
24
|
-
import '@headlessui/vue';
|
|
25
|
-
|
|
26
|
-
const page = () => import('./pages/_...slug_.astro.0808946e.mjs').then(n => n.i);
|
|
27
|
-
|
|
28
|
-
export { page };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export { renderers } from '../renderers.mjs';
|
|
2
|
-
export { onRequest } from '../_empty-middleware.mjs';
|
|
3
|
-
import './astro.708269c6.mjs';
|
|
4
|
-
import 'path-to-regexp';
|
|
5
|
-
import 'cookie';
|
|
6
|
-
import '@astrojs/internal-helpers/path';
|
|
7
|
-
import 'kleur/colors';
|
|
8
|
-
import 'node:fs';
|
|
9
|
-
import 'node:http';
|
|
10
|
-
import 'node:tls';
|
|
11
|
-
import 'mime';
|
|
12
|
-
import 'string-width';
|
|
13
|
-
import 'html-escaper';
|
|
14
|
-
import 'vue';
|
|
15
|
-
import 'vue/server-renderer';
|
|
16
|
-
import '@ecomplus/utils';
|
|
17
|
-
import './pages/_...slug_.astro.0808946e.mjs';
|
|
18
|
-
import '@cloudcommerce/api';
|
|
19
|
-
import 'node:events';
|
|
20
|
-
import 'node:path';
|
|
21
|
-
import '@cloudcommerce/config';
|
|
22
|
-
import 'ultrahtml';
|
|
23
|
-
/* empty css */import '@vueuse/core';
|
|
24
|
-
import '@headlessui/vue';
|
|
25
|
-
|
|
26
|
-
const page = () => import('./pages/account.astro.32e7e6ef.mjs');
|
|
27
|
-
|
|
28
|
-
export { page };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export { renderers } from '../renderers.mjs';
|
|
2
|
-
export { onRequest } from '../_empty-middleware.mjs';
|
|
3
|
-
import './astro.708269c6.mjs';
|
|
4
|
-
import 'path-to-regexp';
|
|
5
|
-
import 'cookie';
|
|
6
|
-
import '@astrojs/internal-helpers/path';
|
|
7
|
-
import 'kleur/colors';
|
|
8
|
-
import 'node:fs';
|
|
9
|
-
import 'node:http';
|
|
10
|
-
import 'node:tls';
|
|
11
|
-
import 'mime';
|
|
12
|
-
import 'string-width';
|
|
13
|
-
import 'html-escaper';
|
|
14
|
-
import 'vue';
|
|
15
|
-
import 'vue/server-renderer';
|
|
16
|
-
import '@ecomplus/utils';
|
|
17
|
-
import './pages/_...slug_.astro.0808946e.mjs';
|
|
18
|
-
import '@cloudcommerce/api';
|
|
19
|
-
import 'node:events';
|
|
20
|
-
import 'node:path';
|
|
21
|
-
import '@cloudcommerce/config';
|
|
22
|
-
import 'ultrahtml';
|
|
23
|
-
/* empty css */import '@vueuse/core';
|
|
24
|
-
import '@headlessui/vue';
|
|
25
|
-
|
|
26
|
-
const page = () => import('./pages/index.astro.d4145872.mjs').then(n => n.a);
|
|
27
|
-
|
|
28
|
-
export { page };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export { renderers } from '../renderers.mjs';
|
|
2
|
-
export { onRequest } from '../_empty-middleware.mjs';
|
|
3
|
-
import './astro.708269c6.mjs';
|
|
4
|
-
import 'path-to-regexp';
|
|
5
|
-
import 'cookie';
|
|
6
|
-
import '@astrojs/internal-helpers/path';
|
|
7
|
-
import 'kleur/colors';
|
|
8
|
-
import 'node:fs';
|
|
9
|
-
import 'node:http';
|
|
10
|
-
import 'node:tls';
|
|
11
|
-
import 'mime';
|
|
12
|
-
import 'string-width';
|
|
13
|
-
import 'html-escaper';
|
|
14
|
-
import 'vue';
|
|
15
|
-
import 'vue/server-renderer';
|
|
16
|
-
import '@ecomplus/utils';
|
|
17
|
-
import './pages/_...slug_.astro.0808946e.mjs';
|
|
18
|
-
import '@cloudcommerce/api';
|
|
19
|
-
import 'node:events';
|
|
20
|
-
import 'node:path';
|
|
21
|
-
import '@cloudcommerce/config';
|
|
22
|
-
import 'ultrahtml';
|
|
23
|
-
/* empty css */import '@vueuse/core';
|
|
24
|
-
import '@headlessui/vue';
|
|
25
|
-
|
|
26
|
-
const page = () => import('./pages/index.astro.d4145872.mjs').then(n => n.i);
|
|
27
|
-
|
|
28
|
-
export { page };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { c as createAstro, a as createComponent, r as renderTemplate } from '../astro.708269c6.mjs';
|
|
2
|
-
import 'path-to-regexp';
|
|
3
|
-
import 'cookie';
|
|
4
|
-
import '@astrojs/internal-helpers/path';
|
|
5
|
-
import 'kleur/colors';
|
|
6
|
-
import 'node:fs';
|
|
7
|
-
import 'node:http';
|
|
8
|
-
import 'node:tls';
|
|
9
|
-
import 'mime';
|
|
10
|
-
import 'string-width';
|
|
11
|
-
import 'html-escaper';
|
|
12
|
-
|
|
13
|
-
const $$Astro = createAstro("https://ecom2-demo.web.app");
|
|
14
|
-
const $$Account = createComponent(async ($$result, $$props, $$slots) => {
|
|
15
|
-
const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
|
|
16
|
-
Astro2.self = $$Account;
|
|
17
|
-
return renderTemplate``;
|
|
18
|
-
}, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/account.astro", void 0);
|
|
19
|
-
|
|
20
|
-
const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/account.astro";
|
|
21
|
-
const $$url = "/app/account";
|
|
22
|
-
|
|
23
|
-
export { $$Account as default, $$file as file, $$url as url };
|