@ozdao/martyrs 0.2.518 → 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 (509) 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/{abac-Cf_9lCSh.js → abac-CnJsrv8S.js} +3 -3
  6. package/dist/{abac-6LjoG9u-.cjs → abac-DOyUjhee.cjs} +3 -3
  7. package/dist/builder.cjs +27 -25
  8. package/dist/builder.js +27 -25
  9. package/dist/chats.server.cjs +198 -1
  10. package/dist/chats.server.js +198 -1
  11. package/dist/{crud-sE7GLPbj.js → crud-BIFl1W1i.js} +6 -6
  12. package/dist/{crud-JN_LFj01.cjs → crud-CC6k6yY5.cjs} +6 -6
  13. package/dist/{globals.logger-CZMgIMlM.cjs → globals.logger-BuW7JHMY.cjs} +63 -53
  14. package/dist/{globals.logger-Bf6rRU7j.js → globals.logger-VRHh-WUW.js} +63 -53
  15. package/dist/{globals.observer-CV2wCzzh.cjs → globals.observer-C_FYclgV.cjs} +36 -1
  16. package/dist/{globals.observer-CDqUjVU5.js → globals.observer-MZsqaE6F.js} +36 -1
  17. package/dist/globals.server.cjs +1 -1
  18. package/dist/globals.server.js +1 -1
  19. package/dist/inventory.server.cjs +276 -376
  20. package/dist/inventory.server.js +276 -376
  21. package/dist/main-BM3GslOO.cjs +11 -0
  22. package/dist/{main-wmEhGVvD.js → main-Qcn7YlTx.js} +1834 -1830
  23. package/dist/martyrs/src/components/Address/{Address.vue2.cjs → Address.vue.cjs} +2 -2
  24. package/dist/martyrs/src/components/Address/{Address.vue2.js.map → Address.vue.cjs.map} +1 -1
  25. package/dist/martyrs/src/components/Address/{Address.vue2.js → Address.vue.js} +2 -2
  26. package/dist/martyrs/src/components/Address/Address.vue.js.map +1 -0
  27. package/dist/martyrs/src/components/Button/Button.vue.cjs +1 -1
  28. package/dist/martyrs/src/components/Button/Button.vue.cjs.map +1 -1
  29. package/dist/martyrs/src/components/Button/Button.vue.js +1 -1
  30. package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -1
  31. package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
  32. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
  33. package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
  34. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
  35. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
  36. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
  37. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
  38. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
  39. package/dist/martyrs/src/components/EditImages/EditImages.vue.cjs +0 -93
  40. package/dist/martyrs/src/components/EditImages/EditImages.vue.cjs.map +1 -1
  41. package/dist/martyrs/src/components/EditImages/EditImages.vue.js +1 -94
  42. package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -1
  43. package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs +93 -0
  44. package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs.map +1 -1
  45. package/dist/martyrs/src/components/EditImages/EditImages.vue2.js +94 -1
  46. package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +1 -1
  47. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +2 -3
  48. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  49. package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -3
  50. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  51. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  52. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
  53. package/dist/martyrs/src/components/Loader/Loader.vue2.cjs +1 -1
  54. package/dist/martyrs/src/components/Loader/Loader.vue2.cjs.map +1 -1
  55. package/dist/martyrs/src/components/Loader/Loader.vue2.js +1 -1
  56. package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +1 -1
  57. package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue2.cjs → LocationMarker.vue.cjs} +2 -2
  58. package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue2.js.map → LocationMarker.vue.cjs.map} +1 -1
  59. package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue2.js → LocationMarker.vue.js} +2 -2
  60. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +1 -0
  61. package/dist/martyrs/src/components/Select/{Select.vue2.cjs → Select.vue.cjs} +2 -2
  62. package/dist/martyrs/src/components/Select/{Select.vue2.js.map → Select.vue.cjs.map} +1 -1
  63. package/dist/martyrs/src/components/Select/{Select.vue2.js → Select.vue.js} +2 -2
  64. package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -0
  65. package/dist/martyrs/src/modules/auth/views/components/blocks/CardUser.vue.cjs +2 -2
  66. package/dist/martyrs/src/modules/auth/views/components/blocks/CardUser.vue.js +2 -2
  67. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
  68. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  69. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
  70. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  71. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  72. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
  73. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +4 -4
  74. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
  75. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +41 -51
  76. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
  77. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +59 -69
  78. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  79. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +11 -13
  80. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  81. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +11 -13
  82. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  83. package/dist/martyrs/src/modules/auth/views/store/auth.cjs +10 -1
  84. package/dist/martyrs/src/modules/auth/views/store/auth.cjs.map +1 -1
  85. package/dist/martyrs/src/modules/auth/views/store/auth.js +10 -1
  86. package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
  87. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +6 -0
  88. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
  89. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +6 -0
  90. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
  91. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.cjs +27 -11
  92. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
  93. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js +28 -12
  94. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
  95. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs +62 -0
  96. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
  97. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js +63 -1
  98. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
  99. package/dist/martyrs/src/modules/chats/store/chat.store.cjs +60 -1
  100. package/dist/martyrs/src/modules/chats/store/chat.store.cjs.map +1 -1
  101. package/dist/martyrs/src/modules/chats/store/chat.store.js +60 -1
  102. package/dist/martyrs/src/modules/chats/store/chat.store.js.map +1 -1
  103. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  104. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  105. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +3 -3
  106. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
  107. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
  108. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  109. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  110. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  111. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  112. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  113. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs +50 -368
  114. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs.map +1 -1
  115. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +53 -371
  116. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
  117. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  118. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  119. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  120. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  121. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  122. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
  123. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  124. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
  125. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +2 -3
  126. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
  127. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -3
  128. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
  129. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +2 -2
  130. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
  131. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +2 -2
  132. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
  133. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  134. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  135. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
  136. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
  137. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  138. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  139. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  140. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
  141. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  142. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
  143. package/dist/martyrs/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +2 -2
  144. package/dist/martyrs/src/modules/globals/views/components/partials/LocationSelection.vue.js +2 -2
  145. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  146. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  147. package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.cjs +16 -3
  148. package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
  149. package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.js +17 -4
  150. package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
  151. package/dist/martyrs/src/modules/globals/views/components/sections/Walkthrough.vue.cjs +1 -1
  152. package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs +7 -0
  153. package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
  154. package/dist/martyrs/src/modules/globals/views/mixins/mixins.js +7 -0
  155. package/dist/martyrs/src/modules/globals/views/mixins/mixins.js.map +1 -1
  156. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +1 -1
  157. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +67 -43
  158. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs.map +1 -1
  159. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +68 -44
  160. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js.map +1 -1
  161. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.cjs +22 -7
  162. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.cjs.map +1 -1
  163. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +23 -8
  164. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js.map +1 -1
  165. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.cjs +47 -32
  166. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.cjs.map +1 -1
  167. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +48 -33
  168. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js.map +1 -1
  169. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +47 -26
  170. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs.map +1 -1
  171. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +48 -27
  172. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js.map +1 -1
  173. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +42 -52
  174. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs.map +1 -1
  175. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +43 -53
  176. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
  177. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +18 -18
  178. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs.map +1 -1
  179. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +3 -3
  180. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
  181. package/dist/martyrs/src/modules/inventory/store/{ inventory.store.cjs → inventory.store.cjs} +46 -2
  182. package/dist/martyrs/src/modules/inventory/store/inventory.store.cjs.map +1 -0
  183. package/dist/martyrs/src/modules/inventory/store/{ inventory.store.js → inventory.store.js} +46 -2
  184. package/dist/martyrs/src/modules/inventory/store/inventory.store.js.map +1 -0
  185. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +180 -19
  186. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
  187. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +181 -20
  188. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
  189. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
  190. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
  191. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
  192. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
  193. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
  194. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
  195. package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +1 -1
  196. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
  197. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +1 -1
  198. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +1 -1
  199. package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +1 -1
  200. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +1 -1
  201. package/dist/martyrs/src/modules/music/router/music.cjs +1 -2
  202. package/dist/martyrs/src/modules/music/router/music.cjs.map +1 -1
  203. package/dist/martyrs/src/modules/music/router/music.js +1 -2
  204. package/dist/martyrs/src/modules/music/router/music.js.map +1 -1
  205. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs +2 -2
  206. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs.map +1 -1
  207. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js +2 -2
  208. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js.map +1 -1
  209. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +1 -1
  210. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  211. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +1 -1
  212. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
  213. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  214. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  215. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +3 -4
  216. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
  217. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -4
  218. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
  219. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  220. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  221. package/dist/martyrs/src/modules/orders/orders.client.cjs +2 -2
  222. package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
  223. package/dist/martyrs/src/modules/orders/orders.client.js +2 -2
  224. package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
  225. package/dist/martyrs/src/modules/orders/router/customers.router.cjs +1 -1
  226. package/dist/martyrs/src/modules/orders/router/customers.router.cjs.map +1 -1
  227. package/dist/martyrs/src/modules/orders/router/customers.router.js +1 -1
  228. package/dist/martyrs/src/modules/orders/router/customers.router.js.map +1 -1
  229. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +2 -24
  230. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +1 -1
  231. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +5 -27
  232. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +1 -1
  233. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  234. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  235. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.cjs +4 -1
  236. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.cjs.map +1 -1
  237. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js +4 -1
  238. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js.map +1 -1
  239. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +3 -3
  240. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs.map +1 -1
  241. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +3 -3
  242. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js.map +1 -1
  243. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs +195 -0
  244. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs.map +1 -0
  245. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +195 -0
  246. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js.map +1 -0
  247. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs +402 -0
  248. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs.map +1 -0
  249. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +402 -0
  250. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -0
  251. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs +86 -0
  252. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs.map +1 -0
  253. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +86 -0
  254. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js.map +1 -0
  255. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +10 -10
  256. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
  257. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +11 -11
  258. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  259. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +279 -191
  260. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs.map +1 -1
  261. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +285 -197
  262. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
  263. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +7 -7
  264. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
  265. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +7 -7
  266. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  267. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  268. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
  269. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  270. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
  271. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  272. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
  273. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  274. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  275. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  276. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  277. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
  278. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs.map +1 -1
  279. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  280. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js.map +1 -1
  281. package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.cjs +4 -4
  282. package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.cjs.map +1 -1
  283. package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.js +4 -4
  284. package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.js.map +1 -1
  285. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +42 -41
  286. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
  287. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +53 -52
  288. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  289. package/dist/martyrs/src/modules/organizations/organizations.client.cjs +23 -16
  290. package/dist/martyrs/src/modules/organizations/organizations.client.cjs.map +1 -1
  291. package/dist/martyrs/src/modules/organizations/organizations.client.js +35 -28
  292. package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
  293. package/dist/martyrs/src/modules/organizations/router/departments.router.cjs +0 -18
  294. package/dist/martyrs/src/modules/organizations/router/departments.router.cjs.map +1 -1
  295. package/dist/martyrs/src/modules/organizations/router/departments.router.js +0 -18
  296. package/dist/martyrs/src/modules/organizations/router/departments.router.js.map +1 -1
  297. package/dist/martyrs/src/modules/organizations/store/departments.store.cjs +6 -0
  298. package/dist/martyrs/src/modules/organizations/store/departments.store.cjs.map +1 -0
  299. package/dist/martyrs/src/modules/organizations/store/departments.store.js +6 -0
  300. package/dist/martyrs/src/modules/organizations/store/departments.store.js.map +1 -0
  301. package/dist/martyrs/src/modules/organizations/store/invites.store.cjs +6 -0
  302. package/dist/martyrs/src/modules/organizations/store/invites.store.cjs.map +1 -0
  303. package/dist/martyrs/src/modules/organizations/store/invites.store.js +6 -0
  304. package/dist/martyrs/src/modules/organizations/store/invites.store.js.map +1 -0
  305. package/dist/martyrs/src/modules/organizations/store/memberships.store.cjs +20 -0
  306. package/dist/martyrs/src/modules/organizations/store/memberships.store.cjs.map +1 -0
  307. package/dist/martyrs/src/modules/organizations/store/memberships.store.js +20 -0
  308. package/dist/martyrs/src/modules/organizations/store/memberships.store.js.map +1 -0
  309. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +1 -1
  310. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
  311. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -4
  312. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  313. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +3 -4
  314. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  315. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
  316. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  317. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +1 -1
  318. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  319. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +1 -1
  320. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  321. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
  322. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
  323. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
  324. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  325. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
  326. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
  327. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  328. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  329. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +3 -3
  330. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
  331. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +3 -3
  332. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
  333. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  334. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  335. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  336. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  337. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +3 -3
  338. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
  339. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs +60 -272
  340. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs.map +1 -1
  341. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +62 -274
  342. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -1
  343. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
  344. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
  345. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  346. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  347. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +4 -4
  348. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
  349. package/dist/martyrs.cjs.js +1 -1
  350. package/dist/martyrs.css +1 -1
  351. package/dist/martyrs.es.js +1 -1
  352. package/dist/music.server.cjs +9 -9
  353. package/dist/music.server.js +9 -9
  354. package/dist/notifications.server.cjs +0 -24
  355. package/dist/notifications.server.js +0 -24
  356. package/dist/orders.server.cjs +3 -6
  357. package/dist/orders.server.js +3 -6
  358. package/dist/organizations.server.cjs +119 -43
  359. package/dist/organizations.server.js +119 -43
  360. package/dist/products.server.cjs +5 -5
  361. package/dist/products.server.js +5 -5
  362. package/dist/rents.server.cjs +3 -3
  363. package/dist/rents.server.js +3 -3
  364. package/dist/style.css +16 -17
  365. package/dist/wallet.server.cjs +2 -2
  366. package/dist/wallet.server.js +2 -2
  367. package/dist/{web-B5wZTKbK.cjs → web-B0cfxzgu.cjs} +1 -1
  368. package/dist/{web-520xCgXy.js → web-DVR8m2fm.js} +1 -1
  369. package/package.json +1 -1
  370. package/src/builder/modes/ssr.rspack.dev.js +20 -12
  371. package/src/builder/rspack/rspack.config.base.js +16 -15
  372. package/src/components/Button/Button.vue +1 -1
  373. package/src/components/Feed/Feed.old.vue +0 -1
  374. package/src/components/Feed/Feed.vue +1 -31
  375. package/src/components/Loader/Loader.vue +1 -1
  376. package/src/modules/auth/FIXES.md +61 -0
  377. package/src/modules/auth/PROMT.md +33 -0
  378. package/src/modules/auth/auth.server.js +1 -0
  379. package/src/modules/auth/views/components/blocks/CardUser.vue +2 -2
  380. package/src/modules/auth/views/components/layouts/Auth.vue +1 -1
  381. package/src/modules/auth/views/components/pages/Invite.vue +2 -2
  382. package/src/modules/auth/views/components/pages/Profile.vue +33 -48
  383. package/src/modules/auth/views/components/sections/SliderFeatures.vue +5 -7
  384. package/src/modules/auth/views/store/auth.js +16 -1
  385. package/src/modules/auth//320/220/320/240/320/245/320/230/320/242/320/225/320/232/320/242/320/243/320/240/320/220.md +445 -0
  386. package/src/modules/backoffice/components/partials/Sidebar.vue +6 -0
  387. package/src/modules/chats/CLAUDE.md +137 -0
  388. package/src/modules/chats/components/blocks/ChatMessage.vue +12 -0
  389. package/src/modules/chats/components/sections/ChatWindow.vue +84 -2
  390. package/src/modules/chats/controllers/chats.controller.js +187 -0
  391. package/src/modules/chats/models/chat.model.js +21 -0
  392. package/src/modules/chats/routes/chats.routes.js +46 -0
  393. package/src/modules/chats/store/chat.store.js +67 -0
  394. package/src/modules/community/components/layouts/Community.vue +2 -2
  395. package/src/modules/community/components/pages/Posts.vue +3 -328
  396. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  397. package/src/modules/events/components/pages/Events.vue +2 -2
  398. package/src/modules/globals/controllers/classes/globals.cache.js +64 -55
  399. package/src/modules/globals/controllers/classes/globals.logger.js +40 -4
  400. package/src/modules/globals/controllers/classes/globals.observer.js +54 -4
  401. package/src/modules/globals/views/components/partials/Header.vue +1 -1
  402. package/src/modules/globals/views/components/partials/Sidebar.vue +17 -13
  403. package/src/modules/globals/views/mixins/mixins.js +7 -0
  404. package/src/modules/inventory/CLAUDE.md +330 -0
  405. package/src/modules/inventory/PROMT.md +25 -0
  406. package/src/modules/inventory/components/forms/AdjustmentForm.vue +53 -36
  407. package/src/modules/inventory/components/forms/ColumnSettingsMenu.vue +11 -6
  408. package/src/modules/inventory/components/forms/HistoryView.vue +21 -9
  409. package/src/modules/inventory/components/forms/StockAlertsForm.vue +33 -22
  410. package/src/modules/inventory/components/pages/Inventory.vue +40 -40
  411. package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
  412. package/src/modules/inventory/docs/01-intro.md +126 -0
  413. package/src/modules/inventory/docs/02-architecture.md +266 -0
  414. package/src/modules/inventory/docs/03-components-and-relationships.md +338 -0
  415. package/src/modules/inventory/docs/04-business-logic-and-algorithms.md +376 -0
  416. package/src/modules/inventory/docs/05-api-specification.md +356 -0
  417. package/src/modules/inventory/docs/06-access-control.md +320 -0
  418. package/src/modules/inventory/inventory.server.js +6 -2
  419. package/src/modules/inventory/{services → middlewares}/inventory.verifier.js +5 -16
  420. package/src/modules/inventory/models/stock.availability.model.js +20 -7
  421. package/src/modules/inventory/routes/inventory.routes.js +14 -17
  422. package/src/modules/inventory/services/adjustment.service.js +137 -0
  423. package/src/modules/inventory/services/audit.service.js +160 -0
  424. package/src/modules/inventory/services/availability.service.js +323 -0
  425. package/src/modules/inventory/services/inventory.helpers.old.js +217 -0
  426. package/src/modules/inventory/store/{ inventory.store.js → inventory.store.js} +0 -14
  427. package/src/modules/inventory/workers/inventory.availability.worker.js +29 -30
  428. package/src/modules/marketplace/views/components/layouts/Marketplace.vue +160 -8
  429. package/src/modules/notifications/controllers/notifications.controller.js +0 -6
  430. package/src/modules/notifications/services/notification.service.js +1 -17
  431. package/src/modules/notifications/services/web-push.service.js +0 -2
  432. package/src/modules/orders/components/blocks/CardOrderBackoffice.vue +2 -2
  433. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  434. package/src/modules/orders/controllers/orders.controller.js +2 -4
  435. package/src/modules/orders/orders.client.js +2 -2
  436. package/src/modules/orders/router/customers.router.js +1 -1
  437. package/src/modules/organizations/CLAUDE.md +259 -0
  438. package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -22
  439. package/src/modules/organizations/components/blocks/Socials.vue +1 -1
  440. package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +3 -3
  441. package/src/modules/organizations/components/forms/AddExistingMembersForm.vue +191 -0
  442. package/src/modules/organizations/components/forms/DepartmentForm.vue +390 -0
  443. package/src/modules/organizations/components/forms/InviteForm.vue +81 -0
  444. package/src/modules/organizations/components/pages/Department.vue +10 -10
  445. package/src/modules/organizations/components/pages/DepartmentEdit.vue +8 -8
  446. package/src/modules/organizations/components/pages/Members.vue +265 -171
  447. package/src/modules/organizations/components/pages/Organization.new.vue +172 -183
  448. package/src/modules/organizations/components/pages/Organization.vue +6 -6
  449. package/src/modules/organizations/components/pages/OrganizationEdit.vue +1 -1
  450. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  451. package/src/modules/organizations/components/sections/Organizations.vue +2 -2
  452. package/src/modules/organizations/components/sections/Publics.vue +4 -4
  453. package/src/modules/organizations/configs/navigation.organization.config.js +40 -39
  454. package/src/modules/organizations/controllers/departments.controller.js +53 -34
  455. package/src/modules/organizations/controllers/invites.controller.js +44 -5
  456. package/src/modules/organizations/controllers/memberships.controller.js +43 -4
  457. package/src/modules/organizations/organizations.client.js +24 -15
  458. package/src/modules/organizations/router/departments.router.js +0 -18
  459. package/src/modules/organizations/routes/departments.routes.js +6 -8
  460. package/src/modules/organizations/routes/invites.routes.js +6 -4
  461. package/src/modules/organizations/routes/memberships.routes.js +6 -5
  462. package/src/modules/organizations/routes/organizations.routes.js +1 -1
  463. package/src/modules/organizations/store/departments.store.js +5 -0
  464. package/src/modules/organizations/store/invites.store.js +5 -0
  465. package/src/modules/organizations/store/memberships.store.js +23 -0
  466. package/src/modules/products/components/pages/Products.vue +0 -1
  467. package/src/modules/spots/components/blocks/CardSpot.vue +1 -1
  468. package/src/modules/spots/components/pages/Spots.vue +3 -203
  469. package/src/styles/base/all.scss +0 -15
  470. package/src/styles/responsive.scss +1 -31
  471. package/src/styles/typography.scss +20 -5
  472. package/dist/main-CSzPfQYR.cjs +0 -11
  473. package/dist/martyrs/src/components/Address/Address.vue2.cjs.map +0 -1
  474. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
  475. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
  476. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
  477. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.cjs.map +0 -1
  478. package/dist/martyrs/src/components/Select/Select.vue2.cjs.map +0 -1
  479. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +0 -76
  480. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs.map +0 -1
  481. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.js +0 -76
  482. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockFilter.vue.js.map +0 -1
  483. package/dist/martyrs/src/modules/inventory/store/ inventory.store.cjs.map +0 -1
  484. package/dist/martyrs/src/modules/inventory/store/ inventory.store.js.map +0 -1
  485. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +0 -280
  486. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +0 -1
  487. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +0 -280
  488. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +0 -1
  489. package/dist/martyrs/src/modules/organizations/store/departments.cjs +0 -121
  490. package/dist/martyrs/src/modules/organizations/store/departments.cjs.map +0 -1
  491. package/dist/martyrs/src/modules/organizations/store/departments.js +0 -121
  492. package/dist/martyrs/src/modules/organizations/store/departments.js.map +0 -1
  493. package/dist/martyrs/src/modules/organizations/store/invites.cjs +0 -64
  494. package/dist/martyrs/src/modules/organizations/store/invites.cjs.map +0 -1
  495. package/dist/martyrs/src/modules/organizations/store/invites.js +0 -64
  496. package/dist/martyrs/src/modules/organizations/store/invites.js.map +0 -1
  497. package/dist/martyrs/src/modules/organizations/store/memberships.cjs +0 -87
  498. package/dist/martyrs/src/modules/organizations/store/memberships.cjs.map +0 -1
  499. package/dist/martyrs/src/modules/organizations/store/memberships.js +0 -87
  500. package/dist/martyrs/src/modules/organizations/store/memberships.js.map +0 -1
  501. package/src/modules/globals/controllers/classes/globals.websocket.ws.js +0 -102
  502. package/src/modules/globals/views/components/blocks/BlockFilter.vue +0 -60
  503. package/src/modules/inventory/docs/README.md +0 -291
  504. package/src/modules/inventory/models/stock.balance.model.js +0 -43
  505. package/src/modules/inventory/services/inventory.crud.js +0 -710
  506. package/src/modules/inventory/tests/inventory.test.js +0 -281
  507. package/src/modules/organizations/store/departments.js +0 -137
  508. package/src/modules/organizations/store/invites.js +0 -76
  509. package/src/modules/organizations/store/memberships.js +0 -110
@@ -15,154 +15,7 @@
15
15
  </button>
16
16
  </header>
17
17
 
18
- <div class="cols-2-1_3 br-1px br-solid br-light z-index-3 pos-relative">
19
-
20
- <div class="o-y-scroll br-r br-solid br-light pd-medium z-index-2 desktop-only h-100 pos-relative">
21
- <div class="w-100 o-y-scroll h-100">
22
- <!-- Categories -->
23
- <div class="mn-b-medium">
24
- <h4 class="mn-b-small">Categories</h4>
25
- <div class="gap-micro">
26
- <div
27
- v-for="category in postCategories"
28
- :key="category.value"
29
- @click="selectCategory(category.value)"
30
- :class="{ 'bg-light': selectedCategory === category.value }"
31
- class="pd-small radius-small cursor-pointer hover-bg-light transition-all"
32
- >
33
- {{ category.label }}
34
- </div>
35
- </div>
36
- </div>
37
-
38
- <!-- Tags Filter -->
39
- <Spoiler
40
- class="o-hidden mn-b-medium"
41
- :status="true"
42
- >
43
- <template #header="{ isOpen }">
44
- <div class="cursor-pointer w-100 flex-v-center flex-nowrap flex">
45
- <h4 class="w-100">Tags</h4>
46
- <div class="h-2r w-2r flex-child-auto aspect-1x1 flex-center flex bg-light radius-extra">
47
- <IconChevronBottom :class="{ 'rotate-180 mn-t-micro-negative': isOpen }" fill="rgb(var(--black))" class="i-regular"/>
48
- </div>
49
- </div>
50
- </template>
51
-
52
- <template #content>
53
- <div class="mn-t-small">
54
- <Field
55
- v-model="searchTag"
56
- placeholder="Search tags..."
57
- type="text"
58
- class="w-100 bg-light pd-small radius-small mn-b-small"
59
- />
60
- <Checkbox
61
- v-for="tag in filteredTags"
62
- :key="tag"
63
- v-model:checkbox="selectedTags"
64
- :label="tag"
65
- :value="tag"
66
- mode="checkbox"
67
- class="mn-b-micro"
68
- />
69
- </div>
70
- </template>
71
- </Spoiler>
72
-
73
- <!-- Date Range Filter -->
74
- <Spoiler
75
- class="o-hidden mn-b-medium"
76
- :status="true"
77
- >
78
- <template #header="{ isOpen }">
79
- <div class="cursor-pointer w-100 flex-v-center flex-nowrap flex">
80
- <h4 class="w-100">Date Range</h4>
81
- <div class="h-2r w-2r flex-child-auto aspect-1x1 flex-center flex bg-light radius-extra">
82
- <IconChevronBottom :class="{ 'rotate-180 mn-t-micro-negative': isOpen }" fill="rgb(var(--black))" class="i-regular"/>
83
- </div>
84
- </div>
85
- </template>
86
-
87
- <template #content>
88
- <div class="mn-t-small">
89
- <div
90
- v-for="option in dateRangeOptions"
91
- :key="option.value"
92
- @click="selectDateRange(option.value)"
93
- :class="{ 'bg-light': selectedDateRange === option.value }"
94
- class="pd-small radius-small cursor-pointer hover-bg-light transition-all mn-b-micro"
95
- >
96
- {{ option.label }}
97
- </div>
98
-
99
- <div
100
- @click="() => { tempSelectedDates = selectedDates; showDatePickerPopup = true; }"
101
- :class="{ 'bg-light': selectedDateRange === 'custom' }"
102
- class="pd-small radius-small cursor-pointer hover-bg-light transition-all mn-b-micro"
103
- >
104
- {{ selectedDates ? `${formatDate(selectedDates.start, { dayMonth: true, language: 'en' })} - ${formatDate(selectedDates.end, { dayMonth: true, language: 'en' })}` : 'Select custom dates'}}
105
- </div>
106
- </div>
107
- </template>
108
- </Spoiler>
109
-
110
- <!-- Author Filter -->
111
- <Spoiler
112
- class="o-hidden mn-b-medium"
113
- :status="true"
114
- >
115
- <template #header="{ isOpen }">
116
- <div class="cursor-pointer w-100 flex-v-center flex-nowrap flex">
117
- <h4 class="w-100">Author</h4>
118
- <div class="h-2r w-2r flex-child-auto aspect-1x1 flex-center flex bg-light radius-extra">
119
- <IconChevronBottom :class="{ 'rotate-180 mn-t-micro-negative': isOpen }" fill="rgb(var(--black))" class="i-regular"/>
120
- </div>
121
- </div>
122
- </template>
123
-
124
- <template #content>
125
- <div class="mn-t-small">
126
- <Checkbox
127
- label="My Posts Only"
128
- v-model:checkbox="showMyPostsOnly"
129
- mode="checkbox"
130
- class="mn-b-micro"
131
- />
132
- </div>
133
- </template>
134
- </Spoiler>
135
-
136
- <!-- Clear Filters Button -->
137
- <button
138
- @click="clearFilters"
139
- class="bg-main w-100 button mn-t-medium"
140
- >
141
- Clear Filters
142
- </button>
143
- </div>
144
- </div>
145
-
146
- <div class="w-100 rows-1 pd-thin pos-relative o-hidden">
147
- <Filters
148
- v-model:filters="availableFilters"
149
- v-model:selected="selectedFilters"
150
- />
151
-
152
- <div class="mn-b-thin w-100 o-y-scroll scroll-hide scroll-snap-type-x-mandatory scroll-pd-regular">
153
- <div class="gap-thin flex-nowrap flex">
154
- <div
155
- v-for="category in postCategories"
156
- :key="category.value"
157
- @click="selectCategory(category.value)"
158
- :class="{ 'bg-main t-white': selectedCategory === category.value }"
159
- class="flex-child-default bg-light flex t-nowrap pd-medium radius-medium cursor-pointer hover-bg-light transition-all"
160
- >
161
- {{ category.label }}
162
- </div>
163
- </div>
164
- </div>
165
-
18
+ <div class="w-100 rows-1 pd-thin pos-relative o-hidden">
166
19
  <Feed
167
20
  :search="true"
168
21
  v-model:filter="blog.state.filter"
@@ -183,17 +36,12 @@
183
36
  status: 'published',
184
37
  user: auth.state.user._id,
185
38
  owner: route.params._id || null,
186
- category: selectedCategory !== 'all' ? selectedCategory : null,
187
- tags: selectedTags.length > 0 ? selectedTags : null,
188
- author: showMyPostsOnly ? auth.state.user._id : null,
189
- dateStart: selectedDates?.start,
190
- dateEnd: selectedDates?.end,
191
39
  search: route.query.search
192
40
  }"
193
41
  v-slot="{
194
42
  items
195
43
  }"
196
- class="cols-3 pos-relative w-100 rows-1 gap-thin"
44
+ class="cols-1 pos-relative w-100 rows-1 gap-thin"
197
45
  >
198
46
  <CardBlogpost
199
47
  v-for="item in items"
@@ -211,49 +59,7 @@
211
59
  />
212
60
  </Feed>
213
61
 
214
- <button
215
- v-if="hasAccess(route.params._id, 'posts', 'create', auth.state.accesses, auth.state.access.roles)"
216
- @click="$router.push({
217
- name: route.params?._id ? 'Organization_PostAdd' : 'CreateBlogPost'
218
- })"
219
- class="mn-t-medium bg-main button w-100"
220
- >
221
- Create New Post
222
- </button>
223
- </div>
224
62
  </div>
225
-
226
- <!-- Date Picker Popup -->
227
- <Popup
228
- :isPopupOpen="showDatePickerPopup"
229
- @close-popup="showDatePickerPopup = false"
230
- class="pd-medium bg-white radius-medium"
231
- style="min-width: 350px;"
232
- >
233
- <h3 class="mn-b-medium">Select Date Range</h3>
234
-
235
- <Calendar
236
- v-model:date="tempSelectedDates"
237
- :allowRange="true"
238
- :disablePastDates="false"
239
- class="mn-b-medium"
240
- />
241
-
242
- <div class="flex gap-small">
243
- <button
244
- @click="applyDateFilter"
245
- class="bg-main button flex-child-full"
246
- >
247
- Apply
248
- </button>
249
- <button
250
- @click="showDatePickerPopup = false"
251
- class="bg-light button flex-child-full"
252
- >
253
- Cancel
254
- </button>
255
- </div>
256
- </Popup>
257
63
  </div>
258
64
  </template>
259
65
 
@@ -264,17 +70,10 @@
264
70
 
265
71
  // Import components
266
72
  import Feed from '@martyrs/src/components/Feed/Feed.vue'
267
- import Filters from '@martyrs/src/modules/globals/views/components/sections/Filters.vue'
268
- import Spoiler from "@martyrs/src/components/Spoiler/Spoiler.vue"
269
- import Field from "@martyrs/src/components/Field/Field.vue"
270
- import Checkbox from "@martyrs/src/components/Checkbox/Checkbox.vue"
271
- import Calendar from "@martyrs/src/components/Calendar/Calendar.vue"
272
- import Popup from "@martyrs/src/components/Popup/Popup.vue"
273
73
 
274
74
  import CardBlogpost from '@martyrs/src/modules/community/components/blocks/CardBlogpost.vue'
275
75
 
276
76
  import IconPlus from '@martyrs/src/modules/icons/navigation/IconPlus.vue'
277
- import IconChevronBottom from '@martyrs/src/modules/icons/navigation/IconChevronBottom.vue'
278
77
 
279
78
  // Accessing router and store
280
79
  import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';
@@ -285,7 +84,7 @@
285
84
 
286
85
  const route = useRoute()
287
86
  const router = useRouter()
288
- const { hasAccess, formatDate } = useGlobalMixins()
87
+ const { hasAccess } = useGlobalMixins()
289
88
 
290
89
  // Props
291
90
  const props = defineProps({
@@ -295,130 +94,6 @@
295
94
  }
296
95
  })
297
96
 
298
- // Categories
299
- const postCategories = ref([
300
- { label: 'All Posts', value: 'all' },
301
- { label: 'News', value: 'news' },
302
- { label: 'Updates', value: 'updates' },
303
- { label: 'Events', value: 'events' },
304
- { label: 'Announcements', value: 'announcements' },
305
- { label: 'Stories', value: 'stories' }
306
- ]);
307
- const selectedCategory = ref('all');
308
-
309
- // Tags
310
- const searchTag = ref('');
311
- const selectedTags = ref([]);
312
- const availableTags = ref(['featured', 'important', 'trending', 'community', 'official']);
313
- const filteredTags = computed(() => {
314
- if (!searchTag.value) return availableTags.value;
315
- return availableTags.value.filter(tag =>
316
- tag.toLowerCase().includes(searchTag.value.toLowerCase())
317
- );
318
- });
319
-
320
- // Date Range
321
- const dateRangeOptions = ref([
322
- { label: 'All Time', value: 'all' },
323
- { label: 'Today', value: 'today' },
324
- { label: 'This Week', value: 'week' },
325
- { label: 'This Month', value: 'month' },
326
- { label: 'This Year', value: 'year' }
327
- ]);
328
- const selectedDateRange = ref('all');
329
- const showDatePickerPopup = ref(false);
330
- const selectedDates = ref(null);
331
- const tempSelectedDates = ref(null);
332
-
333
- // Author
334
- const showMyPostsOnly = ref(false);
335
-
336
- const availableFilters = ref([
337
- {
338
- title: 'Category',
339
- value: 'category',
340
- type: 'radio',
341
- options: postCategories.value
342
- },
343
- {
344
- title: 'Status',
345
- value: 'status',
346
- type: 'radio',
347
- options: [
348
- { label: 'Published', value: 'published' },
349
- { label: 'Draft', value: 'draft' },
350
- { label: 'Archived', value: 'archived' }
351
- ]
352
- }
353
- ])
354
-
355
- const selectedFilters = ref({
356
- category: 'all',
357
- status: 'published'
358
- })
359
-
360
- const selectCategory = (category) => {
361
- selectedCategory.value = category;
362
- selectedFilters.value.category = category;
363
- };
364
-
365
- const selectDateRange = (range) => {
366
- selectedDateRange.value = range;
367
- const today = new Date();
368
-
369
- switch(range) {
370
- case 'all':
371
- selectedDates.value = null;
372
- break;
373
- case 'today':
374
- selectedDates.value = {
375
- start: today,
376
- end: today
377
- };
378
- break;
379
- case 'week':
380
- const weekStart = new Date(today);
381
- weekStart.setDate(today.getDate() - today.getDay());
382
- selectedDates.value = {
383
- start: weekStart,
384
- end: today
385
- };
386
- break;
387
- case 'month':
388
- const monthStart = new Date(today.getFullYear(), today.getMonth(), 1);
389
- selectedDates.value = {
390
- start: monthStart,
391
- end: today
392
- };
393
- break;
394
- case 'year':
395
- const yearStart = new Date(today.getFullYear(), 0, 1);
396
- selectedDates.value = {
397
- start: yearStart,
398
- end: today
399
- };
400
- break;
401
- }
402
- };
403
-
404
- const applyDateFilter = () => {
405
- selectedDates.value = tempSelectedDates.value;
406
- selectedDateRange.value = 'custom';
407
- showDatePickerPopup.value = false;
408
- };
409
-
410
- const clearFilters = () => {
411
- selectedCategory.value = 'all';
412
- selectedTags.value = [];
413
- selectedDateRange.value = 'all';
414
- selectedDates.value = null;
415
- showMyPostsOnly.value = false;
416
- searchTag.value = '';
417
- selectedFilters.value = {
418
- category: 'all',
419
- status: 'published'
420
- };
421
- };
422
97
 
423
98
  globals.state.navigation_bar.actions = [{
424
99
  component: IconPlus,
@@ -108,7 +108,7 @@
108
108
  {{ticket.client_refactor?.email || 'No email'}}
109
109
  </p>
110
110
 
111
- <span class="pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase">
111
+ <span class="pd-thin ]bg-second radius-extra t-white t-medium d-block w-max uppercase">
112
112
  {{ticket.status}}
113
113
  </span>
114
114
  </div>
@@ -160,13 +160,13 @@
160
160
  // Import state
161
161
  import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'
162
162
  import * as organizations from '@martyrs/src/modules/organizations/store/organizations.js'
163
- import * as memberships from '@martyrs/src/modules/organizations/store/memberships.js'
163
+ import membershipsStore from '@martyrs/src/modules/organizations/store/memberships.store.js'
164
164
 
165
165
 
166
166
  import * as events from '@martyrs/src/modules/events/store/events.js';
167
167
 
168
168
  const handleMembershipUpdate = ({ membership, status, target }, statusName, statusNumber) => {
169
- memberships.mutations.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)
169
+ membershipsStore.handleMembershipUpdate(organizations.state.current, membership, status, target, statusName, statusNumber)
170
170
  };
171
171
  // State
172
172
  const route = useRoute();
@@ -1,34 +1,20 @@
1
1
  import NodeCache from 'node-cache';
2
+
2
3
  class Cache {
3
4
  constructor(options = {}) {
4
- const { ttlSeconds = 60 * 5 } = options; // По умолчанию 5 минут
5
+ const { ttlSeconds = 60 * 5 } = options;
5
6
  this.cache = new NodeCache({ stdTTL: ttlSeconds });
6
- this.tagStore = new Map(); // Хранилище тегов: tag -> Set(key)
7
+ this.tagStore = new Map();
7
8
  }
8
- /**
9
- * Получение значения по ключу
10
- * @param {string} key - Ключ
11
- * @returns {Promise<any>} Значение из кэша
12
- */
9
+
13
10
  async get(key) {
14
11
  return this.cache.get(key);
15
12
  }
16
- /**
17
- * Установка значения по ключу
18
- * @param {string} key - Ключ
19
- * @param {any} value - Значение
20
- * @returns {Promise<boolean>} Успешность операции
21
- */
13
+
22
14
  async set(key, value) {
23
15
  return this.cache.set(key, value);
24
16
  }
25
- /**
26
- * Установка значения с тегами
27
- * @param {string} key - Ключ
28
- * @param {any} value - Значение
29
- * @param {string[]} tags - Массив тегов
30
- * @returns {Promise<boolean>} Успешность операции
31
- */
17
+
32
18
  async setWithTags(key, value, tags = []) {
33
19
  const success = this.cache.set(key, value);
34
20
  if (success && tags.length > 0) {
@@ -41,15 +27,10 @@ class Cache {
41
27
  }
42
28
  return success;
43
29
  }
44
- /**
45
- * Удаление по ключу или ключам
46
- * @param {string|string[]} keys - Ключ или массив ключей
47
- * @returns {Promise<number>} Количество удаленных элементов
48
- */
30
+
49
31
  async del(keys) {
50
32
  const keyArray = Array.isArray(keys) ? keys : [keys];
51
33
  const deletedCount = this.cache.del(keyArray);
52
- // Обновляем tagStore
53
34
  for (const key of keyArray) {
54
35
  for (const [tag, keySet] of this.tagStore.entries()) {
55
36
  if (keySet.has(key)) {
@@ -62,23 +43,15 @@ class Cache {
62
43
  }
63
44
  return deletedCount;
64
45
  }
65
- /**
66
- * Удаление всех ключей, связанных с тегом
67
- * @param {string} tag - Тег
68
- * @returns {Promise<number>} Количество удаленных элементов
69
- */
46
+
70
47
  async delByTag(tag) {
71
48
  if (!this.tagStore.has(tag)) return 0;
72
49
  const keys = Array.from(this.tagStore.get(tag));
73
50
  const deletedCount = await this.del(keys);
74
- this.tagStore.delete(tag); // Тег больше не нужен
51
+ this.tagStore.delete(tag);
75
52
  return deletedCount;
76
53
  }
77
- /**
78
- * Удаление всех ключей, связанных с массивом тегов
79
- * @param {string[]} tags - Массив тегов
80
- * @returns {Promise<number>} Количество удаленных элементов
81
- */
54
+
82
55
  async delByTags(tags) {
83
56
  let totalDeleted = 0;
84
57
  for (const tag of tags) {
@@ -86,26 +59,16 @@ class Cache {
86
59
  }
87
60
  return totalDeleted;
88
61
  }
89
- /**
90
- * Полная очистка кэша
91
- * @returns {Promise<void>}
92
- */
62
+
93
63
  async flush() {
94
64
  this.cache.flushAll();
95
65
  this.tagStore.clear();
96
66
  }
97
- /**
98
- * Получение всех ключей в кэше
99
- * @returns {Promise<string[]>} Массив ключей
100
- */
67
+
101
68
  async keys() {
102
69
  return this.cache.keys();
103
70
  }
104
- /**
105
- * Получение тегов для ключа
106
- * @param {string} key - Ключ
107
- * @returns {Promise<string[]>} Массив тегов
108
- */
71
+
109
72
  async getTagsForKey(key) {
110
73
  const tags = [];
111
74
  for (const [tag, keySet] of this.tagStore.entries()) {
@@ -115,10 +78,7 @@ class Cache {
115
78
  }
116
79
  return tags;
117
80
  }
118
- /**
119
- * Получение статистики кэша
120
- * @returns {Promise<object>} Статистика
121
- */
81
+
122
82
  async stats() {
123
83
  return {
124
84
  keys: this.cache.keys().length,
@@ -127,4 +87,53 @@ class Cache {
127
87
  };
128
88
  }
129
89
  }
130
- export default Cache;
90
+
91
+ // Хранилище экземпляров по namespace
92
+ const instances = new Map();
93
+
94
+ // Экспортируем конструктор с поддержкой namespace
95
+ export default class CacheNamespaced {
96
+ constructor(namespaceOrOptions, options) {
97
+ let namespace = 'global';
98
+ let cacheOptions = {};
99
+
100
+ // Определяем, что передали - namespace или options
101
+ if (typeof namespaceOrOptions === 'string') {
102
+ namespace = namespaceOrOptions;
103
+ cacheOptions = options || {};
104
+ } else if (typeof namespaceOrOptions === 'object') {
105
+ cacheOptions = namespaceOrOptions || {};
106
+ }
107
+
108
+ // Если экземпляр для namespace уже существует, возвращаем его
109
+ if (instances.has(namespace)) {
110
+ return instances.get(namespace);
111
+ }
112
+
113
+ // Создаем новый экземпляр для namespace
114
+ const instance = new Cache(cacheOptions);
115
+ instances.set(namespace, instance);
116
+
117
+ return instance;
118
+ }
119
+
120
+ // Статический метод для получения всех namespace'ов
121
+ static getNamespaces() {
122
+ return Array.from(instances.keys());
123
+ }
124
+
125
+ // Статический метод для очистки конкретного namespace
126
+ static async flushNamespace(namespace) {
127
+ if (instances.has(namespace)) {
128
+ await instances.get(namespace).flush();
129
+ }
130
+ }
131
+
132
+ // Статический метод для удаления namespace (полностью)
133
+ static removeNamespace(namespace) {
134
+ if (instances.has(namespace)) {
135
+ instances.get(namespace).flush();
136
+ instances.delete(namespace);
137
+ }
138
+ }
139
+ }
@@ -1,9 +1,8 @@
1
- // Переделанный класс Logger
2
1
  class Logger {
3
2
  constructor(db) {
4
- // Теперь просто используем модель, которая уже определена в db
5
3
  this.LogModel = db.log;
6
4
  }
5
+
7
6
  async log(level, message) {
8
7
  const logEntry = new this.LogModel({
9
8
  level,
@@ -16,12 +15,49 @@ class Logger {
16
15
  console.error('Logging error:', err);
17
16
  }
18
17
  }
19
- // Удобные методы для различных уровней логирования
18
+
20
19
  async info(message) {
21
20
  await this.log('info', message);
22
21
  }
22
+
23
23
  async error(message) {
24
24
  await this.log('error', message);
25
25
  }
26
26
  }
27
- export default Logger;
27
+
28
+ // Хранилище экземпляров по namespace
29
+ const instances = new Map();
30
+
31
+ // Экспортируем конструктор с поддержкой namespace
32
+ export default class LoggerNamespaced {
33
+ constructor(namespaceOrDb, db) {
34
+ // Если передали только db (старый способ)
35
+ if (!db && namespaceOrDb && typeof namespaceOrDb === 'object') {
36
+ const namespace = 'global';
37
+
38
+ if (instances.has(namespace)) {
39
+ return instances.get(namespace);
40
+ }
41
+
42
+ const instance = new Logger(namespaceOrDb);
43
+ instances.set(namespace, instance);
44
+ return instance;
45
+ }
46
+
47
+ // Если передали namespace и db
48
+ const namespace = namespaceOrDb;
49
+
50
+ if (instances.has(namespace)) {
51
+ return instances.get(namespace);
52
+ }
53
+
54
+ const instance = new Logger(db);
55
+ instances.set(namespace, instance);
56
+ return instance;
57
+ }
58
+
59
+ // Статический метод для получения всех namespace'ов
60
+ static getNamespaces() {
61
+ return Array.from(instances.keys());
62
+ }
63
+ }