cloudcommerce 0.26.6 → 0.27.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.
Files changed (353) hide show
  1. package/.github/workflows/test-apps.yml +2 -2
  2. package/.gitmodules +0 -3
  3. package/.vscode/settings.json +3 -1
  4. package/CHANGELOG.md +50 -0
  5. package/action.yml +2 -2
  6. package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
  7. package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
  8. package/ecomplus-stores/barra-doce/functions/ssr/src/components/ShopHeader.vue +4 -1
  9. package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
  10. package/ecomplus-stores/barra-doce/package.json +2 -2
  11. package/ecomplus-stores/barra-doce/scripts/install.sh +12 -2
  12. package/ecomplus-stores/monocard/.firebaserc +1 -1
  13. package/ecomplus-stores/monocard/.github/build-and-deploy +1 -0
  14. package/ecomplus-stores/monocard/.github/workflows/build-and-deploy.yml +1 -0
  15. package/ecomplus-stores/monocard/README.md +11 -82
  16. package/ecomplus-stores/{iluminim → monocard}/SETUP.md +12 -0
  17. package/ecomplus-stores/{iluminim → monocard}/SETUP.pt-BR.md +12 -0
  18. package/ecomplus-stores/monocard/functions/config.json +1 -1
  19. package/ecomplus-stores/monocard/functions/{core → many}/package.json +4 -2
  20. package/ecomplus-stores/monocard/functions/ssr/.eslintrc.cjs +1 -1
  21. package/ecomplus-stores/monocard/functions/ssr/content/layout.json +25 -10
  22. package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/pages/home.json +12 -19
  23. package/ecomplus-stores/monocard/functions/ssr/content/pages/products.json +19 -0
  24. package/ecomplus-stores/monocard/functions/ssr/content/settings.json +22 -2
  25. package/ecomplus-stores/monocard/functions/ssr/package.json +8 -9
  26. package/ecomplus-stores/monocard/functions/ssr/src/assets/card.css +99 -0
  27. package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/assets/style.css +16 -7
  28. package/ecomplus-stores/monocard/functions/ssr/src/components/AccountMenu.vue +5 -14
  29. package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/Banner.vue +6 -4
  30. package/ecomplus-stores/monocard/functions/ssr/src/components/Breadcrumbs.astro +44 -0
  31. package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/CartSidebar.vue +1 -1
  32. package/ecomplus-stores/monocard/functions/ssr/src/components/DemoVideo.vue +8 -3
  33. package/ecomplus-stores/monocard/functions/ssr/src/components/DocDescription.astro +30 -0
  34. package/ecomplus-stores/monocard/functions/ssr/src/components/FeatureTabs.vue +2 -2
  35. package/ecomplus-stores/monocard/functions/ssr/src/components/LottiePhoneNFC.vue +12 -9
  36. package/ecomplus-stores/monocard/functions/ssr/src/components/MonocardCustomizer.vue +8 -105
  37. package/ecomplus-stores/monocard/functions/ssr/src/components/Prices.vue +10 -27
  38. package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/ProductCard.vue +1 -1
  39. package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/ShopFooter.vue +9 -35
  40. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeader.vue +85 -32
  41. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeaderMenu.vue +1 -1
  42. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopSidenav.vue +3 -3
  43. package/ecomplus-stores/monocard/functions/ssr/src/components/ShopSidenavCategory.vue +2 -2
  44. package/ecomplus-stores/monocard/functions/ssr/src/env.d.ts +9 -1
  45. package/ecomplus-stores/monocard/functions/ssr/src/layouts/Base.astro +9 -44
  46. package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/layouts/PageFooter.astro +3 -19
  47. package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/layouts/PageHeader.astro +7 -14
  48. package/ecomplus-stores/monocard/functions/ssr/src/main/Fallback.astro +0 -5
  49. package/ecomplus-stores/monocard/functions/ssr/src/main/Home.astro +6 -12
  50. package/ecomplus-stores/monocard/functions/ssr/src/main/Sections.astro +38 -0
  51. package/ecomplus-stores/monocard/functions/ssr/src/main/Wildcard.astro +4 -18
  52. package/ecomplus-stores/monocard/functions/ssr/src/pages/[...slug].astro +15 -9
  53. package/ecomplus-stores/monocard/functions/ssr/src/pages/comprar/index.astro +19 -9
  54. package/ecomplus-stores/monocard/functions/ssr/src/pages/index.astro +16 -10
  55. package/ecomplus-stores/monocard/functions/ssr/src/scripts/InlineScripts.astro +6 -6
  56. package/ecomplus-stores/monocard/functions/ssr/tailwind.config.cjs +1 -11
  57. package/ecomplus-stores/monocard/functions/{events → with-apps}/package.json +4 -3
  58. package/ecomplus-stores/monocard/package.json +4 -1
  59. package/ecomplus-stores/monocard/scripts/install.sh +12 -2
  60. package/ecomplus-stores/tia-sonia/scripts/install.sh +12 -2
  61. package/package.json +7 -7
  62. package/packages/api/package.json +1 -1
  63. package/packages/apps/affilate-program/package.json +2 -2
  64. package/packages/apps/correios/package.json +3 -4
  65. package/packages/apps/custom-payment/package.json +1 -1
  66. package/packages/apps/custom-shipping/package.json +1 -1
  67. package/packages/apps/datafrete/package.json +3 -3
  68. package/packages/apps/discounts/package.json +1 -1
  69. package/packages/apps/emails/package.json +2 -2
  70. package/packages/apps/fb-conversions/package.json +3 -3
  71. package/packages/apps/flash-courier/package.json +2 -2
  72. package/packages/apps/frenet/package.json +3 -3
  73. package/packages/apps/galaxpay/package.json +3 -3
  74. package/packages/apps/google-analytics/package.json +3 -3
  75. package/packages/apps/jadlog/package.json +2 -2
  76. package/packages/apps/loyalty-points/package.json +1 -1
  77. package/packages/apps/melhor-envio/package.json +3 -3
  78. package/packages/apps/mercadopago/package.json +3 -3
  79. package/packages/apps/pagarme/package.json +4 -4
  80. package/packages/apps/paghiper/package.json +3 -3
  81. package/packages/apps/pix/package.json +3 -3
  82. package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +22 -0
  83. package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js.map +1 -1
  84. package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js +2 -2
  85. package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js.map +1 -1
  86. package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js +7 -1
  87. package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js.map +1 -1
  88. package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js +14 -5
  89. package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js.map +1 -1
  90. package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js +9 -1
  91. package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js.map +1 -1
  92. package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js +8 -6
  93. package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js.map +1 -1
  94. package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js +118 -38
  95. package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js.map +1 -1
  96. package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js +8 -0
  97. package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js.map +1 -1
  98. package/packages/apps/tiny-erp/package.json +3 -3
  99. package/packages/apps/tiny-erp/src/integration/export-order-to-tiny.ts +24 -0
  100. package/packages/apps/tiny-erp/src/integration/helpers/format-tiny-date.ts +2 -2
  101. package/packages/apps/tiny-erp/src/integration/import-order-from-tiny.ts +8 -1
  102. package/packages/apps/tiny-erp/src/integration/import-product-from-tiny.ts +17 -5
  103. package/packages/apps/tiny-erp/src/integration/parsers/order-from-tiny.ts +13 -1
  104. package/packages/apps/tiny-erp/src/integration/parsers/order-to-tiny.ts +11 -6
  105. package/packages/apps/tiny-erp/src/integration/parsers/product-from-tiny.ts +144 -41
  106. package/packages/apps/tiny-erp/src/integration/parsers/product-to-tiny.ts +10 -0
  107. package/packages/apps/webhooks/package.json +3 -3
  108. package/packages/cli/package.json +2 -2
  109. package/packages/config/package.json +1 -1
  110. package/packages/emails/package.json +4 -4
  111. package/packages/eslint/base.eslintrc.cjs +3 -0
  112. package/packages/eslint/package.json +5 -4
  113. package/packages/eslint/storefront.eslintrc.cjs +8 -1
  114. package/packages/events/package.json +2 -2
  115. package/packages/feeds/package.json +1 -1
  116. package/packages/firebase/package.json +3 -3
  117. package/packages/i18n/package.json +1 -1
  118. package/packages/modules/package.json +3 -3
  119. package/packages/passport/package.json +2 -2
  120. package/packages/ssr/lib/firebase/serve-storefront.js +23 -8
  121. package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -1
  122. package/packages/ssr/package.json +3 -3
  123. package/packages/ssr/src/firebase/serve-storefront.ts +24 -8
  124. package/packages/storefront/.auto-imports.d.ts +65 -0
  125. package/packages/storefront/astro.config.mjs +24 -1
  126. package/packages/storefront/client.d.ts +1 -0
  127. package/packages/storefront/config/astro/context-directive.mjs +21 -0
  128. package/packages/storefront/config/astro/index.d.ts +8 -0
  129. package/packages/storefront/config/storefront.tailwind.cjs +0 -1
  130. package/packages/storefront/dist/client/_astro/{Carousel.9ad2e1dc.js → Carousel.4bf71bce.js} +1 -1
  131. package/packages/storefront/dist/client/_astro/{CartSidebar.a6c6a885.js → CartSidebar.05b12b39.js} +1 -1
  132. package/packages/storefront/dist/client/_astro/{HeroSlider.ee1e6200.js → HeroSlider.fe108a14.js} +1 -1
  133. package/packages/storefront/dist/client/_astro/{PitchBar.6111676e.js → PitchBar.2c821b77.js} +1 -1
  134. package/packages/storefront/dist/client/_astro/{Prices.04ff8fce.js → Prices.78eb0a61.js} +1 -1
  135. package/packages/storefront/dist/client/_astro/{ProductShelf.085721d6.js → ProductShelf.46d8a51c.js} +1 -1
  136. package/packages/storefront/dist/client/_astro/ShopHeader.3694a82b.js +4 -0
  137. package/packages/storefront/dist/client/_astro/_...slug_.a4a7a874.css +1 -0
  138. package/packages/storefront/dist/client/_astro/ecom-icon_CDmhA.png +0 -0
  139. package/packages/storefront/dist/client/_astro/ecom-icon_Z27EX9f.png +0 -0
  140. package/packages/storefront/dist/client/_astro/ecom-icon_Zo1CLq.png +0 -0
  141. package/packages/storefront/dist/client/_astro/{firebase-app.8c541cce.js → firebase-app.3f59f3c7.js} +3 -3
  142. package/packages/storefront/dist/client/_astro/headphone_1Ekzdh.avif +0 -0
  143. package/packages/storefront/dist/client/_astro/headphone_Z1GbHcH.webp +0 -0
  144. package/packages/storefront/dist/client/_astro/{hoisted.85fdcf03.js → hoisted.648beb9d.js} +1 -1
  145. package/packages/storefront/dist/client/_astro/index.fadf28bd.js +1 -0
  146. package/packages/storefront/dist/client/_astro/logo_144owC.webp +0 -0
  147. package/packages/storefront/dist/client/_astro/logo_1ug3XF.png +0 -0
  148. package/packages/storefront/dist/client/_astro/logo_Z1EIN1I.avif +0 -0
  149. package/packages/storefront/dist/client/_astro/{modules-info.e5d77bf3.js → modules-info.df822732.js} +1 -1
  150. package/packages/storefront/dist/client/_astro/passion_1LvKlp.webp +0 -0
  151. package/packages/storefront/dist/client/_astro/passion_2PSWs.avif +0 -0
  152. package/packages/storefront/dist/client/_astro/rect8589_1A8K2Q.webp +0 -0
  153. package/packages/storefront/dist/client/_astro/rect8589_1ND0he.png +0 -0
  154. package/packages/storefront/dist/client/_astro/rect8589_1mIaKd.png +0 -0
  155. package/packages/storefront/dist/client/_astro/rect8589_LhopI.avif +0 -0
  156. package/packages/storefront/dist/client/_astro/rect8589_Z1NFjiR.avif +0 -0
  157. package/packages/storefront/dist/client/_astro/rect8589_Z2a06Gx.png +0 -0
  158. package/packages/storefront/dist/client/_astro/rect8589_Z2nulUU.webp +0 -0
  159. package/packages/storefront/dist/client/_astro/rect8589_ZH7hsH.avif +0 -0
  160. package/packages/storefront/dist/client/_astro/rect8589_ZorpIx.webp +0 -0
  161. package/packages/storefront/dist/client/_astro/rect859_1CcLjM.avif +0 -0
  162. package/packages/storefront/dist/client/_astro/rect859_1IVKep.png +0 -0
  163. package/packages/storefront/dist/client/_astro/rect859_1zkdb4.webp +0 -0
  164. package/packages/storefront/dist/client/_astro/rect859_299fN7.avif +0 -0
  165. package/packages/storefront/dist/client/_astro/rect859_CnIof.png +0 -0
  166. package/packages/storefront/dist/client/_astro/rect859_Z1OtQaE.avif +0 -0
  167. package/packages/storefront/dist/client/_astro/rect859_flB3g.png +0 -0
  168. package/packages/storefront/dist/client/_astro/rect859_rsWaw.webp +0 -0
  169. package/packages/storefront/dist/client/_astro/rect859_sLbkT.webp +0 -0
  170. package/packages/storefront/dist/client/_astro/rect89_1yf5jS.avif +0 -0
  171. package/packages/storefront/dist/client/_astro/rect89_GQBli.webp +0 -0
  172. package/packages/storefront/dist/client/~fallback.html +67 -0
  173. package/packages/storefront/dist/client/~index.html +113 -0
  174. package/packages/storefront/dist/server/chunks/{CartSidebar.41b20543.mjs → CartSidebar.4179ad81.mjs} +4 -12
  175. package/packages/storefront/dist/server/chunks/{SearchModal.5f5e6a15.mjs → SearchModal.146ce2f7.mjs} +4 -11
  176. package/packages/storefront/dist/server/chunks/_...05c626ea.mjs +28 -0
  177. package/packages/storefront/dist/server/chunks/{account@_@astro.204fba92.mjs → account@_@astro.5eaddaf8.mjs} +2 -9
  178. package/packages/storefront/dist/server/chunks/{index@_@astro.19e0f502.mjs → index@_@astro.25a343cc.mjs} +3 -10
  179. package/packages/storefront/dist/server/chunks/{index@_@astro.b37a6ac9.mjs → index@_@astro.2d2f2e33.mjs} +3 -10
  180. package/packages/storefront/dist/server/chunks/pages/{_...slug_.astro.36e8882b.mjs → _...slug_.astro.0808946e.mjs} +1836 -450
  181. package/packages/storefront/dist/server/chunks/pages/index.astro.d4145872.mjs +186 -0
  182. package/packages/storefront/dist/server/chunks/pages/{~fallback.astro.ba4c2475.mjs → ~fallback.astro.84d4765b.mjs} +6 -23
  183. package/packages/storefront/dist/server/chunks/{~fallback@_@astro.6bb4c4b4.mjs → ~fallback@_@astro.86d710c3.mjs} +3 -10
  184. package/packages/storefront/dist/server/entry.mjs +7 -14
  185. package/packages/storefront/dist/server/images.dist.csv +30 -0
  186. package/packages/storefront/dist/server/images.src.csv +11 -0
  187. package/packages/storefront/dist/server/renderers.mjs +2 -9
  188. package/packages/storefront/dist/server/static-builds.csv +51 -0
  189. package/packages/storefront/package.json +6 -5
  190. package/packages/storefront/scripts/build-prod.sh +3 -2
  191. package/packages/storefront/server.d.ts +1 -0
  192. package/packages/storefront/src/lib/$storefront.d.ts +8 -8
  193. package/packages/storefront/src/lib/assets/base.css +13 -0
  194. package/packages/storefront/src/lib/assets/reset.css +11 -2
  195. package/packages/storefront/src/lib/components/Carousel.vue +93 -72
  196. package/packages/storefront/src/lib/components/CarouselControl.vue +13 -7
  197. package/packages/storefront/src/lib/components/ContentClearfix.vue +17 -0
  198. package/packages/storefront/src/lib/components/Drawer.vue +3 -3
  199. package/packages/storefront/src/lib/components/PaymentMethodFlag.vue +1 -1
  200. package/packages/storefront/src/lib/components/QuantitySelector.vue +4 -4
  201. package/packages/storefront/src/lib/components/QuantitySelectorControl.vue +2 -2
  202. package/packages/storefront/src/lib/components/ViewTransitions.astro +409 -0
  203. package/packages/storefront/src/lib/components/globals/AImg.vue +2 -1
  204. package/packages/storefront/src/lib/layouts/BaseBody.astro +1 -1
  205. package/packages/storefront/src/lib/layouts/BaseHead.astro +28 -5
  206. package/packages/storefront/src/lib/layouts/use-page-header.ts +2 -2
  207. package/packages/test-base/package.json +1 -1
  208. package/packages/types/package.json +1 -1
  209. package/pnpm-workspace.yaml +2 -0
  210. package/ecomplus-stores/iluminim/.devcontainer/devcontainer.json +0 -30
  211. package/ecomplus-stores/iluminim/.editorconfig +0 -13
  212. package/ecomplus-stores/iluminim/.eslintrc.cjs +0 -3
  213. package/ecomplus-stores/iluminim/.firebaserc +0 -5
  214. package/ecomplus-stores/iluminim/.github/renovate.json +0 -5
  215. package/ecomplus-stores/iluminim/.github/workflows/build-and-deploy.yml +0 -36
  216. package/ecomplus-stores/iluminim/.github/workflows/calibreapp-image-actions.yml +0 -23
  217. package/ecomplus-stores/iluminim/.gitpod.yml +0 -12
  218. package/ecomplus-stores/iluminim/.idx/dev.nix +0 -24
  219. package/ecomplus-stores/iluminim/.nvmrc +0 -1
  220. package/ecomplus-stores/iluminim/.vscode/extensions.json +0 -8
  221. package/ecomplus-stores/iluminim/.vscode/launch.json +0 -11
  222. package/ecomplus-stores/iluminim/.vscode/settings.json +0 -10
  223. package/ecomplus-stores/iluminim/README.md +0 -31
  224. package/ecomplus-stores/iluminim/functions/config.json +0 -3
  225. package/ecomplus-stores/iluminim/functions/example.env +0 -10
  226. package/ecomplus-stores/iluminim/functions/many/package.json +0 -22
  227. package/ecomplus-stores/iluminim/functions/ssr/.eslintrc.cjs +0 -6
  228. package/ecomplus-stores/iluminim/functions/ssr/astro.config.mjs +0 -4
  229. package/ecomplus-stores/iluminim/functions/ssr/content/layout.json +0 -57
  230. package/ecomplus-stores/iluminim/functions/ssr/content/settings.json +0 -65
  231. package/ecomplus-stores/iluminim/functions/ssr/index.js +0 -18
  232. package/ecomplus-stores/iluminim/functions/ssr/package.json +0 -31
  233. package/ecomplus-stores/iluminim/functions/ssr/public/admin/.gitkeep +0 -2
  234. package/ecomplus-stores/iluminim/functions/ssr/public/assets/cms-preview.css +0 -274
  235. package/ecomplus-stores/iluminim/functions/ssr/public/assets/cms.css +0 -114
  236. package/ecomplus-stores/iluminim/functions/ssr/public/assets/cvv.png +0 -0
  237. package/ecomplus-stores/iluminim/functions/ssr/public/assets/img-placeholder.png +0 -0
  238. package/ecomplus-stores/iluminim/functions/ssr/public/assets/payments.png +0 -0
  239. package/ecomplus-stores/iluminim/functions/ssr/public/assets/ssl-safe.png +0 -0
  240. package/ecomplus-stores/iluminim/functions/ssr/public/img/icon.png +0 -0
  241. package/ecomplus-stores/iluminim/functions/ssr/public/img/large-icon.png +0 -0
  242. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/banner-chamada-desktop-9x81zmd91q.webp +0 -0
  243. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/banner2.webp +0 -0
  244. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/chamada-mobile-q1c6om6jx4.webp +0 -0
  245. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/headphone.webp +0 -0
  246. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/logo.webp +0 -0
  247. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/og-image.png +0 -0
  248. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/passion.webp +0 -0
  249. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect8589.png +0 -0
  250. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect859.png +0 -0
  251. package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect89.webp +0 -0
  252. package/ecomplus-stores/iluminim/functions/ssr/public/robots.txt +0 -6
  253. package/ecomplus-stores/iluminim/functions/ssr/scripts/build.sh +0 -14
  254. package/ecomplus-stores/iluminim/functions/ssr/src/components/AccountMenu.vue +0 -95
  255. package/ecomplus-stores/iluminim/functions/ssr/src/components/Countdown.vue +0 -79
  256. package/ecomplus-stores/iluminim/functions/ssr/src/components/HeroSlider.vue +0 -52
  257. package/ecomplus-stores/iluminim/functions/ssr/src/components/PitchBar.vue +0 -56
  258. package/ecomplus-stores/iluminim/functions/ssr/src/components/Prices.vue +0 -95
  259. package/ecomplus-stores/iluminim/functions/ssr/src/components/ProductsCountdown.vue +0 -20
  260. package/ecomplus-stores/iluminim/functions/ssr/src/components/SearchModal.vue +0 -6
  261. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeader.vue +0 -158
  262. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeaderMenu.vue +0 -58
  263. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeaderSubmenu.vue +0 -88
  264. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopSidenav.vue +0 -61
  265. package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopSidenavCategory.vue +0 -80
  266. package/ecomplus-stores/iluminim/functions/ssr/src/env.d.ts +0 -13
  267. package/ecomplus-stores/iluminim/functions/ssr/src/layouts/Base.astro +0 -16
  268. package/ecomplus-stores/iluminim/functions/ssr/src/main/Fallback.astro +0 -10
  269. package/ecomplus-stores/iluminim/functions/ssr/src/main/Home.astro +0 -49
  270. package/ecomplus-stores/iluminim/functions/ssr/src/main/Sections.astro +0 -42
  271. package/ecomplus-stores/iluminim/functions/ssr/src/main/Wildcard.astro +0 -18
  272. package/ecomplus-stores/iluminim/functions/ssr/src/pages/[...slug].astro +0 -40
  273. package/ecomplus-stores/iluminim/functions/ssr/src/pages/_vue.ts +0 -3
  274. package/ecomplus-stores/iluminim/functions/ssr/src/pages/app/account.astro +0 -0
  275. package/ecomplus-stores/iluminim/functions/ssr/src/pages/app/index.astro +0 -0
  276. package/ecomplus-stores/iluminim/functions/ssr/src/pages/index.astro +0 -37
  277. package/ecomplus-stores/iluminim/functions/ssr/src/scripts/InlineScripts.astro +0 -10
  278. package/ecomplus-stores/iluminim/functions/ssr/tailwind.config.cjs +0 -13
  279. package/ecomplus-stores/iluminim/functions/ssr/tsconfig.json +0 -12
  280. package/ecomplus-stores/iluminim/functions/ssr/uno.config.cjs +0 -5
  281. package/ecomplus-stores/iluminim/functions/with-apps/package.json +0 -22
  282. package/ecomplus-stores/iluminim/package.json +0 -31
  283. package/ecomplus-stores/iluminim/scripts/install.sh +0 -14
  284. package/ecomplus-stores/monocard/README.pt-BR.md +0 -102
  285. package/ecomplus-stores/monocard/functions/core/index.js +0 -9
  286. package/ecomplus-stores/monocard/functions/events/index.js +0 -9
  287. package/ecomplus-stores/monocard/functions/modules/index.js +0 -9
  288. package/ecomplus-stores/monocard/functions/modules/package.json +0 -21
  289. package/ecomplus-stores/monocard/functions/passport/index.js +0 -9
  290. package/ecomplus-stores/monocard/functions/passport/package.json +0 -21
  291. package/ecomplus-stores/monocard/functions/ssr/content/blog.json +0 -18
  292. package/ecomplus-stores/monocard/functions/ssr/content/brands.json +0 -24
  293. package/ecomplus-stores/monocard/functions/ssr/content/categories.json +0 -24
  294. package/ecomplus-stores/monocard/functions/ssr/content/collections.json +0 -24
  295. package/ecomplus-stores/monocard/functions/ssr/content/home.json +0 -45
  296. package/ecomplus-stores/monocard/functions/ssr/content/maintenance.json +0 -6
  297. package/ecomplus-stores/monocard/functions/ssr/content/pages/contato.json +0 -6
  298. package/ecomplus-stores/monocard/functions/ssr/content/pages/entrega.json +0 -6
  299. package/ecomplus-stores/monocard/functions/ssr/content/pages/faq.json +0 -6
  300. package/ecomplus-stores/monocard/functions/ssr/content/pages/pagamentos.json +0 -6
  301. package/ecomplus-stores/monocard/functions/ssr/content/pages/privacidade.json +0 -6
  302. package/ecomplus-stores/monocard/functions/ssr/content/pages/sobre-nos.json +0 -6
  303. package/ecomplus-stores/monocard/functions/ssr/content/pages/termos.json +0 -6
  304. package/ecomplus-stores/monocard/functions/ssr/content/pages/trocas.json +0 -6
  305. package/ecomplus-stores/monocard/functions/ssr/content/posts/esta-loja-e-um-pwa.json +0 -9
  306. package/ecomplus-stores/monocard/functions/ssr/content/products.json +0 -32
  307. package/ecomplus-stores/monocard/functions/ssr/content/search.json +0 -8
  308. package/ecomplus-stores/monocard/functions/ssr/content/widgets/analytics.json +0 -11
  309. package/ecomplus-stores/monocard/functions/ssr/content/widgets/compre-confie.json +0 -11
  310. package/ecomplus-stores/monocard/functions/ssr/content/widgets/ebit.json +0 -11
  311. package/ecomplus-stores/monocard/functions/ssr/content/widgets/fb-pixel.json +0 -12
  312. package/ecomplus-stores/monocard/functions/ssr/content/widgets/gmc-ratings.json +0 -12
  313. package/ecomplus-stores/monocard/functions/ssr/content/widgets/minicart.json +0 -6
  314. package/ecomplus-stores/monocard/functions/ssr/content/widgets/offers-notification.json +0 -11
  315. package/ecomplus-stores/monocard/functions/ssr/content/widgets/opinioes-verificadas.json +0 -18
  316. package/ecomplus-stores/monocard/functions/ssr/content/widgets/product-card.json +0 -10
  317. package/ecomplus-stores/monocard/functions/ssr/content/widgets/product.json +0 -13
  318. package/ecomplus-stores/monocard/functions/ssr/content/widgets/search-engine.json +0 -8
  319. package/ecomplus-stores/monocard/functions/ssr/content/widgets/search.json +0 -6
  320. package/ecomplus-stores/monocard/functions/ssr/content/widgets/tag-manager.json +0 -12
  321. package/ecomplus-stores/monocard/functions/ssr/content/widgets/tawkto.json +0 -12
  322. package/ecomplus-stores/monocard/functions/ssr/content/widgets/trustvox.json +0 -15
  323. package/ecomplus-stores/monocard/functions/ssr/content/widgets/user.json +0 -5
  324. package/ecomplus-stores/monocard/functions/ssr/public/admin/config.json +0 -1
  325. package/ecomplus-stores/monocard/functions/ssr/public/assets/cms-preview.css +0 -274
  326. package/ecomplus-stores/monocard/functions/ssr/public/assets/cms.css +0 -114
  327. package/ecomplus-stores/monocard/functions/ssr/public/assets/cvv.png +0 -0
  328. package/ecomplus-stores/monocard/functions/ssr/public/assets/fonts/FavoritPro-Regular.woff2 +0 -0
  329. package/ecomplus-stores/monocard/functions/ssr/public/assets/fonts/MyriadPro-Regular.woff2 +0 -0
  330. package/ecomplus-stores/monocard/functions/ssr/public/assets/ssl-safe.png +0 -0
  331. package/ecomplus-stores/monocard/functions/ssr/src/layouts/Pages.astro +0 -50
  332. package/ecomplus-stores/monocard/functions/ssr/src/pages/fallback.astro +0 -21
  333. package/packages/storefront/dist/client/_astro/ShopHeader.7e485e35.js +0 -4
  334. package/packages/storefront/dist/client/_astro/_...slug_.b693913e.css +0 -1
  335. package/packages/storefront/dist/client/_astro/index.ea57babe.js +0 -1
  336. package/packages/storefront/dist/server/chunks/_...4a2548d2.mjs +0 -35
  337. package/packages/storefront/dist/server/chunks/endpoint@_@js.11be892a.mjs +0 -35
  338. package/packages/storefront/dist/server/chunks/pages/endpoint.js.f7a896a1.mjs +0 -119
  339. package/packages/storefront/dist/server/chunks/pages/index.astro.3145bd93.mjs +0 -1649
  340. package/packages/storefront/src/lib/components/ContentClearfix.astro +0 -12
  341. /package/ecomplus-stores/{iluminim → monocard}/functions/many/index.js +0 -0
  342. /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/blog/.gitkeep +0 -0
  343. /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/extra-pages/contato.json +0 -0
  344. /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/extra-pages/terms.json +0 -0
  345. /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/extra-pages/trocas.json +0 -0
  346. /package/ecomplus-stores/{iluminim/functions/ssr/src/layouts/Checkout.astro → monocard/functions/ssr/public/admin/.gitkeep} +0 -0
  347. /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/public/img/uploads/ecom-icon.png +0 -0
  348. /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/BannersGrid.astro +0 -0
  349. /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/CartItem.vue +0 -0
  350. /package/ecomplus-stores/monocard/functions/ssr/src/components/{FeatureTabs.astro → FeaturesSection.astro} +0 -0
  351. /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/ProductShelf.vue +0 -0
  352. /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/pages/~fallback.astro +0 -0
  353. /package/ecomplus-stores/{iluminim → monocard}/functions/with-apps/index.js +0 -0
@@ -0,0 +1,99 @@
1
+ .card {
2
+ color: var(--color);
3
+ width: 320px;
4
+ height: 190px;
5
+ -webkit-perspective: 600px;
6
+ -moz-perspective: 600px;
7
+ perspective:600px;
8
+ }
9
+ .card__part {
10
+ box-shadow: 1px 1px #aaa3a3;
11
+ top: 0;
12
+ position: absolute;
13
+ z-index: 1000;
14
+ left: 0;
15
+ display: inline-block;
16
+ width: 320px;
17
+ height: 190px;
18
+ background: var(--background-color);
19
+ border-radius: 8px;
20
+ -webkit-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
21
+ -moz-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
22
+ -ms-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
23
+ -o-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
24
+ transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
25
+ transform-style: preserve-3d;
26
+ -webkit-transform-style: preserve-3d;
27
+ -moz-transform-style: preserve-3d;
28
+ backface-visibility: hidden;
29
+ -webkit-backface-visibility: hidden;
30
+ -moz-backface-visibility: hidden;
31
+ }
32
+ .card__front {
33
+ padding: 18px;
34
+ transform: rotateY(0);
35
+ -webkit-transform: rotateY(0);
36
+ -moz-transform: rotateY(0);
37
+ }
38
+ .card__back {
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: space-around;
42
+ transform: rotateY(-180deg);
43
+ -webkit-transform: rotateY(-180deg);
44
+ -moz-transform: rotateY(-180deg);
45
+ }
46
+ .card__back img {
47
+ max-width: 256px;
48
+ max-height: 154px;
49
+ }
50
+ .card__logo {
51
+ height: 16px;
52
+ }
53
+ .card__front-logo{
54
+ position: absolute;
55
+ top: 18px;
56
+ right: 18px;
57
+ }
58
+ .card__square {
59
+ border-radius: 5px;
60
+ height: 30px;
61
+ }
62
+ .card__space-75 {
63
+ margin-top: 100px;
64
+ width: 75%;
65
+ float: left;
66
+ }
67
+ .card__space-25 {
68
+ margin-top: 30px;
69
+ width: 25%;
70
+ float: right;
71
+ text-align: right;
72
+ }
73
+ .card__label {
74
+ font-size: 10px;
75
+ text-transform: uppercase;
76
+ color: rgba(255,255,255,0.8);
77
+ letter-spacing: 1px;
78
+ }
79
+ .card__info {
80
+ margin-bottom: 0;
81
+ margin-top: 5px;
82
+ font-size: 16px;
83
+ line-height: 18px;
84
+ color: var(--color);
85
+ letter-spacing: 1px;
86
+ text-transform: uppercase;
87
+ }
88
+ .card:not(.card--no-back):hover .card__front,
89
+ .card--show-back .card__front {
90
+ transform: rotateY(180deg);
91
+ -webkit-transform: rotateY(180deg);
92
+ -moz-transform: rotateY(180deg);
93
+ }
94
+ .card:not(.card--no-back):hover .card__back,
95
+ .card--show-back .card__back {
96
+ transform: rotateY(0deg);
97
+ -webkit-transform: rotateY(0deg);
98
+ -moz-transform: rotateY(0deg);
99
+ }
@@ -1,6 +1,9 @@
1
1
  :root {
2
- --custom-font-sans: "Heebo Variable";
2
+ --custom-font-sans: "Inter Variable";
3
+ --c-on-primary: rgb(0, 0, 0);
4
+ --un-prose-links: rgb(var(--rgb-primary-700));
3
5
  }
6
+
4
7
  html {
5
8
  scroll-behavior: smooth;
6
9
  }
@@ -14,13 +17,13 @@ a, button, button > * {
14
17
  }
15
18
 
16
19
  .ui-link {
17
- @apply not-prose font-semibold text-primary underline underline-offset-4
18
- hover:text-primary-bold active:text-primary-subtle;
20
+ @apply not-prose font-medium text-primary underline underline-offset-4
21
+ decoration-primary/70 hover:text-primary-bold active:text-primary-subtle;
19
22
  }
20
23
 
21
24
  [class*=ui-btn] {
22
25
  @apply not-prose inline-block text-base font-medium px-4 py-2 rounded
23
- border-2 border-transparent focus:ring-1 active:ring-2;
26
+ border-2 border-transparent focus:ring-1 focus:ring-offset-1 active:ring-2;
24
27
  }
25
28
  .ui-btn-sm {
26
29
  @apply text-sm px-3 py-1.5 border-1;
@@ -40,10 +43,10 @@ a, button, button > * {
40
43
  }
41
44
 
42
45
  .ui-text-brand, .ui-title {
43
- @apply font-brand font-bold italic uppercase tracking-tight;
46
+ @apply font-brand font-black italic;
44
47
  }
45
48
  .ui-title {
46
- @apply font-black not-prose text-3xl xl:text-5xl;
49
+ @apply not-prose text-3xl xl:text-5xl;
47
50
  }
48
51
 
49
52
  [class*=ui-badge] {
@@ -60,6 +63,12 @@ a, button, button > * {
60
63
  @apply text-lg min-w-[1.75rem] px-2;
61
64
  }
62
65
 
63
- .ui-section {
66
+ [class*=ui-section] {
64
67
  @apply container 2xl:max-w-7xl mx-auto px-4 sm:px-2 my-6 md:my-8;
65
68
  }
69
+ .ui-section {
70
+ @apply sm:px-2 my-6 md:my-8;
71
+ }
72
+ .ui-section-slim {
73
+ @apply my-3;
74
+ }
@@ -7,7 +7,7 @@
7
7
  <div v-if="open">
8
8
  <span v-once>{{ initializeFirebaseAuth() }}</span>
9
9
  </div>
10
- <MenuButton class="outline-none">
10
+ <MenuButton class="outline-none" :aria-label="$t.i19myAccount">
11
11
  <slot name="button" v-bind="{ open }" />
12
12
  </MenuButton>
13
13
  <Fade>
@@ -16,7 +16,7 @@
16
16
  divide-y divide-base-100 focus:outline-none">
17
17
  <div class="p-3 text-base-600">
18
18
  {{ `${$t.i19hello} ${customerName || $t.i19visitor}` }}
19
- <AccountLink class="block py-1.5 rounded primary hover:primary-bold my-1">
19
+ <AccountLink role="button" class="ui-btn-sm ui-btn-primary block my-1">
20
20
  {{ $t.i19accessMyAccount }}
21
21
  </AccountLink>
22
22
  <AccountLink
@@ -40,7 +40,7 @@
40
40
  <MenuItem
41
41
  as="li"
42
42
  v-slot="{ active }"
43
- v-for="({ title, href }, i) in serviceLinks"
43
+ v-for="({ title, href }, i) in $settings.service_links"
44
44
  :key="`s-${i}`"
45
45
  >
46
46
  <ALink
@@ -67,7 +67,7 @@
67
67
  <MenuItem v-if="isLogged" as="li">
68
68
  <button @click="logout" class="p-2 text-right text-base-800">
69
69
  <span class="text-base-600">{{ $t.i19logout }}</span>
70
- <i class="i-logout text-lg ml-1"></i>
70
+ <i class="i-logout-circle-r-line text-lg ml-1"></i>
71
71
  </button>
72
72
  </MenuItem>
73
73
  </ul>
@@ -83,7 +83,7 @@ import {
83
83
  MenuItems,
84
84
  MenuItem,
85
85
  } from '@headlessui/vue';
86
- import { socialNetworks } from '@@sf/server-data';
86
+ import { socialNetworks } from '@@sf/sf-lib';
87
87
  import {
88
88
  customerName,
89
89
  initializeFirebaseAuth,
@@ -92,13 +92,4 @@ import {
92
92
  } from '@@sf/state/customer-session';
93
93
  import AccountLink from '@@sf/components/AccountLink.vue';
94
94
  import SocialNetworkLink from '@@sf/components/SocialNetworkLink.vue';
95
-
96
- export interface Props {
97
- serviceLinks?: Array<{
98
- title: string;
99
- href: string;
100
- }>;
101
- }
102
-
103
- defineProps<Props>();
104
95
  </script>
@@ -1,18 +1,20 @@
1
1
  <template>
2
2
  <div
3
3
  class="mx-auto overflow-x-hidden"
4
- :class="hasHeader ? 'grid grid-cols-1 md:grid-cols-2 items-center' : null"
4
+ :class="hasHeader ? 'grid grid-cols-1 sm:grid-cols-2 items-center' : null"
5
5
  >
6
6
  <ALink
7
7
  :href="href"
8
- class="[&_img]:rounded-lg"
9
- :class="hasHeader ? 'basis-1/2 grow-0 md:order-last' : '[&_img]:w-full'"
8
+ :class="hasHeader
9
+ ? 'sm:order-last [&_img]:max-w-full sm:[&_img]:max-w-none'
10
+ + ' [&_img]:aspect-video sm:[&_img]:aspect-[2.5] [&_img]:object-cover'
11
+ : '[&_img]:max-w-full'"
10
12
  >
11
13
  <slot name="picture" />
12
14
  </ALink>
13
15
  <div
14
16
  v-if="hasHeader"
15
- class="basis-1/2 grow-0 p-12 xl:ps-32 mb-3 md:mb-0"
17
+ class="p-12 xl:ps-32 mb-3 sm:mb-0"
16
18
  >
17
19
  <Component
18
20
  v-if="parsedTitle"
@@ -0,0 +1,44 @@
1
+ ---
2
+ import {
3
+ type Props as UseBreadcrumbsProps,
4
+ useBreadcrumbs,
5
+ } from '@@sf/composables/use-breadcrumbs';
6
+
7
+ export interface Props extends UseBreadcrumbsProps {}
8
+
9
+ const { breadcrumbs, inlineJSONLd } = await useBreadcrumbs(Astro.props);
10
+ ---
11
+
12
+ {breadcrumbs.length > 0 &&
13
+ <section class="ui-section-slim">
14
+ <nav aria-label="Breadcrumb" class="w-full overflow-hidden text-lg md:text-sm">
15
+ <ol class="flex items-center gap-1 text-base-600">
16
+ <li>
17
+ <a href="/" class="hover:text-primary">
18
+ <span class="sr-only"> Home </span>
19
+ <i class="i-home"></i>
20
+ </a>
21
+ </li>
22
+ {breadcrumbs.map(({ name, link }, i) =>
23
+ <>
24
+ {i + 1 < breadcrumbs.length
25
+ ? <li class="text-base-300">
26
+ <i class="i-chevron-right"></i>
27
+ </li>
28
+ <li class="whitespace-nowrap">
29
+ <a href={link} class="hover:text-primary">{name}</a>
30
+ </li>
31
+ : <li class="hidden lg:block text-base-300">
32
+ <i class="i-chevron-right"></i>
33
+ </li>
34
+ <li class="hidden lg:block whitespace-nowrap overflow-hidden text-ellipsis">
35
+ <span class="text-base-500">{name}</span>
36
+ </li>
37
+ }
38
+ </>
39
+ )}
40
+ </ol>
41
+ </nav>
42
+ {inlineJSONLd && <script type="application/ld+json" set:html={inlineJSONLd} />}
43
+ </section>
44
+ }
@@ -48,7 +48,7 @@
48
48
  @click.prevent="emit('close')"
49
49
  class="ui-link text-base-500 hover:text-base-700 text-sm"
50
50
  >
51
- <i class="i-arrow-left mr-1"></i>
51
+ <i class="i-arrow-left-line mr-1"></i>
52
52
  {{ $t.i19continueShopping }}
53
53
  </a>
54
54
  </footer>
@@ -1,5 +1,10 @@
1
1
  <template>
2
- <iframe id="ytplayer" width="700" class="lozad shrink-0 max-w-full aspect-video"
3
- data-src="https://www.youtube.com/embed/u_TLiNHvrLo?autoplay=0"
4
- frameborder="0" />
2
+ <iframe
3
+ loading="lazy"
4
+ id="ytplayer"
5
+ width="700"
6
+ class="shrink-0 max-w-full aspect-video"
7
+ src="https://www.youtube.com/embed/u_TLiNHvrLo?autoplay=0"
8
+ frameborder="0"
9
+ />
5
10
  </template>
@@ -0,0 +1,30 @@
1
+ ---
2
+ import type {
3
+ Products,
4
+ Categories,
5
+ Brands,
6
+ Collections,
7
+ } from '@cloudcommerce/api/types';
8
+ import { i19description } from '@@i18n';
9
+ import ContentClearfix from '@@sf/components/ContentClearfix.astro';
10
+
11
+ export interface Props {
12
+ apiDoc: Partial<Products | Categories | Brands | Collections>;
13
+ title?: string;
14
+ }
15
+
16
+ const { apiDoc, title } = Astro.props;
17
+ const html = apiDoc.body_html || apiDoc.body_text;
18
+ ---
19
+
20
+ {html &&
21
+ <section class="ui-section">
22
+ <p class="text-2xl font-medium lowercase text-base-700">
23
+ <a href="#description" id="description">
24
+ <i class="i-link text-base-400 mr-1"></i>
25
+ {title || i19description}
26
+ </a>
27
+ </p>
28
+ <ContentClearfix html={html} />
29
+ </section>
30
+ }
@@ -43,7 +43,7 @@
43
43
  </TabList>
44
44
  <TabPanels class="text-left w-72 mx-auto sm:w-auto sm:px-5 mt-4
45
45
  md:min-h-[870px] lg:min-h-[880px] xl:min-h-[915px]">
46
- <TabPanel v-motion-fade-visible>
46
+ <TabPanel v-motion-fade>
47
47
  <div class="prose mb-8">
48
48
  <h4 class="text-2xl xl:text-3xl leading-snug mb-5">
49
49
  Conecte instantaneamente
@@ -153,7 +153,7 @@
153
153
  </a>
154
154
  </div>
155
155
  </TabPanel>
156
- <TabPanel v-motion-fade-visible>
156
+ <TabPanel v-motion-fade>
157
157
  <slot name="picture-edit" />
158
158
  <div class="flex flex-wrap md:flex-nowrap gap-x-10">
159
159
  <div class="md:basis-1/2 prose">
@@ -1,17 +1,20 @@
1
1
  <script lang="ts" setup>
2
2
  import { ref, onMounted } from 'vue';
3
- import lottie from 'lottie-web';
4
3
 
5
4
  const container = ref(null);
6
- onMounted(() => {
7
- lottie.loadAnimation({
8
- container: container.value as any as Element,
9
- renderer: 'svg',
10
- loop: true,
11
- autoplay: true,
12
- path: '/assets/lotties/phone-nfc.json',
5
+ if (!import.meta.env.SSR) {
6
+ onMounted(() => {
7
+ import('lottie-web/build/player/lottie_light').then(({ default: lottie }) => {
8
+ lottie.loadAnimation({
9
+ container: container.value as any as Element,
10
+ renderer: 'svg',
11
+ loop: true,
12
+ autoplay: true,
13
+ path: '/assets/lotties/phone-nfc.json',
14
+ });
15
+ })
13
16
  });
14
- });
17
+ }
15
18
  </script>
16
19
 
17
20
  <template>
@@ -186,7 +186,14 @@ const logoAdditionalPrice = monocardWithLogo
186
186
  </form>
187
187
  </div>
188
188
  <div class="basis-1/2 order-1">
189
- <div class="card mt-2 mb-5" :class="cardAnimationClass">
189
+ <div
190
+ class="card mt-2 mb-5"
191
+ :class="cardAnimationClass"
192
+ :style="{
193
+ '--background-color': cardBgColor,
194
+ '--color': cardTextColor,
195
+ }"
196
+ >
190
197
  <div class="card__front card__part">
191
198
  <div class="card__front-square card__square">
192
199
  <div class="text-5xl i-qr-code-line"></div>
@@ -253,107 +260,3 @@ const logoAdditionalPrice = monocardWithLogo
253
260
  </article>
254
261
  </div>
255
262
  </template>
256
-
257
- <style scoped>
258
- .card {
259
- --background-color: v-bind('cardBgColor');
260
- --color: v-bind('cardTextColor');
261
- color: var(--color);
262
- width: 320px;
263
- height: 190px;
264
- -webkit-perspective: 600px;
265
- -moz-perspective: 600px;
266
- perspective:600px;
267
- }
268
- .card__part {
269
- box-shadow: 1px 1px #aaa3a3;
270
- top: 0;
271
- position: absolute;
272
- z-index: 1000;
273
- left: 0;
274
- display: inline-block;
275
- width: 320px;
276
- height: 190px;
277
- background: var(--background-color);
278
- border-radius: 8px;
279
- -webkit-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
280
- -moz-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
281
- -ms-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
282
- -o-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
283
- transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
284
- transform-style: preserve-3d;
285
- -webkit-transform-style: preserve-3d;
286
- -moz-transform-style: preserve-3d;
287
- backface-visibility: hidden;
288
- -webkit-backface-visibility: hidden;
289
- -moz-backface-visibility: hidden;
290
- }
291
- .card__front {
292
- padding: 18px;
293
- transform: rotateY(0);
294
- -webkit-transform: rotateY(0);
295
- -moz-transform: rotateY(0);
296
- }
297
- .card__back {
298
- display: flex;
299
- align-items: center;
300
- justify-content: space-around;
301
- transform: rotateY(-180deg);
302
- -webkit-transform: rotateY(-180deg);
303
- -moz-transform: rotateY(-180deg);
304
- }
305
- .card__back img {
306
- max-width: 256px;
307
- max-height: 154px;
308
- }
309
- .card__logo {
310
- height: 16px;
311
- }
312
- .card__front-logo{
313
- position: absolute;
314
- top: 18px;
315
- right: 18px;
316
- }
317
- .card__square {
318
- border-radius: 5px;
319
- height: 30px;
320
- }
321
- .card__space-75 {
322
- margin-top: 100px;
323
- width: 75%;
324
- float: left;
325
- }
326
- .card__space-25 {
327
- margin-top: 30px;
328
- width: 25%;
329
- float: right;
330
- text-align: right;
331
- }
332
- .card__label {
333
- font-size: 10px;
334
- text-transform: uppercase;
335
- color: rgba(255,255,255,0.8);
336
- letter-spacing: 1px;
337
- }
338
- .card__info {
339
- margin-bottom: 0;
340
- margin-top: 5px;
341
- font-size: 16px;
342
- line-height: 18px;
343
- color: var(--color);
344
- letter-spacing: 1px;
345
- text-transform: uppercase;
346
- }
347
- .card:not(.card--no-back):hover .card__front,
348
- .card--show-back .card__front {
349
- transform: rotateY(180deg);
350
- -webkit-transform: rotateY(180deg);
351
- -moz-transform: rotateY(180deg);
352
- }
353
- .card:not(.card--no-back):hover .card__back,
354
- .card--show-back .card__back {
355
- transform: rotateY(0deg);
356
- -webkit-transform: rotateY(0deg);
357
- -moz-transform: rotateY(0deg);
358
- }
359
- </style>
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <div
3
- class="text-base-600"
3
+ class="text-base-600
4
+ [&>div]:[font-size:90%] [&_small]:[font-size:92%] [&_small]:lowercase"
4
5
  :class="isBig ? 'text-lg' : null"
5
- data-prices
6
6
  >
7
- <span v-if="comparePrice" class="text-base-500 mr-1">
7
+ <span v-if="comparePrice" class="text-base-500 mr-1 text-[87%]">
8
8
  <small v-if="isLiteral">
9
9
  {{ `${$t.i19from} ` }}
10
10
  </small>
@@ -26,7 +26,7 @@
26
26
  <div v-if="cashbackValue && hasCashback" class="relative z-10">
27
27
  <span :data-tooltip="$t.i19get$1back
28
28
  .replace('$1', $percentage(cashbackPercentage))">
29
- <i class="i-cashback mr-1"></i>
29
+ <i class="i-arrow-go-back-fill mr-1"></i>
30
30
  <span class="font-medium">
31
31
  {{ $money(cashbackValue) }}
32
32
  </span>
@@ -45,7 +45,7 @@
45
45
  </small>
46
46
  <span>{{ $money(installmentValue) }}</span>
47
47
  <small v-if="!monthlyInterest && isLiteral">
48
- {{ $t.i19interestFree }}
48
+ {{ ` ${$t.i19interestFree}` }}
49
49
  </small>
50
50
  </div>
51
51
  </Fade>
@@ -64,16 +64,12 @@
64
64
  </template>
65
65
 
66
66
  <script setup lang="ts">
67
- import type { Products, ListPaymentsResponse } from '@cloudcommerce/types';
68
- import usePrices from '@@sf/composables/use-prices';
67
+ import {
68
+ type Props as UsePricesProps,
69
+ usePrices,
70
+ } from '@@sf/composables/use-prices';
69
71
 
70
- export interface Props {
71
- product?: Partial<Products> & { price: number, final_price?: number };
72
- price?: number;
73
- basePrice?: number;
74
- isAmountTotal?: boolean;
75
- installmentsOption?: ListPaymentsResponse['installments_option'];
76
- discountOption?: ListPaymentsResponse['discount_option'];
72
+ export interface Props extends UsePricesProps {
77
73
  isBig?: boolean;
78
74
  isLiteral?: boolean;
79
75
  hasCashback?: boolean;
@@ -97,16 +93,3 @@ const {
97
93
  discountLabel,
98
94
  } = usePrices(props);
99
95
  </script>
100
-
101
- <style>
102
- [data-prices] > span {
103
- font-size: 87%;
104
- }
105
- [data-prices] > div {
106
- font-size: 90%;
107
- }
108
- [data-prices] small {
109
- @apply lowercase;
110
- font-size: 92%;
111
- }
112
- </style>
@@ -47,7 +47,7 @@
47
47
  group-hover:backdrop-blur-md bg-white/40 z-10">
48
48
  <component
49
49
  :is="headingTag"
50
- class="ui-link uppercase font-bold text-sm no-underline line-clamp-2"
50
+ class="ui-link no-underline line-clamp-2"
51
51
  :class="[
52
52
  isActive ? 'text-base-700' : 'text-base-500',
53
53
  link ? 'group-hover:underline group-hover:text-primary' : null,