@ozdao/prometheus-framework 0.2.252 → 0.2.254

Sign up to get free protection for your applications and to get access to all the features.
Files changed (310) hide show
  1. package/dist/auth.server.js +298 -14
  2. package/dist/auth.server.mjs +298 -14
  3. package/dist/builder.js +4 -4
  4. package/dist/builder.mjs +4 -4
  5. package/dist/chats.server.js +110 -0
  6. package/dist/chats.server.mjs +111 -0
  7. package/dist/community.server.js +38 -21
  8. package/dist/community.server.mjs +38 -21
  9. package/dist/events.server.js +38 -18
  10. package/dist/events.server.mjs +38 -17
  11. package/dist/files.server.js +12 -3
  12. package/dist/files.server.mjs +12 -3
  13. package/dist/gallery.server.js +17 -4
  14. package/dist/gallery.server.mjs +17 -4
  15. package/dist/organizations.server.js +43 -26
  16. package/dist/organizations.server.mjs +43 -26
  17. package/dist/products.server.js +49 -23
  18. package/dist/products.server.mjs +49 -22
  19. package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +15 -3
  20. package/dist/prometheus-framework/src/modules/auth/auth.client.cjs.map +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/auth.client.js +16 -4
  22. package/dist/prometheus-framework/src/modules/auth/auth.client.js.map +1 -1
  23. package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.cjs +95 -0
  24. package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.cjs.map +1 -0
  25. package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.js +95 -0
  26. package/dist/prometheus-framework/src/modules/auth/views/components/blocks/CardUser.vue.js.map +1 -0
  27. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +284 -0
  28. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -0
  29. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +284 -0
  30. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -0
  31. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.cjs +2 -0
  32. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.cjs.map +1 -0
  33. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.js +2 -0
  34. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue2.js.map +1 -0
  35. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +85 -0
  36. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs.map +1 -0
  37. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +85 -0
  38. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -0
  39. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +176 -0
  40. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -0
  41. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +176 -0
  42. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -0
  43. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs +2 -0
  44. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs.map +1 -0
  45. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.js +2 -0
  46. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue2.js.map +1 -0
  47. package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs +114 -0
  48. package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs.map +1 -0
  49. package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.js +114 -0
  50. package/dist/prometheus-framework/src/modules/auth/views/components/sections/FeaturedUsers.vue.js.map +1 -0
  51. package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.cjs +72 -0
  52. package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.cjs.map +1 -0
  53. package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.js +72 -0
  54. package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileCompletion.vue.js.map +1 -0
  55. package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs +97 -0
  56. package/dist/prometheus-framework/src/modules/auth/views/router/users.cjs.map +1 -0
  57. package/dist/prometheus-framework/src/modules/auth/views/router/users.js +97 -0
  58. package/dist/prometheus-framework/src/modules/auth/views/router/users.js.map +1 -0
  59. package/dist/prometheus-framework/src/modules/auth/views/store/users.cjs +95 -0
  60. package/dist/prometheus-framework/src/modules/auth/views/store/users.cjs.map +1 -0
  61. package/dist/prometheus-framework/src/modules/auth/views/store/users.js +95 -0
  62. package/dist/prometheus-framework/src/modules/auth/views/store/users.js.map +1 -0
  63. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs +32 -2
  64. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs.map +1 -1
  65. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js +32 -2
  66. package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js.map +1 -1
  67. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +2 -2
  68. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs.map +1 -1
  69. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +2 -2
  70. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js.map +1 -1
  71. package/dist/prometheus-framework/src/modules/chats/chats.client.cjs +31 -0
  72. package/dist/prometheus-framework/src/modules/chats/chats.client.cjs.map +1 -0
  73. package/dist/prometheus-framework/src/modules/chats/chats.client.js +31 -0
  74. package/dist/prometheus-framework/src/modules/chats/chats.client.js.map +1 -0
  75. package/dist/prometheus-framework/src/modules/community/community.client.cjs +42 -7
  76. package/dist/prometheus-framework/src/modules/community/community.client.cjs.map +1 -1
  77. package/dist/prometheus-framework/src/modules/community/community.client.js +59 -24
  78. package/dist/prometheus-framework/src/modules/community/community.client.js.map +1 -1
  79. package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +68 -70
  80. package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs.map +1 -1
  81. package/dist/prometheus-framework/src/modules/community/router/blogposts.js +68 -70
  82. package/dist/prometheus-framework/src/modules/community/router/blogposts.js.map +1 -1
  83. package/dist/prometheus-framework/src/modules/gallery/gallery.client.cjs +26 -3
  84. package/dist/prometheus-framework/src/modules/gallery/gallery.client.cjs.map +1 -1
  85. package/dist/prometheus-framework/src/modules/gallery/gallery.client.js +27 -4
  86. package/dist/prometheus-framework/src/modules/gallery/gallery.client.js.map +1 -1
  87. package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.cjs +2 -2
  88. package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.cjs.map +1 -1
  89. package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.js +2 -2
  90. package/dist/prometheus-framework/src/modules/gallery/router/gallery.router.js.map +1 -1
  91. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
  93. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
  95. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
  97. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  98. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
  99. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +2 -2
  100. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs.map +1 -1
  101. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  102. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js.map +1 -1
  103. package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +4 -1
  104. package/dist/prometheus-framework/src/modules/orders/orders.client.cjs.map +1 -1
  105. package/dist/prometheus-framework/src/modules/orders/orders.client.js +4 -1
  106. package/dist/prometheus-framework/src/modules/orders/orders.client.js.map +1 -1
  107. package/dist/prometheus-framework/src/modules/orders/store/testimonials.cjs +63 -0
  108. package/dist/prometheus-framework/src/modules/orders/store/testimonials.cjs.map +1 -0
  109. package/dist/prometheus-framework/src/modules/orders/store/testimonials.js +63 -0
  110. package/dist/prometheus-framework/src/modules/orders/store/testimonials.js.map +1 -0
  111. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +2 -2
  112. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +2 -2
  114. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  118. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
  119. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
  121. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  122. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  123. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
  125. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  126. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
  127. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs.map +1 -1
  129. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  130. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
  131. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
  132. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  133. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
  134. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
  135. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  136. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
  137. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +60 -11
  138. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs.map +1 -1
  139. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +95 -46
  140. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js.map +1 -1
  141. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +6 -10
  142. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
  143. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +8 -12
  144. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
  145. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +500 -500
  146. package/dist/prometheus-framework/src/modules/pages/pages.client.js +500 -500
  147. package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.cjs +179 -0
  148. package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.cjs.map +1 -0
  149. package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.js +179 -0
  150. package/dist/prometheus-framework/src/modules/products/components/layouts/Marketplace.vue.js.map +1 -0
  151. package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.cjs +64 -0
  152. package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.cjs.map +1 -0
  153. package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.js +64 -0
  154. package/dist/prometheus-framework/src/modules/products/components/pages/Catalog.vue.js.map +1 -0
  155. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +2 -2
  156. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +2 -2
  157. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +2 -2
  158. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  159. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
  160. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
  161. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
  163. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  164. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
  165. package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs +156 -0
  166. package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.cjs.map +1 -0
  167. package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js +157 -0
  168. package/dist/prometheus-framework/src/modules/products/components/sections/Filters.vue.js.map +1 -0
  169. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +1 -1
  171. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +1 -1
  172. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js.map +1 -1
  173. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs.map +1 -1
  175. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  176. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js.map +1 -1
  177. package/dist/prometheus-framework/src/modules/products/products.client.cjs +72 -7
  178. package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
  179. package/dist/prometheus-framework/src/modules/products/products.client.js +114 -49
  180. package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
  181. package/dist/prometheus-framework/src/modules/products/router/marketplace.router.cjs +46 -0
  182. package/dist/prometheus-framework/src/modules/products/router/marketplace.router.cjs.map +1 -0
  183. package/dist/prometheus-framework/src/modules/products/router/marketplace.router.js +46 -0
  184. package/dist/prometheus-framework/src/modules/products/router/marketplace.router.js.map +1 -0
  185. package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +79 -36
  186. package/dist/prometheus-framework/src/modules/products/router/products.router.cjs.map +1 -1
  187. package/dist/prometheus-framework/src/modules/products/router/products.router.js +78 -35
  188. package/dist/prometheus-framework/src/modules/products/router/products.router.js.map +1 -1
  189. package/dist/prometheus-framework/src/modules/products/store/marketplace.cjs +57 -0
  190. package/dist/prometheus-framework/src/modules/products/store/marketplace.cjs.map +1 -0
  191. package/dist/prometheus-framework/src/modules/products/store/marketplace.js +57 -0
  192. package/dist/prometheus-framework/src/modules/products/store/marketplace.js.map +1 -0
  193. package/dist/prometheus-framework/src/modules/reports/reports.client.cjs +21 -2
  194. package/dist/prometheus-framework/src/modules/reports/reports.client.cjs.map +1 -1
  195. package/dist/prometheus-framework/src/modules/reports/reports.client.js +20 -1
  196. package/dist/prometheus-framework/src/modules/reports/reports.client.js.map +1 -1
  197. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
  199. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  200. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
  201. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +2 -2
  202. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
  203. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +2 -2
  204. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
  205. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +2 -2
  206. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
  207. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +2 -2
  208. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
  209. package/dist/reports.server.js +21 -8
  210. package/dist/reports.server.mjs +21 -8
  211. package/package.json +9 -1
  212. package/src/builder/webpack/webpack.config.client.js +2 -2
  213. package/src/builder/webpack/webpack.config.server.js +1 -1
  214. package/src/builder/webpack/webpack.config.spa.js +1 -1
  215. package/src/builder/webpack/webpack.config.ssr.js +1 -1
  216. package/src/modules/auth/auth.client.js +16 -3
  217. package/src/modules/auth/auth.server.js +22 -1
  218. package/src/modules/{users → auth/controllers}/routes/users.routes.js +1 -1
  219. package/src/modules/auth/controllers/services/auth.service.js +0 -1
  220. package/src/modules/{users → auth/views}/components/pages/Profile.vue +1 -1
  221. package/src/modules/{users → auth/views}/components/pages/ProfileEdit.vue +2 -2
  222. package/src/modules/{users → auth/views}/components/sections/FeaturedUsers.vue +2 -2
  223. package/src/modules/auth/views/router/users.js +79 -0
  224. package/src/modules/backoffice/backoffice.client.js +53 -11
  225. package/src/modules/backoffice/router/backoffice.js +29 -2
  226. package/src/modules/chats/chats.client.js +48 -0
  227. package/src/modules/chats/chats.server.js +32 -0
  228. package/src/modules/community/community.client.js +56 -10
  229. package/src/modules/community/community.server.js +35 -14
  230. package/src/modules/community/models/comment.model.js +7 -7
  231. package/src/modules/community/models/reaction.model.js +5 -5
  232. package/src/modules/community/router/blogposts.js +55 -57
  233. package/src/modules/events/events.server.js +37 -16
  234. package/src/modules/events/models/ticket.model.js +6 -6
  235. package/src/modules/files/files.server.js +17 -7
  236. package/src/modules/gallery/gallery.client.js +44 -8
  237. package/src/modules/gallery/gallery.server.js +28 -9
  238. package/src/modules/gallery/router/gallery.router.js +2 -2
  239. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  240. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +1 -1
  241. package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
  242. package/src/modules/orders/orders.client.js +4 -1
  243. package/src/modules/orders/orders.server.js +1 -0
  244. package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
  245. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  246. package/src/modules/organizations/components/pages/Department.vue +1 -1
  247. package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
  248. package/src/modules/organizations/components/pages/Members.vue +1 -1
  249. package/src/modules/organizations/components/pages/Organization.vue +1 -1
  250. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  251. package/src/modules/organizations/controllers/organizations.controller.js +0 -2
  252. package/src/modules/organizations/models/department.model.js +7 -7
  253. package/src/modules/organizations/models/membership.model.js +5 -5
  254. package/src/modules/organizations/organizations.client.js +71 -16
  255. package/src/modules/organizations/organizations.server.js +43 -18
  256. package/src/modules/organizations/router/organizations.js +6 -13
  257. package/src/modules/{marketplace → products}/components/layouts/Marketplace.vue +20 -19
  258. package/src/modules/{marketplace → products}/components/pages/Catalog.vue +5 -5
  259. package/src/modules/products/components/pages/Products.vue +2 -2
  260. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  261. package/src/modules/{marketplace → products}/components/sections/Filters.vue +12 -15
  262. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  263. package/src/modules/products/components/sections/PopularProducts.vue +1 -1
  264. package/src/modules/products/models/category.model.js +3 -3
  265. package/src/modules/products/models/product.model.js +7 -7
  266. package/src/modules/products/products.client.js +93 -25
  267. package/src/modules/products/products.server.js +47 -16
  268. package/src/modules/products/router/marketplace.router.js +38 -0
  269. package/src/modules/products/router/products.router.js +72 -32
  270. package/src/modules/reports/models/report.model.js +4 -4
  271. package/src/modules/reports/reports.client.js +35 -14
  272. package/src/modules/reports/reports.server.js +27 -8
  273. package/src/modules/spots/components/layouts/Spots.vue +1 -1
  274. package/src/modules/spots/components/pages/Map.vue +1 -1
  275. package/src/modules/spots/components/pages/Spot.vue +1 -1
  276. package/src/modules/backoffice/router/admin.js +0 -51
  277. package/src/modules/landing/components/pages/404.vue +0 -3
  278. package/src/modules/landing/components/pages/Farming.vue +0 -226
  279. package/src/modules/landing/components/pages/Governance.vue +0 -144
  280. package/src/modules/landing/components/pages/Home.vue +0 -51
  281. package/src/modules/landing/components/pages/Hotel.vue +0 -43
  282. package/src/modules/landing/router/landing.js +0 -39
  283. package/src/modules/legal/components/pages/Legal.vue +0 -62
  284. package/src/modules/legal/components/pages/legal/Cookies.vue +0 -370
  285. package/src/modules/legal/components/pages/legal/EULA.vue +0 -2145
  286. package/src/modules/legal/components/pages/legal/Privacy.vue +0 -4284
  287. package/src/modules/legal/components/pages/legal/Terms.vue +0 -1283
  288. package/src/modules/legal/legal.client.js +0 -18
  289. package/src/modules/legal/router/legal.js +0 -59
  290. package/src/modules/marketplace/router/marketplace.js +0 -54
  291. package/src/modules/users/router/users.js +0 -90
  292. package/src/modules/users/users.client.js +0 -22
  293. package/src/modules/users/users.server.js +0 -13
  294. /package/src/modules/{users → auth/controllers}/middlewares/visitor.logger.js +0 -0
  295. /package/src/modules/{users/controllers/users.controller.js → auth/controllers/services/users.service.js} +0 -0
  296. /package/src/modules/{users → auth}/models/request.model.js +0 -0
  297. /package/src/modules/{users → auth}/models/user.model.js +0 -0
  298. /package/src/modules/{users → auth}/models/visitor.model.js +0 -0
  299. /package/src/modules/{users → auth/views}/components/blocks/CardUser.vue +0 -0
  300. /package/src/modules/{users → auth/views}/components/pages/ProfileBlogposts.vue +0 -0
  301. /package/src/modules/{users → auth/views}/components/pages/ProfileComments.vue +0 -0
  302. /package/src/modules/{users → auth/views}/components/pages/ProfileLikes.vue +0 -0
  303. /package/src/modules/{users → auth/views}/components/sections/ProfileCompletion.vue +0 -0
  304. /package/src/modules/{users → auth/views}/router/account.js +0 -0
  305. /package/src/modules/{users → auth/views}/store/users.js +0 -0
  306. /package/src/modules/{projects/controller → governance/controllers/factories}/projects.controller.js +0 -0
  307. /package/src/modules/{projects → governance/controllers}/routes/projects.routes.js +0 -0
  308. /package/src/modules/{projects → governance}/models/project.model.js +0 -0
  309. /package/src/modules/{projects → governance/views}/store/projects.js +0 -0
  310. /package/src/modules/{marketplace → products}/store/marketplace.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"MembersAdd.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/users/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgIE,QAAI,aAAaA,IAAG,IAAC,IAAI;AACzB,QAAI,iBAAiBA,IAAG,IAAC,KAAK;AAE9B,UAAM,oBAAoBA,IAAG,IAAC,IAAI;AAElC,UAAM,QAAQ;AAEd,UAAM,UAAUA,IAAAA,IAAI,CAAC,EAAE,SAAS,GAAE,CAAC,CAAC;AAEpC,mBAAe,gBAAgB;AAC7B,aAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,cAAM,eAAe,QAAQ,OAAO,SAAS,MAAM;AAAA,MACzD,CAAK;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"MembersAdd.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/auth/views/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/auth/views/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgIE,QAAI,aAAaA,IAAG,IAAC,IAAI;AACzB,QAAI,iBAAiBA,IAAG,IAAC,KAAK;AAE9B,UAAM,oBAAoBA,IAAG,IAAC,IAAI;AAElC,UAAM,QAAQ;AAEd,UAAM,UAAUA,IAAAA,IAAI,CAAC,EAAE,SAAS,GAAE,CAAC,CAAC;AAEpC,mBAAe,gBAAgB;AAC7B,aAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,cAAM,eAAe,QAAQ,OAAO,SAAS,MAAM;AAAA,MACzD,CAAK;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4,10 +4,10 @@ import Field from "../../../../components/Field/Field.vue2.js";
4
4
  import _sfc_main$6 from "../../../../components/Button/Button.vue2.js";
5
5
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
6
6
  import _sfc_main$1 from "../../../globals/views/components/blocks/BlockSearch.vue.js";
7
- import _sfc_main$3 from "../../../users/components/blocks/CardUser.vue.js";
7
+ import _sfc_main$3 from "../../../auth/views/components/blocks/CardUser.vue.js";
8
8
  import _sfc_main$5 from "../../../icons/navigation/IconDelete.vue.js";
9
9
  import _sfc_main$4 from "../../../icons/navigation/IconAdd.vue.js";
10
- import { actions } from "../../../users/store/users.js";
10
+ import { actions } from "../../../auth/views/store/users.js";
11
11
  const _hoisted_1 = { class: "mn-b-thin t-transp p-medium" };
12
12
  const _hoisted_2 = { class: "mn-b-thin pos-relative" };
13
13
  const _hoisted_3 = {
@@ -1 +1 @@
1
- {"version":3,"file":"MembersAdd.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/users/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgIE,QAAI,aAAa,IAAI,IAAI;AACzB,QAAI,iBAAiB,IAAI,KAAK;AAE9B,UAAM,oBAAoB,IAAI,IAAI;AAElC,UAAM,QAAQ;AAEd,UAAM,UAAU,IAAI,CAAC,EAAE,SAAS,GAAE,CAAC,CAAC;AAEpC,mBAAe,gBAAgB;AAC7B,aAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,cAAM,eAAe,QAAQ,OAAO,SAAS,MAAM;AAAA,MACzD,CAAK;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"MembersAdd.vue.js","sources":["../../../../../../../src/modules/organizations/components/sections/MembersAdd.vue"],"sourcesContent":["<template>\n <div>\n <p class=\"mn-b-thin t-transp p-medium\">{{text}}</p> \n\n <div class=\"mn-b-thin pos-relative\">\n <BlockSearch \n v-click-outside=\"() => {searchUserShow = false}\" \n @search=\"(event) => { searchUser = event; searchUserShow = true }\"\n placeholder=\"Enter name, phone or email\"\n class=\"bg-grey\"\n />\n\n <div \n v-if=\"searchUser && searchUserShow\" \n class=\"mn-t-thin pos-absolute w-100 pos-t-100 pos-l-0 z-index-3 bg-light pd-small radius-small\n \">\n <Feed\n :states=\"{\n empty: {\n title: 'No User Found',\n description: 'Currently, there are no such user.'\n }\n }\"\n :store=\"{\n read: (options) => users.actions.read(options),\n state: null\n }\"\n :options=\"{\n search: searchUser\n }\"\n :showLoadMore=\"false\"\n v-slot=\"{ \n items \n }\"\n class=\"h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" :key=\"user._id\"\n :user=\"user\"\n :photo=\"user.profile.photo\"\n :name=\"user.profile.name || user.phone || user.email\"\n @click=\"() => { \n members.push({contact: user.email || user.phone})\n searchUserShow = false\n }\"\n class=\"bg-white h-2r pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </div>\n </div>\n\n <section class=\"cols-1 mn-b-small radius-medium pd-semi bg-light pos-relative\">\n\n <div\n v-for=\"(member, index) in members\" \n :key=\"index\" \n class=\"\n br-1px br-solid br-grey-transp-25\n flex\n gap-thin\n radius-small\n mn-b-thin\n \"\n >\n <Field \n v-model:field=\"member.contact\" \n placeholder=\"Enter email or phone\" \n class=\"w-100 pd-small radius-small bg-white\"\n :validation=\"contactValidation\"\n >\n <div \n v-if=\"index < 1\" \n @click=\"() => members.push({contact: ''})\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\"\n >\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n\n <div \n v-else \n @click=\"() => members.splice(index, 1)\" \n class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\"\n >\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </Field>\n </div>\n </section>\n\n\n <Button \n :submit=\"submitMembers\" \n class=\"w-100 bg-main\">\n <span>Invite to organization</span>\n </Button>\n </div>\n</template>\n\n<script setup>\n import { ref } from 'vue';\n\n import Field from '@pf/src/components/Field/Field.vue'\n import Select from '@pf/src/components/Select/Select.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import BlockSearch from '@pf/src/modules/globals/views/components/blocks/BlockSearch.vue'\n\n import CardUser from '@pf/src/modules/auth/views/components/blocks/CardUser.vue'\n\n import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n import IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n // Store\n import * as users from '@pf/src/modules/auth/views/store/users';\n // Props\n const props = defineProps({\n organization: Object,\n text: String,\n });\n // User Search\n let searchUser = ref(null)\n let searchUserShow = ref(false)\n // Validation\n const contactValidation = ref(null)\n // Define Emits\n const emits = defineEmits(['send-invite']);\n // Define State\n const members = ref([{ contact: ''}]);\n\n async function submitMembers() {\n return new Promise((resolve, reject) => {\n emits('send-invite', members.value, resolve, reject);\n });\n }\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgIE,QAAI,aAAa,IAAI,IAAI;AACzB,QAAI,iBAAiB,IAAI,KAAK;AAE9B,UAAM,oBAAoB,IAAI,IAAI;AAElC,UAAM,QAAQ;AAEd,UAAM,UAAU,IAAI,CAAC,EAAE,SAAS,GAAE,CAAC,CAAC;AAEpC,mBAAe,gBAAgB;AAC7B,aAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtC,cAAM,eAAe,QAAQ,OAAO,SAAS,MAAM;AAAA,MACzD,CAAK;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,10 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const departments = require("./store/departments.cjs");
4
+ const memberships = require("./store/memberships.cjs");
5
+ const organizations = require("./store/organizations.cjs");
6
+ const invites = require("./store/invites.cjs");
7
+ const organizations$1 = require("./router/organizations.cjs");
3
8
  const Organization = require("./components/pages/Organization.vue.cjs");
4
9
  const Department = require("./components/pages/Department.vue.cjs");
5
10
  const OrganizationEdit = require("./components/pages/OrganizationEdit.vue.cjs");
@@ -20,11 +25,59 @@ const Organizations$1 = require("./components/sections/Organizations.vue.cjs");
20
25
  const Publics = require("./components/sections/Publics.vue.cjs");
21
26
  const Documents = require("./components/sections/Documents.vue.cjs");
22
27
  const ButtonToggleMembership = require("./components/elements/ButtonToggleMembership.vue.cjs");
23
- const departments = require("./store/departments.cjs");
24
- const memberships = require("./store/memberships.cjs");
25
- const organizations = require("./store/organizations.cjs");
26
- const invites = require("./store/invites.cjs");
27
- const organizations$1 = require("./router/organizations.cjs");
28
+ function initializeOrganization(app, store, router, options = {}) {
29
+ const route = options.route || "Home";
30
+ router.addRoute(route, organizations$1.default);
31
+ store.addStore("departments", departments);
32
+ store.addStore("memberships", memberships);
33
+ store.addStore("organizations", organizations);
34
+ store.addStore("invites", invites);
35
+ }
36
+ const ModuleOrganization = {
37
+ initialize: initializeOrganization,
38
+ views: {
39
+ store: {
40
+ storeDepartments: departments,
41
+ storeMemberships: memberships,
42
+ storeOrganizations: organizations,
43
+ storeInvites: invites
44
+ },
45
+ router: {
46
+ routerOrganization: organizations$1.default
47
+ },
48
+ components: {
49
+ // Pages
50
+ Organization: Organization.default,
51
+ Department: Department.default,
52
+ OrganizationEdit: OrganizationEdit.default,
53
+ Organizations: Organizations.default,
54
+ DepartmentEdit: DepartmentEdit.default,
55
+ // Blocks
56
+ CardOrganization: CardOrganization.default,
57
+ EditArray: EditArray.default,
58
+ Unit: Unit.default,
59
+ DepartmentSub: DepartmentSub.default,
60
+ CardDepartment: CardDepartment.default,
61
+ Rating: Rating.default,
62
+ EmptyState: EmptyState.default,
63
+ Contacts: Contacts.default,
64
+ Socials: Socials.default,
65
+ // Sections
66
+ MembersAdd: MembersAdd.default,
67
+ DetailsTabSection: DetailsTabSection.default,
68
+ OrganizationsSection: Organizations$1.default,
69
+ Publics: Publics.default,
70
+ Documents: Documents.default,
71
+ // Elements
72
+ ButtonToggleMembership: ButtonToggleMembership.default
73
+ }
74
+ }
75
+ };
76
+ exports.storeDepartments = departments;
77
+ exports.storeMemberships = memberships;
78
+ exports.storeOrganizations = organizations;
79
+ exports.storeInvites = invites;
80
+ exports.routerOrganization = organizations$1.default;
28
81
  exports.Organization = Organization.default;
29
82
  exports.Department = Department.default;
30
83
  exports.OrganizationEdit = OrganizationEdit.default;
@@ -45,9 +98,5 @@ exports.OrganizationsSection = Organizations$1.default;
45
98
  exports.Publics = Publics.default;
46
99
  exports.Documents = Documents.default;
47
100
  exports.ButtonToggleMembership = ButtonToggleMembership.default;
48
- exports.departmentsStore = departments;
49
- exports.membershipsStore = memberships;
50
- exports.organizationStore = organizations;
51
- exports.invitesStore = invites;
52
- exports.organizationsRouter = organizations$1.default;
101
+ exports.default = ModuleOrganization;
53
102
  //# sourceMappingURL=organizations.client.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.client.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"organizations.client.cjs","sources":["../../../../../src/modules/organizations/organizations.client.js"],"sourcesContent":["// Store\nimport * as storeDepartments from './store/departments.js';\nimport * as storeMemberships from './store/memberships.js';\nimport * as storeOrganizations from './store/organizations.js';\nimport * as storeInvites from './store/invites.js';\n\n// Router\nimport routerOrganization from './router/organizations';\n\n// Views\n// Pages\nimport Organization from './components/pages/Organization.vue';\nimport Department from './components/pages/Department.vue';\nimport OrganizationEdit from './components/pages/OrganizationEdit.vue';\nimport Organizations from './components/pages/Organizations.vue';\nimport DepartmentEdit from './components/pages/DepartmentEdit.vue';\n\n// Blocks\nimport CardOrganization from './components/blocks/CardOrganization.vue';\nimport EditArray from './components/blocks/EditArray.vue';\nimport Unit from './components/blocks/Unit.vue';\nimport DepartmentSub from './components/blocks/DepartmentSub.vue';\nimport CardDepartment from './components/blocks/CardDepartment.vue';\nimport Rating from './components/blocks/Rating.vue';\nimport EmptyState from './components/blocks/EmptyState.vue';\nimport Contacts from './components/blocks/Contacts.vue';\nimport Socials from './components/blocks/Socials.vue';\n\n// Sections\nimport MembersAdd from './components/sections/MembersAdd.vue';\nimport DetailsTabSection from './components/sections/DetailsTabSection.vue';\nimport OrganizationsSection from './components/sections/Organizations.vue';\nimport Publics from './components/sections/Publics.vue';\nimport Documents from './components/sections/Documents.vue';\n\n// Elements\nimport ButtonToggleMembership from './components/elements/ButtonToggleMembership.vue';\n\n// Пример функции инициализации для модуля организаций\nfunction initializeOrganization(app, store, router, options = {}) {\n const route = options.route || 'Home';\n \n router.addRoute(route, routerOrganization);\n \n store.addStore('departments', storeDepartments);\n store.addStore('memberships', storeMemberships);\n store.addStore('organizations', storeOrganizations);\n store.addStore('invites', storeInvites);\n}\n\n// Export components, store modules, and routes\nexport {\n\tOrganization,\n\tDepartment,\n\tOrganizationEdit,\n\tOrganizations,\n\tDepartmentEdit,\n\tCardOrganization,\n\tEditArray,\n\tUnit,\n\tDepartmentSub,\n\tCardDepartment,\n\tRating,\n\tEmptyState,\n\tContacts,\n\tSocials,\n\tMembersAdd,\n\tDetailsTabSection,\n\tOrganizationsSection,\n\tPublics,\n\tDocuments,\n\tButtonToggleMembership,\n\tstoreDepartments,\n\tstoreMemberships,\n\tstoreOrganizations,\n\tstoreInvites,\n\trouterOrganization\n};\n\n\nconst ModuleOrganization = {\n initialize: initializeOrganization,\n views: {\n store: {\n storeDepartments,\n storeMemberships,\n storeOrganizations,\n storeInvites\n },\n router: {\n routerOrganization\n },\n components: {\n // Pages\n Organization,\n Department,\n OrganizationEdit,\n Organizations,\n DepartmentEdit,\n // Blocks\n CardOrganization,\n EditArray,\n Unit,\n DepartmentSub,\n CardDepartment,\n Rating,\n EmptyState,\n Contacts,\n Socials,\n // Sections\n MembersAdd,\n DetailsTabSection,\n OrganizationsSection,\n Publics,\n Documents,\n // Elements\n ButtonToggleMembership\n }\n }\n}\n\nexport default ModuleOrganization;"],"names":["routerOrganization","storeDepartments","storeMemberships","storeOrganizations","storeInvites","Organization","Department","OrganizationEdit","Organizations","DepartmentEdit","CardOrganization","EditArray","Unit","DepartmentSub","CardDepartment","Rating","EmptyState","Contacts","Socials","MembersAdd","DetailsTabSection","OrganizationsSection","Publics","Documents","ButtonToggleMembership"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,SAAS,uBAAuB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAChE,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,gBAAAA,OAAkB;AAEzC,QAAM,SAAS,eAAeC,WAAgB;AAC9C,QAAM,SAAS,eAAeC,WAAgB;AAC9C,QAAM,SAAS,iBAAiBC,aAAkB;AAClD,QAAM,SAAS,WAAWC,OAAY;AACxC;AAgCK,MAAC,qBAAqB;AAAA,EACzB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,kBAAMH;AAAAA,MACN,kBAAMC;AAAAA,MACN,oBAAMC;AAAAA,MACN,cAAMC;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACZ,oBAAMJ,gBAAkB;AAAA,IACnB;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,cAAMK,aAAY;AAAA,MAClB,YAAMC,WAAU;AAAA,MAChB,kBAAMC,iBAAgB;AAAA,MACtB,eAAMC,cAAa;AAAA,MACnB,gBAAMC,eAAc;AAAA;AAAA,MAEpB,kBAAMC,iBAAgB;AAAA,MACtB,WAAMC,UAAS;AAAA,MACf,MAAMC,KAAI;AAAA,MACV,eAAMC,cAAa;AAAA,MACnB,gBAAMC,eAAc;AAAA,MACpB,QAAMC,OAAM;AAAA,MACZ,YAAMC,WAAU;AAAA,MAChB,UAAMC,SAAQ;AAAA,MACd,SAAMC,QAAO;AAAA;AAAA,MAEb,YAAMC,WAAU;AAAA,MAChB,mBAAMC,kBAAiB;AAAA,MACvB,sBAAMC,gBAAoB;AAAA,MAC1B,SAAMC,QAAO;AAAA,MACb,WAAMC,UAAS;AAAA;AAAA,MAEf,wBAAMC,uBAAsB;AAAA,IACvB;AAAA,EACF;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,53 +1,102 @@
1
- import { default as default2 } from "./components/pages/Organization.vue.js";
2
- import { default as default3 } from "./components/pages/Department.vue.js";
3
- import { default as default4 } from "./components/pages/OrganizationEdit.vue.js";
4
- import { default as default5 } from "./components/pages/Organizations.vue.js";
5
- import { default as default6 } from "./components/pages/DepartmentEdit.vue.js";
6
- import { default as default7 } from "./components/blocks/CardOrganization.vue.js";
7
- import { default as default8 } from "./components/blocks/EditArray.vue.js";
8
- import { default as default9 } from "./components/blocks/Unit.vue.js";
9
- import { default as default10 } from "./components/blocks/DepartmentSub.vue.js";
10
- import { default as default11 } from "./components/blocks/CardDepartment.vue.js";
11
- import { default as default12 } from "./components/blocks/Rating.vue.js";
12
- import { default as default13 } from "./components/blocks/EmptyState.vue.js";
13
- import { default as default14 } from "./components/blocks/Contacts.vue.js";
14
- import { default as default15 } from "./components/blocks/Socials.vue.js";
15
- import { default as default16 } from "./components/sections/MembersAdd.vue.js";
16
- import { default as default17 } from "./components/sections/DetailsTabSection.vue.js";
17
- import { default as default18 } from "./components/sections/Organizations.vue.js";
18
- import { default as default19 } from "./components/sections/Publics.vue.js";
19
- import { default as default20 } from "./components/sections/Documents.vue.js";
20
- import { default as default21 } from "./components/elements/ButtonToggleMembership.vue.js";
21
1
  import * as departments from "./store/departments.js";
22
2
  import * as memberships from "./store/memberships.js";
23
3
  import * as organizations from "./store/organizations.js";
24
4
  import * as invites from "./store/invites.js";
25
- import { default as default22 } from "./router/organizations.js";
5
+ import organizations$1 from "./router/organizations.js";
6
+ import _sfc_main from "./components/pages/Organization.vue.js";
7
+ import _sfc_main$1 from "./components/pages/Department.vue.js";
8
+ import _sfc_main$2 from "./components/pages/OrganizationEdit.vue.js";
9
+ import _sfc_main$3 from "./components/pages/Organizations.vue.js";
10
+ import _sfc_main$4 from "./components/pages/DepartmentEdit.vue.js";
11
+ import _sfc_main$5 from "./components/blocks/CardOrganization.vue.js";
12
+ import _sfc_main$6 from "./components/blocks/EditArray.vue.js";
13
+ import _sfc_main$7 from "./components/blocks/Unit.vue.js";
14
+ import DepartmentSub from "./components/blocks/DepartmentSub.vue.js";
15
+ import CardDepartment from "./components/blocks/CardDepartment.vue.js";
16
+ import _sfc_main$8 from "./components/blocks/Rating.vue.js";
17
+ import _sfc_main$9 from "./components/blocks/EmptyState.vue.js";
18
+ import _sfc_main$a from "./components/blocks/Contacts.vue.js";
19
+ import _sfc_main$b from "./components/blocks/Socials.vue.js";
20
+ import _sfc_main$c from "./components/sections/MembersAdd.vue.js";
21
+ import _sfc_main$d from "./components/sections/DetailsTabSection.vue.js";
22
+ import _sfc_main$e from "./components/sections/Organizations.vue.js";
23
+ import _sfc_main$f from "./components/sections/Publics.vue.js";
24
+ import Documents from "./components/sections/Documents.vue.js";
25
+ import _sfc_main$g from "./components/elements/ButtonToggleMembership.vue.js";
26
+ function initializeOrganization(app, store, router, options = {}) {
27
+ const route = options.route || "Home";
28
+ router.addRoute(route, organizations$1);
29
+ store.addStore("departments", departments);
30
+ store.addStore("memberships", memberships);
31
+ store.addStore("organizations", organizations);
32
+ store.addStore("invites", invites);
33
+ }
34
+ const ModuleOrganization = {
35
+ initialize: initializeOrganization,
36
+ views: {
37
+ store: {
38
+ storeDepartments: departments,
39
+ storeMemberships: memberships,
40
+ storeOrganizations: organizations,
41
+ storeInvites: invites
42
+ },
43
+ router: {
44
+ routerOrganization: organizations$1
45
+ },
46
+ components: {
47
+ // Pages
48
+ Organization: _sfc_main,
49
+ Department: _sfc_main$1,
50
+ OrganizationEdit: _sfc_main$2,
51
+ Organizations: _sfc_main$3,
52
+ DepartmentEdit: _sfc_main$4,
53
+ // Blocks
54
+ CardOrganization: _sfc_main$5,
55
+ EditArray: _sfc_main$6,
56
+ Unit: _sfc_main$7,
57
+ DepartmentSub,
58
+ CardDepartment,
59
+ Rating: _sfc_main$8,
60
+ EmptyState: _sfc_main$9,
61
+ Contacts: _sfc_main$a,
62
+ Socials: _sfc_main$b,
63
+ // Sections
64
+ MembersAdd: _sfc_main$c,
65
+ DetailsTabSection: _sfc_main$d,
66
+ OrganizationsSection: _sfc_main$e,
67
+ Publics: _sfc_main$f,
68
+ Documents,
69
+ // Elements
70
+ ButtonToggleMembership: _sfc_main$g
71
+ }
72
+ }
73
+ };
26
74
  export {
27
- default21 as ButtonToggleMembership,
28
- default11 as CardDepartment,
29
- default7 as CardOrganization,
30
- default14 as Contacts,
31
- default3 as Department,
32
- default6 as DepartmentEdit,
33
- default10 as DepartmentSub,
34
- default17 as DetailsTabSection,
35
- default20 as Documents,
36
- default8 as EditArray,
37
- default13 as EmptyState,
38
- default16 as MembersAdd,
39
- default2 as Organization,
40
- default4 as OrganizationEdit,
41
- default5 as Organizations,
42
- default18 as OrganizationsSection,
43
- default19 as Publics,
44
- default12 as Rating,
45
- default15 as Socials,
46
- default9 as Unit,
47
- departments as departmentsStore,
48
- invites as invitesStore,
49
- memberships as membershipsStore,
50
- organizations as organizationStore,
51
- default22 as organizationsRouter
75
+ _sfc_main$g as ButtonToggleMembership,
76
+ CardDepartment,
77
+ _sfc_main$5 as CardOrganization,
78
+ _sfc_main$a as Contacts,
79
+ _sfc_main$1 as Department,
80
+ _sfc_main$4 as DepartmentEdit,
81
+ DepartmentSub,
82
+ _sfc_main$d as DetailsTabSection,
83
+ Documents,
84
+ _sfc_main$6 as EditArray,
85
+ _sfc_main$9 as EmptyState,
86
+ _sfc_main$c as MembersAdd,
87
+ _sfc_main as Organization,
88
+ _sfc_main$2 as OrganizationEdit,
89
+ _sfc_main$3 as Organizations,
90
+ _sfc_main$e as OrganizationsSection,
91
+ _sfc_main$f as Publics,
92
+ _sfc_main$8 as Rating,
93
+ _sfc_main$b as Socials,
94
+ _sfc_main$7 as Unit,
95
+ ModuleOrganization as default,
96
+ organizations$1 as routerOrganization,
97
+ departments as storeDepartments,
98
+ invites as storeInvites,
99
+ memberships as storeMemberships,
100
+ organizations as storeOrganizations
52
101
  };
53
102
  //# sourceMappingURL=organizations.client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"organizations.client.js","sources":["../../../../../src/modules/organizations/organizations.client.js"],"sourcesContent":["// Store\nimport * as storeDepartments from './store/departments.js';\nimport * as storeMemberships from './store/memberships.js';\nimport * as storeOrganizations from './store/organizations.js';\nimport * as storeInvites from './store/invites.js';\n\n// Router\nimport routerOrganization from './router/organizations';\n\n// Views\n// Pages\nimport Organization from './components/pages/Organization.vue';\nimport Department from './components/pages/Department.vue';\nimport OrganizationEdit from './components/pages/OrganizationEdit.vue';\nimport Organizations from './components/pages/Organizations.vue';\nimport DepartmentEdit from './components/pages/DepartmentEdit.vue';\n\n// Blocks\nimport CardOrganization from './components/blocks/CardOrganization.vue';\nimport EditArray from './components/blocks/EditArray.vue';\nimport Unit from './components/blocks/Unit.vue';\nimport DepartmentSub from './components/blocks/DepartmentSub.vue';\nimport CardDepartment from './components/blocks/CardDepartment.vue';\nimport Rating from './components/blocks/Rating.vue';\nimport EmptyState from './components/blocks/EmptyState.vue';\nimport Contacts from './components/blocks/Contacts.vue';\nimport Socials from './components/blocks/Socials.vue';\n\n// Sections\nimport MembersAdd from './components/sections/MembersAdd.vue';\nimport DetailsTabSection from './components/sections/DetailsTabSection.vue';\nimport OrganizationsSection from './components/sections/Organizations.vue';\nimport Publics from './components/sections/Publics.vue';\nimport Documents from './components/sections/Documents.vue';\n\n// Elements\nimport ButtonToggleMembership from './components/elements/ButtonToggleMembership.vue';\n\n// Пример функции инициализации для модуля организаций\nfunction initializeOrganization(app, store, router, options = {}) {\n const route = options.route || 'Home';\n \n router.addRoute(route, routerOrganization);\n \n store.addStore('departments', storeDepartments);\n store.addStore('memberships', storeMemberships);\n store.addStore('organizations', storeOrganizations);\n store.addStore('invites', storeInvites);\n}\n\n// Export components, store modules, and routes\nexport {\n\tOrganization,\n\tDepartment,\n\tOrganizationEdit,\n\tOrganizations,\n\tDepartmentEdit,\n\tCardOrganization,\n\tEditArray,\n\tUnit,\n\tDepartmentSub,\n\tCardDepartment,\n\tRating,\n\tEmptyState,\n\tContacts,\n\tSocials,\n\tMembersAdd,\n\tDetailsTabSection,\n\tOrganizationsSection,\n\tPublics,\n\tDocuments,\n\tButtonToggleMembership,\n\tstoreDepartments,\n\tstoreMemberships,\n\tstoreOrganizations,\n\tstoreInvites,\n\trouterOrganization\n};\n\n\nconst ModuleOrganization = {\n initialize: initializeOrganization,\n views: {\n store: {\n storeDepartments,\n storeMemberships,\n storeOrganizations,\n storeInvites\n },\n router: {\n routerOrganization\n },\n components: {\n // Pages\n Organization,\n Department,\n OrganizationEdit,\n Organizations,\n DepartmentEdit,\n // Blocks\n CardOrganization,\n EditArray,\n Unit,\n DepartmentSub,\n CardDepartment,\n Rating,\n EmptyState,\n Contacts,\n Socials,\n // Sections\n MembersAdd,\n DetailsTabSection,\n OrganizationsSection,\n Publics,\n Documents,\n // Elements\n ButtonToggleMembership\n }\n }\n}\n\nexport default ModuleOrganization;"],"names":["routerOrganization","storeDepartments","storeMemberships","storeOrganizations","storeInvites","Organization","Department","OrganizationEdit","Organizations","DepartmentEdit","CardOrganization","EditArray","Unit","Rating","EmptyState","Contacts","Socials","MembersAdd","DetailsTabSection","OrganizationsSection","Publics","ButtonToggleMembership"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,SAAS,uBAAuB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAChE,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,eAAkB;AAEzC,QAAM,SAAS,eAAeC,WAAgB;AAC9C,QAAM,SAAS,eAAeC,WAAgB;AAC9C,QAAM,SAAS,iBAAiBC,aAAkB;AAClD,QAAM,SAAS,WAAWC,OAAY;AACxC;AAgCK,MAAC,qBAAqB;AAAA,EACzB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,kBAAMH;AAAAA,MACN,kBAAMC;AAAAA,MACN,oBAAMC;AAAAA,MACN,cAAMC;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MACZ,oBAAMJ;AAAAA,IACD;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,cAAMK;AAAAA,MACN,YAAMC;AAAAA,MACN,kBAAMC;AAAAA,MACN,eAAMC;AAAAA,MACN,gBAAMC;AAAAA;AAAAA,MAEN,kBAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,MAAMC;AAAAA,MACA;AAAA,MACA;AAAA,MACN,QAAMC;AAAAA,MACN,YAAMC;AAAAA,MACN,UAAMC;AAAAA,MACN,SAAMC;AAAAA;AAAAA,MAEN,YAAMC;AAAAA,MACN,mBAAMC;AAAAA,MACN,sBAAMC;AAAAA,MACN,SAAMC;AAAAA,MACA;AAAA;AAAA,MAEN,wBAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
@@ -1,21 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const Empty = require("../../globals/views/components/layouts/Empty.vue.cjs");
4
3
  const members_router = require("./members.router.cjs");
5
4
  const departments_router = require("./departments.router.cjs");
6
- const products_router = require("../../products/router/products.router.cjs");
5
+ const backoffice_router = require("./backoffice.router.cjs");
7
6
  const events = require("../../events/router/events.cjs");
7
+ const products_router = require("../../products/router/products.router.cjs");
8
8
  const categories_router = require("../../products/router/categories.router.cjs");
9
9
  const leftovers_router = require("../../products/router/leftovers.router.cjs");
10
10
  const payments_router = require("../../wallet/views/router/payments.router.cjs");
11
11
  const orders_backoffice_router = require("../../orders/router/orders.backoffice.router.cjs");
12
12
  const gallery_backoffice_router = require("../../gallery/router/gallery.backoffice.router.cjs");
13
- const backoffice_router = require("./backoffice.router.cjs");
14
13
  const auth_validation = require("../../auth/views/middlewares/auth.validation.cjs");
15
- const eventsRoutes = events.createEventRoutes("Organization_");
16
- const organizations = [{
14
+ const organizations = {
17
15
  path: "organizations",
18
- component: Empty.default,
19
16
  meta: {
20
17
  title: {
21
18
  en: "Organizations",
@@ -45,7 +42,6 @@ const organizations = [{
45
42
  ru: "Группа"
46
43
  }
47
44
  },
48
- component: Empty.default,
49
45
  children: [
50
46
  {
51
47
  path: "",
@@ -63,8 +59,8 @@ const organizations = [{
63
59
  },
64
60
  ...members_router.default,
65
61
  ...departments_router.default,
66
- ...products_router.default,
67
- eventsRoutes,
62
+ products_router.createProductRoutes("Organization_"),
63
+ events.createEventRoutes("Organization_"),
68
64
  ...categories_router.default,
69
65
  ...leftovers_router.default,
70
66
  ...payments_router.default,
@@ -84,6 +80,6 @@ const organizations = [{
84
80
  beforeEnter: [auth_validation.requiresAuth],
85
81
  component: () => Promise.resolve().then(() => require("../components/pages/OrganizationEdit.vue.cjs"))
86
82
  }]
87
- }];
83
+ };
88
84
  exports.default = organizations;
89
85
  //# sourceMappingURL=organizations.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.cjs","sources":["../../../../../../src/modules/organizations/router/organizations.js"],"sourcesContent":["import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport membersRoutes from './members.router.js';\nimport departmentRoutes from './departments.router.js'\n\nimport productRoutes from '@pf/src/modules/products/router/products.router.js'\nimport { createEventRoutes } from '@pf/src/modules/events/router/events';\nimport categoriesRoutes from '@pf/src/modules/products/router/categories.router.js'\nimport leftoversRoutes from '@pf/src/modules/products/router/leftovers.router.js'\n\nimport paymentsRoutes from '@pf/src/modules/wallet/views/router/payments.router.js'\nimport ordersBackofficeRoutes from '@pf/src/modules/orders/router/orders.backoffice.router.js'\nimport galleryBackofficeRoutes from '@pf/src/modules/gallery/router/gallery.backoffice.router.js'\n\nimport backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.router.js'\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst eventsRoutes = createEventRoutes('Organization_');\n\nconst organizations = [{\n path: 'organizations',\n component: layoutEmpty,\n meta: {\n title: {\n en: 'Organizations',\n ru: 'Организации'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n children: [{\n path: 'create',\n name: 'Create Organization',\n meta: {\n title: {\n en: 'Create Organization',\n ru: 'Создать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue')\n },{\n path: ':_id',\n name: 'OrganizationRoot',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n },\n component: layoutEmpty,\n children: [\n {\n path: '',\n name: 'Organization',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n component: () => import('@pf/src/modules/organizations/components/pages/Organization.vue'),\n },\n ...membersRoutes,\n ...departmentRoutes,\n ...productRoutes,\n eventsRoutes,\n ...categoriesRoutes,\n ...leftoversRoutes,\n ...paymentsRoutes,\n ...ordersBackofficeRoutes,\n ...galleryBackofficeRoutes,\n ...backofficeRoutes \n ],\n },{\n path: ':_id/edit',\n name: 'Organization Edit',\n meta: {\n title: {\n en: 'Edit Organization',\n ru: 'Редактировать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n }]\n}];\n\nexport default organizations;\n"],"names":["createEventRoutes","layoutEmpty","validationAuth.requiresAuth","membersRoutes","departmentRoutes","productRoutes","categoriesRoutes","leftoversRoutes","paymentsRoutes","ordersBackofficeRoutes","galleryBackofficeRoutes","backofficeRoutes"],"mappings":";;;;;;;;;;;;;;AAkBA,MAAM,eAAeA,OAAAA,kBAAkB,eAAe;AAEjD,MAAC,gBAAgB,CAAC;AAAA,EACrB,MAAM;AAAA,EACN,WAAWC,MAAW;AAAA,EACtB,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,IACD,aAAa;AAAA,MACX,QAAQ;AAAA,IACT;AAAA,EACF;AAAA,EACD,UAAU,CAAC;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACC,gBAAAA,YAA2B;AAAA,IACzC,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,8CAAqE,CAAC;AAAA,EAClG,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAWD,MAAW;AAAA,IACtB,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,aAAa;AAAA,YACX,QAAQ;AAAA,UACT;AAAA,QACF;AAAA,QACD,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,0CAAiE,CAAC;AAAA,MAC3F;AAAA,MACD,GAAGE,eAAa;AAAA,MAChB,GAAGC,mBAAgB;AAAA,MACnB,GAAGC,gBAAa;AAAA,MAChB;AAAA,MACA,GAAGC,kBAAgB;AAAA,MACnB,GAAGC,iBAAe;AAAA,MAClB,GAAGC,gBAAc;AAAA,MACjB,GAAGC,yBAAsB;AAAA,MACzB,GAAGC,0BAAuB;AAAA,MAC1B,GAAGC,kBAAgB;AAAA,IACpB;AAAA,EACL,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACT,gBAAAA,YAA2B;AAAA,IACzC,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,8CAAqE,CAAC;AAAA,EAClG,CAAG;AACH,CAAC;;"}
1
+ {"version":3,"file":"organizations.cjs","sources":["../../../../../../src/modules/organizations/router/organizations.js"],"sourcesContent":["import membersRoutes from './members.router.js';\nimport departmentRoutes from './departments.router.js'\nimport backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.router.js'\n\nimport { createEventRoutes } from '@pf/src/modules/events/router/events';\nimport { createProductRoutes } from '@pf/src/modules/products/router/products.router';\nimport categoriesRoutes from '@pf/src/modules/products/router/categories.router.js'\nimport leftoversRoutes from '@pf/src/modules/products/router/leftovers.router.js'\n\nimport paymentsRoutes from '@pf/src/modules/wallet/views/router/payments.router.js'\nimport ordersBackofficeRoutes from '@pf/src/modules/orders/router/orders.backoffice.router.js'\nimport galleryBackofficeRoutes from '@pf/src/modules/gallery/router/gallery.backoffice.router.js'\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst organizations = {\n path: 'organizations',\n meta: {\n title: {\n en: 'Organizations',\n ru: 'Организации'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n children: [{\n path: 'create',\n name: 'Create Organization',\n meta: {\n title: {\n en: 'Create Organization',\n ru: 'Создать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue')\n },{\n path: ':_id',\n name: 'OrganizationRoot',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n },\n children: [\n {\n path: '',\n name: 'Organization',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n component: () => import('@pf/src/modules/organizations/components/pages/Organization.vue'),\n },\n ...membersRoutes,\n ...departmentRoutes,\n createProductRoutes('Organization_'),\n createEventRoutes('Organization_'),\n ...categoriesRoutes,\n ...leftoversRoutes,\n ...paymentsRoutes,\n ...ordersBackofficeRoutes,\n ...galleryBackofficeRoutes,\n ...backofficeRoutes \n ],\n },{\n path: ':_id/edit',\n name: 'Organization Edit',\n meta: {\n title: {\n en: 'Edit Organization',\n ru: 'Редактировать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n }]\n};\n\nexport default organizations;\n"],"names":["validationAuth.requiresAuth","membersRoutes","departmentRoutes","createProductRoutes","createEventRoutes","categoriesRoutes","leftoversRoutes","paymentsRoutes","ordersBackofficeRoutes","galleryBackofficeRoutes","backofficeRoutes"],"mappings":";;;;;;;;;;;;;AAeK,MAAC,gBAAgB;AAAA,EACpB,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,IACD,aAAa;AAAA,MACX,QAAQ;AAAA,IACT;AAAA,EACF;AAAA,EACD,UAAU,CAAC;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACA,gBAAAA,YAA2B;AAAA,IACzC,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,8CAAqE,CAAC;AAAA,EAClG,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,aAAa;AAAA,YACX,QAAQ;AAAA,UACT;AAAA,QACF;AAAA,QACD,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,0CAAiE,CAAC;AAAA,MAC3F;AAAA,MACD,GAAGC,eAAa;AAAA,MAChB,GAAGC,mBAAgB;AAAA,MACnBC,gBAAAA,oBAAoB,eAAe;AAAA,MACnCC,OAAAA,kBAAkB,eAAe;AAAA,MACjC,GAAGC,kBAAgB;AAAA,MACnB,GAAGC,iBAAe;AAAA,MAClB,GAAGC,gBAAc;AAAA,MACjB,GAAGC,yBAAsB;AAAA,MACzB,GAAGC,0BAAuB;AAAA,MAC1B,GAAGC,kBAAgB;AAAA,IACpB;AAAA,EACL,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACV,gBAAAA,YAA2B;AAAA,IACzC,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,8CAAqE,CAAC;AAAA,EAClG,CAAG;AACH;;"}
@@ -1,19 +1,16 @@
1
- import layoutEmpty from "../../globals/views/components/layouts/Empty.vue.js";
2
1
  import membersRoutes from "./members.router.js";
3
2
  import departmentRoutes from "./departments.router.js";
4
- import productRoutes from "../../products/router/products.router.js";
3
+ import backofficeRoutes from "./backoffice.router.js";
5
4
  import { createEventRoutes } from "../../events/router/events.js";
5
+ import { createProductRoutes } from "../../products/router/products.router.js";
6
6
  import categoriesRoutes from "../../products/router/categories.router.js";
7
- import productRoutes$1 from "../../products/router/leftovers.router.js";
7
+ import productRoutes from "../../products/router/leftovers.router.js";
8
8
  import payments from "../../wallet/views/router/payments.router.js";
9
9
  import orders from "../../orders/router/orders.backoffice.router.js";
10
10
  import gallery from "../../gallery/router/gallery.backoffice.router.js";
11
- import backofficeRoutes from "./backoffice.router.js";
12
11
  import { requiresAuth } from "../../auth/views/middlewares/auth.validation.js";
13
- const eventsRoutes = createEventRoutes("Organization_");
14
- const organizations = [{
12
+ const organizations = {
15
13
  path: "organizations",
16
- component: layoutEmpty,
17
14
  meta: {
18
15
  title: {
19
16
  en: "Organizations",
@@ -43,7 +40,6 @@ const organizations = [{
43
40
  ru: "Группа"
44
41
  }
45
42
  },
46
- component: layoutEmpty,
47
43
  children: [
48
44
  {
49
45
  path: "",
@@ -61,10 +57,10 @@ const organizations = [{
61
57
  },
62
58
  ...membersRoutes,
63
59
  ...departmentRoutes,
64
- ...productRoutes,
65
- eventsRoutes,
60
+ createProductRoutes("Organization_"),
61
+ createEventRoutes("Organization_"),
66
62
  ...categoriesRoutes,
67
- ...productRoutes$1,
63
+ ...productRoutes,
68
64
  ...payments,
69
65
  ...orders,
70
66
  ...gallery,
@@ -82,7 +78,7 @@ const organizations = [{
82
78
  beforeEnter: [requiresAuth],
83
79
  component: () => import("../components/pages/OrganizationEdit.vue.js")
84
80
  }]
85
- }];
81
+ };
86
82
  export {
87
83
  organizations as default
88
84
  };
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.js","sources":["../../../../../../src/modules/organizations/router/organizations.js"],"sourcesContent":["import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport membersRoutes from './members.router.js';\nimport departmentRoutes from './departments.router.js'\n\nimport productRoutes from '@pf/src/modules/products/router/products.router.js'\nimport { createEventRoutes } from '@pf/src/modules/events/router/events';\nimport categoriesRoutes from '@pf/src/modules/products/router/categories.router.js'\nimport leftoversRoutes from '@pf/src/modules/products/router/leftovers.router.js'\n\nimport paymentsRoutes from '@pf/src/modules/wallet/views/router/payments.router.js'\nimport ordersBackofficeRoutes from '@pf/src/modules/orders/router/orders.backoffice.router.js'\nimport galleryBackofficeRoutes from '@pf/src/modules/gallery/router/gallery.backoffice.router.js'\n\nimport backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.router.js'\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst eventsRoutes = createEventRoutes('Organization_');\n\nconst organizations = [{\n path: 'organizations',\n component: layoutEmpty,\n meta: {\n title: {\n en: 'Organizations',\n ru: 'Организации'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n children: [{\n path: 'create',\n name: 'Create Organization',\n meta: {\n title: {\n en: 'Create Organization',\n ru: 'Создать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue')\n },{\n path: ':_id',\n name: 'OrganizationRoot',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n },\n component: layoutEmpty,\n children: [\n {\n path: '',\n name: 'Organization',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n component: () => import('@pf/src/modules/organizations/components/pages/Organization.vue'),\n },\n ...membersRoutes,\n ...departmentRoutes,\n ...productRoutes,\n eventsRoutes,\n ...categoriesRoutes,\n ...leftoversRoutes,\n ...paymentsRoutes,\n ...ordersBackofficeRoutes,\n ...galleryBackofficeRoutes,\n ...backofficeRoutes \n ],\n },{\n path: ':_id/edit',\n name: 'Organization Edit',\n meta: {\n title: {\n en: 'Edit Organization',\n ru: 'Редактировать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n }]\n}];\n\nexport default organizations;\n"],"names":["validationAuth.requiresAuth","leftoversRoutes","paymentsRoutes","ordersBackofficeRoutes","galleryBackofficeRoutes"],"mappings":";;;;;;;;;;;;AAkBA,MAAM,eAAe,kBAAkB,eAAe;AAEjD,MAAC,gBAAgB,CAAC;AAAA,EACrB,MAAM;AAAA,EACN,WAAW;AAAA,EACX,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,IACD,aAAa;AAAA,MACX,QAAQ;AAAA,IACT;AAAA,EACF;AAAA,EACD,UAAU,CAAC;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACA,YAA2B;AAAA,IACzC,WAAW,MAAM,OAAO,6CAAqE;AAAA,EACjG,GAAI;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;AAAA,IACX,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,aAAa;AAAA,YACX,QAAQ;AAAA,UACT;AAAA,QACF;AAAA,QACD,WAAW,MAAM,OAAO,yCAAiE;AAAA,MAC1F;AAAA,MACD,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH;AAAA,MACA,GAAG;AAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAG;AAAA,IACJ;AAAA,EACL,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACJ,YAA2B;AAAA,IACzC,WAAW,MAAM,OAAO,6CAAqE;AAAA,EACjG,CAAG;AACH,CAAC;"}
1
+ {"version":3,"file":"organizations.js","sources":["../../../../../../src/modules/organizations/router/organizations.js"],"sourcesContent":["import membersRoutes from './members.router.js';\nimport departmentRoutes from './departments.router.js'\nimport backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.router.js'\n\nimport { createEventRoutes } from '@pf/src/modules/events/router/events';\nimport { createProductRoutes } from '@pf/src/modules/products/router/products.router';\nimport categoriesRoutes from '@pf/src/modules/products/router/categories.router.js'\nimport leftoversRoutes from '@pf/src/modules/products/router/leftovers.router.js'\n\nimport paymentsRoutes from '@pf/src/modules/wallet/views/router/payments.router.js'\nimport ordersBackofficeRoutes from '@pf/src/modules/orders/router/orders.backoffice.router.js'\nimport galleryBackofficeRoutes from '@pf/src/modules/gallery/router/gallery.backoffice.router.js'\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst organizations = {\n path: 'organizations',\n meta: {\n title: {\n en: 'Organizations',\n ru: 'Организации'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n children: [{\n path: 'create',\n name: 'Create Organization',\n meta: {\n title: {\n en: 'Create Organization',\n ru: 'Создать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue')\n },{\n path: ':_id',\n name: 'OrganizationRoot',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n },\n children: [\n {\n path: '',\n name: 'Organization',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n component: () => import('@pf/src/modules/organizations/components/pages/Organization.vue'),\n },\n ...membersRoutes,\n ...departmentRoutes,\n createProductRoutes('Organization_'),\n createEventRoutes('Organization_'),\n ...categoriesRoutes,\n ...leftoversRoutes,\n ...paymentsRoutes,\n ...ordersBackofficeRoutes,\n ...galleryBackofficeRoutes,\n ...backofficeRoutes \n ],\n },{\n path: ':_id/edit',\n name: 'Organization Edit',\n meta: {\n title: {\n en: 'Edit Organization',\n ru: 'Редактировать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n }]\n};\n\nexport default organizations;\n"],"names":["validationAuth.requiresAuth","leftoversRoutes","paymentsRoutes","ordersBackofficeRoutes","galleryBackofficeRoutes"],"mappings":";;;;;;;;;;;AAeK,MAAC,gBAAgB;AAAA,EACpB,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,IACD,aAAa;AAAA,MACX,QAAQ;AAAA,IACT;AAAA,EACF;AAAA,EACD,UAAU,CAAC;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACA,YAA2B;AAAA,IACzC,WAAW,MAAM,OAAO,6CAAqE;AAAA,EACjG,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,aAAa;AAAA,YACX,QAAQ;AAAA,UACT;AAAA,QACF;AAAA,QACD,WAAW,MAAM,OAAO,yCAAiE;AAAA,MAC1F;AAAA,MACD,GAAG;AAAA,MACH,GAAG;AAAA,MACH,oBAAoB,eAAe;AAAA,MACnC,kBAAkB,eAAe;AAAA,MACjC,GAAG;AAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAG;AAAA,IACJ;AAAA,EACL,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACJ,YAA2B;AAAA,IACzC,WAAW,MAAM,OAAO,6CAAqE;AAAA,EACjG,CAAG;AACH;"}