@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
@@ -1,62 +0,0 @@
|
|
1
|
-
import { ref as i, openBlock as m, createElementBlock as h, createElementVNode as z, normalizeStyle as _, createCommentVNode as S } from "vue";
|
2
|
-
import "./Magnifier.vue2.js";
|
3
|
-
import $ from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const k = ["src"], y = {
|
5
|
-
__name: "Magnifier",
|
6
|
-
props: {
|
7
|
-
imageSrc: String,
|
8
|
-
zoomFactor: {
|
9
|
-
type: Number,
|
10
|
-
default: 2
|
11
|
-
}
|
12
|
-
},
|
13
|
-
setup(l) {
|
14
|
-
const t = l, n = i(!1), s = i({});
|
15
|
-
function c(e) {
|
16
|
-
const o = e.target.getBoundingClientRect(), M = e.clientX - o.left, x = e.clientY - o.top, a = 200, r = Math.max(0, Math.min(M - a / 2, o.width - a)), u = Math.max(0, Math.min(x - a / 2, o.height - a));
|
17
|
-
s.value = {
|
18
|
-
left: `${r}px`,
|
19
|
-
top: `${u}px`,
|
20
|
-
backgroundPosition: `-${r * t.zoomFactor}px -${u * t.zoomFactor}px`,
|
21
|
-
backgroundImage: `url(${t.imageSrc})`,
|
22
|
-
backgroundSize: `${o.width * t.zoomFactor}px ${o.height * t.zoomFactor}px`
|
23
|
-
};
|
24
|
-
}
|
25
|
-
function d(e) {
|
26
|
-
n.value = !0, c(e);
|
27
|
-
}
|
28
|
-
function f() {
|
29
|
-
n.value = !1;
|
30
|
-
}
|
31
|
-
function p(e) {
|
32
|
-
e.preventDefault(), n.value = !0, c(e.touches[0]);
|
33
|
-
}
|
34
|
-
function g(e) {
|
35
|
-
e.preventDefault(), c(e.touches[0]);
|
36
|
-
}
|
37
|
-
function v() {
|
38
|
-
n.value = !1;
|
39
|
-
}
|
40
|
-
return (e, o) => (m(), h("div", {
|
41
|
-
class: "w-100 image-container",
|
42
|
-
onMousemove: d,
|
43
|
-
onMouseleave: f,
|
44
|
-
onTouchstart: p,
|
45
|
-
onTouchmove: g,
|
46
|
-
onTouchend: v
|
47
|
-
}, [
|
48
|
-
z("img", {
|
49
|
-
src: (e.FILE_SERVER_URL || "") + l.imageSrc,
|
50
|
-
class: "w-100"
|
51
|
-
}, null, 8, k),
|
52
|
-
n.value ? (m(), h("div", {
|
53
|
-
key: 0,
|
54
|
-
class: "zoom-lens",
|
55
|
-
style: _(s.value)
|
56
|
-
}, null, 4)) : S("", !0)
|
57
|
-
], 32));
|
58
|
-
}
|
59
|
-
}, b = /* @__PURE__ */ $(y, [["__scopeId", "data-v-9fd5ea8e"]]);
|
60
|
-
export {
|
61
|
-
b as default
|
62
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");require("./PhotoViewer.vue2.cjs");const Y=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),X=["src"],L={__name:"PhotoViewer",props:{photoUrl:String,show:Boolean},setup(p){const s=o.ref(1),a=o.reactive({x:0,y:0}),r=o.ref(!1),u=o.reactive({x:0,y:0}),d=o.ref(1),i=o.ref(0),v=o.computed(()=>({transform:`scale(${s.value}) translate(${a.x}px, ${a.y}px)`})),f=e=>{e.preventDefault();const t=e.deltaY>0?-.1:.1;s.value=Math.min(Math.max(1,s.value+t),3)},m=e=>{e.preventDefault(),r.value=!0,u.x=e.type==="mousedown"?e.clientX:e.touches[0].clientX,u.y=e.type==="mousedown"?e.clientY:e.touches[0].clientY;const t=n=>{if(r.value){const l=n.type==="mousemove"?n.clientX:n.touches[0].clientX,h=n.type==="mousemove"?n.clientY:n.touches[0].clientY;a.x+=(l-u.x)/s.value,a.y+=(h-u.y)/s.value,u.x=l,u.y=h}},c=()=>{r.value=!1,document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",c),document.removeEventListener("touchmove",t),document.removeEventListener("touchend",c)};document.addEventListener("mousemove",t),document.addEventListener("mouseup",c),document.addEventListener("touchmove",t),document.addEventListener("touchend",c)},y=e=>{if(e.touches.length===2){const t=e.touches[0],c=e.touches[1],n=Math.abs(t.clientX-c.clientX),l=Math.abs(t.clientY-c.clientY);i.value=Math.sqrt(n**2+l**2),d.value=s.value}else m(e)},g=e=>{if(e.touches.length===2){e.preventDefault();const t=e.touches[0],c=e.touches[1],n=Math.abs(t.clientX-c.clientX),l=Math.abs(t.clientY-c.clientY),_=Math.sqrt(n**2+l**2)/i.value;s.value=Math.min(Math.max(1,d.value*_),3)}},x=e=>{e.touches.length===0&&(i.value=0)},M=()=>{s.value=1,a.x=0,a.y=0};return(e,t)=>(o.openBlock(),o.createElementBlock("div",{class:"photo-container",onWheel:f,onMousedown:m,onTouchstart:y,onTouchmove:g,onTouchend:x},[o.createElementVNode("img",{src:p.photoUrl,style:o.normalizeStyle(v.value),ref:"image",onLoad:M},null,44,X)],32))}},w=Y.default(L,[["__scopeId","data-v-b2af8556"]]);exports.default=w;
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("vue-router");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/Upload/Upload.vue2.cjs");require("../../store/gallery.cjs");const N={class:"pd-medium flex-v-center gap-big flex-nowrap flex pd-t-thin pd-b-thin o-scroll"},V=["onClick"],C=["data-id"],B=["src","onClick"],q={class:"modal pd-thin"},M={class:"modal-content radius-big"},S={class:""},x=["src"],I=!1,m=10,z={__name:"GalleryWithCategories",setup(G){w.useRoute();const r=e.ref(null),v=["all","place","drinks","people","events"];let s=1,i=e.ref(null),c=e.ref(!1);const f=e.computed(()=>n.value==="all"?state.gallery:state.gallery.filter(l=>l.categories.includes(n.value))),p=async()=>{c.value=!0,await actions.fetchGallery(s,m),c.value=!1},a=e.ref(null),o=e.ref({categories:"",size:"",image:!1}),h=e.ref(null),g=l=>{I.value?_(l):(a.value="modal",o.value.image=l,d())},_=l=>{a.value="edit-modal",o.value=l||{categories:"",size:"",image:null},d()},k=()=>{o.value={categories:"",size:"",image:!1},h.value=null,y()},d=()=>{document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"},y=()=>{document.body.style.overflow="",document.documentElement.style.overflow=""};let n=e.ref("all");const E=l=>{n.value=l};return e.onMounted(async()=>{await actions.fetchGallery(s,m),typeof window<"u"&&new IntersectionObserver(u=>{u.some(t=>t.isIntersecting)&&(s+=1,p())}).observe(i.value)}),(l,u)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",N,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(v,t=>e.createElementVNode("a",{key:t,onClick:b=>E(t),class:e.normalizeClass(["h3 uppercase",{"t-transp":e.unref(n)!==t,"pd-thin bg-main radius-small":e.unref(n)===t}])},e.toDisplayString(l.$t("gallery.categories."+t)),11,V)),64)),e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"grid",ref:r,class:"pd-medium cols-4 gap-thin"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(t,b)=>(e.openBlock(),e.createElementBlock("div",{key:t.id,"data-id":t.id},[e.createVNode(e.Transition,{name:"scaleIn",mode:"in-out"},{default:e.withCtx(()=>[r.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:"https://thecommunephuket.com/photos/"+t.cover,class:"w-100 h-100 o-hidden radius-big object-fit-cover",onClick:$=>g(t.image)},null,8,B)):e.createCommentVNode("",!0)]),_:2},1024)],8,C))),128)),e.createElementVNode("div",{ref_key:"sentinel",ref:i,class:"sentinel"},null,512),e.withDirectives(e.createElementVNode("div",q,[e.createElementVNode("div",M,[e.createElementVNode("div",S,[e.createElementVNode("span",{class:"close",onClick:k},"×"),e.createElementVNode("img",{src:"https://thecommunephuket.com/photos/"+o.value.image},null,8,x)])])],512),[[e.vShow,o.value.image!==!1&&a.value==="modal"]])],512)]))}};exports.default=z;
|
@@ -1,110 +0,0 @@
|
|
1
|
-
import { ref as o, computed as S, onMounted as N, openBlock as a, createElementBlock as i, createElementVNode as l, Fragment as f, renderList as h, normalizeClass as V, unref as g, toDisplayString as $, createCommentVNode as _, createVNode as B, Transition as D, withCtx as j, withDirectives as F, vShow as L } from "vue";
|
2
|
-
import { useRoute as O } from "vue-router";
|
3
|
-
import "../../../../components/Field/Field.vue.js";
|
4
|
-
import "../../../../components/Loader/Loader.vue.js";
|
5
|
-
import "../../../../components/Button/Button.vue.js";
|
6
|
-
import "../../../../components/Select/Select.vue2.js";
|
7
|
-
import "../../../../components/Upload/Upload.vue2.js";
|
8
|
-
import "../../store/gallery.js";
|
9
|
-
const P = { class: "pd-medium flex-v-center gap-big flex-nowrap flex pd-t-thin pd-b-thin o-scroll" }, R = ["onClick"], T = ["data-id"], W = ["src", "onClick"], q = { class: "modal pd-thin" }, A = { class: "modal-content radius-big" }, H = { class: "" }, J = ["src"], K = !1, y = 10, ne = {
|
10
|
-
__name: "GalleryWithCategories",
|
11
|
-
setup(Q) {
|
12
|
-
O();
|
13
|
-
const d = o(null), b = ["all", "place", "drinks", "people", "events"];
|
14
|
-
let r = 1, u = o(null), m = o(!1);
|
15
|
-
const k = S(() => n.value === "all" ? state.gallery : state.gallery.filter((t) => t.categories.includes(n.value))), w = async () => {
|
16
|
-
m.value = !0, await actions.fetchGallery(r, y), m.value = !1;
|
17
|
-
}, c = o(null), s = o({
|
18
|
-
categories: "",
|
19
|
-
size: "",
|
20
|
-
image: !1
|
21
|
-
}), C = o(null), x = (t) => {
|
22
|
-
K.value ? E(t) : (c.value = "modal", s.value.image = t, v());
|
23
|
-
}, E = (t) => {
|
24
|
-
c.value = "edit-modal", s.value = t || {
|
25
|
-
categories: "",
|
26
|
-
size: "",
|
27
|
-
image: null
|
28
|
-
}, v();
|
29
|
-
}, I = () => {
|
30
|
-
s.value = {
|
31
|
-
categories: "",
|
32
|
-
size: "",
|
33
|
-
image: !1
|
34
|
-
}, C.value = null, M();
|
35
|
-
}, v = () => {
|
36
|
-
document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden";
|
37
|
-
}, M = () => {
|
38
|
-
document.body.style.overflow = "", document.documentElement.style.overflow = "";
|
39
|
-
};
|
40
|
-
let n = o("all");
|
41
|
-
const z = (t) => {
|
42
|
-
n.value = t;
|
43
|
-
};
|
44
|
-
return N(async () => {
|
45
|
-
await actions.fetchGallery(r, y), typeof window < "u" && new IntersectionObserver((p) => {
|
46
|
-
p.some((e) => e.isIntersecting) && (r += 1, w());
|
47
|
-
}).observe(u.value);
|
48
|
-
}), (t, p) => (a(), i("div", null, [
|
49
|
-
l("div", P, [
|
50
|
-
(a(), i(f, null, h(b, (e) => l("a", {
|
51
|
-
key: e,
|
52
|
-
onClick: (G) => z(e),
|
53
|
-
class: V(["h3 uppercase", {
|
54
|
-
"t-transp": g(n) !== e,
|
55
|
-
"pd-thin bg-main radius-small": g(n) === e
|
56
|
-
}])
|
57
|
-
}, $(t.$t("gallery.categories." + e)), 11, R)), 64)),
|
58
|
-
_("", !0)
|
59
|
-
]),
|
60
|
-
l("div", {
|
61
|
-
ref_key: "grid",
|
62
|
-
ref: d,
|
63
|
-
class: "pd-medium cols-4 gap-thin"
|
64
|
-
}, [
|
65
|
-
(a(!0), i(f, null, h(k.value, (e, G) => (a(), i("div", {
|
66
|
-
key: e.id,
|
67
|
-
"data-id": e.id
|
68
|
-
}, [
|
69
|
-
B(D, {
|
70
|
-
name: "scaleIn",
|
71
|
-
mode: "in-out"
|
72
|
-
}, {
|
73
|
-
default: j(() => [
|
74
|
-
d.value ? (a(), i("img", {
|
75
|
-
key: 0,
|
76
|
-
src: "https://thecommunephuket.com/photos/" + e.cover,
|
77
|
-
class: "w-100 h-100 o-hidden radius-big object-fit-cover",
|
78
|
-
onClick: (U) => x(e.image)
|
79
|
-
}, null, 8, W)) : _("", !0)
|
80
|
-
]),
|
81
|
-
_: 2
|
82
|
-
}, 1024)
|
83
|
-
], 8, T))), 128)),
|
84
|
-
l("div", {
|
85
|
-
ref_key: "sentinel",
|
86
|
-
ref: u,
|
87
|
-
class: "sentinel"
|
88
|
-
}, null, 512),
|
89
|
-
F(l("div", q, [
|
90
|
-
l("div", A, [
|
91
|
-
l("div", H, [
|
92
|
-
l("span", {
|
93
|
-
class: "close",
|
94
|
-
onClick: I
|
95
|
-
}, "×"),
|
96
|
-
l("img", {
|
97
|
-
src: "https://thecommunephuket.com/photos/" + s.value.image
|
98
|
-
}, null, 8, J)
|
99
|
-
])
|
100
|
-
])
|
101
|
-
], 512), [
|
102
|
-
[L, s.value.image !== !1 && c.value === "modal"]
|
103
|
-
])
|
104
|
-
], 512)
|
105
|
-
]));
|
106
|
-
}
|
107
|
-
};
|
108
|
-
export {
|
109
|
-
ne as default
|
110
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
@@ -1 +0,0 @@
|
|
1
|
-
|
package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../../icons/navigation/IconCalendar.vue.cjs");require("./ButtonDate.vue.cjs");const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),s=t=>(e.pushScopeId("data-v-605382d1"),t=t(),e.popScopeId(),t),u=s(()=>e.createElementVNode("span",{class:"t-semi"},"11 Apr - 18 Mar 23",-1)),l={__name:"ButtonDate",props:{action:{type:Function}},setup(t){const c=t,{action:o}=e.toRefs(c),n=()=>{o.value&&o.value()};return(d,p)=>(e.openBlock(),e.createElementBlock("div",{onClick:n,class:"flex-center flex"},[e.createVNode(a.default,{class:"w-1r mn-r-thin h-auto"}),u]))}},i=r.default(l,[["__scopeId","data-v-605382d1"]]);exports.default=i;
|
package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
import { toRefs as a, openBlock as s, createElementBlock as n, createVNode as r, pushScopeId as p, popScopeId as i, createElementVNode as l } from "vue";
|
2
|
-
import _ from "../../../icons/navigation/IconCalendar.vue.js";
|
3
|
-
import "./ButtonDate.vue.js";
|
4
|
-
import d from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
-
const m = (t) => (p("data-v-605382d1"), t = t(), i(), t), f = /* @__PURE__ */ m(() => /* @__PURE__ */ l("span", { class: "t-semi" }, "11 Apr - 18 Mar 23", -1)), u = {
|
6
|
-
__name: "ButtonDate",
|
7
|
-
props: {
|
8
|
-
action: {
|
9
|
-
type: Function
|
10
|
-
}
|
11
|
-
},
|
12
|
-
setup(t) {
|
13
|
-
const o = t, { action: e } = a(o), c = () => {
|
14
|
-
e.value && e.value();
|
15
|
-
};
|
16
|
-
return (h, v) => (s(), n("div", {
|
17
|
-
onClick: c,
|
18
|
-
class: "flex-center flex"
|
19
|
-
}, [
|
20
|
-
r(_, { class: "w-1r mn-r-thin h-auto" }),
|
21
|
-
f
|
22
|
-
]));
|
23
|
-
}
|
24
|
-
}, S = /* @__PURE__ */ d(u, [["__scopeId", "data-v-605382d1"]]);
|
25
|
-
export {
|
26
|
-
S as default
|
27
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n={class:"w-100",itemprop:"name"},a={class:"h1",itemprop:"headline"},r={class:"text-fade-in"},c={class:"text-splitted"},l={__name:"Title",props:{text:{type:String,default:"Dreamy Moments Captured"}},setup(t){const s=t,{text:o}=e.toRefs(s);return(i,d)=>(e.openBlock(),e.createElementBlock("header",n,[e.createElementVNode("h2",a,[e.createElementVNode("span",r,[e.createElementVNode("span",c,e.toDisplayString(e.unref(o)),1)])])]))}};exports.default=l;
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { toRefs as n, openBlock as a, createElementBlock as c, createElementVNode as t, toDisplayString as r, unref as p } from "vue";
|
2
|
-
const i = {
|
3
|
-
class: "w-100",
|
4
|
-
itemprop: "name"
|
5
|
-
}, l = {
|
6
|
-
class: "h1",
|
7
|
-
itemprop: "headline"
|
8
|
-
}, _ = { class: "text-fade-in" }, d = { class: "text-splitted" }, u = {
|
9
|
-
__name: "Title",
|
10
|
-
props: {
|
11
|
-
text: {
|
12
|
-
type: String,
|
13
|
-
default: "Dreamy Moments Captured"
|
14
|
-
}
|
15
|
-
},
|
16
|
-
setup(e) {
|
17
|
-
const s = e, { text: o } = n(s);
|
18
|
-
return (m, h) => (a(), c("header", i, [
|
19
|
-
t("h2", l, [
|
20
|
-
t("span", _, [
|
21
|
-
t("span", d, r(p(o)), 1)
|
22
|
-
])
|
23
|
-
])
|
24
|
-
]));
|
25
|
-
}
|
26
|
-
};
|
27
|
-
export {
|
28
|
-
u as default
|
29
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../icons/navigation/IconChevronRight.vue.cjs"),o=e.defineComponent({props:{},setup(c,{slots:l}){return()=>{const r=l.default?l.default():[],n=[],i=[];return r.forEach(t=>{t.toString(),t.props&&t.props.icon?n.push(t):i.push(t)}),e.h("div",{class:["w-100","t-left","flex-nowrap","flex-v-center","flex",{"br-b br-black-transp-10 br-solid":!0}]},[...n.length?[e.h("div",{class:["mn-b-thin","mn-t-thin","flex-center","flex","mn-r-small","flex-child","flex-child-shrink-0","i-big","bg-main","radius-thin"]},n)]:[],e.h("div",{class:["w-100","mn-b-thin","mn-t-thin","mn-r-small","i-big","flex-v-center","flex"]},[e.h("span",{class:["p-big","t-medium","mn-r-auto"]},i)]),e.h(s.default,{class:"i-medium mn-r-medium",type:"chevron"})])}}});exports.default=o;
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("vue"),o=require("../../../../components/Block/Block.vue.cjs"),a=require("../../../../components/Field/Field.vue.cjs"),n=require("../../../../components/FieldPhone/FieldPhone.vue.cjs"),s=require("../../../../components/Select/Select.vue2.cjs"),u={class:"flex-nowrap flex"},d={__name:"FormClientDetails",props:{order:Object},setup(r){return(i,e)=>(l.openBlock(),l.createBlock(o.default,{title:"Personal Data",class:"mn-b-thin"},{default:l.withCtx(()=>[l.createVNode(a.default,{field:r.order.customer.name,"onUpdate:field":e[0]||(e[0]=t=>r.order.customer.name=t),label:"Name*",placeholder:"Enter your name",class:"bg-white pd-medium radius-small mn-b-thin"},null,8,["field"]),l.createElementVNode("div",u,[l.createVNode(s.default,{options:[{name:"Phone",value:"phone"},{name:"Telegram",value:"telegram"},{name:"WhatsApp",value:"whatsapp"},{name:"Line",value:"line"}],"onUpdate:select":e[1]||(e[1]=t=>r.order.customer.messenger.type=t.value),placeholder:"Messenger",size:"small",class:"bg-white pd-medium radius-small mn-r-small"}),l.createVNode(n.default,{modelValue:r.order.customer.phone,"onUpdate:modelValue":e[2]||(e[2]=t=>r.order.customer.phone=t),onCountry:e[3]||(e[3]=t=>{r.order.customer.number=t}),inputOptions:{placeholder:"Enter contact phone number",type:"tel"},defaultCountry:"TH",validCharactersOnly:!0,dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},mode:"national",class:"bg-white pd-small radius-small mn-b-thin"},null,8,["modelValue"])])]),_:1}))}};exports.default=d;
|
package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js
DELETED
@@ -1,65 +0,0 @@
|
|
1
|
-
import { openBlock as r, createBlock as n, withCtx as a, createVNode as o, createElementVNode as m } from "vue";
|
2
|
-
import s from "../../../../components/Block/Block.vue.js";
|
3
|
-
import d from "../../../../components/Field/Field.vue.js";
|
4
|
-
import i from "../../../../components/FieldPhone/FieldPhone.vue.js";
|
5
|
-
import u from "../../../../components/Select/Select.vue2.js";
|
6
|
-
const p = { class: "flex-nowrap flex" }, v = {
|
7
|
-
__name: "FormClientDetails",
|
8
|
-
props: {
|
9
|
-
order: Object
|
10
|
-
},
|
11
|
-
setup(t) {
|
12
|
-
return (c, e) => (r(), n(s, {
|
13
|
-
title: "Personal Data",
|
14
|
-
class: "mn-b-thin"
|
15
|
-
}, {
|
16
|
-
default: a(() => [
|
17
|
-
o(d, {
|
18
|
-
field: t.order.customer.name,
|
19
|
-
"onUpdate:field": e[0] || (e[0] = (l) => t.order.customer.name = l),
|
20
|
-
label: "Name*",
|
21
|
-
placeholder: "Enter your name",
|
22
|
-
class: "bg-white pd-medium radius-small mn-b-thin"
|
23
|
-
}, null, 8, ["field"]),
|
24
|
-
m("div", p, [
|
25
|
-
o(u, {
|
26
|
-
options: [
|
27
|
-
{ name: "Phone", value: "phone" },
|
28
|
-
{ name: "Telegram", value: "telegram" },
|
29
|
-
{ name: "WhatsApp", value: "whatsapp" },
|
30
|
-
{ name: "Line", value: "line" }
|
31
|
-
],
|
32
|
-
"onUpdate:select": e[1] || (e[1] = (l) => t.order.customer.messenger.type = l.value),
|
33
|
-
placeholder: "Messenger",
|
34
|
-
size: "small",
|
35
|
-
class: "bg-white pd-medium radius-small mn-r-small"
|
36
|
-
}),
|
37
|
-
o(i, {
|
38
|
-
modelValue: t.order.customer.phone,
|
39
|
-
"onUpdate:modelValue": e[2] || (e[2] = (l) => t.order.customer.phone = l),
|
40
|
-
onCountry: e[3] || (e[3] = (l) => {
|
41
|
-
t.order.customer.number = l;
|
42
|
-
}),
|
43
|
-
inputOptions: {
|
44
|
-
placeholder: "Enter contact phone number",
|
45
|
-
type: "tel"
|
46
|
-
},
|
47
|
-
defaultCountry: "TH",
|
48
|
-
validCharactersOnly: !0,
|
49
|
-
dropdownOptions: {
|
50
|
-
showDialCodeInSelection: !0,
|
51
|
-
showFlags: !0,
|
52
|
-
showDialCodeInList: !0
|
53
|
-
},
|
54
|
-
mode: "national",
|
55
|
-
class: "bg-white pd-small radius-small mn-b-thin"
|
56
|
-
}, null, 8, ["modelValue"])
|
57
|
-
])
|
58
|
-
]),
|
59
|
-
_: 1
|
60
|
-
}));
|
61
|
-
}
|
62
|
-
};
|
63
|
-
export {
|
64
|
-
v as default
|
65
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const p=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),f=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");const v=require("../../../../components/Feed/Feed.vue.cjs"),h=require("../../../users/components/blocks/CardUser.vue.cjs"),k=require("../../store/memberships.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("./DepartmentMemberModify.vue2.cjs");const g={class:"br-grey-transp-25 radius-small mn-small"},y={class:"bg-light mn-b-thin h-min-10r h-max-10r o-scroll pd-medium radius-big"},_=["disabled"],q={__name:"DepartmentMemberModify",props:{isPopupOpen:Boolean,member:Number,members:Array,users:Array},emits:["callback","remove"],setup(i,{emit:m}){const r=i,u=m,n=e.ref(null),t=e.ref(null);r.member!==null&&(n.value=r.members[r.member]),e.ref(null);async function c(){r.member!==null?(r.members[r.member]=n,r.members[r.member].role=t.value,u("callback")):(r.members.push({...n.value,role:t.value}),u("callback"))}async function d(){r.members.splice(r.member,1),u("callback")}return(s,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",g,[e.createElementVNode("div",y,[e.createVNode(v.default,{states:{empty:{title:"No Members Found",description:"Currently, there are no members available."}},store:{read:o=>k.actions.read(o),state:null},options:{target:s.$route.params._id}},{default:e.withCtx(({items:o})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,(l,b)=>(e.openBlock(),e.createBlock(h.default,{key:b,photo:l.user.profile.photo,name:l.user.profile.name||l.user.phone||l.user.email||l.user._id,user:l,position:l.position,onClick:a[0]||(a[0]=N=>s.$router.push(`/app/profile/${s.user._id}`)),class:"mn-b-thin"},null,8,["photo","name","user","position"]))),128))]),_:1},8,["store","options"])]),e.createVNode(f.default,{field:t.value,"onUpdate:field":a[1]||(a[1]=o=>t.value=o),label:"Должность",placeholder:"Название должности",class:"bg-white",validation:s.organizationName},null,8,["field","validation"])]),e.createElementVNode("button",{disabled:!n.value||!t.value,onClick:c,class:"w-100 button bg-blue t-white"},e.toDisplayString(r.member!==null?"Редактировать участника":"Добавить участника"),9,_),r.member!==null?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:d,class:"w-100 button bg-red t-white"}," Удалить участника ")):e.createCommentVNode("",!0)]))}},B=p.default(q,[["__scopeId","data-v-0d6c0d38"]]);exports.default=B;
|
@@ -1,87 +0,0 @@
|
|
1
|
-
import { ref as i, openBlock as n, createElementBlock as u, createElementVNode as p, createVNode as b, withCtx as _, Fragment as y, renderList as k, createBlock as g, toDisplayString as w, createCommentVNode as C } from "vue";
|
2
|
-
import "../../../../components/SelectMulti/SelectMulti.vue2.js";
|
3
|
-
import M from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
import N from "../../../../components/Field/Field.vue2.js";
|
5
|
-
import "../../../../components/Select/Select.vue2.js";
|
6
|
-
import $ from "../../../../components/Feed/Feed.vue.js";
|
7
|
-
import B from "../../../users/components/blocks/CardUser.vue.js";
|
8
|
-
import { actions as F } from "../../store/memberships.js";
|
9
|
-
import "../../../middlewares/client/inputs.validation.js";
|
10
|
-
import "./DepartmentMemberModify.vue2.js";
|
11
|
-
const D = { class: "br-grey-transp-25 radius-small mn-small" }, I = { class: "bg-light mn-b-thin h-min-10r h-max-10r o-scroll pd-medium radius-big" }, V = ["disabled"], A = {
|
12
|
-
__name: "DepartmentMemberModify",
|
13
|
-
props: {
|
14
|
-
isPopupOpen: Boolean,
|
15
|
-
member: Number,
|
16
|
-
members: Array,
|
17
|
-
users: Array
|
18
|
-
},
|
19
|
-
emits: ["callback", "remove"],
|
20
|
-
setup(d, { emit: c }) {
|
21
|
-
const e = d, a = c, l = i(null), o = i(null);
|
22
|
-
e.member !== null && (l.value = e.members[e.member]), i(null);
|
23
|
-
async function f() {
|
24
|
-
e.member !== null ? (e.members[e.member] = l, e.members[e.member].role = o.value, a("callback")) : (e.members.push({ ...l.value, role: o.value }), a("callback"));
|
25
|
-
}
|
26
|
-
async function v() {
|
27
|
-
e.members.splice(e.member, 1), a("callback");
|
28
|
-
}
|
29
|
-
return (s, m) => (n(), u("div", null, [
|
30
|
-
p("div", D, [
|
31
|
-
p("div", I, [
|
32
|
-
b($, {
|
33
|
-
states: {
|
34
|
-
empty: {
|
35
|
-
title: "No Members Found",
|
36
|
-
description: "Currently, there are no members available."
|
37
|
-
}
|
38
|
-
},
|
39
|
-
store: {
|
40
|
-
read: (t) => F.read(t),
|
41
|
-
state: null
|
42
|
-
},
|
43
|
-
options: {
|
44
|
-
target: s.$route.params._id
|
45
|
-
}
|
46
|
-
}, {
|
47
|
-
default: _(({
|
48
|
-
items: t
|
49
|
-
}) => [
|
50
|
-
(n(!0), u(y, null, k(t, (r, h) => (n(), g(B, {
|
51
|
-
key: h,
|
52
|
-
photo: r.user.profile.photo,
|
53
|
-
name: r.user.profile.name || r.user.phone || r.user.email || r.user._id,
|
54
|
-
user: r,
|
55
|
-
position: r.position,
|
56
|
-
onClick: m[0] || (m[0] = (E) => s.$router.push(`/app/profile/${s.user._id}`)),
|
57
|
-
class: "mn-b-thin"
|
58
|
-
}, null, 8, ["photo", "name", "user", "position"]))), 128))
|
59
|
-
]),
|
60
|
-
_: 1
|
61
|
-
}, 8, ["store", "options"])
|
62
|
-
]),
|
63
|
-
b(N, {
|
64
|
-
field: o.value,
|
65
|
-
"onUpdate:field": m[1] || (m[1] = (t) => o.value = t),
|
66
|
-
label: "Должность",
|
67
|
-
placeholder: "Название должности",
|
68
|
-
class: "bg-white",
|
69
|
-
validation: s.organizationName
|
70
|
-
}, null, 8, ["field", "validation"])
|
71
|
-
]),
|
72
|
-
p("button", {
|
73
|
-
disabled: !l.value || !o.value,
|
74
|
-
onClick: f,
|
75
|
-
class: "w-100 button bg-blue t-white"
|
76
|
-
}, w(e.member !== null ? "Редактировать участника" : "Добавить участника"), 9, V),
|
77
|
-
e.member !== null ? (n(), u("button", {
|
78
|
-
key: 0,
|
79
|
-
onClick: v,
|
80
|
-
class: "w-100 button bg-red t-white"
|
81
|
-
}, " Удалить участника ")) : C("", !0)
|
82
|
-
]));
|
83
|
-
}
|
84
|
-
}, H = /* @__PURE__ */ M(A, [["__scopeId", "data-v-0d6c0d38"]]);
|
85
|
-
export {
|
86
|
-
H as default
|
87
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs");require("./User.vue2.cjs");const u=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),s={class:"flex-v-center flex-nowrap flex"},l=["src"],a={__name:"User",props:{user:{type:Object,required:!0},photo:{type:String,default:null},name:{type:String,default:"Anonymous"}},setup(t){return(o,r)=>(e.openBlock(),e.createElementBlock("div",s,[t.photo?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(n=>o.$router.push({name:t.user.type==="user"?"User Profile":"Organization",params:{_id:t.user._id}}),["stop"]))},null,8,l)):e.createCommentVNode("",!0),t.photo?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(i.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(n=>o.$router.push({name:"User Profile",params:{_id:t.user._id}}),["stop"]))})),e.createElementVNode("p",null,e.toDisplayString(t.name),1)]))}},d=u.default(a,[["__scopeId","data-v-84de60e5"]]);exports.default=d;
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import { openBlock as o, createElementBlock as i, withModifiers as n, createCommentVNode as s, createBlock as l, createElementVNode as m, toDisplayString as u } from "vue";
|
2
|
-
import d from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
|
3
|
-
import "./User.vue2.js";
|
4
|
-
import c from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
-
const p = { class: "flex-v-center flex-nowrap flex" }, f = ["src"], h = {
|
6
|
-
__name: "User",
|
7
|
-
props: {
|
8
|
-
user: {
|
9
|
-
type: Object,
|
10
|
-
required: !0
|
11
|
-
},
|
12
|
-
photo: {
|
13
|
-
type: String,
|
14
|
-
default: null
|
15
|
-
},
|
16
|
-
name: {
|
17
|
-
type: String,
|
18
|
-
default: "Anonymous"
|
19
|
-
}
|
20
|
-
// Define other props here
|
21
|
-
},
|
22
|
-
setup(e) {
|
23
|
-
return (r, t) => (o(), i("div", p, [
|
24
|
-
e.photo ? (o(), i("img", {
|
25
|
-
key: 0,
|
26
|
-
src: (r.FILE_SERVER_URL || "") + e.photo,
|
27
|
-
class: "radius-medium object-fit-cover mn-r-thin i-thin",
|
28
|
-
onClick: t[0] || (t[0] = n((a) => r.$router.push({
|
29
|
-
name: e.user.type === "user" ? "User Profile" : "Organization",
|
30
|
-
params: {
|
31
|
-
_id: e.user._id
|
32
|
-
}
|
33
|
-
}), ["stop"]))
|
34
|
-
}, null, 8, f)) : s("", !0),
|
35
|
-
e.photo ? s("", !0) : (o(), l(d, {
|
36
|
-
key: 1,
|
37
|
-
class: "radius-medium mn-r-thin i-thin",
|
38
|
-
onClick: t[1] || (t[1] = n((a) => r.$router.push({
|
39
|
-
name: "User Profile",
|
40
|
-
params: {
|
41
|
-
_id: e.user._id
|
42
|
-
}
|
43
|
-
}), ["stop"]))
|
44
|
-
})),
|
45
|
-
m("p", null, u(e.name), 1)
|
46
|
-
]));
|
47
|
-
}
|
48
|
-
}, g = /* @__PURE__ */ c(h, [["__scopeId", "data-v-84de60e5"]]);
|
49
|
-
export {
|
50
|
-
g as default
|
51
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
@@ -1 +0,0 @@
|
|
1
|
-
|
package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-i18n"),l={class:"pd-medium mn-b-thin bg-light radius-big"},u={class:"flex-nowrap flex flex-v-center"},a=e.createElementVNode("p",{class:"mn-r-auto p-big t-semi t-transp"},"2,982 results",-1),p={__name:"SortProducts",props:{categories:Array,prices:Array,deliveryOptions:Array,selectedFilters:Object},emits:["updateFilters","resetFilters"],setup(c,{emit:d}){const n={locale:"en",messages:{en:{sort:{price:"By price",newest:"By newest",popularity:"By popularity"}},ru:{sort:{price:"По цене",newest:"По новизне",popularity:"По популярности"}}}},{t:r}=i.useI18n(n);return(s,t)=>(e.openBlock(),e.createElementBlock("div",l,[e.createElementVNode("div",u,[a,e.createElementVNode("button",{onClick:t[0]||(t[0]=o=>s.setSort("price")),class:"button-active button-sort button"},e.toDisplayString(e.unref(r)("sort.price")),1),e.createElementVNode("button",{onClick:t[1]||(t[1]=o=>s.setSort("createdAt")),class:"button-sort button"},e.toDisplayString(e.unref(r)("sort.newest")),1),e.createElementVNode("button",{onClick:t[2]||(t[2]=o=>s.setSort("popularity")),class:"button-sort button"},e.toDisplayString(e.unref(r)("sort.popularity")),1)])]))}};exports.default=p;
|
package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
import { openBlock as l, createElementBlock as u, createElementVNode as e, toDisplayString as o, unref as n } from "vue";
|
2
|
-
import { useI18n as a } from "vue-i18n";
|
3
|
-
const c = { class: "pd-medium mn-b-thin bg-light radius-big" }, m = { class: "flex-nowrap flex flex-v-center" }, b = /* @__PURE__ */ e("p", { class: "mn-r-auto p-big t-semi t-transp" }, "2,982 results", -1), g = {
|
4
|
-
__name: "SortProducts",
|
5
|
-
props: {
|
6
|
-
categories: Array,
|
7
|
-
prices: Array,
|
8
|
-
deliveryOptions: Array,
|
9
|
-
selectedFilters: Object
|
10
|
-
},
|
11
|
-
emits: ["updateFilters", "resetFilters"],
|
12
|
-
setup(d, { emit: y }) {
|
13
|
-
const p = {
|
14
|
-
locale: "en",
|
15
|
-
messages: {
|
16
|
-
en: {
|
17
|
-
sort: {
|
18
|
-
price: "By price",
|
19
|
-
newest: "By newest",
|
20
|
-
popularity: "By popularity"
|
21
|
-
}
|
22
|
-
},
|
23
|
-
ru: {
|
24
|
-
sort: {
|
25
|
-
price: "По цене",
|
26
|
-
newest: "По новизне",
|
27
|
-
popularity: "По популярности"
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}, { t: s } = a(p);
|
32
|
-
return (r, t) => (l(), u("div", c, [
|
33
|
-
e("div", m, [
|
34
|
-
b,
|
35
|
-
e("button", {
|
36
|
-
onClick: t[0] || (t[0] = (i) => r.setSort("price")),
|
37
|
-
class: "button-active button-sort button"
|
38
|
-
}, o(n(s)("sort.price")), 1),
|
39
|
-
e("button", {
|
40
|
-
onClick: t[1] || (t[1] = (i) => r.setSort("createdAt")),
|
41
|
-
class: "button-sort button"
|
42
|
-
}, o(n(s)("sort.newest")), 1),
|
43
|
-
e("button", {
|
44
|
-
onClick: t[2] || (t[2] = (i) => r.setSort("popularity")),
|
45
|
-
class: "button-sort button"
|
46
|
-
}, o(n(s)("sort.popularity")), 1)
|
47
|
-
])
|
48
|
-
]));
|
49
|
-
}
|
50
|
-
};
|
51
|
-
export {
|
52
|
-
g as default
|
53
|
-
};
|