@ozdao/prometheus-framework 0.2.226 → 0.2.228

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  3. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  5. package/dist/prometheus-framework/src/modules/auth/auth.client.cjs +3 -5
  6. package/dist/prometheus-framework/src/modules/auth/auth.client.cjs.map +1 -1
  7. package/dist/prometheus-framework/src/modules/auth/auth.client.js +4 -6
  8. package/dist/prometheus-framework/src/modules/auth/auth.client.js.map +1 -1
  9. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
  10. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
  11. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
  14. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  23. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs.map +1 -1
  25. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +2 -2
  26. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
  27. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  36. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  37. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +3 -3
  38. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
  39. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
  40. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  41. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
  42. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  43. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +2 -2
  48. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  49. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  51. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +3 -3
  52. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  53. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +3 -3
  54. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  55. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +5 -5
  58. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
  59. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  62. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  63. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  66. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +3 -3
  72. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  73. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +4 -4
  76. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
  77. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
  78. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  79. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
  80. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +4 -4
  90. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  93. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  95. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -3
  96. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +3 -4
  98. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
  99. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +4 -4
  100. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  101. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  102. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  103. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
  104. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  105. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +3 -3
  106. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  107. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
  108. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  109. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +10 -1
  110. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +10 -1
  112. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
  113. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +566 -566
  114. package/dist/prometheus-framework/src/modules/pages/pages.client.js +566 -566
  115. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  116. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  117. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
  118. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
  119. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  120. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  121. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
  122. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  123. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  131. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
  132. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  133. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
  134. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  135. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
  136. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  137. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  139. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  141. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
  142. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  143. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  145. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +3 -3
  146. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  147. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  149. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
  150. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
  151. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
  152. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  153. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  155. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +4 -4
  156. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
  157. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +4 -4
  158. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +4 -4
  159. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +2 -2
  160. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  161. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  163. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
  164. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
  165. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +5 -5
  166. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
  167. package/package.json +1 -1
  168. package/src/modules/auth/auth.client.js +3 -7
  169. package/src/modules/auth/views/middlewares/auth.validation.js +1 -1
  170. package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +2 -2
  171. package/src/modules/organizations/router/organizations.js +10 -1
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const wallet = require("../../localization/wallet.json.cjs");
5
- const Field = require("../../../../../components/Field/Field.vue.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
6
  const vueI18n = require("vue-i18n");
7
7
  const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with card", -1);
8
8
  const _hoisted_2 = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" };
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createElementBlock, Fragment, createElementVNode, createVNode, unref, toDisplayString } from "vue";
2
2
  import text from "../../localization/wallet.json.js";
3
- import Field from "../../../../../components/Field/Field.vue.js";
3
+ import Field from "../../../../../components/Field/Field.vue2.js";
4
4
  import { useI18n } from "vue-i18n";
5
5
  const _hoisted_1 = /* @__PURE__ */ createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with card", -1);
6
6
  const _hoisted_2 = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" };
@@ -5,8 +5,8 @@ const vueI18n = require("vue-i18n");
5
5
  const bignumber = require("../../../../../../node_modules/bignumber.js/bignumber.cjs");
6
6
  const wallet_store = require("../../store/wallet.store.cjs");
7
7
  const wallet = require("../../localization/wallet.json.cjs");
8
- const Field = require("../../../../../components/Field/Field.vue.cjs");
9
- const Select = require("../../../../../components/Select/Select.vue.cjs");
8
+ const Field = require("../../../../../components/Field/Field.vue2.cjs");
9
+ const Select = require("../../../../../components/Select/Select.vue2.cjs");
10
10
  const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
11
11
  const _hoisted_2 = { class: "t-semi" };
12
12
  const _hoisted_3 = ["disabled"];
@@ -3,8 +3,8 @@ import { useI18n } from "vue-i18n";
3
3
  import { BigNumber } from "../../../../../../node_modules/bignumber.js/bignumber.js";
4
4
  import { state, actions } from "../../store/wallet.store.js";
5
5
  import text from "../../localization/wallet.json.js";
6
- import Field from "../../../../../components/Field/Field.vue.js";
7
- import Select from "../../../../../components/Select/Select.vue.js";
6
+ import Field from "../../../../../components/Field/Field.vue2.js";
7
+ import Select from "../../../../../components/Select/Select.vue2.js";
8
8
  const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
9
9
  const _hoisted_2 = { class: "t-semi" };
10
10
  const _hoisted_3 = ["disabled"];
@@ -5,17 +5,17 @@ const vueI18n = require("vue-i18n");
5
5
  const Web3 = require("web3");
6
6
  const wallet_store = require("../../store/wallet.store.cjs");
7
7
  const wallet = require("../../localization/wallet.json.cjs");
8
- const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
9
- const Button = require("../../../../../components/Button/Button.vue.cjs");
8
+ const Popup = require("../../../../../components/Popup/Popup.vue2.cjs");
9
+ const Button = require("../../../../../components/Button/Button.vue2.cjs");
10
10
  require("vue-router");
11
- ;/* empty css */
11
+ ;/* empty css */
12
12
  require("../../../../reports/store/reports.cjs");
13
13
  ;/* empty css */
14
- ;/* empty css */
14
+ ;/* empty css */
15
15
  require("../../../../auth/views/store/auth.cjs");
16
16
  require("../../../../organizations/store/memberships.cjs");
17
17
  require("../../../../community/store/reactions.cjs");
18
- ;/* empty css */
18
+ ;/* empty css */
19
19
  const ConnectMetamask = require("../elements/ConnectMetamask.vue.cjs");
20
20
  const CashDeposit = require("../blocks/CashDeposit.vue.cjs");
21
21
  const CardDeposit = require("../blocks/CardDeposit.vue.cjs");
@@ -3,17 +3,17 @@ import { useI18n } from "vue-i18n";
3
3
  import Web3 from "web3";
4
4
  import { state, actions } from "../../store/wallet.store.js";
5
5
  import text from "../../localization/wallet.json.js";
6
- import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
7
- import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
6
+ import _sfc_main$3 from "../../../../../components/Popup/Popup.vue2.js";
7
+ import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
8
8
  import "vue-router";
9
- /* empty css */
9
+ /* empty css */
10
10
  import "../../../../reports/store/reports.js";
11
11
  /* empty css */
12
- /* empty css */
12
+ /* empty css */
13
13
  import "../../../../auth/views/store/auth.js";
14
14
  import "../../../../organizations/store/memberships.js";
15
15
  import "../../../../community/store/reactions.js";
16
- /* empty css */
16
+ /* empty css */
17
17
  import _sfc_main$2 from "../elements/ConnectMetamask.vue.js";
18
18
  import _sfc_main$4 from "../blocks/CashDeposit.vue.js";
19
19
  import _sfc_main$5 from "../blocks/CardDeposit.vue.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.2.226",
3
+ "version": "0.2.228",
4
4
  "description": "Web3 Framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -25,13 +25,6 @@ function initializeAuth(app, store, router, options = {}) {
25
25
  const route = options.route || 'Home';
26
26
 
27
27
  router.addRoute(route, routerAuth);
28
-
29
- const homeRoute = router.getRoutes().find(routes => routes.name === route);
30
-
31
- if (homeRoute && process.env.MOBILE_APP) {
32
- homeRoute.beforeEnter = homeRoute.beforeEnter || [];
33
- homeRoute.beforeEnter.push(validationAuth.initUser);
34
- }
35
28
 
36
29
  store.addStore('auth', storeAuth);
37
30
  store.addStore('twofa', storeTwofa);
@@ -47,6 +40,9 @@ const ModuleAuth = {
47
40
  router: {
48
41
  routerAuth
49
42
  },
43
+ middlewares: {
44
+ validationAuth
45
+ },
50
46
  components: {
51
47
  // Layout
52
48
  Auth,
@@ -9,7 +9,7 @@ function resetUser(to, from, next) {
9
9
  }
10
10
 
11
11
  async function initUser(to, from, next) {
12
- await auth.initialize();
12
+ await auth.actions.initialize();
13
13
  next()
14
14
  }
15
15
 
@@ -2,7 +2,7 @@
2
2
  <div class="">
3
3
  <h1 class="pd-medium radius-medium bg-light mn-b-small">Welcome to Backoffice</h1>
4
4
 
5
- {{auth.state.accesses}}
5
+ <!-- {{auth.state.accesses}} -->
6
6
 
7
7
  <Menu
8
8
  class="bg-light mn-b-semi"
@@ -99,7 +99,7 @@
99
99
  <MenuItem
100
100
  v-if="hasAccess(route.params._id, 'events', 'read', auth.state.accesses)"
101
101
  @click="router.push({
102
- name: 'Events Backoffice',
102
+ name: 'Organization_Events Backoffice',
103
103
  params: {
104
104
  _id: route.params._id
105
105
  }
@@ -67,7 +67,16 @@ const organizations = [{
67
67
  ...membersRoutes,
68
68
  ...departmentRoutes,
69
69
  ...productRoutes,
70
- ...eventsRoutes,
70
+ ...eventsRoutes.map(route => ({
71
+ ...route,
72
+ path: route.path,
73
+ name: `Organization_${route.name}`,
74
+ meta: {
75
+ ...route.meta,
76
+ organizationScoped: true
77
+ },
78
+ props: true
79
+ })),
71
80
  ...categoriesRoutes,
72
81
  ...leftoversRoutes,
73
82
  ...paymentsRoutes,