@ozdao/martyrs 0.2.603 → 0.2.605

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 (911) hide show
  1. package/README.md +2 -2
  2. package/dist/_virtual/dayjs.min.js +1 -1
  3. package/dist/_virtual/weekOfYear.js +1 -1
  4. package/dist/{abac-Blt8bUTL.js → abac-kz5xI99l.js} +1 -0
  5. package/dist/auth.server.js +52 -12
  6. package/dist/builder.js +67 -2
  7. package/dist/chats.server.js +2 -2
  8. package/dist/community.server.js +3 -3
  9. package/dist/core.server.js +2 -2
  10. package/dist/{core.websocket-Cl76z2wT.js → core.websocket-B2FA8gGl.js} +0 -2
  11. package/dist/{crud-BT5FIvQC.js → crud-Cwn0frBP.js} +8 -2
  12. package/dist/events.server.js +4 -4
  13. package/dist/files.server.js +1 -1
  14. package/dist/gallery.server.js +2 -2
  15. package/dist/governance.server.js +10 -10
  16. package/dist/{index-kvBwwb0w.js → index-CPACC651.js} +1 -1
  17. package/dist/inventory.server.js +4 -4
  18. package/dist/{mailing-DT7nbNjZ.js → mailing-BBCidXGr.js} +38 -2
  19. package/dist/marketplace.server.js +2 -2
  20. package/dist/martyrs/dist/martyrs.es3.js +1 -1
  21. package/dist/martyrs/dist/martyrs.es3.js.map +1 -1
  22. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js +1 -1
  23. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js.map +1 -1
  24. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/plugin/weekOfYear.js +1 -1
  25. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/plugin/weekOfYear.js.map +1 -1
  26. package/dist/{node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_ → martyrs/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.7_vue@3.5.13}/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +305 -268
  27. package/dist/martyrs/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.7_vue@3.5.13/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +1 -0
  28. package/dist/martyrs/src/components/Address/Address.vue2.js +13 -13
  29. package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -1
  30. package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
  31. package/dist/martyrs/src/components/Button/Button.vue2.js +1 -1
  32. package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -1
  33. package/dist/martyrs/src/components/Calendar/Calendar.vue2.js +150 -143
  34. package/dist/martyrs/src/components/Calendar/Calendar.vue2.js.map +1 -1
  35. package/dist/martyrs/src/components/Chart/Chart.vue.js +296 -0
  36. package/dist/martyrs/src/components/Chart/Chart.vue.js.map +1 -0
  37. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +1 -1
  38. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
  39. package/dist/martyrs/src/components/Chips/Chips.vue.js +5 -6
  40. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -1
  41. package/dist/martyrs/src/components/Countdown/Countdown.vue.js +5 -5
  42. package/dist/martyrs/src/components/Countdown/Countdown.vue.js.map +1 -1
  43. package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js +2 -2
  44. package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js.map +1 -1
  45. package/dist/martyrs/src/components/EditImages/EditImages.vue.js +4 -4
  46. package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -1
  47. package/dist/martyrs/src/components/EmptyState/EmptyState.vue.js +1 -1
  48. package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
  49. package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
  50. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  51. package/dist/martyrs/src/components/Field/Field.vue.js +4 -4
  52. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  53. package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js +3 -3
  54. package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js.map +1 -1
  55. package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
  56. package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
  57. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js +27 -21
  58. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
  59. package/dist/martyrs/src/components/Map/Map.vue.js +20 -16
  60. package/dist/martyrs/src/components/Map/Map.vue.js.map +1 -1
  61. package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
  62. package/dist/martyrs/src/components/Popup/Popup.vue.js +3 -4
  63. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -1
  64. package/dist/martyrs/src/components/Radio/Radio.vue.js +12 -10
  65. package/dist/martyrs/src/components/Radio/Radio.vue.js.map +1 -1
  66. package/dist/martyrs/src/components/Select/Select.vue.js +2 -2
  67. package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -1
  68. package/dist/martyrs/src/components/Status/Snack.vue.js +1 -1
  69. package/dist/martyrs/src/components/Status/Snack.vue.js.map +1 -1
  70. package/dist/martyrs/src/components/Status/Status.vue.js +1 -1
  71. package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
  72. package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
  73. package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +1 -0
  74. package/dist/martyrs/src/components/Table/Table.vue.js +21 -4
  75. package/dist/martyrs/src/components/Table/Table.vue.js.map +1 -1
  76. package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js → Tooltip.vue.js} +2 -2
  77. package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +1 -0
  78. package/dist/martyrs/src/components/Tree/Tree.vue.js +1 -1
  79. package/dist/martyrs/src/components/Upload/Upload.vue2.js +2 -2
  80. package/dist/martyrs/src/components/Upload/Upload.vue2.js.map +1 -1
  81. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +3 -3
  82. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -1
  83. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +2 -2
  84. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js.map +1 -1
  85. package/dist/martyrs/src/modules/auth/auth.client.js +14 -2
  86. package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
  87. package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +4 -4
  88. package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js.map +1 -1
  89. package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +1 -1
  90. package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
  91. package/dist/martyrs/src/modules/auth/views/components/blocks/SidebarUserCard.vue.js +96 -0
  92. package/dist/martyrs/src/modules/auth/views/components/blocks/SidebarUserCard.vue.js.map +1 -0
  93. package/dist/martyrs/src/modules/auth/views/components/pages/BackofficeUsers.vue.js +337 -0
  94. package/dist/martyrs/src/modules/auth/views/components/pages/BackofficeUsers.vue.js.map +1 -0
  95. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  96. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
  97. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  98. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  99. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +33 -19
  100. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
  101. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +76 -40
  102. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
  103. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +6 -5
  104. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.map +1 -1
  105. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +5 -5
  106. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
  107. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +6 -4
  108. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  109. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +4 -4
  110. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
  111. package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +28 -16
  112. package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
  113. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.js +1 -1
  114. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.js.map +1 -1
  115. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +1 -1
  116. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  117. package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.js +6 -2
  118. package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
  119. package/dist/martyrs/src/modules/auth/views/router/users.backoffice.router.js +53 -0
  120. package/dist/martyrs/src/modules/auth/views/router/users.backoffice.router.js.map +1 -0
  121. package/dist/martyrs/src/modules/auth/views/store/auth.js +3 -3
  122. package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
  123. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +179 -253
  124. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
  125. package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +105 -44
  126. package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
  127. package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +11 -5
  128. package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
  129. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
  130. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
  131. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
  132. package/dist/martyrs/src/modules/community/community.client.js +4 -4
  133. package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
  134. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  135. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
  136. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +4 -4
  137. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  138. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  139. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
  140. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
  141. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +1 -1
  142. package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  143. package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.js.map +1 -1
  144. package/dist/martyrs/src/modules/core/core.client.js +18 -16
  145. package/dist/martyrs/src/modules/core/core.client.js.map +1 -1
  146. package/dist/martyrs/src/modules/core/views/classes/core.app.js +25 -6
  147. package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
  148. package/dist/martyrs/src/modules/core/views/classes/module.manager.js +4 -2
  149. package/dist/martyrs/src/modules/core/views/classes/module.manager.js.map +1 -1
  150. package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.js +1 -1
  151. package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.js.map +1 -1
  152. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.js +1 -1
  153. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.js.map +1 -1
  154. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSlider.vue.js +132 -0
  155. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSlider.vue.js.map +1 -0
  156. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +3 -3
  157. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js.map +1 -1
  158. package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +6 -28
  159. package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -1
  160. package/dist/martyrs/src/modules/{auth → core}/views/components/blocks/CardUser.vue.js +29 -11
  161. package/dist/martyrs/src/modules/{auth → core}/views/components/blocks/CardUser.vue.js.map +1 -1
  162. package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js +2 -2
  163. package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js.map +1 -1
  164. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +42 -27
  165. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js.map +1 -1
  166. package/dist/martyrs/src/modules/core/views/components/elements/OnlineIndicator.vue.js +1 -1
  167. package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +1 -1
  168. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +4 -3
  169. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
  170. package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js +2 -2
  171. package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js.map +1 -1
  172. package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
  173. package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
  174. package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.js +2 -2
  175. package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.js.map +1 -1
  176. package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.js +2 -2
  177. package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.js.map +1 -1
  178. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +4 -4
  179. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
  180. package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +1 -1
  181. package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js.map +1 -1
  182. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +2 -2
  183. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
  184. package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue.js → Filters.vue2.js} +5 -5
  185. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +1 -0
  186. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +3 -3
  187. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
  188. package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +7 -7
  189. package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js.map +1 -1
  190. package/dist/martyrs/src/modules/core/views/mixins/mixins.js +14 -1
  191. package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
  192. package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js +8 -5
  193. package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js.map +1 -1
  194. package/dist/martyrs/src/modules/core/views/store/core.store.js +5 -1
  195. package/dist/martyrs/src/modules/core/views/store/core.store.js.map +1 -1
  196. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +3 -0
  197. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
  198. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  199. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
  200. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
  201. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -3
  202. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
  203. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
  204. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js.map +1 -1
  205. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
  206. package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
  207. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js +1 -1
  208. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js.map +1 -1
  209. package/dist/martyrs/src/modules/events/events.client.js +4 -4
  210. package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
  211. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  212. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
  213. package/dist/martyrs/src/modules/gallery/router/gallery.router.js +3 -3
  214. package/dist/martyrs/src/modules/gallery/router/gallery.router.js.map +1 -1
  215. package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +5 -5
  216. package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -1
  217. package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +6 -6
  218. package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -1
  219. package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +4 -4
  220. package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -1
  221. package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +5 -5
  222. package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -1
  223. package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +2 -2
  224. package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +2 -2
  225. package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +2 -2
  226. package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +5 -5
  227. package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -1
  228. package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +2 -2
  229. package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +2 -2
  230. package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +2 -2
  231. package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +2 -2
  232. package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +2 -2
  233. package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +2 -2
  234. package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +2 -2
  235. package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +2 -2
  236. package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +1 -1
  237. package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -1
  238. package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +2 -2
  239. package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +1 -1
  240. package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -1
  241. package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +1 -1
  242. package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -1
  243. package/dist/martyrs/src/modules/governance/views/router/governance.router.js +3 -3
  244. package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -1
  245. package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js +2 -2
  246. package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js.map +1 -1
  247. package/dist/martyrs/src/modules/icons/entities/IconApplications.vue.js +32 -0
  248. package/dist/martyrs/src/modules/icons/entities/IconApplications.vue.js.map +1 -0
  249. package/dist/martyrs/src/modules/icons/entities/IconCustomers.vue.js +32 -0
  250. package/dist/martyrs/src/modules/icons/entities/IconCustomers.vue.js.map +1 -0
  251. package/dist/martyrs/src/modules/icons/entities/IconUsers.vue.js +32 -0
  252. package/dist/martyrs/src/modules/icons/entities/IconUsers.vue.js.map +1 -0
  253. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +2 -2
  254. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js.map +1 -1
  255. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +2 -2
  256. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js.map +1 -1
  257. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
  258. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js.map +1 -1
  259. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
  260. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js.map +1 -1
  261. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +290 -173
  262. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
  263. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
  264. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
  265. package/dist/martyrs/src/modules/inventory/inventory.client.js +4 -4
  266. package/dist/martyrs/src/modules/inventory/inventory.client.js.map +1 -1
  267. package/dist/martyrs/src/modules/inventory/router/inventory.router.js +15 -0
  268. package/dist/martyrs/src/modules/inventory/router/inventory.router.js.map +1 -1
  269. package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js +4 -4
  270. package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js.map +1 -1
  271. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js +1 -1
  272. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js.map +1 -1
  273. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js +3 -3
  274. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js.map +1 -1
  275. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +2 -2
  276. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
  277. package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.js +1 -1
  278. package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.js.map +1 -1
  279. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js +2 -2
  280. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -1
  281. package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.js +1 -1
  282. package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.js.map +1 -1
  283. package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.js +2 -2
  284. package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.js.map +1 -1
  285. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
  286. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
  287. package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
  288. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +4 -4
  289. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js.map +1 -1
  290. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +2 -2
  291. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js.map +1 -1
  292. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js +2 -2
  293. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js.map +1 -1
  294. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
  295. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js.map +1 -1
  296. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +2 -2
  297. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js.map +1 -1
  298. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +6 -6
  299. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js.map +1 -1
  300. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
  301. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js.map +1 -1
  302. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
  303. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js.map +1 -1
  304. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +5 -5
  305. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js.map +1 -1
  306. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
  307. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js.map +1 -1
  308. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +9 -9
  309. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js.map +1 -1
  310. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +6 -6
  311. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js.map +1 -1
  312. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +12 -12
  313. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
  314. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +4 -4
  315. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js.map +1 -1
  316. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +12 -12
  317. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
  318. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +4 -4
  319. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js.map +1 -1
  320. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js +2 -2
  321. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js.map +1 -1
  322. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +163 -69
  323. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
  324. package/dist/martyrs/src/modules/notifications/notifications.client.js +183 -19
  325. package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
  326. package/dist/martyrs/src/modules/notifications/router/notifications.backoffice.router.js +21 -0
  327. package/dist/martyrs/src/modules/notifications/router/notifications.backoffice.router.js.map +1 -0
  328. package/dist/martyrs/src/modules/notifications/router/notifications.router.js +13 -42
  329. package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -1
  330. package/dist/martyrs/src/modules/notifications/store/notifications.store.js +67 -2
  331. package/dist/martyrs/src/modules/notifications/store/notifications.store.js.map +1 -1
  332. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +9 -7
  333. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
  334. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +11 -9
  335. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
  336. package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js +9 -9
  337. package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
  338. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js +66 -19
  339. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js.map +1 -1
  340. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +29 -27
  341. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
  342. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +7 -12
  343. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
  344. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +1 -1
  345. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -1
  346. package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js +4 -4
  347. package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js.map +1 -1
  348. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  349. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js.map +1 -1
  350. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +46 -25
  351. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js.map +1 -1
  352. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +2 -2
  353. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
  354. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +54 -38
  355. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
  356. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +454 -139
  357. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
  358. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +2 -1
  359. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
  360. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +141 -68
  361. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
  362. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +38 -32
  363. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
  364. package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  365. package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js.map +1 -1
  366. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +4 -4
  367. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
  368. package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.js +1 -1
  369. package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
  370. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +167 -95
  371. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
  372. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
  373. package/dist/martyrs/src/modules/orders/orders.client.js +22 -20
  374. package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
  375. package/dist/martyrs/src/modules/orders/store/orders.js +3 -5
  376. package/dist/martyrs/src/modules/orders/store/orders.js.map +1 -1
  377. package/dist/martyrs/src/modules/orders/store/shopcart.js +6 -6
  378. package/dist/martyrs/src/modules/orders/store/shopcart.js.map +1 -1
  379. package/dist/martyrs/src/modules/orders/utils/rent-price.js +60 -0
  380. package/dist/martyrs/src/modules/orders/utils/rent-price.js.map +1 -0
  381. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +2 -2
  382. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +45 -55
  383. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
  384. package/dist/martyrs/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
  385. package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
  386. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js +2 -2
  387. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js.map +1 -1
  388. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  389. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js.map +1 -1
  390. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +3 -3
  391. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js.map +1 -1
  392. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +1 -1
  393. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
  394. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
  395. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js.map +1 -1
  396. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +2 -2
  397. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  398. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +8 -8
  399. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
  400. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +216 -83
  401. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  402. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +38 -28
  403. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
  404. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +3 -2
  405. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  406. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  407. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
  408. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  409. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
  410. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  411. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +20 -18
  412. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  413. package/dist/martyrs/src/modules/organizations/organizations.client.js +39 -33
  414. package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
  415. package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +81 -0
  416. package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -1
  417. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  418. package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.js +1 -1
  419. package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.js.map +1 -1
  420. package/dist/martyrs/src/modules/pages/views/router/pages.router.js +2 -2
  421. package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -1
  422. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  423. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
  424. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +2 -2
  425. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
  426. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +3 -3
  427. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
  428. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +2 -2
  429. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
  430. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +3 -3
  431. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -1
  432. package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
  433. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js +2 -2
  434. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
  435. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +9 -25
  436. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
  437. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  438. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
  439. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +34 -17
  440. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
  441. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +98 -98
  442. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  443. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  444. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js.map +1 -1
  445. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  446. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js.map +1 -1
  447. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +22 -9
  448. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js.map +1 -1
  449. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  450. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
  451. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  452. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
  453. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +4 -4
  454. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
  455. package/dist/martyrs/src/modules/products/router/categories.router.js +2 -2
  456. package/dist/martyrs/src/modules/products/router/categories.router.js.map +1 -1
  457. package/dist/martyrs/src/modules/products/router/products.router.js +17 -3
  458. package/dist/martyrs/src/modules/products/router/products.router.js.map +1 -1
  459. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js +11 -10
  460. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js.map +1 -1
  461. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js +197 -81
  462. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js.map +1 -1
  463. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.js +2 -2
  464. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.js.map +1 -1
  465. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +3 -3
  466. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js.map +1 -1
  467. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +685 -80
  468. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js.map +1 -1
  469. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +68 -18
  470. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js.map +1 -1
  471. package/dist/martyrs/src/modules/rents/views/router/rents.router.js +3 -3
  472. package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -1
  473. package/dist/martyrs/src/modules/rents/views/store/rents.store.js +1 -1
  474. package/dist/martyrs/src/modules/rents/views/store/rents.store.js.map +1 -1
  475. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js +3 -3
  476. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
  477. package/dist/martyrs/src/modules/reports/router/reports.router.js +1 -1
  478. package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -1
  479. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +5 -5
  480. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
  481. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  482. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +3 -3
  483. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
  484. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +10 -8
  485. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
  486. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +29 -37
  487. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -1
  488. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +8 -8
  489. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js.map +1 -1
  490. package/dist/martyrs/src/modules/spots/router/spots.router.js +3 -3
  491. package/dist/martyrs/src/modules/spots/router/spots.router.js.map +1 -1
  492. package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +3 -3
  493. package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
  494. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  495. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -1
  496. package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +1 -1
  497. package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -1
  498. package/dist/martyrs.es10.js +59 -57
  499. package/dist/martyrs.es101.js +39 -0
  500. package/dist/martyrs.es102.js +24 -32
  501. package/dist/martyrs.es104.js +27 -0
  502. package/dist/martyrs.es105.js +6 -25
  503. package/dist/martyrs.es106.js +6 -5
  504. package/dist/martyrs.es107.js +76 -6
  505. package/dist/martyrs.es108.js +5 -77
  506. package/dist/martyrs.es109.js +119 -5
  507. package/dist/martyrs.es11.js +31 -30
  508. package/dist/martyrs.es112.js +2 -119
  509. package/dist/martyrs.es113.js +25 -0
  510. package/dist/martyrs.es114.js +7 -0
  511. package/dist/martyrs.es115.js +8 -2
  512. package/dist/martyrs.es116.js +166 -22
  513. package/dist/martyrs.es117.js +457 -4
  514. package/dist/martyrs.es118.js +40 -8
  515. package/dist/martyrs.es119.js +9 -166
  516. package/dist/martyrs.es12.js +8 -9
  517. package/dist/martyrs.es120.js +43 -451
  518. package/dist/martyrs.es121.js +10 -38
  519. package/dist/martyrs.es122.js +44 -9
  520. package/dist/martyrs.es123.js +4 -49
  521. package/dist/martyrs.es124.js +127 -10
  522. package/dist/martyrs.es125.js +98 -42
  523. package/dist/martyrs.es126.js +86 -4
  524. package/dist/martyrs.es127.js +29 -120
  525. package/dist/martyrs.es128.js +10 -99
  526. package/dist/martyrs.es129.js +24 -71
  527. package/dist/martyrs.es13.js +22 -19
  528. package/dist/martyrs.es130.js +8 -37
  529. package/dist/martyrs.es131.js +115 -10
  530. package/dist/martyrs.es132.js +16 -38
  531. package/dist/martyrs.es133.js +15 -8
  532. package/dist/martyrs.es135.js +28 -112
  533. package/dist/martyrs.es136.js +9 -17
  534. package/dist/martyrs.es137.js +19 -14
  535. package/dist/martyrs.es138.js +8 -32
  536. package/dist/martyrs.es139.js +9 -9
  537. package/dist/martyrs.es14.js +2 -2
  538. package/dist/martyrs.es140.js +43 -19
  539. package/dist/martyrs.es141.js +480 -9
  540. package/dist/martyrs.es142.js +5 -8
  541. package/dist/martyrs.es143.js +2 -45
  542. package/dist/martyrs.es144.js +11 -480
  543. package/dist/martyrs.es145.js +30 -5
  544. package/dist/martyrs.es146.js +17 -2
  545. package/dist/martyrs.es147.js +19 -11
  546. package/dist/martyrs.es148.js +27 -29
  547. package/dist/martyrs.es149.js +20 -16
  548. package/dist/martyrs.es2.js +31 -30
  549. package/dist/martyrs.es22.js +16 -16
  550. package/dist/martyrs.es23.js +8 -8
  551. package/dist/martyrs.es24.js +9 -9
  552. package/dist/martyrs.es26.js +9 -11
  553. package/dist/martyrs.es27.js +9 -9
  554. package/dist/martyrs.es28.js +1 -1
  555. package/dist/martyrs.es29.js +5 -5
  556. package/dist/martyrs.es3.js +1 -1
  557. package/dist/martyrs.es38.js +1 -1
  558. package/dist/martyrs.es4.js +12 -12
  559. package/dist/martyrs.es41.js +34 -224
  560. package/dist/martyrs.es5.js +251 -238
  561. package/dist/martyrs.es54.js +2 -2
  562. package/dist/martyrs.es61.js +33 -26
  563. package/dist/martyrs.es71.js +2 -2
  564. package/dist/martyrs.es74.js +8 -8
  565. package/dist/martyrs.es75.js +1 -1
  566. package/dist/martyrs.es76.js +18 -18
  567. package/dist/martyrs.es77.js +1 -1
  568. package/dist/martyrs.es78.js +1 -1
  569. package/dist/martyrs.es8.js +31 -31
  570. package/dist/martyrs.es91.js +1 -1
  571. package/dist/martyrs.es92.js +33 -5
  572. package/dist/martyrs.es94.js +41 -0
  573. package/dist/martyrs.es95.js +46 -28
  574. package/dist/martyrs.es96.js +116 -52
  575. package/dist/martyrs.es97.js +33 -113
  576. package/dist/martyrs.es98.js +76 -33
  577. package/dist/martyrs.es99.js +24 -77
  578. package/dist/music.server.js +3 -3
  579. package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +1 -1
  580. package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +1 -1
  581. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@2.0.2/node_modules/@googlemaps/js-api-loader/dist/index.js +90 -0
  582. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@2.0.2/node_modules/@googlemaps/js-api-loader/dist/index.js.map +1 -0
  583. package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js +1 -1
  584. package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.js +1 -1
  585. package/dist/notifications.server.js +255 -23
  586. package/dist/orders.server.js +674 -136
  587. package/dist/organizations.server.js +11 -6
  588. package/dist/products.server.js +68 -7
  589. package/dist/{queryProcessor-C_5Iipam.js → queryProcessor-B2FCngFP.js} +3 -2
  590. package/dist/rents.server.js +183 -7
  591. package/dist/{socials.schema-DxnnaBgO.js → socials.schema-C3RjkqJv.js} +4 -0
  592. package/dist/spots.server.js +1 -1
  593. package/dist/style.css +292 -204
  594. package/dist/{tickets.controller-DdF85W-i.js → tickets.controller-Dpzf4kQx.js} +1 -1
  595. package/dist/wallet.server.js +2 -2
  596. package/package.json +5 -3
  597. package/src/builder/modes/ssr.rspack.dev.js +2 -0
  598. package/src/builder/rspack/rspack.config.ssr.client.js +58 -1
  599. package/src/builder/ssr/asset-resolver.js +1 -1
  600. package/src/builder/templates/page.js +2 -0
  601. package/src/components/Address/Address.vue +16 -16
  602. package/src/components/Button/Button.vue +0 -1
  603. package/src/components/ButtonSegmented/ButtonSegmented.vue +1 -1
  604. package/src/components/Calendar/Calendar.vue +141 -118
  605. package/src/components/Chart/Chart.vue +216 -0
  606. package/src/components/Checkbox/Checkbox.vue +1 -1
  607. package/src/components/Chips/Chips.vue +4 -5
  608. package/src/components/Countdown/Countdown.vue +5 -5
  609. package/src/components/DatePicker/DatePicker.vue +2 -2
  610. package/src/components/EditImages/EditImages.vue +3 -3
  611. package/src/components/EmptyState/EmptyState.vue +1 -1
  612. package/src/components/Feed/Feed.vue +5 -0
  613. package/src/components/Field/Field.vue +3 -3
  614. package/src/components/FieldDate/FieldDate.vue +2 -2
  615. package/src/components/LocationMarker/LocationMarker.vue +28 -21
  616. package/src/components/Map/Map.vue +20 -15
  617. package/src/components/Popup/Popup.vue +3 -3
  618. package/src/components/Radio/Radio.vue +2 -2
  619. package/src/components/Select/Select.vue +1 -1
  620. package/src/components/Status/Snack.vue +1 -1
  621. package/src/components/Status/Status.vue +1 -1
  622. package/src/components/Table/Table.vue +16 -1
  623. package/src/components/Upload/Upload.vue +1 -1
  624. package/src/components/UploadImage/UploadImage.vue +1 -1
  625. package/src/components/UploadImageMultiple/UploadImageMultiple.vue +1 -1
  626. package/src/jit/rules.js +4 -0
  627. package/src/modules/TASKS.MD +16 -3
  628. package/src/modules/auth/auth.client.js +18 -3
  629. package/src/modules/auth/controllers/routes/users.routes.js +18 -0
  630. package/src/modules/auth/controllers/services/auth.service.js +3 -3
  631. package/src/modules/auth/controllers/services/users.service.js +34 -5
  632. package/src/modules/auth/views/components/blocks/OtpDialog.vue +4 -4
  633. package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
  634. package/src/modules/auth/views/components/blocks/SidebarUserCard.vue +95 -0
  635. package/src/modules/auth/views/components/pages/BackofficeUsers.vue +337 -0
  636. package/src/modules/auth/views/components/pages/Invite.vue +1 -1
  637. package/src/modules/auth/views/components/pages/Profile.vue +1 -1
  638. package/src/modules/auth/views/components/pages/ProfileEdit.vue +23 -14
  639. package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +45 -26
  640. package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +8 -7
  641. package/src/modules/auth/views/components/pages/ResetPassword.vue +4 -4
  642. package/src/modules/auth/views/components/pages/SignUp.vue +3 -3
  643. package/src/modules/auth/views/components/pages/UserDashboard.vue +8 -5
  644. package/src/modules/auth/views/components/sections/FeaturedUsers.vue +1 -1
  645. package/src/modules/auth/views/components/sections/SliderFeatures.vue +1 -1
  646. package/src/modules/auth/views/middlewares/auth.validation.js +7 -2
  647. package/src/modules/auth/views/router/users.backoffice.router.js +39 -0
  648. package/src/modules/auth/views/store/auth.js +2 -2
  649. package/src/modules/backoffice/components/admin/Backcalls.vue +2 -2
  650. package/src/modules/backoffice/components/admin/Dashboard.sublime-workspace +1 -1
  651. package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
  652. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  653. package/src/modules/backoffice/components/pages/Dashboard.vue +102 -139
  654. package/src/modules/backoffice/configs/navigation.backoffice.config.js +91 -29
  655. package/src/modules/backoffice/router/backoffice.router.js +7 -1
  656. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  657. package/src/modules/chats/components/sections/ChatWindow.vue +1 -1
  658. package/src/modules/community/community.client.js +4 -4
  659. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  660. package/src/modules/community/components/layouts/Community.vue +4 -4
  661. package/src/modules/community/components/sections/Comment.vue +1 -1
  662. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  663. package/src/modules/core/TASK.MD +2 -2
  664. package/src/modules/core/controllers/classes/abac/abac.core.js +1 -0
  665. package/src/modules/core/controllers/classes/core.websocket.js +0 -2
  666. package/src/modules/core/controllers/classes/crud/crud.core.js +6 -0
  667. package/src/modules/core/controllers/classes/crud/crud.service.js +6 -0
  668. package/src/modules/core/controllers/utils/mailing.js +35 -26
  669. package/src/modules/core/controllers/utils/queryProcessor.js +4 -2
  670. package/src/modules/core/core.client.js +1 -0
  671. package/src/modules/core/models/schemas/embedding.schema.js +8 -0
  672. package/src/modules/core/models/schemas/socials.schema.js +4 -0
  673. package/src/modules/core/sw.js +448 -0
  674. package/src/modules/core/views/classes/core.app.js +37 -13
  675. package/src/modules/core/views/classes/module.manager.js +3 -1
  676. package/src/modules/core/views/components/blocks/AlertDialog.vue +1 -1
  677. package/src/modules/core/views/components/blocks/BlockSearch.vue +1 -1
  678. package/src/modules/core/views/components/blocks/BlockSlider.vue +96 -0
  679. package/src/modules/core/views/components/blocks/CardHeader.vue +2 -2
  680. package/src/modules/core/views/components/blocks/CardStat.vue +4 -18
  681. package/src/modules/{auth → core}/views/components/blocks/CardUser.vue +45 -20
  682. package/src/modules/core/views/components/blocks/HelpCard.vue +1 -1
  683. package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
  684. package/src/modules/core/views/components/blocks/PopupDateSelector.vue +41 -24
  685. package/src/modules/core/views/components/layouts/Client.vue +1 -1
  686. package/src/modules/core/views/components/pages/404.vue +5 -5
  687. package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
  688. package/src/modules/core/views/components/partials/CitySelection.vue +2 -2
  689. package/src/modules/core/views/components/partials/Footer.centered.vue +2 -2
  690. package/src/modules/core/views/components/partials/Footer.vue +2 -2
  691. package/src/modules/core/views/components/partials/Header.vue +3 -3
  692. package/src/modules/core/views/components/partials/LocationSelection.vue +1 -1
  693. package/src/modules/core/views/components/partials/Navigation.vue +1 -1
  694. package/src/modules/core/views/components/sections/Filters.vue +2 -2
  695. package/src/modules/core/views/components/sections/SectionPageTitle.vue +2 -2
  696. package/src/modules/core/views/components/sections/Walkthrough.vue +6 -6
  697. package/src/modules/core/views/mixins/mixins.js +17 -0
  698. package/src/modules/core/views/plugins/date-picker.plugin.js +8 -5
  699. package/src/modules/core/views/store/core.store.js +5 -0
  700. package/src/modules/core/views/utils/vue-app-renderer.js +5 -0
  701. package/src/modules/events/components/pages/EditEventTickets.vue +9 -9
  702. package/src/modules/events/components/pages/Event.vue +2 -2
  703. package/src/modules/events/components/sections/EditTickets.vue +1 -1
  704. package/src/modules/events/components/sections/SelectDate.vue +1 -1
  705. package/src/modules/events/events.client.js +4 -4
  706. package/src/modules/gallery/components/sections/BackofficeGallery.vue +1 -1
  707. package/src/modules/gallery/router/gallery.router.js +3 -3
  708. package/src/modules/governance/middlewares/sprints.verifier.js +3 -3
  709. package/src/modules/governance/middlewares/tasks.verifier.js +3 -3
  710. package/src/modules/governance/models/sprint.model.js +1 -1
  711. package/src/modules/governance/models/task.model.js +1 -1
  712. package/src/modules/governance/reactcode/src/components/TaskStatusBadge.tsx +1 -1
  713. package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +3 -3
  714. package/src/modules/governance/views/components/blocks/CardSprintItem.vue +4 -4
  715. package/src/modules/governance/views/components/blocks/CardTaskItem.vue +2 -2
  716. package/src/modules/governance/views/components/blocks/CardVotingItem.vue +3 -3
  717. package/src/modules/governance/views/components/pages/Initiatives.vue +3 -3
  718. package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
  719. package/src/modules/governance/views/components/sections/FormSprintDetails.vue +1 -1
  720. package/src/modules/governance/views/components/sections/FormTaskDetails.vue +1 -1
  721. package/src/modules/governance/views/router/governance.router.js +3 -3
  722. package/src/modules/icons/components/IconSearchPopup.vue +1 -1
  723. package/src/modules/icons/entities/IconApplications.vue +14 -0
  724. package/src/modules/icons/entities/IconCustomers.vue +14 -0
  725. package/src/modules/icons/entities/IconUsers.vue +14 -0
  726. package/src/modules/inventory/components/forms/AdjustmentForm.vue +2 -2
  727. package/src/modules/inventory/components/forms/ColumnSettingsMenu.vue +2 -2
  728. package/src/modules/inventory/components/forms/HistoryView.vue +1 -1
  729. package/src/modules/inventory/components/forms/StockAlertsForm.vue +3 -3
  730. package/src/modules/inventory/components/pages/Inventory.vue +278 -159
  731. package/src/modules/inventory/components/pages/InventoryEdit.vue +2 -2
  732. package/src/modules/inventory/inventory.client.js +4 -4
  733. package/src/modules/inventory/models/stock.audit.model.js +1 -1
  734. package/src/modules/inventory/router/inventory.router.js +12 -0
  735. package/src/modules/landing/components/sections/SectionEarn.vue +3 -3
  736. package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
  737. package/src/modules/landing/components/sections/SectionFeatures.vue +1 -1
  738. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  739. package/src/modules/landing/components/sections/SectionGuide.vue +2 -2
  740. package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
  741. package/src/modules/landing/components/sections/SectionHeroVideo.vue +1 -1
  742. package/src/modules/landing/components/sections/SectionMobileApp.vue +2 -2
  743. package/src/modules/landing/components/sections/SectionOverview.vue +1 -1
  744. package/src/modules/landing/components/sections/SectionRoadmap.vue +1 -1
  745. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
  746. package/src/modules/marketplace/views/components/sections/SectionMenu.vue +2 -2
  747. package/src/modules/music/components/SidebarMusic.vue +1 -1
  748. package/src/modules/music/components/cards/AlbumCard.vue +1 -1
  749. package/src/modules/music/components/cards/ArtistCard.vue +1 -1
  750. package/src/modules/music/components/cards/ArtistCardSmall.vue +1 -1
  751. package/src/modules/music/components/cards/PlaylistCard.vue +1 -1
  752. package/src/modules/music/components/cards/TrackListCard.vue +6 -6
  753. package/src/modules/music/components/forms/AlbumForm.vue +2 -2
  754. package/src/modules/music/components/forms/ArtistForm.vue +1 -1
  755. package/src/modules/music/components/forms/PlaylistForm.vue +5 -5
  756. package/src/modules/music/components/forms/TrackForm.vue +3 -3
  757. package/src/modules/music/components/pages/Album.vue +8 -8
  758. package/src/modules/music/components/pages/Artist.vue +5 -5
  759. package/src/modules/music/components/pages/Playlist.vue +11 -11
  760. package/src/modules/music/components/pages/SearchResults.vue +2 -2
  761. package/src/modules/music/components/pages/Track.vue +11 -11
  762. package/src/modules/music/components/player/FullscreenPlayer.vue +3 -3
  763. package/src/modules/music/components/player/TrackProgress.vue +1 -1
  764. package/src/modules/notifications/components/sections/NotificationPreferences.vue +182 -52
  765. package/src/modules/notifications/controllers/notifications.controller.js +242 -17
  766. package/src/modules/notifications/models/notification-preference.model.js +4 -0
  767. package/src/modules/notifications/notifications.client.js +213 -20
  768. package/src/modules/notifications/router/notifications.backoffice.router.js +16 -0
  769. package/src/modules/notifications/router/notifications.router.js +13 -45
  770. package/src/modules/notifications/routes/notifications.routes.js +9 -0
  771. package/src/modules/notifications/services/notification.service.js +33 -9
  772. package/src/modules/notifications/services/telegram.service.js +2 -2
  773. package/src/modules/notifications/services/web-push.service.js +6 -2
  774. package/src/modules/notifications/store/notifications.store.js +69 -0
  775. package/src/modules/orders/components/blocks/CardApplication.vue +9 -6
  776. package/src/modules/orders/components/blocks/CardCustomer.vue +10 -7
  777. package/src/modules/orders/components/blocks/CardOrder.vue +8 -8
  778. package/src/modules/orders/components/blocks/CardOrderBackoffice.vue +58 -12
  779. package/src/modules/orders/components/blocks/CardOrderItem.vue +31 -28
  780. package/src/modules/orders/components/blocks/CardOrderUser.vue +7 -12
  781. package/src/modules/orders/components/blocks/CardOrderVar1.vue +3 -3
  782. package/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue +1 -1
  783. package/src/modules/orders/components/elements/PriceTotal.vue +4 -4
  784. package/src/modules/orders/components/forms/FormApplicationDetails.vue +1 -1
  785. package/src/modules/orders/components/forms/FormSelectCustomer.vue +48 -25
  786. package/src/modules/orders/components/pages/Applications.vue +2 -2
  787. package/src/modules/orders/components/pages/Customers.vue +35 -23
  788. package/src/modules/orders/components/pages/OrderBackoffice.vue +780 -393
  789. package/src/modules/orders/components/pages/OrderCreate.vue +5 -4
  790. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +112 -42
  791. package/src/modules/orders/components/pages/Orders.vue +20 -19
  792. package/src/modules/orders/components/pages/Orders_refact.vue +3 -3
  793. package/src/modules/orders/components/partials/ShopCart.vue +1 -1
  794. package/src/modules/orders/components/sections/ApplicationDetails.vue +2 -2
  795. package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
  796. package/src/modules/orders/components/sections/CustomerDetails.vue +130 -64
  797. package/src/modules/orders/controllers/orders.controller.js +463 -134
  798. package/src/modules/orders/middlewares/applications.verifier.js +3 -3
  799. package/src/modules/orders/middlewares/customers.verifier.js +4 -0
  800. package/src/modules/orders/middlewares/orders.verifier.js +187 -0
  801. package/src/modules/orders/models/customer.model.js +2 -0
  802. package/src/modules/orders/models/order.model.js +20 -2
  803. package/src/modules/orders/orders.client.js +21 -19
  804. package/src/modules/orders/routes/applications.routes.js +13 -3
  805. package/src/modules/orders/routes/customers.routes.js +2 -0
  806. package/src/modules/orders/routes/orders.routes.js +46 -4
  807. package/src/modules/orders/store/orders.js +4 -7
  808. package/src/modules/orders/store/shopcart.js +6 -7
  809. package/src/modules/orders/utils/rent-price.js +90 -0
  810. package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
  811. package/src/modules/organizations/components/blocks/CardOrganization.vue +30 -33
  812. package/src/modules/organizations/components/blocks/EmptyState.vue +1 -1
  813. package/src/modules/organizations/components/blocks/Rating.vue +1 -1
  814. package/src/modules/organizations/components/blocks/Socials.vue +2 -2
  815. package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
  816. package/src/modules/organizations/components/forms/AddExistingMembersForm.vue +3 -3
  817. package/src/modules/organizations/components/forms/DepartmentForm.vue +1 -1
  818. package/src/modules/organizations/components/forms/InviteForm.vue +1 -1
  819. package/src/modules/organizations/components/pages/Department.vue +2 -2
  820. package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
  821. package/src/modules/organizations/components/pages/Members.vue +8 -8
  822. package/src/modules/organizations/components/pages/Organization.vue +232 -124
  823. package/src/modules/organizations/components/pages/OrganizationCreate.vue +3 -3
  824. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  825. package/src/modules/organizations/components/pages/OrganizationEdit.vue +15 -6
  826. package/src/modules/organizations/components/pages/Organizations.vue +3 -2
  827. package/src/modules/organizations/components/sections/Documents.vue +1 -1
  828. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  829. package/src/modules/organizations/configs/navigation.organization.config.js +34 -26
  830. package/src/modules/organizations/controllers/organizations.controller.js +8 -3
  831. package/src/modules/organizations/models/organization.model.js +1 -0
  832. package/src/modules/organizations/organizations.client.js +39 -33
  833. package/src/modules/organizations/router/organizations.backoffice.router.js +67 -0
  834. package/src/modules/pages/views/components/pages/Pages.vue +1 -1
  835. package/src/modules/pages/views/router/pages.router.js +2 -2
  836. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  837. package/src/modules/products/components/blocks/CardProduct.vue +2 -2
  838. package/src/modules/products/components/blocks/ProductDiscounts.vue +1 -1
  839. package/src/modules/products/components/blocks/ProductImages.vue +1 -1
  840. package/src/modules/products/components/blocks/ProductVariants.vue +3 -3
  841. package/src/modules/products/components/elements/Price.vue +2 -2
  842. package/src/modules/products/components/forms/ColumnSettingsMenu.vue +2 -2
  843. package/src/modules/products/components/forms/ReorderSettingsForm.vue +3 -3
  844. package/src/modules/products/components/forms/StockAuditForm.vue +2 -2
  845. package/src/modules/products/components/forms/StockHistoryView.vue +1 -1
  846. package/src/modules/products/components/pages/Categories.vue +9 -20
  847. package/src/modules/products/components/pages/ProductEdit.vue +19 -3
  848. package/src/modules/products/components/pages/Products.vue +20 -19
  849. package/src/modules/products/components/sections/EditAttributes.vue +1 -1
  850. package/src/modules/products/components/sections/EditCategories.vue +1 -1
  851. package/src/modules/products/components/sections/EditDiscounts.vue +2 -2
  852. package/src/modules/products/components/sections/EditVariants.vue +14 -2
  853. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  854. package/src/modules/products/components/sections/ProductConfigurator.vue +1 -1
  855. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  856. package/src/modules/products/controllers/products.controller.js +50 -5
  857. package/src/modules/products/experiments/product-recommendation/components/HeroRecommendation.vue +2 -2
  858. package/src/modules/products/models/product.model.js +7 -0
  859. package/src/modules/products/models/variant.model.js +4 -0
  860. package/src/modules/products/router/categories.router.js +2 -2
  861. package/src/modules/products/router/products.router.js +14 -3
  862. package/src/modules/rents/controllers/routes/rents.routes.js +11 -0
  863. package/src/modules/rents/controllers/services/rents.services.js +193 -2
  864. package/src/modules/rents/models/rent.model.js +9 -0
  865. package/src/modules/rents/views/components/pages/Gant/GanttBar.vue +28 -11
  866. package/src/modules/rents/views/components/pages/Gant/GanttChart.vue +200 -40
  867. package/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue +2 -2
  868. package/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue +2 -2
  869. package/src/modules/rents/views/components/pages/Rents.vue +641 -142
  870. package/src/modules/rents/views/components/pages/RentsEdit.vue +44 -4
  871. package/src/modules/rents/views/router/rents.router.js +3 -3
  872. package/src/modules/rents/views/store/rents.store.js +1 -1
  873. package/src/modules/reports/components/pages/BackofficeReports.vue +3 -3
  874. package/src/modules/reports/router/reports.router.js +1 -1
  875. package/src/modules/spots/components/blocks/CardSpot.vue +6 -6
  876. package/src/modules/spots/components/pages/Spot.vue +2 -2
  877. package/src/modules/spots/components/pages/SpotEdit.vue +8 -6
  878. package/src/modules/spots/components/pages/Spots.vue +18 -24
  879. package/src/modules/spots/components/sections/WorktimeEdit.vue +7 -7
  880. package/src/modules/spots/router/spots.router.js +3 -3
  881. package/src/modules/wallet/views/components/blocks/CashDeposit.vue +1 -1
  882. package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
  883. package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
  884. package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
  885. package/src/modules/wallet/views/router/wallet.router.js +1 -1
  886. package/src/styles/layout.scss +1 -1
  887. package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
  888. package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
  889. package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js +0 -8
  890. package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js.map +0 -1
  891. package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js +0 -73
  892. package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js.map +0 -1
  893. package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
  894. package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
  895. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +0 -1
  896. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +0 -1
  897. package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +0 -70
  898. package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +0 -1
  899. package/dist/martyrs.es100.js +0 -33
  900. package/dist/martyrs.es103.js +0 -31
  901. package/dist/martyrs.es110.js +0 -54
  902. package/dist/martyrs.es111.js +0 -327
  903. package/dist/martyrs.es150.js +0 -22
  904. package/dist/martyrs.es151.js +0 -31
  905. package/dist/martyrs.es152.js +0 -23
  906. package/dist/martyrs.es93.js +0 -35
  907. package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
  908. package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
  909. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js +0 -336
  910. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js.map +0 -1
  911. package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +0 -1
@@ -15,13 +15,13 @@ import _sfc_main$4 from "./components/sections/EventsHot.vue.js";
15
15
  import _sfc_main$6 from "./components/sections/Feed.vue.js";
16
16
  import _sfc_main$5 from "./components/sections/List.vue.js";
17
17
  function initializeEvents(app, store, router, options = {}) {
18
- addRoutes(router, {
18
+ if (!options.contexts || options.contexts.includes("client")) addRoutes(router, {
19
19
  parentName: options.route || "Home",
20
20
  basePath: options.basePath || "events",
21
21
  routes: eventsRoutes,
22
22
  meta: { context: "root", title: { en: "Events", ru: "События" }, title_hide: true }
23
23
  });
24
- if (!options.withUserRoutes) {
24
+ if (!options.contexts || options.contexts.includes("user")) {
25
25
  addRoutes(router, {
26
26
  parentName: options.routeUser || "User Profile Root",
27
27
  basePath: "events",
@@ -30,7 +30,7 @@ function initializeEvents(app, store, router, options = {}) {
30
30
  meta: { context: "user" }
31
31
  });
32
32
  }
33
- if (!options.withOrganizationRoutes) {
33
+ if (!options.contexts || options.contexts.includes("organization")) {
34
34
  addRoutes(router, {
35
35
  parentName: options.routeOrganizations || "OrganizationRoot",
36
36
  basePath: "events",
@@ -39,7 +39,7 @@ function initializeEvents(app, store, router, options = {}) {
39
39
  meta: { context: "organization" }
40
40
  });
41
41
  }
42
- if (!options.withBackoffice) {
42
+ if (!options.contexts || options.contexts.includes("backoffice")) {
43
43
  addRoutes(router, {
44
44
  parentName: options.routeBackoffice || "Backoffice Root",
45
45
  basePath: "events",
@@ -1 +1 @@
1
- {"version":3,"file":"events.client.js","sources":["../../../../../src/modules/events/events.client.js"],"sourcesContent":["import addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\n\n// Store\nimport * as storeEvents from './store/events.js';\n\n// Router\nimport routerRoot from './router/events.router.js';\nimport routerUser from './router/events.user.router.js';\nimport routerOrganization from './router/events.organization.router.js';\nimport routerBackoffice from './router/events.backoffice.router.js';\n\n// Views\nimport CardEvent from './components/blocks/CardEvent.vue';\nimport CardEventShort from './components/blocks/CardEventShort.vue';\nimport EventsLayout from './components/layouts/layoutEvents.vue';\nimport EditEvent from './components/pages/EditEvent.vue';\nimport Event from './components/pages/Event.vue';\nimport EventsPage from './components/pages/Events.vue';\nimport FeaturedEvents from './components/sections/FeaturedEvents.vue';\nimport EventsHot from './components/sections/EventsHot.vue';\nimport Feed from './components/sections/Feed.vue';\nimport List from './components/sections/List.vue';\n\nfunction initializeEvents(app, store, router, options = {}) {\n // Root: /events/*\n addRoutes(router, {\n parentName: options.route || 'Home',\n basePath: options.basePath || 'events',\n routes: routerRoot,\n meta: { context: 'root', title: { en: 'Events', ru: 'События' }, title_hide: true },\n });\n\n // User: /users/:_id/events/*\n if (!options.withUserRoutes) {\n addRoutes(router, {\n parentName: options.routeUser || 'User Profile Root',\n basePath: 'events',\n routes: routerUser,\n routeNamePrefix: 'User',\n meta: { context: 'user' },\n });\n }\n\n // Organization: /organizations/:_id/events/*\n if (!options.withOrganizationRoutes) {\n addRoutes(router, {\n parentName: options.routeOrganizations || 'OrganizationRoot',\n basePath: 'events',\n routes: routerOrganization,\n routeNamePrefix: 'Organization',\n meta: { context: 'organization' },\n });\n }\n\n // Backoffice: /backoffice/events/*\n if (!options.withBackoffice) {\n addRoutes(router, {\n parentName: options.routeBackoffice || 'Backoffice Root',\n basePath: 'events',\n routes: routerBackoffice,\n routeNamePrefix: 'Backoffice',\n meta: { context: 'backoffice' },\n });\n }\n\n store.addStore('events', storeEvents);\n}\n\nconst ModuleEvents = {\n initialize: initializeEvents,\n views: {\n store: { storeEvents },\n components: {\n CardEvent,\n CardEventShort,\n Feed,\n List,\n FeaturedEvents,\n EventsHot,\n EventsLayout,\n EditEvent,\n Event,\n EventsPage,\n },\n },\n};\n\nexport {\n CardEvent,\n CardEventShort,\n EditEvent,\n Event,\n EventsLayout,\n EventsPage,\n FeaturedEvents,\n EventsHot,\n Feed,\n initializeEvents,\n List,\n storeEvents,\n};\n\nexport default ModuleEvents;\n"],"names":["routerRoot","routerUser","routerOrganization","routerBackoffice","storeEvents","CardEvent","CardEventShort","Feed","List","EventsHot","EventsLayout","EditEvent","Event","EventsPage"],"mappings":";;;;;;;;;;;;;;;;AAuBA,SAAS,iBAAiB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAE1D,YAAU,QAAQ;AAAA,IAChB,YAAY,QAAQ,SAAS;AAAA,IAC7B,UAAU,QAAQ,YAAY;AAAA,IAC9B,QAAQA;AAAAA,IACR,MAAM,EAAE,SAAS,QAAQ,OAAO,EAAE,IAAI,UAAU,IAAI,aAAa,YAAY,KAAI;AAAA,EACrF,CAAG;AAGD,MAAI,CAAC,QAAQ,gBAAgB;AAC3B,cAAU,QAAQ;AAAA,MAChB,YAAY,QAAQ,aAAa;AAAA,MACjC,UAAU;AAAA,MACV,QAAQC;AAAAA,MACR,iBAAiB;AAAA,MACjB,MAAM,EAAE,SAAS,OAAM;AAAA,IAC7B,CAAK;AAAA,EACH;AAGA,MAAI,CAAC,QAAQ,wBAAwB;AACnC,cAAU,QAAQ;AAAA,MAChB,YAAY,QAAQ,sBAAsB;AAAA,MAC1C,UAAU;AAAA,MACV,QAAQC;AAAAA,MACR,iBAAiB;AAAA,MACjB,MAAM,EAAE,SAAS,eAAc;AAAA,IACrC,CAAK;AAAA,EACH;AAGA,MAAI,CAAC,QAAQ,gBAAgB;AAC3B,cAAU,QAAQ;AAAA,MAChB,YAAY,QAAQ,mBAAmB;AAAA,MACvC,UAAU;AAAA,MACV,QAAQC;AAAAA,MACR,iBAAiB;AAAA,MACjB,MAAM,EAAE,SAAS,aAAY;AAAA,IACnC,CAAK;AAAA,EACH;AAEA,QAAM,SAAS,UAAUC,MAAW;AACtC;AAEK,MAAC,eAAe;AAAA,EACnB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO,EAAA,aAAEA,OAAW;AAAA,IACpB,YAAY;AAAA,MAChB,WAAMC;AAAAA,MACN,gBAAMC;AAAAA,MACN,MAAMC;AAAAA,MACN,MAAMC;AAAAA,MACA;AAAA,MACN,WAAMC;AAAAA,MACN,cAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,OAAMC;AAAAA,MACN,YAAMC;AAAAA,IACN;AAAA,EACA;AACA;"}
1
+ {"version":3,"file":"events.client.js","sources":["../../../../../src/modules/events/events.client.js"],"sourcesContent":["import addRoutes from '@martyrs/src/modules/core/views/router/addRoutes.js';\n\n// Store\nimport * as storeEvents from './store/events.js';\n\n// Router\nimport routerRoot from './router/events.router.js';\nimport routerUser from './router/events.user.router.js';\nimport routerOrganization from './router/events.organization.router.js';\nimport routerBackoffice from './router/events.backoffice.router.js';\n\n// Views\nimport CardEvent from './components/blocks/CardEvent.vue';\nimport CardEventShort from './components/blocks/CardEventShort.vue';\nimport EventsLayout from './components/layouts/layoutEvents.vue';\nimport EditEvent from './components/pages/EditEvent.vue';\nimport Event from './components/pages/Event.vue';\nimport EventsPage from './components/pages/Events.vue';\nimport FeaturedEvents from './components/sections/FeaturedEvents.vue';\nimport EventsHot from './components/sections/EventsHot.vue';\nimport Feed from './components/sections/Feed.vue';\nimport List from './components/sections/List.vue';\n\nfunction initializeEvents(app, store, router, options = {}) {\n // Root: /events/*\n if (!options.contexts || options.contexts.includes('client')) addRoutes(router, {\n parentName: options.route || 'Home',\n basePath: options.basePath || 'events',\n routes: routerRoot,\n meta: { context: 'root', title: { en: 'Events', ru: 'События' }, title_hide: true },\n });\n\n // User: /users/:_id/events/*\n if (!options.contexts || options.contexts.includes('user')) {\n addRoutes(router, {\n parentName: options.routeUser || 'User Profile Root',\n basePath: 'events',\n routes: routerUser,\n routeNamePrefix: 'User',\n meta: { context: 'user' },\n });\n }\n\n // Organization: /organizations/:_id/events/*\n if (!options.contexts || options.contexts.includes('organization')) {\n addRoutes(router, {\n parentName: options.routeOrganizations || 'OrganizationRoot',\n basePath: 'events',\n routes: routerOrganization,\n routeNamePrefix: 'Organization',\n meta: { context: 'organization' },\n });\n }\n\n // Backoffice: /backoffice/events/*\n if (!options.contexts || options.contexts.includes('backoffice')) {\n addRoutes(router, {\n parentName: options.routeBackoffice || 'Backoffice Root',\n basePath: 'events',\n routes: routerBackoffice,\n routeNamePrefix: 'Backoffice',\n meta: { context: 'backoffice' },\n });\n }\n\n store.addStore('events', storeEvents);\n}\n\nconst ModuleEvents = {\n initialize: initializeEvents,\n views: {\n store: { storeEvents },\n components: {\n CardEvent,\n CardEventShort,\n Feed,\n List,\n FeaturedEvents,\n EventsHot,\n EventsLayout,\n EditEvent,\n Event,\n EventsPage,\n },\n },\n};\n\nexport {\n CardEvent,\n CardEventShort,\n EditEvent,\n Event,\n EventsLayout,\n EventsPage,\n FeaturedEvents,\n EventsHot,\n Feed,\n initializeEvents,\n List,\n storeEvents,\n};\n\nexport default ModuleEvents;\n"],"names":["routerRoot","routerUser","routerOrganization","routerBackoffice","storeEvents","CardEvent","CardEventShort","Feed","List","EventsHot","EventsLayout","EditEvent","Event","EventsPage"],"mappings":";;;;;;;;;;;;;;;;AAuBA,SAAS,iBAAiB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAE1D,MAAI,CAAC,QAAQ,YAAY,QAAQ,SAAS,SAAS,QAAQ,EAAG,WAAU,QAAQ;AAAA,IAC9E,YAAY,QAAQ,SAAS;AAAA,IAC7B,UAAU,QAAQ,YAAY;AAAA,IAC9B,QAAQA;AAAAA,IACR,MAAM,EAAE,SAAS,QAAQ,OAAO,EAAE,IAAI,UAAU,IAAI,aAAa,YAAY,KAAI;AAAA,EACrF,CAAG;AAGD,MAAI,CAAC,QAAQ,YAAY,QAAQ,SAAS,SAAS,MAAM,GAAG;AAC1D,cAAU,QAAQ;AAAA,MAChB,YAAY,QAAQ,aAAa;AAAA,MACjC,UAAU;AAAA,MACV,QAAQC;AAAAA,MACR,iBAAiB;AAAA,MACjB,MAAM,EAAE,SAAS,OAAM;AAAA,IAC7B,CAAK;AAAA,EACH;AAGA,MAAI,CAAC,QAAQ,YAAY,QAAQ,SAAS,SAAS,cAAc,GAAG;AAClE,cAAU,QAAQ;AAAA,MAChB,YAAY,QAAQ,sBAAsB;AAAA,MAC1C,UAAU;AAAA,MACV,QAAQC;AAAAA,MACR,iBAAiB;AAAA,MACjB,MAAM,EAAE,SAAS,eAAc;AAAA,IACrC,CAAK;AAAA,EACH;AAGA,MAAI,CAAC,QAAQ,YAAY,QAAQ,SAAS,SAAS,YAAY,GAAG;AAChE,cAAU,QAAQ;AAAA,MAChB,YAAY,QAAQ,mBAAmB;AAAA,MACvC,UAAU;AAAA,MACV,QAAQC;AAAAA,MACR,iBAAiB;AAAA,MACjB,MAAM,EAAE,SAAS,aAAY;AAAA,IACnC,CAAK;AAAA,EACH;AAEA,QAAM,SAAS,UAAUC,MAAW;AACtC;AAEK,MAAC,eAAe;AAAA,EACnB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO,EAAA,aAAEA,OAAW;AAAA,IACpB,YAAY;AAAA,MAChB,WAAMC;AAAAA,MACN,gBAAMC;AAAAA,MACN,MAAMC;AAAAA,MACN,MAAMC;AAAAA,MACA;AAAA,MACN,WAAMC;AAAAA,MACN,cAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,OAAMC;AAAAA,MACN,YAAMC;AAAAA,IACN;AAAA,EACA;AACA;"}
@@ -126,7 +126,7 @@ const _sfc_main = {
126
126
  { name: "Archived", value: "archived" }
127
127
  ],
128
128
  actions: [
129
- ..._ctx.hasAccess(unref(route).params._id, "gallery", "create", state.accesses, state.access.roles) ? [{ method: () => openPhotoPopup(null), label: "Add Photo" }] : []
129
+ ..._ctx.hasAccess(unref(route).params._id, "gallery", "create", state.accesses, state.access.roles) ? [{ method: () => openPhotoPopup(null), label: "+ Add Photo" }] : []
130
130
  ],
131
131
  class: "mn-b-small bg-light bg-light radius-big"
132
132
  }, null, 8, ["tabs_current", "actions"]),
@@ -1 +1 @@
1
- {"version":3,"file":"BackofficeGallery.vue.js","sources":["../../../../../../../src/modules/gallery/components/sections/BackofficeGallery.vue"],"sourcesContent":["<template>\n <div class=\"cols-1 gap-thin pd-thin\">\n <SectionPageTitle\n title=\"Gallery\"\n @update:tabs_current=\"(update) => tab = update\"\n :tabs_current=\"tab\"\n :tabs=\"[\n { name: 'All', value: 'all' },\n { name: 'Featured', value: 'featured' },\n { name: 'Published', value: 'published' },\n { name: 'Draft', value: 'draft' },\n { name: 'Archived', value: 'archived' }\n ]\"\n :actions=\"[\n ...(hasAccess(route.params._id, 'gallery', 'create', auth.state.accesses, auth.state.access.roles) ? [{ method: () => openPhotoPopup(null), label: 'Add Photo' }] : [])\n ]\"\n class=\"mn-b-small bg-light bg-light radius-big\"\n />\n\n <Feed\n v-model:items=\"photos\"\n v-model:sort=\"sort\"\n v-model:date=\"date\"\n :states=\"{\n empty: {\n title: 'No Photos Found',\n description: 'Currently, there are no photos in gallery.'\n },\n }\"\n :store=\"{\n read: (options) => gallery.read(options)\n }\"\n :options=\"{\n limit: 15,\n owner: route.params._id,\n ...(tab !== 'all' && { status: tab })\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"cols-3 mobile:cols-1 gap-thin\"\n >\n <div v-for=\"item in items\" :key=\"item._id\" class=\"bg-light radius-small flex-column pos-relative flex-wrap\">\n\n <CardHeader \n :entity=\"item\"\n :entityType=\"'photo'\"\n :user=\"auth.state.user._id\"\n :owner=\"item.creator\" \n :creator=\"item.creator\"\n :date=\"item.createdAt\"\n :actions=\"[\n ...(hasAccess(route.params._id, 'gallery', 'delete', auth.state.accesses, auth.state.access.roles) ? [{ method: () => deletePhoto(item), label: 'Delete' }] : []),\n ...(hasAccess(route.params._id, 'gallery', 'edit', auth.state.accesses, auth.state.access.roles) ? [\n ...(item.status !== 'archived' ? [{ method: () => changeStatus(item, 'archived'), label: 'Archive' }] : []),\n ...(item.status !== 'published' ? [{ method: () => changeStatus(item, 'published'), label: 'Publish' }] : []),\n ...(item.status !== 'draft' ? [{ method: () => changeStatus(item, 'draft'), label: 'Draft' }] : [])\n ] : [])\n ]\"\n class=\"pd-small mn-b-small\"\n />\n\n <div class=\"pos-relative\">\n <img loading=\"lazy\" \n :src=\"(FILE_SERVER_URL || '') + item.cover\" \n class=\"w-100 h-20r object-fit-contain bg-black \" @click=\"openPreviewPopup(item)\" \n />\n <div \n class=\"pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase fw-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra\"\n >\n {{item.status}}\n </div>\n </div>\n \n <div class=\"pd-small\">\n <Chips \n v-if=\"item.tags?.length > 0\" \n :chips=\"item.tags\"\n />\n </div>\n </div>\n </Feed>\n\n <Popup \n @close-popup=\"closePreviewPopup\" \n :isPopupOpen=\"isOpenPreviewPopup\"\n class=\"bg-black o-hidden w-100 h-100 radius-big\"\n >\n <PhotoViewer\n :photoUrl=\"selectedPhoto.image\"\n />\n </Popup>\n\n <Popup \n title=\"Add Photo\" \n @close-popup=\"closePhotoPopup\" \n :isPopupOpen=\"isOpenPhotoPopup\"\n class=\"bg-white w-max-30r radius-big pd-big\"\n >\n <img loading=\"lazy\" \n v-if=\"selectedImage.cover\" \n :src=\"selectedImage.cover\" \n class=\"radius-small w-100 mn-b-small h-20r object-fit-cover \" \n />\n\n <EditImages \n :images=\"uploadedImages\" \n :uploadPath=\"'/photos'\" \n @update:images=\"onUpdatedImages\" \n class=\"mn-b-semi bg-light radius-medium\"\n />\n\n <BlockTags\n @tags-changed=\"newTags => selectedImage.tags = newTags\"\n :tags=\"selectedImage.tags\"\n :tagsSuggested=\"[\n {text: 'people' },\n {text: 'events' },\n {text: 'place' },\n {text: 'food' },\n {text: 'drinks' },\n {text: 'special' },\n ]\"\n class=\"mn-b-semi\"\n />\n\n <div class=\"flex-nowrap flex gap-thin\">\n <Button \n :submit=\"() => createPhoto('draft')\" \n :callback=\"closePhotoPopup\" \n class=\"ws-nowrap bg-second w-100\"\n >\n To drafts\n </Button>\n <Button \n :submit=\"() => createPhoto('published')\" \n :callback=\"closePhotoPopup\" \n class=\"bg-main w-100\"\n >\n Publish\n </Button>\n </div>\n </Popup>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, reactive, computed } from 'vue'\nimport { useRoute } from 'vue-router'\n\nimport Field from '@martyrs/src/components/Field/Field.vue'\nimport Button from '@martyrs/src/components/Button/Button.vue'\nimport Select from '@martyrs/src/components/Select/Select.vue'\nimport Chips from '@martyrs/src/components/Chips/Chips.vue'\nimport Checkbox from '@martyrs/src/components/Checkbox/Checkbox.vue';\nimport SelectMulti from '@martyrs/src/components/SelectMulti/SelectMulti.vue';\nimport Popup from '@martyrs/src/components/Popup/Popup.vue'\nimport Feed from '@martyrs/src/components/Feed/Feed.vue'\nimport PhotoViewer from '@martyrs/src/components/PhotoViewer/PhotoViewer.vue'\n\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\nimport * as organizations from '@martyrs/src/modules/organizations/store/organizations.js';\n \nimport gallery from '@martyrs/src/modules/gallery/store/gallery.js';\n\nimport CardHeader from '@martyrs/src/modules/core/views/components/blocks/CardHeader.vue'\nimport SectionPageTitle from '@martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue'\n\nimport EditImages from '@martyrs/src/components/EditImages/EditImages.vue';\nimport BlockTags from '@martyrs/src/components/FieldTags/BlockTags.vue';\n\nconst route = useRoute();\n\n// Tabs\nconst tab = ref('all')\n// Sort\nlet sort = ref({\n param: 'createdAt',\n order: 'desc',\n options: [{\n label: 'Date',\n value: 'createdAt'\n },{\n label: 'Popularity',\n value: 'views'\n },{\n label: 'Creator',\n value: 'creator'\n }]\n})\n// Date\nlet date = ref({\n start: null,\n end: null\n})\n// Popup\n// Preview Photo\nconst isOpenPreviewPopup = ref(false);\nfunction openPreviewPopup(photo) {\n isOpenPreviewPopup.value = true;\n selectedPhoto.value = photo;\n}\nfunction closePreviewPopup() {\n isOpenPreviewPopup.value = false;\n selectedPhoto.value = null;\n}\n// Add Photo\nconst isOpenPhotoPopup = ref(false);\nfunction openPhotoPopup(photo) {\n isOpenPhotoPopup.value = true;\n selectedPhoto.value = photo;\n}\nfunction closePhotoPopup() {\n isOpenPhotoPopup.value = false;\n selectedPhoto.value = null;\n uploadedImages.value = [];\n selectedImage.value = { tags: null, image: null };\n}\n// Selected Photo\nconst selectedPhoto = ref(null);\nconst selectedCategory = ref('all')\nconst selectedImage = ref({\n tags: null,\n image: null\n})\nconst uploadedImages = ref([])\nconst onUpdatedImages = (newImages) => {\n uploadedImages.value = newImages\n}\n// Gallery Grid\nconst photos = ref([])\n\nconst deletePhoto = async (item) => {\n let deletedPhoto = JSON.parse(JSON.stringify(item));\n\n deletedPhoto.owner.target = deletedPhoto.owner.target._id\n deletedPhoto.creator.target = deletedPhoto.creator.target._id\n\n await gallery.delete(deletedPhoto);\n\n gallery.removeItem(deletedPhoto, photos.value)\n};\n\nconst changeStatus = async (item, status) => {\n let updatedPhoto = JSON.parse(JSON.stringify(item));\n\n updatedPhoto.status = status\n\n updatedPhoto.owner.target = updatedPhoto.owner.target._id\n updatedPhoto.creator.target = updatedPhoto.creator.target._id\n\n updatedPhoto = await gallery.update(updatedPhoto)\n gallery.updateItem(updatedPhoto, photos.value)\n}\n\nconst createPhoto = async (status) => {\n if (uploadedImages.length < 1) {\n alert('Upload at least 1 image')\n return\n }\n\n let createdPhotos = await gallery.create({\n images: uploadedImages.value,\n tags: selectedImage.value.tags,\n status: status,\n owner: {\n type: 'Organization',\n target: route.params._id\n },\n creator: {\n type: 'User',\n target: auth.state.user._id\n }\n })\n\n for (let createdPhoto of createdPhotos) {\n gallery.addItem(createdPhoto, photos.value)\n }\n}\n</script>\n\n<style scoped>\n</style>"],"names":["auth.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA2KA,UAAM,QAAQ,SAAQ;AAGtB,UAAM,MAAM,IAAI,KAAK;AAErB,QAAI,OAAO,IAAI;AAAA,MACb,OAAO;AAAA,MACP,OAAO;AAAA,MACP,SAAS,CAAC;AAAA,QACR,OAAO;AAAA,QACP,OAAO;AAAA,MACX,GAAI;AAAA,QACA,OAAO;AAAA,QACP,OAAO;AAAA,MACX,GAAI;AAAA,QACA,OAAO;AAAA,QACP,OAAO;AAAA,MACX,CAAG;AAAA,IACH,CAAC;AAED,QAAI,OAAO,IAAI;AAAA,MACb,OAAO;AAAA,MACP,KAAK;AAAA,IACP,CAAC;AAGD,UAAM,qBAAqB,IAAI,KAAK;AACpC,aAAS,iBAAiB,OAAO;AAC/B,yBAAmB,QAAQ;AAC3B,oBAAc,QAAQ;AAAA,IACxB;AACA,aAAS,oBAAoB;AAC3B,yBAAmB,QAAQ;AAC3B,oBAAc,QAAQ;AAAA,IACxB;AAEA,UAAM,mBAAmB,IAAI,KAAK;AAClC,aAAS,eAAe,OAAO;AAC7B,uBAAiB,QAAQ;AACzB,oBAAc,QAAQ;AAAA,IACxB;AACA,aAAS,kBAAkB;AACzB,uBAAiB,QAAQ;AACzB,oBAAc,QAAQ;AACtB,qBAAe,QAAQ,CAAA;AACvB,oBAAc,QAAQ,EAAE,MAAM,MAAM,OAAO,KAAI;AAAA,IACjD;AAEA,UAAM,gBAAgB,IAAI,IAAI;AACL,QAAI,KAAK;AAClC,UAAM,gBAAgB,IAAI;AAAA,MACxB,MAAM;AAAA,MACN,OAAO;AAAA,IACT,CAAC;AACD,UAAM,iBAAiB,IAAI,CAAA,CAAE;AAC7B,UAAM,kBAAkB,CAAC,cAAc;AACrC,qBAAe,QAAQ;AAAA,IACzB;AAEA,UAAM,SAAS,IAAI,CAAA,CAAE;AAErB,UAAM,cAAc,OAAO,SAAS;AAClC,UAAI,eAAe,KAAK,MAAM,KAAK,UAAU,IAAI,CAAC;AAElD,mBAAa,MAAM,SAAS,aAAa,MAAM,OAAO;AACtD,mBAAa,QAAQ,SAAS,aAAa,QAAQ,OAAO;AAE1D,YAAM,QAAQ,OAAO,YAAY;AAEjC,cAAQ,WAAW,cAAc,OAAO,KAAK;AAAA,IAC/C;AAEA,UAAM,eAAe,OAAO,MAAM,WAAW;AAC3C,UAAI,eAAe,KAAK,MAAM,KAAK,UAAU,IAAI,CAAC;AAElD,mBAAa,SAAS;AAEtB,mBAAa,MAAM,SAAS,aAAa,MAAM,OAAO;AACtD,mBAAa,QAAQ,SAAS,aAAa,QAAQ,OAAO;AAE1D,qBAAe,MAAM,QAAQ,OAAO,YAAY;AAChD,cAAQ,WAAW,cAAc,OAAO,KAAK;AAAA,IAC/C;AAEA,UAAM,cAAc,OAAO,WAAW;AACpC,UAAI,eAAe,SAAS,GAAG;AAC7B,cAAM,yBAAyB;AAC/B;AAAA,MACF;AAEA,UAAI,gBAAgB,MAAM,QAAQ,OAAO;AAAA,QACvC,QAAQ,eAAe;AAAA,QACvB,MAAM,cAAc,MAAM;AAAA,QAC1B;AAAA,QACA,OAAO;AAAA,UACL,MAAM;AAAA,UACN,QAAQ,MAAM,OAAO;AAAA,QAC3B;AAAA,QACI,SAAS;AAAA,UACP,MAAM;AAAA,UACN,QAAQA,MAAW,KAAK;AAAA,QAC9B;AAAA,MACA,CAAG;AAED,eAAS,gBAAgB,eAAe;AACtC,gBAAQ,QAAQ,cAAc,OAAO,KAAK;AAAA,MAC5C;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"BackofficeGallery.vue.js","sources":["../../../../../../../src/modules/gallery/components/sections/BackofficeGallery.vue"],"sourcesContent":["<template>\n <div class=\"cols-1 gap-thin pd-thin\">\n <SectionPageTitle\n title=\"Gallery\"\n @update:tabs_current=\"(update) => tab = update\"\n :tabs_current=\"tab\"\n :tabs=\"[\n { name: 'All', value: 'all' },\n { name: 'Featured', value: 'featured' },\n { name: 'Published', value: 'published' },\n { name: 'Draft', value: 'draft' },\n { name: 'Archived', value: 'archived' }\n ]\"\n :actions=\"[\n ...(hasAccess(route.params._id, 'gallery', 'create', auth.state.accesses, auth.state.access.roles) ? [{ method: () => openPhotoPopup(null), label: '+ Add Photo' }] : [])\n ]\"\n class=\"mn-b-small bg-light bg-light radius-big\"\n />\n\n <Feed\n v-model:items=\"photos\"\n v-model:sort=\"sort\"\n v-model:date=\"date\"\n :states=\"{\n empty: {\n title: 'No Photos Found',\n description: 'Currently, there are no photos in gallery.'\n },\n }\"\n :store=\"{\n read: (options) => gallery.read(options)\n }\"\n :options=\"{\n limit: 15,\n owner: route.params._id,\n ...(tab !== 'all' && { status: tab })\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"cols-3 mobile:cols-1 gap-thin\"\n >\n <div v-for=\"item in items\" :key=\"item._id\" class=\"bg-light radius-small flex-column pos-relative flex-wrap\">\n\n <CardHeader \n :entity=\"item\"\n :entityType=\"'photo'\"\n :user=\"auth.state.user._id\"\n :owner=\"item.creator\" \n :creator=\"item.creator\"\n :date=\"item.createdAt\"\n :actions=\"[\n ...(hasAccess(route.params._id, 'gallery', 'delete', auth.state.accesses, auth.state.access.roles) ? [{ method: () => deletePhoto(item), label: 'Delete' }] : []),\n ...(hasAccess(route.params._id, 'gallery', 'edit', auth.state.accesses, auth.state.access.roles) ? [\n ...(item.status !== 'archived' ? [{ method: () => changeStatus(item, 'archived'), label: 'Archive' }] : []),\n ...(item.status !== 'published' ? [{ method: () => changeStatus(item, 'published'), label: 'Publish' }] : []),\n ...(item.status !== 'draft' ? [{ method: () => changeStatus(item, 'draft'), label: 'Draft' }] : [])\n ] : [])\n ]\"\n class=\"pd-small mn-b-small\"\n />\n\n <div class=\"pos-relative\">\n <img loading=\"lazy\" \n :src=\"(FILE_SERVER_URL || '') + item.cover\" \n class=\"w-100 h-20r object-fit-contain bg-black \" @click=\"openPreviewPopup(item)\" \n />\n <div \n class=\"pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase fw-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra\"\n >\n {{item.status}}\n </div>\n </div>\n \n <div class=\"pd-small\">\n <Chips \n v-if=\"item.tags?.length > 0\" \n :chips=\"item.tags\"\n />\n </div>\n </div>\n </Feed>\n\n <Popup \n @close-popup=\"closePreviewPopup\" \n :isPopupOpen=\"isOpenPreviewPopup\"\n class=\"bg-black o-hidden w-100 h-100 radius-big\"\n >\n <PhotoViewer\n :photoUrl=\"selectedPhoto.image\"\n />\n </Popup>\n\n <Popup \n title=\"Add Photo\" \n @close-popup=\"closePhotoPopup\" \n :isPopupOpen=\"isOpenPhotoPopup\"\n class=\"bg-white w-max-30r radius-big pd-big\"\n >\n <img loading=\"lazy\" \n v-if=\"selectedImage.cover\" \n :src=\"selectedImage.cover\" \n class=\"radius-small w-100 mn-b-small h-20r object-fit-cover \" \n />\n\n <EditImages \n :images=\"uploadedImages\" \n :uploadPath=\"'/photos'\" \n @update:images=\"onUpdatedImages\" \n class=\"mn-b-semi bg-light radius-medium\"\n />\n\n <BlockTags\n @tags-changed=\"newTags => selectedImage.tags = newTags\"\n :tags=\"selectedImage.tags\"\n :tagsSuggested=\"[\n {text: 'people' },\n {text: 'events' },\n {text: 'place' },\n {text: 'food' },\n {text: 'drinks' },\n {text: 'special' },\n ]\"\n class=\"mn-b-semi\"\n />\n\n <div class=\"flex-nowrap flex gap-thin\">\n <Button \n :submit=\"() => createPhoto('draft')\" \n :callback=\"closePhotoPopup\" \n class=\"ws-nowrap bg-second w-100\"\n >\n To drafts\n </Button>\n <Button \n :submit=\"() => createPhoto('published')\" \n :callback=\"closePhotoPopup\" \n class=\"bg-main w-100\"\n >\n Publish\n </Button>\n </div>\n </Popup>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, reactive, computed } from 'vue'\nimport { useRoute } from 'vue-router'\n\nimport Field from '@martyrs/src/components/Field/Field.vue'\nimport Button from '@martyrs/src/components/Button/Button.vue'\nimport Select from '@martyrs/src/components/Select/Select.vue'\nimport Chips from '@martyrs/src/components/Chips/Chips.vue'\nimport Checkbox from '@martyrs/src/components/Checkbox/Checkbox.vue';\nimport SelectMulti from '@martyrs/src/components/SelectMulti/SelectMulti.vue';\nimport Popup from '@martyrs/src/components/Popup/Popup.vue'\nimport Feed from '@martyrs/src/components/Feed/Feed.vue'\nimport PhotoViewer from '@martyrs/src/components/PhotoViewer/PhotoViewer.vue'\n\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\nimport * as organizations from '@martyrs/src/modules/organizations/store/organizations.js';\n \nimport gallery from '@martyrs/src/modules/gallery/store/gallery.js';\n\nimport CardHeader from '@martyrs/src/modules/core/views/components/blocks/CardHeader.vue'\nimport SectionPageTitle from '@martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue'\n\nimport EditImages from '@martyrs/src/components/EditImages/EditImages.vue';\nimport BlockTags from '@martyrs/src/components/FieldTags/BlockTags.vue';\n\nconst route = useRoute();\n\n// Tabs\nconst tab = ref('all')\n// Sort\nlet sort = ref({\n param: 'createdAt',\n order: 'desc',\n options: [{\n label: 'Date',\n value: 'createdAt'\n },{\n label: 'Popularity',\n value: 'views'\n },{\n label: 'Creator',\n value: 'creator'\n }]\n})\n// Date\nlet date = ref({\n start: null,\n end: null\n})\n// Popup\n// Preview Photo\nconst isOpenPreviewPopup = ref(false);\nfunction openPreviewPopup(photo) {\n isOpenPreviewPopup.value = true;\n selectedPhoto.value = photo;\n}\nfunction closePreviewPopup() {\n isOpenPreviewPopup.value = false;\n selectedPhoto.value = null;\n}\n// Add Photo\nconst isOpenPhotoPopup = ref(false);\nfunction openPhotoPopup(photo) {\n isOpenPhotoPopup.value = true;\n selectedPhoto.value = photo;\n}\nfunction closePhotoPopup() {\n isOpenPhotoPopup.value = false;\n selectedPhoto.value = null;\n uploadedImages.value = [];\n selectedImage.value = { tags: null, image: null };\n}\n// Selected Photo\nconst selectedPhoto = ref(null);\nconst selectedCategory = ref('all')\nconst selectedImage = ref({\n tags: null,\n image: null\n})\nconst uploadedImages = ref([])\nconst onUpdatedImages = (newImages) => {\n uploadedImages.value = newImages\n}\n// Gallery Grid\nconst photos = ref([])\n\nconst deletePhoto = async (item) => {\n let deletedPhoto = JSON.parse(JSON.stringify(item));\n\n deletedPhoto.owner.target = deletedPhoto.owner.target._id\n deletedPhoto.creator.target = deletedPhoto.creator.target._id\n\n await gallery.delete(deletedPhoto);\n\n gallery.removeItem(deletedPhoto, photos.value)\n};\n\nconst changeStatus = async (item, status) => {\n let updatedPhoto = JSON.parse(JSON.stringify(item));\n\n updatedPhoto.status = status\n\n updatedPhoto.owner.target = updatedPhoto.owner.target._id\n updatedPhoto.creator.target = updatedPhoto.creator.target._id\n\n updatedPhoto = await gallery.update(updatedPhoto)\n gallery.updateItem(updatedPhoto, photos.value)\n}\n\nconst createPhoto = async (status) => {\n if (uploadedImages.length < 1) {\n alert('Upload at least 1 image')\n return\n }\n\n let createdPhotos = await gallery.create({\n images: uploadedImages.value,\n tags: selectedImage.value.tags,\n status: status,\n owner: {\n type: 'Organization',\n target: route.params._id\n },\n creator: {\n type: 'User',\n target: auth.state.user._id\n }\n })\n\n for (let createdPhoto of createdPhotos) {\n gallery.addItem(createdPhoto, photos.value)\n }\n}\n</script>\n\n<style scoped>\n</style>"],"names":["auth.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA2KA,UAAM,QAAQ,SAAQ;AAGtB,UAAM,MAAM,IAAI,KAAK;AAErB,QAAI,OAAO,IAAI;AAAA,MACb,OAAO;AAAA,MACP,OAAO;AAAA,MACP,SAAS,CAAC;AAAA,QACR,OAAO;AAAA,QACP,OAAO;AAAA,MACX,GAAI;AAAA,QACA,OAAO;AAAA,QACP,OAAO;AAAA,MACX,GAAI;AAAA,QACA,OAAO;AAAA,QACP,OAAO;AAAA,MACX,CAAG;AAAA,IACH,CAAC;AAED,QAAI,OAAO,IAAI;AAAA,MACb,OAAO;AAAA,MACP,KAAK;AAAA,IACP,CAAC;AAGD,UAAM,qBAAqB,IAAI,KAAK;AACpC,aAAS,iBAAiB,OAAO;AAC/B,yBAAmB,QAAQ;AAC3B,oBAAc,QAAQ;AAAA,IACxB;AACA,aAAS,oBAAoB;AAC3B,yBAAmB,QAAQ;AAC3B,oBAAc,QAAQ;AAAA,IACxB;AAEA,UAAM,mBAAmB,IAAI,KAAK;AAClC,aAAS,eAAe,OAAO;AAC7B,uBAAiB,QAAQ;AACzB,oBAAc,QAAQ;AAAA,IACxB;AACA,aAAS,kBAAkB;AACzB,uBAAiB,QAAQ;AACzB,oBAAc,QAAQ;AACtB,qBAAe,QAAQ,CAAA;AACvB,oBAAc,QAAQ,EAAE,MAAM,MAAM,OAAO,KAAI;AAAA,IACjD;AAEA,UAAM,gBAAgB,IAAI,IAAI;AACL,QAAI,KAAK;AAClC,UAAM,gBAAgB,IAAI;AAAA,MACxB,MAAM;AAAA,MACN,OAAO;AAAA,IACT,CAAC;AACD,UAAM,iBAAiB,IAAI,CAAA,CAAE;AAC7B,UAAM,kBAAkB,CAAC,cAAc;AACrC,qBAAe,QAAQ;AAAA,IACzB;AAEA,UAAM,SAAS,IAAI,CAAA,CAAE;AAErB,UAAM,cAAc,OAAO,SAAS;AAClC,UAAI,eAAe,KAAK,MAAM,KAAK,UAAU,IAAI,CAAC;AAElD,mBAAa,MAAM,SAAS,aAAa,MAAM,OAAO;AACtD,mBAAa,QAAQ,SAAS,aAAa,QAAQ,OAAO;AAE1D,YAAM,QAAQ,OAAO,YAAY;AAEjC,cAAQ,WAAW,cAAc,OAAO,KAAK;AAAA,IAC/C;AAEA,UAAM,eAAe,OAAO,MAAM,WAAW;AAC3C,UAAI,eAAe,KAAK,MAAM,KAAK,UAAU,IAAI,CAAC;AAElD,mBAAa,SAAS;AAEtB,mBAAa,MAAM,SAAS,aAAa,MAAM,OAAO;AACtD,mBAAa,QAAQ,SAAS,aAAa,QAAQ,OAAO;AAE1D,qBAAe,MAAM,QAAQ,OAAO,YAAY;AAChD,cAAQ,WAAW,cAAc,OAAO,KAAK;AAAA,IAC/C;AAEA,UAAM,cAAc,OAAO,WAAW;AACpC,UAAI,eAAe,SAAS,GAAG;AAC7B,cAAM,yBAAyB;AAC/B;AAAA,MACF;AAEA,UAAI,gBAAgB,MAAM,QAAQ,OAAO;AAAA,QACvC,QAAQ,eAAe;AAAA,QACvB,MAAM,cAAc,MAAM;AAAA,QAC1B;AAAA,QACA,OAAO;AAAA,UACL,MAAM;AAAA,UACN,QAAQ,MAAM,OAAO;AAAA,QAC3B;AAAA,QACI,SAAS;AAAA,UACP,MAAM;AAAA,UACN,QAAQA,MAAW,KAAK;AAAA,QAC9B;AAAA,MACA,CAAG;AAED,eAAS,gBAAgB,eAAe;AACtC,gBAAQ,QAAQ,cAAc,OAAO,KAAK;AAAA,MAC5C;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -7,7 +7,7 @@ function getRoutes(options = {}) {
7
7
  const routeBackoffice = options.routeBackoffice || "Backoffice Root";
8
8
  const routeOrganizations = options.routeOrganizations || "OrganizationRoot";
9
9
  const routes = [];
10
- routes.push({
10
+ if (!options.contexts || options.contexts.includes("client")) routes.push({
11
11
  parentName: route,
12
12
  config: {
13
13
  basePath: options.basePath || "gallery",
@@ -37,7 +37,7 @@ function getRoutes(options = {}) {
37
37
  ]
38
38
  }
39
39
  });
40
- if (!options.withBackoffice) {
40
+ if (!options.contexts || options.contexts.includes("backoffice")) {
41
41
  routes.push({
42
42
  parentName: routeBackoffice,
43
43
  config: {
@@ -79,7 +79,7 @@ function getRoutes(options = {}) {
79
79
  }
80
80
  });
81
81
  }
82
- if (!options.withOrganizationRoutes) {
82
+ if (!options.contexts || options.contexts.includes("organization")) {
83
83
  routes.push({
84
84
  parentName: routeOrganizations,
85
85
  config: {
@@ -1 +1 @@
1
- {"version":3,"file":"gallery.router.js","sources":["../../../../../../src/modules/gallery/router/gallery.router.js"],"sourcesContent":["import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n\nconst { hasAccess, isAdmin } = useGlobalMixins();\n\nexport function getRoutes(options = {}) {\n const route = options.route || 'Home';\n const routeBackoffice = options.routeBackoffice || 'Backoffice Root';\n const routeOrganizations = options.routeOrganizations || 'OrganizationRoot';\n\n const routes = [];\n\n // Home контекст\n routes.push({\n parentName: route,\n config: {\n basePath: options.basePath || 'gallery',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n title_hide: true,\n },\n routes: [\n {\n path: '',\n name: 'Gallery',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n title_hide: true,\n },\n component: () => import(/* webpackChunkName: 'gallery-main' */ '../components/pages/Gallery.vue'),\n },\n ],\n },\n });\n\n // Backoffice контекст\n if (!options.withBackoffice) {\n routes.push({\n parentName: routeBackoffice,\n config: {\n basePath: options.backofficeBasePath || 'gallery',\n routeNamePrefix: 'Backoffice',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n context: 'backoffice',\n },\n routes: [\n {\n path: '',\n name: 'Gallery',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'gallery-backoffice' */ '../components/sections/BackofficeGallery.vue'),\n },\n ],\n },\n });\n }\n\n // Organizations контекст\n if (!options.withOrganizationRoutes) {\n routes.push({\n parentName: routeOrganizations,\n config: {\n basePath: options.organizationBasePath || 'gallery',\n routeNamePrefix: 'Organization_',\n meta: {\n title: {\n en: 'Organization Gallery',\n ru: 'Галерея Организации',\n },\n context: 'organization',\n },\n routes: [\n {\n path: '',\n name: 'Gallery',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles) || hasAccess(to.params._id, 'gallery', 'read', auth.state.accesses, auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'gallery-organization' */ '../components/sections/BackofficeGallery.vue'),\n },\n ],\n },\n });\n }\n\n return routes;\n}\n\nexport default { getRoutes };\n"],"names":["validationAuth.requiresAuth","auth.state"],"mappings":";;;AAIA,MAAM,EAAE,WAAW,QAAO,IAAK,gBAAe;AAEvC,SAAS,UAAU,UAAU,IAAI;AACtC,QAAM,QAAQ,QAAQ,SAAS;AAC/B,QAAM,kBAAkB,QAAQ,mBAAmB;AACnD,QAAM,qBAAqB,QAAQ,sBAAsB;AAEzD,QAAM,SAAS,CAAA;AAGf,SAAO,KAAK;AAAA,IACV,YAAY;AAAA,IACZ,QAAQ;AAAA,MACN,UAAU,QAAQ,YAAY;AAAA,MAC9B,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACd;AAAA,QACQ,YAAY;AAAA,MACpB;AAAA,MACM,QAAQ;AAAA,QACN;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,YACY,YAAY;AAAA,UACxB;AAAA,UACU,WAAW,MAAM;AAAA;AAAA,YAA8C;AAAA,UAAiC;AAAA,QAC1G;AAAA,MACA;AAAA,IACA;AAAA,EACA,CAAG;AAGD,MAAI,CAAC,QAAQ,gBAAgB;AAC3B,WAAO,KAAK;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ;AAAA,QACN,UAAU,QAAQ,sBAAsB;AAAA,QACxC,iBAAiB;AAAA,QACjB,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UAChB;AAAA,UACU,SAAS;AAAA,QACnB;AAAA,QACQ,QAAQ;AAAA,UACN;AAAA,YACE,MAAM;AAAA,YACN,MAAM;AAAA,YACN,MAAM;AAAA,cACJ,OAAO;AAAA,gBACL,IAAI;AAAA,gBACJ,IAAI;AAAA,cACpB;AAAA,YACA;AAAA,YACY,aAAa;AAAA,cACXA;AAAAA,cACA,CAAC,IAAI,MAAM,SAAS;AAClB,oBAAI,QAAQC,MAAW,OAAO,KAAK,GAAG;AACpC,uBAAI;AAAA,gBACN,OAAO;AACL,uBAAK,MAAM;AAAA,gBACb;AAAA,cACF;AAAA,YACd;AAAA,YACY,WAAW,MAAM;AAAA;AAAA,cAAoD;AAAA,YAA8C;AAAA,UAC/H;AAAA,QACA;AAAA,MACA;AAAA,IACA,CAAK;AAAA,EACH;AAGA,MAAI,CAAC,QAAQ,wBAAwB;AACnC,WAAO,KAAK;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ;AAAA,QACN,UAAU,QAAQ,wBAAwB;AAAA,QAC1C,iBAAiB;AAAA,QACjB,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UAChB;AAAA,UACU,SAAS;AAAA,QACnB;AAAA,QACQ,QAAQ;AAAA,UACN;AAAA,YACE,MAAM;AAAA,YACN,MAAM;AAAA,YACN,MAAM;AAAA,cACJ,OAAO;AAAA,gBACL,IAAI;AAAA,gBACJ,IAAI;AAAA,cACpB;AAAA,YACA;AAAA,YACY,aAAa;AAAA,cACXD;AAAAA,cACA,CAAC,IAAI,MAAM,SAAS;AAClB,oBAAI,QAAQC,MAAW,OAAO,KAAK,KAAK,UAAU,GAAG,OAAO,KAAK,WAAW,QAAQA,MAAW,UAAUA,MAAW,OAAO,KAAK,GAAG;AACjI,uBAAI;AAAA,gBACN,OAAO;AACL,uBAAK,MAAM;AAAA,gBACb;AAAA,cACF;AAAA,YACd;AAAA,YACY,WAAW,MAAM;AAAA;AAAA,cAAsD;AAAA,YAA8C;AAAA,UACjI;AAAA,QACA;AAAA,MACA;AAAA,IACA,CAAK;AAAA,EACH;AAEA,SAAO;AACT;"}
1
+ {"version":3,"file":"gallery.router.js","sources":["../../../../../../src/modules/gallery/router/gallery.router.js"],"sourcesContent":["import * as validationAuth from '@martyrs/src/modules/auth/views/middlewares/auth.validation.js';\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n\nconst { hasAccess, isAdmin } = useGlobalMixins();\n\nexport function getRoutes(options = {}) {\n const route = options.route || 'Home';\n const routeBackoffice = options.routeBackoffice || 'Backoffice Root';\n const routeOrganizations = options.routeOrganizations || 'OrganizationRoot';\n\n const routes = [];\n\n // Home контекст\n if (!options.contexts || options.contexts.includes('client')) routes.push({\n parentName: route,\n config: {\n basePath: options.basePath || 'gallery',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n title_hide: true,\n },\n routes: [\n {\n path: '',\n name: 'Gallery',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n title_hide: true,\n },\n component: () => import(/* webpackChunkName: 'gallery-main' */ '../components/pages/Gallery.vue'),\n },\n ],\n },\n });\n\n // Backoffice контекст\n if (!options.contexts || options.contexts.includes('backoffice')) {\n routes.push({\n parentName: routeBackoffice,\n config: {\n basePath: options.backofficeBasePath || 'gallery',\n routeNamePrefix: 'Backoffice',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n context: 'backoffice',\n },\n routes: [\n {\n path: '',\n name: 'Gallery',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'gallery-backoffice' */ '../components/sections/BackofficeGallery.vue'),\n },\n ],\n },\n });\n }\n\n // Organizations контекст\n if (!options.contexts || options.contexts.includes('organization')) {\n routes.push({\n parentName: routeOrganizations,\n config: {\n basePath: options.organizationBasePath || 'gallery',\n routeNamePrefix: 'Organization_',\n meta: {\n title: {\n en: 'Organization Gallery',\n ru: 'Галерея Организации',\n },\n context: 'organization',\n },\n routes: [\n {\n path: '',\n name: 'Gallery',\n meta: {\n title: {\n en: 'Gallery',\n ru: 'Галерея',\n },\n },\n beforeEnter: [\n validationAuth.requiresAuth,\n (to, from, next) => {\n if (isAdmin(auth.state.access.roles) || hasAccess(to.params._id, 'gallery', 'read', auth.state.accesses, auth.state.access.roles)) {\n next();\n } else {\n next('/401');\n }\n }\n ],\n component: () => import(/* webpackChunkName: 'gallery-organization' */ '../components/sections/BackofficeGallery.vue'),\n },\n ],\n },\n });\n }\n\n return routes;\n}\n\nexport default { getRoutes };\n"],"names":["validationAuth.requiresAuth","auth.state"],"mappings":";;;AAIA,MAAM,EAAE,WAAW,QAAO,IAAK,gBAAe;AAEvC,SAAS,UAAU,UAAU,IAAI;AACtC,QAAM,QAAQ,QAAQ,SAAS;AAC/B,QAAM,kBAAkB,QAAQ,mBAAmB;AACnD,QAAM,qBAAqB,QAAQ,sBAAsB;AAEzD,QAAM,SAAS,CAAA;AAGf,MAAI,CAAC,QAAQ,YAAY,QAAQ,SAAS,SAAS,QAAQ,EAAG,QAAO,KAAK;AAAA,IACxE,YAAY;AAAA,IACZ,QAAQ;AAAA,MACN,UAAU,QAAQ,YAAY;AAAA,MAC9B,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACd;AAAA,QACQ,YAAY;AAAA,MACpB;AAAA,MACM,QAAQ;AAAA,QACN;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,YACJ,OAAO;AAAA,cACL,IAAI;AAAA,cACJ,IAAI;AAAA,YAClB;AAAA,YACY,YAAY;AAAA,UACxB;AAAA,UACU,WAAW,MAAM;AAAA;AAAA,YAA8C;AAAA,UAAiC;AAAA,QAC1G;AAAA,MACA;AAAA,IACA;AAAA,EACA,CAAG;AAGD,MAAI,CAAC,QAAQ,YAAY,QAAQ,SAAS,SAAS,YAAY,GAAG;AAChE,WAAO,KAAK;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ;AAAA,QACN,UAAU,QAAQ,sBAAsB;AAAA,QACxC,iBAAiB;AAAA,QACjB,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UAChB;AAAA,UACU,SAAS;AAAA,QACnB;AAAA,QACQ,QAAQ;AAAA,UACN;AAAA,YACE,MAAM;AAAA,YACN,MAAM;AAAA,YACN,MAAM;AAAA,cACJ,OAAO;AAAA,gBACL,IAAI;AAAA,gBACJ,IAAI;AAAA,cACpB;AAAA,YACA;AAAA,YACY,aAAa;AAAA,cACXA;AAAAA,cACA,CAAC,IAAI,MAAM,SAAS;AAClB,oBAAI,QAAQC,MAAW,OAAO,KAAK,GAAG;AACpC,uBAAI;AAAA,gBACN,OAAO;AACL,uBAAK,MAAM;AAAA,gBACb;AAAA,cACF;AAAA,YACd;AAAA,YACY,WAAW,MAAM;AAAA;AAAA,cAAoD;AAAA,YAA8C;AAAA,UAC/H;AAAA,QACA;AAAA,MACA;AAAA,IACA,CAAK;AAAA,EACH;AAGA,MAAI,CAAC,QAAQ,YAAY,QAAQ,SAAS,SAAS,cAAc,GAAG;AAClE,WAAO,KAAK;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ;AAAA,QACN,UAAU,QAAQ,wBAAwB;AAAA,QAC1C,iBAAiB;AAAA,QACjB,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UAChB;AAAA,UACU,SAAS;AAAA,QACnB;AAAA,QACQ,QAAQ;AAAA,UACN;AAAA,YACE,MAAM;AAAA,YACN,MAAM;AAAA,YACN,MAAM;AAAA,cACJ,OAAO;AAAA,gBACL,IAAI;AAAA,gBACJ,IAAI;AAAA,cACpB;AAAA,YACA;AAAA,YACY,aAAa;AAAA,cACXD;AAAAA,cACA,CAAC,IAAI,MAAM,SAAS;AAClB,oBAAI,QAAQC,MAAW,OAAO,KAAK,KAAK,UAAU,GAAG,OAAO,KAAK,WAAW,QAAQA,MAAW,UAAUA,MAAW,OAAO,KAAK,GAAG;AACjI,uBAAI;AAAA,gBACN,OAAO;AACL,uBAAK,MAAM;AAAA,gBACb;AAAA,cACF;AAAA,YACd;AAAA,YACY,WAAW,MAAM;AAAA;AAAA,cAAsD;AAAA,YAA8C;AAAA,UACjI;AAAA,QACA;AAAA,MACA;AAAA,IACA,CAAK;AAAA,EACH;AAEA,SAAO;AACT;"}
@@ -4,14 +4,14 @@ import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
4
4
  import _sfc_main$2 from "../../../../icons/entities/IconCalendar.vue.js";
5
5
  import "vue-router";
6
6
  /* empty css */
7
- /* empty css */
7
+ /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
- /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
@@ -27,13 +27,13 @@ const _hoisted_4 = { class: "pd-small" };
27
27
  const _hoisted_5 = { class: "flex flex-justify-between flex-v-center mn-b-small" };
28
28
  const _hoisted_6 = {
29
29
  key: 0,
30
- class: "flex flex-v-center t-transp p-small"
30
+ class: "flex flex-v-center opacity-50 p-small"
31
31
  };
32
32
  const _hoisted_7 = { class: "h4 fw-medium mn-b-small hover:t-main ease-cubic-in-out truncate" };
33
- const _hoisted_8 = { class: "p-small t-transp mn-b-medium line-clamp-2" };
33
+ const _hoisted_8 = { class: "p-small opacity-50 mn-b-medium line-clamp-2" };
34
34
  const _hoisted_9 = {
35
35
  key: 0,
36
- class: "flex flex-v-center t-transp p-small"
36
+ class: "flex flex-v-center opacity-50 p-small"
37
37
  };
38
38
  const _sfc_main = {
39
39
  __name: "CardInitiativeItem",
@@ -1 +1 @@
1
- {"version":3,"file":"CardInitiativeItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardInitiativeItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps, computed } from 'vue';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n initiative: {\n type: Object,\n required: true\n }\n});\n\nconst sprintCount = computed(() => props.initiative.sprintCount || 0);\nconst createdDate = computed(() => props.initiative.createdAt || props.initiative.date);\nconst coverUrl = computed(() => {\n if (!props.initiative.cover) return null;\n return typeof props.initiative.cover === 'string'\n ? props.initiative.cover\n : props.initiative.cover.url;\n});\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${initiative._id}`\"\n class=\"d-block\"\n >\n <div class=\"br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out o-hidden\">\n <div v-if=\"coverUrl\" class=\"aspect-1x1 o-hidden\">\n <img\n :src=\"coverUrl\"\n :alt=\"initiative.title\"\n class=\"w-100 h-100 object-fit-cover\"\n />\n </div>\n <div class=\"pd-small\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-small\">\n <TaskStatusBadge :status=\"initiative.status\" />\n <div v-if=\"sprintCount > 0\" class=\"flex flex-v-center t-transp p-small\">\n <svg class=\"i-regular mn-r-thin\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M12 2L2 7l10 5 10-5-10-5z\"/>\n <path d=\"M2 17l10 5 10-5\"/>\n <path d=\"M2 12l10 5 10-5\"/>\n </svg>\n <span>{{ sprintCount }}</span>\n </div>\n </div>\n <h3 class=\"h4 fw-medium mn-b-small hover:t-main ease-cubic-in-out truncate\">\n {{ initiative.title }}\n </h3>\n <p class=\"p-small t-transp mn-b-medium line-clamp-2\">\n {{ initiative.description }}\n </p>\n <div v-if=\"createdDate\" class=\"flex flex-v-center t-transp p-small\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ formatDate(createdDate, { dateOnly: true }) }}</span>\n </div>\n </div>\n </div>\n </router-link>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ;AAOd,UAAM,cAAc,SAAS,MAAM,MAAM,WAAW,eAAe,CAAC;AACpE,UAAM,cAAc,SAAS,MAAM,MAAM,WAAW,aAAa,MAAM,WAAW,IAAI;AACtF,UAAM,WAAW,SAAS,MAAM;AAC9B,UAAI,CAAC,MAAM,WAAW,MAAO,QAAO;AACpC,aAAO,OAAO,MAAM,WAAW,UAAU,WACrC,MAAM,WAAW,QACjB,MAAM,WAAW,MAAM;AAAA,IAC7B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CardInitiativeItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardInitiativeItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps, computed } from 'vue';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n initiative: {\n type: Object,\n required: true\n }\n});\n\nconst sprintCount = computed(() => props.initiative.sprintCount || 0);\nconst createdDate = computed(() => props.initiative.createdAt || props.initiative.date);\nconst coverUrl = computed(() => {\n if (!props.initiative.cover) return null;\n return typeof props.initiative.cover === 'string'\n ? props.initiative.cover\n : props.initiative.cover.url;\n});\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${initiative._id}`\"\n class=\"d-block\"\n >\n <div class=\"br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out o-hidden\">\n <div v-if=\"coverUrl\" class=\"aspect-1x1 o-hidden\">\n <img\n :src=\"coverUrl\"\n :alt=\"initiative.title\"\n class=\"w-100 h-100 object-fit-cover\"\n />\n </div>\n <div class=\"pd-small\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-small\">\n <TaskStatusBadge :status=\"initiative.status\" />\n <div v-if=\"sprintCount > 0\" class=\"flex flex-v-center opacity-50 p-small\">\n <svg class=\"i-regular mn-r-thin\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M12 2L2 7l10 5 10-5-10-5z\"/>\n <path d=\"M2 17l10 5 10-5\"/>\n <path d=\"M2 12l10 5 10-5\"/>\n </svg>\n <span>{{ sprintCount }}</span>\n </div>\n </div>\n <h3 class=\"h4 fw-medium mn-b-small hover:t-main ease-cubic-in-out truncate\">\n {{ initiative.title }}\n </h3>\n <p class=\"p-small opacity-50 mn-b-medium line-clamp-2\">\n {{ initiative.description }}\n </p>\n <div v-if=\"createdDate\" class=\"flex flex-v-center opacity-50 p-small\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ formatDate(createdDate, { dateOnly: true }) }}</span>\n </div>\n </div>\n </div>\n </router-link>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ;AAOd,UAAM,cAAc,SAAS,MAAM,MAAM,WAAW,eAAe,CAAC;AACpE,UAAM,cAAc,SAAS,MAAM,MAAM,WAAW,aAAa,MAAM,WAAW,IAAI;AACtF,UAAM,WAAW,SAAS,MAAM;AAC9B,UAAI,CAAC,MAAM,WAAW,MAAO,QAAO;AACpC,aAAO,OAAO,MAAM,WAAW,UAAU,WACrC,MAAM,WAAW,QACjB,MAAM,WAAW,MAAM;AAAA,IAC7B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,14 +5,14 @@ import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
5
5
  import _sfc_main$2 from "../../../../icons/entities/IconCalendar.vue.js";
6
6
  import _sfc_main$3 from "../../../../icons/navigation/IconCheckmark.vue.js";
7
7
  /* empty css */
8
- /* empty css */
8
+ /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- /* empty css */
15
+ /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
@@ -26,11 +26,11 @@ const _hoisted_5 = { class: "flex flex-justify-between mn-b-small p-small" };
26
26
  const _hoisted_6 = { class: "fw-medium" };
27
27
  const _hoisted_7 = { class: "w-100 bg-light radius-thin h-thin o-hidden" };
28
28
  const _hoisted_8 = { class: "flex flex-justify-between p-small" };
29
- const _hoisted_9 = { class: "flex flex-v-center t-transp" };
30
- const _hoisted_10 = { class: "flex flex-v-center t-transp" };
29
+ const _hoisted_9 = { class: "flex flex-v-center opacity-50" };
30
+ const _hoisted_10 = { class: "flex flex-v-center opacity-50" };
31
31
  const _hoisted_11 = { class: "mn-t-medium flex flex-v-center" };
32
32
  const _hoisted_12 = ["src", "alt"];
33
- const _hoisted_13 = { class: "mn-l-thin p-small t-transp" };
33
+ const _hoisted_13 = { class: "mn-l-thin p-small opacity-50" };
34
34
  const _sfc_main = {
35
35
  __name: "CardSprintItem",
36
36
  props: {
@@ -58,7 +58,7 @@ const _sfc_main = {
58
58
  ]),
59
59
  createElementVNode("div", _hoisted_4, [
60
60
  createElementVNode("div", _hoisted_5, [
61
- _cache[0] || (_cache[0] = createElementVNode("span", { class: "t-transp" }, "Progress", -1)),
61
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "opacity-50" }, "Progress", -1)),
62
62
  createElementVNode("span", _hoisted_6, toDisplayString(__props.sprint.progress) + "%", 1)
63
63
  ]),
64
64
  createElementVNode("div", _hoisted_7, [
@@ -1 +1 @@
1
- {"version":3,"file":"CardSprintItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardSprintItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar, IconCheckmark } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n sprint: {\n type: Object,\n required: true\n }\n});\n\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/sprints/${sprint._id}`\"\n class=\"d-block\"\n >\n <div class=\"br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-small\">\n <h3 class=\"h5 fw-medium flex-child-1 hover:t-main ease-cubic-in-out\">\n {{ sprint.name }}\n </h3>\n <TaskStatusBadge :status=\"sprint.status\" />\n </div>\n\n <div class=\"mn-b-medium\">\n <div class=\"flex flex-justify-between mn-b-small p-small\">\n <span class=\"t-transp\">Progress</span>\n <span class=\"fw-medium\">{{ sprint.progress }}%</span>\n </div>\n <div class=\"w-100 bg-light radius-thin h-thin o-hidden\">\n <div\n class=\"bg-main h-100 ease-cubic-in-out\"\n :style=\"{ width: `${sprint.progress}%` }\"\n />\n </div>\n </div>\n\n <div class=\"flex flex-justify-between p-small\">\n <div class=\"flex flex-v-center t-transp\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>\n {{ formatDate(sprint.startDate, { dayMonth: true }) }} - {{ formatDate(sprint.dueDate, { dayMonth: true }) }}\n </span>\n </div>\n <div class=\"flex flex-v-center t-transp\">\n <IconCheckmark class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ sprint.taskCount }}</span>\n </div>\n </div>\n\n <div class=\"mn-t-medium flex flex-v-center\">\n <img\n :src=\"sprint.owner.avatar\"\n :alt=\"sprint.owner.name\"\n class=\"i-medium radius-medium\"\n />\n <span class=\"mn-l-thin p-small t-transp\">{{ sprint.owner.name }}</span>\n </div>\n </div>\n </router-link>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,WAAU,IAAK,gBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CardSprintItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardSprintItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar, IconCheckmark } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n sprint: {\n type: Object,\n required: true\n }\n});\n\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/sprints/${sprint._id}`\"\n class=\"d-block\"\n >\n <div class=\"br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-small\">\n <h3 class=\"h5 fw-medium flex-child-1 hover:t-main ease-cubic-in-out\">\n {{ sprint.name }}\n </h3>\n <TaskStatusBadge :status=\"sprint.status\" />\n </div>\n\n <div class=\"mn-b-medium\">\n <div class=\"flex flex-justify-between mn-b-small p-small\">\n <span class=\"opacity-50\">Progress</span>\n <span class=\"fw-medium\">{{ sprint.progress }}%</span>\n </div>\n <div class=\"w-100 bg-light radius-thin h-thin o-hidden\">\n <div\n class=\"bg-main h-100 ease-cubic-in-out\"\n :style=\"{ width: `${sprint.progress}%` }\"\n />\n </div>\n </div>\n\n <div class=\"flex flex-justify-between p-small\">\n <div class=\"flex flex-v-center opacity-50\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>\n {{ formatDate(sprint.startDate, { dayMonth: true }) }} - {{ formatDate(sprint.dueDate, { dayMonth: true }) }}\n </span>\n </div>\n <div class=\"flex flex-v-center opacity-50\">\n <IconCheckmark class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ sprint.taskCount }}</span>\n </div>\n </div>\n\n <div class=\"mn-t-medium flex flex-v-center\">\n <img\n :src=\"sprint.owner.avatar\"\n :alt=\"sprint.owner.name\"\n class=\"i-medium radius-medium\"\n />\n <span class=\"mn-l-thin p-small opacity-50\">{{ sprint.owner.name }}</span>\n </div>\n </div>\n </router-link>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,WAAU,IAAK,gBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,14 +5,14 @@ import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
5
5
  import _sfc_main$2 from "../../../../icons/entities/IconCalendar.vue.js";
6
6
  import IconSend from "../../../../icons/navigation/IconSend.vue.js";
7
7
  /* empty css */
8
- /* empty css */
8
+ /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- /* empty css */
15
+ /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
@@ -31,7 +31,7 @@ const _hoisted_5 = {
31
31
  const _hoisted_6 = { class: "flex flex-justify-between flex-v-center" };
32
32
  const _hoisted_7 = {
33
33
  key: 0,
34
- class: "flex flex-v-center p-small t-transp"
34
+ class: "flex flex-v-center p-small opacity-50"
35
35
  };
36
36
  const _hoisted_8 = ["src", "alt", "title"];
37
37
  const _sfc_main = {
@@ -77,7 +77,7 @@ const _sfc_main = {
77
77
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.task.tags, (tag) => {
78
78
  return openBlock(), createElementBlock("span", {
79
79
  key: tag,
80
- class: "pd-thin radius-thin bg-white t-transp p-small fw-medium"
80
+ class: "pd-thin radius-thin bg-white opacity-50 p-small fw-medium"
81
81
  }, toDisplayString(tag), 1);
82
82
  }), 128))
83
83
  ])) : createCommentVNode("", true),
@@ -1 +1 @@
1
- {"version":3,"file":"CardTaskItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardTaskItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps, computed } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar, IconSend } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n task: {\n type: Object,\n required: true\n }\n});\n\nconst priorityConfig = {\n low: 'br-l-green',\n medium: 'br-l-yellow',\n high: 'br-l-red',\n};\n\nconst borderColor = computed(() => priorityConfig[props.task.priority] || priorityConfig.medium);\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/tasks/${task._id}`\"\n class=\"d-block\"\n >\n <div :class=\"`br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small cursor-pointer`\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-small\">\n <h4 class=\"p-regular fw-medium flex-child-1 mn-r-thin\">{{ task.title || task.name }}</h4>\n <IconSend v-if=\"task.votingId\" class=\"i-regular flex-shrink-0\" :fill=\"'rgb(var(--main))'\" />\n </div>\n\n <div class=\"mn-b-small\">\n <TaskStatusBadge :status=\"task.status\" />\n </div>\n\n <div v-if=\"task.tags && task.tags.length > 0\" class=\"flex flex-wrap gap-thin mn-b-small\">\n <span\n v-for=\"tag in task.tags\"\n :key=\"tag\"\n class=\"pd-thin radius-thin bg-white t-transp p-small fw-medium\"\n >\n {{ tag }}\n </span>\n </div>\n\n <div class=\"flex flex-justify-between flex-v-center\">\n <div v-if=\"task.dueDate\" class=\"flex flex-v-center p-small t-transp\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ formatDate(task.dueDate, { dayMonth: true }) }}</span>\n </div>\n <img\n v-if=\"task.assignee\"\n :src=\"task.assignee.avatar\"\n :alt=\"task.assignee.name\"\n :title=\"task.assignee.name\"\n class=\"i-medium radius-medium\"\n />\n </div>\n </div>\n </router-link>\n</template>\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ;AAOd,UAAM,iBAAiB;AAAA,MACrB,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,MAAM;AAAA,IACR;AAEoB,aAAS,MAAM,eAAe,MAAM,KAAK,QAAQ,KAAK,eAAe,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CardTaskItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardTaskItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps, computed } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar, IconSend } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n task: {\n type: Object,\n required: true\n }\n});\n\nconst priorityConfig = {\n low: 'br-l-green',\n medium: 'br-l-yellow',\n high: 'br-l-red',\n};\n\nconst borderColor = computed(() => priorityConfig[props.task.priority] || priorityConfig.medium);\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/tasks/${task._id}`\"\n class=\"d-block\"\n >\n <div :class=\"`br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small cursor-pointer`\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-small\">\n <h4 class=\"p-regular fw-medium flex-child-1 mn-r-thin\">{{ task.title || task.name }}</h4>\n <IconSend v-if=\"task.votingId\" class=\"i-regular flex-shrink-0\" :fill=\"'rgb(var(--main))'\" />\n </div>\n\n <div class=\"mn-b-small\">\n <TaskStatusBadge :status=\"task.status\" />\n </div>\n\n <div v-if=\"task.tags && task.tags.length > 0\" class=\"flex flex-wrap gap-thin mn-b-small\">\n <span\n v-for=\"tag in task.tags\"\n :key=\"tag\"\n class=\"pd-thin radius-thin bg-white opacity-50 p-small fw-medium\"\n >\n {{ tag }}\n </span>\n </div>\n\n <div class=\"flex flex-justify-between flex-v-center\">\n <div v-if=\"task.dueDate\" class=\"flex flex-v-center p-small opacity-50\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ formatDate(task.dueDate, { dayMonth: true }) }}</span>\n </div>\n <img\n v-if=\"task.assignee\"\n :src=\"task.assignee.avatar\"\n :alt=\"task.assignee.name\"\n :title=\"task.assignee.name\"\n class=\"i-medium radius-medium\"\n />\n </div>\n </div>\n </router-link>\n</template>\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ;AAOd,UAAM,iBAAiB;AAAA,MACrB,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,MAAM;AAAA,IACR;AAEoB,aAAS,MAAM,eAAe,MAAM,KAAK,QAAQ,KAAK,eAAe,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,14 +5,14 @@ import { useGlobalMixins } from "../../../../core/views/mixins/mixins.js";
5
5
  import _sfc_main$2 from "../../../../icons/entities/IconCalendar.vue.js";
6
6
  import IconSend from "../../../../icons/navigation/IconSend.vue.js";
7
7
  /* empty css */
8
- /* empty css */
8
+ /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- /* empty css */
15
+ /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
@@ -23,10 +23,10 @@ const _hoisted_2 = { class: "flex flex-justify-between flex-align-start mn-b-sma
23
23
  const _hoisted_3 = { class: "h5 fw-medium mn-b-small hover:t-main ease-cubic-in-out" };
24
24
  const _hoisted_4 = { class: "mn-b-medium" };
25
25
  const _hoisted_5 = { class: "w-100 bg-light radius-thin h-thin o-hidden" };
26
- const _hoisted_6 = { class: "flex flex-justify-between p-small t-transp mn-t-thin" };
26
+ const _hoisted_6 = { class: "flex flex-justify-between p-small opacity-50 mn-t-thin" };
27
27
  const _hoisted_7 = { class: "flex flex-justify-between flex-v-center p-small" };
28
- const _hoisted_8 = { class: "flex flex-v-center t-transp" };
29
- const _hoisted_9 = { class: "flex flex-v-center t-transp" };
28
+ const _hoisted_8 = { class: "flex flex-v-center opacity-50" };
29
+ const _hoisted_9 = { class: "flex flex-v-center opacity-50" };
30
30
  const _sfc_main = {
31
31
  __name: "CardVotingItem",
32
32
  props: {
@@ -1 +1 @@
1
- {"version":3,"file":"CardVotingItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardVotingItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps, computed } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar, IconSend } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n voting: {\n type: Object,\n required: true\n }\n});\n\nconst typeConfig = {\n create_task: { label: 'Create Task', color: 'bg-main-small t-main' },\n approve_task: { label: 'Approve Task', color: 'bg-green-nice t-white' },\n general: { label: 'General', color: 'bg-fifth-small t-fifth' },\n};\n\nconst typeInfo = computed(() => typeConfig[props.voting.type] || typeConfig.general);\nconst percentageYes = computed(() =>\n props.voting.totalVotes > 0 ? (props.voting.yesVotes / props.voting.totalVotes) * 100 : 0\n);\n\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/votings/${voting._id}`\"\n class=\"d-block\"\n >\n <div class=\"br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-small\">\n <span :class=\"`pd-thin radius-thin p-small fw-medium ${typeInfo.color}`\">\n {{ typeInfo.label }}\n </span>\n <TaskStatusBadge :status=\"voting.status\" />\n </div>\n\n <h3 class=\"h5 fw-medium mn-b-small hover:t-main ease-cubic-in-out\">\n {{ voting.title }}\n </h3>\n\n <div class=\"mn-b-medium\">\n <div class=\"w-100 bg-light radius-thin h-thin o-hidden\">\n <div\n class=\"bg-main h-100 ease-cubic-in-out\"\n :style=\"{ width: `${percentageYes}%` }\"\n />\n </div>\n <div class=\"flex flex-justify-between p-small t-transp mn-t-thin\">\n <span>{{ voting.yesVotes }} Yes</span>\n <span>{{ voting.noVotes }} No</span>\n </div>\n </div>\n\n <div class=\"flex flex-justify-between flex-v-center p-small\">\n <div class=\"flex flex-v-center t-transp\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ formatDate(voting.createdAt, { dateOnly: true }) }}</span>\n </div>\n <div class=\"flex flex-v-center t-transp\">\n <IconSend class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ voting.totalVotes }}</span>\n </div>\n </div>\n </div>\n </router-link>\n</template>\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ;AAOd,UAAM,aAAa;AAAA,MACjB,aAAa,EAAE,OAAO,eAAe,OAAO,uBAAsB;AAAA,MAClE,cAAc,EAAE,OAAO,gBAAgB,OAAO,wBAAuB;AAAA,MACrE,SAAS,EAAE,OAAO,WAAW,OAAO,yBAAwB;AAAA,IAC9D;AAEA,UAAM,WAAW,SAAS,MAAM,WAAW,MAAM,OAAO,IAAI,KAAK,WAAW,OAAO;AACnF,UAAM,gBAAgB;AAAA,MAAS,MAC7B,MAAM,OAAO,aAAa,IAAK,MAAM,OAAO,WAAW,MAAM,OAAO,aAAc,MAAM;AAAA,IAC1F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CardVotingItem.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/blocks/CardVotingItem.vue"],"sourcesContent":["<script setup>\nimport { defineProps, computed } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconCalendar, IconSend } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst { formatDate } = useGlobalMixins();\n\nconst props = defineProps({\n voting: {\n type: Object,\n required: true\n }\n});\n\nconst typeConfig = {\n create_task: { label: 'Create Task', color: 'bg-main-small t-main' },\n approve_task: { label: 'Approve Task', color: 'bg-green-nice t-white' },\n general: { label: 'General', color: 'bg-fifth-small t-fifth' },\n};\n\nconst typeInfo = computed(() => typeConfig[props.voting.type] || typeConfig.general);\nconst percentageYes = computed(() =>\n props.voting.totalVotes > 0 ? (props.voting.yesVotes / props.voting.totalVotes) * 100 : 0\n);\n\n</script>\n\n<template>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/votings/${voting._id}`\"\n class=\"d-block\"\n >\n <div class=\"br-black-transp-10 br-1px radius-medium hover:scale-[1.05] ease-cubic-in-out pd-small\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-small\">\n <span :class=\"`pd-thin radius-thin p-small fw-medium ${typeInfo.color}`\">\n {{ typeInfo.label }}\n </span>\n <TaskStatusBadge :status=\"voting.status\" />\n </div>\n\n <h3 class=\"h5 fw-medium mn-b-small hover:t-main ease-cubic-in-out\">\n {{ voting.title }}\n </h3>\n\n <div class=\"mn-b-medium\">\n <div class=\"w-100 bg-light radius-thin h-thin o-hidden\">\n <div\n class=\"bg-main h-100 ease-cubic-in-out\"\n :style=\"{ width: `${percentageYes}%` }\"\n />\n </div>\n <div class=\"flex flex-justify-between p-small opacity-50 mn-t-thin\">\n <span>{{ voting.yesVotes }} Yes</span>\n <span>{{ voting.noVotes }} No</span>\n </div>\n </div>\n\n <div class=\"flex flex-justify-between flex-v-center p-small\">\n <div class=\"flex flex-v-center opacity-50\">\n <IconCalendar class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ formatDate(voting.createdAt, { dateOnly: true }) }}</span>\n </div>\n <div class=\"flex flex-v-center opacity-50\">\n <IconSend class=\"i-regular mn-r-thin\" :fill=\"'currentColor'\" />\n <span>{{ voting.totalVotes }}</span>\n </div>\n </div>\n </div>\n </router-link>\n</template>\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ;AAOd,UAAM,aAAa;AAAA,MACjB,aAAa,EAAE,OAAO,eAAe,OAAO,uBAAsB;AAAA,MAClE,cAAc,EAAE,OAAO,gBAAgB,OAAO,wBAAuB;AAAA,MACrE,SAAS,EAAE,OAAO,WAAW,OAAO,yBAAwB;AAAA,IAC9D;AAEA,UAAM,WAAW,SAAS,MAAM,WAAW,MAAM,OAAO,IAAI,KAAK,WAAW,OAAO;AACnF,UAAM,gBAAgB;AAAA,MAAS,MAC7B,MAAM,OAAO,aAAa,IAAK,MAAM,OAAO,WAAW,MAAM,OAAO,aAAc,MAAM;AAAA,IAC1F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -15,14 +15,14 @@ import _sfc_main$5 from "../../../../icons/navigation/IconAttach.vue.js";
15
15
  import _sfc_main$2 from "../../../../icons/navigation/IconCheckmark.vue.js";
16
16
  import IconSend from "../../../../icons/navigation/IconSend.vue.js";
17
17
  /* empty css */
18
- /* empty css */
18
+ /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
21
21
  /* empty css */
22
22
  /* empty css */
23
23
  /* empty css */
24
24
  /* empty css */
25
- /* empty css */
25
+ /* empty css */
26
26
  /* empty css */
27
27
  /* empty css */
28
28
  /* empty css */
@@ -4,14 +4,14 @@ import { initiativesActions } from "../../store/initiatives.js";
4
4
  import _sfc_main$1 from "../sections/FormInitiativeDetails.vue.js";
5
5
  /* empty css */
6
6
  /* empty css */
7
- /* empty css */
7
+ /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
- /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
@@ -11,14 +11,14 @@ import IconTime from "../../../../icons/entities/IconTime.vue.js";
11
11
  import _sfc_main$1 from "../../../../icons/navigation/IconArrow.vue.js";
12
12
  import _sfc_main$6 from "../../../../icons/navigation/IconCheckmark.vue.js";
13
13
  /* empty css */
14
- /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
21
- /* empty css */
21
+ /* empty css */
22
22
  /* empty css */
23
23
  /* empty css */
24
24
  /* empty css */
@@ -7,14 +7,14 @@ import _sfc_main$1 from "../../../../icons/navigation/IconPlus.vue.js";
7
7
  import _sfc_main$2 from "../../../../icons/navigation/IconSearch.vue.js";
8
8
  import "vue-router";
9
9
  /* empty css */
10
- /* empty css */
10
+ /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
- /* empty css */
17
+ /* empty css */
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
@@ -50,7 +50,7 @@ const _sfc_main = {
50
50
  createElementVNode("div", _hoisted_2, [
51
51
  _cache[3] || (_cache[3] = createElementVNode("div", null, [
52
52
  createElementVNode("h1", { class: "h1 fw-medium" }, "Initiatives"),
53
- createElementVNode("p", { class: "p-small t-transp mn-t-thin" }, "Manage and track all your initiatives")
53
+ createElementVNode("p", { class: "p-small opacity-50 mn-t-thin" }, "Manage and track all your initiatives")
54
54
  ], -1)),
55
55
  createVNode(_component_router_link, {
56
56
  to: "/governance/create",
@@ -86,7 +86,7 @@ const _sfc_main = {
86
86
  ]),
87
87
  filteredInitiatives.value.length === 0 && searchQuery.value ? (openBlock(), createElementBlock("div", _hoisted_5, _cache[4] || (_cache[4] = [
88
88
  createElementVNode("div", { class: "br-black-transp-10 br-1px radius-medium pd-semi t-center" }, [
89
- createElementVNode("p", { class: "p-small t-transp mn-b-small" }, "No initiatives match your search")
89
+ createElementVNode("p", { class: "p-small opacity-50 mn-b-small" }, "No initiatives match your search")
90
90
  ], -1)
91
91
  ]))) : filteredInitiatives.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
92
92
  createVNode(_sfc_main$3, {
@@ -97,7 +97,7 @@ const _sfc_main = {
97
97
  }, {
98
98
  icon: withCtx(() => _cache[5] || (_cache[5] = [
99
99
  createElementVNode("svg", {
100
- class: "i-big t-transp",
100
+ class: "i-big opacity-50",
101
101
  viewBox: "0 0 24 24",
102
102
  fill: "none",
103
103
  stroke: "currentColor",
@@ -1 +1 @@
1
- {"version":3,"file":"Initiatives.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/pages/Initiatives.vue"],"sourcesContent":["<script setup>\nimport { onMounted, ref, computed } from 'vue';\nimport { initiativesActions, initiativesState } from '../../store/initiatives';\nimport CardInitiativeItem from '../blocks/CardInitiativeItem.vue';\nimport EmptyState from '../partials/EmptyState.vue';\nimport { IconPlus, IconSearch } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst initiatives = ref([]);\nconst searchQuery = ref('');\n\nonMounted(async () => {\n await initiativesActions.getAllInitiatives();\n initiatives.value = initiativesState.all;\n});\n\nconst filteredInitiatives = computed(() => {\n if (searchQuery.value === '') return initiatives.value;\n const q = searchQuery.value.toLowerCase();\n return initiatives.value.filter((initiative) =>\n (initiative.title && initiative.title.toLowerCase().includes(q)) ||\n (initiative.description && initiative.description.toLowerCase().includes(q)) ||\n (initiative.name && initiative.name.toLowerCase().includes(q))\n );\n});\n</script>\n\n<template>\n <div class=\"pd-medium mobile:pd-thin\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-semi\">\n <div>\n <h1 class=\"h1 fw-medium\">Initiatives</h1>\n <p class=\"p-small t-transp mn-t-thin\">Manage and track all your initiatives</p>\n </div>\n <router-link\n to=\"/governance/create\"\n class=\"bg-main hover:bg-main-semi t-white fw-medium pd-small pd-x-semi radius-medium flex flex-v-center gap-thin ease-cubic-in-out cursor-pointer\"\n style=\"text-decoration: none;\"\n >\n <IconPlus class=\"i-medium\" :fill=\"'currentColor'\" />\n Create Initiative\n </router-link>\n </div>\n\n <div class=\"bg-light radius-medium pd-medium mn-b-semi\">\n <div class=\"flex-child-1 pos-relative\">\n <IconSearch class=\"i-medium pos-absolute pos-l-small pos-t-regular\" :fill=\"'rgb(var(--grey))'\" />\n <input\n v-model=\"searchQuery\"\n type=\"text\"\n placeholder=\"Search initiatives by name, description...\"\n class=\"w-100 pd-small pd-l-extra radius-medium bg-white\"\n style=\"outline: none;\"\n />\n </div>\n </div>\n\n <div v-if=\"filteredInitiatives.length === 0 && searchQuery\">\n <div class=\"br-black-transp-10 br-1px radius-medium pd-semi t-center\">\n <p class=\"p-small t-transp mn-b-small\">No initiatives match your search</p>\n </div>\n </div>\n\n <div v-else-if=\"filteredInitiatives.length === 0\">\n <EmptyState\n title=\"No initiatives yet\"\n message=\"Get started by creating your first initiative to organize your work.\"\n actionText=\"Create Initiative\"\n @action=\"$router.push('/governance/create')\"\n >\n <template #icon>\n <svg class=\"i-big t-transp\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"/>\n <path d=\"M8 14s1.5 2 4 2 4-2 4-2\"/>\n <line x1=\"9\" y1=\"9\" x2=\"9.01\" y2=\"9\"/>\n <line x1=\"15\" y1=\"9\" x2=\"15.01\" y2=\"9\"/>\n </svg>\n </template>\n </EmptyState>\n </div>\n\n <div v-else>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardInitiativeItem\n v-for=\"initiative in filteredInitiatives\"\n :key=\"initiative._id || initiative.id\"\n :initiative=\"initiative\"\n />\n </div>\n </div>\n </div>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,cAAc,IAAI,EAAE;AAC1B,UAAM,cAAc,IAAI,EAAE;AAE1B,cAAU,YAAY;AACpB,YAAM,mBAAmB,kBAAiB;AAC1C,kBAAY,QAAQ,iBAAiB;AAAA,IACvC,CAAC;AAED,UAAM,sBAAsB,SAAS,MAAM;AACzC,UAAI,YAAY,UAAU,GAAI,QAAO,YAAY;AACjD,YAAM,IAAI,YAAY,MAAM,YAAW;AACvC,aAAO,YAAY,MAAM;AAAA,QAAO,CAAC,eAC9B,WAAW,SAAS,WAAW,MAAM,YAAW,EAAG,SAAS,CAAC,KAC7D,WAAW,eAAe,WAAW,YAAY,cAAc,SAAS,CAAC,KACzE,WAAW,QAAQ,WAAW,KAAK,YAAW,EAAG,SAAS,CAAC;AAAA,MAChE;AAAA,IACA,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Initiatives.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/pages/Initiatives.vue"],"sourcesContent":["<script setup>\nimport { onMounted, ref, computed } from 'vue';\nimport { initiativesActions, initiativesState } from '../../store/initiatives';\nimport CardInitiativeItem from '../blocks/CardInitiativeItem.vue';\nimport EmptyState from '../partials/EmptyState.vue';\nimport { IconPlus, IconSearch } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst initiatives = ref([]);\nconst searchQuery = ref('');\n\nonMounted(async () => {\n await initiativesActions.getAllInitiatives();\n initiatives.value = initiativesState.all;\n});\n\nconst filteredInitiatives = computed(() => {\n if (searchQuery.value === '') return initiatives.value;\n const q = searchQuery.value.toLowerCase();\n return initiatives.value.filter((initiative) =>\n (initiative.title && initiative.title.toLowerCase().includes(q)) ||\n (initiative.description && initiative.description.toLowerCase().includes(q)) ||\n (initiative.name && initiative.name.toLowerCase().includes(q))\n );\n});\n</script>\n\n<template>\n <div class=\"pd-medium mobile:pd-thin\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-semi\">\n <div>\n <h1 class=\"h1 fw-medium\">Initiatives</h1>\n <p class=\"p-small opacity-50 mn-t-thin\">Manage and track all your initiatives</p>\n </div>\n <router-link\n to=\"/governance/create\"\n class=\"bg-main hover:bg-main-semi t-white fw-medium pd-small pd-x-semi radius-medium flex flex-v-center gap-thin ease-cubic-in-out cursor-pointer\"\n style=\"text-decoration: none;\"\n >\n <IconPlus class=\"i-medium\" :fill=\"'currentColor'\" />\n Create Initiative\n </router-link>\n </div>\n\n <div class=\"bg-light radius-medium pd-medium mn-b-semi\">\n <div class=\"flex-child-1 pos-relative\">\n <IconSearch class=\"i-medium pos-absolute pos-l-small pos-t-regular\" :fill=\"'rgb(var(--grey))'\" />\n <input\n v-model=\"searchQuery\"\n type=\"text\"\n placeholder=\"Search initiatives by name, description...\"\n class=\"w-100 pd-small pd-l-extra radius-medium bg-white\"\n style=\"outline: none;\"\n />\n </div>\n </div>\n\n <div v-if=\"filteredInitiatives.length === 0 && searchQuery\">\n <div class=\"br-black-transp-10 br-1px radius-medium pd-semi t-center\">\n <p class=\"p-small opacity-50 mn-b-small\">No initiatives match your search</p>\n </div>\n </div>\n\n <div v-else-if=\"filteredInitiatives.length === 0\">\n <EmptyState\n title=\"No initiatives yet\"\n message=\"Get started by creating your first initiative to organize your work.\"\n actionText=\"Create Initiative\"\n @action=\"$router.push('/governance/create')\"\n >\n <template #icon>\n <svg class=\"i-big opacity-50\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"/>\n <path d=\"M8 14s1.5 2 4 2 4-2 4-2\"/>\n <line x1=\"9\" y1=\"9\" x2=\"9.01\" y2=\"9\"/>\n <line x1=\"15\" y1=\"9\" x2=\"15.01\" y2=\"9\"/>\n </svg>\n </template>\n </EmptyState>\n </div>\n\n <div v-else>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardInitiativeItem\n v-for=\"initiative in filteredInitiatives\"\n :key=\"initiative._id || initiative.id\"\n :initiative=\"initiative\"\n />\n </div>\n </div>\n </div>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,cAAc,IAAI,EAAE;AAC1B,UAAM,cAAc,IAAI,EAAE;AAE1B,cAAU,YAAY;AACpB,YAAM,mBAAmB,kBAAiB;AAC1C,kBAAY,QAAQ,iBAAiB;AAAA,IACvC,CAAC;AAED,UAAM,sBAAsB,SAAS,MAAM;AACzC,UAAI,YAAY,UAAU,GAAI,QAAO,YAAY;AACjD,YAAM,IAAI,YAAY,MAAM,YAAW;AACvC,aAAO,YAAY,MAAM;AAAA,QAAO,CAAC,eAC9B,WAAW,SAAS,WAAW,MAAM,YAAW,EAAG,SAAS,CAAC,KAC7D,WAAW,eAAe,WAAW,YAAY,cAAc,SAAS,CAAC,KACzE,WAAW,QAAQ,WAAW,KAAK,YAAW,EAAG,SAAS,CAAC;AAAA,MAChE;AAAA,IACA,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -11,14 +11,14 @@ import _sfc_main$1 from "../../../../icons/navigation/IconArrow.vue.js";
11
11
  import _sfc_main$7 from "../../../../icons/navigation/IconCross.vue.js";
12
12
  import _sfc_main$4 from "../../../../icons/navigation/IconPlus.vue.js";
13
13
  /* empty css */
14
- /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
21
- /* empty css */
21
+ /* empty css */
22
22
  /* empty css */
23
23
  /* empty css */
24
24
  /* empty css */
@@ -4,14 +4,14 @@ import { sprintsActions } from "../../store/sprints.js";
4
4
  import _sfc_main$1 from "../sections/FormSprintDetails.vue.js";
5
5
  /* empty css */
6
6
  /* empty css */
7
- /* empty css */
7
+ /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
- /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */