@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
@@ -34,17 +34,14 @@ const _hoisted_10 = {
34
34
  key: 0,
35
35
  class: "bg-white pd-medium mn-b-thin radius-semi"
36
36
  };
37
- const _hoisted_11 = /* @__PURE__ */ vue.createElementVNode("h4", { class: "mn-b-small" }, "Read Previous", -1);
38
- const _hoisted_12 = {
37
+ const _hoisted_11 = {
39
38
  key: 1,
40
39
  class: "bg-white pd-medium mn-b-thin radius-semi"
41
40
  };
42
- const _hoisted_13 = /* @__PURE__ */ vue.createElementVNode("h4", { class: "mn-b-small pd-micro" }, "Table of Contents", -1);
43
- const _hoisted_14 = {
41
+ const _hoisted_12 = {
44
42
  key: 2,
45
43
  class: "bg-white pd-medium mn-b-thin radius-semi"
46
44
  };
47
- const _hoisted_15 = /* @__PURE__ */ vue.createElementVNode("h4", { class: "mn-b-small" }, "Read Next", -1);
48
45
  const _sfc_main = {
49
46
  __name: "Page",
50
47
  setup(__props) {
@@ -129,15 +126,15 @@ const _sfc_main = {
129
126
  }, null, 8, ["content"]),
130
127
  vue.createElementVNode("div", _hoisted_9, [
131
128
  navigationPages.value.previousPage ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
132
- _hoisted_11,
129
+ _cache[0] || (_cache[0] = vue.createElementVNode("h4", { class: "mn-b-small" }, "Read Previous", -1)),
133
130
  vue.createVNode(CardPage.default, {
134
131
  page: navigationPages.value.previousPage,
135
132
  showChildren: false,
136
133
  class: "h3 t-main bg-white mn-b-thin radius-semi"
137
134
  }, null, 8, ["page"])
138
135
  ])) : vue.createCommentVNode("", true),
139
- navigationPages.value.children.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
140
- _hoisted_13,
136
+ navigationPages.value.children.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, [
137
+ _cache[1] || (_cache[1] = vue.createElementVNode("h4", { class: "mn-b-small pd-micro" }, "Table of Contents", -1)),
141
138
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(navigationPages.value.children, (childPage) => {
142
139
  return vue.openBlock(), vue.createBlock(CardPage.default, {
143
140
  key: childPage.id,
@@ -146,8 +143,8 @@ const _sfc_main = {
146
143
  }, null, 8, ["page"]);
147
144
  }), 128))
148
145
  ])) : vue.createCommentVNode("", true),
149
- navigationPages.value.nextPage ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
150
- _hoisted_15,
146
+ navigationPages.value.nextPage ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
147
+ _cache[2] || (_cache[2] = vue.createElementVNode("h4", { class: "mn-b-small" }, "Read Next", -1)),
151
148
  vue.createVNode(CardPage.default, {
152
149
  page: navigationPages.value.nextPage,
153
150
  class: "h3 t-main bg-white mn-b-thin radius-semi",
@@ -1 +1 @@
1
- {"version":3,"file":"Page.vue.cjs","sources":["../../../../../../../../src/modules/pages/views/components/pages/Page.vue"],"sourcesContent":["<template>\n \n <div v-if=\"page && page.content\" style=\"overflow: clip\" class=\" bg-light pos-relative\"> \n \n <div class=\"pd-medium pos-sticky mobile-only z-index-1 pos-t-0 bg-light w-100 br-b br-solid br-black-transp-10\">\n <button @click=\"showMenu\" class=\"cursor-pointer\">\n {{ isMenuOpen === false ? 'Show Menu' : 'Hide Menu' }}\n </button>\n </div>\n\n <div v-if=\"isMenuOpen\" class=\"z-index-0 pos-relative\">\n <ul \n class=\"transition-ease-in-out w-100 bg-light\"\n >\n <CardPage \n :page=\"pageParent\" \n :hasAdminRights=\"hasAdminRights\"\n class=\"pd-thin\"\n />\n </ul> \n </div>\n\n <div v-if=\"!isMenuOpen\" class=\"cols-2-1_3 h-100 bg-light z-index-0 pos-relative\">\n\n <div v-if=\"pageParent.url !== page.url\" class=\"desktop-only h-100 bg-white o-scroll z-index-0 pos-relative\">\n <ul \n class=\"transition-ease-in-out w-100 bg-light\"\n >\n <CardPage \n :page=\"pageParent\" \n :hasAdminRights=\"hasAdminRights\"\n class=\"bg-white pd-thin\"\n />\n </ul> \n </div>\n\n <div class=\"o-scroll pd-medium\">\n <Viewer\n :content=\"page.content\"\n class=\"\"\n />\n\n <div class=\"gap-thin cols-2\">\n <div v-if=\"navigationPages.previousPage\" class=\"bg-white pd-medium mn-b-thin radius-semi \">\n <h4 class=\"mn-b-small\" >Read Previous</h4>\n\n <CardPage \n :page=\"navigationPages.previousPage\" \n :showChildren=\"false\"\n class=\"h3 t-main bg-white mn-b-thin radius-semi\"\n />\n </div>\n\n <div v-if=\"navigationPages.children.length > 0\" class=\"bg-white pd-medium mn-b-thin radius-semi \">\n <h4 class=\"mn-b-small pd-micro \">Table of Contents</h4>\n <CardPage \n v-for=\"childPage in navigationPages.children\" \n :key=\"childPage.id\"\n :page=\"childPage\" \n class=\"bg-white pd-micro radius-semi\"\n />\n </div>\n\n <div v-if=\"navigationPages.nextPage\" class=\"bg-white pd-medium mn-b-thin radius-semi\">\n <h4 class=\"mn-b-small\" >Read Next</h4>\n <CardPage \n :page=\"navigationPages.nextPage\" \n class=\"h3 t-main bg-white mn-b-thin radius-semi\"\n :showChildren=\"false\"\n />\n </div>\n </div>\n </div>\n\n </div>\n </div>\n</template>\n\n<script setup>\n // Import libs\n import { computed, onMounted, ref, onServerPrefetch } from 'vue'\n\n import { useRoute } from 'vue-router'\n import { useI18n } from 'vue-i18n'\n\n import Viewer from '@pf/src/modules/constructor/components/sections/Viewer.vue';\n\n import CardPage from '../blocks/CardPage.vue'\n\n import * as pages from '../../store/pages';\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n import { useGlobalMixins } from \"@pf/src/modules/globals/views/mixins/mixins.js\"\n\n const isMenuOpen = ref(false)\n\n function showMenu () {\n isMenuOpen.value = !isMenuOpen.value\n }\n\n function flattenTree(tree) {\n const pages = [];\n\n function recursiveFlatten(nodes, parent = null) {\n for (const node of nodes) {\n pages.push({ ...node, parent }); // Сохраняем родителя для каждого узла\n if (node.children.length > 0) {\n recursiveFlatten(node.children, node);\n }\n }\n }\n\n recursiveFlatten(tree.children);\n return pages;\n }\n\n // Получаем плоский список всех страниц\n const allPages = computed(() => flattenTree(pageParent.value));\n\n // Вычисляемая функция для нахождения предыдущей и следующей страниц\n const navigationPages = computed(() => {\n // Если текущая страница - рутовая\n if (page.value._id === pageParent.value._id) {\n return { children: page.value.children, previousPage: null, nextPage: null };\n }\n\n const currentIndex = allPages.value.findIndex(p => p._id === page.value._id);\n \n const previousPage = currentIndex > 0 \n ? allPages.value[currentIndex - 1] \n : pageParent.value; // Если нет предыдущего, берем родителя\n \n const nextPage = currentIndex < allPages.value.length - 1 \n ? allPages.value[currentIndex + 1] \n : null;\n\n return { previousPage, nextPage, children: [] };\n });\n\n const { \n normalizeUrlParam, \n joinArrayToUrl,\n isAdmin\n } = useGlobalMixins()\n\n const hasAdminRights = computed(() => {\n return isAdmin(auth.state.access.roles)\n })\n\n const { t, locale } = useI18n()\n\n const route = useRoute()\n\n const pageParent = ref(null)\n const page = ref(null)\n\n onMounted(async () => {\n let urlParent = route.params.url\n if (urlParent.length > 0) urlParent = urlParent[0]\n\n pageParent.value = await pages.actions.read({url: urlParent})\n\n let url = route.params.url\n if (url.length > 0) url = joinArrayToUrl(url)\n \n page.value = await pages.actions.read({url: url}) \n })\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["ref","pages","computed","useGlobalMixins","auth.state","useI18n","useRoute","onMounted","pages.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FE,UAAM,aAAaA,IAAG,IAAC,KAAK;AAE5B,aAAS,WAAY;AACnB,iBAAW,QAAQ,CAAC,WAAW;AAAA,IAChC;AAED,aAAS,YAAY,MAAM;AACzB,YAAMC,SAAQ,CAAA;AAEd,eAAS,iBAAiB,OAAO,SAAS,MAAM;AAC9C,mBAAW,QAAQ,OAAO;AACxB,UAAAA,OAAM,KAAK,EAAE,GAAG,MAAM,OAAQ,CAAA;AAC9B,cAAI,KAAK,SAAS,SAAS,GAAG;AAC5B,6BAAiB,KAAK,UAAU,IAAI;AAAA,UACrC;AAAA,QACF;AAAA,MACF;AAED,uBAAiB,KAAK,QAAQ;AAC9B,aAAOA;AAAA,IACR;AAGD,UAAM,WAAWC,IAAAA,SAAS,MAAM,YAAY,WAAW,KAAK,CAAC;AAG7D,UAAM,kBAAkBA,IAAAA,SAAS,MAAM;AAErC,UAAI,KAAK,MAAM,QAAQ,WAAW,MAAM,KAAK;AAC3C,eAAO,EAAE,UAAU,KAAK,MAAM,UAAU,cAAc,MAAM,UAAU;MACvE;AAED,YAAM,eAAe,SAAS,MAAM,UAAU,OAAK,EAAE,QAAQ,KAAK,MAAM,GAAG;AAE3E,YAAM,eAAe,eAAe,IAChC,SAAS,MAAM,eAAe,CAAC,IAC/B,WAAW;AAEf,YAAM,WAAW,eAAe,SAAS,MAAM,SAAS,IACpD,SAAS,MAAM,eAAe,CAAC,IAC/B;AAEJ,aAAO,EAAE,cAAc,UAAU,UAAU,CAAE,EAAA;AAAA,IACjD,CAAG;AAED,UAAM;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,IACD,IAAGC,uBAAiB;AAErB,UAAM,iBAAiBD,IAAAA,SAAS,MAAM;AACpC,aAAO,QAAQE,KAAAA,MAAW,OAAO,KAAK;AAAA,IAC1C,CAAG;AAEqBC,oBAAS;AAE/B,UAAM,QAAQC,UAAAA,SAAU;AAExB,UAAM,aAAaN,IAAG,IAAC,IAAI;AAC3B,UAAM,OAAOA,IAAG,IAAC,IAAI;AAErBO,QAAAA,UAAU,YAAY;AACpB,UAAI,YAAY,MAAM,OAAO;AAC7B,UAAI,UAAU,SAAS,EAAG,aAAY,UAAU,CAAC;AAEjD,iBAAW,QAAQ,MAAMC,MAAa,QAAC,KAAK,EAAC,KAAK,UAAS,CAAC;AAE5D,UAAI,MAAM,MAAM,OAAO;AACvB,UAAI,IAAI,SAAS,EAAG,OAAM,eAAe,GAAG;AAE5C,WAAK,QAAQ,MAAMA,MAAa,QAAC,KAAK,EAAC,IAAQ,CAAC;AAAA,IACpD,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Page.vue.cjs","sources":["../../../../../../../../src/modules/pages/views/components/pages/Page.vue"],"sourcesContent":["<template>\n \n <div v-if=\"page && page.content\" style=\"overflow: clip\" class=\" bg-light pos-relative\"> \n \n <div class=\"pd-medium pos-sticky mobile-only z-index-1 pos-t-0 bg-light w-100 br-b br-solid br-black-transp-10\">\n <button @click=\"showMenu\" class=\"cursor-pointer\">\n {{ isMenuOpen === false ? 'Show Menu' : 'Hide Menu' }}\n </button>\n </div>\n\n <div v-if=\"isMenuOpen\" class=\"z-index-0 pos-relative\">\n <ul \n class=\"transition-ease-in-out w-100 bg-light\"\n >\n <CardPage \n :page=\"pageParent\" \n :hasAdminRights=\"hasAdminRights\"\n class=\"pd-thin\"\n />\n </ul> \n </div>\n\n <div v-if=\"!isMenuOpen\" class=\"cols-2-1_3 h-100 bg-light z-index-0 pos-relative\">\n\n <div v-if=\"pageParent.url !== page.url\" class=\"desktop-only h-100 bg-white o-scroll z-index-0 pos-relative\">\n <ul \n class=\"transition-ease-in-out w-100 bg-light\"\n >\n <CardPage \n :page=\"pageParent\" \n :hasAdminRights=\"hasAdminRights\"\n class=\"bg-white pd-thin\"\n />\n </ul> \n </div>\n\n <div class=\"o-scroll pd-medium\">\n <Viewer\n :content=\"page.content\"\n class=\"\"\n />\n\n <div class=\"gap-thin cols-2\">\n <div v-if=\"navigationPages.previousPage\" class=\"bg-white pd-medium mn-b-thin radius-semi \">\n <h4 class=\"mn-b-small\" >Read Previous</h4>\n\n <CardPage \n :page=\"navigationPages.previousPage\" \n :showChildren=\"false\"\n class=\"h3 t-main bg-white mn-b-thin radius-semi\"\n />\n </div>\n\n <div v-if=\"navigationPages.children.length > 0\" class=\"bg-white pd-medium mn-b-thin radius-semi \">\n <h4 class=\"mn-b-small pd-micro \">Table of Contents</h4>\n <CardPage \n v-for=\"childPage in navigationPages.children\" \n :key=\"childPage.id\"\n :page=\"childPage\" \n class=\"bg-white pd-micro radius-semi\"\n />\n </div>\n\n <div v-if=\"navigationPages.nextPage\" class=\"bg-white pd-medium mn-b-thin radius-semi\">\n <h4 class=\"mn-b-small\" >Read Next</h4>\n <CardPage \n :page=\"navigationPages.nextPage\" \n class=\"h3 t-main bg-white mn-b-thin radius-semi\"\n :showChildren=\"false\"\n />\n </div>\n </div>\n </div>\n\n </div>\n </div>\n</template>\n\n<script setup>\n // Import libs\n import { computed, onMounted, ref, onServerPrefetch } from 'vue'\n\n import { useRoute } from 'vue-router'\n import { useI18n } from 'vue-i18n'\n\n import Viewer from '@pf/src/modules/constructor/components/sections/Viewer.vue';\n\n import CardPage from '../blocks/CardPage.vue'\n\n import * as pages from '../../store/pages';\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n import { useGlobalMixins } from \"@pf/src/modules/globals/views/mixins/mixins.js\"\n\n const isMenuOpen = ref(false)\n\n function showMenu () {\n isMenuOpen.value = !isMenuOpen.value\n }\n\n function flattenTree(tree) {\n const pages = [];\n\n function recursiveFlatten(nodes, parent = null) {\n for (const node of nodes) {\n pages.push({ ...node, parent }); // Сохраняем родителя для каждого узла\n if (node.children.length > 0) {\n recursiveFlatten(node.children, node);\n }\n }\n }\n\n recursiveFlatten(tree.children);\n return pages;\n }\n\n // Получаем плоский список всех страниц\n const allPages = computed(() => flattenTree(pageParent.value));\n\n // Вычисляемая функция для нахождения предыдущей и следующей страниц\n const navigationPages = computed(() => {\n // Если текущая страница - рутовая\n if (page.value._id === pageParent.value._id) {\n return { children: page.value.children, previousPage: null, nextPage: null };\n }\n\n const currentIndex = allPages.value.findIndex(p => p._id === page.value._id);\n \n const previousPage = currentIndex > 0 \n ? allPages.value[currentIndex - 1] \n : pageParent.value; // Если нет предыдущего, берем родителя\n \n const nextPage = currentIndex < allPages.value.length - 1 \n ? allPages.value[currentIndex + 1] \n : null;\n\n return { previousPage, nextPage, children: [] };\n });\n\n const { \n normalizeUrlParam, \n joinArrayToUrl,\n isAdmin\n } = useGlobalMixins()\n\n const hasAdminRights = computed(() => {\n return isAdmin(auth.state.access.roles)\n })\n\n const { t, locale } = useI18n()\n\n const route = useRoute()\n\n const pageParent = ref(null)\n const page = ref(null)\n\n onMounted(async () => {\n let urlParent = route.params.url\n if (urlParent.length > 0) urlParent = urlParent[0]\n\n pageParent.value = await pages.actions.read({url: urlParent})\n\n let url = route.params.url\n if (url.length > 0) url = joinArrayToUrl(url)\n \n page.value = await pages.actions.read({url: url}) \n })\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["ref","pages","computed","useGlobalMixins","auth.state","useI18n","useRoute","onMounted","pages.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FE,UAAM,aAAaA,IAAG,IAAC,KAAK;AAE5B,aAAS,WAAY;AACnB,iBAAW,QAAQ,CAAC,WAAW;AAAA,IAChC;AAED,aAAS,YAAY,MAAM;AACzB,YAAMC,SAAQ,CAAA;AAEd,eAAS,iBAAiB,OAAO,SAAS,MAAM;AAC9C,mBAAW,QAAQ,OAAO;AACxB,UAAAA,OAAM,KAAK,EAAE,GAAG,MAAM,OAAQ,CAAA;AAC9B,cAAI,KAAK,SAAS,SAAS,GAAG;AAC5B,6BAAiB,KAAK,UAAU,IAAI;AAAA,UACrC;AAAA,QACF;AAAA,MACF;AAED,uBAAiB,KAAK,QAAQ;AAC9B,aAAOA;AAAA,IACR;AAGD,UAAM,WAAWC,IAAAA,SAAS,MAAM,YAAY,WAAW,KAAK,CAAC;AAG7D,UAAM,kBAAkBA,IAAAA,SAAS,MAAM;AAErC,UAAI,KAAK,MAAM,QAAQ,WAAW,MAAM,KAAK;AAC3C,eAAO,EAAE,UAAU,KAAK,MAAM,UAAU,cAAc,MAAM,UAAU;MACvE;AAED,YAAM,eAAe,SAAS,MAAM,UAAU,OAAK,EAAE,QAAQ,KAAK,MAAM,GAAG;AAE3E,YAAM,eAAe,eAAe,IAChC,SAAS,MAAM,eAAe,CAAC,IAC/B,WAAW;AAEf,YAAM,WAAW,eAAe,SAAS,MAAM,SAAS,IACpD,SAAS,MAAM,eAAe,CAAC,IAC/B;AAEJ,aAAO,EAAE,cAAc,UAAU,UAAU,CAAE,EAAA;AAAA,IACjD,CAAG;AAED,UAAM;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,IACD,IAAGC,uBAAiB;AAErB,UAAM,iBAAiBD,IAAAA,SAAS,MAAM;AACpC,aAAO,QAAQE,KAAAA,MAAW,OAAO,KAAK;AAAA,IAC1C,CAAG;AAEqBC,oBAAS;AAE/B,UAAM,QAAQC,UAAAA,SAAU;AAExB,UAAM,aAAaN,IAAG,IAAC,IAAI;AAC3B,UAAM,OAAOA,IAAG,IAAC,IAAI;AAErBO,QAAAA,UAAU,YAAY;AACpB,UAAI,YAAY,MAAM,OAAO;AAC7B,UAAI,UAAU,SAAS,EAAG,aAAY,UAAU,CAAC;AAEjD,iBAAW,QAAQ,MAAMC,MAAa,QAAC,KAAK,EAAC,KAAK,UAAS,CAAC;AAE5D,UAAI,MAAM,MAAM,OAAO;AACvB,UAAI,IAAI,SAAS,EAAG,OAAM,eAAe,GAAG;AAE5C,WAAK,QAAQ,MAAMA,MAAa,QAAC,KAAK,EAAC,IAAQ,CAAC;AAAA,IACpD,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -32,17 +32,14 @@ const _hoisted_10 = {
32
32
  key: 0,
33
33
  class: "bg-white pd-medium mn-b-thin radius-semi"
34
34
  };
35
- const _hoisted_11 = /* @__PURE__ */ createElementVNode("h4", { class: "mn-b-small" }, "Read Previous", -1);
36
- const _hoisted_12 = {
35
+ const _hoisted_11 = {
37
36
  key: 1,
38
37
  class: "bg-white pd-medium mn-b-thin radius-semi"
39
38
  };
40
- const _hoisted_13 = /* @__PURE__ */ createElementVNode("h4", { class: "mn-b-small pd-micro" }, "Table of Contents", -1);
41
- const _hoisted_14 = {
39
+ const _hoisted_12 = {
42
40
  key: 2,
43
41
  class: "bg-white pd-medium mn-b-thin radius-semi"
44
42
  };
45
- const _hoisted_15 = /* @__PURE__ */ createElementVNode("h4", { class: "mn-b-small" }, "Read Next", -1);
46
43
  const _sfc_main = {
47
44
  __name: "Page",
48
45
  setup(__props) {
@@ -127,15 +124,15 @@ const _sfc_main = {
127
124
  }, null, 8, ["content"]),
128
125
  createElementVNode("div", _hoisted_9, [
129
126
  navigationPages.value.previousPage ? (openBlock(), createElementBlock("div", _hoisted_10, [
130
- _hoisted_11,
127
+ _cache[0] || (_cache[0] = createElementVNode("h4", { class: "mn-b-small" }, "Read Previous", -1)),
131
128
  createVNode(_sfc_main$1, {
132
129
  page: navigationPages.value.previousPage,
133
130
  showChildren: false,
134
131
  class: "h3 t-main bg-white mn-b-thin radius-semi"
135
132
  }, null, 8, ["page"])
136
133
  ])) : createCommentVNode("", true),
137
- navigationPages.value.children.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_12, [
138
- _hoisted_13,
134
+ navigationPages.value.children.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_11, [
135
+ _cache[1] || (_cache[1] = createElementVNode("h4", { class: "mn-b-small pd-micro" }, "Table of Contents", -1)),
139
136
  (openBlock(true), createElementBlock(Fragment, null, renderList(navigationPages.value.children, (childPage) => {
140
137
  return openBlock(), createBlock(_sfc_main$1, {
141
138
  key: childPage.id,
@@ -144,8 +141,8 @@ const _sfc_main = {
144
141
  }, null, 8, ["page"]);
145
142
  }), 128))
146
143
  ])) : createCommentVNode("", true),
147
- navigationPages.value.nextPage ? (openBlock(), createElementBlock("div", _hoisted_14, [
148
- _hoisted_15,
144
+ navigationPages.value.nextPage ? (openBlock(), createElementBlock("div", _hoisted_12, [
145
+ _cache[2] || (_cache[2] = createElementVNode("h4", { class: "mn-b-small" }, "Read Next", -1)),
149
146
  createVNode(_sfc_main$1, {
150
147
  page: navigationPages.value.nextPage,
151
148
  class: "h3 t-main bg-white mn-b-thin radius-semi",
@@ -1 +1 @@
1
- {"version":3,"file":"Page.vue.js","sources":["../../../../../../../../src/modules/pages/views/components/pages/Page.vue"],"sourcesContent":["<template>\n \n <div v-if=\"page && page.content\" style=\"overflow: clip\" class=\" bg-light pos-relative\"> \n \n <div class=\"pd-medium pos-sticky mobile-only z-index-1 pos-t-0 bg-light w-100 br-b br-solid br-black-transp-10\">\n <button @click=\"showMenu\" class=\"cursor-pointer\">\n {{ isMenuOpen === false ? 'Show Menu' : 'Hide Menu' }}\n </button>\n </div>\n\n <div v-if=\"isMenuOpen\" class=\"z-index-0 pos-relative\">\n <ul \n class=\"transition-ease-in-out w-100 bg-light\"\n >\n <CardPage \n :page=\"pageParent\" \n :hasAdminRights=\"hasAdminRights\"\n class=\"pd-thin\"\n />\n </ul> \n </div>\n\n <div v-if=\"!isMenuOpen\" class=\"cols-2-1_3 h-100 bg-light z-index-0 pos-relative\">\n\n <div v-if=\"pageParent.url !== page.url\" class=\"desktop-only h-100 bg-white o-scroll z-index-0 pos-relative\">\n <ul \n class=\"transition-ease-in-out w-100 bg-light\"\n >\n <CardPage \n :page=\"pageParent\" \n :hasAdminRights=\"hasAdminRights\"\n class=\"bg-white pd-thin\"\n />\n </ul> \n </div>\n\n <div class=\"o-scroll pd-medium\">\n <Viewer\n :content=\"page.content\"\n class=\"\"\n />\n\n <div class=\"gap-thin cols-2\">\n <div v-if=\"navigationPages.previousPage\" class=\"bg-white pd-medium mn-b-thin radius-semi \">\n <h4 class=\"mn-b-small\" >Read Previous</h4>\n\n <CardPage \n :page=\"navigationPages.previousPage\" \n :showChildren=\"false\"\n class=\"h3 t-main bg-white mn-b-thin radius-semi\"\n />\n </div>\n\n <div v-if=\"navigationPages.children.length > 0\" class=\"bg-white pd-medium mn-b-thin radius-semi \">\n <h4 class=\"mn-b-small pd-micro \">Table of Contents</h4>\n <CardPage \n v-for=\"childPage in navigationPages.children\" \n :key=\"childPage.id\"\n :page=\"childPage\" \n class=\"bg-white pd-micro radius-semi\"\n />\n </div>\n\n <div v-if=\"navigationPages.nextPage\" class=\"bg-white pd-medium mn-b-thin radius-semi\">\n <h4 class=\"mn-b-small\" >Read Next</h4>\n <CardPage \n :page=\"navigationPages.nextPage\" \n class=\"h3 t-main bg-white mn-b-thin radius-semi\"\n :showChildren=\"false\"\n />\n </div>\n </div>\n </div>\n\n </div>\n </div>\n</template>\n\n<script setup>\n // Import libs\n import { computed, onMounted, ref, onServerPrefetch } from 'vue'\n\n import { useRoute } from 'vue-router'\n import { useI18n } from 'vue-i18n'\n\n import Viewer from '@pf/src/modules/constructor/components/sections/Viewer.vue';\n\n import CardPage from '../blocks/CardPage.vue'\n\n import * as pages from '../../store/pages';\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n import { useGlobalMixins } from \"@pf/src/modules/globals/views/mixins/mixins.js\"\n\n const isMenuOpen = ref(false)\n\n function showMenu () {\n isMenuOpen.value = !isMenuOpen.value\n }\n\n function flattenTree(tree) {\n const pages = [];\n\n function recursiveFlatten(nodes, parent = null) {\n for (const node of nodes) {\n pages.push({ ...node, parent }); // Сохраняем родителя для каждого узла\n if (node.children.length > 0) {\n recursiveFlatten(node.children, node);\n }\n }\n }\n\n recursiveFlatten(tree.children);\n return pages;\n }\n\n // Получаем плоский список всех страниц\n const allPages = computed(() => flattenTree(pageParent.value));\n\n // Вычисляемая функция для нахождения предыдущей и следующей страниц\n const navigationPages = computed(() => {\n // Если текущая страница - рутовая\n if (page.value._id === pageParent.value._id) {\n return { children: page.value.children, previousPage: null, nextPage: null };\n }\n\n const currentIndex = allPages.value.findIndex(p => p._id === page.value._id);\n \n const previousPage = currentIndex > 0 \n ? allPages.value[currentIndex - 1] \n : pageParent.value; // Если нет предыдущего, берем родителя\n \n const nextPage = currentIndex < allPages.value.length - 1 \n ? allPages.value[currentIndex + 1] \n : null;\n\n return { previousPage, nextPage, children: [] };\n });\n\n const { \n normalizeUrlParam, \n joinArrayToUrl,\n isAdmin\n } = useGlobalMixins()\n\n const hasAdminRights = computed(() => {\n return isAdmin(auth.state.access.roles)\n })\n\n const { t, locale } = useI18n()\n\n const route = useRoute()\n\n const pageParent = ref(null)\n const page = ref(null)\n\n onMounted(async () => {\n let urlParent = route.params.url\n if (urlParent.length > 0) urlParent = urlParent[0]\n\n pageParent.value = await pages.actions.read({url: urlParent})\n\n let url = route.params.url\n if (url.length > 0) url = joinArrayToUrl(url)\n \n page.value = await pages.actions.read({url: url}) \n })\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["auth.state","pages.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FE,UAAM,aAAa,IAAI,KAAK;AAE5B,aAAS,WAAY;AACnB,iBAAW,QAAQ,CAAC,WAAW;AAAA,IAChC;AAED,aAAS,YAAY,MAAM;AACzB,YAAM,QAAQ,CAAA;AAEd,eAAS,iBAAiB,OAAO,SAAS,MAAM;AAC9C,mBAAW,QAAQ,OAAO;AACxB,gBAAM,KAAK,EAAE,GAAG,MAAM,OAAQ,CAAA;AAC9B,cAAI,KAAK,SAAS,SAAS,GAAG;AAC5B,6BAAiB,KAAK,UAAU,IAAI;AAAA,UACrC;AAAA,QACF;AAAA,MACF;AAED,uBAAiB,KAAK,QAAQ;AAC9B,aAAO;AAAA,IACR;AAGD,UAAM,WAAW,SAAS,MAAM,YAAY,WAAW,KAAK,CAAC;AAG7D,UAAM,kBAAkB,SAAS,MAAM;AAErC,UAAI,KAAK,MAAM,QAAQ,WAAW,MAAM,KAAK;AAC3C,eAAO,EAAE,UAAU,KAAK,MAAM,UAAU,cAAc,MAAM,UAAU;MACvE;AAED,YAAM,eAAe,SAAS,MAAM,UAAU,OAAK,EAAE,QAAQ,KAAK,MAAM,GAAG;AAE3E,YAAM,eAAe,eAAe,IAChC,SAAS,MAAM,eAAe,CAAC,IAC/B,WAAW;AAEf,YAAM,WAAW,eAAe,SAAS,MAAM,SAAS,IACpD,SAAS,MAAM,eAAe,CAAC,IAC/B;AAEJ,aAAO,EAAE,cAAc,UAAU,UAAU,CAAE,EAAA;AAAA,IACjD,CAAG;AAED,UAAM;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,IACD,IAAG,gBAAiB;AAErB,UAAM,iBAAiB,SAAS,MAAM;AACpC,aAAO,QAAQA,MAAW,OAAO,KAAK;AAAA,IAC1C,CAAG;AAEqB,YAAS;AAE/B,UAAM,QAAQ,SAAU;AAExB,UAAM,aAAa,IAAI,IAAI;AAC3B,UAAM,OAAO,IAAI,IAAI;AAErB,cAAU,YAAY;AACpB,UAAI,YAAY,MAAM,OAAO;AAC7B,UAAI,UAAU,SAAS,EAAG,aAAY,UAAU,CAAC;AAEjD,iBAAW,QAAQ,MAAMC,QAAc,KAAK,EAAC,KAAK,UAAS,CAAC;AAE5D,UAAI,MAAM,MAAM,OAAO;AACvB,UAAI,IAAI,SAAS,EAAG,OAAM,eAAe,GAAG;AAE5C,WAAK,QAAQ,MAAMA,QAAc,KAAK,EAAC,IAAQ,CAAC;AAAA,IACpD,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Page.vue.js","sources":["../../../../../../../../src/modules/pages/views/components/pages/Page.vue"],"sourcesContent":["<template>\n \n <div v-if=\"page && page.content\" style=\"overflow: clip\" class=\" bg-light pos-relative\"> \n \n <div class=\"pd-medium pos-sticky mobile-only z-index-1 pos-t-0 bg-light w-100 br-b br-solid br-black-transp-10\">\n <button @click=\"showMenu\" class=\"cursor-pointer\">\n {{ isMenuOpen === false ? 'Show Menu' : 'Hide Menu' }}\n </button>\n </div>\n\n <div v-if=\"isMenuOpen\" class=\"z-index-0 pos-relative\">\n <ul \n class=\"transition-ease-in-out w-100 bg-light\"\n >\n <CardPage \n :page=\"pageParent\" \n :hasAdminRights=\"hasAdminRights\"\n class=\"pd-thin\"\n />\n </ul> \n </div>\n\n <div v-if=\"!isMenuOpen\" class=\"cols-2-1_3 h-100 bg-light z-index-0 pos-relative\">\n\n <div v-if=\"pageParent.url !== page.url\" class=\"desktop-only h-100 bg-white o-scroll z-index-0 pos-relative\">\n <ul \n class=\"transition-ease-in-out w-100 bg-light\"\n >\n <CardPage \n :page=\"pageParent\" \n :hasAdminRights=\"hasAdminRights\"\n class=\"bg-white pd-thin\"\n />\n </ul> \n </div>\n\n <div class=\"o-scroll pd-medium\">\n <Viewer\n :content=\"page.content\"\n class=\"\"\n />\n\n <div class=\"gap-thin cols-2\">\n <div v-if=\"navigationPages.previousPage\" class=\"bg-white pd-medium mn-b-thin radius-semi \">\n <h4 class=\"mn-b-small\" >Read Previous</h4>\n\n <CardPage \n :page=\"navigationPages.previousPage\" \n :showChildren=\"false\"\n class=\"h3 t-main bg-white mn-b-thin radius-semi\"\n />\n </div>\n\n <div v-if=\"navigationPages.children.length > 0\" class=\"bg-white pd-medium mn-b-thin radius-semi \">\n <h4 class=\"mn-b-small pd-micro \">Table of Contents</h4>\n <CardPage \n v-for=\"childPage in navigationPages.children\" \n :key=\"childPage.id\"\n :page=\"childPage\" \n class=\"bg-white pd-micro radius-semi\"\n />\n </div>\n\n <div v-if=\"navigationPages.nextPage\" class=\"bg-white pd-medium mn-b-thin radius-semi\">\n <h4 class=\"mn-b-small\" >Read Next</h4>\n <CardPage \n :page=\"navigationPages.nextPage\" \n class=\"h3 t-main bg-white mn-b-thin radius-semi\"\n :showChildren=\"false\"\n />\n </div>\n </div>\n </div>\n\n </div>\n </div>\n</template>\n\n<script setup>\n // Import libs\n import { computed, onMounted, ref, onServerPrefetch } from 'vue'\n\n import { useRoute } from 'vue-router'\n import { useI18n } from 'vue-i18n'\n\n import Viewer from '@pf/src/modules/constructor/components/sections/Viewer.vue';\n\n import CardPage from '../blocks/CardPage.vue'\n\n import * as pages from '../../store/pages';\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n\n import { useGlobalMixins } from \"@pf/src/modules/globals/views/mixins/mixins.js\"\n\n const isMenuOpen = ref(false)\n\n function showMenu () {\n isMenuOpen.value = !isMenuOpen.value\n }\n\n function flattenTree(tree) {\n const pages = [];\n\n function recursiveFlatten(nodes, parent = null) {\n for (const node of nodes) {\n pages.push({ ...node, parent }); // Сохраняем родителя для каждого узла\n if (node.children.length > 0) {\n recursiveFlatten(node.children, node);\n }\n }\n }\n\n recursiveFlatten(tree.children);\n return pages;\n }\n\n // Получаем плоский список всех страниц\n const allPages = computed(() => flattenTree(pageParent.value));\n\n // Вычисляемая функция для нахождения предыдущей и следующей страниц\n const navigationPages = computed(() => {\n // Если текущая страница - рутовая\n if (page.value._id === pageParent.value._id) {\n return { children: page.value.children, previousPage: null, nextPage: null };\n }\n\n const currentIndex = allPages.value.findIndex(p => p._id === page.value._id);\n \n const previousPage = currentIndex > 0 \n ? allPages.value[currentIndex - 1] \n : pageParent.value; // Если нет предыдущего, берем родителя\n \n const nextPage = currentIndex < allPages.value.length - 1 \n ? allPages.value[currentIndex + 1] \n : null;\n\n return { previousPage, nextPage, children: [] };\n });\n\n const { \n normalizeUrlParam, \n joinArrayToUrl,\n isAdmin\n } = useGlobalMixins()\n\n const hasAdminRights = computed(() => {\n return isAdmin(auth.state.access.roles)\n })\n\n const { t, locale } = useI18n()\n\n const route = useRoute()\n\n const pageParent = ref(null)\n const page = ref(null)\n\n onMounted(async () => {\n let urlParent = route.params.url\n if (urlParent.length > 0) urlParent = urlParent[0]\n\n pageParent.value = await pages.actions.read({url: urlParent})\n\n let url = route.params.url\n if (url.length > 0) url = joinArrayToUrl(url)\n \n page.value = await pages.actions.read({url: url}) \n })\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["auth.state","pages.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FE,UAAM,aAAa,IAAI,KAAK;AAE5B,aAAS,WAAY;AACnB,iBAAW,QAAQ,CAAC,WAAW;AAAA,IAChC;AAED,aAAS,YAAY,MAAM;AACzB,YAAM,QAAQ,CAAA;AAEd,eAAS,iBAAiB,OAAO,SAAS,MAAM;AAC9C,mBAAW,QAAQ,OAAO;AACxB,gBAAM,KAAK,EAAE,GAAG,MAAM,OAAQ,CAAA;AAC9B,cAAI,KAAK,SAAS,SAAS,GAAG;AAC5B,6BAAiB,KAAK,UAAU,IAAI;AAAA,UACrC;AAAA,QACF;AAAA,MACF;AAED,uBAAiB,KAAK,QAAQ;AAC9B,aAAO;AAAA,IACR;AAGD,UAAM,WAAW,SAAS,MAAM,YAAY,WAAW,KAAK,CAAC;AAG7D,UAAM,kBAAkB,SAAS,MAAM;AAErC,UAAI,KAAK,MAAM,QAAQ,WAAW,MAAM,KAAK;AAC3C,eAAO,EAAE,UAAU,KAAK,MAAM,UAAU,cAAc,MAAM,UAAU;MACvE;AAED,YAAM,eAAe,SAAS,MAAM,UAAU,OAAK,EAAE,QAAQ,KAAK,MAAM,GAAG;AAE3E,YAAM,eAAe,eAAe,IAChC,SAAS,MAAM,eAAe,CAAC,IAC/B,WAAW;AAEf,YAAM,WAAW,eAAe,SAAS,MAAM,SAAS,IACpD,SAAS,MAAM,eAAe,CAAC,IAC/B;AAEJ,aAAO,EAAE,cAAc,UAAU,UAAU,CAAE,EAAA;AAAA,IACjD,CAAG;AAED,UAAM;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,IACD,IAAG,gBAAiB;AAErB,UAAM,iBAAiB,SAAS,MAAM;AACpC,aAAO,QAAQA,MAAW,OAAO,KAAK;AAAA,IAC1C,CAAG;AAEqB,YAAS;AAE/B,UAAM,QAAQ,SAAU;AAExB,UAAM,aAAa,IAAI,IAAI;AAC3B,UAAM,OAAO,IAAI,IAAI;AAErB,cAAU,YAAY;AACpB,UAAI,YAAY,MAAM,OAAO;AAC7B,UAAI,UAAU,SAAS,EAAG,aAAY,UAAU,CAAC;AAEjD,iBAAW,QAAQ,MAAMC,QAAc,KAAK,EAAC,KAAK,UAAS,CAAC;AAE5D,UAAI,MAAM,MAAM,OAAO;AACvB,UAAI,IAAI,SAAS,EAAG,OAAM,eAAe,GAAG;AAE5C,WAAK,QAAQ,MAAMA,QAAc,KAAK,EAAC,IAAQ,CAAC;AAAA,IACpD,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -89,18 +89,18 @@ const _sfc_main = {
89
89
  callback: () => deletePageCallback(),
90
90
  class: "t-nowrap bg-second w-max"
91
91
  }, {
92
- default: vue.withCtx(() => [
92
+ default: vue.withCtx(() => _cache[1] || (_cache[1] = [
93
93
  vue.createTextVNode(" Delete ")
94
- ]),
94
+ ])),
95
95
  _: 1
96
96
  }, 8, ["submit", "callback"])) : vue.createCommentVNode("", true),
97
97
  vue.createVNode(Button.default, {
98
98
  submit: () => onSubmit(),
99
99
  class: "mn-l-auto t-nowrap t-white bg-black w-max"
100
100
  }, {
101
- default: vue.withCtx(() => [
101
+ default: vue.withCtx(() => _cache[2] || (_cache[2] = [
102
102
  vue.createTextVNode(" Save ")
103
- ]),
103
+ ])),
104
104
  _: 1
105
105
  }, 8, ["submit"])
106
106
  ])
@@ -87,18 +87,18 @@ const _sfc_main = {
87
87
  callback: () => deletePageCallback(),
88
88
  class: "t-nowrap bg-second w-max"
89
89
  }, {
90
- default: withCtx(() => [
90
+ default: withCtx(() => _cache[1] || (_cache[1] = [
91
91
  createTextVNode(" Delete ")
92
- ]),
92
+ ])),
93
93
  _: 1
94
94
  }, 8, ["submit", "callback"])) : createCommentVNode("", true),
95
95
  createVNode(_sfc_main$2, {
96
96
  submit: () => onSubmit(),
97
97
  class: "mn-l-auto t-nowrap t-white bg-black w-max"
98
98
  }, {
99
- default: withCtx(() => [
99
+ default: withCtx(() => _cache[2] || (_cache[2] = [
100
100
  createTextVNode(" Save ")
101
- ]),
101
+ ])),
102
102
  _: 1
103
103
  }, 8, ["submit"])
104
104
  ])
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const vueRouter = require("vue-router");
5
5
  const Block = require("../../../../../components/Block/Block.vue.cjs");
6
- const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
6
+ const Popup = require("../../../../../components/Popup/Popup.vue2.cjs");
7
7
  const Button = require("../../../../../components/Button/Button.vue.cjs");
8
8
  const Constructor = require("../../../../constructor/components/sections/Constructor.vue.cjs");
9
9
  const CardPage = require("../blocks/CardPage.vue.cjs");
@@ -85,9 +85,9 @@ const _sfc_main = {
85
85
  submit: () => onSubmit(),
86
86
  class: "mn-l-auto t-nowrap t-white bg-black w-max"
87
87
  }, {
88
- default: vue.withCtx(() => [
88
+ default: vue.withCtx(() => _cache[1] || (_cache[1] = [
89
89
  vue.createTextVNode(" Save ")
90
- ]),
90
+ ])),
91
91
  _: 1
92
92
  }, 8, ["submit"])
93
93
  ]),
@@ -1,7 +1,7 @@
1
1
  import { computed, ref, onMounted, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createVNode, createElementVNode, createTextVNode, createCommentVNode } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import _sfc_main$1 from "../../../../../components/Block/Block.vue.js";
4
- import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
4
+ import _sfc_main$3 from "../../../../../components/Popup/Popup.vue2.js";
5
5
  import _sfc_main$5 from "../../../../../components/Button/Button.vue.js";
6
6
  import _sfc_main$4 from "../../../../constructor/components/sections/Constructor.vue.js";
7
7
  import _sfc_main$2 from "../blocks/CardPage.vue.js";
@@ -83,9 +83,9 @@ const _sfc_main = {
83
83
  submit: () => onSubmit(),
84
84
  class: "mn-l-auto t-nowrap t-white bg-black w-max"
85
85
  }, {
86
- default: withCtx(() => [
86
+ default: withCtx(() => _cache[1] || (_cache[1] = [
87
87
  createTextVNode(" Save ")
88
- ]),
88
+ ])),
89
89
  _: 1
90
90
  }, 8, ["submit"])
91
91
  ]),
@@ -32,9 +32,9 @@ const _sfc_main = {
32
32
  },
33
33
  class: "mn-r-medium nav-link"
34
34
  }, {
35
- default: vue.withCtx(() => [
35
+ default: vue.withCtx(() => _cache[1] || (_cache[1] = [
36
36
  vue.createTextVNode(" Edit ")
37
- ]),
37
+ ])),
38
38
  _: 1
39
39
  }, 8, ["to"]),
40
40
  vue.createElementVNode("a", {
@@ -30,9 +30,9 @@ const _sfc_main = {
30
30
  },
31
31
  class: "mn-r-medium nav-link"
32
32
  }, {
33
- default: withCtx(() => [
33
+ default: withCtx(() => _cache[1] || (_cache[1] = [
34
34
  createTextVNode(" Edit ")
35
- ]),
35
+ ])),
36
36
  _: 1
37
37
  }, 8, ["to"]),
38
38
  createElementVNode("a", {
@@ -6,7 +6,6 @@ const CardHeader = require("../../../globals/views/components/blocks/CardHeader.
6
6
  const IconEdit = require("../../../icons/navigation/IconEdit.vue.cjs");
7
7
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
8
8
  ;/* empty css */
9
- const _withScopeId = (n) => (vue.pushScopeId("data-v-bebbf16b"), n = n(), vue.popScopeId(), n);
10
9
  const _hoisted_1 = { class: "flex-column pos-relative flex-wrap" };
11
10
  const _hoisted_2 = { class: "mn-t-small w-100 bg-white radius-small pd-small spoiler" };
12
11
  const _hoisted_3 = { class: "flex-child flex-child-shrink-0" };
@@ -29,11 +28,10 @@ const _hoisted_7 = {
29
28
  const _hoisted_8 = { key: 0 };
30
29
  const _hoisted_9 = { class: "mn-t-small w-100 mn-b-thin flex" };
31
30
  const _hoisted_10 = { class: "w-50 flex" };
32
- const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "mn-r-thin mn-l-thin t-transp" }, "|", -1));
33
- const _hoisted_12 = { class: "w-50" };
34
- const _hoisted_13 = { class: "t-transp" };
35
- const _hoisted_14 = { class: "t-right w-50" };
36
- const _hoisted_15 = { class: "t-transp" };
31
+ const _hoisted_11 = { class: "w-50" };
32
+ const _hoisted_12 = { class: "t-transp" };
33
+ const _hoisted_13 = { class: "t-right w-50" };
34
+ const _hoisted_14 = { class: "t-transp" };
37
35
  const _sfc_main = {
38
36
  __name: "CardLeftover",
39
37
  props: {
@@ -95,15 +93,15 @@ const _sfc_main = {
95
93
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
96
94
  vue.createElementVNode("div", _hoisted_10, [
97
95
  vue.createElementVNode("span", null, vue.toDisplayString(position.name), 1),
98
- _hoisted_11,
99
- vue.createElementVNode("span", _hoisted_12, [
96
+ _cache[1] || (_cache[1] = vue.createElementVNode("span", { class: "mn-r-thin mn-l-thin t-transp" }, "|", -1)),
97
+ vue.createElementVNode("span", _hoisted_11, [
100
98
  vue.createTextVNode(vue.toDisplayString(position.price) + " ", 1),
101
- vue.createElementVNode("span", _hoisted_13, vue.toDisplayString(_ctx.returnCurrency()), 1)
99
+ vue.createElementVNode("span", _hoisted_12, vue.toDisplayString(_ctx.returnCurrency()), 1)
102
100
  ])
103
101
  ]),
104
- vue.createElementVNode("div", _hoisted_14, [
102
+ vue.createElementVNode("div", _hoisted_13, [
105
103
  vue.createTextVNode(vue.toDisplayString(position.quantity) + " ", 1),
106
- vue.createElementVNode("span", _hoisted_15, vue.toDisplayString(position.type), 1)
104
+ vue.createElementVNode("span", _hoisted_14, vue.toDisplayString(position.type), 1)
107
105
  ])
108
106
  ]);
109
107
  }), 256))
@@ -1 +1 @@
1
- {"version":3,"file":"CardLeftover.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/CardLeftover.vue"],"sourcesContent":["<template>\n <div class=\"flex-column pos-relative flex-wrap\">\n\n <CardHeader \n :entity=\"leftover\"\n :entityType=\"'leftover'\"\n :user=\"user\"\n :owner=\"leftover.creator\" \n :creator=\"leftover.creator\"\n :date=\"leftover.createdAt\"\n />\n\n <router-link \n :to=\"{\n name: 'LeftoverEdit', \n params: {\n _id: leftover.organization,\n leftover: leftover._id\n }\n }\" \n class=\"\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n <div class=\"mn-t-small w-100 bg-white radius-small pd-small spoiler\">\n <div @click=\"spoiler = !spoiler\" class=\"flex-v-center flex\">\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max mn-r-thin t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin\"\n :class=\"{\n 'bg-green': leftover.type === 'stock-in',\n 'bg-red': leftover.type === 'stock-out'\n }\"\n >\n {{leftover.type}}\n </span>\n <span class=\"flex-child flex-child-shrink-0\">Positions {{leftover.positions.length}}</span>\n <span v-if=\"leftover.order\" class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n <span class=\"flex-child flex-child-shrink-0\" v-if=\"leftover.order\">For order {{leftover.order}}</span>\n <span v-if=\"leftover.comment\" class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n <p v-if=\"leftover.comment\" class=\"t-truncate\">Comment: {{leftover.comment}}</p>\n <!-- <img loading=\"lazy\" :class=\"{ 'spoiler-active': spoiler }\" class=\"button-icon\" src=\"@/assets/icons/arrow-down-spoiler.svg\"> -->\n </div>\n\n <transition name=\"fade\">\n <div v-if=\"spoiler\">\n <div v-for=\"position in leftover.positions\" class=\"mn-t-small w-100 mn-b-thin flex\"> \n <div class=\" w-50 flex\">\n <span>\n {{position.name}}\n </span>\n <span class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n\n <span class=\"w-50\">\n {{position.price}}\n <span class=\"t-transp\">{{returnCurrency()}}</span> \n </span>\n\n </div>\n \n <div class=\"t-right w-50\">\n {{position.quantity}}\n <span class=\"t-transp\">{{position.type}}</span> \n </div>\n </div> \n </div>\n </transition>\n </div>\n \n\n </div>\n</template>\n\n\n<script setup=\"props\">\n\timport { ref } from 'vue'\n\timport { useRouter } from 'vue-router'\n\n import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\n // Icons\n import IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n import PlaceholderUserpic from '@pf/src/modules/icons/placeholders/PlaceholderUserpic.vue'\n\n\tconst router = useRouter()\n\n\tconst props = defineProps({\n\t leftover: Object,\n\t});\n\n\n\tconst spoiler = ref(true)\n\n function declOfNum(number, words) { \n return words[(number % 100 > 4 && number % 100 < 20) ? 2 : [2, 0, 1, 1, 1, 2][(number % 10 < 5) ? number % 10 : 5]];\n }\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n.shop-cart-item {\n\t&:first-of-type { padding-top: 0;}\n}\n\n.spoiler-active {\n transform: rotate(180deg);\n}\n</style>\n\n\n"],"names":["useRouter","ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FgBA,wBAAW;AAO1B,UAAM,UAAUC,IAAG,IAAC,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CardLeftover.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/CardLeftover.vue"],"sourcesContent":["<template>\n <div class=\"flex-column pos-relative flex-wrap\">\n\n <CardHeader \n :entity=\"leftover\"\n :entityType=\"'leftover'\"\n :user=\"user\"\n :owner=\"leftover.creator\" \n :creator=\"leftover.creator\"\n :date=\"leftover.createdAt\"\n />\n\n <router-link \n :to=\"{\n name: 'LeftoverEdit', \n params: {\n _id: leftover.organization,\n leftover: leftover._id\n }\n }\" \n class=\"\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n <div class=\"mn-t-small w-100 bg-white radius-small pd-small spoiler\">\n <div @click=\"spoiler = !spoiler\" class=\"flex-v-center flex\">\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max mn-r-thin t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin\"\n :class=\"{\n 'bg-green': leftover.type === 'stock-in',\n 'bg-red': leftover.type === 'stock-out'\n }\"\n >\n {{leftover.type}}\n </span>\n <span class=\"flex-child flex-child-shrink-0\">Positions {{leftover.positions.length}}</span>\n <span v-if=\"leftover.order\" class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n <span class=\"flex-child flex-child-shrink-0\" v-if=\"leftover.order\">For order {{leftover.order}}</span>\n <span v-if=\"leftover.comment\" class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n <p v-if=\"leftover.comment\" class=\"t-truncate\">Comment: {{leftover.comment}}</p>\n <!-- <img loading=\"lazy\" :class=\"{ 'spoiler-active': spoiler }\" class=\"button-icon\" src=\"@/assets/icons/arrow-down-spoiler.svg\"> -->\n </div>\n\n <transition name=\"fade\">\n <div v-if=\"spoiler\">\n <div v-for=\"position in leftover.positions\" class=\"mn-t-small w-100 mn-b-thin flex\"> \n <div class=\" w-50 flex\">\n <span>\n {{position.name}}\n </span>\n <span class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n\n <span class=\"w-50\">\n {{position.price}}\n <span class=\"t-transp\">{{returnCurrency()}}</span> \n </span>\n\n </div>\n \n <div class=\"t-right w-50\">\n {{position.quantity}}\n <span class=\"t-transp\">{{position.type}}</span> \n </div>\n </div> \n </div>\n </transition>\n </div>\n \n\n </div>\n</template>\n\n\n<script setup=\"props\">\n\timport { ref } from 'vue'\n\timport { useRouter } from 'vue-router'\n\n import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\n // Icons\n import IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n import PlaceholderUserpic from '@pf/src/modules/icons/placeholders/PlaceholderUserpic.vue'\n\n\tconst router = useRouter()\n\n\tconst props = defineProps({\n\t leftover: Object,\n\t});\n\n\n\tconst spoiler = ref(true)\n\n function declOfNum(number, words) { \n return words[(number % 100 > 4 && number % 100 < 20) ? 2 : [2, 0, 1, 1, 1, 2][(number % 10 < 5) ? number % 10 : 5]];\n }\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n.shop-cart-item {\n\t&:first-of-type { padding-top: 0;}\n}\n\n.spoiler-active {\n transform: rotate(180deg);\n}\n</style>\n\n\n"],"names":["useRouter","ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FgBA,wBAAW;AAO1B,UAAM,UAAUC,IAAG,IAAC,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,10 +1,9 @@
1
- import { ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, Transition, Fragment, renderList, createTextVNode, pushScopeId, popScopeId } from "vue";
1
+ import { ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, Transition, Fragment, renderList, createTextVNode } from "vue";
2
2
  import { useRouter } from "vue-router";
3
3
  import _sfc_main$1 from "../../../globals/views/components/blocks/CardHeader.vue.js";
4
4
  import _sfc_main$2 from "../../../icons/navigation/IconEdit.vue.js";
5
5
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
6
  /* empty css */
7
- const _withScopeId = (n) => (pushScopeId("data-v-bebbf16b"), n = n(), popScopeId(), n);
8
7
  const _hoisted_1 = { class: "flex-column pos-relative flex-wrap" };
9
8
  const _hoisted_2 = { class: "mn-t-small w-100 bg-white radius-small pd-small spoiler" };
10
9
  const _hoisted_3 = { class: "flex-child flex-child-shrink-0" };
@@ -27,11 +26,10 @@ const _hoisted_7 = {
27
26
  const _hoisted_8 = { key: 0 };
28
27
  const _hoisted_9 = { class: "mn-t-small w-100 mn-b-thin flex" };
29
28
  const _hoisted_10 = { class: "w-50 flex" };
30
- const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "mn-r-thin mn-l-thin t-transp" }, "|", -1));
31
- const _hoisted_12 = { class: "w-50" };
32
- const _hoisted_13 = { class: "t-transp" };
33
- const _hoisted_14 = { class: "t-right w-50" };
34
- const _hoisted_15 = { class: "t-transp" };
29
+ const _hoisted_11 = { class: "w-50" };
30
+ const _hoisted_12 = { class: "t-transp" };
31
+ const _hoisted_13 = { class: "t-right w-50" };
32
+ const _hoisted_14 = { class: "t-transp" };
35
33
  const _sfc_main = {
36
34
  __name: "CardLeftover",
37
35
  props: {
@@ -93,15 +91,15 @@ const _sfc_main = {
93
91
  return openBlock(), createElementBlock("div", _hoisted_9, [
94
92
  createElementVNode("div", _hoisted_10, [
95
93
  createElementVNode("span", null, toDisplayString(position.name), 1),
96
- _hoisted_11,
97
- createElementVNode("span", _hoisted_12, [
94
+ _cache[1] || (_cache[1] = createElementVNode("span", { class: "mn-r-thin mn-l-thin t-transp" }, "|", -1)),
95
+ createElementVNode("span", _hoisted_11, [
98
96
  createTextVNode(toDisplayString(position.price) + " ", 1),
99
- createElementVNode("span", _hoisted_13, toDisplayString(_ctx.returnCurrency()), 1)
97
+ createElementVNode("span", _hoisted_12, toDisplayString(_ctx.returnCurrency()), 1)
100
98
  ])
101
99
  ]),
102
- createElementVNode("div", _hoisted_14, [
100
+ createElementVNode("div", _hoisted_13, [
103
101
  createTextVNode(toDisplayString(position.quantity) + " ", 1),
104
- createElementVNode("span", _hoisted_15, toDisplayString(position.type), 1)
102
+ createElementVNode("span", _hoisted_14, toDisplayString(position.type), 1)
105
103
  ])
106
104
  ]);
107
105
  }), 256))
@@ -1 +1 @@
1
- {"version":3,"file":"CardLeftover.vue.js","sources":["../../../../../../../src/modules/products/components/blocks/CardLeftover.vue"],"sourcesContent":["<template>\n <div class=\"flex-column pos-relative flex-wrap\">\n\n <CardHeader \n :entity=\"leftover\"\n :entityType=\"'leftover'\"\n :user=\"user\"\n :owner=\"leftover.creator\" \n :creator=\"leftover.creator\"\n :date=\"leftover.createdAt\"\n />\n\n <router-link \n :to=\"{\n name: 'LeftoverEdit', \n params: {\n _id: leftover.organization,\n leftover: leftover._id\n }\n }\" \n class=\"\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n <div class=\"mn-t-small w-100 bg-white radius-small pd-small spoiler\">\n <div @click=\"spoiler = !spoiler\" class=\"flex-v-center flex\">\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max mn-r-thin t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin\"\n :class=\"{\n 'bg-green': leftover.type === 'stock-in',\n 'bg-red': leftover.type === 'stock-out'\n }\"\n >\n {{leftover.type}}\n </span>\n <span class=\"flex-child flex-child-shrink-0\">Positions {{leftover.positions.length}}</span>\n <span v-if=\"leftover.order\" class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n <span class=\"flex-child flex-child-shrink-0\" v-if=\"leftover.order\">For order {{leftover.order}}</span>\n <span v-if=\"leftover.comment\" class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n <p v-if=\"leftover.comment\" class=\"t-truncate\">Comment: {{leftover.comment}}</p>\n <!-- <img loading=\"lazy\" :class=\"{ 'spoiler-active': spoiler }\" class=\"button-icon\" src=\"@/assets/icons/arrow-down-spoiler.svg\"> -->\n </div>\n\n <transition name=\"fade\">\n <div v-if=\"spoiler\">\n <div v-for=\"position in leftover.positions\" class=\"mn-t-small w-100 mn-b-thin flex\"> \n <div class=\" w-50 flex\">\n <span>\n {{position.name}}\n </span>\n <span class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n\n <span class=\"w-50\">\n {{position.price}}\n <span class=\"t-transp\">{{returnCurrency()}}</span> \n </span>\n\n </div>\n \n <div class=\"t-right w-50\">\n {{position.quantity}}\n <span class=\"t-transp\">{{position.type}}</span> \n </div>\n </div> \n </div>\n </transition>\n </div>\n \n\n </div>\n</template>\n\n\n<script setup=\"props\">\n\timport { ref } from 'vue'\n\timport { useRouter } from 'vue-router'\n\n import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\n // Icons\n import IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n import PlaceholderUserpic from '@pf/src/modules/icons/placeholders/PlaceholderUserpic.vue'\n\n\tconst router = useRouter()\n\n\tconst props = defineProps({\n\t leftover: Object,\n\t});\n\n\n\tconst spoiler = ref(true)\n\n function declOfNum(number, words) { \n return words[(number % 100 > 4 && number % 100 < 20) ? 2 : [2, 0, 1, 1, 1, 2][(number % 10 < 5) ? number % 10 : 5]];\n }\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n.shop-cart-item {\n\t&:first-of-type { padding-top: 0;}\n}\n\n.spoiler-active {\n transform: rotate(180deg);\n}\n</style>\n\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FgB,cAAW;AAO1B,UAAM,UAAU,IAAI,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"CardLeftover.vue.js","sources":["../../../../../../../src/modules/products/components/blocks/CardLeftover.vue"],"sourcesContent":["<template>\n <div class=\"flex-column pos-relative flex-wrap\">\n\n <CardHeader \n :entity=\"leftover\"\n :entityType=\"'leftover'\"\n :user=\"user\"\n :owner=\"leftover.creator\" \n :creator=\"leftover.creator\"\n :date=\"leftover.createdAt\"\n />\n\n <router-link \n :to=\"{\n name: 'LeftoverEdit', \n params: {\n _id: leftover.organization,\n leftover: leftover._id\n }\n }\" \n class=\"\n cursor-pointer \n pos-absolute pos-t-regular pos-r-regular\n radius-extra pd-thin bg-second\n \"\n >\n <IconEdit\n class=\"i-regular\"\n classes=\"fill-white\"\n />\n </router-link>\n\n <div class=\"mn-t-small w-100 bg-white radius-small pd-small spoiler\">\n <div @click=\"spoiler = !spoiler\" class=\"flex-v-center flex\">\n <span \n class=\"flex-child flex-child-shrink-0 capitalize w-max mn-r-thin t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin\"\n :class=\"{\n 'bg-green': leftover.type === 'stock-in',\n 'bg-red': leftover.type === 'stock-out'\n }\"\n >\n {{leftover.type}}\n </span>\n <span class=\"flex-child flex-child-shrink-0\">Positions {{leftover.positions.length}}</span>\n <span v-if=\"leftover.order\" class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n <span class=\"flex-child flex-child-shrink-0\" v-if=\"leftover.order\">For order {{leftover.order}}</span>\n <span v-if=\"leftover.comment\" class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n <p v-if=\"leftover.comment\" class=\"t-truncate\">Comment: {{leftover.comment}}</p>\n <!-- <img loading=\"lazy\" :class=\"{ 'spoiler-active': spoiler }\" class=\"button-icon\" src=\"@/assets/icons/arrow-down-spoiler.svg\"> -->\n </div>\n\n <transition name=\"fade\">\n <div v-if=\"spoiler\">\n <div v-for=\"position in leftover.positions\" class=\"mn-t-small w-100 mn-b-thin flex\"> \n <div class=\" w-50 flex\">\n <span>\n {{position.name}}\n </span>\n <span class=\"mn-r-thin mn-l-thin t-transp\">|</span>\n\n <span class=\"w-50\">\n {{position.price}}\n <span class=\"t-transp\">{{returnCurrency()}}</span> \n </span>\n\n </div>\n \n <div class=\"t-right w-50\">\n {{position.quantity}}\n <span class=\"t-transp\">{{position.type}}</span> \n </div>\n </div> \n </div>\n </transition>\n </div>\n \n\n </div>\n</template>\n\n\n<script setup=\"props\">\n\timport { ref } from 'vue'\n\timport { useRouter } from 'vue-router'\n\n import CardHeader from '@pf/src/modules/globals/views/components/blocks/CardHeader.vue'\n\n // Icons\n import IconEdit from '@pf/src/modules/icons/navigation/IconEdit.vue'\n import PlaceholderUserpic from '@pf/src/modules/icons/placeholders/PlaceholderUserpic.vue'\n\n\tconst router = useRouter()\n\n\tconst props = defineProps({\n\t leftover: Object,\n\t});\n\n\n\tconst spoiler = ref(true)\n\n function declOfNum(number, words) { \n return words[(number % 100 > 4 && number % 100 < 20) ? 2 : [2, 0, 1, 1, 1, 2][(number % 10 < 5) ? number % 10 : 5]];\n }\n\t\n</script>\n\n<style lang=\"scss\" scoped>\n.shop-cart-item {\n\t&:first-of-type { padding-top: 0;}\n}\n\n.spoiler-active {\n transform: rotate(180deg);\n}\n</style>\n\n\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FgB,cAAW;AAO1B,UAAM,UAAU,IAAI,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const Field = require("../../../../components/Field/Field.vue.cjs");
5
- const Select = require("../../../../components/Select/Select.vue.cjs");
5
+ const Select = require("../../../../components/Select/Select.vue2.cjs");
6
6
  ;/* empty css */
7
7
  const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
8
8
  const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, createBlock, withCtx, createVNode, createCommentVNode, unref } from "vue";
2
2
  import Field from "../../../../components/Field/Field.vue.js";
3
- import Select from "../../../../components/Select/Select.vue.js";
3
+ import Select from "../../../../components/Select/Select.vue2.js";
4
4
  /* empty css */
5
5
  import _sfc_main$1 from "../../../icons/navigation/IconAdd.vue.js";
6
6
  import _sfc_main$2 from "../../../icons/navigation/IconDelete.vue.js";
@@ -5,12 +5,11 @@ const Loader = require("../../../../components/Loader/Loader.vue2.cjs");
5
5
  ;/* empty css */
6
6
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
7
7
  const _hoisted_1 = { class: "product-360-viewer" };
8
- const _hoisted_2 = /* @__PURE__ */ vue.createStaticVNode('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-e552bc5f><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path></svg>', 1);
9
- const _hoisted_3 = {
8
+ const _hoisted_2 = {
10
9
  key: 0,
11
10
  class: "h-100 w-100 transition-ease"
12
11
  };
13
- const _hoisted_4 = ["src"];
12
+ const _hoisted_3 = ["src"];
14
13
  const _sfc_main = {
15
14
  __name: "Images360",
16
15
  props: {
@@ -90,14 +89,14 @@ const _sfc_main = {
90
89
  });
91
90
  return (_ctx, _cache) => {
92
91
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
93
- _hoisted_2,
92
+ _cache[1] || (_cache[1] = vue.createStaticVNode('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-e552bc5f><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-e552bc5f></path></svg>', 1)),
94
93
  vue.createVNode(vue.Transition, {
95
94
  name: "scale5",
96
95
  css: !firstImageLoad.value,
97
96
  appear: ""
98
97
  }, {
99
98
  default: vue.withCtx(() => [
100
- currentImage.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
99
+ currentImage.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
101
100
  currentImage.value ? (vue.openBlock(), vue.createElementBlock("img", {
102
101
  loading: "lazy",
103
102
  key: currentImage.value,
@@ -113,7 +112,7 @@ const _sfc_main = {
113
112
  onTouchend: stopRotation,
114
113
  onDragstart: _cache[0] || (_cache[0] = vue.withModifiers(() => {
115
114
  }, ["prevent"]))
116
- }, null, 40, _hoisted_4)) : vue.createCommentVNode("", true)
115
+ }, null, 40, _hoisted_3)) : vue.createCommentVNode("", true)
117
116
  ])) : vue.createCommentVNode("", true)
118
117
  ]),
119
118
  _: 1
@@ -1 +1 @@
1
- {"version":3,"file":"Images360.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/Images360.vue"],"sourcesContent":["<template>\n <div class=\"product-360-viewer\">\n <svg class=\"pos-absolute z-index-2 pos-b-0 pd-small\" width=\"73\" height=\"50\" viewBox=\"0 0 73 50\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n </svg>\n\n\n <transition name=\"scale5\" :css=\"!firstImageLoad\" appear>\n <div v-if=\"currentImage\" class=\"h-100 w-100 transition-ease\">\n <img loading=\"lazy\" v-if=\"currentImage\" :key=\"currentImage\" class=\"h-100 w-100 transition-ease\" :src=\"(FILE_SERVER_URL || '') + currentImage.src\" alt=\"360 product view\" @mousedown=\"startRotation\" @mousemove=\"rotate\" @mouseup=\"stopRotation\" @mouseleave=\"stopRotation\" @touchstart=\"startRotation\" @touchmove=\"rotate\" @touchend=\"stopRotation\" @dragstart.prevent>\n\n </div>\n </transition>\n <!-- Display the loading progress percentage next to the loader component -->\n <transition name=\"scale5\">\n <Loader v-if=\"!currentImage\" :progress=\"loadingProgress\" class=\"center z-index-5\"/>\n </transition>\n </div>\n</template>\n\n<script setup>\nimport { ref, watch, onMounted, onUnmounted, computed } from 'vue';\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\nconst props = defineProps({\n imagePath: {\n type: String,\n required: true,\n },\n imageCount: {\n type: Number,\n default: 36,\n },\n autoRotateSpeed: {\n type: Number,\n default: 100,\n },\n});\n\nconst imageIndex = ref(0);\nconst isRotating = ref(false);\nconst startClientX = ref(0);\n\nconst loadedImages = ref(0);\nconst loaded = ref(true);\n\nconst loadImages = async () => {\n const images = [];\n\n for (let i = 1; i <= props.imageCount; i++) {\n const img = new Image();\n img.src = `${props.imagePath}/${i}.jpg`;\n\n try {\n await img.decode();\n // Increase the number of loaded images\n loadedImages.value++;\n } catch (error) {\n console.warn(`Failed to decode ${props.imagePath}/${i}.jpg:`, error);\n }\n\n images.push(img);\n }\n\n return images;\n};\n\n// Add a computed property to calculate the loading progress percentage\nconst loadingProgress = computed(() => {\n return Math.round((loadedImages.value / props.imageCount) * 100);\n});\n\nconst images = ref([]);\n\nconst currentImage = ref('');\nconst firstImageLoad = ref(null);\nwatch(imageIndex, (index) => {\n currentImage.value = images.value[index] || '';\n});\n\nfunction startRotation(event) {\n isRotating.value = true;\n startClientX.value = event.clientX || event.touches[0].clientX;\n}\n\nfunction rotate(event) {\n if (!isRotating.value) return;\n\n const currentClientX = event.clientX || event.touches[0].clientX;\n const diff = currentClientX - startClientX.value;\n\n if (Math.abs(diff) >= 5) {\n const direction = diff > 0 ? 1 : -1;\n imageIndex.value = (imageIndex.value + direction) % props.imageCount;\n if (imageIndex.value < 0) imageIndex.value = props.imageCount - 1;\n\n startClientX.value = currentClientX;\n }\n}\n\nfunction stopRotation() {\n isRotating.value = false;\n}\n\nlet autoRotateInterval = null;\n\nconst unloadImages = () => {\n images.value = [];\n};\n\n\n\nonMounted(async () => {\n images.value = await loadImages();\n currentImage.value = images.value[0] || ''; \n});\nonUnmounted(() => {\n clearInterval(autoRotateInterval);\n unloadImages();\n});\n</script>\n\n\n<style scoped>\n .expand-enter-active,\n.expand-leave-active {\n transition: max-height 0.5s ease-in-out;\n overflow: hidden;\n}\n.scale-enter-active,\n.scale-leave-active {\n transition: transform 0.5s ease-in-out;\n}\n.scale5-enter-from,\n.scale5-leave-to {\n transform: scale(1.2);\n opacity: 0;\n}\n.scale5-enter-to,\n.scale5-leave-from {\n transform: scale(1);\n opacity: 1;\n}\n\n.product-360-viewer {\n user-select: none;\n min-height: 16rem;\n}\n\n.product-360-viewer img {\n max-width: 100%;\n cursor: grab;\n\n object-fit: cover;\n transition: all 0.3s ease;\n}\n\n.product-360-viewer img:active {\n cursor: grabbing;\n}\n\n/*.product-360-viewer img:hover {\n transform: scale(1.1);\n}*/\n</style>"],"names":["ref","images","computed","watch","onMounted","onUnmounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,UAAM,QAAQ;AAed,UAAM,aAAaA,IAAAA,IAAI,CAAC;AACxB,UAAM,aAAaA,IAAAA,IAAI,KAAK;AAC5B,UAAM,eAAeA,IAAAA,IAAI,CAAC;AAE1B,UAAM,eAAeA,IAAAA,IAAI,CAAC;AACXA,QAAG,IAAC,IAAI;AAEvB,UAAM,aAAa,YAAY;AAC7B,YAAMC,UAAS,CAAA;AAEf,eAAS,IAAI,GAAG,KAAK,MAAM,YAAY,KAAK;AAC1C,cAAM,MAAM,IAAI;AAChB,YAAI,MAAM,GAAG,MAAM,SAAS,IAAI,CAAC;AAEjC,YAAI;AACF,gBAAM,IAAI;AAEV,uBAAa;AAAA,QACd,SAAQ,OAAO;AACd,kBAAQ,KAAK,oBAAoB,MAAM,SAAS,IAAI,CAAC,SAAS,KAAK;AAAA,QACpE;AAED,QAAAA,QAAO,KAAK,GAAG;AAAA,MAChB;AAED,aAAOA;AAAA,IACT;AAGA,UAAM,kBAAkBC,IAAQ,SAAC,MAAM;AACrC,aAAO,KAAK,MAAO,aAAa,QAAQ,MAAM,aAAc,GAAG;AAAA,IACjE,CAAC;AAED,UAAM,SAASF,IAAAA,IAAI,CAAA,CAAE;AAErB,UAAM,eAAeA,IAAAA,IAAI,EAAE;AAC3B,UAAM,iBAAiBA,IAAAA,IAAI,IAAI;AAC/BG,QAAAA,MAAM,YAAY,CAAC,UAAU;AAC3B,mBAAa,QAAQ,OAAO,MAAM,KAAK,KAAK;AAAA,IAC9C,CAAC;AAED,aAAS,cAAc,OAAO;AAC5B,iBAAW,QAAQ;AACnB,mBAAa,QAAQ,MAAM,WAAW,MAAM,QAAQ,CAAC,EAAE;AAAA,IACzD;AAEA,aAAS,OAAO,OAAO;AACrB,UAAI,CAAC,WAAW,MAAO;AAEvB,YAAM,iBAAiB,MAAM,WAAW,MAAM,QAAQ,CAAC,EAAE;AACzD,YAAM,OAAO,iBAAiB,aAAa;AAE3C,UAAI,KAAK,IAAI,IAAI,KAAK,GAAG;AACvB,cAAM,YAAY,OAAO,IAAI,IAAI;AACjC,mBAAW,SAAS,WAAW,QAAQ,aAAa,MAAM;AAC1D,YAAI,WAAW,QAAQ,EAAG,YAAW,QAAQ,MAAM,aAAa;AAEhE,qBAAa,QAAQ;AAAA,MACtB;AAAA,IACH;AAEA,aAAS,eAAe;AACtB,iBAAW,QAAQ;AAAA,IACrB;AAEA,QAAI,qBAAqB;AAEzB,UAAM,eAAe,MAAM;AACzB,aAAO,QAAQ;IACjB;AAIAC,QAAAA,UAAU,YAAY;AACpB,aAAO,QAAQ,MAAM;AACrB,mBAAa,QAAQ,OAAO,MAAM,CAAC,KAAK;AAAA,IAC1C,CAAC;AACDC,QAAAA,YAAY,MAAM;AAChB,oBAAc,kBAAkB;AAChC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Images360.vue.cjs","sources":["../../../../../../../src/modules/products/components/blocks/Images360.vue"],"sourcesContent":["<template>\n <div class=\"product-360-viewer\">\n <svg class=\"pos-absolute z-index-2 pos-b-0 pd-small\" width=\"73\" height=\"50\" viewBox=\"0 0 73 50\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n <path d=\"M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z\" fill=\"rgb(var(--black))\" fill-opacity=\"0.1\"/>\n </svg>\n\n\n <transition name=\"scale5\" :css=\"!firstImageLoad\" appear>\n <div v-if=\"currentImage\" class=\"h-100 w-100 transition-ease\">\n <img loading=\"lazy\" v-if=\"currentImage\" :key=\"currentImage\" class=\"h-100 w-100 transition-ease\" :src=\"(FILE_SERVER_URL || '') + currentImage.src\" alt=\"360 product view\" @mousedown=\"startRotation\" @mousemove=\"rotate\" @mouseup=\"stopRotation\" @mouseleave=\"stopRotation\" @touchstart=\"startRotation\" @touchmove=\"rotate\" @touchend=\"stopRotation\" @dragstart.prevent>\n\n </div>\n </transition>\n <!-- Display the loading progress percentage next to the loader component -->\n <transition name=\"scale5\">\n <Loader v-if=\"!currentImage\" :progress=\"loadingProgress\" class=\"center z-index-5\"/>\n </transition>\n </div>\n</template>\n\n<script setup>\nimport { ref, watch, onMounted, onUnmounted, computed } from 'vue';\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\nconst props = defineProps({\n imagePath: {\n type: String,\n required: true,\n },\n imageCount: {\n type: Number,\n default: 36,\n },\n autoRotateSpeed: {\n type: Number,\n default: 100,\n },\n});\n\nconst imageIndex = ref(0);\nconst isRotating = ref(false);\nconst startClientX = ref(0);\n\nconst loadedImages = ref(0);\nconst loaded = ref(true);\n\nconst loadImages = async () => {\n const images = [];\n\n for (let i = 1; i <= props.imageCount; i++) {\n const img = new Image();\n img.src = `${props.imagePath}/${i}.jpg`;\n\n try {\n await img.decode();\n // Increase the number of loaded images\n loadedImages.value++;\n } catch (error) {\n console.warn(`Failed to decode ${props.imagePath}/${i}.jpg:`, error);\n }\n\n images.push(img);\n }\n\n return images;\n};\n\n// Add a computed property to calculate the loading progress percentage\nconst loadingProgress = computed(() => {\n return Math.round((loadedImages.value / props.imageCount) * 100);\n});\n\nconst images = ref([]);\n\nconst currentImage = ref('');\nconst firstImageLoad = ref(null);\nwatch(imageIndex, (index) => {\n currentImage.value = images.value[index] || '';\n});\n\nfunction startRotation(event) {\n isRotating.value = true;\n startClientX.value = event.clientX || event.touches[0].clientX;\n}\n\nfunction rotate(event) {\n if (!isRotating.value) return;\n\n const currentClientX = event.clientX || event.touches[0].clientX;\n const diff = currentClientX - startClientX.value;\n\n if (Math.abs(diff) >= 5) {\n const direction = diff > 0 ? 1 : -1;\n imageIndex.value = (imageIndex.value + direction) % props.imageCount;\n if (imageIndex.value < 0) imageIndex.value = props.imageCount - 1;\n\n startClientX.value = currentClientX;\n }\n}\n\nfunction stopRotation() {\n isRotating.value = false;\n}\n\nlet autoRotateInterval = null;\n\nconst unloadImages = () => {\n images.value = [];\n};\n\n\n\nonMounted(async () => {\n images.value = await loadImages();\n currentImage.value = images.value[0] || ''; \n});\nonUnmounted(() => {\n clearInterval(autoRotateInterval);\n unloadImages();\n});\n</script>\n\n\n<style scoped>\n .expand-enter-active,\n.expand-leave-active {\n transition: max-height 0.5s ease-in-out;\n overflow: hidden;\n}\n.scale-enter-active,\n.scale-leave-active {\n transition: transform 0.5s ease-in-out;\n}\n.scale5-enter-from,\n.scale5-leave-to {\n transform: scale(1.2);\n opacity: 0;\n}\n.scale5-enter-to,\n.scale5-leave-from {\n transform: scale(1);\n opacity: 1;\n}\n\n.product-360-viewer {\n user-select: none;\n min-height: 16rem;\n}\n\n.product-360-viewer img {\n max-width: 100%;\n cursor: grab;\n\n object-fit: cover;\n transition: all 0.3s ease;\n}\n\n.product-360-viewer img:active {\n cursor: grabbing;\n}\n\n/*.product-360-viewer img:hover {\n transform: scale(1.1);\n}*/\n</style>"],"names":["ref","images","computed","watch","onMounted","onUnmounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,UAAM,QAAQ;AAed,UAAM,aAAaA,IAAAA,IAAI,CAAC;AACxB,UAAM,aAAaA,IAAAA,IAAI,KAAK;AAC5B,UAAM,eAAeA,IAAAA,IAAI,CAAC;AAE1B,UAAM,eAAeA,IAAAA,IAAI,CAAC;AACXA,QAAG,IAAC,IAAI;AAEvB,UAAM,aAAa,YAAY;AAC7B,YAAMC,UAAS,CAAA;AAEf,eAAS,IAAI,GAAG,KAAK,MAAM,YAAY,KAAK;AAC1C,cAAM,MAAM,IAAI;AAChB,YAAI,MAAM,GAAG,MAAM,SAAS,IAAI,CAAC;AAEjC,YAAI;AACF,gBAAM,IAAI;AAEV,uBAAa;AAAA,QACd,SAAQ,OAAO;AACd,kBAAQ,KAAK,oBAAoB,MAAM,SAAS,IAAI,CAAC,SAAS,KAAK;AAAA,QACpE;AAED,QAAAA,QAAO,KAAK,GAAG;AAAA,MAChB;AAED,aAAOA;AAAA,IACT;AAGA,UAAM,kBAAkBC,IAAQ,SAAC,MAAM;AACrC,aAAO,KAAK,MAAO,aAAa,QAAQ,MAAM,aAAc,GAAG;AAAA,IACjE,CAAC;AAED,UAAM,SAASF,IAAAA,IAAI,CAAA,CAAE;AAErB,UAAM,eAAeA,IAAAA,IAAI,EAAE;AAC3B,UAAM,iBAAiBA,IAAAA,IAAI,IAAI;AAC/BG,QAAAA,MAAM,YAAY,CAAC,UAAU;AAC3B,mBAAa,QAAQ,OAAO,MAAM,KAAK,KAAK;AAAA,IAC9C,CAAC;AAED,aAAS,cAAc,OAAO;AAC5B,iBAAW,QAAQ;AACnB,mBAAa,QAAQ,MAAM,WAAW,MAAM,QAAQ,CAAC,EAAE;AAAA,IACzD;AAEA,aAAS,OAAO,OAAO;AACrB,UAAI,CAAC,WAAW,MAAO;AAEvB,YAAM,iBAAiB,MAAM,WAAW,MAAM,QAAQ,CAAC,EAAE;AACzD,YAAM,OAAO,iBAAiB,aAAa;AAE3C,UAAI,KAAK,IAAI,IAAI,KAAK,GAAG;AACvB,cAAM,YAAY,OAAO,IAAI,IAAI;AACjC,mBAAW,SAAS,WAAW,QAAQ,aAAa,MAAM;AAC1D,YAAI,WAAW,QAAQ,EAAG,YAAW,QAAQ,MAAM,aAAa;AAEhE,qBAAa,QAAQ;AAAA,MACtB;AAAA,IACH;AAEA,aAAS,eAAe;AACtB,iBAAW,QAAQ;AAAA,IACrB;AAEA,QAAI,qBAAqB;AAEzB,UAAM,eAAe,MAAM;AACzB,aAAO,QAAQ;IACjB;AAIAC,QAAAA,UAAU,YAAY;AACpB,aAAO,QAAQ,MAAM;AACrB,mBAAa,QAAQ,OAAO,MAAM,CAAC,KAAK;AAAA,IAC1C,CAAC;AACDC,QAAAA,YAAY,MAAM;AAChB,oBAAc,kBAAkB;AAChC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}