@ozdao/prometheus-framework 0.1.99 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (324) hide show
  1. package/dist/main.css +1 -1
  2. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  3. package/dist/prometheus-framework/src/components/Button/Button.vue.js +224 -2
  4. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  5. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -224
  6. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  7. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +49 -2
  8. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +2 -49
  10. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +5 -5
  12. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +1 -1
  14. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -2
  16. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +10 -10
  18. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  19. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  20. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  21. package/dist/prometheus-framework/src/components/Select/Select.vue.js +78 -2
  22. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -78
  24. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
  26. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +12 -12
  28. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +15 -15
  30. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +9 -9
  32. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +15 -15
  34. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +15 -15
  36. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +10 -10
  38. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +4 -4
  40. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +2 -2
  42. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +8 -8
  44. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +2 -2
  46. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +10 -10
  48. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +6 -6
  50. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -9
  52. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +8 -8
  54. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -3
  56. package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.js +3 -3
  58. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +2 -2
  60. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +4 -4
  62. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +1 -1
  64. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +2 -2
  66. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +5 -5
  68. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +20 -11
  70. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  72. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -1
  73. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +62 -2
  74. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -4
  75. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -62
  76. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +13 -13
  78. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +11 -11
  80. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +2 -2
  84. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +20 -20
  86. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +6 -6
  88. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  90. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +7 -7
  92. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +4 -4
  94. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +12 -12
  96. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +15 -15
  98. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +2 -2
  100. package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.js +4 -4
  102. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +3 -3
  104. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +8 -8
  106. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
  108. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
  110. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +2 -2
  112. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
  114. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +8 -8
  116. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +3 -3
  118. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +1 -1
  120. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +9 -9
  122. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +4 -4
  124. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
  126. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
  128. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  130. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +7 -7
  132. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +7 -7
  134. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +5 -5
  136. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +15 -15
  138. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +7 -7
  140. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +6 -6
  142. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +15 -15
  144. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +8 -8
  146. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +5 -5
  148. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +7 -7
  150. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +7 -7
  152. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  154. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +2 -2
  155. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -4
  157. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +5 -5
  159. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +2 -2
  161. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +6 -6
  163. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
  165. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +5 -5
  167. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +10 -10
  169. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +6 -6
  171. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +19 -19
  173. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +5 -5
  175. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +9 -9
  177. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -1
  179. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +8 -8
  181. package/dist/prometheus-framework.cjs.js +1 -1
  182. package/dist/prometheus-framework.es.js +2 -2
  183. package/dist/style.css +1 -1
  184. package/package.json +1 -1
  185. package/src/components/EditImages/EditImages.vue +3 -3
  186. package/src/components/EmptyState/EmptyState.vue +2 -2
  187. package/src/components/Field/Field.svlt +1 -1
  188. package/src/components/Field/Field.vue +1 -1
  189. package/src/components/FieldTags/BlockTags.vue +4 -4
  190. package/src/components/Footer/Footer.vue +8 -8
  191. package/src/components/LocationSelection/LocationSelection.vue +4 -4
  192. package/src/components/Search/Search.vue +3 -3
  193. package/src/configurator/components/layouts/layoutConfigurator.vue +2 -2
  194. package/src/configurator/components/pages/Styles.vue +3 -3
  195. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  196. package/src/modules/auth/components/pages/EnterPassword.vue +9 -9
  197. package/src/modules/auth/components/pages/Invite.vue +6 -6
  198. package/src/modules/auth/components/pages/ResetPassword.vue +10 -10
  199. package/src/modules/auth/components/pages/SignIn.vue +11 -11
  200. package/src/modules/auth/components/pages/SignUp.vue +11 -11
  201. package/src/modules/auth/components/sections/SliderFeatures.vue +2 -2
  202. package/src/modules/backoffice/components/admin/Categories.vue +2 -2
  203. package/src/modules/backoffice/components/admin/CategoryEdit.vue +2 -2
  204. package/src/modules/backoffice/components/admin/Dashboard.vue +1 -1
  205. package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
  206. package/src/modules/backoffice/components/admin/PageEdit.vue +3 -3
  207. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  208. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  209. package/src/modules/backoffice/components/admin/User.vue +6 -6
  210. package/src/modules/backoffice/components/admin/Users.vue +4 -4
  211. package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
  212. package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
  213. package/src/modules/community/components/blocks/CardBlogpost.vue +5 -5
  214. package/src/modules/community/components/layouts/Community.vue +2 -2
  215. package/src/modules/community/components/pages/BlogPost.vue +4 -4
  216. package/src/modules/community/components/pages/Community.vue +2 -2
  217. package/src/modules/community/components/pages/CreateBlogPost.vue +5 -5
  218. package/src/modules/community/components/sections/Comments.vue +5 -5
  219. package/src/modules/community/components/sections/Feed.vue +2 -2
  220. package/src/modules/community/components/sections/JoinUs.vue +2 -2
  221. package/src/modules/community/components/sections/SubscribeNewsletter.vue +3 -3
  222. package/src/modules/constructor/components/elements/Audio.vue +2 -2
  223. package/src/modules/constructor/components/elements/Bullets.vue +1 -1
  224. package/src/modules/constructor/components/elements/Caption.vue +1 -1
  225. package/src/modules/constructor/components/elements/Embed.vue +2 -2
  226. package/src/modules/constructor/components/elements/H2.vue +1 -1
  227. package/src/modules/constructor/components/elements/Image.vue +19 -5
  228. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  229. package/src/modules/constructor/components/elements/Textarea.vue +1 -1
  230. package/src/modules/constructor/components/sections/Constructor.vue +4 -4
  231. package/src/modules/events/components/blocks/CardEvent.vue +5 -5
  232. package/src/modules/events/components/layouts/layoutEvents.vue +1 -1
  233. package/src/modules/events/components/pages/EditEvent.vue +12 -12
  234. package/src/modules/events/components/pages/Event.vue +4 -4
  235. package/src/modules/events/components/pages/Events.vue +1 -1
  236. package/src/modules/events/components/sections/Feed.vue +2 -2
  237. package/src/modules/events/components/sections/List.vue +1 -1
  238. package/src/modules/gallery/components/sections/BackofficeGallery.vue +10 -10
  239. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +6 -6
  240. package/src/modules/globals/components/sections/Feed.vue +1 -1
  241. package/src/modules/landing/components/sections/MobileApp.vue +7 -7
  242. package/src/modules/legal/components/pages/Legal.vue +5 -5
  243. package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
  244. package/src/modules/mobile/components/Menu/MenuItem.vue +2 -2
  245. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  246. package/src/modules/orders/components/blocks/Positions.vue +8 -8
  247. package/src/modules/orders/components/pages/EditOrder.vue +19 -19
  248. package/src/modules/orders/components/pages/Favorites.vue +2 -2
  249. package/src/modules/orders/components/pages/Order.vue +5 -5
  250. package/src/modules/orders/components/pages/Orders.vue +5 -5
  251. package/src/modules/orders/components/pages/ViewOrder.vue +7 -7
  252. package/src/modules/orders/components/partials/ShopCart.vue +3 -3
  253. package/src/modules/orders/components/sections/Form.vue +12 -12
  254. package/src/modules/orders/components/sections/Succes.vue +4 -4
  255. package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
  256. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -3
  257. package/src/modules/organizations/components/blocks/Contacts.vue +1 -1
  258. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +2 -2
  259. package/src/modules/organizations/components/blocks/EditArray.vue +2 -2
  260. package/src/modules/organizations/components/blocks/EmptyState.vue +3 -3
  261. package/src/modules/organizations/components/blocks/Rating.vue +1 -1
  262. package/src/modules/organizations/components/pages/Department.vue +6 -6
  263. package/src/modules/organizations/components/pages/DepartmentEdit.vue +16 -16
  264. package/src/modules/organizations/components/pages/Members.vue +2 -2
  265. package/src/modules/organizations/components/pages/Organization.vue +5 -5
  266. package/src/modules/organizations/components/pages/OrganizationEdit.vue +16 -16
  267. package/src/modules/organizations/components/pages/Organizations.vue +2 -2
  268. package/src/modules/organizations/components/sections/DetailsTab.vue +11 -11
  269. package/src/modules/organizations/components/sections/Documents.vue +4 -4
  270. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  271. package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
  272. package/src/modules/organizations/components/sections/MembersAdd.vue +5 -5
  273. package/src/modules/organizations/components/sections/MembersList.vue +2 -2
  274. package/src/modules/organizations/components/sections/Unit.vue +12 -12
  275. package/src/modules/payments/components/pages/Payments.vue +3 -3
  276. package/src/modules/products/components/blocks/CardLeftover.vue +4 -4
  277. package/src/modules/products/components/blocks/CardProduct.vue +3 -3
  278. package/src/modules/products/components/blocks/EditCategories.vue +4 -4
  279. package/src/modules/products/components/blocks/EditFilters.vue +4 -4
  280. package/src/modules/products/components/blocks/LeftoverPositions.vue +1 -1
  281. package/src/modules/products/components/pages/LeftoverAdd.vue +7 -7
  282. package/src/modules/products/components/pages/Leftovers.vue +5 -5
  283. package/src/modules/products/components/pages/OrganizationDetails.vue +4 -4
  284. package/src/modules/products/components/pages/OrganizationDocuments.vue +5 -5
  285. package/src/modules/products/components/pages/OrganizationPeople.vue +5 -5
  286. package/src/modules/products/components/pages/ProductEdit.vue +5 -5
  287. package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
  288. package/src/modules/products/components/pages/ProductsBackoffice.vue +2 -2
  289. package/src/modules/products/components/sections/EditModifications.vue +8 -8
  290. package/src/modules/products/components/sections/EditParameters.vue +4 -4
  291. package/src/modules/products/components/sections/EditProductImages.vue +2 -2
  292. package/src/modules/products/components/sections/EditProductInfo.vue +5 -5
  293. package/src/modules/products/components/sections/FilterProducts.vue +9 -9
  294. package/src/modules/products/components/sections/HeroRecommendation.vue +5 -5
  295. package/src/modules/products/components/sections/PopularProducts.vue +1 -1
  296. package/src/modules/products/components/sections/ProductInformationSection.vue +27 -27
  297. package/src/modules/products/components/sections/SectionProduct.vue +6 -6
  298. package/src/modules/products/components/sections/SortProducts.vue +1 -1
  299. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  300. package/src/modules/reports/components/sections/FormReport.vue +4 -4
  301. package/src/modules/spots/components/blocks/CardSpot.vue +4 -4
  302. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  303. package/src/modules/spots/components/layouts/Spots.vue +3 -3
  304. package/src/modules/spots/components/pages/Spot.vue +4 -4
  305. package/src/modules/spots/components/pages/SpotEdit.vue +16 -16
  306. package/src/modules/spots/components/sections/Feed.vue +2 -2
  307. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  308. package/src/modules/spots/components/sections/Places.vue +1 -1
  309. package/src/modules/users/components/pages/Profile.vue +13 -13
  310. package/src/modules/users/components/pages/ProfileBlogposts.vue +2 -2
  311. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  312. package/src/modules/users/components/pages/ProfileEdit.vue +21 -21
  313. package/src/modules/users/components/pages/ProfileEvents.vue +2 -2
  314. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  315. package/src/modules/users/components/pages/ProfileOrganizations.vue +2 -2
  316. package/src/modules/users/components/sections/ProfileCompletion.vue +1 -1
  317. package/src/modules/wallet/components/pages/Wallet.vue +17 -17
  318. package/src/styles/base/all.scss +83 -324
  319. package/src/styles/base/border-radius.scss +47 -0
  320. package/src/styles/base/height.scss +60 -0
  321. package/src/styles/base/scrolling.scss +8 -8
  322. package/src/styles/base/width.scss +2 -0
  323. package/src/styles/config.scss +153 -51
  324. package/src/styles/responsive.scss +2 -2
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const m=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const V=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=require("../../../../components/Checkbox/Checkbox.vue.cjs"),g=require("../../../../components/Address/Address.vue.cjs"),y=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),c=require("../../../../components/Button/Button.vue2.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../blocks/EditArray.vue2.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/DepartmentMemberModify.vue2.cjs");require("../blocks/User.vue2.cjs");const t=require("../../../spots/store/spots.cjs"),p=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const l=i=>(e.pushScopeId("data-v-6a9ce43d"),i=i(),e.popScopeId(),i),w={class:"for-transition w-100"},E={class:"pd-b-zero pd-t-zero pd-thin"},q={class:"pd-thin"},x={class:"flex-nowrap flex bg-grey pd-medium radius-big"},k={key:0,class:"mn-r-auto"},P={key:1,class:"mn-r-auto"},S={class:"flex-nowrap flex pd-thin"},D={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},B={class:"flex-stretch flex-column flex"},U={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},z=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1)),I={class:"radius-small flex-nowrap flex"},O={class:"w-100 flex-child-grow-1 flex-child"},A={class:"bg-grey pd-medium o-hidden radius-big"},C=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Details",-1)),K=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please the available delivery options:",-1)),T={class:"mn-medium flex-nowrap flex"},M=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please select the available payment methods:",-1)),G={class:"flex-nowrap flex"},L={class:"bg-grey pd-medium o-hidden radius-big"},R=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Location",-1)),Y=l(()=>e.createElementVNode("p",{class:"mn-small p-medium"},"Or choose on map:",-1)),j={class:"flex-nowrap flex pd-thin"},F={__name:"DepartmentEdit",setup(i){const u=n.useRouter(),d=n.useRoute();e.ref("details"),e.ref(!1);async function f(){d.params.department&&await p.actions.read(d.params.department),e.ref(p.state.memberships),await t.actions.read(d.params._id),d.params.department&&await t.actions.readOne(d.params.department)}f(),e.ref(t.state.department.members),e.ref(!1),e.ref(null),e.ref(!1),e.ref(null);async function h(){d.params.department&&await t.actions.update(d.params._id,t.state.department),d.params.department||await t.actions.create(d.params._id,t.state.department)}function _(){u.replace({name:"Department",params:{_id:d.params._id,department:t.state.department._id}})}async function b(){await t.actions.delete(d.params._id,t.state.department)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",w,[e.createElementVNode("div",E,[e.createVNode(v.default,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",q,[e.createElementVNode("header",x,[e.unref(d).params.department?(e.openBlock(),e.createElementBlock("h1",k,"Edit Spot")):(e.openBlock(),e.createElementBlock("h1",P,"Create Spot")),e.createElementVNode("section",S,[e.createVNode(c.default,{submit:h,callback:_},{default:e.withCtx(()=>[e.createTextVNode("Save Spot")]),_:1})])])]),e.createElementVNode("div",D,[e.createElementVNode("div",B,[e.createElementVNode("div",U,[z,e.createElementVNode("div",I,[e.createVNode(N.default,{photo:t.state.department.profile.photo,"onUpdate:photo":a[0]||(a[0]=s=>t.state.department.profile.photo=s),uploadPath:"organizations/"+t.state.department.name+"/avatars",class:"w-8r aspect-1x1 o-hidden mn-r-small radius-extra"},null,8,["photo","uploadPath"]),e.createElementVNode("div",O,[e.createVNode(m.default,{field:t.state.department.profile.name,"onUpdate:field":a[1]||(a[1]=s=>t.state.department.profile.name=s),label:"Name",placeholder:"Spot Name",class:"mn-small bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{field:t.state.department.profile.description,"onUpdate:field":a[2]||(a[2]=s=>t.state.department.profile.description=s),label:"Description",placeholder:"Spot description (max 120 symbols)",class:"bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"])])])]),e.createElementVNode("div",A,[C,K,e.createElementVNode("div",T,[e.createVNode(r.default,{label:"Pickup",name:"Delivery",value:"pickup",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Delivery",name:"Delivery",value:"courier",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Post",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"])]),M,e.createElementVNode("div",G,[e.createVNode(r.default,{label:"Cash",name:"Payment",value:"cash",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Bank Transfer",name:"Payment",value:"bank",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Crypto",name:"Payment",value:"crypto",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"])])])]),e.createElementVNode("div",L,[R,e.createVNode(g.default,{apiKey:o.GOOGLE_MAPS_API_KEY,address:t.state.department.address,location:t.state.department.location,label:"Address",placeholder:"Enter delivery address",class:"bg-white radius-small pd-small mn-small","onUpdate:location":a[3]||(a[3]=s=>{t.state.department.location=s}),"onUpdate:address":a[4]||(a[4]=s=>{t.state.department.address=s})},null,8,["apiKey","address","location"]),Y,e.createVNode(y.default,{address:t.state.department.address,location:t.state.department.location,apiKey:o.GOOGLE_MAPS_API_KEY,class:"radius-big o-hidden","onUpdate:location":a[5]||(a[5]=s=>{t.state.department.location=s}),"onUpdate:address":a[6]||(a[6]=s=>{t.state.department.address=s})},null,8,["address","location","apiKey"])])]),e.createElementVNode("section",j,[e.createVNode(c.default,{submit:b,callback:o.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Spot")]),_:1},8,["callback"])])]))}},H=V.default(F,[["__scopeId","data-v-6a9ce43d"]]);exports.default=H;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const m=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");const V=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=require("../../../../components/Checkbox/Checkbox.vue.cjs"),g=require("../../../../components/Address/Address.vue.cjs"),y=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),p=require("../../../../components/Button/Button.vue.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../blocks/EditArray.vue2.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/DepartmentMemberModify.vue2.cjs");require("../blocks/User.vue2.cjs");const t=require("../../../spots/store/spots.cjs"),c=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const l=i=>(e.pushScopeId("data-v-d4f32aeb"),i=i(),e.popScopeId(),i),w={class:"for-transition w-100"},E={class:"pd-b-zero pd-t-zero pd-thin"},q={class:"pd-thin"},x={class:"flex-nowrap flex bg-grey pd-medium radius-big"},k={key:0,class:"mn-r-auto"},P={key:1,class:"mn-r-auto"},S={class:"flex-nowrap flex pd-thin"},D={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},B={class:"flex-stretch flex-column flex"},U={class:"mn-b-thin bg-grey pd-medium o-hidden radius-big"},z=l(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Profile",-1)),I={class:"radius-small flex-nowrap flex"},O={class:"w-100 flex-child-grow-1 flex-child"},A={class:"bg-grey pd-medium o-hidden radius-big"},C=l(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Details",-1)),K=l(()=>e.createElementVNode("p",{class:"p-medium mn-b-small"},"Please the available delivery options:",-1)),T={class:"mn-b-medium flex-nowrap flex"},M=l(()=>e.createElementVNode("p",{class:"p-medium mn-b-small"},"Please select the available payment methods:",-1)),G={class:"flex-nowrap flex"},L={class:"bg-grey pd-medium o-hidden radius-big"},R=l(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Location",-1)),Y=l(()=>e.createElementVNode("p",{class:"mn-b-small p-medium"},"Or choose on map:",-1)),j={class:"flex-nowrap flex pd-thin"},F={__name:"DepartmentEdit",setup(i){const u=n.useRouter(),d=n.useRoute();e.ref("details"),e.ref(!1);async function f(){d.params.department&&await c.actions.read(d.params.department),e.ref(c.state.memberships),await t.actions.read(d.params._id),d.params.department&&await t.actions.readOne(d.params.department)}f(),e.ref(t.state.department.members),e.ref(!1),e.ref(null),e.ref(!1),e.ref(null);async function h(){d.params.department&&await t.actions.update(d.params._id,t.state.department),d.params.department||await t.actions.create(d.params._id,t.state.department)}function b(){u.replace({name:"Department",params:{_id:d.params._id,department:t.state.department._id}})}async function _(){await t.actions.delete(d.params._id,t.state.department)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",w,[e.createElementVNode("div",E,[e.createVNode(v.default,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",q,[e.createElementVNode("header",x,[e.unref(d).params.department?(e.openBlock(),e.createElementBlock("h1",k,"Edit Spot")):(e.openBlock(),e.createElementBlock("h1",P,"Create Spot")),e.createElementVNode("section",S,[e.createVNode(p.default,{submit:h,callback:b},{default:e.withCtx(()=>[e.createTextVNode("Save Spot")]),_:1})])])]),e.createElementVNode("div",D,[e.createElementVNode("div",B,[e.createElementVNode("div",U,[z,e.createElementVNode("div",I,[e.createVNode(N.default,{photo:t.state.department.profile.photo,"onUpdate:photo":a[0]||(a[0]=s=>t.state.department.profile.photo=s),uploadPath:"organizations/"+t.state.department.name+"/avatars",class:"w-8r aspect-1x1 o-hidden mn-r-small radius-extra"},null,8,["photo","uploadPath"]),e.createElementVNode("div",O,[e.createVNode(m.default,{field:t.state.department.profile.name,"onUpdate:field":a[1]||(a[1]=s=>t.state.department.profile.name=s),label:"Name",placeholder:"Spot Name",class:"mn-b-small bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{field:t.state.department.profile.description,"onUpdate:field":a[2]||(a[2]=s=>t.state.department.profile.description=s),label:"Description",placeholder:"Spot description (max 120 symbols)",class:"bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"])])])]),e.createElementVNode("div",A,[C,K,e.createElementVNode("div",T,[e.createVNode(r.default,{label:"Pickup",name:"Delivery",value:"pickup",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Delivery",name:"Delivery",value:"courier",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Post",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"])]),M,e.createElementVNode("div",G,[e.createVNode(r.default,{label:"Cash",name:"Payment",value:"cash",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Bank Transfer",name:"Payment",value:"bank",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Crypto",name:"Payment",value:"crypto",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"])])])]),e.createElementVNode("div",L,[R,e.createVNode(g.default,{apiKey:o.GOOGLE_MAPS_API_KEY,address:t.state.department.address,location:t.state.department.location,label:"Address",placeholder:"Enter delivery address",class:"bg-white radius-small pd-small mn-b-small","onUpdate:location":a[3]||(a[3]=s=>{t.state.department.location=s}),"onUpdate:address":a[4]||(a[4]=s=>{t.state.department.address=s})},null,8,["apiKey","address","location"]),Y,e.createVNode(y.default,{address:t.state.department.address,location:t.state.department.location,apiKey:o.GOOGLE_MAPS_API_KEY,class:"radius-big o-hidden","onUpdate:location":a[5]||(a[5]=s=>{t.state.department.location=s}),"onUpdate:address":a[6]||(a[6]=s=>{t.state.department.address=s})},null,8,["address","location","apiKey"])])]),e.createElementVNode("section",j,[e.createVNode(p.default,{submit:_,callback:o.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Spot")]),_:1},8,["callback"])])]))}},H=V.default(F,[["__scopeId","data-v-d4f32aeb"]]);exports.default=H;
@@ -5,12 +5,12 @@ import z from "../../../../components/Breadcrumbs/Breadcrumbs.vue2.js";
5
5
  import N from "../../../../components/UploadImage/UploadImage.vue.js";
6
6
  import "../../../../components/Tab/Tab.vue.js";
7
7
  import _ from "../../../../components/Field/Field.vue2.js";
8
- import "../../../../components/Select/Select.vue.js";
8
+ import "../../../../components/Select/Select.vue2.js";
9
9
  import U from "../../../../../../_virtual/_plugin-vue_export-helper.js";
10
10
  import d from "../../../../components/Checkbox/Checkbox.vue.js";
11
11
  import A from "../../../../components/Address/Address.vue.js";
12
12
  import I from "../../../../components/LocationMarker/LocationMarker.vue.js";
13
- import b from "../../../../components/Button/Button.vue2.js";
13
+ import b from "../../../../components/Button/Button.vue.js";
14
14
  import "vue-i18n";
15
15
  import "../../../../components/Popup/Popup.vue2.js";
16
16
  import "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
@@ -21,13 +21,13 @@ import "../blocks/User.vue2.js";
21
21
  import { state as e, actions as m } from "../../../spots/store/spots.js";
22
22
  import { actions as K, state as O } from "../../store/memberships.js";
23
23
  import "./DepartmentEdit.vue2.js";
24
- const r = (p) => (k("data-v-6a9ce43d"), p = p(), D(), p), C = { class: "for-transition w-100" }, $ = { class: "pd-b-zero pd-t-zero pd-thin" }, G = { class: "pd-thin" }, L = { class: "flex-nowrap flex bg-grey pd-medium radius-big" }, T = {
24
+ const r = (p) => (k("data-v-d4f32aeb"), p = p(), D(), p), C = { class: "for-transition w-100" }, $ = { class: "pd-b-zero pd-t-zero pd-thin" }, G = { class: "pd-thin" }, L = { class: "flex-nowrap flex bg-grey pd-medium radius-big" }, T = {
25
25
  key: 0,
26
26
  class: "mn-r-auto"
27
27
  }, B = {
28
28
  key: 1,
29
29
  class: "mn-r-auto"
30
- }, M = { class: "flex-nowrap flex pd-thin" }, V = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, R = { class: "flex-stretch flex-column flex" }, Y = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, F = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-semi" }, "Profile", -1)), j = { class: "radius-small flex-nowrap flex" }, q = { class: "w-100 flex-child-grow-1 flex-child" }, H = { class: "bg-grey pd-medium o-hidden radius-big" }, J = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-semi" }, "Details", -1)), Q = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "p-medium mn-small" }, "Please the available delivery options:", -1)), W = { class: "mn-medium flex-nowrap flex" }, X = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "p-medium mn-small" }, "Please select the available payment methods:", -1)), Z = { class: "flex-nowrap flex" }, ee = { class: "bg-grey pd-medium o-hidden radius-big" }, ae = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-semi" }, "Location", -1)), te = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "mn-small p-medium" }, "Or choose on map:", -1)), se = { class: "flex-nowrap flex pd-thin" }, ie = {
30
+ }, M = { class: "flex-nowrap flex pd-thin" }, V = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, R = { class: "flex-stretch flex-column flex" }, Y = { class: "mn-b-thin bg-grey pd-medium o-hidden radius-big" }, F = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-b-semi" }, "Profile", -1)), j = { class: "radius-small flex-nowrap flex" }, q = { class: "w-100 flex-child-grow-1 flex-child" }, H = { class: "bg-grey pd-medium o-hidden radius-big" }, J = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-b-semi" }, "Details", -1)), Q = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "p-medium mn-b-small" }, "Please the available delivery options:", -1)), W = { class: "mn-b-medium flex-nowrap flex" }, X = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "p-medium mn-b-small" }, "Please select the available payment methods:", -1)), Z = { class: "flex-nowrap flex" }, ee = { class: "bg-grey pd-medium o-hidden radius-big" }, ae = /* @__PURE__ */ r(() => /* @__PURE__ */ a("h3", { class: "mn-b-semi" }, "Location", -1)), te = /* @__PURE__ */ r(() => /* @__PURE__ */ a("p", { class: "mn-b-small p-medium" }, "Or choose on map:", -1)), se = { class: "flex-nowrap flex pd-thin" }, ie = {
31
31
  __name: "DepartmentEdit",
32
32
  setup(p) {
33
33
  const v = S(), o = E();
@@ -91,7 +91,7 @@ const r = (p) => (k("data-v-6a9ce43d"), p = p(), D(), p), C = { class: "for-tran
91
91
  "onUpdate:field": t[1] || (t[1] = (i) => e.department.profile.name = i),
92
92
  label: "Name",
93
93
  placeholder: "Spot Name",
94
- class: "mn-small bg-white radius-small pd-medium",
94
+ class: "mn-b-small bg-white radius-small pd-medium",
95
95
  validation: n.organizationName
96
96
  }, null, 8, ["field", "validation"]),
97
97
  s(_, {
@@ -165,7 +165,7 @@ const r = (p) => (k("data-v-6a9ce43d"), p = p(), D(), p), C = { class: "for-tran
165
165
  location: e.department.location,
166
166
  label: "Address",
167
167
  placeholder: "Enter delivery address",
168
- class: "bg-white radius-small pd-small mn-small",
168
+ class: "bg-white radius-small pd-small mn-b-small",
169
169
  "onUpdate:location": t[3] || (t[3] = (i) => {
170
170
  e.department.location = i;
171
171
  }),
@@ -202,7 +202,7 @@ const r = (p) => (k("data-v-6a9ce43d"), p = p(), D(), p), C = { class: "for-tran
202
202
  ])
203
203
  ]));
204
204
  }
205
- }, ze = /* @__PURE__ */ U(ie, [["__scopeId", "data-v-6a9ce43d"]]);
205
+ }, ze = /* @__PURE__ */ U(ie, [["__scopeId", "data-v-d4f32aeb"]]);
206
206
  export {
207
207
  ze as default
208
208
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.vue2.cjs");require("../../../mobile/components/Menu/Menu.vue.cjs");require("../../../mobile/components/Menu/MenuItem.vue.cjs");const _=require("../../../events/components/sections/Feed.vue.cjs"),p=require("../../../community/components/sections/Feed.vue.cjs"),v=require("../../../spots/components/sections/Feed.vue.cjs"),f=require("../sections/DetailsTab.vue.cjs"),b=require("../../../products/components/pages/Products.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const a=require("../../../auth/store/auth.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const l=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs");require("./Organization.vue2.cjs");const y={key:0,class:"pd-thin for-transition w-100"},g={class:"pos-relative"},h={key:0},k={__name:"Organization",setup(N){const c=i.useRouter(),r=i.useRoute();let d=r.query.tab?r.query.tab:"events";const u=e.ref(null);e.onMounted(async()=>{u.value=await o.actions.read({_id:r.params._id,user:a.state.user._id}),await l.actions.read(r.params._id)});const t=e.ref(d);return r.query.tab=t.value,e.watch(t,n=>{c.replace({query:{...r.query,tab:n}})}),(n,s)=>u.value?(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(f.default,{organization:o.state.current,user:a.state.user,class:"mn-semi"},null,8,["organization","user"]),e.createVNode(q.default,{selected:t.value,"onUpdate:selected":s[0]||(s[0]=m=>t.value=m),tabs:[{name:"Community",value:"community"},{name:"Events",value:"events"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("div",g,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="community"?(e.openBlock(),e.createBlock(p.default,{key:0,user:a.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="events"?(e.openBlock(),e.createBlock(_.default,{key:0,user:a.state.user._id,owner:e.unref(r).params._id,sortOrder:"desc",sortParam:"date.start"},null,8,["user","owner","sortParam"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="products"?(e.openBlock(),e.createBlock(b.default,{key:0,organization:o.state.current},null,8,["organization"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="spots"?(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(v.default,{organization:o.state.current,memberships:l.state.memberships},null,8,["organization","memberships"])])):e.createCommentVNode("",!0)]),_:1})])])):e.createCommentVNode("",!0)}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const q=require("../../../../components/Tab/Tab.vue2.cjs");require("../../../mobile/components/Menu/Menu.vue2.cjs");require("../../../mobile/components/Menu/MenuItem.vue.cjs");const _=require("../../../events/components/sections/Feed.vue.cjs"),p=require("../../../community/components/sections/Feed.vue.cjs"),v=require("../../../spots/components/sections/Feed.vue.cjs"),f=require("../sections/DetailsTab.vue.cjs"),b=require("../../../products/components/pages/Products.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Map/Map.vue.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/User.vue2.cjs");require("../blocks/CardDepartment.vue2.cjs");require("../../store/departments.cjs");const a=require("../../../auth/store/auth.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/Button/Button.vue2.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const l=require("../../store/memberships.cjs"),o=require("../../store/organizations.cjs");require("./Organization.vue2.cjs");const y={key:0,class:"pd-thin for-transition w-100"},g={class:"pos-relative"},h={key:0},k={__name:"Organization",setup(N){const c=i.useRouter(),r=i.useRoute();let d=r.query.tab?r.query.tab:"events";const u=e.ref(null);e.onMounted(async()=>{u.value=await o.actions.read({_id:r.params._id,user:a.state.user._id}),await l.actions.read(r.params._id)});const t=e.ref(d);return r.query.tab=t.value,e.watch(t,n=>{c.replace({query:{...r.query,tab:n}})}),(n,s)=>u.value?(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(f.default,{organization:o.state.current,user:a.state.user,class:"mn-b-semi"},null,8,["organization","user"]),e.createVNode(q.default,{selected:t.value,"onUpdate:selected":s[0]||(s[0]=m=>t.value=m),tabs:[{name:"Community",value:"community"},{name:"Events",value:"events"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("div",g,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="community"?(e.openBlock(),e.createBlock(p.default,{key:0,user:a.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="events"?(e.openBlock(),e.createBlock(_.default,{key:0,user:a.state.user._id,owner:e.unref(r).params._id,sortOrder:"desc",sortParam:"date.start"},null,8,["user","owner","sortParam"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="products"?(e.openBlock(),e.createBlock(b.default,{key:0,organization:o.state.current},null,8,["organization"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="spots"?(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(v.default,{organization:o.state.current,memberships:l.state.memberships},null,8,["organization","memberships"])])):e.createCommentVNode("",!0)]),_:1})])])):e.createCommentVNode("",!0)}};exports.default=k;
@@ -4,7 +4,7 @@ import "vue-i18n";
4
4
  import "../../../globals/localization/vue-i18n.js";
5
5
  import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
6
6
  import k from "../../../../components/Tab/Tab.vue2.js";
7
- import "../../../mobile/components/Menu/Menu.vue.js";
7
+ import "../../../mobile/components/Menu/Menu.vue2.js";
8
8
  import "../../../mobile/components/Menu/MenuItem.vue.js";
9
9
  import q from "../../../events/components/sections/Feed.vue.js";
10
10
  import x from "../../../community/components/sections/Feed.vue.js";
@@ -19,8 +19,8 @@ import "../blocks/CardDepartment.vue2.js";
19
19
  import "../../store/departments.js";
20
20
  import { state as n } from "../../../auth/store/auth.js";
21
21
  import "../../../../components/Field/Field.vue.js";
22
- import "../../../../components/Select/Select.vue.js";
23
- import "../../../../components/Button/Button.vue.js";
22
+ import "../../../../components/Select/Select.vue2.js";
23
+ import "../../../../components/Button/Button.vue2.js";
24
24
  import "../../../middlewares/client/inputs.validation.js";
25
25
  import "../../store/invites.js";
26
26
  import { actions as N, state as O } from "../../store/memberships.js";
@@ -45,7 +45,7 @@ const P = {
45
45
  r(C, {
46
46
  organization: u.current,
47
47
  user: n.user,
48
- class: "mn-semi"
48
+ class: "mn-b-semi"
49
49
  }, null, 8, ["organization", "user"]),
50
50
  r(k, {
51
51
  selected: t.value,
@@ -56,7 +56,7 @@ const P = {
56
56
  { name: "Events", value: "events" }
57
57
  // { name: 'Spots', value: 'spots' }
58
58
  ],
59
- class: "mn-small o-hidden h5 radius-big bg-grey"
59
+ class: "mn-b-small o-hidden h5 radius-big bg-grey"
60
60
  }, null, 8, ["selected"]),
61
61
  w("div", R, [
62
62
  r(i, { name: "slide-fade" }, {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const f=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),g=require("../../../../components/UploadImage/UploadImage.vue.cjs"),h=require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Popup/Popup.vue2.cjs");const b=require("../../../auth/store/auth.cjs"),e=require("../../store/organizations.cjs");require("../../store/memberships.cjs");const y={class:"for-transition pd-thin"},_=t.createElementVNode("h3",{class:"mn-small"},"Type of group",-1),V=t.createElementVNode("p",{class:"mn-thin"},"Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.",-1),N=t.createElementVNode("h3",{class:"mn-small"},"Profile",-1),q={class:"mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},v=t.createElementVNode("h4",null,"Upload photo",-1),w=t.createElementVNode("h3",{class:"mn-small"},"Socials",-1),x=t.createElementVNode("p",{class:"mn-thin"},"Please provide only the username for social media profiles, without full links.",-1),U={__name:"OrganizationEdit",async setup(k){let o,i;const s=n.useRoute(),d=n.useRouter();e.actions.reset(),s.params._id&&([o,i]=t.withAsyncContext(()=>e.actions.read({_id:s.params._id})),await o,i());const u=t.computed(()=>e.state.current);async function c(){s.params._id?await e.actions.update(s.params._id,u.value):await e.actions.create(e.state.current,b.state.user._id)}function m(){d.replace({name:"Organization",params:{_id:e.state.current._id}})}return(E,a)=>(t.openBlock(),t.createElementBlock("div",y,[_,V,t.createVNode(f.default,{modelValue:e.state.current.types,"onUpdate:modelValue":a[0]||(a[0]=r=>e.state.current.types=r),options:["public","exclusive","hidden"],multiple:!1,taggable:!1,placeholder:"Type to search or add type of organization",class:"mn-semi bg-grey pd-medium radius-small"},null,8,["modelValue"]),N,t.createElementVNode("div",q,[t.createVNode(g.default,{photo:e.state.current.profile.photo,"onUpdate:photo":a[1]||(a[1]=r=>e.state.current.profile.photo=r),uploadPath:"organizations/"+e.state.current._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"},null,8,["photo","uploadPath"]),v]),t.createVNode(l.default,{field:e.state.current.profile.name,"onUpdate:field":a[2]||(a[2]=r=>e.state.current.profile.name=r),placeholder:"Name of organization",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.profile.description,"onUpdate:field":a[3]||(a[3]=r=>e.state.current.profile.description=r),placeholder:"Brief description of your group",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(p.default,{onTagsChanged:a[4]||(a[4]=r=>e.state.current.profile.tags=r),tags:e.state.current.profile.tags},null,8,["tags"]),w,x,t.createVNode(l.default,{field:e.state.current.socials.instagram,"onUpdate:field":a[5]||(a[5]=r=>e.state.current.socials.instagram=r),label:"Instagram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.twitter,"onUpdate:field":a[6]||(a[6]=r=>e.state.current.socials.twitter=r),label:"Twitter",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.facebook,"onUpdate:field":a[7]||(a[7]=r=>e.state.current.socials.facebook=r),label:"Facebook",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.telegram,"onUpdate:field":a[8]||(a[8]=r=>e.state.current.socials.telegram=r),label:"Telegram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(h.default,{submit:c,callback:m,class:"mn-thin"},{default:t.withCtx(()=>[t.createTextVNode("Save")]),_:1})]))}};exports.default=U;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");const f=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),g=require("../../../../components/UploadImage/UploadImage.vue.cjs"),b=require("../../../../components/Button/Button.vue.cjs");require("../../../../components/Popup/Popup.vue2.cjs");const h=require("../../../auth/store/auth.cjs"),e=require("../../store/organizations.cjs");require("../../store/memberships.cjs");const y={class:"for-transition pd-thin"},_=t.createElementVNode("h3",{class:"mn-b-small"},"Type of group",-1),V=t.createElementVNode("p",{class:"mn-b-thin"},"Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.",-1),N=t.createElementVNode("h3",{class:"mn-b-small"},"Profile",-1),q={class:"mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},v=t.createElementVNode("h4",null,"Upload photo",-1),w=t.createElementVNode("h3",{class:"mn-b-small"},"Socials",-1),x=t.createElementVNode("p",{class:"mn-b-thin"},"Please provide only the username for social media profiles, without full links.",-1),U={__name:"OrganizationEdit",async setup(k){let o,i;const s=n.useRoute(),d=n.useRouter();e.actions.reset(),s.params._id&&([o,i]=t.withAsyncContext(()=>e.actions.read({_id:s.params._id})),await o,i());const u=t.computed(()=>e.state.current);async function c(){s.params._id?await e.actions.update(s.params._id,u.value):await e.actions.create(e.state.current,h.state.user._id)}function m(){d.replace({name:"Organization",params:{_id:e.state.current._id}})}return(E,a)=>(t.openBlock(),t.createElementBlock("div",y,[_,V,t.createVNode(f.default,{modelValue:e.state.current.types,"onUpdate:modelValue":a[0]||(a[0]=r=>e.state.current.types=r),options:["public","exclusive","hidden"],multiple:!1,taggable:!1,placeholder:"Type to search or add type of organization",class:"mn-b-semi bg-grey pd-medium radius-small"},null,8,["modelValue"]),N,t.createElementVNode("div",q,[t.createVNode(g.default,{photo:e.state.current.profile.photo,"onUpdate:photo":a[1]||(a[1]=r=>e.state.current.profile.photo=r),uploadPath:"organizations/"+e.state.current._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"},null,8,["photo","uploadPath"]),v]),t.createVNode(l.default,{field:e.state.current.profile.name,"onUpdate:field":a[2]||(a[2]=r=>e.state.current.profile.name=r),placeholder:"Name of organization",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.profile.description,"onUpdate:field":a[3]||(a[3]=r=>e.state.current.profile.description=r),placeholder:"Brief description of your group",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(p.default,{onTagsChanged:a[4]||(a[4]=r=>e.state.current.profile.tags=r),tags:e.state.current.profile.tags},null,8,["tags"]),w,x,t.createVNode(l.default,{field:e.state.current.socials.instagram,"onUpdate:field":a[5]||(a[5]=r=>e.state.current.socials.instagram=r),label:"Instagram",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.twitter,"onUpdate:field":a[6]||(a[6]=r=>e.state.current.socials.twitter=r),label:"Twitter",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.facebook,"onUpdate:field":a[7]||(a[7]=r=>e.state.current.socials.facebook=r),label:"Facebook",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(l.default,{field:e.state.current.socials.telegram,"onUpdate:field":a[8]||(a[8]=r=>e.state.current.socials.telegram=r),label:"Telegram",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),t.createVNode(b.default,{submit:c,callback:m,class:"mn-b-thin"},{default:t.withCtx(()=>[t.createTextVNode("Save")]),_:1})]))}};exports.default=U;
@@ -1,4 +1,4 @@
1
- import { withAsyncContext as f, computed as g, openBlock as h, createElementBlock as _, createVNode as o, createElementVNode as l, withCtx as b, createTextVNode as y } from "vue";
1
+ import { withAsyncContext as f, computed as g, openBlock as b, createElementBlock as h, createVNode as o, createElementVNode as l, withCtx as _, createTextVNode as y } from "vue";
2
2
  import { useRoute as w, useRouter as x } from "vue-router";
3
3
  import "vue-i18n";
4
4
  import "../../../globals/localization/vue-i18n.js";
@@ -6,15 +6,15 @@ import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
6
6
  import v from "../../../../components/FieldTags/BlockTags.vue.js";
7
7
  import "../../../../components/Tab/Tab.vue.js";
8
8
  import i from "../../../../components/Field/Field.vue2.js";
9
- import "../../../../components/Select/Select.vue.js";
9
+ import "../../../../components/Select/Select.vue2.js";
10
10
  import U from "../../../../components/SelectMulti/SelectMulti.vue.js";
11
11
  import k from "../../../../components/UploadImage/UploadImage.vue.js";
12
- import T from "../../../../components/Button/Button.vue2.js";
12
+ import T from "../../../../components/Button/Button.vue.js";
13
13
  import "../../../../components/Popup/Popup.vue2.js";
14
14
  import { state as z } from "../../../auth/store/auth.js";
15
15
  import { actions as s, state as e } from "../../store/organizations.js";
16
16
  import "../../store/memberships.js";
17
- const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { class: "mn-small" }, "Type of group", -1), N = /* @__PURE__ */ l("p", { class: "mn-thin" }, "Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.", -1), S = /* @__PURE__ */ l("h3", { class: "mn-small" }, "Profile", -1), $ = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, B = /* @__PURE__ */ l("h4", null, "Upload photo", -1), C = /* @__PURE__ */ l("h3", { class: "mn-small" }, "Socials", -1), E = /* @__PURE__ */ l("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), Z = {
17
+ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { class: "mn-b-small" }, "Type of group", -1), N = /* @__PURE__ */ l("p", { class: "mn-b-thin" }, "Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.", -1), S = /* @__PURE__ */ l("h3", { class: "mn-b-small" }, "Profile", -1), $ = { class: "mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, B = /* @__PURE__ */ l("h4", null, "Upload photo", -1), C = /* @__PURE__ */ l("h3", { class: "mn-b-small" }, "Socials", -1), E = /* @__PURE__ */ l("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1), Z = {
18
18
  __name: "OrganizationEdit",
19
19
  async setup(F) {
20
20
  let n, d;
@@ -27,7 +27,7 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
27
27
  function c() {
28
28
  m.replace({ name: "Organization", params: { _id: e.current._id } });
29
29
  }
30
- return (I, t) => (h(), _("div", V, [
30
+ return (I, t) => (b(), h("div", V, [
31
31
  P,
32
32
  N,
33
33
  o(U, {
@@ -37,7 +37,7 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
37
37
  multiple: !1,
38
38
  taggable: !1,
39
39
  placeholder: "Type to search or add type of organization",
40
- class: "mn-semi bg-grey pd-medium radius-small"
40
+ class: "mn-b-semi bg-grey pd-medium radius-small"
41
41
  }, null, 8, ["modelValue"]),
42
42
  S,
43
43
  l("div", $, [
@@ -45,7 +45,7 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
45
45
  photo: e.current.profile.photo,
46
46
  "onUpdate:photo": t[1] || (t[1] = (r) => e.current.profile.photo = r),
47
47
  uploadPath: "organizations/" + e.current._id + "/avatars",
48
- class: "h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"
48
+ class: "h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"
49
49
  }, null, 8, ["photo", "uploadPath"]),
50
50
  B
51
51
  ]),
@@ -53,13 +53,13 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
53
53
  field: e.current.profile.name,
54
54
  "onUpdate:field": t[2] || (t[2] = (r) => e.current.profile.name = r),
55
55
  placeholder: "Name of organization",
56
- class: "mn-thin bg-grey pd-medium radius-small"
56
+ class: "mn-b-thin bg-grey pd-medium radius-small"
57
57
  }, null, 8, ["field"]),
58
58
  o(i, {
59
59
  field: e.current.profile.description,
60
60
  "onUpdate:field": t[3] || (t[3] = (r) => e.current.profile.description = r),
61
61
  placeholder: "Brief description of your group",
62
- class: "mn-thin bg-grey pd-medium radius-small"
62
+ class: "mn-b-thin bg-grey pd-medium radius-small"
63
63
  }, null, 8, ["field"]),
64
64
  o(v, {
65
65
  onTagsChanged: t[4] || (t[4] = (r) => e.current.profile.tags = r),
@@ -72,35 +72,35 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ l("h3", { cla
72
72
  "onUpdate:field": t[5] || (t[5] = (r) => e.current.socials.instagram = r),
73
73
  label: "Instagram",
74
74
  placeholder: "",
75
- class: "mn-thin bg-grey pd-medium radius-small"
75
+ class: "mn-b-thin bg-grey pd-medium radius-small"
76
76
  }, null, 8, ["field"]),
77
77
  o(i, {
78
78
  field: e.current.socials.twitter,
79
79
  "onUpdate:field": t[6] || (t[6] = (r) => e.current.socials.twitter = r),
80
80
  label: "Twitter",
81
81
  placeholder: "",
82
- class: "mn-thin bg-grey pd-medium radius-small"
82
+ class: "mn-b-thin bg-grey pd-medium radius-small"
83
83
  }, null, 8, ["field"]),
84
84
  o(i, {
85
85
  field: e.current.socials.facebook,
86
86
  "onUpdate:field": t[7] || (t[7] = (r) => e.current.socials.facebook = r),
87
87
  label: "Facebook",
88
88
  placeholder: "",
89
- class: "mn-thin bg-grey pd-medium radius-small"
89
+ class: "mn-b-thin bg-grey pd-medium radius-small"
90
90
  }, null, 8, ["field"]),
91
91
  o(i, {
92
92
  field: e.current.socials.telegram,
93
93
  "onUpdate:field": t[8] || (t[8] = (r) => e.current.socials.telegram = r),
94
94
  label: "Telegram",
95
95
  placeholder: "",
96
- class: "mn-thin bg-grey pd-medium radius-small"
96
+ class: "mn-b-thin bg-grey pd-medium radius-small"
97
97
  }, null, 8, ["field"]),
98
98
  o(T, {
99
99
  submit: u,
100
100
  callback: c,
101
- class: "mn-thin"
101
+ class: "mn-b-thin"
102
102
  }, {
103
- default: b(() => [
103
+ default: _(() => [
104
104
  y("Save")
105
105
  ]),
106
106
  _: 1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),c=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../sections/Feed.vue.cjs"),u=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},b={class:"mn-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Groups",-1),p={__name:"Organizations",setup(_){const t=n.useRoute(),i=n.useRouter();let d=t.query.tab?t.query.tab:"member";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,o=>{i.replace({query:{...t.query,tab:o}})}),(o,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",b,[f,u.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=s=>o.$router.push({name:"Create Organization"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(c.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=s=>r.value=s),tabs:[{name:"Member",value:"member"},{name:"Follower",value:"follower"}],class:"mn-medium mn-r-medium o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="member"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,owner:e.unref(t).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="follower"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,subscriber:e.unref(t).params._id},null,8,["user","subscriber"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),c=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../sections/Feed.vue.cjs"),u=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},b={class:"mn-b-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Groups",-1),p={__name:"Organizations",setup(_){const t=n.useRoute(),i=n.useRouter();let d=t.query.tab?t.query.tab:"member";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,o=>{i.replace({query:{...t.query,tab:o}})}),(o,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",b,[f,u.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=s=>o.$router.push({name:"Create Organization"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(c.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=s=>r.value=s),tabs:[{name:"Member",value:"member"},{name:"Follower",value:"follower"}],class:"mn-b-medium mn-r-medium o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="member"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,owner:e.unref(t).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="follower"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,subscriber:e.unref(t).params._id},null,8,["user","subscriber"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=p;
@@ -1,9 +1,9 @@
1
- import { ref as h, watch as w, openBlock as a, createElementBlock as l, createElementVNode as b, unref as o, createCommentVNode as u, createVNode as n, Transition as d, withCtx as c, createBlock as p } from "vue";
1
+ import { ref as h, watch as w, openBlock as a, createElementBlock as l, createElementVNode as _, unref as o, createCommentVNode as u, createVNode as n, Transition as d, withCtx as c, createBlock as b } from "vue";
2
2
  import { useRoute as y, useRouter as g } from "vue-router";
3
3
  import k from "../../../../components/Tab/Tab.vue2.js";
4
- import _ from "../sections/Feed.vue.js";
4
+ import p from "../sections/Feed.vue.js";
5
5
  import { state as i } from "../../../auth/store/auth.js";
6
- const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowrap flex" }, C = /* @__PURE__ */ b("h2", { class: "mn-r-medium" }, "Groups", -1), E = {
6
+ const q = { class: "pd-thin" }, x = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, C = /* @__PURE__ */ _("h2", { class: "mn-r-medium" }, "Groups", -1), E = {
7
7
  __name: "Organizations",
8
8
  setup($) {
9
9
  const e = y(), f = g();
@@ -12,7 +12,7 @@ const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowra
12
12
  return e.query.tab = r.value, w(r, (s) => {
13
13
  f.replace({ query: { ...e.query, tab: s } });
14
14
  }), (s, t) => (a(), l("div", q, [
15
- b("header", x, [
15
+ _("header", x, [
16
16
  C,
17
17
  i.user._id === o(e).params._id ? (a(), l("button", {
18
18
  key: 0,
@@ -29,11 +29,11 @@ const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowra
29
29
  { name: "Member", value: "member" },
30
30
  { name: "Follower", value: "follower" }
31
31
  ],
32
- class: "mn-medium mn-r-medium o-hidden h5 radius-big bg-grey"
32
+ class: "mn-b-medium mn-r-medium o-hidden h5 radius-big bg-grey"
33
33
  }, null, 8, ["selected"]),
34
34
  n(d, { name: "slide-fade" }, {
35
35
  default: c(() => [
36
- r.value === "member" ? (a(), p(_, {
36
+ r.value === "member" ? (a(), b(p, {
37
37
  key: 0,
38
38
  user: i.user._id,
39
39
  owner: o(e).params._id
@@ -43,7 +43,7 @@ const q = { class: "pd-thin" }, x = { class: "mn-medium flex-v-center flex-nowra
43
43
  }),
44
44
  n(d, { name: "slide-fade" }, {
45
45
  default: c(() => [
46
- r.value === "follower" ? (a(), p(_, {
46
+ r.value === "follower" ? (a(), b(p, {
47
47
  key: 0,
48
48
  user: i.user._id,
49
49
  subscriber: o(e).params._id
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Dropdown/Dropdown.vue2.cjs"),m=require("../../../../components/Text/Text.vue.cjs"),g=require("../../../icons/navigation/IconEdit.vue.cjs"),b=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),s=require("../elements/ButtonToggleMembership.vue.cjs"),k=require("../blocks/Socials.vue.cjs"),f=require("../../../reports/components/sections/FormReport.vue.cjs"),h=require("../../store/organizations.cjs"),z=require("../../store/memberships.cjs"),B={class:"t-center flex-center flex-column flex pd-medium radius-big bg-grey"},w={class:"bg-black pd-thin radius-small"},x=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),y=["src"],E={class:"mn-thin"},V={class:"mn-medium p-big"},N={class:"flex-center flex-wrap gap-thin flex mn-semi"},q={class:"pd-thin radius-small t-semi uppercase t-black bg-main p-medium"},S={class:"t-semi mn-small"},p={key:5,class:"mn-t-small mn-thin"},v={__name:"DetailsTab",props:{organization:Object,user:Object},setup(t){const n=u.useRoute(),r=({membership:i,status:o,target:a},l,c)=>{z.mutations.handleMembershipUpdate(h.state.current,i,o,a,l,c)};return(i,o)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createElementVNode("section",B,[t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(d.default,{key:0,label:"...",align:"right",class:"cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",w,[e.createVNode(f.default,{user:t.user._id,type:"organization",target:t.organization._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[x]),_:1},8,["user","target"]),t.user._id&&t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(s.default,{key:0,user:t.user._id,type:"organization",role:"blocked",target:t.organization._id,status:t.organization.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:o[0]||(o[0]=a=>r(a,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),t.user._id===t.organization.owner?(e.openBlock(),e.createBlock(g.default,{key:1,onClick:o[1]||(o[1]=a=>i.$router.push({name:"Organization Edit",params:{_id:t.organization._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.organization.profile.photo?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.organization.profile.photo,class:"radius-big bg-grey flex-center flex mn-small i-extra"},null,8,y)):(e.openBlock(),e.createBlock(b.default,{key:3,class:"radius-medium mn-small i-extra"})),e.createElementVNode("h1",E,e.toDisplayString(t.organization.profile.name),1),e.createElementVNode("p",V,[e.createVNode(m.default,{text:t.organization.profile.description?t.organization.profile.description:"",maxLen:240},null,8,["text"])]),e.createElementVNode("div",N,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.organization.profile.tags,a=>(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString(a),1))),256))]),e.createElementVNode("p",S," 👨‍👨‍👧‍👧 "+e.toDisplayString(t.organization.numberOfSubscribers)+" followers ",1),t.user._id&&e.unref(n).params._id&&e.unref(n).params._id!==t.user._id&&t.organization.owner!==t.user._id?(e.openBlock(),e.createBlock(s.default,{key:4,user:t.user._id,type:"organization",role:"subscriber",target:t.organization._id,status:t.organization.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:o[2]||(o[2]=a=>r(a,"isSubscriber","numberOfSubscribers")),class:"w-min mn-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.organization.socials).some(a=>a)?(e.openBlock(),e.createElementBlock("h4",p," Find us in socials ")):e.createCommentVNode("",!0),e.createVNode(k.default,{telegram:t.organization.socials.telegram,facebook:t.organization.socials.facebook,instagram:t.organization.socials.instagram,twitter:t.organization.socials.twitter},null,8,["telegram","facebook","instagram","twitter"])])]),_:1}))}};exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Dropdown/Dropdown.vue.cjs"),m=require("../../../../components/Text/Text.vue.cjs"),g=require("../../../icons/navigation/IconEdit.vue.cjs"),b=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),s=require("../elements/ButtonToggleMembership.vue.cjs"),k=require("../blocks/Socials.vue.cjs"),f=require("../../../reports/components/sections/FormReport.vue.cjs"),h=require("../../store/organizations.cjs"),z=require("../../store/memberships.cjs"),B={class:"t-center flex-center flex-column flex pd-medium radius-big bg-grey"},w={class:"bg-black pd-thin radius-small"},x=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),y=["src"],E={class:"mn-b-thin"},V={class:"mn-b-medium p-big"},N={class:"flex-center flex-wrap gap-thin flex mn-b-semi"},q={class:"pd-thin radius-small t-semi uppercase t-black bg-main p-medium"},S={class:"t-semi mn-b-small"},p={key:5,class:"mn-t-small mn-b-thin"},v={__name:"DetailsTab",props:{organization:Object,user:Object},setup(t){const n=u.useRoute(),r=({membership:i,status:o,target:a},l,c)=>{z.mutations.handleMembershipUpdate(h.state.current,i,o,a,l,c)};return(i,o)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createElementVNode("section",B,[t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(d.default,{key:0,label:"...",align:"right",class:"cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",w,[e.createVNode(f.default,{user:t.user._id,type:"organization",target:t.organization._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[x]),_:1},8,["user","target"]),t.user._id&&t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(s.default,{key:0,user:t.user._id,type:"organization",role:"blocked",target:t.organization._id,status:t.organization.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:o[0]||(o[0]=a=>r(a,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),t.user._id===t.organization.owner?(e.openBlock(),e.createBlock(g.default,{key:1,onClick:o[1]||(o[1]=a=>i.$router.push({name:"Organization Edit",params:{_id:t.organization._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.organization.profile.photo?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.organization.profile.photo,class:"radius-big bg-grey flex-center flex mn-b-small i-extra"},null,8,y)):(e.openBlock(),e.createBlock(b.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h1",E,e.toDisplayString(t.organization.profile.name),1),e.createElementVNode("p",V,[e.createVNode(m.default,{text:t.organization.profile.description?t.organization.profile.description:"",maxLen:240},null,8,["text"])]),e.createElementVNode("div",N,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.organization.profile.tags,a=>(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString(a),1))),256))]),e.createElementVNode("p",S," 👨‍👨‍👧‍👧 "+e.toDisplayString(t.organization.numberOfSubscribers)+" followers ",1),t.user._id&&e.unref(n).params._id&&e.unref(n).params._id!==t.user._id&&t.organization.owner!==t.user._id?(e.openBlock(),e.createBlock(s.default,{key:4,user:t.user._id,type:"organization",role:"subscriber",target:t.organization._id,status:t.organization.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:o[2]||(o[2]=a=>r(a,"isSubscriber","numberOfSubscribers")),class:"w-min mn-b-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.organization.socials).some(a=>a)?(e.openBlock(),e.createElementBlock("h4",p," Find us in socials ")):e.createCommentVNode("",!0),e.createVNode(k.default,{telegram:t.organization.socials.telegram,facebook:t.organization.socials.facebook,instagram:t.organization.socials.instagram,twitter:t.organization.socials.twitter},null,8,["telegram","facebook","instagram","twitter"])])]),_:1}))}};exports.default=v;
@@ -1,6 +1,6 @@
1
1
  import { openBlock as i, createBlock as n, Transition as k, withCtx as m, createElementVNode as r, createVNode as u, createCommentVNode as o, createElementBlock as l, toDisplayString as c, Fragment as w, renderList as x, unref as b } from "vue";
2
2
  import { useRoute as y } from "vue-router";
3
- import U from "../../../../components/Dropdown/Dropdown.vue2.js";
3
+ import U from "../../../../components/Dropdown/Dropdown.vue.js";
4
4
  import p from "../../../../components/Text/Text.vue.js";
5
5
  import E from "../../../icons/navigation/IconEdit.vue.js";
6
6
  import B from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
@@ -9,9 +9,9 @@ import O from "../blocks/Socials.vue.js";
9
9
  import R from "../../../reports/components/sections/FormReport.vue.js";
10
10
  import { state as S } from "../../store/organizations.js";
11
11
  import { mutations as $ } from "../../store/memberships.js";
12
- const v = { class: "t-center flex-center flex-column flex pd-medium radius-big bg-grey" }, F = { class: "bg-black pd-thin radius-small" }, L = /* @__PURE__ */ r("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), M = ["src"], V = { class: "mn-thin" }, j = { class: "mn-medium p-big" }, C = { class: "flex-center flex-wrap gap-thin flex mn-semi" }, D = { class: "pd-thin radius-small t-semi uppercase t-black bg-main p-medium" }, N = { class: "t-semi mn-small" }, I = {
12
+ const v = { class: "t-center flex-center flex-column flex pd-medium radius-big bg-grey" }, F = { class: "bg-black pd-thin radius-small" }, L = /* @__PURE__ */ r("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), M = ["src"], V = { class: "mn-b-thin" }, j = { class: "mn-b-medium p-big" }, C = { class: "flex-center flex-wrap gap-thin flex mn-b-semi" }, D = { class: "pd-thin radius-small t-semi uppercase t-black bg-main p-medium" }, N = { class: "t-semi mn-b-small" }, I = {
13
13
  key: 5,
14
- class: "mn-t-small mn-thin"
14
+ class: "mn-t-small mn-b-thin"
15
15
  }, Y = {
16
16
  __name: "DetailsTab",
17
17
  props: {
@@ -73,10 +73,10 @@ const v = { class: "t-center flex-center flex-column flex pd-medium radius-big b
73
73
  e.organization.profile.photo ? (i(), l("img", {
74
74
  key: 2,
75
75
  src: (s.FILE_SERVER_URL || "") + e.organization.profile.photo,
76
- class: "radius-big bg-grey flex-center flex mn-small i-extra"
76
+ class: "radius-big bg-grey flex-center flex mn-b-small i-extra"
77
77
  }, null, 8, M)) : (i(), n(B, {
78
78
  key: 3,
79
- class: "radius-medium mn-small i-extra"
79
+ class: "radius-medium mn-b-small i-extra"
80
80
  })),
81
81
  r("h1", V, c(e.organization.profile.name), 1),
82
82
  r("p", j, [
@@ -98,7 +98,7 @@ const v = { class: "t-center flex-center flex-column flex pd-medium radius-big b
98
98
  status: e.organization.isSubscriber,
99
99
  text: { create: "Follow", remove: "Unfollow" },
100
100
  onUpdateMembership: a[2] || (a[2] = (t) => g(t, "isSubscriber", "numberOfSubscribers")),
101
- class: "w-min mn-medium mn-r-auto mn-l-auto"
101
+ class: "w-min mn-b-medium mn-r-auto mn-l-auto"
102
102
  }, null, 8, ["user", "target", "status"])) : o("", !0),
103
103
  Object.values(e.organization.socials).some((t) => t) ? (i(), l("h4", I, " Find us in socials ")) : o("", !0),
104
104
  u(O, {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),m=require("../../../../components/Field/Field.vue2.cjs");require("vue-i18n");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue.cjs");require("./Documents.vue2.cjs");const v=o=>(e.pushScopeId("data-v-20739d92"),o=o(),e.popScopeId(),o),f={class:"documents"},h=v(()=>e.createElementVNode("h3",{class:"mn-small"},"Список документов",-1)),k={class:"mn-big cols-4"},y=["onClick"],E={class:"mn-small"},B={class:"t-semi t-transp radius-small"},b={__name:"Documents",setup(o){r.useRouter(),r.useRoute();let l=[{name:"Паспорт",status:"Не добавлен",inputs:[{type:"text",name:"Номер и серия"},{type:"text",name:"Место выдачи"},{type:"text",name:"Дата выдачи"}]},{name:"ИНН",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"СНИЛС",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"Военный билет",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]}];const s=e.ref(!1),a=e.ref(null),p=u=>{a.value=u,s.value=!0},c=()=>{s.value=!1},i=()=>{c()};return e.watchEffect(()=>{}),(u,x)=>{const d=e.resolveComponent("Popup");return e.openBlock(),e.createElementBlock("div",f,[h,e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(t,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,onClick:P=>p(n),class:"h-100 pd-medium bg-white radius-small"},[e.createElementVNode("h3",E,e.toDisplayString(t.name),1),e.createElementVNode("p",B,e.toDisplayString(t.status),1)],8,y))),128))]),e.createVNode(d,{title:"Добавить документ",onClosePopup:c,isPopupOpen:s.value},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l)[a.value].inputs,t=>(e.openBlock(),e.createElementBlock("div",{key:t.name},[e.createVNode(m.default,{field:t.value,"onUpdate:field":n=>t.value=n,label:t.name,_id:t.name,placeholder:t.name,class:"w-100"},null,8,["field","onUpdate:field","label","_id","placeholder"])]))),128)),e.createElementVNode("button",{onClick:i,class:"w-100 mn-small button"},"Отправить на верификацию")]),_:1},8,["isPopupOpen"])])}}},g=_.default(b,[["__scopeId","data-v-20739d92"]]);exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("vue-router"),m=require("../../../../components/Field/Field.vue2.cjs");require("vue-i18n");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue2.cjs");require("./Documents.vue2.cjs");const f=o=>(e.pushScopeId("data-v-f93fcad7"),o=o(),e.popScopeId(),o),v={class:"documents"},h=f(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Список документов",-1)),k={class:"mn-b-big cols-4"},b=["onClick"],y={class:"mn-b-small"},E={class:"t-semi t-transp radius-small"},B={__name:"Documents",setup(o){r.useRouter(),r.useRoute();let l=[{name:"Паспорт",status:"Не добавлен",inputs:[{type:"text",name:"Номер и серия"},{type:"text",name:"Место выдачи"},{type:"text",name:"Дата выдачи"}]},{name:"ИНН",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"СНИЛС",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]},{name:"Военный билет",status:"Не добавлен",inputs:[{type:"text",name:"Дата регистрации"}]}];const s=e.ref(!1),a=e.ref(null),p=u=>{a.value=u,s.value=!0},c=()=>{s.value=!1},i=()=>{c()};return e.watchEffect(()=>{}),(u,x)=>{const d=e.resolveComponent("Popup");return e.openBlock(),e.createElementBlock("div",v,[h,e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l),(t,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,onClick:P=>p(n),class:"h-100 pd-medium bg-white radius-small"},[e.createElementVNode("h3",y,e.toDisplayString(t.name),1),e.createElementVNode("p",E,e.toDisplayString(t.status),1)],8,b))),128))]),e.createVNode(d,{title:"Добавить документ",onClosePopup:c,isPopupOpen:s.value},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(l)[a.value].inputs,t=>(e.openBlock(),e.createElementBlock("div",{key:t.name},[e.createVNode(m.default,{field:t.value,"onUpdate:field":n=>t.value=n,label:t.name,_id:t.name,placeholder:t.name,class:"w-100"},null,8,["field","onUpdate:field","label","_id","placeholder"])]))),128)),e.createElementVNode("button",{onClick:i,class:"w-100 mn-b-small button"},"Отправить на верификацию")]),_:1},8,["isPopupOpen"])])}}},g=_.default(B,[["__scopeId","data-v-f93fcad7"]]);exports.default=g;
@@ -1,14 +1,14 @@
1
- import { ref as r, watchEffect as P, resolveComponent as b, openBlock as t, createElementBlock as s, createElementVNode as o, Fragment as i, renderList as d, unref as _, toDisplayString as f, createVNode as h, withCtx as k, pushScopeId as w, popScopeId as C } from "vue";
1
+ import { ref as r, watchEffect as y, resolveComponent as P, openBlock as t, createElementBlock as s, createElementVNode as o, Fragment as i, renderList as d, unref as _, toDisplayString as f, createVNode as h, withCtx as k, pushScopeId as w, popScopeId as C } from "vue";
2
2
  import { useRouter as I, useRoute as g } from "vue-router";
3
3
  import D from "../../../../components/Field/Field.vue2.js";
4
4
  import "vue-i18n";
5
5
  import S from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
6
  import "../../../../components/Popup/Popup.vue2.js";
7
- import "../../../../components/Button/Button.vue.js";
7
+ import "../../../../components/Button/Button.vue2.js";
8
8
  import "./Documents.vue2.js";
9
- const E = (n) => (w("data-v-20739d92"), n = n(), C(), n), B = { class: "documents" }, F = /* @__PURE__ */ E(() => /* @__PURE__ */ o("h3", { class: "mn-small" }, "Список документов", -1)), N = { class: "mn-big cols-4" }, O = ["onClick"], R = { class: "mn-small" }, U = { class: "t-semi t-transp radius-small" }, V = {
9
+ const E = (a) => (w("data-v-f93fcad7"), a = a(), C(), a), B = { class: "documents" }, F = /* @__PURE__ */ E(() => /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Список документов", -1)), N = { class: "mn-b-big cols-4" }, O = ["onClick"], R = { class: "mn-b-small" }, U = { class: "t-semi t-transp radius-small" }, V = {
10
10
  __name: "Documents",
11
- setup(n) {
11
+ setup(a) {
12
12
  I(), g();
13
13
  let p = [{
14
14
  name: "Паспорт",
@@ -49,25 +49,25 @@ const E = (n) => (w("data-v-20739d92"), n = n(), C(), n), B = { class: "document
49
49
  c.value = u, l.value = !0;
50
50
  }, m = () => {
51
51
  l.value = !1;
52
- }, x = () => {
52
+ }, b = () => {
53
53
  m();
54
54
  };
55
- return P(() => {
55
+ return y(() => {
56
56
  }), (u, L) => {
57
- const y = b("Popup");
57
+ const x = P("Popup");
58
58
  return t(), s("div", B, [
59
59
  F,
60
60
  o("div", N, [
61
- (t(!0), s(i, null, d(_(p), (e, a) => (t(), s("div", {
62
- key: a,
63
- onClick: ($) => v(a),
61
+ (t(!0), s(i, null, d(_(p), (e, n) => (t(), s("div", {
62
+ key: n,
63
+ onClick: ($) => v(n),
64
64
  class: "h-100 pd-medium bg-white radius-small"
65
65
  }, [
66
66
  o("h3", R, f(e.name), 1),
67
67
  o("p", U, f(e.status), 1)
68
68
  ], 8, O))), 128))
69
69
  ]),
70
- h(y, {
70
+ h(x, {
71
71
  title: "Добавить документ",
72
72
  onClosePopup: m,
73
73
  isPopupOpen: l.value
@@ -78,7 +78,7 @@ const E = (n) => (w("data-v-20739d92"), n = n(), C(), n), B = { class: "document
78
78
  }, [
79
79
  h(D, {
80
80
  field: e.value,
81
- "onUpdate:field": (a) => e.value = a,
81
+ "onUpdate:field": (n) => e.value = n,
82
82
  label: e.name,
83
83
  _id: e.name,
84
84
  placeholder: e.name,
@@ -86,8 +86,8 @@ const E = (n) => (w("data-v-20739d92"), n = n(), C(), n), B = { class: "document
86
86
  }, null, 8, ["field", "onUpdate:field", "label", "_id", "placeholder"])
87
87
  ]))), 128)),
88
88
  o("button", {
89
- onClick: x,
90
- class: "w-100 mn-small button"
89
+ onClick: b,
90
+ class: "w-100 mn-b-small button"
91
91
  }, "Отправить на верификацию")
92
92
  ]),
93
93
  _: 1
@@ -95,7 +95,7 @@ const E = (n) => (w("data-v-20739d92"), n = n(), C(), n), B = { class: "document
95
95
  ]);
96
96
  };
97
97
  }
98
- }, M = /* @__PURE__ */ S(V, [["__scopeId", "data-v-20739d92"]]);
98
+ }, M = /* @__PURE__ */ S(V, [["__scopeId", "data-v-f93fcad7"]]);
99
99
  export {
100
100
  M as default
101
101
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const m=require("../../../../components/EmptyState/EmptyState.vue.cjs"),p=require("../blocks/CardOrganization.vue.cjs"),b=require("../../../icons/skeletons/SkeletonOrganization.vue.cjs"),c=require("../../store/organizations.cjs"),f={class:"pos-relative"},y={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},member:{type:[String,Number],default:null},subscriber:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},participant:{type:String,default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(i){const t=i,r=e.ref([]),n=e.ref(!1),l=e.ref(!0),s=e.ref(0),u=e.ref(20),d=async()=>{if(n.value){s.value+=u.value;const a=await c.actions.read({skip:s.value,limit:u.value,category:t.category,sortOrder:t.sortOrder,member:t.member,subscriber:t.subscriber,onlyuser:t.onlyuser,user:t.user,date:t.selectedDate,owner:t.owner,organization:t.organization,period:t.period,status:t.status});a.length===0?n.value=!1:n.value=!0,r.value=[...r.value,...a]}};return e.onMounted(async()=>{l.value=!0,console.log(t.selectedDate);const a=await c.actions.read({skip:s.value,limit:u.value,category:t.category,member:t.member,subscriber:t.subscriber,onlyuser:t.onlyuser,sortOrder:t.sortOrder,user:t.user,owner:t.owner,date:t.selectedDate,organization:t.organization,period:t.period,status:t.status});a.length===0?n.value=!1:n.value=!0,r.value=a,l.value=!1}),(a,v)=>(e.openBlock(),e.createElementBlock("section",f,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[l.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,o=>(e.openBlock(),e.createBlock(b.default,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!l.value&&r.value.length<1?(e.openBlock(),e.createBlock(m.default,{key:0,title:"No Organizations Found",description:"Currently, there are no organizations available. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"cols-1"},{default:e.withCtx(()=>[!l.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(o,g)=>(e.openBlock(),e.createBlock(p.default,{onClick:k=>a.$router.push({name:"Organization",params:{_id:o._id}}),key:o._id,organization:o,user:i.user,type:"normal",class:e.normalizeClass(["w-100 radius-big mn-medium",{"br-b br-solid br-black-transp-10":g!==r.value.length-1}])},null,8,["onClick","organization","user","class"]))),128)):e.createCommentVNode("",!0),n.value&&r.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const m=require("../../../../components/EmptyState/EmptyState.vue.cjs"),p=require("../blocks/CardOrganization.vue.cjs"),b=require("../../../icons/skeletons/SkeletonOrganization.vue.cjs"),c=require("../../store/organizations.cjs"),f={class:"pos-relative"},y={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},member:{type:[String,Number],default:null},subscriber:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},participant:{type:String,default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(i){const t=i,r=e.ref([]),n=e.ref(!1),l=e.ref(!0),s=e.ref(0),u=e.ref(20),d=async()=>{if(n.value){s.value+=u.value;const a=await c.actions.read({skip:s.value,limit:u.value,category:t.category,sortOrder:t.sortOrder,member:t.member,subscriber:t.subscriber,onlyuser:t.onlyuser,user:t.user,date:t.selectedDate,owner:t.owner,organization:t.organization,period:t.period,status:t.status});a.length===0?n.value=!1:n.value=!0,r.value=[...r.value,...a]}};return e.onMounted(async()=>{l.value=!0,console.log(t.selectedDate);const a=await c.actions.read({skip:s.value,limit:u.value,category:t.category,member:t.member,subscriber:t.subscriber,onlyuser:t.onlyuser,sortOrder:t.sortOrder,user:t.user,owner:t.owner,date:t.selectedDate,organization:t.organization,period:t.period,status:t.status});a.length===0?n.value=!1:n.value=!0,r.value=a,l.value=!1}),(a,v)=>(e.openBlock(),e.createElementBlock("section",f,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[l.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,o=>(e.openBlock(),e.createBlock(b.default,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!l.value&&r.value.length<1?(e.openBlock(),e.createBlock(m.default,{key:0,title:"No Organizations Found",description:"Currently, there are no organizations available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"cols-1"},{default:e.withCtx(()=>[!l.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(o,g)=>(e.openBlock(),e.createBlock(p.default,{onClick:k=>a.$router.push({name:"Organization",params:{_id:o._id}}),key:o._id,organization:o,user:i.user,type:"normal",class:e.normalizeClass(["w-100 radius-big mn-b-medium",{"br-b br-solid br-black-transp-10":g!==r.value.length-1}])},null,8,["onClick","organization","user","class"]))),128)):e.createCommentVNode("",!0),n.value&&r.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=y;