@ozdao/prometheus-framework 0.1.98 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (311) hide show
  1. package/dist/main.css +1 -1
  2. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  3. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
  4. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  5. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
  6. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  7. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +5 -5
  8. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +1 -1
  10. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -2
  12. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +10 -10
  14. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +72 -2
  16. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -72
  18. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +12 -12
  20. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +15 -15
  22. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  23. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +8 -8
  24. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +14 -14
  26. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +14 -14
  28. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +9 -9
  30. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +4 -4
  32. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +8 -8
  36. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  38. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +10 -10
  40. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +6 -6
  42. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -9
  44. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +8 -8
  46. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -3
  48. package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.js +3 -3
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +2 -2
  52. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +4 -4
  54. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +1 -1
  56. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +2 -2
  58. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +5 -5
  60. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +20 -11
  62. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  64. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
  65. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -62
  66. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
  67. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +62 -2
  68. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +13 -13
  70. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +11 -11
  72. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  74. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +20 -20
  76. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +6 -6
  78. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  80. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +7 -7
  82. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +4 -4
  84. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +10 -10
  86. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +13 -13
  88. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  90. package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.js +4 -4
  92. package/dist/prometheus-framework/src/modules/icons/navigation/IconLike.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/icons/navigation/IconLike.vue.js +7 -7
  94. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +3 -3
  96. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +6 -6
  98. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +2 -2
  100. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +8 -8
  104. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +3 -3
  106. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +8 -8
  110. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +4 -4
  112. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
  114. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +7 -7
  118. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
  120. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  122. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -14
  124. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +7 -7
  126. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +6 -6
  128. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +15 -15
  130. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +8 -8
  132. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +5 -5
  134. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +5 -5
  136. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +7 -7
  138. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  140. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +2 -2
  141. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -4
  143. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +5 -5
  145. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +2 -2
  147. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +5 -5
  149. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
  151. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +5 -5
  153. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +8 -8
  155. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +6 -6
  157. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +18 -18
  159. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +5 -5
  161. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +9 -9
  163. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -1
  165. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +8 -8
  167. package/dist/prometheus-framework.cjs.js +1 -1
  168. package/dist/prometheus-framework.es.js +2 -2
  169. package/dist/style.css +1 -1
  170. package/package.json +1 -1
  171. package/src/components/EditImages/EditImages.vue +3 -3
  172. package/src/components/EmptyState/EmptyState.vue +2 -2
  173. package/src/components/Field/Field.svlt +1 -1
  174. package/src/components/Field/Field.vue +1 -1
  175. package/src/components/FieldTags/BlockTags.vue +4 -4
  176. package/src/components/Footer/Footer.vue +8 -8
  177. package/src/components/LocationSelection/LocationSelection.vue +4 -4
  178. package/src/components/Search/Search.vue +3 -3
  179. package/src/configurator/components/layouts/layoutConfigurator.vue +2 -2
  180. package/src/configurator/components/pages/Styles.vue +3 -3
  181. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  182. package/src/modules/auth/components/pages/EnterPassword.vue +9 -9
  183. package/src/modules/auth/components/pages/Invite.vue +6 -6
  184. package/src/modules/auth/components/pages/ResetPassword.vue +10 -10
  185. package/src/modules/auth/components/pages/SignIn.vue +11 -11
  186. package/src/modules/auth/components/pages/SignUp.vue +11 -11
  187. package/src/modules/auth/components/sections/SliderFeatures.vue +2 -2
  188. package/src/modules/backoffice/components/admin/Categories.vue +2 -2
  189. package/src/modules/backoffice/components/admin/CategoryEdit.vue +2 -2
  190. package/src/modules/backoffice/components/admin/Dashboard.vue +1 -1
  191. package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
  192. package/src/modules/backoffice/components/admin/PageEdit.vue +3 -3
  193. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  194. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  195. package/src/modules/backoffice/components/admin/User.vue +6 -6
  196. package/src/modules/backoffice/components/admin/Users.vue +4 -4
  197. package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
  198. package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
  199. package/src/modules/community/components/blocks/CardBlogpost.vue +5 -5
  200. package/src/modules/community/components/layouts/Community.vue +2 -2
  201. package/src/modules/community/components/pages/BlogPost.vue +4 -4
  202. package/src/modules/community/components/pages/Community.vue +2 -2
  203. package/src/modules/community/components/pages/CreateBlogPost.vue +5 -5
  204. package/src/modules/community/components/sections/Comments.vue +5 -5
  205. package/src/modules/community/components/sections/Feed.vue +2 -2
  206. package/src/modules/community/components/sections/JoinUs.vue +2 -2
  207. package/src/modules/community/components/sections/SubscribeNewsletter.vue +3 -3
  208. package/src/modules/constructor/components/elements/Audio.vue +2 -2
  209. package/src/modules/constructor/components/elements/Bullets.vue +1 -1
  210. package/src/modules/constructor/components/elements/Caption.vue +1 -1
  211. package/src/modules/constructor/components/elements/Embed.vue +2 -2
  212. package/src/modules/constructor/components/elements/H2.vue +1 -1
  213. package/src/modules/constructor/components/elements/Image.vue +19 -5
  214. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  215. package/src/modules/constructor/components/elements/Textarea.vue +1 -1
  216. package/src/modules/constructor/components/sections/Constructor.vue +4 -4
  217. package/src/modules/events/components/blocks/CardEvent.vue +5 -5
  218. package/src/modules/events/components/layouts/layoutEvents.vue +1 -1
  219. package/src/modules/events/components/pages/EditEvent.vue +12 -12
  220. package/src/modules/events/components/pages/Event.vue +4 -4
  221. package/src/modules/events/components/pages/Events.vue +1 -1
  222. package/src/modules/events/components/sections/Feed.vue +2 -2
  223. package/src/modules/events/components/sections/List.vue +1 -1
  224. package/src/modules/gallery/components/sections/BackofficeGallery.vue +10 -10
  225. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +6 -6
  226. package/src/modules/globals/components/sections/Feed.vue +1 -1
  227. package/src/modules/icons/navigation/IconLike.vue +2 -1
  228. package/src/modules/landing/components/sections/MobileApp.vue +7 -7
  229. package/src/modules/legal/components/pages/Legal.vue +5 -5
  230. package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
  231. package/src/modules/mobile/components/Menu/MenuItem.vue +2 -2
  232. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  233. package/src/modules/orders/components/blocks/Positions.vue +8 -8
  234. package/src/modules/orders/components/pages/EditOrder.vue +19 -19
  235. package/src/modules/orders/components/pages/Favorites.vue +2 -2
  236. package/src/modules/orders/components/pages/Order.vue +5 -5
  237. package/src/modules/orders/components/pages/Orders.vue +5 -5
  238. package/src/modules/orders/components/pages/ViewOrder.vue +7 -7
  239. package/src/modules/orders/components/partials/ShopCart.vue +3 -3
  240. package/src/modules/orders/components/sections/Form.vue +12 -12
  241. package/src/modules/orders/components/sections/Succes.vue +4 -4
  242. package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
  243. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -3
  244. package/src/modules/organizations/components/blocks/Contacts.vue +1 -1
  245. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +2 -2
  246. package/src/modules/organizations/components/blocks/EditArray.vue +2 -2
  247. package/src/modules/organizations/components/blocks/EmptyState.vue +3 -3
  248. package/src/modules/organizations/components/blocks/Rating.vue +1 -1
  249. package/src/modules/organizations/components/pages/Department.vue +6 -6
  250. package/src/modules/organizations/components/pages/DepartmentEdit.vue +16 -16
  251. package/src/modules/organizations/components/pages/Members.vue +2 -2
  252. package/src/modules/organizations/components/pages/Organization.vue +5 -5
  253. package/src/modules/organizations/components/pages/OrganizationEdit.vue +16 -16
  254. package/src/modules/organizations/components/pages/Organizations.vue +2 -2
  255. package/src/modules/organizations/components/sections/DetailsTab.vue +11 -11
  256. package/src/modules/organizations/components/sections/Documents.vue +4 -4
  257. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  258. package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
  259. package/src/modules/organizations/components/sections/MembersAdd.vue +5 -5
  260. package/src/modules/organizations/components/sections/MembersList.vue +2 -2
  261. package/src/modules/organizations/components/sections/Unit.vue +12 -12
  262. package/src/modules/payments/components/pages/Payments.vue +3 -3
  263. package/src/modules/products/components/blocks/CardLeftover.vue +4 -4
  264. package/src/modules/products/components/blocks/CardProduct.vue +3 -3
  265. package/src/modules/products/components/blocks/EditCategories.vue +4 -4
  266. package/src/modules/products/components/blocks/EditFilters.vue +4 -4
  267. package/src/modules/products/components/blocks/LeftoverPositions.vue +1 -1
  268. package/src/modules/products/components/pages/LeftoverAdd.vue +7 -7
  269. package/src/modules/products/components/pages/Leftovers.vue +5 -5
  270. package/src/modules/products/components/pages/OrganizationDetails.vue +4 -4
  271. package/src/modules/products/components/pages/OrganizationDocuments.vue +5 -5
  272. package/src/modules/products/components/pages/OrganizationPeople.vue +5 -5
  273. package/src/modules/products/components/pages/ProductEdit.vue +5 -5
  274. package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
  275. package/src/modules/products/components/pages/ProductsBackoffice.vue +2 -2
  276. package/src/modules/products/components/sections/EditModifications.vue +8 -8
  277. package/src/modules/products/components/sections/EditParameters.vue +4 -4
  278. package/src/modules/products/components/sections/EditProductImages.vue +2 -2
  279. package/src/modules/products/components/sections/EditProductInfo.vue +5 -5
  280. package/src/modules/products/components/sections/FilterProducts.vue +9 -9
  281. package/src/modules/products/components/sections/HeroRecommendation.vue +5 -5
  282. package/src/modules/products/components/sections/PopularProducts.vue +1 -1
  283. package/src/modules/products/components/sections/ProductInformationSection.vue +27 -27
  284. package/src/modules/products/components/sections/SectionProduct.vue +6 -6
  285. package/src/modules/products/components/sections/SortProducts.vue +1 -1
  286. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  287. package/src/modules/reports/components/sections/FormReport.vue +4 -4
  288. package/src/modules/spots/components/blocks/CardSpot.vue +4 -4
  289. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  290. package/src/modules/spots/components/layouts/Spots.vue +3 -3
  291. package/src/modules/spots/components/pages/Spot.vue +4 -4
  292. package/src/modules/spots/components/pages/SpotEdit.vue +16 -16
  293. package/src/modules/spots/components/sections/Feed.vue +2 -2
  294. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  295. package/src/modules/spots/components/sections/Places.vue +1 -1
  296. package/src/modules/users/components/pages/Profile.vue +13 -13
  297. package/src/modules/users/components/pages/ProfileBlogposts.vue +2 -2
  298. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  299. package/src/modules/users/components/pages/ProfileEdit.vue +21 -21
  300. package/src/modules/users/components/pages/ProfileEvents.vue +2 -2
  301. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  302. package/src/modules/users/components/pages/ProfileOrganizations.vue +2 -2
  303. package/src/modules/users/components/sections/ProfileCompletion.vue +1 -1
  304. package/src/modules/wallet/components/pages/Wallet.vue +17 -17
  305. package/src/styles/base/all.scss +83 -324
  306. package/src/styles/base/border-radius.scss +47 -0
  307. package/src/styles/base/height.scss +60 -0
  308. package/src/styles/base/scrolling.scss +8 -8
  309. package/src/styles/base/width.scss +2 -0
  310. package/src/styles/config.scss +153 -51
  311. package/src/styles/responsive.scss +2 -2
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),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.vue2.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,4 +1,4 @@
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";
@@ -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);