@ozdao/prometheus-framework 0.2.249 → 0.2.251

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. package/dist/builder.js +8 -9
  2. package/dist/builder.mjs +8 -9
  3. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  5. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  7. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  9. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  11. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
  12. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
  13. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  26. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  27. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +3 -3
  28. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
  29. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  30. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  31. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +46 -4
  34. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
  35. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +46 -4
  36. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
  37. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  40. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  42. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  43. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
  49. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/events/events.client.cjs +35 -13
  54. package/dist/prometheus-framework/src/modules/events/events.client.cjs.map +1 -1
  55. package/dist/prometheus-framework/src/modules/events/events.client.js +41 -19
  56. package/dist/prometheus-framework/src/modules/events/events.client.js.map +1 -1
  57. package/dist/prometheus-framework/src/modules/events/router/events.cjs +95 -91
  58. package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
  59. package/dist/prometheus-framework/src/modules/events/router/events.js +94 -90
  60. package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
  61. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  64. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  65. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  66. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  68. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  70. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  71. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
  74. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  75. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  77. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +3 -3
  78. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
  79. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +2 -2
  80. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +4 -4
  88. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  93. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
  94. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  95. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
  98. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  99. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
  100. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  101. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +2 -10
  102. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +3 -11
  104. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
  105. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +693 -693
  106. package/dist/prometheus-framework/src/modules/pages/pages.client.js +693 -693
  107. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  108. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  109. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  112. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  113. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  115. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  119. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  121. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
  122. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  123. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
  124. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  125. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
  126. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  127. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
  130. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  131. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  133. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  135. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +3 -3
  136. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  137. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  139. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  141. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +3 -3
  142. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
  143. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +2 -2
  144. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  145. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
  147. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  149. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
  150. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  151. package/package.json +1 -1
  152. package/src/builder/webpack/webpack.config.spa.js +7 -7
  153. package/src/modules/events/components/elements/ButtonCheck.vue +28 -28
  154. package/src/modules/events/components/pages/EventsBackoffice.vue +1 -1
  155. package/src/modules/events/events.client.js +43 -18
  156. package/src/modules/events/router/events.js +79 -66
  157. package/src/modules/governance/governance.client.js +62 -0
  158. package/src/modules/governance/governance.server.js +56 -0
  159. package/src/modules/organizations/router/organizations.js +4 -11
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
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
- const eventsRoutes = [
6
- {
7
- path: "events",
8
- component: layoutEvents.default,
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
- path: ":category?",
18
- name: "Events",
19
- meta: {
20
- title: {
21
- en: "Events",
22
- ru: "События"
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
- title_hide: true
26
+ component: () => Promise.resolve().then(() => require(
27
+ /* webpackChunkName: 'Events' */
28
+ "../components/pages/Events.vue.cjs"
29
+ ))
25
30
  },
26
- component: () => Promise.resolve().then(() => require(
27
- /* webpackChunkName: 'EventList' */
28
- "../components/pages/Events.vue.cjs"
29
- ))
30
- }]
31
- },
32
- {
33
- path: "events/backoffice",
34
- name: "Events Backoffice",
35
- meta: {
36
- title: {
37
- en: "Manage Events",
38
- ru: "Управление Событиями"
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
- authorize: []
41
- },
42
- component: () => Promise.resolve().then(() => require(
43
- /* webpackChunkName: 'CreateEvent' */
44
- "../components/pages/EventsBackoffice.vue.cjs"
45
- ))
46
- },
47
- {
48
- path: "events/create",
49
- name: "Create Event",
50
- meta: {
51
- title: {
52
- en: "Create Event",
53
- ru: "Создать Событие"
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
- authorize: []
56
- },
57
- component: () => Promise.resolve().then(() => require(
58
- /* webpackChunkName: 'CreateEvent' */
59
- "../components/pages/EditEvent.vue.cjs"
60
- ))
61
- },
62
- {
63
- path: "events/:url",
64
- name: "Event",
65
- meta: {
66
- title: {
67
- en: "Event",
68
- ru: "Событие"
69
- }
70
- },
71
- component: () => Promise.resolve().then(() => require(
72
- /* webpackChunkName: 'EventDetail' */
73
- "../components/pages/Event.vue.cjs"
74
- ))
75
- },
76
- {
77
- path: "events/:url/edit",
78
- name: "Edit Event",
79
- meta: {
80
- title: {
81
- en: "Edit Event",
82
- ru: "Редактировать Событие"
83
- }
84
- },
85
- component: () => Promise.resolve().then(() => require(
86
- /* webpackChunkName: 'EditEvent' */
87
- "../components/pages/EditEvent.vue.cjs"
88
- ))
89
- },
90
- {
91
- path: "events/:url/edit/tickets",
92
- name: "Edit Event Tickets",
93
- meta: {
94
- title: {
95
- en: "Event Tickets",
96
- ru: "Билеты События"
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
- component: () => Promise.resolve().then(() => require(
100
- /* webpackChunkName: 'EditEvent' */
101
- "../components/pages/EditEventTickets.vue.cjs"
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 layoutEvents from '../components/layouts/layoutEvents.vue'\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst eventsRoutes = [\n {\n path: 'events',\n component: layoutEvents,\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [{\n path: ':category?',\n name: 'Events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'EventList' */ '../components/pages/Events.vue')\n }]\n },{\n path: 'events/backoffice',\n name: 'Events Backoffice',\n meta: {\n title: {\n en: 'Manage Events',\n ru: 'Управление Событиями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EventsBackoffice.vue')\n },{\n path: 'events/create',\n name: 'Create Event',\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url',\n name: 'Event',\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EventDetail' */ '../components/pages/Event.vue')\n },{\n path: 'events/:url/edit',\n name: 'Edit Event',\n meta: {\n title: {\n en: 'Edit Event',\n ru: 'Редактировать Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url/edit/tickets',\n name: 'Edit Event Tickets',\n meta: {\n title: {\n en: 'Event Tickets',\n ru: 'Билеты События'\n }\n },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEventTickets.vue')\n }\n];\n\nexport default eventsRoutes;\n"],"names":["layoutEvents"],"mappings":";;;;AAGK,MAAC,eAAe;AAAA,EACnB;AAAA,IACE,MAAM;AAAA,IACN,WAAWA,aAAY;AAAA,IACvB,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,UAAU,CAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,YAAY;AAAA,MACb;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAAoC;AAAA,MAAgC,CAAC;AAAA,IACnG,CAAK;AAAA,EACL;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAA0C,CAAC;AAAA,EAC7G;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAAmC,CAAC;AAAA,EACtG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAA+B,CAAC;AAAA,EAClG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAoC;AAAA,IAAmC,CAAC;AAAA,EACpG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAoC;AAAA,IAA0C,CAAC;AAAA,EACxG;AACH;;"}
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
- const eventsRoutes = [
4
- {
5
- path: "events",
6
- component: _sfc_main,
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
- path: ":category?",
16
- name: "Events",
17
- meta: {
18
- title: {
19
- en: "Events",
20
- ru: "События"
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
- title_hide: true
24
+ component: () => import(
25
+ /* webpackChunkName: 'Events' */
26
+ "../components/pages/Events.vue.js"
27
+ )
23
28
  },
24
- component: () => import(
25
- /* webpackChunkName: 'EventList' */
26
- "../components/pages/Events.vue.js"
27
- )
28
- }]
29
- },
30
- {
31
- path: "events/backoffice",
32
- name: "Events Backoffice",
33
- meta: {
34
- title: {
35
- en: "Manage Events",
36
- ru: "Управление Событиями"
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
- authorize: []
39
- },
40
- component: () => import(
41
- /* webpackChunkName: 'CreateEvent' */
42
- "../components/pages/EventsBackoffice.vue.js"
43
- )
44
- },
45
- {
46
- path: "events/create",
47
- name: "Create Event",
48
- meta: {
49
- title: {
50
- en: "Create Event",
51
- ru: "Создать Событие"
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
- authorize: []
54
- },
55
- component: () => import(
56
- /* webpackChunkName: 'CreateEvent' */
57
- "../components/pages/EditEvent.vue.js"
58
- )
59
- },
60
- {
61
- path: "events/:url",
62
- name: "Event",
63
- meta: {
64
- title: {
65
- en: "Event",
66
- ru: "Событие"
67
- }
68
- },
69
- component: () => import(
70
- /* webpackChunkName: 'EventDetail' */
71
- "../components/pages/Event.vue.js"
72
- )
73
- },
74
- {
75
- path: "events/:url/edit",
76
- name: "Edit Event",
77
- meta: {
78
- title: {
79
- en: "Edit Event",
80
- ru: "Редактировать Событие"
81
- }
82
- },
83
- component: () => import(
84
- /* webpackChunkName: 'EditEvent' */
85
- "../components/pages/EditEvent.vue.js"
86
- )
87
- },
88
- {
89
- path: "events/:url/edit/tickets",
90
- name: "Edit Event Tickets",
91
- meta: {
92
- title: {
93
- en: "Event Tickets",
94
- ru: "Билеты События"
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
- component: () => import(
98
- /* webpackChunkName: 'EditEvent' */
99
- "../components/pages/EditEventTickets.vue.js"
100
- )
101
- }
102
- ];
103
+ ]
104
+ };
105
+ return routes;
106
+ }
103
107
  export {
104
- eventsRoutes as default
108
+ createEventRoutes
105
109
  };
106
110
  //# sourceMappingURL=events.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import layoutEvents from '../components/layouts/layoutEvents.vue'\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst eventsRoutes = [\n {\n path: 'events',\n component: layoutEvents,\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [{\n path: ':category?',\n name: 'Events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'EventList' */ '../components/pages/Events.vue')\n }]\n },{\n path: 'events/backoffice',\n name: 'Events Backoffice',\n meta: {\n title: {\n en: 'Manage Events',\n ru: 'Управление Событиями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EventsBackoffice.vue')\n },{\n path: 'events/create',\n name: 'Create Event',\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url',\n name: 'Event',\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EventDetail' */ '../components/pages/Event.vue')\n },{\n path: 'events/:url/edit',\n name: 'Edit Event',\n meta: {\n title: {\n en: 'Edit Event',\n ru: 'Редактировать Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url/edit/tickets',\n name: 'Edit Event Tickets',\n meta: {\n title: {\n en: 'Event Tickets',\n ru: 'Билеты События'\n }\n },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEventTickets.vue')\n }\n];\n\nexport default eventsRoutes;\n"],"names":["layoutEvents"],"mappings":";;AAGK,MAAC,eAAe;AAAA,EACnB;AAAA,IACE,MAAM;AAAA,IACN,WAAWA;AAAAA,IACX,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,UAAU,CAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,YAAY;AAAA,MACb;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAA2C;AAAA,MAAgC;AAAA,IAClG,CAAK;AAAA,EACL;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM;AAAA;AAAA,MAA6C;AAAA,IAA0C;AAAA,EAC5G;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM;AAAA;AAAA,MAA6C;AAAA,IAAmC;AAAA,EACrG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM;AAAA;AAAA,MAA6C;AAAA,IAA+B;AAAA,EACjG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM;AAAA;AAAA,MAA2C;AAAA,IAAmC;AAAA,EACnG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM;AAAA;AAAA,MAA2C;AAAA,IAA0C;AAAA,EACvG;AACH;"}
1
+ {"version":3,"file":"events.js","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;AAAA;AAAA,UAAwC;AAAA,QAAgC;AAAA,MAC1F;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;AAAA;AAAA,UAAwC;AAAA,QAA0C;AAAA,MACpG;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;AAAA;AAAA,UAAwC;AAAA,QAAmC;AAAA,MAC7F;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;AAAA;AAAA,UAAwC;AAAA,QAA+B;AAAA,MACzF;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;AAAA;AAAA,UAAwC;AAAA,QAAmC;AAAA,MAC7F;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;AAAA;AAAA,UAAwC;AAAA,QAA0C;AAAA,MACpG;AAAA,IACF;AAAA,EACF;AAED,SAAO;AACT;"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
5
- const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
5
+ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
6
6
  const PhotoViewer = require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");
7
7
  const SectionPageTitle = require("../../../globals/views/components/sections/SectionPageTitle.vue.cjs");
8
8
  const gallery = require("../../store/gallery.cjs");
@@ -1,6 +1,6 @@
1
1
  import { ref, openBlock, createElementBlock, createVNode, withCtx, unref, isRef, Fragment, renderList, createElementVNode } from "vue";
2
2
  import _sfc_main$4 from "../../../../components/Feed/Feed.vue.js";
3
- import _sfc_main$2 from "../../../../components/Popup/Popup.vue2.js";
3
+ import _sfc_main$2 from "../../../../components/Popup/Popup.vue.js";
4
4
  import _sfc_main$3 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
5
5
  import _sfc_main$1 from "../../../globals/views/components/sections/SectionPageTitle.vue.js";
6
6
  import gallery from "../../store/gallery.js";
@@ -3,11 +3,11 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  ;/* empty css */
6
- const Button = require("../../../../components/Button/Button.vue2.cjs");
7
- ;/* empty css */
6
+ const Button = require("../../../../components/Button/Button.vue.cjs");
7
+ ;/* empty css */
8
8
  const Chips = require("../../../../components/Chips/Chips.vue.cjs");
9
9
  ;/* empty css */
10
- const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
10
+ const Popup = require("../../../../components/Popup/Popup.vue.cjs");
11
11
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
12
12
  const PhotoViewer = require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs");
13
13
  const auth = require("../../../auth/views/store/auth.cjs");
@@ -1,11 +1,11 @@
1
1
  import { ref, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, Fragment, renderList, createElementVNode, toDisplayString, createBlock, createCommentVNode, createTextVNode } from "vue";
2
2
  import { useRoute } from "vue-router";
3
3
  /* empty css */
4
- import _sfc_main$9 from "../../../../components/Button/Button.vue2.js";
5
- /* empty css */
4
+ import _sfc_main$9 from "../../../../components/Button/Button.vue.js";
5
+ /* empty css */
6
6
  import _sfc_main$4 from "../../../../components/Chips/Chips.vue.js";
7
7
  /* empty css */
8
- import _sfc_main$5 from "../../../../components/Popup/Popup.vue2.js";
8
+ import _sfc_main$5 from "../../../../components/Popup/Popup.vue.js";
9
9
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
10
10
  import _sfc_main$6 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
11
11
  import { state } from "../../../auth/views/store/auth.js";
@@ -6,8 +6,8 @@ const PlaceholderUserpic = require("../../../../icons/placeholders/PlaceholderUs
6
6
  const FormReport = require("../../../../reports/components/sections/FormReport.vue.cjs");
7
7
  const Tooltip = require("../../../../../components/Tooltip/Tooltip.vue2.cjs");
8
8
  const Dropdown = require("../../../../../components/Dropdown/Dropdown.vue.cjs");
9
- ;/* empty css */
10
- ;/* empty css */
9
+ ;/* empty css */
10
+ ;/* empty css */
11
11
  require("../../../../auth/views/store/auth.cjs");
12
12
  require("../../../../organizations/store/memberships.cjs");
13
13
  const IconEllipsis = require("../../../../icons/navigation/IconEllipsis.vue.cjs");
@@ -4,8 +4,8 @@ import PlaceholderUserpic from "../../../../icons/placeholders/PlaceholderUserpi
4
4
  import _sfc_main$4 from "../../../../reports/components/sections/FormReport.vue.js";
5
5
  import _sfc_main$1 from "../../../../../components/Tooltip/Tooltip.vue2.js";
6
6
  import _sfc_main$2 from "../../../../../components/Dropdown/Dropdown.vue.js";
7
- /* empty css */
8
- /* empty css */
7
+ /* empty css */
8
+ /* empty css */
9
9
  import "../../../../auth/views/store/auth.js";
10
10
  import "../../../../organizations/store/memberships.js";
11
11
  import _sfc_main$3 from "../../../../icons/navigation/IconEllipsis.vue.js";
@@ -4,8 +4,8 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const globals = require("../../store/globals.cjs");
6
6
  const Status = require("../../../../../components/Status/Status.vue.cjs");
7
- const Popup = require("../../../../../components/Popup/Popup.vue2.cjs");
8
- const Loader = require("../../../../../components/Loader/Loader.vue2.cjs");
7
+ const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
8
+ const Loader = require("../../../../../components/Loader/Loader.vue.cjs");
9
9
  const BottomNavigationBar = require("../partials/BottomNavigationBar.vue.cjs");
10
10
  const NavigationBar = require("../partials/NavigationBar.vue.cjs");
11
11
  const LocationSelection = require("../partials/LocationSelection.vue.cjs");
@@ -2,8 +2,8 @@ import { ref, computed, onMounted, resolveComponent, openBlock, createElementBlo
2
2
  import { useRoute } from "vue-router";
3
3
  import { state } from "../../store/globals.js";
4
4
  import _sfc_main$5 from "../../../../../components/Status/Status.vue.js";
5
- import _sfc_main$2 from "../../../../../components/Popup/Popup.vue2.js";
6
- import Loader from "../../../../../components/Loader/Loader.vue2.js";
5
+ import _sfc_main$2 from "../../../../../components/Popup/Popup.vue.js";
6
+ import Loader from "../../../../../components/Loader/Loader.vue.js";
7
7
  import _sfc_main$6 from "../partials/BottomNavigationBar.vue.js";
8
8
  import _sfc_main$1 from "../partials/NavigationBar.vue.js";
9
9
  import _sfc_main$3 from "../partials/LocationSelection.vue.js";
@@ -7,8 +7,8 @@ const globals = require("../../store/globals.cjs");
7
7
  const shopcart = require("../../../../orders/store/shopcart.cjs");
8
8
  const auth = require("../../../../auth/views/store/auth.cjs");
9
9
  ;/* empty css */
10
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
11
- const Select = require("../../../../../components/Select/Select.vue2.cjs");
10
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
11
+ const Select = require("../../../../../components/Select/Select.vue.cjs");
12
12
  const Checkbox = require("../../../../../components/Checkbox/Checkbox.vue.cjs");
13
13
  const IconShopcart = require("../../../../icons/entities/IconShopcart.vue.cjs");
14
14
  const IconProfile = require("../../../../icons/entities/IconProfile.vue.cjs");
@@ -5,8 +5,8 @@ import { state, actions as actions$1 } from "../../store/globals.js";
5
5
  import { actions, getters } from "../../../../orders/store/shopcart.js";
6
6
  import { state as state$1 } from "../../../../auth/views/store/auth.js";
7
7
  /* empty css */
8
- import _sfc_main$2 from "../../../../../components/Button/Button.vue2.js";
9
- import Select from "../../../../../components/Select/Select.vue2.js";
8
+ import _sfc_main$2 from "../../../../../components/Button/Button.vue.js";
9
+ import Select from "../../../../../components/Select/Select.vue.js";
10
10
  import _sfc_main$1 from "../../../../../components/Checkbox/Checkbox.vue.js";
11
11
  import _sfc_main$3 from "../../../../icons/entities/IconShopcart.vue.js";
12
12
  import _sfc_main$4 from "../../../../icons/entities/IconProfile.vue.js";
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
5
5
  const vueI18n = require("vue-i18n");
6
6
  const IconShopcart = require("../../../../icons/entities/IconShopcart.vue.cjs");
7
7
  const IconProfile = require("../../../../icons/entities/IconProfile.vue.cjs");
8
- const Button = require("../../../../../components/Button/Button.vue2.cjs");
8
+ const Button = require("../../../../../components/Button/Button.vue.cjs");
9
9
  require("../../store/globals.cjs");
10
10
  const shopcart = require("../../../../orders/store/shopcart.cjs");
11
11
  const auth = require("../../../../auth/views/store/auth.cjs");
@@ -3,7 +3,7 @@ import { useRouter, useRoute } from "vue-router";
3
3
  import { useI18n } from "vue-i18n";
4
4
  import _sfc_main$2 from "../../../../icons/entities/IconShopcart.vue.js";
5
5
  import _sfc_main$3 from "../../../../icons/entities/IconProfile.vue.js";
6
- import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
6
+ import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
7
7
  import "../../store/globals.js";
8
8
  import { actions, getters } from "../../../../orders/store/shopcart.js";
9
9
  import { state } from "../../../../auth/views/store/auth.js";