@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
@@ -2,34 +2,34 @@ import { ref as m, openBlock as u, createElementBlock as p, createElementVNode a
2
2
  import P from "../../../../components/Tab/Tab.vue2.js";
3
3
  import C from "../../../../components/Field/Field.vue2.js";
4
4
  import E from "../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import I from "../../../../components/Button/Button.vue2.js";
5
+ import I from "../../../../components/Button/Button.vue.js";
6
6
  import { useRoute as k, useRouter as x } from "vue-router";
7
7
  import { useI18n as N } from "vue-i18n";
8
8
  import T from "../../localization/ResetPassword.json.js";
9
9
  import { state as s, actions as D } from "../../store/auth.js";
10
10
  import "../../store/twofa.js";
11
- import { validateInputs as w, validatePhone as F, validateEmail as O } from "../../../middlewares/client/inputs.validation.js";
11
+ import { validateInputs as b, validatePhone as F, validateEmail as O } from "../../../middlewares/client/inputs.validation.js";
12
12
  import "./ResetPassword.vue2.js";
13
- const R = { class: "t-left pd-medium" }, S = { class: "mn-small" }, U = { class: "mn-small t-transp" }, B = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, $ = { class: "pos-relative" }, q = {
13
+ const R = { class: "t-left pd-medium" }, S = { class: "mn-b-small" }, U = { class: "mn-b-small t-transp" }, B = { class: "mn-b-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, $ = { class: "pos-relative" }, q = {
14
14
  key: 0,
15
- class: "mn-semi radius-small o-hidden"
16
- }, A = { class: "mn-small t-transp" }, L = {
15
+ class: "mn-b-semi radius-small o-hidden"
16
+ }, A = { class: "mn-b-small t-transp" }, L = {
17
17
  key: 0,
18
- class: "mn-semi radius-small o-hidden"
19
- }, j = { class: "mn-small t-transp" }, oe = {
18
+ class: "mn-b-semi radius-small o-hidden"
19
+ }, j = { class: "mn-b-small t-transp" }, oe = {
20
20
  __name: "ResetPassword",
21
21
  setup(z) {
22
22
  const { t: e } = N(T), h = m(null), f = m(null);
23
23
  k();
24
- const g = x(), o = m("phone");
25
- async function b() {
24
+ const w = x(), o = m("phone");
25
+ async function g() {
26
26
  try {
27
- o.value === "phone" && await w(
27
+ o.value === "phone" && await b(
28
28
  h,
29
29
  F,
30
30
  s.user.phone,
31
31
  "Некорректный телефон"
32
- ), o.value === "email" && await w(
32
+ ), o.value === "email" && await b(
33
33
  f,
34
34
  O,
35
35
  s.user.email,
@@ -45,7 +45,7 @@ const R = { class: "t-left pd-medium" }, S = { class: "mn-small" }, U = { class:
45
45
  }
46
46
  }
47
47
  function y() {
48
- g.push({ name: "Enter Code", query: { type: o.value, method: "reset-password" } });
48
+ w.push({ name: "Enter Code", query: { type: o.value, method: "reset-password" } });
49
49
  }
50
50
  return (d, a) => (u(), p("section", R, [
51
51
  l("h3", S, r(t(e)("forgotPasswordTitle")), 1),
@@ -76,7 +76,7 @@ const R = { class: "t-left pd-medium" }, S = { class: "mn-small" }, U = { class:
76
76
  validation: h.value,
77
77
  mode: "national",
78
78
  inputOptions: { placeholder: t(e)("phonePlaceholder") },
79
- class: "bg-grey pd-small radius-small mn-thin"
79
+ class: "bg-grey pd-small radius-small mn-b-thin"
80
80
  }, null, 8, ["modelValue", "validation", "inputOptions"])
81
81
  ])) : v("", !0)
82
82
  ]),
@@ -99,9 +99,9 @@ const R = { class: "t-left pd-medium" }, S = { class: "mn-small" }, U = { class:
99
99
  })
100
100
  ]),
101
101
  i(I, {
102
- submit: b,
102
+ submit: g,
103
103
  callback: y,
104
- class: "mn-big"
104
+ class: "mn-b-big"
105
105
  }, {
106
106
  default: c(() => [
107
107
  V(r(t(e)("sendCode")), 1)
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Tab/Tab.vue2.cjs"),c=require("../../../../components/Field/Field.vue2.cjs"),V=require("../../../../components/FieldPhone/FieldPhone.vue.cjs"),w=require("../../../../components/Button/Button.vue2.cjs"),p=require("vue-router"),N=require("vue-i18n"),b=require("../../localization/SignIn.json.cjs"),a=require("../../store/auth.cjs"),r=require("../../../middlewares/client/inputs.validation.cjs");require("./SignIn.vue2.cjs");const y={class:""},S=["src"],E={class:"mn-medium"},q=e.createElementVNode("br",null,null,-1),x={class:"t-semi"},C={class:"mn-big"},D={class:"mn-small p-small uppercase t-semi bg-grey radius-big o-hidden"},P={class:"pos-relative"},T={class:"mn-thin radius-small"},I={class:"mn-thin radius-small o-hidden"},U={class:"w-100 mn-big"},k={__name:"SignIn",setup(j){const d=e.ref(null),m=e.ref(null),u=e.ref(null);p.useRoute();const h=p.useRouter(),{t:l}=N.useI18n(b.default),n=e.ref("phone"),f=o=>new Promise((s,i)=>{const t=document.createElement("script");t.type="text/javascript",t.src=o,t.onload=s,t.onerror=i,document.head.appendChild(t)});e.onMounted(async()=>{await f("https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js")});async function v(){try{n.value==="phone"&&await r.validateInputs(d,r.validatePhone,a.state.user.phone,"Некорректный телефон"),n.value==="email"&&await r.validateInputs(u,r.validateEmail,a.state.user.email,"Некорректный email")}catch{throw new Error}const o={...a.state.user};o.phone=a.state.user.phone.number,await a.actions.login(o,n.value)}function _(){h.push({name:"User Profile",params:{_id:a.state.user._id},query:{afterAuth:"true"}})}return(o,s)=>{const i=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",y,[e.createElementVNode("img",{src:"/logo/logo_square.svg",class:"i-extra radius-small mn-small"},null,8,S),e.createElementVNode("h3",E,[e.createTextVNode(e.toDisplayString(e.unref(l)("title"))+" ",1),q,e.createElementVNode("span",x,e.toDisplayString(e.unref(l)("subtitle")),1)]),e.createElementVNode("p",C,[e.createVNode(i,{to:{name:"Sign Up"},class:"underline t-second"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("signup")),1)]),_:1})]),e.createElementVNode("div",D,[e.createVNode(g.default,{selected:n.value,"onUpdate:selected":s[0]||(s[0]=t=>n.value=t),tabs:[{name:e.unref(l)("phone"),value:"phone"},{name:e.unref(l)("email"),value:"email"}]},null,8,["selected","tabs"])]),e.createElementVNode("div",P,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",T,[e.createVNode(V.default,{modelValue:a.state.user.phone,"onUpdate:modelValue":s[1]||(s[1]=t=>a.state.user.phone=t),dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},validation:d.value,mode:"national",inputOptions:{placeholder:e.unref(l)("phonePlaceholder")},class:"bg-grey pd-small radius-small mn-thin"},null,8,["modelValue","validation","inputOptions"])],512),[[e.vShow,n.value==="phone"]])]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",I,[e.createVNode(c.default,{field:a.state.user.email,"onUpdate:field":s[2]||(s[2]=t=>a.state.user.email=t),placeholder:e.unref(l)("emailPlaceholder"),validation:u.value,class:"bg-grey pd-medium radius-small"},null,8,["field","placeholder","validation"])],512),[[e.vShow,n.value==="email"]])]),_:1})]),e.createVNode(c.default,{field:a.state.user.password,"onUpdate:field":s[3]||(s[3]=t=>a.state.user.password=t),type:"password",validation:m.value,placeholder:e.unref(l)("passwordPlaceholder"),class:"bg-grey pd-medium radius-small mn-semi"},null,8,["field","validation","placeholder"]),e.createElementVNode("div",U,[e.createVNode(i,{to:"/auth/reset-password",class:"underline d-block t-blue"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("forgotPassword")),1)]),_:1})]),e.createVNode(w.default,{submit:v,callback:_,class:"mn-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("signin")),1)]),_:1})])}}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("../../../../components/Tab/Tab.vue2.cjs"),c=require("../../../../components/Field/Field.vue2.cjs"),g=require("../../../../components/FieldPhone/FieldPhone.vue.cjs"),V=require("../../../../components/Button/Button.vue.cjs"),p=require("vue-router"),w=require("vue-i18n"),N=require("../../localization/SignIn.json.cjs"),a=require("../../store/auth.cjs"),r=require("../../../middlewares/client/inputs.validation.cjs");require("./SignIn.vue2.cjs");const y={class:""},S=["src"],E={class:"mn-b-medium"},q=e.createElementVNode("br",null,null,-1),x={class:"t-semi"},C={class:"mn-b-big"},D={class:"mn-b-small p-small uppercase t-semi bg-grey radius-big o-hidden"},P={class:"pos-relative"},T={class:"mn-b-thin radius-small"},I={class:"mn-b-thin radius-small o-hidden"},U={class:"w-100 mn-b-big"},k={__name:"SignIn",setup(j){const d=e.ref(null),m=e.ref(null),u=e.ref(null);p.useRoute();const h=p.useRouter(),{t:l}=w.useI18n(N.default),n=e.ref("phone"),f=o=>new Promise((s,i)=>{const t=document.createElement("script");t.type="text/javascript",t.src=o,t.onload=s,t.onerror=i,document.head.appendChild(t)});e.onMounted(async()=>{await f("https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js")});async function v(){try{n.value==="phone"&&await r.validateInputs(d,r.validatePhone,a.state.user.phone,"Некорректный телефон"),n.value==="email"&&await r.validateInputs(u,r.validateEmail,a.state.user.email,"Некорректный email")}catch{throw new Error}const o={...a.state.user};o.phone=a.state.user.phone.number,await a.actions.login(o,n.value)}function _(){h.push({name:"User Profile",params:{_id:a.state.user._id},query:{afterAuth:"true"}})}return(o,s)=>{const i=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",y,[e.createElementVNode("img",{src:"/logo/logo_square.svg",class:"i-extra radius-small mn-b-small"},null,8,S),e.createElementVNode("h3",E,[e.createTextVNode(e.toDisplayString(e.unref(l)("title"))+" ",1),q,e.createElementVNode("span",x,e.toDisplayString(e.unref(l)("subtitle")),1)]),e.createElementVNode("p",C,[e.createVNode(i,{to:{name:"Sign Up"},class:"underline t-second"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("signup")),1)]),_:1})]),e.createElementVNode("div",D,[e.createVNode(b.default,{selected:n.value,"onUpdate:selected":s[0]||(s[0]=t=>n.value=t),tabs:[{name:e.unref(l)("phone"),value:"phone"},{name:e.unref(l)("email"),value:"email"}]},null,8,["selected","tabs"])]),e.createElementVNode("div",P,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",T,[e.createVNode(g.default,{modelValue:a.state.user.phone,"onUpdate:modelValue":s[1]||(s[1]=t=>a.state.user.phone=t),dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},validation:d.value,mode:"national",inputOptions:{placeholder:e.unref(l)("phonePlaceholder")},class:"bg-grey pd-small radius-small mn-b-thin"},null,8,["modelValue","validation","inputOptions"])],512),[[e.vShow,n.value==="phone"]])]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",I,[e.createVNode(c.default,{field:a.state.user.email,"onUpdate:field":s[2]||(s[2]=t=>a.state.user.email=t),placeholder:e.unref(l)("emailPlaceholder"),validation:u.value,class:"bg-grey pd-medium radius-small"},null,8,["field","placeholder","validation"])],512),[[e.vShow,n.value==="email"]])]),_:1})]),e.createVNode(c.default,{field:a.state.user.password,"onUpdate:field":s[3]||(s[3]=t=>a.state.user.password=t),type:"password",validation:m.value,placeholder:e.unref(l)("passwordPlaceholder"),class:"bg-grey pd-medium radius-small mn-b-semi"},null,8,["field","validation","placeholder"]),e.createElementVNode("div",U,[e.createVNode(i,{to:"/auth/reset-password",class:"underline d-block t-blue"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("forgotPassword")),1)]),_:1})]),e.createVNode(V.default,{submit:v,callback:_,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("signin")),1)]),_:1})])}}};exports.default=k;
@@ -1,15 +1,15 @@
1
- import { ref as p, onMounted as U, resolveComponent as k, openBlock as C, createElementBlock as E, createElementVNode as l, createTextVNode as c, toDisplayString as d, unref as o, createVNode as i, withCtx as u, Transition as f, withDirectives as v, vShow as g } from "vue";
1
+ import { ref as p, onMounted as U, resolveComponent as k, openBlock as C, createElementBlock as E, createElementVNode as l, createTextVNode as c, toDisplayString as d, unref as o, createVNode as i, withCtx as u, Transition as f, withDirectives as v, vShow as b } from "vue";
2
2
  import I from "../../../../components/Tab/Tab.vue2.js";
3
- import w from "../../../../components/Field/Field.vue2.js";
3
+ import g from "../../../../components/Field/Field.vue2.js";
4
4
  import D from "../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import j from "../../../../components/Button/Button.vue2.js";
5
+ import j from "../../../../components/Button/Button.vue.js";
6
6
  import { useRoute as F, useRouter as N } from "vue-router";
7
7
  import { useI18n as O } from "vue-i18n";
8
8
  import T from "../../localization/SignIn.json.js";
9
9
  import { state as s, actions as q } from "../../store/auth.js";
10
- import { validateInputs as b, validatePhone as A, validateEmail as B } from "../../../middlewares/client/inputs.validation.js";
10
+ import { validateInputs as w, validatePhone as A, validateEmail as B } from "../../../middlewares/client/inputs.validation.js";
11
11
  import "./SignIn.vue2.js";
12
- const R = { class: "" }, $ = ["src"], L = { class: "mn-medium" }, M = /* @__PURE__ */ l("br", null, null, -1), z = { class: "t-semi" }, G = { class: "mn-big" }, H = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, J = { class: "pos-relative" }, K = { class: "mn-thin radius-small" }, Q = { class: "mn-thin radius-small o-hidden" }, W = { class: "w-100 mn-big" }, de = {
12
+ const R = { class: "" }, $ = ["src"], L = { class: "mn-b-medium" }, M = /* @__PURE__ */ l("br", null, null, -1), z = { class: "t-semi" }, G = { class: "mn-b-big" }, H = { class: "mn-b-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, J = { class: "pos-relative" }, K = { class: "mn-b-thin radius-small" }, Q = { class: "mn-b-thin radius-small o-hidden" }, W = { class: "w-100 mn-b-big" }, de = {
13
13
  __name: "SignIn",
14
14
  setup(X) {
15
15
  const h = p(null), y = p(null), _ = p(null);
@@ -23,12 +23,12 @@ const R = { class: "" }, $ = ["src"], L = { class: "mn-medium" }, M = /* @__PURE
23
23
  });
24
24
  async function P() {
25
25
  try {
26
- n.value === "phone" && await b(
26
+ n.value === "phone" && await w(
27
27
  h,
28
28
  A,
29
29
  s.user.phone,
30
30
  "Некорректный телефон"
31
- ), n.value === "email" && await b(
31
+ ), n.value === "email" && await w(
32
32
  _,
33
33
  B,
34
34
  s.user.email,
@@ -54,7 +54,7 @@ const R = { class: "" }, $ = ["src"], L = { class: "mn-medium" }, M = /* @__PURE
54
54
  return C(), E("section", R, [
55
55
  l("img", {
56
56
  src: "/logo/logo_square.svg",
57
- class: "i-extra radius-small mn-small"
57
+ class: "i-extra radius-small mn-b-small"
58
58
  }, null, 8, $),
59
59
  l("h3", L, [
60
60
  c(d(o(a)("title")) + " ", 1),
@@ -97,10 +97,10 @@ const R = { class: "" }, $ = ["src"], L = { class: "mn-medium" }, M = /* @__PURE
97
97
  validation: h.value,
98
98
  mode: "national",
99
99
  inputOptions: { placeholder: o(a)("phonePlaceholder") },
100
- class: "bg-grey pd-small radius-small mn-thin"
100
+ class: "bg-grey pd-small radius-small mn-b-thin"
101
101
  }, null, 8, ["modelValue", "validation", "inputOptions"])
102
102
  ], 512), [
103
- [g, n.value === "phone"]
103
+ [b, n.value === "phone"]
104
104
  ])
105
105
  ]),
106
106
  _: 1
@@ -108,7 +108,7 @@ const R = { class: "" }, $ = ["src"], L = { class: "mn-medium" }, M = /* @__PURE
108
108
  i(f, { name: "slide-fade" }, {
109
109
  default: u(() => [
110
110
  v(l("div", Q, [
111
- i(w, {
111
+ i(g, {
112
112
  field: s.user.email,
113
113
  "onUpdate:field": t[2] || (t[2] = (e) => s.user.email = e),
114
114
  placeholder: o(a)("emailPlaceholder"),
@@ -116,19 +116,19 @@ const R = { class: "" }, $ = ["src"], L = { class: "mn-medium" }, M = /* @__PURE
116
116
  class: "bg-grey pd-medium radius-small"
117
117
  }, null, 8, ["field", "placeholder", "validation"])
118
118
  ], 512), [
119
- [g, n.value === "email"]
119
+ [b, n.value === "email"]
120
120
  ])
121
121
  ]),
122
122
  _: 1
123
123
  })
124
124
  ]),
125
- i(w, {
125
+ i(g, {
126
126
  field: s.user.password,
127
127
  "onUpdate:field": t[3] || (t[3] = (e) => s.user.password = e),
128
128
  type: "password",
129
129
  validation: y.value,
130
130
  placeholder: o(a)("passwordPlaceholder"),
131
- class: "bg-grey pd-medium radius-small mn-semi"
131
+ class: "bg-grey pd-medium radius-small mn-b-semi"
132
132
  }, null, 8, ["field", "validation", "placeholder"]),
133
133
  l("div", W, [
134
134
  i(m, {
@@ -144,7 +144,7 @@ const R = { class: "" }, $ = ["src"], L = { class: "mn-medium" }, M = /* @__PURE
144
144
  i(j, {
145
145
  submit: P,
146
146
  callback: S,
147
- class: "mn-thin"
147
+ class: "mn-b-thin"
148
148
  }, {
149
149
  default: u(() => [
150
150
  c(d(o(a)("signin")), 1)
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../components/Tab/Tab.vue2.cjs"),f=require("../../../../components/Field/Field.vue2.cjs"),_=require("../../../../components/FieldPhone/FieldPhone.vue.cjs"),V=require("../../../../components/Button/Button.vue2.cjs"),u=require("vue-router"),g=require("vue-i18n"),w=require("../../localization/SignUp.json.cjs"),n=require("../../store/auth.cjs"),N=require("../../store/twofa.cjs"),s=require("../../../middlewares/client/inputs.validation.cjs");require("./SignUp.vue2.cjs");const b={class:"t-left pd-medium"},E={class:"mn-small"},S={class:"mn-small t-transp"},y={class:"mn-small p-small uppercase t-semi bg-grey radius-big o-hidden"},q={class:"pos-relative"},C={class:"mn-semi radius-small"},D={class:"mn-small t-transp"},x={class:"mn-semi radius-small o-hidden"},T={class:"mn-small t-transp"},k={class:"w-100"},I={__name:"SignUp",setup(P){const{t}=g.useI18n(w.default),i=e.ref(null),r=e.ref(null);u.useRoute();const c=u.useRouter(),a=e.ref("phone");async function m(){try{a.value==="phone"&&await s.validateInputs(i,s.validatePhone,n.state.user.phone,"Некорректный телефон"),a.value==="email"&&await s.validateInputs(r,s.validateEmail,n.state.user.email,"Некорректный email")}catch{throw new Error}try{await N.sendCode(n.state.user,"signup",a.value)}catch{throw new Error}}function p(){c.push({name:"Enter Code"})}return(d,l)=>{const h=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",b,[e.createElementVNode("h3",E,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",S,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",y,[e.createVNode(v.default,{selected:a.value,"onUpdate:selected":l[0]||(l[0]=o=>a.value=o),tabs:[{name:e.unref(t)("phone"),value:"phone"},{name:e.unref(t)("email"),value:"email"}]},null,8,["selected","tabs"])]),e.createElementVNode("div",q,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",C,[e.createElementVNode("p",D,e.toDisplayString(e.unref(t)("smsNotice")),1),e.createVNode(_.default,{modelValue:n.state.user.phone,"onUpdate:modelValue":l[1]||(l[1]=o=>n.state.user.phone=o),dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},validation:i.value,mode:"national",inputOptions:{placeholder:e.unref(t)("phonePlaceholder")},class:"bg-grey pd-small radius-small mn-thin"},null,8,["modelValue","validation","inputOptions"])],512),[[e.vShow,a.value==="phone"]])]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",x,[e.createElementVNode("p",T,e.toDisplayString(e.unref(t)("emailNotice")),1),e.createVNode(f.default,{field:n.state.user.email,"onUpdate:field":l[2]||(l[2]=o=>n.state.user.email=o),placeholder:e.unref(t)("emailPlaceholder"),validation:r.value,class:"bg-grey pd-medium radius-small"},null,8,["field","placeholder","validation"])],512),[[e.vShow,a.value==="email"]])]),_:1})]),e.createVNode(V.default,{submit:m,callback:p,class:"mn-big"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("sendCode")),1)]),_:1}),e.createElementVNode("div",k,[e.createVNode(h,{to:"/auth/signin",class:"underline mn-medium d-block t-blue"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("haveAccount")),1)]),_:1})])])}}};exports.default=I;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../components/Tab/Tab.vue2.cjs"),f=require("../../../../components/Field/Field.vue2.cjs"),_=require("../../../../components/FieldPhone/FieldPhone.vue.cjs"),b=require("../../../../components/Button/Button.vue.cjs"),u=require("vue-router"),V=require("vue-i18n"),g=require("../../localization/SignUp.json.cjs"),n=require("../../store/auth.cjs"),w=require("../../store/twofa.cjs"),s=require("../../../middlewares/client/inputs.validation.cjs");require("./SignUp.vue2.cjs");const N={class:"t-left pd-medium"},E={class:"mn-b-small"},S={class:"mn-b-small t-transp"},y={class:"mn-b-small p-small uppercase t-semi bg-grey radius-big o-hidden"},q={class:"pos-relative"},C={class:"mn-b-semi radius-small"},D={class:"mn-b-small t-transp"},x={class:"mn-b-semi radius-small o-hidden"},T={class:"mn-b-small t-transp"},k={class:"w-100"},I={__name:"SignUp",setup(P){const{t}=V.useI18n(g.default),i=e.ref(null),r=e.ref(null);u.useRoute();const c=u.useRouter(),a=e.ref("phone");async function m(){try{a.value==="phone"&&await s.validateInputs(i,s.validatePhone,n.state.user.phone,"Некорректный телефон"),a.value==="email"&&await s.validateInputs(r,s.validateEmail,n.state.user.email,"Некорректный email")}catch{throw new Error}try{await w.sendCode(n.state.user,"signup",a.value)}catch{throw new Error}}function p(){c.push({name:"Enter Code"})}return(d,l)=>{const h=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",N,[e.createElementVNode("h3",E,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",S,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",y,[e.createVNode(v.default,{selected:a.value,"onUpdate:selected":l[0]||(l[0]=o=>a.value=o),tabs:[{name:e.unref(t)("phone"),value:"phone"},{name:e.unref(t)("email"),value:"email"}]},null,8,["selected","tabs"])]),e.createElementVNode("div",q,[e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",C,[e.createElementVNode("p",D,e.toDisplayString(e.unref(t)("smsNotice")),1),e.createVNode(_.default,{modelValue:n.state.user.phone,"onUpdate:modelValue":l[1]||(l[1]=o=>n.state.user.phone=o),dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},validation:i.value,mode:"national",inputOptions:{placeholder:e.unref(t)("phonePlaceholder")},class:"bg-grey pd-small radius-small mn-b-thin"},null,8,["modelValue","validation","inputOptions"])],512),[[e.vShow,a.value==="phone"]])]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",x,[e.createElementVNode("p",T,e.toDisplayString(e.unref(t)("emailNotice")),1),e.createVNode(f.default,{field:n.state.user.email,"onUpdate:field":l[2]||(l[2]=o=>n.state.user.email=o),placeholder:e.unref(t)("emailPlaceholder"),validation:r.value,class:"bg-grey pd-medium radius-small"},null,8,["field","placeholder","validation"])],512),[[e.vShow,a.value==="email"]])]),_:1})]),e.createVNode(b.default,{submit:m,callback:p,class:"mn-b-big"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("sendCode")),1)]),_:1}),e.createElementVNode("div",k,[e.createVNode(h,{to:"/auth/signin",class:"underline mn-b-medium d-block t-blue"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("haveAccount")),1)]),_:1})])])}}};exports.default=I;
@@ -2,28 +2,28 @@ import { ref as d, resolveComponent as C, openBlock as k, createElementBlock as
2
2
  import x from "../../../../components/Tab/Tab.vue2.js";
3
3
  import N from "../../../../components/Field/Field.vue2.js";
4
4
  import S from "../../../../components/FieldPhone/FieldPhone.vue.js";
5
- import D from "../../../../components/Button/Button.vue2.js";
5
+ import D from "../../../../components/Button/Button.vue.js";
6
6
  import { useRoute as I, useRouter as P } from "vue-router";
7
7
  import { useI18n as U } from "vue-i18n";
8
8
  import F from "../../localization/SignUp.json.js";
9
9
  import { state as s } from "../../store/auth.js";
10
10
  import { sendCode as O } from "../../store/twofa.js";
11
- import { validateInputs as w, validatePhone as T, validateEmail as A } from "../../../middlewares/client/inputs.validation.js";
11
+ import { validateInputs as b, validatePhone as T, validateEmail as A } from "../../../middlewares/client/inputs.validation.js";
12
12
  import "./SignUp.vue2.js";
13
- const B = { class: "t-left pd-medium" }, R = { class: "mn-small" }, $ = { class: "mn-small t-transp" }, L = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, j = { class: "pos-relative" }, q = { class: "mn-semi radius-small" }, z = { class: "mn-small t-transp" }, G = { class: "mn-semi radius-small o-hidden" }, H = { class: "mn-small t-transp" }, J = { class: "w-100" }, ie = {
13
+ const B = { class: "t-left pd-medium" }, R = { class: "mn-b-small" }, $ = { class: "mn-b-small t-transp" }, L = { class: "mn-b-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, j = { class: "pos-relative" }, q = { class: "mn-b-semi radius-small" }, z = { class: "mn-b-small t-transp" }, G = { class: "mn-b-semi radius-small o-hidden" }, H = { class: "mn-b-small t-transp" }, J = { class: "w-100" }, ie = {
14
14
  __name: "SignUp",
15
15
  setup(K) {
16
16
  const { t: e } = U(F), u = d(null), c = d(null);
17
17
  I();
18
- const b = P(), l = d("phone");
18
+ const w = P(), l = d("phone");
19
19
  async function g() {
20
20
  try {
21
- l.value === "phone" && await w(
21
+ l.value === "phone" && await b(
22
22
  u,
23
23
  T,
24
24
  s.user.phone,
25
25
  "Некорректный телефон"
26
- ), l.value === "email" && await w(
26
+ ), l.value === "email" && await b(
27
27
  c,
28
28
  A,
29
29
  s.user.email,
@@ -39,7 +39,7 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-small" }, $ = { class:
39
39
  }
40
40
  }
41
41
  function V() {
42
- b.push({ name: "Enter Code" });
42
+ w.push({ name: "Enter Code" });
43
43
  }
44
44
  return (p, i) => {
45
45
  const y = C("router-link");
@@ -72,7 +72,7 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-small" }, $ = { class:
72
72
  validation: u.value,
73
73
  mode: "national",
74
74
  inputOptions: { placeholder: t(e)("phonePlaceholder") },
75
- class: "bg-grey pd-small radius-small mn-thin"
75
+ class: "bg-grey pd-small radius-small mn-b-thin"
76
76
  }, null, 8, ["modelValue", "validation", "inputOptions"])
77
77
  ], 512), [
78
78
  [f, l.value === "phone"]
@@ -101,7 +101,7 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-small" }, $ = { class:
101
101
  a(D, {
102
102
  submit: g,
103
103
  callback: V,
104
- class: "mn-big"
104
+ class: "mn-b-big"
105
105
  }, {
106
106
  default: m(() => [
107
107
  v(n(t(e)("sendCode")), 1)
@@ -111,7 +111,7 @@ const B = { class: "t-left pd-medium" }, R = { class: "mn-small" }, $ = { class:
111
111
  o("div", J, [
112
112
  a(y, {
113
113
  to: "/auth/signin",
114
- class: "underline mn-medium d-block t-blue"
114
+ class: "underline mn-b-medium d-block t-blue"
115
115
  }, {
116
116
  default: m(() => [
117
117
  v(n(t(e)("haveAccount")), 1)
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/vue3-carousel/dist/carousel.css.cjs");const l=require("vue-i18n"),s=require("../../../../../../node_modules/vue3-carousel/dist/carousel.es.cjs");require("./SliderFeatures.vue2.cjs");const u={class:"parent-div"},c={class:"mn-small"},d={class:"mn-big mn-r-small mn-l-small"},p={__name:"SliderFeatures",setup(m){const t=e.ref(null),n={messages:{en:{features:[{title:"What's the Weeder Token, Dude?",description:"WDT is like, the backbone of our rad community. It's cash, it's power, it's an investment. Groovy, right?"},{title:"Light Up and Level Up",description:"Order up, light up, and earn Weeder tokens. More tokes, more cash in your pocket, man."},{title:"Hang Ten with Our Community",description:"Find the dopest strains and start floating on cloud 9 with us!"},{title:"Shop 'Til You Drop... Into Your Couch",description:"Score primo bud and gear with just a few clicks. Delivered right to your pad!"}]},ru:{features:[{title:"Что такое токен Weeder, Бро?",description:"WDT - это как основа нашего крутого сообщества. Это деньги, это власть, это инвестиции. Круто, а?"},{title:"Зажигай и Развивайся",description:"Закажи шмали, курни и зарабатывай токены Weeder. Чем больше курнешь, тем больше кэша у тебя в кармане, чувак."},{title:"Веселись с Нашим Сообществом",description:"Найди самые крутые сорта и начни шмалить на девятом облаке вместе с нами."},{title:"Покупайте, Когда Накурились",description:"Закажи премиумную бошку и крутые аксессуары за пару кликов, чувак. Прямо к твоей двери!"}]}}},{tm:i,rt:g}=l.useI18n(n),a=e.ref(!1);return e.onMounted(()=>{setTimeout(()=>{t.value.restartCarousel(),a.value=!0},"500")}),(h,f)=>(e.openBlock(),e.createBlock(e.unref(s.Carousel),{ref_key:"ImagesSlider",ref:t,"items-to-show":1,wrapAround:!0,transition:330,autoplay:3e3,pauseAutoplayOnHover:!0,class:"bg-grey w-100"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i)("features"),(r,o)=>(e.openBlock(),e.createBlock(e.unref(s.Slide),{key:o,class:"w-100 flex-v-center flex"},{default:e.withCtx(()=>[e.createElementVNode("div",u,[e.createElementVNode("div",{class:"background-div",style:e.normalizeStyle(`background-image: url(/assets/images/features/${o}.png); background-size: auto 100%; background-repeat: no-repeat; background-position: center center;`)},null,4),e.createElementVNode("h4",c,e.toDisplayString(r.title),1),e.createElementVNode("p",d,e.toDisplayString(r.description),1)])]),_:2},1024))),128))]),_:1},512))}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/vue3-carousel/dist/carousel.css.cjs");const l=require("vue-i18n"),s=require("../../../../../../node_modules/vue3-carousel/dist/carousel.es.cjs");require("./SliderFeatures.vue2.cjs");const u={class:"parent-div"},c={class:"mn-b-small"},d={class:"mn-b-big mn-r-small mn-l-small"},p={__name:"SliderFeatures",setup(m){const t=e.ref(null),n={messages:{en:{features:[{title:"What's the Weeder Token, Dude?",description:"WDT is like, the backbone of our rad community. It's cash, it's power, it's an investment. Groovy, right?"},{title:"Light Up and Level Up",description:"Order up, light up, and earn Weeder tokens. More tokes, more cash in your pocket, man."},{title:"Hang Ten with Our Community",description:"Find the dopest strains and start floating on cloud 9 with us!"},{title:"Shop 'Til You Drop... Into Your Couch",description:"Score primo bud and gear with just a few clicks. Delivered right to your pad!"}]},ru:{features:[{title:"Что такое токен Weeder, Бро?",description:"WDT - это как основа нашего крутого сообщества. Это деньги, это власть, это инвестиции. Круто, а?"},{title:"Зажигай и Развивайся",description:"Закажи шмали, курни и зарабатывай токены Weeder. Чем больше курнешь, тем больше кэша у тебя в кармане, чувак."},{title:"Веселись с Нашим Сообществом",description:"Найди самые крутые сорта и начни шмалить на девятом облаке вместе с нами."},{title:"Покупайте, Когда Накурились",description:"Закажи премиумную бошку и крутые аксессуары за пару кликов, чувак. Прямо к твоей двери!"}]}}},{tm:i,rt:g}=l.useI18n(n),a=e.ref(!1);return e.onMounted(()=>{setTimeout(()=>{t.value.restartCarousel(),a.value=!0},"500")}),(h,f)=>(e.openBlock(),e.createBlock(e.unref(s.Carousel),{ref_key:"ImagesSlider",ref:t,"items-to-show":1,wrapAround:!0,transition:330,autoplay:3e3,pauseAutoplayOnHover:!0,class:"bg-grey w-100"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i)("features"),(r,o)=>(e.openBlock(),e.createBlock(e.unref(s.Slide),{key:o,class:"w-100 flex-v-center flex"},{default:e.withCtx(()=>[e.createElementVNode("div",u,[e.createElementVNode("div",{class:"background-div",style:e.normalizeStyle(`background-image: url(/assets/images/features/${o}.png); background-size: auto 100%; background-repeat: no-repeat; background-position: center center;`)},null,4),e.createElementVNode("h4",c,e.toDisplayString(r.title),1),e.createElementVNode("p",d,e.toDisplayString(r.description),1)])]),_:2},1024))),128))]),_:1},512))}};exports.default=p;
@@ -1,9 +1,9 @@
1
1
  import { ref as n, onMounted as m, openBlock as t, createBlock as a, unref as r, withCtx as l, createElementBlock as g, Fragment as h, renderList as f, createElementVNode as e, normalizeStyle as k, toDisplayString as u } from "vue";
2
2
  import "../../../../../../node_modules/vue3-carousel/dist/carousel.css.js";
3
3
  import { useI18n as _ } from "vue-i18n";
4
- import { Carousel as y, Slide as v } from "../../../../../../node_modules/vue3-carousel/dist/carousel.es.js";
4
+ import { Carousel as y, Slide as b } from "../../../../../../node_modules/vue3-carousel/dist/carousel.es.js";
5
5
  import "./SliderFeatures.vue2.js";
6
- const b = { class: "parent-div" }, w = { class: "mn-small" }, S = { class: "mn-big mn-r-small mn-l-small" }, O = {
6
+ const v = { class: "parent-div" }, w = { class: "mn-b-small" }, S = { class: "mn-b-big mn-r-small mn-l-small" }, O = {
7
7
  __name: "SliderFeatures",
8
8
  setup(W) {
9
9
  const o = n(null), c = {
@@ -65,12 +65,12 @@ const b = { class: "parent-div" }, w = { class: "mn-small" }, S = { class: "mn-b
65
65
  class: "bg-grey w-100"
66
66
  }, {
67
67
  default: l(() => [
68
- (t(!0), g(h, null, f(r(d)("features"), (s, i) => (t(), a(r(v), {
68
+ (t(!0), g(h, null, f(r(d)("features"), (s, i) => (t(), a(r(b), {
69
69
  key: i,
70
70
  class: "w-100 flex-v-center flex"
71
71
  }, {
72
72
  default: l(() => [
73
- e("div", b, [
73
+ e("div", v, [
74
74
  e("div", {
75
75
  class: "background-div",
76
76
  style: k(`background-image: url(/assets/images/features/${i}.png); background-size: auto 100%; background-repeat: no-repeat; background-position: center center;`)
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../mobile/components/Menu/Menu.vue2.cjs"),n=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),o=require("vue-router"),i={class:""},l=e.createElementVNode("h1",{class:"mn-small"},"Your Backoffice",-1),d=e.createElementVNode("span",null," Organizations ",-1),f=e.createElementVNode("span",null," Events ",-1),c=e.createElementVNode("span",null," Community ",-1),p=e.createElementVNode("span",null," Products ",-1),m=e.createElementVNode("span",null," Leftovers ",-1),_=e.createElementVNode("span",null," Orders ",-1),k=e.createElementVNode("span",null," Payments ",-1),C=e.createElementVNode("span",null," Gallery ",-1),N=e.createElementVNode("span",null," Reports ",-1),V={__name:"Dashboard",props:{favorites:Array},setup(v){const r=o.useRoute(),s=o.useRouter();return(h,t)=>(e.openBlock(),e.createElementBlock("div",i,[l,e.createVNode(u.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(n.default,{onClick:t[0]||(t[0]=a=>e.unref(s).push({name:"Backoffice Organizations",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(n.default,{onClick:t[1]||(t[1]=a=>e.unref(s).push({name:"Backoffice Events",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[f]),_:1}),e.createVNode(n.default,{onClick:t[2]||(t[2]=a=>e.unref(s).push({name:"Backoffice Community",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(n.default,{onClick:t[3]||(t[3]=a=>e.unref(s).push({name:"Backoffice Products",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[p]),_:1}),e.createVNode(n.default,{onClick:t[4]||(t[4]=a=>e.unref(s).push({name:"Backoffice Leftovers",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1}),e.createVNode(n.default,{onClick:t[5]||(t[5]=a=>e.unref(s).push({name:"Backoffice Orders",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[_]),_:1}),e.createVNode(n.default,{onClick:t[6]||(t[6]=a=>e.unref(s).push({name:"Backoffice Payments",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[k]),_:1}),e.createVNode(n.default,{onClick:t[7]||(t[7]=a=>e.unref(s).push({name:"Backoffice Gallery",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[C]),_:1}),e.createVNode(n.default,{onClick:t[8]||(t[8]=a=>e.unref(s).push({name:"Backoffice Reports",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[N]),_:1})]),_:1})]))}};exports.default=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../mobile/components/Menu/Menu.vue.cjs"),n=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),o=require("vue-router"),i={class:""},l=e.createElementVNode("h1",{class:"mn-b-small"},"Your Backoffice",-1),d=e.createElementVNode("span",null," Organizations ",-1),f=e.createElementVNode("span",null," Events ",-1),c=e.createElementVNode("span",null," Community ",-1),p=e.createElementVNode("span",null," Products ",-1),m=e.createElementVNode("span",null," Leftovers ",-1),_=e.createElementVNode("span",null," Orders ",-1),k=e.createElementVNode("span",null," Payments ",-1),C=e.createElementVNode("span",null," Gallery ",-1),N=e.createElementVNode("span",null," Reports ",-1),V={__name:"Dashboard",props:{favorites:Array},setup(v){const r=o.useRoute(),s=o.useRouter();return(h,t)=>(e.openBlock(),e.createElementBlock("div",i,[l,e.createVNode(u.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(n.default,{onClick:t[0]||(t[0]=a=>e.unref(s).push({name:"Backoffice Organizations",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(n.default,{onClick:t[1]||(t[1]=a=>e.unref(s).push({name:"Backoffice Events",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[f]),_:1}),e.createVNode(n.default,{onClick:t[2]||(t[2]=a=>e.unref(s).push({name:"Backoffice Community",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(n.default,{onClick:t[3]||(t[3]=a=>e.unref(s).push({name:"Backoffice Products",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[p]),_:1}),e.createVNode(n.default,{onClick:t[4]||(t[4]=a=>e.unref(s).push({name:"Backoffice Leftovers",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1}),e.createVNode(n.default,{onClick:t[5]||(t[5]=a=>e.unref(s).push({name:"Backoffice Orders",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[_]),_:1}),e.createVNode(n.default,{onClick:t[6]||(t[6]=a=>e.unref(s).push({name:"Backoffice Payments",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[k]),_:1}),e.createVNode(n.default,{onClick:t[7]||(t[7]=a=>e.unref(s).push({name:"Backoffice Gallery",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[C]),_:1}),e.createVNode(n.default,{onClick:t[8]||(t[8]=a=>e.unref(s).push({name:"Backoffice Reports",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[N]),_:1})]),_:1})]))}};exports.default=V;
@@ -1,8 +1,8 @@
1
1
  import { openBlock as p, createElementBlock as u, createVNode as e, withCtx as a, unref as o, createElementVNode as n } from "vue";
2
- import m from "../../../mobile/components/Menu/Menu.vue2.js";
2
+ import m from "../../../mobile/components/Menu/Menu.vue.js";
3
3
  import i from "../../../mobile/components/Menu/MenuItem.vue.js";
4
4
  import { useRoute as d, useRouter as _ } from "vue-router";
5
- const f = { class: "" }, c = /* @__PURE__ */ n("h1", { class: "mn-small" }, "Your Backoffice", -1), k = /* @__PURE__ */ n("span", null, " Organizations ", -1), v = /* @__PURE__ */ n("span", null, " Events ", -1), B = /* @__PURE__ */ n("span", null, " Community ", -1), C = /* @__PURE__ */ n("span", null, " Products ", -1), $ = /* @__PURE__ */ n("span", null, " Leftovers ", -1), y = /* @__PURE__ */ n("span", null, " Orders ", -1), h = /* @__PURE__ */ n("span", null, " Payments ", -1), g = /* @__PURE__ */ n("span", null, " Gallery ", -1), E = /* @__PURE__ */ n("span", null, " Reports ", -1), G = {
5
+ const f = { class: "" }, c = /* @__PURE__ */ n("h1", { class: "mn-b-small" }, "Your Backoffice", -1), k = /* @__PURE__ */ n("span", null, " Organizations ", -1), v = /* @__PURE__ */ n("span", null, " Events ", -1), B = /* @__PURE__ */ n("span", null, " Community ", -1), C = /* @__PURE__ */ n("span", null, " Products ", -1), $ = /* @__PURE__ */ n("span", null, " Leftovers ", -1), y = /* @__PURE__ */ n("span", null, " Orders ", -1), h = /* @__PURE__ */ n("span", null, " Payments ", -1), g = /* @__PURE__ */ n("span", null, " Gallery ", -1), E = /* @__PURE__ */ n("span", null, " Reports ", -1), G = {
6
6
  __name: "Dashboard",
7
7
  props: {
8
8
  favorites: Array
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../globals/components/blocks/CardHeader.vue.cjs"),i=require("./FooterBlogpost.vue.cjs"),d=require("../../../../components/Chips/Chips.vue.cjs"),m=require("../../../icons/navigation/IconEdit.vue.cjs"),g=require("vue-router"),p={class:"pos-relative bg-grey radius-big"},b=["src"],y={class:"pd-t-zero pd-medium"},k={key:0,class:"cursor-pointer mn-thin flex-nowrap flex w-100"},h={key:0,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},f={key:1,class:"mn-small t-transp p-big"},B={key:2,class:"mn-small h2"},v={__name:"CardBlogpost",props:["blogpost","user","type"],setup(t){const a=g.useRouter(),n=t,s=e.computed(()=>n.blogpost.content.find(o=>o.type==="ImageUpload")),r=e.computed(()=>n.blogpost.content.find(o=>o.type==="Textarea"));return(o,l)=>(e.openBlock(),e.createElementBlock("article",p,[t.user&&t.user===t.blogpost.creator.target._id?(e.openBlock(),e.createBlock(m.default,{key:0,onClick:l[0]||(l[0]=e.withModifiers(c=>o.$router.push({name:"Edit BlogPost",params:{url:t.blogpost.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createVNode(u.default,{class:e.normalizeClass({"mn-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),entity:t.blogpost,entityType:"blogpost",user:t.user,owner:t.blogpost.owner,creator:t.blogpost.creator,date:t.blogpost.createdAt},null,8,["class","entity","user","owner","creator","date"]),s.value&&s.value.content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("img",{key:1,src:(o.FILE_SERVER_URL||"")+s.value.content,alt:"Blog post image",class:"mn-medium object-fit-cover w-100 h-20r"},null,8,b)):e.createCommentVNode("",!0),e.createElementVNode("section",y,[t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("h3",{onClick:l[1]||(l[1]=c=>e.unref(a).push({name:"BlogPost",params:{url:t.blogpost.url}})),class:""},e.toDisplayString(t.blogpost.name),1),t.blogpost.status==="draft"?(e.openBlock(),e.createElementBlock("div",h,e.toDisplayString(t.blogpost.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r.value&&r.value.content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("p",f,e.toDisplayString(r.value.content.slice(0,120))+"... ",1)):e.createCommentVNode("",!0),t.type==="blogpostPage"?(e.openBlock(),e.createElementBlock("h3",B,e.toDisplayString(t.blogpost.name),1)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default"),t.type!=="short"&&t.blogpost.tags.length>0?(e.openBlock(),e.createBlock(d.default,{key:3,chips:t.blogpost.tags},null,8,["chips"])):e.createCommentVNode("",!0)]),e.createVNode(i.default,{class:"pd-t-zero pd-medium",blogpost:t.blogpost,user:t.user},null,8,["blogpost","user"])]))}};exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../globals/components/blocks/CardHeader.vue.cjs"),i=require("./FooterBlogpost.vue.cjs"),d=require("../../../../components/Chips/Chips.vue.cjs"),m=require("../../../icons/navigation/IconEdit.vue.cjs"),g=require("vue-router"),p={class:"pos-relative bg-grey radius-big"},b=["src"],y={class:"pd-t-zero pd-medium"},k={key:0,class:"cursor-pointer mn-b-thin flex-nowrap flex w-100"},h={key:0,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},f={key:1,class:"mn-b-small t-transp p-big"},B={key:2,class:"mn-b-small h2"},v={__name:"CardBlogpost",props:["blogpost","user","type"],setup(t){const a=g.useRouter(),n=t,s=e.computed(()=>n.blogpost.content.find(o=>o.type==="ImageUpload")),r=e.computed(()=>n.blogpost.content.find(o=>o.type==="Textarea"));return(o,l)=>(e.openBlock(),e.createElementBlock("article",p,[t.user&&t.user===t.blogpost.creator.target._id?(e.openBlock(),e.createBlock(m.default,{key:0,onClick:l[0]||(l[0]=e.withModifiers(c=>o.$router.push({name:"Edit BlogPost",params:{url:t.blogpost.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createVNode(u.default,{class:e.normalizeClass({"mn-b-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),entity:t.blogpost,entityType:"blogpost",user:t.user,owner:t.blogpost.owner,creator:t.blogpost.creator,date:t.blogpost.createdAt},null,8,["class","entity","user","owner","creator","date"]),s.value&&s.value.content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("img",{key:1,src:(o.FILE_SERVER_URL||"")+s.value.content,alt:"Blog post image",class:"mn-b-medium object-fit-cover w-100 h-20r"},null,8,b)):e.createCommentVNode("",!0),e.createElementVNode("section",y,[t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("h3",{onClick:l[1]||(l[1]=c=>e.unref(a).push({name:"BlogPost",params:{url:t.blogpost.url}})),class:""},e.toDisplayString(t.blogpost.name),1),t.blogpost.status==="draft"?(e.openBlock(),e.createElementBlock("div",h,e.toDisplayString(t.blogpost.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r.value&&r.value.content&&t.type!=="blogpostPage"?(e.openBlock(),e.createElementBlock("p",f,e.toDisplayString(r.value.content.slice(0,120))+"... ",1)):e.createCommentVNode("",!0),t.type==="blogpostPage"?(e.openBlock(),e.createElementBlock("h3",B,e.toDisplayString(t.blogpost.name),1)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default"),t.type!=="short"&&t.blogpost.tags.length>0?(e.openBlock(),e.createBlock(d.default,{key:3,chips:t.blogpost.tags},null,8,["chips"])):e.createCommentVNode("",!0)]),e.createVNode(i.default,{class:"pd-t-zero pd-medium",blogpost:t.blogpost,user:t.user},null,8,["blogpost","user"])]))}};exports.default=v;
@@ -6,25 +6,25 @@ import B from "../../../icons/navigation/IconEdit.vue.js";
6
6
  import { useRouter as E } from "vue-router";
7
7
  const $ = { class: "pos-relative bg-grey radius-big" }, P = ["src"], C = { class: "pd-t-zero pd-medium" }, z = {
8
8
  key: 0,
9
- class: "cursor-pointer mn-thin flex-nowrap flex w-100"
9
+ class: "cursor-pointer mn-b-thin flex-nowrap flex w-100"
10
10
  }, I = {
11
11
  key: 0,
12
12
  class: "pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"
13
13
  }, R = {
14
14
  key: 1,
15
- class: "mn-small t-transp p-big"
15
+ class: "mn-b-small t-transp p-big"
16
16
  }, V = {
17
17
  key: 2,
18
- class: "mn-small h2"
18
+ class: "mn-b-small h2"
19
19
  }, A = {
20
20
  __name: "CardBlogpost",
21
21
  props: ["blogpost", "user", "type"],
22
22
  setup(t) {
23
- const p = E(), c = t, n = u(() => c.blogpost.content.find((o) => o.type === "ImageUpload")), i = u(() => c.blogpost.content.find((o) => o.type === "Textarea"));
23
+ const b = E(), c = t, n = u(() => c.blogpost.content.find((o) => o.type === "ImageUpload")), i = u(() => c.blogpost.content.find((o) => o.type === "Textarea"));
24
24
  return (o, r) => (e(), l("article", $, [
25
25
  t.user && t.user === t.blogpost.creator.target._id ? (e(), m(B, {
26
26
  key: 0,
27
- onClick: r[0] || (r[0] = f((b) => o.$router.push({
27
+ onClick: r[0] || (r[0] = f((p) => o.$router.push({
28
28
  name: "Edit BlogPost",
29
29
  params: {
30
30
  url: t.blogpost.url
@@ -34,7 +34,7 @@ const $ = { class: "pos-relative bg-grey radius-big" }, P = ["src"], C = { class
34
34
  })) : s("", !0),
35
35
  g(v, {
36
36
  class: y({
37
- "mn-small pd-medium": t.type !== "short",
37
+ "mn-b-small pd-medium": t.type !== "short",
38
38
  "flex-child-order-last flex-child mn-l-small": t.type === "short"
39
39
  }),
40
40
  entity: t.blogpost,
@@ -48,12 +48,12 @@ const $ = { class: "pos-relative bg-grey radius-big" }, P = ["src"], C = { class
48
48
  key: 1,
49
49
  src: (o.FILE_SERVER_URL || "") + n.value.content,
50
50
  alt: "Blog post image",
51
- class: "mn-medium object-fit-cover w-100 h-20r"
51
+ class: "mn-b-medium object-fit-cover w-100 h-20r"
52
52
  }, null, 8, P)) : s("", !0),
53
53
  d("section", C, [
54
54
  t.type !== "blogpostPage" ? (e(), l("div", z, [
55
55
  d("h3", {
56
- onClick: r[1] || (r[1] = (b) => h(p).push({
56
+ onClick: r[1] || (r[1] = (p) => h(b).push({
57
57
  name: "BlogPost",
58
58
  params: {
59
59
  url: t.blogpost.url
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),u=require("../../../../components/Select/Select.vue2.cjs"),a=require("../../store/blogposts.cjs"),c=require("../../../auth/store/auth.cjs"),m={class:"min-h-100vh pd-thin"},d={class:"mn-thin flex-v-center t-left flex-nowrap flex"},p={class:"flex-v-center flex-nowrap flex t-left"},f=e.createElementVNode("span",{class:""},"Topics for ",-1),g={class:"w-100 bg-grey pd-small radius-big mn-semi gap-thin flex-nowrap flex"},h={class:""},w={__name:"Community",setup(k){const l=n.useRoute(),r=n.useRouter();return(y,t)=>{const s=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",d,[e.createElementVNode("h2",p,[f,e.createVNode(u.default,{options:["today","week","month","year"],select:a.state.filter.period,"onUpdate:select":t[0]||(t[0]=o=>a.state.filter.period=o),placeholder:"Select type",class:"w-max mn-l-small bg-grey pd-thin radius-medium h2 t-center t-black"},null,8,["select"])])]),e.createElementVNode("ul",g,[e.createElementVNode("li",{class:e.normalizeClass([{"t-white bg-black":e.unref(l).params.category==="featured"},"t-medium pd-thin radius-small"]),onClick:t[1]||(t[1]=o=>e.unref(r).push({name:"Blog"}))},"👑 Featured",2),e.createElementVNode("li",{class:e.normalizeClass([{"t-white bg-black":e.unref(l).params.category==="popular"},"t-medium pd-thin radius-small"]),onClick:t[2]||(t[2]=o=>e.unref(r).push({name:"Blog",params:{category:"popular"}}))},"🔥 Popular",2),e.createElementVNode("li",{class:e.normalizeClass([{"t-white bg-black":e.unref(l).params.category==="new"},"t-medium pd-thin radius-small"]),onClick:t[3]||(t[3]=o=>e.unref(r).push({name:"Blog",params:{category:"new"}}))},"🆕 New",2),c.state.user._id?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass([{"t-white bg-black":e.unref(l).params.category==="following"},"t-medium pd-thin radius-small"]),onClick:t[4]||(t[4]=o=>e.unref(r).push({name:"Blog",params:{category:"following"}}))},"👥 Following",2)):e.createCommentVNode("",!0)]),e.createElementVNode("section",h,[e.createVNode(s,null,{default:e.withCtx(({Component:o,route:i})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o),{ref:"page",key:i.query}))]),_:2},1024)]),_:1})])])}}};exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),u=require("../../../../components/Select/Select.vue.cjs"),a=require("../../store/blogposts.cjs"),c=require("../../../auth/store/auth.cjs"),m={class:"min-h-100vh pd-thin"},d={class:"mn-b-thin flex-v-center t-left flex-nowrap flex"},p={class:"flex-v-center flex-nowrap flex t-left"},f=e.createElementVNode("span",{class:""},"Topics for ",-1),g={class:"w-100 bg-grey pd-small radius-big mn-b-semi gap-thin flex-nowrap flex"},h={class:""},w={__name:"Community",setup(k){const l=n.useRoute(),r=n.useRouter();return(y,t)=>{const s=e.resolveComponent("router-view");return e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",d,[e.createElementVNode("h2",p,[f,e.createVNode(u.default,{options:["today","week","month","year"],select:a.state.filter.period,"onUpdate:select":t[0]||(t[0]=o=>a.state.filter.period=o),placeholder:"Select type",class:"w-max mn-l-small bg-grey pd-thin radius-medium h2 t-center t-black"},null,8,["select"])])]),e.createElementVNode("ul",g,[e.createElementVNode("li",{class:e.normalizeClass([{"t-white bg-black":e.unref(l).params.category==="featured"},"t-medium pd-thin radius-small"]),onClick:t[1]||(t[1]=o=>e.unref(r).push({name:"Blog"}))},"👑 Featured",2),e.createElementVNode("li",{class:e.normalizeClass([{"t-white bg-black":e.unref(l).params.category==="popular"},"t-medium pd-thin radius-small"]),onClick:t[2]||(t[2]=o=>e.unref(r).push({name:"Blog",params:{category:"popular"}}))},"🔥 Popular",2),e.createElementVNode("li",{class:e.normalizeClass([{"t-white bg-black":e.unref(l).params.category==="new"},"t-medium pd-thin radius-small"]),onClick:t[3]||(t[3]=o=>e.unref(r).push({name:"Blog",params:{category:"new"}}))},"🆕 New",2),c.state.user._id?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass([{"t-white bg-black":e.unref(l).params.category==="following"},"t-medium pd-thin radius-small"]),onClick:t[4]||(t[4]=o=>e.unref(r).push({name:"Blog",params:{category:"following"}}))},"👥 Following",2)):e.createCommentVNode("",!0)]),e.createElementVNode("section",h,[e.createVNode(s,null,{default:e.withCtx(({Component:o,route:i})=>[e.createVNode(e.Transition,{name:"scaleIn",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o),{ref:"page",key:i.query}))]),_:2},1024)]),_:1})])])}}};exports.default=w;
@@ -1,9 +1,9 @@
1
1
  import { resolveComponent as f, openBlock as n, createElementBlock as m, createElementVNode as o, createVNode as i, normalizeClass as r, unref as t, createCommentVNode as g, withCtx as p, Transition as h, createBlock as w, resolveDynamicComponent as y } from "vue";
2
2
  import { useRoute as _, useRouter as k } from "vue-router";
3
- import b from "../../../../components/Select/Select.vue2.js";
3
+ import b from "../../../../components/Select/Select.vue.js";
4
4
  import { state as c } from "../../store/blogposts.js";
5
5
  import { state as v } from "../../../auth/store/auth.js";
6
- const x = { class: "min-h-100vh pd-thin" }, C = { class: "mn-thin flex-v-center t-left flex-nowrap flex" }, B = { class: "flex-v-center flex-nowrap flex t-left" }, $ = /* @__PURE__ */ o("span", { class: "" }, "Topics for ", -1), N = { class: "w-100 bg-grey pd-small radius-big mn-semi gap-thin flex-nowrap flex" }, V = { class: "" }, D = {
6
+ const x = { class: "min-h-100vh pd-thin" }, C = { class: "mn-b-thin flex-v-center t-left flex-nowrap flex" }, B = { class: "flex-v-center flex-nowrap flex t-left" }, $ = /* @__PURE__ */ o("span", { class: "" }, "Topics for ", -1), N = { class: "w-100 bg-grey pd-small radius-big mn-b-semi gap-thin flex-nowrap flex" }, V = { class: "" }, D = {
7
7
  __name: "Community",
8
8
  setup(E) {
9
9
  const s = _(), a = k();
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const p=require("../../../../components/EmptyState/EmptyState.vue.cjs"),d=require("../blocks/CardBlogpost.vue.cjs"),m=require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs"),g=require("../../../organizations/components/sections/Publics.vue.cjs"),f=require("../sections/Comments.vue.cjs"),v=require("../../../constructor/components/elements/Image.vue.cjs"),y=require("../../store/blogposts.cjs"),a=require("../../../auth/store/auth.cjs"),B=require("vue-router"),C={class:"pd-thin"},k={__name:"BlogPost",setup(_){const u=B.useRoute(),r=e.ref(null),o=e.ref(!0);e.onMounted(async()=>{o.value=!0;const t=await y.read({user:a.state.user._id,url:u.params.url});r.value=t[0],o.value=!1});const c={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:v.default};function i(t){return t.type==="Textarea"?{innerHTML:t.content,class:"p-medium"}:t.type==="H2"?{innerHTML:t.content,class:"h3"}:t.type==="Caption"?{innerHTML:t.content}:t.type==="ImageUpload"?{src:t.content}:{}}return(t,s)=>(e.openBlock(),e.createElementBlock("section",C,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(3,n=>e.createVNode(m.default,{key:n})),64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!o.value&&!r.value?(e.openBlock(),e.createBlock(p.default,{key:0,title:"No Blogpost Found",description:"Currently, there are no blogposts available. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!o.value&&r.value?(e.openBlock(),e.createBlock(d.default,{key:0,onClick:s[0]||(s[0]=n=>t.$router.push({name:"Blogpost",params:{url:r.value.url}})),blogpost:r.value,user:a.state.user._id,type:"blogpostPage",class:e.normalizeClass(["mn-medium",{"br-b br-solid br-black-transp-10":t.index!==r.value.length-1}])},{default:e.withCtx(()=>[e.createElementVNode("section",null,[r.value&&r.value.content?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value.content,(n,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[n.type]),e.mergeProps({key:l,index:l,component:n,prop:n,class:n.class,content:"content"},i(n),{class:"mn-regular"}),null,16,["index","component","prop","class"]))),128)):e.createCommentVNode("",!0)])]),_:1},8,["blogpost","user","class"])):e.createCommentVNode("",!0),e.createVNode(g.default,{class:"mn-small"}),!o.value&&r.value?(e.openBlock(),e.createBlock(f.default,{key:1,type:"blogpost",target:r.value._id,owner:a.state.user._id},null,8,["target","owner"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const p=require("../../../../components/EmptyState/EmptyState.vue.cjs"),d=require("../blocks/CardBlogpost.vue.cjs"),m=require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs"),g=require("../../../organizations/components/sections/Publics.vue.cjs"),f=require("../sections/Comments.vue.cjs"),v=require("../../../constructor/components/elements/Image.vue.cjs"),y=require("../../store/blogposts.cjs"),a=require("../../../auth/store/auth.cjs"),B=require("vue-router"),C={class:"pd-thin"},k={__name:"BlogPost",setup(_){const u=B.useRoute(),r=e.ref(null),o=e.ref(!0);e.onMounted(async()=>{o.value=!0;const t=await y.read({user:a.state.user._id,url:u.params.url});r.value=t[0],o.value=!1});const c={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:v.default};function i(t){return t.type==="Textarea"?{innerHTML:t.content,class:"p-medium"}:t.type==="H2"?{innerHTML:t.content,class:"h3"}:t.type==="Caption"?{innerHTML:t.content}:t.type==="ImageUpload"?{src:t.content}:{}}return(t,s)=>(e.openBlock(),e.createElementBlock("section",C,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(3,n=>e.createVNode(m.default,{key:n})),64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!o.value&&!r.value?(e.openBlock(),e.createBlock(p.default,{key:0,title:"No Blogpost Found",description:"Currently, there are no blogposts available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!o.value&&r.value?(e.openBlock(),e.createBlock(d.default,{key:0,onClick:s[0]||(s[0]=n=>t.$router.push({name:"Blogpost",params:{url:r.value.url}})),blogpost:r.value,user:a.state.user._id,type:"blogpostPage",class:e.normalizeClass(["mn-b-medium",{"br-b br-solid br-black-transp-10":t.index!==r.value.length-1}])},{default:e.withCtx(()=>[e.createElementVNode("section",null,[r.value&&r.value.content?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value.content,(n,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[n.type]),e.mergeProps({key:l,index:l,component:n,prop:n,class:n.class,content:"content"},i(n),{class:"mn-b-regular"}),null,16,["index","component","prop","class"]))),128)):e.createCommentVNode("",!0)])]),_:1},8,["blogpost","user","class"])):e.createCommentVNode("",!0),e.createVNode(g.default,{class:"mn-b-small"}),!o.value&&r.value?(e.openBlock(),e.createBlock(f.default,{key:1,type:"blogpost",target:r.value._id,owner:a.state.user._id},null,8,["target","owner"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=k;
@@ -1,4 +1,4 @@
1
- import { ref as d, onMounted as B, openBlock as n, createElementBlock as i, createVNode as o, TransitionGroup as f, withCtx as l, Fragment as g, renderList as _, createCommentVNode as s, Transition as C, createBlock as u, normalizeClass as T, createElementVNode as $, resolveDynamicComponent as b, mergeProps as k } from "vue";
1
+ import { ref as d, onMounted as h, openBlock as n, createElementBlock as i, createVNode as o, TransitionGroup as f, withCtx as l, Fragment as g, renderList as _, createCommentVNode as s, Transition as B, createBlock as u, normalizeClass as C, createElementVNode as T, resolveDynamicComponent as $, mergeProps as k } from "vue";
2
2
  import "../../../../components/Loader/Loader.vue.js";
3
3
  import x from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import H from "../blocks/CardBlogpost.vue.js";
@@ -13,7 +13,7 @@ const E = { class: "pd-thin" }, K = {
13
13
  __name: "BlogPost",
14
14
  setup(F) {
15
15
  const v = V(), t = d(null), a = d(!0);
16
- B(async () => {
16
+ h(async () => {
17
17
  a.value = !0;
18
18
  const e = await N({ user: m.user._id, url: v.params.url });
19
19
  t.value = e[0], a.value = !1;
@@ -25,7 +25,7 @@ const E = { class: "pd-thin" }, K = {
25
25
  Caption: "p",
26
26
  ImageUpload: w
27
27
  };
28
- function h(e) {
28
+ function b(e) {
29
29
  return e.type === "Textarea" ? { innerHTML: e.content, class: "p-medium" } : e.type === "H2" ? { innerHTML: e.content, class: "h3" } : e.type === "Caption" ? { innerHTML: e.content } : e.type === "ImageUpload" ? { src: e.content } : {};
30
30
  }
31
31
  return (e, p) => (n(), i("section", E, [
@@ -39,13 +39,13 @@ const E = { class: "pd-thin" }, K = {
39
39
  ]),
40
40
  _: 1
41
41
  }),
42
- o(C, { name: "fade" }, {
42
+ o(B, { name: "fade" }, {
43
43
  default: l(() => [
44
44
  !a.value && !t.value ? (n(), u(x, {
45
45
  key: 0,
46
46
  title: "No Blogpost Found",
47
47
  description: "Currently, there are no blogposts available. Please check back later.",
48
- class: "pd-medium mn-thin bg-grey radius-big"
48
+ class: "pd-medium mn-b-thin bg-grey radius-big"
49
49
  })) : s("", !0)
50
50
  ]),
51
51
  _: 1
@@ -62,25 +62,25 @@ const E = { class: "pd-thin" }, K = {
62
62
  blogpost: t.value,
63
63
  user: m.user._id,
64
64
  type: "blogpostPage",
65
- class: T(["mn-medium", {
65
+ class: C(["mn-b-medium", {
66
66
  "br-b br-solid br-black-transp-10": e.index !== t.value.length - 1
67
67
  }])
68
68
  }, {
69
69
  default: l(() => [
70
- $("section", null, [
71
- t.value && t.value.content ? (n(!0), i(g, { key: 0 }, _(t.value.content, (r, c) => (n(), u(b(y[r.type]), k({
70
+ T("section", null, [
71
+ t.value && t.value.content ? (n(!0), i(g, { key: 0 }, _(t.value.content, (r, c) => (n(), u($(y[r.type]), k({
72
72
  key: c,
73
73
  index: c,
74
74
  component: r,
75
75
  prop: r,
76
76
  class: r.class,
77
77
  content: "content"
78
- }, h(r), { class: "mn-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : s("", !0)
78
+ }, b(r), { class: "mn-b-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : s("", !0)
79
79
  ])
80
80
  ]),
81
81
  _: 1
82
82
  }, 8, ["blogpost", "user", "class"])) : s("", !0),
83
- o(M, { class: "mn-small" }),
83
+ o(M, { class: "mn-b-small" }),
84
84
  !a.value && t.value ? (n(), u(P, {
85
85
  key: 1,
86
86
  type: "blogpost",