@ozdao/prometheus-framework 0.2.242 → 0.2.243

Sign up to get free protection for your applications and to get access to all the features.
Files changed (597) 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/Feed/Feed.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/components/Feed/Feed.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 +2 -3
  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 +2 -3
  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/EnterPassword.vue.cjs +12 -13
  88. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
  89. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +12 -13
  90. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
  91. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +8 -11
  92. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
  93. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +8 -11
  94. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
  95. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  97. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +23 -25
  98. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
  99. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +23 -25
  100. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  101. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
  104. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  105. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
  106. package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  107. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
  108. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
  109. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
  110. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
  111. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
  112. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
  113. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
  114. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
  115. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
  117. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
  118. package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
  119. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
  120. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
  121. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
  122. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
  123. package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
  124. package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
  125. package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
  126. package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
  127. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
  128. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
  129. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
  130. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
  131. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
  132. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  133. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
  134. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  135. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +9 -11
  136. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
  137. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -12
  138. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
  139. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +15 -19
  140. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
  141. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +15 -19
  142. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
  143. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
  144. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
  145. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
  146. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
  147. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
  148. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
  149. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
  150. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
  151. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
  152. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
  153. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
  154. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
  155. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  157. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -2
  158. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
  159. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -2
  160. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
  161. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
  163. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
  165. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  167. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +11 -12
  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 +11 -12
  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/pages/EditEvent.vue.cjs +52 -69
  172. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
  173. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +52 -69
  174. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
  175. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +24 -25
  176. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
  177. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +24 -25
  178. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
  179. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
  180. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
  181. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
  182. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
  183. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
  184. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
  185. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
  186. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
  187. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
  188. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
  189. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
  190. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
  191. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
  192. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
  193. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
  194. package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
  195. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  197. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +7 -7
  198. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +7 -7
  199. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
  200. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
  201. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
  202. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
  203. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
  204. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
  205. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
  206. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
  207. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  209. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
  210. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  211. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
  212. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
  213. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
  214. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
  215. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
  216. package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
  217. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +11 -13
  218. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
  219. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +11 -13
  220. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
  221. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
  222. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
  223. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
  224. package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
  225. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +8 -10
  226. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
  227. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +9 -11
  228. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
  229. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
  230. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
  231. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
  232. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
  233. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  235. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
  236. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
  237. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
  238. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
  239. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
  240. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
  241. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
  242. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
  243. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
  244. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
  245. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
  246. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
  247. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
  248. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
  249. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
  250. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
  251. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
  252. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
  253. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
  254. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
  255. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
  256. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
  257. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
  258. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
  259. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
  260. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
  261. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
  262. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
  263. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
  264. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
  265. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
  266. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
  267. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
  268. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
  269. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
  270. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
  271. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
  272. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
  273. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
  274. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
  275. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
  276. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
  277. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
  278. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
  279. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
  280. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
  281. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
  282. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
  283. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
  284. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
  285. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
  286. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
  287. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
  288. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
  289. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
  290. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
  291. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
  292. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
  293. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
  294. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
  295. package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
  296. package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
  297. package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
  298. package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
  299. package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
  300. package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
  301. package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
  302. package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
  303. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
  304. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
  305. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
  306. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
  307. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
  308. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
  309. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
  310. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
  311. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
  312. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
  313. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
  314. package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
  315. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
  316. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
  317. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
  318. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
  319. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
  320. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
  321. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
  322. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
  323. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
  324. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
  325. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
  326. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
  327. package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
  328. package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
  329. package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
  330. package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
  331. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
  332. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
  333. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
  334. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
  335. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
  336. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
  337. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
  338. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
  339. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
  340. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
  341. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
  342. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
  343. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +14 -19
  344. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
  345. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +15 -20
  346. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
  347. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
  348. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
  349. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
  350. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
  351. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
  352. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
  353. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
  354. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
  355. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
  356. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
  357. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
  358. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
  359. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
  360. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
  361. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
  362. package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
  363. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
  364. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
  365. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
  366. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
  367. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
  368. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
  369. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
  370. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
  371. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
  372. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
  373. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
  374. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
  375. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
  376. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
  377. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
  378. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
  379. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
  380. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
  381. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
  382. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
  383. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +14 -17
  384. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
  385. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +14 -17
  386. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
  387. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
  388. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
  389. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
  390. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
  391. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
  392. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
  393. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
  394. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
  395. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
  396. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  397. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  399. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +4 -6
  400. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
  401. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +4 -6
  402. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
  403. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  405. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
  406. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
  407. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
  408. package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
  409. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +2 -3
  410. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
  411. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -3
  412. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
  413. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
  414. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
  415. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
  416. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
  417. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
  418. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
  419. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
  420. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
  421. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
  422. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
  423. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
  424. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
  425. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +21 -30
  426. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
  427. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +21 -30
  428. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
  429. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
  430. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
  431. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
  432. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
  433. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
  434. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
  435. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
  436. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
  437. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +14 -21
  438. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
  439. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +15 -22
  440. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
  441. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
  442. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
  443. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
  444. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
  445. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +17 -18
  446. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
  447. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +17 -18
  448. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
  449. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +10 -12
  450. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
  451. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +11 -13
  452. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
  453. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +4 -5
  454. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
  455. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +4 -5
  456. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
  457. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
  458. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  459. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +801 -811
  460. package/dist/prometheus-framework/src/modules/pages/pages.client.js +801 -811
  461. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
  462. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
  463. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
  464. package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
  465. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +4 -4
  466. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +4 -4
  467. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +3 -3
  468. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +3 -3
  469. package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
  470. package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
  471. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
  472. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
  473. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
  474. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -1
  475. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  476. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  477. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
  478. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
  479. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
  480. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -1
  481. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  482. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  483. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +37 -46
  484. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
  485. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
  486. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
  487. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +5 -6
  488. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
  489. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +6 -7
  490. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
  491. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +8 -9
  492. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  493. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +8 -9
  494. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  495. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
  496. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  497. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
  498. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
  499. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
  500. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
  501. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +6 -6
  502. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
  503. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +6 -7
  504. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  505. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -7
  506. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
  507. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +47 -53
  508. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
  509. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +47 -53
  510. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -1
  511. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  512. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  513. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +8 -12
  514. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
  515. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
  516. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
  517. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
  518. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
  519. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
  520. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
  521. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +7 -10
  522. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
  523. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +8 -11
  524. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
  525. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +3 -6
  526. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
  527. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +4 -7
  528. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
  529. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  530. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  531. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
  532. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
  533. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
  534. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
  535. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +6 -8
  536. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
  537. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +7 -9
  538. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
  539. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
  540. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
  541. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
  542. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
  543. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +10 -13
  544. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
  545. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +10 -13
  546. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
  547. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +32 -40
  548. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
  549. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -40
  550. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
  551. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
  552. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
  553. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
  554. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
  555. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +16 -23
  556. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
  557. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +17 -24
  558. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
  559. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
  560. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
  561. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
  562. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
  563. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
  564. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
  565. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
  566. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
  567. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +5 -8
  568. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
  569. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +5 -8
  570. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
  571. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
  572. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
  573. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
  574. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
  575. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  576. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  577. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
  578. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
  579. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
  580. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
  581. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
  582. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
  583. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
  584. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
  585. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +61 -67
  586. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
  587. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +61 -67
  588. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
  589. package/dist/prometheus-framework.cjs.js +21 -21
  590. package/dist/prometheus-framework.es.js +2845 -2813
  591. package/dist/tickets.controller-CLL05IYf.mjs +441 -0
  592. package/dist/tickets.controller-Dn5NbQEu.js +440 -0
  593. package/dist/wallet.server.js +1 -1
  594. package/dist/wallet.server.mjs +1 -1
  595. package/package.json +1 -1
  596. package/src/modules/events/controllers/tickets.controller.js +33 -7
  597. package/src/modules/globals/views/components/layouts/Client.vue +1 -12
@@ -1 +1 @@
1
- {"version":3,"file":"Spot.vue.cjs","sources":["../../../../../../../src/modules/spots/components/pages/Spot.vue"],"sourcesContent":["<template>\n <div class=\"radius-big o-hidden cols-2-1_3\">\n <Map :location=\"{lat: spot.location.coordinates[1] ,lng: spot.location.coordinates[0]}\" class=\"\"/>\n\n <div class=\"pd-medium w-100\">\n <svg @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}/edit`)\" class=\"i-regular pos-absolute pos-r-0 pos-t-0 t-transp\" width=\"652\" height=\"652\" viewBox=\"0 0 652 652\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z\" fill=\"rgb(var(--black))\"/>\n </svg>\n \n <h3 \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-small w-100\"\n v-html=\"spot.profile.name\"\n />\n\n <p \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-small p-big w-100\"\n v-html=\"spot.address\"\n />\n\n \n \n <Spoiler \n class=\"\n radius-small \n o-hidden\n br-1px br-solid br-grey-transp-25 \n mn-b-thin\n \"\n >\n <template #header>\n <div class=\"pd-small flex-v-center flex-nowrap flex\">\n <h5 class=\"w-100\" >Contacts </h5>\n <p class=\"mn-r-small\">{{spot.members.length}}&nbsp;человек</p>\n <svg width=\"14\" height=\"9\" viewBox=\"0 0 14 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z\" fill=\"#8A8A8A\"/>\n </svg>\n\n </div>\n </template>\n <template #content>\n <ul>\n <li v-if=\"spot.members.length < 1\">В отделе еще нет участников</li>\n <User \n class=\"br-b br-solid br-grey-transp-25\" \n v-for=\"(member, index) in spot.members\" \n :key=\"index\" \n :user=\"member.user\" \n :position=\"member.position\" \n @click=\"$router.push(`/app/profile/${member.user._id}`)\" \n />\n </ul>\n </template>\n </Spoiler>\n\n <Spoiler \n class=\"\n radius-small \n o-hidden\n br-1px br-solid br-grey-transp-25 \n mn-b-thin\n \"\n >\n <template #header>\n <div class=\"pd-small flex-v-center flex-nowrap flex\">\n <h5 class=\"w-100\" >Working Hours </h5>\n <p class=\"mn-r-small\">{{spot.subspots ? spot.subspots.length : 0}}&nbsp;отделов</p>\n <svg width=\"14\" height=\"9\" viewBox=\"0 0 14 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z\" fill=\"#8A8A8A\"/>\n </svg>\n\n </div>\n </template>\n <template #content>\n <ul>\n <li v-if=\"spot.subspots.length < 1\">В отделе еще нет подотделов</li>\n <SpotSub v-for=\"(subspotsartment, index) in spot.subspots\" @click=\"$router.push(`/app/organization/spots/${subspotsartment._id}`)\" :key=\"index\" class=\"br-b br-solid br-grey-transp-25\" :spot=\"subspotsartment\" />\n </ul>\n </template>\n </Spoiler>\n\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nimport Spoiler from '@pf/src/components/Spoiler/Spoiler.vue';\nimport Map from '@pf/src/components/Map/Map.vue';\n\n\nimport SpotSub from '@pf/src/modules/spots/components/blocks/SpotSub.vue';\nimport User from '@pf/src/modules/users/components/blocks/CardUser.vue';\n\nconst props = defineProps({\n spot: Object,\n organization: Object\n});\n</script>\n<style scoped>\n.subspotsartment {\n border: 1px solid rgba(0, 0, 0, 0.1);\n margin-top: 1rem;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGA,UAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Spot.vue.cjs","sources":["../../../../../../../src/modules/spots/components/pages/Spot.vue"],"sourcesContent":["<template>\n <div class=\"radius-big o-hidden cols-2-1_3\">\n <Map :location=\"{lat: spot.location.coordinates[1] ,lng: spot.location.coordinates[0]}\" class=\"\"/>\n\n <div class=\"pd-medium w-100\">\n <svg @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}/edit`)\" class=\"i-regular pos-absolute pos-r-0 pos-t-0 t-transp\" width=\"652\" height=\"652\" viewBox=\"0 0 652 652\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z\" fill=\"rgb(var(--black))\"/>\n </svg>\n \n <h3 \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-small w-100\"\n v-html=\"spot.profile.name\"\n />\n\n <p \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-small p-big w-100\"\n v-html=\"spot.address\"\n />\n\n \n \n <Spoiler \n class=\"\n radius-small \n o-hidden\n br-1px br-solid br-grey-transp-25 \n mn-b-thin\n \"\n >\n <template #header>\n <div class=\"pd-small flex-v-center flex-nowrap flex\">\n <h5 class=\"w-100\" >Contacts </h5>\n <p class=\"mn-r-small\">{{spot.members.length}}&nbsp;человек</p>\n <svg width=\"14\" height=\"9\" viewBox=\"0 0 14 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z\" fill=\"#8A8A8A\"/>\n </svg>\n\n </div>\n </template>\n <template #content>\n <ul>\n <li v-if=\"spot.members.length < 1\">В отделе еще нет участников</li>\n <User \n class=\"br-b br-solid br-grey-transp-25\" \n v-for=\"(member, index) in spot.members\" \n :key=\"index\" \n :user=\"member.user\" \n :position=\"member.position\" \n @click=\"$router.push(`/app/profile/${member.user._id}`)\" \n />\n </ul>\n </template>\n </Spoiler>\n\n <Spoiler \n class=\"\n radius-small \n o-hidden\n br-1px br-solid br-grey-transp-25 \n mn-b-thin\n \"\n >\n <template #header>\n <div class=\"pd-small flex-v-center flex-nowrap flex\">\n <h5 class=\"w-100\" >Working Hours </h5>\n <p class=\"mn-r-small\">{{spot.subspots ? spot.subspots.length : 0}}&nbsp;отделов</p>\n <svg width=\"14\" height=\"9\" viewBox=\"0 0 14 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z\" fill=\"#8A8A8A\"/>\n </svg>\n\n </div>\n </template>\n <template #content>\n <ul>\n <li v-if=\"spot.subspots.length < 1\">В отделе еще нет подотделов</li>\n <SpotSub v-for=\"(subspotsartment, index) in spot.subspots\" @click=\"$router.push(`/app/organization/spots/${subspotsartment._id}`)\" :key=\"index\" class=\"br-b br-solid br-grey-transp-25\" :spot=\"subspotsartment\" />\n </ul>\n </template>\n </Spoiler>\n\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nimport Spoiler from '@pf/src/components/Spoiler/Spoiler.vue';\nimport Map from '@pf/src/components/Map/Map.vue';\n\n\nimport SpotSub from '@pf/src/modules/spots/components/blocks/SpotSub.vue';\nimport User from '@pf/src/modules/users/components/blocks/CardUser.vue';\n\nconst props = defineProps({\n spot: Object,\n organization: Object\n});\n</script>\n<style scoped>\n.subspotsartment {\n border: 1px solid rgba(0, 0, 0, 0.1);\n margin-top: 1rem;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgGA,UAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,58 +1,20 @@
1
- import { openBlock, createElementBlock, createVNode, createElementVNode, withCtx, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, pushScopeId, popScopeId } from "vue";
1
+ import { openBlock, createElementBlock, createVNode, createElementVNode, withCtx, toDisplayString, createCommentVNode, Fragment, renderList, createBlock } from "vue";
2
2
  import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue2.js";
3
3
  import Map from "../../../../components/Map/Map.vue.js";
4
4
  import SpotSub from "../blocks/SpotSub.vue.js";
5
5
  import _sfc_main$2 from "../../../users/components/blocks/CardUser.vue.js";
6
6
  /* empty css */
7
7
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
8
- const _withScopeId = (n) => (pushScopeId("data-v-a4b9b533"), n = n(), popScopeId(), n);
9
8
  const _hoisted_1 = { class: "radius-big o-hidden cols-2-1_3" };
10
9
  const _hoisted_2 = { class: "pd-medium w-100" };
11
- const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("path", {
12
- d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
13
- fill: "rgb(var(--black))"
14
- }, null, -1));
15
- const _hoisted_4 = [
16
- _hoisted_3
17
- ];
18
- const _hoisted_5 = ["innerHTML"];
19
- const _hoisted_6 = ["innerHTML"];
20
- const _hoisted_7 = { class: "pd-small flex-v-center flex-nowrap flex" };
21
- const _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("h5", { class: "w-100" }, "Contacts ", -1));
10
+ const _hoisted_3 = ["innerHTML"];
11
+ const _hoisted_4 = ["innerHTML"];
12
+ const _hoisted_5 = { class: "pd-small flex-v-center flex-nowrap flex" };
13
+ const _hoisted_6 = { class: "mn-r-small" };
14
+ const _hoisted_7 = { key: 0 };
15
+ const _hoisted_8 = { class: "pd-small flex-v-center flex-nowrap flex" };
22
16
  const _hoisted_9 = { class: "mn-r-small" };
23
- const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
24
- width: "14",
25
- height: "9",
26
- viewBox: "0 0 14 9",
27
- fill: "none",
28
- xmlns: "http://www.w3.org/2000/svg"
29
- }, [
30
- /* @__PURE__ */ createElementVNode("path", {
31
- "fill-rule": "evenodd",
32
- "clip-rule": "evenodd",
33
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
34
- fill: "#8A8A8A"
35
- })
36
- ], -1));
37
- const _hoisted_11 = { key: 0 };
38
- const _hoisted_12 = { class: "pd-small flex-v-center flex-nowrap flex" };
39
- const _hoisted_13 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("h5", { class: "w-100" }, "Working Hours ", -1));
40
- const _hoisted_14 = { class: "mn-r-small" };
41
- const _hoisted_15 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
42
- width: "14",
43
- height: "9",
44
- viewBox: "0 0 14 9",
45
- fill: "none",
46
- xmlns: "http://www.w3.org/2000/svg"
47
- }, [
48
- /* @__PURE__ */ createElementVNode("path", {
49
- "fill-rule": "evenodd",
50
- "clip-rule": "evenodd",
51
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
52
- fill: "#8A8A8A"
53
- })
54
- ], -1));
55
- const _hoisted_16 = { key: 0 };
17
+ const _hoisted_10 = { key: 0 };
56
18
  const _sfc_main = {
57
19
  __name: "Spot",
58
20
  props: {
@@ -76,28 +38,46 @@ const _sfc_main = {
76
38
  viewBox: "0 0 652 652",
77
39
  fill: "none",
78
40
  xmlns: "http://www.w3.org/2000/svg"
79
- }, _hoisted_4)),
41
+ }, _cache[3] || (_cache[3] = [
42
+ createElementVNode("path", {
43
+ d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
44
+ fill: "rgb(var(--black))"
45
+ }, null, -1)
46
+ ]))),
80
47
  createElementVNode("h3", {
81
48
  onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$router.push(`/app/organization/${props.organization._id}/spots/${__props.spot._id}`)),
82
49
  class: "mn-b-small w-100",
83
50
  innerHTML: __props.spot.profile.name
84
- }, null, 8, _hoisted_5),
51
+ }, null, 8, _hoisted_3),
85
52
  createElementVNode("p", {
86
53
  onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$router.push(`/app/organization/${props.organization._id}/spots/${__props.spot._id}`)),
87
54
  class: "mn-b-small p-big w-100",
88
55
  innerHTML: __props.spot.address
89
- }, null, 8, _hoisted_6),
56
+ }, null, 8, _hoisted_4),
90
57
  createVNode(_sfc_main$1, { class: "radius-small o-hidden br-1px br-solid br-grey-transp-25 mn-b-thin" }, {
91
58
  header: withCtx(() => [
92
- createElementVNode("div", _hoisted_7, [
93
- _hoisted_8,
94
- createElementVNode("p", _hoisted_9, toDisplayString(__props.spot.members.length) + " человек", 1),
95
- _hoisted_10
59
+ createElementVNode("div", _hoisted_5, [
60
+ _cache[4] || (_cache[4] = createElementVNode("h5", { class: "w-100" }, "Contacts ", -1)),
61
+ createElementVNode("p", _hoisted_6, toDisplayString(__props.spot.members.length) + " человек", 1),
62
+ _cache[5] || (_cache[5] = createElementVNode("svg", {
63
+ width: "14",
64
+ height: "9",
65
+ viewBox: "0 0 14 9",
66
+ fill: "none",
67
+ xmlns: "http://www.w3.org/2000/svg"
68
+ }, [
69
+ createElementVNode("path", {
70
+ "fill-rule": "evenodd",
71
+ "clip-rule": "evenodd",
72
+ d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
73
+ fill: "#8A8A8A"
74
+ })
75
+ ], -1))
96
76
  ])
97
77
  ]),
98
78
  content: withCtx(() => [
99
79
  createElementVNode("ul", null, [
100
- __props.spot.members.length < 1 ? (openBlock(), createElementBlock("li", _hoisted_11, "В отделе еще нет участников")) : createCommentVNode("", true),
80
+ __props.spot.members.length < 1 ? (openBlock(), createElementBlock("li", _hoisted_7, "В отделе еще нет участников")) : createCommentVNode("", true),
101
81
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.spot.members, (member, index) => {
102
82
  return openBlock(), createBlock(_sfc_main$2, {
103
83
  class: "br-b br-solid br-grey-transp-25",
@@ -113,15 +93,28 @@ const _sfc_main = {
113
93
  }),
114
94
  createVNode(_sfc_main$1, { class: "radius-small o-hidden br-1px br-solid br-grey-transp-25 mn-b-thin" }, {
115
95
  header: withCtx(() => [
116
- createElementVNode("div", _hoisted_12, [
117
- _hoisted_13,
118
- createElementVNode("p", _hoisted_14, toDisplayString(__props.spot.subspots ? __props.spot.subspots.length : 0) + " отделов", 1),
119
- _hoisted_15
96
+ createElementVNode("div", _hoisted_8, [
97
+ _cache[6] || (_cache[6] = createElementVNode("h5", { class: "w-100" }, "Working Hours ", -1)),
98
+ createElementVNode("p", _hoisted_9, toDisplayString(__props.spot.subspots ? __props.spot.subspots.length : 0) + " отделов", 1),
99
+ _cache[7] || (_cache[7] = createElementVNode("svg", {
100
+ width: "14",
101
+ height: "9",
102
+ viewBox: "0 0 14 9",
103
+ fill: "none",
104
+ xmlns: "http://www.w3.org/2000/svg"
105
+ }, [
106
+ createElementVNode("path", {
107
+ "fill-rule": "evenodd",
108
+ "clip-rule": "evenodd",
109
+ d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
110
+ fill: "#8A8A8A"
111
+ })
112
+ ], -1))
120
113
  ])
121
114
  ]),
122
115
  content: withCtx(() => [
123
116
  createElementVNode("ul", null, [
124
- __props.spot.subspots.length < 1 ? (openBlock(), createElementBlock("li", _hoisted_16, "В отделе еще нет подотделов")) : createCommentVNode("", true),
117
+ __props.spot.subspots.length < 1 ? (openBlock(), createElementBlock("li", _hoisted_10, "В отделе еще нет подотделов")) : createCommentVNode("", true),
125
118
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.spot.subspots, (subspotsartment, index) => {
126
119
  return openBlock(), createBlock(SpotSub, {
127
120
  onClick: ($event) => _ctx.$router.push(`/app/organization/spots/${subspotsartment._id}`),
@@ -1 +1 @@
1
- {"version":3,"file":"Spot.vue.js","sources":["../../../../../../../src/modules/spots/components/pages/Spot.vue"],"sourcesContent":["<template>\n <div class=\"radius-big o-hidden cols-2-1_3\">\n <Map :location=\"{lat: spot.location.coordinates[1] ,lng: spot.location.coordinates[0]}\" class=\"\"/>\n\n <div class=\"pd-medium w-100\">\n <svg @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}/edit`)\" class=\"i-regular pos-absolute pos-r-0 pos-t-0 t-transp\" width=\"652\" height=\"652\" viewBox=\"0 0 652 652\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z\" fill=\"rgb(var(--black))\"/>\n </svg>\n \n <h3 \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-small w-100\"\n v-html=\"spot.profile.name\"\n />\n\n <p \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-small p-big w-100\"\n v-html=\"spot.address\"\n />\n\n \n \n <Spoiler \n class=\"\n radius-small \n o-hidden\n br-1px br-solid br-grey-transp-25 \n mn-b-thin\n \"\n >\n <template #header>\n <div class=\"pd-small flex-v-center flex-nowrap flex\">\n <h5 class=\"w-100\" >Contacts </h5>\n <p class=\"mn-r-small\">{{spot.members.length}}&nbsp;человек</p>\n <svg width=\"14\" height=\"9\" viewBox=\"0 0 14 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z\" fill=\"#8A8A8A\"/>\n </svg>\n\n </div>\n </template>\n <template #content>\n <ul>\n <li v-if=\"spot.members.length < 1\">В отделе еще нет участников</li>\n <User \n class=\"br-b br-solid br-grey-transp-25\" \n v-for=\"(member, index) in spot.members\" \n :key=\"index\" \n :user=\"member.user\" \n :position=\"member.position\" \n @click=\"$router.push(`/app/profile/${member.user._id}`)\" \n />\n </ul>\n </template>\n </Spoiler>\n\n <Spoiler \n class=\"\n radius-small \n o-hidden\n br-1px br-solid br-grey-transp-25 \n mn-b-thin\n \"\n >\n <template #header>\n <div class=\"pd-small flex-v-center flex-nowrap flex\">\n <h5 class=\"w-100\" >Working Hours </h5>\n <p class=\"mn-r-small\">{{spot.subspots ? spot.subspots.length : 0}}&nbsp;отделов</p>\n <svg width=\"14\" height=\"9\" viewBox=\"0 0 14 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z\" fill=\"#8A8A8A\"/>\n </svg>\n\n </div>\n </template>\n <template #content>\n <ul>\n <li v-if=\"spot.subspots.length < 1\">В отделе еще нет подотделов</li>\n <SpotSub v-for=\"(subspotsartment, index) in spot.subspots\" @click=\"$router.push(`/app/organization/spots/${subspotsartment._id}`)\" :key=\"index\" class=\"br-b br-solid br-grey-transp-25\" :spot=\"subspotsartment\" />\n </ul>\n </template>\n </Spoiler>\n\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nimport Spoiler from '@pf/src/components/Spoiler/Spoiler.vue';\nimport Map from '@pf/src/components/Map/Map.vue';\n\n\nimport SpotSub from '@pf/src/modules/spots/components/blocks/SpotSub.vue';\nimport User from '@pf/src/modules/users/components/blocks/CardUser.vue';\n\nconst props = defineProps({\n spot: Object,\n organization: Object\n});\n</script>\n<style scoped>\n.subspotsartment {\n border: 1px solid rgba(0, 0, 0, 0.1);\n margin-top: 1rem;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGA,UAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Spot.vue.js","sources":["../../../../../../../src/modules/spots/components/pages/Spot.vue"],"sourcesContent":["<template>\n <div class=\"radius-big o-hidden cols-2-1_3\">\n <Map :location=\"{lat: spot.location.coordinates[1] ,lng: spot.location.coordinates[0]}\" class=\"\"/>\n\n <div class=\"pd-medium w-100\">\n <svg @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}/edit`)\" class=\"i-regular pos-absolute pos-r-0 pos-t-0 t-transp\" width=\"652\" height=\"652\" viewBox=\"0 0 652 652\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z\" fill=\"rgb(var(--black))\"/>\n </svg>\n \n <h3 \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-small w-100\"\n v-html=\"spot.profile.name\"\n />\n\n <p \n @click=\"$router.push(`/app/organization/${props.organization._id}/spots/${spot._id}`)\"\n class=\"mn-b-small p-big w-100\"\n v-html=\"spot.address\"\n />\n\n \n \n <Spoiler \n class=\"\n radius-small \n o-hidden\n br-1px br-solid br-grey-transp-25 \n mn-b-thin\n \"\n >\n <template #header>\n <div class=\"pd-small flex-v-center flex-nowrap flex\">\n <h5 class=\"w-100\" >Contacts </h5>\n <p class=\"mn-r-small\">{{spot.members.length}}&nbsp;человек</p>\n <svg width=\"14\" height=\"9\" viewBox=\"0 0 14 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z\" fill=\"#8A8A8A\"/>\n </svg>\n\n </div>\n </template>\n <template #content>\n <ul>\n <li v-if=\"spot.members.length < 1\">В отделе еще нет участников</li>\n <User \n class=\"br-b br-solid br-grey-transp-25\" \n v-for=\"(member, index) in spot.members\" \n :key=\"index\" \n :user=\"member.user\" \n :position=\"member.position\" \n @click=\"$router.push(`/app/profile/${member.user._id}`)\" \n />\n </ul>\n </template>\n </Spoiler>\n\n <Spoiler \n class=\"\n radius-small \n o-hidden\n br-1px br-solid br-grey-transp-25 \n mn-b-thin\n \"\n >\n <template #header>\n <div class=\"pd-small flex-v-center flex-nowrap flex\">\n <h5 class=\"w-100\" >Working Hours </h5>\n <p class=\"mn-r-small\">{{spot.subspots ? spot.subspots.length : 0}}&nbsp;отделов</p>\n <svg width=\"14\" height=\"9\" viewBox=\"0 0 14 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z\" fill=\"#8A8A8A\"/>\n </svg>\n\n </div>\n </template>\n <template #content>\n <ul>\n <li v-if=\"spot.subspots.length < 1\">В отделе еще нет подотделов</li>\n <SpotSub v-for=\"(subspotsartment, index) in spot.subspots\" @click=\"$router.push(`/app/organization/spots/${subspotsartment._id}`)\" :key=\"index\" class=\"br-b br-solid br-grey-transp-25\" :spot=\"subspotsartment\" />\n </ul>\n </template>\n </Spoiler>\n\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nimport Spoiler from '@pf/src/components/Spoiler/Spoiler.vue';\nimport Map from '@pf/src/components/Map/Map.vue';\n\n\nimport SpotSub from '@pf/src/modules/spots/components/blocks/SpotSub.vue';\nimport User from '@pf/src/modules/users/components/blocks/CardUser.vue';\n\nconst props = defineProps({\n spot: Object,\n organization: Object\n});\n</script>\n<style scoped>\n.subspotsartment {\n border: 1px solid rgba(0, 0, 0, 0.1);\n margin-top: 1rem;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAgGA,UAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4,24 +4,21 @@ const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Block = require("../../../../components/Block/Block.vue.cjs");
6
6
  const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
  const Field = require("../../../../components/Field/Field.vue.cjs");
9
- const Select = require("../../../../components/Select/Select.vue.cjs");
9
+ const Select = require("../../../../components/Select/Select.vue2.cjs");
10
10
  const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
11
11
  const Address = require("../../../../components/Address/Address.vue2.cjs");
12
12
  const LocationMarker = require("../../../../components/LocationMarker/LocationMarker.vue2.cjs");
13
13
  const Button = require("../../../../components/Button/Button.vue.cjs");
14
14
  require("vue-i18n");
15
- ;/* empty css */
15
+ ;/* empty css */
16
16
  const spots = require("../../store/spots.cjs");
17
17
  const _hoisted_1 = { class: "for-transition w-100 cols-1 pd-thin gap-thin" };
18
18
  const _hoisted_2 = { class: "mn-r-auto" };
19
19
  const _hoisted_3 = { class: "cols-2 gap-thin" };
20
20
  const _hoisted_4 = { class: "gap-small mn-b-small cols-2-fit-content" };
21
21
  const _hoisted_5 = { class: "w-100" };
22
- const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Please the available delivery options:", -1);
23
- const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Please select the available payment methods:", -1);
24
- const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("p", { class: "mn-b-small p-medium" }, "Options:", -1);
25
22
  const _sfc_main = {
26
23
  __name: "SpotEdit",
27
24
  setup(__props) {
@@ -82,9 +79,9 @@ const _sfc_main = {
82
79
  callback: redirectTo,
83
80
  class: "bg-main"
84
81
  }, {
85
- default: vue.withCtx(() => [
82
+ default: vue.withCtx(() => _cache[12] || (_cache[12] = [
86
83
  vue.createTextVNode(" Save Spot ")
87
- ]),
84
+ ])),
88
85
  _: 1
89
86
  })
90
87
  ]),
@@ -134,7 +131,7 @@ const _sfc_main = {
134
131
  placeholder: "Display product",
135
132
  class: "pos-relative w-100 mn-b-small bg-white radius-small pd-medium"
136
133
  }, null, 8, ["select"]),
137
- _hoisted_6,
134
+ _cache[13] || (_cache[13] = vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Please the available delivery options:", -1)),
138
135
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(["pickup", "courier", "post"], (option) => {
139
136
  return vue.createVNode(Checkbox.default, {
140
137
  label: option,
@@ -145,7 +142,7 @@ const _sfc_main = {
145
142
  "onUpdate:radio": _cache[4] || (_cache[4] = (event) => spots.state.spot.delivery = event)
146
143
  }, null, 8, ["label", "value", "radio"]);
147
144
  }), 64)),
148
- _hoisted_7,
145
+ _cache[14] || (_cache[14] = vue.createElementVNode("p", { class: "p-medium mn-b-small" }, "Please select the available payment methods:", -1)),
149
146
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(["cash", "bank transfer", "crypto"], (option) => {
150
147
  return vue.createVNode(Checkbox.default, {
151
148
  label: option,
@@ -194,7 +191,7 @@ const _sfc_main = {
194
191
  spots.state.spot.address = newAddress;
195
192
  })
196
193
  }, null, 8, ["apiKey", "address", "location", "locale"]),
197
- _hoisted_8,
194
+ _cache[15] || (_cache[15] = vue.createElementVNode("p", { class: "mn-b-small p-medium" }, "Options:", -1)),
198
195
  vue.createVNode(Checkbox.default, {
199
196
  label: "Hide address",
200
197
  name: "address",
@@ -220,9 +217,9 @@ const _sfc_main = {
220
217
  callback: redirectDash,
221
218
  class: "w-100 bg-light"
222
219
  }, {
223
- default: vue.withCtx(() => [
220
+ default: vue.withCtx(() => _cache[16] || (_cache[16] = [
224
221
  vue.createTextVNode("Delete Spot")
225
- ]),
222
+ ])),
226
223
  _: 1
227
224
  })
228
225
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"SpotEdit.vue.cjs","sources":["../../../../../../../src/modules/spots/components/pages/SpotEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition w-100 cols-1 pd-thin gap-thin\">\n\n\n <Block class=\"flex-nowrap flex-v-center flex\">\n \n <h1 class=\"mn-r-auto\">\n {{ route.params.spot ? spots.state.spot.profile.name : 'Create Spot' }}\n </h1>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\"\n class=\"bg-main\"\n >\n Save Spot\n </Button>\n </Block>\n \n\n <div class=\"cols-2 gap-thin\">\n \n <Block\n title=\"Profile\"\n class=\"mn-b-semi\"\n >\n\n\n\n <div class=\"gap-small mn-b-small cols-2-fit-content\">\n <UploadImage \n v-model:photo=\"spots.state.spot.profile.photo\"\n :uploadPath=\"'organizations/' + spots.state.spot.name + '/avatars'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"w-100\">\n <Field \n v-model:field=\"spots.state.spot.profile.name\" \n label=\"Name\" \n placeholder=\"Spot Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"spots.state.spot.profile.description\" \n label=\"Description\" \n placeholder=\"Spot description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n\n <Select \n v-model:select=\"spots.state.spot.status\"\n label=\"Status\"\n :options=\"[\n 'unpublished', \n 'published',\n 'archivied'\n ]\"\n placeholder=\"Display product\"\n class=\"pos-relative w-100 mn-b-small bg-white radius-small pd-medium\"\n />\n \n <p class=\"p-medium mn-b-small\">Please the available delivery options:</p>\n\n <Checkbox \n v-for=\"option in ['pickup','courier','post']\"\n :label=\"option\"\n name=\"Delivery\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.delivery\"\n @update:radio=\"event => spots.state.spot.delivery = event\"\n />\n\n <p class=\"p-medium mn-b-small\">Please select the available payment methods:</p>\n \n <Checkbox \n v-for=\"option in ['cash','bank transfer','crypto']\"\n :label=\"option\"\n name=\"Payment\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.payment\"\n @update:radio=\"event => spots.state.spot.payment = event\"\n />\n </Block>\n\n <Block\n title=\"Location\"\n class=\"pos-relative\"\n >\n <Address\n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\" \n label=\"Address\" \n placeholder=\"Enter delivery address\" \n class=\"\n bg-white pd-small radius-tl-medium radius-tr-medium \n \"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n\n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\"\n \n class=\"h-20r mn-b-small radius-bl-medium radius-br-medium o-hidden\"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <p class=\"mn-b-small p-medium\">Options:</p>\n <Checkbox \n :label=\"'Hide address'\"\n name=\"address\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.position?.hide\"\n @update:radio=\"event => spots.state.spot.position.hide = event\"\n\n />\n\n <Field \n v-model:field=\"spots.state.spot.minorder\" \n label=\"Min.order\" \n placeholder=\"Enter minimum order value\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n\n </Block>\n </div>\n\n <Button :submit=\"onDelete\" :callback=\"redirectDash\" class=\"w-100 bg-light\">Delete Spot</Button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\n\nimport Block from '@pf/src/components/Block/Block.vue';\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@pf/src/components/Tab/Tab.vue\";\nimport Field from \"@pf/src/components/Field/Field.vue\";\nimport Select from \"@pf/src/components/Select/Select.vue\";\nimport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@pf/src/components/Address/Address.vue\";\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@pf/src/components/Button/Button.vue\";\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\n\nimport * as spots from \"@pf/src/modules/spots/store/spots\";\n\nconst router = useRouter();\nconst route = useRoute();\nconst tabOrganization = ref(\"details\");\nconst showAddNew = ref(false);\n\nonMounted(async () => {\n await fetchData();\n})\n\nasync function fetchData() {\n\n if (route.params.spot) await spots.actions.readOne(route.params.spot);\n\n const lng = spots.state.spot.location?.coordinates[0]\n const lat = spots.state.spot.location?.coordinates[1]\n\n spots.state.spot.location = {\n lat: lat || 1,\n lng: lng || 1\n }\n}\n\nasync function onSubmit() {\n\n spots.state.spot.location = {\n type: 'Point',\n coordinates: [spots.state.spot.location.lng, spots.state.spot.location.lat]\n }\n\n\n if (route.params.spot) {\n await spots.actions.update(\n route.params._id,\n spots.state.spot\n );\n }\n if (!route.params.spot) {\n await spots.actions.create(\n route.params._id,\n spots.state.spot\n );\n }\n}\n\nfunction redirectTo() {\n // router.replace({ name: \"Spot\", params: { _id: route.params._id, spot: spots.state.spot._id } });\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n\nasync function onDelete() {\n await spots.actions.delete(\n route.params._id,\n spots.state.spot\n );\n}\n\nfunction redirectDash() {\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n</script>\n\n<style scoped>\n</style>"],"names":["useRouter","useRoute","ref","onMounted","spots.actions","spots.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA0KA,UAAM,SAASA,UAAS,UAAA;AACxB,UAAM,QAAQC,UAAQ,SAAA;AACEC,QAAG,IAAC,SAAS;AAClBA,QAAG,IAAC,KAAK;AAE5BC,QAAAA,UAAU,YAAY;AACpB,YAAM,UAAS;AAAA,IACjB,CAAC;AAED,mBAAe,YAAY;;AAEzB,UAAI,MAAM,OAAO,KAAM,OAAMC,MAAAA,QAAc,QAAQ,MAAM,OAAO,IAAI;AAEpE,YAAM,OAAMC,WAAAA,MAAY,KAAK,aAAjBA,mBAA2B,YAAY;AACnD,YAAM,OAAMA,WAAAA,MAAY,KAAK,aAAjBA,mBAA2B,YAAY;AAEnDA,YAAW,MAAC,KAAK,WAAW;AAAA,QAC1B,KAAK,OAAO;AAAA,QACZ,KAAK,OAAO;AAAA,MACb;AAAA,IACH;AAEA,mBAAe,WAAW;AAExBA,YAAW,MAAC,KAAK,WAAW;AAAA,QAC1B,MAAM;AAAA,QACN,aAAa,CAACA,YAAY,KAAK,SAAS,KAAKA,YAAY,KAAK,SAAS,GAAG;AAAA,MAC3E;AAGD,UAAI,MAAM,OAAO,MAAM;AACrB,cAAMD,MAAa,QAAC;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAAA,MAAY;AAAA,QAClB;AAAA,MACG;AACD,UAAI,CAAC,MAAM,OAAO,MAAM;AACtB,cAAMD,MAAa,QAAC;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAAA,MAAY;AAAA,QAClB;AAAA,MACG;AAAA,IACH;AAEA,aAAS,aAAa;AAEnB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACzE;AAEA,mBAAe,WAAW;AACxB,YAAMD,MAAa,QAAC;AAAA,QAClB,MAAM,OAAO;AAAA,QACbC,MAAAA,MAAY;AAAA,MAChB;AAAA,IACA;AAEA,aAAS,eAAe;AACtB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SpotEdit.vue.cjs","sources":["../../../../../../../src/modules/spots/components/pages/SpotEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition w-100 cols-1 pd-thin gap-thin\">\n\n\n <Block class=\"flex-nowrap flex-v-center flex\">\n \n <h1 class=\"mn-r-auto\">\n {{ route.params.spot ? spots.state.spot.profile.name : 'Create Spot' }}\n </h1>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\"\n class=\"bg-main\"\n >\n Save Spot\n </Button>\n </Block>\n \n\n <div class=\"cols-2 gap-thin\">\n \n <Block\n title=\"Profile\"\n class=\"mn-b-semi\"\n >\n\n\n\n <div class=\"gap-small mn-b-small cols-2-fit-content\">\n <UploadImage \n v-model:photo=\"spots.state.spot.profile.photo\"\n :uploadPath=\"'organizations/' + spots.state.spot.name + '/avatars'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"w-100\">\n <Field \n v-model:field=\"spots.state.spot.profile.name\" \n label=\"Name\" \n placeholder=\"Spot Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"spots.state.spot.profile.description\" \n label=\"Description\" \n placeholder=\"Spot description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n\n <Select \n v-model:select=\"spots.state.spot.status\"\n label=\"Status\"\n :options=\"[\n 'unpublished', \n 'published',\n 'archivied'\n ]\"\n placeholder=\"Display product\"\n class=\"pos-relative w-100 mn-b-small bg-white radius-small pd-medium\"\n />\n \n <p class=\"p-medium mn-b-small\">Please the available delivery options:</p>\n\n <Checkbox \n v-for=\"option in ['pickup','courier','post']\"\n :label=\"option\"\n name=\"Delivery\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.delivery\"\n @update:radio=\"event => spots.state.spot.delivery = event\"\n />\n\n <p class=\"p-medium mn-b-small\">Please select the available payment methods:</p>\n \n <Checkbox \n v-for=\"option in ['cash','bank transfer','crypto']\"\n :label=\"option\"\n name=\"Payment\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.payment\"\n @update:radio=\"event => spots.state.spot.payment = event\"\n />\n </Block>\n\n <Block\n title=\"Location\"\n class=\"pos-relative\"\n >\n <Address\n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\" \n label=\"Address\" \n placeholder=\"Enter delivery address\" \n class=\"\n bg-white pd-small radius-tl-medium radius-tr-medium \n \"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n\n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\"\n \n class=\"h-20r mn-b-small radius-bl-medium radius-br-medium o-hidden\"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <p class=\"mn-b-small p-medium\">Options:</p>\n <Checkbox \n :label=\"'Hide address'\"\n name=\"address\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.position?.hide\"\n @update:radio=\"event => spots.state.spot.position.hide = event\"\n\n />\n\n <Field \n v-model:field=\"spots.state.spot.minorder\" \n label=\"Min.order\" \n placeholder=\"Enter minimum order value\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n\n </Block>\n </div>\n\n <Button :submit=\"onDelete\" :callback=\"redirectDash\" class=\"w-100 bg-light\">Delete Spot</Button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\n\nimport Block from '@pf/src/components/Block/Block.vue';\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@pf/src/components/Tab/Tab.vue\";\nimport Field from \"@pf/src/components/Field/Field.vue\";\nimport Select from \"@pf/src/components/Select/Select.vue\";\nimport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@pf/src/components/Address/Address.vue\";\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@pf/src/components/Button/Button.vue\";\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\n\nimport * as spots from \"@pf/src/modules/spots/store/spots\";\n\nconst router = useRouter();\nconst route = useRoute();\nconst tabOrganization = ref(\"details\");\nconst showAddNew = ref(false);\n\nonMounted(async () => {\n await fetchData();\n})\n\nasync function fetchData() {\n\n if (route.params.spot) await spots.actions.readOne(route.params.spot);\n\n const lng = spots.state.spot.location?.coordinates[0]\n const lat = spots.state.spot.location?.coordinates[1]\n\n spots.state.spot.location = {\n lat: lat || 1,\n lng: lng || 1\n }\n}\n\nasync function onSubmit() {\n\n spots.state.spot.location = {\n type: 'Point',\n coordinates: [spots.state.spot.location.lng, spots.state.spot.location.lat]\n }\n\n\n if (route.params.spot) {\n await spots.actions.update(\n route.params._id,\n spots.state.spot\n );\n }\n if (!route.params.spot) {\n await spots.actions.create(\n route.params._id,\n spots.state.spot\n );\n }\n}\n\nfunction redirectTo() {\n // router.replace({ name: \"Spot\", params: { _id: route.params._id, spot: spots.state.spot._id } });\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n\nasync function onDelete() {\n await spots.actions.delete(\n route.params._id,\n spots.state.spot\n );\n}\n\nfunction redirectDash() {\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n</script>\n\n<style scoped>\n</style>"],"names":["useRouter","useRoute","ref","onMounted","spots.actions","spots.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA0KA,UAAM,SAASA,UAAS,UAAA;AACxB,UAAM,QAAQC,UAAQ,SAAA;AACEC,QAAG,IAAC,SAAS;AAClBA,QAAG,IAAC,KAAK;AAE5BC,QAAAA,UAAU,YAAY;AACpB,YAAM,UAAS;AAAA,IACjB,CAAC;AAED,mBAAe,YAAY;;AAEzB,UAAI,MAAM,OAAO,KAAM,OAAMC,MAAAA,QAAc,QAAQ,MAAM,OAAO,IAAI;AAEpE,YAAM,OAAMC,WAAAA,MAAY,KAAK,aAAjBA,mBAA2B,YAAY;AACnD,YAAM,OAAMA,WAAAA,MAAY,KAAK,aAAjBA,mBAA2B,YAAY;AAEnDA,YAAW,MAAC,KAAK,WAAW;AAAA,QAC1B,KAAK,OAAO;AAAA,QACZ,KAAK,OAAO;AAAA,MACb;AAAA,IACH;AAEA,mBAAe,WAAW;AAExBA,YAAW,MAAC,KAAK,WAAW;AAAA,QAC1B,MAAM;AAAA,QACN,aAAa,CAACA,YAAY,KAAK,SAAS,KAAKA,YAAY,KAAK,SAAS,GAAG;AAAA,MAC3E;AAGD,UAAI,MAAM,OAAO,MAAM;AACrB,cAAMD,MAAa,QAAC;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAAA,MAAY;AAAA,QAClB;AAAA,MACG;AACD,UAAI,CAAC,MAAM,OAAO,MAAM;AACtB,cAAMD,MAAa,QAAC;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAAA,MAAY;AAAA,QAClB;AAAA,MACG;AAAA,IACH;AAEA,aAAS,aAAa;AAEnB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACzE;AAEA,mBAAe,WAAW;AACxB,YAAMD,MAAa,QAAC;AAAA,QAClB,MAAM,OAAO;AAAA,QACbC,MAAAA,MAAY;AAAA,MAChB;AAAA,IACA;AAEA,aAAS,eAAe;AACtB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,24 +2,21 @@ import { ref, onMounted, openBlock, createElementBlock, createVNode, withCtx, cr
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
4
4
  import _sfc_main$3 from "../../../../components/UploadImage/UploadImage.vue.js";
5
- /* empty css */
5
+ /* empty css */
6
6
  import Field from "../../../../components/Field/Field.vue.js";
7
- import Select from "../../../../components/Select/Select.vue.js";
7
+ import Select from "../../../../components/Select/Select.vue2.js";
8
8
  import _sfc_main$4 from "../../../../components/Checkbox/Checkbox.vue.js";
9
9
  import _sfc_main$5 from "../../../../components/Address/Address.vue2.js";
10
10
  import _sfc_main$6 from "../../../../components/LocationMarker/LocationMarker.vue2.js";
11
11
  import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
12
12
  import "vue-i18n";
13
- /* empty css */
13
+ /* empty css */
14
14
  import { actions, state } from "../../store/spots.js";
15
15
  const _hoisted_1 = { class: "for-transition w-100 cols-1 pd-thin gap-thin" };
16
16
  const _hoisted_2 = { class: "mn-r-auto" };
17
17
  const _hoisted_3 = { class: "cols-2 gap-thin" };
18
18
  const _hoisted_4 = { class: "gap-small mn-b-small cols-2-fit-content" };
19
19
  const _hoisted_5 = { class: "w-100" };
20
- const _hoisted_6 = /* @__PURE__ */ createElementVNode("p", { class: "p-medium mn-b-small" }, "Please the available delivery options:", -1);
21
- const _hoisted_7 = /* @__PURE__ */ createElementVNode("p", { class: "p-medium mn-b-small" }, "Please select the available payment methods:", -1);
22
- const _hoisted_8 = /* @__PURE__ */ createElementVNode("p", { class: "mn-b-small p-medium" }, "Options:", -1);
23
20
  const _sfc_main = {
24
21
  __name: "SpotEdit",
25
22
  setup(__props) {
@@ -80,9 +77,9 @@ const _sfc_main = {
80
77
  callback: redirectTo,
81
78
  class: "bg-main"
82
79
  }, {
83
- default: withCtx(() => [
80
+ default: withCtx(() => _cache[12] || (_cache[12] = [
84
81
  createTextVNode(" Save Spot ")
85
- ]),
82
+ ])),
86
83
  _: 1
87
84
  })
88
85
  ]),
@@ -132,7 +129,7 @@ const _sfc_main = {
132
129
  placeholder: "Display product",
133
130
  class: "pos-relative w-100 mn-b-small bg-white radius-small pd-medium"
134
131
  }, null, 8, ["select"]),
135
- _hoisted_6,
132
+ _cache[13] || (_cache[13] = createElementVNode("p", { class: "p-medium mn-b-small" }, "Please the available delivery options:", -1)),
136
133
  (openBlock(), createElementBlock(Fragment, null, renderList(["pickup", "courier", "post"], (option) => {
137
134
  return createVNode(_sfc_main$4, {
138
135
  label: option,
@@ -143,7 +140,7 @@ const _sfc_main = {
143
140
  "onUpdate:radio": _cache[4] || (_cache[4] = (event) => state.spot.delivery = event)
144
141
  }, null, 8, ["label", "value", "radio"]);
145
142
  }), 64)),
146
- _hoisted_7,
143
+ _cache[14] || (_cache[14] = createElementVNode("p", { class: "p-medium mn-b-small" }, "Please select the available payment methods:", -1)),
147
144
  (openBlock(), createElementBlock(Fragment, null, renderList(["cash", "bank transfer", "crypto"], (option) => {
148
145
  return createVNode(_sfc_main$4, {
149
146
  label: option,
@@ -192,7 +189,7 @@ const _sfc_main = {
192
189
  state.spot.address = newAddress;
193
190
  })
194
191
  }, null, 8, ["apiKey", "address", "location", "locale"]),
195
- _hoisted_8,
192
+ _cache[15] || (_cache[15] = createElementVNode("p", { class: "mn-b-small p-medium" }, "Options:", -1)),
196
193
  createVNode(_sfc_main$4, {
197
194
  label: "Hide address",
198
195
  name: "address",
@@ -218,9 +215,9 @@ const _sfc_main = {
218
215
  callback: redirectDash,
219
216
  class: "w-100 bg-light"
220
217
  }, {
221
- default: withCtx(() => [
218
+ default: withCtx(() => _cache[16] || (_cache[16] = [
222
219
  createTextVNode("Delete Spot")
223
- ]),
220
+ ])),
224
221
  _: 1
225
222
  })
226
223
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"SpotEdit.vue.js","sources":["../../../../../../../src/modules/spots/components/pages/SpotEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition w-100 cols-1 pd-thin gap-thin\">\n\n\n <Block class=\"flex-nowrap flex-v-center flex\">\n \n <h1 class=\"mn-r-auto\">\n {{ route.params.spot ? spots.state.spot.profile.name : 'Create Spot' }}\n </h1>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\"\n class=\"bg-main\"\n >\n Save Spot\n </Button>\n </Block>\n \n\n <div class=\"cols-2 gap-thin\">\n \n <Block\n title=\"Profile\"\n class=\"mn-b-semi\"\n >\n\n\n\n <div class=\"gap-small mn-b-small cols-2-fit-content\">\n <UploadImage \n v-model:photo=\"spots.state.spot.profile.photo\"\n :uploadPath=\"'organizations/' + spots.state.spot.name + '/avatars'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"w-100\">\n <Field \n v-model:field=\"spots.state.spot.profile.name\" \n label=\"Name\" \n placeholder=\"Spot Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"spots.state.spot.profile.description\" \n label=\"Description\" \n placeholder=\"Spot description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n\n <Select \n v-model:select=\"spots.state.spot.status\"\n label=\"Status\"\n :options=\"[\n 'unpublished', \n 'published',\n 'archivied'\n ]\"\n placeholder=\"Display product\"\n class=\"pos-relative w-100 mn-b-small bg-white radius-small pd-medium\"\n />\n \n <p class=\"p-medium mn-b-small\">Please the available delivery options:</p>\n\n <Checkbox \n v-for=\"option in ['pickup','courier','post']\"\n :label=\"option\"\n name=\"Delivery\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.delivery\"\n @update:radio=\"event => spots.state.spot.delivery = event\"\n />\n\n <p class=\"p-medium mn-b-small\">Please select the available payment methods:</p>\n \n <Checkbox \n v-for=\"option in ['cash','bank transfer','crypto']\"\n :label=\"option\"\n name=\"Payment\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.payment\"\n @update:radio=\"event => spots.state.spot.payment = event\"\n />\n </Block>\n\n <Block\n title=\"Location\"\n class=\"pos-relative\"\n >\n <Address\n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\" \n label=\"Address\" \n placeholder=\"Enter delivery address\" \n class=\"\n bg-white pd-small radius-tl-medium radius-tr-medium \n \"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n\n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\"\n \n class=\"h-20r mn-b-small radius-bl-medium radius-br-medium o-hidden\"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <p class=\"mn-b-small p-medium\">Options:</p>\n <Checkbox \n :label=\"'Hide address'\"\n name=\"address\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.position?.hide\"\n @update:radio=\"event => spots.state.spot.position.hide = event\"\n\n />\n\n <Field \n v-model:field=\"spots.state.spot.minorder\" \n label=\"Min.order\" \n placeholder=\"Enter minimum order value\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n\n </Block>\n </div>\n\n <Button :submit=\"onDelete\" :callback=\"redirectDash\" class=\"w-100 bg-light\">Delete Spot</Button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\n\nimport Block from '@pf/src/components/Block/Block.vue';\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@pf/src/components/Tab/Tab.vue\";\nimport Field from \"@pf/src/components/Field/Field.vue\";\nimport Select from \"@pf/src/components/Select/Select.vue\";\nimport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@pf/src/components/Address/Address.vue\";\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@pf/src/components/Button/Button.vue\";\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\n\nimport * as spots from \"@pf/src/modules/spots/store/spots\";\n\nconst router = useRouter();\nconst route = useRoute();\nconst tabOrganization = ref(\"details\");\nconst showAddNew = ref(false);\n\nonMounted(async () => {\n await fetchData();\n})\n\nasync function fetchData() {\n\n if (route.params.spot) await spots.actions.readOne(route.params.spot);\n\n const lng = spots.state.spot.location?.coordinates[0]\n const lat = spots.state.spot.location?.coordinates[1]\n\n spots.state.spot.location = {\n lat: lat || 1,\n lng: lng || 1\n }\n}\n\nasync function onSubmit() {\n\n spots.state.spot.location = {\n type: 'Point',\n coordinates: [spots.state.spot.location.lng, spots.state.spot.location.lat]\n }\n\n\n if (route.params.spot) {\n await spots.actions.update(\n route.params._id,\n spots.state.spot\n );\n }\n if (!route.params.spot) {\n await spots.actions.create(\n route.params._id,\n spots.state.spot\n );\n }\n}\n\nfunction redirectTo() {\n // router.replace({ name: \"Spot\", params: { _id: route.params._id, spot: spots.state.spot._id } });\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n\nasync function onDelete() {\n await spots.actions.delete(\n route.params._id,\n spots.state.spot\n );\n}\n\nfunction redirectDash() {\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n</script>\n\n<style scoped>\n</style>"],"names":["spots.actions","spots.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA0KA,UAAM,SAAS,UAAS;AACxB,UAAM,QAAQ,SAAQ;AACE,QAAI,SAAS;AAClB,QAAI,KAAK;AAE5B,cAAU,YAAY;AACpB,YAAM,UAAS;AAAA,IACjB,CAAC;AAED,mBAAe,YAAY;;AAEzB,UAAI,MAAM,OAAO,KAAM,OAAMA,QAAc,QAAQ,MAAM,OAAO,IAAI;AAEpE,YAAM,OAAMC,WAAY,KAAK,aAAjBA,mBAA2B,YAAY;AACnD,YAAM,OAAMA,WAAY,KAAK,aAAjBA,mBAA2B,YAAY;AAEnDA,YAAY,KAAK,WAAW;AAAA,QAC1B,KAAK,OAAO;AAAA,QACZ,KAAK,OAAO;AAAA,MACb;AAAA,IACH;AAEA,mBAAe,WAAW;AAExBA,YAAY,KAAK,WAAW;AAAA,QAC1B,MAAM;AAAA,QACN,aAAa,CAACA,MAAY,KAAK,SAAS,KAAKA,MAAY,KAAK,SAAS,GAAG;AAAA,MAC3E;AAGD,UAAI,MAAM,OAAO,MAAM;AACrB,cAAMD,QAAc;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAY;AAAA,QAClB;AAAA,MACG;AACD,UAAI,CAAC,MAAM,OAAO,MAAM;AACtB,cAAMD,QAAc;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAY;AAAA,QAClB;AAAA,MACG;AAAA,IACH;AAEA,aAAS,aAAa;AAEnB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACzE;AAEA,mBAAe,WAAW;AACxB,YAAMD,QAAc;AAAA,QAClB,MAAM,OAAO;AAAA,QACbC,MAAY;AAAA,MAChB;AAAA,IACA;AAEA,aAAS,eAAe;AACtB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SpotEdit.vue.js","sources":["../../../../../../../src/modules/spots/components/pages/SpotEdit.vue"],"sourcesContent":["<template>\n <div class=\"for-transition w-100 cols-1 pd-thin gap-thin\">\n\n\n <Block class=\"flex-nowrap flex-v-center flex\">\n \n <h1 class=\"mn-r-auto\">\n {{ route.params.spot ? spots.state.spot.profile.name : 'Create Spot' }}\n </h1>\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\"\n class=\"bg-main\"\n >\n Save Spot\n </Button>\n </Block>\n \n\n <div class=\"cols-2 gap-thin\">\n \n <Block\n title=\"Profile\"\n class=\"mn-b-semi\"\n >\n\n\n\n <div class=\"gap-small mn-b-small cols-2-fit-content\">\n <UploadImage \n v-model:photo=\"spots.state.spot.profile.photo\"\n :uploadPath=\"'organizations/' + spots.state.spot.name + '/avatars'\"\n class=\"aspect-1x1 w-8r o-hidden radius-extra\" \n />\n\n <div class=\"w-100\">\n <Field \n v-model:field=\"spots.state.spot.profile.name\" \n label=\"Name\" \n placeholder=\"Spot Name\" \n class=\"mn-b-small bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n />\n <Field \n v-model:field=\"spots.state.spot.profile.description\" \n label=\"Description\" \n placeholder=\"Spot description (max 120 symbols)\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n </div>\n </div>\n\n <Select \n v-model:select=\"spots.state.spot.status\"\n label=\"Status\"\n :options=\"[\n 'unpublished', \n 'published',\n 'archivied'\n ]\"\n placeholder=\"Display product\"\n class=\"pos-relative w-100 mn-b-small bg-white radius-small pd-medium\"\n />\n \n <p class=\"p-medium mn-b-small\">Please the available delivery options:</p>\n\n <Checkbox \n v-for=\"option in ['pickup','courier','post']\"\n :label=\"option\"\n name=\"Delivery\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.delivery\"\n @update:radio=\"event => spots.state.spot.delivery = event\"\n />\n\n <p class=\"p-medium mn-b-small\">Please select the available payment methods:</p>\n \n <Checkbox \n v-for=\"option in ['cash','bank transfer','crypto']\"\n :label=\"option\"\n name=\"Payment\"\n :value=\"option\"\n class=\"w-100 mn-b-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.payment\"\n @update:radio=\"event => spots.state.spot.payment = event\"\n />\n </Block>\n\n <Block\n title=\"Location\"\n class=\"pos-relative\"\n >\n <Address\n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\" \n label=\"Address\" \n placeholder=\"Enter delivery address\" \n class=\"\n bg-white pd-small radius-tl-medium radius-tr-medium \n \"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <LocationMarker \n :apiKey=\"GOOGLE_MAPS_API_KEY\" \n\n :address=\"spots.state.spot.address\" \n :location=\"spots.state.spot.location\" \n :locale=\"$i18n.locale\"\n \n class=\"h-20r mn-b-small radius-bl-medium radius-br-medium o-hidden\"\n @update:location=\"newLocation => {\n spots.state.spot.location = newLocation;\n }\"\n @update:address=\"newAddress => {\n spots.state.spot.address = newAddress;\n }\"\n />\n <p class=\"mn-b-small p-medium\">Options:</p>\n <Checkbox \n :label=\"'Hide address'\"\n name=\"address\"\n class=\"w-100 mn-r-small bg-white radius-small pd-small\"\n :radio=\"spots.state.spot.position?.hide\"\n @update:radio=\"event => spots.state.spot.position.hide = event\"\n\n />\n\n <Field \n v-model:field=\"spots.state.spot.minorder\" \n label=\"Min.order\" \n placeholder=\"Enter minimum order value\" \n class=\"bg-white radius-small pd-medium\"\n :validation=\"organizationName\" \n /> \n\n </Block>\n </div>\n\n <Button :submit=\"onDelete\" :callback=\"redirectDash\" class=\"w-100 bg-light\">Delete Spot</Button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted } from \"vue\";\nimport { useRoute, useRouter } from \"vue-router\";\n\nimport Block from '@pf/src/components/Block/Block.vue';\nimport UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\nimport Tab from \"@pf/src/components/Tab/Tab.vue\";\nimport Field from \"@pf/src/components/Field/Field.vue\";\nimport Select from \"@pf/src/components/Select/Select.vue\";\nimport Checkbox from \"@pf/src/components/Checkbox/Checkbox.vue\";\nimport Address from \"@pf/src/components/Address/Address.vue\";\nimport LocationMarker from \"@pf/src/components/LocationMarker/LocationMarker.vue\";\nimport Button from \"@pf/src/components/Button/Button.vue\";\nimport Popup from \"@pf/src/components/Popup/Popup.vue\";\n\nimport * as spots from \"@pf/src/modules/spots/store/spots\";\n\nconst router = useRouter();\nconst route = useRoute();\nconst tabOrganization = ref(\"details\");\nconst showAddNew = ref(false);\n\nonMounted(async () => {\n await fetchData();\n})\n\nasync function fetchData() {\n\n if (route.params.spot) await spots.actions.readOne(route.params.spot);\n\n const lng = spots.state.spot.location?.coordinates[0]\n const lat = spots.state.spot.location?.coordinates[1]\n\n spots.state.spot.location = {\n lat: lat || 1,\n lng: lng || 1\n }\n}\n\nasync function onSubmit() {\n\n spots.state.spot.location = {\n type: 'Point',\n coordinates: [spots.state.spot.location.lng, spots.state.spot.location.lat]\n }\n\n\n if (route.params.spot) {\n await spots.actions.update(\n route.params._id,\n spots.state.spot\n );\n }\n if (!route.params.spot) {\n await spots.actions.create(\n route.params._id,\n spots.state.spot\n );\n }\n}\n\nfunction redirectTo() {\n // router.replace({ name: \"Spot\", params: { _id: route.params._id, spot: spots.state.spot._id } });\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n\nasync function onDelete() {\n await spots.actions.delete(\n route.params._id,\n spots.state.spot\n );\n}\n\nfunction redirectDash() {\n router.push({ name: \"Organization\", params: { _id: route.params._id }});\n}\n</script>\n\n<style scoped>\n</style>"],"names":["spots.actions","spots.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA0KA,UAAM,SAAS,UAAS;AACxB,UAAM,QAAQ,SAAQ;AACE,QAAI,SAAS;AAClB,QAAI,KAAK;AAE5B,cAAU,YAAY;AACpB,YAAM,UAAS;AAAA,IACjB,CAAC;AAED,mBAAe,YAAY;;AAEzB,UAAI,MAAM,OAAO,KAAM,OAAMA,QAAc,QAAQ,MAAM,OAAO,IAAI;AAEpE,YAAM,OAAMC,WAAY,KAAK,aAAjBA,mBAA2B,YAAY;AACnD,YAAM,OAAMA,WAAY,KAAK,aAAjBA,mBAA2B,YAAY;AAEnDA,YAAY,KAAK,WAAW;AAAA,QAC1B,KAAK,OAAO;AAAA,QACZ,KAAK,OAAO;AAAA,MACb;AAAA,IACH;AAEA,mBAAe,WAAW;AAExBA,YAAY,KAAK,WAAW;AAAA,QAC1B,MAAM;AAAA,QACN,aAAa,CAACA,MAAY,KAAK,SAAS,KAAKA,MAAY,KAAK,SAAS,GAAG;AAAA,MAC3E;AAGD,UAAI,MAAM,OAAO,MAAM;AACrB,cAAMD,QAAc;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAY;AAAA,QAClB;AAAA,MACG;AACD,UAAI,CAAC,MAAM,OAAO,MAAM;AACtB,cAAMD,QAAc;AAAA,UAClB,MAAM,OAAO;AAAA,UACbC,MAAY;AAAA,QAClB;AAAA,MACG;AAAA,IACH;AAEA,aAAS,aAAa;AAEnB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACzE;AAEA,mBAAe,WAAW;AACxB,YAAMD,QAAc;AAAA,QAClB,MAAM,OAAO;AAAA,QACbC,MAAY;AAAA,MAChB;AAAA,IACA;AAEA,aAAS,eAAe;AACtB,aAAO,KAAK,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAG,EAAE,CAAC;AAAA,IACxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}