@ozdao/martyrs 0.2.585 → 0.2.587

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 (391) hide show
  1. package/dist/auth.server.js +175 -97
  2. package/dist/{authJwt-J1csaMWA.js → authJwt-DKbMMjw0.js} +33 -0
  3. package/dist/chats.server.js +3 -3
  4. package/dist/community.server.js +2 -2
  5. package/dist/core.server.js +201 -13
  6. package/dist/{core.websocket-C2FxNmZ1.js → core.websocket-Cl76z2wT.js} +41 -5
  7. package/dist/{crud-q1ye5IhV.js → crud-DpOXTZep.js} +1 -1
  8. package/dist/events.server.js +3 -3
  9. package/dist/files.server.js +2 -2
  10. package/dist/gallery.server.js +2 -2
  11. package/dist/index-kvBwwb0w.js +427 -0
  12. package/dist/inventory.server.js +3 -3
  13. package/dist/{mailing-DuEFRsa3.js → mailing-DT7nbNjZ.js} +16 -3
  14. package/dist/{main-xL-jtBkT.js → main-BIf-WirR.js} +863 -865
  15. package/dist/marketplace.server.js +2 -2
  16. package/dist/martyrs/dist/{main-xL-jtBkT.js → main-BIf-WirR.js} +192 -38
  17. package/dist/martyrs/dist/main-BIf-WirR.js.map +1 -0
  18. package/dist/martyrs/dist/{web-BA6h6Z8P.js → web-O7lXcjg0.js} +2 -2
  19. package/dist/martyrs/dist/{web-BA6h6Z8P.js.map → web-O7lXcjg0.js.map} +1 -1
  20. package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +8 -7
  21. package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
  22. package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
  23. package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
  24. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
  25. package/dist/martyrs/src/components/Loader/{Loader.vue.js → Loader.vue2.js} +3 -3
  26. package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +1 -0
  27. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  28. package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
  29. package/dist/martyrs/src/components/Menu/{Menu.vue.js → Menu.vue2.js} +2 -2
  30. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +1 -0
  31. package/dist/martyrs/src/components/Select/{Select.vue.js → Select.vue2.js} +2 -2
  32. package/dist/martyrs/src/components/Select/Select.vue2.js.map +1 -0
  33. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js +17 -22
  34. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +1 -1
  35. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
  36. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  37. package/dist/martyrs/src/modules/auth/auth.client.js +18 -24
  38. package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +178 -0
  40. package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js.map +1 -0
  41. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  42. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +53 -45
  43. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  44. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  45. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +198 -14
  46. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  48. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +70 -29
  49. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
  50. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  51. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  52. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +86 -30
  53. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
  54. package/dist/martyrs/src/modules/auth/views/plugins/otp.plugin.js +100 -0
  55. package/dist/martyrs/src/modules/auth/views/plugins/otp.plugin.js.map +1 -0
  56. package/dist/martyrs/src/modules/auth/views/router/auth.router.js +2 -31
  57. package/dist/martyrs/src/modules/auth/views/router/auth.router.js.map +1 -1
  58. package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -14
  59. package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
  60. package/dist/martyrs/src/modules/auth/views/store/auth.js +1 -56
  61. package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
  62. package/dist/martyrs/src/modules/auth/views/store/users.js +5 -1
  63. package/dist/martyrs/src/modules/auth/views/store/users.js.map +1 -1
  64. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
  65. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  66. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  67. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +0 -1
  68. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js.map +1 -1
  69. package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.js +1 -1
  70. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +2 -2
  71. package/dist/martyrs/src/modules/core/views/components/elements/OnlineIndicator.vue.js +74 -0
  72. package/dist/martyrs/src/modules/core/views/components/elements/OnlineIndicator.vue.js.map +1 -0
  73. package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js.map +1 -1
  74. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +64 -48
  75. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
  76. package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js +10 -33
  77. package/dist/martyrs/src/modules/core/views/components/pages/404.vue.js.map +1 -1
  78. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +2 -2
  79. package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +1 -1
  80. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  81. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  82. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  83. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  84. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  85. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
  86. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
  87. package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
  88. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  89. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +2 -2
  90. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +1 -1
  91. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
  92. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +2 -2
  93. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
  94. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
  95. package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +1 -1
  96. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
  97. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
  98. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
  99. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
  100. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
  101. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +3 -3
  102. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
  103. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
  104. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +2 -2
  105. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
  106. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +2 -2
  107. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
  108. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +2 -2
  109. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +2 -2
  110. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +2 -2
  111. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +0 -1
  112. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js.map +1 -1
  113. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +1 -1
  114. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
  115. package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +1 -1
  116. package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +1 -1
  117. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +2 -2
  118. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +2 -2
  119. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +2 -2
  120. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -2
  121. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js.map +1 -1
  122. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  123. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  124. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  125. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
  126. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
  127. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  128. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  129. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  130. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
  131. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +1 -1
  132. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
  133. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  134. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  135. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  136. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -2
  137. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
  138. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  139. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -2
  140. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js.map +1 -1
  141. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +0 -1
  142. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js.map +1 -1
  143. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  144. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  145. package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
  146. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +0 -1
  147. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
  148. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  149. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +0 -1
  150. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
  151. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  152. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +1 -1
  153. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  154. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  155. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  156. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  157. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  158. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  159. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  160. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
  161. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  162. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  163. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  164. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  165. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  166. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
  167. package/dist/martyrs.css +1 -1
  168. package/dist/martyrs.es.js +1 -1
  169. package/dist/music.server.js +1 -1
  170. package/dist/notifications.server.js +2 -2
  171. package/dist/orders.server.js +8 -7
  172. package/dist/organizations.server.js +3 -3
  173. package/dist/pages.server.js +1 -1
  174. package/dist/products.server.js +3 -3
  175. package/dist/profile.schema-C31Lynn3.js +21 -0
  176. package/dist/rents.server.js +2 -2
  177. package/dist/reports.server.js +1 -1
  178. package/dist/sessions.service-COcwjd0f.js +86 -0
  179. package/dist/spots.server.js +1 -1
  180. package/dist/style.css +180 -110
  181. package/dist/{tickets.controller-B7r0mK-5.js → tickets.controller-DdF85W-i.js} +1 -1
  182. package/dist/visitors.service-B1dhhuSo.js +83 -0
  183. package/dist/wallet.server.js +3 -3
  184. package/dist/{web-BA6h6Z8P.js → web-O7lXcjg0.js} +1 -1
  185. package/package.json +3 -1
  186. package/src/components/Button/Button.vue +61 -15
  187. package/src/components/Loader/Loader.vue +1 -1
  188. package/src/components/Tooltip/Tooltip.vue +31 -23
  189. package/src/modules/TASKS.MD +30 -1
  190. package/src/modules/auth/CLAUDE.md +381 -0
  191. package/src/modules/auth/FIXES.md +0 -38
  192. package/src/modules/auth/auth.client.js +4 -6
  193. package/src/modules/auth/auth.server.js +19 -16
  194. package/src/modules/auth/controllers/middlewares/authJwt.js +59 -17
  195. package/src/modules/auth/controllers/middlewares/index.js +4 -1
  196. package/src/modules/auth/controllers/middlewares/otp.middleware.js +166 -0
  197. package/src/modules/auth/controllers/middlewares/verifySignUp.js +0 -1
  198. package/src/modules/auth/controllers/middlewares/verifyUser.js +58 -11
  199. package/src/modules/auth/controllers/routes/auth.routes.js +48 -6
  200. package/src/modules/auth/controllers/routes/users.routes.js +29 -8
  201. package/src/modules/auth/controllers/services/auth.service.js +62 -12
  202. package/src/modules/auth/controllers/services/otp.service.js +109 -0
  203. package/src/modules/auth/controllers/services/users.service.js +46 -6
  204. package/src/modules/auth/models/otp.model.js +20 -0
  205. package/src/modules/auth/views/components/blocks/OtpDialog.vue +168 -0
  206. package/src/modules/auth/views/components/pages/Profile.vue +18 -13
  207. package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +199 -45
  208. package/src/modules/auth/views/components/pages/ResetPassword.vue +170 -132
  209. package/src/modules/auth/views/components/pages/SignIn.vue +2 -1
  210. package/src/modules/auth/views/components/pages/SignUp.vue +203 -147
  211. package/src/modules/auth/views/plugins/otp.plugin.js +104 -0
  212. package/src/modules/auth/views/router/auth.router.js +1 -24
  213. package/src/modules/auth/views/router/users.router.js +1 -12
  214. package/src/modules/auth/views/store/auth.js +0 -68
  215. package/src/modules/auth/views/store/users.js +6 -2
  216. package/src/modules/chats/chats.server.js +1 -1
  217. package/src/modules/community/community.server.js +1 -1
  218. package/src/modules/core/controllers/classes/core.websocket.js +57 -6
  219. package/src/modules/core/controllers/middlewares/visitor.logger.js +49 -0
  220. package/src/modules/core/controllers/services/requests.service.js +53 -0
  221. package/src/modules/core/controllers/services/sessions.service.js +98 -0
  222. package/src/modules/core/controllers/services/visitors.service.js +102 -0
  223. package/src/modules/core/controllers/utils/mailing.js +16 -3
  224. package/src/modules/core/core.server.js +31 -16
  225. package/src/modules/core/models/log.model.js +24 -0
  226. package/src/modules/core/models/request.model.js +30 -0
  227. package/src/modules/core/models/session.model.js +43 -0
  228. package/src/modules/core/models/visitor.model.js +28 -0
  229. package/src/modules/core/views/components/elements/OnlineIndicator.vue +115 -0
  230. package/src/modules/core/views/components/layouts/App.vue +2 -2
  231. package/src/modules/core/views/components/layouts/Client.vue +443 -477
  232. package/src/modules/core/views/components/pages/404.vue +2 -3
  233. package/src/modules/events/events.server.js +1 -1
  234. package/src/modules/files/files.server.js +1 -1
  235. package/src/modules/gallery/gallery.server.js +1 -1
  236. package/src/modules/governance/governance.server.js +1 -1
  237. package/src/modules/icons/icons.server.js +1 -1
  238. package/src/modules/inventory/inventory.server.js +1 -1
  239. package/src/modules/marketplace/marketplace.server.js +1 -1
  240. package/src/modules/notifications/notifications.server.js +1 -1
  241. package/src/modules/orders/controllers/orders.controller.js +3 -3
  242. package/src/modules/orders/orders.server.js +1 -1
  243. package/src/modules/organizations/organizations.server.js +1 -1
  244. package/src/modules/pages/pages.server.js +1 -1
  245. package/src/modules/products/components/pages/Products.vue +1 -1
  246. package/src/modules/products/products.server.js +1 -1
  247. package/src/modules/rents/rents.server.js +1 -1
  248. package/src/modules/reports/reports.server.js +1 -1
  249. package/src/modules/spots/spots.server.js +1 -1
  250. package/src/modules/wallet/wallet.server.js +1 -1
  251. package/dist/_virtual/alignment-pattern.js +0 -5
  252. package/dist/_virtual/alignment-pattern.js.map +0 -1
  253. package/dist/_virtual/browser.js +0 -8
  254. package/dist/_virtual/browser.js.map +0 -1
  255. package/dist/_virtual/browser2.js +0 -5
  256. package/dist/_virtual/browser2.js.map +0 -1
  257. package/dist/_virtual/canvas.js +0 -5
  258. package/dist/_virtual/canvas.js.map +0 -1
  259. package/dist/_virtual/dijkstra.js +0 -5
  260. package/dist/_virtual/dijkstra.js.map +0 -1
  261. package/dist/_virtual/error-correction-code.js +0 -5
  262. package/dist/_virtual/error-correction-code.js.map +0 -1
  263. package/dist/_virtual/error-correction-level.js +0 -5
  264. package/dist/_virtual/error-correction-level.js.map +0 -1
  265. package/dist/_virtual/finder-pattern.js +0 -5
  266. package/dist/_virtual/finder-pattern.js.map +0 -1
  267. package/dist/_virtual/format-info.js +0 -5
  268. package/dist/_virtual/format-info.js.map +0 -1
  269. package/dist/_virtual/galois-field.js +0 -5
  270. package/dist/_virtual/galois-field.js.map +0 -1
  271. package/dist/_virtual/mask-pattern.js +0 -5
  272. package/dist/_virtual/mask-pattern.js.map +0 -1
  273. package/dist/_virtual/mode.js +0 -5
  274. package/dist/_virtual/mode.js.map +0 -1
  275. package/dist/_virtual/polynomial.js +0 -5
  276. package/dist/_virtual/polynomial.js.map +0 -1
  277. package/dist/_virtual/qrcode.js +0 -5
  278. package/dist/_virtual/qrcode.js.map +0 -1
  279. package/dist/_virtual/regex.js +0 -5
  280. package/dist/_virtual/regex.js.map +0 -1
  281. package/dist/_virtual/segments.js +0 -5
  282. package/dist/_virtual/segments.js.map +0 -1
  283. package/dist/_virtual/svg-tag.js +0 -5
  284. package/dist/_virtual/svg-tag.js.map +0 -1
  285. package/dist/_virtual/utils.js +0 -5
  286. package/dist/_virtual/utils.js.map +0 -1
  287. package/dist/_virtual/utils2.js +0 -5
  288. package/dist/_virtual/utils2.js.map +0 -1
  289. package/dist/_virtual/version-check.js +0 -5
  290. package/dist/_virtual/version-check.js.map +0 -1
  291. package/dist/_virtual/version.js +0 -5
  292. package/dist/_virtual/version.js.map +0 -1
  293. package/dist/index-_Edcmck_.js +0 -170
  294. package/dist/martyrs/dist/main-xL-jtBkT.js.map +0 -1
  295. package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.js +0 -1336
  296. package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.js.map +0 -1
  297. package/dist/martyrs/src/components/Button/Button.vue2.js.map +0 -1
  298. package/dist/martyrs/src/components/Loader/Loader.vue.js.map +0 -1
  299. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
  300. package/dist/martyrs/src/components/Select/Select.vue.js.map +0 -1
  301. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js +0 -166
  302. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js.map +0 -1
  303. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +0 -118
  304. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +0 -1
  305. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +0 -360
  306. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js.map +0 -1
  307. package/dist/martyrs/src/modules/auth/views/store/twofa.js +0 -40
  308. package/dist/martyrs/src/modules/auth/views/store/twofa.js.map +0 -1
  309. package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.js +0 -43
  310. package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.js.map +0 -1
  311. package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +0 -47
  312. package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +0 -1
  313. package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +0 -29
  314. package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +0 -1
  315. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +0 -89
  316. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js.map +0 -1
  317. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +0 -136
  318. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +0 -1
  319. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +0 -238
  320. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js.map +0 -1
  321. package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js +0 -9
  322. package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js.map +0 -1
  323. package/dist/martyrs/src/modules/wallet/views/store/wallet.store.js +0 -134
  324. package/dist/martyrs/src/modules/wallet/views/store/wallet.store.js.map +0 -1
  325. package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.js +0 -106
  326. package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.js.map +0 -1
  327. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.js +0 -79
  328. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.js.map +0 -1
  329. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.js +0 -14
  330. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.js.map +0 -1
  331. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.js +0 -43
  332. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.js.map +0 -1
  333. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -85
  334. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.js.map +0 -1
  335. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.js +0 -40
  336. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.js.map +0 -1
  337. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.js +0 -34
  338. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.js.map +0 -1
  339. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.js +0 -36
  340. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.js.map +0 -1
  341. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.js +0 -367
  342. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.js.map +0 -1
  343. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.js +0 -52
  344. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.js.map +0 -1
  345. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.js +0 -25
  346. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.js.map +0 -1
  347. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.js +0 -24
  348. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.js.map +0 -1
  349. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.js +0 -38
  350. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.js.map +0 -1
  351. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.js +0 -46
  352. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.js.map +0 -1
  353. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.js +0 -149
  354. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.js.map +0 -1
  355. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.js +0 -90
  356. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.js.map +0 -1
  357. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.js +0 -41
  358. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.js.map +0 -1
  359. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.js +0 -44
  360. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.js.map +0 -1
  361. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.js +0 -279
  362. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.js.map +0 -1
  363. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -38
  364. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.js.map +0 -1
  365. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.js +0 -33
  366. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.js.map +0 -1
  367. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.js +0 -201
  368. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.js.map +0 -1
  369. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +0 -84
  370. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js.map +0 -1
  371. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.js +0 -14
  372. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.js.map +0 -1
  373. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.js +0 -107
  374. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.js.map +0 -1
  375. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.js +0 -61
  376. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.js.map +0 -1
  377. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.js +0 -64
  378. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.js.map +0 -1
  379. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +0 -87
  380. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js.map +0 -1
  381. package/dist/profile.schema-CjLOfG7b.js +0 -92
  382. package/src/modules/auth/controllers/middlewares/visitor.logger.js +0 -75
  383. package/src/modules/auth/controllers/routes/twofa.routes.js +0 -8
  384. package/src/modules/auth/controllers/services/twofa.service.js +0 -30
  385. package/src/modules/auth/models/request.model.js +0 -14
  386. package/src/modules/auth/models/visitor.model.js +0 -11
  387. package/src/modules/auth/views/components/pages/EnterCode.vue +0 -204
  388. package/src/modules/auth/views/components/pages/EnterPassword.vue +0 -123
  389. package/src/modules/auth/views/components/sections/ProfileEditCredentials.vue +0 -329
  390. package/src/modules/auth/views/store/twofa.js +0 -70
  391. package/src/modules/auth//320/220/320/240/320/245/320/230/320/242/320/225/320/232/320/242/320/243/320/240/320/220.md +0 -445
@@ -1,6 +1,6 @@
1
1
  import { Types } from "mongoose";
2
2
  import apn from "apn";
3
- import { m as mailing } from "./mailing-DuEFRsa3.js";
3
+ import { m as mailing } from "./mailing-DT7nbNjZ.js";
4
4
  import admin from "firebase-admin";
5
5
  import path from "path";
6
6
  import webpush from "web-push";
@@ -760,7 +760,7 @@ const NotificationService = (function(db, wss) {
760
760
  sendToAnonymousDevices
761
761
  };
762
762
  });
763
- function initializeNotifications(app, db, wss, origins, publicPath) {
763
+ function initializeNotifications({ app, db, wss, origins, publicPath }) {
764
764
  db.notification = NotificationModel(db);
765
765
  db.userDevice = UserDeviceModel(db);
766
766
  db.notificationPreference = NotificationPreferenceModel(db);
@@ -1,18 +1,18 @@
1
- import "./mailing-DuEFRsa3.js";
1
+ import "./mailing-DT7nbNjZ.js";
2
2
  import { q as queryProcessorCore } from "./queryProcessor-C_5Iipam.js";
3
- import { m as modelsFactory, a as applyProfileSchema } from "./profile.schema-CjLOfG7b.js";
3
+ import { g as getVisitorsService } from "./visitors.service-B1dhhuSo.js";
4
4
  import { a as applyOwnershipSchema } from "./ownership.schema-fwwDf_e5.js";
5
5
  import { a as applyCredentialsSchema } from "./credentials.schema--2vvcu8c.js";
6
- import { C as CRUD } from "./crud-q1ye5IhV.js";
6
+ import { a as applyProfileSchema } from "./profile.schema-C31Lynn3.js";
7
+ import { C as CRUD } from "./crud-DpOXTZep.js";
7
8
  import { c as coreabac } from "./abac-BPl9Bmf9.js";
8
9
  import axios from "axios";
9
10
  import { V as Verifier, a as Validator } from "./core.verifier-gPPX_jhf.js";
10
- import { m as middlewareIndexFactory } from "./index-_Edcmck_.js";
11
+ import { m as middlewareIndexFactory } from "./index-kvBwwb0w.js";
11
12
  const controllerFactory = (db) => {
12
13
  const Order = db.order;
13
14
  const Customer = db.customer;
14
15
  const Department = db.department;
15
- const { findOrCreateVisitor } = modelsFactory(db);
16
16
  const getUsersWithOrdersConfirmAccess = async (organizationId) => {
17
17
  console.log("=== Getting users with orders.confirm access ===");
18
18
  console.log("Organization ID:", organizationId);
@@ -118,7 +118,8 @@ const controllerFactory = (db) => {
118
118
  customer = await Customer.findOne({ $or: [searchCriteria] });
119
119
  }
120
120
  if (!customer) {
121
- const visitor = await findOrCreateVisitor(req);
121
+ const visitorsService = getVisitorsService();
122
+ const visitor = await visitorsService.findOrCreateVisitor(req);
122
123
  let creatorType = customerInfo.creator?.type || orderCreator.type;
123
124
  let creatorTarget = customerInfo.creator?.target || orderCreator.target;
124
125
  if (!creatorTarget) {
@@ -1246,7 +1247,7 @@ function setupCustomersRoutes(app, db) {
1246
1247
  });
1247
1248
  return customersCRUD;
1248
1249
  }
1249
- function initializeOrders(app, db, origins, publicPath) {
1250
+ function initializeOrders({ app, db, origins, publicPath }) {
1250
1251
  db.order = ModelOrder(db);
1251
1252
  db.customer = ModelCustomer(db);
1252
1253
  db.testimonial = ModelTestimonial(db);
@@ -2,8 +2,8 @@ import { c as coreabac } from "./abac-BPl9Bmf9.js";
2
2
  import { a as applyCredentialsSchema } from "./credentials.schema--2vvcu8c.js";
3
3
  import { a as applyOwnershipSchema } from "./ownership.schema-fwwDf_e5.js";
4
4
  import { a as applyEngagementSchema } from "./engagement.schema-fh6W1fb_.js";
5
- import { m as middlewareIndexFactory } from "./index-_Edcmck_.js";
6
- import { m as mailing } from "./mailing-DuEFRsa3.js";
5
+ import { m as middlewareIndexFactory } from "./index-kvBwwb0w.js";
6
+ import { m as mailing } from "./mailing-DT7nbNjZ.js";
7
7
  import { uuid } from "uuidv4";
8
8
  import { q as queryProcessorCore } from "./queryProcessor-C_5Iipam.js";
9
9
  import { Types } from "mongoose";
@@ -1320,7 +1320,7 @@ const initOrganizationPolicies = (function initializeOrganizationPolicies(abacAc
1320
1320
  return abacAccessControl;
1321
1321
  });
1322
1322
  const { getInstance } = coreabac;
1323
- function initializeOrganization(app, db, origins, publicPath) {
1323
+ function initializeOrganization({ app, db, origins, publicPath }) {
1324
1324
  db.department = DepartmentModel(db);
1325
1325
  db.organization = OrganizationModel(db);
1326
1326
  db.membership = MembershipModel(db);
@@ -112,7 +112,7 @@ const ModelPage = (db) => {
112
112
  const Page = db.mongoose.model("Page", PageSchema);
113
113
  return Page;
114
114
  };
115
- function initializePages(app, db, origins, publicPath) {
115
+ function initializePages({ app, db, origins, publicPath }) {
116
116
  db.page = ModelPage(db);
117
117
  if (app) {
118
118
  RoutesPage(app, db);
@@ -6,9 +6,9 @@ import { a as applyCommonSchema } from "./common.schema-DswiUXKB.js";
6
6
  import { a as applyEngagementSchema } from "./engagement.schema-fh6W1fb_.js";
7
7
  import { a as applyMetadataSchema } from "./metadata.schema-CIRR_WQ-.js";
8
8
  import { a as applyOwnershipSchema } from "./ownership.schema-fwwDf_e5.js";
9
- import { m as middlewareFactory } from "./authJwt-J1csaMWA.js";
9
+ import { m as middlewareFactory } from "./authJwt-DKbMMjw0.js";
10
10
  import { a as Validator, V as Verifier } from "./core.verifier-gPPX_jhf.js";
11
- import { C as CRUD } from "./crud-q1ye5IhV.js";
11
+ import { C as CRUD } from "./crud-DpOXTZep.js";
12
12
  const controllerFactory$1 = (db) => {
13
13
  const Category = db.category;
14
14
  const logger = new LoggerNamespaced(db);
@@ -1513,7 +1513,7 @@ function setupVariantsRoutes(app, db) {
1513
1513
  });
1514
1514
  return variantsCRUD;
1515
1515
  }
1516
- function initializeProduct(app, db, origins, publicPath) {
1516
+ function initializeProduct({ app, db, origins, publicPath }) {
1517
1517
  db.product = ProductModel(db);
1518
1518
  db.variant = VariantModel(db);
1519
1519
  db.category = CategoryModel(db);
@@ -0,0 +1,21 @@
1
+ const applyProfileSchema = (function applyProfileSchema2(schema, db) {
2
+ schema.add({
3
+ profile: {
4
+ photo: {
5
+ type: String,
6
+ default: null
7
+ },
8
+ name: {
9
+ type: String,
10
+ default: null
11
+ },
12
+ description: {
13
+ type: String,
14
+ default: null
15
+ }
16
+ }
17
+ });
18
+ });
19
+ export {
20
+ applyProfileSchema as a
21
+ };
@@ -1,4 +1,4 @@
1
- import { m as middlewareIndexFactory } from "./index-_Edcmck_.js";
1
+ import { m as middlewareIndexFactory } from "./index-kvBwwb0w.js";
2
2
  import { L as LoggerNamespaced, c as coreabac } from "./abac-BPl9Bmf9.js";
3
3
  import { C as CacheNamespaced } from "./core.cache-DALYFDdy.js";
4
4
  import { V as Verifier, a as Validator } from "./core.verifier-gPPX_jhf.js";
@@ -482,7 +482,7 @@ const RentModel = (db, additionalFields = {}) => {
482
482
  });
483
483
  return db.mongoose.model("Rent", RentSchema);
484
484
  };
485
- function initializeRenting(app, db, origins, publicPath, options = {}) {
485
+ function initializeRenting({ app, db, origins, publicPath, options = {} }) {
486
486
  const { rentFields = {} } = options;
487
487
  db.rent = RentModel(db, rentFields);
488
488
  if (app) {
@@ -103,7 +103,7 @@ const reportsRoutes = (function(app, db, origins) {
103
103
  app.post("/reports", controller.update);
104
104
  app.post("/reports", controller.delete);
105
105
  });
106
- function initializeReports(app, db, origins, publicPath) {
106
+ function initializeReports({ app, db, origins, publicPath }) {
107
107
  db.report = ReportModel(db);
108
108
  if (app) {
109
109
  reportsRoutes(app, db);
@@ -0,0 +1,86 @@
1
+ const DEFAULT_SESSION_TTL = 864e3;
2
+ let instance = null;
3
+ function initSessionsService(db) {
4
+ const Session = db.session;
5
+ async function createSession({ userId, visitorId = null, req, expiresIn = DEFAULT_SESSION_TTL }) {
6
+ const session = await Session.create({
7
+ target: new db.mongoose.Types.ObjectId(userId),
8
+ visitor: visitorId ? new db.mongoose.Types.ObjectId(visitorId) : null,
9
+ ip: req.ip,
10
+ userAgent: req.headers["user-agent"],
11
+ expiresAt: new Date(Date.now() + expiresIn * 1e3)
12
+ });
13
+ return session;
14
+ }
15
+ async function validateSession({ sessionId, userId = null }) {
16
+ const query = {
17
+ _id: new db.mongoose.Types.ObjectId(sessionId),
18
+ isActive: true,
19
+ expiresAt: { $gt: /* @__PURE__ */ new Date() }
20
+ };
21
+ if (userId) {
22
+ query.target = new db.mongoose.Types.ObjectId(userId);
23
+ }
24
+ const session = await Session.findOne(query).lean();
25
+ return session;
26
+ }
27
+ async function deactivateSession(sessionId) {
28
+ const session = await Session.findByIdAndUpdate(
29
+ sessionId,
30
+ {
31
+ isActive: false,
32
+ revokedAt: /* @__PURE__ */ new Date()
33
+ },
34
+ { new: true }
35
+ );
36
+ return session;
37
+ }
38
+ async function deactivateAllUserSessions(userId, reason = null) {
39
+ const result = await Session.updateMany(
40
+ {
41
+ target: new db.mongoose.Types.ObjectId(userId),
42
+ isActive: true
43
+ },
44
+ {
45
+ isActive: false,
46
+ revokedAt: /* @__PURE__ */ new Date()
47
+ }
48
+ );
49
+ return result;
50
+ }
51
+ async function touchSession(sessionId) {
52
+ const session = await Session.findByIdAndUpdate(
53
+ sessionId,
54
+ { lastSeenAt: /* @__PURE__ */ new Date() },
55
+ { new: true }
56
+ );
57
+ return session;
58
+ }
59
+ async function getActiveSessions(userId) {
60
+ const sessions = await Session.find({
61
+ target: new db.mongoose.Types.ObjectId(userId),
62
+ isActive: true,
63
+ expiresAt: { $gt: /* @__PURE__ */ new Date() }
64
+ }).lean();
65
+ return sessions;
66
+ }
67
+ instance = {
68
+ createSession,
69
+ validateSession,
70
+ deactivateSession,
71
+ deactivateAllUserSessions,
72
+ touchSession,
73
+ getActiveSessions
74
+ };
75
+ return instance;
76
+ }
77
+ function getSessionsService() {
78
+ if (!instance) {
79
+ throw new Error("Sessions service not initialized. Call initSessionsService(db) first.");
80
+ }
81
+ return instance;
82
+ }
83
+ export {
84
+ getSessionsService as g,
85
+ initSessionsService as i
86
+ };
@@ -301,7 +301,7 @@ const RoutesSpot = (function(app, db) {
301
301
  app.post("/api/spots/:_id/update", controller.update);
302
302
  app.delete("/api/spots/:_id/delete", controller.delete);
303
303
  });
304
- function initializeSpots(app, db, origins, publicPath) {
304
+ function initializeSpots({ app, db, origins, publicPath }) {
305
305
  db.spot = ModelSpot(db);
306
306
  if (app) {
307
307
  RoutesSpot(app, db);
package/dist/style.css CHANGED
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";
2
- input[data-v-4a88f18b] { border: none; outline: none;
2
+ input[data-v-8c38488f] { border: none; outline: none;
3
3
  }
4
- input[data-v-4a88f18b]::placeholder { color: rgba(var(--dark), 0.4);
4
+ input[data-v-8c38488f]::placeholder { color: rgba(var(--dark), 0.4);
5
5
  }
6
6
 
7
7
  .help-card[data-v-cdb417ab] {
@@ -76,6 +76,14 @@ input[data-v-4a88f18b]::placeholder { color: rgba(var(--dark), 0.4);
76
76
  }
77
77
  .background-div {
78
78
  flex-grow: 1;
79
+ }.tab-selector {
80
+ position: absolute;
81
+ width: 50%;
82
+ height: 100%;
83
+ left: 0;
84
+ top: 0;
85
+ z-index: 0;
86
+ transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
79
87
  }
80
88
  input[data-v-ba38e654],
81
89
  textarea[data-v-ba38e654],
@@ -97,68 +105,6 @@ input[type="time"][data-v-ba38e654]::-webkit-calendar-picker-indicator {
97
105
  opacity: 1;
98
106
  color: inherit;
99
107
  }
100
- .tab-selector {
101
- position: absolute;
102
- width: 50%;
103
- height: 100%;
104
- left: 0;
105
- top: 0;
106
- z-index: 0;
107
- transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
108
- }
109
- .circular-loader-centered {
110
- top: calc(50% - 1rem);
111
- left: calc(50% - 1rem);
112
- }
113
- .circular-loader svg {
114
- animation: rotate 2s linear infinite;
115
- }
116
- .circular-loader-circle {
117
- stroke-dasharray: 1, 200;
118
- stroke-dashoffset: 0;
119
- stroke-linecap: round;
120
- stroke: rgb(var(--main));
121
- animation: dash 1.5s ease-in-out infinite;
122
- }
123
- .circular-loader-fill {
124
- stroke-linecap: round;
125
- stroke: rgba(var(--black),0.2);
126
- }
127
- .progress-text {
128
- position: absolute;
129
- top: 50%;
130
- left: 50%;
131
- transform: translate(-50%, -50%);
132
- font-size: 0.8rem;
133
- color: rgb(var(--main));
134
- }
135
- .status-text {
136
- position: absolute;
137
- top: 120%;
138
- left: calc(50% - 5rem);
139
- font-size: 0.8rem;
140
- width: 10rem !important;
141
- text-align: center;
142
- }
143
- @keyframes rotate {
144
- 100% {
145
- transform: rotate(360deg);
146
- }
147
- }
148
- @keyframes dash {
149
- 0% {
150
- stroke-dasharray: 1, 200;
151
- stroke-dashoffset: 0;
152
- }
153
- 50% {
154
- stroke-dasharray: 89, 200;
155
- stroke-dashoffset: -35;
156
- }
157
- 100% {
158
- stroke-dasharray: 1, 200;
159
- stroke-dashoffset: -124;
160
- }
161
- }
162
108
  button[disabled] {
163
109
  opacity: 0.75 !important;
164
110
  pointer-events: none !important;
@@ -215,7 +161,13 @@ a.button {
215
161
  align-items: center;
216
162
  justify-content: center;
217
163
  gap: 8px;
218
- transition: opacity 0.3s ease;
164
+ transform: translateY(0);
165
+ opacity: 1;
166
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
167
+ }
168
+ .button-content.hidden {
169
+ opacity: 0;
170
+ transform: translateY(4px);
219
171
  }
220
172
  .button-loader {
221
173
  position: absolute;
@@ -223,10 +175,40 @@ a.button {
223
175
  display: flex;
224
176
  align-items: center;
225
177
  justify-content: center;
178
+ gap: 4px;
226
179
  opacity: 0;
227
- transition: opacity 0.3s ease;
180
+ transform: translateY(4px);
181
+ transition: opacity 0.25s cubic-bezier(0, 0, 0.2, 1) 0.05s, transform 0.25s cubic-bezier(0, 0, 0.2, 1) 0.05s;
228
182
  pointer-events: none;
229
183
  }
184
+ .button-loader.active {
185
+ opacity: 1;
186
+ transform: translateY(0);
187
+ }
188
+ .button-loader .dot {
189
+ width: 6px;
190
+ height: 6px;
191
+ border-radius: 50%;
192
+ background: currentColor;
193
+ animation: dot-bounce 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
194
+ }
195
+ .button-loader .dot:nth-child(1) {
196
+ animation-delay: 0s;
197
+ }
198
+ .button-loader .dot:nth-child(2) {
199
+ animation-delay: 0.12s;
200
+ }
201
+ .button-loader .dot:nth-child(3) {
202
+ animation-delay: 0.24s;
203
+ }
204
+ @keyframes dot-bounce {
205
+ 0%, 100% {
206
+ transform: translateY(0);
207
+ }
208
+ 50% {
209
+ transform: translateY(-5px);
210
+ }
211
+ }
230
212
  .button-success {
231
213
  position: absolute;
232
214
  inset: 0;
@@ -234,9 +216,14 @@ a.button {
234
216
  align-items: center;
235
217
  justify-content: center;
236
218
  opacity: 0;
237
- transition: opacity 0.3s ease;
219
+ transform: translateY(4px);
220
+ transition: opacity 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1);
238
221
  pointer-events: none;
239
222
  }
223
+ .button-success.active {
224
+ opacity: 1;
225
+ transform: translateY(0);
226
+ }
240
227
  .button-error {
241
228
  position: absolute;
242
229
  inset: 0;
@@ -244,27 +231,13 @@ a.button {
244
231
  align-items: center;
245
232
  justify-content: center;
246
233
  opacity: 0;
247
- transition: opacity 0.3s ease;
234
+ transform: translateY(4px);
235
+ transition: opacity 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1);
248
236
  pointer-events: none;
249
237
  }
250
- .active {
238
+ .button-error.active {
251
239
  opacity: 1;
252
- }
253
- .hidden {
254
- opacity: 0;
255
- }.slide-fade-enter-active {
256
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
257
- }
258
- .slide-fade-leave-active {
259
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
260
- }
261
- .slide-fade-enter-from,
262
- .slide-fade-leave-to {
263
- position: absolute;
264
- transform: translateX(20px);
265
- opacity: 0;
266
- left: 0;
267
- top: 0;
240
+ transform: translateY(0);
268
241
  }.slide-fade-enter-active {
269
242
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
270
243
  }
@@ -396,7 +369,117 @@ ul li[data-v-af5048fc] {
396
369
  }
397
370
  .field-wrapper[data-v-af5048fc]:focus {
398
371
  outline: none;
399
- }.vue3-reactive-tel-input {
372
+ }.tooltip-container {
373
+ position: relative;
374
+ display: inline-block;
375
+ }
376
+ .tooltip-content {
377
+ position: absolute;
378
+ width: max-content;
379
+ z-index: 1000;
380
+ background: #333;
381
+ color: #fff;
382
+ padding: 5px;
383
+ border-radius: 3px;
384
+ font-size: 14px;
385
+ pointer-events: none;
386
+ }
387
+ .tooltip-enter-active,
388
+ .tooltip-leave-active {
389
+ transition: opacity 0.2s ease;
390
+ }
391
+ .tooltip-enter-from,
392
+ .tooltip-leave-to {
393
+ opacity: 0;
394
+ }.online-indicator {
395
+ position: relative;
396
+ border-radius: 50%;
397
+ background: rgb(var(--grey));
398
+ border: 3px solid rgb(var(--light));
399
+ flex-shrink: 0;
400
+ }
401
+ .online-indicator.is-online {
402
+ background: rgb(var(--green));
403
+ }
404
+ .online-indicator.is-online::before, .online-indicator.is-online::after {
405
+ content: "";
406
+ position: absolute;
407
+ top: 50%;
408
+ left: 50%;
409
+ width: 100%;
410
+ height: 100%;
411
+ background: inherit;
412
+ border-radius: 50%;
413
+ transform: translate(-50%, -50%);
414
+ animation: indicator-pulse 2s infinite ease-out;
415
+ }
416
+ .online-indicator.is-online::after {
417
+ animation-delay: 1s;
418
+ }
419
+ @keyframes indicator-pulse {
420
+ 0% {
421
+ transform: translate(-50%, -50%) scale(1);
422
+ opacity: 0.5;
423
+ }
424
+ 100% {
425
+ transform: translate(-50%, -50%) scale(1.8);
426
+ opacity: 0;
427
+ }
428
+ }
429
+ .circular-loader-centered {
430
+ top: calc(50% - 1rem);
431
+ left: calc(50% - 1rem);
432
+ }
433
+ .circular-loader svg {
434
+ animation: rotate 2s linear infinite;
435
+ }
436
+ .circular-loader-circle {
437
+ stroke-dasharray: 1, 200;
438
+ stroke-dashoffset: 0;
439
+ stroke-linecap: round;
440
+ stroke: rgb(var(--main));
441
+ animation: dash 1.5s ease-in-out infinite;
442
+ }
443
+ .circular-loader-fill {
444
+ stroke-linecap: round;
445
+ stroke: rgba(var(--black),0.2);
446
+ }
447
+ .progress-text {
448
+ position: absolute;
449
+ top: 50%;
450
+ left: 50%;
451
+ transform: translate(-50%, -50%);
452
+ font-size: 0.8rem;
453
+ color: rgb(var(--main));
454
+ }
455
+ .status-text {
456
+ position: absolute;
457
+ top: 120%;
458
+ left: calc(50% - 5rem);
459
+ font-size: 0.8rem;
460
+ width: 10rem !important;
461
+ text-align: center;
462
+ }
463
+ @keyframes rotate {
464
+ 100% {
465
+ transform: rotate(360deg);
466
+ }
467
+ }
468
+ @keyframes dash {
469
+ 0% {
470
+ stroke-dasharray: 1, 200;
471
+ stroke-dashoffset: 0;
472
+ }
473
+ 50% {
474
+ stroke-dasharray: 89, 200;
475
+ stroke-dashoffset: -35;
476
+ }
477
+ 100% {
478
+ stroke-dasharray: 1, 200;
479
+ stroke-dashoffset: -124;
480
+ }
481
+ }
482
+ .vue3-reactive-tel-input {
400
483
  display: flex;
401
484
  }
402
485
  .vue3-reactive-tel-input.disabled .dropdown,
@@ -463,9 +546,7 @@ ul li[data-v-af5048fc] {
463
546
  font-size: inherit;
464
547
  color: inherit;
465
548
  text-align: center;
466
- }.slide-fade-enter-active {
467
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
468
- }
549
+ }.slide-fade-enter-active,
469
550
  .slide-fade-leave-active {
470
551
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
471
552
  }
@@ -479,9 +560,7 @@ ul li[data-v-af5048fc] {
479
560
  }.input-error {
480
561
  border: 1px solid red;
481
562
  box-shadow: 0 0 3px 0 red;
482
- }.slide-fade-enter-active {
483
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
484
- }
563
+ }.slide-fade-enter-active,
485
564
  .slide-fade-leave-active {
486
565
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
487
566
  }
@@ -864,14 +943,6 @@ button[data-v-7c705e8c]:disabled {
864
943
  font-size: 0;
865
944
  }
866
945
 
867
- .tooltip-container {
868
- position: relative;
869
- display: inline-block;
870
- }
871
- .tooltip-content {
872
- pointer-events: none;
873
- }
874
-
875
946
  .comment-children[data-v-d265fc89] {
876
947
  margin-top: 1rem;
877
948
  }
@@ -1296,10 +1367,12 @@ to {
1296
1367
  .shop-cart-active .shopcart-footer {
1297
1368
  right: 0;
1298
1369
  }
1299
- }.fade-enter-active, .fade-leave-active {
1370
+ }.fade-enter-active,
1371
+ .fade-leave-active {
1300
1372
  transition: opacity 0.5s;
1301
1373
  }
1302
- .fade-enter, .fade-leave-to {
1374
+ .fade-enter,
1375
+ .fade-leave-to {
1303
1376
  opacity: 0;
1304
1377
  }
1305
1378
  .fade-move,
@@ -1316,7 +1389,7 @@ to {
1316
1389
  }
1317
1390
 
1318
1391
  /* 3. ensure leaving items are taken out of layout flow so that moving
1319
- animations can be calculated correctly. */
1392
+ animations can be calculated correctly. */
1320
1393
  .fade-leave-active {
1321
1394
  position: absolute;
1322
1395
  }
@@ -1417,7 +1490,8 @@ to {
1417
1490
  .scaleIn-leave-active {
1418
1491
  transition: all 0.5s ease;
1419
1492
  }
1420
- .scaleIn-enter-active > section, .scaleIn-enter-active div,
1493
+ .scaleIn-enter-active > section,
1494
+ .scaleIn-enter-active div,
1421
1495
  .scaleIn-leave-active > section,
1422
1496
  .scaleIn-leave-active div {
1423
1497
  transform-origin: 0 0;
@@ -1429,7 +1503,8 @@ to {
1429
1503
  opacity: 0;
1430
1504
  transform: scale(0.95);
1431
1505
  }
1432
- .scaleIn-enter-from > section, .scaleIn-enter-from div,
1506
+ .scaleIn-enter-from > section,
1507
+ .scaleIn-enter-from div,
1433
1508
  .scaleIn-leave-to > section,
1434
1509
  .scaleIn-leave-to div {
1435
1510
  transform: translateZ(-30px);
@@ -3337,11 +3412,6 @@ input[data-v-120f776b]:focus {
3337
3412
  outline: none;
3338
3413
  }
3339
3414
 
3340
- .address[data-v-3daeada0] {
3341
- text-wrap: nowrap;
3342
- display: block;
3343
- }
3344
-
3345
3415
  .barcode-scanner-modal {
3346
3416
  visibility: visible;
3347
3417
  position: fixed;
@@ -1,4 +1,4 @@
1
- import { m as mailing } from "./mailing-DuEFRsa3.js";
1
+ import { m as mailing } from "./mailing-DT7nbNjZ.js";
2
2
  import path from "path";
3
3
  import puppeteer from "puppeteer";
4
4
  import * as QRCode from "qrcode";