@ozdao/prometheus-framework 0.2.81 → 0.2.83

Sign up to get free protection for your applications and to get access to all the features.
Files changed (388) hide show
  1. package/dist/auth.server.js +1 -1
  2. package/dist/auth.server.mjs +1 -1
  3. package/dist/community.server.js +3 -3
  4. package/dist/community.server.mjs +3 -3
  5. package/dist/credentials.schema-B-KD_ozQ.js +9 -0
  6. package/dist/credentials.schema-C9dmNy7o.mjs +10 -0
  7. package/dist/credentials.schema-CDZCKfEI.mjs +106 -0
  8. package/dist/credentials.schema-CfhPcsuI.js +105 -0
  9. package/dist/events.server.js +4 -15
  10. package/dist/events.server.mjs +3 -14
  11. package/dist/files.server.js +1 -1
  12. package/dist/files.server.mjs +1 -1
  13. package/dist/gallery.server.js +1 -1
  14. package/dist/gallery.server.mjs +1 -1
  15. package/dist/index-B6a1mPgp.mjs +217 -0
  16. package/dist/index-BCCiEK_u.js +216 -0
  17. package/dist/main-8N2Jmsuk.js +91 -0
  18. package/dist/main-CkeuHuCY.mjs +13619 -0
  19. package/dist/main.css +1 -1
  20. package/dist/metadata.schema-Cu_mPkjE.js +77 -0
  21. package/dist/metadata.schema-cbFgazeK.mjs +78 -0
  22. package/dist/middlewares.server.js +1 -1
  23. package/dist/middlewares.server.mjs +1 -1
  24. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -0
  25. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +238 -0
  26. package/dist/orders.server.js +592 -0
  27. package/dist/orders.server.mjs +593 -0
  28. package/dist/organizations.server.js +295 -131
  29. package/dist/organizations.server.mjs +295 -131
  30. package/dist/products.server.js +2 -2
  31. package/dist/products.server.mjs +2 -2
  32. package/dist/profile.schema-24ZpZQJe.mjs +25 -0
  33. package/dist/profile.schema-CkOhhf37.js +24 -0
  34. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  35. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +33 -24
  36. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/components/Block/Block.vue.js +23 -20
  38. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -225
  40. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  41. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +102 -1
  42. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +71 -60
  44. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/components/Field/Field.vue.js +1 -84
  46. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  47. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +84 -1
  48. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  50. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +325 -340
  52. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +2 -2
  54. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  55. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +53 -44
  56. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  57. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +41 -40
  58. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  59. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +37 -31
  60. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +18 -19
  62. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -36
  64. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  65. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +36 -1
  66. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
  68. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  69. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
  70. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
  72. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  74. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
  76. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +30 -30
  78. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  80. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
  82. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
  84. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/auth/store/auth.js +26 -26
  86. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +78 -103
  88. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -0
  89. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +28 -0
  90. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -0
  91. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +26 -0
  92. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +1 -0
  93. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +1 -0
  94. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -0
  95. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +77 -0
  96. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +1 -0
  97. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +1 -0
  98. package/dist/prometheus-framework/src/modules/chats/store/chat.store.cjs +1 -0
  99. package/dist/prometheus-framework/src/modules/chats/store/chat.store.js +40 -0
  100. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
  102. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  104. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +15 -15
  106. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  108. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  109. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
  110. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  111. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  112. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  114. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +4 -4
  116. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  118. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  120. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  122. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  124. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +29 -27
  126. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  128. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
  130. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  132. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +2 -2
  134. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js +33 -26
  136. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +6 -3
  138. package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -0
  139. package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +70 -0
  140. package/dist/prometheus-framework/src/modules/icons/entities/IconGallery.vue.cjs +1 -0
  141. package/dist/prometheus-framework/src/modules/icons/entities/IconGallery.vue.js +28 -0
  142. package/dist/prometheus-framework/src/modules/icons/entities/IconLeftovers.vue.cjs +1 -0
  143. package/dist/prometheus-framework/src/modules/icons/entities/IconLeftovers.vue.js +30 -0
  144. package/dist/prometheus-framework/src/modules/icons/entities/IconOrders.vue.cjs +1 -0
  145. package/dist/prometheus-framework/src/modules/icons/entities/IconOrders.vue.js +35 -0
  146. package/dist/prometheus-framework/src/modules/icons/entities/IconProducts.vue.cjs +1 -0
  147. package/dist/prometheus-framework/src/modules/icons/entities/IconProducts.vue.js +28 -0
  148. package/dist/prometheus-framework/src/modules/icons/navigation/IconCheckmark.vue.cjs +1 -0
  149. package/dist/prometheus-framework/src/modules/icons/navigation/IconCheckmark.vue.js +29 -0
  150. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +1 -0
  151. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +30 -0
  152. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +63 -86
  154. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  156. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +121 -1
  158. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +1 -0
  159. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +1 -0
  160. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +3 -0
  161. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +92 -0
  162. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -0
  163. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +202 -0
  164. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +1 -0
  165. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +1 -0
  166. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -0
  167. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +127 -0
  168. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +1 -0
  169. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +1 -0
  170. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +174 -114
  172. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +41 -41
  174. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -0
  175. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +89 -0
  176. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +1 -0
  177. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +1 -0
  178. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +1 -0
  179. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +24 -0
  180. package/dist/prometheus-framework/src/modules/orders/components/sections/EmptyState.vue.cjs +1 -0
  181. package/dist/prometheus-framework/src/modules/orders/components/sections/EmptyState.vue.js +13 -0
  182. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -0
  183. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +141 -0
  184. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +1 -1
  186. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -0
  187. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +77 -0
  188. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +46 -35
  190. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +1 -0
  191. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +25 -0
  192. package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +1 -0
  193. package/dist/prometheus-framework/src/modules/orders/orders.client.js +56 -0
  194. package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -0
  195. package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +58 -0
  196. package/dist/prometheus-framework/src/modules/orders/store/customers.store.cjs +1 -0
  197. package/dist/prometheus-framework/src/modules/orders/store/customers.store.js +5 -0
  198. package/dist/prometheus-framework/src/modules/orders/store/models/customer.cjs +1 -0
  199. package/dist/prometheus-framework/src/modules/orders/store/models/customer.js +30 -0
  200. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/orders/store/orders.js +24 -25
  202. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +5 -1
  204. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +16 -16
  206. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +38 -49
  210. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  211. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  212. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +6 -6
  214. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  215. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +161 -138
  216. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  217. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +198 -78
  218. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  219. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +82 -125
  220. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  221. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  222. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  223. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  224. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  225. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  226. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  227. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +59 -70
  228. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  229. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  230. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
  231. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +34 -36
  232. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +38 -18
  234. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +34 -35
  236. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  238. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +41 -21
  240. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  242. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  244. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  246. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  248. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  250. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  252. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  253. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  254. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  255. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +3 -3
  256. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  257. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  258. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  259. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  260. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  261. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  262. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  263. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +24 -26
  264. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -0
  265. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +78 -0
  266. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  267. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  268. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  269. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  270. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  271. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  272. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  273. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  274. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  275. package/dist/prometheus-framework/src/modules/users/store/users.js +13 -14
  276. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  278. package/dist/prometheus-framework.cjs.js +1 -1
  279. package/dist/prometheus-framework.es.js +1 -1
  280. package/dist/queryProcessor-BJdKh0Ow.mjs +162 -0
  281. package/dist/queryProcessor-DRMo_GWK.js +161 -0
  282. package/dist/reports.server.js +1 -1
  283. package/dist/reports.server.mjs +1 -1
  284. package/dist/style.css +1 -1
  285. package/dist/users.server.js +58 -47
  286. package/dist/users.server.mjs +58 -47
  287. package/dist/wallet.server.js +2 -2
  288. package/dist/wallet.server.mjs +2 -2
  289. package/dist/web-CtVocufd.js +1 -0
  290. package/dist/web-DNq1tHCE.mjs +54 -0
  291. package/package.json +1 -1
  292. package/src/components/Address/Address.vue +13 -2
  293. package/src/components/Block/Block.vue +3 -2
  294. package/src/components/Button/Button.vue +9 -12
  295. package/src/components/Feed/Feed.vue +28 -6
  296. package/src/components/FieldPhone/FieldPhone.vue +592 -558
  297. package/src/components/LocationMarker/LocationMarker.vue +26 -22
  298. package/src/components/Popup/Popup.vue +22 -23
  299. package/src/components/Select/Select.vue +43 -32
  300. package/src/components/Slider/Slider.vue +3 -4
  301. package/src/modules/auth/components/pages/Invite.vue +7 -7
  302. package/src/modules/auth/store/auth.js +1 -1
  303. package/src/modules/backoffice/components/pages/Dashboard.vue +44 -29
  304. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  305. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  306. package/src/modules/events/components/blocks/CardEvent.vue +4 -3
  307. package/src/modules/events/components/pages/Events.vue +23 -6
  308. package/src/modules/globals/components/sections/SectionPageTitle.vue +19 -7
  309. package/src/modules/globals/controllers/utils/queryProcessor.js +21 -7
  310. package/src/modules/globals/localization/vue-i18n.js +3 -0
  311. package/src/modules/globals/models/credentials.schema.js +7 -0
  312. package/src/modules/globals/models/metadata.schema.js +17 -0
  313. package/src/modules/globals/models/profile.schema.js +23 -0
  314. package/src/modules/globals/models/socials.schema.js +22 -0
  315. package/src/modules/globals/router/routerGuards.js +1 -0
  316. package/src/modules/globals/services/globals.cashe.js +26 -0
  317. package/src/modules/globals/services/globals.crud.js +115 -0
  318. package/src/modules/globals/services/globals.logger.js +41 -0
  319. package/src/modules/globals/services/globals.store.js +114 -0
  320. package/src/modules/icons/entities/IconGallery.vue +14 -0
  321. package/src/modules/icons/entities/IconLeftovers.vue +14 -0
  322. package/src/modules/icons/entities/IconOrders.vue +15 -0
  323. package/src/modules/icons/entities/IconProducts.vue +14 -0
  324. package/src/modules/landing/components/sections/HeroSection.vue +1 -1
  325. package/src/modules/landing/components/sections/MobileApp.vue +4 -4
  326. package/src/modules/landing/router/landing.js +1 -1
  327. package/src/modules/marketplace/components/sections/Filters.vue +3 -3
  328. package/src/modules/middlewares/server/accessors/AccessController.js +33 -0
  329. package/src/modules/middlewares/server/accessors/ReadDepartments.js +101 -0
  330. package/src/modules/middlewares/server/verifyAccesses.js +33 -0
  331. package/src/modules/middlewares/server/verifyInvites.js +4 -4
  332. package/src/modules/orders/components/pages/OrderCreate.vue +2 -2
  333. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +105 -68
  334. package/src/modules/orders/components/pages/Orders.vue +2 -2
  335. package/src/modules/orders/components/sections/FormAddCustomer.vue +152 -0
  336. package/src/modules/orders/components/sections/FormCustomerDetails.vue +67 -0
  337. package/src/modules/orders/components/sections/FormDelivery.vue +17 -3
  338. package/src/modules/orders/controllers/applications.controller.js +2 -0
  339. package/src/modules/orders/controllers/orders.controller.js +77 -52
  340. package/src/modules/orders/models/application.model.js +25 -25
  341. package/src/modules/orders/models/customer.model.js +54 -18
  342. package/src/modules/orders/models/order.model.js +1 -1
  343. package/src/modules/orders/models/testimonial.model.js +22 -23
  344. package/src/modules/orders/orders.client.js +51 -51
  345. package/src/modules/orders/orders.server.js +36 -12
  346. package/src/modules/orders/router/orders.router.js +36 -41
  347. package/src/modules/orders/routes/orders.routes.js +3 -21
  348. package/src/modules/orders/store/customers.store.js +5 -0
  349. package/src/modules/orders/store/models/customer.js +29 -0
  350. package/src/modules/orders/store/orders.js +14 -20
  351. package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
  352. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  353. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +1 -12
  354. package/src/modules/organizations/components/pages/Department.vue +1 -1
  355. package/src/modules/organizations/components/pages/DepartmentEdit.vue +72 -48
  356. package/src/modules/organizations/components/pages/Members.vue +178 -64
  357. package/src/modules/organizations/components/pages/Organization.vue +1 -41
  358. package/src/modules/organizations/components/sections/MembersAdd.vue +44 -52
  359. package/src/modules/organizations/controllers/departments.controller.js +2 -4
  360. package/src/modules/organizations/controllers/invites.controller.js +24 -23
  361. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  362. package/src/modules/organizations/models/department.model.js +52 -2
  363. package/src/modules/organizations/models/invite.model.js +29 -32
  364. package/src/modules/organizations/models/membership.model.js +2 -0
  365. package/src/modules/organizations/models/organization.model.js +2 -1
  366. package/src/modules/organizations/organizations.client.js +0 -2
  367. package/src/modules/organizations/routes/departments.routes.js +18 -7
  368. package/src/modules/organizations/routes/invites.routes.js +2 -2
  369. package/src/modules/organizations/store/departments.js +22 -1
  370. package/src/modules/organizations/store/invites.js +74 -90
  371. package/src/modules/products/components/blocks/CardProduct.vue +24 -0
  372. package/src/modules/products/components/pages/Products.vue +1 -1
  373. package/src/modules/reports/components/sections/FormReport.vue +40 -40
  374. package/src/modules/spots/components/pages/Spot.vue +1 -1
  375. package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
  376. package/src/modules/users/components/blocks/CardUser.vue +85 -0
  377. package/src/modules/users/controllers/users.controller.js +36 -13
  378. package/src/modules/users/middlewares/visitor.logger.js +66 -0
  379. package/src/modules/users/models/request.model.js +18 -0
  380. package/src/modules/users/models/user.model.js +26 -55
  381. package/src/modules/users/models/visitor.model.js +14 -0
  382. package/src/modules/users/store/users.js +2 -11
  383. package/src/modules/wallet/controllers/routes/payments.routes.js +2 -0
  384. package/src/components/FieldPhone/FieldPhone(script-setup).vue +0 -1646
  385. package/src/components/FieldPhone/FieldPhone2.vue +0 -671
  386. package/src/modules/orders/components/sections/FormClientDetails.vue +0 -61
  387. package/src/modules/organizations/components/blocks/User.vue +0 -69
  388. /package/src/modules/backoffice/components/admin/{User.vue → UserEdit.vue} +0 -0
@@ -5,9 +5,6 @@
5
5
  <button class="cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra" @click="setUserLocation">
6
6
 
7
7
  <transition name="ScaleOut" mode="out-in">
8
-
9
-
10
-
11
8
  <svg v-if="!locationLoading" class="i-regular" width="98" height="98" viewBox="0 0 98 98" fill="none" xmlns="http://www.w3.org/2000/svg">
12
9
  <path d="M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z" fill="rgb(var(--white))"/>
13
10
  <path d="M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z" fill="rgb(var(--white))"/>
@@ -22,6 +19,7 @@
22
19
 
23
20
  <script setup>
24
21
  import { ref, onMounted, watchEffect } from 'vue';
22
+ import { Loader as GMLoader } from "@googlemaps/js-api-loader";
25
23
 
26
24
  import Loader from '@pf/src/components/Loader/Loader.vue'
27
25
 
@@ -46,28 +44,36 @@ const locationLoading = ref(false);
46
44
  let map, marker;
47
45
 
48
46
  onMounted(() => {
49
- console.log(props.location)
50
-
51
- map = new google.maps.Map(mapContainer.value, {
52
- center: props.location,
53
- zoom: 15,
54
- mapTypeControl: false,
55
- fullscreenControl: false,
56
- disableDefaultUI: true
47
+ const loader = new GMLoader({
48
+ apiKey: props.apiKey,
49
+ version: "weekly",
50
+ libraries: ["places"]
57
51
  });
58
52
 
59
- marker = new google.maps.Marker({
60
- position: props.location,
61
- map,
62
- draggable: true,
63
- });
53
+ loader.load().then(() => {
54
+ map = new google.maps.Map(mapContainer.value, {
55
+ center: props.location,
56
+ zoom: 15,
57
+ mapTypeControl: false,
58
+ fullscreenControl: false,
59
+ disableDefaultUI: true
60
+ });
64
61
 
65
- marker.addListener("dragend", (e) => {
66
- const newLocation = { lat: e.latLng.lat(), lng: e.latLng.lng() };
62
+ marker = new google.maps.Marker({
63
+ position: props.location,
64
+ map,
65
+ draggable: true,
66
+ });
67
67
 
68
- emit('update:location', newLocation);
68
+ marker.addListener("dragend", (e) => {
69
+ const newLocation = { lat: e.latLng.lat(), lng: e.latLng.lng() };
69
70
 
70
- getAddressFromLocation(newLocation);
71
+ emit('update:location', newLocation);
72
+
73
+ getAddressFromLocation(newLocation);
74
+ });
75
+ }).catch(e => {
76
+ console.error(e);
71
77
  });
72
78
  });
73
79
 
@@ -139,8 +145,6 @@ async function setUserLocation() {
139
145
  console.error('Geolocation is not supported by this browser.');
140
146
  locationLoading.value = false
141
147
  }
142
-
143
-
144
148
  }
145
149
  </script>
146
150
 
@@ -1,28 +1,26 @@
1
1
  <template>
2
-
3
- <teleport to="body" v-if="isPopupOpen">
4
- <transition name="TransitionTranslateY" appear>
5
-
6
- <div v-if="isPopupOpen" key="popup-content" class="pd-small popup-wrapper">
7
-
8
- <transition name="TransitionTranslateY" mode="out-in">
9
- <section v-if="isPopupOpen" class="pos-relative z-index-4" v-bind="$attrs">
10
- <IconCross @click="closePopup()" class="cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"/>
11
-
12
- <slot></slot>
13
- </section>
14
- </transition>
15
-
16
- <div
17
- @click="closePopup()"
18
- :class="{'active':isPopupOpen === true}"
19
- class="color-overlay z-index-3">
20
- </div>
21
-
22
- </div>
23
2
 
3
+ <transition name="TransitionTranslateY" appear>
4
+ <teleport to="body" v-if="isPopupOpen">
5
+ <div v-if="isPopupOpen" key="popup-content" class="pd-small popup-wrapper">
6
+
7
+ <transition name="TransitionTranslateY" mode="out-in">
8
+ <section class="pos-relative z-index-4" v-bind="$attrs" :class="$attrs.class">
9
+ <h4 class="mn-b-small">{{title}}</h4>
10
+ <IconCross @click="closePopup()" class="cursor-pointer pos-absolute pos-t-0 pos-r-0 mn-t-semi mn-r-semi hover-scale-1 i-regular z-index-5"/>
11
+ <slot></slot>
12
+ </section>
13
+ </transition>
14
+
15
+ <div
16
+ @click="closePopup()"
17
+ :class="{'active':isPopupOpen === true}"
18
+ class="color-overlay z-index-3">
19
+ </div>
20
+
21
+ </div>
22
+ </teleport>
24
23
  </transition>
25
- </teleport>
26
24
 
27
25
  </template>
28
26
 
@@ -39,7 +37,8 @@ const props = defineProps({
39
37
  type: Boolean,
40
38
  default: false
41
39
  },
42
- style: String
40
+ style: String,
41
+ title: String,
43
42
  });
44
43
  const emits = defineEmits(['close-popup'])
45
44
 
@@ -15,7 +15,7 @@
15
15
  <li class="w-100">
16
16
  <!-- Selected Value -->
17
17
  <span>
18
- {{ selectedOption?.name ? selectedOption?.name : selectedOption || placeholder }}
18
+ {{ optionsSelected?.name ? optionsSelected?.name : optionsSelected || placeholder }}
19
19
  </span>
20
20
  </li>
21
21
 
@@ -47,73 +47,84 @@
47
47
  <script setup>
48
48
  import { ref, computed, watch } from 'vue'
49
49
 
50
- const emit = defineEmits(['update:select', 'focus', 'blur'])
51
-
52
50
  import clickOutside from '../FieldPhone/click-outside';
53
51
 
54
52
  let vClickOutside = clickOutside
55
53
 
54
+ const emit = defineEmits([
55
+ 'update:select',
56
+ 'focus',
57
+ 'blur'
58
+ ])
56
59
 
57
60
  const props = defineProps({
58
61
  label: String,
62
+ placeholder: { type: String, default: 'Please select an item' },
59
63
  select: [String, Object],
60
64
  property: String,
61
- placeholder: { type: String, default: 'Please select an item' },
62
65
  options: { type: Array, default: () => [] },
63
66
  validation: Boolean,
64
67
  })
65
68
 
66
- const selectedOption = ref(props.property ? findObjectByValue(props.select, props.property, props.options) : props.select)
67
69
  const showMenu = ref(false)
68
70
 
69
- function clickedOutside () {
70
- showMenu.value = false
71
- }
72
-
73
-
74
- function findObjectByValue(value, property,objects) {
75
- for (const object of objects) {
76
- if (object[property] === value || object === value) {
77
- return object;
78
- }
71
+ const optionsSelected = ref(
72
+ props.property
73
+ ? findObjectByValue(props.select, props.property, props.options)
74
+ : props.select
75
+ )
79
76
 
80
- }
81
- return null;
82
- }
77
+ const optionsListed = computed(() => {
78
+ return props.select
79
+ ? props.options.filter(option => option !== props.select)
80
+ : props.options
81
+ })
83
82
 
84
83
  watch(() => props.select, (newSelect) => {
85
- selectedOption.value = props.property ? findObjectByValue(props.select, props.property, props.options) : props.select;
84
+ optionsSelected.value =
85
+ props.property
86
+ ? findObjectByValue(props.select, props.property, props.options)
87
+ : props.select;
86
88
  });
87
89
 
88
- const optionsListed = computed(() => {
89
- return props.select ? props.options.filter(option => option !== props.select) : props.options
90
- })
91
-
92
90
  const toggleMenu = () => {
93
91
  showMenu.value = !showMenu.value
94
92
 
95
93
  emit(showMenu.value ? 'focus' : 'blur')
96
94
  }
97
95
 
96
+ function clickedOutside () {
97
+ showMenu.value = false
98
+ }
99
+
98
100
  const selectOption = option => {
99
- selectedOption.value = option
101
+ optionsSelected.value = option
100
102
 
101
103
  toggleMenu()
102
104
 
103
105
  if (props.property) {
104
- emit('update:select', selectedOption.value[props.property])
106
+ emit('update:select', optionsSelected.value[props.property])
105
107
  } else {
106
- emit('update:select', selectedOption.value)
108
+ emit('update:select', optionsSelected.value)
109
+ }
110
+ }
111
+
112
+ function findObjectByValue (value, property, objects) {
113
+ for (const object of objects) {
114
+ if (object[property] === value || object === value) {
115
+ return object;
116
+ }
107
117
  }
118
+ return null;
108
119
  }
109
120
  </script>
110
121
 
111
122
  <style lang="scss" scoped>
112
- li {
113
- list-style-type: none;
114
- }
123
+ li {
124
+ list-style-type: none;
125
+ }
115
126
 
116
- ul li {
117
- line-height: 2;
118
- }
127
+ ul li {
128
+ line-height: 2;
129
+ }
119
130
  </style>
@@ -32,7 +32,8 @@ import Loader from '@pf/src/components/Loader/Loader.vue'
32
32
  const props = defineProps({
33
33
  store: Object,
34
34
  options: Object,
35
- text: Object
35
+ text: Object,
36
+ user: Object
36
37
  });
37
38
 
38
39
  const router = useRouter()
@@ -63,9 +64,7 @@ const onSelect = (embla) => selectedIndex.value = emblaApi.value.selectedScrollS
63
64
  // const onInit = (embla) => scrollSnaps.value = emblaApi.value.scrollSnapList();
64
65
 
65
66
  onMounted(async() => {
66
- entitiesState.value = await props.store.read({
67
- ...props.options
68
- });
67
+ entitiesState.value = await props.store.read(props.options);
69
68
 
70
69
  isLoading.value = false;
71
70
 
@@ -1,25 +1,25 @@
1
1
  <template>
2
2
  <section class="t-left pd-medium">
3
3
  <!-- Header -->
4
- <h3 class="mn-b-small">Вы были пригилашены в организацию</h3>
5
- <p class="mn-b-semi t-transp">Пожалуйста, укажите пароль, на этом регистрация будет закочена.</p>
6
-
4
+ <h3 class="mn-b-small">You have been invited to the organization</h3>
5
+ <p class="mn-b-semi t-transp">Please provide a password to complete the registration.</p>
6
+
7
7
  <!-- Form -->
8
8
  <div class="mn-b-semi radius-small o-hidden">
9
9
  <Field
10
10
  v-model:field="auth.state.user.password"
11
11
  type="password"
12
12
  :validation="passswordValidation"
13
- label="Пароль"
13
+ label="Password"
14
14
  placeholder="******"
15
- class="bg-white radius-small mn-b-small"
15
+ class="mn-b-thin bg-grey pd-medium radius-small"
16
16
  />
17
17
  <Field
18
18
  v-model:field="auth.state.user.passwordRepeat"
19
19
  type="password"
20
- label="Повторите пароль"
20
+ label="Repeat Password"
21
21
  placeholder="******"
22
- class="bg-white radius-small mn-b-semi"
22
+ class="bg-grey pd-medium radius-small"
23
23
 
24
24
  />
25
25
  </div>
@@ -217,7 +217,7 @@
217
217
 
218
218
  // Cookies
219
219
  const optionsDefault = {
220
- development: { secure: false, expires: 7 },
220
+ development: { secure: false, expires: 7, sameSite: 'Lax' },
221
221
  production: { expires: 7, path: '/', domain: process.env.API_URL, sameSite: 'none', secure: true }
222
222
  };
223
223
 
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="">
3
- <h1>Welcome to Backoffice</h1>
3
+ <h1 class="pd-medium radius-medium bg-grey mn-b-small">Welcome to Backoffice</h1>
4
4
 
5
5
  <Menu
6
6
  class="bg-grey mn-b-semi"
@@ -12,117 +12,124 @@
12
12
  _id: route.params._id
13
13
  }
14
14
  })"
15
- class="cursor-pointer">
15
+ class="cursor-pointer"
16
+ >
17
+ <IconGroups class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
16
18
  <span>
17
19
  Members
18
20
  </span>
19
21
  </MenuItem>
20
22
 
21
- <MenuItem
23
+ <!-- <MenuItem
22
24
  @click="router.push({
23
- name: 'Backoffice Events',
25
+ name: 'Backoffice Community',
24
26
  params: {
25
27
  _id: route.params._id
26
28
  }
27
29
  })"
28
30
  class="cursor-pointer">
29
31
  <span>
30
- Events
32
+ Community
31
33
  </span>
32
- </MenuItem>
34
+ </MenuItem> -->
33
35
 
34
36
  <MenuItem
35
37
  @click="router.push({
36
- name: 'Backoffice Community',
38
+ name: 'Products',
37
39
  params: {
38
40
  _id: route.params._id
39
41
  }
40
42
  })"
41
43
  class="cursor-pointer">
44
+ <IconProducts class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
42
45
  <span>
43
- Community
46
+ Products
44
47
  </span>
45
48
  </MenuItem>
46
49
 
47
50
  <MenuItem
48
51
  @click="router.push({
49
- name: 'Products',
52
+ name: 'Leftovers',
50
53
  params: {
51
54
  _id: route.params._id
52
55
  }
53
56
  })"
54
57
  class="cursor-pointer">
58
+ <IconLeftovers class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
55
59
  <span>
56
- Products
60
+ Leftovers
57
61
  </span>
58
62
  </MenuItem>
59
63
 
60
64
  <MenuItem
61
65
  @click="router.push({
62
- name: 'Leftovers',
66
+ name: 'Backoffice Orders',
63
67
  params: {
64
68
  _id: route.params._id
65
69
  }
66
70
  })"
67
71
  class="cursor-pointer">
72
+ <IconOrders class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
68
73
  <span>
69
- Leftovers
74
+ Orders
70
75
  </span>
71
76
  </MenuItem>
72
77
 
73
78
  <MenuItem
74
79
  @click="router.push({
75
- name: 'Backoffice Orders',
80
+ name: 'Backoffice Gallery',
76
81
  params: {
77
82
  _id: route.params._id
78
83
  }
79
84
  })"
80
85
  class="cursor-pointer">
86
+ <IconGallery class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
81
87
  <span>
82
- Orders
88
+ Gallery
83
89
  </span>
84
90
  </MenuItem>
85
-
91
+
86
92
  <MenuItem
87
93
  @click="router.push({
88
- name: 'Payments',
94
+ name: 'Backoffice Events',
89
95
  params: {
90
96
  _id: route.params._id
91
97
  }
92
98
  })"
93
99
  class="cursor-pointer">
100
+ <IconEvents class="i-semi" :icon="true" :fill="'rgb(var(--white))'"/>
94
101
  <span>
95
- Payments
102
+ Events
96
103
  </span>
97
104
  </MenuItem>
98
- </Menu>
99
105
 
100
- <Menu
101
- class="bg-grey"
102
- >
103
- <MenuItem
106
+ <!-- <MenuItem
104
107
  @click="router.push({
105
- name: 'Backoffice Organizations',
108
+ name: 'Payments',
106
109
  params: {
107
110
  _id: route.params._id
108
111
  }
109
112
  })"
110
113
  class="cursor-pointer">
111
114
  <span>
112
- Organizations
115
+ Payments
113
116
  </span>
114
- </MenuItem>
117
+ </MenuItem> -->
118
+ </Menu>
115
119
 
116
- <MenuItem
120
+ <!-- <Menu
121
+ class="bg-grey"
122
+ >
123
+ <MenuItem
117
124
  @click="router.push({
118
- name: 'Backoffice Gallery',
125
+ name: 'Backoffice Organizations',
119
126
  params: {
120
127
  _id: route.params._id
121
128
  }
122
129
  })"
123
130
  class="cursor-pointer">
124
131
  <span>
125
- Gallery
132
+ Organizations
126
133
  </span>
127
134
  </MenuItem>
128
135
 
@@ -138,7 +145,7 @@
138
145
  Reports
139
146
  </span>
140
147
  </MenuItem>
141
- </Menu>
148
+ </Menu> -->
142
149
  </div>
143
150
  </template>
144
151
 
@@ -152,6 +159,14 @@ import { ref, onMounted } from 'vue';
152
159
  import Menu from '@pf/src/modules/mobile/components/Menu/Menu.vue'
153
160
  import MenuItem from '@pf/src/modules/mobile/components/Menu/MenuItem.vue'
154
161
  import SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue'
162
+
163
+ import IconProducts from '@pf/src/modules/icons/entities/IconProducts.vue'
164
+ import IconEvents from '@pf/src/modules/icons/entities/IconEvents.vue'
165
+ import IconGroups from '@pf/src/modules/icons/entities/IconGroups.vue'
166
+ import IconCommunity from '@pf/src/modules/icons/entities/IconCommunity.vue'
167
+ import IconGallery from '@pf/src/modules/icons/entities/IconGallery.vue'
168
+ import IconOrders from '@pf/src/modules/icons/entities/IconOrders.vue'
169
+ import IconLeftovers from '@pf/src/modules/icons/entities/IconLeftovers.vue'
155
170
  /////////////////////////////
156
171
  // HELPERS
157
172
  /////////////////////////////
@@ -4,7 +4,7 @@
4
4
  :class="{'bg-main-nano': message.username === 'Weeder Support'}"
5
5
  >
6
6
  <p class="flex-v-center gap-thin flex-nowrap flex w-100 p-small">
7
- <img v-if="message.username === 'Weeder Support'" src="/logo/logo.png" class="i-medium">
7
+ <!-- <img v-if="message.username === 'Weeder Support'" src="/logo/logo.png" class="i-medium"> -->
8
8
  <strong class="mn-r-auto"><span class="t-semi">{{ message.username }}</span> <span class="t-transp">{{formatDate(message.createdAt)}}</span></strong>
9
9
  </p>
10
10
  <p>{{ message.text }}</p>
@@ -39,7 +39,7 @@
39
39
  <CardBlogpost
40
40
  :key="item._id"
41
41
  :blogpost="item"
42
- :user="user"
42
+ :user="auth.state.user._id"
43
43
  :hideDescription="true"
44
44
  class="bg-white flex flex-column h-35r"
45
45
  />
@@ -68,14 +68,15 @@
68
68
  >
69
69
 
70
70
  <span
71
- v-if="type !== 'short'"
71
+
72
72
  class="t-semi"
73
73
  >
74
- {{ formattedDate }} |
74
+ {{ formattedDate }}
75
75
  </span>
76
76
  <span
77
+ v-if="type !== 'short'"
77
78
  class="t-semi ">
78
- {{ formattedTimeRange }}
79
+ | {{ formattedTimeRange }}
79
80
  </span>
80
81
  </div>
81
82
 
@@ -1,16 +1,33 @@
1
1
  <template>
2
- <section>
3
- <!-- <List
2
+ <section class="pd-thin">
3
+ <List
4
4
  :user="auth.state.user._id"
5
5
  class="bg-grey mn-b-thin radius-big"
6
6
  :phase="'week'"
7
- /> -->
7
+ />
8
+ <header
9
+ class="mn-b-medium flex-v-center flex-nowrap flex"
10
+ >
11
+ <h2
12
+ class="mn-r-medium"
13
+ >
14
+ Events
15
+ </h2>
16
+
17
+ <button
18
+ @click="router.push({name: 'Create Event'})"
19
+ class="radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"
20
+ >
21
+ +
22
+ </button>
23
+ </header>
24
+
8
25
 
9
26
  <Feed
10
- :category="route.params.category"
11
27
  :user="auth.state.user._id"
12
- :period="route.query.period"
13
- :selectedDate="events.state.filter.date"
28
+ :owner="route.params._id"
29
+ :sortOrder="'desc'"
30
+ :sortParam="'date.start'"
14
31
  />
15
32
  </section>
16
33
  </template>
@@ -3,15 +3,27 @@
3
3
  <header class="br-b br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex">
4
4
  <h1 class="mn-r-auto">{{ title }}</h1>
5
5
 
6
- <router-link
6
+ <template
7
+ v-for="action in actions"
7
8
  v-if="actions && actions.length > 0"
8
- v-for="action in actions"
9
- :key="action.to"
10
- :to="action.to"
11
- :class="action.class || 'radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex'"
12
9
  >
13
- {{ action.label }}
14
- </router-link>
10
+ <router-link
11
+ v-if="action.to"
12
+ :key="action.to"
13
+ :to="action.to"
14
+ :class="action.class || 'radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex'"
15
+ >
16
+ {{ action.label }}
17
+ </router-link>
18
+
19
+ <button
20
+ v-if="action.method"
21
+ @click="action.method"
22
+ :class="action.class || 'radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex'"
23
+ >
24
+ {{ action.label }}
25
+ </button>
26
+ </template>
15
27
  </header>
16
28
 
17
29
  <Tab