@ozdao/martyrs 0.2.505 → 0.2.507

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (517) hide show
  1. package/dist/_virtual/index.cjs +4 -4
  2. package/dist/_virtual/index.js +4 -4
  3. package/dist/_virtual/index2.cjs +4 -4
  4. package/dist/_virtual/index2.js +4 -4
  5. package/dist/auth.server.cjs +1 -1
  6. package/dist/auth.server.js +1 -1
  7. package/dist/builder.cjs +52 -60
  8. package/dist/builder.js +52 -60
  9. package/dist/chats.server.cjs +1 -1
  10. package/dist/chats.server.js +1 -1
  11. package/dist/events.server.cjs +1 -1
  12. package/dist/events.server.js +1 -1
  13. package/dist/{mailing-q7sR8gCV.cjs → mailing-Bs9ThyVZ.cjs} +1 -24
  14. package/dist/{mailing-C11EYWm-.js → mailing-DzlhsxCC.js} +1 -24
  15. package/dist/main-AWSb_d2P.cjs +11 -0
  16. package/dist/{main-CJm5myDI.js → main-Dq-UfO4G.js} +2562 -2477
  17. package/dist/martyrs/src/components/Button/Button.vue2.cjs +1 -1
  18. package/dist/martyrs/src/components/Button/Button.vue2.js +1 -1
  19. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +3 -3
  20. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +1 -1
  21. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +3 -3
  22. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
  23. package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +1 -1
  24. package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
  25. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +15 -46
  26. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  27. package/dist/martyrs/src/components/Feed/Feed.vue.js +22 -53
  28. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  29. package/dist/martyrs/src/components/Field/Field.vue.cjs +14 -6
  30. package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
  31. package/dist/martyrs/src/components/Field/Field.vue.js +14 -6
  32. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  33. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +58 -11
  34. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs.map +1 -1
  35. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +60 -13
  36. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js.map +1 -1
  37. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  38. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs.map +1 -1
  39. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  40. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js.map +1 -1
  41. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  42. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
  43. package/dist/martyrs/src/components/Loader/{Loader.vue2.cjs → Loader.vue.cjs} +2 -2
  44. package/dist/martyrs/src/components/Loader/{Loader.vue2.js.map → Loader.vue.cjs.map} +1 -1
  45. package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
  46. package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
  47. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  48. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  49. package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
  50. package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
  51. package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
  52. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
  53. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs +2 -2
  54. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +1 -1
  55. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js +2 -2
  56. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js.map +1 -1
  57. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  58. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  59. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +3 -3
  60. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
  61. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +3 -3
  62. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  63. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +42 -10
  64. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
  65. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +44 -12
  66. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
  67. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +11 -15
  68. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs.map +1 -1
  69. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +21 -25
  70. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
  71. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +12 -16
  72. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs.map +1 -1
  73. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +33 -37
  74. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js.map +1 -1
  75. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs +13 -9
  76. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs.map +1 -1
  77. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +13 -9
  78. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.map +1 -1
  79. package/dist/martyrs/src/modules/auth/views/router/users.cjs +0 -4
  80. package/dist/martyrs/src/modules/auth/views/router/users.cjs.map +1 -1
  81. package/dist/martyrs/src/modules/auth/views/router/users.js +0 -4
  82. package/dist/martyrs/src/modules/auth/views/router/users.js.map +1 -1
  83. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  84. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  85. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  87. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs +431 -0
  88. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs.map +1 -0
  89. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +431 -0
  90. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -0
  91. package/dist/martyrs/src/modules/community/router/blogposts.cjs +17 -0
  92. package/dist/martyrs/src/modules/community/router/blogposts.cjs.map +1 -1
  93. package/dist/martyrs/src/modules/community/router/blogposts.js +17 -0
  94. package/dist/martyrs/src/modules/community/router/blogposts.js.map +1 -1
  95. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  96. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  97. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -3
  98. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
  99. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -3
  100. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
  101. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  102. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
  103. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  104. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
  105. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  106. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
  107. package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs +1 -1
  108. package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
  109. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
  110. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
  111. package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.cjs +4 -6
  112. package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.cjs.map +1 -1
  113. package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.js +4 -6
  114. package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.js.map +1 -1
  115. package/dist/martyrs/src/modules/globals/views/components/blocks/{BlockMultiselect.vue2.cjs → BlockMultiselect.vue.cjs} +2 -2
  116. package/dist/martyrs/src/modules/globals/views/components/blocks/{BlockMultiselect.vue2.js.map → BlockMultiselect.vue.cjs.map} +1 -1
  117. package/dist/martyrs/src/modules/globals/views/components/blocks/{BlockMultiselect.vue2.js → BlockMultiselect.vue.js} +2 -2
  118. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.js.map +1 -0
  119. package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.cjs +5 -2
  120. package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.cjs.map +1 -1
  121. package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.js +6 -3
  122. package/dist/martyrs/src/modules/globals/views/components/blocks/Card.vue.js.map +1 -1
  123. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  124. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  125. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
  127. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -3
  128. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  129. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +2 -3
  130. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  131. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +324 -0
  132. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs.map +1 -0
  133. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +324 -0
  134. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js.map +1 -0
  135. package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs +32 -0
  136. package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs.map +1 -0
  137. package/dist/martyrs/src/modules/icons/entities/IconLock.vue.js +32 -0
  138. package/dist/martyrs/src/modules/icons/entities/IconLock.vue.js.map +1 -0
  139. package/dist/martyrs/src/modules/icons/icons.client.cjs +2 -0
  140. package/dist/martyrs/src/modules/icons/icons.client.cjs.map +1 -1
  141. package/dist/martyrs/src/modules/icons/icons.client.js +116 -114
  142. package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
  143. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +5 -3
  144. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
  145. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +117 -115
  146. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
  147. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +1 -1
  148. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +11 -36
  149. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
  150. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -36
  151. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
  152. package/dist/martyrs/src/modules/landing/landing.client.cjs +3 -0
  153. package/dist/martyrs/src/modules/landing/landing.client.cjs.map +1 -1
  154. package/dist/martyrs/src/modules/landing/landing.client.js +3 -0
  155. package/dist/martyrs/src/modules/landing/landing.client.js.map +1 -1
  156. package/dist/martyrs/src/modules/landing/locales/en.cjs +12 -0
  157. package/dist/martyrs/src/modules/landing/locales/en.cjs.map +1 -0
  158. package/dist/martyrs/src/modules/landing/locales/en.js +12 -0
  159. package/dist/martyrs/src/modules/landing/locales/en.js.map +1 -0
  160. package/dist/martyrs/src/modules/landing/locales/index.cjs +10 -0
  161. package/dist/martyrs/src/modules/landing/locales/index.cjs.map +1 -0
  162. package/dist/martyrs/src/modules/landing/locales/index.js +10 -0
  163. package/dist/martyrs/src/modules/landing/locales/index.js.map +1 -0
  164. package/dist/martyrs/src/modules/landing/locales/ru.cjs +12 -0
  165. package/dist/martyrs/src/modules/landing/locales/ru.cjs.map +1 -0
  166. package/dist/martyrs/src/modules/landing/locales/ru.js +12 -0
  167. package/dist/martyrs/src/modules/landing/locales/ru.js.map +1 -0
  168. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs +1 -1
  169. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
  170. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
  171. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
  172. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +2 -2
  173. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
  174. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +1 -1
  175. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
  176. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
  177. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
  178. package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +2 -2
  179. package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs.map +1 -1
  180. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
  181. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js.map +1 -1
  182. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +1 -1
  183. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +1 -1
  184. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +2 -2
  185. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs.map +1 -1
  186. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +2 -2
  187. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
  188. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +1 -1
  189. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
  190. package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +2 -2
  191. package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs.map +1 -1
  192. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +2 -2
  193. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
  194. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +1 -1
  195. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
  196. package/dist/martyrs/src/modules/music/router/music.cjs +2 -4
  197. package/dist/martyrs/src/modules/music/router/music.cjs.map +1 -1
  198. package/dist/martyrs/src/modules/music/router/music.js +2 -4
  199. package/dist/martyrs/src/modules/music/router/music.js.map +1 -1
  200. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs +86 -0
  201. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs.map +1 -0
  202. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +86 -0
  203. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -0
  204. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs +103 -0
  205. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs.map +1 -0
  206. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +103 -0
  207. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -0
  208. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs +194 -0
  209. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs.map +1 -0
  210. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +194 -0
  211. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -0
  212. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +138 -0
  213. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs.map +1 -0
  214. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +138 -0
  215. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js.map +1 -0
  216. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +189 -0
  217. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs.map +1 -0
  218. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +189 -0
  219. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -0
  220. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs +173 -0
  221. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs.map +1 -0
  222. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +173 -0
  223. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js.map +1 -0
  224. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs +233 -0
  225. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs.map +1 -0
  226. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +233 -0
  227. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -0
  228. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs +234 -0
  229. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs.map +1 -0
  230. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +234 -0
  231. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -0
  232. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +9 -8
  233. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
  234. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +9 -8
  235. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
  236. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +8 -82
  237. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
  238. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +9 -83
  239. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
  240. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs +119 -0
  241. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs.map +1 -0
  242. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +119 -0
  243. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -0
  244. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs +139 -0
  245. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs.map +1 -0
  246. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +139 -0
  247. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -0
  248. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -3
  249. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
  250. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -3
  251. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
  252. package/dist/martyrs/src/modules/orders/locales/en.cjs +38 -0
  253. package/dist/martyrs/src/modules/orders/locales/en.cjs.map +1 -0
  254. package/dist/martyrs/src/modules/orders/locales/en.js +38 -0
  255. package/dist/martyrs/src/modules/orders/locales/en.js.map +1 -0
  256. package/dist/martyrs/src/modules/orders/locales/index.cjs +10 -0
  257. package/dist/martyrs/src/modules/orders/locales/index.cjs.map +1 -0
  258. package/dist/martyrs/src/modules/orders/locales/index.js +10 -0
  259. package/dist/martyrs/src/modules/orders/locales/index.js.map +1 -0
  260. package/dist/martyrs/src/modules/orders/locales/ru.cjs +38 -0
  261. package/dist/martyrs/src/modules/orders/locales/ru.cjs.map +1 -0
  262. package/dist/martyrs/src/modules/orders/locales/ru.js +38 -0
  263. package/dist/martyrs/src/modules/orders/locales/ru.js.map +1 -0
  264. package/dist/martyrs/src/modules/orders/orders.client.cjs +78 -3
  265. package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
  266. package/dist/martyrs/src/modules/orders/orders.client.js +80 -5
  267. package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
  268. package/dist/martyrs/src/modules/orders/router/applications.router.cjs +17 -0
  269. package/dist/martyrs/src/modules/orders/router/applications.router.cjs.map +1 -0
  270. package/dist/martyrs/src/modules/orders/router/applications.router.js +17 -0
  271. package/dist/martyrs/src/modules/orders/router/applications.router.js.map +1 -0
  272. package/dist/martyrs/src/modules/orders/router/customers.router.cjs +18 -0
  273. package/dist/martyrs/src/modules/orders/router/customers.router.cjs.map +1 -0
  274. package/dist/martyrs/src/modules/orders/router/customers.router.js +18 -0
  275. package/dist/martyrs/src/modules/orders/router/customers.router.js.map +1 -0
  276. package/dist/martyrs/src/modules/orders/store/applications.cjs +4 -42
  277. package/dist/martyrs/src/modules/orders/store/applications.cjs.map +1 -1
  278. package/dist/martyrs/src/modules/orders/store/applications.js +3 -41
  279. package/dist/martyrs/src/modules/orders/store/applications.js.map +1 -1
  280. package/dist/martyrs/src/modules/orders/store/models/application.cjs +20 -0
  281. package/dist/martyrs/src/modules/orders/store/models/application.cjs.map +1 -0
  282. package/dist/martyrs/src/modules/orders/store/models/application.js +20 -0
  283. package/dist/martyrs/src/modules/orders/store/models/application.js.map +1 -0
  284. package/dist/martyrs/src/modules/orders/store/models/customer.cjs +13 -1
  285. package/dist/martyrs/src/modules/orders/store/models/customer.cjs.map +1 -1
  286. package/dist/martyrs/src/modules/orders/store/models/customer.js +13 -1
  287. package/dist/martyrs/src/modules/orders/store/models/customer.js.map +1 -1
  288. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  289. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  290. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  291. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  292. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +18 -194
  293. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
  294. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +19 -195
  295. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  296. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  297. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  298. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  299. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
  300. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  301. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  302. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -11
  303. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
  304. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +6 -15
  305. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
  306. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  307. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  308. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  309. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  310. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +85 -89
  311. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
  312. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +92 -96
  313. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  314. package/dist/martyrs/src/modules/organizations/router/organizations.cjs +5 -1
  315. package/dist/martyrs/src/modules/organizations/router/organizations.cjs.map +1 -1
  316. package/dist/martyrs/src/modules/organizations/router/organizations.js +5 -1
  317. package/dist/martyrs/src/modules/organizations/router/organizations.js.map +1 -1
  318. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  319. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  320. package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs +3 -6
  321. package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
  322. package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.js +3 -6
  323. package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
  324. package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs +1 -1
  325. package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs.map +1 -1
  326. package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js +1 -1
  327. package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js.map +1 -1
  328. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +2 -2
  329. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs.map +1 -1
  330. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +2 -2
  331. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
  332. package/dist/martyrs/src/modules/products/components/elements/Image360.vue.cjs +1 -1
  333. package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
  334. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +22 -19
  335. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
  336. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +22 -19
  337. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
  338. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +27 -18
  339. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  340. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +27 -18
  341. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  342. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +1 -1
  343. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
  344. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  345. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  346. package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  347. package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  348. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +361 -106
  349. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  350. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +379 -124
  351. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  352. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +20 -6
  353. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs.map +1 -1
  354. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -6
  355. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js.map +1 -1
  356. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +32 -2
  357. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +1 -1
  358. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +33 -3
  359. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -1
  360. package/dist/martyrs/src/modules/products/router/products.router.cjs +15 -0
  361. package/dist/martyrs/src/modules/products/router/products.router.cjs.map +1 -1
  362. package/dist/martyrs/src/modules/products/router/products.router.js +15 -0
  363. package/dist/martyrs/src/modules/products/router/products.router.js.map +1 -1
  364. package/dist/martyrs/src/modules/products/store/categories.cjs +25 -7
  365. package/dist/martyrs/src/modules/products/store/categories.cjs.map +1 -1
  366. package/dist/martyrs/src/modules/products/store/categories.js +25 -7
  367. package/dist/martyrs/src/modules/products/store/categories.js.map +1 -1
  368. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  369. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
  370. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  371. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
  372. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs +345 -0
  373. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs.map +1 -0
  374. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +345 -0
  375. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -0
  376. package/dist/martyrs/src/modules/spots/router/spots.cjs +17 -0
  377. package/dist/martyrs/src/modules/spots/router/spots.cjs.map +1 -1
  378. package/dist/martyrs/src/modules/spots/router/spots.js +17 -0
  379. package/dist/martyrs/src/modules/spots/router/spots.js.map +1 -1
  380. package/dist/martyrs.cjs.js +1 -1
  381. package/dist/martyrs.css +1 -1
  382. package/dist/martyrs.es.js +1 -1
  383. package/dist/notifications.server.cjs +1 -1
  384. package/dist/notifications.server.js +1 -1
  385. package/dist/orders.server.cjs +459 -201
  386. package/dist/orders.server.js +459 -201
  387. package/dist/organizations.server.cjs +1 -1
  388. package/dist/organizations.server.js +1 -1
  389. package/dist/products.server.cjs +439 -255
  390. package/dist/products.server.js +439 -255
  391. package/dist/style.css +115 -139
  392. package/dist/{tickets.controller-DQQcjyui.js → tickets.controller-C56OvH6v.js} +1 -1
  393. package/dist/{tickets.controller-D0V0gJCA.cjs → tickets.controller-DdnndM6c.cjs} +1 -1
  394. package/dist/wallet.server.cjs +1 -1
  395. package/dist/wallet.server.js +1 -1
  396. package/dist/{web-Dkk0_7TA.js → web-BXajFCU2.js} +1 -1
  397. package/dist/{web-stVkXd0l.cjs → web-DaBwwCQ5.cjs} +1 -1
  398. package/package.json +1 -1
  399. package/src/builder/modes/ssr.dev.js +10 -10
  400. package/src/builder/rspack/rspack.config.ssr.client.js +50 -50
  401. package/src/components/Checkbox/Checkbox.vue +3 -4
  402. package/src/components/Feed/Feed.old.vue +522 -0
  403. package/src/components/Feed/Feed.vue +4 -4
  404. package/src/components/Field/Field.vue +7 -1
  405. package/src/components/FieldBig/FieldBig.vue +62 -8
  406. package/src/components/FieldPhone/FieldPhone.vue +1 -1
  407. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  408. package/src/modules/STYLES.MD +198 -0
  409. package/src/modules/auth/views/components/pages/Profile.vue +1 -1
  410. package/src/modules/auth/views/components/pages/ProfileEdit.vue +42 -8
  411. package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +9 -11
  412. package/src/modules/auth/views/components/pages/ProfileEditProfile.vue +9 -11
  413. package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +7 -4
  414. package/src/modules/auth/views/router/users.js +0 -4
  415. package/src/modules/community/components/pages/Posts.vue +444 -0
  416. package/src/modules/community/router/blogposts.js +15 -0
  417. package/src/modules/events/components/pages/EventsBackoffice.vue +1 -1
  418. package/src/modules/globals/views/classes/globals.websocket.js +7 -8
  419. package/src/modules/globals/views/components/blocks/Card.vue +2 -1
  420. package/src/modules/globals/views/components/layouts/Client.vue +1 -2
  421. package/src/modules/globals/views/components/partials/FooterAlt.vue +161 -188
  422. package/src/modules/globals/views/components/sections/Filters.vue +261 -121
  423. package/src/modules/globals/views/components/sections/filters/FilterCheckbox.vue +78 -0
  424. package/src/modules/globals/views/components/sections/filters/FilterDateRange.vue +177 -0
  425. package/src/modules/globals/views/components/sections/filters/FilterRange.vue +51 -50
  426. package/src/modules/icons/entities/IconLock.vue +14 -0
  427. package/src/modules/icons/icons.client.js +2 -1
  428. package/src/modules/icons/pages/IconsPage.vue +4 -2
  429. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +11 -61
  430. package/src/modules/landing/landing.client.js +6 -0
  431. package/src/modules/landing/locales/en.js +9 -0
  432. package/src/modules/landing/locales/index.js +7 -0
  433. package/src/modules/landing/locales/ru.js +9 -0
  434. package/src/modules/music/components/pages/Album.vue +1 -1
  435. package/src/modules/music/components/pages/Playlist.vue +1 -1
  436. package/src/modules/music/components/pages/Track.vue +1 -1
  437. package/src/modules/orders/components/blocks/CardApplication.vue +74 -0
  438. package/src/modules/orders/components/blocks/CardCustomer.vue +90 -0
  439. package/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue +199 -0
  440. package/src/modules/orders/components/forms/FormApplicationDetails.vue +117 -0
  441. package/src/modules/orders/components/forms/FormCustomerDetails.vue +165 -0
  442. package/src/modules/orders/components/forms/FormSelectCustomer.vue +172 -0
  443. package/src/modules/orders/components/pages/Applications.vue +240 -0
  444. package/src/modules/orders/components/pages/Customers.vue +239 -0
  445. package/src/modules/orders/components/pages/OrderCreate.vue +2 -2
  446. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +5 -76
  447. package/src/modules/orders/components/sections/ApplicationDetails.vue +91 -0
  448. package/src/modules/orders/components/sections/CustomerDetails.vue +107 -0
  449. package/src/modules/orders/locales/en.js +35 -0
  450. package/src/modules/orders/locales/index.js +7 -0
  451. package/src/modules/orders/locales/ru.js +35 -0
  452. package/src/modules/orders/middlewares/applications.verifier.js +189 -0
  453. package/src/modules/orders/middlewares/customers.verifier.js +251 -0
  454. package/src/modules/orders/models/application.model.js +21 -0
  455. package/src/modules/orders/models/customer.model.js +26 -0
  456. package/src/modules/orders/orders.client.js +86 -1
  457. package/src/modules/orders/orders.server.js +3 -1
  458. package/src/modules/orders/router/applications.router.js +15 -0
  459. package/src/modules/orders/router/customers.router.js +17 -0
  460. package/src/modules/orders/routes/applications.routes.js +124 -12
  461. package/src/modules/orders/routes/customers.routes.js +43 -0
  462. package/src/modules/orders/store/applications.js +3 -159
  463. package/src/modules/orders/store/models/application.js +18 -0
  464. package/src/modules/orders/store/models/customer.js +12 -0
  465. package/src/modules/organizations/components/pages/Organization.new.vue +593 -0
  466. package/src/modules/organizations/components/pages/Organization.vue +11 -202
  467. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  468. package/src/modules/organizations/components/sections/DetailsTabSection.vue +2 -2
  469. package/src/modules/organizations/configs/navigation.organization.config.js +69 -85
  470. package/src/modules/organizations/router/organizations.js +5 -0
  471. package/src/modules/pages/views/components/pages/Page.vue +1 -1
  472. package/src/modules/products/TASKS.MD +157 -0
  473. package/src/modules/products/components/blocks/CardCategory.vue +1 -1
  474. package/src/modules/products/components/blocks/ProductImages.vue +1 -1
  475. package/src/modules/products/components/pages/Categories.vue +27 -22
  476. package/src/modules/products/components/pages/CategoryEdit.vue +24 -13
  477. package/src/modules/products/components/pages/Products.vue +415 -174
  478. package/src/modules/products/components/sections/EditVariants.vue +14 -0
  479. package/src/modules/products/components/sections/ProductsRecommended.vue +46 -2
  480. package/src/modules/products/controllers/categories.controller.js +321 -282
  481. package/src/modules/products/controllers/configs/products.lookup.config.js +9 -0
  482. package/src/modules/products/controllers/products.controller.js +2 -1
  483. package/src/modules/products/controllers/queries/products.queries.js +183 -11
  484. package/src/modules/products/middlewares/categories.verifier.js +58 -15
  485. package/src/modules/products/middlewares/variants.verifier.js +12 -0
  486. package/src/modules/products/migrations/categories-to-materialized-path.js +433 -0
  487. package/src/modules/products/migrations/path-to-url.js +27 -0
  488. package/src/modules/products/models/category.model.js +8 -23
  489. package/src/modules/products/models/variant.model.js +3 -0
  490. package/src/modules/products/router/products.router.js +12 -0
  491. package/src/modules/products/store/categories.js +26 -7
  492. package/src/modules/rents/TASK.MD +161 -0
  493. package/src/modules/reports/components/sections/FormReport.vue +1 -1
  494. package/src/modules/spots/components/pages/Spots.vue +342 -0
  495. package/src/modules/spots/router/spots.js +15 -0
  496. package/src/styles/base/all.scss +2 -3
  497. package/src/styles/layout.scss +16 -0
  498. package/dist/main-DTaE01lg.cjs +0 -11
  499. package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.cjs +0 -96
  500. package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.cjs.map +0 -1
  501. package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js +0 -96
  502. package/dist/martyrs/src/components/BottomSheet/BottomSheet.vue.js.map +0 -1
  503. package/dist/martyrs/src/components/Loader/Loader.vue2.cjs.map +0 -1
  504. package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
  505. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
  506. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue2.cjs.map +0 -1
  507. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +0 -155
  508. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs.map +0 -1
  509. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +0 -155
  510. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js.map +0 -1
  511. package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +0 -81
  512. package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs.map +0 -1
  513. package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.js +0 -81
  514. package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.js.map +0 -1
  515. package/src/modules/orders/components/sections/FormAddCustomer.vue +0 -152
  516. package/src/modules/orders/components/sections/FormCustomerDetails.vue +0 -67
  517. package/src/modules/orders/controllers/applications.controller.js +0 -122
@@ -4,7 +4,7 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Field = require("../../../../components/Field/Field.vue.cjs");
6
6
  ;/* empty css */
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
9
9
  ;/* empty css */
10
10
  ;/* empty css */
@@ -2,7 +2,7 @@ import { ref, watchEffect, resolveComponent, createElementBlock, openBlock, crea
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import Field from "../../../../components/Field/Field.vue.js";
4
4
  /* empty css */
5
- /* empty css */
5
+ /* empty css */
6
6
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
7
7
  /* empty css */
8
8
  /* empty css */
@@ -6,7 +6,7 @@ require("../../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-co
6
6
  ;/* empty css */
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
- ;/* empty css */
9
+ ;/* empty css */
10
10
  ;/* empty css */
11
11
  const CardOrganization = require("../blocks/CardOrganization.vue.cjs");
12
12
  const EmptyState = require("../blocks/EmptyState.vue.cjs");
@@ -4,7 +4,7 @@ import "../../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-coo
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- /* empty css */
7
+ /* empty css */
8
8
  /* empty css */
9
9
  import _sfc_main$2 from "../blocks/CardOrganization.vue.js";
10
10
  import _sfc_main$1 from "../blocks/EmptyState.vue.js";
@@ -1,20 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- require("vue");
3
+ const IconCommunity = require("../../icons/entities/IconCommunity.vue.cjs");
4
4
  const IconEvents = require("../../icons/entities/IconEvents.vue.cjs");
5
5
  const IconGallery = require("../../icons/entities/IconGallery.vue.cjs");
6
6
  const IconGroups = require("../../icons/entities/IconGroups.vue.cjs");
7
7
  const IconOrders = require("../../icons/entities/IconOrders.vue.cjs");
8
8
  const IconProducts = require("../../icons/entities/IconProducts.vue.cjs");
9
9
  const IconLeftovers = require("../../icons/entities/IconLeftovers.vue.cjs");
10
+ require("vue");
10
11
  const IconPrice = require("../../icons/entities/IconPrice.vue.cjs");
11
12
  const IconSettings = require("../../icons/entities/IconSettings.vue.cjs");
12
13
  const IconHome = require("../../icons/entities/IconHome.vue.cjs");
14
+ const IconAddress = require("../../icons/entities/IconAddress.vue.cjs");
13
15
  const mixins = require("../../globals/views/mixins/mixins.cjs");
14
16
  const { hasAccess } = mixins.useGlobalMixins();
15
17
  const navigationItems = [
16
18
  {
17
19
  category: "Organization",
20
+ visible: () => true,
21
+ // Always visible - has both public and private items
18
22
  items: [
19
23
  {
20
24
  title: "Profile",
@@ -23,13 +27,8 @@ const navigationItems = [
23
27
  name: "Organization",
24
28
  params: { _id: route.params._id }
25
29
  }),
26
- visible: (auth, route) => hasAccess(
27
- route.params._id,
28
- "members",
29
- "read",
30
- auth.accesses,
31
- auth.access.roles
32
- )
30
+ visible: () => true
31
+ // Public access
33
32
  },
34
33
  {
35
34
  title: "Members",
@@ -38,13 +37,8 @@ const navigationItems = [
38
37
  name: "Organization Members",
39
38
  params: { _id: route.params._id }
40
39
  }),
41
- visible: (auth, route) => hasAccess(
42
- route.params._id,
43
- "members",
44
- "read",
45
- auth.accesses,
46
- auth.access.roles
47
- )
40
+ visible: () => true
41
+ // Public access
48
42
  },
49
43
  {
50
44
  title: "Settings",
@@ -64,7 +58,9 @@ const navigationItems = [
64
58
  ]
65
59
  },
66
60
  {
67
- category: "Shop",
61
+ category: "Discover",
62
+ visible: () => true,
63
+ // Always visible - public category
68
64
  items: [
69
65
  {
70
66
  title: "Products",
@@ -73,14 +69,56 @@ const navigationItems = [
73
69
  name: "Organization_Products",
74
70
  params: { _id: route.params._id }
75
71
  }),
76
- visible: (auth, route) => hasAccess(
77
- route.params._id,
78
- "products",
79
- "read",
80
- auth.accesses,
81
- auth.access.roles
82
- )
72
+ visible: () => true
73
+ // Public access
83
74
  },
75
+ {
76
+ title: "Events",
77
+ iconComponent: IconEvents.default,
78
+ route: (auth, route) => ({
79
+ name: "Organization_Events",
80
+ params: { _id: route.params._id }
81
+ }),
82
+ visible: () => true
83
+ // Public access
84
+ },
85
+ {
86
+ title: "Posts",
87
+ iconComponent: IconCommunity.default,
88
+ route: (auth, route) => ({
89
+ name: "Organization_Posts",
90
+ params: { _id: route.params._id }
91
+ }),
92
+ visible: () => true
93
+ // Public access
94
+ },
95
+ {
96
+ title: "Spots",
97
+ iconComponent: IconAddress.default,
98
+ route: (auth, route) => ({
99
+ name: "Organization_Spots",
100
+ params: { _id: route.params._id }
101
+ }),
102
+ visible: () => true
103
+ // Public access
104
+ },
105
+ {
106
+ title: "Gallery",
107
+ iconComponent: IconGallery.default,
108
+ route: (auth, route) => ({
109
+ name: "Backoffice Gallery",
110
+ params: { _id: route.params._id }
111
+ }),
112
+ visible: () => true
113
+ // Public access
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ category: "Management",
119
+ visible: (auth, route) => auth.state && auth.state.user && auth.state.user._id,
120
+ // Only for authenticated users
121
+ items: [
84
122
  {
85
123
  title: "Categories",
86
124
  iconComponent: IconPrice.default,
@@ -110,17 +148,12 @@ const navigationItems = [
110
148
  auth.accesses,
111
149
  auth.access.roles
112
150
  )
113
- }
114
- ]
115
- },
116
- {
117
- category: "Orders & Sales",
118
- items: [
151
+ },
119
152
  {
120
- title: "Orders",
121
- iconComponent: IconOrders.default,
153
+ title: "Rents",
154
+ iconComponent: IconEvents.default,
122
155
  route: (auth, route) => ({
123
- name: "OrganizationOrdersList",
156
+ name: "Organization_Rents",
124
157
  params: { _id: route.params._id }
125
158
  }),
126
159
  visible: (auth, route) => hasAccess(
@@ -130,12 +163,19 @@ const navigationItems = [
130
163
  auth.accesses,
131
164
  auth.access.roles
132
165
  )
133
- },
166
+ }
167
+ ]
168
+ },
169
+ {
170
+ category: "Orders & Sales",
171
+ visible: (auth, route) => auth.state && auth.state.user && auth.state.user._id,
172
+ // Only for authenticated users
173
+ items: [
134
174
  {
135
- title: "Rents",
136
- iconComponent: IconEvents.default,
175
+ title: "Orders",
176
+ iconComponent: IconOrders.default,
137
177
  route: (auth, route) => ({
138
- name: "Organization_Rents",
178
+ name: "OrganizationOrdersList",
139
179
  params: { _id: route.params._id }
140
180
  }),
141
181
  visible: (auth, route) => hasAccess(
@@ -145,83 +185,39 @@ const navigationItems = [
145
185
  auth.accesses,
146
186
  auth.access.roles
147
187
  )
148
- }
149
- ]
150
- },
151
- {
152
- category: "Content",
153
- items: [
188
+ },
154
189
  {
155
- title: "Gallery",
156
- iconComponent: IconGallery.default,
190
+ title: "Customers",
191
+ iconComponent: IconCommunity.default,
157
192
  route: (auth, route) => ({
158
- name: "Backoffice Gallery",
193
+ name: "OrganizationCustomers",
159
194
  params: { _id: route.params._id }
160
195
  }),
161
196
  visible: (auth, route) => hasAccess(
162
197
  route.params._id,
163
- "gallery",
198
+ "orders",
164
199
  "read",
165
200
  auth.accesses,
166
201
  auth.access.roles
167
202
  )
168
203
  },
169
204
  {
170
- title: "Events",
171
- iconComponent: IconEvents.default,
205
+ title: "Applications",
206
+ iconComponent: IconOrders.default,
172
207
  route: (auth, route) => ({
173
- name: "Organization_Events Backoffice",
208
+ name: "OrganizationApplications",
174
209
  params: { _id: route.params._id }
175
210
  }),
176
211
  visible: (auth, route) => hasAccess(
177
212
  route.params._id,
178
- "events",
213
+ "orders",
179
214
  "read",
180
215
  auth.accesses,
181
216
  auth.access.roles
182
217
  )
183
218
  }
184
- // Закомментированные пункты меню из оригинала также можно добавить при необходимости
185
- // {
186
- // title: 'Community',
187
- // iconComponent: IconCommunity,
188
- // route: (auth, route) => ({
189
- // name: 'Backoffice Community',
190
- // params: { _id: route.params._id }
191
- // }),
192
- // },
193
- // {
194
- // title: 'Payments',
195
- // icon: '💰',
196
- // route: (auth, route) => ({
197
- // name: 'Payments',
198
- // params: { _id: route.params._id }
199
- // }),
200
- // },
201
219
  ]
202
220
  }
203
- // Закомментированное меню из оригинала
204
- // {
205
- // category: 'System',
206
- // items: [
207
- // {
208
- // title: 'Organizations',
209
- // iconComponent: IconGroups,
210
- // route: (auth, route) => ({
211
- // name: 'Backoffice Organizations',
212
- // params: { _id: route.params._id }
213
- // }),
214
- // },
215
- // {
216
- // title: 'Reports',
217
- // icon: '📊',
218
- // route: (auth, route) => ({
219
- // name: 'Backoffice Reports',
220
- // params: { _id: route.params._id }
221
- // }),
222
- // },
223
- // ]
224
- // },
225
221
  ];
226
222
  exports.default = navigationItems;
227
223
  exports.navigationItems = navigationItems;
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.organization.config.cjs","sources":["../../../../../../src/modules/organizations/configs/navigation.organization.config.js"],"sourcesContent":["// Import icons\nimport IconCommunity from '@martyrs/src/modules/icons/entities/IconCommunity.vue';\nimport IconEvents from '@martyrs/src/modules/icons/entities/IconEvents.vue';\nimport IconGallery from '@martyrs/src/modules/icons/entities/IconGallery.vue';\nimport IconGroups from '@martyrs/src/modules/icons/entities/IconGroups.vue';\nimport IconOrders from '@martyrs/src/modules/icons/entities/IconOrders.vue';\nimport IconProducts from '@martyrs/src/modules/icons/entities/IconProducts.vue';\nimport IconLeftovers from '@martyrs/src/modules/icons/entities/IconLeftovers.vue';\nimport IconDate from '@martyrs/src/modules/icons/entities/IconDate.vue';\nimport IconPrice from '@martyrs/src/modules/icons/entities/IconPrice.vue';\nimport IconSettings from '@martyrs/src/modules/icons/entities/IconSettings.vue';\nimport IconHome from '@martyrs/src/modules/icons/entities/IconHome.vue';\n\n// Import global mixins for access control\nimport { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';\nconst { hasAccess } = useGlobalMixins();\n\n// Organization backoffice navigation configuration\nexport const navigationItems = [\n {\n category: 'Organization',\n items: [\n {\n title: 'Profile',\n iconComponent: IconHome,\n route: (auth, route) => ({\n name: 'Organization',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'members', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Members',\n iconComponent: IconGroups,\n route: (auth, route) => ({\n name: 'Organization Members',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'members', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Settings',\n iconComponent: IconSettings,\n route: (auth, route) => ({\n name: 'Organization Edit',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'members', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n ]\n },\n {\n category: 'Shop',\n items: [\n {\n title: 'Products',\n iconComponent: IconProducts,\n route: (auth, route) => ({\n name: 'Organization_Products',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'products', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Categories',\n iconComponent: IconPrice,\n route: (auth, route) => ({\n name: 'Categories',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'products', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Inventory',\n iconComponent: IconLeftovers,\n route: (auth, route) => ({\n name: 'OrganizationInventoryList',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'inventory', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n ]\n },\n {\n category: 'Orders & Sales',\n items: [\n {\n title: 'Orders',\n iconComponent: IconOrders,\n route: (auth, route) => ({\n name: 'OrganizationOrdersList',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'orders', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Rents',\n iconComponent: IconEvents,\n route: (auth, route) => ({\n name: 'Organization_Rents',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'orders', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n ]\n },\n {\n category: 'Content',\n items: [\n {\n title: 'Gallery',\n iconComponent: IconGallery,\n route: (auth, route) => ({\n name: 'Backoffice Gallery',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'gallery', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Events',\n iconComponent: IconEvents,\n route: (auth, route) => ({\n name: 'Organization_Events Backoffice',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'events', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n // Закомментированные пункты меню из оригинала также можно добавить при необходимости\n // {\n // title: 'Community',\n // iconComponent: IconCommunity,\n // route: (auth, route) => ({\n // name: 'Backoffice Community',\n // params: { _id: route.params._id }\n // }),\n // },\n // {\n // title: 'Payments',\n // icon: '💰',\n // route: (auth, route) => ({\n // name: 'Payments',\n // params: { _id: route.params._id }\n // }),\n // },\n ]\n },\n // Закомментированное меню из оригинала\n // {\n // category: 'System',\n // items: [\n // {\n // title: 'Organizations',\n // iconComponent: IconGroups,\n // route: (auth, route) => ({\n // name: 'Backoffice Organizations',\n // params: { _id: route.params._id }\n // }),\n // },\n // {\n // title: 'Reports',\n // icon: '📊',\n // route: (auth, route) => ({\n // name: 'Backoffice Reports',\n // params: { _id: route.params._id }\n // }),\n // },\n // ]\n // },\n];\n\nexport default navigationItems;"],"names":["useGlobalMixins","IconHome","IconGroups","IconSettings","IconProducts","IconPrice","IconLeftovers","IconOrders","IconEvents","IconGallery"],"mappings":";;;;;;;;;;;;;AAeA,MAAM,EAAE,UAAS,IAAKA,uBAAe;AAGzB,MAAC,kBAAkB;AAAA,EAC7B;AAAA,IACE,UAAU;AAAA,IACV,OAAO;AAAA,MACL;AAAA,QACE,OAAO;AAAA,QACP,eAAeC,SAAAA;AAAAA,QACf,OAAO,CAAC,MAAM,WAAW;AAAA,UACvB,MAAM;AAAA,UACN,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG;AAAA,QACzC;AAAA,QACQ,SAAS,CAAC,MAAM,UAAU;AAAA,UACxB,MAAM,OAAO;AAAA,UACb;AAAA,UACA;AAAA,UACA,KAAK;AAAA,UACL,KAAK,OAAO;AAAA,QACtB;AAAA,MACA;AAAA,MACM;AAAA,QACE,OAAO;AAAA,QACP,eAAeC,WAAAA;AAAAA,QACf,OAAO,CAAC,MAAM,WAAW;AAAA,UACvB,MAAM;AAAA,UACN,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG;AAAA,QACzC;AAAA,QACQ,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K;AAAA,UACL,KAAK,OAAO;AAAA,QACtB;AAAA,MACA;AAAA,MACM;AAAA,QACE,OAAO;AAAA,QACP,eAAeD,WAAAA;AAAAA,QACf,OAAO,CAAC,MAAM,WAAW;AAAA,UACvB,MAAM;AAAA,UACN,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG;AAAA,QACzC;AAAA,QACQ,SAAS,CAAC,MAAM,UAAU;AAAA,UACxB,MAAM,OAAO;AAAA,UACb;AAAA,UACA;AAAA,UACA,KAAK;AAAA,UACL,KAAK,OAAO;AAAA,QACtB;AAAA,MACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAkBA;AAAA,EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuBA;;;"}
1
+ {"version":3,"file":"navigation.organization.config.cjs","sources":["../../../../../../src/modules/organizations/configs/navigation.organization.config.js"],"sourcesContent":["// Import icons\nimport IconCommunity from '@martyrs/src/modules/icons/entities/IconCommunity.vue';\nimport IconEvents from '@martyrs/src/modules/icons/entities/IconEvents.vue';\nimport IconGallery from '@martyrs/src/modules/icons/entities/IconGallery.vue';\nimport IconGroups from '@martyrs/src/modules/icons/entities/IconGroups.vue';\nimport IconOrders from '@martyrs/src/modules/icons/entities/IconOrders.vue';\nimport IconProducts from '@martyrs/src/modules/icons/entities/IconProducts.vue';\nimport IconLeftovers from '@martyrs/src/modules/icons/entities/IconLeftovers.vue';\nimport IconDate from '@martyrs/src/modules/icons/entities/IconDate.vue';\nimport IconPrice from '@martyrs/src/modules/icons/entities/IconPrice.vue';\nimport IconSettings from '@martyrs/src/modules/icons/entities/IconSettings.vue';\nimport IconHome from '@martyrs/src/modules/icons/entities/IconHome.vue';\nimport IconAddress from '@martyrs/src/modules/icons/entities/IconAddress.vue';\n\n// Import global mixins for access control\nimport { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';\nconst { hasAccess } = useGlobalMixins();\n\n// Organization backoffice navigation configuration\nexport const navigationItems = [\n {\n category: 'Organization',\n visible: () => true, // Always visible - has both public and private items\n items: [\n {\n title: 'Profile',\n iconComponent: IconHome,\n route: (auth, route) => ({\n name: 'Organization',\n params: { _id: route.params._id }\n }),\n visible: () => true // Public access\n },\n {\n title: 'Members',\n iconComponent: IconGroups,\n route: (auth, route) => ({\n name: 'Organization Members',\n params: { _id: route.params._id }\n }),\n visible: () => true // Public access\n },\n {\n title: 'Settings',\n iconComponent: IconSettings,\n route: (auth, route) => ({\n name: 'Organization Edit',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'members', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n ]\n },\n {\n category: 'Discover',\n visible: () => true, // Always visible - public category\n items: [\n {\n title: 'Products',\n iconComponent: IconProducts,\n route: (auth, route) => ({\n name: 'Organization_Products',\n params: { _id: route.params._id }\n }),\n visible: () => true // Public access\n },\n {\n title: 'Events',\n iconComponent: IconEvents,\n route: (auth, route) => ({\n name: 'Organization_Events',\n params: { _id: route.params._id }\n }),\n visible: () => true // Public access\n },\n {\n title: 'Posts',\n iconComponent: IconCommunity,\n route: (auth, route) => ({\n name: 'Organization_Posts',\n params: { _id: route.params._id }\n }),\n visible: () => true // Public access\n },\n {\n title: 'Spots',\n iconComponent: IconAddress,\n route: (auth, route) => ({\n name: 'Organization_Spots',\n params: { _id: route.params._id }\n }),\n visible: () => true // Public access\n },\n {\n title: 'Gallery',\n iconComponent: IconGallery,\n route: (auth, route) => ({\n name: 'Backoffice Gallery',\n params: { _id: route.params._id }\n }),\n visible: () => true // Public access\n },\n ]\n },\n {\n category: 'Management',\n visible: (auth, route) => auth.state && auth.state.user && auth.state.user._id, // Only for authenticated users\n items: [\n {\n title: 'Categories',\n iconComponent: IconPrice,\n route: (auth, route) => ({\n name: 'Categories',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'products', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Inventory',\n iconComponent: IconLeftovers,\n route: (auth, route) => ({\n name: 'OrganizationInventoryList',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'inventory', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Rents',\n iconComponent: IconEvents,\n route: (auth, route) => ({\n name: 'Organization_Rents',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'orders', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n ]\n },\n {\n category: 'Orders & Sales',\n visible: (auth, route) => auth.state && auth.state.user && auth.state.user._id, // Only for authenticated users\n items: [\n {\n title: 'Orders',\n iconComponent: IconOrders,\n route: (auth, route) => ({\n name: 'OrganizationOrdersList',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'orders', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Customers',\n iconComponent: IconCommunity,\n route: (auth, route) => ({\n name: 'OrganizationCustomers',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'orders', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n {\n title: 'Applications',\n iconComponent: IconOrders,\n route: (auth, route) => ({\n name: 'OrganizationApplications',\n params: { _id: route.params._id }\n }),\n visible: (auth, route) => hasAccess(\n route.params._id, \n 'orders', \n 'read', \n auth.accesses, \n auth.access.roles\n )\n },\n ]\n },\n];\n\nexport default navigationItems;"],"names":["useGlobalMixins","IconHome","IconGroups","IconSettings","IconProducts","IconEvents","IconCommunity","IconAddress","IconGallery","IconPrice","IconLeftovers","IconOrders"],"mappings":";;;;;;;;;;;;;;;AAgBA,MAAM,EAAE,UAAS,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,IAAG;AAAA,QACzC;AAAA,QACQ,SAAS,CAAC,MAAM,UAAU;AAAA,UACxB,MAAM,OAAO;AAAA,UACb;AAAA,UACA;AAAA,UACA,KAAK;AAAA,UACL,KAAK,OAAO;AAAA,QACtB;AAAA,MACA;AAAA,MACM;AAAA,QACE,OAAO;AAAA,QACP,eAAeK,WAAAA;AAAAA,QACf,OAAO,CAAC,MAAM,WAAW;AAAA,UACvB,MAAM;AAAA,UACN,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG;AAAA,QACzC;AAAA,QACQ,SAAS,CAAC,MAAM,UAAU;AAAA,UACxB,MAAM,OAAO;AAAA,UACb;AAAA,UACA;AAAA,UACA,KAAK;AAAA,UACL,KAAK,OAAO;AAAA,QACtB;AAAA,MACA;AAAA,IACA;AAAA,EACA;AACA;;;"}
@@ -1,18 +1,22 @@
1
- import "vue";
2
- import _sfc_main$7 from "../../icons/entities/IconEvents.vue.js";
3
- import _sfc_main$8 from "../../icons/entities/IconGallery.vue.js";
1
+ import _sfc_main$5 from "../../icons/entities/IconCommunity.vue.js";
2
+ import _sfc_main$4 from "../../icons/entities/IconEvents.vue.js";
3
+ import _sfc_main$7 from "../../icons/entities/IconGallery.vue.js";
4
4
  import _sfc_main$1 from "../../icons/entities/IconGroups.vue.js";
5
- import _sfc_main$6 from "../../icons/entities/IconOrders.vue.js";
5
+ import _sfc_main$a from "../../icons/entities/IconOrders.vue.js";
6
6
  import _sfc_main$3 from "../../icons/entities/IconProducts.vue.js";
7
- import _sfc_main$5 from "../../icons/entities/IconLeftovers.vue.js";
8
- import _sfc_main$4 from "../../icons/entities/IconPrice.vue.js";
7
+ import _sfc_main$9 from "../../icons/entities/IconLeftovers.vue.js";
8
+ import "vue";
9
+ import _sfc_main$8 from "../../icons/entities/IconPrice.vue.js";
9
10
  import _sfc_main$2 from "../../icons/entities/IconSettings.vue.js";
10
11
  import _sfc_main from "../../icons/entities/IconHome.vue.js";
12
+ import _sfc_main$6 from "../../icons/entities/IconAddress.vue.js";
11
13
  import { useGlobalMixins } from "../../globals/views/mixins/mixins.js";
12
14
  const { hasAccess } = useGlobalMixins();
13
15
  const navigationItems = [
14
16
  {
15
17
  category: "Organization",
18
+ visible: () => true,
19
+ // Always visible - has both public and private items
16
20
  items: [
17
21
  {
18
22
  title: "Profile",
@@ -21,13 +25,8 @@ const navigationItems = [
21
25
  name: "Organization",
22
26
  params: { _id: route.params._id }
23
27
  }),
24
- visible: (auth, route) => hasAccess(
25
- route.params._id,
26
- "members",
27
- "read",
28
- auth.accesses,
29
- auth.access.roles
30
- )
28
+ visible: () => true
29
+ // Public access
31
30
  },
32
31
  {
33
32
  title: "Members",
@@ -36,13 +35,8 @@ const navigationItems = [
36
35
  name: "Organization Members",
37
36
  params: { _id: route.params._id }
38
37
  }),
39
- visible: (auth, route) => hasAccess(
40
- route.params._id,
41
- "members",
42
- "read",
43
- auth.accesses,
44
- auth.access.roles
45
- )
38
+ visible: () => true
39
+ // Public access
46
40
  },
47
41
  {
48
42
  title: "Settings",
@@ -62,7 +56,9 @@ const navigationItems = [
62
56
  ]
63
57
  },
64
58
  {
65
- category: "Shop",
59
+ category: "Discover",
60
+ visible: () => true,
61
+ // Always visible - public category
66
62
  items: [
67
63
  {
68
64
  title: "Products",
@@ -71,17 +67,59 @@ const navigationItems = [
71
67
  name: "Organization_Products",
72
68
  params: { _id: route.params._id }
73
69
  }),
74
- visible: (auth, route) => hasAccess(
75
- route.params._id,
76
- "products",
77
- "read",
78
- auth.accesses,
79
- auth.access.roles
80
- )
70
+ visible: () => true
71
+ // Public access
81
72
  },
82
73
  {
83
- title: "Categories",
74
+ title: "Events",
84
75
  iconComponent: _sfc_main$4,
76
+ route: (auth, route) => ({
77
+ name: "Organization_Events",
78
+ params: { _id: route.params._id }
79
+ }),
80
+ visible: () => true
81
+ // Public access
82
+ },
83
+ {
84
+ title: "Posts",
85
+ iconComponent: _sfc_main$5,
86
+ route: (auth, route) => ({
87
+ name: "Organization_Posts",
88
+ params: { _id: route.params._id }
89
+ }),
90
+ visible: () => true
91
+ // Public access
92
+ },
93
+ {
94
+ title: "Spots",
95
+ iconComponent: _sfc_main$6,
96
+ route: (auth, route) => ({
97
+ name: "Organization_Spots",
98
+ params: { _id: route.params._id }
99
+ }),
100
+ visible: () => true
101
+ // Public access
102
+ },
103
+ {
104
+ title: "Gallery",
105
+ iconComponent: _sfc_main$7,
106
+ route: (auth, route) => ({
107
+ name: "Backoffice Gallery",
108
+ params: { _id: route.params._id }
109
+ }),
110
+ visible: () => true
111
+ // Public access
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ category: "Management",
117
+ visible: (auth, route) => auth.state && auth.state.user && auth.state.user._id,
118
+ // Only for authenticated users
119
+ items: [
120
+ {
121
+ title: "Categories",
122
+ iconComponent: _sfc_main$8,
85
123
  route: (auth, route) => ({
86
124
  name: "Categories",
87
125
  params: { _id: route.params._id }
@@ -96,7 +134,7 @@ const navigationItems = [
96
134
  },
97
135
  {
98
136
  title: "Inventory",
99
- iconComponent: _sfc_main$5,
137
+ iconComponent: _sfc_main$9,
100
138
  route: (auth, route) => ({
101
139
  name: "OrganizationInventoryList",
102
140
  params: { _id: route.params._id }
@@ -108,17 +146,12 @@ const navigationItems = [
108
146
  auth.accesses,
109
147
  auth.access.roles
110
148
  )
111
- }
112
- ]
113
- },
114
- {
115
- category: "Orders & Sales",
116
- items: [
149
+ },
117
150
  {
118
- title: "Orders",
119
- iconComponent: _sfc_main$6,
151
+ title: "Rents",
152
+ iconComponent: _sfc_main$4,
120
153
  route: (auth, route) => ({
121
- name: "OrganizationOrdersList",
154
+ name: "Organization_Rents",
122
155
  params: { _id: route.params._id }
123
156
  }),
124
157
  visible: (auth, route) => hasAccess(
@@ -128,12 +161,19 @@ const navigationItems = [
128
161
  auth.accesses,
129
162
  auth.access.roles
130
163
  )
131
- },
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ category: "Orders & Sales",
169
+ visible: (auth, route) => auth.state && auth.state.user && auth.state.user._id,
170
+ // Only for authenticated users
171
+ items: [
132
172
  {
133
- title: "Rents",
134
- iconComponent: _sfc_main$7,
173
+ title: "Orders",
174
+ iconComponent: _sfc_main$a,
135
175
  route: (auth, route) => ({
136
- name: "Organization_Rents",
176
+ name: "OrganizationOrdersList",
137
177
  params: { _id: route.params._id }
138
178
  }),
139
179
  visible: (auth, route) => hasAccess(
@@ -143,83 +183,39 @@ const navigationItems = [
143
183
  auth.accesses,
144
184
  auth.access.roles
145
185
  )
146
- }
147
- ]
148
- },
149
- {
150
- category: "Content",
151
- items: [
186
+ },
152
187
  {
153
- title: "Gallery",
154
- iconComponent: _sfc_main$8,
188
+ title: "Customers",
189
+ iconComponent: _sfc_main$5,
155
190
  route: (auth, route) => ({
156
- name: "Backoffice Gallery",
191
+ name: "OrganizationCustomers",
157
192
  params: { _id: route.params._id }
158
193
  }),
159
194
  visible: (auth, route) => hasAccess(
160
195
  route.params._id,
161
- "gallery",
196
+ "orders",
162
197
  "read",
163
198
  auth.accesses,
164
199
  auth.access.roles
165
200
  )
166
201
  },
167
202
  {
168
- title: "Events",
169
- iconComponent: _sfc_main$7,
203
+ title: "Applications",
204
+ iconComponent: _sfc_main$a,
170
205
  route: (auth, route) => ({
171
- name: "Organization_Events Backoffice",
206
+ name: "OrganizationApplications",
172
207
  params: { _id: route.params._id }
173
208
  }),
174
209
  visible: (auth, route) => hasAccess(
175
210
  route.params._id,
176
- "events",
211
+ "orders",
177
212
  "read",
178
213
  auth.accesses,
179
214
  auth.access.roles
180
215
  )
181
216
  }
182
- // Закомментированные пункты меню из оригинала также можно добавить при необходимости
183
- // {
184
- // title: 'Community',
185
- // iconComponent: IconCommunity,
186
- // route: (auth, route) => ({
187
- // name: 'Backoffice Community',
188
- // params: { _id: route.params._id }
189
- // }),
190
- // },
191
- // {
192
- // title: 'Payments',
193
- // icon: '💰',
194
- // route: (auth, route) => ({
195
- // name: 'Payments',
196
- // params: { _id: route.params._id }
197
- // }),
198
- // },
199
217
  ]
200
218
  }
201
- // Закомментированное меню из оригинала
202
- // {
203
- // category: 'System',
204
- // items: [
205
- // {
206
- // title: 'Organizations',
207
- // iconComponent: IconGroups,
208
- // route: (auth, route) => ({
209
- // name: 'Backoffice Organizations',
210
- // params: { _id: route.params._id }
211
- // }),
212
- // },
213
- // {
214
- // title: 'Reports',
215
- // icon: '📊',
216
- // route: (auth, route) => ({
217
- // name: 'Backoffice Reports',
218
- // params: { _id: route.params._id }
219
- // }),
220
- // },
221
- // ]
222
- // },
223
219
  ];
224
220
  export {
225
221
  navigationItems as default,