@ozdao/martyrs 0.2.519 → 0.2.520

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 (341) hide show
  1. package/dist/chats.server.cjs +198 -1
  2. package/dist/chats.server.js +198 -1
  3. package/dist/{main-Wr1_4rwl.cjs → main-BM3GslOO.cjs} +6 -6
  4. package/dist/{main-DgGUrhjT.js → main-Qcn7YlTx.js} +1832 -1828
  5. package/dist/martyrs/src/components/Address/{Address.vue2.cjs → Address.vue.cjs} +2 -2
  6. package/dist/martyrs/src/components/Address/{Address.vue2.js.map → Address.vue.cjs.map} +1 -1
  7. package/dist/martyrs/src/components/Address/{Address.vue2.js → Address.vue.js} +2 -2
  8. package/dist/martyrs/src/components/Address/Address.vue.js.map +1 -0
  9. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +0 -1
  10. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  11. package/dist/martyrs/src/components/Feed/Feed.vue.js +0 -1
  12. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  13. package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue2.cjs → LocationMarker.vue.cjs} +2 -2
  14. package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue2.js.map → LocationMarker.vue.cjs.map} +1 -1
  15. package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue2.js → LocationMarker.vue.js} +2 -2
  16. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +1 -0
  17. package/dist/martyrs/src/components/Select/{Select.vue2.cjs → Select.vue.cjs} +2 -2
  18. package/dist/martyrs/src/components/Select/{Select.vue2.js.map → Select.vue.cjs.map} +1 -1
  19. package/dist/martyrs/src/components/Select/{Select.vue2.js → Select.vue.js} +2 -2
  20. package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -0
  21. package/dist/martyrs/src/modules/auth/views/components/blocks/CardUser.vue.cjs +2 -2
  22. package/dist/martyrs/src/modules/auth/views/components/blocks/CardUser.vue.js +2 -2
  23. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
  24. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  25. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
  26. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  27. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  28. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
  29. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +4 -4
  30. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
  31. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +40 -50
  32. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
  33. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +59 -69
  34. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  35. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +11 -13
  36. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +11 -13
  38. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  39. package/dist/martyrs/src/modules/auth/views/store/auth.cjs +9 -0
  40. package/dist/martyrs/src/modules/auth/views/store/auth.cjs.map +1 -1
  41. package/dist/martyrs/src/modules/auth/views/store/auth.js +9 -0
  42. package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
  43. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.cjs +27 -11
  44. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
  45. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js +28 -12
  46. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
  47. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs +62 -0
  48. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
  49. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js +63 -1
  50. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
  51. package/dist/martyrs/src/modules/chats/store/chat.store.cjs +60 -1
  52. package/dist/martyrs/src/modules/chats/store/chat.store.cjs.map +1 -1
  53. package/dist/martyrs/src/modules/chats/store/chat.store.js +60 -1
  54. package/dist/martyrs/src/modules/chats/store/chat.store.js.map +1 -1
  55. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +3 -3
  56. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
  57. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
  58. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  59. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  60. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  61. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs +50 -368
  62. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs.map +1 -1
  63. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +53 -371
  64. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
  65. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  66. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
  67. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  68. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
  69. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +0 -1
  70. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
  71. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +0 -1
  72. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
  73. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +2 -2
  74. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
  75. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +2 -2
  76. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
  77. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  78. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  79. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  81. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  82. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  83. package/dist/martyrs/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +2 -2
  84. package/dist/martyrs/src/modules/globals/views/components/partials/LocationSelection.vue.js +2 -2
  85. package/dist/martyrs/src/modules/globals/views/components/sections/Walkthrough.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs +7 -0
  87. package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
  88. package/dist/martyrs/src/modules/globals/views/mixins/mixins.js +7 -0
  89. package/dist/martyrs/src/modules/globals/views/mixins/mixins.js.map +1 -1
  90. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +1 -1
  91. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +1 -1
  92. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
  93. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +1 -1
  94. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
  95. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +1 -1
  96. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
  97. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +180 -19
  98. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
  99. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +181 -20
  100. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
  101. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
  102. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
  103. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
  104. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
  105. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
  106. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
  107. package/dist/martyrs/src/modules/music/router/music.cjs +0 -1
  108. package/dist/martyrs/src/modules/music/router/music.cjs.map +1 -1
  109. package/dist/martyrs/src/modules/music/router/music.js +0 -1
  110. package/dist/martyrs/src/modules/music/router/music.js.map +1 -1
  111. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs +2 -2
  112. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs.map +1 -1
  113. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js +2 -2
  114. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js.map +1 -1
  115. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +1 -1
  116. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  117. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +1 -1
  118. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
  119. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  120. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  121. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +2 -3
  122. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
  123. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -3
  124. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
  125. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  127. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +2 -24
  128. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +1 -1
  129. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +5 -27
  130. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +1 -1
  131. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.cjs +4 -1
  132. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.cjs.map +1 -1
  133. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js +4 -1
  134. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js.map +1 -1
  135. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +3 -3
  136. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs.map +1 -1
  137. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +3 -3
  138. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js.map +1 -1
  139. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs +195 -0
  140. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs.map +1 -0
  141. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +195 -0
  142. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js.map +1 -0
  143. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs +402 -0
  144. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs.map +1 -0
  145. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +402 -0
  146. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -0
  147. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs +86 -0
  148. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs.map +1 -0
  149. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +86 -0
  150. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js.map +1 -0
  151. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +10 -10
  152. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
  153. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +11 -11
  154. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  155. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +279 -191
  156. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs.map +1 -1
  157. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +285 -197
  158. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
  159. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +5 -5
  160. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
  161. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +5 -5
  162. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  163. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  164. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
  165. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  166. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
  167. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  168. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
  169. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  170. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  171. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  172. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  173. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
  174. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs.map +1 -1
  175. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  176. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js.map +1 -1
  177. package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.cjs +4 -4
  178. package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.cjs.map +1 -1
  179. package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.js +4 -4
  180. package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.js.map +1 -1
  181. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +42 -41
  182. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
  183. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +53 -52
  184. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  185. package/dist/martyrs/src/modules/organizations/organizations.client.cjs +23 -16
  186. package/dist/martyrs/src/modules/organizations/organizations.client.cjs.map +1 -1
  187. package/dist/martyrs/src/modules/organizations/organizations.client.js +35 -28
  188. package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
  189. package/dist/martyrs/src/modules/organizations/router/departments.router.cjs +0 -18
  190. package/dist/martyrs/src/modules/organizations/router/departments.router.cjs.map +1 -1
  191. package/dist/martyrs/src/modules/organizations/router/departments.router.js +0 -18
  192. package/dist/martyrs/src/modules/organizations/router/departments.router.js.map +1 -1
  193. package/dist/martyrs/src/modules/organizations/store/departments.store.cjs +6 -0
  194. package/dist/martyrs/src/modules/organizations/store/departments.store.cjs.map +1 -0
  195. package/dist/martyrs/src/modules/organizations/store/departments.store.js +6 -0
  196. package/dist/martyrs/src/modules/organizations/store/departments.store.js.map +1 -0
  197. package/dist/martyrs/src/modules/organizations/store/invites.store.cjs +6 -0
  198. package/dist/martyrs/src/modules/organizations/store/invites.store.cjs.map +1 -0
  199. package/dist/martyrs/src/modules/organizations/store/invites.store.js +6 -0
  200. package/dist/martyrs/src/modules/organizations/store/invites.store.js.map +1 -0
  201. package/dist/martyrs/src/modules/organizations/store/memberships.store.cjs +20 -0
  202. package/dist/martyrs/src/modules/organizations/store/memberships.store.cjs.map +1 -0
  203. package/dist/martyrs/src/modules/organizations/store/memberships.store.js +20 -0
  204. package/dist/martyrs/src/modules/organizations/store/memberships.store.js.map +1 -0
  205. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -3
  206. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  207. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -3
  208. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  209. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  210. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  211. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +1 -1
  212. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  213. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +1 -1
  214. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  215. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
  216. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
  217. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +1 -1
  218. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
  219. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  220. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  221. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +2 -2
  222. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
  223. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +2 -2
  224. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
  225. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  226. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  227. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +3 -3
  228. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
  229. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs +60 -272
  230. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs.map +1 -1
  231. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +62 -274
  232. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -1
  233. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
  234. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
  235. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  236. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  237. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
  238. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  239. package/dist/martyrs.cjs.js +1 -1
  240. package/dist/martyrs.css +1 -1
  241. package/dist/martyrs.es.js +1 -1
  242. package/dist/notifications.server.cjs +0 -24
  243. package/dist/notifications.server.js +0 -24
  244. package/dist/orders.server.cjs +1 -4
  245. package/dist/orders.server.js +1 -4
  246. package/dist/organizations.server.cjs +115 -39
  247. package/dist/organizations.server.js +115 -39
  248. package/dist/style.css +9 -9
  249. package/dist/{web-42I-Howt.cjs → web-B0cfxzgu.cjs} +1 -1
  250. package/dist/{web-ByhZ_fIu.js → web-DVR8m2fm.js} +1 -1
  251. package/package.json +1 -1
  252. package/src/components/Feed/Feed.old.vue +0 -1
  253. package/src/components/Feed/Feed.vue +0 -30
  254. package/src/modules/auth/FIXES.md +2 -26
  255. package/src/modules/auth/views/components/blocks/CardUser.vue +2 -2
  256. package/src/modules/auth/views/components/layouts/Auth.vue +1 -1
  257. package/src/modules/auth/views/components/pages/Invite.vue +2 -2
  258. package/src/modules/auth/views/components/pages/Profile.vue +33 -48
  259. package/src/modules/auth/views/components/sections/SliderFeatures.vue +5 -7
  260. package/src/modules/auth/views/store/auth.js +15 -0
  261. package/src/modules/chats/CLAUDE.md +137 -0
  262. package/src/modules/chats/components/blocks/ChatMessage.vue +12 -0
  263. package/src/modules/chats/components/sections/ChatWindow.vue +84 -2
  264. package/src/modules/chats/controllers/chats.controller.js +187 -0
  265. package/src/modules/chats/models/chat.model.js +21 -0
  266. package/src/modules/chats/routes/chats.routes.js +46 -0
  267. package/src/modules/chats/store/chat.store.js +67 -0
  268. package/src/modules/community/components/layouts/Community.vue +2 -2
  269. package/src/modules/community/components/pages/Posts.vue +3 -328
  270. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  271. package/src/modules/events/components/pages/Events.vue +2 -2
  272. package/src/modules/globals/views/mixins/mixins.js +7 -0
  273. package/src/modules/marketplace/views/components/layouts/Marketplace.vue +160 -8
  274. package/src/modules/notifications/controllers/notifications.controller.js +0 -6
  275. package/src/modules/notifications/services/notification.service.js +1 -17
  276. package/src/modules/notifications/services/web-push.service.js +0 -2
  277. package/src/modules/orders/components/blocks/CardOrderBackoffice.vue +2 -2
  278. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  279. package/src/modules/orders/controllers/orders.controller.js +2 -4
  280. package/src/modules/organizations/CLAUDE.md +259 -0
  281. package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -22
  282. package/src/modules/organizations/components/blocks/Socials.vue +1 -1
  283. package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +3 -3
  284. package/src/modules/organizations/components/forms/AddExistingMembersForm.vue +191 -0
  285. package/src/modules/organizations/components/forms/DepartmentForm.vue +390 -0
  286. package/src/modules/organizations/components/forms/InviteForm.vue +81 -0
  287. package/src/modules/organizations/components/pages/Department.vue +10 -10
  288. package/src/modules/organizations/components/pages/DepartmentEdit.vue +8 -8
  289. package/src/modules/organizations/components/pages/Members.vue +265 -171
  290. package/src/modules/organizations/components/pages/Organization.new.vue +172 -183
  291. package/src/modules/organizations/components/pages/Organization.vue +6 -6
  292. package/src/modules/organizations/components/pages/OrganizationEdit.vue +1 -1
  293. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  294. package/src/modules/organizations/components/sections/Organizations.vue +2 -2
  295. package/src/modules/organizations/components/sections/Publics.vue +4 -4
  296. package/src/modules/organizations/configs/navigation.organization.config.js +40 -39
  297. package/src/modules/organizations/controllers/departments.controller.js +53 -34
  298. package/src/modules/organizations/controllers/invites.controller.js +44 -5
  299. package/src/modules/organizations/controllers/memberships.controller.js +43 -4
  300. package/src/modules/organizations/organizations.client.js +24 -15
  301. package/src/modules/organizations/router/departments.router.js +0 -18
  302. package/src/modules/organizations/routes/departments.routes.js +6 -8
  303. package/src/modules/organizations/routes/invites.routes.js +6 -4
  304. package/src/modules/organizations/routes/memberships.routes.js +6 -5
  305. package/src/modules/organizations/store/departments.store.js +5 -0
  306. package/src/modules/organizations/store/invites.store.js +5 -0
  307. package/src/modules/organizations/store/memberships.store.js +23 -0
  308. package/src/modules/products/components/pages/Products.vue +0 -1
  309. package/src/modules/spots/components/blocks/CardSpot.vue +1 -1
  310. package/src/modules/spots/components/pages/Spots.vue +3 -203
  311. package/src/styles/base/all.scss +0 -15
  312. package/src/styles/typography.scss +20 -5
  313. package/dist/martyrs/src/components/Address/Address.vue2.cjs.map +0 -1
  314. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.cjs.map +0 -1
  315. package/dist/martyrs/src/components/Select/Select.vue2.cjs.map +0 -1
  316. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +0 -76
  317. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs.map +0 -1
  318. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.js +0 -76
  319. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.js.map +0 -1
  320. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +0 -280
  321. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +0 -1
  322. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +0 -280
  323. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +0 -1
  324. package/dist/martyrs/src/modules/organizations/store/departments.cjs +0 -121
  325. package/dist/martyrs/src/modules/organizations/store/departments.cjs.map +0 -1
  326. package/dist/martyrs/src/modules/organizations/store/departments.js +0 -121
  327. package/dist/martyrs/src/modules/organizations/store/departments.js.map +0 -1
  328. package/dist/martyrs/src/modules/organizations/store/invites.cjs +0 -64
  329. package/dist/martyrs/src/modules/organizations/store/invites.cjs.map +0 -1
  330. package/dist/martyrs/src/modules/organizations/store/invites.js +0 -64
  331. package/dist/martyrs/src/modules/organizations/store/invites.js.map +0 -1
  332. package/dist/martyrs/src/modules/organizations/store/memberships.cjs +0 -87
  333. package/dist/martyrs/src/modules/organizations/store/memberships.cjs.map +0 -1
  334. package/dist/martyrs/src/modules/organizations/store/memberships.js +0 -87
  335. package/dist/martyrs/src/modules/organizations/store/memberships.js.map +0 -1
  336. package/src/CLAUDE.MD +0 -15
  337. package/src/modules/globals/controllers/classes/globals.websocket.ws.js +0 -102
  338. package/src/modules/globals/views/components/blocks/BlockFilter.vue +0 -60
  339. package/src/modules/organizations/store/departments.js +0 -137
  340. package/src/modules/organizations/store/invites.js +0 -76
  341. package/src/modules/organizations/store/memberships.js +0 -110
@@ -1,102 +0,0 @@
1
- import jwt from 'jsonwebtoken';
2
- import { WebSocketServer } from 'ws';
3
- class WebSocketManager {
4
- constructor(server) {
5
- this.wss = new WebSocketServer({
6
- server,
7
- verifyClient: this.verifyClient.bind(this),
8
- });
9
- this.modules = new Map();
10
- this.userConnections = new Map();
11
- this.wss.on('connection', (ws, req) => {
12
- ws.userId = req.userId || null;
13
- ws.subscriptions = new Set();
14
- if (ws.userId) {
15
- this._trackUserConnection(ws.userId, ws);
16
- }
17
- ws.on('message', async rawMessage => {
18
- try {
19
- const msg = JSON.parse(rawMessage);
20
- // обработка подписки на модуль
21
- if (msg.type === 'subscribe' && msg.module && this.modules.has(msg.module)) {
22
- ws.subscriptions.add(msg.module);
23
- return;
24
- }
25
- // нормальная маршрутизация
26
- const moduleName = msg.module;
27
- if (moduleName && this.modules.has(moduleName)) {
28
- const handler = this.modules.get(moduleName);
29
- await handler(ws, msg);
30
- }
31
- } catch (err) {
32
- console.error('Invalid message or handler error:', err);
33
- }
34
- });
35
- ws.on('close', () => {
36
- if (ws.userId && this.userConnections.has(ws.userId)) {
37
- this.userConnections.get(ws.userId).delete(ws);
38
- if (this.userConnections.get(ws.userId).size === 0) {
39
- this.userConnections.delete(ws.userId);
40
- }
41
- }
42
- });
43
- });
44
- }
45
- verifyClient(info, done) {
46
- try {
47
- const userCookie = info.req.headers.cookie?.split('; ').find(c => c.startsWith('user='));
48
- if (!userCookie) return done(true);
49
- const token = JSON.parse(decodeURIComponent(userCookie.replace('user=', '')));
50
- const decoded = jwt.verify(token.accessToken, process.env.SECRET_KEY);
51
- info.req.userId = decoded._id;
52
- } catch (err) {
53
- console.error('Invalid token:', err);
54
- }
55
- done(true);
56
- }
57
- _trackUserConnection(userId, ws) {
58
- if (!this.userConnections.has(userId)) {
59
- this.userConnections.set(userId, new Set());
60
- }
61
- this.userConnections.get(userId).add(ws);
62
- }
63
- registerModule(moduleName, handler) {
64
- this.modules.set(moduleName, handler);
65
- }
66
- sendToUserInModule(moduleName, userId, data) {
67
- const userIdStr = userId.toString();
68
- const sockets = this.userConnections.get(userIdStr);
69
- if (!sockets) {
70
- console.log(`No sockets found for user ${userIdStr}`);
71
- return false;
72
- }
73
- let sent = false;
74
- for (const ws of sockets) {
75
- if (ws.readyState === 1 && ws.subscriptions.has(moduleName)) {
76
- ws.send(JSON.stringify(data));
77
- sent = true;
78
- }
79
- }
80
- return sent;
81
- }
82
- broadcastToModule(moduleName, data) {
83
- for (const ws of this.wss.clients) {
84
- if (ws.readyState === 1 && ws.subscriptions.has(moduleName)) {
85
- ws.send(JSON.stringify(data));
86
- }
87
- }
88
- }
89
- broadcastToModuleWithFilter(moduleName, filterFn, data) {
90
- const sockets = this.userConnections;
91
- for (const ws of this.wss.clients) {
92
- if (ws.readyState !== 1) continue;
93
- if (!ws.subscriptions.has(moduleName)) continue;
94
- if (!filterFn(ws)) continue;
95
- ws.send(JSON.stringify(data));
96
- }
97
- }
98
- getServer() {
99
- return this.wss;
100
- }
101
- }
102
- export default WebSocketManager;
@@ -1,60 +0,0 @@
1
- <script setup>
2
- import { ref } from 'vue';
3
-
4
- import Checkbox from "@martyrs/src/components/Checkbox/Checkbox.vue";
5
- import Spoiler from "@martyrs/src/components/Spoiler/Spoiler.vue"
6
-
7
- import IconChevronBottom from '@martyrs/src/modules/icons/navigation/IconChevronBottom.vue'
8
-
9
- const props = defineProps({
10
- title: {
11
- type: String,
12
- default: 'Sorting Options'
13
- },
14
- options: {
15
- type: Array
16
- }
17
- });
18
-
19
- const emits = defineEmits([
20
- 'click_filter'
21
- ])
22
-
23
- const filter = defineModel('filter')
24
- </script>
25
-
26
- <template>
27
- <div class="w-100 o-scroll">
28
- <Spoiler
29
- v-for="filterOption in options"
30
- class="o-hidden"
31
- :status="true"
32
- >
33
- <template #header="{ isOpen }">
34
- <div class="cursor-pointer w-100 flex-v-center flex-nowrap flex">
35
- <h4 class="w-100" >{{ filterOption.title }}</h4>
36
- <div class="h-2r w-2r flex-child-auto aspect-1x1 flex-center flex bg-light radius-extra">
37
- <IconChevronBottom :class="{ 'rotate-180 mn-t-micro-negative': isOpen }" fill="rgb(var(--black))" class="i-regular"/>
38
- </div>
39
-
40
- </div>
41
- </template>
42
-
43
- <template #content>
44
- <Checkbox
45
- v-for="(checkbox, index) in filterOption.options"
46
- :key="index"
47
- :label="checkbox.label"
48
- :value="checkbox.value"
49
- class="w-100 mn-t-small mn-b-small br-1px br-solid br-light radius-small pd-small"
50
- :radio="filter.selected[filterOption.value]"
51
- @update:radio="event => { filter.selected[filterOption.value] = event; emits('click_filter', filterOption.value) } "
52
- />
53
- </template>
54
-
55
-
56
- </Spoiler>
57
-
58
- <button @click="() => filter.selected = {}" class="bg-main w-100 button">Reset Filters</button>
59
- </div>
60
- </template>
@@ -1,137 +0,0 @@
1
- // Vue modules
2
- import { reactive, watch } from 'vue';
3
- // Globals
4
- import { setError } from '@martyrs/src/modules/globals/views/store/globals.js';
5
- // Setup Axios
6
- import $axios from '@martyrs/src/modules/globals/views/utils/axios-instance.js';
7
- // State
8
- const state = reactive({
9
- departments: [],
10
- department: {
11
- organization: '',
12
- profile: {
13
- photo: '',
14
- name: '',
15
- description: '',
16
- categories: [],
17
- },
18
- address: '',
19
- location: {
20
- lat: null,
21
- lng: null,
22
- },
23
- worktime: [],
24
- delivery: [],
25
- payment: [],
26
- members: [],
27
- subdepartments: [],
28
-
29
- // Accesses
30
- hidden: false,
31
- accesses: {
32
- events: {
33
- read: false,
34
- edit: false,
35
- delete: false,
36
- },
37
- gallery: {
38
- read: false,
39
- edit: false,
40
- delete: false,
41
- },
42
- products: {
43
- read: false,
44
- edit: false,
45
- delete: false,
46
- },
47
- orders: {
48
- read: false,
49
- confirm: false, // This property was added based on the schema
50
- delete: false,
51
- },
52
- departments: {
53
- read: false,
54
- edit: false,
55
- delete: false,
56
- },
57
- },
58
- },
59
- error: null,
60
- });
61
-
62
- // Methods
63
- const actions = {
64
- async readOne(departmentID) {
65
- try {
66
- const response = await $axios.get(`/api/departments/get/${departmentID}`);
67
- state.department = response.data;
68
- state.error = null;
69
- return response.data; // Return the response data
70
- } catch (error) {
71
- setError(error);
72
- return null; // Return null or appropriate error response
73
- }
74
- },
75
-
76
- async read(options = {}) {
77
- try {
78
- const response = await $axios.get(`/api/departments/read`, { params: options });
79
-
80
- console.log('Response:', response);
81
- state.departments = response.data;
82
- state.error = null;
83
- return response.data; // Return the response data
84
- } catch (error) {
85
- console.log(error);
86
- setError(error);
87
- return null; // Return null or appropriate error response
88
- }
89
- },
90
-
91
- async create(organizationId, department) {
92
- try {
93
- const response = await $axios.post(`/api/departments/${organizationId}/create`, department);
94
- state.error = null;
95
- return response.data; // Return the response data
96
- } catch (error) {
97
- setError(error);
98
- return null; // Return null or appropriate error response
99
- }
100
- },
101
-
102
- async update(organizationId, department) {
103
- try {
104
- const response = await $axios.post(`/api/departments/${organizationId}/update`, department);
105
- state.error = null;
106
- return response; // Return the response for update operations, might not have body data
107
- } catch (error) {
108
- setError(error);
109
- return null; // Return null or appropriate error response
110
- }
111
- },
112
-
113
- async delete(organizationId, departmentId) {
114
- try {
115
- await $axios.delete(`/api/departments/${organizationId}/delete`, {
116
- data: { _id: departmentId },
117
- });
118
- state.error = null;
119
- return true; // Return true to indicate successful deletion
120
- } catch (error) {
121
- setError(error);
122
- return false; // Return false or appropriate error response
123
- }
124
- },
125
- };
126
-
127
- // History
128
- const history = [];
129
- history.push(state);
130
-
131
- // Watch
132
- watch(state, (newState, oldState) => {
133
- history.push(newState);
134
- });
135
-
136
- // Module Export
137
- export { actions, state };
@@ -1,76 +0,0 @@
1
- // Dependencies
2
- import axios from 'axios';
3
- // Vue modules
4
- import { reactive, watch } from 'vue';
5
- // Globals
6
- import { setError } from '@martyrs/src/modules/globals/views/store/globals.js';
7
- // State
8
- import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';
9
- // Setup Axios
10
- const $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true });
11
- // State
12
- const state = reactive({
13
- invites: [],
14
- invite: null,
15
- error: null,
16
- });
17
- // Methods
18
- const actions = {
19
- async read(options) {
20
- try {
21
- const response = await $axios.get(`/api/invites/${options.owner}`);
22
- state.invites = response.data;
23
- state.error = null;
24
- return response.data;
25
- } catch (error) {
26
- setError(error);
27
- }
28
- },
29
- async readOne(inviteId) {
30
- try {
31
- const response = await $axios.get(`/api/invites/get/${inviteId}`);
32
- state.invite = response.data;
33
- auth.state.user.phone = response.data.phone;
34
- auth.state.user.email = response.data.email;
35
- } catch (error) {
36
- setError(error);
37
- }
38
- },
39
- async create(invites) {
40
- try {
41
- const response = await $axios.post(`/api/invites/create`, invites);
42
- return Promise.resolve(response.data);
43
- state.error = null;
44
- } catch (error) {
45
- setError(error);
46
- }
47
- },
48
- async update(organizationId, membership) {
49
- try {
50
- await $axios.put(`/api/invites/update`, membership);
51
- state.error = null;
52
- } catch (error) {
53
- setError(error);
54
- }
55
- },
56
- async delete(inviteID) {
57
- try {
58
- await $axios.delete(`/api/invites/delete/${inviteID}`);
59
- state.error = null;
60
- } catch (error) {
61
- setError(error);
62
- }
63
- },
64
- };
65
-
66
- // History
67
- const history = [];
68
- history.push(state);
69
-
70
- // Watch
71
- watch(state, (newState, oldState) => {
72
- history.push(newState);
73
- });
74
-
75
- // Module Export
76
- export { actions, state };
@@ -1,110 +0,0 @@
1
- // Dependencies
2
- import axios from 'axios';
3
-
4
- // Vue modules
5
- import { reactive, watch } from 'vue';
6
-
7
- // Globals
8
- import { setError } from '@martyrs/src/modules/globals/views/store/globals.js';
9
-
10
- // Setup Axios
11
- const $axios = axios.create({
12
- baseURL: process.env.API_URL,
13
- withCredentials: true,
14
- });
15
-
16
- // State
17
- const state = reactive({
18
- memberships: [],
19
- error: null,
20
- });
21
-
22
- // Methods
23
- const actions = {
24
- async read(options = {}) {
25
- try {
26
- const response = await $axios.get(`/api/memberships`, { params: options });
27
- state.error = null;
28
- state.memberships = response.data;
29
- return Promise.resolve(response.data);
30
- } catch (error) {
31
- setError(error);
32
- return Promise.reject(error);
33
- }
34
- },
35
- async create(membership) {
36
- try {
37
- const response = await $axios.post(`/api/memberships/create`, membership);
38
- state.error = null;
39
- return Promise.resolve(response.data);
40
- } catch (error) {
41
- setError(error);
42
- return Promise.reject(error);
43
- }
44
- },
45
- async update(membership) {
46
- try {
47
- const response = await $axios.post(`/api/memberships/update`, membership);
48
- state.error = null;
49
- return Promise.resolve(response.data);
50
- } catch (error) {
51
- setError(error);
52
- return Promise.reject(error);
53
- }
54
- },
55
- async delete(membership) {
56
- try {
57
- const response = await $axios.post(`/api/memberships/delete`, membership);
58
- state.error = null;
59
- return Promise.resolve(response.data);
60
- } catch (error) {
61
- setError(error);
62
- return Promise.reject(error);
63
- }
64
- },
65
- };
66
-
67
- const mutations = {
68
- handleMembershipUpdate(data, membership, status, target, statusName, statusNumber) {
69
- let entity;
70
-
71
- console.log('public is', data);
72
- console.log('isArray', Array.isArray(data));
73
-
74
- if (Array.isArray(data)) {
75
- // Если data - это массив, ищем в нем сущность
76
- entity = data.find(o => o._id === membership.target);
77
- } else if (typeof data === 'object' && data._id === membership.target) {
78
- // Если data - это объект и он соответствует целевой сущности, присваиваем его
79
- entity = data;
80
- }
81
-
82
- if (entity) {
83
- entity[statusName] = status;
84
-
85
- if (status) {
86
- entity.memberships.push(membership);
87
- entity[statusNumber] += 1;
88
- } else {
89
- const index = entity.memberships.findIndex(m => m._id === membership._id);
90
-
91
- if (index !== -1) {
92
- entity.memberships.splice(index, 1);
93
- entity[statusNumber] -= 1;
94
- }
95
- }
96
- }
97
- },
98
- };
99
-
100
- // History
101
- const history = [];
102
- history.push(state);
103
-
104
- // Watch
105
- watch(state, newState => {
106
- history.push(newState);
107
- });
108
-
109
- // Module Export
110
- export { actions, mutations, state };