@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
package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { ref as C, watch as
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import { useI18n as
|
5
|
-
import { useRoute as
|
6
|
-
import { actions as
|
7
|
-
import { state as
|
1
|
+
import { ref as C, watch as T, onMounted as A, openBlock as i, createElementBlock as m, createVNode as p, withCtx as n, createElementVNode as o, toDisplayString as f, unref as b, Fragment as g, renderList as y, createBlock as h } from "vue";
|
2
|
+
import v from "../../../../components/Spoiler/Spoiler.vue2.js";
|
3
|
+
import _ from "../../../../components/Checkbox/Checkbox.vue.js";
|
4
|
+
import { useI18n as P } from "vue-i18n";
|
5
|
+
import { useRoute as U, useRouter as V } from "vue-router";
|
6
|
+
import { actions as $, state as k } from "../../store/categories.js";
|
7
|
+
import { state as r } from "../../../marketplace/store/marketplace.js";
|
8
8
|
import "./FilterProducts.vue2.js";
|
9
|
-
const
|
9
|
+
const B = { class: "pd-medium bg-light radius-big" }, R = { class: "cursor-pointer mn-r-auto t-medium p-big" }, D = /* @__PURE__ */ o("hr", { class: "mn-b-small t-transp" }, null, -1), L = { class: "cursor-pointer mn-r-auto t-medium p-big" }, M = /* @__PURE__ */ o("hr", { class: "mn-b-small" }, null, -1), N = /* @__PURE__ */ o("p", { class: "cursor-pointer mn-r-auto t-medium p-big" }, "Delivery", -1), H = /* @__PURE__ */ o("hr", { class: "mn-b-semi" }, null, -1), X = {
|
10
10
|
__name: "FilterProducts",
|
11
11
|
props: {
|
12
12
|
selectedFilters: Object,
|
@@ -29,8 +29,8 @@ const R = { class: "pd-medium bg-white-transp-50 radius-big" }, U = { class: "cu
|
|
29
29
|
}
|
30
30
|
},
|
31
31
|
emits: ["updateFilters", "resetFilters"],
|
32
|
-
setup(
|
33
|
-
const
|
32
|
+
setup(w, { emit: x }) {
|
33
|
+
const c = U(), j = V();
|
34
34
|
let E = {
|
35
35
|
status: "published"
|
36
36
|
};
|
@@ -39,29 +39,29 @@ const R = { class: "pd-medium bg-white-transp-50 radius-big" }, U = { class: "cu
|
|
39
39
|
prices: [],
|
40
40
|
delivery: [],
|
41
41
|
extra: []
|
42
|
-
}),
|
43
|
-
const
|
44
|
-
Object.keys(
|
45
|
-
|
42
|
+
}), T(() => r.filter, (l, e) => {
|
43
|
+
const t = { ...c.query };
|
44
|
+
Object.keys(e).forEach((s) => {
|
45
|
+
t[s] && delete t[s];
|
46
46
|
});
|
47
|
-
const
|
48
|
-
Object.entries(
|
47
|
+
const a = Object.fromEntries(
|
48
|
+
Object.entries(l).filter(([s, u]) => Array.isArray(u) && u.length > 0).map(([s, u]) => [s, u.join(",")])
|
49
49
|
);
|
50
|
-
Object.assign(
|
51
|
-
}, { deep: !0 }),
|
52
|
-
if (await
|
53
|
-
const
|
54
|
-
categories:
|
55
|
-
prices:
|
56
|
-
delivery:
|
50
|
+
Object.assign(t, a), j.push({ query: t });
|
51
|
+
}, { deep: !0 }), A(async () => {
|
52
|
+
if (await $.fetchCategories(E), c.query) {
|
53
|
+
const l = c.query, e = {
|
54
|
+
categories: l.categories ? l.categories.split(",") : [],
|
55
|
+
prices: l.prices ? l.prices.split(",") : [],
|
56
|
+
delivery: l.delivery ? l.delivery.split(",") : []
|
57
57
|
// Продолжайте этот паттерн для остальных полей фильтра
|
58
58
|
};
|
59
|
-
|
59
|
+
r.filter.innerHTML = e;
|
60
60
|
}
|
61
61
|
});
|
62
|
-
const O =
|
62
|
+
const O = x, q = () => {
|
63
63
|
O("resetFilters");
|
64
|
-
},
|
64
|
+
}, F = {
|
65
65
|
locale: "en",
|
66
66
|
messages: {
|
67
67
|
en: {
|
@@ -94,59 +94,80 @@ const R = { class: "pd-medium bg-white-transp-50 radius-big" }, U = { class: "cu
|
|
94
94
|
}
|
95
95
|
}
|
96
96
|
};
|
97
|
-
|
98
|
-
|
99
|
-
|
97
|
+
k.all.forEach((l) => {
|
98
|
+
l.localization.forEach((e) => {
|
99
|
+
F.messages[e.locale].categories.push(e.text);
|
100
100
|
});
|
101
101
|
});
|
102
|
-
const { t:
|
103
|
-
return (
|
104
|
-
|
102
|
+
const { t: d } = P(F);
|
103
|
+
return (l, e) => (i(), m("div", B, [
|
104
|
+
p(v, {
|
105
105
|
class: "radius-small o-hidden mn-b-small",
|
106
106
|
status: !0
|
107
107
|
}, {
|
108
108
|
header: n(() => [
|
109
|
-
|
109
|
+
o("p", R, f(b(d)("categoriesTitle")), 1)
|
110
110
|
]),
|
111
111
|
content: n(() => [
|
112
|
-
(
|
113
|
-
key:
|
114
|
-
label:
|
115
|
-
value:
|
112
|
+
(i(!0), m(g, null, y(k.all, (t, a) => (i(), h(_, {
|
113
|
+
key: a,
|
114
|
+
label: t.name,
|
115
|
+
value: t.url,
|
116
116
|
class: "w-100 mn-t-small mn-b-small bg-white radius-small pd-small",
|
117
|
-
radio:
|
118
|
-
"onUpdate:radio":
|
117
|
+
radio: r.filter.categories,
|
118
|
+
"onUpdate:radio": e[0] || (e[0] = (s) => r.filter.categories = s)
|
119
119
|
}, null, 8, ["label", "value", "radio"]))), 128))
|
120
120
|
]),
|
121
121
|
_: 1
|
122
122
|
}),
|
123
|
-
|
124
|
-
|
123
|
+
D,
|
124
|
+
p(v, {
|
125
125
|
class: "radius-small o-hidden mn-b-small",
|
126
126
|
status: !1
|
127
127
|
}, {
|
128
128
|
header: n(() => [
|
129
|
-
|
129
|
+
o("p", L, f(b(d)("filters.price.title")), 1)
|
130
130
|
]),
|
131
131
|
content: n(() => [
|
132
|
-
(
|
133
|
-
key:
|
134
|
-
label:
|
135
|
-
value:
|
132
|
+
(i(!0), m(g, null, y(w.prices, (t, a) => (i(), h(_, {
|
133
|
+
key: a,
|
134
|
+
label: t.label,
|
135
|
+
value: t.value,
|
136
136
|
class: "w-100 mn-t-small bg-white radius-small pd-small",
|
137
|
-
radio:
|
138
|
-
"onUpdate:radio":
|
137
|
+
radio: r.filter.prices,
|
138
|
+
"onUpdate:radio": e[1] || (e[1] = (s) => r.filter.prices = s)
|
139
139
|
}, null, 8, ["label", "value", "radio"]))), 128))
|
140
140
|
]),
|
141
141
|
_: 1
|
142
142
|
}),
|
143
|
-
|
143
|
+
M,
|
144
|
+
p(v, {
|
145
|
+
class: "radius-small o-hidden mn-b-small",
|
146
|
+
status: !1
|
147
|
+
}, {
|
148
|
+
header: n(() => [
|
149
|
+
N
|
150
|
+
]),
|
151
|
+
content: n(() => [
|
152
|
+
(i(!0), m(g, null, y(w.deliveryOptions, (t, a) => (i(), h(_, {
|
153
|
+
key: a,
|
154
|
+
label: t.label,
|
155
|
+
value: t.value,
|
156
|
+
class: "w-100 mn-t-small bg-white radius-small pd-small",
|
157
|
+
radio: r.filter.delivery,
|
158
|
+
"onUpdate:radio": e[2] || (e[2] = (s) => r.filter.delivery = s)
|
159
|
+
}, null, 8, ["label", "value", "radio"]))), 128))
|
160
|
+
]),
|
161
|
+
_: 1
|
162
|
+
}),
|
163
|
+
H,
|
164
|
+
o("button", {
|
144
165
|
onClick: q,
|
145
166
|
class: "bg-main w-100 button"
|
146
|
-
},
|
167
|
+
}, f(b(d)("filters.reset")), 1)
|
147
168
|
]));
|
148
169
|
}
|
149
170
|
};
|
150
171
|
export {
|
151
|
-
|
172
|
+
X as default
|
152
173
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs"),d=require("vue-router"),u=require("vue-i18n");require("../../store/products.cjs");require("./HeroRecommendation.vue2.cjs");const p={class:"pd-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs"),d=require("vue-router"),u=require("vue-i18n");require("../../store/products.cjs");require("./HeroRecommendation.vue2.cjs");const p={class:"pd-big bg-black t-white pos-relative o-hidden"},m={class:"flex-column flex-center flex t-center pos-relative z-index-1"},b=["innerHTML"],h=["innerHTML"],g=["innerHTML"],f={style:{"max-width":"50rem"},class:"w-100 h-max gap-thin cols-6"},_=["onClick"],y=["src"],v={class:"t-white"},x=e.createElementVNode("div",{class:"w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0"},[e.createElementVNode("div",{style:{"background-image":"url(/spiral.jpg)"},class:"spiral"})],-1),w={__name:"HeroRecommendation",setup(E){const i=d.useRouter(),s={messages:{en:{title:"Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",description:"Just tell us what you're want, and Weeder will find your ideal match.",placeholderTexts:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],subdescription:"AI Curated Recommendations for Your Mood:",presets:{sleep:"sleep",creative:"creative",giggly:"giggly",libido:"libido",trippy:"trippy",euphoric:"euphoric"},placeholder:"Tell us what you're after...",action:"Transmit →"},ru:{title:"Персональный Накур,<br><b class='t-main'>Напрямую от AI</b>",description:"AI на страже твоего релакса, бро. Мы подбираем самые космические товары с учетом твоего желаемого настроения:",placeholderTexts:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"],presets:{sleep:"сон",creative:"креатив",giggly:"смех",libido:"либидо",trippy:"трип",euphoric:"кайф"},subdescription:"Или выберите тег, и наш AI направит тебя к самым крутым вариантам:",placeholder:"Опиши свой желаемый хай, bro...",action:"Передать →"}}},{t:n,rt:T}=u.useI18n(s);let r=e.ref("");const l=["sleep","creative","giggly","libido","trippy","euphoric"];return(a,o)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",m,[e.createElementVNode("h1",{class:"mn-b-semi",innerHTML:e.unref(n)("title")},null,8,b),e.createElementVNode("p",{class:"mn-b-big p-big t-transp",innerHTML:e.unref(n)("description")},null,8,h),e.createVNode(c.default,{input:e.unref(r),typingSpeed:100,loopTyping:!0,enableTyping:!0,placeholder:e.unref(n)("placeholder"),action:e.unref(n)("action"),"onUpdate:input":o[0]||(o[0]=t=>e.isRef(r)?r.value=t:r=t),onAction:o[1]||(o[1]=t=>e.unref(i).push({name:"Product Recommmendation",query:{mood:e.unref(r)}})),class:"mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"},null,8,["input","placeholder","action"]),e.createElementVNode("p",{class:"w-m-60r t-transp mn-b-semi p-medium",innerHTML:e.unref(n)("subdescription")},null,8,g),e.createElementVNode("div",f,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(t,V)=>e.createElementVNode("a",{key:t,onClick:e.withModifiers(k=>e.unref(i).push({name:"Product Recommmendation",query:{mood:t}}),["stop"]),class:"uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"},[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+"/icons/moods/"+t+".svg",class:"w-100"},null,8,y),e.createElementVNode("span",v,e.toDisplayString(e.unref(n)("presets."+t)),1)],8,_)),64))])]),x]))}};exports.default=w;
|
package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js
CHANGED
@@ -4,7 +4,7 @@ import { useRouter as x } from "vue-router";
|
|
4
4
|
import { useI18n as v } from "vue-i18n";
|
5
5
|
import "../../store/products.js";
|
6
6
|
import "./HeroRecommendation.vue2.js";
|
7
|
-
const w = { class: "pd-
|
7
|
+
const w = { class: "pd-big bg-black t-white pos-relative o-hidden" }, T = { class: "flex-column flex-center flex t-center pos-relative z-index-1" }, H = ["innerHTML"], I = ["innerHTML"], L = ["innerHTML"], k = {
|
8
8
|
style: { "max-width": "50rem" },
|
9
9
|
class: "w-100 h-max gap-thin cols-6"
|
10
10
|
}, R = ["onClick"], M = ["src"], A = { class: "t-white" }, C = /* @__PURE__ */ t("div", { class: "w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0" }, [
|
@@ -15,7 +15,7 @@ const w = { class: "pd-t-8r pd-big bg-black t-white pos-relative o-hidden" }, T
|
|
15
15
|
], -1), Y = {
|
16
16
|
__name: "HeroRecommendation",
|
17
17
|
setup(E) {
|
18
|
-
const r = x(),
|
18
|
+
const r = x(), c = {
|
19
19
|
messages: {
|
20
20
|
en: {
|
21
21
|
title: "Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",
|
@@ -58,9 +58,9 @@ const w = { class: "pd-t-8r pd-big bg-black t-white pos-relative o-hidden" }, T
|
|
58
58
|
action: "Передать →"
|
59
59
|
}
|
60
60
|
}
|
61
|
-
}, { t: o, rt: B } = v(
|
61
|
+
}, { t: o, rt: B } = v(c);
|
62
62
|
let s = m("");
|
63
|
-
const
|
63
|
+
const p = ["sleep", "creative", "giggly", "libido", "trippy", "euphoric"];
|
64
64
|
return (d, n) => (l(), a("div", w, [
|
65
65
|
t("div", T, [
|
66
66
|
t("h1", {
|
@@ -87,7 +87,7 @@ const w = { class: "pd-t-8r pd-big bg-black t-white pos-relative o-hidden" }, T
|
|
87
87
|
innerHTML: e(o)("subdescription")
|
88
88
|
}, null, 8, L),
|
89
89
|
t("div", k, [
|
90
|
-
(l(), a(h, null, g(
|
90
|
+
(l(), a(h, null, g(p, (i, S) => t("a", {
|
91
91
|
key: i,
|
92
92
|
onClick: _((V) => e(r).push({ name: "Product Recommmendation", query: { mood: i } }), ["stop"]),
|
93
93
|
class: "uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"
|
package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("vue-router"),_=require("vue-i18n"),f=require("../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs"),v=require("../../../../../../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs"),g=require("../../../../components/Loader/Loader.vue2.cjs"),h=require("../blocks/CardProduct.vue.cjs"),k=require("../../store/products.cjs");require("./PopularProducts.vue2.cjs");const B={id:"popularProducts",class:"bg-light radius-big pd-t-big pd-b-big"},q=["innerHTML"],y={class:"embla__container"},S={key:0,class:"h-100 w-100 radius-big flex-center bg-light"},E={__name:"PopularProducts",setup(I){b.useRouter();const l={messages:{en:{title:"<b>Best Sellers 🔥</b>",subtitle:"We attach great importance to high quality and customer satisfaction"},ru:{title:"Самое Горячее 🔥",subtitle:"Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"}}},{t:c}=_.useI18n(l),r=e.ref(10),i=e.ref(0),u=e.ref([]),d={delay:2e3,jump:!1,stopOnInteraction:!1,stopOnMouseEnter:!1,stopOnFocusIn:!0,stopOnLastSnap:!1,rootNode:o=>o.parentElement},[p,t]=f.default({loop:!0},[v.default(d)]),s=o=>u.value=t.value.scrollSnapList(),a=o=>i.value=t.value.selectedScrollSnap();return e.onMounted(async()=>{r.value=await k.actions.read({limit:10,organization:"657e7134efb8110c51b8b713"}),s(),a(),t.value.on("reInit",s),t.value.on("reInit",a),t.value.on("select",a)}),(o,N)=>(e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("h2",{class:"mn-b-semi t-center",innerHTML:e.unref(c)("title")},null,8,q),e.createElementVNode("div",{class:"embla",ref_key:"emblaNode",ref:p},[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(n,m,O)=>(e.openBlock(),e.createElementBlock("div",{class:"embla__slide pd-nano",key:m},[e.createVNode(e.Transition,{name:"fade",mode:"out-in",appear:""},{default:e.withCtx(()=>[n.name?(e.openBlock(),e.createBlock(h.default,{key:1,onClick:C=>o.$router.push({name:"Product Organization",params:{_id:n.organization,product:n._id}}),product:n,class:"cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"},null,8,["onClick","product"])):(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(g.default,{class:"pos-relative"})]))]),_:2},1024)]))),128))])],512)]))}};exports.default=E;
|
package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as r, onMounted as g, openBlock as o, createElementBlock as a, createElementVNode as i, unref as v, Fragment as k, renderList as y, createVNode as u, Transition as S, withCtx as I, createBlock as x } from "vue";
|
2
2
|
import { useRouter as L } from "vue-router";
|
3
3
|
import { useI18n as O } from "vue-i18n";
|
4
4
|
import N from "../../../../../../node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js";
|
@@ -9,15 +9,15 @@ import { actions as E } from "../../store/products.js";
|
|
9
9
|
import "./PopularProducts.vue2.js";
|
10
10
|
const M = {
|
11
11
|
id: "popularProducts",
|
12
|
-
class: "pd-
|
13
|
-
}, P =
|
12
|
+
class: "bg-light radius-big pd-t-big pd-b-big"
|
13
|
+
}, P = ["innerHTML"], z = { class: "embla__container" }, T = {
|
14
14
|
key: 0,
|
15
15
|
class: "h-100 w-100 radius-big flex-center bg-light"
|
16
|
-
},
|
16
|
+
}, Q = {
|
17
17
|
__name: "PopularProducts",
|
18
|
-
setup(
|
18
|
+
setup(V) {
|
19
19
|
L();
|
20
|
-
const
|
20
|
+
const p = {
|
21
21
|
messages: {
|
22
22
|
en: {
|
23
23
|
title: "<b>Best Sellers 🔥</b>",
|
@@ -28,7 +28,7 @@ const M = {
|
|
28
28
|
subtitle: "Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"
|
29
29
|
}
|
30
30
|
}
|
31
|
-
}, { t:
|
31
|
+
}, { t: m } = O(p), l = r(10), d = r(0), _ = r([]), b = {
|
32
32
|
delay: 2e3,
|
33
33
|
jump: !1,
|
34
34
|
stopOnInteraction: !1,
|
@@ -36,58 +36,56 @@ const M = {
|
|
36
36
|
stopOnFocusIn: !0,
|
37
37
|
stopOnLastSnap: !1,
|
38
38
|
rootNode: (t) => t.parentElement
|
39
|
-
}, [f, e] = N({ loop: !0 }, [w(b)]), c = (t) => _.value = e.value.scrollSnapList(),
|
39
|
+
}, [f, e] = N({ loop: !0 }, [w(b)]), c = (t) => _.value = e.value.scrollSnapList(), s = (t) => d.value = e.value.selectedScrollSnap();
|
40
40
|
return g(async () => {
|
41
41
|
l.value = await E.read({
|
42
42
|
limit: 10,
|
43
43
|
organization: "657e7134efb8110c51b8b713"
|
44
|
-
}), c(),
|
45
|
-
}), (t,
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
], 512)
|
87
|
-
])
|
44
|
+
}), c(), s(), e.value.on("reInit", c), e.value.on("reInit", s), e.value.on("select", s);
|
45
|
+
}), (t, $) => (o(), a("div", M, [
|
46
|
+
i("h2", {
|
47
|
+
class: "mn-b-semi t-center",
|
48
|
+
innerHTML: v(m)("title")
|
49
|
+
}, null, 8, P),
|
50
|
+
i("div", {
|
51
|
+
class: "embla",
|
52
|
+
ref_key: "emblaNode",
|
53
|
+
ref: f
|
54
|
+
}, [
|
55
|
+
i("div", z, [
|
56
|
+
(o(!0), a(k, null, y(l.value, (n, h, A) => (o(), a("div", {
|
57
|
+
class: "embla__slide pd-nano",
|
58
|
+
key: h
|
59
|
+
}, [
|
60
|
+
u(S, {
|
61
|
+
name: "fade",
|
62
|
+
mode: "out-in",
|
63
|
+
appear: ""
|
64
|
+
}, {
|
65
|
+
default: I(() => [
|
66
|
+
n.name ? (o(), x(C, {
|
67
|
+
key: 1,
|
68
|
+
onClick: (F) => t.$router.push({
|
69
|
+
name: "Product Organization",
|
70
|
+
params: {
|
71
|
+
_id: n.organization,
|
72
|
+
product: n._id
|
73
|
+
}
|
74
|
+
}),
|
75
|
+
product: n,
|
76
|
+
class: "cursor-pointer transition-ease-in hover-scale-0 h-100 w-100"
|
77
|
+
}, null, 8, ["onClick", "product"])) : (o(), a("div", T, [
|
78
|
+
u(B, { class: "pos-relative" })
|
79
|
+
]))
|
80
|
+
]),
|
81
|
+
_: 2
|
82
|
+
}, 1024)
|
83
|
+
]))), 128))
|
84
|
+
])
|
85
|
+
], 512)
|
88
86
|
]));
|
89
87
|
}
|
90
88
|
};
|
91
89
|
export {
|
92
|
-
|
90
|
+
Q as default
|
93
91
|
};
|
package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs"),u=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),g=require("../blocks/Images360.vue.cjs"),h=require("../blocks/ImagesThumbnails.vue.cjs");require("../elements/THC.vue2.cjs");const k=require("../elements/Price.vue.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("../../../../components/Button/Button.vue2.cjs"),u=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),g=require("../blocks/Images360.vue.cjs"),h=require("../blocks/ImagesThumbnails.vue.cjs");require("../elements/THC.vue2.cjs");const k=require("../elements/Price.vue.cjs"),p=require("vue-i18n"),n=require("../../../orders/store/shopcart.cjs"),f={class:"cols-2-1_2 w-100 gap-thin"},b={class:"pd-small bg-light radius-big flex-nowrap flex-column flex pos-relative"},y={class:"w-100 bg-light radius-semi o-hidden"},B=["src"],v={class:"pd-big bg-light radius-big pos-relative w-100 h-100 flex-column flex-justify flex col"},V={key:0,class:"t-main t-semi p-big"},N={class:"w-100 h1-product mn-b-thin"},E={key:1,class:"mn-b-semi"},w={key:2,class:"w-100 mn-b-medium t-transp"},C={key:3,class:"w-100 mn-b-medium t-transp"},S={class:"cols-2 w-100 gap-small mn-b-semi"},q={class:"w-100 pd-small radius-small bg-grey-transp-10 product-information"},x={class:"t-demi"},z={class:"max-w-33rem mobile-w-100 t-white gap-small cols-2"},D={__name:"SectionProduct",props:{product:{type:Object,required:!0},user:{type:String},recommendation:{type:String}},setup(t){const i=t,a=e.computed(()=>i.product.images),s={messages:{en:{airecommend:"AI Recommends You",description:"",addtoorder:"Add to order",fastorder:"Fast Order"},ru:{airecommend:"AI Рекомендует вам",description:"",addtoorder:"Добавить в корзину",fastorder:"Быстрый заказ"}}},{t:c}=p.useI18n(s);function l(o){return!(o.quantity>0)}function d(o){n.state.organization!==o.organization&&(n.state.positions=[],n.state.organization=o.organization),n.actions.addProductToCart(o,o.organization)}return(o,I)=>(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",b,[e.createElementVNode("div",y,[t.product&&t.product.image3d?(e.openBlock(),e.createBlock(g.default,{key:0,class:"h-100 w-100",imagePath:`/assets/images/products/${t.product.image3d}`,imageCount:36},null,8,["imagePath"])):e.createCommentVNode("",!0),a.value[0]&&!t.product.image3d?(e.openBlock(),e.createElementBlock("img",{key:1,class:"h-auto bg-light w-100",style:{"object-fit":"contain"},src:(o.FILE_SERVER_URL||"")+a.value[0]},null,8,B)):e.createCommentVNode("",!0),!a.value[0]&&!t.product.image3d?(e.openBlock(),e.createBlock(u.default,{key:2,class:"h-100 w-100",style:{"object-fit":"cover"}})):e.createCommentVNode("",!0)]),a.value.length>1?(e.openBlock(),e.createBlock(h.default,{key:0,images:a.value,class:"mn-t-thin"},null,8,["images"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",v,[t.recommendation?(e.openBlock(),e.createElementBlock("h2",V,e.toDisplayString(e.unref(c)("airecommend")),1)):e.createCommentVNode("",!0),e.createElementVNode("h1",N,e.toDisplayString(t.product.name),1),e.createVNode(k.default,{product:t.product,size:"big",class:"mn-b-semi"},null,8,["product"]),t.recommendation?(e.openBlock(),e.createElementBlock("h3",E,e.toDisplayString(t.recommendation),1)):e.createCommentVNode("",!0),t.product.description&&!t.product.localization<1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0),t.product.localization&&t.product.localization.length>1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(c)("description")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.product.information.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.product.information,r=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("p",x,e.toDisplayString(r.name),1),e.createElementVNode("p",null,e.toDisplayString(r.value),1)]))),256)):e.createCommentVNode("",!0)]),e.createElementVNode("div",z,[e.createVNode(m.default,{submit:r=>d(t.product),disabled:l(t.product),text:{success:" ✔ Added",error:"error"},class:"h-3r w-100 mn-r-small bg-main button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("addtoorder")),1)]),_:1},8,["submit","disabled"])])])]))}};exports.default=D;
|
package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { computed as
|
1
|
+
import { computed as y, openBlock as e, createElementBlock as a, createElementVNode as s, createBlock as m, createCommentVNode as o, toDisplayString as r, unref as l, createVNode as g, Fragment as v, renderList as w, withCtx as k, createTextVNode as x } from "vue";
|
2
2
|
import z from "../../../../components/Button/Button.vue2.js";
|
3
3
|
import I from "../../../icons/placeholders/PlaceholderImage.vue.js";
|
4
4
|
import C from "../blocks/Images360.vue.js";
|
@@ -7,7 +7,7 @@ import "../elements/THC.vue2.js";
|
|
7
7
|
import P from "../elements/Price.vue.js";
|
8
8
|
import { useI18n as S } from "vue-i18n";
|
9
9
|
import { state as u, actions as T } from "../../../orders/store/shopcart.js";
|
10
|
-
const V = { class: "cols-2-1_2 w-100 gap-
|
10
|
+
const V = { class: "cols-2-1_2 w-100 gap-thin" }, j = { class: "pd-small bg-light radius-big flex-nowrap flex-column flex pos-relative" }, A = { class: "w-100 bg-light radius-semi o-hidden" }, N = ["src"], R = { class: "pd-big bg-light radius-big pos-relative w-100 h-100 flex-column flex-justify flex col" }, B = {
|
11
11
|
key: 0,
|
12
12
|
class: "t-main t-semi p-big"
|
13
13
|
}, F = { class: "w-100 h1-product mn-b-thin" }, L = {
|
@@ -19,7 +19,7 @@ const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-
|
|
19
19
|
}, q = {
|
20
20
|
key: 3,
|
21
21
|
class: "w-100 mn-b-medium t-transp"
|
22
|
-
}, O = { class: "cols-2 w-100 gap-small mn-b-semi" }, D = { class: "w-100 pd-small radius-small bg-
|
22
|
+
}, O = { class: "cols-2 w-100 gap-small mn-b-semi" }, D = { class: "w-100 pd-small radius-small bg-grey-transp-10 product-information" }, U = { class: "t-demi" }, Y = { class: "max-w-33rem mobile-w-100 t-white gap-small cols-2" }, tt = {
|
23
23
|
__name: "SectionProduct",
|
24
24
|
props: {
|
25
25
|
product: {
|
@@ -34,7 +34,7 @@ const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-
|
|
34
34
|
}
|
35
35
|
},
|
36
36
|
setup(t) {
|
37
|
-
const h = t,
|
37
|
+
const h = t, n = y(() => h.product.images), f = {
|
38
38
|
messages: {
|
39
39
|
en: {
|
40
40
|
airecommend: "AI Recommends You",
|
@@ -65,39 +65,39 @@ const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-
|
|
65
65
|
imagePath: `/assets/images/products/${t.product.image3d}`,
|
66
66
|
imageCount: 36
|
67
67
|
}, null, 8, ["imagePath"])) : o("", !0),
|
68
|
-
|
68
|
+
n.value[0] && !t.product.image3d ? (e(), a("img", {
|
69
69
|
key: 1,
|
70
|
-
class: "h-
|
70
|
+
class: "h-auto bg-light w-100",
|
71
71
|
style: { "object-fit": "contain" },
|
72
|
-
src: (i.FILE_SERVER_URL || "") +
|
72
|
+
src: (i.FILE_SERVER_URL || "") + n.value[0]
|
73
73
|
}, null, 8, N)) : o("", !0),
|
74
|
-
!
|
74
|
+
!n.value[0] && !t.product.image3d ? (e(), m(I, {
|
75
75
|
key: 2,
|
76
76
|
class: "h-100 w-100",
|
77
77
|
style: { "object-fit": "cover" }
|
78
78
|
})) : o("", !0)
|
79
79
|
]),
|
80
|
-
|
80
|
+
n.value.length > 1 ? (e(), m(E, {
|
81
81
|
key: 0,
|
82
|
-
images:
|
83
|
-
class: "mn-t-
|
82
|
+
images: n.value,
|
83
|
+
class: "mn-t-thin"
|
84
84
|
}, null, 8, ["images"])) : o("", !0)
|
85
85
|
]),
|
86
86
|
s("div", R, [
|
87
|
-
t.recommendation ? (e(), a("h2", B,
|
88
|
-
s("h1", F,
|
87
|
+
t.recommendation ? (e(), a("h2", B, r(l(c)("airecommend")), 1)) : o("", !0),
|
88
|
+
s("h1", F, r(t.product.name), 1),
|
89
89
|
g(P, {
|
90
90
|
product: t.product,
|
91
91
|
size: "big",
|
92
92
|
class: "mn-b-semi"
|
93
93
|
}, null, 8, ["product"]),
|
94
|
-
t.recommendation ? (e(), a("h3", L,
|
95
|
-
t.product.description && !t.product.localization < 1 && !t.recommendation ? (e(), a("p", $,
|
96
|
-
t.product.localization && t.product.localization.length > 1 && !t.recommendation ? (e(), a("p", q,
|
94
|
+
t.recommendation ? (e(), a("h3", L, r(t.recommendation), 1)) : o("", !0),
|
95
|
+
t.product.description && !t.product.localization < 1 && !t.recommendation ? (e(), a("p", $, r(t.product.description), 1)) : o("", !0),
|
96
|
+
t.product.localization && t.product.localization.length > 1 && !t.recommendation ? (e(), a("p", q, r(l(c)("description")), 1)) : o("", !0),
|
97
97
|
s("div", O, [
|
98
|
-
t.product.information.length > 0 ? (e(!0), a(
|
99
|
-
s("p", U,
|
100
|
-
s("p", null,
|
98
|
+
t.product.information.length > 0 ? (e(!0), a(v, { key: 0 }, w(t.product.information, (d) => (e(), a("div", D, [
|
99
|
+
s("p", U, r(d.name), 1),
|
100
|
+
s("p", null, r(d.value), 1)
|
101
101
|
]))), 256)) : o("", !0)
|
102
102
|
]),
|
103
103
|
s("div", Y, [
|
@@ -108,10 +108,10 @@ const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-
|
|
108
108
|
success: " ✔ Added",
|
109
109
|
error: "error"
|
110
110
|
},
|
111
|
-
class: "w-100 mn-r-small bg-main button"
|
111
|
+
class: "h-3r w-100 mn-r-small bg-main button"
|
112
112
|
}, {
|
113
|
-
default:
|
114
|
-
|
113
|
+
default: k(() => [
|
114
|
+
x(r(l(c)("addtoorder")), 1)
|
115
115
|
]),
|
116
116
|
_: 1
|
117
117
|
}, 8, ["submit", "disabled"])
|
package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.vue.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),m=require("../../../../components/Select/Select.vue.cjs"),f=require("../../store/reports.cjs"),b=e.createElementVNode("h3",{class:"mn-b-small"}," Report Content ",-1),g=e.createElementVNode("p",{class:"p-medium mn-b-small"}," We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ",-1),v=e.createElementVNode("p",{class:"p-medium mn-b-small"},"Our moderators will review your report within 24 hours and take action if it violates our policies.",-1),h={__name:"FormReport",props:{user:{type:String,required:!1},type:{type:String,required:!1},reason:{type:String,required:!1},target:{type:String,required:!0},text:{type:String,default:"!"},status:{type:String,default:"new"}},setup(i){const t=i,r=e.reactive({user:t.user,type:t.type,reason:t.reason,target:t.target,status:t.status});function l(){r.user===null&&delete r.user,f.actions.create(r)}const s=e.ref(!1);function u(){s.value=!0}function a(){s.value=!1}return(p,o)=>(e.openBlock(),e.createElementBlock("div",{onClick:o[1]||(o[1]=n=>u())},[e.renderSlot(p.$slots,"default"),e.createVNode(c.default,{onClosePopup:a,isPopupOpen:s.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[b,g,e.createVNode(m.default,{select:r.reason,"onUpdate:select":o[0]||(o[0]=n=>r.reason=n),options:["harassment","spam","inappropriate","misinformation","copyright","other"],placeholder:"Select reason",class:"mn-b-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"},null,8,["select"]),v,e.createVNode(d.default,{submit:l,callback:a,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Report ")]),_:1})]),_:1},8,["isPopupOpen"])]))}};exports.default=h;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { reactive as d, ref as f, openBlock as b, createElementBlock as g, renderSlot as h, createVNode as s, withCtx as l, createTextVNode as y, createElementVNode as a } from "vue";
|
2
|
-
import _ from "../../../../components/Popup/Popup.
|
2
|
+
import _ from "../../../../components/Popup/Popup.vue.js";
|
3
3
|
import v from "../../../../components/Button/Button.vue2.js";
|
4
|
-
import w from "../../../../components/Select/Select.
|
4
|
+
import w from "../../../../components/Select/Select.vue.js";
|
5
5
|
import { actions as S } from "../../store/reports.js";
|
6
6
|
const k = /* @__PURE__ */ a("h3", { class: "mn-b-small" }, " Report Content ", -1), P = /* @__PURE__ */ a("p", { class: "p-medium mn-b-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1), R = /* @__PURE__ */ a("p", { class: "p-medium mn-b-small" }, "Our moderators will review your report within 24 hours and take action if it violates our policies.", -1), O = {
|
7
7
|
__name: "FormReport",
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../icons/navigation/IconEdit.vue.cjs"),s=require("../../../../components/Chips/Chips.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../../icons/navigation/IconEdit.vue.cjs"),s=require("../../../../components/Chips/Chips.vue2.cjs"),d=require("../../../../components/Map/Map.vue.cjs");require("./CardSpot.vue2.cjs");const c=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),l=t=>(e.pushScopeId("data-v-fba16034"),t=t(),e.popScopeId(),t),p={class:"radius-big o-hidden pos-relative cols-2-1_3"},u={class:"pd-medium w-100"},m=["innerHTML"],h={class:"d-block p-big mn-b-semi"},g=l(()=>e.createElementVNode("h4",null,"Delivery:",-1)),y=l(()=>e.createElementVNode("h4",null,"Accepted Payment:",-1)),b={__name:"CardSpot",props:{spot:Object,organization:Object},setup(t){const i=t;return(o,n)=>(e.openBlock(),e.createElementBlock("div",p,[e.createVNode(d.default,{apiKey:o.GOOGLE_MAPS_API_KEY,location:{lat:t.spot.location.coordinates[1],lng:t.spot.location.coordinates[0]},locale:o.$i18n.locale,class:""},null,8,["apiKey","location","locale"]),e.createElementVNode("div",u,[e.createVNode(r.default,{onClick:n[0]||(n[0]=a=>o.$router.push({name:"Spot Edit",params:{_id:i.organization._id,spot:t.spot._id}})),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"}),e.createElementVNode("p",{onClick:n[1]||(n[1]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"pd-thin bg-white radius-small mn-b-thin p-small w-max"},e.toDisplayString(t.spot.address),1),e.createElementVNode("h3",{onClick:n[2]||(n[2]=a=>o.$router.push(`/app/organization/${i.organization._id}/spots/${t.spot._id}`)),class:"mn-b-thin w-100",innerHTML:t.spot.profile.name},null,8,m),e.createElementVNode("p",h,e.toDisplayString(t.spot.profile.description),1),g,o.type!=="short"&&t.spot.delivery.length>0?(e.openBlock(),e.createBlock(s.default,{key:0,chips:t.spot.delivery},null,8,["chips"])):e.createCommentVNode("",!0),y,o.type!=="short"&&t.spot.payment.length>0?(e.openBlock(),e.createBlock(s.default,{key:1,chips:t.spot.payment},null,8,["chips"])):e.createCommentVNode("",!0)])]))}},v=c.default(b,[["__scopeId","data-v-fba16034"]]);exports.default=v;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock as n, createElementBlock as u, createVNode as l, createElementVNode as i, toDisplayString as r, createBlock as p, createCommentVNode as d, pushScopeId as h, popScopeId as g } from "vue";
|
2
2
|
import f from "../../../icons/navigation/IconEdit.vue.js";
|
3
|
-
import c from "../../../../components/Chips/Chips.
|
3
|
+
import c from "../../../../components/Chips/Chips.vue2.js";
|
4
4
|
import y from "../../../../components/Map/Map.vue.js";
|
5
5
|
import "./CardSpot.vue2.js";
|
6
6
|
import b from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|