@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,76 @@
1
+ // @martyrs/src/modules/auth/locales/ru.js
2
+ export default {
3
+ auth: {
4
+ signIn: {
5
+ title: "Приветствуем вас,",
6
+ subtitle: "Войдите для продолжения",
7
+ signup: "Нет аккаунта?",
8
+ phone: "Телефон",
9
+ email: "Email",
10
+ phonePlaceholder: "Введите ваш телефон",
11
+ emailPlaceholder: "Введите ваш email",
12
+ haveAccount: "Нет аккаунта? Зарегистрироваться",
13
+ passwordPlaceholder: "Введите ваш пароль",
14
+ forgotPassword: "Забыли пароль?",
15
+ signin: "Войти",
16
+ signin_apple: "Войти через Apple",
17
+ soon: "СКОРО"
18
+ },
19
+ signUp: {
20
+ title: "Новая учетная запись",
21
+ description: "Выберите удобный способ регистрации через телефон или email:",
22
+ phone: "Телефон",
23
+ email: "Email",
24
+ phonePlaceholder: "Введите ваш телефон",
25
+ emailPlaceholder: "Введите ваш email",
26
+ emailNotice: "Мы отправим вам электронное письмо с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
27
+ smsNotice: "Мы вышлем вам SMS с кодом подтверждения, который вы должны будете ввести в следующем шаге.",
28
+ sendCode: "Отправить код",
29
+ haveAccount: "У вас уже есть аккаунт?"
30
+ },
31
+ enterCode: {
32
+ verifyNumberTitle: "Подтвердите номер",
33
+ instructions: "Мы отправили код регистрации на ваш номер телефона. Введите его в поле ниже:",
34
+ resendCode: "Отправить код еще раз",
35
+ secondsResend: "секунд до возможности отправить код еще раз."
36
+ },
37
+ resetPassword: {
38
+ forgotPasswordTitle: "Забыли пароль?",
39
+ instructions: "Чтобы сбросить пароль, укажите телефон или email, использованные при регистрации.",
40
+ smsInfo: "Мы вышлем вам SMS с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
41
+ emailInfo: "Мы отправим вам электронное письмо с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
42
+ phone: "Телефон",
43
+ email: "Email",
44
+ phonePlaceholder: "Введите ваш телефон",
45
+ emailPlaceholder: "Введите ваш email",
46
+ sendCode: "Отправить код"
47
+ },
48
+ enterPassword: {
49
+ almostDone: "Почти все!",
50
+ newPasswordPrompt: "Пожалуйста, укажите новый пароль.",
51
+ registrationPasswordPrompt: "Пожалуйста, укажите пароль, на этом регистрация будет закончена.",
52
+ passwordPlaceholder: "Пароль",
53
+ repeatPasswordPlaceholder: "Повторите пароль",
54
+ changePasswordBtn: "Поменять пароль",
55
+ registerBtn: "Зарегистрироваться"
56
+ },
57
+ features: [
58
+ {
59
+ title: "Что такое токен Weeder, Бро?",
60
+ description: "WDT - это как основа нашего крутого сообщества. Это деньги, это власть, это инвестиции. Круто, а?"
61
+ },
62
+ {
63
+ title: "Зажигай и Развивайся",
64
+ description: "Закажи шмали, курни и зарабатывай токены Weeder. Чем больше курнешь, тем больше кэша у тебя в кармане, чувак."
65
+ },
66
+ {
67
+ title: "Веселись с Нашим Сообществом",
68
+ description: "Найди самые крутые сорта и начни шмалить на девятом облаке вместе с нами."
69
+ },
70
+ {
71
+ title: "Покупайте, Когда Накурились",
72
+ description: "Закажи премиумную бошку и крутые аксессуары за пару кликов, чувак. Прямо к твоей двери!"
73
+ }
74
+ ]
75
+ }
76
+ };
@@ -2,7 +2,6 @@
2
2
  <div
3
3
  class="cols-2-1_2 gap-small pd-small"
4
4
  >
5
-
6
5
  <router-view
7
6
  class="pd-big mobile:pd-medium w-m-66r t-center"
8
7
  v-slot="{ Component, route }"
@@ -19,57 +18,16 @@
19
18
  </transition>
20
19
  </router-view>
21
20
 
22
- <section class="w-100 desktop-only o-hidden radius-big bg-grad-main">
21
+ <section class="w-100 desktop-only o-hidden radius-big bg-black t-white">
23
22
  <SliderFeatures/>
24
23
  </section>
25
24
  </div>
26
25
  </template>
27
26
 
28
27
  <script setup>
29
- // Import components
30
- import Tab from '@martyrs/src/components/Tab/Tab.vue'
31
- import Field from '@martyrs/src/components/Field/Field.vue'
32
- import Button from '@martyrs/src/components/Button/Button.vue'
33
- // Import blocks
34
28
  import SliderFeatures from '@martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue'
35
- // Import libs
36
- import { computed, onMounted, ref } from 'vue'
37
- import { useRoute, useRouter } from 'vue-router'
38
- // Import state
39
- import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'
40
- // Import validation
41
- import * as inputsValidation from '@martyrs/src/modules/auth/views/validations/inputs.validation'
42
29
 
43
- const phoneValidation = ref(null)
44
- const passswordValidation = ref(null)
45
- const emailValidation = ref(null)
46
- // Accessing router
47
- const route = useRoute()
48
- const router = useRouter()
49
- // Accessing state
50
- const tabAuth = ref('email')
51
- // Methods
52
- async function onSubmit() {
53
- try {
54
- await inputsValidation.validateInputs(
55
- emailValidation,
56
- inputsValidation.validateEmail,
57
- auth.state.user.email,
58
- 'Некорректный email'
59
- )
60
- await inputsValidation.validateInputs(
61
- passswordValidation,
62
- inputsValidation.validatePassword,
63
- auth.state.user.password,
64
- 'Некорректный пароль'
65
- )
66
- } catch (error) {
67
- throw new Error
68
- }
69
- await auth.actions.login(auth.state.user, tabAuth.value)
70
- }
30
+ import { useRoute } from 'vue-router'
71
31
 
72
- function redirectTo() {
73
- router.push({ name: 'Account' })
74
- }
32
+ const route = useRoute()
75
33
  </script>
@@ -3,10 +3,10 @@
3
3
  <!-- <img loading="lazy" src="@/assets/icons/message1.png" class="i-extra mn-b-small"> -->
4
4
 
5
5
  <h3 class="mn-b-medium">
6
- {{ t('verifyNumberTitle') }}
6
+ {{ t('auth.enterCode.verifyNumberTitle') }}
7
7
  </h3>
8
8
 
9
- <p class="mn-b-big t-transp">{{ t('instructions') }}</p>
9
+ <p class="mn-b-big t-transp">{{ t('auth.enterCode.instructions') }}</p>
10
10
 
11
11
  <div class="w-100 mn-b-big flex-nowrap flex">
12
12
  <input
@@ -49,18 +49,18 @@
49
49
  </div>
50
50
 
51
51
  <a v-if="resendTimer < 1" @click="sendAgain" class="t-blue">
52
- {{ t('resendCode') }}
52
+ {{ t('auth.enterCode.resendCode') }}
53
53
  </a>
54
54
 
55
55
  <span v-else>
56
- {{resendTimer}} {{ t('secondsResend') }}
56
+ {{resendTimer}} {{ t('auth.enterCode.secondsResend') }}
57
57
  </span>
58
58
  </section>
59
59
  </template>
60
60
 
61
61
  <script setup>
62
62
  // Import components
63
- import Field from '@martyrs/src/components/Field/Field.vue'
63
+ import Field from '@martyrs/src/components/Field/Field.vue'
64
64
  // Import libs
65
65
  import { computed,reactive,ref, onMounted, onBeforeMount, watch } from 'vue'
66
66
  import { useRoute,useRouter } from 'vue-router'
@@ -74,11 +74,9 @@
74
74
  const router = useRouter()
75
75
 
76
76
  // Localization
77
- import text from '@martyrs/src/modules/auth/views/localization/EnterCode.json'
78
77
  // Localization
79
78
  const { t } = useI18n({
80
79
  useScope: 'global',
81
- ...text
82
80
  })
83
81
 
84
82
  const state = reactive({
@@ -2,9 +2,9 @@
2
2
  <section class="t-left pd-medium">
3
3
  <!-- Header -->
4
4
  <!-- <img loading="lazy" src="@/assets/icons/password.png" class="i-extra mn-b-small"> -->
5
- <h3 class="mn-b-small">{{ t('almostDone') }}</h3>
6
- <p v-if="route.query.method === 'reset-password'" class="mn-b-semi t-transp">{{ t('newPasswordPrompt') }}</p>
7
- <p v-else class="mn-b-semi t-transp">{{ t('registrationPasswordPrompt') }}</p>
5
+ <h3 class="mn-b-small">{{ t('auth.enterPassword.almostDone') }}</h3>
6
+ <p v-if="route.query.method === 'reset-password'" class="mn-b-semi t-transp">{{ t('auth.enterPassword.newPasswordPrompt') }}</p>
7
+ <p v-else class="mn-b-semi t-transp">{{ t('auth.enterPassword.registrationPasswordPrompt') }}</p>
8
8
 
9
9
  <!-- Form -->
10
10
  <div class="mn-b-semi radius-small o-hidden">
@@ -12,13 +12,13 @@
12
12
  v-model:field="auth.state.user.password"
13
13
  type="password"
14
14
  :validation="passswordValidation"
15
- :placeholder="t('passwordPlaceholder')"
15
+ :placeholder="t('auth.enterPassword.passwordPlaceholder')"
16
16
  class="bg-light pd-small radius-small mn-b-thin"
17
17
  />
18
18
  <Field
19
19
  v-model:field="auth.state.user.passwordRepeat"
20
20
  type="password"
21
- :placeholder="t('repeatPasswordPlaceholder')"
21
+ :placeholder="t('auth.enterPassword.repeatPasswordPlaceholder')"
22
22
  class="bg-light pd-small radius-small mn-b-thin"
23
23
  />
24
24
  </div>
@@ -30,8 +30,8 @@
30
30
  </div>
31
31
  <!-- Button -->
32
32
  <Button :submit="onSubmit" :callback="redirectTo" class="w-100 bg-main mn-b-big">
33
- <span v-if="route.query.method === 'reset-password'">{{ t('changePasswordBtn') }}</span>
34
- <span v-else>{{ t('registerBtn') }}</span>
33
+ <span v-if="route.query.method === 'reset-password'">{{ t('auth.enterPassword.changePasswordBtn') }}</span>
34
+ <span v-else>{{ t('auth.enterPassword.registerBtn') }}</span>
35
35
  </Button>
36
36
  </section>
37
37
  </template>
@@ -51,11 +51,8 @@ import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'
51
51
  import * as inputsValidation from '@martyrs/src/modules/auth/views/validations/inputs.validation'
52
52
  const passswordValidation = ref(null)
53
53
  // Localization
54
- import text from '@martyrs/src/modules/auth/views/localization/EnterPassword.json'
55
- // Localization
56
54
  const { t } = useI18n({
57
55
  useScope: 'global',
58
- ...text
59
56
  })
60
57
  // Accessing router
61
58
  const route = useRoute()
@@ -2,8 +2,8 @@
2
2
  <section class="t-left pd-medium">
3
3
  <!-- <img loading="lazy" src="@/assets/icons/password.png" class="i-extra mn-b-small"> -->
4
4
  <!-- Header -->
5
- <h3 class="mn-b-small">{{ t('forgotPasswordTitle') }}</h3>
6
- <p class="mn-b-small t-transp">{{ t('instructions') }}</p>
5
+ <h3 class="mn-b-small">{{ t('auth.resetPassword.forgotPasswordTitle') }}</h3>
6
+ <p class="mn-b-small t-transp">{{ t('auth.resetPassword.instructions') }}</p>
7
7
 
8
8
  <!-- Select -->
9
9
  <div
@@ -22,7 +22,7 @@
22
22
  <!-- Phone -->
23
23
  <transition name="slide-fade">
24
24
  <div v-if="tabAuth === 'phone'" class="mn-b-semi radius-small">
25
- <p class="mn-b-small t-transp">{{ t('smsInfo') }}</p>
25
+ <p class="mn-b-small t-transp">{{ t('auth.resetPassword.smsInfo') }}</p>
26
26
  <FieldPhone
27
27
  @change="(event) => auth.state.user.phone = event"
28
28
  :dropdownOptions="{
@@ -32,7 +32,7 @@
32
32
  }"
33
33
  :validation="phoneValidation"
34
34
  mode="national"
35
- :inputOptions="{placeholder: t('phonePlaceholder')}"
35
+ :inputOptions="{placeholder: t('auth.resetPassword.phonePlaceholder')}"
36
36
  class="bg-light h-4r pd-small radius-small mn-b-thin"
37
37
  />
38
38
  </div>
@@ -40,10 +40,10 @@
40
40
  <!-- Email -->
41
41
  <transition name="slide-fade">
42
42
  <div v-if="tabAuth === 'email'" class="mn-b-semi radius-small o-hidden">
43
- <p class="mn-b-small t-transp">{{ t('emailInfo') }}</p>
43
+ <p class="mn-b-small t-transp">{{ t('auth.resetPassword.emailInfo') }}</p>
44
44
  <Field
45
45
  v-model:field="auth.state.user.email"
46
- :placeholder="t('emailPlaceholder')"
46
+ :placeholder="t('auth.resetPassword.emailPlaceholder')"
47
47
  :validation="emailValidation"
48
48
  class="bg-light h-4r pd-medium radius-small"
49
49
  />
@@ -51,7 +51,7 @@
51
51
  </transition>
52
52
  </div>
53
53
  <!-- Button -->
54
- <Button :submit="onSubmit" :callback="redirectTo" class="w-100 bg-main">{{ t('sendCode') }}</Button>
54
+ <Button :submit="onSubmit" :callback="redirectTo" class="w-100 bg-main">{{ t('auth.resetPassword.sendCode') }}</Button>
55
55
  </section>
56
56
  </template>
57
57
 
@@ -65,8 +65,6 @@ import Button from '@martyrs/src/components/Button/Button.vue'
65
65
  import { computed, onMounted, ref } from 'vue'
66
66
  import { useRoute, useRouter } from 'vue-router'
67
67
  import { useI18n } from 'vue-i18n'
68
- // Localization
69
- import text from '@martyrs/src/modules/auth/views/localization/ResetPassword.json'
70
68
  // Import state
71
69
  import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'
72
70
  import * as twofa from '@martyrs/src/modules/auth/views/store/twofa.js'
@@ -76,7 +74,6 @@ import * as inputsValidation from '@martyrs/src/modules/auth/views/validations/i
76
74
  // Localization
77
75
  const { t } = useI18n({
78
76
  useScope: 'global',
79
- ...text
80
77
  })
81
78
  // Validation
82
79
  const phoneValidation = ref(null)
@@ -87,8 +84,8 @@ const router = useRouter()
87
84
  // Accessing state
88
85
  const availableTabs = computed(() => {
89
86
  const tabs = [
90
- { name: t('phone'), value: 'phone' },
91
- { name: t('email'), value: 'email' }
87
+ { name: t('auth.resetPassword.phone'), value: 'phone' },
88
+ { name: t('auth.resetPassword.email'), value: 'email' }
92
89
  ];
93
90
  return tabs.filter(tab => !globals.state.options.auth.authMethodsExclude.includes(tab.value));
94
91
  });
@@ -4,13 +4,13 @@
4
4
  <img loading="lazy" :src="'/logo/logo.svg'" class="i-extra radius-small mn-b-small">
5
5
 
6
6
  <h3 class="mn-b-medium">
7
- {{ t('title') }}
7
+ {{ t('auth.signIn.title') }}
8
8
  <br>
9
- <span class="t-semi">{{ t('subtitle') }}</span>
9
+ <span class="t-semi">{{ t('auth.signIn.subtitle') }}</span>
10
10
  </h3>
11
11
 
12
12
  <p class="mn-b-big">
13
- <router-link :to="{name: 'Sign Up', query: { returnUrl: route.query?.returnUrl}}" class="underline t-second">{{ t('signup') }}</router-link>
13
+ <router-link :to="{name: 'Sign Up', query: { returnUrl: route.query?.returnUrl}}" class="underline t-second">{{ t('auth.signIn.signup') }}</router-link>
14
14
  </p>
15
15
 
16
16
  <!-- Select -->
@@ -40,7 +40,7 @@
40
40
  :validCharactersOnly="true"
41
41
  :validation="phoneValidation"
42
42
  mode="national"
43
- :inputOptions="{placeholder: t('phonePlaceholder'), type: 'tel'}"
43
+ :inputOptions="{placeholder: t('auth.signIn.phonePlaceholder'), type: 'tel'}"
44
44
  class="bg-light h-4r pd-small radius-small mn-b-thin"
45
45
  />
46
46
 
@@ -50,7 +50,7 @@
50
50
  <div v-show="tabAuth === 'email'" class="mn-b-thin radius-small o-hidden">
51
51
  <Field
52
52
  v-model:field="auth.state.user.email"
53
- :placeholder="t('emailPlaceholder')"
53
+ :placeholder="t('auth.signIn.emailPlaceholder')"
54
54
  :validation="emailValidation"
55
55
  :tabIndex="-1"
56
56
  class="bg-light h-4r pd-medium radius-small"
@@ -64,7 +64,7 @@
64
64
  v-model:field="auth.state.user.password"
65
65
  type="password"
66
66
  :validation="passswordValidation"
67
- :placeholder="t('passwordPlaceholder')"
67
+ :placeholder="t('auth.signIn.passwordPlaceholder')"
68
68
  class="
69
69
  bg-light
70
70
  pd-medium
@@ -79,7 +79,7 @@
79
79
  :to="{name: 'Reset Password', query: { returnUrl: route.query?.returnUrl}}"
80
80
  class="underline d-block t-blue"
81
81
  >
82
- {{ t('forgotPassword') }}
82
+ {{ t('auth.signIn.forgotPassword') }}
83
83
  </router-link>
84
84
  </div>
85
85
  <!-- Button -->
@@ -88,7 +88,7 @@
88
88
  :callback="redirectTo"
89
89
  class="w-100 bg-main"
90
90
  >
91
- {{ t('signin') }}
91
+ {{ t('auth.signIn.signin') }}
92
92
  </Button>
93
93
 
94
94
  <!-- <Button
@@ -96,7 +96,7 @@
96
96
  :callback="redirectTo"
97
97
  class="mn-b-thin bg-black t-white"
98
98
  >
99
- {{ t('signin_apple') }}
99
+ {{ t('auth.signIn.signin_apple') }}
100
100
  </Button> -->
101
101
  </section>
102
102
  </template>
@@ -111,8 +111,6 @@ import Button from '@martyrs/src/components/Button/Button.vue'
111
111
  import { computed, onMounted, ref, inject } from 'vue'
112
112
  import { useRoute, useRouter } from 'vue-router'
113
113
  import { useI18n } from 'vue-i18n'
114
- // Import localization
115
- import text from '@martyrs/src/modules/auth/views/localization/SignIn.json'
116
114
  // Import state
117
115
  import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'
118
116
  import * as globals from '@martyrs/src/modules/globals/views/store/globals.js'
@@ -127,14 +125,13 @@ const route = useRoute()
127
125
  const router = useRouter()
128
126
  // Localization
129
127
  const { t } = useI18n({
130
- useScope: 'global',
131
- ...text
128
+ useScope: 'global'
132
129
  })
133
130
  // Accessing state
134
131
  const availableTabs = computed(() => {
135
132
  const tabs = [
136
- { name: t('phone'), value: 'phone' },
137
- { name: t('email'), value: 'email' }
133
+ { name: t('auth.signIn.phone'), value: 'phone' },
134
+ { name: t('auth.signIn.email'), value: 'email' }
138
135
  ];
139
136
  return tabs.filter(tab => !globals.state.options.auth.authMethodsExclude.includes(tab.value));
140
137
  });
@@ -2,7 +2,7 @@
2
2
  <section class="t-left pd-medium">
3
3
  <!-- Header -->
4
4
  <!-- <img loading="lazy" src="@/assets/images/logo.svg" class="i-extra mn-b-small"> -->
5
- <h3 class="mn-b-small">{{t('title')}}</h3>
5
+ <h3 class="mn-b-small">{{t('auth.signUp.title')}}</h3>
6
6
 
7
7
  <!-- Select -->
8
8
  <div
@@ -21,7 +21,7 @@
21
21
  <!-- Phone -->
22
22
  <transition name="slide-fade">
23
23
  <div v-show="tabAuth === 'phone'" class="mn-b-semi radius-small">
24
- <p class="mn-b-small t-transp">{{t('smsNotice')}}</p>
24
+ <p class="mn-b-small t-transp">{{t('auth.signUp.smsNotice')}}</p>
25
25
  <FieldPhone
26
26
  @change="(event) => auth.state.user.phone = event"
27
27
  :dropdownOptions="{
@@ -31,7 +31,7 @@
31
31
  }"
32
32
  :validation="phoneValidation"
33
33
  mode="national"
34
- :inputOptions="{placeholder: t('phonePlaceholder')}"
34
+ :inputOptions="{placeholder: t('auth.signUp.phonePlaceholder')}"
35
35
  class="bg-light h-4r pd-small radius-small mn-b-thin"
36
36
  />
37
37
 
@@ -39,10 +39,10 @@
39
39
  </transition>
40
40
  <transition name="slide-fade">
41
41
  <div v-show="tabAuth === 'email'" class="mn-b-semi radius-small o-hidden">
42
- <p class="mn-b-small t-transp">{{t('emailNotice')}}</p>
42
+ <p class="mn-b-small t-transp">{{t('auth.signUp.emailNotice')}}</p>
43
43
  <Field
44
44
  v-model:field="auth.state.user.email"
45
- :placeholder="t('emailPlaceholder')"
45
+ :placeholder="t('auth.signUp.emailPlaceholder')"
46
46
  :validation="emailValidation"
47
47
  class="bg-light h-4r pd-medium radius-small"
48
48
  />
@@ -51,11 +51,11 @@
51
51
  </div>
52
52
 
53
53
  <!-- Button -->
54
- <Button :submit="onSubmit" :callback="redirectTo" class="w-100 bg-main mn-b-big">{{t('sendCode')}}</Button>
54
+ <Button :submit="onSubmit" :callback="redirectTo" class="w-100 bg-main mn-b-big">{{t('auth.signUp.sendCode')}}</Button>
55
55
 
56
56
  <!-- Links -->
57
57
  <div class="w-100">
58
- <router-link :to="{name: 'Sign In', query: { returnUrl: route.query.returnUrl}}" class="underline mn-b-medium d-block t-blue">{{t('haveAccount')}}</router-link>
58
+ <router-link :to="{name: 'Sign In', query: { returnUrl: route.query.returnUrl}}" class="underline mn-b-medium d-block t-blue">{{t('auth.signUp.haveAccount')}}</router-link>
59
59
  </div>
60
60
 
61
61
  </section>
@@ -71,8 +71,6 @@
71
71
  import { computed, onMounted, ref } from 'vue'
72
72
  import { useRoute, useRouter } from 'vue-router'
73
73
  import { useI18n } from 'vue-i18n'
74
- // Import localization
75
- import text from '@martyrs/src/modules/auth/views/localization/SignUp.json'
76
74
  // Import state
77
75
  import * as auth from '@martyrs/src/modules/auth/views/store/auth.js'
78
76
  import * as twofa from '@martyrs/src/modules/auth/views/store/twofa.js'
@@ -82,7 +80,6 @@
82
80
  // Localization
83
81
  const { t } = useI18n({
84
82
  useScope: 'global',
85
- ...text
86
83
  })
87
84
  // Validation
88
85
  const phoneValidation = ref(null)
@@ -94,8 +91,8 @@
94
91
  // Accessing state
95
92
  const availableTabs = computed(() => {
96
93
  const tabs = [
97
- { name: t('phone'), value: 'phone' },
98
- { name: t('email'), value: 'email' }
94
+ { name: t('auth.signUp.phone'), value: 'phone' },
95
+ { name: t('auth.signUp.email'), value: 'email' }
99
96
  ];
100
97
  return tabs.filter(tab => !globals.state.options.auth.authMethodsExclude.includes(tab.value));
101
98
  });
@@ -1,75 +1,50 @@
1
1
  <script setup>
2
2
  import { computed } from 'vue'
3
3
  import { useI18n } from 'vue-i18n'
4
- import Slider from '@martyrs/src/components/Slider/Slider.vue'
5
4
 
6
- const text = {
7
- messages: {
8
- en: {
9
- features: [
10
- {
11
- title: "What's the Weeder Token, Dude?",
12
- description: "WDT is like, the backbone of our rad community. It's cash, it's power, it's an investment. Groovy, right?",
13
- },
14
- {
15
- title: "Light Up and Level Up",
16
- description: "Order up, light up, and earn Weeder tokens. More tokes, more cash in your pocket, man.",
17
- },
18
- {
19
- title: "Hang Ten with Our Community",
20
- description: "Find the dopest strains and start floating on cloud 9 with us!",
21
- },
22
- {
23
- title: "Shop 'Til You Drop... Into Your Couch",
24
- description: "Score primo bud and gear with just a few clicks. Delivered right to your pad!",
25
- },
26
- ]
27
- },
28
- ru: {
29
- features: [
30
- {
31
- title: "Что такое токен Weeder, Бро?",
32
- description: "WDT - это как основа нашего крутого сообщества. Это деньги, это власть, это инвестиции. Круто, а?",
33
- },
34
- {
35
- title: "Зажигай и Развивайся",
36
- description: "Закажи шмали, курни и зарабатывай токены Weeder. Чем больше курнешь, тем больше кэша у тебя в кармане, чувак.",
37
- },
38
- {
39
- title: "Веселись с Нашим Сообществом",
40
- description: "Найди самые крутые сорта и начни шмалить на девятом облаке вместе с нами.",
41
- },
42
- {
43
- title: "Покупайте, Когда Накурились",
44
- description: "Закажи премиумную бошку и крутые аксессуары за пару кликов, чувак. Прямо к твоей двери!",
45
- },
46
- ]
47
- }
48
- }
49
- }
5
+ import Slider from '@martyrs/src/components/Slider/Slider.vue'
50
6
 
51
- const { tm } = useI18n(text)
52
- const features = computed(() => tm('features'))
7
+ const { tm } = useI18n({
8
+ useScope: 'global'
9
+ })
10
+ const features = computed(() => tm('auth.features'))
53
11
  </script>
54
12
 
55
13
  <template>
56
- <Slider :showDots="true" :slideCount="features.length">
57
- <div class="carousel__slide pd-nano" v-for="(feature, index) in features" :key="index">
58
- <div class="parent-div" :style="`background-image: url(/assets/images/features/${index}.png); background-size:cover; background-position: center center;`">
59
- <div class="background-div"></div>
60
- <h4 class="mn-b-small">{{ feature.title }}</h4>
61
- <p class='mn-b-big mn-r-small mn-l-small'>{{ feature.description }}</p>
14
+ <Slider :showDots="true" :slideCount="features.length" class="auth_slider h-100">
15
+ <div class="carousel__slide" v-for="(feature, index) in features" :key="index">
16
+ <div class="parent-div flex flex-h-center" >
17
+ <div class="background-div" :style="`background-image: url(/features/${index}.png);`"></div>
18
+ <div class="pd-big">
19
+ <h5 class="t-center w-100 mn-b-regular">{{ feature.title }}</h5>
20
+ <p class='t-center t-transp w-100'>{{ feature.description }}</p>
21
+ </div>
62
22
  </div>
63
23
  </div>
64
24
  </Slider>
65
25
  </template>
66
26
 
67
27
  <style lang="scss">
28
+ .auth_slider .carousel {
29
+ height: 100%;
30
+ }
31
+
32
+ .auth_slider .carousel__container {
33
+ height: 100%;
34
+ }
35
+
68
36
  .parent-div {
69
37
  display: flex;
70
38
  flex-direction: column;
71
39
  height: 100%;
72
40
  width: 100%;
41
+ object-fit: contain;
42
+ }
43
+
44
+ .background-div {
45
+ background-size:cover;
46
+ background-position: center center;
47
+ background-repeat: no-repeat;
73
48
  }
74
49
 
75
50
  .background-div {
@@ -136,6 +136,7 @@ export {
136
136
  mixins,
137
137
  scrollBehavior,
138
138
  store,
139
+ i18nManager,
139
140
  // Store
140
141
  storeGlobals,
141
142
  websockets,