cloudcommerce 0.0.124 → 0.0.126
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/.eslintrc.cjs +26 -7
- package/.gitmodules +3 -0
- package/CHANGELOG.md +15 -0
- package/action.yml +5 -1
- package/ecomplus-stores/monocard/functions/core/package.json +1 -1
- package/ecomplus-stores/monocard/functions/events/package.json +2 -2
- package/ecomplus-stores/monocard/functions/modules/package.json +2 -2
- package/ecomplus-stores/monocard/functions/passport/package.json +2 -2
- package/ecomplus-stores/monocard/functions/ssr/package.json +7 -4
- package/ecomplus-stores/monocard/functions/ssr/src/main/Home.astro +1 -1
- package/ecomplus-stores/monocard/package.json +1 -1
- package/ecomplus-stores/tia-sonia/.github/renovate.json +5 -0
- package/ecomplus-stores/tia-sonia/.github/workflows/build-and-deploy.yml +41 -0
- package/ecomplus-stores/tia-sonia/.github/workflows/calibreapp-image-actions.yml +23 -0
- package/ecomplus-stores/tia-sonia/.vscode/extensions.json +8 -0
- package/ecomplus-stores/tia-sonia/.vscode/settings.json +5 -0
- package/ecomplus-stores/tia-sonia/LICENSE.md +230 -0
- package/ecomplus-stores/tia-sonia/README.md +117 -0
- package/ecomplus-stores/tia-sonia/README.pt-BR.md +117 -0
- package/ecomplus-stores/tia-sonia/functions/config.json +3 -0
- package/ecomplus-stores/tia-sonia/functions/core/index.js +9 -0
- package/ecomplus-stores/tia-sonia/functions/core/package.json +20 -0
- package/ecomplus-stores/tia-sonia/functions/events/index.js +9 -0
- package/ecomplus-stores/tia-sonia/functions/events/package.json +21 -0
- package/ecomplus-stores/tia-sonia/functions/example.env +10 -0
- package/ecomplus-stores/tia-sonia/functions/modules/index.js +9 -0
- package/ecomplus-stores/tia-sonia/functions/modules/package.json +21 -0
- package/ecomplus-stores/tia-sonia/functions/passport/index.js +9 -0
- package/ecomplus-stores/tia-sonia/functions/passport/package.json +21 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/.eslintrc.cjs +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/astro.config.mjs +4 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/blog.json +18 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/brands.json +24 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/categories.json +24 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/code.json +5 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/collections.json +24 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/contacts.json +13 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/footer.json +46 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/header.json +35 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/home.json +45 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/info.json +18 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/maintenance.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/menu.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/contato.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/entrega.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/faq.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/pagamentos.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/privacidade.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/sobre-nos.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/termos.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/trocas.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/posts/esta-loja-e-um-pwa.json +9 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/products.json +32 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/search.json +8 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/settings.json +14 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/social.json +5 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/analytics.json +11 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/compre-confie.json +11 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/ebit.json +11 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/fb-pixel.json +12 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/gmc-ratings.json +12 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/minicart.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/offers-notification.json +11 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/opinioes-verificadas.json +18 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/product-card.json +10 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/product.json +13 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/search-engine.json +8 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/search.json +6 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/tag-manager.json +12 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/tawkto.json +12 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/trustvox.json +15 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/user.json +5 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/index.js +18 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/package.json +30 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/admin/config.json +1 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/cms-preview.css +274 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/cms.css +114 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/cvv.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/bootstrap-icons/font/storefront-icons.woff2 +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/feather-icons/font/storefront-icons.woff2 +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/font-awesome/font/storefront-icons.woff2 +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/line-awesome/font/storefront-icons.woff2 +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/tabler-icons/font/storefront-icons.woff2 +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/img-placeholder.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/payments.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/ssl-safe.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/icon.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/large-icon.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/banner1.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/banner2.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/banner2.webp +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/favicon.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/headless.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/headphone.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/headphone.webp +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/icon.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/large-icon.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/logo.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/logo.webp +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/og-image.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/passion.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/passion.webp +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/pwa-reliable.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/rect8589.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/rect859.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/rect89.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/rect89.webp +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/ssl-safe.png +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/public/robots.txt +8 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/assets/.gitkeep +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/TheHeader.vue +42 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/TopBar.vue +133 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/header/HeaderButtonLink.vue +5 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/header/HeaderButtons.vue +46 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/header/HeaderNav.vue +9 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/components/header/HeaderNavLink.vue +5 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/env.d.ts +3 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/Base.astro +34 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/Checkout.astro +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/Pages.astro +19 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/PagesHeader.astro +117 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/main/Fallback.astro +15 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/main/Home.astro +19 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/main/Wildcard.astro +21 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/[...slug].astro +36 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/app/account.astro +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/app/index.astro +0 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/fallback.astro +19 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/index.astro +31 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/src/scripts/InlineScripts.astro +11 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/tailwind.config.cjs +4 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/tsconfig.json +16 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/uno.config.ts +4 -0
- package/ecomplus-stores/tia-sonia/package.json +28 -0
- package/ecomplus-stores/tia-sonia/scripts/install.sh +9 -0
- package/package.json +14 -14
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/mercadopago/lib/mercadopago.js +0 -2
- package/packages/apps/mercadopago/lib/mercadopago.js.map +1 -1
- package/packages/apps/mercadopago/lib/mp-webhook.js +0 -2
- package/packages/apps/mercadopago/lib/mp-webhook.js.map +1 -1
- package/packages/apps/mercadopago/package.json +4 -4
- package/packages/apps/mercadopago/src/mercadopago.ts +0 -3
- package/packages/apps/mercadopago/src/mp-webhook.ts +0 -2
- package/packages/apps/tiny-erp/lib/event-to-tiny.js +1 -1
- package/packages/apps/tiny-erp/lib/event-to-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js +1 -1
- package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +1 -1
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js +1 -2
- package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js +1 -1
- package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js +1 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/tiny-erp.js +0 -1
- package/packages/apps/tiny-erp/lib/tiny-erp.js.map +1 -1
- package/packages/apps/tiny-erp/lib/tiny-webhook.js +1 -1
- package/packages/apps/tiny-erp/lib/tiny-webhook.js.map +1 -1
- package/packages/apps/tiny-erp/package.json +4 -4
- package/packages/apps/tiny-erp/src/event-to-tiny.ts +1 -1
- package/packages/apps/tiny-erp/src/integration/after-tiny-queue.ts +1 -1
- package/packages/apps/tiny-erp/src/integration/export-order-to-tiny.ts +1 -1
- package/packages/apps/tiny-erp/src/integration/import-order-from-tiny.ts +1 -2
- package/packages/apps/tiny-erp/src/integration/import-product-from-tiny.ts +1 -1
- package/packages/apps/tiny-erp/src/integration/parsers/product-from-tiny.ts +1 -1
- package/packages/apps/tiny-erp/src/tiny-erp.ts +0 -1
- package/packages/apps/tiny-erp/src/tiny-webhook.ts +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/events/package.json +4 -4
- package/packages/firebase/lib/config.js +3 -3
- package/packages/firebase/lib/handlers/check-store-events.js +1 -2
- package/packages/firebase/lib/handlers/check-store-events.js.map +1 -1
- package/packages/firebase/lib/helpers/update-app-data.js +1 -1
- package/packages/firebase/lib/helpers/update-app-data.js.map +1 -1
- package/packages/firebase/lib/init.js +0 -2
- package/packages/firebase/lib/init.js.map +1 -1
- package/packages/firebase/package.json +4 -4
- package/packages/firebase/src/config.ts +3 -3
- package/packages/firebase/src/handlers/check-store-events.ts +1 -2
- package/packages/firebase/src/helpers/update-app-data.ts +1 -1
- package/packages/firebase/src/init.ts +0 -2
- package/packages/i18n/package.json +1 -1
- package/packages/modules/lib/firebase/call-app-module.js +1 -1
- package/packages/modules/lib/firebase/call-app-module.js.map +1 -1
- package/packages/modules/lib/firebase/checkout.js +9 -7
- package/packages/modules/lib/firebase/checkout.js.map +1 -1
- package/packages/modules/lib/firebase/functions-checkout/fix-items.js +80 -18
- package/packages/modules/lib/firebase/functions-checkout/fix-items.js.map +1 -1
- package/packages/modules/lib/firebase/functions-checkout/get-custumerId.js +1 -1
- package/packages/modules/lib/firebase/functions-checkout/get-custumerId.js.map +1 -1
- package/packages/modules/lib/firebase/functions-checkout/handle-order-transaction.js +16 -16
- package/packages/modules/lib/firebase/functions-checkout/handle-order-transaction.js.map +1 -1
- package/packages/modules/lib/firebase/functions-checkout/new-order.js +8 -8
- package/packages/modules/lib/firebase/functions-checkout/new-order.js.map +1 -1
- package/packages/modules/lib/firebase/functions-checkout/request-to-module.js +23 -6
- package/packages/modules/lib/firebase/functions-checkout/request-to-module.js.map +1 -1
- package/packages/modules/lib/firebase/functions-checkout/utils.js +1 -2
- package/packages/modules/lib/firebase/functions-checkout/utils.js.map +1 -1
- package/packages/modules/lib/firebase/handle-module.js +1 -1
- package/packages/modules/lib/firebase/handle-module.js.map +1 -1
- package/packages/modules/lib/firebase.js +0 -1
- package/packages/modules/lib/firebase.js.map +1 -1
- package/packages/modules/package.json +4 -4
- package/packages/modules/src/firebase/call-app-module.ts +1 -1
- package/packages/modules/src/firebase/checkout.ts +13 -10
- package/packages/modules/src/firebase/functions-checkout/fix-items.ts +88 -20
- package/packages/modules/src/firebase/functions-checkout/get-custumerId.ts +1 -1
- package/packages/modules/src/firebase/functions-checkout/handle-order-transaction.ts +24 -23
- package/packages/modules/src/firebase/functions-checkout/new-order.ts +15 -14
- package/packages/modules/src/firebase/functions-checkout/request-to-module.ts +30 -8
- package/packages/modules/src/firebase/functions-checkout/utils.ts +3 -5
- package/packages/modules/src/firebase/handle-module.ts +1 -1
- package/packages/modules/src/firebase.ts +0 -1
- package/packages/modules/src/types/index.d.ts +7 -6
- package/packages/passport/lib/firebase/serve-passport-api.js +1 -1
- package/packages/passport/lib/firebase/serve-passport-api.js.map +1 -1
- package/packages/passport/lib/firebase.js +0 -1
- package/packages/passport/lib/firebase.js.map +1 -1
- package/packages/passport/package.json +4 -4
- package/packages/passport/src/firebase/serve-passport-api.ts +1 -1
- package/packages/passport/src/firebase.ts +0 -1
- package/packages/ssr/package.json +7 -7
- package/packages/storefront/.eslintrc.cjs +0 -1
- package/packages/storefront/astro.config.mjs +3 -2
- package/packages/storefront/dist/client/HeaderButtons.b5b4a939.js +1 -0
- package/packages/storefront/dist/client/assets/_...slug_.8d138f36.css +4 -0
- package/packages/storefront/dist/client/chunks/{HeaderButtons.d1f8a21f.js → HeaderButtons.308edb4d.js} +1 -1
- package/packages/storefront/dist/client/chunks/{LoginForm.e02dee3d.js → LoginForm.0c5ba697.js} +95 -95
- package/packages/storefront/dist/client/chunks/preload-helper.1de719f8.js +1 -0
- package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.f00ab3bd.js +1 -0
- package/packages/storefront/dist/client/client.69fdbd1b.js +1 -0
- package/packages/storefront/dist/client/{hoisted.3f1cf839.js → hoisted.4f689abe.js} +1 -1
- package/packages/storefront/dist/client/page.33c44e88.js +1 -0
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/server/entry.mjs +2826 -3530
- package/packages/storefront/package.json +13 -16
- package/packages/storefront/src/lib/assets/pico.css +19 -24
- package/packages/storefront/src/lib/components/LoginForm.vue +4 -13
- package/packages/storefront/src/lib/ssr/image.ts +0 -1
- package/packages/storefront/src/lib/state/customer-session.ts +29 -37
- package/packages/storefront/src/lib/state/shopping-cart/add-cart-item.ts +89 -0
- package/packages/storefront/src/lib/state/shopping-cart.ts +52 -0
- package/packages/storefront/src/lib/state/use-storage.ts +19 -0
- package/packages/storefront/tailwind.config.cjs +6 -1
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/HeaderButtons.75084c8f.js +0 -1
- package/packages/storefront/dist/client/assets/_...slug_.5d8e6131.css +0 -4
- package/packages/storefront/dist/client/chunks/preload-helper.f15ab524.js +0 -1
- package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.9119f0ff.js +0 -1
- package/packages/storefront/dist/client/client.671d7334.js +0 -1
- package/packages/storefront/dist/client/page.b906f867.js +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sections": [
|
|
3
|
+
{
|
|
4
|
+
"type": "breadcrumbs",
|
|
5
|
+
"enabled": true
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "product-block",
|
|
9
|
+
"enabled": true,
|
|
10
|
+
"size_guide": {
|
|
11
|
+
"image": "",
|
|
12
|
+
"title": ""
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "related-products",
|
|
17
|
+
"title": "Produtos relacionados"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "recommended-products",
|
|
21
|
+
"title": "Quem comprou este produto, também comprou:"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "product-description",
|
|
25
|
+
"enabled": true
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "product-specifications",
|
|
29
|
+
"enabled": true
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"domain": "ecom2-002.web.app",
|
|
3
|
+
"primary_color": "",
|
|
4
|
+
"bg_color": "#f5f6fa",
|
|
5
|
+
"repository": "",
|
|
6
|
+
"logo": "/img/uploads/logo.webp",
|
|
7
|
+
"name": "My Shop",
|
|
8
|
+
"short_name": "MyShop",
|
|
9
|
+
"favicon": "/img/uploads/favicon.png",
|
|
10
|
+
"secondary_color": "",
|
|
11
|
+
"icon": "/img/icon.png",
|
|
12
|
+
"description": "My PWA Shop",
|
|
13
|
+
"large_icon": "/img/large-icon.png"
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pkg": "@ecomplus/widget-gmc-ratings",
|
|
3
|
+
"active": false,
|
|
4
|
+
"desktopOnly": false,
|
|
5
|
+
"enableCheckout": true,
|
|
6
|
+
"disablePages": true,
|
|
7
|
+
"options": {
|
|
8
|
+
"badgePosition": "BOTTOM_LEFT",
|
|
9
|
+
"dialogPosition": "CENTER_DIALOG"
|
|
10
|
+
},
|
|
11
|
+
"stampsAppend": "src/append/stamps"
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pkg": "@ecomplus/widget-offers-notification",
|
|
3
|
+
"active": true,
|
|
4
|
+
"desktopOnly": false,
|
|
5
|
+
"options": {
|
|
6
|
+
"enableOutOfStock": true,
|
|
7
|
+
"enablePriceChange": true,
|
|
8
|
+
"popupOptions": "location=yes,height=400,width=320,status=yes"
|
|
9
|
+
},
|
|
10
|
+
"productSlots": "src/append/product-slots"
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pkg": "@ecomplus/widget-opinioes-verificadas",
|
|
3
|
+
"active": false,
|
|
4
|
+
"desktopOnly": false,
|
|
5
|
+
"enableCheckout": false,
|
|
6
|
+
"disablePages": true,
|
|
7
|
+
"options": {
|
|
8
|
+
"stamp": "",
|
|
9
|
+
"tagJs": ""
|
|
10
|
+
},
|
|
11
|
+
"headAppend": "src/append/head",
|
|
12
|
+
"bodyAppend": "src/append/body",
|
|
13
|
+
"productCardSlots": "src/append/product-card-slots",
|
|
14
|
+
"productSlots": "src/append/product-slots",
|
|
15
|
+
"productDescriptionAppend": "src/append/product-block",
|
|
16
|
+
"stampsAppend": "src/append/stamps",
|
|
17
|
+
"useJquery": true
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pkg": "@ecomplus/widget-product",
|
|
3
|
+
"active": true,
|
|
4
|
+
"desktopOnly": false,
|
|
5
|
+
"options": {
|
|
6
|
+
"buyText": "",
|
|
7
|
+
"buy": "",
|
|
8
|
+
"strHasQuantitySelector": "_",
|
|
9
|
+
"strHasPromotionTimer": "_",
|
|
10
|
+
"lowQuantityToWarn": 12,
|
|
11
|
+
"maxVariationOptionsBtns": 6
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pkg": "@ecomplus/widget-tag-manager",
|
|
3
|
+
"active": false,
|
|
4
|
+
"desktopOnly": false,
|
|
5
|
+
"enableCheckout": true,
|
|
6
|
+
"options": {
|
|
7
|
+
"gtmContainerId": "",
|
|
8
|
+
"dataLayerVar": "dataLayer"
|
|
9
|
+
},
|
|
10
|
+
"headAppend": "src/append/head",
|
|
11
|
+
"bodyAppend": "src/append/body"
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pkg": "@ecomplus/widget-trustvox",
|
|
3
|
+
"active": false,
|
|
4
|
+
"desktopOnly": false,
|
|
5
|
+
"enableCheckout": false,
|
|
6
|
+
"disablePages": true,
|
|
7
|
+
"options": {
|
|
8
|
+
"trustvoxStoreId": ""
|
|
9
|
+
},
|
|
10
|
+
"bodyAppend": "src/append/body",
|
|
11
|
+
"productDescriptionAppend": "src/append/product-block",
|
|
12
|
+
"productCardSlots": "src/append/product-card-slots",
|
|
13
|
+
"productSlots": "src/append/product-slots",
|
|
14
|
+
"stampsAppend": "src/append/stamps"
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import config from '@cloudcommerce/firebase/config';
|
|
2
|
+
// eslint-ignore-next-line import/no-unresolved
|
|
3
|
+
import { handler as ssrHandler } from './dist/server/entry.mjs';
|
|
4
|
+
import mergeConfig from './config.json' assert { type: 'json' };
|
|
5
|
+
|
|
6
|
+
config.set({
|
|
7
|
+
...mergeConfig,
|
|
8
|
+
hello: 'from store',
|
|
9
|
+
/*
|
|
10
|
+
httpsFunctionOptions: {
|
|
11
|
+
minInstances: 1,
|
|
12
|
+
},
|
|
13
|
+
*/
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
global.ssr_handler = ssrHandler;
|
|
17
|
+
|
|
18
|
+
export * from '@cloudcommerce/ssr/firebase';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ssr",
|
|
3
|
+
"private": true,
|
|
4
|
+
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "astro dev",
|
|
7
|
+
"build": "astro build",
|
|
8
|
+
"build:static": "BUILD_OUTPUT=static astro build",
|
|
9
|
+
"serve": "firebase emulators:start --only functions",
|
|
10
|
+
"shell": "firebase functions:shell",
|
|
11
|
+
"start": "npm run shell",
|
|
12
|
+
"deploy": "firebase deploy --only functions",
|
|
13
|
+
"logs": "firebase functions:log"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": "16"
|
|
17
|
+
},
|
|
18
|
+
"main": "index.js",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@astrojs/image": "^0.10.0",
|
|
21
|
+
"@astrojs/node": "^1.1.0",
|
|
22
|
+
"@cloudcommerce/api": "^0.0.125",
|
|
23
|
+
"@cloudcommerce/firebase": "^0.0.125",
|
|
24
|
+
"@cloudcommerce/ssr": "^0.0.125"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@cloudcommerce/i18n": "^0.0.125",
|
|
28
|
+
"@cloudcommerce/storefront": "^0.0.125"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
.ec-search-engine__count {
|
|
2
|
+
padding-left: .5rem;
|
|
3
|
+
position: relative;
|
|
4
|
+
line-height: 2.5;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ec-search-engine__spinner {
|
|
8
|
+
position: absolute;
|
|
9
|
+
top: .4rem;
|
|
10
|
+
right: -3rem;
|
|
11
|
+
color: var(--secondary);
|
|
12
|
+
margin-left: 1.5rem;
|
|
13
|
+
width: 1.75rem;
|
|
14
|
+
height: 1.75rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ec-search-engine__toggle {
|
|
18
|
+
color: inherit;
|
|
19
|
+
display: inline-block;
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
-webkit-transition: opacity .15s,color .2s;
|
|
22
|
+
transition:opacity .15s,color .2s;
|
|
23
|
+
padding: 0 .5rem;
|
|
24
|
+
opacity: .75;
|
|
25
|
+
line-height: 2.5;
|
|
26
|
+
border: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ec-search-engine__toggle i,
|
|
30
|
+
.ec-search-engine__toggle svg {
|
|
31
|
+
font-size: .825rem;
|
|
32
|
+
color: var(--gray-dark);
|
|
33
|
+
margin-right: .15rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ec-search-engine__toggle:focus,
|
|
37
|
+
.ec-search-engine__toggle:hover {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
color: inherit;
|
|
41
|
+
box-shadow: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ec-search-engine__toggle[aria-expanded=true] {
|
|
45
|
+
color: var(--gray-dark);
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ec-search-engine__results {
|
|
50
|
+
-webkit-transition:opacity .25s;
|
|
51
|
+
transition:opacity .25s;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ec-search-engine__info {
|
|
55
|
+
margin-bottom: 1.5rem;
|
|
56
|
+
padding-top: 1rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ec-search-engine__terms {
|
|
60
|
+
display: -webkit-box;
|
|
61
|
+
display: flex;
|
|
62
|
+
-webkit-box-pack: justify;
|
|
63
|
+
-ms-box-pack: justify;
|
|
64
|
+
-moz-box-pack: justify;
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
-webkit-box-align: center;
|
|
67
|
+
-moz-box-align: center;
|
|
68
|
+
-ms-box-align: center;
|
|
69
|
+
align-items: center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ec-search-engine__terms small {
|
|
73
|
+
font-size: .95rem;
|
|
74
|
+
color: var(--gray);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ec-search-engine__retail {
|
|
78
|
+
padding-top: .5rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ec-search-engine__item {
|
|
82
|
+
margin-bottom: 1rem;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ec-search-engine__sidebar {
|
|
86
|
+
position: fixed;
|
|
87
|
+
width: 280px;
|
|
88
|
+
max-width: 100%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
top: 0;
|
|
91
|
+
right: 0;
|
|
92
|
+
z-index: 1100;
|
|
93
|
+
border-radius: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ec-search-engine__sidebar .card-body {
|
|
97
|
+
overflow-y: auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ec-search-engine__filter:not(:first-child) {
|
|
101
|
+
margin-top: 1rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.ec-search-engine__filter:last-child {
|
|
105
|
+
margin-bottom: 1.5rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ec-search-engine__filter__btn {
|
|
109
|
+
padding-left: 0;
|
|
110
|
+
color: var(--secondary);
|
|
111
|
+
font-size: 1.2rem;
|
|
112
|
+
font-weight: 300;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ec-search-engine__filter__btn i,
|
|
116
|
+
.ec-search-engine__filter__btn svg {
|
|
117
|
+
margin-right: .25rem;
|
|
118
|
+
color: var(--gray);
|
|
119
|
+
opacity: .6;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.ec-search-engine__filter__btn:focus {
|
|
123
|
+
box-shadow: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.ec-search-engine__option small {
|
|
127
|
+
color: var(--gray);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ec-product-card {
|
|
131
|
+
position: relative;
|
|
132
|
+
padding-bottom: .1rem;
|
|
133
|
+
margin-bottom: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ec-product-card--inactive,
|
|
137
|
+
.ec-product-card--inactive img {
|
|
138
|
+
opacity: .7;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.ec-product-card__offer-stamp {
|
|
142
|
+
background-color: var(--success);
|
|
143
|
+
color: var(--success-yiq);
|
|
144
|
+
min-width: 40px;
|
|
145
|
+
font-size: .78rem;
|
|
146
|
+
line-height: 1.8;
|
|
147
|
+
text-align: center;
|
|
148
|
+
position: absolute;
|
|
149
|
+
z-index: 9;
|
|
150
|
+
top: .35rem;
|
|
151
|
+
right: .35rem;
|
|
152
|
+
border-radius: .125rem;
|
|
153
|
+
opacity: .9;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.ec-product-card__link:hover h3 {
|
|
157
|
+
text-decoration: underline;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ec-product-card__name {
|
|
161
|
+
margin-top: .5rem;
|
|
162
|
+
font-size: .88rem;
|
|
163
|
+
line-height: 1.2;
|
|
164
|
+
height: 3.168rem;
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
font-weight: 400;
|
|
167
|
+
display: block;
|
|
168
|
+
z-index: 1;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.ec-product-card__pictures {
|
|
172
|
+
display: -webkit-box;
|
|
173
|
+
display: flex;
|
|
174
|
+
background-color: var(--body-bg);
|
|
175
|
+
-webkit-box-align: center;
|
|
176
|
+
-moz-box-align: center;
|
|
177
|
+
-ms-box-align: center;
|
|
178
|
+
align-items: center;
|
|
179
|
+
text-align: center;
|
|
180
|
+
overflow: hidden;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
@media (max-width:575.98px) {
|
|
184
|
+
.ec-product-card__pictures {
|
|
185
|
+
height: 180px;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@media (min-width:576px) and (max-width:991.98px) {
|
|
190
|
+
.ec-product-card__pictures {
|
|
191
|
+
height: 200px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@media (min-width: 992px) {
|
|
196
|
+
.ec-product-card__pictures {
|
|
197
|
+
height: 250px;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.ec-product-card__picture {
|
|
202
|
+
display: block;
|
|
203
|
+
-webkit-box-flex: 0;
|
|
204
|
+
-ms-box-flex: 0;
|
|
205
|
+
-moz-box-flex: 0;
|
|
206
|
+
flex: 0 0 100%;
|
|
207
|
+
opacity: 0;
|
|
208
|
+
-webkit-transition:opacity .25s;
|
|
209
|
+
transition:opacity .25s;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ec-product-card__picture:first-child {
|
|
213
|
+
opacity: 1;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@media (max-width: 300px) {
|
|
217
|
+
.ec-product-card__picture {
|
|
218
|
+
max-width: 100px;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@media (max-width: 575.98px) {
|
|
223
|
+
.ec-product-card__picture img {
|
|
224
|
+
max-height: 180px;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@media (min-width: 576px) and (max-width: 991.98px) {
|
|
229
|
+
.ec-product-card__picture img {
|
|
230
|
+
max-height: 200px;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@media (min-width: 992px) {
|
|
235
|
+
.ec-product-card__picture img {
|
|
236
|
+
max-height:250px;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.ec-product-card__prices {
|
|
241
|
+
margin-bottom: .15rem;
|
|
242
|
+
height: 4.95rem;
|
|
243
|
+
overflow: hidden;
|
|
244
|
+
white-space: nowrap;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.ec-product-card__prices .ec-prices__value:first-child {
|
|
248
|
+
margin-top: 1.14rem;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.ec-product-card:hover .ec-product-card__picture {
|
|
252
|
+
display: none;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.ec-product-card:hover .ec-product-card__picture:last-child {
|
|
256
|
+
display: block;
|
|
257
|
+
opacity: 1;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.ec-product-card:hover .ec-product-card__buy {
|
|
261
|
+
opacity: 1;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
svg:not(:root).svg-inline--fa {
|
|
265
|
+
overflow: visible;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.svg-inline--fa {
|
|
269
|
+
display: inline-block;
|
|
270
|
+
font-size: inherit;
|
|
271
|
+
height: 1em;
|
|
272
|
+
overflow: visible;
|
|
273
|
+
vertical-align: -0.125em;
|
|
274
|
+
}
|