@ozdao/prometheus-framework 0.2.80 → 0.2.82
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-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/organizations.server.js +297 -134
- package/dist/organizations.server.mjs +295 -132
- package/dist/products.server.js +2 -2
- package/dist/products.server.mjs +2 -2
- 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.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +32 -155
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +55 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -55
- 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/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.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -72
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +73 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -97
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
- 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/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/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +28 -28
- 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/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- 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 +1 -1
- 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 +14 -14
- 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/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.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 +1 -1
- 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/events/components/pages/Event.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +132 -141
- 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/events/components/sections/HeroEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +4 -4
- 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 +1 -1
- 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 +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 +32 -25
- 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/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 +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +1 -13
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +13 -1
- 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 +39 -39
- 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 +3 -3
- 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/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/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/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 +39 -50
- 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 +199 -79
- 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 +83 -126
- 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 +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 +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 +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/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.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 +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/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/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
- 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/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/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 +4 -4
- 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 +69 -38
- package/dist/users.server.mjs +67 -36
- 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/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/events/components/blocks/CardEvent.vue +4 -3
- package/src/modules/events/components/pages/Event.vue +4 -3
- package/src/modules/events/components/pages/Events.vue +23 -6
- package/src/modules/events/components/sections/HeroEvent.vue +1 -1
- 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/customer.model.js +54 -18
- package/src/modules/orders/models/order.model.js +1 -1
- package/src/modules/orders/orders.client.js +51 -51
- package/src/modules/orders/orders.server.js +32 -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
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const g=require("../../../../components/Countdown/Countdown.vue.cjs");require("./HeroEvent.vue2.cjs");const x=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),B={class:"t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative"},E={style:{"min-height":"20rem"},class:"desktop-only radius-big o-hidden bg-black pos-relative"},w=["src"],V=["src","type"],N={class:"content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero"},z={class:"mn-b-big z-index-1 flex-nowrap flex gap-small"},S=["src"],C={class:"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"},j={class:"z-index-1 t-main mn-b-semi"},D={class:"z-index-1 p-big mn-b-semi"},T={class:"z-index-1 t-transp p-small mn-b-thin"},q={key:0,class:"bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"},H={key:1,class:"z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"},L=["src"],M=["src"],O={__name:"HeroEvent",props:{content:{type:Object},options:{type:Object}},setup(t){const v=t,o=e.ref(null);var i=!1;function
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const g=require("../../../../components/Countdown/Countdown.vue.cjs");require("./HeroEvent.vue2.cjs");const x=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),B={class:"t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative"},E={style:{"min-height":"20rem"},class:"desktop-only radius-big o-hidden bg-black pos-relative"},w=["src"],V=["src","type"],N={class:"content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero"},z={class:"mn-b-big z-index-1 flex-nowrap flex gap-small"},S=["src"],C={class:"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"},j={class:"z-index-1 t-main mn-b-semi"},D={class:"z-index-1 p-big mn-b-semi"},T={class:"z-index-1 t-transp p-small mn-b-thin"},q={key:0,class:"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"},H={key:1,class:"z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"},L=["src"],M=["src"],O={__name:"HeroEvent",props:{content:{type:Object},options:{type:Object}},setup(t){const v=t,o=e.ref(null);var i=!1;function k(){o.value.onplaying=function(){i=!0},o.value.onpause=function(){i=!1}}function b(n){return n.endsWith(".mp4")?"video/mp4":n.endsWith(".webm")?"video/webm":""}async function h(){if(o.value.paused&&!i)return o.value.play()}e.onMounted(()=>{k(),h()});function f(){var n;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((n=v.content)==null?void 0:n.ticketLinkStripe)}return(n,c)=>{var l,s,a,r,d,m,u,p;return e.openBlock(),e.createElementBlock("section",B,[e.createElementVNode("div",E,[t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.content.cover,class:"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,w)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:1,style:{"object-fit":"cover"},ref_key:"videoElement",ref:o,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",itemprop:"video",type:"video/webm"},[e.createElementVNode("source",{src:t.content.video,type:b(t.content.video)},null,8,V)],512)):e.createCommentVNode("",!0)]),e.createElementVNode("div",N,[e.createElementVNode("div",z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.content.logos,y=>(e.openBlock(),e.createElementBlock("img",{class:"radius-thin object-fit-contain i-big",src:y},null,8,S))),256))]),e.createElementVNode("h3",C,e.toDisplayString((l=t.content)==null?void 0:l.subtitle),1),e.createElementVNode("h1",j,e.toDisplayString((s=t.content)==null?void 0:s.title),1),e.createElementVNode("p",D,e.toDisplayString((a=t.content)==null?void 0:a.description),1),e.createElementVNode("p",T,[e.createElementVNode("span",null,e.toDisplayString((r=t.content)==null?void 0:r.ticketText),1),(d=t.options)!=null&&d.price?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString((m=t.options)==null?void 0:m.price)+" "+e.toDisplayString(n.returnCurrency()),1)):e.createCommentVNode("",!0)]),t.options.date?(e.openBlock(),e.createBlock(g.default,{key:0,class:"z-index-1 mn-t-medium w-100 w-max-30r",date:t.options.date},null,8,["date"])):e.createCommentVNode("",!0),(u=t.content)!=null&&u.ticketLinkStripe?(e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("a",{href:"#",onClick:c[0]||(c[0]=y=>f()),class:"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"},e.toDisplayString(((p=t.content)==null?void 0:p.ticketTextButton)||"Buy Ticket"),1)])):e.createCommentVNode("",!0),t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:2,style:{"object-fit":"cover",opacity:"0.2"},src:t.content.cover,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,L)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:3,style:{"object-fit":"cover",opacity:"0.2"},ref_key:"videoElement",ref:o,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:t.content.video,itemprop:"video",type:"video/webm"},null,8,M)):e.createCommentVNode("",!0)])])}}},P=x.default(O,[["__scopeId","data-v-ec952edd"]]);exports.default=P;
|
@@ -8,7 +8,7 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
|
|
8
8
|
class: "desktop-only radius-big o-hidden bg-black pos-relative"
|
9
9
|
}, N = ["src"], O = ["src", "type"], P = { class: "content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero" }, W = { class: "mn-b-big z-index-1 flex-nowrap flex gap-small" }, $ = ["src"], A = { class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin" }, D = { class: "z-index-1 t-main mn-b-semi" }, F = { class: "z-index-1 p-big mn-b-semi" }, I = { class: "z-index-1 t-transp p-small mn-b-thin" }, M = {
|
10
10
|
key: 0,
|
11
|
-
class: "bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"
|
11
|
+
class: "mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"
|
12
12
|
}, q = {
|
13
13
|
key: 1,
|
14
14
|
class: "z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"
|
@@ -50,7 +50,7 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
|
|
50
50
|
}), window.open((i = k.content) == null ? void 0 : i.ticketLinkStripe);
|
51
51
|
}
|
52
52
|
return (i, d) => {
|
53
|
-
var r, u, m, p,
|
53
|
+
var r, u, m, p, v, b, y, h;
|
54
54
|
return t(), o("section", S, [
|
55
55
|
n("div", H, [
|
56
56
|
e.content.cover && !e.content.video ? (t(), o("img", {
|
@@ -91,7 +91,7 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
|
|
91
91
|
n("p", F, c((m = e.content) == null ? void 0 : m.description), 1),
|
92
92
|
n("p", I, [
|
93
93
|
n("span", null, c((p = e.content) == null ? void 0 : p.ticketText), 1),
|
94
|
-
(
|
94
|
+
(v = e.options) != null && v.price ? (t(), o("span", M, c((b = e.options) == null ? void 0 : b.price) + " " + c(i.returnCurrency()), 1)) : s("", !0)
|
95
95
|
]),
|
96
96
|
e.options.date ? (t(), V(C, {
|
97
97
|
key: 0,
|
@@ -131,7 +131,7 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
|
|
131
131
|
]);
|
132
132
|
};
|
133
133
|
}
|
134
|
-
}, _ = /* @__PURE__ */ L(K, [["__scopeId", "data-v-
|
134
|
+
}, _ = /* @__PURE__ */ L(K, [["__scopeId", "data-v-ec952edd"]]);
|
135
135
|
export {
|
136
136
|
_ as default
|
137
137
|
};
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),I=require("../../../../components/Field/Field.vue2.cjs"),q=require("../../../../components/Button/Button.vue2.cjs"),M=require("../../../../components/Select/Select.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),I=require("../../../../components/Field/Field.vue2.cjs"),q=require("../../../../components/Button/Button.vue2.cjs"),M=require("../../../../components/Select/Select.vue2.cjs"),s=require("../../store/gallery.cjs"),P=require("../../../../components/EditImages/EditImages.vue.cjs");require("./BackofficeGallery.vue2.cjs");const j=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),c=i=>(e.pushScopeId("data-v-c506f5e5"),i=i(),e.popScopeId(),i),G={class:"pos-relative w-100"},D={class:"mn-b-semi flex-v-center flex-nowrap flex"},T=c(()=>e.createElementVNode("h1",{class:"mn-r-small"},"Manage Gallery",-1)),U=["data-id"],$=["src","onClick"],F={key:1,class:"radius-small bg-white"},O=["src","onClick"],L={class:"t-black p-small mn-b-thin"},A=c(()=>e.createElementVNode("span",{class:"uppercase t-transp"},"Size",-1)),H=c(()=>e.createElementVNode("br",null,null,-1)),R={class:"pd-2px radius-big d-inline-block bg-grey"},J={class:"t-black p-small mn-b-small uppe"},K=c(()=>e.createElementVNode("span",{class:"uppercase t-transp"},"Categories",-1)),Q=c(()=>e.createElementVNode("br",null,null,-1)),W={class:"pd-2px radius-big d-inline-block bg-grey t-semi"},X={class:"flex-nowrap flex"},Y=["onClick"],Z={class:"modal pd-thin"},ee={class:"modal-content radius-big"},te={class:""},le=["src"],oe={key:0,class:"flex-v-center flex m modal pd-big"},ae={class:"modal-content radius-small pd-medium bg-white"},se=["src"],ne=["src"],y=10,ce={__name:"BackofficeGallery",setup(i){const r=e.ref(!0),h=e.ref(null);let v=1,f=e.ref(null),_=e.ref(!1);const d=e.ref([]),E=o=>{d.value=o},w=e.computed(()=>k.value==="all"?s.state.gallery:s.state.gallery.filter(o=>o.categories.includes(k.value))),V=async()=>{_.value=!0,await s.actions.fetchGallery(v,y),_.value=!1},u=e.ref(null),t=e.ref({categories:"",size:"",image:!1}),m=e.ref(null),g=o=>{console.log(r.value),r.value?N(o):(u.value="modal",t.value.image=o,b())},N=o=>{u.value="edit-modal",t.value=o||{categories:"",size:"",image:null},b()},n=()=>{t.value={categories:"",size:"",image:!1},m.value=null,B()},b=()=>{document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"},B=()=>{document.body.style.overflow="",document.documentElement.style.overflow=""},C=[{name:"Small",value:""},{name:"Regular",value:"grid-item--width1 grid-item--height1"},{name:"Medium",value:"grid-item--width2 grid-item--height2"},{name:"Big",value:"grid-item--width3 grid-item--height3"}],x=async o=>{await s.actions.deletePhoto(o)},S=async()=>{await s.actions.updatePhoto(t.value),n()},z=async o=>{if(d.length<1||!t.value.categories||!t.value.size){console.error("All fields are required.");return}await s.actions.createPhoto({images:d.value,size:t.value.size,categories:typeof t.value.categories=="string"?t.value.categories.split(",").map(a=>a.trim()):t.value.categories}),n()};let k=e.ref("all");return e.onMounted(async()=>{await s.actions.fetchGallery(v,y),typeof window<"u"&&new IntersectionObserver(a=>{a.some(l=>l.isIntersecting)&&(v+=1,V())}).observe(f.value)}),(o,a)=>(e.openBlock(),e.createElementBlock("div",G,[e.createElementVNode("div",D,[T,r.value?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=l=>g(null)),class:"t-white t-black bg-second i-big radius-extra"},"+")):e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"grid",ref:h,class:"cols-4 gap-thin"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,(l,re)=>(e.openBlock(),e.createElementBlock("div",{key:l.id,"data-id":l.id},[e.createVNode(e.Transition,{name:"scaleIn",mode:"in-out"},{default:e.withCtx(()=>[!r.value&&h.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:"https://thecommunephuket.com/photos/"+l.cover,class:"w-100 h-100 o-hidden radius-medium object-fit-cover",onClick:p=>g(l.image)},null,8,$)):(e.openBlock(),e.createElementBlock("div",F,[e.createElementVNode("img",{src:"https://thecommunephuket.com/photos/"+l.cover,class:"w-100 radius-small mn-b-small h-10r object-fit-cover",onClick:p=>g(l)},null,8,O),e.createElementVNode("p",L,[A,H,e.createElementVNode("span",R,e.toDisplayString(l.size.name),1)]),e.createElementVNode("p",J,[K,Q,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.categories,p=>(e.openBlock(),e.createElementBlock("span",W,e.toDisplayString(p),1))),256))]),e.createElementVNode("div",X,[e.createElementVNode("button",{class:"button-small w-100 button",onClick:p=>x(l._id)},"Delete",8,Y)])]))]),_:2},1024)],8,U))),128)),e.createElementVNode("div",{ref_key:"sentinel",ref:f,class:"sentinel"},null,512),e.createVNode(e.Transition,{name:"modal"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",Z,[e.createElementVNode("div",ee,[e.createElementVNode("div",te,[e.createElementVNode("span",{class:"close",onClick:n},"×"),e.createElementVNode("img",{src:"https://thecommunephuket.com/photos/"+t.value.image},null,8,le)])])],512),[[e.vShow,t.value.image!==!1&&u.value==="modal"]])]),_:1}),e.createVNode(e.Transition,{name:"modal"},{default:e.withCtx(()=>[t.value.image!==!1&&u.value==="edit-modal"?(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("div",ae,[e.createElementVNode("span",{class:"close",onClick:n},"×"),typeof m.value=="string"?(e.openBlock(),e.createElementBlock("img",{key:0,src:m.value,class:"radius-small w-100 mn-b-small h-20r object-fit-cover"},null,8,se)):e.createCommentVNode("",!0),typeof m.value=="object"&&t.value.image!==null?(e.openBlock(),e.createElementBlock("img",{key:1,class:"radius-small w-100 mn-b-small h-20r object-fit-cover",src:"/photos/"+t.value.cover},null,8,ne)):e.createCommentVNode("",!0),e.createVNode(M.default,{options:C,label:"Size",select:t.value.size,"onUpdate:select":a[1]||(a[1]=l=>t.value.size=l),placeholder:"Select Size",class:"bg-grey pd-thin radius-small mn-b-thin t-black"},null,8,["select"]),e.createVNode(I.default,{field:t.value.categories,"onUpdate:field":a[2]||(a[2]=l=>t.value.categories=l),type:"text",label:"Categories",placeholder:"Enter categories for image (comma separated)",class:"bg-grey pd-thin radius-small mn-b-medium t-black"},null,8,["field"]),e.createVNode(P.default,{images:d.value,"onUpdate:images":E,uploadPath:"photos",class:"mn-b-semi"},null,8,["images"]),e.createVNode(q.default,{submit:t.value._id?S:z,callback:n,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value._id?"Update":"Create"),1)]),_:1},8,["submit"])])])):e.createCommentVNode("",!0)]),_:1})],512)]))}},ie=j.default(ce,[["__scopeId","data-v-c506f5e5"]]);exports.default=ie;
|
package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as n, computed as q, onMounted as A, openBlock as a, createElementBlock as o, createElementVNode as t, createCommentVNode as f, Fragment as E, renderList as M, createVNode as c, Transition as w, withCtx as b, toDisplayString as x, withDirectives as L, vShow as R, createTextVNode as H, pushScopeId as J, popScopeId as K } from "vue";
|
2
2
|
import Q from "../../../../components/Field/Field.vue2.js";
|
3
3
|
import W from "../../../../components/Button/Button.vue2.js";
|
4
|
-
import X from "../../../../components/Select/Select.
|
4
|
+
import X from "../../../../components/Select/Select.vue2.js";
|
5
5
|
import { state as G, actions as d } from "../../store/gallery.js";
|
6
6
|
import Y from "../../../../components/EditImages/EditImages.vue.js";
|
7
7
|
import "./BackofficeGallery.vue2.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("vue-router"),z=require("../../../../components/Field/Field.vue2.cjs"),S=require("../../../../components/Button/Button.vue2.cjs"),q=require("../../../../components/Select/Select.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("vue-router"),z=require("../../../../components/Field/Field.vue2.cjs"),S=require("../../../../components/Button/Button.vue2.cjs"),q=require("../../../../components/Select/Select.vue2.cjs"),M=require("../../../../components/Upload/Upload.vue.cjs"),s=require("../../store/gallery.cjs");require("./GalleryWithCategories.vue2.cjs");const F=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),I={class:"pd-medium flex-v-center gap-big flex-nowrap flex pd-t-thin pd-b-thin o-scroll"},P=["onClick"],j=["data-id"],G=["src","onClick"],R={class:"modal pd-thin"},T={class:"modal-content radius-big"},U={class:""},D=["src"],L={key:0,class:"flex-v-center flex m modal pd-big"},O={class:"modal-content radius-small pd-medium bg-white"},$=["src"],A=["src"],W=!1,f=10,H={__name:"GalleryWithCategories",setup(K){x.useRoute();const m=e.ref(null),h=["all","place","drinks","people","events"];let d=1,v=e.ref(null),g=e.ref(!1);const _=e.computed(()=>r.value==="all"?s.state.gallery:s.state.gallery.filter(a=>a.categories.includes(r.value))),b=async()=>{g.value=!0,await s.actions.fetchGallery(d,f),g.value=!1},c=e.ref(null),t=e.ref({categories:"",size:"",image:!1}),i=e.ref(null),k=a=>{W.value?y(a):(c.value="modal",t.value.image=a,p())},y=a=>{c.value="edit-modal",t.value=a||{categories:"",size:"",image:null},p()},n=()=>{t.value={categories:"",size:"",image:!1},i.value=null,w()},p=()=>{document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"},w=()=>{document.body.style.overflow="",document.documentElement.style.overflow=""},V=[{name:"Small",value:""},{name:"Regular",value:"grid-item--width1 grid-item--height1"},{name:"Medium",value:"grid-item--width2 grid-item--height2"},{name:"Big",value:"grid-item--width3 grid-item--height3"}],C=async()=>{await s.actions.updatePhoto(t.value),n()},E=a=>{const o=a.files;if(t.value.image=o,o&&o.length>0){const l=new FileReader;l.onload=u=>{i.value=u.target.result},l.readAsDataURL(o[0])}},N=async a=>{if(!t.value.image||!t.value.categories||!t.value.size){console.error("All fields are required.");return}await s.actions.createPhoto({...t.value,size:t.value.size,categories:typeof t.value.categories=="string"?t.value.categories.split(",").map(o=>o.trim()):t.value.categories}),n()};let r=e.ref("all");const B=a=>{r.value=a};return e.onMounted(async()=>{await s.actions.fetchGallery(d,f),typeof window<"u"&&new IntersectionObserver(o=>{o.some(l=>l.isIntersecting)&&(d+=1,b())}).observe(v.value)}),(a,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",I,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(h,l=>e.createElementVNode("a",{key:l,onClick:u=>B(l),class:e.normalizeClass(["h3 uppercase",{"t-transp":e.unref(r)!==l,"pd-thin bg-main radius-small":e.unref(r)===l}])},e.toDisplayString(a.$t("gallery.categories."+l)),11,P)),64)),e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"grid",ref:m,class:"pd-medium cols-4 gap-thin"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(l,u)=>(e.openBlock(),e.createElementBlock("div",{key:l.id,"data-id":l.id},[e.createVNode(e.Transition,{name:"scaleIn",mode:"in-out"},{default:e.withCtx(()=>[m.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:"https://thecommunephuket.com/photos/"+l.cover,class:"w-100 h-100 o-hidden radius-big object-fit-cover",onClick:Q=>k(l.image)},null,8,G)):e.createCommentVNode("",!0)]),_:2},1024)],8,j))),128)),e.createElementVNode("div",{ref_key:"sentinel",ref:v,class:"sentinel"},null,512),e.createVNode(e.Transition,{name:"modal"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",R,[e.createElementVNode("div",T,[e.createElementVNode("div",U,[e.createElementVNode("span",{class:"close",onClick:n},"×"),e.createElementVNode("img",{src:"https://thecommunephuket.com/photos/"+t.value.image},null,8,D)])])],512),[[e.vShow,t.value.image!==!1&&c.value==="modal"]])]),_:1}),e.createVNode(e.Transition,{name:"modal"},{default:e.withCtx(()=>[t.value.image!==!1&&c.value==="edit-modal"?(e.openBlock(),e.createElementBlock("div",L,[e.createElementVNode("div",O,[e.createElementVNode("span",{class:"close",onClick:n},"×"),typeof i.value=="string"?(e.openBlock(),e.createElementBlock("img",{key:0,src:i.value,class:"radius-small w-100 mn-b-small h-20r object-fit-cover"},null,8,$)):e.createCommentVNode("",!0),typeof i.value=="object"&&t.value.image!==null?(e.openBlock(),e.createElementBlock("img",{key:1,class:"radius-small w-100 mn-b-small h-20r object-fit-cover",src:"/photos/"+t.value.cover},null,8,A)):e.createCommentVNode("",!0),t.value._id?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(M.default,{key:2,id:"photo",name:"photo",type:"file",class:"t-black bg-grey pd-thin radius-small mn-b-thin",onFileChange:E,multiple:"true"})),e.createVNode(q.default,{options:V,label:"Size",select:t.value.size,"onUpdate:select":o[1]||(o[1]=l=>t.value.size=l),placeholder:"Select Size",class:"bg-grey pd-thin radius-small mn-b-thin t-black"},null,8,["select"]),e.createVNode(z.default,{field:t.value.categories,"onUpdate:field":o[2]||(o[2]=l=>t.value.categories=l),type:"text",label:"Categories",placeholder:"Enter categories for image (comma separated)",class:"bg-grey pd-thin radius-small mn-b-medium t-black"},null,8,["field"]),e.createVNode(S.default,{submit:t.value._id?C:N,callback:n,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.value._id?"Update":"Create"),1)]),_:1},8,["submit"])])])):e.createCommentVNode("",!0)]),_:1})],512)]))}},J=F.default(H,[["__scopeId","data-v-4c5bced8"]]);exports.default=J;
|
@@ -2,7 +2,7 @@ import { ref as n, computed as D, onMounted as A, openBlock as o, createElementB
|
|
2
2
|
import { useRoute as H } from "vue-router";
|
3
3
|
import J from "../../../../components/Field/Field.vue2.js";
|
4
4
|
import K from "../../../../components/Button/Button.vue2.js";
|
5
|
-
import Q from "../../../../components/Select/Select.
|
5
|
+
import Q from "../../../../components/Select/Select.vue2.js";
|
6
6
|
import X from "../../../../components/Upload/Upload.vue.js";
|
7
7
|
import { state as E, actions as g } from "../../store/gallery.js";
|
8
8
|
import "./GalleryWithCategories.vue2.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("vue-router"),E=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),V=require("../../../reports/components/sections/FormReport.vue.cjs"),x=require("../../../../components/Tooltip/Tooltip.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),B=require("vue-router"),E=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),V=require("../../../reports/components/sections/FormReport.vue.cjs"),x=require("../../../../components/Tooltip/Tooltip.vue.cjs"),C=require("../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");const N=require("../../../icons/navigation/IconEllipsis.vue.cjs"),p={key:0,class:"pd-b-zero"},v={class:"w-100 flex-v-center flex-nojustify flex"},$={class:"w-100 flex-nowrap flex-v-center flex"},M=["src"],R={key:2,class:"t-semi"},q={key:1,class:"pos-relative"},D={key:2},S={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},z={key:0,class:"w-4r i-thin"},P={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},F=["src"],U={class:"bg-black pd-thin radius-small"},T=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),L={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type"],setup(t){B.useRouter();function b(o){const r=new Date,d=new Date(o),u=Math.abs(r-d),m=Math.floor(u/1e3),n=Math.floor(m/60),a=Math.floor(n/60),i=Math.floor(a/24),l=Math.floor(i/7);return l>0?`${l} week${l>1?"s":""} ago`:i>0?`${i} day${i>1?"s":""} ago`:a>0?`${a} hour${a>1?"s":""} ago`:n>0?`${n} minute${n>1?"s":""} ago`:"Just now"}return(o,r)=>{var d,u,m,n,a,i,l,h,f,k,g,y,w;return t.owner?(e.openBlock(),e.createElementBlock("header",p,[e.createElementVNode("div",v,[e.createElementVNode("div",$,[((m=(u=(d=t.owner.target)==null?void 0:d.profile)==null?void 0:u.photo)==null?void 0:m.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(c=>o.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,M)):e.createCommentVNode("",!0),!((a=(n=t.owner.target)==null?void 0:n.profile)!=null&&a.photo)&&t.type!=="short"?(e.openBlock(),e.createBlock(E.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(c=>o.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",R,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(c=>o.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString((l=(i=t.owner.target)==null?void 0:i.profile)==null?void 0:l.name),1),!t.creator.hidden&&((f=(h=t.owner.target)==null?void 0:h.profile)==null?void 0:f.name)!==((g=(k=t.creator.target)==null?void 0:k.profile)==null?void 0:g.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(c=>{var s;return o.$router.push({name:"User Profile",params:{_id:(s=t.creator.target)==null?void 0:s._id}})},["stop"]))}," · by "+e.toDisplayString((w=(y=t.creator.target)==null?void 0:y.profile)==null?void 0:w.name),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",q,[t.date?(e.openBlock(),e.createBlock(x.default,{key:0,text:o.formatDate(t.date)},{default:e.withCtx(()=>[e.createTextVNode(" · "+e.toDisplayString(b(t.date)),1)]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",D," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.members?(e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("span",P,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(c,s)=>(e.openBlock(),e.createElementBlock("img",{key:s,src:(o.FILE_SERVER_URL||"")+c,style:e.normalizeStyle({position:"absolute",top:"0px",right:s*20+20+"%",zIndex:1-s}),class:"br-solid br-2px br-white i-thin bg-grey radius-big"},null,12,F))),128))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user&&t.user!=t.creator.target._id?(e.openBlock(),e.createBlock(C.default,{key:3,label:{component:N.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",U,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(V.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[T]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=L;
|
@@ -2,8 +2,8 @@ import { openBlock as t, createElementBlock as n, createElementVNode as d, withM
|
|
2
2
|
import { useRouter as D } from "vue-router";
|
3
3
|
import F from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
|
4
4
|
import L from "../../../reports/components/sections/FormReport.vue.js";
|
5
|
-
import T from "../../../../components/Tooltip/Tooltip.
|
6
|
-
import V from "../../../../components/Dropdown/Dropdown.
|
5
|
+
import T from "../../../../components/Tooltip/Tooltip.vue.js";
|
6
|
+
import V from "../../../../components/Dropdown/Dropdown.vue.js";
|
7
7
|
import "../../../../components/Button/Button.vue.js";
|
8
8
|
import "../../../auth/store/auth.js";
|
9
9
|
import "../../../organizations/store/memberships.js";
|
package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Tab/Tab.vue2.cjs"),i={class:"br-b br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex"},u={class:"mn-r-auto"},d=["onClick"],m={__name:"SectionPageTitle",props:{title:String,actions:Array,tabs:Array,tabs_current:Object},emits:["update:tabs_current"],setup(r,{emit:l}){const n=l,s=o=>{n("update:tabs_current",o)};return(o,b)=>{const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("header",i,[e.createElementVNode("h1",u,e.toDisplayString(r.title),1),r.actions&&r.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.actions,t=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.to?(e.openBlock(),e.createBlock(a,{key:t.to,to:t.to,class:e.normalizeClass(t.class||"radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),t.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:t.method,class:e.normalizeClass(t.class||"radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex")},e.toDisplayString(t.label),11,d)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)]),r.tabs?(e.openBlock(),e.createBlock(c.default,{key:0,selected:r.tabs_current,"onUpdate:selected":s,tabs:r.tabs,class:"w-100 t-nowrap o-scroll h5"},null,8,["selected","tabs"])):e.createCommentVNode("",!0)])}}};exports.default=m;
|
package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { resolveComponent as
|
1
|
+
import { resolveComponent as p, openBlock as r, createElementBlock as s, createElementVNode as o, toDisplayString as n, Fragment as c, renderList as f, createBlock as i, normalizeClass as u, withCtx as x, createTextVNode as k, createCommentVNode as a } from "vue";
|
2
2
|
import _ from "../../../../components/Tab/Tab.vue2.js";
|
3
|
-
const g = { class: "br-b br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex" }, y = { class: "mn-r-auto" },
|
3
|
+
const g = { class: "br-b br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex" }, y = { class: "mn-r-auto" }, C = ["onClick"], N = {
|
4
4
|
__name: "SectionPageTitle",
|
5
5
|
props: {
|
6
6
|
title: String,
|
@@ -11,37 +11,44 @@ const g = { class: "br-b br-solid br-black-transp-10 pd-medium flex-v-center fle
|
|
11
11
|
emits: [
|
12
12
|
"update:tabs_current"
|
13
13
|
],
|
14
|
-
setup(
|
15
|
-
const
|
16
|
-
|
14
|
+
setup(t, { emit: d }) {
|
15
|
+
const m = d, b = (l) => {
|
16
|
+
m("update:tabs_current", l);
|
17
17
|
};
|
18
|
-
return (
|
19
|
-
const
|
18
|
+
return (l, w) => {
|
19
|
+
const h = p("router-link");
|
20
20
|
return r(), s("div", null, [
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
21
|
+
o("header", g, [
|
22
|
+
o("h1", y, n(t.title), 1),
|
23
|
+
t.actions && t.actions.length > 0 ? (r(!0), s(c, { key: 0 }, f(t.actions, (e) => (r(), s(c, null, [
|
24
|
+
e.to ? (r(), i(h, {
|
25
|
+
key: e.to,
|
26
|
+
to: e.to,
|
27
|
+
class: u(e.class || "radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex")
|
28
|
+
}, {
|
29
|
+
default: x(() => [
|
30
|
+
k(n(e.label), 1)
|
31
|
+
]),
|
32
|
+
_: 2
|
33
|
+
}, 1032, ["to", "class"])) : a("", !0),
|
34
|
+
e.method ? (r(), s("button", {
|
35
|
+
key: 1,
|
36
|
+
onClick: e.method,
|
37
|
+
class: u(e.class || "radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex")
|
38
|
+
}, n(e.label), 11, C)) : a("", !0)
|
39
|
+
], 64))), 256)) : a("", !0)
|
33
40
|
]),
|
34
|
-
|
41
|
+
t.tabs ? (r(), i(_, {
|
35
42
|
key: 0,
|
36
|
-
selected:
|
37
|
-
"onUpdate:selected":
|
38
|
-
tabs:
|
43
|
+
selected: t.tabs_current,
|
44
|
+
"onUpdate:selected": b,
|
45
|
+
tabs: t.tabs,
|
39
46
|
class: "w-100 t-nowrap o-scroll h5"
|
40
|
-
}, null, 8, ["selected", "tabs"])) :
|
47
|
+
}, null, 8, ["selected", "tabs"])) : a("", !0)
|
41
48
|
]);
|
42
49
|
};
|
43
50
|
}
|
44
51
|
};
|
45
52
|
export {
|
46
|
-
|
53
|
+
N as default
|
47
54
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue-i18n"),e={en:"🌎 EN",ru:"🇷🇺 RU",zh:"🇨🇳 ZH",fr:"🇫🇷 FR",de:"🇩🇪 DE",it:"🇮🇹 IT"},a={};for(const l of Object.keys(e))a[l]={};const s=t.createI18n({locale:"en",fallbackLocale:{en:["en-default"],ru:["ru-default"],zh:["zh-default"],fr:["fr-default"],de:["de-default"],it:["it-default"]},legacy:!1,globalInjection:!0,warnHtmlMessage:!1,missingWarn:!1,fallbackWarn:!1,messages:a,availableLocales:Object.keys(e)});exports.default=s;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createI18n as
|
1
|
+
import { createI18n as s } from "vue-i18n";
|
2
2
|
const e = {
|
3
3
|
en: "🌎 EN",
|
4
4
|
ru: "🇷🇺 RU",
|
@@ -9,7 +9,7 @@ const e = {
|
|
9
9
|
}, a = {};
|
10
10
|
for (const l of Object.keys(e))
|
11
11
|
a[l] = {};
|
12
|
-
const
|
12
|
+
const f = s({
|
13
13
|
locale: "en",
|
14
14
|
fallbackLocale: {
|
15
15
|
en: ["en-default"],
|
@@ -21,9 +21,12 @@ const s = t({
|
|
21
21
|
},
|
22
22
|
legacy: !1,
|
23
23
|
globalInjection: !0,
|
24
|
+
warnHtmlMessage: !1,
|
25
|
+
missingWarn: !1,
|
26
|
+
fallbackWarn: !1,
|
24
27
|
messages: a,
|
25
28
|
availableLocales: Object.keys(e)
|
26
29
|
});
|
27
30
|
export {
|
28
|
-
|
31
|
+
f as default
|
29
32
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),o=require("../store/globals.cjs");class d{constructor(e){this.state=n.reactive({items:[],current:{}}),this.apiUrl=e}async request(e,t={}){const s=e.startsWith("http")?e:`${this.apiUrl}${e}`,r={...{credentials:"include",headers:{}},...t};!r.headers["Content-Type"]&&t.body&&(r.headers["Content-Type"]="application/json",r.body=JSON.stringify(t.body));try{const a=await fetch(s,r);if(!a.ok)throw new Error("Network response was not ok");return await a.json()}catch(a){throw console.error(a),o.setError(a),a}}async create(e){return await this.request("/create",{method:"POST",body:e})}async read(e={}){const t=new URLSearchParams(e).toString();return await this.request(`/read?${t}`)}async update(e){return await this.request("/update",{method:"POST",body:e})}async delete(e){return await this.request(`/delete/${e}`,{method:"DELETE"})}setItems(e,t){t||this.state.items,t.splice(0,t.length,...e)}addItem(e,t){const s=t?t.items:this.state.items;s.findIndex(r=>r._id===e._id)===-1?s.push(e):Object.assign(s[index],e)}updateItem(e,t){const s=t?t.items:this.state.items,i=s.findIndex(r=>r._id===e._id);i!==-1&&s.splice(i,1,e)}removeItem(e,t){const s=t?t.items:this.state.items,i=s.findIndex(r=>r._id===e._id);i!==-1&&s.splice(i,1)}}exports.default=d;
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { reactive as n } from "vue";
|
2
|
+
import { setError as o } from "../store/globals.js";
|
3
|
+
class u {
|
4
|
+
constructor(t) {
|
5
|
+
this.state = n({
|
6
|
+
items: [],
|
7
|
+
current: {}
|
8
|
+
}), this.apiUrl = t;
|
9
|
+
}
|
10
|
+
// Simplified request method to avoid repetition and enhance maintainability
|
11
|
+
async request(t, e = {}) {
|
12
|
+
const s = t.startsWith("http") ? t : `${this.apiUrl}${t}`, r = {
|
13
|
+
...{
|
14
|
+
credentials: "include",
|
15
|
+
// Assumes credentials needed for each request
|
16
|
+
headers: {}
|
17
|
+
},
|
18
|
+
...e
|
19
|
+
};
|
20
|
+
!r.headers["Content-Type"] && e.body && (r.headers["Content-Type"] = "application/json", r.body = JSON.stringify(e.body));
|
21
|
+
try {
|
22
|
+
const a = await fetch(s, r);
|
23
|
+
if (!a.ok)
|
24
|
+
throw new Error("Network response was not ok");
|
25
|
+
return await a.json();
|
26
|
+
} catch (a) {
|
27
|
+
throw console.error(a), o(a), a;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
async create(t) {
|
31
|
+
return await this.request("/create", {
|
32
|
+
method: "POST",
|
33
|
+
body: t
|
34
|
+
});
|
35
|
+
}
|
36
|
+
async read(t = {}) {
|
37
|
+
const e = new URLSearchParams(t).toString();
|
38
|
+
return await this.request(`/read?${e}`);
|
39
|
+
}
|
40
|
+
async update(t) {
|
41
|
+
return await this.request("/update", {
|
42
|
+
method: "POST",
|
43
|
+
body: t
|
44
|
+
});
|
45
|
+
}
|
46
|
+
async delete(t) {
|
47
|
+
return await this.request(`/delete/${t}`, {
|
48
|
+
method: "DELETE"
|
49
|
+
});
|
50
|
+
}
|
51
|
+
// Enhanced Mutations utilizing Vue reactivity system efficiently
|
52
|
+
setItems(t, e) {
|
53
|
+
e || this.state.items, e.splice(0, e.length, ...t);
|
54
|
+
}
|
55
|
+
addItem(t, e) {
|
56
|
+
const s = e ? e.items : this.state.items;
|
57
|
+
s.findIndex((r) => r._id === t._id) === -1 ? s.push(t) : Object.assign(s[index], t);
|
58
|
+
}
|
59
|
+
updateItem(t, e) {
|
60
|
+
const s = e ? e.items : this.state.items, i = s.findIndex((r) => r._id === t._id);
|
61
|
+
i !== -1 && s.splice(i, 1, t);
|
62
|
+
}
|
63
|
+
removeItem(t, e) {
|
64
|
+
const s = e ? e.items : this.state.items, i = s.findIndex((r) => r._id === t._id);
|
65
|
+
i !== -1 && s.splice(i, 1);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
export {
|
69
|
+
u as default
|
70
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t={xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},L=["fill"],s={__name:"IconGallery",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(C){return(l,o)=>(e.openBlock(),e.createElementBlock("svg",t,[e.createElementVNode("path",{fill:C.fill,class:e.normalizeClass(l.$attrs.class),d:"M40.4192 33.6535H40.4231C44.2049 33.6535 47.2716 36.7242 47.2716 40.506C47.2716 44.2917 44.2049 47.3584 40.4192 47.3584C36.6374 47.3584 33.5667 44.2917 33.5667 40.506C33.5667 36.7362 36.6136 33.6774 40.3794 33.6575L40.3913 33.6535H40.3953L40.4192 33.6535ZM56.0983 44.5582H56.1063C57.0835 44.5582 58.0607 44.9316 58.8035 45.6784L68.8299 55.7049C69.4417 56.3166 69.4417 57.3057 68.8339 57.9215H68.8299C68.5241 58.2274 68.1228 58.3783 67.7217 58.3783C67.3244 58.3783 66.9312 58.2313 66.6253 57.9334H66.6174L66.6134 57.9215L56.5909 47.899V47.895C56.4559 47.76 56.2771 47.6925 56.0984 47.6925C55.9315 47.6925 55.7647 47.752 55.6336 47.8752L41.3171 62.1876C41.0112 62.4935 40.61 62.6484 40.2088 62.6484C39.8077 62.6484 39.4104 62.4935 39.1045 62.1916V62.1955L39.1006 62.1876C38.4888 61.5759 38.4888 60.5828 39.1006 59.971L40.9954 58.0761V57.9768L38.8582 55.8396C38.7232 55.7045 38.5484 55.633 38.3696 55.633C38.2028 55.633 38.0359 55.6926 37.9048 55.8158L37.9485 55.8277L37.9009 55.8158L29.3602 64.3564C29.0543 64.6623 28.6491 64.8173 28.2479 64.8173C27.8586 64.8173 27.4613 64.6663 27.1594 64.3763H27.1555L27.1396 64.3565C26.5278 63.7447 26.5278 62.7516 27.1396 62.1398L35.6644 53.619L35.6684 53.611H35.6723C36.3993 52.8881 37.3447 52.5186 38.2981 52.5028H38.314C38.3299 52.4988 38.3537 52.4988 38.3696 52.4988C39.3468 52.4988 40.328 52.8722 41.0748 53.6191L43.212 55.7563L43.3114 55.7602L53.3974 45.6742C54.1283 44.9473 55.0777 44.5739 56.0351 44.5619H56.051H56.047C56.0669 44.5579 56.0825 44.5582 56.0983 44.5582ZM52.6543 8.00019V8.00416H52.6384C52.2967 8.00416 51.9512 8.04786 51.6016 8.13922L7.01895 20.0842C7.00703 20.0882 6.99511 20.0921 6.98319 20.0961L6.97922 20.1001C4.83012 20.696 3.56291 22.9165 4.13891 25.0735L14.0818 62.1837C14.5704 64.0031 16.219 65.2028 18.0146 65.2028C18.1417 65.2028 18.2688 65.1988 18.3959 65.1869L18.4038 29.5066C18.4038 25.975 21.2203 23.099 24.732 23.0037L24.7399 23.0077C24.7955 23.0037 24.8511 22.9998 24.9067 22.9998V23.0037H59.8L56.5903 11.0191C56.1017 9.19968 54.4537 8.00019 52.6543 8.00019ZM24.9071 25.4356H24.8912H24.8713H24.8673C22.6348 25.4595 20.8354 27.2749 20.8354 29.5074V67.9243C20.8354 70.1727 22.6587 71.996 24.9071 72H71.067C73.3154 71.996 75.1348 70.1727 75.1388 67.9243V29.5074C75.1348 27.259 73.3154 25.4356 71.067 25.4356H24.9071Z"},null,10,L)]))}};exports.default=s;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { openBlock as l, createElementBlock as t, createElementVNode as L, normalizeClass as s } from "vue";
|
2
|
+
const o = {
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
4
|
+
width: "80",
|
5
|
+
height: "80",
|
6
|
+
viewBox: "0 0 80 80",
|
7
|
+
fill: "none"
|
8
|
+
}, a = ["fill"], H = {
|
9
|
+
__name: "IconGallery",
|
10
|
+
props: {
|
11
|
+
fill: {
|
12
|
+
type: String,
|
13
|
+
default: "rgb(var(--black))"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
setup(C) {
|
17
|
+
return (e, n) => (l(), t("svg", o, [
|
18
|
+
L("path", {
|
19
|
+
fill: C.fill,
|
20
|
+
class: s(e.$attrs.class),
|
21
|
+
d: "M40.4192 33.6535H40.4231C44.2049 33.6535 47.2716 36.7242 47.2716 40.506C47.2716 44.2917 44.2049 47.3584 40.4192 47.3584C36.6374 47.3584 33.5667 44.2917 33.5667 40.506C33.5667 36.7362 36.6136 33.6774 40.3794 33.6575L40.3913 33.6535H40.3953L40.4192 33.6535ZM56.0983 44.5582H56.1063C57.0835 44.5582 58.0607 44.9316 58.8035 45.6784L68.8299 55.7049C69.4417 56.3166 69.4417 57.3057 68.8339 57.9215H68.8299C68.5241 58.2274 68.1228 58.3783 67.7217 58.3783C67.3244 58.3783 66.9312 58.2313 66.6253 57.9334H66.6174L66.6134 57.9215L56.5909 47.899V47.895C56.4559 47.76 56.2771 47.6925 56.0984 47.6925C55.9315 47.6925 55.7647 47.752 55.6336 47.8752L41.3171 62.1876C41.0112 62.4935 40.61 62.6484 40.2088 62.6484C39.8077 62.6484 39.4104 62.4935 39.1045 62.1916V62.1955L39.1006 62.1876C38.4888 61.5759 38.4888 60.5828 39.1006 59.971L40.9954 58.0761V57.9768L38.8582 55.8396C38.7232 55.7045 38.5484 55.633 38.3696 55.633C38.2028 55.633 38.0359 55.6926 37.9048 55.8158L37.9485 55.8277L37.9009 55.8158L29.3602 64.3564C29.0543 64.6623 28.6491 64.8173 28.2479 64.8173C27.8586 64.8173 27.4613 64.6663 27.1594 64.3763H27.1555L27.1396 64.3565C26.5278 63.7447 26.5278 62.7516 27.1396 62.1398L35.6644 53.619L35.6684 53.611H35.6723C36.3993 52.8881 37.3447 52.5186 38.2981 52.5028H38.314C38.3299 52.4988 38.3537 52.4988 38.3696 52.4988C39.3468 52.4988 40.328 52.8722 41.0748 53.6191L43.212 55.7563L43.3114 55.7602L53.3974 45.6742C54.1283 44.9473 55.0777 44.5739 56.0351 44.5619H56.051H56.047C56.0669 44.5579 56.0825 44.5582 56.0983 44.5582ZM52.6543 8.00019V8.00416H52.6384C52.2967 8.00416 51.9512 8.04786 51.6016 8.13922L7.01895 20.0842C7.00703 20.0882 6.99511 20.0921 6.98319 20.0961L6.97922 20.1001C4.83012 20.696 3.56291 22.9165 4.13891 25.0735L14.0818 62.1837C14.5704 64.0031 16.219 65.2028 18.0146 65.2028C18.1417 65.2028 18.2688 65.1988 18.3959 65.1869L18.4038 29.5066C18.4038 25.975 21.2203 23.099 24.732 23.0037L24.7399 23.0077C24.7955 23.0037 24.8511 22.9998 24.9067 22.9998V23.0037H59.8L56.5903 11.0191C56.1017 9.19968 54.4537 8.00019 52.6543 8.00019ZM24.9071 25.4356H24.8912H24.8713H24.8673C22.6348 25.4595 20.8354 27.2749 20.8354 29.5074V67.9243C20.8354 70.1727 22.6587 71.996 24.9071 72H71.067C73.3154 71.996 75.1348 70.1727 75.1388 67.9243V29.5074C75.1348 27.259 73.3154 25.4356 71.067 25.4356H24.9071Z"
|
22
|
+
}, null, 10, a)
|
23
|
+
]));
|
24
|
+
}
|
25
|
+
};
|
26
|
+
export {
|
27
|
+
H as default
|
28
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),L={xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},o=["fill"],s={__name:"IconLeftovers",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(l){return(t,r)=>(e.openBlock(),e.createElementBlock("svg",L,[e.createElementVNode("path",{fill:l.fill,class:e.normalizeClass(t.$attrs.class),"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.45094 37.2842V58.457L38.8294 75.9966V45.8995L35.7538 51.2271C35.3171 51.9814 34.3507 52.2391 33.5964 51.8023L8.45094 37.2842ZM41.9962 4V22.8185L54.5056 30.0408L70.8026 20.6316L41.9962 4ZM38.8302 22.8219V4L10.0229 20.6316L26.3234 30.0425L38.8302 22.8219ZM31.3351 36.5831L38.255 40.5786L33.8084 48.279L3 30.4911L7.44657 22.7898L31.3351 36.5831ZM40.4098 25.5495L51.3472 31.8637L40.4124 38.1771L29.475 31.862L40.4098 25.5495ZM41.9945 45.8986V76L72.3738 58.4604V37.2842L47.2292 51.8023C46.4749 52.2391 45.5085 51.9814 45.0718 51.2271L41.9945 45.8986ZM73.0715 33.2355L47.0155 48.279L42.5689 40.5778L73.3782 22.7898L77.8247 30.4911L73.0715 33.2355Z"},null,10,o)]))}};exports.default=s;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { openBlock as L, createElementBlock as t, createElementVNode as o, normalizeClass as s } from "vue";
|
2
|
+
const n = {
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
4
|
+
width: "80",
|
5
|
+
height: "80",
|
6
|
+
viewBox: "0 0 80 80",
|
7
|
+
fill: "none"
|
8
|
+
}, r = ["fill"], c = {
|
9
|
+
__name: "IconLeftovers",
|
10
|
+
props: {
|
11
|
+
fill: {
|
12
|
+
type: String,
|
13
|
+
default: "rgb(var(--black))"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
setup(e) {
|
17
|
+
return (l, a) => (L(), t("svg", n, [
|
18
|
+
o("path", {
|
19
|
+
fill: e.fill,
|
20
|
+
class: s(l.$attrs.class),
|
21
|
+
"fill-rule": "evenodd",
|
22
|
+
"clip-rule": "evenodd",
|
23
|
+
d: "M8.45094 37.2842V58.457L38.8294 75.9966V45.8995L35.7538 51.2271C35.3171 51.9814 34.3507 52.2391 33.5964 51.8023L8.45094 37.2842ZM41.9962 4V22.8185L54.5056 30.0408L70.8026 20.6316L41.9962 4ZM38.8302 22.8219V4L10.0229 20.6316L26.3234 30.0425L38.8302 22.8219ZM31.3351 36.5831L38.255 40.5786L33.8084 48.279L3 30.4911L7.44657 22.7898L31.3351 36.5831ZM40.4098 25.5495L51.3472 31.8637L40.4124 38.1771L29.475 31.862L40.4098 25.5495ZM41.9945 45.8986V76L72.3738 58.4604V37.2842L47.2292 51.8023C46.4749 52.2391 45.5085 51.9814 45.0718 51.2271L41.9945 45.8986ZM73.0715 33.2355L47.0155 48.279L42.5689 40.5778L73.3782 22.7898L77.8247 30.4911L73.0715 33.2355Z"
|
24
|
+
}, null, 10, r)
|
25
|
+
]));
|
26
|
+
}
|
27
|
+
};
|
28
|
+
export {
|
29
|
+
c as default
|
30
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s={xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},C=["fill"],n=["fill"],o={__name:"IconOrders",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(l){return(t,r)=>(e.openBlock(),e.createElementBlock("svg",s,[e.createElementVNode("path",{fill:l.fill,class:e.normalizeClass(t.$attrs.class),d:"M22.8663 7.57143C22.2034 7.57143 21.7143 8.07429 21.7143 8.69143V15.5943C21.7143 15.7426 21.7437 15.8893 21.8008 16.0261C21.858 16.1629 21.9417 16.2869 22.0472 16.3912C22.1526 16.4953 22.2777 16.5775 22.4152 16.633C22.5527 16.6885 22.6997 16.7161 22.848 16.7143H57.152C57.4503 16.7143 57.7366 16.5967 57.9489 16.3871C58.1611 16.1774 58.2821 15.8926 58.2857 15.5943V8.69143C58.2857 8.06514 57.7692 7.57143 57.1337 7.57143H53.7143L49.1429 3H30.8572L26.2857 7.57143H22.8663Z"},null,10,C),e.createElementVNode("path",{fill:l.fill,class:e.normalizeClass(t.$attrs.class),"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 16.6778C8 11.6583 12.0858 7.5862 17.1429 7.57153V19.0229C17.1429 20.3029 18.1851 21.2858 19.4743 21.2858H60.5257C61.8149 21.2858 62.8571 20.2709 62.8571 19.0229V7.57148H62.8297C65.253 7.5642 67.58 8.51922 69.2995 10.2268C71.019 11.9343 71.9903 14.2545 72 16.6778V67.0367C72 72.0652 67.8994 76.1429 62.8297 76.1429H17.1703C14.747 76.1502 12.42 75.1952 10.7005 73.4877C8.98098 71.7802 8.00968 69.4599 8 67.0367V16.6778ZM21.7143 37.2858C21.7143 38.5109 22.7383 39.5715 24 39.5715H56C57.2343 39.5715 58.2857 38.5475 58.2857 37.2858C58.2857 36.0607 57.2617 35.0001 56 35.0001H24C22.7657 35.0001 21.7143 36.0241 21.7143 37.2858ZM21.7143 55.5715C21.7143 56.7967 22.7383 57.8572 24 57.8572H56C57.2343 57.8572 58.2857 56.8332 58.2857 55.5715C58.2857 54.3464 57.2617 53.2858 56 53.2858H24C22.7657 53.2858 21.7143 54.3098 21.7143 55.5715ZM56 44.1429H24C22.7376 44.1429 21.7143 45.1662 21.7143 46.4286C21.7143 47.691 22.7376 48.7143 24 48.7143H56C57.2624 48.7143 58.2857 47.691 58.2857 46.4286C58.2857 45.1662 57.2624 44.1429 56 44.1429Z"},null,10,n)]))}};exports.default=o;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { openBlock as s, createElementBlock as n, createElementVNode as t, normalizeClass as C } from "vue";
|
2
|
+
const o = {
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
4
|
+
width: "80",
|
5
|
+
height: "80",
|
6
|
+
viewBox: "0 0 80 80",
|
7
|
+
fill: "none"
|
8
|
+
}, a = ["fill"], i = ["fill"], d = {
|
9
|
+
__name: "IconOrders",
|
10
|
+
props: {
|
11
|
+
fill: {
|
12
|
+
type: String,
|
13
|
+
default: "rgb(var(--black))"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
setup(l) {
|
17
|
+
return (e, r) => (s(), n("svg", o, [
|
18
|
+
t("path", {
|
19
|
+
fill: l.fill,
|
20
|
+
class: C(e.$attrs.class),
|
21
|
+
d: "M22.8663 7.57143C22.2034 7.57143 21.7143 8.07429 21.7143 8.69143V15.5943C21.7143 15.7426 21.7437 15.8893 21.8008 16.0261C21.858 16.1629 21.9417 16.2869 22.0472 16.3912C22.1526 16.4953 22.2777 16.5775 22.4152 16.633C22.5527 16.6885 22.6997 16.7161 22.848 16.7143H57.152C57.4503 16.7143 57.7366 16.5967 57.9489 16.3871C58.1611 16.1774 58.2821 15.8926 58.2857 15.5943V8.69143C58.2857 8.06514 57.7692 7.57143 57.1337 7.57143H53.7143L49.1429 3H30.8572L26.2857 7.57143H22.8663Z"
|
22
|
+
}, null, 10, a),
|
23
|
+
t("path", {
|
24
|
+
fill: l.fill,
|
25
|
+
class: C(e.$attrs.class),
|
26
|
+
"fill-rule": "evenodd",
|
27
|
+
"clip-rule": "evenodd",
|
28
|
+
d: "M8 16.6778C8 11.6583 12.0858 7.5862 17.1429 7.57153V19.0229C17.1429 20.3029 18.1851 21.2858 19.4743 21.2858H60.5257C61.8149 21.2858 62.8571 20.2709 62.8571 19.0229V7.57148H62.8297C65.253 7.5642 67.58 8.51922 69.2995 10.2268C71.019 11.9343 71.9903 14.2545 72 16.6778V67.0367C72 72.0652 67.8994 76.1429 62.8297 76.1429H17.1703C14.747 76.1502 12.42 75.1952 10.7005 73.4877C8.98098 71.7802 8.00968 69.4599 8 67.0367V16.6778ZM21.7143 37.2858C21.7143 38.5109 22.7383 39.5715 24 39.5715H56C57.2343 39.5715 58.2857 38.5475 58.2857 37.2858C58.2857 36.0607 57.2617 35.0001 56 35.0001H24C22.7657 35.0001 21.7143 36.0241 21.7143 37.2858ZM21.7143 55.5715C21.7143 56.7967 22.7383 57.8572 24 57.8572H56C57.2343 57.8572 58.2857 56.8332 58.2857 55.5715C58.2857 54.3464 57.2617 53.2858 56 53.2858H24C22.7657 53.2858 21.7143 54.3098 21.7143 55.5715ZM56 44.1429H24C22.7376 44.1429 21.7143 45.1662 21.7143 46.4286C21.7143 47.691 22.7376 48.7143 24 48.7143H56C57.2624 48.7143 58.2857 47.691 58.2857 46.4286C58.2857 45.1662 57.2624 44.1429 56 44.1429Z"
|
29
|
+
}, null, 10, i)
|
30
|
+
]));
|
31
|
+
}
|
32
|
+
};
|
33
|
+
export {
|
34
|
+
d as default
|
35
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s={xmlns:"http://www.w3.org/2000/svg",width:"80",height:"80",viewBox:"0 0 80 80",fill:"none"},C=["fill"],o={__name:"IconProducts",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(t){return(l,r)=>(e.openBlock(),e.createElementBlock("svg",s,[e.createElementVNode("path",{d:"M73 26.6401H62.44L49.84 11.1601C48.76 9.84015 46.96 9.72015 45.64 10.6802C44.32 11.7602 44.2 13.6801 45.16 14.8802L54.64 26.5202H25.36L34.84 14.8802C35.92 13.5601 35.68 11.7602 34.48 10.6802C33.16 9.60015 31.24 9.84015 30.28 11.1601L17.56 26.6401H7C5.32 26.6401 4 27.9601 4 29.6401C4 31.3201 5.32 32.6401 7 32.6401H8.92L13.48 62.5201C14.2 66.9601 17.92 70.2002 22.36 70.2002H57.64C62.08 70.2002 65.92 66.9601 66.52 62.5201L71.08 32.6401H73C74.68 32.6401 76 31.3201 76 29.6401C76 27.9601 74.68 26.6401 73 26.6401ZM25 53.6402V43.0802C25 41.4002 26.32 40.0802 28 40.0802C29.68 40.0802 31 41.4002 31 43.0802V53.6402C31 55.3202 29.68 56.6402 28 56.6402C26.32 56.6402 25 55.2002 25 53.6402ZM37 53.6402V43.0802C37 41.4002 38.32 40.0802 40 40.0802C41.68 40.0802 43 41.4002 43 43.0802V53.6402C43 55.3202 41.68 56.6402 40 56.6402C38.32 56.6402 37 55.2002 37 53.6402ZM55 53.6402C55 55.3202 53.68 56.6402 52 56.6402C50.32 56.6402 49 55.3202 49 53.6402V43.0802C49 41.4002 50.32 40.0802 52 40.0802C53.68 40.0802 55 41.4002 55 43.0802V53.6402Z",fill:t.fill,class:e.normalizeClass(l.$attrs.class)},null,10,C)]))}};exports.default=o;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { openBlock as l, createElementBlock as C, createElementVNode as s, normalizeClass as o } from "vue";
|
2
|
+
const n = {
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
4
|
+
width: "80",
|
5
|
+
height: "80",
|
6
|
+
viewBox: "0 0 80 80",
|
7
|
+
fill: "none"
|
8
|
+
}, r = ["fill"], i = {
|
9
|
+
__name: "IconProducts",
|
10
|
+
props: {
|
11
|
+
fill: {
|
12
|
+
type: String,
|
13
|
+
default: "rgb(var(--black))"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
setup(t) {
|
17
|
+
return (e, a) => (l(), C("svg", n, [
|
18
|
+
s("path", {
|
19
|
+
d: "M73 26.6401H62.44L49.84 11.1601C48.76 9.84015 46.96 9.72015 45.64 10.6802C44.32 11.7602 44.2 13.6801 45.16 14.8802L54.64 26.5202H25.36L34.84 14.8802C35.92 13.5601 35.68 11.7602 34.48 10.6802C33.16 9.60015 31.24 9.84015 30.28 11.1601L17.56 26.6401H7C5.32 26.6401 4 27.9601 4 29.6401C4 31.3201 5.32 32.6401 7 32.6401H8.92L13.48 62.5201C14.2 66.9601 17.92 70.2002 22.36 70.2002H57.64C62.08 70.2002 65.92 66.9601 66.52 62.5201L71.08 32.6401H73C74.68 32.6401 76 31.3201 76 29.6401C76 27.9601 74.68 26.6401 73 26.6401ZM25 53.6402V43.0802C25 41.4002 26.32 40.0802 28 40.0802C29.68 40.0802 31 41.4002 31 43.0802V53.6402C31 55.3202 29.68 56.6402 28 56.6402C26.32 56.6402 25 55.2002 25 53.6402ZM37 53.6402V43.0802C37 41.4002 38.32 40.0802 40 40.0802C41.68 40.0802 43 41.4002 43 43.0802V53.6402C43 55.3202 41.68 56.6402 40 56.6402C38.32 56.6402 37 55.2002 37 53.6402ZM55 53.6402C55 55.3202 53.68 56.6402 52 56.6402C50.32 56.6402 49 55.3202 49 53.6402V43.0802C49 41.4002 50.32 40.0802 52 40.0802C53.68 40.0802 55 41.4002 55 43.0802V53.6402Z",
|
20
|
+
fill: t.fill,
|
21
|
+
class: o(e.$attrs.class)
|
22
|
+
}, null, 10, r)
|
23
|
+
]));
|
24
|
+
}
|
25
|
+
};
|
26
|
+
export {
|
27
|
+
i as default
|
28
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-i18n"),l=require("../../../icons/labels/LabelAppStore.vue.cjs"),r=require("../../../icons/labels/LabelGooglePlay.vue.cjs");require("./MobileApp.vue2.cjs");const c={id:"mobileApp",class:"pd-thin"},d={class:"pos-relative cols-2 pd-thin o-hidden bg-black t-white radius-extra"},u={class:"z-index-1 h-100"},p=["src"],m={class:"pd-big flex flex-h-center flex-column z-index-1 w-1/2"},f={class:"mn-t-medium mn-b-semi w-m-40r"},h={class:"t-transp mn-b-big p-big w-m-33r"},_={class:"mn-b-big gap-medium cols-2"},g={class:"feature"},b={class:"mn-b-thin"},y={class:"t-transp p-medium"},E={class:"feature"},v={class:"mn-b-thin"},N={class:"t-transp p-medium"},V={class:"feature"},S={class:"mn-b-thin"},k={class:"t-transp p-medium"},w={class:"feature"},x={class:"mn-b-thin"},D={class:"t-transp p-medium"},A={class:"w-m-25r flex-nowrap flex gap-medium"},I=["href","target"],z={key:0,class:"z-index-2 radius-big bg-main t-semi uppercase pd-l-thin pd-r-thin pos-absolute pos-r-small-negative pos-t-small-negative"},L=["href","target"],B={key:0,class:"z-index-2 pd-l-thin pd-r-thin radius-big bg-main t-semi uppercase pos-absolute pos-r-small-negative pos-t-small-negative"},C={__name:"MobileApp",props:{mockupImage:{type:String,default:"/landing/mockup.jpg"},bgImage:{type:String,default:""},textData:{type:Object,default:()=>({messages:{en:{title:"Explore the Cannabis World at Your Fingertips",description:"Intuitive, Efficient, and Customized for Your Cannabis Needs",features:{soonLabel:"Soon",instantUpdates:{title:"Instant Updates",text:"Receive real-time notifications for new product releases and community updates. Always stay in the loop."},locate:{title:"Locate with Ease",text:"Discover nearby dispensaries and cannabis events with our integrated geolocation services."},wallet:{title:"Wallet Integration",text:"Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together."},customization:{title:"Customization by AI",text:"Experience the AI difference with personalized recommendations based on your preferences and trends in the community."}}}}})}},setup(n){const a=n,{t,te:s}=i.useI18n(a.textData);return(o,P)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("section",d,[e.createElementVNode("div",u,[e.createElementVNode("img",{src:(o.FILE_SERVER_URL||"")+n.mockupImage,alt:"Desktop App Mockup",class:"radius-extra h-100 w-100 object-fit-cover"},null,8,p)]),e.createElementVNode("div",m,[e.createElementVNode("h2",f,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",h,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",_,[e.createElementVNode("div",g,[e.createElementVNode("h4",b,e.toDisplayString(e.unref(t)("features.instantUpdates.title")),1),e.createElementVNode("p",y,e.toDisplayString(e.unref(t)("features.instantUpdates.text")),1)]),e.createElementVNode("div",E,[e.createElementVNode("h4",v,e.toDisplayString(e.unref(t)("features.locate.title")),1),e.createElementVNode("p",N,e.toDisplayString(e.unref(t)("features.locate.text")),1)]),e.createElementVNode("div",V,[e.createElementVNode("h4",S,e.toDisplayString(e.unref(t)("features.wallet.title")),1),e.createElementVNode("p",k,e.toDisplayString(e.unref(t)("features.wallet.text")),1)]),e.createElementVNode("div",w,[e.createElementVNode("h4",x,e.toDisplayString(e.unref(t)("features.customization.title")),1),e.createElementVNode("p",D,e.toDisplayString(e.unref(t)("features.customization.text")),1)])]),e.createElementVNode("div",A,[e.createElementVNode("a",{href:e.unref(s)("features.linkAppStore")?e.unref(t)("features.linkAppStore"):null,target:e.unref(s)("features.linkAppStore")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(s)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",z,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(l.default,{class:"w-100 h-100",alt:"Download on App Store"})],8,I),e.createElementVNode("a",{href:e.unref(s)("features.linkGooglePlay")?e.unref(t)("features.linkGooglePlay"):null,target:e.unref(s)("features.linkGooglePlay")?"_blank":null,class:"pos-relative w-100 h-100"},[e.unref(s)("features.soonLabel")?(e.openBlock(),e.createElementBlock("span",B,e.toDisplayString(e.unref(t)("features.soonLabel")),1)):e.createCommentVNode("",!0),e.createVNode(r.default,{class:"w-100 h-100",alt:"Download on Google Play"})],8,L)])])])]))}};exports.default=C;
|