@ozdao/prometheus-framework 0.2.323 → 0.2.324
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Media-BjSScxrV.js +1 -0
- package/dist/Media-CCVndMgQ.mjs +111 -0
- package/dist/main-BBmjvE8i.js +92 -0
- package/dist/main-BCskq3d2.mjs +13068 -0
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +9 -11
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +10 -12
- package/dist/prometheus-framework/src/components/Button/Button.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +37 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +37 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +27 -18
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +27 -18
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +6 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +6 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Media/Media.vue.cjs +154 -0
- package/dist/prometheus-framework/src/components/Media/Media.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/components/Media/Media.vue.js +154 -0
- package/dist/prometheus-framework/src/components/Media/Media.vue.js.map +1 -0
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +68 -37
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +69 -38
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +2 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs +0 -2
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +119 -4
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +120 -5
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +113 -164
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +120 -171
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +0 -17
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +2 -19
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +17 -77
- 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 +22 -82
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +34 -25
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +35 -26
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +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 +9 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +20 -15
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +221 -50
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +225 -54
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs +98 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js +98 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/events.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.js +1 -0
- package/dist/prometheus-framework/src/modules/events/events.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +2 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +2 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +11 -5
- 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 +11 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.cjs +100 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.js +100 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs +30 -14
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js +30 -14
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.cjs +33 -0
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.js +33 -0
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +4 -17
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +4 -17
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.cjs +34 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.js +34 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +27 -17
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +28 -18
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +2 -0
- package/dist/prometheus-framework/src/modules/icons/icons.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/icons.client.js +50 -48
- package/dist/prometheus-framework/src/modules/icons/icons.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +67 -2
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +67 -2
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +773 -745
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +773 -745
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +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 +4 -15
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -15
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +24 -30
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +25 -31
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +236 -13
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +239 -16
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +60 -14
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +67 -21
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +0 -3
- package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +48 -51
- package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +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/pages/SpotEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.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 +1 -92
- package/dist/prometheus-framework.es.js +36 -13005
- package/package.json +1 -1
- package/src/components/Button/Button.vue +43 -40
- package/src/components/DatePicker/Calendar.vue +15 -7
- package/src/components/DatePicker/DatePicker.vue +50 -40
- package/src/components/EmptyState/EmptyState.vue +2 -2
- package/src/components/Feed/Feed.vue +6 -2
- package/src/components/Media/Media.vue +211 -0
- package/src/components/Popup/Popup.vue +19 -21
- package/src/components/Slider/Slider.vue +57 -21
- package/src/components/index.js +1 -0
- package/src/main.js +3 -1
- package/src/modules/auth/views/components/pages/Profile.vue +2 -1
- package/src/modules/backoffice/backoffice.client.js +0 -2
- package/src/modules/backoffice/components/pages/Dashboard.vue +95 -2
- package/src/modules/backoffice/components/partials/Sidebar.vue +115 -132
- package/src/modules/backoffice/router/backoffice.js +0 -14
- package/src/modules/community/components/layouts/Community.vue +1 -52
- package/src/modules/events/components/blocks/CardEvent.vue +28 -22
- package/src/modules/events/components/pages/Event.vue +2 -6
- package/src/modules/events/components/pages/Events.vue +241 -56
- package/src/modules/events/components/sections/EventsHot.vue +93 -0
- package/src/modules/events/components/sections/FeaturedEvents.vue +17 -15
- package/src/modules/events/components/sections/List.vue +1 -1
- package/src/modules/events/events.client.js +1 -0
- package/src/modules/events/router/events.js +0 -4
- package/src/modules/events/store/events.js +1 -0
- package/src/modules/globals/views/components/layouts/App.vue +4 -5
- package/src/modules/globals/views/components/layouts/Client.vue +8 -2
- package/src/modules/globals/views/components/partials/CitySelection.vue +88 -0
- package/src/modules/globals/views/components/partials/Header.vue +3 -3
- package/src/modules/globals/views/components/partials/Navigation.vue +75 -20
- package/src/modules/globals/views/components/partials/Sidebar.vue +2 -9
- package/src/modules/globals/views/mixins/mixins.js +56 -35
- package/src/modules/governance/DESCRIPTION.MD +238 -0
- package/src/modules/governance/controllers/factories/initiatives.controller.js +3 -1
- package/src/modules/governance/controllers/routes/initiatives.routes.js +1 -1
- package/src/modules/governance/controllers/routes/tasks.routes.js +1 -1
- package/src/modules/governance/controllers/routes/votes.routes.js +1 -1
- package/src/modules/governance/controllers/routes/votings.routes.js +1 -1
- package/src/modules/governance/governance.client.js +35 -35
- package/src/modules/governance/governance.server.js +8 -8
- package/src/modules/governance/models/milestone.model.js +98 -0
- package/src/modules/governance/models/task.model.js +39 -7
- package/src/modules/governance/views/components/pages/Initiative.vue +1 -1
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +2 -2
- package/src/modules/governance/views/components/pages/Initiatives.vue +3 -2
- package/src/modules/governance/views/components/pages/Task.vue +1 -1
- package/src/modules/governance/views/components/pages/TaskCreate.vue +2 -2
- package/src/modules/governance/views/components/pages/Tasks.vue +2 -2
- package/src/modules/governance/views/components/pages/Voting.vue +3 -3
- package/src/modules/governance/views/components/pages/VotingCreate.vue +2 -2
- package/src/modules/governance/views/components/pages/Votings.vue +2 -2
- package/src/modules/governance/views/components/sections/VoteForm.vue +1 -1
- package/src/modules/governance/views/router/goverance.router.js +263 -0
- package/src/modules/icons/actions/IconShopcartAdd.vue +15 -0
- package/src/modules/icons/entities/IconCommunity.vue +4 -6
- package/src/modules/icons/entities/IconPayments.vue +14 -0
- package/src/modules/icons/entities/IconPrice.vue +12 -3
- package/src/modules/icons/icons.client.js +5 -0
- package/src/modules/icons/logos/Logotype.vue +50 -17
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -0
- package/src/modules/orders/store/shopcart.js +100 -1
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/products/components/blocks/CardProduct.vue +5 -11
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +4 -4
- package/src/modules/products/components/elements/Price.vue +33 -56
- package/src/modules/products/components/pages/Product.vue +235 -13
- package/src/modules/products/components/sections/SectionProduct.vue +50 -25
- package/src/modules/products/products.client.js +0 -4
- package/src/styles/base/all.scss +15 -16
- package/src/styles/config.scss +2 -2
- package/src/modules/backoffice/components/layouts/Backoffice.vue +0 -55
- package/src/modules/events/components/sections/SectionLineup.vue +0 -42
- package/src/modules/events/components/sections/SectionMainGuest.vue +0 -95
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +0 -117
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +0 -46
- package/src/modules/governance/controllers/factories/projects.controller.js +0 -65
- package/src/modules/governance/controllers/routes/projects.routes.js +0 -34
- package/src/modules/governance/models/project.model.js +0 -26
package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Sidebar.vue.js","sources":["../../../../../../../src/modules/backoffice/components/partials/Sidebar.vue"],"sourcesContent":["<template>\n <div class=\"\">\n <
|
1
|
+
{"version":3,"file":"Sidebar.vue.js","sources":["../../../../../../../src/modules/backoffice/components/partials/Sidebar.vue"],"sourcesContent":["<template>\n <div class=\"\">\n <div class=\"br-b h3 h-4r pd-semi br-solid br-black-transp-10\">Backoffice</div>\n <div class=\"pd-semi\">\n <span class=\"pd-thin uppercase t-medium t-transp\">Menu</span>\n <div \n v-for=\"item in menuItems\" \n :key=\"item.name\"\n @click=\"router.push({ name: item.routeName })\" \n class=\"flex pd-thin flex-v-center cursor-pointer\">\n <component \n v-if=\"item.icon\" \n :is=\"item.icon\" \n class=\"i-regular mn-r-thin\" \n :icon=\"true\" \n :fill=\"'rgba(var(--black),0.25)'\"\n /> \n <span class=\"t-medium\">{{ item.title }}</span>\n </div>\n \n <span class=\"pd-thin d-block mn-t-medium uppercase t-medium t-transp\">General</span>\n <div \n v-for=\"item in generalItems\" \n :key=\"item.name\"\n @click=\"router.push({ name: item.routeName })\" \n class=\"flex pd-thin flex-v-center cursor-pointer\">\n <component \n v-if=\"item.icon\" \n :is=\"item.icon\" \n class=\"i-regular mn-r-thin\" \n :icon=\"true\" \n :fill=\"'rgba(var(--black),0.25)'\"\n /> \n <span class=\"t-medium\">{{ item.title }}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script setup=\"props\">\n/////////////////////////////\n// COMPONENT DEPENDENCIES\n/////////////////////////////\nimport { ref, onMounted } from 'vue';\n\n// Mobile Module\nimport SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue'\n\nimport IconProducts from '@pf/src/modules/icons/entities/IconProducts.vue'\nimport IconPayments from '@pf/src/modules/icons/entities/IconPayments.vue'\nimport IconEvents from '@pf/src/modules/icons/entities/IconEvents.vue'\nimport IconGroups from '@pf/src/modules/icons/entities/IconGroups.vue'\nimport IconCommunity from '@pf/src/modules/icons/entities/IconCommunity.vue'\nimport IconGallery from '@pf/src/modules/icons/entities/IconGallery.vue'\nimport IconOrders from '@pf/src/modules/icons/entities/IconOrders.vue'\nimport IconLeftovers from '@pf/src/modules/icons/entities/IconLeftovers.vue'\n/////////////////////////////\n// HELPERS\n/////////////////////////////\nimport { useRoute, useRouter } from 'vue-router'\n\nimport * as auth from '@pf/src/modules/auth/views/store/auth'\nimport * as organizations from '@pf/src/modules/organizations/store/organizations'\n\nconst route = useRoute()\nconst router = useRouter()\n/////////////////////////////\n// CREATED\n/////////////////////////////\nconst props = defineProps({\n favorites: Array,\n});\n\nconst selectedOrganization = ref(null);\nconst publics = ref([]);\n\n// Define menu items\nconst menuItems = [\n {\n name: 'organizations',\n title: 'Organizations',\n routeName: 'Backoffice Organizations',\n icon: IconGroups\n },\n {\n name: 'community',\n title: 'Community',\n routeName: 'Backoffice Community',\n icon: IconCommunity\n },\n {\n name: 'products',\n title: 'Products',\n routeName: 'Products',\n icon: IconProducts\n },\n {\n name: 'leftovers',\n title: 'Leftovers',\n routeName: 'Leftovers',\n icon: IconLeftovers\n },\n {\n name: 'orders',\n title: 'Orders',\n routeName: 'Backoffice Orders',\n icon: IconOrders\n },\n {\n name: 'gallery',\n title: 'Gallery',\n routeName: 'Backoffice Gallery',\n icon: IconGallery\n },\n {\n name: 'events',\n title: 'Events',\n routeName: 'BackofficeEvents Backoffice',\n icon: IconEvents\n }\n];\n\n// Define general items\nconst generalItems = [\n {\n name: 'payments',\n title: 'Payments',\n routeName: 'Payments',\n icon: IconPayments\n },\n {\n name: 'users',\n title: 'Users',\n routeName: 'Users',\n icon: null\n },\n {\n name: 'pages',\n title: 'Pages',\n routeName: 'Backoffice Pages',\n icon: null\n },\n {\n name: 'reports',\n title: 'Reports',\n routeName: 'Backoffice Reports',\n icon: null\n }\n];\n\n/////////////////////////////\n// MOUNTED\n/////////////////////////////\nonMounted(async () => {\n});\n</script>\n\n<style lang=\"scss\">\n</style>"],"names":["IconGroups","IconCommunity","IconProducts","IconLeftovers","IconOrders","IconGallery","IconEvents","IconPayments"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgEc,aAAU;AACxB,UAAM,SAAS,UAAW;AAQG,QAAI,IAAI;AACrB,QAAI,EAAE;AAGtB,UAAM,YAAY;AAAA,MAChB;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAMA;AAAAA,MACP;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAMC;AAAAA,MACP;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAMC;AAAAA,MACP;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAMC;AAAAA,MACP;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAMC;AAAAA,MACP;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAMC;AAAAA,MACP;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAMC;AAAAA,MACP;AAAA,IACH;AAGA,UAAM,eAAe;AAAA,MACnB;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAMC;AAAAA,MACP;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAM;AAAA,MACP;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAM;AAAA,MACP;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,OAAO;AAAA,QACP,WAAW;AAAA,QACX,MAAM;AAAA,MACP;AAAA,IACH;AAKA,cAAU,YAAY;AAAA,IACtB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,13 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
const Backoffice = require("../components/layouts/Backoffice.vue.cjs");
|
4
3
|
const Sidebar = require("../components/partials/Sidebar.vue.cjs");
|
5
4
|
require("vue");
|
6
5
|
const auth_validation = require("../../auth/views/middlewares/auth.validation.cjs");
|
7
6
|
const backofficeRoutes = {
|
8
7
|
path: "backoffice",
|
9
8
|
name: "Backoffice Root",
|
10
|
-
component: Backoffice.default,
|
11
9
|
meta: {
|
12
10
|
sidebar: Sidebar.default
|
13
11
|
},
|
@@ -61,21 +59,6 @@ const backofficeRoutes = {
|
|
61
59
|
"../../organizations/components/pages/Organizations.vue.cjs"
|
62
60
|
))
|
63
61
|
},
|
64
|
-
{
|
65
|
-
path: "events",
|
66
|
-
name: "Backoffice Events",
|
67
|
-
meta: {
|
68
|
-
title: {
|
69
|
-
en: "Backoffice Events",
|
70
|
-
ru: "Управление Событиями"
|
71
|
-
},
|
72
|
-
authorize: []
|
73
|
-
},
|
74
|
-
component: () => Promise.resolve().then(() => require(
|
75
|
-
/* webpackChunkName: 'BackofficeEvents' */
|
76
|
-
"../../events/components/pages/Events.vue.cjs"
|
77
|
-
))
|
78
|
-
},
|
79
62
|
{
|
80
63
|
path: "community",
|
81
64
|
name: "Backoffice Community",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"backoffice.cjs","sources":["../../../../../../src/modules/backoffice/router/backoffice.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"file":"backoffice.cjs","sources":["../../../../../../src/modules/backoffice/router/backoffice.js"],"sourcesContent":["import Sidebar from '../components/partials/Sidebar.vue'\n\nimport layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\n// const admin = [\n// {\n// path: 'admin',\n// component: layoutAdmin,\n// meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// children: [{\n// path: 'backcalls',\n// name: 'Backcalls',\n// // meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// component: () => import(/* webpackChunkName: 'Backcalls' */ '@/components/pages/admin/Backcalls.vue')\n// },{\n// path: 'fastorder',\n// name: 'FastOrders',\n// // meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// component: () => import(/* webpackChunkName: 'FastOrders' */ '@/components/pages/admin/FastOrders.vue')\n// },{\n// path: 'users',\n// name: 'Users',\n// component: () => import(/* webpackChunkName: 'Users' */ '@/components/pages/admin/Users.vue')\n// },{\n// path: 'users/:phone',\n// name: 'User',\n// component: () => import(/* webpackChunkName: 'User' */ '@/components/pages/admin/User.vue')\n// }]\n// } \n// ];\n\nconst backofficeRoutes = {\n path: 'backoffice',\n name: 'Backoffice Root',\n\n meta: {\n sidebar: Sidebar,\n },\n \n props: {\n newsletterPopup: 12344\n },\n\n beforeEnter: [\n validationAuth.requiresAdmin,\n ],\n children: [{\n path: '',\n name: 'Backoffice Admin',\n meta: {\n title: {\n en: 'Backoffice',\n ru: 'Управление'\n },\n },\n component: () => import(/* webpackChunkName: 'BackofficeGallery' */ '../components/pages/Dashboard.vue'),\n },{\n path: 'reports',\n name: 'Backoffice Reports',\n meta: {\n title: {\n en: 'Backoffice Reports',\n ru: 'Управление Жалобами'\n },\n },\n component: () => import(/* webpackChunkName: 'BackofficeGallery' */ '@pf/src/modules/reports/components/pages/BackofficeReports.vue'),\n },\n {\n path: 'organizations',\n name: 'Backoffice Organizations',\n meta: {\n title: {\n en: 'Backoffice Organizations',\n ru: 'Управление Организациями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeOrganizations' */ '@pf/src/modules/organizations/components/pages/Organizations.vue'),\n },{\n path: 'community',\n name: 'Backoffice Community',\n meta: {\n title: {\n en: 'Backoffice Community',\n ru: 'Управление Сообществом'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeCommunity' */ '@pf/src/modules/community/components/pages/Community.vue'),\n }]\n};\n\nexport default backofficeRoutes;\n"],"names":["Sidebar","validationAuth.requiresAdmin"],"mappings":";;;;;AAiCK,MAAC,mBAAmB;AAAA,EACvB,MAAM;AAAA,EACN,MAAM;AAAA,EAEN,MAAM;AAAA,IACJ,SAASA,QAAO;AAAA,EACjB;AAAA,EAED,OAAO;AAAA,IACL,iBAAiB;AAAA,EAClB;AAAA,EAED,aAAa;AAAA,IACXC,gBAA4B;AAAA,EAC7B;AAAA,EACD,UAAU;AAAA,IAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,MACF;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAA4C;AAAA,MAAmC,CAAC;AAAA,IAC5G;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,MACF;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAA4C;AAAA,MAAgE,CAAC;AAAA,IACtI;AAAA,IACD;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAAkD;AAAA,MAAkE,CAAC;AAAA,IACjJ;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAA8C;AAAA,MAA0D,CAAC;AAAA,IACrI;AAAA,EAAG;AACH;;"}
|
@@ -1,13 +1,11 @@
|
|
1
|
-
import _sfc_main from "../components/
|
2
|
-
import _sfc_main$1 from "../components/partials/Sidebar.vue.js";
|
1
|
+
import _sfc_main from "../components/partials/Sidebar.vue.js";
|
3
2
|
import "vue";
|
4
3
|
import { requiresAdmin } from "../../auth/views/middlewares/auth.validation.js";
|
5
4
|
const backofficeRoutes = {
|
6
5
|
path: "backoffice",
|
7
6
|
name: "Backoffice Root",
|
8
|
-
component: _sfc_main,
|
9
7
|
meta: {
|
10
|
-
sidebar: _sfc_main
|
8
|
+
sidebar: _sfc_main
|
11
9
|
},
|
12
10
|
props: {
|
13
11
|
newsletterPopup: 12344
|
@@ -59,21 +57,6 @@ const backofficeRoutes = {
|
|
59
57
|
"../../organizations/components/pages/Organizations.vue.js"
|
60
58
|
)
|
61
59
|
},
|
62
|
-
{
|
63
|
-
path: "events",
|
64
|
-
name: "Backoffice Events",
|
65
|
-
meta: {
|
66
|
-
title: {
|
67
|
-
en: "Backoffice Events",
|
68
|
-
ru: "Управление Событиями"
|
69
|
-
},
|
70
|
-
authorize: []
|
71
|
-
},
|
72
|
-
component: () => import(
|
73
|
-
/* webpackChunkName: 'BackofficeEvents' */
|
74
|
-
"../../events/components/pages/Events.vue.js"
|
75
|
-
)
|
76
|
-
},
|
77
60
|
{
|
78
61
|
path: "community",
|
79
62
|
name: "Backoffice Community",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"backoffice.js","sources":["../../../../../../src/modules/backoffice/router/backoffice.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"file":"backoffice.js","sources":["../../../../../../src/modules/backoffice/router/backoffice.js"],"sourcesContent":["import Sidebar from '../components/partials/Sidebar.vue'\n\nimport layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\n// const admin = [\n// {\n// path: 'admin',\n// component: layoutAdmin,\n// meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// children: [{\n// path: 'backcalls',\n// name: 'Backcalls',\n// // meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// component: () => import(/* webpackChunkName: 'Backcalls' */ '@/components/pages/admin/Backcalls.vue')\n// },{\n// path: 'fastorder',\n// name: 'FastOrders',\n// // meta: { authorize: [\"ROLE_MODERATOR\"] }, \n// component: () => import(/* webpackChunkName: 'FastOrders' */ '@/components/pages/admin/FastOrders.vue')\n// },{\n// path: 'users',\n// name: 'Users',\n// component: () => import(/* webpackChunkName: 'Users' */ '@/components/pages/admin/Users.vue')\n// },{\n// path: 'users/:phone',\n// name: 'User',\n// component: () => import(/* webpackChunkName: 'User' */ '@/components/pages/admin/User.vue')\n// }]\n// } \n// ];\n\nconst backofficeRoutes = {\n path: 'backoffice',\n name: 'Backoffice Root',\n\n meta: {\n sidebar: Sidebar,\n },\n \n props: {\n newsletterPopup: 12344\n },\n\n beforeEnter: [\n validationAuth.requiresAdmin,\n ],\n children: [{\n path: '',\n name: 'Backoffice Admin',\n meta: {\n title: {\n en: 'Backoffice',\n ru: 'Управление'\n },\n },\n component: () => import(/* webpackChunkName: 'BackofficeGallery' */ '../components/pages/Dashboard.vue'),\n },{\n path: 'reports',\n name: 'Backoffice Reports',\n meta: {\n title: {\n en: 'Backoffice Reports',\n ru: 'Управление Жалобами'\n },\n },\n component: () => import(/* webpackChunkName: 'BackofficeGallery' */ '@pf/src/modules/reports/components/pages/BackofficeReports.vue'),\n },\n {\n path: 'organizations',\n name: 'Backoffice Organizations',\n meta: {\n title: {\n en: 'Backoffice Organizations',\n ru: 'Управление Организациями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeOrganizations' */ '@pf/src/modules/organizations/components/pages/Organizations.vue'),\n },{\n path: 'community',\n name: 'Backoffice Community',\n meta: {\n title: {\n en: 'Backoffice Community',\n ru: 'Управление Сообществом'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'BackofficeCommunity' */ '@pf/src/modules/community/components/pages/Community.vue'),\n }]\n};\n\nexport default backofficeRoutes;\n"],"names":["Sidebar","validationAuth.requiresAdmin"],"mappings":";;;AAiCK,MAAC,mBAAmB;AAAA,EACvB,MAAM;AAAA,EACN,MAAM;AAAA,EAEN,MAAM;AAAA,IACJ,SAASA;AAAAA,EACV;AAAA,EAED,OAAO;AAAA,IACL,iBAAiB;AAAA,EAClB;AAAA,EAED,aAAa;AAAA,IACXC;AAAAA,EACD;AAAA,EACD,UAAU;AAAA,IAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,MACF;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAAmD;AAAA,MAAmC;AAAA,IAC3G;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,MACF;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAAmD;AAAA,MAAgE;AAAA,IACrI;AAAA,IACD;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAAyD;AAAA,MAAkE;AAAA,IAChJ;AAAA,IAAI;AAAA,MACA,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,WAAW,CAAE;AAAA,MACd;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAAqD;AAAA,MAA0D;AAAA,IACpI;AAAA,EAAG;AACH;"}
|
package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs
CHANGED
@@ -4,7 +4,7 @@ const vue = require("vue");
|
|
4
4
|
const CardHeader = require("../../../globals/views/components/blocks/CardHeader.vue.cjs");
|
5
5
|
const FooterBlogpost = require("./FooterBlogpost.vue.cjs");
|
6
6
|
const Text = require("../../../../components/Text/Text.vue.cjs");
|
7
|
-
;/* empty css
|
7
|
+
;/* empty css */
|
8
8
|
const vueRouter = require("vue-router");
|
9
9
|
const _hoisted_1 = { class: "pos-relative flex-column flex" };
|
10
10
|
const _hoisted_2 = { class: "pd-t-zero pd-b-zero pd-medium" };
|
package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js
CHANGED
@@ -2,7 +2,7 @@ import { computed, openBlock, createElementBlock, createVNode, normalizeClass, c
|
|
2
2
|
import _sfc_main$1 from "../../../globals/views/components/blocks/CardHeader.vue.js";
|
3
3
|
import _sfc_main$3 from "./FooterBlogpost.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../components/Text/Text.vue.js";
|
5
|
-
/* empty css
|
5
|
+
/* empty css */
|
6
6
|
import { useRouter } from "vue-router";
|
7
7
|
const _hoisted_1 = { class: "pos-relative flex-column flex" };
|
8
8
|
const _hoisted_2 = { class: "pd-t-zero pd-b-zero pd-medium" };
|
package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs
CHANGED
@@ -5,104 +5,44 @@ const vueRouter = require("vue-router");
|
|
5
5
|
const Select = require("../../../../components/Select/Select.vue2.cjs");
|
6
6
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
7
7
|
const CardOrganization = require("../../../organizations/components/blocks/CardOrganization.vue.cjs");
|
8
|
-
const IconFeatured = require("../../../icons/entities/IconFeatured.vue.cjs");
|
9
|
-
const IconPopular = require("../../../icons/entities/IconPopular.vue.cjs");
|
10
|
-
const IconRecent = require("../../../icons/entities/IconRecent.vue.cjs");
|
11
|
-
const IconFollowing = require("../../../icons/entities/IconFollowing.vue.cjs");
|
12
8
|
const blogposts = require("../../store/blogposts.cjs");
|
13
9
|
const auth = require("../../../auth/views/store/auth.cjs");
|
14
10
|
const organizations = require("../../../organizations/store/organizations.cjs");
|
15
11
|
const memberships = require("../../../organizations/store/memberships.cjs");
|
16
12
|
const _hoisted_1 = {
|
17
|
-
style: { "grid-template-columns": "
|
13
|
+
style: { "grid-template-columns": "4fr 2fr", "grid-template-rows": "1fr auto" },
|
18
14
|
class: "cols-3 gap-thin pd-t-zero pd-thin mobile:pd-zero"
|
19
15
|
};
|
20
|
-
const _hoisted_2 = { class: "
|
21
|
-
const _hoisted_3 = {
|
22
|
-
const _hoisted_4 = {
|
16
|
+
const _hoisted_2 = { class: "pos-relative" };
|
17
|
+
const _hoisted_3 = {
|
23
18
|
key: 0,
|
24
19
|
class: "bg-white pd-medium radius-medium mobile:radius-zero t-black pos-relative mn-b-thin flex-v-center t-left flex-nowrap flex"
|
25
20
|
};
|
26
|
-
const
|
27
|
-
const
|
28
|
-
const
|
21
|
+
const _hoisted_4 = { class: "pos-relative t-nowrap flex-v-center flex-nowrap flex" };
|
22
|
+
const _hoisted_5 = { class: "desktop-only align-self-start bg-white radius-medium pd-medium" };
|
23
|
+
const _hoisted_6 = { class: "gap-thin flex-nowrap flex" };
|
29
24
|
const _sfc_main = {
|
30
25
|
__name: "Community",
|
31
26
|
setup(__props) {
|
32
27
|
const route = vueRouter.useRoute();
|
33
|
-
|
28
|
+
vueRouter.useRouter();
|
34
29
|
if (route.params.category === "popular") blogposts.state.sort.param = "views";
|
35
30
|
if (route.params.category === "new") blogposts.state.sort.param = "createdAt";
|
36
31
|
const handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {
|
37
32
|
memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber);
|
38
33
|
};
|
39
34
|
return (_ctx, _cache) => {
|
40
|
-
const _component_router_link = vue.resolveComponent("router-link");
|
41
35
|
const _component_router_view = vue.resolveComponent("router-view");
|
36
|
+
const _component_router_link = vue.resolveComponent("router-link");
|
42
37
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
43
|
-
vue.createElementVNode("
|
44
|
-
vue.
|
45
|
-
|
46
|
-
|
47
|
-
blogposts.state.sort.param = "createdAt";
|
48
|
-
vue.unref(router).push({ name: "Blog", params: { category: "featured" } });
|
49
|
-
})
|
50
|
-
}, [
|
51
|
-
vue.createVNode(IconFeatured.default, { class: "i-medium mn-r-thin t-transp" }),
|
52
|
-
_cache[5] || (_cache[5] = vue.createTextVNode(" Featured "))
|
53
|
-
], 2),
|
54
|
-
vue.createElementVNode("li", {
|
55
|
-
class: vue.normalizeClass([{ "t-black bg-white": vue.unref(route).params.category === "popular" }, "cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),
|
56
|
-
onClick: _cache[1] || (_cache[1] = () => {
|
57
|
-
blogposts.state.sort.param = "views";
|
58
|
-
vue.unref(router).push({ name: "Blog", params: { category: "popular" } });
|
59
|
-
})
|
60
|
-
}, [
|
61
|
-
vue.createVNode(IconPopular.default, { class: "i-medium mn-r-thin t-transp" }),
|
62
|
-
_cache[6] || (_cache[6] = vue.createTextVNode(" Popular "))
|
63
|
-
], 2),
|
64
|
-
vue.createElementVNode("li", {
|
65
|
-
class: vue.normalizeClass([{ "t-black bg-white": vue.unref(route).params.category === "new" }, "cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),
|
66
|
-
onClick: _cache[2] || (_cache[2] = () => {
|
67
|
-
blogposts.state.sort.param = "createdAt";
|
68
|
-
vue.unref(router).push({ name: "Blog", params: { category: "new" } });
|
69
|
-
})
|
70
|
-
}, [
|
71
|
-
vue.createVNode(IconRecent.default, { class: "i-medium mn-r-thin t-transp" }),
|
72
|
-
_cache[7] || (_cache[7] = vue.createTextVNode(" Recent "))
|
73
|
-
], 2),
|
74
|
-
auth.state.user._id ? (vue.openBlock(), vue.createElementBlock("li", {
|
75
|
-
key: 0,
|
76
|
-
class: vue.normalizeClass([{ "t-black bg-white": vue.unref(route).params.category === "following" }, "cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),
|
77
|
-
onClick: _cache[3] || (_cache[3] = () => {
|
78
|
-
blogposts.state.sort.param = "createdAt";
|
79
|
-
vue.unref(router).push({ name: "Blog", params: { category: "following" } });
|
80
|
-
})
|
81
|
-
}, [
|
82
|
-
vue.createVNode(IconFollowing.default, { class: "i-medium mn-r-thin t-transp" }),
|
83
|
-
_cache[8] || (_cache[8] = vue.createTextVNode(" Following "))
|
84
|
-
], 2)) : vue.createCommentVNode("", true),
|
85
|
-
auth.state.user._id ? (vue.openBlock(), vue.createBlock(_component_router_link, {
|
86
|
-
key: 1,
|
87
|
-
to: {
|
88
|
-
name: "Create BlogPost"
|
89
|
-
},
|
90
|
-
class: "button t-medium bg-main w-100"
|
91
|
-
}, {
|
92
|
-
default: vue.withCtx(() => _cache[9] || (_cache[9] = [
|
93
|
-
vue.createTextVNode(" Create Post ")
|
94
|
-
])),
|
95
|
-
_: 1
|
96
|
-
})) : vue.createCommentVNode("", true)
|
97
|
-
]),
|
98
|
-
vue.createElementVNode("section", _hoisted_3, [
|
99
|
-
!vue.unref(route).params.url ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_4, [
|
100
|
-
vue.createElementVNode("h2", _hoisted_5, [
|
101
|
-
_cache[10] || (_cache[10] = vue.createElementVNode("span", { class: "mn-r-thin" }, "Posts for ", -1)),
|
38
|
+
vue.createElementVNode("section", _hoisted_2, [
|
39
|
+
!vue.unref(route).params.url ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_3, [
|
40
|
+
vue.createElementVNode("h2", _hoisted_4, [
|
41
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("span", { class: "mn-r-thin" }, "Posts for ", -1)),
|
102
42
|
vue.createVNode(Select.default, {
|
103
43
|
options: ["today", "week", "month", "year", "all time"],
|
104
44
|
select: blogposts.state.filter.period,
|
105
|
-
"onUpdate:select": _cache[
|
45
|
+
"onUpdate:select": _cache[0] || (_cache[0] = ($event) => blogposts.state.filter.period = $event),
|
106
46
|
placeholder: "all time",
|
107
47
|
class: "t-semi pos-relative w-max bg-main t-black pd-thin radius-medium h2 t-center"
|
108
48
|
}, null, 8, ["select"])
|
@@ -126,9 +66,9 @@ const _sfc_main = {
|
|
126
66
|
_: 1
|
127
67
|
})
|
128
68
|
]),
|
129
|
-
vue.createElementVNode("div",
|
130
|
-
vue.createElementVNode("div",
|
131
|
-
_cache[
|
69
|
+
vue.createElementVNode("div", _hoisted_5, [
|
70
|
+
vue.createElementVNode("div", _hoisted_6, [
|
71
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("p", { class: "t-medium mn-b-small" }, "Popular Communities", -1)),
|
132
72
|
auth.state.user._id ? (vue.openBlock(), vue.createBlock(_component_router_link, {
|
133
73
|
key: 0,
|
134
74
|
to: {
|
@@ -136,7 +76,7 @@ const _sfc_main = {
|
|
136
76
|
},
|
137
77
|
class: "t-medium cursor-pointer hover-scale-1 radius-extra flex-center flex i-medium bg-main"
|
138
78
|
}, {
|
139
|
-
default: vue.withCtx(() => _cache[
|
79
|
+
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
140
80
|
vue.createTextVNode(" + ")
|
141
81
|
])),
|
142
82
|
_: 1
|
package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Community.vue.cjs","sources":["../../../../../../../src/modules/community/components/layouts/Community.vue"],"sourcesContent":["<template>\n\t<div style=\"grid-template-columns:
|
1
|
+
{"version":3,"file":"Community.vue.cjs","sources":["../../../../../../../src/modules/community/components/layouts/Community.vue"],"sourcesContent":["<template>\n\t<div style=\"grid-template-columns: 4fr 2fr; grid-template-rows: 1fr auto;\" class=\"cols-3 gap-thin pd-t-zero pd-thin mobile:pd-zero \">\n\t\t<section class=\"pos-relative\">\n\n\t\t\t<header v-if=\"!route.params.url\" class=\"bg-white pd-medium radius-medium mobile:radius-zero t-black pos-relative mn-b-thin flex-v-center t-left flex-nowrap flex\">\n\t \t<h2 class=\"pos-relative t-nowrap flex-v-center flex-nowrap flex\">\n\t \t\t<span class=\"mn-r-thin\">Posts for </span>\n\n\t \t\t<Select \n\t\t :options=\"['today','week','month','year','all time']\"\n\t\t v-model:select=\"blog.state.filter.period\" \n\t\t placeholder=\"all time\"\n\t\t class=\"\n\t\t \tt-semi\n\t\t \tpos-relative \n\t\t \tw-max\n\t\t \tbg-main t-black\n\t\t \tpd-thin\n\t\t \tradius-medium\n\t\t h2\n\t\t \tt-center\n\t\t \"\n\t\t />\n\t \t</h2>\n\t\t\t</header>\n\n\t\t\t<router-view v-slot=\"{ Component, route }\">\n\t\t\t\t<transition name=\"scaleIn\" mode=\"out-in\">\n\t\t\t\t\t<component ref=\"page\" :key=\"route.query\" :is=\"Component\" />\n\t\t\t\t</transition>\n\t\t\t</router-view>\n\n\t\t</section>\n\n\t\t<div class=\"desktop-only align-self-start bg-white radius-medium pd-medium\">\n\t\t\t<div class=\"gap-thin flex-nowrap flex\">\n\t\t\t\t<p class=\"t-medium mn-b-small\">Popular Communities</p>\n\t\t\t\t\n\t\t\t\t<router-link \n\t\t\t\t\tv-if=\"auth.state.user._id\"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname: 'Create Organization'\n\t\t\t\t\t}\"\n\t\t\t\t\tclass=\"t-medium cursor-pointer hover-scale-1 radius-extra flex-center flex i-medium bg-main\"\n\t\t\t\t>\n\t\t\t\t\t+\n\t\t\t\t</router-link>\n\t\t\t</div>\n\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<Feed\n\t\t :states=\"{\n\t\t empty: {\n\t\t title: 'No Organization Found',\n\t\t description: 'Currently, there are no organization available.'\n\t\t }\n\t\t }\"\n\t\t :store=\"{\n\t\t read: (options) => organizations.actions.read(options),\n\t\t state: organizations.state\n\t\t }\"\n\t\t :options=\"{\n\t\t \tuser: auth.state.user._id,\n\t\t\t\t\t\t\tsort: 'numberOfMemberships',\n\t\t\t\t\t\t\tcontain: ['blogposts'],\n\t\t\t\t\t\t\tlookup: ['blogposts'],\n\t\t\t\t\t\t\tlimit: 10\n\t\t }\"\n\t\t v-slot=\"{ \n\t\t items \n\t\t }\"\n\t\t >\n\t\t \t<CardOrganization \n\t \t\t\tv-for=\"organization in items\"\n\t \t:key=\"organization._id\" \n\t\t \t:organization=\"organization\"\n\t\t \t:user=\"auth.state.user\"\n\t\t \t:showProducts=\"false\"\n\t\t \t:showRating=\"false\"\n\t\t \t:showFeatured=\"false\"\n\t\t \t:showFollowers=\"false\"\n\t\t\t\t\t\t@updateMembership=\"handleMembershipUpdate\"\n\t\t\t\t\t\tclass=\"mn-b-thin pd-small w-100 pd-0 bg-white radius-big o-hidden\"\n\t\t\t />\n\t\t </Feed>\n\t\t\t</transition>\n\t\t</div>\n</div>\n</template>\n\n<script setup=\"props\">\n\timport { computed,onMounted, toRefs,ref } from 'vue'\n import { useRoute,useRouter } from 'vue-router'\n\n\timport Select from '@pf/src/components/Select/Select.vue'\n\timport Feed from '@pf/src/components/Feed/Feed.vue'\n\timport CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'\n\n\n \t// Import state\n\timport * as blog from '@pf/src/modules/community/store/blogposts.js';\n\timport * as auth from '@pf/src/modules/auth/views/store/auth'\n\timport * as organizations from '@pf/src/modules/organizations/store/organizations'\n\timport * as memberships from '@pf/src/modules/organizations/store/memberships'\n\n\t// State\n\tconst route = useRoute();\n\tconst router = useRouter();\n\n\tif (route.params.category === 'popular') blog.state.sort.param = 'views'; \n\tif (route.params.category === 'new') blog.state.sort.param = 'createdAt'; \n\n\n\tconst handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {\n\t memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)\n\t};\n\n</script>\n\n<style lang=\"scss\">\n\n</style>\n"],"names":["useRoute","useRouter","blog.state","memberships.mutations","organizations.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA2GC,UAAM,QAAQA,UAAAA;AACCC,wBAAY;AAE3B,QAAI,MAAM,OAAO,aAAa,UAAWC,WAAAA,MAAW,KAAK,QAAQ;AACjE,QAAI,MAAM,OAAO,aAAa,MAAOA,WAAAA,MAAW,KAAK,QAAQ;AAG7D,UAAM,yBAAyB,CAAC,EAAE,YAAY,QAAQ,OAAQ,GAAE,YAAY,iBAAiB;AAC3FC,4BAAsB,uBAAuBC,cAAAA,MAAoB,SAAS,YAAY,QAAQ,QAAQ,YAAY,YAAY;AAAA,IACjI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,106 +1,46 @@
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, createElementVNode,
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, createElementVNode, unref, createVNode, createCommentVNode, withCtx, Transition, createBlock, resolveDynamicComponent, createTextVNode, Fragment, renderList } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
3
|
import Select from "../../../../components/Select/Select.vue2.js";
|
4
|
-
import _sfc_main$
|
5
|
-
import _sfc_main$
|
6
|
-
import _sfc_main$1 from "../../../icons/entities/IconFeatured.vue.js";
|
7
|
-
import _sfc_main$2 from "../../../icons/entities/IconPopular.vue.js";
|
8
|
-
import _sfc_main$3 from "../../../icons/entities/IconRecent.vue.js";
|
9
|
-
import _sfc_main$4 from "../../../icons/entities/IconFollowing.vue.js";
|
4
|
+
import _sfc_main$1 from "../../../../components/Feed/Feed.vue.js";
|
5
|
+
import _sfc_main$2 from "../../../organizations/components/blocks/CardOrganization.vue.js";
|
10
6
|
import { state } from "../../store/blogposts.js";
|
11
7
|
import { state as state$1 } from "../../../auth/views/store/auth.js";
|
12
8
|
import { actions, state as state$2 } from "../../../organizations/store/organizations.js";
|
13
9
|
import { mutations } from "../../../organizations/store/memberships.js";
|
14
10
|
const _hoisted_1 = {
|
15
|
-
style: { "grid-template-columns": "
|
11
|
+
style: { "grid-template-columns": "4fr 2fr", "grid-template-rows": "1fr auto" },
|
16
12
|
class: "cols-3 gap-thin pd-t-zero pd-thin mobile:pd-zero"
|
17
13
|
};
|
18
|
-
const _hoisted_2 = { class: "
|
19
|
-
const _hoisted_3 = {
|
20
|
-
const _hoisted_4 = {
|
14
|
+
const _hoisted_2 = { class: "pos-relative" };
|
15
|
+
const _hoisted_3 = {
|
21
16
|
key: 0,
|
22
17
|
class: "bg-white pd-medium radius-medium mobile:radius-zero t-black pos-relative mn-b-thin flex-v-center t-left flex-nowrap flex"
|
23
18
|
};
|
24
|
-
const
|
25
|
-
const
|
26
|
-
const
|
19
|
+
const _hoisted_4 = { class: "pos-relative t-nowrap flex-v-center flex-nowrap flex" };
|
20
|
+
const _hoisted_5 = { class: "desktop-only align-self-start bg-white radius-medium pd-medium" };
|
21
|
+
const _hoisted_6 = { class: "gap-thin flex-nowrap flex" };
|
27
22
|
const _sfc_main = {
|
28
23
|
__name: "Community",
|
29
24
|
setup(__props) {
|
30
25
|
const route = useRoute();
|
31
|
-
|
26
|
+
useRouter();
|
32
27
|
if (route.params.category === "popular") state.sort.param = "views";
|
33
28
|
if (route.params.category === "new") state.sort.param = "createdAt";
|
34
29
|
const handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {
|
35
30
|
mutations.handleMembershipUpdate(state$2.current, membership, status, target, statusName, statusNumber);
|
36
31
|
};
|
37
32
|
return (_ctx, _cache) => {
|
38
|
-
const _component_router_link = resolveComponent("router-link");
|
39
33
|
const _component_router_view = resolveComponent("router-view");
|
34
|
+
const _component_router_link = resolveComponent("router-link");
|
40
35
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
41
|
-
createElementVNode("
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
state.sort.param = "createdAt";
|
46
|
-
unref(router).push({ name: "Blog", params: { category: "featured" } });
|
47
|
-
})
|
48
|
-
}, [
|
49
|
-
createVNode(_sfc_main$1, { class: "i-medium mn-r-thin t-transp" }),
|
50
|
-
_cache[5] || (_cache[5] = createTextVNode(" Featured "))
|
51
|
-
], 2),
|
52
|
-
createElementVNode("li", {
|
53
|
-
class: normalizeClass([{ "t-black bg-white": unref(route).params.category === "popular" }, "cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),
|
54
|
-
onClick: _cache[1] || (_cache[1] = () => {
|
55
|
-
state.sort.param = "views";
|
56
|
-
unref(router).push({ name: "Blog", params: { category: "popular" } });
|
57
|
-
})
|
58
|
-
}, [
|
59
|
-
createVNode(_sfc_main$2, { class: "i-medium mn-r-thin t-transp" }),
|
60
|
-
_cache[6] || (_cache[6] = createTextVNode(" Popular "))
|
61
|
-
], 2),
|
62
|
-
createElementVNode("li", {
|
63
|
-
class: normalizeClass([{ "t-black bg-white": unref(route).params.category === "new" }, "cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),
|
64
|
-
onClick: _cache[2] || (_cache[2] = () => {
|
65
|
-
state.sort.param = "createdAt";
|
66
|
-
unref(router).push({ name: "Blog", params: { category: "new" } });
|
67
|
-
})
|
68
|
-
}, [
|
69
|
-
createVNode(_sfc_main$3, { class: "i-medium mn-r-thin t-transp" }),
|
70
|
-
_cache[7] || (_cache[7] = createTextVNode(" Recent "))
|
71
|
-
], 2),
|
72
|
-
state$1.user._id ? (openBlock(), createElementBlock("li", {
|
73
|
-
key: 0,
|
74
|
-
class: normalizeClass([{ "t-black bg-white": unref(route).params.category === "following" }, "cursor-pointer t-medium flex-v-center flex pd-thin radius-extra"]),
|
75
|
-
onClick: _cache[3] || (_cache[3] = () => {
|
76
|
-
state.sort.param = "createdAt";
|
77
|
-
unref(router).push({ name: "Blog", params: { category: "following" } });
|
78
|
-
})
|
79
|
-
}, [
|
80
|
-
createVNode(_sfc_main$4, { class: "i-medium mn-r-thin t-transp" }),
|
81
|
-
_cache[8] || (_cache[8] = createTextVNode(" Following "))
|
82
|
-
], 2)) : createCommentVNode("", true),
|
83
|
-
state$1.user._id ? (openBlock(), createBlock(_component_router_link, {
|
84
|
-
key: 1,
|
85
|
-
to: {
|
86
|
-
name: "Create BlogPost"
|
87
|
-
},
|
88
|
-
class: "button t-medium bg-main w-100"
|
89
|
-
}, {
|
90
|
-
default: withCtx(() => _cache[9] || (_cache[9] = [
|
91
|
-
createTextVNode(" Create Post ")
|
92
|
-
])),
|
93
|
-
_: 1
|
94
|
-
})) : createCommentVNode("", true)
|
95
|
-
]),
|
96
|
-
createElementVNode("section", _hoisted_3, [
|
97
|
-
!unref(route).params.url ? (openBlock(), createElementBlock("header", _hoisted_4, [
|
98
|
-
createElementVNode("h2", _hoisted_5, [
|
99
|
-
_cache[10] || (_cache[10] = createElementVNode("span", { class: "mn-r-thin" }, "Posts for ", -1)),
|
36
|
+
createElementVNode("section", _hoisted_2, [
|
37
|
+
!unref(route).params.url ? (openBlock(), createElementBlock("header", _hoisted_3, [
|
38
|
+
createElementVNode("h2", _hoisted_4, [
|
39
|
+
_cache[1] || (_cache[1] = createElementVNode("span", { class: "mn-r-thin" }, "Posts for ", -1)),
|
100
40
|
createVNode(Select, {
|
101
41
|
options: ["today", "week", "month", "year", "all time"],
|
102
42
|
select: state.filter.period,
|
103
|
-
"onUpdate:select": _cache[
|
43
|
+
"onUpdate:select": _cache[0] || (_cache[0] = ($event) => state.filter.period = $event),
|
104
44
|
placeholder: "all time",
|
105
45
|
class: "t-semi pos-relative w-max bg-main t-black pd-thin radius-medium h2 t-center"
|
106
46
|
}, null, 8, ["select"])
|
@@ -124,9 +64,9 @@ const _sfc_main = {
|
|
124
64
|
_: 1
|
125
65
|
})
|
126
66
|
]),
|
127
|
-
createElementVNode("div",
|
128
|
-
createElementVNode("div",
|
129
|
-
_cache[
|
67
|
+
createElementVNode("div", _hoisted_5, [
|
68
|
+
createElementVNode("div", _hoisted_6, [
|
69
|
+
_cache[3] || (_cache[3] = createElementVNode("p", { class: "t-medium mn-b-small" }, "Popular Communities", -1)),
|
130
70
|
state$1.user._id ? (openBlock(), createBlock(_component_router_link, {
|
131
71
|
key: 0,
|
132
72
|
to: {
|
@@ -134,7 +74,7 @@ const _sfc_main = {
|
|
134
74
|
},
|
135
75
|
class: "t-medium cursor-pointer hover-scale-1 radius-extra flex-center flex i-medium bg-main"
|
136
76
|
}, {
|
137
|
-
default: withCtx(() => _cache[
|
77
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
138
78
|
createTextVNode(" + ")
|
139
79
|
])),
|
140
80
|
_: 1
|
@@ -142,7 +82,7 @@ const _sfc_main = {
|
|
142
82
|
]),
|
143
83
|
createVNode(Transition, { name: "slide-fade" }, {
|
144
84
|
default: withCtx(() => [
|
145
|
-
createVNode(_sfc_main$
|
85
|
+
createVNode(_sfc_main$1, {
|
146
86
|
states: {
|
147
87
|
empty: {
|
148
88
|
title: "No Organization Found",
|
@@ -165,7 +105,7 @@ const _sfc_main = {
|
|
165
105
|
items
|
166
106
|
}) => [
|
167
107
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (organization) => {
|
168
|
-
return openBlock(), createBlock(_sfc_main$
|
108
|
+
return openBlock(), createBlock(_sfc_main$2, {
|
169
109
|
key: organization._id,
|
170
110
|
organization,
|
171
111
|
user: state$1.user,
|
package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Community.vue.js","sources":["../../../../../../../src/modules/community/components/layouts/Community.vue"],"sourcesContent":["<template>\n\t<div style=\"grid-template-columns:
|
1
|
+
{"version":3,"file":"Community.vue.js","sources":["../../../../../../../src/modules/community/components/layouts/Community.vue"],"sourcesContent":["<template>\n\t<div style=\"grid-template-columns: 4fr 2fr; grid-template-rows: 1fr auto;\" class=\"cols-3 gap-thin pd-t-zero pd-thin mobile:pd-zero \">\n\t\t<section class=\"pos-relative\">\n\n\t\t\t<header v-if=\"!route.params.url\" class=\"bg-white pd-medium radius-medium mobile:radius-zero t-black pos-relative mn-b-thin flex-v-center t-left flex-nowrap flex\">\n\t \t<h2 class=\"pos-relative t-nowrap flex-v-center flex-nowrap flex\">\n\t \t\t<span class=\"mn-r-thin\">Posts for </span>\n\n\t \t\t<Select \n\t\t :options=\"['today','week','month','year','all time']\"\n\t\t v-model:select=\"blog.state.filter.period\" \n\t\t placeholder=\"all time\"\n\t\t class=\"\n\t\t \tt-semi\n\t\t \tpos-relative \n\t\t \tw-max\n\t\t \tbg-main t-black\n\t\t \tpd-thin\n\t\t \tradius-medium\n\t\t h2\n\t\t \tt-center\n\t\t \"\n\t\t />\n\t \t</h2>\n\t\t\t</header>\n\n\t\t\t<router-view v-slot=\"{ Component, route }\">\n\t\t\t\t<transition name=\"scaleIn\" mode=\"out-in\">\n\t\t\t\t\t<component ref=\"page\" :key=\"route.query\" :is=\"Component\" />\n\t\t\t\t</transition>\n\t\t\t</router-view>\n\n\t\t</section>\n\n\t\t<div class=\"desktop-only align-self-start bg-white radius-medium pd-medium\">\n\t\t\t<div class=\"gap-thin flex-nowrap flex\">\n\t\t\t\t<p class=\"t-medium mn-b-small\">Popular Communities</p>\n\t\t\t\t\n\t\t\t\t<router-link \n\t\t\t\t\tv-if=\"auth.state.user._id\"\n\t\t\t\t\t:to=\"{\n\t\t\t\t\t\tname: 'Create Organization'\n\t\t\t\t\t}\"\n\t\t\t\t\tclass=\"t-medium cursor-pointer hover-scale-1 radius-extra flex-center flex i-medium bg-main\"\n\t\t\t\t>\n\t\t\t\t\t+\n\t\t\t\t</router-link>\n\t\t\t</div>\n\n\n\t\t\t<transition name=\"slide-fade\">\n\t\t\t\t<Feed\n\t\t :states=\"{\n\t\t empty: {\n\t\t title: 'No Organization Found',\n\t\t description: 'Currently, there are no organization available.'\n\t\t }\n\t\t }\"\n\t\t :store=\"{\n\t\t read: (options) => organizations.actions.read(options),\n\t\t state: organizations.state\n\t\t }\"\n\t\t :options=\"{\n\t\t \tuser: auth.state.user._id,\n\t\t\t\t\t\t\tsort: 'numberOfMemberships',\n\t\t\t\t\t\t\tcontain: ['blogposts'],\n\t\t\t\t\t\t\tlookup: ['blogposts'],\n\t\t\t\t\t\t\tlimit: 10\n\t\t }\"\n\t\t v-slot=\"{ \n\t\t items \n\t\t }\"\n\t\t >\n\t\t \t<CardOrganization \n\t \t\t\tv-for=\"organization in items\"\n\t \t:key=\"organization._id\" \n\t\t \t:organization=\"organization\"\n\t\t \t:user=\"auth.state.user\"\n\t\t \t:showProducts=\"false\"\n\t\t \t:showRating=\"false\"\n\t\t \t:showFeatured=\"false\"\n\t\t \t:showFollowers=\"false\"\n\t\t\t\t\t\t@updateMembership=\"handleMembershipUpdate\"\n\t\t\t\t\t\tclass=\"mn-b-thin pd-small w-100 pd-0 bg-white radius-big o-hidden\"\n\t\t\t />\n\t\t </Feed>\n\t\t\t</transition>\n\t\t</div>\n</div>\n</template>\n\n<script setup=\"props\">\n\timport { computed,onMounted, toRefs,ref } from 'vue'\n import { useRoute,useRouter } from 'vue-router'\n\n\timport Select from '@pf/src/components/Select/Select.vue'\n\timport Feed from '@pf/src/components/Feed/Feed.vue'\n\timport CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'\n\n\n \t// Import state\n\timport * as blog from '@pf/src/modules/community/store/blogposts.js';\n\timport * as auth from '@pf/src/modules/auth/views/store/auth'\n\timport * as organizations from '@pf/src/modules/organizations/store/organizations'\n\timport * as memberships from '@pf/src/modules/organizations/store/memberships'\n\n\t// State\n\tconst route = useRoute();\n\tconst router = useRouter();\n\n\tif (route.params.category === 'popular') blog.state.sort.param = 'views'; \n\tif (route.params.category === 'new') blog.state.sort.param = 'createdAt'; \n\n\n\tconst handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {\n\t memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)\n\t};\n\n</script>\n\n<style lang=\"scss\">\n\n</style>\n"],"names":["blog.state","memberships.mutations","organizations.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA2GC,UAAM,QAAQ;AACC,cAAY;AAE3B,QAAI,MAAM,OAAO,aAAa,UAAWA,OAAW,KAAK,QAAQ;AACjE,QAAI,MAAM,OAAO,aAAa,MAAOA,OAAW,KAAK,QAAQ;AAG7D,UAAM,yBAAyB,CAAC,EAAE,YAAY,QAAQ,OAAQ,GAAE,YAAY,iBAAiB;AAC3FC,gBAAsB,uBAAuBC,QAAoB,SAAS,YAAY,QAAQ,QAAQ,YAAY,YAAY;AAAA,IACjI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -7,7 +7,7 @@ const EmptyState = require("../../../../components/EmptyState/EmptyState.vue.cjs
|
|
7
7
|
const CardBlogpost = require("../blocks/CardBlogpost.vue.cjs");
|
8
8
|
const SkeletonBlogpost = require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs");
|
9
9
|
const vueRouter = require("vue-router");
|
10
|
-
;/* empty css
|
10
|
+
;/* empty css */
|
11
11
|
;/* empty css */
|
12
12
|
const auth = require("../../../auth/views/store/auth.cjs");
|
13
13
|
require("../../../organizations/store/memberships.cjs");
|
@@ -5,7 +5,7 @@ import _sfc_main$1 from "../../../../components/EmptyState/EmptyState.vue.js";
|
|
5
5
|
import _sfc_main$2 from "../blocks/CardBlogpost.vue.js";
|
6
6
|
import SkeletonBlogpost from "../../../icons/skeletons/SkeletonBlogpost.vue.js";
|
7
7
|
import { useRoute } from "vue-router";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import { state as state$1 } from "../../../auth/views/store/auth.js";
|
11
11
|
import "../../../organizations/store/memberships.js";
|
package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs
CHANGED
@@ -4,7 +4,7 @@ const vue = require("vue");
|
|
4
4
|
require("isomorphic-dompurify");
|
5
5
|
;/* empty css */
|
6
6
|
const Constructor = require("../../../constructor/components/sections/Constructor.vue.cjs");
|
7
|
-
const Popup = require("../../../../components/Popup/Popup.
|
7
|
+
const Popup = require("../../../../components/Popup/Popup.vue.cjs");
|
8
8
|
;/* empty css */
|
9
9
|
;/* empty css */
|
10
10
|
const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
|