cloudcommerce 0.0.67 → 0.0.68

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 (89) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/package.json +1 -1
  3. package/packages/api/lib/api.js +8 -8
  4. package/packages/api/lib/api.js.map +1 -1
  5. package/packages/api/package.json +1 -1
  6. package/packages/api/src/api.ts +8 -8
  7. package/packages/apps/correios/package.json +3 -3
  8. package/packages/apps/custom-shipping/package.json +3 -3
  9. package/packages/apps/discounts/package.json +1 -1
  10. package/packages/apps/tiny-erp/package.json +1 -1
  11. package/packages/cli/config/firebase.json +6 -6
  12. package/packages/cli/package.json +1 -1
  13. package/packages/config/lib/config.js +4 -1
  14. package/packages/config/lib/config.js.map +1 -1
  15. package/packages/config/lib/env.js +4 -1
  16. package/packages/config/lib/env.js.map +1 -1
  17. package/packages/config/package.json +1 -1
  18. package/packages/config/src/config.ts +7 -3
  19. package/packages/config/src/env.ts +4 -1
  20. package/packages/events/package.json +1 -1
  21. package/packages/firebase/package.json +1 -1
  22. package/packages/modules/package.json +1 -1
  23. package/packages/passport/package.json +1 -1
  24. package/packages/ssr/lib/firebase/serve-storefront.js +67 -0
  25. package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -0
  26. package/packages/ssr/lib/firebase.js +4 -3
  27. package/packages/ssr/lib/firebase.js.map +1 -1
  28. package/packages/ssr/lib/index.js +3 -0
  29. package/packages/ssr/lib/index.js.map +1 -1
  30. package/packages/ssr/package.json +1 -2
  31. package/packages/ssr/src/firebase/serve-storefront.ts +78 -0
  32. package/packages/ssr/src/firebase.ts +4 -3
  33. package/packages/ssr/src/index.ts +3 -0
  34. package/packages/storefront/dist/client/assets/{_...d4aa8aff.css → 404-_...d4aa8aff.css} +0 -0
  35. package/packages/storefront/dist/client/assets/404-index.d9230d24.css +1 -0
  36. package/packages/storefront/dist/client/assets/{_...0b5ebd52.css → 404.530428e5.css} +1 -1
  37. package/packages/storefront/dist/client/assets/_...fae19676.css +1 -0
  38. package/packages/storefront/dist/client/assets/index.53a3a3e0.css +1 -0
  39. package/packages/storefront/dist/server/entry.mjs +271 -134
  40. package/packages/storefront/example.env +2 -0
  41. package/packages/storefront/package.json +4 -1
  42. package/packages/storefront/src/pages/404.astro +74 -0
  43. package/packages/storefront/src/pages/[...slug].astro +11 -5
  44. package/packages/{ssr/src/firebase/.gitkeep → storefront/src/pages/app/index.astro} +0 -0
  45. package/packages/storefront/src/pages/index.astro +2 -2
  46. package/packages/storefront/src/storefront-config.ts +31 -20
  47. package/packages/types/package.json +1 -1
  48. package/packages/storefront/content/blog.json +0 -18
  49. package/packages/storefront/content/brands.json +0 -24
  50. package/packages/storefront/content/categories.json +0 -24
  51. package/packages/storefront/content/code.json +0 -5
  52. package/packages/storefront/content/collections.json +0 -24
  53. package/packages/storefront/content/contacts.json +0 -13
  54. package/packages/storefront/content/footer.json +0 -46
  55. package/packages/storefront/content/header.json +0 -27
  56. package/packages/storefront/content/home.json +0 -45
  57. package/packages/storefront/content/info.json +0 -18
  58. package/packages/storefront/content/maintenance.json +0 -6
  59. package/packages/storefront/content/menu.json +0 -6
  60. package/packages/storefront/content/pages/contato.json +0 -6
  61. package/packages/storefront/content/pages/entrega.json +0 -6
  62. package/packages/storefront/content/pages/faq.json +0 -6
  63. package/packages/storefront/content/pages/pagamentos.json +0 -6
  64. package/packages/storefront/content/pages/privacidade.json +0 -6
  65. package/packages/storefront/content/pages/sobre-nos.json +0 -6
  66. package/packages/storefront/content/pages/termos.json +0 -6
  67. package/packages/storefront/content/pages/trocas.json +0 -6
  68. package/packages/storefront/content/posts/esta-loja-e-um-pwa.json +0 -9
  69. package/packages/storefront/content/products.json +0 -32
  70. package/packages/storefront/content/search.json +0 -8
  71. package/packages/storefront/content/settings.json +0 -25
  72. package/packages/storefront/content/social.json +0 -5
  73. package/packages/storefront/content/widgets/analytics.json +0 -11
  74. package/packages/storefront/content/widgets/compre-confie.json +0 -11
  75. package/packages/storefront/content/widgets/ebit.json +0 -11
  76. package/packages/storefront/content/widgets/fb-pixel.json +0 -12
  77. package/packages/storefront/content/widgets/gmc-ratings.json +0 -12
  78. package/packages/storefront/content/widgets/minicart.json +0 -6
  79. package/packages/storefront/content/widgets/offers-notification.json +0 -11
  80. package/packages/storefront/content/widgets/opinioes-verificadas.json +0 -18
  81. package/packages/storefront/content/widgets/product-card.json +0 -10
  82. package/packages/storefront/content/widgets/product.json +0 -13
  83. package/packages/storefront/content/widgets/search-engine.json +0 -8
  84. package/packages/storefront/content/widgets/search.json +0 -6
  85. package/packages/storefront/content/widgets/tag-manager.json +0 -12
  86. package/packages/storefront/content/widgets/tawkto.json +0 -12
  87. package/packages/storefront/content/widgets/trustvox.json +0 -15
  88. package/packages/storefront/content/widgets/user.json +0 -5
  89. package/packages/storefront/dist/client/assets/index.5608ba47.css +0 -1
@@ -1,12 +0,0 @@
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
- }
@@ -1,6 +0,0 @@
1
- {
2
- "pkg": "@ecomplus/widget-minicart",
3
- "active": true,
4
- "desktopOnly": false,
5
- "options": {}
6
- }
@@ -1,11 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
1
- {
2
- "pkg": "@ecomplus/widget-product-card",
3
- "active": true,
4
- "desktopOnly": false,
5
- "options": {
6
- "buyText": "",
7
- "buy": "",
8
- "footer": ""
9
- }
10
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
1
- {
2
- "pkg": "@ecomplus/widget-search-engine",
3
- "active": true,
4
- "desktopOnly": false,
5
- "options": {
6
- "pagination": false
7
- }
8
- }
@@ -1,6 +0,0 @@
1
- {
2
- "pkg": "@ecomplus/widget-search",
3
- "active": true,
4
- "desktopOnly": false,
5
- "options": {}
6
- }
@@ -1,12 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,5 +0,0 @@
1
- {
2
- "pkg": "@ecomplus/widget-user",
3
- "active": true,
4
- "desktopOnly": true
5
- }
@@ -1 +0,0 @@
1
- :root{--astro-gradient: linear-gradient(0deg,#4F39FA, #DA62C4)}h1:where(.astro-2COIDAMR){margin:2rem 0}main:where(.astro-2COIDAMR){margin:auto;padding:1em;max-width:60ch}.text-gradient:where(.astro-2COIDAMR){font-weight:900;background-image:var(--astro-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-size:100% 200%;background-position-y:100%;border-radius:.4rem;animation:pulse 4s ease-in-out infinite}@keyframes pulse{0%,to{background-position-y:0%}50%{background-position-y:80%}}.instructions:where(.astro-2COIDAMR){line-height:1.6;margin:1rem 0;background:#4F39FA;padding:1rem;border-radius:.4rem;color:var(--color-bg)}.instructions:where(.astro-2COIDAMR) code:where(.astro-2COIDAMR){font-size:.875em;border:.1em solid var(--color-border);border-radius:4px;padding:.15em .25em}.link-card-grid:where(.astro-2COIDAMR){display:grid;grid-template-columns:repeat(auto-fit,minmax(24ch,1fr));gap:1rem;padding:0}:root{--link-gradient: linear-gradient(45deg, #4F39FA, #DA62C4 30%, var(--color-border) 60%)}.link-card:where(.astro-ASCHB54V){list-style:none;display:flex;padding:.15rem;background-image:var(--link-gradient);background-size:400%;border-radius:.5rem;background-position:100%;transition:background-position .6s cubic-bezier(.22,1,.36,1)}.link-card:where(.astro-ASCHB54V)>a:where(.astro-ASCHB54V){width:100%;text-decoration:none;line-height:1.4;padding:1em 1.3em;border-radius:.35rem;color:var(--text-color);background-color:#fff;opacity:.8}h2:where(.astro-ASCHB54V){margin:0;transition:color .6s cubic-bezier(.22,1,.36,1)}p:where(.astro-ASCHB54V){margin-top:.75rem;margin-bottom:0}h2:where(.astro-ASCHB54V) span:where(.astro-ASCHB54V){display:inline-block;transition:transform .3s cubic-bezier(.22,1,.36,1)}.link-card:where(.astro-ASCHB54V):is(:hover,:focus-within){background-position:0}.link-card:where(.astro-ASCHB54V):is(:hover,:focus-within) h2:where(.astro-ASCHB54V){color:#4f39fa}.link-card:where(.astro-ASCHB54V):is(:hover,:focus-within) h2:where(.astro-ASCHB54V) span:where(.astro-ASCHB54V){transform:translate(2px)}