@ozdao/martyrs 0.2.484 → 0.2.486

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 (436) hide show
  1. package/dist/{Media-2NvSR0vE.js → Media-CXQSPHt2.js} +1 -1
  2. package/dist/{Media-EYG9WPI4.cjs → Media-DhpD64nT.cjs} +1 -1
  3. package/dist/_virtual/index.cjs +4 -4
  4. package/dist/_virtual/index.js +4 -4
  5. package/dist/_virtual/index2.cjs +4 -4
  6. package/dist/_virtual/index2.js +4 -4
  7. package/dist/auth.server.cjs +2 -23
  8. package/dist/auth.server.js +1 -22
  9. package/dist/globals.crud-BQG1Lm0A.js +90 -0
  10. package/dist/globals.crud-Dv7UXbRM.cjs +89 -0
  11. package/dist/globals.server.cjs +3 -322
  12. package/dist/globals.server.js +1 -303
  13. package/dist/globals.websocket-DzvdIBf6.js +306 -0
  14. package/dist/globals.websocket-k6_B1T7k.cjs +322 -0
  15. package/dist/{main-BT1yoKH2.js → main-Cfh5138F.js} +2102 -1993
  16. package/dist/main-DKJqboZy.cjs +11 -0
  17. package/dist/martyrs/src/components/Button/{Button.vue2.cjs → Button.vue.cjs} +2 -2
  18. package/dist/martyrs/src/components/Button/{Button.vue2.js.map → Button.vue.cjs.map} +1 -1
  19. package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +2 -2
  20. package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
  21. package/dist/martyrs/src/components/{DatePicker → Calendar}/Calendar.vue.cjs +1 -1
  22. package/dist/martyrs/src/components/Calendar/Calendar.vue.cjs.map +1 -0
  23. package/dist/martyrs/src/components/{DatePicker → Calendar}/Calendar.vue.js +1 -1
  24. package/dist/martyrs/src/components/Calendar/Calendar.vue.js.map +1 -0
  25. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.cjs → Dropdown.vue.cjs} +2 -2
  26. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js.map → Dropdown.vue.cjs.map} +1 -1
  27. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
  28. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
  29. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +2 -2
  30. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  31. package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
  32. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  33. package/dist/martyrs/src/components/Field/Field.vue.cjs +13 -7
  34. package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
  35. package/dist/martyrs/src/components/Field/Field.vue.js +14 -8
  36. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  37. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  38. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
  39. package/dist/martyrs/src/components/Popup/{Popup.vue2.cjs → Popup.vue.cjs} +2 -2
  40. package/dist/martyrs/src/components/Popup/{Popup.vue2.js.map → Popup.vue.cjs.map} +1 -1
  41. package/dist/martyrs/src/components/Popup/{Popup.vue2.js → Popup.vue.js} +2 -2
  42. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -0
  43. package/dist/martyrs/src/modules/auth/auth.client.cjs +3 -0
  44. package/dist/martyrs/src/modules/auth/auth.client.cjs.map +1 -1
  45. package/dist/martyrs/src/modules/auth/auth.client.js +3 -0
  46. package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
  47. package/dist/martyrs/src/modules/auth/locales/en.cjs +79 -0
  48. package/dist/martyrs/src/modules/auth/locales/en.cjs.map +1 -0
  49. package/dist/martyrs/src/modules/auth/locales/en.js +79 -0
  50. package/dist/martyrs/src/modules/auth/locales/en.js.map +1 -0
  51. package/dist/martyrs/src/modules/auth/locales/index.cjs +10 -0
  52. package/dist/martyrs/src/modules/auth/locales/index.cjs.map +1 -0
  53. package/dist/martyrs/src/modules/auth/locales/index.js +10 -0
  54. package/dist/martyrs/src/modules/auth/locales/index.js.map +1 -0
  55. package/dist/martyrs/src/modules/auth/locales/ru.cjs +79 -0
  56. package/dist/martyrs/src/modules/auth/locales/ru.cjs.map +1 -0
  57. package/dist/martyrs/src/modules/auth/locales/ru.js +79 -0
  58. package/dist/martyrs/src/modules/auth/locales/ru.js.map +1 -0
  59. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +0 -9
  60. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  61. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +2 -11
  62. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  63. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs +4 -6
  64. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs.map +1 -1
  65. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js +4 -6
  66. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js.map +1 -1
  67. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +7 -9
  68. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
  69. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +7 -9
  70. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
  71. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  72. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  73. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
  74. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  75. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +1 -1
  76. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  77. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +1 -1
  78. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  79. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  81. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +11 -13
  82. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs.map +1 -1
  83. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +11 -13
  84. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
  85. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +12 -14
  86. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
  87. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +12 -14
  88. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  89. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +11 -13
  90. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs.map +1 -1
  91. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +11 -13
  92. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
  93. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  94. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  95. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -47
  96. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  97. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -47
  98. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  99. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  100. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  101. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
  102. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  103. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  104. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  105. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  106. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  107. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  108. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
  109. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  110. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
  111. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  112. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  113. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
  114. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
  115. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  116. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  117. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
  118. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  119. package/dist/martyrs/src/modules/globals/globals.client.cjs +1 -0
  120. package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
  121. package/dist/martyrs/src/modules/globals/globals.client.js +1 -0
  122. package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
  123. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
  124. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
  125. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.js +1 -1
  127. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  128. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  129. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +2 -2
  130. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +2 -2
  131. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +3 -3
  132. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs.map +1 -1
  133. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +3 -3
  134. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js.map +1 -1
  135. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  136. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  137. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  139. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  140. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  141. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  143. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +1 -1
  144. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +1 -1
  145. package/dist/martyrs/src/modules/globals/views/utils/axios-instance.cjs.map +1 -1
  146. package/dist/martyrs/src/modules/globals/views/utils/axios-instance.js.map +1 -1
  147. package/dist/martyrs/src/modules/icons/actions/IconShow.vue.cjs +49 -0
  148. package/dist/martyrs/src/modules/icons/actions/IconShow.vue.cjs.map +1 -0
  149. package/dist/martyrs/src/modules/icons/actions/IconShow.vue.js +49 -0
  150. package/dist/martyrs/src/modules/icons/actions/IconShow.vue.js.map +1 -0
  151. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs +34 -0
  152. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs.map +1 -0
  153. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js +34 -0
  154. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js.map +1 -0
  155. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +115 -122
  156. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
  157. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +163 -170
  158. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
  159. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +87 -0
  160. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs.map +1 -0
  161. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +87 -0
  162. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js.map +1 -0
  163. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.cjs +83 -0
  164. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.cjs.map +1 -0
  165. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js +83 -0
  166. package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js.map +1 -0
  167. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +83 -0
  168. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs.map +1 -0
  169. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +83 -0
  170. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js.map +1 -0
  171. package/dist/martyrs/src/modules/music/components/cards/TrackCard.vue.cjs +68 -0
  172. package/dist/martyrs/src/modules/music/components/cards/TrackCard.vue.cjs.map +1 -0
  173. package/dist/martyrs/src/modules/music/components/cards/TrackCard.vue.js +68 -0
  174. package/dist/martyrs/src/modules/music/components/cards/TrackCard.vue.js.map +1 -0
  175. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +174 -0
  176. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs.map +1 -0
  177. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +174 -0
  178. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js.map +1 -0
  179. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +80 -0
  180. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs.map +1 -0
  181. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +80 -0
  182. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js.map +1 -0
  183. package/dist/martyrs/src/modules/music/components/forms/UploadForm.vue.cjs +328 -0
  184. package/dist/martyrs/src/modules/music/components/forms/UploadForm.vue.cjs.map +1 -0
  185. package/dist/martyrs/src/modules/music/components/forms/UploadForm.vue.js +328 -0
  186. package/dist/martyrs/src/modules/music/components/forms/UploadForm.vue.js.map +1 -0
  187. package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.cjs +115 -0
  188. package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.cjs.map +1 -0
  189. package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.js +115 -0
  190. package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.js.map +1 -0
  191. package/dist/martyrs/src/modules/music/components/lists/AlbumList.vue.cjs +44 -0
  192. package/dist/martyrs/src/modules/music/components/lists/AlbumList.vue.cjs.map +1 -0
  193. package/dist/martyrs/src/modules/music/components/lists/AlbumList.vue.js +44 -0
  194. package/dist/martyrs/src/modules/music/components/lists/AlbumList.vue.js.map +1 -0
  195. package/dist/martyrs/src/modules/music/components/lists/ArtistList.vue.cjs +305 -0
  196. package/dist/martyrs/src/modules/music/components/lists/ArtistList.vue.cjs.map +1 -0
  197. package/dist/martyrs/src/modules/music/components/lists/ArtistList.vue.js +305 -0
  198. package/dist/martyrs/src/modules/music/components/lists/ArtistList.vue.js.map +1 -0
  199. package/dist/martyrs/src/modules/music/components/lists/PlaylistList.vue.cjs +44 -0
  200. package/dist/martyrs/src/modules/music/components/lists/PlaylistList.vue.cjs.map +1 -0
  201. package/dist/martyrs/src/modules/music/components/lists/PlaylistList.vue.js +44 -0
  202. package/dist/martyrs/src/modules/music/components/lists/PlaylistList.vue.js.map +1 -0
  203. package/dist/martyrs/src/modules/music/components/lists/TrackList.vue.cjs +199 -0
  204. package/dist/martyrs/src/modules/music/components/lists/TrackList.vue.cjs.map +1 -0
  205. package/dist/martyrs/src/modules/music/components/lists/TrackList.vue.js +199 -0
  206. package/dist/martyrs/src/modules/music/components/lists/TrackList.vue.js.map +1 -0
  207. package/dist/martyrs/src/modules/music/components/pages/AlbumDetail.vue.cjs +290 -0
  208. package/dist/martyrs/src/modules/music/components/pages/AlbumDetail.vue.cjs.map +1 -0
  209. package/dist/martyrs/src/modules/music/components/pages/AlbumDetail.vue.js +290 -0
  210. package/dist/martyrs/src/modules/music/components/pages/AlbumDetail.vue.js.map +1 -0
  211. package/dist/martyrs/src/modules/music/components/pages/ArtistDetail.vue.cjs +467 -0
  212. package/dist/martyrs/src/modules/music/components/pages/ArtistDetail.vue.cjs.map +1 -0
  213. package/dist/martyrs/src/modules/music/components/pages/ArtistDetail.vue.js +467 -0
  214. package/dist/martyrs/src/modules/music/components/pages/ArtistDetail.vue.js.map +1 -0
  215. package/dist/martyrs/src/modules/music/components/pages/ArtistForm.vue.cjs +382 -0
  216. package/dist/martyrs/src/modules/music/components/pages/ArtistForm.vue.cjs.map +1 -0
  217. package/dist/martyrs/src/modules/music/components/pages/ArtistForm.vue.js +382 -0
  218. package/dist/martyrs/src/modules/music/components/pages/ArtistForm.vue.js.map +1 -0
  219. package/dist/martyrs/src/modules/music/components/pages/ArtistManager.vue.cjs +303 -0
  220. package/dist/martyrs/src/modules/music/components/pages/ArtistManager.vue.cjs.map +1 -0
  221. package/dist/martyrs/src/modules/music/components/pages/ArtistManager.vue.js +303 -0
  222. package/dist/martyrs/src/modules/music/components/pages/ArtistManager.vue.js.map +1 -0
  223. package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs +221 -0
  224. package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs.map +1 -0
  225. package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.js +221 -0
  226. package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.js.map +1 -0
  227. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +200 -0
  228. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs.map +1 -0
  229. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +200 -0
  230. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js.map +1 -0
  231. package/dist/martyrs/src/modules/music/components/pages/MusicUpload.vue.cjs +50 -0
  232. package/dist/martyrs/src/modules/music/components/pages/MusicUpload.vue.cjs.map +1 -0
  233. package/dist/martyrs/src/modules/music/components/pages/MusicUpload.vue.js +50 -0
  234. package/dist/martyrs/src/modules/music/components/pages/MusicUpload.vue.js.map +1 -0
  235. package/dist/martyrs/src/modules/music/components/pages/PlaylistDetail.vue.cjs +556 -0
  236. package/dist/martyrs/src/modules/music/components/pages/PlaylistDetail.vue.cjs.map +1 -0
  237. package/dist/martyrs/src/modules/music/components/pages/PlaylistDetail.vue.js +556 -0
  238. package/dist/martyrs/src/modules/music/components/pages/PlaylistDetail.vue.js.map +1 -0
  239. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +449 -0
  240. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs.map +1 -0
  241. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +449 -0
  242. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js.map +1 -0
  243. package/dist/martyrs/src/modules/music/components/pages/TrackDetail.vue.cjs +87 -0
  244. package/dist/martyrs/src/modules/music/components/pages/TrackDetail.vue.cjs.map +1 -0
  245. package/dist/martyrs/src/modules/music/components/pages/TrackDetail.vue.js +87 -0
  246. package/dist/martyrs/src/modules/music/components/pages/TrackDetail.vue.js.map +1 -0
  247. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +227 -0
  248. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs.map +1 -0
  249. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +227 -0
  250. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js.map +1 -0
  251. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.cjs +85 -0
  252. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.cjs.map +1 -0
  253. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js +85 -0
  254. package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js.map +1 -0
  255. package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.cjs +71 -0
  256. package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.cjs.map +1 -0
  257. package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +71 -0
  258. package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js.map +1 -0
  259. package/dist/martyrs/src/modules/music/music.client.cjs +137 -0
  260. package/dist/martyrs/src/modules/music/music.client.cjs.map +1 -0
  261. package/dist/martyrs/src/modules/music/music.client.js +137 -0
  262. package/dist/martyrs/src/modules/music/music.client.js.map +1 -0
  263. package/dist/martyrs/src/modules/music/router/music.cjs +99 -0
  264. package/dist/martyrs/src/modules/music/router/music.cjs.map +1 -0
  265. package/dist/martyrs/src/modules/music/router/music.js +99 -0
  266. package/dist/martyrs/src/modules/music/router/music.js.map +1 -0
  267. package/dist/martyrs/src/modules/music/store/albums.cjs +167 -0
  268. package/dist/martyrs/src/modules/music/store/albums.cjs.map +1 -0
  269. package/dist/martyrs/src/modules/music/store/albums.js +167 -0
  270. package/dist/martyrs/src/modules/music/store/albums.js.map +1 -0
  271. package/dist/martyrs/src/modules/music/store/artists.cjs +154 -0
  272. package/dist/martyrs/src/modules/music/store/artists.cjs.map +1 -0
  273. package/dist/martyrs/src/modules/music/store/artists.js +154 -0
  274. package/dist/martyrs/src/modules/music/store/artists.js.map +1 -0
  275. package/dist/martyrs/src/modules/music/store/player.cjs +297 -0
  276. package/dist/martyrs/src/modules/music/store/player.cjs.map +1 -0
  277. package/dist/martyrs/src/modules/music/store/player.js +297 -0
  278. package/dist/martyrs/src/modules/music/store/player.js.map +1 -0
  279. package/dist/martyrs/src/modules/music/store/playlists.cjs +174 -0
  280. package/dist/martyrs/src/modules/music/store/playlists.cjs.map +1 -0
  281. package/dist/martyrs/src/modules/music/store/playlists.js +174 -0
  282. package/dist/martyrs/src/modules/music/store/playlists.js.map +1 -0
  283. package/dist/martyrs/src/modules/music/store/search.cjs +109 -0
  284. package/dist/martyrs/src/modules/music/store/search.cjs.map +1 -0
  285. package/dist/martyrs/src/modules/music/store/search.js +109 -0
  286. package/dist/martyrs/src/modules/music/store/search.js.map +1 -0
  287. package/dist/martyrs/src/modules/music/store/tracks.cjs +180 -0
  288. package/dist/martyrs/src/modules/music/store/tracks.cjs.map +1 -0
  289. package/dist/martyrs/src/modules/music/store/tracks.js +180 -0
  290. package/dist/martyrs/src/modules/music/store/tracks.js.map +1 -0
  291. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +1 -1
  292. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +1 -1
  293. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  294. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  295. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  296. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  297. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  298. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  299. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  300. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  301. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +2 -2
  302. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
  303. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  304. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  305. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  306. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  307. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  308. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  309. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  310. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  311. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
  312. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
  313. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  314. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  315. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  316. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  317. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  318. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  319. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  320. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  321. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  322. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  323. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  324. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  325. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +1 -1
  326. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +1 -1
  327. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  328. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  329. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
  330. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  331. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +3 -3
  332. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +3 -3
  333. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +2 -2
  334. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +2 -2
  335. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +2 -2
  336. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  337. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
  338. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
  339. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  340. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  341. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +2 -2
  342. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +2 -2
  343. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +2 -2
  344. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  345. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +1 -1
  346. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +1 -1
  347. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +1 -1
  348. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +1 -1
  349. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
  350. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  351. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
  352. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  353. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +1 -1
  354. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  355. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  356. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  357. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +1 -1
  358. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  359. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  360. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  361. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  362. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  363. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  364. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  365. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  366. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  367. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
  368. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
  369. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
  370. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  371. package/dist/martyrs.cjs.js +1 -1
  372. package/dist/martyrs.css +1 -1
  373. package/dist/martyrs.es.js +38 -36
  374. package/dist/music.server.cjs +1407 -0
  375. package/dist/music.server.js +1407 -0
  376. package/dist/orders.server.cjs +3 -88
  377. package/dist/orders.server.js +2 -87
  378. package/dist/socials.schema-BOZV82Mp.js +25 -0
  379. package/dist/socials.schema-CtpSF9dE.cjs +24 -0
  380. package/dist/style.css +250 -97
  381. package/package.json +1 -1
  382. package/src/.martyrs/filemap.json +2 -2
  383. package/src/components/Feed/Feed.vue +1 -1
  384. package/src/components/Field/Field.vue +42 -27
  385. package/src/components/index.js +2 -0
  386. package/src/main.js +6 -0
  387. package/src/modules/auth/auth.client.js +7 -0
  388. package/src/modules/auth/locales/en.js +76 -0
  389. package/src/modules/auth/locales/index.js +7 -0
  390. package/src/modules/auth/locales/ru.js +76 -0
  391. package/src/modules/auth/views/components/layouts/Auth.vue +2 -44
  392. package/src/modules/auth/views/components/pages/EnterCode.vue +5 -7
  393. package/src/modules/auth/views/components/pages/EnterPassword.vue +7 -10
  394. package/src/modules/auth/views/components/pages/ResetPassword.vue +9 -12
  395. package/src/modules/auth/views/components/pages/SignIn.vue +12 -15
  396. package/src/modules/auth/views/components/pages/SignUp.vue +9 -12
  397. package/src/modules/auth/views/components/sections/SliderFeatures.vue +11 -48
  398. package/src/modules/events/components/pages/EditEvent.vue +1 -1
  399. package/src/modules/globals/globals.client.js +1 -0
  400. package/src/modules/globals/views/components/blocks/PopupDateSelector.vue +1 -1
  401. package/src/modules/globals/views/utils/axios-instance.js +15 -1
  402. package/src/modules/icons/actions/IconShow.vue +23 -0
  403. package/src/modules/icons/pages/IconsPage.vue +114 -120
  404. package/src/modules/products/components/pages/Product.vue +1 -1
  405. package/dist/main-rF15sgss.cjs +0 -11
  406. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +0 -1
  407. package/dist/martyrs/src/components/DatePicker/Calendar.vue.cjs.map +0 -1
  408. package/dist/martyrs/src/components/DatePicker/Calendar.vue.js.map +0 -1
  409. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +0 -1
  410. package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +0 -1
  411. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.cjs +0 -9
  412. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.cjs.map +0 -1
  413. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.js +0 -9
  414. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.js.map +0 -1
  415. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.cjs +0 -9
  416. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.cjs.map +0 -1
  417. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.js +0 -9
  418. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.js.map +0 -1
  419. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.cjs +0 -9
  420. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.cjs.map +0 -1
  421. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.js +0 -9
  422. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.js.map +0 -1
  423. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.cjs +0 -9
  424. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.cjs.map +0 -1
  425. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.js +0 -9
  426. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.js.map +0 -1
  427. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.cjs +0 -9
  428. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.cjs.map +0 -1
  429. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.js +0 -9
  430. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.js.map +0 -1
  431. package/src/modules/auth/views/localization/EnterCode.json +0 -16
  432. package/src/modules/auth/views/localization/EnterPassword.json +0 -22
  433. package/src/modules/auth/views/localization/ResetPassword.json +0 -26
  434. package/src/modules/auth/views/localization/SignIn.json +0 -34
  435. package/src/modules/auth/views/localization/SignUp.json +0 -28
  436. /package/src/components/{DatePicker → Calendar}/Calendar.vue +0 -0
@@ -1,98 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const globals_logger = require("./globals.logger-CZMgIMlM.cjs");
4
- const queryProcessor = require("./queryProcessor-B_X680wC.cjs");
3
+ const globals_crud = require("./globals.crud-Dv7UXbRM.cjs");
5
4
  const mailing = require("./mailing-q7sR8gCV.cjs");
5
+ const queryProcessor = require("./queryProcessor-B_X680wC.cjs");
6
6
  const credentials_schema = require("./credentials.schema-DwhGdrwC.cjs");
7
7
  const ownership_schema = require("./ownership.schema-DCosqOc1.cjs");
8
8
  const profile_schema = require("./profile.schema-yQuIzngl.cjs");
9
9
  const index = require("./index-YNOkL1mu.cjs");
10
10
  const axios = require("axios");
11
- class CRUD {
12
- constructor(basePath, app, db, model, options) {
13
- this.model = model;
14
- this.cache = new globals_logger.Cache();
15
- this.logger = new globals_logger.Logger(db);
16
- this.app = app;
17
- this.basePath = basePath;
18
- if (!options || options && !options.disableDefaultRoutes) this.registerRoutes();
19
- }
20
- registerRoutes() {
21
- this.app.post(`${this.basePath}/create`, this.create.bind(this));
22
- this.app.get(`${this.basePath}/read`, this.read.bind(this));
23
- this.app.put(`${this.basePath}/update`, this.update.bind(this));
24
- this.app.delete(`${this.basePath}/delete`, this.delete.bind(this));
25
- }
26
- async create(req, res) {
27
- try {
28
- const createdData = await this.model.create(req.body);
29
- await this.cache.flush();
30
- res.status(201).json(createdData);
31
- } catch (error) {
32
- console.log(error);
33
- this.logger.error("Ошибка создания данных", error);
34
- res.status(500).json({ error: error.message });
35
- }
36
- }
37
- async read(req, res) {
38
- try {
39
- let stages = [];
40
- stages = [
41
- ...queryProcessor.queryProcessorGlobals.getBasicOptions(req.query),
42
- // For creator
43
- queryProcessor.queryProcessorGlobals.getCreatorUserLookupStage(),
44
- queryProcessor.queryProcessorGlobals.getCreatorOrganizationLookupStage(),
45
- // For owner
46
- queryProcessor.queryProcessorGlobals.getOwnerUserLookupStage(),
47
- queryProcessor.queryProcessorGlobals.getOwnerOrganizationLookupStage(),
48
- queryProcessor.queryProcessorGlobals.getAddFieldsCreatorOwnerStage(),
49
- // Pagination
50
- ...queryProcessor.queryProcessorGlobals.getSortingOptions(req.query.sortParam, req.query.sortOrder),
51
- ...queryProcessor.queryProcessorGlobals.getPaginationOptions(req.query.skip, req.query.limit),
52
- queryProcessor.queryProcessorGlobals.removeTempPropeties()
53
- ];
54
- const cacheKey = JSON.stringify({ stages });
55
- let data = await this.cache.get(cacheKey);
56
- if (!data) {
57
- data = await this.model.aggregate(stages).exec();
58
- await this.cache.set(cacheKey, data);
59
- }
60
- res.json(data);
61
- } catch (error) {
62
- this.logger.error(error);
63
- res.status(500).json({ error: error.message });
64
- }
65
- }
66
- async update(req, res) {
67
- try {
68
- const updatedData = await this.model.findOneAndUpdate({ _id: req.body._id }, req.body, {
69
- new: true,
70
- runValidators: true
71
- });
72
- if (!updatedData) {
73
- throw new Error("Документ не найден.");
74
- }
75
- await this.cache.flush();
76
- res.json(updatedData);
77
- } catch (error) {
78
- this.logger.error("Ошибка обновления данных", error);
79
- res.status(404).json({ error: error.message });
80
- }
81
- }
82
- async delete(req, res) {
83
- try {
84
- const deletedData = await this.model.findOneAndDelete({ _id: req.body._id });
85
- if (!deletedData) {
86
- throw new Error("Документ не найден.");
87
- }
88
- await this.cache.flush();
89
- res.status(204).send();
90
- } catch (error) {
91
- this.logger.error("Ошибка удаления данных", error);
92
- res.status(404).json({ error: error.message });
93
- }
94
- }
95
- }
96
11
  const { sendChatMessageTelegram: sendChatMessageTelegram$1 } = mailing.mailing;
97
12
  function formatPositions(positions) {
98
13
  return positions.map((pos) => `🔹 ${pos.name} - Price: $${pos.price}, Quantity: ${pos.quantity}`).join("\n");
@@ -794,7 +709,7 @@ function initializeOrders(app, db, origins, publicPath) {
794
709
  if (app) {
795
710
  RoutesOrder(app, db);
796
711
  RoutesApplications(app, db);
797
- new CRUD("/api/customers", app, db, db.customer);
712
+ new globals_crud.CRUD("/api/customers", app, db, db.customer);
798
713
  }
799
714
  }
800
715
  const models = {
@@ -1,96 +1,11 @@
1
- import { C as Cache, L as Logger } from "./globals.logger-Bf6rRU7j.js";
2
- import { q as queryProcessorGlobals } from "./queryProcessor-CVcLPEnv.js";
1
+ import { C as CRUD } from "./globals.crud-BQG1Lm0A.js";
3
2
  import { m as mailing } from "./mailing-C11EYWm-.js";
3
+ import { q as queryProcessorGlobals } from "./queryProcessor-CVcLPEnv.js";
4
4
  import { a as applyCredentialsSchema } from "./credentials.schema-C9FB2EyY.js";
5
5
  import { a as applyOwnershipSchema } from "./ownership.schema-CCZX5vfw.js";
6
6
  import { a as applyProfileSchema } from "./profile.schema-DchVS-Jr.js";
7
7
  import { m as middlewareIndexFactory } from "./index-CsJwdsBW.js";
8
8
  import axios from "axios";
9
- class CRUD {
10
- constructor(basePath, app, db, model, options) {
11
- this.model = model;
12
- this.cache = new Cache();
13
- this.logger = new Logger(db);
14
- this.app = app;
15
- this.basePath = basePath;
16
- if (!options || options && !options.disableDefaultRoutes) this.registerRoutes();
17
- }
18
- registerRoutes() {
19
- this.app.post(`${this.basePath}/create`, this.create.bind(this));
20
- this.app.get(`${this.basePath}/read`, this.read.bind(this));
21
- this.app.put(`${this.basePath}/update`, this.update.bind(this));
22
- this.app.delete(`${this.basePath}/delete`, this.delete.bind(this));
23
- }
24
- async create(req, res) {
25
- try {
26
- const createdData = await this.model.create(req.body);
27
- await this.cache.flush();
28
- res.status(201).json(createdData);
29
- } catch (error) {
30
- console.log(error);
31
- this.logger.error("Ошибка создания данных", error);
32
- res.status(500).json({ error: error.message });
33
- }
34
- }
35
- async read(req, res) {
36
- try {
37
- let stages = [];
38
- stages = [
39
- ...queryProcessorGlobals.getBasicOptions(req.query),
40
- // For creator
41
- queryProcessorGlobals.getCreatorUserLookupStage(),
42
- queryProcessorGlobals.getCreatorOrganizationLookupStage(),
43
- // For owner
44
- queryProcessorGlobals.getOwnerUserLookupStage(),
45
- queryProcessorGlobals.getOwnerOrganizationLookupStage(),
46
- queryProcessorGlobals.getAddFieldsCreatorOwnerStage(),
47
- // Pagination
48
- ...queryProcessorGlobals.getSortingOptions(req.query.sortParam, req.query.sortOrder),
49
- ...queryProcessorGlobals.getPaginationOptions(req.query.skip, req.query.limit),
50
- queryProcessorGlobals.removeTempPropeties()
51
- ];
52
- const cacheKey = JSON.stringify({ stages });
53
- let data = await this.cache.get(cacheKey);
54
- if (!data) {
55
- data = await this.model.aggregate(stages).exec();
56
- await this.cache.set(cacheKey, data);
57
- }
58
- res.json(data);
59
- } catch (error) {
60
- this.logger.error(error);
61
- res.status(500).json({ error: error.message });
62
- }
63
- }
64
- async update(req, res) {
65
- try {
66
- const updatedData = await this.model.findOneAndUpdate({ _id: req.body._id }, req.body, {
67
- new: true,
68
- runValidators: true
69
- });
70
- if (!updatedData) {
71
- throw new Error("Документ не найден.");
72
- }
73
- await this.cache.flush();
74
- res.json(updatedData);
75
- } catch (error) {
76
- this.logger.error("Ошибка обновления данных", error);
77
- res.status(404).json({ error: error.message });
78
- }
79
- }
80
- async delete(req, res) {
81
- try {
82
- const deletedData = await this.model.findOneAndDelete({ _id: req.body._id });
83
- if (!deletedData) {
84
- throw new Error("Документ не найден.");
85
- }
86
- await this.cache.flush();
87
- res.status(204).send();
88
- } catch (error) {
89
- this.logger.error("Ошибка удаления данных", error);
90
- res.status(404).json({ error: error.message });
91
- }
92
- }
93
- }
94
9
  const { sendChatMessageTelegram: sendChatMessageTelegram$1 } = mailing;
95
10
  function formatPositions(positions) {
96
11
  return positions.map((pos) => `🔹 ${pos.name} - Price: $${pos.price}, Quantity: ${pos.quantity}`).join("\n");
@@ -0,0 +1,25 @@
1
+ const applySocialsSchema = function applySocialsSchema2(schema, db) {
2
+ schema.add({
3
+ socials: {
4
+ telegram: {
5
+ type: String,
6
+ default: ""
7
+ },
8
+ twitter: {
9
+ type: String,
10
+ default: ""
11
+ },
12
+ facebook: {
13
+ type: String,
14
+ default: ""
15
+ },
16
+ instagram: {
17
+ type: String,
18
+ default: ""
19
+ }
20
+ }
21
+ });
22
+ };
23
+ export {
24
+ applySocialsSchema as a
25
+ };
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ const applySocialsSchema = function applySocialsSchema2(schema, db) {
3
+ schema.add({
4
+ socials: {
5
+ telegram: {
6
+ type: String,
7
+ default: ""
8
+ },
9
+ twitter: {
10
+ type: String,
11
+ default: ""
12
+ },
13
+ facebook: {
14
+ type: String,
15
+ default: ""
16
+ },
17
+ instagram: {
18
+ type: String,
19
+ default: ""
20
+ }
21
+ }
22
+ });
23
+ };
24
+ exports.applySocialsSchema = applySocialsSchema;
package/dist/style.css CHANGED
@@ -1,4 +1,68 @@
1
- @charset "UTF-8";.tab-selector {
1
+ @charset "UTF-8";
2
+ .carousel {
3
+ position: relative;
4
+ width: 100%;
5
+ overflow: hidden;
6
+ }
7
+ .carousel__container {
8
+ display: flex;
9
+ scroll-snap-type: x mandatory;
10
+ overflow-x: scroll;
11
+ scrollbar-width: none; /* Firefox */
12
+ -ms-overflow-style: none; /* IE and Edge */
13
+ scroll-behavior: smooth;
14
+ }
15
+ .carousel__container::-webkit-scrollbar {
16
+ display: none; /* Chrome, Safari, Opera */
17
+ }
18
+ .carousel__slide {
19
+ flex: 0 0 100%;
20
+ width: 100%;
21
+ scroll-snap-align: start;
22
+ scroll-snap-stop: always;
23
+ }
24
+
25
+ /* Navigation dots */
26
+ .carousel__dots {
27
+ display: flex;
28
+ justify-content: center;
29
+ gap: 0.5rem;
30
+ margin-top: 1rem;
31
+ }
32
+ .carousel__dot {
33
+ width: 0.625rem;
34
+ height: 0.625rem;
35
+ border-radius: 50%;
36
+ background-color: rgba(0, 0, 0, 0.2);
37
+ border: none;
38
+ padding: 0;
39
+ cursor: pointer;
40
+ transition: background-color 0.3s ease;
41
+ }
42
+ .carousel__dot--active {
43
+ background-color: rgba(0, 0, 0, 0.6);
44
+ }
45
+ .auth_slider .carousel {
46
+ height: 100%;
47
+ }
48
+ .auth_slider .carousel__container {
49
+ height: 100%;
50
+ }
51
+ .parent-div {
52
+ display: flex;
53
+ flex-direction: column;
54
+ height: 100%;
55
+ width: 100%;
56
+ object-fit: contain;
57
+ }
58
+ .background-div {
59
+ background-size: cover;
60
+ background-position: center center;
61
+ background-repeat: no-repeat;
62
+ }
63
+ .background-div {
64
+ flex-grow: 1;
65
+ }.tab-selector {
2
66
  position: absolute;
3
67
  width: 50%;
4
68
  height: 100%;
@@ -7,6 +71,31 @@
7
71
  z-index: 0;
8
72
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
9
73
  }
74
+ input[data-v-a0727209],
75
+ textarea[data-v-a0727209],
76
+ span[data-v-a0727209] {
77
+ line-height: 1;
78
+ color: inherit;
79
+ }
80
+ textarea[data-v-a0727209] {
81
+ resize: none;
82
+ overflow: hidden;
83
+ height: 1rem;
84
+ line-height: 1rem;
85
+ }
86
+ input[type="date"][data-v-a0727209]::-webkit-calendar-picker-indicator,
87
+ input[type="time"][data-v-a0727209]::-webkit-calendar-picker-indicator {
88
+ filter: invert(1);
89
+ opacity: 1;
90
+ color: inherit;
91
+ }
92
+ .cursor-pointer[data-v-a0727209] {
93
+ cursor: pointer;
94
+ }
95
+ .pos-relative[data-v-a0727209] {
96
+ position: relative;
97
+ }
98
+
10
99
  .circular-loader {
11
100
  position: relative;
12
101
  z-index: 50;
@@ -129,83 +218,7 @@ a.button {
129
218
  text-align: center;
130
219
  line-height: 16px;
131
220
  font-size: 10px;
132
- }
133
- .carousel {
134
- position: relative;
135
- width: 100%;
136
- overflow: hidden;
137
- }
138
- .carousel__container {
139
- display: flex;
140
- scroll-snap-type: x mandatory;
141
- overflow-x: scroll;
142
- scrollbar-width: none; /* Firefox */
143
- -ms-overflow-style: none; /* IE and Edge */
144
- scroll-behavior: smooth;
145
- }
146
- .carousel__container::-webkit-scrollbar {
147
- display: none; /* Chrome, Safari, Opera */
148
- }
149
- .carousel__slide {
150
- flex: 0 0 100%;
151
- width: 100%;
152
- scroll-snap-align: start;
153
- scroll-snap-stop: always;
154
- }
155
-
156
- /* Navigation dots */
157
- .carousel__dots {
158
- display: flex;
159
- justify-content: center;
160
- gap: 0.5rem;
161
- margin-top: 1rem;
162
- }
163
- .carousel__dot {
164
- width: 0.625rem;
165
- height: 0.625rem;
166
- border-radius: 50%;
167
- background-color: rgba(0, 0, 0, 0.2);
168
- border: none;
169
- padding: 0;
170
- cursor: pointer;
171
- transition: background-color 0.3s ease;
172
- }
173
- .carousel__dot--active {
174
- background-color: rgba(0, 0, 0, 0.6);
175
- }
176
- .auth_slider .carousel {
177
- height: 100%;
178
- }
179
- .auth_slider .carousel__container {
180
- height: 100%;
181
- }
182
- .parent-div {
183
- display: flex;
184
- flex-direction: column;
185
- height: 100%;
186
- width: 100%;
187
- object-fit: contain;
188
- }
189
- .background-div {
190
- flex-grow: 1;
191
- }
192
- input[data-v-cf6a6a58], textarea[data-v-cf6a6a58], span[data-v-cf6a6a58] {
193
- line-height: 1;
194
- color: inherit;
195
- }
196
- textarea[data-v-cf6a6a58] {
197
- resize: none;
198
- overflow: hidden;
199
- height: 1rem;
200
- line-height: 1rem;
201
- }
202
- input[type="date"][data-v-cf6a6a58]::-webkit-calendar-picker-indicator,
203
- input[type="time"][data-v-cf6a6a58]::-webkit-calendar-picker-indicator {
204
- filter: invert(1); /* Это инвертирует иконку, подходит при светлом фоне */
205
- opacity: 1;
206
- color: inherit;
207
- }
208
- .slide-fade-enter-active {
221
+ }.slide-fade-enter-active {
209
222
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
210
223
  }
211
224
  .slide-fade-leave-active {
@@ -675,71 +688,71 @@ ul li[data-v-89d423c5] {
675
688
  left: 100%;
676
689
  }
677
690
  }
678
- .calendar[aria-disabled=true][data-v-416842ae] {
691
+ .calendar[aria-disabled=true][data-v-98c5ce17] {
679
692
  cursor: not-allowed;
680
693
  }
681
- .calendar[aria-disabled=true][data-v-416842ae] * {
694
+ .calendar[aria-disabled=true][data-v-98c5ce17] * {
682
695
  pointer-events: none;
683
696
  }
684
- .calendar__week[data-v-416842ae] {
697
+ .calendar__week[data-v-98c5ce17] {
685
698
  display: grid;
686
699
  grid-template-columns: repeat(7, 1fr);
687
700
  gap: 5px;
688
701
  margin-bottom: 10px;
689
702
  }
690
- .calendar__weekday[data-v-416842ae] {
703
+ .calendar__weekday[data-v-98c5ce17] {
691
704
  text-align: center;
692
705
  }
693
- .calendar__dates[data-v-416842ae] {
706
+ .calendar__dates[data-v-98c5ce17] {
694
707
  display: grid;
695
708
  grid-template-columns: repeat(7, 1fr);
696
709
  grid-auto-rows: 1fr;
697
710
  }
698
- .calendar__dates[data-v-416842ae]::before {
711
+ .calendar__dates[data-v-98c5ce17]::before {
699
712
  content: "";
700
713
  width: 0;
701
714
  padding-bottom: 100%;
702
715
  grid-row: 1/1;
703
716
  grid-column: 1/1;
704
717
  }
705
- .calendar__dates[data-v-416842ae] > *:first-child {
718
+ .calendar__dates[data-v-98c5ce17] > *:first-child {
706
719
  grid-row: 1/1;
707
720
  grid-column: 1/1;
708
721
  }
709
- .calendar__date--today[data-v-416842ae] {
722
+ .calendar__date--today[data-v-98c5ce17] {
710
723
  background-color: rgb(var(--main)) !important;
711
724
  font-weight: bold;
712
725
  }
713
- .calendar__date--in-other-month[data-v-416842ae] {
726
+ .calendar__date--in-other-month[data-v-98c5ce17] {
714
727
  color: #aaaaaa; /* Grey text color for dates from adjacent months */
715
728
  }
716
- .calendar__date--selected[data-v-416842ae] {
729
+ .calendar__date--selected[data-v-98c5ce17] {
717
730
  background-color: #007bff !important;
718
731
  color: #fff;
719
732
  }
720
- .calendar__date--range[data-v-416842ae] {
733
+ .calendar__date--range[data-v-98c5ce17] {
721
734
  background-color: #1c6ab8 !important;
722
735
  }
723
- .calendar__date--disabled[data-v-416842ae], .calendar__date--unavailable[data-v-416842ae] {
736
+ .calendar__date--disabled[data-v-98c5ce17], .calendar__date--unavailable[data-v-98c5ce17] {
724
737
  color: #ccc;
725
738
  cursor: not-allowed;
726
739
  text-decoration: line-through;
727
740
  opacity: 0.5;
728
741
  }
729
- .calendar__date--low-availability[data-v-416842ae] {
742
+ .calendar__date--low-availability[data-v-98c5ce17] {
730
743
  position: relative;
731
744
  background-color: #f0f0f0;
732
745
  /* border: 1px solid #fff3cd;*/
733
746
  /* background-color: #fff3cd;*/
734
747
  }
735
- .availability-indicator[data-v-416842ae] {
748
+ .availability-indicator[data-v-98c5ce17] {
736
749
  position: absolute;
737
750
  bottom: 2px;
738
751
  right: 2px;
739
752
  font-size: 8px;
740
753
  color: #6c757d;
741
754
  }
742
- button[data-v-416842ae]:disabled {
755
+ button[data-v-98c5ce17]:disabled {
743
756
  opacity: 0.5;
744
757
  cursor: not-allowed;
745
758
  }.spoiler {
@@ -2642,16 +2655,16 @@ to {
2642
2655
  transform: rotate(360deg);
2643
2656
  }
2644
2657
  }
2645
- .h-60[data-v-4b92037a] {
2658
+ .h-60[data-v-e6d7e69a] {
2646
2659
  height: 60%;
2647
2660
  }
2648
- .notification[data-v-4b92037a] {
2661
+ .notification[data-v-e6d7e69a] {
2649
2662
  z-index: 100;
2650
2663
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
2651
2664
  transition: all 0.3s ease;
2652
- animation: fadeIn-4b92037a 0.3s;
2665
+ animation: fadeIn-e6d7e69a 0.3s;
2653
2666
  }
2654
- @keyframes fadeIn-4b92037a {
2667
+ @keyframes fadeIn-e6d7e69a {
2655
2668
  from { opacity: 0; transform: translateY(20px);
2656
2669
  }
2657
2670
  to { opacity: 1; transform: translateY(0);
@@ -2965,6 +2978,146 @@ input[data-v-cca87f09] {
2965
2978
  align-items: center;
2966
2979
  border: 1px solid rgba(0, 0, 0, 0.1);
2967
2980
  }
2981
+ .progress-bar-container:hover .progress-bar[data-v-4326ac71] {
2982
+ background-color: rgb(var(--main));
2983
+ }
2984
+ .progress-handle[data-v-4326ac71] {
2985
+ display: none;
2986
+ }
2987
+ .progress-bar-container:hover .progress-handle[data-v-4326ac71] {
2988
+ display: block;
2989
+ transform: translateY(-50%) scale(1.3);
2990
+ }
2991
+
2992
+ .volume-bar-container:hover .volume-bar[data-v-08586594]:not(.muted) {
2993
+ background-color: rgb(var(--main));
2994
+ }
2995
+ .volume-handle[data-v-08586594] {
2996
+ display: none;
2997
+ }
2998
+ .volume-bar-container:hover .volume-handle[data-v-08586594] {
2999
+ display: block;
3000
+ }
3001
+ .muted[data-v-08586594] {
3002
+ opacity: 0.5;
3003
+ }
3004
+
3005
+ .play-pause-btn[data-v-d7b1cef7] {
3006
+ width: 32px;
3007
+ height: 32px;
3008
+ transition: transform 0.2s ease;
3009
+ }
3010
+ .play-pause-btn[data-v-d7b1cef7]:hover {
3011
+ transform: scale(1.1);
3012
+ }
3013
+
3014
+ .search-form[data-v-3fb14bb9] {
3015
+ transition: background-color 0.2s ease;
3016
+ }
3017
+ .search-form[data-v-3fb14bb9]:focus-within {
3018
+ background-color: rgba(var(--dark), 0.8);
3019
+ }
3020
+ input[data-v-3fb14bb9]::placeholder {
3021
+ color: rgba(var(--grey), 0.8);
3022
+ }
3023
+ input[data-v-3fb14bb9]:focus {
3024
+ outline: none;
3025
+ }
3026
+
3027
+ .track-item[data-v-23a9470b] {
3028
+ transition: background-color 0.2s ease;
3029
+ }
3030
+
3031
+ .album-card[data-v-b94f361e] {
3032
+ transition: transform 0.3s ease;
3033
+ }
3034
+ .album-card[data-v-b94f361e]:hover {
3035
+ transform: translateY(-5px);
3036
+ }
3037
+ .album-overlay[data-v-b94f361e] {
3038
+ background: rgba(0, 0, 0, 0.5);
3039
+ opacity: 0;
3040
+ transition: opacity 0.3s ease;
3041
+ }
3042
+ .album-card:hover .album-overlay[data-v-b94f361e] {
3043
+ opacity: 1;
3044
+ }
3045
+ .play-button[data-v-b94f361e] {
3046
+ width: 48px;
3047
+ height: 48px;
3048
+ transform: scale(0.8);
3049
+ transition: transform 0.3s ease;
3050
+ }
3051
+ .album-card:hover .play-button[data-v-b94f361e] {
3052
+ transform: scale(1);
3053
+ }
3054
+
3055
+ .album-cover[data-v-f076792b] {
3056
+ box-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
3057
+ }
3058
+
3059
+ .playlist-card[data-v-fb577898] {
3060
+ transition: transform 0.3s ease;
3061
+ }
3062
+ .playlist-card[data-v-fb577898]:hover {
3063
+ transform: translateY(-5px);
3064
+ }
3065
+ .playlist-overlay[data-v-fb577898] {
3066
+ background: rgba(0, 0, 0, 0.5);
3067
+ opacity: 0;
3068
+ transition: opacity 0.3s ease;
3069
+ }
3070
+ .playlist-card:hover .playlist-overlay[data-v-fb577898] {
3071
+ opacity: 1;
3072
+ }
3073
+ .play-button[data-v-fb577898] {
3074
+ width: 48px;
3075
+ height: 48px;
3076
+ transform: scale(0.8);
3077
+ transition: transform 0.3s ease;
3078
+ }
3079
+ .playlist-card:hover .play-button[data-v-fb577898] {
3080
+ transform: scale(1);
3081
+ }
3082
+
3083
+ .artist-card[data-v-4e655a89] {
3084
+ border: 1px solid rgba(var(--grey), 0.2);
3085
+ transition: transform 0.2s ease;
3086
+ }
3087
+ .hover-scale-1[data-v-4e655a89]:hover {
3088
+ transform: scale(1.02);
3089
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
3090
+ }
3091
+
3092
+ .bg-gradient-dark[data-v-b0e3607d] {
3093
+ background: linear-gradient(to bottom, rgba(var(--dark), 0.8), rgba(var(--black), 0.9));
3094
+ }
3095
+
3096
+ .bg-gradient-color[data-v-7cffa9b9] {
3097
+ background: var(--gradient-color, linear-gradient(135deg, #1DB954, #1ED760));
3098
+ }
3099
+
3100
+ .track-card[data-v-07d4284b] {
3101
+ transition: background-color 0.3s ease;
3102
+ }
3103
+ .track-card[data-v-07d4284b]:hover {
3104
+ background-color: rgba(var(--dark), 0.4);
3105
+ }
3106
+ .track-play[data-v-07d4284b] {
3107
+ opacity: 0;
3108
+ transition: opacity 0.3s ease;
3109
+ }
3110
+ .track-card:hover .track-play[data-v-07d4284b] {
3111
+ opacity: 1;
3112
+ }
3113
+ .play-button[data-v-07d4284b] {
3114
+ transform: scale(0.8);
3115
+ transition: transform 0.3s ease;
3116
+ }
3117
+ .track-card:hover .play-button[data-v-07d4284b] {
3118
+ transform: scale(1);
3119
+ }
3120
+
2968
3121
  .notifications-layout[data-v-f6ac807f] {
2969
3122
  display: flex;
2970
3123
  flex-direction: column;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/martyrs",
3
- "version": "0.2.484",
3
+ "version": "0.2.486",
4
4
  "description": "Fullstack framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",