@ozdao/prometheus-framework 0.2.221 → 0.2.223
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +4 -4
- package/dist/auth.server.mjs +4 -4
- package/dist/builder.js +72 -60
- package/dist/builder.mjs +72 -60
- package/dist/community.server.js +9 -4
- package/dist/community.server.mjs +9 -4
- package/dist/events.server.js +14 -24
- package/dist/events.server.mjs +14 -24
- package/dist/files.server.js +1 -1
- package/dist/files.server.mjs +1 -1
- package/dist/gallery.server.js +42 -76
- package/dist/gallery.server.mjs +41 -75
- package/dist/index-CsS7qx1d.js +243 -0
- package/dist/index-UIHE6Rk3.mjs +244 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/@capacitor/core/dist/index.cjs +529 -0
- package/dist/node_modules/@capacitor/core/dist/index.cjs.map +1 -0
- package/dist/node_modules/@capacitor/core/dist/index.js +530 -0
- package/dist/node_modules/@capacitor/core/dist/index.js.map +1 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs +51 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs.map +1 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.js +55 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.js.map +1 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs +25 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs.map +1 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +13 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js.map +1 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs +67 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs.map +1 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +67 -0
- package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js.map +1 -0
- package/dist/node_modules/@unhead/shared/dist/index.cjs +7 -0
- package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -0
- package/dist/node_modules/@unhead/shared/dist/index.js +7 -0
- package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -0
- package/dist/node_modules/@unhead/ssr/dist/index.cjs +87 -0
- package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -0
- package/dist/node_modules/@unhead/ssr/dist/index.js +87 -0
- package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -0
- package/dist/orders.server.js +2 -2
- package/dist/orders.server.mjs +2 -2
- package/dist/organizations.server.js +174 -95
- package/dist/organizations.server.mjs +174 -95
- package/dist/pages.server.js +1 -1
- package/dist/pages.server.mjs +1 -1
- package/dist/products.server.js +119 -266
- package/dist/products.server.mjs +119 -266
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +814 -0
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -0
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +814 -0
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -0
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +210 -0
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -0
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +210 -0
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -0
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Button/Button.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +26 -41
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +27 -42
- 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.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +6 -8
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -8
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +2 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +2 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +5 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +5 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.cjs +44 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.js +44 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs +37 -35
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.js +33 -31
- package/dist/prometheus-framework/src/modules/auth/views/store/auth.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/twofa.cjs +3 -5
- package/dist/prometheus-framework/src/modules/auth/views/store/twofa.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/store/twofa.js +2 -4
- package/dist/prometheus-framework/src/modules/auth/views/store/twofa.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.cjs +8 -5
- package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.js +8 -5
- package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +4 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +4 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +13 -9
- 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 +14 -10
- 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 +53 -40
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +58 -45
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +16 -15
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +16 -15
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +47 -43
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js +47 -43
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +13 -20
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +9 -16
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +5 -9
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -5
- package/dist/prometheus-framework/src/modules/community/store/reactions.js.map +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 +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +29 -54
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +30 -55
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +163 -134
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +165 -136
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +124 -135
- 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 +133 -144
- 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.map +1 -1
- 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 +96 -0
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +96 -0
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +39 -25
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +40 -26
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.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.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +4 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +4 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +16 -5
- package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +16 -5
- package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +5 -6
- package/dist/prometheus-framework/src/modules/events/store/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +1 -2
- 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 +20 -11
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +20 -11
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs +5 -2
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js +5 -2
- package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +2 -0
- package/dist/prometheus-framework/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/globals.client.js +2 -0
- package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.cjs +4 -3
- package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.js +4 -3
- package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +1 -1
- 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/Card.vue.cjs +64 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/Card.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/Card.vue.js +64 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/Card.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -0
- 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 +1 -0
- 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 +1 -19
- 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 +1 -19
- 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/LocationSelection.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +3 -2
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +3 -2
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/utils/axios-instance.cjs +17 -0
- package/dist/prometheus-framework/src/modules/globals/views/utils/axios-instance.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/utils/axios-instance.js +17 -0
- package/dist/prometheus-framework/src/modules/globals/views/utils/axios-instance.js.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/utils/vue-app-renderer.cjs +57 -0
- package/dist/prometheus-framework/src/modules/globals/views/utils/vue-app-renderer.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/utils/vue-app-renderer.js +57 -0
- package/dist/prometheus-framework/src/modules/globals/views/utils/vue-app-renderer.js.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +6 -7
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -2
- package/dist/prometheus-framework/src/modules/orders/store/orders.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +60 -23
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +60 -23
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +3 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- 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/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +2 -0
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +2 -0
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +11 -9
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +6 -4
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +5 -11
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -7
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +807 -801
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +807 -801
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.cjs +5 -10
- package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.js +5 -10
- package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +12 -7
- 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 +12 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +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/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +7 -8
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -2
- package/dist/prometheus-framework/src/modules/products/store/categories.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +6 -7
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -2
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +10 -21
- package/dist/prometheus-framework/src/modules/products/store/products.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +1 -12
- package/dist/prometheus-framework/src/modules/products/store/products.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +6 -9
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -4
- package/dist/prometheus-framework/src/modules/spots/store/spots.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.cjs +2 -2
- package/dist/prometheus-framework/src/modules/users/router/users.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.js +2 -2
- package/dist/prometheus-framework/src/modules/users/router/users.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +5 -6
- package/dist/prometheus-framework/src/modules/users/store/users.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +1 -2
- package/dist/prometheus-framework/src/modules/users/store/users.js.map +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- package/dist/prometheus-framework.cjs.js +17 -17
- package/dist/prometheus-framework.es.js +1790 -1790
- package/dist/queryProcessor-CU4A6Y4N.mjs +197 -0
- package/dist/queryProcessor-CcsJEUBr.js +196 -0
- package/dist/spots.server.js +1 -1
- package/dist/spots.server.mjs +1 -1
- package/dist/verifyAccesses-BsrJOct8.mjs +90 -0
- package/dist/verifyAccesses-BvLnOtBN.js +89 -0
- package/dist/wallet.server.js +2 -2
- package/dist/wallet.server.mjs +2 -2
- package/package.json +1 -1
- package/src/builder/modes/ssr.dev.js +2 -2
- package/src/builder/modes/ssr.prod.js +4 -4
- package/src/builder/ssr/ssr-render-html.js +11 -13
- package/src/builder/templates/page.html +37 -0
- package/src/builder/templates/page.js +4 -0
- package/src/builder/webpack/webpack.config.client.js +9 -6
- package/src/builder/webpack/webpack.config.ssr.js +1 -1
- package/src/components/Button/Button.vue +0 -1
- package/src/components/Feed/Feed.vue +34 -55
- package/src/components/FieldTags/BlockTags.vue +0 -1
- package/src/components/UploadImage/UploadImage.vue +2 -1
- package/src/modules/auth/controllers/middlewares/authJwt.js +1 -1
- package/src/modules/auth/controllers/middlewares/verifySignUp.js +11 -11
- package/src/modules/auth/controllers/routes/auth.routes.js +2 -2
- package/src/modules/auth/controllers/services/auth.service.js +1 -0
- package/src/modules/auth/views/components/pages/SignIn.vue +1 -0
- package/src/modules/auth/views/middlewares/auth.validation.js +17 -1
- package/src/modules/auth/views/middlewares/ownership.validation.js +60 -0
- package/src/modules/auth/views/store/auth.js +43 -39
- package/src/modules/auth/views/store/twofa.js +2 -5
- package/src/modules/auth/views/validations/inputs.validation.js +12 -6
- package/src/modules/community/components/blocks/CardBlogpost.vue +3 -1
- package/src/modules/community/components/layouts/Community.vue +7 -9
- package/src/modules/community/components/pages/BlogPost.vue +122 -123
- package/src/modules/community/components/pages/CreateBlogPost.vue +1 -1
- package/src/modules/community/components/sections/Comments.vue +5 -5
- package/src/modules/community/controllers/blog.controller.js +1 -1
- package/src/modules/community/models/blogpost.model.js +1 -1
- package/src/modules/community/router/blogposts.js +40 -33
- package/src/modules/community/routes/blog.routes.js +4 -0
- package/src/modules/community/store/blogposts.js +11 -19
- package/src/modules/community/store/reactions.js +1 -7
- package/src/modules/events/components/elements/ButtonCheck.vue +36 -66
- package/src/modules/events/components/pages/EditEvent.vue +76 -59
- package/src/modules/events/components/pages/Event.vue +2 -15
- package/src/modules/events/components/pages/Events.vue +2 -1
- package/src/modules/events/components/pages/EventsBackoffice.vue +122 -0
- package/src/modules/events/components/sections/HeroEvent.vue +15 -17
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +4 -13
- package/src/modules/events/router/events.js +11 -4
- package/src/modules/events/store/events.js +2 -4
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +24 -13
- package/src/modules/gallery/controllers/gallery.controller.js +30 -31
- package/src/modules/gallery/router/gallery.backoffice.router.js +5 -1
- package/src/modules/gallery/routes/gallery.routes.js +22 -4
- package/src/modules/globals/controllers/utils/queryProcessor.js +24 -4
- package/src/modules/globals/globals.client.js +2 -0
- package/src/modules/globals/views/classes/globals.store.js +4 -3
- package/src/modules/globals/views/components/blocks/Card.vue +56 -0
- package/src/modules/globals/views/components/blocks/CardHeader.vue +1 -3
- package/src/modules/globals/views/components/layouts/App.vue +1 -0
- package/src/modules/globals/views/components/layouts/Client.vue +0 -30
- package/src/modules/globals/views/store/globals.js +4 -2
- package/src/modules/globals/views/utils/axios-instance.js +18 -0
- package/src/modules/globals/views/utils/vue-app-renderer.js +87 -0
- package/src/modules/integrations/stripe/controllers/services/stripe.service.js +15 -30
- package/src/modules/landing/components/pages/Governance.vue +4 -2
- package/src/modules/landing/components/sections/SectionHeroToken.vue +12 -10
- package/src/modules/landing/components/sections/SectionsSection.vue +5 -8
- package/src/modules/landing/router/landing.js +2 -1
- package/src/modules/orders/store/orders.js +1 -3
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +36 -0
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +3 -1
- package/src/modules/organizations/controllers/organizations.controller.js +28 -35
- package/src/modules/organizations/middlewares/verifyAccesses.js +117 -0
- package/src/modules/organizations/models/department.model.js +3 -86
- package/src/modules/organizations/models/organization.model.js +6 -4
- package/src/modules/organizations/models/schemas/accesses.schema.js +142 -0
- package/src/modules/organizations/router/organizations.js +2 -0
- package/src/modules/organizations/store/departments.js +6 -6
- package/src/modules/organizations/store/organizations.js +2 -16
- package/src/modules/pages/views/router/pages.backoffice.router.js +5 -7
- package/src/modules/products/components/blocks/CardProduct.vue +2 -0
- package/src/modules/products/components/pages/Product.vue +1 -1
- package/src/modules/products/components/sections/MenuSection.vue +2 -2
- package/src/modules/products/controllers/products.controller.js +201 -367
- package/src/modules/products/routes/products.routes.js +0 -5
- package/src/modules/products/store/categories.js +1 -2
- package/src/modules/products/store/leftovers.js +1 -2
- package/src/modules/products/store/products.js +1 -13
- package/src/modules/reports/components/sections/FormReport.vue +20 -20
- package/src/modules/spots/store/spots.js +1 -6
- package/src/modules/users/components/pages/Profile.vue +1 -1
- package/src/modules/users/router/users.js +2 -2
- package/src/modules/users/store/users.js +1 -3
- package/src/styles/base/all.scss +0 -2
- package/src/styles/config.scss +6 -0
- package/src/modules/auth/controllers/middlewares/verifyAccesses.js +0 -114
- package/src/modules/users/components/pages/ProfileEvents.vue +0 -69
package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"EventsBackoffice.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EventsBackoffice.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"pd-thin\"\n\t>\n\t\t<header \n\t\t\tclass=\"mn-b-medium flex-v-center flex-nowrap flex\"\n\t\t>\n\t \t<h2\n\t \t\tclass=\"mn-r-medium\"\n\t \t>\n\t \t\tEvents\n\t \t</h2>\n\t \t\n\t \t<button \n\t \t\tv-if=\"auth.state.user._id === route.params.user || route.params._id\"\n\t \t\t@click=\"router.push({name: 'Create Event'})\" \n\t \t\tclass=\"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second\"\n\t \t>\n\t \t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-if=\"route.params._id\"\n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'My', \tvalue: 'owner' },\n\t\t\t\t{ name: 'Participant', \tvalue: 'participant' },\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-small o-hidden h5 radius-big bg-light\"\n\t\t/>\n\n\t\t\n\n\t\t<Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n }\"\n :options=\"{\n user: auth.state.user._id,\n owner: route.params._id || route.params.user,\n creator: route.params.user\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n\n\t\t <div \n\t\t v-if=\"route.params._id && hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t class=\"mn-b-semi w-100 bg-second button t-white uppercase\"\n\t\t @click.stop=\"router.push({\n\t\t name: 'Edit Event Tickets',\n\t\t params: {\n\t\t url: event.url\n\t\t }\n\t\t })\"\n\t\t >\n\t\t Check tickets\n\t\t </div>\n </CardEvent>\n </Feed>\n\n <!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='owner'\"\n\t \t:user=\"auth.state.user._id\"\n\t\t\t:creator=\"route.params.user\"\n\t\t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'asc'\"\n\t\t/> -->\n\n\n\t\t<!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='participant'\"\n \t\t:user=\"auth.state.user._id\"\n \t\t:participant=\"route.params.user\"\n \t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'desc'\"\n\t\t/> -->\n\t</div>\n</template>\n\n<script setup>\n\timport { watch, ref } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Components\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\timport * as events from '@pf/src/modules/events/store/events.js'; \n\t// Accessing router\n\tconst route = useRoute()\n\tconst router = useRouter()\n\t// State\n\tlet tab = route.query.tab ? route.query.tab : 'owner';\n\n\tconst tabOrganization = ref(tab)\n\n\troute.query.tab = tabOrganization.value\n\n\twatch(tabOrganization, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;AA6GC,UAAM,QAAQ,SAAU;AACxB,UAAM,SAAS,UAAW;AAE1B,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,kBAAkB,IAAI,GAAG;AAE/B,UAAM,MAAM,MAAM,gBAAgB;AAElC,UAAM,iBAAiB,CAAC,aAAa;AACnC,aAAO,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,OAAO,KAAK,SAAU,EAAA,CAAE;AAAA,IAC9D,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -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
|
-
;/* empty css
|
4
|
+
;/* empty css */
|
5
5
|
const EmptyState = require("../../../../components/EmptyState/EmptyState.vue.cjs");
|
6
6
|
const CardEvent = require("../blocks/CardEvent.vue.cjs");
|
7
7
|
const SkeletonEvent = require("../../../icons/skeletons/SkeletonEvent.vue.cjs");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, onMounted, openBlock, createElementBlock, createVNode, TransitionGroup, withCtx, Fragment, renderList, createBlock, createCommentVNode, Transition } from "vue";
|
2
|
-
/* empty css
|
2
|
+
/* empty css */
|
3
3
|
import _sfc_main$1 from "../../../../components/EmptyState/EmptyState.vue.js";
|
4
4
|
import _sfc_main$2 from "../blocks/CardEvent.vue.js";
|
5
5
|
import SkeletonEvent from "../../../icons/skeletons/SkeletonEvent.vue.js";
|
@@ -7,24 +7,34 @@ const Countdown = require("../../../../components/Countdown/Countdown.vue.cjs");
|
|
7
7
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
8
8
|
const _hoisted_1 = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative" };
|
9
9
|
const _hoisted_2 = {
|
10
|
+
key: 0,
|
10
11
|
style: { "min-height": "20rem" },
|
11
12
|
class: "desktop-only radius-big o-hidden bg-black pos-relative"
|
12
13
|
};
|
13
14
|
const _hoisted_3 = ["src"];
|
14
15
|
const _hoisted_4 = ["src", "type"];
|
15
16
|
const _hoisted_5 = { class: "content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero" };
|
16
|
-
const _hoisted_6 = {
|
17
|
+
const _hoisted_6 = {
|
18
|
+
key: 0,
|
19
|
+
class: "mn-b-big z-index-1 flex-nowrap flex gap-small"
|
20
|
+
};
|
17
21
|
const _hoisted_7 = ["src"];
|
18
|
-
const _hoisted_8 = {
|
22
|
+
const _hoisted_8 = {
|
23
|
+
key: 1,
|
24
|
+
class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"
|
25
|
+
};
|
19
26
|
const _hoisted_9 = { class: "z-index-1 t-main mn-b-semi" };
|
20
27
|
const _hoisted_10 = { class: "z-index-1 p-big mn-b-semi" };
|
21
|
-
const _hoisted_11 = {
|
28
|
+
const _hoisted_11 = {
|
29
|
+
key: 2,
|
30
|
+
class: "z-index-1 t-transp p-small mn-b-thin"
|
31
|
+
};
|
22
32
|
const _hoisted_12 = {
|
23
33
|
key: 0,
|
24
34
|
class: "mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"
|
25
35
|
};
|
26
36
|
const _hoisted_13 = {
|
27
|
-
key:
|
37
|
+
key: 4,
|
28
38
|
class: "z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"
|
29
39
|
};
|
30
40
|
const _hoisted_14 = ["src"];
|
@@ -43,11 +53,14 @@ const _sfc_main = {
|
|
43
53
|
const props = __props;
|
44
54
|
const videoElement = vue.ref(null);
|
45
55
|
var isPlaying = false;
|
56
|
+
const targetDate = new Date(props.options.date).getTime();
|
57
|
+
const currentDate = vue.ref((/* @__PURE__ */ new Date()).getTime());
|
58
|
+
const timeDifference = targetDate - currentDate.value;
|
46
59
|
function checkAndPlayVideo() {
|
47
|
-
videoElement.value.onplaying = function() {
|
60
|
+
if (videoElement.value) videoElement.value.onplaying = function() {
|
48
61
|
isPlaying = true;
|
49
62
|
};
|
50
|
-
videoElement.value.onpause = function() {
|
63
|
+
if (videoElement.value) videoElement.value.onpause = function() {
|
51
64
|
isPlaying = false;
|
52
65
|
};
|
53
66
|
}
|
@@ -60,7 +73,8 @@ const _sfc_main = {
|
|
60
73
|
return "";
|
61
74
|
}
|
62
75
|
async function playVid() {
|
63
|
-
|
76
|
+
var _a;
|
77
|
+
if (((_a = videoElement.value) == null ? void 0 : _a.paused) && !isPlaying) {
|
64
78
|
return videoElement.value.play();
|
65
79
|
}
|
66
80
|
}
|
@@ -77,9 +91,9 @@ const _sfc_main = {
|
|
77
91
|
window.open((_a = props.content) == null ? void 0 : _a.ticketLinkStripe);
|
78
92
|
}
|
79
93
|
return (_ctx, _cache) => {
|
80
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
94
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
81
95
|
return vue.openBlock(), vue.createElementBlock("section", _hoisted_1, [
|
82
|
-
vue.
|
96
|
+
__props.content.cover || __props.content.video ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
83
97
|
__props.content.cover && !__props.content.video ? (vue.openBlock(), vue.createElementBlock("img", {
|
84
98
|
key: 0,
|
85
99
|
loading: "lazy",
|
@@ -106,9 +120,9 @@ const _sfc_main = {
|
|
106
120
|
type: getVideoType(__props.content.video)
|
107
121
|
}, null, 8, _hoisted_4)
|
108
122
|
], 512)) : vue.createCommentVNode("", true)
|
109
|
-
]),
|
123
|
+
])) : vue.createCommentVNode("", true),
|
110
124
|
vue.createElementVNode("div", _hoisted_5, [
|
111
|
-
vue.
|
125
|
+
__props.content.logos.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
112
126
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.content.logos, (logo) => {
|
113
127
|
return vue.openBlock(), vue.createElementBlock("img", {
|
114
128
|
loading: "lazy",
|
@@ -116,35 +130,35 @@ const _sfc_main = {
|
|
116
130
|
src: logo
|
117
131
|
}, null, 8, _hoisted_7);
|
118
132
|
}), 256))
|
119
|
-
]),
|
120
|
-
vue.
|
121
|
-
vue.createElementVNode("h1", _hoisted_9, vue.toDisplayString((
|
122
|
-
vue.createElementVNode("p", _hoisted_10, vue.toDisplayString((
|
123
|
-
vue.
|
124
|
-
vue.createElementVNode("span", null, vue.toDisplayString((
|
125
|
-
((
|
126
|
-
]),
|
133
|
+
])) : vue.createCommentVNode("", true),
|
134
|
+
((_a = __props.content) == null ? void 0 : _a.subtitle) ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_8, vue.toDisplayString((_b = __props.content) == null ? void 0 : _b.subtitle), 1)) : vue.createCommentVNode("", true),
|
135
|
+
vue.createElementVNode("h1", _hoisted_9, vue.toDisplayString((_c = __props.content) == null ? void 0 : _c.title), 1),
|
136
|
+
vue.createElementVNode("p", _hoisted_10, vue.toDisplayString((_d = __props.content) == null ? void 0 : _d.description), 1),
|
137
|
+
timeDifference >= 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_11, [
|
138
|
+
vue.createElementVNode("span", null, vue.toDisplayString(((_e = __props.content) == null ? void 0 : _e.ticketText) || "Buy ticket online with special price"), 1),
|
139
|
+
((_f = __props.options) == null ? void 0 : _f.price) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString((_g = __props.options) == null ? void 0 : _g.price) + " " + vue.toDisplayString(_ctx.returnCurrency()), 1)) : vue.createCommentVNode("", true)
|
140
|
+
])) : vue.createCommentVNode("", true),
|
127
141
|
__props.options.date ? (vue.openBlock(), vue.createBlock(Countdown.default, {
|
128
|
-
key:
|
142
|
+
key: 3,
|
129
143
|
class: "z-index-1 mn-t-medium w-100 w-max-30r",
|
130
144
|
date: __props.options.date
|
131
145
|
}, null, 8, ["date"])) : vue.createCommentVNode("", true),
|
132
|
-
((
|
146
|
+
((_h = __props.content) == null ? void 0 : _h.ticketLinkStripe) && timeDifference >= 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
|
133
147
|
vue.createElementVNode("a", {
|
134
148
|
href: "#",
|
135
149
|
onClick: _cache[0] || (_cache[0] = ($event) => clickBuyTicket()),
|
136
150
|
class: "pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"
|
137
|
-
}, vue.toDisplayString(((
|
151
|
+
}, vue.toDisplayString(((_i = __props.content) == null ? void 0 : _i.ticketTextButton) || "Buy Ticket"), 1)
|
138
152
|
])) : vue.createCommentVNode("", true),
|
139
153
|
__props.content.cover && !__props.content.video ? (vue.openBlock(), vue.createElementBlock("img", {
|
140
|
-
key:
|
154
|
+
key: 5,
|
141
155
|
loading: "lazy",
|
142
156
|
style: { "object-fit": "cover", "opacity": "0.2" },
|
143
157
|
src: __props.content.cover,
|
144
158
|
class: "mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
|
145
159
|
}, null, 8, _hoisted_14)) : vue.createCommentVNode("", true),
|
146
160
|
__props.content.video ? (vue.openBlock(), vue.createElementBlock("video", {
|
147
|
-
key:
|
161
|
+
key: 6,
|
148
162
|
style: { "object-fit": "cover", "opacity": "0.2" },
|
149
163
|
ref_key: "videoElement",
|
150
164
|
ref: videoElement,
|
@@ -164,6 +178,6 @@ const _sfc_main = {
|
|
164
178
|
};
|
165
179
|
}
|
166
180
|
};
|
167
|
-
const HeroEvent = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
181
|
+
const HeroEvent = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c7a21d03"]]);
|
168
182
|
exports.default = HeroEvent;
|
169
183
|
//# sourceMappingURL=HeroEvent.vue.cjs.map
|
package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeroEvent.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-2\n\t \tpos-relative\n\t \"\n\t >\n \t<div \n \t\tstyle=\"min-height: 20rem;\"\n \t\tclass=\"desktop-only radius-big o-hidden bg-black pos-relative\"\n \t>\n\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n \t\tcontent-hero-refactor\n \t\tradius-big \n\t \to-hidden \n\t \tbg-black \n\t \tpd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero\">\n \t
|
1
|
+
{"version":3,"file":"HeroEvent.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-2\n\t \tpos-relative\n\t \"\n\t >\n \t<div \n \t\tv-if=\"content.cover || content.video\"\n \t\tstyle=\"min-height: 20rem;\"\n \t\tclass=\"desktop-only radius-big o-hidden bg-black pos-relative\"\n \t>\n\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n \t\tcontent-hero-refactor\n \t\tradius-big \n\t \to-hidden \n\t \tbg-black \n\t \tpd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero\">\n \t<div v-if=\"content.logos.length > 0\" class=\"mn-b-big z-index-1 flex-nowrap flex gap-small\">\n\t \t<img loading=\"lazy\" v-for=\"logo in content.logos\" class=\"radius-thin object-fit-contain i-big\" :src=\"logo\">\n\t </div>\n\n \t<h3 v-if=\"content?.subtitle\" class=\"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra \tmn-b-thin\">\n\t\t\t\t\t{{content?.subtitle}}\n\t </h3>\n\n \t<h1 class=\"z-index-1 t-main mn-b-semi\">\n\t\t\t\t\t{{content?.title}}\n\t </h1>\n\n\t <p class=\"z-index-1 p-big mn-b-semi\">\n\t \t\t{{content?.description}}\n\t </p>\n\t \t\n\t \t<p v-if=\"timeDifference >= 0\" class=\"z-index-1 t-transp p-small mn-b-thin\">\n\t\t\t\t<span>\n\t\t\t\t\t{{content?.ticketText || 'Buy ticket online with special price' }}\n\t\t\t\t</span>\n\n\t\t\t\t<span v-if=\"options?.price\" class=\"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra\">\n\t\t\t\t\t{{options?.price}} {{returnCurrency()}}\n\t\t\t\t</span>\n\t </p>\n\t \n\n\n\t <Countdown \n\t \tv-if=\"options.date\"\n\t \tclass=\"z-index-1 mn-t-medium w-100 w-max-30r\"\n\t \t:date=\"options.date\"\n\t />\n\n\t <div v-if=\"content?.ticketLinkStripe && timeDifference >= 0\" class=\"z-index-1 mn-t-medium mn-b-small \tflex-nowrap flex gap-thin\">\n\t \t<a href=\"#\" @click=\"clickBuyTicket()\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white \">\n\t \t\t\t{{content?.ticketTextButton || 'Buy Ticket' }}\n\t \t</a>\n\t </div>\n\n\t <img loading=\"lazy\" style=\"object-fit: cover; opacity: 0.2;\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t <video \n\t\t v-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover; opacity: 0.2;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline :src=\"content.video\" \n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t</video>\n\t \n </div>\n\n\n </section>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport Countdown from \"@pf/src/components/Countdown/Countdown.vue\"\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tconst targetDate = new Date(props.options.date).getTime();\n\tconst currentDate = ref(new Date().getTime());\n\tconst timeDifference = targetDate - currentDate.value;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n function getVideoType(videoUrl) {\n if (videoUrl.endsWith('.mp4')) {\n return 'video/mp4';\n } else if (videoUrl.endsWith('.webm')) {\n return 'video/webm';\n }\n return '';\n }\n\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tonMounted(() => {\n\t\t\tcheckAndPlayVideo()\n\t\t\tplayVid()\n\t})\n\t\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.content?.ticketLinkStripe);\n\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@media screen and (max-width: 1025px) {\n\t\t.content-hero-refactor {\n\t\t\ttext-align: center;\n\t\t}\n\n\t\th3, div {\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\t}\n\n</style>\n"],"names":["ref","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0GC,UAAM,QAAQ;AAUd,UAAM,eAAeA,IAAG,IAAC,IAAI;AAE7B,QAAI,YAAY;AAEhB,UAAM,aAAa,IAAI,KAAK,MAAM,QAAQ,IAAI,EAAE;AAChD,UAAM,cAAcA,IAAAA,KAAI,oBAAI,KAAI,GAAG,QAAS,CAAA;AAC5C,UAAM,iBAAiB,aAAa,YAAY;AAEhD,aAAS,oBAAoB;AAC5B,UAAI,aAAa,MAAO,cAAa,MAAM,YAAY,WAAW;AAAE,oBAAY;AAAA;AAChF,UAAI,aAAa,MAAO,cAAa,MAAM,UAAU,WAAW;AAAE,oBAAY;AAAA;IAC7E;AAED,aAAS,aAAa,UAAU;AAC9B,UAAI,SAAS,SAAS,MAAM,GAAG;AAC7B,eAAO;AAAA,MACR,WAAU,SAAS,SAAS,OAAO,GAAG;AACrC,eAAO;AAAA,MACR;AACD,aAAO;AAAA,IACR;AAEF,mBAAe,UAAU;;AACtB,YAAI,kBAAa,UAAb,mBAAoB,WAAU,CAAC,WAAW;AAC5C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAEDC,QAAAA,UAAU,MAAM;AACd,wBAAmB;AACnB,cAAS;AAAA,IACZ,CAAE;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,gBAAgB;AAAA,IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,28 +1,38 @@
|
|
1
|
-
import { ref, onMounted, openBlock, createElementBlock,
|
1
|
+
import { ref, onMounted, openBlock, createElementBlock, createCommentVNode, createElementVNode, Fragment, renderList, toDisplayString, createBlock } from "vue";
|
2
2
|
import "vue-i18n";
|
3
3
|
import _sfc_main$1 from "../../../../components/Countdown/Countdown.vue.js";
|
4
4
|
/* empty css */
|
5
5
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
6
6
|
const _hoisted_1 = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative" };
|
7
7
|
const _hoisted_2 = {
|
8
|
+
key: 0,
|
8
9
|
style: { "min-height": "20rem" },
|
9
10
|
class: "desktop-only radius-big o-hidden bg-black pos-relative"
|
10
11
|
};
|
11
12
|
const _hoisted_3 = ["src"];
|
12
13
|
const _hoisted_4 = ["src", "type"];
|
13
14
|
const _hoisted_5 = { class: "content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero" };
|
14
|
-
const _hoisted_6 = {
|
15
|
+
const _hoisted_6 = {
|
16
|
+
key: 0,
|
17
|
+
class: "mn-b-big z-index-1 flex-nowrap flex gap-small"
|
18
|
+
};
|
15
19
|
const _hoisted_7 = ["src"];
|
16
|
-
const _hoisted_8 = {
|
20
|
+
const _hoisted_8 = {
|
21
|
+
key: 1,
|
22
|
+
class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"
|
23
|
+
};
|
17
24
|
const _hoisted_9 = { class: "z-index-1 t-main mn-b-semi" };
|
18
25
|
const _hoisted_10 = { class: "z-index-1 p-big mn-b-semi" };
|
19
|
-
const _hoisted_11 = {
|
26
|
+
const _hoisted_11 = {
|
27
|
+
key: 2,
|
28
|
+
class: "z-index-1 t-transp p-small mn-b-thin"
|
29
|
+
};
|
20
30
|
const _hoisted_12 = {
|
21
31
|
key: 0,
|
22
32
|
class: "mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"
|
23
33
|
};
|
24
34
|
const _hoisted_13 = {
|
25
|
-
key:
|
35
|
+
key: 4,
|
26
36
|
class: "z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"
|
27
37
|
};
|
28
38
|
const _hoisted_14 = ["src"];
|
@@ -41,11 +51,14 @@ const _sfc_main = {
|
|
41
51
|
const props = __props;
|
42
52
|
const videoElement = ref(null);
|
43
53
|
var isPlaying = false;
|
54
|
+
const targetDate = new Date(props.options.date).getTime();
|
55
|
+
const currentDate = ref((/* @__PURE__ */ new Date()).getTime());
|
56
|
+
const timeDifference = targetDate - currentDate.value;
|
44
57
|
function checkAndPlayVideo() {
|
45
|
-
videoElement.value.onplaying = function() {
|
58
|
+
if (videoElement.value) videoElement.value.onplaying = function() {
|
46
59
|
isPlaying = true;
|
47
60
|
};
|
48
|
-
videoElement.value.onpause = function() {
|
61
|
+
if (videoElement.value) videoElement.value.onpause = function() {
|
49
62
|
isPlaying = false;
|
50
63
|
};
|
51
64
|
}
|
@@ -58,7 +71,8 @@ const _sfc_main = {
|
|
58
71
|
return "";
|
59
72
|
}
|
60
73
|
async function playVid() {
|
61
|
-
|
74
|
+
var _a;
|
75
|
+
if (((_a = videoElement.value) == null ? void 0 : _a.paused) && !isPlaying) {
|
62
76
|
return videoElement.value.play();
|
63
77
|
}
|
64
78
|
}
|
@@ -75,9 +89,9 @@ const _sfc_main = {
|
|
75
89
|
window.open((_a = props.content) == null ? void 0 : _a.ticketLinkStripe);
|
76
90
|
}
|
77
91
|
return (_ctx, _cache) => {
|
78
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
92
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
79
93
|
return openBlock(), createElementBlock("section", _hoisted_1, [
|
80
|
-
|
94
|
+
__props.content.cover || __props.content.video ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
81
95
|
__props.content.cover && !__props.content.video ? (openBlock(), createElementBlock("img", {
|
82
96
|
key: 0,
|
83
97
|
loading: "lazy",
|
@@ -104,9 +118,9 @@ const _sfc_main = {
|
|
104
118
|
type: getVideoType(__props.content.video)
|
105
119
|
}, null, 8, _hoisted_4)
|
106
120
|
], 512)) : createCommentVNode("", true)
|
107
|
-
]),
|
121
|
+
])) : createCommentVNode("", true),
|
108
122
|
createElementVNode("div", _hoisted_5, [
|
109
|
-
|
123
|
+
__props.content.logos.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
110
124
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.content.logos, (logo) => {
|
111
125
|
return openBlock(), createElementBlock("img", {
|
112
126
|
loading: "lazy",
|
@@ -114,35 +128,35 @@ const _sfc_main = {
|
|
114
128
|
src: logo
|
115
129
|
}, null, 8, _hoisted_7);
|
116
130
|
}), 256))
|
117
|
-
]),
|
118
|
-
|
119
|
-
createElementVNode("h1", _hoisted_9, toDisplayString((
|
120
|
-
createElementVNode("p", _hoisted_10, toDisplayString((
|
121
|
-
|
122
|
-
createElementVNode("span", null, toDisplayString((
|
123
|
-
((
|
124
|
-
]),
|
131
|
+
])) : createCommentVNode("", true),
|
132
|
+
((_a = __props.content) == null ? void 0 : _a.subtitle) ? (openBlock(), createElementBlock("h3", _hoisted_8, toDisplayString((_b = __props.content) == null ? void 0 : _b.subtitle), 1)) : createCommentVNode("", true),
|
133
|
+
createElementVNode("h1", _hoisted_9, toDisplayString((_c = __props.content) == null ? void 0 : _c.title), 1),
|
134
|
+
createElementVNode("p", _hoisted_10, toDisplayString((_d = __props.content) == null ? void 0 : _d.description), 1),
|
135
|
+
timeDifference >= 0 ? (openBlock(), createElementBlock("p", _hoisted_11, [
|
136
|
+
createElementVNode("span", null, toDisplayString(((_e = __props.content) == null ? void 0 : _e.ticketText) || "Buy ticket online with special price"), 1),
|
137
|
+
((_f = __props.options) == null ? void 0 : _f.price) ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString((_g = __props.options) == null ? void 0 : _g.price) + " " + toDisplayString(_ctx.returnCurrency()), 1)) : createCommentVNode("", true)
|
138
|
+
])) : createCommentVNode("", true),
|
125
139
|
__props.options.date ? (openBlock(), createBlock(_sfc_main$1, {
|
126
|
-
key:
|
140
|
+
key: 3,
|
127
141
|
class: "z-index-1 mn-t-medium w-100 w-max-30r",
|
128
142
|
date: __props.options.date
|
129
143
|
}, null, 8, ["date"])) : createCommentVNode("", true),
|
130
|
-
((
|
144
|
+
((_h = __props.content) == null ? void 0 : _h.ticketLinkStripe) && timeDifference >= 0 ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
131
145
|
createElementVNode("a", {
|
132
146
|
href: "#",
|
133
147
|
onClick: _cache[0] || (_cache[0] = ($event) => clickBuyTicket()),
|
134
148
|
class: "pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"
|
135
|
-
}, toDisplayString(((
|
149
|
+
}, toDisplayString(((_i = __props.content) == null ? void 0 : _i.ticketTextButton) || "Buy Ticket"), 1)
|
136
150
|
])) : createCommentVNode("", true),
|
137
151
|
__props.content.cover && !__props.content.video ? (openBlock(), createElementBlock("img", {
|
138
|
-
key:
|
152
|
+
key: 5,
|
139
153
|
loading: "lazy",
|
140
154
|
style: { "object-fit": "cover", "opacity": "0.2" },
|
141
155
|
src: __props.content.cover,
|
142
156
|
class: "mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
|
143
157
|
}, null, 8, _hoisted_14)) : createCommentVNode("", true),
|
144
158
|
__props.content.video ? (openBlock(), createElementBlock("video", {
|
145
|
-
key:
|
159
|
+
key: 6,
|
146
160
|
style: { "object-fit": "cover", "opacity": "0.2" },
|
147
161
|
ref_key: "videoElement",
|
148
162
|
ref: videoElement,
|
@@ -162,7 +176,7 @@ const _sfc_main = {
|
|
162
176
|
};
|
163
177
|
}
|
164
178
|
};
|
165
|
-
const HeroEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
179
|
+
const HeroEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c7a21d03"]]);
|
166
180
|
export {
|
167
181
|
HeroEvent as default
|
168
182
|
};
|
package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HeroEvent.vue.js","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-2\n\t \tpos-relative\n\t \"\n\t >\n \t<div \n \t\tstyle=\"min-height: 20rem;\"\n \t\tclass=\"desktop-only radius-big o-hidden bg-black pos-relative\"\n \t>\n\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n \t\tcontent-hero-refactor\n \t\tradius-big \n\t \to-hidden \n\t \tbg-black \n\t \tpd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero\">\n \t
|
1
|
+
{"version":3,"file":"HeroEvent.vue.js","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-2\n\t \tpos-relative\n\t \"\n\t >\n \t<div \n \t\tv-if=\"content.cover || content.video\"\n \t\tstyle=\"min-height: 20rem;\"\n \t\tclass=\"desktop-only radius-big o-hidden bg-black pos-relative\"\n \t>\n\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n \t\tcontent-hero-refactor\n \t\tradius-big \n\t \to-hidden \n\t \tbg-black \n\t \tpd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero\">\n \t<div v-if=\"content.logos.length > 0\" class=\"mn-b-big z-index-1 flex-nowrap flex gap-small\">\n\t \t<img loading=\"lazy\" v-for=\"logo in content.logos\" class=\"radius-thin object-fit-contain i-big\" :src=\"logo\">\n\t </div>\n\n \t<h3 v-if=\"content?.subtitle\" class=\"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra \tmn-b-thin\">\n\t\t\t\t\t{{content?.subtitle}}\n\t </h3>\n\n \t<h1 class=\"z-index-1 t-main mn-b-semi\">\n\t\t\t\t\t{{content?.title}}\n\t </h1>\n\n\t <p class=\"z-index-1 p-big mn-b-semi\">\n\t \t\t{{content?.description}}\n\t </p>\n\t \t\n\t \t<p v-if=\"timeDifference >= 0\" class=\"z-index-1 t-transp p-small mn-b-thin\">\n\t\t\t\t<span>\n\t\t\t\t\t{{content?.ticketText || 'Buy ticket online with special price' }}\n\t\t\t\t</span>\n\n\t\t\t\t<span v-if=\"options?.price\" class=\"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra\">\n\t\t\t\t\t{{options?.price}} {{returnCurrency()}}\n\t\t\t\t</span>\n\t </p>\n\t \n\n\n\t <Countdown \n\t \tv-if=\"options.date\"\n\t \tclass=\"z-index-1 mn-t-medium w-100 w-max-30r\"\n\t \t:date=\"options.date\"\n\t />\n\n\t <div v-if=\"content?.ticketLinkStripe && timeDifference >= 0\" class=\"z-index-1 mn-t-medium mn-b-small \tflex-nowrap flex gap-thin\">\n\t \t<a href=\"#\" @click=\"clickBuyTicket()\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white \">\n\t \t\t\t{{content?.ticketTextButton || 'Buy Ticket' }}\n\t \t</a>\n\t </div>\n\n\t <img loading=\"lazy\" style=\"object-fit: cover; opacity: 0.2;\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t <video \n\t\t v-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover; opacity: 0.2;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline :src=\"content.video\" \n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t</video>\n\t \n </div>\n\n\n </section>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport Countdown from \"@pf/src/components/Countdown/Countdown.vue\"\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tconst targetDate = new Date(props.options.date).getTime();\n\tconst currentDate = ref(new Date().getTime());\n\tconst timeDifference = targetDate - currentDate.value;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n function getVideoType(videoUrl) {\n if (videoUrl.endsWith('.mp4')) {\n return 'video/mp4';\n } else if (videoUrl.endsWith('.webm')) {\n return 'video/webm';\n }\n return '';\n }\n\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tonMounted(() => {\n\t\t\tcheckAndPlayVideo()\n\t\t\tplayVid()\n\t})\n\t\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.content?.ticketLinkStripe);\n\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@media screen and (max-width: 1025px) {\n\t\t.content-hero-refactor {\n\t\t\ttext-align: center;\n\t\t}\n\n\t\th3, div {\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\t}\n\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0GC,UAAM,QAAQ;AAUd,UAAM,eAAe,IAAI,IAAI;AAE7B,QAAI,YAAY;AAEhB,UAAM,aAAa,IAAI,KAAK,MAAM,QAAQ,IAAI,EAAE;AAChD,UAAM,cAAc,KAAI,oBAAI,KAAI,GAAG,QAAS,CAAA;AAC5C,UAAM,iBAAiB,aAAa,YAAY;AAEhD,aAAS,oBAAoB;AAC5B,UAAI,aAAa,MAAO,cAAa,MAAM,YAAY,WAAW;AAAE,oBAAY;AAAA;AAChF,UAAI,aAAa,MAAO,cAAa,MAAM,UAAU,WAAW;AAAE,oBAAY;AAAA;IAC7E;AAED,aAAS,aAAa,UAAU;AAC9B,UAAI,SAAS,SAAS,MAAM,GAAG;AAC7B,eAAO;AAAA,MACR,WAAU,SAAS,SAAS,OAAO,GAAG;AACrC,eAAO;AAAA,MACR;AACD,aAAO;AAAA,IACR;AAEF,mBAAe,UAAU;;AACtB,YAAI,kBAAa,UAAb,mBAAoB,WAAU,CAAC,WAAW;AAC5C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAED,cAAU,MAAM;AACd,wBAAmB;AACnB,cAAS;AAAA,IACZ,CAAE;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,gBAAgB;AAAA,IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -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
|
-
;/* empty css
|
4
|
+
;/* empty css */
|
5
5
|
const EmptyState = require("../../../../components/EmptyState/EmptyState.vue.cjs");
|
6
6
|
const CardEvent = require("../blocks/CardEvent.vue.cjs");
|
7
7
|
const SkeletonEventShort = require("../../../icons/skeletons/SkeletonEventShort.vue.cjs");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, onMounted, openBlock, createElementBlock, createVNode, TransitionGroup, withCtx, Fragment, renderList, createBlock, createCommentVNode, Transition, normalizeClass } from "vue";
|
2
|
-
/* empty css
|
2
|
+
/* empty css */
|
3
3
|
import _sfc_main$1 from "../../../../components/EmptyState/EmptyState.vue.js";
|
4
4
|
import _sfc_main$2 from "../blocks/CardEvent.vue.js";
|
5
5
|
import SkeletonEventShort from "../../../icons/skeletons/SkeletonEventShort.vue.js";
|
@@ -54,15 +54,16 @@ const _sfc_main = {
|
|
54
54
|
const videoElement = vue.ref(null);
|
55
55
|
var isPlaying = false;
|
56
56
|
function checkAndPlayVideo() {
|
57
|
-
videoElement.value.onplaying = function() {
|
57
|
+
if (videoElement.value) videoElement.value.onplaying = function() {
|
58
58
|
isPlaying = true;
|
59
59
|
};
|
60
|
-
videoElement.value.onpause = function() {
|
60
|
+
if (videoElement.value) videoElement.value.onpause = function() {
|
61
61
|
isPlaying = false;
|
62
62
|
};
|
63
63
|
}
|
64
64
|
async function playVid() {
|
65
|
-
|
65
|
+
var _a;
|
66
|
+
if (((_a = videoElement.value) == null ? void 0 : _a.paused) && !isPlaying) {
|
66
67
|
return videoElement.value.play();
|
67
68
|
}
|
68
69
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionPreviousEvents.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/SectionPreviousEvents.vue"],"sourcesContent":["<template>\n\n\t<div class=\"cols-2 gap-big pos-relative \">\n\t\t <div class=\"cols-1 gap-small \">\n\t\t <a v-if=\"options?.link\" @click=\"clickBuyTicket()\" href=\"#\" class=\"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero\">\n\t\t \t<img loading=\"lazy\" v-if=\"content?.ticket\" class=\"w-80\" :src=\"content?.ticket\">\n\n\t \t<a class=\"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204\">\n\t \t\t<!-- SOLD OUT -->\n\t\t\t\t\t{{ content?.ticketTextButton || 'Buy Ticket'}}\n\t\t </a>\n\t\t \n\t\t </a>\n\n\t\t <p v-if=\"content?.paymentContact\" class=\"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white\">\n\t \t<span>{{content?.paymentText}}</span> \n \t\t\t<a class=\"t-black bg-white radius-extra pd-thin\" :href=\"content?.paymentContactURL\" target=\"_blank\">{{content?.paymentContact}}</a>\n \t\t</p>\n \t</div>\n\n\t\t<div class=\"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black \">\n\n\t\t\t<video \n\t\t\t\tv-if=\"options?.video\" style=\"max-height: 20rem; object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" class=\"pos-t-0 pos-l-0 w-100 h-auto\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline \n\t\t\t\t:src=\"options?.video\" itemprop=\"video\" type=\"video/mp4\"\n\t\t\t>\n\t\t\t</video>\n\n\n\t <div class=\"pd-big flex-column flex w-100 h-100 gap-zero\">\n\t \t<h3 v-if=\"content?.previousTitle\" class=\"t-unna t-nye204 mn-b-small\">\n\t\t\t\t\t{{content?.previousTitle}}\n\t\t </h3>\n\t\t \n\t\t <p v-if=\"content?.previousDescription\" class=\"p-medium t-transp mn-b-big\">\n\t\t \t{{content?.previousDescription}}\n\t\t </p>\n\n\t\t <div v-if=\"content?.previousLink\" class=\"flex-nowrap flex gap-thin\">\n\t\t \t<a :href=\"content?.previousLink\" \ttarget=\"_blank\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white\">\n\t\t \t\t{{content?.previousLinkText || 'Check'}}\n\t\t \t</a>\n\t\t </div>\n\t </div>\n\t \n\t </div>\n\n\t \n\t</div>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\t\n\tconst { t } = useI18n({ \n\t\tmessages: {\n\t\t en:{\n\t\t \"nye2024\":{\n\t\t \"title\":\"Explore our exclusive party archive\",\n\t\t \"titleTicket\":\"Are you ready?\",\n\t\t \"description\":\"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.\",\n\t\t \"checkinblog\":\"CHECK IN INSTAGRAM\",\n\t\t }\n\t\t }\n\t\t}\n\t})\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction
|
1
|
+
{"version":3,"file":"SectionPreviousEvents.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/SectionPreviousEvents.vue"],"sourcesContent":["<template>\n\n\t<div class=\"cols-2 gap-big pos-relative \">\n\t\t <div class=\"cols-1 gap-small \">\n\t\t <a v-if=\"options?.link\" @click=\"clickBuyTicket()\" href=\"#\" class=\"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero\">\n\t\t \t<img loading=\"lazy\" v-if=\"content?.ticket\" class=\"w-80\" :src=\"content?.ticket\">\n\n\t \t<a class=\"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204\">\n\t \t\t<!-- SOLD OUT -->\n\t\t\t\t\t{{ content?.ticketTextButton || 'Buy Ticket'}}\n\t\t </a>\n\t\t \n\t\t </a>\n\n\t\t <p v-if=\"content?.paymentContact\" class=\"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white\">\n\t \t<span>{{content?.paymentText}}</span> \n \t\t\t<a class=\"t-black bg-white radius-extra pd-thin\" :href=\"content?.paymentContactURL\" target=\"_blank\">{{content?.paymentContact}}</a>\n \t\t</p>\n \t</div>\n\n\t\t<div class=\"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black \">\n\n\t\t\t<video \n\t\t\t\tv-if=\"options?.video\" style=\"max-height: 20rem; object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" class=\"pos-t-0 pos-l-0 w-100 h-auto\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline \n\t\t\t\t:src=\"options?.video\" itemprop=\"video\" type=\"video/mp4\"\n\t\t\t>\n\t\t\t</video>\n\n\n\t <div class=\"pd-big flex-column flex w-100 h-100 gap-zero\">\n\t \t<h3 v-if=\"content?.previousTitle\" class=\"t-unna t-nye204 mn-b-small\">\n\t\t\t\t\t{{content?.previousTitle}}\n\t\t </h3>\n\t\t \n\t\t <p v-if=\"content?.previousDescription\" class=\"p-medium t-transp mn-b-big\">\n\t\t \t{{content?.previousDescription}}\n\t\t </p>\n\n\t\t <div v-if=\"content?.previousLink\" class=\"flex-nowrap flex gap-thin\">\n\t\t \t<a :href=\"content?.previousLink\" \ttarget=\"_blank\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white\">\n\t\t \t\t{{content?.previousLinkText || 'Check'}}\n\t\t \t</a>\n\t\t </div>\n\t </div>\n\t \n\t </div>\n\n\t \n\t</div>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\t\n\tconst { t } = useI18n({ \n\t\tmessages: {\n\t\t en:{\n\t\t \"nye2024\":{\n\t\t \"title\":\"Explore our exclusive party archive\",\n\t\t \"titleTicket\":\"Are you ready?\",\n\t\t \"description\":\"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.\",\n\t\t \"checkinblog\":\"CHECK IN INSTAGRAM\",\n\t\t }\n\t\t }\n\t\t}\n\t})\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n // Play video function\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.options?.link);\n\n\t}\n \n\tonMounted(() => {\n\t\tcheckAndPlayVideo()\n\t\tplayVid()\n\t})\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["useI18n","ref","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DC,UAAM,QAAQ;AAWAA,oBAAQ;AAAA,MACrB,UAAU;AAAA,QACR,IAAG;AAAA,UACD,WAAU;AAAA,YACR,SAAQ;AAAA,YACR,eAAc;AAAA,YACd,eAAc;AAAA,YACd,eAAc;AAAA,UACf;AAAA,QACF;AAAA,MACF;AAAA,IACH,CAAE;AAED,UAAM,eAAeC,IAAG,IAAC,IAAI;AAE7B,QAAI,YAAY;AAEhB,aAAS,oBAAoB;AAC5B,UAAI,aAAa,MAAO,cAAa,MAAM,YAAY,WAAW;AAAE,oBAAY;AAAA;AAChF,UAAI,aAAa,MAAO,cAAa,MAAM,UAAU,WAAW;AAAE,oBAAY;AAAA;IAC7E;AAGF,mBAAe,UAAU;;AACtB,YAAI,kBAAa,UAAb,mBAAoB,WAAU,CAAC,WAAW;AAC5C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,IAAI;AAAA,IAEhC;AAEDC,QAAAA,UAAU,MAAM;AACf,wBAAmB;AACnB,cAAS;AAAA,IACX,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -52,15 +52,16 @@ const _sfc_main = {
|
|
52
52
|
const videoElement = ref(null);
|
53
53
|
var isPlaying = false;
|
54
54
|
function checkAndPlayVideo() {
|
55
|
-
videoElement.value.onplaying = function() {
|
55
|
+
if (videoElement.value) videoElement.value.onplaying = function() {
|
56
56
|
isPlaying = true;
|
57
57
|
};
|
58
|
-
videoElement.value.onpause = function() {
|
58
|
+
if (videoElement.value) videoElement.value.onpause = function() {
|
59
59
|
isPlaying = false;
|
60
60
|
};
|
61
61
|
}
|
62
62
|
async function playVid() {
|
63
|
-
|
63
|
+
var _a;
|
64
|
+
if (((_a = videoElement.value) == null ? void 0 : _a.paused) && !isPlaying) {
|
64
65
|
return videoElement.value.play();
|
65
66
|
}
|
66
67
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionPreviousEvents.vue.js","sources":["../../../../../../../src/modules/events/components/sections/SectionPreviousEvents.vue"],"sourcesContent":["<template>\n\n\t<div class=\"cols-2 gap-big pos-relative \">\n\t\t <div class=\"cols-1 gap-small \">\n\t\t <a v-if=\"options?.link\" @click=\"clickBuyTicket()\" href=\"#\" class=\"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero\">\n\t\t \t<img loading=\"lazy\" v-if=\"content?.ticket\" class=\"w-80\" :src=\"content?.ticket\">\n\n\t \t<a class=\"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204\">\n\t \t\t<!-- SOLD OUT -->\n\t\t\t\t\t{{ content?.ticketTextButton || 'Buy Ticket'}}\n\t\t </a>\n\t\t \n\t\t </a>\n\n\t\t <p v-if=\"content?.paymentContact\" class=\"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white\">\n\t \t<span>{{content?.paymentText}}</span> \n \t\t\t<a class=\"t-black bg-white radius-extra pd-thin\" :href=\"content?.paymentContactURL\" target=\"_blank\">{{content?.paymentContact}}</a>\n \t\t</p>\n \t</div>\n\n\t\t<div class=\"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black \">\n\n\t\t\t<video \n\t\t\t\tv-if=\"options?.video\" style=\"max-height: 20rem; object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" class=\"pos-t-0 pos-l-0 w-100 h-auto\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline \n\t\t\t\t:src=\"options?.video\" itemprop=\"video\" type=\"video/mp4\"\n\t\t\t>\n\t\t\t</video>\n\n\n\t <div class=\"pd-big flex-column flex w-100 h-100 gap-zero\">\n\t \t<h3 v-if=\"content?.previousTitle\" class=\"t-unna t-nye204 mn-b-small\">\n\t\t\t\t\t{{content?.previousTitle}}\n\t\t </h3>\n\t\t \n\t\t <p v-if=\"content?.previousDescription\" class=\"p-medium t-transp mn-b-big\">\n\t\t \t{{content?.previousDescription}}\n\t\t </p>\n\n\t\t <div v-if=\"content?.previousLink\" class=\"flex-nowrap flex gap-thin\">\n\t\t \t<a :href=\"content?.previousLink\" \ttarget=\"_blank\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white\">\n\t\t \t\t{{content?.previousLinkText || 'Check'}}\n\t\t \t</a>\n\t\t </div>\n\t </div>\n\t \n\t </div>\n\n\t \n\t</div>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\t\n\tconst { t } = useI18n({ \n\t\tmessages: {\n\t\t en:{\n\t\t \"nye2024\":{\n\t\t \"title\":\"Explore our exclusive party archive\",\n\t\t \"titleTicket\":\"Are you ready?\",\n\t\t \"description\":\"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.\",\n\t\t \"checkinblog\":\"CHECK IN INSTAGRAM\",\n\t\t }\n\t\t }\n\t\t}\n\t})\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction
|
1
|
+
{"version":3,"file":"SectionPreviousEvents.vue.js","sources":["../../../../../../../src/modules/events/components/sections/SectionPreviousEvents.vue"],"sourcesContent":["<template>\n\n\t<div class=\"cols-2 gap-big pos-relative \">\n\t\t <div class=\"cols-1 gap-small \">\n\t\t <a v-if=\"options?.link\" @click=\"clickBuyTicket()\" href=\"#\" class=\"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero\">\n\t\t \t<img loading=\"lazy\" v-if=\"content?.ticket\" class=\"w-80\" :src=\"content?.ticket\">\n\n\t \t<a class=\"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204\">\n\t \t\t<!-- SOLD OUT -->\n\t\t\t\t\t{{ content?.ticketTextButton || 'Buy Ticket'}}\n\t\t </a>\n\t\t \n\t\t </a>\n\n\t\t <p v-if=\"content?.paymentContact\" class=\"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white\">\n\t \t<span>{{content?.paymentText}}</span> \n \t\t\t<a class=\"t-black bg-white radius-extra pd-thin\" :href=\"content?.paymentContactURL\" target=\"_blank\">{{content?.paymentContact}}</a>\n \t\t</p>\n \t</div>\n\n\t\t<div class=\"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black \">\n\n\t\t\t<video \n\t\t\t\tv-if=\"options?.video\" style=\"max-height: 20rem; object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" class=\"pos-t-0 pos-l-0 w-100 h-auto\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline \n\t\t\t\t:src=\"options?.video\" itemprop=\"video\" type=\"video/mp4\"\n\t\t\t>\n\t\t\t</video>\n\n\n\t <div class=\"pd-big flex-column flex w-100 h-100 gap-zero\">\n\t \t<h3 v-if=\"content?.previousTitle\" class=\"t-unna t-nye204 mn-b-small\">\n\t\t\t\t\t{{content?.previousTitle}}\n\t\t </h3>\n\t\t \n\t\t <p v-if=\"content?.previousDescription\" class=\"p-medium t-transp mn-b-big\">\n\t\t \t{{content?.previousDescription}}\n\t\t </p>\n\n\t\t <div v-if=\"content?.previousLink\" class=\"flex-nowrap flex gap-thin\">\n\t\t \t<a :href=\"content?.previousLink\" \ttarget=\"_blank\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white\">\n\t\t \t\t{{content?.previousLinkText || 'Check'}}\n\t\t \t</a>\n\t\t </div>\n\t </div>\n\t \n\t </div>\n\n\t \n\t</div>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\t\n\tconst { t } = useI18n({ \n\t\tmessages: {\n\t\t en:{\n\t\t \"nye2024\":{\n\t\t \"title\":\"Explore our exclusive party archive\",\n\t\t \"titleTicket\":\"Are you ready?\",\n\t\t \"description\":\"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.\",\n\t\t \"checkinblog\":\"CHECK IN INSTAGRAM\",\n\t\t }\n\t\t }\n\t\t}\n\t})\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n // Play video function\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.options?.link);\n\n\t}\n \n\tonMounted(() => {\n\t\tcheckAndPlayVideo()\n\t\tplayVid()\n\t})\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DC,UAAM,QAAQ;AAWA,YAAQ;AAAA,MACrB,UAAU;AAAA,QACR,IAAG;AAAA,UACD,WAAU;AAAA,YACR,SAAQ;AAAA,YACR,eAAc;AAAA,YACd,eAAc;AAAA,YACd,eAAc;AAAA,UACf;AAAA,QACF;AAAA,MACF;AAAA,IACH,CAAE;AAED,UAAM,eAAe,IAAI,IAAI;AAE7B,QAAI,YAAY;AAEhB,aAAS,oBAAoB;AAC5B,UAAI,aAAa,MAAO,cAAa,MAAM,YAAY,WAAW;AAAE,oBAAY;AAAA;AAChF,UAAI,aAAa,MAAO,cAAa,MAAM,UAAU,WAAW;AAAE,oBAAY;AAAA;IAC7E;AAGF,mBAAe,UAAU;;AACtB,YAAI,kBAAa,UAAb,mBAAoB,WAAU,CAAC,WAAW;AAC5C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,IAAI;AAAA,IAEhC;AAED,cAAU,MAAM;AACf,wBAAmB;AACnB,cAAS;AAAA,IACX,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const layoutEvents = require("../components/layouts/layoutEvents.vue.cjs");
|
4
|
-
|
4
|
+
require("../../auth/views/store/auth.cjs");
|
5
5
|
const eventsRoutes = [
|
6
6
|
{
|
7
7
|
path: "events",
|
@@ -29,6 +29,21 @@ const eventsRoutes = [
|
|
29
29
|
))
|
30
30
|
}]
|
31
31
|
},
|
32
|
+
{
|
33
|
+
path: "events/backoffice",
|
34
|
+
name: "Events Backoffice",
|
35
|
+
meta: {
|
36
|
+
title: {
|
37
|
+
en: "Manage Events",
|
38
|
+
ru: "Управление Событиями"
|
39
|
+
},
|
40
|
+
authorize: []
|
41
|
+
},
|
42
|
+
component: () => Promise.resolve().then(() => require(
|
43
|
+
/* webpackChunkName: 'CreateEvent' */
|
44
|
+
"../components/pages/EventsBackoffice.vue.cjs"
|
45
|
+
))
|
46
|
+
},
|
32
47
|
{
|
33
48
|
path: "events/create",
|
34
49
|
name: "Create Event",
|
@@ -70,10 +85,6 @@ const eventsRoutes = [
|
|
70
85
|
{
|
71
86
|
path: "events/:url/edit/tickets",
|
72
87
|
name: "Edit Event Tickets",
|
73
|
-
meta: { authorize: [] },
|
74
|
-
beforeEnter: [
|
75
|
-
auth_validation.requiresAdmin
|
76
|
-
],
|
77
88
|
component: () => Promise.resolve().then(() => require(
|
78
89
|
/* webpackChunkName: 'EditEvent' */
|
79
90
|
"../components/pages/EditEventTickets.vue.cjs"
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.cjs","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import layoutEvents from '../components/layouts/layoutEvents.vue'\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst eventsRoutes = [\n {\n path: 'events',\n component: layoutEvents,\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [{\n path: ':category?',\n name: 'Events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'EventList' */ '../components/pages/Events.vue')\n }]\n },{\n path: 'events/create',\n name: 'Create Event',\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url',\n name: 'Event',\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EventDetail' */ '../components/pages/Event.vue')\n },{\n path: 'events/:url/edit',\n name: 'Edit Event',\n meta: { authorize: [] },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url/edit/tickets',\n name: 'Edit Event Tickets',\n
|
1
|
+
{"version":3,"file":"events.cjs","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import layoutEvents from '../components/layouts/layoutEvents.vue'\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst eventsRoutes = [\n {\n path: 'events',\n component: layoutEvents,\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [{\n path: ':category?',\n name: 'Events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'EventList' */ '../components/pages/Events.vue')\n }]\n },{\n path: 'events/backoffice',\n name: 'Events Backoffice',\n meta: {\n title: {\n en: 'Manage Events',\n ru: 'Управление Событиями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EventsBackoffice.vue')\n },{\n path: 'events/create',\n name: 'Create Event',\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url',\n name: 'Event',\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EventDetail' */ '../components/pages/Event.vue')\n },{\n path: 'events/:url/edit',\n name: 'Edit Event',\n meta: { authorize: [] },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url/edit/tickets',\n name: 'Edit Event Tickets',\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEventTickets.vue')\n }\n];\n\nexport default eventsRoutes;\n"],"names":["layoutEvents"],"mappings":";;;;AAGK,MAAC,eAAe;AAAA,EACnB;AAAA,IACE,MAAM;AAAA,IACN,WAAWA,aAAY;AAAA,IACvB,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,UAAU,CAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,YAAY;AAAA,MACb;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAAoC;AAAA,MAAgC,CAAC;AAAA,IACnG,CAAK;AAAA,EACL;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAA0C,CAAC;AAAA,EAC7G;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAAmC,CAAC;AAAA,EACtG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAA+B,CAAC;AAAA,EAClG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM,EAAE,WAAW,GAAI;AAAA,IACvB,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAoC;AAAA,IAAmC,CAAC;AAAA,EACpG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAoC;AAAA,IAA0C,CAAC;AAAA,EACxG;AACH;;"}
|