@ozdao/martyrs 0.2.481 → 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 (541) hide show
  1. package/README.md +4 -13
  2. package/dist/{Media-CKk33U4A.js → Media-C57G7rnE.js} +1 -1
  3. package/dist/{Media-B1ZP3D7B.cjs → Media-DjnpKS62.cjs} +1 -1
  4. package/dist/_virtual/_commonjsHelpers.cjs +2 -0
  5. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -1
  6. package/dist/_virtual/_commonjsHelpers.js +2 -0
  7. package/dist/_virtual/_commonjsHelpers.js.map +1 -1
  8. package/dist/_virtual/index2.cjs +8 -0
  9. package/dist/_virtual/index2.cjs.map +1 -0
  10. package/dist/_virtual/index2.js +8 -0
  11. package/dist/_virtual/index2.js.map +1 -0
  12. package/dist/_virtual/index3.cjs +5 -0
  13. package/dist/_virtual/index3.cjs.map +1 -0
  14. package/dist/_virtual/index3.js +5 -0
  15. package/dist/_virtual/index3.js.map +1 -0
  16. package/dist/{abac-XF1JVCLI.cjs → abac-6LjoG9u-.cjs} +107 -26
  17. package/dist/{abac-BuL5pUZ4.js → abac-Cf_9lCSh.js} +107 -26
  18. package/dist/globals.server.cjs +1 -1
  19. package/dist/globals.server.js +1 -1
  20. package/dist/{main-BhAiwmnI.js → main-CXQqAVVb.js} +3036 -4278
  21. package/dist/main-De5X_RUk.cjs +11 -0
  22. package/dist/martyrs/src/components/Button/{Button.vue2.cjs → Button.vue.cjs} +2 -2
  23. package/dist/martyrs/src/components/Button/{Button.vue2.js.map → Button.vue.cjs.map} +1 -1
  24. package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +2 -2
  25. package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
  26. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +28 -7
  27. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +1 -1
  28. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +29 -8
  29. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
  30. package/dist/martyrs/src/components/Chips/Chips.vue.cjs +5 -8
  31. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +1 -1
  32. package/dist/martyrs/src/components/Chips/Chips.vue.js +6 -9
  33. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -1
  34. package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +84 -0
  35. package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +1 -0
  36. package/dist/martyrs/src/components/Feed/Carousel.vue.js +84 -0
  37. package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -0
  38. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +4 -4
  39. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  40. package/dist/martyrs/src/components/Feed/Feed.vue.js +4 -4
  41. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  42. package/dist/martyrs/src/components/Field/Field.vue.cjs +2 -1
  43. package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
  44. package/dist/martyrs/src/components/Field/Field.vue.js +2 -1
  45. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  46. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs +141 -113
  47. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs.map +1 -1
  48. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js +142 -114
  49. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js.map +1 -1
  50. package/dist/martyrs/src/components/Menu/{Menu.vue.cjs → Menu.vue2.cjs} +2 -2
  51. package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +1 -0
  52. package/dist/martyrs/src/components/Menu/{Menu.vue.js → Menu.vue2.js} +2 -2
  53. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +1 -0
  54. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs +203 -151
  55. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +1 -1
  56. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js +204 -152
  57. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js.map +1 -1
  58. package/dist/martyrs/src/components/Radio/Radio.vue.cjs +2 -2
  59. package/dist/martyrs/src/components/Radio/Radio.vue.cjs.map +1 -1
  60. package/dist/martyrs/src/components/Radio/Radio.vue.js +2 -2
  61. package/dist/martyrs/src/components/Radio/Radio.vue.js.map +1 -1
  62. package/dist/martyrs/src/components/Skeleton/Skeleton.vue.cjs +4 -3
  63. package/dist/martyrs/src/components/Skeleton/Skeleton.vue.cjs.map +1 -1
  64. package/dist/martyrs/src/components/Skeleton/Skeleton.vue.js +4 -3
  65. package/dist/martyrs/src/components/Skeleton/Skeleton.vue.js.map +1 -1
  66. package/dist/martyrs/src/components/Slider/{Slider.native.vue.cjs → Slider.vue.cjs} +22 -80
  67. package/dist/martyrs/src/components/Slider/Slider.vue.cjs.map +1 -0
  68. package/dist/martyrs/src/components/Slider/{Slider.native.vue.js → Slider.vue.js} +23 -81
  69. package/dist/martyrs/src/components/Slider/Slider.vue.js.map +1 -0
  70. package/dist/martyrs/src/components/Status/Status.vue.cjs +11 -5
  71. package/dist/martyrs/src/components/Status/Status.vue.cjs.map +1 -1
  72. package/dist/martyrs/src/components/Status/Status.vue.js +13 -7
  73. package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
  74. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs +4 -2
  75. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +1 -1
  76. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js +4 -2
  77. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +1 -1
  78. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +6 -4
  79. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  80. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +6 -4
  81. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  82. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  83. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  84. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  85. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  86. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +4 -2
  87. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
  88. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +5 -3
  89. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  90. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +22 -149
  91. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
  92. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +24 -151
  93. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
  94. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +77 -0
  95. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs.map +1 -0
  96. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +77 -0
  97. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -0
  98. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +121 -0
  99. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs.map +1 -0
  100. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +121 -0
  101. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js.map +1 -0
  102. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs +38 -0
  103. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs.map +1 -0
  104. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +38 -0
  105. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.map +1 -0
  106. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  107. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  108. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  109. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  110. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  111. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  112. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  113. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  114. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +17 -39
  115. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  116. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +18 -40
  117. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  118. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.cjs +1 -1
  119. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.js +1 -1
  120. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.cjs +1 -1
  121. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.js +1 -1
  122. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.cjs +1 -1
  123. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.js +1 -1
  124. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.cjs +1 -1
  125. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.js +1 -1
  126. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.cjs +1 -1
  127. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.js +1 -1
  128. package/dist/martyrs/src/modules/auth/views/router/users.cjs +23 -16
  129. package/dist/martyrs/src/modules/auth/views/router/users.cjs.map +1 -1
  130. package/dist/martyrs/src/modules/auth/views/router/users.js +23 -16
  131. package/dist/martyrs/src/modules/auth/views/router/users.js.map +1 -1
  132. package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +3 -3
  133. package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs.map +1 -1
  134. package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js +3 -3
  135. package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js.map +1 -1
  136. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +6 -6
  137. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +4 -3
  138. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
  139. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +4 -3
  140. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
  141. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  143. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs +92 -62
  144. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs.map +1 -1
  145. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +93 -63
  146. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
  147. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs +82 -53
  148. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
  149. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +82 -53
  150. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js.map +1 -1
  151. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +2 -6
  152. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
  153. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +2 -6
  154. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
  155. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  156. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  157. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  158. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  159. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  160. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  161. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  162. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  163. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +3 -9
  164. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs.map +1 -1
  165. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +3 -9
  166. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js.map +1 -1
  167. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +4 -4
  168. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  169. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +9 -9
  170. package/dist/martyrs/src/modules/globals/globals.client.cjs +13 -0
  171. package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
  172. package/dist/martyrs/src/modules/globals/globals.client.js +13 -0
  173. package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
  174. package/dist/martyrs/src/modules/globals/locales/en.cjs +24 -0
  175. package/dist/martyrs/src/modules/globals/locales/en.cjs.map +1 -0
  176. package/dist/martyrs/src/modules/globals/locales/en.js +24 -0
  177. package/dist/martyrs/src/modules/globals/locales/en.js.map +1 -0
  178. package/dist/martyrs/src/modules/globals/locales/ru.cjs +24 -0
  179. package/dist/martyrs/src/modules/globals/locales/ru.cjs.map +1 -0
  180. package/dist/martyrs/src/modules/globals/locales/ru.js +24 -0
  181. package/dist/martyrs/src/modules/globals/locales/ru.js.map +1 -0
  182. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +71 -0
  183. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs.map +1 -0
  184. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +71 -0
  185. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js.map +1 -0
  186. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  187. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
  188. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  189. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
  190. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +84 -0
  191. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs.map +1 -0
  192. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +84 -0
  193. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js.map +1 -0
  194. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
  195. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
  196. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +50 -44
  197. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  198. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +50 -44
  199. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  200. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  201. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  202. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  203. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  204. package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs +17 -0
  205. package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
  206. package/dist/martyrs/src/modules/globals/views/mixins/mixins.js +17 -0
  207. package/dist/martyrs/src/modules/globals/views/mixins/mixins.js.map +1 -1
  208. package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs +70 -0
  209. package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs.map +1 -0
  210. package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js +70 -0
  211. package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js.map +1 -0
  212. package/dist/martyrs/src/modules/globals/views/store/globals.cjs.map +1 -1
  213. package/dist/martyrs/src/modules/globals/views/store/globals.js.map +1 -1
  214. package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs +35 -0
  215. package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs.map +1 -0
  216. package/dist/martyrs/src/modules/icons/entities/IconList.vue.js +35 -0
  217. package/dist/martyrs/src/modules/icons/entities/IconList.vue.js.map +1 -0
  218. package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs +1 -3
  219. package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs.map +1 -1
  220. package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js +1 -3
  221. package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js.map +1 -1
  222. package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs +1 -3
  223. package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs.map +1 -1
  224. package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js +1 -3
  225. package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js.map +1 -1
  226. package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs +1 -3
  227. package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs.map +1 -1
  228. package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.js +1 -3
  229. package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.js.map +1 -1
  230. package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs +1 -3
  231. package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs.map +1 -1
  232. package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.js +1 -3
  233. package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.js.map +1 -1
  234. package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs +1 -3
  235. package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs.map +1 -1
  236. package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js +1 -3
  237. package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js.map +1 -1
  238. package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs +21 -20
  239. package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs.map +1 -1
  240. package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js +21 -20
  241. package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js.map +1 -1
  242. package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs +1 -3
  243. package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs.map +1 -1
  244. package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js +1 -3
  245. package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js.map +1 -1
  246. package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs +6 -13
  247. package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs.map +1 -1
  248. package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js +6 -13
  249. package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js.map +1 -1
  250. package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs +1 -3
  251. package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs.map +1 -1
  252. package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.js +1 -3
  253. package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.js.map +1 -1
  254. package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs +1 -3
  255. package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs.map +1 -1
  256. package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js +1 -3
  257. package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js.map +1 -1
  258. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +1 -3
  259. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
  260. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +41 -43
  261. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
  262. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +52 -58
  263. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
  264. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +52 -58
  265. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
  266. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs +8 -8
  267. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs.map +1 -1
  268. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js +8 -8
  269. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js.map +1 -1
  270. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +50 -51
  271. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs.map +1 -1
  272. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +51 -52
  273. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
  274. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  275. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  276. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  277. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  278. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  279. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  280. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  281. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  282. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  283. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  284. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  285. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  286. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  287. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  288. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  289. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  290. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  291. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  292. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  293. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  294. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  295. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  296. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  297. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  298. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  299. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  300. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +7 -4
  301. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
  302. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +18 -15
  303. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  304. package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -1
  305. package/dist/martyrs/src/modules/organizations/router/organizations.js +1 -1
  306. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  307. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  308. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  309. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  310. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  311. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  312. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +7 -2
  313. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
  314. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +8 -3
  315. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
  316. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +11 -12
  317. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs.map +1 -1
  318. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +12 -13
  319. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
  320. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +32 -23
  321. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs.map +1 -1
  322. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +35 -26
  323. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
  324. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs +4 -4
  325. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs.map +1 -1
  326. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +4 -4
  327. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -1
  328. package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs +7 -5
  329. package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs.map +1 -1
  330. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js +7 -5
  331. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
  332. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  333. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  334. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
  335. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  336. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +1 -1
  337. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +1 -1
  338. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  339. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +57 -40
  340. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  341. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +59 -42
  342. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
  343. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +105 -85
  344. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs.map +1 -1
  345. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +107 -87
  346. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
  347. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +1 -1
  348. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  349. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
  350. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
  351. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +145 -0
  352. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +1 -0
  353. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +145 -0
  354. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -0
  355. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +1 -1
  356. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
  357. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +46 -31
  358. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs.map +1 -1
  359. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +50 -35
  360. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
  361. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +44 -0
  362. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +1 -0
  363. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +44 -0
  364. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js.map +1 -0
  365. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +131 -0
  366. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +1 -0
  367. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +131 -0
  368. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -0
  369. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  370. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  371. package/dist/martyrs/src/modules/products/products.client.cjs +3 -3
  372. package/dist/martyrs/src/modules/products/products.client.cjs.map +1 -1
  373. package/dist/martyrs/src/modules/products/products.client.js +3 -3
  374. package/dist/martyrs/src/modules/products/products.client.js.map +1 -1
  375. package/dist/martyrs/src/modules/products/store/products.cjs +4 -0
  376. package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
  377. package/dist/martyrs/src/modules/products/store/products.js +4 -0
  378. package/dist/martyrs/src/modules/products/store/products.js.map +1 -1
  379. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  380. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  381. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  382. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  383. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  384. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
  385. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
  386. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
  387. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  388. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  389. package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs +1 -1
  390. package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js +1 -1
  391. package/dist/martyrs.cjs.js +1 -1
  392. package/dist/martyrs.css +1 -1
  393. package/dist/martyrs.es.js +1 -1
  394. package/dist/node_modules/lodash.merge/index.cjs +689 -0
  395. package/dist/node_modules/lodash.merge/index.cjs.map +1 -0
  396. package/dist/node_modules/lodash.merge/index.js +689 -0
  397. package/dist/node_modules/lodash.merge/index.js.map +1 -0
  398. package/dist/organizations.server.cjs +1 -1
  399. package/dist/organizations.server.js +1 -1
  400. package/dist/products.server.cjs +111 -34
  401. package/dist/products.server.js +111 -34
  402. package/dist/style.css +239 -235
  403. package/package.json +1 -1
  404. package/src/.martyrs/chunks.json +325 -0
  405. package/src/.martyrs/filemap.json +6802 -0
  406. package/src/.martyrs/semantic-analysis.json +307 -0
  407. package/src/.martyrs/toc.json +14 -0
  408. package/src/components/Button/Button.vue +2 -2
  409. package/src/components/Checkbox/Checkbox.vue +28 -16
  410. package/src/components/Chips/Chips.vue +4 -4
  411. package/src/components/Feed/Carousel.vue +72 -0
  412. package/src/components/Feed/Feed.vue +2 -2
  413. package/src/components/Field/Field.vue +1 -0
  414. package/src/components/FieldPhone/FieldPhone.vue +337 -238
  415. package/src/components/PhotoViewer/PhotoViewer.vue +307 -220
  416. package/src/components/Radio/Radio.vue +2 -10
  417. package/src/components/Skeleton/Skeleton.vue +9 -12
  418. package/src/components/Slider/Slider.vue +220 -100
  419. package/src/components/Status/Status.vue +10 -8
  420. package/src/components/Tooltip/Tooltip.vue +2 -2
  421. package/src/modules/auth/views/components/layouts/Auth.vue +1 -1
  422. package/src/modules/auth/views/components/pages/Profile.vue +1 -1
  423. package/src/modules/auth/views/components/pages/ProfileEdit.old.vue +189 -0
  424. package/src/modules/auth/views/components/pages/ProfileEdit.vue +19 -182
  425. package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +72 -0
  426. package/src/modules/auth/views/components/pages/ProfileEditProfile.vue +110 -0
  427. package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +28 -0
  428. package/src/modules/auth/views/components/sections/SliderFeatures.vue +13 -79
  429. package/src/modules/auth/views/localization/EnterCode.json +2 -2
  430. package/src/modules/auth/views/localization/EnterPassword.json +2 -2
  431. package/src/modules/auth/views/localization/ResetPassword.json +2 -2
  432. package/src/modules/auth/views/localization/SignIn.json +2 -2
  433. package/src/modules/auth/views/localization/SignUp.json +2 -2
  434. package/src/modules/auth/views/router/users.js +23 -12
  435. package/src/modules/community/components/blocks/FooterBlogpost.vue +3 -3
  436. package/src/modules/community/components/pages/BlogPost.vue +2 -1
  437. package/src/modules/community/components/sections/Comment.vue +161 -57
  438. package/src/modules/community/components/sections/Comments.vue +120 -63
  439. package/src/modules/community/components/sections/HotPosts.vue +7 -7
  440. package/src/modules/events/components/sections/EventsHot.vue +26 -33
  441. package/src/modules/globals/controllers/classes/abac/abac.core.js +3 -1
  442. package/src/modules/globals/controllers/classes/abac/abac.fields.js +126 -42
  443. package/src/modules/globals/controllers/classes/abac/v2/abac-core-fixed.js +313 -0
  444. package/src/modules/globals/controllers/classes/abac/v2/abac-express-fixed.js +276 -0
  445. package/src/modules/globals/controllers/classes/abac/v2/abac-fields-fixed.js +422 -0
  446. package/src/modules/globals/controllers/classes/abac/v2/abac-main-fixed.js +295 -0
  447. package/src/modules/globals/controllers/classes/abac/v2/abac-policies-fixed.js +316 -0
  448. package/src/modules/globals/controllers/classes/abac/v2/abac-ws-fixed.js +237 -0
  449. package/src/modules/globals/globals.client.js +17 -1
  450. package/src/modules/globals/locales/en.js +21 -0
  451. package/src/modules/globals/locales/index.js +8 -0
  452. package/src/modules/globals/locales/ru.js +21 -0
  453. package/src/modules/globals/views/classes/globals.i18n.js +84 -0
  454. package/src/modules/globals/views/components/blocks/CardFooter.vue +3 -3
  455. package/src/modules/globals/views/components/blocks/CardHeader.vue +1 -1
  456. package/src/modules/globals/views/components/blocks/PopupAuth.vue +66 -0
  457. package/src/modules/globals/views/components/layouts/Client.vue +43 -40
  458. package/src/modules/globals/views/components/partials/Footer.vue +162 -162
  459. package/src/modules/globals/views/mixins/mixins.js +37 -17
  460. package/src/modules/globals/views/plugins/popup.auth.plugin.js +77 -0
  461. package/src/modules/globals/views/store/globals.js +0 -40
  462. package/src/modules/icons/entities/IconList.vue +14 -0
  463. package/src/modules/icons/navigation/IconCheck.vue +1 -3
  464. package/src/modules/icons/navigation/IconDoubleCheck.vue +1 -3
  465. package/src/modules/icons/navigation/IconLike.vue +1 -3
  466. package/src/modules/icons/navigation/IconMute.vue +1 -3
  467. package/src/modules/icons/navigation/IconPause.vue +1 -3
  468. package/src/modules/icons/navigation/IconPlay.vue +12 -15
  469. package/src/modules/icons/navigation/IconRefresh.vue +1 -3
  470. package/src/modules/icons/navigation/IconShuffle.vue +11 -26
  471. package/src/modules/icons/navigation/IconUnMute.vue +1 -3
  472. package/src/modules/icons/navigation/IconVolume.vue +1 -3
  473. package/src/modules/icons/pages/IconsPage.vue +0 -2
  474. package/src/modules/marketplace/views/components/layouts/Marketplace.vue +34 -38
  475. package/src/modules/music/components/pages/AlbumDetail.vue +2 -2
  476. package/src/modules/music/components/pages/PlaylistDetail.vue +2 -2
  477. package/src/modules/music/components/pages/TrackDetail.vue +1 -1
  478. package/src/modules/music/components/player/MusicPlayer.vue +2 -2
  479. package/src/modules/notifications/components/blocks/NotificationItem.vue +6 -51
  480. package/src/modules/notifications/components/elements/NotificationBadge.vue +53 -97
  481. package/src/modules/organizations/configs/navigation.organization.config.js +8 -4
  482. package/src/modules/products/components/blocks/CardProduct.vue +8 -2
  483. package/src/modules/products/components/blocks/ProductDiscounts.vue +3 -4
  484. package/src/modules/products/components/blocks/ProductImages.vue +32 -23
  485. package/src/modules/products/components/blocks/ProductVariants.vue +6 -4
  486. package/src/modules/products/components/elements/Price.vue +3 -3
  487. package/src/modules/products/components/pages/Product.vue +32 -26
  488. package/src/modules/products/components/pages/ProductEdit.vue +95 -72
  489. package/src/modules/products/components/sections/EditRecommended.vue +131 -0
  490. package/src/modules/products/components/sections/ProductConfigurator.vue +35 -21
  491. package/src/modules/products/components/sections/ProductsPopular.vue +45 -0
  492. package/src/modules/products/components/sections/ProductsRecommended.vue +134 -0
  493. package/src/modules/products/controllers/configs/products.lookup.config.js +20 -15
  494. package/src/modules/products/controllers/products.controller.js +7 -22
  495. package/src/modules/products/models/category.model.js +28 -1
  496. package/src/modules/products/models/leftover.model.js +32 -0
  497. package/src/modules/products/models/product.model.js +37 -1
  498. package/src/modules/products/models/variant.model.js +35 -0
  499. package/src/modules/products/products.client.js +3 -3
  500. package/src/modules/products/routes/products.routes.js +1 -0
  501. package/src/modules/products/store/products.js +4 -0
  502. package/src/modules/wallet/views/localization/wallet.json +2 -2
  503. package/src/styles/base/all.scss +0 -38
  504. package/src/styles/base/shadow_transitions_hover_refactor.scss +20 -51
  505. package/src/styles/config.scss +51 -1
  506. package/dist/main-C75EcBpE.cjs +0 -11
  507. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +0 -1
  508. package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +0 -1
  509. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
  510. package/dist/martyrs/src/components/Slider/Slider.native.vue.cjs.map +0 -1
  511. package/dist/martyrs/src/components/Slider/Slider.native.vue.js.map +0 -1
  512. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs +0 -2
  513. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs.map +0 -1
  514. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.js +0 -2
  515. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.js.map +0 -1
  516. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs +0 -34
  517. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs.map +0 -1
  518. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js +0 -34
  519. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js.map +0 -1
  520. package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs +0 -124
  521. package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs.map +0 -1
  522. package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js +0 -124
  523. package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js.map +0 -1
  524. 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
  525. 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
  526. 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
  527. 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
  528. 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
  529. 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
  530. 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
  531. 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
  532. 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
  533. 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
  534. 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
  535. 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
  536. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +0 -1630
  537. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +0 -1
  538. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1630
  539. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +0 -1
  540. package/src/components/Slider/Slider.native.vue +0 -313
  541. package/src/modules/products/components/sections/PopularProducts.vue +0 -156
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
5
- ;/* empty css */
6
- ;/* empty css */
7
- ;/* empty css */
8
- const Slider_native = require("../../../../components/Slider/Slider.native.vue.cjs");
4
+ const Carousel = require("../../../../components/Feed/Carousel.vue.cjs");
9
5
  const Media = require("../../../../components/Media/Media.vue.cjs");
10
6
  const events = require("../../store/events.cjs");
11
7
  const auth = require("../../../auth/views/store/auth.cjs");
@@ -44,7 +40,7 @@ const _sfc_main = {
44
40
  setup(__props) {
45
41
  return (_ctx, _cache) => {
46
42
  const _component_router_link = vue.resolveComponent("router-link");
47
- return vue.openBlock(), vue.createBlock(Slider_native.default, {
43
+ return vue.openBlock(), vue.createBlock(Carousel.default, {
48
44
  store: {
49
45
  read: (options) => events.read({
50
46
  skip: __props.skip,
@@ -60,9 +56,7 @@ const _sfc_main = {
60
56
  },
61
57
  class: "slider-hotpost flex-child-default"
62
58
  }, {
63
- default: vue.withCtx(({
64
- item
65
- }) => [
59
+ default: vue.withCtx(({ item }) => [
66
60
  vue.createVNode(_component_router_link, {
67
61
  to: { name: "Event", params: { url: item.url } },
68
62
  class: "cursor-pointer pos-relative flex flex-justify-end flex-column h-25r bg-semi radius-medium o-hidden pd-medium t-white bg-dark"
@@ -1 +1 @@
1
- {"version":3,"file":"EventsHot.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"EventsHot.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,9 +1,5 @@
1
1
  import { resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createElementBlock, createCommentVNode, toDisplayString } from "vue";
2
- /* empty css */
3
- /* empty css */
4
- /* empty css */
5
- /* empty css */
6
- import SliderNative from "../../../../components/Slider/Slider.native.vue.js";
2
+ import Carousel from "../../../../components/Feed/Carousel.vue.js";
7
3
  import Media from "../../../../components/Media/Media.vue.js";
8
4
  import { read } from "../../store/events.js";
9
5
  import { state } from "../../../auth/views/store/auth.js";
@@ -42,7 +38,7 @@ const _sfc_main = {
42
38
  setup(__props) {
43
39
  return (_ctx, _cache) => {
44
40
  const _component_router_link = resolveComponent("router-link");
45
- return openBlock(), createBlock(SliderNative, {
41
+ return openBlock(), createBlock(Carousel, {
46
42
  store: {
47
43
  read: (options) => read({
48
44
  skip: __props.skip,
@@ -58,9 +54,7 @@ const _sfc_main = {
58
54
  },
59
55
  class: "slider-hotpost flex-child-default"
60
56
  }, {
61
- default: withCtx(({
62
- item
63
- }) => [
57
+ default: withCtx(({ item }) => [
64
58
  createVNode(_component_router_link, {
65
59
  to: { name: "Event", params: { url: item.url } },
66
60
  class: "cursor-pointer pos-relative flex flex-justify-end flex-column h-25r bg-semi radius-medium o-hidden pd-medium t-white bg-dark"
@@ -1 +1 @@
1
- {"version":3,"file":"EventsHot.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"EventsHot.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import { ref, createElementBlock, openBlock, createVNode, withCtx, unref, isRef, Fragment, renderList, createElementVNode } from "vue";
2
- import _sfc_main$4 from "../../../../components/Feed/Feed.vue.js";
2
+ import _sfc_main$3 from "../../../../components/Feed/Feed.vue.js";
3
3
  import _sfc_main$2 from "../../../../components/Popup/Popup.vue.js";
4
- import _sfc_main$3 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
4
+ import PhotoViewer from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
5
5
  import _sfc_main$1 from "../../../globals/views/components/sections/SectionPageTitle.vue.js";
6
6
  import gallery from "../../store/gallery.js";
7
7
  const _hoisted_1 = { class: "cols-1 bg-white gap-thin pd-thin" };
@@ -61,13 +61,13 @@ const _sfc_main = {
61
61
  class: "bg-black o-hidden w-100 h-100 radius-big"
62
62
  }, {
63
63
  default: withCtx(() => [
64
- createVNode(_sfc_main$3, {
64
+ createVNode(PhotoViewer, {
65
65
  photoUrl: (_ctx.FILE_SERVER_URL || "") + selectedPhoto.value.image
66
66
  }, null, 8, ["photoUrl"])
67
67
  ]),
68
68
  _: 1
69
69
  }, 8, ["isPopupOpen"]),
70
- createVNode(_sfc_main$4, {
70
+ createVNode(_sfc_main$3, {
71
71
  items: photos.value,
72
72
  "onUpdate:items": _cache[1] || (_cache[1] = ($event) => photos.value = $event),
73
73
  sort: unref(sort),
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- const Button = require("../../../../components/Button/Button.vue2.cjs");
5
+ const Button = require("../../../../components/Button/Button.vue.cjs");
6
6
  const Chips = require("../../../../components/Chips/Chips.vue.cjs");
7
7
  ;/* empty css */
8
8
  const Popup = require("../../../../components/Popup/Popup.vue.cjs");
@@ -1,18 +1,18 @@
1
1
  import { ref, createElementBlock, openBlock, createVNode, unref, isRef, withCtx, Fragment, renderList, createElementVNode, toDisplayString, createBlock, createCommentVNode, createTextVNode } from "vue";
2
2
  import { useRoute } from "vue-router";
3
- import _sfc_main$9 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$8 from "../../../../components/Button/Button.vue.js";
4
4
  import _sfc_main$4 from "../../../../components/Chips/Chips.vue.js";
5
5
  /* empty css */
6
6
  import _sfc_main$5 from "../../../../components/Popup/Popup.vue.js";
7
7
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
8
- import _sfc_main$6 from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
8
+ import PhotoViewer from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
9
9
  import { state } from "../../../auth/views/store/auth.js";
10
10
  import "../../../organizations/store/organizations.js";
11
11
  import gallery from "../../store/gallery.js";
12
12
  import _sfc_main$3 from "../../../globals/views/components/blocks/CardHeader.vue.js";
13
13
  import _sfc_main$1 from "../../../globals/views/components/sections/SectionPageTitle.vue.js";
14
- import _sfc_main$7 from "../../../../components/EditImages/EditImages.vue2.js";
15
- import _sfc_main$8 from "../../../../components/FieldTags/BlockTags.vue.js";
14
+ import _sfc_main$6 from "../../../../components/EditImages/EditImages.vue2.js";
15
+ import _sfc_main$7 from "../../../../components/FieldTags/BlockTags.vue.js";
16
16
  const _hoisted_1 = { class: "cols-1 gap-thin pd-thin" };
17
17
  const _hoisted_2 = { class: "pos-relative" };
18
18
  const _hoisted_3 = ["src", "onClick"];
@@ -204,7 +204,7 @@ const _sfc_main = {
204
204
  class: "bg-black o-hidden w-100 h-100 radius-big"
205
205
  }, {
206
206
  default: withCtx(() => [
207
- createVNode(_sfc_main$6, {
207
+ createVNode(PhotoViewer, {
208
208
  photoUrl: selectedPhoto.value.image
209
209
  }, null, 8, ["photoUrl"])
210
210
  ]),
@@ -223,13 +223,13 @@ const _sfc_main = {
223
223
  src: selectedImage.value.cover,
224
224
  class: "radius-small w-100 mn-b-small h-20r object-fit-cover"
225
225
  }, null, 8, _hoisted_6)) : createCommentVNode("", true),
226
- createVNode(_sfc_main$7, {
226
+ createVNode(_sfc_main$6, {
227
227
  images: uploadedImages.value,
228
228
  uploadPath: "/photos",
229
229
  "onUpdate:images": onUpdatedImages,
230
230
  class: "mn-b-semi bg-light radius-medium"
231
231
  }, null, 8, ["images"]),
232
- createVNode(_sfc_main$8, {
232
+ createVNode(_sfc_main$7, {
233
233
  onTagsChanged: _cache[4] || (_cache[4] = (newTags) => selectedImage.value.tags = newTags),
234
234
  tags: selectedImage.value.tags,
235
235
  tagsSuggested: [
@@ -243,7 +243,7 @@ const _sfc_main = {
243
243
  class: "mn-b-semi"
244
244
  }, null, 8, ["tags"]),
245
245
  createElementVNode("div", _hoisted_7, [
246
- createVNode(_sfc_main$9, {
246
+ createVNode(_sfc_main$8, {
247
247
  submit: () => createPhoto("draft"),
248
248
  callback: closePhotoPopup,
249
249
  class: "t-nowrap bg-second w-100"
@@ -253,7 +253,7 @@ const _sfc_main = {
253
253
  ])),
254
254
  _: 1
255
255
  }, 8, ["submit"]),
256
- createVNode(_sfc_main$9, {
256
+ createVNode(_sfc_main$8, {
257
257
  submit: () => createPhoto("published"),
258
258
  callback: closePhotoPopup,
259
259
  class: "bg-main w-100"
@@ -14,12 +14,24 @@ const mixins = require("./views/mixins/mixins.cjs");
14
14
  const globals = require("./views/store/globals.cjs");
15
15
  const vueAppRenderer = require("./views/utils/vue-app-renderer.cjs");
16
16
  const alert_plugin = require("./views/plugins/alert.plugin.cjs");
17
+ const popup_auth_plugin = require("./views/plugins/popup.auth.plugin.cjs");
17
18
  const datePicker_plugin = require("./views/plugins/date-picker.plugin.cjs");
18
19
  const storeDebugger_plugin = require("./views/plugins/store-debugger/store-debugger.plugin.cjs");
19
20
  const store = require("./views/classes/store.cjs");
20
21
  const globals_websocket = require("./views/classes/globals.websocket.cjs");
22
+ const globals_i18n = require("./views/classes/globals.i18n.cjs");
23
+ const en = require("./locales/en.cjs");
24
+ const ru = require("./locales/ru.cjs");
21
25
  function initializeGlobals(app, store2, router, config, options = {}) {
22
26
  const route = options.route || "Home";
27
+ const locales = {
28
+ en: en.default,
29
+ ru: ru.default,
30
+ es: {}
31
+ // или es: undefined
32
+ };
33
+ globals_i18n.i18nManager.register("globals", locales);
34
+ console.log("mesages is", globals_i18n.i18nManager.getAllMessages());
23
35
  app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;
24
36
  app.config.globalProperties.API_URL = process.env.API_URL;
25
37
  app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;
@@ -27,6 +39,7 @@ function initializeGlobals(app, store2, router, config, options = {}) {
27
39
  app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;
28
40
  app.mixin(mixins.globalMixins);
29
41
  app.use(alert_plugin.default);
42
+ app.use(popup_auth_plugin.default);
30
43
  app.use(datePicker_plugin.default);
31
44
  app.use(storeDebugger_plugin.default, store2);
32
45
  router.beforeEach((to, from, next) => {
@@ -1 +1 @@
1
- {"version":3,"file":"globals.client.cjs","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue';\nimport layoutClient from './views/components/layouts/Client.vue';\n\nimport BlockSearch from '@martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue';\n\nimport BottomNavigationBar from '@martyrs/src/modules/globals/views/components/partials/BottomNavigationBar.vue';\nimport Header from '@martyrs/src/modules/globals/views/components/partials/Header.vue';\nimport Navigation from '@martyrs/src/modules/globals/views/components/partials/Navigation.vue';\nimport NavigationBar from '@martyrs/src/modules/globals/views/components/partials/NavigationBar.vue';\nimport Sidebar from '@martyrs/src/modules/globals/views/components/partials/Sidebar.vue';\n\nimport * as mixins from './views/mixins/mixins.js';\nimport * as storeGlobals from './views/store/globals.js';\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\n\nimport alertPlugin from './views/plugins/alert.plugin.js';\nimport datePickerPlugin from './views/plugins/date-picker.plugin.js';\nimport storeDebuggerPlugin from './views/plugins/store-debugger/store-debugger.plugin.js';\n\nimport store from './views/classes/store.js';\n\nimport websockets from './views/classes/globals.websocket.js';\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, config, options = {}) {\n const route = options.route || 'Home';\n\n 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'];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app.mixin(mixins.globalMixins);\n\n app.use(alertPlugin);\n app.use(datePickerPlugin);\n app.use(storeDebuggerPlugin, store);\n\n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n });\n\n if (config && config.modules) storeGlobals.state.options = config.modules;\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, {\n path: '404',\n name: 'notfound',\n component: () => import('@martyrs/src/modules/globals/views/components/pages/404.vue'),\n });\n router.addRoute(route, {\n path: '401',\n name: 'unauthorized',\n component: () => import('@martyrs/src/modules/globals/views/components/pages/401.vue'),\n });\n router.addRoute(route, {\n path: ':pathMatch(.*)*',\n name: 'NotFound',\n redirect: { name: 'notfound' },\n });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n BlockSearch,\n layoutClient,\n layoutApp,\n Header,\n Navigation,\n Sidebar,\n BottomNavigationBar,\n NavigationBar,\n },\n },\n};\n\nexport {\n BlockSearch,\n Header,\n Navigation,\n NavigationBar,\n Sidebar,\n appRenderer,\n getBrowserLocale,\n layoutApp,\n // Components\n layoutClient,\n // Client,\n mixins,\n scrollBehavior,\n store,\n // Store\n storeGlobals,\n websockets,\n};\n\nexport default ModuleGlobals;\n"],"names":["store","mixins.globalMixins","alertPlugin","datePickerPlugin","storeDebuggerPlugin","storeGlobals.state","storeGlobals","BlockSearch","layoutClient","layoutApp","Header","Navigation","Sidebar","BottomNavigationBar","NavigationBar"],"mappings":";;;;;;;;;;;;;;;;;;;;AA8BA,SAAS,kBAAkB,KAAKA,QAAO,QAAQ,QAAQ,UAAU,IAAI;AACnE,QAAM,QAAQ,QAAQ,SAAS;AAI/B,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,UAAU,QAAQ,IAAI;AAClD,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,kBAAkB,QAAQ,IAAI;AAC1D,MAAI,OAAO,iBAAiB,sBAAsB,QAAQ,IAAI;AAE9D,MAAI,MAAMC,mBAAmB;AAE7B,MAAI,IAAIC,oBAAW;AACnB,MAAI,IAAIC,yBAAgB;AACxB,MAAI,IAAIC,qBAAmB,SAAEJ,MAAK;AAGlC,SAAO,WAAW,CAAC,IAAI,MAAM,SAAS;AACpC,UAAM,SAAS,GAAG,OAAO;AAEzB,QAAI,QAAQ;AACV,UAAI,CAAC,IAAI,OAAO,iBAAiB,MAAM,iBAAiB,SAAS,MAAM,GAAG;AACxE,eAAO,KAAK,EAAE,MAAM,QAAQ;AAAA,MACpC,OAAa;AACL,YAAI,OAAO,iBAAiB,MAAM,SAAS;AAC3C,eAAO,KAAM;AAAA,MACrB;AAAA,IACA;AAEI,WAAO,KAAM;AAAA,EACjB,CAAG;AAED,MAAI,UAAU,OAAO,QAASK,SAAAA,MAAmB,UAAU,OAAO;AAElE,EAAAL,OAAM,SAAS,WAAWM,OAAY;AAEtC,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,sCAA6D,CAAC;AAAA,EAC1F,CAAG;AACD,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,sCAA6D,CAAC;AAAA,EAC1F,CAAG;AACD,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,UAAU,EAAE,MAAM,WAAY;AAAA,EAClC,CAAG;AACH;AAEK,MAAC,gBAAgB;AAAA,EACpB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,cAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA;AAAA,IAEP;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,aAAMC,YAAW;AAAA,MACjB,cAAMC,OAAY;AAAA,MAClB,WAAMC,IAAS;AAAA,MACf,QAAMC,OAAM;AAAA,MACZ,YAAMC,WAAU;AAAA,MAChB,SAAMC,QAAO;AAAA,MACb,qBAAMC,oBAAmB;AAAA,MACzB,eAAMC,cAAa;AAAA,IACd;AAAA,EACF;AACH;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"globals.client.cjs","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue';\nimport layoutClient from './views/components/layouts/Client.vue';\n\nimport BlockSearch from '@martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue';\n\nimport BottomNavigationBar from '@martyrs/src/modules/globals/views/components/partials/BottomNavigationBar.vue';\nimport Header from '@martyrs/src/modules/globals/views/components/partials/Header.vue';\nimport Navigation from '@martyrs/src/modules/globals/views/components/partials/Navigation.vue';\nimport NavigationBar from '@martyrs/src/modules/globals/views/components/partials/NavigationBar.vue';\nimport Sidebar from '@martyrs/src/modules/globals/views/components/partials/Sidebar.vue';\n\nimport * as mixins from './views/mixins/mixins.js';\nimport * as storeGlobals from './views/store/globals.js';\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\n\nimport alertPlugin from './views/plugins/alert.plugin.js';\nimport popupAuthPlugin from './views/plugins/popup.auth.plugin.js';\nimport datePickerPlugin from './views/plugins/date-picker.plugin.js';\nimport storeDebuggerPlugin from './views/plugins/store-debugger/store-debugger.plugin.js';\n\nimport store from './views/classes/store.js';\nimport websockets from './views/classes/globals.websocket.js';\nimport { i18nManager } from '@martyrs/src/modules/globals/views/classes/globals.i18n.js';\n\nimport en from './locales/en.js';\nimport ru from './locales/ru.js';\n\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, config, options = {}) {\n const route = options.route || 'Home';\n\n const locales = {\n en: en,\n ru: ru,\n es: {} // или es: undefined\n };\n\n i18nManager.register('globals', locales);\n\n console.log('mesages is', i18nManager.getAllMessages())\n\n 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'];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app.mixin(mixins.globalMixins);\n\n app.use(alertPlugin);\n app.use(popupAuthPlugin);\n app.use(datePickerPlugin);\n app.use(storeDebuggerPlugin, store);\n\n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n });\n\n if (config && config.modules) storeGlobals.state.options = config.modules;\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, {\n path: '404',\n name: 'notfound',\n component: () => import('@martyrs/src/modules/globals/views/components/pages/404.vue'),\n });\n router.addRoute(route, {\n path: '401',\n name: 'unauthorized',\n component: () => import('@martyrs/src/modules/globals/views/components/pages/401.vue'),\n });\n router.addRoute(route, {\n path: ':pathMatch(.*)*',\n name: 'NotFound',\n redirect: { name: 'notfound' },\n });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n BlockSearch,\n layoutClient,\n layoutApp,\n Header,\n Navigation,\n Sidebar,\n BottomNavigationBar,\n NavigationBar,\n },\n },\n};\n\nexport {\n BlockSearch,\n Header,\n Navigation,\n NavigationBar,\n Sidebar,\n appRenderer,\n getBrowserLocale,\n layoutApp,\n // Components\n layoutClient,\n // Client,\n mixins,\n scrollBehavior,\n store,\n // Store\n storeGlobals,\n websockets,\n};\n\nexport default ModuleGlobals;\n"],"names":["store","en","ru","i18nManager","mixins.globalMixins","alertPlugin","popupAuthPlugin","datePickerPlugin","storeDebuggerPlugin","storeGlobals.state","storeGlobals","BlockSearch","layoutClient","layoutApp","Header","Navigation","Sidebar","BottomNavigationBar","NavigationBar"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAmCA,SAAS,kBAAkB,KAAKA,QAAO,QAAQ,QAAQ,UAAU,IAAI;AACnE,QAAM,QAAQ,QAAQ,SAAS;AAE/B,QAAM,UAAU;AAAA,IACd,IAAIC,GAAE;AAAA,IACN,IAAIC,GAAE;AAAA,IACN,IAAI,CAAE;AAAA;AAAA,EACP;AAEDC,2BAAY,SAAS,WAAW,OAAO;AAEvC,UAAQ,IAAI,cAAeA,aAAAA,YAAY,eAAgB,CAAA;AAIvD,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,UAAU,QAAQ,IAAI;AAClD,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,kBAAkB,QAAQ,IAAI;AAC1D,MAAI,OAAO,iBAAiB,sBAAsB,QAAQ,IAAI;AAE9D,MAAI,MAAMC,mBAAmB;AAE7B,MAAI,IAAIC,oBAAW;AACnB,MAAI,IAAIC,yBAAe;AACvB,MAAI,IAAIC,yBAAgB;AACxB,MAAI,IAAIC,qBAAmB,SAAER,MAAK;AAGlC,SAAO,WAAW,CAAC,IAAI,MAAM,SAAS;AACpC,UAAM,SAAS,GAAG,OAAO;AAEzB,QAAI,QAAQ;AACV,UAAI,CAAC,IAAI,OAAO,iBAAiB,MAAM,iBAAiB,SAAS,MAAM,GAAG;AACxE,eAAO,KAAK,EAAE,MAAM,QAAQ;AAAA,MACpC,OAAa;AACL,YAAI,OAAO,iBAAiB,MAAM,SAAS;AAC3C,eAAO,KAAM;AAAA,MACrB;AAAA,IACA;AAEI,WAAO,KAAM;AAAA,EACjB,CAAG;AAED,MAAI,UAAU,OAAO,QAASS,SAAAA,MAAmB,UAAU,OAAO;AAElE,EAAAT,OAAM,SAAS,WAAWU,OAAY;AAEtC,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,sCAA6D,CAAC;AAAA,EAC1F,CAAG;AACD,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,sCAA6D,CAAC;AAAA,EAC1F,CAAG;AACD,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,UAAU,EAAE,MAAM,WAAY;AAAA,EAClC,CAAG;AACH;AAEK,MAAC,gBAAgB;AAAA,EACpB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,cAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA;AAAA,IAEP;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,aAAMC,YAAW;AAAA,MACjB,cAAMC,OAAY;AAAA,MAClB,WAAMC,IAAS;AAAA,MACf,QAAMC,OAAM;AAAA,MACZ,YAAMC,WAAU;AAAA,MAChB,SAAMC,QAAO;AAAA,MACb,qBAAMC,oBAAmB;AAAA,MACzB,eAAMC,cAAa;AAAA,IACd;AAAA,EACF;AACH;;;;;;;;;;;;;;;;"}
@@ -14,12 +14,24 @@ import * as globals from "./views/store/globals.js";
14
14
  import { state } from "./views/store/globals.js";
15
15
  import * as vueAppRenderer from "./views/utils/vue-app-renderer.js";
16
16
  import alertPlugin from "./views/plugins/alert.plugin.js";
17
+ import popupAuthPlugin from "./views/plugins/popup.auth.plugin.js";
17
18
  import datePickerPlugin from "./views/plugins/date-picker.plugin.js";
18
19
  import storeDebuggerPlugin from "./views/plugins/store-debugger/store-debugger.plugin.js";
19
20
  import { default as default4 } from "./views/classes/store.js";
20
21
  import { default as default5 } from "./views/classes/globals.websocket.js";
22
+ import { i18nManager } from "./views/classes/globals.i18n.js";
23
+ import en from "./locales/en.js";
24
+ import ru from "./locales/ru.js";
21
25
  function initializeGlobals(app, store, router, config, options = {}) {
22
26
  const route = options.route || "Home";
27
+ const locales = {
28
+ en,
29
+ ru,
30
+ es: {}
31
+ // или es: undefined
32
+ };
33
+ i18nManager.register("globals", locales);
34
+ console.log("mesages is", i18nManager.getAllMessages());
23
35
  app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;
24
36
  app.config.globalProperties.API_URL = process.env.API_URL;
25
37
  app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;
@@ -27,6 +39,7 @@ function initializeGlobals(app, store, router, config, options = {}) {
27
39
  app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;
28
40
  app.mixin(globalMixins);
29
41
  app.use(alertPlugin);
42
+ app.use(popupAuthPlugin);
30
43
  app.use(datePickerPlugin);
31
44
  app.use(storeDebuggerPlugin, store);
32
45
  router.beforeEach((to, from, next) => {
@@ -1 +1 @@
1
- {"version":3,"file":"globals.client.js","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue';\nimport layoutClient from './views/components/layouts/Client.vue';\n\nimport BlockSearch from '@martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue';\n\nimport BottomNavigationBar from '@martyrs/src/modules/globals/views/components/partials/BottomNavigationBar.vue';\nimport Header from '@martyrs/src/modules/globals/views/components/partials/Header.vue';\nimport Navigation from '@martyrs/src/modules/globals/views/components/partials/Navigation.vue';\nimport NavigationBar from '@martyrs/src/modules/globals/views/components/partials/NavigationBar.vue';\nimport Sidebar from '@martyrs/src/modules/globals/views/components/partials/Sidebar.vue';\n\nimport * as mixins from './views/mixins/mixins.js';\nimport * as storeGlobals from './views/store/globals.js';\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\n\nimport alertPlugin from './views/plugins/alert.plugin.js';\nimport datePickerPlugin from './views/plugins/date-picker.plugin.js';\nimport storeDebuggerPlugin from './views/plugins/store-debugger/store-debugger.plugin.js';\n\nimport store from './views/classes/store.js';\n\nimport websockets from './views/classes/globals.websocket.js';\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, config, options = {}) {\n const route = options.route || 'Home';\n\n 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'];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app.mixin(mixins.globalMixins);\n\n app.use(alertPlugin);\n app.use(datePickerPlugin);\n app.use(storeDebuggerPlugin, store);\n\n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n });\n\n if (config && config.modules) storeGlobals.state.options = config.modules;\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, {\n path: '404',\n name: 'notfound',\n component: () => import('@martyrs/src/modules/globals/views/components/pages/404.vue'),\n });\n router.addRoute(route, {\n path: '401',\n name: 'unauthorized',\n component: () => import('@martyrs/src/modules/globals/views/components/pages/401.vue'),\n });\n router.addRoute(route, {\n path: ':pathMatch(.*)*',\n name: 'NotFound',\n redirect: { name: 'notfound' },\n });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n BlockSearch,\n layoutClient,\n layoutApp,\n Header,\n Navigation,\n Sidebar,\n BottomNavigationBar,\n NavigationBar,\n },\n },\n};\n\nexport {\n BlockSearch,\n Header,\n Navigation,\n NavigationBar,\n Sidebar,\n appRenderer,\n getBrowserLocale,\n layoutApp,\n // Components\n layoutClient,\n // Client,\n mixins,\n scrollBehavior,\n store,\n // Store\n storeGlobals,\n websockets,\n};\n\nexport default ModuleGlobals;\n"],"names":["mixins.globalMixins","storeGlobals.state","storeGlobals","BlockSearch","layoutClient","layoutApp","Header","BottomNavigationBar","NavigationBar"],"mappings":";;;;;;;;;;;;;;;;;;;;AA8BA,SAAS,kBAAkB,KAAK,OAAO,QAAQ,QAAQ,UAAU,IAAI;AACnE,QAAM,QAAQ,QAAQ,SAAS;AAI/B,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,UAAU,QAAQ,IAAI;AAClD,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,kBAAkB,QAAQ,IAAI;AAC1D,MAAI,OAAO,iBAAiB,sBAAsB,QAAQ,IAAI;AAE9D,MAAI,MAAMA,YAAmB;AAE7B,MAAI,IAAI,WAAW;AACnB,MAAI,IAAI,gBAAgB;AACxB,MAAI,IAAI,qBAAqB,KAAK;AAGlC,SAAO,WAAW,CAAC,IAAI,MAAM,SAAS;AACpC,UAAM,SAAS,GAAG,OAAO;AAEzB,QAAI,QAAQ;AACV,UAAI,CAAC,IAAI,OAAO,iBAAiB,MAAM,iBAAiB,SAAS,MAAM,GAAG;AACxE,eAAO,KAAK,EAAE,MAAM,QAAQ;AAAA,MACpC,OAAa;AACL,YAAI,OAAO,iBAAiB,MAAM,SAAS;AAC3C,eAAO,KAAM;AAAA,MACrB;AAAA,IACA;AAEI,WAAO,KAAM;AAAA,EACjB,CAAG;AAED,MAAI,UAAU,OAAO,QAASC,OAAmB,UAAU,OAAO;AAElE,QAAM,SAAS,WAAWC,OAAY;AAEtC,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,OAAO,qCAA6D;AAAA,EACzF,CAAG;AACD,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,OAAO,qCAA6D;AAAA,EACzF,CAAG;AACD,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,UAAU,EAAE,MAAM,WAAY;AAAA,EAClC,CAAG;AACH;AAEK,MAAC,gBAAgB;AAAA,EACpB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,cAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA;AAAA,IAEP;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,aAAMC;AAAAA,MACN,cAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,QAAMC;AAAAA,MACA;AAAA,MACA;AAAA,MACN,qBAAMC;AAAAA,MACN,eAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
1
+ {"version":3,"file":"globals.client.js","sources":["../../../../../src/modules/globals/globals.client.js"],"sourcesContent":["// Components\n// import Client from \"./components/layouts/Client.vue\"\n\nimport getBrowserLocale from './views/localization/get-browser-locale.js';\nimport scrollBehavior from './views/router/scrollBehavior.js';\n\nimport layoutApp from './views/components/layouts/App.vue';\nimport layoutClient from './views/components/layouts/Client.vue';\n\nimport BlockSearch from '@martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue';\n\nimport BottomNavigationBar from '@martyrs/src/modules/globals/views/components/partials/BottomNavigationBar.vue';\nimport Header from '@martyrs/src/modules/globals/views/components/partials/Header.vue';\nimport Navigation from '@martyrs/src/modules/globals/views/components/partials/Navigation.vue';\nimport NavigationBar from '@martyrs/src/modules/globals/views/components/partials/NavigationBar.vue';\nimport Sidebar from '@martyrs/src/modules/globals/views/components/partials/Sidebar.vue';\n\nimport * as mixins from './views/mixins/mixins.js';\nimport * as storeGlobals from './views/store/globals.js';\nimport * as appRenderer from './views/utils/vue-app-renderer.js';\n\nimport alertPlugin from './views/plugins/alert.plugin.js';\nimport popupAuthPlugin from './views/plugins/popup.auth.plugin.js';\nimport datePickerPlugin from './views/plugins/date-picker.plugin.js';\nimport storeDebuggerPlugin from './views/plugins/store-debugger/store-debugger.plugin.js';\n\nimport store from './views/classes/store.js';\nimport websockets from './views/classes/globals.websocket.js';\nimport { i18nManager } from '@martyrs/src/modules/globals/views/classes/globals.i18n.js';\n\nimport en from './locales/en.js';\nimport ru from './locales/ru.js';\n\n\n// Пример функции инициализации для модуля заказов\nfunction initializeGlobals(app, store, router, config, options = {}) {\n const route = options.route || 'Home';\n\n const locales = {\n en: en,\n ru: ru,\n es: {} // или es: undefined\n };\n\n i18nManager.register('globals', locales);\n\n console.log('mesages is', i18nManager.getAllMessages())\n\n 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'];\n\n app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;\n app.config.globalProperties.API_URL = process.env.API_URL;\n app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;\n app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;\n app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;\n\n app.mixin(mixins.globalMixins);\n\n app.use(alertPlugin);\n app.use(popupAuthPlugin);\n app.use(datePickerPlugin);\n app.use(storeDebuggerPlugin, store);\n\n // Change Locale to Route Locale if available\n router.beforeEach((to, from, next) => {\n const locale = to.params.locale;\n\n if (locale) {\n if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {\n return next({ path: '/404' });\n } else {\n app.config.globalProperties.$i18n.locale = locale;\n return next();\n }\n }\n\n return next();\n });\n\n if (config && config.modules) storeGlobals.state.options = config.modules;\n\n store.addStore('globals', storeGlobals);\n\n router.addRoute(route, {\n path: '404',\n name: 'notfound',\n component: () => import('@martyrs/src/modules/globals/views/components/pages/404.vue'),\n });\n router.addRoute(route, {\n path: '401',\n name: 'unauthorized',\n component: () => import('@martyrs/src/modules/globals/views/components/pages/401.vue'),\n });\n router.addRoute(route, {\n path: ':pathMatch(.*)*',\n name: 'NotFound',\n redirect: { name: 'notfound' },\n });\n}\n\nconst ModuleGlobals = {\n initialize: initializeGlobals,\n views: {\n store: {\n storeGlobals,\n },\n router: {\n // routerOrders\n },\n components: {\n // Pages\n BlockSearch,\n layoutClient,\n layoutApp,\n Header,\n Navigation,\n Sidebar,\n BottomNavigationBar,\n NavigationBar,\n },\n },\n};\n\nexport {\n BlockSearch,\n Header,\n Navigation,\n NavigationBar,\n Sidebar,\n appRenderer,\n getBrowserLocale,\n layoutApp,\n // Components\n layoutClient,\n // Client,\n mixins,\n scrollBehavior,\n store,\n // Store\n storeGlobals,\n websockets,\n};\n\nexport default ModuleGlobals;\n"],"names":["mixins.globalMixins","storeGlobals.state","storeGlobals","BlockSearch","layoutClient","layoutApp","Header","BottomNavigationBar","NavigationBar"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAmCA,SAAS,kBAAkB,KAAK,OAAO,QAAQ,QAAQ,UAAU,IAAI;AACnE,QAAM,QAAQ,QAAQ,SAAS;AAE/B,QAAM,UAAU;AAAA,IACd;AAAA,IACA;AAAA,IACA,IAAI,CAAE;AAAA;AAAA,EACP;AAED,cAAY,SAAS,WAAW,OAAO;AAEvC,UAAQ,IAAI,cAAe,YAAY,eAAgB,CAAA;AAIvD,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,UAAU,QAAQ,IAAI;AAClD,MAAI,OAAO,iBAAiB,aAAa,QAAQ,IAAI;AACrD,MAAI,OAAO,iBAAiB,kBAAkB,QAAQ,IAAI;AAC1D,MAAI,OAAO,iBAAiB,sBAAsB,QAAQ,IAAI;AAE9D,MAAI,MAAMA,YAAmB;AAE7B,MAAI,IAAI,WAAW;AACnB,MAAI,IAAI,eAAe;AACvB,MAAI,IAAI,gBAAgB;AACxB,MAAI,IAAI,qBAAqB,KAAK;AAGlC,SAAO,WAAW,CAAC,IAAI,MAAM,SAAS;AACpC,UAAM,SAAS,GAAG,OAAO;AAEzB,QAAI,QAAQ;AACV,UAAI,CAAC,IAAI,OAAO,iBAAiB,MAAM,iBAAiB,SAAS,MAAM,GAAG;AACxE,eAAO,KAAK,EAAE,MAAM,QAAQ;AAAA,MACpC,OAAa;AACL,YAAI,OAAO,iBAAiB,MAAM,SAAS;AAC3C,eAAO,KAAM;AAAA,MACrB;AAAA,IACA;AAEI,WAAO,KAAM;AAAA,EACjB,CAAG;AAED,MAAI,UAAU,OAAO,QAASC,OAAmB,UAAU,OAAO;AAElE,QAAM,SAAS,WAAWC,OAAY;AAEtC,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,OAAO,qCAA6D;AAAA,EACzF,CAAG;AACD,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,OAAO,qCAA6D;AAAA,EACzF,CAAG;AACD,SAAO,SAAS,OAAO;AAAA,IACrB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,UAAU,EAAE,MAAM,WAAY;AAAA,EAClC,CAAG;AACH;AAEK,MAAC,gBAAgB;AAAA,EACpB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,cAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA;AAAA,IAEP;AAAA,IACD,YAAY;AAAA;AAAA,MAEhB,aAAMC;AAAAA,MACN,cAAMC;AAAAA,MACN,WAAMC;AAAAA,MACN,QAAMC;AAAAA,MACA;AAAA,MACA;AAAA,MACN,qBAAMC;AAAAA,MACN,eAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const en = {
4
+ globals: {
5
+ errors: {
6
+ USER_NOT_FOUND: "Such user is not registered",
7
+ USER_ALREADY_REGISTERED: "Such user is already registered!",
8
+ USER_NOT_REGISTERED_YET: "This user has not been registered yet!",
9
+ USER_PHONE_OR_PASSWORD_NOT_FOUND: "User with such phone or password not found!",
10
+ INCORRECT_PASSWORD_ENTERED: "You entered an incorrect password!",
11
+ INVALID_INVITATION_CODE: "Incorrect invitation code.",
12
+ MISSING_REQUIRED_PARAMETERS: "Missing required parameters.",
13
+ ERROR_UPDATING_USER: "Something wrong when updating user.",
14
+ PASSWORDS_DO_NOT_MATCH: "The passwords you entered do not match. Please correct the errors and try again.",
15
+ CODE_NOT_SENT: "Something went wrong and the code was not sent. Please try again.",
16
+ INPUT_ERROR: "Please enter only a four-digit code.",
17
+ WRONG_CODE: "You entered an incorrect code. Please try again.",
18
+ POST_URL_ALREADY_IN_USE: "Failed! Blogpost with this URL is already in use!",
19
+ NAME_CANNOT_BE_EMPTY: "Error: Name cannot be empty. Please enter a name."
20
+ }
21
+ }
22
+ };
23
+ exports.default = en;
24
+ //# sourceMappingURL=en.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.cjs","sources":["../../../../../../src/modules/globals/locales/en.js"],"sourcesContent":["// @martyrs/src/modules/globals/locales/en.js\nexport default {\n globals: {\n errors: {\n USER_NOT_FOUND: 'Such user is not registered',\n USER_ALREADY_REGISTERED: 'Such user is already registered!',\n USER_NOT_REGISTERED_YET: 'This user has not been registered yet!',\n USER_PHONE_OR_PASSWORD_NOT_FOUND: 'User with such phone or password not found!',\n INCORRECT_PASSWORD_ENTERED: 'You entered an incorrect password!',\n INVALID_INVITATION_CODE: 'Incorrect invitation code.',\n MISSING_REQUIRED_PARAMETERS: 'Missing required parameters.',\n ERROR_UPDATING_USER: 'Something wrong when updating user.',\n PASSWORDS_DO_NOT_MATCH: 'The passwords you entered do not match. Please correct the errors and try again.',\n CODE_NOT_SENT: 'Something went wrong and the code was not sent. Please try again.',\n INPUT_ERROR: 'Please enter only a four-digit code.',\n WRONG_CODE: 'You entered an incorrect code. Please try again.',\n POST_URL_ALREADY_IN_USE: 'Failed! Blogpost with this URL is already in use!',\n NAME_CANNOT_BE_EMPTY: 'Error: Name cannot be empty. Please enter a name.',\n }\n }\n};"],"names":[],"mappings":";;AACA,MAAe,KAAA;AAAA,EACb,SAAS;AAAA,IACP,QAAQ;AAAA,MACN,gBAAgB;AAAA,MAChB,yBAAyB;AAAA,MACzB,yBAAyB;AAAA,MACzB,kCAAkC;AAAA,MAClC,4BAA4B;AAAA,MAC5B,yBAAyB;AAAA,MACzB,6BAA6B;AAAA,MAC7B,qBAAqB;AAAA,MACrB,wBAAwB;AAAA,MACxB,eAAe;AAAA,MACf,aAAa;AAAA,MACb,YAAY;AAAA,MACZ,yBAAyB;AAAA,MACzB,sBAAsB;AAAA,IAC5B;AAAA,EACA;AACA;;"}
@@ -0,0 +1,24 @@
1
+ const en = {
2
+ globals: {
3
+ errors: {
4
+ USER_NOT_FOUND: "Such user is not registered",
5
+ USER_ALREADY_REGISTERED: "Such user is already registered!",
6
+ USER_NOT_REGISTERED_YET: "This user has not been registered yet!",
7
+ USER_PHONE_OR_PASSWORD_NOT_FOUND: "User with such phone or password not found!",
8
+ INCORRECT_PASSWORD_ENTERED: "You entered an incorrect password!",
9
+ INVALID_INVITATION_CODE: "Incorrect invitation code.",
10
+ MISSING_REQUIRED_PARAMETERS: "Missing required parameters.",
11
+ ERROR_UPDATING_USER: "Something wrong when updating user.",
12
+ PASSWORDS_DO_NOT_MATCH: "The passwords you entered do not match. Please correct the errors and try again.",
13
+ CODE_NOT_SENT: "Something went wrong and the code was not sent. Please try again.",
14
+ INPUT_ERROR: "Please enter only a four-digit code.",
15
+ WRONG_CODE: "You entered an incorrect code. Please try again.",
16
+ POST_URL_ALREADY_IN_USE: "Failed! Blogpost with this URL is already in use!",
17
+ NAME_CANNOT_BE_EMPTY: "Error: Name cannot be empty. Please enter a name."
18
+ }
19
+ }
20
+ };
21
+ export {
22
+ en as default
23
+ };
24
+ //# sourceMappingURL=en.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.js","sources":["../../../../../../src/modules/globals/locales/en.js"],"sourcesContent":["// @martyrs/src/modules/globals/locales/en.js\nexport default {\n globals: {\n errors: {\n USER_NOT_FOUND: 'Such user is not registered',\n USER_ALREADY_REGISTERED: 'Such user is already registered!',\n USER_NOT_REGISTERED_YET: 'This user has not been registered yet!',\n USER_PHONE_OR_PASSWORD_NOT_FOUND: 'User with such phone or password not found!',\n INCORRECT_PASSWORD_ENTERED: 'You entered an incorrect password!',\n INVALID_INVITATION_CODE: 'Incorrect invitation code.',\n MISSING_REQUIRED_PARAMETERS: 'Missing required parameters.',\n ERROR_UPDATING_USER: 'Something wrong when updating user.',\n PASSWORDS_DO_NOT_MATCH: 'The passwords you entered do not match. Please correct the errors and try again.',\n CODE_NOT_SENT: 'Something went wrong and the code was not sent. Please try again.',\n INPUT_ERROR: 'Please enter only a four-digit code.',\n WRONG_CODE: 'You entered an incorrect code. Please try again.',\n POST_URL_ALREADY_IN_USE: 'Failed! Blogpost with this URL is already in use!',\n NAME_CANNOT_BE_EMPTY: 'Error: Name cannot be empty. Please enter a name.',\n }\n }\n};"],"names":[],"mappings":"AACA,MAAe,KAAA;AAAA,EACb,SAAS;AAAA,IACP,QAAQ;AAAA,MACN,gBAAgB;AAAA,MAChB,yBAAyB;AAAA,MACzB,yBAAyB;AAAA,MACzB,kCAAkC;AAAA,MAClC,4BAA4B;AAAA,MAC5B,yBAAyB;AAAA,MACzB,6BAA6B;AAAA,MAC7B,qBAAqB;AAAA,MACrB,wBAAwB;AAAA,MACxB,eAAe;AAAA,MACf,aAAa;AAAA,MACb,YAAY;AAAA,MACZ,yBAAyB;AAAA,MACzB,sBAAsB;AAAA,IAC5B;AAAA,EACA;AACA;"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const ru = {
4
+ globals: {
5
+ errors: {
6
+ USER_NOT_FOUND: "Такой пользователь не зарегистрирован!",
7
+ USER_ALREADY_REGISTERED: "Такой пользователь уже зарегистрирован!",
8
+ USER_NOT_REGISTERED_YET: "Такой пользователь еще не зарегистрирован!",
9
+ USER_PHONE_OR_PASSWORD_NOT_FOUND: "Пользователь с таким телефоном или паролем не найден!",
10
+ INCORRECT_PASSWORD_ENTERED: "Вы ввели неверный пароль!",
11
+ INVALID_INVITATION_CODE: "Неверный код приглашения",
12
+ MISSING_REQUIRED_PARAMETERS: "Отсутствуют необходимые параметры.",
13
+ ERROR_UPDATING_USER: "Произошла ошибка при обновлении пользователя.",
14
+ PASSWORDS_DO_NOT_MATCH: "Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.",
15
+ CODE_NOT_SENT: "Что-то пошло не так и код не был отправлен. Попробуйте еще раз.",
16
+ INPUT_ERROR: "Вставьте только четырехзначный код.",
17
+ WRONG_CODE: "Вы ввели неверный код. Попробуйте еще раз.",
18
+ POST_URL_ALREADY_IN_USE: "Ошибка! Публикация с этим URL уже используется!",
19
+ NAME_CANNOT_BE_EMPTY: "Ошибка: Название не может быть пустым. Пожалуйста, введите название."
20
+ }
21
+ }
22
+ };
23
+ exports.default = ru;
24
+ //# sourceMappingURL=ru.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ru.cjs","sources":["../../../../../../src/modules/globals/locales/ru.js"],"sourcesContent":["// @martyrs/src/modules/globals/locales/ru.js\nexport default {\n globals: {\n errors: {\n USER_NOT_FOUND: 'Такой пользователь не зарегистрирован!',\n USER_ALREADY_REGISTERED: 'Такой пользователь уже зарегистрирован!',\n USER_NOT_REGISTERED_YET: 'Такой пользователь еще не зарегистрирован!',\n USER_PHONE_OR_PASSWORD_NOT_FOUND: 'Пользователь с таким телефоном или паролем не найден!',\n INCORRECT_PASSWORD_ENTERED: 'Вы ввели неверный пароль!',\n INVALID_INVITATION_CODE: 'Неверный код приглашения',\n MISSING_REQUIRED_PARAMETERS: 'Отсутствуют необходимые параметры.',\n ERROR_UPDATING_USER: 'Произошла ошибка при обновлении пользователя.',\n PASSWORDS_DO_NOT_MATCH: 'Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.',\n CODE_NOT_SENT: 'Что-то пошло не так и код не был отправлен. Попробуйте еще раз.',\n INPUT_ERROR: 'Вставьте только четырехзначный код.',\n WRONG_CODE: 'Вы ввели неверный код. Попробуйте еще раз.',\n POST_URL_ALREADY_IN_USE: 'Ошибка! Публикация с этим URL уже используется!',\n NAME_CANNOT_BE_EMPTY: 'Ошибка: Название не может быть пустым. Пожалуйста, введите название.',\n }\n }\n};"],"names":[],"mappings":";;AACA,MAAe,KAAA;AAAA,EACb,SAAS;AAAA,IACP,QAAQ;AAAA,MACN,gBAAgB;AAAA,MAChB,yBAAyB;AAAA,MACzB,yBAAyB;AAAA,MACzB,kCAAkC;AAAA,MAClC,4BAA4B;AAAA,MAC5B,yBAAyB;AAAA,MACzB,6BAA6B;AAAA,MAC7B,qBAAqB;AAAA,MACrB,wBAAwB;AAAA,MACxB,eAAe;AAAA,MACf,aAAa;AAAA,MACb,YAAY;AAAA,MACZ,yBAAyB;AAAA,MACzB,sBAAsB;AAAA,IAC5B;AAAA,EACA;AACA;;"}
@@ -0,0 +1,24 @@
1
+ const ru = {
2
+ globals: {
3
+ errors: {
4
+ USER_NOT_FOUND: "Такой пользователь не зарегистрирован!",
5
+ USER_ALREADY_REGISTERED: "Такой пользователь уже зарегистрирован!",
6
+ USER_NOT_REGISTERED_YET: "Такой пользователь еще не зарегистрирован!",
7
+ USER_PHONE_OR_PASSWORD_NOT_FOUND: "Пользователь с таким телефоном или паролем не найден!",
8
+ INCORRECT_PASSWORD_ENTERED: "Вы ввели неверный пароль!",
9
+ INVALID_INVITATION_CODE: "Неверный код приглашения",
10
+ MISSING_REQUIRED_PARAMETERS: "Отсутствуют необходимые параметры.",
11
+ ERROR_UPDATING_USER: "Произошла ошибка при обновлении пользователя.",
12
+ PASSWORDS_DO_NOT_MATCH: "Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.",
13
+ CODE_NOT_SENT: "Что-то пошло не так и код не был отправлен. Попробуйте еще раз.",
14
+ INPUT_ERROR: "Вставьте только четырехзначный код.",
15
+ WRONG_CODE: "Вы ввели неверный код. Попробуйте еще раз.",
16
+ POST_URL_ALREADY_IN_USE: "Ошибка! Публикация с этим URL уже используется!",
17
+ NAME_CANNOT_BE_EMPTY: "Ошибка: Название не может быть пустым. Пожалуйста, введите название."
18
+ }
19
+ }
20
+ };
21
+ export {
22
+ ru as default
23
+ };
24
+ //# sourceMappingURL=ru.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ru.js","sources":["../../../../../../src/modules/globals/locales/ru.js"],"sourcesContent":["// @martyrs/src/modules/globals/locales/ru.js\nexport default {\n globals: {\n errors: {\n USER_NOT_FOUND: 'Такой пользователь не зарегистрирован!',\n USER_ALREADY_REGISTERED: 'Такой пользователь уже зарегистрирован!',\n USER_NOT_REGISTERED_YET: 'Такой пользователь еще не зарегистрирован!',\n USER_PHONE_OR_PASSWORD_NOT_FOUND: 'Пользователь с таким телефоном или паролем не найден!',\n INCORRECT_PASSWORD_ENTERED: 'Вы ввели неверный пароль!',\n INVALID_INVITATION_CODE: 'Неверный код приглашения',\n MISSING_REQUIRED_PARAMETERS: 'Отсутствуют необходимые параметры.',\n ERROR_UPDATING_USER: 'Произошла ошибка при обновлении пользователя.',\n PASSWORDS_DO_NOT_MATCH: 'Введенные вами пароли не совпадают. Исправьте ошибки и попробуйте еще раз.',\n CODE_NOT_SENT: 'Что-то пошло не так и код не был отправлен. Попробуйте еще раз.',\n INPUT_ERROR: 'Вставьте только четырехзначный код.',\n WRONG_CODE: 'Вы ввели неверный код. Попробуйте еще раз.',\n POST_URL_ALREADY_IN_USE: 'Ошибка! Публикация с этим URL уже используется!',\n NAME_CANNOT_BE_EMPTY: 'Ошибка: Название не может быть пустым. Пожалуйста, введите название.',\n }\n }\n};"],"names":[],"mappings":"AACA,MAAe,KAAA;AAAA,EACb,SAAS;AAAA,IACP,QAAQ;AAAA,MACN,gBAAgB;AAAA,MAChB,yBAAyB;AAAA,MACzB,yBAAyB;AAAA,MACzB,kCAAkC;AAAA,MAClC,4BAA4B;AAAA,MAC5B,yBAAyB;AAAA,MACzB,6BAA6B;AAAA,MAC7B,qBAAqB;AAAA,MACrB,wBAAwB;AAAA,MACxB,eAAe;AAAA,MACf,aAAa;AAAA,MACb,YAAY;AAAA,MACZ,yBAAyB;AAAA,MACzB,sBAAsB;AAAA,IAC5B;AAAA,EACA;AACA;"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const index = require("../../../../../../_virtual/index2.cjs");
4
+ class I18nManager {
5
+ constructor() {
6
+ this.moduleLocales = /* @__PURE__ */ new Map();
7
+ this.overrides = /* @__PURE__ */ new Map();
8
+ this.extensions = /* @__PURE__ */ new Map();
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
+ extend(moduleName, locales) {
18
+ if (!this.isValidLocales(locales)) throw new TypeError("Invalid locales for extend()");
19
+ const existing = this.extensions.get(moduleName) || {};
20
+ index.default(existing, locales);
21
+ this.extensions.set(moduleName, existing);
22
+ return this;
23
+ }
24
+ override(moduleName, locales) {
25
+ if (!this.isValidLocales(locales)) throw new TypeError("Invalid locales for override()");
26
+ const existing = this.overrides.get(moduleName) || {};
27
+ index.default(existing, locales);
28
+ this.overrides.set(moduleName, existing);
29
+ return this;
30
+ }
31
+ getMessages(locale) {
32
+ const result = {};
33
+ for (const [, moduleLocales] of this.moduleLocales) {
34
+ if (moduleLocales[locale]) {
35
+ index.default(result, moduleLocales[locale]);
36
+ }
37
+ }
38
+ for (const [, ext] of this.extensions) {
39
+ if (ext[locale]) {
40
+ index.default(result, ext[locale]);
41
+ }
42
+ }
43
+ for (const [, override] of this.overrides) {
44
+ if (override[locale]) {
45
+ index.default(result, override[locale]);
46
+ }
47
+ }
48
+ return result;
49
+ }
50
+ getAllMessages() {
51
+ const allLocales = /* @__PURE__ */ new Set();
52
+ for (const moduleLocales of this.moduleLocales.values()) {
53
+ Object.keys(moduleLocales).forEach((locale) => allLocales.add(locale));
54
+ }
55
+ const messages = {};
56
+ for (const locale of allLocales) {
57
+ messages[locale] = this.getMessages(locale);
58
+ }
59
+ return messages;
60
+ }
61
+ isValidLocales(obj) {
62
+ return this.isObject(obj) && Object.values(obj).every(this.isObject);
63
+ }
64
+ isObject(item) {
65
+ return item && typeof item === "object" && !Array.isArray(item);
66
+ }
67
+ }
68
+ const i18nManager = new I18nManager();
69
+ exports.default = I18nManager;
70
+ exports.i18nManager = i18nManager;
71
+ //# sourceMappingURL=globals.i18n.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globals.i18n.cjs","sources":["../../../../../../../src/modules/globals/views/classes/globals.i18n.js"],"sourcesContent":["import merge from 'lodash.merge';\n\nclass I18nManager {\n constructor() {\n this.moduleLocales = new Map();\n this.overrides = new Map();\n this.extensions = new Map();\n }\n\n register(moduleName, locales) {\n if (typeof moduleName !== 'string' || !this.isValidLocales(locales)) {\n throw new TypeError('Invalid arguments for register()');\n }\n this.moduleLocales.set(moduleName, locales);\n return this;\n }\n\n extend(moduleName, locales) {\n if (!this.isValidLocales(locales)) throw new TypeError('Invalid locales for extend()');\n const existing = this.extensions.get(moduleName) || {};\n merge(existing, locales);\n this.extensions.set(moduleName, existing);\n return this;\n }\n\n override(moduleName, locales) {\n if (!this.isValidLocales(locales)) throw new TypeError('Invalid locales for override()');\n const existing = this.overrides.get(moduleName) || {};\n merge(existing, locales);\n this.overrides.set(moduleName, existing);\n return this;\n }\n\n getMessages(locale) {\n const result = {};\n\n for (const [, moduleLocales] of this.moduleLocales) {\n if (moduleLocales[locale]) {\n merge(result, moduleLocales[locale]);\n }\n }\n\n for (const [, ext] of this.extensions) {\n if (ext[locale]) {\n merge(result, ext[locale]);\n }\n }\n\n for (const [, override] of this.overrides) {\n if (override[locale]) {\n merge(result, override[locale]);\n }\n }\n\n return result;\n }\n\n getAllMessages() {\n const allLocales = new Set();\n\n for (const moduleLocales of this.moduleLocales.values()) {\n Object.keys(moduleLocales).forEach(locale => allLocales.add(locale));\n }\n\n const messages = {};\n\n for (const locale of allLocales) {\n messages[locale] = this.getMessages(locale);\n }\n\n return messages;\n }\n\n isValidLocales(obj) {\n return this.isObject(obj) && Object.values(obj).every(this.isObject);\n }\n\n isObject(item) {\n return item && typeof item === 'object' && !Array.isArray(item);\n }\n}\n\nexport const i18nManager = new I18nManager();\nexport default I18nManager;\n"],"names":["merge"],"mappings":";;;AAEA,MAAM,YAAY;AAAA,EAChB,cAAc;AACZ,SAAK,gBAAgB,oBAAI,IAAK;AAC9B,SAAK,YAAY,oBAAI,IAAK;AAC1B,SAAK,aAAa,oBAAI,IAAK;AAAA,EAC/B;AAAA,EAEE,SAAS,YAAY,SAAS;AAC5B,QAAI,OAAO,eAAe,YAAY,CAAC,KAAK,eAAe,OAAO,GAAG;AACnE,YAAM,IAAI,UAAU,kCAAkC;AAAA,IAC5D;AACI,SAAK,cAAc,IAAI,YAAY,OAAO;AAC1C,WAAO;AAAA,EACX;AAAA,EAEE,OAAO,YAAY,SAAS;AAC1B,QAAI,CAAC,KAAK,eAAe,OAAO,EAAG,OAAM,IAAI,UAAU,8BAA8B;AACrF,UAAM,WAAW,KAAK,WAAW,IAAI,UAAU,KAAK,CAAE;AACtDA,UAAK,QAAC,UAAU,OAAO;AACvB,SAAK,WAAW,IAAI,YAAY,QAAQ;AACxC,WAAO;AAAA,EACX;AAAA,EAEE,SAAS,YAAY,SAAS;AAC5B,QAAI,CAAC,KAAK,eAAe,OAAO,EAAG,OAAM,IAAI,UAAU,gCAAgC;AACvF,UAAM,WAAW,KAAK,UAAU,IAAI,UAAU,KAAK,CAAE;AACrDA,UAAK,QAAC,UAAU,OAAO;AACvB,SAAK,UAAU,IAAI,YAAY,QAAQ;AACvC,WAAO;AAAA,EACX;AAAA,EAEE,YAAY,QAAQ;AAClB,UAAM,SAAS,CAAE;AAEjB,eAAW,CAAG,EAAA,aAAa,KAAK,KAAK,eAAe;AAClD,UAAI,cAAc,MAAM,GAAG;AACzBA,cAAAA,QAAM,QAAQ,cAAc,MAAM,CAAC;AAAA,MAC3C;AAAA,IACA;AAEI,eAAW,CAAG,EAAA,GAAG,KAAK,KAAK,YAAY;AACrC,UAAI,IAAI,MAAM,GAAG;AACfA,cAAAA,QAAM,QAAQ,IAAI,MAAM,CAAC;AAAA,MACjC;AAAA,IACA;AAEI,eAAW,CAAG,EAAA,QAAQ,KAAK,KAAK,WAAW;AACzC,UAAI,SAAS,MAAM,GAAG;AACpBA,cAAAA,QAAM,QAAQ,SAAS,MAAM,CAAC;AAAA,MACtC;AAAA,IACA;AAEI,WAAO;AAAA,EACX;AAAA,EAEE,iBAAiB;AACf,UAAM,aAAa,oBAAI,IAAK;AAE5B,eAAW,iBAAiB,KAAK,cAAc,OAAM,GAAI;AACvD,aAAO,KAAK,aAAa,EAAE,QAAQ,YAAU,WAAW,IAAI,MAAM,CAAC;AAAA,IACzE;AAEI,UAAM,WAAW,CAAE;AAEnB,eAAW,UAAU,YAAY;AAC/B,eAAS,MAAM,IAAI,KAAK,YAAY,MAAM;AAAA,IAChD;AAEI,WAAO;AAAA,EACX;AAAA,EAEE,eAAe,KAAK;AAClB,WAAO,KAAK,SAAS,GAAG,KAAK,OAAO,OAAO,GAAG,EAAE,MAAM,KAAK,QAAQ;AAAA,EACvE;AAAA,EAEE,SAAS,MAAM;AACb,WAAO,QAAQ,OAAO,SAAS,YAAY,CAAC,MAAM,QAAQ,IAAI;AAAA,EAClE;AACA;AAEY,MAAC,cAAc,IAAI,YAAW;;;"}
@@ -0,0 +1,71 @@
1
+ import merge from "../../../../../../_virtual/index2.js";
2
+ class I18nManager {
3
+ constructor() {
4
+ this.moduleLocales = /* @__PURE__ */ new Map();
5
+ this.overrides = /* @__PURE__ */ new Map();
6
+ this.extensions = /* @__PURE__ */ new Map();
7
+ }
8
+ register(moduleName, locales) {
9
+ if (typeof moduleName !== "string" || !this.isValidLocales(locales)) {
10
+ throw new TypeError("Invalid arguments for register()");
11
+ }
12
+ this.moduleLocales.set(moduleName, locales);
13
+ return this;
14
+ }
15
+ extend(moduleName, locales) {
16
+ if (!this.isValidLocales(locales)) throw new TypeError("Invalid locales for extend()");
17
+ const existing = this.extensions.get(moduleName) || {};
18
+ merge(existing, locales);
19
+ this.extensions.set(moduleName, existing);
20
+ return this;
21
+ }
22
+ override(moduleName, locales) {
23
+ if (!this.isValidLocales(locales)) throw new TypeError("Invalid locales for override()");
24
+ const existing = this.overrides.get(moduleName) || {};
25
+ merge(existing, locales);
26
+ this.overrides.set(moduleName, existing);
27
+ return this;
28
+ }
29
+ getMessages(locale) {
30
+ const result = {};
31
+ for (const [, moduleLocales] of this.moduleLocales) {
32
+ if (moduleLocales[locale]) {
33
+ merge(result, moduleLocales[locale]);
34
+ }
35
+ }
36
+ for (const [, ext] of this.extensions) {
37
+ if (ext[locale]) {
38
+ merge(result, ext[locale]);
39
+ }
40
+ }
41
+ for (const [, override] of this.overrides) {
42
+ if (override[locale]) {
43
+ merge(result, override[locale]);
44
+ }
45
+ }
46
+ return result;
47
+ }
48
+ getAllMessages() {
49
+ const allLocales = /* @__PURE__ */ new Set();
50
+ for (const moduleLocales of this.moduleLocales.values()) {
51
+ Object.keys(moduleLocales).forEach((locale) => allLocales.add(locale));
52
+ }
53
+ const messages = {};
54
+ for (const locale of allLocales) {
55
+ messages[locale] = this.getMessages(locale);
56
+ }
57
+ return messages;
58
+ }
59
+ isValidLocales(obj) {
60
+ return this.isObject(obj) && Object.values(obj).every(this.isObject);
61
+ }
62
+ isObject(item) {
63
+ return item && typeof item === "object" && !Array.isArray(item);
64
+ }
65
+ }
66
+ const i18nManager = new I18nManager();
67
+ export {
68
+ I18nManager as default,
69
+ i18nManager
70
+ };
71
+ //# sourceMappingURL=globals.i18n.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globals.i18n.js","sources":["../../../../../../../src/modules/globals/views/classes/globals.i18n.js"],"sourcesContent":["import merge from 'lodash.merge';\n\nclass I18nManager {\n constructor() {\n this.moduleLocales = new Map();\n this.overrides = new Map();\n this.extensions = new Map();\n }\n\n register(moduleName, locales) {\n if (typeof moduleName !== 'string' || !this.isValidLocales(locales)) {\n throw new TypeError('Invalid arguments for register()');\n }\n this.moduleLocales.set(moduleName, locales);\n return this;\n }\n\n extend(moduleName, locales) {\n if (!this.isValidLocales(locales)) throw new TypeError('Invalid locales for extend()');\n const existing = this.extensions.get(moduleName) || {};\n merge(existing, locales);\n this.extensions.set(moduleName, existing);\n return this;\n }\n\n override(moduleName, locales) {\n if (!this.isValidLocales(locales)) throw new TypeError('Invalid locales for override()');\n const existing = this.overrides.get(moduleName) || {};\n merge(existing, locales);\n this.overrides.set(moduleName, existing);\n return this;\n }\n\n getMessages(locale) {\n const result = {};\n\n for (const [, moduleLocales] of this.moduleLocales) {\n if (moduleLocales[locale]) {\n merge(result, moduleLocales[locale]);\n }\n }\n\n for (const [, ext] of this.extensions) {\n if (ext[locale]) {\n merge(result, ext[locale]);\n }\n }\n\n for (const [, override] of this.overrides) {\n if (override[locale]) {\n merge(result, override[locale]);\n }\n }\n\n return result;\n }\n\n getAllMessages() {\n const allLocales = new Set();\n\n for (const moduleLocales of this.moduleLocales.values()) {\n Object.keys(moduleLocales).forEach(locale => allLocales.add(locale));\n }\n\n const messages = {};\n\n for (const locale of allLocales) {\n messages[locale] = this.getMessages(locale);\n }\n\n return messages;\n }\n\n isValidLocales(obj) {\n return this.isObject(obj) && Object.values(obj).every(this.isObject);\n }\n\n isObject(item) {\n return item && typeof item === 'object' && !Array.isArray(item);\n }\n}\n\nexport const i18nManager = new I18nManager();\nexport default I18nManager;\n"],"names":[],"mappings":";AAEA,MAAM,YAAY;AAAA,EAChB,cAAc;AACZ,SAAK,gBAAgB,oBAAI,IAAK;AAC9B,SAAK,YAAY,oBAAI,IAAK;AAC1B,SAAK,aAAa,oBAAI,IAAK;AAAA,EAC/B;AAAA,EAEE,SAAS,YAAY,SAAS;AAC5B,QAAI,OAAO,eAAe,YAAY,CAAC,KAAK,eAAe,OAAO,GAAG;AACnE,YAAM,IAAI,UAAU,kCAAkC;AAAA,IAC5D;AACI,SAAK,cAAc,IAAI,YAAY,OAAO;AAC1C,WAAO;AAAA,EACX;AAAA,EAEE,OAAO,YAAY,SAAS;AAC1B,QAAI,CAAC,KAAK,eAAe,OAAO,EAAG,OAAM,IAAI,UAAU,8BAA8B;AACrF,UAAM,WAAW,KAAK,WAAW,IAAI,UAAU,KAAK,CAAE;AACtD,UAAM,UAAU,OAAO;AACvB,SAAK,WAAW,IAAI,YAAY,QAAQ;AACxC,WAAO;AAAA,EACX;AAAA,EAEE,SAAS,YAAY,SAAS;AAC5B,QAAI,CAAC,KAAK,eAAe,OAAO,EAAG,OAAM,IAAI,UAAU,gCAAgC;AACvF,UAAM,WAAW,KAAK,UAAU,IAAI,UAAU,KAAK,CAAE;AACrD,UAAM,UAAU,OAAO;AACvB,SAAK,UAAU,IAAI,YAAY,QAAQ;AACvC,WAAO;AAAA,EACX;AAAA,EAEE,YAAY,QAAQ;AAClB,UAAM,SAAS,CAAE;AAEjB,eAAW,CAAG,EAAA,aAAa,KAAK,KAAK,eAAe;AAClD,UAAI,cAAc,MAAM,GAAG;AACzB,cAAM,QAAQ,cAAc,MAAM,CAAC;AAAA,MAC3C;AAAA,IACA;AAEI,eAAW,CAAG,EAAA,GAAG,KAAK,KAAK,YAAY;AACrC,UAAI,IAAI,MAAM,GAAG;AACf,cAAM,QAAQ,IAAI,MAAM,CAAC;AAAA,MACjC;AAAA,IACA;AAEI,eAAW,CAAG,EAAA,QAAQ,KAAK,KAAK,WAAW;AACzC,UAAI,SAAS,MAAM,GAAG;AACpB,cAAM,QAAQ,SAAS,MAAM,CAAC;AAAA,MACtC;AAAA,IACA;AAEI,WAAO;AAAA,EACX;AAAA,EAEE,iBAAiB;AACf,UAAM,aAAa,oBAAI,IAAK;AAE5B,eAAW,iBAAiB,KAAK,cAAc,OAAM,GAAI;AACvD,aAAO,KAAK,aAAa,EAAE,QAAQ,YAAU,WAAW,IAAI,MAAM,CAAC;AAAA,IACzE;AAEI,UAAM,WAAW,CAAE;AAEnB,eAAW,UAAU,YAAY;AAC/B,eAAS,MAAM,IAAI,KAAK,YAAY,MAAM;AAAA,IAChD;AAEI,WAAO;AAAA,EACX;AAAA,EAEE,eAAe,KAAK;AAClB,WAAO,KAAK,SAAS,GAAG,KAAK,OAAO,OAAO,GAAG,EAAE,MAAM,KAAK,QAAQ;AAAA,EACvE;AAAA,EAEE,SAAS,MAAM;AACb,WAAO,QAAQ,OAAO,SAAS,YAAY,CAAC,MAAM,QAAQ,IAAI;AAAA,EAClE;AACA;AAEY,MAAC,cAAc,IAAI,YAAW;"}