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.
Files changed (258) hide show
  1. package/.eslintrc.cjs +26 -7
  2. package/.gitmodules +3 -0
  3. package/CHANGELOG.md +15 -0
  4. package/action.yml +5 -1
  5. package/ecomplus-stores/monocard/functions/core/package.json +1 -1
  6. package/ecomplus-stores/monocard/functions/events/package.json +2 -2
  7. package/ecomplus-stores/monocard/functions/modules/package.json +2 -2
  8. package/ecomplus-stores/monocard/functions/passport/package.json +2 -2
  9. package/ecomplus-stores/monocard/functions/ssr/package.json +7 -4
  10. package/ecomplus-stores/monocard/functions/ssr/src/main/Home.astro +1 -1
  11. package/ecomplus-stores/monocard/package.json +1 -1
  12. package/ecomplus-stores/tia-sonia/.github/renovate.json +5 -0
  13. package/ecomplus-stores/tia-sonia/.github/workflows/build-and-deploy.yml +41 -0
  14. package/ecomplus-stores/tia-sonia/.github/workflows/calibreapp-image-actions.yml +23 -0
  15. package/ecomplus-stores/tia-sonia/.vscode/extensions.json +8 -0
  16. package/ecomplus-stores/tia-sonia/.vscode/settings.json +5 -0
  17. package/ecomplus-stores/tia-sonia/LICENSE.md +230 -0
  18. package/ecomplus-stores/tia-sonia/README.md +117 -0
  19. package/ecomplus-stores/tia-sonia/README.pt-BR.md +117 -0
  20. package/ecomplus-stores/tia-sonia/functions/config.json +3 -0
  21. package/ecomplus-stores/tia-sonia/functions/core/index.js +9 -0
  22. package/ecomplus-stores/tia-sonia/functions/core/package.json +20 -0
  23. package/ecomplus-stores/tia-sonia/functions/events/index.js +9 -0
  24. package/ecomplus-stores/tia-sonia/functions/events/package.json +21 -0
  25. package/ecomplus-stores/tia-sonia/functions/example.env +10 -0
  26. package/ecomplus-stores/tia-sonia/functions/modules/index.js +9 -0
  27. package/ecomplus-stores/tia-sonia/functions/modules/package.json +21 -0
  28. package/ecomplus-stores/tia-sonia/functions/passport/index.js +9 -0
  29. package/ecomplus-stores/tia-sonia/functions/passport/package.json +21 -0
  30. package/ecomplus-stores/tia-sonia/functions/ssr/.eslintrc.cjs +6 -0
  31. package/ecomplus-stores/tia-sonia/functions/ssr/astro.config.mjs +4 -0
  32. package/ecomplus-stores/tia-sonia/functions/ssr/content/blog.json +18 -0
  33. package/ecomplus-stores/tia-sonia/functions/ssr/content/brands.json +24 -0
  34. package/ecomplus-stores/tia-sonia/functions/ssr/content/categories.json +24 -0
  35. package/ecomplus-stores/tia-sonia/functions/ssr/content/code.json +5 -0
  36. package/ecomplus-stores/tia-sonia/functions/ssr/content/collections.json +24 -0
  37. package/ecomplus-stores/tia-sonia/functions/ssr/content/contacts.json +13 -0
  38. package/ecomplus-stores/tia-sonia/functions/ssr/content/footer.json +46 -0
  39. package/ecomplus-stores/tia-sonia/functions/ssr/content/header.json +35 -0
  40. package/ecomplus-stores/tia-sonia/functions/ssr/content/home.json +45 -0
  41. package/ecomplus-stores/tia-sonia/functions/ssr/content/info.json +18 -0
  42. package/ecomplus-stores/tia-sonia/functions/ssr/content/maintenance.json +6 -0
  43. package/ecomplus-stores/tia-sonia/functions/ssr/content/menu.json +6 -0
  44. package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/contato.json +6 -0
  45. package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/entrega.json +6 -0
  46. package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/faq.json +6 -0
  47. package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/pagamentos.json +6 -0
  48. package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/privacidade.json +6 -0
  49. package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/sobre-nos.json +6 -0
  50. package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/termos.json +6 -0
  51. package/ecomplus-stores/tia-sonia/functions/ssr/content/pages/trocas.json +6 -0
  52. package/ecomplus-stores/tia-sonia/functions/ssr/content/posts/esta-loja-e-um-pwa.json +9 -0
  53. package/ecomplus-stores/tia-sonia/functions/ssr/content/products.json +32 -0
  54. package/ecomplus-stores/tia-sonia/functions/ssr/content/search.json +8 -0
  55. package/ecomplus-stores/tia-sonia/functions/ssr/content/settings.json +14 -0
  56. package/ecomplus-stores/tia-sonia/functions/ssr/content/social.json +5 -0
  57. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/analytics.json +11 -0
  58. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/compre-confie.json +11 -0
  59. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/ebit.json +11 -0
  60. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/fb-pixel.json +12 -0
  61. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/gmc-ratings.json +12 -0
  62. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/minicart.json +6 -0
  63. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/offers-notification.json +11 -0
  64. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/opinioes-verificadas.json +18 -0
  65. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/product-card.json +10 -0
  66. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/product.json +13 -0
  67. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/search-engine.json +8 -0
  68. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/search.json +6 -0
  69. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/tag-manager.json +12 -0
  70. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/tawkto.json +12 -0
  71. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/trustvox.json +15 -0
  72. package/ecomplus-stores/tia-sonia/functions/ssr/content/widgets/user.json +5 -0
  73. package/ecomplus-stores/tia-sonia/functions/ssr/index.js +18 -0
  74. package/ecomplus-stores/tia-sonia/functions/ssr/package.json +30 -0
  75. package/ecomplus-stores/tia-sonia/functions/ssr/public/admin/config.json +1 -0
  76. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/cms-preview.css +274 -0
  77. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/cms.css +114 -0
  78. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/cvv.png +0 -0
  79. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/bootstrap-icons/font/storefront-icons.woff2 +0 -0
  80. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/feather-icons/font/storefront-icons.woff2 +0 -0
  81. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/font-awesome/font/storefront-icons.woff2 +0 -0
  82. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/line-awesome/font/storefront-icons.woff2 +0 -0
  83. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/icons/tabler-icons/font/storefront-icons.woff2 +0 -0
  84. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/img-placeholder.png +0 -0
  85. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/payments.png +0 -0
  86. package/ecomplus-stores/tia-sonia/functions/ssr/public/assets/ssl-safe.png +0 -0
  87. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/icon.png +0 -0
  88. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/large-icon.png +0 -0
  89. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/banner1.png +0 -0
  90. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/banner2.png +0 -0
  91. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/banner2.webp +0 -0
  92. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/favicon.png +0 -0
  93. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/headless.png +0 -0
  94. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/headphone.png +0 -0
  95. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/headphone.webp +0 -0
  96. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/icon.png +0 -0
  97. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/large-icon.png +0 -0
  98. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/logo.png +0 -0
  99. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/logo.webp +0 -0
  100. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/og-image.png +0 -0
  101. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/passion.png +0 -0
  102. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/passion.webp +0 -0
  103. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/pwa-reliable.png +0 -0
  104. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/rect8589.png +0 -0
  105. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/rect859.png +0 -0
  106. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/rect89.png +0 -0
  107. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/rect89.webp +0 -0
  108. package/ecomplus-stores/tia-sonia/functions/ssr/public/img/uploads/ssl-safe.png +0 -0
  109. package/ecomplus-stores/tia-sonia/functions/ssr/public/robots.txt +8 -0
  110. package/ecomplus-stores/tia-sonia/functions/ssr/src/assets/.gitkeep +0 -0
  111. package/ecomplus-stores/tia-sonia/functions/ssr/src/components/TheHeader.vue +42 -0
  112. package/ecomplus-stores/tia-sonia/functions/ssr/src/components/TopBar.vue +133 -0
  113. package/ecomplus-stores/tia-sonia/functions/ssr/src/components/header/HeaderButtonLink.vue +5 -0
  114. package/ecomplus-stores/tia-sonia/functions/ssr/src/components/header/HeaderButtons.vue +46 -0
  115. package/ecomplus-stores/tia-sonia/functions/ssr/src/components/header/HeaderNav.vue +9 -0
  116. package/ecomplus-stores/tia-sonia/functions/ssr/src/components/header/HeaderNavLink.vue +5 -0
  117. package/ecomplus-stores/tia-sonia/functions/ssr/src/env.d.ts +3 -0
  118. package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/Base.astro +34 -0
  119. package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/Checkout.astro +0 -0
  120. package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/Pages.astro +19 -0
  121. package/ecomplus-stores/tia-sonia/functions/ssr/src/layouts/PagesHeader.astro +117 -0
  122. package/ecomplus-stores/tia-sonia/functions/ssr/src/main/Fallback.astro +15 -0
  123. package/ecomplus-stores/tia-sonia/functions/ssr/src/main/Home.astro +19 -0
  124. package/ecomplus-stores/tia-sonia/functions/ssr/src/main/Wildcard.astro +21 -0
  125. package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/[...slug].astro +36 -0
  126. package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/app/account.astro +0 -0
  127. package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/app/index.astro +0 -0
  128. package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/fallback.astro +19 -0
  129. package/ecomplus-stores/tia-sonia/functions/ssr/src/pages/index.astro +31 -0
  130. package/ecomplus-stores/tia-sonia/functions/ssr/src/scripts/InlineScripts.astro +11 -0
  131. package/ecomplus-stores/tia-sonia/functions/ssr/tailwind.config.cjs +4 -0
  132. package/ecomplus-stores/tia-sonia/functions/ssr/tsconfig.json +16 -0
  133. package/ecomplus-stores/tia-sonia/functions/ssr/uno.config.ts +4 -0
  134. package/ecomplus-stores/tia-sonia/package.json +28 -0
  135. package/ecomplus-stores/tia-sonia/scripts/install.sh +9 -0
  136. package/package.json +14 -14
  137. package/packages/api/package.json +1 -1
  138. package/packages/apps/correios/package.json +1 -1
  139. package/packages/apps/custom-shipping/package.json +1 -1
  140. package/packages/apps/discounts/package.json +1 -1
  141. package/packages/apps/frenet/package.json +1 -1
  142. package/packages/apps/mercadopago/lib/mercadopago.js +0 -2
  143. package/packages/apps/mercadopago/lib/mercadopago.js.map +1 -1
  144. package/packages/apps/mercadopago/lib/mp-webhook.js +0 -2
  145. package/packages/apps/mercadopago/lib/mp-webhook.js.map +1 -1
  146. package/packages/apps/mercadopago/package.json +4 -4
  147. package/packages/apps/mercadopago/src/mercadopago.ts +0 -3
  148. package/packages/apps/mercadopago/src/mp-webhook.ts +0 -2
  149. package/packages/apps/tiny-erp/lib/event-to-tiny.js +1 -1
  150. package/packages/apps/tiny-erp/lib/event-to-tiny.js.map +1 -1
  151. package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js +1 -1
  152. package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js.map +1 -1
  153. package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +1 -1
  154. package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js.map +1 -1
  155. package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js +1 -2
  156. package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js.map +1 -1
  157. package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js +1 -1
  158. package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js.map +1 -1
  159. package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js +1 -1
  160. package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js.map +1 -1
  161. package/packages/apps/tiny-erp/lib/tiny-erp.js +0 -1
  162. package/packages/apps/tiny-erp/lib/tiny-erp.js.map +1 -1
  163. package/packages/apps/tiny-erp/lib/tiny-webhook.js +1 -1
  164. package/packages/apps/tiny-erp/lib/tiny-webhook.js.map +1 -1
  165. package/packages/apps/tiny-erp/package.json +4 -4
  166. package/packages/apps/tiny-erp/src/event-to-tiny.ts +1 -1
  167. package/packages/apps/tiny-erp/src/integration/after-tiny-queue.ts +1 -1
  168. package/packages/apps/tiny-erp/src/integration/export-order-to-tiny.ts +1 -1
  169. package/packages/apps/tiny-erp/src/integration/import-order-from-tiny.ts +1 -2
  170. package/packages/apps/tiny-erp/src/integration/import-product-from-tiny.ts +1 -1
  171. package/packages/apps/tiny-erp/src/integration/parsers/product-from-tiny.ts +1 -1
  172. package/packages/apps/tiny-erp/src/tiny-erp.ts +0 -1
  173. package/packages/apps/tiny-erp/src/tiny-webhook.ts +1 -1
  174. package/packages/cli/package.json +1 -1
  175. package/packages/config/package.json +1 -1
  176. package/packages/events/package.json +4 -4
  177. package/packages/firebase/lib/config.js +3 -3
  178. package/packages/firebase/lib/handlers/check-store-events.js +1 -2
  179. package/packages/firebase/lib/handlers/check-store-events.js.map +1 -1
  180. package/packages/firebase/lib/helpers/update-app-data.js +1 -1
  181. package/packages/firebase/lib/helpers/update-app-data.js.map +1 -1
  182. package/packages/firebase/lib/init.js +0 -2
  183. package/packages/firebase/lib/init.js.map +1 -1
  184. package/packages/firebase/package.json +4 -4
  185. package/packages/firebase/src/config.ts +3 -3
  186. package/packages/firebase/src/handlers/check-store-events.ts +1 -2
  187. package/packages/firebase/src/helpers/update-app-data.ts +1 -1
  188. package/packages/firebase/src/init.ts +0 -2
  189. package/packages/i18n/package.json +1 -1
  190. package/packages/modules/lib/firebase/call-app-module.js +1 -1
  191. package/packages/modules/lib/firebase/call-app-module.js.map +1 -1
  192. package/packages/modules/lib/firebase/checkout.js +9 -7
  193. package/packages/modules/lib/firebase/checkout.js.map +1 -1
  194. package/packages/modules/lib/firebase/functions-checkout/fix-items.js +80 -18
  195. package/packages/modules/lib/firebase/functions-checkout/fix-items.js.map +1 -1
  196. package/packages/modules/lib/firebase/functions-checkout/get-custumerId.js +1 -1
  197. package/packages/modules/lib/firebase/functions-checkout/get-custumerId.js.map +1 -1
  198. package/packages/modules/lib/firebase/functions-checkout/handle-order-transaction.js +16 -16
  199. package/packages/modules/lib/firebase/functions-checkout/handle-order-transaction.js.map +1 -1
  200. package/packages/modules/lib/firebase/functions-checkout/new-order.js +8 -8
  201. package/packages/modules/lib/firebase/functions-checkout/new-order.js.map +1 -1
  202. package/packages/modules/lib/firebase/functions-checkout/request-to-module.js +23 -6
  203. package/packages/modules/lib/firebase/functions-checkout/request-to-module.js.map +1 -1
  204. package/packages/modules/lib/firebase/functions-checkout/utils.js +1 -2
  205. package/packages/modules/lib/firebase/functions-checkout/utils.js.map +1 -1
  206. package/packages/modules/lib/firebase/handle-module.js +1 -1
  207. package/packages/modules/lib/firebase/handle-module.js.map +1 -1
  208. package/packages/modules/lib/firebase.js +0 -1
  209. package/packages/modules/lib/firebase.js.map +1 -1
  210. package/packages/modules/package.json +4 -4
  211. package/packages/modules/src/firebase/call-app-module.ts +1 -1
  212. package/packages/modules/src/firebase/checkout.ts +13 -10
  213. package/packages/modules/src/firebase/functions-checkout/fix-items.ts +88 -20
  214. package/packages/modules/src/firebase/functions-checkout/get-custumerId.ts +1 -1
  215. package/packages/modules/src/firebase/functions-checkout/handle-order-transaction.ts +24 -23
  216. package/packages/modules/src/firebase/functions-checkout/new-order.ts +15 -14
  217. package/packages/modules/src/firebase/functions-checkout/request-to-module.ts +30 -8
  218. package/packages/modules/src/firebase/functions-checkout/utils.ts +3 -5
  219. package/packages/modules/src/firebase/handle-module.ts +1 -1
  220. package/packages/modules/src/firebase.ts +0 -1
  221. package/packages/modules/src/types/index.d.ts +7 -6
  222. package/packages/passport/lib/firebase/serve-passport-api.js +1 -1
  223. package/packages/passport/lib/firebase/serve-passport-api.js.map +1 -1
  224. package/packages/passport/lib/firebase.js +0 -1
  225. package/packages/passport/lib/firebase.js.map +1 -1
  226. package/packages/passport/package.json +4 -4
  227. package/packages/passport/src/firebase/serve-passport-api.ts +1 -1
  228. package/packages/passport/src/firebase.ts +0 -1
  229. package/packages/ssr/package.json +7 -7
  230. package/packages/storefront/.eslintrc.cjs +0 -1
  231. package/packages/storefront/astro.config.mjs +3 -2
  232. package/packages/storefront/dist/client/HeaderButtons.b5b4a939.js +1 -0
  233. package/packages/storefront/dist/client/assets/_...slug_.8d138f36.css +4 -0
  234. package/packages/storefront/dist/client/chunks/{HeaderButtons.d1f8a21f.js → HeaderButtons.308edb4d.js} +1 -1
  235. package/packages/storefront/dist/client/chunks/{LoginForm.e02dee3d.js → LoginForm.0c5ba697.js} +95 -95
  236. package/packages/storefront/dist/client/chunks/preload-helper.1de719f8.js +1 -0
  237. package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.f00ab3bd.js +1 -0
  238. package/packages/storefront/dist/client/client.69fdbd1b.js +1 -0
  239. package/packages/storefront/dist/client/{hoisted.3f1cf839.js → hoisted.4f689abe.js} +1 -1
  240. package/packages/storefront/dist/client/page.33c44e88.js +1 -0
  241. package/packages/storefront/dist/client/sw.js +1 -1
  242. package/packages/storefront/dist/server/entry.mjs +2826 -3530
  243. package/packages/storefront/package.json +13 -16
  244. package/packages/storefront/src/lib/assets/pico.css +19 -24
  245. package/packages/storefront/src/lib/components/LoginForm.vue +4 -13
  246. package/packages/storefront/src/lib/ssr/image.ts +0 -1
  247. package/packages/storefront/src/lib/state/customer-session.ts +29 -37
  248. package/packages/storefront/src/lib/state/shopping-cart/add-cart-item.ts +89 -0
  249. package/packages/storefront/src/lib/state/shopping-cart.ts +52 -0
  250. package/packages/storefront/src/lib/state/use-storage.ts +19 -0
  251. package/packages/storefront/tailwind.config.cjs +6 -1
  252. package/packages/types/package.json +1 -1
  253. package/packages/storefront/dist/client/HeaderButtons.75084c8f.js +0 -1
  254. package/packages/storefront/dist/client/assets/_...slug_.5d8e6131.css +0 -4
  255. package/packages/storefront/dist/client/chunks/preload-helper.f15ab524.js +0 -1
  256. package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.9119f0ff.js +0 -1
  257. package/packages/storefront/dist/client/client.671d7334.js +0 -1
  258. 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,8 @@
1
+ {
2
+ "sections": [
3
+ {
4
+ "type": "search-engine",
5
+ "enabled": true
6
+ }
7
+ ]
8
+ }
@@ -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,5 @@
1
+ {
2
+ "og_image": "",
3
+ "fb_app_id": "",
4
+ "twitter_username": ""
5
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-analytics",
3
+ "active": false,
4
+ "desktopOnly": false,
5
+ "enableCheckout": true,
6
+ "options": {
7
+ "gaTrackingId": "",
8
+ "googleAdsId": ""
9
+ },
10
+ "headAppend": "src/append/head"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-compre-confie",
3
+ "active": false,
4
+ "desktopOnly": false,
5
+ "enableCheckout": true,
6
+ "disablePages": true,
7
+ "options": {
8
+ "compreConfieStoreId": ""
9
+ },
10
+ "stampsAppend": "src/append/stamps"
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-ebit",
3
+ "active": false,
4
+ "desktopOnly": false,
5
+ "enableCheckout": true,
6
+ "disablePages": true,
7
+ "options": {
8
+ "ebitStoreId": ""
9
+ },
10
+ "stampsAppend": "src/append/stamps"
11
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-fb-pixel",
3
+ "active": false,
4
+ "desktopOnly": false,
5
+ "enableCheckout": true,
6
+ "options": {
7
+ "fbqContainerId": "",
8
+ "debug": false
9
+ },
10
+ "headAppend": "src/append/head",
11
+ "bodyAppend": "src/append/body"
12
+ }
@@ -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,6 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-minicart",
3
+ "active": true,
4
+ "desktopOnly": false,
5
+ "options": {}
6
+ }
@@ -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,10 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-product-card",
3
+ "active": true,
4
+ "desktopOnly": false,
5
+ "options": {
6
+ "buyText": "",
7
+ "buy": "",
8
+ "footer": ""
9
+ }
10
+ }
@@ -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,8 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-search-engine",
3
+ "active": true,
4
+ "desktopOnly": false,
5
+ "options": {
6
+ "pagination": false
7
+ }
8
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-search",
3
+ "active": true,
4
+ "desktopOnly": false,
5
+ "options": {}
6
+ }
@@ -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,12 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-tawkto",
3
+ "active": false,
4
+ "desktopOnly": false,
5
+ "enableCheckout": false,
6
+ "disablePages": true,
7
+ "options": {
8
+ "tawktoPropertyId": "",
9
+ "tawktoChatWidget": "default"
10
+ },
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,5 @@
1
+ {
2
+ "pkg": "@ecomplus/widget-user",
3
+ "active": true,
4
+ "desktopOnly": true
5
+ }
@@ -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,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
+ }