@ozdao/prometheus-framework 0.2.250 → 0.2.251

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/dist/builder.js +8 -9
  2. package/dist/builder.mjs +8 -9
  3. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  5. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  7. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
  9. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  11. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  13. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
  30. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  31. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +0 -1
  36. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
  37. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +0 -1
  38. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
  39. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
  47. package/dist/prometheus-framework/src/modules/events/events.client.cjs +35 -13
  48. package/dist/prometheus-framework/src/modules/events/events.client.cjs.map +1 -1
  49. package/dist/prometheus-framework/src/modules/events/events.client.js +41 -19
  50. package/dist/prometheus-framework/src/modules/events/events.client.js.map +1 -1
  51. package/dist/prometheus-framework/src/modules/events/router/events.cjs +95 -91
  52. package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
  53. package/dist/prometheus-framework/src/modules/events/router/events.js +94 -90
  54. package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
  55. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
  56. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  57. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  63. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  77. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  78. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  79. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +2 -10
  86. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +3 -11
  88. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
  89. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +590 -590
  90. package/dist/prometheus-framework/src/modules/pages/pages.client.js +590 -590
  91. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  95. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  99. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  115. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
  118. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  119. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
  121. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +2 -2
  122. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  123. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
  125. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  127. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  129. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
  130. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  131. package/package.json +1 -1
  132. package/src/builder/webpack/webpack.config.spa.js +7 -7
  133. package/src/modules/events/components/elements/ButtonCheck.vue +11 -11
  134. package/src/modules/events/components/pages/EventsBackoffice.vue +1 -1
  135. package/src/modules/events/events.client.js +43 -18
  136. package/src/modules/events/router/events.js +79 -66
  137. package/src/modules/governance/governance.client.js +62 -0
  138. package/src/modules/governance/governance.server.js +56 -0
  139. package/src/modules/organizations/router/organizations.js +4 -11
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import layoutEvents from '../components/layouts/layoutEvents.vue'\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst eventsRoutes = [\n {\n path: 'events',\n component: layoutEvents,\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [{\n path: ':category?',\n name: 'Events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'EventList' */ '../components/pages/Events.vue')\n }]\n },{\n path: 'events/backoffice',\n name: 'Events Backoffice',\n meta: {\n title: {\n en: 'Manage Events',\n ru: 'Управление Событиями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EventsBackoffice.vue')\n },{\n path: 'events/create',\n name: 'Create Event',\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url',\n name: 'Event',\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EventDetail' */ '../components/pages/Event.vue')\n },{\n path: 'events/:url/edit',\n name: 'Edit Event',\n meta: {\n title: {\n en: 'Edit Event',\n ru: 'Редактировать Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url/edit/tickets',\n name: 'Edit Event Tickets',\n meta: {\n title: {\n en: 'Event Tickets',\n ru: 'Билеты События'\n }\n },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEventTickets.vue')\n }\n];\n\nexport default eventsRoutes;\n"],"names":["layoutEvents"],"mappings":";;AAGK,MAAC,eAAe;AAAA,EACnB;AAAA,IACE,MAAM;AAAA,IACN,WAAWA;AAAAA,IACX,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,UAAU,CAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,YAAY;AAAA,MACb;AAAA,MACD,WAAW,MAAM;AAAA;AAAA,QAA2C;AAAA,MAAgC;AAAA,IAClG,CAAK;AAAA,EACL;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM;AAAA;AAAA,MAA6C;AAAA,IAA0C;AAAA,EAC5G;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM;AAAA;AAAA,MAA6C;AAAA,IAAmC;AAAA,EACrG;AAAA,EAAI;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,MAAM;AAAA;AAAA,MAA6C;AAAA,IAA+B;AAAA,EACjG;AAAA,EAAI;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,MAAM;AAAA;AAAA,MAA2C;AAAA,IAAmC;AAAA,EACnG;AAAA,EAAI;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,MAAM;AAAA;AAAA,MAA2C;AAAA,IAA0C;AAAA,EACvG;AACH;"}
1
+ {"version":3,"file":"events.js","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nexport function createEventRoutes(prefix = '', options = {}) {\n const nameWithPrefix = (name) => prefix ? `${prefix}${name}` : name;\n\n const routes = {\n path: options.basePath || 'events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [\n {\n path: '',\n name: nameWithPrefix('Events'),\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/Events.vue')\n },\n {\n path: 'backoffice',\n name: nameWithPrefix('Events Backoffice'),\n meta: {\n title: {\n en: 'Manage Events',\n ru: 'Управление Событиями'\n },\n authorize: options.backofficeAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EventsBackoffice.vue')\n },\n {\n path: 'create',\n name: nameWithPrefix('Create Event'),\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: options.createEventAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEvent.vue')\n },\n {\n path: ':url',\n name: nameWithPrefix('Event'),\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/Event.vue')\n },\n {\n path: ':url/edit',\n name: nameWithPrefix('Edit Event'),\n meta: {\n title: {\n en: 'Edit Event',\n ru: 'Редактировать Событие'\n },\n authorize: options.editEventAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEvent.vue')\n },\n {\n path: ':url/edit/tickets',\n name: nameWithPrefix('Edit Event Tickets'),\n meta: {\n title: {\n en: 'Event Tickets',\n ru: 'Билеты События'\n },\n authorize: options.editTicketsAuthorize || []\n },\n component: () => import(/* webpackChunkName: 'Events' */ '../components/pages/EditEventTickets.vue')\n }\n ]\n }\n\n return routes;\n}\n\n// Example usage:\n// const eventsRoutes = createEventRoutes('Admin', { basePath: 'admin/events' });\n// export default eventsRoutes;"],"names":[],"mappings":";AAEO,SAAS,kBAAkB,SAAS,IAAI,UAAU,CAAA,GAAI;AAC3D,QAAM,iBAAiB,CAAC,SAAS,SAAS,GAAG,MAAM,GAAG,IAAI,KAAK;AAE/D,QAAM,SAAS;AAAA,IACb,MAAM,QAAQ,YAAY;AAAA,IAC1B,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,QAAQ;AAAA,QAC7B,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,YAAY;AAAA,QACb;AAAA,QACD,WAAW,MAAM;AAAA;AAAA,UAAwC;AAAA,QAAgC;AAAA,MAC1F;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,mBAAmB;AAAA,QACxC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,uBAAuB,CAAE;AAAA,QAC7C;AAAA,QACD,WAAW,MAAM;AAAA;AAAA,UAAwC;AAAA,QAA0C;AAAA,MACpG;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,cAAc;AAAA,QACnC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,wBAAwB,CAAE;AAAA,QAC9C;AAAA,QACD,WAAW,MAAM;AAAA;AAAA,UAAwC;AAAA,QAAmC;AAAA,MAC7F;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,OAAO;AAAA,QAC5B,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,QACF;AAAA,QACD,WAAW,MAAM;AAAA;AAAA,UAAwC;AAAA,QAA+B;AAAA,MACzF;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,YAAY;AAAA,QACjC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,sBAAsB,CAAE;AAAA,QAC5C;AAAA,QACD,WAAW,MAAM;AAAA;AAAA,UAAwC;AAAA,QAAmC;AAAA,MAC7F;AAAA,MACD;AAAA,QACE,MAAM;AAAA,QACN,MAAM,eAAe,oBAAoB;AAAA,QACzC,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,IAAI;AAAA,YACJ,IAAI;AAAA,UACL;AAAA,UACD,WAAW,QAAQ,wBAAwB,CAAE;AAAA,QAC9C;AAAA,QACD,WAAW,MAAM;AAAA;AAAA,UAAwC;AAAA,QAA0C;AAAA,MACpG;AAAA,IACF;AAAA,EACF;AAED,SAAO;AACT;"}
@@ -2,10 +2,10 @@
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
- ;/* empty css */
5
+ ;/* empty css */
6
6
  const Button = require("../../../../components/Button/Button.vue.cjs");
7
7
  ;/* empty css */
8
- const Chips = require("../../../../components/Chips/Chips.vue2.cjs");
8
+ const Chips = require("../../../../components/Chips/Chips.vue.cjs");
9
9
  ;/* empty css */
10
10
  const Popup = require("../../../../components/Popup/Popup.vue.cjs");
11
11
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
@@ -1,9 +1,9 @@
1
1
  import { ref, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, Fragment, renderList, createElementVNode, toDisplayString, createBlock, createCommentVNode, createTextVNode } from "vue";
2
2
  import { useRoute } from "vue-router";
3
- /* empty css */
3
+ /* empty css */
4
4
  import _sfc_main$9 from "../../../../components/Button/Button.vue.js";
5
5
  /* empty css */
6
- import _sfc_main$4 from "../../../../components/Chips/Chips.vue2.js";
6
+ import _sfc_main$4 from "../../../../components/Chips/Chips.vue.js";
7
7
  /* empty css */
8
8
  import _sfc_main$5 from "../../../../components/Popup/Popup.vue.js";
9
9
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
@@ -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 IconSearch = require("../../../../icons/navigation/IconSearch.vue.cjs");
5
- const Field = require("../../../../../components/Field/Field.vue.cjs");
5
+ const Field = require("../../../../../components/Field/Field.vue2.cjs");
6
6
  const _hoisted_1 = { class: "flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big" };
7
7
  const _sfc_main = {
8
8
  __name: "BlockSearch",
@@ -1,6 +1,6 @@
1
1
  import { ref, openBlock, createElementBlock, createVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../icons/navigation/IconSearch.vue.js";
3
- import Field from "../../../../../components/Field/Field.vue.js";
3
+ import Field from "../../../../../components/Field/Field.vue2.js";
4
4
  const _hoisted_1 = { class: "flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big" };
5
5
  const _sfc_main = {
6
6
  __name: "BlockSearch",
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
5
5
  const PlaceholderUserpic = require("../../../../icons/placeholders/PlaceholderUserpic.vue.cjs");
6
6
  const FormReport = require("../../../../reports/components/sections/FormReport.vue.cjs");
7
7
  const Tooltip = require("../../../../../components/Tooltip/Tooltip.vue2.cjs");
8
- const Dropdown = require("../../../../../components/Dropdown/Dropdown.vue2.cjs");
8
+ const Dropdown = require("../../../../../components/Dropdown/Dropdown.vue.cjs");
9
9
  ;/* empty css */
10
10
  ;/* empty css */
11
11
  require("../../../../auth/views/store/auth.cjs");
@@ -3,7 +3,7 @@ import { useRouter } from "vue-router";
3
3
  import PlaceholderUserpic from "../../../../icons/placeholders/PlaceholderUserpic.vue.js";
4
4
  import _sfc_main$4 from "../../../../reports/components/sections/FormReport.vue.js";
5
5
  import _sfc_main$1 from "../../../../../components/Tooltip/Tooltip.vue2.js";
6
- import _sfc_main$2 from "../../../../../components/Dropdown/Dropdown.vue2.js";
6
+ import _sfc_main$2 from "../../../../../components/Dropdown/Dropdown.vue.js";
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  import "../../../../auth/views/store/auth.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
- ;/* empty css */
4
+ ;/* empty css */
5
5
  ;/* empty css */
6
6
  ;/* empty css */
7
7
  const Menu = require("../../../../components/Menu/Menu.vue.cjs");
@@ -1,5 +1,5 @@
1
1
  import { ref, openBlock, createElementBlock, createStaticVNode, createVNode, withCtx, unref, createElementVNode } from "vue";
2
- /* empty css */
2
+ /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import _sfc_main$1 from "../../../../components/Menu/Menu.vue.js";
@@ -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 vueRouter = require("vue-router");
5
- ;/* empty css */
5
+ ;/* empty css */
6
6
  const Button = require("../../../../components/Button/Button.vue.cjs");
7
7
  const Tab = require("../../../../components/Tab/Tab.vue2.cjs");
8
8
  const Popup = require("../../../../components/Popup/Popup.vue.cjs");
@@ -1,6 +1,6 @@
1
1
  import { computed, ref, onMounted, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createTextVNode, unref, Fragment, renderList, createBlock, createCommentVNode, normalizeClass, toDisplayString } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
- /* empty css */
3
+ /* empty css */
4
4
  import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
5
5
  import _sfc_main$3 from "../../../../components/Tab/Tab.vue2.js";
6
6
  import _sfc_main$4 from "../../../../components/Popup/Popup.vue.js";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Block = require("../../../../components/Block/Block.vue.cjs");
6
- ;/* empty css */
6
+ ;/* empty css */
7
7
  const clickOutside = require("../../../../components/FieldPhone/click-outside.cjs");
8
8
  ;/* empty css */
9
9
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { ref, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, withDirectives, createBlock, isRef, renderList, createCommentVNode, createTextVNode } from "vue";
2
2
  import { useRoute } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
4
- /* empty css */
4
+ /* empty css */
5
5
  import clickOutside from "../../../../components/FieldPhone/click-outside.js";
6
6
  /* empty css */
7
7
  import _sfc_main$4 from "../../../../components/Feed/Feed.vue.js";
@@ -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 Block = require("../../../../components/Block/Block.vue.cjs");
5
- const Field = require("../../../../components/Field/Field.vue.cjs");
5
+ const Field = require("../../../../components/Field/Field.vue2.cjs");
6
6
  const FieldPhone = require("../../../../components/FieldPhone/FieldPhone.vue.cjs");
7
7
  const Select = require("../../../../components/Select/Select.vue.cjs");
8
8
  const _hoisted_1 = { class: "gap-thin flex-justify-between flex-nowrap flex" };
@@ -1,6 +1,6 @@
1
1
  import { ref, openBlock, createBlock, withCtx, createVNode, createElementVNode, unref, isRef } from "vue";
2
2
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
3
- import Field from "../../../../components/Field/Field.vue.js";
3
+ import Field from "../../../../components/Field/Field.vue2.js";
4
4
  import _sfc_main$2 from "../../../../components/FieldPhone/FieldPhone.vue.js";
5
5
  import Select from "../../../../components/Select/Select.vue.js";
6
6
  const _hoisted_1 = { class: "gap-thin flex-justify-between flex-nowrap flex" };
@@ -6,7 +6,7 @@ const Block = require("../../../../components/Block/Block.vue.cjs");
6
6
  const Address = require("../../../../components/Address/Address.vue2.cjs");
7
7
  const LocationMarker = require("../../../../components/LocationMarker/LocationMarker.vue2.cjs");
8
8
  const Radio = require("../../../../components/Radio/Radio.vue.cjs");
9
- const Field = require("../../../../components/Field/Field.vue.cjs");
9
+ const Field = require("../../../../components/Field/Field.vue2.cjs");
10
10
  const _hoisted_1 = { class: "mn-b-small flex-nowrap flex" };
11
11
  const _sfc_main = {
12
12
  __name: "FormDelivery",
@@ -4,7 +4,7 @@ import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
4
4
  import _sfc_main$3 from "../../../../components/Address/Address.vue2.js";
5
5
  import _sfc_main$4 from "../../../../components/LocationMarker/LocationMarker.vue2.js";
6
6
  import _sfc_main$2 from "../../../../components/Radio/Radio.vue.js";
7
- import Field from "../../../../components/Field/Field.vue.js";
7
+ import Field from "../../../../components/Field/Field.vue2.js";
8
8
  const _hoisted_1 = { class: "mn-b-small flex-nowrap flex" };
9
9
  const _sfc_main = {
10
10
  __name: "FormDelivery",
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const CardOrderItem = require("../../../orders/components/blocks/CardOrderItem.vue.cjs");
6
- const Chips = require("../../../../components/Chips/Chips.vue2.cjs");
6
+ const Chips = require("../../../../components/Chips/Chips.vue.cjs");
7
7
  const PlaceholderOrganizationPic = require("../../../icons/placeholders/PlaceholderOrganizationPic.vue.cjs");
8
8
  const IconPrice = require("../../../icons/entities/IconPrice.vue.cjs");
9
9
  const IconShopcart = require("../../../icons/entities/IconShopcart.vue.cjs");
@@ -1,7 +1,7 @@
1
1
  import { openBlock, createElementBlock, createElementVNode, createBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList, withModifiers } from "vue";
2
2
  import { useRouter } from "vue-router";
3
3
  import _sfc_main$4 from "../../../orders/components/blocks/CardOrderItem.vue.js";
4
- import _sfc_main$1 from "../../../../components/Chips/Chips.vue2.js";
4
+ import _sfc_main$1 from "../../../../components/Chips/Chips.vue.js";
5
5
  import PlaceholderOrganizationPic from "../../../icons/placeholders/PlaceholderOrganizationPic.vue.js";
6
6
  import IconPrice from "../../../icons/entities/IconPrice.vue.js";
7
7
  import _sfc_main$3 from "../../../icons/entities/IconShopcart.vue.js";
@@ -7,7 +7,7 @@ require("vue-i18n");
7
7
  ;/* empty css */
8
8
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
9
9
  ;/* empty css */
10
- const Field = require("../../../../components/Field/Field.vue.cjs");
10
+ const Field = require("../../../../components/Field/Field.vue2.cjs");
11
11
  ;/* empty css */
12
12
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
13
13
  require("../../../../../../node_modules/@googlemaps/js-api-loader/dist/index.cjs");
@@ -5,7 +5,7 @@ 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";
8
+ import Field from "../../../../components/Field/Field.vue2.js";
9
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";
@@ -6,7 +6,7 @@ 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");
9
+ const Field = require("../../../../components/Field/Field.vue2.cjs");
10
10
  ;/* empty css */
11
11
  const SelectMulti = require("../../../../components/SelectMulti/SelectMulti.vue.cjs");
12
12
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
@@ -4,7 +4,7 @@ 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";
7
+ import Field from "../../../../components/Field/Field.vue2.js";
8
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";
@@ -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,7 +2,7 @@
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
7
  ;/* empty css */
8
8
  ;/* empty css */
@@ -1,6 +1,6 @@
1
1
  import { ref, watchEffect, resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, unref, toDisplayString, createVNode, withCtx } 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
5
  /* empty css */
6
6
  /* empty css */
@@ -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 Field = require("../../../../components/Field/Field.vue.cjs");
4
+ const Field = require("../../../../components/Field/Field.vue2.cjs");
5
5
  ;/* empty css */
6
6
  const Button = require("../../../../components/Button/Button.vue.cjs");
7
7
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
@@ -1,5 +1,5 @@
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";
2
+ import Field from "../../../../components/Field/Field.vue2.js";
3
3
  /* empty css */
4
4
  import _sfc_main$6 from "../../../../components/Button/Button.vue.js";
5
5
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
@@ -4,7 +4,7 @@ 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 */
7
+ ;/* empty css */
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  ;/* empty css */
@@ -2,7 +2,7 @@ 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 */
5
+ /* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
@@ -12,6 +12,7 @@ const orders_backoffice_router = require("../../orders/router/orders.backoffice.
12
12
  const gallery_backoffice_router = require("../../gallery/router/gallery.backoffice.router.cjs");
13
13
  const backoffice_router = require("./backoffice.router.cjs");
14
14
  const auth_validation = require("../../auth/views/middlewares/auth.validation.cjs");
15
+ const eventsRoutes = events.createEventRoutes("Organization_");
15
16
  const organizations = [{
16
17
  path: "organizations",
17
18
  component: Empty.default,
@@ -63,16 +64,7 @@ const organizations = [{
63
64
  ...members_router.default,
64
65
  ...departments_router.default,
65
66
  ...products_router.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
+ eventsRoutes,
76
68
  ...categories_router.default,
77
69
  ...leftovers_router.default,
78
70
  ...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.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;;"}
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 { createEventRoutes } 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 eventsRoutes = createEventRoutes('Organization_');\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":["createEventRoutes","layoutEmpty","validationAuth.requiresAuth","membersRoutes","departmentRoutes","productRoutes","categoriesRoutes","leftoversRoutes","paymentsRoutes","ordersBackofficeRoutes","galleryBackofficeRoutes","backofficeRoutes"],"mappings":";;;;;;;;;;;;;;AAkBA,MAAM,eAAeA,OAAAA,kBAAkB,eAAe;AAEjD,MAAC,gBAAgB,CAAC;AAAA,EACrB,MAAM;AAAA,EACN,WAAWC,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;AAAA,MACA,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,CAACT,gBAAAA,YAA2B;AAAA,IACzC,WAAW,MAAM,QAAA,QAAA,EAAA,KAAA,MAAA,QAAO,8CAAqE,CAAC;AAAA,EAClG,CAAG;AACH,CAAC;;"}
@@ -2,7 +2,7 @@ import layoutEmpty from "../../globals/views/components/layouts/Empty.vue.js";
2
2
  import membersRoutes from "./members.router.js";
3
3
  import departmentRoutes from "./departments.router.js";
4
4
  import productRoutes from "../../products/router/products.router.js";
5
- import eventsRoutes from "../../events/router/events.js";
5
+ import { createEventRoutes } from "../../events/router/events.js";
6
6
  import categoriesRoutes from "../../products/router/categories.router.js";
7
7
  import productRoutes$1 from "../../products/router/leftovers.router.js";
8
8
  import payments from "../../wallet/views/router/payments.router.js";
@@ -10,6 +10,7 @@ import orders from "../../orders/router/orders.backoffice.router.js";
10
10
  import gallery from "../../gallery/router/gallery.backoffice.router.js";
11
11
  import backofficeRoutes from "./backoffice.router.js";
12
12
  import { requiresAuth } from "../../auth/views/middlewares/auth.validation.js";
13
+ const eventsRoutes = createEventRoutes("Organization_");
13
14
  const organizations = [{
14
15
  path: "organizations",
15
16
  component: layoutEmpty,
@@ -61,16 +62,7 @@ const organizations = [{
61
62
  ...membersRoutes,
62
63
  ...departmentRoutes,
63
64
  ...productRoutes,
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
+ eventsRoutes,
74
66
  ...categoriesRoutes,
75
67
  ...productRoutes$1,
76
68
  ...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.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;"}
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 { createEventRoutes } 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 eventsRoutes = createEventRoutes('Organization_');\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":";;;;;;;;;;;;AAkBA,MAAM,eAAe,kBAAkB,eAAe;AAEjD,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;AAAA,MACA,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;"}