@ozdao/martyrs 0.2.483 → 0.2.485

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 (300) hide show
  1. package/dist/{Media-DjnpKS62.cjs → Media-ByPHBvAU.cjs} +1 -1
  2. package/dist/{Media-C57G7rnE.js → Media-DlUBwVWs.js} +1 -1
  3. package/dist/main-137vO86w.cjs +11 -0
  4. package/dist/{main-CXQqAVVb.js → main-CK6rC5Sz.js} +2944 -2599
  5. package/dist/martyrs/src/components/Button/{Button.vue.cjs → Button.vue2.cjs} +2 -2
  6. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -0
  7. package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
  8. package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
  9. package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
  10. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
  11. package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
  12. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
  13. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +31 -11
  14. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  15. package/dist/martyrs/src/components/Feed/Feed.vue.js +48 -28
  16. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  17. package/dist/martyrs/src/components/Field/Field.vue.cjs +13 -7
  18. package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
  19. package/dist/martyrs/src/components/Field/Field.vue.js +14 -8
  20. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  21. package/dist/martyrs/src/components/Popup/{Popup.vue.cjs → Popup.vue2.cjs} +2 -2
  22. package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +1 -0
  23. package/dist/martyrs/src/components/Popup/{Popup.vue.js → Popup.vue2.js} +2 -2
  24. package/dist/martyrs/src/components/Popup/{Popup.vue.cjs.map → Popup.vue2.js.map} +1 -1
  25. package/dist/martyrs/src/components/Slider/Slider.vue.cjs +21 -24
  26. package/dist/martyrs/src/components/Slider/Slider.vue.cjs.map +1 -1
  27. package/dist/martyrs/src/components/Slider/Slider.vue.js +21 -24
  28. package/dist/martyrs/src/components/Slider/Slider.vue.js.map +1 -1
  29. package/dist/martyrs/src/modules/auth/auth.client.cjs +3 -0
  30. package/dist/martyrs/src/modules/auth/auth.client.cjs.map +1 -1
  31. package/dist/martyrs/src/modules/auth/auth.client.js +3 -0
  32. package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
  33. package/dist/martyrs/src/modules/auth/locales/en.cjs +79 -0
  34. package/dist/martyrs/src/modules/auth/locales/en.cjs.map +1 -0
  35. package/dist/martyrs/src/modules/auth/locales/en.js +79 -0
  36. package/dist/martyrs/src/modules/auth/locales/en.js.map +1 -0
  37. package/dist/martyrs/src/modules/auth/locales/index.cjs +10 -0
  38. package/dist/martyrs/src/modules/auth/locales/index.cjs.map +1 -0
  39. package/dist/martyrs/src/modules/auth/locales/index.js +10 -0
  40. package/dist/martyrs/src/modules/auth/locales/index.js.map +1 -0
  41. package/dist/martyrs/src/modules/auth/locales/ru.cjs +79 -0
  42. package/dist/martyrs/src/modules/auth/locales/ru.cjs.map +1 -0
  43. package/dist/martyrs/src/modules/auth/locales/ru.js +79 -0
  44. package/dist/martyrs/src/modules/auth/locales/ru.js.map +1 -0
  45. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -10
  46. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +3 -12
  48. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  49. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs +4 -6
  50. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs.map +1 -1
  51. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js +4 -6
  52. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js.map +1 -1
  53. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +7 -9
  54. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
  55. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +7 -9
  56. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
  57. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  58. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  59. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -1
  60. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  61. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +1 -1
  62. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  63. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +1 -1
  64. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  65. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
  66. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  67. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +11 -13
  68. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs.map +1 -1
  69. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +11 -13
  70. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
  71. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +12 -14
  72. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
  73. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +12 -14
  74. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  75. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +11 -13
  76. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs.map +1 -1
  77. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +11 -13
  78. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
  79. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  81. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +21 -58
  82. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  83. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +21 -58
  84. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  85. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  87. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
  88. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
  89. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  90. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  91. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  92. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  93. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  94. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  95. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  96. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  97. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  98. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  99. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  100. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  101. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -1
  102. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  103. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
  104. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
  105. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  106. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  107. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  108. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  109. package/dist/martyrs/src/modules/globals/globals.client.cjs +1 -0
  110. package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
  111. package/dist/martyrs/src/modules/globals/globals.client.js +1 -0
  112. package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
  113. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.cjs +1 -1
  114. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.js +1 -1
  115. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  116. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  117. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +2 -2
  118. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +2 -2
  119. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +2 -2
  120. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +2 -2
  121. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  122. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  123. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  124. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  125. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  127. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +183 -0
  128. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs.map +1 -0
  129. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +183 -0
  130. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js.map +1 -0
  131. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.cjs +67 -0
  132. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.cjs.map +1 -0
  133. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.js +67 -0
  134. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterOptions.vue.js.map +1 -0
  135. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.cjs +91 -0
  136. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.cjs.map +1 -0
  137. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.js +91 -0
  138. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterPrice.vue.js.map +1 -0
  139. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.cjs +64 -0
  140. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.cjs.map +1 -0
  141. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.js +64 -0
  142. package/dist/martyrs/src/modules/globals/views/components/sections/filters/FilterRange.vue2.js.map +1 -0
  143. package/dist/martyrs/src/modules/icons/actions/IconShow.vue.cjs +49 -0
  144. package/dist/martyrs/src/modules/icons/actions/IconShow.vue.cjs.map +1 -0
  145. package/dist/martyrs/src/modules/icons/actions/IconShow.vue.js +49 -0
  146. package/dist/martyrs/src/modules/icons/actions/IconShow.vue.js.map +1 -0
  147. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs +34 -0
  148. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs.map +1 -0
  149. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js +34 -0
  150. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js.map +1 -0
  151. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +115 -122
  152. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
  153. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +163 -170
  154. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
  155. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +1 -1
  156. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +1 -1
  157. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  158. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  159. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  160. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  161. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  162. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  163. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  164. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  165. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +3 -0
  166. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
  167. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -0
  168. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
  169. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  170. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  171. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  172. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  173. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  174. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  175. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  176. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  177. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  178. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  179. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
  180. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
  181. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  182. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  183. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  184. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  185. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  186. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  187. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  188. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  189. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  190. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  191. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  192. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  193. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +1 -1
  194. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
  195. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +1 -1
  196. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +1 -1
  197. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  198. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  199. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +4 -1
  200. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  201. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +4 -1
  202. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  203. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +2 -2
  204. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +2 -2
  205. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  206. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  207. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +2 -2
  208. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
  209. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  210. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  211. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +2 -2
  212. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +2 -2
  213. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +2 -2
  214. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  215. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +1 -1
  216. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +1 -1
  217. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +1 -1
  218. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +1 -1
  219. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
  220. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  221. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
  222. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  223. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +1 -1
  224. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  225. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  226. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  227. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +1 -1
  228. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  229. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  230. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  231. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  232. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  233. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  234. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  235. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  236. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  237. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
  238. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
  239. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
  240. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  241. package/dist/martyrs.cjs.js +1 -1
  242. package/dist/martyrs.css +1 -1
  243. package/dist/martyrs.es.js +1 -1
  244. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +1 -1
  245. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  246. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +1 -1
  247. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  248. package/dist/style.css +138 -75
  249. package/package.json +1 -1
  250. package/src/components/Feed/Feed.vue +23 -0
  251. package/src/components/Field/Field.vue +42 -27
  252. package/src/components/Slider/Slider.vue +15 -17
  253. package/src/modules/auth/auth.client.js +7 -0
  254. package/src/modules/auth/locales/en.js +76 -0
  255. package/src/modules/auth/locales/index.js +7 -0
  256. package/src/modules/auth/locales/ru.js +76 -0
  257. package/src/modules/auth/views/components/layouts/Auth.vue +3 -45
  258. package/src/modules/auth/views/components/pages/EnterCode.vue +5 -7
  259. package/src/modules/auth/views/components/pages/EnterPassword.vue +7 -10
  260. package/src/modules/auth/views/components/pages/ResetPassword.vue +9 -12
  261. package/src/modules/auth/views/components/pages/SignIn.vue +12 -15
  262. package/src/modules/auth/views/components/pages/SignUp.vue +9 -12
  263. package/src/modules/auth/views/components/sections/SliderFeatures.vue +28 -53
  264. package/src/modules/globals/globals.client.js +1 -0
  265. package/src/modules/globals/views/components/sections/Filters.vue +198 -0
  266. package/src/modules/globals/views/components/sections/filters/FilterOptions.vue +65 -0
  267. package/src/modules/globals/views/components/sections/filters/FilterPrice.vue +81 -0
  268. package/src/modules/globals/views/components/sections/filters/FilterRange.vue +74 -0
  269. package/src/modules/icons/actions/IconShow.vue +23 -0
  270. package/src/modules/icons/pages/IconsPage.vue +114 -120
  271. package/dist/main-De5X_RUk.cjs +0 -11
  272. package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
  273. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
  274. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
  275. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +0 -1
  276. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.cjs +0 -9
  277. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.cjs.map +0 -1
  278. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.js +0 -9
  279. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.js.map +0 -1
  280. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.cjs +0 -9
  281. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.cjs.map +0 -1
  282. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.js +0 -9
  283. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.js.map +0 -1
  284. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.cjs +0 -9
  285. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.cjs.map +0 -1
  286. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.js +0 -9
  287. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.js.map +0 -1
  288. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.cjs +0 -9
  289. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.cjs.map +0 -1
  290. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.js +0 -9
  291. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.js.map +0 -1
  292. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.cjs +0 -9
  293. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.cjs.map +0 -1
  294. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.js +0 -9
  295. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.js.map +0 -1
  296. package/src/modules/auth/views/localization/EnterCode.json +0 -16
  297. package/src/modules/auth/views/localization/EnterPassword.json +0 -22
  298. package/src/modules/auth/views/localization/ResetPassword.json +0 -26
  299. package/src/modules/auth/views/localization/SignIn.json +0 -34
  300. package/src/modules/auth/views/localization/SignUp.json +0 -28
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const en = {
4
+ auth: {
5
+ signIn: {
6
+ title: "Welcome to OZ DAO,",
7
+ subtitle: "Sign In to Continue",
8
+ signup: "Don't have an account?",
9
+ phone: "Phone",
10
+ email: "Email",
11
+ phonePlaceholder: "Enter your phone",
12
+ emailPlaceholder: "Enter your email",
13
+ haveAccount: "Don't have an account? Sign Up",
14
+ passwordPlaceholder: "Enter your password",
15
+ forgotPassword: "Forgot Password?",
16
+ signin: "Sign In",
17
+ signin_apple: "Sign In with Apple",
18
+ soon: "SOON"
19
+ },
20
+ signUp: {
21
+ title: "Sign Up",
22
+ description: "Choose a convenient way to register via phone or email:",
23
+ phone: "Phone",
24
+ email: "Email",
25
+ phonePlaceholder: "Enter your phone",
26
+ emailPlaceholder: "Enter your email",
27
+ emailNotice: "We will send you an email with a confirmation code that you will need to enter in the next step.",
28
+ smsNotice: "We will send you an SMS with a confirmation code that you will need to enter in the next step.",
29
+ sendCode: "Send Code",
30
+ haveAccount: "Already have an account?"
31
+ },
32
+ enterCode: {
33
+ verifyNumberTitle: "Verify Number",
34
+ instructions: "We have sent a registration code to your phone number. Please enter it in the field below:",
35
+ resendCode: "Send the code again",
36
+ secondsResend: "seconds to the possibility of sending the code again."
37
+ },
38
+ resetPassword: {
39
+ forgotPasswordTitle: "Forgot Password?",
40
+ instructions: "To reset your password, specify the phone or email used during registration.",
41
+ smsInfo: "We will send you an SMS with a confirmation code to reset your password, which you will need to enter in the next step.",
42
+ emailInfo: "We will send you an email with a confirmation code to reset your password, which you will need to enter in the next step.",
43
+ phone: "Phone",
44
+ email: "Email",
45
+ phonePlaceholder: "Enter your phone",
46
+ emailPlaceholder: "Enter your email",
47
+ sendCode: "Send code"
48
+ },
49
+ enterPassword: {
50
+ almostDone: "Almost there!",
51
+ newPasswordPrompt: "Please, set a new password.",
52
+ registrationPasswordPrompt: "Please, set your password to complete the registration.",
53
+ passwordPlaceholder: "Password",
54
+ repeatPasswordPlaceholder: "Repeat Password",
55
+ changePasswordBtn: "Change Password",
56
+ registerBtn: "Register"
57
+ },
58
+ features: [
59
+ {
60
+ title: "What's the Weeder Token, Dude?",
61
+ description: "WDT is like, the backbone of our rad community. It's cash, it's power, it's an investment. Groovy, right?"
62
+ },
63
+ {
64
+ title: "Light Up and Level Up",
65
+ description: "Order up, light up, and earn Weeder tokens. More tokes, more cash in your pocket, man."
66
+ },
67
+ {
68
+ title: "Hang Ten with Our Community",
69
+ description: "Find the dopest strains and start floating on cloud 9 with us!"
70
+ },
71
+ {
72
+ title: "Shop 'Til You Drop... Into Your Couch",
73
+ description: "Score primo bud and gear with just a few clicks. Delivered right to your pad!"
74
+ }
75
+ ]
76
+ }
77
+ };
78
+ exports.default = en;
79
+ //# sourceMappingURL=en.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.cjs","sources":["../../../../../../src/modules/auth/locales/en.js"],"sourcesContent":["// @martyrs/src/modules/auth/locales/en.js\nexport default {\n auth: {\n signIn: {\n title: \"Welcome to OZ DAO,\",\n subtitle: \"Sign In to Continue\",\n signup: \"Don't have an account?\",\n phone: \"Phone\",\n email: \"Email\",\n phonePlaceholder: \"Enter your phone\",\n emailPlaceholder: \"Enter your email\",\n haveAccount: \"Don't have an account? Sign Up\",\n passwordPlaceholder: \"Enter your password\",\n forgotPassword: \"Forgot Password?\",\n signin: \"Sign In\",\n signin_apple: \"Sign In with Apple\",\n soon: \"SOON\"\n },\n signUp: {\n title: \"Sign Up\",\n description: \"Choose a convenient way to register via phone or email:\",\n phone: \"Phone\",\n email: \"Email\",\n phonePlaceholder: \"Enter your phone\",\n emailPlaceholder: \"Enter your email\",\n emailNotice: \"We will send you an email with a confirmation code that you will need to enter in the next step.\",\n smsNotice: \"We will send you an SMS with a confirmation code that you will need to enter in the next step.\",\n sendCode: \"Send Code\",\n haveAccount: \"Already have an account?\"\n },\n enterCode: {\n verifyNumberTitle: \"Verify Number\",\n instructions: \"We have sent a registration code to your phone number. Please enter it in the field below:\",\n resendCode: \"Send the code again\",\n secondsResend: \"seconds to the possibility of sending the code again.\"\n },\n resetPassword: {\n forgotPasswordTitle: \"Forgot Password?\",\n instructions: \"To reset your password, specify the phone or email used during registration.\",\n smsInfo: \"We will send you an SMS with a confirmation code to reset your password, which you will need to enter in the next step.\",\n emailInfo: \"We will send you an email with a confirmation code to reset your password, which you will need to enter in the next step.\",\n phone: \"Phone\",\n email: \"Email\",\n phonePlaceholder: \"Enter your phone\",\n emailPlaceholder: \"Enter your email\",\n sendCode: \"Send code\"\n },\n enterPassword: {\n almostDone: \"Almost there!\",\n newPasswordPrompt: \"Please, set a new password.\",\n registrationPasswordPrompt: \"Please, set your password to complete the registration.\",\n passwordPlaceholder: \"Password\",\n repeatPasswordPlaceholder: \"Repeat Password\",\n changePasswordBtn: \"Change Password\",\n registerBtn: \"Register\"\n },\n features: [\n {\n title: \"What's the Weeder Token, Dude?\",\n description: \"WDT is like, the backbone of our rad community. It's cash, it's power, it's an investment. Groovy, right?\"\n },\n {\n title: \"Light Up and Level Up\",\n description: \"Order up, light up, and earn Weeder tokens. More tokes, more cash in your pocket, man.\"\n },\n {\n title: \"Hang Ten with Our Community\",\n description: \"Find the dopest strains and start floating on cloud 9 with us!\"\n },\n {\n title: \"Shop 'Til You Drop... Into Your Couch\",\n description: \"Score primo bud and gear with just a few clicks. Delivered right to your pad!\"\n }\n ]\n }\n};"],"names":[],"mappings":";;AACA,MAAe,KAAA;AAAA,EACb,MAAM;AAAA,IACJ,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,qBAAqB;AAAA,MACrB,gBAAgB;AAAA,MAChB,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,MAAM;AAAA,IACP;AAAA,IACD,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,WAAW;AAAA,MACX,UAAU;AAAA,MACV,aAAa;AAAA,IACd;AAAA,IACD,WAAW;AAAA,MACT,mBAAmB;AAAA,MACnB,cAAc;AAAA,MACd,YAAY;AAAA,MACZ,eAAe;AAAA,IAChB;AAAA,IACD,eAAe;AAAA,MACb,qBAAqB;AAAA,MACrB,cAAc;AAAA,MACd,SAAS;AAAA,MACT,WAAW;AAAA,MACX,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,UAAU;AAAA,IACX;AAAA,IACD,eAAe;AAAA,MACb,YAAY;AAAA,MACZ,mBAAmB;AAAA,MACnB,4BAA4B;AAAA,MAC5B,qBAAqB;AAAA,MACrB,2BAA2B;AAAA,MAC3B,mBAAmB;AAAA,MACnB,aAAa;AAAA,IACd;AAAA,IACD,UAAU;AAAA,MACR;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACrB;AAAA,IACA;AAAA,EACA;AACA;;"}
@@ -0,0 +1,79 @@
1
+ const en = {
2
+ auth: {
3
+ signIn: {
4
+ title: "Welcome to OZ DAO,",
5
+ subtitle: "Sign In to Continue",
6
+ signup: "Don't have an account?",
7
+ phone: "Phone",
8
+ email: "Email",
9
+ phonePlaceholder: "Enter your phone",
10
+ emailPlaceholder: "Enter your email",
11
+ haveAccount: "Don't have an account? Sign Up",
12
+ passwordPlaceholder: "Enter your password",
13
+ forgotPassword: "Forgot Password?",
14
+ signin: "Sign In",
15
+ signin_apple: "Sign In with Apple",
16
+ soon: "SOON"
17
+ },
18
+ signUp: {
19
+ title: "Sign Up",
20
+ description: "Choose a convenient way to register via phone or email:",
21
+ phone: "Phone",
22
+ email: "Email",
23
+ phonePlaceholder: "Enter your phone",
24
+ emailPlaceholder: "Enter your email",
25
+ emailNotice: "We will send you an email with a confirmation code that you will need to enter in the next step.",
26
+ smsNotice: "We will send you an SMS with a confirmation code that you will need to enter in the next step.",
27
+ sendCode: "Send Code",
28
+ haveAccount: "Already have an account?"
29
+ },
30
+ enterCode: {
31
+ verifyNumberTitle: "Verify Number",
32
+ instructions: "We have sent a registration code to your phone number. Please enter it in the field below:",
33
+ resendCode: "Send the code again",
34
+ secondsResend: "seconds to the possibility of sending the code again."
35
+ },
36
+ resetPassword: {
37
+ forgotPasswordTitle: "Forgot Password?",
38
+ instructions: "To reset your password, specify the phone or email used during registration.",
39
+ smsInfo: "We will send you an SMS with a confirmation code to reset your password, which you will need to enter in the next step.",
40
+ emailInfo: "We will send you an email with a confirmation code to reset your password, which you will need to enter in the next step.",
41
+ phone: "Phone",
42
+ email: "Email",
43
+ phonePlaceholder: "Enter your phone",
44
+ emailPlaceholder: "Enter your email",
45
+ sendCode: "Send code"
46
+ },
47
+ enterPassword: {
48
+ almostDone: "Almost there!",
49
+ newPasswordPrompt: "Please, set a new password.",
50
+ registrationPasswordPrompt: "Please, set your password to complete the registration.",
51
+ passwordPlaceholder: "Password",
52
+ repeatPasswordPlaceholder: "Repeat Password",
53
+ changePasswordBtn: "Change Password",
54
+ registerBtn: "Register"
55
+ },
56
+ features: [
57
+ {
58
+ title: "What's the Weeder Token, Dude?",
59
+ description: "WDT is like, the backbone of our rad community. It's cash, it's power, it's an investment. Groovy, right?"
60
+ },
61
+ {
62
+ title: "Light Up and Level Up",
63
+ description: "Order up, light up, and earn Weeder tokens. More tokes, more cash in your pocket, man."
64
+ },
65
+ {
66
+ title: "Hang Ten with Our Community",
67
+ description: "Find the dopest strains and start floating on cloud 9 with us!"
68
+ },
69
+ {
70
+ title: "Shop 'Til You Drop... Into Your Couch",
71
+ description: "Score primo bud and gear with just a few clicks. Delivered right to your pad!"
72
+ }
73
+ ]
74
+ }
75
+ };
76
+ export {
77
+ en as default
78
+ };
79
+ //# sourceMappingURL=en.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.js","sources":["../../../../../../src/modules/auth/locales/en.js"],"sourcesContent":["// @martyrs/src/modules/auth/locales/en.js\nexport default {\n auth: {\n signIn: {\n title: \"Welcome to OZ DAO,\",\n subtitle: \"Sign In to Continue\",\n signup: \"Don't have an account?\",\n phone: \"Phone\",\n email: \"Email\",\n phonePlaceholder: \"Enter your phone\",\n emailPlaceholder: \"Enter your email\",\n haveAccount: \"Don't have an account? Sign Up\",\n passwordPlaceholder: \"Enter your password\",\n forgotPassword: \"Forgot Password?\",\n signin: \"Sign In\",\n signin_apple: \"Sign In with Apple\",\n soon: \"SOON\"\n },\n signUp: {\n title: \"Sign Up\",\n description: \"Choose a convenient way to register via phone or email:\",\n phone: \"Phone\",\n email: \"Email\",\n phonePlaceholder: \"Enter your phone\",\n emailPlaceholder: \"Enter your email\",\n emailNotice: \"We will send you an email with a confirmation code that you will need to enter in the next step.\",\n smsNotice: \"We will send you an SMS with a confirmation code that you will need to enter in the next step.\",\n sendCode: \"Send Code\",\n haveAccount: \"Already have an account?\"\n },\n enterCode: {\n verifyNumberTitle: \"Verify Number\",\n instructions: \"We have sent a registration code to your phone number. Please enter it in the field below:\",\n resendCode: \"Send the code again\",\n secondsResend: \"seconds to the possibility of sending the code again.\"\n },\n resetPassword: {\n forgotPasswordTitle: \"Forgot Password?\",\n instructions: \"To reset your password, specify the phone or email used during registration.\",\n smsInfo: \"We will send you an SMS with a confirmation code to reset your password, which you will need to enter in the next step.\",\n emailInfo: \"We will send you an email with a confirmation code to reset your password, which you will need to enter in the next step.\",\n phone: \"Phone\",\n email: \"Email\",\n phonePlaceholder: \"Enter your phone\",\n emailPlaceholder: \"Enter your email\",\n sendCode: \"Send code\"\n },\n enterPassword: {\n almostDone: \"Almost there!\",\n newPasswordPrompt: \"Please, set a new password.\",\n registrationPasswordPrompt: \"Please, set your password to complete the registration.\",\n passwordPlaceholder: \"Password\",\n repeatPasswordPlaceholder: \"Repeat Password\",\n changePasswordBtn: \"Change Password\",\n registerBtn: \"Register\"\n },\n features: [\n {\n title: \"What's the Weeder Token, Dude?\",\n description: \"WDT is like, the backbone of our rad community. It's cash, it's power, it's an investment. Groovy, right?\"\n },\n {\n title: \"Light Up and Level Up\",\n description: \"Order up, light up, and earn Weeder tokens. More tokes, more cash in your pocket, man.\"\n },\n {\n title: \"Hang Ten with Our Community\",\n description: \"Find the dopest strains and start floating on cloud 9 with us!\"\n },\n {\n title: \"Shop 'Til You Drop... Into Your Couch\",\n description: \"Score primo bud and gear with just a few clicks. Delivered right to your pad!\"\n }\n ]\n }\n};"],"names":[],"mappings":"AACA,MAAe,KAAA;AAAA,EACb,MAAM;AAAA,IACJ,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,qBAAqB;AAAA,MACrB,gBAAgB;AAAA,MAChB,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,MAAM;AAAA,IACP;AAAA,IACD,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,WAAW;AAAA,MACX,UAAU;AAAA,MACV,aAAa;AAAA,IACd;AAAA,IACD,WAAW;AAAA,MACT,mBAAmB;AAAA,MACnB,cAAc;AAAA,MACd,YAAY;AAAA,MACZ,eAAe;AAAA,IAChB;AAAA,IACD,eAAe;AAAA,MACb,qBAAqB;AAAA,MACrB,cAAc;AAAA,MACd,SAAS;AAAA,MACT,WAAW;AAAA,MACX,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,UAAU;AAAA,IACX;AAAA,IACD,eAAe;AAAA,MACb,YAAY;AAAA,MACZ,mBAAmB;AAAA,MACnB,4BAA4B;AAAA,MAC5B,qBAAqB;AAAA,MACrB,2BAA2B;AAAA,MAC3B,mBAAmB;AAAA,MACnB,aAAa;AAAA,IACd;AAAA,IACD,UAAU;AAAA,MACR;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACrB;AAAA,IACA;AAAA,EACA;AACA;"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const en = require("./en.cjs");
4
+ const ru = require("./ru.cjs");
5
+ const locales = {
6
+ en: en.default,
7
+ ru: ru.default
8
+ };
9
+ exports.default = locales;
10
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../../src/modules/auth/locales/index.js"],"sourcesContent":["import en from './en.js';\nimport ru from './ru.js';\n\nexport default {\n en,\n ru\n};\n"],"names":["en","ru"],"mappings":";;;;AAGA,MAAe,UAAA;AAAA,EACf,IAAEA,GAAE;AAAA,EACFC,IAAAA,GAAAA;AACF;;"}
@@ -0,0 +1,10 @@
1
+ import en from "./en.js";
2
+ import ru from "./ru.js";
3
+ const locales = {
4
+ en,
5
+ ru
6
+ };
7
+ export {
8
+ locales as default
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../src/modules/auth/locales/index.js"],"sourcesContent":["import en from './en.js';\nimport ru from './ru.js';\n\nexport default {\n en,\n ru\n};\n"],"names":[],"mappings":";;AAGA,MAAe,UAAA;AAAA,EACb;AAAA,EACA;AACF;"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const ru = {
4
+ auth: {
5
+ signIn: {
6
+ title: "Приветствуем вас,",
7
+ subtitle: "Войдите для продолжения",
8
+ signup: "Нет аккаунта?",
9
+ phone: "Телефон",
10
+ email: "Email",
11
+ phonePlaceholder: "Введите ваш телефон",
12
+ emailPlaceholder: "Введите ваш email",
13
+ haveAccount: "Нет аккаунта? Зарегистрироваться",
14
+ passwordPlaceholder: "Введите ваш пароль",
15
+ forgotPassword: "Забыли пароль?",
16
+ signin: "Войти",
17
+ signin_apple: "Войти через Apple",
18
+ soon: "СКОРО"
19
+ },
20
+ signUp: {
21
+ title: "Новая учетная запись",
22
+ description: "Выберите удобный способ регистрации через телефон или email:",
23
+ phone: "Телефон",
24
+ email: "Email",
25
+ phonePlaceholder: "Введите ваш телефон",
26
+ emailPlaceholder: "Введите ваш email",
27
+ emailNotice: "Мы отправим вам электронное письмо с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
28
+ smsNotice: "Мы вышлем вам SMS с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
29
+ sendCode: "Отправить код",
30
+ haveAccount: "У вас уже есть аккаунт?"
31
+ },
32
+ enterCode: {
33
+ verifyNumberTitle: "Подтвердите номер",
34
+ instructions: "Мы отправили код регистрации на ваш номер телефона. Введите его в поле ниже:",
35
+ resendCode: "Отправить код еще раз",
36
+ secondsResend: "секунд до возможности отправить код еще раз."
37
+ },
38
+ resetPassword: {
39
+ forgotPasswordTitle: "Забыли пароль?",
40
+ instructions: "Чтобы сбросить пароль, укажите телефон или email, использованные при регистрации.",
41
+ smsInfo: "Мы вышлем вам SMS с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
42
+ emailInfo: "Мы отправим вам электронное письмо с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
43
+ phone: "Телефон",
44
+ email: "Email",
45
+ phonePlaceholder: "Введите ваш телефон",
46
+ emailPlaceholder: "Введите ваш email",
47
+ sendCode: "Отправить код"
48
+ },
49
+ enterPassword: {
50
+ almostDone: "Почти все!",
51
+ newPasswordPrompt: "Пожалуйста, укажите новый пароль.",
52
+ registrationPasswordPrompt: "Пожалуйста, укажите пароль, на этом регистрация будет закончена.",
53
+ passwordPlaceholder: "Пароль",
54
+ repeatPasswordPlaceholder: "Повторите пароль",
55
+ changePasswordBtn: "Поменять пароль",
56
+ registerBtn: "Зарегистрироваться"
57
+ },
58
+ features: [
59
+ {
60
+ title: "Что такое токен Weeder, Бро?",
61
+ description: "WDT - это как основа нашего крутого сообщества. Это деньги, это власть, это инвестиции. Круто, а?"
62
+ },
63
+ {
64
+ title: "Зажигай и Развивайся",
65
+ description: "Закажи шмали, курни и зарабатывай токены Weeder. Чем больше курнешь, тем больше кэша у тебя в кармане, чувак."
66
+ },
67
+ {
68
+ title: "Веселись с Нашим Сообществом",
69
+ description: "Найди самые крутые сорта и начни шмалить на девятом облаке вместе с нами."
70
+ },
71
+ {
72
+ title: "Покупайте, Когда Накурились",
73
+ description: "Закажи премиумную бошку и крутые аксессуары за пару кликов, чувак. Прямо к твоей двери!"
74
+ }
75
+ ]
76
+ }
77
+ };
78
+ exports.default = ru;
79
+ //# sourceMappingURL=ru.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ru.cjs","sources":["../../../../../../src/modules/auth/locales/ru.js"],"sourcesContent":["// @martyrs/src/modules/auth/locales/ru.js\nexport default {\n auth: {\n signIn: {\n title: \"Приветствуем вас,\",\n subtitle: \"Войдите для продолжения\",\n signup: \"Нет аккаунта?\",\n phone: \"Телефон\",\n email: \"Email\",\n phonePlaceholder: \"Введите ваш телефон\",\n emailPlaceholder: \"Введите ваш email\",\n haveAccount: \"Нет аккаунта? Зарегистрироваться\",\n passwordPlaceholder: \"Введите ваш пароль\",\n forgotPassword: \"Забыли пароль?\",\n signin: \"Войти\",\n signin_apple: \"Войти через Apple\",\n soon: \"СКОРО\"\n },\n signUp: {\n title: \"Новая учетная запись\",\n description: \"Выберите удобный способ регистрации через телефон или email:\",\n phone: \"Телефон\",\n email: \"Email\",\n phonePlaceholder: \"Введите ваш телефон\",\n emailPlaceholder: \"Введите ваш email\",\n emailNotice: \"Мы отправим вам электронное письмо с кодом подтверждения, который вы должны будете ввести в следующем шаге.\",\n smsNotice: \"Мы вышлем вам SMS с кодом подтверждения, который вы должны будете ввести в следующем шаге.\",\n sendCode: \"Отправить код\",\n haveAccount: \"У вас уже есть аккаунт?\"\n },\n enterCode: {\n verifyNumberTitle: \"Подтвердите номер\",\n instructions: \"Мы отправили код регистрации на ваш номер телефона. Введите его в поле ниже:\",\n resendCode: \"Отправить код еще раз\",\n secondsResend: \"секунд до возможности отправить код еще раз.\"\n },\n resetPassword: {\n forgotPasswordTitle: \"Забыли пароль?\",\n instructions: \"Чтобы сбросить пароль, укажите телефон или email, использованные при регистрации.\",\n smsInfo: \"Мы вышлем вам SMS с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.\",\n emailInfo: \"Мы отправим вам электронное письмо с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.\",\n phone: \"Телефон\",\n email: \"Email\",\n phonePlaceholder: \"Введите ваш телефон\",\n emailPlaceholder: \"Введите ваш email\",\n sendCode: \"Отправить код\"\n },\n enterPassword: {\n almostDone: \"Почти все!\",\n newPasswordPrompt: \"Пожалуйста, укажите новый пароль.\",\n registrationPasswordPrompt: \"Пожалуйста, укажите пароль, на этом регистрация будет закончена.\",\n passwordPlaceholder: \"Пароль\",\n repeatPasswordPlaceholder: \"Повторите пароль\",\n changePasswordBtn: \"Поменять пароль\",\n registerBtn: \"Зарегистрироваться\"\n },\n features: [\n {\n title: \"Что такое токен Weeder, Бро?\",\n description: \"WDT - это как основа нашего крутого сообщества. Это деньги, это власть, это инвестиции. Круто, а?\"\n },\n {\n title: \"Зажигай и Развивайся\",\n description: \"Закажи шмали, курни и зарабатывай токены Weeder. Чем больше курнешь, тем больше кэша у тебя в кармане, чувак.\"\n },\n {\n title: \"Веселись с Нашим Сообществом\",\n description: \"Найди самые крутые сорта и начни шмалить на девятом облаке вместе с нами.\"\n },\n {\n title: \"Покупайте, Когда Накурились\",\n description: \"Закажи премиумную бошку и крутые аксессуары за пару кликов, чувак. Прямо к твоей двери!\"\n }\n ]\n }\n};"],"names":[],"mappings":";;AACA,MAAe,KAAA;AAAA,EACb,MAAM;AAAA,IACJ,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,qBAAqB;AAAA,MACrB,gBAAgB;AAAA,MAChB,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,MAAM;AAAA,IACP;AAAA,IACD,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,WAAW;AAAA,MACX,UAAU;AAAA,MACV,aAAa;AAAA,IACd;AAAA,IACD,WAAW;AAAA,MACT,mBAAmB;AAAA,MACnB,cAAc;AAAA,MACd,YAAY;AAAA,MACZ,eAAe;AAAA,IAChB;AAAA,IACD,eAAe;AAAA,MACb,qBAAqB;AAAA,MACrB,cAAc;AAAA,MACd,SAAS;AAAA,MACT,WAAW;AAAA,MACX,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,UAAU;AAAA,IACX;AAAA,IACD,eAAe;AAAA,MACb,YAAY;AAAA,MACZ,mBAAmB;AAAA,MACnB,4BAA4B;AAAA,MAC5B,qBAAqB;AAAA,MACrB,2BAA2B;AAAA,MAC3B,mBAAmB;AAAA,MACnB,aAAa;AAAA,IACd;AAAA,IACD,UAAU;AAAA,MACR;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACrB;AAAA,IACA;AAAA,EACA;AACA;;"}
@@ -0,0 +1,79 @@
1
+ const ru = {
2
+ auth: {
3
+ signIn: {
4
+ title: "Приветствуем вас,",
5
+ subtitle: "Войдите для продолжения",
6
+ signup: "Нет аккаунта?",
7
+ phone: "Телефон",
8
+ email: "Email",
9
+ phonePlaceholder: "Введите ваш телефон",
10
+ emailPlaceholder: "Введите ваш email",
11
+ haveAccount: "Нет аккаунта? Зарегистрироваться",
12
+ passwordPlaceholder: "Введите ваш пароль",
13
+ forgotPassword: "Забыли пароль?",
14
+ signin: "Войти",
15
+ signin_apple: "Войти через Apple",
16
+ soon: "СКОРО"
17
+ },
18
+ signUp: {
19
+ title: "Новая учетная запись",
20
+ description: "Выберите удобный способ регистрации через телефон или email:",
21
+ phone: "Телефон",
22
+ email: "Email",
23
+ phonePlaceholder: "Введите ваш телефон",
24
+ emailPlaceholder: "Введите ваш email",
25
+ emailNotice: "Мы отправим вам электронное письмо с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
26
+ smsNotice: "Мы вышлем вам SMS с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
27
+ sendCode: "Отправить код",
28
+ haveAccount: "У вас уже есть аккаунт?"
29
+ },
30
+ enterCode: {
31
+ verifyNumberTitle: "Подтвердите номер",
32
+ instructions: "Мы отправили код регистрации на ваш номер телефона. Введите его в поле ниже:",
33
+ resendCode: "Отправить код еще раз",
34
+ secondsResend: "секунд до возможности отправить код еще раз."
35
+ },
36
+ resetPassword: {
37
+ forgotPasswordTitle: "Забыли пароль?",
38
+ instructions: "Чтобы сбросить пароль, укажите телефон или email, использованные при регистрации.",
39
+ smsInfo: "Мы вышлем вам SMS с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
40
+ emailInfo: "Мы отправим вам электронное письмо с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
41
+ phone: "Телефон",
42
+ email: "Email",
43
+ phonePlaceholder: "Введите ваш телефон",
44
+ emailPlaceholder: "Введите ваш email",
45
+ sendCode: "Отправить код"
46
+ },
47
+ enterPassword: {
48
+ almostDone: "Почти все!",
49
+ newPasswordPrompt: "Пожалуйста, укажите новый пароль.",
50
+ registrationPasswordPrompt: "Пожалуйста, укажите пароль, на этом регистрация будет закончена.",
51
+ passwordPlaceholder: "Пароль",
52
+ repeatPasswordPlaceholder: "Повторите пароль",
53
+ changePasswordBtn: "Поменять пароль",
54
+ registerBtn: "Зарегистрироваться"
55
+ },
56
+ features: [
57
+ {
58
+ title: "Что такое токен Weeder, Бро?",
59
+ description: "WDT - это как основа нашего крутого сообщества. Это деньги, это власть, это инвестиции. Круто, а?"
60
+ },
61
+ {
62
+ title: "Зажигай и Развивайся",
63
+ description: "Закажи шмали, курни и зарабатывай токены Weeder. Чем больше курнешь, тем больше кэша у тебя в кармане, чувак."
64
+ },
65
+ {
66
+ title: "Веселись с Нашим Сообществом",
67
+ description: "Найди самые крутые сорта и начни шмалить на девятом облаке вместе с нами."
68
+ },
69
+ {
70
+ title: "Покупайте, Когда Накурились",
71
+ description: "Закажи премиумную бошку и крутые аксессуары за пару кликов, чувак. Прямо к твоей двери!"
72
+ }
73
+ ]
74
+ }
75
+ };
76
+ export {
77
+ ru as default
78
+ };
79
+ //# sourceMappingURL=ru.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ru.js","sources":["../../../../../../src/modules/auth/locales/ru.js"],"sourcesContent":["// @martyrs/src/modules/auth/locales/ru.js\nexport default {\n auth: {\n signIn: {\n title: \"Приветствуем вас,\",\n subtitle: \"Войдите для продолжения\",\n signup: \"Нет аккаунта?\",\n phone: \"Телефон\",\n email: \"Email\",\n phonePlaceholder: \"Введите ваш телефон\",\n emailPlaceholder: \"Введите ваш email\",\n haveAccount: \"Нет аккаунта? Зарегистрироваться\",\n passwordPlaceholder: \"Введите ваш пароль\",\n forgotPassword: \"Забыли пароль?\",\n signin: \"Войти\",\n signin_apple: \"Войти через Apple\",\n soon: \"СКОРО\"\n },\n signUp: {\n title: \"Новая учетная запись\",\n description: \"Выберите удобный способ регистрации через телефон или email:\",\n phone: \"Телефон\",\n email: \"Email\",\n phonePlaceholder: \"Введите ваш телефон\",\n emailPlaceholder: \"Введите ваш email\",\n emailNotice: \"Мы отправим вам электронное письмо с кодом подтверждения, который вы должны будете ввести в следующем шаге.\",\n smsNotice: \"Мы вышлем вам SMS с кодом подтверждения, который вы должны будете ввести в следующем шаге.\",\n sendCode: \"Отправить код\",\n haveAccount: \"У вас уже есть аккаунт?\"\n },\n enterCode: {\n verifyNumberTitle: \"Подтвердите номер\",\n instructions: \"Мы отправили код регистрации на ваш номер телефона. Введите его в поле ниже:\",\n resendCode: \"Отправить код еще раз\",\n secondsResend: \"секунд до возможности отправить код еще раз.\"\n },\n resetPassword: {\n forgotPasswordTitle: \"Забыли пароль?\",\n instructions: \"Чтобы сбросить пароль, укажите телефон или email, использованные при регистрации.\",\n smsInfo: \"Мы вышлем вам SMS с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.\",\n emailInfo: \"Мы отправим вам электронное письмо с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.\",\n phone: \"Телефон\",\n email: \"Email\",\n phonePlaceholder: \"Введите ваш телефон\",\n emailPlaceholder: \"Введите ваш email\",\n sendCode: \"Отправить код\"\n },\n enterPassword: {\n almostDone: \"Почти все!\",\n newPasswordPrompt: \"Пожалуйста, укажите новый пароль.\",\n registrationPasswordPrompt: \"Пожалуйста, укажите пароль, на этом регистрация будет закончена.\",\n passwordPlaceholder: \"Пароль\",\n repeatPasswordPlaceholder: \"Повторите пароль\",\n changePasswordBtn: \"Поменять пароль\",\n registerBtn: \"Зарегистрироваться\"\n },\n features: [\n {\n title: \"Что такое токен Weeder, Бро?\",\n description: \"WDT - это как основа нашего крутого сообщества. Это деньги, это власть, это инвестиции. Круто, а?\"\n },\n {\n title: \"Зажигай и Развивайся\",\n description: \"Закажи шмали, курни и зарабатывай токены Weeder. Чем больше курнешь, тем больше кэша у тебя в кармане, чувак.\"\n },\n {\n title: \"Веселись с Нашим Сообществом\",\n description: \"Найди самые крутые сорта и начни шмалить на девятом облаке вместе с нами.\"\n },\n {\n title: \"Покупайте, Когда Накурились\",\n description: \"Закажи премиумную бошку и крутые аксессуары за пару кликов, чувак. Прямо к твоей двери!\"\n }\n ]\n }\n};"],"names":[],"mappings":"AACA,MAAe,KAAA;AAAA,EACb,MAAM;AAAA,IACJ,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,qBAAqB;AAAA,MACrB,gBAAgB;AAAA,MAChB,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,MAAM;AAAA,IACP;AAAA,IACD,QAAQ;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,MACb,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,aAAa;AAAA,MACb,WAAW;AAAA,MACX,UAAU;AAAA,MACV,aAAa;AAAA,IACd;AAAA,IACD,WAAW;AAAA,MACT,mBAAmB;AAAA,MACnB,cAAc;AAAA,MACd,YAAY;AAAA,MACZ,eAAe;AAAA,IAChB;AAAA,IACD,eAAe;AAAA,MACb,qBAAqB;AAAA,MACrB,cAAc;AAAA,MACd,SAAS;AAAA,MACT,WAAW;AAAA,MACX,OAAO;AAAA,MACP,OAAO;AAAA,MACP,kBAAkB;AAAA,MAClB,kBAAkB;AAAA,MAClB,UAAU;AAAA,IACX;AAAA,IACD,eAAe;AAAA,MACb,YAAY;AAAA,MACZ,mBAAmB;AAAA,MACnB,4BAA4B;AAAA,MAC5B,qBAAqB;AAAA,MACrB,2BAA2B;AAAA,MAC3B,mBAAmB;AAAA,MACnB,aAAa;AAAA,IACd;AAAA,IACD,UAAU;AAAA,MACR;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACd;AAAA,MACD;AAAA,QACE,OAAO;AAAA,QACP,aAAa;AAAA,MACrB;AAAA,IACA;AAAA,EACA;AACA;"}
@@ -1,23 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
5
- ;/* empty css */
6
- ;/* empty css */
7
4
  const SliderFeatures = require("../sections/SliderFeatures.vue.cjs");
8
5
  const vueRouter = require("vue-router");
9
- require("../../store/auth.cjs");
10
6
  const _hoisted_1 = { class: "cols-2-1_2 gap-small pd-small" };
11
- const _hoisted_2 = { class: "w-100 desktop-only o-hidden radius-big bg-grad-main" };
7
+ const _hoisted_2 = { class: "w-100 desktop-only o-hidden radius-big bg-black t-white" };
12
8
  const _sfc_main = {
13
9
  __name: "Auth",
14
10
  setup(__props) {
15
- vue.ref(null);
16
- vue.ref(null);
17
- vue.ref(null);
18
11
  vueRouter.useRoute();
19
- vueRouter.useRouter();
20
- vue.ref("email");
21
12
  return (_ctx, _cache) => {
22
13
  const _component_router_view = vue.resolveComponent("router-view");
23
14
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
@@ -1 +1 @@
1
- {"version":3,"file":"Auth.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/layouts/Auth.vue"],"sourcesContent":["<template>\n <div \n \tclass=\"cols-2-1_2 gap-small pd-small\"\n >\n\n <router-view\n \tclass=\"pd-big mobile:pd-medium w-m-66r t-center\" \n \tv-slot=\"{ Component, route }\"\n >\n <transition \n \tname=\"scaleIn\" mode=\"out-in\"\n >\n <component \n \tref=\"page\" \n \t:key=\"route.path\" \n \t:localPosition=\"localPosition\" \n \t:is=\"Component\" \n />\n </transition>\n </router-view>\n\n <section class=\"w-100 desktop-only o-hidden radius-big bg-grad-main\">\n <SliderFeatures/> \n </section>\n </div>\n</template>\n\n<script setup>\n// Import components\nimport Tab from '@martyrs/src/components/Tab/Tab.vue'\nimport Field from '@martyrs/src/components/Field/Field.vue'\nimport Button from '@martyrs/src/components/Button/Button.vue'\n// Import blocks\nimport SliderFeatures from '@martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue'\n// Import libs\nimport { computed, onMounted, ref } from 'vue'\nimport { useRoute, useRouter } from 'vue-router'\n// Import state\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n// Import validation\nimport * as inputsValidation from '@martyrs/src/modules/auth/views/validations/inputs.validation'\n\nconst phoneValidation = ref(null)\nconst passswordValidation = ref(null)\nconst emailValidation = ref(null)\n// Accessing router\nconst route = useRoute()\nconst router = useRouter()\n// Accessing state\nconst tabAuth = ref('email')\n// Methods\nasync function onSubmit() {\n try {\n await inputsValidation.validateInputs(\n emailValidation,\n inputsValidation.validateEmail,\n auth.state.user.email,\n 'Некорректный email'\n )\n await inputsValidation.validateInputs(\n passswordValidation,\n inputsValidation.validatePassword,\n auth.state.user.password,\n 'Некорректный пароль'\n )\n } catch (error) {\n throw new Error\n }\n await auth.actions.login(auth.state.user, tabAuth.value)\n}\n\nfunction redirectTo() {\n router.push({ name: 'Account' })\n}\n</script>"],"names":["ref","useRoute","useRouter"],"mappings":";;;;;;;;;;;;;;AA0CwBA,QAAAA,IAAI,IAAI;AACJA,QAAAA,IAAI,IAAI;AACZA,QAAAA,IAAI,IAAI;AAElBC,cAAQ,SAAA;AACPC,cAAS,UAAA;AAERF,QAAAA,IAAI,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Auth.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/layouts/Auth.vue"],"sourcesContent":["<template>\n <div \n \tclass=\"cols-2-1_2 gap-small pd-small\"\n >\n <router-view\n \tclass=\"pd-big mobile:pd-medium w-m-66r t-center\" \n \tv-slot=\"{ Component, route }\"\n >\n <transition \n \tname=\"scaleIn\" mode=\"out-in\"\n >\n <component \n \tref=\"page\" \n \t:key=\"route.path\" \n \t:localPosition=\"localPosition\" \n \t:is=\"Component\" \n />\n </transition>\n </router-view>\n\n <section class=\"w-100 desktop-only o-hidden radius-big bg-black t-white\">\n <SliderFeatures/> \n </section>\n </div>\n</template>\n\n<script setup>\nimport SliderFeatures from '@martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue'\n\nimport { useRoute } from 'vue-router'\n\nconst route = useRoute()\n</script>"],"names":["useRoute"],"mappings":";;;;;;;;;;AA+BcA,cAAQ,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,21 +1,12 @@
1
- import { ref, resolveComponent, createElementBlock, openBlock, createVNode, createElementVNode, withCtx, Transition, createBlock, resolveDynamicComponent } from "vue";
2
- /* empty css */
3
- /* empty css */
4
- /* empty css */
1
+ import { resolveComponent, createElementBlock, openBlock, createVNode, createElementVNode, withCtx, Transition, createBlock, resolveDynamicComponent } from "vue";
5
2
  import _sfc_main$1 from "../sections/SliderFeatures.vue.js";
6
- import { useRoute, useRouter } from "vue-router";
7
- import "../../store/auth.js";
3
+ import { useRoute } from "vue-router";
8
4
  const _hoisted_1 = { class: "cols-2-1_2 gap-small pd-small" };
9
- const _hoisted_2 = { class: "w-100 desktop-only o-hidden radius-big bg-grad-main" };
5
+ const _hoisted_2 = { class: "w-100 desktop-only o-hidden radius-big bg-black t-white" };
10
6
  const _sfc_main = {
11
7
  __name: "Auth",
12
8
  setup(__props) {
13
- ref(null);
14
- ref(null);
15
- ref(null);
16
9
  useRoute();
17
- useRouter();
18
- ref("email");
19
10
  return (_ctx, _cache) => {
20
11
  const _component_router_view = resolveComponent("router-view");
21
12
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -1 +1 @@
1
- {"version":3,"file":"Auth.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/layouts/Auth.vue"],"sourcesContent":["<template>\n <div \n \tclass=\"cols-2-1_2 gap-small pd-small\"\n >\n\n <router-view\n \tclass=\"pd-big mobile:pd-medium w-m-66r t-center\" \n \tv-slot=\"{ Component, route }\"\n >\n <transition \n \tname=\"scaleIn\" mode=\"out-in\"\n >\n <component \n \tref=\"page\" \n \t:key=\"route.path\" \n \t:localPosition=\"localPosition\" \n \t:is=\"Component\" \n />\n </transition>\n </router-view>\n\n <section class=\"w-100 desktop-only o-hidden radius-big bg-grad-main\">\n <SliderFeatures/> \n </section>\n </div>\n</template>\n\n<script setup>\n// Import components\nimport Tab from '@martyrs/src/components/Tab/Tab.vue'\nimport Field from '@martyrs/src/components/Field/Field.vue'\nimport Button from '@martyrs/src/components/Button/Button.vue'\n// Import blocks\nimport SliderFeatures from '@martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue'\n// Import libs\nimport { computed, onMounted, ref } from 'vue'\nimport { useRoute, useRouter } from 'vue-router'\n// Import state\nimport * as auth from '@martyrs/src/modules/auth/views/store/auth.js'\n// Import validation\nimport * as inputsValidation from '@martyrs/src/modules/auth/views/validations/inputs.validation'\n\nconst phoneValidation = ref(null)\nconst passswordValidation = ref(null)\nconst emailValidation = ref(null)\n// Accessing router\nconst route = useRoute()\nconst router = useRouter()\n// Accessing state\nconst tabAuth = ref('email')\n// Methods\nasync function onSubmit() {\n try {\n await inputsValidation.validateInputs(\n emailValidation,\n inputsValidation.validateEmail,\n auth.state.user.email,\n 'Некорректный email'\n )\n await inputsValidation.validateInputs(\n passswordValidation,\n inputsValidation.validatePassword,\n auth.state.user.password,\n 'Некорректный пароль'\n )\n } catch (error) {\n throw new Error\n }\n await auth.actions.login(auth.state.user, tabAuth.value)\n}\n\nfunction redirectTo() {\n router.push({ name: 'Account' })\n}\n</script>"],"names":[],"mappings":";;;;;;;;;;;;AA0CwB,QAAI,IAAI;AACJ,QAAI,IAAI;AACZ,QAAI,IAAI;AAElB,aAAQ;AACP,cAAS;AAER,QAAI,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Auth.vue.js","sources":["../../../../../../../../src/modules/auth/views/components/layouts/Auth.vue"],"sourcesContent":["<template>\n <div \n \tclass=\"cols-2-1_2 gap-small pd-small\"\n >\n <router-view\n \tclass=\"pd-big mobile:pd-medium w-m-66r t-center\" \n \tv-slot=\"{ Component, route }\"\n >\n <transition \n \tname=\"scaleIn\" mode=\"out-in\"\n >\n <component \n \tref=\"page\" \n \t:key=\"route.path\" \n \t:localPosition=\"localPosition\" \n \t:is=\"Component\" \n />\n </transition>\n </router-view>\n\n <section class=\"w-100 desktop-only o-hidden radius-big bg-black t-white\">\n <SliderFeatures/> \n </section>\n </div>\n</template>\n\n<script setup>\nimport SliderFeatures from '@martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue'\n\nimport { useRoute } from 'vue-router'\n\nconst route = useRoute()\n</script>"],"names":[],"mappings":";;;;;;;;AA+Bc,aAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -6,7 +6,6 @@ const vueI18n = require("vue-i18n");
6
6
  const auth = require("../../store/auth.cjs");
7
7
  const twofa = require("../../store/twofa.cjs");
8
8
  const globals = require("../../../../globals/views/store/globals.cjs");
9
- const EnterCode = require("../../localization/EnterCode.json.cjs");
10
9
  const _hoisted_1 = { class: "t-center pd-medium" };
11
10
  const _hoisted_2 = { class: "mn-b-medium" };
12
11
  const _hoisted_3 = { class: "mn-b-big t-transp" };
@@ -18,8 +17,7 @@ const _sfc_main = {
18
17
  const route = vueRouter.useRoute();
19
18
  const router = vueRouter.useRouter();
20
19
  const { t } = vueI18n.useI18n({
21
- useScope: "global",
22
- ...EnterCode.default
20
+ useScope: "global"
23
21
  });
24
22
  const state = vue.reactive({
25
23
  digits: ["", "", "", ""],
@@ -104,8 +102,8 @@ const _sfc_main = {
104
102
  };
105
103
  return (_ctx, _cache) => {
106
104
  return vue.openBlock(), vue.createElementBlock("section", _hoisted_1, [
107
- vue.createElementVNode("h3", _hoisted_2, vue.toDisplayString(vue.unref(t)("verifyNumberTitle")), 1),
108
- vue.createElementVNode("p", _hoisted_3, vue.toDisplayString(vue.unref(t)("instructions")), 1),
105
+ vue.createElementVNode("h3", _hoisted_2, vue.toDisplayString(vue.unref(t)("auth.enterCode.verifyNumberTitle")), 1),
106
+ vue.createElementVNode("p", _hoisted_3, vue.toDisplayString(vue.unref(t)("auth.enterCode.instructions")), 1),
109
107
  vue.createElementVNode("div", _hoisted_4, [
110
108
  vue.withDirectives(vue.createElementVNode("input", {
111
109
  type: "number",
@@ -158,7 +156,7 @@ const _sfc_main = {
158
156
  key: 0,
159
157
  onClick: sendAgain,
160
158
  class: "t-blue"
161
- }, vue.toDisplayString(vue.unref(t)("resendCode")), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, vue.toDisplayString(resendTimer.value) + " " + vue.toDisplayString(vue.unref(t)("secondsResend")), 1))
159
+ }, vue.toDisplayString(vue.unref(t)("auth.enterCode.resendCode")), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_5, vue.toDisplayString(resendTimer.value) + " " + vue.toDisplayString(vue.unref(t)("auth.enterCode.secondsResend")), 1))
162
160
  ]);
163
161
  };
164
162
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EnterCode.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/pages/EnterCode.vue"],"sourcesContent":["<template>\n\t<section class=\"t-center pd-medium\">\n\t\t<!-- <img loading=\"lazy\" src=\"@/assets/icons/message1.png\" class=\"i-extra mn-b-small\"> -->\n\n\t\t<h3 class=\"mn-b-medium\">\n\t\t\t{{ t('verifyNumberTitle') }}\n\t\t</h3>\n\n\t\t<p class=\"mn-b-big t-transp\">{{ t('instructions') }}</p>\n\n\t\t<div class=\"w-100 mn-b-big flex-nowrap flex\">\n \t\t<input \n \t\t\ttype=\"number\" \n \t\t\tv-model=\"state.digits[0]\" \n \t\t\tref=\"firstInput\" \n \t\t\tmaxlength=\"1\" \n \t\t\t@input=\"onInput(0)\" \n \t\t\t@paste=\"($event) => onPaste($event, 0)\" \n \t\t\t@keydown=\"($event) => onKeyDown($event, 0)\" \n \t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n \t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[1]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(1)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 1)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 1)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[2]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(2)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 2)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 2)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[3]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(3)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 3)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 3)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small\"\n\t\t\t>\n \t</div>\n\n\t\t<a v-if=\"resendTimer < 1\" @click=\"sendAgain\" class=\"t-blue\">\n\t\t\t{{ t('resendCode') }}\n\t\t</a>\n\n\t\t<span v-else>\n\t\t\t{{resendTimer}} {{ t('secondsResend') }}\n\t\t</span>\n\t</section>\n</template>\n\n<script setup>\n\t// Import components\n\timport Field from '@martyrs/src/components/Field/Field.vue'\n\t// Import libs\n\timport { computed,reactive,ref, onMounted, onBeforeMount, watch } from 'vue'\n\timport { useRoute,useRouter } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t// Import state\n\timport * as auth \tfrom '@martyrs/src/modules/auth/views/store/auth.js'\n\timport * as twofa \tfrom '@martyrs/src/modules/auth/views/store/twofa.js'\n\timport { setError } from '@martyrs/src/modules/globals/views/store/globals.js'\n\t\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\t// Localization\n\timport text from '@martyrs/src/modules/auth/views/localization/EnterCode.json'\n\t// Localization\n\tconst { t } = useI18n({\n\t\tuseScope: 'global', \n\t\t...text\n\t})\n\t\n\tconst state = reactive({\n\t digits: ['', '', '', ''],\n\t error: null,\n\t});\n\n\twatch(\n\t () => state.digits[0],\n\t (newVal) => {\n\t if (newVal && String(newVal).length > 1) {\n\t let newValArray = String(newVal).split('');\n\t console.log(newValArray);\n\n\t let newDigits = [...state.digits];\n\t newValArray.forEach((digit, i) => {\n\t console.log(i);\n\t console.log(newDigits[i]);\n\t console.log(digit);\n\t newDigits[i] = digit;\n\t });\n\n\t state.digits = newDigits;\n\n\t onInput(3);\n\t }\n\t }\n\t);\n\n\tconst firstInput = ref(null);\n\n\tconst resendTimer = ref(0);\n\n\tasync function sendAgain () {\n\t\ttry {\n\t\t \tawait twofa.sendCode(\n\t\t \t\tauth.state.user, \n\t\t \t\troute.query.method, \n\t\t \t\troute.query.type, \n\t\t \t)\n\n\t\t \tresendTimer.value = 30;\n\n\t \t// Start the timer using `setInterval()`\n\t \tconst timer = setInterval(() => {\n\t\t if (resendTimer.value > 0) {\n\t\t // Decrement the timer by 1 second\n\t\t resendTimer.value -= 1;\n\t\t } else {\n\t\t // Stop the timer when it reaches 0 seconds\n\t\t clearInterval(timer);\n\t\t }\n\t\t }, 1000);\n\t } catch (error) {\n\t\t\tsetError({ response: {data: { errorCode: \"CODE_NOT_SENT\"}}})\n\t\t}\n\t}\n\n\n\tconst onKeyDown = (event, index) => {\n\t if (event.key === \"Backspace\" && (state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '')) {\n\t event.preventDefault();\n\n\t const inputs = document.querySelectorAll('input');\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t if (prevInput) {\n\t prevInput.focus();\n\t prevInput.setSelectionRange(prevInput.value.length, prevInput.value.length);\n\t }\n\t }\n\t};\n\n\t// const onPaste = (event, index) => {\n\t// event.preventDefault();\n\t// const pastedData = event.clipboardData.getData('text/plain');\n\t \n\t// // Проверим, что вставленный текст состоит только из 4 цифр\n\t// if (/^\\d{4}$/.test(pastedData)) {\n\t// for (let i = 0; i < 4; i++) {\n\t// state.digits[index + i] = pastedData[i];\n\t// }\n\t// onInput(index + 3); // Вызываем обработчик onInput для последнего инпута, чтобы обработать логику ввода\n\t// } else {\n\t// \tsetError({ response: {data: { errorCode: \"INPUT_ERROR\"}}})\n\t// }\n\t// };\n\n\tconst onInput = (index) => {\n\t const inputs = document.querySelectorAll('input');\n\t const nextInput = inputs[index + 1];\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t // Переход на следующий инпут\n\t if (state.digits[index] !== '' && state.digits[index] !== null && state.digits[index] !== undefined && index < 4) {\n\t if (index < 3) nextInput.focus();\n\t else firstInput.value.focus();\n\t }\n\n\t // Переход на предыдущий инпут при удалении\n\t if ((state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '') && index > 0) {\n\t prevInput.focus();\n\t }\n\n\t // Проверка введенного кода\n\t if (state.digits.every(digit => digit !== '')) {\n\t const enteredCode = state.digits.join('');\n\t const correctCode = twofa.state.code.code.toString();\n\n\t if (enteredCode === correctCode) {\n\t twofa.state.code.isValid = true;\n\n\t router.push({\n\t path: '/auth/enter-password',\n\t query: { type: twofa.state.code.type, method: route.query.method, returnUrl: route.query.returnUrl }\n\t });\n\n\t } else {\n\t setError({ response: {data: { errorCode: \"WRONG_CODE\"}}})\n\t firstInput.value.focus()\n\t state.digits = ['', '', '', ''];\n\t }\n\t }\n\t};\n</script>"],"names":["useRoute","useRouter","useI18n","text","reactive","watch","ref","twofa.sendCode","auth.state","setError","twofa.state"],"mappings":"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"}
1
+ {"version":3,"file":"EnterCode.vue.cjs","sources":["../../../../../../../../src/modules/auth/views/components/pages/EnterCode.vue"],"sourcesContent":["<template>\n\t<section class=\"t-center pd-medium\">\n\t\t<!-- <img loading=\"lazy\" src=\"@/assets/icons/message1.png\" class=\"i-extra mn-b-small\"> -->\n\n\t\t<h3 class=\"mn-b-medium\">\n\t\t\t{{ t('auth.enterCode.verifyNumberTitle') }}\n\t\t</h3>\n\n\t\t<p class=\"mn-b-big t-transp\">{{ t('auth.enterCode.instructions') }}</p>\n\n\t\t<div class=\"w-100 mn-b-big flex-nowrap flex\">\n \t\t<input \n \t\t\ttype=\"number\" \n \t\t\tv-model=\"state.digits[0]\" \n \t\t\tref=\"firstInput\" \n \t\t\tmaxlength=\"1\" \n \t\t\t@input=\"onInput(0)\" \n \t\t\t@paste=\"($event) => onPaste($event, 0)\" \n \t\t\t@keydown=\"($event) => onKeyDown($event, 0)\" \n \t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n \t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[1]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(1)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 1)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 1)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[2]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(2)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 2)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 2)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small mn-r-small\"\n\t\t\t>\n\t\t\t<input \n\t\t\t\ttype=\"number\" \n\t\t\t\tv-model=\"state.digits[3]\" \n\t\t\t\tmaxlength=\"1\" \n\t\t\t\t@input=\"onInput(3)\" \n\t\t\t\t@paste=\"($event) => onPaste($event, 3)\" \n\t\t\t\t@keydown=\"($event) => onKeyDown($event, 3)\" \n\t\t\t\tclass=\"w-100 h1 pd-small t-center bg-light radius-small\"\n\t\t\t>\n \t</div>\n\n\t\t<a v-if=\"resendTimer < 1\" @click=\"sendAgain\" class=\"t-blue\">\n\t\t\t{{ t('auth.enterCode.resendCode') }}\n\t\t</a>\n\n\t\t<span v-else>\n\t\t\t{{resendTimer}} {{ t('auth.enterCode.secondsResend') }}\n\t\t</span>\n\t</section>\n</template>\n\n<script setup>\n\t// Import components\n\timport Field from '@martyrs/src/components/Field/Field.vue'\n\t// Import libs\n\timport { computed,reactive,ref, onMounted, onBeforeMount, watch } from 'vue'\n\timport { useRoute,useRouter } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t// Import state\n\timport * as auth \tfrom '@martyrs/src/modules/auth/views/store/auth.js'\n\timport * as twofa \tfrom '@martyrs/src/modules/auth/views/store/twofa.js'\n\timport { setError } from '@martyrs/src/modules/globals/views/store/globals.js'\n\t\n\tconst route = useRoute()\n\tconst router = useRouter()\n\n\t// Localization\n\t// Localization\n\tconst { t } = useI18n({\n\t\tuseScope: 'global', \n\t})\n\t\n\tconst state = reactive({\n\t digits: ['', '', '', ''],\n\t error: null,\n\t});\n\n\twatch(\n\t () => state.digits[0],\n\t (newVal) => {\n\t if (newVal && String(newVal).length > 1) {\n\t let newValArray = String(newVal).split('');\n\t console.log(newValArray);\n\n\t let newDigits = [...state.digits];\n\t newValArray.forEach((digit, i) => {\n\t console.log(i);\n\t console.log(newDigits[i]);\n\t console.log(digit);\n\t newDigits[i] = digit;\n\t });\n\n\t state.digits = newDigits;\n\n\t onInput(3);\n\t }\n\t }\n\t);\n\n\tconst firstInput = ref(null);\n\n\tconst resendTimer = ref(0);\n\n\tasync function sendAgain () {\n\t\ttry {\n\t\t \tawait twofa.sendCode(\n\t\t \t\tauth.state.user, \n\t\t \t\troute.query.method, \n\t\t \t\troute.query.type, \n\t\t \t)\n\n\t\t \tresendTimer.value = 30;\n\n\t \t// Start the timer using `setInterval()`\n\t \tconst timer = setInterval(() => {\n\t\t if (resendTimer.value > 0) {\n\t\t // Decrement the timer by 1 second\n\t\t resendTimer.value -= 1;\n\t\t } else {\n\t\t // Stop the timer when it reaches 0 seconds\n\t\t clearInterval(timer);\n\t\t }\n\t\t }, 1000);\n\t } catch (error) {\n\t\t\tsetError({ response: {data: { errorCode: \"CODE_NOT_SENT\"}}})\n\t\t}\n\t}\n\n\n\tconst onKeyDown = (event, index) => {\n\t if (event.key === \"Backspace\" && (state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '')) {\n\t event.preventDefault();\n\n\t const inputs = document.querySelectorAll('input');\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t if (prevInput) {\n\t prevInput.focus();\n\t prevInput.setSelectionRange(prevInput.value.length, prevInput.value.length);\n\t }\n\t }\n\t};\n\n\t// const onPaste = (event, index) => {\n\t// event.preventDefault();\n\t// const pastedData = event.clipboardData.getData('text/plain');\n\t \n\t// // Проверим, что вставленный текст состоит только из 4 цифр\n\t// if (/^\\d{4}$/.test(pastedData)) {\n\t// for (let i = 0; i < 4; i++) {\n\t// state.digits[index + i] = pastedData[i];\n\t// }\n\t// onInput(index + 3); // Вызываем обработчик onInput для последнего инпута, чтобы обработать логику ввода\n\t// } else {\n\t// \tsetError({ response: {data: { errorCode: \"INPUT_ERROR\"}}})\n\t// }\n\t// };\n\n\tconst onInput = (index) => {\n\t const inputs = document.querySelectorAll('input');\n\t const nextInput = inputs[index + 1];\n\t const prevInput = index > 0 ? inputs[index - 1] : null;\n\n\t // Переход на следующий инпут\n\t if (state.digits[index] !== '' && state.digits[index] !== null && state.digits[index] !== undefined && index < 4) {\n\t if (index < 3) nextInput.focus();\n\t else firstInput.value.focus();\n\t }\n\n\t // Переход на предыдущий инпут при удалении\n\t if ((state.digits[index] === null || state.digits[index] === undefined || state.digits[index] === '') && index > 0) {\n\t prevInput.focus();\n\t }\n\n\t // Проверка введенного кода\n\t if (state.digits.every(digit => digit !== '')) {\n\t const enteredCode = state.digits.join('');\n\t const correctCode = twofa.state.code.code.toString();\n\n\t if (enteredCode === correctCode) {\n\t twofa.state.code.isValid = true;\n\n\t router.push({\n\t path: '/auth/enter-password',\n\t query: { type: twofa.state.code.type, method: route.query.method, returnUrl: route.query.returnUrl }\n\t });\n\n\t } else {\n\t setError({ response: {data: { errorCode: \"WRONG_CODE\"}}})\n\t firstInput.value.focus()\n\t state.digits = ['', '', '', ''];\n\t }\n\t }\n\t};\n</script>"],"names":["useRoute","useRouter","useI18n","reactive","watch","ref","twofa.sendCode","auth.state","setError","twofa.state"],"mappings":"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"}
@@ -4,7 +4,6 @@ import { useI18n } from "vue-i18n";
4
4
  import { state as state$1 } from "../../store/auth.js";
5
5
  import { state, sendCode } from "../../store/twofa.js";
6
6
  import { setError } from "../../../../globals/views/store/globals.js";
7
- import text from "../../localization/EnterCode.json.js";
8
7
  const _hoisted_1 = { class: "t-center pd-medium" };
9
8
  const _hoisted_2 = { class: "mn-b-medium" };
10
9
  const _hoisted_3 = { class: "mn-b-big t-transp" };
@@ -16,8 +15,7 @@ const _sfc_main = {
16
15
  const route = useRoute();
17
16
  const router = useRouter();
18
17
  const { t } = useI18n({
19
- useScope: "global",
20
- ...text
18
+ useScope: "global"
21
19
  });
22
20
  const state$2 = reactive({
23
21
  digits: ["", "", "", ""],
@@ -102,8 +100,8 @@ const _sfc_main = {
102
100
  };
103
101
  return (_ctx, _cache) => {
104
102
  return openBlock(), createElementBlock("section", _hoisted_1, [
105
- createElementVNode("h3", _hoisted_2, toDisplayString(unref(t)("verifyNumberTitle")), 1),
106
- createElementVNode("p", _hoisted_3, toDisplayString(unref(t)("instructions")), 1),
103
+ createElementVNode("h3", _hoisted_2, toDisplayString(unref(t)("auth.enterCode.verifyNumberTitle")), 1),
104
+ createElementVNode("p", _hoisted_3, toDisplayString(unref(t)("auth.enterCode.instructions")), 1),
107
105
  createElementVNode("div", _hoisted_4, [
108
106
  withDirectives(createElementVNode("input", {
109
107
  type: "number",
@@ -156,7 +154,7 @@ const _sfc_main = {
156
154
  key: 0,
157
155
  onClick: sendAgain,
158
156
  class: "t-blue"
159
- }, toDisplayString(unref(t)("resendCode")), 1)) : (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(resendTimer.value) + " " + toDisplayString(unref(t)("secondsResend")), 1))
157
+ }, toDisplayString(unref(t)("auth.enterCode.resendCode")), 1)) : (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(resendTimer.value) + " " + toDisplayString(unref(t)("auth.enterCode.secondsResend")), 1))
160
158
  ]);
161
159
  };
162
160
  }