@ozdao/prometheus-framework 0.2.127 → 0.2.129
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +1 -1
- package/dist/auth.server.js +28 -37
- package/dist/auth.server.mjs +28 -37
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/files.server.js +1 -1
- package/dist/files.server.mjs +1 -1
- package/dist/gallery.server.js +6 -2
- package/dist/gallery.server.mjs +6 -2
- package/dist/{index-BCCiEK_u.js → index-BshfsiQG.js} +8 -4
- package/dist/{index-B6a1mPgp.mjs → index-DKtnWDNC.mjs} +8 -4
- package/dist/{main-CmL_j3wv.mjs → main-DvdaURTh.mjs} +3261 -3154
- package/dist/main-hLtpe4Hr.js +92 -0
- package/dist/main.css +1 -1
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/node_modules/zod/lib/index.cjs +1 -1
- package/dist/node_modules/zod/lib/index.js +1162 -1033
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +1 -1
- package/dist/organizations.server.mjs +1 -1
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +89 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +1 -89
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +73 -0
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +23 -22
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +1 -27
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +27 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +1 -58
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +58 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +144 -112
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +5 -5
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +127 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -127
- package/dist/prometheus-framework/src/components/Menu/MenuItem.vue.cjs +1 -0
- package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/MenuItem.vue.js +1 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue.js +6 -6
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +77 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -77
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -103
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +7 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +114 -77
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +7 -22
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +62 -70
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +17 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +66 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +0 -66
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js +18 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +46 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +20 -16
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +27 -4
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +14 -12
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +111 -93
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +13 -14
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +20 -22
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +5 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +154 -0
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +27 -0
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +26 -27
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +22 -23
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +30 -29
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +72 -51
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +51 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +22 -22
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +62 -48
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +43 -44
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +24 -25
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/dist/{web-Bk_OtXgv.js → web-CVIepGUM.js} +1 -1
- package/dist/{web-BHzpMOmk.mjs → web-Dt2JR41o.mjs} +1 -1
- package/package.json +3 -2
- package/src/{modules/mobile/components → components}/BottomSheet/BottomSheet.vue +24 -21
- package/src/components/Button/Button.vue +20 -3
- package/src/components/Feed/Feed.vue +28 -3
- package/src/components/FieldBig/FieldBig.vue +2 -2
- package/src/components/Sidebar/Sidebar.vue +13 -5
- package/src/components/index.js +0 -1
- package/src/main.js +0 -4
- package/src/modules/auth/controllers/auth.controller.js +32 -48
- package/src/modules/auth/router/auth.js +1 -4
- package/src/modules/auth/store/auth.js +28 -24
- package/src/modules/backoffice/components/pages/Dashboard.vue +29 -56
- package/src/modules/backoffice/router/backoffice.js +4 -15
- package/src/modules/community/components/blocks/CardBlogpost.vue +28 -26
- package/src/modules/community/components/layouts/Community.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +1 -1
- package/src/modules/gallery/components/pages/Gallery.vue +1 -2
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -1
- package/src/modules/gallery/router/gallery.backoffice.router.js +14 -0
- package/src/modules/globals/components/blocks/BlockFilter.vue +44 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +5 -3
- package/src/modules/globals/components/layouts/Client.vue +99 -43
- package/src/modules/globals/components/pages/401.vue +5 -0
- package/src/modules/globals/components/pages/404.vue +5 -0
- package/src/modules/globals/components/partials/Footer.vue +17 -5
- package/src/modules/globals/components/partials/Header.vue +37 -18
- package/src/modules/globals/components/partials/Navigation.vue +7 -2
- package/src/modules/landing/components/sections/MobileApp.vue +2 -2
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
- package/src/modules/landing/router/landing.js +2 -12
- package/src/modules/legal/components/pages/Legal.vue +2 -2
- package/src/modules/marketplace/components/layouts/Marketplace.vue +30 -13
- package/src/modules/marketplace/components/pages/Catalog.vue +2 -1
- package/src/modules/marketplace/router/marketplace.js +12 -10
- package/src/modules/marketplace/store/marketplace.js +25 -1
- package/src/modules/middlewares/client/auth.validation.js +5 -2
- package/src/modules/middlewares/server/authJwt.js +12 -6
- package/src/modules/middlewares/server/verifyAccesses.js +7 -3
- package/src/modules/orders/components/pages/OrderCreate.vue +34 -22
- package/src/modules/orders/components/sections/AskToLogin.vue +8 -7
- package/src/modules/orders/components/sections/FormDelivery.vue +6 -6
- package/src/modules/orders/router/orders.router.js +6 -3
- package/src/modules/organizations/components/pages/Members.vue +2 -2
- package/src/modules/organizations/components/pages/Organization.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +204 -0
- package/src/modules/organizations/router/backoffice.router.js +25 -0
- package/src/modules/organizations/router/organizations.js +3 -1
- package/src/modules/pages/router/pages.router.js +15 -0
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +11 -12
- package/src/modules/products/components/pages/Product.vue +7 -3
- package/src/modules/products/components/pages/ProductRecommmendation.vue +6 -5
- package/src/modules/products/components/sections/FilterProducts.vue +6 -6
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/products/components/sections/PopularProducts.vue +1 -3
- package/src/modules/products/components/sections/SectionProduct.vue +8 -8
- package/src/modules/spots/components/layouts/Spots.vue +33 -31
- package/src/modules/spots/components/pages/Map.vue +380 -353
- package/src/modules/spots/router/spots.js +3 -1
- package/src/modules/users/components/pages/Profile.vue +4 -4
- package/src/modules/users/components/pages/ProfileEdit.vue +4 -3
- package/src/modules/wallet/controllers/routes/payments.routes.js +0 -1
- package/src/styles/base/all.scss +4 -0
- package/src/styles/config.scss +2 -1
- package/src/styles/layout.scss +0 -1
- package/dist/credentials.schema-CDZCKfEI.mjs +0 -106
- package/dist/credentials.schema-CfhPcsuI.js +0 -105
- package/dist/index-CGIn4v5E.mjs +0 -217
- package/dist/index-CL9l0HRS.js +0 -216
- package/dist/main-8APITHuW.mjs +0 -14201
- package/dist/main-8N2Jmsuk.js +0 -91
- package/dist/main-BJvlNekm.mjs +0 -13631
- package/dist/main-BQisDfLk.js +0 -92
- package/dist/main-BV1Yv9Hy.js +0 -92
- package/dist/main-Ba3zK8PO.js +0 -92
- package/dist/main-Btlny-89.mjs +0 -14207
- package/dist/main-Bw0PvTs-.mjs +0 -13616
- package/dist/main-ByCtZbHD.mjs +0 -13752
- package/dist/main-CF35oB7q.js +0 -92
- package/dist/main-CX2ISR43.mjs +0 -13629
- package/dist/main-CXObXjv-.js +0 -92
- package/dist/main-CkeuHuCY.mjs +0 -13619
- package/dist/main-CnfcBov2.mjs +0 -13740
- package/dist/main-D0va05OD.js +0 -92
- package/dist/main-D50VqYhy.js +0 -91
- package/dist/main-D8gNZLSa.js +0 -92
- package/dist/main-DL3vRQCi.js +0 -92
- package/dist/main-DPsHxX0l.mjs +0 -13633
- package/dist/main-DTlUA63C.mjs +0 -13617
- package/dist/main-DfD5hLQo.mjs +0 -13633
- package/dist/main-Dh6Zfei9.js +0 -92
- package/dist/main-DmNP-t33.mjs +0 -13625
- package/dist/main-Ds3Z5x5d.mjs +0 -14206
- package/dist/main-DwyUYWFX.js +0 -92
- package/dist/main-VcxO-jAt.js +0 -92
- package/dist/main-cffh4bbv.js +0 -92
- package/dist/main-o_2eO2tP.mjs +0 -14208
- package/dist/main-pGo7JpSP.js +0 -92
- package/dist/metadata.schema-BLGSCSmy.mjs +0 -55
- package/dist/metadata.schema-Cu_mPkjE.js +0 -77
- package/dist/metadata.schema-DWR97jhW.js +0 -54
- package/dist/metadata.schema-cbFgazeK.mjs +0 -78
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +0 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +0 -126
- package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.cjs +0 -7
- package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.js +0 -38
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +0 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +0 -43
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +0 -373
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/utils.cjs +0 -1
- package/dist/prometheus-framework/src/components/FieldPhone/utils.js +0 -259
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +0 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +0 -62
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +0 -110
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +0 -27
- package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.js +0 -29
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +0 -65
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +0 -87
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +0 -51
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +0 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +0 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +0 -53
- package/dist/queryProcessor-BJdKh0Ow.mjs +0 -162
- package/dist/queryProcessor-BJoJAetd.mjs +0 -162
- package/dist/queryProcessor-BUDoM96e.js +0 -148
- package/dist/queryProcessor-Cl6sU582.mjs +0 -149
- package/dist/queryProcessor-DRMo_GWK.js +0 -161
- package/dist/queryProcessor-DWf9tsis.js +0 -161
- package/dist/web-B2xhKZNK.js +0 -1
- package/dist/web-B8tq3Fda.mjs +0 -54
- package/dist/web-BDaOF322.js +0 -1
- package/dist/web-BEJCRWop.mjs +0 -54
- package/dist/web-BNKN7kk3.mjs +0 -54
- package/dist/web-BX5um81l.js +0 -1
- package/dist/web-ByJkgGrt.js +0 -1
- package/dist/web-C0sFgeYh.mjs +0 -54
- package/dist/web-CQQEUA9l.js +0 -1
- package/dist/web-CQiHBOEN.mjs +0 -54
- package/dist/web-CXzcKdk4.mjs +0 -54
- package/dist/web-CciQvENI.js +0 -1
- package/dist/web-CkrMHYIU.js +0 -1
- package/dist/web-CtVocufd.js +0 -1
- package/dist/web-CvRd3N_J.mjs +0 -54
- package/dist/web-D0ugI6ra.js +0 -1
- package/dist/web-D2Em-p-C.mjs +0 -54
- package/dist/web-D9Cfcy5k.js +0 -1
- package/dist/web-DEysqj0n.js +0 -1
- package/dist/web-DNq1tHCE.mjs +0 -54
- package/dist/web-DTzbVshr.mjs +0 -54
- package/dist/web-Douq6xn6.js +0 -1
- package/dist/web-DtWmpLE-.mjs +0 -54
- package/dist/web-TGdVOTnw.js +0 -1
- package/dist/web-VFuzUsNl.mjs +0 -54
- package/dist/web-_W9a_nWD.mjs +0 -54
- package/dist/web-kg3KgbAF.js +0 -1
- package/dist/web-nVxTNRH4.mjs +0 -54
- package/src/components/Magnifier/Magnifier.vue +0 -89
- /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue.cjs +0 -0
- /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue.js +0 -0
- /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue2.cjs +0 -0
- /package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/Menu.vue2.js +0 -0
- /package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue2.cjs +0 -0
- /package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue2.js +0 -0
- /package/src/{modules/mobile/components → components}/Menu/Menu.vue +0 -0
- /package/src/{modules/mobile/components → components}/Menu/MenuItem.vue +0 -0
- /package/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue +0 -0
- /package/src/modules/{mobile/components/BottomNavigation → globals/components/partials}/BottomNavigation.vue +0 -0
- /package/src/modules/{mobile/components/NavigationBar → globals/components/partials}/NavigationBar.vue +0 -0
- /package/src/modules/{mobile/components/Walkthrough → globals/components/sections}/Walkthrough.vue +0 -0
- /package/src/modules/{landing → pages}/components/pages/Page.vue +0 -0
- /package/src/modules/{backoffice/components/admin → pages/components/pages}/PageEdit.vue +0 -0
- /package/src/modules/{backoffice/components/admin → pages/components/pages}/Pages.vue +0 -0
@@ -4,16 +4,29 @@
|
|
4
4
|
<Loader v-if="!page" class="pos-fixed"/>
|
5
5
|
</transition>
|
6
6
|
|
7
|
+
<transition
|
8
|
+
name="scaleTransition"
|
9
|
+
mode="out-in"
|
10
|
+
>
|
11
|
+
<section
|
12
|
+
v-if="MOBILE_APP && FirstUse"
|
13
|
+
class="w-100"
|
14
|
+
>
|
15
|
+
<Walkthrough
|
16
|
+
@updateFirstUse="updateFirstUse"
|
17
|
+
:slides="[1,2,3]"
|
18
|
+
/>
|
19
|
+
</section>
|
20
|
+
</transition>
|
21
|
+
|
7
22
|
<transition name="moveFromTop" mode="out-in" appear>
|
8
23
|
<Header
|
9
24
|
ref="header"
|
10
|
-
class="transition-ease-in-out br-b br-solid br-grey-transp-10 pos-t-0"
|
11
|
-
:theme="
|
25
|
+
class="transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0"
|
26
|
+
:theme="headerTheme"
|
12
27
|
:class="{
|
13
28
|
'pos-l-70': store.globals.state.isOpenSidebar,
|
14
29
|
'pos-l-0': !store.globals.state.isOpenSidebar,
|
15
|
-
'pos-fixed': route.name === 'Home',
|
16
|
-
'bg-white ': route.name !== 'Home'
|
17
30
|
}"
|
18
31
|
/>
|
19
32
|
</transition>
|
@@ -25,21 +38,23 @@
|
|
25
38
|
/>
|
26
39
|
</transition>
|
27
40
|
|
28
|
-
<
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
41
|
+
<transition name="moveFromTop" mode="out-in" appear>
|
42
|
+
<Sidebar
|
43
|
+
v-if="show && store.globals.state.isOpenSidebar"
|
44
|
+
:stateSidebar="store.globals.state.isOpenSidebar"
|
45
|
+
@closeSidebar="() => {
|
46
|
+
store.globals.state.isOpenSidebar = !store.globals.state.isOpenSidebar
|
47
|
+
}"
|
34
48
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
49
|
+
class="transition-ease-in-out pos-absolute w-70 z-index-0 bg-light"
|
50
|
+
:class="{
|
51
|
+
'pos-l-70-negative': !store.globals.state.isOpenSidebar,
|
52
|
+
'pos-l-0': store.globals.state.isOpenSidebar
|
53
|
+
}"
|
54
|
+
>
|
55
|
+
<Navigation class="h3 pd-big cols-1" />
|
56
|
+
</Sidebar>
|
57
|
+
</transition>
|
43
58
|
|
44
59
|
<Popup
|
45
60
|
@close-popup="closeLocationPopup"
|
@@ -50,7 +65,7 @@
|
|
50
65
|
</Popup>
|
51
66
|
|
52
67
|
<section
|
53
|
-
v-if="show"
|
68
|
+
v-if="((!FirstUse && MOBILE_APP) || !MOBILE_APP) && show"
|
54
69
|
id="screen"
|
55
70
|
ref="screen"
|
56
71
|
@scroll="handleScroll"
|
@@ -73,15 +88,17 @@
|
|
73
88
|
class="z-index-7"
|
74
89
|
/>
|
75
90
|
|
76
|
-
<
|
77
|
-
<
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
91
|
+
<!-- <div class="pos-relative w-100 h-100"> -->
|
92
|
+
<router-view v-slot="{ Component, route }">
|
93
|
+
<transition @before-enter="scrollTop" name="scaleIn" mode="out-in" appear>
|
94
|
+
<component
|
95
|
+
ref="page"
|
96
|
+
:is="Component"
|
97
|
+
:key="route.path"
|
98
|
+
/>
|
99
|
+
</transition>
|
100
|
+
</router-view>
|
101
|
+
<!-- </div> -->
|
85
102
|
|
86
103
|
<Footer />
|
87
104
|
</section>
|
@@ -95,7 +112,7 @@
|
|
95
112
|
|
96
113
|
|
97
114
|
<script setup>
|
98
|
-
import { computed, ref, onMounted,provide, inject, onUnmounted } from 'vue'
|
115
|
+
import { computed, ref, onMounted, provide, inject, onUnmounted } from 'vue'
|
99
116
|
// Router
|
100
117
|
import { useRoute, useRouter } from 'vue-router'
|
101
118
|
// Store
|
@@ -110,10 +127,35 @@
|
|
110
127
|
import Header from '@pf/src/modules/globals/components/partials/Header.vue'
|
111
128
|
import Navigation from '@pf/src/modules/globals/components/partials/Navigation.vue'
|
112
129
|
import Footer from '@pf/src/modules/globals/components/partials/Footer.vue'
|
130
|
+
import NavigationBar from '@pf/src/modules/globals/components/partials/NavigationBar.vue';
|
131
|
+
import BottomNavigation from '@pf/src/modules/globals/components/partials/BottomNavigation.vue';
|
113
132
|
|
114
|
-
import NavigationBar from '@pf/src/modules/mobile/components/NavigationBar/NavigationBar.vue';
|
115
|
-
import BottomNavigation from '@pf/src/modules/mobile/components/BottomNavigation/BottomNavigation.vue';
|
116
133
|
import ShopCart from '@pf/src/modules/orders/components/partials/ShopCart.vue'
|
134
|
+
// Walkthrough
|
135
|
+
let Walkthrough;
|
136
|
+
|
137
|
+
if (__MOBILE_APP__) {
|
138
|
+
Walkthrough = () => defineAsyncComponent(() =>
|
139
|
+
import('@pf/src/modules/globals/components/sections/Walkthrough.vue')
|
140
|
+
);
|
141
|
+
} else {
|
142
|
+
Walkthrough = null;
|
143
|
+
}
|
144
|
+
/////////////////////////////
|
145
|
+
// FIRST USE
|
146
|
+
/////////////////////////////
|
147
|
+
const FirstUse = ref(false);
|
148
|
+
|
149
|
+
import { Preferences } from '@capacitor/preferences';
|
150
|
+
|
151
|
+
async function getFirstUse() {
|
152
|
+
const ret = await Preferences.get({ key: 'first-use' });
|
153
|
+
FirstUse.value = ret.value ? JSON.parse(ret.value) : true;
|
154
|
+
}
|
155
|
+
|
156
|
+
const updateFirstUse = (value) => {
|
157
|
+
FirstUse.value = value;
|
158
|
+
}
|
117
159
|
/////////////////////////////
|
118
160
|
// CREATED
|
119
161
|
/////////////////////////////
|
@@ -131,6 +173,14 @@
|
|
131
173
|
const scrollOffset = ref(0)
|
132
174
|
let isScrolled = false
|
133
175
|
const header = ref(null)
|
176
|
+
|
177
|
+
const headerTheme = computed(() => {
|
178
|
+
if (scrollOffset.value > 50) {
|
179
|
+
return 'light'
|
180
|
+
} else {
|
181
|
+
return route.meta.header_theme || 'light'
|
182
|
+
}
|
183
|
+
})
|
134
184
|
/////////////////////////////
|
135
185
|
// Methods
|
136
186
|
/////////////////////////////
|
@@ -141,26 +191,26 @@
|
|
141
191
|
document.getElementById('app').scrollIntoView();
|
142
192
|
}
|
143
193
|
const handleScroll = () => {
|
144
|
-
|
194
|
+
scrollOffset.value = event.target.scrollTop
|
145
195
|
|
146
|
-
if (
|
196
|
+
if (scrollOffset.value > 50 && !isScrolled) {
|
147
197
|
isScrolled = true;
|
148
|
-
|
198
|
+
|
149
199
|
header.value.$el.classList.add('scrolled');
|
150
|
-
header.value.$el.style.transition = 'background 0.3s ease-in-out';
|
151
200
|
|
152
201
|
const firstRect = header.value.$el.getBoundingClientRect();
|
153
202
|
const invert = -firstRect.top;
|
154
203
|
|
155
204
|
header.value.$el.style.transform = `translateY(${invert}px)`;
|
156
205
|
|
206
|
+
// headerTheme.value - light
|
207
|
+
|
157
208
|
setTimeout(() => {
|
158
209
|
header.value.$el.style.transform = 'translateY(0)';
|
159
210
|
}, 0);
|
160
|
-
} else if (
|
211
|
+
} else if (scrollOffset.value <= 75 && isScrolled) {
|
161
212
|
isScrolled = false;
|
162
213
|
header.value.$el.classList.remove('scrolled');
|
163
|
-
header.value.$el.style.transition = 'background 0.3s ease-in-out';
|
164
214
|
|
165
215
|
const firstRect = header.value.$el.getBoundingClientRect();
|
166
216
|
const invert = firstRect.top;
|
@@ -176,7 +226,18 @@
|
|
176
226
|
// MOUNTED
|
177
227
|
/////////////////////////////
|
178
228
|
onMounted(async () => {
|
179
|
-
|
229
|
+
await getFirstUse()
|
230
|
+
|
231
|
+
if ('serviceWorker' in navigator) {
|
232
|
+
window.addEventListener('load', () => {
|
233
|
+
navigator.serviceWorker.register('/service-worker.js').then(registration => {
|
234
|
+
console.log('SW registered: ', registration);
|
235
|
+
}).catch(registrationError => {
|
236
|
+
console.log('SW registration failed: ', registrationError);
|
237
|
+
});
|
238
|
+
});
|
239
|
+
}
|
240
|
+
|
180
241
|
if (page) show.value = true
|
181
242
|
|
182
243
|
const savedPosition = localStorage.getItem('position');
|
@@ -194,10 +255,6 @@
|
|
194
255
|
</script>
|
195
256
|
|
196
257
|
<style lang="scss">;
|
197
|
-
.scrolled {
|
198
|
-
background: black !important;
|
199
|
-
}
|
200
|
-
|
201
258
|
.scaleIn-enter-active,
|
202
259
|
.scaleIn-leave-active {
|
203
260
|
transform: scale(1);
|
@@ -236,7 +293,6 @@
|
|
236
293
|
transform: translateY(-1rem);
|
237
294
|
opacity: 0;
|
238
295
|
transition: all 0.5s ease;
|
239
|
-
|
240
296
|
}
|
241
297
|
.ScaleOut-enter-active,
|
242
298
|
.ScaleOut-leave-active {
|
@@ -1,6 +1,11 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
3
|
-
|
2
|
+
<footer
|
3
|
+
class="pd-thin pd-t-zero"
|
4
|
+
:class="{
|
5
|
+
't-black bg-white': route.meta.footer_theme === 'light',
|
6
|
+
't-white bg-black': route.meta.footer_theme === 'dark'
|
7
|
+
}"
|
8
|
+
>
|
4
9
|
<!--
|
5
10
|
<div id="top-footer" class="cols-3 section">
|
6
11
|
|
@@ -90,18 +95,25 @@
|
|
90
95
|
<a href="https://ozdao.dev" class="t-main" target="_blank" rel="noopener" >OZ DAO.</a>
|
91
96
|
</p>
|
92
97
|
</footer>
|
93
|
-
</div>
|
94
98
|
</template>
|
95
99
|
|
96
100
|
<script setup="props">
|
97
101
|
import { computed,onMounted, toRefs,ref } from 'vue'
|
98
|
-
import { useRouter } from 'vue-router'
|
102
|
+
import { useRouter, useRoute } from 'vue-router'
|
99
103
|
import { useI18n } from 'vue-i18n'
|
100
104
|
|
101
105
|
import * as categories from '@pf/src/modules/products/store/categories';
|
102
106
|
|
107
|
+
// Props
|
108
|
+
const props = defineProps({
|
109
|
+
theme: {
|
110
|
+
type: String,
|
111
|
+
default: "light"
|
112
|
+
}
|
113
|
+
});
|
114
|
+
|
103
115
|
const router = useRouter()
|
104
|
-
|
116
|
+
const route = useRoute()
|
105
117
|
|
106
118
|
const text = {
|
107
119
|
locale: 'en',
|
@@ -56,19 +56,28 @@
|
|
56
56
|
z-index-2
|
57
57
|
"
|
58
58
|
:class="{
|
59
|
-
't-black': theme === 'light',
|
60
|
-
't-white': theme === 'dark'
|
59
|
+
't-black bg-white': theme === 'light',
|
60
|
+
't-white bg-black': theme === 'dark'
|
61
61
|
}"
|
62
62
|
>
|
63
63
|
<!-- MENU -->
|
64
64
|
<button
|
65
|
-
@click
|
66
|
-
class="menu-btn
|
65
|
+
@click="() => store.globals.state.isOpenSidebar = !store.globals.state.isOpenSidebar"
|
66
|
+
class="mobile-only menu-btn"
|
67
67
|
:class="{
|
68
68
|
'menu-btn_active': store.globals.state.isOpenSidebar
|
69
69
|
}"
|
70
70
|
>
|
71
|
-
<span
|
71
|
+
<span
|
72
|
+
class="no-events"
|
73
|
+
:class="{
|
74
|
+
'bg-black': theme === 'light',
|
75
|
+
'bg-white': theme === 'dark'
|
76
|
+
}"
|
77
|
+
>
|
78
|
+
<span class="menu-btn__before" :class="{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }"></span>
|
79
|
+
<span class="menu-btn__after" :class="{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }"></span>
|
80
|
+
</span>
|
72
81
|
</button>
|
73
82
|
|
74
83
|
<!-- LOGO -->
|
@@ -130,7 +139,7 @@
|
|
130
139
|
:counter="store.shopcart.getters.cartTotalAmount"
|
131
140
|
:showSucces="false"
|
132
141
|
:showLoader="false"
|
133
|
-
class="pd-zero mn-l-auto"
|
142
|
+
class="pd-zero mn-l-auto mn-r-micro"
|
134
143
|
>
|
135
144
|
<IconShopcart
|
136
145
|
class="i-semi"
|
@@ -158,7 +167,7 @@
|
|
158
167
|
</Button>
|
159
168
|
|
160
169
|
|
161
|
-
<Select
|
170
|
+
<!-- <Select
|
162
171
|
v-model:select="$i18n.locale"
|
163
172
|
:options="[{name: '🌎 En', value: 'en'}, {name: '🇷🇺 Ru', value: 'ru'}]"
|
164
173
|
:property="'value'"
|
@@ -167,7 +176,7 @@
|
|
167
176
|
'bg-light t-black': theme === 'light',
|
168
177
|
'bg-dark t-white': theme === 'dark'
|
169
178
|
}"
|
170
|
-
/>
|
179
|
+
/> -->
|
171
180
|
</header>
|
172
181
|
</template>
|
173
182
|
|
@@ -186,27 +195,37 @@
|
|
186
195
|
position: relative;
|
187
196
|
}
|
188
197
|
.menu-btn span,
|
189
|
-
.menu-
|
190
|
-
.menu-
|
198
|
+
.menu-btn__before,
|
199
|
+
.menu-btn__after {
|
191
200
|
position: absolute;
|
192
|
-
top: 50%;
|
193
|
-
|
201
|
+
top: 50%;
|
202
|
+
margin-top: -1px;
|
203
|
+
left: 50%;
|
204
|
+
margin-left: -10px;
|
194
205
|
width: 20px;
|
195
206
|
height: 2px;
|
196
|
-
background-color: rgb(var(--black));
|
197
207
|
}
|
198
|
-
.menu-
|
199
|
-
.menu-
|
200
|
-
content: '';
|
208
|
+
.menu-btn__before,
|
209
|
+
.menu-btn__after {
|
201
210
|
display: block;
|
202
211
|
transition: 0.2s;
|
203
212
|
}
|
204
|
-
.menu-
|
213
|
+
.menu-btn__before {
|
205
214
|
transform: translateY(-5px);
|
206
215
|
}
|
207
|
-
.menu-
|
216
|
+
.menu-btn__after {
|
208
217
|
transform: translateY(5px);
|
209
218
|
}
|
219
|
+
.menu-btn_active .menu-btn__before {
|
220
|
+
transform: rotate(-35deg);
|
221
|
+
width: 10px;
|
222
|
+
transform-origin: left bottom;
|
223
|
+
}
|
224
|
+
.menu-btn_active .menu-btn__after {
|
225
|
+
transform: rotate(35deg);
|
226
|
+
width: 10px;
|
227
|
+
transform-origin: left top;
|
228
|
+
}
|
210
229
|
|
211
230
|
.menu-btn_active span:before {
|
212
231
|
transform: rotate(-35deg);
|
@@ -3,12 +3,14 @@
|
|
3
3
|
<li>
|
4
4
|
<router-link
|
5
5
|
:to="getMarketplaceLink(null,store.globals.state.position?.country,store.globals.state.position?.state,store.globals.state.position?.city)"
|
6
|
+
class="font-second"
|
6
7
|
>
|
7
8
|
{{ t('HEADER.MENU.MARKETPLACE') }}
|
8
9
|
</router-link>
|
9
10
|
</li>
|
10
11
|
<li>
|
11
12
|
<router-link
|
13
|
+
class="font-second"
|
12
14
|
:to="getSpotsLink(store.globals.state.position?.country,store.globals.state.position?.state,store.globals.state.position?.city)"
|
13
15
|
>
|
14
16
|
{{ t('HEADER.MENU.DISPENSARIES') }}
|
@@ -23,17 +25,19 @@
|
|
23
25
|
</router-link>
|
24
26
|
</li> -->
|
25
27
|
|
26
|
-
|
28
|
+
<!-- <li>
|
27
29
|
<router-link
|
28
30
|
to="/events"
|
31
|
+
class="font-second"
|
29
32
|
>
|
30
33
|
{{ t('HEADER.MENU.EVENTS') }}
|
31
34
|
</router-link>
|
32
|
-
</li>
|
35
|
+
</li> -->
|
33
36
|
|
34
37
|
<li>
|
35
38
|
<router-link
|
36
39
|
to="/community"
|
40
|
+
class="font-second"
|
37
41
|
>
|
38
42
|
{{ t('HEADER.MENU.BLOG') }}
|
39
43
|
</router-link>
|
@@ -41,6 +45,7 @@
|
|
41
45
|
<li>
|
42
46
|
<router-link
|
43
47
|
to="/governance"
|
48
|
+
class="font-second"
|
44
49
|
>
|
45
50
|
{{ t('HEADER.MENU.GOVERNANCE') }}
|
46
51
|
</router-link>
|
@@ -40,7 +40,7 @@
|
|
40
40
|
>
|
41
41
|
<span
|
42
42
|
v-if="te('features.soonLabel')"
|
43
|
-
class="z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-
|
43
|
+
class="z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-10-negative pos-t-10-negative"
|
44
44
|
>
|
45
45
|
{{ t('features.soonLabel') }}
|
46
46
|
</span>
|
@@ -54,7 +54,7 @@
|
|
54
54
|
>
|
55
55
|
<span
|
56
56
|
v-if="te('features.soonLabel')"
|
57
|
-
class="z-index-2 pd-l-thin pd-r-thin radius-big bg-main t-semi uppercase pos-absolute pos-r-
|
57
|
+
class="z-index-2 pd-l-thin pd-r-thin radius-big bg-main t-semi uppercase pos-absolute pos-r-10-negative pos-t-10-negative"
|
58
58
|
>
|
59
59
|
{{ t('features.soonLabel') }}
|
60
60
|
</span>
|
@@ -3,7 +3,8 @@ const landing = [
|
|
3
3
|
path: '',
|
4
4
|
name: "Home",
|
5
5
|
meta: {
|
6
|
-
title_hide: true
|
6
|
+
title_hide: true,
|
7
|
+
header_theme: 'dark',
|
7
8
|
},
|
8
9
|
component: () => import(/* webpackChunkName: 'Home' */ '@pf/src/modules/landing/components/pages/Home.vue'),
|
9
10
|
},
|
@@ -29,17 +30,6 @@ const landing = [
|
|
29
30
|
},
|
30
31
|
component: () => import(/* webpackChunkName: 'Governance' */ '@pf/src/modules/landing/components/pages/Farming.vue'),
|
31
32
|
},
|
32
|
-
{
|
33
|
-
path: 'pages/:url',
|
34
|
-
name: 'Page',
|
35
|
-
meta: {
|
36
|
-
title: {
|
37
|
-
en: 'Page',
|
38
|
-
ru: 'Страница'
|
39
|
-
}
|
40
|
-
},
|
41
|
-
component: () => import(/* webpackChunkName: 'Page' */ '@pf/src/modules/landing/components/pages/Page.vue')
|
42
|
-
}
|
43
33
|
];
|
44
34
|
|
45
35
|
export default landing;
|
@@ -40,8 +40,8 @@
|
|
40
40
|
import Field from '@pf/src/components/Field/Field.vue'
|
41
41
|
import Button from '@pf/src/components/Button/Button.vue'
|
42
42
|
// Mobile Module
|
43
|
-
import Menu from '@pf/src/
|
44
|
-
import MenuItem from '@pf/src/
|
43
|
+
import Menu from '@pf/src/components/Menu/Menu.vue'
|
44
|
+
import MenuItem from '@pf/src/components/Menu/MenuItem.vue'
|
45
45
|
// Import libs
|
46
46
|
import { computed, watch, onMounted, ref, onBeforeMount } from 'vue'
|
47
47
|
import { useRoute, useRouter } from 'vue-router'
|
@@ -4,17 +4,17 @@
|
|
4
4
|
<h2 class="t-semi mn-b-thin t-left">
|
5
5
|
<span class="">Weed in </span>
|
6
6
|
|
7
|
-
<
|
7
|
+
<span
|
8
8
|
v-if="localPosition.city || localPosition.state || localPosition.country"
|
9
9
|
@click="a => { store.globals.state.isOpenLocationPopup = true }"
|
10
|
-
class="
|
10
|
+
class="t-main cursor-pointer "
|
11
11
|
>
|
12
12
|
<template v-if="localPosition.city">{{localPosition.city}}, </template>
|
13
13
|
<template v-if="localPosition.state">{{localPosition.state}}, </template>
|
14
14
|
<template v-if="localPosition.country">{{localPosition.country}}</template>
|
15
|
-
</
|
15
|
+
</span>
|
16
16
|
|
17
|
-
<span v-else @click="a => { store.globals.state.isOpenLocationPopup = true }" class="t-semi t-black cursor-pointer
|
17
|
+
<span v-else @click="a => { store.globals.state.isOpenLocationPopup = true }" class="h2 pd-l-small pd-r-small pd-t-micro pd-b-micro d-inline-block t-semi radius-extra bg-main t-black cursor-pointer">
|
18
18
|
The World
|
19
19
|
</span>
|
20
20
|
</h2>
|
@@ -24,11 +24,17 @@
|
|
24
24
|
class="mn-b-thin"
|
25
25
|
/> -->
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
27
|
+
<div class="gap-thin cols-2-1_3">
|
28
|
+
<FilterProducts
|
29
|
+
ref="desktopFilters"
|
30
|
+
class="desktop-only "
|
31
|
+
/>
|
32
|
+
<!-- Catalog wrapper -->
|
33
|
+
<div class="rows-1 gap-thin">
|
34
|
+
<router-view v-slot="{ Component, route }">
|
35
|
+
<component ref="page" :key="route" :localPosition="localPosition" :is="Component" />
|
36
|
+
</router-view>
|
37
|
+
</div>
|
32
38
|
</div>
|
33
39
|
</div>
|
34
40
|
</template>
|
@@ -41,10 +47,9 @@
|
|
41
47
|
import { useRoute, useRouter,onBeforeRouteLeave } from 'vue-router'
|
42
48
|
import { useI18n } from 'vue-i18n'
|
43
49
|
|
44
|
-
// Import components
|
45
|
-
import BlockSearch from '@pf/src/modules/globals/components/blocks/BlockSearch.vue'
|
46
50
|
|
47
51
|
import Filters from '@pf/src/modules/marketplace/components/sections/Filters.vue'
|
52
|
+
import FilterProducts from '@pf/src/modules/products/components/sections/FilterProducts.vue'
|
48
53
|
|
49
54
|
// Accessing router and store
|
50
55
|
const store = useStore()
|
@@ -57,6 +62,8 @@
|
|
57
62
|
country: null
|
58
63
|
});
|
59
64
|
|
65
|
+
const desktopFilters = ref(null)
|
66
|
+
|
60
67
|
function denormalizeUrlParam(param) {
|
61
68
|
return param
|
62
69
|
.replace(/-/g, ' ') // Замена дефисов на пробелы
|
@@ -91,14 +98,24 @@
|
|
91
98
|
delivery: query.delivery ? query.delivery.split(',') : [],
|
92
99
|
};
|
93
100
|
|
94
|
-
store.marketplace.state.filter = newFilterValue;
|
101
|
+
// store.marketplace.state.filter = newFilterValue;
|
95
102
|
}
|
96
103
|
|
97
104
|
if (route.query.sortParam) store.marketplace.state.sort.param = route.query.sortParam
|
98
105
|
if (route.query.sortOrder) store.marketplace.state.sort.order = route.query.sortOrder
|
99
106
|
|
100
107
|
onMounted(async () => {
|
101
|
-
|
108
|
+
let options = {
|
109
|
+
status: 'published'
|
110
|
+
}
|
111
|
+
|
112
|
+
const categoriesFilter = await store.categories.actions.fetchCategories(options)
|
113
|
+
|
114
|
+
console.log(desktopFilters.value.style.display)
|
115
|
+
// store.marketplace.state.filter.options[0].options = categoriesFilter.map(category => ({
|
116
|
+
// value: category.url,
|
117
|
+
// label: category.name
|
118
|
+
// }));
|
102
119
|
})
|
103
120
|
|
104
121
|
watch(() => store.marketplace.state.sort, (newSortValue, oldSortValue) => {
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<Feed
|
3
3
|
v-model:sort="store.marketplace.state.sort"
|
4
|
+
v-model:filter="store.marketplace.state.filter"
|
4
5
|
:search="true"
|
5
6
|
:showLoadMore="false"
|
6
7
|
:states="{
|
@@ -25,7 +26,7 @@
|
|
25
26
|
v-slot="{
|
26
27
|
items
|
27
28
|
}"
|
28
|
-
class="
|
29
|
+
class="rows-1 gap-thin"
|
29
30
|
>
|
30
31
|
<CardOrganization
|
31
32
|
v-for="organization in items"
|
@@ -35,17 +35,19 @@ const marketplace = [
|
|
35
35
|
],
|
36
36
|
|
37
37
|
},{
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
}
|
45
|
-
},
|
46
|
-
component: () => import(/* webpackChunkName: 'Product Recommmendation' */ '@pf/src/modules/products/components/pages/ProductRecommmendation.vue'),
|
47
|
-
props: route => ({ mood: route.query.mood })
|
38
|
+
path: 'products/recommendation',
|
39
|
+
name: 'Product Recommmendation',
|
40
|
+
meta: {
|
41
|
+
title: {
|
42
|
+
en: 'Product Recommmendation',
|
43
|
+
ru: 'Рекомендации продукта'
|
48
44
|
},
|
45
|
+
header_theme: 'dark',
|
46
|
+
footer_theme: 'dark',
|
47
|
+
},
|
48
|
+
component: () => import(/* webpackChunkName: 'Product Recommmendation' */ '@pf/src/modules/products/components/pages/ProductRecommmendation.vue'),
|
49
|
+
props: route => ({ mood: route.query.mood })
|
50
|
+
},
|
49
51
|
];
|
50
52
|
|
51
53
|
|