@ozdao/martyrs 0.2.480 → 0.2.482

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 (458) hide show
  1. package/README.md +4 -13
  2. package/dist/{Media-CKk33U4A.js → Media-JBERcJWj.js} +1 -1
  3. package/dist/{Media-B1ZP3D7B.cjs → Media-p7Q8ZAQM.cjs} +1 -1
  4. package/dist/{abac-XF1JVCLI.cjs → abac-6LjoG9u-.cjs} +107 -26
  5. package/dist/{abac-BuL5pUZ4.js → abac-Cf_9lCSh.js} +107 -26
  6. package/dist/builder.cjs +8 -12
  7. package/dist/builder.js +8 -12
  8. package/dist/globals.server.cjs +1 -1
  9. package/dist/globals.server.js +1 -1
  10. package/dist/{main-BhAiwmnI.js → main-AtCVQKF9.js} +2855 -4162
  11. package/dist/main-B-we7C0w.cjs +11 -0
  12. package/dist/martyrs/src/components/Button/{Button.vue.cjs → Button.vue2.cjs} +2 -2
  13. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -0
  14. package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
  15. package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
  16. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +28 -7
  17. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +1 -1
  18. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +29 -8
  19. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
  20. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs +5 -8
  21. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -1
  22. package/dist/martyrs/src/components/Chips/Chips.vue2.js +6 -9
  23. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -1
  24. package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +84 -0
  25. package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +1 -0
  26. package/dist/martyrs/src/components/Feed/Carousel.vue.js +84 -0
  27. package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -0
  28. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +4 -4
  29. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  30. package/dist/martyrs/src/components/Feed/Feed.vue.js +4 -4
  31. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  32. package/dist/martyrs/src/components/Field/Field.vue.cjs +2 -1
  33. package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
  34. package/dist/martyrs/src/components/Field/Field.vue.js +2 -1
  35. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  36. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs +203 -151
  37. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +1 -1
  38. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js +204 -152
  39. package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js.map +1 -1
  40. package/dist/martyrs/src/components/Popup/{Popup.vue.cjs → Popup.vue2.cjs} +2 -2
  41. package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +1 -0
  42. package/dist/martyrs/src/components/Popup/{Popup.vue.js → Popup.vue2.js} +2 -2
  43. package/dist/martyrs/src/components/Popup/{Popup.vue.cjs.map → Popup.vue2.js.map} +1 -1
  44. package/dist/martyrs/src/components/Radio/Radio.vue.cjs +2 -2
  45. package/dist/martyrs/src/components/Radio/Radio.vue.cjs.map +1 -1
  46. package/dist/martyrs/src/components/Radio/Radio.vue.js +2 -2
  47. package/dist/martyrs/src/components/Radio/Radio.vue.js.map +1 -1
  48. package/dist/martyrs/src/components/Skeleton/Skeleton.vue.cjs +4 -3
  49. package/dist/martyrs/src/components/Skeleton/Skeleton.vue.cjs.map +1 -1
  50. package/dist/martyrs/src/components/Skeleton/Skeleton.vue.js +4 -3
  51. package/dist/martyrs/src/components/Skeleton/Skeleton.vue.js.map +1 -1
  52. package/dist/martyrs/src/components/Slider/{Slider.native.vue.cjs → Slider.vue.cjs} +22 -80
  53. package/dist/martyrs/src/components/Slider/Slider.vue.cjs.map +1 -0
  54. package/dist/martyrs/src/components/Slider/{Slider.native.vue.js → Slider.vue.js} +23 -81
  55. package/dist/martyrs/src/components/Slider/Slider.vue.js.map +1 -0
  56. package/dist/martyrs/src/components/Status/Status.vue.cjs.map +1 -1
  57. package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
  58. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs +4 -2
  59. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +1 -1
  60. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js +4 -2
  61. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +1 -1
  62. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
  63. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
  64. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  65. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  66. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  67. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  68. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +3 -1
  69. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
  70. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +4 -2
  71. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
  72. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +22 -149
  73. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
  74. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +24 -151
  75. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
  76. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +77 -0
  77. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs.map +1 -0
  78. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +77 -0
  79. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -0
  80. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +121 -0
  81. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs.map +1 -0
  82. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +121 -0
  83. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js.map +1 -0
  84. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs +38 -0
  85. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs.map +1 -0
  86. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +38 -0
  87. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.map +1 -0
  88. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  89. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  90. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  91. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  92. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  93. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  94. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  95. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  96. package/dist/martyrs/src/modules/auth/views/router/users.cjs +23 -16
  97. package/dist/martyrs/src/modules/auth/views/router/users.cjs.map +1 -1
  98. package/dist/martyrs/src/modules/auth/views/router/users.js +23 -16
  99. package/dist/martyrs/src/modules/auth/views/router/users.js.map +1 -1
  100. package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +3 -3
  101. package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs.map +1 -1
  102. package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js +3 -3
  103. package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js.map +1 -1
  104. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +6 -6
  105. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +5 -4
  106. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
  107. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +5 -4
  108. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
  109. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  110. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  111. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs +92 -62
  112. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs.map +1 -1
  113. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +93 -63
  114. package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
  115. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs +82 -53
  116. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
  117. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +82 -53
  118. package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js.map +1 -1
  119. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +2 -6
  120. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
  121. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +2 -6
  122. package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
  123. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  124. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  125. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  127. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  128. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  129. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  130. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  131. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
  132. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
  133. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +3 -9
  134. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs.map +1 -1
  135. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +3 -9
  136. package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js.map +1 -1
  137. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +5 -5
  139. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
  140. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +10 -10
  141. package/dist/martyrs/src/modules/globals/globals.client.cjs +2 -0
  142. package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
  143. package/dist/martyrs/src/modules/globals/globals.client.js +2 -0
  144. package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
  145. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.cjs +1 -1
  146. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.js +1 -1
  147. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  148. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
  149. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  150. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
  151. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +84 -0
  152. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs.map +1 -0
  153. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +84 -0
  154. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js.map +1 -0
  155. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +2 -2
  156. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +2 -2
  157. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
  158. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
  159. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  160. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  161. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  162. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  163. package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs +17 -0
  164. package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
  165. package/dist/martyrs/src/modules/globals/views/mixins/mixins.js +17 -0
  166. package/dist/martyrs/src/modules/globals/views/mixins/mixins.js.map +1 -1
  167. package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs +70 -0
  168. package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs.map +1 -0
  169. package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js +70 -0
  170. package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js.map +1 -0
  171. package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs +35 -0
  172. package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs.map +1 -0
  173. package/dist/martyrs/src/modules/icons/entities/IconList.vue.js +35 -0
  174. package/dist/martyrs/src/modules/icons/entities/IconList.vue.js.map +1 -0
  175. package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs +1 -3
  176. package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs.map +1 -1
  177. package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js +1 -3
  178. package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js.map +1 -1
  179. package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs +1 -3
  180. package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs.map +1 -1
  181. package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js +1 -3
  182. package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js.map +1 -1
  183. package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs +1 -3
  184. package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs.map +1 -1
  185. package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.js +1 -3
  186. package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.js.map +1 -1
  187. package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs +1 -3
  188. package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs.map +1 -1
  189. package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.js +1 -3
  190. package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.js.map +1 -1
  191. package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs +1 -3
  192. package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs.map +1 -1
  193. package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js +1 -3
  194. package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js.map +1 -1
  195. package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs +21 -20
  196. package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs.map +1 -1
  197. package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js +21 -20
  198. package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js.map +1 -1
  199. package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs +1 -3
  200. package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs.map +1 -1
  201. package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js +1 -3
  202. package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js.map +1 -1
  203. package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs +6 -13
  204. package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs.map +1 -1
  205. package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js +6 -13
  206. package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js.map +1 -1
  207. package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs +1 -3
  208. package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs.map +1 -1
  209. package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.js +1 -3
  210. package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.js.map +1 -1
  211. package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs +1 -3
  212. package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs.map +1 -1
  213. package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js +1 -3
  214. package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js.map +1 -1
  215. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +1 -3
  216. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
  217. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +41 -43
  218. package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
  219. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs +8 -8
  220. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs.map +1 -1
  221. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js +8 -8
  222. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js.map +1 -1
  223. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +50 -51
  224. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs.map +1 -1
  225. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +51 -52
  226. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
  227. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  228. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  229. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  230. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  231. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  232. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  233. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  234. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  235. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  236. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  237. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  238. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  239. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  240. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  241. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  242. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  243. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  244. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  245. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  246. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  247. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  248. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  249. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +7 -4
  250. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
  251. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +18 -15
  252. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  253. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  254. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  255. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  256. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  257. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  258. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  259. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +7 -2
  260. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
  261. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +8 -3
  262. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
  263. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +11 -12
  264. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs.map +1 -1
  265. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +12 -13
  266. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
  267. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +33 -24
  268. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs.map +1 -1
  269. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +36 -27
  270. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
  271. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs +4 -4
  272. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs.map +1 -1
  273. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +4 -4
  274. package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -1
  275. package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs +7 -5
  276. package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs.map +1 -1
  277. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js +7 -5
  278. package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
  279. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  280. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  281. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
  282. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  283. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +2 -2
  284. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +2 -2
  285. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  286. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  287. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +58 -41
  288. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  289. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +60 -43
  290. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
  291. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +105 -85
  292. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs.map +1 -1
  293. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +107 -87
  294. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
  295. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +2 -2
  296. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +2 -2
  297. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +2 -2
  298. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  299. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +1 -1
  300. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +1 -1
  301. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +145 -0
  302. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +1 -0
  303. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +145 -0
  304. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -0
  305. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
  306. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  307. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +46 -31
  308. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs.map +1 -1
  309. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +50 -35
  310. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
  311. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +43 -0
  312. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +1 -0
  313. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +43 -0
  314. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js.map +1 -0
  315. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +131 -0
  316. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +1 -0
  317. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +131 -0
  318. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -0
  319. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  320. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  321. package/dist/martyrs/src/modules/products/products.client.cjs +3 -3
  322. package/dist/martyrs/src/modules/products/products.client.cjs.map +1 -1
  323. package/dist/martyrs/src/modules/products/products.client.js +3 -3
  324. package/dist/martyrs/src/modules/products/products.client.js.map +1 -1
  325. package/dist/martyrs/src/modules/products/store/products.cjs +4 -0
  326. package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
  327. package/dist/martyrs/src/modules/products/store/products.js +4 -0
  328. package/dist/martyrs/src/modules/products/store/products.js.map +1 -1
  329. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +1 -1
  330. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  331. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  332. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  333. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  334. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  335. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  336. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  337. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
  338. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
  339. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
  340. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  341. package/dist/martyrs.cjs.js +1 -1
  342. package/dist/martyrs.css +1 -1
  343. package/dist/martyrs.es.js +1 -1
  344. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +1 -1
  345. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  346. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +1 -1
  347. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  348. package/dist/organizations.server.cjs +1 -1
  349. package/dist/organizations.server.js +1 -1
  350. package/dist/products.server.cjs +111 -34
  351. package/dist/products.server.js +111 -34
  352. package/dist/style.css +196 -170
  353. package/package.json +1 -1
  354. package/src/.martyrs/chunks.json +325 -0
  355. package/src/.martyrs/filemap.json +6802 -0
  356. package/src/.martyrs/semantic-analysis.json +307 -0
  357. package/src/.martyrs/toc.json +14 -0
  358. package/src/builder/rspack/rspack.config.api.js +8 -11
  359. package/src/components/Button/Button.vue +2 -2
  360. package/src/components/Checkbox/Checkbox.vue +28 -16
  361. package/src/components/Chips/Chips.vue +4 -4
  362. package/src/components/Feed/Carousel.vue +72 -0
  363. package/src/components/Feed/Feed.vue +2 -2
  364. package/src/components/Field/Field.vue +1 -0
  365. package/src/components/PhotoViewer/PhotoViewer.vue +307 -220
  366. package/src/components/Radio/Radio.vue +2 -10
  367. package/src/components/Skeleton/Skeleton.vue +9 -12
  368. package/src/components/Slider/Slider.vue +220 -100
  369. package/src/components/Status/Status.vue +0 -1
  370. package/src/components/Tooltip/Tooltip.vue +2 -2
  371. package/src/modules/auth/views/components/pages/Profile.vue +1 -1
  372. package/src/modules/auth/views/components/pages/ProfileEdit.old.vue +189 -0
  373. package/src/modules/auth/views/components/pages/ProfileEdit.vue +19 -182
  374. package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +72 -0
  375. package/src/modules/auth/views/components/pages/ProfileEditProfile.vue +110 -0
  376. package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +28 -0
  377. package/src/modules/auth/views/router/users.js +23 -12
  378. package/src/modules/community/components/blocks/FooterBlogpost.vue +3 -3
  379. package/src/modules/community/components/pages/BlogPost.vue +2 -1
  380. package/src/modules/community/components/sections/Comment.vue +161 -57
  381. package/src/modules/community/components/sections/Comments.vue +120 -63
  382. package/src/modules/community/components/sections/HotPosts.vue +7 -7
  383. package/src/modules/events/components/sections/EventsHot.vue +26 -33
  384. package/src/modules/globals/controllers/classes/abac/abac.core.js +3 -1
  385. package/src/modules/globals/controllers/classes/abac/abac.fields.js +126 -42
  386. package/src/modules/globals/controllers/classes/abac/v2/abac-core-fixed.js +313 -0
  387. package/src/modules/globals/controllers/classes/abac/v2/abac-express-fixed.js +276 -0
  388. package/src/modules/globals/controllers/classes/abac/v2/abac-fields-fixed.js +422 -0
  389. package/src/modules/globals/controllers/classes/abac/v2/abac-main-fixed.js +295 -0
  390. package/src/modules/globals/controllers/classes/abac/v2/abac-policies-fixed.js +316 -0
  391. package/src/modules/globals/controllers/classes/abac/v2/abac-ws-fixed.js +237 -0
  392. package/src/modules/globals/globals.client.js +2 -0
  393. package/src/modules/globals/views/components/blocks/CardFooter.vue +3 -3
  394. package/src/modules/globals/views/components/blocks/CardHeader.vue +1 -1
  395. package/src/modules/globals/views/components/blocks/PopupAuth.vue +66 -0
  396. package/src/modules/globals/views/mixins/mixins.js +37 -17
  397. package/src/modules/globals/views/plugins/popup.auth.plugin.js +77 -0
  398. package/src/modules/icons/entities/IconList.vue +14 -0
  399. package/src/modules/icons/navigation/IconCheck.vue +1 -3
  400. package/src/modules/icons/navigation/IconDoubleCheck.vue +1 -3
  401. package/src/modules/icons/navigation/IconLike.vue +1 -3
  402. package/src/modules/icons/navigation/IconMute.vue +1 -3
  403. package/src/modules/icons/navigation/IconPause.vue +1 -3
  404. package/src/modules/icons/navigation/IconPlay.vue +12 -15
  405. package/src/modules/icons/navigation/IconRefresh.vue +1 -3
  406. package/src/modules/icons/navigation/IconShuffle.vue +11 -26
  407. package/src/modules/icons/navigation/IconUnMute.vue +1 -3
  408. package/src/modules/icons/navigation/IconVolume.vue +1 -3
  409. package/src/modules/icons/pages/IconsPage.vue +0 -2
  410. package/src/modules/music/components/pages/AlbumDetail.vue +2 -2
  411. package/src/modules/music/components/pages/PlaylistDetail.vue +2 -2
  412. package/src/modules/music/components/pages/TrackDetail.vue +1 -1
  413. package/src/modules/music/components/player/MusicPlayer.vue +2 -2
  414. package/src/modules/notifications/components/blocks/NotificationItem.vue +6 -51
  415. package/src/modules/notifications/components/elements/NotificationBadge.vue +53 -97
  416. package/src/modules/organizations/configs/navigation.organization.config.js +8 -4
  417. package/src/modules/products/components/blocks/CardProduct.vue +8 -2
  418. package/src/modules/products/components/blocks/ProductDiscounts.vue +3 -4
  419. package/src/modules/products/components/blocks/ProductImages.vue +32 -23
  420. package/src/modules/products/components/blocks/ProductVariants.vue +6 -4
  421. package/src/modules/products/components/elements/Price.vue +3 -3
  422. package/src/modules/products/components/pages/Product.vue +32 -26
  423. package/src/modules/products/components/pages/ProductEdit.vue +95 -72
  424. package/src/modules/products/components/sections/EditRecommended.vue +131 -0
  425. package/src/modules/products/components/sections/ProductConfigurator.vue +35 -21
  426. package/src/modules/products/components/sections/ProductsPopular.vue +44 -0
  427. package/src/modules/products/components/sections/ProductsRecommended.vue +134 -0
  428. package/src/modules/products/controllers/configs/products.lookup.config.js +20 -15
  429. package/src/modules/products/controllers/products.controller.js +7 -22
  430. package/src/modules/products/models/category.model.js +28 -1
  431. package/src/modules/products/models/leftover.model.js +32 -0
  432. package/src/modules/products/models/product.model.js +37 -1
  433. package/src/modules/products/models/variant.model.js +35 -0
  434. package/src/modules/products/products.client.js +3 -3
  435. package/src/modules/products/routes/products.routes.js +1 -0
  436. package/src/modules/products/store/products.js +4 -0
  437. package/src/styles/base/all.scss +0 -38
  438. package/src/styles/base/shadow_transitions_hover_refactor.scss +20 -51
  439. package/src/styles/config.scss +51 -1
  440. package/dist/main-C75EcBpE.cjs +0 -11
  441. package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
  442. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +0 -1
  443. package/dist/martyrs/src/components/Slider/Slider.native.vue.cjs.map +0 -1
  444. package/dist/martyrs/src/components/Slider/Slider.native.vue.js.map +0 -1
  445. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs +0 -2
  446. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs.map +0 -1
  447. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.js +0 -2
  448. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.js.map +0 -1
  449. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs +0 -34
  450. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs.map +0 -1
  451. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js +0 -34
  452. package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js.map +0 -1
  453. package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs +0 -124
  454. package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs.map +0 -1
  455. package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js +0 -124
  456. package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js.map +0 -1
  457. package/src/components/Slider/Slider.native.vue +0 -313
  458. package/src/modules/products/components/sections/PopularProducts.vue +0 -156
@@ -0,0 +1,237 @@
1
+ // @martyrs/src/modules/globals/controllers/classes/abac/abac.adapter.ws.js
2
+ export default class ABACWebSocketAdapter {
3
+ constructor(abac) {
4
+ this.abac = abac;
5
+ }
6
+
7
+ /**
8
+ * WebSocket handler для проверки доступа
9
+ * @param {string} moduleName - Имя модуля
10
+ * @param {Object} [options] - Опции
11
+ * @returns {Function} Handler функция
12
+ */
13
+ handler(moduleName, options = {}) {
14
+ return async (ws, message) => {
15
+ try {
16
+ const { action = 'access', resource = moduleName } = options;
17
+
18
+ const context = this._buildContext(ws, resource, action, message, options);
19
+ const accessResult = await this.abac.checkAccess(context, context.customPolicies);
20
+
21
+ if (!accessResult.allow) {
22
+ await this._sendError(ws, 'ACCESS_DENIED', accessResult.reason);
23
+ return false;
24
+ }
25
+
26
+ // Проверка полей если включена
27
+ if (options.checkFields && message) {
28
+ const fieldsResult = await this.abac.checkFields(context, message, action);
29
+
30
+ if (fieldsResult.errors.length > 0 && options.strictFieldsMode) {
31
+ await this._sendError(ws, 'FIELD_VALIDATION_ERROR', 'Field validation failed', {
32
+ fields: fieldsResult.errors
33
+ });
34
+ return false;
35
+ }
36
+
37
+ // Возвращаем отфильтрованные данные
38
+ return {
39
+ allowed: true,
40
+ data: fieldsResult.transformed || fieldsResult.allowed,
41
+ fieldsResult
42
+ };
43
+ }
44
+
45
+ return true;
46
+ } catch (error) {
47
+ this.abac.logger?.error('WebSocket access control error', {
48
+ module: moduleName,
49
+ error: error.message,
50
+ stack: error.stack
51
+ });
52
+
53
+ await this._sendError(ws, 'INTERNAL_ERROR', 'Access control error');
54
+ return false;
55
+ }
56
+ };
57
+ }
58
+
59
+ /**
60
+ * RPC handler для вызовов через WebSocket
61
+ * @param {string} module - Модуль
62
+ * @param {string} method - Метод
63
+ * @param {Object} [options] - Опции
64
+ * @returns {Function} RPC handler
65
+ */
66
+ rpcHandler(module, method, options = {}) {
67
+ return async (params, rpcContext) => {
68
+ try {
69
+ const context = this._buildRPCContext(rpcContext, module, method, params, options);
70
+ const accessResult = await this.abac.checkAccess(context, context.customPolicies);
71
+
72
+ if (!accessResult.allow) {
73
+ throw new RPCError('ACCESS_DENIED', accessResult.reason);
74
+ }
75
+
76
+ // Проверка полей если нужно
77
+ if (options.checkFields && params) {
78
+ const fieldsResult = await this.abac.checkFields(context, params, method);
79
+
80
+ if (fieldsResult.errors.length > 0) {
81
+ if (options.strictFieldsMode) {
82
+ throw new RPCError(
83
+ 'FIELD_VALIDATION_ERROR',
84
+ `Fields validation failed: ${fieldsResult.errors.map(e => e.path).join(', ')}`
85
+ );
86
+ }
87
+
88
+ // Логируем ошибки в нестрогом режиме
89
+ this.abac.logger?.warn('RPC field validation errors', {
90
+ module,
91
+ method,
92
+ errors: fieldsResult.errors
93
+ });
94
+ }
95
+
96
+ // Возвращаем трансформированные данные
97
+ return fieldsResult.transformed || fieldsResult.allowed;
98
+ }
99
+
100
+ return params;
101
+ } catch (error) {
102
+ // Пробрасываем RPC ошибки как есть
103
+ if (error instanceof RPCError) {
104
+ throw error;
105
+ }
106
+
107
+ this.abac.logger?.error('RPC access control error', {
108
+ module,
109
+ method,
110
+ error: error.message,
111
+ stack: error.stack
112
+ });
113
+
114
+ throw new RPCError('INTERNAL_ERROR', 'Access control error');
115
+ }
116
+ };
117
+ }
118
+
119
+ /**
120
+ * Middleware для обработки WebSocket сообщений
121
+ * @param {Object} [options] - Опции
122
+ * @returns {Function} Middleware функция
123
+ */
124
+ messageMiddleware(options = {}) {
125
+ return async (ws, message, next) => {
126
+ try {
127
+ const { resource = 'message', action = 'send' } = options;
128
+ const context = this._buildContext(ws, resource, action, message, options);
129
+
130
+ const accessResult = await this.abac.checkAccess(context, options.policies || {});
131
+
132
+ if (!accessResult.allow) {
133
+ await this._sendError(ws, 'ACCESS_DENIED', accessResult.reason);
134
+ return;
135
+ }
136
+
137
+ // Сохраняем результат в контексте WS
138
+ ws.abacContext = context;
139
+ ws.abacAccessResult = accessResult;
140
+
141
+ next();
142
+ } catch (error) {
143
+ this.abac.logger?.error('WebSocket middleware error', {
144
+ error: error.message
145
+ });
146
+
147
+ await this._sendError(ws, 'INTERNAL_ERROR', 'Access control error');
148
+ }
149
+ };
150
+ }
151
+
152
+ /**
153
+ * Построение контекста для WebSocket
154
+ * @private
155
+ */
156
+ _buildContext(ws, resource, action, data, options) {
157
+ return {
158
+ user: ws.userId || ws.user?.id,
159
+ resource,
160
+ action,
161
+ data: data || {},
162
+ socket: ws,
163
+ customPolicies: options.policies || {},
164
+ options,
165
+ // Дополнительная информация о соединении
166
+ connectionInfo: {
167
+ id: ws.id,
168
+ remoteAddress: ws._socket?.remoteAddress,
169
+ protocol: ws.protocol,
170
+ readyState: ws.readyState
171
+ }
172
+ };
173
+ }
174
+
175
+ /**
176
+ * Построение контекста для RPC
177
+ * @private
178
+ */
179
+ _buildRPCContext(rpcContext, module, method, params, options) {
180
+ return {
181
+ user: rpcContext.userId || rpcContext.user?.id,
182
+ resource: module,
183
+ action: method,
184
+ data: params || {},
185
+ socket: rpcContext.ws,
186
+ customPolicies: options.policies || {},
187
+ options,
188
+ rpcInfo: {
189
+ id: rpcContext.id,
190
+ module,
191
+ method,
192
+ timestamp: new Date().toISOString()
193
+ }
194
+ };
195
+ }
196
+
197
+ /**
198
+ * Отправка ошибки через WebSocket
199
+ * @private
200
+ */
201
+ async _sendError(ws, code, message, details = {}) {
202
+ if (ws.readyState !== 1) { // WebSocket.OPEN
203
+ return;
204
+ }
205
+
206
+ try {
207
+ const errorMessage = JSON.stringify({
208
+ type: 'error',
209
+ error: {
210
+ code,
211
+ message,
212
+ ...details
213
+ },
214
+ timestamp: new Date().toISOString()
215
+ });
216
+
217
+ ws.send(errorMessage);
218
+ } catch (error) {
219
+ this.abac.logger?.error('Failed to send WebSocket error', {
220
+ originalError: { code, message },
221
+ sendError: error.message
222
+ });
223
+ }
224
+ }
225
+ }
226
+
227
+ /**
228
+ * Класс для RPC ошибок
229
+ */
230
+ class RPCError extends Error {
231
+ constructor(code, message, details = {}) {
232
+ super(message);
233
+ this.name = 'RPCError';
234
+ this.code = code;
235
+ this.details = details;
236
+ }
237
+ }
@@ -20,6 +20,7 @@ import * as storeGlobals from './views/store/globals.js';
20
20
  import * as appRenderer from './views/utils/vue-app-renderer.js';
21
21
 
22
22
  import alertPlugin from './views/plugins/alert.plugin.js';
23
+ import popupAuthPlugin from './views/plugins/popup.auth.plugin.js';
23
24
  import datePickerPlugin from './views/plugins/date-picker.plugin.js';
24
25
  import storeDebuggerPlugin from './views/plugins/store-debugger/store-debugger.plugin.js';
25
26
 
@@ -42,6 +43,7 @@ function initializeGlobals(app, store, router, config, options = {}) {
42
43
  app.mixin(mixins.globalMixins);
43
44
 
44
45
  app.use(alertPlugin);
46
+ app.use(popupAuthPlugin);
45
47
  app.use(datePickerPlugin);
46
48
  app.use(storeDebuggerPlugin, store);
47
49
 
@@ -3,14 +3,14 @@
3
3
  👁️ {{ views }}
4
4
  <span class="mn-r-small mn-l-small d-block">·</span>
5
5
  <div class="cursor-pointer">
6
- <div class="cursor-pointer" @click="addReaction('like')" v-if="!isReacted">
6
+ <div class="cursor-pointer hover-bg-white" @click="addReaction('like')" v-if="!isReacted">
7
7
  👍 {{ reactionsCount }}
8
8
  </div>
9
- <div class="cursor-pointer" @click="deleteReaction('like')" v-if="isReacted">
9
+ <div class="cursor-pointer hover-bg-white" @click="deleteReaction('like')" v-if="isReacted">
10
10
  👍 {{ reactionsCount }}
11
11
  </div>
12
12
  </div>
13
- <span class="mn-r-small mn-l-small d-block">·</span>
13
+ <span class="mn-r-small hover-bg-white mn-l-small d-block">·</span>
14
14
  💬 {{ commentsCount }}
15
15
  </footer>
16
16
  </template>
@@ -37,7 +37,7 @@
37
37
 
38
38
  <div
39
39
  v-if="type !== 'short'"
40
- class="flex flex-nowrap t-medium w-100 o-hidden pos-relative"
40
+ class="flex flex-nowrap t-medium w-100 pos-relative"
41
41
  >
42
42
  <span
43
43
  @click.stop="$router.push({
@@ -0,0 +1,66 @@
1
+ <!-- @martyrs/src/modules/auth/views/components/AuthDialog.vue -->
2
+ <template>
3
+ <Popup
4
+ :isPopupOpen="authState.visible"
5
+ @close-popup="closeAuth"
6
+ class="bg-white radius-medium pd-medium"
7
+ >
8
+ <div class="t-center">
9
+ <img loading="lazy" :src="'/logo/logo.svg'" class="i-extra radius-small mn-b-medium">
10
+ <h3 class="mn-b-medium">{{ authState.title || 'Welcome' }}</h3>
11
+ <p class="mn-b-semi t-transp">{{ authState.subtitle || 'Please sign in or create an account to continue.' }}</p>
12
+
13
+ <div class="flex-column flex gap-thin">
14
+ <Button
15
+ :submit="handleSignUp"
16
+ class="bg-main radius-small mn-b-small pd-thin"
17
+ >
18
+ Sign Up
19
+ </Button>
20
+
21
+ <span>
22
+ Already have an account?
23
+ <a @click="handleSignIn" class="t-second cursor-pointer">Sign in</a>
24
+ </span>
25
+ </div>
26
+ </div>
27
+ </Popup>
28
+ </template>
29
+
30
+ <script setup>
31
+ import { useRouter, useRoute } from 'vue-router';
32
+ import Popup from '@martyrs/src/components/Popup/Popup.vue';
33
+ import Button from '@martyrs/src/components/Button/Button.vue';
34
+
35
+ const props = defineProps({
36
+ authState: {
37
+ type: Object,
38
+ required: true
39
+ },
40
+ closeAuth: {
41
+ type: Function,
42
+ required: true
43
+ }
44
+ });
45
+
46
+ const router = useRouter();
47
+ const route = useRoute();
48
+
49
+ const handleSignIn = async () => {
50
+ const returnUrl = props.authState.returnUrl || route.fullPath;
51
+ await router.push({
52
+ name: 'Sign In',
53
+ query: { returnUrl }
54
+ });
55
+ props.closeAuth('signin');
56
+ };
57
+
58
+ const handleSignUp = async () => {
59
+ const returnUrl = props.authState.returnUrl || route.fullPath;
60
+ await router.push({
61
+ name: 'Sign Up',
62
+ query: { returnUrl }
63
+ });
64
+ props.closeAuth('signup');
65
+ };
66
+ </script>
@@ -49,26 +49,45 @@ export function useGlobalMixins() {
49
49
  return currency;
50
50
  };
51
51
 
52
- const formatPrice = number => {
53
- try {
54
- if (number == null) {
55
- throw new TypeError('formatPrice: ожидается число, но получено null или undefined');
52
+ const formatPrice = number => {
53
+ try {
54
+ if (number == null) {
55
+ throw new TypeError('formatPrice: ожидается число, но получено null или undefined');
56
+ }
57
+
58
+ const currency = returnCurrency();
59
+ const absNumber = Math.abs(number)
60
+ .toFixed(2)
61
+ .replace('.', ',')
62
+ .replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
63
+
64
+ const sign = number < 0 ? '-' : '';
65
+ return `${sign} ${currency}${absNumber}`;
66
+ } catch (err) {
67
+ console.error(err);
68
+ return 'null';
69
+ }
70
+ };
71
+
72
+ const replaceClasses = (original = '', map = null) => {
73
+ if (map == null && typeof original !== 'string') return '';
74
+ if (typeof map === 'string') {
75
+ const orig = typeof original === 'string' ? original.trim().split(/\s+/) : [];
76
+ const next = map.trim().split(/\s+/);
77
+ const replaceSet = new Set(next);
78
+ const replaced = orig.map(cls => (replaceSet.has(cls) ? next.find(c => c !== cls) || cls : cls));
79
+ const extra = next.filter(c => !orig.includes(c));
80
+ return [...new Set([...replaced, ...extra])].join(' ');
56
81
  }
57
82
 
58
- const currency = returnCurrency();
59
- const absNumber = Math.abs(number)
60
- .toFixed(2)
61
- .replace('.', ',')
62
- .replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
63
-
64
- const sign = number < 0 ? '-' : '';
65
- return `${sign} ${currency}${absNumber}`;
66
- } catch (err) {
67
- console.error(err);
68
- return 'null';
69
- }
70
- };
83
+ if (typeof map === 'object' && map !== null) {
84
+ const orig = typeof original === 'string' ? original.trim().split(/\s+/) : [];
85
+ return orig.map(cls => map[cls] ?? cls).join(' ');
86
+ }
71
87
 
88
+ return typeof original === 'string' ? original.trim() : '';
89
+ };
90
+
72
91
 
73
92
  const formatDate = (d, options = {}) => {
74
93
  var fixedDate = new Date(d);
@@ -274,6 +293,7 @@ export function useGlobalMixins() {
274
293
  formatPrice,
275
294
  formatDate,
276
295
  formateText,
296
+ replaceClasses,
277
297
  normalizeUrlParam,
278
298
  joinArrayToUrl,
279
299
  getMarketplaceLink,
@@ -0,0 +1,77 @@
1
+ // @martyrs/src/modules/auth/views/plugins/authPlugin.js
2
+ import { reactive, defineComponent, h, render } from 'vue';
3
+ import PopupAuth from '@martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue';
4
+
5
+ // 1) Общее состояние и API
6
+ const state = reactive({
7
+ visible: false,
8
+ title: 'Welcome',
9
+ subtitle: 'Please sign in or create an account to continue.',
10
+ returnUrl: '',
11
+ resolve: null,
12
+ reject: null
13
+ });
14
+
15
+ export function showAuth({
16
+ title = 'Welcome',
17
+ subtitle = 'Please sign in or create an account to continue.',
18
+ returnUrl = ''
19
+ } = {}) {
20
+ return new Promise((res, rej) => {
21
+ state.resolve = res;
22
+ state.reject = rej;
23
+ state.title = title;
24
+ state.subtitle = subtitle;
25
+ state.returnUrl = returnUrl;
26
+ state.visible = true;
27
+ });
28
+ }
29
+
30
+ export function closeAuth(result = null) {
31
+ state.visible = false;
32
+ state.resolve?.(result);
33
+ state.resolve = state.reject = null;
34
+ }
35
+
36
+ export function cancelAuth() {
37
+ state.visible = false;
38
+ state.reject?.(new Error('Authentication cancelled'));
39
+ state.resolve = state.reject = null;
40
+ }
41
+
42
+ // 2) Хост-компонент
43
+ const AuthDialogHost = defineComponent({
44
+ name: 'AuthDialogHost',
45
+ setup() {
46
+ return () => {
47
+ if (!state.visible) return null;
48
+
49
+ return h(PopupAuth, {
50
+ authState: state,
51
+ closeAuth: closeAuth,
52
+ 'onClose-popup': cancelAuth
53
+ });
54
+ };
55
+ }
56
+ });
57
+
58
+ // 3) Плагин
59
+ export default {
60
+ install(app) {
61
+ // 3.1) Глобальный метод
62
+ app.config.globalProperties.$auth = showAuth;
63
+ app.config.globalProperties.$showAuth = showAuth;
64
+
65
+ // 3.2) Контейнер в body
66
+ if (typeof window !== 'undefined' && typeof document !== 'undefined') {
67
+ const container = document.createElement('div');
68
+ container.id = 'auth-dialog-host';
69
+ document.body.appendChild(container);
70
+
71
+ // 3.3) Рендерим VNode в контексте основного app
72
+ const vnode = h(AuthDialogHost);
73
+ vnode.appContext = app._context; // <-- ключевой момент
74
+ render(vnode, container);
75
+ }
76
+ }
77
+ };
@@ -0,0 +1,14 @@
1
+ <template>
2
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path :fill="fill" :class="$attrs.class" fill-rule="evenodd" clip-rule="evenodd" d="M19.2258 22.1538C19.0902 22.5397 18.8686 22.8942 18.5732 23.1886C18.0545 23.7083 17.3502 24 16.6154 24H2.76923C2.03446 24 1.33015 23.7083 0.811383 23.1886C0.29169 22.6698 0 21.9655 0 21.2308V6.46154C0 5.72677 0.29169 5.02246 0.811383 4.50369C1.33015 3.984 2.03446 3.69231 2.76923 3.69231H3.69231V2.76923C3.69231 2.02892 3.99785 1.31815 4.54893 0.794769C5.08247 0.288 5.80432 0 6.55847 0H21.1338C21.888 0 22.6098 0.288 23.1434 0.794769C23.6945 1.31815 24 2.02892 24 2.76923V19.3846C24 20.1249 23.6945 20.8357 23.1434 21.3591C22.6098 21.8659 21.888 22.1538 21.1338 22.1538H19.2258ZM5.53846 3.69231H16.6154C17.3502 3.69231 18.0545 3.984 18.5732 4.50369C19.0929 5.02246 19.3846 5.72677 19.3846 6.46154V20.3077H21.1338C21.4098 20.3077 21.6766 20.2061 21.8723 20.0206C22.0505 19.8517 22.1538 19.6237 22.1538 19.3846V2.76923C22.1538 2.53015 22.0505 2.30215 21.8723 2.13323C21.6766 1.94769 21.4098 1.84615 21.1338 1.84615H6.55847C6.28247 1.84615 6.01569 1.94769 5.81999 2.13323C5.64184 2.30215 5.53846 2.53015 5.53846 2.76923V3.69231ZM17.5385 6.46154C17.5385 6.21692 17.4415 5.98154 17.268 5.80892C17.0954 5.63538 16.86 5.53846 16.6154 5.53846H2.76923C2.52462 5.53846 2.28923 5.63538 2.11661 5.80892C1.94308 5.98154 1.84615 6.21692 1.84615 6.46154V21.2308C1.84615 21.4754 1.94308 21.7108 2.11661 21.8834C2.28923 22.0569 2.52462 22.1538 2.76923 22.1538H16.6154C16.86 22.1538 17.0954 22.0569 17.268 21.8834C17.4415 21.7108 17.5385 21.4754 17.5385 21.2308V6.46154ZM4.61538 14.7692C4.10585 14.7692 3.69231 14.3557 3.69231 13.8462C3.69231 13.3366 4.10585 12.9231 4.61538 12.9231H14.7692C15.2788 12.9231 15.6923 13.3366 15.6923 13.8462C15.6923 14.3557 15.2788 14.7692 14.7692 14.7692H4.61538ZM4.61538 19.3846C4.10585 19.3846 3.69231 18.9711 3.69231 18.4615C3.69231 17.952 4.10585 17.5385 4.61538 17.5385H14.7692C15.2788 17.5385 15.6923 17.952 15.6923 18.4615C15.6923 18.9711 15.2788 19.3846 14.7692 19.3846H4.61538ZM4.61538 10.1538C4.10585 10.1538 3.69231 9.74031 3.69231 9.23077C3.69231 8.72123 4.10585 8.30769 4.61538 8.30769H14.7692C15.2788 8.30769 15.6923 8.72123 15.6923 9.23077C15.6923 9.74031 15.2788 10.1538 14.7692 10.1538H4.61538Z"/>
4
+ </svg>
5
+ </template>
6
+
7
+ <script setup>
8
+ const props = defineProps({
9
+ fill: {
10
+ type: String,
11
+ default: 'rgb(var(--black))'
12
+ }
13
+ })
14
+ </script>
@@ -21,9 +21,7 @@
21
21
  const props = defineProps({
22
22
  fill: {
23
23
  type: String,
24
- default: {
25
- position: 'rgb(var(--black))'
26
- }
24
+ default: 'rgb(var(--black))'
27
25
  },
28
26
  })
29
27
  </script>
@@ -21,9 +21,7 @@
21
21
  const props = defineProps({
22
22
  fill: {
23
23
  type: String,
24
- default: {
25
- position: 'rgb(var(--black))'
26
- }
24
+ default: 'rgb(var(--black))'
27
25
  },
28
26
  })
29
27
  </script>
@@ -27,9 +27,7 @@
27
27
  const props = defineProps({
28
28
  fill: {
29
29
  type: String,
30
- default: {
31
- position: 'rgb(var(--black))'
32
- }
30
+ default: 'rgb(var(--black))'
33
31
  },
34
32
  isLiked: {
35
33
  type: Boolean,
@@ -21,9 +21,7 @@
21
21
  const props = defineProps({
22
22
  fill: {
23
23
  type: String,
24
- default: {
25
- position: 'rgb(var(--black))'
26
- }
24
+ default: 'rgb(var(--black))'
27
25
  },
28
26
  })
29
27
  </script>
@@ -21,9 +21,7 @@
21
21
  const props = defineProps({
22
22
  fill: {
23
23
  type: String,
24
- default: {
25
- position: 'rgb(var(--black))'
26
- }
24
+ default: 'rgb(var(--black))'
27
25
  },
28
26
  })
29
27
  </script>
@@ -1,17 +1,14 @@
1
+ <script setup>
2
+ const props = defineProps({
3
+ fill: {
4
+ type: String,
5
+ default: 'rgb(var(--black))'
6
+ },
7
+ })
8
+ </script>
9
+
1
10
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80" fill="none">
3
- <path :fill="fill" d="M25.2765 9.37509L29.0265 5.93759C30.589 4.53134 32.9327 4.68759 34.339 6.25009L63.2453 37.8126C64.339 39.0626 64.339 40.9376 63.2453 42.1876L34.339 73.7501C32.9327 75.3126 30.589 75.4689 29.0265 74.0626L25.2765 70.6251C23.714 69.3751 23.5577 66.8751 24.964 65.4689L48.4015 40.0001L24.964 14.5313C23.5577 13.1251 23.714 10.6251 25.2765 9.37509Z"/>
11
+ <svg width="9" height="11" viewBox="0 0 9 11" fill="none" xmlns="http://www.w3.org/2000/svg">
12
+ <path :fill="fill" d="M0.764999 10.9248C0.431975 11.1329 0 10.8935 0 10.5008V0.5008C0 0.108082 0.431975 -0.13134 0.764999 0.0768003L8.765 5.0768C9.07833 5.27263 9.07833 5.72896 8.765 5.9248L0.764999 10.9248ZM7.5566 5.5008L1 1.40292V9.59868L7.5566 5.5008Z"/>
4
13
  </svg>
5
- </template>
6
-
7
-
8
- <script>
9
- export default {
10
- props: {
11
- fill: {
12
- type: String,
13
- default: 'rgb(var(--black)'
14
- }
15
- }
16
- }
17
- </script>
14
+ </template>
@@ -21,9 +21,7 @@
21
21
  const props = defineProps({
22
22
  fill: {
23
23
  type: String,
24
- default: {
25
- position: 'rgb(var(--black))'
26
- }
24
+ default: 'rgb(var(--black))'
27
25
  },
28
26
  })
29
27
  </script>
@@ -1,31 +1,16 @@
1
+ <script setup>
2
+ const props = defineProps({
3
+ fill: {
4
+ type: String,
5
+ default: 'rgb(var(--black))'
6
+ },
7
+ })
8
+ </script>
9
+
1
10
  <template>
2
- <svg
3
- width="19"
4
- height="15"
5
- viewBox="0 0 19 15"
6
- fill="none"
7
- xmlns="http://www.w3.org/2000/svg"
8
- >
9
- <path
10
- :fill="fill"
11
- d="M9.97505 0.3828C10.3344 0.5453 10.5657 0.90155 10.5657 1.2953V13.2953C10.5657 13.6891 10.3344 14.0453 9.97505 14.2078C9.61567 14.3703 9.1938 14.3047 8.90005 14.0422L4.68442 10.2953H2.56567C1.46255 10.2953 0.565674 9.39843 0.565674 8.2953V6.2953C0.565674 5.19218 1.46255 4.2953 2.56567 4.2953H4.68442L8.90005 0.548425C9.1938 0.285925 9.61567 0.223425 9.97505 0.3828Z"
12
- />
13
- <path
14
- :fill="fill"
15
- d="M15.5657 6.23301L13.8469 4.51426C13.5563 4.22051 13.0813 4.22363 12.7876 4.51426C12.4938 4.80488 12.4938 5.27988 12.7876 5.57363L14.5063 7.29238L12.7876 9.01113C12.4938 9.30176 12.4969 9.77676 12.7876 10.0705C13.0782 10.3643 13.5532 10.3643 13.8469 10.0705L15.5657 8.35176L17.2844 10.0705C17.5751 10.3643 18.0501 10.3611 18.3438 10.0705C18.6376 9.77988 18.6376 9.30488 18.3438 9.01113L16.6251 7.29238L18.3438 5.57363C18.6376 5.28301 18.6344 4.80801 18.3438 4.51426C18.0532 4.22051 17.5782 4.22051 17.2844 4.51426L15.5657 6.23301Z"
16
- />
11
+ <svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
12
+ <path :fill="fill" d="M9.29319 8.9997H7.8378C6.83508 8.9997 5.89891 8.49855 5.34196 7.66433C5.18863 7.43466 5.25051 7.12419 5.48017 6.97086C5.70984 6.81753 6.02031 6.87941 6.17364 7.10907C6.54516 7.66555 7.16937 7.9997 7.8378 7.9997H9.29259L8.14645 6.85355C7.95118 6.65829 7.95118 6.34171 8.14645 6.14645C8.34171 5.95118 8.65829 5.95118 8.85355 6.14645L10.8536 8.14645C11.0488 8.34171 11.0488 8.65829 10.8536 8.85355L8.85355 10.8536C8.65829 11.0488 8.34171 11.0488 8.14645 10.8536C7.95118 10.6583 7.95118 10.3417 8.14645 10.1464L9.29319 8.9997ZM9.29289 3H7.838C7.16957 3 6.54536 3.33415 6.17403 3.89035L3.65784 7.66463C3.10089 8.49885 2.16472 9 1.162 9H0.5C0.223858 9 0 8.77614 0 8.5C0 8.22386 0.223858 8 0.5 8H1.162C1.83044 8 2.45464 7.66585 2.82597 7.10965L5.34216 3.33537C5.89911 2.50115 6.83528 2 7.838 2H9.29289L8.14645 0.853553C7.95118 0.658291 7.95118 0.341709 8.14645 0.146447C8.34171 -0.0488155 8.65829 -0.0488155 8.85355 0.146447L10.8536 2.14645C11.0488 2.34171 11.0488 2.65829 10.8536 2.85355L8.85355 4.85355C8.65829 5.04882 8.34171 5.04882 8.14645 4.85355C7.95118 4.65829 7.95118 4.34171 8.14645 4.14645L9.29289 3ZM0.5 3C0.223858 3 0 2.77614 0 2.5C0 2.22386 0.223858 2 0.5 2H1.162C2.16472 2 3.10089 2.50115 3.65784 3.33537C3.81117 3.56504 3.74929 3.87551 3.51963 4.02884C3.28996 4.18217 2.97949 4.12029 2.82616 3.89063C2.45464 3.33414 1.83044 3 1.162 3H0.5Z"/>
17
13
  </svg>
18
14
  </template>
19
15
 
20
- <script setup>
21
- const props = defineProps({
22
- fill: {
23
- type: String,
24
- default: {
25
- position: 'rgb(var(--black))'
26
- }
27
- },
28
- })
29
- </script>
30
-
31
16
 
@@ -17,9 +17,7 @@
17
17
  const props = defineProps({
18
18
  fill: {
19
19
  type: String,
20
- default: {
21
- position: 'rgb(var(--black))'
22
- }
20
+ default: 'rgb(var(--black))'
23
21
  },
24
22
  })
25
23
  </script>