@ozdao/prometheus-framework 0.2.241 → 0.2.243

Sign up to get free protection for your applications and to get access to all the features.
Files changed (613) hide show
  1. package/dist/events.server.js +1 -1
  2. package/dist/events.server.mjs +1 -1
  3. package/dist/node_modules/@unhead/shared/dist/index.cjs +2 -2
  4. package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
  5. package/dist/node_modules/@unhead/shared/dist/index.js +2 -2
  6. package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -1
  7. package/dist/node_modules/@unhead/ssr/dist/index.cjs +22 -15
  8. package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -1
  9. package/dist/node_modules/@unhead/ssr/dist/index.js +22 -15
  10. package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -1
  11. package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs +48 -0
  12. package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs.map +1 -0
  13. package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js +48 -0
  14. package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js.map +1 -0
  15. package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs +38 -0
  16. package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs.map +1 -0
  17. package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js +38 -0
  18. package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js.map +1 -0
  19. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +26 -19
  20. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +1 -1
  21. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +26 -19
  22. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
  23. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +2 -2
  24. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +1 -1
  25. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +2 -2
  26. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +1 -1
  27. package/dist/node_modules/unhead/dist/index.cjs.map +1 -1
  28. package/dist/node_modules/unhead/dist/index.js.map +1 -1
  29. package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +117 -60
  30. package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -1
  31. package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +118 -61
  32. package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -1
  33. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +3 -2
  34. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -1
  35. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +3 -2
  36. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -1
  37. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +5 -6
  38. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
  39. package/dist/prometheus-framework/src/components/Block/Block.vue.js +6 -7
  40. package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
  41. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +5 -7
  42. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs.map +1 -1
  43. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +5 -7
  44. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
  45. package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -2
  46. package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs.map +1 -1
  47. package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +1 -2
  48. package/dist/prometheus-framework/src/components/Completion/Completion.vue.js.map +1 -1
  49. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +23 -29
  50. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs.map +1 -1
  51. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +24 -30
  52. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js.map +1 -1
  53. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  55. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +5 -6
  56. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
  57. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -7
  58. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
  59. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
  60. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js.map +1 -1
  61. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs.map +1 -1
  62. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js.map +1 -1
  63. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +24 -25
  64. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs.map +1 -1
  65. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +25 -26
  66. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js.map +1 -1
  67. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +10 -13
  68. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs.map +1 -1
  69. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +10 -13
  70. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
  71. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +2 -2
  72. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs.map +1 -1
  73. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +2 -2
  74. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js.map +1 -1
  75. package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -2
  76. package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
  77. package/dist/prometheus-framework/src/components/Status/Status.vue.js +1 -2
  78. package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
  79. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +15 -17
  80. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
  81. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +15 -17
  82. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
  83. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +4 -5
  84. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  85. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +4 -5
  86. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  87. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +14 -15
  90. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
  91. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +14 -15
  92. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
  93. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +10 -13
  94. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
  95. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +10 -13
  96. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
  97. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
  98. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
  99. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +25 -27
  100. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
  101. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +25 -27
  102. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  103. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +3 -3
  104. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
  105. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
  106. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  107. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
  108. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  109. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
  110. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
  111. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
  112. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
  113. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
  114. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
  115. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
  116. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
  117. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
  119. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
  120. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
  121. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
  122. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
  123. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
  124. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
  125. package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
  126. package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
  127. package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
  128. package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
  129. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  131. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
  132. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
  133. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
  134. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  135. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
  136. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  137. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +10 -12
  138. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
  139. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +11 -13
  140. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
  141. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +17 -21
  142. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
  143. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +17 -21
  144. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
  145. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
  146. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
  147. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
  148. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
  149. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
  150. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
  151. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
  152. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
  153. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
  154. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
  155. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
  156. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
  157. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  159. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +2 -3
  160. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
  161. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +2 -3
  162. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
  163. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
  165. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
  167. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +12 -13
  168. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
  169. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +12 -13
  170. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
  171. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  173. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +54 -71
  174. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
  175. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +54 -71
  176. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
  177. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +26 -27
  178. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
  179. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +26 -27
  180. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
  181. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
  182. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
  183. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
  184. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
  185. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
  186. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
  187. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
  188. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
  189. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
  190. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
  191. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
  192. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
  193. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
  194. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
  195. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
  196. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
  197. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  199. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +8 -8
  200. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +8 -8
  201. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  203. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
  204. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
  205. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
  206. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
  207. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
  208. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
  209. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
  210. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
  211. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  213. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  214. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  215. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
  216. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
  217. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
  218. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
  219. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
  220. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
  221. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +12 -14
  222. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
  223. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +12 -14
  224. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
  225. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
  226. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
  227. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
  228. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
  229. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +9 -11
  230. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
  231. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +10 -12
  232. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
  233. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
  234. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
  235. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
  236. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
  237. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  239. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
  240. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
  241. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
  242. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
  243. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
  244. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
  245. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
  246. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
  247. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
  248. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
  249. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
  250. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
  251. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
  252. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
  253. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
  254. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
  255. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
  256. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
  257. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
  258. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
  259. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
  260. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
  261. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
  262. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
  263. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
  264. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
  265. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
  266. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
  267. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
  268. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
  269. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
  270. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
  271. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
  272. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
  273. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
  274. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
  275. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
  276. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
  277. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
  278. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
  279. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
  280. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
  281. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
  282. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
  283. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
  284. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
  285. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
  286. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
  287. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
  288. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
  289. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
  290. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
  291. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
  292. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
  293. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
  294. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
  295. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
  296. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
  297. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
  298. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
  299. package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
  300. package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
  301. package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
  302. package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
  303. package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
  304. package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
  305. package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
  306. package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
  307. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
  308. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
  309. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
  310. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
  311. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
  312. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
  313. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
  314. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
  315. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
  316. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
  317. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
  318. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
  319. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
  320. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
  321. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
  322. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
  323. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
  324. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
  325. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
  326. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
  327. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
  328. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
  329. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
  330. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
  331. package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
  332. package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
  333. package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
  334. package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
  335. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
  336. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
  337. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
  338. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
  339. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
  340. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
  341. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
  342. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
  343. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
  344. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
  345. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
  346. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
  347. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +16 -21
  348. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
  349. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +17 -22
  350. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
  351. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
  352. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
  353. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
  354. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
  355. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
  356. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
  357. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
  358. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
  359. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
  360. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
  361. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
  362. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
  363. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
  364. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
  365. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
  366. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
  367. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
  368. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
  369. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
  370. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
  371. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
  372. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
  373. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
  374. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
  375. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
  376. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
  377. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
  378. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
  379. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
  380. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
  381. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
  382. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
  383. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
  384. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
  385. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
  386. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
  387. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +16 -19
  388. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
  389. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +16 -19
  390. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
  391. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
  392. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
  393. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
  394. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
  395. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
  396. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
  397. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
  398. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
  399. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +5 -5
  400. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +5 -5
  401. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
  402. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
  403. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +5 -7
  404. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
  405. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -7
  406. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
  407. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  409. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
  410. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
  411. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
  412. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
  413. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -2
  414. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
  415. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -2
  416. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
  417. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
  418. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
  419. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
  420. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
  421. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
  422. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
  423. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
  424. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
  425. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  427. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
  428. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
  429. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
  430. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  431. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +23 -32
  432. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
  433. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +23 -32
  434. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
  435. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
  436. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
  437. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
  438. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
  439. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
  440. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
  441. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
  442. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
  443. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +16 -23
  444. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
  445. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +17 -24
  446. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
  447. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
  448. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
  449. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
  450. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  451. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +15 -16
  452. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
  453. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +15 -16
  454. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
  455. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +12 -14
  456. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
  457. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +13 -15
  458. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
  459. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +6 -7
  460. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
  461. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +6 -7
  462. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
  463. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
  464. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  465. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +1374 -1384
  466. package/dist/prometheus-framework/src/modules/pages/pages.client.js +1374 -1384
  467. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  468. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  469. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
  470. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
  471. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
  472. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
  473. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +6 -6
  474. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +6 -6
  475. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +4 -4
  476. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +4 -4
  477. package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
  478. package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
  479. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
  480. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
  481. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
  482. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
  483. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
  484. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  485. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
  486. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
  487. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
  488. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -1
  489. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  490. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  491. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  492. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  493. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  494. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  495. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +37 -46
  496. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
  497. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
  498. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
  499. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +6 -7
  500. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
  501. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +7 -8
  502. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
  503. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +10 -11
  504. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  505. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +10 -11
  506. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  507. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
  508. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  509. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
  510. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
  511. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
  512. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
  513. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +8 -8
  514. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +8 -8
  515. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +7 -8
  516. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  517. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +7 -8
  518. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
  519. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +48 -54
  520. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
  521. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +48 -54
  522. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -1
  523. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
  524. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  525. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +8 -12
  526. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
  527. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
  528. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
  529. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  530. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  531. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
  532. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
  533. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
  534. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
  535. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +8 -11
  536. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
  537. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +9 -12
  538. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
  539. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +2 -5
  540. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
  541. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +3 -6
  542. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
  543. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
  544. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
  545. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
  546. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
  547. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
  548. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
  549. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +7 -9
  550. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
  551. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +8 -10
  552. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
  553. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
  554. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
  555. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
  556. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
  557. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +12 -15
  558. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
  559. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +12 -15
  560. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
  561. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +33 -41
  562. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
  563. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +33 -41
  564. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
  565. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
  566. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
  567. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
  568. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
  569. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +18 -25
  570. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
  571. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +19 -26
  572. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
  573. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
  574. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
  575. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
  576. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
  577. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
  578. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
  579. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
  580. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
  581. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +6 -9
  582. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
  583. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +6 -9
  584. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
  585. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
  586. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
  587. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
  588. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
  589. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
  590. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
  591. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
  592. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
  593. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
  594. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
  595. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
  596. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
  597. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
  598. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
  599. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +60 -66
  600. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
  601. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +60 -66
  602. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
  603. package/dist/prometheus-framework.cjs.js +21 -21
  604. package/dist/prometheus-framework.es.js +2845 -2813
  605. package/dist/tickets.controller-BSlJcCo2.mjs +415 -0
  606. package/dist/tickets.controller-CLL05IYf.mjs +441 -0
  607. package/dist/tickets.controller-Dn5NbQEu.js +440 -0
  608. package/dist/tickets.controller-P0kiaXfQ.js +414 -0
  609. package/dist/wallet.server.js +1 -1
  610. package/dist/wallet.server.mjs +1 -1
  611. package/package.json +1 -1
  612. package/src/modules/events/controllers/tickets.controller.js +49 -16
  613. package/src/modules/globals/views/components/layouts/Client.vue +1 -12
@@ -6,16 +6,16 @@ require("../../../../../../node_modules/js-cookie/dist/js.cookie.cjs");
6
6
  require("vue-i18n");
7
7
  ;/* empty css */
8
8
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
9
- ;/* empty css */
10
- const Field = require("../../../../components/Field/Field.vue2.cjs");
11
- ;/* empty css */
9
+ ;/* empty css */
10
+ const Field = require("../../../../components/Field/Field.vue.cjs");
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");
14
14
  ;/* empty css */
15
15
  ;/* empty css */
16
16
  ;/* empty css */
17
- const Button = require("../../../../components/Button/Button.vue2.cjs");
18
- const Popup = require("../../../../components/Popup/Popup.vue.cjs");
17
+ const Button = require("../../../../components/Button/Button.vue.cjs");
18
+ const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
19
19
  const Block = require("../../../../components/Block/Block.vue.cjs");
20
20
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
21
21
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
@@ -40,18 +40,9 @@ const _hoisted_6 = { class: "cols-2-fit-content" };
40
40
  const _hoisted_7 = { class: "w-100 flex-child-grow-1 flex-child" };
41
41
  const _hoisted_8 = { class: "cols-2 gap-thin" };
42
42
  const _hoisted_9 = { class: "bg-light pd-medium o-hidden radius-big" };
43
- const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-semi" }, "Department Settings", -1);
44
- const _hoisted_11 = /* @__PURE__ */ vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Please settings for your department:", -1);
43
+ const _hoisted_10 = { class: "cols-1 gap-thin" };
44
+ const _hoisted_11 = { class: "bg-light pd-medium o-hidden radius-big" };
45
45
  const _hoisted_12 = { class: "cols-1 gap-thin" };
46
- const _hoisted_13 = { class: "bg-light pd-medium o-hidden radius-big" };
47
- const _hoisted_14 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-semi" }, "Acessess", -1);
48
- const _hoisted_15 = /* @__PURE__ */ vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Please select organization accesses for user in department:", -1);
49
- const _hoisted_16 = { class: "cols-1 gap-thin" };
50
- const _hoisted_17 = /* @__PURE__ */ vue.createElementVNode("h4", null, "Events", -1);
51
- const _hoisted_18 = /* @__PURE__ */ vue.createElementVNode("h4", null, "Gallery", -1);
52
- const _hoisted_19 = /* @__PURE__ */ vue.createElementVNode("h4", null, "Products", -1);
53
- const _hoisted_20 = /* @__PURE__ */ vue.createElementVNode("h4", null, "Orders", -1);
54
- const _hoisted_21 = /* @__PURE__ */ vue.createElementVNode("h4", null, "Departments", -1);
55
46
  const _sfc_main = {
56
47
  __name: "DepartmentEdit",
57
48
  setup(__props) {
@@ -114,9 +105,9 @@ const _sfc_main = {
114
105
  callback: _ctx.redirectToDash,
115
106
  class: "bg-red"
116
107
  }, {
117
- default: vue.withCtx(() => [
108
+ default: vue.withCtx(() => _cache[21] || (_cache[21] = [
118
109
  vue.createTextVNode("Delete")
119
- ]),
110
+ ])),
120
111
  _: 1
121
112
  }, 8, ["callback"])) : vue.createCommentVNode("", true),
122
113
  vue.createVNode(Button.default, {
@@ -124,9 +115,9 @@ const _sfc_main = {
124
115
  callback: redirectTo,
125
116
  class: "bg-main"
126
117
  }, {
127
- default: vue.withCtx(() => [
118
+ default: vue.withCtx(() => _cache[22] || (_cache[22] = [
128
119
  vue.createTextVNode("Save")
129
- ]),
120
+ ])),
130
121
  _: 1
131
122
  })
132
123
  ])
@@ -248,9 +239,9 @@ const _sfc_main = {
248
239
  }, 8, ["isPopupOpen"]),
249
240
  vue.createElementVNode("div", _hoisted_8, [
250
241
  vue.createElementVNode("div", _hoisted_9, [
251
- _hoisted_10,
252
- _hoisted_11,
253
- vue.createElementVNode("div", _hoisted_12, [
242
+ _cache[23] || (_cache[23] = vue.createElementVNode("h3", { class: "mn-b-semi" }, "Department Settings", -1)),
243
+ _cache[24] || (_cache[24] = vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Please settings for your department:", -1)),
244
+ vue.createElementVNode("div", _hoisted_10, [
254
245
  vue.createVNode(Checkbox.default, {
255
246
  label: "Hidden department",
256
247
  name: "hidden",
@@ -260,11 +251,11 @@ const _sfc_main = {
260
251
  }, null, 8, ["radio"])
261
252
  ])
262
253
  ]),
263
- vue.createElementVNode("div", _hoisted_13, [
264
- _hoisted_14,
265
- _hoisted_15,
266
- vue.createElementVNode("div", _hoisted_16, [
267
- _hoisted_17,
254
+ vue.createElementVNode("div", _hoisted_11, [
255
+ _cache[30] || (_cache[30] = vue.createElementVNode("h3", { class: "mn-b-semi" }, "Acessess", -1)),
256
+ _cache[31] || (_cache[31] = vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Please select organization accesses for user in department:", -1)),
257
+ vue.createElementVNode("div", _hoisted_12, [
258
+ _cache[25] || (_cache[25] = vue.createElementVNode("h4", null, "Events", -1)),
268
259
  vue.createVNode(Checkbox.default, {
269
260
  label: "Read events",
270
261
  name: "readProducts",
@@ -293,7 +284,7 @@ const _sfc_main = {
293
284
  radio: departments.state.department.accesses.events.delete,
294
285
  "onUpdate:radio": _cache[7] || (_cache[7] = (updated) => departments.state.department.accesses.events.delete = !departments.state.department.accesses.events.delete)
295
286
  }, null, 8, ["radio"]),
296
- _hoisted_18,
287
+ _cache[26] || (_cache[26] = vue.createElementVNode("h4", null, "Gallery", -1)),
297
288
  vue.createVNode(Checkbox.default, {
298
289
  label: "Read gallery",
299
290
  name: "readProducts",
@@ -322,7 +313,7 @@ const _sfc_main = {
322
313
  radio: departments.state.department.accesses.gallery.delete,
323
314
  "onUpdate:radio": _cache[11] || (_cache[11] = (updated) => departments.state.department.accesses.gallery.delete = !departments.state.department.accesses.gallery.delete)
324
315
  }, null, 8, ["radio"]),
325
- _hoisted_19,
316
+ _cache[27] || (_cache[27] = vue.createElementVNode("h4", null, "Products", -1)),
326
317
  vue.createVNode(Checkbox.default, {
327
318
  label: "Read products",
328
319
  name: "readProducts",
@@ -344,7 +335,7 @@ const _sfc_main = {
344
335
  radio: departments.state.department.accesses.products.delete,
345
336
  "onUpdate:radio": _cache[14] || (_cache[14] = (updated) => departments.state.department.accesses.products.delete = !departments.state.department.accesses.products.delete)
346
337
  }, null, 8, ["radio"]),
347
- _hoisted_20,
338
+ _cache[28] || (_cache[28] = vue.createElementVNode("h4", null, "Orders", -1)),
348
339
  vue.createVNode(Checkbox.default, {
349
340
  label: "Read orders",
350
341
  name: "readOrders",
@@ -366,7 +357,7 @@ const _sfc_main = {
366
357
  radio: departments.state.department.accesses.orders.delete,
367
358
  "onUpdate:radio": _cache[17] || (_cache[17] = (updated) => departments.state.department.accesses.orders.delete = !departments.state.department.accesses.orders.delete)
368
359
  }, null, 8, ["radio"]),
369
- _hoisted_21,
360
+ _cache[29] || (_cache[29] = vue.createElementVNode("h4", null, "Departments", -1)),
370
361
  vue.createVNode(Checkbox.default, {
371
362
  label: "Read departments",
372
363
  name: "readDepartments",
@@ -1 +1 @@
1
- {"version":3,"file":"DepartmentEdit.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/pages/DepartmentEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition pd-thin w-100\">\n\n <header class=\"mn-b-thin flex-nowrap flex bg-light pd-medium radius-big\">\n <h1 v-if=\"route.params.department\" class=\"mn-r-auto\">Edit Department</h1>\n <h1 v-else class=\"mn-r-auto\">Create Department</h1>\n\n <section class=\"flex-nowrap flex gap-thin pd-thin\">\n <Button v-if=\"route.params.department\" :submit=\"onDelete\" :callback=\"redirectToDash\" class=\"bg-red\">Delete</Button>\n <Button :submit=\"onSubmit\" :callback=\"redirectTo\" class=\"bg-main\">Save</Button>\n </section>\n\n </header>\n \n <Block\n title=\"Profile\"\n v-if=\"departments.state.department.profile\"\n class=\"mn-b-thin\"\n >\n <div\n class=\"cols-2-fit-content\"\n >\n <UploadImage \n v-model:photo=\"departments.state.department.profile.photo\"\n :uploadPath=\"'organizations/' + departments.state.department.name + '/avatars'\"\n class=\"w-8r aspect-1x1 o-hidden mn-r-small radius-extra\" \n />\n <div class=\"w-100 flex-child-grow-1 flex-child \">\n <Field \n v-model:field=\"departments.state.department.profile.name\" \n label=\"Name\" \n placeholder=\"Department Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"departments.state.department.profile.description\" \n label=\"Description\" \n placeholder=\"Department description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n </Block>\n\n <Block\n title=\"Team\"\n placeholder=\"No members added yet\"\n :actions=\"[{\n label: '+',\n function: () => openMemberPopup()\n }]\"\n class=\"cols-1 gap-thin mn-b-thin\"\n > \n <CardUser \n class=\"h-4r bg-white pd-thin radius-medium w-100\" \n v-for=\"(member, index) in departments.state.department.members\" \n :key=\"index\" \n :user=\"member.user\" \n :photo=\"member.user.profile.photo\"\n :name=\"member.user.profile.name || member.user.phone || member.user.email || member.user._id\"\n :position=\"member.position\" \n :action=\"{\n label: {\n is: IconDelete,\n props: { class: 'i-medium', fill: 'rgb(var(--white)' }\n },\n method: () => removeMember(member)\n }\"\n />\n </Block>\n\n <Popup \n title=\"Add member\" \n @close-popup=\"closeMemberPopup\" \n :isPopupOpen=\"isOpenAddMemberPopup\"\n class=\"bg-white w-max-30r radius-big pd-big\"\n >\n <Feed\n :search=\"{\n placeholder: 'Search customer...',\n class: 'bg-light mn-b-thin'\n }\"\n :states=\"{\n empty: {\n title: 'No Products Found',\n description: 'Currently, there are no such products available.'\n }\n }\"\n :store=\"{\n read: (options) => memberships.actions.read(options),\n state: null\n }\"\n :options=\"{\n target: route.params._id\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"bg-light pd-medium w-min-20r w-max-40r radius-big h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" \n :key=\"user._id\"\n :user=\"user.user\"\n :photo=\"user.user.profile?.photo\"\n :name=\"user.user.profile?.name || user.user.phone || user.user.email\"\n @click=\"() => { \n globals.actions.add(departments.state.department.members, { _id: user.user._id, user: user.user, position: 'Member'})\n closeMemberPopup();\n }\"\n class=\"h-4r bg-white pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </Popup>\n \n\n <div class=\"cols-2 gap-thin\">\n \n <div class=\"bg-light pd-medium o-hidden radius-big\">\n <h3 class=\"mn-b-semi\">Department Settings</h3>\n \n <p class=\"p-medium mn-b-small\">Please settings for your department:</p>\n <div class=\"cols-1 gap-thin\">\n <Checkbox \n label=\"Hidden department\"\n name=\"hidden\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n @update:radio=\"updated => departments.state.department.hidden = !departments.state.department.hidden\"\n :radio=\"departments.state.department.hidden\"\n />\n </div>\n </div>\n\n <div class=\"bg-light pd-medium o-hidden radius-big\">\n <h3 class=\"mn-b-semi\">Acessess</h3>\n \n <p class=\"p-medium mn-b-small\">Please select organization accesses for user in department:</p>\n \n <div class=\"cols-1 gap-thin\">\n <h4>Events</h4>\n <Checkbox\n label=\"Read events\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.read\"\n @update:radio=\"updated => (departments.state.department.accesses.events.read = !departments.state.department.accesses.events.read)\"\n />\n <Checkbox\n label=\"Create events\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.create\"\n @update:radio=\"updated => (departments.state.department.accesses.events.create = !departments.state.department.accesses.events.create)\"\n />\n <Checkbox\n label=\"Edit events\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.events.edit = !departments.state.department.accesses.events.edit)\"\n />\n <Checkbox\n label=\"Delete events\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.events.delete = !departments.state.department.accesses.events.delete)\"\n />\n <h4>Gallery</h4>\n <Checkbox\n label=\"Read gallery\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.read\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.read = !departments.state.department.accesses.gallery.read)\"\n />\n <Checkbox\n label=\"Create photos\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.create\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.create = !departments.state.department.accesses.gallery.create)\"\n />\n <Checkbox\n label=\"Edit gallery\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.edit = !departments.state.department.accesses.gallery.edit)\"\n />\n <Checkbox\n label=\"Delete gallery\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.delete = !departments.state.department.accesses.gallery.delete)\"\n />\n <h4>Products</h4>\n <Checkbox\n label=\"Read products\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.read\"\n @update:radio=\"updated => (departments.state.department.accesses.products.read = !departments.state.department.accesses.products.read)\"\n />\n <Checkbox\n label=\"Edit products\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.products.edit = !departments.state.department.accesses.products.edit)\"\n />\n <Checkbox\n label=\"Delete products\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.products.delete = !departments.state.department.accesses.products.delete)\"\n />\n\n <h4>Orders</h4>\n <Checkbox\n label=\"Read orders\"\n name=\"readOrders\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.read\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.read = !departments.state.department.accesses.orders.read)\"\n />\n <Checkbox\n label=\"Confirm orders\"\n name=\"confirmOrders\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.confirm\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.confirm = !departments.state.department.accesses.orders.confirm)\"\n />\n <Checkbox\n label=\"Delete orders\"\n name=\"deleteOrders\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.delete = !departments.state.department.accesses.orders.delete)\"\n />\n\n <h4>Departments</h4>\n <Checkbox\n label=\"Read departments\"\n name=\"readDepartments\" class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.read\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.read = !departments.state.department.accesses.departments.read)\"\n />\n <Checkbox\n label=\"Edit departments\"\n name=\"editDepartments\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.edit = !departments.state.department.accesses.departments.edit)\"\n />\n <Checkbox\n label=\"Delete departments\"\n name=\"deleteDepartments\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.delete = !departments.state.department.accesses.departments.delete)\"\n />\n </div>\n </div>\n\n\n </div>\n\n \n \n\n\n<!-- <div id=\"dash\" class=\"pd-medium bg-white\">\n\n <Popup title=\"Добавить подотдел\" @close-popup=\"closeDepartmentPopup\" :isPopupOpen=\"isOpenDepartmentPopup\">\n <DepartmentSubDepartmentModify \n :departments=\"departments.state.department.subdepartments\" \n :department=\"selectedDepartment\" \n :maindepartment=\"departments.state.department\"\n :alldepartments=\"departments.state.departments\"\n @callback=\"closeDepartmentPopup\"\n />\n </Popup>\n \n <div class=\"mn-b-regular flex-v-center flex-nowrap flex\">\n <h3 class=\"mn-r-small\">Подотделы </h3>\n <div>\n <a class=\"t-main h5\" @click=\"openDepartmentPopup()\">+</a>\n </div>\n </div>\n\n <ul class=\"mn-b-small\">\n <li v-if=\"departments.state.department.subdepartments.length < 1\">В отделе еще нет подотделов</li>\n <DepartmentSub \n v-for=\"(subdepartment, index) in departments.state.department.subdepartments\" \n :key=\"index\" class=\"bg-light o-hidden radius-small mn-b-thin\" \n :department=\"subdepartment\" \n @click=\"openDepartmentPopup(index)\"\n />\n </ul> \n\n \n </div> -->\n </div>\n</template>\n\n<script setup>\nimport { ref } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport Cookies from \"js-cookie\";\nimport Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@pf/src/components/Tab/Tab.vue\";\nimport Field from \"@pf/src/components/Field/Field.vue\";\nimport Select from \"@pf/src/components/Select/Select.vue\";\nimport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@pf/src/components/Address/Address.vue\";\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@pf/src/components/Button/Button.vue\";\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Feed from '@pf/src/components/Feed/Feed.vue'\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue'\n\nimport EditArray from \"@pf/src/modules/organizations/components/blocks/EditArray.vue\";\nimport DepartmentSub from \"@pf/src/modules/organizations/components/blocks/DepartmentSub.vue\";\n\nimport CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\nimport * as globals from \"@pf/src/modules/globals/views/store/globals\";\nimport * as departments from \"@pf/src/modules/organizations/store/departments\";\nimport * as memberships from \"@pf/src/modules/organizations/store/memberships\";\n\nconst router = useRouter();\nconst route = useRoute();\n\nasync function fetchData() {\n const users = ref(memberships.state.memberships);\n // await departments.actions.read({organization: route.params._id});\n if (route.params.department) await departments.actions.readOne(route.params.department);\n}\n\nfetchData();\n\n// const members = ref(departments.state.department.members);\n\nconst isOpenAddMemberPopup = ref(false);\nconst selectedMember = ref(null);\n\nfunction openMemberPopup(member) {\n isOpenAddMemberPopup.value = true;\n if (typeof member === \"number\") selectedMember.value = member;\n}\n\nfunction closeMemberPopup() {\n isOpenAddMemberPopup.value = false;\n selectedMember.value = null;\n}\n\nconst isOpenDepartmentPopup = ref(false);\nconst selectedDepartment = ref(null);\n\nfunction openDepartmentPopup(department) {\n isOpenDepartmentPopup.value = true;\n if (typeof department === \"number\") selectedDepartment.value = department;\n}\n\nfunction closeDepartmentPopup() {\n isOpenDepartmentPopup.value = false;\n selectedDepartment.value = null;\n}\n\nasync function onSubmit() {\n if (route.params.department) {\n await departments.actions.update(\n route.params._id,\n departments.state.department\n );\n }\n if (!route.params.department) {\n await departments.actions.create(\n route.params._id,\n departments.state.department\n );\n }\n}\n\nfunction redirectTo() {\n router.push({ name: \"Organization Members\", params: { _id: route.params._id } });\n}\n\nasync function onDelete() {\n if (confirm(\"Are you sure you want to delete this department?\")) {\n await departments.actions.delete(\n route.params._id,\n departments.state.department\n );\n }\n \n}\n\nfunction removeMember(member) {\n if (confirm(\"Are you sure you want to remove this member?\")) {\n globals.actions.delete(departments.state.department.members, { _id: member.user._id}) \n }\n}\n\nfunction redirectDash() {\n router.replace({ name: \"Organization\" });\n}\n</script>\n\n<style scoped>\n</style>"],"names":["useRouter","useRoute","ref","memberships.state","departments.actions","departments.state","globals.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmVA,UAAM,SAASA,UAAS,UAAA;AACxB,UAAM,QAAQC,UAAQ,SAAA;AAEtB,mBAAe,YAAY;AACXC,UAAG,IAACC,YAAiB,MAAC,WAAW;AAE/C,UAAI,MAAM,OAAO,WAAY,OAAMC,YAAAA,QAAoB,QAAQ,MAAM,OAAO,UAAU;AAAA,IACxF;AAEA;AAIA,UAAM,uBAAuBF,IAAAA,IAAI,KAAK;AACtC,UAAM,iBAAiBA,IAAAA,IAAI,IAAI;AAE/B,aAAS,gBAAgB,QAAQ;AAC/B,2BAAqB,QAAQ;AAAA,IAE/B;AAEA,aAAS,mBAAmB;AAC1B,2BAAqB,QAAQ;AAC7B,qBAAe,QAAQ;AAAA,IACzB;AAE8BA,QAAG,IAAC,KAAK;AACZA,QAAG,IAAC,IAAI;AAYnC,mBAAe,WAAW;AACxB,UAAI,MAAM,OAAO,YAAY;AAC3B,cAAME,YAAmB,QAAC;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,YAAAA,MAAkB;AAAA,QACxB;AAAA,MACG;AACD,UAAI,CAAC,MAAM,OAAO,YAAY;AAC5B,cAAMD,YAAmB,QAAC;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,YAAAA,MAAkB;AAAA,QACxB;AAAA,MACG;AAAA,IACH;AAEA,aAAS,aAAa;AACpB,aAAO,KAAK,EAAE,MAAM,wBAAwB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAI,CAAA;AAAA,IACjF;AAEA,mBAAe,WAAW;AACxB,UAAI,QAAQ,kDAAkD,GAAG;AAC/D,cAAMD,YAAmB,QAAC;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,YAAAA,MAAkB;AAAA,QACxB;AAAA,MACG;AAAA,IAEH;AAEA,aAAS,aAAa,QAAQ;AAC3B,UAAI,QAAQ,8CAA8C,GAAG;AAC5DC,wBAAgB,OAAOD,YAAiB,MAAC,WAAW,SAAS,EAAE,KAAK,OAAO,KAAK,IAAG,CAAC;AAAA,MACrF;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DepartmentEdit.vue.cjs","sources":["../../../../../../../src/modules/organizations/components/pages/DepartmentEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition pd-thin w-100\">\n\n <header class=\"mn-b-thin flex-nowrap flex bg-light pd-medium radius-big\">\n <h1 v-if=\"route.params.department\" class=\"mn-r-auto\">Edit Department</h1>\n <h1 v-else class=\"mn-r-auto\">Create Department</h1>\n\n <section class=\"flex-nowrap flex gap-thin pd-thin\">\n <Button v-if=\"route.params.department\" :submit=\"onDelete\" :callback=\"redirectToDash\" class=\"bg-red\">Delete</Button>\n <Button :submit=\"onSubmit\" :callback=\"redirectTo\" class=\"bg-main\">Save</Button>\n </section>\n\n </header>\n \n <Block\n title=\"Profile\"\n v-if=\"departments.state.department.profile\"\n class=\"mn-b-thin\"\n >\n <div\n class=\"cols-2-fit-content\"\n >\n <UploadImage \n v-model:photo=\"departments.state.department.profile.photo\"\n :uploadPath=\"'organizations/' + departments.state.department.name + '/avatars'\"\n class=\"w-8r aspect-1x1 o-hidden mn-r-small radius-extra\" \n />\n <div class=\"w-100 flex-child-grow-1 flex-child \">\n <Field \n v-model:field=\"departments.state.department.profile.name\" \n label=\"Name\" \n placeholder=\"Department Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"departments.state.department.profile.description\" \n label=\"Description\" \n placeholder=\"Department description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n </Block>\n\n <Block\n title=\"Team\"\n placeholder=\"No members added yet\"\n :actions=\"[{\n label: '+',\n function: () => openMemberPopup()\n }]\"\n class=\"cols-1 gap-thin mn-b-thin\"\n > \n <CardUser \n class=\"h-4r bg-white pd-thin radius-medium w-100\" \n v-for=\"(member, index) in departments.state.department.members\" \n :key=\"index\" \n :user=\"member.user\" \n :photo=\"member.user.profile.photo\"\n :name=\"member.user.profile.name || member.user.phone || member.user.email || member.user._id\"\n :position=\"member.position\" \n :action=\"{\n label: {\n is: IconDelete,\n props: { class: 'i-medium', fill: 'rgb(var(--white)' }\n },\n method: () => removeMember(member)\n }\"\n />\n </Block>\n\n <Popup \n title=\"Add member\" \n @close-popup=\"closeMemberPopup\" \n :isPopupOpen=\"isOpenAddMemberPopup\"\n class=\"bg-white w-max-30r radius-big pd-big\"\n >\n <Feed\n :search=\"{\n placeholder: 'Search customer...',\n class: 'bg-light mn-b-thin'\n }\"\n :states=\"{\n empty: {\n title: 'No Products Found',\n description: 'Currently, there are no such products available.'\n }\n }\"\n :store=\"{\n read: (options) => memberships.actions.read(options),\n state: null\n }\"\n :options=\"{\n target: route.params._id\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"bg-light pd-medium w-min-20r w-max-40r radius-big h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" \n :key=\"user._id\"\n :user=\"user.user\"\n :photo=\"user.user.profile?.photo\"\n :name=\"user.user.profile?.name || user.user.phone || user.user.email\"\n @click=\"() => { \n globals.actions.add(departments.state.department.members, { _id: user.user._id, user: user.user, position: 'Member'})\n closeMemberPopup();\n }\"\n class=\"h-4r bg-white pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </Popup>\n \n\n <div class=\"cols-2 gap-thin\">\n \n <div class=\"bg-light pd-medium o-hidden radius-big\">\n <h3 class=\"mn-b-semi\">Department Settings</h3>\n \n <p class=\"p-medium mn-b-small\">Please settings for your department:</p>\n <div class=\"cols-1 gap-thin\">\n <Checkbox \n label=\"Hidden department\"\n name=\"hidden\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n @update:radio=\"updated => departments.state.department.hidden = !departments.state.department.hidden\"\n :radio=\"departments.state.department.hidden\"\n />\n </div>\n </div>\n\n <div class=\"bg-light pd-medium o-hidden radius-big\">\n <h3 class=\"mn-b-semi\">Acessess</h3>\n \n <p class=\"p-medium mn-b-small\">Please select organization accesses for user in department:</p>\n \n <div class=\"cols-1 gap-thin\">\n <h4>Events</h4>\n <Checkbox\n label=\"Read events\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.read\"\n @update:radio=\"updated => (departments.state.department.accesses.events.read = !departments.state.department.accesses.events.read)\"\n />\n <Checkbox\n label=\"Create events\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.create\"\n @update:radio=\"updated => (departments.state.department.accesses.events.create = !departments.state.department.accesses.events.create)\"\n />\n <Checkbox\n label=\"Edit events\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.events.edit = !departments.state.department.accesses.events.edit)\"\n />\n <Checkbox\n label=\"Delete events\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.events.delete = !departments.state.department.accesses.events.delete)\"\n />\n <h4>Gallery</h4>\n <Checkbox\n label=\"Read gallery\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.read\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.read = !departments.state.department.accesses.gallery.read)\"\n />\n <Checkbox\n label=\"Create photos\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.create\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.create = !departments.state.department.accesses.gallery.create)\"\n />\n <Checkbox\n label=\"Edit gallery\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.edit = !departments.state.department.accesses.gallery.edit)\"\n />\n <Checkbox\n label=\"Delete gallery\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.delete = !departments.state.department.accesses.gallery.delete)\"\n />\n <h4>Products</h4>\n <Checkbox\n label=\"Read products\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.read\"\n @update:radio=\"updated => (departments.state.department.accesses.products.read = !departments.state.department.accesses.products.read)\"\n />\n <Checkbox\n label=\"Edit products\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.products.edit = !departments.state.department.accesses.products.edit)\"\n />\n <Checkbox\n label=\"Delete products\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.products.delete = !departments.state.department.accesses.products.delete)\"\n />\n\n <h4>Orders</h4>\n <Checkbox\n label=\"Read orders\"\n name=\"readOrders\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.read\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.read = !departments.state.department.accesses.orders.read)\"\n />\n <Checkbox\n label=\"Confirm orders\"\n name=\"confirmOrders\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.confirm\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.confirm = !departments.state.department.accesses.orders.confirm)\"\n />\n <Checkbox\n label=\"Delete orders\"\n name=\"deleteOrders\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.delete = !departments.state.department.accesses.orders.delete)\"\n />\n\n <h4>Departments</h4>\n <Checkbox\n label=\"Read departments\"\n name=\"readDepartments\" class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.read\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.read = !departments.state.department.accesses.departments.read)\"\n />\n <Checkbox\n label=\"Edit departments\"\n name=\"editDepartments\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.edit = !departments.state.department.accesses.departments.edit)\"\n />\n <Checkbox\n label=\"Delete departments\"\n name=\"deleteDepartments\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.delete = !departments.state.department.accesses.departments.delete)\"\n />\n </div>\n </div>\n\n\n </div>\n\n \n \n\n\n<!-- <div id=\"dash\" class=\"pd-medium bg-white\">\n\n <Popup title=\"Добавить подотдел\" @close-popup=\"closeDepartmentPopup\" :isPopupOpen=\"isOpenDepartmentPopup\">\n <DepartmentSubDepartmentModify \n :departments=\"departments.state.department.subdepartments\" \n :department=\"selectedDepartment\" \n :maindepartment=\"departments.state.department\"\n :alldepartments=\"departments.state.departments\"\n @callback=\"closeDepartmentPopup\"\n />\n </Popup>\n \n <div class=\"mn-b-regular flex-v-center flex-nowrap flex\">\n <h3 class=\"mn-r-small\">Подотделы </h3>\n <div>\n <a class=\"t-main h5\" @click=\"openDepartmentPopup()\">+</a>\n </div>\n </div>\n\n <ul class=\"mn-b-small\">\n <li v-if=\"departments.state.department.subdepartments.length < 1\">В отделе еще нет подотделов</li>\n <DepartmentSub \n v-for=\"(subdepartment, index) in departments.state.department.subdepartments\" \n :key=\"index\" class=\"bg-light o-hidden radius-small mn-b-thin\" \n :department=\"subdepartment\" \n @click=\"openDepartmentPopup(index)\"\n />\n </ul> \n\n \n </div> -->\n </div>\n</template>\n\n<script setup>\nimport { ref } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport Cookies from \"js-cookie\";\nimport Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@pf/src/components/Tab/Tab.vue\";\nimport Field from \"@pf/src/components/Field/Field.vue\";\nimport Select from \"@pf/src/components/Select/Select.vue\";\nimport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@pf/src/components/Address/Address.vue\";\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@pf/src/components/Button/Button.vue\";\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Feed from '@pf/src/components/Feed/Feed.vue'\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue'\n\nimport EditArray from \"@pf/src/modules/organizations/components/blocks/EditArray.vue\";\nimport DepartmentSub from \"@pf/src/modules/organizations/components/blocks/DepartmentSub.vue\";\n\nimport CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\nimport * as globals from \"@pf/src/modules/globals/views/store/globals\";\nimport * as departments from \"@pf/src/modules/organizations/store/departments\";\nimport * as memberships from \"@pf/src/modules/organizations/store/memberships\";\n\nconst router = useRouter();\nconst route = useRoute();\n\nasync function fetchData() {\n const users = ref(memberships.state.memberships);\n // await departments.actions.read({organization: route.params._id});\n if (route.params.department) await departments.actions.readOne(route.params.department);\n}\n\nfetchData();\n\n// const members = ref(departments.state.department.members);\n\nconst isOpenAddMemberPopup = ref(false);\nconst selectedMember = ref(null);\n\nfunction openMemberPopup(member) {\n isOpenAddMemberPopup.value = true;\n if (typeof member === \"number\") selectedMember.value = member;\n}\n\nfunction closeMemberPopup() {\n isOpenAddMemberPopup.value = false;\n selectedMember.value = null;\n}\n\nconst isOpenDepartmentPopup = ref(false);\nconst selectedDepartment = ref(null);\n\nfunction openDepartmentPopup(department) {\n isOpenDepartmentPopup.value = true;\n if (typeof department === \"number\") selectedDepartment.value = department;\n}\n\nfunction closeDepartmentPopup() {\n isOpenDepartmentPopup.value = false;\n selectedDepartment.value = null;\n}\n\nasync function onSubmit() {\n if (route.params.department) {\n await departments.actions.update(\n route.params._id,\n departments.state.department\n );\n }\n if (!route.params.department) {\n await departments.actions.create(\n route.params._id,\n departments.state.department\n );\n }\n}\n\nfunction redirectTo() {\n router.push({ name: \"Organization Members\", params: { _id: route.params._id } });\n}\n\nasync function onDelete() {\n if (confirm(\"Are you sure you want to delete this department?\")) {\n await departments.actions.delete(\n route.params._id,\n departments.state.department\n );\n }\n \n}\n\nfunction removeMember(member) {\n if (confirm(\"Are you sure you want to remove this member?\")) {\n globals.actions.delete(departments.state.department.members, { _id: member.user._id}) \n }\n}\n\nfunction redirectDash() {\n router.replace({ name: \"Organization\" });\n}\n</script>\n\n<style scoped>\n</style>"],"names":["useRouter","useRoute","ref","memberships.state","departments.actions","departments.state","globals.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmVA,UAAM,SAASA,UAAS,UAAA;AACxB,UAAM,QAAQC,UAAQ,SAAA;AAEtB,mBAAe,YAAY;AACXC,UAAG,IAACC,YAAiB,MAAC,WAAW;AAE/C,UAAI,MAAM,OAAO,WAAY,OAAMC,YAAAA,QAAoB,QAAQ,MAAM,OAAO,UAAU;AAAA,IACxF;AAEA;AAIA,UAAM,uBAAuBF,IAAAA,IAAI,KAAK;AACtC,UAAM,iBAAiBA,IAAAA,IAAI,IAAI;AAE/B,aAAS,gBAAgB,QAAQ;AAC/B,2BAAqB,QAAQ;AAAA,IAE/B;AAEA,aAAS,mBAAmB;AAC1B,2BAAqB,QAAQ;AAC7B,qBAAe,QAAQ;AAAA,IACzB;AAE8BA,QAAG,IAAC,KAAK;AACZA,QAAG,IAAC,IAAI;AAYnC,mBAAe,WAAW;AACxB,UAAI,MAAM,OAAO,YAAY;AAC3B,cAAME,YAAmB,QAAC;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,YAAAA,MAAkB;AAAA,QACxB;AAAA,MACG;AACD,UAAI,CAAC,MAAM,OAAO,YAAY;AAC5B,cAAMD,YAAmB,QAAC;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,YAAAA,MAAkB;AAAA,QACxB;AAAA,MACG;AAAA,IACH;AAEA,aAAS,aAAa;AACpB,aAAO,KAAK,EAAE,MAAM,wBAAwB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAI,CAAA;AAAA,IACjF;AAEA,mBAAe,WAAW;AACxB,UAAI,QAAQ,kDAAkD,GAAG;AAC/D,cAAMD,YAAmB,QAAC;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,YAAAA,MAAkB;AAAA,QACxB;AAAA,MACG;AAAA,IAEH;AAEA,aAAS,aAAa,QAAQ;AAC3B,UAAI,QAAQ,8CAA8C,GAAG;AAC5DC,wBAAgB,OAAOD,YAAiB,MAAC,WAAW,SAAS,EAAE,KAAK,OAAO,KAAK,IAAG,CAAC;AAAA,MACrF;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4,16 +4,16 @@ import "../../../../../../node_modules/js-cookie/dist/js.cookie.js";
4
4
  import "vue-i18n";
5
5
  /* empty css */
6
6
  import _sfc_main$3 from "../../../../components/UploadImage/UploadImage.vue.js";
7
- /* empty css */
8
- import Field from "../../../../components/Field/Field.vue2.js";
9
- /* empty css */
7
+ /* empty css */
8
+ import Field from "../../../../components/Field/Field.vue.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.vue2.js";
16
- import _sfc_main$6 from "../../../../components/Popup/Popup.vue.js";
15
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.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";
@@ -38,18 +38,9 @@ const _hoisted_6 = { class: "cols-2-fit-content" };
38
38
  const _hoisted_7 = { class: "w-100 flex-child-grow-1 flex-child" };
39
39
  const _hoisted_8 = { class: "cols-2 gap-thin" };
40
40
  const _hoisted_9 = { class: "bg-light pd-medium o-hidden radius-big" };
41
- const _hoisted_10 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-semi" }, "Department Settings", -1);
42
- const _hoisted_11 = /* @__PURE__ */ createElementVNode("p", { class: "p-medium mn-b-small" }, "Please settings for your department:", -1);
41
+ const _hoisted_10 = { class: "cols-1 gap-thin" };
42
+ const _hoisted_11 = { class: "bg-light pd-medium o-hidden radius-big" };
43
43
  const _hoisted_12 = { class: "cols-1 gap-thin" };
44
- const _hoisted_13 = { class: "bg-light pd-medium o-hidden radius-big" };
45
- const _hoisted_14 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-semi" }, "Acessess", -1);
46
- const _hoisted_15 = /* @__PURE__ */ createElementVNode("p", { class: "p-medium mn-b-small" }, "Please select organization accesses for user in department:", -1);
47
- const _hoisted_16 = { class: "cols-1 gap-thin" };
48
- const _hoisted_17 = /* @__PURE__ */ createElementVNode("h4", null, "Events", -1);
49
- const _hoisted_18 = /* @__PURE__ */ createElementVNode("h4", null, "Gallery", -1);
50
- const _hoisted_19 = /* @__PURE__ */ createElementVNode("h4", null, "Products", -1);
51
- const _hoisted_20 = /* @__PURE__ */ createElementVNode("h4", null, "Orders", -1);
52
- const _hoisted_21 = /* @__PURE__ */ createElementVNode("h4", null, "Departments", -1);
53
44
  const _sfc_main = {
54
45
  __name: "DepartmentEdit",
55
46
  setup(__props) {
@@ -112,9 +103,9 @@ const _sfc_main = {
112
103
  callback: _ctx.redirectToDash,
113
104
  class: "bg-red"
114
105
  }, {
115
- default: withCtx(() => [
106
+ default: withCtx(() => _cache[21] || (_cache[21] = [
116
107
  createTextVNode("Delete")
117
- ]),
108
+ ])),
118
109
  _: 1
119
110
  }, 8, ["callback"])) : createCommentVNode("", true),
120
111
  createVNode(_sfc_main$1, {
@@ -122,9 +113,9 @@ const _sfc_main = {
122
113
  callback: redirectTo,
123
114
  class: "bg-main"
124
115
  }, {
125
- default: withCtx(() => [
116
+ default: withCtx(() => _cache[22] || (_cache[22] = [
126
117
  createTextVNode("Save")
127
- ]),
118
+ ])),
128
119
  _: 1
129
120
  })
130
121
  ])
@@ -246,9 +237,9 @@ const _sfc_main = {
246
237
  }, 8, ["isPopupOpen"]),
247
238
  createElementVNode("div", _hoisted_8, [
248
239
  createElementVNode("div", _hoisted_9, [
249
- _hoisted_10,
250
- _hoisted_11,
251
- createElementVNode("div", _hoisted_12, [
240
+ _cache[23] || (_cache[23] = createElementVNode("h3", { class: "mn-b-semi" }, "Department Settings", -1)),
241
+ _cache[24] || (_cache[24] = createElementVNode("p", { class: "p-medium mn-b-small" }, "Please settings for your department:", -1)),
242
+ createElementVNode("div", _hoisted_10, [
252
243
  createVNode(_sfc_main$8, {
253
244
  label: "Hidden department",
254
245
  name: "hidden",
@@ -258,11 +249,11 @@ const _sfc_main = {
258
249
  }, null, 8, ["radio"])
259
250
  ])
260
251
  ]),
261
- createElementVNode("div", _hoisted_13, [
262
- _hoisted_14,
263
- _hoisted_15,
264
- createElementVNode("div", _hoisted_16, [
265
- _hoisted_17,
252
+ createElementVNode("div", _hoisted_11, [
253
+ _cache[30] || (_cache[30] = createElementVNode("h3", { class: "mn-b-semi" }, "Acessess", -1)),
254
+ _cache[31] || (_cache[31] = createElementVNode("p", { class: "p-medium mn-b-small" }, "Please select organization accesses for user in department:", -1)),
255
+ createElementVNode("div", _hoisted_12, [
256
+ _cache[25] || (_cache[25] = createElementVNode("h4", null, "Events", -1)),
266
257
  createVNode(_sfc_main$8, {
267
258
  label: "Read events",
268
259
  name: "readProducts",
@@ -291,7 +282,7 @@ const _sfc_main = {
291
282
  radio: state.department.accesses.events.delete,
292
283
  "onUpdate:radio": _cache[7] || (_cache[7] = (updated) => state.department.accesses.events.delete = !state.department.accesses.events.delete)
293
284
  }, null, 8, ["radio"]),
294
- _hoisted_18,
285
+ _cache[26] || (_cache[26] = createElementVNode("h4", null, "Gallery", -1)),
295
286
  createVNode(_sfc_main$8, {
296
287
  label: "Read gallery",
297
288
  name: "readProducts",
@@ -320,7 +311,7 @@ const _sfc_main = {
320
311
  radio: state.department.accesses.gallery.delete,
321
312
  "onUpdate:radio": _cache[11] || (_cache[11] = (updated) => state.department.accesses.gallery.delete = !state.department.accesses.gallery.delete)
322
313
  }, null, 8, ["radio"]),
323
- _hoisted_19,
314
+ _cache[27] || (_cache[27] = createElementVNode("h4", null, "Products", -1)),
324
315
  createVNode(_sfc_main$8, {
325
316
  label: "Read products",
326
317
  name: "readProducts",
@@ -342,7 +333,7 @@ const _sfc_main = {
342
333
  radio: state.department.accesses.products.delete,
343
334
  "onUpdate:radio": _cache[14] || (_cache[14] = (updated) => state.department.accesses.products.delete = !state.department.accesses.products.delete)
344
335
  }, null, 8, ["radio"]),
345
- _hoisted_20,
336
+ _cache[28] || (_cache[28] = createElementVNode("h4", null, "Orders", -1)),
346
337
  createVNode(_sfc_main$8, {
347
338
  label: "Read orders",
348
339
  name: "readOrders",
@@ -364,7 +355,7 @@ const _sfc_main = {
364
355
  radio: state.department.accesses.orders.delete,
365
356
  "onUpdate:radio": _cache[17] || (_cache[17] = (updated) => state.department.accesses.orders.delete = !state.department.accesses.orders.delete)
366
357
  }, null, 8, ["radio"]),
367
- _hoisted_21,
358
+ _cache[29] || (_cache[29] = createElementVNode("h4", null, "Departments", -1)),
368
359
  createVNode(_sfc_main$8, {
369
360
  label: "Read departments",
370
361
  name: "readDepartments",
@@ -1 +1 @@
1
- {"version":3,"file":"DepartmentEdit.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/DepartmentEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition pd-thin w-100\">\n\n <header class=\"mn-b-thin flex-nowrap flex bg-light pd-medium radius-big\">\n <h1 v-if=\"route.params.department\" class=\"mn-r-auto\">Edit Department</h1>\n <h1 v-else class=\"mn-r-auto\">Create Department</h1>\n\n <section class=\"flex-nowrap flex gap-thin pd-thin\">\n <Button v-if=\"route.params.department\" :submit=\"onDelete\" :callback=\"redirectToDash\" class=\"bg-red\">Delete</Button>\n <Button :submit=\"onSubmit\" :callback=\"redirectTo\" class=\"bg-main\">Save</Button>\n </section>\n\n </header>\n \n <Block\n title=\"Profile\"\n v-if=\"departments.state.department.profile\"\n class=\"mn-b-thin\"\n >\n <div\n class=\"cols-2-fit-content\"\n >\n <UploadImage \n v-model:photo=\"departments.state.department.profile.photo\"\n :uploadPath=\"'organizations/' + departments.state.department.name + '/avatars'\"\n class=\"w-8r aspect-1x1 o-hidden mn-r-small radius-extra\" \n />\n <div class=\"w-100 flex-child-grow-1 flex-child \">\n <Field \n v-model:field=\"departments.state.department.profile.name\" \n label=\"Name\" \n placeholder=\"Department Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"departments.state.department.profile.description\" \n label=\"Description\" \n placeholder=\"Department description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n </Block>\n\n <Block\n title=\"Team\"\n placeholder=\"No members added yet\"\n :actions=\"[{\n label: '+',\n function: () => openMemberPopup()\n }]\"\n class=\"cols-1 gap-thin mn-b-thin\"\n > \n <CardUser \n class=\"h-4r bg-white pd-thin radius-medium w-100\" \n v-for=\"(member, index) in departments.state.department.members\" \n :key=\"index\" \n :user=\"member.user\" \n :photo=\"member.user.profile.photo\"\n :name=\"member.user.profile.name || member.user.phone || member.user.email || member.user._id\"\n :position=\"member.position\" \n :action=\"{\n label: {\n is: IconDelete,\n props: { class: 'i-medium', fill: 'rgb(var(--white)' }\n },\n method: () => removeMember(member)\n }\"\n />\n </Block>\n\n <Popup \n title=\"Add member\" \n @close-popup=\"closeMemberPopup\" \n :isPopupOpen=\"isOpenAddMemberPopup\"\n class=\"bg-white w-max-30r radius-big pd-big\"\n >\n <Feed\n :search=\"{\n placeholder: 'Search customer...',\n class: 'bg-light mn-b-thin'\n }\"\n :states=\"{\n empty: {\n title: 'No Products Found',\n description: 'Currently, there are no such products available.'\n }\n }\"\n :store=\"{\n read: (options) => memberships.actions.read(options),\n state: null\n }\"\n :options=\"{\n target: route.params._id\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"bg-light pd-medium w-min-20r w-max-40r radius-big h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" \n :key=\"user._id\"\n :user=\"user.user\"\n :photo=\"user.user.profile?.photo\"\n :name=\"user.user.profile?.name || user.user.phone || user.user.email\"\n @click=\"() => { \n globals.actions.add(departments.state.department.members, { _id: user.user._id, user: user.user, position: 'Member'})\n closeMemberPopup();\n }\"\n class=\"h-4r bg-white pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </Popup>\n \n\n <div class=\"cols-2 gap-thin\">\n \n <div class=\"bg-light pd-medium o-hidden radius-big\">\n <h3 class=\"mn-b-semi\">Department Settings</h3>\n \n <p class=\"p-medium mn-b-small\">Please settings for your department:</p>\n <div class=\"cols-1 gap-thin\">\n <Checkbox \n label=\"Hidden department\"\n name=\"hidden\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n @update:radio=\"updated => departments.state.department.hidden = !departments.state.department.hidden\"\n :radio=\"departments.state.department.hidden\"\n />\n </div>\n </div>\n\n <div class=\"bg-light pd-medium o-hidden radius-big\">\n <h3 class=\"mn-b-semi\">Acessess</h3>\n \n <p class=\"p-medium mn-b-small\">Please select organization accesses for user in department:</p>\n \n <div class=\"cols-1 gap-thin\">\n <h4>Events</h4>\n <Checkbox\n label=\"Read events\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.read\"\n @update:radio=\"updated => (departments.state.department.accesses.events.read = !departments.state.department.accesses.events.read)\"\n />\n <Checkbox\n label=\"Create events\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.create\"\n @update:radio=\"updated => (departments.state.department.accesses.events.create = !departments.state.department.accesses.events.create)\"\n />\n <Checkbox\n label=\"Edit events\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.events.edit = !departments.state.department.accesses.events.edit)\"\n />\n <Checkbox\n label=\"Delete events\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.events.delete = !departments.state.department.accesses.events.delete)\"\n />\n <h4>Gallery</h4>\n <Checkbox\n label=\"Read gallery\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.read\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.read = !departments.state.department.accesses.gallery.read)\"\n />\n <Checkbox\n label=\"Create photos\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.create\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.create = !departments.state.department.accesses.gallery.create)\"\n />\n <Checkbox\n label=\"Edit gallery\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.edit = !departments.state.department.accesses.gallery.edit)\"\n />\n <Checkbox\n label=\"Delete gallery\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.delete = !departments.state.department.accesses.gallery.delete)\"\n />\n <h4>Products</h4>\n <Checkbox\n label=\"Read products\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.read\"\n @update:radio=\"updated => (departments.state.department.accesses.products.read = !departments.state.department.accesses.products.read)\"\n />\n <Checkbox\n label=\"Edit products\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.products.edit = !departments.state.department.accesses.products.edit)\"\n />\n <Checkbox\n label=\"Delete products\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.products.delete = !departments.state.department.accesses.products.delete)\"\n />\n\n <h4>Orders</h4>\n <Checkbox\n label=\"Read orders\"\n name=\"readOrders\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.read\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.read = !departments.state.department.accesses.orders.read)\"\n />\n <Checkbox\n label=\"Confirm orders\"\n name=\"confirmOrders\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.confirm\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.confirm = !departments.state.department.accesses.orders.confirm)\"\n />\n <Checkbox\n label=\"Delete orders\"\n name=\"deleteOrders\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.delete = !departments.state.department.accesses.orders.delete)\"\n />\n\n <h4>Departments</h4>\n <Checkbox\n label=\"Read departments\"\n name=\"readDepartments\" class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.read\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.read = !departments.state.department.accesses.departments.read)\"\n />\n <Checkbox\n label=\"Edit departments\"\n name=\"editDepartments\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.edit = !departments.state.department.accesses.departments.edit)\"\n />\n <Checkbox\n label=\"Delete departments\"\n name=\"deleteDepartments\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.delete = !departments.state.department.accesses.departments.delete)\"\n />\n </div>\n </div>\n\n\n </div>\n\n \n \n\n\n<!-- <div id=\"dash\" class=\"pd-medium bg-white\">\n\n <Popup title=\"Добавить подотдел\" @close-popup=\"closeDepartmentPopup\" :isPopupOpen=\"isOpenDepartmentPopup\">\n <DepartmentSubDepartmentModify \n :departments=\"departments.state.department.subdepartments\" \n :department=\"selectedDepartment\" \n :maindepartment=\"departments.state.department\"\n :alldepartments=\"departments.state.departments\"\n @callback=\"closeDepartmentPopup\"\n />\n </Popup>\n \n <div class=\"mn-b-regular flex-v-center flex-nowrap flex\">\n <h3 class=\"mn-r-small\">Подотделы </h3>\n <div>\n <a class=\"t-main h5\" @click=\"openDepartmentPopup()\">+</a>\n </div>\n </div>\n\n <ul class=\"mn-b-small\">\n <li v-if=\"departments.state.department.subdepartments.length < 1\">В отделе еще нет подотделов</li>\n <DepartmentSub \n v-for=\"(subdepartment, index) in departments.state.department.subdepartments\" \n :key=\"index\" class=\"bg-light o-hidden radius-small mn-b-thin\" \n :department=\"subdepartment\" \n @click=\"openDepartmentPopup(index)\"\n />\n </ul> \n\n \n </div> -->\n </div>\n</template>\n\n<script setup>\nimport { ref } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport Cookies from \"js-cookie\";\nimport Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@pf/src/components/Tab/Tab.vue\";\nimport Field from \"@pf/src/components/Field/Field.vue\";\nimport Select from \"@pf/src/components/Select/Select.vue\";\nimport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@pf/src/components/Address/Address.vue\";\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@pf/src/components/Button/Button.vue\";\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Feed from '@pf/src/components/Feed/Feed.vue'\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue'\n\nimport EditArray from \"@pf/src/modules/organizations/components/blocks/EditArray.vue\";\nimport DepartmentSub from \"@pf/src/modules/organizations/components/blocks/DepartmentSub.vue\";\n\nimport CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\nimport * as globals from \"@pf/src/modules/globals/views/store/globals\";\nimport * as departments from \"@pf/src/modules/organizations/store/departments\";\nimport * as memberships from \"@pf/src/modules/organizations/store/memberships\";\n\nconst router = useRouter();\nconst route = useRoute();\n\nasync function fetchData() {\n const users = ref(memberships.state.memberships);\n // await departments.actions.read({organization: route.params._id});\n if (route.params.department) await departments.actions.readOne(route.params.department);\n}\n\nfetchData();\n\n// const members = ref(departments.state.department.members);\n\nconst isOpenAddMemberPopup = ref(false);\nconst selectedMember = ref(null);\n\nfunction openMemberPopup(member) {\n isOpenAddMemberPopup.value = true;\n if (typeof member === \"number\") selectedMember.value = member;\n}\n\nfunction closeMemberPopup() {\n isOpenAddMemberPopup.value = false;\n selectedMember.value = null;\n}\n\nconst isOpenDepartmentPopup = ref(false);\nconst selectedDepartment = ref(null);\n\nfunction openDepartmentPopup(department) {\n isOpenDepartmentPopup.value = true;\n if (typeof department === \"number\") selectedDepartment.value = department;\n}\n\nfunction closeDepartmentPopup() {\n isOpenDepartmentPopup.value = false;\n selectedDepartment.value = null;\n}\n\nasync function onSubmit() {\n if (route.params.department) {\n await departments.actions.update(\n route.params._id,\n departments.state.department\n );\n }\n if (!route.params.department) {\n await departments.actions.create(\n route.params._id,\n departments.state.department\n );\n }\n}\n\nfunction redirectTo() {\n router.push({ name: \"Organization Members\", params: { _id: route.params._id } });\n}\n\nasync function onDelete() {\n if (confirm(\"Are you sure you want to delete this department?\")) {\n await departments.actions.delete(\n route.params._id,\n departments.state.department\n );\n }\n \n}\n\nfunction removeMember(member) {\n if (confirm(\"Are you sure you want to remove this member?\")) {\n globals.actions.delete(departments.state.department.members, { _id: member.user._id}) \n }\n}\n\nfunction redirectDash() {\n router.replace({ name: \"Organization\" });\n}\n</script>\n\n<style scoped>\n</style>"],"names":["memberships.state","departments.actions","departments.state","globals.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmVA,UAAM,SAAS,UAAS;AACxB,UAAM,QAAQ,SAAQ;AAEtB,mBAAe,YAAY;AACX,UAAIA,QAAkB,WAAW;AAE/C,UAAI,MAAM,OAAO,WAAY,OAAMC,UAAoB,QAAQ,MAAM,OAAO,UAAU;AAAA,IACxF;AAEA;AAIA,UAAM,uBAAuB,IAAI,KAAK;AACtC,UAAM,iBAAiB,IAAI,IAAI;AAE/B,aAAS,gBAAgB,QAAQ;AAC/B,2BAAqB,QAAQ;AAAA,IAE/B;AAEA,aAAS,mBAAmB;AAC1B,2BAAqB,QAAQ;AAC7B,qBAAe,QAAQ;AAAA,IACzB;AAE8B,QAAI,KAAK;AACZ,QAAI,IAAI;AAYnC,mBAAe,WAAW;AACxB,UAAI,MAAM,OAAO,YAAY;AAC3B,cAAMA,UAAoB;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,MAAkB;AAAA,QACxB;AAAA,MACG;AACD,UAAI,CAAC,MAAM,OAAO,YAAY;AAC5B,cAAMD,UAAoB;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,MAAkB;AAAA,QACxB;AAAA,MACG;AAAA,IACH;AAEA,aAAS,aAAa;AACpB,aAAO,KAAK,EAAE,MAAM,wBAAwB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAI,CAAA;AAAA,IACjF;AAEA,mBAAe,WAAW;AACxB,UAAI,QAAQ,kDAAkD,GAAG;AAC/D,cAAMD,UAAoB;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,MAAkB;AAAA,QACxB;AAAA,MACG;AAAA,IAEH;AAEA,aAAS,aAAa,QAAQ;AAC3B,UAAI,QAAQ,8CAA8C,GAAG;AAC5DC,kBAAgB,OAAOD,MAAkB,WAAW,SAAS,EAAE,KAAK,OAAO,KAAK,IAAG,CAAC;AAAA,MACrF;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DepartmentEdit.vue.js","sources":["../../../../../../../src/modules/organizations/components/pages/DepartmentEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition pd-thin w-100\">\n\n <header class=\"mn-b-thin flex-nowrap flex bg-light pd-medium radius-big\">\n <h1 v-if=\"route.params.department\" class=\"mn-r-auto\">Edit Department</h1>\n <h1 v-else class=\"mn-r-auto\">Create Department</h1>\n\n <section class=\"flex-nowrap flex gap-thin pd-thin\">\n <Button v-if=\"route.params.department\" :submit=\"onDelete\" :callback=\"redirectToDash\" class=\"bg-red\">Delete</Button>\n <Button :submit=\"onSubmit\" :callback=\"redirectTo\" class=\"bg-main\">Save</Button>\n </section>\n\n </header>\n \n <Block\n title=\"Profile\"\n v-if=\"departments.state.department.profile\"\n class=\"mn-b-thin\"\n >\n <div\n class=\"cols-2-fit-content\"\n >\n <UploadImage \n v-model:photo=\"departments.state.department.profile.photo\"\n :uploadPath=\"'organizations/' + departments.state.department.name + '/avatars'\"\n class=\"w-8r aspect-1x1 o-hidden mn-r-small radius-extra\" \n />\n <div class=\"w-100 flex-child-grow-1 flex-child \">\n <Field \n v-model:field=\"departments.state.department.profile.name\" \n label=\"Name\" \n placeholder=\"Department Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"departments.state.department.profile.description\" \n label=\"Description\" \n placeholder=\"Department description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n </Block>\n\n <Block\n title=\"Team\"\n placeholder=\"No members added yet\"\n :actions=\"[{\n label: '+',\n function: () => openMemberPopup()\n }]\"\n class=\"cols-1 gap-thin mn-b-thin\"\n > \n <CardUser \n class=\"h-4r bg-white pd-thin radius-medium w-100\" \n v-for=\"(member, index) in departments.state.department.members\" \n :key=\"index\" \n :user=\"member.user\" \n :photo=\"member.user.profile.photo\"\n :name=\"member.user.profile.name || member.user.phone || member.user.email || member.user._id\"\n :position=\"member.position\" \n :action=\"{\n label: {\n is: IconDelete,\n props: { class: 'i-medium', fill: 'rgb(var(--white)' }\n },\n method: () => removeMember(member)\n }\"\n />\n </Block>\n\n <Popup \n title=\"Add member\" \n @close-popup=\"closeMemberPopup\" \n :isPopupOpen=\"isOpenAddMemberPopup\"\n class=\"bg-white w-max-30r radius-big pd-big\"\n >\n <Feed\n :search=\"{\n placeholder: 'Search customer...',\n class: 'bg-light mn-b-thin'\n }\"\n :states=\"{\n empty: {\n title: 'No Products Found',\n description: 'Currently, there are no such products available.'\n }\n }\"\n :store=\"{\n read: (options) => memberships.actions.read(options),\n state: null\n }\"\n :options=\"{\n target: route.params._id\n }\"\n v-slot=\"{ \n items \n }\"\n class=\"bg-light pd-medium w-min-20r w-max-40r radius-big h-max-20r o-scroll\"\n >\n <CardUser\n v-for=\"(user, index) in items\" \n :key=\"user._id\"\n :user=\"user.user\"\n :photo=\"user.user.profile?.photo\"\n :name=\"user.user.profile?.name || user.user.phone || user.user.email\"\n @click=\"() => { \n globals.actions.add(departments.state.department.members, { _id: user.user._id, user: user.user, position: 'Member'})\n closeMemberPopup();\n }\"\n class=\"h-4r bg-white pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </Popup>\n \n\n <div class=\"cols-2 gap-thin\">\n \n <div class=\"bg-light pd-medium o-hidden radius-big\">\n <h3 class=\"mn-b-semi\">Department Settings</h3>\n \n <p class=\"p-medium mn-b-small\">Please settings for your department:</p>\n <div class=\"cols-1 gap-thin\">\n <Checkbox \n label=\"Hidden department\"\n name=\"hidden\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n @update:radio=\"updated => departments.state.department.hidden = !departments.state.department.hidden\"\n :radio=\"departments.state.department.hidden\"\n />\n </div>\n </div>\n\n <div class=\"bg-light pd-medium o-hidden radius-big\">\n <h3 class=\"mn-b-semi\">Acessess</h3>\n \n <p class=\"p-medium mn-b-small\">Please select organization accesses for user in department:</p>\n \n <div class=\"cols-1 gap-thin\">\n <h4>Events</h4>\n <Checkbox\n label=\"Read events\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.read\"\n @update:radio=\"updated => (departments.state.department.accesses.events.read = !departments.state.department.accesses.events.read)\"\n />\n <Checkbox\n label=\"Create events\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.create\"\n @update:radio=\"updated => (departments.state.department.accesses.events.create = !departments.state.department.accesses.events.create)\"\n />\n <Checkbox\n label=\"Edit events\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.events.edit = !departments.state.department.accesses.events.edit)\"\n />\n <Checkbox\n label=\"Delete events\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.events.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.events.delete = !departments.state.department.accesses.events.delete)\"\n />\n <h4>Gallery</h4>\n <Checkbox\n label=\"Read gallery\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.read\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.read = !departments.state.department.accesses.gallery.read)\"\n />\n <Checkbox\n label=\"Create photos\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.create\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.create = !departments.state.department.accesses.gallery.create)\"\n />\n <Checkbox\n label=\"Edit gallery\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.edit = !departments.state.department.accesses.gallery.edit)\"\n />\n <Checkbox\n label=\"Delete gallery\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.gallery.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.gallery.delete = !departments.state.department.accesses.gallery.delete)\"\n />\n <h4>Products</h4>\n <Checkbox\n label=\"Read products\"\n name=\"readProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.read\"\n @update:radio=\"updated => (departments.state.department.accesses.products.read = !departments.state.department.accesses.products.read)\"\n />\n <Checkbox\n label=\"Edit products\"\n name=\"editProducts\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.products.edit = !departments.state.department.accesses.products.edit)\"\n />\n <Checkbox\n label=\"Delete products\"\n name=\"deleteProducts\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.products.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.products.delete = !departments.state.department.accesses.products.delete)\"\n />\n\n <h4>Orders</h4>\n <Checkbox\n label=\"Read orders\"\n name=\"readOrders\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.read\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.read = !departments.state.department.accesses.orders.read)\"\n />\n <Checkbox\n label=\"Confirm orders\"\n name=\"confirmOrders\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.confirm\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.confirm = !departments.state.department.accesses.orders.confirm)\"\n />\n <Checkbox\n label=\"Delete orders\"\n name=\"deleteOrders\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.orders.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.orders.delete = !departments.state.department.accesses.orders.delete)\"\n />\n\n <h4>Departments</h4>\n <Checkbox\n label=\"Read departments\"\n name=\"readDepartments\" class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.read\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.read = !departments.state.department.accesses.departments.read)\"\n />\n <Checkbox\n label=\"Edit departments\"\n name=\"editDepartments\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.edit\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.edit = !departments.state.department.accesses.departments.edit)\"\n />\n <Checkbox\n label=\"Delete departments\"\n name=\"deleteDepartments\"\n class=\"w-100 bg-white radius-small pd-small\"\n :radio=\"departments.state.department.accesses.departments.delete\"\n @update:radio=\"updated => (departments.state.department.accesses.departments.delete = !departments.state.department.accesses.departments.delete)\"\n />\n </div>\n </div>\n\n\n </div>\n\n \n \n\n\n<!-- <div id=\"dash\" class=\"pd-medium bg-white\">\n\n <Popup title=\"Добавить подотдел\" @close-popup=\"closeDepartmentPopup\" :isPopupOpen=\"isOpenDepartmentPopup\">\n <DepartmentSubDepartmentModify \n :departments=\"departments.state.department.subdepartments\" \n :department=\"selectedDepartment\" \n :maindepartment=\"departments.state.department\"\n :alldepartments=\"departments.state.departments\"\n @callback=\"closeDepartmentPopup\"\n />\n </Popup>\n \n <div class=\"mn-b-regular flex-v-center flex-nowrap flex\">\n <h3 class=\"mn-r-small\">Подотделы </h3>\n <div>\n <a class=\"t-main h5\" @click=\"openDepartmentPopup()\">+</a>\n </div>\n </div>\n\n <ul class=\"mn-b-small\">\n <li v-if=\"departments.state.department.subdepartments.length < 1\">В отделе еще нет подотделов</li>\n <DepartmentSub \n v-for=\"(subdepartment, index) in departments.state.department.subdepartments\" \n :key=\"index\" class=\"bg-light o-hidden radius-small mn-b-thin\" \n :department=\"subdepartment\" \n @click=\"openDepartmentPopup(index)\"\n />\n </ul> \n\n \n </div> -->\n </div>\n</template>\n\n<script setup>\nimport { ref } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport Cookies from \"js-cookie\";\nimport Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@pf/src/components/Tab/Tab.vue\";\nimport Field from \"@pf/src/components/Field/Field.vue\";\nimport Select from \"@pf/src/components/Select/Select.vue\";\nimport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@pf/src/components/Address/Address.vue\";\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@pf/src/components/Button/Button.vue\";\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Feed from '@pf/src/components/Feed/Feed.vue'\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue'\n\nimport EditArray from \"@pf/src/modules/organizations/components/blocks/EditArray.vue\";\nimport DepartmentSub from \"@pf/src/modules/organizations/components/blocks/DepartmentSub.vue\";\n\nimport CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'\n\nimport * as globals from \"@pf/src/modules/globals/views/store/globals\";\nimport * as departments from \"@pf/src/modules/organizations/store/departments\";\nimport * as memberships from \"@pf/src/modules/organizations/store/memberships\";\n\nconst router = useRouter();\nconst route = useRoute();\n\nasync function fetchData() {\n const users = ref(memberships.state.memberships);\n // await departments.actions.read({organization: route.params._id});\n if (route.params.department) await departments.actions.readOne(route.params.department);\n}\n\nfetchData();\n\n// const members = ref(departments.state.department.members);\n\nconst isOpenAddMemberPopup = ref(false);\nconst selectedMember = ref(null);\n\nfunction openMemberPopup(member) {\n isOpenAddMemberPopup.value = true;\n if (typeof member === \"number\") selectedMember.value = member;\n}\n\nfunction closeMemberPopup() {\n isOpenAddMemberPopup.value = false;\n selectedMember.value = null;\n}\n\nconst isOpenDepartmentPopup = ref(false);\nconst selectedDepartment = ref(null);\n\nfunction openDepartmentPopup(department) {\n isOpenDepartmentPopup.value = true;\n if (typeof department === \"number\") selectedDepartment.value = department;\n}\n\nfunction closeDepartmentPopup() {\n isOpenDepartmentPopup.value = false;\n selectedDepartment.value = null;\n}\n\nasync function onSubmit() {\n if (route.params.department) {\n await departments.actions.update(\n route.params._id,\n departments.state.department\n );\n }\n if (!route.params.department) {\n await departments.actions.create(\n route.params._id,\n departments.state.department\n );\n }\n}\n\nfunction redirectTo() {\n router.push({ name: \"Organization Members\", params: { _id: route.params._id } });\n}\n\nasync function onDelete() {\n if (confirm(\"Are you sure you want to delete this department?\")) {\n await departments.actions.delete(\n route.params._id,\n departments.state.department\n );\n }\n \n}\n\nfunction removeMember(member) {\n if (confirm(\"Are you sure you want to remove this member?\")) {\n globals.actions.delete(departments.state.department.members, { _id: member.user._id}) \n }\n}\n\nfunction redirectDash() {\n router.replace({ name: \"Organization\" });\n}\n</script>\n\n<style scoped>\n</style>"],"names":["memberships.state","departments.actions","departments.state","globals.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmVA,UAAM,SAAS,UAAS;AACxB,UAAM,QAAQ,SAAQ;AAEtB,mBAAe,YAAY;AACX,UAAIA,QAAkB,WAAW;AAE/C,UAAI,MAAM,OAAO,WAAY,OAAMC,UAAoB,QAAQ,MAAM,OAAO,UAAU;AAAA,IACxF;AAEA;AAIA,UAAM,uBAAuB,IAAI,KAAK;AACtC,UAAM,iBAAiB,IAAI,IAAI;AAE/B,aAAS,gBAAgB,QAAQ;AAC/B,2BAAqB,QAAQ;AAAA,IAE/B;AAEA,aAAS,mBAAmB;AAC1B,2BAAqB,QAAQ;AAC7B,qBAAe,QAAQ;AAAA,IACzB;AAE8B,QAAI,KAAK;AACZ,QAAI,IAAI;AAYnC,mBAAe,WAAW;AACxB,UAAI,MAAM,OAAO,YAAY;AAC3B,cAAMA,UAAoB;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,MAAkB;AAAA,QACxB;AAAA,MACG;AACD,UAAI,CAAC,MAAM,OAAO,YAAY;AAC5B,cAAMD,UAAoB;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,MAAkB;AAAA,QACxB;AAAA,MACG;AAAA,IACH;AAEA,aAAS,aAAa;AACpB,aAAO,KAAK,EAAE,MAAM,wBAAwB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAI,CAAA;AAAA,IACjF;AAEA,mBAAe,WAAW;AACxB,UAAI,QAAQ,kDAAkD,GAAG;AAC/D,cAAMD,UAAoB;AAAA,UACxB,MAAM,OAAO;AAAA,UACbC,MAAkB;AAAA,QACxB;AAAA,MACG;AAAA,IAEH;AAEA,aAAS,aAAa,QAAQ;AAC3B,UAAI,QAAQ,8CAA8C,GAAG;AAC5DC,kBAAgB,OAAOD,MAAkB,WAAW,SAAS,EAAE,KAAK,OAAO,KAAK,IAAG,CAAC;AAAA,MACrF;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,12 +3,12 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
6
- ;/* empty css */
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");
@@ -158,9 +158,9 @@ const _sfc_main = {
158
158
  },
159
159
  class: "d-block flex-center flex uppercase t-semi bg-main w-100 pd-small radius-extra"
160
160
  }, {
161
- default: vue.withCtx(() => [
161
+ default: vue.withCtx(() => _cache[2] || (_cache[2] = [
162
162
  vue.createTextVNode(" Add department ")
163
- ]),
163
+ ])),
164
164
  _: 1
165
165
  }, 8, ["to"])) : vue.createCommentVNode("", true),
166
166
  tab.value === "members" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
@@ -1,12 +1,12 @@
1
1
  import { ref, onMounted, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createBlock, unref, Fragment, renderList, createCommentVNode, createTextVNode } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$4 from "../../../../components/Feed/Feed.vue.js";
4
- /* empty css */
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";
@@ -156,9 +156,9 @@ const _sfc_main = {
156
156
  },
157
157
  class: "d-block flex-center flex uppercase t-semi bg-main w-100 pd-small radius-extra"
158
158
  }, {
159
- default: withCtx(() => [
159
+ default: withCtx(() => _cache[2] || (_cache[2] = [
160
160
  createTextVNode(" Add department ")
161
- ]),
161
+ ])),
162
162
  _: 1
163
163
  }, 8, ["to"])) : createCommentVNode("", true),
164
164
  tab.value === "members" ? (openBlock(), createElementBlock("div", _hoisted_2, [
@@ -4,11 +4,11 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  require("vue-i18n");
6
6
  ;/* empty css */
7
- const Tab = require("../../../../components/Tab/Tab.vue2.cjs");
7
+ const Tab = require("../../../../components/Tab/Tab.vue.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");
@@ -127,9 +127,9 @@ const _sfc_main = {
127
127
  }
128
128
  }
129
129
  }, {
130
- default: vue.withCtx(() => [
130
+ default: vue.withCtx(() => _cache[2] || (_cache[2] = [
131
131
  vue.createTextVNode(" Add Product ")
132
- ]),
132
+ ])),
133
133
  _: 1
134
134
  }, 8, ["to"]),
135
135
  vue.createVNode(_component_router_link, {
@@ -141,9 +141,9 @@ const _sfc_main = {
141
141
  }
142
142
  }
143
143
  }, {
144
- default: vue.withCtx(() => [
144
+ default: vue.withCtx(() => _cache[3] || (_cache[3] = [
145
145
  vue.createTextVNode(" Change Invetory ")
146
- ]),
146
+ ])),
147
147
  _: 1
148
148
  }, 8, ["to"]),
149
149
  vue.createVNode(_component_router_link, {
@@ -155,9 +155,9 @@ const _sfc_main = {
155
155
  }
156
156
  }
157
157
  }, {
158
- default: vue.withCtx(() => [
158
+ default: vue.withCtx(() => _cache[4] || (_cache[4] = [
159
159
  vue.createTextVNode(" Go to Backoffice ")
160
- ]),
160
+ ])),
161
161
  _: 1
162
162
  }, 8, ["to"])
163
163
  ]),