@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
@@ -5,15 +5,15 @@ import "vue-i18n";
5
5
  /* empty css */
6
6
  import _sfc_main$3 from "../../../../components/UploadImage/UploadImage.vue.js";
7
7
  /* empty css */
8
- import Field from "../../../../components/Field/Field.vue.js";
9
- /* empty css */
8
+ import Field from "../../../../components/Field/Field.vue2.js";
9
+ /* empty css */
10
10
  import _sfc_main$8 from "../../../../components/Checkbox/Checkbox.vue.js";
11
11
  import "../../../../../../node_modules/@googlemaps/js-api-loader/dist/index.js";
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
16
- import _sfc_main$6 from "../../../../components/Popup/Popup.vue.js";
15
+ import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
16
+ import _sfc_main$6 from "../../../../components/Popup/Popup.vue2.js";
17
17
  import _sfc_main$2 from "../../../../components/Block/Block.vue.js";
18
18
  import _sfc_main$7 from "../../../../components/Feed/Feed.vue.js";
19
19
  import _sfc_main$5 from "../../../icons/navigation/IconDelete.vue.js";
@@ -5,10 +5,10 @@ const vueRouter = require("vue-router");
5
5
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
6
6
  ;/* empty css */
7
7
  ;/* empty css */
8
- const Popup = require("../../../../components/Popup/Popup.vue.cjs");
8
+ const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
9
9
  const SectionPageTitle = require("../../../globals/views/components/sections/SectionPageTitle.vue.cjs");
10
10
  const MembersAdd = require("../sections/MembersAdd.vue.cjs");
11
- ;/* empty css */
11
+ ;/* empty css */
12
12
  require("../../../../components/Menu/MenuItem.vue.cjs");
13
13
  const CardUser = require("../../../users/components/blocks/CardUser.vue.cjs");
14
14
  const CardDepartment = require("../blocks/CardDepartment.vue.cjs");
@@ -3,10 +3,10 @@ import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$4 from "../../../../components/Feed/Feed.vue.js";
4
4
  /* empty css */
5
5
  /* empty css */
6
- import _sfc_main$2 from "../../../../components/Popup/Popup.vue.js";
6
+ import _sfc_main$2 from "../../../../components/Popup/Popup.vue2.js";
7
7
  import _sfc_main$1 from "../../../globals/views/components/sections/SectionPageTitle.vue.js";
8
8
  import _sfc_main$3 from "../sections/MembersAdd.vue.js";
9
- /* empty css */
9
+ /* empty css */
10
10
  import "../../../../components/Menu/MenuItem.vue.js";
11
11
  import _sfc_main$5 from "../../../users/components/blocks/CardUser.vue.js";
12
12
  import CardDepartment from "../blocks/CardDepartment.vue.js";
@@ -8,7 +8,7 @@ const Tab = require("../../../../components/Tab/Tab.vue2.cjs");
8
8
  const Block = require("../../../../components/Block/Block.vue.cjs");
9
9
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
10
10
  const CardBlogpost = require("../../../community/components/blocks/CardBlogpost.vue.cjs");
11
- ;/* empty css */
11
+ ;/* empty css */
12
12
  require("../../../../components/Menu/MenuItem.vue.cjs");
13
13
  ;/* empty css */
14
14
  const DetailsTabSection = require("../sections/DetailsTabSection.vue.cjs");
@@ -6,7 +6,7 @@ import _sfc_main$2 from "../../../../components/Tab/Tab.vue2.js";
6
6
  import _sfc_main$6 from "../../../../components/Block/Block.vue.js";
7
7
  import _sfc_main$3 from "../../../../components/Feed/Feed.vue.js";
8
8
  import _sfc_main$4 from "../../../community/components/blocks/CardBlogpost.vue.js";
9
- /* empty css */
9
+ /* empty css */
10
10
  import "../../../../components/Menu/MenuItem.vue.js";
11
11
  /* empty css */
12
12
  import _sfc_main$1 from "../sections/DetailsTabSection.vue.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Menu = require("../../../../components/Menu/Menu.vue.cjs");
4
+ const Menu = require("../../../../components/Menu/Menu.vue2.cjs");
5
5
  const MenuItem = require("../../../../components/Menu/MenuItem.vue.cjs");
6
6
  ;/* empty css */
7
7
  const IconProducts = require("../../../icons/entities/IconProducts.vue.cjs");
@@ -36,7 +36,6 @@ const _sfc_main = {
36
36
  return (_ctx, _cache) => {
37
37
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
38
38
  _hoisted_2,
39
- vue.createTextVNode(" " + vue.toDisplayString(auth.state.accesses) + " ", 1),
40
39
  vue.createVNode(Menu.default, { class: "bg-light mn-b-semi" }, {
41
40
  default: vue.withCtx(() => [
42
41
  _ctx.hasAccess(vue.unref(route).params._id, "members", "read", auth.state.accesses) ? (vue.openBlock(), vue.createBlock(MenuItem.default, {
@@ -142,7 +141,7 @@ const _sfc_main = {
142
141
  _ctx.hasAccess(vue.unref(route).params._id, "events", "read", auth.state.accesses) ? (vue.openBlock(), vue.createBlock(MenuItem.default, {
143
142
  key: 5,
144
143
  onClick: _cache[5] || (_cache[5] = ($event) => vue.unref(router).push({
145
- name: "Events Backoffice",
144
+ name: "Organization_Events Backoffice",
146
145
  params: {
147
146
  _id: vue.unref(route).params._id
148
147
  }
@@ -1 +1 @@
1
- {"version":3,"file":"OrganizationBackoffice.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/pages/OrganizationBackoffice.vue"],"sourcesContent":["<template>\n\t<div class=\"\">\n\t\t<h1 class=\"pd-medium radius-medium bg-light mn-b-small\">Welcome to Backoffice</h1>\n\t\t\n\t\t{{auth.state.accesses}}\n\n\t\t<Menu \n\t\t\tclass=\"bg-light mn-b-semi\"\n\t\t>\n\t\t\t<MenuItem \n\t\t\t\tv-if=\"hasAccess(route.params._id, 'members', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Organization Members', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\"\n\t\t >\n\t\t \t<IconGroups class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tMembers\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <!-- <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Community', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tCommunity\n\t\t </span>\n\t\t </MenuItem> -->\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'products', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Products', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconProducts class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tProducts\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'leftovers', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Leftovers', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconLeftovers class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tLeftovers\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'orders', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Orders', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconOrders class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tOrders\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Gallery', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconGallery class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tGallery\n\t\t </span>\n\t\t </MenuItem>\n\t\t \n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'events', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Events Backoffice', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconEvents class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tEvents\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <!-- <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Payments', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tPayments\n\t\t </span>\n\t\t </MenuItem> -->\n\t\t</Menu>\n\n\t\t<!-- <Menu \n\t\t\tclass=\"bg-light\"\n\t\t>\n\t\t\t<MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Organizations', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tOrganizations\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Reports', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tReports\n\t\t </span>\n\t\t </MenuItem>\n\t\t</Menu> -->\n\t</div>\n</template>\n\n<script setup=\"props\">\n/////////////////////////////\n// COMPONENT DEPENDENCIES\n/////////////////////////////\nimport { ref, onMounted } from 'vue';\n\n// Mobile Module\nimport Menu from '@pf/src/components/Menu/Menu.vue'\nimport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\nimport SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue'\n\nimport IconProducts from '@pf/src/modules/icons/entities/IconProducts.vue'\nimport IconEvents from '@pf/src/modules/icons/entities/IconEvents.vue'\nimport IconGroups from '@pf/src/modules/icons/entities/IconGroups.vue'\nimport IconCommunity from '@pf/src/modules/icons/entities/IconCommunity.vue'\nimport IconGallery from '@pf/src/modules/icons/entities/IconGallery.vue'\nimport IconOrders from '@pf/src/modules/icons/entities/IconOrders.vue'\nimport IconLeftovers from '@pf/src/modules/icons/entities/IconLeftovers.vue'\n/////////////////////////////\n// HELPERS\n/////////////////////////////\nimport { useRoute, useRouter } from 'vue-router'\n\nimport * as auth from '@pf/src/modules/auth/views/store/auth'\n\nimport * as organizations from '@pf/src/modules/organizations/store/organizations'\n\nconst route = useRoute()\nconst router = useRouter()\n/////////////////////////////\n// CREATED\n/////////////////////////////\nconst props = defineProps({\n favorites: Array,\n});\n\nconst selectedOrganization = ref(null);\nconst publics = ref([]);\n/////////////////////////////\n// MOUNTED\n/////////////////////////////\nonMounted(async () =>{\n})\n</script>\n\n<style lang=\"scss\">\n</style>"],"names":["useRoute","useRouter","ref","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0LA,UAAM,QAAQA,UAAAA,SAAU;AACxB,UAAM,SAASC,UAAAA,UAAW;AAQGC,QAAG,IAAC,IAAI;AACrBA,QAAG,IAAC,EAAE;AAItBC,QAAAA,UAAU,YAAW;AAAA,IACrB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"OrganizationBackoffice.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/pages/OrganizationBackoffice.vue"],"sourcesContent":["<template>\n\t<div class=\"\">\n\t\t<h1 class=\"pd-medium radius-medium bg-light mn-b-small\">Welcome to Backoffice</h1>\n\t\t\n\t\t<!-- {{auth.state.accesses}} -->\n\n\t\t<Menu \n\t\t\tclass=\"bg-light mn-b-semi\"\n\t\t>\n\t\t\t<MenuItem \n\t\t\t\tv-if=\"hasAccess(route.params._id, 'members', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Organization Members', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\"\n\t\t >\n\t\t \t<IconGroups class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tMembers\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <!-- <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Community', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tCommunity\n\t\t </span>\n\t\t </MenuItem> -->\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'products', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Products', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconProducts class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tProducts\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'leftovers', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Leftovers', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconLeftovers class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tLeftovers\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'orders', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Orders', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconOrders class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tOrders\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Gallery', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconGallery class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tGallery\n\t\t </span>\n\t\t </MenuItem>\n\t\t \n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'events', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Organization_Events Backoffice', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconEvents class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tEvents\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <!-- <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Payments', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tPayments\n\t\t </span>\n\t\t </MenuItem> -->\n\t\t</Menu>\n\n\t\t<!-- <Menu \n\t\t\tclass=\"bg-light\"\n\t\t>\n\t\t\t<MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Organizations', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tOrganizations\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Reports', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tReports\n\t\t </span>\n\t\t </MenuItem>\n\t\t</Menu> -->\n\t</div>\n</template>\n\n<script setup=\"props\">\n/////////////////////////////\n// COMPONENT DEPENDENCIES\n/////////////////////////////\nimport { ref, onMounted } from 'vue';\n\n// Mobile Module\nimport Menu from '@pf/src/components/Menu/Menu.vue'\nimport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\nimport SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue'\n\nimport IconProducts from '@pf/src/modules/icons/entities/IconProducts.vue'\nimport IconEvents from '@pf/src/modules/icons/entities/IconEvents.vue'\nimport IconGroups from '@pf/src/modules/icons/entities/IconGroups.vue'\nimport IconCommunity from '@pf/src/modules/icons/entities/IconCommunity.vue'\nimport IconGallery from '@pf/src/modules/icons/entities/IconGallery.vue'\nimport IconOrders from '@pf/src/modules/icons/entities/IconOrders.vue'\nimport IconLeftovers from '@pf/src/modules/icons/entities/IconLeftovers.vue'\n/////////////////////////////\n// HELPERS\n/////////////////////////////\nimport { useRoute, useRouter } from 'vue-router'\n\nimport * as auth from '@pf/src/modules/auth/views/store/auth'\n\nimport * as organizations from '@pf/src/modules/organizations/store/organizations'\n\nconst route = useRoute()\nconst router = useRouter()\n/////////////////////////////\n// CREATED\n/////////////////////////////\nconst props = defineProps({\n favorites: Array,\n});\n\nconst selectedOrganization = ref(null);\nconst publics = ref([]);\n/////////////////////////////\n// MOUNTED\n/////////////////////////////\nonMounted(async () =>{\n})\n</script>\n\n<style lang=\"scss\">\n</style>"],"names":["useRoute","useRouter","ref","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0LA,UAAM,QAAQA,UAAAA,SAAU;AACxB,UAAM,SAASC,UAAAA,UAAW;AAQGC,QAAG,IAAC,IAAI;AACrBA,QAAG,IAAC,EAAE;AAItBC,QAAAA,UAAU,YAAW;AAAA,IACrB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
- import { ref, onMounted, openBlock, createElementBlock, createTextVNode, toDisplayString, createVNode, withCtx, unref, createBlock, createCommentVNode, createElementVNode } from "vue";
2
- import _sfc_main$1 from "../../../../components/Menu/Menu.vue.js";
1
+ import { ref, onMounted, openBlock, createElementBlock, createVNode, withCtx, unref, createBlock, createCommentVNode, createElementVNode } from "vue";
2
+ import _sfc_main$1 from "../../../../components/Menu/Menu.vue2.js";
3
3
  import _sfc_main$2 from "../../../../components/Menu/MenuItem.vue.js";
4
4
  /* empty css */
5
5
  import _sfc_main$3 from "../../../icons/entities/IconProducts.vue.js";
@@ -34,7 +34,6 @@ const _sfc_main = {
34
34
  return (_ctx, _cache) => {
35
35
  return openBlock(), createElementBlock("div", _hoisted_1, [
36
36
  _hoisted_2,
37
- createTextVNode(" " + toDisplayString(state.accesses) + " ", 1),
38
37
  createVNode(_sfc_main$1, { class: "bg-light mn-b-semi" }, {
39
38
  default: withCtx(() => [
40
39
  _ctx.hasAccess(unref(route).params._id, "members", "read", state.accesses) ? (openBlock(), createBlock(_sfc_main$2, {
@@ -140,7 +139,7 @@ const _sfc_main = {
140
139
  _ctx.hasAccess(unref(route).params._id, "events", "read", state.accesses) ? (openBlock(), createBlock(_sfc_main$2, {
141
140
  key: 5,
142
141
  onClick: _cache[5] || (_cache[5] = ($event) => unref(router).push({
143
- name: "Events Backoffice",
142
+ name: "Organization_Events Backoffice",
144
143
  params: {
145
144
  _id: unref(route).params._id
146
145
  }
@@ -1 +1 @@
1
- {"version":3,"file":"OrganizationBackoffice.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/OrganizationBackoffice.vue"],"sourcesContent":["<template>\n\t<div class=\"\">\n\t\t<h1 class=\"pd-medium radius-medium bg-light mn-b-small\">Welcome to Backoffice</h1>\n\t\t\n\t\t{{auth.state.accesses}}\n\n\t\t<Menu \n\t\t\tclass=\"bg-light mn-b-semi\"\n\t\t>\n\t\t\t<MenuItem \n\t\t\t\tv-if=\"hasAccess(route.params._id, 'members', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Organization Members', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\"\n\t\t >\n\t\t \t<IconGroups class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tMembers\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <!-- <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Community', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tCommunity\n\t\t </span>\n\t\t </MenuItem> -->\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'products', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Products', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconProducts class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tProducts\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'leftovers', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Leftovers', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconLeftovers class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tLeftovers\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'orders', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Orders', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconOrders class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tOrders\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Gallery', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconGallery class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tGallery\n\t\t </span>\n\t\t </MenuItem>\n\t\t \n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'events', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Events Backoffice', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconEvents class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tEvents\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <!-- <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Payments', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tPayments\n\t\t </span>\n\t\t </MenuItem> -->\n\t\t</Menu>\n\n\t\t<!-- <Menu \n\t\t\tclass=\"bg-light\"\n\t\t>\n\t\t\t<MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Organizations', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tOrganizations\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Reports', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tReports\n\t\t </span>\n\t\t </MenuItem>\n\t\t</Menu> -->\n\t</div>\n</template>\n\n<script setup=\"props\">\n/////////////////////////////\n// COMPONENT DEPENDENCIES\n/////////////////////////////\nimport { ref, onMounted } from 'vue';\n\n// Mobile Module\nimport Menu from '@pf/src/components/Menu/Menu.vue'\nimport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\nimport SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue'\n\nimport IconProducts from '@pf/src/modules/icons/entities/IconProducts.vue'\nimport IconEvents from '@pf/src/modules/icons/entities/IconEvents.vue'\nimport IconGroups from '@pf/src/modules/icons/entities/IconGroups.vue'\nimport IconCommunity from '@pf/src/modules/icons/entities/IconCommunity.vue'\nimport IconGallery from '@pf/src/modules/icons/entities/IconGallery.vue'\nimport IconOrders from '@pf/src/modules/icons/entities/IconOrders.vue'\nimport IconLeftovers from '@pf/src/modules/icons/entities/IconLeftovers.vue'\n/////////////////////////////\n// HELPERS\n/////////////////////////////\nimport { useRoute, useRouter } from 'vue-router'\n\nimport * as auth from '@pf/src/modules/auth/views/store/auth'\n\nimport * as organizations from '@pf/src/modules/organizations/store/organizations'\n\nconst route = useRoute()\nconst router = useRouter()\n/////////////////////////////\n// CREATED\n/////////////////////////////\nconst props = defineProps({\n favorites: Array,\n});\n\nconst selectedOrganization = ref(null);\nconst publics = ref([]);\n/////////////////////////////\n// MOUNTED\n/////////////////////////////\nonMounted(async () =>{\n})\n</script>\n\n<style lang=\"scss\">\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA0LA,UAAM,QAAQ,SAAU;AACxB,UAAM,SAAS,UAAW;AAQG,QAAI,IAAI;AACrB,QAAI,EAAE;AAItB,cAAU,YAAW;AAAA,IACrB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"OrganizationBackoffice.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/OrganizationBackoffice.vue"],"sourcesContent":["<template>\n\t<div class=\"\">\n\t\t<h1 class=\"pd-medium radius-medium bg-light mn-b-small\">Welcome to Backoffice</h1>\n\t\t\n\t\t<!-- {{auth.state.accesses}} -->\n\n\t\t<Menu \n\t\t\tclass=\"bg-light mn-b-semi\"\n\t\t>\n\t\t\t<MenuItem \n\t\t\t\tv-if=\"hasAccess(route.params._id, 'members', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Organization Members', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\"\n\t\t >\n\t\t \t<IconGroups class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tMembers\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <!-- <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Community', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tCommunity\n\t\t </span>\n\t\t </MenuItem> -->\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'products', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Products', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconProducts class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tProducts\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'leftovers', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Leftovers', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconLeftovers class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tLeftovers\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'orders', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Orders', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconOrders class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tOrders\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Gallery', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconGallery class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tGallery\n\t\t </span>\n\t\t </MenuItem>\n\t\t \n\t\t <MenuItem \n\t\t \tv-if=\"hasAccess(route.params._id, 'events', 'read', auth.state.accesses)\"\n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Organization_Events Backoffice', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t \t<IconEvents class=\"i-semi\" :icon=\"true\" :fill=\"'rgb(var(--white))'\"/> \n\t\t <span>\n\t\t \tEvents\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <!-- <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Payments', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tPayments\n\t\t </span>\n\t\t </MenuItem> -->\n\t\t</Menu>\n\n\t\t<!-- <Menu \n\t\t\tclass=\"bg-light\"\n\t\t>\n\t\t\t<MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Organizations', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tOrganizations\n\t\t </span>\n\t\t </MenuItem>\n\n\t\t <MenuItem \n\t\t \t@click=\"router.push({\n\t\t \t\tname: 'Backoffice Reports', \n\t\t \t\tparams: {\n\t\t \t\t\t_id: route.params._id\n\t\t \t\t}\n\t\t \t})\" \n\t\t \tclass=\"cursor-pointer\">\n\t\t <span>\n\t\t \tReports\n\t\t </span>\n\t\t </MenuItem>\n\t\t</Menu> -->\n\t</div>\n</template>\n\n<script setup=\"props\">\n/////////////////////////////\n// COMPONENT DEPENDENCIES\n/////////////////////////////\nimport { ref, onMounted } from 'vue';\n\n// Mobile Module\nimport Menu from '@pf/src/components/Menu/Menu.vue'\nimport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\nimport SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue'\n\nimport IconProducts from '@pf/src/modules/icons/entities/IconProducts.vue'\nimport IconEvents from '@pf/src/modules/icons/entities/IconEvents.vue'\nimport IconGroups from '@pf/src/modules/icons/entities/IconGroups.vue'\nimport IconCommunity from '@pf/src/modules/icons/entities/IconCommunity.vue'\nimport IconGallery from '@pf/src/modules/icons/entities/IconGallery.vue'\nimport IconOrders from '@pf/src/modules/icons/entities/IconOrders.vue'\nimport IconLeftovers from '@pf/src/modules/icons/entities/IconLeftovers.vue'\n/////////////////////////////\n// HELPERS\n/////////////////////////////\nimport { useRoute, useRouter } from 'vue-router'\n\nimport * as auth from '@pf/src/modules/auth/views/store/auth'\n\nimport * as organizations from '@pf/src/modules/organizations/store/organizations'\n\nconst route = useRoute()\nconst router = useRouter()\n/////////////////////////////\n// CREATED\n/////////////////////////////\nconst props = defineProps({\n favorites: Array,\n});\n\nconst selectedOrganization = ref(null);\nconst publics = ref([]);\n/////////////////////////////\n// MOUNTED\n/////////////////////////////\nonMounted(async () =>{\n})\n</script>\n\n<style lang=\"scss\">\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA0LA,UAAM,QAAQ,SAAU;AACxB,UAAM,SAAS,UAAW;AAQG,QAAI,IAAI;AACrB,QAAI,EAAE;AAItB,cAAU,YAAW;AAAA,IACrB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -6,12 +6,12 @@ require("vue-i18n");
6
6
  ;/* empty css */
7
7
  const BlockTags = require("../../../../components/FieldTags/BlockTags.vue.cjs");
8
8
  ;/* empty css */
9
- const Field = require("../../../../components/Field/Field.vue.cjs");
10
- ;/* empty css */
9
+ const Field = require("../../../../components/Field/Field.vue2.cjs");
10
+ ;/* empty css */
11
11
  const SelectMulti = require("../../../../components/SelectMulti/SelectMulti.vue.cjs");
12
12
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
13
- const Button = require("../../../../components/Button/Button.vue.cjs");
14
- ;/* empty css */
13
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
14
+ ;/* empty css */
15
15
  const auth = require("../../../auth/views/store/auth.cjs");
16
16
  const organizations = require("../../store/organizations.cjs");
17
17
  require("../../store/memberships.cjs");
@@ -4,12 +4,12 @@ import "vue-i18n";
4
4
  /* empty css */
5
5
  import _sfc_main$2 from "../../../../components/FieldTags/BlockTags.vue.js";
6
6
  /* empty css */
7
- import Field from "../../../../components/Field/Field.vue.js";
8
- /* empty css */
7
+ import Field from "../../../../components/Field/Field.vue2.js";
8
+ /* empty css */
9
9
  import SelectMulti from "../../../../components/SelectMulti/SelectMulti.vue.js";
10
10
  import _sfc_main$1 from "../../../../components/UploadImage/UploadImage.vue.js";
11
- import _sfc_main$3 from "../../../../components/Button/Button.vue.js";
12
- /* empty css */
11
+ import _sfc_main$3 from "../../../../components/Button/Button.vue2.js";
12
+ /* empty css */
13
13
  import { state as state$1 } from "../../../auth/views/store/auth.js";
14
14
  import { actions, state } from "../../store/organizations.js";
15
15
  import "../../store/memberships.js";
@@ -2,9 +2,9 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- const Dropdown = require("../../../../components/Dropdown/Dropdown.vue2.cjs");
5
+ const Dropdown = require("../../../../components/Dropdown/Dropdown.vue.cjs");
6
6
  const Text = require("../../../../components/Text/Text.vue.cjs");
7
- const Chips = require("../../../../components/Chips/Chips.vue2.cjs");
7
+ const Chips = require("../../../../components/Chips/Chips.vue.cjs");
8
8
  const IconFollowing = require("../../../icons/entities/IconFollowing.vue.cjs");
9
9
  const IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
10
10
  const IconEllipsis = require("../../../icons/navigation/IconEllipsis.vue.cjs");
@@ -1,8 +1,8 @@
1
1
  import { openBlock, createElementBlock, createBlock, withCtx, createElementVNode, createVNode, createCommentVNode, toDisplayString, unref, renderSlot } from "vue";
2
2
  import { useRoute } from "vue-router";
3
- import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.vue2.js";
3
+ import _sfc_main$1 from "../../../../components/Dropdown/Dropdown.vue.js";
4
4
  import _sfc_main$7 from "../../../../components/Text/Text.vue.js";
5
- import _sfc_main$8 from "../../../../components/Chips/Chips.vue2.js";
5
+ import _sfc_main$8 from "../../../../components/Chips/Chips.vue.js";
6
6
  import _sfc_main$6 from "../../../icons/entities/IconFollowing.vue.js";
7
7
  import _sfc_main$5 from "../../../icons/navigation/IconEdit.vue.js";
8
8
  import _sfc_main$2 from "../../../icons/navigation/IconEllipsis.vue.js";
@@ -2,12 +2,12 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
- const Field = require("../../../../components/Field/Field.vue.cjs");
5
+ const Field = require("../../../../components/Field/Field.vue2.cjs");
6
6
  require("vue-i18n");
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  ;/* empty css */
9
9
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
10
- ;/* empty css */
10
+ ;/* empty css */
11
11
  ;/* empty css */
12
12
  const _withScopeId = (n) => (vue.pushScopeId("data-v-f93fcad7"), n = n(), vue.popScopeId(), n);
13
13
  const _hoisted_1 = { class: "documents" };
@@ -1,11 +1,11 @@
1
1
  import { ref, watchEffect, resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, unref, toDisplayString, createVNode, withCtx, pushScopeId, popScopeId } from "vue";
2
2
  import { useRouter, useRoute } from "vue-router";
3
- import Field from "../../../../components/Field/Field.vue.js";
3
+ import Field from "../../../../components/Field/Field.vue2.js";
4
4
  import "vue-i18n";
5
- /* empty css */
5
+ /* empty css */
6
6
  /* empty css */
7
7
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
8
- /* empty css */
8
+ /* empty css */
9
9
  /* empty css */
10
10
  const _withScopeId = (n) => (pushScopeId("data-v-f93fcad7"), n = n(), popScopeId(), n);
11
11
  const _hoisted_1 = { class: "documents" };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- const Field = require("../../../../components/Field/Field.vue.cjs");
5
- ;/* empty css */
6
- const Button = require("../../../../components/Button/Button.vue.cjs");
4
+ const Field = require("../../../../components/Field/Field.vue2.cjs");
5
+ ;/* empty css */
6
+ const Button = require("../../../../components/Button/Button.vue2.cjs");
7
7
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
8
8
  const BlockSearch = require("../../../globals/views/components/blocks/BlockSearch.vue.cjs");
9
9
  const CardUser = require("../../../users/components/blocks/CardUser.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, resolveDirective, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, createVNode, isRef, unref, withCtx, Fragment, renderList, createBlock, createCommentVNode } from "vue";
2
- import Field from "../../../../components/Field/Field.vue.js";
3
- /* empty css */
4
- import _sfc_main$6 from "../../../../components/Button/Button.vue.js";
2
+ import Field from "../../../../components/Field/Field.vue2.js";
3
+ /* empty css */
4
+ import _sfc_main$6 from "../../../../components/Button/Button.vue2.js";
5
5
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
6
6
  import _sfc_main$1 from "../../../globals/views/components/blocks/BlockSearch.vue.js";
7
7
  import _sfc_main$3 from "../../../users/components/blocks/CardUser.vue.js";
@@ -4,10 +4,10 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  require("../../../../../../node_modules/js-cookie/dist/js.cookie.cjs");
6
6
  ;/* empty css */
7
- ;/* empty css */
8
- ;/* empty css */
7
+ ;/* empty css */
8
+ ;/* empty css */
9
+ ;/* empty css */
9
10
  ;/* empty css */
10
- ;/* empty css */
11
11
  const CardOrganization = require("../blocks/CardOrganization.vue.cjs");
12
12
  const EmptyState = require("../blocks/EmptyState.vue.cjs");
13
13
  ;/* empty css */
@@ -2,10 +2,10 @@ import { ref, withAsyncContext, watch, openBlock, createElementBlock, createElem
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import "../../../../../../node_modules/js-cookie/dist/js.cookie.js";
4
4
  /* empty css */
5
- /* empty css */
6
- /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ /* empty css */
7
8
  /* empty css */
8
- /* empty css */
9
9
  import _sfc_main$2 from "../blocks/CardOrganization.vue.js";
10
10
  import _sfc_main$1 from "../blocks/EmptyState.vue.js";
11
11
  /* empty css */
@@ -63,7 +63,16 @@ const organizations = [{
63
63
  ...members_router.default,
64
64
  ...departments_router.default,
65
65
  ...products_router.default,
66
- ...events.default,
66
+ ...events.default.map((route) => ({
67
+ ...route,
68
+ path: route.path,
69
+ name: `Organization_${route.name}`,
70
+ meta: {
71
+ ...route.meta,
72
+ organizationScoped: true
73
+ },
74
+ props: true
75
+ })),
67
76
  ...categories_router.default,
68
77
  ...leftovers_router.default,
69
78
  ...payments_router.default,
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.cjs","sources":["../../../../../../src/modules/organizations/router/organizations.js"],"sourcesContent":["import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport membersRoutes from './members.router.js';\nimport departmentRoutes from './departments.router.js'\n\nimport productRoutes from '@pf/src/modules/products/router/products.router.js'\nimport eventsRoutes from '@pf/src/modules/events/router/events';\nimport categoriesRoutes from '@pf/src/modules/products/router/categories.router.js'\nimport leftoversRoutes from '@pf/src/modules/products/router/leftovers.router.js'\n\nimport paymentsRoutes from '@pf/src/modules/wallet/views/router/payments.router.js'\nimport ordersBackofficeRoutes from '@pf/src/modules/orders/router/orders.backoffice.router.js'\nimport galleryBackofficeRoutes from '@pf/src/modules/gallery/router/gallery.backoffice.router.js'\n\nimport backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.router.js'\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst organizations = [{\n path: 'organizations',\n component: layoutEmpty,\n meta: {\n title: {\n en: 'Organizations',\n ru: 'Организации'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n children: [{\n path: 'create',\n name: 'Create Organization',\n meta: {\n title: {\n en: 'Create Organization',\n ru: 'Создать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue')\n },{\n path: ':_id',\n name: 'OrganizationRoot',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n },\n component: layoutEmpty,\n children: [\n {\n path: '',\n name: 'Organization',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n component: () => import('@pf/src/modules/organizations/components/pages/Organization.vue'),\n },\n ...membersRoutes,\n ...departmentRoutes,\n ...productRoutes,\n ...eventsRoutes,\n ...categoriesRoutes,\n ...leftoversRoutes,\n ...paymentsRoutes,\n ...ordersBackofficeRoutes,\n ...galleryBackofficeRoutes,\n ...backofficeRoutes \n ],\n },{\n path: ':_id/edit',\n name: 'Organization Edit',\n meta: {\n title: {\n en: 'Edit Organization',\n ru: 'Редактировать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n }]\n}];\n\nexport default organizations;\n"],"names":["layoutEmpty","validationAuth.requiresAuth","membersRoutes","departmentRoutes","productRoutes","eventsRoutes","categoriesRoutes","leftoversRoutes","paymentsRoutes","ordersBackofficeRoutes","galleryBackofficeRoutes","backofficeRoutes"],"mappings":";;;;;;;;;;;;;;AAkBK,MAAC,gBAAgB,CAAC;AAAA,EACrB,MAAM;AAAA,EACN,WAAWA,MAAW;AAAA,EACtB,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,IACD,aAAa;AAAA,MACX,QAAQ;AAAA,IACT;AAAA,EACF;AAAA,EACD,UAAU,CAAC;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACC,gBAAAA,YAA2B;AAAA,IACzC,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,8CAAqE,CAAC;AAAA,EAClG,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAWD,MAAW;AAAA,IACtB,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,aAAa;AAAA,YACX,QAAQ;AAAA,UACT;AAAA,QACF;AAAA,QACD,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,0CAAiE,CAAC;AAAA,MAC3F;AAAA,MACD,GAAGE,eAAa;AAAA,MAChB,GAAGC,mBAAgB;AAAA,MACnB,GAAGC,gBAAa;AAAA,MAChB,GAAGC,OAAY;AAAA,MACf,GAAGC,kBAAgB;AAAA,MACnB,GAAGC,iBAAe;AAAA,MAClB,GAAGC,gBAAc;AAAA,MACjB,GAAGC,yBAAsB;AAAA,MACzB,GAAGC,0BAAuB;AAAA,MAC1B,GAAGC,kBAAgB;AAAA,IACpB;AAAA,EACL,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACV,gBAAAA,YAA2B;AAAA,IACzC,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,8CAAqE,CAAC;AAAA,EAClG,CAAG;AACH,CAAC;;"}
1
+ {"version":3,"file":"organizations.cjs","sources":["../../../../../../src/modules/organizations/router/organizations.js"],"sourcesContent":["import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport membersRoutes from './members.router.js';\nimport departmentRoutes from './departments.router.js'\n\nimport productRoutes from '@pf/src/modules/products/router/products.router.js'\nimport eventsRoutes from '@pf/src/modules/events/router/events';\nimport categoriesRoutes from '@pf/src/modules/products/router/categories.router.js'\nimport leftoversRoutes from '@pf/src/modules/products/router/leftovers.router.js'\n\nimport paymentsRoutes from '@pf/src/modules/wallet/views/router/payments.router.js'\nimport ordersBackofficeRoutes from '@pf/src/modules/orders/router/orders.backoffice.router.js'\nimport galleryBackofficeRoutes from '@pf/src/modules/gallery/router/gallery.backoffice.router.js'\n\nimport backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.router.js'\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst organizations = [{\n path: 'organizations',\n component: layoutEmpty,\n meta: {\n title: {\n en: 'Organizations',\n ru: 'Организации'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n children: [{\n path: 'create',\n name: 'Create Organization',\n meta: {\n title: {\n en: 'Create Organization',\n ru: 'Создать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue')\n },{\n path: ':_id',\n name: 'OrganizationRoot',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n },\n component: layoutEmpty,\n children: [\n {\n path: '',\n name: 'Organization',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n component: () => import('@pf/src/modules/organizations/components/pages/Organization.vue'),\n },\n ...membersRoutes,\n ...departmentRoutes,\n ...productRoutes,\n ...eventsRoutes.map(route => ({\n ...route,\n path: route.path,\n name: `Organization_${route.name}`,\n meta: {\n ...route.meta,\n organizationScoped: true\n },\n props: true\n })),\n ...categoriesRoutes,\n ...leftoversRoutes,\n ...paymentsRoutes,\n ...ordersBackofficeRoutes,\n ...galleryBackofficeRoutes,\n ...backofficeRoutes \n ],\n },{\n path: ':_id/edit',\n name: 'Organization Edit',\n meta: {\n title: {\n en: 'Edit Organization',\n ru: 'Редактировать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n }]\n}];\n\nexport default organizations;\n"],"names":["layoutEmpty","validationAuth.requiresAuth","membersRoutes","departmentRoutes","productRoutes","eventsRoutes","categoriesRoutes","leftoversRoutes","paymentsRoutes","ordersBackofficeRoutes","galleryBackofficeRoutes","backofficeRoutes"],"mappings":";;;;;;;;;;;;;;AAkBK,MAAC,gBAAgB,CAAC;AAAA,EACrB,MAAM;AAAA,EACN,WAAWA,MAAW;AAAA,EACtB,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,IACD,aAAa;AAAA,MACX,QAAQ;AAAA,IACT;AAAA,EACF;AAAA,EACD,UAAU,CAAC;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACC,gBAAAA,YAA2B;AAAA,IACzC,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,8CAAqE,CAAC;AAAA,EAClG,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAWD,MAAW;AAAA,IACtB,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,aAAa;AAAA,YACX,QAAQ;AAAA,UACT;AAAA,QACF;AAAA,QACD,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,0CAAiE,CAAC;AAAA,MAC3F;AAAA,MACD,GAAGE,eAAa;AAAA,MAChB,GAAGC,mBAAgB;AAAA,MACnB,GAAGC,gBAAa;AAAA,MAChB,GAAGC,OAAY,QAAC,IAAI,YAAU;AAAA,QAC5B,GAAG;AAAA,QACH,MAAM,MAAM;AAAA,QACZ,MAAM,gBAAgB,MAAM,IAAI;AAAA,QAChC,MAAM;AAAA,UACJ,GAAG,MAAM;AAAA,UACT,oBAAoB;AAAA,QACrB;AAAA,QACD,OAAO;AAAA,MACf,EAAQ;AAAA,MACF,GAAGC,kBAAgB;AAAA,MACnB,GAAGC,iBAAe;AAAA,MAClB,GAAGC,gBAAc;AAAA,MACjB,GAAGC,yBAAsB;AAAA,MACzB,GAAGC,0BAAuB;AAAA,MAC1B,GAAGC,kBAAgB;AAAA,IACpB;AAAA,EACL,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACV,gBAAAA,YAA2B;AAAA,IACzC,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,8CAAqE,CAAC;AAAA,EAClG,CAAG;AACH,CAAC;;"}
@@ -61,7 +61,16 @@ const organizations = [{
61
61
  ...membersRoutes,
62
62
  ...departmentRoutes,
63
63
  ...productRoutes,
64
- ...eventsRoutes,
64
+ ...eventsRoutes.map((route) => ({
65
+ ...route,
66
+ path: route.path,
67
+ name: `Organization_${route.name}`,
68
+ meta: {
69
+ ...route.meta,
70
+ organizationScoped: true
71
+ },
72
+ props: true
73
+ })),
65
74
  ...categoriesRoutes,
66
75
  ...productRoutes$1,
67
76
  ...payments,
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.js","sources":["../../../../../../src/modules/organizations/router/organizations.js"],"sourcesContent":["import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport membersRoutes from './members.router.js';\nimport departmentRoutes from './departments.router.js'\n\nimport productRoutes from '@pf/src/modules/products/router/products.router.js'\nimport eventsRoutes from '@pf/src/modules/events/router/events';\nimport categoriesRoutes from '@pf/src/modules/products/router/categories.router.js'\nimport leftoversRoutes from '@pf/src/modules/products/router/leftovers.router.js'\n\nimport paymentsRoutes from '@pf/src/modules/wallet/views/router/payments.router.js'\nimport ordersBackofficeRoutes from '@pf/src/modules/orders/router/orders.backoffice.router.js'\nimport galleryBackofficeRoutes from '@pf/src/modules/gallery/router/gallery.backoffice.router.js'\n\nimport backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.router.js'\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst organizations = [{\n path: 'organizations',\n component: layoutEmpty,\n meta: {\n title: {\n en: 'Organizations',\n ru: 'Организации'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n children: [{\n path: 'create',\n name: 'Create Organization',\n meta: {\n title: {\n en: 'Create Organization',\n ru: 'Создать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue')\n },{\n path: ':_id',\n name: 'OrganizationRoot',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n },\n component: layoutEmpty,\n children: [\n {\n path: '',\n name: 'Organization',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n component: () => import('@pf/src/modules/organizations/components/pages/Organization.vue'),\n },\n ...membersRoutes,\n ...departmentRoutes,\n ...productRoutes,\n ...eventsRoutes,\n ...categoriesRoutes,\n ...leftoversRoutes,\n ...paymentsRoutes,\n ...ordersBackofficeRoutes,\n ...galleryBackofficeRoutes,\n ...backofficeRoutes \n ],\n },{\n path: ':_id/edit',\n name: 'Organization Edit',\n meta: {\n title: {\n en: 'Edit Organization',\n ru: 'Редактировать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n }]\n}];\n\nexport default organizations;\n"],"names":["validationAuth.requiresAuth","leftoversRoutes","paymentsRoutes","ordersBackofficeRoutes","galleryBackofficeRoutes"],"mappings":";;;;;;;;;;;;AAkBK,MAAC,gBAAgB,CAAC;AAAA,EACrB,MAAM;AAAA,EACN,WAAW;AAAA,EACX,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,IACD,aAAa;AAAA,MACX,QAAQ;AAAA,IACT;AAAA,EACF;AAAA,EACD,UAAU,CAAC;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACA,YAA2B;AAAA,IACzC,WAAW,MAAM,OAAO,6CAAqE;AAAA,EACjG,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW;AAAA,IACX,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,aAAa;AAAA,YACX,QAAQ;AAAA,UACT;AAAA,QACF;AAAA,QACD,WAAW,MAAM,OAAO,yCAAiE;AAAA,MAC1F;AAAA,MACD,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAG;AAAA,IACJ;AAAA,EACL,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACJ,YAA2B;AAAA,IACzC,WAAW,MAAM,OAAO,6CAAqE;AAAA,EACjG,CAAG;AACH,CAAC;"}
1
+ {"version":3,"file":"organizations.js","sources":["../../../../../../src/modules/organizations/router/organizations.js"],"sourcesContent":["import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue';\n\nimport membersRoutes from './members.router.js';\nimport departmentRoutes from './departments.router.js'\n\nimport productRoutes from '@pf/src/modules/products/router/products.router.js'\nimport eventsRoutes from '@pf/src/modules/events/router/events';\nimport categoriesRoutes from '@pf/src/modules/products/router/categories.router.js'\nimport leftoversRoutes from '@pf/src/modules/products/router/leftovers.router.js'\n\nimport paymentsRoutes from '@pf/src/modules/wallet/views/router/payments.router.js'\nimport ordersBackofficeRoutes from '@pf/src/modules/orders/router/orders.backoffice.router.js'\nimport galleryBackofficeRoutes from '@pf/src/modules/gallery/router/gallery.backoffice.router.js'\n\nimport backofficeRoutes from '@pf/src/modules/organizations/router/backoffice.router.js'\n\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst organizations = [{\n path: 'organizations',\n component: layoutEmpty,\n meta: {\n title: {\n en: 'Organizations',\n ru: 'Организации'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n children: [{\n path: 'create',\n name: 'Create Organization',\n meta: {\n title: {\n en: 'Create Organization',\n ru: 'Создать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue')\n },{\n path: ':_id',\n name: 'OrganizationRoot',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n },\n component: layoutEmpty,\n children: [\n {\n path: '',\n name: 'Organization',\n meta: {\n title: {\n en: 'Group',\n ru: 'Группа'\n },\n breadcrumbs: {\n hidden: true\n },\n },\n component: () => import('@pf/src/modules/organizations/components/pages/Organization.vue'),\n },\n ...membersRoutes,\n ...departmentRoutes,\n ...productRoutes,\n ...eventsRoutes.map(route => ({\n ...route,\n path: route.path,\n name: `Organization_${route.name}`,\n meta: {\n ...route.meta,\n organizationScoped: true\n },\n props: true\n })),\n ...categoriesRoutes,\n ...leftoversRoutes,\n ...paymentsRoutes,\n ...ordersBackofficeRoutes,\n ...galleryBackofficeRoutes,\n ...backofficeRoutes \n ],\n },{\n path: ':_id/edit',\n name: 'Organization Edit',\n meta: {\n title: {\n en: 'Edit Organization',\n ru: 'Редактировать Организацию'\n }\n },\n beforeEnter: [validationAuth.requiresAuth],\n component: () => import('@pf/src/modules/organizations/components/pages/OrganizationEdit.vue'),\n }]\n}];\n\nexport default organizations;\n"],"names":["validationAuth.requiresAuth","leftoversRoutes","paymentsRoutes","ordersBackofficeRoutes","galleryBackofficeRoutes"],"mappings":";;;;;;;;;;;;AAkBK,MAAC,gBAAgB,CAAC;AAAA,EACrB,MAAM;AAAA,EACN,WAAW;AAAA,EACX,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,IACD,aAAa;AAAA,MACX,QAAQ;AAAA,IACT;AAAA,EACF;AAAA,EACD,UAAU,CAAC;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACA,YAA2B;AAAA,IACzC,WAAW,MAAM,OAAO,6CAAqE;AAAA,EACjG,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW;AAAA,IACX,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,aAAa;AAAA,YACX,QAAQ;AAAA,UACT;AAAA,QACF;AAAA,QACD,WAAW,MAAM,OAAO,yCAAiE;AAAA,MAC1F;AAAA,MACD,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG,aAAa,IAAI,YAAU;AAAA,QAC5B,GAAG;AAAA,QACH,MAAM,MAAM;AAAA,QACZ,MAAM,gBAAgB,MAAM,IAAI;AAAA,QAChC,MAAM;AAAA,UACJ,GAAG,MAAM;AAAA,UACT,oBAAoB;AAAA,QACrB;AAAA,QACD,OAAO;AAAA,MACf,EAAQ;AAAA,MACF,GAAG;AAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAGC;AAAAA,MACH,GAAG;AAAA,IACJ;AAAA,EACL,GAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,aAAa,CAACJ,YAA2B;AAAA,IACzC,WAAW,MAAM,OAAO,6CAAqE;AAAA,EACjG,CAAG;AACH,CAAC;"}