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.
- package/.github/workflows/test-apps.yml +2 -2
- package/.gitmodules +0 -3
- package/.vscode/settings.json +3 -1
- package/CHANGELOG.md +50 -0
- package/action.yml +2 -2
- package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
- package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
- package/ecomplus-stores/barra-doce/functions/ssr/src/components/ShopHeader.vue +4 -1
- package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
- package/ecomplus-stores/barra-doce/package.json +2 -2
- package/ecomplus-stores/barra-doce/scripts/install.sh +12 -2
- package/ecomplus-stores/monocard/.firebaserc +1 -1
- package/ecomplus-stores/monocard/.github/build-and-deploy +1 -0
- package/ecomplus-stores/monocard/.github/workflows/build-and-deploy.yml +1 -0
- package/ecomplus-stores/monocard/README.md +11 -82
- package/ecomplus-stores/{iluminim → monocard}/SETUP.md +12 -0
- package/ecomplus-stores/{iluminim → monocard}/SETUP.pt-BR.md +12 -0
- package/ecomplus-stores/monocard/functions/config.json +1 -1
- package/ecomplus-stores/monocard/functions/{core → many}/package.json +4 -2
- package/ecomplus-stores/monocard/functions/ssr/.eslintrc.cjs +1 -1
- package/ecomplus-stores/monocard/functions/ssr/content/layout.json +25 -10
- package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/pages/home.json +12 -19
- package/ecomplus-stores/monocard/functions/ssr/content/pages/products.json +19 -0
- package/ecomplus-stores/monocard/functions/ssr/content/settings.json +22 -2
- package/ecomplus-stores/monocard/functions/ssr/package.json +8 -9
- package/ecomplus-stores/monocard/functions/ssr/src/assets/card.css +99 -0
- package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/assets/style.css +16 -7
- package/ecomplus-stores/monocard/functions/ssr/src/components/AccountMenu.vue +5 -14
- package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/Banner.vue +6 -4
- package/ecomplus-stores/monocard/functions/ssr/src/components/Breadcrumbs.astro +44 -0
- package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/CartSidebar.vue +1 -1
- package/ecomplus-stores/monocard/functions/ssr/src/components/DemoVideo.vue +8 -3
- package/ecomplus-stores/monocard/functions/ssr/src/components/DocDescription.astro +30 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/FeatureTabs.vue +2 -2
- package/ecomplus-stores/monocard/functions/ssr/src/components/LottiePhoneNFC.vue +12 -9
- package/ecomplus-stores/monocard/functions/ssr/src/components/MonocardCustomizer.vue +8 -105
- package/ecomplus-stores/monocard/functions/ssr/src/components/Prices.vue +10 -27
- package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/ProductCard.vue +1 -1
- package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/ShopFooter.vue +9 -35
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeader.vue +85 -32
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeaderMenu.vue +1 -1
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopSidenav.vue +3 -3
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopSidenavCategory.vue +2 -2
- package/ecomplus-stores/monocard/functions/ssr/src/env.d.ts +9 -1
- package/ecomplus-stores/monocard/functions/ssr/src/layouts/Base.astro +9 -44
- package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/layouts/PageFooter.astro +3 -19
- package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/layouts/PageHeader.astro +7 -14
- package/ecomplus-stores/monocard/functions/ssr/src/main/Fallback.astro +0 -5
- package/ecomplus-stores/monocard/functions/ssr/src/main/Home.astro +6 -12
- package/ecomplus-stores/monocard/functions/ssr/src/main/Sections.astro +38 -0
- package/ecomplus-stores/monocard/functions/ssr/src/main/Wildcard.astro +4 -18
- package/ecomplus-stores/monocard/functions/ssr/src/pages/[...slug].astro +15 -9
- package/ecomplus-stores/monocard/functions/ssr/src/pages/comprar/index.astro +19 -9
- package/ecomplus-stores/monocard/functions/ssr/src/pages/index.astro +16 -10
- package/ecomplus-stores/monocard/functions/ssr/src/scripts/InlineScripts.astro +6 -6
- package/ecomplus-stores/monocard/functions/ssr/tailwind.config.cjs +1 -11
- package/ecomplus-stores/monocard/functions/{events → with-apps}/package.json +4 -3
- package/ecomplus-stores/monocard/package.json +4 -1
- package/ecomplus-stores/monocard/scripts/install.sh +12 -2
- package/ecomplus-stores/tia-sonia/scripts/install.sh +12 -2
- package/package.json +7 -7
- package/packages/api/package.json +1 -1
- package/packages/apps/affilate-program/package.json +2 -2
- package/packages/apps/correios/package.json +3 -4
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +3 -3
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +2 -2
- package/packages/apps/fb-conversions/package.json +3 -3
- package/packages/apps/flash-courier/package.json +2 -2
- package/packages/apps/frenet/package.json +3 -3
- package/packages/apps/galaxpay/package.json +3 -3
- package/packages/apps/google-analytics/package.json +3 -3
- package/packages/apps/jadlog/package.json +2 -2
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/melhor-envio/package.json +3 -3
- package/packages/apps/mercadopago/package.json +3 -3
- package/packages/apps/pagarme/package.json +4 -4
- package/packages/apps/paghiper/package.json +3 -3
- package/packages/apps/pix/package.json +3 -3
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +22 -0
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js +2 -2
- package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js +7 -1
- 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 +14 -5
- package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js +9 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js +8 -6
- package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js +118 -38
- package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js +8 -0
- package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/package.json +3 -3
- package/packages/apps/tiny-erp/src/integration/export-order-to-tiny.ts +24 -0
- package/packages/apps/tiny-erp/src/integration/helpers/format-tiny-date.ts +2 -2
- package/packages/apps/tiny-erp/src/integration/import-order-from-tiny.ts +8 -1
- package/packages/apps/tiny-erp/src/integration/import-product-from-tiny.ts +17 -5
- package/packages/apps/tiny-erp/src/integration/parsers/order-from-tiny.ts +13 -1
- package/packages/apps/tiny-erp/src/integration/parsers/order-to-tiny.ts +11 -6
- package/packages/apps/tiny-erp/src/integration/parsers/product-from-tiny.ts +144 -41
- package/packages/apps/tiny-erp/src/integration/parsers/product-to-tiny.ts +10 -0
- package/packages/apps/webhooks/package.json +3 -3
- package/packages/cli/package.json +2 -2
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +4 -4
- package/packages/eslint/base.eslintrc.cjs +3 -0
- package/packages/eslint/package.json +5 -4
- package/packages/eslint/storefront.eslintrc.cjs +8 -1
- package/packages/events/package.json +2 -2
- package/packages/feeds/package.json +1 -1
- package/packages/firebase/package.json +3 -3
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +3 -3
- package/packages/passport/package.json +2 -2
- package/packages/ssr/lib/firebase/serve-storefront.js +23 -8
- package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -1
- package/packages/ssr/package.json +3 -3
- package/packages/ssr/src/firebase/serve-storefront.ts +24 -8
- package/packages/storefront/.auto-imports.d.ts +65 -0
- package/packages/storefront/astro.config.mjs +24 -1
- package/packages/storefront/client.d.ts +1 -0
- package/packages/storefront/config/astro/context-directive.mjs +21 -0
- package/packages/storefront/config/astro/index.d.ts +8 -0
- package/packages/storefront/config/storefront.tailwind.cjs +0 -1
- package/packages/storefront/dist/client/_astro/{Carousel.9ad2e1dc.js → Carousel.4bf71bce.js} +1 -1
- package/packages/storefront/dist/client/_astro/{CartSidebar.a6c6a885.js → CartSidebar.05b12b39.js} +1 -1
- package/packages/storefront/dist/client/_astro/{HeroSlider.ee1e6200.js → HeroSlider.fe108a14.js} +1 -1
- package/packages/storefront/dist/client/_astro/{PitchBar.6111676e.js → PitchBar.2c821b77.js} +1 -1
- package/packages/storefront/dist/client/_astro/{Prices.04ff8fce.js → Prices.78eb0a61.js} +1 -1
- package/packages/storefront/dist/client/_astro/{ProductShelf.085721d6.js → ProductShelf.46d8a51c.js} +1 -1
- package/packages/storefront/dist/client/_astro/ShopHeader.3694a82b.js +4 -0
- package/packages/storefront/dist/client/_astro/_...slug_.a4a7a874.css +1 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_CDmhA.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_Z27EX9f.png +0 -0
- package/packages/storefront/dist/client/_astro/ecom-icon_Zo1CLq.png +0 -0
- package/packages/storefront/dist/client/_astro/{firebase-app.8c541cce.js → firebase-app.3f59f3c7.js} +3 -3
- package/packages/storefront/dist/client/_astro/headphone_1Ekzdh.avif +0 -0
- package/packages/storefront/dist/client/_astro/headphone_Z1GbHcH.webp +0 -0
- package/packages/storefront/dist/client/_astro/{hoisted.85fdcf03.js → hoisted.648beb9d.js} +1 -1
- package/packages/storefront/dist/client/_astro/index.fadf28bd.js +1 -0
- package/packages/storefront/dist/client/_astro/logo_144owC.webp +0 -0
- package/packages/storefront/dist/client/_astro/logo_1ug3XF.png +0 -0
- package/packages/storefront/dist/client/_astro/logo_Z1EIN1I.avif +0 -0
- package/packages/storefront/dist/client/_astro/{modules-info.e5d77bf3.js → modules-info.df822732.js} +1 -1
- package/packages/storefront/dist/client/_astro/passion_1LvKlp.webp +0 -0
- package/packages/storefront/dist/client/_astro/passion_2PSWs.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1A8K2Q.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1ND0he.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_1mIaKd.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_LhopI.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z1NFjiR.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z2a06Gx.png +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_Z2nulUU.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_ZH7hsH.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect8589_ZorpIx.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_1CcLjM.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_1IVKep.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_1zkdb4.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_299fN7.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_CnIof.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_Z1OtQaE.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect859_flB3g.png +0 -0
- package/packages/storefront/dist/client/_astro/rect859_rsWaw.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect859_sLbkT.webp +0 -0
- package/packages/storefront/dist/client/_astro/rect89_1yf5jS.avif +0 -0
- package/packages/storefront/dist/client/_astro/rect89_GQBli.webp +0 -0
- package/packages/storefront/dist/client/~fallback.html +67 -0
- package/packages/storefront/dist/client/~index.html +113 -0
- package/packages/storefront/dist/server/chunks/{CartSidebar.41b20543.mjs → CartSidebar.4179ad81.mjs} +4 -12
- package/packages/storefront/dist/server/chunks/{SearchModal.5f5e6a15.mjs → SearchModal.146ce2f7.mjs} +4 -11
- package/packages/storefront/dist/server/chunks/_...05c626ea.mjs +28 -0
- package/packages/storefront/dist/server/chunks/{account@_@astro.204fba92.mjs → account@_@astro.5eaddaf8.mjs} +2 -9
- package/packages/storefront/dist/server/chunks/{index@_@astro.19e0f502.mjs → index@_@astro.25a343cc.mjs} +3 -10
- package/packages/storefront/dist/server/chunks/{index@_@astro.b37a6ac9.mjs → index@_@astro.2d2f2e33.mjs} +3 -10
- package/packages/storefront/dist/server/chunks/pages/{_...slug_.astro.36e8882b.mjs → _...slug_.astro.0808946e.mjs} +1836 -450
- package/packages/storefront/dist/server/chunks/pages/index.astro.d4145872.mjs +186 -0
- package/packages/storefront/dist/server/chunks/pages/{~fallback.astro.ba4c2475.mjs → ~fallback.astro.84d4765b.mjs} +6 -23
- package/packages/storefront/dist/server/chunks/{~fallback@_@astro.6bb4c4b4.mjs → ~fallback@_@astro.86d710c3.mjs} +3 -10
- package/packages/storefront/dist/server/entry.mjs +7 -14
- package/packages/storefront/dist/server/images.dist.csv +30 -0
- package/packages/storefront/dist/server/images.src.csv +11 -0
- package/packages/storefront/dist/server/renderers.mjs +2 -9
- package/packages/storefront/dist/server/static-builds.csv +51 -0
- package/packages/storefront/package.json +6 -5
- package/packages/storefront/scripts/build-prod.sh +3 -2
- package/packages/storefront/server.d.ts +1 -0
- package/packages/storefront/src/lib/$storefront.d.ts +8 -8
- package/packages/storefront/src/lib/assets/base.css +13 -0
- package/packages/storefront/src/lib/assets/reset.css +11 -2
- package/packages/storefront/src/lib/components/Carousel.vue +93 -72
- package/packages/storefront/src/lib/components/CarouselControl.vue +13 -7
- package/packages/storefront/src/lib/components/ContentClearfix.vue +17 -0
- package/packages/storefront/src/lib/components/Drawer.vue +3 -3
- package/packages/storefront/src/lib/components/PaymentMethodFlag.vue +1 -1
- package/packages/storefront/src/lib/components/QuantitySelector.vue +4 -4
- package/packages/storefront/src/lib/components/QuantitySelectorControl.vue +2 -2
- package/packages/storefront/src/lib/components/ViewTransitions.astro +409 -0
- package/packages/storefront/src/lib/components/globals/AImg.vue +2 -1
- package/packages/storefront/src/lib/layouts/BaseBody.astro +1 -1
- package/packages/storefront/src/lib/layouts/BaseHead.astro +28 -5
- package/packages/storefront/src/lib/layouts/use-page-header.ts +2 -2
- package/packages/test-base/package.json +1 -1
- package/packages/types/package.json +1 -1
- package/pnpm-workspace.yaml +2 -0
- package/ecomplus-stores/iluminim/.devcontainer/devcontainer.json +0 -30
- package/ecomplus-stores/iluminim/.editorconfig +0 -13
- package/ecomplus-stores/iluminim/.eslintrc.cjs +0 -3
- package/ecomplus-stores/iluminim/.firebaserc +0 -5
- package/ecomplus-stores/iluminim/.github/renovate.json +0 -5
- package/ecomplus-stores/iluminim/.github/workflows/build-and-deploy.yml +0 -36
- package/ecomplus-stores/iluminim/.github/workflows/calibreapp-image-actions.yml +0 -23
- package/ecomplus-stores/iluminim/.gitpod.yml +0 -12
- package/ecomplus-stores/iluminim/.idx/dev.nix +0 -24
- package/ecomplus-stores/iluminim/.nvmrc +0 -1
- package/ecomplus-stores/iluminim/.vscode/extensions.json +0 -8
- package/ecomplus-stores/iluminim/.vscode/launch.json +0 -11
- package/ecomplus-stores/iluminim/.vscode/settings.json +0 -10
- package/ecomplus-stores/iluminim/README.md +0 -31
- package/ecomplus-stores/iluminim/functions/config.json +0 -3
- package/ecomplus-stores/iluminim/functions/example.env +0 -10
- package/ecomplus-stores/iluminim/functions/many/package.json +0 -22
- package/ecomplus-stores/iluminim/functions/ssr/.eslintrc.cjs +0 -6
- package/ecomplus-stores/iluminim/functions/ssr/astro.config.mjs +0 -4
- package/ecomplus-stores/iluminim/functions/ssr/content/layout.json +0 -57
- package/ecomplus-stores/iluminim/functions/ssr/content/settings.json +0 -65
- package/ecomplus-stores/iluminim/functions/ssr/index.js +0 -18
- package/ecomplus-stores/iluminim/functions/ssr/package.json +0 -31
- package/ecomplus-stores/iluminim/functions/ssr/public/admin/.gitkeep +0 -2
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/cms-preview.css +0 -274
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/cms.css +0 -114
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/cvv.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/img-placeholder.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/payments.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/assets/ssl-safe.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/icon.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/large-icon.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/banner-chamada-desktop-9x81zmd91q.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/banner2.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/chamada-mobile-q1c6om6jx4.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/headphone.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/logo.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/og-image.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/passion.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect8589.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect859.png +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/img/uploads/rect89.webp +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/public/robots.txt +0 -6
- package/ecomplus-stores/iluminim/functions/ssr/scripts/build.sh +0 -14
- package/ecomplus-stores/iluminim/functions/ssr/src/components/AccountMenu.vue +0 -95
- package/ecomplus-stores/iluminim/functions/ssr/src/components/Countdown.vue +0 -79
- package/ecomplus-stores/iluminim/functions/ssr/src/components/HeroSlider.vue +0 -52
- package/ecomplus-stores/iluminim/functions/ssr/src/components/PitchBar.vue +0 -56
- package/ecomplus-stores/iluminim/functions/ssr/src/components/Prices.vue +0 -95
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ProductsCountdown.vue +0 -20
- package/ecomplus-stores/iluminim/functions/ssr/src/components/SearchModal.vue +0 -6
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeader.vue +0 -158
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeaderMenu.vue +0 -58
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopHeaderSubmenu.vue +0 -88
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopSidenav.vue +0 -61
- package/ecomplus-stores/iluminim/functions/ssr/src/components/ShopSidenavCategory.vue +0 -80
- package/ecomplus-stores/iluminim/functions/ssr/src/env.d.ts +0 -13
- package/ecomplus-stores/iluminim/functions/ssr/src/layouts/Base.astro +0 -16
- package/ecomplus-stores/iluminim/functions/ssr/src/main/Fallback.astro +0 -10
- package/ecomplus-stores/iluminim/functions/ssr/src/main/Home.astro +0 -49
- package/ecomplus-stores/iluminim/functions/ssr/src/main/Sections.astro +0 -42
- package/ecomplus-stores/iluminim/functions/ssr/src/main/Wildcard.astro +0 -18
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/[...slug].astro +0 -40
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/_vue.ts +0 -3
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/app/account.astro +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/app/index.astro +0 -0
- package/ecomplus-stores/iluminim/functions/ssr/src/pages/index.astro +0 -37
- package/ecomplus-stores/iluminim/functions/ssr/src/scripts/InlineScripts.astro +0 -10
- package/ecomplus-stores/iluminim/functions/ssr/tailwind.config.cjs +0 -13
- package/ecomplus-stores/iluminim/functions/ssr/tsconfig.json +0 -12
- package/ecomplus-stores/iluminim/functions/ssr/uno.config.cjs +0 -5
- package/ecomplus-stores/iluminim/functions/with-apps/package.json +0 -22
- package/ecomplus-stores/iluminim/package.json +0 -31
- package/ecomplus-stores/iluminim/scripts/install.sh +0 -14
- package/ecomplus-stores/monocard/README.pt-BR.md +0 -102
- package/ecomplus-stores/monocard/functions/core/index.js +0 -9
- package/ecomplus-stores/monocard/functions/events/index.js +0 -9
- package/ecomplus-stores/monocard/functions/modules/index.js +0 -9
- package/ecomplus-stores/monocard/functions/modules/package.json +0 -21
- package/ecomplus-stores/monocard/functions/passport/index.js +0 -9
- package/ecomplus-stores/monocard/functions/passport/package.json +0 -21
- package/ecomplus-stores/monocard/functions/ssr/content/blog.json +0 -18
- package/ecomplus-stores/monocard/functions/ssr/content/brands.json +0 -24
- package/ecomplus-stores/monocard/functions/ssr/content/categories.json +0 -24
- package/ecomplus-stores/monocard/functions/ssr/content/collections.json +0 -24
- package/ecomplus-stores/monocard/functions/ssr/content/home.json +0 -45
- package/ecomplus-stores/monocard/functions/ssr/content/maintenance.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/pages/contato.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/pages/entrega.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/pages/faq.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/pages/pagamentos.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/pages/privacidade.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/pages/sobre-nos.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/pages/termos.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/pages/trocas.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/posts/esta-loja-e-um-pwa.json +0 -9
- package/ecomplus-stores/monocard/functions/ssr/content/products.json +0 -32
- package/ecomplus-stores/monocard/functions/ssr/content/search.json +0 -8
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/analytics.json +0 -11
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/compre-confie.json +0 -11
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/ebit.json +0 -11
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/fb-pixel.json +0 -12
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/gmc-ratings.json +0 -12
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/minicart.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/offers-notification.json +0 -11
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/opinioes-verificadas.json +0 -18
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/product-card.json +0 -10
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/product.json +0 -13
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/search-engine.json +0 -8
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/search.json +0 -6
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/tag-manager.json +0 -12
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/tawkto.json +0 -12
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/trustvox.json +0 -15
- package/ecomplus-stores/monocard/functions/ssr/content/widgets/user.json +0 -5
- package/ecomplus-stores/monocard/functions/ssr/public/admin/config.json +0 -1
- package/ecomplus-stores/monocard/functions/ssr/public/assets/cms-preview.css +0 -274
- package/ecomplus-stores/monocard/functions/ssr/public/assets/cms.css +0 -114
- package/ecomplus-stores/monocard/functions/ssr/public/assets/cvv.png +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/assets/fonts/FavoritPro-Regular.woff2 +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/assets/fonts/MyriadPro-Regular.woff2 +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/assets/ssl-safe.png +0 -0
- package/ecomplus-stores/monocard/functions/ssr/src/layouts/Pages.astro +0 -50
- package/ecomplus-stores/monocard/functions/ssr/src/pages/fallback.astro +0 -21
- package/packages/storefront/dist/client/_astro/ShopHeader.7e485e35.js +0 -4
- package/packages/storefront/dist/client/_astro/_...slug_.b693913e.css +0 -1
- package/packages/storefront/dist/client/_astro/index.ea57babe.js +0 -1
- package/packages/storefront/dist/server/chunks/_...4a2548d2.mjs +0 -35
- package/packages/storefront/dist/server/chunks/endpoint@_@js.11be892a.mjs +0 -35
- package/packages/storefront/dist/server/chunks/pages/endpoint.js.f7a896a1.mjs +0 -119
- package/packages/storefront/dist/server/chunks/pages/index.astro.3145bd93.mjs +0 -1649
- package/packages/storefront/src/lib/components/ContentClearfix.astro +0 -12
- /package/ecomplus-stores/{iluminim → monocard}/functions/many/index.js +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/blog/.gitkeep +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/extra-pages/contato.json +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/extra-pages/terms.json +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/content/extra-pages/trocas.json +0 -0
- /package/ecomplus-stores/{iluminim/functions/ssr/src/layouts/Checkout.astro → monocard/functions/ssr/public/admin/.gitkeep} +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/public/img/uploads/ecom-icon.png +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/BannersGrid.astro +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/CartItem.vue +0 -0
- /package/ecomplus-stores/monocard/functions/ssr/src/components/{FeatureTabs.astro → FeaturesSection.astro} +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/components/ProductShelf.vue +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/ssr/src/pages/~fallback.astro +0 -0
- /package/ecomplus-stores/{iluminim → monocard}/functions/with-apps/index.js +0 -0
|
@@ -11,14 +11,19 @@ import {
|
|
|
11
11
|
nextTick,
|
|
12
12
|
provide,
|
|
13
13
|
} from 'vue';
|
|
14
|
-
import {
|
|
14
|
+
import {
|
|
15
|
+
useDebounceFn,
|
|
16
|
+
useElementHover,
|
|
17
|
+
useScroll,
|
|
18
|
+
} from '@vueuse/core';
|
|
15
19
|
import CarouselControl from '@@sf/components/CarouselControl.vue';
|
|
16
20
|
|
|
17
21
|
export type CarouselInject = {
|
|
18
22
|
autoplay: Ref<number | undefined>,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
axis: 'x' | 'y',
|
|
24
|
+
changeSlide: (step: number, isPageScroll?: boolean) => void,
|
|
25
|
+
isBoundStart: Ref<boolean>,
|
|
26
|
+
isBoundEnd: Ref<boolean>,
|
|
22
27
|
};
|
|
23
28
|
|
|
24
29
|
export const carouselKey = Symbol('carousel') as InjectionKey<CarouselInject>;
|
|
@@ -28,78 +33,82 @@ export const carouselKey = Symbol('carousel') as InjectionKey<CarouselInject>;
|
|
|
28
33
|
/* REFERENCE: https://github.com/bartdominiak/vue-snap */
|
|
29
34
|
export interface Props {
|
|
30
35
|
as?: string;
|
|
31
|
-
|
|
36
|
+
index?: number;
|
|
32
37
|
autoplay?: number; // milliseconds
|
|
38
|
+
axis?: 'x' | 'y';
|
|
39
|
+
hasControls?: boolean
|
|
33
40
|
}
|
|
34
41
|
|
|
35
42
|
const props = withDefaults(defineProps<Props>(), {
|
|
36
43
|
as: 'ul',
|
|
37
|
-
|
|
44
|
+
index: 0,
|
|
45
|
+
axis: 'x',
|
|
38
46
|
});
|
|
39
|
-
const emit = defineEmits([
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
47
|
+
const emit = defineEmits(['update:index']);
|
|
48
|
+
const activeIndex = ref(0);
|
|
49
|
+
watch(toRef(props, 'index'), (index) => {
|
|
50
|
+
if (index !== activeIndex.value) {
|
|
51
|
+
const step = index - activeIndex.value;
|
|
52
|
+
changeSlide(step, false);
|
|
53
|
+
}
|
|
45
54
|
}, { immediate: true });
|
|
46
|
-
watch(
|
|
55
|
+
watch(activeIndex, (current, previous) => {
|
|
47
56
|
if (current !== previous) {
|
|
48
|
-
emit('update:
|
|
57
|
+
emit('update:index', current);
|
|
49
58
|
}
|
|
50
59
|
});
|
|
51
60
|
const wrapper = ref<HTMLElement | null>(null);
|
|
52
|
-
const {
|
|
53
|
-
const
|
|
54
|
-
const
|
|
55
|
-
const
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
const
|
|
59
|
-
const
|
|
61
|
+
const { [props.axis]: currentPos, isScrolling, arrivedState } = useScroll(wrapper);
|
|
62
|
+
const isX = props.axis === 'x';
|
|
63
|
+
const isBoundStart = computed(() => (isX ? arrivedState.left : arrivedState.top));
|
|
64
|
+
const isBoundEnd = computed(() => (isX ? arrivedState.right : arrivedState.bottom));
|
|
65
|
+
const slideSizes = ref<{ offset: number; size: number; }[]>([]);
|
|
66
|
+
const wrapperScrollSize = ref(0);
|
|
67
|
+
const wrapperVisibleSize = ref(0);
|
|
68
|
+
const calcWrapperSize = () => {
|
|
60
69
|
if (!wrapper.value) return;
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
if (isX) {
|
|
71
|
+
wrapperScrollSize.value = wrapper.value.scrollWidth;
|
|
72
|
+
wrapperVisibleSize.value = wrapper.value.offsetWidth;
|
|
73
|
+
} else {
|
|
74
|
+
wrapperScrollSize.value = wrapper.value.scrollHeight;
|
|
75
|
+
wrapperVisibleSize.value = wrapper.value.offsetHeight;
|
|
76
|
+
}
|
|
63
77
|
};
|
|
64
|
-
const
|
|
78
|
+
const calcSlidesSize = () => {
|
|
65
79
|
if (!wrapper.value) return;
|
|
66
80
|
let childNodes = [...wrapper.value.children] as HTMLElement[];
|
|
67
81
|
if (childNodes.length === 1 && childNodes[0].tagName.endsWith('SLOT')) {
|
|
68
82
|
childNodes = [...childNodes[0].children] as HTMLElement[];
|
|
69
83
|
}
|
|
70
|
-
|
|
71
|
-
offsetLeft: node.
|
|
72
|
-
|
|
84
|
+
slideSizes.value = childNodes.map((node) => ({
|
|
85
|
+
offset: isX ? node.offsetLeft : node.offsetTop,
|
|
86
|
+
size: isX ? node.offsetWidth : node.offsetHeight,
|
|
73
87
|
}));
|
|
74
88
|
};
|
|
75
|
-
const
|
|
76
|
-
let nextSlideIndex =
|
|
77
|
-
if (nextSlideIndex >=
|
|
89
|
+
const calcNextOffset = (step: number) => {
|
|
90
|
+
let nextSlideIndex = activeIndex.value + step;
|
|
91
|
+
if (nextSlideIndex >= slideSizes.value.length) {
|
|
78
92
|
return 0;
|
|
79
93
|
}
|
|
80
94
|
if (nextSlideIndex < 0) {
|
|
81
|
-
nextSlideIndex =
|
|
95
|
+
nextSlideIndex = slideSizes.value.length + nextSlideIndex;
|
|
82
96
|
}
|
|
83
|
-
const {
|
|
84
|
-
if (!
|
|
97
|
+
const { offset, size } = slideSizes.value[nextSlideIndex] || {};
|
|
98
|
+
if (!size) {
|
|
85
99
|
return 0;
|
|
86
100
|
}
|
|
87
|
-
return
|
|
101
|
+
return offset;
|
|
88
102
|
};
|
|
89
103
|
const calcCurrentIndex = () => {
|
|
90
|
-
const
|
|
104
|
+
const index = slideSizes.value.findIndex((slide) => {
|
|
91
105
|
// Find the closest point, with 5px approximate.
|
|
92
|
-
return Math.abs(slide.
|
|
106
|
+
return Math.abs(slide.offset - currentPos.value) <= 5;
|
|
93
107
|
});
|
|
94
|
-
if (
|
|
95
|
-
|
|
108
|
+
if (index > -1) {
|
|
109
|
+
activeIndex.value = index || 0;
|
|
96
110
|
}
|
|
97
111
|
};
|
|
98
|
-
const calcIndexCount = () => {
|
|
99
|
-
const maxPos = wrapperScrollWidth.value - wrapperVisibleWidth.value;
|
|
100
|
-
indexCount.value = slidesWidth.value
|
|
101
|
-
.findIndex(({ offsetLeft }) => (offsetLeft >= maxPos - 5));
|
|
102
|
-
};
|
|
103
112
|
let autoplayTimer: ReturnType<typeof setTimeout> | undefined;
|
|
104
113
|
const restartAutoplay = () => {
|
|
105
114
|
if (props.autoplay) {
|
|
@@ -110,29 +119,32 @@ const restartAutoplay = () => {
|
|
|
110
119
|
}, props.autoplay);
|
|
111
120
|
}
|
|
112
121
|
};
|
|
113
|
-
const changeSlide = (
|
|
114
|
-
if (
|
|
122
|
+
const changeSlide = (step: number, isPageScroll: boolean = true) => {
|
|
123
|
+
if (slideSizes.value.length < 2) {
|
|
115
124
|
return;
|
|
116
125
|
}
|
|
117
|
-
if (isPageScroll && (
|
|
126
|
+
if (isPageScroll && (step === 1 || step === -1)) {
|
|
118
127
|
let pageStep = 0;
|
|
119
|
-
let
|
|
120
|
-
for (let i =
|
|
121
|
-
const {
|
|
122
|
-
if (
|
|
128
|
+
let pageStepSize = 0;
|
|
129
|
+
for (let i = activeIndex.value; i < slideSizes.value.length; i++) {
|
|
130
|
+
const { size } = slideSizes.value[i] || {};
|
|
131
|
+
if (size) {
|
|
123
132
|
pageStep += 1;
|
|
124
|
-
|
|
125
|
-
if (
|
|
133
|
+
pageStepSize += size;
|
|
134
|
+
if (pageStepSize >= wrapperVisibleSize.value) {
|
|
126
135
|
break;
|
|
127
136
|
}
|
|
128
137
|
}
|
|
129
138
|
}
|
|
130
139
|
if (pageStep) {
|
|
131
|
-
|
|
140
|
+
step = step > 0 ? pageStep : -pageStep;
|
|
132
141
|
}
|
|
133
142
|
}
|
|
134
|
-
const
|
|
135
|
-
wrapper.value?.scrollTo({
|
|
143
|
+
const nextOffset = calcNextOffset(step);
|
|
144
|
+
wrapper.value?.scrollTo({
|
|
145
|
+
[isX ? 'left' : 'top']: nextOffset,
|
|
146
|
+
behavior: 'smooth',
|
|
147
|
+
});
|
|
136
148
|
restartAutoplay();
|
|
137
149
|
};
|
|
138
150
|
watch(isScrolling, (_isScrolling: boolean) => {
|
|
@@ -156,14 +168,17 @@ const calcOnInit = () => {
|
|
|
156
168
|
if (!wrapper.value) {
|
|
157
169
|
return;
|
|
158
170
|
}
|
|
159
|
-
|
|
160
|
-
|
|
171
|
+
calcWrapperSize();
|
|
172
|
+
calcSlidesSize();
|
|
161
173
|
calcCurrentIndex();
|
|
162
|
-
calcIndexCount();
|
|
163
174
|
};
|
|
164
175
|
const onResize = useDebounceFn(() => {
|
|
165
176
|
if (!wrapper.value) return;
|
|
166
|
-
|
|
177
|
+
if (isX) {
|
|
178
|
+
wrapper.value.scrollLeft = 0;
|
|
179
|
+
} else {
|
|
180
|
+
wrapper.value.scrollTop = 0;
|
|
181
|
+
}
|
|
167
182
|
calcOnInit();
|
|
168
183
|
}, 400);
|
|
169
184
|
onMounted(() => {
|
|
@@ -187,20 +202,27 @@ onBeforeUnmount(() => {
|
|
|
187
202
|
});
|
|
188
203
|
provide(carouselKey, {
|
|
189
204
|
autoplay: toRef(props, 'autoplay'),
|
|
205
|
+
axis: props.axis,
|
|
190
206
|
changeSlide,
|
|
191
|
-
|
|
192
|
-
|
|
207
|
+
isBoundStart,
|
|
208
|
+
isBoundEnd,
|
|
193
209
|
});
|
|
194
210
|
</script>
|
|
195
211
|
|
|
196
212
|
<template>
|
|
197
|
-
<div
|
|
213
|
+
<div
|
|
214
|
+
ref="carousel"
|
|
215
|
+
:class="`relative ${(!isX ? 'overflow-hidden' : '')}`"
|
|
216
|
+
data-carousel
|
|
217
|
+
>
|
|
198
218
|
<component
|
|
199
219
|
:is="as"
|
|
200
220
|
ref="wrapper"
|
|
201
|
-
class="flex
|
|
202
|
-
|
|
203
|
-
|
|
221
|
+
class="m-0 flex snap-mandatory list-none scroll-smooth p-0
|
|
222
|
+
[&>*]:snap-start [&>*]:outline-none"
|
|
223
|
+
:class="isX
|
|
224
|
+
? 'snap-x overflow-y-hidden overflow-x-scroll'
|
|
225
|
+
: 'h-full flex-col snap-y overflow-x-hidden overflow-y-scroll'"
|
|
204
226
|
style="
|
|
205
227
|
scrollbar-width: none;
|
|
206
228
|
-webkit-overflow-scrolling: touch;
|
|
@@ -214,16 +236,15 @@ provide(carouselKey, {
|
|
|
214
236
|
name="controls"
|
|
215
237
|
v-bind="{
|
|
216
238
|
changeSlide,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
pageCount: indexCount + 1,
|
|
239
|
+
isBoundStart,
|
|
240
|
+
isBoundEnd,
|
|
241
|
+
activeIndex,
|
|
221
242
|
}"
|
|
222
243
|
>
|
|
223
|
-
<CarouselControl is-prev>
|
|
244
|
+
<CarouselControl v-if="slideSizes.length > 1 || hasControls" is-prev>
|
|
224
245
|
<slot name="previous" />
|
|
225
246
|
</CarouselControl>
|
|
226
|
-
<CarouselControl>
|
|
247
|
+
<CarouselControl v-if="slideSizes.length > 1 || hasControls">
|
|
227
248
|
<slot name="next" />
|
|
228
249
|
</CarouselControl>
|
|
229
250
|
</slot>
|
|
@@ -9,7 +9,8 @@ export interface Props {
|
|
|
9
9
|
withDefaults(defineProps<Props>(), {
|
|
10
10
|
isPrev: false,
|
|
11
11
|
});
|
|
12
|
-
const { changeSlide } = inject(carouselKey) as CarouselInject;
|
|
12
|
+
const { axis, changeSlide } = inject(carouselKey) as CarouselInject;
|
|
13
|
+
const isX = axis === 'x';
|
|
13
14
|
</script>
|
|
14
15
|
|
|
15
16
|
<template>
|
|
@@ -17,16 +18,21 @@ const { changeSlide } = inject(carouselKey) as CarouselInject;
|
|
|
17
18
|
type="button"
|
|
18
19
|
:aria-label="!isPrev ? $t.i19next : $t.i19previous"
|
|
19
20
|
@click="changeSlide(!isPrev ? 1 : -1)"
|
|
20
|
-
class="group absolute
|
|
21
|
-
:class="
|
|
21
|
+
class="z-1 group absolute"
|
|
22
|
+
:class="isX
|
|
23
|
+
? `${(!isPrev ? 'right-0' : 'left-0')} top-0`
|
|
24
|
+
: `${(!isPrev ? 'bottom-0' : 'top-0')} left-0`"
|
|
22
25
|
:data-carousel-control="!isPrev ? 'next' : 'previous'"
|
|
23
26
|
>
|
|
24
27
|
<slot>
|
|
25
28
|
<i
|
|
26
|
-
class="m-0"
|
|
27
|
-
:class="
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
class="i-chevron-right m-0"
|
|
30
|
+
:class="{
|
|
31
|
+
'group-active:translate-x-1': isX && !isPrev,
|
|
32
|
+
'rotate-180 group-active:-translate-x-1': isX && isPrev,
|
|
33
|
+
'rotate-90 group-active:translate-y-1': !isX && !isPrev,
|
|
34
|
+
'-rotate-90 group-active:-translate-y-1': !isX && isPrev,
|
|
35
|
+
}"
|
|
30
36
|
></i>
|
|
31
37
|
</slot>
|
|
32
38
|
</button>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
export interface Props {
|
|
3
|
+
html: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
const { html } = defineProps<Props>();
|
|
7
|
+
const parsedHTML = html.replace(/<(img|iframe) /g, '<$1 loading="lazy" ');
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<article class="prose !max-w-full overflow-x-auto lg:overflow-x-hidden" v-once>
|
|
12
|
+
<div
|
|
13
|
+
class="[&_iframe]:max-w-full [&_img]:max-w-full [&_table]:max-w-full"
|
|
14
|
+
v-html="parsedHTML"
|
|
15
|
+
></div>
|
|
16
|
+
</article>
|
|
17
|
+
</template>
|
|
@@ -74,10 +74,10 @@ const isPlacementX = computed(() => {
|
|
|
74
74
|
<dialog
|
|
75
75
|
v-if="modelValue"
|
|
76
76
|
ref="drawer"
|
|
77
|
-
class="w-screen
|
|
77
|
+
class="z-50 m-0 w-screen p-0 shadow"
|
|
78
78
|
:class="[
|
|
79
79
|
position,
|
|
80
|
-
isFixed ? `top-0 ${(isPlacementX ? 'h-screen' : '')}` : null,
|
|
80
|
+
isFixed ? `top-0 ${(isPlacementX ? 'h-screen' : 'max-h-screen')}` : null,
|
|
81
81
|
isFixed && placement !== 'end' ? 'left-0' : null,
|
|
82
82
|
isFixed && placement === 'end' ? 'left-auto right-0' : null,
|
|
83
83
|
isPlacementX ? 'max-w-sm' : null,
|
|
@@ -108,7 +108,7 @@ const isPlacementX = computed(() => {
|
|
|
108
108
|
<Fade>
|
|
109
109
|
<div
|
|
110
110
|
v-if="modelValue"
|
|
111
|
-
class="fixed
|
|
111
|
+
class="fixed left-0 top-0 z-40 h-screen w-screen bg-black/50"
|
|
112
112
|
data-drawer-backdrop
|
|
113
113
|
></div>
|
|
114
114
|
</Fade>
|
|
@@ -86,10 +86,10 @@ provide(quantitySelectorKey, {
|
|
|
86
86
|
:step="step"
|
|
87
87
|
:disabled="disabled"
|
|
88
88
|
:readonly="readonly"
|
|
89
|
-
class="h-12 w-14 px-2 text-
|
|
90
|
-
[-moz-appearance:_textfield] [&::-webkit-
|
|
91
|
-
[&::-webkit-
|
|
92
|
-
[&::-webkit-
|
|
89
|
+
class="h-12 w-14 border-transparent px-2 text-center text-lg
|
|
90
|
+
[-moz-appearance:_textfield] [&::-webkit-inner-spin-button]:m-0
|
|
91
|
+
[&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0
|
|
92
|
+
[&::-webkit-outer-spin-button]:appearance-none"
|
|
93
93
|
/>
|
|
94
94
|
<slot
|
|
95
95
|
name="controls"
|
|
@@ -20,8 +20,8 @@ const {
|
|
|
20
20
|
<template>
|
|
21
21
|
<button
|
|
22
22
|
type="button"
|
|
23
|
-
class="
|
|
24
|
-
|
|
23
|
+
class="leading-12 enabled:text-primary enabled:hover:bg-primary-100/70
|
|
24
|
+
h-12 w-10 text-xl disabled:opacity-40"
|
|
25
25
|
:data-quantity-selector-control="isMinus ? 'minus' : 'plus'"
|
|
26
26
|
:aria-label="isMinus ? $t.i19minus : $t.i19plus"
|
|
27
27
|
:disabled="isMinus ? isBoundMin : isBoundMax"
|