@ozdao/prometheus-framework 0.2.130 → 0.2.132

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. package/dist/auth.server.js +0 -1
  2. package/dist/auth.server.mjs +0 -1
  3. package/dist/community.server.js +172 -31
  4. package/dist/community.server.mjs +172 -31
  5. package/dist/events.server.js +1 -1
  6. package/dist/events.server.mjs +1 -1
  7. package/dist/files.server.js +38 -4
  8. package/dist/files.server.mjs +38 -4
  9. package/dist/gallery.server.js +1 -1
  10. package/dist/gallery.server.mjs +1 -1
  11. package/dist/main-CI9l9xMs.js +92 -0
  12. package/dist/main-DPg58GOU.mjs +14509 -0
  13. package/dist/main.css +1 -1
  14. package/dist/orders.server.js +1 -1
  15. package/dist/orders.server.mjs +1 -1
  16. package/dist/organizations.server.js +4 -3
  17. package/dist/organizations.server.mjs +4 -3
  18. package/dist/products.server.js +2 -1
  19. package/dist/products.server.mjs +2 -1
  20. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -0
  21. package/dist/prometheus-framework/src/components/Address/Address.vue.js +89 -0
  22. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +22 -23
  24. package/dist/prometheus-framework/src/components/Block/Block.vue.js +13 -13
  25. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -0
  26. package/dist/prometheus-framework/src/components/Button/Button.vue.js +95 -0
  27. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -0
  28. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +26 -0
  29. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  30. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +32 -33
  31. package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.cjs +1 -0
  32. package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.js +75 -0
  33. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -0
  34. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +57 -0
  35. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +93 -87
  37. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -0
  38. package/dist/prometheus-framework/src/components/Field/Field.vue.js +84 -0
  39. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +32 -29
  41. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +22 -23
  43. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +39 -39
  45. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
  46. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +5 -5
  47. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -0
  48. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +127 -0
  49. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  50. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +46 -47
  51. package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +1 -0
  52. package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +13 -0
  53. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +22 -23
  55. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -0
  56. package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -0
  57. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  58. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +14 -15
  59. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +9 -10
  61. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +37 -34
  63. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
  65. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  71. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +31 -31
  73. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +32 -32
  75. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +20 -20
  77. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/auth/store/auth.js +11 -11
  79. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/community/community.client.js +12 -14
  83. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +55 -72
  85. package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js +57 -29
  87. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +87 -77
  89. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +58 -28
  91. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
  93. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +71 -80
  95. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -0
  96. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +104 -0
  97. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +99 -54
  99. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +29 -30
  101. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +45 -34
  103. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +31 -29
  105. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +32 -27
  109. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -0
  110. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +67 -0
  111. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +16 -16
  113. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +119 -112
  115. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
  117. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  119. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  121. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  123. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  125. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +21 -21
  126. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +30 -30
  128. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +33 -22
  130. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  132. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +18 -18
  134. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  136. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +3 -9
  138. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
  140. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  142. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +9 -9
  144. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  146. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  148. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +39 -38
  150. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  152. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
  154. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  156. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +113 -86
  158. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  160. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +37 -36
  162. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +10 -10
  164. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  166. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  168. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +5 -5
  170. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +17 -17
  172. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +18 -18
  174. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  176. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +6 -6
  178. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +12 -12
  179. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  181. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  183. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  185. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  186. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  187. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  189. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  191. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +3 -2
  193. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  195. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  197. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +32 -37
  199. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  201. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  203. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +5 -5
  205. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +14 -14
  207. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +33 -33
  209. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +53 -35
  211. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  213. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +1 -0
  214. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +30 -0
  215. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +1 -0
  216. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +42 -0
  217. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +1 -0
  218. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +26 -0
  219. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +1 -0
  220. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +42 -0
  221. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +1 -0
  222. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +26 -0
  223. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +158 -81
  225. package/dist/prometheus-framework.cjs.js +1 -1
  226. package/dist/prometheus-framework.es.js +14 -14
  227. package/dist/queryProcessor-DQSFR9YA.mjs +179 -0
  228. package/dist/queryProcessor-iewDZq_f.js +178 -0
  229. package/dist/style.css +1 -1
  230. package/dist/wallet.server.js +80 -27
  231. package/dist/wallet.server.mjs +80 -27
  232. package/dist/web-DZUec7pP.js +1 -0
  233. package/dist/web-krQQeSb6.mjs +54 -0
  234. package/package.json +1 -1
  235. package/src/components/Address/Address.vue +1 -1
  236. package/src/components/Chips/Chips.vue +1 -1
  237. package/src/components/Completion/Completion.vue +1 -4
  238. package/src/components/DatePicker/Calendar.vue +1 -1
  239. package/src/components/Draggable/Draggable.vue +113 -0
  240. package/src/components/Dropdown/Dropdown.vue +1 -1
  241. package/src/components/Feed/Feed.vue +18 -12
  242. package/src/components/FieldBig/FieldBig.vue +11 -1
  243. package/src/components/FieldPhone/FieldPhone.vue +1 -1
  244. package/src/components/FieldTags/FieldTags.vue +2 -1
  245. package/src/components/FieldTags/tag-input.vue +1 -1
  246. package/src/components/LocationMarker/LocationMarker.vue +1 -1
  247. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  248. package/src/components/Shader/Shader.vue +2 -2
  249. package/src/components/Slider/Slider.vue +1 -5
  250. package/src/components/Spoiler/Spoiler.vue +1 -1
  251. package/src/components/Text/Text.vue +1 -4
  252. package/src/components/Tooltip/Tooltip.vue +1 -1
  253. package/src/components/Upload/Upload.vue +5 -3
  254. package/src/modules/auth/controllers/auth.controller.js +0 -2
  255. package/src/modules/auth/store/auth.js +2 -2
  256. package/src/modules/community/DOCUMENTATION.MD +4 -0
  257. package/src/modules/community/community.client.js +0 -2
  258. package/src/modules/community/components/blocks/CardBlogpost.vue +6 -2
  259. package/src/modules/community/components/blocks/FooterBlogpost.vue +21 -5
  260. package/src/modules/community/components/layouts/Community.vue +15 -11
  261. package/src/modules/community/components/pages/Blog.vue +25 -32
  262. package/src/modules/community/components/pages/CreateBlogPost.vue +8 -15
  263. package/src/modules/community/components/sections/Comment.vue +123 -0
  264. package/src/modules/community/components/sections/Comments.vue +90 -19
  265. package/src/modules/community/components/sections/HotPosts.vue +3 -6
  266. package/src/modules/community/controllers/blog.controller.js +1 -1
  267. package/src/modules/community/controllers/comments.controller.aggr.js +280 -0
  268. package/src/modules/community/controllers/comments.controller.js +187 -38
  269. package/src/modules/community/controllers/comments.controller.populate.js +180 -0
  270. package/src/modules/community/models/comment.model.js +15 -0
  271. package/src/modules/community/store/blogposts.js +20 -2
  272. package/src/modules/constructor/components/elements/Audio.vue +28 -40
  273. package/src/modules/constructor/components/elements/ImageUpload.vue +12 -7
  274. package/src/modules/constructor/components/elements/Video.vue +10 -18
  275. package/src/modules/constructor/components/sections/Constructor.vue +54 -47
  276. package/src/modules/files/controllers/files.controller.js +2 -0
  277. package/src/modules/files/middlewares/server/middlewareBusboy.js +32 -4
  278. package/src/modules/files/routes/files.routes.js +8 -0
  279. package/src/modules/globals/components/blocks/BlockFilter.vue +17 -7
  280. package/src/modules/globals/components/partials/Header.vue +12 -7
  281. package/src/modules/globals/controllers/utils/queryProcessor.js +1 -0
  282. package/src/modules/icons/logos/Logotype.vue +8 -6
  283. package/src/modules/icons/logos/LogotypeNunito.vue +12 -0
  284. package/src/modules/marketplace/components/layouts/Marketplace.vue +29 -27
  285. package/src/modules/marketplace/store/marketplace.js +2 -8
  286. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  287. package/src/modules/organizations/components/pages/Members.vue +1 -1
  288. package/src/modules/organizations/components/pages/Organization.vue +33 -5
  289. package/src/modules/organizations/components/pages/OrganizationEdit.vue +7 -4
  290. package/src/modules/organizations/components/sections/DetailsTab.vue +10 -10
  291. package/src/modules/organizations/components/sections/Publics.vue +2 -2
  292. package/src/modules/organizations/controllers/memberships.controller.js +2 -3
  293. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  294. package/src/modules/organizations/store/memberships.js +4 -1
  295. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  296. package/src/modules/products/components/sections/HeroRecommendation.vue +11 -8
  297. package/src/modules/products/models/product.model.js +2 -1
  298. package/src/modules/spots/components/layouts/Spots.vue +0 -3
  299. package/src/modules/spots/components/pages/Map.vue +13 -3
  300. package/src/modules/users/components/blocks/CardUser.vue +2 -2
  301. package/src/modules/users/components/pages/ProfileBlogposts.vue +45 -28
  302. package/src/modules/wallet/components/blocks/CardBalanceReplenished.vue +40 -0
  303. package/src/modules/wallet/components/blocks/CardDeposite.vue +55 -0
  304. package/src/modules/wallet/components/blocks/CashDeposite.vue +28 -0
  305. package/src/modules/wallet/components/blocks/CryptoDeposite.vue +55 -0
  306. package/src/modules/wallet/controllers/factories/rewards.factory.aggr.js +181 -0
  307. package/src/modules/wallet/controllers/factories/rewards.factory.js +87 -113
  308. package/src/modules/wallet/controllers/factories/rewards.factory.population.js +213 -0
  309. package/src/modules/wallet/localization/Wallet.json +22 -0
  310. package/src/modules/wallet/views/components/pages/Wallet.vue +153 -53
  311. package/src/styles/base/all.scss +16 -26
  312. package/src/styles/config.scss +70 -34
  313. package/src/styles/typography.scss +5 -5
  314. package/src/modules/community/components/sections/Feed.vue +0 -148
  315. package/src/modules/middlewares/server/accessors/AccessController.js +0 -33
  316. package/src/modules/middlewares/server/accessors/ReadDepartments.js +0 -101
@@ -10,76 +10,75 @@
10
10
 
11
11
  <div
12
12
  v-if="state.account"
13
- class="gap-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"
13
+ class="gap-thin mn-b-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"
14
14
  >
15
15
  <div class="flex-v-center flex-nowrap flex mn-r-auto">
16
16
  <!-- <img src="/logo/wdt.svg" class="mn-r-thin i-big"> -->
17
17
  <h2>{{state.tokenBalance}} WDT</h2>
18
18
  </div>
19
19
 
20
- <button class="w-max bg-main t-medium button">Get More</button>
20
+ <button @click="openGetMorePopup" class="w-max bg-main t-medium button">Get More</button>
21
21
  <button class="w-max bg-white t-black t-medium button" @click="actions.collectRewards">Withdraw</button>
22
22
  </div>
23
23
 
24
- </section>
25
-
26
- <div v-if="!state.account" class="mn-b-semi cols-2 gap-thin">
27
- <div
28
- class="w-100 pd-medium radius-medium t-center bg-light"
29
- >
30
- <h3 class="mn-b-small">Make first order and start earning Weeder Token</h3>
31
- <button class="mn-l-auto mn-r-auto bg-main button">Explore marketplace</button>
32
- </div>
24
+ <div
25
+ v-if="state.account"
26
+ class="w-100 mn-b-semi flex-column flex pd-big radius-big bg-main t-black"
27
+ >
28
+ <p class="t-transp t-medium mn-b-thin">You own:</p>
29
+ <p class="h1 mn-b-small">{{state.share}}%</p>
30
+ <p class="t-white p-big t-medium mn-b-semi">of all shares</p>
33
31
 
34
32
  <div
35
- class="w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-light"
33
+ class="flex-v-center mn-b-small flex-nowrap flex pd-small bg-black-transp-5 radius-extra"
36
34
  >
37
- <h3
38
- v-if="!state.account"
39
- class="mn-b-small"
40
- >
41
- Connect Metamask to withdrawal your earnings.
42
- </h3>
35
+ <!-- <img src="@/assets/icons/metamask.svg" class="mn-r-small i-big" > -->
36
+
37
+ <p v-if="state.account" class="t-transp t-medium ">
38
+ <span class="uppercase p-small t-medium t-transp">Connected Metamask</span><br>
39
+ <span>{{state.account}}</span>
40
+ </p>
43
41
 
44
42
  <button
45
- v-if="!state.account"
46
- @click="actions.connectWallet"
47
- class="br-solid br-2px br-black-transp-10 t-black button"
43
+ v-if="state.account"
44
+ @click="actions.disconnectWallet"
45
+ class="mn-l-auto bg-red button"
48
46
  >
49
- Connect Wallet
47
+ Disconnect Wallet
50
48
  </button>
51
49
  </div>
52
- </div>
50
+ </div>
51
+
52
+ </section>
53
53
 
54
- <div
55
- v-if="state.account"
56
- class="w-100 mn-b-semi flex-column flex pd-big radius-big bg-main t-black"
54
+ <div v-if="!state.account" class="mn-b-semi cols-2 gap-thin">
55
+ <div
56
+ class="w-100 pd-medium radius-medium t-center bg-light"
57
+ >
58
+ <h3 class="mn-b-small">Make first order and start earning Weeder Token</h3>
59
+ <button class="mn-l-auto mn-r-auto bg-main button">Explore marketplace</button>
60
+ </div>
61
+
62
+ <div
63
+ class="w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-light"
64
+ >
65
+ <h3
66
+ v-if="!state.account"
67
+ class="mn-b-small"
57
68
  >
58
- <p class="t-transp t-medium mn-b-thin">You own:</p>
59
- <p class="h1 mn-b-small">{{state.share}}%</p>
60
- <p class="t-white p-big t-medium mn-b-semi">of all shares</p>
69
+ Connect Metamask to withdrawal your earnings.
70
+ </h3>
71
+
72
+ <button
73
+ v-if="!state.account"
74
+ @click="actions.connectWallet"
75
+ class="br-solid br-2px br-black-transp-10 t-black button"
76
+ >
77
+ Connect Wallet
78
+ </button>
79
+ </div>
80
+ </div>
61
81
 
62
- <div
63
- class="flex-v-center mn-b-small flex-nowrap flex pd-small bg-black-transp-5 radius-extra"
64
- >
65
- <!-- <img src="@/assets/icons/metamask.svg" class="mn-r-small i-big" > -->
66
-
67
- <p v-if="state.account" class="t-transp t-medium ">
68
- <span class="uppercase p-small t-medium t-transp">Connected Metamask</span><br>
69
- <span>{{state.account}}</span>
70
- </p>
71
-
72
- <button
73
- v-if="state.account"
74
- @click="actions.disconnectWallet"
75
- class="mn-l-auto bg-red button"
76
- >
77
- Disconnect Wallet
78
- </button>
79
- </div>
80
-
81
-
82
- </div>
83
82
  <h2 class="mn-b-small" v-if="state.rewards.length > 0">Latest Rewards </h2>
84
83
 
85
84
  <section class="cols-3 gap-thin">
@@ -103,15 +102,98 @@
103
102
 
104
103
 
105
104
  </section>
105
+
106
+ <h2 class="mn-b-small" v-if="state.rewards.length > 0">Activity</h2>
107
+
108
+ <section class="cols-3 gap-thin">
109
+ <div
110
+ class="radius-medium bg-grey"
111
+ v-for="income in state.rewards"
112
+ >
113
+ <div class="flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium">
114
+ <!-- <img src="/logo/wdt-plus.svg" class="mn-r-thin i-semi"> -->
115
+ <p class="t-semi mn-r-auto">{{income.amount}} WDT</p>
116
+
117
+ <span class="pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small">{{income.type === 'blogpost' ? 'Community Reward' : income.type}}</span>
118
+ </div>
119
+
120
+ <div class="pd-medium">
121
+ <h4 class="t-regular mn-b-thin">{{income.name}}</h4>
122
+ <!-- <p class="p-small">{{income.content[0].content}}</p> -->
123
+ </div>
124
+ </div>
125
+ </section>
106
126
  </section>
127
+
128
+ <Popup
129
+ title="Добавить участника"
130
+ @close-popup="closeGetMorePopup"
131
+ :isPopupOpen="isGetMorePopup"
132
+ class="w-m-33r t-left pd-big bg-white radius-big"
133
+ >
134
+ <div
135
+ v-if="currentMenuPopup === 0"
136
+ >
137
+ <h2 class="mn-b-small t-center t-bold">Choose the way of deposit</h2>
138
+
139
+ <button
140
+ class="w-100 bg-white t-black pd-thin radius-medium h3 t-center br-solid br-2px br-black-transp-10 mn-t-small"
141
+ @click="switchGetMoreMenu(1)"
142
+ >
143
+ CASH
144
+ </button>
145
+
146
+ <button
147
+ class="w-100 bg-white t-black pd-thin radius-medium h3 t-center br-solid br-2px br-black-transp-10 mn-t-small"
148
+ @click="switchGetMoreMenu(2)"
149
+ >
150
+ CARD
151
+ </button>
152
+
153
+ <button
154
+ class="w-100 bg-white t-black pd-thin radius-medium h3 t-center br-solid br-2px br-black-transp-10 mn-t-small"
155
+ @click="switchGetMoreMenu(4)"
156
+ >
157
+ CRYPTO
158
+ </button>
159
+ </div>
160
+
161
+ <CashDepositeMenu
162
+ v-if="currentMenuPopup === 1"
163
+ @back-selection="switchGetMoreMenu(0)"
164
+ />
165
+
166
+ <CardDepositeMenu
167
+ v-if="currentMenuPopup === 2"
168
+ @back-selection="switchGetMoreMenu(0)"
169
+ @switch-menu="switchGetMoreMenu"
170
+ />
171
+
172
+ <CardBalanceReplenished
173
+ v-if="currentMenuPopup === 3"
174
+ @close="closeGetMorePopup"
175
+ />
176
+
177
+ <CryptoDepositeMenu
178
+ v-if="currentMenuPopup === 4"
179
+ @back-selection="switchGetMoreMenu(0)"
180
+ @switch-menu="switchGetMoreMenu"
181
+ />
182
+ </Popup>
107
183
  </template>
108
184
 
109
185
  <script setup>
110
- import { onMounted } from 'vue';
186
+ import { onMounted, ref } from 'vue';
111
187
  import { state, actions } from '@pf/src/modules/wallet/views/store/wallet.store';
188
+
112
189
  import Web3 from "web3";
113
190
 
114
- import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';
191
+ import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue'
192
+ import Popup from '@pf/src/components/Popup/Popup.vue'
193
+ import CashDepositeMenu from '@pf/src/modules/wallet/components/blocks/CashDeposite.vue'
194
+ import CardDepositeMenu from '@pf/src/modules/wallet/components/blocks/CardDeposite.vue'
195
+ import CryptoDepositeMenu from '@pf/src/modules/wallet/components/blocks/CryptoDeposite.vue'
196
+ import CardBalanceReplenished from '@pf/src/modules/wallet/components/blocks/CardBalanceReplenished.vue'
115
197
 
116
198
  // User has disconnected metamask from extension
117
199
  window.ethereum.on('accountsChanged', (accounts) => {
@@ -128,4 +210,22 @@
128
210
  actions.listRewards();
129
211
  actions.tryReconnectWallet();
130
212
  });
131
- </script>
213
+
214
+ // /////////////////////////////////////////
215
+ // GetMore Popup
216
+ // /////////////////////////////////////////
217
+ const isGetMorePopup = ref(false)
218
+ const currentMenuPopup = ref(0)
219
+
220
+ function switchGetMoreMenu(value) {
221
+ currentMenuPopup.value = value;
222
+ }
223
+
224
+ function openGetMorePopup() {
225
+ isGetMorePopup.value = true;
226
+ }
227
+ function closeGetMorePopup() {
228
+ isGetMorePopup.value = false;
229
+ currentMenuPopup.value = 0;
230
+ }
231
+ </script>
@@ -167,32 +167,31 @@ body {
167
167
  .d-flex {display: flex; }
168
168
  .d-block {display: block; }
169
169
  .d-inline-block {display: inline-block; }
170
+ .d-inline-flex {display: inline-flex; }
170
171
  .d-grid {display: grid; }
171
172
  // Flex
172
173
  .flex {
173
174
  display: flex;
174
175
  &-row { flex-direction: row; }
175
176
  &-column { flex-direction: column; }
176
- &-h-center { justify-content: center; }
177
- &-v-center { align-items: center; }
178
- &-center { align-items: center; justify-content: center; }
179
- &-stretch { align-items: stretch }
180
177
  &-nowrap { flex-wrap: nowrap; }
181
- &-wrap { flex-wrap: wrap; }
182
- &-justify-start { justify-content: flex-start; }
183
- &-justify-center { justify-content: center; }
184
- &-justify-end { justify-content: flex-end; }
185
- &-justify-between { justify-content: space-between; }
186
- &-justify-around { justify-content: space-around; }
187
- &-items-start { align-items: flex-start; }
188
- &-items-center { align-items: center; }
189
- &-items-end { align-items: flex-end; }
190
- &-items-stretch { align-items: stretch; }
191
- &-items-baseline { align-items: baseline; }
178
+ &-wrap { flex-wrap: wrap; }
179
+ &-center { align-items: center; justify-content: center; }
180
+ // &-h-center { justify-content: center; }
181
+ // &-justify-start { justify-content: flex-start; }
182
+ // &-justify-center { justify-content: center; }
183
+ // &-justify-end { justify-content: flex-end; }
184
+ // &-justify-between { justify-content: space-between; }
185
+ // &-justify-around { justify-content: space-around; }
186
+ // &-items-start { align-items: flex-start; }
187
+ // &-items-center { align-items: center; }
188
+ // &-items-end { align-items: flex-end; }
189
+ // &-items-stretch { align-items: stretch; }
190
+ // &-items-baseline { align-items: baseline; }
191
+ // &-v-center { align-items: center; }
192
+ // &-stretch { align-items: stretch }
192
193
  }
193
194
 
194
- .d-inline-flex {display: inline-flex; }
195
-
196
195
  .align-self-start {
197
196
  align-self: start;
198
197
  }
@@ -322,15 +321,6 @@ body {
322
321
 
323
322
 
324
323
  // Gaps
325
- .gap-extra { gap: var(--extra); }
326
- .gap-big { gap: var(--big); }
327
- .gap-semi { gap: var(--semi); }
328
- .gap-medium { gap: var(--medium); }
329
- .gap-regular { gap: var(--regular); }
330
- .gap-small { gap: var(--small); }
331
- .gap-thin { gap: var(--thin); }
332
- .gap-micro { gap: var(--micro); }
333
- .gap-zero { gap: 0; }
334
324
  // Z-INDEX
335
325
 
336
326
  .z-index-0 {z-index: 0; }
@@ -32,53 +32,49 @@
32
32
  }
33
33
  }
34
34
 
35
- @mixin generate-utility-classes($class-name, $css-property, $modifiers, $values, $breakpoints: null) {
36
- // Генерация базовых классов без модификаторов и медиа-запросов
35
+ @mixin generate-base-classes($class-name, $css-property, $values) {
37
36
  @each $value-key, $value in $values {
38
37
  .#{$class-name}-#{$value-key} {
39
38
  #{$css-property}: $value;
40
39
  }
41
40
  .#{$class-name}-#{$value-key}-negative {
42
- #{$css-property}: -$value;
41
+ #{$css-property}: calc(#{$value} * -1);
43
42
  }
44
43
  }
44
+ }
45
45
 
46
- // Генерация классов с модификаторами
47
- @if $modifiers {
48
- @each $value-key, $value in $values {
49
- @each $modifier, $css-modifier in $modifiers {
50
- .#{$class-name}-#{$modifier}-#{$value-key} {
51
- #{$css-property}-#{$css-modifier}: $value;
52
- }
53
- .#{$class-name}-#{$modifier}-#{$value-key}-negative {
54
- #{$css-property}-#{$css-modifier}: calc(#{$value} * -1);
55
- }
46
+ @mixin generate-modifier-classes($class-name, $css-property, $modifiers, $values) {
47
+ @each $value-key, $value in $values {
48
+ @each $modifier, $css-modifier in $modifiers {
49
+ .#{$class-name}-#{$modifier}-#{$value-key} {
50
+ #{$css-property}-#{$css-modifier}: $value;
51
+ }
52
+ .#{$class-name}-#{$modifier}-#{$value-key}-negative {
53
+ #{$css-property}-#{$css-modifier}: calc(#{$value} * -1);
56
54
  }
57
55
  }
58
56
  }
57
+ }
59
58
 
60
- // Генерация классов с медиа-запросами
61
- @if $breakpoints {
62
- @each $breakpoint-key, $breakpoint-query in $breakpoints {
63
- @media #{$breakpoint-query} {
64
- @each $value-key, $value in $values {
65
- .#{$breakpoint-key}\:#{$class-name}-#{$value-key} {
66
- #{$css-property}: $value;
67
- }
68
- .#{$breakpoint-key}\:#{$class-name}-#{$value-key}-negative {
69
- #{$css-property}: calc(#{$value} * -1);
70
- }
59
+ @mixin generate-breakpoint-classes($class-name, $css-property, $values, $modifiers, $breakpoints) {
60
+ @each $breakpoint-key, $breakpoint-query in $breakpoints {
61
+ @media #{$breakpoint-query} {
62
+ @each $value-key, $value in $values {
63
+ .#{$breakpoint-key}\:#{$class-name}-#{$value-key} {
64
+ #{$css-property}: $value;
71
65
  }
72
-
73
- @if $modifiers {
74
- @each $value-key, $value in $values {
75
- @each $modifier, $css-modifier in $modifiers {
76
- .#{$breakpoint-key}\:#{$class-name}-#{$modifier}-#{$value-key} {
77
- #{$css-property}-#{$css-modifier}: $value;
78
- }
79
- .#{$breakpoint-key}\:#{$class-name}-#{$modifier}-#{$value-key}-negative {
80
- #{$css-property}-#{$css-modifier}: calc(#{$value} * -1);
81
- }
66
+ .#{$breakpoint-key}\:#{$class-name}-#{$value-key}-negative {
67
+ #{$css-property}: calc(#{$value} * -1);
68
+ }
69
+ }
70
+ @if $modifiers {
71
+ @each $value-key, $value in $values {
72
+ @each $modifier, $css-modifier in $modifiers {
73
+ .#{$breakpoint-key}\:#{$class-name}-#{$modifier}-#{$value-key} {
74
+ #{$css-property}-#{$css-modifier}: $value;
75
+ }
76
+ .#{$breakpoint-key}\:#{$class-name}-#{$modifier}-#{$value-key}-negative {
77
+ #{$css-property}-#{$css-modifier}: calc(#{$value} * -1);
82
78
  }
83
79
  }
84
80
  }
@@ -87,6 +83,21 @@
87
83
  }
88
84
  }
89
85
 
86
+ @mixin generate-utility-classes($class-name, $css-property, $modifiers, $values, $breakpoints: null) {
87
+ // Генерация базовых классов без модификаторов и медиа-запросов
88
+ @include generate-base-classes($class-name, $css-property, $values);
89
+
90
+ // Генерация классов с модификаторами
91
+ @if $modifiers {
92
+ @include generate-modifier-classes($class-name, $css-property, $modifiers, $values);
93
+ }
94
+
95
+ // Генерация классов с медиа-запросами
96
+ @if $breakpoints {
97
+ @include generate-breakpoint-classes($class-name, $css-property, $values, $modifiers, $breakpoints);
98
+ }
99
+ }
100
+
90
101
  :root {
91
102
  // THEME
92
103
  color-scheme: light dark;
@@ -250,6 +261,27 @@ $combined: map-merge($combined, $percent);
250
261
  $combined: map-merge($combined, $variables);
251
262
  $combined: map-merge($combined, $base);
252
263
 
264
+ /* -------------------------- */
265
+ /* FLEX */
266
+ /* ------------------------- */
267
+ $justify-content: (
268
+ 'h-center': center,
269
+ 'justify-start': flex-start,
270
+ 'justify-center': center,
271
+ 'justify-end': flex-end,
272
+ 'justify-between': space-between,
273
+ 'justify-around': space-around,
274
+ );
275
+
276
+ $align-items: (
277
+ 'v-center': center,
278
+ 'align-start': flex-start,
279
+ 'align-center': center,
280
+ 'align-end': flex-end,
281
+ 'align-stretch': stretch,
282
+ 'align-baseline': baseline,
283
+ );
284
+
253
285
  body {
254
286
  @include generate-utility-classes('pd', 'padding', $modifiers, $combined, $breakpoints);
255
287
  @include generate-utility-classes('mn', 'margin', $modifiers, $combined, $breakpoints);
@@ -274,6 +306,10 @@ body {
274
306
  @include generate-utility-classes('radius-tr', 'border-top-right-radius', null, $combined, $breakpoints);
275
307
  @include generate-utility-classes('radius-br', 'border-bottom-right-radius', null, $combined, $breakpoints);
276
308
  @include generate-utility-classes('radius-bl', 'border-bottom-left-radius', null, $combined, $breakpoints);
309
+
310
+ @include generate-utility-classes('gap', 'gap', null, $combined, $breakpoints);
311
+ @include generate-utility-classes('flex', 'justify-content', null, $justify-content, $breakpoints);
312
+ @include generate-utility-classes('flex', 'align-items', null, $align-items, $breakpoints);
277
313
 
278
314
  @include generate-bg-classes('bg-main', 'main');
279
315
  @include generate-bg-classes('bg-second', 'second');
@@ -12,17 +12,17 @@ body {
12
12
  }
13
13
 
14
14
  // Font Styles
15
- .h0 { font-family: var(--font-main); font-weight: 500; font-size: 8.000rem; line-height: 1.000; letter-spacing: -0.1rem; text-transform: none; }
16
- h1,.h1 { font-family: var(--font-main); font-weight: 500; font-size: 3.500rem; line-height: 1.000; letter-spacing: -0.1rem; text-transform: none; }
17
- h2,.h2 { font-family: var(--font-main); font-weight: 500; font-size: 3.000rem; line-height: 1.000; letter-spacing: -0.1rem; text-transform: none; }
18
- h3,.h3 { font-family: var(--font-main); font-weight: 500; font-size: 1.750rem; line-height: 1.250; letter-spacing: -0.0rem; text-transform: none; }
15
+ .h0 { font-family: var(--font-main); font-weight: 500; font-size: 8.000rem; line-height: 1.000; letter-spacing: -0.05rem; text-transform: none; }
16
+ h1,.h1 { font-family: var(--font-main); font-weight: 500; font-size: 3.500rem; line-height: 1.000; letter-spacing: -0.05rem; text-transform: none; }
17
+ h2,.h2 { font-family: var(--font-main); font-weight: 500; font-size: 3.000rem; line-height: 1.000; letter-spacing: -0.05rem; text-transform: none; }
18
+ h3,.h3 { font-family: var(--font-main); font-weight: 500; font-size: 2.000rem; line-height: 1.000; letter-spacing: -0.05rem; text-transform: none; }
19
19
  h4,.h4 { font-family: var(--font-main); font-weight: 500; font-size: 1.250rem; line-height: 1.250; letter-spacing: +0.0rem; text-transform: none; }
20
20
  h5,.h5 { font-family: var(--font-main); font-weight: 500; font-size: 1.000rem; line-height: 1.250; letter-spacing: -0.0rem; text-transform: none; }
21
21
 
22
22
  // Typogragy Styles
23
23
  .p-small { font-family: var(--font-second); font-weight: 400; font-size: 0.75rem; line-height: 1.250; }
24
24
  p, .p-medium { font-family: var(--font-second); font-weight: 400; font-size: 1.00rem; line-height: 1.250 }
25
- .p-big { font-family: var(--font-second); font-weight: 400; font-size: 1.40rem; line-height: 1.250; letter-spacing: +0.0rem; }
25
+ .p-big { font-family: var(--font-second); font-weight: 400; font-size: 1.25rem; line-height: 1.250; letter-spacing: +0.0rem; }
26
26
 
27
27
  b { font-weight: 600}
28
28
 
@@ -1,148 +0,0 @@
1
- <template>
2
- <transition name="scaleTransition">
3
- <Loader
4
- v-if="isLoading"
5
- class="z-index-5 pos-t-50 left-t-50 pos-absolute"
6
- />
7
- </transition>
8
-
9
- <transition name="scaleTransition">
10
- <EmptyState
11
- v-if="!isLoading && posts.length < 1"
12
- title="No Blog Posts Found"
13
- description="Currently, there are no posts available in this blog. Please check back later."
14
- class="pd-medium mn-b-thin bg-light radius-big"
15
- />
16
- <div :class="$attrs.class" v-else>
17
-
18
- <CardBlogpost
19
- v-for="blogpost in posts"
20
- :key="blogpost._id"
21
- :blogpost="blogpost"
22
- :user="user"
23
- class="h-max-40r mn-b-medium"
24
- />
25
-
26
- <transition
27
- name="scaleTransition"
28
- >
29
- <button
30
- v-if="hasMorePosts && posts.length > 0"
31
- @click="loadMorePosts"
32
- class="w-100 bg-main button"
33
- >
34
- Load more
35
- </button>
36
- </transition>
37
- </div>
38
- </transition>
39
- </template>
40
-
41
- <script setup>
42
- import { ref, onMounted } from 'vue';
43
-
44
- import Loader from '@pf/src/components/Loader/Loader.vue'
45
- import EmptyState from '@pf/src/components/EmptyState/EmptyState.vue';
46
- import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';
47
-
48
- // Import state
49
- import * as blog from '@pf/src/modules/community/store/blogposts.js';
50
- // Определение пропсов с значениями по умолчанию
51
- const props = defineProps({
52
- category: {
53
- type: String,
54
- default: null
55
- },
56
- limit: {
57
- type: Number,
58
- default: 7
59
- },
60
- skip: {
61
- type: Number,
62
- default: 0
63
- },
64
- owner: {
65
- type: String,
66
- default: null
67
- },
68
- creator: {
69
- type: String,
70
- default: null
71
- },
72
- following: {
73
- type: String,
74
- default: null
75
- },
76
- status: {
77
- type: String,
78
- default: 'published'
79
- },
80
- user: {
81
- type: [String, Number],
82
- default: null
83
- },
84
- period: {
85
- type: String,
86
- default: null
87
- }
88
- });
89
-
90
- const posts = ref([]);
91
- const hasMorePosts = ref(true);
92
- let isLoading = ref(true);
93
-
94
- let skip = ref(props.skip);
95
- let limit = ref(props.limit);
96
-
97
- const loadMorePosts = async () => {
98
- if (hasMorePosts.value) {
99
- skip.value += limit.value;
100
-
101
- const data = await blog.read({
102
- skip: skip.value,
103
- limit: limit.value,
104
- category: props.category,
105
- user: props.user,
106
- owner: props.owner,
107
- following: props.following,
108
- creator: props.creator,
109
- status: props.status,
110
- period: props.period,
111
- });
112
-
113
- if (data.length === 0) {
114
- hasMorePosts.value = false;
115
- }
116
-
117
- posts.value = [...posts.value, ...data];
118
- }
119
- };
120
-
121
- onMounted(async () => {
122
- const data = await blog.read({
123
- skip: skip.value,
124
- limit: limit.value,
125
- category: props.category,
126
- user: props.user,
127
- owner: props.owner,
128
- following: props.following,
129
- status: props.status,
130
- creator: props.creator,
131
- period: props.period,
132
- });
133
-
134
- if (data.length === 0) {
135
- hasMorePosts.value = false;
136
- } else {
137
- hasMorePosts.value = true;
138
- }
139
-
140
- posts.value = data;
141
-
142
- isLoading.value = false;
143
- });
144
- </script>
145
-
146
- <style lang="scss">
147
-
148
- </style>
@@ -1,33 +0,0 @@
1
- /**
2
- * @class
3
- * @classdesc Контроллер доступа.
4
- */
5
- class AccessController {
6
- db = null;
7
- rule = null;
8
- next = null;
9
- entity = null;
10
-
11
- /**
12
- * @param {String} rule - Права на проверку (read, create, ...)
13
- * @param {String} entity - Сущность на проверку (departments, post, ...)
14
- */
15
- check(rule, entity) {
16
- if (this.rule === rule && this.entity === entity) {
17
- return this.access.bind(this);
18
- } else if (this.next) {
19
- this.next.check(rule, entity);
20
- } else {
21
- console.error('Неудачная попытка вызова посредника verifyAccesses');
22
- console.error('Переданные аргументы:', this.rule, this.entity);
23
-
24
- return async (req, res, next) => {
25
- return res
26
- .status(403)
27
- .send({ message: 'Access Denied. Middleware not founded' });
28
- }
29
- }
30
- }
31
- }
32
-
33
- module.exports = AccessController;