@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");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const h=require("../../../../components/Dropdown/Dropdown.vue2.cjs"),d=require("../../../mobile/components/Menu/Menu.vue2.cjs"),l=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),p=require("../../../organizations/components/elements/ButtonToggleMembership.vue.cjs"),g=require("../../../reports/components/sections/FormReport.vue.cjs"),b=require("../../../organizations/components/blocks/Socials.vue.cjs"),N=require("../sections/ProfileCompletion.vue.cjs"),V=require("../../../icons/entities/IconEvents.vue.cjs"),B=require("../../../icons/entities/IconGroups.vue.cjs"),w=require("../../../icons/entities/IconCommunity.vue.cjs"),E=require("../../../icons/navigation/IconEdit.vue.cjs"),C=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),f=require("vue-router"),a=require("../../../auth/store/auth.cjs"),t=require("../../store/users.cjs"),y=require("../../../organizations/store/memberships.cjs");require("./Profile.vue2.cjs");const v={key:0,class:"for-transition w-100"},x={key:0,class:"flex-center flex pd-medium radius-big bg-grey uppercase t-semi w-100 h-100"},q={key:1,_id:"dash",class:"pd-b-extra pd-thin w-100"},S={class:"flex-center flex flex-column t-center w-100 mn-semi radius-medium pd-medium bg-grey"},M={class:"bg-black pd-thin radius-small"},R=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),U=["src"],D={class:"mn-thin"},O={class:"mn-thin t-main t-semi"},$={class:"mn-small p-medium"},I={class:"mn-medium flex-center flex-nowrap flex"},L={class:"t-semi mn-small"},P={key:5,class:"mn-t-small mn-thin"},F=e.createElementVNode("span",null," Backoffice ",-1),j=e.createElementVNode("span",null,"Events",-1),A=e.createElementVNode("span",null,"Groups",-1),T=e.createElementVNode("span",null,"Posts",-1),z=e.createElementVNode("span",null," Settings ",-1),G=e.createElementVNode("span",null," About ",-1),H=e.createElementVNode("span",{class:"t-red"}," Logout ",-1),J={__name:"Profile",setup(K){const o=f.useRoute(),n=f.useRouter(),u=e.ref(!1);e.onMounted(async()=>{await t.actions.read({_id:o.params._id,user:a.state.user._id}),u.value=!0});const m=({membership:i,status:r,target:s},c,k)=>{y.mutations.handleMembershipUpdate(t.state.current,i,r,s,c,k)};function _(){a.actions.logout(),n.push({name:"Sign In"})}return(i,r)=>u.value?(e.openBlock(),e.createElementBlock("div",v,[t.state.current.status==="removed"?(e.openBlock(),e.createElementBlock("div",x," Sorry, user has been removed. ")):(e.openBlock(),e.createElementBlock("div",q,[e.unref(o).params._id===a.state.user._id&&u.value?(e.openBlock(),e.createBlock(N.default,{key:0,user:a.state.user._id,target:t.state.current,cta:!0},null,8,["user","target"])):e.createCommentVNode("",!0),e.createElementVNode("section",S,[e.unref(o).params._id&&e.unref(o).params._id!==a.state.user._id?(e.openBlock(),e.createBlock(h.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",M,[e.createVNode(g.default,{user:a.state.user._id,type:"user",target:t.state.current._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[R]),_:1},8,["user","target"]),a.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:0,user:a.state.user._id,type:"user",role:"blocked",target:t.state.current._id,status:t.state.current.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:r[0]||(r[0]=s=>m(s,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),e.unref(o).params._id===a.state.user._id?(e.openBlock(),e.createBlock(E.default,{key:1,onClick:r[1]||(r[1]=s=>i.$router.push({name:"User Edit Profile",params:{_id:a.state.user._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.state.current.profile.photo.length>0?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.state.current.profile.photo,class:"radius-extra bg-white mn-small object-fit-cover i-extra"},null,8,U)):(e.openBlock(),e.createBlock(C.default,{key:3,class:"radius-medium mn-small i-extra"})),e.createElementVNode("h3",D,e.toDisplayString(t.state.current.profile.name?t.state.current.profile.name:"Not specified"),1),e.createElementVNode("p",O," @"+e.toDisplayString(t.state.current.username?t.state.current.username:"Not specified"),1),e.createElementVNode("p",$,e.toDisplayString(t.state.current.profile.description?t.state.current.profile.description:"Not specified"),1),e.createElementVNode("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.roles,(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-white",{"mn-r-thin":c!==t.state.current.roles.length-1}])},e.toDisplayString(s.icon)+" "+e.toDisplayString(s.name),3))),256))]),e.createElementVNode("p",L," 👨‍👨‍👧‍👧 "+e.toDisplayString(t.state.current.numberOfSubscribers)+" followers ",1),a.state.user._id&&e.unref(o).params._id&&e.unref(o).params._id!==a.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:4,user:a.state.user._id,type:"user",role:"subscriber",target:t.state.current._id,status:t.state.current.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:r[2]||(r[2]=s=>m(s,"isSubscriber","numberOfSubscribers")),class:"w-min mn-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.state.current.socials).some(s=>s)?(e.openBlock(),e.createElementBlock("h4",P," Find Me in Socials ")):e.createCommentVNode("",!0),e.createVNode(b.default,{telegram:t.state.current.socials.telegram,facebook:t.state.current.socials.facebook,instagram:t.state.current.socials.instagram,twitter:t.state.current.socials.twitter,class:"mn-r-auto mn-l-auto"},null,8,["telegram","facebook","instagram","twitter"])]),a.state.access.roles&&a.state.user._id===e.unref(o).params._id&&(a.state.access.roles.includes("ROLE_MODERATOR")||a.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(d.default,{key:1,class:"mn-regular bg-black t-white"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[3]||(r[3]=s=>e.unref(n).push({name:"Backoffice",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer",theme:"white"},{default:e.withCtx(()=>[F]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(d.default,{class:"mn-regular bg-grey"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[4]||(r[4]=s=>e.unref(n).push({name:"User Events",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(V.default,{class:"i-semi",icon:!0}),j]),_:1}),e.createVNode(l.default,{onClick:r[5]||(r[5]=s=>e.unref(n).push({name:"User Organizations",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(B.default,{class:"i-semi",icon:!0}),A]),_:1}),e.createVNode(l.default,{onClick:r[6]||(r[6]=s=>e.unref(n).push({name:"User Blogposts",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(w.default,{class:"i-semi",icon:!0}),T]),_:1})]),_:1}),a.state.user._id===e.unref(o).params._id?(e.openBlock(),e.createBlock(d.default,{key:2,class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[7]||(r[7]=s=>e.unref(n).push({name:"User Edit Profile",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[z]),_:1}),e.createVNode(l.default,{onClick:r[8]||(r[8]=s=>e.unref(n).push({name:"Legal",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[G]),_:1}),e.createVNode(l.default,{class:"cursor-pointer",onClick:r[9]||(r[9]=s=>_())},{default:e.withCtx(()=>[H]),_:1})]),_:1})):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}};exports.default=J;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue2.cjs");const k=require("../../../../components/Dropdown/Dropdown.vue.cjs"),d=require("../../../mobile/components/Menu/Menu.vue.cjs"),l=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),p=require("../../../organizations/components/elements/ButtonToggleMembership.vue.cjs"),h=require("../../../reports/components/sections/FormReport.vue.cjs"),g=require("../../../organizations/components/blocks/Socials.vue.cjs"),N=require("../sections/ProfileCompletion.vue.cjs"),V=require("../../../icons/entities/IconEvents.vue.cjs"),B=require("../../../icons/entities/IconGroups.vue.cjs"),w=require("../../../icons/entities/IconCommunity.vue.cjs"),E=require("../../../icons/navigation/IconEdit.vue.cjs"),C=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),f=require("vue-router"),a=require("../../../auth/store/auth.cjs"),t=require("../../store/users.cjs"),y=require("../../../organizations/store/memberships.cjs");require("./Profile.vue2.cjs");const v={key:0,class:"for-transition w-100"},x={key:0,class:"flex-center flex pd-medium radius-big bg-grey uppercase t-semi w-100 h-100"},q={key:1,_id:"dash",class:"pd-b-extra pd-thin w-100"},S={class:"flex-center flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-grey"},M={class:"bg-black pd-thin radius-small"},R=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),U=["src"],D={class:"mn-b-thin"},O={class:"mn-b-thin t-main t-semi"},$={class:"mn-b-small p-medium"},I={class:"mn-b-medium flex-center flex-nowrap flex"},L={class:"t-semi mn-b-small"},P={key:5,class:"mn-t-small mn-b-thin"},F=e.createElementVNode("span",null," Backoffice ",-1),j=e.createElementVNode("span",null,"Events",-1),A=e.createElementVNode("span",null,"Groups",-1),T=e.createElementVNode("span",null,"Posts",-1),z=e.createElementVNode("span",null," Settings ",-1),G=e.createElementVNode("span",null," About ",-1),H=e.createElementVNode("span",{class:"t-red"}," Logout ",-1),J={__name:"Profile",setup(K){const o=f.useRoute(),n=f.useRouter(),u=e.ref(!1);e.onMounted(async()=>{await t.actions.read({_id:o.params._id,user:a.state.user._id}),u.value=!0});const m=({membership:i,status:r,target:s},c,b)=>{y.mutations.handleMembershipUpdate(t.state.current,i,r,s,c,b)};function _(){a.actions.logout(),n.push({name:"Sign In"})}return(i,r)=>u.value?(e.openBlock(),e.createElementBlock("div",v,[t.state.current.status==="removed"?(e.openBlock(),e.createElementBlock("div",x," Sorry, user has been removed. ")):(e.openBlock(),e.createElementBlock("div",q,[e.unref(o).params._id===a.state.user._id&&u.value?(e.openBlock(),e.createBlock(N.default,{key:0,user:a.state.user._id,target:t.state.current,cta:!0},null,8,["user","target"])):e.createCommentVNode("",!0),e.createElementVNode("section",S,[e.unref(o).params._id&&e.unref(o).params._id!==a.state.user._id?(e.openBlock(),e.createBlock(k.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",M,[e.createVNode(h.default,{user:a.state.user._id,type:"user",target:t.state.current._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[R]),_:1},8,["user","target"]),a.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:0,user:a.state.user._id,type:"user",role:"blocked",target:t.state.current._id,status:t.state.current.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:r[0]||(r[0]=s=>m(s,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),e.unref(o).params._id===a.state.user._id?(e.openBlock(),e.createBlock(E.default,{key:1,onClick:r[1]||(r[1]=s=>i.$router.push({name:"User Edit Profile",params:{_id:a.state.user._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.state.current.profile.photo.length>0?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.state.current.profile.photo,class:"radius-extra bg-white mn-b-small object-fit-cover i-extra"},null,8,U)):(e.openBlock(),e.createBlock(C.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h3",D,e.toDisplayString(t.state.current.profile.name?t.state.current.profile.name:"Not specified"),1),e.createElementVNode("p",O," @"+e.toDisplayString(t.state.current.username?t.state.current.username:"Not specified"),1),e.createElementVNode("p",$,e.toDisplayString(t.state.current.profile.description?t.state.current.profile.description:"Not specified"),1),e.createElementVNode("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.roles,(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-white",{"mn-r-thin":c!==t.state.current.roles.length-1}])},e.toDisplayString(s.icon)+" "+e.toDisplayString(s.name),3))),256))]),e.createElementVNode("p",L," 👨‍👨‍👧‍👧 "+e.toDisplayString(t.state.current.numberOfSubscribers)+" followers ",1),a.state.user._id&&e.unref(o).params._id&&e.unref(o).params._id!==a.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:4,user:a.state.user._id,type:"user",role:"subscriber",target:t.state.current._id,status:t.state.current.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:r[2]||(r[2]=s=>m(s,"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.state.current.socials).some(s=>s)?(e.openBlock(),e.createElementBlock("h4",P," Find Me in Socials ")):e.createCommentVNode("",!0),e.createVNode(g.default,{telegram:t.state.current.socials.telegram,facebook:t.state.current.socials.facebook,instagram:t.state.current.socials.instagram,twitter:t.state.current.socials.twitter,class:"mn-r-auto mn-l-auto"},null,8,["telegram","facebook","instagram","twitter"])]),a.state.access.roles&&a.state.user._id===e.unref(o).params._id&&(a.state.access.roles.includes("ROLE_MODERATOR")||a.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(d.default,{key:1,class:"mn-b-regular bg-black t-white"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[3]||(r[3]=s=>e.unref(n).push({name:"Backoffice",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer",theme:"white"},{default:e.withCtx(()=>[F]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(d.default,{class:"mn-b-regular bg-grey"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[4]||(r[4]=s=>e.unref(n).push({name:"User Events",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(V.default,{class:"i-semi",icon:!0}),j]),_:1}),e.createVNode(l.default,{onClick:r[5]||(r[5]=s=>e.unref(n).push({name:"User Organizations",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(B.default,{class:"i-semi",icon:!0}),A]),_:1}),e.createVNode(l.default,{onClick:r[6]||(r[6]=s=>e.unref(n).push({name:"User Blogposts",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(w.default,{class:"i-semi",icon:!0}),T]),_:1})]),_:1}),a.state.user._id===e.unref(o).params._id?(e.openBlock(),e.createBlock(d.default,{key:2,class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[7]||(r[7]=s=>e.unref(n).push({name:"User Edit Profile",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[z]),_:1}),e.createVNode(l.default,{onClick:r[8]||(r[8]=s=>e.unref(n).push({name:"Legal",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[G]),_:1}),e.createVNode(l.default,{class:"cursor-pointer",onClick:r[9]||(r[9]=s=>_())},{default:e.withCtx(()=>[H]),_:1})]),_:1})):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}};exports.default=J;
@@ -1,8 +1,8 @@
1
1
  import { ref as $, onMounted as E, openBlock as a, createElementBlock as p, unref as r, createBlock as c, createCommentVNode as m, createElementVNode as n, withCtx as u, createVNode as l, toDisplayString as f, Fragment as U, renderList as C, normalizeClass as R } from "vue";
2
2
  import "../../../../components/Field/Field.vue.js";
3
- import "../../../../components/Button/Button.vue.js";
4
- import S from "../../../../components/Dropdown/Dropdown.vue2.js";
5
- import k from "../../../mobile/components/Menu/Menu.vue2.js";
3
+ import "../../../../components/Button/Button.vue2.js";
4
+ import S from "../../../../components/Dropdown/Dropdown.vue.js";
5
+ import k from "../../../mobile/components/Menu/Menu.vue.js";
6
6
  import _ from "../../../mobile/components/Menu/MenuItem.vue.js";
7
7
  import w from "../../../organizations/components/elements/ButtonToggleMembership.vue.js";
8
8
  import B from "../../../reports/components/sections/FormReport.vue.js";
@@ -28,9 +28,9 @@ const G = {
28
28
  key: 1,
29
29
  _id: "dash",
30
30
  class: "pd-b-extra pd-thin w-100"
31
- }, H = { class: "flex-center flex flex-column t-center w-100 mn-semi radius-medium pd-medium bg-grey" }, J = { class: "bg-black pd-thin radius-small" }, K = /* @__PURE__ */ n("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), Q = ["src"], W = { class: "mn-thin" }, X = { class: "mn-thin t-main t-semi" }, Y = { class: "mn-small p-medium" }, Z = { class: "mn-medium flex-center flex-nowrap flex" }, ee = { class: "t-semi mn-small" }, se = {
31
+ }, H = { class: "flex-center flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-grey" }, J = { class: "bg-black pd-thin radius-small" }, K = /* @__PURE__ */ n("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), Q = ["src"], W = { class: "mn-b-thin" }, X = { class: "mn-b-thin t-main t-semi" }, Y = { class: "mn-b-small p-medium" }, Z = { class: "mn-b-medium flex-center flex-nowrap flex" }, ee = { class: "t-semi mn-b-small" }, se = {
32
32
  key: 5,
33
- class: "mn-t-small mn-thin"
33
+ class: "mn-t-small mn-b-thin"
34
34
  }, re = /* @__PURE__ */ n("span", null, " Backoffice ", -1), te = /* @__PURE__ */ n("span", null, "Events", -1), ie = /* @__PURE__ */ n("span", null, "Groups", -1), oe = /* @__PURE__ */ n("span", null, "Posts", -1), ae = /* @__PURE__ */ n("span", null, " Settings ", -1), ne = /* @__PURE__ */ n("span", null, " About ", -1), le = /* @__PURE__ */ n("span", { class: "t-red" }, " Logout ", -1), Be = {
35
35
  __name: "Profile",
36
36
  setup(ue) {
@@ -101,10 +101,10 @@ const G = {
101
101
  e.current.profile.photo.length > 0 ? (a(), p("img", {
102
102
  key: 2,
103
103
  src: (b.FILE_SERVER_URL || "") + e.current.profile.photo,
104
- class: "radius-extra bg-white mn-small object-fit-cover i-extra"
104
+ class: "radius-extra bg-white mn-b-small object-fit-cover i-extra"
105
105
  }, null, 8, Q)) : (a(), c(D, {
106
106
  key: 3,
107
- class: "radius-medium mn-small i-extra"
107
+ class: "radius-medium mn-b-small i-extra"
108
108
  })),
109
109
  n("h3", W, f(e.current.profile.name ? e.current.profile.name : "Not specified"), 1),
110
110
  n("p", X, " @" + f(e.current.username ? e.current.username : "Not specified"), 1),
@@ -124,7 +124,7 @@ const G = {
124
124
  status: e.current.isSubscriber,
125
125
  text: { create: "Follow", remove: "Unfollow" },
126
126
  onUpdateMembership: s[2] || (s[2] = (t) => v(t, "isSubscriber", "numberOfSubscribers")),
127
- class: "w-min mn-medium mn-r-auto mn-l-auto"
127
+ class: "w-min mn-b-medium mn-r-auto mn-l-auto"
128
128
  }, null, 8, ["user", "target", "status"])) : m("", !0),
129
129
  Object.values(e.current.socials).some((t) => t) ? (a(), p("h4", se, " Find Me in Socials ")) : m("", !0),
130
130
  l(M, {
@@ -137,7 +137,7 @@ const G = {
137
137
  ]),
138
138
  i.access.roles && i.user._id === r(o).params._id && (i.access.roles.includes("ROLE_MODERATOR") || i.access.roles.includes("ROLE_ADMIN")) ? (a(), c(k, {
139
139
  key: 1,
140
- class: "mn-regular bg-black t-white"
140
+ class: "mn-b-regular bg-black t-white"
141
141
  }, {
142
142
  default: u(() => [
143
143
  l(_, {
@@ -158,7 +158,7 @@ const G = {
158
158
  ]),
159
159
  _: 1
160
160
  })) : m("", !0),
161
- l(k, { class: "mn-regular bg-grey" }, {
161
+ l(k, { class: "mn-b-regular bg-grey" }, {
162
162
  default: u(() => [
163
163
  l(_, {
164
164
  onClick: s[4] || (s[4] = (t) => r(d).push({ name: "User Events", params: { _id: r(o).params._id } })),
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),i=require("../../../../components/Tab/Tab.vue2.cjs"),u=require("../../../community/components/sections/Feed.vue.cjs"),o=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Posts",-1),_={__name:"ProfileBlogposts",setup(k){const t=n.useRoute(),c=n.useRouter();let d=t.query.tab?t.query.tab:"posts";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,a=>{c.replace({query:{...t.query,tab:a}})}),(a,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[f,o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=l=>a.$router.push({name:"Create BlogPost"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createBlock(i.default,{key:0,selected:r.value,"onUpdate:selected":s[1]||(s[1]=l=>r.value=l),tabs:[{name:"My posts",value:"posts"},{name:"Drafts",value:"drafts"},{name:"Following",value:"following"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"])):e.createCommentVNode("",!0),r.value==="posts"?(e.openBlock(),e.createBlock(u.default,{key:1,user:o.state.user._id,creator:e.unref(t).params._id},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="drafts"?(e.openBlock(),e.createBlock(u.default,{key:2,user:o.state.user._id,creator:e.unref(t).params._id,status:"draft"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="following"?(e.openBlock(),e.createBlock(u.default,{key:3,user:o.state.user._id,following:e.unref(t).params._id},null,8,["user","following"])):e.createCommentVNode("",!0)]))}};exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),i=require("../../../../components/Tab/Tab.vue2.cjs"),u=require("../../../community/components/sections/Feed.vue.cjs"),o=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-b-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Posts",-1),_={__name:"ProfileBlogposts",setup(k){const t=n.useRoute(),c=n.useRouter();let d=t.query.tab?t.query.tab:"posts";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,a=>{c.replace({query:{...t.query,tab:a}})}),(a,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[f,o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=l=>a.$router.push({name:"Create BlogPost"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createBlock(i.default,{key:0,selected:r.value,"onUpdate:selected":s[1]||(s[1]=l=>r.value=l),tabs:[{name:"My posts",value:"posts"},{name:"Drafts",value:"drafts"},{name:"Following",value:"following"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"])):e.createCommentVNode("",!0),r.value==="posts"?(e.openBlock(),e.createBlock(u.default,{key:1,user:o.state.user._id,creator:e.unref(t).params._id},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="drafts"?(e.openBlock(),e.createBlock(u.default,{key:2,user:o.state.user._id,creator:e.unref(t).params._id,status:"draft"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="following"?(e.openBlock(),e.createBlock(u.default,{key:3,user:o.state.user._id,following:e.unref(t).params._id},null,8,["user","following"])):e.createCommentVNode("",!0)]))}};exports.default=_;
@@ -1,15 +1,15 @@
1
- import { ref as _, watch as g, openBlock as t, createElementBlock as d, createElementVNode as c, unref as s, createCommentVNode as o, createBlock as l } from "vue";
2
- import { useRoute as v, useRouter as b } from "vue-router";
1
+ import { ref as _, watch as b, openBlock as t, createElementBlock as d, createElementVNode as c, unref as s, createCommentVNode as o, createBlock as l } from "vue";
2
+ import { useRoute as g, useRouter as v } from "vue-router";
3
3
  import y from "../../../../components/Tab/Tab.vue2.js";
4
4
  import i from "../../../community/components/sections/Feed.vue.js";
5
5
  import { state as a } from "../../../auth/store/auth.js";
6
- const h = { class: "pd-thin" }, k = { class: "mn-medium flex-v-center flex-nowrap flex" }, w = /* @__PURE__ */ c("h2", { class: "mn-r-medium" }, "Posts", -1), E = {
6
+ const h = { class: "pd-thin" }, k = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, w = /* @__PURE__ */ c("h2", { class: "mn-r-medium" }, "Posts", -1), E = {
7
7
  __name: "ProfileBlogposts",
8
8
  setup(q) {
9
- const e = v(), p = b();
9
+ const e = g(), p = v();
10
10
  let f = e.query.tab ? e.query.tab : "posts";
11
11
  const r = _(f);
12
- return e.query.tab = r.value, g(r, (n) => {
12
+ return e.query.tab = r.value, b(r, (n) => {
13
13
  p.replace({ query: { ...e.query, tab: n } });
14
14
  }), (n, u) => (t(), d("div", h, [
15
15
  c("header", k, [
@@ -31,7 +31,7 @@ const h = { class: "pd-thin" }, k = { class: "mn-medium flex-v-center flex-nowra
31
31
  { name: "Drafts", value: "drafts" },
32
32
  { name: "Following", value: "following" }
33
33
  ],
34
- class: "mn-small o-hidden h5 radius-big bg-grey"
34
+ class: "mn-b-small o-hidden h5 radius-big bg-grey"
35
35
  }, null, 8, ["selected"])) : o("", !0),
36
36
  r.value === "posts" ? (t(), l(i, {
37
37
  key: 1,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");require("../../../../components/Tab/Tab.vue.cjs");const i=require("../../../../components/Field/Field.vue2.cjs"),m=require("../../../../components/Button/Button.vue2.cjs"),b=require("../../../../components/UploadImage/UploadImage.vue.cjs"),g=require("../sections/ProfileCompletion.vue.cjs"),c=require("vue-router"),r=require("../../../auth/store/auth.cjs"),o=require("../../store/users.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("./ProfileEdit.vue2.cjs");const N={class:"pd-medium for-transition w-100"},V=e.createElementVNode("h3",{class:"mn-small"},"Username",-1),w=e.createElementVNode("p",{class:"mn-semi"},"Your username will be used for URL of profile like thecommunephuket/users/username",-1),y=e.createElementVNode("h3",{class:"mn-small"},"Profile",-1),_={class:"mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},U=e.createElementVNode("h4",null,"Upload userpic",-1),k=e.createElementVNode("h3",{class:"mn-small"},"Socials",-1),q=e.createElementVNode("p",{class:"mn-thin"},"Please provide only the username for social media profiles, without full links.",-1),E=e.createElementVNode("h3",{class:"mn-small"},"Account",-1),P={__name:"ProfileEdit",async setup(S){let n,d;e.ref(null);const f=c.useRoute(),u=c.useRouter();[n,d]=e.withAsyncContext(()=>o.actions.read({_id:r.state.user._id})),await n,d();const l=e.ref(o.state.current);async function p(){await o.actions.update(o.state.current)}async function h(){window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.")&&(o.state.current.status="removed",await o.actions.update(o.state.current),r.actions.logout())}function v(){u.replace({name:"User Profile",params:{_id:o.state.current._id}})}return(s,a)=>(e.openBlock(),e.createElementBlock("div",N,[e.unref(f).params._id===r.state.user._id?(e.openBlock(),e.createBlock(g.default,{key:0,user:r.state.user._id,target:l.value,cta:!1},null,8,["user","target"])):e.createCommentVNode("",!0),V,e.createVNode(i.default,{field:l.value.username,"onUpdate:field":a[0]||(a[0]=t=>l.value.username=t),label:"@",placeholder:"Not specified",class:"mn-thin w-100 bg-grey pd-medium radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),w,y,e.createElementVNode("div",_,[e.createVNode(b.default,{photo:l.value.profile.photo,"onUpdate:photo":a[1]||(a[1]=t=>l.value.profile.photo=t),uploadPath:"users/"+l.value._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden bg-white mn-thin radius-extra"},null,8,["photo","uploadPath"]),U]),e.createVNode(i.default,{field:l.value.profile.name,"onUpdate:field":a[2]||(a[2]=t=>l.value.profile.name=t),label:"Name",placeholder:"Not specified",class:"mn-thin bg-grey pd-medium radius-small",validation:s.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.profile.description,"onUpdate:field":a[3]||(a[3]=t=>l.value.profile.description=t),label:"Description",placeholder:"Not specified",class:"mn-semi bg-grey pd-medium radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),k,q,e.createVNode(i.default,{field:l.value.socials.instagram,"onUpdate:field":a[4]||(a[4]=t=>l.value.socials.instagram=t),label:"Instagram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.twitter,"onUpdate:field":a[5]||(a[5]=t=>l.value.socials.twitter=t),label:"Twitter",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.facebook,"onUpdate:field":a[6]||(a[6]=t=>l.value.socials.facebook=t),label:"Facebook",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.telegram,"onUpdate:field":a[7]||(a[7]=t=>l.value.socials.telegram=t),label:"Telegram",placeholder:"",class:"mn-semi bg-grey pd-medium radius-small"},null,8,["field"]),E,e.createVNode(i.default,{field:l.value.phone,"onUpdate:field":a[8]||(a[8]=t=>l.value.phone=t),label:"Phone",placeholder:"Not specified",class:"mn-thin bg-grey pd-medium mn-thin radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.email,"onUpdate:field":a[9]||(a[9]=t=>l.value.email=t),label:"Email",placeholder:"Not specified",class:"mn-semi bg-grey pd-medium radius-small",disabled:!0,validation:s.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{submit:p,callback:v,class:"mn-thin"},{default:e.withCtx(()=>[e.createTextVNode("Save")]),_:1}),e.createVNode(m.default,{submit:h,callback:s.a=()=>{e.unref(u).push({name:"Sign In"})},class:"mn-thin bg-red t-white"},{default:e.withCtx(()=>[e.createTextVNode("Delete Account")]),_:1},8,["callback"])]))}};exports.default=P;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");require("../../../../components/Tab/Tab.vue.cjs");const i=require("../../../../components/Field/Field.vue2.cjs"),m=require("../../../../components/Button/Button.vue.cjs"),v=require("../../../../components/UploadImage/UploadImage.vue.cjs"),g=require("../sections/ProfileCompletion.vue.cjs"),c=require("vue-router"),r=require("../../../auth/store/auth.cjs"),o=require("../../store/users.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("./ProfileEdit.vue2.cjs");const N={class:"pd-medium for-transition w-100"},V=e.createElementVNode("h3",{class:"mn-b-small"},"Username",-1),w=e.createElementVNode("p",{class:"mn-b-semi"},"Your username will be used for URL of profile like thecommunephuket/users/username",-1),y=e.createElementVNode("h3",{class:"mn-b-small"},"Profile",-1),_={class:"mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},U=e.createElementVNode("h4",null,"Upload userpic",-1),k=e.createElementVNode("h3",{class:"mn-b-small"},"Socials",-1),q=e.createElementVNode("p",{class:"mn-b-thin"},"Please provide only the username for social media profiles, without full links.",-1),E=e.createElementVNode("h3",{class:"mn-b-small"},"Account",-1),P={__name:"ProfileEdit",async setup(S){let n,d;e.ref(null);const f=c.useRoute(),u=c.useRouter();[n,d]=e.withAsyncContext(()=>o.actions.read({_id:r.state.user._id})),await n,d();const l=e.ref(o.state.current);async function p(){await o.actions.update(o.state.current)}async function b(){window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.")&&(o.state.current.status="removed",await o.actions.update(o.state.current),r.actions.logout())}function h(){u.replace({name:"User Profile",params:{_id:o.state.current._id}})}return(s,a)=>(e.openBlock(),e.createElementBlock("div",N,[e.unref(f).params._id===r.state.user._id?(e.openBlock(),e.createBlock(g.default,{key:0,user:r.state.user._id,target:l.value,cta:!1},null,8,["user","target"])):e.createCommentVNode("",!0),V,e.createVNode(i.default,{field:l.value.username,"onUpdate:field":a[0]||(a[0]=t=>l.value.username=t),label:"@",placeholder:"Not specified",class:"mn-b-thin w-100 bg-grey pd-medium radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),w,y,e.createElementVNode("div",_,[e.createVNode(v.default,{photo:l.value.profile.photo,"onUpdate:photo":a[1]||(a[1]=t=>l.value.profile.photo=t),uploadPath:"users/"+l.value._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"},null,8,["photo","uploadPath"]),U]),e.createVNode(i.default,{field:l.value.profile.name,"onUpdate:field":a[2]||(a[2]=t=>l.value.profile.name=t),label:"Name",placeholder:"Not specified",class:"mn-b-thin bg-grey pd-medium radius-small",validation:s.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.profile.description,"onUpdate:field":a[3]||(a[3]=t=>l.value.profile.description=t),label:"Description",placeholder:"Not specified",class:"mn-b-semi bg-grey pd-medium radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),k,q,e.createVNode(i.default,{field:l.value.socials.instagram,"onUpdate:field":a[4]||(a[4]=t=>l.value.socials.instagram=t),label:"Instagram",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.twitter,"onUpdate:field":a[5]||(a[5]=t=>l.value.socials.twitter=t),label:"Twitter",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.facebook,"onUpdate:field":a[6]||(a[6]=t=>l.value.socials.facebook=t),label:"Facebook",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.telegram,"onUpdate:field":a[7]||(a[7]=t=>l.value.socials.telegram=t),label:"Telegram",placeholder:"",class:"mn-b-semi bg-grey pd-medium radius-small"},null,8,["field"]),E,e.createVNode(i.default,{field:l.value.phone,"onUpdate:field":a[8]||(a[8]=t=>l.value.phone=t),label:"Phone",placeholder:"Not specified",class:"mn-b-thin bg-grey pd-medium mn-b-thin radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.email,"onUpdate:field":a[9]||(a[9]=t=>l.value.email=t),label:"Email",placeholder:"Not specified",class:"mn-b-semi bg-grey pd-medium radius-small",disabled:!0,validation:s.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{submit:p,callback:h,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode("Save")]),_:1}),e.createVNode(m.default,{submit:b,callback:s.a=()=>{e.unref(u).push({name:"Sign In"})},class:"mn-b-thin bg-red t-white"},{default:e.withCtx(()=>[e.createTextVNode("Delete Account")]),_:1},8,["callback"])]))}};exports.default=P;
@@ -1,8 +1,8 @@
1
- import { ref as f, withAsyncContext as U, openBlock as c, createElementBlock as k, unref as h, createBlock as P, createCommentVNode as z, createVNode as i, createElementVNode as o, withCtx as b, createTextVNode as v } from "vue";
1
+ import { ref as f, withAsyncContext as U, openBlock as c, createElementBlock as k, unref as b, createBlock as P, createCommentVNode as z, createVNode as i, createElementVNode as o, withCtx as h, createTextVNode as v } from "vue";
2
2
  import "../../../../../../node_modules/js-cookie/src/js.cookie.js";
3
3
  import "../../../../components/Tab/Tab.vue.js";
4
4
  import t from "../../../../components/Field/Field.vue2.js";
5
- import g from "../../../../components/Button/Button.vue2.js";
5
+ import g from "../../../../components/Button/Button.vue.js";
6
6
  import S from "../../../../components/UploadImage/UploadImage.vue.js";
7
7
  import $ from "../sections/ProfileCompletion.vue.js";
8
8
  import { useRoute as x, useRouter as A } from "vue-router";
@@ -10,7 +10,7 @@ import { state as r, actions as E } from "../../../auth/store/auth.js";
10
10
  import { actions as d, state as n } from "../../store/users.js";
11
11
  import "../../../middlewares/client/inputs.validation.js";
12
12
  import "./ProfileEdit.vue2.js";
13
- const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Username", -1), V = /* @__PURE__ */ o("p", { class: "mn-semi" }, "Your username will be used for URL of profile like thecommunephuket/users/username", -1), B = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Profile", -1), C = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, D = /* @__PURE__ */ o("h4", null, "Upload userpic", -1), F = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Socials", -1), I = /* @__PURE__ */ o("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), L = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Account", -1), ee = {
13
+ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Username", -1), V = /* @__PURE__ */ o("p", { class: "mn-b-semi" }, "Your username will be used for URL of profile like thecommunephuket/users/username", -1), B = /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Profile", -1), C = { class: "mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, D = /* @__PURE__ */ o("h4", null, "Upload userpic", -1), F = /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Socials", -1), I = /* @__PURE__ */ o("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1), L = /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Account", -1), ee = {
14
14
  __name: "ProfileEdit",
15
15
  async setup(Y) {
16
16
  let m, u;
@@ -28,7 +28,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
28
28
  p.replace({ name: "User Profile", params: { _id: n.current._id } });
29
29
  }
30
30
  return (s, l) => (c(), k("div", R, [
31
- h(w).params._id === r.user._id ? (c(), P($, {
31
+ b(w).params._id === r.user._id ? (c(), P($, {
32
32
  key: 0,
33
33
  user: r.user._id,
34
34
  target: e.value,
@@ -40,7 +40,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
40
40
  "onUpdate:field": l[0] || (l[0] = (a) => e.value.username = a),
41
41
  label: "@",
42
42
  placeholder: "Not specified",
43
- class: "mn-thin w-100 bg-grey pd-medium radius-small",
43
+ class: "mn-b-thin w-100 bg-grey pd-medium radius-small",
44
44
  disabled: "true",
45
45
  validation: s.organizationName
46
46
  }, null, 8, ["field", "validation"]),
@@ -51,7 +51,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
51
51
  photo: e.value.profile.photo,
52
52
  "onUpdate:photo": l[1] || (l[1] = (a) => e.value.profile.photo = a),
53
53
  uploadPath: "users/" + e.value._id + "/avatars",
54
- class: "h-4r w-4r aspect-1x1 o-hidden bg-white mn-thin radius-extra"
54
+ class: "h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"
55
55
  }, null, 8, ["photo", "uploadPath"]),
56
56
  D
57
57
  ]),
@@ -60,7 +60,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
60
60
  "onUpdate:field": l[2] || (l[2] = (a) => e.value.profile.name = a),
61
61
  label: "Name",
62
62
  placeholder: "Not specified",
63
- class: "mn-thin bg-grey pd-medium radius-small",
63
+ class: "mn-b-thin bg-grey pd-medium radius-small",
64
64
  validation: s.organizationName
65
65
  }, null, 8, ["field", "validation"]),
66
66
  i(t, {
@@ -68,7 +68,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
68
68
  "onUpdate:field": l[3] || (l[3] = (a) => e.value.profile.description = a),
69
69
  label: "Description",
70
70
  placeholder: "Not specified",
71
- class: "mn-semi bg-grey pd-medium radius-small",
71
+ class: "mn-b-semi bg-grey pd-medium radius-small",
72
72
  disabled: "true",
73
73
  validation: s.organizationName
74
74
  }, null, 8, ["field", "validation"]),
@@ -79,28 +79,28 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
79
79
  "onUpdate:field": l[4] || (l[4] = (a) => e.value.socials.instagram = a),
80
80
  label: "Instagram",
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
  i(t, {
85
85
  field: e.value.socials.twitter,
86
86
  "onUpdate:field": l[5] || (l[5] = (a) => e.value.socials.twitter = a),
87
87
  label: "Twitter",
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
  i(t, {
92
92
  field: e.value.socials.facebook,
93
93
  "onUpdate:field": l[6] || (l[6] = (a) => e.value.socials.facebook = a),
94
94
  label: "Facebook",
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
  i(t, {
99
99
  field: e.value.socials.telegram,
100
100
  "onUpdate:field": l[7] || (l[7] = (a) => e.value.socials.telegram = a),
101
101
  label: "Telegram",
102
102
  placeholder: "",
103
- class: "mn-semi bg-grey pd-medium radius-small"
103
+ class: "mn-b-semi bg-grey pd-medium radius-small"
104
104
  }, null, 8, ["field"]),
105
105
  L,
106
106
  i(t, {
@@ -108,7 +108,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
108
108
  "onUpdate:field": l[8] || (l[8] = (a) => e.value.phone = a),
109
109
  label: "Phone",
110
110
  placeholder: "Not specified",
111
- class: "mn-thin bg-grey pd-medium mn-thin radius-small",
111
+ class: "mn-b-thin bg-grey pd-medium mn-b-thin radius-small",
112
112
  disabled: "true",
113
113
  validation: s.organizationName
114
114
  }, null, 8, ["field", "validation"]),
@@ -117,16 +117,16 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
117
117
  "onUpdate:field": l[9] || (l[9] = (a) => e.value.email = a),
118
118
  label: "Email",
119
119
  placeholder: "Not specified",
120
- class: "mn-semi bg-grey pd-medium radius-small",
120
+ class: "mn-b-semi bg-grey pd-medium radius-small",
121
121
  disabled: !0,
122
122
  validation: s.organizationName
123
123
  }, null, 8, ["field", "validation"]),
124
124
  i(g, {
125
125
  submit: y,
126
126
  callback: N,
127
- class: "mn-thin"
127
+ class: "mn-b-thin"
128
128
  }, {
129
- default: b(() => [
129
+ default: h(() => [
130
130
  v("Save")
131
131
  ]),
132
132
  _: 1
@@ -134,11 +134,11 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
134
134
  i(g, {
135
135
  submit: _,
136
136
  callback: s.a = () => {
137
- h(p).push({ name: "Sign In" });
137
+ b(p).push({ name: "Sign In" });
138
138
  },
139
- class: "mn-thin bg-red t-white"
139
+ class: "mn-b-thin bg-red t-white"
140
140
  }, {
141
- default: b(() => [
141
+ default: h(() => [
142
142
  v("Delete Account")
143
143
  ]),
144
144
  _: 1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../../../events/components/sections/Feed.vue.cjs"),n=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-medium flex-v-center flex-nowrap flex"},v=e.createElementVNode("h2",{class:"mn-r-medium"}," Events ",-1),_={__name:"ProfileEvents",setup(b){const t=c.useRoute(),o=c.useRouter();let i=t.query.tab?t.query.tab:"owner";const r=e.ref(i);return t.query.tab=r.value,e.watch(r,s=>{o.replace({query:{...t.query,tab:s}})}),(s,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[v,n.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=u=>e.unref(o).push({name:"Create Event"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(d.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=u=>r.value=u),tabs:[{name:"My",value:"owner"},{name:"Participant",value:"participant"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),r.value==="owner"?(e.openBlock(),e.createBlock(l.default,{key:0,user:n.state.user._id,creator:e.unref(t).params._id,sortOrder:"asc"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="participant"?(e.openBlock(),e.createBlock(l.default,{key:1,user:n.state.user._id,participant:e.unref(t).params._id,sortOrder:"desc"},null,8,["user","participant"])):e.createCommentVNode("",!0)]))}};exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../../../events/components/sections/Feed.vue.cjs"),n=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-b-medium flex-v-center flex-nowrap flex"},v=e.createElementVNode("h2",{class:"mn-r-medium"}," Events ",-1),_={__name:"ProfileEvents",setup(b){const t=c.useRoute(),o=c.useRouter();let i=t.query.tab?t.query.tab:"owner";const r=e.ref(i);return t.query.tab=r.value,e.watch(r,s=>{o.replace({query:{...t.query,tab:s}})}),(s,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[v,n.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=u=>e.unref(o).push({name:"Create Event"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(d.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=u=>r.value=u),tabs:[{name:"My",value:"owner"},{name:"Participant",value:"participant"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),r.value==="owner"?(e.openBlock(),e.createBlock(l.default,{key:0,user:n.state.user._id,creator:e.unref(t).params._id,sortOrder:"asc"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="participant"?(e.openBlock(),e.createBlock(l.default,{key:1,user:n.state.user._id,participant:e.unref(t).params._id,sortOrder:"desc"},null,8,["user","participant"])):e.createCommentVNode("",!0)]))}};exports.default=_;
@@ -1,15 +1,15 @@
1
- import { ref as f, watch as v, openBlock as a, createElementBlock as l, createElementVNode as p, unref as s, createCommentVNode as o, createVNode as b, createBlock as m } from "vue";
1
+ import { ref as f, watch as b, openBlock as a, createElementBlock as l, createElementVNode as p, unref as s, createCommentVNode as o, createVNode as v, createBlock as m } from "vue";
2
2
  import { useRoute as y, useRouter as h } from "vue-router";
3
3
  import k from "../../../../components/Tab/Tab.vue2.js";
4
4
  import d from "../../../events/components/sections/Feed.vue.js";
5
5
  import { state as n } from "../../../auth/store/auth.js";
6
- const g = { class: "pd-thin" }, w = { class: "mn-medium flex-v-center flex-nowrap flex" }, q = /* @__PURE__ */ p("h2", { class: "mn-r-medium" }, " Events ", -1), V = {
6
+ const g = { class: "pd-thin" }, w = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, q = /* @__PURE__ */ p("h2", { class: "mn-r-medium" }, " Events ", -1), V = {
7
7
  __name: "ProfileEvents",
8
8
  setup(x) {
9
9
  const e = y(), i = h();
10
10
  let _ = e.query.tab ? e.query.tab : "owner";
11
11
  const r = f(_);
12
- return e.query.tab = r.value, v(r, (u) => {
12
+ return e.query.tab = r.value, b(r, (u) => {
13
13
  i.replace({ query: { ...e.query, tab: u } });
14
14
  }), (u, t) => (a(), l("div", g, [
15
15
  p("header", w, [
@@ -20,14 +20,14 @@ const g = { class: "pd-thin" }, w = { class: "mn-medium flex-v-center flex-nowra
20
20
  class: "radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"
21
21
  }, " + ")) : o("", !0)
22
22
  ]),
23
- b(k, {
23
+ v(k, {
24
24
  selected: r.value,
25
25
  "onUpdate:selected": t[1] || (t[1] = (c) => r.value = c),
26
26
  tabs: [
27
27
  { name: "My", value: "owner" },
28
28
  { name: "Participant", value: "participant" }
29
29
  ],
30
- class: "mn-small o-hidden h5 radius-big bg-grey"
30
+ class: "mn-b-small o-hidden h5 radius-big bg-grey"
31
31
  }, null, 8, ["selected"]),
32
32
  r.value === "owner" ? (a(), m(d, {
33
33
  key: 0,
@@ -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("../../../organizations/components/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:"ProfileOrganizations",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("../../../organizations/components/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:"ProfileOrganizations",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,18 +1,18 @@
1
- import { ref as h, watch as w, openBlock as a, createElementBlock as m, createElementVNode as _, unref as s, createCommentVNode as u, createVNode as n, Transition as d, withCtx as c, createBlock as f } from "vue";
1
+ import { ref as h, watch as w, openBlock as a, createElementBlock as m, createElementVNode as p, unref as s, 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 p from "../../../organizations/components/sections/Feed.vue.js";
4
+ import f from "../../../organizations/components/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__ */ _("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__ */ p("h2", { class: "mn-r-medium" }, "Groups", -1), E = {
7
7
  __name: "ProfileOrganizations",
8
8
  setup($) {
9
- const e = y(), b = g();
9
+ const e = y(), _ = g();
10
10
  let v = e.query.tab ? e.query.tab : "member";
11
11
  const r = h(v);
12
12
  return e.query.tab = r.value, w(r, (o) => {
13
- b.replace({ query: { ...e.query, tab: o } });
13
+ _.replace({ query: { ...e.query, tab: o } });
14
14
  }), (o, t) => (a(), m("div", q, [
15
- _("header", x, [
15
+ p("header", x, [
16
16
  C,
17
17
  i.user._id === s(e).params._id ? (a(), m("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(), f(p, {
36
+ r.value === "member" ? (a(), b(f, {
37
37
  key: 0,
38
38
  user: i.user._id,
39
39
  owner: s(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(), f(p, {
46
+ r.value === "follower" ? (a(), b(f, {
47
47
  key: 0,
48
48
  user: i.user._id,
49
49
  subscriber: s(e).params._id
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m={class:"w-100 mn-semi radius-medium pd-medium bg-main t-black"},d={__name:"ProfileCompletion",props:{user:Object,target:Object,cta:Boolean},setup(n){const{user:f,cta:p,target:a}=n,c=e.ref(0),u=i=>{let o=0,l=0;function s(t){for(let r in t)t.hasOwnProperty(r)&&(t[r]&&typeof t[r]=="object"&&!Array.isArray(t[r])?s(t[r]):(o++,t[r]!=null&&t[r]!==""&&l++))}return s(i),o===0?0:Math.round(l/o*100)};return a&&(c.value=u(a)),(i,o)=>{const l=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",m,[e.createElementVNode("h3",null," Profile completed at "+e.toDisplayString(c.value)+"% ",1),n.cta?(e.openBlock(),e.createBlock(l,{key:0,to:{name:"User Edit Profile",params:{_id:n.user}},class:"mn-t-regular t-black bg-white w-100 button"},{default:e.withCtx(()=>[e.createTextVNode(" Fill Profile ")]),_:1},8,["to"])):e.createCommentVNode("",!0)])}}};exports.default=d;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m={class:"w-100 mn-b-semi radius-medium pd-medium bg-main t-black"},d={__name:"ProfileCompletion",props:{user:Object,target:Object,cta:Boolean},setup(n){const{user:f,cta:p,target:a}=n,c=e.ref(0),u=i=>{let o=0,l=0;function s(t){for(let r in t)t.hasOwnProperty(r)&&(t[r]&&typeof t[r]=="object"&&!Array.isArray(t[r])?s(t[r]):(o++,t[r]!=null&&t[r]!==""&&l++))}return s(i),o===0?0:Math.round(l/o*100)};return a&&(c.value=u(a)),(i,o)=>{const l=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",m,[e.createElementVNode("h3",null," Profile completed at "+e.toDisplayString(c.value)+"% ",1),n.cta?(e.openBlock(),e.createBlock(l,{key:0,to:{name:"User Edit Profile",params:{_id:n.user}},class:"mn-t-regular t-black bg-white w-100 button"},{default:e.withCtx(()=>[e.createTextVNode(" Fill Profile ")]),_:1},8,["to"])):e.createCommentVNode("",!0)])}}};exports.default=d;
@@ -1,5 +1,5 @@
1
1
  import { ref as m, resolveComponent as f, openBlock as s, createElementBlock as d, createElementVNode as p, toDisplayString as k, createBlock as _, withCtx as P, createTextVNode as g, createCommentVNode as h } from "vue";
2
- const y = { class: "w-100 mn-semi radius-medium pd-medium bg-main t-black" }, B = {
2
+ const y = { class: "w-100 mn-b-semi radius-medium pd-medium bg-main t-black" }, B = {
3
3
  __name: "ProfileCompletion",
4
4
  props: {
5
5
  user: Object,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../../../../node_modules/web3/lib/esm/web3.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_config.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_context.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.cjs");require("../../../../../../node_modules/web3-types/lib/esm/data_format_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/eth_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.cjs");require("../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../../../node_modules/web3-eth-iban/lib/esm/iban.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/formats.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/default_validator.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.cjs");require("../../../../../../node_modules/setimmediate/setImmediate.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/web3_eth.cjs");require("../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/schemas.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/constants.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../../../../node_modules/web3-eth-contract/lib/esm/contract.cjs");require("../../../../../../node_modules/web3-eth-personal/lib/esm/personal.cjs");require("../../../../../../node_modules/web3-net/lib/esm/net.cjs");require("../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-providers-http/lib/esm/index.cjs");require("../../../../../../node_modules/isomorphic-ws/browser.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/account.cjs");require("../../../../../../node_modules/crc-32/crc32.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../../../node_modules/@ethereumjs/rlp/dist/index.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../../../node_modules/web3-eth-ens/lib/esm/ens.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const i=require("vue-router"),c={class:"pd-big"},u=e.createElementVNode("h1",{class:"mn-small"}," Your Wallet ",-1),d=e.createElementVNode("p",{class:"mn-semi p-big"}," Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ",-1),m={class:"mn-semi flex-nowrap flex gap-thin"},_={key:0,class:"w-100 pd-medium radius-medium t-center bg-grey"},p=e.createElementVNode("h3",{class:"mn-small"},"Make first order and start earning Weeder Token ",-1),h=e.createElementVNode("button",{class:"mn-l-auto mn-r-auto bg-main button"},"Explore marketplace",-1),q=[p,h],b={key:1,class:"w-100 pd-medium radius-medium bg-grey"},k=e.createElementVNode("p",{class:"h4 mn-thin"},"You own: ",-1),g=e.createElementVNode("h3",{class:"mn-small"},"0.14% of Weeder",-1),E=e.createElementVNode("button",{class:"w-100 bg-main button"},"Get More",-1),y=[k,g,E],N={key:2,class:"w-100 pd-medium radius-medium bg-grey"},V=e.createElementVNode("p",{class:"h4 mn-thin"},"You earn: ",-1),v=e.createElementVNode("h3",{class:"mn-small"},"245.43 WDT",-1),w=e.createElementVNode("button",{class:"w-100 bg-main button"},"Get More",-1),B=[V,v,w],f={class:"w-50 bg-black radius-semi pd-medium t-white"},W=e.createElementVNode("p",{class:"h4 mn-thin"},"Your Metamask",-1),C={key:0,class:"mn-small pd-small br-solid br-1px br-white-transp-10 radius-small"},M={key:1,class:"p-medium t-transp mn-small"},D=e.createElementVNode("h3",{class:"mn-small"}," Incomes ",-1),S={class:"cols-4 gap-thin"},j={class:"pd-medium radius-medium bg-grey"},T={class:"mn-small"},Y={class:"p-small mn-small"},x={__name:"Wallet",setup(F){i.useRoute(),e.ref(!1);const a=new s.Web3(s.Web3.givenProvider||"http://localhost:8080"),t=e.ref(null);async function l(){const o=await a.eth.requestAccounts();t.value=o[0]}return e.onMounted(()=>{}),(o,n)=>(e.openBlock(),e.createElementBlock("section",c,[u,d,e.createElementVNode("div",m,[t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",_,q)),t.value?(e.openBlock(),e.createElementBlock("div",b,y)):e.createCommentVNode("",!0),t.value?(e.openBlock(),e.createElementBlock("div",N,B)):e.createCommentVNode("",!0),e.createElementVNode("div",f,[W,t.value?(e.openBlock(),e.createElementBlock("div",C,e.toDisplayString(t.value),1)):e.createCommentVNode("",!0),t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",M,"Connect Metamask to withdrawal your earnings.")),t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:2,onClick:l,class:"w-100 button"}," Connect Wallet ")),t.value?(e.openBlock(),e.createElementBlock("button",{key:3,onClick:n[0]||(n[0]=(...r)=>o.disconnectWallet&&o.disconnectWallet(...r)),class:"w-100 bg-red button"}," Disonnect Wallet ")):e.createCommentVNode("",!0)])]),D,e.createElementVNode("section",S,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([{balance:34,type:"income",reason:"order",target:"ef34dsdase4389snjnu (_id)"},{balance:25,type:"income",reason:"post",target:"ef34dsdase4389snjnu (_id)"},{balance:17,type:"income",reason:"comment",target:"ef34dsdase4389snjnu (_id)"},{balance:43,type:"event",reason:"order",target:"ef34dsdase4389snjnu (_id)"}],r=>(e.openBlock(),e.createElementBlock("div",j,[e.createElementVNode("h3",T,"+ "+e.toDisplayString(r.balance)+" WDT",1),e.createElementVNode("p",Y,"For "+e.toDisplayString(r.reason)+" "+e.toDisplayString(r.target),1)]))),256))])]))}};exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../../../../node_modules/web3/lib/esm/web3.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_config.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_context.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.cjs");require("../../../../../../node_modules/web3-types/lib/esm/data_format_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/eth_types.cjs");require("../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.cjs");require("../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../../../node_modules/web3-eth-iban/lib/esm/iban.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/formats.cjs");require("../../../../../../node_modules/web3-validator/lib/esm/default_validator.cjs");require("../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.cjs");require("../../../../../../node_modules/setimmediate/setImmediate.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/web3_eth.cjs");require("../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/schemas.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/constants.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../../../../node_modules/web3-eth-contract/lib/esm/contract.cjs");require("../../../../../../node_modules/web3-eth-personal/lib/esm/personal.cjs");require("../../../../../../node_modules/web3-net/lib/esm/net.cjs");require("../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../node_modules/web3-providers-http/lib/esm/index.cjs");require("../../../../../../node_modules/isomorphic-ws/browser.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/account.cjs");require("../../../../../../node_modules/crc-32/crc32.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../../../node_modules/@ethereumjs/rlp/dist/index.cjs");require("../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../../../node_modules/web3-eth-ens/lib/esm/ens.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");const i=require("vue-router"),c={class:"pd-big"},u=e.createElementVNode("h1",{class:"mn-b-small"}," Your Wallet ",-1),d=e.createElementVNode("p",{class:"mn-b-semi p-big"}," Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ",-1),m={class:"mn-b-semi flex-nowrap flex gap-thin"},_={key:0,class:"w-100 pd-medium radius-medium t-center bg-grey"},b=e.createElementVNode("h3",{class:"mn-b-small"},"Make first order and start earning Weeder Token ",-1),p=e.createElementVNode("button",{class:"mn-l-auto mn-r-auto bg-main button"},"Explore marketplace",-1),h=[b,p],q={key:1,class:"w-100 pd-medium radius-medium bg-grey"},k=e.createElementVNode("p",{class:"h4 mn-b-thin"},"You own: ",-1),g=e.createElementVNode("h3",{class:"mn-b-small"},"0.14% of Weeder",-1),E=e.createElementVNode("button",{class:"w-100 bg-main button"},"Get More",-1),y=[k,g,E],N={key:2,class:"w-100 pd-medium radius-medium bg-grey"},V=e.createElementVNode("p",{class:"h4 mn-b-thin"},"You earn: ",-1),v=e.createElementVNode("h3",{class:"mn-b-small"},"245.43 WDT",-1),w=e.createElementVNode("button",{class:"w-100 bg-main button"},"Get More",-1),B=[V,v,w],f={class:"w-50 bg-black radius-semi pd-medium t-white"},W=e.createElementVNode("p",{class:"h4 mn-b-thin"},"Your Metamask",-1),C={key:0,class:"mn-b-small pd-small br-solid br-1px br-white-transp-10 radius-small"},M={key:1,class:"p-medium t-transp mn-b-small"},D=e.createElementVNode("h3",{class:"mn-b-small"}," Incomes ",-1),S={class:"cols-4 gap-thin"},j={class:"pd-medium radius-medium bg-grey"},T={class:"mn-b-small"},Y={class:"p-small mn-b-small"},x={__name:"Wallet",setup(F){i.useRoute(),e.ref(!1);const a=new s.Web3(s.Web3.givenProvider||"http://localhost:8080"),t=e.ref(null);async function l(){const o=await a.eth.requestAccounts();t.value=o[0]}return e.onMounted(()=>{}),(o,n)=>(e.openBlock(),e.createElementBlock("section",c,[u,d,e.createElementVNode("div",m,[t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",_,h)),t.value?(e.openBlock(),e.createElementBlock("div",q,y)):e.createCommentVNode("",!0),t.value?(e.openBlock(),e.createElementBlock("div",N,B)):e.createCommentVNode("",!0),e.createElementVNode("div",f,[W,t.value?(e.openBlock(),e.createElementBlock("div",C,e.toDisplayString(t.value),1)):e.createCommentVNode("",!0),t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",M,"Connect Metamask to withdrawal your earnings.")),t.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:2,onClick:l,class:"w-100 button"}," Connect Wallet ")),t.value?(e.openBlock(),e.createElementBlock("button",{key:3,onClick:n[0]||(n[0]=(...r)=>o.disconnectWallet&&o.disconnectWallet(...r)),class:"w-100 bg-red button"}," Disonnect Wallet ")):e.createCommentVNode("",!0)])]),D,e.createElementVNode("section",S,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([{balance:34,type:"income",reason:"order",target:"ef34dsdase4389snjnu (_id)"},{balance:25,type:"income",reason:"post",target:"ef34dsdase4389snjnu (_id)"},{balance:17,type:"income",reason:"comment",target:"ef34dsdase4389snjnu (_id)"},{balance:43,type:"event",reason:"order",target:"ef34dsdase4389snjnu (_id)"}],r=>(e.openBlock(),e.createElementBlock("div",j,[e.createElementVNode("h3",T,"+ "+e.toDisplayString(r.balance)+" WDT",1),e.createElementVNode("p",Y,"For "+e.toDisplayString(r.reason)+" "+e.toDisplayString(r.target),1)]))),256))])]))}};exports.default=x;
@@ -43,33 +43,33 @@ import "../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.
43
43
  import "../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js";
44
44
  import "../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js";
45
45
  import { useRoute as b } from "vue-router";
46
- const g = { class: "pd-big" }, w = /* @__PURE__ */ t("h1", { class: "mn-small" }, " Your Wallet ", -1), y = /* @__PURE__ */ t("p", { class: "mn-semi p-big" }, " Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ", -1), v = { class: "mn-semi flex-nowrap flex gap-thin" }, k = {
46
+ const g = { class: "pd-big" }, w = /* @__PURE__ */ t("h1", { class: "mn-b-small" }, " Your Wallet ", -1), y = /* @__PURE__ */ t("p", { class: "mn-b-semi p-big" }, " Earn Weeder Token Crypto with buying our weed, use it as money when buying our products or withdraw and trade ", -1), v = { class: "mn-b-semi flex-nowrap flex gap-thin" }, k = {
47
47
  key: 0,
48
48
  class: "w-100 pd-medium radius-medium t-center bg-grey"
49
- }, f = /* @__PURE__ */ t("h3", { class: "mn-small" }, "Make first order and start earning Weeder Token ", -1), W = /* @__PURE__ */ t("button", { class: "mn-l-auto mn-r-auto bg-main button" }, "Explore marketplace", -1), C = [
49
+ }, f = /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "Make first order and start earning Weeder Token ", -1), W = /* @__PURE__ */ t("button", { class: "mn-l-auto mn-r-auto bg-main button" }, "Explore marketplace", -1), C = [
50
50
  f,
51
51
  W
52
52
  ], M = {
53
53
  key: 1,
54
54
  class: "w-100 pd-medium radius-medium bg-grey"
55
- }, j = /* @__PURE__ */ t("p", { class: "h4 mn-thin" }, "You own: ", -1), x = /* @__PURE__ */ t("h3", { class: "mn-small" }, "0.14% of Weeder", -1), D = /* @__PURE__ */ t("button", { class: "w-100 bg-main button" }, "Get More", -1), E = [
55
+ }, j = /* @__PURE__ */ t("p", { class: "h4 mn-b-thin" }, "You own: ", -1), x = /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "0.14% of Weeder", -1), D = /* @__PURE__ */ t("button", { class: "w-100 bg-main button" }, "Get More", -1), E = [
56
56
  j,
57
57
  x,
58
58
  D
59
59
  ], T = {
60
60
  key: 2,
61
61
  class: "w-100 pd-medium radius-medium bg-grey"
62
- }, Y = /* @__PURE__ */ t("p", { class: "h4 mn-thin" }, "You earn: ", -1), B = /* @__PURE__ */ t("h3", { class: "mn-small" }, "245.43 WDT", -1), F = /* @__PURE__ */ t("button", { class: "w-100 bg-main button" }, "Get More", -1), G = [
62
+ }, Y = /* @__PURE__ */ t("p", { class: "h4 mn-b-thin" }, "You earn: ", -1), B = /* @__PURE__ */ t("h3", { class: "mn-b-small" }, "245.43 WDT", -1), F = /* @__PURE__ */ t("button", { class: "w-100 bg-main button" }, "Get More", -1), G = [
63
63
  Y,
64
64
  B,
65
65
  F
66
- ], N = { class: "w-50 bg-black radius-semi pd-medium t-white" }, V = /* @__PURE__ */ t("p", { class: "h4 mn-thin" }, "Your Metamask", -1), q = {
66
+ ], N = { class: "w-50 bg-black radius-semi pd-medium t-white" }, V = /* @__PURE__ */ t("p", { class: "h4 mn-b-thin" }, "Your Metamask", -1), q = {
67
67
  key: 0,
68
- class: "mn-small pd-small br-solid br-1px br-white-transp-10 radius-small"
68
+ class: "mn-b-small pd-small br-solid br-1px br-white-transp-10 radius-small"
69
69
  }, A = {
70
70
  key: 1,
71
- class: "p-medium t-transp mn-small"
72
- }, I = /* @__PURE__ */ t("h3", { class: "mn-small" }, " Incomes ", -1), L = { class: "cols-4 gap-thin" }, P = { class: "pd-medium radius-medium bg-grey" }, R = { class: "mn-small" }, S = { class: "p-small mn-small" }, Vt = {
71
+ class: "p-medium t-transp mn-b-small"
72
+ }, I = /* @__PURE__ */ t("h3", { class: "mn-b-small" }, " Incomes ", -1), L = { class: "cols-4 gap-thin" }, P = { class: "pd-medium radius-medium bg-grey" }, R = { class: "mn-b-small" }, S = { class: "p-small mn-b-small" }, Vt = {
73
73
  __name: "Wallet",
74
74
  setup(z) {
75
75
  b(), l(!1);