@ozdao/martyrs 0.2.602 → 0.2.604

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 (729) hide show
  1. package/dist/{abac-BPl9Bmf9.js → abac-Blt8bUTL.js} +3 -3
  2. package/dist/{addUserStatusFields-Cc-JpmPo.js → addUserStatusFields-CjV_sbh7.js} +2 -2
  3. package/dist/auth.server.js +57 -2
  4. package/dist/builder.js +130 -81
  5. package/dist/community.server.js +11 -11
  6. package/dist/core.server.js +2 -2
  7. package/dist/{core.verifier-gPPX_jhf.js → core.verifier-DVB2a21y.js} +6 -3
  8. package/dist/{crud-DpOXTZep.js → crud-BT5FIvQC.js} +2 -3
  9. package/dist/engagement.schema-B-Cc_NsG.js +6 -0
  10. package/dist/events.server.js +3 -3
  11. package/dist/gallery.server.js +1 -1
  12. package/dist/governance.server.js +1632 -0
  13. package/dist/icons.server.js +267 -0
  14. package/dist/inventory.server.js +6 -6
  15. package/dist/martyrs/dist/martyrs.es3.js +116 -0
  16. package/dist/martyrs/dist/martyrs.es3.js.map +1 -0
  17. package/dist/martyrs/dist/martyrs.es39.js +124 -0
  18. package/dist/martyrs/dist/martyrs.es39.js.map +1 -0
  19. package/dist/martyrs/dist/martyrs.es43.js +30 -0
  20. package/dist/martyrs/dist/martyrs.es43.js.map +1 -0
  21. package/dist/martyrs/dist/martyrs.es44.js +28 -0
  22. package/dist/martyrs/dist/martyrs.es44.js.map +1 -0
  23. package/dist/martyrs/dist/martyrs.es46.js +10 -0
  24. package/dist/martyrs/dist/martyrs.es46.js.map +1 -0
  25. package/dist/martyrs/src/components/Address/{Address.vue.js → Address.vue2.js} +2 -2
  26. package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -0
  27. package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
  28. package/dist/martyrs/src/components/Block/Block.vue.js.map +1 -1
  29. package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +8 -5
  30. package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
  31. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
  32. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
  33. package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
  34. package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
  35. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +4 -4
  36. package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
  37. package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
  38. package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +3 -3
  39. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
  40. package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
  41. package/dist/martyrs/src/components/Table/StatusBadge.vue.js +19 -10
  42. package/dist/martyrs/src/components/Table/StatusBadge.vue.js.map +1 -1
  43. package/dist/martyrs/src/components/Text/Text.vue.js +1 -1
  44. package/dist/martyrs/src/components/Text/Text.vue.js.map +1 -1
  45. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
  46. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +2 -2
  48. package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +3 -3
  49. package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
  50. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  51. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  52. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +17 -21
  53. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
  54. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  55. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -13
  56. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
  57. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  58. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +41 -3
  59. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  60. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  61. package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +34 -66
  62. package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
  63. package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -53
  64. package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
  65. package/dist/martyrs/src/modules/auth/views/store/auth.js +1 -1
  66. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +515 -103
  67. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
  68. package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +1 -3
  69. package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
  70. package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +1 -32
  71. package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
  72. package/dist/martyrs/src/modules/community/community.client.js +49 -8
  73. package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
  74. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -4
  75. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
  76. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
  77. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  78. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
  79. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
  80. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +28 -17
  81. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
  82. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +36 -28
  83. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
  84. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
  85. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
  86. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +1 -1
  87. package/dist/martyrs/src/modules/community/router/community.backoffice.router.js +21 -0
  88. package/dist/martyrs/src/modules/community/router/community.backoffice.router.js.map +1 -0
  89. package/dist/martyrs/src/modules/community/router/community.organization.router.js +70 -0
  90. package/dist/martyrs/src/modules/community/router/community.organization.router.js.map +1 -0
  91. package/dist/martyrs/src/modules/community/router/community.router.js +73 -0
  92. package/dist/martyrs/src/modules/community/router/community.router.js.map +1 -0
  93. package/dist/martyrs/src/modules/community/router/community.user.router.js +20 -0
  94. package/dist/martyrs/src/modules/community/router/community.user.router.js.map +1 -0
  95. package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
  96. package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js.map +1 -1
  97. package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js.map +1 -1
  98. package/dist/martyrs/src/modules/core/views/classes/core.app.js +5 -3
  99. package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
  100. package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js +7 -2
  101. package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -1
  102. package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +11 -5
  103. package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
  104. package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js +53 -18
  105. package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js.map +1 -1
  106. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
  107. package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +44 -0
  108. package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -0
  109. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +6 -6
  110. package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +2 -2
  111. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +11 -8
  112. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
  113. package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
  114. package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
  115. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +14 -14
  116. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
  117. package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +2 -2
  118. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +28 -29
  119. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
  120. package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +6 -6
  121. package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +5 -7
  122. package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +1 -1
  123. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +27 -17
  124. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
  125. package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +1 -1
  126. package/dist/martyrs/src/modules/core/views/mixins/mixins.js +3 -3
  127. package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
  128. package/dist/martyrs/src/modules/core/views/router/addRoutes.js +2 -3
  129. package/dist/martyrs/src/modules/core/views/router/addRoutes.js.map +1 -1
  130. package/dist/martyrs/src/modules/core/views/store/core.store.js +1 -1
  131. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +10 -0
  132. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
  133. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +4 -4
  134. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
  135. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  136. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
  137. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
  138. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
  139. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -0
  140. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
  141. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +23 -33
  142. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
  143. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +13 -13
  144. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
  145. package/dist/martyrs/src/modules/events/components/sections/List.vue.js +3 -3
  146. package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
  147. package/dist/martyrs/src/modules/events/events.client.js +37 -15
  148. package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
  149. package/dist/martyrs/src/modules/events/router/events.backoffice.router.js +95 -0
  150. package/dist/martyrs/src/modules/events/router/events.backoffice.router.js.map +1 -0
  151. package/dist/martyrs/src/modules/events/router/events.organization.router.js +95 -0
  152. package/dist/martyrs/src/modules/events/router/events.organization.router.js.map +1 -0
  153. package/dist/martyrs/src/modules/events/router/events.router.js +73 -364
  154. package/dist/martyrs/src/modules/events/router/events.router.js.map +1 -1
  155. package/dist/martyrs/src/modules/events/router/events.user.router.js +65 -0
  156. package/dist/martyrs/src/modules/events/router/events.user.router.js.map +1 -0
  157. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  158. package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js +33 -0
  159. package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js.map +1 -0
  160. package/dist/martyrs/src/modules/governance/governance.client.js +31 -0
  161. package/dist/martyrs/src/modules/governance/governance.client.js.map +1 -0
  162. package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +110 -0
  163. package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -0
  164. package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +105 -0
  165. package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -0
  166. package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +110 -0
  167. package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -0
  168. package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +106 -0
  169. package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -0
  170. package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js +52 -0
  171. package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js.map +1 -0
  172. package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +684 -0
  173. package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js.map +1 -0
  174. package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +78 -0
  175. package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js.map +1 -0
  176. package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +328 -0
  177. package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js.map +1 -0
  178. package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +145 -0
  179. package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -0
  180. package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +258 -0
  181. package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js.map +1 -0
  182. package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +72 -0
  183. package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js.map +1 -0
  184. package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +769 -0
  185. package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js.map +1 -0
  186. package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +88 -0
  187. package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js.map +1 -0
  188. package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +291 -0
  189. package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js.map +1 -0
  190. package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +267 -0
  191. package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js.map +1 -0
  192. package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +90 -0
  193. package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js.map +1 -0
  194. package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js +68 -0
  195. package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js.map +1 -0
  196. package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js +47 -0
  197. package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js.map +1 -0
  198. package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +164 -0
  199. package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js.map +1 -0
  200. package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +39 -0
  201. package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -0
  202. package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js +112 -0
  203. package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js.map +1 -0
  204. package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +187 -0
  205. package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js.map +1 -0
  206. package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js +555 -0
  207. package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js.map +1 -0
  208. package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +187 -0
  209. package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -0
  210. package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +171 -0
  211. package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -0
  212. package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js +179 -0
  213. package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js.map +1 -0
  214. package/dist/martyrs/src/modules/governance/views/router/governance.router.js +502 -0
  215. package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -0
  216. package/dist/martyrs/src/modules/governance/views/store/initiatives.js +119 -0
  217. package/dist/martyrs/src/modules/governance/views/store/initiatives.js.map +1 -0
  218. package/dist/martyrs/src/modules/governance/views/store/sprints.js +99 -0
  219. package/dist/martyrs/src/modules/governance/views/store/sprints.js.map +1 -0
  220. package/dist/martyrs/src/modules/governance/views/store/tasks.js +115 -0
  221. package/dist/martyrs/src/modules/governance/views/store/tasks.js.map +1 -0
  222. package/dist/martyrs/src/modules/governance/views/store/votings.js +155 -0
  223. package/dist/martyrs/src/modules/governance/views/store/votings.js.map +1 -0
  224. package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +70 -0
  225. package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +1 -0
  226. package/dist/martyrs/src/modules/icons/icons.client.js +1 -1
  227. package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
  228. package/dist/martyrs/src/modules/icons/{icons.router.js → router/icons.router.js} +1 -1
  229. package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -0
  230. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +3 -3
  231. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +3 -3
  232. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +2 -2
  233. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
  234. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
  235. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +6 -6
  236. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
  237. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
  238. package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +9 -9
  239. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +4 -4
  240. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
  241. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +4 -4
  242. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +7 -7
  243. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +3 -3
  244. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +4 -4
  245. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +3 -3
  246. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +4 -4
  247. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
  248. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +3 -3
  249. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +10 -10
  250. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
  251. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +11 -11
  252. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +10 -10
  253. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +18 -18
  254. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
  255. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +2 -2
  256. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +4 -4
  257. package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +10 -10
  258. package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +6 -6
  259. package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js +63 -0
  260. package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js.map +1 -0
  261. package/dist/martyrs/src/modules/music/music.client.js +29 -25
  262. package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
  263. package/dist/martyrs/src/modules/music/{music.router.js → router/music.router.js} +16 -16
  264. package/dist/martyrs/src/modules/music/router/music.router.js.map +1 -0
  265. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +26 -27
  266. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
  267. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +119 -60
  268. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
  269. package/dist/martyrs/src/modules/notifications/notifications.client.js +76 -56
  270. package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
  271. package/dist/martyrs/src/modules/notifications/{notifications.router.js → router/notifications.router.js} +3 -3
  272. package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -0
  273. package/dist/martyrs/src/modules/notifications/store/notifications.store.js +1 -1
  274. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +34 -44
  275. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
  276. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +47 -57
  277. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
  278. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
  279. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
  280. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
  281. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
  282. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +3 -3
  283. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +5 -5
  284. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
  285. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +7 -7
  286. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +61 -54
  287. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
  288. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +43 -31
  289. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
  290. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +13 -13
  291. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +3 -3
  292. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
  293. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +19 -19
  294. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +7 -10
  295. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
  296. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +7 -10
  297. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
  298. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +4 -4
  299. package/dist/martyrs/src/modules/orders/orders.client.js +16 -16
  300. package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
  301. package/dist/martyrs/src/modules/orders/store/shopcart.js +1 -1
  302. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -4
  303. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
  304. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +2 -2
  305. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +2 -2
  306. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +22 -15
  307. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
  308. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
  309. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +63 -1
  310. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
  311. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -3
  312. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  313. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +13 -7
  314. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
  315. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +24 -30
  316. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  317. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  318. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  319. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  320. package/dist/martyrs/src/modules/organizations/organizations.client.js +42 -6
  321. package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
  322. package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +20 -0
  323. package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -0
  324. package/dist/martyrs/src/modules/organizations/router/organizations.router.js +102 -0
  325. package/dist/martyrs/src/modules/organizations/router/organizations.router.js.map +1 -0
  326. package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js +20 -0
  327. package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js.map +1 -0
  328. package/dist/martyrs/src/modules/pages/pages.client.js +1 -1
  329. package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
  330. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  331. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +3 -3
  332. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  333. package/dist/martyrs/src/modules/pages/{pages.router.js → views/router/pages.router.js} +8 -8
  334. package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -0
  335. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  336. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
  337. package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
  338. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  339. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +7 -7
  340. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
  341. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +21 -21
  342. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
  343. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  344. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +3 -3
  345. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +3 -3
  346. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -20
  347. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +4 -4
  348. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +4 -4
  349. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +3 -3
  350. package/dist/martyrs/src/modules/rents/rents.client.js +1 -1
  351. package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
  352. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +6 -6
  353. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +4 -4
  354. package/dist/martyrs/src/modules/rents/{rents.router.js → views/router/rents.router.js} +4 -4
  355. package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -0
  356. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  357. package/dist/martyrs/src/modules/reports/reports.client.js +1 -1
  358. package/dist/martyrs/src/modules/reports/reports.client.js.map +1 -1
  359. package/dist/martyrs/src/modules/reports/{reports.router.js → router/reports.router.js} +1 -1
  360. package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -0
  361. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  362. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +2 -2
  363. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +11 -11
  364. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +21 -21
  365. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +68 -0
  366. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -0
  367. package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +48 -0
  368. package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -0
  369. package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +59 -0
  370. package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -0
  371. package/dist/martyrs/src/modules/wallet/wallet.client.js +20 -0
  372. package/dist/martyrs/src/modules/wallet/wallet.client.js.map +1 -0
  373. package/dist/martyrs.es.js +84 -41
  374. package/dist/martyrs.es10.js +126 -0
  375. package/dist/martyrs.es101.js +39 -0
  376. package/dist/martyrs.es102.js +31 -0
  377. package/dist/martyrs.es104.js +27 -0
  378. package/dist/martyrs.es105.js +8 -0
  379. package/dist/martyrs.es106.js +9 -0
  380. package/dist/martyrs.es107.js +79 -0
  381. package/dist/martyrs.es108.js +7 -0
  382. package/dist/martyrs.es109.js +121 -0
  383. package/dist/martyrs.es11.js +49 -0
  384. package/dist/martyrs.es112.js +4 -0
  385. package/dist/martyrs.es113.js +169 -0
  386. package/dist/martyrs.es114.js +460 -0
  387. package/dist/martyrs.es115.js +42 -0
  388. package/dist/martyrs.es116.js +12 -0
  389. package/dist/martyrs.es117.js +52 -0
  390. package/dist/martyrs.es118.js +14 -0
  391. package/dist/martyrs.es119.js +47 -0
  392. package/dist/martyrs.es12.js +94 -0
  393. package/dist/martyrs.es120.js +7 -0
  394. package/dist/martyrs.es121.js +131 -0
  395. package/dist/martyrs.es122.js +103 -0
  396. package/dist/martyrs.es123.js +89 -0
  397. package/dist/martyrs.es124.js +40 -0
  398. package/dist/martyrs.es125.js +14 -0
  399. package/dist/martyrs.es126.js +42 -0
  400. package/dist/martyrs.es127.js +11 -0
  401. package/dist/martyrs.es128.js +25 -0
  402. package/dist/martyrs.es129.js +7 -0
  403. package/dist/martyrs.es13.js +48 -0
  404. package/dist/martyrs.es130.js +10 -0
  405. package/dist/martyrs.es131.js +119 -0
  406. package/dist/martyrs.es132.js +20 -0
  407. package/dist/martyrs.es133.js +18 -0
  408. package/dist/martyrs.es134.js +6 -0
  409. package/dist/martyrs.es135.js +35 -0
  410. package/dist/martyrs.es136.js +12 -0
  411. package/dist/martyrs.es137.js +23 -0
  412. package/dist/martyrs.es138.js +12 -0
  413. package/dist/martyrs.es139.js +11 -0
  414. package/dist/martyrs.es14.js +101 -0
  415. package/dist/martyrs.es140.js +47 -0
  416. package/dist/martyrs.es141.js +483 -0
  417. package/dist/martyrs.es142.js +8 -0
  418. package/dist/martyrs.es143.js +4 -0
  419. package/dist/martyrs.es144.js +33 -0
  420. package/dist/martyrs.es145.js +14 -0
  421. package/dist/martyrs.es146.js +19 -0
  422. package/dist/martyrs.es147.js +22 -0
  423. package/dist/martyrs.es148.js +31 -0
  424. package/dist/martyrs.es149.js +23 -0
  425. package/dist/martyrs.es15.js +408 -0
  426. package/dist/martyrs.es16.js +58 -0
  427. package/dist/martyrs.es17.js +44 -0
  428. package/dist/martyrs.es18.js +42 -0
  429. package/dist/martyrs.es19.js +27 -0
  430. package/dist/martyrs.es2.js +88 -0
  431. package/dist/martyrs.es20.js +13 -0
  432. package/dist/martyrs.es21.js +57 -0
  433. package/dist/martyrs.es22.js +104 -0
  434. package/dist/martyrs.es23.js +178 -0
  435. package/dist/martyrs.es24.js +123 -0
  436. package/dist/martyrs.es25.js +139 -0
  437. package/dist/martyrs.es26.js +21 -0
  438. package/dist/martyrs.es27.js +60 -0
  439. package/dist/martyrs.es28.js +75 -0
  440. package/dist/martyrs.es29.js +36 -0
  441. package/dist/martyrs.es3.js +116 -0
  442. package/dist/martyrs.es30.js +348 -0
  443. package/dist/martyrs.es31.js +83 -0
  444. package/dist/martyrs.es32.js +148 -0
  445. package/dist/martyrs.es33.js +175 -0
  446. package/dist/martyrs.es34.js +66 -0
  447. package/dist/martyrs.es35.js +57 -0
  448. package/dist/martyrs.es36.js +76 -0
  449. package/dist/martyrs.es37.js +101 -0
  450. package/dist/martyrs.es38.js +39 -0
  451. package/dist/martyrs.es39.js +124 -0
  452. package/dist/martyrs.es4.js +85 -0
  453. package/dist/martyrs.es40.js +120 -0
  454. package/dist/martyrs.es41.js +229 -0
  455. package/dist/martyrs.es43.js +29 -0
  456. package/dist/martyrs.es44.js +27 -0
  457. package/dist/martyrs.es46.js +9 -0
  458. package/dist/martyrs.es48.js +18 -0
  459. package/dist/martyrs.es5.js +395 -0
  460. package/dist/martyrs.es50.js +42 -0
  461. package/dist/martyrs.es52.js +255 -0
  462. package/dist/martyrs.es54.js +8 -0
  463. package/dist/martyrs.es6.js +70 -0
  464. package/dist/martyrs.es61.js +139 -0
  465. package/dist/martyrs.es65.js +28 -0
  466. package/dist/martyrs.es68.js +33 -0
  467. package/dist/martyrs.es69.js +37 -0
  468. package/dist/martyrs.es7.js +17 -0
  469. package/dist/martyrs.es71.js +114 -0
  470. package/dist/martyrs.es73.js +83 -0
  471. package/dist/martyrs.es74.js +52 -0
  472. package/dist/martyrs.es75.js +75 -0
  473. package/dist/martyrs.es76.js +176 -0
  474. package/dist/martyrs.es77.js +31 -0
  475. package/dist/martyrs.es78.js +38 -0
  476. package/dist/martyrs.es8.js +127 -0
  477. package/dist/martyrs.es81.js +32 -0
  478. package/dist/martyrs.es86.js +37 -0
  479. package/dist/martyrs.es89.js +37 -0
  480. package/dist/martyrs.es9.js +396 -0
  481. package/dist/martyrs.es91.js +63 -0
  482. package/dist/martyrs.es92.js +35 -0
  483. package/dist/martyrs.es94.js +41 -0
  484. package/dist/martyrs.es95.js +59 -0
  485. package/dist/martyrs.es96.js +123 -0
  486. package/dist/martyrs.es97.js +43 -0
  487. package/dist/martyrs.es98.js +86 -0
  488. package/dist/martyrs.es99.js +33 -0
  489. package/dist/music.server.js +11 -11
  490. 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
  491. 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
  492. 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
  493. 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
  494. package/dist/notifications.server.js +16 -6
  495. package/dist/orders.server.js +264 -145
  496. package/dist/organizations.server.js +22 -6
  497. package/dist/products.server.js +7 -7
  498. package/dist/rents.server.js +4 -3
  499. package/dist/style.css +970 -986
  500. package/package.json +13 -6
  501. package/src/builder/modes/ssr.rspack.dev.js +32 -20
  502. package/src/builder/rspack/rspack.config.api.js +3 -0
  503. package/src/builder/rspack/rspack.config.base.js +9 -1
  504. package/src/builder/rspack/rspack.config.ssr.client.js +8 -5
  505. package/src/components/Block/Block.vue +1 -1
  506. package/src/components/Button/Button.vue +4 -4
  507. package/src/components/Table/StatusBadge.vue +24 -18
  508. package/src/components/Text/Text.vue +1 -1
  509. package/src/jit/core.js +72 -35
  510. package/src/jit/plugin.js +4 -3
  511. package/src/jit/rules.js +15 -15
  512. package/src/modules/TASKS.MD +30 -0
  513. package/src/modules/TASK_ACTIVITY.md +60 -0
  514. package/src/modules/TASK_MODULE_ARCH.md +391 -0
  515. package/src/modules/auth/controllers/routes/users.routes.js +8 -0
  516. package/src/modules/auth/controllers/services/users.service.js +51 -1
  517. package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
  518. package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +25 -24
  519. package/src/modules/auth/views/components/pages/SignIn.vue +10 -1
  520. package/src/modules/auth/views/components/pages/UserDashboard.vue +35 -62
  521. package/src/modules/auth/views/router/users.router.js +0 -44
  522. package/src/modules/backoffice/components/pages/Dashboard.vue +423 -120
  523. package/src/modules/backoffice/configs/navigation.backoffice.config.js +0 -2
  524. package/src/modules/backoffice/router/backoffice.router.js +0 -25
  525. package/src/modules/community/community.client.js +54 -9
  526. package/src/modules/community/components/blocks/CardBlogpost.vue +10 -3
  527. package/src/modules/community/components/layouts/Community.vue +3 -3
  528. package/src/modules/community/components/pages/BlogPost.vue +1 -1
  529. package/src/modules/community/components/pages/CreateBlogPost.vue +19 -20
  530. package/src/modules/community/components/pages/Posts.vue +43 -28
  531. package/src/modules/community/components/sections/Comment.vue +1 -1
  532. package/src/modules/community/controllers/blog.controller.js +4 -5
  533. package/src/modules/community/models/reaction.model.js +1 -0
  534. package/src/modules/community/router/community.backoffice.router.js +16 -0
  535. package/src/modules/community/router/community.organization.router.js +56 -0
  536. package/src/modules/community/router/community.router.js +58 -106
  537. package/src/modules/community/router/community.user.router.js +15 -0
  538. package/src/modules/constructor/components/elements/Textarea.vue +1 -1
  539. package/src/modules/constructor/components/sections/Constructor.vue +1 -1
  540. package/src/modules/core/controllers/classes/core.validator.js +7 -1
  541. package/src/modules/core/controllers/classes/core.verifier.js +0 -2
  542. package/src/modules/core/controllers/classes/crud/crud.controller.js +0 -4
  543. package/src/modules/core/controllers/classes/crud/crud.service.js +1 -0
  544. package/src/modules/core/models/schemas/engagement.schema.js +19 -22
  545. package/src/modules/core/views/classes/core.app.js +6 -4
  546. package/src/modules/core/views/classes/i18n.manager.js +9 -2
  547. package/src/modules/core/views/classes/ws.manager.js +17 -7
  548. package/src/modules/core/views/components/blocks/Card.vue +47 -24
  549. package/src/modules/core/views/components/blocks/CardStat.vue +27 -0
  550. package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
  551. package/src/modules/core/views/components/layouts/Client.vue +5 -4
  552. package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
  553. package/src/modules/core/views/components/partials/Header.vue +2 -2
  554. package/src/modules/core/views/components/partials/Navigation.vue +13 -14
  555. package/src/modules/core/views/components/partials/Sidebar.vue +4 -6
  556. package/src/modules/core/views/components/sections/SectionPageTitle.vue +23 -15
  557. package/src/modules/core/views/mixins/mixins.js +4 -3
  558. package/src/modules/core/views/router/addRoutes.js +1 -2
  559. package/src/modules/core/views/utils/vue-app-renderer.js +12 -0
  560. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  561. package/src/modules/events/components/pages/Events.vue +1 -0
  562. package/src/modules/events/components/pages/EventsBackoffice.vue +23 -48
  563. package/src/modules/events/components/sections/List.vue +2 -2
  564. package/src/modules/events/events.client.js +44 -17
  565. package/src/modules/events/router/events.backoffice.router.js +80 -0
  566. package/src/modules/events/router/events.organization.router.js +80 -0
  567. package/src/modules/events/router/events.router.js +55 -325
  568. package/src/modules/events/router/events.user.router.js +49 -0
  569. package/src/modules/governance/TASK-TRACKER.MD +534 -39
  570. package/src/modules/governance/configs/navigation.initiative.config.js +30 -0
  571. package/src/modules/governance/controllers/routes/initiatives.routes.js +55 -8
  572. package/src/modules/governance/controllers/routes/{milestones.routes.js → sprints.routes.js} +22 -22
  573. package/src/modules/governance/controllers/routes/tasks.routes.js +2 -2
  574. package/src/modules/governance/governance.client.js +1 -4
  575. package/src/modules/governance/governance.server.js +6 -6
  576. package/src/modules/governance/middlewares/initiatives.verifier.js +60 -0
  577. package/src/modules/governance/middlewares/{milestones.verifier.js → sprints.verifier.js} +10 -10
  578. package/src/modules/governance/middlewares/tasks.verifier.js +4 -4
  579. package/src/modules/governance/middlewares/votings.verifier.js +25 -7
  580. package/src/modules/governance/models/{milestone.model.js → sprint.model.js} +11 -11
  581. package/src/modules/governance/models/task.model.js +4 -4
  582. package/src/modules/governance/models/voting.model.js +10 -5
  583. package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +8 -13
  584. package/src/modules/governance/views/components/blocks/{CardMilestoneItem.vue → CardSprintItem.vue} +16 -17
  585. package/src/modules/governance/views/components/blocks/CardTaskItem.vue +7 -9
  586. package/src/modules/governance/views/components/blocks/CardVotingItem.vue +7 -9
  587. package/src/modules/governance/views/components/pages/Governance.vue +13 -34
  588. package/src/modules/governance/views/components/pages/Initiative.vue +73 -154
  589. package/src/modules/governance/views/components/pages/InitiativeCreate.vue +44 -7
  590. package/src/modules/governance/views/components/pages/{Roadmap.vue → InitiativeSprints.vue} +70 -69
  591. package/src/modules/governance/views/components/pages/Initiatives.vue +23 -108
  592. package/src/modules/governance/views/components/pages/{Milestone.vue → Sprint.vue} +43 -41
  593. package/src/modules/governance/views/components/pages/SprintCreate.vue +55 -0
  594. package/src/modules/governance/views/components/pages/Task.vue +95 -88
  595. package/src/modules/governance/views/components/pages/TaskCreate.vue +47 -9
  596. package/src/modules/governance/views/components/pages/Tasks.vue +25 -21
  597. package/src/modules/governance/views/components/pages/Voting.vue +84 -68
  598. package/src/modules/governance/views/components/pages/VotingCreate.vue +48 -8
  599. package/src/modules/governance/views/components/pages/Votings.vue +12 -57
  600. package/src/modules/governance/views/components/partials/EmptyState.vue +1 -1
  601. package/src/modules/governance/views/components/partials/LinkedEntityCard.vue +23 -11
  602. package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
  603. package/src/modules/governance/views/components/partials/VoteForm.vue +3 -3
  604. package/src/modules/governance/views/components/partials/VotingResults.vue +13 -19
  605. package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +413 -15
  606. package/src/modules/governance/views/components/sections/FormSprintDetails.vue +156 -0
  607. package/src/modules/governance/views/components/sections/FormTaskDetails.vue +125 -21
  608. package/src/modules/governance/views/components/sections/FormVotingDetails.vue +136 -17
  609. package/src/modules/governance/views/components/sections/VoteForm.vue +2 -2
  610. package/src/modules/governance/views/router/governance.router.js +255 -151
  611. package/src/modules/governance/views/store/initiatives.js +23 -2
  612. package/src/modules/governance/views/store/sprints.js +102 -0
  613. package/src/modules/governance/views/store/tasks.js +25 -9
  614. package/src/modules/governance/views/store/votings.js +106 -27
  615. package/src/modules/icons/icons.client.js +1 -1
  616. package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
  617. package/src/modules/music/components/sections/PopularTracks.vue +52 -0
  618. package/src/modules/music/music.client.js +8 -1
  619. package/src/modules/music/router/music.router.js +13 -1
  620. package/src/modules/notifications/components/elements/NotificationBadge.vue +8 -33
  621. package/src/modules/notifications/components/sections/NotificationPreferences.vue +110 -48
  622. package/src/modules/notifications/notifications.client.js +78 -57
  623. package/src/modules/notifications/router/notifications.router.js +32 -15
  624. package/src/modules/notifications/services/notification.service.js +15 -6
  625. package/src/modules/notifications/services/web-push.service.js +2 -0
  626. package/src/modules/orders/components/blocks/CardApplication.vue +20 -40
  627. package/src/modules/orders/components/blocks/CardCustomer.vue +35 -55
  628. package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
  629. package/src/modules/orders/components/blocks/CardOrderUser.vue +2 -2
  630. package/src/modules/orders/components/forms/FormCustomerDetails.vue +2 -2
  631. package/src/modules/orders/components/pages/Applications.vue +59 -57
  632. package/src/modules/orders/components/pages/Customers.vue +40 -27
  633. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  634. package/src/modules/orders/components/sections/ApplicationDetails.vue +1 -4
  635. package/src/modules/orders/components/sections/CustomerDetails.vue +1 -4
  636. package/src/modules/orders/controllers/orders.controller.js +113 -0
  637. package/src/modules/orders/middlewares/applications.verifier.js +13 -37
  638. package/src/modules/orders/middlewares/customers.verifier.js +44 -121
  639. package/src/modules/orders/models/customer.model.js +0 -1
  640. package/src/modules/orders/routes/applications.routes.js +108 -50
  641. package/src/modules/orders/routes/orders.routes.js +9 -1
  642. package/src/modules/organizations/components/blocks/CardOrganization.vue +12 -4
  643. package/src/modules/organizations/components/forms/DepartmentForm.vue +9 -4
  644. package/src/modules/organizations/components/pages/Members.vue +62 -1
  645. package/src/modules/organizations/components/pages/Organization.new.vue +17 -17
  646. package/src/modules/organizations/components/pages/Organization.vue +8 -1
  647. package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
  648. package/src/modules/organizations/components/pages/OrganizationEdit.vue +11 -4
  649. package/src/modules/organizations/components/pages/Organizations.vue +33 -46
  650. package/src/modules/organizations/controllers/invites.controller.js +19 -0
  651. package/src/modules/organizations/controllers/memberships.controller.js +1 -0
  652. package/src/modules/organizations/organizations.client.js +48 -7
  653. package/src/modules/organizations/router/organizations.backoffice.router.js +15 -0
  654. package/src/modules/organizations/router/organizations.router.js +72 -112
  655. package/src/modules/organizations/router/organizations.user.router.js +15 -0
  656. package/src/modules/pages/pages.client.js +1 -1
  657. package/src/modules/pages/views/router/pages.router.js +95 -15
  658. package/src/modules/products/components/blocks/CardPosition.vue +1 -1
  659. package/src/modules/products/components/pages/Products.vue +3 -3
  660. package/src/modules/rents/controllers/services/rents.services.js +1 -0
  661. package/src/modules/rents/rents.client.js +1 -1
  662. package/src/modules/rents/views/router/rents.router.js +93 -33
  663. package/src/modules/reports/reports.client.js +1 -1
  664. package/src/modules/wallet/wallet.client.js +1 -1
  665. package/src/styles/theme.scss +5 -3
  666. package/dist/engagement.schema-fh6W1fb_.js +0 -24
  667. package/dist/main-DQm5pwFO.js +0 -8213
  668. package/dist/martyrs/dist/main-DQm5pwFO.js +0 -1080
  669. package/dist/martyrs/dist/main-DQm5pwFO.js.map +0 -1
  670. package/dist/martyrs/dist/web-n_ivHO3v.js +0 -55
  671. package/dist/martyrs/dist/web-n_ivHO3v.js.map +0 -1
  672. package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
  673. package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
  674. 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
  675. 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
  676. 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
  677. 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
  678. package/dist/martyrs/src/components/Address/Address.vue.js.map +0 -1
  679. package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
  680. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
  681. package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
  682. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +0 -1
  683. package/dist/martyrs/src/modules/community/community.router.js +0 -124
  684. package/dist/martyrs/src/modules/community/community.router.js.map +0 -1
  685. package/dist/martyrs/src/modules/icons/icons.router.js.map +0 -1
  686. package/dist/martyrs/src/modules/music/music.router.js.map +0 -1
  687. package/dist/martyrs/src/modules/notifications/notifications.router.js.map +0 -1
  688. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +0 -200
  689. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +0 -1
  690. package/dist/martyrs/src/modules/organizations/organizations.router.js +0 -145
  691. package/dist/martyrs/src/modules/organizations/organizations.router.js.map +0 -1
  692. package/dist/martyrs/src/modules/pages/pages.router.js.map +0 -1
  693. package/dist/martyrs/src/modules/rents/rents.router.js.map +0 -1
  694. package/dist/martyrs/src/modules/reports/reports.router.js.map +0 -1
  695. package/dist/martyrs.css +0 -1
  696. package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
  697. package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
  698. package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js +0 -8
  699. package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js.map +0 -1
  700. package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js +0 -146
  701. package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js.map +0 -1
  702. package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -18
  703. package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +0 -1
  704. package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js +0 -9
  705. package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js.map +0 -1
  706. package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js +0 -6
  707. package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +0 -1
  708. package/dist/web-n_ivHO3v.js +0 -54
  709. package/src/jit/.claude/settings.local.json +0 -10
  710. package/src/modules/community/community.router.js +0 -107
  711. package/src/modules/governance/governance.router.js +0 -350
  712. package/src/modules/governance/seed-governance.js +0 -348
  713. package/src/modules/governance/views/components/pages/InitiativeMilestones.vue +0 -159
  714. package/src/modules/governance/views/router/goverance.router.js +0 -290
  715. package/src/modules/governance/views/store/votes.js +0 -113
  716. package/src/modules/icons/icons.router.js +0 -29
  717. package/src/modules/marketplace/marketplace.router.js +0 -66
  718. package/src/modules/music/.claude/settings.local.json +0 -8
  719. package/src/modules/music/music.router.js +0 -188
  720. package/src/modules/notifications/notifications.router.js +0 -47
  721. package/src/modules/orders/orders.router.js +0 -255
  722. package/src/modules/organizations/organizations.router.js +0 -123
  723. package/src/modules/organizations/router/backoffice.router.js +0 -27
  724. package/src/modules/organizations/router/departments.router.js +0 -15
  725. package/src/modules/organizations/router/members.router.js +0 -20
  726. package/src/modules/pages/pages.router.js +0 -107
  727. package/src/modules/rents/rents.router.js +0 -115
  728. package/src/modules/reports/reports.router.js +0 -33
  729. package/src/modules/wallet/wallet.router.js +0 -45
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Task.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/pages/Task.vue"],"sourcesContent":["<script setup>\nimport { ref, computed, onMounted } from 'vue';\nimport { useRoute } from 'vue-router';\nimport TaskStatusBadge from '../partials/TaskStatusBadge.vue';\nimport { tasksActions, tasksState } from '../../store/tasks';\nimport { initiativesActions, initiativesState } from '../../store/initiatives';\nimport { sprintsActions, sprintsState } from '../../store/sprints';\nimport { votingsActions, votingsState } from '../../store/votings';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\nimport { IconArrow, IconCheckmark, IconCross, IconProfile, IconCalendar, IconAttach, IconGroups, IconTime, IconLock, IconSend } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst { formatDate } = useGlobalMixins();\n\nconst route = useRoute();\nconst showAssignForm = ref(false);\n\nconst task = computed(() => tasksState.current);\nconst initiative = computed(() => initiativesState.current);\nconst sprint = computed(() => sprintsState.current);\nconst startVoting = computed(() => {\n if (!task.value?.proposedByVoting) return null;\n return votingsState.all.find(v => v._id === task.value.proposedByVoting);\n});\nconst approvalVoting = computed(() => {\n if (!task.value?.completionVoting) return null;\n return votingsState.all.find(v => v._id === task.value.completionVoting);\n});\n\nconst priorityConfig = {\n low: { label: 'Low', color: 't-green-nice', bg: 'bg-green-small' },\n medium: { label: 'Medium', color: 't-yellow-nice', bg: 'bg-yellow-small' },\n high: { label: 'High', color: 't-red-nice', bg: 'bg-red-small' },\n};\n\nconst priority = computed(() => task.value ? priorityConfig[task.value.priority] : null);\n\nconst handleAssignToMe = () => console.log('Assigning task to current user');\nconst handleSubmitForReview = () => console.log('Submitting task for review');\nconst handleCompleteTask = () => console.log('Completing task');\nconst handleAssignTask = (userId) => {\n console.log('Assigning task to user:', userId);\n showAssignForm.value = false;\n};\nconst handleMerge = () => console.log('Merging changes');\nconst handleApproveBudget = () => console.log('Approving budget');\nconst handleDeploy = () => console.log('Deploying changes');\nconst handleVeto = () => console.log('Vetoing task');\n\nonMounted(async () => {\n await tasksActions.getTaskById(route.params.taskId);\n await votingsActions.getAllVotings();\n if (tasksState.current?.initiative) {\n await initiativesActions.getInitiativeById(tasksState.current.initiative);\n }\n if (tasksState.current?.sprint) {\n await sprintsActions.getSprintById(tasksState.current.sprint);\n }\n});\n</script>\n\n<template>\n <div v-if=\"!task || !task._id\" class=\"min-h-100vh flex flex-center flex\">\n <div class=\"t-center\">\n <h2 class=\"h2 fw-medium mn-b-small\">Task not found</h2>\n <router-link to=\"/governance\" class=\"t-main hover:t-main-semi\">\n Back to initiatives\n </router-link>\n </div>\n </div>\n\n <div v-else class=\"min-h-100vh\">\n <div class=\"pd-medium pd-y-semi\">\n <div class=\"bg-light radius-semi o-hidden mn-b-semi\">\n <div class=\"pd-semi\">\n <div class=\"flex flex-justify-between flex-align-start mn-b-semi\">\n <div class=\"flex-child-1\">\n <div class=\"flex flex-v-center gap-small mn-b-small\">\n <TaskStatusBadge :status=\"task.status\" />\n <span v-if=\"priority\" :class=\"`pd-micro pd-x-small radius-extra p-micro fw-medium ${priority.bg} ${priority.color} flex flex-v-center gap-micro`\">\n <svg class=\"i-medium\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z\"/>\n <line x1=\"4\" y1=\"22\" x2=\"4\" y2=\"15\"/>\n </svg>\n {{ priority.label }} Priority\n </span>\n <span v-if=\"task.passed\" class=\"pd-micro pd-x-small radius-extra p-micro fw-medium bg-green-small t-green-nice flex flex-v-center gap-micro\">\n <IconCheckmark class=\"i-regular\" :fill=\"'currentColor'\" />\n Passed\n </span>\n </div>\n <h1 class=\"h1 fw-medium mn-b-medium\">{{ task.title }}</h1>\n <p class=\"p-semi t-dark t-line-relaxed\" style=\"white-space: pre-wrap;\">{{ task.description }}</p>\n </div>\n </div>\n\n <div>\n <div class=\"cols-2 mobile:cols-1 gap-small\">\n <div class=\"flex flex-column gap-regular\">\n <div class=\"flex flex-align-start gap-small\">\n <IconProfile class=\"i-medium mn-t-micro\" :fill=\"'rgb(var(--grey))'\" />\n <div class=\"flex-child-1\">\n <div class=\"p-small t-dark mn-b-small\">Assignee</div>\n <div v-if=\"task.assignee\" class=\"flex flex-v-center gap-thin\">\n <img :src=\"task.assignee.avatar\" :alt=\"task.assignee.name\" class=\"i-medium radius-extra\" />\n <span class=\"fw-medium\">{{ task.assignee.name }}</span>\n </div>\n <div v-else-if=\"task.assignedTo\" class=\"fw-medium\">{{ task.assignedTo }}</div>\n <div v-else class=\"flex flex-column gap-thin\">\n <span class=\"t-dark\">Unassigned</span>\n <div v-if=\"task.status === 'not_started'\" class=\"flex gap-thin\">\n <button @click=\"handleAssignToMe\" class=\"bg-main hover:bg-main-semi t-white p-small fw-medium pd-micro pd-x-small radius-medium ease-cubic-in-out\">\n Assign to Me\n </button>\n <button @click=\"showAssignForm = true\" class=\"bg-light hover:bg-white t-dark br-1px br-light p-small fw-medium pd-micro pd-x-small radius-medium ease-cubic-in-out\">\n Assign to User\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"flex flex-align-start gap-small\">\n <IconCalendar class=\"i-medium mn-t-micro\" :fill=\"'rgb(var(--grey))'\" />\n <div>\n <div class=\"p-small t-dark mn-b-micro\">Created / Due Date</div>\n <div class=\"fw-medium\">{{ formatDate(task.createdAt, { dateOnly: true }) }} → {{ formatDate(task.dueDate, { dateOnly: true }) }}</div>\n </div>\n </div>\n </div>\n\n <div>\n <div class=\"flex flex-align-start gap-small\">\n <svg class=\"i-medium t-dark mn-t-micro\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z\"/>\n <line x1=\"7\" y1=\"7\" x2=\"7.01\" y2=\"7\"/>\n </svg>\n <div>\n <div class=\"p-small t-dark mn-b-small\">Tags</div>\n <div class=\"flex flex-wrap gap-thin\">\n <span v-for=\"tag in task.tags\" :key=\"tag\" class=\"pd-micro pd-x-small bg-white t-dark p-small radius-extra\">\n {{ tag }}\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div v-if=\"task.project || task.repository\" class=\"mn-t-semi\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <svg class=\"i-medium t-dark\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <line x1=\"22\" y1=\"2\" x2=\"11\" y2=\"13\"/>\n <polygon points=\"22 2 15 22 11 13 2 9 22 2\"/>\n </svg>\n <h3 class=\"p-regular fw-medium\">Repository Information</h3>\n </div>\n <div class=\"cols-3 gap-regular mn-b-medium\">\n <div v-if=\"task.project || (initiative && initiative._id)\" class=\"pd-small br-black-transp-10 br-1px radius-medium\">\n <div class=\"p-micro t-dark mn-b-micro\">Project</div>\n <div class=\"fw-medium\">{{ task.project || initiative?.title }}</div>\n </div>\n <div v-if=\"task.repository\" class=\"pd-small br-black-transp-10 br-1px radius-medium\">\n <div class=\"p-micro t-dark mn-b-micro\">Repository</div>\n <div class=\"fw-medium\">{{ task.repository }}</div>\n </div>\n <div v-if=\"task.branch !== undefined\" class=\"pd-small br-black-transp-10 br-1px radius-medium\">\n <div class=\"p-micro t-dark mn-b-micro\">Branch</div>\n <div class=\"fw-medium\">{{ task.branch || 'Not created' }}</div>\n </div>\n </div>\n <div class=\"flex flex-justify-between flex-v-center\">\n <div v-if=\"task.mergeRequests && task.mergeRequests.length > 0\">\n <div class=\"p-micro t-dark mn-b-small\">Merge Requests</div>\n <div class=\"flex flex-wrap gap-thin\">\n <span v-for=\"mr in task.mergeRequests\" :key=\"mr\" class=\"pd-micro pd-x-small bg-main-small t-main p-small radius-extra flex flex-v-center gap-micro\">\n <svg class=\"i-medium\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <circle cx=\"18\" cy=\"18\" r=\"3\"/>\n <circle cx=\"6\" cy=\"6\" r=\"3\"/>\n <path d=\"M6 21V9a9 9 0 0 0 9 9\"/>\n </svg>\n {{ mr }}\n </span>\n </div>\n </div>\n <div v-if=\"task.permissions\" class=\"flex gap-thin\">\n <button v-if=\"task.permissions.merge\" @click=\"handleMerge\" class=\"bg-fifth hover:bg-fifth-semi t-white p-small fw-medium pd-small pd-x-medium radius-medium ease-cubic-in-out flex flex-v-center gap-thin\">\n <svg class=\"i-medium\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <circle cx=\"18\" cy=\"18\" r=\"3\"/>\n <circle cx=\"6\" cy=\"6\" r=\"3\"/>\n <path d=\"M6 21V9a9 9 0 0 0 9 9\"/>\n </svg>\n Merge\n </button>\n <button v-if=\"task.permissions.deploy\" @click=\"handleDeploy\" class=\"bg-orange-nice hover:bg-orange-semi t-white p-small fw-medium pd-small pd-x-medium radius-medium ease-cubic-in-out flex flex-v-center gap-thin\">\n <svg class=\"i-medium\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z\"/>\n <line x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\"/>\n <path d=\"M16 10a4 4 0 0 1-8 0\"/>\n </svg>\n Deploy\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div v-if=\"(initiative && initiative._id) || (sprint && sprint._id)\" class=\"bg-light radius-semi pd-semi mn-b-semi\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <IconAttach class=\"i-medium\" :fill=\"'rgb(var(--grey))'\" />\n <h3 class=\"p-regular fw-medium\">Part Of</h3>\n </div>\n <div class=\"cols-2 mobile:cols-1 gap-small\">\n <router-link v-if=\"initiative && initiative._id\" :to=\"`/governance/initiatives/${initiative._id}`\" class=\"d-block pd-medium bg-main-small br-1px br-main-semi radius-medium hover:bg-main-tiny ease-cubic-in-out\">\n <div class=\"p-micro t-main fw-medium mn-b-micro\">Initiative</div>\n <div class=\"fw-medium\">{{ initiative.title }}</div>\n </router-link>\n <router-link v-if=\"sprint && sprint._id\" :to=\"`/governance/initiatives/${route.params.id}/sprints/${sprint._id}`\" class=\"d-block pd-medium bg-green-small br-1px br-green-semi radius-medium hover:bg-green-tiny ease-cubic-in-out\">\n <div class=\"p-micro t-green-nice fw-medium mn-b-micro\">Sprint</div>\n <div class=\"fw-medium\">{{ sprint.name }}</div>\n </router-link>\n </div>\n </div>\n\n <div class=\"bg-light radius-semi pd-semi mn-b-semi\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <IconGroups class=\"i-medium\" :fill=\"'rgb(var(--grey))'\" />\n <h3 class=\"p-semi fw-medium\">Task Governance & Budget</h3>\n </div>\n\n <div class=\"cols-2 mobile:cols-1 gap-small\">\n <div class=\"flex flex-column gap-regular\">\n <div class=\"pd-medium br-black-transp-10 br-1px radius-medium\">\n <h4 class=\"p-small fw-medium mn-b-small\">Task Acceptance</h4>\n <p class=\"p-small t-dark\">\n <span v-if=\"task.proposedByVoting\">This task requires <span class=\"fw-medium t-main\">public voting</span> to start work.</span>\n <span v-else>Team members can start working on this task directly.</span>\n </p>\n </div>\n\n <div class=\"pd-medium br-black-transp-10 br-1px radius-medium\">\n <h4 class=\"p-small fw-medium mn-b-small\">Approval Process</h4>\n <p class=\"p-small t-dark\">\n <span v-if=\"task.completionVoting\">Task completion requires <span class=\"fw-medium t-main\">public voting approval</span>.</span>\n <span v-else>Task completion is approved by team members.</span>\n </p>\n </div>\n\n <div v-if=\"task.visibility\" class=\"pd-medium br-black-transp-10 br-1px radius-medium\">\n <h4 class=\"p-small fw-medium mn-b-small\">Decision Making</h4>\n <div class=\"flex flex-column gap-thin p-small\">\n <div class=\"flex flex-justify-between\">\n <span class=\"t-dark\">Governance Type:</span>\n <span class=\"fw-medium\">{{ task.visibility.type === 'public' ? 'Community-based' : 'Team-based' }}</span>\n </div>\n <div class=\"flex flex-justify-between\">\n <span class=\"t-dark\">Visibility:</span>\n <span class=\"fw-medium t-capitalize\">{{ task.visibility.type }}</span>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"flex flex-column gap-regular\">\n <div v-if=\"task.budget\" class=\"pd-medium bg-grad-[to-br_green-10_main-10] br-1px br-green-semi radius-medium\">\n <div class=\"flex flex-v-center gap-thin mn-b-small\">\n <svg class=\"i-semi t-dark\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <line x1=\"12\" y1=\"1\" x2=\"12\" y2=\"23\"/>\n <path d=\"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6\"/>\n </svg>\n <h4 class=\"p-small fw-medium\">Budget</h4>\n </div>\n <div class=\"flex flex-justify-between flex-v-center mn-b-small\">\n <div class=\"h2 fw-medium\">{{ task.budget.amount }} {{ task.budget.currency }}</div>\n <div>\n <span v-if=\"task.budget.approved\" class=\"flex flex-v-center gap-micro t-green-nice fw-medium p-small\">\n <IconCheckmark class=\"i-regular\" :fill=\"'currentColor'\" />\n Approved\n </span>\n <span v-else class=\"flex flex-v-center gap-micro t-yellow-nice fw-medium p-small\">\n <IconTime class=\"i-regular\" :fill=\"'currentColor'\" />\n Pending\n </span>\n </div>\n </div>\n <button v-if=\"task.permissions && task.permissions.budget && !task.budget.approved\" @click=\"handleApproveBudget\" class=\"w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out flex flex-center flex gap-thin\">\n <svg class=\"i-medium\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <line x1=\"12\" y1=\"1\" x2=\"12\" y2=\"23\"/>\n <path d=\"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6\"/>\n </svg>\n Approve Budget\n </button>\n </div>\n\n <div v-if=\"task.permissions\" class=\"pd-medium br-black-transp-10 br-1px radius-medium\">\n <h4 class=\"p-small fw-medium mn-b-small\">Permissions</h4>\n <div class=\"flex flex-column gap-thin\">\n <div class=\"flex flex-justify-between flex-v-center p-small\">\n <span class=\"t-dark\">Merge Rights</span>\n <IconCheckmark v-if=\"task.permissions.merge\" class=\"i-regular\" :fill=\"'rgb(var(--green-nice))'\" />\n <IconCross v-else class=\"i-regular\" :fill=\"'rgb(var(--grey))'\" />\n </div>\n <div class=\"flex flex-justify-between flex-v-center p-small\">\n <span class=\"t-dark\">Budget Approval</span>\n <IconCheckmark v-if=\"task.permissions.budget\" class=\"i-regular\" :fill=\"'rgb(var(--green-nice))'\" />\n <IconCross v-else class=\"i-regular\" :fill=\"'rgb(var(--grey))'\" />\n </div>\n <div class=\"flex flex-justify-between flex-v-center p-small\">\n <span class=\"t-dark\">Deploy Rights</span>\n <IconCheckmark v-if=\"task.permissions.deploy\" class=\"i-regular\" :fill=\"'rgb(var(--green-nice))'\" />\n <IconCross v-else class=\"i-regular\" :fill=\"'rgb(var(--grey))'\" />\n </div>\n <div class=\"flex flex-justify-between flex-v-center p-small\">\n <span class=\"t-dark\">Veto Power</span>\n <IconCheckmark v-if=\"task.permissions.veto\" class=\"i-regular\" :fill=\"'rgb(var(--green-nice))'\" />\n <IconCross v-else class=\"i-regular\" :fill=\"'rgb(var(--grey))'\" />\n </div>\n </div>\n <button v-if=\"task.permissions.veto\" @click=\"handleVeto\" class=\"w-100 mn-t-small bg-red-nice hover:bg-red-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out flex flex-center flex gap-thin\">\n <IconLock class=\"i-regular\" :fill=\"'currentColor'\" />\n Veto Task\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"bg-light radius-semi pd-semi\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <IconSend class=\"i-medium\" :fill=\"'rgb(var(--grey))'\" />\n <h3 class=\"p-semi fw-medium\">Governance & Voting</h3>\n </div>\n <div class=\"cols-2 mobile:cols-1 gap-regular\">\n <div class=\"br-2px br-main-semi radius-medium pd-medium bg-main-small\">\n <div class=\"p-micro t-main fw-medium t-uppercase mn-b-small\">Start Voting</div>\n <template v-if=\"startVoting\">\n <router-link :to=\"`/governance/initiatives/${route.params.id}/votings/${startVoting._id}`\" class=\"d-block hover:bg-main-tiny radius-medium ease-cubic-in-out\" style=\"margin: -1rem; padding: 1rem;\">\n <h4 class=\"fw-medium mn-b-small\">{{ startVoting.title }}</h4>\n <div class=\"flex flex-v-center gap-thin mn-b-small\">\n <TaskStatusBadge :status=\"startVoting.result || startVoting.status\" />\n </div>\n <div class=\"p-small t-dark flex flex-justify-between\">\n <span>Yes: {{ startVoting.yesVotes || 0 }}</span>\n <span>No: {{ startVoting.noVotes || 0 }}</span>\n <span>Abstain: {{ startVoting.abstainVotes || 0 }}</span>\n </div>\n </router-link>\n <div v-if=\"(startVoting.result || startVoting.status) === 'approved' && task.status === 'not_started' && (task.assignee || task.assignedTo)\" class=\"mn-t-small pd-t-small br-t-1px br-main-semi\">\n <button @click=\"handleSubmitForReview\" class=\"w-100 bg-main hover:bg-main-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out\">\n Begin Work\n </button>\n </div>\n </template>\n <template v-else>\n <p class=\"p-small t-dark mn-b-small\">No start voting required. Team members can begin work directly.</p>\n <button v-if=\"task.status === 'proposed'\" class=\"w-100 bg-main hover:bg-main-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out\">\n Create Start Voting\n </button>\n </template>\n </div>\n\n <div class=\"br-2px br-green-semi radius-medium pd-medium bg-green-small\">\n <div class=\"p-micro t-green-nice fw-medium t-uppercase mn-b-small\">Approval Voting</div>\n <template v-if=\"approvalVoting\">\n <router-link :to=\"`/governance/initiatives/${route.params.id}/votings/${approvalVoting._id}`\" class=\"d-block hover:bg-green-tiny radius-medium ease-cubic-in-out\" style=\"margin: -1rem; padding: 1rem;\">\n <h4 class=\"fw-medium mn-b-small\">{{ approvalVoting.title }}</h4>\n <div class=\"flex flex-v-center gap-thin mn-b-small\">\n <TaskStatusBadge :status=\"approvalVoting.result || approvalVoting.status\" />\n </div>\n <div class=\"p-small t-dark flex flex-justify-between\">\n <span>Yes: {{ approvalVoting.yesVotes || 0 }}</span>\n <span>No: {{ approvalVoting.noVotes || 0 }}</span>\n <span>Abstain: {{ approvalVoting.abstainVotes || 0 }}</span>\n </div>\n </router-link>\n <div v-if=\"(approvalVoting.result || approvalVoting.status) === 'approved' && task.status === 'review'\" class=\"mn-t-small pd-t-small br-t-1px br-green-semi\">\n <button @click=\"handleCompleteTask\" class=\"w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out\">\n Complete Task\n </button>\n </div>\n </template>\n <template v-else>\n <p class=\"p-small t-dark mn-b-small\">Not submitted for approval yet.</p>\n <button v-if=\"task.status === 'in_progress' && (task.assignee || task.assignedTo)\" @click=\"handleSubmitForReview\" class=\"w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out\">\n Submit for Review\n </button>\n <button v-if=\"task.status === 'review'\" class=\"w-100 bg-green-nice hover:bg-green-semi t-white p-small fw-medium pd-small radius-medium ease-cubic-in-out\">\n Create Approval Voting\n </button>\n </template>\n </div>\n </div>\n </div>\n\n <div v-if=\"showAssignForm\" class=\"fixed inset-0 bg-dark-overlay flex flex-center flex z-50\" @click.self=\"showAssignForm = false\">\n <div class=\"bg-light radius-medium pd-semi w-max-30r\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-medium\">\n <h3 class=\"h3 fw-medium\">Assign Task</h3>\n <button @click=\"showAssignForm = false\" class=\"t-dark hover:t-dark ease-cubic-in-out\">\n <IconCross class=\"i-medium\" :fill=\"'currentColor'\" />\n </button>\n </div>\n <p class=\"p-regular t-dark t-center\">Task assignment form coming soon...</p>\n </div>\n </div>\n </div>\n </div>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,UAAM,EAAE,WAAU,IAAK,gBAAe;AAEtC,UAAM,QAAQ,SAAQ;AACtB,UAAM,iBAAiB,IAAI,KAAK;AAEhC,UAAM,OAAO,SAAS,MAAM,WAAW,OAAO;AAC9C,UAAM,aAAa,SAAS,MAAM,iBAAiB,OAAO;AAC1D,UAAM,SAAS,SAAS,MAAM,aAAa,OAAO;AAClD,UAAM,cAAc,SAAS,MAAM;AACjC,UAAI,CAAC,KAAK,OAAO,iBAAkB,QAAO;AAC1C,aAAO,aAAa,IAAI,KAAK,OAAK,EAAE,QAAQ,KAAK,MAAM,gBAAgB;AAAA,IACzE,CAAC;AACD,UAAM,iBAAiB,SAAS,MAAM;AACpC,UAAI,CAAC,KAAK,OAAO,iBAAkB,QAAO;AAC1C,aAAO,aAAa,IAAI,KAAK,OAAK,EAAE,QAAQ,KAAK,MAAM,gBAAgB;AAAA,IACzE,CAAC;AAED,UAAM,iBAAiB;AAAA,MACrB,KAAK,EAAE,OAAO,OAAO,OAAO,gBAAgB,IAAI,iBAAgB;AAAA,MAChE,QAAQ,EAAE,OAAO,UAAU,OAAO,iBAAiB,IAAI,kBAAiB;AAAA,MACxE,MAAM,EAAE,OAAO,QAAQ,OAAO,cAAc,IAAI,eAAc;AAAA,IAChE;AAEA,UAAM,WAAW,SAAS,MAAM,KAAK,QAAQ,eAAe,KAAK,MAAM,QAAQ,IAAI,IAAI;AAEvF,UAAM,mBAAmB,MAAM,QAAQ,IAAI,gCAAgC;AAC3E,UAAM,wBAAwB,MAAM,QAAQ,IAAI,4BAA4B;AAC5E,UAAM,qBAAqB,MAAM,QAAQ,IAAI,iBAAiB;AAK9D,UAAM,cAAc,MAAM,QAAQ,IAAI,iBAAiB;AACvD,UAAM,sBAAsB,MAAM,QAAQ,IAAI,kBAAkB;AAChE,UAAM,eAAe,MAAM,QAAQ,IAAI,mBAAmB;AAC1D,UAAM,aAAa,MAAM,QAAQ,IAAI,cAAc;AAEnD,cAAU,YAAY;AACpB,YAAM,aAAa,YAAY,MAAM,OAAO,MAAM;AAClD,YAAM,eAAe,cAAa;AAClC,UAAI,WAAW,SAAS,YAAY;AAClC,cAAM,mBAAmB,kBAAkB,WAAW,QAAQ,UAAU;AAAA,MAC1E;AACA,UAAI,WAAW,SAAS,QAAQ;AAC9B,cAAM,eAAe,cAAc,WAAW,QAAQ,MAAM;AAAA,MAC9D;AAAA,IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,88 @@
1
+ import { ref, resolveComponent, createElementBlock, openBlock, createVNode, createElementVNode, unref, withCtx, createTextVNode, normalizeClass, toDisplayString } from "vue";
2
+ import { useRoute, useRouter } from "vue-router";
3
+ import { tasksActions } from "../../store/tasks.js";
4
+ import _sfc_main$2 from "../sections/FormTaskDetails.vue.js";
5
+ /* empty css */
6
+ import _sfc_main$1 from "../../../../icons/navigation/IconArrow.vue.js";
7
+ /* empty css */
8
+ /* empty css */
9
+ /* empty css */
10
+ /* empty css */
11
+ /* empty css */
12
+ /* empty css */
13
+ /* empty css */
14
+ /* empty css */
15
+ /* empty css */
16
+ /* empty css */
17
+ /* empty css */
18
+ /* empty css */
19
+ /* empty css */
20
+ /* empty css */
21
+ const _hoisted_1 = { class: "pd-medium pd-y-semi" };
22
+ const _hoisted_2 = { class: "flex flex-justify-end mn-t-semi" };
23
+ const _hoisted_3 = ["disabled"];
24
+ const _sfc_main = {
25
+ __name: "TaskCreate",
26
+ setup(__props) {
27
+ const route = useRoute();
28
+ const router = useRouter();
29
+ const newTask = ref({
30
+ title: "",
31
+ description: "",
32
+ status: "not_started",
33
+ assignedTo: "",
34
+ dueDate: null,
35
+ sprint: "",
36
+ initiative: "",
37
+ priority: "medium",
38
+ tags: []
39
+ });
40
+ const creating = ref(false);
41
+ const createTask = async () => {
42
+ if (!newTask.value.title) return;
43
+ creating.value = true;
44
+ try {
45
+ const response = await tasksActions.createTask(newTask.value);
46
+ router.push(`/governance/initiatives/${route.params.id}/tasks/${response._id || response.id}`);
47
+ } catch (e) {
48
+ creating.value = false;
49
+ }
50
+ };
51
+ return (_ctx, _cache) => {
52
+ const _component_router_link = resolveComponent("router-link");
53
+ return openBlock(), createElementBlock("div", _hoisted_1, [
54
+ createVNode(_component_router_link, {
55
+ to: `/governance/initiatives/${unref(route).params.id}/tasks`,
56
+ class: "flex flex-v-center t-dark hover:t-dark mn-b-semi ease-cubic-in-out",
57
+ style: { "text-decoration": "none", "width": "fit-content" }
58
+ }, {
59
+ default: withCtx(() => [
60
+ createVNode(unref(_sfc_main$1), {
61
+ class: "i-medium mn-r-thin",
62
+ rotation: 180,
63
+ fill: "currentColor"
64
+ }),
65
+ _cache[1] || (_cache[1] = createTextVNode(" Back to tasks "))
66
+ ]),
67
+ _: 1
68
+ }, 8, ["to"]),
69
+ _cache[2] || (_cache[2] = createElementVNode("h1", { class: "h2 fw-medium mn-b-semi" }, "Create New Task", -1)),
70
+ createVNode(_sfc_main$2, {
71
+ modelValue: newTask.value,
72
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => newTask.value = $event)
73
+ }, null, 8, ["modelValue"]),
74
+ createElementVNode("div", _hoisted_2, [
75
+ createElementVNode("button", {
76
+ onClick: createTask,
77
+ disabled: !newTask.value.title || creating.value,
78
+ class: normalizeClass(["bg-main hover:bg-main-semi t-white fw-medium pd-medium pd-x-semi radius-medium p-regular ease-cubic-in-out", { "o-50": !newTask.value.title || creating.value }])
79
+ }, toDisplayString(creating.value ? "Creating..." : "Create Task"), 11, _hoisted_3)
80
+ ])
81
+ ]);
82
+ };
83
+ }
84
+ };
85
+ export {
86
+ _sfc_main as default
87
+ };
88
+ //# sourceMappingURL=TaskCreate.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskCreate.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/pages/TaskCreate.vue"],"sourcesContent":["<script setup>\nimport { ref } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\nimport { tasksActions } from '../../store/tasks';\nimport FormTaskDetails from '../sections/FormTaskDetails.vue';\nimport { IconArrow } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst router = useRouter();\n\nconst newTask = ref({\n title: '',\n description: '',\n status: 'not_started',\n assignedTo: '',\n dueDate: null,\n sprint: '',\n initiative: '',\n priority: 'medium',\n tags: [],\n});\n\nconst creating = ref(false);\n\nconst createTask = async () => {\n if (!newTask.value.title) return;\n creating.value = true;\n try {\n const response = await tasksActions.createTask(newTask.value);\n router.push(`/governance/initiatives/${route.params.id}/tasks/${response._id || response.id}`);\n } catch (e) {\n creating.value = false;\n }\n};\n</script>\n\n<template>\n <div class=\"pd-medium pd-y-semi\">\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/tasks`\"\n class=\"flex flex-v-center t-dark hover:t-dark mn-b-semi ease-cubic-in-out\"\n style=\"text-decoration: none; width: fit-content;\"\n >\n <IconArrow class=\"i-medium mn-r-thin\" :rotation=\"180\" :fill=\"'currentColor'\" />\n Back to tasks\n </router-link>\n\n <h1 class=\"h2 fw-medium mn-b-semi\">Create New Task</h1>\n\n <FormTaskDetails v-model=\"newTask\" />\n\n <div class=\"flex flex-justify-end mn-t-semi\">\n <button\n @click=\"createTask\"\n :disabled=\"!newTask.title || creating\"\n class=\"bg-main hover:bg-main-semi t-white fw-medium pd-medium pd-x-semi radius-medium p-regular ease-cubic-in-out\"\n :class=\"{ 'o-50': !newTask.title || creating }\"\n >\n {{ creating ? 'Creating...' : 'Create Task' }}\n </button>\n </div>\n </div>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAM,QAAQ,SAAQ;AACtB,UAAM,SAAS,UAAS;AAExB,UAAM,UAAU,IAAI;AAAA,MAClB,OAAO;AAAA,MACP,aAAa;AAAA,MACb,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,SAAS;AAAA,MACT,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,MAAM,CAAA;AAAA,IACR,CAAC;AAED,UAAM,WAAW,IAAI,KAAK;AAE1B,UAAM,aAAa,YAAY;AAC7B,UAAI,CAAC,QAAQ,MAAM,MAAO;AAC1B,eAAS,QAAQ;AACjB,UAAI;AACF,cAAM,WAAW,MAAM,aAAa,WAAW,QAAQ,KAAK;AAC5D,eAAO,KAAK,2BAA2B,MAAM,OAAO,EAAE,UAAU,SAAS,OAAO,SAAS,EAAE,EAAE;AAAA,MAC/F,SAAS,GAAG;AACV,iBAAS,QAAQ;AAAA,MACnB;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,291 @@
1
+ import { computed, onMounted, resolveComponent, createElementBlock, openBlock, createBlock, unref, createElementVNode, createVNode, withCtx, createTextVNode, createCommentVNode, toDisplayString, Fragment, renderList } from "vue";
2
+ import { useRoute } from "vue-router";
3
+ import _sfc_main$3 from "../blocks/CardTaskItem.vue.js";
4
+ import _sfc_main$2 from "../partials/EmptyState.vue.js";
5
+ import { tasksState, tasksActions } from "../../store/tasks.js";
6
+ /* empty css */
7
+ import _sfc_main$5 from "../../../../icons/entities/IconInfo.vue.js";
8
+ import IconTime from "../../../../icons/entities/IconTime.vue.js";
9
+ import _sfc_main$4 from "../../../../icons/actions/IconShow.vue.js";
10
+ import _sfc_main$1 from "../../../../icons/navigation/IconPlus.vue.js";
11
+ import IconSend from "../../../../icons/navigation/IconSend.vue.js";
12
+ /* empty css */
13
+ /* empty css */
14
+ /* empty css */
15
+ /* empty css */
16
+ /* empty css */
17
+ /* empty css */
18
+ /* empty css */
19
+ /* empty css */
20
+ /* empty css */
21
+ /* empty css */
22
+ /* empty css */
23
+ /* empty css */
24
+ /* empty css */
25
+ /* empty css */
26
+ const _hoisted_1 = {
27
+ key: 0,
28
+ class: "min-h-100vh"
29
+ };
30
+ const _hoisted_2 = { class: "pd-medium pd-y-semi" };
31
+ const _hoisted_3 = { class: "flex flex-justify-between flex-v-center mn-b-semi" };
32
+ const _hoisted_4 = { key: 0 };
33
+ const _hoisted_5 = {
34
+ key: 1,
35
+ class: "flex flex-column gap-small"
36
+ };
37
+ const _hoisted_6 = { key: 0 };
38
+ const _hoisted_7 = { class: "flex flex-v-center gap-thin mn-b-medium" };
39
+ const _hoisted_8 = { class: "p-small t-dark" };
40
+ const _hoisted_9 = { class: "cols-3 gap-small mobile:cols-1 tablet:cols-2" };
41
+ const _hoisted_10 = { key: 1 };
42
+ const _hoisted_11 = { class: "flex flex-v-center gap-thin mn-b-medium" };
43
+ const _hoisted_12 = { class: "p-small t-dark" };
44
+ const _hoisted_13 = { class: "cols-3 gap-small mobile:cols-1 tablet:cols-2" };
45
+ const _hoisted_14 = { key: 2 };
46
+ const _hoisted_15 = { class: "flex flex-v-center gap-thin mn-b-medium" };
47
+ const _hoisted_16 = { class: "p-small t-dark" };
48
+ const _hoisted_17 = { class: "cols-3 gap-small mobile:cols-1 tablet:cols-2" };
49
+ const _hoisted_18 = { key: 3 };
50
+ const _hoisted_19 = { class: "flex flex-v-center gap-thin mn-b-medium" };
51
+ const _hoisted_20 = { class: "p-small t-dark" };
52
+ const _hoisted_21 = { class: "cols-3 gap-small mobile:cols-1 tablet:cols-2" };
53
+ const _hoisted_22 = { key: 4 };
54
+ const _hoisted_23 = { class: "flex flex-v-center gap-thin mn-b-medium" };
55
+ const _hoisted_24 = { class: "p-small t-dark" };
56
+ const _hoisted_25 = { class: "cols-3 gap-small mobile:cols-1 tablet:cols-2" };
57
+ const _hoisted_26 = { key: 5 };
58
+ const _hoisted_27 = { class: "flex flex-v-center gap-thin mn-b-medium" };
59
+ const _hoisted_28 = { class: "p-small t-dark" };
60
+ const _hoisted_29 = { class: "cols-3 gap-small mobile:cols-1 tablet:cols-2" };
61
+ const _hoisted_30 = { key: 6 };
62
+ const _hoisted_31 = { class: "flex flex-v-center gap-thin mn-b-medium" };
63
+ const _hoisted_32 = { class: "p-small t-dark" };
64
+ const _hoisted_33 = { class: "cols-3 gap-small mobile:cols-1 tablet:cols-2" };
65
+ const _sfc_main = {
66
+ __name: "Tasks",
67
+ setup(__props) {
68
+ const route = useRoute();
69
+ const tasks = computed(() => tasksState.all);
70
+ const completedTasks = computed(() => tasks.value.filter((t) => t.status === "completed"));
71
+ const inProgressTasks = computed(() => tasks.value.filter((t) => t.status === "in_progress"));
72
+ const reviewTasks = computed(() => tasks.value.filter((t) => t.status === "review"));
73
+ const votingTasks = computed(() => tasks.value.filter((t) => t.status === "voting"));
74
+ const proposedTasks = computed(() => tasks.value.filter((t) => t.status === "proposed"));
75
+ const notStartedTasks = computed(() => tasks.value.filter((t) => t.status === "not_started"));
76
+ const blockedTasks = computed(() => tasks.value.filter((t) => t.status === "blocked"));
77
+ onMounted(() => {
78
+ tasksActions.getAllTasks();
79
+ });
80
+ return (_ctx, _cache) => {
81
+ const _component_router_link = resolveComponent("router-link");
82
+ const _component_router_view = resolveComponent("router-view");
83
+ return openBlock(), createElementBlock("div", null, [
84
+ !unref(route).params.taskId ? (openBlock(), createElementBlock("div", _hoisted_1, [
85
+ createElementVNode("div", _hoisted_2, [
86
+ createElementVNode("div", _hoisted_3, [
87
+ _cache[2] || (_cache[2] = createElementVNode("div", null, [
88
+ createElementVNode("h1", { class: "h1 fw-medium" }, "Tasks"),
89
+ createElementVNode("p", { class: "p-regular t-dark mn-t-thin" }, "View and manage all tasks across initiatives")
90
+ ], -1)),
91
+ createVNode(_component_router_link, {
92
+ to: `/governance/initiatives/${unref(route).params.id}/tasks/create`,
93
+ 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",
94
+ style: { "text-decoration": "none" }
95
+ }, {
96
+ default: withCtx(() => [
97
+ createVNode(unref(_sfc_main$1), {
98
+ class: "i-medium",
99
+ fill: "currentColor"
100
+ }),
101
+ _cache[1] || (_cache[1] = createTextVNode(" Create Task "))
102
+ ]),
103
+ _: 1
104
+ }, 8, ["to"])
105
+ ]),
106
+ tasks.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_4, [
107
+ createVNode(_sfc_main$2, {
108
+ title: "No tasks yet",
109
+ message: "Get started by creating your first task.",
110
+ actionText: "Create Task",
111
+ onAction: _cache[0] || (_cache[0] = ($event) => _ctx.$router.push(`/governance/initiatives/${unref(route).params.id}/tasks/create`))
112
+ }, {
113
+ icon: withCtx(() => _cache[3] || (_cache[3] = [
114
+ createElementVNode("svg", {
115
+ class: "w-12r h-12r t-dark",
116
+ viewBox: "0 0 24 24",
117
+ fill: "none",
118
+ stroke: "currentColor",
119
+ "stroke-width": "2"
120
+ }, [
121
+ createElementVNode("path", { d: "M9 11l3 3L22 4" }),
122
+ createElementVNode("path", { d: "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11" })
123
+ ], -1)
124
+ ])),
125
+ _: 1
126
+ })
127
+ ])) : (openBlock(), createElementBlock("div", _hoisted_5, [
128
+ completedTasks.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
129
+ createElementVNode("div", _hoisted_7, [
130
+ _cache[4] || (_cache[4] = createElementVNode("svg", {
131
+ class: "i-semi fill-green-nice",
132
+ viewBox: "0 0 24 24",
133
+ fill: "currentColor"
134
+ }, [
135
+ createElementVNode("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })
136
+ ], -1)),
137
+ _cache[5] || (_cache[5] = createElementVNode("h3", { class: "h4 fw-medium" }, "Completed", -1)),
138
+ createElementVNode("span", _hoisted_8, "(" + toDisplayString(completedTasks.value.length) + ")", 1)
139
+ ]),
140
+ createElementVNode("div", _hoisted_9, [
141
+ (openBlock(true), createElementBlock(Fragment, null, renderList(completedTasks.value, (task) => {
142
+ return openBlock(), createBlock(_sfc_main$3, {
143
+ key: task._id,
144
+ task
145
+ }, null, 8, ["task"]);
146
+ }), 128))
147
+ ])
148
+ ])) : createCommentVNode("", true),
149
+ inProgressTasks.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_10, [
150
+ createElementVNode("div", _hoisted_11, [
151
+ createVNode(unref(IconTime), {
152
+ class: "i-medium",
153
+ fill: "rgb(var(--second))"
154
+ }),
155
+ _cache[6] || (_cache[6] = createElementVNode("h3", { class: "h4 fw-medium" }, "In Progress", -1)),
156
+ createElementVNode("span", _hoisted_12, "(" + toDisplayString(inProgressTasks.value.length) + ")", 1)
157
+ ]),
158
+ createElementVNode("div", _hoisted_13, [
159
+ (openBlock(true), createElementBlock(Fragment, null, renderList(inProgressTasks.value, (task) => {
160
+ return openBlock(), createBlock(_sfc_main$3, {
161
+ key: task._id,
162
+ task
163
+ }, null, 8, ["task"]);
164
+ }), 128))
165
+ ])
166
+ ])) : createCommentVNode("", true),
167
+ reviewTasks.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_14, [
168
+ createElementVNode("div", _hoisted_15, [
169
+ createVNode(unref(_sfc_main$4), {
170
+ class: "i-medium",
171
+ fill: "rgb(var(--fifth))"
172
+ }),
173
+ _cache[7] || (_cache[7] = createElementVNode("h3", { class: "h4 fw-medium" }, "Review", -1)),
174
+ createElementVNode("span", _hoisted_16, "(" + toDisplayString(reviewTasks.value.length) + ")", 1)
175
+ ]),
176
+ createElementVNode("div", _hoisted_17, [
177
+ (openBlock(true), createElementBlock(Fragment, null, renderList(reviewTasks.value, (task) => {
178
+ return openBlock(), createBlock(_sfc_main$3, {
179
+ key: task._id,
180
+ task
181
+ }, null, 8, ["task"]);
182
+ }), 128))
183
+ ])
184
+ ])) : createCommentVNode("", true),
185
+ votingTasks.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_18, [
186
+ createElementVNode("div", _hoisted_19, [
187
+ createVNode(unref(IconSend), {
188
+ class: "i-medium",
189
+ fill: "rgb(var(--main))"
190
+ }),
191
+ _cache[8] || (_cache[8] = createElementVNode("h3", { class: "h4 fw-medium" }, "Voting", -1)),
192
+ createElementVNode("span", _hoisted_20, "(" + toDisplayString(votingTasks.value.length) + ")", 1)
193
+ ]),
194
+ createElementVNode("div", _hoisted_21, [
195
+ (openBlock(true), createElementBlock(Fragment, null, renderList(votingTasks.value, (task) => {
196
+ return openBlock(), createBlock(_sfc_main$3, {
197
+ key: task._id,
198
+ task
199
+ }, null, 8, ["task"]);
200
+ }), 128))
201
+ ])
202
+ ])) : createCommentVNode("", true),
203
+ proposedTasks.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_22, [
204
+ createElementVNode("div", _hoisted_23, [
205
+ createVNode(unref(_sfc_main$5), {
206
+ class: "i-medium",
207
+ fill: "rgb(var(--grey))"
208
+ }),
209
+ _cache[9] || (_cache[9] = createElementVNode("h3", { class: "h4 fw-medium" }, "Proposed", -1)),
210
+ createElementVNode("span", _hoisted_24, "(" + toDisplayString(proposedTasks.value.length) + ")", 1)
211
+ ]),
212
+ createElementVNode("div", _hoisted_25, [
213
+ (openBlock(true), createElementBlock(Fragment, null, renderList(proposedTasks.value, (task) => {
214
+ return openBlock(), createBlock(_sfc_main$3, {
215
+ key: task._id,
216
+ task
217
+ }, null, 8, ["task"]);
218
+ }), 128))
219
+ ])
220
+ ])) : createCommentVNode("", true),
221
+ notStartedTasks.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_26, [
222
+ createElementVNode("div", _hoisted_27, [
223
+ _cache[10] || (_cache[10] = createElementVNode("svg", {
224
+ class: "i-semi fill-grey",
225
+ viewBox: "0 0 24 24",
226
+ fill: "none",
227
+ stroke: "currentColor",
228
+ "stroke-width": "2"
229
+ }, [
230
+ createElementVNode("circle", {
231
+ cx: "12",
232
+ cy: "12",
233
+ r: "10"
234
+ })
235
+ ], -1)),
236
+ _cache[11] || (_cache[11] = createElementVNode("h3", { class: "h4 fw-medium" }, "Not Started", -1)),
237
+ createElementVNode("span", _hoisted_28, "(" + toDisplayString(notStartedTasks.value.length) + ")", 1)
238
+ ]),
239
+ createElementVNode("div", _hoisted_29, [
240
+ (openBlock(true), createElementBlock(Fragment, null, renderList(notStartedTasks.value, (task) => {
241
+ return openBlock(), createBlock(_sfc_main$3, {
242
+ key: task._id,
243
+ task
244
+ }, null, 8, ["task"]);
245
+ }), 128))
246
+ ])
247
+ ])) : createCommentVNode("", true),
248
+ blockedTasks.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_30, [
249
+ createElementVNode("div", _hoisted_31, [
250
+ _cache[12] || (_cache[12] = createElementVNode("svg", {
251
+ class: "i-semi fill-red-nice",
252
+ viewBox: "0 0 24 24",
253
+ fill: "none",
254
+ stroke: "currentColor",
255
+ "stroke-width": "2"
256
+ }, [
257
+ createElementVNode("circle", {
258
+ cx: "12",
259
+ cy: "12",
260
+ r: "10"
261
+ }),
262
+ createElementVNode("line", {
263
+ x1: "4.93",
264
+ y1: "4.93",
265
+ x2: "19.07",
266
+ y2: "19.07"
267
+ })
268
+ ], -1)),
269
+ _cache[13] || (_cache[13] = createElementVNode("h3", { class: "h4 fw-medium" }, "Blocked", -1)),
270
+ createElementVNode("span", _hoisted_32, "(" + toDisplayString(blockedTasks.value.length) + ")", 1)
271
+ ]),
272
+ createElementVNode("div", _hoisted_33, [
273
+ (openBlock(true), createElementBlock(Fragment, null, renderList(blockedTasks.value, (task) => {
274
+ return openBlock(), createBlock(_sfc_main$3, {
275
+ key: task._id,
276
+ task
277
+ }, null, 8, ["task"]);
278
+ }), 128))
279
+ ])
280
+ ])) : createCommentVNode("", true)
281
+ ]))
282
+ ])
283
+ ])) : (openBlock(), createBlock(_component_router_view, { key: 1 }))
284
+ ]);
285
+ };
286
+ }
287
+ };
288
+ export {
289
+ _sfc_main as default
290
+ };
291
+ //# sourceMappingURL=Tasks.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tasks.vue.js","sources":["../../../../../../../../src/modules/governance/views/components/pages/Tasks.vue"],"sourcesContent":["<script setup>\nimport { onMounted, ref, computed } from 'vue';\nimport { useRoute } from 'vue-router';\nimport CardTaskItem from '../blocks/CardTaskItem.vue';\nimport EmptyState from '../partials/EmptyState.vue';\nimport { tasksActions, tasksState } from '../../store/tasks';\nimport { IconPlus, IconCheckmark, IconTime, IconShow, IconSend, IconEntityInfo } from '@martyrs/src/modules/icons/icons.client.js';\n\nconst route = useRoute();\nconst tasks = computed(() => tasksState.all);\n\nconst completedTasks = computed(() => tasks.value.filter(t => t.status === 'completed'));\nconst inProgressTasks = computed(() => tasks.value.filter(t => t.status === 'in_progress'));\nconst reviewTasks = computed(() => tasks.value.filter(t => t.status === 'review'));\nconst votingTasks = computed(() => tasks.value.filter(t => t.status === 'voting'));\nconst proposedTasks = computed(() => tasks.value.filter(t => t.status === 'proposed'));\nconst notStartedTasks = computed(() => tasks.value.filter(t => t.status === 'not_started'));\nconst blockedTasks = computed(() => tasks.value.filter(t => t.status === 'blocked'));\n\nonMounted(() => {\n tasksActions.getAllTasks();\n});\n</script>\n\n<template>\n <div>\n <div v-if=\"!route.params.taskId\" class=\"min-h-100vh\">\n <div class=\"pd-medium pd-y-semi\">\n <div class=\"flex flex-justify-between flex-v-center mn-b-semi\">\n <div>\n <h1 class=\"h1 fw-medium\">Tasks</h1>\n <p class=\"p-regular t-dark mn-t-thin\">View and manage all tasks across initiatives</p>\n </div>\n <router-link\n :to=\"`/governance/initiatives/${route.params.id}/tasks/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 Task\n </router-link>\n </div>\n\n <div v-if=\"tasks.length === 0\">\n <EmptyState\n title=\"No tasks yet\"\n message=\"Get started by creating your first task.\"\n actionText=\"Create Task\"\n @action=\"$router.push(`/governance/initiatives/${route.params.id}/tasks/create`)\"\n >\n <template #icon>\n <svg class=\"w-12r h-12r t-dark\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <path d=\"M9 11l3 3L22 4\"/>\n <path d=\"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11\"/>\n </svg>\n </template>\n </EmptyState>\n </div>\n\n <div v-else class=\"flex flex-column gap-small\">\n <div v-if=\"completedTasks.length > 0\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <svg class=\"i-semi fill-green-nice\" viewBox=\"0 0 24 24\" fill=\"currentColor\">\n <path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"/>\n </svg>\n <h3 class=\"h4 fw-medium\">Completed</h3>\n <span class=\"p-small t-dark\">({{ completedTasks.length }})</span>\n </div>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardTaskItem\n v-for=\"task in completedTasks\"\n :key=\"task._id\"\n :task=\"task\"\n />\n </div>\n </div>\n\n <div v-if=\"inProgressTasks.length > 0\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <IconTime class=\"i-medium\" :fill=\"'rgb(var(--second))'\" />\n <h3 class=\"h4 fw-medium\">In Progress</h3>\n <span class=\"p-small t-dark\">({{ inProgressTasks.length }})</span>\n </div>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardTaskItem\n v-for=\"task in inProgressTasks\"\n :key=\"task._id\"\n :task=\"task\"\n />\n </div>\n </div>\n\n <div v-if=\"reviewTasks.length > 0\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <IconShow class=\"i-medium\" :fill=\"'rgb(var(--fifth))'\" />\n <h3 class=\"h4 fw-medium\">Review</h3>\n <span class=\"p-small t-dark\">({{ reviewTasks.length }})</span>\n </div>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardTaskItem\n v-for=\"task in reviewTasks\"\n :key=\"task._id\"\n :task=\"task\"\n />\n </div>\n </div>\n\n <div v-if=\"votingTasks.length > 0\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <IconSend class=\"i-medium\" :fill=\"'rgb(var(--main))'\" />\n <h3 class=\"h4 fw-medium\">Voting</h3>\n <span class=\"p-small t-dark\">({{ votingTasks.length }})</span>\n </div>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardTaskItem\n v-for=\"task in votingTasks\"\n :key=\"task._id\"\n :task=\"task\"\n />\n </div>\n </div>\n\n <div v-if=\"proposedTasks.length > 0\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <IconEntityInfo class=\"i-medium\" :fill=\"'rgb(var(--grey))'\" />\n <h3 class=\"h4 fw-medium\">Proposed</h3>\n <span class=\"p-small t-dark\">({{ proposedTasks.length }})</span>\n </div>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardTaskItem\n v-for=\"task in proposedTasks\"\n :key=\"task._id\"\n :task=\"task\"\n />\n </div>\n </div>\n\n <div v-if=\"notStartedTasks.length > 0\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <svg class=\"i-semi fill-grey\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"/>\n </svg>\n <h3 class=\"h4 fw-medium\">Not Started</h3>\n <span class=\"p-small t-dark\">({{ notStartedTasks.length }})</span>\n </div>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardTaskItem\n v-for=\"task in notStartedTasks\"\n :key=\"task._id\"\n :task=\"task\"\n />\n </div>\n </div>\n\n <div v-if=\"blockedTasks.length > 0\">\n <div class=\"flex flex-v-center gap-thin mn-b-medium\">\n <svg class=\"i-semi fill-red-nice\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"/>\n <line x1=\"4.93\" y1=\"4.93\" x2=\"19.07\" y2=\"19.07\"/>\n </svg>\n <h3 class=\"h4 fw-medium\">Blocked</h3>\n <span class=\"p-small t-dark\">({{ blockedTasks.length }})</span>\n </div>\n <div class=\"cols-3 gap-small mobile:cols-1 tablet:cols-2\">\n <CardTaskItem\n v-for=\"task in blockedTasks\"\n :key=\"task._id\"\n :task=\"task\"\n />\n </div>\n </div>\n </div>\n </div>\n </div>\n <router-view v-else />\n </div>\n</template>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,UAAM,QAAQ,SAAQ;AACtB,UAAM,QAAQ,SAAS,MAAM,WAAW,GAAG;AAE3C,UAAM,iBAAiB,SAAS,MAAM,MAAM,MAAM,OAAO,OAAK,EAAE,WAAW,WAAW,CAAC;AACvF,UAAM,kBAAkB,SAAS,MAAM,MAAM,MAAM,OAAO,OAAK,EAAE,WAAW,aAAa,CAAC;AAC1F,UAAM,cAAc,SAAS,MAAM,MAAM,MAAM,OAAO,OAAK,EAAE,WAAW,QAAQ,CAAC;AACjF,UAAM,cAAc,SAAS,MAAM,MAAM,MAAM,OAAO,OAAK,EAAE,WAAW,QAAQ,CAAC;AACjF,UAAM,gBAAgB,SAAS,MAAM,MAAM,MAAM,OAAO,OAAK,EAAE,WAAW,UAAU,CAAC;AACrF,UAAM,kBAAkB,SAAS,MAAM,MAAM,MAAM,OAAO,OAAK,EAAE,WAAW,aAAa,CAAC;AAC1F,UAAM,eAAe,SAAS,MAAM,MAAM,MAAM,OAAO,OAAK,EAAE,WAAW,SAAS,CAAC;AAEnF,cAAU,MAAM;AACd,mBAAa,YAAW;AAAA,IAC1B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}