@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,8 +6,8 @@ import Vn from "../../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-d
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  import _sfc_main$4 from "../../../../components/Block/Block.vue.js";
9
- import _sfc_main$7 from "../../../../components/Popup/Popup.vue.js";
10
- import Field from "../../../../components/Field/Field.vue2.js";
9
+ import _sfc_main$7 from "../../../../components/Popup/Popup.vue2.js";
10
+ import Field from "../../../../components/Field/Field.vue.js";
11
11
  import _sfc_main$8 from "../../../../components/FieldTags/BlockTags.vue.js";
12
12
  import _sfc_main$2 from "../../../../components/Checkbox/Checkbox.vue.js";
13
13
  /* empty css */
@@ -15,7 +15,7 @@ import Upload from "../../../../components/Upload/Upload.vue.js";
15
15
  import _sfc_main$1 from "../../../../components/UploadImage/UploadImage.vue.js";
16
16
  import _sfc_main$3 from "../../../../components/EditImages/EditImages.vue.js";
17
17
  import _sfc_main$a from "../../../../components/Feed/Feed.vue.js";
18
- import _sfc_main$b from "../../../../components/Button/Button.vue2.js";
18
+ import _sfc_main$b from "../../../../components/Button/Button.vue.js";
19
19
  import _sfc_main$9 from "../../../globals/views/components/blocks/Card.vue.js";
20
20
  import _sfc_main$5 from "../../../icons/navigation/IconDelete.vue.js";
21
21
  import { useRoute, useRouter } from "vue-router";
@@ -28,60 +28,43 @@ const _hoisted_1 = {
28
28
  class: "h-min-100 pd-thin"
29
29
  };
30
30
  const _hoisted_2 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex" };
31
- const _hoisted_3 = /* @__PURE__ */ createElementVNode("h4", null, "Upload Event Cover", -1);
32
- const _hoisted_4 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Date", -1);
33
- const _hoisted_5 = {
31
+ const _hoisted_3 = {
34
32
  key: 0,
35
33
  class: "mn-b-small"
36
34
  };
37
- const _hoisted_6 = {
35
+ const _hoisted_4 = {
38
36
  key: 1,
39
37
  class: "mn-b-small"
40
38
  };
41
- const _hoisted_7 = {
39
+ const _hoisted_5 = {
42
40
  key: 3,
43
41
  class: "mn-b-semi"
44
42
  };
45
- const _hoisted_8 = /* @__PURE__ */ createElementVNode("h4", { class: "mn-b-thin" }, " Hero Section ", -1);
46
- const _hoisted_9 = /* @__PURE__ */ createElementVNode("h5", { class: "mn-b-thin" }, " Video in Hero Section ", -1);
47
- const _hoisted_10 = /* @__PURE__ */ createElementVNode("p", null, "Need to upload in webm format because of needs of optimization", -1);
48
- const _hoisted_11 = /* @__PURE__ */ createElementVNode("h5", { class: "mn-b-thin" }, " Ticket ", -1);
49
- const _hoisted_12 = { class: "mn-b-small gap-small cols-2-fit-content" };
50
- const _hoisted_13 = { class: "gap-thin flex-nowrap flex w-100" };
51
- const _hoisted_14 = /* @__PURE__ */ createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1);
52
- const _hoisted_15 = /* @__PURE__ */ createElementVNode("h4", { class: "mn-b-thin" }, " Guest Section ", -1);
53
- const _hoisted_16 = { class: "gap-thin cols-3" };
54
- const _hoisted_17 = /* @__PURE__ */ createElementVNode("h5", { class: "mn-b-thin" }, " Video in Guests Section ", -1);
55
- const _hoisted_18 = { class: "gap-thin flex-nowrap flex w-100" };
56
- const _hoisted_19 = { class: "w-100" };
57
- const _hoisted_20 = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" };
58
- const _hoisted_21 = /* @__PURE__ */ createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1);
59
- const _hoisted_22 = /* @__PURE__ */ createElementVNode("h4", { class: "mn-b-thin" }, " Lineup Section ", -1);
60
- const _hoisted_23 = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" };
61
- const _hoisted_24 = /* @__PURE__ */ createElementVNode("h5", { class: "mn-b-thin" }, " Background in Lineup Section ", -1);
62
- const _hoisted_25 = /* @__PURE__ */ createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1);
63
- const _hoisted_26 = /* @__PURE__ */ createElementVNode("h4", { class: "mn-b-thin" }, " Previous Party Section ", -1);
64
- const _hoisted_27 = /* @__PURE__ */ createElementVNode("h5", { class: "mn-b-thin" }, " Video in Previous Partys Section ", -1);
65
- const _hoisted_28 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Description", -1);
66
- const _hoisted_29 = {
43
+ const _hoisted_6 = { class: "mn-b-small gap-small cols-2-fit-content" };
44
+ const _hoisted_7 = { class: "gap-thin flex-nowrap flex w-100" };
45
+ const _hoisted_8 = { class: "gap-thin cols-3" };
46
+ const _hoisted_9 = { class: "gap-thin flex-nowrap flex w-100" };
47
+ const _hoisted_10 = { class: "w-100" };
48
+ const _hoisted_11 = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" };
49
+ const _hoisted_12 = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" };
50
+ const _hoisted_13 = {
67
51
  key: 4,
68
52
  class: "pd-b-extra w-100 bg-light pd-big radius-big"
69
53
  };
70
- const _hoisted_30 = {
54
+ const _hoisted_14 = {
71
55
  key: 5,
72
56
  class: "pd-thin pos-sticky pos-l-0 pos-b-0 w-100"
73
57
  };
74
- const _hoisted_31 = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" };
75
- const _hoisted_32 = /* @__PURE__ */ createElementVNode("h5", { class: "mn-b-thin" }, "Add to public", -1);
76
- const _hoisted_33 = {
58
+ const _hoisted_15 = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" };
59
+ const _hoisted_16 = {
77
60
  key: 1,
78
61
  class: "mn-b-thin h-25r o-x-hidden o-y-scroll bg-light radius-big pd-small"
79
62
  };
80
- const _hoisted_34 = {
63
+ const _hoisted_17 = {
81
64
  key: 2,
82
65
  class: "mn-b-thin"
83
66
  };
84
- const _hoisted_35 = {
67
+ const _hoisted_18 = {
85
68
  key: 3,
86
69
  class: "mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big"
87
70
  };
@@ -199,7 +182,7 @@ const _sfc_main = {
199
182
  uploadPath: "specials",
200
183
  class: "h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"
201
184
  }, null, 8, ["photo"]),
202
- _hoisted_3
185
+ _cache[41] || (_cache[41] = createElementVNode("h4", null, "Upload Event Cover", -1))
203
186
  ]),
204
187
  createVNode(Field, {
205
188
  field: unref(event).name,
@@ -214,15 +197,15 @@ const _sfc_main = {
214
197
  placeholder: "Enter short description",
215
198
  class: "mn-b-semi w-100 bg-light pd-medium radius-small"
216
199
  }, null, 8, ["field"]),
217
- _hoisted_4,
200
+ _cache[57] || (_cache[57] = createElementVNode("h3", { class: "mn-b-small" }, "Date", -1)),
218
201
  createVNode(unref(Vn), {
219
202
  modelValue: date.value,
220
203
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => date.value = $event),
221
204
  range: "",
222
205
  class: "z-index-3 radius-small mn-b-semi bg-light"
223
206
  }, null, 8, ["modelValue"]),
224
- state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createElementBlock("h3", _hoisted_5, " Tickets ")) : createCommentVNode("", true),
225
- !unref(route).params.url && state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createElementBlock("h3", _hoisted_6, " Special Details ")) : createCommentVNode("", true),
207
+ state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createElementBlock("h3", _hoisted_3, " Tickets ")) : createCommentVNode("", true),
208
+ !unref(route).params.url && state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createElementBlock("h3", _hoisted_4, " Special Details ")) : createCommentVNode("", true),
226
209
  !unref(route).params.url && state.access.roles && (state.access.roles.includes("ROLE_MODERATOR") || state.access.roles.includes("ROLE_ADMIN")) ? (openBlock(), createBlock(_sfc_main$2, {
227
210
  key: 2,
228
211
  label: "Special",
@@ -230,8 +213,8 @@ const _sfc_main = {
230
213
  "onUpdate:radio": _cache[4] || (_cache[4] = (updateEvent) => unref(event).special = !unref(event).special),
231
214
  class: "mn-b-semi w-100 bg-black t-white pd-medium radius-small"
232
215
  }, null, 8, ["radio"])) : createCommentVNode("", true),
233
- unref(event).special ? (openBlock(), createElementBlock("div", _hoisted_7, [
234
- _hoisted_8,
216
+ unref(event).special ? (openBlock(), createElementBlock("div", _hoisted_5, [
217
+ _cache[42] || (_cache[42] = createElementVNode("h4", { class: "mn-b-thin" }, " Hero Section ", -1)),
235
218
  createVNode(Field, {
236
219
  field: unref(event).specialData.subtitle,
237
220
  "onUpdate:field": _cache[5] || (_cache[5] = ($event) => unref(event).specialData.subtitle = $event),
@@ -252,8 +235,8 @@ const _sfc_main = {
252
235
  "onUpdate:images": _cache[6] || (_cache[6] = (newImages) => unref(event).specialData.logos = newImages),
253
236
  class: "mn-b-thin bg-light radius-small"
254
237
  }, null, 8, ["images"]),
255
- _hoisted_9,
256
- _hoisted_10,
238
+ _cache[43] || (_cache[43] = createElementVNode("h5", { class: "mn-b-thin" }, " Video in Hero Section ", -1)),
239
+ _cache[44] || (_cache[44] = createElementVNode("p", null, "Need to upload in webm format because of needs of optimization", -1)),
257
240
  createVNode(Upload, {
258
241
  field: unref(event).specialData.video,
259
242
  "onUpdate:field": _cache[7] || (_cache[7] = ($event) => unref(event).specialData.video = $event),
@@ -263,15 +246,15 @@ const _sfc_main = {
263
246
  type: "file",
264
247
  class: "mn-b-thin w-100 bg-light pd-medium radius-small t-black"
265
248
  }, null, 8, ["field"]),
266
- _hoisted_11,
267
- createElementVNode("div", _hoisted_12, [
249
+ _cache[45] || (_cache[45] = createElementVNode("h5", { class: "mn-b-thin" }, " Ticket ", -1)),
250
+ createElementVNode("div", _hoisted_6, [
268
251
  createVNode(_sfc_main$1, {
269
252
  photo: unref(event).specialData.ticketImage,
270
253
  "onUpdate:photo": _cache[9] || (_cache[9] = ($event) => unref(event).specialData.ticketImage = $event),
271
254
  uploadPath: "/specials",
272
255
  class: "aspect-1x1 w-4r o-hidden radius-extra"
273
256
  }, null, 8, ["photo"]),
274
- createElementVNode("div", _hoisted_13, [
257
+ createElementVNode("div", _hoisted_7, [
275
258
  createVNode(Field, {
276
259
  field: unref(event).specialData.ticketPrice,
277
260
  "onUpdate:field": _cache[10] || (_cache[10] = ($event) => unref(event).specialData.ticketPrice = $event),
@@ -293,8 +276,8 @@ const _sfc_main = {
293
276
  }, null, 8, ["field"])
294
277
  ])
295
278
  ]),
296
- _hoisted_14,
297
- _hoisted_15,
279
+ _cache[46] || (_cache[46] = createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1)),
280
+ _cache[47] || (_cache[47] = createElementVNode("h4", { class: "mn-b-thin" }, " Guest Section ", -1)),
298
281
  createVNode(Field, {
299
282
  field: unref(event).specialData.guestTitle,
300
283
  "onUpdate:field": _cache[13] || (_cache[13] = ($event) => unref(event).specialData.guestTitle = $event),
@@ -307,7 +290,7 @@ const _sfc_main = {
307
290
  placeholder: "Description for Main Guest section",
308
291
  class: "mn-b-thin w-100 bg-light pd-medium radius-small"
309
292
  }, null, 8, ["field"]),
310
- createElementVNode("div", _hoisted_16, [
293
+ createElementVNode("div", _hoisted_8, [
311
294
  createVNode(Field, {
312
295
  field: unref(event).specialData.guestFacebook,
313
296
  "onUpdate:field": _cache[15] || (_cache[15] = ($event) => unref(event).specialData.guestFacebook = $event),
@@ -351,7 +334,7 @@ const _sfc_main = {
351
334
  class: "mn-b-thin w-100 bg-light pd-medium radius-small"
352
335
  }, null, 8, ["field"])
353
336
  ]),
354
- _hoisted_17,
337
+ _cache[48] || (_cache[48] = createElementVNode("h5", { class: "mn-b-thin" }, " Video in Guests Section ", -1)),
355
338
  createVNode(Upload, {
356
339
  field: unref(event).specialData.guestVideo,
357
340
  "onUpdate:field": _cache[22] || (_cache[22] = ($event) => unref(event).specialData.guestVideo = $event),
@@ -382,8 +365,8 @@ const _sfc_main = {
382
365
  uploadPath: "/specials",
383
366
  class: "aspect-1x1 w-8r o-hidden radius-extra"
384
367
  }, null, 8, ["photo", "onUpdate:photo"]),
385
- createElementVNode("div", _hoisted_18, [
386
- createElementVNode("div", _hoisted_19, [
368
+ createElementVNode("div", _hoisted_9, [
369
+ createElementVNode("div", _hoisted_10, [
387
370
  createVNode(Field, {
388
371
  field: item.name,
389
372
  "onUpdate:field": ($event) => item.name = $event,
@@ -397,7 +380,7 @@ const _sfc_main = {
397
380
  class: "w-100 mn-b-thin bg-white radius-small pd-medium"
398
381
  }, null, 8, ["field", "onUpdate:field"])
399
382
  ]),
400
- createElementVNode("div", _hoisted_20, [
383
+ createElementVNode("div", _hoisted_11, [
401
384
  createVNode(_sfc_main$5, {
402
385
  onClick: () => unref(event).specialData.guests.splice(index, 1),
403
386
  class: "i-medium"
@@ -409,8 +392,8 @@ const _sfc_main = {
409
392
  ]),
410
393
  _: 1
411
394
  }, 8, ["actions"]),
412
- _hoisted_21,
413
- _hoisted_22,
395
+ _cache[49] || (_cache[49] = createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1)),
396
+ _cache[50] || (_cache[50] = createElementVNode("h4", { class: "mn-b-thin" }, " Lineup Section ", -1)),
414
397
  createVNode(_sfc_main$4, {
415
398
  title: "Line Up",
416
399
  placeholder: "No line ups added yet",
@@ -438,7 +421,7 @@ const _sfc_main = {
438
421
  placeholder: "Time",
439
422
  class: "w-100 bg-light radius-small pd-medium"
440
423
  }, null, 8, ["field", "onUpdate:field"]),
441
- createElementVNode("div", _hoisted_23, [
424
+ createElementVNode("div", _hoisted_12, [
442
425
  createVNode(_sfc_main$5, {
443
426
  onClick: () => unref(event).specialData.lineup.splice(index, 1),
444
427
  class: "i-medium"
@@ -449,7 +432,7 @@ const _sfc_main = {
449
432
  ]),
450
433
  _: 1
451
434
  }, 8, ["actions"]),
452
- _hoisted_24,
435
+ _cache[51] || (_cache[51] = createElementVNode("h5", { class: "mn-b-thin" }, " Background in Lineup Section ", -1)),
453
436
  createVNode(Upload, {
454
437
  field: unref(event).specialData.lineupBackground,
455
438
  "onUpdate:field": _cache[24] || (_cache[24] = ($event) => unref(event).specialData.lineupBackground = $event),
@@ -459,9 +442,9 @@ const _sfc_main = {
459
442
  type: "file",
460
443
  class: "mn-b-thin w-100 bg-light pd-medium radius-small t-black"
461
444
  }, null, 8, ["field"]),
462
- _hoisted_25,
463
- _hoisted_26,
464
- _hoisted_27,
445
+ _cache[52] || (_cache[52] = createElementVNode("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1)),
446
+ _cache[53] || (_cache[53] = createElementVNode("h4", { class: "mn-b-thin" }, " Previous Party Section ", -1)),
447
+ _cache[54] || (_cache[54] = createElementVNode("h5", { class: "mn-b-thin" }, " Video in Previous Partys Section ", -1)),
465
448
  createVNode(Field, {
466
449
  field: unref(event).specialData.previousTitle,
467
450
  "onUpdate:field": _cache[26] || (_cache[26] = ($event) => unref(event).specialData.previousTitle = $event),
@@ -500,15 +483,15 @@ const _sfc_main = {
500
483
  class: "mn-b-thin w-100 bg-light pd-medium radius-small t-black"
501
484
  }, null, 8, ["field"])
502
485
  ])) : createCommentVNode("", true),
503
- _hoisted_28,
504
- unref(event) ? (openBlock(), createElementBlock("section", _hoisted_29, [
486
+ _cache[58] || (_cache[58] = createElementVNode("h3", { class: "mn-b-small" }, "Description", -1)),
487
+ unref(event) ? (openBlock(), createElementBlock("section", _hoisted_13, [
505
488
  createVNode(_sfc_main$6, {
506
489
  content: unref(event).content,
507
490
  onUpdate: _cache[32] || (_cache[32] = (update2) => unref(event).content = update2)
508
491
  }, null, 8, ["content"])
509
492
  ])) : createCommentVNode("", true),
510
- unref(event) ? (openBlock(), createElementBlock("section", _hoisted_30, [
511
- createElementVNode("div", _hoisted_31, [
493
+ unref(event) ? (openBlock(), createElementBlock("section", _hoisted_14, [
494
+ createElementVNode("div", _hoisted_15, [
512
495
  unref(route).params.url ? (openBlock(), createElementBlock("a", {
513
496
  key: 0,
514
497
  onClick: _cache[33] || (_cache[33] = ($event) => onDelete()),
@@ -538,7 +521,7 @@ const _sfc_main = {
538
521
  tags: unref(event).tags,
539
522
  class: "mn-b-small"
540
523
  }, null, 8, ["tags"]),
541
- _hoisted_32,
524
+ _cache[56] || (_cache[56] = createElementVNode("h5", { class: "mn-b-thin" }, "Add to public", -1)),
542
525
  selectedOrganization.value ? (openBlock(), createBlock(_sfc_main$9, {
543
526
  key: 0,
544
527
  photo: (_a = selectedOrganization.value.profile) == null ? void 0 : _a.photo,
@@ -547,7 +530,7 @@ const _sfc_main = {
547
530
  selectedOrganization.value = null;
548
531
  }),
549
532
  class: "h-4r w-100 bg-light pd-thin radius-medium mn-b-thin"
550
- }, null, 8, ["photo", "title"])) : (openBlock(), createElementBlock("section", _hoisted_33, [
533
+ }, null, 8, ["photo", "title"])) : (openBlock(), createElementBlock("section", _hoisted_16, [
551
534
  createVNode(_sfc_main$a, {
552
535
  showLoadMore: false,
553
536
  search: {
@@ -591,8 +574,8 @@ const _sfc_main = {
591
574
  _: 1
592
575
  }, 8, ["store", "options"])
593
576
  ])),
594
- selectedOrganization.value ? (openBlock(), createElementBlock("h5", _hoisted_34, "Options:")) : createCommentVNode("", true),
595
- selectedOrganization.value ? (openBlock(), createElementBlock("div", _hoisted_35, [
577
+ selectedOrganization.value ? (openBlock(), createElementBlock("h5", _hoisted_17, "Options:")) : createCommentVNode("", true),
578
+ selectedOrganization.value ? (openBlock(), createElementBlock("div", _hoisted_18, [
596
579
  createVNode(_sfc_main$2, {
597
580
  label: "Hide Author",
598
581
  radio: unref(event).creator.hidden,
@@ -606,9 +589,9 @@ const _sfc_main = {
606
589
  callback: _ctx.redirectTo,
607
590
  class: "w-100 bg-black t-white"
608
591
  }, {
609
- default: withCtx(() => [
592
+ default: withCtx(() => _cache[55] || (_cache[55] = [
610
593
  createTextVNode("Publish")
611
- ]),
594
+ ])),
612
595
  _: 1
613
596
  }, 8, ["callback"])
614
597
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"EditEvent.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EditEvent.vue"],"sourcesContent":["<template>\n <article v-if=\"event\" class=\"h-min-100 pd-thin\">\n \t<div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n \t<UploadImage \n v-model:photo=\"event.cover\"\n :uploadPath=\"'specials'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra\" \n />\n <h4>Upload Event Cover</h4>\n </div>\n\n \t<Field \n v-model:field=\"event.name\" \n placeholder=\"Event name\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"event.description\" \n type=\"textfield\" \n placeholder=\"Enter short description\" \n class=\"mn-b-semi w-100 bg-light pd-medium radius-small\" \n />\n\n <h3 class=\"mn-b-small\">Date</h3>\n <VueDatePicker v-model=\"date\" range class=\"z-index-3 radius-small mn-b-semi bg-light\" />\n\n <!-- <Calendar\n v-model:date=\"date\"\n :locale=\"$i18n.locale\"\n :allowRange=\"false\"\n class=\"radius-semi w-100 o-hidden bg-light\"\n /> -->\n\n <h3\n v-if=\"(auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-small\"\n >\n Tickets\n </h3>\n\n \n <h3\n v-if=\"!route.params.url && (auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-small\"\n >\n Special Details\n </h3>\n\n\n <Checkbox \n v-if=\"!route.params.url && (auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n :label=\"'Special'\"\n :radio=\"event.special\"\n @update:radio=\"updateEvent => event.special = !event.special\"\n class=\"mn-b-semi w-100 bg-black t-white pd-medium radius-small\"\n />\n\n <div \n v-if=\"event.special\"\n class=\"mn-b-semi\"\n >\n <h4\n class=\"mn-b-thin\"\n >\n Hero Section\n </h4>\n\n <Field \n v-model:field=\"event.specialData.subtitle\" \n placeholder=\"Event subtitle\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <EditImages \n :images=\"event.specialData.logos\"\n :uploadPath=\"'/specials'\" \n :text=\"{\n title: 'Drag & Drop Your Logos Here',\n subtitle: 'Files supported: JPG, PNG, GIF'\n }\"\n :options=\"{\n showTitle: true,\n showText: false\n }\"\n @update:images=\"(newImages) => event.specialData.logos = newImages\" \n class=\"mn-b-thin bg-light radius-small\"\n />\n <h5\n class=\"mn-b-thin\"\n >\n Video in Hero Section\n </h5>\n <p>Need to upload in webm format because of needs of optimization</p>\n <Upload \n v-model:field=\"event.specialData.video\"\n :placeholder=\"'Upload video'\" \n @file-change=\"(videoURL) => event.specialData.video = videoURL\"\n uploadPath=\"specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <h5\n class=\"mn-b-thin\"\n >\n Ticket\n </h5>\n\n <div \n class=\"mn-b-small gap-small cols-2-fit-content\" \n > \n <UploadImage \n v-model:photo=\"event.specialData.ticketImage\"\n :uploadPath=\"'/specials'\"\n class=\"aspect-1x1 w-4r o-hidden radius-extra\" \n />\n\n <div class=\"gap-thin flex-nowrap flex w-100\">\n <Field \n v-model:field=\"event.specialData.ticketPrice\" \n type=\"number\"\n placeholder=\"Ticket price in baht\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field\n v-model:field=\"event.specialData.ticketText\"\n placeholder=\"Promotion text for ticket in hero \"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n\n <Field\n v-model:field=\"event.specialData.ticketTextButton\"\n placeholder=\"Text on 'Buy Ticket' button \"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n\n \n </div>\n </div>\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Guest Section\n </h4>\n\n <Field \n v-model:field=\"event.specialData.guestTitle\" \n placeholder=\"Title for Main Guest section\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestDescription\" \n placeholder=\"Description for Main Guest section\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <div class=\"gap-thin cols-3\">\n \n <Field \n v-model:field=\"event.specialData.guestFacebook\" \n placeholder=\"Facebook of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestInstagram\" \n placeholder=\"Instagram of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestTwitter\" \n placeholder=\"Twitter of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n\n <Field \n v-model:field=\"event.specialData.guestTelegram\" \n placeholder=\"Telegram of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestSoundcloud\" \n placeholder=\"Link to Main Guest soundcloud track\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestSpotify\" \n placeholder=\"Link to Main guest spotify track\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestYoutube\" \n placeholder=\"Link to Main guest youtube video\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n </div>\n\n <h5\n class=\"mn-b-thin\"\n >\n Video in Guests Section\n </h5>\n\n <Upload \n v-model:field=\"event.specialData.guestVideo\"\n :placeholder=\"'Upload video'\" \n @file-change=\"(videoURL) => event.specialData.guestVideo = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <Block\n title=\"Guests\"\n placeholder=\"No guests added yet\"\n :actions=\"[{\n label: '+',\n function: () => event.specialData.guests.push({name: null, description: null, photo: null, main: false})\n }]\"\n class=\"cols-1 mn-b-thin t-black gap-thin\"\n >\n <div \n class=\"mn-b-small gap-small cols-2-fit-content\" \n v-for=\"(item, index) in event.specialData.guests\" \n :key=\"index\"\n > \n <UploadImage \n v-model:photo=\"item.photo\"\n :uploadPath=\"'/specials'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"gap-thin flex-nowrap flex w-100\">\n <div class=\"w-100\">\n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-100 mn-b-thin bg-white radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.description\"\n placeholder=\"Description\"\n class=\"w-100 mn-b-thin bg-white radius-small pd-medium\"\n />\n </div>\n <div class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n @click=\"() => event.specialData.guests.splice(index, 1)\" \n class=\"i-medium\"\n />\n </div>\n </div>\n </div>\n </Block>\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Lineup Section\n </h4>\n\n <Block\n title=\"Line Up\"\n placeholder=\"No line ups added yet\"\n :actions=\"[{\n label: '+',\n function: () => event.specialData.lineup.push({name: null, description: null, photo: null, main: false})\n }]\"\n class=\"cols-1 t-black gap-thin\"\n >\n <div \n class=\"mn-b-thin gap-small flex-nowrap flex\" \n v-for=\"(item, index) in event.specialData.lineup\" \n :key=\"index\"\n > \n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.time\"\n placeholder=\"Time\"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n <div class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n @click=\"() => event.specialData.lineup.splice(index, 1)\" \n class=\"i-medium\"\n />\n </div>\n </div>\n </Block>\n\n <h5\n class=\"mn-b-thin\"\n >\n Background in Lineup Section\n </h5>\n\n <Upload \n v-model:field=\"event.specialData.lineupBackground\"\n :placeholder=\"'Upload image'\" \n @file-change=\"(videoURL) => event.specialData.lineupBackground = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Previous Party Section\n </h4>\n\n <h5\n class=\"mn-b-thin\"\n >\n Video in Previous Partys Section\n </h5>\n\n <Field\n v-model:field=\"event.specialData.previousTitle\"\n placeholder=\"Title\"\n :value=\"event.specialData.previousDescription || 'Explore our exclusive party archive'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousDescription\"\n label=\"Description\"\n :value=\"event.specialData.previousDescription || 'Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousLinkText\"\n label=\"Button\"\n :value=\"event.specialData.previousLinkText || 'Check In Instagram'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousLink\"\n label=\"Link\"\n :value=\"event.specialData.previousLink || 'https://www.instagram.com/thecommune.phuket/'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n \n <Upload \n v-model:field=\"event.specialData.previousVideo\"\n :placeholder=\"'Upload image'\" \n @file-change=\"(videoURL) => event.specialData.previousVideo = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n </div>\n\n <h3 class=\"mn-b-small\">Description</h3>\n\t\t<section v-if=\"event\" class=\"pd-b-extra w-100 bg-light pd-big radius-big\">\n <Constructor \n :content=\"event.content\"\n @update=\"update => event.content = update\"\n />\n </section>\n\n <section v-if=\"event\" class=\"pd-thin pos-sticky pos-l-0 pos-b-0 w-100 \">\n <div class=\"pd-thin radius-big bg-main w-100 flex-nowrap flex\">\n <a v-if=\"route.params.url\" @click=\"onDelete()\" class=\"mn-r-auto bg-red t-white t-black button\">Delete</a>\n <a @click=\"onDrafts()\" class=\"mn-l-auto bg-white t-black button\">To Drafts</a>\n <a @click=\"openPublicationPopup()\" class=\"mn-l-thin bg-black t-white button\">Publish</a>\n </div>\n </section>\n\n <Popup \n title=\"Final Touches\" \n @close-popup=\"closePublicationPopup\" \n :isPopupOpen=\"isPublicationPopup\"\n class=\"w-m-33r t-left pd-big bg-white radius-big\"\n > \n <BlockTags\n @tags-changed=\"newTags => event.tags = newTags\"\n :tags=\"event.tags\"\n class=\"mn-b-small\"\n />\n\n <h5 class=\"mn-b-thin\">Add to public</h5>\n <Card\n v-if=\"selectedOrganization\"\n :photo=\"selectedOrganization.profile?.photo\"\n :title=\"selectedOrganization.profile?.name\"\n @click=\"() => { \n selectedOrganization = null\n }\"\n class=\"h-4r w-100 bg-light pd-thin radius-medium mn-b-thin\"\n />\n\n <section v-else class=\"mn-b-thin h-25r o-x-hidden o-y-scroll bg-light radius-big pd-small \">\n <Feed\n :showLoadMore=\"false\" \n :search=\"{\n placeholder: 'Search organization...',\n class: 'bg-white mn-b-thin'\n }\"\n :states=\"{\n empty: {\n title: 'No organizations Found',\n description: 'Currently, there are no such organizations available.'\n }\n }\"\n :store=\"{\n read: (options) => organizations.actions.read(options),\n state: null\n }\"\n :options=\"{\n user: auth.state.user._id,\n postable: auth.state.user._id\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <Card\n v-for=\"(organization, index) in items\" \n v-memo=\"[organization._id, organization.profile.name]\"\n :photo=\"organization.profile?.photo\"\n :title=\"organization.profile?.name\"\n @click=\"() => { \n selectedOrganization = organization\n }\"\n class=\"h-4r bg-white pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </section>\n\n \n <h5 v-if=\"selectedOrganization\" class=\"mn-b-thin\">Options:</h5>\n <div v-if=\"selectedOrganization\" class=\"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big\">\n <Checkbox \n :label=\"'Hide Author'\"\n :radio=\"event.creator.hidden\"\n @update:radio=\"updateEvent => event.creator.hidden = updateEvent\"\n name=\"prices\"\n class=\"w-100\"\n />\n </div>\n <Button :submit=\"onSubmit\" :callback=\"redirectTo\" class=\"w-100 bg-black t-white\">Publish</Button>\n </Popup>\n </article>\n</template>\n\n<script setup>\nimport Textarea from '@pf/src/modules/constructor/components/elements/Textarea.vue';\nimport Constructor from '@pf/src/modules/constructor/components/sections/Constructor.vue';\n\nimport VueDatePicker from '@vuepic/vue-datepicker';\nimport '@vuepic/vue-datepicker/dist/main.css'\n\n\n\nimport Calendar from '@pf/src/components/DatePicker/Calendar.vue'\n\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Popup from '@pf/src/components/Popup/Popup.vue';\nimport Field from '@pf/src/components/Field/Field.vue'\nimport BlockTags from '@pf/src/components/FieldTags/BlockTags.vue';\nimport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue';\nimport SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue';\nimport Upload from '@pf/src/components/Upload/Upload.vue';\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\nimport EditImages from '@pf/src/components/EditImages/EditImages.vue';\nimport Feed from '@pf/src/components/Feed/Feed.vue'\nimport Button from '@pf/src/components/Button/Button.vue'; \n\nimport Card from '@pf/src/modules/globals/views/components/blocks/Card.vue';\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n\nimport { ref, onMounted } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\n\nimport * as events from '@pf/src/modules/events/store/events.js';\nimport * as auth from '@pf/src/modules/auth/views/store/auth';\nimport * as organizations from '@pf/src/modules/organizations/store/organizations';\n\nconst route = useRoute();\nconst router = useRouter();\n\nlet event = ref(null);\nlet publics = ref(null);\n\nconst selectedTags = ref([]);\nconst selectedOrganization = ref(null);\n\n\nconst date = ref(new Date);\nconst customPosition = () => ({ top: 0, left: 0 });\n\n\nonMounted(async () =>{\n \n if (route.params.url) {\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data.pop();\n\n console.log(event.value)\n\n const startDate = event.value.date.start;\n const endDate = event.value.date.end;\n\n date.value = [startDate, endDate];\n\n } else {\n events.clean();\n event.value = events.state.current;\n\n const startDate = new Date();\n const endDate = new Date();\n date.value = [startDate, endDate];\n }\n\n if (!event.value.owner) event.value.owner = {\n target: auth.state.user._id,\n type: 'user'\n }\n\n if (!event.value.creator) event.value.creator = {\n target: auth.state.user._id,\n type: 'user',\n hidden: false\n }\n\n if (event.value.owner.type === 'organization') selectedOrganization.value = {\n _id: event.value.owner.target._id,\n name: event.value.owner.target.profile.name,\n photo: event.value.owner.target.profile.photo\n }\n})\n\nconst isPublicationPopup = ref(false)\n\nfunction openPublicationPopup() {\n isPublicationPopup.value = true;\n}\nfunction closePublicationPopup() {\n isPublicationPopup.value = false;\n}\n\nfunction onDrafts() {\n\n if (selectedTags.value.length > 0) selectedTags.value.map(tag => (tag.text))\n\n event.value.status = \"draft\"\n \n event.value.date = {\n start: date.value[0],\n end: date.value[1]\n }\n\n if (route.params.url) {\n events.update(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.error(error);\n })\n } else {\n events.create(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.error(error);\n })\n }\n}\n\nfunction onSubmit() {\n\n if (selectedOrganization.value) event.value.owner = {\n target: selectedOrganization.value._id,\n type: 'organization'\n }\n\n if (!selectedOrganization.value) event.value.creator.hidden = false\n if (!selectedOrganization.value) event.value.organization = event.value.creator\n\n event.value.status = \"published\"\n\n event.value.date = {\n start: date.value[0],\n end: date.value[1]\n }\n\n console.log(date.value)\n if (route.params.url) {\n console.log(event.value)\n events.update(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.log(error);\n });\n } else {\n events.create(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.log(error);\n });\n }\n}\n\nfunction onDelete() {\n if (confirm('Are you sure you want to delete this event?')) {\n events.remove(event.value._id)\n .then(response => {\n router.push({ name: 'User Events', params: { _id: event.value.creator.target._id } });\n })\n .catch(error => {\n console.error(error);\n })\n }\n}\n</script>\n\n<style lang=\"scss\">\n .dp__input {\n border: 0;\n padding: var(--medium);\n padding-left: 3rem;\n background: rgb(var(--light));\n border-radius: var(--small);\n }\n</style>"],"names":["events.read","auth.state","events.clean","events.state","events.update","events.create","events.remove"],"mappings":"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"}
1
+ {"version":3,"file":"EditEvent.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EditEvent.vue"],"sourcesContent":["<template>\n <article v-if=\"event\" class=\"h-min-100 pd-thin\">\n \t<div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n \t<UploadImage \n v-model:photo=\"event.cover\"\n :uploadPath=\"'specials'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra\" \n />\n <h4>Upload Event Cover</h4>\n </div>\n\n \t<Field \n v-model:field=\"event.name\" \n placeholder=\"Event name\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"event.description\" \n type=\"textfield\" \n placeholder=\"Enter short description\" \n class=\"mn-b-semi w-100 bg-light pd-medium radius-small\" \n />\n\n <h3 class=\"mn-b-small\">Date</h3>\n <VueDatePicker v-model=\"date\" range class=\"z-index-3 radius-small mn-b-semi bg-light\" />\n\n <!-- <Calendar\n v-model:date=\"date\"\n :locale=\"$i18n.locale\"\n :allowRange=\"false\"\n class=\"radius-semi w-100 o-hidden bg-light\"\n /> -->\n\n <h3\n v-if=\"(auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-small\"\n >\n Tickets\n </h3>\n\n \n <h3\n v-if=\"!route.params.url && (auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-small\"\n >\n Special Details\n </h3>\n\n\n <Checkbox \n v-if=\"!route.params.url && (auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n :label=\"'Special'\"\n :radio=\"event.special\"\n @update:radio=\"updateEvent => event.special = !event.special\"\n class=\"mn-b-semi w-100 bg-black t-white pd-medium radius-small\"\n />\n\n <div \n v-if=\"event.special\"\n class=\"mn-b-semi\"\n >\n <h4\n class=\"mn-b-thin\"\n >\n Hero Section\n </h4>\n\n <Field \n v-model:field=\"event.specialData.subtitle\" \n placeholder=\"Event subtitle\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <EditImages \n :images=\"event.specialData.logos\"\n :uploadPath=\"'/specials'\" \n :text=\"{\n title: 'Drag & Drop Your Logos Here',\n subtitle: 'Files supported: JPG, PNG, GIF'\n }\"\n :options=\"{\n showTitle: true,\n showText: false\n }\"\n @update:images=\"(newImages) => event.specialData.logos = newImages\" \n class=\"mn-b-thin bg-light radius-small\"\n />\n <h5\n class=\"mn-b-thin\"\n >\n Video in Hero Section\n </h5>\n <p>Need to upload in webm format because of needs of optimization</p>\n <Upload \n v-model:field=\"event.specialData.video\"\n :placeholder=\"'Upload video'\" \n @file-change=\"(videoURL) => event.specialData.video = videoURL\"\n uploadPath=\"specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <h5\n class=\"mn-b-thin\"\n >\n Ticket\n </h5>\n\n <div \n class=\"mn-b-small gap-small cols-2-fit-content\" \n > \n <UploadImage \n v-model:photo=\"event.specialData.ticketImage\"\n :uploadPath=\"'/specials'\"\n class=\"aspect-1x1 w-4r o-hidden radius-extra\" \n />\n\n <div class=\"gap-thin flex-nowrap flex w-100\">\n <Field \n v-model:field=\"event.specialData.ticketPrice\" \n type=\"number\"\n placeholder=\"Ticket price in baht\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field\n v-model:field=\"event.specialData.ticketText\"\n placeholder=\"Promotion text for ticket in hero \"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n\n <Field\n v-model:field=\"event.specialData.ticketTextButton\"\n placeholder=\"Text on 'Buy Ticket' button \"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n\n \n </div>\n </div>\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Guest Section\n </h4>\n\n <Field \n v-model:field=\"event.specialData.guestTitle\" \n placeholder=\"Title for Main Guest section\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestDescription\" \n placeholder=\"Description for Main Guest section\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <div class=\"gap-thin cols-3\">\n \n <Field \n v-model:field=\"event.specialData.guestFacebook\" \n placeholder=\"Facebook of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestInstagram\" \n placeholder=\"Instagram of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestTwitter\" \n placeholder=\"Twitter of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n\n <Field \n v-model:field=\"event.specialData.guestTelegram\" \n placeholder=\"Telegram of Main Guest\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestSoundcloud\" \n placeholder=\"Link to Main Guest soundcloud track\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestSpotify\" \n placeholder=\"Link to Main guest spotify track\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n\n <Field \n v-model:field=\"event.specialData.guestYoutube\" \n placeholder=\"Link to Main guest youtube video\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n />\n </div>\n\n <h5\n class=\"mn-b-thin\"\n >\n Video in Guests Section\n </h5>\n\n <Upload \n v-model:field=\"event.specialData.guestVideo\"\n :placeholder=\"'Upload video'\" \n @file-change=\"(videoURL) => event.specialData.guestVideo = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <Block\n title=\"Guests\"\n placeholder=\"No guests added yet\"\n :actions=\"[{\n label: '+',\n function: () => event.specialData.guests.push({name: null, description: null, photo: null, main: false})\n }]\"\n class=\"cols-1 mn-b-thin t-black gap-thin\"\n >\n <div \n class=\"mn-b-small gap-small cols-2-fit-content\" \n v-for=\"(item, index) in event.specialData.guests\" \n :key=\"index\"\n > \n <UploadImage \n v-model:photo=\"item.photo\"\n :uploadPath=\"'/specials'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"gap-thin flex-nowrap flex w-100\">\n <div class=\"w-100\">\n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-100 mn-b-thin bg-white radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.description\"\n placeholder=\"Description\"\n class=\"w-100 mn-b-thin bg-white radius-small pd-medium\"\n />\n </div>\n <div class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n @click=\"() => event.specialData.guests.splice(index, 1)\" \n class=\"i-medium\"\n />\n </div>\n </div>\n </div>\n </Block>\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Lineup Section\n </h4>\n\n <Block\n title=\"Line Up\"\n placeholder=\"No line ups added yet\"\n :actions=\"[{\n label: '+',\n function: () => event.specialData.lineup.push({name: null, description: null, photo: null, main: false})\n }]\"\n class=\"cols-1 t-black gap-thin\"\n >\n <div \n class=\"mn-b-thin gap-small flex-nowrap flex\" \n v-for=\"(item, index) in event.specialData.lineup\" \n :key=\"index\"\n > \n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.time\"\n placeholder=\"Time\"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n <div class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n @click=\"() => event.specialData.lineup.splice(index, 1)\" \n class=\"i-medium\"\n />\n </div>\n </div>\n </Block>\n\n <h5\n class=\"mn-b-thin\"\n >\n Background in Lineup Section\n </h5>\n\n <Upload \n v-model:field=\"event.specialData.lineupBackground\"\n :placeholder=\"'Upload image'\" \n @file-change=\"(videoURL) => event.specialData.lineupBackground = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n\n <hr class=\"bg-black-transp-10 mn-b-semi mn-t-semi d-block\">\n\n <h4\n class=\"mn-b-thin\"\n >\n Previous Party Section\n </h4>\n\n <h5\n class=\"mn-b-thin\"\n >\n Video in Previous Partys Section\n </h5>\n\n <Field\n v-model:field=\"event.specialData.previousTitle\"\n placeholder=\"Title\"\n :value=\"event.specialData.previousDescription || 'Explore our exclusive party archive'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousDescription\"\n label=\"Description\"\n :value=\"event.specialData.previousDescription || 'Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousLinkText\"\n label=\"Button\"\n :value=\"event.specialData.previousLinkText || 'Check In Instagram'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"event.specialData.previousLink\"\n label=\"Link\"\n :value=\"event.specialData.previousLink || 'https://www.instagram.com/thecommune.phuket/'\"\n class=\"w-100 bg-light radius-small pd-medium\"\n />\n \n <Upload \n v-model:field=\"event.specialData.previousVideo\"\n :placeholder=\"'Upload image'\" \n @file-change=\"(videoURL) => event.specialData.previousVideo = videoURL\"\n uploadPath=\"/specials\"\n type=\"file\" \n class=\"\n mn-b-thin w-100 bg-light pd-medium radius-small t-black\n \"\n />\n </div>\n\n <h3 class=\"mn-b-small\">Description</h3>\n\t\t<section v-if=\"event\" class=\"pd-b-extra w-100 bg-light pd-big radius-big\">\n <Constructor \n :content=\"event.content\"\n @update=\"update => event.content = update\"\n />\n </section>\n\n <section v-if=\"event\" class=\"pd-thin pos-sticky pos-l-0 pos-b-0 w-100 \">\n <div class=\"pd-thin radius-big bg-main w-100 flex-nowrap flex\">\n <a v-if=\"route.params.url\" @click=\"onDelete()\" class=\"mn-r-auto bg-red t-white t-black button\">Delete</a>\n <a @click=\"onDrafts()\" class=\"mn-l-auto bg-white t-black button\">To Drafts</a>\n <a @click=\"openPublicationPopup()\" class=\"mn-l-thin bg-black t-white button\">Publish</a>\n </div>\n </section>\n\n <Popup \n title=\"Final Touches\" \n @close-popup=\"closePublicationPopup\" \n :isPopupOpen=\"isPublicationPopup\"\n class=\"w-m-33r t-left pd-big bg-white radius-big\"\n > \n <BlockTags\n @tags-changed=\"newTags => event.tags = newTags\"\n :tags=\"event.tags\"\n class=\"mn-b-small\"\n />\n\n <h5 class=\"mn-b-thin\">Add to public</h5>\n <Card\n v-if=\"selectedOrganization\"\n :photo=\"selectedOrganization.profile?.photo\"\n :title=\"selectedOrganization.profile?.name\"\n @click=\"() => { \n selectedOrganization = null\n }\"\n class=\"h-4r w-100 bg-light pd-thin radius-medium mn-b-thin\"\n />\n\n <section v-else class=\"mn-b-thin h-25r o-x-hidden o-y-scroll bg-light radius-big pd-small \">\n <Feed\n :showLoadMore=\"false\" \n :search=\"{\n placeholder: 'Search organization...',\n class: 'bg-white mn-b-thin'\n }\"\n :states=\"{\n empty: {\n title: 'No organizations Found',\n description: 'Currently, there are no such organizations available.'\n }\n }\"\n :store=\"{\n read: (options) => organizations.actions.read(options),\n state: null\n }\"\n :options=\"{\n user: auth.state.user._id,\n postable: auth.state.user._id\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <Card\n v-for=\"(organization, index) in items\" \n v-memo=\"[organization._id, organization.profile.name]\"\n :photo=\"organization.profile?.photo\"\n :title=\"organization.profile?.name\"\n @click=\"() => { \n selectedOrganization = organization\n }\"\n class=\"h-4r bg-white pd-thin radius-medium w-100 mn-b-thin\"\n />\n </Feed>\n </section>\n\n \n <h5 v-if=\"selectedOrganization\" class=\"mn-b-thin\">Options:</h5>\n <div v-if=\"selectedOrganization\" class=\"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big\">\n <Checkbox \n :label=\"'Hide Author'\"\n :radio=\"event.creator.hidden\"\n @update:radio=\"updateEvent => event.creator.hidden = updateEvent\"\n name=\"prices\"\n class=\"w-100\"\n />\n </div>\n <Button :submit=\"onSubmit\" :callback=\"redirectTo\" class=\"w-100 bg-black t-white\">Publish</Button>\n </Popup>\n </article>\n</template>\n\n<script setup>\nimport Textarea from '@pf/src/modules/constructor/components/elements/Textarea.vue';\nimport Constructor from '@pf/src/modules/constructor/components/sections/Constructor.vue';\n\nimport VueDatePicker from '@vuepic/vue-datepicker';\nimport '@vuepic/vue-datepicker/dist/main.css'\n\n\n\nimport Calendar from '@pf/src/components/DatePicker/Calendar.vue'\n\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Popup from '@pf/src/components/Popup/Popup.vue';\nimport Field from '@pf/src/components/Field/Field.vue'\nimport BlockTags from '@pf/src/components/FieldTags/BlockTags.vue';\nimport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue';\nimport SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue';\nimport Upload from '@pf/src/components/Upload/Upload.vue';\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\nimport EditImages from '@pf/src/components/EditImages/EditImages.vue';\nimport Feed from '@pf/src/components/Feed/Feed.vue'\nimport Button from '@pf/src/components/Button/Button.vue'; \n\nimport Card from '@pf/src/modules/globals/views/components/blocks/Card.vue';\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\n\nimport { ref, onMounted } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\n\nimport * as events from '@pf/src/modules/events/store/events.js';\nimport * as auth from '@pf/src/modules/auth/views/store/auth';\nimport * as organizations from '@pf/src/modules/organizations/store/organizations';\n\nconst route = useRoute();\nconst router = useRouter();\n\nlet event = ref(null);\nlet publics = ref(null);\n\nconst selectedTags = ref([]);\nconst selectedOrganization = ref(null);\n\n\nconst date = ref(new Date);\nconst customPosition = () => ({ top: 0, left: 0 });\n\n\nonMounted(async () =>{\n \n if (route.params.url) {\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data.pop();\n\n console.log(event.value)\n\n const startDate = event.value.date.start;\n const endDate = event.value.date.end;\n\n date.value = [startDate, endDate];\n\n } else {\n events.clean();\n event.value = events.state.current;\n\n const startDate = new Date();\n const endDate = new Date();\n date.value = [startDate, endDate];\n }\n\n if (!event.value.owner) event.value.owner = {\n target: auth.state.user._id,\n type: 'user'\n }\n\n if (!event.value.creator) event.value.creator = {\n target: auth.state.user._id,\n type: 'user',\n hidden: false\n }\n\n if (event.value.owner.type === 'organization') selectedOrganization.value = {\n _id: event.value.owner.target._id,\n name: event.value.owner.target.profile.name,\n photo: event.value.owner.target.profile.photo\n }\n})\n\nconst isPublicationPopup = ref(false)\n\nfunction openPublicationPopup() {\n isPublicationPopup.value = true;\n}\nfunction closePublicationPopup() {\n isPublicationPopup.value = false;\n}\n\nfunction onDrafts() {\n\n if (selectedTags.value.length > 0) selectedTags.value.map(tag => (tag.text))\n\n event.value.status = \"draft\"\n \n event.value.date = {\n start: date.value[0],\n end: date.value[1]\n }\n\n if (route.params.url) {\n events.update(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.error(error);\n })\n } else {\n events.create(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.error(error);\n })\n }\n}\n\nfunction onSubmit() {\n\n if (selectedOrganization.value) event.value.owner = {\n target: selectedOrganization.value._id,\n type: 'organization'\n }\n\n if (!selectedOrganization.value) event.value.creator.hidden = false\n if (!selectedOrganization.value) event.value.organization = event.value.creator\n\n event.value.status = \"published\"\n\n event.value.date = {\n start: date.value[0],\n end: date.value[1]\n }\n\n console.log(date.value)\n if (route.params.url) {\n console.log(event.value)\n events.update(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.log(error);\n });\n } else {\n events.create(event.value)\n .then(response => {\n router.push({ name: 'Event', params: { url: response.url } });\n })\n .catch(error => {\n console.log(error);\n });\n }\n}\n\nfunction onDelete() {\n if (confirm('Are you sure you want to delete this event?')) {\n events.remove(event.value._id)\n .then(response => {\n router.push({ name: 'User Events', params: { _id: event.value.creator.target._id } });\n })\n .catch(error => {\n console.error(error);\n })\n }\n}\n</script>\n\n<style lang=\"scss\">\n .dp__input {\n border: 0;\n padding: var(--medium);\n padding-left: 3rem;\n background: rgb(var(--light));\n border-radius: var(--small);\n }\n</style>"],"names":["events.read","auth.state","events.clean","events.state","events.update","events.create","events.remove"],"mappings":"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"}
@@ -3,9 +3,9 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const Feed = require("../../../../components/Feed/Feed.vue.cjs");
5
5
  const Block = require("../../../../components/Block/Block.vue.cjs");
6
- const Popup = require("../../../../components/Popup/Popup.vue.cjs");
7
- const Field = require("../../../../components/Field/Field.vue2.cjs");
8
- const Button = require("../../../../components/Button/Button.vue2.cjs");
6
+ const Popup = require("../../../../components/Popup/Popup.vue2.cjs");
7
+ const Field = require("../../../../components/Field/Field.vue.cjs");
8
+ const Button = require("../../../../components/Button/Button.vue.cjs");
9
9
  const ButtonCheck = require("../elements/ButtonCheck.vue.cjs");
10
10
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
11
11
  const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
@@ -20,15 +20,14 @@ const _hoisted_1 = {
20
20
  class: "h-100 pd-thin"
21
21
  };
22
22
  const _hoisted_2 = { class: "mn-b-medium flex-v-center flex-nowrap flex" };
23
- const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("h2", { class: "mn-r-medium" }, "Tickets", -1);
24
- const _hoisted_4 = ["onClick"];
25
- const _hoisted_5 = { class: "radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin" };
26
- const _hoisted_6 = ["href"];
27
- const _hoisted_7 = ["src"];
28
- const _hoisted_8 = { class: "mn-r-auto" };
29
- const _hoisted_9 = { class: "h4" };
30
- const _hoisted_10 = { class: "h5 t-transp mn-b-thin" };
31
- const _hoisted_11 = { class: "pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase" };
23
+ const _hoisted_3 = ["onClick"];
24
+ const _hoisted_4 = { class: "radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin" };
25
+ const _hoisted_5 = ["href"];
26
+ const _hoisted_6 = ["src"];
27
+ const _hoisted_7 = { class: "mn-r-auto" };
28
+ const _hoisted_8 = { class: "h4" };
29
+ const _hoisted_9 = { class: "h5 t-transp mn-b-thin" };
30
+ const _hoisted_10 = { class: "pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase" };
32
31
  const _sfc_main = {
33
32
  __name: "EditEventTickets",
34
33
  setup(__props) {
@@ -84,7 +83,7 @@ const _sfc_main = {
84
83
  return (_ctx, _cache) => {
85
84
  return vue.unref(event) ? (vue.openBlock(), vue.createElementBlock("article", _hoisted_1, [
86
85
  vue.createElementVNode("header", _hoisted_2, [
87
- _hoisted_3,
86
+ _cache[3] || (_cache[3] = vue.createElementVNode("h2", { class: "mn-r-medium" }, "Tickets", -1)),
88
87
  vue.createElementVNode("button", {
89
88
  onClick: _cache[0] || (_cache[0] = ($event) => openTicketsPopup()),
90
89
  class: "radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second"
@@ -149,7 +148,7 @@ const _sfc_main = {
149
148
  class: "i-medium",
150
149
  fill: "rgb(var(--white)"
151
150
  })
152
- ], 8, _hoisted_4))
151
+ ], 8, _hoisted_3))
153
152
  ]);
154
153
  }), 128)),
155
154
  vue.createVNode(Button.default, {
@@ -157,9 +156,9 @@ const _sfc_main = {
157
156
  callback: closeTicketsPopup,
158
157
  class: "w-100 bg-black t-white"
159
158
  }, {
160
- default: vue.withCtx(() => [
159
+ default: vue.withCtx(() => _cache[4] || (_cache[4] = [
161
160
  vue.createTextVNode(" Create Tickets ")
162
- ]),
161
+ ])),
163
162
  _: 1
164
163
  })
165
164
  ]),
@@ -190,7 +189,7 @@ const _sfc_main = {
190
189
  }) => [
191
190
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items, (ticket, index) => {
192
191
  var _a2, _b;
193
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
192
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
194
193
  vue.createElementVNode("a", {
195
194
  href: ticket.image,
196
195
  target: "_blank"
@@ -199,12 +198,12 @@ const _sfc_main = {
199
198
  loading: "lazy",
200
199
  src: ticket.qrcode,
201
200
  class: "radius-small h-5r w-5r"
202
- }, null, 8, _hoisted_7)
203
- ], 8, _hoisted_6),
204
- vue.createElementVNode("div", _hoisted_8, [
205
- vue.createElementVNode("p", _hoisted_9, vue.toDisplayString(((_a2 = ticket.client_refactor) == null ? void 0 : _a2.name) || "No name") + ", " + vue.toDisplayString(ticket.role), 1),
206
- vue.createElementVNode("p", _hoisted_10, vue.toDisplayString(((_b = ticket.client_refactor) == null ? void 0 : _b.email) || "No email"), 1),
207
- vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(ticket.status), 1)
201
+ }, null, 8, _hoisted_6)
202
+ ], 8, _hoisted_5),
203
+ vue.createElementVNode("div", _hoisted_7, [
204
+ vue.createElementVNode("p", _hoisted_8, vue.toDisplayString(((_a2 = ticket.client_refactor) == null ? void 0 : _a2.name) || "No name") + ", " + vue.toDisplayString(ticket.role), 1),
205
+ vue.createElementVNode("p", _hoisted_9, vue.toDisplayString(((_b = ticket.client_refactor) == null ? void 0 : _b.email) || "No email"), 1),
206
+ vue.createElementVNode("span", _hoisted_10, vue.toDisplayString(ticket.status), 1)
208
207
  ]),
209
208
  ticket.status !== "deactivated" ? (vue.openBlock(), vue.createBlock(Button.default, {
210
209
  key: 0,
@@ -212,9 +211,9 @@ const _sfc_main = {
212
211
  callback: _ctx.redirectTo,
213
212
  class: "w-min h-min pd-small bg-black t-white"
214
213
  }, {
215
- default: vue.withCtx(() => [
214
+ default: vue.withCtx(() => _cache[5] || (_cache[5] = [
216
215
  vue.createTextVNode(" Deactivate ")
217
- ]),
216
+ ])),
218
217
  _: 2
219
218
  }, 1032, ["submit", "callback"])) : vue.createCommentVNode("", true),
220
219
  ticket.status === "deactivated" || ticket.status === "used" ? (vue.openBlock(), vue.createBlock(Button.default, {
@@ -223,9 +222,9 @@ const _sfc_main = {
223
222
  callback: _ctx.redirectTo,
224
223
  class: "w-min h-min pd-small bg-green t-white"
225
224
  }, {
226
- default: vue.withCtx(() => [
225
+ default: vue.withCtx(() => _cache[6] || (_cache[6] = [
227
226
  vue.createTextVNode(" Activate ")
228
- ]),
227
+ ])),
229
228
  _: 2
230
229
  }, 1032, ["submit", "callback"])) : vue.createCommentVNode("", true)
231
230
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"EditEventTickets.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/EditEventTickets.vue"],"sourcesContent":["<template>\n <article v-if=\"event\" class=\"h-100 pd-thin\">\n <header \n class=\"mn-b-medium flex-v-center flex-nowrap flex\"\n >\n <h2 class=\"mn-r-medium\">Tickets</h2>\n <button \n @click=\"openTicketsPopup()\" \n class=\"radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second\">\n Add Tickets\n </button>\n <ButtonCheck @qrcodecheck=\"fetchTickets = !fetchTickets \" class=\"w-100 pd-medium mn-auto\" />\n </header>\n \n <Popup \n title=\"Добавить участника\" \n @close-popup=\"closeTicketsPopup\" \n :isPopupOpen=\"isOpenTicketsPopup\"\n class=\"w-max-40r\"\n >\n <Block\n title=\"Add tickets\"\n placeholder=\"No parameters added yet\"\n class=\"cols-1 mn-b-thin gap-thin\"\n >\n <div \n class=\"gap-thin flex-nowrap flex\" \n v-for=\"(item, index) in newTickets\" \n :key=\"index\"\n > \n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-50 bg-white radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.email\"\n placeholder=\"Email\"\n class=\"w-100 bg-white radius-small pd-medium\"\n />\n <Field\n v-model:field=\"item.quantity\"\n placeholder=\"Quantity\"\n type=\"number\"\n class=\"w-25 bg-white radius-small pd-medium\"\n />\n \n <div v-if=\"index < 1\" @click=\"() => newTickets.push({name: '', value: '', target: event._id, type: 'event', quantity: 1})\" class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\">\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n <div v-else @click=\"() => newTickets.splice(index, 1)\" class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </div>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"closeTicketsPopup\" \n class=\"w-100 bg-black t-white\"\n >\n Create Tickets\n </Button>\n </Block>\n </Popup>\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Tickets Found',\n description: 'Currently, there are no tickets.'\n }\n }\"\n :store=\"{\n read: (options) => tickets.actions.read(options),\n state: null\n }\"\n :options=\"{\n target: event._id\n }\"\n :external=\"fetchTickets\"\n v-slot=\"{ \n items \n }\"\n >\n <div\n v-for=\"(ticket, index) in items\" \n class=\"radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin\"\n >\n <a :href=\"ticket.image\" target=\"_blank\"><img loading=\"lazy\" :src=\"ticket.qrcode\" class=\"radius-small h-5r w-5r\"></a>\n\n <div class=\"mn-r-auto \">\n <p class=\"h4\">\n {{ticket.client_refactor?.name || 'No name'}}, {{ticket.role}}\n </p>\n <p class=\"h5 t-transp mn-b-thin\">\n {{ticket.client_refactor?.email || 'No email'}}\n </p>\n\n <span class=\"pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase\">\n {{ticket.status}}\n </span>\n </div>\n\n <Button \n v-if=\"ticket.status !== 'deactivated'\"\n :submit=\"() => changeStatus(ticket, 'deactivated')\" \n :callback=\"redirectTo\" \n class=\"w-min h-min pd-small bg-black t-white\"\n >\n Deactivate\n </Button>\n\n <Button \n v-if=\"ticket.status === 'deactivated' || ticket.status === 'used' \"\n :submit=\"() => changeStatus(ticket, 'unused')\" \n :callback=\"redirectTo\" \n class=\"w-min h-min pd-small bg-green t-white\"\n >\n Activate\n </Button>\n \n </div>\n </Feed>\n \n </article>\n</template>\n\n<script setup>\nimport Feed from '@pf/src/components/Feed/Feed.vue';\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\nimport Field from '@pf/src/components/Field/Field.vue'\nimport Button from '@pf/src/components/Button/Button.vue'; \n\nimport ButtonCheck from '@pf/src/modules/events/components/elements/ButtonCheck.vue'\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\nimport IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n\nimport { ref, onMounted } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\n\nimport * as events from '@pf/src/modules/events/store/events.js';\nimport * as auth from '@pf/src/modules/auth/views/store/auth';\nimport * as organizations from '@pf/src/modules/organizations/store/organizations';\n\nimport * as tickets from '@pf/src/modules/events/store/tickets';\n\nconst route = useRoute();\nconst router = useRouter();\n\nlet event = ref(null);\n\nconst newTickets = ref([{\n name: '',\n email: '',\n target: event.value?._id, \n type: 'event',\n quantity: 1,\n}])\n\nconst isOpenTicketsPopup = ref(false);\n\nfunction openTicketsPopup(department) {\n isOpenTicketsPopup.value = true;\n \n newTickets.value = [{\n name: '',\n email: '',\n target: event.value?._id, \n type: 'event',\n quantity: 1,\n }]\n}\n\nfunction closeTicketsPopup() {\n isOpenTicketsPopup.value = false;\n}\n\nconst fetchTickets = ref(false)\n\n\nonMounted(async () =>{\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data.pop();\n})\n\nasync function onSubmit() {\n try {\n const response = await tickets.actions.create(newTickets.value);\n fetchTickets.value = !fetchTickets.value\n } catch (error) {\n console.log(error);\n }\n}\n\nasync function changeStatus(ticket, status) {\n if (confirm('Are you sure you want to deactivate this event?')) {\n try {\n const response = await tickets.actions.update({ ...ticket, status: status});\n fetchTickets.value = !fetchTickets.value\n } catch (error) {\n console.error(error);\n }\n }\n}\n\n</script>\n\n<style lang=\"scss\">\n .dp__input {\n border: 0;\n padding: var(--medium);\n padding-left: 3rem;\n background: rgb(var(--grey))\n }\n</style>"],"names":["useRoute","useRouter","ref","_a","onMounted","events.read","auth.state","tickets.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2JA,UAAM,QAAQA,UAAQ,SAAA;AACPC,cAAAA,UAAY;AAE3B,QAAI,QAAQC,IAAAA,IAAI,IAAI;AAEpB,UAAM,aAAaA,IAAG,IAAC,CAAC;AAAA,MACtB,MAAM;AAAA,MACN,OAAO;AAAA,MACP,SAAQ,WAAM,UAAN,mBAAa;AAAA,MACrB,MAAM;AAAA,MACN,UAAU;AAAA,IACZ,CAAC,CAAC;AAEF,UAAM,qBAAqBA,IAAAA,IAAI,KAAK;AAEpC,aAAS,iBAAiB,YAAY;;AACpC,yBAAmB,QAAQ;AAE3B,iBAAW,QAAQ,CAAC;AAAA,QAClB,MAAM;AAAA,QACN,OAAO;AAAA,QACP,SAAQC,MAAA,MAAM,UAAN,gBAAAA,IAAa;AAAA,QACrB,MAAM;AAAA,QACN,UAAU;AAAA,MACd,CAAG;AAAA,IACH;AAEA,aAAS,oBAAoB;AAC3B,yBAAmB,QAAQ;AAAA,IAC7B;AAEA,UAAM,eAAeD,IAAG,IAAC,KAAK;AAG9BE,QAAAA,UAAU,YAAW;AACnB,YAAM,OAAO,MAAMC,OAAAA,KAAY,EAAE,MAAMC,KAAAA,MAAW,KAAK,KAAK,KAAK,MAAM,OAAO,IAAK,CAAA;AAEnF,YAAM,QAAQ,KAAK;IACrB,CAAC;AAED,mBAAe,WAAW;AACxB,UAAI;AACF,cAAM,WAAW,MAAMC,QAAe,QAAC,OAAO,WAAW,KAAK;AAC9D,qBAAa,QAAQ,CAAC,aAAa;AAAA,MACpC,SAAQ,OAAO;AACd,gBAAQ,IAAI,KAAK;AAAA,MAClB;AAAA,IACH;AAEA,mBAAe,aAAa,QAAQ,QAAQ;AAC1C,UAAI,QAAQ,iDAAiD,GAAG;AAC9D,YAAI;AACF,gBAAM,WAAW,MAAMA,QAAAA,QAAgB,OAAO,EAAE,GAAG,QAAQ,OAAc,CAAC;AAC1E,uBAAa,QAAQ,CAAC,aAAa;AAAA,QACpC,SAAQ,OAAO;AACd,kBAAQ,MAAM,KAAK;AAAA,QACpB;AAAA,MACF;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"EditEventTickets.vue.cjs","sources":["../../../../../../../src/modules/events/components/pages/EditEventTickets.vue"],"sourcesContent":["<template>\n <article v-if=\"event\" class=\"h-100 pd-thin\">\n <header \n class=\"mn-b-medium flex-v-center flex-nowrap flex\"\n >\n <h2 class=\"mn-r-medium\">Tickets</h2>\n <button \n @click=\"openTicketsPopup()\" \n class=\"radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second\">\n Add Tickets\n </button>\n <ButtonCheck @qrcodecheck=\"fetchTickets = !fetchTickets \" class=\"w-100 pd-medium mn-auto\" />\n </header>\n \n <Popup \n title=\"Добавить участника\" \n @close-popup=\"closeTicketsPopup\" \n :isPopupOpen=\"isOpenTicketsPopup\"\n class=\"w-max-40r\"\n >\n <Block\n title=\"Add tickets\"\n placeholder=\"No parameters added yet\"\n class=\"cols-1 mn-b-thin gap-thin\"\n >\n <div \n class=\"gap-thin flex-nowrap flex\" \n v-for=\"(item, index) in newTickets\" \n :key=\"index\"\n > \n <Field\n v-model:field=\"item.name\"\n placeholder=\"Name\"\n class=\"w-50 bg-white radius-small pd-medium\"\n /> \n <Field\n v-model:field=\"item.email\"\n placeholder=\"Email\"\n class=\"w-100 bg-white radius-small pd-medium\"\n />\n <Field\n v-model:field=\"item.quantity\"\n placeholder=\"Quantity\"\n type=\"number\"\n class=\"w-25 bg-white radius-small pd-medium\"\n />\n \n <div v-if=\"index < 1\" @click=\"() => newTickets.push({name: '', value: '', target: event._id, type: 'event', quantity: 1})\" class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green\">\n <IconAdd \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n <div v-else @click=\"() => newTickets.splice(index, 1)\" class=\"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red\">\n <IconDelete \n class=\"i-medium\"\n :fill=\"'rgb(var(--white)'\"\n />\n </div>\n </div>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"closeTicketsPopup\" \n class=\"w-100 bg-black t-white\"\n >\n Create Tickets\n </Button>\n </Block>\n </Popup>\n\n <Feed\n :search=\"true\"\n :states=\"{\n empty: {\n title: 'No Tickets Found',\n description: 'Currently, there are no tickets.'\n }\n }\"\n :store=\"{\n read: (options) => tickets.actions.read(options),\n state: null\n }\"\n :options=\"{\n target: event._id\n }\"\n :external=\"fetchTickets\"\n v-slot=\"{ \n items \n }\"\n >\n <div\n v-for=\"(ticket, index) in items\" \n class=\"radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin\"\n >\n <a :href=\"ticket.image\" target=\"_blank\"><img loading=\"lazy\" :src=\"ticket.qrcode\" class=\"radius-small h-5r w-5r\"></a>\n\n <div class=\"mn-r-auto \">\n <p class=\"h4\">\n {{ticket.client_refactor?.name || 'No name'}}, {{ticket.role}}\n </p>\n <p class=\"h5 t-transp mn-b-thin\">\n {{ticket.client_refactor?.email || 'No email'}}\n </p>\n\n <span class=\"pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase\">\n {{ticket.status}}\n </span>\n </div>\n\n <Button \n v-if=\"ticket.status !== 'deactivated'\"\n :submit=\"() => changeStatus(ticket, 'deactivated')\" \n :callback=\"redirectTo\" \n class=\"w-min h-min pd-small bg-black t-white\"\n >\n Deactivate\n </Button>\n\n <Button \n v-if=\"ticket.status === 'deactivated' || ticket.status === 'used' \"\n :submit=\"() => changeStatus(ticket, 'unused')\" \n :callback=\"redirectTo\" \n class=\"w-min h-min pd-small bg-green t-white\"\n >\n Activate\n </Button>\n \n </div>\n </Feed>\n \n </article>\n</template>\n\n<script setup>\nimport Feed from '@pf/src/components/Feed/Feed.vue';\nimport Block from '@pf/src/components/Block/Block.vue';\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\nimport Field from '@pf/src/components/Field/Field.vue'\nimport Button from '@pf/src/components/Button/Button.vue'; \n\nimport ButtonCheck from '@pf/src/modules/events/components/elements/ButtonCheck.vue'\n\nimport IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';\nimport IconAdd from '@pf/src/modules/icons/navigation/IconAdd.vue';\n\nimport { ref, onMounted } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\n\nimport * as events from '@pf/src/modules/events/store/events.js';\nimport * as auth from '@pf/src/modules/auth/views/store/auth';\nimport * as organizations from '@pf/src/modules/organizations/store/organizations';\n\nimport * as tickets from '@pf/src/modules/events/store/tickets';\n\nconst route = useRoute();\nconst router = useRouter();\n\nlet event = ref(null);\n\nconst newTickets = ref([{\n name: '',\n email: '',\n target: event.value?._id, \n type: 'event',\n quantity: 1,\n}])\n\nconst isOpenTicketsPopup = ref(false);\n\nfunction openTicketsPopup(department) {\n isOpenTicketsPopup.value = true;\n \n newTickets.value = [{\n name: '',\n email: '',\n target: event.value?._id, \n type: 'event',\n quantity: 1,\n }]\n}\n\nfunction closeTicketsPopup() {\n isOpenTicketsPopup.value = false;\n}\n\nconst fetchTickets = ref(false)\n\n\nonMounted(async () =>{\n const data = await events.read({ user: auth.state.user._id, url: route.params.url });\n\n event.value = data.pop();\n})\n\nasync function onSubmit() {\n try {\n const response = await tickets.actions.create(newTickets.value);\n fetchTickets.value = !fetchTickets.value\n } catch (error) {\n console.log(error);\n }\n}\n\nasync function changeStatus(ticket, status) {\n if (confirm('Are you sure you want to deactivate this event?')) {\n try {\n const response = await tickets.actions.update({ ...ticket, status: status});\n fetchTickets.value = !fetchTickets.value\n } catch (error) {\n console.error(error);\n }\n }\n}\n\n</script>\n\n<style lang=\"scss\">\n .dp__input {\n border: 0;\n padding: var(--medium);\n padding-left: 3rem;\n background: rgb(var(--grey))\n }\n</style>"],"names":["useRoute","useRouter","ref","_a","onMounted","events.read","auth.state","tickets.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2JA,UAAM,QAAQA,UAAQ,SAAA;AACPC,cAAAA,UAAY;AAE3B,QAAI,QAAQC,IAAAA,IAAI,IAAI;AAEpB,UAAM,aAAaA,IAAG,IAAC,CAAC;AAAA,MACtB,MAAM;AAAA,MACN,OAAO;AAAA,MACP,SAAQ,WAAM,UAAN,mBAAa;AAAA,MACrB,MAAM;AAAA,MACN,UAAU;AAAA,IACZ,CAAC,CAAC;AAEF,UAAM,qBAAqBA,IAAAA,IAAI,KAAK;AAEpC,aAAS,iBAAiB,YAAY;;AACpC,yBAAmB,QAAQ;AAE3B,iBAAW,QAAQ,CAAC;AAAA,QAClB,MAAM;AAAA,QACN,OAAO;AAAA,QACP,SAAQC,MAAA,MAAM,UAAN,gBAAAA,IAAa;AAAA,QACrB,MAAM;AAAA,QACN,UAAU;AAAA,MACd,CAAG;AAAA,IACH;AAEA,aAAS,oBAAoB;AAC3B,yBAAmB,QAAQ;AAAA,IAC7B;AAEA,UAAM,eAAeD,IAAG,IAAC,KAAK;AAG9BE,QAAAA,UAAU,YAAW;AACnB,YAAM,OAAO,MAAMC,OAAAA,KAAY,EAAE,MAAMC,KAAAA,MAAW,KAAK,KAAK,KAAK,MAAM,OAAO,IAAK,CAAA;AAEnF,YAAM,QAAQ,KAAK;IACrB,CAAC;AAED,mBAAe,WAAW;AACxB,UAAI;AACF,cAAM,WAAW,MAAMC,QAAe,QAAC,OAAO,WAAW,KAAK;AAC9D,qBAAa,QAAQ,CAAC,aAAa;AAAA,MACpC,SAAQ,OAAO;AACd,gBAAQ,IAAI,KAAK;AAAA,MAClB;AAAA,IACH;AAEA,mBAAe,aAAa,QAAQ,QAAQ;AAC1C,UAAI,QAAQ,iDAAiD,GAAG;AAC9D,YAAI;AACF,gBAAM,WAAW,MAAMA,QAAAA,QAAgB,OAAO,EAAE,GAAG,QAAQ,OAAc,CAAC;AAC1E,uBAAa,QAAQ,CAAC,aAAa;AAAA,QACpC,SAAQ,OAAO;AACd,kBAAQ,MAAM,KAAK;AAAA,QACpB;AAAA,MACF;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}