@ozdao/martyrs 0.2.482 → 0.2.483

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 (279) hide show
  1. package/dist/{Media-JBERcJWj.js → Media-C57G7rnE.js} +1 -1
  2. package/dist/{Media-p7Q8ZAQM.cjs → Media-DjnpKS62.cjs} +1 -1
  3. package/dist/_virtual/_commonjsHelpers.cjs +2 -0
  4. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -1
  5. package/dist/_virtual/_commonjsHelpers.js +2 -0
  6. package/dist/_virtual/_commonjsHelpers.js.map +1 -1
  7. package/dist/_virtual/index2.cjs +8 -0
  8. package/dist/_virtual/index2.cjs.map +1 -0
  9. package/dist/_virtual/index2.js +8 -0
  10. package/dist/_virtual/index2.js.map +1 -0
  11. package/dist/_virtual/index3.cjs +5 -0
  12. package/dist/_virtual/index3.cjs.map +1 -0
  13. package/dist/_virtual/index3.js +5 -0
  14. package/dist/_virtual/index3.js.map +1 -0
  15. package/dist/{main-AtCVQKF9.js → main-CXQqAVVb.js} +2002 -1937
  16. package/dist/main-De5X_RUk.cjs +11 -0
  17. package/dist/martyrs/src/components/Button/{Button.vue2.cjs → Button.vue.cjs} +2 -2
  18. package/dist/martyrs/src/components/Button/{Button.vue2.js.map → Button.vue.cjs.map} +1 -1
  19. package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +2 -2
  20. package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
  21. package/dist/martyrs/src/components/Chips/{Chips.vue2.cjs → Chips.vue.cjs} +2 -2
  22. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +1 -0
  23. package/dist/martyrs/src/components/Chips/{Chips.vue2.js → Chips.vue.js} +2 -2
  24. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -0
  25. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs +141 -113
  26. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs.map +1 -1
  27. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js +142 -114
  28. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js.map +1 -1
  29. package/dist/martyrs/src/components/Popup/{Popup.vue2.cjs → Popup.vue.cjs} +2 -2
  30. package/dist/martyrs/src/components/Popup/{Popup.vue2.js.map → Popup.vue.cjs.map} +1 -1
  31. package/dist/martyrs/src/components/Popup/{Popup.vue2.js → Popup.vue.js} +2 -2
  32. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -0
  33. package/dist/martyrs/src/components/Status/Status.vue.cjs +11 -5
  34. package/dist/martyrs/src/components/Status/Status.vue.cjs.map +1 -1
  35. package/dist/martyrs/src/components/Status/Status.vue.js +13 -7
  36. package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +6 -4
  38. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +6 -4
  40. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  41. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  42. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  43. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  45. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -1
  46. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +1 -1
  48. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  49. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +1 -1
  50. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  51. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
  52. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  53. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  54. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  55. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  56. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  57. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  58. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  59. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  60. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  61. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +17 -39
  62. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  63. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +18 -40
  64. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  65. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.cjs +1 -1
  66. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.js +1 -1
  67. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.cjs +1 -1
  68. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.js +1 -1
  69. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.cjs +1 -1
  70. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.js +1 -1
  71. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.cjs +1 -1
  72. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.js +1 -1
  73. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.cjs +1 -1
  74. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.js +1 -1
  75. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  76. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  77. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
  78. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
  79. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  80. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  81. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  82. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  83. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  84. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  85. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  87. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  88. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  89. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  90. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  91. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -1
  92. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  93. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
  94. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
  95. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  96. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  97. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  98. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  99. package/dist/martyrs/src/modules/globals/globals.client.cjs +11 -0
  100. package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
  101. package/dist/martyrs/src/modules/globals/globals.client.js +11 -0
  102. package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
  103. package/dist/martyrs/src/modules/globals/locales/en.cjs +24 -0
  104. package/dist/martyrs/src/modules/globals/locales/en.cjs.map +1 -0
  105. package/dist/martyrs/src/modules/globals/locales/en.js +24 -0
  106. package/dist/martyrs/src/modules/globals/locales/en.js.map +1 -0
  107. package/dist/martyrs/src/modules/globals/locales/ru.cjs +24 -0
  108. package/dist/martyrs/src/modules/globals/locales/ru.cjs.map +1 -0
  109. package/dist/martyrs/src/modules/globals/locales/ru.js +24 -0
  110. package/dist/martyrs/src/modules/globals/locales/ru.js.map +1 -0
  111. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +71 -0
  112. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs.map +1 -0
  113. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +71 -0
  114. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js.map +1 -0
  115. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.cjs +1 -1
  116. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.js +1 -1
  117. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  118. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  119. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +2 -2
  120. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +2 -2
  121. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +2 -2
  122. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +2 -2
  123. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +51 -45
  124. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  125. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +51 -45
  126. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  127. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  128. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  129. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  130. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  131. package/dist/martyrs/src/modules/globals/views/store/globals.cjs.map +1 -1
  132. package/dist/martyrs/src/modules/globals/views/store/globals.js.map +1 -1
  133. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +52 -58
  134. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
  135. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +52 -58
  136. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
  137. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +1 -1
  139. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  140. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  141. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  143. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  144. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  145. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  146. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  147. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  148. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  149. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  150. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  151. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  152. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  153. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  154. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  155. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  156. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  157. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
  158. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
  159. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  160. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  161. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  162. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  163. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  164. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  165. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  166. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  167. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  168. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  169. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  170. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  171. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +1 -1
  172. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
  173. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +1 -1
  174. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +1 -1
  175. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  176. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  177. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  178. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  179. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +2 -2
  180. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +2 -2
  181. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  182. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  183. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +3 -3
  184. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  185. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +3 -3
  186. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
  187. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  188. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  189. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +2 -2
  190. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +2 -2
  191. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +2 -2
  192. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  193. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +1 -1
  194. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +1 -1
  195. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +1 -1
  196. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +1 -1
  197. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
  198. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  199. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
  200. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  201. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +2 -1
  202. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +1 -1
  203. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +2 -1
  204. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js.map +1 -1
  205. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +1 -1
  206. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  207. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  208. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  209. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +1 -1
  210. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  211. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  212. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  213. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  214. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  215. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  216. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  217. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  218. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  219. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
  220. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
  221. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
  222. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  223. package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs +1 -1
  224. package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js +1 -1
  225. package/dist/martyrs.cjs.js +1 -1
  226. package/dist/martyrs.css +1 -1
  227. package/dist/martyrs.es.js +1 -1
  228. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +1 -1
  229. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  230. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +1 -1
  231. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  232. package/dist/node_modules/lodash.merge/index.cjs +689 -0
  233. package/dist/node_modules/lodash.merge/index.cjs.map +1 -0
  234. package/dist/node_modules/lodash.merge/index.js +689 -0
  235. package/dist/node_modules/lodash.merge/index.js.map +1 -0
  236. package/dist/style.css +53 -75
  237. package/package.json +1 -1
  238. package/src/components/FieldPhone/FieldPhone.vue +337 -238
  239. package/src/components/Status/Status.vue +10 -7
  240. package/src/modules/auth/views/components/layouts/Auth.vue +1 -1
  241. package/src/modules/auth/views/components/sections/SliderFeatures.vue +13 -79
  242. package/src/modules/auth/views/localization/EnterCode.json +2 -2
  243. package/src/modules/auth/views/localization/EnterPassword.json +2 -2
  244. package/src/modules/auth/views/localization/ResetPassword.json +2 -2
  245. package/src/modules/auth/views/localization/SignIn.json +2 -2
  246. package/src/modules/auth/views/localization/SignUp.json +2 -2
  247. package/src/modules/globals/globals.client.js +15 -1
  248. package/src/modules/globals/locales/en.js +21 -0
  249. package/src/modules/globals/locales/index.js +8 -0
  250. package/src/modules/globals/locales/ru.js +21 -0
  251. package/src/modules/globals/views/classes/globals.i18n.js +84 -0
  252. package/src/modules/globals/views/components/layouts/Client.vue +43 -40
  253. package/src/modules/globals/views/components/partials/Footer.vue +162 -162
  254. package/src/modules/globals/views/store/globals.js +0 -40
  255. package/src/modules/marketplace/views/components/layouts/Marketplace.vue +34 -38
  256. package/src/modules/products/components/pages/Product.vue +1 -1
  257. package/src/modules/products/components/sections/ProductsPopular.vue +3 -2
  258. package/src/modules/wallet/views/localization/wallet.json +2 -2
  259. package/dist/main-B-we7C0w.cjs +0 -11
  260. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +0 -1
  261. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +0 -1
  262. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +0 -1
  263. package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +0 -1
  264. package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +0 -194
  265. package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +0 -1
  266. package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +0 -194
  267. package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +0 -1
  268. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +0 -43
  269. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.map +0 -1
  270. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -43
  271. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js.map +0 -1
  272. package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +0 -43
  273. package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs.map +0 -1
  274. package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +0 -43
  275. package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js.map +0 -1
  276. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +0 -1630
  277. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +0 -1
  278. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1630
  279. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +0 -1
@@ -1,19 +1,16 @@
1
1
  <template>
2
2
  <div class="pd-small error-wrapper">
3
3
  <div class="
4
- flex-nowrap flex
4
+ flex-nowrap flex-v-center flex
5
5
  radius-small
6
6
  pd-small
7
7
  t-white
8
8
  bg-fourth
9
9
  ">
10
+ <IconInfo fill="rgb(var(--white))" class="t-transp i-medium mn-r-thin z-index-5"/>
10
11
  <p class="w-100">
11
- {{data.message}}
12
- <!-- <span class="t-semi">Ошибка: {{status}} </span> -->
13
- <br>
14
- <!-- <span>Сообщение: {{message}}</span> -->
12
+ {{te(`globals.errors.${data.message}`) ? t(`globals.errors.${data.message}`) : data.message}}
15
13
  </p>
16
-
17
14
  <IconCross @click="closeError()" class="cursor-pointer hover-scale-1 i-regular z-index-5"/>
18
15
  </div>
19
16
  </div>
@@ -22,10 +19,16 @@
22
19
 
23
20
  <script setup="props">
24
21
  import { computed } from 'vue'
22
+ import { useI18n } from 'vue-i18n'
23
+
24
+ import IconInfo from '@martyrs/src/modules/icons/navigation/IconInfo.vue';
25
25
  import IconCross from '@martyrs/src/modules/icons/navigation/IconCross.vue';
26
26
 
27
- const emits = defineEmits('close')
27
+ const { t, te } = useI18n({
28
+ useScope: 'global',
29
+ })
28
30
 
31
+ const emits = defineEmits('close')
29
32
  const props = defineProps({
30
33
  status: String,
31
34
  message: String,
@@ -20,7 +20,7 @@
20
20
  </router-view>
21
21
 
22
22
  <section class="w-100 desktop-only o-hidden radius-big bg-grad-main">
23
- <!-- <SliderFeatures/> -->
23
+ <SliderFeatures/>
24
24
  </section>
25
25
  </div>
26
26
  </template>
@@ -1,9 +1,7 @@
1
1
  <script setup>
2
- import { ref, onMounted } from 'vue'
2
+ import { computed } from 'vue'
3
3
  import { useI18n } from 'vue-i18n'
4
-
5
- import emblaCarouselVue from 'embla-carousel-vue';
6
- import Autoplay from 'embla-carousel-autoplay'
4
+ import Slider from '@martyrs/src/components/Slider/Slider.vue'
7
5
 
8
6
  const text = {
9
7
  messages: {
@@ -37,7 +35,6 @@ const text = {
37
35
  title: "Зажигай и Развивайся",
38
36
  description: "Закажи шмали, курни и зарабатывай токены Weeder. Чем больше курнешь, тем больше кэша у тебя в кармане, чувак.",
39
37
  },
40
-
41
38
  {
42
39
  title: "Веселись с Нашим Сообществом",
43
40
  description: "Найди самые крутые сорта и начни шмалить на девятом облаке вместе с нами.",
@@ -51,86 +48,23 @@ const text = {
51
48
  }
52
49
  }
53
50
 
54
- const { tm,rt } = useI18n(text)
55
-
56
-
57
-
58
-
59
- const selectedIndex = ref(0);
60
- const scrollSnaps = ref([]);
61
-
62
- const autoplayOptions = {
63
- delay: 2000,
64
- jump: false,
65
- stopOnInteraction: false,
66
- stopOnMouseEnter: false,
67
- stopOnFocusIn: true,
68
- stopOnLastSnap: false,
69
- rootNode: (emblaRoot) => emblaRoot.parentElement
70
- }
71
-
72
- const [emblaNode, emblaApi] = emblaCarouselVue({ loop: true }, [Autoplay(autoplayOptions)])
73
-
74
- const scrollTo = (index) => emblaApi.value && emblaApi.value.scrollTo(index);
75
- const onInit = (embla) => scrollSnaps.value = emblaApi.value.scrollSnapList();
76
- const onSelect = (embla) => selectedIndex.value = emblaApi.value.selectedScrollSnap();
77
-
78
- onMounted(async() => {
79
- onInit(emblaApi);
80
- onSelect(emblaApi);
81
-
82
- emblaApi.value.on('reInit', onInit);
83
- emblaApi.value.on('reInit', onSelect);
84
- emblaApi.value.on('select', onSelect);
85
- });
51
+ const { tm } = useI18n(text)
52
+ const features = computed(() => tm('features'))
86
53
  </script>
87
54
 
88
55
  <template>
89
- <div class="embla" ref="emblaNode">
90
- <div class="embla__container">
91
- <div class="embla__slide pd-nano" v-for="(feature, index) in tm('features')" :key="index">
92
- <div class="parent-div" :style="`background-image: url(/assets/images/features/${index}.png); background-size:cover; background-position: center center;`">
93
- <div class="background-div"></div>
94
- <h4 class="mn-b-small">{{ feature.title }}</h4>
95
- <p class='mn-b-big mn-r-small mn-l-small'>{{ feature.description }}</p>
96
- </div>
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>
97
62
  </div>
98
63
  </div>
99
- </div>
64
+ </Slider>
100
65
  </template>
101
66
 
102
67
  <style lang="scss">
103
- .carousel__track {
104
- height: 100%;
105
- }
106
- .carousel-controls {
107
- position: absolute;
108
- top: 0;
109
- right: 0;
110
- }
111
-
112
- .carousel-indicators {
113
- position: absolute;
114
- bottom: 0;
115
- left: 0;
116
- right: 0;
117
- display: flex;
118
- justify-content: center;
119
- }
120
-
121
- .carousel-indicators li {
122
- list-style: none;
123
- margin: 0 5px;
124
- width: 10px;
125
- height: 10px;
126
- background: gray;
127
- border-radius: 50%;
128
- }
129
-
130
- .carousel-indicators li.active {
131
- background: white;
132
- }
133
-
134
68
  .parent-div {
135
69
  display: flex;
136
70
  flex-direction: column;
@@ -139,6 +73,6 @@ onMounted(async() => {
139
73
  }
140
74
 
141
75
  .background-div {
142
- flex-grow: 1 // Занимает все оставшееся пространство
76
+ flex-grow: 1; // Занимает все оставшееся пространство
143
77
  }
144
- </style>
78
+ </style>
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "messages": {
3
- "en-default": {
3
+ "en": {
4
4
  "verifyNumberTitle": "Verify Number",
5
5
  "instructions": "We have sent a registration code to your phone number. Please enter it in the field below:",
6
6
  "resendCode": "Send the code again",
7
7
  "secondsResend": "seconds to the possibility of sending the code again."
8
8
  },
9
- "ru-default": {
9
+ "ru": {
10
10
  "verifyNumberTitle": "Подтвердите номер",
11
11
  "instructions": "Мы отправили код регистрации на ваш номер телефона. Введите его в поле ниже:",
12
12
  "resendCode": "Отправить код еще раз",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "messages": {
3
- "en-default": {
3
+ "en": {
4
4
  "almostDone": "Almost there!",
5
5
  "newPasswordPrompt": "Please, set a new password.",
6
6
  "registrationPasswordPrompt": "Please, set your password to complete the registration.",
@@ -9,7 +9,7 @@
9
9
  "changePasswordBtn": "Change Password",
10
10
  "registerBtn": "Register"
11
11
  },
12
- "ru-default": {
12
+ "ru": {
13
13
  "almostDone": "Почти все!",
14
14
  "newPasswordPrompt": "Пожалуйста, укажите новый пароль.",
15
15
  "registrationPasswordPrompt": "Пожалуйста, укажите пароль, на этом регистрация будет закончена.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "messages": {
3
- "en-default": {
3
+ "en": {
4
4
  "forgotPasswordTitle": "Forgot Password?",
5
5
  "instructions": "To reset your password, specify the phone or email used during registration.",
6
6
  "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.",
@@ -11,7 +11,7 @@
11
11
  "emailPlaceholder": "Enter your email",
12
12
  "sendCode": "Send code"
13
13
  },
14
- "ru-default": {
14
+ "ru": {
15
15
  "forgotPasswordTitle": "Забыли пароль?",
16
16
  "instructions": "Чтобы сбросить пароль, укажите телефон или email, использованные при регистрации.",
17
17
  "smsInfo": "Мы вышлем вам SMS с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "messages": {
3
- "en-default": {
3
+ "en": {
4
4
  "title": "Welcome to OZ DAO,",
5
5
  "subtitle": "Sign In to Continue",
6
6
  "signup": "Don't have an account?",
@@ -15,7 +15,7 @@
15
15
  "signin_apple": "Sign In with Apple",
16
16
  "soon": "SOON"
17
17
  },
18
- "ru-default": {
18
+ "ru": {
19
19
  "title": "Приветствуем вас,",
20
20
  "subtitle": "Войдите для продолжения",
21
21
  "signup": "Нет аккаунта?",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "messages": {
3
- "en-default": {
3
+ "en": {
4
4
  "title": "Sign Up",
5
5
  "description": "Choose a convenient way to register via phone or email:",
6
6
  "phone": "Phone",
@@ -12,7 +12,7 @@
12
12
  "sendCode": "Send Code",
13
13
  "haveAccount": "Already have an account?"
14
14
  },
15
- "ru-default": {
15
+ "ru": {
16
16
  "title": "Новая учетная запись",
17
17
  "description": "Выберите удобный способ регистрации через телефон или email:",
18
18
  "phone": "Телефон",
@@ -25,13 +25,27 @@ import datePickerPlugin from './views/plugins/date-picker.plugin.js';
25
25
  import storeDebuggerPlugin from './views/plugins/store-debugger/store-debugger.plugin.js';
26
26
 
27
27
  import store from './views/classes/store.js';
28
-
29
28
  import websockets from './views/classes/globals.websocket.js';
29
+ import { i18nManager } from '@martyrs/src/modules/globals/views/classes/globals.i18n.js';
30
+
31
+ import en from './locales/en.js';
32
+ import ru from './locales/ru.js';
33
+
30
34
 
31
35
  // Пример функции инициализации для модуля заказов
32
36
  function initializeGlobals(app, store, router, config, options = {}) {
33
37
  const route = options.route || 'Home';
34
38
 
39
+ const locales = {
40
+ en: en,
41
+ ru: ru,
42
+ es: {} // или es: undefined
43
+ };
44
+
45
+ i18nManager.register('globals', locales);
46
+
47
+ console.log('mesages is', i18nManager.getAllMessages())
48
+
35
49
  const envVariables = ['NODE_ENV', 'PORT', 'APP_NAME', 'DOMAIN_URL', 'API_URL', 'WSS_URL', 'FILE_SERVER_URL', 'WDT_TOKEN', 'WDM_URL_PROD', 'GOOGLE_MAPS_API_KEY', 'MOBILE_APP'];
36
50
 
37
51
  app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;
@@ -0,0 +1,21 @@
1
+ // @martyrs/src/modules/globals/locales/en.js
2
+ export default {
3
+ globals: {
4
+ errors: {
5
+ USER_NOT_FOUND: 'Such user is not registered',
6
+ USER_ALREADY_REGISTERED: 'Such user is already registered!',
7
+ USER_NOT_REGISTERED_YET: 'This user has not been registered yet!',
8
+ USER_PHONE_OR_PASSWORD_NOT_FOUND: 'User with such phone or password not found!',
9
+ INCORRECT_PASSWORD_ENTERED: 'You entered an incorrect password!',
10
+ INVALID_INVITATION_CODE: 'Incorrect invitation code.',
11
+ MISSING_REQUIRED_PARAMETERS: 'Missing required parameters.',
12
+ ERROR_UPDATING_USER: 'Something wrong when updating user.',
13
+ PASSWORDS_DO_NOT_MATCH: 'The passwords you entered do not match. Please correct the errors and try again.',
14
+ CODE_NOT_SENT: 'Something went wrong and the code was not sent. Please try again.',
15
+ INPUT_ERROR: 'Please enter only a four-digit code.',
16
+ WRONG_CODE: 'You entered an incorrect code. Please try again.',
17
+ POST_URL_ALREADY_IN_USE: 'Failed! Blogpost with this URL is already in use!',
18
+ NAME_CANNOT_BE_EMPTY: 'Error: Name cannot be empty. Please enter a name.',
19
+ }
20
+ }
21
+ };
@@ -0,0 +1,8 @@
1
+ // @martyrs/src/modules/globals/locales/index.js
2
+ import en from './en.js';
3
+ import ru from './ru.js';
4
+
5
+ export default {
6
+ en,
7
+ ru
8
+ };
@@ -0,0 +1,21 @@
1
+ // @martyrs/src/modules/globals/locales/ru.js
2
+ export default {
3
+ globals: {
4
+ errors: {
5
+ USER_NOT_FOUND: 'Такой пользователь не зарегистрирован!',
6
+ USER_ALREADY_REGISTERED: 'Такой пользователь уже зарегистрирован!',
7
+ USER_NOT_REGISTERED_YET: 'Такой пользователь еще не зарегистрирован!',
8
+ USER_PHONE_OR_PASSWORD_NOT_FOUND: 'Пользователь с таким телефоном или паролем не найден!',
9
+ INCORRECT_PASSWORD_ENTERED: 'Вы ввели неверный пароль!',
10
+ INVALID_INVITATION_CODE: 'Неверный код приглашения',
11
+ MISSING_REQUIRED_PARAMETERS: 'Отсутствуют необходимые параметры.',
12
+ ERROR_UPDATING_USER: 'Произошла ошибка при обновлении пользователя.',
13
+ PASSWORDS_DO_NOT_MATCH: 'Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.',
14
+ CODE_NOT_SENT: 'Что-то пошло не так и код не был отправлен. Попробуйте еще раз.',
15
+ INPUT_ERROR: 'Вставьте только четырехзначный код.',
16
+ WRONG_CODE: 'Вы ввели неверный код. Попробуйте еще раз.',
17
+ POST_URL_ALREADY_IN_USE: 'Ошибка! Публикация с этим URL уже используется!',
18
+ NAME_CANNOT_BE_EMPTY: 'Ошибка: Название не может быть пустым. Пожалуйста, введите название.',
19
+ }
20
+ }
21
+ };
@@ -0,0 +1,84 @@
1
+ import merge from 'lodash.merge';
2
+
3
+ class I18nManager {
4
+ constructor() {
5
+ this.moduleLocales = new Map();
6
+ this.overrides = new Map();
7
+ this.extensions = new Map();
8
+ }
9
+
10
+ register(moduleName, locales) {
11
+ if (typeof moduleName !== 'string' || !this.isValidLocales(locales)) {
12
+ throw new TypeError('Invalid arguments for register()');
13
+ }
14
+ this.moduleLocales.set(moduleName, locales);
15
+ return this;
16
+ }
17
+
18
+ extend(moduleName, locales) {
19
+ if (!this.isValidLocales(locales)) throw new TypeError('Invalid locales for extend()');
20
+ const existing = this.extensions.get(moduleName) || {};
21
+ merge(existing, locales);
22
+ this.extensions.set(moduleName, existing);
23
+ return this;
24
+ }
25
+
26
+ override(moduleName, locales) {
27
+ if (!this.isValidLocales(locales)) throw new TypeError('Invalid locales for override()');
28
+ const existing = this.overrides.get(moduleName) || {};
29
+ merge(existing, locales);
30
+ this.overrides.set(moduleName, existing);
31
+ return this;
32
+ }
33
+
34
+ getMessages(locale) {
35
+ const result = {};
36
+
37
+ for (const [, moduleLocales] of this.moduleLocales) {
38
+ if (moduleLocales[locale]) {
39
+ merge(result, moduleLocales[locale]);
40
+ }
41
+ }
42
+
43
+ for (const [, ext] of this.extensions) {
44
+ if (ext[locale]) {
45
+ merge(result, ext[locale]);
46
+ }
47
+ }
48
+
49
+ for (const [, override] of this.overrides) {
50
+ if (override[locale]) {
51
+ merge(result, override[locale]);
52
+ }
53
+ }
54
+
55
+ return result;
56
+ }
57
+
58
+ getAllMessages() {
59
+ const allLocales = new Set();
60
+
61
+ for (const moduleLocales of this.moduleLocales.values()) {
62
+ Object.keys(moduleLocales).forEach(locale => allLocales.add(locale));
63
+ }
64
+
65
+ const messages = {};
66
+
67
+ for (const locale of allLocales) {
68
+ messages[locale] = this.getMessages(locale);
69
+ }
70
+
71
+ return messages;
72
+ }
73
+
74
+ isValidLocales(obj) {
75
+ return this.isObject(obj) && Object.values(obj).every(this.isObject);
76
+ }
77
+
78
+ isObject(item) {
79
+ return item && typeof item === 'object' && !Array.isArray(item);
80
+ }
81
+ }
82
+
83
+ export const i18nManager = new I18nManager();
84
+ export default I18nManager;
@@ -114,37 +114,48 @@
114
114
  </component>
115
115
  <!-- rows-1-min0_max1 z-index-1 pos-relative w-100 h-100 -->
116
116
  <div class="rows-1-min0_max1 z-index-1 pos-relative w-100 h-100">
117
- <Status
118
- v-if="globals.state.error.show"
119
- :data="globals.state.error"
120
- @close="globals.state.error.show = false"
121
- class="z-index-7"
122
- />
123
- <Suspense @resolve="onSuspenseResolved">
124
- <router-view
125
- id="view"
126
- v-slot="{ Component, route }"
127
- :class="{
128
- 'scroll-hide': MOBILE_APP,
129
- }"
130
- class="o-y-scroll o-x-hidden flex flex-column pos-relative h-100"
131
- >
132
- <transition @before-enter="scrollTop" name="scaleTransition" mode="out-in" appear>
133
- <component
134
- ref="page"
135
- :is="Component"
136
- :key="route.path"
137
- class="w-100 h-min-100"
138
- @page-loading="handlePageLoading"
139
- @page-loaded="handlePageLoaded"
140
- />
141
- <!-- Key пока выключил непонятно какие проблемы это вызовет -->
142
- <!-- -->
143
- </transition>
144
-
145
- <!-- <Footer /> -->
146
- </router-view>
147
- </Suspense>
117
+ <div class="o-y-scroll o-x-hidden h-100">
118
+ <Status
119
+ v-if="globals.state.error.show"
120
+ :data="globals.state.error"
121
+ @close="globals.state.error.show = false"
122
+ class="z-index-7"
123
+ />
124
+ <div class="h-min-100 pos-relative w-100">
125
+ <Suspense @resolve="onSuspenseResolved">
126
+ <router-view
127
+ id="view"
128
+ v-slot="{ Component, route }"
129
+ :class="{
130
+ 'scroll-hide': MOBILE_APP,
131
+ }"
132
+ class="h-min-100 pos-relative w-100"
133
+ >
134
+ <transition @before-enter="scrollTop" name="scaleTransition" mode="out-in" appear>
135
+ <component
136
+ ref="page"
137
+ :is="Component"
138
+ :key="route.path"
139
+ class="w-100 h-min-100"
140
+ @page-loading="handlePageLoading"
141
+ @page-loaded="handlePageLoaded"
142
+ />
143
+ <!-- Key пока выключил непонятно какие проблемы это вызовет -->
144
+ <!-- -->
145
+ </transition>
146
+ </router-view>
147
+ </Suspense>
148
+ </div>
149
+
150
+ <component
151
+ v-if="!MOBILE_APP && route.meta.footer && !route.meta.hideFooter"
152
+ ref="footer"
153
+ :is="route.meta.footer"
154
+ :theme="headerTheme"
155
+ :logotype="route.meta.logotype"
156
+ :location="route.meta.location"
157
+ />
158
+ </div>
148
159
  </div>
149
160
  </section>
150
161
 
@@ -157,14 +168,7 @@
157
168
  />
158
169
  </router-view>
159
170
 
160
- <component
161
- v-if="!MOBILE_APP && route.meta.footer?.component && !route.meta.hideFooter"
162
- ref="footer"
163
- :is="route.meta.footer.component"
164
- :theme="headerTheme"
165
- :logotype="route.meta.footer.logotype"
166
- :location="route.meta.footer.location"
167
- />
171
+
168
172
 
169
173
  <component
170
174
  v-if="MOBILE_APP && route.meta.title_hide"
@@ -190,7 +194,6 @@
190
194
 
191
195
  import NavigationBar from '@martyrs/src/modules/globals/views/components/partials/NavigationBar.vue';
192
196
  import LocationSelection from '@martyrs/src/modules/globals/views/components/partials/LocationSelection.vue';
193
- // import Footer from '@martyrs/src/modules/globals/views/components/partials/Footer.vue'
194
197
 
195
198
  import ShopCart from '@martyrs/src/modules/orders/components/partials/ShopCart.vue';
196
199
  // PROPS