cloudcommerce 0.6.7 → 0.6.9
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/renovate.json +1 -1
- package/CHANGELOG.md +18 -0
- package/ecomplus-stores/monocard/.devcontainer/devcontainer.json +3 -0
- package/ecomplus-stores/monocard/.github/workflows/build-and-deploy.yml +4 -9
- package/ecomplus-stores/monocard/.vscode/launch.json +11 -0
- package/ecomplus-stores/monocard/functions/core/package.json +1 -1
- package/ecomplus-stores/monocard/functions/events/package.json +2 -2
- package/ecomplus-stores/monocard/functions/modules/package.json +2 -2
- package/ecomplus-stores/monocard/functions/passport/package.json +2 -2
- package/ecomplus-stores/monocard/functions/ssr/content/header.json +16 -28
- package/ecomplus-stores/monocard/functions/ssr/content/settings.json +39 -2
- package/ecomplus-stores/monocard/functions/ssr/package.json +14 -18
- package/ecomplus-stores/monocard/functions/ssr/public/assets/lotties/img_1.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/assets/lotties/phone-nfc.json +1 -1
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo-arcelor-mittal.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo-azul.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo-banco-pan.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo-brinks.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo-mastercard.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo-pfizer.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo-prudential.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo-unimed.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo.webp +0 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/AccountMenu.vue +104 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/CasesGrid.astro +49 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/LottiePhoneNFC.vue +1 -1
- package/ecomplus-stores/monocard/functions/ssr/src/components/MonocardCustomizer.vue +8 -8
- package/ecomplus-stores/monocard/functions/ssr/src/components/MotionFade.vue +17 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/PitchBar.vue +61 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/Prices.vue +112 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/SearchModal.vue +6 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeader.vue +97 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopHeaderMenu.vue +92 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopSidenav.vue +65 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/ShopSidenavCategory.vue +78 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/header/HeaderButtons.vue +1 -21
- package/ecomplus-stores/monocard/functions/ssr/src/components/header/HeaderNav.vue +1 -1
- package/ecomplus-stores/monocard/functions/ssr/src/env.d.ts +2 -1
- package/ecomplus-stores/monocard/functions/ssr/src/layouts/Base.astro +11 -20
- package/ecomplus-stores/monocard/functions/ssr/src/layouts/Pages.astro +15 -2
- package/ecomplus-stores/monocard/functions/ssr/src/main/Home.astro +53 -32
- package/ecomplus-stores/monocard/functions/ssr/src/pages/[...slug].astro +2 -2
- package/ecomplus-stores/monocard/functions/ssr/src/pages/_vue.ts +8 -1
- package/ecomplus-stores/monocard/functions/ssr/src/pages/comprar/index.astro +0 -2
- package/ecomplus-stores/monocard/functions/ssr/src/pages/fallback.astro +4 -2
- package/ecomplus-stores/monocard/functions/ssr/src/pages/index.astro +1 -1
- package/ecomplus-stores/monocard/functions/ssr/tailwind.config.cjs +29 -1
- package/ecomplus-stores/monocard/functions/ssr/tsconfig.json +0 -4
- package/ecomplus-stores/monocard/functions/ssr/uno.config.cjs +2 -1
- package/ecomplus-stores/monocard/package.json +1 -1
- package/ecomplus-stores/monocard/scripts/install.sh +1 -0
- package/ecomplus-stores/tia-sonia/functions/ssr/package.json +0 -8
- package/package.json +9 -9
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +2 -2
- package/packages/apps/custom-payment/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/datafrete/package.json +2 -2
- 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/frenet/package.json +2 -2
- package/packages/apps/galaxpay/package.json +2 -2
- package/packages/apps/google-analytics/package.json +2 -2
- package/packages/apps/infinitepay/package.json +2 -2
- package/packages/apps/jadlog/package.json +2 -2
- package/packages/apps/loyalty-points/package.json +1 -1
- package/packages/apps/melhor-envio/package.json +2 -2
- package/packages/apps/mercadopago/package.json +2 -2
- package/packages/apps/pagarme/package.json +2 -2
- package/packages/apps/paghiper/package.json +2 -2
- package/packages/apps/pix/package.json +2 -2
- package/packages/apps/tiny-erp/package.json +2 -2
- package/packages/apps/webhooks/package.json +2 -2
- package/packages/cli/package.json +2 -2
- package/packages/config/package.json +1 -1
- package/packages/emails/package.json +2 -2
- package/packages/events/package.json +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +3 -3
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +6 -6
- package/packages/storefront/dist/client/_astro/PitchBar.db7cd775.js +1 -0
- package/packages/storefront/dist/client/_astro/{Prices.7368883b.js → Prices.55399c72.js} +1 -1
- package/packages/storefront/dist/client/_astro/{ProductCard.b9f8f3e7.js → ProductCard.7e891c08.js} +1 -1
- package/packages/storefront/dist/client/_astro/ShopHeader.301e109b.js +4 -0
- package/packages/storefront/dist/client/_astro/_...slug_.0607a6ef.css +1 -0
- package/packages/storefront/dist/client/_astro/{_plugin-vue_export-helper.3dfd3410.js → _plugin-vue_export-helper.77ed7c18.js} +1 -1
- package/packages/storefront/dist/client/_astro/client.0de2f274.js +1 -0
- package/packages/storefront/dist/client/_astro/{format-money.e75b6ce1.js → format-money.ab6b71eb.js} +1 -1
- package/packages/storefront/dist/client/_astro/index.16f33784.js +1 -0
- package/packages/storefront/dist/client/_astro/{modules-info.6e650119.js → modules-info.06ac0727.js} +1 -1
- package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.d2f39f33.js +1 -0
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/client/workbox-e0d788d4.js +1 -0
- package/packages/storefront/dist/server/chunks/{astro.a9f695c0.mjs → astro.2e59789d.mjs} +7 -18
- package/packages/storefront/dist/server/chunks/pages/{all.571056bd.mjs → all.726ca7f4.mjs} +19 -14
- package/packages/storefront/dist/server/entry.mjs +10 -16
- package/packages/storefront/package.json +10 -10
- package/packages/storefront/src/lib/assets/base.css +5 -0
- package/packages/storefront/src/lib/pages/_vue.ts +6 -2
- package/packages/storefront/src/lib/ssr/Picture.astro +13 -4
- package/packages/storefront/src/lib/ssr-context.ts +1 -1
- package/packages/storefront/src/vue-globals.d.ts +2 -0
- package/packages/types/index.ts +1 -0
- package/packages/types/package.json +1 -1
- package/pnpm-workspace.yaml +3 -3
- package/ecomplus-stores/monocard/functions/ssr/content/contacts.json +0 -13
- package/ecomplus-stores/monocard/functions/ssr/content/info.json +0 -18
- package/ecomplus-stores/monocard/functions/ssr/public/img/uploads/logo.png +0 -0
- package/ecomplus-stores/monocard/functions/ssr/src/components/HowItWorksAccordion.vue +0 -32
- package/ecomplus-stores/monocard/functions/ssr/src/components/TheHeader.vue +0 -42
- package/ecomplus-stores/monocard/functions/ssr/src/components/TopBar.vue +0 -10
- package/ecomplus-stores/monocard/functions/ssr/src/layouts/PagesHeader.astro +0 -51
- package/packages/storefront/dist/client/_astro/PitchBar.16431255.js +0 -1
- package/packages/storefront/dist/client/_astro/ShopHeader.7967a383.js +0 -4
- package/packages/storefront/dist/client/_astro/_...slug_.61014c4c.css +0 -1
- package/packages/storefront/dist/client/_astro/client.3ab4cffd.js +0 -1
- package/packages/storefront/dist/client/_astro/index.140ec818.js +0 -1
- package/packages/storefront/dist/client/_astro/runtime-dom.esm-bundler.b4764bdb.js +0 -1
- package/packages/storefront/dist/client/assets/icons/bootstrap-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/feather-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/font-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/line-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/tabler-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/workbox-e2ee76b5.js +0 -1
- /package/ecomplus-stores/monocard/functions/ssr/content/{social.json → metatags.json} +0 -0
- /package/ecomplus-stores/monocard/functions/ssr/src/{pages/monocard.astro → layouts/Checkout.astro} +0 -0
package/.github/renovate.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
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
|
+
### [0.6.9](https://github.com/ecomplus/cloud-commerce/compare/v0.6.8...v0.6.9) (2023-03-01)
|
|
6
|
+
|
|
7
|
+
### [0.6.8](https://github.com/ecomplus/cloud-commerce/compare/v0.6.7...v0.6.8) (2023-03-01)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **storefront:** Add `$settings` and `$context` to Vue app global properties ([5b0c49d](https://github.com/ecomplus/cloud-commerce/commit/5b0c49dbcbf5733722ef9579537617467c119680))
|
|
13
|
+
* **types:** Add optional `metafields?: Record<string, string>` to CMS settings type ([b73231a](https://github.com/ecomplus/cloud-commerce/commit/b73231a13291e0d80824b7b65722b38e8f8527d8))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **deps:** Update `@vite-pwa/astro` and `vitest` ([#126](https://github.com/ecomplus/cloud-commerce/issues/126)) ([25b4b8d](https://github.com/ecomplus/cloud-commerce/commit/25b4b8daaf8df3472810f0ed7ca7f41f12596d04))
|
|
19
|
+
* **deps:** Update all non-major dependencies ([47c18d0](https://github.com/ecomplus/cloud-commerce/commit/47c18d0ae02f248b82f106752b86d1c068c04128))
|
|
20
|
+
* **storefront:** Fix typedef for `loadPageContext` with Astro v2.0.16 ([b45affb](https://github.com/ecomplus/cloud-commerce/commit/b45affb18ea20b1f56664b3f4dbd212a18c853e0))
|
|
21
|
+
* **storefront:** Set <img> height/width on Astro <Picture> with local image ([596846d](https://github.com/ecomplus/cloud-commerce/commit/596846d85c9232efda7bdc79c6336fa47ccce0f5))
|
|
22
|
+
|
|
5
23
|
### [0.6.7](https://github.com/ecomplus/cloud-commerce/compare/v0.6.6...v0.6.7) (2023-02-26)
|
|
6
24
|
|
|
7
25
|
|
|
@@ -6,10 +6,6 @@ on:
|
|
|
6
6
|
- main
|
|
7
7
|
paths:
|
|
8
8
|
- 'functions/**'
|
|
9
|
-
- 'public/**'
|
|
10
|
-
- 'src/**'
|
|
11
|
-
- 'content/**'
|
|
12
|
-
- 'template/**'
|
|
13
9
|
- 'package-lock.json'
|
|
14
10
|
- '.firebaserc'
|
|
15
11
|
- '.ecomplus/**'
|
|
@@ -17,11 +13,8 @@ on:
|
|
|
17
13
|
- '.github/workflows/build-and-deploy.yml'
|
|
18
14
|
pull_request:
|
|
19
15
|
paths:
|
|
20
|
-
- 'functions/**'
|
|
21
|
-
- '
|
|
22
|
-
- 'src/**'
|
|
23
|
-
- 'content/**'
|
|
24
|
-
- 'template/**'
|
|
16
|
+
- 'functions/ssr/**'
|
|
17
|
+
- '.firebaserc'
|
|
25
18
|
- 'package-lock.json'
|
|
26
19
|
|
|
27
20
|
jobs:
|
|
@@ -32,6 +25,8 @@ jobs:
|
|
|
32
25
|
!contains(github.event.head_commit.message, '[skip ci]')
|
|
33
26
|
steps:
|
|
34
27
|
- uses: actions/checkout@v3
|
|
28
|
+
with:
|
|
29
|
+
fetch-depth: 0
|
|
35
30
|
- uses: ecomplus/cloud-commerce@main
|
|
36
31
|
with:
|
|
37
32
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -1,35 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"text": "Aproveite nossos descontos de até 50%!",
|
|
4
|
-
"link": "/promotion"
|
|
5
|
-
},
|
|
6
|
-
"contacts_stripe": {
|
|
7
|
-
"pages": [
|
|
8
|
-
{
|
|
9
|
-
"title": "Sobre nós",
|
|
10
|
-
"link": "/pages/sobre-nos"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"title": "Esta loja é um PWA",
|
|
14
|
-
"link": "/posts/esta-loja-e-um-pwa"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"phone_wpp": true,
|
|
18
|
-
"socials": true
|
|
19
|
-
},
|
|
20
|
-
"drawer_links": [
|
|
2
|
+
"pitch_bar": [
|
|
21
3
|
{
|
|
22
|
-
"
|
|
23
|
-
"
|
|
4
|
+
"href": "",
|
|
5
|
+
"html": "<b>Frete grátis</b> para todo Brasil"
|
|
24
6
|
}
|
|
25
7
|
],
|
|
26
|
-
"
|
|
8
|
+
"inline_menu_categories": {
|
|
27
9
|
"featured": [],
|
|
28
|
-
"random":
|
|
29
|
-
"full_width": false
|
|
10
|
+
"random": 7
|
|
30
11
|
},
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
12
|
+
"alphabetical_sort_submenu": false,
|
|
13
|
+
"service_links": [
|
|
14
|
+
{
|
|
15
|
+
"title": "Edite seu Monocard",
|
|
16
|
+
"href": "https://mono.direct/login"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"title": "Fale conosco",
|
|
20
|
+
"href": "https://ajuda.monocard.com.br/"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
35
23
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"domain": "ecom2-monocard.web.app",
|
|
3
3
|
"name": "Monocard",
|
|
4
4
|
"description": "Monocard - O seu último cartão de visitas",
|
|
5
|
-
"logo": "/img/uploads/logo.
|
|
5
|
+
"logo": "/img/uploads/logo.webp",
|
|
6
6
|
"icon": "/img/icon.png",
|
|
7
7
|
"primary_color": "#92F7B6",
|
|
8
8
|
"email": "",
|
|
@@ -13,5 +13,42 @@
|
|
|
13
13
|
"lang": "pt_br",
|
|
14
14
|
"currency": "BRL",
|
|
15
15
|
"currency_symbol": "R$",
|
|
16
|
-
"country_code": "BR"
|
|
16
|
+
"country_code": "BR",
|
|
17
|
+
"whatsapp": "(31) 9 8272-1558",
|
|
18
|
+
"instagram": "https://www.instagram.com/ecomclub/",
|
|
19
|
+
"facebook": "https://www.facebook.com/ecom.clubpage/",
|
|
20
|
+
"twitter": "",
|
|
21
|
+
"youtube": "https://www.youtube.com/channel/UCBlIxK5JAub0E1EX_qHdzmA",
|
|
22
|
+
"tiktok": "",
|
|
23
|
+
"pinterest": "",
|
|
24
|
+
"metafields": {
|
|
25
|
+
"support_url": "https://ajuda.monocard.com.br/",
|
|
26
|
+
"business_lp_url": "https://empresas.monocard.com.br/",
|
|
27
|
+
"monocard_slug": "/cartao-personalizado",
|
|
28
|
+
"monodot_slug": "/monodot"
|
|
29
|
+
},
|
|
30
|
+
"modules": {
|
|
31
|
+
"list_payments": {
|
|
32
|
+
"installments_option": {
|
|
33
|
+
"max_number": null,
|
|
34
|
+
"monthly_interest": null,
|
|
35
|
+
"min_installment": null
|
|
36
|
+
},
|
|
37
|
+
"discount_option": {
|
|
38
|
+
"label": null,
|
|
39
|
+
"apply_at": null,
|
|
40
|
+
"type": null,
|
|
41
|
+
"value": null
|
|
42
|
+
},
|
|
43
|
+
"loyalty_points_program": {
|
|
44
|
+
"id": null,
|
|
45
|
+
"name": null,
|
|
46
|
+
"ratio": null,
|
|
47
|
+
"earn_percentage": null
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"calculate_shipping": {
|
|
51
|
+
"free_shipping_from_value": 50
|
|
52
|
+
}
|
|
53
|
+
}
|
|
17
54
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"dev": "astro dev",
|
|
6
|
+
"dev": "astro dev --host",
|
|
7
7
|
"build": "astro build",
|
|
8
8
|
"build:static": "BUILD_OUTPUT=static astro build",
|
|
9
9
|
"serve": "firebase emulators:start --only functions",
|
|
@@ -17,25 +17,21 @@
|
|
|
17
17
|
},
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@
|
|
21
|
-
"@
|
|
22
|
-
"@cloudcommerce/
|
|
20
|
+
"@astrojs/image": "^0.15.1",
|
|
21
|
+
"@astrojs/node": "^5.0.4",
|
|
22
|
+
"@cloudcommerce/api": "^0.6.7",
|
|
23
|
+
"@cloudcommerce/firebase": "^0.6.7",
|
|
24
|
+
"@cloudcommerce/ssr": "^0.6.7",
|
|
25
|
+
"@vueuse/motion": "2.0.0-beta.22"
|
|
23
26
|
},
|
|
24
27
|
"devDependencies": {
|
|
25
|
-
"@cloudcommerce/i18n": "^0.
|
|
26
|
-
"@cloudcommerce/storefront": "^0.
|
|
27
|
-
"@cloudcommerce/types": "^0.
|
|
28
|
-
"@
|
|
29
|
-
"@iconify-json/
|
|
30
|
-
"
|
|
28
|
+
"@cloudcommerce/i18n": "^0.6.7",
|
|
29
|
+
"@cloudcommerce/storefront": "^0.6.7",
|
|
30
|
+
"@cloudcommerce/types": "^0.6.7",
|
|
31
|
+
"@fontsource/inter": "^4.5.15",
|
|
32
|
+
"@iconify-json/ri": "^1.1.5",
|
|
33
|
+
"@iconify-json/wpf": "^1.1.4",
|
|
34
|
+
"lottie-web": "^5.10.2",
|
|
31
35
|
"lozad": "^1.16.0"
|
|
32
|
-
},
|
|
33
|
-
"pnpm": {
|
|
34
|
-
"peerDependencyRules": {
|
|
35
|
-
"ignoreMissing": [
|
|
36
|
-
"astro",
|
|
37
|
-
"@babel/core"
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
36
|
}
|
|
41
37
|
}
|