@ozdao/prometheus-framework 0.2.250 → 0.2.252

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) 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 +2 -2
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +2 -2
  5. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  7. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  9. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  11. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +3 -3
  14. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
  24. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  25. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
  26. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  27. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
  32. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +3 -3
  33. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +4 -4
  34. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +4 -4
  35. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
  36. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  37. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +3 -3
  38. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +3 -3
  39. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -2
  44. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -2
  46. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +3 -3
  50. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  51. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +3 -3
  52. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  53. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
  57. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  58. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
  59. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/events/events.client.cjs +35 -13
  64. package/dist/prometheus-framework/src/modules/events/events.client.cjs.map +1 -1
  65. package/dist/prometheus-framework/src/modules/events/events.client.js +41 -19
  66. package/dist/prometheus-framework/src/modules/events/events.client.js.map +1 -1
  67. package/dist/prometheus-framework/src/modules/events/router/events.cjs +95 -91
  68. package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
  69. package/dist/prometheus-framework/src/modules/events/router/events.js +94 -90
  70. package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
  71. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +5 -5
  74. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
  75. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs.map +1 -1
  76. package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
  77. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +3 -3
  80. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +3 -3
  81. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  82. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  83. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  84. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  85. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +3 -3
  88. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  89. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +4 -4
  92. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
  93. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
  94. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  95. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
  96. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
  97. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +5 -5
  106. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
  107. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +4 -4
  110. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  111. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  112. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  113. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +4 -4
  114. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +4 -4
  115. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +3 -3
  118. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  119. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +4 -4
  120. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  121. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +2 -10
  122. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
  123. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +3 -11
  124. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
  125. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +785 -772
  126. package/dist/prometheus-framework/src/modules/pages/pages.client.js +785 -772
  127. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +3 -3
  128. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +3 -3
  129. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
  130. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
  131. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  132. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  133. package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs +5 -7
  134. package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs.map +1 -1
  135. package/dist/prometheus-framework/src/modules/pages/views/store/pages.js +1 -3
  136. package/dist/prometheus-framework/src/modules/pages/views/store/pages.js.map +1 -1
  137. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
  138. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  139. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  141. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  143. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  145. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  147. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  149. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
  150. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  151. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
  152. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  153. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
  154. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  155. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  157. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  159. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  161. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +4 -4
  162. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +4 -4
  163. package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.cjs +128 -0
  164. package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.cjs.map +1 -0
  165. package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.js +128 -0
  166. package/dist/prometheus-framework/src/modules/products/components/sections/MenuSection.vue.js.map +1 -0
  167. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  169. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  171. package/dist/prometheus-framework/src/modules/products/products.client.cjs +2 -0
  172. package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
  173. package/dist/prometheus-framework/src/modules/products/products.client.js +24 -22
  174. package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
  175. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +3 -3
  176. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  177. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  179. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
  180. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
  181. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
  182. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  183. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  185. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +4 -4
  186. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
  187. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +4 -4
  188. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +4 -4
  189. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +2 -2
  190. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  191. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  193. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
  194. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
  195. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +5 -5
  196. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
  197. package/package.json +1 -1
  198. package/src/builder/webpack/webpack.config.spa.js +7 -7
  199. package/src/modules/events/components/elements/ButtonCheck.vue +11 -11
  200. package/src/modules/events/components/pages/EventsBackoffice.vue +1 -1
  201. package/src/modules/events/events.client.js +43 -18
  202. package/src/modules/events/router/events.js +79 -66
  203. package/src/modules/globals/globals.client.js +15 -14
  204. package/src/modules/governance/controllers/factories/initiatives.controller.js +94 -0
  205. package/src/modules/governance/controllers/factories/tasks.controller.js +94 -0
  206. package/src/modules/governance/controllers/factories/votes.controller.js +68 -0
  207. package/src/modules/governance/controllers/factories/votings.controller.js +112 -0
  208. package/src/modules/governance/controllers/routes/initiatives.routes.js +13 -0
  209. package/src/modules/governance/controllers/routes/tasks.routes.js +13 -0
  210. package/src/modules/governance/controllers/routes/votes.routes.js +11 -0
  211. package/src/modules/governance/controllers/routes/votings.routes.js +14 -0
  212. package/src/modules/governance/governance.client.js +62 -0
  213. package/src/modules/governance/governance.server.js +56 -0
  214. package/src/modules/governance/models/initiative.model.js +25 -0
  215. package/src/modules/governance/models/task.model.js +21 -0
  216. package/src/modules/governance/models/vote.model.js +20 -0
  217. package/src/modules/governance/models/voting.model.js +22 -0
  218. package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +18 -0
  219. package/src/modules/governance/views/components/blocks/CardTaskItem.vue +19 -0
  220. package/src/modules/governance/views/components/blocks/CardVotingItem.vue +18 -0
  221. package/src/modules/governance/views/components/pages/Initiative.vue +22 -0
  222. package/src/modules/governance/views/components/pages/InitiativeCreate.vue +24 -0
  223. package/src/modules/governance/views/components/pages/Initiatives.vue +19 -0
  224. package/src/modules/governance/views/components/pages/Task.vue +23 -0
  225. package/src/modules/governance/views/components/pages/TaskCreate.vue +25 -0
  226. package/src/modules/governance/views/components/pages/Tasks.vue +19 -0
  227. package/src/modules/governance/views/components/pages/Voting.vue +30 -0
  228. package/src/modules/governance/views/components/pages/VotingCreate.vue +25 -0
  229. package/src/modules/governance/views/components/pages/Votings.vue +19 -0
  230. package/src/modules/governance/views/components/partials/RewardDisplay.vue +19 -0
  231. package/src/modules/governance/views/components/partials/VoteDisplay.vue +21 -0
  232. package/src/modules/governance/views/components/partials/VotingResult.vue +21 -0
  233. package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +37 -0
  234. package/src/modules/governance/views/components/sections/FormTaskDetails.vue +41 -0
  235. package/src/modules/governance/views/components/sections/FormVotingDetails.vue +37 -0
  236. package/src/modules/governance/views/components/sections/VoteForm.vue +29 -0
  237. package/src/modules/governance/views/store/initiatives.js +102 -0
  238. package/src/modules/governance/views/store/tasks.js +104 -0
  239. package/src/modules/governance/views/store/votes.js +115 -0
  240. package/src/modules/governance/views/store/votings.js +81 -0
  241. package/src/modules/marketplace/router/marketplace.js +0 -1
  242. package/src/modules/organizations/router/organizations.js +4 -11
  243. package/src/modules/pages/views/store/pages.js +1 -3
  244. package/src/modules/products/components/sections/MenuSection.vue +8 -9
  245. package/src/modules/products/products.client.js +2 -2
@@ -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,IAA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M;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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module" } });
3
3
  const vue = require("vue");
4
4
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
5
- const Popup = require("../../../../components/Popup/Popup.vue.cjs");
5
+ const Popup = require("../../../../components/Popup/Popup.vue2.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.vue.js";
3
+ import _sfc_main$2 from "../../../../components/Popup/Popup.vue2.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";
@@ -2,12 +2,12 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- ;/* empty css */
6
- const Button = require("../../../../components/Button/Button.vue.cjs");
7
- ;/* empty css */
8
- const Chips = require("../../../../components/Chips/Chips.vue2.cjs");
5
+ ;/* empty css */
6
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
7
+ ;/* empty css */
8
+ const Chips = require("../../../../components/Chips/Chips.vue.cjs");
9
9
  ;/* empty css */
10
- const Popup = require("../../../../components/Popup/Popup.vue.cjs");
10
+ const Popup = require("../../../../components/Popup/Popup.vue2.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
- /* empty css */
4
- import _sfc_main$9 from "../../../../components/Button/Button.vue.js";
5
- /* empty css */
6
- import _sfc_main$4 from "../../../../components/Chips/Chips.vue2.js";
3
+ /* empty css */
4
+ import _sfc_main$9 from "../../../../components/Button/Button.vue2.js";
5
+ /* empty css */
6
+ import _sfc_main$4 from "../../../../components/Chips/Chips.vue.js";
7
7
  /* empty css */
8
- import _sfc_main$5 from "../../../../components/Popup/Popup.vue.js";
8
+ import _sfc_main$5 from "../../../../components/Popup/Popup.vue2.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";
@@ -1 +1 @@
1
- {"version":3,"file":"globals.client.cjs","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue'\nimport layoutClient from './views/components/layouts/Client.vue'\nimport Header from '@pf/src/modules/globals/views/components/partials/Header.vue'\nimport Sidebar from '@pf/src/modules/globals/views/components/partials/Sidebar.vue'\nimport BottomNavigationBar from '@pf/src/modules/globals/views/components/partials/BottomNavigationBar.vue'\n\nimport * as mixins from './views/mixins/mixins.js'\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\nimport * as storeGlobals from './views/store/globals.js';\n\nexport {\n // Client,\n mixins,\n scrollBehavior,\n getBrowserLocale,\n appRenderer,\n // Store\n storeGlobals,\n // Components\n layoutClient,\n layoutApp,\n Header,\n Sidebar\n};\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const envVariables = [\n 'NODE_ENV',\n 'PORT',\n 'APP_NAME',\n 'DOMAIN_URL',\n 'API_URL',\n 'WSS_URL',\n 'FILE_SERVER_URL',\n 'WDT_TOKEN',\n 'WDM_URL_PROD',\n 'GOOGLE_MAPS_API_KEY',\n 'MOBILE_APP'\n ];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app\n .mixin(mixins.globalMixins);\n \n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n \n });\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, { path: '404', name: 'notfound', component: () => import('@pf/src/modules/globals/views/components/pages/404.vue') });\n router.addRoute(route, { path: '401', name: 'unauthorized', component: () => import('@pf/src/modules/globals/views/components/pages/401.vue') });\n router.addRoute(route, { path: ':pathMatch(.*)*', name: 'NotFound', redirect: { name: 'notfound' } });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n layoutClient,\n layoutApp,\n Header,\n Sidebar,\n BottomNavigationBar\n }\n }\n}\n\nexport default ModuleGlobals\n"],"names":["mixins.globalMixins","storeGlobals","layoutClient","layoutApp","Header","Sidebar","BottomNavigationBar"],"mappings":";;;;;;;;;;;;AAgCA,SAAS,kBAAkB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC3D,QAAM,QAAQ,QAAQ,SAAS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B;AAAA,IACpB;AAAA,EACF;AACH;;;;;;;;;;;"}
1
+ {"version":3,"file":"globals.client.cjs","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue'\nimport layoutClient from './views/components/layouts/Client.vue'\nimport Header from '@pf/src/modules/globals/views/components/partials/Header.vue'\nimport Sidebar from '@pf/src/modules/globals/views/components/partials/Sidebar.vue'\nimport BottomNavigationBar from '@pf/src/modules/globals/views/components/partials/BottomNavigationBar.vue'\n\nimport * as mixins from './views/mixins/mixins.js'\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\nimport * as storeGlobals from './views/store/globals.js';\n\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const envVariables = [\n 'NODE_ENV',\n 'PORT',\n 'APP_NAME',\n 'DOMAIN_URL',\n 'API_URL',\n 'WSS_URL',\n 'FILE_SERVER_URL',\n 'WDT_TOKEN',\n 'WDM_URL_PROD',\n 'GOOGLE_MAPS_API_KEY',\n 'MOBILE_APP'\n ];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app\n .mixin(mixins.globalMixins);\n \n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n \n });\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, { path: '404', name: 'notfound', component: () => import('@pf/src/modules/globals/views/components/pages/404.vue') });\n router.addRoute(route, { path: '401', name: 'unauthorized', component: () => import('@pf/src/modules/globals/views/components/pages/401.vue') });\n router.addRoute(route, { path: ':pathMatch(.*)*', name: 'NotFound', redirect: { name: 'notfound' } });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n layoutClient,\n layoutApp,\n Header,\n Sidebar,\n BottomNavigationBar\n }\n }\n}\n\nexport {\n // Client,\n mixins,\n scrollBehavior,\n getBrowserLocale,\n appRenderer,\n // Store\n storeGlobals,\n // Components\n layoutClient,\n layoutApp,\n Header,\n Sidebar\n};\n\nexport default ModuleGlobals\n"],"names":["mixins.globalMixins","storeGlobals","layoutClient","layoutApp","Header","Sidebar","BottomNavigationBar"],"mappings":";;;;;;;;;;;;AAkBA,SAAS,kBAAkB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC3D,QAAM,QAAQ,QAAQ,SAAS;AAgB/B,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,UAAU,QAAQ,IAAI;AAClD,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,kBAAkB,QAAQ,IAAI;AAC1D,MAAI,OAAO,iBAAiB,sBAAsB,QAAQ,IAAI;AAE9D,MACG,MAAMA,OAAmB,YAAA;AAG5B,SAAO,WAAW,CAAC,IAAI,MAAM,SAAS;AACpC,UAAM,SAAS,GAAG,OAAO;AAEzB,QAAI,QAAQ;AACV,UAAI,CAAC,IAAI,OAAO,iBAAiB,MAAM,iBAAiB,SAAS,MAAM,GAAG;AACxE,eAAO,KAAK,EAAE,MAAM,OAAQ,CAAA;AAAA,MACpC,OAAa;AACN,YAAI,OAAO,iBAAiB,MAAM,SAAS;AAC3C,eAAO,KAAI;AAAA,MACX;AAAA,IACF;AAED,WAAO,KAAI;AAAA,EAEf,CAAG;AAED,QAAM,SAAS,WAAWC,OAAY;AAEtC,SAAO,SAAS,OAAO,EAAE,MAAM,OAAO,MAAM,YAAY,WAAW,MAAM,qCAAO,sCAAwD,CAAA,EAAG,CAAA;AAC3I,SAAO,SAAS,OAAO,EAAE,MAAM,OAAO,MAAM,gBAAgB,WAAW,MAAM,qCAAO,sCAAwD,CAAA,EAAG,CAAA;AAC/I,SAAO,SAAS,OAAO,EAAE,MAAM,mBAAmB,MAAM,YAAY,UAAU,EAAE,MAAM,WAAU,EAAI,CAAA;AACtG;AAEK,MAAC,gBAAgB;AAAA,EACpB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,cAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA;AAAA,IAEP;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,cAAMC,OAAY;AAAA,MAClB,WAAMC,IAAS;AAAA,MACf,QAAMC,OAAM;AAAA,MACZ,SAAMC,QAAO;AAAA,MACb,qBAAMC,oBAAmB;AAAA,IACpB;AAAA,EACF;AACH;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"globals.client.js","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue'\nimport layoutClient from './views/components/layouts/Client.vue'\nimport Header from '@pf/src/modules/globals/views/components/partials/Header.vue'\nimport Sidebar from '@pf/src/modules/globals/views/components/partials/Sidebar.vue'\nimport BottomNavigationBar from '@pf/src/modules/globals/views/components/partials/BottomNavigationBar.vue'\n\nimport * as mixins from './views/mixins/mixins.js'\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\nimport * as storeGlobals from './views/store/globals.js';\n\nexport {\n // Client,\n mixins,\n scrollBehavior,\n getBrowserLocale,\n appRenderer,\n // Store\n storeGlobals,\n // Components\n layoutClient,\n layoutApp,\n Header,\n Sidebar\n};\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const envVariables = [\n 'NODE_ENV',\n 'PORT',\n 'APP_NAME',\n 'DOMAIN_URL',\n 'API_URL',\n 'WSS_URL',\n 'FILE_SERVER_URL',\n 'WDT_TOKEN',\n 'WDM_URL_PROD',\n 'GOOGLE_MAPS_API_KEY',\n 'MOBILE_APP'\n ];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app\n .mixin(mixins.globalMixins);\n \n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n \n });\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, { path: '404', name: 'notfound', component: () => import('@pf/src/modules/globals/views/components/pages/404.vue') });\n router.addRoute(route, { path: '401', name: 'unauthorized', component: () => import('@pf/src/modules/globals/views/components/pages/401.vue') });\n router.addRoute(route, { path: ':pathMatch(.*)*', name: 'NotFound', redirect: { name: 'notfound' } });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n layoutClient,\n layoutApp,\n Header,\n Sidebar,\n BottomNavigationBar\n }\n }\n}\n\nexport default ModuleGlobals\n"],"names":["mixins.globalMixins","stor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AY;AAAA;AAAA,MAEhB,cAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,QAAMC;AAAAA,MACN,SAAMC;AAAAA,MACN,qBAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
1
+ {"version":3,"file":"globals.client.js","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue'\nimport layoutClient from './views/components/layouts/Client.vue'\nimport Header from '@pf/src/modules/globals/views/components/partials/Header.vue'\nimport Sidebar from '@pf/src/modules/globals/views/components/partials/Sidebar.vue'\nimport BottomNavigationBar from '@pf/src/modules/globals/views/components/partials/BottomNavigationBar.vue'\n\nimport * as mixins from './views/mixins/mixins.js'\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\nimport * as storeGlobals from './views/store/globals.js';\n\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n const envVariables = [\n 'NODE_ENV',\n 'PORT',\n 'APP_NAME',\n 'DOMAIN_URL',\n 'API_URL',\n 'WSS_URL',\n 'FILE_SERVER_URL',\n 'WDT_TOKEN',\n 'WDM_URL_PROD',\n 'GOOGLE_MAPS_API_KEY',\n 'MOBILE_APP'\n ];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app\n .mixin(mixins.globalMixins);\n \n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n \n });\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, { path: '404', name: 'notfound', component: () => import('@pf/src/modules/globals/views/components/pages/404.vue') });\n router.addRoute(route, { path: '401', name: 'unauthorized', component: () => import('@pf/src/modules/globals/views/components/pages/401.vue') });\n router.addRoute(route, { path: ':pathMatch(.*)*', name: 'NotFound', redirect: { name: 'notfound' } });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n layoutClient,\n layoutApp,\n Header,\n Sidebar,\n BottomNavigationBar\n }\n }\n}\n\nexport {\n // Client,\n mixins,\n scrollBehavior,\n getBrowserLocale,\n appRenderer,\n // Store\n storeGlobals,\n // Components\n layoutClient,\n layoutApp,\n Header,\n Sidebar\n};\n\nexport default ModuleGlobals\n"],"names":["mixins.globalMixins","storeGlobals","layoutClient","layoutApp","Header","Sidebar","BottomNavigationBar"],"mappings":";;;;;;;;;;;AAkBA,SAAS,kBAAkB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC3D,QAAM,QAAQ,QAAQ,SAAS;AAgB/B,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,UAAU,QAAQ,IAAI;AAClD,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,kBAAkB,QAAQ,IAAI;AAC1D,MAAI,OAAO,iBAAiB,sBAAsB,QAAQ,IAAI;AAE9D,MACG,MAAMA,YAAmB;AAG5B,SAAO,WAAW,CAAC,IAAI,MAAM,SAAS;AACpC,UAAM,SAAS,GAAG,OAAO;AAEzB,QAAI,QAAQ;AACV,UAAI,CAAC,IAAI,OAAO,iBAAiB,MAAM,iBAAiB,SAAS,MAAM,GAAG;AACxE,eAAO,KAAK,EAAE,MAAM,OAAQ,CAAA;AAAA,MACpC,OAAa;AACN,YAAI,OAAO,iBAAiB,MAAM,SAAS;AAC3C,eAAO,KAAI;AAAA,MACX;AAAA,IACF;AAED,WAAO,KAAI;AAAA,EAEf,CAAG;AAED,QAAM,SAAS,WAAWC,OAAY;AAEtC,SAAO,SAAS,OAAO,EAAE,MAAM,OAAO,MAAM,YAAY,WAAW,MAAM,OAAO,qCAAwD,EAAG,CAAA;AAC3I,SAAO,SAAS,OAAO,EAAE,MAAM,OAAO,MAAM,gBAAgB,WAAW,MAAM,OAAO,qCAAwD,EAAG,CAAA;AAC/I,SAAO,SAAS,OAAO,EAAE,MAAM,mBAAmB,MAAM,YAAY,UAAU,EAAE,MAAM,WAAU,EAAI,CAAA;AACtG;AAEK,MAAC,gBAAgB;AAAA,EACpB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,cAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA;AAAA,IAEP;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,cAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,QAAMC;AAAAA,MACN,SAAMC;AAAAA,MACN,qBAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
@@ -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 IconSearch = require("../../../../icons/navigation/IconSearch.vue.cjs");
5
- const Field = require("../../../../../components/Field/Field.vue.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
6
  const _hoisted_1 = { class: "flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big" };
7
7
  const _sfc_main = {
8
8
  __name: "BlockSearch",
@@ -1,6 +1,6 @@
1
1
  import { ref, openBlock, createElementBlock, createVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../icons/navigation/IconSearch.vue.js";
3
- import Field from "../../../../../components/Field/Field.vue.js";
3
+ import Field from "../../../../../components/Field/Field.vue2.js";
4
4
  const _hoisted_1 = { class: "flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big" };
5
5
  const _sfc_main = {
6
6
  __name: "BlockSearch",
@@ -5,9 +5,9 @@ const vueRouter = require("vue-router");
5
5
  const PlaceholderUserpic = require("../../../../icons/placeholders/PlaceholderUserpic.vue.cjs");
6
6
  const FormReport = require("../../../../reports/components/sections/FormReport.vue.cjs");
7
7
  const Tooltip = require("../../../../../components/Tooltip/Tooltip.vue2.cjs");
8
- const Dropdown = require("../../../../../components/Dropdown/Dropdown.vue2.cjs");
9
- ;/* empty css */
10
- ;/* empty css */
8
+ const Dropdown = require("../../../../../components/Dropdown/Dropdown.vue.cjs");
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");