@ozdao/prometheus-framework 0.2.129 → 0.2.130

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1139) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  2. package/dist/_virtual/_commonjsHelpers.js +3 -5
  3. package/dist/community.server.js +11 -21
  4. package/dist/community.server.mjs +11 -21
  5. package/dist/{engagement.schema-CI2ifjXN.mjs → engagement.schema-CCdSLKd4.mjs} +1 -2
  6. package/dist/{engagement.schema-fdLNO2_6.js → engagement.schema-D-9md46B.js} +1 -2
  7. package/dist/events.server.js +4 -7
  8. package/dist/events.server.mjs +4 -7
  9. package/dist/files.server.js +1 -2
  10. package/dist/files.server.mjs +1 -2
  11. package/dist/gallery.server.js +1 -1
  12. package/dist/gallery.server.mjs +1 -1
  13. package/dist/main-Ckn0Sslr.js +92 -0
  14. package/dist/{main-DvdaURTh.mjs → main-DxyAONrm.mjs} +4250 -4142
  15. package/dist/main.css +1 -1
  16. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +10 -20
  17. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +22 -41
  18. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +3 -6
  19. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +2 -4
  20. package/dist/node_modules/fast-deep-equal/index.js +10 -20
  21. package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +14 -28
  22. package/dist/organizations.server.js +5 -9
  23. package/dist/organizations.server.mjs +5 -9
  24. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +1 -2
  25. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  26. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3414 -3284
  27. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +84 -163
  28. package/dist/prometheus-framework/node_modules/date-fns/_lib/protectedTokens.js +1 -2
  29. package/dist/prometheus-framework/node_modules/date-fns/addMonths.js +1 -2
  30. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.cjs +1 -0
  31. package/dist/prometheus-framework/node_modules/date-fns/compareAsc.js +9 -0
  32. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  33. package/dist/prometheus-framework/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  34. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.cjs +1 -0
  35. package/dist/prometheus-framework/node_modules/date-fns/differenceInYears.js +13 -0
  36. package/dist/prometheus-framework/node_modules/date-fns/format.js +1 -2
  37. package/dist/prometheus-framework/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +2 -4
  38. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.cjs +1 -1
  39. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/Setter.js +11 -11
  40. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -1
  41. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +1 -1
  42. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -1
  43. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +1 -1
  44. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -1
  45. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DateParser.js +1 -1
  46. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -1
  47. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +1 -1
  48. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -1
  49. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayParser.js +1 -1
  50. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -1
  51. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +1 -1
  52. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -1
  53. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/EraParser.js +1 -1
  54. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -1
  55. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +1 -1
  56. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -1
  57. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +1 -1
  58. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -1
  59. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +1 -1
  60. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -1
  61. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +1 -1
  62. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -1
  63. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +1 -1
  64. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -1
  65. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +1 -1
  66. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -1
  67. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +1 -1
  68. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -1
  69. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +1 -1
  70. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -1
  71. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +1 -1
  72. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -1
  73. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +1 -1
  74. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -1
  75. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +1 -1
  76. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -1
  77. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +1 -1
  78. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -1
  79. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +1 -1
  80. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -1
  81. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +1 -1
  82. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -1
  83. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +1 -1
  84. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -1
  85. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +1 -1
  86. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -1
  87. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +1 -1
  88. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -1
  89. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +1 -1
  90. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -1
  91. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +1 -1
  92. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -1
  93. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +1 -1
  94. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -1
  95. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +1 -1
  96. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -1
  97. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +6 -6
  98. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -1
  99. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +6 -6
  100. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -1
  101. package/dist/prometheus-framework/node_modules/date-fns/parse/_lib/parsers/YearParser.js +1 -1
  102. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.cjs +1 -0
  103. package/dist/prometheus-framework/node_modules/date-fns/startOfMonth.js +9 -0
  104. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +4 -8
  105. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +5 -10
  106. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -8
  107. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +4 -8
  108. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/normalizeArguments.js +7 -14
  109. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parse.js +1 -2
  110. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +4 -8
  111. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -2
  112. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/tools/semver-compare.js +4 -8
  113. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  114. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  115. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  116. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +89 -1
  117. package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +2 -4
  118. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  119. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -1
  120. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +1 -2
  121. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +27 -1
  123. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  124. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +1 -1
  125. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +58 -1
  127. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +3 -3
  129. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +1 -1
  131. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  133. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +1 -1
  135. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +1 -1
  137. package/dist/prometheus-framework/src/components/FieldTags/create-tags.js +4 -8
  138. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
  139. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +1 -1
  140. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.js +5 -10
  141. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -1
  143. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +127 -1
  145. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -1
  147. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +1 -1
  149. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/Menu/Menu.vue2.js +13 -1
  151. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +1 -1
  153. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -1
  155. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  156. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
  157. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +1 -1
  159. package/dist/prometheus-framework/src/components/SelectMulti/multiselectMixin.js +5 -10
  160. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  162. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  163. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -1
  164. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  165. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  166. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -1
  168. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -2
  170. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  172. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  174. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +5 -5
  176. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  178. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  180. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  182. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +1 -1
  184. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +1 -1
  186. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  187. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +1 -1
  188. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +1 -1
  190. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  191. package/dist/prometheus-framework/src/modules/auth/store/auth.js +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  194. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +2 -2
  196. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +1 -1
  198. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue.js +1 -1
  200. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +1 -1
  201. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +1 -1
  202. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  203. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  204. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  206. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  210. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  211. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -10
  212. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  214. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  215. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  216. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  217. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +7 -7
  218. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  219. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +1 -1
  220. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  221. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  222. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  223. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  224. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  225. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +1 -1
  226. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  227. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  228. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  229. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  230. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  231. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +4 -3
  232. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +2 -3
  234. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  236. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  238. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  240. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  242. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  244. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
  246. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  248. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  250. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  253. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +2 -2
  254. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +1 -1
  255. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +1 -1
  256. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  257. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  258. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  259. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  260. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  261. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
  262. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  263. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +3 -3
  264. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +1 -1
  265. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +1 -1
  266. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  267. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +1 -1
  268. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  269. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
  270. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  271. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +4 -4
  272. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  273. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -1
  274. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  275. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +1 -1
  276. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +31 -31
  278. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +3 -5
  280. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
  282. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +3 -3
  284. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
  286. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  287. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  288. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  289. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  290. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  291. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
  292. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  293. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  294. package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -1
  295. package/dist/prometheus-framework/src/modules/orders/store/applications.js +1 -1
  296. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  297. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  299. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -3
  300. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  301. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  303. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  305. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +1 -1
  306. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  307. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  308. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  309. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +8 -8
  310. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  311. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
  312. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +4 -4
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  315. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -2
  316. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  318. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  319. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  320. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  321. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +4 -4
  322. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  323. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +10 -10
  328. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  337. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  338. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +1 -1
  340. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  342. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  343. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +2 -3
  344. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  345. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  346. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  347. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  348. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  349. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +2 -2
  350. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  351. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +1 -1
  352. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  353. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +1 -1
  354. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  355. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  356. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  357. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  358. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  359. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  361. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  363. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  364. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  365. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +3 -3
  366. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  367. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  368. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  369. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  371. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  373. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  375. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  376. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  377. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  378. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  379. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  380. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  381. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  382. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  383. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  384. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  385. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  386. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  387. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +2 -2
  388. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  389. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  390. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  391. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +5 -5
  392. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  393. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +1 -1
  394. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -1
  395. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +1 -1
  396. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  397. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  398. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  399. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  400. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  401. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +39 -85
  402. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.cjs +1 -1
  403. package/dist/prometheus-framework/src/modules/wallet/views/store/payments.store.js +1 -1
  404. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
  405. package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +1 -1
  406. package/dist/prometheus-framework.cjs.js +1 -1
  407. package/dist/prometheus-framework.es.js +1 -1
  408. package/dist/reports.server.js +2 -4
  409. package/dist/reports.server.mjs +2 -4
  410. package/dist/style.css +1 -1
  411. package/dist/users.server.js +2 -4
  412. package/dist/users.server.mjs +2 -4
  413. package/dist/wallet.server.js +6 -12
  414. package/dist/wallet.server.mjs +6 -12
  415. package/dist/{web-Dt2JR41o.mjs → web-Be96Xqd4.mjs} +1 -1
  416. package/dist/{web-CVIepGUM.js → web-CgjTW1bL.js} +1 -1
  417. package/package.json +1 -2
  418. package/src/main.js +0 -3
  419. package/dist/_virtual/browser-ponyfill.cjs +0 -1
  420. package/dist/_virtual/browser-ponyfill.js +0 -4
  421. package/dist/_virtual/crc32.cjs +0 -1
  422. package/dist/_virtual/crc32.js +0 -4
  423. package/dist/_virtual/index.cjs +0 -1
  424. package/dist/_virtual/index.js +0 -4
  425. package/dist/_virtual/index2.cjs +0 -1
  426. package/dist/_virtual/index2.js +0 -4
  427. package/dist/main-hLtpe4Hr.js +0 -92
  428. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1
  429. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +0 -561
  430. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +0 -1
  431. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +0 -164
  432. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -1
  433. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +0 -19
  434. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -1
  435. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +0 -88
  436. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -1
  437. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +0 -221
  438. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +0 -1
  439. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +0 -201
  440. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1
  441. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -581
  442. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +0 -1
  443. package/dist/node_modules/@noble/curves/esm/secp256k1.js +0 -50
  444. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
  445. package/dist/node_modules/@noble/hashes/esm/_assert.js +0 -44
  446. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +0 -1
  447. package/dist/node_modules/@noble/hashes/esm/_sha2.js +0 -61
  448. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
  449. package/dist/node_modules/@noble/hashes/esm/_u64.js +0 -21
  450. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +0 -1
  451. package/dist/node_modules/@noble/hashes/esm/crypto.js +0 -4
  452. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +0 -1
  453. package/dist/node_modules/@noble/hashes/esm/hmac.js +0 -43
  454. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +0 -1
  455. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +0 -32
  456. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +0 -1
  457. package/dist/node_modules/@noble/hashes/esm/scrypt.js +0 -73
  458. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
  459. package/dist/node_modules/@noble/hashes/esm/sha256.js +0 -114
  460. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
  461. package/dist/node_modules/@noble/hashes/esm/sha3.js +0 -107
  462. package/dist/node_modules/@noble/hashes/esm/utils.cjs +0 -1
  463. package/dist/node_modules/@noble/hashes/esm/utils.js +0 -68
  464. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +0 -1
  465. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +0 -4
  466. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +0 -1
  467. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +0 -11
  468. package/dist/node_modules/abitype/dist/index.cjs +0 -2
  469. package/dist/node_modules/abitype/dist/index.js +0 -299
  470. package/dist/node_modules/crc-32/crc32.cjs +0 -1
  471. package/dist/node_modules/crc-32/crc32.js +0 -51
  472. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +0 -2
  473. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -320
  474. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +0 -1
  475. package/dist/node_modules/ethereum-cryptography/esm/aes.js +0 -61
  476. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +0 -1
  477. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +0 -9
  478. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +0 -1
  479. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +0 -14
  480. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +0 -1
  481. package/dist/node_modules/ethereum-cryptography/esm/random.js +0 -7
  482. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +0 -1
  483. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +0 -8
  484. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +0 -1
  485. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +0 -4
  486. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +0 -1
  487. package/dist/node_modules/ethereum-cryptography/esm/utils.js +0 -31
  488. package/dist/node_modules/eventemitter3/index.cjs +0 -1
  489. package/dist/node_modules/eventemitter3/index.js +0 -117
  490. package/dist/node_modules/eventemitter3/index2.cjs +0 -1
  491. package/dist/node_modules/eventemitter3/index2.js +0 -5
  492. package/dist/node_modules/isomorphic-ws/browser.cjs +0 -1
  493. package/dist/node_modules/isomorphic-ws/browser.js +0 -6
  494. package/dist/node_modules/setimmediate/setImmediate.cjs +0 -1
  495. package/dist/node_modules/setimmediate/setImmediate.js +0 -99
  496. package/dist/node_modules/web3/lib/esm/abi.cjs +0 -1
  497. package/dist/node_modules/web3/lib/esm/abi.js +0 -19
  498. package/dist/node_modules/web3/lib/esm/accounts.cjs +0 -1
  499. package/dist/node_modules/web3/lib/esm/accounts.js +0 -107
  500. package/dist/node_modules/web3/lib/esm/index.cjs +0 -1
  501. package/dist/node_modules/web3/lib/esm/index.js +0 -81
  502. package/dist/node_modules/web3/lib/esm/version.cjs +0 -1
  503. package/dist/node_modules/web3/lib/esm/version.js +0 -4
  504. package/dist/node_modules/web3/lib/esm/web3.cjs +0 -1
  505. package/dist/node_modules/web3/lib/esm/web3.js +0 -91
  506. package/dist/node_modules/web3/lib/esm/web3_eip6963.cjs +0 -1
  507. package/dist/node_modules/web3/lib/esm/web3_eip6963.js +0 -50
  508. package/dist/node_modules/web3-core/lib/esm/utils.cjs +0 -1
  509. package/dist/node_modules/web3-core/lib/esm/utils.js +0 -13
  510. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +0 -1
  511. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +0 -83
  512. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +0 -1
  513. package/dist/node_modules/web3-core/lib/esm/web3_config.js +0 -356
  514. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +0 -1
  515. package/dist/node_modules/web3-core/lib/esm/web3_context.js +0 -245
  516. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +0 -1
  517. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +0 -39
  518. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +0 -1
  519. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +0 -58
  520. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +0 -1
  521. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +0 -245
  522. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +0 -1
  523. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +0 -155
  524. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +0 -1
  525. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +0 -111
  526. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +0 -1
  527. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +0 -108
  528. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +0 -1
  529. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +0 -58
  530. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +0 -1
  531. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +0 -37
  532. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +0 -1
  533. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +0 -49
  534. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +0 -1
  535. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +0 -16
  536. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +0 -1
  537. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +0 -16
  538. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +0 -1
  539. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +0 -49
  540. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +0 -1
  541. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +0 -28
  542. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +0 -1
  543. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +0 -30
  544. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +0 -1
  545. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +0 -161
  546. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +0 -1
  547. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +0 -129
  548. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +0 -1
  549. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +0 -13
  550. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +0 -1
  551. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +0 -10
  552. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +0 -5
  553. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +0 -256
  554. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +0 -1
  555. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +0 -82
  556. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +0 -1
  557. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +0 -49
  558. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +0 -1
  559. package/dist/node_modules/web3-eth/lib/esm/constants.js +0 -14
  560. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +0 -1
  561. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +0 -424
  562. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +0 -1
  563. package/dist/node_modules/web3-eth/lib/esm/schemas.js +0 -595
  564. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +0 -1
  565. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +0 -31
  566. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +0 -1
  567. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +0 -34
  568. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +0 -1
  569. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +0 -90
  570. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +0 -1
  571. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +0 -30
  572. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +0 -1
  573. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +0 -77
  574. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +0 -1
  575. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +0 -50
  576. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +0 -1
  577. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +0 -80
  578. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +0 -1
  579. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +0 -102
  580. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +0 -1
  581. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +0 -109
  582. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +0 -1
  583. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +0 -145
  584. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +0 -1
  585. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +0 -131
  586. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +0 -1
  587. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +0 -52
  588. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +0 -1
  589. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +0 -61
  590. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +0 -1
  591. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +0 -51
  592. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +0 -1
  593. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +0 -79
  594. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +0 -1
  595. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +0 -44
  596. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +0 -1
  597. package/dist/node_modules/web3-eth/lib/esm/validation.js +0 -111
  598. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +0 -1
  599. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +0 -1661
  600. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +0 -1
  601. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +0 -65
  602. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +0 -1
  603. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +0 -13
  604. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +0 -1
  605. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +0 -13
  606. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +0 -1
  607. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +0 -26
  608. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +0 -1
  609. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +0 -14
  610. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +0 -1
  611. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +0 -24
  612. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +0 -1
  613. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +0 -47
  614. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +0 -1
  615. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +0 -72
  616. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +0 -1
  617. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +0 -37
  618. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +0 -1
  619. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +0 -66
  620. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +0 -1
  621. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +0 -67
  622. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +0 -1
  623. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +0 -85
  624. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +0 -1
  625. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +0 -15
  626. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +0 -1
  627. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +0 -22
  628. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +0 -1
  629. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +0 -77
  630. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +0 -1
  631. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +0 -15
  632. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +0 -1
  633. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +0 -16
  634. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +0 -1
  635. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +0 -50
  636. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +0 -1
  637. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +0 -58
  638. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +0 -1
  639. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +0 -18
  640. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +0 -1
  641. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +0 -39
  642. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +0 -2
  643. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +0 -223
  644. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +0 -1
  645. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +0 -99
  646. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +0 -1
  647. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +0 -115
  648. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +0 -1
  649. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +0 -102
  650. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +0 -1
  651. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +0 -741
  652. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +0 -1
  653. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +0 -25
  654. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +0 -1
  655. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +0 -29
  656. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +0 -1
  657. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +0 -28
  658. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +0 -1
  659. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +0 -181
  660. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +0 -1
  661. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +0 -20
  662. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +0 -1
  663. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +0 -14
  664. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +0 -1
  665. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +0 -87
  666. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +0 -1
  667. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +0 -24
  668. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +0 -1
  669. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +0 -20
  670. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +0 -1
  671. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +0 -29
  672. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +0 -1
  673. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +0 -16
  674. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +0 -1
  675. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +0 -15
  676. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +0 -1
  677. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +0 -20
  678. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +0 -1
  679. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +0 -16
  680. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +0 -1
  681. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +0 -16
  682. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +0 -1
  683. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +0 -16
  684. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +0 -1
  685. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +0 -16
  686. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +0 -1
  687. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +0 -21
  688. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +0 -1
  689. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +0 -26
  690. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +0 -1
  691. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +0 -20
  692. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +0 -1
  693. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +0 -16
  694. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +0 -1
  695. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +0 -20
  696. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +0 -1
  697. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +0 -49
  698. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +0 -1
  699. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +0 -27
  700. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +0 -1
  701. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +0 -14
  702. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +0 -1
  703. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +0 -10
  704. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +0 -1
  705. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +0 -59
  706. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +0 -1
  707. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +0 -441
  708. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +0 -1
  709. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +0 -71
  710. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +0 -1
  711. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +0 -13
  712. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +0 -1
  713. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +0 -14
  714. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +0 -1
  715. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +0 -18
  716. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +0 -1
  717. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +0 -39
  718. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +0 -1
  719. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +0 -90
  720. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +0 -1
  721. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +0 -10
  722. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +0 -1
  723. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +0 -15
  724. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +0 -1
  725. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +0 -10
  726. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +0 -1
  727. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +0 -18
  728. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +0 -1
  729. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +0 -42
  730. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +0 -1
  731. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +0 -10
  732. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +0 -1
  733. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +0 -23
  734. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +0 -1
  735. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +0 -46
  736. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +0 -1
  737. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +0 -7
  738. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +0 -1
  739. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +0 -279
  740. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +0 -1
  741. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +0 -25
  742. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +0 -1
  743. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +0 -57
  744. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +0 -1
  745. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +0 -288
  746. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +0 -1
  747. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +0 -11
  748. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +0 -1
  749. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +0 -285
  750. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +0 -1
  751. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +0 -268
  752. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +0 -1
  753. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +0 -256
  754. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +0 -1
  755. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +0 -90
  756. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +0 -1
  757. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +0 -18
  758. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +0 -1
  759. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +0 -80
  760. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +0 -1
  761. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +0 -361
  762. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +0 -3
  763. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +0 -540
  764. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +0 -1
  765. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +0 -89
  766. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +0 -1
  767. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +0 -30
  768. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +0 -1
  769. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +0 -39
  770. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +0 -1
  771. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +0 -78
  772. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +0 -1
  773. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +0 -168
  774. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +0 -1
  775. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +0 -596
  776. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +0 -1
  777. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +0 -29
  778. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +0 -1
  779. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +0 -280
  780. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +0 -1
  781. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +0 -108
  782. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +0 -1
  783. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +0 -113
  784. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +0 -1
  785. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +0 -19
  786. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +0 -1
  787. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +0 -283
  788. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +0 -1
  789. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +0 -265
  790. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +0 -1
  791. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +0 -96
  792. package/dist/node_modules/web3-net/lib/esm/net.cjs +0 -1
  793. package/dist/node_modules/web3-net/lib/esm/net.js +0 -97
  794. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +0 -1
  795. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +0 -51
  796. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +0 -1
  797. package/dist/node_modules/web3-providers-http/lib/esm/index.js +0 -98
  798. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +0 -1
  799. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +0 -70
  800. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +0 -1
  801. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +0 -416
  802. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +0 -1
  803. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +0 -56
  804. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +0 -1
  805. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +0 -84
  806. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +0 -1
  807. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +0 -15
  808. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +0 -1
  809. package/dist/node_modules/web3-types/lib/esm/eth_types.js +0 -12
  810. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +0 -1
  811. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +0 -4
  812. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +0 -1
  813. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +0 -89
  814. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +0 -1
  815. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +0 -8
  816. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +0 -1
  817. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +0 -37
  818. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +0 -1
  819. package/dist/node_modules/web3-utils/lib/esm/converters.js +0 -199
  820. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +0 -1
  821. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +0 -15
  822. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +0 -1
  823. package/dist/node_modules/web3-utils/lib/esm/formatter.js +0 -153
  824. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +0 -1
  825. package/dist/node_modules/web3-utils/lib/esm/hash.js +0 -108
  826. package/dist/node_modules/web3-utils/lib/esm/index.cjs +0 -1
  827. package/dist/node_modules/web3-utils/lib/esm/index.js +0 -109
  828. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +0 -1
  829. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +0 -41
  830. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +0 -1
  831. package/dist/node_modules/web3-utils/lib/esm/objects.js +0 -20
  832. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +0 -1
  833. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +0 -104
  834. package/dist/node_modules/web3-utils/lib/esm/random.cjs +0 -1
  835. package/dist/node_modules/web3-utils/lib/esm/random.js +0 -7
  836. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +0 -1
  837. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +0 -233
  838. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +0 -1
  839. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +0 -48
  840. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +0 -1
  841. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +0 -26
  842. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +0 -1
  843. package/dist/node_modules/web3-utils/lib/esm/uuid.js +0 -17
  844. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +0 -1
  845. package/dist/node_modules/web3-utils/lib/esm/validation.js +0 -62
  846. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +0 -1
  847. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +0 -114
  848. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +0 -1
  849. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +0 -86
  850. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +0 -1
  851. package/dist/node_modules/web3-validator/lib/esm/constants.js +0 -4
  852. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +0 -1
  853. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +0 -5
  854. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +0 -3
  855. package/dist/node_modules/web3-validator/lib/esm/errors.js +0 -17
  856. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +0 -1
  857. package/dist/node_modules/web3-validator/lib/esm/formats.js +0 -31
  858. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +0 -1
  859. package/dist/node_modules/web3-validator/lib/esm/utils.js +0 -190
  860. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +0 -1
  861. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +0 -4
  862. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +0 -1
  863. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +0 -23
  864. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +0 -1
  865. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +0 -10
  866. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +0 -1
  867. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +0 -29
  868. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +0 -1
  869. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +0 -5
  870. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +0 -1
  871. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +0 -31
  872. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +0 -1
  873. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +0 -26
  874. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +0 -1
  875. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +0 -54
  876. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +0 -1
  877. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +0 -13
  878. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +0 -1
  879. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +0 -23
  880. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +0 -1
  881. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +0 -6
  882. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +0 -1
  883. package/dist/node_modules/web3-validator/lib/esm/validator.js +0 -86
  884. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +0 -1
  885. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +0 -31
  886. package/dist/node_modules/zod/lib/index.cjs +0 -1
  887. package/dist/node_modules/zod/lib/index.js +0 -2983
  888. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.cjs +0 -1
  889. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/main.css.js +0 -1
  890. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +0 -3
  891. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +0 -51
  892. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +0 -1
  893. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +0 -109
  894. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +0 -1
  895. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +0 -46
  896. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +0 -1
  897. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +0 -72
  898. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +0 -1
  899. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  900. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +0 -1
  901. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +0 -6
  902. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +0 -2
  903. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +0 -130
  904. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +0 -1
  905. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +0 -54
  906. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +0 -2
  907. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +0 -164
  908. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +0 -1
  909. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  910. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +0 -1
  911. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +0 -8
  912. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +0 -1
  913. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  914. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +0 -1
  915. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +0 -72
  916. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +0 -1
  917. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +0 -14
  918. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +0 -1
  919. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +0 -13
  920. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +0 -1
  921. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +0 -87
  922. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +0 -1
  923. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +0 -8
  924. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +0 -1
  925. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +0 -4
  926. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +0 -1
  927. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  928. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +0 -1
  929. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  930. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +0 -1
  931. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +0 -8
  932. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +0 -1
  933. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +0 -19
  934. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +0 -1
  935. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  936. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +0 -1
  937. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +0 -32
  938. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +0 -1
  939. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +0 -32
  940. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +0 -1
  941. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  942. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +0 -1
  943. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  944. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +0 -1
  945. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -37
  946. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +0 -1
  947. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +0 -4
  948. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +0 -2
  949. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  950. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +0 -1
  951. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  952. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +0 -1
  953. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +0 -19
  954. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +0 -1
  955. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +0 -8
  956. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +0 -1
  957. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +0 -84
  958. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +0 -1
  959. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  960. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +0 -1
  961. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +0 -51
  962. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +0 -1
  963. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  964. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +0 -1
  965. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  966. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +0 -1
  967. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  968. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +0 -1
  969. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +0 -15
  970. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +0 -1
  971. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +0 -7
  972. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +0 -1
  973. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +0 -9
  974. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +0 -1
  975. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +0 -224
  976. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
  977. package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -89
  978. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +0 -1
  979. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +0 -1
  980. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
  981. package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -1
  982. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
  983. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -27
  984. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +0 -1
  985. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +0 -1
  986. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
  987. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -58
  988. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +0 -1
  989. package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +0 -1
  990. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
  991. package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -1
  992. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +0 -1
  993. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +0 -1
  994. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +0 -1
  995. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +0 -1
  996. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +0 -1
  997. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +0 -1
  998. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +0 -1
  999. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +0 -1
  1000. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +0 -1
  1001. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +0 -1
  1002. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
  1003. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -127
  1004. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +0 -1
  1005. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +0 -1
  1006. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +0 -1
  1007. package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +0 -1
  1008. package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +0 -1
  1009. package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +0 -13
  1010. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.cjs +0 -1
  1011. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue2.js +0 -1
  1012. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +0 -1
  1013. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +0 -1
  1014. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
  1015. package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -103
  1016. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -1
  1017. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +0 -1
  1018. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +0 -1
  1019. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +0 -1
  1020. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  1021. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -1
  1022. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  1023. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -1
  1024. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +0 -1
  1025. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +0 -1
  1026. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +0 -1
  1027. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +0 -1
  1028. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +0 -1
  1029. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +0 -1
  1030. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +0 -1
  1031. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +0 -1
  1032. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +0 -1
  1033. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +0 -1
  1034. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +0 -1
  1035. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +0 -1
  1036. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +0 -1
  1037. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +0 -1
  1038. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +0 -1
  1039. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +0 -1
  1040. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.cjs +0 -1
  1041. package/dist/prometheus-framework/src/modules/chats/components/pages/ChatPage.vue2.js +0 -1
  1042. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.cjs +0 -1
  1043. package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue2.js +0 -1
  1044. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +0 -1
  1045. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +0 -1
  1046. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +0 -1
  1047. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +0 -1
  1048. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +0 -1
  1049. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +0 -1
  1050. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +0 -1
  1051. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +0 -1
  1052. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -5
  1053. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -67
  1054. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.cjs +0 -1
  1055. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue2.js +0 -1
  1056. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +0 -1
  1057. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +0 -1
  1058. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +0 -1
  1059. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +0 -1
  1060. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.cjs +0 -1
  1061. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue2.js +0 -1
  1062. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +0 -1
  1063. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +0 -1
  1064. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +0 -1
  1065. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +0 -1
  1066. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +0 -1
  1067. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +0 -1
  1068. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.cjs +0 -1
  1069. package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue2.js +0 -1
  1070. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +0 -1
  1071. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +0 -1
  1072. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +0 -1
  1073. package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +0 -1
  1074. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.cjs +0 -1
  1075. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue2.js +0 -1
  1076. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.cjs +0 -1
  1077. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue2.js +0 -1
  1078. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +0 -1
  1079. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +0 -1
  1080. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.cjs +0 -1
  1081. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue2.js +0 -1
  1082. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.cjs +0 -1
  1083. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue2.js +0 -1
  1084. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.cjs +0 -1
  1085. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue2.js +0 -1
  1086. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +0 -1
  1087. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +0 -1
  1088. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +0 -1
  1089. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +0 -1
  1090. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +0 -1
  1091. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +0 -1
  1092. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +0 -1
  1093. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +0 -1
  1094. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +0 -1
  1095. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +0 -1
  1096. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +0 -1
  1097. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +0 -1
  1098. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +0 -1
  1099. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +0 -1
  1100. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +0 -1
  1101. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +0 -1
  1102. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +0 -1
  1103. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +0 -1
  1104. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +0 -1
  1105. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +0 -1
  1106. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +0 -1
  1107. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +0 -1
  1108. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +0 -1
  1109. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +0 -1
  1110. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +0 -1
  1111. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +0 -1
  1112. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +0 -1
  1113. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +0 -1
  1114. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +0 -1
  1115. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +0 -1
  1116. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.cjs +0 -1
  1117. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue2.js +0 -1
  1118. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +0 -1
  1119. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +0 -1
  1120. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +0 -1
  1121. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +0 -1
  1122. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +0 -1
  1123. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +0 -1
  1124. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +0 -1
  1125. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +0 -1
  1126. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +0 -1
  1127. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +0 -1
  1128. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +0 -1
  1129. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +0 -1
  1130. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +0 -1
  1131. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +0 -1
  1132. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +0 -1
  1133. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +0 -1
  1134. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +0 -1
  1135. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +0 -1
  1136. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +0 -1
  1137. package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +0 -1
  1138. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.cjs +0 -1
  1139. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue2.js +0 -1
@@ -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 d=require("../../../../components/EmptyState/EmptyState.vue.cjs"),m=require("../blocks/CardBlogpost.vue.cjs"),p=require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs"),g=require("../../../organizations/components/sections/Publics.vue.cjs"),f=require("../sections/Comments.vue.cjs"),v=require("../../../constructor/components/elements/Image.vue.cjs"),h=require("../../../constructor/components/elements/VideoPlayer.vue.cjs"),k=require("../../../constructor/components/elements/Embed.vue.cjs"),B=require("../../store/blogposts.cjs"),a=require("../../../auth/store/auth.cjs"),_=require("vue-router"),y={class:"pd-thin"},C=["href"],b=e.createElementVNode("h3",{class:"mn-b-small"},"Recommended Communities",-1),V={__name:"BlogPost",setup(N){const u=_.useRoute(),t=e.ref(null),n=e.ref(!0);e.onMounted(async()=>{n.value=!0;const r=await B.read({user:a.state.user._id,url:u.params.url});t.value=r[0],n.value=!1});const c={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:v.default,Video:h.default,Link:"a",Embed:k.default};function i(r){return r.type==="Textarea"?{innerHTML:r.content,class:"p-big"}:r.type==="H2"?{innerHTML:r.content,class:"h3"}:r.type==="Caption"?{innerHTML:r.content}:r.type==="ImageUpload"?{src:r.content}:{}}return(r,l)=>(e.openBlock(),e.createElementBlock("section",y,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-light radius-big"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(3,o=>e.createVNode(p.default,{key:o})),64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!n.value&&!t.value?(e.openBlock(),e.createBlock(d.default,{key:0,title:"No Blogpost Found",description:"Currently, there are no blogposts 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:"fade",class:"container"},{default:e.withCtx(()=>[!n.value&&t.value?(e.openBlock(),e.createBlock(m.default,{key:0,onClick:l[0]||(l[0]=o=>r.$router.push({name:"Blogpost",params:{url:t.value.url}})),blogpost:t.value,user:a.state.user._id,type:"blogpostPage",class:"mn-b-medium"},{default:e.withCtx(()=>[e.createElementVNode("section",null,[t.value&&t.value.content?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value.content,(o,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[o.type]),e.mergeProps({key:s,index:s,component:o,prop:o,class:o.class,content:"content",ref_for:!0},i(o),{class:"mn-b-regular"}),null,16,["index","component","prop","class"]))),128)):e.createCommentVNode("",!0)]),t.value.source?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.value.source,target:"_blank",class:"mn-b-semi d-block w-max radius-big pd-thin bg-black t-white"}," Check Source 🔗 ",8,C)):e.createCommentVNode("",!0)]),_:1},8,["blogpost","user"])):e.createCommentVNode("",!0),b,e.createVNode(g.default,{class:"mn-b-small"}),!n.value&&t.value?(e.openBlock(),e.createBlock(f.default,{key:1,type:"blogpost",target:t.value._id,owner:a.state.user._id},null,8,["target","owner"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=V;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const d=require("../../../../components/EmptyState/EmptyState.vue.cjs"),m=require("../blocks/CardBlogpost.vue.cjs"),p=require("../../../icons/skeletons/SkeletonBlogpost.vue.cjs"),g=require("../../../organizations/components/sections/Publics.vue.cjs"),f=require("../sections/Comments.vue.cjs"),v=require("../../../constructor/components/elements/Image.vue.cjs"),h=require("../../../constructor/components/elements/VideoPlayer.vue.cjs"),k=require("../../../constructor/components/elements/Embed.vue.cjs"),B=require("../../store/blogposts.cjs"),a=require("../../../auth/store/auth.cjs"),_=require("vue-router"),y={class:"pd-thin"},C=["href"],b=e.createElementVNode("h3",{class:"mn-b-small"},"Recommended Communities",-1),V={__name:"BlogPost",setup(N){const u=_.useRoute(),t=e.ref(null),n=e.ref(!0);e.onMounted(async()=>{n.value=!0;const r=await B.read({user:a.state.user._id,url:u.params.url});t.value=r[0],n.value=!1});const c={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:v.default,Video:h.default,Link:"a",Embed:k.default};function i(r){return r.type==="Textarea"?{innerHTML:r.content,class:"p-big"}:r.type==="H2"?{innerHTML:r.content,class:"h3"}:r.type==="Caption"?{innerHTML:r.content}:r.type==="ImageUpload"?{src:r.content}:{}}return(r,l)=>(e.openBlock(),e.createElementBlock("section",y,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-light radius-big"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(3,o=>e.createVNode(p.default,{key:o})),64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!n.value&&!t.value?(e.openBlock(),e.createBlock(d.default,{key:0,title:"No Blogpost Found",description:"Currently, there are no blogposts 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:"fade",class:"container"},{default:e.withCtx(()=>[!n.value&&t.value?(e.openBlock(),e.createBlock(m.default,{key:0,onClick:l[0]||(l[0]=o=>r.$router.push({name:"Blogpost",params:{url:t.value.url}})),blogpost:t.value,user:a.state.user._id,type:"blogpostPage",class:"mn-b-medium"},{default:e.withCtx(()=>[e.createElementVNode("section",null,[t.value&&t.value.content?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value.content,(o,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[o.type]),e.mergeProps({key:s,index:s,component:o,prop:o,class:o.class,content:"content",ref_for:!0},i(o),{class:"mn-b-regular"}),null,16,["index","component","prop","class"]))),128)):e.createCommentVNode("",!0)]),t.value.source?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.value.source,target:"_blank",class:"mn-b-semi d-block w-max radius-big pd-thin bg-black t-white"}," Check Source 🔗 ",8,C)):e.createCommentVNode("",!0)]),_:1},8,["blogpost","user"])):e.createCommentVNode("",!0),b,e.createVNode(g.default,{class:"mn-b-small"}),!n.value&&t.value?(e.openBlock(),e.createBlock(f.default,{key:1,type:"blogpost",target:t.value._id,owner:a.state.user._id},null,8,["target","owner"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=V;
@@ -1,5 +1,5 @@
1
1
  import { ref as d, onMounted as k, openBlock as n, createElementBlock as l, createVNode as s, TransitionGroup as f, withCtx as u, Fragment as _, renderList as g, createCommentVNode as a, Transition as C, createBlock as i, createElementVNode as v, resolveDynamicComponent as B, mergeProps as $ } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
2
+ /* empty css */
3
3
  import T from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import w from "../blocks/CardBlogpost.vue.js";
5
5
  import x from "../../../icons/skeletons/SkeletonBlogpost.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");const p=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../../components/Upload/Upload.vue2.cjs");const _=require("../blocks/CardBlogpost.vue.cjs"),r=require("../../store/blogposts.cjs"),f=require("../../../auth/store/auth.cjs"),b=require("vue-router");require("./Community.vue2.cjs");const v=l=>(e.pushScopeId("data-v-bdf0e48a"),l=l(),e.popScopeId(),l),g={class:"flex-v-center flex-nowrap flex mn-b-medium"},h=v(()=>e.createElementVNode("h3",{class:"mn-r-medium"},"Blog",-1)),k={class:""},w={class:"flex-nowrap flex pd-t-zero pd-b-zero pd-big"},q=["onClick"],y=["onClick"],C={__name:"Community",async setup(l){let s,u;const i=b.useRouter();[s,u]=e.withAsyncContext(()=>r.read()),await s,u(),console.log(r.state),e.ref({title:"",content:"",categories:[]});const d=async t=>{window.confirm("Are you sure you want to delete this post?")&&(console.log(t),await r.remove(t))};let c=e.ref("all");const a=e.computed(()=>c.value==="all"?r.state.all:r.state.all.filter(t=>t.categories.includes(c.value)));return e.computed(()=>{for(let t of a.value)if(t.blocks&&t.blocks.length>0){const n=t.blocks.find(o=>o.type.name==="ImageUpload");if(n)return n.content}return null}),(t,n)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",g,[h,e.createElementVNode("button",{onClick:n[0]||(n[0]=o=>e.unref(i).push({name:"Create BlogPost"})),class:"t-white bg-second button-small button"},"+")]),e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,o=>(e.openBlock(),e.createBlock(_.default,{key:o._id,blogpost:o,owner:f.state.user._id,class:"mn-b-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",w,[e.createElementVNode("button",{class:"mn-r-thin button-small w-100 button",onClick:m=>t.$router.push({path:"/community/posts/"+o.url+"/edit"})},"Edit",8,q),e.createElementVNode("button",{class:"button-small w-100 button",onClick:m=>d(o._id)},"Delete",8,y)])]),_:2},1032,["blogpost","owner"]))),128))])]))}},B=p.default(C,[["__scopeId","data-v-bdf0e48a"]]);exports.default=B;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const p=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");;/* empty css */;/* empty css */;/* empty css */require("axios");;/* empty css */const _=require("../blocks/CardBlogpost.vue.cjs"),n=require("../../store/blogposts.cjs"),f=require("../../../auth/store/auth.cjs"),b=require("vue-router");;/* empty css */const v=l=>(e.pushScopeId("data-v-bdf0e48a"),l=l(),e.popScopeId(),l),g={class:"flex-v-center flex-nowrap flex mn-b-medium"},h=v(()=>e.createElementVNode("h3",{class:"mn-r-medium"},"Blog",-1)),k={class:""},w={class:"flex-nowrap flex pd-t-zero pd-b-zero pd-big"},q=["onClick"],y=["onClick"],C={__name:"Community",async setup(l){let s,u;const i=b.useRouter();[s,u]=e.withAsyncContext(()=>n.read()),await s,u(),console.log(n.state),e.ref({title:"",content:"",categories:[]});const d=async t=>{window.confirm("Are you sure you want to delete this post?")&&(console.log(t),await n.remove(t))};let c=e.ref("all");const a=e.computed(()=>c.value==="all"?n.state.all:n.state.all.filter(t=>t.categories.includes(c.value)));return e.computed(()=>{for(let t of a.value)if(t.blocks&&t.blocks.length>0){const r=t.blocks.find(o=>o.type.name==="ImageUpload");if(r)return r.content}return null}),(t,r)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",g,[h,e.createElementVNode("button",{onClick:r[0]||(r[0]=o=>e.unref(i).push({name:"Create BlogPost"})),class:"t-white bg-second button-small button"},"+")]),e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,o=>(e.openBlock(),e.createBlock(_.default,{key:o._id,blogpost:o,owner:f.state.user._id,class:"mn-b-medium"},{default:e.withCtx(()=>[e.createElementVNode("div",w,[e.createElementVNode("button",{class:"mn-r-thin button-small w-100 button",onClick:m=>t.$router.push({path:"/community/posts/"+o.url+"/edit"})},"Edit",8,q),e.createElementVNode("button",{class:"button-small w-100 button",onClick:m=>d(o._id)},"Delete",8,y)])]),_:2},1032,["blogpost","owner"]))),128))])]))}},B=p.default(C,[["__scopeId","data-v-bdf0e48a"]]);exports.default=B;
@@ -1,15 +1,16 @@
1
1
  import { withAsyncContext as h, ref as u, computed as d, openBlock as r, createElementBlock as p, createElementVNode as o, unref as v, Fragment as w, renderList as g, createBlock as k, withCtx as y, pushScopeId as C, popScopeId as x } from "vue";
2
- import "../../../../components/Field/Field.vue.js";
2
+ /* empty css */
3
3
  import B from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- import "../../../../components/Select/Select.vue2.js";
5
- import "../../../../components/Loader/Loader.vue.js";
6
- import "../../../../components/Button/Button.vue.js";
7
- import "../../../../components/Upload/Upload.vue2.js";
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ import "axios";
8
+ /* empty css */
8
9
  import $ from "../blocks/CardBlogpost.vue.js";
9
10
  import { read as I, state as l, remove as E } from "../../store/blogposts.js";
10
11
  import { state as P } from "../../../auth/store/auth.js";
11
12
  import { useRouter as S } from "vue-router";
12
- import "./Community.vue2.js";
13
+ /* empty css */
13
14
  const z = (s) => (C("data-v-bdf0e48a"), s = s(), x(), s), A = { class: "flex-v-center flex-nowrap flex mn-b-medium" }, D = /* @__PURE__ */ z(() => /* @__PURE__ */ o("h3", { class: "mn-r-medium" }, "Blog", -1)), F = { class: "" }, L = { class: "flex-nowrap flex pd-t-zero pd-b-zero pd-big" }, N = ["onClick"], R = ["onClick"], U = {
14
15
  __name: "Community",
15
16
  async setup(s) {
@@ -29,8 +30,7 @@ const z = (s) => (C("data-v-bdf0e48a"), s = s(), x(), s), A = { class: "flex-v-c
29
30
  for (let t of m.value)
30
31
  if (t.blocks && t.blocks.length > 0) {
31
32
  const n = t.blocks.find((e) => e.type.name === "ImageUpload");
32
- if (n)
33
- return n.content;
33
+ if (n) return n.content;
34
34
  }
35
35
  return null;
36
36
  }), (t, n) => (r(), p("div", null, [
@@ -65,7 +65,7 @@ const z = (s) => (C("data-v-bdf0e48a"), s = s(), x(), s), A = { class: "flex-v-c
65
65
  ])
66
66
  ]));
67
67
  }
68
- }, X = /* @__PURE__ */ B(U, [["__scopeId", "data-v-bdf0e48a"]]);
68
+ }, Y = /* @__PURE__ */ B(U, [["__scopeId", "data-v-bdf0e48a"]]);
69
69
  export {
70
- X as default
70
+ Y as default
71
71
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../../../constructor/components/elements/Textarea.vue.cjs"),V=require("../../../constructor/components/sections/Constructor.vue.cjs"),B=require("../../../../components/Popup/Popup.vue.cjs");require("../../../../components/FieldTags/tag-input.vue.cjs");require("../../../../components/FieldTags/vue-tags-input.scss.cjs");const N=require("../../../../components/FieldTags/BlockTags.vue.cjs"),y=require("../../../../components/Checkbox/Checkbox.vue.cjs"),C=require("../../../../components/Field/Field.vue2.cjs"),P=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),x=require("../../../../components/Button/Button.vue2.cjs"),f=require("vue-router"),n=require("../../store/blogposts.cjs"),i=require("../../../auth/store/auth.cjs"),q=require("../../../organizations/store/organizations.cjs"),E={class:"pd-thin"},T={style:{"min-height":"100%"},class:"w-100 bg-light pd-big radius-big"},z={class:"w-full h-full"},A={key:0,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},O={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},U=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),D=e.createElementVNode("h5",{class:"mn-b-thin"},"Add source:",-1),M=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),S={key:0,class:"mn-b-thin"},F={key:1,class:"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big"},R={__name:"CreateBlogPost",setup($){const s=f.useRoute(),u=f.useRouter();let t=e.ref(null),p=e.ref(null);const c=e.ref([]),r=e.ref(null);e.onMounted(async()=>{const o=await q.actions.read({user:i.state.user._id,postable:i.state.user._id,limit:100});if(p.value=o.map(l=>({name:l.profile.name,_id:l._id,photo:l.profile.photo})),s.params.url){const l=await n.read({user:i.state.user._id,url:s.params.url});t.value=l.pop()}else n.clean(),t.value=n.state.current;t.value.owner||(t.value.owner={target:i.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:i.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(r.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo}),console.log(o)});const g=e.ref(""),m=e.ref([{text:"story"},{text:"news"},{text:"guide"},{text:"discussion"},{text:"photos"}]);e.computed(()=>m.value.filter(o=>o.text.toLowerCase().includes(g.value.toLowerCase()))),e.computed(()=>m.value.filter(o=>!c.value.some(l=>l.text===o.text)));const d=e.ref(!1);function h(){d.value=!0}function v(){d.value=!1}function b(){c.value.length>0&&c.value.map(o=>o.text),t.value.status="draft",s.params.url?n.update(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.log(o)}):n.create(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.log(o)})}function k(){r.value&&(t.value.owner={target:r.value._id,type:"organization"}),r.value||(t.value.creator.hidden=!1),r.value||(t.value.organization=t.value.creator),t.value.status="published",console.log(t.value),s.params.url?n.update(t.value).then(o=>{console.log(t.value),u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.error(o)}):n.create(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.error(o)})}function _(){confirm("Are you sure you want to delete this post?")&&n.remove(t.value._id).then(o=>{u.push({name:"User Blogposts",params:{_id:t.value.creator.target._id}})}).catch(o=>{console.log(o)})}return(o,l)=>(e.openBlock(),e.createElementBlock("article",E,[e.createElementVNode("section",T,[e.createElementVNode("div",z,[e.unref(t)?(e.openBlock(),e.createBlock(w.default,{key:0,prop:e.unref(t),setFocus:!0,content:"name",placeholder:"Enter post title",class:"h2"},null,8,["prop"])):e.createCommentVNode("",!0)]),e.unref(t)?(e.openBlock(),e.createBlock(V.default,{key:0,content:e.unref(t).content,onUpdate:l[0]||(l[0]=a=>e.unref(t).content=a)},null,8,["content"])):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"scaleIn"},{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createElementBlock("section",A,[e.createElementVNode("div",O,[e.unref(s).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:l[1]||(l[1]=a=>_()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:l[2]||(l[2]=a=>b()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:l[3]||(l[3]=a=>h()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(B.default,{title:"Добавить участника",onClosePopup:v,isPopupOpen:d.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[U,e.createVNode(N.default,{onTagsChanged:l[4]||(l[4]=a=>e.unref(t).tags=a),tags:e.unref(t).tags},null,8,["tags"]),D,e.createVNode(C.default,{field:e.unref(t).source,"onUpdate:field":l[5]||(l[5]=a=>e.unref(t).source=a),placeholder:"Add full link to the source",class:"mn-b-medium bg-light radius-medium pd-small"},null,8,["field"]),M,e.createVNode(P.default,{modelValue:r.value,"onUpdate:modelValue":l[6]||(l[6]=a=>r.value=a),options:e.unref(p),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"]),r.value?(e.openBlock(),e.createElementBlock("h5",S,"Options:")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",F,[e.createVNode(y.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":l[7]||(l[7]=a=>e.unref(t).creator.hidden=a),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(x.default,{submit:k,callback:o.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])]))}};exports.default=R;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../../../constructor/components/elements/Textarea.vue2.cjs"),V=require("../../../constructor/components/sections/Constructor.vue.cjs"),B=require("../../../../components/Popup/Popup.vue.cjs");;/* empty css */;/* empty css */const N=require("../../../../components/FieldTags/BlockTags.vue.cjs"),y=require("../../../../components/Checkbox/Checkbox.vue.cjs"),C=require("../../../../components/Field/Field.vue2.cjs"),P=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),x=require("../../../../components/Button/Button.vue2.cjs"),f=require("vue-router"),n=require("../../store/blogposts.cjs"),i=require("../../../auth/store/auth.cjs"),q=require("../../../organizations/store/organizations.cjs"),E={class:"pd-thin"},T={style:{"min-height":"100%"},class:"w-100 bg-light pd-big radius-big"},z={class:"w-full h-full"},A={key:0,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},O={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},U=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),D=e.createElementVNode("h5",{class:"mn-b-thin"},"Add source:",-1),M=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),S={key:0,class:"mn-b-thin"},F={key:1,class:"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big"},R={__name:"CreateBlogPost",setup($){const s=f.useRoute(),u=f.useRouter();let t=e.ref(null),p=e.ref(null);const c=e.ref([]),r=e.ref(null);e.onMounted(async()=>{const o=await q.actions.read({user:i.state.user._id,postable:i.state.user._id,limit:100});if(p.value=o.map(l=>({name:l.profile.name,_id:l._id,photo:l.profile.photo})),s.params.url){const l=await n.read({user:i.state.user._id,url:s.params.url});t.value=l.pop()}else n.clean(),t.value=n.state.current;t.value.owner||(t.value.owner={target:i.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:i.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(r.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo}),console.log(o)});const g=e.ref(""),m=e.ref([{text:"story"},{text:"news"},{text:"guide"},{text:"discussion"},{text:"photos"}]);e.computed(()=>m.value.filter(o=>o.text.toLowerCase().includes(g.value.toLowerCase()))),e.computed(()=>m.value.filter(o=>!c.value.some(l=>l.text===o.text)));const d=e.ref(!1);function h(){d.value=!0}function v(){d.value=!1}function b(){c.value.length>0&&c.value.map(o=>o.text),t.value.status="draft",s.params.url?n.update(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.log(o)}):n.create(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.log(o)})}function k(){r.value&&(t.value.owner={target:r.value._id,type:"organization"}),r.value||(t.value.creator.hidden=!1),r.value||(t.value.organization=t.value.creator),t.value.status="published",console.log(t.value),s.params.url?n.update(t.value).then(o=>{console.log(t.value),u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.error(o)}):n.create(t.value).then(o=>{u.push({name:"BlogPost",params:{url:o.url}})}).catch(o=>{console.error(o)})}function _(){confirm("Are you sure you want to delete this post?")&&n.remove(t.value._id).then(o=>{u.push({name:"User Blogposts",params:{_id:t.value.creator.target._id}})}).catch(o=>{console.log(o)})}return(o,l)=>(e.openBlock(),e.createElementBlock("article",E,[e.createElementVNode("section",T,[e.createElementVNode("div",z,[e.unref(t)?(e.openBlock(),e.createBlock(w.default,{key:0,prop:e.unref(t),setFocus:!0,content:"name",placeholder:"Enter post title",class:"h2"},null,8,["prop"])):e.createCommentVNode("",!0)]),e.unref(t)?(e.openBlock(),e.createBlock(V.default,{key:0,content:e.unref(t).content,onUpdate:l[0]||(l[0]=a=>e.unref(t).content=a)},null,8,["content"])):e.createCommentVNode("",!0)]),e.createVNode(e.Transition,{name:"scaleIn"},{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createElementBlock("section",A,[e.createElementVNode("div",O,[e.unref(s).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:l[1]||(l[1]=a=>_()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:l[2]||(l[2]=a=>b()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:l[3]||(l[3]=a=>h()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(B.default,{title:"Добавить участника",onClosePopup:v,isPopupOpen:d.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[U,e.createVNode(N.default,{onTagsChanged:l[4]||(l[4]=a=>e.unref(t).tags=a),tags:e.unref(t).tags},null,8,["tags"]),D,e.createVNode(C.default,{field:e.unref(t).source,"onUpdate:field":l[5]||(l[5]=a=>e.unref(t).source=a),placeholder:"Add full link to the source",class:"mn-b-medium bg-light radius-medium pd-small"},null,8,["field"]),M,e.createVNode(P.default,{modelValue:r.value,"onUpdate:modelValue":l[6]||(l[6]=a=>r.value=a),options:e.unref(p),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"]),r.value?(e.openBlock(),e.createElementBlock("h5",S,"Options:")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",F,[e.createVNode(y.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":l[7]||(l[7]=a=>e.unref(t).creator.hidden=a),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(x.default,{submit:k,callback:o.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])]))}};exports.default=R;
@@ -1,9 +1,9 @@
1
1
  import { ref as n, onMounted as A, computed as w, openBlock as i, createElementBlock as m, createElementVNode as r, unref as l, createBlock as k, createCommentVNode as p, createVNode as u, Transition as U, withCtx as v, createTextVNode as z } from "vue";
2
- import D from "../../../constructor/components/elements/Textarea.vue.js";
2
+ import D from "../../../constructor/components/elements/Textarea.vue2.js";
3
3
  import N from "../../../constructor/components/sections/Constructor.vue.js";
4
4
  import O from "../../../../components/Popup/Popup.vue.js";
5
- import "../../../../components/FieldTags/tag-input.vue.js";
6
- import "../../../../components/FieldTags/vue-tags-input.scss.js";
5
+ /* empty css */
6
+ /* empty css */
7
7
  import E from "../../../../components/FieldTags/BlockTags.vue.js";
8
8
  import F from "../../../../components/Checkbox/Checkbox.vue.js";
9
9
  import L from "../../../../components/Field/Field.vue2.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../../node_modules/axios/lib/axios.cjs"),d=require("../../../globals/components/blocks/CardHeader.vue.cjs"),p={class:"mn-b-small"},g=e.createElementVNode("p",{class:"t-semi uppercase"},"Please log in to leave a comment.",-1),v=[g],b={key:1,class:"mn-b-small"},y=e.createElementVNode("button",{type:"submit",class:"mn-l-auto bg-main button"},"Send",-1),h={class:"pd-t-zero"},w={class:"p-big"},k={__name:"Comments",props:["target","owner","type"],setup(a){const o=a,c=u.default.create({baseURL:process.env.API_URL}),s=e.ref([]),r=e.ref(""),i=async()=>{const{data:n}=await c.get(`/comments/read?type=${o.type}&target=${o.target}&user=${o.owner}`);s.value=n},m=async()=>{if(r.value)try{const n=await c.post("/comments/create",{target:o.target,user:o.owner,type:o.type,content:r.value});n.data.owner=o.owner,s.value.push(n.data),r.value=""}catch(n){console.error(n)}};return i(),(n,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",null,[e.createElementVNode("h3",p,e.toDisplayString(s.value.length)+" comments",1),a.owner?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l[0]||(l[0]=t=>n.$router.push({name:"Sign In"})),class:"cursor-pointer mn-b-small section bg-black t-white flex-center flex radius-big"},v)),a.owner?(e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("form",{onSubmit:e.withModifiers(m,["prevent"]),class:"bg-light radius-big pd-medium"},[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[1]||(l[1]=t=>r.value=t),placeholder:"Enter your comment",class:"pd-small p-big w-100 radius-small mn-r-small"},null,512),[[e.vModelText,r.value]]),y],32)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,t=>(e.openBlock(),e.createElementBlock("div",{key:t._id,class:"comment mn-b-small radius-big pd-medium bg-light"},[e.createVNode(d.default,{class:"mn-b-medium",entity:t,entityType:"comment",user:a.owner,owner:{target:t.user},creator:{target:t.user},date:t.createdAt},null,8,["entity","user","owner","creator","date"]),e.createElementVNode("div",h,[e.createElementVNode("p",w,e.toDisplayString(t.content),1)])]))),128))]))}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("axios"),d=require("../../../globals/components/blocks/CardHeader.vue.cjs"),p={class:"mn-b-small"},g=e.createElementVNode("p",{class:"t-semi uppercase"},"Please log in to leave a comment.",-1),v=[g],b={key:1,class:"mn-b-small"},y=e.createElementVNode("button",{type:"submit",class:"mn-l-auto bg-main button"},"Send",-1),h={class:"pd-t-zero"},w={class:"p-big"},k={__name:"Comments",props:["target","owner","type"],setup(s){const o=s,c=u.create({baseURL:process.env.API_URL}),a=e.ref([]),r=e.ref(""),i=async()=>{const{data:n}=await c.get(`/comments/read?type=${o.type}&target=${o.target}&user=${o.owner}`);a.value=n},m=async()=>{if(r.value)try{const n=await c.post("/comments/create",{target:o.target,user:o.owner,type:o.type,content:r.value});n.data.owner=o.owner,a.value.push(n.data),r.value=""}catch(n){console.error(n)}};return i(),(n,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",null,[e.createElementVNode("h3",p,e.toDisplayString(a.value.length)+" comments",1),s.owner?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l[0]||(l[0]=t=>n.$router.push({name:"Sign In"})),class:"cursor-pointer mn-b-small section bg-black t-white flex-center flex radius-big"},v)),s.owner?(e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("form",{onSubmit:e.withModifiers(m,["prevent"]),class:"bg-light radius-big pd-medium"},[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[1]||(l[1]=t=>r.value=t),placeholder:"Enter your comment",class:"pd-small p-big w-100 radius-small mn-r-small"},null,512),[[e.vModelText,r.value]]),y],32)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,t=>(e.openBlock(),e.createElementBlock("div",{key:t._id,class:"comment mn-b-small radius-big pd-medium bg-light"},[e.createVNode(d.default,{class:"mn-b-medium",entity:t,entityType:"comment",user:s.owner,owner:{target:t.user},creator:{target:t.user},date:t.createdAt},null,8,["entity","user","owner","creator","date"]),e.createElementVNode("div",h,[e.createElementVNode("p",w,e.toDisplayString(t.content),1)])]))),128))]))}};exports.default=k;
@@ -1,5 +1,5 @@
1
1
  import { ref as u, openBlock as r, createElementBlock as a, createElementVNode as s, toDisplayString as d, createCommentVNode as p, withModifiers as v, withDirectives as y, vModelText as h, Fragment as w, renderList as f, createVNode as _ } from "vue";
2
- import k from "../../../../../node_modules/axios/lib/axios.js";
2
+ import k from "axios";
3
3
  import x from "../../../globals/components/blocks/CardHeader.vue.js";
4
4
  const $ = { class: "mn-b-small" }, C = /* @__PURE__ */ s("p", { class: "t-semi uppercase" }, "Please log in to leave a comment.", -1), S = [
5
5
  C
@@ -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");require("../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../components/DatePicker/Calendar.vue.cjs");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("../../../../components/Feed/Feed.vue2.cjs");const s=require("../../../../components/Slider/Slider.vue.cjs"),i=require("../../../icons/navigation/IconArrow.vue.cjs"),n=require("../blocks/CardBlogpost.vue.cjs"),l=require("../../store/blogposts.cjs"),r=require("../../../auth/store/auth.cjs");require("./HotPosts.vue2.cjs");const a={class:"pd-thin"},c={class:"bg-light radius-big pd-t-big pd-b-big"},u={class:"w-100 pd-b-small t-center flex-center flex"},d=e.createElementVNode("b",null,"Community",-1),p={__name:"HotPosts",setup(_){return(h,g)=>{const o=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",a,[e.createElementVNode("div",c,[e.createElementVNode("h2",u,[e.createTextVNode(" Discover Our "),e.createVNode(o,{to:{name:"Blog"},class:"transition-ease-in hover-bg-black hover-t-white transition-timing-1 hover-scale-0 bg-main cursor-pointer pd-thin mn-l-thin radius-extra flex flex-v-center"},{default:e.withCtx(()=>[d,e.createVNode(i.default,{class:"mn-l-thin radius-extra bg-white i-big"})]),_:1})]),e.createVNode(s.default,{store:{read:t=>l.read(t)},options:{skip:0,limit:8,user:r.state.user._id,period:"year"},text:{messages:{en:{title:"No Blogposts Found",description:"Currently, there are no blogposts available."}}},class:"slider-hotpost"},{default:e.withCtx(({item:t})=>[(e.openBlock(),e.createBlock(n.default,{key:t._id,blogpost:t,user:r.state.user._id,hideDescription:!0,class:"bg-white flex flex-column h-35r"},null,8,["blogpost","user"]))]),_:1},8,["store","options"])])])}}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */;/* empty css */const s=require("../../../../components/Slider/Slider.vue.cjs"),i=require("../../../icons/navigation/IconArrow.vue.cjs"),n=require("../blocks/CardBlogpost.vue.cjs"),l=require("../../store/blogposts.cjs"),r=require("../../../auth/store/auth.cjs");;/* empty css */const a={class:"pd-thin"},c={class:"bg-light radius-big pd-t-big pd-b-big"},u={class:"w-100 pd-b-small t-center flex-center flex"},d=e.createElementVNode("b",null,"Community",-1),p={__name:"HotPosts",setup(_){return(h,g)=>{const o=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("section",a,[e.createElementVNode("div",c,[e.createElementVNode("h2",u,[e.createTextVNode(" Discover Our "),e.createVNode(o,{to:{name:"Blog"},class:"transition-ease-in hover-bg-black hover-t-white transition-timing-1 hover-scale-0 bg-main cursor-pointer pd-thin mn-l-thin radius-extra flex flex-v-center"},{default:e.withCtx(()=>[d,e.createVNode(i.default,{class:"mn-l-thin radius-extra bg-white i-big"})]),_:1})]),e.createVNode(s.default,{store:{read:t=>l.read(t)},options:{skip:0,limit:8,user:r.state.user._id,period:"year"},text:{messages:{en:{title:"No Blogposts Found",description:"Currently, there are no blogposts available."}}},class:"slider-hotpost"},{default:e.withCtx(({item:t})=>[(e.openBlock(),e.createBlock(n.default,{key:t._id,blogpost:t,user:r.state.user._id,hideDescription:!0,class:"bg-white flex flex-column h-35r"},null,8,["blogpost","user"]))]),_:1},8,["store","options"])])])}}};exports.default=p;
@@ -1,16 +1,16 @@
1
1
  import { resolveComponent as l, openBlock as r, createElementBlock as a, createElementVNode as o, createTextVNode as c, createVNode as e, withCtx as i, createBlock as m } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
3
- import "../../../../components/Dropdown/Dropdown.vue.js";
4
- import "../../../../components/DatePicker/Calendar.vue.js";
5
- import "../../../../components/Field/Field.vue.js";
6
- import "../../../../components/Spoiler/Spoiler.vue.js";
7
- import "../../../../components/Feed/Feed.vue2.js";
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ /* empty css */
8
8
  import p from "../../../../components/Slider/Slider.vue.js";
9
9
  import _ from "../../../icons/navigation/IconArrow.vue.js";
10
10
  import d from "../blocks/CardBlogpost.vue.js";
11
11
  import { read as u } from "../../store/blogposts.js";
12
12
  import { state as s } from "../../../auth/store/auth.js";
13
- import "./HotPosts.vue2.js";
13
+ /* empty css */
14
14
  const h = { class: "pd-thin" }, f = { class: "bg-light radius-big pd-t-big pd-b-big" }, b = { class: "w-100 pd-b-small t-center flex-center flex" }, g = /* @__PURE__ */ o("b", null, "Community", -1), T = {
15
15
  __name: "HotPosts",
16
16
  setup(x) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../landing/components/elements/FloatingImages.vue.cjs");require("./JoinUs.vue2.cjs");const s={class:"pd-extra o-hidden w-100 container container-joinus"},r={class:"content"},i={class:"h0 mn-b-big"},c=e.createElementVNode("p",{class:"w-m-33r t-center mn-b-small p-big"}," Together, we're shaping the future of the globals cannabis community. ",-1),l={__name:"JoinUs",setup(u){const t=e.ref(1230),n=()=>{setInterval(()=>{t.value+=Math.floor(Math.random()*2)+1},1330)};return e.onMounted(()=>{n()}),(m,d)=>{const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",s,[e.createElementVNode("div",r,[e.createElementVNode("span",i,e.toDisplayString(t.value.toLocaleString()),1),c,e.createVNode(a,{to:{name:"Sign In"},class:"bg-black t-medium t-white button"},{default:e.withCtx(()=>[e.createTextVNode(" Join Now ")]),_:1})]),e.createVNode(o.default,{container:".container-joinus",images:["/avatars/01.png","/avatars/02.png","/avatars/03.png","/avatars/04.png","/avatars/05.png","/avatars/06.png"],config:{size:"5rem",square:!0,minDuration:5,maxDuration:15,spawnPoints:[10,90],animation:{startOpacity:.1,midOpacity:1,endOpacity:0,translateY:"-33vh"},class:"my-custom-class"}})])}}};exports.default=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../landing/components/elements/FloatingImages.vue.cjs");;/* empty css */const s={class:"pd-extra o-hidden w-100 container container-joinus"},r={class:"content"},i={class:"h0 mn-b-big"},c=e.createElementVNode("p",{class:"w-m-33r t-center mn-b-small p-big"}," Together, we're shaping the future of the globals cannabis community. ",-1),l={__name:"JoinUs",setup(u){const t=e.ref(1230),n=()=>{setInterval(()=>{t.value+=Math.floor(Math.random()*2)+1},1330)};return e.onMounted(()=>{n()}),(m,d)=>{const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",s,[e.createElementVNode("div",r,[e.createElementVNode("span",i,e.toDisplayString(t.value.toLocaleString()),1),c,e.createVNode(a,{to:{name:"Sign In"},class:"bg-black t-medium t-white button"},{default:e.withCtx(()=>[e.createTextVNode(" Join Now ")]),_:1})]),e.createVNode(o.default,{container:".container-joinus",images:["/avatars/01.png","/avatars/02.png","/avatars/03.png","/avatars/04.png","/avatars/05.png","/avatars/06.png"],config:{size:"5rem",square:!0,minDuration:5,maxDuration:15,spawnPoints:[10,90],animation:{startOpacity:.1,midOpacity:1,endOpacity:0,translateY:"-33vh"},class:"my-custom-class"}})])}}};exports.default=l;
@@ -1,6 +1,6 @@
1
1
  import { ref as s, onMounted as r, resolveComponent as i, openBlock as c, createElementBlock as m, createElementVNode as t, toDisplayString as l, createVNode as a, withCtx as p, createTextVNode as u } from "vue";
2
2
  import _ from "../../../landing/components/elements/FloatingImages.vue.js";
3
- import "./JoinUs.vue2.js";
3
+ /* empty css */
4
4
  const d = { class: "pd-extra o-hidden w-100 container container-joinus" }, g = { class: "content" }, h = { class: "h0 mn-b-big" }, v = /* @__PURE__ */ t("p", { class: "w-m-33r t-center mn-b-small p-big" }, " Together, we're shaping the future of the globals cannabis community. ", -1), C = {
5
5
  __name: "JoinUs",
6
6
  setup(f) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("../../../../node_modules/axios/lib/axios.cjs"),l=require("vue"),c=require("../../globals/store/globals.cjs"),s=d.default.create({baseURL:process.env.API_URL,withCredentials:!0}),a=l.reactive({all:[],filter:{tags:[],period:""},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",url:"",status:"",name:"",tags:[],owner:{},source:null,date:"",views:0,content:[]}});async function i(e={}){e.params=e.params||{},e.params.skip=e.skip||0,e.params.limit=e.limit||9,e.params.tags=e.tags||[],e.period&&(e.params.period=e.period),e.url&&(e.params={url:e.url}),e.category&&(e.params.category=e.category),e.owner&&(e.params.owner=e.owner),e.following&&(e.params.following=e.following),e.creator&&(e.params.creator=e.creator),e.status&&(e.params.status=e.status),e.user&&(e.params.user=e.user),e.params.skip=e.skip||0,e.params.limit=e.limit||10;try{const r=await s.get("/api/blog/read",{params:e.params});return e.url?t(r.data,"current"):t(r.data,"all"),Promise.resolve(r.data)}catch(r){return c.setError(r),Promise.reject(r)}}async function m(e){return s.post("/api/blog/create",e).then(r=>(t(r.data,"current"),Promise.resolve(r.data)),r=>(c.setError(r),Promise.reject(r)))}async function f(e){return s.post("/api/blog/update",e).then(r=>(t(r.data,"current"),Promise.resolve(r.data)),r=>(c.setError(r),Promise.reject(r)))}async function g(e){return await s.delete(`/api/blog/delete/${e}`).then(r=>{const u=a.all.findIndex(n=>n._id===e);return u!==-1&&a.all.splice(u,1),Promise.resolve(r.data)},r=>(c.setError(r),Promise.reject(r)))}function t(e,r){a[r]=e}function w(){a.current={_id:"",url:"",status:"",name:"",tags:[],author:"",owner:"",date:"",views:0,content:[]}}function y(e){const r={order:a.project.content.length+1,type:e.type,data:e.data,class:e.class,content:e.content};a.project.content.push(r)}l.watch(a,(e,r)=>{});exports.blockAdd=y;exports.clean=w;exports.create=m;exports.read=i;exports.remove=g;exports.set=t;exports.state=a;exports.update=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("axios"),l=require("vue"),c=require("../../globals/store/globals.cjs"),s=d.create({baseURL:process.env.API_URL,withCredentials:!0}),a=l.reactive({all:[],filter:{tags:[],period:""},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",url:"",status:"",name:"",tags:[],owner:{},source:null,date:"",views:0,content:[]}});async function i(e={}){e.params=e.params||{},e.params.skip=e.skip||0,e.params.limit=e.limit||9,e.params.tags=e.tags||[],e.period&&(e.params.period=e.period),e.url&&(e.params={url:e.url}),e.category&&(e.params.category=e.category),e.owner&&(e.params.owner=e.owner),e.following&&(e.params.following=e.following),e.creator&&(e.params.creator=e.creator),e.status&&(e.params.status=e.status),e.user&&(e.params.user=e.user),e.params.skip=e.skip||0,e.params.limit=e.limit||10;try{const r=await s.get("/api/blog/read",{params:e.params});return e.url?t(r.data,"current"):t(r.data,"all"),Promise.resolve(r.data)}catch(r){return c.setError(r),Promise.reject(r)}}async function m(e){return s.post("/api/blog/create",e).then(r=>(t(r.data,"current"),Promise.resolve(r.data)),r=>(c.setError(r),Promise.reject(r)))}async function f(e){return s.post("/api/blog/update",e).then(r=>(t(r.data,"current"),Promise.resolve(r.data)),r=>(c.setError(r),Promise.reject(r)))}async function g(e){return await s.delete(`/api/blog/delete/${e}`).then(r=>{const u=a.all.findIndex(n=>n._id===e);return u!==-1&&a.all.splice(u,1),Promise.resolve(r.data)},r=>(c.setError(r),Promise.reject(r)))}function t(e,r){a[r]=e}function w(){a.current={_id:"",url:"",status:"",name:"",tags:[],author:"",owner:"",date:"",views:0,content:[]}}function y(e){const r={order:a.project.content.length+1,type:e.type,data:e.data,class:e.class,content:e.content};a.project.content.push(r)}l.watch(a,(e,r)=>{});exports.blockAdd=y;exports.clean=w;exports.create=m;exports.read=i;exports.remove=g;exports.set=t;exports.state=a;exports.update=f;
@@ -1,4 +1,4 @@
1
- import n from "../../../../node_modules/axios/lib/axios.js";
1
+ import n 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 l = n.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = m({
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../../node_modules/axios/lib/axios.cjs"),c=require("vue"),o=require("../../globals/store/globals.cjs"),i=l.default.create({baseURL:process.env.API_URL,withCredentials:!0}),s=c.reactive({reactions:[],error:null}),d={async read(r){try{const e={};r.user&&(e.user=r.user),r.type&&(e.type=r.type),r.target&&(e.target=r.target),r.targetString&&(e.targetString=r.targetString);const a=await i.get("/api/reactions/read",{params:e});return s.error=null,s.reactions=a.data,Promise.resolve(a.data)}catch(e){return o.setError(e),Promise.reject(e)}},async create(r){try{const e=await i.post("/api/reactions/create",r);return s.error=null,Promise.resolve(e.data)}catch(e){return console.log(e),o.setError(e),Promise.reject(e)}},async update(r){try{const e=await i.post("/api/reactions/update",r);return s.error=null,Promise.resolve(e.data)}catch(e){return o.setError(e),Promise.reject(e)}},async delete(r){try{const e=await i.post("/api/reactions/delete",r);return s.error=null,Promise.resolve(e.data)}catch(e){return o.setError(e),Promise.reject(e)}}},y={handleReactionUpdate(r,e,a){let t;if(Array.isArray(r)?t=r.find(n=>n._id===e.target):typeof r=="object"&&r._id===e.target&&(t=r),t)if(t.hasReaction=a,a)t.reactions.push(e),t.numberOfReactions+=1;else{const n=t.reactions.findIndex(u=>u._id===e._id);n!==-1&&(t.reactions.splice(n,1),t.numberOfReactions-=1)}}};c.watch(s,r=>{});exports.actions=d;exports.mutations=y;exports.state=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("axios"),c=require("vue"),o=require("../../globals/store/globals.cjs"),i=l.create({baseURL:process.env.API_URL,withCredentials:!0}),s=c.reactive({reactions:[],error:null}),d={async read(r){try{const e={};r.user&&(e.user=r.user),r.type&&(e.type=r.type),r.target&&(e.target=r.target),r.targetString&&(e.targetString=r.targetString);const a=await i.get("/api/reactions/read",{params:e});return s.error=null,s.reactions=a.data,Promise.resolve(a.data)}catch(e){return o.setError(e),Promise.reject(e)}},async create(r){try{const e=await i.post("/api/reactions/create",r);return s.error=null,Promise.resolve(e.data)}catch(e){return console.log(e),o.setError(e),Promise.reject(e)}},async update(r){try{const e=await i.post("/api/reactions/update",r);return s.error=null,Promise.resolve(e.data)}catch(e){return o.setError(e),Promise.reject(e)}},async delete(r){try{const e=await i.post("/api/reactions/delete",r);return s.error=null,Promise.resolve(e.data)}catch(e){return o.setError(e),Promise.reject(e)}}},y={handleReactionUpdate(r,e,a){let t;if(Array.isArray(r)?t=r.find(n=>n._id===e.target):typeof r=="object"&&r._id===e.target&&(t=r),t)if(t.hasReaction=a,a)t.reactions.push(e),t.numberOfReactions+=1;else{const n=t.reactions.findIndex(u=>u._id===e._id);n!==-1&&(t.reactions.splice(n,1),t.numberOfReactions-=1)}}};c.watch(s,r=>{});exports.actions=d;exports.mutations=y;exports.state=s;
@@ -1,4 +1,4 @@
1
- import l from "../../../../node_modules/axios/lib/axios.js";
1
+ import l from "axios";
2
2
  import { reactive as u, watch as p } from "vue";
3
3
  import { setError as i } from "../../globals/store/globals.js";
4
4
  const n = l.create({
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./H2.vue2.cjs");const k=["placeholder"],x={__name:"H2",props:["obj","label","prop","value","content","textarea","placeholder","index","ref","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(a,{emit:s}){const t=a;e.ref(t);const o=e.ref(null),c=s;e.ref(0);function d(n){let l=n.target.value.split(/\n+/);if(l.length>1){t.prop[t.content]=l[0],e.nextTick(()=>{r()});let u=l.slice(1).map(f=>({type:"Textarea",content:f}));c("addBlock","Textarea","",t.index,{blocks:u,ref:o})}else n.target.value.trim()===""&&n.target.value.includes(`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const k=["placeholder"],x={__name:"H2",props:["obj","label","prop","value","content","textarea","placeholder","index","ref","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(a,{emit:s}){const t=a;e.ref(t);const o=e.ref(null),c=s;e.ref(0);function d(n){let l=n.target.value.split(/\n+/);if(l.length>1){t.prop[t.content]=l[0],e.nextTick(()=>{r()});let u=l.slice(1).map(f=>({type:"Textarea",content:f}));c("addBlock","Textarea","",t.index,{blocks:u,ref:o})}else n.target.value.trim()===""&&n.target.value.includes(`
2
2
 
3
3
  `)&&(console.log("We are adding new block:"+t.index+newBlocks+o),c("addBlock","Textarea","",t.index,{blocks:newBlocks,ref:o})),r()}function p(n){(n.keyCode===8||n.keyCode===46)&&t.prop[t.content].trim()===""&&c("deleteBlock",t.prop)}function i(){e.nextTick(()=>{o.value.focus(),c("updateBlock",t.prop,{setFocus:!1})})}function r(){o.value.style.height="1rem",o.value.style.height=o.value.scrollHeight+"px"}return e.onUpdated(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.onMounted(()=>{t.setFocus&&e.nextTick(()=>{i()}),r()}),e.watch(()=>t.prop[t.content],n=>{}),(n,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=u=>a.prop[a.content]=u),placeholder:a.placeholder?a.placeholder:"Enter text",onInput:d,onFocus:l[1]||(l[1]=u=>c("focus",o.value)),onKeyup:p,ref_key:"textarea",ref:o,tabindex:"-1",class:"h3 text-area mn-b-thin"},`
4
4
  `,40,k),[[e.vModelText,a.prop[a.content]]])]))}};exports.default=x;
@@ -1,5 +1,5 @@
1
1
  import { ref as d, onUpdated as x, nextTick as s, onMounted as h, watch as m, openBlock as B, createElementBlock as g, withDirectives as v, createElementVNode as y, vModelText as b } from "vue";
2
- import "./H2.vue2.js";
2
+ /* empty css */
3
3
  const w = ["placeholder"], E = {
4
4
  __name: "H2",
5
5
  props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref", "setFocus"],
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../../node_modules/axios/lib/axios.cjs"),k=["src"],v={key:1,class:"t-transp pd-extra"},h={__name:"ImageUpload",props:["label","value","prop"],emits:["input","updateBlock"],setup(n,{emit:u}){const l=e.ref(null),r=e.ref(null),i=n,s=u;function d(){r.value.click()}async function c(t){let o=t.target.files[0];console.log(o);let a=new FormData;a.append("file",o),console.log(a.has("file"));try{let m=await g.default.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(i.uploadPath)}`,a,{headers:{"Content-Type":"multipart/form-data"}});l.value=m.data[0].filepath,console.log(l.value),s("input",l.value),s("updateBlock",i.prop,{content:l.value})}catch(p){console.error(p)}}function f(t){t.preventDefault(),c({target:{files:t.dataTransfer.files}})}return(t,o)=>(e.openBlock(),e.createElementBlock("div",{onClick:d,onDrop:f,onDragover:o[0]||(o[0]=e.withModifiers(()=>{},["prevent"])),class:"w-100 radius-big bg-white image-upload-area flex-v-center flex-h-center flex t-black mn-b-small"},[n.prop.content?(e.openBlock(),e.createElementBlock("img",{key:0,src:(t.FILE_SERVER_URL||"")+n.prop.content,alt:"Uploaded image",class:"w-100 h-30r object-fit-contain"},null,8,k)):(e.openBlock(),e.createElementBlock("span",v,"Click or drag-and-drop your image")),e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:r,tabindex:"-1",onChange:c,style:{display:"none"}},null,544)],32))}};exports.default=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("axios"),k=["src"],v={key:1,class:"t-transp pd-extra"},h={__name:"ImageUpload",props:["label","value","prop"],emits:["input","updateBlock"],setup(l,{emit:u}){const n=e.ref(null),r=e.ref(null),i=l,s=u;function d(){r.value.click()}async function c(t){let o=t.target.files[0];console.log(o);let a=new FormData;a.append("file",o),console.log(a.has("file"));try{let m=await g.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(i.uploadPath)}`,a,{headers:{"Content-Type":"multipart/form-data"}});n.value=m.data[0].filepath,console.log(n.value),s("input",n.value),s("updateBlock",i.prop,{content:n.value})}catch(p){console.error(p)}}function f(t){t.preventDefault(),c({target:{files:t.dataTransfer.files}})}return(t,o)=>(e.openBlock(),e.createElementBlock("div",{onClick:d,onDrop:f,onDragover:o[0]||(o[0]=e.withModifiers(()=>{},["prevent"])),class:"w-100 radius-big bg-white image-upload-area flex-v-center flex-h-center flex t-black mn-b-small"},[l.prop.content?(e.openBlock(),e.createElementBlock("img",{key:0,src:(t.FILE_SERVER_URL||"")+l.prop.content,alt:"Uploaded image",class:"w-100 h-30r object-fit-contain"},null,8,k)):(e.openBlock(),e.createElementBlock("span",v,"Click or drag-and-drop your image")),e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:r,tabindex:"-1",onChange:c,style:{display:"none"}},null,544)],32))}};exports.default=h;
@@ -1,5 +1,5 @@
1
1
  import { ref as f, openBlock as l, createElementBlock as r, withModifiers as k, createElementVNode as v } from "vue";
2
- import y from "../../../../../node_modules/axios/lib/axios.js";
2
+ import y from "axios";
3
3
  const x = ["src"], C = {
4
4
  key: 1,
5
5
  class: "t-transp pd-extra"
@@ -1 +1,5 @@
1
- "use strict";
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const k=["placeholder"],x={__name:"Textarea",props:["prop","value","content","placeholder","index","setFocus"],emits:["deleteBlock","updateBlock","addBlock","focus"],setup(o,{emit:s}){const t=o,c=s;e.ref(t);const n=e.ref(null);e.ref(0);function d(a){let l=a.target.value.split(/\n+/);if(l.length>1){t.prop[t.content]=l[0],e.nextTick(()=>{r()});let i=l.slice(1).map(f=>({__name:"Textarea",content:f}));c("addBlock","Textarea","",t.index,{blocks:i,ref:n})}else a.target.value.trim()===""&&a.target.value.includes(`
2
+
3
+ `)&&(console.log("We are adding new block:"+t.index+newBlocks+n),c("addBlock","Textarea","",t.index,{blocks:newBlocks,ref:n})),r()}function p(a){(a.keyCode===8||a.keyCode===46)&&t.prop[t.content].trim()===""&&c("deleteBlock",t.prop)}function u(){e.nextTick(()=>{n.value.focus(),c("updateBlock",t.prop,{setFocus:!1})})}function r(){n.value.style.height="1rem",n.value.style.height=n.value.scrollHeight+"px"}return e.onUpdated(()=>{t.setFocus&&e.nextTick(()=>{u()}),r()}),e.onMounted(()=>{t.setFocus&&e.nextTick(()=>{u()}),r()}),(a,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=i=>o.prop[o.content]=i),placeholder:o.placeholder?o.placeholder:"",onInput:d,onFocus:l[1]||(l[1]=i=>c("focus",n.value)),onKeyup:p,ref_key:"textarea",ref:n,tabindex:"-1",class:e.normalizeClass(["text-area mn-b-thin",{"t-main t-semi":o.prop.type==="Link"}])},`
4
+
5
+ `,42,k),[[e.vModelText,o.prop[o.content]]])]))}};exports.default=x;
@@ -1 +1,67 @@
1
+ import { ref as s, onUpdated as m, nextTick as i, onMounted as x, openBlock as h, createElementBlock as B, withDirectives as g, createElementVNode as v, normalizeClass as y, vModelText as T } from "vue";
2
+ /* empty css */
3
+ const b = ["placeholder"], C = {
4
+ __name: "Textarea",
5
+ props: ["prop", "value", "content", "placeholder", "index", "setFocus"],
6
+ emits: ["deleteBlock", "updateBlock", "addBlock", "focus"],
7
+ setup(o, { emit: u }) {
8
+ const e = o, a = u;
9
+ s(e);
10
+ const t = s(null);
11
+ s(0);
12
+ function p(l) {
13
+ let n = l.target.value.split(/\n+/);
14
+ if (n.length > 1) {
15
+ e.prop[e.content] = n[0], i(() => {
16
+ c();
17
+ });
18
+ let r = n.slice(1).map((k) => ({ __name: "Textarea", content: k }));
19
+ a("addBlock", "Textarea", "", e.index, { blocks: r, ref: t });
20
+ } else
21
+ l.target.value.trim() === "" && l.target.value.includes(`
1
22
 
23
+ `) && (console.log("We are adding new block:" + e.index + newBlocks + t), a("addBlock", "Textarea", "", e.index, { blocks: newBlocks, ref: t })), c();
24
+ }
25
+ function f(l) {
26
+ (l.keyCode === 8 || l.keyCode === 46) && e.prop[e.content].trim() === "" && a("deleteBlock", e.prop);
27
+ }
28
+ function d() {
29
+ i(() => {
30
+ t.value.focus(), a("updateBlock", e.prop, { setFocus: !1 });
31
+ });
32
+ }
33
+ function c() {
34
+ t.value.style.height = "1rem", t.value.style.height = t.value.scrollHeight + "px";
35
+ }
36
+ return m(() => {
37
+ e.setFocus && i(() => {
38
+ d();
39
+ }), c();
40
+ }), x(() => {
41
+ e.setFocus && i(() => {
42
+ d();
43
+ }), c();
44
+ }), (l, n) => (h(), B("div", null, [
45
+ g(v("textarea", {
46
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => o.prop[o.content] = r),
47
+ placeholder: o.placeholder ? o.placeholder : "",
48
+ onInput: p,
49
+ onFocus: n[1] || (n[1] = (r) => a("focus", t.value)),
50
+ onKeyup: f,
51
+ ref_key: "textarea",
52
+ ref: t,
53
+ tabindex: "-1",
54
+ class: y(["text-area mn-b-thin", {
55
+ "t-main t-semi": o.prop.type === "Link"
56
+ }])
57
+ }, `
58
+
59
+ `, 42, b), [
60
+ [T, o.prop[o.content]]
61
+ ])
62
+ ]));
63
+ }
64
+ };
65
+ export {
66
+ C as default
67
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Upload/Upload.vue2.cjs");const o={class:"mn-b-thin w-100 pd-medium bg-black radius-medium"},r={key:0,class:"flex-center flex"},c={controls:"",class:"w-100 h-max-30r"},l=["src"],n={__name:"VideoPlayer",props:["label","value","prop"],emits:["input","updateBlock"],setup(t,{emit:s}){return e.ref(null),e.ref(null),(u,i)=>(e.openBlock(),e.createElementBlock("div",o,[t.prop.content?(e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("video",c,[e.createElementVNode("source",{src:t.prop.content,type:"video/mp4"},null,8,l),e.createTextVNode(" Your browser does not support the video tag. ")])])):e.createCommentVNode("",!0)]))}};exports.default=n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("axios");;/* empty css */const o={class:"mn-b-thin w-100 pd-medium bg-black radius-medium"},r={key:0,class:"flex-center flex"},c={controls:"",class:"w-100 h-max-30r"},l=["src"],n={__name:"VideoPlayer",props:["label","value","prop"],emits:["input","updateBlock"],setup(t,{emit:s}){return e.ref(null),e.ref(null),(u,i)=>(e.openBlock(),e.createElementBlock("div",o,[t.prop.content?(e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("video",c,[e.createElementVNode("source",{src:t.prop.content,type:"video/mp4"},null,8,l),e.createTextVNode(" Your browser does not support the video tag. ")])])):e.createCommentVNode("",!0)]))}};exports.default=n;
@@ -1,12 +1,13 @@
1
1
  import { ref as t, openBlock as o, createElementBlock as r, createElementVNode as c, createTextVNode as s, createCommentVNode as n } from "vue";
2
- import "../../../../components/Upload/Upload.vue2.js";
2
+ import "axios";
3
+ /* empty css */
3
4
  const l = { class: "mn-b-thin w-100 pd-medium bg-black radius-medium" }, i = {
4
5
  key: 0,
5
6
  class: "flex-center flex"
6
7
  }, a = {
7
8
  controls: "",
8
9
  class: "w-100 h-max-30r"
9
- }, d = ["src"], f = {
10
+ }, d = ["src"], v = {
10
11
  __name: "VideoPlayer",
11
12
  props: [
12
13
  "label",
@@ -29,5 +30,5 @@ const l = { class: "mn-b-thin w-100 pd-medium bg-black radius-medium" }, i = {
29
30
  }
30
31
  };
31
32
  export {
32
- f as default
33
+ v as default
33
34
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../elements/Textarea.vue.cjs"),V=require("../elements/H2.vue.cjs"),x=require("../elements/Caption.vue.cjs"),N=require("../elements/Bullets.vue.cjs"),A=require("../elements/ImageUpload.vue.cjs"),y=require("../elements/Embed.vue.cjs"),q=require("../elements/Audio.vue.cjs"),$=require("../elements/Video.vue.cjs"),D=require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs"),M=["onMouseover"],T={key:0,class:"z-index-5 radius-thin pd-thin bg-white w-max mn-b-small flex-nowrap flex-column flex"},F=["onClick"],I=["onClick"],L=["onClick"],S=["onClick"],U=["onClick"],H=["onClick"],z=["onClick"],j={__name:"Constructor",props:["content"],emits:["update"],setup(v,{emit:f}){const b=v,u=f;let t=e.ref(null);e.ref(null),t.value={content:b.content};const h={Textarea:k.default,H2:V.default,Link:k.default,Bullets:N.default,Caption:x.default,ImageUpload:A.default,Embed:y.default,Audio:q.default,Video:$.default};function c(s="Textarea",a="",o,n){console.log("We are adding new block (functuin HandleAddBlock):"+s+a+o+n);let l={order:t.value.content.length+1,type:s,style:"",class:"",content:a,blocks:[],setFocus:!1};if(n&&n.blocks&&Array.isArray(n.blocks)){let m=n.blocks.map(E=>({...l,content:E.content})),B=[(n.index||o)+1,0].concat(m);t.value.content.splice.apply(t.value.content,B);const _=m[m.length-1];console.log("New block is"+_)}else o!==void 0?(t.value.content.splice(o+1,0,l),console.log("Latest block is"+l)):(console.log("Another block is"+l),t.value.content.push(l));i.value=null,u("update",t.value.content)}function g(s,a){const o=t.value.content.findIndex(n=>n===s);o!==-1&&(t.value.content[o]={...t.value.content[o],...a}),u("update",t.value.content)}function p(s){let a=t.value.content.findIndex(o=>o===s);a!==-1&&t.value.content.splice(a,1),t.value.content[a-1].setFocus=!0,u("update",t.value.content)}const i=e.ref(null),d=e.ref(!1),r=e.ref(!1);function w(){d.value=!0}function C(){d.value=!1}return e.watchEffect(()=>{t.value&&t.value.content.length===0&&c("Textarea",""),u("update",t.value.content)}),(s,a)=>(e.openBlock(),e.createElementBlock("section",null,[e.unref(t).content?(e.openBlock(),e.createBlock(e.unref(D.VueDraggableNext),{key:0,class:"w-full",list:e.unref(t).content,onStart:w,onEnd:C},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).content,(o,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,class:"pos-relative"},[e.createElementVNode("div",{onMouseover:l=>(i.value=n,r.value=!1),class:"pos-relative w-full h-full"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h[o.type]),{index:n,component:o,prop:o,class:e.normalizeClass(o.class),setFocus:o.setFocus,content:"content",onDeleteBlock:p,onAddBlock:c,onUpdateBlock:g},null,40,["index","component","prop","class","setFocus"]))],40,M),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.value===n?(e.openBlock(),e.createElementBlock("div",{key:0,class:"pos-absolute z-index-4 i-semi",style:{right:"calc(100% + 0.5rem)",top:"calc(50% - 1.125rem)"},onMousedown:a[1]||(a[1]=e.withModifiers(l=>d.value=!0,["prevent"]))},[e.createElementVNode("button",{onClick:a[0]||(a[0]=l=>r.value=!r.value),class:"mn-b-small cursor-pointer w-100 i-semi bg-white radius-thin"},e.toDisplayString(o.content?"...":"+"),1),r.value?(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("span",{onClick:l=>p(o),class:"mn-b-thin w-max t-red bg-white button-small button"}," Remove ",8,F),e.createElementVNode("span",{onClick:l=>c("ImageUpload","",n),class:"mn-b-thin w-max t-black bg-white button-small button"}," Add Image ",8,I),e.createElementVNode("span",{onClick:l=>c("H2","",n),class:"w-max button-small t-black bg-white button"}," Add Title ",8,L),e.createElementVNode("span",{onClick:l=>c("Embed","",n),class:"w-max button-small t-black bg-white button"}," Add Embed ",8,S),e.createElementVNode("span",{onClick:l=>c("Audio","",n),class:"w-max button-small t-black bg-white button"}," Add Audio ",8,U),e.createElementVNode("span",{onClick:l=>c("Video","",n),class:"w-max button-small t-black bg-white button"}," Add Video ",8,H),e.createElementVNode("span",{onClick:l=>c("Link","",n),class:"w-max button-small t-black bg-white button"}," Add Link ",8,z)])):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)]),_:2},1024)]))),128))]),_:1},8,["list"])):e.createCommentVNode("",!0)]))}};exports.default=j;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../elements/Textarea.vue2.cjs"),V=require("../elements/H2.vue.cjs"),x=require("../elements/Caption.vue.cjs"),N=require("../elements/Bullets.vue.cjs"),A=require("../elements/ImageUpload.vue.cjs"),y=require("../elements/Embed.vue.cjs"),q=require("../elements/Audio.vue.cjs"),$=require("../elements/Video.vue.cjs"),D=require("../../../../../../node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs"),M=["onMouseover"],T={key:0,class:"z-index-5 radius-thin pd-thin bg-white w-max mn-b-small flex-nowrap flex-column flex"},F=["onClick"],I=["onClick"],L=["onClick"],S=["onClick"],U=["onClick"],H=["onClick"],z=["onClick"],j={__name:"Constructor",props:["content"],emits:["update"],setup(v,{emit:f}){const b=v,u=f;let t=e.ref(null);e.ref(null),t.value={content:b.content};const h={Textarea:k.default,H2:V.default,Link:k.default,Bullets:N.default,Caption:x.default,ImageUpload:A.default,Embed:y.default,Audio:q.default,Video:$.default};function c(s="Textarea",a="",o,n){console.log("We are adding new block (functuin HandleAddBlock):"+s+a+o+n);let l={order:t.value.content.length+1,type:s,style:"",class:"",content:a,blocks:[],setFocus:!1};if(n&&n.blocks&&Array.isArray(n.blocks)){let m=n.blocks.map(E=>({...l,content:E.content})),B=[(n.index||o)+1,0].concat(m);t.value.content.splice.apply(t.value.content,B);const _=m[m.length-1];console.log("New block is"+_)}else o!==void 0?(t.value.content.splice(o+1,0,l),console.log("Latest block is"+l)):(console.log("Another block is"+l),t.value.content.push(l));i.value=null,u("update",t.value.content)}function g(s,a){const o=t.value.content.findIndex(n=>n===s);o!==-1&&(t.value.content[o]={...t.value.content[o],...a}),u("update",t.value.content)}function p(s){let a=t.value.content.findIndex(o=>o===s);a!==-1&&t.value.content.splice(a,1),t.value.content[a-1].setFocus=!0,u("update",t.value.content)}const i=e.ref(null),d=e.ref(!1),r=e.ref(!1);function w(){d.value=!0}function C(){d.value=!1}return e.watchEffect(()=>{t.value&&t.value.content.length===0&&c("Textarea",""),u("update",t.value.content)}),(s,a)=>(e.openBlock(),e.createElementBlock("section",null,[e.unref(t).content?(e.openBlock(),e.createBlock(e.unref(D.VueDraggableNext),{key:0,class:"w-full",list:e.unref(t).content,onStart:w,onEnd:C},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).content,(o,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,class:"pos-relative"},[e.createElementVNode("div",{onMouseover:l=>(i.value=n,r.value=!1),class:"pos-relative w-full h-full"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h[o.type]),{index:n,component:o,prop:o,class:e.normalizeClass(o.class),setFocus:o.setFocus,content:"content",onDeleteBlock:p,onAddBlock:c,onUpdateBlock:g},null,40,["index","component","prop","class","setFocus"]))],40,M),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.value===n?(e.openBlock(),e.createElementBlock("div",{key:0,class:"pos-absolute z-index-4 i-semi",style:{right:"calc(100% + 0.5rem)",top:"calc(50% - 1.125rem)"},onMousedown:a[1]||(a[1]=e.withModifiers(l=>d.value=!0,["prevent"]))},[e.createElementVNode("button",{onClick:a[0]||(a[0]=l=>r.value=!r.value),class:"mn-b-small cursor-pointer w-100 i-semi bg-white radius-thin"},e.toDisplayString(o.content?"...":"+"),1),r.value?(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("span",{onClick:l=>p(o),class:"mn-b-thin w-max t-red bg-white button-small button"}," Remove ",8,F),e.createElementVNode("span",{onClick:l=>c("ImageUpload","",n),class:"mn-b-thin w-max t-black bg-white button-small button"}," Add Image ",8,I),e.createElementVNode("span",{onClick:l=>c("H2","",n),class:"w-max button-small t-black bg-white button"}," Add Title ",8,L),e.createElementVNode("span",{onClick:l=>c("Embed","",n),class:"w-max button-small t-black bg-white button"}," Add Embed ",8,S),e.createElementVNode("span",{onClick:l=>c("Audio","",n),class:"w-max button-small t-black bg-white button"}," Add Audio ",8,U),e.createElementVNode("span",{onClick:l=>c("Video","",n),class:"w-max button-small t-black bg-white button"}," Add Video ",8,H),e.createElementVNode("span",{onClick:l=>c("Link","",n),class:"w-max button-small t-black bg-white button"}," Add Link ",8,z)])):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)]),_:2},1024)]))),128))]),_:1},8,["list"])):e.createCommentVNode("",!0)]))}};exports.default=j;
@@ -1,5 +1,5 @@
1
1
  import { ref as u, watchEffect as M, openBlock as i, createElementBlock as r, unref as p, createBlock as h, withCtx as g, Fragment as N, renderList as I, createElementVNode as s, resolveDynamicComponent as L, normalizeClass as T, createVNode as U, Transition as z, withModifiers as H, toDisplayString as S, createCommentVNode as b } from "vue";
2
- import w from "../elements/Textarea.vue.js";
2
+ import w from "../elements/Textarea.vue2.js";
3
3
  import R from "../elements/H2.vue.js";
4
4
  import W from "../elements/Caption.vue.js";
5
5
  import j from "../elements/Bullets.vue.js";
@@ -49,8 +49,7 @@ const P = ["onMouseover"], Q = {
49
49
  e.value.content.splice.apply(e.value.content, E);
50
50
  const V = k[k.length - 1];
51
51
  console.log("New block is" + V);
52
- } else
53
- n !== void 0 ? (e.value.content.splice(n + 1, 0, o), console.log("Latest block is" + o)) : (console.log("Another block is" + o), e.value.content.push(o));
52
+ } else n !== void 0 ? (e.value.content.splice(n + 1, 0, o), console.log("Latest block is" + o)) : (console.log("Another block is" + o), e.value.content.push(o));
54
53
  f.value = null, m("update", e.value.content);
55
54
  }
56
55
  function B(c, l) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Chips/Chips.vue2.cjs"),y=require("../../../icons/navigation/IconEdit.vue.cjs"),C=require("../../../globals/components/blocks/CardHeader.vue.cjs");require("../../../community/store/reactions.cjs");const k=require("vue-router"),p={key:0,class:"o-hidden pos-relative bg-light mn-b-small w-100"},E=["src"],T=["src"],w={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},b={class:"t-semi"},B={key:0,class:"t-semi"},D={key:0,class:"t-semi uppercase"},U={key:1,class:"cursor-pointer mn-b-thin flex-nowrap flex w-100"},N={key:0,class:""},V={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},S={key:2,class:"mn-b-small p-big"},x={__name:"CardEvent",props:["event","user","short","type"],setup(t){e.ref(new Date),k.useRouter();const o=t;e.computed(()=>o.event.content.find(n=>n.type.name==="ImageUpload")),e.computed(()=>o.event.content.find(n=>n.type.name==="Textarea"));const u=e.computed(()=>{const n=new Date,s=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds()),r=new Date(o.event.date.start),a=Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds())-s;if(a<0)return"Finished";if(a===0)return"Starting Now";{const d=Math.floor(a/1e3),l=Math.floor(d/60),i=Math.floor(l/60),m=Math.floor(i/24);return m>0?`${m} days until event`:i>0?`${i} hours until event`:l>0?`${l} minutes until event`:`${d} seconds until event`}}),v=e.computed(()=>{const n=new Date(o.event.date.start),s={day:"2-digit",month:"2-digit"};return n.toLocaleDateString(void 0,s)}),h=e.computed(()=>{console.log(o.event.date.start),console.log(o.event.date.end);const n=new Date(o.event.date.start),s=new Date(o.event.date.end),r=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(n),c=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(s);return`${r}-${c}`}),f=e.computed(()=>{const n=o.event.name;return n.length>26?`${n.substring(0,22)}…`:n});return(n,s)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass([{"flex-nowrap flex-v-center flex":t.type==="short"},"pos-relative"])},[e.createVNode(C.default,{class:e.normalizeClass({"mn-b-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),entity:t.event,entityType:"event",user:t.user,owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type,dateFormatted:u.value},null,8,["class","entity","user","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("img",{src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event image",class:"pos-relative z-index-1 d-block mn-auto h-20r"},null,8,E),e.createElementVNode("img",{src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event Background",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,T)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["pos-relative w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[t.user===t.event.creator.target._id?(e.openBlock(),e.createBlock(y.default,{key:0,onClick:s[0]||(s[0]=e.withModifiers(r=>n.$router.push({name:"Edit Event",params:{url:t.event.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"mn-b-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",w,[e.createElementVNode("span",b,e.toDisplayString(v.value),1),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",B," | "+e.toDisplayString(h.value),1)):e.createCommentVNode("",!0)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString(f.value),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",U,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",N,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",V,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",S,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(g.default,{key:3,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}};exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Chips/Chips.vue.cjs"),y=require("../../../icons/navigation/IconEdit.vue.cjs"),C=require("../../../globals/components/blocks/CardHeader.vue.cjs");require("../../../community/store/reactions.cjs");const k=require("vue-router"),p={key:0,class:"o-hidden pos-relative bg-light mn-b-small w-100"},E=["src"],T=["src"],w={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},b={class:"t-semi"},B={key:0,class:"t-semi"},D={key:0,class:"t-semi uppercase"},U={key:1,class:"cursor-pointer mn-b-thin flex-nowrap flex w-100"},N={key:0,class:""},V={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},S={key:2,class:"mn-b-small p-big"},x={__name:"CardEvent",props:["event","user","short","type"],setup(t){e.ref(new Date),k.useRouter();const o=t;e.computed(()=>o.event.content.find(n=>n.type.name==="ImageUpload")),e.computed(()=>o.event.content.find(n=>n.type.name==="Textarea"));const u=e.computed(()=>{const n=new Date,s=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds()),r=new Date(o.event.date.start),a=Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds())-s;if(a<0)return"Finished";if(a===0)return"Starting Now";{const d=Math.floor(a/1e3),l=Math.floor(d/60),i=Math.floor(l/60),m=Math.floor(i/24);return m>0?`${m} days until event`:i>0?`${i} hours until event`:l>0?`${l} minutes until event`:`${d} seconds until event`}}),v=e.computed(()=>{const n=new Date(o.event.date.start),s={day:"2-digit",month:"2-digit"};return n.toLocaleDateString(void 0,s)}),h=e.computed(()=>{console.log(o.event.date.start),console.log(o.event.date.end);const n=new Date(o.event.date.start),s=new Date(o.event.date.end),r=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(n),c=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(s);return`${r}-${c}`}),f=e.computed(()=>{const n=o.event.name;return n.length>26?`${n.substring(0,22)}…`:n});return(n,s)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass([{"flex-nowrap flex-v-center flex":t.type==="short"},"pos-relative"])},[e.createVNode(C.default,{class:e.normalizeClass({"mn-b-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),entity:t.event,entityType:"event",user:t.user,owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type,dateFormatted:u.value},null,8,["class","entity","user","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("img",{src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event image",class:"pos-relative z-index-1 d-block mn-auto h-20r"},null,8,E),e.createElementVNode("img",{src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event Background",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,T)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["pos-relative w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[t.user===t.event.creator.target._id?(e.openBlock(),e.createBlock(y.default,{key:0,onClick:s[0]||(s[0]=e.withModifiers(r=>n.$router.push({name:"Edit Event",params:{url:t.event.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"mn-b-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",w,[e.createElementVNode("span",b,e.toDisplayString(v.value),1),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",B," | "+e.toDisplayString(h.value),1)):e.createCommentVNode("",!0)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString(f.value),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",U,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",N,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",V,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",S,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(g.default,{key:3,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}};exports.default=x;
@@ -1,5 +1,5 @@
1
1
  import { ref as k, computed as l, openBlock as n, createElementBlock as i, normalizeClass as m, createVNode as x, createElementVNode as c, createCommentVNode as a, createBlock as w, withModifiers as D, toDisplayString as d, renderSlot as p } from "vue";
2
- import E from "../../../../components/Chips/Chips.vue2.js";
2
+ import E from "../../../../components/Chips/Chips.vue.js";
3
3
  import $ from "../../../icons/navigation/IconEdit.vue.js";
4
4
  import I from "../../../globals/components/blocks/CardHeader.vue.js";
5
5
  import "../../../community/store/reactions.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../../../../../../node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs"),P=require("../../../../components/Popup/Popup.vue.cjs"),g=require("../../../../components/Button/Button.vue2.cjs"),S=require("../../store/tickets.cjs");require("./ButtonCheck.vue2.cjs");const w=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),x=r=>(e.pushScopeId("data-v-20750f79"),r=r(),e.popScopeId(),r),E=x(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Scan QR Code",-1)),q={class:"h-max"},T={__name:"ButtonCheck",emits:"qrcodecheck",setup(r,{emit:i}){const u=i,n=e.ref(!1),a=e.ref("");function l(){n.value=!0}function d(){n.value=!1}const s=e.ref(null);async function p(t){s.value=t.map(o=>o.rawValue);try{const o=s.value[0]||"";if(!o)throw new Error("Troubles with qrcode reading");const c=await S.actions.update({_id:o,status:"used",check:!0});alert("Ticket checked. And it's all right!")}catch{alert("Ticket is not found, already used or deactivated!")}u("qrcodecheck")}function m(t){a.value=`[${t.name}]: `,t.name==="NotAllowedError"?a.value+="you need to grant camera access permission":t.name==="NotFoundError"?a.value+="no camera on this device":t.name==="NotSupportedError"?a.value+="secure context required (HTTPS, localhost)":t.name==="NotReadableError"?a.value+="is the camera already in use?":t.name==="OverconstrainedError"?a.value+="installed cameras are not suitable":t.name==="StreamApiNotSupportedError"?a.value+="Stream API is not supported in this browser":t.name==="InsecureContextError"?a.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":a.value+=t.message}function f(t,o){for(const c of t){const{boundingBox:{x:h,y:v,width:_,height:b}}=c;o.lineWidth=2,o.strokeStyle="#007bff",o.strokeRect(h,v,_,b)}}return(t,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(g.default,{submit:l,class:"bg-main button-small radius-extra button"},{default:e.withCtx(()=>[e.createTextVNode(" Check Tickets ")]),_:1}),e.createVNode(P.default,{title:"Добавить участника",onClosePopup:d,isPopupOpen:n.value,class:"w-max-30r h-max-30r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[E,e.createElementVNode("div",q,[e.createVNode(e.unref(k.QrcodeStream),{track:f,onDetect:p,onError:m})])]),_:1},8,["isPopupOpen"])]))}},N=w.default(T,[["__scopeId","data-v-20750f79"]]);exports.default=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("../../../../../../node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs"),P=require("../../../../components/Popup/Popup.vue.cjs"),g=require("../../../../components/Button/Button.vue2.cjs"),S=require("../../store/tickets.cjs");;/* empty css */const w=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),x=r=>(e.pushScopeId("data-v-20750f79"),r=r(),e.popScopeId(),r),E=x(()=>e.createElementVNode("h3",{class:"mn-b-small"},"Scan QR Code",-1)),q={class:"h-max"},T={__name:"ButtonCheck",emits:"qrcodecheck",setup(r,{emit:i}){const u=i,n=e.ref(!1),a=e.ref("");function l(){n.value=!0}function d(){n.value=!1}const s=e.ref(null);async function p(t){s.value=t.map(o=>o.rawValue);try{const o=s.value[0]||"";if(!o)throw new Error("Troubles with qrcode reading");const c=await S.actions.update({_id:o,status:"used",check:!0});alert("Ticket checked. And it's all right!")}catch{alert("Ticket is not found, already used or deactivated!")}u("qrcodecheck")}function m(t){a.value=`[${t.name}]: `,t.name==="NotAllowedError"?a.value+="you need to grant camera access permission":t.name==="NotFoundError"?a.value+="no camera on this device":t.name==="NotSupportedError"?a.value+="secure context required (HTTPS, localhost)":t.name==="NotReadableError"?a.value+="is the camera already in use?":t.name==="OverconstrainedError"?a.value+="installed cameras are not suitable":t.name==="StreamApiNotSupportedError"?a.value+="Stream API is not supported in this browser":t.name==="InsecureContextError"?a.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":a.value+=t.message}function f(t,o){for(const c of t){const{boundingBox:{x:h,y:v,width:_,height:b}}=c;o.lineWidth=2,o.strokeStyle="#007bff",o.strokeRect(h,v,_,b)}}return(t,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(g.default,{submit:l,class:"bg-main button-small radius-extra button"},{default:e.withCtx(()=>[e.createTextVNode(" Check Tickets ")]),_:1}),e.createVNode(P.default,{title:"Добавить участника",onClosePopup:d,isPopupOpen:n.value,class:"w-max-30r h-max-30r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[E,e.createElementVNode("div",q,[e.createVNode(e.unref(k.QrcodeStream),{track:f,onDetect:p,onError:m})])]),_:1},8,["isPopupOpen"])]))}},N=w.default(T,[["__scopeId","data-v-20750f79"]]);exports.default=N;
@@ -3,7 +3,7 @@ import { QrcodeStream as y } from "../../../../../../node_modules/vue-qrcode-rea
3
3
  import N from "../../../../components/Popup/Popup.vue.js";
4
4
  import B from "../../../../components/Button/Button.vue2.js";
5
5
  import { actions as I } from "../../store/tickets.js";
6
- import "./ButtonCheck.vue2.js";
6
+ /* empty css */
7
7
  import q from "../../../../../../_virtual/_plugin-vue_export-helper.js";
8
8
  const A = (a) => (T("data-v-20750f79"), a = a(), C(), a), V = /* @__PURE__ */ A(() => /* @__PURE__ */ u("h3", { class: "mn-b-small" }, "Scan QR Code", -1)), H = { class: "h-max" }, O = {
9
9
  __name: "ButtonCheck",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),p=require("../../../../components/Button/Button.vue2.cjs");require("../../../auth/store/auth.cjs");const s=require("../../store/tickets.cjs");require("./ButtonJoin.vue2.cjs");const g=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),k={__name:"ButtonJoin",props:{type:{type:String,required:!0},userId:{type:String,required:!0},hasTicket:{type:Boolean,required:!0},targetId:{type:String,required:!0}},emits:["updateTicket"],setup(o,{emit:c}){const n=c,t=o,u=async()=>{t.hasTicket?await l(t.targetId):await d(t.targetId)};async function d(i){try{const e={type:t.type,target:i,user:t.userId},r=await s.actions.create(e);n("updateTicket",{ticket:r,hasTicket:!0,targetId:t.targetId})}catch(e){throw console.log(e),e}}async function l(i){const e={type:t.type,target:i,user:t.userId};try{const r=await s.actions.delete(e);n("updateTicket",{ticket:r,hasTicket:!1,targetId:t.targetId})}catch(r){throw console.log(r),r}}return(i,e)=>(a.openBlock(),a.createBlock(p.default,{submit:u,class:"bg-main button-small radius-extra button"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.hasTicket?"Leave":"Join"),1)]),_:1}))}},y=g.default(k,[["__scopeId","data-v-872ff798"]]);exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),p=require("../../../../components/Button/Button.vue2.cjs");require("../../../auth/store/auth.cjs");const s=require("../../store/tickets.cjs");;/* empty css */const g=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),k={__name:"ButtonJoin",props:{type:{type:String,required:!0},userId:{type:String,required:!0},hasTicket:{type:Boolean,required:!0},targetId:{type:String,required:!0}},emits:["updateTicket"],setup(o,{emit:c}){const n=c,t=o,u=async()=>{t.hasTicket?await l(t.targetId):await d(t.targetId)};async function d(i){try{const e={type:t.type,target:i,user:t.userId},r=await s.actions.create(e);n("updateTicket",{ticket:r,hasTicket:!0,targetId:t.targetId})}catch(e){throw console.log(e),e}}async function l(i){const e={type:t.type,target:i,user:t.userId};try{const r=await s.actions.delete(e);n("updateTicket",{ticket:r,hasTicket:!1,targetId:t.targetId})}catch(r){throw console.log(r),r}}return(i,e)=>(a.openBlock(),a.createBlock(p.default,{submit:u,class:"bg-main button-small radius-extra button"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(o.hasTicket?"Leave":"Join"),1)]),_:1}))}},y=g.default(k,[["__scopeId","data-v-872ff798"]]);exports.default=y;
@@ -2,7 +2,7 @@ import { openBlock as d, createBlock as g, withCtx as m, createTextVNode as l, t
2
2
  import f from "../../../../components/Button/Button.vue2.js";
3
3
  import "../../../auth/store/auth.js";
4
4
  import { actions as c } from "../../store/tickets.js";
5
- import "./ButtonJoin.vue2.js";
5
+ /* empty css */
6
6
  import y from "../../../../../../_virtual/_plugin-vue_export-helper.js";
7
7
  const h = {
8
8
  __name: "ButtonJoin",