@ozdao/prometheus-framework 0.2.250 → 0.2.251
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/builder.js +8 -9
- package/dist/builder.mjs +8 -9
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +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/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +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/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/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/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
- 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 +0 -1
- 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 +0 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.cjs +35 -13
- package/dist/prometheus-framework/src/modules/events/events.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.js +41 -19
- package/dist/prometheus-framework/src/modules/events/events.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +95 -91
- package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +94 -90
- package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/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 +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.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/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/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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +2 -10
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +3 -11
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +590 -590
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +590 -590
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- 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/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/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/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.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/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 +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
- 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/users/components/pages/Profile.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
- 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/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/package.json +1 -1
- package/src/builder/webpack/webpack.config.spa.js +7 -7
- package/src/modules/events/components/elements/ButtonCheck.vue +11 -11
- package/src/modules/events/components/pages/EventsBackoffice.vue +1 -1
- package/src/modules/events/events.client.js +43 -18
- package/src/modules/events/router/events.js +79 -66
- package/src/modules/governance/governance.client.js +62 -0
- package/src/modules/governance/governance.server.js +56 -0
- package/src/modules/organizations/router/organizations.js +4 -11
package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map
CHANGED
@@ -1 +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
|
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 Manage 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,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const events = require("./store/events.cjs");
|
4
|
+
const events$1 = require("./router/events.cjs");
|
3
5
|
const CardEvent = require("./components/blocks/CardEvent.vue.cjs");
|
4
6
|
const Feed = require("./components/sections/Feed.vue.cjs");
|
5
7
|
const List = require("./components/sections/List.vue.cjs");
|
@@ -8,16 +10,36 @@ const layoutEvents = require("./components/layouts/layoutEvents.vue.cjs");
|
|
8
10
|
const EditEvent = require("./components/pages/EditEvent.vue.cjs");
|
9
11
|
const Event = require("./components/pages/Event.vue.cjs");
|
10
12
|
const Events = require("./components/pages/Events.vue.cjs");
|
11
|
-
|
12
|
-
const
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
13
|
+
function initializeEvents(app, store, router, options = {}) {
|
14
|
+
const route = options.route || "Home";
|
15
|
+
const routesEvents = events$1.createEventRoutes();
|
16
|
+
router.addRoute(route, routesEvents);
|
17
|
+
store.addStore("events", events);
|
18
|
+
}
|
19
|
+
const ModuleEvents = {
|
20
|
+
initialize: initializeEvents,
|
21
|
+
views: {
|
22
|
+
store: {
|
23
|
+
storeEvents: events
|
24
|
+
},
|
25
|
+
router: {
|
26
|
+
createEventRoutes: events$1.createEventRoutes
|
27
|
+
},
|
28
|
+
components: {
|
29
|
+
// Blocks
|
30
|
+
CardEvent: CardEvent.default,
|
31
|
+
// Sections
|
32
|
+
Feed: Feed.default,
|
33
|
+
List: List.default,
|
34
|
+
FeaturedEvents: FeaturedEvents.default,
|
35
|
+
// Layouts
|
36
|
+
EventsLayout: layoutEvents.default,
|
37
|
+
// Pages
|
38
|
+
EditEvent: EditEvent.default,
|
39
|
+
EventPage: Event.default,
|
40
|
+
EventsPage: Events.default
|
41
|
+
}
|
42
|
+
}
|
43
|
+
};
|
44
|
+
exports.default = ModuleEvents;
|
23
45
|
//# sourceMappingURL=events.client.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.client.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"events.client.cjs","sources":["../../../../../src/modules/events/events.client.js"],"sourcesContent":["// Store\nimport * as storeEvents from './store/events.js';\n\n// Router\nimport { createEventRoutes } from './router/events';\n\n// Views\nimport CardEvent from './components/blocks/CardEvent.vue';\nimport Feed from './components/sections/Feed.vue';\nimport List from './components/sections/List.vue';\nimport FeaturedEvents from './components/sections/FeaturedEvents.vue';\nimport EventsLayout from './components/layouts/layoutEvents.vue';\nimport EditEvent from './components/pages/EditEvent.vue';\nimport EventPage from './components/pages/Event.vue';\nimport EventsPage from './components/pages/Events.vue';\n\n// Пример функции инициализации для модуля событий\nfunction initializeEvents(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const routesEvents = createEventRoutes();\n \n router.addRoute(route, routesEvents);\n \n store.addStore('events', storeEvents);\n}\n\nconst ModuleEvents = {\n initialize: initializeEvents,\n views: {\n store: {\n storeEvents\n },\n router: {\n createEventRoutes\n },\n components: {\n // Blocks\n CardEvent,\n // Sections\n Feed,\n List,\n FeaturedEvents,\n // Layouts\n EventsLayout,\n // Pages\n EditEvent,\n EventPage,\n EventsPage\n }\n }\n}\n\nexport default ModuleEvents;\n"],"names":["createEventRoutes","storeEvents","CardEvent","Feed","List","FeaturedEvents","EventsLayout","EditEvent","EventPage","EventsPage"],"mappings":";;;;;;;;;;;;AAiBA,SAAS,iBAAiB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC1D,QAAM,QAAQ,QAAQ,SAAS;AAE/B,QAAM,eAAeA,SAAAA;AAErB,SAAO,SAAS,OAAO,YAAY;AAEnC,QAAM,SAAS,UAAUC,MAAW;AACtC;AAEK,MAAC,eAAe;AAAA,EACnB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,aAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACZ,mBAAMD,SAAiB;AAAA,IAClB;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,WAAME,UAAS;AAAA;AAAA,MAEf,MAAMC,KAAI;AAAA,MACV,MAAMC,KAAI;AAAA,MACV,gBAAMC,eAAc;AAAA;AAAA,MAEpB,cAAMC,aAAY;AAAA;AAAA,MAElB,WAAMC,UAAS;AAAA,MACf,WAAMC,MAAS;AAAA,MACf,YAAMC,OAAU;AAAA,IACX;AAAA,EACF;AACH;;"}
|
@@ -1,23 +1,45 @@
|
|
1
|
-
import { default as default2 } from "./components/blocks/CardEvent.vue.js";
|
2
|
-
import { default as default3 } from "./components/sections/Feed.vue.js";
|
3
|
-
import { default as default4 } from "./components/sections/List.vue.js";
|
4
|
-
import { default as default5 } from "./components/sections/FeaturedEvents.vue.js";
|
5
|
-
import { default as default6 } from "./components/layouts/layoutEvents.vue.js";
|
6
|
-
import { default as default7 } from "./components/pages/EditEvent.vue.js";
|
7
|
-
import { default as default8 } from "./components/pages/Event.vue.js";
|
8
|
-
import { default as default9 } from "./components/pages/Events.vue.js";
|
9
1
|
import * as events from "./store/events.js";
|
10
|
-
import {
|
2
|
+
import { createEventRoutes } from "./router/events.js";
|
3
|
+
import _sfc_main from "./components/blocks/CardEvent.vue.js";
|
4
|
+
import _sfc_main$1 from "./components/sections/Feed.vue.js";
|
5
|
+
import _sfc_main$2 from "./components/sections/List.vue.js";
|
6
|
+
import _sfc_main$3 from "./components/sections/FeaturedEvents.vue.js";
|
7
|
+
import _sfc_main$4 from "./components/layouts/layoutEvents.vue.js";
|
8
|
+
import _sfc_main$5 from "./components/pages/EditEvent.vue.js";
|
9
|
+
import _sfc_main$6 from "./components/pages/Event.vue.js";
|
10
|
+
import _sfc_main$7 from "./components/pages/Events.vue.js";
|
11
|
+
function initializeEvents(app, store, router, options = {}) {
|
12
|
+
const route = options.route || "Home";
|
13
|
+
const routesEvents = createEventRoutes();
|
14
|
+
router.addRoute(route, routesEvents);
|
15
|
+
store.addStore("events", events);
|
16
|
+
}
|
17
|
+
const ModuleEvents = {
|
18
|
+
initialize: initializeEvents,
|
19
|
+
views: {
|
20
|
+
store: {
|
21
|
+
storeEvents: events
|
22
|
+
},
|
23
|
+
router: {
|
24
|
+
createEventRoutes
|
25
|
+
},
|
26
|
+
components: {
|
27
|
+
// Blocks
|
28
|
+
CardEvent: _sfc_main,
|
29
|
+
// Sections
|
30
|
+
Feed: _sfc_main$1,
|
31
|
+
List: _sfc_main$2,
|
32
|
+
FeaturedEvents: _sfc_main$3,
|
33
|
+
// Layouts
|
34
|
+
EventsLayout: _sfc_main$4,
|
35
|
+
// Pages
|
36
|
+
EditEvent: _sfc_main$5,
|
37
|
+
EventPage: _sfc_main$6,
|
38
|
+
EventsPage: _sfc_main$7
|
39
|
+
}
|
40
|
+
}
|
41
|
+
};
|
11
42
|
export {
|
12
|
-
|
13
|
-
default7 as EditEvent,
|
14
|
-
default8 as EventPage,
|
15
|
-
default6 as EventsLayout,
|
16
|
-
default9 as EventsPage,
|
17
|
-
default5 as FeaturedEvents,
|
18
|
-
default3 as Feed,
|
19
|
-
default4 as List,
|
20
|
-
default10 as eventsRoutes,
|
21
|
-
events as eventsStore
|
43
|
+
ModuleEvents as default
|
22
44
|
};
|
23
45
|
//# sourceMappingURL=events.client.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"events.client.js","sources":["../../../../../src/modules/events/events.client.js"],"sourcesContent":["// Store\nimport * as storeEvents from './store/events.js';\n\n// Router\nimport { createEventRoutes } from './router/events';\n\n// Views\nimport CardEvent from './components/blocks/CardEvent.vue';\nimport Feed from './components/sections/Feed.vue';\nimport List from './components/sections/List.vue';\nimport FeaturedEvents from './components/sections/FeaturedEvents.vue';\nimport EventsLayout from './components/layouts/layoutEvents.vue';\nimport EditEvent from './components/pages/EditEvent.vue';\nimport EventPage from './components/pages/Event.vue';\nimport EventsPage from './components/pages/Events.vue';\n\n// Пример функции инициализации для модуля событий\nfunction initializeEvents(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const routesEvents = createEventRoutes();\n \n router.addRoute(route, routesEvents);\n \n store.addStore('events', storeEvents);\n}\n\nconst ModuleEvents = {\n initialize: initializeEvents,\n views: {\n store: {\n storeEvents\n },\n router: {\n createEventRoutes\n },\n components: {\n // Blocks\n CardEvent,\n // Sections\n Feed,\n List,\n FeaturedEvents,\n // Layouts\n EventsLayout,\n // Pages\n EditEvent,\n EventPage,\n EventsPage\n }\n }\n}\n\nexport default ModuleEvents;\n"],"names":["storeEvents","CardEvent","Feed","List","FeaturedEvents","EventsLayout","EditEvent","EventPage","EventsPage"],"mappings":";;;;;;;;;;AAiBA,SAAS,iBAAiB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC1D,QAAM,QAAQ,QAAQ,SAAS;AAE/B,QAAM,eAAe;AAErB,SAAO,SAAS,OAAO,YAAY;AAEnC,QAAM,SAAS,UAAUA,MAAW;AACtC;AAEK,MAAC,eAAe;AAAA,EACnB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,aAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACN;AAAA,IACD;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,WAAMC;AAAAA;AAAAA,MAEN,MAAMC;AAAAA,MACN,MAAMC;AAAAA,MACN,gBAAMC;AAAAA;AAAAA,MAEN,cAAMC;AAAAA;AAAAA,MAEN,WAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,YAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
|
@@ -1,11 +1,10 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const layoutEvents = require("../components/layouts/layoutEvents.vue.cjs");
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
4
3
|
require("../../auth/views/store/auth.cjs");
|
5
|
-
|
6
|
-
{
|
7
|
-
|
8
|
-
|
4
|
+
function createEventRoutes(prefix = "", options = {}) {
|
5
|
+
const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;
|
6
|
+
const routes = {
|
7
|
+
path: options.basePath || "events",
|
9
8
|
meta: {
|
10
9
|
title: {
|
11
10
|
en: "Events",
|
@@ -13,94 +12,99 @@ const eventsRoutes = [
|
|
13
12
|
},
|
14
13
|
title_hide: true
|
15
14
|
},
|
16
|
-
children: [
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
15
|
+
children: [
|
16
|
+
{
|
17
|
+
path: "",
|
18
|
+
name: nameWithPrefix("Events"),
|
19
|
+
meta: {
|
20
|
+
title: {
|
21
|
+
en: "Events",
|
22
|
+
ru: "События"
|
23
|
+
},
|
24
|
+
title_hide: true
|
23
25
|
},
|
24
|
-
|
26
|
+
component: () => Promise.resolve().then(() => require(
|
27
|
+
/* webpackChunkName: 'Events' */
|
28
|
+
"../components/pages/Events.vue.cjs"
|
29
|
+
))
|
25
30
|
},
|
26
|
-
|
27
|
-
|
28
|
-
"
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
31
|
+
{
|
32
|
+
path: "backoffice",
|
33
|
+
name: nameWithPrefix("Events Backoffice"),
|
34
|
+
meta: {
|
35
|
+
title: {
|
36
|
+
en: "Manage Events",
|
37
|
+
ru: "Управление Событиями"
|
38
|
+
},
|
39
|
+
authorize: options.backofficeAuthorize || []
|
40
|
+
},
|
41
|
+
component: () => Promise.resolve().then(() => require(
|
42
|
+
/* webpackChunkName: 'Events' */
|
43
|
+
"../components/pages/EventsBackoffice.vue.cjs"
|
44
|
+
))
|
39
45
|
},
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
46
|
+
{
|
47
|
+
path: "create",
|
48
|
+
name: nameWithPrefix("Create Event"),
|
49
|
+
meta: {
|
50
|
+
title: {
|
51
|
+
en: "Create Event",
|
52
|
+
ru: "Создать Событие"
|
53
|
+
},
|
54
|
+
authorize: options.createEventAuthorize || []
|
55
|
+
},
|
56
|
+
component: () => Promise.resolve().then(() => require(
|
57
|
+
/* webpackChunkName: 'Events' */
|
58
|
+
"../components/pages/EditEvent.vue.cjs"
|
59
|
+
))
|
54
60
|
},
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
}
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
61
|
+
{
|
62
|
+
path: ":url",
|
63
|
+
name: nameWithPrefix("Event"),
|
64
|
+
meta: {
|
65
|
+
title: {
|
66
|
+
en: "Event",
|
67
|
+
ru: "Событие"
|
68
|
+
}
|
69
|
+
},
|
70
|
+
component: () => Promise.resolve().then(() => require(
|
71
|
+
/* webpackChunkName: 'Events' */
|
72
|
+
"../components/pages/Event.vue.cjs"
|
73
|
+
))
|
74
|
+
},
|
75
|
+
{
|
76
|
+
path: ":url/edit",
|
77
|
+
name: nameWithPrefix("Edit Event"),
|
78
|
+
meta: {
|
79
|
+
title: {
|
80
|
+
en: "Edit Event",
|
81
|
+
ru: "Редактировать Событие"
|
82
|
+
},
|
83
|
+
authorize: options.editEventAuthorize || []
|
84
|
+
},
|
85
|
+
component: () => Promise.resolve().then(() => require(
|
86
|
+
/* webpackChunkName: 'Events' */
|
87
|
+
"../components/pages/EditEvent.vue.cjs"
|
88
|
+
))
|
89
|
+
},
|
90
|
+
{
|
91
|
+
path: ":url/edit/tickets",
|
92
|
+
name: nameWithPrefix("Edit Event Tickets"),
|
93
|
+
meta: {
|
94
|
+
title: {
|
95
|
+
en: "Event Tickets",
|
96
|
+
ru: "Билеты События"
|
97
|
+
},
|
98
|
+
authorize: options.editTicketsAuthorize || []
|
99
|
+
},
|
100
|
+
component: () => Promise.resolve().then(() => require(
|
101
|
+
/* webpackChunkName: 'Events' */
|
102
|
+
"../components/pages/EditEventTickets.vue.cjs"
|
103
|
+
))
|
97
104
|
}
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
}
|
104
|
-
];
|
105
|
-
exports.default = eventsRoutes;
|
105
|
+
]
|
106
|
+
};
|
107
|
+
return routes;
|
108
|
+
}
|
109
|
+
exports.createEventRoutes = createEventRoutes;
|
106
110
|
//# sourceMappingURL=events.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.cjs","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import
|
1
|
+
{"version":3,"file":"events.cjs","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nexport function createEventRoutes(prefix = '', options = {}) {\n const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;\n\n const routes = {\n path: options.basePath || 'events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [\n {\n path: '',\n name: nameWithPrefix('Events'),\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/Events.vue')\n },\n {\n path: 'backoffice',\n name: nameWithPrefix('Events Backoffice'),\n meta: {\n title: {\n en: 'Manage Events',\n ru: 'Управление Событиями'\n },\n authorize: options.backofficeAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EventsBackoffice.vue')\n },\n {\n path: 'create',\n name: nameWithPrefix('Create Event'),\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: options.createEventAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEvent.vue')\n },\n {\n path: ':url',\n name: nameWithPrefix('Event'),\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/Event.vue')\n },\n {\n path: ':url/edit',\n name: nameWithPrefix('Edit Event'),\n meta: {\n title: {\n en: 'Edit Event',\n ru: 'Редактировать Событие'\n },\n authorize: options.editEventAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEvent.vue')\n },\n {\n path: ':url/edit/tickets',\n name: nameWithPrefix('Edit Event Tickets'),\n meta: {\n title: {\n en: 'Event Tickets',\n ru: 'Билеты События'\n },\n authorize: options.editTicketsAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEventTickets.vue')\n }\n ]\n }\n\n return routes;\n}\n\n// Example usage:\n// const eventsRoutes = createEventRoutes('Admin', { basePath: 'admin/events' });\n// export default eventsRoutes;"],"names":[],"mappings":";;;AAEO,SAAS,kBAAkB,SAAS,IAAI,UAAU,CAAA,GAAI;AAC3D,QAAM,iBAAiB,CAAC,SAAS,SAAS,GAAG,MAAM,GAAG,IAAI,KAAK;AAE/D,QAAM,SAAS;AAAA,IACb,MAAM,QAAQ,YAAY;AAAA,IAC1B,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,QAAQ;AAAA,QAC7B,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,YAAY;AAAA,QACb;AAAA,QACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,UAAiC;AAAA,QAAgC,CAAC;AAAA,MAC3F;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,mBAAmB;AAAA,QACxC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,uBAAuB,CAAE;AAAA,QAC7C;AAAA,QACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,UAAiC;AAAA,QAA0C,CAAC;AAAA,MACrG;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,cAAc;AAAA,QACnC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,wBAAwB,CAAE;AAAA,QAC9C;AAAA,QACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,UAAiC;AAAA,QAAmC,CAAC;AAAA,MAC9F;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,OAAO;AAAA,QAC5B,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,QACF;AAAA,QACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,UAAiC;AAAA,QAA+B,CAAC;AAAA,MAC1F;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,YAAY;AAAA,QACjC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,sBAAsB,CAAE;AAAA,QAC5C;AAAA,QACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,UAAiC;AAAA,QAAmC,CAAC;AAAA,MAC9F;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,oBAAoB;AAAA,QACzC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,wBAAwB,CAAE;AAAA,QAC9C;AAAA,QACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,UAAiC;AAAA,QAA0C,CAAC;AAAA,MACrG;AAAA,IACF;AAAA,EACF;AAED,SAAO;AACT;;"}
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import _sfc_main from "../components/layouts/layoutEvents.vue.js";
|
2
1
|
import "../../auth/views/store/auth.js";
|
3
|
-
|
4
|
-
{
|
5
|
-
|
6
|
-
|
2
|
+
function createEventRoutes(prefix = "", options = {}) {
|
3
|
+
const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;
|
4
|
+
const routes = {
|
5
|
+
path: options.basePath || "events",
|
7
6
|
meta: {
|
8
7
|
title: {
|
9
8
|
en: "Events",
|
@@ -11,96 +10,101 @@ const eventsRoutes = [
|
|
11
10
|
},
|
12
11
|
title_hide: true
|
13
12
|
},
|
14
|
-
children: [
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
13
|
+
children: [
|
14
|
+
{
|
15
|
+
path: "",
|
16
|
+
name: nameWithPrefix("Events"),
|
17
|
+
meta: {
|
18
|
+
title: {
|
19
|
+
en: "Events",
|
20
|
+
ru: "События"
|
21
|
+
},
|
22
|
+
title_hide: true
|
21
23
|
},
|
22
|
-
|
24
|
+
component: () => import(
|
25
|
+
/* webpackChunkName: 'Events' */
|
26
|
+
"../components/pages/Events.vue.js"
|
27
|
+
)
|
23
28
|
},
|
24
|
-
|
25
|
-
|
26
|
-
"
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
29
|
+
{
|
30
|
+
path: "backoffice",
|
31
|
+
name: nameWithPrefix("Events Backoffice"),
|
32
|
+
meta: {
|
33
|
+
title: {
|
34
|
+
en: "Manage Events",
|
35
|
+
ru: "Управление Событиями"
|
36
|
+
},
|
37
|
+
authorize: options.backofficeAuthorize || []
|
38
|
+
},
|
39
|
+
component: () => import(
|
40
|
+
/* webpackChunkName: 'Events' */
|
41
|
+
"../components/pages/EventsBackoffice.vue.js"
|
42
|
+
)
|
37
43
|
},
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
44
|
+
{
|
45
|
+
path: "create",
|
46
|
+
name: nameWithPrefix("Create Event"),
|
47
|
+
meta: {
|
48
|
+
title: {
|
49
|
+
en: "Create Event",
|
50
|
+
ru: "Создать Событие"
|
51
|
+
},
|
52
|
+
authorize: options.createEventAuthorize || []
|
53
|
+
},
|
54
|
+
component: () => import(
|
55
|
+
/* webpackChunkName: 'Events' */
|
56
|
+
"../components/pages/EditEvent.vue.js"
|
57
|
+
)
|
52
58
|
},
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
}
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
59
|
+
{
|
60
|
+
path: ":url",
|
61
|
+
name: nameWithPrefix("Event"),
|
62
|
+
meta: {
|
63
|
+
title: {
|
64
|
+
en: "Event",
|
65
|
+
ru: "Событие"
|
66
|
+
}
|
67
|
+
},
|
68
|
+
component: () => import(
|
69
|
+
/* webpackChunkName: 'Events' */
|
70
|
+
"../components/pages/Event.vue.js"
|
71
|
+
)
|
72
|
+
},
|
73
|
+
{
|
74
|
+
path: ":url/edit",
|
75
|
+
name: nameWithPrefix("Edit Event"),
|
76
|
+
meta: {
|
77
|
+
title: {
|
78
|
+
en: "Edit Event",
|
79
|
+
ru: "Редактировать Событие"
|
80
|
+
},
|
81
|
+
authorize: options.editEventAuthorize || []
|
82
|
+
},
|
83
|
+
component: () => import(
|
84
|
+
/* webpackChunkName: 'Events' */
|
85
|
+
"../components/pages/EditEvent.vue.js"
|
86
|
+
)
|
87
|
+
},
|
88
|
+
{
|
89
|
+
path: ":url/edit/tickets",
|
90
|
+
name: nameWithPrefix("Edit Event Tickets"),
|
91
|
+
meta: {
|
92
|
+
title: {
|
93
|
+
en: "Event Tickets",
|
94
|
+
ru: "Билеты События"
|
95
|
+
},
|
96
|
+
authorize: options.editTicketsAuthorize || []
|
97
|
+
},
|
98
|
+
component: () => import(
|
99
|
+
/* webpackChunkName: 'Events' */
|
100
|
+
"../components/pages/EditEventTickets.vue.js"
|
101
|
+
)
|
95
102
|
}
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
)
|
101
|
-
}
|
102
|
-
];
|
103
|
+
]
|
104
|
+
};
|
105
|
+
return routes;
|
106
|
+
}
|
103
107
|
export {
|
104
|
-
|
108
|
+
createEventRoutes
|
105
109
|
};
|
106
110
|
//# sourceMappingURL=events.js.map
|