@ozdao/martyrs 0.2.603 → 0.2.605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (911) hide show
  1. package/README.md +2 -2
  2. package/dist/_virtual/dayjs.min.js +1 -1
  3. package/dist/_virtual/weekOfYear.js +1 -1
  4. package/dist/{abac-Blt8bUTL.js → abac-kz5xI99l.js} +1 -0
  5. package/dist/auth.server.js +52 -12
  6. package/dist/builder.js +67 -2
  7. package/dist/chats.server.js +2 -2
  8. package/dist/community.server.js +3 -3
  9. package/dist/core.server.js +2 -2
  10. package/dist/{core.websocket-Cl76z2wT.js → core.websocket-B2FA8gGl.js} +0 -2
  11. package/dist/{crud-BT5FIvQC.js → crud-Cwn0frBP.js} +8 -2
  12. package/dist/events.server.js +4 -4
  13. package/dist/files.server.js +1 -1
  14. package/dist/gallery.server.js +2 -2
  15. package/dist/governance.server.js +10 -10
  16. package/dist/{index-kvBwwb0w.js → index-CPACC651.js} +1 -1
  17. package/dist/inventory.server.js +4 -4
  18. package/dist/{mailing-DT7nbNjZ.js → mailing-BBCidXGr.js} +38 -2
  19. package/dist/marketplace.server.js +2 -2
  20. package/dist/martyrs/dist/martyrs.es3.js +1 -1
  21. package/dist/martyrs/dist/martyrs.es3.js.map +1 -1
  22. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js +1 -1
  23. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js.map +1 -1
  24. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/plugin/weekOfYear.js +1 -1
  25. package/dist/{node_modules/.pnpm/dayjs@1.11.13 → martyrs/node_modules/.pnpm/dayjs@1.11.19}/node_modules/dayjs/plugin/weekOfYear.js.map +1 -1
  26. package/dist/{node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_ → martyrs/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.7_vue@3.5.13}/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +305 -268
  27. package/dist/martyrs/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.7_vue@3.5.13/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +1 -0
  28. package/dist/martyrs/src/components/Address/Address.vue2.js +13 -13
  29. package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -1
  30. package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
  31. package/dist/martyrs/src/components/Button/Button.vue2.js +1 -1
  32. package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -1
  33. package/dist/martyrs/src/components/Calendar/Calendar.vue2.js +150 -143
  34. package/dist/martyrs/src/components/Calendar/Calendar.vue2.js.map +1 -1
  35. package/dist/martyrs/src/components/Chart/Chart.vue.js +296 -0
  36. package/dist/martyrs/src/components/Chart/Chart.vue.js.map +1 -0
  37. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +1 -1
  38. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
  39. package/dist/martyrs/src/components/Chips/Chips.vue.js +5 -6
  40. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -1
  41. package/dist/martyrs/src/components/Countdown/Countdown.vue.js +5 -5
  42. package/dist/martyrs/src/components/Countdown/Countdown.vue.js.map +1 -1
  43. package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js +2 -2
  44. package/dist/martyrs/src/components/DatePicker/DatePicker.vue.js.map +1 -1
  45. package/dist/martyrs/src/components/EditImages/EditImages.vue.js +4 -4
  46. package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -1
  47. package/dist/martyrs/src/components/EmptyState/EmptyState.vue.js +1 -1
  48. package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
  49. package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
  50. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  51. package/dist/martyrs/src/components/Field/Field.vue.js +4 -4
  52. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  53. package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js +3 -3
  54. package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js.map +1 -1
  55. package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
  56. package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
  57. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js +27 -21
  58. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
  59. package/dist/martyrs/src/components/Map/Map.vue.js +20 -16
  60. package/dist/martyrs/src/components/Map/Map.vue.js.map +1 -1
  61. package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
  62. package/dist/martyrs/src/components/Popup/Popup.vue.js +3 -4
  63. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -1
  64. package/dist/martyrs/src/components/Radio/Radio.vue.js +12 -10
  65. package/dist/martyrs/src/components/Radio/Radio.vue.js.map +1 -1
  66. package/dist/martyrs/src/components/Select/Select.vue.js +2 -2
  67. package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -1
  68. package/dist/martyrs/src/components/Status/Snack.vue.js +1 -1
  69. package/dist/martyrs/src/components/Status/Snack.vue.js.map +1 -1
  70. package/dist/martyrs/src/components/Status/Status.vue.js +1 -1
  71. package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
  72. package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
  73. package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +1 -0
  74. package/dist/martyrs/src/components/Table/Table.vue.js +21 -4
  75. package/dist/martyrs/src/components/Table/Table.vue.js.map +1 -1
  76. package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js → Tooltip.vue.js} +2 -2
  77. package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +1 -0
  78. package/dist/martyrs/src/components/Tree/Tree.vue.js +1 -1
  79. package/dist/martyrs/src/components/Upload/Upload.vue2.js +2 -2
  80. package/dist/martyrs/src/components/Upload/Upload.vue2.js.map +1 -1
  81. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +3 -3
  82. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -1
  83. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +2 -2
  84. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js.map +1 -1
  85. package/dist/martyrs/src/modules/auth/auth.client.js +14 -2
  86. package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
  87. package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +4 -4
  88. package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js.map +1 -1
  89. package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +1 -1
  90. package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
  91. package/dist/martyrs/src/modules/auth/views/components/blocks/SidebarUserCard.vue.js +96 -0
  92. package/dist/martyrs/src/modules/auth/views/components/blocks/SidebarUserCard.vue.js.map +1 -0
  93. package/dist/martyrs/src/modules/auth/views/components/pages/BackofficeUsers.vue.js +337 -0
  94. package/dist/martyrs/src/modules/auth/views/components/pages/BackofficeUsers.vue.js.map +1 -0
  95. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  96. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
  97. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  98. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  99. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +33 -19
  100. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
  101. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +76 -40
  102. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
  103. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +6 -5
  104. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.map +1 -1
  105. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +5 -5
  106. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
  107. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +6 -4
  108. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  109. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +4 -4
  110. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
  111. package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +28 -16
  112. package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
  113. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.js +1 -1
  114. package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.js.map +1 -1
  115. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +1 -1
  116. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  117. package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.js +6 -2
  118. package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
  119. package/dist/martyrs/src/modules/auth/views/router/users.backoffice.router.js +53 -0
  120. package/dist/martyrs/src/modules/auth/views/router/users.backoffice.router.js.map +1 -0
  121. package/dist/martyrs/src/modules/auth/views/store/auth.js +3 -3
  122. package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
  123. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +179 -253
  124. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
  125. package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +105 -44
  126. package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
  127. package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +11 -5
  128. package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
  129. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
  130. package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
  131. package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
  132. package/dist/martyrs/src/modules/community/community.client.js +4 -4
  133. package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
  134. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  135. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
  136. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +4 -4
  137. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  138. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  139. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
  140. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
  141. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +1 -1
  142. package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  143. package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.js.map +1 -1
  144. package/dist/martyrs/src/modules/core/core.client.js +18 -16
  145. package/dist/martyrs/src/modules/core/core.client.js.map +1 -1
  146. package/dist/martyrs/src/modules/core/views/classes/core.app.js +25 -6
  147. package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
  148. package/dist/martyrs/src/modules/core/views/classes/module.manager.js +4 -2
  149. package/dist/martyrs/src/modules/core/views/classes/module.manager.js.map +1 -1
  150. package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.js +1 -1
  151. package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.js.map +1 -1
  152. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.js +1 -1
  153. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.js.map +1 -1
  154. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSlider.vue.js +132 -0
  155. package/dist/martyrs/src/modules/core/views/components/blocks/BlockSlider.vue.js.map +1 -0
  156. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +3 -3
  157. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js.map +1 -1
  158. package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +6 -28
  159. package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -1
  160. package/dist/martyrs/src/modules/{auth → core}/views/components/blocks/CardUser.vue.js +29 -11
  161. package/dist/martyrs/src/modules/{auth → core}/views/components/blocks/CardUser.vue.js.map +1 -1
  162. package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js +2 -2
  163. package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js.map +1 -1
  164. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +42 -27
  165. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js.map +1 -1
  166. package/dist/martyrs/src/modules/core/views/components/elements/OnlineIndicator.vue.js +1 -1
  167. package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +1 -1
  168. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +4 -3
  169. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
  170. package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js +2 -2
  171. package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js.map +1 -1
  172. package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
  173. package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
  174. package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.js +2 -2
  175. package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.js.map +1 -1
  176. package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.js +2 -2
  177. package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.js.map +1 -1
  178. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +4 -4
  179. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
  180. package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +1 -1
  181. package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js.map +1 -1
  182. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +2 -2
  183. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
  184. package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue.js → Filters.vue2.js} +5 -5
  185. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +1 -0
  186. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +3 -3
  187. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
  188. package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +7 -7
  189. package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js.map +1 -1
  190. package/dist/martyrs/src/modules/core/views/mixins/mixins.js +14 -1
  191. package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
  192. package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js +8 -5
  193. package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js.map +1 -1
  194. package/dist/martyrs/src/modules/core/views/store/core.store.js +5 -1
  195. package/dist/martyrs/src/modules/core/views/store/core.store.js.map +1 -1
  196. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +3 -0
  197. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
  198. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  199. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
  200. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
  201. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -3
  202. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
  203. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
  204. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js.map +1 -1
  205. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
  206. package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
  207. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js +1 -1
  208. package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.js.map +1 -1
  209. package/dist/martyrs/src/modules/events/events.client.js +4 -4
  210. package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
  211. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  212. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
  213. package/dist/martyrs/src/modules/gallery/router/gallery.router.js +3 -3
  214. package/dist/martyrs/src/modules/gallery/router/gallery.router.js.map +1 -1
  215. package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +5 -5
  216. package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -1
  217. package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +6 -6
  218. package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -1
  219. package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +4 -4
  220. package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -1
  221. package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +5 -5
  222. package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -1
  223. package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +2 -2
  224. package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +2 -2
  225. package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +2 -2
  226. package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +5 -5
  227. package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -1
  228. package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +2 -2
  229. package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +2 -2
  230. package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +2 -2
  231. package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +2 -2
  232. package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +2 -2
  233. package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +2 -2
  234. package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +2 -2
  235. package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +2 -2
  236. package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +1 -1
  237. package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -1
  238. package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +2 -2
  239. package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +1 -1
  240. package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -1
  241. package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +1 -1
  242. package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -1
  243. package/dist/martyrs/src/modules/governance/views/router/governance.router.js +3 -3
  244. package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -1
  245. package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js +2 -2
  246. package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js.map +1 -1
  247. package/dist/martyrs/src/modules/icons/entities/IconApplications.vue.js +32 -0
  248. package/dist/martyrs/src/modules/icons/entities/IconApplications.vue.js.map +1 -0
  249. package/dist/martyrs/src/modules/icons/entities/IconCustomers.vue.js +32 -0
  250. package/dist/martyrs/src/modules/icons/entities/IconCustomers.vue.js.map +1 -0
  251. package/dist/martyrs/src/modules/icons/entities/IconUsers.vue.js +32 -0
  252. package/dist/martyrs/src/modules/icons/entities/IconUsers.vue.js.map +1 -0
  253. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +2 -2
  254. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js.map +1 -1
  255. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +2 -2
  256. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js.map +1 -1
  257. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
  258. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js.map +1 -1
  259. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
  260. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js.map +1 -1
  261. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +290 -173
  262. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
  263. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
  264. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
  265. package/dist/martyrs/src/modules/inventory/inventory.client.js +4 -4
  266. package/dist/martyrs/src/modules/inventory/inventory.client.js.map +1 -1
  267. package/dist/martyrs/src/modules/inventory/router/inventory.router.js +15 -0
  268. package/dist/martyrs/src/modules/inventory/router/inventory.router.js.map +1 -1
  269. package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js +4 -4
  270. package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js.map +1 -1
  271. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js +1 -1
  272. package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js.map +1 -1
  273. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js +3 -3
  274. package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.js.map +1 -1
  275. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +2 -2
  276. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
  277. package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.js +1 -1
  278. package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.js.map +1 -1
  279. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js +2 -2
  280. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -1
  281. package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.js +1 -1
  282. package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.js.map +1 -1
  283. package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.js +2 -2
  284. package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.js.map +1 -1
  285. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
  286. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
  287. package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
  288. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +4 -4
  289. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js.map +1 -1
  290. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +2 -2
  291. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js.map +1 -1
  292. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js +2 -2
  293. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js.map +1 -1
  294. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
  295. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js.map +1 -1
  296. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +2 -2
  297. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js.map +1 -1
  298. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +6 -6
  299. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js.map +1 -1
  300. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
  301. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js.map +1 -1
  302. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
  303. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js.map +1 -1
  304. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +5 -5
  305. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js.map +1 -1
  306. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
  307. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js.map +1 -1
  308. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +9 -9
  309. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js.map +1 -1
  310. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +6 -6
  311. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js.map +1 -1
  312. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +12 -12
  313. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
  314. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +4 -4
  315. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js.map +1 -1
  316. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +12 -12
  317. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
  318. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +4 -4
  319. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js.map +1 -1
  320. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js +2 -2
  321. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js.map +1 -1
  322. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +163 -69
  323. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
  324. package/dist/martyrs/src/modules/notifications/notifications.client.js +183 -19
  325. package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
  326. package/dist/martyrs/src/modules/notifications/router/notifications.backoffice.router.js +21 -0
  327. package/dist/martyrs/src/modules/notifications/router/notifications.backoffice.router.js.map +1 -0
  328. package/dist/martyrs/src/modules/notifications/router/notifications.router.js +13 -42
  329. package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -1
  330. package/dist/martyrs/src/modules/notifications/store/notifications.store.js +67 -2
  331. package/dist/martyrs/src/modules/notifications/store/notifications.store.js.map +1 -1
  332. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +9 -7
  333. package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
  334. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +11 -9
  335. package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
  336. package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js +9 -9
  337. package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
  338. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js +66 -19
  339. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js.map +1 -1
  340. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +29 -27
  341. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
  342. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +7 -12
  343. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
  344. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +1 -1
  345. package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -1
  346. package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js +4 -4
  347. package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.js.map +1 -1
  348. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  349. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js.map +1 -1
  350. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +46 -25
  351. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js.map +1 -1
  352. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +2 -2
  353. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
  354. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +54 -38
  355. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
  356. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +454 -139
  357. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
  358. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +2 -1
  359. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
  360. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +141 -68
  361. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
  362. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +38 -32
  363. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
  364. package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  365. package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js.map +1 -1
  366. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +4 -4
  367. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
  368. package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.js +1 -1
  369. package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
  370. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +167 -95
  371. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
  372. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
  373. package/dist/martyrs/src/modules/orders/orders.client.js +22 -20
  374. package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
  375. package/dist/martyrs/src/modules/orders/store/orders.js +3 -5
  376. package/dist/martyrs/src/modules/orders/store/orders.js.map +1 -1
  377. package/dist/martyrs/src/modules/orders/store/shopcart.js +6 -6
  378. package/dist/martyrs/src/modules/orders/store/shopcart.js.map +1 -1
  379. package/dist/martyrs/src/modules/orders/utils/rent-price.js +60 -0
  380. package/dist/martyrs/src/modules/orders/utils/rent-price.js.map +1 -0
  381. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +2 -2
  382. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +45 -55
  383. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
  384. package/dist/martyrs/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
  385. package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
  386. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js +2 -2
  387. package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.js.map +1 -1
  388. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  389. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js.map +1 -1
  390. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +3 -3
  391. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js.map +1 -1
  392. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +1 -1
  393. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
  394. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
  395. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js.map +1 -1
  396. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +2 -2
  397. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  398. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +8 -8
  399. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
  400. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +216 -83
  401. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  402. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +38 -28
  403. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
  404. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +3 -2
  405. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  406. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  407. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
  408. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  409. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
  410. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  411. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +20 -18
  412. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  413. package/dist/martyrs/src/modules/organizations/organizations.client.js +39 -33
  414. package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
  415. package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +81 -0
  416. package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -1
  417. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  418. package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.js +1 -1
  419. package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.js.map +1 -1
  420. package/dist/martyrs/src/modules/pages/views/router/pages.router.js +2 -2
  421. package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -1
  422. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  423. package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
  424. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +2 -2
  425. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
  426. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +3 -3
  427. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
  428. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +2 -2
  429. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
  430. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +3 -3
  431. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -1
  432. package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
  433. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js +2 -2
  434. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
  435. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +9 -25
  436. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
  437. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  438. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
  439. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +34 -17
  440. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
  441. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +98 -98
  442. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  443. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  444. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js.map +1 -1
  445. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  446. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js.map +1 -1
  447. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +22 -9
  448. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js.map +1 -1
  449. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  450. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
  451. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  452. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
  453. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +4 -4
  454. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
  455. package/dist/martyrs/src/modules/products/router/categories.router.js +2 -2
  456. package/dist/martyrs/src/modules/products/router/categories.router.js.map +1 -1
  457. package/dist/martyrs/src/modules/products/router/products.router.js +17 -3
  458. package/dist/martyrs/src/modules/products/router/products.router.js.map +1 -1
  459. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js +11 -10
  460. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js.map +1 -1
  461. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js +197 -81
  462. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js.map +1 -1
  463. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.js +2 -2
  464. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.js.map +1 -1
  465. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +3 -3
  466. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js.map +1 -1
  467. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +685 -80
  468. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js.map +1 -1
  469. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +68 -18
  470. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js.map +1 -1
  471. package/dist/martyrs/src/modules/rents/views/router/rents.router.js +3 -3
  472. package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -1
  473. package/dist/martyrs/src/modules/rents/views/store/rents.store.js +1 -1
  474. package/dist/martyrs/src/modules/rents/views/store/rents.store.js.map +1 -1
  475. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js +3 -3
  476. package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
  477. package/dist/martyrs/src/modules/reports/router/reports.router.js +1 -1
  478. package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -1
  479. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +5 -5
  480. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
  481. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  482. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +3 -3
  483. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
  484. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +10 -8
  485. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
  486. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +29 -37
  487. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -1
  488. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +8 -8
  489. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js.map +1 -1
  490. package/dist/martyrs/src/modules/spots/router/spots.router.js +3 -3
  491. package/dist/martyrs/src/modules/spots/router/spots.router.js.map +1 -1
  492. package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +3 -3
  493. package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
  494. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  495. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -1
  496. package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +1 -1
  497. package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -1
  498. package/dist/martyrs.es10.js +59 -57
  499. package/dist/martyrs.es101.js +39 -0
  500. package/dist/martyrs.es102.js +24 -32
  501. package/dist/martyrs.es104.js +27 -0
  502. package/dist/martyrs.es105.js +6 -25
  503. package/dist/martyrs.es106.js +6 -5
  504. package/dist/martyrs.es107.js +76 -6
  505. package/dist/martyrs.es108.js +5 -77
  506. package/dist/martyrs.es109.js +119 -5
  507. package/dist/martyrs.es11.js +31 -30
  508. package/dist/martyrs.es112.js +2 -119
  509. package/dist/martyrs.es113.js +25 -0
  510. package/dist/martyrs.es114.js +7 -0
  511. package/dist/martyrs.es115.js +8 -2
  512. package/dist/martyrs.es116.js +166 -22
  513. package/dist/martyrs.es117.js +457 -4
  514. package/dist/martyrs.es118.js +40 -8
  515. package/dist/martyrs.es119.js +9 -166
  516. package/dist/martyrs.es12.js +8 -9
  517. package/dist/martyrs.es120.js +43 -451
  518. package/dist/martyrs.es121.js +10 -38
  519. package/dist/martyrs.es122.js +44 -9
  520. package/dist/martyrs.es123.js +4 -49
  521. package/dist/martyrs.es124.js +127 -10
  522. package/dist/martyrs.es125.js +98 -42
  523. package/dist/martyrs.es126.js +86 -4
  524. package/dist/martyrs.es127.js +29 -120
  525. package/dist/martyrs.es128.js +10 -99
  526. package/dist/martyrs.es129.js +24 -71
  527. package/dist/martyrs.es13.js +22 -19
  528. package/dist/martyrs.es130.js +8 -37
  529. package/dist/martyrs.es131.js +115 -10
  530. package/dist/martyrs.es132.js +16 -38
  531. package/dist/martyrs.es133.js +15 -8
  532. package/dist/martyrs.es135.js +28 -112
  533. package/dist/martyrs.es136.js +9 -17
  534. package/dist/martyrs.es137.js +19 -14
  535. package/dist/martyrs.es138.js +8 -32
  536. package/dist/martyrs.es139.js +9 -9
  537. package/dist/martyrs.es14.js +2 -2
  538. package/dist/martyrs.es140.js +43 -19
  539. package/dist/martyrs.es141.js +480 -9
  540. package/dist/martyrs.es142.js +5 -8
  541. package/dist/martyrs.es143.js +2 -45
  542. package/dist/martyrs.es144.js +11 -480
  543. package/dist/martyrs.es145.js +30 -5
  544. package/dist/martyrs.es146.js +17 -2
  545. package/dist/martyrs.es147.js +19 -11
  546. package/dist/martyrs.es148.js +27 -29
  547. package/dist/martyrs.es149.js +20 -16
  548. package/dist/martyrs.es2.js +31 -30
  549. package/dist/martyrs.es22.js +16 -16
  550. package/dist/martyrs.es23.js +8 -8
  551. package/dist/martyrs.es24.js +9 -9
  552. package/dist/martyrs.es26.js +9 -11
  553. package/dist/martyrs.es27.js +9 -9
  554. package/dist/martyrs.es28.js +1 -1
  555. package/dist/martyrs.es29.js +5 -5
  556. package/dist/martyrs.es3.js +1 -1
  557. package/dist/martyrs.es38.js +1 -1
  558. package/dist/martyrs.es4.js +12 -12
  559. package/dist/martyrs.es41.js +34 -224
  560. package/dist/martyrs.es5.js +251 -238
  561. package/dist/martyrs.es54.js +2 -2
  562. package/dist/martyrs.es61.js +33 -26
  563. package/dist/martyrs.es71.js +2 -2
  564. package/dist/martyrs.es74.js +8 -8
  565. package/dist/martyrs.es75.js +1 -1
  566. package/dist/martyrs.es76.js +18 -18
  567. package/dist/martyrs.es77.js +1 -1
  568. package/dist/martyrs.es78.js +1 -1
  569. package/dist/martyrs.es8.js +31 -31
  570. package/dist/martyrs.es91.js +1 -1
  571. package/dist/martyrs.es92.js +33 -5
  572. package/dist/martyrs.es94.js +41 -0
  573. package/dist/martyrs.es95.js +46 -28
  574. package/dist/martyrs.es96.js +116 -52
  575. package/dist/martyrs.es97.js +33 -113
  576. package/dist/martyrs.es98.js +76 -33
  577. package/dist/martyrs.es99.js +24 -77
  578. package/dist/music.server.js +3 -3
  579. package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +1 -1
  580. package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.4/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +1 -1
  581. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@2.0.2/node_modules/@googlemaps/js-api-loader/dist/index.js +90 -0
  582. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@2.0.2/node_modules/@googlemaps/js-api-loader/dist/index.js.map +1 -0
  583. package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js +1 -1
  584. package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.4/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.js +1 -1
  585. package/dist/notifications.server.js +255 -23
  586. package/dist/orders.server.js +674 -136
  587. package/dist/organizations.server.js +11 -6
  588. package/dist/products.server.js +68 -7
  589. package/dist/{queryProcessor-C_5Iipam.js → queryProcessor-B2FCngFP.js} +3 -2
  590. package/dist/rents.server.js +183 -7
  591. package/dist/{socials.schema-DxnnaBgO.js → socials.schema-C3RjkqJv.js} +4 -0
  592. package/dist/spots.server.js +1 -1
  593. package/dist/style.css +292 -204
  594. package/dist/{tickets.controller-DdF85W-i.js → tickets.controller-Dpzf4kQx.js} +1 -1
  595. package/dist/wallet.server.js +2 -2
  596. package/package.json +5 -3
  597. package/src/builder/modes/ssr.rspack.dev.js +2 -0
  598. package/src/builder/rspack/rspack.config.ssr.client.js +58 -1
  599. package/src/builder/ssr/asset-resolver.js +1 -1
  600. package/src/builder/templates/page.js +2 -0
  601. package/src/components/Address/Address.vue +16 -16
  602. package/src/components/Button/Button.vue +0 -1
  603. package/src/components/ButtonSegmented/ButtonSegmented.vue +1 -1
  604. package/src/components/Calendar/Calendar.vue +141 -118
  605. package/src/components/Chart/Chart.vue +216 -0
  606. package/src/components/Checkbox/Checkbox.vue +1 -1
  607. package/src/components/Chips/Chips.vue +4 -5
  608. package/src/components/Countdown/Countdown.vue +5 -5
  609. package/src/components/DatePicker/DatePicker.vue +2 -2
  610. package/src/components/EditImages/EditImages.vue +3 -3
  611. package/src/components/EmptyState/EmptyState.vue +1 -1
  612. package/src/components/Feed/Feed.vue +5 -0
  613. package/src/components/Field/Field.vue +3 -3
  614. package/src/components/FieldDate/FieldDate.vue +2 -2
  615. package/src/components/LocationMarker/LocationMarker.vue +28 -21
  616. package/src/components/Map/Map.vue +20 -15
  617. package/src/components/Popup/Popup.vue +3 -3
  618. package/src/components/Radio/Radio.vue +2 -2
  619. package/src/components/Select/Select.vue +1 -1
  620. package/src/components/Status/Snack.vue +1 -1
  621. package/src/components/Status/Status.vue +1 -1
  622. package/src/components/Table/Table.vue +16 -1
  623. package/src/components/Upload/Upload.vue +1 -1
  624. package/src/components/UploadImage/UploadImage.vue +1 -1
  625. package/src/components/UploadImageMultiple/UploadImageMultiple.vue +1 -1
  626. package/src/jit/rules.js +4 -0
  627. package/src/modules/TASKS.MD +16 -3
  628. package/src/modules/auth/auth.client.js +18 -3
  629. package/src/modules/auth/controllers/routes/users.routes.js +18 -0
  630. package/src/modules/auth/controllers/services/auth.service.js +3 -3
  631. package/src/modules/auth/controllers/services/users.service.js +34 -5
  632. package/src/modules/auth/views/components/blocks/OtpDialog.vue +4 -4
  633. package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
  634. package/src/modules/auth/views/components/blocks/SidebarUserCard.vue +95 -0
  635. package/src/modules/auth/views/components/pages/BackofficeUsers.vue +337 -0
  636. package/src/modules/auth/views/components/pages/Invite.vue +1 -1
  637. package/src/modules/auth/views/components/pages/Profile.vue +1 -1
  638. package/src/modules/auth/views/components/pages/ProfileEdit.vue +23 -14
  639. package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +45 -26
  640. package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +8 -7
  641. package/src/modules/auth/views/components/pages/ResetPassword.vue +4 -4
  642. package/src/modules/auth/views/components/pages/SignUp.vue +3 -3
  643. package/src/modules/auth/views/components/pages/UserDashboard.vue +8 -5
  644. package/src/modules/auth/views/components/sections/FeaturedUsers.vue +1 -1
  645. package/src/modules/auth/views/components/sections/SliderFeatures.vue +1 -1
  646. package/src/modules/auth/views/middlewares/auth.validation.js +7 -2
  647. package/src/modules/auth/views/router/users.backoffice.router.js +39 -0
  648. package/src/modules/auth/views/store/auth.js +2 -2
  649. package/src/modules/backoffice/components/admin/Backcalls.vue +2 -2
  650. package/src/modules/backoffice/components/admin/Dashboard.sublime-workspace +1 -1
  651. package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
  652. package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
  653. package/src/modules/backoffice/components/pages/Dashboard.vue +102 -139
  654. package/src/modules/backoffice/configs/navigation.backoffice.config.js +91 -29
  655. package/src/modules/backoffice/router/backoffice.router.js +7 -1
  656. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  657. package/src/modules/chats/components/sections/ChatWindow.vue +1 -1
  658. package/src/modules/community/community.client.js +4 -4
  659. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  660. package/src/modules/community/components/layouts/Community.vue +4 -4
  661. package/src/modules/community/components/sections/Comment.vue +1 -1
  662. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  663. package/src/modules/core/TASK.MD +2 -2
  664. package/src/modules/core/controllers/classes/abac/abac.core.js +1 -0
  665. package/src/modules/core/controllers/classes/core.websocket.js +0 -2
  666. package/src/modules/core/controllers/classes/crud/crud.core.js +6 -0
  667. package/src/modules/core/controllers/classes/crud/crud.service.js +6 -0
  668. package/src/modules/core/controllers/utils/mailing.js +35 -26
  669. package/src/modules/core/controllers/utils/queryProcessor.js +4 -2
  670. package/src/modules/core/core.client.js +1 -0
  671. package/src/modules/core/models/schemas/embedding.schema.js +8 -0
  672. package/src/modules/core/models/schemas/socials.schema.js +4 -0
  673. package/src/modules/core/sw.js +448 -0
  674. package/src/modules/core/views/classes/core.app.js +37 -13
  675. package/src/modules/core/views/classes/module.manager.js +3 -1
  676. package/src/modules/core/views/components/blocks/AlertDialog.vue +1 -1
  677. package/src/modules/core/views/components/blocks/BlockSearch.vue +1 -1
  678. package/src/modules/core/views/components/blocks/BlockSlider.vue +96 -0
  679. package/src/modules/core/views/components/blocks/CardHeader.vue +2 -2
  680. package/src/modules/core/views/components/blocks/CardStat.vue +4 -18
  681. package/src/modules/{auth → core}/views/components/blocks/CardUser.vue +45 -20
  682. package/src/modules/core/views/components/blocks/HelpCard.vue +1 -1
  683. package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
  684. package/src/modules/core/views/components/blocks/PopupDateSelector.vue +41 -24
  685. package/src/modules/core/views/components/layouts/Client.vue +1 -1
  686. package/src/modules/core/views/components/pages/404.vue +5 -5
  687. package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
  688. package/src/modules/core/views/components/partials/CitySelection.vue +2 -2
  689. package/src/modules/core/views/components/partials/Footer.centered.vue +2 -2
  690. package/src/modules/core/views/components/partials/Footer.vue +2 -2
  691. package/src/modules/core/views/components/partials/Header.vue +3 -3
  692. package/src/modules/core/views/components/partials/LocationSelection.vue +1 -1
  693. package/src/modules/core/views/components/partials/Navigation.vue +1 -1
  694. package/src/modules/core/views/components/sections/Filters.vue +2 -2
  695. package/src/modules/core/views/components/sections/SectionPageTitle.vue +2 -2
  696. package/src/modules/core/views/components/sections/Walkthrough.vue +6 -6
  697. package/src/modules/core/views/mixins/mixins.js +17 -0
  698. package/src/modules/core/views/plugins/date-picker.plugin.js +8 -5
  699. package/src/modules/core/views/store/core.store.js +5 -0
  700. package/src/modules/core/views/utils/vue-app-renderer.js +5 -0
  701. package/src/modules/events/components/pages/EditEventTickets.vue +9 -9
  702. package/src/modules/events/components/pages/Event.vue +2 -2
  703. package/src/modules/events/components/sections/EditTickets.vue +1 -1
  704. package/src/modules/events/components/sections/SelectDate.vue +1 -1
  705. package/src/modules/events/events.client.js +4 -4
  706. package/src/modules/gallery/components/sections/BackofficeGallery.vue +1 -1
  707. package/src/modules/gallery/router/gallery.router.js +3 -3
  708. package/src/modules/governance/middlewares/sprints.verifier.js +3 -3
  709. package/src/modules/governance/middlewares/tasks.verifier.js +3 -3
  710. package/src/modules/governance/models/sprint.model.js +1 -1
  711. package/src/modules/governance/models/task.model.js +1 -1
  712. package/src/modules/governance/reactcode/src/components/TaskStatusBadge.tsx +1 -1
  713. package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +3 -3
  714. package/src/modules/governance/views/components/blocks/CardSprintItem.vue +4 -4
  715. package/src/modules/governance/views/components/blocks/CardTaskItem.vue +2 -2
  716. package/src/modules/governance/views/components/blocks/CardVotingItem.vue +3 -3
  717. package/src/modules/governance/views/components/pages/Initiatives.vue +3 -3
  718. package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
  719. package/src/modules/governance/views/components/sections/FormSprintDetails.vue +1 -1
  720. package/src/modules/governance/views/components/sections/FormTaskDetails.vue +1 -1
  721. package/src/modules/governance/views/router/governance.router.js +3 -3
  722. package/src/modules/icons/components/IconSearchPopup.vue +1 -1
  723. package/src/modules/icons/entities/IconApplications.vue +14 -0
  724. package/src/modules/icons/entities/IconCustomers.vue +14 -0
  725. package/src/modules/icons/entities/IconUsers.vue +14 -0
  726. package/src/modules/inventory/components/forms/AdjustmentForm.vue +2 -2
  727. package/src/modules/inventory/components/forms/ColumnSettingsMenu.vue +2 -2
  728. package/src/modules/inventory/components/forms/HistoryView.vue +1 -1
  729. package/src/modules/inventory/components/forms/StockAlertsForm.vue +3 -3
  730. package/src/modules/inventory/components/pages/Inventory.vue +278 -159
  731. package/src/modules/inventory/components/pages/InventoryEdit.vue +2 -2
  732. package/src/modules/inventory/inventory.client.js +4 -4
  733. package/src/modules/inventory/models/stock.audit.model.js +1 -1
  734. package/src/modules/inventory/router/inventory.router.js +12 -0
  735. package/src/modules/landing/components/sections/SectionEarn.vue +3 -3
  736. package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
  737. package/src/modules/landing/components/sections/SectionFeatures.vue +1 -1
  738. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
  739. package/src/modules/landing/components/sections/SectionGuide.vue +2 -2
  740. package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
  741. package/src/modules/landing/components/sections/SectionHeroVideo.vue +1 -1
  742. package/src/modules/landing/components/sections/SectionMobileApp.vue +2 -2
  743. package/src/modules/landing/components/sections/SectionOverview.vue +1 -1
  744. package/src/modules/landing/components/sections/SectionRoadmap.vue +1 -1
  745. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
  746. package/src/modules/marketplace/views/components/sections/SectionMenu.vue +2 -2
  747. package/src/modules/music/components/SidebarMusic.vue +1 -1
  748. package/src/modules/music/components/cards/AlbumCard.vue +1 -1
  749. package/src/modules/music/components/cards/ArtistCard.vue +1 -1
  750. package/src/modules/music/components/cards/ArtistCardSmall.vue +1 -1
  751. package/src/modules/music/components/cards/PlaylistCard.vue +1 -1
  752. package/src/modules/music/components/cards/TrackListCard.vue +6 -6
  753. package/src/modules/music/components/forms/AlbumForm.vue +2 -2
  754. package/src/modules/music/components/forms/ArtistForm.vue +1 -1
  755. package/src/modules/music/components/forms/PlaylistForm.vue +5 -5
  756. package/src/modules/music/components/forms/TrackForm.vue +3 -3
  757. package/src/modules/music/components/pages/Album.vue +8 -8
  758. package/src/modules/music/components/pages/Artist.vue +5 -5
  759. package/src/modules/music/components/pages/Playlist.vue +11 -11
  760. package/src/modules/music/components/pages/SearchResults.vue +2 -2
  761. package/src/modules/music/components/pages/Track.vue +11 -11
  762. package/src/modules/music/components/player/FullscreenPlayer.vue +3 -3
  763. package/src/modules/music/components/player/TrackProgress.vue +1 -1
  764. package/src/modules/notifications/components/sections/NotificationPreferences.vue +182 -52
  765. package/src/modules/notifications/controllers/notifications.controller.js +242 -17
  766. package/src/modules/notifications/models/notification-preference.model.js +4 -0
  767. package/src/modules/notifications/notifications.client.js +213 -20
  768. package/src/modules/notifications/router/notifications.backoffice.router.js +16 -0
  769. package/src/modules/notifications/router/notifications.router.js +13 -45
  770. package/src/modules/notifications/routes/notifications.routes.js +9 -0
  771. package/src/modules/notifications/services/notification.service.js +33 -9
  772. package/src/modules/notifications/services/telegram.service.js +2 -2
  773. package/src/modules/notifications/services/web-push.service.js +6 -2
  774. package/src/modules/notifications/store/notifications.store.js +69 -0
  775. package/src/modules/orders/components/blocks/CardApplication.vue +9 -6
  776. package/src/modules/orders/components/blocks/CardCustomer.vue +10 -7
  777. package/src/modules/orders/components/blocks/CardOrder.vue +8 -8
  778. package/src/modules/orders/components/blocks/CardOrderBackoffice.vue +58 -12
  779. package/src/modules/orders/components/blocks/CardOrderItem.vue +31 -28
  780. package/src/modules/orders/components/blocks/CardOrderUser.vue +7 -12
  781. package/src/modules/orders/components/blocks/CardOrderVar1.vue +3 -3
  782. package/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue +1 -1
  783. package/src/modules/orders/components/elements/PriceTotal.vue +4 -4
  784. package/src/modules/orders/components/forms/FormApplicationDetails.vue +1 -1
  785. package/src/modules/orders/components/forms/FormSelectCustomer.vue +48 -25
  786. package/src/modules/orders/components/pages/Applications.vue +2 -2
  787. package/src/modules/orders/components/pages/Customers.vue +35 -23
  788. package/src/modules/orders/components/pages/OrderBackoffice.vue +780 -393
  789. package/src/modules/orders/components/pages/OrderCreate.vue +5 -4
  790. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +112 -42
  791. package/src/modules/orders/components/pages/Orders.vue +20 -19
  792. package/src/modules/orders/components/pages/Orders_refact.vue +3 -3
  793. package/src/modules/orders/components/partials/ShopCart.vue +1 -1
  794. package/src/modules/orders/components/sections/ApplicationDetails.vue +2 -2
  795. package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
  796. package/src/modules/orders/components/sections/CustomerDetails.vue +130 -64
  797. package/src/modules/orders/controllers/orders.controller.js +463 -134
  798. package/src/modules/orders/middlewares/applications.verifier.js +3 -3
  799. package/src/modules/orders/middlewares/customers.verifier.js +4 -0
  800. package/src/modules/orders/middlewares/orders.verifier.js +187 -0
  801. package/src/modules/orders/models/customer.model.js +2 -0
  802. package/src/modules/orders/models/order.model.js +20 -2
  803. package/src/modules/orders/orders.client.js +21 -19
  804. package/src/modules/orders/routes/applications.routes.js +13 -3
  805. package/src/modules/orders/routes/customers.routes.js +2 -0
  806. package/src/modules/orders/routes/orders.routes.js +46 -4
  807. package/src/modules/orders/store/orders.js +4 -7
  808. package/src/modules/orders/store/shopcart.js +6 -7
  809. package/src/modules/orders/utils/rent-price.js +90 -0
  810. package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
  811. package/src/modules/organizations/components/blocks/CardOrganization.vue +30 -33
  812. package/src/modules/organizations/components/blocks/EmptyState.vue +1 -1
  813. package/src/modules/organizations/components/blocks/Rating.vue +1 -1
  814. package/src/modules/organizations/components/blocks/Socials.vue +2 -2
  815. package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
  816. package/src/modules/organizations/components/forms/AddExistingMembersForm.vue +3 -3
  817. package/src/modules/organizations/components/forms/DepartmentForm.vue +1 -1
  818. package/src/modules/organizations/components/forms/InviteForm.vue +1 -1
  819. package/src/modules/organizations/components/pages/Department.vue +2 -2
  820. package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
  821. package/src/modules/organizations/components/pages/Members.vue +8 -8
  822. package/src/modules/organizations/components/pages/Organization.vue +232 -124
  823. package/src/modules/organizations/components/pages/OrganizationCreate.vue +3 -3
  824. package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
  825. package/src/modules/organizations/components/pages/OrganizationEdit.vue +15 -6
  826. package/src/modules/organizations/components/pages/Organizations.vue +3 -2
  827. package/src/modules/organizations/components/sections/Documents.vue +1 -1
  828. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  829. package/src/modules/organizations/configs/navigation.organization.config.js +34 -26
  830. package/src/modules/organizations/controllers/organizations.controller.js +8 -3
  831. package/src/modules/organizations/models/organization.model.js +1 -0
  832. package/src/modules/organizations/organizations.client.js +39 -33
  833. package/src/modules/organizations/router/organizations.backoffice.router.js +67 -0
  834. package/src/modules/pages/views/components/pages/Pages.vue +1 -1
  835. package/src/modules/pages/views/router/pages.router.js +2 -2
  836. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  837. package/src/modules/products/components/blocks/CardProduct.vue +2 -2
  838. package/src/modules/products/components/blocks/ProductDiscounts.vue +1 -1
  839. package/src/modules/products/components/blocks/ProductImages.vue +1 -1
  840. package/src/modules/products/components/blocks/ProductVariants.vue +3 -3
  841. package/src/modules/products/components/elements/Price.vue +2 -2
  842. package/src/modules/products/components/forms/ColumnSettingsMenu.vue +2 -2
  843. package/src/modules/products/components/forms/ReorderSettingsForm.vue +3 -3
  844. package/src/modules/products/components/forms/StockAuditForm.vue +2 -2
  845. package/src/modules/products/components/forms/StockHistoryView.vue +1 -1
  846. package/src/modules/products/components/pages/Categories.vue +9 -20
  847. package/src/modules/products/components/pages/ProductEdit.vue +19 -3
  848. package/src/modules/products/components/pages/Products.vue +20 -19
  849. package/src/modules/products/components/sections/EditAttributes.vue +1 -1
  850. package/src/modules/products/components/sections/EditCategories.vue +1 -1
  851. package/src/modules/products/components/sections/EditDiscounts.vue +2 -2
  852. package/src/modules/products/components/sections/EditVariants.vue +14 -2
  853. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  854. package/src/modules/products/components/sections/ProductConfigurator.vue +1 -1
  855. package/src/modules/products/components/sections/SectionProduct.vue +3 -3
  856. package/src/modules/products/controllers/products.controller.js +50 -5
  857. package/src/modules/products/experiments/product-recommendation/components/HeroRecommendation.vue +2 -2
  858. package/src/modules/products/models/product.model.js +7 -0
  859. package/src/modules/products/models/variant.model.js +4 -0
  860. package/src/modules/products/router/categories.router.js +2 -2
  861. package/src/modules/products/router/products.router.js +14 -3
  862. package/src/modules/rents/controllers/routes/rents.routes.js +11 -0
  863. package/src/modules/rents/controllers/services/rents.services.js +193 -2
  864. package/src/modules/rents/models/rent.model.js +9 -0
  865. package/src/modules/rents/views/components/pages/Gant/GanttBar.vue +28 -11
  866. package/src/modules/rents/views/components/pages/Gant/GanttChart.vue +200 -40
  867. package/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue +2 -2
  868. package/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue +2 -2
  869. package/src/modules/rents/views/components/pages/Rents.vue +641 -142
  870. package/src/modules/rents/views/components/pages/RentsEdit.vue +44 -4
  871. package/src/modules/rents/views/router/rents.router.js +3 -3
  872. package/src/modules/rents/views/store/rents.store.js +1 -1
  873. package/src/modules/reports/components/pages/BackofficeReports.vue +3 -3
  874. package/src/modules/reports/router/reports.router.js +1 -1
  875. package/src/modules/spots/components/blocks/CardSpot.vue +6 -6
  876. package/src/modules/spots/components/pages/Spot.vue +2 -2
  877. package/src/modules/spots/components/pages/SpotEdit.vue +8 -6
  878. package/src/modules/spots/components/pages/Spots.vue +18 -24
  879. package/src/modules/spots/components/sections/WorktimeEdit.vue +7 -7
  880. package/src/modules/spots/router/spots.router.js +3 -3
  881. package/src/modules/wallet/views/components/blocks/CashDeposit.vue +1 -1
  882. package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
  883. package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
  884. package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
  885. package/src/modules/wallet/views/router/wallet.router.js +1 -1
  886. package/src/styles/layout.scss +1 -1
  887. package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
  888. package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
  889. package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js +0 -8
  890. package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js.map +0 -1
  891. package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js +0 -73
  892. package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.2_@capacitor_core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js.map +0 -1
  893. package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
  894. package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
  895. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +0 -1
  896. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +0 -1
  897. package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +0 -70
  898. package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +0 -1
  899. package/dist/martyrs.es100.js +0 -33
  900. package/dist/martyrs.es103.js +0 -31
  901. package/dist/martyrs.es110.js +0 -54
  902. package/dist/martyrs.es111.js +0 -327
  903. package/dist/martyrs.es150.js +0 -22
  904. package/dist/martyrs.es151.js +0 -31
  905. package/dist/martyrs.es152.js +0 -23
  906. package/dist/martyrs.es93.js +0 -35
  907. package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js +0 -487
  908. package/dist/node_modules/.pnpm/@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js.map +0 -1
  909. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js +0 -336
  910. package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js.map +0 -1
  911. package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +0 -1
@@ -1,487 +0,0 @@
1
- /*! Capacitor: https://capacitorjs.com/ - MIT License */
2
- var ExceptionCode;
3
- (function(ExceptionCode2) {
4
- ExceptionCode2["Unimplemented"] = "UNIMPLEMENTED";
5
- ExceptionCode2["Unavailable"] = "UNAVAILABLE";
6
- })(ExceptionCode || (ExceptionCode = {}));
7
- class CapacitorException extends Error {
8
- constructor(message, code, data) {
9
- super(message);
10
- this.message = message;
11
- this.code = code;
12
- this.data = data;
13
- }
14
- }
15
- const getPlatformId = (win) => {
16
- var _a, _b;
17
- if (win === null || win === void 0 ? void 0 : win.androidBridge) {
18
- return "android";
19
- } else if ((_b = (_a = win === null || win === void 0 ? void 0 : win.webkit) === null || _a === void 0 ? void 0 : _a.messageHandlers) === null || _b === void 0 ? void 0 : _b.bridge) {
20
- return "ios";
21
- } else {
22
- return "web";
23
- }
24
- };
25
- const createCapacitor = (win) => {
26
- const capCustomPlatform = win.CapacitorCustomPlatform || null;
27
- const cap = win.Capacitor || {};
28
- const Plugins = cap.Plugins = cap.Plugins || {};
29
- const getPlatform = () => {
30
- return capCustomPlatform !== null ? capCustomPlatform.name : getPlatformId(win);
31
- };
32
- const isNativePlatform = () => getPlatform() !== "web";
33
- const isPluginAvailable = (pluginName) => {
34
- const plugin = registeredPlugins.get(pluginName);
35
- if (plugin === null || plugin === void 0 ? void 0 : plugin.platforms.has(getPlatform())) {
36
- return true;
37
- }
38
- if (getPluginHeader(pluginName)) {
39
- return true;
40
- }
41
- return false;
42
- };
43
- const getPluginHeader = (pluginName) => {
44
- var _a;
45
- return (_a = cap.PluginHeaders) === null || _a === void 0 ? void 0 : _a.find((h) => h.name === pluginName);
46
- };
47
- const handleError = (err) => win.console.error(err);
48
- const registeredPlugins = /* @__PURE__ */ new Map();
49
- const registerPlugin2 = (pluginName, jsImplementations = {}) => {
50
- const registeredPlugin = registeredPlugins.get(pluginName);
51
- if (registeredPlugin) {
52
- console.warn(`Capacitor plugin "${pluginName}" already registered. Cannot register plugins twice.`);
53
- return registeredPlugin.proxy;
54
- }
55
- const platform = getPlatform();
56
- const pluginHeader = getPluginHeader(pluginName);
57
- let jsImplementation;
58
- const loadPluginImplementation = async () => {
59
- if (!jsImplementation && platform in jsImplementations) {
60
- jsImplementation = typeof jsImplementations[platform] === "function" ? jsImplementation = await jsImplementations[platform]() : jsImplementation = jsImplementations[platform];
61
- } else if (capCustomPlatform !== null && !jsImplementation && "web" in jsImplementations) {
62
- jsImplementation = typeof jsImplementations["web"] === "function" ? jsImplementation = await jsImplementations["web"]() : jsImplementation = jsImplementations["web"];
63
- }
64
- return jsImplementation;
65
- };
66
- const createPluginMethod = (impl, prop) => {
67
- var _a, _b;
68
- if (pluginHeader) {
69
- const methodHeader = pluginHeader === null || pluginHeader === void 0 ? void 0 : pluginHeader.methods.find((m) => prop === m.name);
70
- if (methodHeader) {
71
- if (methodHeader.rtype === "promise") {
72
- return (options) => cap.nativePromise(pluginName, prop.toString(), options);
73
- } else {
74
- return (options, callback) => cap.nativeCallback(pluginName, prop.toString(), options, callback);
75
- }
76
- } else if (impl) {
77
- return (_a = impl[prop]) === null || _a === void 0 ? void 0 : _a.bind(impl);
78
- }
79
- } else if (impl) {
80
- return (_b = impl[prop]) === null || _b === void 0 ? void 0 : _b.bind(impl);
81
- } else {
82
- throw new CapacitorException(`"${pluginName}" plugin is not implemented on ${platform}`, ExceptionCode.Unimplemented);
83
- }
84
- };
85
- const createPluginMethodWrapper = (prop) => {
86
- let remove;
87
- const wrapper = (...args) => {
88
- const p = loadPluginImplementation().then((impl) => {
89
- const fn = createPluginMethod(impl, prop);
90
- if (fn) {
91
- const p2 = fn(...args);
92
- remove = p2 === null || p2 === void 0 ? void 0 : p2.remove;
93
- return p2;
94
- } else {
95
- throw new CapacitorException(`"${pluginName}.${prop}()" is not implemented on ${platform}`, ExceptionCode.Unimplemented);
96
- }
97
- });
98
- if (prop === "addListener") {
99
- p.remove = async () => remove();
100
- }
101
- return p;
102
- };
103
- wrapper.toString = () => `${prop.toString()}() { [capacitor code] }`;
104
- Object.defineProperty(wrapper, "name", {
105
- value: prop,
106
- writable: false,
107
- configurable: false
108
- });
109
- return wrapper;
110
- };
111
- const addListener = createPluginMethodWrapper("addListener");
112
- const removeListener = createPluginMethodWrapper("removeListener");
113
- const addListenerNative = (eventName, callback) => {
114
- const call = addListener({ eventName }, callback);
115
- const remove = async () => {
116
- const callbackId = await call;
117
- removeListener({
118
- eventName,
119
- callbackId
120
- }, callback);
121
- };
122
- const p = new Promise((resolve) => call.then(() => resolve({ remove })));
123
- p.remove = async () => {
124
- console.warn(`Using addListener() without 'await' is deprecated.`);
125
- await remove();
126
- };
127
- return p;
128
- };
129
- const proxy = new Proxy({}, {
130
- get(_, prop) {
131
- switch (prop) {
132
- // https://github.com/facebook/react/issues/20030
133
- case "$$typeof":
134
- return void 0;
135
- case "toJSON":
136
- return () => ({});
137
- case "addListener":
138
- return pluginHeader ? addListenerNative : addListener;
139
- case "removeListener":
140
- return removeListener;
141
- default:
142
- return createPluginMethodWrapper(prop);
143
- }
144
- }
145
- });
146
- Plugins[pluginName] = proxy;
147
- registeredPlugins.set(pluginName, {
148
- name: pluginName,
149
- proxy,
150
- platforms: /* @__PURE__ */ new Set([...Object.keys(jsImplementations), ...pluginHeader ? [platform] : []])
151
- });
152
- return proxy;
153
- };
154
- if (!cap.convertFileSrc) {
155
- cap.convertFileSrc = (filePath) => filePath;
156
- }
157
- cap.getPlatform = getPlatform;
158
- cap.handleError = handleError;
159
- cap.isNativePlatform = isNativePlatform;
160
- cap.isPluginAvailable = isPluginAvailable;
161
- cap.registerPlugin = registerPlugin2;
162
- cap.Exception = CapacitorException;
163
- cap.DEBUG = !!cap.DEBUG;
164
- cap.isLoggingEnabled = !!cap.isLoggingEnabled;
165
- return cap;
166
- };
167
- const initCapacitorGlobal = (win) => win.Capacitor = createCapacitor(win);
168
- const Capacitor = /* @__PURE__ */ initCapacitorGlobal(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
169
- const registerPlugin = Capacitor.registerPlugin;
170
- class WebPlugin {
171
- constructor() {
172
- this.listeners = {};
173
- this.retainedEventArguments = {};
174
- this.windowListeners = {};
175
- }
176
- addListener(eventName, listenerFunc) {
177
- let firstListener = false;
178
- const listeners = this.listeners[eventName];
179
- if (!listeners) {
180
- this.listeners[eventName] = [];
181
- firstListener = true;
182
- }
183
- this.listeners[eventName].push(listenerFunc);
184
- const windowListener = this.windowListeners[eventName];
185
- if (windowListener && !windowListener.registered) {
186
- this.addWindowListener(windowListener);
187
- }
188
- if (firstListener) {
189
- this.sendRetainedArgumentsForEvent(eventName);
190
- }
191
- const remove = async () => this.removeListener(eventName, listenerFunc);
192
- const p = Promise.resolve({ remove });
193
- return p;
194
- }
195
- async removeAllListeners() {
196
- this.listeners = {};
197
- for (const listener in this.windowListeners) {
198
- this.removeWindowListener(this.windowListeners[listener]);
199
- }
200
- this.windowListeners = {};
201
- }
202
- notifyListeners(eventName, data, retainUntilConsumed) {
203
- const listeners = this.listeners[eventName];
204
- if (!listeners) {
205
- if (retainUntilConsumed) {
206
- let args = this.retainedEventArguments[eventName];
207
- if (!args) {
208
- args = [];
209
- }
210
- args.push(data);
211
- this.retainedEventArguments[eventName] = args;
212
- }
213
- return;
214
- }
215
- listeners.forEach((listener) => listener(data));
216
- }
217
- hasListeners(eventName) {
218
- var _a;
219
- return !!((_a = this.listeners[eventName]) === null || _a === void 0 ? void 0 : _a.length);
220
- }
221
- registerWindowListener(windowEventName, pluginEventName) {
222
- this.windowListeners[pluginEventName] = {
223
- registered: false,
224
- windowEventName,
225
- pluginEventName,
226
- handler: (event) => {
227
- this.notifyListeners(pluginEventName, event);
228
- }
229
- };
230
- }
231
- unimplemented(msg = "not implemented") {
232
- return new Capacitor.Exception(msg, ExceptionCode.Unimplemented);
233
- }
234
- unavailable(msg = "not available") {
235
- return new Capacitor.Exception(msg, ExceptionCode.Unavailable);
236
- }
237
- async removeListener(eventName, listenerFunc) {
238
- const listeners = this.listeners[eventName];
239
- if (!listeners) {
240
- return;
241
- }
242
- const index = listeners.indexOf(listenerFunc);
243
- this.listeners[eventName].splice(index, 1);
244
- if (!this.listeners[eventName].length) {
245
- this.removeWindowListener(this.windowListeners[eventName]);
246
- }
247
- }
248
- addWindowListener(handle) {
249
- window.addEventListener(handle.windowEventName, handle.handler);
250
- handle.registered = true;
251
- }
252
- removeWindowListener(handle) {
253
- if (!handle) {
254
- return;
255
- }
256
- window.removeEventListener(handle.windowEventName, handle.handler);
257
- handle.registered = false;
258
- }
259
- sendRetainedArgumentsForEvent(eventName) {
260
- const args = this.retainedEventArguments[eventName];
261
- if (!args) {
262
- return;
263
- }
264
- delete this.retainedEventArguments[eventName];
265
- args.forEach((arg) => {
266
- this.notifyListeners(eventName, arg);
267
- });
268
- }
269
- }
270
- const encode = (str) => encodeURIComponent(str).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
271
- const decode = (str) => str.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
272
- class CapacitorCookiesPluginWeb extends WebPlugin {
273
- async getCookies() {
274
- const cookies = document.cookie;
275
- const cookieMap = {};
276
- cookies.split(";").forEach((cookie) => {
277
- if (cookie.length <= 0)
278
- return;
279
- let [key, value] = cookie.replace(/=/, "CAP_COOKIE").split("CAP_COOKIE");
280
- key = decode(key).trim();
281
- value = decode(value).trim();
282
- cookieMap[key] = value;
283
- });
284
- return cookieMap;
285
- }
286
- async setCookie(options) {
287
- try {
288
- const encodedKey = encode(options.key);
289
- const encodedValue = encode(options.value);
290
- const expires = `; expires=${(options.expires || "").replace("expires=", "")}`;
291
- const path = (options.path || "/").replace("path=", "");
292
- const domain = options.url != null && options.url.length > 0 ? `domain=${options.url}` : "";
293
- document.cookie = `${encodedKey}=${encodedValue || ""}${expires}; path=${path}; ${domain};`;
294
- } catch (error) {
295
- return Promise.reject(error);
296
- }
297
- }
298
- async deleteCookie(options) {
299
- try {
300
- document.cookie = `${options.key}=; Max-Age=0`;
301
- } catch (error) {
302
- return Promise.reject(error);
303
- }
304
- }
305
- async clearCookies() {
306
- try {
307
- const cookies = document.cookie.split(";") || [];
308
- for (const cookie of cookies) {
309
- document.cookie = cookie.replace(/^ +/, "").replace(/=.*/, `=;expires=${(/* @__PURE__ */ new Date()).toUTCString()};path=/`);
310
- }
311
- } catch (error) {
312
- return Promise.reject(error);
313
- }
314
- }
315
- async clearAllCookies() {
316
- try {
317
- await this.clearCookies();
318
- } catch (error) {
319
- return Promise.reject(error);
320
- }
321
- }
322
- }
323
- registerPlugin("CapacitorCookies", {
324
- web: () => new CapacitorCookiesPluginWeb()
325
- });
326
- const readBlobAsBase64 = async (blob) => new Promise((resolve, reject) => {
327
- const reader = new FileReader();
328
- reader.onload = () => {
329
- const base64String = reader.result;
330
- resolve(base64String.indexOf(",") >= 0 ? base64String.split(",")[1] : base64String);
331
- };
332
- reader.onerror = (error) => reject(error);
333
- reader.readAsDataURL(blob);
334
- });
335
- const normalizeHttpHeaders = (headers = {}) => {
336
- const originalKeys = Object.keys(headers);
337
- const loweredKeys = Object.keys(headers).map((k) => k.toLocaleLowerCase());
338
- const normalized = loweredKeys.reduce((acc, key, index) => {
339
- acc[key] = headers[originalKeys[index]];
340
- return acc;
341
- }, {});
342
- return normalized;
343
- };
344
- const buildUrlParams = (params, shouldEncode = true) => {
345
- if (!params)
346
- return null;
347
- const output = Object.entries(params).reduce((accumulator, entry) => {
348
- const [key, value] = entry;
349
- let encodedValue;
350
- let item;
351
- if (Array.isArray(value)) {
352
- item = "";
353
- value.forEach((str) => {
354
- encodedValue = shouldEncode ? encodeURIComponent(str) : str;
355
- item += `${key}=${encodedValue}&`;
356
- });
357
- item.slice(0, -1);
358
- } else {
359
- encodedValue = shouldEncode ? encodeURIComponent(value) : value;
360
- item = `${key}=${encodedValue}`;
361
- }
362
- return `${accumulator}&${item}`;
363
- }, "");
364
- return output.substr(1);
365
- };
366
- const buildRequestInit = (options, extra = {}) => {
367
- const output = Object.assign({ method: options.method || "GET", headers: options.headers }, extra);
368
- const headers = normalizeHttpHeaders(options.headers);
369
- const type = headers["content-type"] || "";
370
- if (typeof options.data === "string") {
371
- output.body = options.data;
372
- } else if (type.includes("application/x-www-form-urlencoded")) {
373
- const params = new URLSearchParams();
374
- for (const [key, value] of Object.entries(options.data || {})) {
375
- params.set(key, value);
376
- }
377
- output.body = params.toString();
378
- } else if (type.includes("multipart/form-data") || options.data instanceof FormData) {
379
- const form = new FormData();
380
- if (options.data instanceof FormData) {
381
- options.data.forEach((value, key) => {
382
- form.append(key, value);
383
- });
384
- } else {
385
- for (const key of Object.keys(options.data)) {
386
- form.append(key, options.data[key]);
387
- }
388
- }
389
- output.body = form;
390
- const headers2 = new Headers(output.headers);
391
- headers2.delete("content-type");
392
- output.headers = headers2;
393
- } else if (type.includes("application/json") || typeof options.data === "object") {
394
- output.body = JSON.stringify(options.data);
395
- }
396
- return output;
397
- };
398
- class CapacitorHttpPluginWeb extends WebPlugin {
399
- /**
400
- * Perform an Http request given a set of options
401
- * @param options Options to build the HTTP request
402
- */
403
- async request(options) {
404
- const requestInit = buildRequestInit(options, options.webFetchExtra);
405
- const urlParams = buildUrlParams(options.params, options.shouldEncodeUrlParams);
406
- const url = urlParams ? `${options.url}?${urlParams}` : options.url;
407
- const response = await fetch(url, requestInit);
408
- const contentType = response.headers.get("content-type") || "";
409
- let { responseType = "text" } = response.ok ? options : {};
410
- if (contentType.includes("application/json")) {
411
- responseType = "json";
412
- }
413
- let data;
414
- let blob;
415
- switch (responseType) {
416
- case "arraybuffer":
417
- case "blob":
418
- blob = await response.blob();
419
- data = await readBlobAsBase64(blob);
420
- break;
421
- case "json":
422
- data = await response.json();
423
- break;
424
- case "document":
425
- case "text":
426
- default:
427
- data = await response.text();
428
- }
429
- const headers = {};
430
- response.headers.forEach((value, key) => {
431
- headers[key] = value;
432
- });
433
- return {
434
- data,
435
- headers,
436
- status: response.status,
437
- url: response.url
438
- };
439
- }
440
- /**
441
- * Perform an Http GET request given a set of options
442
- * @param options Options to build the HTTP request
443
- */
444
- async get(options) {
445
- return this.request(Object.assign(Object.assign({}, options), { method: "GET" }));
446
- }
447
- /**
448
- * Perform an Http POST request given a set of options
449
- * @param options Options to build the HTTP request
450
- */
451
- async post(options) {
452
- return this.request(Object.assign(Object.assign({}, options), { method: "POST" }));
453
- }
454
- /**
455
- * Perform an Http PUT request given a set of options
456
- * @param options Options to build the HTTP request
457
- */
458
- async put(options) {
459
- return this.request(Object.assign(Object.assign({}, options), { method: "PUT" }));
460
- }
461
- /**
462
- * Perform an Http PATCH request given a set of options
463
- * @param options Options to build the HTTP request
464
- */
465
- async patch(options) {
466
- return this.request(Object.assign(Object.assign({}, options), { method: "PATCH" }));
467
- }
468
- /**
469
- * Perform an Http DELETE request given a set of options
470
- * @param options Options to build the HTTP request
471
- */
472
- async delete(options) {
473
- return this.request(Object.assign(Object.assign({}, options), { method: "DELETE" }));
474
- }
475
- }
476
- registerPlugin("CapacitorHttp", {
477
- web: () => new CapacitorHttpPluginWeb()
478
- });
479
- export {
480
- Capacitor,
481
- CapacitorException,
482
- ExceptionCode,
483
- WebPlugin,
484
- buildRequestInit,
485
- registerPlugin
486
- };
487
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../node_modules/.pnpm/@capacitor+core@7.4.4/node_modules/@capacitor/core/dist/index.js"],"sourcesContent":["/*! Capacitor: https://capacitorjs.com/ - MIT License */\nvar ExceptionCode;\n(function (ExceptionCode) {\n /**\n * API is not implemented.\n *\n * This usually means the API can't be used because it is not implemented for\n * the current platform.\n */\n ExceptionCode[\"Unimplemented\"] = \"UNIMPLEMENTED\";\n /**\n * API is not available.\n *\n * This means the API can't be used right now because:\n * - it is currently missing a prerequisite, such as network connectivity\n * - it requires a particular platform or browser version\n */\n ExceptionCode[\"Unavailable\"] = \"UNAVAILABLE\";\n})(ExceptionCode || (ExceptionCode = {}));\nclass CapacitorException extends Error {\n constructor(message, code, data) {\n super(message);\n this.message = message;\n this.code = code;\n this.data = data;\n }\n}\nconst getPlatformId = (win) => {\n var _a, _b;\n if (win === null || win === void 0 ? void 0 : win.androidBridge) {\n return 'android';\n }\n else if ((_b = (_a = win === null || win === void 0 ? void 0 : win.webkit) === null || _a === void 0 ? void 0 : _a.messageHandlers) === null || _b === void 0 ? void 0 : _b.bridge) {\n return 'ios';\n }\n else {\n return 'web';\n }\n};\n\nconst createCapacitor = (win) => {\n const capCustomPlatform = win.CapacitorCustomPlatform || null;\n const cap = win.Capacitor || {};\n const Plugins = (cap.Plugins = cap.Plugins || {});\n const getPlatform = () => {\n return capCustomPlatform !== null ? capCustomPlatform.name : getPlatformId(win);\n };\n const isNativePlatform = () => getPlatform() !== 'web';\n const isPluginAvailable = (pluginName) => {\n const plugin = registeredPlugins.get(pluginName);\n if (plugin === null || plugin === void 0 ? void 0 : plugin.platforms.has(getPlatform())) {\n // JS implementation available for the current platform.\n return true;\n }\n if (getPluginHeader(pluginName)) {\n // Native implementation available.\n return true;\n }\n return false;\n };\n const getPluginHeader = (pluginName) => { var _a; return (_a = cap.PluginHeaders) === null || _a === void 0 ? void 0 : _a.find((h) => h.name === pluginName); };\n const handleError = (err) => win.console.error(err);\n const registeredPlugins = new Map();\n const registerPlugin = (pluginName, jsImplementations = {}) => {\n const registeredPlugin = registeredPlugins.get(pluginName);\n if (registeredPlugin) {\n console.warn(`Capacitor plugin \"${pluginName}\" already registered. Cannot register plugins twice.`);\n return registeredPlugin.proxy;\n }\n const platform = getPlatform();\n const pluginHeader = getPluginHeader(pluginName);\n let jsImplementation;\n const loadPluginImplementation = async () => {\n if (!jsImplementation && platform in jsImplementations) {\n jsImplementation =\n typeof jsImplementations[platform] === 'function'\n ? (jsImplementation = await jsImplementations[platform]())\n : (jsImplementation = jsImplementations[platform]);\n }\n else if (capCustomPlatform !== null && !jsImplementation && 'web' in jsImplementations) {\n jsImplementation =\n typeof jsImplementations['web'] === 'function'\n ? (jsImplementation = await jsImplementations['web']())\n : (jsImplementation = jsImplementations['web']);\n }\n return jsImplementation;\n };\n const createPluginMethod = (impl, prop) => {\n var _a, _b;\n if (pluginHeader) {\n const methodHeader = pluginHeader === null || pluginHeader === void 0 ? void 0 : pluginHeader.methods.find((m) => prop === m.name);\n if (methodHeader) {\n if (methodHeader.rtype === 'promise') {\n return (options) => cap.nativePromise(pluginName, prop.toString(), options);\n }\n else {\n return (options, callback) => cap.nativeCallback(pluginName, prop.toString(), options, callback);\n }\n }\n else if (impl) {\n return (_a = impl[prop]) === null || _a === void 0 ? void 0 : _a.bind(impl);\n }\n }\n else if (impl) {\n return (_b = impl[prop]) === null || _b === void 0 ? void 0 : _b.bind(impl);\n }\n else {\n throw new CapacitorException(`\"${pluginName}\" plugin is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n };\n const createPluginMethodWrapper = (prop) => {\n let remove;\n const wrapper = (...args) => {\n const p = loadPluginImplementation().then((impl) => {\n const fn = createPluginMethod(impl, prop);\n if (fn) {\n const p = fn(...args);\n remove = p === null || p === void 0 ? void 0 : p.remove;\n return p;\n }\n else {\n throw new CapacitorException(`\"${pluginName}.${prop}()\" is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n });\n if (prop === 'addListener') {\n p.remove = async () => remove();\n }\n return p;\n };\n // Some flair ✨\n wrapper.toString = () => `${prop.toString()}() { [capacitor code] }`;\n Object.defineProperty(wrapper, 'name', {\n value: prop,\n writable: false,\n configurable: false,\n });\n return wrapper;\n };\n const addListener = createPluginMethodWrapper('addListener');\n const removeListener = createPluginMethodWrapper('removeListener');\n const addListenerNative = (eventName, callback) => {\n const call = addListener({ eventName }, callback);\n const remove = async () => {\n const callbackId = await call;\n removeListener({\n eventName,\n callbackId,\n }, callback);\n };\n const p = new Promise((resolve) => call.then(() => resolve({ remove })));\n p.remove = async () => {\n console.warn(`Using addListener() without 'await' is deprecated.`);\n await remove();\n };\n return p;\n };\n const proxy = new Proxy({}, {\n get(_, prop) {\n switch (prop) {\n // https://github.com/facebook/react/issues/20030\n case '$$typeof':\n return undefined;\n case 'toJSON':\n return () => ({});\n case 'addListener':\n return pluginHeader ? addListenerNative : addListener;\n case 'removeListener':\n return removeListener;\n default:\n return createPluginMethodWrapper(prop);\n }\n },\n });\n Plugins[pluginName] = proxy;\n registeredPlugins.set(pluginName, {\n name: pluginName,\n proxy,\n platforms: new Set([...Object.keys(jsImplementations), ...(pluginHeader ? [platform] : [])]),\n });\n return proxy;\n };\n // Add in convertFileSrc for web, it will already be available in native context\n if (!cap.convertFileSrc) {\n cap.convertFileSrc = (filePath) => filePath;\n }\n cap.getPlatform = getPlatform;\n cap.handleError = handleError;\n cap.isNativePlatform = isNativePlatform;\n cap.isPluginAvailable = isPluginAvailable;\n cap.registerPlugin = registerPlugin;\n cap.Exception = CapacitorException;\n cap.DEBUG = !!cap.DEBUG;\n cap.isLoggingEnabled = !!cap.isLoggingEnabled;\n return cap;\n};\nconst initCapacitorGlobal = (win) => (win.Capacitor = createCapacitor(win));\n\nconst Capacitor = /*#__PURE__*/ initCapacitorGlobal(typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {});\nconst registerPlugin = Capacitor.registerPlugin;\n\n/**\n * Base class web plugins should extend.\n */\nclass WebPlugin {\n constructor() {\n this.listeners = {};\n this.retainedEventArguments = {};\n this.windowListeners = {};\n }\n addListener(eventName, listenerFunc) {\n let firstListener = false;\n const listeners = this.listeners[eventName];\n if (!listeners) {\n this.listeners[eventName] = [];\n firstListener = true;\n }\n this.listeners[eventName].push(listenerFunc);\n // If we haven't added a window listener for this event and it requires one,\n // go ahead and add it\n const windowListener = this.windowListeners[eventName];\n if (windowListener && !windowListener.registered) {\n this.addWindowListener(windowListener);\n }\n if (firstListener) {\n this.sendRetainedArgumentsForEvent(eventName);\n }\n const remove = async () => this.removeListener(eventName, listenerFunc);\n const p = Promise.resolve({ remove });\n return p;\n }\n async removeAllListeners() {\n this.listeners = {};\n for (const listener in this.windowListeners) {\n this.removeWindowListener(this.windowListeners[listener]);\n }\n this.windowListeners = {};\n }\n notifyListeners(eventName, data, retainUntilConsumed) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n if (retainUntilConsumed) {\n let args = this.retainedEventArguments[eventName];\n if (!args) {\n args = [];\n }\n args.push(data);\n this.retainedEventArguments[eventName] = args;\n }\n return;\n }\n listeners.forEach((listener) => listener(data));\n }\n hasListeners(eventName) {\n var _a;\n return !!((_a = this.listeners[eventName]) === null || _a === void 0 ? void 0 : _a.length);\n }\n registerWindowListener(windowEventName, pluginEventName) {\n this.windowListeners[pluginEventName] = {\n registered: false,\n windowEventName,\n pluginEventName,\n handler: (event) => {\n this.notifyListeners(pluginEventName, event);\n },\n };\n }\n unimplemented(msg = 'not implemented') {\n return new Capacitor.Exception(msg, ExceptionCode.Unimplemented);\n }\n unavailable(msg = 'not available') {\n return new Capacitor.Exception(msg, ExceptionCode.Unavailable);\n }\n async removeListener(eventName, listenerFunc) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n return;\n }\n const index = listeners.indexOf(listenerFunc);\n this.listeners[eventName].splice(index, 1);\n // If there are no more listeners for this type of event,\n // remove the window listener\n if (!this.listeners[eventName].length) {\n this.removeWindowListener(this.windowListeners[eventName]);\n }\n }\n addWindowListener(handle) {\n window.addEventListener(handle.windowEventName, handle.handler);\n handle.registered = true;\n }\n removeWindowListener(handle) {\n if (!handle) {\n return;\n }\n window.removeEventListener(handle.windowEventName, handle.handler);\n handle.registered = false;\n }\n sendRetainedArgumentsForEvent(eventName) {\n const args = this.retainedEventArguments[eventName];\n if (!args) {\n return;\n }\n delete this.retainedEventArguments[eventName];\n args.forEach((arg) => {\n this.notifyListeners(eventName, arg);\n });\n }\n}\n\nconst WebView = /*#__PURE__*/ registerPlugin('WebView');\n/******** END WEB VIEW PLUGIN ********/\n/******** COOKIES PLUGIN ********/\n/**\n * Safely web encode a string value (inspired by js-cookie)\n * @param str The string value to encode\n */\nconst encode = (str) => encodeURIComponent(str)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n/**\n * Safely web decode a string value (inspired by js-cookie)\n * @param str The string value to decode\n */\nconst decode = (str) => str.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent);\nclass CapacitorCookiesPluginWeb extends WebPlugin {\n async getCookies() {\n const cookies = document.cookie;\n const cookieMap = {};\n cookies.split(';').forEach((cookie) => {\n if (cookie.length <= 0)\n return;\n // Replace first \"=\" with CAP_COOKIE to prevent splitting on additional \"=\"\n let [key, value] = cookie.replace(/=/, 'CAP_COOKIE').split('CAP_COOKIE');\n key = decode(key).trim();\n value = decode(value).trim();\n cookieMap[key] = value;\n });\n return cookieMap;\n }\n async setCookie(options) {\n try {\n // Safely Encoded Key/Value\n const encodedKey = encode(options.key);\n const encodedValue = encode(options.value);\n // Clean & sanitize options\n const expires = `; expires=${(options.expires || '').replace('expires=', '')}`; // Default is \"; expires=\"\n const path = (options.path || '/').replace('path=', ''); // Default is \"path=/\"\n const domain = options.url != null && options.url.length > 0 ? `domain=${options.url}` : '';\n document.cookie = `${encodedKey}=${encodedValue || ''}${expires}; path=${path}; ${domain};`;\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n async deleteCookie(options) {\n try {\n document.cookie = `${options.key}=; Max-Age=0`;\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n async clearCookies() {\n try {\n const cookies = document.cookie.split(';') || [];\n for (const cookie of cookies) {\n document.cookie = cookie.replace(/^ +/, '').replace(/=.*/, `=;expires=${new Date().toUTCString()};path=/`);\n }\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n async clearAllCookies() {\n try {\n await this.clearCookies();\n }\n catch (error) {\n return Promise.reject(error);\n }\n }\n}\nconst CapacitorCookies = registerPlugin('CapacitorCookies', {\n web: () => new CapacitorCookiesPluginWeb(),\n});\n// UTILITY FUNCTIONS\n/**\n * Read in a Blob value and return it as a base64 string\n * @param blob The blob value to convert to a base64 string\n */\nconst readBlobAsBase64 = async (blob) => new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onload = () => {\n const base64String = reader.result;\n // remove prefix \"data:application/pdf;base64,\"\n resolve(base64String.indexOf(',') >= 0 ? base64String.split(',')[1] : base64String);\n };\n reader.onerror = (error) => reject(error);\n reader.readAsDataURL(blob);\n});\n/**\n * Normalize an HttpHeaders map by lowercasing all of the values\n * @param headers The HttpHeaders object to normalize\n */\nconst normalizeHttpHeaders = (headers = {}) => {\n const originalKeys = Object.keys(headers);\n const loweredKeys = Object.keys(headers).map((k) => k.toLocaleLowerCase());\n const normalized = loweredKeys.reduce((acc, key, index) => {\n acc[key] = headers[originalKeys[index]];\n return acc;\n }, {});\n return normalized;\n};\n/**\n * Builds a string of url parameters that\n * @param params A map of url parameters\n * @param shouldEncode true if you should encodeURIComponent() the values (true by default)\n */\nconst buildUrlParams = (params, shouldEncode = true) => {\n if (!params)\n return null;\n const output = Object.entries(params).reduce((accumulator, entry) => {\n const [key, value] = entry;\n let encodedValue;\n let item;\n if (Array.isArray(value)) {\n item = '';\n value.forEach((str) => {\n encodedValue = shouldEncode ? encodeURIComponent(str) : str;\n item += `${key}=${encodedValue}&`;\n });\n // last character will always be \"&\" so slice it off\n item.slice(0, -1);\n }\n else {\n encodedValue = shouldEncode ? encodeURIComponent(value) : value;\n item = `${key}=${encodedValue}`;\n }\n return `${accumulator}&${item}`;\n }, '');\n // Remove initial \"&\" from the reduce\n return output.substr(1);\n};\n/**\n * Build the RequestInit object based on the options passed into the initial request\n * @param options The Http plugin options\n * @param extra Any extra RequestInit values\n */\nconst buildRequestInit = (options, extra = {}) => {\n const output = Object.assign({ method: options.method || 'GET', headers: options.headers }, extra);\n // Get the content-type\n const headers = normalizeHttpHeaders(options.headers);\n const type = headers['content-type'] || '';\n // If body is already a string, then pass it through as-is.\n if (typeof options.data === 'string') {\n output.body = options.data;\n }\n // Build request initializers based off of content-type\n else if (type.includes('application/x-www-form-urlencoded')) {\n const params = new URLSearchParams();\n for (const [key, value] of Object.entries(options.data || {})) {\n params.set(key, value);\n }\n output.body = params.toString();\n }\n else if (type.includes('multipart/form-data') || options.data instanceof FormData) {\n const form = new FormData();\n if (options.data instanceof FormData) {\n options.data.forEach((value, key) => {\n form.append(key, value);\n });\n }\n else {\n for (const key of Object.keys(options.data)) {\n form.append(key, options.data[key]);\n }\n }\n output.body = form;\n const headers = new Headers(output.headers);\n headers.delete('content-type'); // content-type will be set by `window.fetch` to includy boundary\n output.headers = headers;\n }\n else if (type.includes('application/json') || typeof options.data === 'object') {\n output.body = JSON.stringify(options.data);\n }\n return output;\n};\n// WEB IMPLEMENTATION\nclass CapacitorHttpPluginWeb extends WebPlugin {\n /**\n * Perform an Http request given a set of options\n * @param options Options to build the HTTP request\n */\n async request(options) {\n const requestInit = buildRequestInit(options, options.webFetchExtra);\n const urlParams = buildUrlParams(options.params, options.shouldEncodeUrlParams);\n const url = urlParams ? `${options.url}?${urlParams}` : options.url;\n const response = await fetch(url, requestInit);\n const contentType = response.headers.get('content-type') || '';\n // Default to 'text' responseType so no parsing happens\n let { responseType = 'text' } = response.ok ? options : {};\n // If the response content-type is json, force the response to be json\n if (contentType.includes('application/json')) {\n responseType = 'json';\n }\n let data;\n let blob;\n switch (responseType) {\n case 'arraybuffer':\n case 'blob':\n blob = await response.blob();\n data = await readBlobAsBase64(blob);\n break;\n case 'json':\n data = await response.json();\n break;\n case 'document':\n case 'text':\n default:\n data = await response.text();\n }\n // Convert fetch headers to Capacitor HttpHeaders\n const headers = {};\n response.headers.forEach((value, key) => {\n headers[key] = value;\n });\n return {\n data,\n headers,\n status: response.status,\n url: response.url,\n };\n }\n /**\n * Perform an Http GET request given a set of options\n * @param options Options to build the HTTP request\n */\n async get(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'GET' }));\n }\n /**\n * Perform an Http POST request given a set of options\n * @param options Options to build the HTTP request\n */\n async post(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'POST' }));\n }\n /**\n * Perform an Http PUT request given a set of options\n * @param options Options to build the HTTP request\n */\n async put(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'PUT' }));\n }\n /**\n * Perform an Http PATCH request given a set of options\n * @param options Options to build the HTTP request\n */\n async patch(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'PATCH' }));\n }\n /**\n * Perform an Http DELETE request given a set of options\n * @param options Options to build the HTTP request\n */\n async delete(options) {\n return this.request(Object.assign(Object.assign({}, options), { method: 'DELETE' }));\n }\n}\nconst CapacitorHttp = registerPlugin('CapacitorHttp', {\n web: () => new CapacitorHttpPluginWeb(),\n});\n/******** END HTTP PLUGIN ********/\n\nexport { Capacitor, CapacitorCookies, CapacitorException, CapacitorHttp, ExceptionCode, WebPlugin, WebView, buildRequestInit, registerPlugin };\n//# sourceMappingURL=index.js.map\n"],"names":["ExceptionCode","registerPlugin","p","headers"],"mappings":"AAAA;AACG,IAAC;AAAA,CACH,SAAUA,gBAAe;AAOtB,EAAAA,eAAc,eAAe,IAAI;AAQjC,EAAAA,eAAc,aAAa,IAAI;AACnC,GAAG,kBAAkB,gBAAgB,CAAA,EAAG;AACxC,MAAM,2BAA2B,MAAM;AAAA,EACnC,YAAY,SAAS,MAAM,MAAM;AAC7B,UAAM,OAAO;AACb,SAAK,UAAU;AACf,SAAK,OAAO;AACZ,SAAK,OAAO;AAAA,EAChB;AACJ;AACA,MAAM,gBAAgB,CAAC,QAAQ;AAC3B,MAAI,IAAI;AACR,MAAI,QAAQ,QAAQ,QAAQ,SAAS,SAAS,IAAI,eAAe;AAC7D,WAAO;AAAA,EACX,YACU,MAAM,KAAK,QAAQ,QAAQ,QAAQ,SAAS,SAAS,IAAI,YAAY,QAAQ,OAAO,SAAS,SAAS,GAAG,qBAAqB,QAAQ,OAAO,SAAS,SAAS,GAAG,QAAQ;AAChL,WAAO;AAAA,EACX,OACK;AACD,WAAO;AAAA,EACX;AACJ;AAEA,MAAM,kBAAkB,CAAC,QAAQ;AAC7B,QAAM,oBAAoB,IAAI,2BAA2B;AACzD,QAAM,MAAM,IAAI,aAAa,CAAA;AAC7B,QAAM,UAAW,IAAI,UAAU,IAAI,WAAW,CAAA;AAC9C,QAAM,cAAc,MAAM;AACtB,WAAO,sBAAsB,OAAO,kBAAkB,OAAO,cAAc,GAAG;AAAA,EAClF;AACA,QAAM,mBAAmB,MAAM,YAAW,MAAO;AACjD,QAAM,oBAAoB,CAAC,eAAe;AACtC,UAAM,SAAS,kBAAkB,IAAI,UAAU;AAC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AAAA;AAAA;AAAA;AAAA,EAKA,MAAM,OAAO,SAAS;AAClB,WAAO,KAAK,QAAQ,OAAO,OAAO,OAAO,OAAO,CAAA,GAAI,OAAO,GAAG,EAAE,QAAQ,SAAQ,CAAE,CAAC;AAAA,EACvF;AACJ;AACsB,eAAe,iBAAiB;AAAA,EAClD,KAAK,MAAM,IAAI,uBAAsB;AACzC,CAAC;","x_google_ignoreList":[0]}
@@ -1,8 +0,0 @@
1
- import { registerPlugin } from "../../../../../../@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js";
2
- const Preferences = registerPlugin("Preferences", {
3
- web: () => import("./web.js").then((m) => new m.PreferencesWeb())
4
- });
5
- export {
6
- Preferences
7
- };
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/.pnpm/@capacitor+preferences@7.0.2_@capacitor+core@7.4.4/node_modules/@capacitor/preferences/dist/esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Preferences = registerPlugin('Preferences', {\n web: () => import('./web').then(m => new m.PreferencesWeb()),\n});\nexport * from './definitions';\nexport { Preferences };\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";AACK,MAAC,cAAc,eAAe,eAAe;AAAA,EAC9C,KAAK,MAAM,OAAO,UAAO,EAAE,KAAK,OAAK,IAAI,EAAE,gBAAgB;AAC/D,CAAC;","x_google_ignoreList":[0]}
@@ -1,73 +0,0 @@
1
- import { WebPlugin } from "../../../../../../@capacitor_core@7.4.4/node_modules/@capacitor/core/dist/index.js";
2
- class PreferencesWeb extends WebPlugin {
3
- constructor() {
4
- super(...arguments);
5
- this.group = "CapacitorStorage";
6
- }
7
- async configure({ group }) {
8
- if (typeof group === "string") {
9
- this.group = group;
10
- }
11
- }
12
- async get(options) {
13
- const value = this.impl.getItem(this.applyPrefix(options.key));
14
- return { value };
15
- }
16
- async set(options) {
17
- this.impl.setItem(this.applyPrefix(options.key), options.value);
18
- }
19
- async remove(options) {
20
- this.impl.removeItem(this.applyPrefix(options.key));
21
- }
22
- async keys() {
23
- const keys = this.rawKeys().map((k) => k.substring(this.prefix.length));
24
- return { keys };
25
- }
26
- async clear() {
27
- for (const key of this.rawKeys()) {
28
- this.impl.removeItem(key);
29
- }
30
- }
31
- async migrate() {
32
- var _a;
33
- const migrated = [];
34
- const existing = [];
35
- const oldprefix = "_cap_";
36
- const keys = Object.keys(this.impl).filter((k) => k.indexOf(oldprefix) === 0);
37
- for (const oldkey of keys) {
38
- const key = oldkey.substring(oldprefix.length);
39
- const value = (_a = this.impl.getItem(oldkey)) !== null && _a !== void 0 ? _a : "";
40
- const { value: currentValue } = await this.get({ key });
41
- if (typeof currentValue === "string") {
42
- existing.push(key);
43
- } else {
44
- await this.set({ key, value });
45
- migrated.push(key);
46
- }
47
- }
48
- return { migrated, existing };
49
- }
50
- async removeOld() {
51
- const oldprefix = "_cap_";
52
- const keys = Object.keys(this.impl).filter((k) => k.indexOf(oldprefix) === 0);
53
- for (const oldkey of keys) {
54
- this.impl.removeItem(oldkey);
55
- }
56
- }
57
- get impl() {
58
- return window.localStorage;
59
- }
60
- get prefix() {
61
- return this.group === "NativeStorage" ? "" : `${this.group}.`;
62
- }
63
- rawKeys() {
64
- return Object.keys(this.impl).filter((k) => k.indexOf(this.prefix) === 0);
65
- }
66
- applyPrefix(key) {
67
- return this.prefix + key;
68
- }
69
- }
70
- export {
71
- PreferencesWeb
72
- };
73
- //# sourceMappingURL=web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.js","sources":["../../../../../../../../../../node_modules/.pnpm/@capacitor+preferences@7.0.2_@capacitor+core@7.4.4/node_modules/@capacitor/preferences/dist/esm/web.js"],"sourcesContent":["import { WebPlugin } from '@capacitor/core';\nexport class PreferencesWeb extends WebPlugin {\n constructor() {\n super(...arguments);\n this.group = 'CapacitorStorage';\n }\n async configure({ group }) {\n if (typeof group === 'string') {\n this.group = group;\n }\n }\n async get(options) {\n const value = this.impl.getItem(this.applyPrefix(options.key));\n return { value };\n }\n async set(options) {\n this.impl.setItem(this.applyPrefix(options.key), options.value);\n }\n async remove(options) {\n this.impl.removeItem(this.applyPrefix(options.key));\n }\n async keys() {\n const keys = this.rawKeys().map(k => k.substring(this.prefix.length));\n return { keys };\n }\n async clear() {\n for (const key of this.rawKeys()) {\n this.impl.removeItem(key);\n }\n }\n async migrate() {\n var _a;\n const migrated = [];\n const existing = [];\n const oldprefix = '_cap_';\n const keys = Object.keys(this.impl).filter(k => k.indexOf(oldprefix) === 0);\n for (const oldkey of keys) {\n const key = oldkey.substring(oldprefix.length);\n const value = (_a = this.impl.getItem(oldkey)) !== null && _a !== void 0 ? _a : '';\n const { value: currentValue } = await this.get({ key });\n if (typeof currentValue === 'string') {\n existing.push(key);\n }\n else {\n await this.set({ key, value });\n migrated.push(key);\n }\n }\n return { migrated, existing };\n }\n async removeOld() {\n const oldprefix = '_cap_';\n const keys = Object.keys(this.impl).filter(k => k.indexOf(oldprefix) === 0);\n for (const oldkey of keys) {\n this.impl.removeItem(oldkey);\n }\n }\n get impl() {\n return window.localStorage;\n }\n get prefix() {\n return this.group === 'NativeStorage' ? '' : `${this.group}.`;\n }\n rawKeys() {\n return Object.keys(this.impl).filter(k => k.indexOf(this.prefix) === 0);\n }\n applyPrefix(key) {\n return this.prefix + key;\n }\n}\n//# sourceMappingURL=web.js.map"],"names":[],"mappings":";AACO,MAAM,uBAAuB,UAAU;AAAA,EAC1C,cAAc;AACV,UAAM,GAAG,SAAS;AAClB,SAAK,QAAQ;AAAA,EACjB;AAAA,EACA,MAAM,UAAU,EAAE,SAAS;AACvB,QAAI,OAAO,UAAU,UAAU;AAC3B,WAAK,QAAQ;AAAA,IACjB;AAAA,EACJ;AAAA,EACA,MAAM,IAAI,SAAS;AACf,UAAM,QAAQ,KAAK,KAAK,QAAQ,KAAK,YAAY,QAAQ,GAAG,CAAC;AAC7D,WAAO,EAAE,MAAK;AAAA,EAClB;AAAA,EACA,MAAM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