@ozdao/martyrs 0.2.604 → 0.2.605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (833) hide show
  1. package/README.md +2 -2
  2. package/dist/_virtual/dayjs.min.js +1 -1
  3. package/dist/_virtual/weekOfYear.js +1 -1
  4. package/dist/{abac-Blt8bUTL.js → abac-kz5xI99l.js} +1 -0
  5. package/dist/auth.server.js +52 -12
  6. package/dist/builder.js +67 -2
  7. package/dist/chats.server.js +2 -2
  8. package/dist/community.server.js +3 -3
  9. package/dist/core.server.js +2 -2
  10. package/dist/{core.websocket-Cl76z2wT.js → core.websocket-B2FA8gGl.js} +0 -2
  11. package/dist/{crud-BT5FIvQC.js → crud-Cwn0frBP.js} +8 -2
  12. package/dist/events.server.js +4 -4
  13. package/dist/files.server.js +1 -1
  14. package/dist/gallery.server.js +2 -2
  15. package/dist/governance.server.js +10 -10
  16. package/dist/{index-kvBwwb0w.js → index-CPACC651.js} +1 -1
  17. package/dist/inventory.server.js +4 -4
  18. package/dist/{mailing-DT7nbNjZ.js → mailing-BBCidXGr.js} +38 -2
  19. package/dist/marketplace.server.js +2 -2
  20. package/dist/martyrs/dist/martyrs.es3.js +1 -1
  21. package/dist/martyrs/dist/martyrs.es3.js.map +1 -1
  22. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js +1 -1
  23. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js.map +1 -1
  24. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/plugin/weekOfYear.js +1 -1
  25. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/plugin/weekOfYear.js.map +1 -1
  26. package/dist/{node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_ → martyrs/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.7_vue@3.5.13}/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +305 -268
  27. package/dist/martyrs/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.7_vue@3.5.13/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +1 -0
  28. package/dist/martyrs/src/components/Address/Address.vue2.js +13 -13
  29. package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -1
  30. package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
  31. package/dist/martyrs/src/components/Button/Button.vue2.js +1 -1
  32. package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -1
  33. package/dist/martyrs/src/components/Calendar/Calendar.vue2.js +150 -143
  34. package/dist/martyrs/src/components/Calendar/Calendar.vue2.js.map +1 -1
  35. package/dist/martyrs/src/components/Chart/Chart.vue.js +296 -0
  36. package/dist/martyrs/src/components/Chart/Chart.vue.js.map +1 -0
  37. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +1 -1
  38. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
  39. package/dist/martyrs/src/components/Chips/Chips.vue.js +5 -6
  40. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -1
  41. package/dist/martyrs/src/components/Countdown/Countdown.vue.js +5 -5
  42. package/dist/martyrs/src/components/Countdown/Countdown.vue.js.map +1 -1
  43. package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js +2 -2
  44. package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js.map +1 -1
  45. package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +6 -6
  46. package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
  47. package/dist/martyrs/src/components/EmptyState/EmptyState.vue.js +1 -1
  48. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  49. package/dist/martyrs/src/components/Field/Field.vue.js +4 -4
  50. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  51. package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js +3 -3
  52. package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js.map +1 -1
  53. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js +27 -21
  54. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
  55. package/dist/martyrs/src/components/Map/Map.vue.js +20 -16
  56. package/dist/martyrs/src/components/Map/Map.vue.js.map +1 -1
  57. package/dist/martyrs/src/components/Popup/Popup.vue.js +3 -4
  58. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -1
  59. package/dist/martyrs/src/components/Radio/Radio.vue.js +12 -10
  60. package/dist/martyrs/src/components/Radio/Radio.vue.js.map +1 -1
  61. package/dist/martyrs/src/components/Select/Select.vue.js +2 -2
  62. package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -1
  63. package/dist/martyrs/src/components/Status/Snack.vue.js +1 -1
  64. package/dist/martyrs/src/components/Status/Snack.vue.js.map +1 -1
  65. package/dist/martyrs/src/components/Status/Status.vue.js +1 -1
  66. package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
  67. package/dist/martyrs/src/components/Table/Table.vue.js +21 -4
  68. package/dist/martyrs/src/components/Table/Table.vue.js.map +1 -1
  69. package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js → Tooltip.vue.js} +2 -2
  70. package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +1 -0
  71. package/dist/martyrs/src/components/Tree/Tree.vue.js +1 -1
  72. package/dist/martyrs/src/components/Upload/Upload.vue2.js +2 -2
  73. package/dist/martyrs/src/components/Upload/Upload.vue2.js.map +1 -1
  74. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +2 -2
  75. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -1
  76. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  77. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js.map +1 -1
  78. package/dist/martyrs/src/modules/auth/auth.client.js +14 -2
  79. package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
  80. package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +4 -4
  81. package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js.map +1 -1
  82. package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +1 -1
  83. package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
  84. package/dist/martyrs/src/modules/auth/views/components/blocks/SidebarUserCard.vue.js +96 -0
  85. package/dist/martyrs/src/modules/auth/views/components/blocks/SidebarUserCard.vue.js.map +1 -0
  86. package/dist/martyrs/src/modules/auth/views/components/pages/BackofficeUsers.vue.js +337 -0
  87. package/dist/martyrs/src/modules/auth/views/components/pages/BackofficeUsers.vue.js.map +1 -0
  88. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  89. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
  90. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  91. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  92. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +32 -18
  93. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
  94. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +76 -40
  95. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
  96. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +6 -5
  97. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.map +1 -1
  98. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +4 -4
  99. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
  100. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +3 -1
  101. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  102. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
  103. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
  104. package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +28 -16
  105. package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
  106. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.js +1 -1
  107. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.js.map +1 -1
  108. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +1 -1
  109. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  110. package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.js +6 -2
  111. package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
  112. package/dist/martyrs/src/modules/auth/views/router/users.backoffice.router.js +53 -0
  113. package/dist/martyrs/src/modules/auth/views/router/users.backoffice.router.js.map +1 -0
  114. package/dist/martyrs/src/modules/auth/views/store/auth.js +2 -2
  115. package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
  116. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +179 -253
  117. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
  118. package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +105 -44
  119. package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
  120. package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +11 -5
  121. package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
  122. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
  123. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
  124. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
  125. package/dist/martyrs/src/modules/community/community.client.js +4 -4
  126. package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
  127. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  128. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
  129. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +4 -4
  130. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  131. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
  132. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
  133. package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  134. package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.js.map +1 -1
  135. package/dist/martyrs/src/modules/core/core.client.js +18 -16
  136. package/dist/martyrs/src/modules/core/core.client.js.map +1 -1
  137. package/dist/martyrs/src/modules/core/views/classes/core.app.js +25 -6
  138. package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
  139. package/dist/martyrs/src/modules/core/views/classes/module.manager.js +4 -2
  140. package/dist/martyrs/src/modules/core/views/classes/module.manager.js.map +1 -1
  141. package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.js +1 -1
  142. package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.js.map +1 -1
  143. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.js +1 -1
  144. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.js.map +1 -1
  145. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSlider.vue.js +132 -0
  146. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSlider.vue.js.map +1 -0
  147. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +3 -3
  148. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js.map +1 -1
  149. package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +6 -28
  150. package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -1
  151. package/dist/martyrs/src/modules/{auth → core}/views/components/blocks/CardUser.vue.js +29 -11
  152. package/dist/martyrs/src/modules/{auth → core}/views/components/blocks/CardUser.vue.js.map +1 -1
  153. package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js +2 -2
  154. package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js.map +1 -1
  155. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +41 -26
  156. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js.map +1 -1
  157. package/dist/martyrs/src/modules/core/views/components/elements/OnlineIndicator.vue.js +1 -1
  158. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +2 -1
  159. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
  160. package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js +2 -2
  161. package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js.map +1 -1
  162. package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
  163. package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
  164. package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.js +2 -2
  165. package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.js.map +1 -1
  166. package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.js +2 -2
  167. package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.js.map +1 -1
  168. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +4 -4
  169. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
  170. package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +1 -1
  171. package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js.map +1 -1
  172. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +2 -2
  173. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
  174. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js +3 -3
  175. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +1 -1
  176. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +2 -2
  177. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
  178. package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +6 -6
  179. package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js.map +1 -1
  180. package/dist/martyrs/src/modules/core/views/mixins/mixins.js +14 -1
  181. package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
  182. package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js +8 -5
  183. package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js.map +1 -1
  184. package/dist/martyrs/src/modules/core/views/store/core.store.js +4 -0
  185. package/dist/martyrs/src/modules/core/views/store/core.store.js.map +1 -1
  186. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +3 -0
  187. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
  188. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  189. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
  190. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
  191. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  192. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
  193. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
  194. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js.map +1 -1
  195. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js +1 -1
  196. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js.map +1 -1
  197. package/dist/martyrs/src/modules/events/events.client.js +4 -4
  198. package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
  199. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  200. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
  201. package/dist/martyrs/src/modules/gallery/router/gallery.router.js +3 -3
  202. package/dist/martyrs/src/modules/gallery/router/gallery.router.js.map +1 -1
  203. package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +3 -3
  204. package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -1
  205. package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +4 -4
  206. package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -1
  207. package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +2 -2
  208. package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -1
  209. package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +3 -3
  210. package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -1
  211. package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +3 -3
  212. package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -1
  213. package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +1 -1
  214. package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -1
  215. package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +1 -1
  216. package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -1
  217. package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +1 -1
  218. package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -1
  219. package/dist/martyrs/src/modules/governance/views/router/governance.router.js +3 -3
  220. package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -1
  221. package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js +2 -2
  222. package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js.map +1 -1
  223. package/dist/martyrs/src/modules/icons/entities/IconApplications.vue.js +32 -0
  224. package/dist/martyrs/src/modules/icons/entities/IconApplications.vue.js.map +1 -0
  225. package/dist/martyrs/src/modules/icons/entities/IconCustomers.vue.js +32 -0
  226. package/dist/martyrs/src/modules/icons/entities/IconCustomers.vue.js.map +1 -0
  227. package/dist/martyrs/src/modules/icons/entities/IconUsers.vue.js +32 -0
  228. package/dist/martyrs/src/modules/icons/entities/IconUsers.vue.js.map +1 -0
  229. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +2 -2
  230. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js.map +1 -1
  231. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +2 -2
  232. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js.map +1 -1
  233. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
  234. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js.map +1 -1
  235. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
  236. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js.map +1 -1
  237. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +290 -173
  238. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
  239. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
  240. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
  241. package/dist/martyrs/src/modules/inventory/inventory.client.js +4 -4
  242. package/dist/martyrs/src/modules/inventory/inventory.client.js.map +1 -1
  243. package/dist/martyrs/src/modules/inventory/router/inventory.router.js +15 -0
  244. package/dist/martyrs/src/modules/inventory/router/inventory.router.js.map +1 -1
  245. package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js +4 -4
  246. package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js.map +1 -1
  247. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js +1 -1
  248. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js.map +1 -1
  249. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js +3 -3
  250. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js.map +1 -1
  251. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +2 -2
  252. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
  253. package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.js +1 -1
  254. package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.js.map +1 -1
  255. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js +2 -2
  256. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -1
  257. package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.js +1 -1
  258. package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.js.map +1 -1
  259. package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.js +2 -2
  260. package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.js.map +1 -1
  261. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
  262. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
  263. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +3 -3
  264. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js.map +1 -1
  265. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +2 -2
  266. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js.map +1 -1
  267. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js +2 -2
  268. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js.map +1 -1
  269. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
  270. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js.map +1 -1
  271. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +2 -2
  272. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js.map +1 -1
  273. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +6 -6
  274. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js.map +1 -1
  275. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
  276. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js.map +1 -1
  277. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
  278. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js.map +1 -1
  279. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +5 -5
  280. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js.map +1 -1
  281. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
  282. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js.map +1 -1
  283. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +8 -8
  284. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js.map +1 -1
  285. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +5 -5
  286. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js.map +1 -1
  287. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +11 -11
  288. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
  289. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +3 -3
  290. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js.map +1 -1
  291. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +11 -11
  292. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
  293. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +4 -4
  294. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js.map +1 -1
  295. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js +2 -2
  296. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js.map +1 -1
  297. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +162 -68
  298. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
  299. package/dist/martyrs/src/modules/notifications/notifications.client.js +181 -17
  300. package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
  301. package/dist/martyrs/src/modules/notifications/router/notifications.backoffice.router.js +21 -0
  302. package/dist/martyrs/src/modules/notifications/router/notifications.backoffice.router.js.map +1 -0
  303. package/dist/martyrs/src/modules/notifications/router/notifications.router.js +13 -42
  304. package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -1
  305. package/dist/martyrs/src/modules/notifications/store/notifications.store.js +66 -1
  306. package/dist/martyrs/src/modules/notifications/store/notifications.store.js.map +1 -1
  307. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +9 -7
  308. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
  309. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +11 -9
  310. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
  311. package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js +9 -9
  312. package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
  313. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js +66 -19
  314. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js.map +1 -1
  315. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +29 -27
  316. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
  317. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +7 -12
  318. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
  319. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +1 -1
  320. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -1
  321. package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js +4 -4
  322. package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js.map +1 -1
  323. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  324. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js.map +1 -1
  325. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +46 -25
  326. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js.map +1 -1
  327. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +2 -2
  328. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
  329. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +54 -38
  330. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
  331. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +454 -139
  332. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
  333. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +2 -1
  334. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
  335. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +141 -68
  336. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
  337. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +38 -32
  338. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
  339. package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  340. package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js.map +1 -1
  341. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +4 -4
  342. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
  343. package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.js +1 -1
  344. package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
  345. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +167 -95
  346. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
  347. package/dist/martyrs/src/modules/orders/orders.client.js +22 -20
  348. package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
  349. package/dist/martyrs/src/modules/orders/store/orders.js +3 -5
  350. package/dist/martyrs/src/modules/orders/store/orders.js.map +1 -1
  351. package/dist/martyrs/src/modules/orders/store/shopcart.js +5 -5
  352. package/dist/martyrs/src/modules/orders/store/shopcart.js.map +1 -1
  353. package/dist/martyrs/src/modules/orders/utils/rent-price.js +60 -0
  354. package/dist/martyrs/src/modules/orders/utils/rent-price.js.map +1 -0
  355. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +2 -2
  356. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +45 -55
  357. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
  358. package/dist/martyrs/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
  359. package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
  360. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js +2 -2
  361. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js.map +1 -1
  362. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  363. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js.map +1 -1
  364. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +3 -3
  365. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js.map +1 -1
  366. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +1 -1
  367. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
  368. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
  369. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js.map +1 -1
  370. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +2 -2
  371. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  372. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +8 -8
  373. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
  374. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +216 -83
  375. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  376. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +35 -25
  377. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
  378. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +3 -2
  379. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  380. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  381. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
  382. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  383. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
  384. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +20 -18
  385. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  386. package/dist/martyrs/src/modules/organizations/organizations.client.js +39 -33
  387. package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
  388. package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +81 -0
  389. package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -1
  390. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  391. package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.js +1 -1
  392. package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.js.map +1 -1
  393. package/dist/martyrs/src/modules/pages/views/router/pages.router.js +2 -2
  394. package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -1
  395. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  396. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
  397. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +2 -2
  398. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
  399. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +3 -3
  400. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
  401. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +2 -2
  402. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
  403. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +3 -3
  404. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -1
  405. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js +2 -2
  406. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
  407. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +9 -25
  408. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
  409. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +34 -17
  410. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
  411. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +96 -96
  412. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  413. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  414. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js.map +1 -1
  415. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  416. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js.map +1 -1
  417. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +22 -9
  418. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js.map +1 -1
  419. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  420. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
  421. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  422. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
  423. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +3 -3
  424. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
  425. package/dist/martyrs/src/modules/products/router/categories.router.js +2 -2
  426. package/dist/martyrs/src/modules/products/router/categories.router.js.map +1 -1
  427. package/dist/martyrs/src/modules/products/router/products.router.js +17 -3
  428. package/dist/martyrs/src/modules/products/router/products.router.js.map +1 -1
  429. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js +11 -10
  430. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js.map +1 -1
  431. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js +197 -81
  432. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js.map +1 -1
  433. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.js +2 -2
  434. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.js.map +1 -1
  435. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +2 -2
  436. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js.map +1 -1
  437. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +685 -80
  438. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js.map +1 -1
  439. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +68 -18
  440. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js.map +1 -1
  441. package/dist/martyrs/src/modules/rents/views/router/rents.router.js +3 -3
  442. package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -1
  443. package/dist/martyrs/src/modules/rents/views/store/rents.store.js +1 -1
  444. package/dist/martyrs/src/modules/rents/views/store/rents.store.js.map +1 -1
  445. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js +3 -3
  446. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
  447. package/dist/martyrs/src/modules/reports/router/reports.router.js +1 -1
  448. package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -1
  449. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +5 -5
  450. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
  451. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  452. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +3 -3
  453. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
  454. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +9 -7
  455. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
  456. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +29 -37
  457. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -1
  458. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +8 -8
  459. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js.map +1 -1
  460. package/dist/martyrs/src/modules/spots/router/spots.router.js +3 -3
  461. package/dist/martyrs/src/modules/spots/router/spots.router.js.map +1 -1
  462. package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +3 -3
  463. package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
  464. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  465. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -1
  466. package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +1 -1
  467. package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -1
  468. package/dist/martyrs.es10.js +59 -57
  469. package/dist/martyrs.es106.js +2 -2
  470. package/dist/martyrs.es11.js +31 -30
  471. package/dist/martyrs.es113.js +22 -166
  472. package/dist/martyrs.es114.js +4 -457
  473. package/dist/martyrs.es115.js +8 -40
  474. package/dist/martyrs.es116.js +166 -9
  475. package/dist/martyrs.es117.js +451 -43
  476. package/dist/martyrs.es118.js +38 -10
  477. package/dist/martyrs.es119.js +9 -44
  478. package/dist/martyrs.es12.js +8 -9
  479. package/dist/martyrs.es120.js +49 -4
  480. package/dist/martyrs.es121.js +10 -127
  481. package/dist/martyrs.es122.js +42 -98
  482. package/dist/martyrs.es123.js +4 -86
  483. package/dist/martyrs.es124.js +120 -29
  484. package/dist/martyrs.es125.js +99 -10
  485. package/dist/martyrs.es126.js +71 -24
  486. package/dist/martyrs.es127.js +37 -8
  487. package/dist/martyrs.es128.js +11 -22
  488. package/dist/martyrs.es129.js +39 -4
  489. package/dist/martyrs.es13.js +22 -19
  490. package/dist/martyrs.es130.js +9 -8
  491. package/dist/martyrs.es131.js +7 -7
  492. package/dist/martyrs.es132.js +2 -2
  493. package/dist/martyrs.es133.js +1 -1
  494. package/dist/martyrs.es135.js +1 -1
  495. package/dist/martyrs.es137.js +1 -1
  496. package/dist/martyrs.es138.js +7 -8
  497. package/dist/martyrs.es139.js +8 -7
  498. package/dist/martyrs.es14.js +2 -2
  499. package/dist/martyrs.es140.js +2 -2
  500. package/dist/martyrs.es144.js +10 -29
  501. package/dist/martyrs.es145.js +29 -10
  502. package/dist/martyrs.es146.js +2 -2
  503. package/dist/martyrs.es147.js +2 -2
  504. package/dist/martyrs.es149.js +1 -1
  505. package/dist/martyrs.es2.js +31 -30
  506. package/dist/martyrs.es22.js +16 -16
  507. package/dist/martyrs.es23.js +8 -8
  508. package/dist/martyrs.es24.js +9 -9
  509. package/dist/martyrs.es26.js +9 -11
  510. package/dist/martyrs.es27.js +9 -9
  511. package/dist/martyrs.es28.js +1 -1
  512. package/dist/martyrs.es29.js +5 -5
  513. package/dist/martyrs.es3.js +1 -1
  514. package/dist/martyrs.es38.js +1 -1
  515. package/dist/martyrs.es4.js +12 -12
  516. package/dist/martyrs.es41.js +34 -224
  517. package/dist/martyrs.es5.js +251 -238
  518. package/dist/martyrs.es61.js +33 -26
  519. package/dist/martyrs.es74.js +7 -7
  520. package/dist/martyrs.es76.js +12 -12
  521. package/dist/martyrs.es8.js +31 -31
  522. package/dist/music.server.js +3 -3
  523. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@2.0.2/node_modules/@googlemaps/js-api-loader/dist/index.js +90 -0
  524. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@2.0.2/node_modules/@googlemaps/js-api-loader/dist/index.js.map +1 -0
  525. package/dist/notifications.server.js +255 -23
  526. package/dist/orders.server.js +674 -136
  527. package/dist/organizations.server.js +11 -6
  528. package/dist/products.server.js +68 -7
  529. package/dist/{queryProcessor-C_5Iipam.js → queryProcessor-B2FCngFP.js} +3 -2
  530. package/dist/rents.server.js +183 -7
  531. package/dist/{socials.schema-DxnnaBgO.js → socials.schema-C3RjkqJv.js} +4 -0
  532. package/dist/spots.server.js +1 -1
  533. package/dist/style.css +292 -204
  534. package/dist/{tickets.controller-DdF85W-i.js → tickets.controller-Dpzf4kQx.js} +1 -1
  535. package/dist/wallet.server.js +2 -2
  536. package/package.json +5 -3
  537. package/src/builder/modes/ssr.rspack.dev.js +2 -0
  538. package/src/builder/rspack/rspack.config.ssr.client.js +58 -1
  539. package/src/builder/ssr/asset-resolver.js +1 -1
  540. package/src/builder/templates/page.js +2 -0
  541. package/src/components/Address/Address.vue +16 -16
  542. package/src/components/Button/Button.vue +0 -1
  543. package/src/components/ButtonSegmented/ButtonSegmented.vue +1 -1
  544. package/src/components/Calendar/Calendar.vue +141 -118
  545. package/src/components/Chart/Chart.vue +216 -0
  546. package/src/components/Checkbox/Checkbox.vue +1 -1
  547. package/src/components/Chips/Chips.vue +4 -5
  548. package/src/components/Countdown/Countdown.vue +5 -5
  549. package/src/components/DatePicker/DatePicker.vue +2 -2
  550. package/src/components/EditImages/EditImages.vue +3 -3
  551. package/src/components/EmptyState/EmptyState.vue +1 -1
  552. package/src/components/Feed/Feed.vue +5 -0
  553. package/src/components/Field/Field.vue +3 -3
  554. package/src/components/FieldDate/FieldDate.vue +2 -2
  555. package/src/components/LocationMarker/LocationMarker.vue +28 -21
  556. package/src/components/Map/Map.vue +20 -15
  557. package/src/components/Popup/Popup.vue +3 -3
  558. package/src/components/Radio/Radio.vue +2 -2
  559. package/src/components/Select/Select.vue +1 -1
  560. package/src/components/Status/Snack.vue +1 -1
  561. package/src/components/Status/Status.vue +1 -1
  562. package/src/components/Table/Table.vue +16 -1
  563. package/src/components/Upload/Upload.vue +1 -1
  564. package/src/components/UploadImage/UploadImage.vue +1 -1
  565. package/src/components/UploadImageMultiple/UploadImageMultiple.vue +1 -1
  566. package/src/jit/rules.js +4 -0
  567. package/src/modules/TASKS.MD +16 -3
  568. package/src/modules/auth/auth.client.js +18 -3
  569. package/src/modules/auth/controllers/routes/users.routes.js +18 -0
  570. package/src/modules/auth/controllers/services/auth.service.js +3 -3
  571. package/src/modules/auth/controllers/services/users.service.js +34 -5
  572. package/src/modules/auth/views/components/blocks/OtpDialog.vue +4 -4
  573. package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
  574. package/src/modules/auth/views/components/blocks/SidebarUserCard.vue +95 -0
  575. package/src/modules/auth/views/components/pages/BackofficeUsers.vue +337 -0
  576. package/src/modules/auth/views/components/pages/Invite.vue +1 -1
  577. package/src/modules/auth/views/components/pages/Profile.vue +1 -1
  578. package/src/modules/auth/views/components/pages/ProfileEdit.vue +23 -14
  579. package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +45 -26
  580. package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +8 -7
  581. package/src/modules/auth/views/components/pages/ResetPassword.vue +4 -4
  582. package/src/modules/auth/views/components/pages/SignUp.vue +3 -3
  583. package/src/modules/auth/views/components/pages/UserDashboard.vue +8 -5
  584. package/src/modules/auth/views/components/sections/FeaturedUsers.vue +1 -1
  585. package/src/modules/auth/views/components/sections/SliderFeatures.vue +1 -1
  586. package/src/modules/auth/views/middlewares/auth.validation.js +7 -2
  587. package/src/modules/auth/views/router/users.backoffice.router.js +39 -0
  588. package/src/modules/auth/views/store/auth.js +2 -2
  589. package/src/modules/backoffice/components/admin/Backcalls.vue +2 -2
  590. package/src/modules/backoffice/components/admin/Dashboard.sublime-workspace +1 -1
  591. package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
  592. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  593. package/src/modules/backoffice/components/pages/Dashboard.vue +102 -139
  594. package/src/modules/backoffice/configs/navigation.backoffice.config.js +91 -29
  595. package/src/modules/backoffice/router/backoffice.router.js +7 -1
  596. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  597. package/src/modules/chats/components/sections/ChatWindow.vue +1 -1
  598. package/src/modules/community/community.client.js +4 -4
  599. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  600. package/src/modules/community/components/layouts/Community.vue +4 -4
  601. package/src/modules/community/components/sections/Comment.vue +1 -1
  602. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  603. package/src/modules/core/TASK.MD +2 -2
  604. package/src/modules/core/controllers/classes/abac/abac.core.js +1 -0
  605. package/src/modules/core/controllers/classes/core.websocket.js +0 -2
  606. package/src/modules/core/controllers/classes/crud/crud.core.js +6 -0
  607. package/src/modules/core/controllers/classes/crud/crud.service.js +6 -0
  608. package/src/modules/core/controllers/utils/mailing.js +35 -26
  609. package/src/modules/core/controllers/utils/queryProcessor.js +4 -2
  610. package/src/modules/core/core.client.js +1 -0
  611. package/src/modules/core/models/schemas/embedding.schema.js +8 -0
  612. package/src/modules/core/models/schemas/socials.schema.js +4 -0
  613. package/src/modules/core/sw.js +448 -0
  614. package/src/modules/core/views/classes/core.app.js +37 -13
  615. package/src/modules/core/views/classes/module.manager.js +3 -1
  616. package/src/modules/core/views/components/blocks/AlertDialog.vue +1 -1
  617. package/src/modules/core/views/components/blocks/BlockSearch.vue +1 -1
  618. package/src/modules/core/views/components/blocks/BlockSlider.vue +96 -0
  619. package/src/modules/core/views/components/blocks/CardHeader.vue +2 -2
  620. package/src/modules/core/views/components/blocks/CardStat.vue +4 -18
  621. package/src/modules/{auth → core}/views/components/blocks/CardUser.vue +45 -20
  622. package/src/modules/core/views/components/blocks/HelpCard.vue +1 -1
  623. package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
  624. package/src/modules/core/views/components/blocks/PopupDateSelector.vue +41 -24
  625. package/src/modules/core/views/components/layouts/Client.vue +1 -1
  626. package/src/modules/core/views/components/pages/404.vue +5 -5
  627. package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
  628. package/src/modules/core/views/components/partials/CitySelection.vue +2 -2
  629. package/src/modules/core/views/components/partials/Footer.centered.vue +2 -2
  630. package/src/modules/core/views/components/partials/Footer.vue +2 -2
  631. package/src/modules/core/views/components/partials/Header.vue +3 -3
  632. package/src/modules/core/views/components/partials/LocationSelection.vue +1 -1
  633. package/src/modules/core/views/components/partials/Navigation.vue +1 -1
  634. package/src/modules/core/views/components/sections/Filters.vue +2 -2
  635. package/src/modules/core/views/components/sections/SectionPageTitle.vue +2 -2
  636. package/src/modules/core/views/components/sections/Walkthrough.vue +6 -6
  637. package/src/modules/core/views/mixins/mixins.js +17 -0
  638. package/src/modules/core/views/plugins/date-picker.plugin.js +8 -5
  639. package/src/modules/core/views/store/core.store.js +5 -0
  640. package/src/modules/core/views/utils/vue-app-renderer.js +5 -0
  641. package/src/modules/events/components/pages/EditEventTickets.vue +9 -9
  642. package/src/modules/events/components/pages/Event.vue +2 -2
  643. package/src/modules/events/components/sections/EditTickets.vue +1 -1
  644. package/src/modules/events/components/sections/SelectDate.vue +1 -1
  645. package/src/modules/events/events.client.js +4 -4
  646. package/src/modules/gallery/components/sections/BackofficeGallery.vue +1 -1
  647. package/src/modules/gallery/router/gallery.router.js +3 -3
  648. package/src/modules/governance/middlewares/sprints.verifier.js +3 -3
  649. package/src/modules/governance/middlewares/tasks.verifier.js +3 -3
  650. package/src/modules/governance/models/sprint.model.js +1 -1
  651. package/src/modules/governance/models/task.model.js +1 -1
  652. package/src/modules/governance/reactcode/src/components/TaskStatusBadge.tsx +1 -1
  653. package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +3 -3
  654. package/src/modules/governance/views/components/blocks/CardSprintItem.vue +4 -4
  655. package/src/modules/governance/views/components/blocks/CardTaskItem.vue +2 -2
  656. package/src/modules/governance/views/components/blocks/CardVotingItem.vue +3 -3
  657. package/src/modules/governance/views/components/pages/Initiatives.vue +3 -3
  658. package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
  659. package/src/modules/governance/views/components/sections/FormSprintDetails.vue +1 -1
  660. package/src/modules/governance/views/components/sections/FormTaskDetails.vue +1 -1
  661. package/src/modules/governance/views/router/governance.router.js +3 -3
  662. package/src/modules/icons/components/IconSearchPopup.vue +1 -1
  663. package/src/modules/icons/entities/IconApplications.vue +14 -0
  664. package/src/modules/icons/entities/IconCustomers.vue +14 -0
  665. package/src/modules/icons/entities/IconUsers.vue +14 -0
  666. package/src/modules/inventory/components/forms/AdjustmentForm.vue +2 -2
  667. package/src/modules/inventory/components/forms/ColumnSettingsMenu.vue +2 -2
  668. package/src/modules/inventory/components/forms/HistoryView.vue +1 -1
  669. package/src/modules/inventory/components/forms/StockAlertsForm.vue +3 -3
  670. package/src/modules/inventory/components/pages/Inventory.vue +278 -159
  671. package/src/modules/inventory/components/pages/InventoryEdit.vue +2 -2
  672. package/src/modules/inventory/inventory.client.js +4 -4
  673. package/src/modules/inventory/models/stock.audit.model.js +1 -1
  674. package/src/modules/inventory/router/inventory.router.js +12 -0
  675. package/src/modules/landing/components/sections/SectionEarn.vue +3 -3
  676. package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
  677. package/src/modules/landing/components/sections/SectionFeatures.vue +1 -1
  678. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  679. package/src/modules/landing/components/sections/SectionGuide.vue +2 -2
  680. package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
  681. package/src/modules/landing/components/sections/SectionHeroVideo.vue +1 -1
  682. package/src/modules/landing/components/sections/SectionMobileApp.vue +2 -2
  683. package/src/modules/landing/components/sections/SectionOverview.vue +1 -1
  684. package/src/modules/landing/components/sections/SectionRoadmap.vue +1 -1
  685. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
  686. package/src/modules/marketplace/views/components/sections/SectionMenu.vue +2 -2
  687. package/src/modules/music/components/SidebarMusic.vue +1 -1
  688. package/src/modules/music/components/cards/AlbumCard.vue +1 -1
  689. package/src/modules/music/components/cards/ArtistCard.vue +1 -1
  690. package/src/modules/music/components/cards/ArtistCardSmall.vue +1 -1
  691. package/src/modules/music/components/cards/PlaylistCard.vue +1 -1
  692. package/src/modules/music/components/cards/TrackListCard.vue +6 -6
  693. package/src/modules/music/components/forms/AlbumForm.vue +2 -2
  694. package/src/modules/music/components/forms/ArtistForm.vue +1 -1
  695. package/src/modules/music/components/forms/PlaylistForm.vue +5 -5
  696. package/src/modules/music/components/forms/TrackForm.vue +3 -3
  697. package/src/modules/music/components/pages/Album.vue +8 -8
  698. package/src/modules/music/components/pages/Artist.vue +5 -5
  699. package/src/modules/music/components/pages/Playlist.vue +11 -11
  700. package/src/modules/music/components/pages/SearchResults.vue +2 -2
  701. package/src/modules/music/components/pages/Track.vue +11 -11
  702. package/src/modules/music/components/player/FullscreenPlayer.vue +3 -3
  703. package/src/modules/music/components/player/TrackProgress.vue +1 -1
  704. package/src/modules/notifications/components/sections/NotificationPreferences.vue +182 -52
  705. package/src/modules/notifications/controllers/notifications.controller.js +242 -17
  706. package/src/modules/notifications/models/notification-preference.model.js +4 -0
  707. package/src/modules/notifications/notifications.client.js +213 -20
  708. package/src/modules/notifications/router/notifications.backoffice.router.js +16 -0
  709. package/src/modules/notifications/router/notifications.router.js +13 -45
  710. package/src/modules/notifications/routes/notifications.routes.js +9 -0
  711. package/src/modules/notifications/services/notification.service.js +33 -9
  712. package/src/modules/notifications/services/telegram.service.js +2 -2
  713. package/src/modules/notifications/services/web-push.service.js +6 -2
  714. package/src/modules/notifications/store/notifications.store.js +69 -0
  715. package/src/modules/orders/components/blocks/CardApplication.vue +9 -6
  716. package/src/modules/orders/components/blocks/CardCustomer.vue +10 -7
  717. package/src/modules/orders/components/blocks/CardOrder.vue +8 -8
  718. package/src/modules/orders/components/blocks/CardOrderBackoffice.vue +58 -12
  719. package/src/modules/orders/components/blocks/CardOrderItem.vue +31 -28
  720. package/src/modules/orders/components/blocks/CardOrderUser.vue +7 -12
  721. package/src/modules/orders/components/blocks/CardOrderVar1.vue +3 -3
  722. package/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue +1 -1
  723. package/src/modules/orders/components/elements/PriceTotal.vue +4 -4
  724. package/src/modules/orders/components/forms/FormApplicationDetails.vue +1 -1
  725. package/src/modules/orders/components/forms/FormSelectCustomer.vue +48 -25
  726. package/src/modules/orders/components/pages/Applications.vue +2 -2
  727. package/src/modules/orders/components/pages/Customers.vue +35 -23
  728. package/src/modules/orders/components/pages/OrderBackoffice.vue +780 -393
  729. package/src/modules/orders/components/pages/OrderCreate.vue +5 -4
  730. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +112 -42
  731. package/src/modules/orders/components/pages/Orders.vue +20 -19
  732. package/src/modules/orders/components/pages/Orders_refact.vue +3 -3
  733. package/src/modules/orders/components/partials/ShopCart.vue +1 -1
  734. package/src/modules/orders/components/sections/ApplicationDetails.vue +2 -2
  735. package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
  736. package/src/modules/orders/components/sections/CustomerDetails.vue +130 -64
  737. package/src/modules/orders/controllers/orders.controller.js +463 -134
  738. package/src/modules/orders/middlewares/applications.verifier.js +3 -3
  739. package/src/modules/orders/middlewares/customers.verifier.js +4 -0
  740. package/src/modules/orders/middlewares/orders.verifier.js +187 -0
  741. package/src/modules/orders/models/customer.model.js +2 -0
  742. package/src/modules/orders/models/order.model.js +20 -2
  743. package/src/modules/orders/orders.client.js +21 -19
  744. package/src/modules/orders/routes/applications.routes.js +13 -3
  745. package/src/modules/orders/routes/customers.routes.js +2 -0
  746. package/src/modules/orders/routes/orders.routes.js +46 -4
  747. package/src/modules/orders/store/orders.js +4 -7
  748. package/src/modules/orders/store/shopcart.js +6 -7
  749. package/src/modules/orders/utils/rent-price.js +90 -0
  750. package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
  751. package/src/modules/organizations/components/blocks/CardOrganization.vue +30 -33
  752. package/src/modules/organizations/components/blocks/EmptyState.vue +1 -1
  753. package/src/modules/organizations/components/blocks/Rating.vue +1 -1
  754. package/src/modules/organizations/components/blocks/Socials.vue +2 -2
  755. package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
  756. package/src/modules/organizations/components/forms/AddExistingMembersForm.vue +3 -3
  757. package/src/modules/organizations/components/forms/DepartmentForm.vue +1 -1
  758. package/src/modules/organizations/components/forms/InviteForm.vue +1 -1
  759. package/src/modules/organizations/components/pages/Department.vue +2 -2
  760. package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
  761. package/src/modules/organizations/components/pages/Members.vue +8 -8
  762. package/src/modules/organizations/components/pages/Organization.vue +232 -124
  763. package/src/modules/organizations/components/pages/OrganizationCreate.vue +3 -3
  764. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  765. package/src/modules/organizations/components/pages/OrganizationEdit.vue +15 -6
  766. package/src/modules/organizations/components/pages/Organizations.vue +3 -2
  767. package/src/modules/organizations/components/sections/Documents.vue +1 -1
  768. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  769. package/src/modules/organizations/configs/navigation.organization.config.js +34 -26
  770. package/src/modules/organizations/controllers/organizations.controller.js +8 -3
  771. package/src/modules/organizations/models/organization.model.js +1 -0
  772. package/src/modules/organizations/organizations.client.js +39 -33
  773. package/src/modules/organizations/router/organizations.backoffice.router.js +67 -0
  774. package/src/modules/pages/views/components/pages/Pages.vue +1 -1
  775. package/src/modules/pages/views/router/pages.router.js +2 -2
  776. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  777. package/src/modules/products/components/blocks/CardProduct.vue +2 -2
  778. package/src/modules/products/components/blocks/ProductDiscounts.vue +1 -1
  779. package/src/modules/products/components/blocks/ProductImages.vue +1 -1
  780. package/src/modules/products/components/blocks/ProductVariants.vue +3 -3
  781. package/src/modules/products/components/elements/Price.vue +2 -2
  782. package/src/modules/products/components/forms/ColumnSettingsMenu.vue +2 -2
  783. package/src/modules/products/components/forms/ReorderSettingsForm.vue +3 -3
  784. package/src/modules/products/components/forms/StockAuditForm.vue +2 -2
  785. package/src/modules/products/components/forms/StockHistoryView.vue +1 -1
  786. package/src/modules/products/components/pages/Categories.vue +9 -20
  787. package/src/modules/products/components/pages/ProductEdit.vue +19 -3
  788. package/src/modules/products/components/pages/Products.vue +20 -19
  789. package/src/modules/products/components/sections/EditAttributes.vue +1 -1
  790. package/src/modules/products/components/sections/EditCategories.vue +1 -1
  791. package/src/modules/products/components/sections/EditDiscounts.vue +2 -2
  792. package/src/modules/products/components/sections/EditVariants.vue +14 -2
  793. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  794. package/src/modules/products/components/sections/ProductConfigurator.vue +1 -1
  795. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  796. package/src/modules/products/controllers/products.controller.js +50 -5
  797. package/src/modules/products/experiments/product-recommendation/components/HeroRecommendation.vue +2 -2
  798. package/src/modules/products/models/product.model.js +7 -0
  799. package/src/modules/products/models/variant.model.js +4 -0
  800. package/src/modules/products/router/categories.router.js +2 -2
  801. package/src/modules/products/router/products.router.js +14 -3
  802. package/src/modules/rents/controllers/routes/rents.routes.js +11 -0
  803. package/src/modules/rents/controllers/services/rents.services.js +193 -2
  804. package/src/modules/rents/models/rent.model.js +9 -0
  805. package/src/modules/rents/views/components/pages/Gant/GanttBar.vue +28 -11
  806. package/src/modules/rents/views/components/pages/Gant/GanttChart.vue +200 -40
  807. package/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue +2 -2
  808. package/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue +2 -2
  809. package/src/modules/rents/views/components/pages/Rents.vue +641 -142
  810. package/src/modules/rents/views/components/pages/RentsEdit.vue +44 -4
  811. package/src/modules/rents/views/router/rents.router.js +3 -3
  812. package/src/modules/rents/views/store/rents.store.js +1 -1
  813. package/src/modules/reports/components/pages/BackofficeReports.vue +3 -3
  814. package/src/modules/reports/router/reports.router.js +1 -1
  815. package/src/modules/spots/components/blocks/CardSpot.vue +6 -6
  816. package/src/modules/spots/components/pages/Spot.vue +2 -2
  817. package/src/modules/spots/components/pages/SpotEdit.vue +8 -6
  818. package/src/modules/spots/components/pages/Spots.vue +18 -24
  819. package/src/modules/spots/components/sections/WorktimeEdit.vue +7 -7
  820. package/src/modules/spots/router/spots.router.js +3 -3
  821. package/src/modules/wallet/views/components/blocks/CashDeposit.vue +1 -1
  822. package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
  823. package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
  824. package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
  825. package/src/modules/wallet/views/router/wallet.router.js +1 -1
  826. package/src/styles/layout.scss +1 -1
  827. package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
  828. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +0 -1
  829. package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +0 -70
  830. package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +0 -1
  831. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js +0 -336
  832. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js.map +0 -1
  833. package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Orders.vue.js","sources":["../../../../../../../src/modules/orders/components/pages/Orders.vue"],"sourcesContent":["<template>\n <div class=\"mobile:pd-thin pd-medium\">\n <SectionPageTitle\n v-if=\"!MOBILE_APP\"\n title=\"Orders\"\n :actions=\"[\n route.meta.context === 'backoffice' && { to: { name: 'BackofficeAdminCreateOrder' }, label: 'Create Order' },\n route.meta.context === 'organization' && { to: { name: 'OrganizationAdminCreateOrder', params: { _id: route.params._id}}, label: 'Create Order' }\n ].filter(Boolean)\"\n class=\"mn-b-small\"\n />\n\n <Block\n v-if=\"route.meta.context !== 'user'\"\n title=\"Balance\"\n class=\"mn-b-small\"\n >\n <div class=\"gap-micro flex-nowrap flex\">\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Total</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Paid</p>\n <h3>{{formatPrice(totalPriceUnpaid)}}</h3>\n </div>\n <div class=\"w-100 bg-white radius-small pd-small\">\n <p class=\"mn-b-thin\">Unpaid</p>\n <h3>{{formatPrice(totalPrice)}}</h3>\n </div>\n </div>\n </Block>\n\n <!-- Tabs for user context -->\n <Tab\n v-if=\"route.meta.context === 'user'\"\n :tabs=\"tabs\"\n v-model:selected=\"tab\"\n classTab=\"bg-light\"\n class=\"mn-b-small\"\n />\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Orders Found',\n description: 'Currently, there are no orders.'\n }\n }\"\n :store=\"{\n read: (options) => orders.actions.read(options)\n }\"\n :options=\"{\n limit: 15,\n ...(route.meta.context === 'organization' && { owner: route.params._id }),\n ...(route.meta.context === 'user' && { customer: route.params._id }),\n ...(tab !== 'all' && { status: tabStatusFilter })\n }\"\n v-slot=\"{\n items\n }\"\n :class=\"route.meta.context === 'user' ? 'gap-small cols-1' : 'gap-thin cols-3 mobile:cols-1'\"\n >\n <router-link\n v-if=\"route.meta.context !== 'user'\"\n v-for=\"order in items\"\n :to=\"{\n name: route.meta.context === 'backoffice' ? 'BackofficeOrderEdit' : 'OrganizationOrderEdit',\n params: route.meta.context === 'backoffice'\n ? { order: order._id }\n : { order: order._id, organization: order.owner.target || order.owner._id }\n }\"\n >\n <CardOrderBackoffice\n :order=\"order\"\n :user=\"auth.state.user\"\n :formatDate=\"formatDate\"\n :getTotal=\"orders.getters.getTotal\"\n :currency=\"returnCurrency()\"\n />\n </router-link>\n\n <router-link\n v-if=\"route.meta.context === 'user'\"\n v-for=\"order in items\"\n :to=\"`/users/${route.params._id}/orders/${order._id}`\"\n >\n <CardOrderUser\n :orderId=\"order._id\"\n :status=\"order.status\"\n :createdAt=\"order.createdAt\"\n :updatedAt=\"order.updatedAt\"\n :positions=\"order.positions\"\n :total=\"orders.getters.getTotal(order.positions)\"\n />\n </router-link>\n </Feed>\n </div>\n</template>\n\n<script setup>\n import { computed, ref } from 'vue';\n import { useRoute } from 'vue-router';\n\n import Tab from '@martyrs/src/components/Tab/Tab.vue'\n import Block from '@martyrs/src/components/Block/Block.vue';\n import Feed from '@martyrs/src/components/Feed/Feed.vue'\n\n import * as orders from '@martyrs/src/modules/orders/store/orders.js';\n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n\n import CardOrderUser from '@martyrs/src/modules/orders/components/blocks/CardOrderUser.vue'\n import CardOrderBackoffice from '@martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue'\n import SectionPageTitle from '@martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue'\n\n import { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js'\n\n const route = useRoute();\n const { returnCurrency, formatPrice, formatDate } = useGlobalMixins()\n\n // Tab logic\n const tab = ref('all')\n\n const tabs = [\n { label: 'All Orders', value: 'all' },\n { label: 'In Progress', value: 'in_progress' },\n { label: 'Returns & Cancellations', value: 'returns' }\n ]\n\n const tabStatusFilter = computed(() => {\n switch (tab.value) {\n case 'in_progress':\n return ['created', 'confirmed', 'processing', 'preparing', 'shipped']\n case 'returns':\n return ['cancelled', 'canceled', 'returned']\n default:\n return null\n }\n })\n\n const totalPrice = computed(() => {\n return calculateTotalSum(orders.state.all)\n });\n\n const totalPriceUnpaid = computed(() => {\n return calculateSum(orders.state.all,'unpaid')\n });\n\n function calculateTotalSum(orders) {\n return orders.reduce((totalSum, item) => {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }, 0);\n }\n\n function calculateSum(orders, status) {\n return orders.reduce((totalSum, item) => {\n if (item.payment?.status === status) {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }\n return totalSum;\n }, 0);\n }\n</script>\n"],"names":["orders.state"],"mappings":";;;;;;;;;;;;;;;;;;;AAsHE,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,gBAAgB,aAAa,WAAU,IAAK,gBAAe;AAGnE,UAAM,MAAM,IAAI,KAAK;AAErB,UAAM,OAAO;AAAA,MACX,EAAE,OAAO,cAAc,OAAO,MAAK;AAAA,MACnC,EAAE,OAAO,eAAe,OAAO,cAAa;AAAA,MAC5C,EAAE,OAAO,2BAA2B,OAAO,UAAS;AAAA,IACxD;AAEE,UAAM,kBAAkB,SAAS,MAAM;AACrC,cAAQ,IAAI,OAAK;AAAA,QACf,KAAK;AACH,iBAAO,CAAC,WAAW,aAAa,cAAc,aAAa,SAAS;AAAA,QACtE,KAAK;AACH,iBAAO,CAAC,aAAa,YAAY,UAAU;AAAA,QAC7C;AACE,iBAAO;AAAA,MACf;AAAA,IACE,CAAC;AAED,UAAM,aAAa,SAAS,MAAM;AAChC,aAAO,kBAAkBA,MAAa,GAAG;AAAA,IAC3C,CAAC;AAED,UAAM,mBAAmB,SAAS,MAAM;AACtC,aAAO,aAAaA,MAAa,KAAI,QAAQ;AAAA,IAC/C,CAAC;AAED,aAAS,kBAAkB,QAAQ;AACjC,aAAO,OAAO,OAAO,CAAC,UAAU,SAAS;AACvC,eAAO,WAAW,KAAK,UAAU,OAAO,CAAC,KAAK,aAAa,MAAM,SAAS,OAAO,CAAC;AAAA,MACpF,GAAG,CAAC;AAAA,IACN;AAEA,aAAS,aAAa,QAAQ,QAAQ;AACpC,aAAO,OAAO,OAAO,CAAC,UAAU,SAAS;AACvC,YAAI,KAAK,SAAS,WAAW,QAAQ;AACnC,iBAAO,WAAW,KAAK,UAAU,OAAO,CAAC,KAAK,aAAa,MAAM,SAAS,OAAO,CAAC;AAAA,QACpF;AACA,eAAO;AAAA,MACT,GAAG,CAAC;AAAA,IACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Orders.vue.js","sources":["../../../../../../../src/modules/orders/components/pages/Orders.vue"],"sourcesContent":["<template>\n <div class=\"mobile:pd-thin pd-medium\">\n <SectionPageTitle\n v-if=\"!MOBILE_APP\"\n title=\"Orders\"\n :actions=\"[\n route.meta.context === 'backoffice' && { method: () => router.push({ name: 'BackofficeAdminCreateOrder' }), label: '+ Add Order' },\n route.meta.context === 'organization' && { method: () => router.push({ name: 'OrganizationAdminCreateOrder', params: { _id: route.params._id }}), label: '+ Add Order' }\n ].filter(Boolean)\"\n class=\"mn-b-small\"\n />\n\n <Block\n v-if=\"route.meta.context !== 'user'\"\n title=\"Balance\"\n class=\"mn-b-small\"\n >\n <div class=\"flex gap-micro mobile:flex-column\">\n <CardStat title=\"Total\" :value=\"formatPrice(totalPrice)\" />\n <CardStat title=\"Paid\" :value=\"formatPrice(totalPricePaid)\" />\n <CardStat title=\"Unpaid\" :value=\"formatPrice(totalPriceUnpaid)\" />\n </div>\n </Block>\n\n <!-- Tabs for user context -->\n <Tab\n v-if=\"route.meta.context === 'user'\"\n :tabs=\"tabs\"\n v-model:selected=\"tab\"\n classTab=\"bg-light\"\n class=\"mn-b-small\"\n />\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Orders Found',\n description: 'Currently, there are no orders.'\n }\n }\"\n :store=\"{\n read: (options) => orders.actions.read(options)\n }\"\n :options=\"{\n limit: 15,\n ...(route.meta.context === 'organization' && { owner: route.params._id }),\n ...(route.meta.context === 'user' && { customer: route.params._id }),\n ...(tab !== 'all' && { status: tabStatusFilter })\n }\"\n v-slot=\"{\n items\n }\"\n :class=\"route.meta.context === 'user' ? 'gap-small cols-1' : 'gap-thin cols-3 tablet:cols-1 mobile:cols-1'\"\n >\n <router-link\n v-if=\"route.meta.context !== 'user'\"\n v-for=\"order in items\"\n :to=\"{\n name: route.meta.context === 'backoffice' ? 'BackofficeOrderEdit' : 'OrganizationOrderEdit',\n params: route.meta.context === 'backoffice'\n ? { order: order._id }\n : { order: order._id, organization: order.owner.target || order.owner._id }\n }\"\n >\n <CardOrderBackoffice\n :order=\"order\"\n :user=\"auth.state.user\"\n :statuses=\"orderStatuses\"\n :formatDate=\"formatDate\"\n :getTotal=\"orders.getters.getTotal\"\n :currency=\"returnCurrency()\"\n />\n </router-link>\n\n <router-link\n v-if=\"route.meta.context === 'user'\"\n v-for=\"order in items\"\n :to=\"`/users/${route.params._id}/orders/${order._id}`\"\n >\n <CardOrderUser\n :orderId=\"order._id\"\n :status=\"order.status\"\n :createdAt=\"order.createdAt\"\n :updatedAt=\"order.updatedAt\"\n :positions=\"order.positions\"\n :total=\"orders.getters.getTotal(order.positions)\"\n />\n </router-link>\n </Feed>\n </div>\n</template>\n\n<script setup>\n import { computed, ref } from 'vue';\n import { useRoute, useRouter } from 'vue-router';\n\n import Tab from '@martyrs/src/components/Tab/Tab.vue'\n import Block from '@martyrs/src/components/Block/Block.vue';\n import Feed from '@martyrs/src/components/Feed/Feed.vue'\n\n import * as orders from '@martyrs/src/modules/orders/store/orders.js';\n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n\n import CardStat from '@martyrs/src/modules/core/views/components/blocks/CardStat.vue'\n import CardOrderUser from '@martyrs/src/modules/orders/components/blocks/CardOrderUser.vue'\n import CardOrderBackoffice from '@martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue'\n import SectionPageTitle from '@martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue'\n\n import { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js'\n import { useStore } from '@martyrs/src/modules/core/views/store/core.store.js'\n\n const store = useStore()\n const route = useRoute();\n const router = useRouter();\n const { returnCurrency, formatPrice, formatDate } = useGlobalMixins()\n const orderStatuses = store.core.state.options?.orders?.statuses || []\n\n // Tab logic\n const tab = ref('all')\n\n const tabs = [\n { label: 'All Orders', value: 'all' },\n { label: 'In Progress', value: 'in_progress' },\n { label: 'Returns & Cancellations', value: 'returns' }\n ]\n\n const tabStatusFilter = computed(() => {\n switch (tab.value) {\n case 'in_progress':\n return ['created', 'confirmed', 'in_progress']\n case 'returns':\n return ['canceled']\n default:\n return null\n }\n })\n\n const totalPrice = computed(() => {\n return calculateTotalSum(orders.state.all)\n });\n\n const totalPricePaid = computed(() => {\n return calculateSum(orders.state.all,'paid')\n });\n\n const totalPriceUnpaid = computed(() => {\n return calculateSum(orders.state.all,'unpaid')\n });\n\n function calculateTotalSum(orders) {\n return orders.reduce((totalSum, item) => {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }, 0);\n }\n\n function calculateSum(orders, status) {\n return orders.reduce((totalSum, item) => {\n if (item.payment?.status === status) {\n return totalSum + item.positions.reduce((sum, position) => sum + position.price, 0);\n }\n return totalSum;\n }, 0);\n }\n</script>\n"],"names":["orders.state"],"mappings":";;;;;;;;;;;;;;;;;;AAgHE,UAAM,QAAQ,SAAQ;AACtB,UAAM,QAAQ,SAAQ;AACtB,UAAM,SAAS,UAAS;AACxB,UAAM,EAAE,gBAAgB,aAAa,WAAU,IAAK,gBAAe;AACnE,UAAM,gBAAgB,MAAM,KAAK,MAAM,SAAS,QAAQ,YAAY,CAAA;AAGpE,UAAM,MAAM,IAAI,KAAK;AAErB,UAAM,OAAO;AAAA,MACX,EAAE,OAAO,cAAc,OAAO,MAAK;AAAA,MACnC,EAAE,OAAO,eAAe,OAAO,cAAa;AAAA,MAC5C,EAAE,OAAO,2BAA2B,OAAO,UAAS;AAAA,IACxD;AAEE,UAAM,kBAAkB,SAAS,MAAM;AACrC,cAAQ,IAAI,OAAK;AAAA,QACf,KAAK;AACH,iBAAO,CAAC,WAAW,aAAa,aAAa;AAAA,QAC/C,KAAK;AACH,iBAAO,CAAC,UAAU;AAAA,QACpB;AACE,iBAAO;AAAA,MACf;AAAA,IACE,CAAC;AAED,UAAM,aAAa,SAAS,MAAM;AAChC,aAAO,kBAAkBA,MAAa,GAAG;AAAA,IAC3C,CAAC;AAED,UAAM,iBAAiB,SAAS,MAAM;AACpC,aAAO,aAAaA,MAAa,KAAI,MAAM;AAAA,IAC7C,CAAC;AAED,UAAM,mBAAmB,SAAS,MAAM;AACtC,aAAO,aAAaA,MAAa,KAAI,QAAQ;AAAA,IAC/C,CAAC;AAED,aAAS,kBAAkB,QAAQ;AACjC,aAAO,OAAO,OAAO,CAAC,UAAU,SAAS;AACvC,eAAO,WAAW,KAAK,UAAU,OAAO,CAAC,KAAK,aAAa,MAAM,SAAS,OAAO,CAAC;AAAA,MACpF,GAAG,CAAC;AAAA,IACN;AAEA,aAAS,aAAa,QAAQ,QAAQ;AACpC,aAAO,OAAO,OAAO,CAAC,UAAU,SAAS;AACvC,YAAI,KAAK,SAAS,WAAW,QAAQ;AACnC,iBAAO,WAAW,KAAK,UAAU,OAAO,CAAC,KAAK,aAAa,MAAM,SAAS,OAAO,CAAC;AAAA,QACpF;AACA,eAAO;AAAA,MACT,GAAG,CAAC;AAAA,IACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -12,7 +12,7 @@ import { useGlobalMixins } from "../../../core/views/mixins/mixins.js";
12
12
  const _hoisted_1 = { class: "pd-big mobile:pd-medium pd-b-zero mobile:pd-b-zero flex-nowrap flex" };
13
13
  const _hoisted_2 = { class: "mn-b-medium w-100" };
14
14
  const _hoisted_3 = { class: "mn-b-thin p-medium" };
15
- const _hoisted_4 = { class: "t-transp p-small" };
15
+ const _hoisted_4 = { class: "opacity-50 p-small" };
16
16
  const _hoisted_5 = { class: "pd-big pd-t-zero mobile:pd-t-zero mobile:pd-medium h-70 flex flex-column w-100 pos-relative o-x-hidden o-y-scroll gap-small shopcart-content" };
17
17
  const _hoisted_6 = {
18
18
  key: 0,
@@ -1 +1 @@
1
- {"version":3,"file":"ShopCart.vue.js","sources":["../../../../../../../src/modules/orders/components/partials/ShopCart.vue"],"sourcesContent":["<template>\n\t<section class=\"z-index-5 flex flex-column ease-in-out bg-white shop-cart\" :class=\"{'shop-cart-active':shopcart.state.currentState === true}\">\n <!-- ---------------------------------------------------------------- -->\n <!-- 01. Popup Header -->\n <!-- ---------------------------------------------------------------- -->\n <div class=\"pd-big mobile:pd-medium pd-b-zero mobile:pd-b-zero flex-nowrap flex\">\n <div class=\"mn-b-medium w-100\">\n <h4 class=\"mn-b-thin p-medium\">{{t('title')}}</h4>\n <p class=\"t-transp p-small\">{{t('subtitle')}} {{ t('positions', { count: StoreCartAmount }) }}</p>\n </div>\n <IconCross @click=\"shopcart.actions.toggleShopcart\" class=\"cursor-pointer i-medium button-icon\"/>\n </div>\n <!-- ---------------------------------------------------------------- -->\n <!-- 02. Popup Content -->\n <!-- ---------------------------------------------------------------- -->\n <div class=\"pd-big pd-t-zero mobile:pd-t-zero mobile:pd-medium h-70 flex flex-column w-100 pos-relative o-x-hidden o-y-scroll gap-small shopcart-content\">\n <!-- Empty State -->\n <p v-if=\"!(shopcart.state.positions.length > 0)\" class=\"mn-t-medium\"><i>{{t('emptystate')}}</i></p>\n <!-- Shopcart positions -->\n <CardOrderItem \n v-for=\"(product, index) in shopcart.state.positions\" \n :key=\"`${product._id}_${product.variant || 'no-variant'}_${index}`\" \n :editable=\"true\" \n :productId=\"product._id\"\n :variantId=\"product.variant\"\n :images=\"product.images\"\n :name=\"product.name\"\n :quantity=\"product.quantity\"\n :unit=\"product.unit\"\n :dates=\"product.date\"\n :listing=\"product.listing\"\n :price=\"product.price\"\n :increase=\"() => shopcart.actions.incrementItemQuantity(product._id, product.variant)\"\n :decrease=\"() => shopcart.actions.decrementItemQuantity(product._id, product.variant)\"\n :remove=\"() => shopcart.actions.removeProduct(product._id, product.variant)\"\n @updateRentDates=\"(productId, variantId, dates) => shopcart.actions.updateRentDates({ productId, variantId, dates })\"\n />\n </div>\n <!-- ---------------------------------------------------------------- -->\n <!-- 03. Footer -->\n <!-- ---------------------------------------------------------------- -->\n <div class=\"h-30 ease-in-out pd-b-medium pd-x-medium pd-big ease-cubic bg-light t-black\">\n <div v-if=\"shopcart.state.positions.length > 0\" class=\"mn-b-small total-price\">\n <PriceTotal\n :totalPrice=\"cartTotalPrice\"\n :currency=\"returnCurrency()\"\n :showFees=\"store.core.state.options?.orders.showFees\"\n :feesRate=\"store.core.state.options?.orders.feesRate\"\n :showVat=\"store.core.state.options?.orders.showVat\"\n :vatRate=\"store.core.state.options?.orders.vatRate\"\n />\n </div>\n <button v-if=\"shopcart.state.positions.length > 0\" @click=\"openOrder()\" class=\"bg-main t-black w-100 button\">{{ t('fastorder') }}</button>\n </div> \n\n <!-- ---------------------------------------------------------------- -->\n <!-- 04. Color Overlay -->\n <!-- ---------------------------------------------------------------- -->\n <transition name=\"fade\">\n <teleport to=\"#app-wrapper\" v-if=\"shopcart.state.currentState\">\n\n <div \n v-if=\"shopcart.state.currentState\"\n @click=\"() => shopcart.state.currentState = false\"\n class=\"color-overlay z-index-3\"\n :class=\"{'active':shopcart.state.currentState === true}\"\n >\n </div>\n </teleport>\n </transition>\n </section>\n</template>\n\n\n<script setup>\n /////////////////////////////\n // COMPONENT DEPENDENCIES\n /////////////////////////////\n\timport { computed,onMounted } from 'vue'\n // Route\n import { useRouter,useRoute } from 'vue-router'\n // i18n\n import { useI18n } from 'vue-i18n'\n // Components\n import CardOrderItem from '@martyrs/src/modules/orders/components/blocks/CardOrderItem.vue';\n import PriceTotal from '@martyrs/src/modules/orders/components/elements/PriceTotal.vue';\n\n import IconCross from '@martyrs/src/modules/icons/navigation/IconCross.vue';\n\n import { useStore } from '@martyrs/src/modules/core/views/store/core.store.js';\n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n import * as shopcart from '@martyrs/src/modules/orders/store/shopcart.js';\n import { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n /////////////////////////////\n // CREATED\n /////////////////////////////\n const store = useStore()\n const route = useRoute()\n const router = useRouter()\n const { returnCurrency } = useGlobalMixins()\n // Accessing state\n const cartTotalPrice = shopcart.getters.cartTotalPrice\n const StoreCartAmount = shopcart.getters.cartTotalAmount\n // \n // router.beforeEach((to, from, next) => {\n // if (shopcart.state.currentState === true) {\n // shopcart.actions.toggleShopcart();\n // }\n // next(); // Убедитесь, что вызываете next() для продолжения перехода по роуту\n // });\n\n /////////////////////////////\n // LOCALIZATION\n /////////////////////////////\n const text = {\n messages: {\n en: {\n title: 'Your order',\n subtitle: 'You have',\n positions: 'no products in shop cart | 1 product in shop cart | {count} products in shop card',\n emptystate: \"You don't have any positions in your shop cart yet. Maybe something needs to be added?\",\n intotal: 'In total',\n fastorder: 'Checkout'\n },\n ru: {\n title: 'Ваш заказ',\n subtitle: 'У вас',\n positions: 'нет товаров в корзине | 1 товар в корзине | {count} товаров в корзине',\n emptystate: \"У вас еще нет товаров в корзине. Может стоит что-нибудь добавить?\",\n intotal: 'Итого',\n fastorder: 'Подтвердить заказ'\n }\n }\n }\n\n const { t } = useI18n(text)\n /////////////////////////////\n // MOUNTED\n /////////////////////////////\n function openOrder() {\n // store.dispatch(\"shopcart/toggleShopCart\");\n // store.dispatch(\"shopcart/setSearch\");\n !store.core.state.options.orders.allowUnauthenticatedOrders && !auth.state.user._id ? router.push({name: 'Sign In', query: { returnUrl: '/orders/form'}}) : router.push({name: 'CreateOrder'})\n shopcart.actions.toggleShopcart();\n }\n</script>\n\n<style lang=\"scss\">\n.shop-cart {\n display: block;\n position: fixed;\n\n right: -33%;\n top: 0;\n\n height: 100%;\n width: 33%;\n\n overflow-y: scroll; \n}\n\n.shop-cart-active {\n right: 0;\n\n}\n\n@media screen and (max-width: 1025px) {\n .shop-cart {\n width: 100%;\n right: -100%;\n\n .shopcart-footer {\n width: 100%;\n right: -100%;\n }\n\n &-active {\n right: 0;\n\n .shopcart-footer {\n right: 0;\n }\n }\n }\n}\n</style>\n\n\n"],"names":["shopcart.getters","auth.state","shopcart.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGE,UAAM,QAAQ,SAAQ;AACR,aAAQ;AACtB,UAAM,SAAS,UAAS;AACxB,UAAM,EAAE,eAAc,IAAK,gBAAe;AAE1C,UAAM,iBAAiBA,QAAiB;AACxC,UAAM,kBAAkBA,QAAiB;AAYzC,UAAM,OAAO;AAAA,MACX,UAAU;AAAA,QACR,IAAI;AAAA,UACF,OAAO;AAAA,UACP,UAAU;AAAA,UACV,WAAW;AAAA,UACX,YAAY;AAAA,UACZ,SAAS;AAAA,UACT,WAAW;AAAA,QACnB;AAAA,QACM,IAAI;AAAA,UACF,OAAO;AAAA,UACP,UAAU;AAAA,UACV,WAAW;AAAA,UACX,YAAY;AAAA,UACZ,SAAS;AAAA,UACT,WAAW;AAAA,QACnB;AAAA,MACA;AAAA,IACA;AAEE,UAAM,EAAE,MAAM,QAAQ,IAAI;AAI1B,aAAS,YAAY;AAGnB,OAAC,MAAM,KAAK,MAAM,QAAQ,OAAO,8BAA8B,CAACC,QAAW,KAAK,MAAO,OAAO,KAAK,EAAC,MAAM,WAAW,OAAO,EAAE,WAAW,eAAc,EAAC,CAAC,IAAM,OAAO,KAAK,EAAC,MAAM,cAAa,CAAC;AAChMC,cAAiB,eAAc;AAAA,IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ShopCart.vue.js","sources":["../../../../../../../src/modules/orders/components/partials/ShopCart.vue"],"sourcesContent":["<template>\n\t<section class=\"z-index-5 flex flex-column ease-in-out bg-white shop-cart\" :class=\"{'shop-cart-active':shopcart.state.currentState === true}\">\n <!-- ---------------------------------------------------------------- -->\n <!-- 01. Popup Header -->\n <!-- ---------------------------------------------------------------- -->\n <div class=\"pd-big mobile:pd-medium pd-b-zero mobile:pd-b-zero flex-nowrap flex\">\n <div class=\"mn-b-medium w-100\">\n <h4 class=\"mn-b-thin p-medium\">{{t('title')}}</h4>\n <p class=\"opacity-50 p-small\">{{t('subtitle')}} {{ t('positions', { count: StoreCartAmount }) }}</p>\n </div>\n <IconCross @click=\"shopcart.actions.toggleShopcart\" class=\"cursor-pointer i-medium button-icon\"/>\n </div>\n <!-- ---------------------------------------------------------------- -->\n <!-- 02. Popup Content -->\n <!-- ---------------------------------------------------------------- -->\n <div class=\"pd-big pd-t-zero mobile:pd-t-zero mobile:pd-medium h-70 flex flex-column w-100 pos-relative o-x-hidden o-y-scroll gap-small shopcart-content\">\n <!-- Empty State -->\n <p v-if=\"!(shopcart.state.positions.length > 0)\" class=\"mn-t-medium\"><i>{{t('emptystate')}}</i></p>\n <!-- Shopcart positions -->\n <CardOrderItem \n v-for=\"(product, index) in shopcart.state.positions\" \n :key=\"`${product._id}_${product.variant || 'no-variant'}_${index}`\" \n :editable=\"true\" \n :productId=\"product._id\"\n :variantId=\"product.variant\"\n :images=\"product.images\"\n :name=\"product.name\"\n :quantity=\"product.quantity\"\n :unit=\"product.unit\"\n :dates=\"product.date\"\n :listing=\"product.listing\"\n :price=\"product.price\"\n :increase=\"() => shopcart.actions.incrementItemQuantity(product._id, product.variant)\"\n :decrease=\"() => shopcart.actions.decrementItemQuantity(product._id, product.variant)\"\n :remove=\"() => shopcart.actions.removeProduct(product._id, product.variant)\"\n @updateRentDates=\"(productId, variantId, dates) => shopcart.actions.updateRentDates({ productId, variantId, dates })\"\n />\n </div>\n <!-- ---------------------------------------------------------------- -->\n <!-- 03. Footer -->\n <!-- ---------------------------------------------------------------- -->\n <div class=\"h-30 ease-in-out pd-b-medium pd-x-medium pd-big ease-cubic bg-light t-black\">\n <div v-if=\"shopcart.state.positions.length > 0\" class=\"mn-b-small total-price\">\n <PriceTotal\n :totalPrice=\"cartTotalPrice\"\n :currency=\"returnCurrency()\"\n :showFees=\"store.core.state.options?.orders.showFees\"\n :feesRate=\"store.core.state.options?.orders.feesRate\"\n :showVat=\"store.core.state.options?.orders.showVat\"\n :vatRate=\"store.core.state.options?.orders.vatRate\"\n />\n </div>\n <button v-if=\"shopcart.state.positions.length > 0\" @click=\"openOrder()\" class=\"bg-main t-black w-100 button\">{{ t('fastorder') }}</button>\n </div> \n\n <!-- ---------------------------------------------------------------- -->\n <!-- 04. Color Overlay -->\n <!-- ---------------------------------------------------------------- -->\n <transition name=\"fade\">\n <teleport to=\"#app-wrapper\" v-if=\"shopcart.state.currentState\">\n\n <div \n v-if=\"shopcart.state.currentState\"\n @click=\"() => shopcart.state.currentState = false\"\n class=\"color-overlay z-index-3\"\n :class=\"{'active':shopcart.state.currentState === true}\"\n >\n </div>\n </teleport>\n </transition>\n </section>\n</template>\n\n\n<script setup>\n /////////////////////////////\n // COMPONENT DEPENDENCIES\n /////////////////////////////\n\timport { computed,onMounted } from 'vue'\n // Route\n import { useRouter,useRoute } from 'vue-router'\n // i18n\n import { useI18n } from 'vue-i18n'\n // Components\n import CardOrderItem from '@martyrs/src/modules/orders/components/blocks/CardOrderItem.vue';\n import PriceTotal from '@martyrs/src/modules/orders/components/elements/PriceTotal.vue';\n\n import IconCross from '@martyrs/src/modules/icons/navigation/IconCross.vue';\n\n import { useStore } from '@martyrs/src/modules/core/views/store/core.store.js';\n import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';\n import * as shopcart from '@martyrs/src/modules/orders/store/shopcart.js';\n import { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n /////////////////////////////\n // CREATED\n /////////////////////////////\n const store = useStore()\n const route = useRoute()\n const router = useRouter()\n const { returnCurrency } = useGlobalMixins()\n // Accessing state\n const cartTotalPrice = shopcart.getters.cartTotalPrice\n const StoreCartAmount = shopcart.getters.cartTotalAmount\n // \n // router.beforeEach((to, from, next) => {\n // if (shopcart.state.currentState === true) {\n // shopcart.actions.toggleShopcart();\n // }\n // next(); // Убедитесь, что вызываете next() для продолжения перехода по роуту\n // });\n\n /////////////////////////////\n // LOCALIZATION\n /////////////////////////////\n const text = {\n messages: {\n en: {\n title: 'Your order',\n subtitle: 'You have',\n positions: 'no products in shop cart | 1 product in shop cart | {count} products in shop card',\n emptystate: \"You don't have any positions in your shop cart yet. Maybe something needs to be added?\",\n intotal: 'In total',\n fastorder: 'Checkout'\n },\n ru: {\n title: 'Ваш заказ',\n subtitle: 'У вас',\n positions: 'нет товаров в корзине | 1 товар в корзине | {count} товаров в корзине',\n emptystate: \"У вас еще нет товаров в корзине. Может стоит что-нибудь добавить?\",\n intotal: 'Итого',\n fastorder: 'Подтвердить заказ'\n }\n }\n }\n\n const { t } = useI18n(text)\n /////////////////////////////\n // MOUNTED\n /////////////////////////////\n function openOrder() {\n // store.dispatch(\"shopcart/toggleShopCart\");\n // store.dispatch(\"shopcart/setSearch\");\n !store.core.state.options.orders.allowUnauthenticatedOrders && !auth.state.user._id ? router.push({name: 'Sign In', query: { returnUrl: '/orders/form'}}) : router.push({name: 'CreateOrder'})\n shopcart.actions.toggleShopcart();\n }\n</script>\n\n<style lang=\"scss\">\n.shop-cart {\n display: block;\n position: fixed;\n\n right: -33%;\n top: 0;\n\n height: 100%;\n width: 33%;\n\n overflow-y: scroll; \n}\n\n.shop-cart-active {\n right: 0;\n\n}\n\n@media screen and (max-width: 1025px) {\n .shop-cart {\n width: 100%;\n right: -100%;\n\n .shopcart-footer {\n width: 100%;\n right: -100%;\n }\n\n &-active {\n right: 0;\n\n .shopcart-footer {\n right: 0;\n }\n }\n }\n}\n</style>\n\n\n"],"names":["shopcart.getters","auth.state","shopcart.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGE,UAAM,QAAQ,SAAQ;AACR,aAAQ;AACtB,UAAM,SAAS,UAAS;AACxB,UAAM,EAAE,eAAc,IAAK,gBAAe;AAE1C,UAAM,iBAAiBA,QAAiB;AACxC,UAAM,kBAAkBA,QAAiB;AAYzC,UAAM,OAAO;AAAA,MACX,UAAU;AAAA,QACR,IAAI;AAAA,UACF,OAAO;AAAA,UACP,UAAU;AAAA,UACV,WAAW;AAAA,UACX,YAAY;AAAA,UACZ,SAAS;AAAA,UACT,WAAW;AAAA,QACnB;AAAA,QACM,IAAI;AAAA,UACF,OAAO;AAAA,UACP,UAAU;AAAA,UACV,WAAW;AAAA,UACX,YAAY;AAAA,UACZ,SAAS;AAAA,UACT,WAAW;AAAA,QACnB;AAAA,MACA;AAAA,IACA;AAEE,UAAM,EAAE,MAAM,QAAQ,IAAI;AAI1B,aAAS,YAAY;AAGnB,OAAC,MAAM,KAAK,MAAM,QAAQ,OAAO,8BAA8B,CAACC,QAAW,KAAK,MAAO,OAAO,KAAK,EAAC,MAAM,WAAW,OAAO,EAAE,WAAW,eAAc,EAAC,CAAC,IAAM,OAAO,KAAK,EAAC,MAAM,cAAa,CAAC;AAChMC,cAAiB,eAAc;AAAA,IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { createElementBlock, openBlock, createVNode, createElementVNode, withCtx, toDisplayString, createCommentVNode, unref, createTextVNode } from "vue";
1
+ import { createElementBlock, openBlock, createVNode, createElementVNode, withCtx, toDisplayString, unref, createCommentVNode, createTextVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
3
3
  import _sfc_main$2 from "../../../../components/Table/StatusBadge.vue.js";
4
4
  import Button from "../../../../components/Button/Button.vue2.js";
@@ -30,7 +30,7 @@ const _sfc_main = {
30
30
  },
31
31
  emits: ["edit", "delete"],
32
32
  setup(__props) {
33
- const { formatDate } = useGlobalMixins();
33
+ const { formatDate, formatPhone } = useGlobalMixins();
34
34
  return (_ctx, _cache) => {
35
35
  return openBlock(), createElementBlock("div", _hoisted_1, [
36
36
  createVNode(_sfc_main$1, { title: "Application Information" }, {
@@ -46,7 +46,7 @@ const _sfc_main = {
46
46
  ]),
47
47
  createElementVNode("div", _hoisted_5, [
48
48
  _cache[4] || (_cache[4] = createElementVNode("strong", { class: "mn-r-auto" }, "Phone:", -1)),
49
- createElementVNode("span", null, toDisplayString(__props.application.contacts?.phone || "Not specified"), 1)
49
+ createElementVNode("span", null, toDisplayString(__props.application.contacts?.phone ? unref(formatPhone)(__props.application.contacts.phone) : "Not specified"), 1)
50
50
  ]),
51
51
  createElementVNode("div", _hoisted_6, [
52
52
  _cache[5] || (_cache[5] = createElementVNode("strong", { class: "mn-r-auto" }, "Status:", -1)),
@@ -109,7 +109,7 @@ const _sfc_main = {
109
109
  };
110
110
  }
111
111
  };
112
- const ApplicationDetails = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bffeeaa1"]]);
112
+ const ApplicationDetails = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3c630e9f"]]);
113
113
  export {
114
114
  ApplicationDetails as default
115
115
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationDetails.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/ApplicationDetails.vue"],"sourcesContent":["<template>\n <div class=\"gap-small cols-1\">\n <Block title=\"Application Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Name:</strong>\n <span>{{ application.contacts?.name || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Email:</strong>\n <span>{{ application.contacts?.email || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Phone:</strong>\n <span>{{ application.contacts?.phone || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Status:</strong>\n <StatusBadge :value=\"application.status\" />\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Type:</strong>\n <span>{{ application.type || 'Unknown' }}</span>\n </div>\n </div>\n </Block>\n\n <Block title=\"Additional Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Created:</strong>\n <span>{{ formatDate(application.createdAt) }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Updated:</strong>\n <span>{{ formatDate(application.updatedAt) }}</span>\n </div>\n <div v-if=\"application.text\">\n <strong>Message:</strong>\n <p class=\"mn-t-thin\">{{ application.text }}</p>\n </div>\n <div v-if=\"application.chat\">\n <strong>Chat ID:</strong>\n <p class=\"mn-t-thin\">{{ application.chat }}</p>\n </div>\n </div>\n </Block>\n\n <div class=\"gap-thin flex mn-t-small\">\n <Button \n @click=\"$emit('edit')\"\n class=\"w-100 pd-small radius-big bg-main t-black uppercase fw-medium\"\n >\n Edit\n </Button>\n <Button \n @click=\"$emit('delete')\"\n class=\"w-100 pd-small radius-big bg-danger t-white uppercase fw-medium\"\n >\n Delete\n </Button>\n </div>\n </div>\n</template>\n\n<script setup>\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport StatusBadge from '@martyrs/src/components/Table/StatusBadge.vue';\nimport Button from '@martyrs/src/components/Button/Button.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n\nconst { formatDate } = useGlobalMixins();\n\ndefineProps({\n application: {\n type: Object,\n required: true\n }\n});\n\ndefineEmits(['edit', 'delete']);\n</script>\n\n<style scoped>\n.bg-danger {\n background-color: #ef4444;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEA,UAAM,EAAE,WAAU,IAAK,gBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ApplicationDetails.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/ApplicationDetails.vue"],"sourcesContent":["<template>\n <div class=\"gap-small cols-1\">\n <Block title=\"Application Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Name:</strong>\n <span>{{ application.contacts?.name || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Email:</strong>\n <span>{{ application.contacts?.email || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Phone:</strong>\n <span>{{ application.contacts?.phone ? formatPhone(application.contacts.phone) : 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Status:</strong>\n <StatusBadge :value=\"application.status\" />\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Type:</strong>\n <span>{{ application.type || 'Unknown' }}</span>\n </div>\n </div>\n </Block>\n\n <Block title=\"Additional Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Created:</strong>\n <span>{{ formatDate(application.createdAt) }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Updated:</strong>\n <span>{{ formatDate(application.updatedAt) }}</span>\n </div>\n <div v-if=\"application.text\">\n <strong>Message:</strong>\n <p class=\"mn-t-thin\">{{ application.text }}</p>\n </div>\n <div v-if=\"application.chat\">\n <strong>Chat ID:</strong>\n <p class=\"mn-t-thin\">{{ application.chat }}</p>\n </div>\n </div>\n </Block>\n\n <div class=\"gap-thin flex mn-t-small\">\n <Button \n @click=\"$emit('edit')\"\n class=\"w-100 pd-small radius-big bg-main t-black uppercase fw-medium\"\n >\n Edit\n </Button>\n <Button \n @click=\"$emit('delete')\"\n class=\"w-100 pd-small radius-big bg-danger t-white uppercase fw-medium\"\n >\n Delete\n </Button>\n </div>\n </div>\n</template>\n\n<script setup>\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport StatusBadge from '@martyrs/src/components/Table/StatusBadge.vue';\nimport Button from '@martyrs/src/components/Button/Button.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n\nconst { formatDate, formatPhone } = useGlobalMixins();\n\ndefineProps({\n application: {\n type: Object,\n required: true\n }\n});\n\ndefineEmits(['edit', 'delete']);\n</script>\n\n<style scoped>\n.bg-danger {\n background-color: #ef4444;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEA,UAAM,EAAE,YAAY,YAAW,IAAK,gBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -11,7 +11,7 @@ const _sfc_main = {
11
11
  return unref(isOpen) === true ? (openBlock(), createElementBlock("div", _hoisted_1, [
12
12
  _cache[1] || (_cache[1] = createElementVNode("div", { class: "mn-r-auto" }, [
13
13
  createElementVNode("h3", { class: "fw-semi mn-b-small" }, "Already registered?"),
14
- createElementVNode("span", { class: "p-regular t-transp" }, "Sign in to your account to checkout faster.")
14
+ createElementVNode("span", { class: "p-regular opacity-50" }, "Sign in to your account to checkout faster.")
15
15
  ], -1)),
16
16
  createElementVNode("button", {
17
17
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.toggleSignInPopup()),
@@ -1 +1 @@
1
- {"version":3,"file":"AskToLogin.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/AskToLogin.vue"],"sourcesContent":["<template>\n\t<div \n v-if=\"isOpen === true\" \n class=\"\n bg-black \n t-white \n pd-big \n mobile:pd-medium\n radius-medium\n flex-v-center\n flex-nowrap \n flex\n mobile:flex-column\n \"\n >\n <!-- <img loading=\"lazy\" \n @click=\"isOpen = false\" \n class=\"\n i-base \n button-close-popup \n button\n \"\n src=\"@/assets/icons/cross-white.svg\"\n > -->\n\n <div class=\"mn-r-auto\">\n <h3 class=\"fw-semi mn-b-small\">Already registered?</h3>\n <span class=\"p-regular t-transp\">Sign in to your account to checkout faster.</span>\n </div>\n\n <button \n @click=\"toggleSignInPopup()\" \n class=\"button mobile:w-100 mobile:mn-t-small h-4r bg-main\"\n >\n Sign In\n </button>\n </div>\n</template>\n\n\n<script setup>\n\timport { ref } from 'vue'\n\n\tlet isOpen = ref(true);\n</script>\n\n<style lang=\"scss\">\n</style>\n\n\n"],"names":[],"mappings":";;;;;;;;AA2CC,QAAI,SAAS,IAAI,IAAI;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"AskToLogin.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/AskToLogin.vue"],"sourcesContent":["<template>\n\t<div \n v-if=\"isOpen === true\" \n class=\"\n bg-black \n t-white \n pd-big \n mobile:pd-medium\n radius-medium\n flex-v-center\n flex-nowrap \n flex\n mobile:flex-column\n \"\n >\n <!-- <img loading=\"lazy\" \n @click=\"isOpen = false\" \n class=\"\n i-base \n button-close-popup \n button\n \"\n src=\"@/assets/icons/cross-white.svg\"\n > -->\n\n <div class=\"mn-r-auto\">\n <h3 class=\"fw-semi mn-b-small\">Already registered?</h3>\n <span class=\"p-regular opacity-50\">Sign in to your account to checkout faster.</span>\n </div>\n\n <button \n @click=\"toggleSignInPopup()\" \n class=\"button mobile:w-100 mobile:mn-t-small h-4r bg-main\"\n >\n Sign In\n </button>\n </div>\n</template>\n\n\n<script setup>\n\timport { ref } from 'vue'\n\n\tlet isOpen = ref(true);\n</script>\n\n<style lang=\"scss\">\n</style>\n\n\n"],"names":[],"mappings":";;;;;;;;AA2CC,QAAI,SAAS,IAAI,IAAI;;;;;;;;;;;;;;;"}
@@ -1,30 +1,52 @@
1
- import { createElementBlock, openBlock, createVNode, createElementVNode, withCtx, toDisplayString, createCommentVNode, unref, Fragment, renderList, createTextVNode } from "vue";
2
- import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
3
- import _sfc_main$2 from "../../../../components/Table/StatusBadge.vue.js";
1
+ import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, toDisplayString, createVNode, unref, Fragment, renderList, withDirectives, vShow, withCtx, createTextVNode } from "vue";
2
+ import _sfc_main$1 from "../../../../components/Table/StatusBadge.vue.js";
4
3
  import Button from "../../../../components/Button/Button.vue2.js";
5
4
  import { useGlobalMixins } from "../../../core/views/mixins/mixins.js";
6
- /* empty css */
7
- import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
8
- const _hoisted_1 = { class: "gap-small cols-1" };
9
- const _hoisted_2 = { class: "gap-small" };
10
- const _hoisted_3 = { class: "flex" };
11
- const _hoisted_4 = { class: "flex" };
12
- const _hoisted_5 = { class: "flex" };
13
- const _hoisted_6 = { class: "flex" };
14
- const _hoisted_7 = { class: "flex" };
15
- const _hoisted_8 = { class: "flex" };
16
- const _hoisted_9 = { class: "gap-small" };
17
- const _hoisted_10 = {
5
+ const _hoisted_1 = { class: "w-100" };
6
+ const _hoisted_2 = { class: "mn-b-small" };
7
+ const _hoisted_3 = { class: "flex-nowrap flex gap-thin" };
8
+ const _hoisted_4 = { class: "w-100 bg-light radius-small pd-small" };
9
+ const _hoisted_5 = { class: "fw-medium" };
10
+ const _hoisted_6 = { class: "w-100 bg-light radius-small pd-small" };
11
+ const _hoisted_7 = { class: "mn-b-small" };
12
+ const _hoisted_8 = { class: "flex-nowrap flex-column flex gap-thin" };
13
+ const _hoisted_9 = { class: "w-100 bg-light radius-small pd-small" };
14
+ const _hoisted_10 = ["href"];
15
+ const _hoisted_11 = { key: 1 };
16
+ const _hoisted_12 = { class: "w-100 bg-light radius-small pd-small" };
17
+ const _hoisted_13 = ["href"];
18
+ const _hoisted_14 = { key: 1 };
19
+ const _hoisted_15 = {
18
20
  key: 0,
19
- class: "flex"
21
+ class: "mn-b-small"
20
22
  };
21
- const _hoisted_11 = { class: "flex" };
22
- const _hoisted_12 = { class: "flex" };
23
- const _hoisted_13 = { key: 1 };
24
- const _hoisted_14 = { class: "flex flex-wrap gap-nano mn-t-thin" };
25
- const _hoisted_15 = { key: 2 };
26
- const _hoisted_16 = { class: "mn-t-thin" };
27
- const _hoisted_17 = { class: "gap-thin flex mn-t-small" };
23
+ const _hoisted_16 = { class: "flex flex-wrap gap-thin" };
24
+ const _hoisted_17 = ["href"];
25
+ const _hoisted_18 = { class: "mn-b-small" };
26
+ const _hoisted_19 = { class: "flex-nowrap flex gap-thin" };
27
+ const _hoisted_20 = { class: "w-100 bg-light radius-small pd-small" };
28
+ const _hoisted_21 = { class: "w-100 bg-light radius-small pd-small" };
29
+ const _hoisted_22 = { class: "mn-b-small" };
30
+ const _hoisted_23 = { class: "flex-nowrap flex gap-thin" };
31
+ const _hoisted_24 = { class: "w-100 bg-light radius-small pd-small" };
32
+ const _hoisted_25 = { class: "w-100 bg-light radius-small pd-small" };
33
+ const _hoisted_26 = {
34
+ key: 1,
35
+ class: "mn-b-small"
36
+ };
37
+ const _hoisted_27 = { class: "bg-light radius-small pd-small" };
38
+ const _hoisted_28 = { class: "fw-medium" };
39
+ const _hoisted_29 = {
40
+ key: 2,
41
+ class: "mn-b-small"
42
+ };
43
+ const _hoisted_30 = { class: "flex flex-wrap gap-micro" };
44
+ const _hoisted_31 = {
45
+ key: 3,
46
+ class: "mn-b-small"
47
+ };
48
+ const _hoisted_32 = { class: "bg-light radius-small pd-small t-small" };
49
+ const _hoisted_33 = { class: "flex-nowrap flex gap-small" };
28
50
  const _sfc_main = {
29
51
  __name: "CustomerDetails",
30
52
  props: {
@@ -35,91 +57,142 @@ const _sfc_main = {
35
57
  },
36
58
  emits: ["edit", "delete"],
37
59
  setup(__props) {
38
- const { formatDate } = useGlobalMixins();
60
+ const { formatDate, formatPhone } = useGlobalMixins();
61
+ const socialUrls = {
62
+ whatsapp: (v) => `https://wa.me/${v.replace(/[^0-9]/g, "")}`,
63
+ telegram: (v) => `https://t.me/${v.replace("@", "")}`,
64
+ line: (v) => `https://line.me/ti/p/${v}`,
65
+ instagram: (v) => `https://instagram.com/${v.replace("@", "")}`,
66
+ facebook: (v) => `https://facebook.com/${v}`
67
+ };
68
+ function socialUrl(key, value) {
69
+ if (!value) return "";
70
+ return socialUrls[key] ? socialUrls[key](value) : value;
71
+ }
72
+ const props = __props;
73
+ const hasSocials = computed(() => {
74
+ return props.customer.socials && Object.values(props.customer.socials).some((v) => v);
75
+ });
39
76
  return (_ctx, _cache) => {
40
77
  return openBlock(), createElementBlock("div", _hoisted_1, [
41
- createVNode(_sfc_main$1, { title: "Customer Information" }, {
42
- default: withCtx(() => [
43
- createElementVNode("div", _hoisted_2, [
44
- createElementVNode("div", _hoisted_3, [
45
- _cache[2] || (_cache[2] = createElementVNode("strong", { class: "mn-r-auto" }, "Name:", -1)),
46
- createElementVNode("span", null, toDisplayString(__props.customer.profile?.name || "Not specified"), 1)
47
- ]),
48
- createElementVNode("div", _hoisted_4, [
49
- _cache[3] || (_cache[3] = createElementVNode("strong", { class: "mn-r-auto" }, "Email:", -1)),
50
- createElementVNode("span", null, toDisplayString(__props.customer.email || "Not specified"), 1)
51
- ]),
52
- createElementVNode("div", _hoisted_5, [
53
- _cache[4] || (_cache[4] = createElementVNode("strong", { class: "mn-r-auto" }, "Phone:", -1)),
54
- createElementVNode("span", null, toDisplayString(__props.customer.phone || "Not specified"), 1)
55
- ]),
56
- createElementVNode("div", _hoisted_6, [
57
- _cache[5] || (_cache[5] = createElementVNode("strong", { class: "mn-r-auto" }, "Status:", -1)),
58
- createVNode(_sfc_main$2, {
59
- value: __props.customer.status
60
- }, null, 8, ["value"])
61
- ]),
62
- createElementVNode("div", _hoisted_7, [
63
- _cache[6] || (_cache[6] = createElementVNode("strong", { class: "mn-r-auto" }, "Source:", -1)),
64
- createElementVNode("span", null, toDisplayString(__props.customer.source || "Unknown"), 1)
65
- ]),
66
- createElementVNode("div", _hoisted_8, [
67
- _cache[7] || (_cache[7] = createElementVNode("strong", { class: "mn-r-auto" }, "Type:", -1)),
68
- createElementVNode("span", null, toDisplayString(__props.customer.identity?.type || "Visitor"), 1)
69
- ])
78
+ _cache[20] || (_cache[20] = createElementVNode("p", { class: "mn-b-small opacity-50" }, " Customer information and activity details. ", -1)),
79
+ createElementVNode("div", _hoisted_2, [
80
+ createElementVNode("div", _hoisted_3, [
81
+ createElementVNode("div", _hoisted_4, [
82
+ _cache[2] || (_cache[2] = createElementVNode("p", { class: "mn-b-micro opacity-50 t-small" }, "Name", -1)),
83
+ createElementVNode("p", _hoisted_5, toDisplayString(__props.customer.profile?.name || "Not specified"), 1)
84
+ ]),
85
+ createElementVNode("div", _hoisted_6, [
86
+ _cache[3] || (_cache[3] = createElementVNode("p", { class: "mn-b-thin opacity-50 t-small" }, "Status", -1)),
87
+ createVNode(_sfc_main$1, {
88
+ value: __props.customer.status
89
+ }, null, 8, ["value"])
70
90
  ])
71
- ]),
72
- _: 1
73
- }),
74
- createVNode(_sfc_main$1, { title: "Additional Information" }, {
75
- default: withCtx(() => [
91
+ ])
92
+ ]),
93
+ createElementVNode("div", _hoisted_7, [
94
+ _cache[6] || (_cache[6] = createElementVNode("p", { class: "mn-b-thin fw-medium" }, "Contact", -1)),
95
+ createElementVNode("div", _hoisted_8, [
76
96
  createElementVNode("div", _hoisted_9, [
77
- __props.customer.referral?.code ? (openBlock(), createElementBlock("div", _hoisted_10, [
78
- _cache[8] || (_cache[8] = createElementVNode("strong", { class: "mn-r-auto" }, "Referral Code:", -1)),
79
- createElementVNode("span", null, toDisplayString(__props.customer.referral.code), 1)
80
- ])) : createCommentVNode("", true),
81
- createElementVNode("div", _hoisted_11, [
82
- _cache[9] || (_cache[9] = createElementVNode("strong", { class: "mn-r-auto" }, "Created:", -1)),
83
- createElementVNode("span", null, toDisplayString(unref(formatDate)(__props.customer.createdAt)), 1)
84
- ]),
85
- createElementVNode("div", _hoisted_12, [
86
- _cache[10] || (_cache[10] = createElementVNode("strong", { class: "mn-r-auto" }, "Last Activity:", -1)),
87
- createElementVNode("span", null, toDisplayString(unref(formatDate)(__props.customer.lastActivity || __props.customer.updatedAt)), 1)
88
- ]),
89
- __props.customer.tags && __props.customer.tags.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_13, [
90
- _cache[11] || (_cache[11] = createElementVNode("strong", null, "Tags:", -1)),
91
- createElementVNode("div", _hoisted_14, [
92
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.customer.tags, (tag) => {
93
- return openBlock(), createElementBlock("span", {
94
- key: tag,
95
- class: "bg-light pd-nano radius-small t-small"
96
- }, toDisplayString(tag), 1);
97
- }), 128))
98
- ])
99
- ])) : createCommentVNode("", true),
100
- __props.customer.notes ? (openBlock(), createElementBlock("div", _hoisted_15, [
101
- _cache[12] || (_cache[12] = createElementVNode("strong", null, "Notes:", -1)),
102
- createElementVNode("p", _hoisted_16, toDisplayString(__props.customer.notes), 1)
103
- ])) : createCommentVNode("", true)
97
+ _cache[4] || (_cache[4] = createElementVNode("p", { class: "mn-b-micro opacity-50 t-small" }, "Email", -1)),
98
+ __props.customer.email ? (openBlock(), createElementBlock("a", {
99
+ key: 0,
100
+ href: `mailto:${__props.customer.email}`,
101
+ class: "t-second"
102
+ }, toDisplayString(__props.customer.email), 9, _hoisted_10)) : (openBlock(), createElementBlock("p", _hoisted_11, ""))
103
+ ]),
104
+ createElementVNode("div", _hoisted_12, [
105
+ _cache[5] || (_cache[5] = createElementVNode("p", { class: "mn-b-micro opacity-50 t-small" }, "Phone", -1)),
106
+ __props.customer.phone ? (openBlock(), createElementBlock("a", {
107
+ key: 0,
108
+ href: `tel:${__props.customer.phone}`,
109
+ class: "t-second"
110
+ }, toDisplayString(unref(formatPhone)(__props.customer.phone)), 9, _hoisted_13)) : (openBlock(), createElementBlock("p", _hoisted_14, ""))
111
+ ])
112
+ ])
113
+ ]),
114
+ hasSocials.value ? (openBlock(), createElementBlock("div", _hoisted_15, [
115
+ _cache[7] || (_cache[7] = createElementVNode("p", { class: "mn-b-thin fw-medium" }, "Social", -1)),
116
+ createElementVNode("div", _hoisted_16, [
117
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.customer.socials, (value, key) => {
118
+ return withDirectives((openBlock(), createElementBlock("a", {
119
+ key,
120
+ href: socialUrl(key, value),
121
+ target: "_blank",
122
+ class: "bg-light radius-small pd-thin pd-l-small pd-r-small t-second fw-medium t-small"
123
+ }, toDisplayString(key), 9, _hoisted_17)), [
124
+ [vShow, value]
125
+ ]);
126
+ }), 128))
127
+ ])
128
+ ])) : createCommentVNode("", true),
129
+ createElementVNode("div", _hoisted_18, [
130
+ _cache[10] || (_cache[10] = createElementVNode("p", { class: "mn-b-thin fw-medium" }, "Details", -1)),
131
+ createElementVNode("div", _hoisted_19, [
132
+ createElementVNode("div", _hoisted_20, [
133
+ _cache[8] || (_cache[8] = createElementVNode("p", { class: "mn-b-micro opacity-50 t-small" }, "Source", -1)),
134
+ createElementVNode("p", null, toDisplayString(__props.customer.source || "Unknown"), 1)
135
+ ]),
136
+ createElementVNode("div", _hoisted_21, [
137
+ _cache[9] || (_cache[9] = createElementVNode("p", { class: "mn-b-micro opacity-50 t-small" }, "Type", -1)),
138
+ createElementVNode("p", null, toDisplayString(__props.customer.identity?.type || "Visitor"), 1)
139
+ ])
140
+ ])
141
+ ]),
142
+ createElementVNode("div", _hoisted_22, [
143
+ _cache[13] || (_cache[13] = createElementVNode("p", { class: "mn-b-thin fw-medium" }, "Activity", -1)),
144
+ createElementVNode("div", _hoisted_23, [
145
+ createElementVNode("div", _hoisted_24, [
146
+ _cache[11] || (_cache[11] = createElementVNode("p", { class: "mn-b-micro opacity-50 t-small" }, "Created", -1)),
147
+ createElementVNode("p", null, toDisplayString(unref(formatDate)(__props.customer.createdAt)), 1)
148
+ ]),
149
+ createElementVNode("div", _hoisted_25, [
150
+ _cache[12] || (_cache[12] = createElementVNode("p", { class: "mn-b-micro opacity-50 t-small" }, "Last Activity", -1)),
151
+ createElementVNode("p", null, toDisplayString(unref(formatDate)(__props.customer.lastActivity || __props.customer.updatedAt)), 1)
104
152
  ])
105
- ]),
106
- _: 1
107
- }),
108
- createElementVNode("div", _hoisted_17, [
153
+ ])
154
+ ]),
155
+ __props.customer.referral?.code ? (openBlock(), createElementBlock("div", _hoisted_26, [
156
+ _cache[15] || (_cache[15] = createElementVNode("p", { class: "mn-b-thin fw-medium" }, "Referral", -1)),
157
+ createElementVNode("div", _hoisted_27, [
158
+ _cache[14] || (_cache[14] = createElementVNode("p", { class: "mn-b-micro opacity-50 t-small" }, "Code", -1)),
159
+ createElementVNode("p", _hoisted_28, toDisplayString(__props.customer.referral.code), 1)
160
+ ])
161
+ ])) : createCommentVNode("", true),
162
+ __props.customer.tags && __props.customer.tags.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_29, [
163
+ _cache[16] || (_cache[16] = createElementVNode("p", { class: "mn-b-thin fw-medium" }, "Tags", -1)),
164
+ createElementVNode("div", _hoisted_30, [
165
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.customer.tags, (tag) => {
166
+ return openBlock(), createElementBlock("span", {
167
+ key: tag,
168
+ class: "bg-light pd-micro pd-l-thin pd-r-thin radius-extra t-small"
169
+ }, toDisplayString(tag), 1);
170
+ }), 128))
171
+ ])
172
+ ])) : createCommentVNode("", true),
173
+ __props.customer.notes ? (openBlock(), createElementBlock("div", _hoisted_31, [
174
+ _cache[17] || (_cache[17] = createElementVNode("p", { class: "mn-b-thin fw-medium" }, "Notes", -1)),
175
+ createElementVNode("div", _hoisted_32, toDisplayString(__props.customer.notes), 1)
176
+ ])) : createCommentVNode("", true),
177
+ createElementVNode("div", _hoisted_33, [
109
178
  createVNode(Button, {
110
179
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("edit")),
111
- class: "w-100 pd-small radius-big bg-main t-black uppercase fw-medium"
180
+ showLoader: false,
181
+ showSucces: false,
182
+ class: "pd-small radius-small flex-center flex w-100 cursor-pointer bg-main t-black"
112
183
  }, {
113
- default: withCtx(() => _cache[13] || (_cache[13] = [
184
+ default: withCtx(() => _cache[18] || (_cache[18] = [
114
185
  createTextVNode(" Edit ")
115
186
  ])),
116
187
  _: 1
117
188
  }),
118
189
  createVNode(Button, {
119
190
  onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("delete")),
120
- class: "w-100 pd-small radius-big bg-danger t-white uppercase fw-medium"
191
+ showLoader: false,
192
+ showSucces: false,
193
+ class: "pd-small radius-small flex-center flex w-100 cursor-pointer bg-red t-white"
121
194
  }, {
122
- default: withCtx(() => _cache[14] || (_cache[14] = [
195
+ default: withCtx(() => _cache[19] || (_cache[19] = [
123
196
  createTextVNode(" Delete ")
124
197
  ])),
125
198
  _: 1
@@ -129,8 +202,7 @@ const _sfc_main = {
129
202
  };
130
203
  }
131
204
  };
132
- const CustomerDetails = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e84fd9d7"]]);
133
205
  export {
134
- CustomerDetails as default
206
+ _sfc_main as default
135
207
  };
136
208
  //# sourceMappingURL=CustomerDetails.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomerDetails.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/CustomerDetails.vue"],"sourcesContent":["<template>\n <div class=\"gap-small cols-1\">\n <Block title=\"Customer Information\">\n <div class=\"gap-small\">\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Name:</strong>\n <span>{{ customer.profile?.name || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Email:</strong>\n <span>{{ customer.email || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Phone:</strong>\n <span>{{ customer.phone || 'Not specified' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Status:</strong>\n <StatusBadge :value=\"customer.status\" />\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Source:</strong>\n <span>{{ customer.source || 'Unknown' }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Type:</strong>\n <span>{{ customer.identity?.type || 'Visitor' }}</span>\n </div>\n </div>\n </Block>\n\n <Block title=\"Additional Information\">\n <div class=\"gap-small\">\n <div v-if=\"customer.referral?.code\" class=\"flex\">\n <strong class=\"mn-r-auto\">Referral Code:</strong>\n <span>{{ customer.referral.code }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Created:</strong>\n <span>{{ formatDate(customer.createdAt) }}</span>\n </div>\n <div class=\"flex\">\n <strong class=\"mn-r-auto\">Last Activity:</strong>\n <span>{{ formatDate(customer.lastActivity || customer.updatedAt) }}</span>\n </div>\n <div v-if=\"customer.tags && customer.tags.length > 0\">\n <strong>Tags:</strong>\n <div class=\"flex flex-wrap gap-nano mn-t-thin\">\n <span \n v-for=\"tag in customer.tags\" \n :key=\"tag\"\n class=\"bg-light pd-nano radius-small t-small\"\n >\n {{ tag }}\n </span>\n </div>\n </div>\n <div v-if=\"customer.notes\">\n <strong>Notes:</strong>\n <p class=\"mn-t-thin\">{{ customer.notes }}</p>\n </div>\n </div>\n </Block>\n\n <div class=\"gap-thin flex mn-t-small\">\n <Button \n @click=\"$emit('edit')\"\n class=\"w-100 pd-small radius-big bg-main t-black uppercase fw-medium\"\n >\n Edit\n </Button>\n <Button \n @click=\"$emit('delete')\"\n class=\"w-100 pd-small radius-big bg-danger t-white uppercase fw-medium\"\n >\n Delete\n </Button>\n </div>\n </div>\n</template>\n\n<script setup>\nimport Block from '@martyrs/src/components/Block/Block.vue';\nimport StatusBadge from '@martyrs/src/components/Table/StatusBadge.vue';\nimport Button from '@martyrs/src/components/Button/Button.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n\nconst { formatDate } = useGlobalMixins();\n\ndefineProps({\n customer: {\n type: Object,\n required: true\n }\n});\n\ndefineEmits(['edit', 'delete']);\n</script>\n\n<style scoped>\n.bg-danger {\n background-color: #ef4444;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuFA,UAAM,EAAE,WAAU,IAAK,gBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CustomerDetails.vue.js","sources":["../../../../../../../src/modules/orders/components/sections/CustomerDetails.vue"],"sourcesContent":["<template>\n <div class=\"w-100\">\n <p class=\"mn-b-small opacity-50\">\n Customer information and activity details.\n </p>\n\n <!-- Name & Status -->\n <div class=\"mn-b-small\">\n <div class=\"flex-nowrap flex gap-thin\">\n <div class=\"w-100 bg-light radius-small pd-small\">\n <p class=\"mn-b-micro opacity-50 t-small\">Name</p>\n <p class=\"fw-medium\">{{ customer.profile?.name || 'Not specified' }}</p>\n </div>\n <div class=\"w-100 bg-light radius-small pd-small\">\n <p class=\"mn-b-thin opacity-50 t-small\">Status</p>\n <StatusBadge :value=\"customer.status\" />\n </div>\n </div>\n </div>\n\n <!-- Contact -->\n <div class=\"mn-b-small\">\n <p class=\"mn-b-thin fw-medium\">Contact</p>\n <div class=\"flex-nowrap flex-column flex gap-thin\">\n <div class=\"w-100 bg-light radius-small pd-small\">\n <p class=\"mn-b-micro opacity-50 t-small\">Email</p>\n <a v-if=\"customer.email\" :href=\"`mailto:${customer.email}`\" class=\"t-second\">{{ customer.email }}</a>\n <p v-else>—</p>\n </div>\n <div class=\"w-100 bg-light radius-small pd-small\">\n <p class=\"mn-b-micro opacity-50 t-small\">Phone</p>\n <a v-if=\"customer.phone\" :href=\"`tel:${customer.phone}`\" class=\"t-second\">{{ formatPhone(customer.phone) }}</a>\n <p v-else>—</p>\n </div>\n </div>\n </div>\n\n <!-- Socials -->\n <div v-if=\"hasSocials\" class=\"mn-b-small\">\n <p class=\"mn-b-thin fw-medium\">Social</p>\n <div class=\"flex flex-wrap gap-thin\">\n <a\n v-for=\"(value, key) in customer.socials\"\n :key=\"key\"\n v-show=\"value\"\n :href=\"socialUrl(key, value)\"\n target=\"_blank\"\n class=\"bg-light radius-small pd-thin pd-l-small pd-r-small t-second fw-medium t-small\"\n >\n {{ key }}\n </a>\n </div>\n </div>\n\n <!-- Source & Type -->\n <div class=\"mn-b-small\">\n <p class=\"mn-b-thin fw-medium\">Details</p>\n <div class=\"flex-nowrap flex gap-thin\">\n <div class=\"w-100 bg-light radius-small pd-small\">\n <p class=\"mn-b-micro opacity-50 t-small\">Source</p>\n <p>{{ customer.source || 'Unknown' }}</p>\n </div>\n <div class=\"w-100 bg-light radius-small pd-small\">\n <p class=\"mn-b-micro opacity-50 t-small\">Type</p>\n <p>{{ customer.identity?.type || 'Visitor' }}</p>\n </div>\n </div>\n </div>\n\n <!-- Dates -->\n <div class=\"mn-b-small\">\n <p class=\"mn-b-thin fw-medium\">Activity</p>\n <div class=\"flex-nowrap flex gap-thin\">\n <div class=\"w-100 bg-light radius-small pd-small\">\n <p class=\"mn-b-micro opacity-50 t-small\">Created</p>\n <p>{{ formatDate(customer.createdAt) }}</p>\n </div>\n <div class=\"w-100 bg-light radius-small pd-small\">\n <p class=\"mn-b-micro opacity-50 t-small\">Last Activity</p>\n <p>{{ formatDate(customer.lastActivity || customer.updatedAt) }}</p>\n </div>\n </div>\n </div>\n\n <!-- Referral -->\n <div v-if=\"customer.referral?.code\" class=\"mn-b-small\">\n <p class=\"mn-b-thin fw-medium\">Referral</p>\n <div class=\"bg-light radius-small pd-small\">\n <p class=\"mn-b-micro opacity-50 t-small\">Code</p>\n <p class=\"fw-medium\">{{ customer.referral.code }}</p>\n </div>\n </div>\n\n <!-- Tags -->\n <div v-if=\"customer.tags && customer.tags.length > 0\" class=\"mn-b-small\">\n <p class=\"mn-b-thin fw-medium\">Tags</p>\n <div class=\"flex flex-wrap gap-micro\">\n <span\n v-for=\"tag in customer.tags\"\n :key=\"tag\"\n class=\"bg-light pd-micro pd-l-thin pd-r-thin radius-extra t-small\"\n >\n {{ tag }}\n </span>\n </div>\n </div>\n\n <!-- Notes -->\n <div v-if=\"customer.notes\" class=\"mn-b-small\">\n <p class=\"mn-b-thin fw-medium\">Notes</p>\n <div class=\"bg-light radius-small pd-small t-small\">{{ customer.notes }}</div>\n </div>\n\n <!-- Actions -->\n <div class=\"flex-nowrap flex gap-small\">\n <Button\n @click=\"$emit('edit')\"\n :showLoader=\"false\"\n :showSucces=\"false\"\n class=\"pd-small radius-small flex-center flex w-100 cursor-pointer bg-main t-black\"\n >\n Edit\n </Button>\n <Button\n @click=\"$emit('delete')\"\n :showLoader=\"false\"\n :showSucces=\"false\"\n class=\"pd-small radius-small flex-center flex w-100 cursor-pointer bg-red t-white\"\n >\n Delete\n </Button>\n </div>\n </div>\n</template>\n\n<script setup>\nimport StatusBadge from '@martyrs/src/components/Table/StatusBadge.vue';\nimport Button from '@martyrs/src/components/Button/Button.vue';\nimport { useGlobalMixins } from '@martyrs/src/modules/core/views/mixins/mixins.js';\n\nconst { formatDate, formatPhone } = useGlobalMixins();\n\nimport { computed } from 'vue';\n\nconst socialUrls = {\n whatsapp: (v) => `https://wa.me/${v.replace(/[^0-9]/g, '')}`,\n telegram: (v) => `https://t.me/${v.replace('@', '')}`,\n line: (v) => `https://line.me/ti/p/${v}`,\n instagram: (v) => `https://instagram.com/${v.replace('@', '')}`,\n facebook: (v) => `https://facebook.com/${v}`,\n}\n\nfunction socialUrl(key, value) {\n if (!value) return ''\n return socialUrls[key] ? socialUrls[key](value) : value\n}\n\nconst props = defineProps({\n customer: {\n type: Object,\n required: true\n }\n});\n\nconst hasSocials = computed(() => {\n return props.customer.socials && Object.values(props.customer.socials).some(v => v)\n})\n\ndefineEmits(['edit', 'delete']);\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4IA,UAAM,EAAE,YAAY,YAAW,IAAK,gBAAe;AAInD,UAAM,aAAa;AAAA,MACjB,UAAU,CAAC,MAAM,iBAAiB,EAAE,QAAQ,WAAW,EAAE,CAAC;AAAA,MAC1D,UAAU,CAAC,MAAM,gBAAgB,EAAE,QAAQ,KAAK,EAAE,CAAC;AAAA,MACnD,MAAM,CAAC,MAAM,wBAAwB,CAAC;AAAA,MACtC,WAAW,CAAC,MAAM,yBAAyB,EAAE,QAAQ,KAAK,EAAE,CAAC;AAAA,MAC7D,UAAU,CAAC,MAAM,wBAAwB,CAAC;AAAA,IAC5C;AAEA,aAAS,UAAU,KAAK,OAAO;AAC7B,UAAI,CAAC,MAAO,QAAO;AACnB,aAAO,WAAW,GAAG,IAAI,WAAW,GAAG,EAAE,KAAK,IAAI;AAAA,IACpD;AAEA,UAAM,QAAQ;AAOd,UAAM,aAAa,SAAS,MAAM;AAChC,aAAO,MAAM,SAAS,WAAW,OAAO,OAAO,MAAM,SAAS,OAAO,EAAE,KAAK,OAAK,CAAC;AAAA,IACpF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}