@ozdao/prometheus-framework 0.2.322 → 0.2.324
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Media-BjSScxrV.js +1 -0
- package/dist/Media-CCVndMgQ.mjs +111 -0
- package/dist/main-BBmjvE8i.js +92 -0
- package/dist/main-BCskq3d2.mjs +13068 -0
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +9 -11
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +10 -12
- package/dist/prometheus-framework/src/components/Button/Button.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +37 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +37 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +27 -18
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +27 -18
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +6 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +6 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Media/Media.vue.cjs +154 -0
- package/dist/prometheus-framework/src/components/Media/Media.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/components/Media/Media.vue.js +154 -0
- package/dist/prometheus-framework/src/components/Media/Media.vue.js.map +1 -0
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +68 -37
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +69 -38
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +5 -4
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +5 -4
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs +0 -2
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +119 -4
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +120 -5
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +112 -163
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +119 -170
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +0 -17
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +2 -19
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +0 -3
- package/dist/prometheus-framework/src/modules/community/community.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +6 -9
- package/dist/prometheus-framework/src/modules/community/community.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +18 -78
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +23 -83
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Card.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Card.vue.js +1 -1
- 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/events/components/blocks/CardEvent.vue.cjs +34 -25
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +35 -26
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/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 +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +9 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +20 -15
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +221 -50
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +225 -54
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs +98 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js +98 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/events.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.js +1 -0
- package/dist/prometheus-framework/src/modules/events/events.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +2 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +2 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +20 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +20 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.cjs +100 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.js +100 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +7 -8
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +2 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +2 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs +30 -14
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js +30 -14
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.cjs +33 -0
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.js +33 -0
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +4 -17
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +4 -17
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.cjs +34 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.js +34 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +27 -17
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +28 -18
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +2 -0
- package/dist/prometheus-framework/src/modules/icons/icons.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/icons.client.js +50 -48
- package/dist/prometheus-framework/src/modules/icons/icons.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.cjs +83 -81
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.js +83 -81
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.cjs +25 -62
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.js +25 -62
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionJoinUs.vue.cjs +89 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionJoinUs.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionJoinUs.vue.js +89 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionJoinUs.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionMobileApp.vue.cjs +97 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionMobileApp.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionMobileApp.vue.js +97 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.js +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +34 -37
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +34 -37
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +6 -4
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +18 -16
- package/dist/prometheus-framework/src/modules/landing/landing.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
- 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 +1 -1
- 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/shopcart.cjs +67 -2
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +67 -2
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js.map +1 -1
- 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 +7 -7
- 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/DepartmentEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +888 -860
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +888 -860
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +4 -15
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -15
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js.map +1 -1
- 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/elements/Price.vue.cjs +24 -30
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +25 -31
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- 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/Product.vue.cjs +236 -13
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +239 -16
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
- 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 +1 -1
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +62 -16
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +67 -21
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +0 -3
- package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +48 -51
- package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/prometheus-framework.cjs.js +1 -92
- package/dist/prometheus-framework.es.js +36 -13005
- package/package.json +1 -1
- package/src/components/Button/Button.vue +43 -40
- package/src/components/DatePicker/Calendar.vue +15 -7
- package/src/components/DatePicker/DatePicker.vue +50 -40
- package/src/components/EmptyState/EmptyState.vue +2 -2
- package/src/components/Feed/Feed.vue +6 -2
- package/src/components/FieldBig/FieldBig.vue +0 -2
- package/src/components/Media/Media.vue +211 -0
- package/src/components/Popup/Popup.vue +19 -21
- package/src/components/Slider/Slider.vue +57 -21
- package/src/components/index.js +1 -0
- package/src/main.js +3 -1
- package/src/modules/auth/views/components/pages/Profile.vue +2 -1
- package/src/modules/backoffice/backoffice.client.js +0 -2
- package/src/modules/backoffice/components/pages/Dashboard.vue +95 -2
- package/src/modules/backoffice/components/partials/Sidebar.vue +115 -132
- package/src/modules/backoffice/router/backoffice.js +0 -14
- package/src/modules/community/community.client.js +0 -3
- package/src/modules/community/components/layouts/Community.vue +1 -52
- package/src/modules/events/components/blocks/CardEvent.vue +28 -22
- package/src/modules/events/components/pages/Event.vue +2 -6
- package/src/modules/events/components/pages/Events.vue +241 -56
- package/src/modules/events/components/sections/EventsHot.vue +93 -0
- package/src/modules/events/components/sections/FeaturedEvents.vue +17 -15
- package/src/modules/events/components/sections/List.vue +1 -1
- package/src/modules/events/events.client.js +1 -0
- package/src/modules/events/router/events.js +0 -4
- package/src/modules/events/store/events.js +1 -0
- package/src/modules/globals/views/components/layouts/App.vue +4 -5
- package/src/modules/globals/views/components/layouts/Client.vue +17 -2
- package/src/modules/globals/views/components/partials/CitySelection.vue +88 -0
- package/src/modules/globals/views/components/partials/Header.vue +3 -3
- package/src/modules/globals/views/components/partials/Navigation.vue +75 -20
- package/src/modules/globals/views/components/partials/Sidebar.vue +2 -9
- package/src/modules/globals/views/mixins/mixins.js +56 -35
- package/src/modules/governance/DESCRIPTION.MD +238 -0
- package/src/modules/governance/controllers/factories/initiatives.controller.js +3 -1
- package/src/modules/governance/controllers/routes/initiatives.routes.js +1 -1
- package/src/modules/governance/controllers/routes/tasks.routes.js +1 -1
- package/src/modules/governance/controllers/routes/votes.routes.js +1 -1
- package/src/modules/governance/controllers/routes/votings.routes.js +1 -1
- package/src/modules/governance/governance.client.js +35 -35
- package/src/modules/governance/governance.server.js +8 -8
- package/src/modules/governance/models/milestone.model.js +98 -0
- package/src/modules/governance/models/task.model.js +39 -7
- package/src/modules/governance/views/components/pages/Initiative.vue +1 -1
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +2 -2
- package/src/modules/governance/views/components/pages/Initiatives.vue +3 -2
- package/src/modules/governance/views/components/pages/Task.vue +1 -1
- package/src/modules/governance/views/components/pages/TaskCreate.vue +2 -2
- package/src/modules/governance/views/components/pages/Tasks.vue +2 -2
- package/src/modules/governance/views/components/pages/Voting.vue +3 -3
- package/src/modules/governance/views/components/pages/VotingCreate.vue +2 -2
- package/src/modules/governance/views/components/pages/Votings.vue +2 -2
- package/src/modules/governance/views/components/sections/VoteForm.vue +1 -1
- package/src/modules/governance/views/router/goverance.router.js +263 -0
- package/src/modules/icons/actions/IconShopcartAdd.vue +15 -0
- package/src/modules/icons/entities/IconCommunity.vue +4 -6
- package/src/modules/icons/entities/IconPayments.vue +14 -0
- package/src/modules/icons/entities/IconPrice.vue +12 -3
- package/src/modules/icons/icons.client.js +5 -0
- package/src/modules/icons/logos/Logotype.vue +50 -17
- package/src/modules/landing/components/sections/SectionEarn.vue +42 -42
- package/src/modules/landing/components/sections/SectionFeatures.vue +25 -63
- package/src/modules/landing/components/sections/SectionGuide.vue +5 -5
- package/src/modules/landing/components/sections/SectionJoinUs.vue +95 -0
- package/src/modules/landing/components/sections/SectionMobileApp.vue +87 -0
- package/src/modules/landing/components/sections/SectionOverview.vue +3 -3
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +32 -31
- package/src/modules/landing/landing.client.js +5 -3
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -0
- package/src/modules/orders/store/shopcart.js +100 -1
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/products/components/blocks/CardProduct.vue +5 -11
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +4 -4
- package/src/modules/products/components/elements/Price.vue +33 -56
- package/src/modules/products/components/pages/Product.vue +235 -13
- package/src/modules/products/components/sections/SectionProduct.vue +50 -25
- package/src/modules/products/products.client.js +0 -4
- package/src/styles/base/all.scss +22 -21
- package/src/styles/config.scss +2 -2
- package/src/modules/backoffice/components/layouts/Backoffice.vue +0 -55
- package/src/modules/community/components/sections/JoinUs.vue +0 -75
- package/src/modules/events/components/sections/SectionLineup.vue +0 -42
- package/src/modules/events/components/sections/SectionMainGuest.vue +0 -95
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +0 -117
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +0 -46
- package/src/modules/governance/controllers/factories/projects.controller.js +0 -65
- package/src/modules/governance/controllers/routes/projects.routes.js +0 -34
- package/src/modules/governance/models/project.model.js +0 -26
- package/src/modules/landing/components/sections/FeatureSection.vue +0 -80
- package/src/modules/landing/components/sections/HeroSection.vue +0 -76
- package/src/modules/landing/components/sections/HowItWorksSection.vue +0 -88
- package/src/modules/landing/components/sections/MobileApp.vue +0 -133
- /package/src/modules/{landing → spots}/components/sections/MapSection.vue +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
|
4
|
+
;/* empty css */
|
5
5
|
const IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
|
6
6
|
const CardHeader = require("../../../globals/views/components/blocks/CardHeader.vue.cjs");
|
7
7
|
require("../../../community/store/reactions.cjs");
|
@@ -12,32 +12,36 @@ const _hoisted_1 = {
|
|
12
12
|
};
|
13
13
|
const _hoisted_2 = ["src"];
|
14
14
|
const _hoisted_3 = ["src"];
|
15
|
-
const _hoisted_4 = {
|
16
|
-
const _hoisted_5 = { class: "t-semi" };
|
17
|
-
const _hoisted_6 = {
|
18
|
-
key: 0,
|
19
|
-
class: "t-semi"
|
20
|
-
};
|
21
|
-
const _hoisted_7 = {
|
15
|
+
const _hoisted_4 = {
|
22
16
|
key: 0,
|
23
17
|
class: "t-semi uppercase"
|
24
18
|
};
|
25
|
-
const
|
19
|
+
const _hoisted_5 = {
|
26
20
|
key: 1,
|
27
21
|
class: "cursor-pointer mn-b-thin flex-nowrap flex w-100"
|
28
22
|
};
|
29
|
-
const
|
23
|
+
const _hoisted_6 = {
|
30
24
|
key: 0,
|
31
25
|
class: ""
|
32
26
|
};
|
33
|
-
const
|
27
|
+
const _hoisted_7 = {
|
34
28
|
key: 1,
|
35
29
|
class: "pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"
|
36
30
|
};
|
37
|
-
const
|
31
|
+
const _hoisted_8 = {
|
38
32
|
key: 2,
|
39
33
|
class: "mn-b-small p-big"
|
40
34
|
};
|
35
|
+
const _hoisted_9 = { class: "flex flex-wrap gap-micro t-medium p-big justify-start align-center" };
|
36
|
+
const _hoisted_10 = {
|
37
|
+
key: 0,
|
38
|
+
class: "mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-white"
|
39
|
+
};
|
40
|
+
const _hoisted_11 = { class: "t-semi" };
|
41
|
+
const _hoisted_12 = {
|
42
|
+
key: 0,
|
43
|
+
class: "t-semi"
|
44
|
+
};
|
41
45
|
const _sfc_main = {
|
42
46
|
__name: "CardEvent",
|
43
47
|
props: ["event", "user", "short", "type"],
|
@@ -99,6 +103,7 @@ const _sfc_main = {
|
|
99
103
|
return eventName;
|
100
104
|
});
|
101
105
|
return (_ctx, _cache) => {
|
106
|
+
var _a;
|
102
107
|
return vue.openBlock(), vue.createElementBlock("article", {
|
103
108
|
class: vue.normalizeClass([{
|
104
109
|
"flex-nowrap flex-v-center flex": __props.type === "short"
|
@@ -150,22 +155,26 @@ const _sfc_main = {
|
|
150
155
|
vue.createElementVNode("div", {
|
151
156
|
class: vue.normalizeClass([{ "mn-b-small": __props.type !== "short" }, "flex-v-center flex-nowrap flex"])
|
152
157
|
}, [
|
153
|
-
vue.
|
154
|
-
vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(formattedDate.value), 1),
|
155
|
-
__props.type !== "short" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6, " | " + vue.toDisplayString(formattedTimeRange.value), 1)) : vue.createCommentVNode("", true)
|
156
|
-
]),
|
157
|
-
__props.type === "short" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7, vue.toDisplayString(truncatedEventName.value), 1)) : vue.createCommentVNode("", true)
|
158
|
+
__props.type === "short" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4, vue.toDisplayString(truncatedEventName.value), 1)) : vue.createCommentVNode("", true)
|
158
159
|
], 2),
|
159
|
-
__props.type !== "short" ? (vue.openBlock(), vue.createElementBlock("div",
|
160
|
-
__props.type !== "short" ? (vue.openBlock(), vue.createElementBlock("h3",
|
161
|
-
__props.event.status === "draft" ? (vue.openBlock(), vue.createElementBlock("div",
|
160
|
+
__props.type !== "short" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
161
|
+
__props.type !== "short" ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_6, vue.toDisplayString(__props.event.name), 1)) : vue.createCommentVNode("", true),
|
162
|
+
__props.event.status === "draft" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, vue.toDisplayString(__props.event.status), 1)) : vue.createCommentVNode("", true)
|
162
163
|
])) : vue.createCommentVNode("", true),
|
163
|
-
__props.type !== "short" ? (vue.openBlock(), vue.createElementBlock("p",
|
164
|
+
__props.type !== "short" ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_8, vue.toDisplayString(__props.event.description), 1)) : vue.createCommentVNode("", true),
|
164
165
|
vue.renderSlot(_ctx.$slots, "default"),
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
166
|
+
vue.createElementVNode("div", _hoisted_9, [
|
167
|
+
((_a = __props.event.date) == null ? void 0 : _a.start) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, [
|
168
|
+
vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(formattedDate.value), 1),
|
169
|
+
__props.type !== "short" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, " | " + vue.toDisplayString(formattedTimeRange.value), 1)) : vue.createCommentVNode("", true)
|
170
|
+
])) : vue.createCommentVNode("", true),
|
171
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.event.tags, (chip, index) => {
|
172
|
+
return vue.openBlock(), vue.createElementBlock("span", {
|
173
|
+
key: index,
|
174
|
+
class: "d-inline-flex pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small bg-main"
|
175
|
+
}, vue.toDisplayString(chip), 1);
|
176
|
+
}), 128))
|
177
|
+
])
|
169
178
|
], 2)
|
170
179
|
], 2);
|
171
180
|
};
|
package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CardEvent.vue.cjs","sources":["../../../../../../../src/modules/events/components/blocks/CardEvent.vue"],"sourcesContent":["<template>\n <article \n\t :class=\"{\n\t \t'flex-nowrap flex-v-center flex': type === 'short'\n\t }\"\n\t class=\"pos-relative\"\n >\n \n <CardHeader \n\t :class=\"{\n\t \t'mn-b-small pd-medium': type !== 'short',\n\t \t'flex-child-order-last flex-child mn-l-small': type === 'short',\n\t }\"\n\t :entity=\"event\"\n\t :entityType=\"'event'\"\n\t :user=\"user\"\n\t :owner=\"event.owner\" \n \t:creator=\"event.creator\"\n \t:members=\"event.numberOfTickets\"\n \t:membersPhotos=\"event.participantsPhotos\"\n \t:type=\"type\"\n \t:dateFormatted=\"daysUntilEvent\"\n />\n\n \t\t<div \n \t\t\tv-if=\"event.cover && type !== 'short'\" \n \t\t\tclass=\"o-hidden pos-relative bg-light mn-b-small w-100\"\n \t\t>\n\t <img loading=\"lazy\" \n\t \t:src=\"(FILE_SERVER_URL || '') + event.cover\" \n\t \talt=\"Event image\" \n\t \tclass=\"pos-relative z-index-1 d-block mn-auto w-max-100 object-fit-contain h-20r\"\n\t />\n\n\t <img loading=\"lazy\" \n\t \t:src=\"(FILE_SERVER_URL || '') + event.cover\" \n\t \talt=\"Event Background\" \n\t \tclass=\"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0\"\n\t \tstyle=\"\n\t \t\ttransform: scale(1.5);\n\t \t\tfilter: blur(2rem);\n \t\t\t\t-webkit-filter: blur(2rem);\"\n\t />\n\t </div>\n\n <section \n \tclass=\"pos-relative w-100\"\n \t:class=\"{'pd-t-zero pd-medium': type !== 'short'}\"\n >\n\n\t <IconEdit\n\t\t\t\tv-if=\"user === event.creator.target._id\"\n\t\t\t\t@click.stop=\"$router.push({\n\t\t\t\t\tname: 'Edit Event', \n\t\t\t\t\tparams: {\n\t\t\t\t\t\turl: event.url\n\t\t\t\t\t}\n\t\t\t\t})\" \n\t\t\t\tclass=\"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp\"\n\t\t\t/>\n\n \t<div\n \t\t:class=\"{'mn-b-small': type !== 'short'}\"\n \t\tclass=\"flex-v-center flex-nowrap flex\"\n \t
|
1
|
+
{"version":3,"file":"CardEvent.vue.cjs","sources":["../../../../../../../src/modules/events/components/blocks/CardEvent.vue"],"sourcesContent":["<template>\n <article \n\t :class=\"{\n\t \t'flex-nowrap flex-v-center flex': type === 'short'\n\t }\"\n\t class=\"pos-relative\"\n >\n \n <CardHeader \n\t :class=\"{\n\t \t'mn-b-small pd-medium': type !== 'short',\n\t \t'flex-child-order-last flex-child mn-l-small': type === 'short',\n\t }\"\n\t :entity=\"event\"\n\t :entityType=\"'event'\"\n\t :user=\"user\"\n\t :owner=\"event.owner\" \n \t:creator=\"event.creator\"\n \t:members=\"event.numberOfTickets\"\n \t:membersPhotos=\"event.participantsPhotos\"\n \t:type=\"type\"\n \t:dateFormatted=\"daysUntilEvent\"\n />\n\n \t\t<div \n \t\t\tv-if=\"event.cover && type !== 'short'\" \n \t\t\tclass=\"o-hidden pos-relative bg-light mn-b-small w-100\"\n \t\t>\n\t <img loading=\"lazy\" \n\t \t:src=\"(FILE_SERVER_URL || '') + event.cover\" \n\t \talt=\"Event image\" \n\t \tclass=\"pos-relative z-index-1 d-block mn-auto w-max-100 object-fit-contain h-20r\"\n\t />\n\n\t <img loading=\"lazy\" \n\t \t:src=\"(FILE_SERVER_URL || '') + event.cover\" \n\t \talt=\"Event Background\" \n\t \tclass=\"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0\"\n\t \tstyle=\"\n\t \t\ttransform: scale(1.5);\n\t \t\tfilter: blur(2rem);\n \t\t\t\t-webkit-filter: blur(2rem);\"\n\t />\n\t </div>\n\n <section \n \tclass=\"pos-relative w-100\"\n \t:class=\"{'pd-t-zero pd-medium': type !== 'short'}\"\n >\n\n\t <IconEdit\n\t\t\t\tv-if=\"user === event.creator.target._id\"\n\t\t\t\t@click.stop=\"$router.push({\n\t\t\t\t\tname: 'Edit Event', \n\t\t\t\t\tparams: {\n\t\t\t\t\t\turl: event.url\n\t\t\t\t\t}\n\t\t\t\t})\" \n\t\t\t\tclass=\"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp\"\n\t\t\t/>\n\n \t<div\n \t\t:class=\"{'mn-b-small': type !== 'short'}\"\n \t\tclass=\"flex-v-center flex-nowrap flex\"\n \t>\n\t\t\t\t \t<span \n\t\t\t \tv-if=\"type === 'short'\" \n\t\t\t \tclass=\"t-semi uppercase\"\n\t\t\t >\n\t\t\t {{ truncatedEventName }}\n\t\t\t </span>\n\t\t\t</div>\n\n <div v-if=\"type !== 'short'\" class=\"cursor-pointer mn-b-thin flex-nowrap flex w-100\">\n\n\t\t\t\t<h3 \n\t \tv-if=\"type !== 'short'\" \n\t \tclass=\"\"\n\t >\n\t \t\t{{ event.name }}\n\t \t</h3>\n\n\t\t\t\t<div v-if=\"event.status === 'draft'\" class=\"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra\">\n\t\t\t\t\t{{event.status}}\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>\n\n \t<p \n \t\tv-if=\"type !== 'short'\" \n \t\tclass=\"mn-b-small p-big\"\n \t>\n \t\t{{ event.description }}\n \t</p>\n\n <slot></slot>\n \n <div class=\"flex flex-wrap gap-micro t-medium p-big justify-start align-center\">\n <span v-if=\"event.date?.start\" class=\"mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-white\">\n <!-- <IconCalendar :fill=\"'rgb(var(--black))'\" class=\"w-1r h-auto\"/> -->\n <!-- {{formatDate(event.date.start)}} -->\n\n\t\t\t\t\t\t<span \n\t\t\t\t \n\t\t\t\t \tclass=\"t-semi\"\n\t\t\t\t >\n\t\t\t\t \t{{ formattedDate }}\n\t\t\t\t </span>\n\t\t\t\t <span \n\t\t\t\t \t\tv-if=\"type !== 'short'\"\n\t\t\t\t \tclass=\"t-semi \">\n\t\t\t\t | {{ formattedTimeRange }}\n\t\t\t\t </span>\n </span>\n\n\n <span\n v-for=\"(chip, index) in event.tags\"\n :key=\"index\"\n class=\"d-inline-flex pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small bg-main\"\n >\n {{ chip }}\n </span>\n </div>\n\t\t\t<!-- <CardFooter\n\t\t\t\tv-if=\"type !== 'short'\" \n\t\t\t\tclass=\"\" \n\t\t\t\t:entity=\"event\"\n\t\t\t\t:entityType=\"'event'\" \n\t\t\t\t:user=\"user\"\n\t\t\t/> -->\n\n </section>\n \n <!-- <FooterBlogpost class=\"pd-t-zero pd-medium\" :event=\"event\" :owner=\"owner\"/> -->\n </article>\n</template>\n\n<script setup=\"props\">\n\timport Chips from '@pf/src/components/Chips/Chips.vue'\n\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\n\timport CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\timport CardFooter from '@pf/src/modules/globals/views/components/blocks/CardFooter.vue'\n\timport { ref, computed } from 'vue'\n\timport { useRouter } from 'vue-router'\n\n\tconst date_now = ref(new Date())\n\n\tconst router = useRouter()\n\tconst props = defineProps(['event', 'user', 'short', 'type'])\n\n\tconst firstImage = computed(() => {\n\t\treturn props.event.content.find(block => block.type.name === 'ImageUpload');\n\t});\n\n\tconst firstText = computed(() => {\n\t\treturn props.event.content.find(block => block.type.name === 'Textarea');\n\t});\n\n // Function to calculate days until event\n const daysUntilEvent = computed(() => {\n const now = new Date();\n const nowUTC = Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate(), now.getUTCHours(), now.getUTCMinutes(), now.getUTCSeconds());\n \n const start = new Date(props.event.date.start);\n const startUTC = Date.UTC(start.getUTCFullYear(), start.getUTCMonth(), start.getUTCDate(), start.getUTCHours(), start.getUTCMinutes(), start.getUTCSeconds());\n \n const diffInTime = startUTC - nowUTC;\n\n if (diffInTime < 0) {\n return 'Finished';\n }\n else if (diffInTime === 0) {\n return 'Starting Now';\n }\n else {\n const diffInSeconds = Math.floor(diffInTime / 1000);\n const diffInMinutes = Math.floor(diffInSeconds / 60);\n const diffInHours = Math.floor(diffInMinutes / 60);\n const diffInDays = Math.floor(diffInHours / 24);\n\n if (diffInDays > 0) {\n return `${diffInDays} days until event`;\n }\n else if (diffInHours > 0) {\n return `${diffInHours} hours until event`;\n }\n else if (diffInMinutes > 0) {\n return `${diffInMinutes} minutes until event`;\n }\n else {\n return `${diffInSeconds} seconds until event`;\n }\n }\n});\n\n\n /// Computed property for formatted date\n\tconst formattedDate = computed(() => {\n\t const start = new Date(props.event.date.start);\n\t const options = { day: '2-digit', month: '2-digit' };\n\t return start.toLocaleDateString(undefined, options);\n\t});\n\n\t// Computed property for time range\n\tconst formattedTimeRange = computed(() => {\n\n\t\tconsole.log(props.event.date.start)\n\t\tconsole.log(props.event.date.end)\n const start = new Date(props.event.date.start);\n const end = new Date(props.event.date.end);\n\n const startTime = new Intl.DateTimeFormat(undefined, { hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }).format(start);\n const endTime = new Intl.DateTimeFormat(undefined, { hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }).format(end);\n return `${startTime}-${endTime}`;\n\t});\n\n\n\t// Computed property for truncated event name\n\tconst truncatedEventName = computed(() => {\n\t const eventName = props.event.name;\n\t if (eventName.length > 26) {\n\t return `${eventName.substring(0, 22)}…`; // Truncate to 37 characters and append \"...\"\n\t }\n\t return eventName; // If less than or equal to 40 characters, return the full string\n\t});\n\n\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["ref","useRouter","computed"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoJkBA,QAAG,IAAC,oBAAI,MAAM;AAEhBC,wBAAW;AAC1B,UAAM,QAAQ;AAEKC,QAAAA,SAAS,MAAM;AACjC,aAAO,MAAM,MAAM,QAAQ,KAAK,WAAS,MAAM,KAAK,SAAS,aAAa;AAAA,IAC5E,CAAE;AAEiBA,QAAAA,SAAS,MAAM;AAChC,aAAO,MAAM,MAAM,QAAQ,KAAK,WAAS,MAAM,KAAK,SAAS,UAAU;AAAA,IACzE,CAAE;AAGA,UAAM,iBAAiBA,IAAAA,SAAS,MAAM;AACpC,YAAM,MAAM,oBAAI;AAChB,YAAM,SAAS,KAAK,IAAI,IAAI,kBAAkB,IAAI,eAAe,IAAI,cAAc,IAAI,eAAe,IAAI,iBAAiB,IAAI,cAAa,CAAE;AAE9I,YAAM,QAAQ,IAAI,KAAK,MAAM,MAAM,KAAK,KAAK;AAC7C,YAAM,WAAW,KAAK,IAAI,MAAM,kBAAkB,MAAM,eAAe,MAAM,cAAc,MAAM,eAAe,MAAM,iBAAiB,MAAM,cAAa,CAAE;AAE5J,YAAM,aAAa,WAAW;AAE9B,UAAI,aAAa,GAAG;AAClB,eAAO;AAAA,MACR,WACQ,eAAe,GAAG;AACzB,eAAO;AAAA,MACR,OACI;AACH,cAAM,gBAAgB,KAAK,MAAM,aAAa,GAAI;AAClD,cAAM,gBAAgB,KAAK,MAAM,gBAAgB,EAAE;AACnD,cAAM,cAAc,KAAK,MAAM,gBAAgB,EAAE;AACjD,cAAM,aAAa,KAAK,MAAM,cAAc,EAAE;AAE9C,YAAI,aAAa,GAAG;AAClB,iBAAO,GAAG,UAAU;AAAA,QACrB,WACQ,cAAc,GAAG;AACxB,iBAAO,GAAG,WAAW;AAAA,QACtB,WACQ,gBAAgB,GAAG;AAC1B,iBAAO,GAAG,aAAa;AAAA,QACxB,OACI;AACH,iBAAO,GAAG,aAAa;AAAA,QACxB;AAAA,MACF;AAAA,IACL,CAAC;AAIA,UAAM,gBAAgBA,IAAAA,SAAS,MAAM;AACjC,YAAM,QAAQ,IAAI,KAAK,MAAM,MAAM,KAAK,KAAK;AAC7C,YAAM,UAAU,EAAE,KAAK,WAAW,OAAO,UAAS;AAClD,aAAO,MAAM,mBAAmB,QAAW,OAAO;AAAA,IACvD,CAAE;AAGD,UAAM,qBAAqBA,IAAAA,SAAS,MAAM;AAEzC,cAAQ,IAAI,MAAM,MAAM,KAAK,KAAK;AAClC,cAAQ,IAAI,MAAM,MAAM,KAAK,GAAG;AAC9B,YAAM,QAAQ,IAAI,KAAK,MAAM,MAAM,KAAK,KAAK;AAC7C,YAAM,MAAM,IAAI,KAAK,MAAM,MAAM,KAAK,GAAG;AAEzC,YAAM,YAAY,IAAI,KAAK,eAAe,QAAW,EAAE,MAAM,WAAW,QAAQ,WAAW,WAAW,MAAO,CAAA,EAAE,OAAO,KAAK;AAC3H,YAAM,UAAU,IAAI,KAAK,eAAe,QAAW,EAAE,MAAM,WAAW,QAAQ,WAAW,WAAW,MAAO,CAAA,EAAE,OAAO,GAAG;AACvH,aAAO,GAAG,SAAS,IAAI,OAAO;AAAA,IAClC,CAAE;AAID,UAAM,qBAAqBA,IAAAA,SAAS,MAAM;AACxC,YAAM,YAAY,MAAM,MAAM;AAC9B,UAAI,UAAU,SAAS,IAAI;AACzB,eAAO,GAAG,UAAU,UAAU,GAAG,EAAE,CAAC;AAAA,MACrC;AACD,aAAO;AAAA,IACV,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ref, computed, openBlock, createElementBlock, normalizeClass, createVNode, createElementVNode, createCommentVNode, createBlock, withModifiers, toDisplayString, renderSlot } from "vue";
|
2
|
-
|
1
|
+
import { ref, computed, openBlock, createElementBlock, normalizeClass, createVNode, createElementVNode, createCommentVNode, createBlock, withModifiers, toDisplayString, renderSlot, Fragment, renderList } from "vue";
|
2
|
+
/* empty css */
|
3
3
|
import _sfc_main$2 from "../../../icons/navigation/IconEdit.vue.js";
|
4
4
|
import _sfc_main$1 from "../../../globals/views/components/blocks/CardHeader.vue.js";
|
5
5
|
import "../../../community/store/reactions.js";
|
@@ -10,32 +10,36 @@ const _hoisted_1 = {
|
|
10
10
|
};
|
11
11
|
const _hoisted_2 = ["src"];
|
12
12
|
const _hoisted_3 = ["src"];
|
13
|
-
const _hoisted_4 = {
|
14
|
-
const _hoisted_5 = { class: "t-semi" };
|
15
|
-
const _hoisted_6 = {
|
16
|
-
key: 0,
|
17
|
-
class: "t-semi"
|
18
|
-
};
|
19
|
-
const _hoisted_7 = {
|
13
|
+
const _hoisted_4 = {
|
20
14
|
key: 0,
|
21
15
|
class: "t-semi uppercase"
|
22
16
|
};
|
23
|
-
const
|
17
|
+
const _hoisted_5 = {
|
24
18
|
key: 1,
|
25
19
|
class: "cursor-pointer mn-b-thin flex-nowrap flex w-100"
|
26
20
|
};
|
27
|
-
const
|
21
|
+
const _hoisted_6 = {
|
28
22
|
key: 0,
|
29
23
|
class: ""
|
30
24
|
};
|
31
|
-
const
|
25
|
+
const _hoisted_7 = {
|
32
26
|
key: 1,
|
33
27
|
class: "pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"
|
34
28
|
};
|
35
|
-
const
|
29
|
+
const _hoisted_8 = {
|
36
30
|
key: 2,
|
37
31
|
class: "mn-b-small p-big"
|
38
32
|
};
|
33
|
+
const _hoisted_9 = { class: "flex flex-wrap gap-micro t-medium p-big justify-start align-center" };
|
34
|
+
const _hoisted_10 = {
|
35
|
+
key: 0,
|
36
|
+
class: "mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-white"
|
37
|
+
};
|
38
|
+
const _hoisted_11 = { class: "t-semi" };
|
39
|
+
const _hoisted_12 = {
|
40
|
+
key: 0,
|
41
|
+
class: "t-semi"
|
42
|
+
};
|
39
43
|
const _sfc_main = {
|
40
44
|
__name: "CardEvent",
|
41
45
|
props: ["event", "user", "short", "type"],
|
@@ -97,6 +101,7 @@ const _sfc_main = {
|
|
97
101
|
return eventName;
|
98
102
|
});
|
99
103
|
return (_ctx, _cache) => {
|
104
|
+
var _a;
|
100
105
|
return openBlock(), createElementBlock("article", {
|
101
106
|
class: normalizeClass([{
|
102
107
|
"flex-nowrap flex-v-center flex": __props.type === "short"
|
@@ -148,22 +153,26 @@ const _sfc_main = {
|
|
148
153
|
createElementVNode("div", {
|
149
154
|
class: normalizeClass([{ "mn-b-small": __props.type !== "short" }, "flex-v-center flex-nowrap flex"])
|
150
155
|
}, [
|
151
|
-
|
152
|
-
createElementVNode("span", _hoisted_5, toDisplayString(formattedDate.value), 1),
|
153
|
-
__props.type !== "short" ? (openBlock(), createElementBlock("span", _hoisted_6, " | " + toDisplayString(formattedTimeRange.value), 1)) : createCommentVNode("", true)
|
154
|
-
]),
|
155
|
-
__props.type === "short" ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(truncatedEventName.value), 1)) : createCommentVNode("", true)
|
156
|
+
__props.type === "short" ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(truncatedEventName.value), 1)) : createCommentVNode("", true)
|
156
157
|
], 2),
|
157
|
-
__props.type !== "short" ? (openBlock(), createElementBlock("div",
|
158
|
-
__props.type !== "short" ? (openBlock(), createElementBlock("h3",
|
159
|
-
__props.event.status === "draft" ? (openBlock(), createElementBlock("div",
|
158
|
+
__props.type !== "short" ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
159
|
+
__props.type !== "short" ? (openBlock(), createElementBlock("h3", _hoisted_6, toDisplayString(__props.event.name), 1)) : createCommentVNode("", true),
|
160
|
+
__props.event.status === "draft" ? (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(__props.event.status), 1)) : createCommentVNode("", true)
|
160
161
|
])) : createCommentVNode("", true),
|
161
|
-
__props.type !== "short" ? (openBlock(), createElementBlock("p",
|
162
|
+
__props.type !== "short" ? (openBlock(), createElementBlock("p", _hoisted_8, toDisplayString(__props.event.description), 1)) : createCommentVNode("", true),
|
162
163
|
renderSlot(_ctx.$slots, "default"),
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
164
|
+
createElementVNode("div", _hoisted_9, [
|
165
|
+
((_a = __props.event.date) == null ? void 0 : _a.start) ? (openBlock(), createElementBlock("span", _hoisted_10, [
|
166
|
+
createElementVNode("span", _hoisted_11, toDisplayString(formattedDate.value), 1),
|
167
|
+
__props.type !== "short" ? (openBlock(), createElementBlock("span", _hoisted_12, " | " + toDisplayString(formattedTimeRange.value), 1)) : createCommentVNode("", true)
|
168
|
+
])) : createCommentVNode("", true),
|
169
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.event.tags, (chip, index) => {
|
170
|
+
return openBlock(), createElementBlock("span", {
|
171
|
+
key: index,
|
172
|
+
class: "d-inline-flex pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small bg-main"
|
173
|
+
}, toDisplayString(chip), 1);
|
174
|
+
}), 128))
|
175
|
+
])
|
167
176
|
], 2)
|
168
177
|
], 2);
|
169
178
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CardEvent.vue.js","sources":["../../../../../../../src/modules/events/components/blocks/CardEvent.vue"],"sourcesContent":["<template>\n <article \n\t :class=\"{\n\t \t'flex-nowrap flex-v-center flex': type === 'short'\n\t }\"\n\t class=\"pos-relative\"\n >\n \n <CardHeader \n\t :class=\"{\n\t \t'mn-b-small pd-medium': type !== 'short',\n\t \t'flex-child-order-last flex-child mn-l-small': type === 'short',\n\t }\"\n\t :entity=\"event\"\n\t :entityType=\"'event'\"\n\t :user=\"user\"\n\t :owner=\"event.owner\" \n \t:creator=\"event.creator\"\n \t:members=\"event.numberOfTickets\"\n \t:membersPhotos=\"event.participantsPhotos\"\n \t:type=\"type\"\n \t:dateFormatted=\"daysUntilEvent\"\n />\n\n \t\t<div \n \t\t\tv-if=\"event.cover && type !== 'short'\" \n \t\t\tclass=\"o-hidden pos-relative bg-light mn-b-small w-100\"\n \t\t>\n\t <img loading=\"lazy\" \n\t \t:src=\"(FILE_SERVER_URL || '') + event.cover\" \n\t \talt=\"Event image\" \n\t \tclass=\"pos-relative z-index-1 d-block mn-auto w-max-100 object-fit-contain h-20r\"\n\t />\n\n\t <img loading=\"lazy\" \n\t \t:src=\"(FILE_SERVER_URL || '') + event.cover\" \n\t \talt=\"Event Background\" \n\t \tclass=\"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0\"\n\t \tstyle=\"\n\t \t\ttransform: scale(1.5);\n\t \t\tfilter: blur(2rem);\n \t\t\t\t-webkit-filter: blur(2rem);\"\n\t />\n\t </div>\n\n <section \n \tclass=\"pos-relative w-100\"\n \t:class=\"{'pd-t-zero pd-medium': type !== 'short'}\"\n >\n\n\t <IconEdit\n\t\t\t\tv-if=\"user === event.creator.target._id\"\n\t\t\t\t@click.stop=\"$router.push({\n\t\t\t\t\tname: 'Edit Event', \n\t\t\t\t\tparams: {\n\t\t\t\t\t\turl: event.url\n\t\t\t\t\t}\n\t\t\t\t})\" \n\t\t\t\tclass=\"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp\"\n\t\t\t/>\n\n \t<div\n \t\t:class=\"{'mn-b-small': type !== 'short'}\"\n \t\tclass=\"flex-v-center flex-nowrap flex\"\n \t
|
1
|
+
{"version":3,"file":"CardEvent.vue.js","sources":["../../../../../../../src/modules/events/components/blocks/CardEvent.vue"],"sourcesContent":["<template>\n <article \n\t :class=\"{\n\t \t'flex-nowrap flex-v-center flex': type === 'short'\n\t }\"\n\t class=\"pos-relative\"\n >\n \n <CardHeader \n\t :class=\"{\n\t \t'mn-b-small pd-medium': type !== 'short',\n\t \t'flex-child-order-last flex-child mn-l-small': type === 'short',\n\t }\"\n\t :entity=\"event\"\n\t :entityType=\"'event'\"\n\t :user=\"user\"\n\t :owner=\"event.owner\" \n \t:creator=\"event.creator\"\n \t:members=\"event.numberOfTickets\"\n \t:membersPhotos=\"event.participantsPhotos\"\n \t:type=\"type\"\n \t:dateFormatted=\"daysUntilEvent\"\n />\n\n \t\t<div \n \t\t\tv-if=\"event.cover && type !== 'short'\" \n \t\t\tclass=\"o-hidden pos-relative bg-light mn-b-small w-100\"\n \t\t>\n\t <img loading=\"lazy\" \n\t \t:src=\"(FILE_SERVER_URL || '') + event.cover\" \n\t \talt=\"Event image\" \n\t \tclass=\"pos-relative z-index-1 d-block mn-auto w-max-100 object-fit-contain h-20r\"\n\t />\n\n\t <img loading=\"lazy\" \n\t \t:src=\"(FILE_SERVER_URL || '') + event.cover\" \n\t \talt=\"Event Background\" \n\t \tclass=\"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0\"\n\t \tstyle=\"\n\t \t\ttransform: scale(1.5);\n\t \t\tfilter: blur(2rem);\n \t\t\t\t-webkit-filter: blur(2rem);\"\n\t />\n\t </div>\n\n <section \n \tclass=\"pos-relative w-100\"\n \t:class=\"{'pd-t-zero pd-medium': type !== 'short'}\"\n >\n\n\t <IconEdit\n\t\t\t\tv-if=\"user === event.creator.target._id\"\n\t\t\t\t@click.stop=\"$router.push({\n\t\t\t\t\tname: 'Edit Event', \n\t\t\t\t\tparams: {\n\t\t\t\t\t\turl: event.url\n\t\t\t\t\t}\n\t\t\t\t})\" \n\t\t\t\tclass=\"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp\"\n\t\t\t/>\n\n \t<div\n \t\t:class=\"{'mn-b-small': type !== 'short'}\"\n \t\tclass=\"flex-v-center flex-nowrap flex\"\n \t>\n\t\t\t\t \t<span \n\t\t\t \tv-if=\"type === 'short'\" \n\t\t\t \tclass=\"t-semi uppercase\"\n\t\t\t >\n\t\t\t {{ truncatedEventName }}\n\t\t\t </span>\n\t\t\t</div>\n\n <div v-if=\"type !== 'short'\" class=\"cursor-pointer mn-b-thin flex-nowrap flex w-100\">\n\n\t\t\t\t<h3 \n\t \tv-if=\"type !== 'short'\" \n\t \tclass=\"\"\n\t >\n\t \t\t{{ event.name }}\n\t \t</h3>\n\n\t\t\t\t<div v-if=\"event.status === 'draft'\" class=\"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra\">\n\t\t\t\t\t{{event.status}}\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>\n\n \t<p \n \t\tv-if=\"type !== 'short'\" \n \t\tclass=\"mn-b-small p-big\"\n \t>\n \t\t{{ event.description }}\n \t</p>\n\n <slot></slot>\n \n <div class=\"flex flex-wrap gap-micro t-medium p-big justify-start align-center\">\n <span v-if=\"event.date?.start\" class=\"mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-white\">\n <!-- <IconCalendar :fill=\"'rgb(var(--black))'\" class=\"w-1r h-auto\"/> -->\n <!-- {{formatDate(event.date.start)}} -->\n\n\t\t\t\t\t\t<span \n\t\t\t\t \n\t\t\t\t \tclass=\"t-semi\"\n\t\t\t\t >\n\t\t\t\t \t{{ formattedDate }}\n\t\t\t\t </span>\n\t\t\t\t <span \n\t\t\t\t \t\tv-if=\"type !== 'short'\"\n\t\t\t\t \tclass=\"t-semi \">\n\t\t\t\t | {{ formattedTimeRange }}\n\t\t\t\t </span>\n </span>\n\n\n <span\n v-for=\"(chip, index) in event.tags\"\n :key=\"index\"\n class=\"d-inline-flex pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small bg-main\"\n >\n {{ chip }}\n </span>\n </div>\n\t\t\t<!-- <CardFooter\n\t\t\t\tv-if=\"type !== 'short'\" \n\t\t\t\tclass=\"\" \n\t\t\t\t:entity=\"event\"\n\t\t\t\t:entityType=\"'event'\" \n\t\t\t\t:user=\"user\"\n\t\t\t/> -->\n\n </section>\n \n <!-- <FooterBlogpost class=\"pd-t-zero pd-medium\" :event=\"event\" :owner=\"owner\"/> -->\n </article>\n</template>\n\n<script setup=\"props\">\n\timport Chips from '@pf/src/components/Chips/Chips.vue'\n\n\timport IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n\n\timport CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\timport CardFooter from '@pf/src/modules/globals/views/components/blocks/CardFooter.vue'\n\timport { ref, computed } from 'vue'\n\timport { useRouter } from 'vue-router'\n\n\tconst date_now = ref(new Date())\n\n\tconst router = useRouter()\n\tconst props = defineProps(['event', 'user', 'short', 'type'])\n\n\tconst firstImage = computed(() => {\n\t\treturn props.event.content.find(block => block.type.name === 'ImageUpload');\n\t});\n\n\tconst firstText = computed(() => {\n\t\treturn props.event.content.find(block => block.type.name === 'Textarea');\n\t});\n\n // Function to calculate days until event\n const daysUntilEvent = computed(() => {\n const now = new Date();\n const nowUTC = Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate(), now.getUTCHours(), now.getUTCMinutes(), now.getUTCSeconds());\n \n const start = new Date(props.event.date.start);\n const startUTC = Date.UTC(start.getUTCFullYear(), start.getUTCMonth(), start.getUTCDate(), start.getUTCHours(), start.getUTCMinutes(), start.getUTCSeconds());\n \n const diffInTime = startUTC - nowUTC;\n\n if (diffInTime < 0) {\n return 'Finished';\n }\n else if (diffInTime === 0) {\n return 'Starting Now';\n }\n else {\n const diffInSeconds = Math.floor(diffInTime / 1000);\n const diffInMinutes = Math.floor(diffInSeconds / 60);\n const diffInHours = Math.floor(diffInMinutes / 60);\n const diffInDays = Math.floor(diffInHours / 24);\n\n if (diffInDays > 0) {\n return `${diffInDays} days until event`;\n }\n else if (diffInHours > 0) {\n return `${diffInHours} hours until event`;\n }\n else if (diffInMinutes > 0) {\n return `${diffInMinutes} minutes until event`;\n }\n else {\n return `${diffInSeconds} seconds until event`;\n }\n }\n});\n\n\n /// Computed property for formatted date\n\tconst formattedDate = computed(() => {\n\t const start = new Date(props.event.date.start);\n\t const options = { day: '2-digit', month: '2-digit' };\n\t return start.toLocaleDateString(undefined, options);\n\t});\n\n\t// Computed property for time range\n\tconst formattedTimeRange = computed(() => {\n\n\t\tconsole.log(props.event.date.start)\n\t\tconsole.log(props.event.date.end)\n const start = new Date(props.event.date.start);\n const end = new Date(props.event.date.end);\n\n const startTime = new Intl.DateTimeFormat(undefined, { hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }).format(start);\n const endTime = new Intl.DateTimeFormat(undefined, { hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }).format(end);\n return `${startTime}-${endTime}`;\n\t});\n\n\n\t// Computed property for truncated event name\n\tconst truncatedEventName = computed(() => {\n\t const eventName = props.event.name;\n\t if (eventName.length > 26) {\n\t return `${eventName.substring(0, 22)}…`; // Truncate to 37 characters and append \"...\"\n\t }\n\t return eventName; // If less than or equal to 40 characters, return the full string\n\t});\n\n\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoJkB,QAAI,oBAAI,MAAM;AAEhB,cAAW;AAC1B,UAAM,QAAQ;AAEK,aAAS,MAAM;AACjC,aAAO,MAAM,MAAM,QAAQ,KAAK,WAAS,MAAM,KAAK,SAAS,aAAa;AAAA,IAC5E,CAAE;AAEiB,aAAS,MAAM;AAChC,aAAO,MAAM,MAAM,QAAQ,KAAK,WAAS,MAAM,KAAK,SAAS,UAAU;AAAA,IACzE,CAAE;AAGA,UAAM,iBAAiB,SAAS,MAAM;AACpC,YAAM,MAAM,oBAAI;AAChB,YAAM,SAAS,KAAK,IAAI,IAAI,kBAAkB,IAAI,eAAe,IAAI,cAAc,IAAI,eAAe,IAAI,iBAAiB,IAAI,cAAa,CAAE;AAE9I,YAAM,QAAQ,IAAI,KAAK,MAAM,MAAM,KAAK,KAAK;AAC7C,YAAM,WAAW,KAAK,IAAI,MAAM,kBAAkB,MAAM,eAAe,MAAM,cAAc,MAAM,eAAe,MAAM,iBAAiB,MAAM,cAAa,CAAE;AAE5J,YAAM,aAAa,WAAW;AAE9B,UAAI,aAAa,GAAG;AAClB,eAAO;AAAA,MACR,WACQ,eAAe,GAAG;AACzB,eAAO;AAAA,MACR,OACI;AACH,cAAM,gBAAgB,KAAK,MAAM,aAAa,GAAI;AAClD,cAAM,gBAAgB,KAAK,MAAM,gBAAgB,EAAE;AACnD,cAAM,cAAc,KAAK,MAAM,gBAAgB,EAAE;AACjD,cAAM,aAAa,KAAK,MAAM,cAAc,EAAE;AAE9C,YAAI,aAAa,GAAG;AAClB,iBAAO,GAAG,UAAU;AAAA,QACrB,WACQ,cAAc,GAAG;AACxB,iBAAO,GAAG,WAAW;AAAA,QACtB,WACQ,gBAAgB,GAAG;AAC1B,iBAAO,GAAG,aAAa;AAAA,QACxB,OACI;AACH,iBAAO,GAAG,aAAa;AAAA,QACxB;AAAA,MACF;AAAA,IACL,CAAC;AAIA,UAAM,gBAAgB,SAAS,MAAM;AACjC,YAAM,QAAQ,IAAI,KAAK,MAAM,MAAM,KAAK,KAAK;AAC7C,YAAM,UAAU,EAAE,KAAK,WAAW,OAAO,UAAS;AAClD,aAAO,MAAM,mBAAmB,QAAW,OAAO;AAAA,IACvD,CAAE;AAGD,UAAM,qBAAqB,SAAS,MAAM;AAEzC,cAAQ,IAAI,MAAM,MAAM,KAAK,KAAK;AAClC,cAAQ,IAAI,MAAM,MAAM,KAAK,GAAG;AAC9B,YAAM,QAAQ,IAAI,KAAK,MAAM,MAAM,KAAK,KAAK;AAC7C,YAAM,MAAM,IAAI,KAAK,MAAM,MAAM,KAAK,GAAG;AAEzC,YAAM,YAAY,IAAI,KAAK,eAAe,QAAW,EAAE,MAAM,WAAW,QAAQ,WAAW,WAAW,MAAO,CAAA,EAAE,OAAO,KAAK;AAC3H,YAAM,UAAU,IAAI,KAAK,eAAe,QAAW,EAAE,MAAM,WAAW,QAAQ,WAAW,WAAW,MAAO,CAAA,EAAE,OAAO,GAAG;AACvH,aAAO,GAAG,SAAS,IAAI,OAAO;AAAA,IAClC,CAAE;AAID,UAAM,qBAAqB,SAAS,MAAM;AACxC,YAAM,YAAY,MAAM,MAAM;AAC9B,UAAI,UAAU,SAAS,IAAI;AACzB,eAAO,GAAG,UAAU,UAAU,GAAG,EAAE,CAAC;AAAA,MACrC;AACD,aAAO;AAAA,IACV,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const index = require("../../../../../../node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs");
|
5
|
-
const Button = require("../../../../components/Button/Button.
|
5
|
+
const Button = require("../../../../components/Button/Button.vue.cjs");
|
6
6
|
const tickets = require("../../store/tickets.cjs");
|
7
7
|
;/* empty css */
|
8
8
|
const _hoisted_1 = {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, onMounted, onUnmounted, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, createBlock, Teleport, createElementVNode, createCommentVNode } from "vue";
|
2
2
|
import { BarcodeScanner } from "../../../../../../node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js";
|
3
|
-
import _sfc_main$1 from "../../../../components/Button/Button.
|
3
|
+
import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
|
4
4
|
import { actions } from "../../store/tickets.js";
|
5
5
|
/* empty css */
|
6
6
|
const _hoisted_1 = {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Button = require("../../../../components/Button/Button.
|
4
|
+
const Button = require("../../../../components/Button/Button.vue.cjs");
|
5
5
|
require("../../../auth/views/store/auth.cjs");
|
6
6
|
const tickets = require("../../store/tickets.cjs");
|
7
7
|
;/* empty css */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { openBlock, createBlock, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
|
-
import _sfc_main$1 from "../../../../components/Button/Button.
|
2
|
+
import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
|
3
3
|
import "../../../auth/views/store/auth.js";
|
4
4
|
import { actions } from "../../store/tickets.js";
|
5
5
|
/* empty css */
|
@@ -9,7 +9,7 @@ const vueDatepicker = require("../../../../../../node_modules/@vuepic/vue-datepi
|
|
9
9
|
;/* empty css */
|
10
10
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
11
11
|
const Popup = require("../../../../components/Popup/Popup.vue.cjs");
|
12
|
-
const Field = require("../../../../components/Field/Field.
|
12
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
13
13
|
const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
|
14
14
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
15
15
|
;/* empty css */
|
@@ -19,7 +19,7 @@ const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.
|
|
19
19
|
;/* empty css */
|
20
20
|
require("../../../../components/EditImages/EditImages.vue.cjs");
|
21
21
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
22
|
-
const Button = require("../../../../components/Button/Button.
|
22
|
+
const Button = require("../../../../components/Button/Button.vue.cjs");
|
23
23
|
const Card = require("../../../globals/views/components/blocks/Card.vue.cjs");
|
24
24
|
const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
|
25
25
|
const vueRouter = require("vue-router");
|
@@ -7,7 +7,7 @@ import Vn from "../../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-d
|
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$2 from "../../../../components/Block/Block.vue.js";
|
9
9
|
import _sfc_main$5 from "../../../../components/Popup/Popup.vue.js";
|
10
|
-
import Field from "../../../../components/Field/Field.
|
10
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
11
11
|
import _sfc_main$6 from "../../../../components/FieldTags/BlockTags.vue.js";
|
12
12
|
import _sfc_main$9 from "../../../../components/Checkbox/Checkbox.vue.js";
|
13
13
|
/* empty css */
|
@@ -17,7 +17,7 @@ import _sfc_main$1 from "../../../../components/UploadImage/UploadImage.vue.js";
|
|
17
17
|
/* empty css */
|
18
18
|
import "../../../../components/EditImages/EditImages.vue.js";
|
19
19
|
import _sfc_main$8 from "../../../../components/Feed/Feed.vue.js";
|
20
|
-
import _sfc_main$a from "../../../../components/Button/Button.
|
20
|
+
import _sfc_main$a from "../../../../components/Button/Button.vue.js";
|
21
21
|
import _sfc_main$7 from "../../../globals/views/components/blocks/Card.vue.js";
|
22
22
|
import _sfc_main$3 from "../../../icons/navigation/IconDelete.vue.js";
|
23
23
|
import { useRoute, useRouter } from "vue-router";
|
package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs
CHANGED
@@ -4,8 +4,8 @@ const vue = require("vue");
|
|
4
4
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
5
5
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
6
6
|
const Popup = require("../../../../components/Popup/Popup.vue.cjs");
|
7
|
-
const Field = require("../../../../components/Field/Field.
|
8
|
-
const Button = require("../../../../components/Button/Button.
|
7
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
8
|
+
const Button = require("../../../../components/Button/Button.vue.cjs");
|
9
9
|
const ButtonCheck = require("../elements/ButtonCheck.vue.cjs");
|
10
10
|
const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
|
11
11
|
const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
|
package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js
CHANGED
@@ -2,8 +2,8 @@ import { ref, onMounted, unref, openBlock, createElementBlock, createElementVNod
|
|
2
2
|
import _sfc_main$7 from "../../../../components/Feed/Feed.vue.js";
|
3
3
|
import _sfc_main$3 from "../../../../components/Block/Block.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../components/Popup/Popup.vue.js";
|
5
|
-
import Field from "../../../../components/Field/Field.
|
6
|
-
import _sfc_main$6 from "../../../../components/Button/Button.
|
5
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
6
|
+
import _sfc_main$6 from "../../../../components/Button/Button.vue.js";
|
7
7
|
import _sfc_main$1 from "../elements/ButtonCheck.vue.js";
|
8
8
|
import _sfc_main$5 from "../../../icons/navigation/IconDelete.vue.js";
|
9
9
|
import _sfc_main$4 from "../../../icons/navigation/IconAdd.vue.js";
|
@@ -2,17 +2,16 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
;/* empty css */
|
5
|
-
;/* empty css
|
5
|
+
;/* empty css */
|
6
6
|
const Viewer = require("../../../constructor/components/sections/Viewer.vue.cjs");
|
7
7
|
const Countdown = require("../../../../components/Countdown/Countdown.vue.cjs");
|
8
8
|
const HeroEvent = require("../sections/HeroEvent.vue.cjs");
|
9
|
-
require("vue-i18n");
|
10
|
-
;/* empty css */
|
11
9
|
const PhotoStack = require("../../../globals/views/components/elements/PhotoStack.vue.cjs");
|
12
10
|
const SkeletonEvent = require("../../../icons/skeletons/SkeletonEvent.vue.cjs");
|
13
11
|
const ButtonJoin = require("../elements/ButtonJoin.vue.cjs");
|
14
12
|
const Comments = require("../../../community/components/sections/Comments.vue.cjs");
|
15
13
|
const CardUser = require("../../../auth/views/components/blocks/CardUser.vue.cjs");
|
14
|
+
const IconCalendar = ;/* empty css */
|
16
15
|
const events = require("../../store/events.cjs");
|
17
16
|
const tickets = require("../../store/tickets.cjs");
|
18
17
|
const auth = require("../../../auth/views/store/auth.cjs");
|
@@ -94,7 +93,13 @@ const _sfc_main = {
|
|
94
93
|
vue.createElementVNode("div", _hoisted_2, [
|
95
94
|
vue.createElementVNode("h1", _hoisted_3, vue.toDisplayString((_a = event.value) == null ? void 0 : _a.name), 1),
|
96
95
|
vue.createElementVNode("div", _hoisted_4, [
|
97
|
-
((_b = event.value.date) == null ? void 0 : _b.start) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5,
|
96
|
+
((_b = event.value.date) == null ? void 0 : _b.start) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, [
|
97
|
+
vue.createVNode(IconCalendar.default, {
|
98
|
+
fill: "rgb(var(--black))",
|
99
|
+
class: "w-1r h-auto"
|
100
|
+
}),
|
101
|
+
vue.createTextVNode(" " + vue.toDisplayString(_ctx.formatDate(event.value.date.start)), 1)
|
102
|
+
])) : vue.createCommentVNode("", true),
|
98
103
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(event.value.tags, (chip, index) => {
|
99
104
|
return vue.openBlock(), vue.createElementBlock("span", {
|
100
105
|
key: index,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Event.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/Event.vue"],"sourcesContent":["<template>\n <section>\n <TransitionGroup tag=\"ul\" name=\"fade\" class=\"bg-light\">\n <SkeletonEvent\n v-if=\"isLoading\"\n v-for=\"i in 3\" :key=\"i\"\n />\n\n <HeroEvent\n v-if=\"!isLoading && event &&event.cover\"\n :content=\"{\n title: event.name,\n ticketLinkStripe: event.ticketLinkStripe,\n cover: event.cover,\n subtitle: event.subtitle,\n }\"\n :options=\"{\n date: event.date.start,\n }\"\n class=\"o-hidden\"\n />\n\n <div class=\"cols-2-2_1 gap-small bg-white t-black pd-t-zero mobile:pd-small pd-extra\" v-if=\"!isLoading && event\"> \n \n <div class=\"bg-light mobile:pd-medium pd-big radius-big\">\n\n <h1 class=\"z-index-1 mn-b-semi\">\n {{event?.name}}\n </h1>\n\n <div class=\"flex flex-wrap gap-micro t-medium p-big mn-b-semi justify-start align-center\">\n <span v-if=\"event.date?.start\" class=\"mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-white\">\n
|
1
|
+
{"version":3,"file":"Event.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/Event.vue"],"sourcesContent":["<template>\n <section>\n <TransitionGroup tag=\"ul\" name=\"fade\" class=\"bg-light\">\n <SkeletonEvent\n v-if=\"isLoading\"\n v-for=\"i in 3\" :key=\"i\"\n />\n\n <HeroEvent\n v-if=\"!isLoading && event &&event.cover\"\n :content=\"{\n title: event.name,\n ticketLinkStripe: event.ticketLinkStripe,\n cover: event.cover,\n subtitle: event.subtitle,\n }\"\n :options=\"{\n date: event.date.start,\n }\"\n class=\"o-hidden\"\n />\n\n <div class=\"cols-2-2_1 gap-small bg-white t-black pd-t-zero mobile:pd-small pd-extra\" v-if=\"!isLoading && event\"> \n \n <div class=\"bg-light mobile:pd-medium pd-big radius-big\">\n\n <h1 class=\"z-index-1 mn-b-semi\">\n {{event?.name}}\n </h1>\n\n <div class=\"flex flex-wrap gap-micro t-medium p-big mn-b-semi justify-start align-center\">\n <span v-if=\"event.date?.start\" class=\"mn-r-nano d-inline-block w-max pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small t-medium bg-white\">\n <IconCalendar :fill=\"'rgb(var(--black))'\" class=\"w-1r h-auto\"/>\n {{formatDate(event.date.start)}}\n </span>\n\n\n <span\n v-for=\"(chip, index) in event.tags\"\n :key=\"index\"\n class=\"d-inline-flex pd-b-micro pd-t-micro pd-r-thin pd-l-thin radius-small bg-main\"\n >\n {{ chip }}\n </span>\n </div>\n\n <p class=\"z-index-1 p-big mn-b-semi\">\n {{event?.description}}\n </p>\n\n <hr v-if=\"event?.content?.length > 0\" class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <Viewer\n v-if=\"event && event.content\"\n :content=\"event.content\"\n :notitle=\"true\"\n />\n\n </div>\n\n <div class=\"\">\n \n <div class=\"radius-semi pd-medium bg-light mn-b-thin\">\n\n <div class=\"mn-b-small flex-nowrap flex-v-center flex pos-relative\">\n <h4 class=\"mn-r-auto\">Tickets</h4>\n <PhotoStack\n :number=\"event.numberOfTickets\"\n :photos=\"event.participantsPhotos\" \n />\n </div>\n <div v-if=\"event?.ticketsTypes?.length > 0\" v-for=\"ticketType in event.ticketsTypes\" class=\"pd-medium w-100 radius-medium bg-white mn-b-small\">\n <div class=\"flex-nowrap mn-b-small p-big flex\">\n <span class=\"mn-r-auto\">{{ticketType.name}}</span>\n <span class=\"t-medium\">{{ticketType.price}} {{returnCurrency()}}</span>\n </div>\n <a :href=\"ticketType.link\" class=\"d-block t-center pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-white w-100 bg-second \">\n Buy Now\n </a>\n </div>\n\n <ButtonJoin \n v-if=\"auth.state.user._id && !event?.ticketsTypes?.length > 0\"\n :type=\"'event'\" \n :hasTicket=\"event.hasTicket\" \n :targetId=\"event._id\" \n :userId=\"auth.state.user._id\"\n class=\" w-100 pd-medium mn-auto\"\n @updateTicket=\"handleTicketUpdate\"\n />\n\n <p v-if=\"event?.ticketsTypes.length > 0\" class=\"z-index-1 t-transp p-small mn-t-small \">Buy ticket online with special price:</p>\n <Countdown \n v-if=\"event?.date?.start && event?.ticketsTypes?.length > 0\"\n class=\"mn-t-thin radius-medium bg-white w-100\"\n :date=\"event?.date?.start\"\n />\n </div>\n\n <div class=\"radius-semi pd-medium bg-light\">\n <h4 class=\"mn-b-small\">Organizer</h4>\n <User \n class=\"h-5r cursor-pointer pd-medium radius-medium bg-white\" \n :user=\"event.owner.target._id\" \n :photo=\"event.owner.target.profile.photo\"\n :name=\"event.owner.target.profile.name\"\n :position=\"event.owner\" \n @click.stop=\"$router.push({\n name: event.owner.type === 'user' ? 'User Profile' : 'Organization', \n params: {\n _id: event.owner.target._id,\n\n },\n query: {\n tab: 'events'\n }\n })\" \n />\n </div>\n\n </div>\n\n <Comments \n v-if=\"!isLoading && event\" \n :type=\"'event'\" \n :target=\"event._id\" \n :owner=\"auth.state.user._id\"\n class=\"bg-light radius-big pd-medium\"\n />\n\n </div>\n \n </TransitionGroup> \n\n </section>\n</template>\n\n<script setup>\n import { ref, onMounted } from 'vue';\n \n import Loader from '@pf/src/components/Loader/Loader.vue';\n import Chips from '@pf/src/components/Chips/Chips.vue';\n import EmptyState from '@pf/src/components/EmptyState/EmptyState.vue';\n\n import Viewer from '@pf/src/modules/constructor/components/sections/Viewer.vue';\n\n import Countdown from \"@pf/src/components/Countdown/Countdown.vue\";\n \n import HeroEvent from '@pf/src/modules/events/components/sections/HeroEvent.vue';\n\n import PhotoStack from \"@pf/src/modules/globals/views/components/elements/PhotoStack.vue\";\n\n import SkeletonEvent from '@pf/src/modules/icons/skeletons/SkeletonEvent.vue';\n import ButtonJoin from '@pf/src/modules/events/components/elements/ButtonJoin.vue';\n import Comments from '@pf/src/modules/community/components/sections/Comments.vue';\n\n import Image from '@pf/src/modules/constructor/components/elements/Image.vue';\n import User from '@pf/src/modules/auth/views/components/blocks/CardUser.vue';\n import IconCalendar from '@pf/src/modules/icons/navigation/IconCalendar.vue';\n\n import * as events from '@pf/src/modules/events/store/events.js';\n import * as tickets from '@pf/src/modules/events/store/tickets.js';\n import * as auth from '@pf/src/modules/auth/views/store/auth';\n \n import { useRoute } from 'vue-router';\n\n const route = useRoute();\n const qrcode = ref(null);\n \n const handleTicketUpdate = ({ ticket, hasTicket, targetId }) => {\n tickets.mutations.handleTicketUpdate(event.value, ticket, hasTicket, targetId);\n console.log('HANDLE TICKET UPDATE', ticket, event.value);\n\n qrcode.value = ticket.qrcode;\n };\n\n function clickBuyTicket () {\n gtag('event', 'buy_ticket', {\n 'event_category': 'conversion',\n 'event_label': 'Buy Ticket'\n });\n\n\n }\n\n\n const event = ref(null);\n const isLoading = ref(true);\n\n onMounted(async () => {\n isLoading.value = true;\n\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data[0];\n isLoading.value = false;\n });\n</script>"],"names":["useRoute","ref","tickets.mutations","onMounted","events.read","auth.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsKE,UAAM,QAAQA,UAAAA;AACd,UAAM,SAASC,QAAI,IAAI;AAEvB,UAAM,qBAAqB,CAAC,EAAE,QAAQ,WAAW,SAAQ,MAAO;AAC9DC,cAAiB,UAAC,mBAAmB,MAAM,OAAO,QAAQ,WAAW,QAAQ;AAC7E,cAAQ,IAAI,wBAAwB,QAAQ,MAAM,KAAK;AAEvD,aAAO,QAAQ,OAAO;AAAA,IAC1B;AAYE,UAAM,QAAQD,QAAI,IAAI;AACtB,UAAM,YAAYA,QAAI,IAAI;AAE1BE,QAAAA,UAAU,YAAY;AACpB,gBAAU,QAAQ;AAElB,YAAM,OAAO,MAAMC,OAAAA,KAAY,EAAE,MAAMC,KAAAA,MAAW,KAAK,KAAK,KAAK,MAAM,OAAO,IAAK,CAAA;AAEnF,YAAM,QAAQ,KAAK,CAAC;AACpB,gBAAU,QAAQ;AAAA,IACtB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,16 +1,15 @@
|
|
1
|
-
import { ref, onMounted, openBlock, createElementBlock, createVNode, TransitionGroup, withCtx, Fragment, renderList, createCommentVNode, createBlock, createElementVNode, toDisplayString, withModifiers } from "vue";
|
1
|
+
import { ref, onMounted, openBlock, createElementBlock, createVNode, TransitionGroup, withCtx, Fragment, renderList, createCommentVNode, createBlock, createElementVNode, toDisplayString, createTextVNode, withModifiers } from "vue";
|
2
2
|
/* empty css */
|
3
|
-
/* empty css
|
4
|
-
import _sfc_main$
|
5
|
-
import _sfc_main$
|
3
|
+
/* empty css */
|
4
|
+
import _sfc_main$2 from "../../../constructor/components/sections/Viewer.vue.js";
|
5
|
+
import _sfc_main$4 from "../../../../components/Countdown/Countdown.vue.js";
|
6
6
|
import HeroEvent from "../sections/HeroEvent.vue.js";
|
7
|
-
import "vue
|
8
|
-
/* empty css */
|
9
|
-
import _sfc_main$2 from "../../../globals/views/components/elements/PhotoStack.vue.js";
|
7
|
+
import _sfc_main$3 from "../../../globals/views/components/elements/PhotoStack.vue.js";
|
10
8
|
import SkeletonEvent from "../../../icons/skeletons/SkeletonEvent.vue.js";
|
11
9
|
import ButtonJoin from "../elements/ButtonJoin.vue.js";
|
12
|
-
import _sfc_main$
|
13
|
-
import _sfc_main$
|
10
|
+
import _sfc_main$6 from "../../../community/components/sections/Comments.vue.js";
|
11
|
+
import _sfc_main$5 from "../../../auth/views/components/blocks/CardUser.vue.js";
|
12
|
+
import _sfc_main$1 from "../../../icons/navigation/IconCalendar.vue.js";
|
14
13
|
import { read } from "../../store/events.js";
|
15
14
|
import { mutations } from "../../store/tickets.js";
|
16
15
|
import { state } from "../../../auth/views/store/auth.js";
|
@@ -92,7 +91,13 @@ const _sfc_main = {
|
|
92
91
|
createElementVNode("div", _hoisted_2, [
|
93
92
|
createElementVNode("h1", _hoisted_3, toDisplayString((_a = event.value) == null ? void 0 : _a.name), 1),
|
94
93
|
createElementVNode("div", _hoisted_4, [
|
95
|
-
((_b = event.value.date) == null ? void 0 : _b.start) ? (openBlock(), createElementBlock("span", _hoisted_5,
|
94
|
+
((_b = event.value.date) == null ? void 0 : _b.start) ? (openBlock(), createElementBlock("span", _hoisted_5, [
|
95
|
+
createVNode(_sfc_main$1, {
|
96
|
+
fill: "rgb(var(--black))",
|
97
|
+
class: "w-1r h-auto"
|
98
|
+
}),
|
99
|
+
createTextVNode(" " + toDisplayString(_ctx.formatDate(event.value.date.start)), 1)
|
100
|
+
])) : createCommentVNode("", true),
|
96
101
|
(openBlock(true), createElementBlock(Fragment, null, renderList(event.value.tags, (chip, index) => {
|
97
102
|
return openBlock(), createElementBlock("span", {
|
98
103
|
key: index,
|
@@ -102,7 +107,7 @@ const _sfc_main = {
|
|
102
107
|
]),
|
103
108
|
createElementVNode("p", _hoisted_6, toDisplayString((_c = event.value) == null ? void 0 : _c.description), 1),
|
104
109
|
((_e = (_d = event.value) == null ? void 0 : _d.content) == null ? void 0 : _e.length) > 0 ? (openBlock(), createElementBlock("hr", _hoisted_7)) : createCommentVNode("", true),
|
105
|
-
event.value && event.value.content ? (openBlock(), createBlock(_sfc_main$
|
110
|
+
event.value && event.value.content ? (openBlock(), createBlock(_sfc_main$2, {
|
106
111
|
key: 1,
|
107
112
|
content: event.value.content,
|
108
113
|
notitle: true
|
@@ -112,7 +117,7 @@ const _sfc_main = {
|
|
112
117
|
createElementVNode("div", _hoisted_9, [
|
113
118
|
createElementVNode("div", _hoisted_10, [
|
114
119
|
_cache[1] || (_cache[1] = createElementVNode("h4", { class: "mn-r-auto" }, "Tickets", -1)),
|
115
|
-
createVNode(_sfc_main$
|
120
|
+
createVNode(_sfc_main$3, {
|
116
121
|
number: event.value.numberOfTickets,
|
117
122
|
photos: event.value.participantsPhotos
|
118
123
|
}, null, 8, ["number", "photos"])
|
@@ -139,7 +144,7 @@ const _sfc_main = {
|
|
139
144
|
onUpdateTicket: handleTicketUpdate
|
140
145
|
}, null, 8, ["hasTicket", "targetId", "userId"])) : createCommentVNode("", true),
|
141
146
|
((_j = event.value) == null ? void 0 : _j.ticketsTypes.length) > 0 ? (openBlock(), createElementBlock("p", _hoisted_16, "Buy ticket online with special price:")) : createCommentVNode("", true),
|
142
|
-
((_l = (_k = event.value) == null ? void 0 : _k.date) == null ? void 0 : _l.start) && ((_n = (_m = event.value) == null ? void 0 : _m.ticketsTypes) == null ? void 0 : _n.length) > 0 ? (openBlock(), createBlock(_sfc_main$
|
147
|
+
((_l = (_k = event.value) == null ? void 0 : _k.date) == null ? void 0 : _l.start) && ((_n = (_m = event.value) == null ? void 0 : _m.ticketsTypes) == null ? void 0 : _n.length) > 0 ? (openBlock(), createBlock(_sfc_main$4, {
|
143
148
|
key: 3,
|
144
149
|
class: "mn-t-thin radius-medium bg-white w-100",
|
145
150
|
date: (_p = (_o = event.value) == null ? void 0 : _o.date) == null ? void 0 : _p.start
|
@@ -147,7 +152,7 @@ const _sfc_main = {
|
|
147
152
|
]),
|
148
153
|
createElementVNode("div", _hoisted_17, [
|
149
154
|
_cache[2] || (_cache[2] = createElementVNode("h4", { class: "mn-b-small" }, "Organizer", -1)),
|
150
|
-
createVNode(_sfc_main$
|
155
|
+
createVNode(_sfc_main$5, {
|
151
156
|
class: "h-5r cursor-pointer pd-medium radius-medium bg-white",
|
152
157
|
user: event.value.owner.target._id,
|
153
158
|
photo: event.value.owner.target.profile.photo,
|
@@ -165,7 +170,7 @@ const _sfc_main = {
|
|
165
170
|
}, null, 8, ["user", "photo", "name", "position"])
|
166
171
|
])
|
167
172
|
]),
|
168
|
-
!isLoading.value && event.value ? (openBlock(), createBlock(_sfc_main$
|
173
|
+
!isLoading.value && event.value ? (openBlock(), createBlock(_sfc_main$6, {
|
169
174
|
key: 0,
|
170
175
|
type: "event",
|
171
176
|
target: event.value._id,
|