@ozdao/martyrs 0.2.508 → 0.2.509
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/dist/_virtual/index.cjs +4 -4
- package/dist/_virtual/index.js +4 -4
- package/dist/_virtual/index2.cjs +4 -4
- package/dist/_virtual/index2.js +4 -4
- package/dist/{main-AWSb_d2P.cjs → main-D89N_jml.cjs} +1 -1
- package/dist/{main-Dq-UfO4G.js → main-DSiCr7yl.js} +7 -8
- package/dist/martyrs/src/components/Chips/{Chips.vue2.cjs → Chips.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue2.js → Chips.vue.js} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.cjs → Dropdown.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js.map → Dropdown.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +4 -3
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +5 -4
- package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue.cjs → Menu.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue.js → Menu.vue2.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Select/{Select.vue.cjs → Select.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Select/Select.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Select/{Select.vue.js → Select.vue2.js} +2 -2
- package/dist/martyrs/src/components/Select/{Select.vue.cjs.map → Select.vue2.js.map} +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +17 -11
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +18 -12
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/globals.client.js +15 -15
- package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.cjs +121 -107
- package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.js +131 -117
- package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.cjs +3 -3
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +138 -136
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +137 -135
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +1 -1
- package/dist/martyrs/src/modules/music/router/music.cjs +1 -1
- package/dist/martyrs/src/modules/music/router/music.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +61 -9
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +61 -9
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.cjs +36 -38
- package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +36 -38
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs +7 -0
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.js +7 -0
- package/dist/martyrs/src/modules/orders/store/models/customer.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +17 -28
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +17 -28
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs +9 -1
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.js +9 -1
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +10 -5
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +10 -5
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +5 -2
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +5 -2
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/martyrs.cjs.js +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/orders.server.cjs +58 -0
- package/dist/orders.server.js +58 -0
- package/dist/products.server.cjs +11 -1
- package/dist/products.server.js +11 -1
- package/dist/style.css +30 -41
- package/dist/{web-DaBwwCQ5.cjs → web-XyQNm3cW.cjs} +1 -1
- package/dist/{web-BXajFCU2.js → web-gtBkwjra.js} +1 -1
- package/package.json +1 -1
- package/src/components/Feed/Carousel.vue +3 -1
- package/src/components/FieldBig/FieldBig.vue +2 -2
- package/src/modules/auth/views/components/pages/ProfileEdit.vue +17 -10
- package/src/modules/globals/views/components/partials/Footer.centered.vue +338 -0
- package/src/modules/globals/views/components/partials/Footer.vue +104 -99
- package/src/modules/globals/views/components/partials/Header.vue +1 -1
- package/src/modules/icons/logos/Logotype.vue +1 -1
- package/src/modules/inventory/components/pages/Inventory.vue +126 -119
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +51 -0
- package/src/modules/orders/middlewares/customers.verifier.js +60 -0
- package/src/modules/orders/models/customer.model.js +18 -0
- package/src/modules/orders/orders.client.js +36 -38
- package/src/modules/orders/store/models/customer.js +7 -0
- package/src/modules/organizations/configs/navigation.organization.config.js +17 -26
- package/src/modules/products/TASKS.MD +1 -157
- package/src/modules/products/components/elements/QuantitySelector.vue +17 -9
- package/src/modules/products/components/pages/Product.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +0 -1
- package/src/modules/products/components/sections/ProductsPopular.vue +9 -5
- package/src/modules/products/components/sections/ProductsRecommended.vue +4 -1
- package/src/modules/products/controllers/configs/products.lookup.config.js +11 -1
- package/src/styles/base/all.scss +9 -4
- package/src/styles/config.scss +10 -0
- package/src/styles/responsive.scss +2 -1
- package/src/styles/typography.scss +0 -5
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue.js.map +0 -1
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, resolveDynamicComponent, unref, toDisplayString, createVNode, Fragment, renderList, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import { useI18n } from "vue-i18n";
|
|
4
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$3 from "../../../../orders/components/elements/FieldSubscribeNewsletter.vue.js";
|
|
5
5
|
import LabelGooglePlay from "../../../../icons/labels/LabelGooglePlay.vue.js";
|
|
6
6
|
import LabelAppStore from "../../../../icons/labels/LabelAppStore.vue.js";
|
|
7
|
-
import _sfc_main$
|
|
8
|
-
import _sfc_main$
|
|
7
|
+
import _sfc_main$1 from "../../../../icons/entities/IconPhone.vue.js";
|
|
8
|
+
import _sfc_main$2 from "../../../../icons/entities/IconEmail.vue.js";
|
|
9
9
|
import IconClock from "../../../../icons/entities/IconTime.vue.js";
|
|
10
|
-
import _sfc_main$
|
|
11
|
-
import _sfc_main$
|
|
12
|
-
import _sfc_main$
|
|
10
|
+
import _sfc_main$8 from "../../../../icons/socials/instagram.vue.js";
|
|
11
|
+
import _sfc_main$7 from "../../../../icons/socials/facebook.vue.js";
|
|
12
|
+
import _sfc_main$6 from "../../../../icons/socials/linkedin.vue.js";
|
|
13
|
+
import _sfc_main$5 from "../../../../icons/socials/youtube.vue.js";
|
|
14
|
+
import _sfc_main$4 from "../../../../icons/socials/whatsapp.vue.js";
|
|
15
|
+
import Logotype from "../../../../icons/logos/Logotype.vue.js";
|
|
13
16
|
/* empty css */
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
const _hoisted_2 = { class: "grid cols-4-footer tablet:cols-2 mobile:cols-1 gap-extra mn-b-big" };
|
|
17
|
+
const _hoisted_1 = { class: "pd-medium" };
|
|
18
|
+
const _hoisted_2 = { class: "grid cols-3-footer tablet:cols-2 mobile:cols-1 gap-extra mobile:gap-big" };
|
|
17
19
|
const _hoisted_3 = { class: "col w-max-15r" };
|
|
18
20
|
const _hoisted_4 = { class: "p-semi t-medium mn-b-semi" };
|
|
19
21
|
const _hoisted_5 = { class: "mn-b-semi flex flex-column gap-small" };
|
|
@@ -35,15 +37,23 @@ const _hoisted_17 = {
|
|
|
35
37
|
key: 0,
|
|
36
38
|
class: "z-index-2 pd-thin radius-medium bg-main t-medium uppercase pos-absolute pos-r-10-negative pos-t-10-negative"
|
|
37
39
|
};
|
|
38
|
-
const _hoisted_18 = { class: "
|
|
39
|
-
const _hoisted_19 = { class: "
|
|
40
|
-
const _hoisted_20 = { class: "
|
|
41
|
-
const _hoisted_21 = { class: "
|
|
40
|
+
const _hoisted_18 = { class: "cols-2 gap-big" };
|
|
41
|
+
const _hoisted_19 = { class: "h5 t-medium mn-b-regular" };
|
|
42
|
+
const _hoisted_20 = { class: "flex flex-column gap-thin" };
|
|
43
|
+
const _hoisted_21 = { class: "col" };
|
|
42
44
|
const _hoisted_22 = { class: "h5 t-medium mn-b-regular" };
|
|
43
|
-
const _hoisted_23 = { class: "
|
|
44
|
-
const _hoisted_24 =
|
|
45
|
-
const _hoisted_25 = { class: "
|
|
46
|
-
const _hoisted_26 =
|
|
45
|
+
const _hoisted_23 = { class: "t-small mn-b-small t-transp" };
|
|
46
|
+
const _hoisted_24 = { class: "h5 t-medium mn-b-regular" };
|
|
47
|
+
const _hoisted_25 = { class: "flex gap-thin" };
|
|
48
|
+
const _hoisted_26 = ["href"];
|
|
49
|
+
const _hoisted_27 = { class: "t-small t-medium uppercase" };
|
|
50
|
+
const _hoisted_28 = { class: "t-main copyleft" };
|
|
51
|
+
const _hoisted_29 = {
|
|
52
|
+
href: "https://ozdao.dev",
|
|
53
|
+
target: "_blank",
|
|
54
|
+
rel: "noopener",
|
|
55
|
+
class: "flex-nowrap flex-v-center flex t-medium gap-thin br-1px br-light pd-thin radius-thin"
|
|
56
|
+
};
|
|
47
57
|
const _sfc_main = {
|
|
48
58
|
__name: "Footer",
|
|
49
59
|
props: {
|
|
@@ -59,11 +69,10 @@ const _sfc_main = {
|
|
|
59
69
|
const router = useRouter();
|
|
60
70
|
useRoute();
|
|
61
71
|
const text = {
|
|
62
|
-
locale: "en",
|
|
63
72
|
messages: {
|
|
64
73
|
en: {
|
|
65
|
-
linkAppStore: "
|
|
66
|
-
linkGooglePlay: "
|
|
74
|
+
linkAppStore: "https://play.google.com/store/apps/details?id=com.threestepsrental.app",
|
|
75
|
+
linkGooglePlay: "https://play.google.com/store/apps/details?id=com.threestepsrental.app",
|
|
67
76
|
// Contact
|
|
68
77
|
description: "3SR – Premium Video Gear Rentals for Filmmakers and Content Creators",
|
|
69
78
|
contact: "Contact",
|
|
@@ -80,11 +89,11 @@ const _sfc_main = {
|
|
|
80
89
|
// Footer
|
|
81
90
|
year: "2025 ",
|
|
82
91
|
heart: "❤",
|
|
83
|
-
copyright: "Three Steps Studio Ltd. ",
|
|
84
|
-
ozdao: "Builded
|
|
92
|
+
copyright: "Three Steps Studio Ltd. All Rights Reserved.",
|
|
93
|
+
ozdao: "Builded in OZ DAO",
|
|
85
94
|
// Contact info
|
|
86
95
|
phoneNumber: "+44 77 7878 4893",
|
|
87
|
-
emailAddress: "info@3stepsprod.com",
|
|
96
|
+
emailAddress: "info{'@'}3stepsprod.com",
|
|
88
97
|
// Navigation columns
|
|
89
98
|
navigationColumns: [
|
|
90
99
|
{
|
|
@@ -92,19 +101,19 @@ const _sfc_main = {
|
|
|
92
101
|
{
|
|
93
102
|
title: "Equipment",
|
|
94
103
|
items: [
|
|
95
|
-
{ name: "Cameras", url: "cameras" },
|
|
96
|
-
{ name: "Lighting", url: "lighting" },
|
|
97
|
-
{ name: "Stabilizers", url: "
|
|
98
|
-
{ name: "Accessories", url: "accessories" }
|
|
104
|
+
{ name: "Cameras", url: "products/categories/cameras" },
|
|
105
|
+
{ name: "Lighting", url: "products/categories/lighting-kits" },
|
|
106
|
+
{ name: "Stabilizers", url: "products/categories/stabilization-motion" },
|
|
107
|
+
{ name: "Accessories", url: "products/categories/accessories" }
|
|
99
108
|
]
|
|
100
109
|
},
|
|
101
110
|
{
|
|
102
111
|
title: "Services",
|
|
103
112
|
items: [
|
|
104
|
-
{ name: "Kits & Packages", url: "kits-packages" },
|
|
105
|
-
{ name: "Studio Hire", url: "studio-hire" },
|
|
106
|
-
{ name: "Delivery", url: "delivery" },
|
|
107
|
-
{ name: "Production Help", url: "production-help" }
|
|
113
|
+
{ name: "Kits & Packages", url: "products/categories/kits-packages" },
|
|
114
|
+
{ name: "Studio Hire", url: "products/categories/studio-hire" },
|
|
115
|
+
{ name: "Delivery", url: "products/categories/delivery" },
|
|
116
|
+
{ name: "Production Help", url: "products/categories/production-help" }
|
|
108
117
|
]
|
|
109
118
|
}
|
|
110
119
|
]
|
|
@@ -114,19 +123,19 @@ const _sfc_main = {
|
|
|
114
123
|
{
|
|
115
124
|
title: "Company",
|
|
116
125
|
items: [
|
|
117
|
-
{ name: "About Us", url: "about" },
|
|
118
|
-
{ name: "Contact", url: "contact" },
|
|
119
|
-
{ name: "FAQ", url: "faq" },
|
|
120
|
-
{ name: "Blog", url: "
|
|
126
|
+
{ name: "About Us", url: "pages/about" },
|
|
127
|
+
{ name: "Contact", url: "pages/contact" },
|
|
128
|
+
{ name: "FAQ", url: "pages/faq" },
|
|
129
|
+
{ name: "Blog", url: "/community" }
|
|
121
130
|
]
|
|
122
131
|
},
|
|
123
132
|
{
|
|
124
133
|
title: "Legal",
|
|
125
134
|
items: [
|
|
126
|
-
{ name: "Privacy Policy", url: "privacy-policy" },
|
|
127
|
-
{ name: "Cookie Policy", url: "cookie-policy" },
|
|
128
|
-
{ name: "Terms of Use", url: "terms-of-use" },
|
|
129
|
-
{ name: "EULA", url: "eula" }
|
|
135
|
+
{ name: "Privacy Policy", url: "pages/privacy-policy" },
|
|
136
|
+
{ name: "Cookie Policy", url: "pages/cookie-policy" },
|
|
137
|
+
{ name: "Terms of Use", url: "pages/terms-of-use" },
|
|
138
|
+
{ name: "EULA", url: "pages/eula" }
|
|
130
139
|
]
|
|
131
140
|
}
|
|
132
141
|
]
|
|
@@ -135,31 +144,36 @@ const _sfc_main = {
|
|
|
135
144
|
// Social links
|
|
136
145
|
socialLinks: [
|
|
137
146
|
{
|
|
138
|
-
name: "
|
|
139
|
-
url: "https://www.instagram.com/3stepsprod"
|
|
140
|
-
icon: _sfc_main$1
|
|
147
|
+
name: "IconInstagram",
|
|
148
|
+
url: "https://www.instagram.com/3stepsprod"
|
|
141
149
|
},
|
|
142
150
|
{
|
|
143
|
-
name: "
|
|
144
|
-
url: "https://www.youtube.com/@threestepsproduction"
|
|
145
|
-
icon: _sfc_main$2
|
|
151
|
+
name: "IconYoutube",
|
|
152
|
+
url: "https://www.youtube.com/@threestepsproduction"
|
|
146
153
|
},
|
|
147
154
|
{
|
|
148
|
-
name: "
|
|
149
|
-
url: "https://api.whatsapp.com/send/?phone=447778784893&text&type=phone_number&app_absent=0"
|
|
150
|
-
icon: _sfc_main$3
|
|
155
|
+
name: "IconWhatsapp",
|
|
156
|
+
url: "https://api.whatsapp.com/send/?phone=447778784893&text&type=phone_number&app_absent=0"
|
|
151
157
|
}
|
|
152
158
|
]
|
|
153
159
|
}
|
|
154
160
|
}
|
|
155
161
|
};
|
|
156
|
-
const { t, te, tm } = useI18n(
|
|
157
|
-
|
|
158
|
-
|
|
162
|
+
const { t, te, tm } = useI18n({
|
|
163
|
+
useScope: "global",
|
|
164
|
+
messages: text.messages
|
|
165
|
+
});
|
|
166
|
+
const iconComponents = {
|
|
167
|
+
IconInstagram: _sfc_main$8,
|
|
168
|
+
IconFacebook: _sfc_main$7,
|
|
169
|
+
IconLinkedin: _sfc_main$6,
|
|
170
|
+
IconYoutube: _sfc_main$5,
|
|
171
|
+
IconWhatsapp: _sfc_main$4
|
|
172
|
+
};
|
|
159
173
|
return (_ctx, _cache) => {
|
|
160
174
|
const _component_router_link = resolveComponent("router-link");
|
|
161
175
|
return openBlock(), createElementBlock("footer", {
|
|
162
|
-
class: normalizeClass(["
|
|
176
|
+
class: normalizeClass(["w-100 br-t br-solid", {
|
|
163
177
|
"t-black bg-white br-light": __props.theme === "light",
|
|
164
178
|
"t-white bg-black br-dark": __props.theme === "dark"
|
|
165
179
|
}])
|
|
@@ -179,7 +193,7 @@ const _sfc_main = {
|
|
|
179
193
|
href: `tel:${unref(t)("phoneNumber").replace(/\s/g, "")}`,
|
|
180
194
|
class: normalizeClass(["flex mn-b-micro gap-micro flex-v-center transition-opacity hover-opacity-70", __props.theme === "light" ? "t-black" : "t-white"])
|
|
181
195
|
}, [
|
|
182
|
-
createVNode(_sfc_main$
|
|
196
|
+
createVNode(_sfc_main$1, {
|
|
183
197
|
class: "i-regular",
|
|
184
198
|
fill: __props.theme === "light" ? "rgb(var(--black))" : "rgb(var(--white))"
|
|
185
199
|
}, null, 8, ["fill"]),
|
|
@@ -189,7 +203,7 @@ const _sfc_main = {
|
|
|
189
203
|
href: `mailto:${unref(t)("emailAddress")}`,
|
|
190
204
|
class: normalizeClass(["flex mn-b-micro gap-micro flex-v-center transition-opacity hover-opacity-70", __props.theme === "light" ? "t-black" : "t-white"])
|
|
191
205
|
}, [
|
|
192
|
-
createVNode(_sfc_main$
|
|
206
|
+
createVNode(_sfc_main$2, {
|
|
193
207
|
class: "i-regular",
|
|
194
208
|
fill: __props.theme === "light" ? "rgb(var(--black))" : "rgb(var(--white))"
|
|
195
209
|
}, null, 8, ["fill"]),
|
|
@@ -231,91 +245,91 @@ const _sfc_main = {
|
|
|
231
245
|
], 8, _hoisted_16)) : createCommentVNode("", true)
|
|
232
246
|
])
|
|
233
247
|
]),
|
|
234
|
-
(
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
createElementVNode("
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
248
|
+
createElementVNode("div", _hoisted_18, [
|
|
249
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(tm)("navigationColumns"), (column, colIndex) => {
|
|
250
|
+
return openBlock(), createElementBlock("div", {
|
|
251
|
+
key: colIndex,
|
|
252
|
+
class: "flex flex-column gap-medium"
|
|
253
|
+
}, [
|
|
254
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(column.sections, (section, sectionIndex) => {
|
|
255
|
+
return openBlock(), createElementBlock("div", {
|
|
256
|
+
key: sectionIndex,
|
|
257
|
+
class: ""
|
|
258
|
+
}, [
|
|
259
|
+
createElementVNode("h4", _hoisted_19, toDisplayString(section.title), 1),
|
|
260
|
+
createElementVNode("nav", null, [
|
|
261
|
+
createElementVNode("ul", _hoisted_20, [
|
|
262
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(section.items, (item) => {
|
|
263
|
+
return openBlock(), createElementBlock("li", {
|
|
264
|
+
key: item.url
|
|
265
|
+
}, [
|
|
266
|
+
createVNode(_component_router_link, {
|
|
267
|
+
to: `/${item.url}`,
|
|
268
|
+
class: normalizeClass(["t-small transition-opacity hover-opacity-70", __props.theme === "light" ? "t-black" : "t-white"])
|
|
269
|
+
}, {
|
|
270
|
+
default: withCtx(() => [
|
|
271
|
+
createTextVNode(toDisplayString(item.name), 1)
|
|
272
|
+
]),
|
|
273
|
+
_: 2
|
|
274
|
+
}, 1032, ["to", "class"])
|
|
275
|
+
]);
|
|
276
|
+
}), 128))
|
|
277
|
+
])
|
|
261
278
|
])
|
|
262
|
-
])
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
createElementVNode("div",
|
|
268
|
-
createElementVNode("h4",
|
|
269
|
-
createElementVNode("p",
|
|
270
|
-
createVNode(_sfc_main$
|
|
279
|
+
]);
|
|
280
|
+
}), 128))
|
|
281
|
+
]);
|
|
282
|
+
}), 128))
|
|
283
|
+
]),
|
|
284
|
+
createElementVNode("div", _hoisted_21, [
|
|
285
|
+
createElementVNode("h4", _hoisted_22, toDisplayString(unref(t)("subscribe")), 1),
|
|
286
|
+
createElementVNode("p", _hoisted_23, toDisplayString(unref(t)("subscribe_text")), 1),
|
|
287
|
+
createVNode(_sfc_main$3, {
|
|
271
288
|
action: false,
|
|
272
289
|
fieldName: "footer-newsletter",
|
|
273
290
|
fieldId: "footer-newsletter-email",
|
|
274
291
|
class: "d-inline-flex mn-b-medium bg-light t-black w-100"
|
|
275
292
|
}),
|
|
276
|
-
createElementVNode("h4",
|
|
277
|
-
createElementVNode("div",
|
|
278
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(socialLinks
|
|
293
|
+
createElementVNode("h4", _hoisted_24, toDisplayString(unref(t)("follow")), 1),
|
|
294
|
+
createElementVNode("div", _hoisted_25, [
|
|
295
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(tm)("socialLinks"), (social) => {
|
|
279
296
|
return openBlock(), createElementBlock("a", {
|
|
280
297
|
key: social.name,
|
|
281
298
|
href: social.url,
|
|
282
299
|
target: "_blank",
|
|
283
300
|
class: "w-3r h-3r flex flex-center radius-small bg-light transition-opacity hover-opacity-70"
|
|
284
301
|
}, [
|
|
285
|
-
(openBlock(), createBlock(resolveDynamicComponent(social.
|
|
302
|
+
(openBlock(), createBlock(resolveDynamicComponent(iconComponents[social.name]), {
|
|
286
303
|
class: "i-semi",
|
|
287
304
|
fill: __props.theme === "light" ? "rgb(var(--black))" : "rgb(var(--white))"
|
|
288
305
|
}, null, 8, ["fill"]))
|
|
289
|
-
], 8,
|
|
306
|
+
], 8, _hoisted_26);
|
|
290
307
|
}), 128))
|
|
291
308
|
])
|
|
292
309
|
])
|
|
310
|
+
])
|
|
311
|
+
]),
|
|
312
|
+
createElementVNode("div", {
|
|
313
|
+
class: normalizeClass(["pd-medium br-t br-solid flex flex-justify-between flex-v-center flex-nowrap mobile:flex-column mobile:flex-align-start mobile:gap-small", {
|
|
314
|
+
"br-light": __props.theme === "light",
|
|
315
|
+
"br-dark": __props.theme === "dark"
|
|
316
|
+
}])
|
|
317
|
+
}, [
|
|
318
|
+
createElementVNode("p", _hoisted_27, [
|
|
319
|
+
createTextVNode(toDisplayString(unref(t)("year")) + " ", 1),
|
|
320
|
+
createElementVNode("span", _hoisted_28, toDisplayString(unref(t)("heart")), 1),
|
|
321
|
+
createTextVNode(" " + toDisplayString(unref(t)("copyright")), 1)
|
|
293
322
|
]),
|
|
294
|
-
createElementVNode("
|
|
295
|
-
class:
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
}, [
|
|
300
|
-
createElementVNode("p", _hoisted_25, [
|
|
301
|
-
createTextVNode(toDisplayString(unref(t)("year")) + " ", 1),
|
|
302
|
-
createElementVNode("span", _hoisted_26, toDisplayString(unref(t)("heart")), 1),
|
|
303
|
-
createTextVNode(" " + toDisplayString(unref(t)("copyright")) + " " + toDisplayString(unref(t)("ozdao")) + " ", 1),
|
|
304
|
-
_cache[1] || (_cache[1] = createElementVNode("a", {
|
|
305
|
-
href: "https://ozdao.dev",
|
|
306
|
-
class: "t-main",
|
|
307
|
-
target: "_blank",
|
|
308
|
-
rel: "noopener"
|
|
309
|
-
}, "OZ DAO.", -1))
|
|
310
|
-
])
|
|
311
|
-
], 2)
|
|
312
|
-
])
|
|
323
|
+
createElementVNode("a", _hoisted_29, [
|
|
324
|
+
createVNode(Logotype, { class: "h-1r w-auto" }),
|
|
325
|
+
createElementVNode("span", null, toDisplayString(unref(t)("ozdao")), 1)
|
|
326
|
+
])
|
|
327
|
+
], 2)
|
|
313
328
|
], 2);
|
|
314
329
|
};
|
|
315
330
|
}
|
|
316
331
|
};
|
|
317
|
-
const Footer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-37ca2fe7"]]);
|
|
318
332
|
export {
|
|
319
|
-
|
|
333
|
+
_sfc_main as default
|
|
320
334
|
};
|
|
321
335
|
//# sourceMappingURL=Footer.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/partials/Footer.vue"],"sourcesContent":["<script setup=\"props\">\nimport { computed, ref } from 'vue'\nimport { useRouter, useRoute } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\n\n// Martyrs Components\nimport FieldSubscribeNewsletter from '@martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue'\n\nimport LabelGooglePlay from '@martyrs/src/modules/icons/labels/LabelGooglePlay.vue';\nimport LabelAppStore from '@martyrs/src/modules/icons/labels/LabelAppStore.vue';\n\nimport IconPhone from '@martyrs/src/modules/icons/entities/IconPhone.vue';\nimport IconEmail from '@martyrs/src/modules/icons/entities/IconEmail.vue';\nimport IconAddress from '@martyrs/src/modules/icons/entities/IconAddress.vue';\nimport IconTime from '@martyrs/src/modules/icons/entities/IconTime.vue';\n\nimport IconInfo from '@martyrs/src/modules/icons/navigation/IconInfo.vue'\nimport instagram from '@martyrs/src/modules/icons/socials/instagram.vue';\nimport facebook from '@martyrs/src/modules/icons/socials/facebook.vue';\nimport linkedin from '@martyrs/src/modules/icons/socials/linkedin.vue'\nimport youtube from '@martyrs/src/modules/icons/socials/youtube.vue'\nimport whatsapp from '@martyrs/src/modules/icons/socials/whatsapp.vue'\n\n// Props\nconst props = defineProps({\n theme: {\n type: String,\n default: \"light\"\n },\n logotype: {\n type: Object\n }\n})\n\n// State\nconst router = useRouter()\nconst route = useRoute()\n\n// Localization\nconst text = {\n locale: 'en',\n messages: {\n en: {\n linkAppStore: '2',\n linkGooglePlay: '1',\n // Contact\n description: \"3SR – Premium Video Gear Rentals for Filmmakers and Content Creators\",\n contact: 'Contact',\n phone: 'Phone / WhatsApp',\n email: 'Email',\n hours: 'Hours',\n hours_text: 'Mon–Sun, 10:00–19:00',\n app: 'Get Our App',\n \n // Subscribe\n subscribe: 'Subscribe',\n subscribe_text: 'Get updates on new equipment and special offers',\n email_placeholder: 'Enter your email',\n follow: 'Follow Us',\n \n // Footer\n year: '2025 ',\n heart: \"❤\",\n copyright: 'Three Steps Studio Ltd. ',\n ozdao: 'Builded with love in',\n \n // Contact info\n phoneNumber: '+44 77 7878 4893',\n emailAddress: 'info@3stepsprod.com',\n \n // Navigation columns\n navigationColumns: [\n {\n sections: [\n {\n title: 'Equipment',\n items: [\n { name: 'Cameras', url: 'cameras' },\n { name: 'Lighting', url: 'lighting' },\n { name: 'Stabilizers', url: 'stabilizers' },\n { name: 'Accessories', url: 'accessories' }\n ]\n },\n {\n title: 'Services',\n items: [\n { name: 'Kits & Packages', url: 'kits-packages' },\n { name: 'Studio Hire', url: 'studio-hire' },\n { name: 'Delivery', url: 'delivery' },\n { name: 'Production Help', url: 'production-help' }\n ]\n }\n ]\n },\n {\n sections: [\n {\n title: 'Company',\n items: [\n { name: 'About Us', url: 'about' },\n { name: 'Contact', url: 'contact' },\n { name: 'FAQ', url: 'faq' },\n { name: 'Blog', url: 'blog' }\n ]\n },\n {\n title: 'Legal',\n items: [\n { name: 'Privacy Policy', url: 'privacy-policy' },\n { name: 'Cookie Policy', url: 'cookie-policy' },\n { name: 'Terms of Use', url: 'terms-of-use' },\n { name: 'EULA', url: 'eula' }\n ]\n }\n ]\n }\n ],\n \n // Social links\n socialLinks: [\n { \n name: 'Instagram',\n url: 'https://www.instagram.com/3stepsprod',\n icon: instagram\n },\n { \n name: 'Youtube',\n url: 'https://www.youtube.com/@threestepsproduction',\n icon: youtube\n },\n { \n name: 'WhatsApp',\n url: 'https://api.whatsapp.com/send/?phone=447778784893&text&type=phone_number&app_absent=0',\n icon: whatsapp\n }\n ]\n }\n }\n}\n\nconst { t, te, tm } = useI18n(text)\n\n// Get columns and social links from translations\nconst navigationColumns = computed(() => tm('navigationColumns'))\nconst socialLinks = computed(() => tm('socialLinks'))\n</script>\n\n<template>\n <footer \n class=\"\n pd-medium pd-t-large\n w-100\n br-t br-solid\n \"\n :class=\"{\n 't-black bg-white br-light': theme === 'light',\n 't-white bg-black br-dark': theme === 'dark' \n }\"\n >\n <!-- Top Section -->\n <div class=\"container-wide\">\n <component\n v-if=\"logotype\"\n :is=\"logotype\"\n @click=\"router.push({ path: '/' })\" \n :theme=\"theme\"\n class=\"cursor-pointer h-3r mn-b-medium\"\n />\n\n <div class=\"grid cols-4-footer tablet:cols-2 mobile:cols-1 gap-extra mn-b-big\">\n \n <!-- Contact Block -->\n <div class=\"col w-max-15r\">\n <p class=\"p-semi t-medium mn-b-semi\">{{ t('description') }}</p>\n \n <div class=\"mn-b-semi flex flex-column gap-small\">\n <a \n :href=\"`tel:${t('phoneNumber').replace(/\\s/g, '')}`\" \n class=\"flex mn-b-micro gap-micro flex-v-center transition-opacity hover-opacity-70\"\n :class=\"theme === 'light' ? 't-black' : 't-white'\"\n >\n <IconPhone class=\"i-regular\" :fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" />\n <span class=\"t-small\">{{ t('phoneNumber') }}</span>\n </a>\n \n <a \n :href=\"`mailto:${t('emailAddress')}`\" \n class=\"flex mn-b-micro gap-micro flex-v-center transition-opacity hover-opacity-70\"\n :class=\"theme === 'light' ? 't-black' : 't-white'\"\n >\n <IconEmail class=\"i-regular\" :fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" />\n <span class=\"t-small\">{{ t('emailAddress') }}</span>\n </a>\n \n <div class=\"flex mn-b-micro gap-micro flex-v-center\">\n <IconTime class=\"i-regular\" :fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" />\n <span class=\"t-small\">{{ t('hours_text') }}</span>\n </div>\n </div>\n\n <h4 class=\"h5 t-medium mn-b-regular\">{{ t('app') }}</h4>\n <div class=\"w-100 flex-nowrap flex gap-thin\">\n <a \n v-if=\"te('linkAppStore') || te('label')\"\n :href=\"te('linkAppStore') ? t('linkAppStore') : null\" \n :target=\"te('linkAppStore') ? '_blank' : null\" \n class=\"pos-relative w-100 h-100\"\n > \n <span \n v-if=\"te('label')\"\n class=\"z-index-2 radius-medium bg-main t-medium uppercase pd-thin pos-absolute pos-r-10-negative pos-t-10-negative\"\n >\n {{ t('label') }}\n </span>\n <LabelAppStore class=\"w-100 h-max\" alt=\"Download on App Store\"/>\n </a>\n\n <a \n v-if=\"te('linkGooglePlay') || te('label')\"\n :href=\"te('linkGooglePlay') ? t('linkGooglePlay') : null\" \n :target=\"te('linkGooglePlay') ? '_blank' : null\" \n class=\"pos-relative w-100 h-100\"\n > \n <span \n v-if=\"te('label')\"\n class=\"z-index-2 pd-thin radius-medium bg-main t-medium uppercase pos-absolute pos-r-10-negative pos-t-10-negative\"\n >\n {{ t('label') }}\n </span>\n <LabelGooglePlay class=\"w-100 h-max\" alt=\"Download on Google Play\"/>\n </a>\n </div>\n </div>\n\n <!-- Navigation Columns -->\n <div v-for=\"(column, colIndex) in navigationColumns\" :key=\"colIndex\" class=\"col\">\n <div v-for=\"(section, sectionIndex) in column.sections\" :key=\"sectionIndex\">\n <h4 class=\"h5 t-medium mn-b-regular\" :class=\"sectionIndex > 0 ? 'mn-t-medium' : ''\">{{ section.title }}</h4>\n <nav>\n <ul class=\"flex flex-column gap-thin\">\n <li v-for=\"item in section.items\" :key=\"item.url\">\n <router-link \n :to=\"`/${item.url}`\" \n class=\"t-small transition-opacity hover-opacity-70\" \n :class=\"theme === 'light' ? 't-black' : 't-white'\"\n >\n {{ item.name }}\n </router-link>\n </li>\n </ul>\n </nav>\n </div>\n </div>\n\n <!-- Subscribe Block -->\n <div class=\"col\">\n <h4 class=\"h5 t-medium mn-b-regular\">{{ t('subscribe') }}</h4>\n <p class=\"t-small mn-b-small t-transp\">{{ t('subscribe_text') }}</p>\n \n <FieldSubscribeNewsletter\n :action=\"false\"\n fieldName=\"footer-newsletter\"\n fieldId=\"footer-newsletter-email\"\n class=\"d-inline-flex mn-b-medium bg-light t-black w-100\"\n />\n\n <h4 class=\"h5 t-medium mn-b-regular\">{{ t('follow') }}</h4>\n <!-- Social Links -->\n <div class=\"flex gap-small mn-b-medium\">\n <a \n v-for=\"social in socialLinks\"\n :key=\"social.name\"\n :href=\"social.url\" \n target=\"_blank\"\n class=\"\n w-3r h-3r \n flex flex-center \n radius-small\n bg-light \n transition-opacity\n hover-opacity-70\n \"\n >\n <component\n :is=\"social.icon\"\n class=\"i-semi\"\n :fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\"\n />\n </a>\n </div>\n </div>\n </div>\n\n <!-- Bottom Section -->\n <div class=\"\n pd-t-medium \n br-t br-solid\n flex flex-justify-between flex-v-center\n mobile:flex-column mobile:gap-small\n \"\n :class=\"{\n 'br-light': theme === 'light',\n 'br-dark': theme === 'dark'\n }\"\n >\n <!-- Copyright -->\n <p class=\"t-small t-medium uppercase mobile:t-center\">\n {{ t('year') }} \n <span class=\"t-main copyleft\">{{ t('heart') }}</span> \n {{ t('copyright') }} \n {{ t('ozdao') }}\n <a href=\"https://ozdao.dev\" class=\"t-main\" target=\"_blank\" rel=\"noopener\">OZ DAO.</a>\n </p>\n </div>\n </div>\n </footer>\n</template>\n\n<style lang=\"scss\" scoped>\n.cols-4-footer {\n grid-template-columns: 5fr 3fr 3fr 4fr;\n}\nfooter {\n transition: background-color 0.3s ease, color 0.3s ease;\n \n a {\n text-decoration: none;\n }\n \n ul {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n}\n</style>"],"names":["instagram","youtube","whatsapp"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"Footer.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/partials/Footer.vue"],"sourcesContent":["<script setup=\"props\">\nimport { computed, ref } from 'vue'\nimport { useRouter, useRoute } from 'vue-router'\nimport { useI18n } from 'vue-i18n'\n\n// Martyrs Components\nimport FieldSubscribeNewsletter from '@martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue'\n\nimport LabelGooglePlay from '@martyrs/src/modules/icons/labels/LabelGooglePlay.vue';\nimport LabelAppStore from '@martyrs/src/modules/icons/labels/LabelAppStore.vue';\n\nimport IconPhone from '@martyrs/src/modules/icons/entities/IconPhone.vue';\nimport IconEmail from '@martyrs/src/modules/icons/entities/IconEmail.vue';\nimport IconAddress from '@martyrs/src/modules/icons/entities/IconAddress.vue';\nimport IconTime from '@martyrs/src/modules/icons/entities/IconTime.vue';\n\nimport IconInfo from '@martyrs/src/modules/icons/navigation/IconInfo.vue'\nimport IconInstagram from '@martyrs/src/modules/icons/socials/instagram.vue';\nimport IconFacebook from '@martyrs/src/modules/icons/socials/facebook.vue';\nimport IconLinkedin from '@martyrs/src/modules/icons/socials/linkedin.vue'\nimport IconYoutube from '@martyrs/src/modules/icons/socials/youtube.vue'\nimport IconWhatsapp from '@martyrs/src/modules/icons/socials/whatsapp.vue'\n\nimport Logotype from '@martyrs/src/modules/icons/logos/Logotype.vue'\n\n\n// Props\nconst props = defineProps({\n theme: {\n type: String,\n default: \"light\"\n },\n logotype: {\n type: Object\n }\n})\n\n// State\nconst router = useRouter()\nconst route = useRoute()\n\n// Localization\nconst text = {\n locale: 'en',\n messages: {\n en: {\n linkAppStore: 'https://play.google.com/store/apps/details?id=com.threestepsrental.app',\n linkGooglePlay: 'https://play.google.com/store/apps/details?id=com.threestepsrental.app',\n // Contact\n description: \"3SR – Premium Video Gear Rentals for Filmmakers and Content Creators\",\n contact: 'Contact',\n phone: 'Phone / WhatsApp',\n email: 'Email',\n hours: 'Hours',\n hours_text: 'Mon–Sun, 10:00–19:00',\n app: 'Get Our App',\n \n // Subscribe\n subscribe: 'Subscribe',\n subscribe_text: 'Get updates on new equipment and special offers',\n email_placeholder: 'Enter your email',\n follow: 'Follow Us',\n \n // Footer\n year: '2025 ',\n heart: \"❤\",\n copyright: 'Three Steps Studio Ltd. All Rights Reserved.',\n ozdao: 'Builded in OZ DAO',\n \n // Contact info\n phoneNumber: '+44 77 7878 4893',\n emailAddress: \"info{'@'}3stepsprod.com\",\n \n // Navigation columns\n navigationColumns: [\n {\n sections: [\n {\n title: 'Equipment',\n items: [\n { name: 'Cameras', url: 'products/categories/cameras' },\n { name: 'Lighting', url: 'products/categories/lighting-kits' },\n { name: 'Stabilizers', url: 'products/categories/stabilization-motion' },\n { name: 'Accessories', url: 'products/categories/accessories' }\n ]\n },\n {\n title: 'Services',\n items: [\n { name: 'Kits & Packages', url: 'products/categories/kits-packages' },\n { name: 'Studio Hire', url: 'products/categories/studio-hire' },\n { name: 'Delivery', url: 'products/categories/delivery' },\n { name: 'Production Help', url: 'products/categories/production-help' }\n ]\n }\n ]\n },\n {\n sections: [\n {\n title: 'Company',\n items: [\n { name: 'About Us', url: 'pages/about' },\n { name: 'Contact', url: 'pages/contact' },\n { name: 'FAQ', url: 'pages/faq' },\n { name: 'Blog', url: '/community' }\n ]\n },\n {\n title: 'Legal',\n items: [\n { name: 'Privacy Policy', url: 'pages/privacy-policy' },\n { name: 'Cookie Policy', url: 'pages/cookie-policy' },\n { name: 'Terms of Use', url: 'pages/terms-of-use' },\n { name: 'EULA', url: 'pages/eula' }\n ]\n }\n ]\n }\n ],\n \n // Social links\n socialLinks: [\n { \n name: 'IconInstagram',\n url: 'https://www.instagram.com/3stepsprod'\n },\n { \n name: 'IconYoutube',\n url: 'https://www.youtube.com/@threestepsproduction'\n },\n { \n name: 'IconWhatsapp',\n url: 'https://api.whatsapp.com/send/?phone=447778784893&text&type=phone_number&app_absent=0'\n }\n ]\n }\n }\n}\n\nconst { t, te, tm } = useI18n({\n useScope: 'global',\n messages: text.messages\n})\n\n// Component mapping for social icons\nconst iconComponents = {\n IconInstagram,\n IconFacebook,\n IconLinkedin,\n IconYoutube,\n IconWhatsapp\n}\n</script>\n\n<template>\n <footer \n class=\"\n w-100\n br-t br-solid\n \"\n :class=\"{\n 't-black bg-white br-light': theme === 'light',\n 't-white bg-black br-dark': theme === 'dark' \n }\"\n >\n <div class=\"pd-medium\">\n <!-- Top Section -->\n <component\n v-if=\"logotype\"\n :is=\"logotype\"\n @click=\"router.push({ path: '/' })\" \n :theme=\"theme\"\n class=\"cursor-pointer h-3r mn-b-medium\"\n />\n\n <div class=\"grid cols-3-footer tablet:cols-2 mobile:cols-1 gap-extra mobile:gap-big\">\n \n <!-- Contact Block -->\n <div class=\"col w-max-15r\">\n <p class=\"p-semi t-medium mn-b-semi\">{{ t('description') }}</p>\n \n <div class=\"mn-b-semi flex flex-column gap-small\">\n <a \n :href=\"`tel:${t('phoneNumber').replace(/\\s/g, '')}`\" \n class=\"flex mn-b-micro gap-micro flex-v-center transition-opacity hover-opacity-70\"\n :class=\"theme === 'light' ? 't-black' : 't-white'\"\n >\n <IconPhone class=\"i-regular\" :fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" />\n <span class=\"t-small\">{{ t('phoneNumber') }}</span>\n </a>\n \n <a \n :href=\"`mailto:${t('emailAddress')}`\" \n class=\"flex mn-b-micro gap-micro flex-v-center transition-opacity hover-opacity-70\"\n :class=\"theme === 'light' ? 't-black' : 't-white'\"\n >\n <IconEmail class=\"i-regular\" :fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" />\n <span class=\"t-small\">{{ t('emailAddress') }}</span>\n </a>\n \n <div class=\"flex mn-b-micro gap-micro flex-v-center\">\n <IconTime class=\"i-regular\" :fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" />\n <span class=\"t-small\">{{ t('hours_text') }}</span>\n </div>\n </div>\n\n <h4 class=\"h5 t-medium mn-b-regular\">{{ t('app') }}</h4>\n <div class=\"w-100 flex-nowrap flex gap-thin\">\n <a \n v-if=\"te('linkAppStore') || te('label')\"\n :href=\"te('linkAppStore') ? t('linkAppStore') : null\" \n :target=\"te('linkAppStore') ? '_blank' : null\" \n class=\"pos-relative w-100 h-100\"\n > \n <span \n v-if=\"te('label')\"\n class=\"z-index-2 radius-medium bg-main t-medium uppercase pd-thin pos-absolute pos-r-10-negative pos-t-10-negative\"\n >\n {{ t('label') }}\n </span>\n <LabelAppStore class=\"w-100 h-max\" alt=\"Download on App Store\"/>\n </a>\n\n <a \n v-if=\"te('linkGooglePlay') || te('label')\"\n :href=\"te('linkGooglePlay') ? t('linkGooglePlay') : null\" \n :target=\"te('linkGooglePlay') ? '_blank' : null\" \n class=\"pos-relative w-100 h-100\"\n > \n <span \n v-if=\"te('label')\"\n class=\"z-index-2 pd-thin radius-medium bg-main t-medium uppercase pos-absolute pos-r-10-negative pos-t-10-negative\"\n >\n {{ t('label') }}\n </span>\n <LabelGooglePlay class=\"w-100 h-max\" alt=\"Download on Google Play\"/>\n </a>\n </div>\n </div>\n\n <!-- Navigation Columns -->\n <div class=\"cols-2 gap-big\">\n <div v-for=\"(column, colIndex) in tm('navigationColumns')\" :key=\"colIndex\" class=\"flex flex-column gap-medium\">\n <div v-for=\"(section, sectionIndex) in column.sections\" :key=\"sectionIndex\" class=\"\">\n <h4 class=\"h5 t-medium mn-b-regular\">{{ section.title }}</h4>\n <nav>\n <ul class=\"flex flex-column gap-thin\">\n <li v-for=\"item in section.items\" :key=\"item.url\">\n <router-link \n :to=\"`/${item.url}`\" \n class=\"t-small transition-opacity hover-opacity-70\" \n :class=\"theme === 'light' ? 't-black' : 't-white'\"\n >\n {{ item.name }}\n </router-link>\n </li>\n </ul>\n </nav>\n </div>\n </div>\n </div>\n\n <!-- Subscribe Block -->\n <div class=\"col\">\n <h4 class=\"h5 t-medium mn-b-regular\">{{ t('subscribe') }}</h4>\n <p class=\"t-small mn-b-small t-transp\">{{ t('subscribe_text') }}</p>\n \n <FieldSubscribeNewsletter\n :action=\"false\"\n fieldName=\"footer-newsletter\"\n fieldId=\"footer-newsletter-email\"\n class=\"d-inline-flex mn-b-medium bg-light t-black w-100\"\n />\n\n <h4 class=\"h5 t-medium mn-b-regular\">{{ t('follow') }}</h4>\n <!-- Social Links -->\n <div class=\"flex gap-thin\">\n <a \n v-for=\"social in tm('socialLinks')\"\n :key=\"social.name\"\n :href=\"social.url\" \n target=\"_blank\"\n class=\"\n w-3r h-3r \n flex flex-center \n radius-small\n bg-light \n transition-opacity\n hover-opacity-70\n \"\n >\n <component\n :is=\"iconComponents[social.name]\"\n class=\"i-semi\"\n :fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\"\n />\n </a>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Bottom Section -->\n <div class=\"\n pd-medium \n br-t \n br-solid\n flex \n flex-justify-between \n flex-v-center\n flex-nowrap\n mobile:flex-column \n mobile:flex-align-start\n mobile:gap-small\n \"\n :class=\"{\n 'br-light': theme === 'light',\n 'br-dark': theme === 'dark'\n }\"\n >\n <!-- Copyright -->\n <p class=\"t-small t-medium uppercase\">\n {{ t('year') }} \n <span class=\"t-main copyleft\">{{ t('heart') }}</span> \n {{ t('copyright') }} \n </p>\n\n <a href=\"https://ozdao.dev\" target=\"_blank\" rel=\"noopener\" class=\"flex-nowrap flex-v-center flex t-medium gap-thin br-1px br-light pd-thin radius-thin\">\n <Logotype class=\"h-1r w-auto\"/>\n <span>{{ t('ozdao') }}</span>\n </a>\n </div>\n </footer>\n</template>\n\n<style lang=\"scss\">\n.cols-3-footer {\n grid-template-columns: 5fr 7fr 4fr;\n}\n</style>"],"names":["IconInstagram","IconFacebook","IconLinkedin","IconYoutube","IconWhatsapp"],"mappings":"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"}
|
|
@@ -8,7 +8,7 @@ const shopcart = require("../../../../orders/store/shopcart.cjs");
|
|
|
8
8
|
const auth = require("../../../../auth/views/store/auth.cjs");
|
|
9
9
|
const NotificationBadge = require("../../../../notifications/components/elements/NotificationBadge.vue.cjs");
|
|
10
10
|
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
|
11
|
-
const Select = require("../../../../../components/Select/Select.
|
|
11
|
+
const Select = require("../../../../../components/Select/Select.vue2.cjs");
|
|
12
12
|
const IconShopcart = require("../../../../icons/entities/IconShopcart.vue.cjs");
|
|
13
13
|
const IconProfile = require("../../../../icons/entities/IconProfile.vue.cjs");
|
|
14
14
|
const IconSearch = require("../../../../icons/navigation/IconSearch.vue.cjs");
|
|
@@ -86,7 +86,7 @@ const _sfc_main = {
|
|
|
86
86
|
key: 0,
|
|
87
87
|
onClick: _cache[1] || (_cache[1] = ($event) => vue.unref(router).push({ path: "/" })),
|
|
88
88
|
theme: __props.theme,
|
|
89
|
-
class: "cursor-pointer"
|
|
89
|
+
class: "cursor-pointer h-2r"
|
|
90
90
|
}, null, 8, ["theme"])) : vue.createCommentVNode("", true),
|
|
91
91
|
__props.location ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
92
92
|
key: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.vue.cjs","sources":["../../../../../../../../src/modules/globals/views/components/partials/Header.vue"],"sourcesContent":["<script setup=\"props\">\n\timport { computed, onMounted, toRefs, ref, inject } from 'vue'\n\n\timport { useRouter,useRoute } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t\n\timport * as globals from '@martyrs/src/modules/globals/views/store/globals.js'\n\timport * as shopcart from '@martyrs/src/modules/orders/store/shopcart.js'\n\timport * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n\t\n\t// Globasls Component\n\n\timport NotificationBadge from '@martyrs/src/modules/notifications/components/elements/NotificationBadge.vue';\n\t// import Navigation from '@martyrs/src/modules/globals/views/components/partials/Navigation.vue'\n\t// Martyrs Component\n\timport Button from '@martyrs/src/components/Button/Button.vue'\n\timport Select from '@martyrs/src/components/Select/Select.vue'\n\timport Checkbox from '@martyrs/src/components/Checkbox/Checkbox.vue'\n\t// Icons module\n\timport IconShopcart from '@martyrs/src/modules/icons/entities/IconShopcart.vue'\n\timport IconProfile from '@martyrs/src/modules/icons/entities/IconProfile.vue'\n\timport IconSearch from '@martyrs/src/modules/icons/navigation/IconSearch.vue';\n\t// Props\n\tconst props = defineProps({\n theme: {\n \ttype: String,\n\t default: \"light\"\n },\n logotype: {\n\t type: Object\n\t },\n\t location: {\n\t type: Boolean,\n\t\t default: true\n\t },\n\t theme_switcher: {\n\t type: Boolean,\n\t\t default: true\n\t },\n });\n\t// Accessing state\n\tconst router = useRouter()\n\tconst route = useRoute()\n\t// Localization\n\tconst { t } = useI18n()\n\t// const search = computed(() => store.products.state.search)\n\n\tfunction openLocationPopup() {\n\t globals.state.isOpenLocationPopup = true;\n\t}\n\t/////////////////////////////\n\t// MOUNTED\n\t/////////////////////////////\n\tonMounted(() => {\n shopcart.actions.setShopcart()\n });\n</script>\n\n<template>\n\t<header \n\t\tid=\"header\" \n\t\tclass=\"\n\t\t\tpd-thin \n\t\t\tgap-micro\n\t\t\tflex-justify-between\n\t\t\tflex-nowrap\n\t\t\tflex\n\t\t\th-4r\n\t\t\tw-100\n\t\t\tz-index-2 \n\t\t\tpos-relative pos-t-0\n\t\t\tbr-b\n\t\t\tbr-solid\n\t\t\"\n\t\t:class=\"{\n \t\t't-black br-light': theme === 'light',\n \t\t't-white br-dark': theme === 'dark' \n \t}\"\n\t>\n\t<div class=\"flex-nowrap flex-v-center flex-justify-start flex gap-micro \">\n\t\t<!-- MENU -->\n\t\t<button \n\t\t\taria-label=\"menu\"\n\t\t\t@click=\"() => globals.state.isOpenSidebar = !globals.state.isOpenSidebar\" \n\t\t\tclass=\"cursor-pointer menu-btn\"\n\t\t\t:class=\"{\n\t\t\t\t'menu-btn_active': globals.state.isOpenSidebar\n\t\t\t}\"\n\t\t>\n\t <span\n\t \tclass=\"no-events\"\n\t\t :class=\"{\n\t\t 'bg-black': theme === 'light',\n\t\t 'bg-white': theme === 'dark'\n\t\t }\"\n\t\t >\n\t\t <span class=\"menu-btn__before\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t <span class=\"menu-btn__after\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t </span>\n\t </button>\n\n\t\t<!-- LOGO -->\n\t\t<component\n\t\t\tv-if=\"logotype\"\n\t\t :is=\"logotype\"\n\t\t @click=\"router.push({ path: '/' })\" \n\t\t :theme=\"theme\"\n\t\t class=\"cursor-pointer\"\n\t\t/>\n\n\t\t<button\n\t\t\tv-if=\"location\"\n\t\t\taria-label=\"button_location\"\n \tclass=\"\n \t\tcursor-pointer\n \t\tbg-transp \n \t\tpd-l-micro pd-r-micro\n \t\tradius-extra \n \t\tuppercase \n \t\tt-semi\n \t\tbr-solid \n \t\tbr-2px \n \t\ttransition-linear\n \t\tt-nowrap\n \t\n \t\"\n \t:class=\"{\n \t\t'fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white': theme === 'light',\n \t\t'fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black': theme === 'dark' \n \t}\"\n \t@click=\"openLocationPopup()\"\n >\n \t<svg class=\"i-small\" :fill=\"'inherit'\" xmlns=\"http://www.w3.org/2000/svg\" width=\"50\" height=\"67\" viewBox=\"0 0 50 67\" fill=\"none\">\n\t\t\t <path d=\"M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z\" :fill=\"'inherit'\"/>\n\t\t\t</svg>\n \t {{globals.state.position?.country ? globals.state.position.country : 'World'}}\n </button>\n </div>\n\n \t<slot></slot>\n\n\t<div class=\"flex-justify-end flex-v-center flex-nowrap flex gap-micro\">\n\t\t<Button \n\t\t\tv-if=\"router.hasRoute('Search') && route.meta.header_search\"\n\t\t\taria-label=\"search\"\n\t\t\tclass=\"pd-zero bg-transp\"\n\t\t\t:class=\"route.meta.header_search_class\"\n\t\t\t:submit=\"() => router.push({name: 'Search'})\"\n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t>\n\t\t\t<IconSearch \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t</Button>\n\t\n\t\t<Button\n\t\t\taria-label=\"shopcart\"\n\t\t\t:submit=\"a => shopcart.actions.toggleShopcart()\" \n\t\t\t:counter=\"shopcart.getters.cartTotalAmount\" \n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t\tclass=\"pd-zero mn-r-micro\"\n\t\t\t> \n\t\t\t<IconShopcart \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t\t<!-- <div class=\"w-max p-small pos-absolute pos-t-100 pos-r-0\">Product Added to Shopcart</div> -->\n\t\t</Button>\n\n\n\t\t<NotificationBadge\n\t\t\tv-if=\"auth.state.user._id\"\n\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t/>\n\n\t\t<Button \n\t\t\taria-label=\"profile\"\n\t\t\tclass=\"pd-zero bg-transp\"\n\t\t\t:submit=\"\n\t\t\t\tauth.state.access.status === false \n\t\t\t\t? \n\t\t\t\ta => router.push({name: 'Sign In'}) \n\t\t\t\t: \n\t\t\t\ta => router.push({ name: 'User Profile', params: { _id: auth.state.user._id }})\n\t\t\t\"\n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t>\n\t\t\t<IconProfile \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t</Button>\n\n\n\n\t\t<Select \n\t\t\tv-if=\"$i18n.availableLocales.length > 1\"\n\t\t\tv-model:select=\"$i18n.locale\"\n\t\t :options=\"$i18n.availableLocales\"\n\t\t :property=\"'value'\"\n class=\"pos-relative flex flex-column gap-small uppercase pd-thin t-semi radius-thin\"\n :class=\"{\n \t\t'bg-light t-black': theme === 'light',\n \t\t'bg-dark t-white': theme === 'dark' \n \t}\"\n />\n </div>\n</header>\n \n</template>\n\n<style lang=\"scss\">\n.location-button { \n\t&:hover {\n\t\tbox-shadow: inset 0 0 0 2px rgb(var(--main));\n\t}\n}\n\n.menu-btn {\n display: block;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n position: relative;\n}\n.menu-btn span,\n.menu-btn__before,\n.menu-btn__after {\n position: absolute;\n top: 50%;\n margin-top: -1px;\n left: 50%;\n margin-left: -10px;\n width: 20px;\n height: 2px;\n}\n.menu-btn__before,\n.menu-btn__after {\n display: block;\n transition: 0.2s;\n}\n.menu-btn__before {\n transform: translateY(-5px);\n}\n.menu-btn__after {\n transform: translateY(5px);\n}\n.menu-btn_active .menu-btn__before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active .menu-btn__after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-btn_active span:before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active span:after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-block {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.menu-nav {\n background-color: #fff;\n height: 50px;\n \n}\n.menu-nav__link {\n display: inline-block;\n text-decoration: none;\n color: #fff;\n margin-right: 20px;\n}\n.menu-nav__link {\n transition: 0.5s;\n transform-origin: right center;\n transform: translateX(50%);\n opacity: 0;\n}\n.menu-nav__link_active {\n transform: translateX(0%);\n opacity: 1;\n}\n\n</style>"],"names":["useRouter","useRoute","useI18n","globals.state","onMounted","shopcart.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCC,UAAM,SAASA,UAAAA,UAAS;AACxB,UAAM,QAAQC,UAAAA,SAAQ;AAEtB,UAAM,EAAE,EAAC,IAAKC,QAAAA,QAAO;AAGrB,aAAS,oBAAoB;AAC3BC,cAAAA,MAAc,sBAAsB;AAAA,IACtC;AAIAC,QAAAA,UAAU,MAAM;AACbC,eAAAA,QAAiB,YAAW;AAAA,IAC9B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"Header.vue.cjs","sources":["../../../../../../../../src/modules/globals/views/components/partials/Header.vue"],"sourcesContent":["<script setup=\"props\">\n\timport { computed, onMounted, toRefs, ref, inject } from 'vue'\n\n\timport { useRouter,useRoute } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t\n\timport * as globals from '@martyrs/src/modules/globals/views/store/globals.js'\n\timport * as shopcart from '@martyrs/src/modules/orders/store/shopcart.js'\n\timport * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n\t\n\t// Globasls Component\n\n\timport NotificationBadge from '@martyrs/src/modules/notifications/components/elements/NotificationBadge.vue';\n\t// import Navigation from '@martyrs/src/modules/globals/views/components/partials/Navigation.vue'\n\t// Martyrs Component\n\timport Button from '@martyrs/src/components/Button/Button.vue'\n\timport Select from '@martyrs/src/components/Select/Select.vue'\n\timport Checkbox from '@martyrs/src/components/Checkbox/Checkbox.vue'\n\t// Icons module\n\timport IconShopcart from '@martyrs/src/modules/icons/entities/IconShopcart.vue'\n\timport IconProfile from '@martyrs/src/modules/icons/entities/IconProfile.vue'\n\timport IconSearch from '@martyrs/src/modules/icons/navigation/IconSearch.vue';\n\t// Props\n\tconst props = defineProps({\n theme: {\n \ttype: String,\n\t default: \"light\"\n },\n logotype: {\n\t type: Object\n\t },\n\t location: {\n\t type: Boolean,\n\t\t default: true\n\t },\n\t theme_switcher: {\n\t type: Boolean,\n\t\t default: true\n\t },\n });\n\t// Accessing state\n\tconst router = useRouter()\n\tconst route = useRoute()\n\t// Localization\n\tconst { t } = useI18n()\n\t// const search = computed(() => store.products.state.search)\n\n\tfunction openLocationPopup() {\n\t globals.state.isOpenLocationPopup = true;\n\t}\n\t/////////////////////////////\n\t// MOUNTED\n\t/////////////////////////////\n\tonMounted(() => {\n shopcart.actions.setShopcart()\n });\n</script>\n\n<template>\n\t<header \n\t\tid=\"header\" \n\t\tclass=\"\n\t\t\tpd-thin \n\t\t\tgap-micro\n\t\t\tflex-justify-between\n\t\t\tflex-nowrap\n\t\t\tflex\n\t\t\th-4r\n\t\t\tw-100\n\t\t\tz-index-2 \n\t\t\tpos-relative pos-t-0\n\t\t\tbr-b\n\t\t\tbr-solid\n\t\t\"\n\t\t:class=\"{\n \t\t't-black br-light': theme === 'light',\n \t\t't-white br-dark': theme === 'dark' \n \t}\"\n\t>\n\t<div class=\"flex-nowrap flex-v-center flex-justify-start flex gap-micro \">\n\t\t<!-- MENU -->\n\t\t<button \n\t\t\taria-label=\"menu\"\n\t\t\t@click=\"() => globals.state.isOpenSidebar = !globals.state.isOpenSidebar\" \n\t\t\tclass=\"cursor-pointer menu-btn\"\n\t\t\t:class=\"{\n\t\t\t\t'menu-btn_active': globals.state.isOpenSidebar\n\t\t\t}\"\n\t\t>\n\t <span\n\t \tclass=\"no-events\"\n\t\t :class=\"{\n\t\t 'bg-black': theme === 'light',\n\t\t 'bg-white': theme === 'dark'\n\t\t }\"\n\t\t >\n\t\t <span class=\"menu-btn__before\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t <span class=\"menu-btn__after\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t </span>\n\t </button>\n\n\t\t<!-- LOGO -->\n\t\t<component\n\t\t\tv-if=\"logotype\"\n\t\t :is=\"logotype\"\n\t\t @click=\"router.push({ path: '/' })\" \n\t\t :theme=\"theme\"\n\t\t class=\"cursor-pointer h-2r\"\n\t\t/>\n\n\t\t<button\n\t\t\tv-if=\"location\"\n\t\t\taria-label=\"button_location\"\n \tclass=\"\n \t\tcursor-pointer\n \t\tbg-transp \n \t\tpd-l-micro pd-r-micro\n \t\tradius-extra \n \t\tuppercase \n \t\tt-semi\n \t\tbr-solid \n \t\tbr-2px \n \t\ttransition-linear\n \t\tt-nowrap\n \t\n \t\"\n \t:class=\"{\n \t\t'fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white': theme === 'light',\n \t\t'fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black': theme === 'dark' \n \t}\"\n \t@click=\"openLocationPopup()\"\n >\n \t<svg class=\"i-small\" :fill=\"'inherit'\" xmlns=\"http://www.w3.org/2000/svg\" width=\"50\" height=\"67\" viewBox=\"0 0 50 67\" fill=\"none\">\n\t\t\t <path d=\"M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z\" :fill=\"'inherit'\"/>\n\t\t\t</svg>\n \t {{globals.state.position?.country ? globals.state.position.country : 'World'}}\n </button>\n </div>\n\n \t<slot></slot>\n\n\t<div class=\"flex-justify-end flex-v-center flex-nowrap flex gap-micro\">\n\t\t<Button \n\t\t\tv-if=\"router.hasRoute('Search') && route.meta.header_search\"\n\t\t\taria-label=\"search\"\n\t\t\tclass=\"pd-zero bg-transp\"\n\t\t\t:class=\"route.meta.header_search_class\"\n\t\t\t:submit=\"() => router.push({name: 'Search'})\"\n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t>\n\t\t\t<IconSearch \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t</Button>\n\t\n\t\t<Button\n\t\t\taria-label=\"shopcart\"\n\t\t\t:submit=\"a => shopcart.actions.toggleShopcart()\" \n\t\t\t:counter=\"shopcart.getters.cartTotalAmount\" \n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t\tclass=\"pd-zero mn-r-micro\"\n\t\t\t> \n\t\t\t<IconShopcart \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t\t<!-- <div class=\"w-max p-small pos-absolute pos-t-100 pos-r-0\">Product Added to Shopcart</div> -->\n\t\t</Button>\n\n\n\t\t<NotificationBadge\n\t\t\tv-if=\"auth.state.user._id\"\n\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t/>\n\n\t\t<Button \n\t\t\taria-label=\"profile\"\n\t\t\tclass=\"pd-zero bg-transp\"\n\t\t\t:submit=\"\n\t\t\t\tauth.state.access.status === false \n\t\t\t\t? \n\t\t\t\ta => router.push({name: 'Sign In'}) \n\t\t\t\t: \n\t\t\t\ta => router.push({ name: 'User Profile', params: { _id: auth.state.user._id }})\n\t\t\t\"\n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t>\n\t\t\t<IconProfile \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t</Button>\n\n\n\n\t\t<Select \n\t\t\tv-if=\"$i18n.availableLocales.length > 1\"\n\t\t\tv-model:select=\"$i18n.locale\"\n\t\t :options=\"$i18n.availableLocales\"\n\t\t :property=\"'value'\"\n class=\"pos-relative flex flex-column gap-small uppercase pd-thin t-semi radius-thin\"\n :class=\"{\n \t\t'bg-light t-black': theme === 'light',\n \t\t'bg-dark t-white': theme === 'dark' \n \t}\"\n />\n </div>\n</header>\n \n</template>\n\n<style lang=\"scss\">\n.location-button { \n\t&:hover {\n\t\tbox-shadow: inset 0 0 0 2px rgb(var(--main));\n\t}\n}\n\n.menu-btn {\n display: block;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n position: relative;\n}\n.menu-btn span,\n.menu-btn__before,\n.menu-btn__after {\n position: absolute;\n top: 50%;\n margin-top: -1px;\n left: 50%;\n margin-left: -10px;\n width: 20px;\n height: 2px;\n}\n.menu-btn__before,\n.menu-btn__after {\n display: block;\n transition: 0.2s;\n}\n.menu-btn__before {\n transform: translateY(-5px);\n}\n.menu-btn__after {\n transform: translateY(5px);\n}\n.menu-btn_active .menu-btn__before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active .menu-btn__after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-btn_active span:before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active span:after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-block {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.menu-nav {\n background-color: #fff;\n height: 50px;\n \n}\n.menu-nav__link {\n display: inline-block;\n text-decoration: none;\n color: #fff;\n margin-right: 20px;\n}\n.menu-nav__link {\n transition: 0.5s;\n transform-origin: right center;\n transform: translateX(50%);\n opacity: 0;\n}\n.menu-nav__link_active {\n transform: translateX(0%);\n opacity: 1;\n}\n\n</style>"],"names":["useRouter","useRoute","useI18n","globals.state","onMounted","shopcart.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCC,UAAM,SAASA,UAAAA,UAAS;AACxB,UAAM,QAAQC,UAAAA,SAAQ;AAEtB,UAAM,EAAE,EAAC,IAAKC,QAAAA,QAAO;AAGrB,aAAS,oBAAoB;AAC3BC,cAAAA,MAAc,sBAAsB;AAAA,IACtC;AAIAC,QAAAA,UAAU,MAAM;AACbC,eAAAA,QAAiB,YAAW;AAAA,IAC9B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -6,7 +6,7 @@ import { actions, getters } from "../../../../orders/store/shopcart.js";
|
|
|
6
6
|
import { state as state$1 } from "../../../../auth/views/store/auth.js";
|
|
7
7
|
import NotificationBadge from "../../../../notifications/components/elements/NotificationBadge.vue.js";
|
|
8
8
|
import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
|
|
9
|
-
import Select from "../../../../../components/Select/Select.
|
|
9
|
+
import Select from "../../../../../components/Select/Select.vue2.js";
|
|
10
10
|
import _sfc_main$3 from "../../../../icons/entities/IconShopcart.vue.js";
|
|
11
11
|
import _sfc_main$4 from "../../../../icons/entities/IconProfile.vue.js";
|
|
12
12
|
import _sfc_main$2 from "../../../../icons/navigation/IconSearch.vue.js";
|
|
@@ -84,7 +84,7 @@ const _sfc_main = {
|
|
|
84
84
|
key: 0,
|
|
85
85
|
onClick: _cache[1] || (_cache[1] = ($event) => unref(router).push({ path: "/" })),
|
|
86
86
|
theme: __props.theme,
|
|
87
|
-
class: "cursor-pointer"
|
|
87
|
+
class: "cursor-pointer h-2r"
|
|
88
88
|
}, null, 8, ["theme"])) : createCommentVNode("", true),
|
|
89
89
|
__props.location ? (openBlock(), createElementBlock("button", {
|
|
90
90
|
key: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/partials/Header.vue"],"sourcesContent":["<script setup=\"props\">\n\timport { computed, onMounted, toRefs, ref, inject } from 'vue'\n\n\timport { useRouter,useRoute } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t\n\timport * as globals from '@martyrs/src/modules/globals/views/store/globals.js'\n\timport * as shopcart from '@martyrs/src/modules/orders/store/shopcart.js'\n\timport * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n\t\n\t// Globasls Component\n\n\timport NotificationBadge from '@martyrs/src/modules/notifications/components/elements/NotificationBadge.vue';\n\t// import Navigation from '@martyrs/src/modules/globals/views/components/partials/Navigation.vue'\n\t// Martyrs Component\n\timport Button from '@martyrs/src/components/Button/Button.vue'\n\timport Select from '@martyrs/src/components/Select/Select.vue'\n\timport Checkbox from '@martyrs/src/components/Checkbox/Checkbox.vue'\n\t// Icons module\n\timport IconShopcart from '@martyrs/src/modules/icons/entities/IconShopcart.vue'\n\timport IconProfile from '@martyrs/src/modules/icons/entities/IconProfile.vue'\n\timport IconSearch from '@martyrs/src/modules/icons/navigation/IconSearch.vue';\n\t// Props\n\tconst props = defineProps({\n theme: {\n \ttype: String,\n\t default: \"light\"\n },\n logotype: {\n\t type: Object\n\t },\n\t location: {\n\t type: Boolean,\n\t\t default: true\n\t },\n\t theme_switcher: {\n\t type: Boolean,\n\t\t default: true\n\t },\n });\n\t// Accessing state\n\tconst router = useRouter()\n\tconst route = useRoute()\n\t// Localization\n\tconst { t } = useI18n()\n\t// const search = computed(() => store.products.state.search)\n\n\tfunction openLocationPopup() {\n\t globals.state.isOpenLocationPopup = true;\n\t}\n\t/////////////////////////////\n\t// MOUNTED\n\t/////////////////////////////\n\tonMounted(() => {\n shopcart.actions.setShopcart()\n });\n</script>\n\n<template>\n\t<header \n\t\tid=\"header\" \n\t\tclass=\"\n\t\t\tpd-thin \n\t\t\tgap-micro\n\t\t\tflex-justify-between\n\t\t\tflex-nowrap\n\t\t\tflex\n\t\t\th-4r\n\t\t\tw-100\n\t\t\tz-index-2 \n\t\t\tpos-relative pos-t-0\n\t\t\tbr-b\n\t\t\tbr-solid\n\t\t\"\n\t\t:class=\"{\n \t\t't-black br-light': theme === 'light',\n \t\t't-white br-dark': theme === 'dark' \n \t}\"\n\t>\n\t<div class=\"flex-nowrap flex-v-center flex-justify-start flex gap-micro \">\n\t\t<!-- MENU -->\n\t\t<button \n\t\t\taria-label=\"menu\"\n\t\t\t@click=\"() => globals.state.isOpenSidebar = !globals.state.isOpenSidebar\" \n\t\t\tclass=\"cursor-pointer menu-btn\"\n\t\t\t:class=\"{\n\t\t\t\t'menu-btn_active': globals.state.isOpenSidebar\n\t\t\t}\"\n\t\t>\n\t <span\n\t \tclass=\"no-events\"\n\t\t :class=\"{\n\t\t 'bg-black': theme === 'light',\n\t\t 'bg-white': theme === 'dark'\n\t\t }\"\n\t\t >\n\t\t <span class=\"menu-btn__before\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t <span class=\"menu-btn__after\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t </span>\n\t </button>\n\n\t\t<!-- LOGO -->\n\t\t<component\n\t\t\tv-if=\"logotype\"\n\t\t :is=\"logotype\"\n\t\t @click=\"router.push({ path: '/' })\" \n\t\t :theme=\"theme\"\n\t\t class=\"cursor-pointer\"\n\t\t/>\n\n\t\t<button\n\t\t\tv-if=\"location\"\n\t\t\taria-label=\"button_location\"\n \tclass=\"\n \t\tcursor-pointer\n \t\tbg-transp \n \t\tpd-l-micro pd-r-micro\n \t\tradius-extra \n \t\tuppercase \n \t\tt-semi\n \t\tbr-solid \n \t\tbr-2px \n \t\ttransition-linear\n \t\tt-nowrap\n \t\n \t\"\n \t:class=\"{\n \t\t'fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white': theme === 'light',\n \t\t'fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black': theme === 'dark' \n \t}\"\n \t@click=\"openLocationPopup()\"\n >\n \t<svg class=\"i-small\" :fill=\"'inherit'\" xmlns=\"http://www.w3.org/2000/svg\" width=\"50\" height=\"67\" viewBox=\"0 0 50 67\" fill=\"none\">\n\t\t\t <path d=\"M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z\" :fill=\"'inherit'\"/>\n\t\t\t</svg>\n \t {{globals.state.position?.country ? globals.state.position.country : 'World'}}\n </button>\n </div>\n\n \t<slot></slot>\n\n\t<div class=\"flex-justify-end flex-v-center flex-nowrap flex gap-micro\">\n\t\t<Button \n\t\t\tv-if=\"router.hasRoute('Search') && route.meta.header_search\"\n\t\t\taria-label=\"search\"\n\t\t\tclass=\"pd-zero bg-transp\"\n\t\t\t:class=\"route.meta.header_search_class\"\n\t\t\t:submit=\"() => router.push({name: 'Search'})\"\n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t>\n\t\t\t<IconSearch \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t</Button>\n\t\n\t\t<Button\n\t\t\taria-label=\"shopcart\"\n\t\t\t:submit=\"a => shopcart.actions.toggleShopcart()\" \n\t\t\t:counter=\"shopcart.getters.cartTotalAmount\" \n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t\tclass=\"pd-zero mn-r-micro\"\n\t\t\t> \n\t\t\t<IconShopcart \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t\t<!-- <div class=\"w-max p-small pos-absolute pos-t-100 pos-r-0\">Product Added to Shopcart</div> -->\n\t\t</Button>\n\n\n\t\t<NotificationBadge\n\t\t\tv-if=\"auth.state.user._id\"\n\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t/>\n\n\t\t<Button \n\t\t\taria-label=\"profile\"\n\t\t\tclass=\"pd-zero bg-transp\"\n\t\t\t:submit=\"\n\t\t\t\tauth.state.access.status === false \n\t\t\t\t? \n\t\t\t\ta => router.push({name: 'Sign In'}) \n\t\t\t\t: \n\t\t\t\ta => router.push({ name: 'User Profile', params: { _id: auth.state.user._id }})\n\t\t\t\"\n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t>\n\t\t\t<IconProfile \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t</Button>\n\n\n\n\t\t<Select \n\t\t\tv-if=\"$i18n.availableLocales.length > 1\"\n\t\t\tv-model:select=\"$i18n.locale\"\n\t\t :options=\"$i18n.availableLocales\"\n\t\t :property=\"'value'\"\n class=\"pos-relative flex flex-column gap-small uppercase pd-thin t-semi radius-thin\"\n :class=\"{\n \t\t'bg-light t-black': theme === 'light',\n \t\t'bg-dark t-white': theme === 'dark' \n \t}\"\n />\n </div>\n</header>\n \n</template>\n\n<style lang=\"scss\">\n.location-button { \n\t&:hover {\n\t\tbox-shadow: inset 0 0 0 2px rgb(var(--main));\n\t}\n}\n\n.menu-btn {\n display: block;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n position: relative;\n}\n.menu-btn span,\n.menu-btn__before,\n.menu-btn__after {\n position: absolute;\n top: 50%;\n margin-top: -1px;\n left: 50%;\n margin-left: -10px;\n width: 20px;\n height: 2px;\n}\n.menu-btn__before,\n.menu-btn__after {\n display: block;\n transition: 0.2s;\n}\n.menu-btn__before {\n transform: translateY(-5px);\n}\n.menu-btn__after {\n transform: translateY(5px);\n}\n.menu-btn_active .menu-btn__before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active .menu-btn__after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-btn_active span:before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active span:after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-block {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.menu-nav {\n background-color: #fff;\n height: 50px;\n \n}\n.menu-nav__link {\n display: inline-block;\n text-decoration: none;\n color: #fff;\n margin-right: 20px;\n}\n.menu-nav__link {\n transition: 0.5s;\n transform-origin: right center;\n transform: translateX(50%);\n opacity: 0;\n}\n.menu-nav__link_active {\n transform: translateX(0%);\n opacity: 1;\n}\n\n</style>"],"names":["globals.state","shopcart.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCC,UAAM,SAAS,UAAS;AACxB,UAAM,QAAQ,SAAQ;AAEtB,UAAM,EAAE,EAAC,IAAK,QAAO;AAGrB,aAAS,oBAAoB;AAC3BA,YAAc,sBAAsB;AAAA,IACtC;AAIA,cAAU,MAAM;AACbC,cAAiB,YAAW;AAAA,IAC9B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"Header.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/partials/Header.vue"],"sourcesContent":["<script setup=\"props\">\n\timport { computed, onMounted, toRefs, ref, inject } from 'vue'\n\n\timport { useRouter,useRoute } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t\n\timport * as globals from '@martyrs/src/modules/globals/views/store/globals.js'\n\timport * as shopcart from '@martyrs/src/modules/orders/store/shopcart.js'\n\timport * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n\t\n\t// Globasls Component\n\n\timport NotificationBadge from '@martyrs/src/modules/notifications/components/elements/NotificationBadge.vue';\n\t// import Navigation from '@martyrs/src/modules/globals/views/components/partials/Navigation.vue'\n\t// Martyrs Component\n\timport Button from '@martyrs/src/components/Button/Button.vue'\n\timport Select from '@martyrs/src/components/Select/Select.vue'\n\timport Checkbox from '@martyrs/src/components/Checkbox/Checkbox.vue'\n\t// Icons module\n\timport IconShopcart from '@martyrs/src/modules/icons/entities/IconShopcart.vue'\n\timport IconProfile from '@martyrs/src/modules/icons/entities/IconProfile.vue'\n\timport IconSearch from '@martyrs/src/modules/icons/navigation/IconSearch.vue';\n\t// Props\n\tconst props = defineProps({\n theme: {\n \ttype: String,\n\t default: \"light\"\n },\n logotype: {\n\t type: Object\n\t },\n\t location: {\n\t type: Boolean,\n\t\t default: true\n\t },\n\t theme_switcher: {\n\t type: Boolean,\n\t\t default: true\n\t },\n });\n\t// Accessing state\n\tconst router = useRouter()\n\tconst route = useRoute()\n\t// Localization\n\tconst { t } = useI18n()\n\t// const search = computed(() => store.products.state.search)\n\n\tfunction openLocationPopup() {\n\t globals.state.isOpenLocationPopup = true;\n\t}\n\t/////////////////////////////\n\t// MOUNTED\n\t/////////////////////////////\n\tonMounted(() => {\n shopcart.actions.setShopcart()\n });\n</script>\n\n<template>\n\t<header \n\t\tid=\"header\" \n\t\tclass=\"\n\t\t\tpd-thin \n\t\t\tgap-micro\n\t\t\tflex-justify-between\n\t\t\tflex-nowrap\n\t\t\tflex\n\t\t\th-4r\n\t\t\tw-100\n\t\t\tz-index-2 \n\t\t\tpos-relative pos-t-0\n\t\t\tbr-b\n\t\t\tbr-solid\n\t\t\"\n\t\t:class=\"{\n \t\t't-black br-light': theme === 'light',\n \t\t't-white br-dark': theme === 'dark' \n \t}\"\n\t>\n\t<div class=\"flex-nowrap flex-v-center flex-justify-start flex gap-micro \">\n\t\t<!-- MENU -->\n\t\t<button \n\t\t\taria-label=\"menu\"\n\t\t\t@click=\"() => globals.state.isOpenSidebar = !globals.state.isOpenSidebar\" \n\t\t\tclass=\"cursor-pointer menu-btn\"\n\t\t\t:class=\"{\n\t\t\t\t'menu-btn_active': globals.state.isOpenSidebar\n\t\t\t}\"\n\t\t>\n\t <span\n\t \tclass=\"no-events\"\n\t\t :class=\"{\n\t\t 'bg-black': theme === 'light',\n\t\t 'bg-white': theme === 'dark'\n\t\t }\"\n\t\t >\n\t\t <span class=\"menu-btn__before\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t <span class=\"menu-btn__after\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t </span>\n\t </button>\n\n\t\t<!-- LOGO -->\n\t\t<component\n\t\t\tv-if=\"logotype\"\n\t\t :is=\"logotype\"\n\t\t @click=\"router.push({ path: '/' })\" \n\t\t :theme=\"theme\"\n\t\t class=\"cursor-pointer h-2r\"\n\t\t/>\n\n\t\t<button\n\t\t\tv-if=\"location\"\n\t\t\taria-label=\"button_location\"\n \tclass=\"\n \t\tcursor-pointer\n \t\tbg-transp \n \t\tpd-l-micro pd-r-micro\n \t\tradius-extra \n \t\tuppercase \n \t\tt-semi\n \t\tbr-solid \n \t\tbr-2px \n \t\ttransition-linear\n \t\tt-nowrap\n \t\n \t\"\n \t:class=\"{\n \t\t'fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white': theme === 'light',\n \t\t'fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black': theme === 'dark' \n \t}\"\n \t@click=\"openLocationPopup()\"\n >\n \t<svg class=\"i-small\" :fill=\"'inherit'\" xmlns=\"http://www.w3.org/2000/svg\" width=\"50\" height=\"67\" viewBox=\"0 0 50 67\" fill=\"none\">\n\t\t\t <path d=\"M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z\" :fill=\"'inherit'\"/>\n\t\t\t</svg>\n \t {{globals.state.position?.country ? globals.state.position.country : 'World'}}\n </button>\n </div>\n\n \t<slot></slot>\n\n\t<div class=\"flex-justify-end flex-v-center flex-nowrap flex gap-micro\">\n\t\t<Button \n\t\t\tv-if=\"router.hasRoute('Search') && route.meta.header_search\"\n\t\t\taria-label=\"search\"\n\t\t\tclass=\"pd-zero bg-transp\"\n\t\t\t:class=\"route.meta.header_search_class\"\n\t\t\t:submit=\"() => router.push({name: 'Search'})\"\n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t>\n\t\t\t<IconSearch \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t</Button>\n\t\n\t\t<Button\n\t\t\taria-label=\"shopcart\"\n\t\t\t:submit=\"a => shopcart.actions.toggleShopcart()\" \n\t\t\t:counter=\"shopcart.getters.cartTotalAmount\" \n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t\tclass=\"pd-zero mn-r-micro\"\n\t\t\t> \n\t\t\t<IconShopcart \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t\t<!-- <div class=\"w-max p-small pos-absolute pos-t-100 pos-r-0\">Product Added to Shopcart</div> -->\n\t\t</Button>\n\n\n\t\t<NotificationBadge\n\t\t\tv-if=\"auth.state.user._id\"\n\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t/>\n\n\t\t<Button \n\t\t\taria-label=\"profile\"\n\t\t\tclass=\"pd-zero bg-transp\"\n\t\t\t:submit=\"\n\t\t\t\tauth.state.access.status === false \n\t\t\t\t? \n\t\t\t\ta => router.push({name: 'Sign In'}) \n\t\t\t\t: \n\t\t\t\ta => router.push({ name: 'User Profile', params: { _id: auth.state.user._id }})\n\t\t\t\"\n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t>\n\t\t\t<IconProfile \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t</Button>\n\n\n\n\t\t<Select \n\t\t\tv-if=\"$i18n.availableLocales.length > 1\"\n\t\t\tv-model:select=\"$i18n.locale\"\n\t\t :options=\"$i18n.availableLocales\"\n\t\t :property=\"'value'\"\n class=\"pos-relative flex flex-column gap-small uppercase pd-thin t-semi radius-thin\"\n :class=\"{\n \t\t'bg-light t-black': theme === 'light',\n \t\t'bg-dark t-white': theme === 'dark' \n \t}\"\n />\n </div>\n</header>\n \n</template>\n\n<style lang=\"scss\">\n.location-button { \n\t&:hover {\n\t\tbox-shadow: inset 0 0 0 2px rgb(var(--main));\n\t}\n}\n\n.menu-btn {\n display: block;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n position: relative;\n}\n.menu-btn span,\n.menu-btn__before,\n.menu-btn__after {\n position: absolute;\n top: 50%;\n margin-top: -1px;\n left: 50%;\n margin-left: -10px;\n width: 20px;\n height: 2px;\n}\n.menu-btn__before,\n.menu-btn__after {\n display: block;\n transition: 0.2s;\n}\n.menu-btn__before {\n transform: translateY(-5px);\n}\n.menu-btn__after {\n transform: translateY(5px);\n}\n.menu-btn_active .menu-btn__before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active .menu-btn__after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-btn_active span:before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active span:after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-block {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.menu-nav {\n background-color: #fff;\n height: 50px;\n \n}\n.menu-nav__link {\n display: inline-block;\n text-decoration: none;\n color: #fff;\n margin-right: 20px;\n}\n.menu-nav__link {\n transition: 0.5s;\n transform-origin: right center;\n transform: translateX(50%);\n opacity: 0;\n}\n.menu-nav__link_active {\n transform: translateX(0%);\n opacity: 1;\n}\n\n</style>"],"names":["globals.state","shopcart.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCC,UAAM,SAAS,UAAS;AACxB,UAAM,QAAQ,SAAQ;AAEtB,UAAM,EAAE,EAAC,IAAK,QAAO;AAGrB,aAAS,oBAAoB;AAC3BA,YAAc,sBAAsB;AAAA,IACtC;AAIA,cAAU,MAAM;AACbC,cAAiB,YAAW;AAAA,IAC9B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
|
|
|
5
5
|
const IconChevronBottom = require("../../../../icons/navigation/IconChevronBottom.vue.cjs");
|
|
6
6
|
const globals = require("../../store/globals.cjs");
|
|
7
7
|
const auth = require("../../../../auth/views/store/auth.cjs");
|
|
8
|
-
;/* empty css
|
|
8
|
+
;/* empty css */
|
|
9
9
|
;/* empty css */
|
|
10
10
|
;/* empty css */
|
|
11
11
|
const _pluginVue_exportHelper = require("../../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|