cloudcommerce 2.3.2 → 2.3.4
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/.gitmodules +3 -3
- package/CHANGELOG.md +12 -0
- package/ecomplus-stores/{barra-doce → barradoce}/functions/many/package.json +4 -4
- package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/package.json +9 -9
- package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/DocDescription.vue +1 -1
- package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/content/Hero.astro +2 -2
- package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/content/Sections.astro +13 -13
- package/ecomplus-stores/{barra-doce → barradoce}/functions/with-apps/package.json +4 -4
- package/ecomplus-stores/{barra-doce → barradoce}/package.json +5 -5
- package/ecomplus-stores/tia-sonia/package.json +1 -1
- package/package.json +2 -2
- package/packages/api/package.json +1 -1
- package/packages/api/types/brands.d.ts +0 -8
- package/packages/api/types/categories.d.ts +0 -8
- package/packages/api/types/collections.d.ts +0 -8
- package/packages/api/types/products.d.ts +0 -8
- package/packages/api/types/stores.d.ts +11 -0
- package/packages/apps/affiliate-program/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/emails/package.json +1 -1
- package/packages/apps/fb-conversions/package.json +1 -1
- package/packages/apps/flash-courier/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/galaxpay/package.json +1 -1
- package/packages/apps/google-analytics/package.json +1 -1
- package/packages/apps/jadlog/package.json +1 -1
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/mandae/package.json +1 -1
- package/packages/apps/melhor-envio/package.json +1 -1
- package/packages/apps/mercadopago/package.json +1 -1
- package/packages/apps/pagarme/package.json +1 -1
- package/packages/apps/pagarme-v5/package.json +1 -1
- package/packages/apps/paghiper/package.json +1 -1
- package/packages/apps/pix/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/apps/webhooks/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +1 -1
- package/packages/eslint/package.json +1 -1
- package/packages/eslint/storefront.eslintrc.cjs +1 -0
- package/packages/events/package.json +1 -1
- package/packages/feeds/package.json +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +2 -2
- package/packages/storefront/client.d.ts +3 -0
- package/packages/storefront/package.json +4 -3
- package/packages/storefront/src/decap-cms/gen-preview-container.ts +32 -0
- package/packages/storefront/src/decap-cms/get-cms-config.ts +59 -0
- package/packages/storefront/src/lib/components/ViewTransitions.astro +4 -1
- package/packages/storefront/src/lib/layouts/BaseHead.astro +5 -5
- package/packages/storefront/src/lib/scripts/decap-cms.ts +141 -0
- package/packages/test-base/package.json +1 -1
- package/packages/types/package.json +1 -1
- package/pnpm-workspace.yaml +2 -2
- package/packages/storefront/src/lib/scripts/git-cms-auth.ts +0 -3
- package/packages/storefront/src/lib/scripts/sso-ecom.ts +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.devcontainer/devcontainer.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.editorconfig +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.eslintrc.cjs +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.firebaserc +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.github/build-and-deploy +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.github/renovate.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.github/workflows/build-and-deploy.yml +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.github/workflows/calibreapp-image-actions.yml +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.gitpod.yml +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.husky/pre-commit +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.idx/dev.nix +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.nvmrc +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.vscode/extensions.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.vscode/launch.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/.vscode/settings.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/README.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/SETUP.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/SETUP.pt-BR.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/conf/firebase.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/config.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/example.env +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/many/index.js +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/.eslintrc.cjs +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/.staged.eslintrc.cjs +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/astro.config.mjs +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/3.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/4.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/5.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/dos.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/blog/uno.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/extra-pages/contato.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/extra-pages/terms.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/extra-pages/trocas.md +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/layout.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/brands.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/categories.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/collections.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/home.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/products.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/pages/search.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/content/settings.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/index.js +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/admin/.gitkeep +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/assets/.gitkeep +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/icon.png +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/large-icon.png +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/banner-forma-decora.jpg +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/ecom-icon.png +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/logo-barradoce.webp +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/img/uploads/og-image.png +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/public/robots.txt +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/scripts/build.sh +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/assets/style.css +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/AccountMenu.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/AccountPage.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Banner.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/BannersGrid.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/BlogPosts.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Breadcrumbs.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/CartItem.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/CartSidebar.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/CheckoutPage.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Collapse.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ContentEntry.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/DocBanners.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/FooterStamps.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/HeroSlider.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ImagesGallery.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/LoginForm.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/PageTitle.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Pagination.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/PitchBar.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/Prices.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductCard.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductDetails.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductShelf.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ProductSpecifications.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SearchFilters.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SearchModal.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SearchShowcase.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopFooter.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopHeader.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopHeaderMenu.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopHeaderSubmenu.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopSidenav.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/ShopSidenavCategory.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/SkuSelector.vue +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/env.d.ts +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/layouts/Base.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/layouts/PageFooter.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/layouts/PageHeader.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/Fallback.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/Main.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/[...slug].astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/_vue.ts +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/app/account.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/app/index.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/blog/[page].astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/blog/_blog-pages.ts +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/pages/~fallback.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/scripts/InlineScripts.astro +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/tailwind.config.cjs +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/tsconfig.json +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/uno.config.cjs +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/functions/with-apps/index.js +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/scripts/install.sh +0 -0
- /package/ecomplus-stores/{barra-doce → barradoce}/tailwind.config.cjs +0 -0
package/.gitmodules
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
[submodule "ecomplus-stores/tia-sonia"]
|
|
5
5
|
path = ecomplus-stores/tia-sonia
|
|
6
6
|
url = git@github.com:ecomplus-stores/tia-sonia.git
|
|
7
|
-
[submodule "ecomplus-stores/
|
|
8
|
-
path = ecomplus-stores/
|
|
9
|
-
url = git@github.com:
|
|
7
|
+
[submodule "ecomplus-stores/barradoce"]
|
|
8
|
+
path = ecomplus-stores/barradoce
|
|
9
|
+
url = git@github.com:barradoce/barradoce.git
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.3.4](https://github.com/ecomplus/cloud-commerce/compare/v2.3.3...v2.3.4) (2024-02-09)
|
|
6
|
+
|
|
7
|
+
### [2.3.3](https://github.com/ecomplus/cloud-commerce/compare/v2.3.2...v2.3.3) (2024-02-09)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **api:** Removing missused `body_text` field on catalog resources types ([1faaed7](https://github.com/ecomplus/cloud-commerce/commit/1faaed743aca7005098f1b242dd61e5c204ed455))
|
|
13
|
+
* **storefront:** Also disabling view transitions on /admin/ (CMS) route ([486d356](https://github.com/ecomplus/cloud-commerce/commit/486d356e2c3a9ff21f9a1cae67682684fe6f1d9c))
|
|
14
|
+
* **storefront:** Bump Astro to latest v4.3.5 ([91cd2a5](https://github.com/ecomplus/cloud-commerce/commit/91cd2a535ea08191114ae18bde3fee36d6c96f20))
|
|
15
|
+
* **storefront:** Properly set global `$storefront.getSession` and `$storefront.url` client side ([37bf33c](https://github.com/ecomplus/cloud-commerce/commit/37bf33cbe9eaf53155160e3d7311c58bea8f18bc))
|
|
16
|
+
|
|
5
17
|
### [2.3.2](https://github.com/ecomplus/cloud-commerce/compare/v2.3.1...v2.3.2) (2024-02-06)
|
|
6
18
|
|
|
7
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "barradoce-many",
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"main": "index.js",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@cloudcommerce/feeds": "^2.3.
|
|
19
|
-
"@cloudcommerce/firebase": "^2.3.
|
|
20
|
-
"@cloudcommerce/passport": "^2.3.
|
|
18
|
+
"@cloudcommerce/feeds": "^2.3.2",
|
|
19
|
+
"@cloudcommerce/firebase": "^2.3.2",
|
|
20
|
+
"@cloudcommerce/passport": "^2.3.2"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "barradoce-ssr",
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
},
|
|
19
19
|
"main": "index.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@cloudcommerce/api": "^2.3.
|
|
22
|
-
"@cloudcommerce/firebase": "^2.3.
|
|
23
|
-
"@cloudcommerce/ssr": "^2.3.
|
|
24
|
-
"@headlessui/vue": "^1.7.
|
|
21
|
+
"@cloudcommerce/api": "^2.3.2",
|
|
22
|
+
"@cloudcommerce/firebase": "^2.3.2",
|
|
23
|
+
"@cloudcommerce/ssr": "^2.3.2",
|
|
24
|
+
"@headlessui/vue": "^1.7.18"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@cloudcommerce/i18n": "^2.3.
|
|
28
|
-
"@cloudcommerce/storefront": "^2.3.
|
|
29
|
-
"@cloudcommerce/types": "^2.3.
|
|
30
|
-
"@iconify-json/mingcute": "^1.1.
|
|
27
|
+
"@cloudcommerce/i18n": "^2.3.2",
|
|
28
|
+
"@cloudcommerce/storefront": "^2.3.2",
|
|
29
|
+
"@cloudcommerce/types": "^2.3.2",
|
|
30
|
+
"@iconify-json/mingcute": "^1.1.16",
|
|
31
31
|
"photoswipe": "^5.4.3"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/components/DocDescription.vue
RENAMED
|
@@ -24,5 +24,5 @@ export interface Props {
|
|
|
24
24
|
const props = withDefaults(defineProps<Props>(), {
|
|
25
25
|
apiDoc: () => globalThis.$storefront.apiContext?.doc as Products,
|
|
26
26
|
});
|
|
27
|
-
const html = computed(() => props.apiDoc.body_html
|
|
27
|
+
const html = computed(() => props.apiDoc.body_html);
|
|
28
28
|
</script>
|
|
@@ -8,7 +8,7 @@ const { heroSlider } = await usePageHero({ routeContext });
|
|
|
8
8
|
const heroSlides = heroSlider.slides;
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
{heroSlider.slides.length > 0 &&
|
|
11
|
+
{heroSlider.slides.length > 0 && <>
|
|
12
12
|
<HeroSlider {...heroSlider} client:idle>
|
|
13
13
|
{heroSlides[0] && <BannerPictures
|
|
14
14
|
slot="picture-0" {...heroSlides[0]} index={0}
|
|
@@ -30,4 +30,4 @@ const heroSlides = heroSlider.slides;
|
|
|
30
30
|
widths={[856, 1024, 1536]} class="max-w-screen-sm sm:max-w-screen-lg" />}
|
|
31
31
|
<!-- https://github.com/withastro/astro/issues/5066#issuecomment-1277998365 -->
|
|
32
32
|
</HeroSlider>
|
|
33
|
-
}
|
|
33
|
+
</>}
|
package/ecomplus-stores/{barra-doce → barradoce}/functions/ssr/src/main/content/Sections.astro
RENAMED
|
@@ -31,18 +31,18 @@ cause route resource is required to define sections from content. */
|
|
|
31
31
|
case 'product-shelf':
|
|
32
32
|
return index === 0 || (index < 2 && !cmsContent?.hero?.slides.length)
|
|
33
33
|
? <ProductShelf {...props} client:idle />
|
|
34
|
-
: <ProductShelf {...props} client:visible
|
|
34
|
+
: <ProductShelf {...props} client:visible />;
|
|
35
35
|
case 'related-products':
|
|
36
36
|
props.isRelatedProducts = true;
|
|
37
|
-
return <ProductShelf {...props} client:visible
|
|
37
|
+
return <ProductShelf {...props} client:visible />;
|
|
38
38
|
case 'banners-grid':
|
|
39
|
-
return <BannersGrid {...props}
|
|
39
|
+
return <BannersGrid {...props} />;
|
|
40
40
|
case 'breadcrumbs':
|
|
41
|
-
return <Breadcrumbs
|
|
41
|
+
return <Breadcrumbs />;
|
|
42
42
|
case 'doc-description':
|
|
43
|
-
return <DocDescription
|
|
43
|
+
return <DocDescription />;
|
|
44
44
|
case 'doc-banners':
|
|
45
|
-
return <DocBanners
|
|
45
|
+
return <DocBanners />;
|
|
46
46
|
case 'product-details':
|
|
47
47
|
const { hasDescription, hasSpecifications, ...detailsProps } = props;
|
|
48
48
|
return <>
|
|
@@ -52,24 +52,24 @@ cause route resource is required to define sections from content. */
|
|
|
52
52
|
{hasSpecifications && <ProductSpecifications />}
|
|
53
53
|
</Fragment>
|
|
54
54
|
</ProductDetails>
|
|
55
|
-
|
|
55
|
+
</>;
|
|
56
56
|
case 'search-showcase':
|
|
57
57
|
case 'context-showcase':
|
|
58
58
|
return <>
|
|
59
59
|
<article class="min-h-[500px]">
|
|
60
60
|
<SearchShowcase {...props} client:context />
|
|
61
61
|
</article>
|
|
62
|
-
|
|
62
|
+
</>;
|
|
63
63
|
case 'page-title':
|
|
64
|
-
return <PageTitle {...props}
|
|
64
|
+
return <PageTitle {...props} />;
|
|
65
65
|
case 'content-entry':
|
|
66
|
-
return <ContentEntry {...props}
|
|
66
|
+
return <ContentEntry {...props} />;
|
|
67
67
|
case 'custom-html':
|
|
68
|
-
return <ContentClearfix html={props.html}
|
|
68
|
+
return <ContentClearfix html={props.html} />;
|
|
69
69
|
case 'c:foo':
|
|
70
|
-
return <div data-foo={props.foo}></div
|
|
70
|
+
return <div data-foo={props.foo}></div>;
|
|
71
71
|
default:
|
|
72
|
-
return <div data-section={type}></div
|
|
72
|
+
return <div data-section={type}></div>;
|
|
73
73
|
}
|
|
74
74
|
})}
|
|
75
75
|
</article>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "barradoce-with-apps",
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"main": "index.js",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@cloudcommerce/events": "^2.3.
|
|
19
|
-
"@cloudcommerce/firebase": "^2.3.
|
|
20
|
-
"@cloudcommerce/modules": "^2.3.
|
|
18
|
+
"@cloudcommerce/events": "^2.3.2",
|
|
19
|
+
"@cloudcommerce/firebase": "^2.3.2",
|
|
20
|
+
"@cloudcommerce/modules": "^2.3.2"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@ecomplus
|
|
2
|
+
"name": "@ecomplus/barradoce",
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce starter store",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"url": "https://github.com/ecomplus/cloud-commerce/issues"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@cloudcommerce/cli": "^2.3.
|
|
29
|
+
"@cloudcommerce/cli": "^2.3.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@cloudcommerce/eslint": "^2.3.
|
|
33
|
-
"husky": "^9.0.
|
|
34
|
-
"lint-staged": "^15.2.
|
|
32
|
+
"@cloudcommerce/eslint": "^2.3.2",
|
|
33
|
+
"husky": "^9.0.10",
|
|
34
|
+
"lint-staged": "^15.2.2"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcommerce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.4",
|
|
5
5
|
"description": "Open fair-code headless commerce platform: API-first, microservices based, event driven and cloud native",
|
|
6
6
|
"main": "packages/api/lib/index.js",
|
|
7
7
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"vite": "^5.0.11",
|
|
37
37
|
"vitest": "^1.2.2",
|
|
38
38
|
"zx": "^7.2.3",
|
|
39
|
-
"@cloudcommerce/eslint": "2.3.
|
|
39
|
+
"@cloudcommerce/eslint": "2.3.4"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"fix-install": "bash scripts/pre-install.sh && pnpm i",
|
|
@@ -47,10 +47,6 @@ export interface Brands {
|
|
|
47
47
|
* Full brand description, may use HTML tags
|
|
48
48
|
*/
|
|
49
49
|
body_html?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Full brand description, plain text only
|
|
52
|
-
*/
|
|
53
|
-
body_text?: string;
|
|
54
50
|
/**
|
|
55
51
|
* Title tag for page SEO
|
|
56
52
|
*/
|
|
@@ -82,10 +78,6 @@ export interface Brands {
|
|
|
82
78
|
* Full brand description, may use HTML tags
|
|
83
79
|
*/
|
|
84
80
|
body_html?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Full brand description, plain text only
|
|
87
|
-
*/
|
|
88
|
-
body_text?: string;
|
|
89
81
|
/**
|
|
90
82
|
* Title tag for page SEO
|
|
91
83
|
*/
|
|
@@ -47,10 +47,6 @@ export interface Categories {
|
|
|
47
47
|
* Full category description, may use HTML tags
|
|
48
48
|
*/
|
|
49
49
|
body_html?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Full category description, plain text only
|
|
52
|
-
*/
|
|
53
|
-
body_text?: string;
|
|
54
50
|
/**
|
|
55
51
|
* Title tag for page SEO
|
|
56
52
|
*/
|
|
@@ -82,10 +78,6 @@ export interface Categories {
|
|
|
82
78
|
* Full category description, may use HTML tags
|
|
83
79
|
*/
|
|
84
80
|
body_html?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Full category description, plain text only
|
|
87
|
-
*/
|
|
88
|
-
body_text?: string;
|
|
89
81
|
/**
|
|
90
82
|
* Title tag for page SEO
|
|
91
83
|
*/
|
|
@@ -41,10 +41,6 @@ export interface Collections {
|
|
|
41
41
|
* Full collection description, may use HTML tags
|
|
42
42
|
*/
|
|
43
43
|
body_html?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Full collection description, plain text only
|
|
46
|
-
*/
|
|
47
|
-
body_text?: string;
|
|
48
44
|
/**
|
|
49
45
|
* Title tag for page SEO
|
|
50
46
|
*/
|
|
@@ -76,10 +72,6 @@ export interface Collections {
|
|
|
76
72
|
* Full collection description, may use HTML tags
|
|
77
73
|
*/
|
|
78
74
|
body_html?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Full collection description, plain text only
|
|
81
|
-
*/
|
|
82
|
-
body_text?: string;
|
|
83
75
|
/**
|
|
84
76
|
* Title tag for page SEO
|
|
85
77
|
*/
|
|
@@ -71,10 +71,6 @@ export interface Products {
|
|
|
71
71
|
* Full product description, may use HTML tags
|
|
72
72
|
*/
|
|
73
73
|
body_html?: string;
|
|
74
|
-
/**
|
|
75
|
-
* Full product description, plain text only
|
|
76
|
-
*/
|
|
77
|
-
body_text?: string;
|
|
78
74
|
/**
|
|
79
75
|
* Title tag for page SEO
|
|
80
76
|
*/
|
|
@@ -106,10 +102,6 @@ export interface Products {
|
|
|
106
102
|
* Full product description, may use HTML tags
|
|
107
103
|
*/
|
|
108
104
|
body_html?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Full product description, plain text only
|
|
111
|
-
*/
|
|
112
|
-
body_text?: string;
|
|
113
105
|
/**
|
|
114
106
|
* Title tag for page SEO
|
|
115
107
|
*/
|
|
@@ -128,11 +128,22 @@ export interface Stores {
|
|
|
128
128
|
*/
|
|
129
129
|
contact_cellphone?: string;
|
|
130
130
|
/**
|
|
131
|
+
* Store sales channel list
|
|
132
|
+
*
|
|
131
133
|
* @maxItems 30
|
|
132
134
|
*/
|
|
133
135
|
sales_channels?: {
|
|
136
|
+
/**
|
|
137
|
+
* Sales channel unique identifier or domain name
|
|
138
|
+
*/
|
|
134
139
|
channel_id: string;
|
|
140
|
+
/**
|
|
141
|
+
* Sales channel type
|
|
142
|
+
*/
|
|
135
143
|
type?: 'ecommerce' | 'mobile' | 'pos' | 'button' | 'social' | 'chatbot' | 'live';
|
|
144
|
+
/**
|
|
145
|
+
* Sales channel title
|
|
146
|
+
*/
|
|
136
147
|
title?: string;
|
|
137
148
|
}[];
|
|
138
149
|
}
|