@ozdao/prometheus-framework 0.2.81 → 0.2.83
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +1 -1
- package/dist/auth.server.mjs +1 -1
- package/dist/community.server.js +3 -3
- package/dist/community.server.mjs +3 -3
- package/dist/credentials.schema-B-KD_ozQ.js +9 -0
- package/dist/credentials.schema-C9dmNy7o.mjs +10 -0
- package/dist/credentials.schema-CDZCKfEI.mjs +106 -0
- package/dist/credentials.schema-CfhPcsuI.js +105 -0
- package/dist/events.server.js +4 -15
- package/dist/events.server.mjs +3 -14
- package/dist/files.server.js +1 -1
- package/dist/files.server.mjs +1 -1
- package/dist/gallery.server.js +1 -1
- package/dist/gallery.server.mjs +1 -1
- package/dist/index-B6a1mPgp.mjs +217 -0
- package/dist/index-BCCiEK_u.js +216 -0
- package/dist/main-8N2Jmsuk.js +91 -0
- package/dist/main-CkeuHuCY.mjs +13619 -0
- package/dist/main.css +1 -1
- package/dist/metadata.schema-Cu_mPkjE.js +77 -0
- package/dist/metadata.schema-cbFgazeK.mjs +78 -0
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -0
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +238 -0
- package/dist/orders.server.js +592 -0
- package/dist/orders.server.mjs +593 -0
- package/dist/organizations.server.js +295 -131
- package/dist/organizations.server.mjs +295 -131
- package/dist/products.server.js +2 -2
- package/dist/products.server.mjs +2 -2
- package/dist/profile.schema-24ZpZQJe.mjs +25 -0
- package/dist/profile.schema-CkOhhf37.js +24 -0
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +33 -24
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +23 -20
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -225
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +102 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +71 -60
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +1 -84
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +84 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +325 -340
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +2 -2
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +53 -44
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +41 -40
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +37 -31
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +18 -19
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -36
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +36 -1
- 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/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +26 -26
- 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 +78 -103
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +26 -0
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +77 -0
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/chats/store/chat.store.cjs +1 -0
- package/dist/prometheus-framework/src/modules/chats/store/chat.store.js +40 -0
- 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 +2 -2
- 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 +3 -3
- 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 +15 -15
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- 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 +4 -4
- 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/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.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 +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +29 -27
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js +33 -26
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +6 -3
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +70 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconGallery.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconGallery.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconLeftovers.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconLeftovers.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconOrders.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconOrders.vue.js +35 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconProducts.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconProducts.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCheckmark.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCheckmark.vue.js +29 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +30 -0
- 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 +63 -86
- 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/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +121 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +3 -0
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +92 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +202 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +127 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +1 -0
- 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 +174 -114
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +41 -41
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +89 -0
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +24 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/EmptyState.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/EmptyState.vue.js +13 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +141 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +77 -0
- 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 +46 -35
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +25 -0
- package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/orders.client.js +56 -0
- package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +58 -0
- package/dist/prometheus-framework/src/modules/orders/store/customers.store.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/customers.store.js +5 -0
- package/dist/prometheus-framework/src/modules/orders/store/models/customer.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/models/customer.js +30 -0
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +24 -25
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +5 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +16 -16
- 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/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +38 -49
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +6 -6
- 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 +161 -138
- 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 +198 -78
- 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 +82 -125
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- 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 +2 -2
- 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 +59 -70
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +34 -36
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +38 -18
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +34 -35
- 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/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +41 -21
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +24 -26
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +78 -0
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +13 -14
- 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 +2 -2
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/queryProcessor-BJdKh0Ow.mjs +162 -0
- package/dist/queryProcessor-DRMo_GWK.js +161 -0
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/users.server.js +58 -47
- package/dist/users.server.mjs +58 -47
- package/dist/wallet.server.js +2 -2
- package/dist/wallet.server.mjs +2 -2
- package/dist/web-CtVocufd.js +1 -0
- package/dist/web-DNq1tHCE.mjs +54 -0
- package/package.json +1 -1
- package/src/components/Address/Address.vue +13 -2
- package/src/components/Block/Block.vue +3 -2
- package/src/components/Button/Button.vue +9 -12
- package/src/components/Feed/Feed.vue +28 -6
- package/src/components/FieldPhone/FieldPhone.vue +592 -558
- package/src/components/LocationMarker/LocationMarker.vue +26 -22
- package/src/components/Popup/Popup.vue +22 -23
- package/src/components/Select/Select.vue +43 -32
- package/src/components/Slider/Slider.vue +3 -4
- package/src/modules/auth/components/pages/Invite.vue +7 -7
- package/src/modules/auth/store/auth.js +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +44 -29
- package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/events/components/blocks/CardEvent.vue +4 -3
- package/src/modules/events/components/pages/Events.vue +23 -6
- package/src/modules/globals/components/sections/SectionPageTitle.vue +19 -7
- package/src/modules/globals/controllers/utils/queryProcessor.js +21 -7
- package/src/modules/globals/localization/vue-i18n.js +3 -0
- package/src/modules/globals/models/credentials.schema.js +7 -0
- package/src/modules/globals/models/metadata.schema.js +17 -0
- package/src/modules/globals/models/profile.schema.js +23 -0
- package/src/modules/globals/models/socials.schema.js +22 -0
- package/src/modules/globals/router/routerGuards.js +1 -0
- package/src/modules/globals/services/globals.cashe.js +26 -0
- package/src/modules/globals/services/globals.crud.js +115 -0
- package/src/modules/globals/services/globals.logger.js +41 -0
- package/src/modules/globals/services/globals.store.js +114 -0
- package/src/modules/icons/entities/IconGallery.vue +14 -0
- package/src/modules/icons/entities/IconLeftovers.vue +14 -0
- package/src/modules/icons/entities/IconOrders.vue +15 -0
- package/src/modules/icons/entities/IconProducts.vue +14 -0
- package/src/modules/landing/components/sections/HeroSection.vue +1 -1
- package/src/modules/landing/components/sections/MobileApp.vue +4 -4
- package/src/modules/landing/router/landing.js +1 -1
- package/src/modules/marketplace/components/sections/Filters.vue +3 -3
- package/src/modules/middlewares/server/accessors/AccessController.js +33 -0
- package/src/modules/middlewares/server/accessors/ReadDepartments.js +101 -0
- package/src/modules/middlewares/server/verifyAccesses.js +33 -0
- package/src/modules/middlewares/server/verifyInvites.js +4 -4
- package/src/modules/orders/components/pages/OrderCreate.vue +2 -2
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +105 -68
- package/src/modules/orders/components/pages/Orders.vue +2 -2
- package/src/modules/orders/components/sections/FormAddCustomer.vue +152 -0
- package/src/modules/orders/components/sections/FormCustomerDetails.vue +67 -0
- package/src/modules/orders/components/sections/FormDelivery.vue +17 -3
- package/src/modules/orders/controllers/applications.controller.js +2 -0
- package/src/modules/orders/controllers/orders.controller.js +77 -52
- package/src/modules/orders/models/application.model.js +25 -25
- package/src/modules/orders/models/customer.model.js +54 -18
- package/src/modules/orders/models/order.model.js +1 -1
- package/src/modules/orders/models/testimonial.model.js +22 -23
- package/src/modules/orders/orders.client.js +51 -51
- package/src/modules/orders/orders.server.js +36 -12
- package/src/modules/orders/router/orders.router.js +36 -41
- package/src/modules/orders/routes/orders.routes.js +3 -21
- package/src/modules/orders/store/customers.store.js +5 -0
- package/src/modules/orders/store/models/customer.js +29 -0
- package/src/modules/orders/store/orders.js +14 -20
- package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +1 -12
- package/src/modules/organizations/components/pages/Department.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +72 -48
- package/src/modules/organizations/components/pages/Members.vue +178 -64
- package/src/modules/organizations/components/pages/Organization.vue +1 -41
- package/src/modules/organizations/components/sections/MembersAdd.vue +44 -52
- package/src/modules/organizations/controllers/departments.controller.js +2 -4
- package/src/modules/organizations/controllers/invites.controller.js +24 -23
- package/src/modules/organizations/controllers/organizations.controller.js +1 -1
- package/src/modules/organizations/models/department.model.js +52 -2
- package/src/modules/organizations/models/invite.model.js +29 -32
- package/src/modules/organizations/models/membership.model.js +2 -0
- package/src/modules/organizations/models/organization.model.js +2 -1
- package/src/modules/organizations/organizations.client.js +0 -2
- package/src/modules/organizations/routes/departments.routes.js +18 -7
- package/src/modules/organizations/routes/invites.routes.js +2 -2
- package/src/modules/organizations/store/departments.js +22 -1
- package/src/modules/organizations/store/invites.js +74 -90
- package/src/modules/products/components/blocks/CardProduct.vue +24 -0
- package/src/modules/products/components/pages/Products.vue +1 -1
- package/src/modules/reports/components/sections/FormReport.vue +40 -40
- package/src/modules/spots/components/pages/Spot.vue +1 -1
- package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
- package/src/modules/users/components/blocks/CardUser.vue +85 -0
- package/src/modules/users/controllers/users.controller.js +36 -13
- package/src/modules/users/middlewares/visitor.logger.js +66 -0
- package/src/modules/users/models/request.model.js +18 -0
- package/src/modules/users/models/user.model.js +26 -55
- package/src/modules/users/models/visitor.model.js +14 -0
- package/src/modules/users/store/users.js +2 -11
- package/src/modules/wallet/controllers/routes/payments.routes.js +2 -0
- package/src/components/FieldPhone/FieldPhone(script-setup).vue +0 -1646
- package/src/components/FieldPhone/FieldPhone2.vue +0 -671
- package/src/modules/orders/components/sections/FormClientDetails.vue +0 -61
- package/src/modules/organizations/components/blocks/User.vue +0 -69
- /package/src/modules/backoffice/components/admin/{User.vue → UserEdit.vue} +0 -0
@@ -5,9 +5,6 @@
|
|
5
5
|
<button class="cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra" @click="setUserLocation">
|
6
6
|
|
7
7
|
<transition name="ScaleOut" mode="out-in">
|
8
|
-
|
9
|
-
|
10
|
-
|
11
8
|
<svg v-if="!locationLoading" class="i-regular" width="98" height="98" viewBox="0 0 98 98" fill="none" xmlns="http://www.w3.org/2000/svg">
|
12
9
|
<path d="M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z" fill="rgb(var(--white))"/>
|
13
10
|
<path d="M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z" fill="rgb(var(--white))"/>
|
@@ -22,6 +19,7 @@
|
|
22
19
|
|
23
20
|
<script setup>
|
24
21
|
import { ref, onMounted, watchEffect } from 'vue';
|
22
|
+
import { Loader as GMLoader } from "@googlemaps/js-api-loader";
|
25
23
|
|
26
24
|
import Loader from '@pf/src/components/Loader/Loader.vue'
|
27
25
|
|
@@ -46,28 +44,36 @@ const locationLoading = ref(false);
|
|
46
44
|
let map, marker;
|
47
45
|
|
48
46
|
onMounted(() => {
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
zoom: 15,
|
54
|
-
mapTypeControl: false,
|
55
|
-
fullscreenControl: false,
|
56
|
-
disableDefaultUI: true
|
47
|
+
const loader = new GMLoader({
|
48
|
+
apiKey: props.apiKey,
|
49
|
+
version: "weekly",
|
50
|
+
libraries: ["places"]
|
57
51
|
});
|
58
52
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
53
|
+
loader.load().then(() => {
|
54
|
+
map = new google.maps.Map(mapContainer.value, {
|
55
|
+
center: props.location,
|
56
|
+
zoom: 15,
|
57
|
+
mapTypeControl: false,
|
58
|
+
fullscreenControl: false,
|
59
|
+
disableDefaultUI: true
|
60
|
+
});
|
64
61
|
|
65
|
-
|
66
|
-
|
62
|
+
marker = new google.maps.Marker({
|
63
|
+
position: props.location,
|
64
|
+
map,
|
65
|
+
draggable: true,
|
66
|
+
});
|
67
67
|
|
68
|
-
|
68
|
+
marker.addListener("dragend", (e) => {
|
69
|
+
const newLocation = { lat: e.latLng.lat(), lng: e.latLng.lng() };
|
69
70
|
|
70
|
-
|
71
|
+
emit('update:location', newLocation);
|
72
|
+
|
73
|
+
getAddressFromLocation(newLocation);
|
74
|
+
});
|
75
|
+
}).catch(e => {
|
76
|
+
console.error(e);
|
71
77
|
});
|
72
78
|
});
|
73
79
|
|
@@ -139,8 +145,6 @@ async function setUserLocation() {
|
|
139
145
|
console.error('Geolocation is not supported by this browser.');
|
140
146
|
locationLoading.value = false
|
141
147
|
}
|
142
|
-
|
143
|
-
|
144
148
|
}
|
145
149
|
</script>
|
146
150
|
|
@@ -1,28 +1,26 @@
|
|
1
1
|
<template>
|
2
|
-
|
3
|
-
<teleport to="body" v-if="isPopupOpen">
|
4
|
-
<transition name="TransitionTranslateY" appear>
|
5
|
-
|
6
|
-
<div v-if="isPopupOpen" key="popup-content" class="pd-small popup-wrapper">
|
7
|
-
|
8
|
-
<transition name="TransitionTranslateY" mode="out-in">
|
9
|
-
<section v-if="isPopupOpen" class="pos-relative z-index-4" v-bind="$attrs">
|
10
|
-
<IconCross @click="closePopup()" class="cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"/>
|
11
|
-
|
12
|
-
<slot></slot>
|
13
|
-
</section>
|
14
|
-
</transition>
|
15
|
-
|
16
|
-
<div
|
17
|
-
@click="closePopup()"
|
18
|
-
:class="{'active':isPopupOpen === true}"
|
19
|
-
class="color-overlay z-index-3">
|
20
|
-
</div>
|
21
|
-
|
22
|
-
</div>
|
23
2
|
|
3
|
+
<transition name="TransitionTranslateY" appear>
|
4
|
+
<teleport to="body" v-if="isPopupOpen">
|
5
|
+
<div v-if="isPopupOpen" key="popup-content" class="pd-small popup-wrapper">
|
6
|
+
|
7
|
+
<transition name="TransitionTranslateY" mode="out-in">
|
8
|
+
<section class="pos-relative z-index-4" v-bind="$attrs" :class="$attrs.class">
|
9
|
+
<h4 class="mn-b-small">{{title}}</h4>
|
10
|
+
<IconCross @click="closePopup()" class="cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"/>
|
11
|
+
<slot></slot>
|
12
|
+
</section>
|
13
|
+
</transition>
|
14
|
+
|
15
|
+
<div
|
16
|
+
@click="closePopup()"
|
17
|
+
:class="{'active':isPopupOpen === true}"
|
18
|
+
class="color-overlay z-index-3">
|
19
|
+
</div>
|
20
|
+
|
21
|
+
</div>
|
22
|
+
</teleport>
|
24
23
|
</transition>
|
25
|
-
</teleport>
|
26
24
|
|
27
25
|
</template>
|
28
26
|
|
@@ -39,7 +37,8 @@ const props = defineProps({
|
|
39
37
|
type: Boolean,
|
40
38
|
default: false
|
41
39
|
},
|
42
|
-
style: String
|
40
|
+
style: String,
|
41
|
+
title: String,
|
43
42
|
});
|
44
43
|
const emits = defineEmits(['close-popup'])
|
45
44
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<li class="w-100">
|
16
16
|
<!-- Selected Value -->
|
17
17
|
<span>
|
18
|
-
{{
|
18
|
+
{{ optionsSelected?.name ? optionsSelected?.name : optionsSelected || placeholder }}
|
19
19
|
</span>
|
20
20
|
</li>
|
21
21
|
|
@@ -47,73 +47,84 @@
|
|
47
47
|
<script setup>
|
48
48
|
import { ref, computed, watch } from 'vue'
|
49
49
|
|
50
|
-
const emit = defineEmits(['update:select', 'focus', 'blur'])
|
51
|
-
|
52
50
|
import clickOutside from '../FieldPhone/click-outside';
|
53
51
|
|
54
52
|
let vClickOutside = clickOutside
|
55
53
|
|
54
|
+
const emit = defineEmits([
|
55
|
+
'update:select',
|
56
|
+
'focus',
|
57
|
+
'blur'
|
58
|
+
])
|
56
59
|
|
57
60
|
const props = defineProps({
|
58
61
|
label: String,
|
62
|
+
placeholder: { type: String, default: 'Please select an item' },
|
59
63
|
select: [String, Object],
|
60
64
|
property: String,
|
61
|
-
placeholder: { type: String, default: 'Please select an item' },
|
62
65
|
options: { type: Array, default: () => [] },
|
63
66
|
validation: Boolean,
|
64
67
|
})
|
65
68
|
|
66
|
-
const selectedOption = ref(props.property ? findObjectByValue(props.select, props.property, props.options) : props.select)
|
67
69
|
const showMenu = ref(false)
|
68
70
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
function findObjectByValue(value, property,objects) {
|
75
|
-
for (const object of objects) {
|
76
|
-
if (object[property] === value || object === value) {
|
77
|
-
return object;
|
78
|
-
}
|
71
|
+
const optionsSelected = ref(
|
72
|
+
props.property
|
73
|
+
? findObjectByValue(props.select, props.property, props.options)
|
74
|
+
: props.select
|
75
|
+
)
|
79
76
|
|
80
|
-
|
81
|
-
return
|
82
|
-
|
77
|
+
const optionsListed = computed(() => {
|
78
|
+
return props.select
|
79
|
+
? props.options.filter(option => option !== props.select)
|
80
|
+
: props.options
|
81
|
+
})
|
83
82
|
|
84
83
|
watch(() => props.select, (newSelect) => {
|
85
|
-
|
84
|
+
optionsSelected.value =
|
85
|
+
props.property
|
86
|
+
? findObjectByValue(props.select, props.property, props.options)
|
87
|
+
: props.select;
|
86
88
|
});
|
87
89
|
|
88
|
-
const optionsListed = computed(() => {
|
89
|
-
return props.select ? props.options.filter(option => option !== props.select) : props.options
|
90
|
-
})
|
91
|
-
|
92
90
|
const toggleMenu = () => {
|
93
91
|
showMenu.value = !showMenu.value
|
94
92
|
|
95
93
|
emit(showMenu.value ? 'focus' : 'blur')
|
96
94
|
}
|
97
95
|
|
96
|
+
function clickedOutside () {
|
97
|
+
showMenu.value = false
|
98
|
+
}
|
99
|
+
|
98
100
|
const selectOption = option => {
|
99
|
-
|
101
|
+
optionsSelected.value = option
|
100
102
|
|
101
103
|
toggleMenu()
|
102
104
|
|
103
105
|
if (props.property) {
|
104
|
-
emit('update:select',
|
106
|
+
emit('update:select', optionsSelected.value[props.property])
|
105
107
|
} else {
|
106
|
-
emit('update:select',
|
108
|
+
emit('update:select', optionsSelected.value)
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
function findObjectByValue (value, property, objects) {
|
113
|
+
for (const object of objects) {
|
114
|
+
if (object[property] === value || object === value) {
|
115
|
+
return object;
|
116
|
+
}
|
107
117
|
}
|
118
|
+
return null;
|
108
119
|
}
|
109
120
|
</script>
|
110
121
|
|
111
122
|
<style lang="scss" scoped>
|
112
|
-
li {
|
113
|
-
|
114
|
-
}
|
123
|
+
li {
|
124
|
+
list-style-type: none;
|
125
|
+
}
|
115
126
|
|
116
|
-
ul li {
|
117
|
-
|
118
|
-
}
|
127
|
+
ul li {
|
128
|
+
line-height: 2;
|
129
|
+
}
|
119
130
|
</style>
|
@@ -32,7 +32,8 @@ import Loader from '@pf/src/components/Loader/Loader.vue'
|
|
32
32
|
const props = defineProps({
|
33
33
|
store: Object,
|
34
34
|
options: Object,
|
35
|
-
text: Object
|
35
|
+
text: Object,
|
36
|
+
user: Object
|
36
37
|
});
|
37
38
|
|
38
39
|
const router = useRouter()
|
@@ -63,9 +64,7 @@ const onSelect = (embla) => selectedIndex.value = emblaApi.value.selectedScrollS
|
|
63
64
|
// const onInit = (embla) => scrollSnaps.value = emblaApi.value.scrollSnapList();
|
64
65
|
|
65
66
|
onMounted(async() => {
|
66
|
-
entitiesState.value = await props.store.read(
|
67
|
-
...props.options
|
68
|
-
});
|
67
|
+
entitiesState.value = await props.store.read(props.options);
|
69
68
|
|
70
69
|
isLoading.value = false;
|
71
70
|
|
@@ -1,25 +1,25 @@
|
|
1
1
|
<template>
|
2
2
|
<section class="t-left pd-medium">
|
3
3
|
<!-- Header -->
|
4
|
-
<h3 class="mn-b-small"
|
5
|
-
<p class="mn-b-semi t-transp"
|
6
|
-
|
4
|
+
<h3 class="mn-b-small">You have been invited to the organization</h3>
|
5
|
+
<p class="mn-b-semi t-transp">Please provide a password to complete the registration.</p>
|
6
|
+
|
7
7
|
<!-- Form -->
|
8
8
|
<div class="mn-b-semi radius-small o-hidden">
|
9
9
|
<Field
|
10
10
|
v-model:field="auth.state.user.password"
|
11
11
|
type="password"
|
12
12
|
:validation="passswordValidation"
|
13
|
-
label="
|
13
|
+
label="Password"
|
14
14
|
placeholder="******"
|
15
|
-
class="bg-
|
15
|
+
class="mn-b-thin bg-grey pd-medium radius-small"
|
16
16
|
/>
|
17
17
|
<Field
|
18
18
|
v-model:field="auth.state.user.passwordRepeat"
|
19
19
|
type="password"
|
20
|
-
label="
|
20
|
+
label="Repeat Password"
|
21
21
|
placeholder="******"
|
22
|
-
class="bg-
|
22
|
+
class="bg-grey pd-medium radius-small"
|
23
23
|
|
24
24
|
/>
|
25
25
|
</div>
|
@@ -217,7 +217,7 @@
|
|
217
217
|
|
218
218
|
// Cookies
|
219
219
|
const optionsDefault = {
|
220
|
-
development: { secure: false, expires: 7 },
|
220
|
+
development: { secure: false, expires: 7, sameSite: 'Lax' },
|
221
221
|
production: { expires: 7, path: '/', domain: process.env.API_URL, sameSite: 'none', secure: true }
|
222
222
|
};
|
223
223
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="">
|
3
|
-
<h1>Welcome to Backoffice</h1>
|
3
|
+
<h1 class="pd-medium radius-medium bg-grey mn-b-small">Welcome to Backoffice</h1>
|
4
4
|
|
5
5
|
<Menu
|
6
6
|
class="bg-grey mn-b-semi"
|
@@ -12,117 +12,124 @@
|
|
12
12
|
_id: route.params._id
|
13
13
|
}
|
14
14
|
})"
|
15
|
-
class="cursor-pointer"
|
15
|
+
class="cursor-pointer"
|
16
|
+
>
|
17
|
+
<IconGroups class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
16
18
|
<span>
|
17
19
|
Members
|
18
20
|
</span>
|
19
21
|
</MenuItem>
|
20
22
|
|
21
|
-
<MenuItem
|
23
|
+
<!-- <MenuItem
|
22
24
|
@click="router.push({
|
23
|
-
name: 'Backoffice
|
25
|
+
name: 'Backoffice Community',
|
24
26
|
params: {
|
25
27
|
_id: route.params._id
|
26
28
|
}
|
27
29
|
})"
|
28
30
|
class="cursor-pointer">
|
29
31
|
<span>
|
30
|
-
|
32
|
+
Community
|
31
33
|
</span>
|
32
|
-
</MenuItem>
|
34
|
+
</MenuItem> -->
|
33
35
|
|
34
36
|
<MenuItem
|
35
37
|
@click="router.push({
|
36
|
-
name: '
|
38
|
+
name: 'Products',
|
37
39
|
params: {
|
38
40
|
_id: route.params._id
|
39
41
|
}
|
40
42
|
})"
|
41
43
|
class="cursor-pointer">
|
44
|
+
<IconProducts class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
42
45
|
<span>
|
43
|
-
|
46
|
+
Products
|
44
47
|
</span>
|
45
48
|
</MenuItem>
|
46
49
|
|
47
50
|
<MenuItem
|
48
51
|
@click="router.push({
|
49
|
-
name: '
|
52
|
+
name: 'Leftovers',
|
50
53
|
params: {
|
51
54
|
_id: route.params._id
|
52
55
|
}
|
53
56
|
})"
|
54
57
|
class="cursor-pointer">
|
58
|
+
<IconLeftovers class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
55
59
|
<span>
|
56
|
-
|
60
|
+
Leftovers
|
57
61
|
</span>
|
58
62
|
</MenuItem>
|
59
63
|
|
60
64
|
<MenuItem
|
61
65
|
@click="router.push({
|
62
|
-
name: '
|
66
|
+
name: 'Backoffice Orders',
|
63
67
|
params: {
|
64
68
|
_id: route.params._id
|
65
69
|
}
|
66
70
|
})"
|
67
71
|
class="cursor-pointer">
|
72
|
+
<IconOrders class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
68
73
|
<span>
|
69
|
-
|
74
|
+
Orders
|
70
75
|
</span>
|
71
76
|
</MenuItem>
|
72
77
|
|
73
78
|
<MenuItem
|
74
79
|
@click="router.push({
|
75
|
-
name: 'Backoffice
|
80
|
+
name: 'Backoffice Gallery',
|
76
81
|
params: {
|
77
82
|
_id: route.params._id
|
78
83
|
}
|
79
84
|
})"
|
80
85
|
class="cursor-pointer">
|
86
|
+
<IconGallery class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
81
87
|
<span>
|
82
|
-
|
88
|
+
Gallery
|
83
89
|
</span>
|
84
90
|
</MenuItem>
|
85
|
-
|
91
|
+
|
86
92
|
<MenuItem
|
87
93
|
@click="router.push({
|
88
|
-
name: '
|
94
|
+
name: 'Backoffice Events',
|
89
95
|
params: {
|
90
96
|
_id: route.params._id
|
91
97
|
}
|
92
98
|
})"
|
93
99
|
class="cursor-pointer">
|
100
|
+
<IconEvents class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
|
94
101
|
<span>
|
95
|
-
|
102
|
+
Events
|
96
103
|
</span>
|
97
104
|
</MenuItem>
|
98
|
-
</Menu>
|
99
105
|
|
100
|
-
|
101
|
-
class="bg-grey"
|
102
|
-
>
|
103
|
-
<MenuItem
|
106
|
+
<!-- <MenuItem
|
104
107
|
@click="router.push({
|
105
|
-
name: '
|
108
|
+
name: 'Payments',
|
106
109
|
params: {
|
107
110
|
_id: route.params._id
|
108
111
|
}
|
109
112
|
})"
|
110
113
|
class="cursor-pointer">
|
111
114
|
<span>
|
112
|
-
|
115
|
+
Payments
|
113
116
|
</span>
|
114
|
-
</MenuItem>
|
117
|
+
</MenuItem> -->
|
118
|
+
</Menu>
|
115
119
|
|
116
|
-
|
120
|
+
<!-- <Menu
|
121
|
+
class="bg-grey"
|
122
|
+
>
|
123
|
+
<MenuItem
|
117
124
|
@click="router.push({
|
118
|
-
name: 'Backoffice
|
125
|
+
name: 'Backoffice Organizations',
|
119
126
|
params: {
|
120
127
|
_id: route.params._id
|
121
128
|
}
|
122
129
|
})"
|
123
130
|
class="cursor-pointer">
|
124
131
|
<span>
|
125
|
-
|
132
|
+
Organizations
|
126
133
|
</span>
|
127
134
|
</MenuItem>
|
128
135
|
|
@@ -138,7 +145,7 @@
|
|
138
145
|
Reports
|
139
146
|
</span>
|
140
147
|
</MenuItem>
|
141
|
-
</Menu>
|
148
|
+
</Menu> -->
|
142
149
|
</div>
|
143
150
|
</template>
|
144
151
|
|
@@ -152,6 +159,14 @@ import { ref, onMounted } from 'vue';
|
|
152
159
|
import Menu from '@pf/src/modules/mobile/components/Menu/Menu.vue'
|
153
160
|
import MenuItem from '@pf/src/modules/mobile/components/Menu/MenuItem.vue'
|
154
161
|
import SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue'
|
162
|
+
|
163
|
+
import IconProducts from '@pf/src/modules/icons/entities/IconProducts.vue'
|
164
|
+
import IconEvents from '@pf/src/modules/icons/entities/IconEvents.vue'
|
165
|
+
import IconGroups from '@pf/src/modules/icons/entities/IconGroups.vue'
|
166
|
+
import IconCommunity from '@pf/src/modules/icons/entities/IconCommunity.vue'
|
167
|
+
import IconGallery from '@pf/src/modules/icons/entities/IconGallery.vue'
|
168
|
+
import IconOrders from '@pf/src/modules/icons/entities/IconOrders.vue'
|
169
|
+
import IconLeftovers from '@pf/src/modules/icons/entities/IconLeftovers.vue'
|
155
170
|
/////////////////////////////
|
156
171
|
// HELPERS
|
157
172
|
/////////////////////////////
|
@@ -4,7 +4,7 @@
|
|
4
4
|
:class="{'bg-main-nano': message.username === 'Weeder Support'}"
|
5
5
|
>
|
6
6
|
<p class="flex-v-center gap-thin flex-nowrap flex w-100 p-small">
|
7
|
-
<img v-if="message.username === 'Weeder Support'" src="/logo/logo.png" class="i-medium">
|
7
|
+
<!-- <img v-if="message.username === 'Weeder Support'" src="/logo/logo.png" class="i-medium"> -->
|
8
8
|
<strong class="mn-r-auto"><span class="t-semi">{{ message.username }}</span> <span class="t-transp">{{formatDate(message.createdAt)}}</span></strong>
|
9
9
|
</p>
|
10
10
|
<p>{{ message.text }}</p>
|
@@ -68,14 +68,15 @@
|
|
68
68
|
>
|
69
69
|
|
70
70
|
<span
|
71
|
-
|
71
|
+
|
72
72
|
class="t-semi"
|
73
73
|
>
|
74
|
-
{{ formattedDate }}
|
74
|
+
{{ formattedDate }}
|
75
75
|
</span>
|
76
76
|
<span
|
77
|
+
v-if="type !== 'short'"
|
77
78
|
class="t-semi ">
|
78
|
-
{{ formattedTimeRange }}
|
79
|
+
| {{ formattedTimeRange }}
|
79
80
|
</span>
|
80
81
|
</div>
|
81
82
|
|
@@ -1,16 +1,33 @@
|
|
1
1
|
<template>
|
2
|
-
<section>
|
3
|
-
|
2
|
+
<section class="pd-thin">
|
3
|
+
<List
|
4
4
|
:user="auth.state.user._id"
|
5
5
|
class="bg-grey mn-b-thin radius-big"
|
6
6
|
:phase="'week'"
|
7
|
-
/>
|
7
|
+
/>
|
8
|
+
<header
|
9
|
+
class="mn-b-medium flex-v-center flex-nowrap flex"
|
10
|
+
>
|
11
|
+
<h2
|
12
|
+
class="mn-r-medium"
|
13
|
+
>
|
14
|
+
Events
|
15
|
+
</h2>
|
16
|
+
|
17
|
+
<button
|
18
|
+
@click="router.push({name: 'Create Event'})"
|
19
|
+
class="radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"
|
20
|
+
>
|
21
|
+
+
|
22
|
+
</button>
|
23
|
+
</header>
|
24
|
+
|
8
25
|
|
9
26
|
<Feed
|
10
|
-
:category="route.params.category"
|
11
27
|
:user="auth.state.user._id"
|
12
|
-
:
|
13
|
-
:
|
28
|
+
:owner="route.params._id"
|
29
|
+
:sortOrder="'desc'"
|
30
|
+
:sortParam="'date.start'"
|
14
31
|
/>
|
15
32
|
</section>
|
16
33
|
</template>
|
@@ -3,15 +3,27 @@
|
|
3
3
|
<header class="br-b br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex">
|
4
4
|
<h1 class="mn-r-auto">{{ title }}</h1>
|
5
5
|
|
6
|
-
<
|
6
|
+
<template
|
7
|
+
v-for="action in actions"
|
7
8
|
v-if="actions && actions.length > 0"
|
8
|
-
v-for="action in actions"
|
9
|
-
:key="action.to"
|
10
|
-
:to="action.to"
|
11
|
-
:class="action.class || 'radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex'"
|
12
9
|
>
|
13
|
-
|
14
|
-
|
10
|
+
<router-link
|
11
|
+
v-if="action.to"
|
12
|
+
:key="action.to"
|
13
|
+
:to="action.to"
|
14
|
+
:class="action.class || 'radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex'"
|
15
|
+
>
|
16
|
+
{{ action.label }}
|
17
|
+
</router-link>
|
18
|
+
|
19
|
+
<button
|
20
|
+
v-if="action.method"
|
21
|
+
@click="action.method"
|
22
|
+
:class="action.class || 'radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex'"
|
23
|
+
>
|
24
|
+
{{ action.label }}
|
25
|
+
</button>
|
26
|
+
</template>
|
15
27
|
</header>
|
16
28
|
|
17
29
|
<Tab
|