@ozdao/prometheus-framework 0.2.128 → 0.2.130

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1349) hide show
  1. package/LICENSE +1 -1
  2. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  3. package/dist/_virtual/_commonjsHelpers.js +3 -5
  4. package/dist/auth.server.js +12 -14
  5. package/dist/auth.server.mjs +12 -14
  6. package/dist/community.server.js +12 -22
  7. package/dist/community.server.mjs +12 -22
  8. package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
  9. package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
  10. package/dist/events.server.js +5 -8
  11. package/dist/events.server.mjs +5 -8
  12. package/dist/files.server.js +2 -3
  13. package/dist/files.server.mjs +2 -3
  14. package/dist/gallery.server.js +7 -3
  15. package/dist/gallery.server.mjs +7 -3
  16. package/dist/{index-BCCiEK_u.js → index-BshfsiQG.js} +8 -4
  17. package/dist/{index-B6a1mPgp.mjs → index-DKtnWDNC.mjs} +8 -4
  18. package/dist/main-Ckn0Sslr.js +92 -0
  19. package/dist/{main-Ds3Z5x5d.mjs → main-DxyAONrm.mjs} +4707 -4475
  20. package/dist/main.css +1 -1
  21. package/dist/middlewares.server.js +1 -1
  22. package/dist/middlewares.server.mjs +1 -1
  23. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
  24. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
  25. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
  26. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
  27. package/dist/node_modules/fast-deep-equal/index.js +10 -20
  28. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
  29. package/dist/orders.server.js +1 -1
  30. package/dist/orders.server.mjs +1 -1
  31. package/dist/organizations.server.js +6 -10
  32. package/dist/organizations.server.mjs +6 -10
  33. package/dist/products.server.js +1 -1
  34. package/dist/products.server.mjs +1 -1
  35. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
  36. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  37. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3414 -3284
  38. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
  39. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
  40. package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
  41. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
  42. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
  43. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  44. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  45. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
  46. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
  47. package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
  48. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
  49. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
  50. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
  51. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
  52. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
  53. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
  54. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
  55. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
  56. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
  57. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
  58. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
  59. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
  60. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
  61. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
  62. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
  63. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
  64. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
  65. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
  66. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
  67. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
  68. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
  69. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
  70. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
  71. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
  72. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
  73. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
  74. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
  75. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
  76. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
  77. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
  78. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
  79. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
  80. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
  81. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
  82. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
  83. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
  84. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
  85. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
  86. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
  87. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
  88. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
  89. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
  90. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
  91. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
  92. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
  93. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
  94. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
  95. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
  96. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
  97. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
  98. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
  99. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
  100. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
  101. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
  102. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
  103. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
  104. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
  105. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
  106. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
  107. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
  108. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
  109. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
  110. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
  111. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
  112. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
  113. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
  114. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
  115. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
  116. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
  117. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
  118. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
  119. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
  120. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
  121. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
  122. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
  123. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
  124. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  125. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  126. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  127. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +1 -1
  128. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  130. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +1 -0
  131. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +71 -0
  132. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  133. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +24 -23
  134. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
  135. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +1 -1
  137. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  138. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +1 -1
  139. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +1 -1
  141. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +146 -114
  143. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
  145. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +5 -5
  147. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  149. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
  151. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +1 -1
  153. package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
  154. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
  155. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +1 -1
  156. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
  157. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
  159. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  161. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
  163. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
  165. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -0
  166. package/dist/prometheus-framework/src/{modules/mobile/components/Menu/Menu.vue.js → components/Menu/Menu.vue2.js} +1 -1
  167. package/dist/prometheus-framework/src/components/Menu/MenuItem.vue.cjs +1 -0
  168. package/dist/prometheus-framework/src/{modules/mobile/components → components}/Menu/MenuItem.vue.js +1 -1
  169. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -0
  170. package/dist/prometheus-framework/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue.js +7 -7
  171. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +77 -1
  173. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  174. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -1
  175. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
  177. package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
  178. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  180. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -1
  182. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  184. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
  186. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -2
  188. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  190. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
  194. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  196. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  198. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  200. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +1 -1
  202. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/auth/store/auth.js +8 -7
  210. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  211. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  212. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +115 -78
  214. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  215. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +8 -23
  216. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
  217. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
  218. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
  219. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
  220. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  221. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +62 -70
  222. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  223. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  224. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  225. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -1
  226. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  227. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  228. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  229. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  230. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  231. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  232. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  234. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +22 -21
  236. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
  238. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  240. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  242. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
  244. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  246. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
  248. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
  250. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -2
  251. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  253. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
  257. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  259. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  265. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
  267. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
  269. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
  271. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  273. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  275. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -5
  277. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +10 -10
  279. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs +1 -0
  280. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js +18 -0
  281. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -0
  282. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +46 -0
  283. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +21 -17
  285. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
  287. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +3 -3
  289. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +11 -11
  291. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
  293. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +27 -4
  295. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +14 -12
  297. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -1
  299. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
  301. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +32 -32
  303. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +110 -94
  305. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
  307. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  309. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  311. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +13 -14
  313. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  315. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +20 -22
  317. package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +5 -4
  319. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  321. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  323. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
  325. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +1 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +9 -9
  333. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
  335. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +5 -5
  337. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -0
  338. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +154 -0
  339. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  341. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +4 -4
  343. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  345. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  347. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
  349. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +1 -1
  351. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.cjs +1 -0
  352. package/dist/prometheus-framework/src/modules/organizations/router/backoffice.router.js +27 -0
  353. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -7
  355. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  357. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  359. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  361. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  363. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
  365. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  367. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
  369. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +27 -28
  371. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  373. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
  375. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
  377. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +1 -1
  379. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  381. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  383. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  384. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  385. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +23 -24
  387. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
  389. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  390. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +33 -32
  391. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  392. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  393. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  394. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +73 -52
  395. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  396. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +6 -6
  397. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +52 -54
  399. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +23 -23
  401. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  403. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  405. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  406. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  407. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  409. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  410. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  411. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  412. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  413. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  414. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  415. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  416. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +64 -50
  417. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  418. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +44 -45
  419. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  420. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
  421. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  422. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  423. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  424. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  425. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +39 -85
  427. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  428. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  429. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  430. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  431. package/dist/prometheus-framework.cjs.js +1 -1
  432. package/dist/prometheus-framework.es.js +24 -25
  433. package/dist/reports.server.js +3 -5
  434. package/dist/reports.server.mjs +3 -5
  435. package/dist/style.css +1 -1
  436. package/dist/users.server.js +2 -4
  437. package/dist/users.server.mjs +2 -4
  438. package/dist/wallet.server.js +7 -13
  439. package/dist/wallet.server.mjs +7 -13
  440. package/dist/{web-BNKN7kk3.mjs → web-Be96Xqd4.mjs} +1 -1
  441. package/dist/{web-Bk_OtXgv.js → web-CgjTW1bL.js} +1 -1
  442. package/package.json +2 -2
  443. package/src/{modules/mobile/components → components}/BottomSheet/BottomSheet.vue +24 -21
  444. package/src/components/Button/Button.vue +20 -3
  445. package/src/components/Feed/Feed.vue +28 -3
  446. package/src/components/FieldBig/FieldBig.vue +2 -2
  447. package/src/components/Sidebar/Sidebar.vue +13 -5
  448. package/src/components/index.js +0 -1
  449. package/src/main.js +0 -7
  450. package/src/modules/auth/controllers/auth.controller.js +14 -16
  451. package/src/modules/auth/router/auth.js +1 -4
  452. package/src/modules/auth/store/auth.js +28 -24
  453. package/src/modules/backoffice/components/pages/Dashboard.vue +29 -56
  454. package/src/modules/backoffice/router/backoffice.js +4 -15
  455. package/src/modules/community/components/blocks/CardBlogpost.vue +28 -26
  456. package/src/modules/community/components/layouts/Community.vue +1 -1
  457. package/src/modules/events/components/pages/EditEvent.vue +1 -1
  458. package/src/modules/gallery/components/pages/Gallery.vue +1 -2
  459. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -1
  460. package/src/modules/gallery/router/gallery.backoffice.router.js +14 -0
  461. package/src/modules/globals/components/blocks/BlockFilter.vue +44 -0
  462. package/src/modules/globals/components/blocks/CardHeader.vue +5 -3
  463. package/src/modules/globals/components/layouts/Client.vue +99 -43
  464. package/src/modules/globals/components/pages/401.vue +5 -0
  465. package/src/modules/globals/components/pages/404.vue +5 -0
  466. package/src/modules/globals/components/partials/Footer.vue +17 -5
  467. package/src/modules/globals/components/partials/Header.vue +37 -18
  468. package/src/modules/globals/components/partials/Navigation.vue +7 -2
  469. package/src/modules/landing/components/sections/MobileApp.vue +2 -2
  470. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
  471. package/src/modules/landing/router/landing.js +2 -12
  472. package/src/modules/legal/components/pages/Legal.vue +2 -2
  473. package/src/modules/marketplace/components/layouts/Marketplace.vue +30 -13
  474. package/src/modules/marketplace/components/pages/Catalog.vue +2 -1
  475. package/src/modules/marketplace/router/marketplace.js +12 -10
  476. package/src/modules/marketplace/store/marketplace.js +25 -1
  477. package/src/modules/middlewares/client/auth.validation.js +5 -2
  478. package/src/modules/middlewares/server/authJwt.js +12 -6
  479. package/src/modules/middlewares/server/verifyAccesses.js +7 -3
  480. package/src/modules/orders/components/pages/OrderCreate.vue +34 -22
  481. package/src/modules/orders/components/sections/AskToLogin.vue +8 -7
  482. package/src/modules/orders/components/sections/FormDelivery.vue +6 -6
  483. package/src/modules/orders/router/orders.router.js +6 -3
  484. package/src/modules/organizations/components/pages/Members.vue +2 -2
  485. package/src/modules/organizations/components/pages/Organization.vue +2 -2
  486. package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +204 -0
  487. package/src/modules/organizations/router/backoffice.router.js +25 -0
  488. package/src/modules/organizations/router/organizations.js +3 -1
  489. package/src/modules/pages/router/pages.router.js +15 -0
  490. package/src/modules/products/components/blocks/ImagesThumbnails.vue +11 -12
  491. package/src/modules/products/components/pages/Product.vue +7 -3
  492. package/src/modules/products/components/pages/ProductRecommmendation.vue +6 -5
  493. package/src/modules/products/components/sections/FilterProducts.vue +6 -6
  494. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  495. package/src/modules/products/components/sections/PopularProducts.vue +1 -3
  496. package/src/modules/products/components/sections/SectionProduct.vue +8 -8
  497. package/src/modules/spots/components/layouts/Spots.vue +33 -31
  498. package/src/modules/spots/components/pages/Map.vue +380 -353
  499. package/src/modules/spots/router/spots.js +3 -1
  500. package/src/modules/users/components/pages/Profile.vue +4 -4
  501. package/src/modules/users/components/pages/ProfileEdit.vue +4 -3
  502. package/src/modules/wallet/controllers/routes/payments.routes.js +0 -1
  503. package/src/styles/base/all.scss +4 -0
  504. package/src/styles/config.scss +2 -1
  505. package/src/styles/layout.scss +0 -1
  506. package/dist/_virtual/browser-ponyfill.cjs +0 -1
  507. package/dist/_virtual/browser-ponyfill.js +0 -4
  508. package/dist/_virtual/crc32.cjs +0 -1
  509. package/dist/_virtual/crc32.js +0 -4
  510. package/dist/_virtual/index.cjs +0 -1
  511. package/dist/_virtual/index.js +0 -4
  512. package/dist/_virtual/index2.cjs +0 -1
  513. package/dist/_virtual/index2.js +0 -4
  514. package/dist/credentials.schema-CDZCKfEI.mjs +0 -106
  515. package/dist/credentials.schema-CfhPcsuI.js +0 -105
  516. package/dist/index-CGIn4v5E.mjs +0 -217
  517. package/dist/index-CL9l0HRS.js +0 -216
  518. package/dist/main-8APITHuW.mjs +0 -14201
  519. package/dist/main-8N2Jmsuk.js +0 -91
  520. package/dist/main-BJvlNekm.mjs +0 -13631
  521. package/dist/main-BQisDfLk.js +0 -92
  522. package/dist/main-BV1Yv9Hy.js +0 -92
  523. package/dist/main-Ba3zK8PO.js +0 -92
  524. package/dist/main-Btlny-89.mjs +0 -14207
  525. package/dist/main-Bw0PvTs-.mjs +0 -13616
  526. package/dist/main-ByCtZbHD.mjs +0 -13752
  527. package/dist/main-CF35oB7q.js +0 -92
  528. package/dist/main-CX2ISR43.mjs +0 -13629
  529. package/dist/main-CXObXjv-.js +0 -92
  530. package/dist/main-CkeuHuCY.mjs +0 -13619
  531. package/dist/main-CmL_j3wv.mjs +0 -14223
  532. package/dist/main-CnfcBov2.mjs +0 -13740
  533. package/dist/main-D0va05OD.js +0 -92
  534. package/dist/main-D50VqYhy.js +0 -91
  535. package/dist/main-D8gNZLSa.js +0 -92
  536. package/dist/main-DL3vRQCi.js +0 -92
  537. package/dist/main-DPsHxX0l.mjs +0 -13633
  538. package/dist/main-DTlUA63C.mjs +0 -13617
  539. package/dist/main-DfD5hLQo.mjs +0 -13633
  540. package/dist/main-Dh6Zfei9.js +0 -92
  541. package/dist/main-DmNP-t33.mjs +0 -13625
  542. package/dist/main-DwyUYWFX.js +0 -92
  543. package/dist/main-VcxO-jAt.js +0 -92
  544. package/dist/main-cffh4bbv.js +0 -92
  545. package/dist/main-o_2eO2tP.mjs +0 -14208
  546. package/dist/main-pGo7JpSP.js +0 -92
  547. package/dist/metadata.schema-BLGSCSmy.mjs +0 -55
  548. package/dist/metadata.schema-Cu_mPkjE.js +0 -77
  549. package/dist/metadata.schema-DWR97jhW.js +0 -54
  550. package/dist/metadata.schema-cbFgazeK.mjs +0 -78
  551. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
  552. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
  553. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
  554. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
  555. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
  556. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
  557. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
  558. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
  559. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
  560. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
  561. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
  562. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
  563. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
  564. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
  565. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
  566. package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
  567. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
  568. package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
  569. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
  570. package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
  571. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
  572. package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
  573. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
  574. package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
  575. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
  576. package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
  577. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
  578. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
  579. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
  580. package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
  581. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
  582. package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
  583. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
  584. package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
  585. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +0 -1
  586. package/dist/node_modules/@noble/hashes/esm/sha512.js +0 -126
  587. package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
  588. package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
  589. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
  590. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
  591. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
  592. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
  593. package/dist/node_modules/abitype/dist/index.cjs +0 -2
  594. package/dist/node_modules/abitype/dist/index.js +0 -299
  595. package/dist/node_modules/crc-32/crc32.cjs +0 -1
  596. package/dist/node_modules/crc-32/crc32.js +0 -51
  597. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
  598. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
  599. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
  600. package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
  601. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
  602. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
  603. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
  604. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
  605. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
  606. package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
  607. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
  608. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
  609. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
  610. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
  611. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
  612. package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
  613. package/dist/node_modules/eventemitter3/index.cjs +0 -1
  614. package/dist/node_modules/eventemitter3/index.js +0 -117
  615. package/dist/node_modules/eventemitter3/index2.cjs +0 -1
  616. package/dist/node_modules/eventemitter3/index2.js +0 -5
  617. package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
  618. package/dist/node_modules/isomorphic-ws/browser.js +0 -6
  619. package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
  620. package/dist/node_modules/setimmediate/setImmediate.js +0 -99
  621. package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.cjs +0 -7
  622. package/dist/node_modules/vue-meta/dist/vue-meta.esm-browser.min.js +0 -38
  623. package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
  624. package/dist/node_modules/web3/lib/esm/abi.js +0 -19
  625. package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
  626. package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
  627. package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
  628. package/dist/node_modules/web3/lib/esm/index.js +0 -81
  629. package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
  630. package/dist/node_modules/web3/lib/esm/version.js +0 -4
  631. package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
  632. package/dist/node_modules/web3/lib/esm/web3.js +0 -91
  633. package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
  634. package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
  635. package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
  636. package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
  637. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
  638. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
  639. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
  640. package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
  641. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
  642. package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
  643. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
  644. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
  645. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
  646. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
  647. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
  648. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
  649. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
  650. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
  651. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
  652. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
  653. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
  654. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
  655. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
  656. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
  657. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
  658. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
  659. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
  660. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
  661. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
  662. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
  663. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
  664. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
  665. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
  666. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
  667. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
  668. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
  669. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
  670. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
  671. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
  672. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
  673. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
  674. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
  675. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
  676. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
  677. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
  678. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
  679. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
  680. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
  681. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
  682. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
  683. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
  684. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
  685. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
  686. package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
  687. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
  688. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
  689. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
  690. package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
  691. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
  692. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
  693. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
  694. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
  695. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
  696. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
  697. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
  698. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
  699. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
  700. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
  701. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
  702. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
  703. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
  704. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
  705. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
  706. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
  707. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
  708. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
  709. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
  710. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
  711. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
  712. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
  713. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
  714. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
  715. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
  716. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
  717. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
  718. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
  719. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
  720. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
  721. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
  722. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
  723. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
  724. package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
  725. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
  726. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
  727. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
  728. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
  729. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
  730. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
  731. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
  732. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
  733. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
  734. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
  735. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
  736. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
  737. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
  738. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
  739. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
  740. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
  741. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
  742. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
  743. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
  744. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
  745. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
  746. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
  747. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
  748. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
  749. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
  750. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
  751. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
  752. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
  753. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
  754. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
  755. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
  756. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
  757. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
  758. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
  759. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
  760. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
  761. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
  762. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
  763. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
  764. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
  765. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
  766. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
  767. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
  768. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
  769. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
  770. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
  771. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
  772. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
  773. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
  774. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
  775. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
  776. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
  777. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
  778. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
  779. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
  780. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
  781. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
  782. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
  783. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
  784. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
  785. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
  786. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
  787. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
  788. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
  789. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
  790. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
  791. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
  792. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
  793. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
  794. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
  795. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
  796. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
  797. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
  798. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
  799. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
  800. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
  801. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
  802. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
  803. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
  804. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
  805. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
  806. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
  807. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
  808. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
  809. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
  810. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
  811. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
  812. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
  813. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
  814. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
  815. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
  816. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
  817. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
  818. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
  819. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
  820. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
  821. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
  822. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
  823. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
  824. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
  825. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
  826. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
  827. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
  828. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
  829. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
  830. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
  831. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
  832. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
  833. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
  834. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
  835. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
  836. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
  837. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
  838. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
  839. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
  840. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
  841. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
  842. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
  843. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
  844. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
  845. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
  846. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
  847. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
  848. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
  849. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
  850. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
  851. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
  852. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
  853. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
  854. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
  855. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
  856. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
  857. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
  858. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
  859. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
  860. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
  861. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
  862. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
  863. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
  864. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
  865. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
  866. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
  867. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
  868. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
  869. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
  870. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
  871. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
  872. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
  873. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
  874. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
  875. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
  876. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
  877. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
  878. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
  879. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
  880. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
  881. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
  882. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
  883. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
  884. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
  885. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
  886. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
  887. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
  888. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
  889. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
  890. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
  891. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
  892. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
  893. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
  894. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
  895. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
  896. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
  897. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
  898. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
  899. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
  900. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
  901. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
  902. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
  903. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
  904. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
  905. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
  906. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
  907. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
  908. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
  909. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
  910. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
  911. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
  912. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
  913. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
  914. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
  915. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
  916. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
  917. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
  918. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
  919. package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
  920. package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
  921. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
  922. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
  923. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
  924. package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
  925. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
  926. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
  927. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
  928. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
  929. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
  930. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
  931. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
  932. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
  933. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
  934. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
  935. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
  936. package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
  937. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
  938. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
  939. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
  940. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
  941. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
  942. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
  943. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
  944. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
  945. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
  946. package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
  947. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
  948. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
  949. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
  950. package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
  951. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
  952. package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
  953. package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
  954. package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
  955. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
  956. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
  957. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
  958. package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
  959. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
  960. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
  961. package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
  962. package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
  963. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
  964. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
  965. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
  966. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
  967. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
  968. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
  969. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
  970. package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
  971. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
  972. package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
  973. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
  974. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
  975. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
  976. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
  977. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
  978. package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
  979. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
  980. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
  981. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
  982. package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
  983. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
  984. package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
  985. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
  986. package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
  987. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
  988. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
  989. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
  990. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
  991. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
  992. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
  993. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
  994. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
  995. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
  996. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
  997. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
  998. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
  999. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
  1000. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
  1001. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
  1002. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
  1003. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
  1004. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
  1005. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
  1006. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
  1007. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
  1008. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
  1009. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
  1010. package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
  1011. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
  1012. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
  1013. package/dist/node_modules/zod/lib/index.cjs +0 -1
  1014. package/dist/node_modules/zod/lib/index.js +0 -2854
  1015. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
  1016. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
  1017. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
  1018. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
  1019. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
  1020. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
  1021. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
  1022. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
  1023. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
  1024. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
  1025. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
  1026. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  1027. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
  1028. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
  1029. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
  1030. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
  1031. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
  1032. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
  1033. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
  1034. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
  1035. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
  1036. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  1037. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
  1038. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
  1039. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
  1040. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  1041. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
  1042. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
  1043. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
  1044. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
  1045. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
  1046. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
  1047. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
  1048. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
  1049. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
  1050. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
  1051. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
  1052. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
  1053. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
  1054. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  1055. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
  1056. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  1057. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
  1058. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
  1059. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
  1060. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
  1061. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
  1062. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  1063. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
  1064. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
  1065. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
  1066. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
  1067. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
  1068. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  1069. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
  1070. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  1071. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
  1072. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
  1073. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
  1074. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
  1075. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
  1076. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  1077. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
  1078. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  1079. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
  1080. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
  1081. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
  1082. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
  1083. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
  1084. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
  1085. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
  1086. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  1087. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
  1088. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
  1089. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
  1090. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  1091. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
  1092. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  1093. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
  1094. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  1095. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
  1096. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
  1097. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
  1098. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
  1099. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
  1100. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
  1101. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
  1102. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
  1103. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.cjs +0 -2
  1104. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +0 -43
  1105. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
  1106. package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -1
  1107. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
  1108. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
  1109. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
  1110. package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -1
  1111. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +0 -1
  1112. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +0 -1
  1113. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
  1114. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -1
  1115. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
  1116. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
  1117. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
  1118. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -1
  1119. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
  1120. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
  1121. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
  1122. package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -1
  1123. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
  1124. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
  1125. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +0 -1
  1126. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +0 -373
  1127. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +0 -1
  1128. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +0 -1
  1129. package/dist/prometheus-framework/src/components/FieldPhone/utils.cjs +0 -1
  1130. package/dist/prometheus-framework/src/components/FieldPhone/utils.js +0 -259
  1131. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
  1132. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
  1133. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
  1134. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
  1135. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
  1136. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
  1137. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
  1138. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
  1139. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
  1140. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -1
  1141. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +0 -1
  1142. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +0 -62
  1143. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +0 -1
  1144. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +0 -1
  1145. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
  1146. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
  1147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
  1148. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
  1149. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +0 -1
  1150. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +0 -77
  1151. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
  1152. package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -1
  1153. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
  1154. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
  1155. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
  1156. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
  1157. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  1158. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
  1159. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  1160. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -45
  1161. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
  1162. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
  1163. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
  1164. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
  1165. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
  1166. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
  1167. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
  1168. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
  1169. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
  1170. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
  1171. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
  1172. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
  1173. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
  1174. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
  1175. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
  1176. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
  1177. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
  1178. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
  1179. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
  1180. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
  1181. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
  1182. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
  1183. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
  1184. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
  1185. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
  1186. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
  1187. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
  1188. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
  1189. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -1
  1190. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -1
  1191. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
  1192. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
  1193. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
  1194. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
  1195. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
  1196. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
  1197. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
  1198. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
  1199. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
  1200. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
  1201. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
  1202. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
  1203. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
  1204. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
  1205. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.cjs +0 -1
  1206. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.cjs +0 -1
  1207. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.js +0 -1
  1208. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +0 -1
  1209. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +0 -1
  1210. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +0 -1
  1211. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +0 -110
  1212. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +0 -1
  1213. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +0 -1
  1214. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +0 -1
  1215. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +0 -27
  1216. package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.cjs +0 -1
  1217. package/dist/prometheus-framework/src/modules/globals/components/sections/Title.vue.js +0 -29
  1218. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
  1219. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
  1220. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
  1221. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
  1222. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
  1223. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
  1224. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +0 -1
  1225. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +0 -1
  1226. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +0 -1
  1227. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +0 -1
  1228. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
  1229. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
  1230. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
  1231. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
  1232. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
  1233. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
  1234. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
  1235. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
  1236. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
  1237. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
  1238. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
  1239. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
  1240. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.cjs +0 -1
  1241. package/dist/prometheus-framework/src/modules/orders/components/sections/FormClientDetails.vue.js +0 -65
  1242. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
  1243. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
  1244. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +0 -1
  1245. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +0 -87
  1246. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +0 -1
  1247. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +0 -1
  1248. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
  1249. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
  1250. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
  1251. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
  1252. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +0 -1
  1253. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +0 -51
  1254. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +0 -1
  1255. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +0 -1
  1256. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
  1257. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
  1258. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
  1259. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
  1260. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
  1261. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
  1262. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
  1263. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
  1264. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
  1265. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
  1266. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
  1267. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
  1268. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
  1269. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
  1270. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
  1271. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
  1272. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
  1273. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
  1274. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
  1275. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
  1276. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
  1277. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
  1278. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
  1279. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
  1280. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
  1281. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
  1282. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
  1283. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
  1284. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
  1285. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
  1286. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
  1287. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
  1288. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
  1289. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
  1290. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
  1291. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
  1292. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
  1293. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
  1294. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
  1295. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
  1296. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
  1297. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
  1298. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +0 -1
  1299. package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +0 -53
  1300. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
  1301. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
  1302. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
  1303. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
  1304. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
  1305. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
  1306. package/dist/queryProcessor-BJdKh0Ow.mjs +0 -162
  1307. package/dist/queryProcessor-BJoJAetd.mjs +0 -162
  1308. package/dist/queryProcessor-BUDoM96e.js +0 -148
  1309. package/dist/queryProcessor-Cl6sU582.mjs +0 -149
  1310. package/dist/queryProcessor-DRMo_GWK.js +0 -161
  1311. package/dist/queryProcessor-DWf9tsis.js +0 -161
  1312. package/dist/web-B2xhKZNK.js +0 -1
  1313. package/dist/web-B8tq3Fda.mjs +0 -54
  1314. package/dist/web-BDaOF322.js +0 -1
  1315. package/dist/web-BEJCRWop.mjs +0 -54
  1316. package/dist/web-BHzpMOmk.mjs +0 -54
  1317. package/dist/web-BX5um81l.js +0 -1
  1318. package/dist/web-ByJkgGrt.js +0 -1
  1319. package/dist/web-C0sFgeYh.mjs +0 -54
  1320. package/dist/web-CQQEUA9l.js +0 -1
  1321. package/dist/web-CQiHBOEN.mjs +0 -54
  1322. package/dist/web-CXzcKdk4.mjs +0 -54
  1323. package/dist/web-CciQvENI.js +0 -1
  1324. package/dist/web-CkrMHYIU.js +0 -1
  1325. package/dist/web-CtVocufd.js +0 -1
  1326. package/dist/web-CvRd3N_J.mjs +0 -54
  1327. package/dist/web-D0ugI6ra.js +0 -1
  1328. package/dist/web-D2Em-p-C.mjs +0 -54
  1329. package/dist/web-D9Cfcy5k.js +0 -1
  1330. package/dist/web-DEysqj0n.js +0 -1
  1331. package/dist/web-DNq1tHCE.mjs +0 -54
  1332. package/dist/web-DTzbVshr.mjs +0 -54
  1333. package/dist/web-Douq6xn6.js +0 -1
  1334. package/dist/web-DtWmpLE-.mjs +0 -54
  1335. package/dist/web-TGdVOTnw.js +0 -1
  1336. package/dist/web-VFuzUsNl.mjs +0 -54
  1337. package/dist/web-_W9a_nWD.mjs +0 -54
  1338. package/dist/web-kg3KgbAF.js +0 -1
  1339. package/dist/web-nVxTNRH4.mjs +0 -54
  1340. package/src/components/Magnifier/Magnifier.vue +0 -89
  1341. /package/src/{modules/mobile/components → components}/Menu/Menu.vue +0 -0
  1342. /package/src/{modules/mobile/components → components}/Menu/MenuItem.vue +0 -0
  1343. /package/src/{modules/gallery/components/blocks → components/PhotoViewer}/PhotoViewer.vue +0 -0
  1344. /package/src/modules/{mobile/components/BottomNavigation → globals/components/partials}/BottomNavigation.vue +0 -0
  1345. /package/src/modules/{mobile/components/NavigationBar → globals/components/partials}/NavigationBar.vue +0 -0
  1346. /package/src/modules/{mobile/components/Walkthrough → globals/components/sections}/Walkthrough.vue +0 -0
  1347. /package/src/modules/{landing → pages}/components/pages/Page.vue +0 -0
  1348. /package/src/modules/{backoffice/components/admin → pages/components/pages}/PageEdit.vue +0 -0
  1349. /package/src/modules/{backoffice/components/admin → pages/components/pages}/Pages.vue +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../constructor/components/elements/Textarea.vue.cjs");const B=require("../../../constructor/components/sections/Constructor.vue.cjs"),T=require("../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs");require("../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.cjs");const k=require("../../../../components/Block/Block.vue.cjs"),C=require("../../../../components/Popup/Popup.vue2.cjs"),i=require("../../../../components/Field/Field.vue2.cjs"),P=require("../../../../components/FieldTags/BlockTags.vue.cjs"),V=require("../../../../components/Checkbox/Checkbox.vue.cjs"),_=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),f=require("../../../../components/Upload/Upload.vue.cjs"),h=require("../../../../components/UploadImage/UploadImage.vue.cjs"),L=require("../../../../components/EditImages/EditImages.vue.cjs"),q=require("../../../../components/Button/Button.vue2.cjs"),N=require("../../../icons/navigation/IconDelete.vue.cjs"),D=require("vue-router"),u=require("../../store/events.cjs"),n=require("../../../auth/store/auth.cjs"),M=require("../../../organizations/store/organizations.cjs");require("./EditEvent.vue2.cjs");const O={key:0,class:"h-100 pd-thin"},R={class:"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex"},S=e.createElementVNode("h4",null,"Upload Event Cover",-1),F={key:0,class:"mn-b-small"},G={key:2,class:"mn-b-small"},I={key:4,class:"mn-b-semi"},A=e.createElementVNode("h4",{class:"mn-b-thin"}," Hero Section ",-1),z=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Hero Section ",-1),H=e.createElementVNode("p",null,"Need to upload in webm format because of needs of optimization",-1),$=e.createElementVNode("h5",{class:"mn-b-thin"}," Ticket ",-1),Y={class:"mn-b-small gap-small cols-2-fit-content"},j={class:"gap-thin flex-nowrap flex w-100"},J=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),K=e.createElementVNode("h4",{class:"mn-b-thin"}," Guest Section ",-1),Q={class:"gap-thin cols-3"},W=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Guests Section ",-1),X={class:"gap-thin flex-nowrap flex w-100"},Z={class:"w-100"},ee={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},te=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),le=e.createElementVNode("h4",{class:"mn-b-thin"}," Lineup Section ",-1),ae={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},se=e.createElementVNode("h5",{class:"mn-b-thin"}," Background in Lineup Section ",-1),ie=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),ne=e.createElementVNode("h4",{class:"mn-b-thin"}," Previous Party Section ",-1),oe=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Previous Partys Section ",-1),de=e.createElementVNode("h3",{class:"mn-b-small"},"Date",-1),re=e.createElementVNode("h3",{class:"mn-b-small"},"Description",-1),ue={key:5,class:"pd-b-extra w-100 bg-light pd-big radius-big"},ce={key:6,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},pe={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},me=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),fe=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),ge={key:0,class:"mn-b-thin"},he={key:1,class:"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big"},be={__name:"EditEvent",setup(ve){const p=D.useRoute(),m=D.useRouter();let t=e.ref(null),b=e.ref(null);const v=e.ref([]),o=e.ref(null),d=e.ref(new Date);e.onMounted(async()=>{if(p.params.url){const a=await u.read({user:n.state.user._id,url:p.params.url});t.value=a.pop(),console.log(t.value);const l=t.value.date.start,c=t.value.date.end;d.value=[l,c]}else{u.clean(),t.value=u.state.current;const a=new Date,l=new Date;d.value=[a,l]}t.value.owner||(t.value.owner={target:n.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:n.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(o.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo});const s=await M.actions.read({user:n.state.user._id,postable:n.state.user._id,limit:100});b.value=s.map(a=>({name:a.profile.name,_id:a._id,photo:a.profile.photo}))});const g=e.ref(!1);function w(){g.value=!0}function E(){g.value=!1}function U(){v.value.length>0&&v.value.map(s=>s.text),t.value.status="draft",t.value.date={start:d.value[0],end:d.value[1]},p.params.url?u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)}):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)})}function x(){o.value&&(t.value.owner={target:o.value._id,type:"organization"}),o.value||(t.value.creator.hidden=!1),o.value||(t.value.organization=t.value.creator),t.value.status="published",t.value.date={start:d.value[0],end:d.value[1]},console.log(d.value),p.params.url?(console.log(t.value),u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})}function y(){confirm("Are you sure you want to delete this event?")&&u.remove(t.value._id).then(s=>{m.push({name:"User Events",params:{_id:t.value.creator.target._id}})}).catch(s=>{console.error(s)})}return(s,a)=>e.unref(t)?(e.openBlock(),e.createElementBlock("article",O,[e.createElementVNode("div",R,[e.createVNode(h.default,{photo:e.unref(t).cover,"onUpdate:photo":a[0]||(a[0]=l=>e.unref(t).cover=l),uploadPath:"specials",class:"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"},null,8,["photo"]),S]),e.createVNode(i.default,{field:e.unref(t).name,"onUpdate:field":a[1]||(a[1]=l=>e.unref(t).name=l),placeholder:"Event name",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).description,"onUpdate:field":a[2]||(a[2]=l=>e.unref(t).description=l),type:"textfield",placeholder:"Enter short description",class:"mn-b-semi w-100 bg-light pd-medium radius-small"},null,8,["field"]),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("h3",F," Tickets ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("div",{key:1,class:"mn-b-semi w-100 bg-light pd-medium radius-small",onClick:a[3]||(a[3]=l=>e.unref(m).push({name:"Edit Event Tickets",params:{url:e.unref(p).params.url}}))}," Edit tickets ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("h3",G," Special Details ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(V.default,{key:3,label:"Special",radio:e.unref(t).special,"onUpdate:radio":a[4]||(a[4]=l=>e.unref(t).special=!e.unref(t).special),class:"mn-b-semi w-100 bg-black t-white pd-medium radius-small"},null,8,["radio"])):e.createCommentVNode("",!0),e.unref(t).special?(e.openBlock(),e.createElementBlock("div",I,[A,e.createVNode(i.default,{field:e.unref(t).specialData.subtitle,"onUpdate:field":a[5]||(a[5]=l=>e.unref(t).specialData.subtitle=l),placeholder:"Event subtitle",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(L.default,{images:e.unref(t).specialData.logos,uploadPath:"/specials",text:{title:"Drag & Drop Your Logos Here",subtitle:"Files supported: JPG, PNG, GIF"},options:{showTitle:!0,showText:!1},"onUpdate:images":a[6]||(a[6]=l=>e.unref(t).specialData.logos=l),class:"mn-b-thin bg-light radius-small"},null,8,["images"]),z,H,e.createVNode(f.default,{field:e.unref(t).specialData.video,"onUpdate:field":a[7]||(a[7]=l=>e.unref(t).specialData.video=l),placeholder:"Upload video",onFileChange:a[8]||(a[8]=l=>e.unref(t).specialData.video=l),uploadPath:"specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),$,e.createElementVNode("div",Y,[e.createVNode(h.default,{photo:e.unref(t).specialData.ticketImage,"onUpdate:photo":a[9]||(a[9]=l=>e.unref(t).specialData.ticketImage=l),uploadPath:"/specials",class:"aspect-1x1 w-4r o-hidden radius-extra"},null,8,["photo"]),e.createElementVNode("div",j,[e.createVNode(i.default,{field:e.unref(t).specialData.ticketPrice,"onUpdate:field":a[10]||(a[10]=l=>e.unref(t).specialData.ticketPrice=l),type:"number",placeholder:"Ticket price in baht",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.ticketText,"onUpdate:field":a[11]||(a[11]=l=>e.unref(t).specialData.ticketText=l),placeholder:"Promotion text for ticket in hero ",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.ticketTextButton,"onUpdate:field":a[12]||(a[12]=l=>e.unref(t).specialData.ticketTextButton=l),placeholder:"Text on 'Buy Ticket' button ",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"])])]),J,K,e.createVNode(i.default,{field:e.unref(t).specialData.guestTitle,"onUpdate:field":a[13]||(a[13]=l=>e.unref(t).specialData.guestTitle=l),placeholder:"Title for Main Guest section",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestDescription,"onUpdate:field":a[14]||(a[14]=l=>e.unref(t).specialData.guestDescription=l),placeholder:"Description for Main Guest section",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createElementVNode("div",Q,[e.createVNode(i.default,{field:e.unref(t).specialData.guestFacebook,"onUpdate:field":a[15]||(a[15]=l=>e.unref(t).specialData.guestFacebook=l),placeholder:"Facebook of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestInstagram,"onUpdate:field":a[16]||(a[16]=l=>e.unref(t).specialData.guestInstagram=l),placeholder:"Instagram of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestTwitter,"onUpdate:field":a[17]||(a[17]=l=>e.unref(t).specialData.guestTwitter=l),placeholder:"Twitter of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestTelegram,"onUpdate:field":a[18]||(a[18]=l=>e.unref(t).specialData.guestTelegram=l),placeholder:"Telegram of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestSoundcloud,"onUpdate:field":a[19]||(a[19]=l=>e.unref(t).specialData.guestSoundcloud=l),placeholder:"Link to Main Guest soundcloud track",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestSpotify,"onUpdate:field":a[20]||(a[20]=l=>e.unref(t).specialData.guestSpotify=l),placeholder:"Link to Main guest spotify track",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestYoutube,"onUpdate:field":a[21]||(a[21]=l=>e.unref(t).specialData.guestYoutube=l),placeholder:"Link to Main guest youtube video",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"])]),W,e.createVNode(f.default,{field:e.unref(t).specialData.guestVideo,"onUpdate:field":a[22]||(a[22]=l=>e.unref(t).specialData.guestVideo=l),placeholder:"Upload video",onFileChange:a[23]||(a[23]=l=>e.unref(t).specialData.guestVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),e.createVNode(k.default,{title:"Guests",placeholder:"No guests added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.guests.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 mn-b-thin t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.guests,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-small gap-small cols-2-fit-content",key:c},[e.createVNode(h.default,{photo:l.photo,"onUpdate:photo":r=>l.photo=r,uploadPath:"/specials",class:"aspect-1x1 w-8r o-hidden radius-extra"},null,8,["photo","onUpdate:photo"]),e.createElementVNode("div",X,[e.createElementVNode("div",Z,[e.createVNode(i.default,{field:l.name,"onUpdate:field":r=>l.name=r,placeholder:"Name",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(i.default,{field:l.description,"onUpdate:field":r=>l.description=r,placeholder:"Description",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"])]),e.createElementVNode("div",ee,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.guests.splice(c,1),class:"i-medium"},null,8,["onClick"])])])]))),128))]),_:1},8,["actions"]),te,le,e.createVNode(k.default,{title:"Line Up",placeholder:"No line ups added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.lineup.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.lineup,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-thin gap-small flex-nowrap flex",key:c},[e.createVNode(i.default,{field:l.name,"onUpdate:field":r=>l.name=r,placeholder:"Name",class:"w-100 bg-light radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(i.default,{field:l.time,"onUpdate:field":r=>l.time=r,placeholder:"Time",class:"w-100 bg-light radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",ae,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.lineup.splice(c,1),class:"i-medium"},null,8,["onClick"])])]))),128))]),_:1},8,["actions"]),se,e.createVNode(f.default,{field:e.unref(t).specialData.lineupBackground,"onUpdate:field":a[24]||(a[24]=l=>e.unref(t).specialData.lineupBackground=l),placeholder:"Upload image",onFileChange:a[25]||(a[25]=l=>e.unref(t).specialData.lineupBackground=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),ie,ne,oe,e.createVNode(i.default,{field:e.unref(t).specialData.previousTitle,"onUpdate:field":a[26]||(a[26]=l=>e.unref(t).specialData.previousTitle=l),placeholder:"Title",value:"Explore our exclusive party archive",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousDescription,"onUpdate:field":a[27]||(a[27]=l=>e.unref(t).specialData.previousDescription=l),label:"Description",value:"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousLinkText,"onUpdate:field":a[28]||(a[28]=l=>e.unref(t).specialData.previousLinkText=l),label:"Button",value:"Check In Instagram",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousLink,"onUpdate:field":a[29]||(a[29]=l=>e.unref(t).specialData.previousLink=l),label:"Link",value:"https://www.instagram.com/thecommune.phuket/",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(f.default,{field:e.unref(t).specialData.previousVideo,"onUpdate:field":a[30]||(a[30]=l=>e.unref(t).specialData.previousVideo=l),placeholder:"Upload image",onFileChange:a[31]||(a[31]=l=>e.unref(t).specialData.previousVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"])])):e.createCommentVNode("",!0),de,e.createVNode(e.unref(T.default),{modelValue:d.value,"onUpdate:modelValue":a[32]||(a[32]=l=>d.value=l),range:"",class:"z-index-3 mn-b-semi"},null,8,["modelValue"]),re,e.unref(t)?(e.openBlock(),e.createElementBlock("section",ue,[e.createVNode(B.default,{content:e.unref(t).content,onUpdate:a[33]||(a[33]=l=>e.unref(t).content=l)},null,8,["content"])])):e.createCommentVNode("",!0),e.unref(t)?(e.openBlock(),e.createElementBlock("section",ce,[e.createElementVNode("div",pe,[e.unref(p).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:a[34]||(a[34]=l=>y()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:a[35]||(a[35]=l=>U()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:a[36]||(a[36]=l=>w()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0),e.createVNode(C.default,{title:"Publish",onClosePopup:E,isPopupOpen:g.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[me,e.createVNode(P.default,{onTagsChanged:a[37]||(a[37]=l=>e.unref(t).tags=l),tags:e.unref(t).tags},null,8,["tags"]),fe,e.createVNode(_.default,{modelValue:o.value,"onUpdate:modelValue":a[38]||(a[38]=l=>o.value=l),options:e.unref(b),multiple:!1,taggable:!1,placeholder:"Type to search or add tag",label:"name","track-by":"_id",class:"mn-b-medium bg-light radius-medium pd-small"},null,8,["modelValue","options"]),o.value?(e.openBlock(),e.createElementBlock("h5",ge,"Options:")):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("div",he,[e.createVNode(V.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":a[39]||(a[39]=l=>e.unref(t).creator.hidden=l),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(q.default,{submit:x,callback:s.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])])):e.createCommentVNode("",!0)}};exports.default=be;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const B=require("../../../constructor/components/sections/Constructor.vue.cjs"),T=require("../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs");;/* empty css */const k=require("../../../../components/Block/Block.vue.cjs"),C=require("../../../../components/Popup/Popup.vue.cjs"),i=require("../../../../components/Field/Field.vue2.cjs"),P=require("../../../../components/FieldTags/BlockTags.vue.cjs"),V=require("../../../../components/Checkbox/Checkbox.vue.cjs"),_=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),f=require("../../../../components/Upload/Upload.vue.cjs"),h=require("../../../../components/UploadImage/UploadImage.vue.cjs"),L=require("../../../../components/EditImages/EditImages.vue.cjs"),q=require("../../../../components/Button/Button.vue2.cjs"),N=require("../../../icons/navigation/IconDelete.vue.cjs"),D=require("vue-router"),u=require("../../store/events.cjs"),n=require("../../../auth/store/auth.cjs"),M=require("../../../organizations/store/organizations.cjs");;/* empty css */const O={key:0,class:"h-min-100 pd-thin"},R={class:"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex"},S=e.createElementVNode("h4",null,"Upload Event Cover",-1),F={key:0,class:"mn-b-small"},G={key:2,class:"mn-b-small"},I={key:4,class:"mn-b-semi"},A=e.createElementVNode("h4",{class:"mn-b-thin"}," Hero Section ",-1),z=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Hero Section ",-1),H=e.createElementVNode("p",null,"Need to upload in webm format because of needs of optimization",-1),$=e.createElementVNode("h5",{class:"mn-b-thin"}," Ticket ",-1),Y={class:"mn-b-small gap-small cols-2-fit-content"},j={class:"gap-thin flex-nowrap flex w-100"},J=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),K=e.createElementVNode("h4",{class:"mn-b-thin"}," Guest Section ",-1),Q={class:"gap-thin cols-3"},W=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Guests Section ",-1),X={class:"gap-thin flex-nowrap flex w-100"},Z={class:"w-100"},ee={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},te=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),le=e.createElementVNode("h4",{class:"mn-b-thin"}," Lineup Section ",-1),ae={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},se=e.createElementVNode("h5",{class:"mn-b-thin"}," Background in Lineup Section ",-1),ie=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),ne=e.createElementVNode("h4",{class:"mn-b-thin"}," Previous Party Section ",-1),oe=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Previous Partys Section ",-1),de=e.createElementVNode("h3",{class:"mn-b-small"},"Date",-1),re=e.createElementVNode("h3",{class:"mn-b-small"},"Description",-1),ue={key:5,class:"pd-b-extra w-100 bg-light pd-big radius-big"},ce={key:6,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},pe={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},me=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),fe=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),ge={key:0,class:"mn-b-thin"},he={key:1,class:"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big"},be={__name:"EditEvent",setup(ve){const p=D.useRoute(),m=D.useRouter();let t=e.ref(null),b=e.ref(null);const v=e.ref([]),o=e.ref(null),d=e.ref(new Date);e.onMounted(async()=>{if(p.params.url){const a=await u.read({user:n.state.user._id,url:p.params.url});t.value=a.pop(),console.log(t.value);const l=t.value.date.start,c=t.value.date.end;d.value=[l,c]}else{u.clean(),t.value=u.state.current;const a=new Date,l=new Date;d.value=[a,l]}t.value.owner||(t.value.owner={target:n.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:n.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(o.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo});const s=await M.actions.read({user:n.state.user._id,postable:n.state.user._id,limit:100});b.value=s.map(a=>({name:a.profile.name,_id:a._id,photo:a.profile.photo}))});const g=e.ref(!1);function w(){g.value=!0}function E(){g.value=!1}function U(){v.value.length>0&&v.value.map(s=>s.text),t.value.status="draft",t.value.date={start:d.value[0],end:d.value[1]},p.params.url?u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)}):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)})}function x(){o.value&&(t.value.owner={target:o.value._id,type:"organization"}),o.value||(t.value.creator.hidden=!1),o.value||(t.value.organization=t.value.creator),t.value.status="published",t.value.date={start:d.value[0],end:d.value[1]},console.log(d.value),p.params.url?(console.log(t.value),u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})}function y(){confirm("Are you sure you want to delete this event?")&&u.remove(t.value._id).then(s=>{m.push({name:"User Events",params:{_id:t.value.creator.target._id}})}).catch(s=>{console.error(s)})}return(s,a)=>e.unref(t)?(e.openBlock(),e.createElementBlock("article",O,[e.createElementVNode("div",R,[e.createVNode(h.default,{photo:e.unref(t).cover,"onUpdate:photo":a[0]||(a[0]=l=>e.unref(t).cover=l),uploadPath:"specials",class:"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"},null,8,["photo"]),S]),e.createVNode(i.default,{field:e.unref(t).name,"onUpdate:field":a[1]||(a[1]=l=>e.unref(t).name=l),placeholder:"Event name",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).description,"onUpdate:field":a[2]||(a[2]=l=>e.unref(t).description=l),type:"textfield",placeholder:"Enter short description",class:"mn-b-semi w-100 bg-light pd-medium radius-small"},null,8,["field"]),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("h3",F," Tickets ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("div",{key:1,class:"mn-b-semi w-100 bg-light pd-medium radius-small",onClick:a[3]||(a[3]=l=>e.unref(m).push({name:"Edit Event Tickets",params:{url:e.unref(p).params.url}}))}," Edit tickets ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("h3",G," Special Details ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(V.default,{key:3,label:"Special",radio:e.unref(t).special,"onUpdate:radio":a[4]||(a[4]=l=>e.unref(t).special=!e.unref(t).special),class:"mn-b-semi w-100 bg-black t-white pd-medium radius-small"},null,8,["radio"])):e.createCommentVNode("",!0),e.unref(t).special?(e.openBlock(),e.createElementBlock("div",I,[A,e.createVNode(i.default,{field:e.unref(t).specialData.subtitle,"onUpdate:field":a[5]||(a[5]=l=>e.unref(t).specialData.subtitle=l),placeholder:"Event subtitle",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(L.default,{images:e.unref(t).specialData.logos,uploadPath:"/specials",text:{title:"Drag & Drop Your Logos Here",subtitle:"Files supported: JPG, PNG, GIF"},options:{showTitle:!0,showText:!1},"onUpdate:images":a[6]||(a[6]=l=>e.unref(t).specialData.logos=l),class:"mn-b-thin bg-light radius-small"},null,8,["images"]),z,H,e.createVNode(f.default,{field:e.unref(t).specialData.video,"onUpdate:field":a[7]||(a[7]=l=>e.unref(t).specialData.video=l),placeholder:"Upload video",onFileChange:a[8]||(a[8]=l=>e.unref(t).specialData.video=l),uploadPath:"specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),$,e.createElementVNode("div",Y,[e.createVNode(h.default,{photo:e.unref(t).specialData.ticketImage,"onUpdate:photo":a[9]||(a[9]=l=>e.unref(t).specialData.ticketImage=l),uploadPath:"/specials",class:"aspect-1x1 w-4r o-hidden radius-extra"},null,8,["photo"]),e.createElementVNode("div",j,[e.createVNode(i.default,{field:e.unref(t).specialData.ticketPrice,"onUpdate:field":a[10]||(a[10]=l=>e.unref(t).specialData.ticketPrice=l),type:"number",placeholder:"Ticket price in baht",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.ticketText,"onUpdate:field":a[11]||(a[11]=l=>e.unref(t).specialData.ticketText=l),placeholder:"Promotion text for ticket in hero ",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.ticketTextButton,"onUpdate:field":a[12]||(a[12]=l=>e.unref(t).specialData.ticketTextButton=l),placeholder:"Text on 'Buy Ticket' button ",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"])])]),J,K,e.createVNode(i.default,{field:e.unref(t).specialData.guestTitle,"onUpdate:field":a[13]||(a[13]=l=>e.unref(t).specialData.guestTitle=l),placeholder:"Title for Main Guest section",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestDescription,"onUpdate:field":a[14]||(a[14]=l=>e.unref(t).specialData.guestDescription=l),placeholder:"Description for Main Guest section",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createElementVNode("div",Q,[e.createVNode(i.default,{field:e.unref(t).specialData.guestFacebook,"onUpdate:field":a[15]||(a[15]=l=>e.unref(t).specialData.guestFacebook=l),placeholder:"Facebook of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestInstagram,"onUpdate:field":a[16]||(a[16]=l=>e.unref(t).specialData.guestInstagram=l),placeholder:"Instagram of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestTwitter,"onUpdate:field":a[17]||(a[17]=l=>e.unref(t).specialData.guestTwitter=l),placeholder:"Twitter of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestTelegram,"onUpdate:field":a[18]||(a[18]=l=>e.unref(t).specialData.guestTelegram=l),placeholder:"Telegram of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestSoundcloud,"onUpdate:field":a[19]||(a[19]=l=>e.unref(t).specialData.guestSoundcloud=l),placeholder:"Link to Main Guest soundcloud track",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestSpotify,"onUpdate:field":a[20]||(a[20]=l=>e.unref(t).specialData.guestSpotify=l),placeholder:"Link to Main guest spotify track",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestYoutube,"onUpdate:field":a[21]||(a[21]=l=>e.unref(t).specialData.guestYoutube=l),placeholder:"Link to Main guest youtube video",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"])]),W,e.createVNode(f.default,{field:e.unref(t).specialData.guestVideo,"onUpdate:field":a[22]||(a[22]=l=>e.unref(t).specialData.guestVideo=l),placeholder:"Upload video",onFileChange:a[23]||(a[23]=l=>e.unref(t).specialData.guestVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),e.createVNode(k.default,{title:"Guests",placeholder:"No guests added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.guests.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 mn-b-thin t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.guests,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-small gap-small cols-2-fit-content",key:c},[e.createVNode(h.default,{photo:l.photo,"onUpdate:photo":r=>l.photo=r,uploadPath:"/specials",class:"aspect-1x1 w-8r o-hidden radius-extra"},null,8,["photo","onUpdate:photo"]),e.createElementVNode("div",X,[e.createElementVNode("div",Z,[e.createVNode(i.default,{field:l.name,"onUpdate:field":r=>l.name=r,placeholder:"Name",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(i.default,{field:l.description,"onUpdate:field":r=>l.description=r,placeholder:"Description",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"])]),e.createElementVNode("div",ee,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.guests.splice(c,1),class:"i-medium"},null,8,["onClick"])])])]))),128))]),_:1},8,["actions"]),te,le,e.createVNode(k.default,{title:"Line Up",placeholder:"No line ups added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.lineup.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.lineup,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-thin gap-small flex-nowrap flex",key:c},[e.createVNode(i.default,{field:l.name,"onUpdate:field":r=>l.name=r,placeholder:"Name",class:"w-100 bg-light radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(i.default,{field:l.time,"onUpdate:field":r=>l.time=r,placeholder:"Time",class:"w-100 bg-light radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",ae,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.lineup.splice(c,1),class:"i-medium"},null,8,["onClick"])])]))),128))]),_:1},8,["actions"]),se,e.createVNode(f.default,{field:e.unref(t).specialData.lineupBackground,"onUpdate:field":a[24]||(a[24]=l=>e.unref(t).specialData.lineupBackground=l),placeholder:"Upload image",onFileChange:a[25]||(a[25]=l=>e.unref(t).specialData.lineupBackground=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),ie,ne,oe,e.createVNode(i.default,{field:e.unref(t).specialData.previousTitle,"onUpdate:field":a[26]||(a[26]=l=>e.unref(t).specialData.previousTitle=l),placeholder:"Title",value:"Explore our exclusive party archive",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousDescription,"onUpdate:field":a[27]||(a[27]=l=>e.unref(t).specialData.previousDescription=l),label:"Description",value:"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousLinkText,"onUpdate:field":a[28]||(a[28]=l=>e.unref(t).specialData.previousLinkText=l),label:"Button",value:"Check In Instagram",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousLink,"onUpdate:field":a[29]||(a[29]=l=>e.unref(t).specialData.previousLink=l),label:"Link",value:"https://www.instagram.com/thecommune.phuket/",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(f.default,{field:e.unref(t).specialData.previousVideo,"onUpdate:field":a[30]||(a[30]=l=>e.unref(t).specialData.previousVideo=l),placeholder:"Upload image",onFileChange:a[31]||(a[31]=l=>e.unref(t).specialData.previousVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"])])):e.createCommentVNode("",!0),de,e.createVNode(e.unref(T.default),{modelValue:d.value,"onUpdate:modelValue":a[32]||(a[32]=l=>d.value=l),range:"",class:"z-index-3 mn-b-semi"},null,8,["modelValue"]),re,e.unref(t)?(e.openBlock(),e.createElementBlock("section",ue,[e.createVNode(B.default,{content:e.unref(t).content,onUpdate:a[33]||(a[33]=l=>e.unref(t).content=l)},null,8,["content"])])):e.createCommentVNode("",!0),e.unref(t)?(e.openBlock(),e.createElementBlock("section",ce,[e.createElementVNode("div",pe,[e.unref(p).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:a[34]||(a[34]=l=>y()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:a[35]||(a[35]=l=>U()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:a[36]||(a[36]=l=>w()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0),e.createVNode(C.default,{title:"Publish",onClosePopup:E,isPopupOpen:g.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[me,e.createVNode(P.default,{onTagsChanged:a[37]||(a[37]=l=>e.unref(t).tags=l),tags:e.unref(t).tags},null,8,["tags"]),fe,e.createVNode(_.default,{modelValue:o.value,"onUpdate:modelValue":a[38]||(a[38]=l=>o.value=l),options:e.unref(b),multiple:!1,taggable:!1,placeholder:"Type to search or add tag",label:"name","track-by":"_id",class:"mn-b-medium bg-light radius-medium pd-small"},null,8,["modelValue","options"]),o.value?(e.openBlock(),e.createElementBlock("h5",ge,"Options:")):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("div",he,[e.createVNode(V.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":a[39]||(a[39]=l=>e.unref(t).creator.hidden=l),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(q.default,{submit:x,callback:s.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])])):e.createCommentVNode("",!0)}};exports.default=be;
@@ -1,10 +1,10 @@
1
1
  import { ref as v, onMounted as $, unref as a, openBlock as u, createElementBlock as r, createElementVNode as s, createVNode as i, createCommentVNode as p, createBlock as G, withCtx as D, Fragment as _, renderList as T, createTextVNode as F } from "vue";
2
- import "../../../constructor/components/elements/Textarea.vue.js";
2
+ /* empty css */
3
3
  import A from "../../../constructor/components/sections/Constructor.vue.js";
4
4
  import B from "../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
5
- import "../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.js";
5
+ /* empty css */
6
6
  import E from "../../../../components/Block/Block.vue.js";
7
- import I from "../../../../components/Popup/Popup.vue2.js";
7
+ import I from "../../../../components/Popup/Popup.vue.js";
8
8
  import n from "../../../../components/Field/Field.vue2.js";
9
9
  import z from "../../../../components/FieldTags/BlockTags.vue.js";
10
10
  import P from "../../../../components/Checkbox/Checkbox.vue.js";
@@ -18,10 +18,10 @@ import { useRoute as j, useRouter as q } from "vue-router";
18
18
  import { read as K, clean as Q, state as W, update as O, create as C, remove as X } from "../../store/events.js";
19
19
  import { state as d } from "../../../auth/store/auth.js";
20
20
  import { actions as Z } from "../../../organizations/store/organizations.js";
21
- import "./EditEvent.vue2.js";
21
+ /* empty css */
22
22
  const ee = {
23
23
  key: 0,
24
- class: "h-100 pd-thin"
24
+ class: "h-min-100 pd-thin"
25
25
  }, le = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex" }, te = /* @__PURE__ */ s("h4", null, "Upload Event Cover", -1), ae = {
26
26
  key: 0,
27
27
  class: "mn-b-small"
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../../../../components/Feed/Feed.vue.cjs"),N=require("../../../../components/Block/Block.vue.cjs"),x=require("../../../../components/Popup/Popup.vue2.cjs"),u=require("../../../../components/Field/Field.vue2.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),V=require("../elements/ButtonCheck.vue.cjs"),q=require("../../../icons/navigation/IconDelete.vue.cjs"),B=require("../../../icons/navigation/IconAdd.vue.cjs"),b=require("vue-router"),E=require("../../store/events.cjs"),C=require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const m=require("../../store/tickets.cjs");require("./EditEventTickets.vue2.cjs");const T={key:0,class:"h-100 pd-thin"},P={class:"mn-b-medium flex-v-center flex-nowrap flex"},S=e.createElementVNode("h2",{class:"mn-r-medium"},"Tickets",-1),D=["onClick"],U={class:"radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin"},A=["href"],F=["src"],O={class:"mn-r-auto"},M={class:"h4"},R={class:"h5 t-transp mn-b-thin"},I={class:"pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase"},L={__name:"EditEventTickets",setup(Q){var h;const g=b.useRoute();b.useRouter();let n=e.ref(null);const c=e.ref([{name:"",email:"",target:(h=n.value)==null?void 0:h._id,type:"event",quantity:1}]),i=e.ref(!1);function _(r){var l;i.value=!0,c.value=[{name:"",email:"",target:(l=n.value)==null?void 0:l._id,type:"event",quantity:1}]}function p(){i.value=!1}const s=e.ref(!1);e.onMounted(async()=>{const r=await E.read({user:C.state.user._id,url:g.params.url});n.value=r.pop()});async function w(){try{const r=await m.actions.create(c.value);s.value=!s.value}catch(r){console.log(r)}}async function f(r,l){if(confirm("Are you sure you want to deactivate this event?"))try{const t=await m.actions.update({...r,status:l});s.value=!s.value}catch(t){console.error(t)}}return(r,l)=>e.unref(n)?(e.openBlock(),e.createElementBlock("article",T,[e.createElementVNode("header",P,[S,e.createElementVNode("button",{onClick:l[0]||(l[0]=t=>_()),class:"radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second"}," Add Tickets "),e.createVNode(V.default,{onQrcodecheck:l[1]||(l[1]=t=>s.value=!s.value),class:"w-100 pd-medium mn-auto"})]),e.createVNode(x.default,{title:"Добавить участника",onClosePopup:p,isPopupOpen:i.value,class:"w-max-40r"},{default:e.withCtx(()=>[e.createVNode(N.default,{title:"Add tickets",placeholder:"No parameters added yet",class:"cols-1 mn-b-thin gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin flex-nowrap flex",key:a},[e.createVNode(u.default,{field:t.name,"onUpdate:field":o=>t.name=o,placeholder:"Name",class:"w-50 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(u.default,{field:t.email,"onUpdate:field":o=>t.email=o,placeholder:"Email",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(u.default,{field:t.quantity,"onUpdate:field":o=>t.quantity=o,placeholder:"Quantity",type:"number",class:"w-25 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),a<1?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l[2]||(l[2]=()=>c.value.push({name:"",value:"",target:e.unref(n)._id,type:"event",quantity:1})),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green"},[e.createVNode(B.default,{class:"i-medium",fill:"rgb(var(--white)"})])):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:()=>c.value.splice(a,1),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},[e.createVNode(q.default,{class:"i-medium",fill:"rgb(var(--white)"})],8,D))]))),128)),e.createVNode(d.default,{submit:w,callback:p,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Create Tickets ")]),_:1})]),_:1})]),_:1},8,["isPopupOpen"]),e.createVNode(y.default,{search:!0,states:{empty:{title:"No Tickets Found",description:"Currently, there are no tickets."}},store:{read:t=>m.actions.read(t),state:null},options:{target:e.unref(n)._id},external:s.value},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,(a,o)=>{var v,k;return e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("a",{href:a.image,target:"_blank"},[e.createElementVNode("img",{src:a.qrcode,class:"radius-small h-5r w-5r"},null,8,F)],8,A),e.createElementVNode("div",O,[e.createElementVNode("p",M,e.toDisplayString(((v=a.client_refactor)==null?void 0:v.name)||"No name")+", "+e.toDisplayString(a.role),1),e.createElementVNode("p",R,e.toDisplayString(((k=a.client_refactor)==null?void 0:k.email)||"No email"),1),e.createElementVNode("span",I,e.toDisplayString(a.status),1)]),a.status!=="deactivated"?(e.openBlock(),e.createBlock(d.default,{key:0,submit:()=>f(a,"deactivated"),callback:r.redirectTo,class:"w-min h-min pd-small bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Deactivate ")]),_:2},1032,["submit","callback"])):e.createCommentVNode("",!0),a.status==="deactivated"||a.status==="used"?(e.openBlock(),e.createBlock(d.default,{key:1,submit:()=>f(a,"unused"),callback:r.redirectTo,class:"w-min h-min pd-small bg-green t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Activate ")]),_:2},1032,["submit","callback"])):e.createCommentVNode("",!0)])}),256))]),_:1},8,["store","options","external"])])):e.createCommentVNode("",!0)}};exports.default=L;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../../../../components/Feed/Feed.vue.cjs"),N=require("../../../../components/Block/Block.vue.cjs"),x=require("../../../../components/Popup/Popup.vue.cjs"),u=require("../../../../components/Field/Field.vue2.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),V=require("../elements/ButtonCheck.vue.cjs"),q=require("../../../icons/navigation/IconDelete.vue.cjs"),B=require("../../../icons/navigation/IconAdd.vue.cjs"),b=require("vue-router"),E=require("../../store/events.cjs"),C=require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const m=require("../../store/tickets.cjs");;/* empty css */const T={key:0,class:"h-100 pd-thin"},P={class:"mn-b-medium flex-v-center flex-nowrap flex"},S=e.createElementVNode("h2",{class:"mn-r-medium"},"Tickets",-1),D=["onClick"],U={class:"radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin"},A=["href"],F=["src"],O={class:"mn-r-auto"},M={class:"h4"},R={class:"h5 t-transp mn-b-thin"},I={class:"pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase"},L={__name:"EditEventTickets",setup(Q){var h;const g=b.useRoute();b.useRouter();let n=e.ref(null);const c=e.ref([{name:"",email:"",target:(h=n.value)==null?void 0:h._id,type:"event",quantity:1}]),i=e.ref(!1);function _(r){var l;i.value=!0,c.value=[{name:"",email:"",target:(l=n.value)==null?void 0:l._id,type:"event",quantity:1}]}function p(){i.value=!1}const s=e.ref(!1);e.onMounted(async()=>{const r=await E.read({user:C.state.user._id,url:g.params.url});n.value=r.pop()});async function w(){try{const r=await m.actions.create(c.value);s.value=!s.value}catch(r){console.log(r)}}async function f(r,l){if(confirm("Are you sure you want to deactivate this event?"))try{const t=await m.actions.update({...r,status:l});s.value=!s.value}catch(t){console.error(t)}}return(r,l)=>e.unref(n)?(e.openBlock(),e.createElementBlock("article",T,[e.createElementVNode("header",P,[S,e.createElementVNode("button",{onClick:l[0]||(l[0]=t=>_()),class:"radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second"}," Add Tickets "),e.createVNode(V.default,{onQrcodecheck:l[1]||(l[1]=t=>s.value=!s.value),class:"w-100 pd-medium mn-auto"})]),e.createVNode(x.default,{title:"Добавить участника",onClosePopup:p,isPopupOpen:i.value,class:"w-max-40r"},{default:e.withCtx(()=>[e.createVNode(N.default,{title:"Add tickets",placeholder:"No parameters added yet",class:"cols-1 mn-b-thin gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin flex-nowrap flex",key:a},[e.createVNode(u.default,{field:t.name,"onUpdate:field":o=>t.name=o,placeholder:"Name",class:"w-50 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(u.default,{field:t.email,"onUpdate:field":o=>t.email=o,placeholder:"Email",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(u.default,{field:t.quantity,"onUpdate:field":o=>t.quantity=o,placeholder:"Quantity",type:"number",class:"w-25 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),a<1?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l[2]||(l[2]=()=>c.value.push({name:"",value:"",target:e.unref(n)._id,type:"event",quantity:1})),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green"},[e.createVNode(B.default,{class:"i-medium",fill:"rgb(var(--white)"})])):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:()=>c.value.splice(a,1),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},[e.createVNode(q.default,{class:"i-medium",fill:"rgb(var(--white)"})],8,D))]))),128)),e.createVNode(d.default,{submit:w,callback:p,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Create Tickets ")]),_:1})]),_:1})]),_:1},8,["isPopupOpen"]),e.createVNode(y.default,{search:!0,states:{empty:{title:"No Tickets Found",description:"Currently, there are no tickets."}},store:{read:t=>m.actions.read(t),state:null},options:{target:e.unref(n)._id},external:s.value},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,(a,o)=>{var v,k;return e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("a",{href:a.image,target:"_blank"},[e.createElementVNode("img",{src:a.qrcode,class:"radius-small h-5r w-5r"},null,8,F)],8,A),e.createElementVNode("div",O,[e.createElementVNode("p",M,e.toDisplayString(((v=a.client_refactor)==null?void 0:v.name)||"No name")+", "+e.toDisplayString(a.role),1),e.createElementVNode("p",R,e.toDisplayString(((k=a.client_refactor)==null?void 0:k.email)||"No email"),1),e.createElementVNode("span",I,e.toDisplayString(a.status),1)]),a.status!=="deactivated"?(e.openBlock(),e.createBlock(d.default,{key:0,submit:()=>f(a,"deactivated"),callback:r.redirectTo,class:"w-min h-min pd-small bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Deactivate ")]),_:2},1032,["submit","callback"])):e.createCommentVNode("",!0),a.status==="deactivated"||a.status==="used"?(e.openBlock(),e.createBlock(d.default,{key:1,submit:()=>f(a,"unused"),callback:r.redirectTo,class:"w-min h-min pd-small bg-green t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Activate ")]),_:2},1032,["submit","callback"])):e.createCommentVNode("",!0)])}),256))]),_:1},8,["store","options","external"])])):e.createCommentVNode("",!0)}};exports.default=L;
@@ -1,7 +1,7 @@
1
1
  import { ref as p, onMounted as B, unref as _, openBlock as i, createElementBlock as o, createElementVNode as r, createVNode as l, withCtx as u, Fragment as $, renderList as q, createTextVNode as v, toDisplayString as f, createBlock as P, createCommentVNode as b } from "vue";
2
2
  import V from "../../../../components/Feed/Feed.vue.js";
3
3
  import F from "../../../../components/Block/Block.vue.js";
4
- import O from "../../../../components/Popup/Popup.vue2.js";
4
+ import O from "../../../../components/Popup/Popup.vue.js";
5
5
  import g from "../../../../components/Field/Field.vue2.js";
6
6
  import w from "../../../../components/Button/Button.vue2.js";
7
7
  import S from "../elements/ButtonCheck.vue.js";
@@ -12,7 +12,7 @@ import { read as M } from "../../store/events.js";
12
12
  import { state as j } from "../../../auth/store/auth.js";
13
13
  import "../../../organizations/store/organizations.js";
14
14
  import { actions as k } from "../../store/tickets.js";
15
- import "./EditEventTickets.vue2.js";
15
+ /* empty css */
16
16
  const z = {
17
17
  key: 0,
18
18
  class: "h-100 pd-thin"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const d=require("../../../../components/EmptyState/EmptyState.vue.cjs"),m=require("../sections/HeroEvent.vue.cjs"),g=require("../sections/SectionMainGuest.vue.cjs"),k=require("../sections/SectionSpecialGuests.vue.cjs"),D=require("../sections/SectionLineup.vue.cjs"),y=require("../sections/SectionPreviousEvents.vue.cjs"),f=require("../blocks/CardEvent.vue.cjs"),T=require("../../../icons/skeletons/SkeletonEvent.vue.cjs"),h=require("../elements/ButtonJoin.vue.cjs"),B=require("../../../community/components/sections/Comments.vue.cjs"),C=require("../../../constructor/components/elements/Image.vue.cjs"),b=require("../../store/events.cjs"),_=require("../../store/tickets.cjs"),u=require("../../../auth/store/auth.cjs"),N=require("vue-router"),V={class:"pd-thin"},q=t.createElementVNode("h2",{class:"mn-b-big w-100 t-center"},"Event Details",-1),E={__name:"Event",setup(x){const s=N.useRoute(),r=t.ref(null),c=({ticket:a,hasTicket:o,targetId:n})=>{_.mutations.handleTicketUpdate(e.value,a,o,n),console.log("HANDLE TICKET UPDATE",a,e.value),r.value=a.qrcode},p={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:C.default};function v(a){return a.type==="Textarea"?{innerHTML:a.content,class:"p-medium"}:a.type==="H2"?{innerHTML:a.content,class:"h3"}:a.type==="Caption"?{innerHTML:a.content}:a.type==="ImageUpload"?{src:a.content}:{}}const e=t.ref(null),l=t.ref(!0);return t.onMounted(async()=>{l.value=!0;const a=await b.read({user:u.state.user._id,url:s.params.url});e.value=a[0],l.value=!1}),(a,o)=>(t.openBlock(),t.createElementBlock("section",V,[t.createVNode(t.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-light radius-big"},{default:t.withCtx(()=>[l.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},t.renderList(3,n=>t.createVNode(T.default,{key:n})),64)):t.createCommentVNode("",!0)]),_:1}),t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx(()=>[!l.value&&!e.value?(t.openBlock(),t.createBlock(d.default,{key:0,title:"No Event Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-light radius-big"})):t.createCommentVNode("",!0)]),_:1}),!l.value&&e.value&&e.value.special?(t.openBlock(),t.createBlock(m.default,{key:0,content:{title:e.value.name,description:e.value.description,ticketLinkStripe:e.value.specialData.ticketLinkStripe,ticketText:e.value.specialData.ticketText,cover:e.value.cover,subtitle:e.value.specialData.subtitle,logos:e.value.specialData.logos,video:e.value.specialData.video,ticketTextButton:e.value.specialData.ticketTextButton},options:{date:e.value.date.start,price:e.value.specialData.ticketPrice},class:"mn-b-thin"},null,8,["content","options"])):t.createCommentVNode("",!0),!l.value&&e.value&&e.value.special&&e.value.specialData.guestTitle?(t.openBlock(),t.createBlock(g.default,{key:1,content:{title:e.value.specialData.guestTitle,description:e.value.specialData.guestDescription,socials:{twitter:e.value.specialData.guestTwitter,telegram:e.value.specialData.guestTelegram,instagram:e.value.specialData.guestInstagram,facebook:e.value.specialData.guestFacebook},video:e.value.specialData.guestVideo,spotify:e.value.specialData.guestSpotify,soundcloud:e.value.specialData.guestSoundcloud,youtube:e.value.specialData.guestYoutube},class:"mn-b-thin"},null,8,["content"])):t.createCommentVNode("",!0),!l.value&&e.value&&e.value.special?(t.openBlock(),t.createElementBlock("section",{key:2,style:t.normalizeStyle(`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");;/* empty css */const d=require("../../../../components/EmptyState/EmptyState.vue.cjs"),m=require("../sections/HeroEvent.vue.cjs"),g=require("../sections/SectionMainGuest.vue.cjs"),k=require("../sections/SectionSpecialGuests.vue.cjs"),D=require("../sections/SectionLineup.vue.cjs"),y=require("../sections/SectionPreviousEvents.vue.cjs"),f=require("../blocks/CardEvent.vue.cjs"),T=require("../../../icons/skeletons/SkeletonEvent.vue.cjs"),h=require("../elements/ButtonJoin.vue.cjs"),B=require("../../../community/components/sections/Comments.vue.cjs"),C=require("../../../constructor/components/elements/Image.vue.cjs"),b=require("../../store/events.cjs"),_=require("../../store/tickets.cjs"),u=require("../../../auth/store/auth.cjs"),N=require("vue-router"),V={class:"pd-thin"},q=t.createElementVNode("h2",{class:"mn-b-big w-100 t-center"},"Event Details",-1),E={__name:"Event",setup(x){const s=N.useRoute(),r=t.ref(null),c=({ticket:a,hasTicket:o,targetId:n})=>{_.mutations.handleTicketUpdate(e.value,a,o,n),console.log("HANDLE TICKET UPDATE",a,e.value),r.value=a.qrcode},p={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:C.default};function v(a){return a.type==="Textarea"?{innerHTML:a.content,class:"p-medium"}:a.type==="H2"?{innerHTML:a.content,class:"h3"}:a.type==="Caption"?{innerHTML:a.content}:a.type==="ImageUpload"?{src:a.content}:{}}const e=t.ref(null),l=t.ref(!0);return t.onMounted(async()=>{l.value=!0;const a=await b.read({user:u.state.user._id,url:s.params.url});e.value=a[0],l.value=!1}),(a,o)=>(t.openBlock(),t.createElementBlock("section",V,[t.createVNode(t.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-light radius-big"},{default:t.withCtx(()=>[l.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},t.renderList(3,n=>t.createVNode(T.default,{key:n})),64)):t.createCommentVNode("",!0)]),_:1}),t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx(()=>[!l.value&&!e.value?(t.openBlock(),t.createBlock(d.default,{key:0,title:"No Event Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-light radius-big"})):t.createCommentVNode("",!0)]),_:1}),!l.value&&e.value&&e.value.special?(t.openBlock(),t.createBlock(m.default,{key:0,content:{title:e.value.name,description:e.value.description,ticketLinkStripe:e.value.specialData.ticketLinkStripe,ticketText:e.value.specialData.ticketText,cover:e.value.cover,subtitle:e.value.specialData.subtitle,logos:e.value.specialData.logos,video:e.value.specialData.video,ticketTextButton:e.value.specialData.ticketTextButton},options:{date:e.value.date.start,price:e.value.specialData.ticketPrice},class:"mn-b-thin"},null,8,["content","options"])):t.createCommentVNode("",!0),!l.value&&e.value&&e.value.special&&e.value.specialData.guestTitle?(t.openBlock(),t.createBlock(g.default,{key:1,content:{title:e.value.specialData.guestTitle,description:e.value.specialData.guestDescription,socials:{twitter:e.value.specialData.guestTwitter,telegram:e.value.specialData.guestTelegram,instagram:e.value.specialData.guestInstagram,facebook:e.value.specialData.guestFacebook},video:e.value.specialData.guestVideo,spotify:e.value.specialData.guestSpotify,soundcloud:e.value.specialData.guestSoundcloud,youtube:e.value.specialData.guestYoutube},class:"mn-b-thin"},null,8,["content"])):t.createCommentVNode("",!0),!l.value&&e.value&&e.value.special?(t.openBlock(),t.createElementBlock("section",{key:2,style:t.normalizeStyle(`
2
2
  background-size: 100%; background-repeat: no-repeat;
3
3
  background-image: url(${e.value.specialData.lineupBackground});
4
4
  `),class:"mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"},[q,t.createElementVNode("div",{class:t.normalizeClass(["gap-big mn-b-thin",{"cols-2":e.value.specialData.guests.length>0,"cols-1":e.value.specialData.guests.length>1}])},[e.value.specialData.guests.length>0?(t.openBlock(),t.createBlock(k.default,{key:0,content:{title:"Residents",guests:e.value.specialData.guests}},null,8,["content"])):t.createCommentVNode("",!0),t.createVNode(D.default,{content:{title:"Lineup",lineup:e.value.specialData.lineup}},null,8,["content"])],2),t.createVNode(y.default,{content:{ticket:e.value.specialData.ticketImage,ticketTextButton:e.value.specialData.ticketTextButton,paymentText:e.value.specialData.paymentText,paymentContact:e.value.specialData.paymentContact,previousTitle:e.value.specialData.previousTitle,previousDescription:e.value.specialData.previousDescription,previousLink:e.value.specialData.previousLink,previousLinkText:e.value.specialData.previousLinkText},options:{link:e.value.specialData.ticketLinkStripe,video:e.value.specialData.previousVideo}},null,8,["content","options"])],4)):t.createCommentVNode("",!0),!l.value&&e.value&&!e.value.special?(t.openBlock(),t.createBlock(f.default,{key:3,onClick:o[0]||(o[0]=n=>a.$router.push({name:"Event",params:{url:e.value.url}})),event:e.value,owner:e.value.owner,user:u.state.user._id,type:"normal",class:"mn-b-medium bg-light radius-big"},{default:t.withCtx(()=>[u.state.user._id?(t.openBlock(),t.createBlock(h.default,{key:0,type:"event",hasTicket:e.value.hasTicket,targetId:e.value._id,userId:u.state.user._id,class:"mn-b-small w-100 pd-medium mn-auto",onUpdateTicket:c},null,8,["hasTicket","targetId","userId"])):t.createCommentVNode("",!0),t.createElementVNode("section",null,[e.value&&e.value.content?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.value.content,(n,i)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(p[n.type]),t.mergeProps({key:i,index:i,component:n,prop:n,class:n.class,content:"content",ref_for:!0},v(n),{class:"mn-b-regular"}),null,16,["index","component","prop","class"]))),128)):t.createCommentVNode("",!0)])]),_:1},8,["event","owner","user"])):t.createCommentVNode("",!0),!l.value&&e.value&&!e.value.special?(t.openBlock(),t.createBlock(B.default,{key:4,type:"event",target:e.value._id,owner:u.state.user._id},null,8,["target","owner"])):t.createCommentVNode("",!0)]))}};exports.default=E;
@@ -1,5 +1,5 @@
1
1
  import { ref as p, onMounted as h, openBlock as a, createElementBlock as c, createVNode as u, TransitionGroup as b, withCtx as v, Fragment as g, renderList as f, createCommentVNode as l, Transition as x, createBlock as s, normalizeStyle as L, createElementVNode as m, normalizeClass as w, resolveDynamicComponent as C, mergeProps as B } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
2
+ /* empty css */
3
3
  import E from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import $ from "../sections/HeroEvent.vue.js";
5
5
  import I from "../sections/SectionMainGuest.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const f=require("../../../../components/Feed/Feed.vue.cjs"),g=require("../../../../components/DatePicker/DatePicker.vue.cjs"),h=require("../sections/List.vue.cjs"),b=require("../blocks/CardEvent.vue.cjs"),a=require("../../store/events.cjs"),l=require("../../../auth/store/auth.cjs"),y={class:"pd-thin"},q=t.createElementVNode("header",{class:"mn-b-medium flex-v-center flex-nowrap flex"},[t.createElementVNode("h2",{class:"mn-r-medium"}," Featured ")],-1),_={__name:"Events",setup(k){const u=c.useRoute(),m=c.useRouter(),d=p(new Date);function p(e){return`${e.getDate().toString().padStart(2,"0")}${(e.getMonth()+1).toString().padStart(2,"0")}${e.getFullYear()}`}if(u.query){const e=u.query,n={tags:e.tags?e.tags.split(","):null,date:e.date?e.date:d};a.state.filter=n}else{const e={date:d};a.state.filter=e}return t.watch(()=>a.state.filter,(e,n)=>{const r={...u.query};Object.keys(n).forEach(o=>{r[o]&&delete r[o]});const i=Object.fromEntries(Object.entries(e).filter(([o,s])=>Array.isArray(s)&&s.length>0||typeof s=="string"&&s).map(([o,s])=>[o,Array.isArray(s)?s.join(","):s]));Object.assign(r,i),m.push({query:r})},{deep:!0}),(e,n)=>(t.openBlock(),t.createElementBlock("section",y,[q,t.createVNode(h.default,{user:l.state.user._id,class:"bg-light mn-b-medium radius-big",phase:"planned"},null,8,["user"]),t.createVNode(g.default,{date:a.state.filter.date,"onUpdate:date":n[0]||(n[0]=r=>a.state.filter.date=r),locale:e.$i18n.locale,class:"radius-semi o-hidden bg-light mn-b-thin pd-l-zero pd-r-zero pd-medium"},null,8,["date","locale"]),t.createVNode(f.default,{states:{empty:{title:"No Events Found",description:"Currently, there are no events available."}},store:{read:r=>a.read(r),state:a.state},options:{user:l.state.user._id,date:a.state.filter.date,limit:10}},{default:t.withCtx(({items:r})=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r,(i,o)=>(t.openBlock(),t.createBlock(b.default,{onClick:s=>e.$router.push({name:"Event",params:{url:i.url}}),key:i._id,event:i,user:l.state.user._id,type:"normal",class:"bg-light radius-big mn-b-medium"},null,8,["onClick","event","user"]))),128))]),_:1},8,["store","options"])]))}};exports.default=_;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");;/* empty css */const f=require("../../../../components/Feed/Feed.vue.cjs"),g=require("../../../../components/DatePicker/DatePicker.vue.cjs"),h=require("../sections/List.vue.cjs"),b=require("../blocks/CardEvent.vue.cjs"),a=require("../../store/events.cjs"),l=require("../../../auth/store/auth.cjs"),y={class:"pd-thin"},q=t.createElementVNode("header",{class:"mn-b-medium flex-v-center flex-nowrap flex"},[t.createElementVNode("h2",{class:"mn-r-medium"}," Featured ")],-1),_={__name:"Events",setup(k){const u=c.useRoute(),m=c.useRouter(),d=p(new Date);function p(e){return`${e.getDate().toString().padStart(2,"0")}${(e.getMonth()+1).toString().padStart(2,"0")}${e.getFullYear()}`}if(u.query){const e=u.query,n={tags:e.tags?e.tags.split(","):null,date:e.date?e.date:d};a.state.filter=n}else{const e={date:d};a.state.filter=e}return t.watch(()=>a.state.filter,(e,n)=>{const r={...u.query};Object.keys(n).forEach(o=>{r[o]&&delete r[o]});const i=Object.fromEntries(Object.entries(e).filter(([o,s])=>Array.isArray(s)&&s.length>0||typeof s=="string"&&s).map(([o,s])=>[o,Array.isArray(s)?s.join(","):s]));Object.assign(r,i),m.push({query:r})},{deep:!0}),(e,n)=>(t.openBlock(),t.createElementBlock("section",y,[q,t.createVNode(h.default,{user:l.state.user._id,class:"bg-light mn-b-medium radius-big",phase:"planned"},null,8,["user"]),t.createVNode(g.default,{date:a.state.filter.date,"onUpdate:date":n[0]||(n[0]=r=>a.state.filter.date=r),locale:e.$i18n.locale,class:"radius-semi o-hidden bg-light mn-b-thin pd-l-zero pd-r-zero pd-medium"},null,8,["date","locale"]),t.createVNode(f.default,{states:{empty:{title:"No Events Found",description:"Currently, there are no events available."}},store:{read:r=>a.read(r),state:a.state},options:{user:l.state.user._id,date:a.state.filter.date,limit:10}},{default:t.withCtx(({items:r})=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r,(i,o)=>(t.openBlock(),t.createBlock(b.default,{onClick:s=>e.$router.push({name:"Event",params:{url:i.url}}),key:i._id,event:i,user:l.state.user._id,type:"normal",class:"bg-light radius-big mn-b-medium"},null,8,["onClick","event","user"]))),128))]),_:1},8,["store","options"])]))}};exports.default=_;
@@ -2,7 +2,7 @@ import { watch as g, openBlock as l, createElementBlock as c, createVNode as m,
2
2
  import { useRoute as k, useRouter as w } from "vue-router";
3
3
  import "vue-i18n";
4
4
  import "../../../globals/localization/vue-i18n.js";
5
- import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
5
+ /* empty css */
6
6
  import E from "../../../../components/Feed/Feed.vue.js";
7
7
  import F from "../../../../components/DatePicker/DatePicker.vue.js";
8
8
  import D from "../sections/List.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const p=require("../../../../components/EmptyState/EmptyState.vue.cjs"),g=require("../blocks/CardEvent.vue.cjs"),m=require("../../../icons/skeletons/SkeletonEvent.vue.cjs"),c=require("../../store/events.cjs"),v={class:"feed"},f={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},sortParam:{type:String,default:"date.start"},participant:{type:String,default:null},period:{type:String,default:null},phase:{type:String,default:null}},setup(s){const t=s,a=e.ref([]),n=e.ref(!1),l=e.ref(!0),i=e.ref(0),u=e.ref(20),d=async()=>{if(n.value){i.value+=u.value;const r=await c.read({skip:i.value,limit:u.value,category:t.category,sortOrder:t.sortOrder,sortParam:t.sortParam,participant:t.participant,creator:t.creator,user:t.user,date:t.selectedDate,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.length===0?n.value=!1:n.value=!0,a.value=[...a.value,...r]}};return e.onMounted(async()=>{l.value=!0,console.log(t.selectedDate);const r=await c.read({skip:i.value,limit:u.value,category:t.category,participant:t.participant,sortOrder:t.sortOrder,sortParam:t.sortParam,user:t.user,owner:t.owner,creator:t.creator,date:t.selectedDate,organization:t.organization,period:t.period,phase:t.phase});r.length===0?n.value=!1:n.value=!0,a.value=r,l.value=!1}),(r,k)=>(e.openBlock(),e.createElementBlock("section",v,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"o-hidden bg-light radius-big"},{default:e.withCtx(()=>[l.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,o=>(e.openBlock(),e.createBlock(m.default,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!l.value&&a.value.length<1?(e.openBlock(),e.createBlock(p.default,{key:0,title:"No Events Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-light radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"container"},{default:e.withCtx(()=>[!l.value&&a.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,(o,y)=>(e.openBlock(),e.createBlock(g.default,{onClick:h=>r.$router.push({name:"Event",params:{url:o.url}}),key:o._id,event:o,user:s.user,type:"normal",class:"bg-light radius-big mn-b-medium"},null,8,["onClick","event","user"]))),128)):e.createCommentVNode("",!0),n.value&&a.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const p=require("../../../../components/EmptyState/EmptyState.vue.cjs"),g=require("../blocks/CardEvent.vue.cjs"),m=require("../../../icons/skeletons/SkeletonEvent.vue.cjs"),c=require("../../store/events.cjs"),v={class:"feed"},f={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},sortParam:{type:String,default:"date.start"},participant:{type:String,default:null},period:{type:String,default:null},phase:{type:String,default:null}},setup(s){const t=s,a=e.ref([]),n=e.ref(!1),l=e.ref(!0),i=e.ref(0),u=e.ref(20),d=async()=>{if(n.value){i.value+=u.value;const r=await c.read({skip:i.value,limit:u.value,category:t.category,sortOrder:t.sortOrder,sortParam:t.sortParam,participant:t.participant,creator:t.creator,user:t.user,date:t.selectedDate,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.length===0?n.value=!1:n.value=!0,a.value=[...a.value,...r]}};return e.onMounted(async()=>{l.value=!0,console.log(t.selectedDate);const r=await c.read({skip:i.value,limit:u.value,category:t.category,participant:t.participant,sortOrder:t.sortOrder,sortParam:t.sortParam,user:t.user,owner:t.owner,creator:t.creator,date:t.selectedDate,organization:t.organization,period:t.period,phase:t.phase});r.length===0?n.value=!1:n.value=!0,a.value=r,l.value=!1}),(r,k)=>(e.openBlock(),e.createElementBlock("section",v,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"o-hidden bg-light radius-big"},{default:e.withCtx(()=>[l.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,o=>(e.openBlock(),e.createBlock(m.default,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!l.value&&a.value.length<1?(e.openBlock(),e.createBlock(p.default,{key:0,title:"No Events Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-light radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"container"},{default:e.withCtx(()=>[!l.value&&a.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,(o,y)=>(e.openBlock(),e.createBlock(g.default,{onClick:h=>r.$router.push({name:"Event",params:{url:o.url}}),key:o._id,event:o,user:s.user,type:"normal",class:"bg-light radius-big mn-b-medium"},null,8,["onClick","event","user"]))),128)):e.createCommentVNode("",!0),n.value&&a.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=f;
@@ -1,5 +1,5 @@
1
1
  import { ref as i, onMounted as _, openBlock as r, createElementBlock as u, createVNode as p, TransitionGroup as f, withCtx as m, Fragment as y, renderList as h, createBlock as g, createCommentVNode as c, Transition as S } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
2
+ /* empty css */
3
3
  import w from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import C from "../blocks/CardEvent.vue.js";
5
5
  import E from "../../../icons/skeletons/SkeletonEvent.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const g=require("../../../../components/Countdown/Countdown.vue.cjs");require("./HeroEvent.vue2.cjs");const x=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),B={class:"t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative"},E={style:{"min-height":"20rem"},class:"desktop-only radius-big o-hidden bg-black pos-relative"},w=["src"],V=["src","type"],N={class:"content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero"},z={class:"mn-b-big z-index-1 flex-nowrap flex gap-small"},S=["src"],C={class:"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"},j={class:"z-index-1 t-main mn-b-semi"},D={class:"z-index-1 p-big mn-b-semi"},T={class:"z-index-1 t-transp p-small mn-b-thin"},q={key:0,class:"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"},H={key:1,class:"z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"},L=["src"],M=["src"],O={__name:"HeroEvent",props:{content:{type:Object},options:{type:Object}},setup(t){const v=t,o=e.ref(null);var i=!1;function k(){o.value.onplaying=function(){i=!0},o.value.onpause=function(){i=!1}}function b(n){return n.endsWith(".mp4")?"video/mp4":n.endsWith(".webm")?"video/webm":""}async function h(){if(o.value.paused&&!i)return o.value.play()}e.onMounted(()=>{k(),h()});function f(){var n;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((n=v.content)==null?void 0:n.ticketLinkStripe)}return(n,c)=>{var l,s,a,r,d,m,u,p;return e.openBlock(),e.createElementBlock("section",B,[e.createElementVNode("div",E,[t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.content.cover,class:"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,w)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:1,style:{"object-fit":"cover"},ref_key:"videoElement",ref:o,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",itemprop:"video",type:"video/webm"},[e.createElementVNode("source",{src:t.content.video,type:b(t.content.video)},null,8,V)],512)):e.createCommentVNode("",!0)]),e.createElementVNode("div",N,[e.createElementVNode("div",z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.content.logos,y=>(e.openBlock(),e.createElementBlock("img",{class:"radius-thin object-fit-contain i-big",src:y},null,8,S))),256))]),e.createElementVNode("h3",C,e.toDisplayString((l=t.content)==null?void 0:l.subtitle),1),e.createElementVNode("h1",j,e.toDisplayString((s=t.content)==null?void 0:s.title),1),e.createElementVNode("p",D,e.toDisplayString((a=t.content)==null?void 0:a.description),1),e.createElementVNode("p",T,[e.createElementVNode("span",null,e.toDisplayString((r=t.content)==null?void 0:r.ticketText),1),(d=t.options)!=null&&d.price?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString((m=t.options)==null?void 0:m.price)+" "+e.toDisplayString(n.returnCurrency()),1)):e.createCommentVNode("",!0)]),t.options.date?(e.openBlock(),e.createBlock(g.default,{key:0,class:"z-index-1 mn-t-medium w-100 w-max-30r",date:t.options.date},null,8,["date"])):e.createCommentVNode("",!0),(u=t.content)!=null&&u.ticketLinkStripe?(e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("a",{href:"#",onClick:c[0]||(c[0]=y=>f()),class:"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"},e.toDisplayString(((p=t.content)==null?void 0:p.ticketTextButton)||"Buy Ticket"),1)])):e.createCommentVNode("",!0),t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:2,style:{"object-fit":"cover",opacity:"0.2"},src:t.content.cover,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,L)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:3,style:{"object-fit":"cover",opacity:"0.2"},ref_key:"videoElement",ref:o,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:t.content.video,itemprop:"video",type:"video/webm"},null,8,M)):e.createCommentVNode("",!0)])])}}},P=x.default(O,[["__scopeId","data-v-ec952edd"]]);exports.default=P;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const g=require("../../../../components/Countdown/Countdown.vue.cjs");;/* empty css */const x=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),B={class:"t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative"},E={style:{"min-height":"20rem"},class:"desktop-only radius-big o-hidden bg-black pos-relative"},w=["src"],V=["src","type"],N={class:"content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero"},z={class:"mn-b-big z-index-1 flex-nowrap flex gap-small"},S=["src"],C={class:"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"},j={class:"z-index-1 t-main mn-b-semi"},D={class:"z-index-1 p-big mn-b-semi"},T={class:"z-index-1 t-transp p-small mn-b-thin"},q={key:0,class:"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"},H={key:1,class:"z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"},L=["src"],M=["src"],O={__name:"HeroEvent",props:{content:{type:Object},options:{type:Object}},setup(t){const v=t,o=e.ref(null);var i=!1;function k(){o.value.onplaying=function(){i=!0},o.value.onpause=function(){i=!1}}function b(n){return n.endsWith(".mp4")?"video/mp4":n.endsWith(".webm")?"video/webm":""}async function h(){if(o.value.paused&&!i)return o.value.play()}e.onMounted(()=>{k(),h()});function f(){var n;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((n=v.content)==null?void 0:n.ticketLinkStripe)}return(n,c)=>{var l,s,a,r,d,m,u,p;return e.openBlock(),e.createElementBlock("section",B,[e.createElementVNode("div",E,[t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.content.cover,class:"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,w)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:1,style:{"object-fit":"cover"},ref_key:"videoElement",ref:o,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",itemprop:"video",type:"video/webm"},[e.createElementVNode("source",{src:t.content.video,type:b(t.content.video)},null,8,V)],512)):e.createCommentVNode("",!0)]),e.createElementVNode("div",N,[e.createElementVNode("div",z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.content.logos,y=>(e.openBlock(),e.createElementBlock("img",{class:"radius-thin object-fit-contain i-big",src:y},null,8,S))),256))]),e.createElementVNode("h3",C,e.toDisplayString((l=t.content)==null?void 0:l.subtitle),1),e.createElementVNode("h1",j,e.toDisplayString((s=t.content)==null?void 0:s.title),1),e.createElementVNode("p",D,e.toDisplayString((a=t.content)==null?void 0:a.description),1),e.createElementVNode("p",T,[e.createElementVNode("span",null,e.toDisplayString((r=t.content)==null?void 0:r.ticketText),1),(d=t.options)!=null&&d.price?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString((m=t.options)==null?void 0:m.price)+" "+e.toDisplayString(n.returnCurrency()),1)):e.createCommentVNode("",!0)]),t.options.date?(e.openBlock(),e.createBlock(g.default,{key:0,class:"z-index-1 mn-t-medium w-100 w-max-30r",date:t.options.date},null,8,["date"])):e.createCommentVNode("",!0),(u=t.content)!=null&&u.ticketLinkStripe?(e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("a",{href:"#",onClick:c[0]||(c[0]=y=>f()),class:"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"},e.toDisplayString(((p=t.content)==null?void 0:p.ticketTextButton)||"Buy Ticket"),1)])):e.createCommentVNode("",!0),t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:2,style:{"object-fit":"cover",opacity:"0.2"},src:t.content.cover,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,L)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:3,style:{"object-fit":"cover",opacity:"0.2"},ref_key:"videoElement",ref:o,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:t.content.video,itemprop:"video",type:"video/webm"},null,8,M)):e.createCommentVNode("",!0)])])}}},P=x.default(O,[["__scopeId","data-v-ec952edd"]]);exports.default=P;
@@ -1,7 +1,7 @@
1
1
  import { ref as j, onMounted as B, openBlock as t, createElementBlock as o, createElementVNode as n, createCommentVNode as s, Fragment as E, renderList as T, toDisplayString as c, createBlock as V } from "vue";
2
2
  import "vue-i18n";
3
3
  import C from "../../../../components/Countdown/Countdown.vue.js";
4
- import "./HeroEvent.vue2.js";
4
+ /* empty css */
5
5
  import L from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
6
  const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative" }, H = {
7
7
  style: { "min-height": "20rem" },
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const c=require("../../../../components/EmptyState/EmptyState.vue.cjs"),d=require("../blocks/CardEvent.vue.cjs"),p=require("../../../icons/skeletons/SkeletonEventShort.vue.cjs"),g=require("../../store/events.cjs");require("./List.vue2.cjs");const m={class:"today-events"},k={__name:"List",props:{category:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},period:{type:String,default:null},phase:{type:String,default:null}},setup(o){const t=o,r=e.ref([]),n=e.ref(!0),s=e.ref(0),u=e.ref(5);return e.onMounted(async()=>{const l=await g.read({skip:s.value,limit:u.value,sortOrder:"desc",category:t.category,user:t.user,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.value=l,n.value=!1}),(l,v)=>(e.openBlock(),e.createElementBlock("section",m,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-light radius-big"},{default:e.withCtx(()=>[n.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,a=>(e.openBlock(),e.createBlock(p.default,{key:a}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!n.value&&r.value.length<1?(e.openBlock(),e.createBlock(c.default,{key:0,title:"No Planned Events ",description:"No events available. Please check back later.",class:"pd-medium mn-b-thin br-solid br-1px br-grey-transp-25 bg-light radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!n.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(a,i)=>(e.openBlock(),e.createBlock(d.default,{onClick:f=>l.$router.push({name:"Event",params:{url:a.url}}),key:a._id,event:a,owner:o.user,type:"short",class:e.normalizeClass(["pd-medium",{"br-b br-solid br-black-transp-10":i!==r.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const c=require("../../../../components/EmptyState/EmptyState.vue.cjs"),d=require("../blocks/CardEvent.vue.cjs"),p=require("../../../icons/skeletons/SkeletonEventShort.vue.cjs"),g=require("../../store/events.cjs");;/* empty css */const m={class:"today-events"},k={__name:"List",props:{category:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},period:{type:String,default:null},phase:{type:String,default:null}},setup(o){const t=o,r=e.ref([]),n=e.ref(!0),s=e.ref(0),u=e.ref(5);return e.onMounted(async()=>{const l=await g.read({skip:s.value,limit:u.value,sortOrder:"desc",category:t.category,user:t.user,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.value=l,n.value=!1}),(l,v)=>(e.openBlock(),e.createElementBlock("section",m,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-light radius-big"},{default:e.withCtx(()=>[n.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,a=>(e.openBlock(),e.createBlock(p.default,{key:a}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!n.value&&r.value.length<1?(e.openBlock(),e.createBlock(c.default,{key:0,title:"No Planned Events ",description:"No events available. Please check back later.",class:"pd-medium mn-b-thin br-solid br-1px br-grey-transp-25 bg-light radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!n.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(a,i)=>(e.openBlock(),e.createBlock(d.default,{onClick:f=>l.$router.push({name:"Event",params:{url:a.url}}),key:a._id,event:a,owner:o.user,type:"short",class:e.normalizeClass(["pd-medium",{"br-b br-solid br-black-transp-10":i!==r.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=k;
@@ -1,10 +1,10 @@
1
1
  import { ref as l, onMounted as b, openBlock as t, createElementBlock as i, createVNode as s, TransitionGroup as g, withCtx as u, Fragment as f, renderList as v, createBlock as c, createCommentVNode as d, Transition as k, normalizeClass as _ } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
2
+ /* empty css */
3
3
  import S from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import w from "../blocks/CardEvent.vue.js";
5
5
  import C from "../../../icons/skeletons/SkeletonEventShort.vue.js";
6
6
  import { read as N } from "../../store/events.js";
7
- import "./List.vue2.js";
7
+ /* empty css */
8
8
  const z = { class: "today-events" }, G = {
9
9
  __name: "List",
10
10
  props: {
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const V=require("../../../organizations/components/blocks/Socials.vue.cjs");require("./SectionMainGuest.vue2.cjs");const B={id:"mainguest",class:"o-hidden bg-black t-white pos-relative radius-big gap-zero pos-relative cols-2"},N={class:"pd-big pos-relative flex-column flex w-100 h-100 gap-zero"},_={class:"mn-b-semi"},M=["innerHTML"],S=["src"],q=["src"],T=["src"],$={style:{"min-height":"20rem"},class:"o-hidden pos-relative"},j=["src"],z={__name:"SectionMainGuest",props:{content:{type:Object}},setup(t){const o=e.ref(null);let n=!1;function v(){o.value.onplaying=function(){n=!0},o.value.onpause=function(){n=!1}}async function k(){if(o.value.paused&&!n)return o.value.play()}return e.onMounted(()=>{v(),k()}),(E,C)=>{var l,a,c,s,i,r,u,d,m,h,f,p,y,b,g,w;return e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("div",N,[e.createVNode(V.default,{telegram:(a=(l=t.content)==null?void 0:l.socials)==null?void 0:a.telegram,facebook:(s=(c=t.content)==null?void 0:c.socials)==null?void 0:s.facebook,instagram:(r=(i=t.content)==null?void 0:i.socials)==null?void 0:r.instagram,twitter:(d=(u=t.content)==null?void 0:u.socials)==null?void 0:d.twitter,class:"mn-b-semi"},null,8,["telegram","facebook","instagram","twitter"]),e.createElementVNode("h2",_,e.toDisplayString((m=t.content)==null?void 0:m.title),1),e.createElementVNode("p",{class:"p-medium t-transp",innerHTML:(h=t.content)==null?void 0:h.description},null,8,M),e.renderSlot(E.$slots,"default"),(f=t.content)!=null&&f.soundcloud?(e.openBlock(),e.createElementBlock("iframe",{key:0,class:"radius-big o-hidden mn-t-medium",width:"100%",height:"200",scrolling:"no",frameborder:"no",allow:"autoplay",src:`https://w.soundcloud.com/player/?url=https%3A//soundcloud.com/${t.content.soundcloud}
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const V=require("../../../organizations/components/blocks/Socials.vue.cjs");;/* empty css */const B={id:"mainguest",class:"o-hidden bg-black t-white pos-relative radius-big gap-zero pos-relative cols-2"},N={class:"pd-big pos-relative flex-column flex w-100 h-100 gap-zero"},_={class:"mn-b-semi"},M=["innerHTML"],S=["src"],q=["src"],T=["src"],$={style:{"min-height":"20rem"},class:"o-hidden pos-relative"},j=["src"],z={__name:"SectionMainGuest",props:{content:{type:Object}},setup(t){const o=e.ref(null);let n=!1;function v(){o.value.onplaying=function(){n=!0},o.value.onpause=function(){n=!1}}async function k(){if(o.value.paused&&!n)return o.value.play()}return e.onMounted(()=>{v(),k()}),(E,C)=>{var l,a,c,s,i,r,u,d,m,h,f,p,y,b,g,w;return e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("div",N,[e.createVNode(V.default,{telegram:(a=(l=t.content)==null?void 0:l.socials)==null?void 0:a.telegram,facebook:(s=(c=t.content)==null?void 0:c.socials)==null?void 0:s.facebook,instagram:(r=(i=t.content)==null?void 0:i.socials)==null?void 0:r.instagram,twitter:(d=(u=t.content)==null?void 0:u.socials)==null?void 0:d.twitter,class:"mn-b-semi"},null,8,["telegram","facebook","instagram","twitter"]),e.createElementVNode("h2",_,e.toDisplayString((m=t.content)==null?void 0:m.title),1),e.createElementVNode("p",{class:"p-medium t-transp",innerHTML:(h=t.content)==null?void 0:h.description},null,8,M),e.renderSlot(E.$slots,"default"),(f=t.content)!=null&&f.soundcloud?(e.openBlock(),e.createElementBlock("iframe",{key:0,class:"radius-big o-hidden mn-t-medium",width:"100%",height:"200",scrolling:"no",frameborder:"no",allow:"autoplay",src:`https://w.soundcloud.com/player/?url=https%3A//soundcloud.com/${t.content.soundcloud}
2
2
  &color=%23ff5500&auto_play=false&hide_related=false
3
3
  &show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true`},null,8,S)):e.createCommentVNode("",!0),(p=t.content)!=null&&p.spotify?(e.openBlock(),e.createElementBlock("iframe",{key:1,src:`https://open.spotify.com/embed/track/${(y=t.content)==null?void 0:y.spotify}?utm_source=generator`,width:"100%",height:"152",frameBorder:"0",allowfullscreen:"",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy",class:"mn-t-thin radius-big o-hidden"},null,8,q)):e.createCommentVNode("",!0),(b=t.content)!=null&&b.youtube?(e.openBlock(),e.createElementBlock("iframe",{key:2,width:"100%",class:"radius-big mn-t-semi",height:"315",src:`https://www.youtube.com/embed/${(g=t.content)==null?void 0:g.youtube}`,title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""},null,8,T)):e.createCommentVNode("",!0)]),e.createElementVNode("div",$,[e.createElementVNode("video",{src:(w=t.content)==null?void 0:w.video,itemprop:"video",type:"video/mp4",ref_key:"videoElement",ref:o,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100 object-fit-cover",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:""},null,8,j)])])}}};exports.default=z;
@@ -1,7 +1,7 @@
1
1
  import { ref as M, onMounted as x, openBlock as n, createElementBlock as i, createElementVNode as o, createVNode as z, toDisplayString as B, renderSlot as N, createCommentVNode as l } from "vue";
2
2
  import "vue-i18n";
3
3
  import S from "../../../organizations/components/blocks/Socials.vue.js";
4
- import "./SectionMainGuest.vue2.js";
4
+ /* empty css */
5
5
  const T = {
6
6
  id: "mainguest",
7
7
  class: "o-hidden bg-black t-white pos-relative radius-big gap-zero pos-relative cols-2"
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../../../../node_modules/axios/lib/axios.cjs"),l=require("vue"),s=require("../../globals/store/globals.cjs"),c=m.default.create({baseURL:process.env.API_URL,withCredentials:!0}),r=l.reactive({all:[],filter:{tags:[],period:"",date:null},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",special:!1,specialData:{},cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}});async function d(e={}){e.params=e.params||{},e.params.skip=e.skip||0,e.params.limit=e.limit||9,e.params.tags=e.tags||[],e.phase&&(e.params={phase:e.phase}),e.url&&(e.params={url:e.url}),e.period&&(e.params.period=e.period),e.category&&(e.params.category=e.category),e.organization&&(e.params.organization=e.organization),e.date&&(e.params.date=e.date),e.participant&&(e.params.participant=e.participant),e.owner&&(e.params.owner=e.owner),e.creator&&(e.params.creator=e.creator),e.user&&(e.params.user=e.user),e.sortOrder&&(e.params.sortOrder=e.sortOrder),e.sortParam&&(e.params.sortParam=e.sortParam),e.params.skip=e.skip||0,e.params.limit=e.limit||10;try{console.log("Request params:"+e.params);const a=await c.get("/api/events/read",{params:e.params});return console.log(e.params),e.url?t(a.data,"current"):t(a.data,"all"),Promise.resolve(a.data)}catch(a){return s.setError(a),Promise.reject(a)}}async function n(e){return c.post("/api/events/create",e).then(a=>(t(a.data,"current"),Promise.resolve(a.data)),a=>(s.setError(a),Promise.reject(a)))}async function g(e){return c.post("/api/events/update",e).then(a=>(t(a.data,"current"),Promise.resolve(a.data)),a=>(s.setError(a),Promise.reject(a)))}async function f(e){return await c.post("/api/events/delete",{_id:e}).then(a=>{const u=r.all.findIndex(i=>i._id===e);return u!==-1&&r.all.splice(u,1),Promise.resolve(a.data)},a=>(s.setError(a),Promise.reject(a)))}function t(e,a){r[a]=e}function v(){r.current={_id:"",cover:"",url:"",phase:"",name:"",special:!1,specialData:{subtitle:"",logos:[],video:"",ticketImage:"",ticketLinkStripe:"",ticketPrice:"",guestTitle:"",guestDescription:"",guestFacebook:"",guestInstagram:"",guestTwitter:"",guestTelegram:"",guestSoundcloud:"",guestSpotify:"",guestVideo:"",guests:[],lineup:[],lineupBackground:"",previousVideo:""},tags:[],date:{start:null,false:null},views:0,content:[]}}l.watch(r,(e,a)=>{});exports.clean=v;exports.create=n;exports.read=d;exports.remove=f;exports.set=t;exports.state=r;exports.update=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("axios"),l=require("vue"),s=require("../../globals/store/globals.cjs"),c=m.create({baseURL:process.env.API_URL,withCredentials:!0}),r=l.reactive({all:[],filter:{tags:[],period:"",date:null},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",special:!1,specialData:{},cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}});async function d(e={}){e.params=e.params||{},e.params.skip=e.skip||0,e.params.limit=e.limit||9,e.params.tags=e.tags||[],e.phase&&(e.params={phase:e.phase}),e.url&&(e.params={url:e.url}),e.period&&(e.params.period=e.period),e.category&&(e.params.category=e.category),e.organization&&(e.params.organization=e.organization),e.date&&(e.params.date=e.date),e.participant&&(e.params.participant=e.participant),e.owner&&(e.params.owner=e.owner),e.creator&&(e.params.creator=e.creator),e.user&&(e.params.user=e.user),e.sortOrder&&(e.params.sortOrder=e.sortOrder),e.sortParam&&(e.params.sortParam=e.sortParam),e.params.skip=e.skip||0,e.params.limit=e.limit||10;try{console.log("Request params:"+e.params);const a=await c.get("/api/events/read",{params:e.params});return console.log(e.params),e.url?t(a.data,"current"):t(a.data,"all"),Promise.resolve(a.data)}catch(a){return s.setError(a),Promise.reject(a)}}async function n(e){return c.post("/api/events/create",e).then(a=>(t(a.data,"current"),Promise.resolve(a.data)),a=>(s.setError(a),Promise.reject(a)))}async function g(e){return c.post("/api/events/update",e).then(a=>(t(a.data,"current"),Promise.resolve(a.data)),a=>(s.setError(a),Promise.reject(a)))}async function f(e){return await c.post("/api/events/delete",{_id:e}).then(a=>{const u=r.all.findIndex(i=>i._id===e);return u!==-1&&r.all.splice(u,1),Promise.resolve(a.data)},a=>(s.setError(a),Promise.reject(a)))}function t(e,a){r[a]=e}function v(){r.current={_id:"",cover:"",url:"",phase:"",name:"",special:!1,specialData:{subtitle:"",logos:[],video:"",ticketImage:"",ticketLinkStripe:"",ticketPrice:"",guestTitle:"",guestDescription:"",guestFacebook:"",guestInstagram:"",guestTwitter:"",guestTelegram:"",guestSoundcloud:"",guestSpotify:"",guestVideo:"",guests:[],lineup:[],lineupBackground:"",previousVideo:""},tags:[],date:{start:null,false:null},views:0,content:[]}}l.watch(r,(e,a)=>{});exports.clean=v;exports.create=n;exports.read=d;exports.remove=f;exports.set=t;exports.state=r;exports.update=g;
@@ -1,4 +1,4 @@
1
- import i from "../../../../node_modules/axios/lib/axios.js";
1
+ import i from "axios";
2
2
  import { reactive as m, watch as d } from "vue";
3
3
  import { setError as s } from "../../globals/store/globals.js";
4
4
  const c = i.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = m({
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../../../../node_modules/axios/lib/axios.cjs"),l=require("vue"),n=require("../../globals/store/globals.cjs"),c=p.default.create({baseURL:process.env.API_URL,withCredentials:!0}),s=l.reactive({tickets:[],error:null}),m={async read({user:r,type:e,target:a,role:t,skip:o,limit:u,search:d}){try{const i=await c.get("/api/tickets",{params:{user:r,type:e,target:a,role:t,skip:o,limit:u,search:d}});return s.error=null,s.tickets=i.data,Promise.resolve(i.data)}catch(i){return n.setError(i),Promise.reject(i)}},async create(r){try{const e=await c.post("/api/tickets/create",r);return s.error=null,Promise.resolve(e.data)}catch(e){return n.setError(e),Promise.reject(e)}},async update(r){try{const e=await c.post("/api/tickets/update",r);return s.error=null,Promise.resolve(e.data)}catch(e){return n.setError(e),Promise.reject(e)}},async delete(r){try{const e=await c.post("/api/tickets/delete",r);return s.error=null,Promise.resolve(e.data)}catch(e){return n.setError(e),Promise.reject(e)}}},y={handleTicketUpdate(r,e,a){let t;if(Array.isArray(r)?t=r.find(o=>o._id===e.target):typeof r=="object"&&r._id===e.target&&(t=r),t)if(t.hasTicket=a,a)t.tickets.push(e),t.numberOfTickets+=1;else{const o=t.tickets.findIndex(u=>u._id===e._id);o!==-1&&(t.tickets.splice(o,1),t.numberOfTickets-=1)}}};l.watch(s,r=>{});exports.actions=m;exports.mutations=y;exports.state=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("axios"),l=require("vue"),n=require("../../globals/store/globals.cjs"),c=d.create({baseURL:process.env.API_URL,withCredentials:!0}),s=l.reactive({tickets:[],error:null}),m={async read({user:r,type:e,target:a,role:t,skip:o,limit:u,search:p}){try{const i=await c.get("/api/tickets",{params:{user:r,type:e,target:a,role:t,skip:o,limit:u,search:p}});return s.error=null,s.tickets=i.data,Promise.resolve(i.data)}catch(i){return n.setError(i),Promise.reject(i)}},async create(r){try{const e=await c.post("/api/tickets/create",r);return s.error=null,Promise.resolve(e.data)}catch(e){return n.setError(e),Promise.reject(e)}},async update(r){try{const e=await c.post("/api/tickets/update",r);return s.error=null,Promise.resolve(e.data)}catch(e){return n.setError(e),Promise.reject(e)}},async delete(r){try{const e=await c.post("/api/tickets/delete",r);return s.error=null,Promise.resolve(e.data)}catch(e){return n.setError(e),Promise.reject(e)}}},y={handleTicketUpdate(r,e,a){let t;if(Array.isArray(r)?t=r.find(o=>o._id===e.target):typeof r=="object"&&r._id===e.target&&(t=r),t)if(t.hasTicket=a,a)t.tickets.push(e),t.numberOfTickets+=1;else{const o=t.tickets.findIndex(u=>u._id===e._id);o!==-1&&(t.tickets.splice(o,1),t.numberOfTickets-=1)}}};l.watch(s,r=>{});exports.actions=m;exports.mutations=y;exports.state=s;
@@ -1,4 +1,4 @@
1
- import u from "../../../../node_modules/axios/lib/axios.js";
1
+ import u from "axios";
2
2
  import { reactive as m, watch as d } from "vue";
3
3
  import { setError as c } from "../../globals/store/globals.js";
4
4
  const n = u.create({
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../components/Feed/Feed.vue.cjs"),f=require("../../../../components/Popup/Popup.vue2.cjs"),m=require("../../../globals/components/sections/SectionPageTitle.vue.cjs"),b=require("../blocks/PhotoViewer.vue.cjs"),g=require("../../store/gallery.cjs"),h={class:"cols-1 gap-thin pd-thin"},P={class:"w-100 h-100 pos-relative"},_=["src","onClick"],k={__name:"Gallery",setup(w){const d=e.ref([]),a=e.ref("all");let o=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),r=e.ref({start:null,end:null});const n=e.ref(null),u=e.ref(!1);function c(s){u.value=!0,n.value=s}function p(){u.value=!1,n.value=null}return(s,l)=>(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(m.default,{title:s.$t("gallery.title"),"onUpdate:tabs_current":l[0]||(l[0]=t=>a.value=t),tabs_current:a.value,tabs:[{name:"All",value:"all"},{name:"Place",value:"place"},{name:"Drinks",value:"drinks"},{name:"People",value:"people"},{name:"Events",value:"events"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["title","tabs_current"]),e.createVNode(f.default,{onClosePopup:p,isPopupOpen:u.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(b.default,{photoUrl:n.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(v.default,{items:d.value,"onUpdate:items":l[1]||(l[1]=t=>d.value=t),sort:e.unref(o),"onUpdate:sort":l[2]||(l[2]=t=>e.isRef(o)?o.value=t:o=t),date:e.unref(r),"onUpdate:date":l[3]||(l[3]=t=>e.isRef(r)?r.value=t:r=t),showLoadMore:!1,states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(g.default).read(t)},options:{limit:15,status:"published",...a.value!=="all"&&{tags:a.value}},class:"cols-3 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,i=>(e.openBlock(),e.createElementBlock("div",{key:i._id,class:"bg-light radius-medium o-hidden flex-column pos-relative flex-wrap"},[e.createElementVNode("div",P,[e.createElementVNode("img",{src:(s.FILE_SERVER_URL||"")+i.cover,class:"w-100 h-100 object-fit-cover bg-black",onClick:y=>c(i)},null,8,_)])]))),128))]),_:1},8,["items","sort","date","store","options"])]))}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("../../../../components/Feed/Feed.vue.cjs"),f=require("../../../../components/Popup/Popup.vue.cjs"),m=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),b=require("../../../globals/components/sections/SectionPageTitle.vue.cjs"),g=require("../../store/gallery.cjs"),h={class:"cols-1 gap-thin pd-thin"},P={class:"w-100 h-100 pos-relative"},_=["src","onClick"],k={__name:"Gallery",setup(w){const d=e.ref([]),a=e.ref("all");let o=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),r=e.ref({start:null,end:null});const n=e.ref(null),u=e.ref(!1);function c(s){u.value=!0,n.value=s}function p(){u.value=!1,n.value=null}return(s,l)=>(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(b.default,{title:s.$t("gallery.title"),"onUpdate:tabs_current":l[0]||(l[0]=t=>a.value=t),tabs_current:a.value,tabs:[{name:"All",value:"all"},{name:"Place",value:"place"},{name:"Drinks",value:"drinks"},{name:"People",value:"people"},{name:"Events",value:"events"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["title","tabs_current"]),e.createVNode(f.default,{onClosePopup:p,isPopupOpen:u.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(m.default,{photoUrl:n.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(v.default,{items:d.value,"onUpdate:items":l[1]||(l[1]=t=>d.value=t),sort:e.unref(o),"onUpdate:sort":l[2]||(l[2]=t=>e.isRef(o)?o.value=t:o=t),date:e.unref(r),"onUpdate:date":l[3]||(l[3]=t=>e.isRef(r)?r.value=t:r=t),showLoadMore:!1,states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(g.default).read(t)},options:{limit:15,status:"published",...a.value!=="all"&&{tags:a.value}},class:"cols-3 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,i=>(e.openBlock(),e.createElementBlock("div",{key:i._id,class:"bg-light radius-medium o-hidden flex-column pos-relative flex-wrap"},[e.createElementVNode("div",P,[e.createElementVNode("img",{src:(s.FILE_SERVER_URL||"")+i.cover,class:"w-100 h-100 object-fit-cover bg-black",onClick:y=>c(i)},null,8,_)])]))),128))]),_:1},8,["items","sort","date","store","options"])]))}};exports.default=k;
@@ -1,8 +1,8 @@
1
1
  import { ref as l, openBlock as d, createElementBlock as m, createVNode as n, withCtx as f, unref as c, isRef as b, Fragment as P, renderList as w, createElementVNode as g } from "vue";
2
2
  import k from "../../../../components/Feed/Feed.vue.js";
3
- import y from "../../../../components/Popup/Popup.vue2.js";
4
- import U from "../../../globals/components/sections/SectionPageTitle.vue.js";
5
- import C from "../blocks/PhotoViewer.vue.js";
3
+ import y from "../../../../components/Popup/Popup.vue.js";
4
+ import U from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
5
+ import C from "../../../globals/components/sections/SectionPageTitle.vue.js";
6
6
  import E from "../../store/gallery.js";
7
7
  const L = { class: "cols-1 gap-thin pd-thin" }, R = { class: "w-100 h-100 pos-relative" }, V = ["src", "onClick"], j = {
8
8
  __name: "Gallery",
@@ -33,7 +33,7 @@ const L = { class: "cols-1 gap-thin pd-thin" }, R = { class: "w-100 h-100 pos-re
33
33
  u.value = !1, i.value = null;
34
34
  }
35
35
  return (r, t) => (d(), m("div", L, [
36
- n(U, {
36
+ n(C, {
37
37
  title: r.$t("gallery.title"),
38
38
  "onUpdate:tabs_current": t[0] || (t[0] = (e) => o.value = e),
39
39
  tabs_current: o.value,
@@ -52,7 +52,7 @@ const L = { class: "cols-1 gap-thin pd-thin" }, R = { class: "w-100 h-100 pos-re
52
52
  class: "bg-black o-hidden w-100 h-100 radius-big"
53
53
  }, {
54
54
  default: f(() => [
55
- n(C, {
55
+ n(U, {
56
56
  photoUrl: i.value.image
57
57
  }, null, 8, ["photoUrl"])
58
58
  ]),
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router");require("../../../../components/Field/Field.vue.cjs");const w=require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const B=require("../../../../components/Chips/Chips.vue.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const _=require("../../../../components/Popup/Popup.vue2.cjs"),E=require("../../../../components/Feed/Feed.vue.cjs"),k=require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const o=require("../../store/gallery.cjs"),U=require("../../../globals/components/blocks/CardHeader.vue.cjs"),A=require("../../../globals/components/sections/SectionPageTitle.vue.cjs"),I=require("../blocks/PhotoViewer.vue.cjs"),O=require("../../../../components/EditImages/EditImages.vue.cjs"),T=require("../../../../components/FieldTags/BlockTags.vue.cjs"),R={class:"cols-1 gap-thin pd-thin"},S={class:"pos-relative"},D=["src","onClick"],F={class:"pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra"},j={class:"pd-small"},L=["src"],G={class:"flex-nowrap flex gap-thin"},M={__name:"BackofficeGallery",setup(z){const h=C.useRoute(),i=e.ref("all");let c=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),p=e.ref({start:null,end:null});const f=e.ref(!1);function x(a){f.value=!0,u.value=a}function y(){f.value=!1,u.value=null}const m=e.ref(!1);function V(a){m.value=!0,u.value=a}function v(){m.value=!1,u.value=null,n.value=[],r.value={tags:null,image:null}}const u=e.ref(null);e.ref("all");const r=e.ref({tags:null,image:null}),n=e.ref([]),N=a=>{n.value=a},d=e.ref([]),q=async a=>{await o.default.delete(a._id),o.default.removeItem(a,d.value)},g=async(a,s)=>{a.status=s,await o.default.update(a),o.default.updateItem(a,d.value)},b=async a=>{if(n.length<1){alert("Upload at least 1 image");return}let s=await o.default.create({images:n.value,tags:r.value.tags,status:a,owner:{type:"Organization",target:h.params._id},creator:{type:"User",target:k.state.user._id}});for(let t of s)o.default.addItem(t,d.value)};return(a,s)=>(e.openBlock(),e.createElementBlock("div",R,[e.createVNode(A.default,{title:"Gallery","onUpdate:tabs_current":s[0]||(s[0]=t=>i.value=t),tabs_current:i.value,tabs:[{name:"All",value:"all"},{name:"Featured",value:"featured"},{name:"Published",value:"published"},{name:"Draft",value:"draft"},{name:"Archived",value:"archived"}],actions:[{method:()=>V(null),label:"Add Photo"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current","actions"]),e.createVNode(E.default,{items:d.value,"onUpdate:items":s[1]||(s[1]=t=>d.value=t),sort:e.unref(c),"onUpdate:sort":s[2]||(s[2]=t=>e.isRef(c)?c.value=t:c=t),date:e.unref(p),"onUpdate:date":s[3]||(s[3]=t=>e.isRef(p)?p.value=t:p=t),states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(o.default).read(t)},options:{limit:15,owner:e.unref(h).params._id,...i.value!=="all"&&{status:i.value}},class:"cols-3 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,l=>{var P;return e.openBlock(),e.createElementBlock("div",{key:l._id,class:"bg-light radius-small flex-column pos-relative flex-wrap"},[e.createVNode(U.default,{entity:l,entityType:"photo",user:k.state.user._id,owner:l.creator,creator:l.creator,date:l.createdAt,actions:[{method:()=>q(l),label:"Delete"},{method:()=>g(l,"archived"),label:"Archive"},l.status==="draft"?{method:()=>g(l,"published"),label:"Publish"}:{method:()=>g(l,"draft"),label:"Draft"}],class:"pd-small mn-b-small"},null,8,["entity","user","owner","creator","date","actions"]),e.createElementVNode("div",S,[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+l.cover,class:"w-100 h-20r object-fit-contain bg-black",onClick:H=>x(l)},null,8,D),e.createElementVNode("div",F,e.toDisplayString(l.status),1)]),e.createElementVNode("div",j,[((P=l.tags)==null?void 0:P.length)>0?(e.openBlock(),e.createBlock(B.default,{key:0,chips:l.tags},null,8,["chips"])):e.createCommentVNode("",!0)])])}),128))]),_:1},8,["items","sort","date","store","options"]),e.createVNode(_.default,{onClosePopup:y,isPopupOpen:f.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(I.default,{photoUrl:u.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(_.default,{title:"Add Photo",onClosePopup:v,isPopupOpen:m.value,class:"bg-white w-max-30r radius-big pd-big"},{default:e.withCtx(()=>[r.value.cover?(e.openBlock(),e.createElementBlock("img",{key:0,src:r.value.cover,class:"radius-small w-100 mn-b-small h-20r object-fit-cover"},null,8,L)):e.createCommentVNode("",!0),e.createVNode(O.default,{images:n.value,uploadPath:"/photos","onUpdate:images":N,class:"mn-b-semi bg-light radius-medium"},null,8,["images"]),e.createVNode(T.default,{onTagsChanged:s[4]||(s[4]=t=>r.value.tags=t),tags:r.value.tags,tagsSuggested:[{text:"people"},{text:"events"},{text:"place"},{text:"food"},{text:"drinks"},{text:"special"}],class:"mn-b-semi"},null,8,["tags"]),e.createElementVNode("div",G,[e.createVNode(w.default,{submit:()=>b("draft"),callback:v,class:"t-nowrap bg-second w-100"},{default:e.withCtx(()=>[e.createTextVNode(" To drafts ")]),_:1},8,["submit"]),e.createVNode(w.default,{submit:()=>b("published"),callback:v,class:"bg-main w-100"},{default:e.withCtx(()=>[e.createTextVNode(" Publish ")]),_:1},8,["submit"])])]),_:1},8,["isPopupOpen"])]))}};exports.default=M;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router");;/* empty css */const w=require("../../../../components/Button/Button.vue2.cjs");;/* empty css */const B=require("../../../../components/Chips/Chips.vue.cjs");;/* empty css */const _=require("../../../../components/Popup/Popup.vue.cjs"),E=require("../../../../components/Feed/Feed.vue.cjs"),U=require("../../../../components/PhotoViewer/PhotoViewer.vue.cjs"),k=require("../../../auth/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const o=require("../../store/gallery.cjs"),A=require("../../../globals/components/blocks/CardHeader.vue.cjs"),I=require("../../../globals/components/sections/SectionPageTitle.vue.cjs"),O=require("../../../../components/EditImages/EditImages.vue.cjs"),T=require("../../../../components/FieldTags/BlockTags.vue.cjs"),R={class:"cols-1 gap-thin pd-thin"},S={class:"pos-relative"},D=["src","onClick"],F={class:"pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra"},j={class:"pd-small"},L=["src"],G={class:"flex-nowrap flex gap-thin"},M={__name:"BackofficeGallery",setup(z){const h=C.useRoute(),i=e.ref("all");let c=e.ref({param:"createdAt",order:"desc",options:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"views"},{label:"Creator",value:"creator"}]}),p=e.ref({start:null,end:null});const f=e.ref(!1);function x(a){f.value=!0,u.value=a}function y(){f.value=!1,u.value=null}const m=e.ref(!1);function V(a){m.value=!0,u.value=a}function v(){m.value=!1,u.value=null,n.value=[],r.value={tags:null,image:null}}const u=e.ref(null);e.ref("all");const r=e.ref({tags:null,image:null}),n=e.ref([]),N=a=>{n.value=a},d=e.ref([]),q=async a=>{await o.default.delete(a._id),o.default.removeItem(a,d.value)},g=async(a,s)=>{a.status=s,await o.default.update(a),o.default.updateItem(a,d.value)},b=async a=>{if(n.length<1){alert("Upload at least 1 image");return}let s=await o.default.create({images:n.value,tags:r.value.tags,status:a,owner:{type:"Organization",target:h.params._id},creator:{type:"User",target:k.state.user._id}});for(let t of s)o.default.addItem(t,d.value)};return(a,s)=>(e.openBlock(),e.createElementBlock("div",R,[e.createVNode(I.default,{title:"Gallery","onUpdate:tabs_current":s[0]||(s[0]=t=>i.value=t),tabs_current:i.value,tabs:[{name:"All",value:"all"},{name:"Featured",value:"featured"},{name:"Published",value:"published"},{name:"Draft",value:"draft"},{name:"Archived",value:"archived"}],actions:[{method:()=>V(null),label:"Add Photo"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current","actions"]),e.createVNode(E.default,{items:d.value,"onUpdate:items":s[1]||(s[1]=t=>d.value=t),sort:e.unref(c),"onUpdate:sort":s[2]||(s[2]=t=>e.isRef(c)?c.value=t:c=t),date:e.unref(p),"onUpdate:date":s[3]||(s[3]=t=>e.isRef(p)?p.value=t:p=t),states:{empty:{title:"No Photos Found",description:"Currently, there are no photos in gallery."}},store:{read:t=>e.unref(o.default).read(t)},options:{limit:15,owner:e.unref(h).params._id,...i.value!=="all"&&{status:i.value}},class:"cols-3 gap-thin"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,l=>{var P;return e.openBlock(),e.createElementBlock("div",{key:l._id,class:"bg-light radius-small flex-column pos-relative flex-wrap"},[e.createVNode(A.default,{entity:l,entityType:"photo",user:k.state.user._id,owner:l.creator,creator:l.creator,date:l.createdAt,actions:[{method:()=>q(l),label:"Delete"},{method:()=>g(l,"archived"),label:"Archive"},l.status==="draft"?{method:()=>g(l,"published"),label:"Publish"}:{method:()=>g(l,"draft"),label:"Draft"}],class:"pd-small mn-b-small"},null,8,["entity","user","owner","creator","date","actions"]),e.createElementVNode("div",S,[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+l.cover,class:"w-100 h-20r object-fit-contain bg-black",onClick:H=>x(l)},null,8,D),e.createElementVNode("div",F,e.toDisplayString(l.status),1)]),e.createElementVNode("div",j,[((P=l.tags)==null?void 0:P.length)>0?(e.openBlock(),e.createBlock(B.default,{key:0,chips:l.tags},null,8,["chips"])):e.createCommentVNode("",!0)])])}),128))]),_:1},8,["items","sort","date","store","options"]),e.createVNode(_.default,{onClosePopup:y,isPopupOpen:f.value,class:"bg-black o-hidden w-100 h-100 radius-big"},{default:e.withCtx(()=>[e.createVNode(U.default,{photoUrl:u.value.image},null,8,["photoUrl"])]),_:1},8,["isPopupOpen"]),e.createVNode(_.default,{title:"Add Photo",onClosePopup:v,isPopupOpen:m.value,class:"bg-white w-max-30r radius-big pd-big"},{default:e.withCtx(()=>[r.value.cover?(e.openBlock(),e.createElementBlock("img",{key:0,src:r.value.cover,class:"radius-small w-100 mn-b-small h-20r object-fit-cover"},null,8,L)):e.createCommentVNode("",!0),e.createVNode(O.default,{images:n.value,uploadPath:"/photos","onUpdate:images":N,class:"mn-b-semi bg-light radius-medium"},null,8,["images"]),e.createVNode(T.default,{onTagsChanged:s[4]||(s[4]=t=>r.value.tags=t),tags:r.value.tags,tagsSuggested:[{text:"people"},{text:"events"},{text:"place"},{text:"food"},{text:"drinks"},{text:"special"}],class:"mn-b-semi"},null,8,["tags"]),e.createElementVNode("div",G,[e.createVNode(w.default,{submit:()=>b("draft"),callback:v,class:"t-nowrap bg-second w-100"},{default:e.withCtx(()=>[e.createTextVNode(" To drafts ")]),_:1},8,["submit"]),e.createVNode(w.default,{submit:()=>b("published"),callback:v,class:"bg-main w-100"},{default:e.withCtx(()=>[e.createTextVNode(" Publish ")]),_:1},8,["submit"])])]),_:1},8,["isPopupOpen"])]))}};exports.default=M;
@@ -1,18 +1,18 @@
1
1
  import { ref as s, openBlock as d, createElementBlock as h, createVNode as o, unref as b, isRef as C, withCtx as c, Fragment as F, renderList as S, createElementVNode as m, toDisplayString as T, createBlock as L, createCommentVNode as A, createTextVNode as I } from "vue";
2
2
  import { useRoute as j } from "vue-router";
3
- import "../../../../components/Field/Field.vue.js";
3
+ /* empty css */
4
4
  import O from "../../../../components/Button/Button.vue2.js";
5
- import "../../../../components/Select/Select.vue.js";
5
+ /* empty css */
6
6
  import G from "../../../../components/Chips/Chips.vue.js";
7
- import "../../../../components/SelectMulti/SelectMulti.vue2.js";
8
- import V from "../../../../components/Popup/Popup.vue2.js";
7
+ /* empty css */
8
+ import V from "../../../../components/Popup/Popup.vue.js";
9
9
  import z from "../../../../components/Feed/Feed.vue.js";
10
+ import q from "../../../../components/PhotoViewer/PhotoViewer.vue.js";
10
11
  import { state as $ } from "../../../auth/store/auth.js";
11
12
  import "../../../organizations/store/organizations.js";
12
13
  import r from "../../store/gallery.js";
13
- import q from "../../../globals/components/blocks/CardHeader.vue.js";
14
- import H from "../../../globals/components/sections/SectionPageTitle.vue.js";
15
- import J from "../blocks/PhotoViewer.vue.js";
14
+ import H from "../../../globals/components/blocks/CardHeader.vue.js";
15
+ import J from "../../../globals/components/sections/SectionPageTitle.vue.js";
16
16
  import K from "../../../../components/EditImages/EditImages.vue.js";
17
17
  import M from "../../../../components/FieldTags/BlockTags.vue.js";
18
18
  const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X = ["src", "onClick"], Y = { class: "pos-absolute pos-t-0 pos-r-0 pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-r-small mn-t-small w-min bg-second radius-extra" }, Z = { class: "pd-small" }, ee = ["src"], te = { class: "flex-nowrap flex gap-thin" }, we = {
@@ -83,7 +83,7 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
83
83
  r.addItem(e, p.value);
84
84
  };
85
85
  return (t, l) => (d(), h("div", Q, [
86
- o(H, {
86
+ o(J, {
87
87
  title: "Gallery",
88
88
  "onUpdate:tabs_current": l[0] || (l[0] = (e) => v.value = e),
89
89
  tabs_current: v.value,
@@ -131,7 +131,7 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
131
131
  key: a._id,
132
132
  class: "bg-light radius-small flex-column pos-relative flex-wrap"
133
133
  }, [
134
- o(q, {
134
+ o(H, {
135
135
  entity: a,
136
136
  entityType: "photo",
137
137
  user: $.user._id,
@@ -170,7 +170,7 @@ const Q = { class: "cols-1 gap-thin pd-thin" }, W = { class: "pos-relative" }, X
170
170
  class: "bg-black o-hidden w-100 h-100 radius-big"
171
171
  }, {
172
172
  default: c(() => [
173
- o(J, {
173
+ o(q, {
174
174
  photoUrl: i.value.image
175
175
  }, null, 8, ["photoUrl"])
176
176
  ]),
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=[{path:"gallery",name:"Backoffice Gallery",meta:{title:{en:"Backoffice Gallery",ru:"Управление Галерей"},authorize:[]},component:()=>Promise.resolve().then(()=>require("../components/sections/BackofficeGallery.vue.cjs"))}];exports.default=e;