@ozdao/prometheus-framework 0.2.187 → 0.2.189

Sign up to get free protection for your applications and to get access to all the features.
Files changed (520) hide show
  1. package/dist/auth.server.js +35 -23
  2. package/dist/auth.server.mjs +35 -23
  3. package/dist/builder.js +6 -3
  4. package/dist/builder.mjs +6 -3
  5. package/dist/events.server.js +1 -1
  6. package/dist/events.server.mjs +1 -1
  7. package/dist/globals.server.js +1 -1
  8. package/dist/globals.server.mjs +1 -1
  9. package/dist/mailing-BQKyTI-q.js +77 -0
  10. package/dist/mailing-C3VD4l0h.mjs +78 -0
  11. package/dist/main-BVZtf9OG.js +92 -0
  12. package/dist/main-CbTw08vO.mjs +13584 -0
  13. package/dist/node_modules/@unhead/vue/dist/shared/vue.cf295fb1.cjs +1 -0
  14. package/dist/node_modules/@unhead/vue/dist/shared/vue.cf295fb1.js +26 -0
  15. package/dist/node_modules/@unhead/vue/dist/shared/vue.f36acd1f.cjs +1 -0
  16. package/dist/node_modules/@unhead/vue/dist/shared/vue.f36acd1f.js +26 -0
  17. package/dist/node_modules/unhead/dist/index.cjs +1 -0
  18. package/dist/node_modules/unhead/dist/index.js +7 -0
  19. package/dist/orders.server.js +162 -12
  20. package/dist/orders.server.mjs +162 -12
  21. package/dist/organizations.server.js +1 -1
  22. package/dist/organizations.server.mjs +1 -1
  23. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +5 -5
  25. package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/auth/auth.client.js +41 -22
  27. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -0
  28. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +41 -0
  29. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -0
  30. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +124 -0
  31. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -0
  32. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +94 -0
  33. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -0
  34. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +82 -0
  35. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -0
  36. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +118 -0
  37. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -0
  38. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +168 -0
  39. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -0
  40. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +129 -0
  41. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +1 -0
  42. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +88 -0
  43. package/dist/prometheus-framework/src/modules/auth/views/localization/EnterCode.json.cjs +1 -0
  44. package/dist/prometheus-framework/src/modules/auth/views/localization/EnterCode.json.js +20 -0
  45. package/dist/prometheus-framework/src/modules/auth/views/localization/EnterPassword.json.cjs +1 -0
  46. package/dist/prometheus-framework/src/modules/auth/views/localization/EnterPassword.json.js +26 -0
  47. package/dist/prometheus-framework/src/modules/auth/views/localization/ResetPassword.json.cjs +1 -0
  48. package/dist/prometheus-framework/src/modules/auth/views/localization/ResetPassword.json.js +30 -0
  49. package/dist/prometheus-framework/src/modules/auth/views/localization/SignIn.json.cjs +1 -0
  50. package/dist/prometheus-framework/src/modules/auth/views/localization/SignIn.json.js +38 -0
  51. package/dist/prometheus-framework/src/modules/auth/views/localization/SignUp.json.cjs +1 -0
  52. package/dist/prometheus-framework/src/modules/auth/views/localization/SignUp.json.js +32 -0
  53. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +1 -0
  54. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +30 -0
  55. package/dist/prometheus-framework/src/modules/auth/views/router/auth.cjs +1 -0
  56. package/dist/prometheus-framework/src/modules/auth/views/router/auth.js +119 -0
  57. package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs +1 -0
  58. package/dist/prometheus-framework/src/modules/auth/views/store/auth.js +176 -0
  59. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.cjs +1 -0
  60. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.js +31 -0
  61. package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.cjs +1 -0
  62. package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.js +45 -0
  63. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
  71. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +3 -4
  77. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +73 -42
  79. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  81. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  89. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  91. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
  95. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +12 -13
  103. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/events/router/events.js +1 -1
  107. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  109. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  111. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  115. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  117. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  119. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/globals/globals.client.js +34 -10
  121. package/dist/prometheus-framework/src/modules/globals/localization/get-browser-locale.cjs +1 -0
  122. package/dist/prometheus-framework/src/modules/globals/localization/get-browser-locale.js +7 -0
  123. package/dist/prometheus-framework/src/modules/globals/router/scrollBehavior.cjs +1 -0
  124. package/dist/prometheus-framework/src/modules/globals/router/scrollBehavior.js +18 -0
  125. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/globals/store/globals.js +38 -76
  127. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.cjs +1 -0
  128. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.js +72 -0
  129. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +1 -0
  130. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +57 -0
  131. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -0
  132. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +35 -0
  133. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +1 -0
  134. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +75 -0
  135. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -0
  136. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +194 -0
  137. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonDate.vue.cjs +1 -0
  138. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonDate.vue.js +38 -0
  139. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonSort.vue.cjs +1 -0
  140. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonSort.vue.js +31 -0
  141. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -0
  142. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +66 -0
  143. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs +1 -0
  144. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js +16 -0
  145. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -0
  146. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +54 -0
  147. package/dist/prometheus-framework/src/modules/globals/views/localization/get-browser-locale.cjs +1 -0
  148. package/dist/prometheus-framework/src/modules/globals/views/localization/get-browser-locale.js +7 -0
  149. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs +1 -0
  150. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js +47 -0
  151. package/dist/prometheus-framework/src/modules/globals/views/router/scrollBehavior.cjs +1 -0
  152. package/dist/prometheus-framework/src/modules/globals/views/router/scrollBehavior.js +18 -0
  153. package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +1 -0
  154. package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +83 -0
  155. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -11
  157. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  159. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +3 -3
  161. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +3 -3
  163. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +2 -2
  165. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  167. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  169. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  171. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  173. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.cjs +1 -1
  174. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.js +1 -1
  175. package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +1 -1
  177. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  179. package/dist/prometheus-framework/src/modules/orders/store/customers.store.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/orders/store/customers.store.js +1 -1
  181. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  183. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  184. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +1 -1
  185. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  186. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  187. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -4
  189. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
  191. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +4 -5
  193. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
  195. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -4
  197. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  199. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -4
  201. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  203. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +1 -1
  205. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +2 -2
  207. package/dist/prometheus-framework/src/modules/organizations/router/departments.router.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/organizations/router/departments.router.js +1 -1
  209. package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +1 -1
  211. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +2 -2
  213. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  215. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +2 -2
  217. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  219. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  221. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +2 -2
  223. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  225. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Pages.vue.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Pages.vue.js +3 -3
  227. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  229. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
  231. package/dist/prometheus-framework/src/modules/pages/views/router/pages.router.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/pages/views/router/pages.router.js +1 -1
  233. package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/pages/views/store/pages.js +1 -1
  235. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +3 -3
  237. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  239. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  241. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -4
  243. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +2 -3
  245. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
  247. package/dist/prometheus-framework/src/modules/products/router/categories.router.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/products/router/categories.router.js +1 -1
  249. package/dist/prometheus-framework/src/modules/products/router/leftovers.router.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/products/router/leftovers.router.js +1 -1
  251. package/dist/prometheus-framework/src/modules/products/router/products.router.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/products/router/products.router.js +1 -1
  253. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  255. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  257. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  259. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  261. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +3 -4
  263. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +3 -3
  265. package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/spots/router/spots.js +2 -2
  267. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  269. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  271. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  273. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -4
  275. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  277. package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/users/router/users.js +3 -4
  279. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  281. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  283. package/dist/prometheus-framework/src/modules/wallet/views/router/payments.router.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/wallet/views/router/payments.router.js +1 -1
  285. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  287. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  289. package/dist/prometheus-framework.cjs.js +1 -1
  290. package/dist/prometheus-framework.es.js +1 -1
  291. package/dist/style.css +1 -1
  292. package/dist/tickets.controller-BWVUA-GR.js +401 -0
  293. package/dist/tickets.controller-ChVmHHnj.mjs +402 -0
  294. package/dist/wallet.server.js +1 -1
  295. package/dist/wallet.server.mjs +1 -1
  296. package/dist/web-CK9TrlwB.js +1 -0
  297. package/dist/web-aOWHNbX1.mjs +54 -0
  298. package/package.json +1 -1
  299. package/src/builder/modes/ssr.dev.js +4 -1
  300. package/src/builder/templates/page.js +1 -1
  301. package/src/builder/webpack/webpack.config.base.js +2 -1
  302. package/src/builder/webpack/webpack.config.spa.js +0 -1
  303. package/src/components/Breadcrumbs/Breadcrumbs.vue +0 -1
  304. package/src/components/Feed/Feed.vue +5 -5
  305. package/src/components/Sidebar/Sidebar.vue +2 -2
  306. package/src/modules/auth/auth.client.js +53 -28
  307. package/src/modules/auth/auth.server.js +32 -14
  308. package/src/modules/auth/{routes → controllers/routes}/auth.routes.js +3 -3
  309. package/src/modules/auth/{routes → controllers/routes}/twofa.routes.js +2 -2
  310. package/src/modules/auth/controllers/{auth.controller.js → services/auth.service.js} +2 -3
  311. package/src/modules/auth/controllers/{twofa.controller.js → services/twofa.service.js} +1 -1
  312. package/src/modules/auth/models/role.model.js +9 -8
  313. package/src/modules/auth/{components → views/components}/layouts/Auth.vue +3 -3
  314. package/src/modules/auth/{components → views/components}/pages/EnterCode.vue +4 -4
  315. package/src/modules/auth/{components → views/components}/pages/EnterPassword.vue +3 -3
  316. package/src/modules/auth/{components → views/components}/pages/Invite.vue +2 -2
  317. package/src/modules/auth/{components → views/components}/pages/ResetPassword.vue +4 -4
  318. package/src/modules/auth/{components → views/components}/pages/SignIn.vue +3 -3
  319. package/src/modules/auth/{components → views/components}/pages/SignUp.vue +4 -4
  320. package/src/modules/{middlewares/client → auth/views/middlewares}/auth.validation.js +20 -1
  321. package/src/modules/auth/views/router/auth.js +102 -0
  322. package/src/modules/auth/{store → views/store}/auth.js +1 -1
  323. package/src/modules/auth/{store → views/store}/twofa.js +1 -1
  324. package/src/modules/{middlewares/client → auth/views/validations}/inputs.validation.js +3 -6
  325. package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
  326. package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
  327. package/src/modules/backoffice/components/partials/Sidebar.vue +1 -1
  328. package/src/modules/backoffice/router/backoffice.js +2 -2
  329. package/src/modules/chats/controllers/chats.controller.js +1 -1
  330. package/src/modules/chats/routes/chats.routes.js +1 -1
  331. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  332. package/src/modules/community/components/layouts/Community.vue +1 -1
  333. package/src/modules/community/components/pages/Blog.vue +1 -1
  334. package/src/modules/community/components/pages/BlogPost.vue +64 -3
  335. package/src/modules/community/components/pages/Community.vue +1 -1
  336. package/src/modules/community/components/pages/CreateBlogPost.vue +1 -1
  337. package/src/modules/community/components/sections/Comment.vue +1 -1
  338. package/src/modules/community/components/sections/HotPosts.vue +1 -1
  339. package/src/modules/community/models/blogpost.model.js +4 -4
  340. package/src/modules/community/routes/blog.routes.js +1 -1
  341. package/src/modules/community/store/blogposts.js +1 -1
  342. package/src/modules/community/store/reactions.js +1 -1
  343. package/src/modules/events/components/blocks/CardEvent.vue +2 -2
  344. package/src/modules/events/components/elements/ButtonJoin.vue +1 -1
  345. package/src/modules/events/components/pages/EditEvent.vue +1 -1
  346. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  347. package/src/modules/events/components/pages/Event.vue +1 -1
  348. package/src/modules/events/components/pages/Events.vue +1 -1
  349. package/src/modules/events/components/sections/FeaturedEvents.vue +1 -1
  350. package/src/modules/events/controllers/events.controller.js +1 -1
  351. package/src/modules/events/controllers/tickets.controller.js +1 -1
  352. package/src/modules/events/models/event.model.js +4 -4
  353. package/src/modules/events/router/events.js +1 -1
  354. package/src/modules/events/routes/events.routes.js +1 -1
  355. package/src/modules/events/store/events.js +1 -1
  356. package/src/modules/events/store/tickets.js +1 -1
  357. package/src/modules/files/routes/files.routes.js +1 -1
  358. package/src/modules/gallery/components/pages/Gallery.vue +2 -2
  359. package/src/modules/gallery/components/sections/BackofficeGallery.vue +3 -3
  360. package/src/modules/gallery/models/photo.model.js +3 -3
  361. package/src/modules/gallery/routes/gallery.routes.js +2 -2
  362. package/src/modules/gallery/store/gallery.js +1 -1
  363. package/src/modules/globals/{services → controllers/classes}/globals.crud.js +2 -2
  364. package/src/modules/globals/globals.client.js +79 -8
  365. package/src/modules/globals/globals.server.js +3 -3
  366. package/src/modules/globals/models/{metadata.schema.js → schemas/metadata.schema.js} +1 -1
  367. package/src/modules/globals/{services → views/classes}/globals.store.js +1 -1
  368. package/src/modules/globals/{components → views/components}/blocks/BlockSorting.vue +1 -1
  369. package/src/modules/globals/views/components/layouts/App.vue +83 -0
  370. package/src/modules/globals/{components → views/components}/layouts/Client.vue +8 -8
  371. package/src/modules/globals/{components → views/components}/partials/Header.vue +1 -1
  372. package/src/modules/globals/views/middlewares/localization.js +16 -0
  373. package/src/modules/globals/views/router/scrollBehavior.js +30 -0
  374. package/src/modules/globals/{store → views/store}/globals.js +3 -3
  375. package/src/modules/integrations/stripe/controllers/webhooks/stripe.webhook.js +2 -2
  376. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +2 -2
  377. package/src/modules/legal/components/pages/Legal.vue +1 -1
  378. package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
  379. package/src/modules/marketplace/router/marketplace.js +1 -1
  380. package/src/modules/orders/components/pages/Order.vue +1 -1
  381. package/src/modules/orders/components/pages/OrderBackoffice.vue +2 -2
  382. package/src/modules/orders/components/pages/OrderCreate.vue +2 -2
  383. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
  384. package/src/modules/orders/components/pages/Orders.vue +3 -3
  385. package/src/modules/orders/components/sections/FormAddCustomer.vue +3 -3
  386. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  387. package/src/modules/orders/controllers/applications.controller.js +1 -1
  388. package/src/modules/orders/controllers/orders.controller.js +1 -1
  389. package/src/modules/orders/models/customer.model.js +3 -3
  390. package/src/modules/orders/models/order.model.js +1 -2
  391. package/src/modules/orders/orders.server.js +4 -2
  392. package/src/modules/orders/router/orders.backoffice.router.js +1 -1
  393. package/src/modules/orders/router/orders.router.js +1 -1
  394. package/src/modules/orders/routes/applications.routes.js +2 -1
  395. package/src/modules/orders/routes/orders.routes.js +1 -1
  396. package/src/modules/orders/store/applications.js +1 -1
  397. package/src/modules/orders/store/customers.store.js +1 -1
  398. package/src/modules/orders/store/orders.js +1 -1
  399. package/src/modules/orders/store/shopcart.js +1 -1
  400. package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
  401. package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
  402. package/src/modules/organizations/components/pages/Members.vue +3 -3
  403. package/src/modules/organizations/components/pages/Organization.vue +1 -1
  404. package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
  405. package/src/modules/organizations/components/pages/OrganizationCreate.vue +1 -1
  406. package/src/modules/organizations/components/pages/OrganizationDetails.vue +2 -2
  407. package/src/modules/organizations/components/pages/OrganizationEdit.vue +1 -1
  408. package/src/modules/organizations/components/pages/Organizations.vue +1 -1
  409. package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
  410. package/src/modules/organizations/components/sections/Organizations.vue +1 -1
  411. package/src/modules/organizations/components/sections/Publics.vue +1 -1
  412. package/src/modules/organizations/controllers/invites.controller.js +1 -1
  413. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  414. package/src/modules/organizations/models/invite.model.js +2 -2
  415. package/src/modules/organizations/models/organization.model.js +1 -1
  416. package/src/modules/organizations/router/backoffice.router.js +2 -2
  417. package/src/modules/organizations/router/departments.router.js +1 -1
  418. package/src/modules/organizations/router/members.router.js +1 -1
  419. package/src/modules/organizations/router/organizations.js +2 -2
  420. package/src/modules/organizations/routes/invites.routes.js +1 -1
  421. package/src/modules/organizations/store/departments.js +1 -1
  422. package/src/modules/organizations/store/invites.js +2 -2
  423. package/src/modules/organizations/store/memberships.js +1 -1
  424. package/src/modules/organizations/store/organizations.js +1 -1
  425. package/src/modules/pages/pages.server.js +1 -1
  426. package/src/modules/pages/views/components/pages/Page.vue +2 -2
  427. package/src/modules/pages/views/components/pages/PageEdit.vue +1 -1
  428. package/src/modules/pages/views/components/pages/Pages.vue +3 -3
  429. package/src/modules/pages/views/components/partials/SidebarPages.vue +2 -2
  430. package/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
  431. package/src/modules/pages/views/router/pages.router.js +1 -1
  432. package/src/modules/pages/views/store/pages.js +1 -1
  433. package/src/modules/pages/views/store/pages.store.js +1 -1
  434. package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
  435. package/src/modules/products/components/pages/EditLeftover.vue +2 -2
  436. package/src/modules/products/components/pages/Product.vue +1 -1
  437. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  438. package/src/modules/products/components/pages/Products.vue +2 -2
  439. package/src/modules/products/models/leftover.model.js +1 -1
  440. package/src/modules/products/router/categories.router.js +1 -1
  441. package/src/modules/products/router/leftovers.router.js +1 -1
  442. package/src/modules/products/router/products.router.js +1 -1
  443. package/src/modules/products/store/categories.js +1 -1
  444. package/src/modules/products/store/leftovers.js +1 -1
  445. package/src/modules/products/store/products.js +1 -1
  446. package/src/modules/projects/store/projects.js +1 -1
  447. package/src/modules/reports/store/reports.js +1 -1
  448. package/src/modules/spots/components/layouts/Spots.vue +1 -1
  449. package/src/modules/spots/components/pages/Map.vue +1 -1
  450. package/src/modules/spots/router/spots.js +2 -2
  451. package/src/modules/spots/spots.server.js +1 -1
  452. package/src/modules/spots/store/spots.js +1 -1
  453. package/src/modules/users/components/pages/Profile.vue +1 -1
  454. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  455. package/src/modules/users/components/pages/ProfileEdit.vue +2 -2
  456. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  457. package/src/modules/users/models/user.model.js +3 -3
  458. package/src/modules/users/router/users.js +1 -2
  459. package/src/modules/wallet/controllers/routes/payments.routes.js +2 -2
  460. package/src/modules/wallet/controllers/routes/rewards.routes.js +1 -1
  461. package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
  462. package/src/modules/wallet/views/router/payments.router.js +1 -2
  463. package/src/modules/wallet/views/store/payments.store.js +1 -1
  464. package/src/modules/wallet/views/store/wallet.store.js +1 -1
  465. package/src/modules/auth/router/auth.js +0 -111
  466. package/src/modules/globals/localization/methods/get-app-locales.js +0 -13
  467. package/src/modules/globals/localization/vue-i18n.js +0 -38
  468. package/src/modules/globals/localization/vue-i18n.singleton.js +0 -11
  469. package/src/modules/globals/router/routerGuards.js +0 -29
  470. package/src/modules/middlewares/client/states.validation.js +0 -23
  471. package/src/modules/middlewares/middlewares.client.js +0 -11
  472. package/src/modules/middlewares/middlewares.server.js +0 -18
  473. package/src/modules/orders/routes/backcalls.routes.js +0 -36
  474. package/src/modules/orders/routes/fastorders.routes.js +0 -32
  475. /package/src/modules/auth/{middlewares → controllers/middlewares}/authJwt.js +0 -0
  476. /package/src/modules/auth/{middlewares → controllers/middlewares}/authSecret.js +0 -0
  477. /package/src/modules/auth/{middlewares → controllers/middlewares}/index.js +0 -0
  478. /package/src/modules/auth/{middlewares → controllers/middlewares}/verifyAccesses.js +0 -0
  479. /package/src/modules/auth/{middlewares → controllers/middlewares}/verifyInvites.js +0 -0
  480. /package/src/modules/auth/{middlewares → controllers/middlewares}/verifySignUp.js +0 -0
  481. /package/src/modules/auth/{middlewares → controllers/middlewares}/verifyUser.js +0 -0
  482. /package/src/modules/auth/{utils/server → controllers/utils}/verifyAppleIdToken.js +0 -0
  483. /package/src/modules/auth/{components → views/components}/sections/SliderFeatures.vue +0 -0
  484. /package/src/modules/auth/{localization → views/localization}/EnterCode.json +0 -0
  485. /package/src/modules/auth/{localization → views/localization}/EnterPassword.json +0 -0
  486. /package/src/modules/auth/{localization → views/localization}/ResetPassword.json +0 -0
  487. /package/src/modules/auth/{localization → views/localization}/SignIn.json +0 -0
  488. /package/src/modules/auth/{localization → views/localization}/SignUp.json +0 -0
  489. /package/src/modules/globals/{services → controllers/classes}/globals.cache.js +0 -0
  490. /package/src/modules/globals/{services → controllers/classes}/globals.logger.js +0 -0
  491. /package/src/modules/globals/{services → controllers/classes}/globals.observer.js +0 -0
  492. /package/src/modules/globals/{services → controllers/classes}/globals.webhook.js +0 -0
  493. /package/src/modules/globals/{utils → controllers/utils}/mailing.js +0 -0
  494. /package/src/modules/globals/{utils → controllers/utils}/parseCookie.js +0 -0
  495. /package/src/modules/globals/{utils → controllers/utils}/seo-friendly-url.js +0 -0
  496. /package/src/modules/globals/{utils → controllers/utils}/sitemap.js +0 -0
  497. /package/src/modules/globals/models/{common.schema.js → schemas/common.schema.js} +0 -0
  498. /package/src/modules/globals/models/{credentials.schema.js → schemas/credentials.schema.js} +0 -0
  499. /package/src/modules/globals/models/{engagement.schema.js → schemas/engagement.schema.js} +0 -0
  500. /package/src/modules/globals/models/{ownership.schema.js → schemas/ownership.schema.js} +0 -0
  501. /package/src/modules/globals/models/{profile.schema.js → schemas/profile.schema.js} +0 -0
  502. /package/src/modules/globals/models/{socials.schema.js → schemas/socials.schema.js} +0 -0
  503. /package/src/modules/globals/{components → views/components}/blocks/BlockFilter.vue +0 -0
  504. /package/src/modules/globals/{components → views/components}/blocks/BlockSearch.vue +0 -0
  505. /package/src/modules/globals/{components → views/components}/blocks/CardFooter.vue +0 -0
  506. /package/src/modules/globals/{components → views/components}/blocks/CardHeader.vue +0 -0
  507. /package/src/modules/globals/{components → views/components}/elements/ButtonDate.vue +0 -0
  508. /package/src/modules/globals/{components → views/components}/elements/ButtonSort.vue +0 -0
  509. /package/src/modules/globals/{components → views/components}/layouts/Empty.vue +0 -0
  510. /package/src/modules/globals/{components → views/components}/pages/401.vue +0 -0
  511. /package/src/modules/globals/{components → views/components}/pages/404.vue +0 -0
  512. /package/src/modules/globals/{components → views/components}/partials/BottomNavigation.vue +0 -0
  513. /package/src/modules/globals/{components → views/components}/partials/Footer.vue +0 -0
  514. /package/src/modules/globals/{components → views/components}/partials/Navigation.vue +0 -0
  515. /package/src/modules/globals/{components → views/components}/partials/NavigationBar.vue +0 -0
  516. /package/src/modules/globals/{components → views/components}/sections/SectionPageTitle.vue +0 -0
  517. /package/src/modules/globals/{components → views/components}/sections/Title.vue +0 -0
  518. /package/src/modules/globals/{components → views/components}/sections/Walkthrough.vue +0 -0
  519. /package/src/modules/globals/{localization/methods → views/localization}/get-browser-locale.js +0 -0
  520. /package/src/modules/globals/{mixins → views/mixins}/mixins.js +0 -0
@@ -19,7 +19,13 @@
19
19
  </transition>
20
20
 
21
21
 
22
+
23
+
22
24
  <TransitionGroup tag="ul" name="fade" class="container">
25
+ <!-- <button @click="share" >
26
+ Поделиться
27
+ </button>
28
+ -->
23
29
  <CardBlogpost
24
30
  v-if="!isLoading && blogpost"
25
31
  @click="$router.push({name: 'Blogpost', params: {url: blogpost.url}})"
@@ -29,6 +35,7 @@
29
35
  :hideTitle="true"
30
36
  class="mn-b-medium"
31
37
  >
38
+
32
39
  <Viewer
33
40
  v-if="blogpost && blogpost.content"
34
41
  :content="blogpost.content"
@@ -58,7 +65,9 @@
58
65
  </template>
59
66
 
60
67
  <script setup>
61
- import { ref, onMounted } from 'vue';
68
+ import { ref, onMounted, computed } from 'vue';
69
+ import { useHead } from '@unhead/vue'
70
+
62
71
 
63
72
  import Loader from '@pf/src/components/Loader/Loader.vue';
64
73
  import EmptyState from '@pf/src/components/EmptyState/EmptyState.vue';
@@ -71,7 +80,7 @@
71
80
  import Viewer from '@pf/src/modules/constructor/components/sections/Viewer.vue';
72
81
 
73
82
  import * as blog from '@pf/src/modules/community/store/blogposts.js';
74
- import * as auth from '@pf/src/modules/auth/store/auth';
83
+ import * as auth from '@pf/src/modules/auth/views/store/auth';
75
84
 
76
85
  import { useRoute } from 'vue-router';
77
86
 
@@ -80,7 +89,29 @@
80
89
  const blogpost = ref(null);
81
90
  const isLoading = ref(true);
82
91
 
83
- onMounted(async () => {
92
+ const canShare = ref(false);
93
+
94
+ onMounted(() => {
95
+ canShare.value = !!navigator.share;
96
+ });
97
+
98
+ const share = async () => {
99
+ if (!canShare.value) return;
100
+
101
+ console.log('share')
102
+ try {
103
+ await navigator.share({
104
+ title: 'Заголовок вашего контента',
105
+ text: 'Описание вашего контента',
106
+ // url: window.location.href,
107
+ });
108
+ console.log('Контент успешно отправлен');
109
+ } catch (error) {
110
+ console.error('Ошибка при отправке:', error);
111
+ }
112
+ };
113
+
114
+ // onMounted(async () => {
84
115
  isLoading.value = true;
85
116
 
86
117
  // NOTE: You might need to change the method here to fetch blogposts
@@ -88,7 +119,37 @@
88
119
 
89
120
  blogpost.value = data[0];
90
121
  isLoading.value = false;
122
+ // });
123
+
124
+ const firstImage = computed(() => {
125
+ return blogpost.value?.content.find(block => block.type === 'ImageUpload');
126
+ });
127
+
128
+ const firstVideo = computed(() => {
129
+ return blogpost.value?.content.find(block => block.type === 'Video');
91
130
  });
131
+
132
+ const firstText = computed(() => {
133
+ return blogpost.value?.content[2]
134
+ });
135
+
136
+ const metadata = computed(() => {return {
137
+ title: blogpost.value?.name,
138
+ description: firstText.value?.content.slice(0,120),
139
+ meta: [
140
+ { hid: 'description', name: 'description', content: firstText.value?.content.slice(0,120) },
141
+ // { hid: 'keywords', name: 'keywords', content: t('meta.keywords') },
142
+ { hid: 'og:title', property: 'og:title', content: blogpost.value?.name },
143
+ { hid: 'og:description', property: 'og:description', content: firstText.value?.content.slice(0,120) },
144
+ // { hid: 'og:image', property: 'og:image', content: base_url + '/favicon/cover.jpg' },
145
+ // { hid: 'og:url', property: 'og:url', content: current_url.value },
146
+ { hid: 'twitter:title', name: 'twitter:title', content: blogpost.value?.name },
147
+ { hid: 'twitter:description', name: 'twitter:description', content: firstText.value },
148
+ // { hid: 'twitter:image', name: 'twitter:image', content: base_url + '/favicon/cover.jpg' },
149
+ // { hid: 'twitter:card', name: 'twitter:card', content: t('meta.twitter.card') },
150
+ ],
151
+ }});
152
+ useHead(metadata.value)
92
153
  </script>
93
154
 
94
155
  <style lang="scss">
@@ -42,7 +42,7 @@ import {
42
42
  clean as cleanBlogPost,
43
43
  remove as deleteBlogPost
44
44
  } from '@pf/src/modules/community/store/blogposts.js';
45
- import * as auth from '@pf/src/modules/auth/store/auth';
45
+ import * as auth from '@pf/src/modules/auth/views/store/auth';
46
46
  import { useRoute, useRouter } from 'vue-router'
47
47
 
48
48
  const router = useRouter()
@@ -103,7 +103,7 @@ import { useRoute, useRouter } from 'vue-router';
103
103
  import { VueDraggableNext } from 'vue-draggable-next';
104
104
  // Store & Router
105
105
  import * as blog from '@pf/src/modules/community/store/blogposts.js';
106
- import * as auth from '@pf/src/modules/auth/store/auth'
106
+ import * as auth from '@pf/src/modules/auth/views/store/auth'
107
107
  import * as organizations from '@pf/src/modules/organizations/store/organizations'
108
108
 
109
109
  const route = useRoute();
@@ -62,7 +62,7 @@ import { ref, computed } from 'vue';
62
62
 
63
63
  import Comment from './Comment.vue';
64
64
 
65
- import CardHeader from '@pf/src/modules/globals/components/blocks/CardHeader.vue'
65
+ import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'
66
66
 
67
67
  const props = defineProps({
68
68
  comment: {
@@ -57,7 +57,7 @@
57
57
  import CardBlogpost from '@pf/src/modules/community/components/blocks/CardBlogpost.vue';
58
58
  // Import state
59
59
  import * as blog from '@pf/src/modules/community/store/blogposts.js';
60
- import * as auth from '@pf/src/modules/auth/store/auth'
60
+ import * as auth from '@pf/src/modules/auth/views/store/auth'
61
61
  </script>
62
62
 
63
63
  <style lang="scss" >
@@ -1,7 +1,7 @@
1
- const applyCommonSchema = require('@pf/src/modules/globals/models/common.schema.js');
2
- const applyEngagementSchema = require('@pf/src/modules/globals/models/engagement.schema.js');
3
- const applyOwnershipSchema = require('@pf/src/modules/globals/models/ownership.schema.js');
4
- const applyMetadataSchema = require('@pf/src/modules/globals/models/metadata.schema.js');
1
+ const applyCommonSchema = require('@pf/src/modules/globals/models/schemas/common.schema.js');
2
+ const applyEngagementSchema = require('@pf/src/modules/globals/models/schemas/engagement.schema.js');
3
+ const applyOwnershipSchema = require('@pf/src/modules/globals/models/schemas/ownership.schema.js');
4
+ const applyMetadataSchema = require('@pf/src/modules/globals/models/schemas/metadata.schema.js');
5
5
 
6
6
  module.exports = (db) => {
7
7
  const BlogpostSchema = new db.mongoose.Schema({
@@ -1,6 +1,6 @@
1
1
  const controllerFactory = require("../controllers/blog.controller");
2
2
 
3
- const middlewareFactoryAuth = require('@pf/src/modules/auth/middlewares');
3
+ const middlewareFactoryAuth = require('@pf/src/modules/auth/controllers/middlewares');
4
4
  const middlewareFactoryCommunity = require('../middlewares/server');
5
5
 
6
6
  module.exports = function(app, db, origins) {
@@ -5,7 +5,7 @@ const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true
5
5
  // Vue modules
6
6
  import { reactive, ref, computed, toRefs, watch } from "vue";
7
7
  // Globals
8
- import { setError } from '@pf/src/modules/globals/store/globals'
8
+ import { setError } from '@pf/src/modules/globals/views/store/globals'
9
9
  // State
10
10
  const state = reactive({
11
11
  all: [],
@@ -5,7 +5,7 @@ import axios from 'axios';
5
5
  import { reactive, watch } from "vue";
6
6
 
7
7
  // Globals
8
- import { setError } from '@pf/src/modules/globals/store/globals';
8
+ import { setError } from '@pf/src/modules/globals/views/store/globals';
9
9
 
10
10
  // Setup Axios
11
11
  const $axios = axios.create({
@@ -135,8 +135,8 @@
135
135
 
136
136
  import IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'
137
137
 
138
- import CardHeader from '@pf/src/modules/globals/components/blocks/CardHeader.vue'
139
- import CardFooter from '@pf/src/modules/globals/components/blocks/CardFooter.vue'
138
+ import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'
139
+ import CardFooter from '@pf/src/modules/globals/views/components/blocks/CardFooter.vue'
140
140
  import { ref, computed } from 'vue'
141
141
  import { useRouter } from 'vue-router'
142
142
 
@@ -11,7 +11,7 @@
11
11
  import Button from "@pf/src/components/Button/Button.vue";
12
12
 
13
13
  import { ref } from 'vue'
14
- import * as auth from '@pf/src/modules/auth/store/auth'
14
+ import * as auth from '@pf/src/modules/auth/views/store/auth'
15
15
  import * as tickets from '@pf/src/modules/events/store/tickets' // replace memberships with tickets
16
16
 
17
17
  const emits = defineEmits(['updateTicket']) // Rename the event to updateTicket
@@ -461,7 +461,7 @@ import { ref, onMounted } from 'vue';
461
461
  import { useRoute, useRouter } from 'vue-router';
462
462
 
463
463
  import * as events from '@pf/src/modules/events/store/events.js';
464
- import * as auth from '@pf/src/modules/auth/store/auth';
464
+ import * as auth from '@pf/src/modules/auth/views/store/auth';
465
465
  import * as organizations from '@pf/src/modules/organizations/store/organizations';
466
466
 
467
467
  const route = useRoute();
@@ -148,7 +148,7 @@ import { ref, onMounted } from 'vue';
148
148
  import { useRoute, useRouter } from 'vue-router';
149
149
 
150
150
  import * as events from '@pf/src/modules/events/store/events.js';
151
- import * as auth from '@pf/src/modules/auth/store/auth';
151
+ import * as auth from '@pf/src/modules/auth/views/store/auth';
152
152
  import * as organizations from '@pf/src/modules/organizations/store/organizations';
153
153
 
154
154
  import * as tickets from '@pf/src/modules/events/store/tickets';
@@ -187,7 +187,7 @@
187
187
 
188
188
  import * as events from '@pf/src/modules/events/store/events.js';
189
189
  import * as tickets from '@pf/src/modules/events/store/tickets.js';
190
- import * as auth from '@pf/src/modules/auth/store/auth';
190
+ import * as auth from '@pf/src/modules/auth/views/store/auth';
191
191
 
192
192
  import { useRoute } from 'vue-router';
193
193
 
@@ -75,7 +75,7 @@
75
75
  import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';
76
76
  // Import state
77
77
  import * as events from '@pf/src/modules/events/store/events.js';
78
- import * as auth from '@pf/src/modules/auth/store/auth'
78
+ import * as auth from '@pf/src/modules/auth/views/store/auth'
79
79
 
80
80
  // State
81
81
  const route = useRoute();
@@ -35,7 +35,7 @@
35
35
  import List from '@pf/src/modules/events/components/sections/List.vue';
36
36
  // Import state
37
37
  import * as events from '@pf/src/modules/events/store/events.js';
38
- import * as auth from '@pf/src/modules/auth/store/auth'
38
+ import * as auth from '@pf/src/modules/auth/views/store/auth'
39
39
 
40
40
  // State
41
41
  const route = useRoute();
@@ -3,7 +3,7 @@ const ObjectId = require('mongoose').Types.ObjectId;
3
3
  const queryProcessor = require('./utils/queryProcessor');
4
4
  const queryProcessorGlobals = require('@pf/src/modules/globals/controllers/utils/queryProcessor');
5
5
  // Utils
6
- const createFriendlyURL = require('@pf/src/modules/globals/utils/seo-friendly-url');
6
+ const createFriendlyURL = require('@pf/src/modules/globals/controllers/utils/seo-friendly-url');
7
7
  // Integrations
8
8
  const integrationStripe = require('@pf/src/modules/integrations/stripe/controllers/services/stripe.service');
9
9
 
@@ -4,7 +4,7 @@ const puppeteer = require("puppeteer");
4
4
  const QRCode = require("qrcode");
5
5
  const Mustache = require("mustache");
6
6
 
7
- const { sendEmail } = require('@pf/src/modules/globals/utils/mailing');
7
+ const { sendEmail } = require('@pf/src/modules/globals/controllers/utils/mailing');
8
8
 
9
9
  const { renderTemplate: renderTicketTemplate } = require('./utils/templateTicket');
10
10
  const { renderTemplate: renderEmailTemplate } = require('./utils/templateEmail');
@@ -1,7 +1,7 @@
1
- const applyCommonSchema = require('@pf/src/modules/globals/models/common.schema.js');
2
- const applyEngagementSchema = require('@pf/src/modules/globals/models/engagement.schema.js');
3
- const applyOwnershipSchema = require('@pf/src/modules/globals/models/ownership.schema.js');
4
- const applyMetadataSchema = require('@pf/src/modules/globals/models/metadata.schema.js');
1
+ const applyCommonSchema = require('@pf/src/modules/globals/models/schemas/common.schema.js');
2
+ const applyEngagementSchema = require('@pf/src/modules/globals/models/schemas/engagement.schema.js');
3
+ const applyOwnershipSchema = require('@pf/src/modules/globals/models/schemas/ownership.schema.js');
4
+ const applyMetadataSchema = require('@pf/src/modules/globals/models/schemas/metadata.schema.js');
5
5
 
6
6
  module.exports = (db) => {
7
7
 
@@ -1,5 +1,5 @@
1
1
  import layoutEvents from '../components/layouts/layoutEvents.vue'
2
- import * as validationAuth from '@pf/src/modules/middlewares/client/auth.validation.js';
2
+ import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
3
3
 
4
4
  const eventsRoutes = [
5
5
  {
@@ -1,7 +1,7 @@
1
1
  // Factories
2
2
  const controllerFactory = require("../controllers/events.controller");
3
3
  // Middlewares
4
- const middlewareFactoryAuth = require('@pf/src/modules/auth/middlewares');
4
+ const middlewareFactoryAuth = require('@pf/src/modules/auth/controllers/middlewares');
5
5
  const middlewareFactoryEvents = require('../middlewares/server');
6
6
  // Routes
7
7
  module.exports = function(app, db, origins) {
@@ -5,7 +5,7 @@ const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true
5
5
  // Vue modules
6
6
  import { reactive, ref, computed, toRefs, watch } from "vue";
7
7
  // Globals
8
- import { setError } from '@pf/src/modules/globals/store/globals'
8
+ import { setError } from '@pf/src/modules/globals/views/store/globals'
9
9
  // State
10
10
  const state = reactive({
11
11
  all: [],
@@ -5,7 +5,7 @@ import axios from 'axios';
5
5
  import { reactive, watch } from "vue";
6
6
 
7
7
  // Globals
8
- import { setError } from '@pf/src/modules/globals/store/globals';
8
+ import { setError } from '@pf/src/modules/globals/views/store/globals';
9
9
 
10
10
  // Setup Axios
11
11
  const $axios = axios.create({
@@ -1,7 +1,7 @@
1
1
  // Factories
2
2
  const controllerFactory = require("../controllers/files.controller");
3
3
  // Middlewares
4
- const middlewareFactoryAuth = require('@pf/src/modules/auth/middlewares');
4
+ const middlewareFactoryAuth = require('@pf/src/modules/auth/controllers/middlewares');
5
5
  const middlewareFactoryFiles = require('../middlewares/server');
6
6
 
7
7
  module.exports = function(app, db, origins, publicPath) {
@@ -62,13 +62,13 @@
62
62
  <script setup>
63
63
  import { ref, onMounted, reactive, computed } from 'vue'
64
64
 
65
- import Title from '@pf/src/modules/globals/components/sections/Title.vue';
65
+ import Title from '@pf/src/modules/globals/views/components/sections/Title.vue';
66
66
 
67
67
  import Feed from '@pf/src/components/Feed/Feed.vue'
68
68
  import Popup from '@pf/src/components/Popup/Popup.vue'
69
69
  import PhotoViewer from '@pf/src/components/PhotoViewer/PhotoViewer.vue'
70
70
 
71
- import SectionPageTitle from '@pf/src/modules/globals/components/sections/SectionPageTitle.vue'
71
+ import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'
72
72
 
73
73
  import gallery from '@pf/src/modules/gallery/store/gallery';
74
74
 
@@ -157,13 +157,13 @@ import Popup from '@pf/src/components/Popup/Popup.vue'
157
157
  import Feed from '@pf/src/components/Feed/Feed.vue'
158
158
  import PhotoViewer from '@pf/src/components/PhotoViewer/PhotoViewer.vue'
159
159
 
160
- import * as auth from '@pf/src/modules/auth/store/auth';
160
+ import * as auth from '@pf/src/modules/auth/views/store/auth';
161
161
  import * as organizations from '@pf/src/modules/organizations/store/organizations';
162
162
 
163
163
  import gallery from '@pf/src/modules/gallery/store/gallery';
164
164
 
165
- import CardHeader from '@pf/src/modules/globals/components/blocks/CardHeader.vue'
166
- import SectionPageTitle from '@pf/src/modules/globals/components/sections/SectionPageTitle.vue'
165
+ import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'
166
+ import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'
167
167
 
168
168
 
169
169
 
@@ -1,6 +1,6 @@
1
- const applyCommonSchema = require('@pf/src/modules/globals/models/common.schema.js');
2
- const applyEngagementSchema = require('@pf/src/modules/globals/models/engagement.schema.js');
3
- const applyOwnershipSchema = require('@pf/src/modules/globals/models/ownership.schema.js');
1
+ const applyCommonSchema = require('@pf/src/modules/globals/models/schemas/common.schema.js');
2
+ const applyEngagementSchema = require('@pf/src/modules/globals/models/schemas/engagement.schema.js');
3
+ const applyOwnershipSchema = require('@pf/src/modules/globals/models/schemas/ownership.schema.js');
4
4
 
5
5
  module.exports = (db) => {
6
6
  const PhotoSchema = new db.mongoose.Schema({
@@ -1,8 +1,8 @@
1
1
  // Factories
2
2
  const controllerFactory = require("../controllers/gallery.controller");
3
3
  // Middlewares
4
- const middlewareFactoryAuth = require('@pf/src/modules/auth/middlewares');
5
- const middlewareFactoryAccesses = require('@pf/src/modules/auth/middlewares/verifyAccesses')
4
+ const middlewareFactoryAuth = require('@pf/src/modules/auth/controllers/middlewares');
5
+ const middlewareFactoryAccesses = require('@pf/src/modules/auth/controllers/middlewares/verifyAccesses')
6
6
 
7
7
  module.exports = function(app, db, origins) {
8
8
  const controller = controllerFactory(db);
@@ -1,4 +1,4 @@
1
- import Store from '@pf/src/modules/globals/services/globals.store.js'
1
+ import Store from '@pf/src/modules/globals/views/classes/globals.store.js'
2
2
 
3
3
  const gallery = new Store(`${process.env.API_URL}/api/gallery`)
4
4
 
@@ -1,7 +1,7 @@
1
1
  const globalsQuery = require('@pf/src/modules/globals/controllers/utils/queryProcessor');
2
2
 
3
- const Cache = require('@pf/src/modules/globals/services/globals.cache');
4
- const Logger = require('@pf/src/modules/globals/services/globals.logger');
3
+ const Cache = require('@pf/src/modules/globals/controllers/classes/globals.cache');
4
+ const Logger = require('@pf/src/modules/globals/controllers/classes/globals.logger');
5
5
 
6
6
  class CRUD {
7
7
  constructor(basePath, app, db, model) {
@@ -1,18 +1,89 @@
1
1
  // Components
2
2
  // import Client from "./components/layouts/Client.vue"
3
3
 
4
- import getBrowserLocale from './localization/methods/get-browser-locale.js';
5
- import VueI18n from './localization/vue-i18n.js';
6
- import routerGuards from './router/routerGuards.js';
4
+ import getBrowserLocale from './views/localization/get-browser-locale.js';
5
+ import scrollBehavior from './views/router/scrollBehavior.js';
7
6
 
8
- import * as mixins from './mixins/mixins.js'
9
- import * as globalStore from './store/globals.js';
7
+
8
+ import layoutApp from './views/components/layouts/App.vue'
9
+ // import layoutClient from './views/components/layouts/Client.vue'
10
+
11
+ import * as mixins from './views/mixins/mixins.js'
12
+ import * as storeGlobals from './views/store/globals.js';
10
13
 
11
14
  export {
12
15
  // Client,
13
16
  mixins,
14
- routerGuards,
17
+ scrollBehavior,
15
18
  getBrowserLocale,
16
- VueI18n,
17
- globalStore
19
+ // Store
20
+ storeGlobals,
21
+ // Components
22
+ // layoutClient,
23
+ layoutApp
18
24
  };
25
+
26
+ // Пример функции инициализации для модуля заказов
27
+ function initializeGlobals(app, store, router, options = {}) {
28
+ const route = options.route || 'Home';
29
+
30
+ const envVariables = [
31
+ 'NODE_ENV',
32
+ 'PORT',
33
+ 'APP_NAME',
34
+ 'DOMAIN_URL',
35
+ 'API_URL',
36
+ 'WSS_URL',
37
+ 'FILE_SERVER_URL',
38
+ 'WDT_TOKEN',
39
+ 'WDM_URL_PROD',
40
+ 'GOOGLE_MAPS_API_KEY',
41
+ 'MOBILE_APP'
42
+ ];
43
+
44
+ app.config.globalProperties.DOMAIN_URL = process.env.DOMAIN_URL;
45
+ app.config.globalProperties.API_URL = process.env.API_URL;
46
+ app.config.globalProperties.MOBILE_APP = process.env.MOBILE_APP;
47
+ app.config.globalProperties.FILE_SERVER_URL = process.env.FILE_SERVER_URL;
48
+ app.config.globalProperties.GOOGLE_MAPS_API_KEY = process.env.GOOGLE_MAPS_API_KEY;
49
+
50
+ app
51
+ .mixin(mixins.globalMixins);
52
+
53
+ router.beforeEach((to, from, next) => {
54
+ const locale = to.params.locale;
55
+
56
+ if (locale) {
57
+ if (!app.config.globalProperties.$i18n.availableLocales.includes(locale)) {
58
+ return next({ path: '/404' });
59
+ } else {
60
+ app.config.globalProperties.$i18n.locale = locale;
61
+ return next();
62
+ }
63
+ }
64
+
65
+ return next();
66
+
67
+ });
68
+
69
+ store.addStore('globals', storeGlobals);
70
+ }
71
+
72
+ const ModuleGlobals = {
73
+ initialize: initializeGlobals,
74
+ views: {
75
+ store: {
76
+ storeGlobals,
77
+ },
78
+ router: {
79
+ // routerOrders
80
+ },
81
+ components: {
82
+ // Pages
83
+ // layoutClient,
84
+ layoutApp
85
+ }
86
+ }
87
+ }
88
+
89
+ export default ModuleGlobals
@@ -1,7 +1,7 @@
1
1
  // Importing utils
2
- const sitemap = require('./utils/sitemap.js');
3
- const mailing = require('./utils/mailing.js');
4
- const parseCookie = require('./utils/parseCookie.js');
2
+ const sitemap = require('./controllers/utils/sitemap.js');
3
+ const mailing = require('./controllers//utils/mailing.js');
4
+ const parseCookie = require('./controllers/utils/parseCookie.js');
5
5
 
6
6
  // Since controllers and routes are not specified in your folder structure, they are not imported here.
7
7
 
@@ -1,5 +1,5 @@
1
1
  // Utils
2
- const createFriendlyURL = require('@pf/src/modules/globals/utils/seo-friendly-url');
2
+ const createFriendlyURL = require('@pf/src/modules/globals/controllers/utils/seo-friendly-url');
3
3
 
4
4
  module.exports = function applyMetadataSchema(schema,db) {
5
5
  schema.add({
@@ -1,7 +1,7 @@
1
1
  import { reactive } from 'vue';
2
2
 
3
3
  // Globals
4
- import { setError } from '@pf/src/modules/globals/store/globals'
4
+ import { setError } from '@pf/src/modules/globals/views/store/globals'
5
5
 
6
6
  class Store {
7
7
  constructor(apiUrl) {
@@ -3,7 +3,7 @@ import { ref } from 'vue';
3
3
 
4
4
  import Radio from "@pf/src/components/Radio/Radio.vue";
5
5
 
6
- import ButtonSort from '@pf/src/modules/globals/components/elements/ButtonSort.vue'
6
+ import ButtonSort from '@pf/src/modules/globals/views/components/elements/ButtonSort.vue'
7
7
  import IconSort from '@pf/src/modules/icons/navigation/IconSort.vue'
8
8
 
9
9
  const props = defineProps({