@ozdao/prometheus-framework 0.2.188 → 0.2.190

Sign up to get free protection for your applications and to get access to all the features.
Files changed (367) hide show
  1. package/dist/builder.js +6 -3
  2. package/dist/builder.mjs +6 -3
  3. package/dist/node_modules/@unhead/vue/dist/shared/vue.cf295fb1.cjs +1 -0
  4. package/dist/node_modules/@unhead/vue/dist/shared/vue.cf295fb1.js +26 -0
  5. package/dist/node_modules/@unhead/vue/dist/shared/vue.f36acd1f.cjs +1 -0
  6. package/dist/node_modules/@unhead/vue/dist/shared/vue.f36acd1f.js +26 -0
  7. package/dist/node_modules/unhead/dist/index.cjs +1 -0
  8. package/dist/node_modules/unhead/dist/index.js +7 -0
  9. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +6 -6
  11. package/dist/prometheus-framework/src/components/LocationSelection/LocationSelection.vue.cjs +1 -0
  12. package/dist/prometheus-framework/src/components/LocationSelection/LocationSelection.vue.js +96 -0
  13. package/dist/prometheus-framework/src/components/Sidebar/Sidebar.vue.cjs +1 -0
  14. package/dist/prometheus-framework/src/components/Sidebar/Sidebar.vue.js +74 -0
  15. package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -0
  16. package/dist/prometheus-framework/src/components/Status/Status.vue.js +29 -0
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/auth/views/store/auth.js +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.js +1 -1
  23. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
  25. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +73 -42
  29. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  39. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  41. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +2 -2
  43. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  51. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  53. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +2 -2
  55. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
  57. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  59. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/globals/globals.client.js +37 -10
  61. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.cjs +1 -0
  62. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.js +72 -0
  63. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +1 -0
  64. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +57 -0
  65. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -0
  66. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +35 -0
  67. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +1 -0
  68. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +75 -0
  69. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -0
  70. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +194 -0
  71. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonDate.vue.cjs +1 -0
  72. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonDate.vue.js +38 -0
  73. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonSort.vue.cjs +1 -0
  74. package/dist/prometheus-framework/src/modules/globals/views/components/elements/ButtonSort.vue.js +31 -0
  75. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -0
  76. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +92 -0
  77. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -0
  78. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +197 -0
  79. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs +1 -0
  80. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js +16 -0
  81. package/dist/prometheus-framework/src/modules/globals/views/components/pages/401.vue.cjs +1 -0
  82. package/dist/prometheus-framework/src/modules/globals/views/components/pages/401.vue.js +10 -0
  83. package/dist/prometheus-framework/src/modules/globals/views/components/pages/404.vue.cjs +1 -0
  84. package/dist/prometheus-framework/src/modules/globals/views/components/pages/404.vue.js +10 -0
  85. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigation.vue.cjs +1 -0
  86. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigation.vue.js +157 -0
  87. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -0
  88. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Navigation.vue.js +95 -0
  89. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -0
  90. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +54 -0
  91. package/dist/prometheus-framework/src/modules/globals/views/components/sections/Walkthrough.vue.cjs +1 -0
  92. package/dist/prometheus-framework/src/modules/globals/views/components/sections/Walkthrough.vue.js +126 -0
  93. package/dist/prometheus-framework/src/modules/globals/views/localization/get-browser-locale.cjs +1 -0
  94. package/dist/prometheus-framework/src/modules/globals/views/localization/get-browser-locale.js +7 -0
  95. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs +1 -0
  96. package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js +47 -0
  97. package/dist/prometheus-framework/src/modules/globals/views/router/scrollBehavior.cjs +1 -0
  98. package/dist/prometheus-framework/src/modules/globals/views/router/scrollBehavior.js +18 -0
  99. package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +1 -0
  100. package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +83 -0
  101. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -11
  103. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +3 -3
  105. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +4 -4
  107. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
  111. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +2 -2
  113. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  115. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
  119. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  121. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.js +1 -1
  123. package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +1 -1
  125. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  127. package/dist/prometheus-framework/src/modules/orders/store/customers.store.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/orders/store/customers.store.js +1 -1
  129. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  131. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +1 -1
  133. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  135. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
  137. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
  139. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  141. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  143. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  145. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  147. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  149. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +1 -1
  151. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +1 -1
  153. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  154. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  155. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  157. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  159. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  161. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +1 -1
  163. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  165. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Pages.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Pages.vue.js +2 -2
  167. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  169. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
  171. package/dist/prometheus-framework/src/modules/pages/views/router/pages.router.cjs +1 -1
  172. package/dist/prometheus-framework/src/modules/pages/views/router/pages.router.js +1 -1
  173. package/dist/prometheus-framework/src/modules/pages/views/store/pages.cjs +1 -1
  174. package/dist/prometheus-framework/src/modules/pages/views/store/pages.js +1 -1
  175. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +3 -3
  177. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  179. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  181. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  183. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  185. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  186. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  187. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  189. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  191. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  193. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  195. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  197. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  199. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  201. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  203. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  205. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  207. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +3 -3
  209. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
  211. package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/spots/router/spots.js +1 -1
  213. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  215. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  219. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  221. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
  223. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  225. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  227. package/dist/style.css +1 -1
  228. package/package.json +1 -1
  229. package/src/builder/modes/ssr.dev.js +4 -1
  230. package/src/builder/templates/page.js +1 -1
  231. package/src/builder/webpack/webpack.config.base.js +2 -1
  232. package/src/builder/webpack/webpack.config.spa.js +0 -1
  233. package/src/components/Feed/Feed.vue +5 -5
  234. package/src/components/LocationSelection/LocationSelection.vue +5 -6
  235. package/src/components/Sidebar/Sidebar.vue +1 -1
  236. package/src/modules/auth/controllers/services/twofa.service.js +1 -1
  237. package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
  238. package/src/modules/auth/views/store/auth.js +1 -1
  239. package/src/modules/auth/views/store/twofa.js +1 -1
  240. package/src/modules/auth/views/validations/inputs.validation.js +1 -1
  241. package/src/modules/backoffice/router/backoffice.js +1 -1
  242. package/src/modules/chats/controllers/chats.controller.js +1 -1
  243. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  244. package/src/modules/community/components/pages/BlogPost.vue +63 -2
  245. package/src/modules/community/components/sections/Comment.vue +1 -1
  246. package/src/modules/community/models/blogpost.model.js +4 -4
  247. package/src/modules/community/store/blogposts.js +1 -1
  248. package/src/modules/community/store/reactions.js +1 -1
  249. package/src/modules/events/components/blocks/CardEvent.vue +2 -2
  250. package/src/modules/events/controllers/events.controller.js +1 -1
  251. package/src/modules/events/controllers/tickets.controller.js +1 -1
  252. package/src/modules/events/models/event.model.js +4 -4
  253. package/src/modules/events/store/events.js +1 -1
  254. package/src/modules/events/store/tickets.js +1 -1
  255. package/src/modules/gallery/components/pages/Gallery.vue +2 -2
  256. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
  257. package/src/modules/gallery/models/photo.model.js +3 -3
  258. package/src/modules/gallery/store/gallery.js +1 -1
  259. package/src/modules/globals/{services → controllers/classes}/globals.crud.js +2 -2
  260. package/src/modules/globals/globals.client.js +83 -8
  261. package/src/modules/globals/globals.server.js +3 -3
  262. package/src/modules/globals/models/{metadata.schema.js → schemas/metadata.schema.js} +1 -1
  263. package/src/modules/globals/{services → views/classes}/globals.store.js +1 -1
  264. package/src/modules/globals/{components → views/components}/blocks/BlockSorting.vue +1 -1
  265. package/src/modules/globals/views/components/layouts/App.vue +104 -0
  266. package/src/modules/globals/{components → views/components}/layouts/Client.vue +31 -53
  267. package/src/modules/globals/{components → views/components}/partials/BottomNavigation.vue +0 -2
  268. package/src/modules/globals/{components → views/components}/partials/Header.vue +15 -11
  269. package/src/modules/globals/{components → views/components}/partials/Navigation.vue +4 -4
  270. package/src/modules/globals/{components → views/components}/sections/Walkthrough.vue +1 -1
  271. package/src/modules/globals/views/middlewares/localization.js +16 -0
  272. package/src/modules/integrations/stripe/controllers/webhooks/stripe.webhook.js +2 -2
  273. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
  274. package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
  275. package/src/modules/marketplace/router/marketplace.js +1 -1
  276. package/src/modules/orders/components/pages/Order.vue +1 -1
  277. package/src/modules/orders/components/pages/OrderBackoffice.vue +2 -2
  278. package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
  279. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +2 -2
  280. package/src/modules/orders/components/pages/Orders.vue +2 -2
  281. package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
  282. package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
  283. package/src/modules/orders/controllers/applications.controller.js +1 -1
  284. package/src/modules/orders/controllers/orders.controller.js +1 -1
  285. package/src/modules/orders/models/customer.model.js +3 -3
  286. package/src/modules/orders/models/order.model.js +1 -1
  287. package/src/modules/orders/orders.server.js +1 -1
  288. package/src/modules/orders/router/orders.backoffice.router.js +1 -1
  289. package/src/modules/orders/router/orders.router.js +1 -1
  290. package/src/modules/orders/store/applications.js +1 -1
  291. package/src/modules/orders/store/customers.store.js +1 -1
  292. package/src/modules/orders/store/orders.js +1 -1
  293. package/src/modules/orders/store/shopcart.js +1 -1
  294. package/src/modules/organizations/components/pages/DepartmentEdit.vue +1 -1
  295. package/src/modules/organizations/components/pages/Members.vue +2 -2
  296. package/src/modules/organizations/components/sections/MembersAdd.vue +1 -1
  297. package/src/modules/organizations/controllers/invites.controller.js +1 -1
  298. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  299. package/src/modules/organizations/models/invite.model.js +2 -2
  300. package/src/modules/organizations/models/organization.model.js +1 -1
  301. package/src/modules/organizations/router/backoffice.router.js +1 -1
  302. package/src/modules/organizations/router/organizations.js +1 -1
  303. package/src/modules/organizations/store/departments.js +1 -1
  304. package/src/modules/organizations/store/invites.js +1 -1
  305. package/src/modules/organizations/store/memberships.js +1 -1
  306. package/src/modules/organizations/store/organizations.js +1 -1
  307. package/src/modules/pages/pages.server.js +1 -1
  308. package/src/modules/pages/views/components/pages/Page.vue +1 -1
  309. package/src/modules/pages/views/components/pages/PageEdit.vue +1 -1
  310. package/src/modules/pages/views/components/pages/Pages.vue +2 -2
  311. package/src/modules/pages/views/components/partials/SidebarPages.vue +1 -1
  312. package/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
  313. package/src/modules/pages/views/router/pages.router.js +1 -1
  314. package/src/modules/pages/views/store/pages.js +1 -1
  315. package/src/modules/pages/views/store/pages.store.js +1 -1
  316. package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
  317. package/src/modules/products/components/pages/EditLeftover.vue +1 -1
  318. package/src/modules/products/components/pages/ProductEdit.vue +1 -1
  319. package/src/modules/products/components/pages/Products.vue +1 -1
  320. package/src/modules/products/models/leftover.model.js +1 -1
  321. package/src/modules/products/store/categories.js +1 -1
  322. package/src/modules/products/store/leftovers.js +1 -1
  323. package/src/modules/products/store/products.js +1 -1
  324. package/src/modules/projects/store/projects.js +1 -1
  325. package/src/modules/reports/store/reports.js +1 -1
  326. package/src/modules/spots/components/layouts/Spots.vue +1 -1
  327. package/src/modules/spots/components/pages/Map.vue +1 -1
  328. package/src/modules/spots/router/spots.js +1 -1
  329. package/src/modules/spots/spots.server.js +1 -1
  330. package/src/modules/spots/store/spots.js +1 -1
  331. package/src/modules/users/models/user.model.js +3 -3
  332. package/src/modules/wallet/controllers/routes/payments.routes.js +1 -1
  333. package/src/modules/wallet/views/components/pages/Payments.vue +1 -1
  334. package/src/modules/wallet/views/store/payments.store.js +1 -1
  335. package/src/modules/wallet/views/store/wallet.store.js +1 -1
  336. package/src/modules/globals/router/routerGuards.js +0 -29
  337. /package/src/modules/globals/{services → controllers/classes}/globals.cache.js +0 -0
  338. /package/src/modules/globals/{services → controllers/classes}/globals.logger.js +0 -0
  339. /package/src/modules/globals/{services → controllers/classes}/globals.observer.js +0 -0
  340. /package/src/modules/globals/{services → controllers/classes}/globals.webhook.js +0 -0
  341. /package/src/modules/globals/{utils → controllers/utils}/mailing.js +0 -0
  342. /package/src/modules/globals/{utils → controllers/utils}/parseCookie.js +0 -0
  343. /package/src/modules/globals/{utils → controllers/utils}/seo-friendly-url.js +0 -0
  344. /package/src/modules/globals/{utils → controllers/utils}/sitemap.js +0 -0
  345. /package/src/modules/globals/models/{common.schema.js → schemas/common.schema.js} +0 -0
  346. /package/src/modules/globals/models/{credentials.schema.js → schemas/credentials.schema.js} +0 -0
  347. /package/src/modules/globals/models/{engagement.schema.js → schemas/engagement.schema.js} +0 -0
  348. /package/src/modules/globals/models/{ownership.schema.js → schemas/ownership.schema.js} +0 -0
  349. /package/src/modules/globals/models/{profile.schema.js → schemas/profile.schema.js} +0 -0
  350. /package/src/modules/globals/models/{socials.schema.js → schemas/socials.schema.js} +0 -0
  351. /package/src/modules/globals/{components → views/components}/blocks/BlockFilter.vue +0 -0
  352. /package/src/modules/globals/{components → views/components}/blocks/BlockSearch.vue +0 -0
  353. /package/src/modules/globals/{components → views/components}/blocks/CardFooter.vue +0 -0
  354. /package/src/modules/globals/{components → views/components}/blocks/CardHeader.vue +0 -0
  355. /package/src/modules/globals/{components → views/components}/elements/ButtonDate.vue +0 -0
  356. /package/src/modules/globals/{components → views/components}/elements/ButtonSort.vue +0 -0
  357. /package/src/modules/globals/{components → views/components}/layouts/Empty.vue +0 -0
  358. /package/src/modules/globals/{components → views/components}/pages/401.vue +0 -0
  359. /package/src/modules/globals/{components → views/components}/pages/404.vue +0 -0
  360. /package/src/modules/globals/{components → views/components}/partials/Footer.vue +0 -0
  361. /package/src/modules/globals/{components → views/components}/partials/NavigationBar.vue +0 -0
  362. /package/src/modules/globals/{components → views/components}/sections/SectionPageTitle.vue +0 -0
  363. /package/src/modules/globals/{components → views/components}/sections/Title.vue +0 -0
  364. /package/src/modules/globals/{localization → views/localization}/get-browser-locale.js +0 -0
  365. /package/src/modules/globals/{mixins → views/mixins}/mixins.js +0 -0
  366. /package/src/modules/globals/{router → views/router}/scrollBehavior.js +0 -0
  367. /package/src/modules/globals/{store → views/store}/globals.js +0 -0
@@ -1,4 +1,4 @@
1
- import layoutEmpty from '@pf/src/modules/globals/components/layouts/Empty.vue'
1
+ import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue'
2
2
  import layoutSpots from '../components/layouts/Spots.vue'
3
3
 
4
4
  import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';
@@ -4,7 +4,7 @@ const RoutesSpot = require('./routes/spots.routes.js');
4
4
 
5
5
  const FactorySpot = require('./controllers/spots.controller.js');
6
6
 
7
- const CRUD = require('@pf/src/modules/globals/services/globals.crud');
7
+ const CRUD = require('@pf/src/modules/globals/controllers/classes/globals.crud');
8
8
 
9
9
  function initializeSpots(app, db, origins, publicPath) {
10
10
  // Setup models in the database object
@@ -4,7 +4,7 @@ import Cookies from 'js-cookie'
4
4
  // Vue modules
5
5
  import { reactive, watch } from "vue";
6
6
  // Globals
7
- import { setError } from '@pf/src/modules/globals/store/globals'
7
+ import { setError } from '@pf/src/modules/globals/views/store/globals'
8
8
  // Setup Axios
9
9
  const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
10
10
  // Setup Cookies
@@ -1,6 +1,6 @@
1
- const applyProfileSchema = require('@pf/src/modules/globals/models/profile.schema.js');
2
- const applySocialsSchema = require('@pf/src/modules/globals/models/socials.schema.js');
3
- const applyCredentialsSchema = require('@pf/src/modules/globals/models/credentials.schema.js');
1
+ const applyProfileSchema = require('@pf/src/modules/globals/models/schemas/profile.schema.js');
2
+ const applySocialsSchema = require('@pf/src/modules/globals/models/schemas/socials.schema.js');
3
+ const applyCredentialsSchema = require('@pf/src/modules/globals/models/schemas/credentials.schema.js');
4
4
 
5
5
  module.exports = (db) => {
6
6
 
@@ -6,7 +6,7 @@ const controllerFactoryTickets = require("@pf/src/modules/events/controllers/tic
6
6
  // Webhooks
7
7
  const WebhookStripe = require('@pf/src/modules/integrations/stripe/controllers/webhooks/stripe.webhook');
8
8
  // Observer
9
- const Observer = require('@pf/src/modules/globals/services/globals.observer');
9
+ const Observer = require('@pf/src/modules/globals/controllers/classes/globals.observer');
10
10
  // Routes
11
11
  module.exports = function(app, db, origins, publicPath) {
12
12
  const observer = new Observer();
@@ -57,7 +57,7 @@
57
57
  import { ref } from 'vue';
58
58
  import { useRoute, useRouter } from 'vue-router';
59
59
 
60
- import SectionPageTitle from '@pf/src/modules/globals/components/sections/SectionPageTitle.vue'
60
+ import SectionPageTitle from '@pf/src/modules/globals/views/components/sections/SectionPageTitle.vue'
61
61
  import Feed from '@pf/src/components/Feed/Feed.vue'
62
62
 
63
63
  import * as payments from '@pf/src/modules/wallet/views/store/payments.store';
@@ -1,6 +1,6 @@
1
1
  import { reactive, watch } from "vue";
2
2
  import axios from "axios";
3
- import { setError } from "@pf/src/modules/globals/store/globals";
3
+ import { setError } from "@pf/src/modules/globals/views/store/globals";
4
4
 
5
5
  const $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true });
6
6
 
@@ -2,7 +2,7 @@ import axios from 'axios';
2
2
  import { reactive } from 'vue';
3
3
  import { BigNumber } from 'bignumber.js';
4
4
 
5
- import { setError } from "@pf/src/modules/globals/store/globals";
5
+ import { setError } from "@pf/src/modules/globals/views/store/globals";
6
6
 
7
7
  const API_CRYPTO_PATH = '/api/crypto';
8
8
  const WDT_SUPPLY = 20_000_000;
@@ -1,29 +0,0 @@
1
- // routerGuards.js
2
- export default function setupRouterGuards(router, store, app, i18n) {
3
- router.beforeEach((to, from, next) => {
4
- const { authorize } = to.meta;
5
-
6
- if (authorize) {
7
- if (store.auth.state.access.status === false) {
8
- return next({ path: '/auth/signin', query: { returnUrl: to.path } });
9
- }
10
-
11
- if (authorize.length && !authorize.some(r => store.auth.state.access.roles.includes(r))) {
12
- return next({ path: '/auth/signin' });
13
- }
14
- }
15
-
16
- const locale = to.params.locale;
17
-
18
- if (
19
- app.config.globalProperties.$i18n.locale !== locale
20
- && locale
21
- && Object.keys(i18n.global.availableLocales).includes(locale)
22
- ) {
23
- app.config.globalProperties.$i18n.locale = locale;
24
- return next();
25
- }
26
-
27
- next();
28
- });
29
- }