cloudcommerce 0.2.3 → 0.4.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 +54 -0
- package/ecomplus-stores/monocard/functions/ssr/package.json +0 -2
- package/ecomplus-stores/tia-sonia/functions/ssr/package.json +0 -2
- package/package.json +6 -6
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +2 -2
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +2 -2
- 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/frenet/package.json +2 -2
- package/packages/apps/galaxpay/package.json +2 -2
- package/packages/apps/google-analytics/package.json +2 -2
- package/packages/apps/infinitepay/package.json +2 -2
- package/packages/apps/jadlog/package.json +2 -2
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/melhor-envio/CHANGELOG.md +1 -0
- package/packages/apps/melhor-envio/README.md +1 -0
- package/packages/apps/melhor-envio/events.js +1 -0
- package/packages/apps/melhor-envio/lib/functions-lib/database.d.ts +18 -0
- package/packages/apps/melhor-envio/lib/functions-lib/database.js +115 -0
- package/packages/apps/melhor-envio/lib/functions-lib/database.js.map +1 -0
- package/packages/apps/melhor-envio/lib/functions-lib/events-to-melhor-envio.d.ts +7 -0
- package/packages/apps/melhor-envio/lib/functions-lib/events-to-melhor-envio.js +112 -0
- package/packages/apps/melhor-envio/lib/functions-lib/events-to-melhor-envio.js.map +1 -0
- package/packages/apps/melhor-envio/lib/functions-lib/new-label.d.ts +42 -0
- package/packages/apps/melhor-envio/lib/functions-lib/new-label.js +185 -0
- package/packages/apps/melhor-envio/lib/functions-lib/new-label.js.map +1 -0
- package/packages/apps/melhor-envio/lib/functions-lib/order-is-valid.d.ts +5 -0
- package/packages/apps/melhor-envio/lib/functions-lib/order-is-valid.js +40 -0
- package/packages/apps/melhor-envio/lib/functions-lib/order-is-valid.js.map +1 -0
- package/packages/apps/melhor-envio/lib/functions-lib/tracking-codes.d.ts +2 -0
- package/packages/apps/melhor-envio/lib/functions-lib/tracking-codes.js +164 -0
- package/packages/apps/melhor-envio/lib/functions-lib/tracking-codes.js.map +1 -0
- package/packages/apps/melhor-envio/lib/index.d.ts +1 -0
- package/packages/apps/melhor-envio/lib/index.js +2 -0
- package/packages/apps/melhor-envio/lib/index.js.map +1 -0
- package/packages/apps/melhor-envio/lib/melhor-envio-events.d.ts +6 -0
- package/packages/apps/melhor-envio/lib/melhor-envio-events.js +17 -0
- package/packages/apps/melhor-envio/lib/melhor-envio-events.js.map +1 -0
- package/packages/apps/melhor-envio/lib/melhor-envio.d.ts +2 -0
- package/packages/apps/melhor-envio/lib/melhor-envio.js +6 -0
- package/packages/apps/melhor-envio/lib/melhor-envio.js.map +1 -0
- package/packages/apps/melhor-envio/lib-mjs/calculate-melhor-envio.mjs +341 -0
- package/packages/apps/melhor-envio/lib-mjs/functions/client-melhor-envio.mjs +14 -0
- package/packages/apps/melhor-envio/lib-mjs/functions/error-handling.mjs +62 -0
- package/packages/apps/melhor-envio/lib-mjs/functions/new-shipment.mjs +119 -0
- package/packages/apps/melhor-envio/package.json +36 -0
- package/packages/apps/melhor-envio/src/functions-lib/database.ts +140 -0
- package/packages/apps/melhor-envio/src/functions-lib/events-to-melhor-envio.ts +137 -0
- package/packages/apps/melhor-envio/src/functions-lib/new-label.ts +214 -0
- package/packages/apps/melhor-envio/src/functions-lib/order-is-valid.ts +51 -0
- package/packages/apps/melhor-envio/src/functions-lib/tracking-codes.ts +191 -0
- package/packages/apps/melhor-envio/src/index.ts +1 -0
- package/packages/apps/melhor-envio/src/melhor-envio-events.ts +24 -0
- package/packages/apps/melhor-envio/src/melhor-envio.ts +7 -0
- package/packages/apps/melhor-envio/tsconfig.json +6 -0
- package/packages/apps/mercadopago/package.json +2 -2
- package/packages/apps/pagarme/package.json +2 -2
- package/packages/apps/paghiper/package.json +3 -3
- package/packages/apps/pix/package.json +2 -2
- package/packages/apps/tiny-erp/package.json +2 -2
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +3 -3
- package/packages/events/lib/firebase.js +2 -0
- package/packages/events/lib/firebase.js.map +1 -1
- package/packages/events/package.json +2 -1
- package/packages/events/src/firebase.ts +2 -0
- package/packages/firebase/lib/config.d.ts +4 -0
- package/packages/firebase/lib/config.js +7 -0
- package/packages/firebase/lib/config.js.map +1 -1
- package/packages/firebase/package.json +2 -2
- package/packages/firebase/src/config.ts +8 -0
- package/packages/i18n/lib/en_us/i19buyTogether.txt +1 -0
- package/packages/i18n/lib/en_us/i19buyTogetherWith.txt +1 -0
- package/packages/i18n/lib/en_us/i19report.txt +1 -0
- package/packages/i18n/lib/en_us/i19toggleMenu.txt +1 -0
- package/packages/i18n/lib/en_us/i19uponRequest.txt +1 -0
- package/packages/i18n/lib/en_us/i19usedPoints.txt +1 -0
- package/packages/i18n/lib/en_us.d.ts +6 -0
- package/packages/i18n/lib/en_us.js +6 -0
- package/packages/i18n/lib/en_us.js.map +1 -1
- package/packages/i18n/lib/pt_br/i19buyTogether.txt +1 -0
- package/packages/i18n/lib/pt_br/i19buyTogetherWith.txt +1 -0
- package/packages/i18n/lib/pt_br/i19report.txt +1 -0
- package/packages/i18n/lib/pt_br/i19toggleMenu.txt +1 -0
- package/packages/i18n/lib/pt_br/i19uponRequest.txt +1 -0
- package/packages/i18n/lib/pt_br/i19usedPoints.txt +1 -0
- package/packages/i18n/lib/pt_br.d.ts +6 -0
- package/packages/i18n/lib/pt_br.js +6 -0
- package/packages/i18n/lib/pt_br.js.map +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/i18n/src/en_us.ts +6 -0
- package/packages/i18n/src/pt_br.ts +6 -0
- package/packages/modules/lib/firebase/call-app-module.js +5 -0
- package/packages/modules/lib/firebase/call-app-module.js.map +1 -1
- package/packages/modules/package.json +3 -2
- package/packages/modules/src/firebase/call-app-module.ts +5 -0
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +3 -4
- package/packages/storefront/.eslintrc.cjs +1 -1
- package/packages/storefront/astro.config.mjs +8 -1
- package/packages/storefront/dist/client/_astro/PitchBar.103168e6.js +1 -0
- package/packages/storefront/dist/client/_astro/Prices.b75d44d6.js +1 -0
- package/packages/storefront/dist/client/_astro/Prices.vue_vue_type_script_setup_true_lang.054033ef.js +1 -0
- package/packages/storefront/dist/client/_astro/{ProductCard.6d8b6d86.js → ProductCard.9138ec25.js} +1 -1
- package/packages/storefront/dist/client/_astro/ShopHeader.65213f83.js +1 -0
- package/packages/storefront/dist/client/_astro/_...slug_.39c46f54.css +1 -0
- package/packages/storefront/dist/client/_astro/client.eba0daa7.js +1 -0
- package/packages/storefront/dist/client/_astro/index.0c833781.css +1 -0
- package/packages/storefront/dist/client/_astro/index.7577af70.js +1 -0
- package/packages/storefront/dist/client/_astro/{modules-info.dde776b4.js → modules-info.0c999f60.js} +1 -1
- package/packages/storefront/dist/client/_astro/runtime-core.esm-bundler.4da3640b.js +1 -0
- package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.0869e112.js +1 -0
- package/packages/storefront/dist/client/_astro/server.60de185d.css +1 -0
- package/packages/storefront/dist/client/fallback/index.html +12 -7
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/server/chunks/pages/{all.c27193d6.mjs → all.6379e666.mjs} +494 -373
- package/packages/storefront/dist/server/chunks/{prerender.89f63027.mjs → prerender.a1ec39e0.mjs} +0 -0
- package/packages/storefront/dist/server/entry.mjs +39 -4452
- package/packages/storefront/package.json +4 -5
- package/packages/storefront/src/lib/assets/base.css +16 -11
- package/packages/storefront/src/lib/components/Carousel.vue +52 -82
- package/packages/storefront/src/lib/components/Drawer.vue +97 -0
- package/packages/storefront/src/lib/components/ProductCard.vue +1 -1
- package/packages/storefront/src/lib/components/ShopHeader.vue +110 -0
- package/packages/storefront/src/lib/components/ShopSidenav.vue +26 -0
- package/packages/storefront/src/lib/components/globals/Fade.vue +10 -14
- package/packages/storefront/src/lib/composables/use-pitch-bar.ts +27 -0
- package/packages/storefront/src/lib/composables/use-prices.ts +4 -2
- package/packages/storefront/src/lib/composables/use-sticky-header.ts +111 -0
- package/packages/storefront/src/lib/layouts/BaseBody.astro +2 -0
- package/packages/storefront/src/lib/layouts/PagesHeader.astro +23 -17
- package/packages/storefront/tailwind.config.cjs +4 -0
- package/packages/storefront/uno.config.cjs +1 -1
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/_astro/PitchBar.f3579a5b.js +0 -1
- package/packages/storefront/dist/client/_astro/Prices.8e5cead5.js +0 -1
- package/packages/storefront/dist/client/_astro/Prices.vue_vue_type_script_setup_true_lang.b8cbeb54.js +0 -1
- package/packages/storefront/dist/client/_astro/StickyHeader.7b0f3963.js +0 -1
- package/packages/storefront/dist/client/_astro/_...slug_.97285eba.css +0 -1
- package/packages/storefront/dist/client/_astro/client.3e777d4c.js +0 -1
- package/packages/storefront/dist/client/_astro/index.90df622b.css +0 -1
- package/packages/storefront/dist/client/_astro/runtime-core.esm-bundler.7cf33881.js +0 -1
- package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.1a4c7407.js +0 -1
- package/packages/storefront/dist/client/_astro/server.4d9646d8.css +0 -1
- package/packages/storefront/src/lib/components/PitchBar.vue +0 -61
- package/packages/storefront/src/lib/components/Prices.vue +0 -176
- package/packages/storefront/src/lib/components/StickyHeader.vue +0 -56
- package/packages/storefront/src/lib/composables/use-component-variant.ts +0 -13
|
@@ -48,20 +48,24 @@ window.storefront = {"settings":{"domain":"ecom2-002.web.app","name":"My Shop","
|
|
|
48
48
|
measurementId: 'G-SC592CE0GB',
|
|
49
49
|
};
|
|
50
50
|
</script>
|
|
51
|
-
<link rel="stylesheet" href="/_astro/_...slug_.
|
|
51
|
+
<link rel="stylesheet" href="/_astro/_...slug_.39c46f54.css" /><script type="module" src="/_astro/hoisted.6edd7364.js"></script></head>
|
|
52
52
|
<body>
|
|
53
|
+
<div id="teleported-top"></div>
|
|
53
54
|
<style>astro-island,astro-slot{display:contents}</style><script>(self.Astro=self.Astro||{}).idle=t=>{const e=async()=>{await(await t())()};"requestIdleCallback"in window?window.requestIdleCallback(e):setTimeout(e,200)},window.dispatchEvent(new Event("astro:idle"));var l;{const c={0:t=>t,1:t=>JSON.parse(t,o),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(JSON.parse(t,o)),5:t=>new Set(JSON.parse(t,o)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(JSON.parse(t)),9:t=>new Uint16Array(JSON.parse(t)),10:t=>new Uint32Array(JSON.parse(t))},o=(t,s)=>{if(t===""||!Array.isArray(s))return s;const[e,n]=s;return e in c?c[e](n):void 0};customElements.get("astro-island")||customElements.define("astro-island",(l=class extends HTMLElement{constructor(){super(...arguments);this.hydrate=()=>{if(!this.hydrator||this.parentElement&&this.parentElement.closest("astro-island[ssr]"))return;const s=this.querySelectorAll("astro-slot"),e={},n=this.querySelectorAll("template[data-astro-template]");for(const r of n){const i=r.closest(this.tagName);!i||!i.isSameNode(this)||(e[r.getAttribute("data-astro-template")||"default"]=r.innerHTML,r.remove())}for(const r of s){const i=r.closest(this.tagName);!i||!i.isSameNode(this)||(e[r.getAttribute("name")||"default"]=r.innerHTML)}const a=this.hasAttribute("props")?JSON.parse(this.getAttribute("props"),o):{};this.hydrator(this)(this.Component,a,e,{client:this.getAttribute("client")}),this.removeAttribute("ssr"),window.removeEventListener("astro:hydrate",this.hydrate),window.dispatchEvent(new CustomEvent("astro:hydrate"))}}connectedCallback(){!this.hasAttribute("await-children")||this.firstChild?this.childrenConnectedCallback():new MutationObserver((s,e)=>{e.disconnect(),this.childrenConnectedCallback()}).observe(this,{childList:!0})}async childrenConnectedCallback(){window.addEventListener("astro:hydrate",this.hydrate);let s=this.getAttribute("before-hydration-url");s&&await import(s),this.start()}start(){const s=JSON.parse(this.getAttribute("opts")),e=this.getAttribute("client");if(Astro[e]===void 0){window.addEventListener(`astro:${e}`,()=>this.start(),{once:!0});return}Astro[e](async()=>{const n=this.getAttribute("renderer-url"),[a,{default:r}]=await Promise.all([import(this.getAttribute("component-url")),n?import(n):()=>()=>{}]),i=this.getAttribute("component-export")||"default";if(!i.includes("."))this.Component=a[i];else{this.Component=a;for(const d of i.split("."))this.Component=this.Component[d]}return this.hydrator=r,this.hydrate},s,this)}attributeChangedCallback(){this.hydrator&&this.hydrate()}},l.observedAttributes=["props"],l))}</script><script>(self.Astro=self.Astro||{}).load=a=>{(async()=>await(await a())())()},window.dispatchEvent(new Event("astro:load"));</script>
|
|
54
55
|
|
|
55
|
-
<astro-island uid="
|
|
56
|
+
<astro-island uid="Z16SWoR" component-url="/_astro/PitchBar.103168e6.js" component-export="default" renderer-url="/_astro/client.eba0daa7.js" props="{"slides":[1,"[[0,{\"href\":[0,\"/promotion\"],\"html\":[0,\"Aproveite nossos descontos de até 50%!\"]}],[0,{\"href\":[0,\"\"],\"html\":[0,\"<b>Frete grátis</b> <d-md>para todo Brasil</d-md> a partir de {{free_shipping_from_value}}\"]}]]"]}" ssr="" client="idle" opts="{"name":"PitchBar","value":true}" await-children=""><div class="bg-base-100"><div class="container md:w-2/3 mx-auto px-3 py-1"><div data-carousel><ul data-carousel-wrapper><!--[--><!--[--><li><a href="/promotion" class="inline-block px-8 hover:underline"><!--[--><span class="prose text-sm text-base-800">Aproveite nossos descontos de até 50%!</span><!--]--></a></li><li><span href class="inline-block px-8"><span class="prose text-sm text-base-800"><b>Frete grátis</b> <d-md>para todo Brasil</d-md> a partir de R$ 150,00</span></span></li><!--]--><!--]--></ul><!--[--><div style="" class="text-xl leading-none text-base-400"><button type="button" aria-label="Anterior" data-carousel-control="previous" class="pr-2 bg-base-100 hover:text-base-700"><!--[--><i class="i-chevron-left m-0"></i><!--]--></button><button type="button" aria-label="Próximo" data-carousel-control="next" class="pl-2 bg-base-100 hover:text-base-700"><!--[--><i class="i-chevron-right m-0"></i><!--]--></button></div><!--]--></div></div></div></astro-island>
|
|
57
|
+
|
|
56
58
|
|
|
57
|
-
<astro-island uid="Z2abwf2" component-url="/_astro/StickyHeader.7b0f3963.js" component-export="default" renderer-url="/_astro/client.3e777d4c.js" props="{}" ssr="" client="load" opts="{"name":"StickyHeader","value":true}" await-children=""><header class="header bg-opacity-90 backdrop-blur-md sticky top-0 z-50 py-1 sm:py-2" data-sticky-header><div class="container"><div class="grid grid-flow-col auto-cols-max justify-between items-center"><!--[--><div class="header__aside md:hidden"><div class="i-bars-3-bottom-left"></div></div><!--]--><!--[--><astro-slot name="logo">
|
|
58
|
-
<
|
|
59
|
+
<astro-island uid="Z2rUJuR" component-url="/_astro/ShopHeader.65213f83.js" component-export="default" renderer-url="/_astro/client.eba0daa7.js" props="{"categories":[1,"[[0,{\"_id\":[0,\"5c6ffa18c626be23430d4f4e\"],\"name\":[0,\"Monitores\"],\"slug\":[0,\"monitores\"],\"icon\":[0,{\"url\":[0,\"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007322374-rect836.png\"]}],\"updated_at\":[0,\"2019-08-28T15:51:06.863Z\"],\"created_at\":[0,\"2019-08-28T15:51:06.863Z\"]}],[0,{\"_id\":[0,\"5c6ffa2ac626be23430d4f50\"],\"name\":[0,\"Monitores Gamer\"],\"parent\":[0,{\"_id\":[0,\"5c6ffa18c626be23430d4f4e\"],\"name\":[0,\"Monitores\"],\"slug\":[0,\"monitores\"]}],\"slug\":[0,\"monitores-gamer\"],\"updated_at\":[0,\"2021-07-15T23:29:10.192Z\"]}],[0,{\"_id\":[0,\"5c6ffa45c626be23430d4f52\"],\"name\":[0,\"Monitores Convencionais\"],\"parent\":[0,{\"_id\":[0,\"5c6ffa18c626be23430d4f4e\"],\"name\":[0,\"Monitores\"],\"slug\":[0,\"monitores\"]}],\"slug\":[0,\"monitores-convencionais\"],\"updated_at\":[0,\"2021-08-17T18:42:54.920Z\"]}],[0,{\"_id\":[0,\"5c6ffa5bc626be23430d4f54\"],\"name\":[0,\"Monitores TV\"],\"parent\":[0,{\"_id\":[0,\"5c6ffa18c626be23430d4f4e\"],\"name\":[0,\"Monitores\"],\"slug\":[0,\"monitores\"]}],\"slug\":[0,\"monitores-tv\"],\"created_at\":[0,\"2019-02-22T13:34:19.659Z\"]}],[0,{\"_id\":[0,\"5c6ffa6ec626be23430d4f56\"],\"name\":[0,\"Notebooks\"],\"slug\":[0,\"notebooks\"],\"icon\":[0,{\"url\":[0,\"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007351112-comp.png\"]}],\"updated_at\":[0,\"2019-08-28T15:51:51.039Z\"],\"created_at\":[0,\"2019-08-28T15:51:51.039Z\"]}],[0,{\"_id\":[0,\"5c6ffa8cc626be23430d4f58\"],\"name\":[0,\"Notebooks gamers\"],\"parent\":[0,{\"_id\":[0,\"5c6ffa6ec626be23430d4f56\"],\"name\":[0,\"Notebooks\"],\"slug\":[0,\"notebooks\"]}],\"slug\":[0,\"notebooks-gamers\"],\"created_at\":[0,\"2019-02-22T13:35:08.093Z\"]}],[0,{\"_id\":[0,\"5c6ffab6c626be23430d4f5c\"],\"name\":[0,\"MacBook\"],\"parent\":[0,{\"_id\":[0,\"5d5714045753286eadbbdc77\"],\"name\":[0,\"Ultrabook\"],\"slug\":[0,\"ultrabook\"]}],\"slug\":[0,\"macbook\"],\"icon\":[0,{\"url\":[0,\"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1566932713325-macbook.jfif\"],\"size\":[0,\"233x216\"],\"alt\":[0,\"macbook\"]}],\"updated_at\":[0,\"2019-08-27T19:07:35.157Z\"],\"created_at\":[0,\"2019-08-27T19:07:35.157Z\"]}],[0,{\"_id\":[0,\"5c7009bec626be23430d4f80\"],\"name\":[0,\"Periféricos\"],\"slug\":[0,\"perifericos\"],\"icon\":[0,{\"url\":[0,\"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007328003-keyb.png\"]}],\"parent\":[0,{\"_id\":[0,\"5c701cb1c626be23430d4fe9\"],\"name\":[0,\"Físicos\"],\"slug\":[0,\"fisicos\"]}],\"updated_at\":[0,\"2020-09-04T21:48:44.261Z\"],\"created_at\":[0,\"2020-09-04T21:48:44.261Z\"]}],[0,{\"_id\":[0,\"5c7009fdc626be23430d4f82\"],\"name\":[0,\"Teclados\"],\"parent\":[0,{\"_id\":[0,\"5c7009bec626be23430d4f80\"],\"name\":[0,\"Periféricos\"],\"slug\":[0,\"perifericos\"]}],\"slug\":[0,\"teclados\"],\"created_at\":[0,\"2019-02-22T14:41:01.323Z\"]}],[0,{\"_id\":[0,\"5c700a11c626be23430d4f84\"],\"name\":[0,\"Mouses\"],\"parent\":[0,{\"_id\":[0,\"5c7009bec626be23430d4f80\"],\"name\":[0,\"Periféricos\"],\"slug\":[0,\"perifericos\"]}],\"slug\":[0,\"mouses\"],\"created_at\":[0,\"2019-02-22T14:41:21.566Z\"]}],[0,{\"_id\":[0,\"5c700a37c626be23430d4f86\"],\"name\":[0,\"Caixas de Som\"],\"parent\":[0,{\"_id\":[0,\"5c7009bec626be23430d4f80\"],\"name\":[0,\"Periféricos\"],\"slug\":[0,\"perifericos\"]}],\"slug\":[0,\"caixas-de-som\"],\"created_at\":[0,\"2019-02-22T14:41:59.607Z\"]}],[0,{\"_id\":[0,\"5c700a53c626be23430d4f88\"],\"name\":[0,\"Headset\"],\"parent\":[0,{\"_id\":[0,\"5c7009bec626be23430d4f80\"],\"name\":[0,\"Periféricos\"],\"slug\":[0,\"perifericos\"]}],\"slug\":[0,\"headset\"],\"created_at\":[0,\"2019-02-22T14:42:27.608Z\"]}],[0,{\"_id\":[0,\"5c700a6bc626be23430d4f8a\"],\"name\":[0,\"Cadeira Gamer\"],\"parent\":[0,{\"_id\":[0,\"5c7009bec626be23430d4f80\"],\"name\":[0,\"Periféricos\"],\"slug\":[0,\"perifericos\"]}],\"slug\":[0,\"cadeira-gamer\"],\"created_at\":[0,\"2019-02-22T14:42:51.330Z\"]}],[0,{\"_id\":[0,\"5c700a9cc626be23430d4f8c\"],\"name\":[0,\"Smartphones\"],\"slug\":[0,\"smartphones\"],\"icon\":[0,{\"url\":[0,\"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007321218-smartphone.png\"]}],\"updated_at\":[0,\"2019-08-28T15:52:17.995Z\"],\"created_at\":[0,\"2019-08-28T15:52:17.995Z\"]}],[0,{\"_id\":[0,\"5c701c9ec626be23430d4fe7\"],\"name\":[0,\"Jogo\"],\"slug\":[0,\"jogos/\"],\"icon\":[0,{\"url\":[0,\"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007332353-game.png\"]}],\"updated_at\":[0,\"2020-07-24T19:14:01.592Z\"],\"created_at\":[0,\"2020-07-24T19:14:01.592Z\"]}],[0,{\"_id\":[0,\"5c701cb1c626be23430d4fe9\"],\"name\":[0,\"Físicos\"],\"parent\":[0,{\"_id\":[0,\"5c701c9ec626be23430d4fe7\"],\"name\":[0,\"Jogo\"],\"slug\":[0,\"jogos/\"]}],\"slug\":[0,\"fisicos\"],\"created_at\":[0,\"2019-02-22T16:00:49.671Z\"]}],[0,{\"_id\":[0,\"5c701cc6c626be23430d4feb\"],\"name\":[0,\"Digitais\"],\"parent\":[0,{\"_id\":[0,\"5c701c9ec626be23430d4fe7\"],\"name\":[0,\"Jogo\"],\"slug\":[0,\"jogos/\"]}],\"slug\":[0,\"digitais\"],\"created_at\":[0,\"2019-02-22T16:01:10.358Z\"]}],[0,{\"_id\":[0,\"5c701ce2c626be23430d4fed\"],\"name\":[0,\"Usados\"],\"parent\":[0,{\"_id\":[0,\"5c701c9ec626be23430d4fe7\"],\"name\":[0,\"Jogo\"],\"slug\":[0,\"jogos/\"]}],\"slug\":[0,\"usados\"],\"created_at\":[0,\"2019-02-22T16:01:38.850Z\"]}],[0,{\"_id\":[0,\"5ceecb3f887ef430f1f70c88\"],\"name\":[0,\"Promoções\"],\"slug\":[0,\"promocoes\"],\"icon\":[0,{\"url\":[0,\"https://ecom-jvxboxzk.sfo2.digitaloceanspaces.com/@1567007326827-mony.png\"]}],\"updated_at\":[0,\"2019-08-28T15:52:41.385Z\"],\"created_at\":[0,\"2019-08-28T15:52:41.385Z\"]}],[0,{\"_id\":[0,\"5d5714045753286eadbbdc77\"],\"name\":[0,\"Ultrabook\"],\"parent\":[0,{\"_id\":[0,\"5c6ffa6ec626be23430d4f56\"],\"name\":[0,\"Notebooks\"],\"slug\":[0,\"notebooks\"]}],\"slug\":[0,\"ultrabook\"],\"created_at\":[0,\"2019-08-16T20:37:24.811Z\"]}],[0,{\"_id\":[0,\"5f70f1417430f92180f5ba66\"],\"name\":[0,\"Brasileiro\"],\"created_at\":[0,\"2020-09-27T20:08:33.202Z\"]}],[0,{\"_id\":[0,\"5fb2b13b69274c73fcd6a051\"],\"name\":[0,\"smartwatch\"],\"created_at\":[0,\"2020-11-16T17:04:59.320Z\"]}],[0,{\"_id\":[0,\"60199592d6981740b4a030f4\"],\"name\":[0,\"São Paulo\"],\"slug\":[0,\"sao-paulo\"],\"updated_at\":[0,\"2021-08-17T18:43:10.174Z\"]}],[0,{\"_id\":[0,\"61de099d0c7c72722502397b\"],\"name\":[0,\"MacBook Pro\"],\"created_at\":[0,\"2022-01-11T22:50:05.070Z\"]}],[0,{\"_id\":[0,\"61de12450c7c727225025299\"],\"name\":[0,\"Mac Stop\"],\"created_at\":[0,\"2022-01-11T23:27:01.790Z\"]}],[0,{\"_id\":[0,\"6227a90a7963422eee367aaa\"],\"name\":[0,\"capinhas\"],\"created_at\":[0,\"2022-03-08T19:05:46.688Z\"]}]]"]}" ssr="" client="load" opts="{"name":"ShopHeader","value":true}" await-children=""><header class="top-0 z-50 bg-white py-3 sm:py-4 md:py-5"><div class="container lg:max-w-7xl mx-auto px-1 lg:pl-3 grid grid-flow-col grid-cols-3 justify-between items-center md:grid-cols-none md:auto-cols-max"><!--[--><div class="md:hidden" data-sidenav-toggle><button class="px-2 my-1" aria-label="Abrir/fechar menu"><!--[--><i class="i-menu text-base-500 text-3xl"></i><!--]--></button></div><!--]--><!--[--><astro-slot name="logo">
|
|
60
|
+
<a href="/">
|
|
61
|
+
<h2><picture>
|
|
59
62
|
<source type="image/avif" srcset="/_image?f=avif&w=300&h=117&ar=2.570281124497992&href=%2Fimg%2Fuploads%2Flogo.webp 300w" sizes="150px"><source type="image/webp" srcset="/_image?f=webp&w=300&h=117&ar=2.570281124497992&href=%2Fimg%2Fuploads%2Flogo.webp 300w" sizes="150px">
|
|
60
|
-
<img alt="My Shop" src="/_image?f=webp&w=300&h=117&ar=2.570281124497992&href=%2Fimg%2Fuploads%2Flogo.webp" loading="lazy" decoding="async" alt="My Shop" fetchpriority="high">
|
|
63
|
+
<img alt="My Shop" src="/_image?f=webp&w=300&h=117&ar=2.570281124497992&href=%2Fimg%2Fuploads%2Flogo.webp" loading="lazy" decoding="async" alt="My Shop" slot="logo-picture" fetchpriority="high" class="hover:drop-shadow-sm">
|
|
61
64
|
</picture></h2>
|
|
62
|
-
|
|
65
|
+
</a>
|
|
66
|
+
</astro-slot><!--]--><!--[--><!--]--><!--[--><div class="px-2 flex justify-end items-center gap-3 lg:gap-4 text-base-800" data-header-buttons><!--[--><!--[--><button class="" aria-label="Buscar produtos" data-header-button="search"><!--[--><i class="i-search hover:text-primary w-7 h-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--><!--[--><button class="hidden sm:block" aria-label="Minha conta" data-header-button="account"><!--[--><i class="i-account hover:text-primary w-7 h-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--><!--[--><button class="" aria-label="Abrir carrinho" data-header-button="cart"><!--[--><i class="i-shopping-cart hover:text-primary w-7 h-7 hover:scale-110 active:scale-125"></i><!--]--></button><!--]--><!--]--></div><!--]--></div><!----></header></astro-island>
|
|
63
67
|
|
|
64
|
-
<link rel="stylesheet" href="/_astro/_...slug_.
|
|
68
|
+
<link rel="stylesheet" href="/_astro/_...slug_.39c46f54.css" /><script type="module" src="/_astro/hoisted.6edd7364.js"></script><main>
|
|
65
69
|
<h1>Error :/</h1>
|
|
66
70
|
<p class="instructions">
|
|
67
71
|
Check out the <code>src/pages</code> directory to get started.<br>
|
|
@@ -69,5 +73,6 @@ window.storefront = {"settings":{"domain":"ecom2-002.web.app","name":"My Shop","
|
|
|
69
73
|
</p>
|
|
70
74
|
</main>
|
|
71
75
|
|
|
76
|
+
<div id="teleported-bottom"></div>
|
|
72
77
|
</body>
|
|
73
78
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let e,s={};const r=(r,n)=>(r=new URL(r+".js",n).href,s[r]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=s,document.head.appendChild(e)}else e=r,importScripts(r),s()})).then((()=>{let e=s[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(n,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let
|
|
1
|
+
if(!self.define){let e,s={};const r=(r,n)=>(r=new URL(r+".js",n).href,s[r]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=s,document.head.appendChild(e)}else e=r,importScripts(r),s()})).then((()=>{let e=s[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(n,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let a={};const l=e=>r(e,o),t={module:{uri:o},exports:a,require:l};s[o]=Promise.all(n.map((e=>t[e]||l(e)))).then((e=>(i(...e),a)))}}define(["./workbox-e2ee76b5"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"_astro/_...slug_.39c46f54.css",revision:null},{url:"_astro/client.eba0daa7.js",revision:null},{url:"_astro/ecom-utils.92f137f6.js",revision:null},{url:"_astro/hoisted.6edd7364.js",revision:null},{url:"_astro/index.0c833781.css",revision:null},{url:"_astro/index.7577af70.js",revision:null},{url:"_astro/modules-info.0c999f60.js",revision:null},{url:"_astro/PitchBar.103168e6.js",revision:null},{url:"_astro/Prices.b75d44d6.js",revision:null},{url:"_astro/Prices.vue_vue_type_script_setup_true_lang.054033ef.js",revision:null},{url:"_astro/ProductCard.9138ec25.js",revision:null},{url:"_astro/runtime-core.esm-bundler.4da3640b.js",revision:null},{url:"_astro/runtime-dom.esm-bundler.0869e112.js",revision:null},{url:"_astro/server.60de185d.css",revision:null},{url:"_astro/session-utm.72684b84.js",revision:null},{url:"_astro/ShopHeader.65213f83.js",revision:null},{url:"_astro/workbox-window.prod.es5.295a6886.js",revision:null},{url:"img/uploads/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"6a858866b0560997f368e27ab5418e15"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/404"))),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"sharp-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));
|