cloudcommerce 0.26.6 → 0.26.7

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.
Files changed (231) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
  3. package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
  4. package/ecomplus-stores/barra-doce/functions/ssr/src/components/ShopHeader.vue +4 -1
  5. package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
  6. package/ecomplus-stores/barra-doce/package.json +2 -2
  7. package/ecomplus-stores/barra-doce/scripts/install.sh +12 -2
  8. package/ecomplus-stores/iluminim/scripts/install.sh +12 -2
  9. package/ecomplus-stores/monocard/.firebaserc +1 -1
  10. package/ecomplus-stores/monocard/.github/build-and-deploy +1 -0
  11. package/ecomplus-stores/monocard/.github/workflows/build-and-deploy.yml +1 -0
  12. package/ecomplus-stores/monocard/README.md +11 -82
  13. package/ecomplus-stores/monocard/SETUP.md +129 -0
  14. package/ecomplus-stores/monocard/{README.pt-BR.md → SETUP.pt-BR.md} +39 -12
  15. package/ecomplus-stores/monocard/functions/config.json +1 -1
  16. package/ecomplus-stores/monocard/functions/{passport → many}/index.js +5 -0
  17. package/ecomplus-stores/monocard/functions/{events → many}/package.json +4 -3
  18. package/ecomplus-stores/monocard/functions/ssr/.eslintrc.cjs +1 -1
  19. package/ecomplus-stores/monocard/functions/ssr/content/blog/.gitkeep +0 -0
  20. package/ecomplus-stores/monocard/functions/ssr/content/extra-pages/contato.json +11 -0
  21. package/ecomplus-stores/monocard/functions/ssr/content/extra-pages/terms.json +11 -0
  22. package/ecomplus-stores/monocard/functions/ssr/content/extra-pages/trocas.json +11 -0
  23. package/ecomplus-stores/monocard/functions/ssr/content/layout.json +25 -10
  24. package/ecomplus-stores/monocard/functions/ssr/content/pages/home.json +63 -0
  25. package/ecomplus-stores/monocard/functions/ssr/content/pages/products.json +19 -0
  26. package/ecomplus-stores/monocard/functions/ssr/content/settings.json +22 -2
  27. package/ecomplus-stores/monocard/functions/ssr/package.json +8 -9
  28. package/ecomplus-stores/monocard/functions/ssr/public/admin/.gitkeep +0 -0
  29. package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/ecom-icon.png +0 -0
  30. package/ecomplus-stores/monocard/functions/ssr/src/assets/card.css +99 -0
  31. package/ecomplus-stores/monocard/functions/ssr/src/assets/style.css +74 -0
  32. package/ecomplus-stores/monocard/functions/ssr/src/components/AccountMenu.vue +5 -14
  33. package/ecomplus-stores/monocard/functions/ssr/src/components/Banner.vue +59 -0
  34. package/ecomplus-stores/monocard/functions/ssr/src/components/BannersGrid.astro +25 -0
  35. package/ecomplus-stores/monocard/functions/ssr/src/components/Breadcrumbs.astro +44 -0
  36. package/ecomplus-stores/monocard/functions/ssr/src/components/CartItem.vue +64 -0
  37. package/ecomplus-stores/monocard/functions/ssr/src/components/CartSidebar.vue +66 -0
  38. package/ecomplus-stores/monocard/functions/ssr/src/components/DemoVideo.vue +8 -3
  39. package/ecomplus-stores/monocard/functions/ssr/src/components/DocDescription.astro +30 -0
  40. package/ecomplus-stores/monocard/functions/ssr/src/components/FeatureTabs.vue +2 -2
  41. package/ecomplus-stores/monocard/functions/ssr/src/components/LottiePhoneNFC.vue +12 -9
  42. package/ecomplus-stores/monocard/functions/ssr/src/components/MonocardCustomizer.vue +8 -105
  43. package/ecomplus-stores/monocard/functions/ssr/src/components/Prices.vue +10 -27
  44. package/ecomplus-stores/monocard/functions/ssr/src/components/ProductCard.vue +117 -0
  45. package/ecomplus-stores/monocard/functions/ssr/src/components/ProductShelf.vue +57 -0
  46. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopFooter.vue +123 -0
  47. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeader.vue +85 -32
  48. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeaderMenu.vue +1 -1
  49. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopSidenav.vue +3 -3
  50. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopSidenavCategory.vue +2 -2
  51. package/ecomplus-stores/monocard/functions/ssr/src/env.d.ts +9 -1
  52. package/ecomplus-stores/monocard/functions/ssr/src/layouts/Base.astro +9 -44
  53. package/ecomplus-stores/monocard/functions/ssr/src/layouts/PageFooter.astro +52 -0
  54. package/ecomplus-stores/monocard/functions/ssr/src/layouts/PageHeader.astro +35 -0
  55. package/ecomplus-stores/monocard/functions/ssr/src/main/Fallback.astro +0 -5
  56. package/ecomplus-stores/monocard/functions/ssr/src/main/Home.astro +6 -12
  57. package/ecomplus-stores/monocard/functions/ssr/src/main/Sections.astro +38 -0
  58. package/ecomplus-stores/monocard/functions/ssr/src/main/Wildcard.astro +4 -18
  59. package/ecomplus-stores/monocard/functions/ssr/src/pages/[...slug].astro +15 -9
  60. package/ecomplus-stores/monocard/functions/ssr/src/pages/comprar/index.astro +19 -9
  61. package/ecomplus-stores/monocard/functions/ssr/src/pages/index.astro +16 -10
  62. package/ecomplus-stores/monocard/functions/ssr/src/pages/~fallback.astro +25 -0
  63. package/ecomplus-stores/monocard/functions/ssr/src/scripts/InlineScripts.astro +6 -6
  64. package/ecomplus-stores/monocard/functions/ssr/tailwind.config.cjs +1 -11
  65. package/ecomplus-stores/monocard/functions/{modules → with-apps}/index.js +3 -0
  66. package/ecomplus-stores/monocard/functions/{modules → with-apps}/package.json +4 -3
  67. package/ecomplus-stores/monocard/package.json +4 -1
  68. package/ecomplus-stores/monocard/scripts/install.sh +12 -2
  69. package/ecomplus-stores/tia-sonia/scripts/install.sh +12 -2
  70. package/package.json +4 -4
  71. package/packages/api/package.json +1 -1
  72. package/packages/apps/affilate-program/package.json +1 -1
  73. package/packages/apps/correios/package.json +1 -1
  74. package/packages/apps/custom-payment/package.json +1 -1
  75. package/packages/apps/custom-shipping/package.json +1 -1
  76. package/packages/apps/datafrete/package.json +1 -1
  77. package/packages/apps/discounts/package.json +1 -1
  78. package/packages/apps/emails/package.json +1 -1
  79. package/packages/apps/fb-conversions/package.json +2 -2
  80. package/packages/apps/flash-courier/package.json +1 -1
  81. package/packages/apps/frenet/package.json +1 -1
  82. package/packages/apps/galaxpay/package.json +1 -1
  83. package/packages/apps/google-analytics/package.json +1 -1
  84. package/packages/apps/jadlog/package.json +1 -1
  85. package/packages/apps/loyalty-points/package.json +1 -1
  86. package/packages/apps/melhor-envio/package.json +1 -1
  87. package/packages/apps/mercadopago/package.json +1 -1
  88. package/packages/apps/pagarme/package.json +2 -2
  89. package/packages/apps/paghiper/package.json +1 -1
  90. package/packages/apps/pix/package.json +1 -1
  91. package/packages/apps/tiny-erp/package.json +1 -1
  92. package/packages/apps/webhooks/package.json +1 -1
  93. package/packages/cli/package.json +2 -2
  94. package/packages/config/package.json +1 -1
  95. package/packages/emails/package.json +1 -1
  96. package/packages/eslint/package.json +3 -3
  97. package/packages/events/package.json +1 -1
  98. package/packages/feeds/package.json +1 -1
  99. package/packages/firebase/package.json +2 -2
  100. package/packages/i18n/package.json +1 -1
  101. package/packages/modules/package.json +1 -1
  102. package/packages/passport/package.json +1 -1
  103. package/packages/ssr/lib/firebase/serve-storefront.js +23 -8
  104. package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -1
  105. package/packages/ssr/package.json +2 -2
  106. package/packages/ssr/src/firebase/serve-storefront.ts +24 -8
  107. package/packages/storefront/dist/client/_astro/{Carousel.9ad2e1dc.js → Carousel.4bf71bce.js} +1 -1
  108. package/packages/storefront/dist/client/_astro/{CartSidebar.a6c6a885.js → CartSidebar.05b12b39.js} +1 -1
  109. package/packages/storefront/dist/client/_astro/{HeroSlider.ee1e6200.js → HeroSlider.fe108a14.js} +1 -1
  110. package/packages/storefront/dist/client/_astro/{PitchBar.6111676e.js → PitchBar.2c821b77.js} +1 -1
  111. package/packages/storefront/dist/client/_astro/{Prices.04ff8fce.js → Prices.78eb0a61.js} +1 -1
  112. package/packages/storefront/dist/client/_astro/{ProductShelf.085721d6.js → ProductShelf.46d8a51c.js} +1 -1
  113. package/packages/storefront/dist/client/_astro/ShopHeader.3694a82b.js +4 -0
  114. package/packages/storefront/dist/client/_astro/_...slug_.a4a7a874.css +1 -0
  115. package/packages/storefront/dist/client/_astro/ecom-icon_CDmhA.png +0 -0
  116. package/packages/storefront/dist/client/_astro/ecom-icon_Z27EX9f.png +0 -0
  117. package/packages/storefront/dist/client/_astro/ecom-icon_Zo1CLq.png +0 -0
  118. package/packages/storefront/dist/client/_astro/{firebase-app.8c541cce.js → firebase-app.3f59f3c7.js} +3 -3
  119. package/packages/storefront/dist/client/_astro/headphone_1Ekzdh.avif +0 -0
  120. package/packages/storefront/dist/client/_astro/headphone_Z1GbHcH.webp +0 -0
  121. package/packages/storefront/dist/client/_astro/{hoisted.85fdcf03.js → hoisted.648beb9d.js} +1 -1
  122. package/packages/storefront/dist/client/_astro/index.fadf28bd.js +1 -0
  123. package/packages/storefront/dist/client/_astro/logo_144owC.webp +0 -0
  124. package/packages/storefront/dist/client/_astro/logo_1ug3XF.png +0 -0
  125. package/packages/storefront/dist/client/_astro/logo_Z1EIN1I.avif +0 -0
  126. package/packages/storefront/dist/client/_astro/{modules-info.e5d77bf3.js → modules-info.df822732.js} +1 -1
  127. package/packages/storefront/dist/client/_astro/passion_1LvKlp.webp +0 -0
  128. package/packages/storefront/dist/client/_astro/passion_2PSWs.avif +0 -0
  129. package/packages/storefront/dist/client/_astro/rect8589_1A8K2Q.webp +0 -0
  130. package/packages/storefront/dist/client/_astro/rect8589_1ND0he.png +0 -0
  131. package/packages/storefront/dist/client/_astro/rect8589_1mIaKd.png +0 -0
  132. package/packages/storefront/dist/client/_astro/rect8589_LhopI.avif +0 -0
  133. package/packages/storefront/dist/client/_astro/rect8589_Z1NFjiR.avif +0 -0
  134. package/packages/storefront/dist/client/_astro/rect8589_Z2a06Gx.png +0 -0
  135. package/packages/storefront/dist/client/_astro/rect8589_Z2nulUU.webp +0 -0
  136. package/packages/storefront/dist/client/_astro/rect8589_ZH7hsH.avif +0 -0
  137. package/packages/storefront/dist/client/_astro/rect8589_ZorpIx.webp +0 -0
  138. package/packages/storefront/dist/client/_astro/rect859_1CcLjM.avif +0 -0
  139. package/packages/storefront/dist/client/_astro/rect859_1IVKep.png +0 -0
  140. package/packages/storefront/dist/client/_astro/rect859_1zkdb4.webp +0 -0
  141. package/packages/storefront/dist/client/_astro/rect859_299fN7.avif +0 -0
  142. package/packages/storefront/dist/client/_astro/rect859_CnIof.png +0 -0
  143. package/packages/storefront/dist/client/_astro/rect859_Z1OtQaE.avif +0 -0
  144. package/packages/storefront/dist/client/_astro/rect859_flB3g.png +0 -0
  145. package/packages/storefront/dist/client/_astro/rect859_rsWaw.webp +0 -0
  146. package/packages/storefront/dist/client/_astro/rect859_sLbkT.webp +0 -0
  147. package/packages/storefront/dist/client/_astro/rect89_1yf5jS.avif +0 -0
  148. package/packages/storefront/dist/client/_astro/rect89_GQBli.webp +0 -0
  149. package/packages/storefront/dist/client/~fallback.html +67 -0
  150. package/packages/storefront/dist/client/~index.html +113 -0
  151. package/packages/storefront/dist/server/chunks/{CartSidebar.41b20543.mjs → CartSidebar.4179ad81.mjs} +4 -12
  152. package/packages/storefront/dist/server/chunks/{SearchModal.5f5e6a15.mjs → SearchModal.146ce2f7.mjs} +4 -11
  153. package/packages/storefront/dist/server/chunks/{endpoint@_@js.11be892a.mjs → _...05c626ea.mjs} +3 -10
  154. package/packages/storefront/dist/server/chunks/{account@_@astro.204fba92.mjs → account@_@astro.5eaddaf8.mjs} +2 -9
  155. package/packages/storefront/dist/server/chunks/{index@_@astro.19e0f502.mjs → index@_@astro.25a343cc.mjs} +3 -10
  156. package/packages/storefront/dist/server/chunks/{index@_@astro.b37a6ac9.mjs → index@_@astro.2d2f2e33.mjs} +3 -10
  157. package/packages/storefront/dist/server/chunks/pages/{_...slug_.astro.36e8882b.mjs → _...slug_.astro.0808946e.mjs} +1836 -450
  158. package/packages/storefront/dist/server/chunks/pages/index.astro.d4145872.mjs +186 -0
  159. package/packages/storefront/dist/server/chunks/pages/{~fallback.astro.ba4c2475.mjs → ~fallback.astro.84d4765b.mjs} +6 -23
  160. package/packages/storefront/dist/server/chunks/{~fallback@_@astro.6bb4c4b4.mjs → ~fallback@_@astro.86d710c3.mjs} +3 -10
  161. package/packages/storefront/dist/server/entry.mjs +7 -14
  162. package/packages/storefront/dist/server/images.dist.csv +30 -0
  163. package/packages/storefront/dist/server/images.src.csv +11 -0
  164. package/packages/storefront/dist/server/renderers.mjs +2 -9
  165. package/packages/storefront/dist/server/static-builds.csv +51 -0
  166. package/packages/storefront/package.json +3 -3
  167. package/packages/storefront/scripts/build-prod.sh +3 -2
  168. package/packages/storefront/server.d.ts +1 -0
  169. package/packages/storefront/src/lib/assets/base.css +8 -0
  170. package/packages/storefront/src/lib/assets/reset.css +11 -2
  171. package/packages/storefront/src/lib/components/ContentClearfix.astro +4 -1
  172. package/packages/storefront/src/lib/components/Drawer.vue +1 -1
  173. package/packages/storefront/src/lib/layouts/BaseBody.astro +3 -1
  174. package/packages/storefront/src/lib/layouts/BaseHead.astro +8 -3
  175. package/packages/storefront/src/lib/layouts/use-page-header.ts +2 -2
  176. package/packages/test-base/package.json +1 -1
  177. package/packages/types/package.json +1 -1
  178. package/pnpm-workspace.yaml +2 -0
  179. package/ecomplus-stores/monocard/functions/core/index.js +0 -9
  180. package/ecomplus-stores/monocard/functions/core/package.json +0 -20
  181. package/ecomplus-stores/monocard/functions/events/index.js +0 -9
  182. package/ecomplus-stores/monocard/functions/passport/package.json +0 -21
  183. package/ecomplus-stores/monocard/functions/ssr/content/blog.json +0 -18
  184. package/ecomplus-stores/monocard/functions/ssr/content/brands.json +0 -24
  185. package/ecomplus-stores/monocard/functions/ssr/content/categories.json +0 -24
  186. package/ecomplus-stores/monocard/functions/ssr/content/collections.json +0 -24
  187. package/ecomplus-stores/monocard/functions/ssr/content/home.json +0 -45
  188. package/ecomplus-stores/monocard/functions/ssr/content/maintenance.json +0 -6
  189. package/ecomplus-stores/monocard/functions/ssr/content/pages/contato.json +0 -6
  190. package/ecomplus-stores/monocard/functions/ssr/content/pages/entrega.json +0 -6
  191. package/ecomplus-stores/monocard/functions/ssr/content/pages/faq.json +0 -6
  192. package/ecomplus-stores/monocard/functions/ssr/content/pages/pagamentos.json +0 -6
  193. package/ecomplus-stores/monocard/functions/ssr/content/pages/privacidade.json +0 -6
  194. package/ecomplus-stores/monocard/functions/ssr/content/pages/sobre-nos.json +0 -6
  195. package/ecomplus-stores/monocard/functions/ssr/content/pages/termos.json +0 -6
  196. package/ecomplus-stores/monocard/functions/ssr/content/pages/trocas.json +0 -6
  197. package/ecomplus-stores/monocard/functions/ssr/content/posts/esta-loja-e-um-pwa.json +0 -9
  198. package/ecomplus-stores/monocard/functions/ssr/content/products.json +0 -32
  199. package/ecomplus-stores/monocard/functions/ssr/content/search.json +0 -8
  200. package/ecomplus-stores/monocard/functions/ssr/content/widgets/analytics.json +0 -11
  201. package/ecomplus-stores/monocard/functions/ssr/content/widgets/compre-confie.json +0 -11
  202. package/ecomplus-stores/monocard/functions/ssr/content/widgets/ebit.json +0 -11
  203. package/ecomplus-stores/monocard/functions/ssr/content/widgets/fb-pixel.json +0 -12
  204. package/ecomplus-stores/monocard/functions/ssr/content/widgets/gmc-ratings.json +0 -12
  205. package/ecomplus-stores/monocard/functions/ssr/content/widgets/minicart.json +0 -6
  206. package/ecomplus-stores/monocard/functions/ssr/content/widgets/offers-notification.json +0 -11
  207. package/ecomplus-stores/monocard/functions/ssr/content/widgets/opinioes-verificadas.json +0 -18
  208. package/ecomplus-stores/monocard/functions/ssr/content/widgets/product-card.json +0 -10
  209. package/ecomplus-stores/monocard/functions/ssr/content/widgets/product.json +0 -13
  210. package/ecomplus-stores/monocard/functions/ssr/content/widgets/search-engine.json +0 -8
  211. package/ecomplus-stores/monocard/functions/ssr/content/widgets/search.json +0 -6
  212. package/ecomplus-stores/monocard/functions/ssr/content/widgets/tag-manager.json +0 -12
  213. package/ecomplus-stores/monocard/functions/ssr/content/widgets/tawkto.json +0 -12
  214. package/ecomplus-stores/monocard/functions/ssr/content/widgets/trustvox.json +0 -15
  215. package/ecomplus-stores/monocard/functions/ssr/content/widgets/user.json +0 -5
  216. package/ecomplus-stores/monocard/functions/ssr/public/admin/config.json +0 -1
  217. package/ecomplus-stores/monocard/functions/ssr/public/assets/cms-preview.css +0 -274
  218. package/ecomplus-stores/monocard/functions/ssr/public/assets/cms.css +0 -114
  219. package/ecomplus-stores/monocard/functions/ssr/public/assets/cvv.png +0 -0
  220. package/ecomplus-stores/monocard/functions/ssr/public/assets/fonts/FavoritPro-Regular.woff2 +0 -0
  221. package/ecomplus-stores/monocard/functions/ssr/public/assets/fonts/MyriadPro-Regular.woff2 +0 -0
  222. package/ecomplus-stores/monocard/functions/ssr/public/assets/ssl-safe.png +0 -0
  223. package/ecomplus-stores/monocard/functions/ssr/src/layouts/Pages.astro +0 -50
  224. package/ecomplus-stores/monocard/functions/ssr/src/pages/fallback.astro +0 -21
  225. package/packages/storefront/dist/client/_astro/ShopHeader.7e485e35.js +0 -4
  226. package/packages/storefront/dist/client/_astro/_...slug_.b693913e.css +0 -1
  227. package/packages/storefront/dist/client/_astro/index.ea57babe.js +0 -1
  228. package/packages/storefront/dist/server/chunks/_...4a2548d2.mjs +0 -35
  229. package/packages/storefront/dist/server/chunks/pages/endpoint.js.f7a896a1.mjs +0 -119
  230. package/packages/storefront/dist/server/chunks/pages/index.astro.3145bd93.mjs +0 -1649
  231. /package/ecomplus-stores/monocard/functions/ssr/src/components/{FeatureTabs.astro → FeaturesSection.astro} +0 -0
@@ -0,0 +1,186 @@
1
+ import { c as createAstro, a as createComponent, r as renderTemplate, m as maybeRenderHead, d as renderComponent, b as addAttribute, u as unescapeHTML, F as Fragment$1 } from '../astro.708269c6.mjs';
2
+ import { _ as _export_sfc, C as Carousel, a as CarouselControl, B as Banner, u as usePageHero, $ as $$BannerPictures, b as $$Sections, l as loadRouteContext, c as $$BaseHead, d as $$PageHeader, e as $$PageFooter, f as $$Base } from './_...slug_.astro.0808946e.mjs';
3
+ import { useSSRContext, defineComponent, mergeProps, withCtx, createVNode, withDirectives, vShow, renderSlot, openBlock, createBlock, Fragment, renderList } from 'vue';
4
+ import { ssrRenderAttrs, ssrRenderComponent, ssrRenderStyle, ssrRenderList, ssrRenderSlot } from 'vue/server-renderer';
5
+
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "HeroSlider",
8
+ props: {
9
+ autoplay: {},
10
+ slides: {}
11
+ },
12
+ setup(__props, { expose: __expose }) {
13
+ __expose();
14
+ const __returned__ = { Carousel, CarouselControl, Banner };
15
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
16
+ return __returned__;
17
+ }
18
+ });
19
+ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
20
+ _push(`<section${ssrRenderAttrs(mergeProps({ class: "relative mx-auto" }, _attrs))}>`);
21
+ _push(ssrRenderComponent($setup["Carousel"], {
22
+ autoplay: $props.autoplay,
23
+ class: "secondary [&>*]:items-center"
24
+ }, {
25
+ controls: withCtx((_, _push2, _parent2, _scopeId) => {
26
+ if (_push2) {
27
+ _push2(`<div style="${ssrRenderStyle($props.slides.length > 1 ? null : { display: "none" })}" class="absolute z-10 bottom-5 flex justify-end items-center w-screen right-5 xl:right-auto xl:max-w-screen-xl xl:left-1/2 xl:-ms-[640px]"${_scopeId}><div class="relative w-20 h-10 rounded-full bg-white/50 text-primary shadow-sm ring-1 ring-black/5"${_scopeId}>`);
28
+ _push2(ssrRenderComponent($setup["CarouselControl"], {
29
+ class: "w-10 h-10 rounded-full hover:bg-primary/10",
30
+ "is-prev": ""
31
+ }, {
32
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
33
+ if (_push3) {
34
+ _push3(`<i class="i-arrow-left"${_scopeId2}></i>`);
35
+ } else {
36
+ return [
37
+ createVNode("i", { class: "i-arrow-left" })
38
+ ];
39
+ }
40
+ }),
41
+ _: 1
42
+ }, _parent2, _scopeId));
43
+ _push2(ssrRenderComponent($setup["CarouselControl"], { class: "w-10 h-10 rounded-full hover:bg-primary/10" }, {
44
+ default: withCtx((_2, _push3, _parent3, _scopeId2) => {
45
+ if (_push3) {
46
+ _push3(`<i class="i-arrow-right"${_scopeId2}></i>`);
47
+ } else {
48
+ return [
49
+ createVNode("i", { class: "i-arrow-right" })
50
+ ];
51
+ }
52
+ }),
53
+ _: 1
54
+ }, _parent2, _scopeId));
55
+ _push2(`</div></div>`);
56
+ } else {
57
+ return [
58
+ withDirectives(createVNode("div", { class: "absolute z-10 bottom-5 flex justify-end items-center w-screen right-5 xl:right-auto xl:max-w-screen-xl xl:left-1/2 xl:-ms-[640px]" }, [
59
+ createVNode("div", { class: "relative w-20 h-10 rounded-full bg-white/50 text-primary shadow-sm ring-1 ring-black/5" }, [
60
+ createVNode($setup["CarouselControl"], {
61
+ class: "w-10 h-10 rounded-full hover:bg-primary/10",
62
+ "is-prev": ""
63
+ }, {
64
+ default: withCtx(() => [
65
+ createVNode("i", { class: "i-arrow-left" })
66
+ ]),
67
+ _: 1
68
+ }),
69
+ createVNode($setup["CarouselControl"], { class: "w-10 h-10 rounded-full hover:bg-primary/10" }, {
70
+ default: withCtx(() => [
71
+ createVNode("i", { class: "i-arrow-right" })
72
+ ]),
73
+ _: 1
74
+ })
75
+ ])
76
+ ], 512), [
77
+ [vShow, $props.slides.length > 1]
78
+ ])
79
+ ];
80
+ }
81
+ }),
82
+ default: withCtx((_, _push2, _parent2, _scopeId) => {
83
+ if (_push2) {
84
+ _push2(`<!--[-->`);
85
+ ssrRenderList($props.slides, (slide, i) => {
86
+ _push2(`<li class="shrink-0 basis-full"${_scopeId}>`);
87
+ _push2(ssrRenderComponent($setup["Banner"], mergeProps({ ...slide, headingTag: i === 0 ? "h2" : "h3" }, { class: "w-screen max-w-screen-2xl" }), {
88
+ picture: withCtx((_2, _push3, _parent3, _scopeId2) => {
89
+ if (_push3) {
90
+ ssrRenderSlot(_ctx.$slots, `picture-${i}`, {}, null, _push3, _parent3, _scopeId2);
91
+ } else {
92
+ return [
93
+ renderSlot(_ctx.$slots, `picture-${i}`)
94
+ ];
95
+ }
96
+ }),
97
+ _: 2
98
+ }, _parent2, _scopeId));
99
+ _push2(`</li>`);
100
+ });
101
+ _push2(`<!--]-->`);
102
+ } else {
103
+ return [
104
+ (openBlock(true), createBlock(Fragment, null, renderList($props.slides, (slide, i) => {
105
+ return openBlock(), createBlock("li", {
106
+ key: i,
107
+ class: "shrink-0 basis-full"
108
+ }, [
109
+ createVNode($setup["Banner"], mergeProps({ ...slide, headingTag: i === 0 ? "h2" : "h3" }, { class: "w-screen max-w-screen-2xl" }), {
110
+ picture: withCtx(() => [
111
+ renderSlot(_ctx.$slots, `picture-${i}`)
112
+ ]),
113
+ _: 2
114
+ }, 1040)
115
+ ]);
116
+ }), 128))
117
+ ];
118
+ }
119
+ }),
120
+ _: 3
121
+ }, _parent));
122
+ _push(`</section>`);
123
+ }
124
+ const _sfc_setup = _sfc_main.setup;
125
+ _sfc_main.setup = (props, ctx) => {
126
+ const ssrContext = useSSRContext();
127
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/HeroSlider.vue");
128
+ return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
129
+ };
130
+ const HeroSlider = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
131
+
132
+ const $$Astro$2 = createAstro("https://ecom2-demo.web.app");
133
+ const $$Home = createComponent(async ($$result, $$props, $$slots) => {
134
+ const Astro2 = $$result.createAstro($$Astro$2, $$props, $$slots);
135
+ Astro2.self = $$Home;
136
+ const { routeContext } = Astro2.locals;
137
+ const { heroSlider } = await usePageHero({ routeContext });
138
+ const heroSlides = heroSlider.slides;
139
+ return renderTemplate`${maybeRenderHead()}<main>${heroSlider.slides.length && renderTemplate`${renderComponent($$result, "HeroSlider", HeroSlider, { ...heroSlider, "client:load": true, "client:component-hydration": "load", "client:component-path": "~/components/HeroSlider.vue", "client:component-export": "default" }, { "picture-0": ($$result2) => renderTemplate`${heroSlides[0] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-0", ...heroSlides[0], "index": 0 })}`}`, "picture-1": ($$result2) => renderTemplate`${heroSlides[1] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-1", ...heroSlides[1], "index": 1 })}`}`, "picture-2": ($$result2) => renderTemplate`${heroSlides[2] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-2", ...heroSlides[2], "index": 2 })}`}`, "picture-3": ($$result2) => renderTemplate`${heroSlides[3] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-3", ...heroSlides[3], "index": 3 })}`}`, "picture-4": ($$result2) => renderTemplate`${heroSlides[4] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-4", ...heroSlides[4], "index": 4 })}`}`, "picture-5": ($$result2) => renderTemplate`${heroSlides[5] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-5", ...heroSlides[5], "index": 5 })}`}`, "picture-6": ($$result2) => renderTemplate`${heroSlides[6] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-6", ...heroSlides[6], "index": 6 })}`}`, "picture-7": ($$result2) => renderTemplate`${heroSlides[7] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-7", ...heroSlides[7], "index": 7 })}`}`, "picture-8": ($$result2) => renderTemplate`${heroSlides[8] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-8", ...heroSlides[8], "index": 8 })}`}`, "picture-9": ($$result2) => renderTemplate`${heroSlides[9] && renderTemplate`${renderComponent($$result2, "BannerPictures", $$BannerPictures, { "slot": "picture-9", ...heroSlides[9], "index": 9 })}`}` })}`}${renderComponent($$result, "Sections", $$Sections, {})}</main>`;
140
+ }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/main/Home.astro", void 0);
141
+
142
+ const $$Astro$1 = createAstro("https://ecom2-demo.web.app");
143
+ const $$Index$1 = createComponent(async ($$result, $$props, $$slots) => {
144
+ const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
145
+ Astro2.self = $$Index$1;
146
+ let routeContext;
147
+ let loadError;
148
+ try {
149
+ routeContext = await loadRouteContext(Astro2);
150
+ } catch (err) {
151
+ if (err.astroResponse) {
152
+ return err.astroResponse;
153
+ }
154
+ loadError = err;
155
+ }
156
+ return renderTemplate`<html${addAttribute(routeContext?.lang.replace("_", "-"), "lang")}>${routeContext && renderTemplate`${renderComponent($$result, "Base", $$Base, {}, { "base-head": ($$result2) => renderTemplate`${renderComponent($$result2, "BaseHead", $$BaseHead, { "slot": "base-head" })}`, "default": ($$result2) => renderTemplate`${renderComponent($$result2, "PageHeader", $$PageHeader, {})}${renderComponent($$result2, "HomeMain", $$Home, {})}${renderComponent($$result2, "PageFooter", $$PageFooter, {})}` })}`}${loadError && renderTemplate`${renderComponent($$result, "Fragment", Fragment$1, {}, { "default": ($$result2) => renderTemplate`${unescapeHTML(loadError.responseHTML)}` })}`}</html>`;
157
+ }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro", void 0);
158
+
159
+ const $$file$1 = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/index.astro";
160
+ const $$url$1 = "";
161
+
162
+ const index$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
163
+ __proto__: null,
164
+ default: $$Index$1,
165
+ file: $$file$1,
166
+ url: $$url$1
167
+ }, Symbol.toStringTag, { value: 'Module' }));
168
+
169
+ const $$Astro = createAstro("https://ecom2-demo.web.app");
170
+ const $$Index = createComponent(async ($$result, $$props, $$slots) => {
171
+ const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
172
+ Astro2.self = $$Index;
173
+ return renderTemplate``;
174
+ }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/index.astro", void 0);
175
+
176
+ const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/app/index.astro";
177
+ const $$url = "/app";
178
+
179
+ const index = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
180
+ __proto__: null,
181
+ default: $$Index,
182
+ file: $$file,
183
+ url: $$url
184
+ }, Symbol.toStringTag, { value: 'Module' }));
185
+
186
+ export { index as a, index$1 as i };
@@ -1,5 +1,5 @@
1
1
  import { c as createAstro, a as createComponent, r as renderTemplate, m as maybeRenderHead, b as addAttribute, d as renderComponent } from '../astro.708269c6.mjs';
2
- import { g as loadRouteContext, h as $$BaseHead, j as $$PageHeader, k as $$Base } from './_...slug_.astro.36e8882b.mjs';
2
+ import { l as loadRouteContext, c as $$BaseHead, d as $$PageHeader, f as $$Base } from './_...slug_.astro.0808946e.mjs';
3
3
  import 'path-to-regexp';
4
4
  import 'cookie';
5
5
  import '@astrojs/internal-helpers/path';
@@ -10,16 +10,9 @@ import 'node:tls';
10
10
  import 'mime';
11
11
  import 'string-width';
12
12
  import 'html-escaper';
13
- import 'node:fs/promises';
14
- import 'node:path';
15
- import 'node:url';
16
- import 'http-cache-semantics';
17
- import 'node:os';
18
- import 'image-size';
19
- import 'magic-string';
20
- import 'node:stream';
21
13
  import '@cloudcommerce/api';
22
14
  import 'node:events';
15
+ import 'node:path';
23
16
  import '@cloudcommerce/config';
24
17
  import '@ecomplus/utils';
25
18
  import 'ultrahtml';
@@ -32,13 +25,9 @@ const $$Astro$1 = createAstro("https://ecom2-demo.web.app");
32
25
  const $$Fallback = createComponent(async ($$result, $$props, $$slots) => {
33
26
  const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
34
27
  Astro2.self = $$Fallback;
35
- return renderTemplate`${maybeRenderHead()}<main>
36
- <h1>Error :/</h1>
37
- <p class="instructions">
38
- Check out the <code>src/pages</code> directory to get started.<br>
39
- <strong>Code Challenge:</strong> Tweak the "Welcome to Astro" message above.
40
- </p>
41
- </main>`;
28
+ return renderTemplate`${maybeRenderHead()}<main><h1>Error :/</h1><p class="instructions">
29
+ Check out the <code>src/pages</code> directory to get started.<br><strong>Code Challenge:</strong> Tweak the "Welcome to Astro" message above.
30
+ </p></main>`;
42
31
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/main/Fallback.astro", void 0);
43
32
 
44
33
  const $$Astro = createAstro("https://ecom2-demo.web.app");
@@ -51,13 +40,7 @@ const $$fallback = createComponent(async ($$result, $$props, $$slots) => {
51
40
  } catch (err) {
52
41
  return err.astroResponse;
53
42
  }
54
- return renderTemplate`<html${addAttribute(routeContext?.lang.replace("_", "-"), "lang")}>
55
- ${renderComponent($$result, "Base", $$Base, {}, { "base-head": ($$result2) => renderTemplate`${renderComponent($$result2, "BaseHead", $$BaseHead, { "slot": "base-head" })}`, "default": ($$result2) => renderTemplate`
56
-
57
- ${renderComponent($$result2, "PageHeader", $$PageHeader, {})}
58
- ${renderComponent($$result2, "FallbackMain", $$Fallback, {})}
59
- ` })}
60
- </html>`;
43
+ return renderTemplate`<html${addAttribute(routeContext?.lang.replace("_", "-"), "lang")}>${renderComponent($$result, "Base", $$Base, {}, { "base-head": ($$result2) => renderTemplate`${renderComponent($$result2, "BaseHead", $$BaseHead, { "slot": "base-head" })}`, "default": ($$result2) => renderTemplate`${renderComponent($$result2, "PageHeader", $$PageHeader, {})}${renderComponent($$result2, "FallbackMain", $$Fallback, {})}` })}</html>`;
61
44
  }, "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/~fallback.astro", void 0);
62
45
 
63
46
  const $$file = "/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/pages/~fallback.astro";
@@ -14,22 +14,15 @@ import 'html-escaper';
14
14
  import 'vue';
15
15
  import 'vue/server-renderer';
16
16
  import '@ecomplus/utils';
17
- import './pages/_...slug_.astro.36e8882b.mjs';
18
- import 'node:fs/promises';
19
- import 'node:path';
20
- import 'node:url';
21
- import 'http-cache-semantics';
22
- import 'node:os';
23
- import 'image-size';
24
- import 'magic-string';
25
- import 'node:stream';
17
+ import './pages/_...slug_.astro.0808946e.mjs';
26
18
  import '@cloudcommerce/api';
27
19
  import 'node:events';
20
+ import 'node:path';
28
21
  import '@cloudcommerce/config';
29
22
  import 'ultrahtml';
30
23
  /* empty css */import '@vueuse/core';
31
24
  import '@headlessui/vue';
32
25
 
33
- const page = () => import('./pages/~fallback.astro.ba4c2475.mjs');
26
+ const page = () => import('./pages/~fallback.astro.84d4765b.mjs');
34
27
 
35
28
  export { page };
@@ -25,13 +25,7 @@ import 'html-escaper';
25
25
  import 'vue';
26
26
  import 'vue/server-renderer';
27
27
  import '@ecomplus/utils';
28
- import './chunks/pages/_...slug_.astro.36e8882b.mjs';
29
- import 'node:fs/promises';
30
- import 'http-cache-semantics';
31
- import 'node:os';
32
- import 'image-size';
33
- import 'magic-string';
34
- import 'node:stream';
28
+ import './chunks/pages/_...slug_.astro.0808946e.mjs';
35
29
  import '@cloudcommerce/api';
36
30
  import 'node:events';
37
31
  import '@cloudcommerce/config';
@@ -2881,13 +2875,12 @@ const adapter = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2881
2875
  start
2882
2876
  }, Symbol.toStringTag, { value: 'Module' }));
2883
2877
 
2884
- const _page0 = () => import('./chunks/endpoint@_@js.11be892a.mjs');
2885
- const _page1 = () => import('./chunks/index@_@astro.b37a6ac9.mjs');
2886
- const _page2 = () => import('./chunks/~fallback@_@astro.6bb4c4b4.mjs');
2887
- const _page3 = () => import('./chunks/index@_@astro.19e0f502.mjs');
2888
- const _page4 = () => import('./chunks/account@_@astro.204fba92.mjs');
2889
- const _page5 = () => import('./chunks/_...4a2548d2.mjs');const pageMap = new Map([["../../node_modules/.pnpm/@astrojs+image@0.17.3_astro@2.10.15_sharp@0.32.5/node_modules/@astrojs/image/dist/endpoint.js", _page0],["src/pages/index.astro", _page1],["src/pages/~fallback.astro", _page2],["src/pages/app/index.astro", _page3],["src/pages/app/account.astro", _page4],["src/pages/[...slug].astro", _page5]]);
2890
- const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/@astrojs+image@0.17.3_astro@2.10.15_sharp@0.32.5/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.85fdcf03.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.b693913e.css"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.85fdcf03.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.b693913e.css"}],"routeData":{"route":"/~fallback","type":"page","pattern":"^\\/~fallback\\/?$","segments":[[{"content":"~fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/~fallback.astro","pathname":"/~fallback","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.85fdcf03.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.b693913e.css"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","prerender":false,"_meta":{"trailingSlash":"ignore"}}}],"site":"https://ecom2-demo.web.app","base":"/","compressHTML":false,"markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"gfm":true,"smartypants":true},"componentMetadata":[],"renderers":[],"clientDirectives":[["idle","(()=>{var i=t=>{let e=async()=>{await(await t())()};\"requestIdleCallback\"in window?window.requestIdleCallback(e):setTimeout(e,200)};(self.Astro||(self.Astro={})).idle=i;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var s=(i,t)=>{let a=async()=>{await(await i())()};if(t.value){let e=matchMedia(t.value);e.matches?a():e.addEventListener(\"change\",a,{once:!0})}};(self.Astro||(self.Astro={})).media=s;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var r=(i,c,n)=>{let s=async()=>{await(await i())()},t=new IntersectionObserver(e=>{for(let o of e)if(o.isIntersecting){t.disconnect(),s();break}});for(let e of n.children)t.observe(e)};(self.Astro||(self.Astro={})).visible=r;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"_@astrojs-ssr-virtual-entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000empty-middleware":"_empty-middleware.mjs","/src/pages/app/account.astro":"chunks/pages/account.astro.32e7e6ef.mjs","/src/pages/~fallback.astro":"chunks/pages/~fallback.astro.ba4c2475.mjs","\u0000@astro-page:../../node_modules/.pnpm/@astrojs+image@0.17.3_astro@2.10.15_sharp@0.32.5/node_modules/@astrojs/image/dist/endpoint@_@js":"chunks/endpoint@_@js.11be892a.mjs","\u0000@astro-page:src/pages/index@_@astro":"chunks/index@_@astro.b37a6ac9.mjs","\u0000@astro-page:src/pages/~fallback@_@astro":"chunks/~fallback@_@astro.6bb4c4b4.mjs","\u0000@astro-page:src/pages/app/index@_@astro":"chunks/index@_@astro.19e0f502.mjs","\u0000@astro-page:src/pages/app/account@_@astro":"chunks/account@_@astro.204fba92.mjs","\u0000@astro-page:src/pages/[...slug]@_@astro":"chunks/_...4a2548d2.mjs","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/SearchModal.vue":"_astro/SearchModal.cffd4c2d.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/CartSidebar.vue":"_astro/CartSidebar.a6c6a885.js","~/components/HeroSlider.vue":"_astro/HeroSlider.ee1e6200.js","~/components/ProductShelf.vue":"_astro/ProductShelf.085721d6.js","~/components/PitchBar.vue":"_astro/PitchBar.6111676e.js","@astrojs/vue/client.js":"_astro/client.e6d9439a.js","/astro/hoisted.js?q=0":"_astro/hoisted.85fdcf03.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"_astro/workbox-window.prod.es5.a7b12eab.js","~/components/ShopHeader.vue":"_astro/ShopHeader.7e485e35.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/scripts/firebase-app.ts":"_astro/firebase-app.8c541cce.js","astro:scripts/before-hydration.js":""},"assets":["/_astro/_...slug_.b693913e.css","/manifest.webmanifest","/robots.txt","/sw.js","/workbox-1b331600.js","/_astro/Carousel.9ad2e1dc.js","/_astro/CartSidebar.a6c6a885.js","/_astro/HeroSlider.ee1e6200.js","/_astro/PitchBar.6111676e.js","/_astro/Prices.04ff8fce.js","/_astro/ProductShelf.085721d6.js","/_astro/SearchModal.cffd4c2d.js","/_astro/ShopHeader.7e485e35.js","/_astro/_plugin-vue_export-helper.ee681fa8.js","/_astro/api.a2eda23e.js","/_astro/client.e6d9439a.js","/_astro/firebase-app.8c541cce.js","/_astro/format-money.923559cc.js","/_astro/hoisted.85fdcf03.js","/_astro/img.ec6ba316.js","/_astro/index.ea57babe.js","/_astro/modules-info.e5d77bf3.js","/_astro/preload-helper.cf010ec4.js","/_astro/session-utm.744b0db3.js","/_astro/workbox-window.prod.es5.a7b12eab.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner2.webp","/img/uploads/ecom-icon.png","/img/uploads/headphone.webp","/img/uploads/logo.png","/img/uploads/og-image.png","/img/uploads/passion.webp","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.webp"]}), {
2878
+ const _page0 = () => import('./chunks/index@_@astro.2d2f2e33.mjs');
2879
+ const _page1 = () => import('./chunks/~fallback@_@astro.86d710c3.mjs');
2880
+ const _page2 = () => import('./chunks/index@_@astro.25a343cc.mjs');
2881
+ const _page3 = () => import('./chunks/account@_@astro.5eaddaf8.mjs');
2882
+ const _page4 = () => import('./chunks/_...05c626ea.mjs');const pageMap = new Map([["src/pages/index.astro", _page0],["src/pages/~fallback.astro", _page1],["src/pages/app/index.astro", _page2],["src/pages/app/account.astro", _page3],["src/pages/[...slug].astro", _page4]]);
2883
+ const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.648beb9d.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.a4a7a874.css"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.648beb9d.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.a4a7a874.css"}],"routeData":{"route":"/~fallback","type":"page","pattern":"^\\/~fallback\\/?$","segments":[[{"content":"~fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/~fallback.astro","pathname":"/~fallback","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/app/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","prerender":false,"_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"/_astro/hoisted.648beb9d.js"}],"styles":[{"type":"external","src":"/_astro/_...slug_.a4a7a874.css"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","prerender":false,"_meta":{"trailingSlash":"ignore"}}}],"site":"https://ecom2-demo.web.app","base":"/","compressHTML":true,"markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"gfm":true,"smartypants":true},"componentMetadata":[],"renderers":[],"clientDirectives":[["idle","(()=>{var i=t=>{let e=async()=>{await(await t())()};\"requestIdleCallback\"in window?window.requestIdleCallback(e):setTimeout(e,200)};(self.Astro||(self.Astro={})).idle=i;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var s=(i,t)=>{let a=async()=>{await(await i())()};if(t.value){let e=matchMedia(t.value);e.matches?a():e.addEventListener(\"change\",a,{once:!0})}};(self.Astro||(self.Astro={})).media=s;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var r=(i,c,n)=>{let s=async()=>{await(await i())()},t=new IntersectionObserver(e=>{for(let o of e)if(o.isIntersecting){t.disconnect(),s();break}});for(let e of n.children)t.observe(e)};(self.Astro||(self.Astro={})).visible=r;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"_@astrojs-ssr-virtual-entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000empty-middleware":"_empty-middleware.mjs","/src/pages/app/account.astro":"chunks/pages/account.astro.32e7e6ef.mjs","/src/pages/~fallback.astro":"chunks/pages/~fallback.astro.84d4765b.mjs","\u0000@astro-page:src/pages/index@_@astro":"chunks/index@_@astro.2d2f2e33.mjs","\u0000@astro-page:src/pages/~fallback@_@astro":"chunks/~fallback@_@astro.86d710c3.mjs","\u0000@astro-page:src/pages/app/index@_@astro":"chunks/index@_@astro.25a343cc.mjs","\u0000@astro-page:src/pages/app/account@_@astro":"chunks/account@_@astro.5eaddaf8.mjs","\u0000@astro-page:src/pages/[...slug]@_@astro":"chunks/_...05c626ea.mjs","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/SearchModal.vue":"_astro/SearchModal.cffd4c2d.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/components/CartSidebar.vue":"_astro/CartSidebar.05b12b39.js","/astro/hoisted.js?q=0":"_astro/hoisted.648beb9d.js","~/components/PitchBar.vue":"_astro/PitchBar.2c821b77.js","~/components/ProductShelf.vue":"_astro/ProductShelf.46d8a51c.js","~/components/HeroSlider.vue":"_astro/HeroSlider.fe108a14.js","@astrojs/vue/client.js":"_astro/client.e6d9439a.js","~/components/ShopHeader.vue":"_astro/ShopHeader.3694a82b.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"_astro/workbox-window.prod.es5.a7b12eab.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/scripts/firebase-app.ts":"_astro/firebase-app.3f59f3c7.js","astro:scripts/before-hydration.js":""},"assets":["/_astro/_...slug_.a4a7a874.css","/manifest.webmanifest","/robots.txt","/sw.js","/workbox-1b331600.js","/_astro/Carousel.4bf71bce.js","/_astro/CartSidebar.05b12b39.js","/_astro/HeroSlider.fe108a14.js","/_astro/PitchBar.2c821b77.js","/_astro/Prices.78eb0a61.js","/_astro/ProductShelf.46d8a51c.js","/_astro/SearchModal.cffd4c2d.js","/_astro/ShopHeader.3694a82b.js","/_astro/_plugin-vue_export-helper.ee681fa8.js","/_astro/api.a2eda23e.js","/_astro/client.e6d9439a.js","/_astro/firebase-app.3f59f3c7.js","/_astro/format-money.923559cc.js","/_astro/hoisted.648beb9d.js","/_astro/img.ec6ba316.js","/_astro/index.fadf28bd.js","/_astro/modules-info.df822732.js","/_astro/preload-helper.cf010ec4.js","/_astro/session-utm.744b0db3.js","/_astro/workbox-window.prod.es5.a7b12eab.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner2.webp","/img/uploads/ecom-icon.png","/img/uploads/headphone.webp","/img/uploads/logo.png","/img/uploads/og-image.png","/img/uploads/passion.webp","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.webp"]}), {
2891
2884
  pageMap,
2892
2885
  renderers,
2893
2886
  });
@@ -0,0 +1,30 @@
1
+ ecom-icon_CDmhA.png,192,192
2
+ ecom-icon_Z27EX9f.png,512,512
3
+ ecom-icon_Zo1CLq.png,32,32
4
+ logo_1ug3XF.png,300,71
5
+ rect8589_1mIaKd.png,1500,373
6
+ rect8589_1ND0he.png,640,159
7
+ rect8589_Z2a06Gx.png,828,206
8
+ rect859_1IVKep.png,828,206
9
+ rect859_CnIof.png,640,159
10
+ rect859_flB3g.png,1500,373
11
+ headphone_Z1GbHcH.webp,480,320
12
+ logo_144owC.webp,300,71
13
+ passion_1LvKlp.webp,480,320
14
+ rect8589_1A8K2Q.webp,640,159
15
+ rect8589_Z2nulUU.webp,828,206
16
+ rect8589_ZorpIx.webp,1500,373
17
+ rect859_1zkdb4.webp,828,206
18
+ rect859_rsWaw.webp,1500,373
19
+ rect859_sLbkT.webp,640,159
20
+ rect89_GQBli.webp,1201,311
21
+ headphone_1Ekzdh.avif,480,320
22
+ logo_Z1EIN1I.avif,300,71
23
+ passion_2PSWs.avif,480,320
24
+ rect8589_LhopI.avif,1500,373
25
+ rect8589_Z1NFjiR.avif,640,159
26
+ rect8589_ZH7hsH.avif,828,206
27
+ rect859_1CcLjM.avif,1500,373
28
+ rect859_299fN7.avif,640,159
29
+ rect859_Z1OtQaE.avif,828,206
30
+ rect89_1yf5jS.avif,1201,311
@@ -0,0 +1,11 @@
1
+ img/icon.png,512,512
2
+ img/large-icon.png,1024,1024
3
+ img/uploads/ecom-icon.png,1024,1024
4
+ img/uploads/logo.png,411,97
5
+ img/uploads/og-image.png,1200,1200
6
+ img/uploads/rect8589.png,1500,373
7
+ img/uploads/rect859.png,1500,373
8
+ img/uploads/banner2.webp,1200,311
9
+ img/uploads/headphone.webp,480,320
10
+ img/uploads/passion.webp,480,320
11
+ img/uploads/rect89.webp,1201,311
@@ -2,7 +2,7 @@ import { i as server_default } from './chunks/astro.708269c6.mjs';
2
2
  import { useSSRContext, defineComponent, computed, createVNode, resolveDynamicComponent, mergeProps, withCtx, renderSlot, h, createSSRApp } from 'vue';
3
3
  import { ssrRenderSlotInner, ssrRenderVNode, ssrRenderSlot, ssrRenderAttrs, ssrRenderClass, renderToString } from 'vue/server-renderer';
4
4
  import { img, imgSizes, i18n, formatMoney } from '@ecomplus/utils';
5
- import { _ as _export_sfc } from './chunks/pages/_...slug_.astro.36e8882b.mjs';
5
+ import { _ as _export_sfc } from './chunks/pages/_...slug_.astro.0808946e.mjs';
6
6
  import 'path-to-regexp';
7
7
  import 'cookie';
8
8
  import '@astrojs/internal-helpers/path';
@@ -13,16 +13,9 @@ import 'node:tls';
13
13
  import 'mime';
14
14
  import 'string-width';
15
15
  import 'html-escaper';
16
- import 'node:fs/promises';
17
- import 'node:path';
18
- import 'node:url';
19
- import 'http-cache-semantics';
20
- import 'node:os';
21
- import 'image-size';
22
- import 'magic-string';
23
- import 'node:stream';
24
16
  import '@cloudcommerce/api';
25
17
  import 'node:events';
18
+ import 'node:path';
26
19
  import '@cloudcommerce/config';
27
20
  import 'ultrahtml';
28
21
  /* empty css */import '@vueuse/core';
@@ -0,0 +1,51 @@
1
+ /_astro/api.a2eda23e.js
2
+ /_astro/Carousel.4bf71bce.js
3
+ /_astro/CartSidebar.05b12b39.js
4
+ /_astro/client.e6d9439a.js
5
+ /_astro/ecom-icon_CDmhA.png
6
+ /_astro/ecom-icon_Z27EX9f.png
7
+ /_astro/ecom-icon_Zo1CLq.png
8
+ /_astro/firebase-app.3f59f3c7.js
9
+ /_astro/format-money.923559cc.js
10
+ /_astro/headphone_1Ekzdh.avif
11
+ /_astro/headphone_Z1GbHcH.webp
12
+ /_astro/HeroSlider.fe108a14.js
13
+ /_astro/hoisted.648beb9d.js
14
+ /_astro/img.ec6ba316.js
15
+ /_astro/index.fadf28bd.js
16
+ /_astro/logo_144owC.webp
17
+ /_astro/logo_1ug3XF.png
18
+ /_astro/logo_Z1EIN1I.avif
19
+ /_astro/modules-info.df822732.js
20
+ /_astro/passion_1LvKlp.webp
21
+ /_astro/passion_2PSWs.avif
22
+ /_astro/PitchBar.2c821b77.js
23
+ /_astro/_plugin-vue_export-helper.ee681fa8.js
24
+ /_astro/preload-helper.cf010ec4.js
25
+ /_astro/Prices.78eb0a61.js
26
+ /_astro/ProductShelf.46d8a51c.js
27
+ /_astro/rect8589_1A8K2Q.webp
28
+ /_astro/rect8589_1mIaKd.png
29
+ /_astro/rect8589_1ND0he.png
30
+ /_astro/rect8589_LhopI.avif
31
+ /_astro/rect8589_Z1NFjiR.avif
32
+ /_astro/rect8589_Z2a06Gx.png
33
+ /_astro/rect8589_Z2nulUU.webp
34
+ /_astro/rect8589_ZH7hsH.avif
35
+ /_astro/rect8589_ZorpIx.webp
36
+ /_astro/rect859_1CcLjM.avif
37
+ /_astro/rect859_1IVKep.png
38
+ /_astro/rect859_1zkdb4.webp
39
+ /_astro/rect859_299fN7.avif
40
+ /_astro/rect859_CnIof.png
41
+ /_astro/rect859_flB3g.png
42
+ /_astro/rect859_rsWaw.webp
43
+ /_astro/rect859_sLbkT.webp
44
+ /_astro/rect859_Z1OtQaE.avif
45
+ /_astro/rect89_1yf5jS.avif
46
+ /_astro/rect89_GQBli.webp
47
+ /_astro/SearchModal.cffd4c2d.js
48
+ /_astro/session-utm.744b0db3.js
49
+ /_astro/ShopHeader.3694a82b.js
50
+ /_astro/_...slug_.a4a7a874.css
51
+ /_astro/workbox-window.prod.es5.a7b12eab.js
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/storefront",
3
3
  "type": "module",
4
- "version": "0.26.6",
4
+ "version": "0.26.7",
5
5
  "description": "E-Com Plus Cloud Commerce storefront with Astro",
6
6
  "bin": {
7
7
  "storefront": "./scripts/build-prod.sh"
@@ -40,14 +40,14 @@
40
40
  "@headlessui/vue": "^1.7.16",
41
41
  "@iconify-json/fa6-brands": "^1.1.13",
42
42
  "@iconify-json/heroicons": "^1.1.12",
43
- "@iconify-json/logos": "^1.1.36",
43
+ "@iconify-json/logos": "^1.1.37",
44
44
  "@vite-pwa/astro": "^0.1.3",
45
45
  "@vueuse/core": "10.4.1",
46
46
  "astro": "2.10.15",
47
47
  "astro-capo": "^0.0.1",
48
48
  "chroma-js": "^2.4.2",
49
49
  "dotenv": "^16.3.1",
50
- "firebase": "^10.3.1",
50
+ "firebase": "^10.4.0",
51
51
  "image-size": "^1.0.2",
52
52
  "mime": "^3.0.0",
53
53
  "semver": "^7.5.4",
@@ -30,8 +30,9 @@ identify -format "img/uploads/%f,%w,%h\n" \
30
30
  >> ./dist/server/images.src.csv \
31
31
  2>/dev/null
32
32
 
33
- ls ./dist/client/_astro/*.css \
34
- > ./dist/server/stylesheets.csv \
33
+ ls ./dist/client/_astro/* \
34
+ > ./dist/server/static-builds.csv \
35
35
  2>/dev/null
36
+ sed -i -e 's/.\/dist\/client//g' ./dist/server/static-builds.csv
36
37
 
37
38
  exit 0
@@ -8,6 +8,7 @@ declare global {
8
8
  namespace App {
9
9
  interface Locals {
10
10
  routeContext: RouteContext,
11
+ contextInlineClientJS?: string,
11
12
  }
12
13
  }
13
14
 
@@ -110,3 +110,11 @@ details > summary.list-none::-webkit-details-marker,
110
110
  details > summary.list-none::marker {
111
111
  display: none;
112
112
  }
113
+
114
+ /*
115
+ Hardfix for 100vh problem on mobile:
116
+ https://stackoverflow.com/questions/37112218/css3-100vh-not-constant-in-mobile-browser
117
+ */
118
+ .h-screen {
119
+ max-height: 100dvh;
120
+ }
@@ -78,9 +78,11 @@ Reset links to optimize for opt-in styling instead of opt-out.
78
78
  */
79
79
 
80
80
  a {
81
- color: inherit;
82
81
  text-decoration: inherit;
83
82
  }
83
+ :where(a) {
84
+ color: inherit;
85
+ }
84
86
 
85
87
  /*
86
88
  Add the correct font weight in Edge and Safari.
@@ -183,9 +185,16 @@ button,
183
185
  [type='reset'],
184
186
  [type='submit'] {
185
187
  -webkit-appearance: button; /* 1 */
186
- background-color: transparent; /* 2 */
187
188
  background-image: none; /* 2 */
188
189
  }
190
+ :where(
191
+ button,
192
+ [type='button'],
193
+ [type='reset'],
194
+ [type='submit']
195
+ ) {
196
+ background-color: transparent; /* 2 */
197
+ }
189
198
 
190
199
  /*
191
200
  Use the modern Firefox focus style for all focusable elements.
@@ -8,5 +8,8 @@ const parsedHTML = html.replace(/<(img|iframe) /g, '<$1 loading="lazy" ');
8
8
  ---
9
9
 
10
10
  <article class="overflow-x-auto lg:overflow-x-hidden prose !max-w-full">
11
- <div class="[&_table]:max-w-full [&_img]:max-w-full" set:html={parsedHTML}></div>
11
+ <div
12
+ class="[&_table]:max-w-full [&_img]:max-w-full [&_iframe]:max-w-full"
13
+ set:html={parsedHTML}
14
+ ></div>
12
15
  </article>
@@ -77,7 +77,7 @@ const isPlacementX = computed(() => {
77
77
  class="w-screen shadow p-0 m-0 z-50"
78
78
  :class="[
79
79
  position,
80
- isFixed ? `top-0 ${(isPlacementX ? 'h-screen' : '')}` : null,
80
+ isFixed ? `top-0 ${(isPlacementX ? 'h-screen' : 'max-h-screen')}` : null,
81
81
  isFixed && placement !== 'end' ? 'left-0' : null,
82
82
  isFixed && placement === 'end' ? 'left-auto right-0' : null,
83
83
  isPlacementX ? 'max-w-sm' : null,
@@ -8,9 +8,11 @@ import '@@sf/assets/tooltip.css';
8
8
  import Picture from '@@sf/components/Picture.astro';
9
9
 
10
10
  const { settings } = Astro.locals.routeContext;
11
+ const { contextInlineClientJS } = Astro.locals;
11
12
  ---
12
13
 
13
- <body>
14
+ <body style="visibility:hidden" class="!visible"> <!-- Prevent FOUC -->
15
+ {contextInlineClientJS && <script is:inline set:html={contextInlineClientJS} />}
14
16
  <div id="teleported-overlap" class="relative z-[59]"></div>
15
17
  <div id="teleported-top" class="relative z-[19]"></div>
16
18
  <slot />
@@ -89,13 +89,18 @@ if (apiDoc) {
89
89
  }
90
90
  return nestedDoc;
91
91
  };
92
- inlineClientJS += `
93
- window.$storefront.apiContext = ${JSON.stringify({
92
+ Astro.locals.contextInlineClientJS = `
93
+ $storefront.apiContext = ${JSON.stringify({
94
94
  resource: apiContext.resource,
95
95
  doc: minifyApiDoc({ ...apiDoc }),
96
96
  timestamp: Date.now(),
97
97
  })};
98
- window.$storefront.context /* DEPRECATED */ = window.$storefront.apiContext`;
98
+ $storefront.context /* DEPRECATED */ = $storefront.apiContext`;
99
+ } else {
100
+ Astro.locals.contextInlineClientJS = `
101
+ $storefront.apiContext = null;
102
+ delete $storefront.apiContext;
103
+ delete $storefront.context;`;
99
104
  }
100
105
  if (isPreview) {
101
106
  inlineClientJS += `